@primer/primitives 10.8.0-rc.2155b901 → 10.8.0-rc.4b626bdd

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 (52) hide show
  1. package/dist/css/base/motion/motion.css +4 -4
  2. package/dist/css/functional/size/border.css +2 -2
  3. package/dist/css/functional/typography/typography.css +11 -11
  4. package/dist/css/primitives.css +17 -17
  5. package/dist/docs/base/motion/motion.json +48 -32
  6. package/dist/docs/base/size/size.json +57 -38
  7. package/dist/docs/base/typography/typography.json +12 -8
  8. package/dist/docs/functional/size/border.json +42 -28
  9. package/dist/docs/functional/size/breakpoints.json +18 -12
  10. package/dist/docs/functional/size/size-coarse.json +9 -6
  11. package/dist/docs/functional/size/size-fine.json +9 -6
  12. package/dist/docs/functional/size/size.json +198 -132
  13. package/dist/docs/functional/size/viewport.json +18 -12
  14. package/dist/docs/functional/themes/dark-colorblind.json +2472 -1648
  15. package/dist/docs/functional/themes/dark-dimmed.json +2472 -1648
  16. package/dist/docs/functional/themes/dark-high-contrast.json +2472 -1648
  17. package/dist/docs/functional/themes/dark-tritanopia.json +2472 -1648
  18. package/dist/docs/functional/themes/dark.json +2472 -1648
  19. package/dist/docs/functional/themes/light-colorblind.json +2472 -1648
  20. package/dist/docs/functional/themes/light-high-contrast.json +2472 -1648
  21. package/dist/docs/functional/themes/light-tritanopia.json +2472 -1648
  22. package/dist/docs/functional/themes/light.json +2472 -1648
  23. package/dist/docs/functional/typography/typography.json +138 -92
  24. package/dist/internalCss/dark-colorblind.css +4 -4
  25. package/dist/internalCss/dark-dimmed.css +4 -4
  26. package/dist/internalCss/dark-high-contrast.css +4 -4
  27. package/dist/internalCss/dark-tritanopia.css +4 -4
  28. package/dist/internalCss/dark.css +4 -4
  29. package/dist/internalCss/light-colorblind.css +4 -4
  30. package/dist/internalCss/light-high-contrast.css +4 -4
  31. package/dist/internalCss/light-tritanopia.css +4 -4
  32. package/dist/internalCss/light.css +4 -4
  33. package/dist/styleLint/base/motion/motion.json +64 -48
  34. package/dist/styleLint/base/size/size.json +76 -57
  35. package/dist/styleLint/base/typography/typography.json +16 -12
  36. package/dist/styleLint/functional/size/border.json +59 -45
  37. package/dist/styleLint/functional/size/breakpoints.json +24 -18
  38. package/dist/styleLint/functional/size/size-coarse.json +12 -9
  39. package/dist/styleLint/functional/size/size-fine.json +12 -9
  40. package/dist/styleLint/functional/size/size.json +264 -198
  41. package/dist/styleLint/functional/size/viewport.json +28 -22
  42. package/dist/styleLint/functional/themes/dark-colorblind.json +3296 -2472
  43. package/dist/styleLint/functional/themes/dark-dimmed.json +3296 -2472
  44. package/dist/styleLint/functional/themes/dark-high-contrast.json +3296 -2472
  45. package/dist/styleLint/functional/themes/dark-tritanopia.json +3296 -2472
  46. package/dist/styleLint/functional/themes/dark.json +3296 -2472
  47. package/dist/styleLint/functional/themes/light-colorblind.json +3296 -2472
  48. package/dist/styleLint/functional/themes/light-high-contrast.json +3296 -2472
  49. package/dist/styleLint/functional/themes/light-tritanopia.json +3296 -2472
  50. package/dist/styleLint/functional/themes/light.json +3296 -2472
  51. package/dist/styleLint/functional/typography/typography.json +184 -138
  52. package/package.json +2 -2
