@primer/primitives 7.7.0-rc.053d36d → 7.8.0

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 (44) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/README.md +2 -2
  3. package/package.json +12 -8
  4. package/tokens-v2-private/css/tokens/base/size/size.css +24 -0
  5. package/tokens-v2-private/css/tokens/base/typography/typography.css +11 -0
  6. package/tokens-v2-private/css/tokens/functional/size/border.css +17 -0
  7. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +13 -0
  8. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +10 -0
  9. package/tokens-v2-private/css/tokens/functional/size/size.css +54 -0
  10. package/tokens-v2-private/css/tokens/functional/size/viewport.css +6 -0
  11. package/tokens-v2-private/css/tokens/functional/typography/typography.css +47 -0
  12. package/tokens-v2-private/docs/docValues.json +2210 -0
  13. package/tokens-v2-private/js/module/tokens/base/size/size.js +266 -0
  14. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +77 -0
  15. package/tokens-v2-private/js/module/tokens/functional/size/border.js +165 -0
  16. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +101 -0
  17. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +73 -0
  18. package/tokens-v2-private/js/module/tokens/functional/size/size.js +824 -0
  19. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +101 -0
  20. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +811 -0
  21. package/tokens-v2-private/js/tokens/base/size/size.js +22 -0
  22. package/tokens-v2-private/js/tokens/base/typography/typography.js +9 -0
  23. package/tokens-v2-private/js/tokens/functional/size/border.js +15 -0
  24. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +11 -0
  25. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +8 -0
  26. package/tokens-v2-private/js/tokens/functional/size/size.js +52 -0
  27. package/tokens-v2-private/js/tokens/functional/size/viewport.js +11 -0
  28. package/tokens-v2-private/js/tokens/functional/typography/typography.js +45 -0
  29. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +29 -0
  30. package/tokens-v2-private/ts/tokens/base/size/size.js +28 -0
  31. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +18 -0
  32. package/tokens-v2-private/ts/tokens/base/typography/typography.js +17 -0
  33. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +26 -0
  34. package/tokens-v2-private/ts/tokens/functional/size/border.js +25 -0
  35. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +18 -0
  36. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +17 -0
  37. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +27 -0
  38. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +26 -0
  39. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +101 -0
  40. package/tokens-v2-private/ts/tokens/functional/size/size.js +100 -0
  41. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +18 -0
  42. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +17 -0
  43. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +130 -0
  44. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +129 -0
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const BaseSize4 = "0.25rem";
7
+ export const BaseSize8 = "0.5rem";
8
+ export const BaseSize12 = "0.75rem";
9
+ export const BaseSize16 = "1rem";
10
+ export const BaseSize20 = "1.25rem";
11
+ export const BaseSize24 = "1.5rem";
12
+ export const BaseSize28 = "1.75rem";
13
+ export const BaseSize32 = "2rem";
14
+ export const BaseSize36 = "2.25rem";
15
+ export const BaseSize40 = "2.5rem";
16
+ export const BaseSize44 = "2.75rem";
17
+ export const BaseSize48 = "3rem";
18
+ export const BaseSize64 = "4rem";
19
+ export const BaseSize80 = "5rem";
20
+ export const BaseSize96 = "6rem";
21
+ export const BaseSize112 = "7rem";
22
+ export const BaseSize128 = "8rem";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const BaseTextWeightLight = "300";
7
+ export const BaseTextWeightNormal = "400";
8
+ export const BaseTextWeightMedium = "500";
9
+ export const BaseTextWeightSemibold = "600";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerBorderInsetThin = "inset 0 0 0 max(1px, 0.0625rem)";
7
+ export const PrimerBorderInsetNormal = "inset 0 0 0 max(2px, 0.125rem)";
8
+ export const PrimerBorderInsetThick = "inset 0 0 0 max(4px, 0.25rem)";
9
+ export const PrimerBorderWidthThin = "max(1px, 0.0625rem)";
10
+ export const PrimerBorderWidthNormal = "max(2px, 0.125rem)";
11
+ export const PrimerBorderWidthThick = "max(4px, 0.25rem)";
12
+ export const PrimerBorderRadiusSmall = "0.1875rem";
13
+ export const PrimerBorderRadiusMedium = "0.375rem";
14
+ export const PrimerBorderRadiusLarge = "0.75rem";
15
+ export const PrimerBorderRadiusFull = "100vh";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerBreakpointXsmall = "20rem";
7
+ export const PrimerBreakpointSmall = "34rem";
8
+ export const PrimerBreakpointMedium = "48rem";
9
+ export const PrimerBreakpointLarge = "63.25rem";
10
+ export const PrimerBreakpointXlarge = "80rem";
11
+ export const PrimerBreakpointXxlarge = "90rem";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerControlMinTargetAuto = "1rem";
7
+ export const PrimerControlStackSmallGapAuto = "0.5rem";
8
+ export const PrimerControlStackMediumGapAuto = "0.5rem";
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerControlMinTargetFine = "1rem";
7
+ export const PrimerControlMinTargetCoarse = "2.75rem";
8
+ export const PrimerControlXsmallSize = "1.5rem";
9
+ export const PrimerControlXsmallLineBoxHeight = "1.25rem";
10
+ export const PrimerControlXsmallPaddingBlock = "calc((1.5rem - 1.25rem) / 2)";
11
+ export const PrimerControlXsmallPaddingInlineCondensed = "0.25rem";
12
+ export const PrimerControlXsmallPaddingInlineNormal = "0.5rem";
13
+ export const PrimerControlXsmallPaddingInlineSpacious = "0.75rem";
14
+ export const PrimerControlXsmallGap = "0.25rem";
15
+ export const PrimerControlSmallSize = "1.75rem";
16
+ export const PrimerControlSmallLineBoxHeight = "1.25rem";
17
+ export const PrimerControlSmallPaddingBlock = "calc((1.75rem - 1.25rem) / 2)";
18
+ export const PrimerControlSmallPaddingInlineCondensed = "0.5rem";
19
+ export const PrimerControlSmallPaddingInlineNormal = "0.75rem";
20
+ export const PrimerControlSmallGap = "0.25rem";
21
+ export const PrimerControlMediumSize = "2rem";
22
+ export const PrimerControlMediumLineBoxHeight = "1.25rem";
23
+ export const PrimerControlMediumPaddingBlock = "calc((2rem - 1.25rem) / 2)";
24
+ export const PrimerControlMediumPaddingInlineCondensed = "0.5rem";
25
+ export const PrimerControlMediumPaddingInlineNormal = "0.75rem";
26
+ export const PrimerControlMediumPaddingInlineSpacious = "1rem";
27
+ export const PrimerControlMediumGap = "0.5rem";
28
+ export const PrimerControlLargeSize = "2.5rem";
29
+ export const PrimerControlLargeLineBoxHeight = "1.25rem";
30
+ export const PrimerControlLargePaddingBlock = "calc((2.5rem - 1.25rem) / 2)";
31
+ export const PrimerControlLargePaddingInlineNormal = "0.75rem";
32
+ export const PrimerControlLargePaddingInlineSpacious = "1rem";
33
+ export const PrimerControlLargeGap = "0.5rem";
34
+ export const PrimerControlXlargeSize = "3rem";
35
+ export const PrimerControlXlargeLineBoxHeight = "1.25rem";
36
+ export const PrimerControlXlargePaddingBlock = "calc((3rem - 1.25rem) / 2)";
37
+ export const PrimerControlXlargePaddingInlineNormal = "0.75rem";
38
+ export const PrimerControlXlargePaddingInlineSpacious = "1rem";
39
+ export const PrimerControlXlargeGap = "0.5rem";
40
+ export const PrimerControlStackSmallGapCondensed = "0.5rem";
41
+ export const PrimerControlStackSmallGapSpacious = "1rem";
42
+ export const PrimerControlStackMediumGapCondensed = "0.5rem";
43
+ export const PrimerControlStackMediumGapSpacious = "0.75rem";
44
+ export const PrimerControlStackLargeGapAuto = "0.5rem";
45
+ export const PrimerControlStackLargeGapCondensed = "0.5rem";
46
+ export const PrimerControlStackLargeGapSpacious = "0.75rem";
47
+ export const PrimerStackPaddingCondensed = "0.5rem";
48
+ export const PrimerStackPaddingNormal = "1rem";
49
+ export const PrimerStackPaddingSpacious = "1.5rem";
50
+ export const PrimerStackGapCondensed = "0.5rem";
51
+ export const PrimerStackGapNormal = "1rem";
52
+ export const PrimerStackGapSpacious = "1.5rem";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerViewportRangeNarrow = "(max-width: calc(48rem - 0.02px))";
7
+ export const PrimerViewportRangeNarrowLandscape = "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))";
8
+ export const PrimerViewportRangeRegular = "(min-width: 48rem)";
9
+ export const PrimerViewportRangeWide = "(min-width: 90rem)";
10
+ export const PrimerViewportRangePortrait = "(orientation: portrait)";
11
+ export const PrimerViewportRangeLandscape = "(orientation: landscape)";
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ export const PrimerFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
7
+ export const PrimerFontStackSansSerif = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
8
+ export const PrimerFontStackMonospace = "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace";
9
+ export const PrimerTextDisplayLineBoxHeight = "3.5rem";
10
+ export const PrimerTextDisplaySize = "2.5rem";
11
+ export const PrimerTextDisplayLineHeight = "3.5rem";
12
+ export const PrimerTextDisplayWeight = "500";
13
+ export const PrimerTextDisplayShorthand = {"fontWeight":"500","fontSize":"2.5rem","lineHeight":"3.5rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
14
+ export const PrimerTextTitleSizeLarge = "2rem";
15
+ export const PrimerTextTitleSizeMedium = "1.25rem";
16
+ export const PrimerTextTitleLineHeightLarge = "3rem";
17
+ export const PrimerTextTitleLineHeightMedium = "2rem";
18
+ export const PrimerTextTitleWeight = "600";
19
+ export const PrimerTextTitleShorthandLarge = {"fontWeight":"600","fontSize":"2rem","lineHeight":"3rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
20
+ export const PrimerTextTitleShorthandMedium = {"fontWeight":"600","fontSize":"1.25rem","lineHeight":"2rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
21
+ export const PrimerTextSubtitleSize = "1.25rem";
22
+ export const PrimerTextSubtitleLineHeight = "2rem";
23
+ export const PrimerTextSubtitleWeight = "400";
24
+ export const PrimerTextSubtitleShorthand = {"fontWeight":"400","fontSize":"1.25rem","lineHeight":"2rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
25
+ export const PrimerTextBodySizeLarge = "1rem";
26
+ export const PrimerTextBodySizeMedium = "0.875rem";
27
+ export const PrimerTextBodySizeSmall = "0.75rem";
28
+ export const PrimerTextBodyLineHeightLarge = "1.5rem";
29
+ export const PrimerTextBodyLineHeightMedium = "1.25rem";
30
+ export const PrimerTextBodyLineHeightSmall = "1.25rem";
31
+ export const PrimerTextBodyWeight = "400";
32
+ export const PrimerTextBodyShorthandLarge = {"fontWeight":"400","fontSize":"1rem","lineHeight":"1.5rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
33
+ export const PrimerTextBodyShorthandMedium = {"fontWeight":"400","fontSize":"0.875rem","lineHeight":"1.25rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
34
+ export const PrimerTextBodyShorthandSmall = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"1.25rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
35
+ export const PrimerTextCaptionSize = "0.75rem";
36
+ export const PrimerTextCaptionLineHeight = "1rem";
37
+ export const PrimerTextCaptionWeight = "400";
38
+ export const PrimerTextCaptionShorthand = {"fontWeight":"400","fontSize":"0.75rem","lineHeight":"1rem","fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"};
39
+ export const PrimerTextCodeBlockSize = "0.8125rem";
40
+ export const PrimerTextCodeBlockLineHeight = "1.25rem";
41
+ export const PrimerTextCodeBlockWeight = "400";
42
+ export const PrimerTextCodeBlockShorthand = {"fontWeight":"400","fontSize":"0.8125rem","lineHeight":"1.25rem","fontFamily":"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace"};
43
+ export const PrimerTextCodeInlineSize = "0.9285em";
44
+ export const PrimerTextCodeInlineWeight = "400";
45
+ export const PrimerTextCodeInlineShorthand = {"fontWeight":"400","fontSize":"0.9285em","lineHeight":"inherit","fontFamily":"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace"};
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "base": {
8
+ "size": {
9
+ "4": string,
10
+ "8": string,
11
+ "12": string,
12
+ "16": string,
13
+ "20": string,
14
+ "24": string,
15
+ "28": string,
16
+ "32": string,
17
+ "36": string,
18
+ "40": string,
19
+ "44": string,
20
+ "48": string,
21
+ "64": string,
22
+ "80": string,
23
+ "96": string,
24
+ "112": string,
25
+ "128": string
26
+ }
27
+ }
28
+ }
29
+ export default tokens;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "base": {
8
+ "size": {
9
+ "4": "0.25rem",
10
+ "8": "0.5rem",
11
+ "12": "0.75rem",
12
+ "16": "1rem",
13
+ "20": "1.25rem",
14
+ "24": "1.5rem",
15
+ "28": "1.75rem",
16
+ "32": "2rem",
17
+ "36": "2.25rem",
18
+ "40": "2.5rem",
19
+ "44": "2.75rem",
20
+ "48": "3rem",
21
+ "64": "4rem",
22
+ "80": "5rem",
23
+ "96": "6rem",
24
+ "112": "7rem",
25
+ "128": "8rem"
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "base": {
8
+ "text": {
9
+ "weight": {
10
+ "light": string,
11
+ "normal": string,
12
+ "medium": string,
13
+ "semibold": string
14
+ }
15
+ }
16
+ }
17
+ }
18
+ export default tokens;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "base": {
8
+ "text": {
9
+ "weight": {
10
+ "light": "300",
11
+ "normal": "400",
12
+ "medium": "500",
13
+ "semibold": "600"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "primer": {
8
+ "borderInset": {
9
+ "thin": string,
10
+ "normal": string,
11
+ "thick": string
12
+ },
13
+ "borderWidth": {
14
+ "thin": string,
15
+ "normal": string,
16
+ "thick": string
17
+ },
18
+ "borderRadius": {
19
+ "small": string,
20
+ "medium": string,
21
+ "large": string,
22
+ "full": string
23
+ }
24
+ }
25
+ }
26
+ export default tokens;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "primer": {
8
+ "borderInset": {
9
+ "thin": "inset 0 0 0 max(1px, 0.0625rem)",
10
+ "normal": "inset 0 0 0 max(2px, 0.125rem)",
11
+ "thick": "inset 0 0 0 max(4px, 0.25rem)"
12
+ },
13
+ "borderWidth": {
14
+ "thin": "max(1px, 0.0625rem)",
15
+ "normal": "max(2px, 0.125rem)",
16
+ "thick": "max(4px, 0.25rem)"
17
+ },
18
+ "borderRadius": {
19
+ "small": "0.1875rem",
20
+ "medium": "0.375rem",
21
+ "large": "0.75rem",
22
+ "full": "100vh"
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "primer": {
8
+ "breakpoint": {
9
+ "xsmall": string,
10
+ "small": string,
11
+ "medium": string,
12
+ "large": string,
13
+ "xlarge": string,
14
+ "xxlarge": string
15
+ }
16
+ }
17
+ }
18
+ export default tokens;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "primer": {
8
+ "breakpoint": {
9
+ "xsmall": "20rem",
10
+ "small": "34rem",
11
+ "medium": "48rem",
12
+ "large": "63.25rem",
13
+ "xlarge": "80rem",
14
+ "xxlarge": "90rem"
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "primer": {
8
+ "control": {
9
+ "minTarget": {
10
+ "auto": string
11
+ }
12
+ },
13
+ "controlStack": {
14
+ "small": {
15
+ "gap": {
16
+ "auto": string
17
+ }
18
+ },
19
+ "medium": {
20
+ "gap": {
21
+ "auto": string
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ export default tokens;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "primer": {
8
+ "control": {
9
+ "minTarget": {
10
+ "auto": "1rem"
11
+ }
12
+ },
13
+ "controlStack": {
14
+ "small": {
15
+ "gap": {
16
+ "auto": "0.5rem"
17
+ }
18
+ },
19
+ "medium": {
20
+ "gap": {
21
+ "auto": "0.5rem"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "primer": {
8
+ "control": {
9
+ "minTarget": {
10
+ "fine": string,
11
+ "coarse": string
12
+ },
13
+ "xsmall": {
14
+ "size": string,
15
+ "lineBoxHeight": string,
16
+ "paddingBlock": string,
17
+ "paddingInline": {
18
+ "condensed": string,
19
+ "normal": string,
20
+ "spacious": string
21
+ },
22
+ "gap": string
23
+ },
24
+ "small": {
25
+ "size": string,
26
+ "lineBoxHeight": string,
27
+ "paddingBlock": string,
28
+ "paddingInline": {
29
+ "condensed": string,
30
+ "normal": string
31
+ },
32
+ "gap": string
33
+ },
34
+ "medium": {
35
+ "size": string,
36
+ "lineBoxHeight": string,
37
+ "paddingBlock": string,
38
+ "paddingInline": {
39
+ "condensed": string,
40
+ "normal": string,
41
+ "spacious": string
42
+ },
43
+ "gap": string
44
+ },
45
+ "large": {
46
+ "size": string,
47
+ "lineBoxHeight": string,
48
+ "paddingBlock": string,
49
+ "paddingInline": {
50
+ "normal": string,
51
+ "spacious": string
52
+ },
53
+ "gap": string
54
+ },
55
+ "xlarge": {
56
+ "size": string,
57
+ "lineBoxHeight": string,
58
+ "paddingBlock": string,
59
+ "paddingInline": {
60
+ "normal": string,
61
+ "spacious": string
62
+ },
63
+ "gap": string
64
+ }
65
+ },
66
+ "controlStack": {
67
+ "small": {
68
+ "gap": {
69
+ "condensed": string,
70
+ "spacious": string
71
+ }
72
+ },
73
+ "medium": {
74
+ "gap": {
75
+ "condensed": string,
76
+ "spacious": string
77
+ }
78
+ },
79
+ "large": {
80
+ "gap": {
81
+ "auto": string,
82
+ "condensed": string,
83
+ "spacious": string
84
+ }
85
+ }
86
+ },
87
+ "stack": {
88
+ "padding": {
89
+ "condensed": string,
90
+ "normal": string,
91
+ "spacious": string
92
+ },
93
+ "gap": {
94
+ "condensed": string,
95
+ "normal": string,
96
+ "spacious": string
97
+ }
98
+ }
99
+ }
100
+ }
101
+ export default tokens;
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "primer": {
8
+ "control": {
9
+ "minTarget": {
10
+ "fine": "1rem",
11
+ "coarse": "2.75rem"
12
+ },
13
+ "xsmall": {
14
+ "size": "1.5rem",
15
+ "lineBoxHeight": "1.25rem",
16
+ "paddingBlock": "calc((1.5rem - 1.25rem) / 2)",
17
+ "paddingInline": {
18
+ "condensed": "0.25rem",
19
+ "normal": "0.5rem",
20
+ "spacious": "0.75rem"
21
+ },
22
+ "gap": "0.25rem"
23
+ },
24
+ "small": {
25
+ "size": "1.75rem",
26
+ "lineBoxHeight": "1.25rem",
27
+ "paddingBlock": "calc((1.75rem - 1.25rem) / 2)",
28
+ "paddingInline": {
29
+ "condensed": "0.5rem",
30
+ "normal": "0.75rem"
31
+ },
32
+ "gap": "0.25rem"
33
+ },
34
+ "medium": {
35
+ "size": "2rem",
36
+ "lineBoxHeight": "1.25rem",
37
+ "paddingBlock": "calc((2rem - 1.25rem) / 2)",
38
+ "paddingInline": {
39
+ "condensed": "0.5rem",
40
+ "normal": "0.75rem",
41
+ "spacious": "1rem"
42
+ },
43
+ "gap": "0.5rem"
44
+ },
45
+ "large": {
46
+ "size": "2.5rem",
47
+ "lineBoxHeight": "1.25rem",
48
+ "paddingBlock": "calc((2.5rem - 1.25rem) / 2)",
49
+ "paddingInline": {
50
+ "normal": "0.75rem",
51
+ "spacious": "1rem"
52
+ },
53
+ "gap": "0.5rem"
54
+ },
55
+ "xlarge": {
56
+ "size": "3rem",
57
+ "lineBoxHeight": "1.25rem",
58
+ "paddingBlock": "calc((3rem - 1.25rem) / 2)",
59
+ "paddingInline": {
60
+ "normal": "0.75rem",
61
+ "spacious": "1rem"
62
+ },
63
+ "gap": "0.5rem"
64
+ }
65
+ },
66
+ "controlStack": {
67
+ "small": {
68
+ "gap": {
69
+ "condensed": "0.5rem",
70
+ "spacious": "1rem"
71
+ }
72
+ },
73
+ "medium": {
74
+ "gap": {
75
+ "condensed": "0.5rem",
76
+ "spacious": "0.75rem"
77
+ }
78
+ },
79
+ "large": {
80
+ "gap": {
81
+ "auto": "0.5rem",
82
+ "condensed": "0.5rem",
83
+ "spacious": "0.75rem"
84
+ }
85
+ }
86
+ },
87
+ "stack": {
88
+ "padding": {
89
+ "condensed": "0.5rem",
90
+ "normal": "1rem",
91
+ "spacious": "1.5rem"
92
+ },
93
+ "gap": {
94
+ "condensed": "0.5rem",
95
+ "normal": "1rem",
96
+ "spacious": "1.5rem"
97
+ }
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ declare const tokens: {
7
+ "primer": {
8
+ "viewportRange": {
9
+ "narrow": string,
10
+ "narrowLandscape": string,
11
+ "regular": string,
12
+ "wide": string,
13
+ "portrait": string,
14
+ "landscape": string
15
+ }
16
+ }
17
+ }
18
+ export default tokens;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 20 Apr 2022 17:00:28 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "primer": {
8
+ "viewportRange": {
9
+ "narrow": "(max-width: calc(48rem - 0.02px))",
10
+ "narrowLandscape": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
11
+ "regular": "(min-width: 48rem)",
12
+ "wide": "(min-width: 90rem)",
13
+ "portrait": "(orientation: portrait)",
14
+ "landscape": "(orientation: landscape)"
15
+ }
16
+ }
17
+ }