@adobe/spectrum-tokens 13.0.0-beta.33 → 13.0.0-beta.34

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,23 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.34
4
+
5
+ ### Minor Changes
6
+
7
+ - [#334](https://github.com/adobe/spectrum-tokens/pull/334) [`4d28593`](https://github.com/adobe/spectrum-tokens/commit/4d28593c9d34414d72d78a1cc6c480d9ffdf82ce) Thanks [@nabuhasan](https://github.com/nabuhasan)! - S2 Popover tokens update
8
+
9
+ ## Token Diff
10
+
11
+ _Tokens added (3):_
12
+
13
+ - `popover-border-color`
14
+ - `popover-border-opacity`
15
+ - `popover-edge-to-content-area`
16
+
17
+ _Newly deprecated token (1):_
18
+
19
+ - `popover-top-to-content-area`
20
+
3
21
  ## 13.0.0-beta.33
4
22
 
5
23
  ### Minor Changes
@@ -425,6 +425,8 @@
425
425
  "pink-900": "rgb(206, 42, 146)",
426
426
  "pink-background-color-default": "rgb(206, 42, 146)",
427
427
  "pink-visual-color": "rgb(228, 52, 163)",
428
+ "popover-border-color": "rgb(225, 225, 225)",
429
+ "popover-border-opacity": "0",
428
430
  "positive-background-color-default": "rgb(5, 131, 78)",
429
431
  "positive-background-color-down": "rgb(3, 110, 69)",
430
432
  "positive-background-color-hover": "rgb(3, 110, 69)",
@@ -1006,6 +1008,8 @@
1006
1008
  "pink-900": "rgb(236, 67, 175)",
1007
1009
  "pink-background-color-default": "rgb(196, 39, 138)",
1008
1010
  "pink-visual-color": "rgb(236, 67, 175)",
1011
+ "popover-border-color": "rgb(50, 50, 50)",
1012
+ "popover-border-opacity": "1.0",
1009
1013
  "positive-background-color-default": "rgb(4, 124, 75)",
1010
1014
  "positive-background-color-down": "rgb(3, 106, 67)",
1011
1015
  "positive-background-color-hover": "rgb(3, 106, 67)",
@@ -1778,9 +1782,10 @@
1778
1782
  "picker-visual-to-disclosure-icon-large": "9px",
1779
1783
  "picker-visual-to-disclosure-icon-medium": "8px",
1780
1784
  "picker-visual-to-disclosure-icon-small": "7px",
1785
+ "popover-edge-to-content-area": "8px",
1781
1786
  "popover-tip-height": "8px",
1782
1787
  "popover-tip-width": "16px",
1783
- "popover-top-to-content-area": "4px",
1788
+ "popover-top-to-content-area": "8px",
1784
1789
  "progress-bar-maximum-width": "768px",
1785
1790
  "progress-bar-minimum-width": "48px",
1786
1791
  "progress-bar-thickness-extra-large": "10px",
@@ -5657,6 +5657,40 @@
5657
5657
  }
5658
5658
  }
5659
5659
  },
5660
+ "popover-border-color": {
5661
+ "ref": "{gray-200}",
5662
+ "sets": {
5663
+ "light": {
5664
+ "value": "rgb(225, 225, 225)",
5665
+ "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
5666
+ },
5667
+ "dark": {
5668
+ "value": "rgb(50, 50, 50)",
5669
+ "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
5670
+ },
5671
+ "wireframe": {
5672
+ "value": "rgb(230, 236, 248)",
5673
+ "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
5674
+ }
5675
+ },
5676
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
5677
+ },
5678
+ "popover-border-opacity": {
5679
+ "sets": {
5680
+ "light": {
5681
+ "value": "0",
5682
+ "uuid": "05c58363-1d34-4991-a7f7-7be7da4df50a"
5683
+ },
5684
+ "dark": {
5685
+ "value": "1.0",
5686
+ "uuid": "fa9feacc-0c82-41a7-badc-5803c45a703b"
5687
+ },
5688
+ "wireframe": {
5689
+ "value": "0",
5690
+ "uuid": "d8f81d4f-b921-4a41-89c1-cdc79d40901a"
5691
+ }
5692
+ }
5693
+ },
5660
5694
  "white": {
5661
5695
  "value": "rgb(255, 255, 255)",
5662
5696
  "uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
@@ -12104,16 +12138,14 @@
12104
12138
  "uuid": "5960406b-973d-4e1f-9bb4-2c7a22422c5b"
12105
12139
  },
