@primer/primitives 9.1.2 → 10.0.0-rc.1bc5b670
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.d.ts +1 -2
- package/dist/build/PrimerStyleDictionary.js +52 -64
- package/dist/build/filters/index.d.ts +14 -13
- package/dist/build/filters/index.js +14 -29
- package/dist/build/filters/isBorder.d.ts +3 -3
- package/dist/build/filters/isBorder.js +2 -6
- package/dist/build/filters/isColor.d.ts +3 -3
- package/dist/build/filters/isColor.js +8 -7
- package/dist/build/filters/isColorWithAlpha.d.ts +3 -3
- package/dist/build/filters/isColorWithAlpha.js +4 -8
- package/dist/build/filters/isColorWithMix.d.ts +3 -3
- package/dist/build/filters/isColorWithMix.js +4 -8
- package/dist/build/filters/isCubicBezier.d.ts +7 -0
- package/dist/build/filters/isCubicBezier.js +10 -0
- package/dist/build/filters/isDeprecated.d.ts +3 -3
- package/dist/build/filters/isDeprecated.js +2 -6
- package/dist/build/filters/isDimension.d.ts +3 -3
- package/dist/build/filters/isDimension.js +2 -6
- package/dist/build/filters/isDuration.d.ts +3 -3
- package/dist/build/filters/isDuration.js +2 -6
- package/dist/build/filters/isFontFamily.d.ts +3 -3
- package/dist/build/filters/isFontFamily.js +2 -6
- package/dist/build/filters/isFontWeight.d.ts +3 -3
- package/dist/build/filters/isFontWeight.js +2 -6
- package/dist/build/filters/isFromFile.d.ts +3 -3
- package/dist/build/filters/isFromFile.js +2 -6
- package/dist/build/filters/isNumber.d.ts +3 -3
- package/dist/build/filters/isNumber.js +4 -6
- package/dist/build/filters/isShadow.d.ts +3 -3
- package/dist/build/filters/isShadow.js +2 -6
- package/dist/build/filters/isSource.d.ts +3 -3
- package/dist/build/filters/isSource.js +2 -6
- package/dist/build/filters/isTypography.d.ts +3 -3
- package/dist/build/filters/isTypography.js +2 -6
- package/dist/build/formats/cssAdvanced.d.ts +2 -2
- package/dist/build/formats/cssAdvanced.js +22 -20
- package/dist/build/formats/cssCustomMedia.d.ts +2 -2
- package/dist/build/formats/cssCustomMedia.js +16 -15
- package/dist/build/formats/index.d.ts +9 -9
- package/dist/build/formats/index.js +9 -21
- package/dist/build/formats/javascriptCommonJs.d.ts +2 -2
- package/dist/build/formats/javascriptCommonJs.js +17 -16
- package/dist/build/formats/javascriptEsm.d.ts +2 -2
- package/dist/build/formats/javascriptEsm.js +17 -16
- package/dist/build/formats/jsonFigma.d.ts +2 -2
- package/dist/build/formats/jsonFigma.js +27 -22
- package/dist/build/formats/jsonNestedPrefixed.d.ts +3 -3
- package/dist/build/formats/jsonNestedPrefixed.js +17 -15
- package/dist/build/formats/jsonOneDimensional.d.ts +3 -3
- package/dist/build/formats/jsonOneDimensional.js +24 -16
- package/dist/build/formats/jsonPostCssFallback.d.ts +3 -3
- package/dist/build/formats/jsonPostCssFallback.js +5 -12
- package/dist/build/formats/typescriptExportDefinition.d.ts +2 -2
- package/dist/build/formats/typescriptExportDefinition.js +50 -46
- package/dist/build/formats/utilities/getPropName.d.ts +1 -0
- package/dist/build/formats/utilities/getPropName.js +16 -0
- package/dist/build/formats/utilities/jsonToFlat.d.ts +2 -2
- package/dist/build/formats/utilities/jsonToFlat.js +1 -5
- package/dist/build/formats/utilities/jsonToNestedValue.d.ts +2 -2
- package/dist/build/formats/utilities/jsonToNestedValue.js +4 -6
- package/dist/build/formats/utilities/prefixTokens.d.ts +2 -2
- package/dist/build/formats/utilities/prefixTokens.js +1 -5
- package/dist/build/parsers/index.d.ts +1 -1
- package/dist/build/parsers/index.js +1 -5
- package/dist/build/parsers/w3cJsonParser.d.ts +2 -2
- package/dist/build/parsers/w3cJsonParser.js +7 -9
- package/dist/build/platforms/css.d.ts +1 -1
- package/dist/build/platforms/css.js +20 -11
- package/dist/build/platforms/deprecatedJson.d.ts +1 -1
- package/dist/build/platforms/deprecatedJson.js +3 -7
- package/dist/build/platforms/docJson.d.ts +1 -1
- package/dist/build/platforms/docJson.js +8 -7
- package/dist/build/platforms/fallbacks.d.ts +1 -1
- package/dist/build/platforms/fallbacks.js +3 -7
- package/dist/build/platforms/figma.d.ts +1 -1
- package/dist/build/platforms/figma.js +21 -14
- package/dist/build/platforms/index.d.ts +10 -10
- package/dist/build/platforms/index.js +10 -23
- package/dist/build/platforms/javascript.d.ts +1 -1
- package/dist/build/platforms/javascript.js +3 -7
- package/dist/build/platforms/json.d.ts +1 -1
- package/dist/build/platforms/json.js +3 -7
- package/dist/build/platforms/styleLint.d.ts +1 -1
- package/dist/build/platforms/styleLint.js +3 -7
- package/dist/build/platforms/typeDefinitions.d.ts +1 -1
- package/dist/build/platforms/typeDefinitions.js +6 -10
- package/dist/build/platforms/typescript.d.ts +1 -1
- package/dist/build/platforms/typescript.js +3 -7
- package/dist/build/schemas/alphaValue.js +4 -7
- package/dist/build/schemas/baseToken.d.ts +2 -2
- package/dist/build/schemas/baseToken.js +4 -7
- package/dist/build/schemas/borderToken.d.ts +5 -5
- package/dist/build/schemas/borderToken.js +13 -16
- package/dist/build/schemas/collections.js +8 -14
- package/dist/build/schemas/colorHexValue.js +4 -7
- package/dist/build/schemas/colorToken.d.ts +20 -15
- package/dist/build/schemas/colorToken.js +24 -24
- package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
- package/dist/build/schemas/cubicBezierToken.js +8 -0
- package/dist/build/schemas/designToken.js +30 -32
- package/dist/build/schemas/dimensionToken.d.ts +5 -5
- package/dist/build/schemas/dimensionToken.js +14 -17
- package/dist/build/schemas/dimensionValue.js +7 -10
- package/dist/build/schemas/durationToken.d.ts +5 -5
- package/dist/build/schemas/durationToken.js +8 -11
- package/dist/build/schemas/durationValue.js +4 -7
- package/dist/build/schemas/fontFamilyToken.d.ts +5 -5
- package/dist/build/schemas/fontFamilyToken.js +13 -16
- package/dist/build/schemas/fontWeightToken.d.ts +5 -5
- package/dist/build/schemas/fontWeightToken.js +14 -17
- package/dist/build/schemas/fontWeightValue.js +4 -7
- package/dist/build/schemas/numberToken.d.ts +5 -5
- package/dist/build/schemas/numberToken.js +15 -18
- package/dist/build/schemas/referenceValue.js +4 -7
- package/dist/build/schemas/scopes.js +5 -10
- package/dist/build/schemas/shadowToken.d.ts +5 -5
- package/dist/build/schemas/shadowToken.js +23 -26
- package/dist/build/schemas/stringToken.d.ts +5 -5
- package/dist/build/schemas/stringToken.js +7 -10
- package/dist/build/schemas/tokenName.js +4 -7
- package/dist/build/schemas/tokenType.d.ts +2 -2
- package/dist/build/schemas/tokenType.js +2 -6
- package/dist/build/schemas/typographyToken.d.ts +5 -5
- package/dist/build/schemas/typographyToken.js +14 -17
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +10 -13
- package/dist/build/schemas/viewportRangeToken.d.ts +5 -5
- package/dist/build/schemas/viewportRangeToken.js +7 -10
- package/dist/build/transformers/borderToCss.d.ts +3 -3
- package/dist/build/transformers/borderToCss.js +16 -16
- package/dist/build/transformers/colorToHex.d.ts +2 -2
- package/dist/build/transformers/colorToHex.js +11 -13
- package/dist/build/transformers/colorToHexMix.d.ts +2 -2
- package/dist/build/transformers/colorToHexMix.js +10 -15
- package/dist/build/transformers/colorToRgbAlpha.d.ts +2 -2
- package/dist/build/transformers/colorToRgbAlpha.js +10 -12
- package/dist/build/transformers/colorToRgbaFloat.d.ts +2 -2
- package/dist/build/transformers/colorToRgbaFloat.js +24 -28
- package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
- package/dist/build/transformers/cubicBezierToCss.js +23 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +2 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +13 -14
- package/dist/build/transformers/dimensionToRem.d.ts +2 -2
- package/dist/build/transformers/dimensionToRem.js +12 -13
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -2
- package/dist/build/transformers/dimensionToRemPxArray.js +11 -12
- package/dist/build/transformers/durationToCss.d.ts +2 -2
- package/dist/build/transformers/durationToCss.js +10 -11
- package/dist/build/transformers/figmaAttributes.d.ts +2 -2
- package/dist/build/transformers/figmaAttributes.js +3 -5
- package/dist/build/transformers/floatToPixel.d.ts +4 -4
- package/dist/build/transformers/floatToPixel.js +12 -14
- package/dist/build/transformers/fontFamilyToCss.d.ts +2 -2
- package/dist/build/transformers/fontFamilyToCss.js +10 -13
- package/dist/build/transformers/fontFamilyToFigma.d.ts +3 -3
- package/dist/build/transformers/fontFamilyToFigma.js +15 -17
- package/dist/build/transformers/fontWeightToNumber.d.ts +2 -2
- package/dist/build/transformers/fontWeightToNumber.js +8 -11
- package/dist/build/transformers/index.d.ts +25 -24
- package/dist/build/transformers/index.js +25 -51
- package/dist/build/transformers/jsonDeprecated.d.ts +2 -2
- package/dist/build/transformers/jsonDeprecated.js +6 -8
- package/dist/build/transformers/namePathToCamelCase.d.ts +2 -2
- package/dist/build/transformers/namePathToCamelCase.js +5 -7
- package/dist/build/transformers/namePathToDotNotation.d.ts +2 -2
- package/dist/build/transformers/namePathToDotNotation.js +6 -8
- package/dist/build/transformers/namePathToFigma.d.ts +3 -3
- package/dist/build/transformers/namePathToFigma.js +5 -8
- package/dist/build/transformers/namePathToKebabCase.d.ts +2 -2
- package/dist/build/transformers/namePathToKebabCase.js +4 -6
- package/dist/build/transformers/namePathToPascalCase.d.ts +2 -2
- package/dist/build/transformers/namePathToPascalCase.js +5 -7
- package/dist/build/transformers/namePathToSlashNotation.d.ts +2 -2
- package/dist/build/transformers/namePathToSlashNotation.js +4 -6
- package/dist/build/transformers/shadowToCss.d.ts +2 -2
- package/dist/build/transformers/shadowToCss.js +14 -15
- package/dist/build/transformers/typographyToCss.d.ts +2 -2
- package/dist/build/transformers/typographyToCss.js +13 -15
- package/dist/build/transformers/utilities/alpha.d.ts +1 -1
- package/dist/build/transformers/utilities/alpha.js +4 -8
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +1 -5
- package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -2
- package/dist/build/transformers/utilities/getTokenValue.js +10 -12
- package/dist/build/transformers/utilities/hasSpaceInString.js +1 -5
- package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +1 -1
- package/dist/build/transformers/utilities/hexToRgbaFloat.js +1 -5
- package/dist/build/transformers/utilities/invalidTokenError.d.ts +1 -1
- package/dist/build/transformers/utilities/invalidTokenError.js +11 -10
- package/dist/build/transformers/utilities/isRgbaFloat.js +1 -5
- package/dist/build/transformers/utilities/mix.js +5 -7
- package/dist/build/transformers/utilities/rgbaFloatToHex.js +1 -5
- package/dist/build/types/Border.d.ts +5 -0
- package/dist/build/types/BorderTokenValue.d.ts +10 -0
- package/dist/build/types/ColorHex.d.ts +4 -0
- package/dist/build/types/PlatformInitializer.d.ts +11 -0
- package/dist/build/types/Shadow.d.ts +5 -0
- package/dist/build/types/ShadowTokenValue.d.ts +14 -0
- package/dist/build/types/SizeEm.d.ts +4 -0
- package/dist/build/types/SizePx.d.ts +4 -0
- package/dist/build/types/SizeRem.d.ts +4 -0
- package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
- package/dist/build/types/TokenBuildInput.d.ts +8 -0
- package/dist/build/types/TypographyTokenValue.d.ts +12 -0
- package/dist/build/types/w3cTransformedToken.d.ts +8 -0
- package/dist/build/utilities/copyFromDir.d.ts +2 -2
- package/dist/build/utilities/copyFromDir.js +7 -10
- package/dist/build/utilities/filterStringArray.js +1 -5
- package/dist/build/utilities/getFlag.js +1 -5
- package/dist/build/utilities/index.d.ts +9 -3
- package/dist/build/utilities/index.js +9 -9
- package/dist/build/utilities/joinFriendly.js +1 -5
- package/dist/build/utilities/schemaErrorMessage.js +1 -5
- package/dist/build/utilities/toCamelCase.js +5 -9
- package/dist/build/utilities/toPascalCase.js +5 -9
- package/dist/build/utilities/treeWalker.js +2 -6
- package/dist/build/utilities/upperCaseFirstCharacter.js +1 -5
- package/dist/css/base/motion/motion.css +17 -0
- package/dist/css/functional/motion/motion.css +4 -3
- package/dist/css/functional/themes/dark-colorblind.css +58 -38
- package/dist/css/functional/themes/dark-dimmed.css +44 -24
- package/dist/css/functional/themes/dark-high-contrast.css +62 -42
- package/dist/css/functional/themes/dark-tritanopia.css +44 -24
- package/dist/css/functional/themes/dark.css +42 -22
- package/dist/css/functional/themes/light-colorblind.css +60 -40
- package/dist/css/functional/themes/light-high-contrast.css +58 -38
- package/dist/css/functional/themes/light-tritanopia.css +42 -22
- package/dist/css/functional/themes/light.css +42 -22
- 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/base/size/size.json +76 -76
- package/dist/docs/base/typography/typography.json +16 -16
- package/dist/docs/functional/motion/motion.json +33 -18
- package/dist/docs/functional/size/border.json +56 -56
- package/dist/docs/functional/size/breakpoints.json +24 -24
- package/dist/docs/functional/size/size-coarse.json +12 -12
- package/dist/docs/functional/size/size-fine.json +12 -12
- package/dist/docs/functional/size/size.json +264 -264
- package/dist/docs/functional/size/viewport.json +24 -24
- package/dist/docs/functional/themes/dark-colorblind.json +2868 -3462
- package/dist/docs/functional/themes/dark-dimmed.json +2826 -3016
- package/dist/docs/functional/themes/dark-high-contrast.json +2822 -5100
- package/dist/docs/functional/themes/dark-tritanopia.json +2829 -3203
- package/dist/docs/functional/themes/dark.json +2808 -2520
- package/dist/docs/functional/themes/light-colorblind.json +2604 -3150
- package/dist/docs/functional/themes/light-high-contrast.json +2653 -4609
- package/dist/docs/functional/themes/light-tritanopia.json +2546 -2960
- package/dist/docs/functional/themes/light.json +2590 -2312
- package/dist/docs/functional/typography/typography.json +206 -206
- package/dist/fallbacks/base/motion/motion.json +17 -0
- package/dist/fallbacks/functional/motion/motion.json +1 -0
- package/dist/figma/dimension/dimension.json +492 -492
- package/dist/figma/figma.json +21 -13
- package/dist/figma/scales/dark-dimmed.json +3536 -656
- package/dist/figma/scales/dark-high-constrast.json +3535 -655
- package/dist/figma/scales/dark.json +3371 -491
- package/dist/figma/scales/light-high-constrast.json +3532 -652
- package/dist/figma/scales/light.json +3367 -487
- package/dist/figma/shadows/dark-colorblind.json +199 -199
- package/dist/figma/shadows/dark-dimmed.json +199 -199
- package/dist/figma/shadows/dark-high-contrast.json +199 -199
- package/dist/figma/shadows/dark-tritanopia.json +199 -199
- package/dist/figma/shadows/dark.json +199 -199
- package/dist/figma/shadows/light-colorblind.json +189 -189
- package/dist/figma/shadows/light-high-contrast.json +191 -191
- package/dist/figma/shadows/light-tritanopia.json +189 -189
- package/dist/figma/shadows/light.json +189 -189
- package/dist/figma/themes/dark-colorblind.json +4470 -5204
- package/dist/figma/themes/dark-dimmed.json +4771 -5081
- package/dist/figma/themes/dark-high-contrast.json +4189 -6548
- package/dist/figma/themes/dark-tritanopia.json +4629 -5153
- package/dist/figma/themes/dark.json +5072 -4916
- package/dist/figma/themes/light-colorblind.json +4490 -5127
- package/dist/figma/themes/light-high-contrast.json +4170 -6201
- package/dist/figma/themes/light-tritanopia.json +4525 -5027
- package/dist/figma/themes/light.json +4982 -4825
- package/dist/figma/typography/typography.json +159 -203
- package/dist/internalCss/dark-colorblind.css +58 -38
- package/dist/internalCss/dark-dimmed.css +44 -24
- package/dist/internalCss/dark-high-contrast.css +62 -42
- package/dist/internalCss/dark-tritanopia.css +44 -24
- package/dist/internalCss/dark.css +42 -22
- package/dist/internalCss/light-colorblind.css +60 -40
- package/dist/internalCss/light-high-contrast.css +58 -38
- package/dist/internalCss/light-tritanopia.css +42 -22
- package/dist/internalCss/light.css +42 -22
- package/dist/styleLint/base/motion/motion.json +205 -0
- package/dist/styleLint/base/size/size.json +38 -38
- package/dist/styleLint/base/typography/typography.json +8 -8
- package/dist/styleLint/functional/motion/motion.json +27 -12
- package/dist/styleLint/functional/size/border.json +30 -30
- package/dist/styleLint/functional/size/breakpoints.json +12 -12
- package/dist/styleLint/functional/size/size-coarse.json +6 -6
- package/dist/styleLint/functional/size/size-fine.json +6 -6
- package/dist/styleLint/functional/size/size.json +132 -132
- package/dist/styleLint/functional/size/viewport.json +12 -12
- package/dist/styleLint/functional/themes/dark-colorblind.json +1644 -2238
- package/dist/styleLint/functional/themes/dark-dimmed.json +1699 -1889
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1627 -3905
- package/dist/styleLint/functional/themes/dark-tritanopia.json +1704 -2078
- package/dist/styleLint/functional/themes/dark.json +1692 -1404
- package/dist/styleLint/functional/themes/light-colorblind.json +1506 -2052
- package/dist/styleLint/functional/themes/light-high-contrast.json +1515 -3471
- package/dist/styleLint/functional/themes/light-tritanopia.json +1434 -1848
- package/dist/styleLint/functional/themes/light.json +1474 -1196
- package/dist/styleLint/functional/typography/typography.json +114 -114
- package/package.json +33 -32
- package/src/tokens/base/motion/easing.json5 +26 -0
- package/src/tokens/base/motion/timing.json5 +50 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
- package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
- package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +43 -30
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +62 -30
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +53 -12
- package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
- package/src/tokens/functional/color/dark/primitives-dark.json5 +4 -4
- package/src/tokens/functional/color/light/app-light.json5 +195 -85
- package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +65 -34
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +66 -11
- package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
- package/src/tokens/functional/color/light/primitives-light.json5 +2 -2
- package/src/tokens/functional/motion/loading.json5 +1 -1
- package/src/tokens/functional/motion/patterns.json5 +9 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"boxShadow-thin": {
|
|
3
|
-
"value": "inset 0 0 0 max(1px, 0.0625rem)",
|
|
4
|
-
"
|
|
3
|
+
"$value": "inset 0 0 0 max(1px, 0.0625rem)",
|
|
4
|
+
"$description": "Thin shadow for borders",
|
|
5
5
|
"$type": "string",
|
|
6
6
|
"filePath": "src/tokens/functional/size/border.json",
|
|
7
7
|
"isSource": true,
|
|
8
8
|
"original": {
|
|
9
|
-
"value": "inset 0 0 0 {borderWidth.thin}",
|
|
10
|
-
"
|
|
9
|
+
"$value": "inset 0 0 0 {borderWidth.thin}",
|
|
10
|
+
"$description": "Thin shadow for borders",
|
|
11
11
|
"$type": "string"
|
|
12
12
|
},
|
|
13
13
|
"name": "boxShadow-thin",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"path": ["boxShadow", "thin"]
|
|
16
16
|
},
|
|
17
17
|
"boxShadow-thick": {
|
|
18
|
-
"value": "inset 0 0 0 max(2px, 0.125rem)",
|
|
18
|
+
"$value": "inset 0 0 0 max(2px, 0.125rem)",
|
|
19
19
|
"$type": "string",
|
|
20
20
|
"filePath": "src/tokens/functional/size/border.json",
|
|
21
21
|
"isSource": true,
|
|
22
22
|
"original": {
|
|
23
|
-
"value": "inset 0 0 0 {borderWidth.thick}",
|
|
23
|
+
"$value": "inset 0 0 0 {borderWidth.thick}",
|
|
24
24
|
"$type": "string"
|
|
25
25
|
},
|
|
26
26
|
"name": "boxShadow-thick",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"path": ["boxShadow", "thick"]
|
|
29
29
|
},
|
|
30
30
|
"boxShadow-thicker": {
|
|
31
|
-
"value": "inset 0 0 0 max(4px, 0.25rem)",
|
|
31
|
+
"$value": "inset 0 0 0 max(4px, 0.25rem)",
|
|
32
32
|
"$type": "string",
|
|
33
33
|
"filePath": "src/tokens/functional/size/border.json",
|
|
34
34
|
"isSource": true,
|
|
35
35
|
"original": {
|
|
36
|
-
"value": "inset 0 0 0 {borderWidth.thicker}",
|
|
36
|
+
"$value": "inset 0 0 0 {borderWidth.thicker}",
|
|
37
37
|
"$type": "string"
|
|
38
38
|
},
|
|
39
39
|
"name": "boxShadow-thicker",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"path": ["boxShadow", "thicker"]
|
|
42
42
|
},
|
|
43
43
|
"borderWidth-thin": {
|
|
44
|
-
"value": "max(1px, 0.0625rem)",
|
|
44
|
+
"$value": "max(1px, 0.0625rem)",
|
|
45
45
|
"$type": "string",
|
|
46
46
|
"filePath": "src/tokens/functional/size/border.json",
|
|
47
47
|
"isSource": true,
|
|
48
48
|
"original": {
|
|
49
|
-
"value": "max(1px, 0.0625rem)",
|
|
49
|
+
"$value": "max(1px, 0.0625rem)",
|
|
50
50
|
"$type": "string"
|
|
51
51
|
},
|
|
52
52
|
"name": "borderWidth-thin",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"path": ["borderWidth", "thin"]
|
|
55
55
|
},
|
|
56
56
|
"borderWidth-thick": {
|
|
57
|
-
"value": "max(2px, 0.125rem)",
|
|
57
|
+
"$value": "max(2px, 0.125rem)",
|
|
58
58
|
"$type": "string",
|
|
59
59
|
"filePath": "src/tokens/functional/size/border.json",
|
|
60
60
|
"isSource": true,
|
|
61
61
|
"original": {
|
|
62
|
-
"value": "max(2px, 0.125rem)",
|
|
62
|
+
"$value": "max(2px, 0.125rem)",
|
|
63
63
|
"$type": "string"
|
|
64
64
|
},
|
|
65
65
|
"name": "borderWidth-thick",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"path": ["borderWidth", "thick"]
|
|
68
68
|
},
|
|
69
69
|
"borderWidth-thicker": {
|
|
70
|
-
"value": "max(4px, 0.25rem)",
|
|
70
|
+
"$value": "max(4px, 0.25rem)",
|
|
71
71
|
"$type": "string",
|
|
72
72
|
"filePath": "src/tokens/functional/size/border.json",
|
|
73
73
|
"isSource": true,
|
|
74
74
|
"original": {
|
|
75
|
-
"value": "max(4px, 0.25rem)",
|
|
75
|
+
"$value": "max(4px, 0.25rem)",
|
|
76
76
|
"$type": "string"
|
|
77
77
|
},
|
|
78
78
|
"name": "borderWidth-thicker",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"path": ["borderWidth", "thicker"]
|
|
81
81
|
},
|
|
82
82
|
"borderRadius-small": {
|
|
83
|
-
"value": ["0.1875rem", "3px"],
|
|
83
|
+
"$value": ["0.1875rem", "3px"],
|
|
84
84
|
"$type": "dimension",
|
|
85
85
|
"$extensions": {
|
|
86
86
|
"org.primer.figma": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"filePath": "src/tokens/functional/size/border.json",
|
|
95
95
|
"isSource": true,
|
|
96
96
|
"original": {
|
|
97
|
-
"value": "3px",
|
|
97
|
+
"$value": "3px",
|
|
98
98
|
"$type": "dimension",
|
|
99
99
|
"$extensions": {
|
|
100
100
|
"org.primer.figma": {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"path": ["borderRadius", "small"]
|
|
112
112
|
},
|
|
113
113
|
"borderRadius-medium": {
|
|
114
|
-
"value": ["0.375rem", "6px"],
|
|
114
|
+
"$value": ["0.375rem", "6px"],
|
|
115
115
|
"$type": "dimension",
|
|
116
116
|
"$extensions": {
|
|
117
117
|
"org.primer.figma": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"filePath": "src/tokens/functional/size/border.json",
|
|
126
126
|
"isSource": true,
|
|
127
127
|
"original": {
|
|
128
|
-
"value": "6px",
|
|
128
|
+
"$value": "6px",
|
|
129
129
|
"$type": "dimension",
|
|
130
130
|
"$extensions": {
|
|
131
131
|
"org.primer.figma": {
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"path": ["borderRadius", "medium"]
|
|
143
143
|
},
|
|
144
144
|
"borderRadius-large": {
|
|
145
|
-
"value": ["0.75rem", "12px"],
|
|
145
|
+
"$value": ["0.75rem", "12px"],
|
|
146
146
|
"$type": "dimension",
|
|
147
147
|
"$extensions": {
|
|
148
148
|
"org.primer.figma": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"filePath": "src/tokens/functional/size/border.json",
|
|
157
157
|
"isSource": true,
|
|
158
158
|
"original": {
|
|
159
|
-
"value": "12px",
|
|
159
|
+
"$value": "12px",
|
|
160
160
|
"$type": "dimension",
|
|
161
161
|
"$extensions": {
|
|
162
162
|
"org.primer.figma": {
|
|
@@ -173,9 +173,9 @@
|
|
|
173
173
|
"path": ["borderRadius", "large"]
|
|
174
174
|
},
|
|
175
175
|
"borderRadius-full": {
|
|
176
|
-
"value": ["624.9375rem", "9999px"],
|
|
176
|
+
"$value": ["624.9375rem", "9999px"],
|
|
177
177
|
"$type": "dimension",
|
|
178
|
-
"
|
|
178
|
+
"$description": "Use this border radius for pill shaped elements",
|
|
179
179
|
"$extensions": {
|
|
180
180
|
"org.primer.figma": {
|
|
181
181
|
"collection": "functional/size",
|
|
@@ -188,9 +188,9 @@
|
|
|
188
188
|
"filePath": "src/tokens/functional/size/border.json",
|
|
189
189
|
"isSource": true,
|
|
190
190
|
"original": {
|
|
191
|
-
"value": "9999px",
|
|
191
|
+
"$value": "9999px",
|
|
192
192
|
"$type": "dimension",
|
|
193
|
-
"
|
|
193
|
+
"$description": "Use this border radius for pill shaped elements",
|
|
194
194
|
"$extensions": {
|
|
195
195
|
"org.primer.figma": {
|
|
196
196
|
"collection": "functional/size",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"path": ["borderRadius", "full"]
|
|
207
207
|
},
|
|
208
208
|
"borderRadius-default": {
|
|
209
|
-
"value": ["0.0234375rem", "0.375px"],
|
|
209
|
+
"$value": ["0.0234375rem", "0.375px"],
|
|
210
210
|
"$type": "dimension",
|
|
211
211
|
"$extensions": {
|
|
212
212
|
"org.primer.figma": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"filePath": "src/tokens/functional/size/border.json",
|
|
221
221
|
"isSource": true,
|
|
222
222
|
"original": {
|
|
223
|
-
"value": "{borderRadius.medium}",
|
|
223
|
+
"$value": "{borderRadius.medium}",
|
|
224
224
|
"$type": "dimension",
|
|
225
225
|
"$extensions": {
|
|
226
226
|
"org.primer.figma": {
|
|
@@ -237,12 +237,12 @@
|
|
|
237
237
|
"path": ["borderRadius", "default"]
|
|
238
238
|
},
|
|
239
239
|
"outline-focus-offset": {
|
|
240
|
-
"value": ["-0.125rem", "-2px"],
|
|
240
|
+
"$value": ["-0.125rem", "-2px"],
|
|
241
241
|
"$type": "dimension",
|
|
242
242
|
"filePath": "src/tokens/functional/size/border.json",
|
|
243
243
|
"isSource": true,
|
|
244
244
|
"original": {
|
|
245
|
-
"value": "-2px",
|
|
245
|
+
"$value": "-2px",
|
|
246
246
|
"$type": "dimension"
|
|
247
247
|
},
|
|
248
248
|
"name": "outline-focus-offset",
|
|
@@ -250,12 +250,12 @@
|
|
|
250
250
|
"path": ["outline", "focus", "offset"]
|
|
251
251
|
},
|
|
252
252
|
"outline-focus-width": {
|
|
253
|
-
"value": ["0.125rem", "2px"],
|
|
253
|
+
"$value": ["0.125rem", "2px"],
|
|
254
254
|
"$type": "dimension",
|
|
255
255
|
"filePath": "src/tokens/functional/size/border.json",
|
|
256
256
|
"isSource": true,
|
|
257
257
|
"original": {
|
|
258
|
-
"value": "2px",
|
|
258
|
+
"$value": "2px",
|
|
259
259
|
"$type": "dimension"
|
|
260
260
|
},
|
|
261
261
|
"name": "outline-focus-width",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"breakpoint-xsmall": {
|
|
3
|
-
"value": ["20rem", "320px"],
|
|
3
|
+
"$value": ["20rem", "320px"],
|
|
4
4
|
"$type": "dimension",
|
|
5
5
|
"$extensions": {
|
|
6
6
|
"org.primer.figma": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
|
-
"value": "320px",
|
|
14
|
+
"$value": "320px",
|
|
15
15
|
"$type": "dimension",
|
|
16
16
|
"$extensions": {
|
|
17
17
|
"org.primer.figma": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"path": ["breakpoint", "xsmall"]
|
|
26
26
|
},
|
|
27
27
|
"breakpoint-small": {
|
|
28
|
-
"value": ["34rem", "544px"],
|
|
28
|
+
"$value": ["34rem", "544px"],
|
|
29
29
|
"$type": "dimension",
|
|
30
30
|
"$extensions": {
|
|
31
31
|
"org.primer.figma": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
37
37
|
"isSource": true,
|
|
38
38
|
"original": {
|
|
39
|
-
"value": "544px",
|
|
39
|
+
"$value": "544px",
|
|
40
40
|
"$type": "dimension",
|
|
41
41
|
"$extensions": {
|
|
42
42
|
"org.primer.figma": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"path": ["breakpoint", "small"]
|
|
51
51
|
},
|
|
52
52
|
"breakpoint-medium": {
|
|
53
|
-
"value": ["48rem", "768px"],
|
|
53
|
+
"$value": ["48rem", "768px"],
|
|
54
54
|
"$type": "dimension",
|
|
55
55
|
"$extensions": {
|
|
56
56
|
"org.primer.figma": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
|
-
"value": "768px",
|
|
64
|
+
"$value": "768px",
|
|
65
65
|
"$type": "dimension",
|
|
66
66
|
"$extensions": {
|
|
67
67
|
"org.primer.figma": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"path": ["breakpoint", "medium"]
|
|
76
76
|
},
|
|
77
77
|
"breakpoint-large": {
|
|
78
|
-
"value": ["63.25rem", "1012px"],
|
|
78
|
+
"$value": ["63.25rem", "1012px"],
|
|
79
79
|
"$type": "dimension",
|
|
80
80
|
"$extensions": {
|
|
81
81
|
"org.primer.figma": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
87
87
|
"isSource": true,
|
|
88
88
|
"original": {
|
|
89
|
-
"value": "1012px",
|
|
89
|
+
"$value": "1012px",
|
|
90
90
|
"$type": "dimension",
|
|
91
91
|
"$extensions": {
|
|
92
92
|
"org.primer.figma": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"path": ["breakpoint", "large"]
|
|
101
101
|
},
|
|
102
102
|
"breakpoint-xlarge": {
|
|
103
|
-
"value": ["80rem", "1280px"],
|
|
103
|
+
"$value": ["80rem", "1280px"],
|
|
104
104
|
"$type": "dimension",
|
|
105
105
|
"$extensions": {
|
|
106
106
|
"org.primer.figma": {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
112
112
|
"isSource": true,
|
|
113
113
|
"original": {
|
|
114
|
-
"value": "1280px",
|
|
114
|
+
"$value": "1280px",
|
|
115
115
|
"$type": "dimension",
|
|
116
116
|
"$extensions": {
|
|
117
117
|
"org.primer.figma": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"path": ["breakpoint", "xlarge"]
|
|
126
126
|
},
|
|
127
127
|
"breakpoint-xxlarge": {
|
|
128
|
-
"value": ["87.5rem", "1400px"],
|
|
128
|
+
"$value": ["87.5rem", "1400px"],
|
|
129
129
|
"$type": "dimension",
|
|
130
130
|
"$extensions": {
|
|
131
131
|
"org.primer.figma": {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"filePath": "src/tokens/functional/size/breakpoints.json",
|
|
137
137
|
"isSource": true,
|
|
138
138
|
"original": {
|
|
139
|
-
"value": "1400px",
|
|
139
|
+
"$value": "1400px",
|
|
140
140
|
"$type": "dimension",
|
|
141
141
|
"$extensions": {
|
|
142
142
|
"org.primer.figma": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"control-minTarget-auto": {
|
|
3
|
-
"value": ["0.171875rem", "2.75px"],
|
|
3
|
+
"$value": ["0.171875rem", "2.75px"],
|
|
4
4
|
"$type": "dimension",
|
|
5
5
|
"filePath": "src/tokens/functional/size/size-coarse.json",
|
|
6
6
|
"isSource": true,
|
|
7
7
|
"original": {
|
|
8
|
-
"value": "{base.size.44}",
|
|
8
|
+
"$value": "{base.size.44}",
|
|
9
9
|
"$type": "dimension"
|
|
10
10
|
},
|
|
11
11
|
"name": "control-minTarget-auto",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"path": ["control", "minTarget", "auto"]
|
|
14
14
|
},
|
|
15
15
|
"controlStack-small-gap-auto": {
|
|
16
|
-
"value": ["0.0625rem", "1px"],
|
|
16
|
+
"$value": ["0.0625rem", "1px"],
|
|
17
17
|
"$type": "dimension",
|
|
18
18
|
"filePath": "src/tokens/functional/size/size-coarse.json",
|
|
19
19
|
"isSource": true,
|
|
20
20
|
"original": {
|
|
21
|
-
"value": "{base.size.16}",
|
|
21
|
+
"$value": "{base.size.16}",
|
|
22
22
|
"$type": "dimension"
|
|
23
23
|
},
|
|
24
24
|
"name": "controlStack-small-gap-auto",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"path": ["controlStack", "small", "gap", "auto"]
|
|
27
27
|
},
|
|
28
28
|
"controlStack-medium-gap-auto": {
|
|
29
|
-
"value": ["0.046875rem", "0.75px"],
|
|
29
|
+
"$value": ["0.046875rem", "0.75px"],
|
|
30
30
|
"$type": "dimension",
|
|
31
31
|
"filePath": "src/tokens/functional/size/size-coarse.json",
|
|
32
32
|
"isSource": true,
|
|
33
33
|
"original": {
|
|
34
|
-
"value": "{base.size.12}",
|
|
34
|
+
"$value": "{base.size.12}",
|
|
35
35
|
"$type": "dimension"
|
|
36
36
|
},
|
|
37
37
|
"name": "controlStack-medium-gap-auto",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"control-minTarget-auto": {
|
|
3
|
-
"value": ["0.0625rem", "1px"],
|
|
3
|
+
"$value": ["0.0625rem", "1px"],
|
|
4
4
|
"$type": "dimension",
|
|
5
5
|
"filePath": "src/tokens/functional/size/size-fine.json",
|
|
6
6
|
"isSource": true,
|
|
7
7
|
"original": {
|
|
8
|
-
"value": "{base.size.16}",
|
|
8
|
+
"$value": "{base.size.16}",
|
|
9
9
|
"$type": "dimension"
|
|
10
10
|
},
|
|
11
11
|
"name": "control-minTarget-auto",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"path": ["control", "minTarget", "auto"]
|
|
14
14
|
},
|
|
15
15
|
"controlStack-small-gap-auto": {
|
|
16
|
-
"value": ["0.03125rem", "0.5px"],
|
|
16
|
+
"$value": ["0.03125rem", "0.5px"],
|
|
17
17
|
"$type": "dimension",
|
|
18
18
|
"filePath": "src/tokens/functional/size/size-fine.json",
|
|
19
19
|
"isSource": true,
|
|
20
20
|
"original": {
|
|
21
|
-
"value": "{base.size.8}",
|
|
21
|
+
"$value": "{base.size.8}",
|
|
22
22
|
"$type": "dimension"
|
|
23
23
|
},
|
|
24
24
|
"name": "controlStack-small-gap-auto",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"path": ["controlStack", "small", "gap", "auto"]
|
|
27
27
|
},
|
|
28
28
|
"controlStack-medium-gap-auto": {
|
|
29
|
-
"value": ["0.03125rem", "0.5px"],
|
|
29
|
+
"$value": ["0.03125rem", "0.5px"],
|
|
30
30
|
"$type": "dimension",
|
|
31
31
|
"filePath": "src/tokens/functional/size/size-fine.json",
|
|
32
32
|
"isSource": true,
|
|
33
33
|
"original": {
|
|
34
|
-
"value": "{base.size.8}",
|
|
34
|
+
"$value": "{base.size.8}",
|
|
35
35
|
"$type": "dimension"
|
|
36
36
|
},
|
|
37
37
|
"name": "controlStack-medium-gap-auto",
|