@primer/primitives 10.0.0 → 10.1.0-rc.3e576ad9

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 (121) hide show
  1. package/dist/build/filters/isColor.js +0 -3
  2. package/dist/build/formats/typescriptExportDefinition.js +2 -2
  3. package/dist/build/platforms/css.d.ts +1 -1
  4. package/dist/build/platforms/css.js +10 -6
  5. package/dist/build/platforms/deprecatedJson.d.ts +1 -1
  6. package/dist/build/platforms/docJson.d.ts +1 -1
  7. package/dist/build/platforms/docJson.js +5 -1
  8. package/dist/build/platforms/fallbacks.d.ts +1 -1
  9. package/dist/build/platforms/figma.d.ts +1 -1
  10. package/dist/build/platforms/figma.js +6 -3
  11. package/dist/build/platforms/javascript.d.ts +1 -1
  12. package/dist/build/platforms/javascript.js +5 -1
  13. package/dist/build/platforms/json.d.ts +1 -1
  14. package/dist/build/platforms/json.js +5 -1
  15. package/dist/build/platforms/styleLint.d.ts +1 -1
  16. package/dist/build/platforms/styleLint.js +5 -1
  17. package/dist/build/platforms/typeDefinitions.d.ts +1 -1
  18. package/dist/build/platforms/typeDefinitions.js +5 -1
  19. package/dist/build/platforms/typescript.d.ts +1 -1
  20. package/dist/build/platforms/typescript.js +5 -1
  21. package/dist/build/preprocessors/themeOverrides.d.ts +2 -0
  22. package/dist/build/preprocessors/themeOverrides.js +22 -0
  23. package/dist/build/preprocessors/utilities/transformTokens.d.ts +8 -0
  24. package/dist/build/preprocessors/utilities/transformTokens.js +22 -0
  25. package/dist/build/{PrimerStyleDictionary.js → primerStyleDictionary.js} +8 -1
  26. package/dist/build/schemas/colorToken.d.ts +75 -0
  27. package/dist/build/schemas/colorToken.js +23 -0
  28. package/dist/build/transformers/borderToCss.js +2 -2
  29. package/dist/build/transformers/figmaAttributes.js +1 -1
  30. package/dist/build/transformers/utilities/invalidTokenError.js +0 -2
  31. package/dist/build/types/{StyleDictionaryConfigGenerator.d.ts → styleDictionaryConfigGenerator.d.ts} +1 -0
  32. package/dist/build/types/{TokenBuildInput.d.ts → tokenBuildInput.d.ts} +2 -0
  33. package/dist/build/utilities/lowerCaseFirstCharacter.d.ts +8 -0
  34. package/dist/build/utilities/lowerCaseFirstCharacter.js +10 -0
  35. package/dist/css/functional/size/border.css +7 -6
  36. package/dist/css/functional/themes/dark-colorblind.css +56 -2
  37. package/dist/css/functional/themes/dark-dimmed.css +56 -2
  38. package/dist/css/functional/themes/dark-high-contrast.css +56 -2
  39. package/dist/css/functional/themes/dark-tritanopia.css +56 -2
  40. package/dist/css/functional/themes/dark.css +56 -2
  41. package/dist/css/functional/themes/light-colorblind.css +56 -2
  42. package/dist/css/functional/themes/light-high-contrast.css +56 -2
  43. package/dist/css/functional/themes/light-tritanopia.css +56 -2
  44. package/dist/css/functional/themes/light.css +56 -2
  45. package/dist/css/primitives.css +7 -6
  46. package/dist/docs/base/size/size.json +19 -19
  47. package/dist/docs/base/typography/typography.json +4 -4
  48. package/dist/docs/functional/size/border.json +41 -28
  49. package/dist/docs/functional/size/breakpoints.json +6 -6
  50. package/dist/docs/functional/size/size-coarse.json +3 -3
  51. package/dist/docs/functional/size/size-fine.json +3 -3
  52. package/dist/docs/functional/size/size.json +66 -66
  53. package/dist/docs/functional/size/viewport.json +6 -6
  54. package/dist/docs/functional/themes/dark-colorblind.json +450 -7
  55. package/dist/docs/functional/themes/dark-dimmed.json +450 -7
  56. package/dist/docs/functional/themes/dark-high-contrast.json +450 -7
  57. package/dist/docs/functional/themes/dark-tritanopia.json +450 -7
  58. package/dist/docs/functional/themes/dark.json +450 -7
  59. package/dist/docs/functional/themes/light-colorblind.json +445 -2
  60. package/dist/docs/functional/themes/light-high-contrast.json +445 -2
  61. package/dist/docs/functional/themes/light-tritanopia.json +445 -2
  62. package/dist/docs/functional/themes/light.json +445 -2
  63. package/dist/docs/functional/typography/typography.json +46 -46
  64. package/dist/fallbacks/functional/size/border.json +7 -6
  65. package/dist/figma/figma.json +0 -8
  66. package/dist/internalCss/dark-colorblind.css +84 -2
  67. package/dist/internalCss/dark-dimmed.css +84 -2
  68. package/dist/internalCss/dark-high-contrast.css +84 -2
  69. package/dist/internalCss/dark-tritanopia.css +84 -2
  70. package/dist/internalCss/dark.css +84 -2
  71. package/dist/internalCss/light-colorblind.css +84 -2
  72. package/dist/internalCss/light-high-contrast.css +84 -2
  73. package/dist/internalCss/light-tritanopia.css +84 -2
  74. package/dist/internalCss/light.css +84 -2
  75. package/dist/styleLint/base/size/size.json +19 -19
  76. package/dist/styleLint/base/typography/typography.json +4 -4
  77. package/dist/styleLint/functional/size/border.json +41 -28
  78. package/dist/styleLint/functional/size/breakpoints.json +6 -6
  79. package/dist/styleLint/functional/size/size-coarse.json +3 -3
  80. package/dist/styleLint/functional/size/size-fine.json +3 -3
  81. package/dist/styleLint/functional/size/size.json +66 -66
  82. package/dist/styleLint/functional/size/viewport.json +6 -6
  83. package/dist/styleLint/functional/themes/dark-colorblind.json +450 -7
  84. package/dist/styleLint/functional/themes/dark-dimmed.json +450 -7
  85. package/dist/styleLint/functional/themes/dark-high-contrast.json +450 -7
  86. package/dist/styleLint/functional/themes/dark-tritanopia.json +450 -7
  87. package/dist/styleLint/functional/themes/dark.json +450 -7
  88. package/dist/styleLint/functional/themes/light-colorblind.json +445 -2
  89. package/dist/styleLint/functional/themes/light-high-contrast.json +445 -2
  90. package/dist/styleLint/functional/themes/light-tritanopia.json +445 -2
  91. package/dist/styleLint/functional/themes/light.json +445 -2
  92. package/dist/styleLint/functional/typography/typography.json +46 -46
  93. package/package.json +11 -10
  94. package/src/tokens/base/typography/typography.json5 +48 -0
  95. package/src/tokens/functional/border/border.json5 +236 -0
  96. package/src/tokens/functional/color/dark/primitives-dark.json5 +0 -1
  97. package/src/tokens/functional/size/border.json5 +115 -0
  98. package/src/tokens/functional/typography/typography.json5 +527 -0
  99. package/src/tokens/base/typography/typography.json +0 -48
  100. package/src/tokens/functional/border/dark.json5 +0 -12
  101. package/src/tokens/functional/border/light.json5 +0 -12
  102. package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
  103. package/src/tokens/functional/size/border.json +0 -111
  104. package/src/tokens/functional/typography/typography.json +0 -527
  105. /package/dist/build/{PrimerStyleDictionary.d.ts → primerStyleDictionary.d.ts} +0 -0
  106. /package/dist/build/types/{Border.d.ts → border.d.ts} +0 -0
  107. /package/dist/build/types/{BorderTokenValue.d.ts → borderTokenValue.d.ts} +0 -0
  108. /package/dist/build/types/{ColorHex.d.ts → colorHex.d.ts} +0 -0
  109. /package/dist/build/types/{PlatformInitializer.d.ts → platformInitializer.d.ts} +0 -0
  110. /package/dist/build/types/{Shadow.d.ts → shadow.d.ts} +0 -0
  111. /package/dist/build/types/{ShadowTokenValue.d.ts → shadowTokenValue.d.ts} +0 -0
  112. /package/dist/build/types/{SizeEm.d.ts → sizeEm.d.ts} +0 -0
  113. /package/dist/build/types/{SizePx.d.ts → sizePx.d.ts} +0 -0
  114. /package/dist/build/types/{SizeRem.d.ts → sizeRem.d.ts} +0 -0
  115. /package/dist/build/types/{TypographyTokenValue.d.ts → typographyTokenValue.d.ts} +0 -0
  116. /package/src/tokens/base/size/{size.json → size.json5} +0 -0
  117. /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
  118. /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
  119. /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
  120. /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
  121. /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
