@atlaskit/tokens 1.4.4 → 1.5.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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +17 -17
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +31 -35
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +15 -15
- package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +17 -17
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +9 -9
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +15 -43
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/shape-palette.js +8 -8
- package/dist/cjs/palettes/spacing-scale.js +16 -18
- package/dist/cjs/palettes/typography-palette.js +14 -14
- package/dist/cjs/tokens/default/spacing/spacing.js +0 -14
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +17 -17
- package/dist/es2019/artifacts/palettes-raw/spacing-scale.js +31 -35
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +15 -15
- package/dist/es2019/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-spacing.js +2 -2
- package/dist/es2019/artifacts/themes/atlassian-typography.js +15 -15
- package/dist/es2019/artifacts/token-default-values.js +17 -17
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +9 -9
- package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +15 -43
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/shape-palette.js +8 -8
- package/dist/es2019/palettes/spacing-scale.js +16 -18
- package/dist/es2019/palettes/typography-palette.js +14 -14
- package/dist/es2019/tokens/default/spacing/spacing.js +0 -14
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +17 -17
- package/dist/esm/artifacts/palettes-raw/spacing-scale.js +31 -35
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +15 -15
- package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-spacing.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +17 -17
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +9 -9
- package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +15 -43
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/shape-palette.js +8 -8
- package/dist/esm/palettes/spacing-scale.js +16 -18
- package/dist/esm/palettes/typography-palette.js +14 -14
- package/dist/esm/tokens/default/spacing/spacing.js +0 -14
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +18 -3
- package/dist/types/artifacts/palettes-raw/spacing-scale.d.ts +4 -23
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +18 -3
- package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-spacing.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +17 -17
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -5
- package/dist/types/palettes/shape-palette.d.ts +8 -8
- package/dist/types/palettes/spacing-scale.d.ts +14 -16
- package/dist/types/types.d.ts +3 -4
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +18 -3
- package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +4 -23
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +18 -3
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-spacing.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +17 -17
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -5
- package/dist/types-ts4.5/palettes/shape-palette.d.ts +8 -8
- package/dist/types-ts4.5/palettes/spacing-scale.d.ts +14 -16
- package/dist/types-ts4.5/types.d.ts +3 -4
- package/figma/atlassian-shape.json +8 -8
- package/figma/atlassian-spacing.json +14 -28
- package/figma/atlassian-typography.json +6 -6
- package/package.json +4 -4
- package/report.api.md +14 -17
- package/tmp/api-report-tmp.d.ts +14 -17
|
@@ -4,90 +4,88 @@
|
|
|
4
4
|
|
|
5
5
|
var baseSpacingTokens = {
|
|
6
6
|
Space0: {
|
|
7
|
-
value:
|
|
7
|
+
value: 0,
|
|
8
8
|
attributes: {
|
|
9
9
|
group: 'spacing'
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
Space025: {
|
|
13
|
-
value:
|
|
13
|
+
value: 2,
|
|
14
14
|
attributes: {
|
|
15
15
|
group: 'spacing'
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
Space050: {
|
|
19
|
-
value:
|
|
19
|
+
value: 4,
|
|
20
20
|
attributes: {
|
|
21
21
|
group: 'spacing'
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
Space075: {
|
|
25
|
-
value:
|
|
25
|
+
value: 6,
|
|
26
26
|
attributes: {
|
|
27
27
|
group: 'spacing'
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
Space100: {
|
|
31
|
-
value:
|
|
31
|
+
value: 8,
|
|
32
32
|
attributes: {
|
|
33
33
|
group: 'spacing'
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
Space150: {
|
|
37
|
-
value:
|
|
37
|
+
value: 12,
|
|
38
38
|
attributes: {
|
|
39
39
|
group: 'spacing'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
Space200: {
|
|
43
|
-
value:
|
|
43
|
+
value: 16,
|
|
44
44
|
attributes: {
|
|
45
45
|
group: 'spacing'
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
Space250: {
|
|
49
|
-
value:
|
|
49
|
+
value: 20,
|
|
50
50
|
attributes: {
|
|
51
51
|
group: 'spacing'
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
Space300: {
|
|
55
|
-
value:
|
|
55
|
+
value: 24,
|
|
56
56
|
attributes: {
|
|
57
57
|
group: 'spacing'
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
Space400: {
|
|
61
|
-
value:
|
|
61
|
+
value: 32,
|
|
62
62
|
attributes: {
|
|
63
63
|
group: 'spacing'
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
Space500: {
|
|
67
|
-
value:
|
|
67
|
+
value: 40,
|
|
68
68
|
attributes: {
|
|
69
69
|
group: 'spacing'
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
Space600: {
|
|
73
|
-
value:
|
|
73
|
+
value: 48,
|
|
74
74
|
attributes: {
|
|
75
75
|
group: 'spacing'
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
Space800: {
|
|
79
|
-
value:
|
|
79
|
+
value: 64,
|
|
80
80
|
attributes: {
|
|
81
81
|
group: 'spacing'
|
|
82
|
-
}
|
|
83
|
-
pixelValue: '64px'
|
|
82
|
+
}
|
|
84
83
|
},
|
|
85
84
|
Space1000: {
|
|
86
|
-
value:
|
|
85
|
+
value: 80,
|
|
87
86
|
attributes: {
|
|
88
87
|
group: 'spacing'
|
|
89
|
-
}
|
|
90
|
-
pixelValue: '80px'
|
|
88
|
+
}
|
|
91
89
|
}
|
|
92
90
|
};
|
|
93
91
|
var spacingPalette = {
|
|
@@ -4,37 +4,37 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
var lineHeightScale = {
|
|
5
5
|
lineHeight: {
|
|
6
6
|
LineHeight100: {
|
|
7
|
-
value:
|
|
7
|
+
value: 16,
|
|
8
8
|
attributes: {
|
|
9
9
|
group: 'typography'
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
LineHeight200: {
|
|
13
|
-
value:
|
|
13
|
+
value: 20,
|
|
14
14
|
attributes: {
|
|
15
15
|
group: 'typography'
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
LineHeight300: {
|
|
19
|
-
value:
|
|
19
|
+
value: 24,
|
|
20
20
|
attributes: {
|
|
21
21
|
group: 'typography'
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
LineHeight400: {
|
|
25
|
-
value:
|
|
25
|
+
value: 28,
|
|
26
26
|
attributes: {
|
|
27
27
|
group: 'typography'
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
LineHeight500: {
|
|
31
|
-
value:
|
|
31
|
+
value: 32,
|
|
32
32
|
attributes: {
|
|
33
33
|
group: 'typography'
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
LineHeight600: {
|
|
37
|
-
value:
|
|
37
|
+
value: 40,
|
|
38
38
|
attributes: {
|
|
39
39
|
group: 'typography'
|
|
40
40
|
}
|
|
@@ -88,49 +88,49 @@ var fontFamilyPalette = {
|
|
|
88
88
|
var fontSizeScale = {
|
|
89
89
|
fontSize: {
|
|
90
90
|
FontSize050: {
|
|
91
|
-
value:
|
|
91
|
+
value: 11,
|
|
92
92
|
attributes: {
|
|
93
93
|
group: 'typography'
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
FontSize075: {
|
|
97
|
-
value:
|
|
97
|
+
value: 12,
|
|
98
98
|
attributes: {
|
|
99
99
|
group: 'typography'
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
FontSize100: {
|
|
103
|
-
value:
|
|
103
|
+
value: 14,
|
|
104
104
|
attributes: {
|
|
105
105
|
group: 'typography'
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
FontSize200: {
|
|
109
|
-
value:
|
|
109
|
+
value: 16,
|
|
110
110
|
attributes: {
|
|
111
111
|
group: 'typography'
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
FontSize300: {
|
|
115
|
-
value:
|
|
115
|
+
value: 20,
|
|
116
116
|
attributes: {
|
|
117
117
|
group: 'typography'
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
FontSize400: {
|
|
121
|
-
value:
|
|
121
|
+
value: 24,
|
|
122
122
|
attributes: {
|
|
123
123
|
group: 'typography'
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
FontSize500: {
|
|
127
|
-
value:
|
|
127
|
+
value: 29,
|
|
128
128
|
attributes: {
|
|
129
129
|
group: 'typography'
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
FontSize600: {
|
|
133
|
-
value:
|
|
133
|
+
value: 35,
|
|
134
134
|
attributes: {
|
|
135
135
|
group: 'typography'
|
|
136
136
|
}
|
|
@@ -10,7 +10,6 @@ var spacing = {
|
|
|
10
10
|
group: 'spacing',
|
|
11
11
|
state: 'active',
|
|
12
12
|
introduced: '0.12.0',
|
|
13
|
-
pixelValue: '0px',
|
|
14
13
|
description: 'Equates to `0`. Can be used for resetting default spacing styles.'
|
|
15
14
|
}
|
|
16
15
|
},
|
|
@@ -20,7 +19,6 @@ var spacing = {
|
|
|
20
19
|
state: 'active',
|
|
21
20
|
suggest: ['1px', '3px'],
|
|
22
21
|
introduced: '0.12.0',
|
|
23
|
-
pixelValue: '2px',
|
|
24
22
|
description: 'Use for spacing in compact scenarios. The smallest value in our scale.'
|
|
25
23
|
}
|
|
26
24
|
},
|
|
@@ -30,7 +28,6 @@ var spacing = {
|
|
|
30
28
|
state: 'active',
|
|
31
29
|
suggest: ['3px', '5px'],
|
|
32
30
|
introduced: '0.12.0',
|
|
33
|
-
pixelValue: '4px',
|
|
34
31
|
description: 'Use for spacing in compact scenarios.'
|
|
35
32
|
}
|
|
36
33
|
},
|
|
@@ -40,7 +37,6 @@ var spacing = {
|
|
|
40
37
|
state: 'active',
|
|
41
38
|
suggest: ['5px', '7px'],
|
|
42
39
|
introduced: '0.12.0',
|
|
43
|
-
pixelValue: '6px',
|
|
44
40
|
description: 'Use for spacing in compact scenarios.'
|
|
45
41
|
}
|
|
46
42
|
},
|
|
@@ -50,7 +46,6 @@ var spacing = {
|
|
|
50
46
|
state: 'active',
|
|
51
47
|
suggest: ['7px', '9px'],
|
|
52
48
|
introduced: '0.12.0',
|
|
53
|
-
pixelValue: '8px',
|
|
54
49
|
description: 'Use for gutter spacing.'
|
|
55
50
|
}
|
|
56
51
|
},
|
|
@@ -60,7 +55,6 @@ var spacing = {
|
|
|
60
55
|
state: 'active',
|
|
61
56
|
suggest: ['10px', '11px', '13px', '14px'],
|
|
62
57
|
introduced: '0.12.0',
|
|
63
|
-
pixelValue: '12px',
|
|
64
58
|
description: 'Helpful guidance goes here'
|
|
65
59
|
}
|
|
66
60
|
},
|
|
@@ -70,7 +64,6 @@ var spacing = {
|
|
|
70
64
|
state: 'active',
|
|
71
65
|
suggest: ['14px', '15px', '17px', '18px'],
|
|
72
66
|
introduced: '0.12.0',
|
|
73
|
-
pixelValue: '16px',
|
|
74
67
|
description: 'Use for gutter spacing.'
|
|
75
68
|
}
|
|
76
69
|
},
|
|
@@ -80,7 +73,6 @@ var spacing = {
|
|
|
80
73
|
state: 'active',
|
|
81
74
|
suggest: ['19px', '21px', '22px', '23px'],
|
|
82
75
|
introduced: '0.12.0',
|
|
83
|
-
pixelValue: '20px',
|
|
84
76
|
description: 'Use for gutter spacing.'
|
|
85
77
|
}
|
|
86
78
|
},
|
|
@@ -90,7 +82,6 @@ var spacing = {
|
|
|
90
82
|
state: 'active',
|
|
91
83
|
suggest: ['23px', '25px', '26px', '27px', '28px'],
|
|
92
84
|
introduced: '0.12.0',
|
|
93
|
-
pixelValue: '24px',
|
|
94
85
|
description: 'Use for gutter spacing.'
|
|
95
86
|
}
|
|
96
87
|
},
|
|
@@ -100,7 +91,6 @@ var spacing = {
|
|
|
100
91
|
state: 'active',
|
|
101
92
|
suggest: ['28px', '29px', '30px', '31px', '33px', '34px', '35px'],
|
|
102
93
|
introduced: '0.12.0',
|
|
103
|
-
pixelValue: '32px',
|
|
104
94
|
description: 'Use for gutter spacing.'
|
|
105
95
|
}
|
|
106
96
|
},
|
|
@@ -109,7 +99,6 @@ var spacing = {
|
|
|
109
99
|
group: 'spacing',
|
|
110
100
|
state: 'active',
|
|
111
101
|
introduced: '0.12.0',
|
|
112
|
-
pixelValue: '40px',
|
|
113
102
|
description: 'Use for larger layout-specific spacing.'
|
|
114
103
|
}
|
|
115
104
|
},
|
|
@@ -118,7 +107,6 @@ var spacing = {
|
|
|
118
107
|
group: 'spacing',
|
|
119
108
|
state: 'active',
|
|
120
109
|
introduced: '0.12.0',
|
|
121
|
-
pixelValue: '48px',
|
|
122
110
|
description: 'Use for larger layout-specific spacing.'
|
|
123
111
|
}
|
|
124
112
|
},
|
|
@@ -127,7 +115,6 @@ var spacing = {
|
|
|
127
115
|
group: 'spacing',
|
|
128
116
|
state: 'active',
|
|
129
117
|
introduced: '0.12.0',
|
|
130
|
-
pixelValue: '64px',
|
|
131
118
|
description: 'Use for larger layout-specific spacing.'
|
|
132
119
|
}
|
|
133
120
|
},
|
|
@@ -136,7 +123,6 @@ var spacing = {
|
|
|
136
123
|
group: 'spacing',
|
|
137
124
|
state: 'active',
|
|
138
125
|
introduced: '0.12.0',
|
|
139
|
-
pixelValue: '80px',
|
|
140
126
|
description: 'Use for larger layout-specific spacing.'
|
|
141
127
|
}
|
|
142
128
|
}
|
package/dist/esm/version.json
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::a2e59b8e1421ca4ad026a5b2161824b2>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const tokens: {
|
|
6
|
+
declare const tokens: ({
|
|
7
|
+
value: string;
|
|
8
|
+
attributes: {
|
|
9
|
+
group: string;
|
|
10
|
+
};
|
|
11
|
+
filePath: string;
|
|
12
|
+
isSource: boolean;
|
|
13
|
+
original: {
|
|
14
|
+
value: number;
|
|
15
|
+
attributes: {
|
|
16
|
+
group: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
name: string;
|
|
20
|
+
path: string[];
|
|
21
|
+
} | {
|
|
7
22
|
value: string;
|
|
8
23
|
attributes: {
|
|
9
24
|
group: string;
|
|
@@ -18,5 +33,5 @@ declare const tokens: {
|
|
|
18
33
|
};
|
|
19
34
|
name: string;
|
|
20
35
|
path: string[];
|
|
21
|
-
}[];
|
|
36
|
+
})[];
|
|
22
37
|
export default tokens;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4cad6a8b4b676f9379fa2d4fca019b0e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const tokens:
|
|
6
|
+
declare const tokens: {
|
|
7
7
|
value: string;
|
|
8
8
|
attributes: {
|
|
9
9
|
group: string;
|
|
@@ -11,31 +11,12 @@ declare const tokens: ({
|
|
|
11
11
|
filePath: string;
|
|
12
12
|
isSource: boolean;
|
|
13
13
|
original: {
|
|
14
|
-
value:
|
|
14
|
+
value: number;
|
|
15
15
|
attributes: {
|
|
16
16
|
group: string;
|
|
17
17
|
};
|
|
18
|
-
pixelValue?: undefined;
|
|
19
18
|
};
|
|
20
19
|
name: string;
|
|
21
20
|
path: string[];
|
|
22
|
-
|
|
23
|
-
} | {
|
|
24
|
-
value: string;
|
|
25
|
-
attributes: {
|
|
26
|
-
group: string;
|
|
27
|
-
};
|
|
28
|
-
pixelValue: string;
|
|
29
|
-
filePath: string;
|
|
30
|
-
isSource: boolean;
|
|
31
|
-
original: {
|
|
32
|
-
value: string;
|
|
33
|
-
attributes: {
|
|
34
|
-
group: string;
|
|
35
|
-
};
|
|
36
|
-
pixelValue: string;
|
|
37
|
-
};
|
|
38
|
-
name: string;
|
|
39
|
-
path: string[];
|
|
40
|
-
})[];
|
|
21
|
+
}[];
|
|
41
22
|
export default tokens;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::62a42989e49ca7f7856827fb9ea059d6>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const tokens: {
|
|
6
|
+
declare const tokens: ({
|
|
7
7
|
value: string;
|
|
8
8
|
attributes: {
|
|
9
9
|
group: string;
|
|
@@ -18,5 +18,20 @@ declare const tokens: {
|
|
|
18
18
|
};
|
|
19
19
|
name: string;
|
|
20
20
|
path: string[];
|
|
21
|
-
}
|
|
21
|
+
} | {
|
|
22
|
+
value: string;
|
|
23
|
+
attributes: {
|
|
24
|
+
group: string;
|
|
25
|
+
};
|
|
26
|
+
filePath: string;
|
|
27
|
+
isSource: boolean;
|
|
28
|
+
original: {
|
|
29
|
+
value: number;
|
|
30
|
+
attributes: {
|
|
31
|
+
group: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
name: string;
|
|
35
|
+
path: string[];
|
|
36
|
+
})[];
|
|
22
37
|
export default tokens;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::01d88a41c27f9a921fe1a40fec0a7ba0>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
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-0:
|
|
6
|
+
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-0: 0rem;\n --ds-width-050: 0.0625rem;\n --ds-width-100: 0.125rem;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::36f0214aaedb62d3639cb79a9195eaf6>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"spacing:spacing\"] {\n --ds-space-0:
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"spacing:spacing\"] {\n --ds-space-0: 0rem;\n --ds-space-025: 0.125rem;\n --ds-space-050: 0.25rem;\n --ds-space-075: 0.375rem;\n --ds-space-100: 0.5rem;\n --ds-space-150: 0.75rem;\n --ds-space-200: 1rem;\n --ds-space-250: 1.25rem;\n --ds-space-300: 1.5rem;\n --ds-space-400: 2rem;\n --ds-space-500: 2.5rem;\n --ds-space-600: 3rem;\n --ds-space-800: 4rem;\n --ds-space-1000: 5rem;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3e4dc097014124b77e69b832281f37ed>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-family-monospace: \"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-size-050:
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-family-monospace: \"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-size-050: 0.6875rem;\n --ds-font-size-075: 0.75rem;\n --ds-font-size-100: 0.875rem;\n --ds-font-size-200: 1rem;\n --ds-font-size-300: 1.25rem;\n --ds-font-size-400: 1.5rem;\n --ds-font-size-500: 1.8125rem;\n --ds-font-size-600: 2.1875rem;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n --ds-font-lineHeight-100: 1rem;\n --ds-font-lineHeight-200: 1.25rem;\n --ds-font-lineHeight-300: 1.5rem;\n --ds-font-lineHeight-400: 1.75rem;\n --ds-font-lineHeight-500: 2rem;\n --ds-font-lineHeight-600: 2.5rem;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -4,7 +4,7 @@
|
|
|
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::
|
|
7
|
+
* @codegen <<SignedSource::856ff062171d44deb03158a6fa7d7bd1>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
declare const defaultTokenValues: {
|
|
@@ -14,7 +14,7 @@ declare const defaultTokenValues: {
|
|
|
14
14
|
readonly 'border.radius.300': "0.75rem";
|
|
15
15
|
readonly 'border.radius.400': "1rem";
|
|
16
16
|
readonly 'border.radius.round': "50%";
|
|
17
|
-
readonly 'border.width.0': "
|
|
17
|
+
readonly 'border.width.0': "0rem";
|
|
18
18
|
readonly 'border.width.050': "0.0625rem";
|
|
19
19
|
readonly 'border.width.100': "0.125rem";
|
|
20
20
|
readonly 'color.text': "#172B4D";
|
|
@@ -303,7 +303,7 @@ declare const defaultTokenValues: {
|
|
|
303
303
|
readonly 'opacity.disabled': "0.4";
|
|
304
304
|
readonly 'opacity.loading': "0.2";
|
|
305
305
|
readonly 'utility.UNSAFE.transparent': "transparent";
|
|
306
|
-
readonly 'space.0': "
|
|
306
|
+
readonly 'space.0': "0rem";
|
|
307
307
|
readonly 'space.025': "0.125rem";
|
|
308
308
|
readonly 'space.050': "0.25rem";
|
|
309
309
|
readonly 'space.075': "0.375rem";
|
|
@@ -319,23 +319,23 @@ declare const defaultTokenValues: {
|
|
|
319
319
|
readonly 'space.1000': "5rem";
|
|
320
320
|
readonly 'font.family.monospace': "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace";
|
|
321
321
|
readonly 'font.family.sans': "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
|
|
322
|
-
readonly 'font.size.050': "
|
|
323
|
-
readonly 'font.size.075': "
|
|
324
|
-
readonly 'font.size.100': "
|
|
325
|
-
readonly 'font.size.200': "
|
|
326
|
-
readonly 'font.size.300': "
|
|
327
|
-
readonly 'font.size.400': "
|
|
328
|
-
readonly 'font.size.500': "
|
|
329
|
-
readonly 'font.size.600': "
|
|
322
|
+
readonly 'font.size.050': "0.6875rem";
|
|
323
|
+
readonly 'font.size.075': "0.75rem";
|
|
324
|
+
readonly 'font.size.100': "0.875rem";
|
|
325
|
+
readonly 'font.size.200': "1rem";
|
|
326
|
+
readonly 'font.size.300': "1.25rem";
|
|
327
|
+
readonly 'font.size.400': "1.5rem";
|
|
328
|
+
readonly 'font.size.500': "1.8125rem";
|
|
329
|
+
readonly 'font.size.600': "2.1875rem";
|
|
330
330
|
readonly 'font.weight.bold': "700";
|
|
331
331
|
readonly 'font.weight.medium': "500";
|
|
332
332
|
readonly 'font.weight.regular': "400";
|
|
333
333
|
readonly 'font.weight.semibold': "600";
|
|
334
|
-
readonly 'font.lineHeight.100': "
|
|
335
|
-
readonly 'font.lineHeight.200': "
|
|
336
|
-
readonly 'font.lineHeight.300': "
|
|
337
|
-
readonly 'font.lineHeight.400': "
|
|
338
|
-
readonly 'font.lineHeight.500': "
|
|
339
|
-
readonly 'font.lineHeight.600': "
|
|
334
|
+
readonly 'font.lineHeight.100': "1rem";
|
|
335
|
+
readonly 'font.lineHeight.200': "1.25rem";
|
|
336
|
+
readonly 'font.lineHeight.300': "1.5rem";
|
|
337
|
+
readonly 'font.lineHeight.400': "1.75rem";
|
|
338
|
+
readonly 'font.lineHeight.500': "2rem";
|
|
339
|
+
readonly 'font.lineHeight.600': "2.5rem";
|
|
340
340
|
};
|
|
341
341
|
export default defaultTokenValues;
|
|
@@ -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::7cdaa82f55e6537ca0b68d196db9e1d6>>
|
|
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::
|
|
3
|
+
* @codegen <<SignedSource::c89f0dcd1df97245a694a1a77741bb39>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -8,7 +8,6 @@ declare const tokens: ({
|
|
|
8
8
|
group: string;
|
|
9
9
|
state: string;
|
|
10
10
|
introduced: string;
|
|
11
|
-
pixelValue: string;
|
|
12
11
|
description: string;
|
|
13
12
|
suggest?: undefined;
|
|
14
13
|
};
|
|
@@ -20,7 +19,6 @@ declare const tokens: ({
|
|
|
20
19
|
group: string;
|
|
21
20
|
state: string;
|
|
22
21
|
introduced: string;
|
|
23
|
-
pixelValue: string;
|
|
24
22
|
description: string;
|
|
25
23
|
suggest?: undefined;
|
|
26
24
|
};
|
|
@@ -35,7 +33,6 @@ declare const tokens: ({
|
|
|
35
33
|
state: string;
|
|
36
34
|
suggest: string[];
|
|
37
35
|
introduced: string;
|
|
38
|
-
pixelValue: string;
|
|
39
36
|
description: string;
|
|
40
37
|
};
|
|
41
38
|
value: string;
|
|
@@ -47,7 +44,6 @@ declare const tokens: ({
|
|
|
47
44
|
state: string;
|
|
48
45
|
suggest: string[];
|
|
49
46
|
introduced: string;
|
|
50
|
-
pixelValue: string;
|
|
51
47
|
description: string;
|
|
52
48
|
};
|
|
53
49
|
value: string;
|
|
@@ -7,19 +7,19 @@ export type BaseSizeToken = keyof typeof baseSizeTokens;
|
|
|
7
7
|
export type BaseRadiusToken = keyof typeof baseRadiusTokens;
|
|
8
8
|
declare const baseSizeTokens: {
|
|
9
9
|
readonly Size0: {
|
|
10
|
-
readonly value:
|
|
10
|
+
readonly value: 0;
|
|
11
11
|
readonly attributes: {
|
|
12
12
|
readonly group: "shape";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
readonly Size050: {
|
|
16
|
-
readonly value:
|
|
16
|
+
readonly value: 1;
|
|
17
17
|
readonly attributes: {
|
|
18
18
|
readonly group: "shape";
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
readonly Size100: {
|
|
22
|
-
readonly value:
|
|
22
|
+
readonly value: 2;
|
|
23
23
|
readonly attributes: {
|
|
24
24
|
readonly group: "shape";
|
|
25
25
|
};
|
|
@@ -27,31 +27,31 @@ declare const baseSizeTokens: {
|
|
|
27
27
|
};
|
|
28
28
|
declare const baseRadiusTokens: {
|
|
29
29
|
readonly Radius050: {
|
|
30
|
-
readonly value:
|
|
30
|
+
readonly value: 2;
|
|
31
31
|
readonly attributes: {
|
|
32
32
|
readonly group: "shape";
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
readonly Radius100: {
|
|
36
|
-
readonly value:
|
|
36
|
+
readonly value: 4;
|
|
37
37
|
readonly attributes: {
|
|
38
38
|
readonly group: "shape";
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
readonly Radius200: {
|
|
42
|
-
readonly value:
|
|
42
|
+
readonly value: 8;
|
|
43
43
|
readonly attributes: {
|
|
44
44
|
readonly group: "shape";
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
readonly Radius300: {
|
|
48
|
-
readonly value:
|
|
48
|
+
readonly value: 12;
|
|
49
49
|
readonly attributes: {
|
|
50
50
|
readonly group: "shape";
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
readonly Radius400: {
|
|
54
|
-
readonly value:
|
|
54
|
+
readonly value: 16;
|
|
55
55
|
readonly attributes: {
|
|
56
56
|
readonly group: "shape";
|
|
57
57
|
};
|