@telegraph/tokens 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +0 -2
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/css/default.css +1 -0
- package/dist/{index.es.js → esm/index.mjs} +36 -184
- package/dist/esm/index.mjs.map +1 -0
- package/dist/{index.d.ts → types/index.d.ts} +0 -297
- package/dist/{index.d.ts.map → types/index.d.ts.map} +1 -1
- package/dist/{tokens → types/tokens}/color.d.ts.map +1 -1
- package/dist/types/tokens/family.d.ts.map +1 -0
- package/dist/types/tokens/leading.d.ts.map +1 -0
- package/dist/types/tokens/rounded.d.ts.map +1 -0
- package/dist/types/tokens/shadow.d.ts.map +1 -0
- package/dist/types/tokens/spacing.d.ts.map +1 -0
- package/dist/types/tokens/text.d.ts.map +1 -0
- package/dist/types/tokens/tracking.d.ts.map +1 -0
- package/dist/types/tokens/weight.d.ts.map +1 -0
- package/package.json +15 -25
- package/dist/default.css +0 -1
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js +0 -2
- package/dist/index.umd.js.map +0 -1
- package/dist/mappings/semantic.json +0 -1
- package/dist/semantic/color.d.ts +0 -274
- package/dist/semantic/color.d.ts.map +0 -1
- package/dist/semantic/rounded.d.ts +0 -4
- package/dist/semantic/rounded.d.ts.map +0 -1
- package/dist/semantic/spacing.d.ts +0 -20
- package/dist/semantic/spacing.d.ts.map +0 -1
- package/dist/semantic.css +0 -1
- package/dist/tokens/family.d.ts.map +0 -1
- package/dist/tokens/leading.d.ts.map +0 -1
- package/dist/tokens/rounded.d.ts.map +0 -1
- package/dist/tokens/shadow.d.ts.map +0 -1
- package/dist/tokens/spacing.d.ts.map +0 -1
- package/dist/tokens/text.d.ts.map +0 -1
- package/dist/tokens/tracking.d.ts.map +0 -1
- package/dist/tokens/weight.d.ts.map +0 -1
- /package/dist/{dark.css → css/dark.css} +0 -0
- /package/dist/{light.css → css/light.css} +0 -0
- /package/dist/{mappings → json}/tokens.json +0 -0
- /package/dist/{tokens → types/tokens}/color.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/family.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/leading.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/rounded.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/shadow.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/spacing.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/text.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/tracking.d.ts +0 -0
- /package/dist/{tokens → types/tokens}/weight.d.ts +0 -0
package/dist/semantic/color.d.ts
DELETED
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
export declare const semanticColor: {
|
|
2
|
-
text: {
|
|
3
|
-
primary: {
|
|
4
|
-
black: string | undefined;
|
|
5
|
-
white: string | undefined;
|
|
6
|
-
gray: {
|
|
7
|
-
light: string;
|
|
8
|
-
dark: string;
|
|
9
|
-
};
|
|
10
|
-
beige: {
|
|
11
|
-
light: string;
|
|
12
|
-
dark: string;
|
|
13
|
-
};
|
|
14
|
-
accent: {
|
|
15
|
-
light: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
};
|
|
18
|
-
green: {
|
|
19
|
-
light: string;
|
|
20
|
-
dark: string;
|
|
21
|
-
};
|
|
22
|
-
yellow: {
|
|
23
|
-
light: string;
|
|
24
|
-
dark: string;
|
|
25
|
-
};
|
|
26
|
-
blue: {
|
|
27
|
-
light: string;
|
|
28
|
-
dark: string;
|
|
29
|
-
};
|
|
30
|
-
red: {
|
|
31
|
-
light: string;
|
|
32
|
-
dark: string;
|
|
33
|
-
};
|
|
34
|
-
disabled: {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
secondary: {
|
|
40
|
-
black: string | undefined;
|
|
41
|
-
white: string | undefined;
|
|
42
|
-
gray: {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
beige: {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
accent: {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
green: {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
yellow: {
|
|
59
|
-
light: string;
|
|
60
|
-
dark: string;
|
|
61
|
-
};
|
|
62
|
-
blue: {
|
|
63
|
-
light: string;
|
|
64
|
-
dark: string;
|
|
65
|
-
};
|
|
66
|
-
red: {
|
|
67
|
-
light: string;
|
|
68
|
-
dark: string;
|
|
69
|
-
};
|
|
70
|
-
disabled: {
|
|
71
|
-
light: string;
|
|
72
|
-
dark: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
button: {
|
|
77
|
-
solid: {
|
|
78
|
-
background: {
|
|
79
|
-
accent: {
|
|
80
|
-
default: {
|
|
81
|
-
light: string;
|
|
82
|
-
dark: string;
|
|
83
|
-
};
|
|
84
|
-
hover: {
|
|
85
|
-
light: string;
|
|
86
|
-
dark: string;
|
|
87
|
-
};
|
|
88
|
-
focus: {
|
|
89
|
-
light: string;
|
|
90
|
-
dark: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
disabled: {
|
|
94
|
-
default: {
|
|
95
|
-
light: string;
|
|
96
|
-
dark: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
text: {
|
|
101
|
-
accent: string;
|
|
102
|
-
disabled: {
|
|
103
|
-
light: string;
|
|
104
|
-
dark: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
stroke: {
|
|
108
|
-
accent: string;
|
|
109
|
-
disabled: {
|
|
110
|
-
light: string;
|
|
111
|
-
dark: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
ghost: {
|
|
116
|
-
background: {
|
|
117
|
-
accent: {
|
|
118
|
-
default: string;
|
|
119
|
-
hover: {
|
|
120
|
-
light: string;
|
|
121
|
-
dark: string;
|
|
122
|
-
};
|
|
123
|
-
focus: {
|
|
124
|
-
light: string;
|
|
125
|
-
dark: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
gray: {
|
|
129
|
-
default: string;
|
|
130
|
-
hover: {
|
|
131
|
-
light: string;
|
|
132
|
-
dark: string;
|
|
133
|
-
};
|
|
134
|
-
focus: {
|
|
135
|
-
light: string;
|
|
136
|
-
dark: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
red: {
|
|
140
|
-
default: string;
|
|
141
|
-
hover: {
|
|
142
|
-
light: string;
|
|
143
|
-
dark: string;
|
|
144
|
-
};
|
|
145
|
-
focus: {
|
|
146
|
-
light: string;
|
|
147
|
-
dark: string;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
disabled: {
|
|
151
|
-
default: string;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
text: {
|
|
155
|
-
accent: {
|
|
156
|
-
light: string;
|
|
157
|
-
dark: string;
|
|
158
|
-
};
|
|
159
|
-
gray: {
|
|
160
|
-
light: string;
|
|
161
|
-
dark: string;
|
|
162
|
-
};
|
|
163
|
-
red: {
|
|
164
|
-
light: string;
|
|
165
|
-
dark: string;
|
|
166
|
-
};
|
|
167
|
-
disabled: {
|
|
168
|
-
light: string;
|
|
169
|
-
dark: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
icon: {
|
|
173
|
-
accent: {
|
|
174
|
-
light: string;
|
|
175
|
-
dark: string;
|
|
176
|
-
};
|
|
177
|
-
gray: {
|
|
178
|
-
light: string;
|
|
179
|
-
dark: string;
|
|
180
|
-
};
|
|
181
|
-
red: {
|
|
182
|
-
light: string;
|
|
183
|
-
dark: string;
|
|
184
|
-
};
|
|
185
|
-
disabled: {
|
|
186
|
-
light: string;
|
|
187
|
-
dark: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
soft: {
|
|
192
|
-
background: {
|
|
193
|
-
red: {
|
|
194
|
-
active: {
|
|
195
|
-
light: string;
|
|
196
|
-
dark: string;
|
|
197
|
-
};
|
|
198
|
-
hover: {
|
|
199
|
-
light: string;
|
|
200
|
-
dark: string;
|
|
201
|
-
};
|
|
202
|
-
focus: {
|
|
203
|
-
light: string;
|
|
204
|
-
dark: string;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
disabled: {
|
|
208
|
-
light: string;
|
|
209
|
-
dark: string;
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
text: {
|
|
213
|
-
red: string;
|
|
214
|
-
disabled: {
|
|
215
|
-
light: string;
|
|
216
|
-
dark: string;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
icon: {
|
|
220
|
-
red: string;
|
|
221
|
-
disabled: {
|
|
222
|
-
light: string;
|
|
223
|
-
dark: string;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
outlined: {
|
|
228
|
-
background: {
|
|
229
|
-
gray: string;
|
|
230
|
-
disabled: {
|
|
231
|
-
light: string;
|
|
232
|
-
dark: string;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
border: {
|
|
236
|
-
gray: {
|
|
237
|
-
active: {
|
|
238
|
-
light: string;
|
|
239
|
-
dark: string;
|
|
240
|
-
};
|
|
241
|
-
hover: {
|
|
242
|
-
light: string;
|
|
243
|
-
dark: string;
|
|
244
|
-
};
|
|
245
|
-
focus: {
|
|
246
|
-
light: string;
|
|
247
|
-
dark: string;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
text: {
|
|
252
|
-
gray: {
|
|
253
|
-
light: string;
|
|
254
|
-
dark: string;
|
|
255
|
-
};
|
|
256
|
-
disabled: {
|
|
257
|
-
light: string;
|
|
258
|
-
dark: string;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
icon: {
|
|
262
|
-
gray: {
|
|
263
|
-
light: string;
|
|
264
|
-
dark: string;
|
|
265
|
-
};
|
|
266
|
-
disabled: {
|
|
267
|
-
light: string;
|
|
268
|
-
dark: string;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
//# sourceMappingURL=color.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/semantic/color.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rounded.d.ts","sourceRoot":"","sources":["../../src/semantic/rounded.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;CAE3B,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const semanticSpacing: {
|
|
2
|
-
button: {
|
|
3
|
-
height: {
|
|
4
|
-
1: string;
|
|
5
|
-
2: string;
|
|
6
|
-
3: string;
|
|
7
|
-
};
|
|
8
|
-
gap: {
|
|
9
|
-
1: string;
|
|
10
|
-
2: string;
|
|
11
|
-
3: string;
|
|
12
|
-
};
|
|
13
|
-
padding: {
|
|
14
|
-
1: string;
|
|
15
|
-
2: string;
|
|
16
|
-
3: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/semantic/spacing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;CAkB3B,CAAC"}
|
package/dist/semantic.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--tgph-color-text-primary-gray:var(--tgph-gray-12);--tgph-color-text-primary-beige:var(--tgph-beige-12);--tgph-color-text-primary-accent:var(--tgph-accent-12);--tgph-color-text-primary-green:var(--tgph-green-12);--tgph-color-text-primary-yellow:var(--tgph-green-12);--tgph-color-text-primary-blue:var(--tgph-blue-12);--tgph-color-text-primary-red:var(--tgph-red-12);--tgph-color-text-primary-disabled:var(--tgph-gray-8);--tgph-color-text-secondary-gray:var(--tgph-gray-11);--tgph-color-text-secondary-beige:var(--tgph-beige-11);--tgph-color-text-secondary-accent:var(--tgph-accent-11);--tgph-color-text-secondary-green:var(--tgph-green-11);--tgph-color-text-secondary-yellow:var(--tgph-green-11);--tgph-color-text-secondary-blue:var(--tgph-blue-11);--tgph-color-text-secondary-red:var(--tgph-red-11);--tgph-color-text-secondary-disabled:var(--tgph-gray-8);--tgph-color-button-solid-background-accent-default:var(--tgph-accent-9);--tgph-color-button-solid-background-accent-default-dark:var(--tgph-accent-9);--tgph-color-button-solid-background-accent-hover:var(--tgph-accent-10);--tgph-color-button-solid-background-accent-focus:var(--tgph-accent-11);--tgph-color-button-solid-background-disabled-default:var(--tgph-gray-2);--tgph-color-button-solid-text-accent:var(--tgph-white);--tgph-color-button-solid-text-disabled:var(--tgph-gray-8);--tgph-color-button-solid-stroke-accent:var(--tgph-white);--tgph-color-button-solid-stroke-disabled:var(--tgph-gray-8);--tgph-color-button-ghost-background-accent-default:var(--tgph-transparent);--tgph-color-button-ghost-background-accent-hover:var(--tgph-accent-3);--tgph-color-button-ghost-background-accent-focus:var(--tgph-accent-4);--tgph-color-button-ghost-background-gray-default:var(--tgph-transparent);--tgph-color-button-ghost-background-gray-hover:var(--tgph-gray-3);--tgph-color-button-ghost-background-gray-focus:var(--tgph-gray-4);--tgph-color-button-ghost-background-red-default:var(--tgph-transparent);--tgph-color-button-ghost-background-red-hover:var(--tgph-red-3);--tgph-color-button-ghost-background-red-focus:var(--tgph-red-4);--tgph-color-button-ghost-background-disabled-default:var(--tgph-transparent);--tgph-color-button-ghost-text-accent:var(--tgph-accent-11);--tgph-color-button-ghost-text-gray:var(--tgph-gray-11);--tgph-color-button-ghost-text-red:var(--tgph-red-11);--tgph-color-button-ghost-text-disabled:var(--tgph-gray-8);--tgph-color-button-ghost-icon-accent:var(--tgph-accent-11);--tgph-color-button-ghost-icon-gray:var(--tgph-gray-11);--tgph-color-button-ghost-icon-red:var(--tgph-red-11);--tgph-color-button-ghost-icon-disabled:var(--tgph-gray-8);--tgph-color-button-soft-background-red-active:var(--tgph-red-3);--tgph-color-button-soft-background-red-hover:var(--tgph-red-4);--tgph-color-button-soft-background-red-focus:var(--tgph-red-5);--tgph-color-button-soft-background-disabled:var(--tgph-gray-2);--tgph-color-button-soft-text-red:var(--tgph-white);--tgph-color-button-soft-text-disabled:var(--tgph-gray-8);--tgph-color-button-soft-icon-red:var(--tgph-white);--tgph-color-button-soft-icon-disabled:var(--tgph-gray-8);--tgph-color-button-outlined-background-gray:var(--tgph-transparent);--tgph-color-button-outlined-background-disabled:var(--tgph-gray-2);--tgph-color-button-outlined-border-gray-active:var(--tgph-gray-6);--tgph-color-button-outlined-border-gray-hover:var(--tgph-gray-7);--tgph-color-button-outlined-border-gray-focus:var(--tgph-gray-8);--tgph-color-button-outlined-text-gray:var(--tgph-gray-12);--tgph-color-button-outlined-text-disabled:var(--tgph-gray-8);--tgph-color-button-outlined-icon-gray:var(--tgph-gray-12);--tgph-color-button-outlined-icon-disabled:var(--tgph-gray-8);--tgph-spacing-button-height-1:var(--tgph-spacing-6);--tgph-spacing-button-height-2:var(--tgph-spacing-8);--tgph-spacing-button-height-3:var(--tgph-spacing-10);--tgph-spacing-button-gap-1:var(--tgph-spacing-1);--tgph-spacing-button-gap-2:var(--tgph-spacing-2);--tgph-spacing-button-gap-3:var(--tgph-spacing-3);--tgph-spacing-button-padding-1:var(--tgph-spacing-2);--tgph-spacing-button-padding-2:var(--tgph-spacing-3);--tgph-spacing-button-padding-3:var(--tgph-spacing-4);--tgph-rounded-button:var(--tgph-rounded-2)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"family.d.ts","sourceRoot":"","sources":["../../src/tokens/family.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;CAGlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"leading.d.ts","sourceRoot":"","sources":["../../src/tokens/leading.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rounded.d.ts","sourceRoot":"","sources":["../../src/tokens/rounded.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.d.ts","sourceRoot":"","sources":["../../src/tokens/shadow.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;CAOlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/tokens/spacing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/tokens/text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;CAWhB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../../src/tokens/tracking.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;CAWpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"weight.d.ts","sourceRoot":"","sources":["../../src/tokens/weight.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|