@@ -311,7 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #0969da;
312
312
  --reactionButton-selected-fgColor-hover: #0550ae;
313
313
  --focus-outlineColor: #0969da;
314
- --focus-outline: #0969da solid 2px;
314
+ --focus-outline: 2px solid #0969da;
315
315
  --menu-bgColor-active: #ffffff00;
316
316
  --overlay-bgColor: #ffffff;
317
317
  --overlay-borderColor: #d1d9e080;
@@ -577,6 +577,33 @@
577
577
  --shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
578
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
579
579
  --shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
580
+ --border-default: 0.0625rem solid #d1d9e0;
581
+ --border-muted: 0.0625rem solid #d1d9e0b3;
582
+ --border-emphasis: 0.0625rem solid #818b98;
583
+ --border-disabled: 0.0625rem solid #818b981a;
584
+ --border-transparent: 0.0625rem solid #ffffff00;
585
+ --border-neutral-emphasis: 0.0625rem solid #59636e;
586
+ --border-neutral-muted: 0.0625rem solid #d1d9e0b3;
587
+ --border-accent-emphasis: 0.0625rem solid #0969da;
588
+ --border-accent-muted: 0.0625rem solid #54aeff66;
589
+ --border-success-emphasis: 0.0625rem solid #1a7f37;
590
+ --border-success-muted: 0.0625rem solid #4ac26b66;
591
+ --border-open-emphasis: 0.0625rem solid #1a7f37;
592
+ --border-open-muted: 0.0625rem solid #4ac26b66;
593
+ --border-danger-emphasis: 0.0625rem solid #cf222e;
594
+ --border-danger-muted: 0.0625rem solid #ff818266;
595
+ --border-closed-emphasis: 0.0625rem solid #cf222e;
596
+ --border-closed-muted: 0.0625rem solid #ff818266;
597
+ --border-attention-emphasis: 0.0625rem solid #9a6700;
598
+ --border-attention-muted: 0.0625rem solid #d4a72c66;
599
+ --border-severe-emphasis: 0.0625rem solid #bc4c00;
600
+ --border-severe-muted: 0.0625rem solid #fb8f4466;
601
+ --border-done-emphasis: 0.0625rem solid #8250df;
602
+ --border-done-muted: 0.0625rem solid #c297ff66;
603
+ --border-upsell-emphasis: 0.0625rem solid #8250df;
604
+ --border-upsell-muted: 0.0625rem solid #c297ff66;
605
+ --border-sponsors-emphasis: 0.0625rem solid #bf3989;
606
+ --border-sponsors-muted: 0.0625rem solid #ff80c866;
580
607
  }
