@primer/primitives 7.9.0 → 7.10.0-rc.3d7410a

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 (103) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/build.js +50 -16
  3. package/dist/js/colors/dark.d.ts +5 -0
  4. package/dist/js/colors/dark.js +6 -1
  5. package/dist/js/colors/dark_colorblind.d.ts +5 -0
  6. package/dist/js/colors/dark_colorblind.js +6 -1
  7. package/dist/js/colors/dark_dimmed.d.ts +5 -0
  8. package/dist/js/colors/dark_dimmed.js +6 -1
  9. package/dist/js/colors/dark_high_contrast.d.ts +5 -0
  10. package/dist/js/colors/dark_high_contrast.js +6 -1
  11. package/dist/js/colors/dark_tritanopia.d.ts +5 -0
  12. package/dist/js/colors/dark_tritanopia.js +6 -1
  13. package/dist/js/colors/index.d.ts +45 -0
  14. package/dist/js/colors/light.d.ts +5 -0
  15. package/dist/js/colors/light.js +5 -0
  16. package/dist/js/colors/light_colorblind.d.ts +5 -0
  17. package/dist/js/colors/light_colorblind.js +5 -0
  18. package/dist/js/colors/light_high_contrast.d.ts +5 -0
  19. package/dist/js/colors/light_high_contrast.js +5 -0
  20. package/dist/js/colors/light_tritanopia.d.ts +5 -0
  21. package/dist/js/colors/light_tritanopia.js +5 -0
  22. package/dist/js/index.d.ts +45 -0
  23. package/dist/json/colors/dark.json +6 -1
  24. package/dist/json/colors/dark_colorblind.json +6 -1
  25. package/dist/json/colors/dark_dimmed.json +6 -1
  26. package/dist/json/colors/dark_high_contrast.json +6 -1
  27. package/dist/json/colors/dark_tritanopia.json +6 -1
  28. package/dist/json/colors/light.json +5 -0
  29. package/dist/json/colors/light_colorblind.json +5 -0
  30. package/dist/json/colors/light_high_contrast.json +5 -0
  31. package/dist/json/colors/light_tritanopia.json +5 -0
  32. package/dist/scss/colors/_dark.scss +2 -1
  33. package/dist/scss/colors/_dark_colorblind.scss +2 -1
  34. package/dist/scss/colors/_dark_dimmed.scss +2 -1
  35. package/dist/scss/colors/_dark_high_contrast.scss +2 -1
  36. package/dist/scss/colors/_dark_tritanopia.scss +2 -1
  37. package/dist/scss/colors/_light.scss +1 -0
  38. package/dist/scss/colors/_light_colorblind.scss +1 -0
  39. package/dist/scss/colors/_light_high_contrast.scss +1 -0
  40. package/dist/scss/colors/_light_tritanopia.scss +1 -0
  41. package/dist/ts/colors/dark.ts +6 -1
  42. package/dist/ts/colors/dark_colorblind.ts +6 -1
  43. package/dist/ts/colors/dark_dimmed.ts +6 -1
  44. package/dist/ts/colors/dark_high_contrast.ts +6 -1
  45. package/dist/ts/colors/dark_tritanopia.ts +6 -1
  46. package/dist/ts/colors/light.ts +5 -0
  47. package/dist/ts/colors/light_colorblind.ts +5 -0
  48. package/dist/ts/colors/light_high_contrast.ts +5 -0
  49. package/dist/ts/colors/light_tritanopia.ts +5 -0
  50. package/package.json +4 -2
  51. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  52. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  53. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  54. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  55. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  56. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  57. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  58. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  59. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  60. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  61. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  62. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  63. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  64. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  65. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  66. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  67. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  68. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  69. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  70. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  71. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  72. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  73. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  74. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  75. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  76. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  77. package/tokens-v2-private/scss/tokens/base/size/size.scss +21 -0
  78. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
  79. package/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
  80. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
  81. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
  82. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
  83. package/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
  84. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
  85. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
  86. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  87. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  88. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  89. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  93. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  94. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  95. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  96. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  97. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  98. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  99. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  100. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  101. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  102. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  103. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -107,7 +107,7 @@
