@adobe/spectrum-tokens 15.6.0 → 15.7.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,5 +1,26 @@
1
1
  # [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
2
2
 
3
+ ## 15.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1719](https://github.com/adobe/spectrum-design-data/pull/1719) [`e0df9f5`](https://github.com/adobe/spectrum-design-data/commit/e0df9f51102037f1d0799bf8083de923e00795cd) Thanks [@GarthDB](https://github.com/GarthDB)! - Set `lifecycle.replacedBy` on the deprecated `workflow-icon-size-*` tokens.
8
+
9
+ Replacements go by t-shirt position:
10
+ - 50 → `workflow-icon-extra-small`
11
+ - 75 → `workflow-icon-small`
12
+ - 100 → `workflow-icon-medium`
13
+ - 200 → `workflow-icon-large`
14
+ - 300 → `workflow-icon-extra-large`
15
+
16
+ Relationships that bound the old tokens now point at the replacements.
17
+ Desktop medium, large and extra-large sizes shrink on purpose
18
+ (20/22/26 → 18/20/22px) to align icons with line height.
19
+ This is a visible change for consumers of the new tokens,
20
+ and the deprecation comments say so.
21
+ Mobile values and sizes 50 and 75 are unchanged.
22
+ The legacy `layout.json` gains `renamed` and `deprecated_comment`.
23
+
3
24
  ## 15.6.0
4
25
 
5
26
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "15.6.0",
3
+ "version": "15.7.0",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/layout.json CHANGED
@@ -3789,6 +3789,7 @@
3789
3789
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
3790
3790
  "uuid": "dccab61e-8eed-4fa6-99c3-b997c987dd62",
3791
3791
  "deprecated": true,
3792
+ "deprecated_comment": "Use workflow-icon-medium instead. The desktop size changes from 20px to 18px (mobile is unchanged).",
3792
3793
  "sets": {
3793
3794
  "desktop": {
3794
3795
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -3800,12 +3801,14 @@
3800
3801
  "value": "24px",
3801
3802
  "uuid": "9e882a20-b8e1-4e9b-89f9-26f21db3cd78"
3802
3803
  }
3803
- }
3804
+ },
3805
+ "renamed": "workflow-icon-medium"
3804
3806
  },
3805
3807
  "workflow-icon-size-200": {
3806
3808
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
3807
3809
  "uuid": "6650d78d-2317-41c2-bb9b-e2789cffb5c0",
3808
3810
  "deprecated": true,
3811
+ "deprecated_comment": "Use workflow-icon-large instead. The desktop size changes from 22px to 20px (mobile is unchanged).",
3809
3812
  "sets": {
3810
3813
  "desktop": {
3811
3814
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -3817,12 +3820,14 @@
3817
3820
  "value": "28px",
3818
3821
  "uuid": "9948e083-8c75-48f7-8e58-32c75ec76116"
3819
3822
  }
3820
- }
3823
+ },
3824
+ "renamed": "workflow-icon-large"
3821
3825
  },
3822
3826
  "workflow-icon-size-300": {
3823
3827
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
3824
3828
  "uuid": "c50ba02d-538f-456c-9d8d-f6ca5b1b5881",
3825
3829
  "deprecated": true,
3830
+ "deprecated_comment": "Use workflow-icon-extra-large instead. The desktop size changes from 26px to 22px (mobile is unchanged).",
3826
3831
  "sets": {
3827
3832
  "desktop": {
3828
3833
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -3834,12 +3839,14 @@
3834
3839
  "value": "30px",
3835
3840
  "uuid": "df0dc6c3-59fc-4ee0-87a9-c3d49a07cf9c"
3836
3841
  }
3837
- }
3842
+ },
3843
+ "renamed": "workflow-icon-extra-large"
3838
3844
  },
3839
3845
  "workflow-icon-size-50": {
3840
3846
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
3841
3847
  "uuid": "10abd2ac-fdb8-4dee-86a6-1588acc7b366",
3842
3848
  "deprecated": true,
3849
+ "deprecated_comment": "Use workflow-icon-extra-small instead",
3843
3850
  "sets": {
3844
3851
  "desktop": {
3845
3852
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -3851,12 +3858,14 @@
3851
3858
  "value": "16px",
3852
3859
  "uuid": "4c4cb541-7d42-4bb4-9c86-7197c4600896"
3853
3860
  }
3854
- }
3861
+ },
3862
+ "renamed": "workflow-icon-extra-small"
3855
3863
  },
3856
3864
  "workflow-icon-size-75": {
3857
3865
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",
3858
3866
  "uuid": "e1029ff5-5b9c-4717-8cdb-4ced6b554c01",
3859
3867
  "deprecated": true,
3868
+ "deprecated_comment": "Use workflow-icon-small instead",
3860
3869
  "sets": {
3861
3870
  "desktop": {
3862
3871
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/dimension.json",
@@ -3868,7 +3877,8 @@
3868
3877
  "value": "18px",
3869
3878
  "uuid": "b720c214-babe-426d-9629-9ec60d5e8622"
3870
3879
  }
3871
- }
3880
+ },
3881
+ "renamed": "workflow-icon-small"
3872
3882
  },
3873
3883
  "workflow-icon-small": {
3874
3884
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/scale-set.json",