581
608
  @media (prefers-color-scheme: dark) {
582
609
  [data-color-mode="auto"][data-dark-theme="light"],
@@ -890,7 +917,7 @@
890
917
  --reactionButton-selected-fgColor-rest: #0969da;
891
918
  --reactionButton-selected-fgColor-hover: #0550ae;
892
919
  --focus-outlineColor: #0969da;
893
- --focus-outline: #0969da solid 2px;
920
+ --focus-outline: 2px solid #0969da;
894
921
  --menu-bgColor-active: #ffffff00;
895
922
  --overlay-bgColor: #ffffff;
896
923
  --overlay-borderColor: #d1d9e080;
@@ -1156,5 +1183,32 @@
1156
1183
  --shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
1157
1184
  --shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
1158
1185
  --shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
1186
+ --border-default: 0.0625rem solid #d1d9e0;
1187
+ --border-muted: 0.0625rem solid #d1d9e0b3;
1188
+ --border-emphasis: 0.0625rem solid #818b98;
1189
+ --border-disabled: 0.0625rem solid #818b981a;
1190
+ --border-transparent: 0.0625rem solid #ffffff00;
1191
+ --border-neutral-emphasis: 0.0625rem solid #59636e;
1192
+ --border-neutral-muted: 0.0625rem solid #d1d9e0b3;
1193
+ --border-accent-emphasis: 0.0625rem solid #0969da;
1194
+ --border-accent-muted: 0.0625rem solid #54aeff66;
1195
+ --border-success-emphasis: 0.0625rem solid #1a7f37;
1196
+ --border-success-muted: 0.0625rem solid #4ac26b66;
1197
+ --border-open-emphasis: 0.0625rem solid #1a7f37;
1198
+ --border-open-muted: 0.0625rem solid #4ac26b66;
1199
+ --border-danger-emphasis: 0.0625rem solid #cf222e;
1200
+ --border-danger-muted: 0.0625rem solid #ff818266;
1201
+ --border-closed-emphasis: 0.0625rem solid #cf222e;
1202
+ --border-closed-muted: 0.0625rem solid #ff818266;
1203
+ --border-attention-emphasis: 0.0625rem solid #9a6700;
1204
+ --border-attention-muted: 0.0625rem solid #d4a72c66;
1205
+ --border-severe-emphasis: 0.0625rem solid #bc4c00;
1206
+ --border-severe-muted: 0.0625rem solid #fb8f4466;
1207
+ --border-done-emphasis: 0.0625rem solid #8250df;
1208
+ --border-done-muted: 0.0625rem solid #c297ff66;
1209
+ --border-upsell-emphasis: 0.0625rem solid #8250df;
1210
+ --border-upsell-muted: 0.0625rem solid #c297ff66;
1211
+ --border-sponsors-emphasis: 0.0625rem solid #bf3989;
1212
+ --border-sponsors-muted: 0.0625rem solid #ff80c866;
1159
1213
  }
