@primer/primitives 7.11.2-rc.bf2f0f9 → 7.11.2-rc.c105d3e

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 (222) hide show
  1. package/README.md +53 -1
  2. package/package.json +9 -8
  3. package/tokens-next-private/css/base/color/dark-colorblind.css +198 -0
  4. package/tokens-next-private/css/base/color/dark-dimmed.css +198 -0
  5. package/tokens-next-private/css/base/color/dark-high-contrast.css +198 -0
  6. package/tokens-next-private/css/base/color/dark-tritanopia.css +198 -0
  7. package/tokens-next-private/css/base/color/dark.css +198 -0
  8. package/tokens-next-private/css/base/color/light-colorblind.css +198 -0
  9. package/tokens-next-private/css/base/color/light-high-contrast.css +198 -0
  10. package/tokens-next-private/css/base/color/light-tritanopia.css +198 -0
  11. package/tokens-next-private/css/base/color/light.css +198 -0
  12. package/tokens-next-private/css/base/size/size.css +24 -0
  13. package/tokens-next-private/css/base/typography/typography.css +11 -0
  14. package/tokens-next-private/css/functional/size/border.css +18 -0
  15. package/tokens-next-private/css/functional/size/breakpoints.css +13 -0
  16. package/tokens-next-private/css/functional/size/size-coarse.css +10 -0
  17. package/tokens-next-private/css/functional/size/size-fine.css +10 -0
  18. package/tokens-next-private/css/functional/size/size.css +54 -0
  19. package/tokens-next-private/css/functional/size/viewport.css +13 -0
  20. package/tokens-next-private/css/functional/themes/dark-colorblind.css +604 -0
  21. package/tokens-next-private/css/functional/themes/dark-dimmed.css +604 -0
  22. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +604 -0
  23. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +604 -0
  24. package/tokens-next-private/css/functional/themes/dark.css +604 -0
  25. package/tokens-next-private/css/functional/themes/light-colorblind.css +554 -0
  26. package/tokens-next-private/css/functional/themes/light-high-contrast.css +554 -0
  27. package/tokens-next-private/css/functional/themes/light-tritanopia.css +554 -0
  28. package/tokens-next-private/css/functional/themes/light.css +554 -0
  29. package/tokens-next-private/css/functional/typography/typography.css +47 -0
  30. package/tokens-next-private/docs/base/color/dark-colorblind.json +1419 -0
  31. package/tokens-next-private/docs/base/color/dark-dimmed.json +1419 -0
  32. package/tokens-next-private/docs/base/color/dark-high-contrast.json +1419 -0
  33. package/tokens-next-private/docs/base/color/dark-tritanopia.json +1419 -0
  34. package/tokens-next-private/docs/base/color/dark.json +1419 -0
  35. package/tokens-next-private/docs/base/color/light-colorblind.json +1419 -0
  36. package/tokens-next-private/docs/base/color/light-high-contrast.json +1419 -0
  37. package/tokens-next-private/docs/base/color/light-tritanopia.json +1419 -0
  38. package/tokens-next-private/docs/base/color/light.json +1419 -0
  39. package/tokens-next-private/docs/base/size/size.json +227 -0
  40. package/tokens-next-private/docs/base/typography/typography.json +60 -0
  41. package/tokens-next-private/docs/functional/size/border.json +135 -0
  42. package/tokens-next-private/docs/functional/size/breakpoints.json +82 -0
  43. package/tokens-next-private/docs/functional/size/size-coarse.json +55 -0
  44. package/tokens-next-private/docs/functional/size/size-fine.json +55 -0
  45. package/tokens-next-private/docs/functional/size/size.json +647 -0
  46. package/tokens-next-private/docs/functional/size/viewport.json +70 -0
  47. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +4535 -0
  48. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +4539 -0
  49. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +4543 -0
  50. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +4539 -0
  51. package/tokens-next-private/docs/functional/themes/dark.json +4539 -0
  52. package/tokens-next-private/docs/functional/themes/light-colorblind.json +4241 -0
  53. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +4231 -0
  54. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +4231 -0
  55. package/tokens-next-private/docs/functional/themes/light.json +4231 -0
  56. package/tokens-next-private/docs/functional/typography/typography.json +581 -0
  57. package/tokens-next-private/js/base/color/dark-colorblind.js +122 -0
  58. package/tokens-next-private/js/base/color/dark-dimmed.js +122 -0
  59. package/tokens-next-private/js/base/color/dark-high-contrast.js +122 -0
  60. package/tokens-next-private/js/base/color/dark-tritanopia.js +122 -0
  61. package/tokens-next-private/js/base/color/dark.js +122 -0
  62. package/tokens-next-private/js/base/color/light-colorblind.js +122 -0
  63. package/tokens-next-private/js/base/color/light-high-contrast.js +122 -0
  64. package/tokens-next-private/js/base/color/light-tritanopia.js +122 -0
  65. package/tokens-next-private/js/base/color/light.js +122 -0
  66. package/tokens-next-private/js/base/size/size.js +28 -0
  67. package/tokens-next-private/js/base/typography/typography.js +17 -0
  68. package/tokens-next-private/js/functional/size/border.js +28 -0
  69. package/tokens-next-private/js/functional/size/breakpoints.js +15 -0
  70. package/tokens-next-private/js/functional/size/size-coarse.js +24 -0
  71. package/tokens-next-private/js/functional/size/size-fine.js +24 -0
  72. package/tokens-next-private/js/functional/size/size.js +98 -0
  73. package/tokens-next-private/js/functional/size/viewport.js +15 -0
  74. package/tokens-next-private/js/functional/themes/dark-colorblind.js +593 -0
  75. package/tokens-next-private/js/functional/themes/dark-dimmed.js +593 -0
  76. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +593 -0
  77. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +593 -0
  78. package/tokens-next-private/js/functional/themes/dark.js +593 -0
  79. package/tokens-next-private/js/functional/themes/light-colorblind.js +618 -0
  80. package/tokens-next-private/js/functional/themes/light-high-contrast.js +618 -0
  81. package/tokens-next-private/js/functional/themes/light-tritanopia.js +618 -0
  82. package/tokens-next-private/js/functional/themes/light.js +618 -0
  83. package/tokens-next-private/js/functional/typography/typography.js +77 -0
  84. package/tokens-next-private/json/base/color/dark-colorblind.json +117 -0
  85. package/tokens-next-private/json/base/color/dark-dimmed.json +117 -0
  86. package/tokens-next-private/json/base/color/dark-high-contrast.json +117 -0
  87. package/tokens-next-private/json/base/color/dark-tritanopia.json +117 -0
  88. package/tokens-next-private/json/base/color/dark.json +117 -0
  89. package/tokens-next-private/json/base/color/light-colorblind.json +117 -0
  90. package/tokens-next-private/json/base/color/light-high-contrast.json +117 -0
  91. package/tokens-next-private/json/base/color/light-tritanopia.json +117 -0
  92. package/tokens-next-private/json/base/color/light.json +117 -0
  93. package/tokens-next-private/json/base/size/size.json +23 -0
  94. package/tokens-next-private/json/base/typography/typography.json +12 -0
  95. package/tokens-next-private/json/functional/size/border.json +23 -0
  96. package/tokens-next-private/json/functional/size/breakpoints.json +10 -0
  97. package/tokens-next-private/json/functional/size/size-coarse.json +19 -0
  98. package/tokens-next-private/json/functional/size/size-fine.json +19 -0
  99. package/tokens-next-private/json/functional/size/size.json +93 -0
  100. package/tokens-next-private/json/functional/size/viewport.json +10 -0
  101. package/tokens-next-private/json/functional/themes/dark-colorblind.json +588 -0
  102. package/tokens-next-private/json/functional/themes/dark-dimmed.json +588 -0
  103. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +588 -0
  104. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +588 -0
  105. package/tokens-next-private/json/functional/themes/dark.json +588 -0
  106. package/tokens-next-private/json/functional/themes/light-colorblind.json +613 -0
  107. package/tokens-next-private/json/functional/themes/light-high-contrast.json +613 -0
  108. package/tokens-next-private/json/functional/themes/light-tritanopia.json +613 -0
  109. package/tokens-next-private/json/functional/themes/light.json +613 -0
  110. package/tokens-next-private/json/functional/typography/typography.json +72 -0
  111. package/tokens-next-private/removed/color.json +421 -0
  112. package/tokens-next-private/scss/base/color/dark-colorblind.scss +102 -0
  113. package/tokens-next-private/scss/base/color/dark-dimmed.scss +102 -0
  114. package/tokens-next-private/scss/base/color/dark-high-contrast.scss +102 -0
  115. package/tokens-next-private/scss/base/color/dark-tritanopia.scss +102 -0
  116. package/tokens-next-private/scss/base/color/dark.scss +102 -0
  117. package/tokens-next-private/scss/base/color/light-colorblind.scss +102 -0
  118. package/tokens-next-private/scss/base/color/light-high-contrast.scss +102 -0
  119. package/tokens-next-private/scss/base/color/light-tritanopia.scss +102 -0
  120. package/tokens-next-private/scss/base/color/light.scss +102 -0
  121. package/tokens-next-private/scss/base/size/size.scss +26 -0
  122. package/tokens-next-private/scss/base/typography/typography.scss +13 -0
  123. package/tokens-next-private/scss/functional/size/border.scss +20 -0
  124. package/tokens-next-private/scss/functional/size/breakpoints.scss +15 -0
  125. package/tokens-next-private/scss/functional/size/size-coarse.scss +12 -0
  126. package/tokens-next-private/scss/functional/size/size-fine.scss +12 -0
  127. package/tokens-next-private/scss/functional/size/size.scss +56 -0
  128. package/tokens-next-private/scss/functional/size/viewport.scss +24 -0
  129. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +305 -0
  130. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +305 -0
  131. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +305 -0
  132. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +305 -0
  133. package/tokens-next-private/scss/functional/themes/dark.scss +305 -0
  134. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +280 -0
  135. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +280 -0
  136. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +280 -0
  137. package/tokens-next-private/scss/functional/themes/light.scss +280 -0
  138. package/tokens-next-private/scss/functional/typography/typography.scss +49 -0
  139. package/tokens-next-private/ts/base/color/dark-colorblind.ts +122 -0
  140. package/tokens-next-private/ts/base/color/dark-dimmed.ts +122 -0
  141. package/tokens-next-private/ts/base/color/dark-high-contrast.ts +122 -0
  142. package/tokens-next-private/ts/base/color/dark-tritanopia.ts +122 -0
  143. package/tokens-next-private/ts/base/color/dark.ts +122 -0
  144. package/tokens-next-private/ts/base/color/light-colorblind.ts +122 -0
  145. package/tokens-next-private/ts/base/color/light-high-contrast.ts +122 -0
  146. package/tokens-next-private/ts/base/color/light-tritanopia.ts +122 -0
  147. package/tokens-next-private/ts/base/color/light.ts +122 -0
  148. package/tokens-next-private/ts/base/size/size.ts +28 -0
  149. package/tokens-next-private/ts/base/typography/typography.ts +17 -0
  150. package/tokens-next-private/ts/functional/size/border.ts +28 -0
  151. package/tokens-next-private/ts/functional/size/breakpoints.ts +15 -0
  152. package/tokens-next-private/ts/functional/size/size-coarse.ts +24 -0
  153. package/tokens-next-private/ts/functional/size/size-fine.ts +24 -0
  154. package/tokens-next-private/ts/functional/size/size.ts +98 -0
  155. package/tokens-next-private/ts/functional/size/viewport.ts +15 -0
  156. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +593 -0
  157. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +593 -0
  158. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +593 -0
  159. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +593 -0
  160. package/tokens-next-private/ts/functional/themes/dark.ts +593 -0
  161. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +618 -0
  162. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +618 -0
  163. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +618 -0
  164. package/tokens-next-private/ts/functional/themes/light.ts +618 -0
  165. package/tokens-next-private/ts/functional/typography/typography.ts +77 -0
  166. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +125 -0
  167. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +143 -0
  168. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +635 -0
  169. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +87 -0
  170. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  171. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  172. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  173. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  174. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  175. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  176. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  177. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  178. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  179. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  180. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  181. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  182. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  183. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  184. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  185. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  186. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  187. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  188. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  189. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  190. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  191. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  192. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  193. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  194. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  195. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  196. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  197. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  198. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  199. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  200. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  201. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  202. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  203. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  204. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  205. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  206. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  207. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  208. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  209. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  210. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  211. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  212. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  213. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  214. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  215. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  216. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  217. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  218. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  219. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  220. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  221. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  222. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -0,0 +1,70 @@
