@adobe/spectrum-tokens 12.17.0 → 12.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,25 +1,45 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 12.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - bb89361: Update meter token from meter-default-width to meter-width.
8
+
9
+ ### Design motivation
10
+
11
+ We try to avoid "default" in the name (unless it's the state) because it's a word that implies that it's relative to something else that may not be named, which could get confusing. So meter-width I think for the name, and then just add a note in the specs.
12
+
13
+ ### Token diff
14
+
15
+ _Renamed token:_
16
+
17
+ - `meter-default-width` -> `meter-width`
18
+
19
+ _Token added for deprecation and rename:_
20
+
21
+ - `meter-default-width`
22
+
3
23
  ## 12.17.0
4
24
 
5
25
  ### Minor Changes
6
26
 
7
27
  - 687f6c3: Updated coach-mark tokens
8
28
 
9
- #### Token Diff
29
+ #### Token Diff
10
30
 
11
- _Tokens added (6):_
31
+ _Tokens added (3):_
12
32
 
13
- - `coach-mark-maximum-width`
14
- - `coach-mark-media-height`
15
- - `coach-mark-width`
33
+ - `coach-mark-maximum-width`
34
+ - `coach-mark-media-height`
35
+ - `coach-mark-width`
16
36
 
17
- _Token values updated (1):_
37
+ _Token values updated (4):_
18
38
 
19
- - `coach-mark-minimum-width`: `mobile` from `208px` to `216px`
20
- - `coach-mark-title-size`: added `desktop` value
21
- - `coach-mark-body-size`: added `desktop` value
22
- - `coach-mark-pagination-body-size`: added `desktop` value
39
+ - `coach-mark-minimum-width`: `mobile` from `208px` to `216px`
40
+ - `coach-mark-title-size`: added `desktop` value
41
+ - `coach-mark-body-size`: added `desktop` value
42
+ - `coach-mark-pagination-body-size`: added `desktop` value
23
43
 
24
44
  ## 12.16.0
25
45
 
@@ -27,11 +47,11 @@
27
47
 
28
48
  - 25dc20d: Add new menu-item token for section dividers
29
49
 
30
- #### Token Diff
50
+ #### Token Diff
31
51
 
32
- _Tokens added (1):_
52
+ _Tokens added (1):_
33
53
 
34
- - `menu-item-section-divider-height`
54
+ - `menu-item-section-divider-height`
35
55
 
36
56
  ## 12.15.0
37
57
 
@@ -1734,6 +1734,7 @@
1734
1734
  "meter-minimum-width": "48px",
1735
1735
  "meter-thickness-large": "6px",
1736
1736
  "meter-thickness-small": "4px",
1737
+ "meter-width": "192px",
1737
1738
  "navigational-indicator-top-to-back-icon-extra-large": "17px",
1738
1739
  "navigational-indicator-top-to-back-icon-large": "14px",
1739
1740
  "navigational-indicator-top-to-back-icon-medium": "11px",
@@ -13515,7 +13515,7 @@
13515
13515
  "value": "768px",
13516
13516
  "uuid": "63bfb4da-4aaf-49c6-9328-16c636cf0bf9"
13517
13517
  },
13518
- "meter-default-width": {
13518
+ "meter-width": {
13519
13519
  "sets": {
13520
13520
  "desktop": {
13521
13521
  "value": "192px",
@@ -13527,6 +13527,20 @@
13527
13527
  }
13528
13528
  }
13529
13529
  },
13530
+ "meter-default-width": {
13531
+ "ref": "{meter-width}",
13532
+ "sets": {
13533
+ "desktop": {
13534
+ "value": "192px",
13535
+ "uuid": "ceeda4da-026b-496c-8abd-7081aceae262"
13536
+ },
13537
+ "mobile": {
13538
+ "value": "240px",
13539
+ "uuid": "dc5f4966-4ddd-4e9a-a748-370d8eaae568"
13540
+ }
13541
+ },
13542
+ "uuid": "2633d29d-8a14-48e8-977c-bdb9a53b3bd5"
13543
+ },
13530
13544
  "meter-thickness-small": {
13531
13545
  "sets": {
13532
13546
  "desktop": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.17.0",
3
+ "version": "12.18.0",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "tasks/buildSpectrumTokens.js",
@@ -1744,7 +1744,7 @@
1744
1744
  "value": "768px",
1745
1745
  "uuid": "63bfb4da-4aaf-49c6-9328-16c636cf0bf9"
1746
1746
  },
1747
- "meter-default-width": {
1747
+ "meter-width": {
1748
1748
  "component": "meter",
1749
1749
  "sets": {
1750
1750
  "desktop": {
@@ -1757,6 +1757,13 @@
1757
1757
  }
1758
1758
  }
1759
1759
  },
1760
+ "meter-default-width": {
1761
+ "component": "meter",
1762
+ "value": "{meter-width}",
1763
+ "deprecated": true,
1764
+ "deprecated_comment": "Token renamed, use `meter-width`",
1765
+ "uuid": "2633d29d-8a14-48e8-977c-bdb9a53b3bd5"
1766
+ },
1760
1767
  "meter-thickness-small": {
1761
1768
  "component": "meter",
1762
1769
  "sets": {