1160
1214
  }
@@ -49,12 +49,13 @@
49
49
  --motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
50
50
  }
51
51
  :root {
52
- --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
53
- --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
54
- --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
55
- --borderWidth-thin: max(1px, 0.0625rem);
56
- --borderWidth-thick: max(2px, 0.125rem);
57
- --borderWidth-thicker: max(4px, 0.25rem);
52
+ --boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
53
+ --boxShadow-thick: inset 0 0 0 0.125rem;
54
+ --boxShadow-thicker: inset 0 0 0 0.25rem;
55
+ --borderWidth-default: 0.0625rem;
56
+ --borderWidth-thin: 0.0625rem;
57
+ --borderWidth-thick: 0.125rem;
58
+ --borderWidth-thicker: 0.25rem;
58
59
  --borderRadius-small: 0.1875rem;
59
60
  --borderRadius-medium: 0.375rem;
60
61
  --borderRadius-large: 0.75rem;
@@ -6,7 +6,7 @@
6
6
  "scopes": ["size"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/base/size/size.json",
9
+ "filePath": "src/tokens/base/size/size.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$value": "2px",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["size"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/base/size/size.json",
34
+ "filePath": "src/tokens/base/size/size.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": "4px",
@@ -56,7 +56,7 @@
56
56
  "scopes": ["size"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/base/size/size.json",
59
+ "filePath": "src/tokens/base/size/size.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": "6px",
@@ -81,7 +81,7 @@
81
81
  "scopes": ["size"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/base/size/size.json",
84
+ "filePath": "src/tokens/base/size/size.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": "8px",
@@ -106,7 +106,7 @@
106
106
  "scopes": ["size"]
107
107
  }
108
108
  },
109
- "filePath": "src/tokens/base/size/size.json",
109
+ "filePath": "src/tokens/base/size/size.json5",
110
110
  "isSource": true,
111
111
  "original": {
112
112
  "$value": "12px",
@@ -131,7 +131,7 @@
131
131
  "scopes": ["size"]
132
132
  }
133
133
  },
134
- "filePath": "src/tokens/base/size/size.json",
134
+ "filePath": "src/tokens/base/size/size.json5",
135
135
  "isSource": true,
136
136
  "original": {
137
137
  "$value": "16px",
@@ -156,7 +156,7 @@
156
156
  "scopes": ["size"]
157
157
  }
158
158
  },
159
- "filePath": "src/tokens/base/size/size.json",
159
+ "filePath": "src/tokens/base/size/size.json5",
160
160
  "isSource": true,
161
161
  "original": {
162
162
  "$value": "20px",
@@ -181,7 +181,7 @@
181
181
  "scopes": ["size"]
182
182
  }
183
183
  },
