@atlaskit/tokens 12.0.0 → 13.0.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 +15 -0
- package/dist/cjs/artifacts/replacement-mapping.js +2 -153
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +1 -2
- package/dist/cjs/artifacts/token-names.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-motion.js +197 -197
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +1 -34
- package/dist/cjs/entry-points/token-metadata.codegen.js +442 -10
- package/dist/cjs/entry-points/tokens-raw.js +8 -1
- package/dist/es2019/artifacts/replacement-mapping.js +2 -153
- package/dist/es2019/artifacts/themes/atlassian-typography.js +1 -2
- package/dist/es2019/artifacts/token-default-values.js +1 -2
- package/dist/es2019/artifacts/token-names.js +1 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-motion.js +197 -197
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +1 -34
- package/dist/es2019/entry-points/token-metadata.codegen.js +442 -10
- package/dist/es2019/entry-points/tokens-raw.js +2 -1
- package/dist/esm/artifacts/replacement-mapping.js +2 -153
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +1 -2
- package/dist/esm/artifacts/token-names.js +1 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-motion.js +197 -197
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +1 -34
- package/dist/esm/entry-points/token-metadata.codegen.js +442 -10
- package/dist/esm/entry-points/tokens-raw.js +2 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -2
- package/dist/types/artifacts/token-names.d.ts +1 -3
- package/dist/types/artifacts/tokens-raw/atlassian-motion.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types/entry-points/tokens-raw.d.ts +1 -0
- package/dist/types/types.d.ts +0 -1
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -2
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -3
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-motion.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +0 -1
- package/figma/atlassian-typography.json +1 -3
- package/package.json +11 -12
|
@@ -12,160 +12,9 @@
|
|
|
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::c779b40628532228cae2ec34977f1f8e>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
const replacementMapper = [
|
|
20
|
-
"path": "motion.avatar.enter",
|
|
21
|
-
"state": "experimental"
|
|
22
|
-
}, {
|
|
23
|
-
"path": "motion.avatar.exit",
|
|
24
|
-
"state": "experimental"
|
|
25
|
-
}, {
|
|
26
|
-
"path": "motion.avatar.hovered",
|
|
27
|
-
"state": "experimental"
|
|
28
|
-
}, {
|
|
29
|
-
"path": "motion.blanket.enter",
|
|
30
|
-
"state": "experimental"
|
|
31
|
-
}, {
|
|
32
|
-
"path": "motion.blanket.exit",
|
|
33
|
-
"state": "experimental"
|
|
34
|
-
}, {
|
|
35
|
-
"path": "motion.duration.instant",
|
|
36
|
-
"state": "experimental"
|
|
37
|
-
}, {
|
|
38
|
-
"path": "motion.duration.long",
|
|
39
|
-
"state": "experimental"
|
|
40
|
-
}, {
|
|
41
|
-
"path": "motion.duration.medium",
|
|
42
|
-
"state": "experimental"
|
|
43
|
-
}, {
|
|
44
|
-
"path": "motion.duration.short",
|
|
45
|
-
"state": "experimental"
|
|
46
|
-
}, {
|
|
47
|
-
"path": "motion.duration.xlong",
|
|
48
|
-
"state": "experimental"
|
|
49
|
-
}, {
|
|
50
|
-
"path": "motion.duration.xshort",
|
|
51
|
-
"state": "experimental"
|
|
52
|
-
}, {
|
|
53
|
-
"path": "motion.duration.xxlong",
|
|
54
|
-
"state": "experimental"
|
|
55
|
-
}, {
|
|
56
|
-
"path": "motion.duration.xxshort",
|
|
57
|
-
"state": "experimental"
|
|
58
|
-
}, {
|
|
59
|
-
"path": "motion.easing.in.practical",
|
|
60
|
-
"state": "experimental"
|
|
61
|
-
}, {
|
|
62
|
-
"path": "motion.easing.inout.bold",
|
|
63
|
-
"state": "experimental"
|
|
64
|
-
}, {
|
|
65
|
-
"path": "motion.easing.out.practical",
|
|
66
|
-
"state": "experimental"
|
|
67
|
-
}, {
|
|
68
|
-
"path": "motion.easing.out.bold",
|
|
69
|
-
"state": "experimental"
|
|
70
|
-
}, {
|
|
71
|
-
"path": "motion.easing.spring",
|
|
72
|
-
"state": "experimental"
|
|
73
|
-
}, {
|
|
74
|
-
"path": "motion.flag.enter",
|
|
75
|
-
"state": "experimental"
|
|
76
|
-
}, {
|
|
77
|
-
"path": "motion.flag.exit",
|
|
78
|
-
"state": "experimental"
|
|
79
|
-
}, {
|
|
80
|
-
"path": "motion.flag.reposition",
|
|
81
|
-
"state": "experimental"
|
|
82
|
-
}, {
|
|
83
|
-
"path": "motion.keyframe.fade.in",
|
|
84
|
-
"state": "experimental"
|
|
85
|
-
}, {
|
|
86
|
-
"path": "motion.keyframe.fade.out",
|
|
87
|
-
"state": "experimental"
|
|
88
|
-
}, {
|
|
89
|
-
"path": "motion.keyframe.scale.in.medium",
|
|
90
|
-
"state": "experimental"
|
|
91
|
-
}, {
|
|
92
|
-
"path": "motion.keyframe.scale.in.small",
|
|
93
|
-
"state": "experimental"
|
|
94
|
-
}, {
|
|
95
|
-
"path": "motion.keyframe.scale.out.medium",
|
|
96
|
-
"state": "experimental"
|
|
97
|
-
}, {
|
|
98
|
-
"path": "motion.keyframe.scale.out.small",
|
|
99
|
-
"state": "experimental"
|
|
100
|
-
}, {
|
|
101
|
-
"path": "motion.keyframe.slide.in.bottom.short",
|
|
102
|
-
"state": "experimental"
|
|
103
|
-
}, {
|
|
104
|
-
"path": "motion.keyframe.slide.in.left.half",
|
|
105
|
-
"state": "experimental"
|
|
106
|
-
}, {
|
|
107
|
-
"path": "motion.keyframe.slide.in.left.short",
|
|
108
|
-
"state": "experimental"
|
|
109
|
-
}, {
|
|
110
|
-
"path": "motion.keyframe.slide.in.right.short",
|
|
111
|
-
"state": "experimental"
|
|
112
|
-
}, {
|
|
113
|
-
"path": "motion.keyframe.slide.in.top.short",
|
|
114
|
-
"state": "experimental"
|
|
115
|
-
}, {
|
|
116
|
-
"path": "motion.keyframe.slide.out.bottom.short",
|
|
117
|
-
"state": "experimental"
|
|
118
|
-
}, {
|
|
119
|
-
"path": "motion.keyframe.slide.out.left.half",
|
|
120
|
-
"state": "experimental"
|
|
121
|
-
}, {
|
|
122
|
-
"path": "motion.keyframe.slide.out.left.short",
|
|
123
|
-
"state": "experimental"
|
|
124
|
-
}, {
|
|
125
|
-
"path": "motion.keyframe.slide.out.right.short",
|
|
126
|
-
"state": "experimental"
|
|
127
|
-
}, {
|
|
128
|
-
"path": "motion.keyframe.slide.out.top.short",
|
|
129
|
-
"state": "experimental"
|
|
130
|
-
}, {
|
|
131
|
-
"path": "motion.modal.enter",
|
|
132
|
-
"state": "experimental"
|
|
133
|
-
}, {
|
|
134
|
-
"path": "motion.modal.exit",
|
|
135
|
-
"state": "experimental"
|
|
136
|
-
}, {
|
|
137
|
-
"path": "motion.popup.enter.bottom",
|
|
138
|
-
"state": "experimental"
|
|
139
|
-
}, {
|
|
140
|
-
"path": "motion.popup.enter.left",
|
|
141
|
-
"state": "experimental"
|
|
142
|
-
}, {
|
|
143
|
-
"path": "motion.popup.enter.right",
|
|
144
|
-
"state": "experimental"
|
|
145
|
-
}, {
|
|
146
|
-
"path": "motion.popup.enter.top",
|
|
147
|
-
"state": "experimental"
|
|
148
|
-
}, {
|
|
149
|
-
"path": "motion.popup.exit.bottom",
|
|
150
|
-
"state": "experimental"
|
|
151
|
-
}, {
|
|
152
|
-
"path": "motion.popup.exit.left",
|
|
153
|
-
"state": "experimental"
|
|
154
|
-
}, {
|
|
155
|
-
"path": "motion.popup.exit.right",
|
|
156
|
-
"state": "experimental"
|
|
157
|
-
}, {
|
|
158
|
-
"path": "motion.popup.exit.top",
|
|
159
|
-
"state": "experimental"
|
|
160
|
-
}, {
|
|
161
|
-
"path": "motion.spotlight.enter",
|
|
162
|
-
"state": "experimental"
|
|
163
|
-
}, {
|
|
164
|
-
"path": "motion.spotlight.exit",
|
|
165
|
-
"state": "experimental"
|
|
166
|
-
}, {
|
|
167
|
-
"path": "font.body.UNSAFE_small",
|
|
168
|
-
"state": "deprecated",
|
|
169
|
-
"replacement": "font.body.small"
|
|
170
|
-
}];
|
|
19
|
+
const replacementMapper = [];
|
|
171
20
|
export default replacementMapper;
|
|
@@ -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::12d277e3c095466fe9d6c4fb8390f066>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
@@ -15,7 +15,6 @@ html[data-theme~="typography:typography"], [data-subtree-theme][data-theme~="typ
|
|
|
15
15
|
--ds-font-body-large: normal 400 1rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
16
16
|
--ds-font-body: normal 400 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
17
17
|
--ds-font-body-small: normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
18
|
-
--ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
19
18
|
--ds-font-metric-large: normal 653 1.75rem/2rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
20
19
|
--ds-font-metric-medium: normal 653 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
21
20
|
--ds-font-metric-small: normal 653 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
8
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
9
9
|
*
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::3389a98f2c8d274c3d9e5d9d63df8780>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
const defaultTokenValues = {
|
|
@@ -503,7 +503,6 @@ const defaultTokenValues = {
|
|
|
503
503
|
'font.body.large': 'normal 400 1rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
504
504
|
'font.body': 'normal 400 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
505
505
|
'font.body.small': 'normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
506
|
-
'font.body.UNSAFE_small': 'normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
507
506
|
'font.metric.large': 'normal 653 1.75rem/2rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
508
507
|
'font.metric.medium': 'normal 653 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
509
508
|
'font.metric.small': 'normal 653 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
@@ -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::a1de8a9439d40392e3e4945ecf9d9214>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -496,7 +496,6 @@ const tokens = {
|
|
|
496
496
|
'font.body.large': '--ds-font-body-large',
|
|
497
497
|
'font.body': '--ds-font-body',
|
|
498
498
|
'font.body.small': '--ds-font-body-small',
|
|
499
|
-
'font.body.UNSAFE_small': '--ds-font-body-UNSAFE_small',
|
|
500
499
|
'font.metric.large': '--ds-font-metric-large',
|
|
501
500
|
'font.metric.medium': '--ds-font-metric-medium',
|
|
502
501
|
'font.metric.small': '--ds-font-metric-small',
|