@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.
- package/README.md +2 -2
- package/dist/build/PrimerStyleDictionary.js +26 -26
- package/dist/build/formats/typescriptExportDefinition.js +2 -2
- package/dist/build/parsers/w3cJsonParser.js +2 -2
- package/dist/build/schemas/designToken.js +0 -1
- package/dist/build/transformers/durationToCss.js +2 -2
- package/dist/css/base/motion/motion.css +17 -0
- package/dist/css/functional/motion/motion.css +4 -3
- package/dist/css/functional/typography/typography.css +43 -43
- package/dist/css/primitives.css +64 -46
- package/dist/docs/base/motion/motion.json +205 -0
- package/dist/docs/functional/motion/motion.json +18 -3
- package/dist/fallbacks/base/motion/motion.json +17 -0
- package/dist/fallbacks/functional/motion/motion.json +1 -0
- package/dist/figma/dimension/dimension.json +518 -518
- package/dist/figma/figma.json +26 -26
- package/dist/figma/scales/dark-dimmed.json +1787 -1787
- package/dist/figma/scales/dark-high-constrast.json +1787 -1787
- package/dist/figma/scales/dark.json +1460 -1460
- package/dist/figma/scales/light-high-constrast.json +1775 -1775
- package/dist/figma/scales/light.json +1447 -1447
- package/dist/figma/shadows/dark-colorblind.json +285 -285
- package/dist/figma/shadows/dark-dimmed.json +285 -285
- package/dist/figma/shadows/dark-high-contrast.json +285 -285
- package/dist/figma/shadows/dark-tritanopia.json +285 -285
- package/dist/figma/shadows/dark.json +285 -285
- package/dist/figma/shadows/light-colorblind.json +254 -254
- package/dist/figma/shadows/light-high-contrast.json +254 -254
- package/dist/figma/shadows/light-tritanopia.json +254 -254
- package/dist/figma/shadows/light.json +254 -254
- package/dist/figma/themes/dark-colorblind.json +5161 -5161
- package/dist/figma/themes/dark-dimmed.json +5551 -5551
- package/dist/figma/themes/dark-high-contrast.json +4324 -4324
- package/dist/figma/themes/dark-tritanopia.json +5264 -5264
- package/dist/figma/themes/dark.json +5679 -5679
- package/dist/figma/themes/light-colorblind.json +5094 -5094
- package/dist/figma/themes/light-high-contrast.json +4418 -4418
- package/dist/figma/themes/light-tritanopia.json +5151 -5151
- package/dist/figma/themes/light.json +5547 -5547
- package/dist/figma/typography/typography.json +162 -162
- package/dist/styleLint/base/motion/motion.json +205 -0
- package/dist/styleLint/functional/motion/motion.json +18 -3
- package/package.json +20 -22
- package/src/tokens/base/motion/easing.json5 +26 -0
- package/src/tokens/base/motion/timing.json5 +50 -0
- package/src/tokens/functional/motion/loading.json5 +1 -1
- package/src/tokens/functional/motion/patterns.json5 +9 -2
package/dist/figma/figma.json
CHANGED
|
@@ -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/
|
|
28
|
+
"base/color/dark-dimmed": {
|
|
21
29
|
"modes": [
|
|
22
30
|
"default"
|
|
23
31
|
],
|
|
24
32
|
"groups": [
|
|
25
|
-
"base/
|
|
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
|
|
60
|
+
"base/color/light": {
|
|
61
61
|
"modes": [
|
|
62
62
|
"default"
|
|
63
63
|
],
|
|
64
64
|
"groups": [
|
|
65
|
-
"base/color/light
|
|
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
|
-
"
|
|
84
|
-
"
|
|
82
|
+
"shadow",
|
|
83
|
+
"component",
|
|
85
84
|
"component (internal)",
|
|
86
|
-
"
|
|
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
|
-
"
|
|
97
|
+
"typography": {
|
|
98
98
|
"modes": [
|
|
99
|
-
|
|
99
|
+
"default"
|
|
100
100
|
],
|
|
101
101
|
"groups": [
|
|
102
|
-
|
|
102
|
+
"typography"
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
|
-
"
|
|
105
|
+
"undefined": {
|
|
106
106
|
"modes": [
|
|
107
|
-
|
|
107
|
+
null
|
|
108
108
|
],
|
|
109
109
|
"groups": [
|
|
110
|
-
|
|
110
|
+
null
|
|
111
111
|
]
|
|
112
112
|
}
|
|
113
113
|
},
|