184
- "filePath": "src/tokens/base/size/size.json",
184
+ "filePath": "src/tokens/base/size/size.json5",
185
185
  "isSource": true,
186
186
  "original": {
187
187
  "$value": "24px",
@@ -206,7 +206,7 @@
206
206
  "scopes": ["size"]
207
207
  }
208
208
  },
209
- "filePath": "src/tokens/base/size/size.json",
209
+ "filePath": "src/tokens/base/size/size.json5",
210
210
  "isSource": true,
211
211
  "original": {
212
212
  "$value": "28px",
@@ -231,7 +231,7 @@
231
231
  "scopes": ["size"]
232
232
  }
233
233
  },
234
- "filePath": "src/tokens/base/size/size.json",
234
+ "filePath": "src/tokens/base/size/size.json5",
235
235
  "isSource": true,
236
236
  "original": {
237
237
  "$value": "32px",
@@ -256,7 +256,7 @@
256
256
  "scopes": ["size"]
257
257
  }
258
258
  },
259
- "filePath": "src/tokens/base/size/size.json",
259
+ "filePath": "src/tokens/base/size/size.json5",
260
260
  "isSource": true,
261
261
  "original": {
262
262
  "$value": "36px",
@@ -281,7 +281,7 @@
281
281
  "scopes": ["size"]
282
282
  }
283
283
  },
284
- "filePath": "src/tokens/base/size/size.json",
284
+ "filePath": "src/tokens/base/size/size.json5",
285
285
  "isSource": true,
286
286
  "original": {
287
287
  "$value": "40px",
@@ -306,7 +306,7 @@
306
306
  "scopes": ["size"]
307
307
  }
308
308
  },
309
- "filePath": "src/tokens/base/size/size.json",
309
+ "filePath": "src/tokens/base/size/size.json5",
310
310
  "isSource": true,
311
311
  "original": {
312
312
  "$value": "44px",
@@ -331,7 +331,7 @@
331
331
  "scopes": ["size"]
332
332
  }
333
333
  },
334
- "filePath": "src/tokens/base/size/size.json",
334
+ "filePath": "src/tokens/base/size/size.json5",
335
335
  "isSource": true,
336
336
  "original": {
337
337
  "$value": "48px",
@@ -356,7 +356,7 @@
356
356
  "scopes": ["size"]
357
357
  }
358
358
  },
359
- "filePath": "src/tokens/base/size/size.json",
359
+ "filePath": "src/tokens/base/size/size.json5",
360
360
  "isSource": true,