12106
12140
  "popover-top-to-content-area": {
12107
- "sets": {
12108
- "desktop": {
12109
- "value": "4px",
12110
- "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
12111
- },
12112
- "mobile": {
12113
- "value": "5px",
12114
- "uuid": "6165bae4-7148-4cb2-a1b4-38a25f2d8cde"
12115
- }
12116
- }
12141
+ "ref": "{popover-edge-to-content-area}",
12142
+ "value": "8px",
12143
+ "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
12144
+ },
12145
+ "popover-edge-to-content-area": {
12146
+ "ref": "{spacing-100}",
12147
+ "value": "8px",
12148
+ "uuid": "2a3bd47e-fde5-41d3-a585-f970bdefaf07"
12117
12149
  },
12118
12150
  "menu-item-label-to-description": {
12119
12151
  "ref": "{menu-item-label-to-description-medium}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.33",
3
+ "version": "13.0.0-beta.34",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25,12 +25,14 @@
25
25
  "light": {
26
26
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
27
27
  "value": "0.4",
28
- "uuid": "26b9803c-577f-4a29-badd-dfc459e8b73e"
28
+ "uuid": "26b9803c-577f-4a29-badd-dfc459e8b73e",
29
+ "deprecated": true
29
30
  },
30
31
  "dark": {
31
32
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
32
33
  "value": "0.6",
33
- "uuid": "31d5b502-6266-4309-8f8a-3892e6e158da"
34
+ "uuid": "31d5b502-6266-4309-8f8a-3892e6e158da",
35
+ "deprecated": true
34
36
  },
35
37
  "wireframe": {
36
38
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
@@ -372,5 +372,32 @@
372
372
  "uuid": "ce26d102-2e5e-4b11-b9bf-4d1b347c60c5"
373
373
  }
374
374
  }
375
+ },
376
+ "popover-border-color": {
377
+ "component": "popover",
378
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
379
+ "value": "{gray-200}",
380
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
381
+ },
382
+ "popover-border-opacity": {
383
+ "component": "popover",
384
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
385
+ "sets": {
386
+ "light": {
387
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
388
+ "value": "0",
389
+ "uuid": "05c58363-1d34-4991-a7f7-7be7da4df50a"
390
+ },
391
+ "dark": {
392
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
393
+ "value": "1.0",
394
+ "uuid": "fa9feacc-0c82-41a7-badc-5803c45a703b"
395
+ },
396
+ "wireframe": {
397
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
398
+ "value": "0",
399
+ "uuid": "d8f81d4f-b921-4a41-89c1-cdc79d40901a"
400
+ }
401
+ }
375
402
  }
376
403
  }
@@ -1591,19 +1591,17 @@
1591
1591
  },
1592
1592
  "popover-top-to-content-area": {
1593
1593
  "component": "popover",
1594
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json",
1595
- "sets": {
1596
- "desktop": {
1597
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1598
- "value": "4px",
1599
- "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774"
1600
- },
1601
- "mobile": {
1602
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
1603
- "value": "5px",
1604
- "uuid": "6165bae4-7148-4cb2-a1b4-38a25f2d8cde"
1605
- }
1606
- }
1594
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1595
+ "value": "{popover-edge-to-content-area}",
1596
+ "uuid": "f97488e8-b1c1-442e-b98c-0ae6cff0b774",
1597
+ "deprecated": true,
1598
+ "deprecated_comment": "Introduced as an error. Use popover-edge-to-content-area instead"
1599
+ },
1600
+ "popover-edge-to-content-area": {
1601
+ "component": "popover",
1602
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
1603
+ "value": "{spacing-100}",
1604
+ "uuid": "2a3bd47e-fde5-41d3-a585-f970bdefaf07"
1607
1605
  },
1608
1606
  "menu-item-label-to-description": {
1609
1607
  "component": "menu",