107
107
  "inputPlaceholderText": "#9ea7b3",
108
108
  "inputFocusText": "#f0f3f6",
109
109
  "inputBg": "#272b33",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#ff6a69",
112
112
  "donutPending": "#f0b72f",
113
113
  "donutSuccess": "#09b43a",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "#525964"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#f0f3f6",
380
385
  "muted": "#f0f3f6",
@@ -107,7 +107,7 @@
107
107
  "inputPlaceholderText": "#6e7681",
108
108
  "inputFocusText": "#c9d1d9",
109
109
  "inputBg": "#161b22",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#f85149",
112
112
  "donutPending": "#d29922",
113
113
  "donutSuccess": "#388bfd",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(177,186,196,0.12)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#c9d1d9",
380
385
  "muted": "#8b949e",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "#ced5dc"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#0e1116",
380
385
  "muted": "#0e1116",
@@ -375,6 +375,11 @@
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
@@ -83,7 +83,7 @@
83
83
  --color-checks-input-placeholder-text: #6e7681;
84
84
  --color-checks-input-focus-text: #c9d1d9;
85
85
  --color-checks-input-bg: #161b22;
86
- --color-checks-input-shadow: 0 0 0 1px (obj) => get_1.default(obj, path);
86
+ --color-checks-input-shadow: 0 0 0 1px (obj) => (0, get_1.default)(obj, path);
87
87
  --color-checks-donut-error: #f85149;
88
88
  --color-checks-donut-pending: #d29922;
89
89
  --color-checks-donut-success: #2ea043;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: #30363d;
283
283
  --color-segmented-control-button-active-bg: #21262d;
284
284
  --color-segmented-control-button-selected-border: #6e7681;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(177,186,196,0.12);
285
286
  --color-fg-default: #c9d1d9;
286
287
  --color-fg-muted: #8b949e;
287
288
  --color-fg-subtle: #6e7681;
@@ -83,7 +83,7 @@
83
83
  --color-checks-input-placeholder-text: #6e7681;
84
84
  --color-checks-input-focus-text: #c9d1d9;
85
85
  --color-checks-input-bg: #161b22;
86
- --color-checks-input-shadow: 0 0 0 1px (obj) => get_1.default(obj, path);
86
+ --color-checks-input-shadow: 0 0 0 1px (obj) => (0, get_1.default)(obj, path);
87
87
  --color-checks-donut-error: #d47616;
88
88
  --color-checks-donut-pending: #d29922;
89
89
  --color-checks-donut-success: #388bfd;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: #30363d;
283
283
  --color-segmented-control-button-active-bg: #21262d;
284
284
  --color-segmented-control-button-selected-border: #6e7681;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(177,186,196,0.12);
285
286
  --color-fg-default: #c9d1d9;
286
287
  --color-fg-muted: #8b949e;
287
288
  --color-fg-subtle: #6e7681;
@@ -83,7 +83,7 @@
83
83
  --color-checks-input-placeholder-text: #636e7b;
84
84
  --color-checks-input-focus-text: #adbac7;
85
85
  --color-checks-input-bg: #2d333b;
86
- --color-checks-input-shadow: 0 0 0 1px (obj) => get_1.default(obj, path);
86
+ --color-checks-input-shadow: 0 0 0 1px (obj) => (0, get_1.default)(obj, path);
87
87
  --color-checks-donut-error: #e5534b;
88
88
  --color-checks-donut-pending: #c69026;
89
89
  --color-checks-donut-success: #46954a;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: #444c56;
283
283
  --color-segmented-control-button-active-bg: #373e47;
284
284
  --color-segmented-control-button-selected-border: #636e7b;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(144,157,171,0.12);
285
286
  --color-fg-default: #adbac7;
286
287
  --color-fg-muted: #768390;
287
288
  --color-fg-subtle: #636e7b;
