@primer/primitives 7.11.14-rc.b3b7ee0 → 7.11.14
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/package.json +13 -13
- package/tokens-next-private/css/functional/size/border.css +1 -1
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +38 -32
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +38 -32
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +34 -28
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +38 -32
- package/tokens-next-private/css/functional/themes/dark.css +38 -32
- package/tokens-next-private/css/functional/themes/light-colorblind.css +28 -22
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +38 -32
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +28 -22
- package/tokens-next-private/css/functional/themes/light.css +28 -22
- package/tokens-next-private/docs/functional/size/border.json +2 -2
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +67 -28
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +67 -28
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +63 -24
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +67 -28
- package/tokens-next-private/docs/functional/themes/dark.json +67 -28
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +58 -19
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +64 -25
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +58 -19
- package/tokens-next-private/docs/functional/themes/light.json +58 -19
- package/tokens-next-private/fallbacks/color-fallbacks.json +7 -7
- package/tokens-next-private/fallbacks/functional/size/border.json +1 -1
- package/tokens-next-private/scss/functional/size/border.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +19 -16
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +19 -16
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +17 -14
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +19 -16
- package/tokens-next-private/scss/functional/themes/dark.scss +19 -16
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +14 -11
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +19 -16
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +14 -11
- package/tokens-next-private/scss/functional/themes/light.scss +14 -11
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +2 -2
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +2 -2
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +2 -2
- package/tokens-v2-private/js/tokens/base/size/size.js +2 -2
- package/tokens-v2-private/js/tokens/base/typography/typography.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/border.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/size.js +2 -2
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +2 -2
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +2 -2
- package/tokens-v2-private/scss/tokens/base/size/size.scss +2 -2
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +2 -2
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +2 -2
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
- package/tokens-next-private/js/base/size/size.js +0 -23
- package/tokens-next-private/js/base/typography/typography.js +0 -12
- package/tokens-next-private/js/functional/size/border.js +0 -24
- package/tokens-next-private/js/functional/size/breakpoints.js +0 -10
- package/tokens-next-private/js/functional/size/size-coarse.js +0 -19
- package/tokens-next-private/js/functional/size/size-fine.js +0 -19
- package/tokens-next-private/js/functional/size/size.js +0 -93
- package/tokens-next-private/js/functional/size/viewport.js +0 -10
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +0 -745
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +0 -745
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +0 -745
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +0 -745
- package/tokens-next-private/js/functional/themes/dark.js +0 -745
- package/tokens-next-private/js/functional/themes/light-colorblind.js +0 -743
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +0 -743
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +0 -743
- package/tokens-next-private/js/functional/themes/light.js +0 -743
- package/tokens-next-private/js/functional/typography/typography.js +0 -79
- package/tokens-next-private/json/base/size/size.json +0 -23
- package/tokens-next-private/json/base/typography/typography.json +0 -12
- package/tokens-next-private/json/functional/size/border.json +0 -24
- package/tokens-next-private/json/functional/size/breakpoints.json +0 -10
- package/tokens-next-private/json/functional/size/size-coarse.json +0 -19
- package/tokens-next-private/json/functional/size/size-fine.json +0 -19
- package/tokens-next-private/json/functional/size/size.json +0 -93
- package/tokens-next-private/json/functional/size/viewport.json +0 -10
- package/tokens-next-private/json/functional/themes/dark-colorblind.json +0 -745
- package/tokens-next-private/json/functional/themes/dark-dimmed.json +0 -745
- package/tokens-next-private/json/functional/themes/dark-high-contrast.json +0 -745
- package/tokens-next-private/json/functional/themes/dark-tritanopia.json +0 -745
- package/tokens-next-private/json/functional/themes/dark.json +0 -745
- package/tokens-next-private/json/functional/themes/light-colorblind.json +0 -743
- package/tokens-next-private/json/functional/themes/light-high-contrast.json +0 -743
- package/tokens-next-private/json/functional/themes/light-tritanopia.json +0 -743
- package/tokens-next-private/json/functional/themes/light.json +0 -743
- package/tokens-next-private/json/functional/typography/typography.json +0 -79
- package/tokens-next-private/ts/base/size/size.ts +0 -23
- package/tokens-next-private/ts/base/typography/typography.ts +0 -12
- package/tokens-next-private/ts/functional/size/border.ts +0 -24
- package/tokens-next-private/ts/functional/size/breakpoints.ts +0 -10
- package/tokens-next-private/ts/functional/size/size-coarse.ts +0 -19
- package/tokens-next-private/ts/functional/size/size-fine.ts +0 -19
- package/tokens-next-private/ts/functional/size/size.ts +0 -93
- package/tokens-next-private/ts/functional/size/viewport.ts +0 -10
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +0 -745
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +0 -745
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +0 -745
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +0 -745
- package/tokens-next-private/ts/functional/themes/dark.ts +0 -745
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +0 -743
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +0 -743
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +0 -743
- package/tokens-next-private/ts/functional/themes/light.ts +0 -743
- package/tokens-next-private/ts/functional/typography/typography.ts +0 -79
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +0 -127
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +0 -144
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +0 -652
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +0 -94
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
exports.default = {
|
|
2
|
-
control: {
|
|
3
|
-
minTarget: {
|
|
4
|
-
fine: "1rem",
|
|
5
|
-
coarse: "2.75rem",
|
|
6
|
-
},
|
|
7
|
-
xsmall: {
|
|
8
|
-
size: "1.5rem",
|
|
9
|
-
lineBoxHeight: "1.25rem",
|
|
10
|
-
paddingBlock: "calc((1.5rem - 1.25rem) / 2)",
|
|
11
|
-
paddingInline: {
|
|
12
|
-
condensed: "0.25rem",
|
|
13
|
-
normal: "0.5rem",
|
|
14
|
-
spacious: "0.75rem",
|
|
15
|
-
},
|
|
16
|
-
gap: "0.25rem",
|
|
17
|
-
},
|
|
18
|
-
small: {
|
|
19
|
-
size: "1.75rem",
|
|
20
|
-
lineBoxHeight: "1.25rem",
|
|
21
|
-
paddingBlock: "calc((1.75rem - 1.25rem) / 2)",
|
|
22
|
-
paddingInline: {
|
|
23
|
-
condensed: "0.5rem",
|
|
24
|
-
normal: "0.75rem",
|
|
25
|
-
},
|
|
26
|
-
gap: "0.25rem",
|
|
27
|
-
},
|
|
28
|
-
medium: {
|
|
29
|
-
size: "2rem",
|
|
30
|
-
lineBoxHeight: "1.25rem",
|
|
31
|
-
paddingBlock: "calc((2rem - 1.25rem) / 2)",
|
|
32
|
-
paddingInline: {
|
|
33
|
-
condensed: "0.5rem",
|
|
34
|
-
normal: "0.75rem",
|
|
35
|
-
spacious: "1rem",
|
|
36
|
-
},
|
|
37
|
-
gap: "0.5rem",
|
|
38
|
-
},
|
|
39
|
-
large: {
|
|
40
|
-
size: "2.5rem",
|
|
41
|
-
lineBoxHeight: "1.25rem",
|
|
42
|
-
paddingBlock: "calc((2.5rem - 1.25rem) / 2)",
|
|
43
|
-
paddingInline: {
|
|
44
|
-
normal: "0.75rem",
|
|
45
|
-
spacious: "1rem",
|
|
46
|
-
},
|
|
47
|
-
gap: "0.5rem",
|
|
48
|
-
},
|
|
49
|
-
xlarge: {
|
|
50
|
-
size: "3rem",
|
|
51
|
-
lineBoxHeight: "1.25rem",
|
|
52
|
-
paddingBlock: "calc((3rem - 1.25rem) / 2)",
|
|
53
|
-
paddingInline: {
|
|
54
|
-
normal: "0.75rem",
|
|
55
|
-
spacious: "1rem",
|
|
56
|
-
},
|
|
57
|
-
gap: "0.5rem",
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
controlStack: {
|
|
61
|
-
small: {
|
|
62
|
-
gap: {
|
|
63
|
-
condensed: "0.5rem",
|
|
64
|
-
spacious: "1rem",
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
medium: {
|
|
68
|
-
gap: {
|
|
69
|
-
condensed: "0.5rem",
|
|
70
|
-
spacious: "0.75rem",
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
large: {
|
|
74
|
-
gap: {
|
|
75
|
-
auto: "0.5rem",
|
|
76
|
-
condensed: "0.5rem",
|
|
77
|
-
spacious: "0.75rem",
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
stack: {
|
|
82
|
-
padding: {
|
|
83
|
-
condensed: "0.5rem",
|
|
84
|
-
normal: "1rem",
|
|
85
|
-
spacious: "1.5rem",
|
|
86
|
-
},
|
|
87
|
-
gap: {
|
|
88
|
-
condensed: "0.5rem",
|
|
89
|
-
normal: "1rem",
|
|
90
|
-
spacious: "1.5rem",
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
exports.default = {
|
|
2
|
-
viewportRange: {
|
|
3
|
-
narrow: "(max-width: calc(48rem - 0.02px))",
|
|
4
|
-
narrowLandscape: "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
|
|
5
|
-
regular: "(min-width: 48rem)",
|
|
6
|
-
wide: "(min-width: 90rem)",
|
|
7
|
-
portrait: "(orientation: portrait)",
|
|
8
|
-
landscape: "(orientation: landscape)",
|
|
9
|
-
},
|
|
10
|
-
};
|