Skip to content

Commit febe274

Browse files
tw15egankodiakhq[bot]joshblack
authored
docs(Type): add v11 migration guide for type tokens (carbon-design-system#10765)
* docs(Type): add v11 migration guide for type tokens * docs(Type): add type changes to v11 doc Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Josh Black <josh@josh.black>
1 parent ca5c3a4 commit febe274

File tree

2 files changed

+106
-0
lines changed

2 files changed

+106
-0
lines changed

docs/migration/11.x-type.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Type
2+
3+
> **Note:** The Carbon v11 release is currently in beta release. Be on the
4+
> lookout for the public preview release available in the coming months.
5+
6+
## Type tokens
7+
8+
**Status key:**
9+
10+
- **No change:** Token name has no change between versions.
11+
- **Updated:** This is just a name change, the role remains the same between v10
12+
and v11.
13+
- **New:** A net new type token to the system in v11. It has no v10 counterpart.
14+
- **Deprecated:** v10 token was removed in v11.
15+
16+
| Category | V10 token name | V11 token name | Status |
17+
| -------------------- | ----------------------- | ------------------ | ---------- |
18+
| Utility styles | code-01 | code-01 | No change |
19+
| | code-02 | code-02 | No change |
20+
| | label-01 | label-01 | No change |
21+
| | label-02 | label-02 | No change |
22+
| | helper-text-01 | helper-text-01 | No change |
23+
| | helper-text-02 | helper-text-02 | No change |
24+
| | | legal-01 | New |
25+
| | | legal-02 | New |
26+
| | caption-01 | | Deprecated |
27+
| | caption-02 | | Deprecated |
28+
| Body styles | | | |
29+
| | body-short-01 | body-compact-01 | Updated |
30+
| | body-short-02 | body-compact-02 | Updated |
31+
| | body-long-01 | body-01 | Updated |
32+
| | body-long-02 | body-02 | Updated |
33+
| Fixed heading styles | | | |
34+
| | productive-heading-01 | heading-compact-01 | Updated |
35+
| | productive-heading-02 | heading-compact-02 | Updated |
36+
| | expressive-heading-01 | heading-01 | Updated |
37+
| | expressive-heading-02 | heading-02 | Updated |
38+
| | productive-heading-03 | heading-03 | Updated |
39+
| | productive-heading-04 | heading-04 | Updated |
40+
| | productive-heading-05 | heading-05 | Updated |
41+
| | productive-heading-06 | heading-06 | Updated |
42+
| | productive-heading-07 | heading-07 | Updated |
43+
| Fluid heading styles | | | |
44+
| | expressive-heading-03 | fluid-heading-03 | Updated |
45+
| | expressive-heading-04 | fluid-heading-04 | Updated |
46+
| | expressive-heading-05 | fluid-heading-05 | Updated |
47+
| | expressive-heading-06 | fluid-heading-06 | Updated |
48+
| Fluid display styles | | | |
49+
| | expressive-paragraph-01 | fluid-paragraph-01 | Updated |
50+
| | quotation-01 | fluid-quotation-01 | Updated |
51+
| | quotation-02 | fluid-quotation-02 | Updated |
52+
| | display-01 | fluid-display-01 | Updated |
53+
| | display-02 | fluid-display-02 | Updated |
54+
| | display-03 | fluid-display-03 | Updated |
55+
| | display-04 | fluid-display-04 | Updated |

docs/migration/v11.md

+51
Original file line numberDiff line numberDiff line change
@@ -1793,4 +1793,55 @@ were importing `@carbon/type/scss/styles` in v10 you would now only import
17931793
| `scss/_styles.scss` | `$caption-01` | Removed |
17941794
| | `$caption-02` | Removed |
17951795

1796+
## Type tokens
1797+
1798+
**Status key:**
1799+
1800+
- **No change:** Token name has no change between versions.
1801+
- **Updated:** This is just a name change, the role remains the same between v10
1802+
and v11.
1803+
- **New:** A net new type token to the system in v11. It has no v10 counterpart.
1804+
- **Deprecated:** v10 token was removed in v11.
1805+
1806+
| Category | V10 token name | V11 token name | Status |
1807+
| -------------------- | ----------------------- | ------------------ | ---------- |
1808+
| Utility styles | code-01 | code-01 | No change |
1809+
| | code-02 | code-02 | No change |
1810+
| | label-01 | label-01 | No change |
1811+
| | label-02 | label-02 | No change |
1812+
| | helper-text-01 | helper-text-01 | No change |
1813+
| | helper-text-02 | helper-text-02 | No change |
1814+
| | | legal-01 | New |
1815+
| | | legal-02 | New |
1816+
| | caption-01 | | Deprecated |
1817+
| | caption-02 | | Deprecated |
1818+
| Body styles | | | |
1819+
| | body-short-01 | body-compact-01 | Updated |
1820+
| | body-short-02 | body-compact-02 | Updated |
1821+
| | body-long-01 | body-01 | Updated |
1822+
| | body-long-02 | body-02 | Updated |
1823+
| Fixed heading styles | | | |
1824+
| | productive-heading-01 | heading-compact-01 | Updated |
1825+
| | productive-heading-02 | heading-compact-02 | Updated |
1826+
| | expressive-heading-01 | heading-01 | Updated |
1827+
| | expressive-heading-02 | heading-02 | Updated |
1828+
| | productive-heading-03 | heading-03 | Updated |
1829+
| | productive-heading-04 | heading-04 | Updated |
1830+
| | productive-heading-05 | heading-05 | Updated |
1831+
| | productive-heading-06 | heading-06 | Updated |
1832+
| | productive-heading-07 | heading-07 | Updated |
1833+
| Fluid heading styles | | | |
1834+
| | expressive-heading-03 | fluid-heading-03 | Updated |
1835+
| | expressive-heading-04 | fluid-heading-04 | Updated |
1836+
| | expressive-heading-05 | fluid-heading-05 | Updated |
1837+
| | expressive-heading-06 | fluid-heading-06 | Updated |
1838+
| Fluid display styles | | | |
1839+
| | expressive-paragraph-01 | fluid-paragraph-01 | Updated |
1840+
| | quotation-01 | fluid-quotation-01 | Updated |
1841+
| | quotation-02 | fluid-quotation-02 | Updated |
1842+
| | display-01 | fluid-display-01 | Updated |
1843+
| | display-02 | fluid-display-02 | Updated |
1844+
| | display-03 | fluid-display-03 | Updated |
1845+
| | display-04 | fluid-display-04 | Updated |
1846+
17961847
## FAQ

0 commit comments

Comments
 (0)