@atlaskit/tokens 8.0.0 → 8.1.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 (51) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +1 -16
  3. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  4. package/dist/cjs/artifacts/token-default-values.js +2 -1
  5. package/dist/cjs/artifacts/token-names.js +2 -1
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +25 -1
  7. package/dist/cjs/entry-points/token-metadata.codegen.js +6 -1
  8. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +1 -16
  9. package/dist/es2019/artifacts/themes/atlassian-shape.js +2 -1
  10. package/dist/es2019/artifacts/token-default-values.js +2 -1
  11. package/dist/es2019/artifacts/token-names.js +2 -1
  12. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +25 -1
  13. package/dist/es2019/entry-points/token-metadata.codegen.js +6 -1
  14. package/dist/esm/artifacts/palettes-raw/shape-palette.js +1 -16
  15. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  16. package/dist/esm/artifacts/token-default-values.js +2 -1
  17. package/dist/esm/artifacts/token-names.js +2 -1
  18. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +25 -1
  19. package/dist/esm/entry-points/token-metadata.codegen.js +6 -1
  20. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  21. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  22. package/dist/types/artifacts/token-default-values.d.ts +2 -1
  23. package/dist/types/artifacts/token-names.d.ts +3 -1
  24. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  25. package/dist/types/artifacts/types-internal.d.ts +2 -2
  26. package/dist/types/artifacts/types.d.ts +2 -2
  27. package/dist/types/entry-points/css-type-schema.codegen.d.ts +2 -2
  28. package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
  29. package/dist/types/types.d.ts +1 -0
  30. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +1 -1
  31. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  32. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +2 -1
  33. package/dist/types-ts4.5/artifacts/token-names.d.ts +3 -1
  34. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  35. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  36. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  37. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +2 -2
  38. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
  39. package/dist/types-ts4.5/types.d.ts +1 -0
  40. package/figma/atlassian-shape.json +12 -0
  41. package/package.json +8 -8
  42. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +0 -252
  43. package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +0 -252
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +0 -246
  45. package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +0 -246
  46. package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +0 -246
  47. package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +0 -246
  48. package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +0 -30
  49. package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +0 -30
  50. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +0 -30
  51. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +0 -30
