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
|`dt-link`| Prop value |`tone="success"`|`tone="positive"`|
25
25
|`dt-modal`| Prop value |`bannerKind="error"`|`bannerKind="critical"`|
26
26
|`dt-modal`| Prop value |`bannerKind="success"`|`bannerKind="positive"`|
27
+
|`dt-text`| Prop value |`tone="success"`|`tone="positive"`|
28
+
|`dt-text`| Prop value |`tone="success-strong"`|`tone="positive-strong"`|
29
+
|`dt-button`| Prop value |`link-kind="danger"`|`link-kind="critical"`|
30
+
|`dt-button`| Prop value |`link-kind="success"`|`link-kind="positive"`|
31
+
|`dt-box`| Prop value |`surface="success*"` (subtle, strong, opaque, subtle-opaque) |`surface="positive*"`|
32
+
|`dt-box`| Prop value |`bc="success*"` (subtle, strong) |`bc="positive*"`|
33
+
34
+
> [!INFO] CSS variables and utility classes also rename
35
+
> The success-to-positive rename also covers `var(--dt-color-*-success-*)` design tokens, `d-fc-success*` / `d-bgc-success*` / `d-bc-success*` utility classes, and ships an ESLint rule and Stylelint rule. See the [Success to Positive](../success-to-positive/) migration guide for the CSS / token side and run `dialtone-migration-helper`.
27
36
28
37
### Visibility and open state
29
38
@@ -120,6 +129,61 @@ Prop values across the system map to a shared set of names. `danger` and `error`
120
129
</div>
121
130
</div>
122
131
132
+
## DtBox `surface` / `bc`, DtText `tone-strong`, and DtButton `link-kind` Value Renames
133
+
134
+
DtBox, DtText, and DtButton each have severity-value props that the original DLT-3157 release missed. The migration script handles all of them.
On overlay components, `show` is now `open` and `update:show` is now `update:open`. This matches the `v-model:open` convention already used by `dt-popover`, `dt-dropdown`, and `dt-combobox-with-popover`.
Copy file name to clipboardExpand all lines: apps/dialtone-documentation/docs/guides/migration/index.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This guide walks you through every breaking and deprecation change in the upcomi
12
12
13
13
Work through each applicable guide in order. Guides earlier in the list are prerequisites for later ones (e.g. color stop renames before base-to-semantic).
14
14
15
-
### CSS & Tokens
15
+
### CSS and Design Tokens
16
16
17
17
| # | Guide | Breaking? | Tool | Summary |
18
18
| --- | --- | --- | --- | --- |
@@ -21,23 +21,24 @@ Work through each applicable guide in order. Guides earlier in the list are prer
21
21
| 3 |[HSL to OKLCH](./hsl-to-oklch/)|**Yes**|`dialtone-migration-helper`| Color tokens moved from HSL to OKLCH. Per-channel breakout variables removed (~3,200 CSS vars). |
22
22
| 4 |[Base to Semantic Colors](./color-stops/#adopting-semantic-color-tokens)| Deprecation |`dialtone-migration-helper`| Upgrade base color utilities/tokens to theme-aware semantic equivalents. |
| 6 |[Success to Positive](./success-to-positive/)| Deprecation |`dialtone-migration-helper`|`success*` design tokens and `d-fc-success*` / `d-bgc-success*` / `d-bc-success*` utility classes deprecated in favor of `positive*`. Includes ESLint and Stylelint rules. |
24
25
25
26
### Components
26
27
27
28
| # | Guide | Breaking? | Tool | Summary |
28
29
| --- | --- | --- | --- | --- |
29
-
|6|[Flex to DtStack](./flex-to-stack/)| Deprecation |`dialtone-migrate-flex-to-stack`| Replace `d-d-flex` utilities with the `<dt-stack>` component. |
30
-
|7|[Component Sizes to Numeric](./component-sizes/)| Deprecation | ESLint + `dialtone-migrate-tshirt-to-numeric`|`size="sm"` → `:size="200"` across all components. |
31
-
|8|[Avatar Updates](./avatar-updates/)|**Yes**| Manual (grep) |`DtAvatar` size prop moves to numeric, `iconSize` removed, group avatar behavior changed. |
|7|[Flex to DtStack](./flex-to-stack/)| Deprecation |`dialtone-migrate-flex-to-stack`| Replace `d-d-flex` utilities with the `<dt-stack>` component. |
31
+
|8|[Component Sizes to Numeric](./component-sizes/)| Deprecation | ESLint + `dialtone-migrate-tshirt-to-numeric`|`size="sm"` → `:size="200"` across all components. |
32
+
|9|[Avatar Updates](./avatar-updates/)|**Yes**| Manual (grep) |`DtAvatar` size prop moves to numeric, `iconSize` removed, group avatar behavior changed. |
0 commit comments