@primer/primitives 10.1.0-rc.ba6ac3a4 → 10.1.0-rc.c0e71f3a

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 (66) hide show
  1. package/dist/build/platforms/css.js +6 -6
  2. package/dist/css/functional/size/border.css +1 -0
  3. package/dist/css/functional/themes/dark-colorblind.css +2 -2
  4. package/dist/css/functional/themes/dark-dimmed.css +2 -2
  5. package/dist/css/functional/themes/dark-high-contrast.css +2 -2
  6. package/dist/css/functional/themes/dark-tritanopia.css +2 -2
  7. package/dist/css/functional/themes/dark.css +2 -2
  8. package/dist/css/primitives.css +1 -0
  9. package/dist/docs/base/size/size.json +19 -19
  10. package/dist/docs/base/typography/typography.json +4 -4
  11. package/dist/docs/functional/size/border.json +26 -13
  12. package/dist/docs/functional/size/breakpoints.json +6 -6
  13. package/dist/docs/functional/size/size-coarse.json +3 -3
  14. package/dist/docs/functional/size/size-fine.json +3 -3
  15. package/dist/docs/functional/size/size.json +66 -66
  16. package/dist/docs/functional/size/viewport.json +6 -6
  17. package/dist/docs/functional/themes/dark-colorblind.json +17 -17
  18. package/dist/docs/functional/themes/dark-dimmed.json +17 -17
  19. package/dist/docs/functional/themes/dark-high-contrast.json +17 -17
  20. package/dist/docs/functional/themes/dark-tritanopia.json +17 -17
  21. package/dist/docs/functional/themes/dark.json +17 -17
  22. package/dist/docs/functional/themes/light-colorblind.json +1 -1
  23. package/dist/docs/functional/themes/light-high-contrast.json +1 -1
  24. package/dist/docs/functional/themes/light-tritanopia.json +1 -1
  25. package/dist/docs/functional/themes/light.json +1 -1
  26. package/dist/docs/functional/typography/typography.json +46 -46
  27. package/dist/fallbacks/functional/size/border.json +1 -0
  28. package/dist/internalCss/dark-colorblind.css +2 -2
  29. package/dist/internalCss/dark-dimmed.css +2 -2
  30. package/dist/internalCss/dark-high-contrast.css +2 -2
  31. package/dist/internalCss/dark-tritanopia.css +2 -2
  32. package/dist/internalCss/dark.css +2 -2
  33. package/dist/styleLint/base/size/size.json +19 -19
  34. package/dist/styleLint/base/typography/typography.json +4 -4
  35. package/dist/styleLint/functional/size/border.json +26 -13
  36. package/dist/styleLint/functional/size/breakpoints.json +6 -6
  37. package/dist/styleLint/functional/size/size-coarse.json +3 -3
  38. package/dist/styleLint/functional/size/size-fine.json +3 -3
  39. package/dist/styleLint/functional/size/size.json +66 -66
  40. package/dist/styleLint/functional/size/viewport.json +6 -6
  41. package/dist/styleLint/functional/themes/dark-colorblind.json +17 -17
  42. package/dist/styleLint/functional/themes/dark-dimmed.json +17 -17
  43. package/dist/styleLint/functional/themes/dark-high-contrast.json +17 -17
  44. package/dist/styleLint/functional/themes/dark-tritanopia.json +17 -17
  45. package/dist/styleLint/functional/themes/dark.json +17 -17
  46. package/dist/styleLint/functional/themes/light-colorblind.json +1 -1
  47. package/dist/styleLint/functional/themes/light-high-contrast.json +1 -1
  48. package/dist/styleLint/functional/themes/light-tritanopia.json +1 -1
  49. package/dist/styleLint/functional/themes/light.json +1 -1
  50. package/dist/styleLint/functional/typography/typography.json +46 -46
  51. package/package.json +1 -1
  52. package/src/tokens/base/typography/typography.json5 +48 -0
  53. package/src/tokens/functional/size/border.json5 +115 -0
  54. package/src/tokens/functional/typography/typography.json5 +527 -0
  55. package/src/tokens/base/typography/typography.json +0 -48
  56. package/src/tokens/functional/border/dark.json5 +0 -12
  57. package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
  58. package/src/tokens/functional/size/border.json +0 -111
  59. package/src/tokens/functional/typography/typography.json +0 -527
  60. /package/src/tokens/base/size/{size.json → size.json5} +0 -0
  61. /package/src/tokens/functional/border/{light.json5 → border.json5} +0 -0
  62. /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
  63. /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
  64. /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
  65. /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
  66. /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