1
+ {
2
+ "viewportRange": {
3
+ "narrow": {
4
+ "value": "(max-width: calc(768px - 0.02px))",
5
+ "filePath": "src/tokens/functional/size/viewport.json",
6
+ "isSource": true,
7
+ "original": {
8
+ "value": "(max-width: calc({breakpoint.medium} - 0.02px))"
9
+ },
10
+ "name": "viewportRange-narrow",
11
+ "attributes": {},
12
+ "path": ["viewportRange", "narrow"]
13
+ },
14
+ "narrowLandscape": {
15
+ "value": "(max-width: calc(1012px - 0.02px) and (max-height: calc(544px - 0.02px)) and (orientation: landscape))",
16
+ "filePath": "src/tokens/functional/size/viewport.json",
17
+ "isSource": true,
18
+ "original": {
19
+ "value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))"
20
+ },
21
+ "name": "viewportRange-narrowLandscape",
22
+ "attributes": {},
23
+ "path": ["viewportRange", "narrowLandscape"]
24
+ },
25
+ "regular": {
26
+ "value": "(min-width: 768px)",
27
+ "filePath": "src/tokens/functional/size/viewport.json",
28
+ "isSource": true,
29
+ "original": {
30
+ "value": "(min-width: {breakpoint.medium})"
31
+ },
32
+ "name": "viewportRange-regular",
33
+ "attributes": {},
34
+ "path": ["viewportRange", "regular"]
35
+ },
36
+ "wide": {
37
+ "value": "(min-width: 1440px)",
38
+ "filePath": "src/tokens/functional/size/viewport.json",
39
+ "isSource": true,
40
+ "original": {
41
+ "value": "(min-width: {breakpoint.xxlarge})"
42
+ },
43
+ "name": "viewportRange-wide",
44
+ "attributes": {},
45
+ "path": ["viewportRange", "wide"]
46
+ },
47
+ "portrait": {
48
+ "value": "(orientation: portrait)",
49
+ "filePath": "src/tokens/functional/size/viewport.json",
50
+ "isSource": true,
51
+ "original": {
52
+ "value": "(orientation: portrait)"
53
+ },
54
+ "name": "viewportRange-portrait",
55
+ "attributes": {},
56
+ "path": ["viewportRange", "portrait"]
57
+ },
58
+ "landscape": {
59
+ "value": "(orientation: landscape)",
60
+ "filePath": "src/tokens/functional/size/viewport.json",
61
+ "isSource": true,
62
+ "original": {
63
+ "value": "(orientation: landscape)"
64
+ },
65
+ "name": "viewportRange-landscape",
66
+ "attributes": {},
67
+ "path": ["viewportRange", "landscape"]
68
+ }
69
+ }
70
+ }