stp-ui-kit 0.0.114 → 0.0.116
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/dist/components/display/index.d.ts +0 -1
- package/dist/stp-ui-kit.es.js +1285 -1344
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/tokens.d.ts +560 -35
- package/package.json +2 -7
- package/src/styles/_variables.scss +131 -4
- package/src/styles/tokens.d.ts +560 -35
- package/dist/components/display/Empty/Empty.d.ts +0 -37
- package/dist/components/display/Empty/Empty.stories.d.ts +0 -10
- package/dist/tokens.d.ts +0 -515
- package/src/styles/tokens.js +0 -94
package/src/styles/tokens.d.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface SpacingTokens {
|
|
7
|
-
spacing: string;
|
|
8
7
|
"space-0": string;
|
|
9
8
|
"space-025": string;
|
|
10
9
|
"space-050": string;
|
|
@@ -42,6 +41,394 @@ export interface BreakpointTokens {
|
|
|
42
41
|
mobile: string;
|
|
43
42
|
}
|
|
44
43
|
|
|
44
|
+
export interface PrimitiveColorTokens {
|
|
45
|
+
"color-neutral-alpha": string;
|
|
46
|
+
"color-neutral-00": string;
|
|
47
|
+
"color-neutral-50": string;
|
|
48
|
+
"color-neutral-100": string;
|
|
49
|
+
"color-neutral-150": string;
|
|
50
|
+
"color-neutral-200": string;
|
|
51
|
+
"color-neutral-250": string;
|
|
52
|
+
"color-neutral-300": string;
|
|
53
|
+
"color-neutral-350": string;
|
|
54
|
+
"color-neutral-400": string;
|
|
55
|
+
"color-neutral-450": string;
|
|
56
|
+
"color-neutral-500": string;
|
|
57
|
+
"color-neutral-550": string;
|
|
58
|
+
"color-neutral-600": string;
|
|
59
|
+
"color-neutral-650": string;
|
|
60
|
+
"color-neutral-700": string;
|
|
61
|
+
"color-neutral-750": string;
|
|
62
|
+
"color-neutral-800": string;
|
|
63
|
+
"color-neutral-850": string;
|
|
64
|
+
"color-neutral-900": string;
|
|
65
|
+
"color-neutral-950": string;
|
|
66
|
+
"color-red-50": string;
|
|
67
|
+
"color-red-100": string;
|
|
68
|
+
"color-red-200": string;
|
|
69
|
+
"color-red-300": string;
|
|
70
|
+
"color-red-400": string;
|
|
71
|
+
"color-red-500": string;
|
|
72
|
+
"color-red-600": string;
|
|
73
|
+
"color-red-700": string;
|
|
74
|
+
"color-red-800": string;
|
|
75
|
+
"color-red-900": string;
|
|
76
|
+
"color-red-950": string;
|
|
77
|
+
"color-amber-50": string;
|
|
78
|
+
"color-amber-100": string;
|
|
79
|
+
"color-amber-200": string;
|
|
80
|
+
"color-amber-300": string;
|
|
81
|
+
"color-amber-400": string;
|
|
82
|
+
"color-amber-500": string;
|
|
83
|
+
"color-amber-600": string;
|
|
84
|
+
"color-amber-700": string;
|
|
85
|
+
"color-amber-800": string;
|
|
86
|
+
"color-amber-900": string;
|
|
87
|
+
"color-amber-950": string;
|
|
88
|
+
"color-green-50": string;
|
|
89
|
+
"color-green-100": string;
|
|
90
|
+
"color-green-200": string;
|
|
91
|
+
"color-green-300": string;
|
|
92
|
+
"color-green-400": string;
|
|
93
|
+
"color-green-500": string;
|
|
94
|
+
"color-green-600": string;
|
|
95
|
+
"color-green-700": string;
|
|
96
|
+
"color-green-800": string;
|
|
97
|
+
"color-green-900": string;
|
|
98
|
+
"color-green-950": string;
|
|
99
|
+
"color-blue-50": string;
|
|
100
|
+
"color-blue-100": string;
|
|
101
|
+
"color-blue-200": string;
|
|
102
|
+
"color-blue-300": string;
|
|
103
|
+
"color-blue-400": string;
|
|
104
|
+
"color-blue-500": string;
|
|
105
|
+
"color-blue-600": string;
|
|
106
|
+
"color-blue-700": string;
|
|
107
|
+
"color-blue-800": string;
|
|
108
|
+
"color-blue-900": string;
|
|
109
|
+
"color-blue-950": string;
|
|
110
|
+
"color-lime-50": string;
|
|
111
|
+
"color-lime-100": string;
|
|
112
|
+
"color-lime-200": string;
|
|
113
|
+
"color-lime-300": string;
|
|
114
|
+
"color-lime-400": string;
|
|
115
|
+
"color-lime-500": string;
|
|
116
|
+
"color-lime-600": string;
|
|
117
|
+
"color-lime-700": string;
|
|
118
|
+
"color-lime-800": string;
|
|
119
|
+
"color-lime-900": string;
|
|
120
|
+
"color-lime-950": string;
|
|
121
|
+
"color-indigo-50": string;
|
|
122
|
+
"color-indigo-100": string;
|
|
123
|
+
"color-indigo-200": string;
|
|
124
|
+
"color-indigo-300": string;
|
|
125
|
+
"color-indigo-400": string;
|
|
126
|
+
"color-indigo-500": string;
|
|
127
|
+
"color-indigo-600": string;
|
|
128
|
+
"color-indigo-700": string;
|
|
129
|
+
"color-indigo-800": string;
|
|
130
|
+
"color-indigo-900": string;
|
|
131
|
+
"color-indigo-950": string;
|
|
132
|
+
"color-violet-50": string;
|
|
133
|
+
"color-violet-100": string;
|
|
134
|
+
"color-violet-200": string;
|
|
135
|
+
"color-violet-300": string;
|
|
136
|
+
"color-violet-400": string;
|
|
137
|
+
"color-violet-500": string;
|
|
138
|
+
"color-violet-600": string;
|
|
139
|
+
"color-violet-700": string;
|
|
140
|
+
"color-violet-800": string;
|
|
141
|
+
"color-violet-900": string;
|
|
142
|
+
"color-violet-950": string;
|
|
143
|
+
"color-teal-50": string;
|
|
144
|
+
"color-teal-100": string;
|
|
145
|
+
"color-teal-200": string;
|
|
146
|
+
"color-teal-300": string;
|
|
147
|
+
"color-teal-400": string;
|
|
148
|
+
"color-teal-500": string;
|
|
149
|
+
"color-teal-600": string;
|
|
150
|
+
"color-teal-700": string;
|
|
151
|
+
"color-teal-800": string;
|
|
152
|
+
"color-teal-900": string;
|
|
153
|
+
"color-teal-950": string;
|
|
154
|
+
"color-fuchsia-50": string;
|
|
155
|
+
"color-fuchsia-100": string;
|
|
156
|
+
"color-fuchsia-200": string;
|
|
157
|
+
"color-fuchsia-300": string;
|
|
158
|
+
"color-fuchsia-400": string;
|
|
159
|
+
"color-fuchsia-500": string;
|
|
160
|
+
"color-fuchsia-600": string;
|
|
161
|
+
"color-fuchsia-700": string;
|
|
162
|
+
"color-fuchsia-800": string;
|
|
163
|
+
"color-fuchsia-900": string;
|
|
164
|
+
"color-fuchsia-950": string;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface SemanticColorTokens {
|
|
168
|
+
text: string;
|
|
169
|
+
"text-secondary": string;
|
|
170
|
+
"text-disabled": string;
|
|
171
|
+
"text-inverse": string;
|
|
172
|
+
"text-on-fill-brand": string;
|
|
173
|
+
"text-on-fill": string;
|
|
174
|
+
"text-critical": string;
|
|
175
|
+
"text-emphasis": string;
|
|
176
|
+
"text-emphasis-hover": string;
|
|
177
|
+
"text-emphasis-on-press": string;
|
|
178
|
+
"text-emphasis-selected": string;
|
|
179
|
+
"text-warning": string;
|
|
180
|
+
"text-warning-on-bg-fill": string;
|
|
181
|
+
"text-success": string;
|
|
182
|
+
link: string;
|
|
183
|
+
"link-hover": string;
|
|
184
|
+
"link-on-press": string;
|
|
185
|
+
bg: string;
|
|
186
|
+
"bg-inverse": string;
|
|
187
|
+
"bg-mobile": string;
|
|
188
|
+
surface: string;
|
|
189
|
+
"surface-inverse": string;
|
|
190
|
+
"surface-hover": string;
|
|
191
|
+
"surface-on-press": string;
|
|
192
|
+
"surface-selected": string;
|
|
193
|
+
"surface-secondary": string;
|
|
194
|
+
"surface-secondary-hover": string;
|
|
195
|
+
"surface-secondary-on-press": string;
|
|
196
|
+
"surface-secondary-selected": string;
|
|
197
|
+
"surface-brand": string;
|
|
198
|
+
"surface-critical": string;
|
|
199
|
+
"surface-warning": string;
|
|
200
|
+
"surface-success": string;
|
|
201
|
+
fill: string;
|
|
202
|
+
"fill-hover": string;
|
|
203
|
+
"fill-on-press": string;
|
|
204
|
+
"fill-selected": string;
|
|
205
|
+
"fill-disabled": string;
|
|
206
|
+
"fill-brand": string;
|
|
207
|
+
"fill-brand-hover": string;
|
|
208
|
+
"fill-brand-on-press": string;
|
|
209
|
+
"fill-brand-selected": string;
|
|
210
|
+
"fill-brand-disabled": string;
|
|
211
|
+
"fill-critical-secondary": string;
|
|
212
|
+
"fill-critical": string;
|
|
213
|
+
"fill-critical-hover": string;
|
|
214
|
+
"fill-critical-on-press": string;
|
|
215
|
+
"fill-critical-selected": string;
|
|
216
|
+
"fill-warning": string;
|
|
217
|
+
"fill-warning-hover": string;
|
|
218
|
+
"fill-warning-on-press": string;
|
|
219
|
+
"fill-warning-selected": string;
|
|
220
|
+
"fill-success-secondary": string;
|
|
221
|
+
border: string;
|
|
222
|
+
"border-disabled": string;
|
|
223
|
+
"border-critical": string;
|
|
224
|
+
"border-success": string;
|
|
225
|
+
"border-brand": string;
|
|
226
|
+
"border-warning": string;
|
|
227
|
+
"input-border": string;
|
|
228
|
+
"input-border-active": string;
|
|
229
|
+
"input-border-disabled": string;
|
|
230
|
+
"input-bg-surface": string;
|
|
231
|
+
"input-bg-surface-hover": string;
|
|
232
|
+
"input-bg-surface-active": string;
|
|
233
|
+
"input-bg-surface-disabled": string;
|
|
234
|
+
icon: string;
|
|
235
|
+
"icon-secondary": string;
|
|
236
|
+
"icon-disabled": string;
|
|
237
|
+
"icon-on-bg-fill-brand": string;
|
|
238
|
+
"icon-on-bg-fill-warning": string;
|
|
239
|
+
"icon-on-bg-fill-critical": string;
|
|
240
|
+
"icon-critical": string;
|
|
241
|
+
"icon-emphasis": string;
|
|
242
|
+
"icon-emphasis-hover": string;
|
|
243
|
+
"icon-emphasis-on-press": string;
|
|
244
|
+
"icon-emphasis-selected": string;
|
|
245
|
+
"icon-warning": string;
|
|
246
|
+
"icon-success": string;
|
|
247
|
+
"nav-bg": string;
|
|
248
|
+
"nav-bg-surface": string;
|
|
249
|
+
"nav-bg-surface-hover": string;
|
|
250
|
+
"nav-bg-surface-on-press": string;
|
|
251
|
+
"nav-bg-surface-selected": string;
|
|
252
|
+
"nav-bg-surface-selected-no-hover": string;
|
|
253
|
+
"border-active": string;
|
|
254
|
+
"border-input": string;
|
|
255
|
+
"border-input-active": string;
|
|
256
|
+
"border-input-disabled": string;
|
|
257
|
+
backdrop: string;
|
|
258
|
+
"fill-lime": string;
|
|
259
|
+
"text-lime": string;
|
|
260
|
+
"fill-blue": string;
|
|
261
|
+
"text-blue": string;
|
|
262
|
+
"fill-fuchsia": string;
|
|
263
|
+
"text-fuchsia": string;
|
|
264
|
+
"fill-teal": string;
|
|
265
|
+
"text-teal": string;
|
|
266
|
+
"fill-indigo": string;
|
|
267
|
+
"text-indigo": string;
|
|
268
|
+
"text-decorative-blue": string;
|
|
269
|
+
"text-decorative-violet": string;
|
|
270
|
+
"text-decorative-fuchsia": string;
|
|
271
|
+
"text-decorative-lime": string;
|
|
272
|
+
"text-decorative-teal": string;
|
|
273
|
+
"text-decorative-indigo": string;
|
|
274
|
+
"text-decorative-red": string;
|
|
275
|
+
"text-decorative-amber": string;
|
|
276
|
+
"text-decorative-green": string;
|
|
277
|
+
"surface-decorative-blue": string;
|
|
278
|
+
"surface-decorative-violet": string;
|
|
279
|
+
"surface-decorative-fuchsia": string;
|
|
280
|
+
"surface-decorative-red": string;
|
|
281
|
+
"surface-decorative-amber": string;
|
|
282
|
+
"surface-decorative-green": string;
|
|
283
|
+
"surface-decorative-lime": string;
|
|
284
|
+
"surface-decorative-indigo": string;
|
|
285
|
+
"surface-decorative-teal": string;
|
|
286
|
+
"fill-decorative-blue": string;
|
|
287
|
+
"fill-decorative-violet": string;
|
|
288
|
+
"fill-decorative-fuchsia": string;
|
|
289
|
+
"fill-decorative-lime": string;
|
|
290
|
+
"fill-decorative-teal": string;
|
|
291
|
+
"fill-decorative-indigo": string;
|
|
292
|
+
"fill-decorative-red": string;
|
|
293
|
+
"fill-decorative-amber": string;
|
|
294
|
+
"fill-decorative-green": string;
|
|
295
|
+
"fill-decorative-neutral": string;
|
|
296
|
+
"bg-icon-decorative-blue": string;
|
|
297
|
+
"bg-icon-decorative-violet": string;
|
|
298
|
+
"bg-icon-decorative-fuchsia": string;
|
|
299
|
+
"bg-icon-decorative-red": string;
|
|
300
|
+
"bg-icon-decorative-amber": string;
|
|
301
|
+
"bg-icon-decorative-green": string;
|
|
302
|
+
"bg-icon-decorative-lime": string;
|
|
303
|
+
"bg-icon-decorative-indigo": string;
|
|
304
|
+
"bg-icon-decorative-teal": string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export interface LegacyColorTokens {
|
|
308
|
+
white: string;
|
|
309
|
+
white_background: string;
|
|
310
|
+
white_blue: string;
|
|
311
|
+
white_silver: string;
|
|
312
|
+
black: string;
|
|
313
|
+
blue_text: string;
|
|
314
|
+
blue_gray: string;
|
|
315
|
+
blue_silver: string;
|
|
316
|
+
blue_navy: string;
|
|
317
|
+
black_transparent: string;
|
|
318
|
+
light_gray: string;
|
|
319
|
+
light: string;
|
|
320
|
+
light_filter: string;
|
|
321
|
+
shadow: string;
|
|
322
|
+
harmonies: string;
|
|
323
|
+
blue_royal: string;
|
|
324
|
+
alice_blue: string;
|
|
325
|
+
black_medium: string;
|
|
326
|
+
black_gray: string;
|
|
327
|
+
white_dark: string;
|
|
328
|
+
blue_very_light: string;
|
|
329
|
+
white_smoke: string;
|
|
330
|
+
black_ghost: string;
|
|
331
|
+
modal_background: string;
|
|
332
|
+
red: string;
|
|
333
|
+
yellow: string;
|
|
334
|
+
"light-yellow": string;
|
|
335
|
+
"darker-light-yellow": string;
|
|
336
|
+
green: string;
|
|
337
|
+
green_gray: string;
|
|
338
|
+
blue_dark: string;
|
|
339
|
+
blue_dark_hover: string;
|
|
340
|
+
blue_tabs_hover: string;
|
|
341
|
+
secondary_dark: string;
|
|
342
|
+
text_dark: string;
|
|
343
|
+
blue_secondary: string;
|
|
344
|
+
"blue-background": string;
|
|
345
|
+
"blue-border": string;
|
|
346
|
+
"blue-icon": string;
|
|
347
|
+
"blue-icon-light": string;
|
|
348
|
+
"gray-info": string;
|
|
349
|
+
"gray-language-tab": string;
|
|
350
|
+
"blue-dark-tab": string;
|
|
351
|
+
black_light: string;
|
|
352
|
+
input_focus: string;
|
|
353
|
+
blue_secondary_placholder: string;
|
|
354
|
+
gray_placeholder: string;
|
|
355
|
+
profile_complete_card_background: string;
|
|
356
|
+
gray_light: string;
|
|
357
|
+
"light-green": string;
|
|
358
|
+
"dark-green": string;
|
|
359
|
+
"light-blue": string;
|
|
360
|
+
"light-gray": string;
|
|
361
|
+
red_danger: string;
|
|
362
|
+
red_danger_bg: string;
|
|
363
|
+
"light-red": string;
|
|
364
|
+
"dark-red": string;
|
|
365
|
+
"light-purple": string;
|
|
366
|
+
"dark-purple": string;
|
|
367
|
+
"grey-bg": string;
|
|
368
|
+
"grey-text": string;
|
|
369
|
+
"grey-border": string;
|
|
370
|
+
blue_heading: string;
|
|
371
|
+
"midnight-blue": string;
|
|
372
|
+
dark_card_blue: string;
|
|
373
|
+
grey_text_lms: string;
|
|
374
|
+
grey_bg_lms: string;
|
|
375
|
+
grey_bg_lms_icon: string;
|
|
376
|
+
grey_lms_header: string;
|
|
377
|
+
green_correct: string;
|
|
378
|
+
green_bg: string;
|
|
379
|
+
"blue-box": string;
|
|
380
|
+
"purple-box": string;
|
|
381
|
+
"blue-box-filler": string;
|
|
382
|
+
grey_pdf: string;
|
|
383
|
+
pink: string;
|
|
384
|
+
grey_voice: string;
|
|
385
|
+
gray_border: string;
|
|
386
|
+
dark_gray: string;
|
|
387
|
+
btn_gray: string;
|
|
388
|
+
blue_bg: string;
|
|
389
|
+
gray_progress: string;
|
|
390
|
+
gray_button: string;
|
|
391
|
+
gray_bg_mobile: string;
|
|
392
|
+
gray_divider: string;
|
|
393
|
+
blue_light: string;
|
|
394
|
+
gray_tabs: string;
|
|
395
|
+
gray_card: string;
|
|
396
|
+
dark_text: string;
|
|
397
|
+
mobile_bg: string;
|
|
398
|
+
gray_tabs_bg: string;
|
|
399
|
+
gray_tabs_text: string;
|
|
400
|
+
gray_border_two: string;
|
|
401
|
+
red_line: string;
|
|
402
|
+
"pearl-green": string;
|
|
403
|
+
blue_linear: string;
|
|
404
|
+
blue_gradient: string;
|
|
405
|
+
yellow_light: string;
|
|
406
|
+
gray_proftest: string;
|
|
407
|
+
gray_bars: string;
|
|
408
|
+
yellow_border: string;
|
|
409
|
+
yellow_background: string;
|
|
410
|
+
gray_not_activated: string;
|
|
411
|
+
black_almost: string;
|
|
412
|
+
gray_price: string;
|
|
413
|
+
gray_admin: string;
|
|
414
|
+
gray_admin_text: string;
|
|
415
|
+
gray_admin_light: string;
|
|
416
|
+
gray_black_notif_text: string;
|
|
417
|
+
black_notif_text: string;
|
|
418
|
+
gray_notif_date: string;
|
|
419
|
+
gray_feedback_question: string;
|
|
420
|
+
kaspi_red: string;
|
|
421
|
+
halloween: string;
|
|
422
|
+
blue_support: string;
|
|
423
|
+
blue_new: string;
|
|
424
|
+
blue_bg_dark: string;
|
|
425
|
+
blue_bg_light: string;
|
|
426
|
+
gray_new: string;
|
|
427
|
+
blue_new_gradient: string;
|
|
428
|
+
orange_gradient: string;
|
|
429
|
+
yellow_gradient: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
45
432
|
export interface BorderTokens {
|
|
46
433
|
"border-radius-0": string;
|
|
47
434
|
"border-radius-50": string;
|
|
@@ -51,21 +438,35 @@ export interface BorderTokens {
|
|
|
51
438
|
"border-width-025": string;
|
|
52
439
|
}
|
|
53
440
|
|
|
54
|
-
export interface
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
441
|
+
export interface ShadowTokens {
|
|
442
|
+
"shadow-color": string;
|
|
443
|
+
"shadow-0": string;
|
|
444
|
+
"shadow-100": string;
|
|
445
|
+
"shadow-200": string;
|
|
446
|
+
"shadow-300": string;
|
|
447
|
+
"shadow-400": string;
|
|
448
|
+
"shadow-500": string;
|
|
449
|
+
"shadow-600": string;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export interface PrimitiveTypographyTokens {
|
|
453
|
+
"font-weight-regular": string;
|
|
454
|
+
"font-weight-medium": string;
|
|
455
|
+
"font-weight-semibold": string;
|
|
456
|
+
"font-weight-bold": string;
|
|
60
457
|
"font-letter-spacing-denser": string;
|
|
61
458
|
"font-letter-spacing-dense": string;
|
|
62
459
|
"font-letter-spacing-normal": string;
|
|
63
460
|
"font-size-300": string;
|
|
64
461
|
"font-size-350": string;
|
|
65
462
|
"font-size-400": string;
|
|
463
|
+
"font-size-450": string;
|
|
66
464
|
"font-size-500": string;
|
|
465
|
+
"font-size-550": string;
|
|
67
466
|
"font-size-600": string;
|
|
467
|
+
"font-size-700": string;
|
|
68
468
|
"font-size-750": string;
|
|
469
|
+
"font-size-1000": string;
|
|
69
470
|
"font-line-height-400": string;
|
|
70
471
|
"font-line-height-500": string;
|
|
71
472
|
"font-line-height-550": string;
|
|
@@ -73,40 +474,164 @@ export interface TypographyTokens {
|
|
|
73
474
|
"font-line-height-650": string;
|
|
74
475
|
"font-line-height-700": string;
|
|
75
476
|
"font-line-height-800": string;
|
|
477
|
+
"font-line-height-850": string;
|
|
76
478
|
"font-line-height-1000": string;
|
|
77
479
|
}
|
|
78
480
|
|
|
79
|
-
export interface
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
481
|
+
export interface DisplayTypographyTokens {
|
|
482
|
+
"display-font-size": string;
|
|
483
|
+
"display-line-height": string;
|
|
484
|
+
"display-weight": string;
|
|
485
|
+
"display-letter-spacing": string;
|
|
486
|
+
"display-font-size-mobile": string;
|
|
487
|
+
"display-line-height-mobile": string;
|
|
488
|
+
"display-weight-mobile": string;
|
|
489
|
+
"display-letter-spacing-mobile": string;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export interface HeadingTypographyTokens {
|
|
493
|
+
"heading-xl-font-size": string;
|
|
494
|
+
"heading-xl-line-height": string;
|
|
495
|
+
"heading-xl-weight": string;
|
|
496
|
+
"heading-xl-letter-spacing": string;
|
|
497
|
+
"heading-lg-font-size": string;
|
|
498
|
+
"heading-lg-line-height": string;
|
|
499
|
+
"heading-lg-weight": string;
|
|
500
|
+
"heading-lg-letter-spacing": string;
|
|
501
|
+
"heading-md-font-size": string;
|
|
502
|
+
"heading-md-line-height": string;
|
|
503
|
+
"heading-md-weight": string;
|
|
504
|
+
"heading-md-letter-spacing": string;
|
|
505
|
+
"heading-sm-font-size": string;
|
|
506
|
+
"heading-sm-line-height": string;
|
|
507
|
+
"heading-sm-weight": string;
|
|
508
|
+
"heading-sm-letter-spacing": string;
|
|
509
|
+
"heading-xs-font-size": string;
|
|
510
|
+
"heading-xs-line-height": string;
|
|
511
|
+
"heading-xs-weight": string;
|
|
512
|
+
"heading-xs-letter-spacing": string;
|
|
513
|
+
"heading-xl-font-size-mobile": string;
|
|
514
|
+
"heading-xl-line-height-mobile": string;
|
|
515
|
+
"heading-xl-weight-mobile": string;
|
|
516
|
+
"heading-xl-letter-spacing-mobile": string;
|
|
517
|
+
"heading-lg-font-size-mobile": string;
|
|
518
|
+
"heading-lg-line-height-mobile": string;
|
|
519
|
+
"heading-lg-weight-mobile": string;
|
|
520
|
+
"heading-lg-letter-spacing-mobile": string;
|
|
521
|
+
"heading-md-font-size-mobile": string;
|
|
522
|
+
"heading-md-line-height-mobile": string;
|
|
523
|
+
"heading-md-weight-mobile": string;
|
|
524
|
+
"heading-md-letter-spacing-mobile": string;
|
|
525
|
+
"heading-sm-font-size-mobile": string;
|
|
526
|
+
"heading-sm-line-height-mobile": string;
|
|
527
|
+
"heading-sm-weight-mobile": string;
|
|
528
|
+
"heading-sm-letter-spacing-mobile": string;
|
|
529
|
+
"heading-xs-font-size-mobile": string;
|
|
530
|
+
"heading-xs-line-height-mobile": string;
|
|
531
|
+
"heading-xs-weight-mobile": string;
|
|
532
|
+
"heading-xs-letter-spacing-mobile": string;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export interface BodyTypographyTokens {
|
|
536
|
+
"body-lg-font-size": string;
|
|
537
|
+
"body-lg-line-height": string;
|
|
538
|
+
"body-lg-weight-default": string;
|
|
539
|
+
"body-lg-weight-medium": string;
|
|
540
|
+
"body-lg-weight-semibold": string;
|
|
541
|
+
"body-lg-letter-spacing": string;
|
|
542
|
+
"body-md-font-size": string;
|
|
543
|
+
"body-md-line-height": string;
|
|
544
|
+
"body-md-weight-default": string;
|
|
545
|
+
"body-md-weight-medium": string;
|
|
546
|
+
"body-md-weight-semibold": string;
|
|
547
|
+
"body-md-letter-spacing": string;
|
|
548
|
+
"body-sm-font-size": string;
|
|
549
|
+
"body-sm-line-height": string;
|
|
550
|
+
"body-sm-weight-default": string;
|
|
551
|
+
"body-sm-weight-medium": string;
|
|
552
|
+
"body-sm-weight-semibold": string;
|
|
553
|
+
"body-sm-letter-spacing": string;
|
|
554
|
+
"body-lg-font-size-mobile": string;
|
|
555
|
+
"body-lg-line-height-mobile": string;
|
|
556
|
+
"body-lg-weight-default-mobile": string;
|
|
557
|
+
"body-lg-weight-medium-mobile": string;
|
|
558
|
+
"body-lg-weight-semibold-mobile": string;
|
|
559
|
+
"body-lg-letter-spacing-mobile": string;
|
|
560
|
+
"body-md-font-size-mobile": string;
|
|
561
|
+
"body-md-line-height-mobile": string;
|
|
562
|
+
"body-md-weight-default-mobile": string;
|
|
563
|
+
"body-md-weight-medium-mobile": string;
|
|
564
|
+
"body-md-weight-semibold-mobile": string;
|
|
565
|
+
"body-md-letter-spacing-mobile": string;
|
|
566
|
+
"body-sm-font-size-mobile": string;
|
|
567
|
+
"body-sm-line-height-mobile": string;
|
|
568
|
+
"body-sm-weight-default-mobile": string;
|
|
569
|
+
"body-sm-weight-medium-mobile": string;
|
|
570
|
+
"body-sm-weight-semibold-mobile": string;
|
|
571
|
+
"body-sm-letter-spacing-mobile": string;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export interface LayoutTokens {
|
|
575
|
+
"card-padding": string;
|
|
576
|
+
"button-group-gap": string;
|
|
577
|
+
margin: string;
|
|
578
|
+
"section-gap": string;
|
|
579
|
+
"within-section-gap-small": string;
|
|
580
|
+
"within-section-gap-medium": string;
|
|
581
|
+
"within-section-gap-large": string;
|
|
582
|
+
"icon-size": string;
|
|
583
|
+
"page-header-sections-gap": string;
|
|
584
|
+
"section-header-section-content-gap": string;
|
|
585
|
+
"text-field-group-gap": string;
|
|
586
|
+
"card-padding-mobile": string;
|
|
587
|
+
"button-group-gap-mobile": string;
|
|
588
|
+
"margin-mobile": string;
|
|
589
|
+
"section-gap-mobile": string;
|
|
590
|
+
"within-section-gap-small-mobile": string;
|
|
591
|
+
"within-section-gap-medium-mobile": string;
|
|
592
|
+
"within-section-gap-large-mobile": string;
|
|
593
|
+
"icon-size-mobile": string;
|
|
594
|
+
"page-header-sections-gap-mobile": string;
|
|
595
|
+
"section-header-section-content-gap-mobile": string;
|
|
596
|
+
"text-field-group-gap-mobile": string;
|
|
597
|
+
"card-gap": string;
|
|
598
|
+
"card-gap-mobile": string;
|
|
599
|
+
"icon-text-gap": string;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export interface TypographyStructure {
|
|
603
|
+
primitive: PrimitiveTypographyTokens;
|
|
604
|
+
semantic: {
|
|
605
|
+
display: DisplayTypographyTokens;
|
|
606
|
+
heading: HeadingTypographyTokens;
|
|
607
|
+
body: BodyTypographyTokens;
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export interface TokensStructure {
|
|
612
|
+
raw: Record<string, string>;
|
|
613
|
+
spacing: SpacingTokens;
|
|
614
|
+
colors: PrimitiveColorTokens;
|
|
615
|
+
breakpoints: BreakpointTokens;
|
|
616
|
+
shadows: ShadowTokens;
|
|
617
|
+
typography: TypographyStructure;
|
|
103
618
|
}
|
|
104
619
|
|
|
105
|
-
export type
|
|
620
|
+
export type AllTokens = SpacingTokens &
|
|
621
|
+
PrimitiveColorTokens &
|
|
622
|
+
SemanticColorTokens &
|
|
623
|
+
LegacyColorTokens &
|
|
106
624
|
BreakpointTokens &
|
|
107
625
|
BorderTokens &
|
|
108
|
-
|
|
109
|
-
|
|
626
|
+
ShadowTokens &
|
|
627
|
+
PrimitiveTypographyTokens &
|
|
628
|
+
DisplayTypographyTokens &
|
|
629
|
+
HeadingTypographyTokens &
|
|
630
|
+
BodyTypographyTokens &
|
|
631
|
+
LayoutTokens & {
|
|
632
|
+
spacing: string;
|
|
633
|
+
"font-family-sans": string;
|
|
634
|
+
};
|
|
110
635
|
|
|
111
|
-
declare const tokens:
|
|
636
|
+
declare const tokens: TokensStructure;
|
|
112
637
|
export default tokens;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface EmptyProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface EmptyTextProps {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const EmptyTitle: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare const EmptyContext: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare const EmptyContent: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare const EmptyButtonContent: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export interface EmptyButtonProps {
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const EmptyPrimaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare const EmptySecondaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
interface EmptyImageProps {
|
|
22
|
-
src: string;
|
|
23
|
-
className?: string;
|
|
24
|
-
alt?: string;
|
|
25
|
-
}
|
|
26
|
-
declare const EmptyImage: ({ src, className, alt, }: EmptyImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
interface EmptyType extends React.FC<EmptyProps> {
|
|
28
|
-
Title: typeof EmptyTitle;
|
|
29
|
-
Context: typeof EmptyContext;
|
|
30
|
-
Content: typeof EmptyContent;
|
|
31
|
-
ButtonContent: typeof EmptyButtonContent;
|
|
32
|
-
PrimaryButton: typeof EmptyPrimaryButton;
|
|
33
|
-
SecondaryButton: typeof EmptySecondaryButton;
|
|
34
|
-
Image: typeof EmptyImage;
|
|
35
|
-
}
|
|
36
|
-
declare const Empty: EmptyType;
|
|
37
|
-
export { Empty };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Empty } from './Empty';
|
|
3
|
-
declare const meta: Meta<typeof Empty>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Empty>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithoutButtons: Story;
|
|
8
|
-
export declare const WithoutImage: Story;
|
|
9
|
-
export declare const OnlyButton: Story;
|
|
10
|
-
export declare const MinimalContent: Story;
|