@primer/primitives 10.0.0-rc.4b3d8b21 → 10.0.0-rc.59775793

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.
Files changed (47) hide show
  1. package/README.md +2 -2
  2. package/dist/build/PrimerStyleDictionary.js +26 -26
  3. package/dist/build/formats/typescriptExportDefinition.js +2 -2
  4. package/dist/build/parsers/w3cJsonParser.js +2 -2
  5. package/dist/build/schemas/designToken.js +0 -1
  6. package/dist/build/transformers/durationToCss.js +2 -2
  7. package/dist/css/base/motion/motion.css +17 -0
  8. package/dist/css/functional/motion/motion.css +4 -3
  9. package/dist/css/functional/typography/typography.css +43 -43
  10. package/dist/css/primitives.css +64 -46
  11. package/dist/docs/base/motion/motion.json +205 -0
  12. package/dist/docs/functional/motion/motion.json +18 -3
  13. package/dist/fallbacks/base/motion/motion.json +17 -0
  14. package/dist/fallbacks/functional/motion/motion.json +1 -0
  15. package/dist/figma/dimension/dimension.json +518 -518
  16. package/dist/figma/figma.json +26 -26
  17. package/dist/figma/scales/dark-dimmed.json +1787 -1787
  18. package/dist/figma/scales/dark-high-constrast.json +1787 -1787
  19. package/dist/figma/scales/dark.json +1460 -1460
  20. package/dist/figma/scales/light-high-constrast.json +1775 -1775
  21. package/dist/figma/scales/light.json +1447 -1447
  22. package/dist/figma/shadows/dark-colorblind.json +285 -285
  23. package/dist/figma/shadows/dark-dimmed.json +285 -285
  24. package/dist/figma/shadows/dark-high-contrast.json +285 -285
  25. package/dist/figma/shadows/dark-tritanopia.json +285 -285
  26. package/dist/figma/shadows/dark.json +285 -285
  27. package/dist/figma/shadows/light-colorblind.json +254 -254
  28. package/dist/figma/shadows/light-high-contrast.json +254 -254
  29. package/dist/figma/shadows/light-tritanopia.json +254 -254
  30. package/dist/figma/shadows/light.json +254 -254
  31. package/dist/figma/themes/dark-colorblind.json +5161 -5161
  32. package/dist/figma/themes/dark-dimmed.json +5551 -5551
  33. package/dist/figma/themes/dark-high-contrast.json +4324 -4324
  34. package/dist/figma/themes/dark-tritanopia.json +5264 -5264
  35. package/dist/figma/themes/dark.json +5679 -5679
  36. package/dist/figma/themes/light-colorblind.json +5094 -5094
  37. package/dist/figma/themes/light-high-contrast.json +4418 -4418
  38. package/dist/figma/themes/light-tritanopia.json +5151 -5151
  39. package/dist/figma/themes/light.json +5547 -5547
  40. package/dist/figma/typography/typography.json +162 -162
  41. package/dist/styleLint/base/motion/motion.json +205 -0
  42. package/dist/styleLint/functional/motion/motion.json +18 -3
  43. package/package.json +20 -22
  44. package/src/tokens/base/motion/easing.json5 +26 -0
  45. package/src/tokens/base/motion/timing.json5 +50 -0
  46. package/src/tokens/functional/motion/loading.json5 +1 -1
  47. package/src/tokens/functional/motion/patterns.json5 +9 -2
@@ -1,5 +1,13 @@
1
1
  {
2
2
  "collections": {
3
+ "base/size": {
4
+ "modes": [
5
+ "default"
6
+ ],
7
+ "groups": [
8
+ "base/size"
9
+ ]
10
+ },
3
11
  "functional/size": {
4
12
  "modes": [
5
13
  "default"
@@ -17,12 +25,12 @@
17
25
  "component"
18
26
  ]
19
27
  },
20
- "base/size": {
28
+ "base/color/dark-dimmed": {
21
29
  "modes": [
22
30
  "default"
23
31
  ],
24
32
  "groups": [
25
- "base/size"
33
+ "base/color/dark-dimmed"
26
34
  ]
27
35
  },
28
36
  "base/color/dark": {
@@ -33,14 +41,6 @@
33
41
  "base/color/dark"
34
42
  ]
35
43
  },
36
- "base/color/dark-dimmed": {
37
- "modes": [
38
- "default"
39
- ],
40
- "groups": [
41
- "base/color/dark-dimmed"
42
- ]
43
- },
44
44
  "base/color/dark-high-contrast": {
45
45
  "modes": [
46
46
  "default"
@@ -49,20 +49,20 @@
49
49
  "base/color/dark-high-contrast"
50
50
  ]
51
51
  },
52
- "base/color/light": {
52
+ "base/color/light-high-contrast": {
53
53
  "modes": [
54
54
  "default"
55
55
  ],
56
56
  "groups": [
57
- "base/color/light"
57
+ "base/color/light-high-contrast"
58
58
  ]
59
59
  },
60
- "base/color/light-high-contrast": {
60
+ "base/color/light": {
61
61
  "modes": [
62
62
  "default"
63
63
  ],
64
64
  "groups": [
65
- "base/color/light-high-contrast"
65
+ "base/color/light"
66
66
  ]
67
67
  },
68
68
  "mode": {
@@ -78,36 +78,36 @@
78
78
  "dark tritanopia"
79
79
  ],
80
80
  "groups": [
81
- "shadow",
82
81
  "component shadow",
83
- "syntax",
84
- "semantic",
82
+ "shadow",
83
+ "component",
85
84
  "component (internal)",
86
- "component"
85
+ "semantic",
86
+ "syntax"
87
87
  ]
88
88
  },
89
- "typography": {
89
+ "base/typography": {
90
90
  "modes": [
91
91
  "default"
92
92
  ],
93
93
  "groups": [
94
- "typography"
94
+ "base/typography"
95
95
  ]
96
96
  },
97
- "undefined": {
97
+ "typography": {
98
98
  "modes": [
99
- null
99
+ "default"
100
100
  ],
101
101
  "groups": [
102
- null
102
+ "typography"
103
103
  ]
104
104
  },
105
- "base/typography": {
105
+ "undefined": {
106
106
  "modes": [
107
- "default"
107
+ null
108
108
  ],
109
109
  "groups": [
110
- "base/typography"
110
+ null
111
111
  ]
112
112
  }
113
113
  },