@@ -47,8 +47,8 @@ export const css = (outputFile, prefix, buildPath, options) => {
47
47
  (options === null || options === void 0 ? void 0 : options.themed) === true &&
48
48
  token.$type !== 'custom-viewportRange' &&
49
49
  !isFromFile(token, [
50
- 'src/tokens/functional/size/size-coarse.json',
51
- 'src/tokens/functional/size/size-fine.json',
50
+ 'src/tokens/functional/size/size-coarse.json5',
51
+ 'src/tokens/functional/size/size-fine.json5',
52
52
  ]),
53
53
  options: Object.assign({ showFileHeader: false, outputReferences: false, descriptions: false, queries: getCssSelectors(outputFile) }, options === null || options === void 0 ? void 0 : options.options),
54
54
  },
@@ -59,8 +59,8 @@ export const css = (outputFile, prefix, buildPath, options) => {
59
59
  (options === null || options === void 0 ? void 0 : options.themed) !== true &&
60
60
  token.$type !== 'custom-viewportRange' &&
61
61
  !isFromFile(token, [
62
- 'src/tokens/functional/size/size-coarse.json',
63
- 'src/tokens/functional/size/size-fine.json',
62
+ 'src/tokens/functional/size/size-coarse.json5',
63
+ 'src/tokens/functional/size/size-fine.json5',
64
64
  ]),
65
65
  options: Object.assign({ showFileHeader: false, descriptions: false }, options === null || options === void 0 ? void 0 : options.options),
66
66
  },
@@ -77,8 +77,8 @@ export const css = (outputFile, prefix, buildPath, options) => {
77
77
  format: `css/advanced`,
78
78
  filter: token => isSource(token) &&
79
79
  isFromFile(token, [
80
- 'src/tokens/functional/size/size-coarse.json',
81
- 'src/tokens/functional/size/size-fine.json',
80
+ 'src/tokens/functional/size/size-coarse.json5',
81
+ 'src/tokens/functional/size/size-fine.json5',
82
82
  ]),
83
83
  options: {
84
84
  descriptions: false,
@@ -2,6 +2,7 @@
2
2
  --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
3
3
  --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
4
4
  --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
5
+ --borderWidth-default: max(1px, 0.0625rem);
5
6
  --borderWidth-thin: max(1px, 0.0625rem);
6
7
  --borderWidth-thick: max(2px, 0.125rem);
7
8
  --borderWidth-thicker: max(4px, 0.25rem);
@@ -311,6 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #4493f8;
312
312
  --reactionButton-selected-fgColor-hover: #79c0ff;
313
313
  --focus-outlineColor: #1f6feb;
314
+ --focus-outline: #1f6feb solid 2px;
314
315
  --menu-bgColor-active: #151b23;
315
316
  --overlay-bgColor: #151b23;
316
317
  --overlay-borderColor: #3d444db3;
@@ -576,7 +577,6 @@
576
577
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
577
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
578
579
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
579
- --outline-focus: #1f6feb solid 2px;
580
580
  }
581
581
  @media (prefers-color-scheme: dark) {
582
582
  [data-color-mode="auto"][data-dark-theme="dark_colorblind"],
@@ -890,6 +890,7 @@
890
890
  --reactionButton-selected-fgColor-rest: #4493f8;
891
891
  --reactionButton-selected-fgColor-hover: #79c0ff;
892
892
  --focus-outlineColor: #1f6feb;
893
+ --focus-outline: #1f6feb solid 2px;
893
894
  --menu-bgColor-active: #151b23;
894
895
  --overlay-bgColor: #151b23;
895
896
  --overlay-borderColor: #3d444db3;
@@ -1155,6 +1156,5 @@
1155
1156
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
1156
1157
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
1157
1158
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
1158
- --outline-focus: #1f6feb solid 2px;
1159
1159
  }
1160
1160
  }
