@atlaskit/tokens 0.10.27 → 0.10.28
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/CHANGELOG.md +6 -0
- package/css/atlassian-spacing.css +2 -2
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +3 -3
- package/dist/cjs/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +26 -50
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/cjs/entry-points/spacing-raw.js +15 -0
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/spacing-scale.js +1 -1
- package/dist/cjs/tokens/default/spacing/spacing.js +12 -24
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +3 -3
- package/dist/es2019/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +26 -50
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/es2019/artifacts/typescript/atlassian-spacing-types-internal.js +0 -6
- package/dist/es2019/artifacts/typescript/atlassian-spacing-types.js +0 -6
- package/dist/es2019/entry-points/spacing-raw.js +1 -0
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/spacing-scale.js +1 -1
- package/dist/es2019/tokens/default/spacing/spacing.js +12 -24
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +3 -3
- package/dist/esm/artifacts/rename-mapping/atlassian-spacing.js +1 -49
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +26 -50
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/esm/artifacts/typescript/atlassian-spacing-types-internal.js +0 -6
- package/dist/esm/artifacts/typescript/atlassian-spacing-types.js +0 -6
- package/dist/esm/entry-points/spacing-raw.js +1 -0
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/spacing-scale.js +1 -1
- package/dist/esm/tokens/default/spacing/spacing.js +12 -24
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
- package/dist/types/artifacts/rename-mapping/atlassian-spacing.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +26 -3
- package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-spacing-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-spacing-types.d.ts +2 -2
- package/dist/types/entry-points/spacing-raw.d.ts +1 -0
- package/dist/types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-spacing.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +26 -3
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types.d.ts +2 -2
- package/dist/types-ts4.0/entry-points/spacing-raw.d.ts +1 -0
- package/package.json +2 -1
- package/spacing-raw/package.json +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.10.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`52ee11d5b3c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52ee11d5b3c) - Adds an additional entrypoint for the `@atlaskit/tokens` package to support tooling.
|
|
8
|
+
|
|
3
9
|
## 0.10.27
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9dce6673b453f80c53c6dbd73faae3e1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
html[data-spacing-theme="spacing"] {
|
|
7
7
|
--ds-container-gutter: 8px;
|
|
8
|
-
--ds-scale-0:
|
|
8
|
+
--ds-scale-0: 0px;
|
|
9
9
|
--ds-scale-100: 8px;
|
|
10
10
|
--ds-scale-150: 12px;
|
|
11
11
|
--ds-scale-200: 16px;
|
|
@@ -7,18 +7,18 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::9ec4d3766ad54f86aa1d9891b0f32317>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
14
|
-
"value": "
|
|
14
|
+
"value": "0px",
|
|
15
15
|
"attributes": {
|
|
16
16
|
"group": "scale"
|
|
17
17
|
},
|
|
18
18
|
"filePath": "src/palettes/spacing-scale.tsx",
|
|
19
19
|
"isSource": true,
|
|
20
20
|
"original": {
|
|
21
|
-
"value": "
|
|
21
|
+
"value": "0px",
|
|
22
22
|
"attributes": {
|
|
23
23
|
"group": "scale"
|
|
24
24
|
}
|
|
@@ -19,61 +19,13 @@ exports.default = void 0;
|
|
|
19
19
|
* These changes will then be picked up by our tooling which will attempt to
|
|
20
20
|
* migrate as many of these renames as possible.
|
|
21
21
|
*
|
|
22
|
-
* @codegen <<SignedSource::
|
|
22
|
+
* @codegen <<SignedSource::a90d6d19262ac37cb4095da71ba3035c>>
|
|
23
23
|
* @codegenCommand yarn build tokens
|
|
24
24
|
*/
|
|
25
25
|
var renameMapper = [{
|
|
26
26
|
"path": "spacing.container.gutter",
|
|
27
27
|
"state": "experimental",
|
|
28
28
|
"replacement": "8px"
|
|
29
|
-
}, {
|
|
30
|
-
"path": "spacing.scale.0",
|
|
31
|
-
"state": "experimental",
|
|
32
|
-
"replacement": "0"
|
|
33
|
-
}, {
|
|
34
|
-
"path": "spacing.scale.100",
|
|
35
|
-
"state": "experimental",
|
|
36
|
-
"replacement": "8px"
|
|
37
|
-
}, {
|
|
38
|
-
"path": "spacing.scale.150",
|
|
39
|
-
"state": "experimental",
|
|
40
|
-
"replacement": "12px"
|
|
41
|
-
}, {
|
|
42
|
-
"path": "spacing.scale.200",
|
|
43
|
-
"state": "experimental",
|
|
44
|
-
"replacement": "16px"
|
|
45
|
-
}, {
|
|
46
|
-
"path": "spacing.scale.250",
|
|
47
|
-
"state": "experimental",
|
|
48
|
-
"replacement": "20px"
|
|
49
|
-
}, {
|
|
50
|
-
"path": "spacing.scale.300",
|
|
51
|
-
"state": "experimental",
|
|
52
|
-
"replacement": "24px"
|
|
53
|
-
}, {
|
|
54
|
-
"path": "spacing.scale.400",
|
|
55
|
-
"state": "experimental",
|
|
56
|
-
"replacement": "32px"
|
|
57
|
-
}, {
|
|
58
|
-
"path": "spacing.scale.500",
|
|
59
|
-
"state": "experimental",
|
|
60
|
-
"replacement": "40px"
|
|
61
|
-
}, {
|
|
62
|
-
"path": "spacing.scale.600",
|
|
63
|
-
"state": "experimental",
|
|
64
|
-
"replacement": "48px"
|
|
65
|
-
}, {
|
|
66
|
-
"path": "spacing.scale.025",
|
|
67
|
-
"state": "experimental",
|
|
68
|
-
"replacement": "2px"
|
|
69
|
-
}, {
|
|
70
|
-
"path": "spacing.scale.050",
|
|
71
|
-
"state": "experimental",
|
|
72
|
-
"replacement": "4px"
|
|
73
|
-
}, {
|
|
74
|
-
"path": "spacing.scale.075",
|
|
75
|
-
"state": "experimental",
|
|
76
|
-
"replacement": "6px"
|
|
77
29
|
}];
|
|
78
30
|
var _default = renameMapper;
|
|
79
31
|
exports.default = _default;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::e19d1d58b2463145dd0eae095e3d0b36>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -36,19 +36,17 @@ var tokens = [{
|
|
|
36
36
|
}, {
|
|
37
37
|
"attributes": {
|
|
38
38
|
"group": "spacing",
|
|
39
|
-
"state": "
|
|
40
|
-
"replacement": "0",
|
|
39
|
+
"state": "active",
|
|
41
40
|
"introduced": "0.10.16",
|
|
42
41
|
"description": "Equates to `0`. Can be used for resetting default spacing styles."
|
|
43
42
|
},
|
|
44
|
-
"value": "
|
|
43
|
+
"value": "0px",
|
|
45
44
|
"filePath": "src/tokens/atlassian-spacing/spacing.tsx",
|
|
46
45
|
"isSource": true,
|
|
47
46
|
"original": {
|
|
48
47
|
"attributes": {
|
|
49
48
|
"group": "spacing",
|
|
50
|
-
"state": "
|
|
51
|
-
"replacement": "0",
|
|
49
|
+
"state": "active",
|
|
52
50
|
"introduced": "0.10.16",
|
|
53
51
|
"description": "Equates to `0`. Can be used for resetting default spacing styles."
|
|
54
52
|
},
|
|
@@ -59,8 +57,7 @@ var tokens = [{
|
|
|
59
57
|
}, {
|
|
60
58
|
"attributes": {
|
|
61
59
|
"group": "spacing",
|
|
62
|
-
"state": "
|
|
63
|
-
"replacement": "8px",
|
|
60
|
+
"state": "active",
|
|
64
61
|
"introduced": "0.10.16",
|
|
65
62
|
"description": "Helpful guidance goes here"
|
|
66
63
|
},
|
|
@@ -70,8 +67,7 @@ var tokens = [{
|
|
|
70
67
|
"original": {
|
|
71
68
|
"attributes": {
|
|
72
69
|
"group": "spacing",
|
|
73
|
-
"state": "
|
|
74
|
-
"replacement": "8px",
|
|
70
|
+
"state": "active",
|
|
75
71
|
"introduced": "0.10.16",
|
|
76
72
|
"description": "Helpful guidance goes here"
|
|
77
73
|
},
|
|
@@ -82,8 +78,7 @@ var tokens = [{
|
|
|
82
78
|
}, {
|
|
83
79
|
"attributes": {
|
|
84
80
|
"group": "spacing",
|
|
85
|
-
"state": "
|
|
86
|
-
"replacement": "12px",
|
|
81
|
+
"state": "active",
|
|
87
82
|
"introduced": "0.10.16",
|
|
88
83
|
"description": "Helpful guidance goes here"
|
|
89
84
|
},
|
|
@@ -93,8 +88,7 @@ var tokens = [{
|
|
|
93
88
|
"original": {
|
|
94
89
|
"attributes": {
|
|
95
90
|
"group": "spacing",
|
|
96
|
-
"state": "
|
|
97
|
-
"replacement": "12px",
|
|
91
|
+
"state": "active",
|
|
98
92
|
"introduced": "0.10.16",
|
|
99
93
|
"description": "Helpful guidance goes here"
|
|
100
94
|
},
|
|
@@ -105,8 +99,7 @@ var tokens = [{
|
|
|
105
99
|
}, {
|
|
106
100
|
"attributes": {
|
|
107
101
|
"group": "spacing",
|
|
108
|
-
"state": "
|
|
109
|
-
"replacement": "16px",
|
|
102
|
+
"state": "active",
|
|
110
103
|
"introduced": "0.10.16",
|
|
111
104
|
"description": "Helpful guidance goes here"
|
|
112
105
|
},
|
|
@@ -116,8 +109,7 @@ var tokens = [{
|
|
|
116
109
|
"original": {
|
|
117
110
|
"attributes": {
|
|
118
111
|
"group": "spacing",
|
|
119
|
-
"state": "
|
|
120
|
-
"replacement": "16px",
|
|
112
|
+
"state": "active",
|
|
121
113
|
"introduced": "0.10.16",
|
|
122
114
|
"description": "Helpful guidance goes here"
|
|
123
115
|
},
|
|
@@ -128,8 +120,7 @@ var tokens = [{
|
|
|
128
120
|
}, {
|
|
129
121
|
"attributes": {
|
|
130
122
|
"group": "spacing",
|
|
131
|
-
"state": "
|
|
132
|
-
"replacement": "20px",
|
|
123
|
+
"state": "active",
|
|
133
124
|
"introduced": "0.10.16",
|
|
134
125
|
"description": "Helpful guidance goes here"
|
|
135
126
|
},
|
|
@@ -139,8 +130,7 @@ var tokens = [{
|
|
|
139
130
|
"original": {
|
|
140
131
|
"attributes": {
|
|
141
132
|
"group": "spacing",
|
|
142
|
-
"state": "
|
|
143
|
-
"replacement": "20px",
|
|
133
|
+
"state": "active",
|
|
144
134
|
"introduced": "0.10.16",
|
|
145
135
|
"description": "Helpful guidance goes here"
|
|
146
136
|
},
|
|
@@ -151,8 +141,7 @@ var tokens = [{
|
|
|
151
141
|
}, {
|
|
152
142
|
"attributes": {
|
|
153
143
|
"group": "spacing",
|
|
154
|
-
"state": "
|
|
155
|
-
"replacement": "24px",
|
|
144
|
+
"state": "active",
|
|
156
145
|
"introduced": "0.10.16",
|
|
157
146
|
"description": "Helpful guidance goes here"
|
|
158
147
|
},
|
|
@@ -162,8 +151,7 @@ var tokens = [{
|
|
|
162
151
|
"original": {
|
|
163
152
|
"attributes": {
|
|
164
153
|
"group": "spacing",
|
|
165
|
-
"state": "
|
|
166
|
-
"replacement": "24px",
|
|
154
|
+
"state": "active",
|
|
167
155
|
"introduced": "0.10.16",
|
|
168
156
|
"description": "Helpful guidance goes here"
|
|
169
157
|
},
|
|
@@ -174,8 +162,7 @@ var tokens = [{
|
|
|
174
162
|
}, {
|
|
175
163
|
"attributes": {
|
|
176
164
|
"group": "spacing",
|
|
177
|
-
"state": "
|
|
178
|
-
"replacement": "32px",
|
|
165
|
+
"state": "active",
|
|
179
166
|
"introduced": "0.10.16",
|
|
180
167
|
"description": "Helpful guidance goes here"
|
|
181
168
|
},
|
|
@@ -185,8 +172,7 @@ var tokens = [{
|
|
|
185
172
|
"original": {
|
|
186
173
|
"attributes": {
|
|
187
174
|
"group": "spacing",
|
|
188
|
-
"state": "
|
|
189
|
-
"replacement": "32px",
|
|
175
|
+
"state": "active",
|
|
190
176
|
"introduced": "0.10.16",
|
|
191
177
|
"description": "Helpful guidance goes here"
|
|
192
178
|
},
|
|
@@ -197,8 +183,7 @@ var tokens = [{
|
|
|
197
183
|
}, {
|
|
198
184
|
"attributes": {
|
|
199
185
|
"group": "spacing",
|
|
200
|
-
"state": "
|
|
201
|
-
"replacement": "40px",
|
|
186
|
+
"state": "active",
|
|
202
187
|
"introduced": "0.10.16",
|
|
203
188
|
"description": "Helpful guidance goes here"
|
|
204
189
|
},
|
|
@@ -208,8 +193,7 @@ var tokens = [{
|
|
|
208
193
|
"original": {
|
|
209
194
|
"attributes": {
|
|
210
195
|
"group": "spacing",
|
|
211
|
-
"state": "
|
|
212
|
-
"replacement": "40px",
|
|
196
|
+
"state": "active",
|
|
213
197
|
"introduced": "0.10.16",
|
|
214
198
|
"description": "Helpful guidance goes here"
|
|
215
199
|
},
|
|
@@ -220,8 +204,7 @@ var tokens = [{
|
|
|
220
204
|
}, {
|
|
221
205
|
"attributes": {
|
|
222
206
|
"group": "spacing",
|
|
223
|
-
"state": "
|
|
224
|
-
"replacement": "48px",
|
|
207
|
+
"state": "active",
|
|
225
208
|
"introduced": "0.10.16",
|
|
226
209
|
"description": "Helpful guidance goes here"
|
|
227
210
|
},
|
|
@@ -231,8 +214,7 @@ var tokens = [{
|
|
|
231
214
|
"original": {
|
|
232
215
|
"attributes": {
|
|
233
216
|
"group": "spacing",
|
|
234
|
-
"state": "
|
|
235
|
-
"replacement": "48px",
|
|
217
|
+
"state": "active",
|
|
236
218
|
"introduced": "0.10.16",
|
|
237
219
|
"description": "Helpful guidance goes here"
|
|
238
220
|
},
|
|
@@ -243,8 +225,7 @@ var tokens = [{
|
|
|
243
225
|
}, {
|
|
244
226
|
"attributes": {
|
|
245
227
|
"group": "spacing",
|
|
246
|
-
"state": "
|
|
247
|
-
"replacement": "2px",
|
|
228
|
+
"state": "active",
|
|
248
229
|
"introduced": "0.10.16",
|
|
249
230
|
"description": "Use for spacing in compact scenarios. The smallest value in our scale."
|
|
250
231
|
},
|
|
@@ -254,8 +235,7 @@ var tokens = [{
|
|
|
254
235
|
"original": {
|
|
255
236
|
"attributes": {
|
|
256
237
|
"group": "spacing",
|
|
257
|
-
"state": "
|
|
258
|
-
"replacement": "2px",
|
|
238
|
+
"state": "active",
|
|
259
239
|
"introduced": "0.10.16",
|
|
260
240
|
"description": "Use for spacing in compact scenarios. The smallest value in our scale."
|
|
261
241
|
},
|
|
@@ -266,8 +246,7 @@ var tokens = [{
|
|
|
266
246
|
}, {
|
|
267
247
|
"attributes": {
|
|
268
248
|
"group": "spacing",
|
|
269
|
-
"state": "
|
|
270
|
-
"replacement": "4px",
|
|
249
|
+
"state": "active",
|
|
271
250
|
"introduced": "0.10.16",
|
|
272
251
|
"description": "Helpful guidance goes here"
|
|
273
252
|
},
|
|
@@ -277,8 +256,7 @@ var tokens = [{
|
|
|
277
256
|
"original": {
|
|
278
257
|
"attributes": {
|
|
279
258
|
"group": "spacing",
|
|
280
|
-
"state": "
|
|
281
|
-
"replacement": "4px",
|
|
259
|
+
"state": "active",
|
|
282
260
|
"introduced": "0.10.16",
|
|
283
261
|
"description": "Helpful guidance goes here"
|
|
284
262
|
},
|
|
@@ -289,8 +267,7 @@ var tokens = [{
|
|
|
289
267
|
}, {
|
|
290
268
|
"attributes": {
|
|
291
269
|
"group": "spacing",
|
|
292
|
-
"state": "
|
|
293
|
-
"replacement": "6px",
|
|
270
|
+
"state": "active",
|
|
294
271
|
"introduced": "0.10.16",
|
|
295
272
|
"description": "Helpful guidance goes here"
|
|
296
273
|
},
|
|
@@ -300,8 +277,7 @@ var tokens = [{
|
|
|
300
277
|
"original": {
|
|
301
278
|
"attributes": {
|
|
302
279
|
"group": "spacing",
|
|
303
|
-
"state": "
|
|
304
|
-
"replacement": "6px",
|
|
280
|
+
"state": "active",
|
|
305
281
|
"introduced": "0.10.16",
|
|
306
282
|
"description": "Helpful guidance goes here"
|
|
307
283
|
},
|
|
@@ -11,12 +11,12 @@ exports.default = void 0;
|
|
|
11
11
|
* Token names mapped to their value in the default Atlassian themes ('light spacing').
|
|
12
12
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
13
13
|
*
|
|
14
|
-
* @codegen <<SignedSource::
|
|
14
|
+
* @codegen <<SignedSource::e575bc332dcc60d3fe9e378605bc9100>>
|
|
15
15
|
* @codegenCommand yarn build tokens
|
|
16
16
|
*/
|
|
17
17
|
var defaultTokenValues = {
|
|
18
18
|
'spacing.container.gutter': '8px',
|
|
19
|
-
'spacing.scale.0': '
|
|
19
|
+
'spacing.scale.0': '0px',
|
|
20
20
|
'spacing.scale.100': '8px',
|
|
21
21
|
'spacing.scale.150': '12px',
|
|
22
22
|
'spacing.scale.200': '16px',
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports, "default", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _atlassianSpacing.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
var _atlassianSpacing = _interopRequireDefault(require("../artifacts/tokens-raw/atlassian-spacing"));
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.10.
|
|
17
|
+
var version = "0.10.28";
|
|
18
18
|
|
|
19
19
|
function token(path, fallback) {
|
|
20
20
|
var token = _tokenNames.default[path];
|
|
@@ -21,8 +21,7 @@ var spacing = {
|
|
|
21
21
|
'0': {
|
|
22
22
|
attributes: {
|
|
23
23
|
group: 'spacing',
|
|
24
|
-
state: '
|
|
25
|
-
replacement: '0',
|
|
24
|
+
state: 'active',
|
|
26
25
|
introduced: '0.10.16',
|
|
27
26
|
description: 'Equates to `0`. Can be used for resetting default spacing styles.'
|
|
28
27
|
}
|
|
@@ -30,8 +29,7 @@ var spacing = {
|
|
|
30
29
|
'025': {
|
|
31
30
|
attributes: {
|
|
32
31
|
group: 'spacing',
|
|
33
|
-
state: '
|
|
34
|
-
replacement: '2px',
|
|
32
|
+
state: 'active',
|
|
35
33
|
introduced: '0.10.16',
|
|
36
34
|
description: 'Use for spacing in compact scenarios. The smallest value in our scale.'
|
|
37
35
|
}
|
|
@@ -39,8 +37,7 @@ var spacing = {
|
|
|
39
37
|
'050': {
|
|
40
38
|
attributes: {
|
|
41
39
|
group: 'spacing',
|
|
42
|
-
state: '
|
|
43
|
-
replacement: '4px',
|
|
40
|
+
state: 'active',
|
|
44
41
|
introduced: '0.10.16',
|
|
45
42
|
description: 'Helpful guidance goes here'
|
|
46
43
|
}
|
|
@@ -48,8 +45,7 @@ var spacing = {
|
|
|
48
45
|
'075': {
|
|
49
46
|
attributes: {
|
|
50
47
|
group: 'spacing',
|
|
51
|
-
state: '
|
|
52
|
-
replacement: '6px',
|
|
48
|
+
state: 'active',
|
|
53
49
|
introduced: '0.10.16',
|
|
54
50
|
description: 'Helpful guidance goes here'
|
|
55
51
|
}
|
|
@@ -57,8 +53,7 @@ var spacing = {
|
|
|
57
53
|
'100': {
|
|
58
54
|
attributes: {
|
|
59
55
|
group: 'spacing',
|
|
60
|
-
state: '
|
|
61
|
-
replacement: '8px',
|
|
56
|
+
state: 'active',
|
|
62
57
|
introduced: '0.10.16',
|
|
63
58
|
description: 'Helpful guidance goes here'
|
|
64
59
|
}
|
|
@@ -66,8 +61,7 @@ var spacing = {
|
|
|
66
61
|
'150': {
|
|
67
62
|
attributes: {
|
|
68
63
|
group: 'spacing',
|
|
69
|
-
state: '
|
|
70
|
-
replacement: '12px',
|
|
64
|
+
state: 'active',
|
|
71
65
|
introduced: '0.10.16',
|
|
72
66
|
description: 'Helpful guidance goes here'
|
|
73
67
|
}
|
|
@@ -75,8 +69,7 @@ var spacing = {
|
|
|
75
69
|
'200': {
|
|
76
70
|
attributes: {
|
|
77
71
|
group: 'spacing',
|
|
78
|
-
state: '
|
|
79
|
-
replacement: '16px',
|
|
72
|
+
state: 'active',
|
|
80
73
|
introduced: '0.10.16',
|
|
81
74
|
description: 'Helpful guidance goes here'
|
|
82
75
|
}
|
|
@@ -84,8 +77,7 @@ var spacing = {
|
|
|
84
77
|
'250': {
|
|
85
78
|
attributes: {
|
|
86
79
|
group: 'spacing',
|
|
87
|
-
state: '
|
|
88
|
-
replacement: '20px',
|
|
80
|
+
state: 'active',
|
|
89
81
|
introduced: '0.10.16',
|
|
90
82
|
description: 'Helpful guidance goes here'
|
|
91
83
|
}
|
|
@@ -93,8 +85,7 @@ var spacing = {
|
|
|
93
85
|
'300': {
|
|
94
86
|
attributes: {
|
|
95
87
|
group: 'spacing',
|
|
96
|
-
state: '
|
|
97
|
-
replacement: '24px',
|
|
88
|
+
state: 'active',
|
|
98
89
|
introduced: '0.10.16',
|
|
99
90
|
description: 'Helpful guidance goes here'
|
|
100
91
|
}
|
|
@@ -102,8 +93,7 @@ var spacing = {
|
|
|
102
93
|
'400': {
|
|
103
94
|
attributes: {
|
|
104
95
|
group: 'spacing',
|
|
105
|
-
state: '
|
|
106
|
-
replacement: '32px',
|
|
96
|
+
state: 'active',
|
|
107
97
|
introduced: '0.10.16',
|
|
108
98
|
description: 'Helpful guidance goes here'
|
|
109
99
|
}
|
|
@@ -111,8 +101,7 @@ var spacing = {
|
|
|
111
101
|
'500': {
|
|
112
102
|
attributes: {
|
|
113
103
|
group: 'spacing',
|
|
114
|
-
state: '
|
|
115
|
-
replacement: '40px',
|
|
104
|
+
state: 'active',
|
|
116
105
|
introduced: '0.10.16',
|
|
117
106
|
description: 'Helpful guidance goes here'
|
|
118
107
|
}
|
|
@@ -120,8 +109,7 @@ var spacing = {
|
|
|
120
109
|
'600': {
|
|
121
110
|
attributes: {
|
|
122
111
|
group: 'spacing',
|
|
123
|
-
state: '
|
|
124
|
-
replacement: '48px',
|
|
112
|
+
state: 'active',
|
|
125
113
|
introduced: '0.10.16',
|
|
126
114
|
description: 'Helpful guidance goes here'
|
|
127
115
|
}
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9ec4d3766ad54f86aa1d9891b0f32317>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
7
|
-
"value": "
|
|
7
|
+
"value": "0px",
|
|
8
8
|
"attributes": {
|
|
9
9
|
"group": "scale"
|
|
10
10
|
},
|
|
11
11
|
"filePath": "src/palettes/spacing-scale.tsx",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
|
-
"value": "
|
|
14
|
+
"value": "0px",
|
|
15
15
|
"attributes": {
|
|
16
16
|
"group": "scale"
|
|
17
17
|
}
|
|
@@ -12,60 +12,12 @@
|
|
|
12
12
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
13
|
* migrate as many of these renames as possible.
|
|
14
14
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
15
|
+
* @codegen <<SignedSource::a90d6d19262ac37cb4095da71ba3035c>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
const renameMapper = [{
|
|
19
19
|
"path": "spacing.container.gutter",
|
|
20
20
|
"state": "experimental",
|
|
21
21
|
"replacement": "8px"
|
|
22
|
-
}, {
|
|
23
|
-
"path": "spacing.scale.0",
|
|
24
|
-
"state": "experimental",
|
|
25
|
-
"replacement": "0"
|
|
26
|
-
}, {
|
|
27
|
-
"path": "spacing.scale.100",
|
|
28
|
-
"state": "experimental",
|
|
29
|
-
"replacement": "8px"
|
|
30
|
-
}, {
|
|
31
|
-
"path": "spacing.scale.150",
|
|
32
|
-
"state": "experimental",
|
|
33
|
-
"replacement": "12px"
|
|
34
|
-
}, {
|
|
35
|
-
"path": "spacing.scale.200",
|
|
36
|
-
"state": "experimental",
|
|
37
|
-
"replacement": "16px"
|
|
38
|
-
}, {
|
|
39
|
-
"path": "spacing.scale.250",
|
|
40
|
-
"state": "experimental",
|
|
41
|
-
"replacement": "20px"
|
|
42
|
-
}, {
|
|
43
|
-
"path": "spacing.scale.300",
|
|
44
|
-
"state": "experimental",
|
|
45
|
-
"replacement": "24px"
|
|
46
|
-
}, {
|
|
47
|
-
"path": "spacing.scale.400",
|
|
48
|
-
"state": "experimental",
|
|
49
|
-
"replacement": "32px"
|
|
50
|
-
}, {
|
|
51
|
-
"path": "spacing.scale.500",
|
|
52
|
-
"state": "experimental",
|
|
53
|
-
"replacement": "40px"
|
|
54
|
-
}, {
|
|
55
|
-
"path": "spacing.scale.600",
|
|
56
|
-
"state": "experimental",
|
|
57
|
-
"replacement": "48px"
|
|
58
|
-
}, {
|
|
59
|
-
"path": "spacing.scale.025",
|
|
60
|
-
"state": "experimental",
|
|
61
|
-
"replacement": "2px"
|
|
62
|
-
}, {
|
|
63
|
-
"path": "spacing.scale.050",
|
|
64
|
-
"state": "experimental",
|
|
65
|
-
"replacement": "4px"
|
|
66
|
-
}, {
|
|
67
|
-
"path": "spacing.scale.075",
|
|
68
|
-
"state": "experimental",
|
|
69
|
-
"replacement": "6px"
|
|
70
22
|
}];
|
|
71
23
|
export default renameMapper;
|