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