@@ -1,252 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::4a6fe755c8ce27dedb961a7e2509999e>>
10
- * @codegenCommand yarn build tokens
11
- */
12
-
13
- var tokens = [{
14
- "attributes": {
15
- "group": "shape",
16
- "state": "active",
17
- "suggest": ["2px"],
18
- "introduced": "6.1.0",
19
- "description": "Used for small containers such as badges."
20
- },
21
- "value": "2px",
22
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
23
- "isSource": true,
24
- "original": {
25
- "attributes": {
26
- "group": "shape",
27
- "state": "active",
28
- "suggest": ["2px"],
29
- "introduced": "6.1.0",
30
- "description": "Used for small containers such as badges."
31
- },
32
- "value": "Radius02"
33
- },
34
- "name": "radius.xsmall",
35
- "path": ["radius", "xsmall"],
36
- "cleanName": "radius.xsmall"
37
- }, {
38
- "attributes": {
39
- "group": "shape",
40
- "state": "active",
41
- "suggest": ["4px"],
42
- "introduced": "6.1.0",
43
- "description": "Used for labels."
44
- },
45
- "value": "4px",
46
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
47
- "isSource": true,
48
- "original": {
49
- "attributes": {
50
- "group": "shape",
51
- "state": "active",
52
- "suggest": ["4px"],
53
- "introduced": "6.1.0",
54
- "description": "Used for labels."
55
- },
56
- "value": "Radius04"
57
- },
58
- "name": "radius.small",
59
- "path": ["radius", "small"],
60
- "cleanName": "radius.small"
61
- }, {
62
- "attributes": {
63
- "group": "shape",
64
- "state": "active",
65
- "suggest": ["6px"],
66
- "introduced": "6.1.0",
67
- "description": "Used for buttons and inputs."
68
- },
69
- "value": "6px",
70
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
71
- "isSource": true,
72
- "original": {
73
- "attributes": {
74
- "group": "shape",
75
- "state": "active",
76
- "suggest": ["6px"],
77
- "introduced": "6.1.0",
78
- "description": "Used for buttons and inputs."
79
- },
80
- "value": "Radius06"
81
- },
82
- "name": "radius.medium",
83
- "path": ["radius", "medium"],
84
- "cleanName": "radius.medium"
85
- }, {
86
- "attributes": {
87
- "group": "shape",
88
- "state": "active",
89
- "suggest": ["8px"],
90
- "introduced": "6.1.0",
91
- "description": "Used for cards and small containers."
92
- },
93
- "value": "12px",
94
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
95
- "isSource": true,
96
- "original": {
97
- "attributes": {
98
- "group": "shape",
99
- "state": "active",
100
- "suggest": ["8px"],
101
- "introduced": "6.1.0",
102
- "description": "Used for cards and small containers."
103
- },
104
- "value": "Radius12"
105
- },
106
- "name": "radius.large",
107
- "path": ["radius", "large"],
108
- "cleanName": "radius.large"
109
- }, {
110
- "attributes": {
111
- "group": "shape",
112
- "state": "active",
113
- "suggest": ["12px"],
114
- "introduced": "6.1.0",
115
- "description": "Used for modals and large containers."
116
- },
117
- "value": "16px",
118
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
119
- "isSource": true,
120
- "original": {
121
- "attributes": {
122
- "group": "shape",
123
- "state": "active",
124
- "suggest": ["12px"],
125
- "introduced": "6.1.0",
126
- "description": "Used for modals and large containers."
127
- },
128
- "value": "Radius16"
129
- },
130
- "name": "radius.xlarge",
131
- "path": ["radius", "xlarge"],
132
- "cleanName": "radius.xlarge"
133
- }, {
134
- "attributes": {
135
- "group": "shape",
136
- "state": "active",
137
- "suggest": ["50%"],
138
- "introduced": "6.1.0",
139
- "description": "Used for circular containers, like a rounded button."
140
- },
141
- "value": "9999px",
142
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
143
- "isSource": true,
144
- "original": {
145
- "attributes": {
146
- "group": "shape",
147
- "state": "active",
148
- "suggest": ["50%"],
149
- "introduced": "6.1.0",
150
- "description": "Used for circular containers, like a rounded button."
151
- },
152
- "value": "Radius99"
153
- },
154
- "name": "radius.full",
155
- "path": ["radius", "full"],
156
- "cleanName": "radius.full"
157
- }, {
158
- "attributes": {
159
- "group": "shape",
160
- "state": "active",
161
- "introduced": "6.2.0",
162
- "description": "Used for tiles only."
163
- },
164
- "value": "25%",
165
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
166
- "isSource": true,
167
- "original": {
168
- "attributes": {
169
- "group": "shape",
170
- "state": "active",
171
- "introduced": "6.2.0",
172
- "description": "Used for tiles only."
173
- },
174
- "value": "RadiusPercentage25"
175
- },
176
- "name": "radius.tile",
177
- "path": ["radius", "tile"],
178
- "cleanName": "radius.tile"
179
- }, {
180
- "attributes": {
181
- "group": "shape",
182
- "state": "active",
183
- "suggest": ["1px"],
184
- "introduced": "1.5.2",
185
- "description": "The default width for all standard component borders and dividers."
186
- },
187
- "value": "1px",
188
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
189
- "isSource": true,
190
- "original": {
191
- "attributes": {
192
- "group": "shape",
193
- "state": "active",
194
- "suggest": ["1px"],
195
- "introduced": "1.5.2",
196
- "description": "The default width for all standard component borders and dividers."
197
- },
198
- "value": "BorderWidth1"
199
- },
200
- "name": "border.width.[default]",
201
- "path": ["border", "width", "[default]"],
202
- "cleanName": "border.width"
203
- }, {
204
- "attributes": {
205
- "group": "shape",
206
- "state": "active",
207
- "suggest": ["2px"],
208
- "introduced": "6.1.0",
209
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
210
- },
211
- "value": "2px",
212
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
213
- "isSource": true,
214
- "original": {
215
- "attributes": {
216
- "group": "shape",
217
- "state": "active",
218
- "suggest": ["2px"],
219
- "introduced": "6.1.0",
220
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
221
- },
222
- "value": "BorderWidth2"
223
- },
224
- "name": "border.width.selected",
225
- "path": ["border", "width", "selected"],
226
- "cleanName": "border.width.selected"
227
- }, {
228
- "attributes": {
229
- "group": "shape",
230
- "state": "active",
231
- "suggest": ["2px"],
232
- "introduced": "6.1.0",
233
- "description": "The width used for the focus ring on interactive elements."
234
- },
235
- "value": "2px",
236
- "filePath": "schema/themes/atlassian-shape-rounder/shape.tsx",
237
- "isSource": true,
238
- "original": {
239
- "attributes": {
240
- "group": "shape",
241
- "state": "active",
242
- "suggest": ["2px"],
243
- "introduced": "6.1.0",
244
- "description": "The width used for the focus ring on interactive elements."
245
- },
246
- "value": "BorderWidth2"
247
- },
248
- "name": "border.width.focused",
249
- "path": ["border", "width", "focused"],
250
- "cleanName": "border.width.focused"
251
- }];
252
- var _default = exports.default = tokens;
@@ -1,252 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::10d4ca88d4eb59289a9aba2bc6c77d9f>>
10
- * @codegenCommand yarn build tokens
11
- */
12
-
13
- var tokens = [{
14
- "attributes": {
15
- "group": "shape",
16
- "state": "active",
17
- "suggest": ["2px"],
18
- "introduced": "6.1.0",
19
- "description": "Used for small containers such as badges."
20
- },
21
- "value": "2px",
22
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
23
- "isSource": true,
24
- "original": {
25
- "attributes": {
26
- "group": "shape",
27
- "state": "active",
28
- "suggest": ["2px"],
29
- "introduced": "6.1.0",
30
- "description": "Used for small containers such as badges."
31
- },
32
- "value": "Radius02"
33
- },
34
- "name": "radius.xsmall",
35
- "path": ["radius", "xsmall"],
36
- "cleanName": "radius.xsmall"
37
- }, {
38
- "attributes": {
39
- "group": "shape",
40
- "state": "active",
41
- "suggest": ["4px"],
42
- "introduced": "6.1.0",
43
- "description": "Used for labels."
44
- },
45
- "value": "4px",
46
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
47
- "isSource": true,
48
- "original": {
49
- "attributes": {
50
- "group": "shape",
51
- "state": "active",
52
- "suggest": ["4px"],
53
- "introduced": "6.1.0",
54
- "description": "Used for labels."
55
- },
56
- "value": "Radius04"
57
- },
58
- "name": "radius.small",
59
- "path": ["radius", "small"],
60
- "cleanName": "radius.small"
61
- }, {
62
- "attributes": {
63
- "group": "shape",
64
- "state": "active",
65
- "suggest": ["6px"],
66
- "introduced": "6.1.0",
67
- "description": "Used for buttons and inputs."
68
- },
69
- "value": "12px",
70
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
71
- "isSource": true,
72
- "original": {
73
- "attributes": {
74
- "group": "shape",
75
- "state": "active",
76
- "suggest": ["6px"],
77
- "introduced": "6.1.0",
78
- "description": "Used for buttons and inputs."
79
- },
80
- "value": "Radius12"
81
- },
82
- "name": "radius.medium",
83
- "path": ["radius", "medium"],
84
- "cleanName": "radius.medium"
85
- }, {
86
- "attributes": {
87
- "group": "shape",
88
- "state": "active",
89
- "suggest": ["8px"],
90
- "introduced": "6.1.0",
91
- "description": "Used for cards and small containers."
92
- },
93
- "value": "16px",
94
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
95
- "isSource": true,
96
- "original": {
97
- "attributes": {
98
- "group": "shape",
99
- "state": "active",
100
- "suggest": ["8px"],
101
- "introduced": "6.1.0",
102
- "description": "Used for cards and small containers."
103
- },
104
- "value": "Radius16"
105
- },
106
- "name": "radius.large",
107
- "path": ["radius", "large"],
108
- "cleanName": "radius.large"
109
- }, {
110
- "attributes": {
111
- "group": "shape",
112
- "state": "active",
113
- "suggest": ["12px"],
114
- "introduced": "6.1.0",
115
- "description": "Used for modals and large containers."
116
- },
117
- "value": "20px",
118
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
119
- "isSource": true,
120
- "original": {
121
- "attributes": {
122
- "group": "shape",
123
- "state": "active",
124
- "suggest": ["12px"],
125
- "introduced": "6.1.0",
126
- "description": "Used for modals and large containers."
127
- },
128
- "value": "Radius20"
129
- },
130
- "name": "radius.xlarge",
131
- "path": ["radius", "xlarge"],
132
- "cleanName": "radius.xlarge"
133
- }, {
134
- "attributes": {
135
- "group": "shape",
136
- "state": "active",
137
- "suggest": ["50%"],
138
- "introduced": "6.1.0",
139
- "description": "Used for circular containers, like a rounded button."
140
- },
141
- "value": "9999px",
142
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
143
- "isSource": true,
144
- "original": {
145
- "attributes": {
146
- "group": "shape",
147
- "state": "active",
148
- "suggest": ["50%"],
149
- "introduced": "6.1.0",
150
- "description": "Used for circular containers, like a rounded button."
151
- },
152
- "value": "Radius99"
153
- },
154
- "name": "radius.full",
155
- "path": ["radius", "full"],
156
- "cleanName": "radius.full"
157
- }, {
158
- "attributes": {
159
- "group": "shape",
160
- "state": "active",
161
- "introduced": "6.2.0",
162
- "description": "Used for tiles only."
163
- },
164
- "value": "25%",
165
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
166
- "isSource": true,
167
- "original": {
168
- "attributes": {
169
- "group": "shape",
170
- "state": "active",
171
- "introduced": "6.2.0",
172
- "description": "Used for tiles only."
173
- },
174
- "value": "RadiusPercentage25"
175
- },
176
- "name": "radius.tile",
177
- "path": ["radius", "tile"],
178
- "cleanName": "radius.tile"
179
- }, {
180
- "attributes": {
181
- "group": "shape",
182
- "state": "active",
183
- "suggest": ["1px"],
184
- "introduced": "1.5.2",
185
- "description": "The default width for all standard component borders and dividers."
186
- },
187
- "value": "1px",
188
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
189
- "isSource": true,
190
- "original": {
191
- "attributes": {
192
- "group": "shape",
193
- "state": "active",
194
- "suggest": ["1px"],
195
- "introduced": "1.5.2",
196
- "description": "The default width for all standard component borders and dividers."
197
- },
198
- "value": "BorderWidth1"
199
- },
200
- "name": "border.width.[default]",
201
- "path": ["border", "width", "[default]"],
202
- "cleanName": "border.width"
203
- }, {
204
- "attributes": {
205
- "group": "shape",
206
- "state": "active",
207
- "suggest": ["2px"],
208
- "introduced": "6.1.0",
209
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
210
- },
211
- "value": "2px",
212
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
213
- "isSource": true,
214
- "original": {
215
- "attributes": {
216
- "group": "shape",
217
- "state": "active",
218
- "suggest": ["2px"],
219
- "introduced": "6.1.0",
220
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
221
- },
222
- "value": "BorderWidth2"
223
- },
224
- "name": "border.width.selected",
225
- "path": ["border", "width", "selected"],
226
- "cleanName": "border.width.selected"
227
- }, {
228
- "attributes": {
229
- "group": "shape",
230
- "state": "active",
231
- "suggest": ["2px"],
232
- "introduced": "6.1.0",
233
- "description": "The width used for the focus ring on interactive elements."
234
- },
235
- "value": "2px",
236
- "filePath": "schema/themes/atlassian-shape-roundest/shape.tsx",
237
- "isSource": true,
238
- "original": {
239
- "attributes": {
240
- "group": "shape",
241
- "state": "active",
242
- "suggest": ["2px"],
243
- "introduced": "6.1.0",
244
- "description": "The width used for the focus ring on interactive elements."
245
- },
246
- "value": "BorderWidth2"
247
- },
248
- "name": "border.width.focused",
249
- "path": ["border", "width", "focused"],
250
- "cleanName": "border.width.focused"
251
- }];
252
- var _default = exports.default = tokens;