@primer/primitives 7.15.4 → 7.15.5-rc.dcac358

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 (128) hide show
  1. package/dist/css/base/size/size.css +19 -0
  2. package/dist/css/base/typography/typography.css +6 -0
  3. package/dist/css/functional/motion/motion.css +5 -0
  4. package/dist/css/functional/size/border.css +14 -0
  5. package/dist/css/functional/size/breakpoints.css +8 -0
  6. package/dist/css/functional/size/size-coarse.css +7 -0
  7. package/dist/css/functional/size/size-fine.css +7 -0
  8. package/dist/css/functional/size/size.css +73 -0
  9. package/dist/css/functional/size/viewport.css +6 -0
  10. package/dist/css/functional/themes/dark-colorblind.css +841 -0
  11. package/dist/css/functional/themes/dark-dimmed.css +841 -0
  12. package/dist/css/functional/themes/dark-high-contrast.css +841 -0
  13. package/dist/css/functional/themes/dark-tritanopia.css +841 -0
  14. package/dist/css/functional/themes/dark.css +841 -0
  15. package/dist/css/functional/themes/light-colorblind.css +841 -0
  16. package/dist/css/functional/themes/light-high-contrast.css +841 -0
  17. package/dist/css/functional/themes/light-tritanopia.css +841 -0
  18. package/dist/css/functional/themes/light.css +841 -0
  19. package/dist/css/functional/typography/typography.css +47 -0
  20. package/dist/docs/base/size/size.json +427 -0
  21. package/dist/docs/base/typography/typography.json +54 -0
  22. package/dist/docs/functional/motion/motion.json +47 -0
  23. package/dist/docs/functional/size/border.json +234 -0
  24. package/dist/docs/functional/size/breakpoints.json +152 -0
  25. package/dist/docs/functional/size/size-coarse.json +41 -0
  26. package/dist/docs/functional/size/size-fine.json +41 -0
  27. package/dist/docs/functional/size/size.json +1813 -0
  28. package/dist/docs/functional/size/viewport.json +80 -0
  29. package/dist/docs/functional/themes/dark-colorblind.json +11230 -0
  30. package/dist/docs/functional/themes/dark-dimmed.json +11234 -0
  31. package/dist/docs/functional/themes/dark-high-contrast.json +11252 -0
  32. package/dist/docs/functional/themes/dark-tritanopia.json +11236 -0
  33. package/dist/docs/functional/themes/dark.json +11234 -0
  34. package/dist/docs/functional/themes/light-colorblind.json +11182 -0
  35. package/dist/docs/functional/themes/light-high-contrast.json +11184 -0
  36. package/dist/docs/functional/themes/light-tritanopia.json +11174 -0
  37. package/dist/docs/functional/themes/light.json +11172 -0
  38. package/dist/docs/functional/typography/typography.json +663 -0
  39. package/dist/fallbacks/base/size/size.json +19 -0
  40. package/dist/fallbacks/base/typography/typography.json +6 -0
  41. package/dist/fallbacks/functional/motion/motion.json +5 -0
  42. package/dist/fallbacks/functional/size/border.json +14 -0
  43. package/dist/fallbacks/functional/size/breakpoints.json +8 -0
  44. package/dist/fallbacks/functional/size/size-coarse.json +5 -0
  45. package/dist/fallbacks/functional/size/size-fine.json +5 -0
  46. package/dist/fallbacks/functional/size/size.json +73 -0
  47. package/dist/fallbacks/functional/size/viewport.json +8 -0
  48. package/dist/fallbacks/functional/typography/typography.json +47 -0
  49. package/dist/figma/dimension/dimension.json +1058 -0
  50. package/dist/figma/figma.json +64 -0
  51. package/dist/figma/scales/dark.json +1398 -0
  52. package/dist/figma/scales/light.json +1398 -0
  53. package/dist/figma/themes/dark.json +5180 -0
  54. package/dist/figma/themes/light.json +5150 -0
  55. package/dist/removed/color.json +421 -0
  56. package/dist/scss/base/size/size.scss +17 -0
  57. package/dist/scss/base/typography/typography.scss +4 -0
  58. package/dist/scss/functional/motion/motion.scss +3 -0
  59. package/dist/scss/functional/size/border.scss +12 -0
  60. package/dist/scss/functional/size/breakpoints.scss +6 -0
  61. package/dist/scss/functional/size/size-coarse.scss +3 -0
  62. package/dist/scss/functional/size/size-fine.scss +3 -0
  63. package/dist/scss/functional/size/size.scss +71 -0
  64. package/dist/scss/functional/size/viewport.scss +6 -0
  65. package/dist/scss/functional/themes/dark-colorblind.scss +417 -0
  66. package/dist/scss/functional/themes/dark-dimmed.scss +417 -0
  67. package/dist/scss/functional/themes/dark-high-contrast.scss +417 -0
  68. package/dist/scss/functional/themes/dark-tritanopia.scss +417 -0
  69. package/dist/scss/functional/themes/dark.scss +417 -0
  70. package/dist/scss/functional/themes/light-colorblind.scss +417 -0
  71. package/dist/scss/functional/themes/light-high-contrast.scss +417 -0
  72. package/dist/scss/functional/themes/light-tritanopia.scss +417 -0
  73. package/dist/scss/functional/themes/light.scss +417 -0
  74. package/dist/scss/functional/typography/typography.scss +45 -0
  75. package/package.json +1 -1
  76. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  77. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  78. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  79. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  80. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  81. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  82. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  83. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  84. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  85. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  86. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  87. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  88. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  89. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  90. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  91. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  92. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  93. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  94. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  95. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  96. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  97. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  98. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  99. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  100. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  101. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  102. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  103. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  104. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  105. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  106. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  107. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  108. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  109. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  110. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  111. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  112. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  113. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  114. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  115. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  116. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  117. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  118. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  119. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  120. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  121. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  122. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  123. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  124. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  125. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  126. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  127. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  128. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -0,0 +1,80 @@
