@atlaskit/tokens 1.1.0 → 1.2.1

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 (74) hide show
  1. package/CHANGELOG.md +14 -2
  2. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +134 -0
  3. package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +29 -243
  4. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +41 -41
  5. package/dist/cjs/artifacts/theme-import-map.js +6 -1
  6. package/dist/cjs/artifacts/themes/atlassian-shape.js +13 -0
  7. package/dist/cjs/artifacts/token-default-values.js +9 -1
  8. package/dist/cjs/artifacts/token-names.js +9 -1
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +190 -0
  10. package/dist/cjs/entry-points/tokens-raw.js +8 -1
  11. package/dist/cjs/get-token-value.js +1 -1
  12. package/dist/cjs/get-token.js +1 -1
  13. package/dist/cjs/palettes/shape-palette.js +70 -0
  14. package/dist/cjs/palettes/spacing-scale.js +14 -17
  15. package/dist/cjs/palettes/typography-palette.js +20 -20
  16. package/dist/cjs/theme-config.js +9 -1
  17. package/dist/cjs/tokens/atlassian-shape/shape.js +44 -0
  18. package/dist/cjs/tokens/default/shape/shape.js +80 -0
  19. package/dist/cjs/version.json +1 -1
  20. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +127 -0
  21. package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +29 -243
  22. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +41 -41
  23. package/dist/es2019/artifacts/theme-import-map.js +4 -2
  24. package/dist/es2019/artifacts/themes/atlassian-shape.js +17 -0
  25. package/dist/es2019/artifacts/token-default-values.js +9 -1
  26. package/dist/es2019/artifacts/token-names.js +9 -1
  27. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +183 -0
  28. package/dist/es2019/entry-points/tokens-raw.js +2 -1
  29. package/dist/es2019/get-token-value.js +1 -1
  30. package/dist/es2019/get-token.js +1 -1
  31. package/dist/es2019/palettes/shape-palette.js +63 -0
  32. package/dist/es2019/palettes/spacing-scale.js +14 -17
  33. package/dist/es2019/palettes/typography-palette.js +20 -20
  34. package/dist/es2019/theme-config.js +9 -1
  35. package/dist/es2019/tokens/atlassian-shape/shape.js +37 -0
  36. package/dist/es2019/tokens/default/shape/shape.js +73 -0
  37. package/dist/es2019/version.json +1 -1
  38. package/dist/esm/artifacts/palettes-raw/shape-palette.js +127 -0
  39. package/dist/esm/artifacts/palettes-raw/spacing-scale.js +29 -243
  40. package/dist/esm/artifacts/palettes-raw/typography-palette.js +41 -41
  41. package/dist/esm/artifacts/theme-import-map.js +5 -1
  42. package/dist/esm/artifacts/themes/atlassian-shape.js +6 -0
  43. package/dist/esm/artifacts/token-default-values.js +9 -1
  44. package/dist/esm/artifacts/token-names.js +9 -1
  45. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +183 -0
  46. package/dist/esm/entry-points/tokens-raw.js +2 -1
  47. package/dist/esm/get-token-value.js +1 -1
  48. package/dist/esm/get-token.js +1 -1
  49. package/dist/esm/palettes/shape-palette.js +63 -0
  50. package/dist/esm/palettes/spacing-scale.js +14 -17
  51. package/dist/esm/palettes/typography-palette.js +20 -20
  52. package/dist/esm/theme-config.js +9 -1
  53. package/dist/esm/tokens/atlassian-shape/shape.js +37 -0
  54. package/dist/esm/tokens/default/shape/shape.js +73 -0
  55. package/dist/esm/version.json +1 -1
  56. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +22 -0
  57. package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
  58. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  59. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  60. package/dist/types/artifacts/themes/atlassian-shape.d.ts +7 -0
  61. package/dist/types/artifacts/token-default-values.d.ts +9 -1
  62. package/dist/types/artifacts/token-names.d.ts +17 -1
  63. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +29 -0
  64. package/dist/types/entry-points/tokens-raw.d.ts +1 -0
  65. package/dist/types/palettes/shape-palette.d.ts +61 -0
  66. package/dist/types/palettes/spacing-scale.d.ts +14 -14
  67. package/dist/types/theme-config.d.ts +5 -7
  68. package/dist/types/tokens/atlassian-shape/shape.d.ts +7 -0
  69. package/dist/types/tokens/default/shape/shape.d.ts +3 -0
  70. package/dist/types/types.d.ts +32 -13
  71. package/figma/atlassian-shape.json +78 -0
  72. package/package.json +1 -1
  73. package/report.api.md +23 -4
  74. package/tmp/api-report-tmp.d.ts +23 -6