@@ -83,7 +83,7 @@
83
83
  --color-checks-input-placeholder-text: #9ea7b3;
84
84
  --color-checks-input-focus-text: #f0f3f6;
85
85
  --color-checks-input-bg: #272b33;
86
- --color-checks-input-shadow: 0 0 0 1px (obj) => get_1.default(obj, path);
86
+ --color-checks-input-shadow: 0 0 0 1px (obj) => (0, get_1.default)(obj, path);
87
87
  --color-checks-donut-error: #ff6a69;
88
88
  --color-checks-donut-pending: #f0b72f;
89
89
  --color-checks-donut-success: #09b43a;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: #525964;
283
283
  --color-segmented-control-button-active-bg: #272b33;
284
284
  --color-segmented-control-button-selected-border: #9ea7b3;
285
+ --color-tree-view-item-chevron-hover-bg: #525964;
285
286
  --color-fg-default: #f0f3f6;
286
287
  --color-fg-muted: #f0f3f6;
287
288
  --color-fg-subtle: #9ea7b3;
@@ -83,7 +83,7 @@
83
83
  --color-checks-input-placeholder-text: #6e7681;
84
84
  --color-checks-input-focus-text: #c9d1d9;
85
85
  --color-checks-input-bg: #161b22;
86
- --color-checks-input-shadow: 0 0 0 1px (obj) => get_1.default(obj, path);
86
+ --color-checks-input-shadow: 0 0 0 1px (obj) => (0, get_1.default)(obj, path);
87
87
  --color-checks-donut-error: #f85149;
88
88
  --color-checks-donut-pending: #d29922;
89
89
  --color-checks-donut-success: #388bfd;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: #30363d;
283
283
  --color-segmented-control-button-active-bg: #21262d;
284
284
  --color-segmented-control-button-selected-border: #6e7681;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(177,186,196,0.12);
285
286
  --color-fg-default: #c9d1d9;
286
287
  --color-fg-muted: #8b949e;
287
288
  --color-fg-subtle: #6e7681;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: rgba(175,184,193,0.2);
283
283
  --color-segmented-control-button-active-bg: rgba(175,184,193,0.4);
284
284
  --color-segmented-control-button-selected-border: #6e7781;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(208,215,222,0.32);
285
286
  --color-fg-default: #24292f;
286
287
  --color-fg-muted: #57606a;
287
288
  --color-fg-subtle: #6e7781;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: rgba(175,184,193,0.2);
283
283
  --color-segmented-control-button-active-bg: rgba(175,184,193,0.4);
284
284
  --color-segmented-control-button-selected-border: #6e7781;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(208,215,222,0.32);
285
286
  --color-fg-default: #24292f;
286
287
  --color-fg-muted: #57606a;
287
288
  --color-fg-subtle: #6e7781;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: rgba(172,182,192,0.2);
283
283
  --color-segmented-control-button-active-bg: rgba(172,182,192,0.4);
284
284
  --color-segmented-control-button-selected-border: #66707b;
285
+ --color-tree-view-item-chevron-hover-bg: #ced5dc;
285
286
  --color-fg-default: #0e1116;
286
287
  --color-fg-muted: #0e1116;
287
288
  --color-fg-subtle: #66707b;
@@ -282,6 +282,7 @@
282
282
  --color-segmented-control-button-hover-bg: rgba(175,184,193,0.2);
283
283
  --color-segmented-control-button-active-bg: rgba(175,184,193,0.4);
284
284
  --color-segmented-control-button-selected-border: #6e7781;
285
+ --color-tree-view-item-chevron-hover-bg: rgba(208,215,222,0.32);
285
286
  --color-fg-default: #24292f;
286
287
  --color-fg-muted: #57606a;
287
288
  --color-fg-subtle: #6e7781;
