@atlaskit/tokens 0.10.14 → 0.10.17
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 +23 -0
- package/css/atlassian-legacy-dark.css +290 -0
- package/css/atlassian-legacy-light.css +290 -0
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1970 -0
- package/dist/cjs/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +6758 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +6718 -0
- package/dist/cjs/constants.js +7 -5
- package/dist/cjs/entry-points/palettes-raw.js +2 -2
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/legacy-palette.js +825 -0
- package/dist/cjs/{tokens → palettes}/palette.js +0 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +296 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +250 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +53 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +52 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +20 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +63 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/deprecated/deprecated.js +532 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +89 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +26 -0
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +20 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +296 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +249 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +53 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +52 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +22 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +20 -0
- package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +63 -0
- package/dist/cjs/tokens/atlassian-legacy-light/deprecated/deprecated.js +523 -0
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +71 -0
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +26 -0
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +20 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +1962 -0
- package/dist/es2019/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
- package/dist/es2019/constants.js +5 -3
- package/dist/es2019/entry-points/palettes-raw.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/legacy-palette.js +817 -0
- package/dist/es2019/{tokens → palettes}/palette.js +0 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/accent.js +289 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/background.js +243 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/border.js +46 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/icon.js +45 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/color/text.js +56 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
- package/dist/es2019/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/accent.js +289 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/background.js +242 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/border.js +46 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/icon.js +45 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/interaction.js +15 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
- package/dist/es2019/tokens/atlassian-legacy-light/color/text.js +56 -0
- package/dist/es2019/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
- package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
- package/dist/es2019/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
- package/dist/es2019/tokens/atlassian-legacy-light/utility/utility.js +13 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +1962 -0
- package/dist/esm/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +6750 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +6710 -0
- package/dist/esm/constants.js +5 -3
- package/dist/esm/entry-points/palettes-raw.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/legacy-palette.js +817 -0
- package/dist/esm/{tokens → palettes}/palette.js +0 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/accent.js +289 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/background.js +243 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/border.js +46 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/icon.js +45 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/interaction.js +15 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/skeleton.js +13 -0
- package/dist/esm/tokens/atlassian-legacy-dark/color/text.js +56 -0
- package/dist/esm/tokens/atlassian-legacy-dark/deprecated/deprecated.js +525 -0
- package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +82 -0
- package/dist/esm/tokens/atlassian-legacy-dark/elevation/surface.js +19 -0
- package/dist/esm/tokens/atlassian-legacy-dark/utility/utility.js +13 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/accent.js +289 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/background.js +242 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/border.js +46 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/icon.js +45 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/interaction.js +15 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/skeleton.js +13 -0
- package/dist/esm/tokens/atlassian-legacy-light/color/text.js +56 -0
- package/dist/esm/tokens/atlassian-legacy-light/deprecated/deprecated.js +516 -0
- package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +64 -0
- package/dist/esm/tokens/atlassian-legacy-light/elevation/surface.js +19 -0
- package/dist/esm/tokens/atlassian-legacy-light/utility/utility.js +13 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/{palettes-raw.d.ts → palettes-raw/legacy-palette.d.ts} +1 -1
- package/dist/types/artifacts/palettes-raw/palette.d.ts +24 -0
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +195 -0
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +147 -0
- package/dist/types/constants.d.ts +7 -2
- package/dist/types/entry-points/palettes-raw.d.ts +1 -1
- package/dist/types/palettes/legacy-palette.d.ts +10 -0
- package/dist/types/palettes/palette.d.ts +5 -0
- package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/icon.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-legacy-dark/color/accent.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/background.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/border.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/icon.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/interaction.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/skeleton.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/color/text.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/elevation/surface.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-dark/utility/utility.d.ts +5 -0
- package/dist/types/tokens/atlassian-legacy-light/color/accent.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/background.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/border.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/icon.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/interaction.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/skeleton.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/color/text.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/elevation/shadow.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/elevation/surface.d.ts +4 -0
- package/dist/types/tokens/atlassian-legacy-light/utility/utility.d.ts +5 -0
- package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/icon.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/interaction.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/color/accent.d.ts +2 -1
- package/dist/types/tokens/default/color/background.d.ts +2 -1
- package/dist/types/tokens/default/color/border.d.ts +2 -1
- package/dist/types/tokens/default/color/icon.d.ts +2 -1
- package/dist/types/tokens/default/color/interaction.d.ts +2 -1
- package/dist/types/tokens/default/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/default/color/text.d.ts +2 -1
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/default/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/default/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +308 -426
- package/dist/types/utils/color-detection.d.ts +1 -1
- package/package.json +6 -4
- package/dist/types/tokens/palette.d.ts +0 -3
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::1db540cf97cd7f307fc628bbb5346972>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
declare const tokens: ({
|
|
7
|
+
attributes: {
|
|
8
|
+
group: string;
|
|
9
|
+
state: string;
|
|
10
|
+
introduced: string;
|
|
11
|
+
description: string;
|
|
12
|
+
deprecated?: undefined;
|
|
13
|
+
deleted?: undefined;
|
|
14
|
+
replacement?: undefined;
|
|
15
|
+
};
|
|
16
|
+
value: string;
|
|
17
|
+
filePath: string;
|
|
18
|
+
isSource: boolean;
|
|
19
|
+
original: {
|
|
20
|
+
attributes: {
|
|
21
|
+
group: string;
|
|
22
|
+
state: string;
|
|
23
|
+
introduced: string;
|
|
24
|
+
description: string;
|
|
25
|
+
deprecated?: undefined;
|
|
26
|
+
deleted?: undefined;
|
|
27
|
+
replacement?: undefined;
|
|
28
|
+
};
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
name: string;
|
|
32
|
+
path: string[];
|
|
33
|
+
} | {
|
|
34
|
+
attributes: {
|
|
35
|
+
group: string;
|
|
36
|
+
state: string;
|
|
37
|
+
introduced: string;
|
|
38
|
+
deprecated: string;
|
|
39
|
+
deleted: string;
|
|
40
|
+
replacement: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
value: string;
|
|
44
|
+
filePath: string;
|
|
45
|
+
isSource: boolean;
|
|
46
|
+
original: {
|
|
47
|
+
attributes: {
|
|
48
|
+
group: string;
|
|
49
|
+
state: string;
|
|
50
|
+
introduced: string;
|
|
51
|
+
deprecated: string;
|
|
52
|
+
deleted: string;
|
|
53
|
+
replacement: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
value: string;
|
|
57
|
+
};
|
|
58
|
+
name: string;
|
|
59
|
+
path: string[];
|
|
60
|
+
} | {
|
|
61
|
+
attributes: {
|
|
62
|
+
group: string;
|
|
63
|
+
state: string;
|
|
64
|
+
introduced: string;
|
|
65
|
+
deprecated: string;
|
|
66
|
+
deleted: string;
|
|
67
|
+
replacement: string;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
value: ({
|
|
71
|
+
radius: number;
|
|
72
|
+
spread: number;
|
|
73
|
+
color: string;
|
|
74
|
+
offset: {
|
|
75
|
+
x: number;
|
|
76
|
+
y: number;
|
|
77
|
+
};
|
|
78
|
+
opacity: number;
|
|
79
|
+
inset: boolean;
|
|
80
|
+
} | {
|
|
81
|
+
radius: number;
|
|
82
|
+
offset: {
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
};
|
|
86
|
+
color: string;
|
|
87
|
+
opacity: number;
|
|
88
|
+
spread?: undefined;
|
|
89
|
+
inset?: undefined;
|
|
90
|
+
})[];
|
|
91
|
+
filePath: string;
|
|
92
|
+
isSource: boolean;
|
|
93
|
+
original: {
|
|
94
|
+
attributes: {
|
|
95
|
+
group: string;
|
|
96
|
+
state: string;
|
|
97
|
+
introduced: string;
|
|
98
|
+
deprecated: string;
|
|
99
|
+
deleted: string;
|
|
100
|
+
replacement: string;
|
|
101
|
+
description: string;
|
|
102
|
+
};
|
|
103
|
+
value: ({
|
|
104
|
+
radius: number;
|
|
105
|
+
spread: number;
|
|
106
|
+
color: string;
|
|
107
|
+
offset: {
|
|
108
|
+
x: number;
|
|
109
|
+
y: number;
|
|
110
|
+
};
|
|
111
|
+
opacity: number;
|
|
112
|
+
inset: boolean;
|
|
113
|
+
} | {
|
|
114
|
+
radius: number;
|
|
115
|
+
offset: {
|
|
116
|
+
x: number;
|
|
117
|
+
y: number;
|
|
118
|
+
};
|
|
119
|
+
color: string;
|
|
120
|
+
opacity: number;
|
|
121
|
+
spread?: undefined;
|
|
122
|
+
inset?: undefined;
|
|
123
|
+
})[];
|
|
124
|
+
};
|
|
125
|
+
name: string;
|
|
126
|
+
path: string[];
|
|
127
|
+
} | {
|
|
128
|
+
attributes: {
|
|
129
|
+
group: string;
|
|
130
|
+
state: string;
|
|
131
|
+
introduced: string;
|
|
132
|
+
description: string;
|
|
133
|
+
deprecated?: undefined;
|
|
134
|
+
deleted?: undefined;
|
|
135
|
+
replacement?: undefined;
|
|
136
|
+
};
|
|
137
|
+
value: ({
|
|
138
|
+
radius: number;
|
|
139
|
+
spread: number;
|
|
140
|
+
color: string;
|
|
141
|
+
offset: {
|
|
142
|
+
x: number;
|
|
143
|
+
y: number;
|
|
144
|
+
};
|
|
145
|
+
opacity: number;
|
|
146
|
+
inset: boolean;
|
|
147
|
+
} | {
|
|
148
|
+
radius: number;
|
|
149
|
+
offset: {
|
|
150
|
+
x: number;
|
|
151
|
+
y: number;
|
|
152
|
+
};
|
|
153
|
+
color: string;
|
|
154
|
+
opacity: number;
|
|
155
|
+
spread?: undefined;
|
|
156
|
+
inset?: undefined;
|
|
157
|
+
})[];
|
|
158
|
+
filePath: string;
|
|
159
|
+
isSource: boolean;
|
|
160
|
+
original: {
|
|
161
|
+
attributes: {
|
|
162
|
+
group: string;
|
|
163
|
+
state: string;
|
|
164
|
+
introduced: string;
|
|
165
|
+
description: string;
|
|
166
|
+
deprecated?: undefined;
|
|
167
|
+
deleted?: undefined;
|
|
168
|
+
replacement?: undefined;
|
|
169
|
+
};
|
|
170
|
+
value: ({
|
|
171
|
+
radius: number;
|
|
172
|
+
spread: number;
|
|
173
|
+
color: string;
|
|
174
|
+
offset: {
|
|
175
|
+
x: number;
|
|
176
|
+
y: number;
|
|
177
|
+
};
|
|
178
|
+
opacity: number;
|
|
179
|
+
inset: boolean;
|
|
180
|
+
} | {
|
|
181
|
+
radius: number;
|
|
182
|
+
offset: {
|
|
183
|
+
x: number;
|
|
184
|
+
y: number;
|
|
185
|
+
};
|
|
186
|
+
color: string;
|
|
187
|
+
opacity: number;
|
|
188
|
+
spread?: undefined;
|
|
189
|
+
inset?: undefined;
|
|
190
|
+
})[];
|
|
191
|
+
};
|
|
192
|
+
name: string;
|
|
193
|
+
path: string[];
|
|
194
|
+
})[];
|
|
195
|
+
export default tokens;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::6a9c9852352020740a85fbffbcc447e3>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
declare const tokens: ({
|
|
7
|
+
attributes: {
|
|
8
|
+
group: string;
|
|
9
|
+
state: string;
|
|
10
|
+
introduced: string;
|
|
11
|
+
description: string;
|
|
12
|
+
deprecated?: undefined;
|
|
13
|
+
deleted?: undefined;
|
|
14
|
+
replacement?: undefined;
|
|
15
|
+
};
|
|
16
|
+
value: string;
|
|
17
|
+
filePath: string;
|
|
18
|
+
isSource: boolean;
|
|
19
|
+
original: {
|
|
20
|
+
attributes: {
|
|
21
|
+
group: string;
|
|
22
|
+
state: string;
|
|
23
|
+
introduced: string;
|
|
24
|
+
description: string;
|
|
25
|
+
deprecated?: undefined;
|
|
26
|
+
deleted?: undefined;
|
|
27
|
+
replacement?: undefined;
|
|
28
|
+
};
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
name: string;
|
|
32
|
+
path: string[];
|
|
33
|
+
} | {
|
|
34
|
+
attributes: {
|
|
35
|
+
group: string;
|
|
36
|
+
state: string;
|
|
37
|
+
introduced: string;
|
|
38
|
+
deprecated: string;
|
|
39
|
+
deleted: string;
|
|
40
|
+
replacement: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
value: string;
|
|
44
|
+
filePath: string;
|
|
45
|
+
isSource: boolean;
|
|
46
|
+
original: {
|
|
47
|
+
attributes: {
|
|
48
|
+
group: string;
|
|
49
|
+
state: string;
|
|
50
|
+
introduced: string;
|
|
51
|
+
deprecated: string;
|
|
52
|
+
deleted: string;
|
|
53
|
+
replacement: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
value: string;
|
|
57
|
+
};
|
|
58
|
+
name: string;
|
|
59
|
+
path: string[];
|
|
60
|
+
} | {
|
|
61
|
+
attributes: {
|
|
62
|
+
group: string;
|
|
63
|
+
state: string;
|
|
64
|
+
introduced: string;
|
|
65
|
+
deprecated: string;
|
|
66
|
+
deleted: string;
|
|
67
|
+
replacement: string;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
value: {
|
|
71
|
+
radius: number;
|
|
72
|
+
offset: {
|
|
73
|
+
x: number;
|
|
74
|
+
y: number;
|
|
75
|
+
};
|
|
76
|
+
color: string;
|
|
77
|
+
opacity: number;
|
|
78
|
+
}[];
|
|
79
|
+
filePath: string;
|
|
80
|
+
isSource: boolean;
|
|
81
|
+
original: {
|
|
82
|
+
attributes: {
|
|
83
|
+
group: string;
|
|
84
|
+
state: string;
|
|
85
|
+
introduced: string;
|
|
86
|
+
deprecated: string;
|
|
87
|
+
deleted: string;
|
|
88
|
+
replacement: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
value: {
|
|
92
|
+
radius: number;
|
|
93
|
+
offset: {
|
|
94
|
+
x: number;
|
|
95
|
+
y: number;
|
|
96
|
+
};
|
|
97
|
+
color: string;
|
|
98
|
+
opacity: number;
|
|
99
|
+
}[];
|
|
100
|
+
};
|
|
101
|
+
name: string;
|
|
102
|
+
path: string[];
|
|
103
|
+
} | {
|
|
104
|
+
attributes: {
|
|
105
|
+
group: string;
|
|
106
|
+
state: string;
|
|
107
|
+
introduced: string;
|
|
108
|
+
description: string;
|
|
109
|
+
deprecated?: undefined;
|
|
110
|
+
deleted?: undefined;
|
|
111
|
+
replacement?: undefined;
|
|
112
|
+
};
|
|
113
|
+
value: {
|
|
114
|
+
radius: number;
|
|
115
|
+
offset: {
|
|
116
|
+
x: number;
|
|
117
|
+
y: number;
|
|
118
|
+
};
|
|
119
|
+
color: string;
|
|
120
|
+
opacity: number;
|
|
121
|
+
}[];
|
|
122
|
+
filePath: string;
|
|
123
|
+
isSource: boolean;
|
|
124
|
+
original: {
|
|
125
|
+
attributes: {
|
|
126
|
+
group: string;
|
|
127
|
+
state: string;
|
|
128
|
+
introduced: string;
|
|
129
|
+
description: string;
|
|
130
|
+
deprecated?: undefined;
|
|
131
|
+
deleted?: undefined;
|
|
132
|
+
replacement?: undefined;
|
|
133
|
+
};
|
|
134
|
+
value: {
|
|
135
|
+
radius: number;
|
|
136
|
+
offset: {
|
|
137
|
+
x: number;
|
|
138
|
+
y: number;
|
|
139
|
+
};
|
|
140
|
+
color: string;
|
|
141
|
+
opacity: number;
|
|
142
|
+
}[];
|
|
143
|
+
};
|
|
144
|
+
name: string;
|
|
145
|
+
path: string[];
|
|
146
|
+
})[];
|
|
147
|
+
export default tokens;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
export declare const THEMES: readonly ["light", "dark"];
|
|
1
|
+
export declare const THEMES: readonly ["light", "dark", "legacy-light", "legacy-dark"];
|
|
2
2
|
export declare const THEME_DATA_ATTRIBUTE = "data-theme";
|
|
3
3
|
export declare const DEFAULT_THEME = "light";
|
|
4
4
|
export declare const CSS_PREFIX = "ds";
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const THEME_NAME_MAP: {
|
|
6
|
+
'atlassian-light': string;
|
|
7
|
+
'atlassian-dark': string;
|
|
8
|
+
'atlassian-legacy-light': string;
|
|
9
|
+
'atlassian-legacy-dark': string;
|
|
10
|
+
};
|
|
6
11
|
export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '../artifacts/palettes-raw';
|
|
1
|
+
export { default } from '../artifacts/palettes-raw/palette';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Legacy color palette sourced from: packages/design-system/theme/src/colors.tsx
|
|
3
|
+
*
|
|
4
|
+
* This palette should be exclusively used for backwards compatible themes
|
|
5
|
+
*/
|
|
6
|
+
import type { PaletteColorTokenSchema } from '../types';
|
|
7
|
+
declare type PaletteValues = 'transparent' | 'R50' | 'R75' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'Y50' | 'Y75' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'G50' | 'G75' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'B50' | 'B75' | 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'P50' | 'P75' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'T50' | 'T75' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'N0' | 'N10' | 'N20' | 'N30' | 'N40' | 'N50' | 'N60' | 'N70' | 'N80' | 'N90' | 'N100' | 'N200' | 'N300' | 'N400' | 'N500' | 'N600' | 'N700' | 'N800' | 'N900' | 'N10A' | 'N20A' | 'N30A' | 'N40A' | 'N50A' | 'N60A' | 'N70A' | 'N80A' | 'N90A' | 'N100A' | 'N200A' | 'N300A' | 'N400A' | 'N500A' | 'N600A' | 'N700A' | 'N800A' | 'DN900' | 'DN800' | 'DN700' | 'DN600' | 'DN500' | 'DN400' | 'DN300' | 'DN200' | 'DN100' | 'DN90' | 'DN80' | 'DN70' | 'DN60' | 'DN50' | 'DN40' | 'DN30' | 'DN20' | 'DN10' | 'DN0' | 'DN800A' | 'DN700A' | 'DN600A' | 'DN500A' | 'DN400A' | 'DN300A' | 'DN200A' | 'DN100A' | 'DN90A' | 'DN80A' | 'DN70A' | 'DN60A' | 'DN50A' | 'DN40A' | 'DN30A' | 'DN20A' | 'DN10' | 'DN10A';
|
|
8
|
+
export declare type BaseToken = keyof PaletteColorTokenSchema<PaletteValues>['color']['palette'];
|
|
9
|
+
declare const palette: PaletteColorTokenSchema<PaletteValues>;
|
|
10
|
+
export default palette;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PaletteColorTokenSchema } from '../types';
|
|
2
|
+
declare type PaletteValues = 'B100' | 'B200' | 'B300' | 'B400' | 'B500' | 'B600' | 'B700' | 'B800' | 'B900' | 'B1000' | 'R100' | 'R200' | 'R300' | 'R400' | 'R500' | 'R600' | 'R700' | 'R800' | 'R900' | 'R1000' | 'Y100' | 'Y200' | 'Y300' | 'Y400' | 'Y500' | 'Y600' | 'Y700' | 'Y800' | 'Y900' | 'Y1000' | 'G100' | 'G200' | 'G300' | 'G400' | 'G500' | 'G600' | 'G700' | 'G800' | 'G900' | 'G1000' | 'P100' | 'P200' | 'P300' | 'P400' | 'P500' | 'P600' | 'P700' | 'P800' | 'P900' | 'P1000' | 'T100' | 'T200' | 'T300' | 'T400' | 'T500' | 'T600' | 'T700' | 'T800' | 'T900' | 'T1000' | 'O100' | 'O200' | 'O300' | 'O400' | 'O500' | 'O600' | 'O700' | 'O800' | 'O900' | 'O1000' | 'M100' | 'M200' | 'M300' | 'M400' | 'M500' | 'M600' | 'M700' | 'M800' | 'M900' | 'M1000' | 'DN-100' | 'DN-100A' | 'DN0' | 'DN100' | 'DN100A' | 'DN200' | 'DN200A' | 'DN300' | 'DN300A' | 'DN400' | 'DN400A' | 'DN500' | 'DN500A' | 'DN600' | 'DN700' | 'DN800' | 'DN900' | 'DN1000' | 'DN1100' | 'N0' | 'N100' | 'N100A' | 'N200' | 'N200A' | 'N300' | 'N300A' | 'N400' | 'N400A' | 'N500' | 'N500A' | 'N600' | 'N700' | 'N800' | 'N900' | 'N1000' | 'N1100';
|
|
3
|
+
export declare type BaseToken = keyof PaletteColorTokenSchema<PaletteValues>['color']['palette'];
|
|
4
|
+
declare const palette: PaletteColorTokenSchema<PaletteValues>;
|
|
5
|
+
export default palette;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<AccentColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<BackgroundColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<BorderColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { IconColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<IconColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { InteractionColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<InteractionColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<InteractionColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { SkeletonColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<SkeletonColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<SkeletonColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { TextColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<TextColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<TextColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { DeprecatedTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<DeprecatedTokenSchema
|
|
3
|
+
declare const color: ValueSchema<DeprecatedTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { ShadowTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const shadow: ValueSchema<ShadowTokenSchema
|
|
3
|
+
declare const shadow: ValueSchema<ShadowTokenSchema<BaseToken>>;
|
|
3
4
|
export default shadow;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { SurfaceTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const elevation: ValueSchema<SurfaceTokenSchema
|
|
3
|
+
declare const elevation: ValueSchema<SurfaceTokenSchema<BaseToken>>;
|
|
3
4
|
export default elevation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UtilTokenSchema, ValueSchema } from '../../../types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
utility: ValueSchema<UtilTokenSchema
|
|
3
|
+
utility: ValueSchema<UtilTokenSchema<"R100" | "R200" | "R300" | "R400" | "R500" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G100" | "G200" | "G300" | "G400" | "G500" | "B100" | "B200" | "B300" | "B400" | "B500" | "P100" | "P200" | "P300" | "P400" | "P500" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN0" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "B600" | "B700" | "B800" | "B900" | "B1000" | "R600" | "R700" | "R800" | "R900" | "R1000" | "Y600" | "Y700" | "Y800" | "Y900" | "Y1000" | "G600" | "G700" | "G800" | "G900" | "G1000" | "P600" | "P700" | "P800" | "P900" | "P1000" | "T600" | "T700" | "T800" | "T900" | "T1000" | "O100" | "O200" | "O300" | "O400" | "O500" | "O600" | "O700" | "O800" | "O900" | "O1000" | "M100" | "M200" | "M300" | "M400" | "M500" | "M600" | "M700" | "M800" | "M900" | "M1000" | "DN-100" | "DN-100A" | "DN1000" | "DN1100" | "N1000" | "N1100">>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UtilTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
utility: ValueSchema<UtilTokenSchema<"transparent" | "R50" | "R75" | "R100" | "R200" | "R300" | "R400" | "R500" | "Y50" | "Y75" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G50" | "G75" | "G100" | "G200" | "G300" | "G400" | "G500" | "B50" | "B75" | "B100" | "B200" | "B300" | "B400" | "B500" | "P50" | "P75" | "P100" | "P200" | "P300" | "P400" | "P500" | "T50" | "T75" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N10" | "N20" | "N30" | "N40" | "N50" | "N60" | "N70" | "N80" | "N90" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N10A" | "N20A" | "N30A" | "N40A" | "N50A" | "N60A" | "N70A" | "N80A" | "N90A" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "N600A" | "N700A" | "N800A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN90" | "DN80" | "DN70" | "DN60" | "DN50" | "DN40" | "DN30" | "DN20" | "DN10" | "DN0" | "DN800A" | "DN700A" | "DN600A" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "DN90A" | "DN80A" | "DN70A" | "DN60A" | "DN50A" | "DN40A" | "DN30A" | "DN20A" | "DN10A">>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UtilTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
utility: ValueSchema<UtilTokenSchema<"transparent" | "R50" | "R75" | "R100" | "R200" | "R300" | "R400" | "R500" | "Y50" | "Y75" | "Y100" | "Y200" | "Y300" | "Y400" | "Y500" | "G50" | "G75" | "G100" | "G200" | "G300" | "G400" | "G500" | "B50" | "B75" | "B100" | "B200" | "B300" | "B400" | "B500" | "P50" | "P75" | "P100" | "P200" | "P300" | "P400" | "P500" | "T50" | "T75" | "T100" | "T200" | "T300" | "T400" | "T500" | "N0" | "N10" | "N20" | "N30" | "N40" | "N50" | "N60" | "N70" | "N80" | "N90" | "N100" | "N200" | "N300" | "N400" | "N500" | "N600" | "N700" | "N800" | "N900" | "N10A" | "N20A" | "N30A" | "N40A" | "N50A" | "N60A" | "N70A" | "N80A" | "N90A" | "N100A" | "N200A" | "N300A" | "N400A" | "N500A" | "N600A" | "N700A" | "N800A" | "DN900" | "DN800" | "DN700" | "DN600" | "DN500" | "DN400" | "DN300" | "DN200" | "DN100" | "DN90" | "DN80" | "DN70" | "DN60" | "DN50" | "DN40" | "DN30" | "DN20" | "DN10" | "DN0" | "DN800A" | "DN700A" | "DN600A" | "DN500A" | "DN400A" | "DN300A" | "DN200A" | "DN100A" | "DN90A" | "DN80A" | "DN70A" | "DN60A" | "DN50A" | "DN40A" | "DN30A" | "DN20A" | "DN10A">>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { AccentColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<AccentColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<AccentColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { BackgroundColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<BackgroundColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<BackgroundColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { BorderColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<BorderColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<BorderColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BaseToken } from '../../../palettes/palette';
|
|
1
2
|
import type { IconColorTokenSchema, ValueSchema } from '../../../types';
|
|
2
|
-
declare const color: ValueSchema<IconColorTokenSchema
|
|
3
|
+
declare const color: ValueSchema<IconColorTokenSchema<BaseToken>>;
|
|
3
4
|
export default color;
|