@primer/primitives 10.4.0-rc.fd8ac4c9 → 10.5.0-rc.1c002767
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/filters/index.d.ts +1 -0
- package/dist/build/filters/index.js +1 -0
- package/dist/build/filters/isGradient.d.ts +7 -0
- package/dist/build/filters/isGradient.js +10 -0
- package/dist/build/platforms/css.js +1 -0
- package/dist/build/primerStyleDictionary.js +2 -1
- package/dist/build/schemas/borderToken.d.ts +3 -3
- package/dist/build/schemas/colorToken.d.ts +3 -3
- package/dist/build/schemas/cubicBezierToken.d.ts +3 -3
- package/dist/build/schemas/designToken.js +2 -0
- package/dist/build/schemas/dimensionToken.d.ts +3 -3
- package/dist/build/schemas/durationToken.d.ts +3 -3
- package/dist/build/schemas/fontFamilyToken.d.ts +3 -3
- package/dist/build/schemas/fontWeightToken.d.ts +3 -3
- package/dist/build/schemas/gradientToken.d.ts +60 -0
- package/dist/build/schemas/gradientToken.js +26 -0
- package/dist/build/schemas/numberToken.d.ts +3 -3
- package/dist/build/schemas/referenceValue.js +1 -1
- package/dist/build/schemas/shadowToken.d.ts +1995 -3
- package/dist/build/schemas/shadowToken.js +27 -0
- package/dist/build/schemas/stringToken.d.ts +3 -3
- package/dist/build/schemas/tokenType.d.ts +1 -1
- package/dist/build/schemas/typographyToken.d.ts +3 -3
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +1 -0
- package/dist/build/schemas/viewportRangeToken.d.ts +3 -3
- package/dist/build/transformers/gradientToCss.d.ts +8 -0
- package/dist/build/transformers/gradientToCss.js +23 -0
- package/dist/build/transformers/index.d.ts +1 -0
- package/dist/build/transformers/index.js +1 -0
- package/dist/css/functional/themes/dark-colorblind.css +138 -8
- package/dist/css/functional/themes/dark-dimmed.css +138 -8
- package/dist/css/functional/themes/dark-high-contrast.css +150 -20
- package/dist/css/functional/themes/dark-tritanopia.css +138 -8
- package/dist/css/functional/themes/dark.css +138 -8
- package/dist/css/functional/themes/light-colorblind.css +138 -8
- package/dist/css/functional/themes/light-high-contrast.css +150 -20
- package/dist/css/functional/themes/light-tritanopia.css +138 -8
- package/dist/css/functional/themes/light.css +138 -8
- package/dist/css/primitives.css +0 -6
- package/dist/docs/functional/themes/dark-colorblind.json +13601 -2768
- package/dist/docs/functional/themes/dark-dimmed.json +13889 -2760
- package/dist/docs/functional/themes/dark-high-contrast.json +15016 -2909
- package/dist/docs/functional/themes/dark-tritanopia.json +13546 -2741
- package/dist/docs/functional/themes/dark.json +12052 -1345
- package/dist/docs/functional/themes/light-colorblind.json +13567 -2764
- package/dist/docs/functional/themes/light-high-contrast.json +15056 -3021
- package/dist/docs/functional/themes/light-tritanopia.json +13555 -2780
- package/dist/docs/functional/themes/light.json +12092 -1359
- package/dist/figma/figma.json +1 -10
- package/dist/figma/themes/dark-colorblind.json +6380 -5472
- package/dist/figma/themes/dark-dimmed.json +6453 -5214
- package/dist/figma/themes/dark-high-contrast.json +6402 -4025
- package/dist/figma/themes/dark-tritanopia.json +6364 -5490
- package/dist/figma/themes/dark.json +5560 -4791
- package/dist/figma/themes/light-colorblind.json +6285 -5324
- package/dist/figma/themes/light-high-contrast.json +6362 -3994
- package/dist/figma/themes/light-tritanopia.json +6282 -5352
- package/dist/figma/themes/light.json +6281 -5396
- package/dist/internalCss/dark-colorblind.css +138 -8
- package/dist/internalCss/dark-dimmed.css +138 -8
- package/dist/internalCss/dark-high-contrast.css +150 -20
- package/dist/internalCss/dark-tritanopia.css +138 -8
- package/dist/internalCss/dark.css +138 -8
- package/dist/internalCss/light-colorblind.css +138 -8
- package/dist/internalCss/light-high-contrast.css +150 -20
- package/dist/internalCss/light-tritanopia.css +138 -8
- package/dist/internalCss/light.css +138 -8
- package/dist/styleLint/functional/themes/dark-colorblind.json +13581 -2748
- package/dist/styleLint/functional/themes/dark-dimmed.json +13905 -2776
- package/dist/styleLint/functional/themes/dark-high-contrast.json +15028 -2921
- package/dist/styleLint/functional/themes/dark-tritanopia.json +13587 -2782
- package/dist/styleLint/functional/themes/dark.json +12085 -1378
- package/dist/styleLint/functional/themes/light-colorblind.json +13535 -2732
- package/dist/styleLint/functional/themes/light-high-contrast.json +15071 -3036
- package/dist/styleLint/functional/themes/light-tritanopia.json +13524 -2749
- package/dist/styleLint/functional/themes/light.json +12097 -1364
- 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/contribution.json5 +0 -37
- 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/borderColor.json5 +8 -8
- package/src/tokens/functional/color/control.json5 +1087 -0
- package/src/tokens/functional/color/data-vis.json5 +911 -41
- 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
|
-
}
|