@@ -311,6 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #478be6;
312
312
  --reactionButton-selected-fgColor-hover: #6cb6ff;
313
313
  --focus-outlineColor: #316dca;
314
+ --focus-outline: #316dca solid 2px;
314
315
  --menu-bgColor-active: #151b23;
315
316
  --overlay-bgColor: #2a313c;
316
317
  --overlay-borderColor: #3d444db3;
@@ -576,7 +577,6 @@
576
577
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #1c2128;
577
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #1c2128;
578
579
  --shadow-floating-legacy: 0px 6px 12px -3px #1c212866, 0px 6px 18px 0px #1c212866;
579
- --outline-focus: #316dca solid 2px;
580
580
  }
581
581
  @media (prefers-color-scheme: dark) {
582
582
  [data-color-mode="auto"][data-dark-theme="dark_dimmed"],
@@ -890,6 +890,7 @@
890
890
  --reactionButton-selected-fgColor-rest: #478be6;
891
891
  --reactionButton-selected-fgColor-hover: #6cb6ff;
892
892
  --focus-outlineColor: #316dca;
893
+ --focus-outline: #316dca solid 2px;
893
894
  --menu-bgColor-active: #151b23;
894
895
  --overlay-bgColor: #2a313c;
895
896
  --overlay-borderColor: #3d444db3;
@@ -1155,6 +1156,5 @@
1155
1156
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #1c2128;
1156
1157
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #1c2128;
1157
1158
  --shadow-floating-legacy: 0px 6px 12px -3px #1c212866, 0px 6px 18px 0px #1c212866;
1158
- --outline-focus: #316dca solid 2px;
1159
1159
  }
1160
1160
  }
@@ -311,6 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #74b9ff;
312
312
  --reactionButton-selected-fgColor-hover: #91cbff;
313
313
  --focus-outlineColor: #409eff;
314
+ --focus-outline: #409eff solid 2px;
314
315
  --menu-bgColor-active: #151b23;
315
316
  --overlay-bgColor: #151b23;
316
317
  --overlay-borderColor: #b7bdc8;
@@ -576,7 +577,6 @@
576
577
  --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
577
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
578
579
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
579
- --outline-focus: #409eff solid 2px;
580
580
  }
581
581
  @media (prefers-color-scheme: dark) {
582
582
  [data-color-mode="auto"][data-dark-theme="dark_high_contrast"],
@@ -890,6 +890,7 @@
890
890
  --reactionButton-selected-fgColor-rest: #74b9ff;
891
891
  --reactionButton-selected-fgColor-hover: #91cbff;
892
892
  --focus-outlineColor: #409eff;
893
+ --focus-outline: #409eff solid 2px;
893
894
  --menu-bgColor-active: #151b23;
894
895
  --overlay-bgColor: #151b23;
895
896
  --overlay-borderColor: #b7bdc8;
@@ -1155,6 +1156,5 @@
1155
1156
  --shadow-floating-large: 0px 0px 0px 1px #b7bdc8, 0px 24px 48px 0px #010409;
1156
1157
  --shadow-floating-xlarge: 0px 0px 0px 1px #b7bdc8, 0px 32px 64px 0px #010409;
1157
1158
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
1158
- --outline-focus: #409eff solid 2px;
1159
1159
  }
1160
1160
  }
@@ -311,6 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #4493f8;
312
312
  --reactionButton-selected-fgColor-hover: #79c0ff;