@@ -6,94 +6,91 @@ var baseSpacingTokens = {
6
6
  Space0: {
7
7
  value: '0',
8
8
  attributes: {
9
- group: 'scale'
9
+ group: 'spacing'
10
10
  }
11
11
  },
12
12
  Space025: {
13
13
  value: '0.125rem',
14
14
  attributes: {
15
- group: 'scale'
15
+ group: 'spacing'
16
16
  }
17
17
  },
18
18
  Space050: {
19
19
  value: '0.25rem',
20
20
  attributes: {
21
- group: 'scale'
21
+ group: 'spacing'
22
22
  }
23
23
  },
24
24
  Space075: {
25
25
  value: '0.375rem',
26
26
  attributes: {
27
- group: 'scale'
27
+ group: 'spacing'
28
28
  }
29
29
  },
30
30
  Space100: {
31
31
  value: '0.5rem',
32
32
  attributes: {
33
- group: 'scale'
33
+ group: 'spacing'
34
34
  }
35
35
  },
36
36
  Space150: {
37
37
  value: '0.75rem',
38
38
  attributes: {
39
- group: 'scale'
39
+ group: 'spacing'
40
40
  }
41
41
  },
42
42
  Space200: {
43
43
  value: '1rem',
44
44
  attributes: {
45
- group: 'scale'
45
+ group: 'spacing'
46
46
  }
47
47
  },
48
48
  Space250: {
49
49
  value: '1.25rem',
50
50
  attributes: {
51
- group: 'scale'
51
+ group: 'spacing'
52
52
  }
53
53
  },
54
54
  Space300: {
55
55
  value: '1.5rem',
56
56
  attributes: {
57
- group: 'scale'
57
+ group: 'spacing'
58
58
  }
59
59
  },
60
60
  Space400: {
61
61
  value: '2rem',
62
62
  attributes: {
63
- group: 'scale'
63
+ group: 'spacing'
64
64
  }
65
65
  },
66
66
  Space500: {
67
67
  value: '2.5rem',
68
68
  attributes: {
69
- group: 'scale'
69
+ group: 'spacing'
70
70
  }
71
71
  },
72
72
  Space600: {
73
73
  value: '3rem',
74
74
  attributes: {
75
- group: 'scale'
75
+ group: 'spacing'
76
76
  }
77
77
  },
78
78
  Space800: {
79
79
  value: '4rem',
80
80
  attributes: {
81
- group: 'scale'
81
+ group: 'spacing'
82
82
  },
83
83
  pixelValue: '64px'
84
84
  },
85
85
  Space1000: {
86
86
  value: '5rem',
87
87
  attributes: {
88
- group: 'scale'
88
+ group: 'spacing'
89
89
  },
90
90
  pixelValue: '80px'
91
91
  }
92
92
  };
93
93
  var spacingPalette = {
94
- spacing: {
95
- scale: baseSpacingTokens
96
- },
97
94
  space: baseSpacingTokens
98
95
  };
99
96
  export default spacingPalette;