361
361
  "original": {
362
362
  "$value": "64px",
@@ -381,7 +381,7 @@
381
381
  "scopes": ["size"]
382
382
  }
383
383
  },
384
- "filePath": "src/tokens/base/size/size.json",
384
+ "filePath": "src/tokens/base/size/size.json5",
385
385
  "isSource": true,
386
386
  "original": {
387
387
  "$value": "80px",
@@ -406,7 +406,7 @@
406
406
  "scopes": ["size"]
407
407
  }
408
408
  },
409
- "filePath": "src/tokens/base/size/size.json",
409
+ "filePath": "src/tokens/base/size/size.json5",
410
410
  "isSource": true,
411
411
  "original": {
412
412
  "$value": "96px",
@@ -431,7 +431,7 @@
431
431
  "scopes": ["size"]
432
432
  }
433
433
  },
434
- "filePath": "src/tokens/base/size/size.json",
434
+ "filePath": "src/tokens/base/size/size.json5",
435
435
  "isSource": true,
436
436
  "original": {
437
437
  "$value": "112px",
@@ -456,7 +456,7 @@
456
456
  "scopes": ["size"]
457
457
  }
458
458
  },
459
- "filePath": "src/tokens/base/size/size.json",
459
+ "filePath": "src/tokens/base/size/size.json5",
460
460
  "isSource": true,
