@atlaskit/tokens 0.10.25 → 0.10.27
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 +12 -0
- package/css/atlassian-spacing.css +20 -0
- package/dist/cjs/artifacts/palettes-raw/palette.js +233 -233
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +195 -0
- package/dist/cjs/artifacts/rename-mapping/atlassian-dark.js +427 -0
- package/dist/cjs/artifacts/rename-mapping/atlassian-legacy-dark.js +427 -0
- package/dist/cjs/artifacts/rename-mapping/atlassian-legacy-light.js +427 -0
- package/dist/cjs/artifacts/rename-mapping/atlassian-light.js +427 -0
- package/dist/cjs/artifacts/rename-mapping/atlassian-spacing.js +79 -0
- package/dist/cjs/artifacts/rename-mapping.js +11 -418
- package/dist/cjs/artifacts/token-default-values.js +15 -302
- package/dist/cjs/artifacts/token-names.js +14 -298
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +282 -282
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +282 -282
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +314 -0
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +307 -0
- package/dist/cjs/artifacts/typescript/atlassian-dark-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-dark-types.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-token-names.js +307 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-types.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-light-token-names.js +307 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-light-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-legacy-light-types.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +311 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +307 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-types.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +33 -0
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-names.js +29 -0
- package/dist/cjs/artifacts/typescript/atlassian-spacing-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-spacing-types.js +5 -0
- package/dist/cjs/constants.js +4 -3
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/palette.js +116 -116
- package/dist/cjs/palettes/spacing-scale.js +86 -0
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +72 -72
- package/dist/cjs/tokens/atlassian-dark/color/background.js +54 -54
- package/dist/cjs/tokens/atlassian-dark/color/border.js +13 -13
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +12 -12
- package/dist/cjs/tokens/atlassian-dark/color/skeleton.js +2 -2
- package/dist/cjs/tokens/atlassian-dark/color/text.js +15 -15
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +100 -100
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +5 -5
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +10 -10
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +2 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +2 -2
- package/dist/cjs/tokens/atlassian-light/color/accent.js +72 -72
- package/dist/cjs/tokens/atlassian-light/color/background.js +54 -54
- package/dist/cjs/tokens/atlassian-light/color/border.js +13 -13
- package/dist/cjs/tokens/atlassian-light/color/icon.js +12 -12
- package/dist/cjs/tokens/atlassian-light/color/skeleton.js +2 -2
- package/dist/cjs/tokens/atlassian-light/color/text.js +15 -15
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +99 -99
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +6 -6
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +10 -10
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +55 -0
- package/dist/cjs/tokens/default/spacing/spacing.js +133 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/palette.js +233 -233
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +187 -0
- package/dist/es2019/artifacts/rename-mapping/atlassian-dark.js +419 -0
- package/dist/es2019/artifacts/rename-mapping/atlassian-legacy-dark.js +419 -0
- package/dist/es2019/artifacts/rename-mapping/atlassian-legacy-light.js +419 -0
- package/dist/es2019/artifacts/rename-mapping/atlassian-light.js +419 -0
- package/dist/es2019/artifacts/rename-mapping/atlassian-spacing.js +71 -0
- package/dist/es2019/artifacts/rename-mapping.js +5 -418
- package/dist/es2019/artifacts/token-default-values.js +7 -301
- package/dist/es2019/artifacts/token-names.js +6 -297
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +282 -282
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +282 -282
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +306 -0
- package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +299 -0
- package/dist/es2019/artifacts/typescript/atlassian-dark-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-dark-types.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-token-names.js +299 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-types.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-light-token-names.js +299 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-light-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-legacy-light-types.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +303 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +299 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-types.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +25 -0
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-names.js +21 -0
- package/dist/es2019/artifacts/typescript/atlassian-spacing-types-internal.js +7 -0
- package/dist/es2019/artifacts/typescript/atlassian-spacing-types.js +7 -0
- package/dist/es2019/constants.js +4 -3
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/palette.js +116 -116
- package/dist/es2019/palettes/spacing-scale.js +79 -0
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +72 -72
- package/dist/es2019/tokens/atlassian-dark/color/background.js +54 -54
- package/dist/es2019/tokens/atlassian-dark/color/border.js +13 -13
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +12 -12
- package/dist/es2019/tokens/atlassian-dark/color/skeleton.js +2 -2
- package/dist/es2019/tokens/atlassian-dark/color/text.js +15 -15
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +100 -100
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +5 -5
- package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +10 -10
- package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +2 -2
- package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +2 -2
- package/dist/es2019/tokens/atlassian-light/color/accent.js +72 -72
- package/dist/es2019/tokens/atlassian-light/color/background.js +54 -54
- package/dist/es2019/tokens/atlassian-light/color/border.js +13 -13
- package/dist/es2019/tokens/atlassian-light/color/icon.js +12 -12
- package/dist/es2019/tokens/atlassian-light/color/skeleton.js +2 -2
- package/dist/es2019/tokens/atlassian-light/color/text.js +15 -15
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +99 -99
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +6 -6
- package/dist/es2019/tokens/atlassian-light/elevation/surface.js +10 -10
- package/dist/es2019/tokens/atlassian-spacing/spacing.js +48 -0
- package/dist/es2019/tokens/default/spacing/spacing.js +126 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/palette.js +233 -233
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +187 -0
- package/dist/esm/artifacts/rename-mapping/atlassian-dark.js +419 -0
- package/dist/esm/artifacts/rename-mapping/atlassian-legacy-dark.js +419 -0
- package/dist/esm/artifacts/rename-mapping/atlassian-legacy-light.js +419 -0
- package/dist/esm/artifacts/rename-mapping/atlassian-light.js +419 -0
- package/dist/esm/artifacts/rename-mapping/atlassian-spacing.js +71 -0
- package/dist/esm/artifacts/rename-mapping.js +7 -418
- package/dist/esm/artifacts/token-default-values.js +14 -302
- package/dist/esm/artifacts/token-names.js +13 -298
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +282 -282
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +282 -282
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +306 -0
- package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +299 -0
- package/dist/esm/artifacts/typescript/atlassian-dark-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-dark-types.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-dark-token-names.js +299 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-dark-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-dark-types.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-light-token-names.js +299 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-light-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-legacy-light-types.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +303 -0
- package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +299 -0
- package/dist/esm/artifacts/typescript/atlassian-light-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-light-types.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +25 -0
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-names.js +21 -0
- package/dist/esm/artifacts/typescript/atlassian-spacing-types-internal.js +7 -0
- package/dist/esm/artifacts/typescript/atlassian-spacing-types.js +7 -0
- package/dist/esm/constants.js +4 -3
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/palette.js +116 -116
- package/dist/esm/palettes/spacing-scale.js +79 -0
- package/dist/esm/tokens/atlassian-dark/color/accent.js +72 -72
- package/dist/esm/tokens/atlassian-dark/color/background.js +54 -54
- package/dist/esm/tokens/atlassian-dark/color/border.js +13 -13
- package/dist/esm/tokens/atlassian-dark/color/icon.js +12 -12
- package/dist/esm/tokens/atlassian-dark/color/skeleton.js +2 -2
- package/dist/esm/tokens/atlassian-dark/color/text.js +15 -15
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +100 -100
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +5 -5
- package/dist/esm/tokens/atlassian-dark/elevation/surface.js +10 -10
- package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +2 -2
- package/dist/esm/tokens/atlassian-legacy-light/color/background.js +2 -2
- package/dist/esm/tokens/atlassian-light/color/accent.js +72 -72
- package/dist/esm/tokens/atlassian-light/color/background.js +54 -54
- package/dist/esm/tokens/atlassian-light/color/border.js +13 -13
- package/dist/esm/tokens/atlassian-light/color/icon.js +12 -12
- package/dist/esm/tokens/atlassian-light/color/skeleton.js +2 -2
- package/dist/esm/tokens/atlassian-light/color/text.js +15 -15
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +99 -99
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +6 -6
- package/dist/esm/tokens/atlassian-light/elevation/surface.js +10 -10
- package/dist/esm/tokens/atlassian-spacing/spacing.js +48 -0
- package/dist/esm/tokens/default/spacing/spacing.js +126 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +22 -0
- package/dist/types/artifacts/rename-mapping/atlassian-dark.d.ts +26 -0
- package/dist/types/artifacts/rename-mapping/atlassian-legacy-dark.d.ts +26 -0
- package/dist/types/artifacts/rename-mapping/atlassian-legacy-light.d.ts +26 -0
- package/dist/types/artifacts/rename-mapping/atlassian-light.d.ts +26 -0
- package/dist/types/artifacts/rename-mapping/atlassian-spacing.d.ts +26 -0
- package/dist/types/artifacts/rename-mapping.d.ts +4 -24
- package/dist/types/artifacts/token-default-values.d.ts +306 -301
- package/dist/types/artifacts/token-names.d.ts +16 -298
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +30 -0
- package/dist/types/artifacts/types-internal.d.ts +2 -6
- package/dist/types/artifacts/types.d.ts +2 -6
- package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +592 -0
- package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +592 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +592 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +303 -0
- package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +592 -0
- package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +25 -0
- package/dist/types/artifacts/typescript/atlassian-spacing-token-names.d.ts +36 -0
- package/dist/types/artifacts/typescript/atlassian-spacing-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-spacing-types.d.ts +6 -0
- package/dist/types/constants.d.ts +3 -2
- package/dist/types/palettes/palette.d.ts +1 -1
- package/dist/types/palettes/spacing-scale.d.ts +5 -0
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-spacing/spacing.d.ts +4 -0
- package/dist/types/tokens/default/spacing/spacing.d.ts +4 -0
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +45 -5
- package/dist/types-ts4.0/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts +22 -0
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-dark.d.ts +26 -0
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-legacy-dark.d.ts +26 -0
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-legacy-light.d.ts +26 -0
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-light.d.ts +26 -0
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-spacing.d.ts +26 -0
- package/dist/types-ts4.0/artifacts/rename-mapping.d.ts +4 -24
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +306 -301
- package/dist/types-ts4.0/artifacts/token-names.d.ts +16 -298
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +30 -0
- package/dist/types-ts4.0/artifacts/types-internal.d.ts +2 -6
- package/dist/types-ts4.0/artifacts/types.d.ts +2 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +592 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +592 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +592 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +303 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +592 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +25 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-names.d.ts +36 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types-internal.d.ts +6 -0
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types.d.ts +6 -0
- package/dist/types-ts4.0/constants.d.ts +4 -2
- package/dist/types-ts4.0/palettes/palette.d.ts +1 -1
- package/dist/types-ts4.0/palettes/spacing-scale.d.ts +5 -0
- package/dist/types-ts4.0/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types-ts4.0/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types-ts4.0/tokens/atlassian-spacing/spacing.d.ts +4 -0
- package/dist/types-ts4.0/tokens/default/spacing/spacing.d.ts +4 -0
- package/dist/types-ts4.0/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types-ts4.0/types.d.ts +45 -5
- package/package.json +3 -2
- package/report.api.md +97 -50
- package/tmp/api-report-tmp.d.ts +664 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
var spacing = {
|
|
2
|
+
spacing: {
|
|
3
|
+
container: {
|
|
4
|
+
gutter: {
|
|
5
|
+
attributes: {
|
|
6
|
+
group: 'spacing',
|
|
7
|
+
state: 'experimental',
|
|
8
|
+
replacement: '8px',
|
|
9
|
+
introduced: '0.10.16',
|
|
10
|
+
description: 'Helpful guidance goes here. This is an example of a more semantic token over the top of our scale. It uses the same underlying base tokens as the scale.x tokens use.'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
scale: {
|
|
15
|
+
'0': {
|
|
16
|
+
attributes: {
|
|
17
|
+
group: 'spacing',
|
|
18
|
+
state: 'experimental',
|
|
19
|
+
replacement: '0',
|
|
20
|
+
introduced: '0.10.16',
|
|
21
|
+
description: 'Equates to `0`. Can be used for resetting default spacing styles.'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
'025': {
|
|
25
|
+
attributes: {
|
|
26
|
+
group: 'spacing',
|
|
27
|
+
state: 'experimental',
|
|
28
|
+
replacement: '2px',
|
|
29
|
+
introduced: '0.10.16',
|
|
30
|
+
description: 'Use for spacing in compact scenarios. The smallest value in our scale.'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'050': {
|
|
34
|
+
attributes: {
|
|
35
|
+
group: 'spacing',
|
|
36
|
+
state: 'experimental',
|
|
37
|
+
replacement: '4px',
|
|
38
|
+
introduced: '0.10.16',
|
|
39
|
+
description: 'Helpful guidance goes here'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
'075': {
|
|
43
|
+
attributes: {
|
|
44
|
+
group: 'spacing',
|
|
45
|
+
state: 'experimental',
|
|
46
|
+
replacement: '6px',
|
|
47
|
+
introduced: '0.10.16',
|
|
48
|
+
description: 'Helpful guidance goes here'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
'100': {
|
|
52
|
+
attributes: {
|
|
53
|
+
group: 'spacing',
|
|
54
|
+
state: 'experimental',
|
|
55
|
+
replacement: '8px',
|
|
56
|
+
introduced: '0.10.16',
|
|
57
|
+
description: 'Helpful guidance goes here'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
'150': {
|
|
61
|
+
attributes: {
|
|
62
|
+
group: 'spacing',
|
|
63
|
+
state: 'experimental',
|
|
64
|
+
replacement: '12px',
|
|
65
|
+
introduced: '0.10.16',
|
|
66
|
+
description: 'Helpful guidance goes here'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
'200': {
|
|
70
|
+
attributes: {
|
|
71
|
+
group: 'spacing',
|
|
72
|
+
state: 'experimental',
|
|
73
|
+
replacement: '16px',
|
|
74
|
+
introduced: '0.10.16',
|
|
75
|
+
description: 'Helpful guidance goes here'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
'250': {
|
|
79
|
+
attributes: {
|
|
80
|
+
group: 'spacing',
|
|
81
|
+
state: 'experimental',
|
|
82
|
+
replacement: '20px',
|
|
83
|
+
introduced: '0.10.16',
|
|
84
|
+
description: 'Helpful guidance goes here'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
'300': {
|
|
88
|
+
attributes: {
|
|
89
|
+
group: 'spacing',
|
|
90
|
+
state: 'experimental',
|
|
91
|
+
replacement: '24px',
|
|
92
|
+
introduced: '0.10.16',
|
|
93
|
+
description: 'Helpful guidance goes here'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
'400': {
|
|
97
|
+
attributes: {
|
|
98
|
+
group: 'spacing',
|
|
99
|
+
state: 'experimental',
|
|
100
|
+
replacement: '32px',
|
|
101
|
+
introduced: '0.10.16',
|
|
102
|
+
description: 'Helpful guidance goes here'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
'500': {
|
|
106
|
+
attributes: {
|
|
107
|
+
group: 'spacing',
|
|
108
|
+
state: 'experimental',
|
|
109
|
+
replacement: '40px',
|
|
110
|
+
introduced: '0.10.16',
|
|
111
|
+
description: 'Helpful guidance goes here'
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
'600': {
|
|
115
|
+
attributes: {
|
|
116
|
+
group: 'spacing',
|
|
117
|
+
state: 'experimental',
|
|
118
|
+
replacement: '48px',
|
|
119
|
+
introduced: '0.10.16',
|
|
120
|
+
description: 'Helpful guidance goes here'
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
export default spacing;
|
package/dist/esm/version.json
CHANGED
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::6a8bee72650af744db4926f40106688a>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::08ae35ae5d6bfe790b538db89c5876de>>
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* This file is intended to help automate renaming of tokens.
|
|
5
|
+
*
|
|
6
|
+
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
+
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
|
|
8
|
+
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
+
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
+
*
|
|
12
|
+
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
+
* migrate as many of these renames as possible.
|
|
14
|
+
*
|
|
15
|
+
* @codegen <<SignedSource::aed72cfe800fa74c79b858837a73edbf>>
|
|
16
|
+
* @codegenCommand yarn build tokens
|
|
17
|
+
*/
|
|
18
|
+
import tokens from '../token-names';
|
|
19
|
+
declare type Token = keyof typeof tokens | string;
|
|
20
|
+
declare type RenameMap = {
|
|
21
|
+
path: string;
|
|
22
|
+
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
+
replacement: Token;
|
|
24
|
+
};
|
|
25
|
+
declare const renameMapper: RenameMap[];
|
|
26
|
+
export default renameMapper;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* This file is intended to help automate renaming of tokens.
|
|
5
|
+
*
|
|
6
|
+
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
+
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
|
|
8
|
+
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
+
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
+
*
|
|
12
|
+
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
+
* migrate as many of these renames as possible.
|
|
14
|
+
*
|
|
15
|
+
* @codegen <<SignedSource::aed72cfe800fa74c79b858837a73edbf>>
|
|
16
|
+
* @codegenCommand yarn build tokens
|
|
17
|
+
*/
|
|
18
|
+
import tokens from '../token-names';
|
|
19
|
+
declare type Token = keyof typeof tokens | string;
|
|
20
|
+
declare type RenameMap = {
|
|
21
|
+
path: string;
|
|
22
|
+
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
+
replacement: Token;
|
|
24
|
+
};
|
|
25
|
+
declare const renameMapper: RenameMap[];
|
|
26
|
+
export default renameMapper;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* This file is intended to help automate renaming of tokens.
|
|
5
|
+
*
|
|
6
|
+
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
+
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
|
|
8
|
+
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
+
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
+
*
|
|
12
|
+
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
+
* migrate as many of these renames as possible.
|
|
14
|
+
*
|
|
15
|
+
* @codegen <<SignedSource::aed72cfe800fa74c79b858837a73edbf>>
|
|
16
|
+
* @codegenCommand yarn build tokens
|
|
17
|
+
*/
|
|
18
|
+
import tokens from '../token-names';
|
|
19
|
+
declare type Token = keyof typeof tokens | string;
|
|
20
|
+
declare type RenameMap = {
|
|
21
|
+
path: string;
|
|
22
|
+
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
+
replacement: Token;
|
|
24
|
+
};
|
|
25
|
+
declare const renameMapper: RenameMap[];
|
|
26
|
+
export default renameMapper;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* This file is intended to help automate renaming of tokens.
|
|
5
|
+
*
|
|
6
|
+
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
+
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
|
|
8
|
+
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
+
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
+
*
|
|
12
|
+
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
+
* migrate as many of these renames as possible.
|
|
14
|
+
*
|
|
15
|
+
* @codegen <<SignedSource::aed72cfe800fa74c79b858837a73edbf>>
|
|
16
|
+
* @codegenCommand yarn build tokens
|
|
17
|
+
*/
|
|
18
|
+
import tokens from '../token-names';
|
|
19
|
+
declare type Token = keyof typeof tokens | string;
|
|
20
|
+
declare type RenameMap = {
|
|
21
|
+
path: string;
|
|
22
|
+
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
+
replacement: Token;
|
|
24
|
+
};
|
|
25
|
+
declare const renameMapper: RenameMap[];
|
|
26
|
+
export default renameMapper;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* This file is intended to help automate renaming of tokens.
|
|
5
|
+
*
|
|
6
|
+
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
+
* 2. Add a 'replacement' attribute to the token with the value 'my.new.token'
|
|
8
|
+
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
+
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
+
*
|
|
12
|
+
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
+
* migrate as many of these renames as possible.
|
|
14
|
+
*
|
|
15
|
+
* @codegen <<SignedSource::96a569b32686a2088f106c2ec4cd75d3>>
|
|
16
|
+
* @codegenCommand yarn build tokens
|
|
17
|
+
*/
|
|
18
|
+
import tokens from '../token-names';
|
|
19
|
+
declare type Token = keyof typeof tokens | string;
|
|
20
|
+
declare type RenameMap = {
|
|
21
|
+
path: string;
|
|
22
|
+
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
+
replacement: Token;
|
|
24
|
+
};
|
|
25
|
+
declare const renameMapper: RenameMap[];
|
|
26
|
+
export default renameMapper;
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* This file is intended to help automate renaming of tokens.
|
|
5
|
-
*
|
|
6
|
-
* 1. Mark the old token's 'state' as deprecated
|
|
7
|
-
* 2. Add a 'rename' attribute to the token with the value 'my.new.token'
|
|
8
|
-
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
-
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
|
-
* 5. ESLint and other tools will now use this to automate replacing tokens
|
|
11
|
-
*
|
|
12
|
-
* These changes will then be picked up by our tooling which will attempt to
|
|
13
|
-
* migrate as many of these renames as possible.
|
|
14
|
-
*
|
|
15
|
-
* @codegen <<SignedSource::785f21ff78f22bc07f51619e1add8ba9>>
|
|
16
|
-
* @codegenCommand yarn build tokens
|
|
17
|
-
*/
|
|
18
|
-
import tokens from './token-names';
|
|
19
|
-
declare type Token = keyof typeof tokens | string;
|
|
20
|
-
declare type RenameMap = {
|
|
1
|
+
declare const renameMapper: {
|
|
21
2
|
path: string;
|
|
22
|
-
state:
|
|
23
|
-
replacement:
|
|
24
|
-
};
|
|
25
|
-
declare const renameMapper: RenameMap[];
|
|
3
|
+
state: "deprecated" | "deleted" | "experimental";
|
|
4
|
+
replacement: string;
|
|
5
|
+
}[];
|
|
26
6
|
export default renameMapper;
|