1
+ {
2
+ "viewportRange-narrow": {
3
+ "value": "(max-width: calc(48rem - 0.02px))",
4
+ "$type": "custom-viewportRange",
5
+ "filePath": "src/tokens/functional/size/viewport.json",
6
+ "isSource": true,
7
+ "original": {
8
+ "value": "(max-width: calc({breakpoint.medium} - 0.02px))",
9
+ "$type": "custom-viewportRange"
10
+ },
11
+ "name": "viewportRange-narrow",
12
+ "attributes": {},
13
+ "path": ["viewportRange", "narrow"]
14
+ },
15
+ "viewportRange-narrowLandscape": {
16
+ "value": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
17
+ "$type": "custom-viewportRange",
18
+ "filePath": "src/tokens/functional/size/viewport.json",
19
+ "isSource": true,
20
+ "original": {
21
+ "value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
22
+ "$type": "custom-viewportRange"
23
+ },
24
+ "name": "viewportRange-narrowLandscape",
25
+ "attributes": {},
26
+ "path": ["viewportRange", "narrowLandscape"]
27
+ },
28
+ "viewportRange-regular": {
29
+ "value": "(min-width: 48rem)",
30
+ "$type": "custom-viewportRange",
31
+ "filePath": "src/tokens/functional/size/viewport.json",
32
+ "isSource": true,
33
+ "original": {
34
+ "value": "(min-width: {breakpoint.medium})",
35
+ "$type": "custom-viewportRange"
36
+ },
37
+ "name": "viewportRange-regular",
38
+ "attributes": {},
39
+ "path": ["viewportRange", "regular"]
40
+ },
41
+ "viewportRange-wide": {
42
+ "value": "(min-width: 87.5rem)",
43
+ "$type": "custom-viewportRange",
44
+ "filePath": "src/tokens/functional/size/viewport.json",
45
+ "isSource": true,
46
+ "original": {
47
+ "value": "(min-width: {breakpoint.xxlarge})",
48
+ "$type": "custom-viewportRange"
49
+ },
50
+ "name": "viewportRange-wide",
51
+ "attributes": {},
52
+ "path": ["viewportRange", "wide"]
53
+ },
54
+ "viewportRange-portrait": {
55
+ "value": "(orientation: portrait)",
56
+ "$type": "custom-viewportRange",
57
+ "filePath": "src/tokens/functional/size/viewport.json",
58
+ "isSource": true,
59
+ "original": {
60
+ "value": "(orientation: portrait)",
61
+ "$type": "custom-viewportRange"
62
+ },
63
+ "name": "viewportRange-portrait",
64
+ "attributes": {},
65
+ "path": ["viewportRange", "portrait"]
66
+ },
67
+ "viewportRange-landscape": {
68
+ "value": "(orientation: landscape)",
69
+ "$type": "custom-viewportRange",
70
+ "filePath": "src/tokens/functional/size/viewport.json",
71
+ "isSource": true,
72
+ "original": {
73
+ "value": "(orientation: landscape)",
74
+ "$type": "custom-viewportRange"
75
+ },
76
+ "name": "viewportRange-landscape",
77
+ "attributes": {},
78
+ "path": ["viewportRange", "landscape"]
79
+ }
80
+ }