@@ -6,37 +6,37 @@ var lineHeightScale = {
6
6
  LineHeight100: {
7
7
  value: '16px',
8
8
  attributes: {
9
- group: 'scale'
9
+ group: 'typography'
10
10
  }
11
11
  },
12
12
  LineHeight200: {
13
13
  value: '20px',
14
14
  attributes: {
15
- group: 'scale'
15
+ group: 'typography'
16
16
  }
17
17
  },
18
18
  LineHeight300: {
19
19
  value: '24px',
20
20
  attributes: {
21
- group: 'scale'
21
+ group: 'typography'
22
22
  }
23
23
  },
24
24
  LineHeight400: {
25
25
  value: '28px',
26
26
  attributes: {
27
- group: 'scale'
27
+ group: 'typography'
28
28
  }
29
29
  },
30
30
  LineHeight500: {
31
31
  value: '32px',
32
32
  attributes: {
33
- group: 'scale'
33
+ group: 'typography'
34
34
  }
35
35
  },
36
36
  LineHeight600: {
37
37
  value: '40px',
38
38
  attributes: {
39
- group: 'scale'
39
+ group: 'typography'
40
40
  }
41
41
  }
42
42
  }
@@ -46,25 +46,25 @@ var fontWeightScale = {
46
46
  FontWeightRegular: {
47
47
  value: '400',
48
48
  attributes: {
49
- group: 'scale'
49
+ group: 'typography'
50
50
  }
51
51
  },
52
52
  FontWeightMedium: {
53
53
  value: '500',
54
54
  attributes: {
55
- group: 'scale'
55
+ group: 'typography'
56
56
  }
57
57
  },
58
58
  FontWeightSemiBold: {
59
59
  value: '600',
60
60
  attributes: {
61
- group: 'scale'
61
+ group: 'typography'
62
62
  }
63
63
  },
64
64
  FontWeightBold: {
65
65
  value: '700',
66
66
  attributes: {
67
- group: 'scale'
67
+ group: 'typography'
68
68
  }
69
69
  }
70
70
  }
@@ -74,13 +74,13 @@ var fontFamilyPalette = {
74
74
  FontFamilySans: {
75
75
  value: "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
76
76
  attributes: {
77
- group: 'scale'
77
+ group: 'typography'
78
78
  }
79
79
  },
80
80
  FontFamilyMonospace: {
81
81
  value: "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
82
82
  attributes: {
83
- group: 'scale'
83
+ group: 'typography'
84
84
  }
85
85
  }
86
86
  }
@@ -90,49 +90,49 @@ var fontSizeScale = {
90
90
  FontSize050: {
91
91
  value: '11px',
92
92
  attributes: {
93
- group: 'scale'
93
+ group: 'typography'
94
94
  }
95
95
  },
96
96
  FontSize075: {
97
97
  value: '12px',
98
98
  attributes: {
99
- group: 'scale'
99
+ group: 'typography'
100
100
  }
101
101
  },
102
102
  FontSize100: {
103
103
  value: '14px',
104
104
  attributes: {
105
- group: 'scale'
105
+ group: 'typography'
106
106
  }
107
107
  },
108
108
  FontSize200: {
109
109
  value: '16px',
110
110
  attributes: {
111
- group: 'scale'
111
+ group: 'typography'
112
112
  }
113
113
  },
114
114
  FontSize300: {
115
115
  value: '20px',
116
116
  attributes: {
117
- group: 'scale'
117
+ group: 'typography'
118
118
  }
119
119
  },
120
120
  FontSize400: {
121
121
  value: '24px',
122
122
  attributes: {
123
- group: 'scale'
123
+ group: 'typography'
124
124
  }
125
125
  },
126
126
  FontSize500: {
127
127
  value: '29px',
128
128
  attributes: {
129
- group: 'scale'
129
+ group: 'typography'
130
130
  }
131
131
  },
132
132
  FontSize600: {
133
133
  value: '35px',
134
134
  attributes: {
135
- group: 'scale'
135
+ group: 'typography'
136
136
  }
137
137
  }
138
138
  }
