You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`shadowDepth1`, `shadowDepth2`, `shadowDepth3`| Removed | Use `sharedTokens.boxShadow.elevation1/2/3`|
295
+
|`shadowResting`, `shadowAbove`, `shadowTopmost`| Removed | Use `sharedTokens.boxShadow.elevation*`|
296
+
|`borderRadiusSmall`, `borderRadiusMedium`, `borderRadiusLarge`| Removed | Use `sharedTokens.radius*`|
297
+
|`borderWidthSmall`, `borderWidthMedium`, `borderWidthLarge`| Removed | Use `sharedTokens.width*`|
298
+
284
299
## Codemods
285
300
286
301
To ease the upgrade, we provide codemods that will automate most of the changes. Pay close attention to its output, it cannot refactor complex code! The codemod scripts can be run via the following commands:
Copy file name to clipboardExpand all lines: packages/ui-view/src/ContextView/README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,7 @@ type: example
47
47
width="30rem"
48
48
margin="x-large 0 0"
49
49
>
50
-
<Text size="small">
51
50
This ContextView uses the inverse background and medium padding. Its width prop is set to `30rem`, which causes long strings like this to wrap. It also has top margin to separate it from the ContextViews above it.
0 commit comments