@@ -107,7 +107,7 @@ export default {
107
107
  "inputPlaceholderText": "#6e7681",
108
108
  "inputFocusText": "#c9d1d9",
109
109
  "inputBg": "#161b22",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#f85149",
112
112
  "donutPending": "#d29922",
113
113
  "donutSuccess": "#2ea043",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(177,186,196,0.12)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#c9d1d9",
380
385
  "muted": "#8b949e",
@@ -107,7 +107,7 @@ export default {
107
107
  "inputPlaceholderText": "#6e7681",
108
108
  "inputFocusText": "#c9d1d9",
109
109
  "inputBg": "#161b22",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#d47616",
112
112
  "donutPending": "#d29922",
113
113
  "donutSuccess": "#388bfd",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(177,186,196,0.12)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#c9d1d9",
380
385
  "muted": "#8b949e",
@@ -107,7 +107,7 @@ export default {
107
107
  "inputPlaceholderText": "#636e7b",
108
108
  "inputFocusText": "#adbac7",
109
109
  "inputBg": "#2d333b",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#e5534b",
112
112
  "donutPending": "#c69026",
113
113
  "donutSuccess": "#46954a",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(144,157,171,0.12)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#adbac7",
380
385
  "muted": "#768390",
@@ -107,7 +107,7 @@ export default {
107
107
  "inputPlaceholderText": "#9ea7b3",
108
108
  "inputFocusText": "#f0f3f6",
109
109
  "inputBg": "#272b33",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#ff6a69",
112
112
  "donutPending": "#f0b72f",
113
113
  "donutSuccess": "#09b43a",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "#525964"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#f0f3f6",
380
385
  "muted": "#f0f3f6",
@@ -107,7 +107,7 @@ export default {
107
107
  "inputPlaceholderText": "#6e7681",
108
108
  "inputFocusText": "#c9d1d9",
109
109
  "inputBg": "#161b22",
110
- "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
110
+ "inputShadow": "0 0 0 1px (obj) => (0, get_1.default)(obj, path)",
111
111
  "donutError": "#f85149",
112
112
  "donutPending": "#d29922",
113
113
  "donutSuccess": "#388bfd",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(177,186,196,0.12)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#c9d1d9",
380
385
  "muted": "#8b949e",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "#ced5dc"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#0e1116",
380
385
  "muted": "#0e1116",
@@ -375,6 +375,11 @@ export default {
375
375
  }
376
376
  }
377
377
  },
378
+ "treeViewItem": {
379
+ "chevron": {
380
+ "hoverBg": "rgba(208,215,222,0.32)"
381
+ }
382
+ },
378
383
  "fg": {
379
384
  "default": "#24292f",
380
385
  "muted": "#57606a",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.9.0",
3
+ "version": "7.10.0-rc.3d7410a",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -32,6 +32,7 @@
32
32
  "prebuild:tokens": "rm -rf tokens-v2-private",
33
33
  "prepack": "yarn build && yarn build:tokens",
34
34
  "release": "changeset publish",
35
+ "test": "jest --verbose --coverage",
35
36
  "watch": "ls data/**/*.scss script/**/*.ts | entr -s 'yarn build'"
36
37
  },
37
38
  "prettier": "@github/prettier-config",
@@ -57,12 +58,13 @@
57
58
  "deep-shape-equals": "^0.1.2",
58
59
  "deepmerge": "^4.2.2",
59
60
  "flat": "^5.0.2",
61
+ "jest": "^29.0.1",
60
62
  "lodash": "^4.17.20",
61
63
  "mkdirp": "^1.0.4",
62
64
  "node-sass": "^7.0.0",
63
65
  "sass-extract": "^2.1.0",
64
66
  "style-dictionary": "^3.1.1",
65
67
  "ts-node": "^8.10.2",
66
- "typescript": "^3.7.2"
68
+ "typescript": "^4.2.0"
67
69
  }
68
70
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  @media (pointer: coarse) { :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  @media (pointer: fine) { :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 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 Thu, 21 Jul 2022 02:01:29 GMT
3
+ * Generated on Thu, 22 Sep 2022 15:30:40 GMT
4
4
  */
5
5
 
6
6
  export const PrimerViewportRangeNarrow = "(max-width: calc(48rem - 0.02px))";