@@ -1,86 +1,92 @@
1
1
  {
2
2
  "viewportRange-landscape": {
3
+ "key": "{viewportRange.landscape}",
3
4
  "$value": "(orientation: landscape)",
4
5
  "$type": "custom-viewportRange",
5
6
  "filePath": "src/tokens/functional/size/viewport.json5",
6
7
  "isSource": true,
7
8
  "original": {
8
9
  "$value": "(orientation: landscape)",
9
- "$type": "custom-viewportRange"
10
+ "$type": "custom-viewportRange",
11
+ "key": "{viewportRange.landscape}"
10
12
  },
11
13
  "name": "viewportRange-landscape",
12
14
  "attributes": {},
13
- "path": ["viewportRange", "landscape"],
14
- "key": "{viewportRange.landscape}"
15
+ "path": ["viewportRange", "landscape"]
15
16
  },
16
17
  "viewportRange-narrow": {
17
- "$value": ["48rem", "768px"],
18
+ "key": "{viewportRange.narrow}",
19
+ "$value": "(max-width: calc(48rem,768px - 0.02px))",
18
20
  "$type": "custom-viewportRange",
19
21
  "filePath": "src/tokens/functional/size/viewport.json5",
20
22
  "isSource": true,
21
23
  "original": {
22
24
  "$value": "(max-width: calc({breakpoint.medium} - 0.02px))",
23
- "$type": "custom-viewportRange"
25
+ "$type": "custom-viewportRange",
26
+ "key": "{viewportRange.narrow}"
24
27
  },
25
28
  "name": "viewportRange-narrow",
26
29
  "attributes": {},
27
- "path": ["viewportRange", "narrow"],
28
- "key": "{viewportRange.narrow}"
30
+ "path": ["viewportRange", "narrow"]
29
31
  },
30
32
  "viewportRange-narrowLandscape": {
31
- "$value": ["34rem", "544px"],
33
+ "key": "{viewportRange.narrowLandscape}",
34
+ "$value": "(max-width: calc(63.25rem,1012px - 0.02px) and (max-height: calc(34rem,544px - 0.02px)) and (orientation: landscape))",
32
35
  "$type": "custom-viewportRange",
33
36
  "filePath": "src/tokens/functional/size/viewport.json5",
34
37
  "isSource": true,
35
38
  "original": {
36
39
  "$value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
37
- "$type": "custom-viewportRange"
40
+ "$type": "custom-viewportRange",
41
+ "key": "{viewportRange.narrowLandscape}"
38
42
  },
39
43
  "name": "viewportRange-narrowLandscape",
40
44
  "attributes": {},
41
- "path": ["viewportRange", "narrowLandscape"],
42
- "key": "{viewportRange.narrowLandscape}"
45
+ "path": ["viewportRange", "narrowLandscape"]
43
46
  },
44
47
  "viewportRange-portrait": {
48
+ "key": "{viewportRange.portrait}",
45
49
  "$value": "(orientation: portrait)",
46
50
  "$type": "custom-viewportRange",
47
51
  "filePath": "src/tokens/functional/size/viewport.json5",
48
52
  "isSource": true,
49
53
  "original": {
50
54
  "$value": "(orientation: portrait)",
51
- "$type": "custom-viewportRange"
55
+ "$type": "custom-viewportRange",
56
+ "key": "{viewportRange.portrait}"
52
57
  },
53
58
  "name": "viewportRange-portrait",
54
59
  "attributes": {},
55
- "path": ["viewportRange", "portrait"],
56
- "key": "{viewportRange.portrait}"
60
+ "path": ["viewportRange", "portrait"]
57
61
  },
58
62
  "viewportRange-regular": {
59
- "$value": ["48rem", "768px"],
63
+ "key": "{viewportRange.regular}",
64
+ "$value": "(min-width: 48rem,768px)",
60
65
  "$type": "custom-viewportRange",
61
66
  "filePath": "src/tokens/functional/size/viewport.json5",
62
67
  "isSource": true,
63
68
  "original": {
64
69
  "$value": "(min-width: {breakpoint.medium})",
65
- "$type": "custom-viewportRange"
70
+ "$type": "custom-viewportRange",
71
+ "key": "{viewportRange.regular}"
66
72
  },
67
73
  "name": "viewportRange-regular",
68
74
  "attributes": {},
69
- "path": ["viewportRange", "regular"],
70
- "key": "{viewportRange.regular}"
75
+ "path": ["viewportRange", "regular"]
71
76
  },
72
77
  "viewportRange-wide": {
73
- "$value": ["87.5rem", "1400px"],
78
+ "key": "{viewportRange.wide}",
79
+ "$value": "(min-width: 87.5rem,1400px)",
74
80
  "$type": "custom-viewportRange",
75
81
  "filePath": "src/tokens/functional/size/viewport.json5",
76
82
  "isSource": true,
77
83
  "original": {
78
84
  "$value": "(min-width: {breakpoint.xxlarge})",
79
- "$type": "custom-viewportRange"
85
+ "$type": "custom-viewportRange",
86
+ "key": "{viewportRange.wide}"
80
87
  },
81
88
  "name": "viewportRange-wide",
82
89
  "attributes": {},
83
- "path": ["viewportRange", "wide"],
84
- "key": "{viewportRange.wide}"
90
+ "path": ["viewportRange", "wide"]
85
91
  }
86
92
  }