@@ -27,7 +27,7 @@ export var themeColorModes = ['light', 'dark', 'auto'];
27
27
  *
28
28
  * These ids must be kebab case
29
29
  */
30
- export var themeIds = ['light', 'dark', 'legacy-light', 'legacy-dark', 'spacing', 'typography'];
30
+ export var themeIds = ['light', 'dark', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape'];
31
31
  var themeConfig = {
32
32
  'atlassian-light': {
33
33
  id: 'light',
@@ -80,6 +80,14 @@ var themeConfig = {
80
80
  attributes: {
81
81
  type: 'typography'
82
82
  }
83
+ },
84
+ 'atlassian-shape': {
85
+ id: 'shape',
86
+ displayName: 'Atlassian Shape',
87
+ palette: 'shapePalette',
88
+ attributes: {
89
+ type: 'shape'
90
+ }
83
91
  }
84
92
  };
85
93
  export default themeConfig;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * This is combined with the attribute schema.
3
+ * @link 'file:../default/shape/shape.tsx'
4
+ */
5
+ var shape = {
6
+ border: {
7
+ width: {
8
+ '050': {
9
+ value: 'Size050'
10
+ },
11
+ '100': {
12
+ value: 'Size100'
13
+ }
14
+ },
15
+ radius: {
16
+ '050': {
17
+ value: 'Radius050'
18
+ },
19
+ '100': {
20
+ value: 'Radius100'
21
+ },
22
+ '200': {
23
+ value: 'Radius200'
24
+ },
25
+ '300': {
26
+ value: 'Radius300'
27
+ },
28
+ '400': {
29
+ value: 'Radius400'
30
+ },
31
+ round: {
32
+ value: 'RadiusCircle'
33
+ }
34
+ }
35
+ }
36
+ };
37
+ export default shape;
@@ -0,0 +1,73 @@
1
+ var shape = {
2
+ border: {
3
+ width: {
4
+ '050': {
5
+ attributes: {
6
+ group: 'shape',
7
+ state: 'experimental',
8
+ introduced: '1.1.0',
9
+ description: 'Experimental, description needs to be amended'
10
+ }
11
+ },
12
+ '100': {
13
+ attributes: {
14
+ group: 'shape',
15
+ state: 'experimental',
16
+ introduced: '1.1.0',
17
+ description: 'Experimental, description needs to be amended'
18
+ }
19
+ }
20
+ },
21
+ radius: {
22
+ '050': {
23
+ attributes: {
24
+ group: 'shape',
25
+ state: 'experimental',
26
+ introduced: '1.1.0',
27
+ description: 'Experimental, description needs to be amended'
28
+ }
29
+ },
30
+ '100': {
31
+ attributes: {
32
+ group: 'shape',
33
+ state: 'experimental',
34
+ introduced: '1.1.0',
35
+ description: 'Experimental, description needs to be amended'
36
+ }
37
+ },
38
+ '200': {
39
+ attributes: {
40
+ group: 'shape',
41
+ state: 'experimental',
42
+ introduced: '1.1.0',
43
+ description: 'Experimental, description needs to be amended'
44
+ }
45
+ },
46
+ '300': {
47
+ attributes: {
48
+ group: 'shape',
49
+ state: 'experimental',
50
+ introduced: '1.1.0',
51
+ description: 'Experimental, description needs to be amended'
52
+ }
53
+ },
54
+ '400': {
55
+ attributes: {
56
+ group: 'shape',
57
+ state: 'experimental',
58
+ introduced: '1.1.0',
59
+ description: 'Experimental, description needs to be amended'
60
+ }
61
+ },
62
+ round: {
63
+ attributes: {
64
+ group: 'shape',
65
+ state: 'experimental',
66
+ introduced: '1.1.0',
67
+ description: 'Experimental, description needs to be amended'
68
+ }
69
+ }
70
+ }
71
+ }
72
+ };
73
+ export default shape;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -0,0 +1,22 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::f260aa650535ab5be564f74e1ff1a157>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const tokens: {
7
+ value: string;
8
+ attributes: {
9
+ group: string;
10
+ };
11
+ filePath: string;
12
+ isSource: boolean;
13
+ original: {
14
+ value: string;
15
+ attributes: {
16
+ group: string;
17
+ };
18
+ };
19
+ name: string;
20
+ path: string[];
21
+ }[];
22
+ export default tokens;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::496467b0392d344d04df137d9d8edf4c>>
3
+ * @codegen <<SignedSource::1599e85262f34ecc7fbda0662bc858cb>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::04c90c279da3841c8c8952b13bddb31b>>
3
+ * @codegen <<SignedSource::15f0ab59b776fd0726847c173399dd26>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::dca5807b567cf95fcec4906be228f65f>>
9
+ * @codegen <<SignedSource::ce4463df8e613cb4c4a8b24907ce95ae>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  import { ThemeIds } from '../theme-config';
@@ -0,0 +1,7 @@
1
+ declare const _default: "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-radius-050: 0.125rem;\n --ds-radius-100: 0.25rem;\n --ds-radius-200: 0.5rem;\n --ds-radius-300: 0.75rem;\n --ds-radius-400: 1rem;\n --ds-radius-round: 50%;\n --ds-width-050: 0.0625rem;\n --ds-width-100: 0.125rem;\n}\n";
2
+ /**
3
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
4
+ * @codegen <<SignedSource::309f92a792656831b0e137b75ca1156f>>
5
+ * @codegenCommand yarn build tokens
6
+ */
7
+ export default _default;
@@ -4,10 +4,18 @@
4
4
  * Token names mapped to their value in the default Atlassian themes ('light').
5
5
  * These default values are used by the Babel plugin to optionally provide automatic fallbacks.
6
6
  *
7
- * @codegen <<SignedSource::1481aae8495313f724d4e6c09ccaac8d>>
7
+ * @codegen <<SignedSource::f5109afc580f9e67007907726883450e>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  declare const defaultTokenValues: {
11
+ readonly 'border.radius.050': "0.125rem";
12
+ readonly 'border.radius.100': "0.25rem";
13
+ readonly 'border.radius.200': "0.5rem";
14
+ readonly 'border.radius.300': "0.75rem";
15
+ readonly 'border.radius.400': "1rem";
16
+ readonly 'border.radius.round': "50%";
17
+ readonly 'border.width.050': "0.0625rem";
18
+ readonly 'border.width.100': "0.125rem";
11
19
  readonly 'color.text': "#172B4D";
12
20
  readonly 'color.text.accent.red': "#AE2A19";
13
21
  readonly 'color.text.accent.red.bolder': "#601E16";
@@ -1,9 +1,17 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::7d8f37c15df01017e141b2e709521993>>
3
+ * @codegen <<SignedSource::0d28771b28a7bf28109534471c1383d4>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
7
+ readonly 'border.radius.050': "--ds-radius-050";
8
+ readonly 'border.radius.100': "--ds-radius-100";
9
+ readonly 'border.radius.200': "--ds-radius-200";
10
+ readonly 'border.radius.300': "--ds-radius-300";
11
+ readonly 'border.radius.400': "--ds-radius-400";
12
+ readonly 'border.radius.round': "--ds-radius-round";
13
+ readonly 'border.width.050': "--ds-width-050";
14
+ readonly 'border.width.100': "--ds-width-100";
7
15
  readonly 'color.text': "--ds-text";
8
16
  readonly 'color.text.accent.red': "--ds-text-accent-red";
9
17
  readonly 'color.text.accent.red.bolder': "--ds-text-accent-red-bolder";
@@ -326,6 +334,14 @@ declare const tokens: {
326
334
  readonly 'font.lineHeight.600': "--ds-font-lineHeight-600";
327
335
  };
328
336
  export declare type CSSTokenMap = {
337
+ 'border.radius.050': 'var(--ds-radius-050)';
338
+ 'border.radius.100': 'var(--ds-radius-100)';
339
+ 'border.radius.200': 'var(--ds-radius-200)';
340
+ 'border.radius.300': 'var(--ds-radius-300)';
341
+ 'border.radius.400': 'var(--ds-radius-400)';
342
+ 'border.radius.round': 'var(--ds-radius-round)';
343
+ 'border.width.050': 'var(--ds-width-050)';
344
+ 'border.width.100': 'var(--ds-width-100)';
329
345
  'color.text': 'var(--ds-text)';
330
346
  'color.text.accent.red': 'var(--ds-text-accent-red)';
331
347
  'color.text.accent.red.bolder': 'var(--ds-text-accent-red-bolder)';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::c9a10991e5bb0b7dbbb35a5f644bceb0>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const tokens: {
7
+ attributes: {
8
+ group: string;
9
+ state: string;
10
+ introduced: string;
11
+ description: string;
12
+ };
13
+ value: string;
14
+ filePath: string;
15
+ isSource: boolean;
16
+ original: {
17
+ attributes: {
18
+ group: string;
19
+ state: string;
20
+ introduced: string;
21
+ description: string;
22
+ };
23
+ value: string;
24
+ };
25
+ name: string;
26
+ path: string[];
27
+ cleanName: string;
28
+ }[];
29
+ export default tokens;
@@ -2,3 +2,4 @@ export { default as light } from '../artifacts/tokens-raw/atlassian-light';
2
2
  export { default as dark } from '../artifacts/tokens-raw/atlassian-dark';
3
3
  export { default as spacing } from '../artifacts/tokens-raw/atlassian-spacing';
4
4
  export { default as typography } from '../artifacts/tokens-raw/atlassian-typography';
5
+ export { default as shape } from '../artifacts/tokens-raw/atlassian-shape';
@@ -0,0 +1,61 @@
1
+ import type { ShapeScaleTokenSchema } from '../types';
2
+ /**
3
+ * Types are inferred from the base tokens below
4
+ */
5
+ export declare type ShapePaletteToken = BaseRadiusToken | BaseSizeToken;
6
+ export declare type BaseSizeToken = keyof typeof baseSizeTokens;
7
+ export declare type BaseRadiusToken = keyof typeof baseRadiusTokens;
8
+ declare const baseSizeTokens: {
9
+ readonly Size050: {
10
+ readonly value: "0.0625rem";
11
+ readonly attributes: {
12
+ readonly group: "shape";
13
+ };
14
+ };
15
+ readonly Size100: {
16
+ readonly value: "0.125rem";
17
+ readonly attributes: {
18
+ readonly group: "shape";
19
+ };
20
+ };
21
+ };
22
+ declare const baseRadiusTokens: {
23
+ readonly Radius050: {
24
+ readonly value: "0.125rem";
25
+ readonly attributes: {
26
+ readonly group: "shape";
27
+ };
28
+ };
29
+ readonly Radius100: {
30
+ readonly value: "0.25rem";
31
+ readonly attributes: {
32
+ readonly group: "shape";
33
+ };
34
+ };
35
+ readonly Radius200: {
36
+ readonly value: "0.5rem";
37
+ readonly attributes: {
38
+ readonly group: "shape";
39
+ };
40
+ };
41
+ readonly Radius300: {
42
+ readonly value: "0.75rem";
43
+ readonly attributes: {
44
+ readonly group: "shape";
45
+ };
46
+ };
47
+ readonly Radius400: {
48
+ readonly value: "1rem";
49
+ readonly attributes: {
50
+ readonly group: "shape";
51
+ };
52
+ };
53
+ readonly RadiusCircle: {
54
+ readonly value: "50%";
55
+ readonly attributes: {
56
+ readonly group: "shape";
57
+ };
58
+ };
59
+ };
60
+ declare const shapePalette: ShapeScaleTokenSchema<BaseRadiusToken, BaseSizeToken>;
61
+ export default shapePalette;