@primer/primitives 7.17.0-rc.61b28bca → 7.17.0-rc.9ef8a8c3

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 (234) hide show
  1. package/dist/css/functional/themes/dark-colorblind.css +14 -14
  2. package/dist/css/functional/themes/dark-tritanopia.css +14 -14
  3. package/dist/css/functional/themes/dark.css +14 -14
  4. package/dist/docs/functional/themes/dark-colorblind.json +7 -7
  5. package/dist/docs/functional/themes/dark-tritanopia.json +7 -7
  6. package/dist/docs/functional/themes/dark.json +7 -7
  7. package/dist/figma/scales/dark.json +5 -5
  8. package/dist/figma/themes/dark-colorblind.json +20 -20
  9. package/dist/figma/themes/dark-tritanopia.json +20 -20
  10. package/dist/figma/themes/dark.json +20 -20
  11. package/dist/internalCss/dark-colorblind.css +18 -18
  12. package/dist/internalCss/dark-tritanopia.css +18 -18
  13. package/dist/internalCss/dark.css +18 -18
  14. package/dist/styleLint/functional/themes/dark-colorblind.json +7 -7
  15. package/dist/styleLint/functional/themes/dark-tritanopia.json +7 -7
  16. package/dist/styleLint/functional/themes/dark.json +7 -7
  17. package/package.json +1 -1
  18. package/src/formats/jsonFigma.ts +2 -0
  19. package/src/platforms/figma.ts +1 -1
  20. package/src/schemas/collections.ts +2 -0
  21. package/src/schemas/dimensionToken.ts +1 -1
  22. package/src/schemas/fontFamilyToken.ts +10 -0
  23. package/src/schemas/fontWeightToken.ts +10 -0
  24. package/src/tokens/base/color/dark/dark.json5 +2 -2
  25. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  26. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  27. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  28. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  29. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  30. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  31. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  32. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  33. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  34. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  35. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  36. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  37. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  38. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  39. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  40. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  41. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  42. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  43. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  44. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  45. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  46. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  47. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  48. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  49. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  50. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  51. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  52. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  53. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  54. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  55. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  56. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  57. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  58. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  59. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  60. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  61. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  62. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  63. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  64. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  65. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  66. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  67. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  68. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  69. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  70. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  71. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  72. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  73. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  74. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  75. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  76. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  77. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  78. package/src/filters/isBorder.test.ts +0 -18
  79. package/src/filters/isColor.test.ts +0 -22
  80. package/src/filters/isColorWithAlpha.test.ts +0 -34
  81. package/src/filters/isColorWithMix.test.ts +0 -108
  82. package/src/filters/isDeprecated.test.ts +0 -56
  83. package/src/filters/isDimension.test.ts +0 -22
  84. package/src/filters/isDuration.test.ts +0 -22
  85. package/src/filters/isFontFamily.test.ts +0 -22
  86. package/src/filters/isFontWeight.test.ts +0 -22
  87. package/src/filters/isFromFile.test.ts +0 -34
  88. package/src/filters/isShadow.test.ts +0 -18
  89. package/src/filters/isSource.test.ts +0 -44
  90. package/src/filters/isTypography.test.ts +0 -18
  91. package/src/formats/cssCustomMedia.test.ts +0 -11
  92. package/src/formats/cssThemed.test.ts +0 -87
  93. package/src/formats/cssWrapMediaQuery.test.ts +0 -170
  94. package/src/formats/javascriptCommonJs.test.ts +0 -43
  95. package/src/formats/javascriptEsm.test.ts +0 -41
  96. package/src/formats/jsonNestedPrefixed.test.ts +0 -73
  97. package/src/formats/jsonOneDimensional.test.ts +0 -56
  98. package/src/formats/typescriptExportDefinition.test.ts +0 -178
  99. package/src/formats/utilities/jsonToFlat.test.ts +0 -47
  100. package/src/formats/utilities/jsonToNestedValue.test.ts +0 -39
  101. package/src/formats/utilities/prefixTokens.test.ts +0 -38
  102. package/src/parsers/w3cJsonParser.test.ts +0 -35
  103. package/src/schemas/alphaValueSchema.test.ts +0 -24
  104. package/src/schemas/baseTokenSchema.test.ts +0 -17
  105. package/src/schemas/borderTokenSchema.test.ts +0 -53
  106. package/src/schemas/collectionSchema.test.ts +0 -58
  107. package/src/schemas/colorHexValueSchema.test.ts +0 -26
  108. package/src/schemas/colorTokenSchema.test.ts +0 -27
  109. package/src/schemas/dimensionTokenSchema.test.ts +0 -28
  110. package/src/schemas/dimensionValueSchema.test.ts +0 -21
  111. package/src/schemas/durationTokenSchema.test.ts +0 -58
  112. package/src/schemas/durationValueSchema.test.ts +0 -25
  113. package/src/schemas/fontFamilyTokenSchema.test.ts +0 -82
  114. package/src/schemas/fontWeightTokenSchema.test.ts +0 -88
  115. package/src/schemas/fontWeightValue.test.ts +0 -17
  116. package/src/schemas/numberTokenSchema.test.ts +0 -82
  117. package/src/schemas/referenceValueSchema.test.ts +0 -20
  118. package/src/schemas/schema.test.ts +0 -33
  119. package/src/schemas/scopeTokenSchema.test.ts +0 -29
  120. package/src/schemas/shadowTokenSchema.test.ts +0 -163
  121. package/src/schemas/stringTokenSchema.test.ts +0 -81
  122. package/src/schemas/tokenNameSchema.test.ts +0 -33
  123. package/src/schemas/typographyTokenSchema.test.ts +0 -58
  124. package/src/schemas/validTokenTypeSchema.test.ts +0 -32
  125. package/src/schemas/viewportRangeTokenSchema.test.ts +0 -59
  126. package/src/transformers/borderToCss.test.ts +0 -58
  127. package/src/transformers/colorToHex.test.ts +0 -27
  128. package/src/transformers/colorToHexAlpha.test.ts +0 -30
  129. package/src/transformers/colorToHexMix.test.ts +0 -83
  130. package/src/transformers/colorToRgbAlpha.test.ts +0 -33
  131. package/src/transformers/colorToRgbaFloat.test.ts +0 -168
  132. package/src/transformers/dimensionToPixelUnitless.test.ts +0 -93
  133. package/src/transformers/dimensionToRem.test.ts +0 -81
  134. package/src/transformers/durationToCss.test.ts +0 -56
  135. package/src/transformers/fontFamilyToCss.test.ts +0 -71
  136. package/src/transformers/fontWeightToNumbers.test.ts +0 -117
  137. package/src/transformers/jsonDeprecated.test.ts +0 -31
  138. package/src/transformers/namePathToCamelCase.test.ts +0 -74
  139. package/src/transformers/namePathToDotNotation.test.ts +0 -74
  140. package/src/transformers/namePathToFigma.test.ts +0 -74
  141. package/src/transformers/namePathToKebabCase.test.ts +0 -74
  142. package/src/transformers/namePathToSlashNotation.test.ts +0 -74
  143. package/src/transformers/shadowToCss.test.ts +0 -175
  144. package/src/transformers/typographyToCss.test.ts +0 -164
  145. package/src/transformers/utilities/alpha.test.ts +0 -28
  146. package/src/transformers/utilities/checkRequiredTokenProperties.test.ts +0 -28
  147. package/src/transformers/utilities/getTokenValue.test.ts +0 -18
  148. package/src/transformers/utilities/hexToRgbaFloat.test.ts +0 -66
  149. package/src/transformers/utilities/invalidTokenError.test.ts +0 -21
  150. package/src/transformers/utilities/isRgbaFloat.test.ts +0 -20
  151. package/src/transformers/utilities/rgbaFloatToHex.test.ts +0 -16
  152. package/src/utilities/getFlag.test.ts +0 -31
  153. package/src/utilities/joinFriendly.test.ts +0 -15
  154. package/src/utilities/toCamelCase.test.ts +0 -27
  155. package/src/utilities/treeWalker.test.ts +0 -51
  156. package/src/utilities/upperCaseFirstCharacter.test.ts +0 -19
  157. package/tokens-next-private/css/base/size/size.css +0 -19
  158. package/tokens-next-private/css/base/typography/typography.css +0 -6
  159. package/tokens-next-private/css/functional/motion/motion.css +0 -5
  160. package/tokens-next-private/css/functional/size/border.css +0 -14
  161. package/tokens-next-private/css/functional/size/breakpoints.css +0 -8
  162. package/tokens-next-private/css/functional/size/size-coarse.css +0 -7
  163. package/tokens-next-private/css/functional/size/size-fine.css +0 -7
  164. package/tokens-next-private/css/functional/size/size.css +0 -74
  165. package/tokens-next-private/css/functional/size/viewport.css +0 -6
  166. package/tokens-next-private/css/functional/themes/dark-colorblind.css +0 -1078
  167. package/tokens-next-private/css/functional/themes/dark-dimmed.css +0 -1078
  168. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +0 -1078
  169. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +0 -1078
  170. package/tokens-next-private/css/functional/themes/dark.css +0 -1078
  171. package/tokens-next-private/css/functional/themes/light-colorblind.css +0 -1078
  172. package/tokens-next-private/css/functional/themes/light-high-contrast.css +0 -1078
  173. package/tokens-next-private/css/functional/themes/light-tritanopia.css +0 -1078
  174. package/tokens-next-private/css/functional/themes/light.css +0 -1078
  175. package/tokens-next-private/css/functional/typography/typography.css +0 -47
  176. package/tokens-next-private/docs/base/size/size.json +0 -427
  177. package/tokens-next-private/docs/base/typography/typography.json +0 -54
  178. package/tokens-next-private/docs/functional/motion/motion.json +0 -47
  179. package/tokens-next-private/docs/functional/size/border.json +0 -234
  180. package/tokens-next-private/docs/functional/size/breakpoints.json +0 -152
  181. package/tokens-next-private/docs/functional/size/size-coarse.json +0 -41
  182. package/tokens-next-private/docs/functional/size/size-fine.json +0 -41
  183. package/tokens-next-private/docs/functional/size/size.json +0 -1838
  184. package/tokens-next-private/docs/functional/size/viewport.json +0 -80
  185. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +0 -16155
  186. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +0 -16159
  187. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +0 -16175
  188. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +0 -16161
  189. package/tokens-next-private/docs/functional/themes/dark.json +0 -16159
  190. package/tokens-next-private/docs/functional/themes/light-colorblind.json +0 -16123
  191. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +0 -16125
  192. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +0 -16115
  193. package/tokens-next-private/docs/functional/themes/light.json +0 -16113
  194. package/tokens-next-private/docs/functional/typography/typography.json +0 -663
  195. package/tokens-next-private/fallbacks/base/size/size.json +0 -19
  196. package/tokens-next-private/fallbacks/base/typography/typography.json +0 -6
  197. package/tokens-next-private/fallbacks/color-fallbacks.json +0 -260
  198. package/tokens-next-private/fallbacks/functional/motion/motion.json +0 -5
  199. package/tokens-next-private/fallbacks/functional/size/border.json +0 -14
  200. package/tokens-next-private/fallbacks/functional/size/breakpoints.json +0 -8
  201. package/tokens-next-private/fallbacks/functional/size/size-coarse.json +0 -5
  202. package/tokens-next-private/fallbacks/functional/size/size-fine.json +0 -5
  203. package/tokens-next-private/fallbacks/functional/size/size.json +0 -74
  204. package/tokens-next-private/fallbacks/functional/size/viewport.json +0 -8
  205. package/tokens-next-private/fallbacks/functional/typography/typography.json +0 -47
  206. package/tokens-next-private/internalCss/dark-colorblind.css +0 -1648
  207. package/tokens-next-private/internalCss/dark-dimmed.css +0 -1648
  208. package/tokens-next-private/internalCss/dark-high-contrast.css +0 -1648
  209. package/tokens-next-private/internalCss/dark-tritanopia.css +0 -1648
  210. package/tokens-next-private/internalCss/dark.css +0 -1648
  211. package/tokens-next-private/internalCss/light-colorblind.css +0 -1648
  212. package/tokens-next-private/internalCss/light-high-contrast.css +0 -1648
  213. package/tokens-next-private/internalCss/light-tritanopia.css +0 -1648
  214. package/tokens-next-private/internalCss/light.css +0 -1648
  215. package/tokens-next-private/removed/color.json +0 -421
  216. package/tokens-next-private/styleLint/base/size/size.json +0 -427
  217. package/tokens-next-private/styleLint/base/typography/typography.json +0 -54
  218. package/tokens-next-private/styleLint/functional/motion/motion.json +0 -47
  219. package/tokens-next-private/styleLint/functional/size/border.json +0 -234
  220. package/tokens-next-private/styleLint/functional/size/breakpoints.json +0 -152
  221. package/tokens-next-private/styleLint/functional/size/size-coarse.json +0 -41
  222. package/tokens-next-private/styleLint/functional/size/size-fine.json +0 -41
  223. package/tokens-next-private/styleLint/functional/size/size.json +0 -1838
  224. package/tokens-next-private/styleLint/functional/size/viewport.json +0 -80
  225. package/tokens-next-private/styleLint/functional/themes/dark-colorblind.json +0 -16155
  226. package/tokens-next-private/styleLint/functional/themes/dark-dimmed.json +0 -16159
  227. package/tokens-next-private/styleLint/functional/themes/dark-high-contrast.json +0 -16175
  228. package/tokens-next-private/styleLint/functional/themes/dark-tritanopia.json +0 -16161
  229. package/tokens-next-private/styleLint/functional/themes/dark.json +0 -16159
  230. package/tokens-next-private/styleLint/functional/themes/light-colorblind.json +0 -16123
  231. package/tokens-next-private/styleLint/functional/themes/light-high-contrast.json +0 -16125
  232. package/tokens-next-private/styleLint/functional/themes/light-tritanopia.json +0 -16115
  233. package/tokens-next-private/styleLint/functional/themes/light.json +0 -16113
  234. package/tokens-next-private/styleLint/functional/typography/typography.json +0 -663
