@primer/primitives 7.11.8-rc.112cf72 → 7.11.8-rc.154154a

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 (163) hide show
  1. package/dist/js/colors/dark.d.ts +6 -0
  2. package/dist/js/colors/dark.js +12 -6
  3. package/dist/js/colors/dark_colorblind.d.ts +6 -0
  4. package/dist/js/colors/dark_colorblind.js +12 -6
  5. package/dist/js/colors/dark_dimmed.d.ts +6 -0
  6. package/dist/js/colors/dark_dimmed.js +12 -6
  7. package/dist/js/colors/dark_high_contrast.d.ts +6 -0
  8. package/dist/js/colors/dark_high_contrast.js +10 -4
  9. package/dist/js/colors/dark_tritanopia.d.ts +6 -0
  10. package/dist/js/colors/dark_tritanopia.js +12 -6
  11. package/dist/js/colors/index.d.ts +54 -0
  12. package/dist/js/colors/light.d.ts +6 -0
  13. package/dist/js/colors/light.js +9 -3
  14. package/dist/js/colors/light_colorblind.d.ts +6 -0
  15. package/dist/js/colors/light_colorblind.js +9 -3
  16. package/dist/js/colors/light_high_contrast.d.ts +6 -0
  17. package/dist/js/colors/light_high_contrast.js +9 -3
  18. package/dist/js/colors/light_tritanopia.d.ts +6 -0
  19. package/dist/js/colors/light_tritanopia.js +9 -3
  20. package/dist/js/index.d.ts +54 -0
  21. package/dist/json/colors/dark.json +12 -6
  22. package/dist/json/colors/dark_colorblind.json +12 -6
  23. package/dist/json/colors/dark_dimmed.json +12 -6
  24. package/dist/json/colors/dark_high_contrast.json +10 -4
  25. package/dist/json/colors/dark_tritanopia.json +12 -6
  26. package/dist/json/colors/light.json +9 -3
  27. package/dist/json/colors/light_colorblind.json +9 -3
  28. package/dist/json/colors/light_high_contrast.json +9 -3
  29. package/dist/json/colors/light_tritanopia.json +9 -3
  30. package/dist/scss/colors/_dark.scss +11 -5
  31. package/dist/scss/colors/_dark_colorblind.scss +11 -5
  32. package/dist/scss/colors/_dark_dimmed.scss +11 -5
  33. package/dist/scss/colors/_dark_high_contrast.scss +9 -3
  34. package/dist/scss/colors/_dark_tritanopia.scss +11 -5
  35. package/dist/scss/colors/_light.scss +8 -2
  36. package/dist/scss/colors/_light_colorblind.scss +8 -2
  37. package/dist/scss/colors/_light_high_contrast.scss +8 -2
  38. package/dist/scss/colors/_light_tritanopia.scss +8 -2
  39. package/dist/ts/colors/dark.ts +12 -6
  40. package/dist/ts/colors/dark_colorblind.ts +12 -6
  41. package/dist/ts/colors/dark_dimmed.ts +12 -6
  42. package/dist/ts/colors/dark_high_contrast.ts +10 -4
  43. package/dist/ts/colors/dark_tritanopia.ts +12 -6
  44. package/dist/ts/colors/light.ts +9 -3
  45. package/dist/ts/colors/light_colorblind.ts +9 -3
  46. package/dist/ts/colors/light_high_contrast.ts +9 -3
  47. package/dist/ts/colors/light_tritanopia.ts +9 -3
  48. package/package.json +3 -5
  49. package/tokens-next-private/css/functional/themes/dark-colorblind.css +316 -294
  50. package/tokens-next-private/css/functional/themes/dark-dimmed.css +228 -206
  51. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +214 -192
  52. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +244 -222
  53. package/tokens-next-private/css/functional/themes/dark.css +228 -206
  54. package/tokens-next-private/css/functional/themes/light-colorblind.css +300 -282
  55. package/tokens-next-private/css/functional/themes/light-high-contrast.css +208 -190
  56. package/tokens-next-private/css/functional/themes/light-tritanopia.css +228 -210
  57. package/tokens-next-private/css/functional/themes/light.css +212 -194
  58. package/tokens-next-private/docs/functional/size/border.json +3 -1
  59. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +357 -214
  60. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +176 -33
  61. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +159 -12
  62. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +296 -151
  63. package/tokens-next-private/docs/functional/themes/dark.json +176 -33
  64. package/tokens-next-private/docs/functional/themes/light-colorblind.json +320 -195
  65. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +136 -9
  66. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +264 -137
  67. package/tokens-next-private/docs/functional/themes/light.json +142 -17
  68. package/tokens-next-private/docs/functional/typography/typography.json +33 -11
  69. package/tokens-next-private/js/functional/themes/dark-colorblind.js +90 -81
  70. package/tokens-next-private/js/functional/themes/dark-dimmed.js +26 -17
  71. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +19 -10
  72. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +34 -25
  73. package/tokens-next-private/js/functional/themes/dark.js +26 -17
  74. package/tokens-next-private/js/functional/themes/light-colorblind.js +82 -75
  75. package/tokens-next-private/js/functional/themes/light-high-contrast.js +16 -9
  76. package/tokens-next-private/js/functional/themes/light-tritanopia.js +26 -19
  77. package/tokens-next-private/js/functional/themes/light.js +18 -11
  78. package/tokens-next-private/json/functional/themes/dark-colorblind.json +90 -81
  79. package/tokens-next-private/json/functional/themes/dark-dimmed.json +26 -17
  80. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +19 -10
  81. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +34 -25
  82. package/tokens-next-private/json/functional/themes/dark.json +26 -17
  83. package/tokens-next-private/json/functional/themes/light-colorblind.json +82 -75
  84. package/tokens-next-private/json/functional/themes/light-high-contrast.json +16 -9
  85. package/tokens-next-private/json/functional/themes/light-tritanopia.json +26 -19
  86. package/tokens-next-private/json/functional/themes/light.json +18 -11
  87. package/tokens-next-private/scss/functional/size/border.scss +1 -1
  88. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +85 -74
  89. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +21 -10
  90. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +14 -3
  91. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +29 -18
  92. package/tokens-next-private/scss/functional/themes/dark.scss +21 -10
  93. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +77 -68
  94. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +11 -2
  95. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +21 -12
  96. package/tokens-next-private/scss/functional/themes/light.scss +13 -4
  97. package/tokens-next-private/scss/functional/typography/typography.scss +11 -11
  98. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +90 -81
  99. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +26 -17
  100. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +19 -10
  101. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +34 -25
  102. package/tokens-next-private/ts/functional/themes/dark.ts +26 -17
  103. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +82 -75
  104. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +16 -9
  105. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +26 -19
  106. package/tokens-next-private/ts/functional/themes/light.ts +18 -11
  107. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
  108. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
  109. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +15 -8
  110. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
  111. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  112. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  113. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  114. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  115. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  116. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  117. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  118. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  119. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  120. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  121. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  122. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  123. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  124. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  125. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  126. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  127. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  128. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  129. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  130. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  131. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  132. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  133. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  134. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  135. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  136. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  137. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  138. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  139. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  140. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  141. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  142. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  143. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  144. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  145. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  146. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  147. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  148. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  149. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  150. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  151. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  152. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  153. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  154. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  155. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  156. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  157. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  158. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  159. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  160. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  161. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  162. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  163. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.11.8-rc.112cf72",
3
+ "version": "7.11.8-rc.154154a",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -43,7 +43,7 @@
43
43
  "prebuild:tokens": "rm -rf tokens-v2-private",
44
44
  "prebuild:next": "rm -rf tokens-next-private",
45
45
  "prepack": "npm run build && npm run build:tokens && npm run build:next",
46
- "prepare": "husky install && npm run install:docs && npm run install:storybook",
46
+ "prepare": "husky install",
47
47
  "release": "changeset publish",
48
48
  "start:storybook": "npm run build:next && cd docs/storybook && npm run storybook",
49
49
  "test": "jest --verbose --coverage",
@@ -87,9 +87,7 @@
87
87
  "ts-jest": "^29.0.3",
88
88
  "ts-node": "^10.9.1",
89
89
  "tsconfig-paths": "^4.1.0",
90
- "typescript": "^4.9.3"
91
- },
92
- "dependencies": {
90
+ "typescript": "^4.9.3",
93
91
  "markdown-table-ts": "^1.0.3"
94
92
  }
95
93
  }