313
313
  --focus-outlineColor: #1f6feb;
314
+ --focus-outline: #1f6feb solid 2px;
314
315
  --menu-bgColor-active: #151b23;
315
316
  --overlay-bgColor: #151b23;
316
317
  --overlay-borderColor: #3d444db3;
@@ -576,7 +577,6 @@
576
577
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
577
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
578
579
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
579
- --outline-focus: #1f6feb solid 2px;
580
580
  }
581
581
  @media (prefers-color-scheme: dark) {
582
582
  [data-color-mode="auto"][data-dark-theme="dark_tritanopia"],
@@ -890,6 +890,7 @@
890
890
  --reactionButton-selected-fgColor-rest: #4493f8;
891
891
  --reactionButton-selected-fgColor-hover: #79c0ff;
892
892
  --focus-outlineColor: #1f6feb;
893
+ --focus-outline: #1f6feb solid 2px;
893
894
  --menu-bgColor-active: #151b23;
894
895
  --overlay-bgColor: #151b23;
895
896
  --overlay-borderColor: #3d444db3;
@@ -1155,6 +1156,5 @@
1155
1156
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
1156
1157
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
1157
1158
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
1158
- --outline-focus: #1f6feb solid 2px;
1159
1159
  }
1160
1160
  }
@@ -311,6 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #4493f8;
312
312
  --reactionButton-selected-fgColor-hover: #79c0ff;
313
313
  --focus-outlineColor: #1f6feb;
314
+ --focus-outline: #1f6feb solid 2px;
314
315
  --menu-bgColor-active: #151b23;
315
316
  --overlay-bgColor: #151b23;
316
317
  --overlay-borderColor: #3d444db3;
@@ -576,7 +577,6 @@
576
577
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
577
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
578
579
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
579
- --outline-focus: #1f6feb solid 2px;
580
580
  }
581
581
  @media (prefers-color-scheme: dark) {
582
582
  [data-color-mode="auto"][data-dark-theme="dark"],
@@ -890,6 +890,7 @@
890
890
  --reactionButton-selected-fgColor-rest: #4493f8;
891
891
  --reactionButton-selected-fgColor-hover: #79c0ff;
892
892
  --focus-outlineColor: #1f6feb;
893
+ --focus-outline: #1f6feb solid 2px;
893
894
  --menu-bgColor-active: #151b23;
894
895
  --overlay-bgColor: #151b23;
895
896
  --overlay-borderColor: #3d444db3;
@@ -1155,6 +1156,5 @@
1155
1156
  --shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
1156
1157
  --shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
1157
1158
  --shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
1158
- --outline-focus: #1f6feb solid 2px;
1159
1159
  }
1160
1160
  }
@@ -52,6 +52,7 @@
52
52
  --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
53
53
  --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
54
54
  --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
55
+ --borderWidth-default: max(1px, 0.0625rem);
55
56
  --borderWidth-thin: max(1px, 0.0625rem);
56
57
  --borderWidth-thick: max(2px, 0.125rem);
57
58
  --borderWidth-thicker: max(4px, 0.25rem);
@@ -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}",
@@ -15,7 +15,7 @@
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}",
@@ -28,7 +28,7 @@
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}",
@@ -40,8 +40,21 @@
40
40
  "value": "inset 0 0 0 max(4px, 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": "string"
49
+ },
50
+ "name": "borderWidth-default",
51
+ "attributes": {},
52
+ "path": ["borderWidth", "default"],
53
+ "value": "max(1px, 0.0625rem)",
54
+ "type": "string"
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
60
  "$value": "max(1px, 0.0625rem)",
@@ -54,7 +67,7 @@
54
67
  "type": "string"
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
73
  "$value": "max(2px, 0.125rem)",
@@ -67,7 +80,7 @@
67
80
  "type": "string"
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
86
  "$value": "max(4px, 0.25rem)",
@@ -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}",