461
461
  "original": {
462
462
  "$value": "128px",
@@ -6,7 +6,7 @@
6
6
  "scopes": ["fontWeight"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/base/typography/typography.json",
9
+ "filePath": "src/tokens/base/typography/typography.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$type": "fontWeight",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["fontWeight"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/base/typography/typography.json",
34
+ "filePath": "src/tokens/base/typography/typography.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": 400,
@@ -56,7 +56,7 @@
56
56
  "scopes": ["fontWeight"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/base/typography/typography.json",
59
+ "filePath": "src/tokens/base/typography/typography.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": 500,
@@ -81,7 +81,7 @@
81
81
  "scopes": ["fontWeight"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/base/typography/typography.json",
84
+ "filePath": "src/tokens/base/typography/typography.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": 600,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "boxShadow-thin": {
3
- "filePath": "src/tokens/functional/size/border.json",
3
+ "filePath": "src/tokens/functional/size/border.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "inset 0 0 0 {borderWidth.thin}",
@@ -10,12 +10,12 @@
10
10
  "name": "boxShadow-thin",
11
11
  "attributes": {},
12
12
  "path": ["boxShadow", "thin"],
13
- "value": "inset 0 0 0 max(1px, 0.0625rem)",
13
+ "value": "inset 0 0 0 0.0625rem",
14
14
  "type": "string",
15
15
  "description": "Thin shadow for borders"
16
16
  },
17
17
  "boxShadow-thick": {
18
- "filePath": "src/tokens/functional/size/border.json",
18
+ "filePath": "src/tokens/functional/size/border.json5",
19
19
  "isSource": true,
20
20
  "original": {
21
21
  "$value": "inset 0 0 0 {borderWidth.thick}",
@@ -24,11 +24,11 @@
24
24
  "name": "boxShadow-thick",
25
25
  "attributes": {},
26
26
  "path": ["boxShadow", "thick"],
27
- "value": "inset 0 0 0 max(2px, 0.125rem)",
27
+ "value": "inset 0 0 0 0.125rem",
28
28
  "type": "string"
29
29
  },
30
30
  "boxShadow-thicker": {
31
- "filePath": "src/tokens/functional/size/border.json",
31
+ "filePath": "src/tokens/functional/size/border.json5",
32
32
  "isSource": true,
33
33
  "original": {
34
34
  "$value": "inset 0 0 0 {borderWidth.thicker}",
@@ -37,47 +37,60 @@
37
37
  "name": "boxShadow-thicker",
38
38
  "attributes": {},
39
39
  "path": ["boxShadow", "thicker"],
40
- "value": "inset 0 0 0 max(4px, 0.25rem)",
40
+ "value": "inset 0 0 0 0.25rem",
41
41
  "type": "string"
42
42
  },
43
+ "borderWidth-default": {
44
+ "filePath": "src/tokens/functional/size/border.json5",
45
+ "isSource": true,
46
+ "original": {
47
+ "$value": "{borderWidth.thin}",
48
+ "$type": "dimension"
49
+ },
50
+ "name": "borderWidth-default",
51
+ "attributes": {},
52
+ "path": ["borderWidth", "default"],
53
+ "value": "0.0625rem",
54
+ "type": "dimension"
55
+ },
43
56
  "borderWidth-thin": {
44
- "filePath": "src/tokens/functional/size/border.json",
57
+ "filePath": "src/tokens/functional/size/border.json5",
45
58
  "isSource": true,
46
59
  "original": {
47
- "$value": "max(1px, 0.0625rem)",
48
- "$type": "string"
60
+ "$value": "1px",
61
+ "$type": "dimension"
49
62
  },
50
63
  "name": "borderWidth-thin",
51
64
  "attributes": {},
52
65
  "path": ["borderWidth", "thin"],
53
- "value": "max(1px, 0.0625rem)",
54
- "type": "string"
66
+ "value": "0.0625rem",
67
+ "type": "dimension"
55
68
  },
56
69
  "borderWidth-thick": {
57
- "filePath": "src/tokens/functional/size/border.json",
70
+ "filePath": "src/tokens/functional/size/border.json5",
58
71
  "isSource": true,
59
72
  "original": {
60
- "$value": "max(2px, 0.125rem)",
61
- "$type": "string"
73
+ "$value": "2px",
74
+ "$type": "dimension"
62
75
  },
63
76
  "name": "borderWidth-thick",
64
77
  "attributes": {},
65
78
  "path": ["borderWidth", "thick"],
66
- "value": "max(2px, 0.125rem)",
67
- "type": "string"
79
+ "value": "0.125rem",
80
+ "type": "dimension"
68
81
  },
69
82
  "borderWidth-thicker": {
70
- "filePath": "src/tokens/functional/size/border.json",
83
+ "filePath": "src/tokens/functional/size/border.json5",
71
84
  "isSource": true,
72
85
  "original": {
73
- "$value": "max(4px, 0.25rem)",
74
- "$type": "string"
86
+ "$value": "4px",
87
+ "$type": "dimension"
75
88
  },
76
89
  "name": "borderWidth-thicker",
77
90
  "attributes": {},
78
91
  "path": ["borderWidth", "thicker"],
79
- "value": "max(4px, 0.25rem)",
80
- "type": "string"
92
+ "value": "0.25rem",
93
+ "type": "dimension"
81
94
  },
82
95
  "borderRadius-small": {
83
96
  "$extensions": {
@@ -89,7 +102,7 @@
89
102
  }
90
103
  }
91
104
  },
92
- "filePath": "src/tokens/functional/size/border.json",
105
+ "filePath": "src/tokens/functional/size/border.json5",
93
106
  "isSource": true,
94
107
  "original": {
95
108
  "$value": "3px",
@@ -120,7 +133,7 @@
120
133
  }
121
134
  }
122
135
  },
123
- "filePath": "src/tokens/functional/size/border.json",
136
+ "filePath": "src/tokens/functional/size/border.json5",
124
137
  "isSource": true,
125
138
  "original": {
126
139
  "$value": "6px",
@@ -151,7 +164,7 @@
151
164
  }
152
165
  }
153
166
  },
154
- "filePath": "src/tokens/functional/size/border.json",
167
+ "filePath": "src/tokens/functional/size/border.json5",
155
168
  "isSource": true,
156
169
  "original": {
157
170
  "$value": "12px",
@@ -182,7 +195,7 @@
182
195
  }
183
196
  }
184
197
  },
185
- "filePath": "src/tokens/functional/size/border.json",
198
+ "filePath": "src/tokens/functional/size/border.json5",
186
199
  "isSource": true,