@@ -3,10 +3,20 @@ import {fontWeightValue} from './fontWeightValue'
3
3
  import {referenceValue} from './referenceValue'
4
4
  import {baseToken} from './baseToken'
5
5
  import {tokenType} from './tokenType'
6
+ import {collection} from './collections'
7
+ import {scopes} from './scopes'
6
8
 
7
9
  export const fontWeightToken = baseToken
8
10
  .extend({
9
11
  $type: tokenType('fontWeight'),
10
12
  $value: z.union([fontWeightValue, referenceValue]),
13
+ $extensions: z
14
+ .object({
15
+ 'org.primer.figma': z.object({
16
+ collection: collection(['base/typography', 'typography']).optional(),
17
+ scopes: scopes(['all']).optional(),
18
+ }),
19
+ })
20
+ .optional(),
11
21
  })
12
22
  .strict()
@@ -614,7 +614,7 @@
614
614
  },
615
615
  },
616
616
  '3': {
617
- $value: '#bc8cff',
617
+ $value: '#BE8FFF',
618
618
  $type: 'color',
619
619
  $extensions: {
620
620
  'org.primer.figma': {
@@ -623,7 +623,7 @@
623
623
  },
624
624
  },
625
625
  '4': {
626
- $value: '#a371f7',
626
+ $value: '#AB7DF8',
627
627
  $type: 'color',
628
628
  $extensions: {
629
629
  'org.primer.figma': {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const BaseSize4 = "0.25rem";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const BaseTextWeightLight = "300";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerBorderInsetThin = "inset 0 0 0 max(1px, 0.0625rem)";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerBreakpointXsmall = "20rem";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerControlMinTargetAuto = "2.75rem";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerControlMinTargetAuto = "1rem";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerControlMinTargetFine = "1rem";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerViewportRangeNarrow = "(max-width: calc(48rem - 0.02px))";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
  export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $base-size-128: 8rem;
6
6
  $base-size-112: 7rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $base-text-weight-semibold: 600;
6
6
  $base-text-weight-medium: 500;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-borderRadius-full: 100vh;
6
6
  $primer-borderRadius-large: 0.75rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-breakpoint-xxlarge: 90rem;
6
6
  $primer-breakpoint-xlarge: 80rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-controlStack-medium-gap-auto: $base-size-12;
6
6
  $primer-controlStack-small-gap-auto: $base-size-16;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-controlStack-medium-gap-auto: $base-size-8;
6
6
  $primer-controlStack-small-gap-auto: $base-size-8;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-controlStack-large-gap-spacious: $base-size-12;
6
6
  $primer-controlStack-large-gap-condensed: $base-size-8;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-viewportRange-landscape: (orientation: landscape);
6
6
  $primer-viewportRange-portrait: (orientation: portrait);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ // Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
 
5
5
  $primer-text-codeInline-size: 0.9285em;
6
6
  $primer-text-codeBlock-lineHeight: calc(20/13);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:38 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 15 Apr 2024 12:25:37 GMT
3
+ * Generated on Wed, 17 Apr 2024 17:50:20 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,18 +0,0 @@
1
- import {getMockToken} from '../test-utilities'
2
- import {isBorder} from './isBorder'
3
-
4
- describe('Filter: isBorder', () => {
5
- it('returns true if $type property is `border`', () => {
6
- expect(isBorder(getMockToken({$type: 'border'}))).toStrictEqual(true)
7
- })
8
-
9
- it('returns false if $type property is not `border`', () => {
10
- expect(isBorder(getMockToken({$type: 'pumpkin'}))).toStrictEqual(false)
11
- })
12
-
13
- it('returns false if $type property is falsy', () => {
14
- expect(isBorder(getMockToken({$type: false}))).toStrictEqual(false)
15
- expect(isBorder(getMockToken({$type: undefined}))).toStrictEqual(false)
16
- expect(isBorder(getMockToken({$type: null}))).toStrictEqual(false)
17
- })
18
- })
@@ -1,22 +0,0 @@
1
- import {getMockToken} from '../test-utilities'
2
- import {isColor} from './isColor'
3
-
4
- describe('Filter: isColor', () => {
5
- it('returns true if $type property is `color`', () => {
6
- expect(isColor(getMockToken({$type: 'color'}))).toStrictEqual(true)
7
- })
8
-
9
- it('returns false if $type property is not `color`', () => {
10
- expect(isColor(getMockToken({$type: 'pumpkin'}))).toStrictEqual(false)
11
- })
12
-
13
- it('returns false if $type property is missing', () => {
14
- expect(isColor(getMockToken({alpha: 0.4}))).toStrictEqual(false)
15
- })
16
-
17
- it('returns false if $type property is falsy', () => {
18
- expect(isColor(getMockToken({$type: false}))).toStrictEqual(false)
19
- expect(isColor(getMockToken({$type: undefined}))).toStrictEqual(false)
20
- expect(isColor(getMockToken({$type: null}))).toStrictEqual(false)
21
- })
22
- })
@@ -1,34 +0,0 @@
1
- import {getMockToken} from '../test-utilities'
2
- import {isColorWithAlpha} from './isColorWithAlpha'
3
-
4
- describe('Filter: isColorWithAlpha', () => {
5
- it('returns true if $type property is `color` and `alpha` is number', () => {
6
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: 0.4}))).toStrictEqual(true)
7
- })
8
-
9
- it('returns false if $type property is not `color`', () => {
10
- expect(isColorWithAlpha(getMockToken({$type: 'pumpkin', alpha: 0.4}))).toStrictEqual(false)
11
- })
12
-
13
- it('returns false if $type property is missing', () => {
14
- expect(isColorWithAlpha(getMockToken({alpha: 0.4}))).toStrictEqual(false)
15
- })
16
-
17
- it('returns false if $type `color` but alpha is missing', () => {
18
- expect(isColorWithAlpha(getMockToken({$type: 'color'}))).toStrictEqual(false)
19
- })
20
-
21
- it('returns false if $type `color` but alpha is not a number', () => {
22
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: true}))).toStrictEqual(false)
23
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: '0.4'}))).toStrictEqual(false)
24
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: false}))).toStrictEqual(false)
25
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: undefined}))).toStrictEqual(false)
26
- expect(isColorWithAlpha(getMockToken({$type: 'color', alpha: null}))).toStrictEqual(false)
27
- })
28
-
29
- it('returns false if $type is falsy ', () => {
30
- expect(isColorWithAlpha(getMockToken({$type: undefined, alpha: 0.2}))).toStrictEqual(false)
31
- expect(isColorWithAlpha(getMockToken({$type: false, alpha: 0.2}))).toStrictEqual(false)
32
- expect(isColorWithAlpha(getMockToken({$type: null, alpha: 0.2}))).toStrictEqual(false)
33
- })
34
- })