@primer/primitives 10.4.0-rc.fd8ac4c9 → 10.4.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/dist/build/schemas/shadowToken.d.ts +1992 -0
- package/dist/build/schemas/shadowToken.js +27 -0
- package/dist/css/functional/themes/dark-colorblind.css +8 -8
- package/dist/css/functional/themes/dark-dimmed.css +8 -8
- package/dist/css/functional/themes/dark-high-contrast.css +8 -8
- package/dist/css/functional/themes/dark-tritanopia.css +8 -8
- package/dist/css/functional/themes/dark.css +8 -8
- package/dist/css/functional/themes/light-colorblind.css +8 -8
- package/dist/css/functional/themes/light-high-contrast.css +8 -8
- package/dist/css/functional/themes/light-tritanopia.css +8 -8
- package/dist/css/functional/themes/light.css +8 -8
- package/dist/css/primitives.css +0 -6
- package/dist/docs/functional/themes/dark-colorblind.json +9370 -439
- package/dist/docs/functional/themes/dark-dimmed.json +9790 -563
- package/dist/docs/functional/themes/dark-high-contrast.json +10794 -589
- package/dist/docs/functional/themes/dark-tritanopia.json +9352 -449
- package/dist/docs/functional/themes/dark.json +9248 -443
- package/dist/docs/functional/themes/light-colorblind.json +9334 -433
- package/dist/docs/functional/themes/light-high-contrast.json +10806 -673
- package/dist/docs/functional/themes/light-tritanopia.json +9323 -450
- package/dist/docs/functional/themes/light.json +9245 -414
- package/dist/figma/figma.json +1 -10
- package/dist/figma/themes/dark-colorblind.json +5203 -5080
- package/dist/figma/themes/dark-dimmed.json +5130 -4676
- package/dist/figma/themes/dark-high-contrast.json +6223 -4631
- package/dist/figma/themes/dark-tritanopia.json +5185 -5096
- package/dist/figma/themes/dark.json +4869 -4885
- package/dist/figma/themes/light-colorblind.json +5347 -5171
- package/dist/figma/themes/light-high-contrast.json +6117 -4534
- package/dist/figma/themes/light-tritanopia.json +5532 -5387
- package/dist/figma/themes/light.json +5270 -5170
- package/dist/internalCss/dark-colorblind.css +8 -8
- package/dist/internalCss/dark-dimmed.css +8 -8
- package/dist/internalCss/dark-high-contrast.css +8 -8
- package/dist/internalCss/dark-tritanopia.css +8 -8
- package/dist/internalCss/dark.css +8 -8
- package/dist/internalCss/light-colorblind.css +8 -8
- package/dist/internalCss/light-high-contrast.css +8 -8
- package/dist/internalCss/light-tritanopia.css +8 -8
- package/dist/internalCss/light.css +8 -8
- package/dist/styleLint/functional/themes/dark-colorblind.json +9370 -439
- package/dist/styleLint/functional/themes/dark-dimmed.json +9790 -563
- package/dist/styleLint/functional/themes/dark-high-contrast.json +10794 -589
- package/dist/styleLint/functional/themes/dark-tritanopia.json +9352 -449
- package/dist/styleLint/functional/themes/dark.json +9248 -443
- package/dist/styleLint/functional/themes/light-colorblind.json +9334 -433
- package/dist/styleLint/functional/themes/light-high-contrast.json +10806 -673
- package/dist/styleLint/functional/themes/light-tritanopia.json +9323 -450
- package/dist/styleLint/functional/themes/light.json +9245 -414
- package/package.json +1 -1
- package/src/tokens/component/avatar.json5 +33 -0
- package/src/tokens/component/button.json5 +1714 -0
- package/src/tokens/component/header.json5 +3 -0
- package/src/tokens/component/label.json5 +1942 -0
- package/src/tokens/component/menu.json5 +24 -0
- package/src/tokens/component/overlay.json5 +1 -1
- package/src/tokens/component/selectMenu.json5 +38 -0
- package/src/tokens/component/sideNav.json5 +22 -0
- package/src/tokens/component/treeView.json5 +24 -0
- package/src/tokens/component/underlineNav.json5 +56 -0
- package/src/tokens/functional/color/control.json5 +1087 -0
- package/src/tokens/functional/color/display.json5 +2170 -0
- package/src/tokens/functional/color/selection.json5 +22 -0
- package/src/tokens/functional/shadow/shadow.json5 +478 -0
- package/dist/css/functional/motion/motion.css +0 -6
- package/dist/docs/functional/motion/motion.json +0 -66
- package/dist/fallbacks/functional/motion/motion.json +0 -6
- package/dist/figma/shadows/dark-colorblind.json +0 -1152
- package/dist/figma/shadows/dark-dimmed.json +0 -1152
- package/dist/figma/shadows/dark-high-contrast.json +0 -1152
- package/dist/figma/shadows/dark-tritanopia.json +0 -1152
- package/dist/figma/shadows/dark.json +0 -1152
- package/dist/figma/shadows/light-colorblind.json +0 -1052
- package/dist/figma/shadows/light-high-contrast.json +0 -1052
- package/dist/figma/shadows/light-tritanopia.json +0 -1052
- package/dist/figma/shadows/light.json +0 -1052
- package/dist/styleLint/functional/motion/motion.json +0 -66
- package/src/tokens/functional/color/dark/display-dark.json5 +0 -1258
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -199
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -618
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -65
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -47
- package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -2589
- package/src/tokens/functional/color/light/display-light.json5 +0 -1163
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -581
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -69
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -41
- package/src/tokens/functional/color/light/patterns-light.json5 +0 -2583
- package/src/tokens/functional/motion/loading.json5 +0 -17
- package/src/tokens/functional/motion/patterns.json5 +0 -35
- package/src/tokens/functional/shadow/dark.json5 +0 -369
- package/src/tokens/functional/shadow/light.json5 +0 -363
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"motion-loading-delay-default": {
|
|
3
|
-
"$value": "1000ms",
|
|
4
|
-
"$type": "duration",
|
|
5
|
-
"$description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies.",
|
|
6
|
-
"filePath": "src/tokens/functional/motion/loading.json5",
|
|
7
|
-
"isSource": true,
|
|
8
|
-
"original": {
|
|
9
|
-
"$value": "{base.duration.1000}",
|
|
10
|
-
"$type": "duration",
|
|
11
|
-
"$description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies."
|
|
12
|
-
},
|
|
13
|
-
"name": "motion-loading-delay-default",
|
|
14
|
-
"attributes": {},
|
|
15
|
-
"path": ["motion", "loading", "delay", "default"],
|
|
16
|
-
"key": "{motion.loading.delay.default}"
|
|
17
|
-
},
|
|
18
|
-
"motion-skeletonLoader-shimmer-duration-scale": {
|
|
19
|
-
"$value": "1000ms",
|
|
20
|
-
"$type": "duration",
|
|
21
|
-
"$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)",
|
|
22
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
23
|
-
"isSource": true,
|
|
24
|
-
"original": {
|
|
25
|
-
"$value": "{base.duration.1000}",
|
|
26
|
-
"$type": "duration",
|
|
27
|
-
"$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
|
|
28
|
-
},
|
|
29
|
-
"name": "motion-skeletonLoader-shimmer-duration-scale",
|
|
30
|
-
"attributes": {},
|
|
31
|
-
"path": ["motion", "skeletonLoader", "shimmer", "duration", "scale"],
|
|
32
|
-
"key": "{motion.skeletonLoader.shimmer.duration.scale}"
|
|
33
|
-
},
|
|
34
|
-
"motion-spinner-duration-rotation": {
|
|
35
|
-
"$value": "1000ms",
|
|
36
|
-
"$type": "duration",
|
|
37
|
-
"$description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation",
|
|
38
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
39
|
-
"isSource": true,
|
|
40
|
-
"original": {
|
|
41
|
-
"$value": "{base.duration.1000}",
|
|
42
|
-
"$type": "duration",
|
|
43
|
-
"$description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
|
|
44
|
-
},
|
|
45
|
-
"name": "motion-spinner-duration-rotation",
|
|
46
|
-
"attributes": {},
|
|
47
|
-
"path": ["motion", "spinner", "duration", "rotation"],
|
|
48
|
-
"key": "{motion.spinner.duration.rotation}"
|
|
49
|
-
},
|
|
50
|
-
"motion-spinner-easing-rotation": {
|
|
51
|
-
"$value": [0, 0, 1, 1],
|
|
52
|
-
"$type": "cubicBezier",
|
|
53
|
-
"$description": "The easing curve for the \"Spinner\" loading indicator rotation",
|
|
54
|
-
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
55
|
-
"isSource": true,
|
|
56
|
-
"original": {
|
|
57
|
-
"$value": "{base.easing.linear}",
|
|
58
|
-
"$type": "cubicBezier",
|
|
59
|
-
"$description": "The easing curve for the \"Spinner\" loading indicator rotation"
|
|
60
|
-
},
|
|
61
|
-
"name": "motion-spinner-easing-rotation",
|
|
62
|
-
"attributes": {},
|
|
63
|
-
"path": ["motion", "spinner", "easing", "rotation"],
|
|
64
|
-
"key": "{motion.spinner.easing.rotation}"
|
|
65
|
-
}
|
|
66
|
-
}
|