187
200
  "original": {
188
201
  "$value": "9999px",
@@ -215,7 +228,7 @@
215
228
  }
216
229
  }
217
230
  },
218
- "filePath": "src/tokens/functional/size/border.json",
231
+ "filePath": "src/tokens/functional/size/border.json5",
219
232
  "isSource": true,
220
233
  "original": {
221
234
  "$value": "{borderRadius.medium}",
@@ -237,7 +250,7 @@
237
250
  "type": "dimension"
238
251
  },
239
252
  "outline-focus-offset": {
240
- "filePath": "src/tokens/functional/size/border.json",
253
+ "filePath": "src/tokens/functional/size/border.json5",
241
254
  "isSource": true,
242
255
  "original": {
243
256
  "$value": "-2px",
@@ -250,7 +263,7 @@
250
263
  "type": "dimension"
251
264
  },
252
265
  "outline-focus-width": {
253
- "filePath": "src/tokens/functional/size/border.json",
266
+ "filePath": "src/tokens/functional/size/border.json5",
254
267
  "isSource": true,
255
268
  "original": {
256
269
  "$value": "2px",
@@ -6,7 +6,7 @@
6
6
  "scopes": ["size"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/functional/size/breakpoints.json",
9
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$value": "320px",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["size"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/functional/size/breakpoints.json",
34
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": "544px",
@@ -56,7 +56,7 @@
56
56
  "scopes": ["size"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/functional/size/breakpoints.json",
59
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": "768px",
@@ -81,7 +81,7 @@
81
81
  "scopes": ["size"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/functional/size/breakpoints.json",
84
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": "1012px",
@@ -106,7 +106,7 @@
106
106
  "scopes": ["size"]
107
107
  }
108
108
  },
109
- "filePath": "src/tokens/functional/size/breakpoints.json",
109
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
110
110
  "isSource": true,
111
111
  "original": {
112
112
  "$value": "1280px",
@@ -131,7 +131,7 @@
131
131
  "scopes": ["size"]
132
132
  }
133
133
  },
134
- "filePath": "src/tokens/functional/size/breakpoints.json",
134
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
135
135
  "isSource": true,
136
136
  "original": {
137
137
  "$value": "1400px",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "control-minTarget-auto": {
3
- "filePath": "src/tokens/functional/size/size-coarse.json",
3
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "{base.size.44}",
@@ -13,7 +13,7 @@
13
13
  "type": "dimension"
14
14
  },
15
15
  "controlStack-small-gap-auto": {
16
- "filePath": "src/tokens/functional/size/size-coarse.json",
16
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
17
17
  "isSource": true,
18
18
  "original": {
19
19
  "$value": "{base.size.16}",
@@ -26,7 +26,7 @@
26
26
  "type": "dimension"
27
27
  },
28
28
  "controlStack-medium-gap-auto": {
29
- "filePath": "src/tokens/functional/size/size-coarse.json",
29
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
30
30
  "isSource": true,
31
31
  "original": {
32
32
  "$value": "{base.size.12}",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "control-minTarget-auto": {
3
- "filePath": "src/tokens/functional/size/size-fine.json",
3
+ "filePath": "src/tokens/functional/size/size-fine.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "{base.size.16}",
@@ -13,7 +13,7 @@
13
13
  "type": "dimension"
14
14
  },
15
15
  "controlStack-small-gap-auto": {
16
- "filePath": "src/tokens/functional/size/size-fine.json",
16
+ "filePath": "src/tokens/functional/size/size-fine.json5",
17
17
  "isSource": true,
18
18
  "original": {
19
19
  "$value": "{base.size.8}",
@@ -26,7 +26,7 @@
26
26
  "type": "dimension"
27
27
  },
28
28
  "controlStack-medium-gap-auto": {
29
- "filePath": "src/tokens/functional/size/size-fine.json",
29
+ "filePath": "src/tokens/functional/size/size-fine.json5",
30
30
  "isSource": true,
31
31
  "original": {
32
32
  "$value": "{base.size.8}",