diff --git a/docs/guides/upgrade-guide.md b/docs/guides/upgrade-guide.md index 396c1bcebf..61a932e206 100644 --- a/docs/guides/upgrade-guide.md +++ b/docs/guides/upgrade-guide.md @@ -55,42 +55,6 @@ type: example ``` -### Heading - -`color` prop has 2 new values: `primary-on` and `secondary-on`, these are used for colored surfaces. - -The default value of the `color` prop has changed from `'inherit'` to `'primary'`. If you need to preserve the previous behavior, explicitly set `color="inherit"`. - -```js ---- -type: embed ---- - - -``` - ### Alert ```js @@ -409,7 +373,7 @@ type: embed ``` -### Grid.Row +### Grid.Col ```js --- @@ -425,7 +389,7 @@ type: embed ``` -### Grid.Col +### Grid.Row ```js --- @@ -441,6 +405,42 @@ type: embed ``` +### Heading + +`color` prop has 2 new values: `primary-on` and `secondary-on`, these are used for colored surfaces. + +The default value of the `color` prop has changed from `'inherit'` to `'primary'`. If you need to preserve the previous behavior, explicitly set `color="inherit"`. + +```js +--- +type: embed +--- + + +``` + ### Link - `isWithinText` prop has been removed. @@ -803,6 +803,27 @@ type: embed ``` +### RangeInput + +```js +--- +type: embed +--- + + +``` + ### SideNavBar ```js @@ -858,6 +879,20 @@ type: embed ``` +### SourceCodeEditor + +```js +--- +type: embed +--- + + +``` + ### Spinner - `as` prop has been removed, `Spinner` will always render as a `
` element. @@ -980,39 +1015,6 @@ type: embed ``` -### Text - -- `alert` color has been removed. Please use `primary` instead. -- Some prop values have been deprecated, see [Text](/Text) for more details. -- `color` has 2 new values: `primary-on` and `secondary-on`, these are used for colored surfaces. - -### TreeBrowser - -#### Icon system migration - -TreeBrowser now uses Lucide icons instead of the legacy icon system: - -- Default `collectionIcon` changed from `IconFolderLine` to `FolderClosedInstUIIcon` -- Default `collectionIconExpanded` changed from `IconFolderLine` to `FolderClosedInstUIIcon` -- Default `itemIcon` changed from `IconDocumentLine` to `FileTextInstUIIcon` - -#### Theme variable changes - -**TreeBrowser:** - -- theme variable `focusOutlineWidth` is now removed (handled by `sharedTokens`) -- theme variable `focusOutlineStyle` is now removed (handled by `sharedTokens`) -- theme variable `focusOutlineColor` is now removed (handled by `sharedTokens`) - -**TreeButton:** - -- theme variable `focusOutlineWidth` is now removed (handled by `sharedTokens`) -- theme variable `focusOutlineStyle` is now removed (handled by `sharedTokens`) -- theme variable `focusOutlineColor` is now removed (handled by `sharedTokens`) -- theme variable `selectedOutlineWidth` is now removed (handled by `sharedTokens`) -- theme variable `iconColor` is now removed -- theme variable `iconsMarginRight` is now removed - ### Tag ```js @@ -1035,6 +1037,12 @@ type: embed ``` +### Text + +- `alert` color has been removed. Please use `primary` instead. +- Some prop values have been deprecated, see [Text](/Text) for more details. +- `color` has 2 new values: `primary-on` and `secondary-on`, these are used for colored surfaces. + ### TextArea `error` or `success` messages are no longer displayed when the component is `readOnly` or `disabled`. @@ -1116,7 +1124,7 @@ type: embed ``` -### RangeInput +### Tray ```js --- @@ -1124,20 +1132,32 @@ type: embed --- ``` -### SourceCodeEditor +### TreeBrowser + +#### Icon system migration + +TreeBrowser now uses Lucide icons instead of the legacy icon system: + +- Default `collectionIcon` changed from `IconFolderLine` to `FolderClosedInstUIIcon` +- Default `collectionIconExpanded` changed from `IconFolderLine` to `FolderClosedInstUIIcon` +- Default `itemIcon` changed from `IconDocumentLine` to `FileTextInstUIIcon` + +#### Theme variable changes ```js --- @@ -1145,13 +1165,14 @@ type: embed --- - ``` -### Tray +**TreeButton:** ```js --- @@ -1159,16 +1180,12 @@ type: embed --- diff --git a/packages/ui-truncate-text/src/TruncateText/v2/README.md b/packages/ui-truncate-text/src/TruncateText/v2/README.md index 680f715425..468bc61f57 100644 --- a/packages/ui-truncate-text/src/TruncateText/v2/README.md +++ b/packages/ui-truncate-text/src/TruncateText/v2/README.md @@ -141,9 +141,11 @@ type: example maxWidth="480px" withVisualDebug > - - This line of text should be truncated from the middle of the string instead of the end. - + + + This line of text should be truncated from the middle of the string instead of the end. + +