@abhir9/pd-design-system 0.1.0

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.
@@ -0,0 +1,1477 @@
1
+ import React from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as LucideIcons from 'lucide-react';
4
+
5
+ declare const THEME_MODES: readonly ["light", "dark"];
6
+ declare const THEME_NAMES: readonly ["base", "brand"];
7
+ declare const ADAPTER_TYPES: readonly ["shadcn", "material"];
8
+ type ThemeMode = typeof THEME_MODES[number];
9
+ type ThemeName = typeof THEME_NAMES[number];
10
+ type AdapterType = typeof ADAPTER_TYPES[number];
11
+ interface DesignSystemConfig {
12
+ adapter: AdapterType;
13
+ theme: ThemeName;
14
+ mode: ThemeMode;
15
+ }
16
+ interface Theme {
17
+ mode: ThemeMode;
18
+ name: ThemeName;
19
+ cssVariables: Record<string, string>;
20
+ }
21
+
22
+ /**
23
+ * Semantic Tokens
24
+ * These tokens should be used in components for consistent theming.
25
+ * They map to color primitives and change based on theme (light/dark).
26
+ */
27
+
28
+ /**
29
+ * Border Tokens
30
+ */
31
+ declare const borderTokens: {
32
+ readonly dark: {
33
+ readonly primary: "#4E4E5A";
34
+ readonly secondary: "#2F2F37";
35
+ readonly subtle: "#2F2F37";
36
+ readonly invert: "#FFFFFF";
37
+ readonly onColor: "#09090B";
38
+ readonly blue: "#709AFF";
39
+ readonly blueSubtle: "#002680";
40
+ readonly blueOnHover: "#3772FF";
41
+ readonly red: "#E15C5C";
42
+ readonly redSubtle: "#4C0B17";
43
+ readonly redOnHover: "#E12D4E";
44
+ readonly orange: "#EC9C64";
45
+ readonly orangeSubtle: "#5C2500";
46
+ readonly orangeOnHover: "#FF6800";
47
+ readonly yellow: "#FFCA70";
48
+ readonly yellowSubtle: "#5C3A00";
49
+ readonly yellowOnHover: "#FFAD22";
50
+ readonly green: "#00E052";
51
+ readonly greenSubtle: "#006625";
52
+ readonly greenOnHover: "#00B241";
53
+ };
54
+ readonly light: {
55
+ readonly primary: "#BEBEC1";
56
+ readonly secondary: "#DFDFE2";
57
+ readonly subtle: "#DFDFE2";
58
+ readonly invert: "#09090B";
59
+ readonly onColor: "#FFFFFF";
60
+ readonly blue: "#3772FF";
61
+ readonly blueSubtle: "#99B7FF";
62
+ readonly blueOnHover: "#003FD6";
63
+ readonly red: "#C41C3B";
64
+ readonly redSubtle: "#F6C1CA";
65
+ readonly redOnHover: "#A11730";
66
+ readonly orange: "#D65700";
67
+ readonly orangeSubtle: "#FFC9A3";
68
+ readonly orangeOnHover: "#AD4700";
69
+ readonly yellow: "#F09700";
70
+ readonly yellowSubtle: "#FFD999";
71
+ readonly yellowOnHover: "#D68700";
72
+ readonly green: "#00E052";
73
+ readonly greenSubtle: "#8AFFB5";
74
+ readonly greenOnHover: "#00B241";
75
+ };
76
+ };
77
+ /**
78
+ * Content Tokens (Text/Foreground)
79
+ */
80
+ declare const contentTokens: {
81
+ readonly dark: {
82
+ readonly primary: "#DFDFE2";
83
+ readonly secondary: "#7E7E8B";
84
+ readonly subtle: "#4E4E5A";
85
+ readonly onColor: "#09090B";
86
+ readonly alwaysWhite: "#FFFFFF";
87
+ readonly alwaysBlack: "#09090B";
88
+ readonly onColorInverse: "#EDEDED";
89
+ readonly blue: "#709AFF";
90
+ readonly blueDisabled: "#002680";
91
+ readonly blueOnHover: "#3772FF";
92
+ readonly green: "#00E052";
93
+ readonly greenDisabled: "#008A32";
94
+ readonly greenOnHover: "#09FF63";
95
+ readonly red: "#E15C5C";
96
+ readonly redDisabled: "#7D1225";
97
+ readonly redOnHover: "#F6C1CA";
98
+ readonly orange: "#EC9C64";
99
+ readonly orangeDisabled: "#7A3200";
100
+ readonly orangeOnHover: "#FFC9A3";
101
+ readonly yellow: "#FFCA70";
102
+ readonly yellowDisabled: "#7A4D00";
103
+ readonly yellowOnHover: "#FFD999";
104
+ };
105
+ readonly light: {
106
+ readonly primary: "#17171C";
107
+ readonly secondary: "#60606C";
108
+ readonly subtle: "#BEBEC1";
109
+ readonly onColor: "#FFFFFF";
110
+ readonly alwaysWhite: "#FFFFFF";
111
+ readonly alwaysBlack: "#09090B";
112
+ readonly onColorInverse: "#09090B";
113
+ readonly blue: "#3772FF";
114
+ readonly blueDisabled: "#709AFF";
115
+ readonly blueOnHover: "#004BFF";
116
+ readonly green: "#00B241";
117
+ readonly greenDisabled: "#5CFF98";
118
+ readonly greenOnHover: "#00E052";
119
+ readonly red: "#C41C3B";
120
+ readonly redDisabled: "#E15C5C";
121
+ readonly redOnHover: "#A11730";
122
+ readonly orange: "#D65700";
123
+ readonly orangeDisabled: "#EC9C64";
124
+ readonly orangeOnHover: "#AD4700";
125
+ readonly yellow: "#F09700";
126
+ readonly yellowDisabled: "#FFCA70";
127
+ readonly yellowOnHover: "#D68700";
128
+ };
129
+ };
130
+ /**
131
+ * Background Tokens
132
+ */
133
+ declare const backgroundTokens: {
134
+ readonly dark: {
135
+ readonly base: "#09090B";
136
+ readonly primary: "#00123D";
137
+ readonly primaryOnHover: "#001E66";
138
+ readonly secondary: "#17171C";
139
+ readonly tertiary: "#2F2F37";
140
+ readonly invert: "#FFFFFF";
141
+ readonly invertLight: "#DFDFE2";
142
+ readonly green: "#00471A";
143
+ readonly greenOnHover: "#006625";
144
+ readonly red: "#2D060D";
145
+ readonly redOnHover: "#4C0B17";
146
+ readonly orange: "#331500";
147
+ readonly orangeOnHover: "#5C2500";
148
+ readonly yellow: "#3D2600";
149
+ readonly yellowOnHover: "#5C3A00";
150
+ readonly low: "#17171C";
151
+ readonly lowOnHover: "#2F2F37";
152
+ readonly info: "#00123D";
153
+ readonly infoOnHover: "#001E66";
154
+ };
155
+ readonly light: {
156
+ readonly base: "#FFFFFF";
157
+ readonly primary: "#EBF1FF";
158
+ readonly primaryOnHover: "#99B7FF";
159
+ readonly secondary: "#EDEDED";
160
+ readonly tertiary: "#DFDFE2";
161
+ readonly invert: "#09090B";
162
+ readonly invertLight: "#17171C";
163
+ readonly green: "#E0FFEC";
164
+ readonly greenOnHover: "#BDFFD5";
165
+ readonly red: "#FDF2F4";
166
+ readonly redOnHover: "#FADBE1";
167
+ readonly orange: "#FFF3EB";
168
+ readonly orangeOnHover: "#FFE1CC";
169
+ readonly yellow: "#FFF3EB";
170
+ readonly yellowOnHover: "#FFE1CC";
171
+ readonly low: "#EDEDED";
172
+ readonly lowOnHover: "#DFDFE2";
173
+ readonly info: "#EBF1FF";
174
+ readonly infoOnHover: "#99B7FF";
175
+ };
176
+ };
177
+ declare const semanticTokens: {
178
+ readonly border: {
179
+ readonly dark: {
180
+ readonly primary: "#4E4E5A";
181
+ readonly secondary: "#2F2F37";
182
+ readonly subtle: "#2F2F37";
183
+ readonly invert: "#FFFFFF";
184
+ readonly onColor: "#09090B";
185
+ readonly blue: "#709AFF";
186
+ readonly blueSubtle: "#002680";
187
+ readonly blueOnHover: "#3772FF";
188
+ readonly red: "#E15C5C";
189
+ readonly redSubtle: "#4C0B17";
190
+ readonly redOnHover: "#E12D4E";
191
+ readonly orange: "#EC9C64";
192
+ readonly orangeSubtle: "#5C2500";
193
+ readonly orangeOnHover: "#FF6800";
194
+ readonly yellow: "#FFCA70";
195
+ readonly yellowSubtle: "#5C3A00";
196
+ readonly yellowOnHover: "#FFAD22";
197
+ readonly green: "#00E052";
198
+ readonly greenSubtle: "#006625";
199
+ readonly greenOnHover: "#00B241";
200
+ };
201
+ readonly light: {
202
+ readonly primary: "#BEBEC1";
203
+ readonly secondary: "#DFDFE2";
204
+ readonly subtle: "#DFDFE2";
205
+ readonly invert: "#09090B";
206
+ readonly onColor: "#FFFFFF";
207
+ readonly blue: "#3772FF";
208
+ readonly blueSubtle: "#99B7FF";
209
+ readonly blueOnHover: "#003FD6";
210
+ readonly red: "#C41C3B";
211
+ readonly redSubtle: "#F6C1CA";
212
+ readonly redOnHover: "#A11730";
213
+ readonly orange: "#D65700";
214
+ readonly orangeSubtle: "#FFC9A3";
215
+ readonly orangeOnHover: "#AD4700";
216
+ readonly yellow: "#F09700";
217
+ readonly yellowSubtle: "#FFD999";
218
+ readonly yellowOnHover: "#D68700";
219
+ readonly green: "#00E052";
220
+ readonly greenSubtle: "#8AFFB5";
221
+ readonly greenOnHover: "#00B241";
222
+ };
223
+ };
224
+ readonly content: {
225
+ readonly dark: {
226
+ readonly primary: "#DFDFE2";
227
+ readonly secondary: "#7E7E8B";
228
+ readonly subtle: "#4E4E5A";
229
+ readonly onColor: "#09090B";
230
+ readonly alwaysWhite: "#FFFFFF";
231
+ readonly alwaysBlack: "#09090B";
232
+ readonly onColorInverse: "#EDEDED";
233
+ readonly blue: "#709AFF";
234
+ readonly blueDisabled: "#002680";
235
+ readonly blueOnHover: "#3772FF";
236
+ readonly green: "#00E052";
237
+ readonly greenDisabled: "#008A32";
238
+ readonly greenOnHover: "#09FF63";
239
+ readonly red: "#E15C5C";
240
+ readonly redDisabled: "#7D1225";
241
+ readonly redOnHover: "#F6C1CA";
242
+ readonly orange: "#EC9C64";
243
+ readonly orangeDisabled: "#7A3200";
244
+ readonly orangeOnHover: "#FFC9A3";
245
+ readonly yellow: "#FFCA70";
246
+ readonly yellowDisabled: "#7A4D00";
247
+ readonly yellowOnHover: "#FFD999";
248
+ };
249
+ readonly light: {
250
+ readonly primary: "#17171C";
251
+ readonly secondary: "#60606C";
252
+ readonly subtle: "#BEBEC1";
253
+ readonly onColor: "#FFFFFF";
254
+ readonly alwaysWhite: "#FFFFFF";
255
+ readonly alwaysBlack: "#09090B";
256
+ readonly onColorInverse: "#09090B";
257
+ readonly blue: "#3772FF";
258
+ readonly blueDisabled: "#709AFF";
259
+ readonly blueOnHover: "#004BFF";
260
+ readonly green: "#00B241";
261
+ readonly greenDisabled: "#5CFF98";
262
+ readonly greenOnHover: "#00E052";
263
+ readonly red: "#C41C3B";
264
+ readonly redDisabled: "#E15C5C";
265
+ readonly redOnHover: "#A11730";
266
+ readonly orange: "#D65700";
267
+ readonly orangeDisabled: "#EC9C64";
268
+ readonly orangeOnHover: "#AD4700";
269
+ readonly yellow: "#F09700";
270
+ readonly yellowDisabled: "#FFCA70";
271
+ readonly yellowOnHover: "#D68700";
272
+ };
273
+ };
274
+ readonly background: {
275
+ readonly dark: {
276
+ readonly base: "#09090B";
277
+ readonly primary: "#00123D";
278
+ readonly primaryOnHover: "#001E66";
279
+ readonly secondary: "#17171C";
280
+ readonly tertiary: "#2F2F37";
281
+ readonly invert: "#FFFFFF";
282
+ readonly invertLight: "#DFDFE2";
283
+ readonly green: "#00471A";
284
+ readonly greenOnHover: "#006625";
285
+ readonly red: "#2D060D";
286
+ readonly redOnHover: "#4C0B17";
287
+ readonly orange: "#331500";
288
+ readonly orangeOnHover: "#5C2500";
289
+ readonly yellow: "#3D2600";
290
+ readonly yellowOnHover: "#5C3A00";
291
+ readonly low: "#17171C";
292
+ readonly lowOnHover: "#2F2F37";
293
+ readonly info: "#00123D";
294
+ readonly infoOnHover: "#001E66";
295
+ };
296
+ readonly light: {
297
+ readonly base: "#FFFFFF";
298
+ readonly primary: "#EBF1FF";
299
+ readonly primaryOnHover: "#99B7FF";
300
+ readonly secondary: "#EDEDED";
301
+ readonly tertiary: "#DFDFE2";
302
+ readonly invert: "#09090B";
303
+ readonly invertLight: "#17171C";
304
+ readonly green: "#E0FFEC";
305
+ readonly greenOnHover: "#BDFFD5";
306
+ readonly red: "#FDF2F4";
307
+ readonly redOnHover: "#FADBE1";
308
+ readonly orange: "#FFF3EB";
309
+ readonly orangeOnHover: "#FFE1CC";
310
+ readonly yellow: "#FFF3EB";
311
+ readonly yellowOnHover: "#FFE1CC";
312
+ readonly low: "#EDEDED";
313
+ readonly lowOnHover: "#DFDFE2";
314
+ readonly info: "#EBF1FF";
315
+ readonly infoOnHover: "#99B7FF";
316
+ };
317
+ };
318
+ };
319
+ declare const VARIANTS: readonly ["primary", "secondary", "ghost", "outline"];
320
+ declare const INTENTS: readonly ["primary", "success", "warning", "danger", "neutral"];
321
+ declare const SIZES: readonly ["sm", "md", "lg"];
322
+ declare const BUTTON_TYPES: readonly ["button", "submit", "reset"];
323
+ declare const INPUT_TYPES: readonly ["text", "email", "password", "number", "tel", "url", "search"];
324
+ declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
325
+ declare const SURFACE_LEVELS: readonly ["base", "elevated", "overlay"];
326
+ type Variant = typeof VARIANTS[number];
327
+ type Intent = typeof INTENTS[number];
328
+ type Size = typeof SIZES[number];
329
+ type ButtonType = typeof BUTTON_TYPES[number];
330
+ type InputType = typeof INPUT_TYPES[number];
331
+ type Orientation = typeof ORIENTATIONS[number];
332
+ type SurfaceLevel = typeof SURFACE_LEVELS[number];
333
+ type BorderToken = keyof typeof borderTokens.light;
334
+ type ContentToken = keyof typeof contentTokens.light;
335
+ type BackgroundToken = keyof typeof backgroundTokens.light;
336
+ type SemanticToken = BorderToken | ContentToken | BackgroundToken;
337
+ interface SemanticTokens {
338
+ intent: {
339
+ [K in Intent]: {
340
+ color: string;
341
+ colorHover: string;
342
+ colorActive: string;
343
+ background: string;
344
+ backgroundHover: string;
345
+ backgroundActive: string;
346
+ border: string;
347
+ text: string;
348
+ textMuted: string;
349
+ };
350
+ };
351
+ surface: {
352
+ [K in SurfaceLevel]: {
353
+ background: string;
354
+ border: string;
355
+ };
356
+ };
357
+ text: {
358
+ heading: string;
359
+ body: string;
360
+ muted: string;
361
+ disabled: string;
362
+ };
363
+ }
364
+ /**
365
+ * Legacy function for backward compatibility
366
+ * Maps new semantic tokens to old structure
367
+ */
368
+ declare function createSemanticTokens(mode: ThemeMode): SemanticTokens;
369
+
370
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'className'> {
371
+ variant?: Variant;
372
+ intent?: Intent;
373
+ size?: Size;
374
+ loading?: boolean;
375
+ fullWidth?: boolean;
376
+ startIcon?: string;
377
+ endIcon?: string;
378
+ loadingText?: string;
379
+ href?: string;
380
+ target?: '_blank' | '_self' | '_parent' | '_top';
381
+ type?: ButtonType;
382
+ }
383
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
384
+
385
+ interface ButtonGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className'> {
386
+ orientation?: Orientation;
387
+ fullWidth?: boolean;
388
+ gap?: Size;
389
+ children: React.ReactNode;
390
+ }
391
+ declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
392
+
393
+ declare function createTheme(name: ThemeName, mode: ThemeMode): Theme;
394
+
395
+ declare function setDesignSystemConfig(config: Partial<DesignSystemConfig>): void;
396
+ declare function getDesignSystemConfig(): DesignSystemConfig;
397
+ declare function getAdapter(): AdapterType;
398
+ declare function getThemeName(): ThemeName;
399
+ declare function getThemeMode(): ThemeMode;
400
+
401
+ interface ThemeContextValue {
402
+ config: DesignSystemConfig;
403
+ setConfig: (config: Partial<DesignSystemConfig>) => void;
404
+ }
405
+ interface ThemeProviderProps {
406
+ children: React.ReactNode;
407
+ adapter?: DesignSystemConfig['adapter'];
408
+ theme?: ThemeName;
409
+ mode?: ThemeMode;
410
+ }
411
+ declare function ThemeProvider({ children, adapter, theme: themeName, mode, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
412
+ declare function useTheme(): ThemeContextValue;
413
+
414
+ /**
415
+ * Base Design Tokens
416
+ * Framework-agnostic design tokens
417
+ *
418
+ * Color Primitives: These are the base color values that should not be used directly in components.
419
+ * Use semantic tokens instead for better theme support.
420
+ */
421
+ declare const neutral: {
422
+ readonly 100: "#FFFFFF";
423
+ readonly 200: "#EDEDED";
424
+ readonly 300: "#DFDFE2";
425
+ readonly 400: "#BEBEC1";
426
+ readonly 500: "#7E7E8B";
427
+ readonly 600: "#60606C";
428
+ readonly 700: "#4E4E5A";
429
+ readonly 800: "#2F2F37";
430
+ readonly 900: "#17171C";
431
+ readonly 950: "#09090B";
432
+ readonly 1000: "#FAFAFA";
433
+ };
434
+ declare const blue: {
435
+ readonly 100: "#EBF1FF";
436
+ readonly 200: "#C2D4FF";
437
+ readonly 300: "#99B7FF";
438
+ readonly 400: "#709AFF";
439
+ readonly 500: "#3772FF";
440
+ readonly 600: "#004BFF";
441
+ readonly 700: "#003FD6";
442
+ readonly 800: "#002680";
443
+ readonly 900: "#001E66";
444
+ readonly 950: "#00123D";
445
+ };
446
+ declare const orange: {
447
+ readonly 100: "#FFF3EB";
448
+ readonly 200: "#FFE1CC";
449
+ readonly 300: "#FFC9A3";
450
+ readonly 400: "#EC9C64";
451
+ readonly 500: "#FF6800";
452
+ readonly 600: "#D65700";
453
+ readonly 700: "#AD4700";
454
+ readonly 800: "#7A3200";
455
+ readonly 900: "#5C2500";
456
+ readonly 950: "#331500";
457
+ };
458
+ declare const red: {
459
+ readonly 100: "#FDF2F4";
460
+ readonly 200: "#FADBE1";
461
+ readonly 300: "#F6C1CA";
462
+ readonly 400: "#E15C5C";
463
+ readonly 500: "#E12D4E";
464
+ readonly 600: "#C41C3B";
465
+ readonly 700: "#A11730";
466
+ readonly 800: "#7D1225";
467
+ readonly 900: "#4C0B17";
468
+ readonly 950: "#2D060D";
469
+ };
470
+ declare const green: {
471
+ readonly 100: "#E0FFEC";
472
+ readonly 200: "#BDFFD5";
473
+ readonly 300: "#8AFFB5";
474
+ readonly 400: "#5CFF98";
475
+ readonly 500: "#09FF63";
476
+ readonly 600: "#00E052";
477
+ readonly 700: "#00B241";
478
+ readonly 800: "#008A32";
479
+ readonly 900: "#006625";
480
+ readonly 950: "#00471A";
481
+ };
482
+ declare const yellow: {
483
+ readonly 100: "#FFF4E0";
484
+ readonly 200: "#FFE8C2";
485
+ readonly 300: "#FFD999";
486
+ readonly 400: "#FFCA70";
487
+ readonly 500: "#FFAD22";
488
+ readonly 600: "#F09700";
489
+ readonly 700: "#D68700";
490
+ readonly 800: "#7A4D00";
491
+ readonly 900: "#5C3A00";
492
+ readonly 950: "#3D2600";
493
+ };
494
+ declare const colorPrimitives: {
495
+ readonly neutral: {
496
+ readonly 100: "#FFFFFF";
497
+ readonly 200: "#EDEDED";
498
+ readonly 300: "#DFDFE2";
499
+ readonly 400: "#BEBEC1";
500
+ readonly 500: "#7E7E8B";
501
+ readonly 600: "#60606C";
502
+ readonly 700: "#4E4E5A";
503
+ readonly 800: "#2F2F37";
504
+ readonly 900: "#17171C";
505
+ readonly 950: "#09090B";
506
+ readonly 1000: "#FAFAFA";
507
+ };
508
+ readonly blue: {
509
+ readonly 100: "#EBF1FF";
510
+ readonly 200: "#C2D4FF";
511
+ readonly 300: "#99B7FF";
512
+ readonly 400: "#709AFF";
513
+ readonly 500: "#3772FF";
514
+ readonly 600: "#004BFF";
515
+ readonly 700: "#003FD6";
516
+ readonly 800: "#002680";
517
+ readonly 900: "#001E66";
518
+ readonly 950: "#00123D";
519
+ };
520
+ readonly orange: {
521
+ readonly 100: "#FFF3EB";
522
+ readonly 200: "#FFE1CC";
523
+ readonly 300: "#FFC9A3";
524
+ readonly 400: "#EC9C64";
525
+ readonly 500: "#FF6800";
526
+ readonly 600: "#D65700";
527
+ readonly 700: "#AD4700";
528
+ readonly 800: "#7A3200";
529
+ readonly 900: "#5C2500";
530
+ readonly 950: "#331500";
531
+ };
532
+ readonly red: {
533
+ readonly 100: "#FDF2F4";
534
+ readonly 200: "#FADBE1";
535
+ readonly 300: "#F6C1CA";
536
+ readonly 400: "#E15C5C";
537
+ readonly 500: "#E12D4E";
538
+ readonly 600: "#C41C3B";
539
+ readonly 700: "#A11730";
540
+ readonly 800: "#7D1225";
541
+ readonly 900: "#4C0B17";
542
+ readonly 950: "#2D060D";
543
+ };
544
+ readonly green: {
545
+ readonly 100: "#E0FFEC";
546
+ readonly 200: "#BDFFD5";
547
+ readonly 300: "#8AFFB5";
548
+ readonly 400: "#5CFF98";
549
+ readonly 500: "#09FF63";
550
+ readonly 600: "#00E052";
551
+ readonly 700: "#00B241";
552
+ readonly 800: "#008A32";
553
+ readonly 900: "#006625";
554
+ readonly 950: "#00471A";
555
+ };
556
+ readonly yellow: {
557
+ readonly 100: "#FFF4E0";
558
+ readonly 200: "#FFE8C2";
559
+ readonly 300: "#FFD999";
560
+ readonly 400: "#FFCA70";
561
+ readonly 500: "#FFAD22";
562
+ readonly 600: "#F09700";
563
+ readonly 700: "#D68700";
564
+ readonly 800: "#7A4D00";
565
+ readonly 900: "#5C3A00";
566
+ readonly 950: "#3D2600";
567
+ };
568
+ };
569
+ declare const colors: {
570
+ readonly white: "#FFFFFF";
571
+ readonly black: "#09090B";
572
+ readonly gray50: "#EDEDED";
573
+ readonly gray100: "#DFDFE2";
574
+ readonly gray200: "#BEBEC1";
575
+ readonly gray300: "#7E7E8B";
576
+ readonly gray400: "#7E7E8B";
577
+ readonly gray500: "#7E7E8B";
578
+ readonly gray600: "#60606C";
579
+ readonly gray700: "#4E4E5A";
580
+ readonly gray800: "#2F2F37";
581
+ readonly gray900: "#17171C";
582
+ readonly blue50: "#EBF1FF";
583
+ readonly blue100: "#EBF1FF";
584
+ readonly blue200: "#C2D4FF";
585
+ readonly blue300: "#99B7FF";
586
+ readonly blue400: "#709AFF";
587
+ readonly blue500: "#3772FF";
588
+ readonly blue600: "#004BFF";
589
+ readonly blue700: "#003FD6";
590
+ readonly blue800: "#002680";
591
+ readonly blue900: "#001E66";
592
+ readonly green50: "#E0FFEC";
593
+ readonly green100: "#E0FFEC";
594
+ readonly green200: "#BDFFD5";
595
+ readonly green300: "#8AFFB5";
596
+ readonly green400: "#5CFF98";
597
+ readonly green500: "#09FF63";
598
+ readonly green600: "#00E052";
599
+ readonly green700: "#00B241";
600
+ readonly green800: "#008A32";
601
+ readonly green900: "#006625";
602
+ readonly yellow50: "#FFF4E0";
603
+ readonly yellow100: "#FFF4E0";
604
+ readonly yellow200: "#FFE8C2";
605
+ readonly yellow300: "#FFD999";
606
+ readonly yellow400: "#FFCA70";
607
+ readonly yellow500: "#FFAD22";
608
+ readonly yellow600: "#F09700";
609
+ readonly yellow700: "#D68700";
610
+ readonly yellow800: "#7A4D00";
611
+ readonly yellow900: "#5C3A00";
612
+ readonly red50: "#FDF2F4";
613
+ readonly red100: "#FDF2F4";
614
+ readonly red200: "#FADBE1";
615
+ readonly red300: "#F6C1CA";
616
+ readonly red400: "#E15C5C";
617
+ readonly red500: "#E12D4E";
618
+ readonly red600: "#C41C3B";
619
+ readonly red700: "#A11730";
620
+ readonly red800: "#7D1225";
621
+ readonly red900: "#4C0B17";
622
+ };
623
+ declare const typography: {
624
+ readonly fontFamily: {
625
+ readonly sans: readonly ["Gist", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "sans-serif"];
626
+ readonly mono: readonly ["Gist Mono", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
627
+ };
628
+ readonly fontSize: {
629
+ readonly xs: "0.75rem";
630
+ readonly sm: "0.875rem";
631
+ readonly base: "1rem";
632
+ readonly lg: "1.125rem";
633
+ readonly xl: "1.25rem";
634
+ readonly '2xl': "1.5rem";
635
+ readonly '3xl': "1.875rem";
636
+ readonly '4xl': "2.25rem";
637
+ readonly '5xl': "3rem";
638
+ };
639
+ readonly fontWeight: {
640
+ readonly normal: "400";
641
+ readonly medium: "500";
642
+ readonly semibold: "600";
643
+ readonly bold: "700";
644
+ };
645
+ readonly lineHeight: {
646
+ readonly tight: "1.25";
647
+ readonly normal: "1.5";
648
+ readonly relaxed: "1.75";
649
+ };
650
+ };
651
+ declare const spacing: {
652
+ readonly 0: "0";
653
+ readonly 1: "0.25rem";
654
+ readonly 2: "0.5rem";
655
+ readonly 3: "0.75rem";
656
+ readonly 4: "1rem";
657
+ readonly 5: "1.25rem";
658
+ readonly 6: "1.5rem";
659
+ readonly 8: "2rem";
660
+ readonly 10: "2.5rem";
661
+ readonly 12: "3rem";
662
+ readonly 16: "4rem";
663
+ readonly 20: "5rem";
664
+ readonly 24: "6rem";
665
+ };
666
+ declare const radius: {
667
+ readonly none: "0";
668
+ readonly sm: "0.125rem";
669
+ readonly base: "0.25rem";
670
+ readonly md: "0.375rem";
671
+ readonly lg: "0.5rem";
672
+ readonly xl: "0.75rem";
673
+ readonly '2xl': "1rem";
674
+ readonly '3xl': "1.5rem";
675
+ readonly full: "9999px";
676
+ };
677
+ declare const shadows: {
678
+ readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
679
+ readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
680
+ readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
681
+ readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
682
+ readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
683
+ readonly '2xl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
684
+ readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
685
+ readonly none: "none";
686
+ };
687
+ declare const zIndex: {
688
+ readonly base: 0;
689
+ readonly dropdown: 1000;
690
+ readonly sticky: 1020;
691
+ readonly fixed: 1030;
692
+ readonly modalBackdrop: 1040;
693
+ readonly modal: 1050;
694
+ readonly popover: 1060;
695
+ readonly tooltip: 1070;
696
+ };
697
+ type ColorPrimitives = typeof colorPrimitives;
698
+ type Colors = typeof colors;
699
+ type Typography = typeof typography;
700
+ type Spacing = typeof spacing;
701
+ type Radius = typeof radius;
702
+ type Shadows = typeof shadows;
703
+ type ZIndex = typeof zIndex;
704
+ declare const COLOR_SCALES: readonly [100, 200, 300, 400, 500, 600, 700, 800, 900, 950, 1000];
705
+ type ColorName = keyof typeof colorPrimitives;
706
+ type ColorScale = typeof COLOR_SCALES[number];
707
+
708
+ /**
709
+ * Grouped design tokens for convenient access
710
+ *
711
+ * Provides a structured object containing all design tokens organized by category.
712
+ * This allows for easy access like `tokens.colors.blue[500]` or `tokens.spacing[4]`.
713
+ *
714
+ * @example
715
+ * ```ts
716
+ * import { tokens } from '@pd-design/system';
717
+ *
718
+ * // Access color primitives
719
+ * const primaryColor = tokens.colors.blue[500];
720
+ * const grayColor = tokens.colors.neutral[600];
721
+ *
722
+ * // Access semantic tokens
723
+ * const borderColor = tokens.semantic.border.light.primary;
724
+ *
725
+ * // Access spacing
726
+ * const padding = tokens.spacing[4];
727
+ *
728
+ * // Access typography
729
+ * const fontSize = tokens.typography.fontSize.base;
730
+ * ```
731
+ */
732
+ declare const tokens: {
733
+ readonly colors: {
734
+ readonly neutral: {
735
+ readonly 100: "#FFFFFF";
736
+ readonly 200: "#EDEDED";
737
+ readonly 300: "#DFDFE2";
738
+ readonly 400: "#BEBEC1";
739
+ readonly 500: "#7E7E8B";
740
+ readonly 600: "#60606C";
741
+ readonly 700: "#4E4E5A";
742
+ readonly 800: "#2F2F37";
743
+ readonly 900: "#17171C";
744
+ readonly 950: "#09090B";
745
+ readonly 1000: "#FAFAFA";
746
+ };
747
+ readonly blue: {
748
+ readonly 100: "#EBF1FF";
749
+ readonly 200: "#C2D4FF";
750
+ readonly 300: "#99B7FF";
751
+ readonly 400: "#709AFF";
752
+ readonly 500: "#3772FF";
753
+ readonly 600: "#004BFF";
754
+ readonly 700: "#003FD6";
755
+ readonly 800: "#002680";
756
+ readonly 900: "#001E66";
757
+ readonly 950: "#00123D";
758
+ };
759
+ readonly orange: {
760
+ readonly 100: "#FFF3EB";
761
+ readonly 200: "#FFE1CC";
762
+ readonly 300: "#FFC9A3";
763
+ readonly 400: "#EC9C64";
764
+ readonly 500: "#FF6800";
765
+ readonly 600: "#D65700";
766
+ readonly 700: "#AD4700";
767
+ readonly 800: "#7A3200";
768
+ readonly 900: "#5C2500";
769
+ readonly 950: "#331500";
770
+ };
771
+ readonly red: {
772
+ readonly 100: "#FDF2F4";
773
+ readonly 200: "#FADBE1";
774
+ readonly 300: "#F6C1CA";
775
+ readonly 400: "#E15C5C";
776
+ readonly 500: "#E12D4E";
777
+ readonly 600: "#C41C3B";
778
+ readonly 700: "#A11730";
779
+ readonly 800: "#7D1225";
780
+ readonly 900: "#4C0B17";
781
+ readonly 950: "#2D060D";
782
+ };
783
+ readonly green: {
784
+ readonly 100: "#E0FFEC";
785
+ readonly 200: "#BDFFD5";
786
+ readonly 300: "#8AFFB5";
787
+ readonly 400: "#5CFF98";
788
+ readonly 500: "#09FF63";
789
+ readonly 600: "#00E052";
790
+ readonly 700: "#00B241";
791
+ readonly 800: "#008A32";
792
+ readonly 900: "#006625";
793
+ readonly 950: "#00471A";
794
+ };
795
+ readonly yellow: {
796
+ readonly 100: "#FFF4E0";
797
+ readonly 200: "#FFE8C2";
798
+ readonly 300: "#FFD999";
799
+ readonly 400: "#FFCA70";
800
+ readonly 500: "#FFAD22";
801
+ readonly 600: "#F09700";
802
+ readonly 700: "#D68700";
803
+ readonly 800: "#7A4D00";
804
+ readonly 900: "#5C3A00";
805
+ readonly 950: "#3D2600";
806
+ };
807
+ readonly all: {
808
+ readonly neutral: {
809
+ readonly 100: "#FFFFFF";
810
+ readonly 200: "#EDEDED";
811
+ readonly 300: "#DFDFE2";
812
+ readonly 400: "#BEBEC1";
813
+ readonly 500: "#7E7E8B";
814
+ readonly 600: "#60606C";
815
+ readonly 700: "#4E4E5A";
816
+ readonly 800: "#2F2F37";
817
+ readonly 900: "#17171C";
818
+ readonly 950: "#09090B";
819
+ readonly 1000: "#FAFAFA";
820
+ };
821
+ readonly blue: {
822
+ readonly 100: "#EBF1FF";
823
+ readonly 200: "#C2D4FF";
824
+ readonly 300: "#99B7FF";
825
+ readonly 400: "#709AFF";
826
+ readonly 500: "#3772FF";
827
+ readonly 600: "#004BFF";
828
+ readonly 700: "#003FD6";
829
+ readonly 800: "#002680";
830
+ readonly 900: "#001E66";
831
+ readonly 950: "#00123D";
832
+ };
833
+ readonly orange: {
834
+ readonly 100: "#FFF3EB";
835
+ readonly 200: "#FFE1CC";
836
+ readonly 300: "#FFC9A3";
837
+ readonly 400: "#EC9C64";
838
+ readonly 500: "#FF6800";
839
+ readonly 600: "#D65700";
840
+ readonly 700: "#AD4700";
841
+ readonly 800: "#7A3200";
842
+ readonly 900: "#5C2500";
843
+ readonly 950: "#331500";
844
+ };
845
+ readonly red: {
846
+ readonly 100: "#FDF2F4";
847
+ readonly 200: "#FADBE1";
848
+ readonly 300: "#F6C1CA";
849
+ readonly 400: "#E15C5C";
850
+ readonly 500: "#E12D4E";
851
+ readonly 600: "#C41C3B";
852
+ readonly 700: "#A11730";
853
+ readonly 800: "#7D1225";
854
+ readonly 900: "#4C0B17";
855
+ readonly 950: "#2D060D";
856
+ };
857
+ readonly green: {
858
+ readonly 100: "#E0FFEC";
859
+ readonly 200: "#BDFFD5";
860
+ readonly 300: "#8AFFB5";
861
+ readonly 400: "#5CFF98";
862
+ readonly 500: "#09FF63";
863
+ readonly 600: "#00E052";
864
+ readonly 700: "#00B241";
865
+ readonly 800: "#008A32";
866
+ readonly 900: "#006625";
867
+ readonly 950: "#00471A";
868
+ };
869
+ readonly yellow: {
870
+ readonly 100: "#FFF4E0";
871
+ readonly 200: "#FFE8C2";
872
+ readonly 300: "#FFD999";
873
+ readonly 400: "#FFCA70";
874
+ readonly 500: "#FFAD22";
875
+ readonly 600: "#F09700";
876
+ readonly 700: "#D68700";
877
+ readonly 800: "#7A4D00";
878
+ readonly 900: "#5C3A00";
879
+ readonly 950: "#3D2600";
880
+ };
881
+ };
882
+ readonly legacy: {
883
+ readonly white: "#FFFFFF";
884
+ readonly black: "#09090B";
885
+ readonly gray50: "#EDEDED";
886
+ readonly gray100: "#DFDFE2";
887
+ readonly gray200: "#BEBEC1";
888
+ readonly gray300: "#7E7E8B";
889
+ readonly gray400: "#7E7E8B";
890
+ readonly gray500: "#7E7E8B";
891
+ readonly gray600: "#60606C";
892
+ readonly gray700: "#4E4E5A";
893
+ readonly gray800: "#2F2F37";
894
+ readonly gray900: "#17171C";
895
+ readonly blue50: "#EBF1FF";
896
+ readonly blue100: "#EBF1FF";
897
+ readonly blue200: "#C2D4FF";
898
+ readonly blue300: "#99B7FF";
899
+ readonly blue400: "#709AFF";
900
+ readonly blue500: "#3772FF";
901
+ readonly blue600: "#004BFF";
902
+ readonly blue700: "#003FD6";
903
+ readonly blue800: "#002680";
904
+ readonly blue900: "#001E66";
905
+ readonly green50: "#E0FFEC";
906
+ readonly green100: "#E0FFEC";
907
+ readonly green200: "#BDFFD5";
908
+ readonly green300: "#8AFFB5";
909
+ readonly green400: "#5CFF98";
910
+ readonly green500: "#09FF63";
911
+ readonly green600: "#00E052";
912
+ readonly green700: "#00B241";
913
+ readonly green800: "#008A32";
914
+ readonly green900: "#006625";
915
+ readonly yellow50: "#FFF4E0";
916
+ readonly yellow100: "#FFF4E0";
917
+ readonly yellow200: "#FFE8C2";
918
+ readonly yellow300: "#FFD999";
919
+ readonly yellow400: "#FFCA70";
920
+ readonly yellow500: "#FFAD22";
921
+ readonly yellow600: "#F09700";
922
+ readonly yellow700: "#D68700";
923
+ readonly yellow800: "#7A4D00";
924
+ readonly yellow900: "#5C3A00";
925
+ readonly red50: "#FDF2F4";
926
+ readonly red100: "#FDF2F4";
927
+ readonly red200: "#FADBE1";
928
+ readonly red300: "#F6C1CA";
929
+ readonly red400: "#E15C5C";
930
+ readonly red500: "#E12D4E";
931
+ readonly red600: "#C41C3B";
932
+ readonly red700: "#A11730";
933
+ readonly red800: "#7D1225";
934
+ readonly red900: "#4C0B17";
935
+ };
936
+ };
937
+ readonly semantic: {
938
+ readonly border: {
939
+ readonly dark: {
940
+ readonly primary: "#4E4E5A";
941
+ readonly secondary: "#2F2F37";
942
+ readonly subtle: "#2F2F37";
943
+ readonly invert: "#FFFFFF";
944
+ readonly onColor: "#09090B";
945
+ readonly blue: "#709AFF";
946
+ readonly blueSubtle: "#002680";
947
+ readonly blueOnHover: "#3772FF";
948
+ readonly red: "#E15C5C";
949
+ readonly redSubtle: "#4C0B17";
950
+ readonly redOnHover: "#E12D4E";
951
+ readonly orange: "#EC9C64";
952
+ readonly orangeSubtle: "#5C2500";
953
+ readonly orangeOnHover: "#FF6800";
954
+ readonly yellow: "#FFCA70";
955
+ readonly yellowSubtle: "#5C3A00";
956
+ readonly yellowOnHover: "#FFAD22";
957
+ readonly green: "#00E052";
958
+ readonly greenSubtle: "#006625";
959
+ readonly greenOnHover: "#00B241";
960
+ };
961
+ readonly light: {
962
+ readonly primary: "#BEBEC1";
963
+ readonly secondary: "#DFDFE2";
964
+ readonly subtle: "#DFDFE2";
965
+ readonly invert: "#09090B";
966
+ readonly onColor: "#FFFFFF";
967
+ readonly blue: "#3772FF";
968
+ readonly blueSubtle: "#99B7FF";
969
+ readonly blueOnHover: "#003FD6";
970
+ readonly red: "#C41C3B";
971
+ readonly redSubtle: "#F6C1CA";
972
+ readonly redOnHover: "#A11730";
973
+ readonly orange: "#D65700";
974
+ readonly orangeSubtle: "#FFC9A3";
975
+ readonly orangeOnHover: "#AD4700";
976
+ readonly yellow: "#F09700";
977
+ readonly yellowSubtle: "#FFD999";
978
+ readonly yellowOnHover: "#D68700";
979
+ readonly green: "#00E052";
980
+ readonly greenSubtle: "#8AFFB5";
981
+ readonly greenOnHover: "#00B241";
982
+ };
983
+ };
984
+ readonly content: {
985
+ readonly dark: {
986
+ readonly primary: "#DFDFE2";
987
+ readonly secondary: "#7E7E8B";
988
+ readonly subtle: "#4E4E5A";
989
+ readonly onColor: "#09090B";
990
+ readonly alwaysWhite: "#FFFFFF";
991
+ readonly alwaysBlack: "#09090B";
992
+ readonly onColorInverse: "#EDEDED";
993
+ readonly blue: "#709AFF";
994
+ readonly blueDisabled: "#002680";
995
+ readonly blueOnHover: "#3772FF";
996
+ readonly green: "#00E052";
997
+ readonly greenDisabled: "#008A32";
998
+ readonly greenOnHover: "#09FF63";
999
+ readonly red: "#E15C5C";
1000
+ readonly redDisabled: "#7D1225";
1001
+ readonly redOnHover: "#F6C1CA";
1002
+ readonly orange: "#EC9C64";
1003
+ readonly orangeDisabled: "#7A3200";
1004
+ readonly orangeOnHover: "#FFC9A3";
1005
+ readonly yellow: "#FFCA70";
1006
+ readonly yellowDisabled: "#7A4D00";
1007
+ readonly yellowOnHover: "#FFD999";
1008
+ };
1009
+ readonly light: {
1010
+ readonly primary: "#17171C";
1011
+ readonly secondary: "#60606C";
1012
+ readonly subtle: "#BEBEC1";
1013
+ readonly onColor: "#FFFFFF";
1014
+ readonly alwaysWhite: "#FFFFFF";
1015
+ readonly alwaysBlack: "#09090B";
1016
+ readonly onColorInverse: "#09090B";
1017
+ readonly blue: "#3772FF";
1018
+ readonly blueDisabled: "#709AFF";
1019
+ readonly blueOnHover: "#004BFF";
1020
+ readonly green: "#00B241";
1021
+ readonly greenDisabled: "#5CFF98";
1022
+ readonly greenOnHover: "#00E052";
1023
+ readonly red: "#C41C3B";
1024
+ readonly redDisabled: "#E15C5C";
1025
+ readonly redOnHover: "#A11730";
1026
+ readonly orange: "#D65700";
1027
+ readonly orangeDisabled: "#EC9C64";
1028
+ readonly orangeOnHover: "#AD4700";
1029
+ readonly yellow: "#F09700";
1030
+ readonly yellowDisabled: "#FFCA70";
1031
+ readonly yellowOnHover: "#D68700";
1032
+ };
1033
+ };
1034
+ readonly background: {
1035
+ readonly dark: {
1036
+ readonly base: "#09090B";
1037
+ readonly primary: "#00123D";
1038
+ readonly primaryOnHover: "#001E66";
1039
+ readonly secondary: "#17171C";
1040
+ readonly tertiary: "#2F2F37";
1041
+ readonly invert: "#FFFFFF";
1042
+ readonly invertLight: "#DFDFE2";
1043
+ readonly green: "#00471A";
1044
+ readonly greenOnHover: "#006625";
1045
+ readonly red: "#2D060D";
1046
+ readonly redOnHover: "#4C0B17";
1047
+ readonly orange: "#331500";
1048
+ readonly orangeOnHover: "#5C2500";
1049
+ readonly yellow: "#3D2600";
1050
+ readonly yellowOnHover: "#5C3A00";
1051
+ readonly low: "#17171C";
1052
+ readonly lowOnHover: "#2F2F37";
1053
+ readonly info: "#00123D";
1054
+ readonly infoOnHover: "#001E66";
1055
+ };
1056
+ readonly light: {
1057
+ readonly base: "#FFFFFF";
1058
+ readonly primary: "#EBF1FF";
1059
+ readonly primaryOnHover: "#99B7FF";
1060
+ readonly secondary: "#EDEDED";
1061
+ readonly tertiary: "#DFDFE2";
1062
+ readonly invert: "#09090B";
1063
+ readonly invertLight: "#17171C";
1064
+ readonly green: "#E0FFEC";
1065
+ readonly greenOnHover: "#BDFFD5";
1066
+ readonly red: "#FDF2F4";
1067
+ readonly redOnHover: "#FADBE1";
1068
+ readonly orange: "#FFF3EB";
1069
+ readonly orangeOnHover: "#FFE1CC";
1070
+ readonly yellow: "#FFF3EB";
1071
+ readonly yellowOnHover: "#FFE1CC";
1072
+ readonly low: "#EDEDED";
1073
+ readonly lowOnHover: "#DFDFE2";
1074
+ readonly info: "#EBF1FF";
1075
+ readonly infoOnHover: "#99B7FF";
1076
+ };
1077
+ };
1078
+ readonly all: {
1079
+ readonly border: {
1080
+ readonly dark: {
1081
+ readonly primary: "#4E4E5A";
1082
+ readonly secondary: "#2F2F37";
1083
+ readonly subtle: "#2F2F37";
1084
+ readonly invert: "#FFFFFF";
1085
+ readonly onColor: "#09090B";
1086
+ readonly blue: "#709AFF";
1087
+ readonly blueSubtle: "#002680";
1088
+ readonly blueOnHover: "#3772FF";
1089
+ readonly red: "#E15C5C";
1090
+ readonly redSubtle: "#4C0B17";
1091
+ readonly redOnHover: "#E12D4E";
1092
+ readonly orange: "#EC9C64";
1093
+ readonly orangeSubtle: "#5C2500";
1094
+ readonly orangeOnHover: "#FF6800";
1095
+ readonly yellow: "#FFCA70";
1096
+ readonly yellowSubtle: "#5C3A00";
1097
+ readonly yellowOnHover: "#FFAD22";
1098
+ readonly green: "#00E052";
1099
+ readonly greenSubtle: "#006625";
1100
+ readonly greenOnHover: "#00B241";
1101
+ };
1102
+ readonly light: {
1103
+ readonly primary: "#BEBEC1";
1104
+ readonly secondary: "#DFDFE2";
1105
+ readonly subtle: "#DFDFE2";
1106
+ readonly invert: "#09090B";
1107
+ readonly onColor: "#FFFFFF";
1108
+ readonly blue: "#3772FF";
1109
+ readonly blueSubtle: "#99B7FF";
1110
+ readonly blueOnHover: "#003FD6";
1111
+ readonly red: "#C41C3B";
1112
+ readonly redSubtle: "#F6C1CA";
1113
+ readonly redOnHover: "#A11730";
1114
+ readonly orange: "#D65700";
1115
+ readonly orangeSubtle: "#FFC9A3";
1116
+ readonly orangeOnHover: "#AD4700";
1117
+ readonly yellow: "#F09700";
1118
+ readonly yellowSubtle: "#FFD999";
1119
+ readonly yellowOnHover: "#D68700";
1120
+ readonly green: "#00E052";
1121
+ readonly greenSubtle: "#8AFFB5";
1122
+ readonly greenOnHover: "#00B241";
1123
+ };
1124
+ };
1125
+ readonly content: {
1126
+ readonly dark: {
1127
+ readonly primary: "#DFDFE2";
1128
+ readonly secondary: "#7E7E8B";
1129
+ readonly subtle: "#4E4E5A";
1130
+ readonly onColor: "#09090B";
1131
+ readonly alwaysWhite: "#FFFFFF";
1132
+ readonly alwaysBlack: "#09090B";
1133
+ readonly onColorInverse: "#EDEDED";
1134
+ readonly blue: "#709AFF";
1135
+ readonly blueDisabled: "#002680";
1136
+ readonly blueOnHover: "#3772FF";
1137
+ readonly green: "#00E052";
1138
+ readonly greenDisabled: "#008A32";
1139
+ readonly greenOnHover: "#09FF63";
1140
+ readonly red: "#E15C5C";
1141
+ readonly redDisabled: "#7D1225";
1142
+ readonly redOnHover: "#F6C1CA";
1143
+ readonly orange: "#EC9C64";
1144
+ readonly orangeDisabled: "#7A3200";
1145
+ readonly orangeOnHover: "#FFC9A3";
1146
+ readonly yellow: "#FFCA70";
1147
+ readonly yellowDisabled: "#7A4D00";
1148
+ readonly yellowOnHover: "#FFD999";
1149
+ };
1150
+ readonly light: {
1151
+ readonly primary: "#17171C";
1152
+ readonly secondary: "#60606C";
1153
+ readonly subtle: "#BEBEC1";
1154
+ readonly onColor: "#FFFFFF";
1155
+ readonly alwaysWhite: "#FFFFFF";
1156
+ readonly alwaysBlack: "#09090B";
1157
+ readonly onColorInverse: "#09090B";
1158
+ readonly blue: "#3772FF";
1159
+ readonly blueDisabled: "#709AFF";
1160
+ readonly blueOnHover: "#004BFF";
1161
+ readonly green: "#00B241";
1162
+ readonly greenDisabled: "#5CFF98";
1163
+ readonly greenOnHover: "#00E052";
1164
+ readonly red: "#C41C3B";
1165
+ readonly redDisabled: "#E15C5C";
1166
+ readonly redOnHover: "#A11730";
1167
+ readonly orange: "#D65700";
1168
+ readonly orangeDisabled: "#EC9C64";
1169
+ readonly orangeOnHover: "#AD4700";
1170
+ readonly yellow: "#F09700";
1171
+ readonly yellowDisabled: "#FFCA70";
1172
+ readonly yellowOnHover: "#D68700";
1173
+ };
1174
+ };
1175
+ readonly background: {
1176
+ readonly dark: {
1177
+ readonly base: "#09090B";
1178
+ readonly primary: "#00123D";
1179
+ readonly primaryOnHover: "#001E66";
1180
+ readonly secondary: "#17171C";
1181
+ readonly tertiary: "#2F2F37";
1182
+ readonly invert: "#FFFFFF";
1183
+ readonly invertLight: "#DFDFE2";
1184
+ readonly green: "#00471A";
1185
+ readonly greenOnHover: "#006625";
1186
+ readonly red: "#2D060D";
1187
+ readonly redOnHover: "#4C0B17";
1188
+ readonly orange: "#331500";
1189
+ readonly orangeOnHover: "#5C2500";
1190
+ readonly yellow: "#3D2600";
1191
+ readonly yellowOnHover: "#5C3A00";
1192
+ readonly low: "#17171C";
1193
+ readonly lowOnHover: "#2F2F37";
1194
+ readonly info: "#00123D";
1195
+ readonly infoOnHover: "#001E66";
1196
+ };
1197
+ readonly light: {
1198
+ readonly base: "#FFFFFF";
1199
+ readonly primary: "#EBF1FF";
1200
+ readonly primaryOnHover: "#99B7FF";
1201
+ readonly secondary: "#EDEDED";
1202
+ readonly tertiary: "#DFDFE2";
1203
+ readonly invert: "#09090B";
1204
+ readonly invertLight: "#17171C";
1205
+ readonly green: "#E0FFEC";
1206
+ readonly greenOnHover: "#BDFFD5";
1207
+ readonly red: "#FDF2F4";
1208
+ readonly redOnHover: "#FADBE1";
1209
+ readonly orange: "#FFF3EB";
1210
+ readonly orangeOnHover: "#FFE1CC";
1211
+ readonly yellow: "#FFF3EB";
1212
+ readonly yellowOnHover: "#FFE1CC";
1213
+ readonly low: "#EDEDED";
1214
+ readonly lowOnHover: "#DFDFE2";
1215
+ readonly info: "#EBF1FF";
1216
+ readonly infoOnHover: "#99B7FF";
1217
+ };
1218
+ };
1219
+ };
1220
+ };
1221
+ readonly spacing: {
1222
+ readonly 0: "0";
1223
+ readonly 1: "0.25rem";
1224
+ readonly 2: "0.5rem";
1225
+ readonly 3: "0.75rem";
1226
+ readonly 4: "1rem";
1227
+ readonly 5: "1.25rem";
1228
+ readonly 6: "1.5rem";
1229
+ readonly 8: "2rem";
1230
+ readonly 10: "2.5rem";
1231
+ readonly 12: "3rem";
1232
+ readonly 16: "4rem";
1233
+ readonly 20: "5rem";
1234
+ readonly 24: "6rem";
1235
+ };
1236
+ readonly typography: {
1237
+ readonly fontFamily: {
1238
+ readonly sans: readonly ["Gist", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "sans-serif"];
1239
+ readonly mono: readonly ["Gist Mono", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"];
1240
+ };
1241
+ readonly fontSize: {
1242
+ readonly xs: "0.75rem";
1243
+ readonly sm: "0.875rem";
1244
+ readonly base: "1rem";
1245
+ readonly lg: "1.125rem";
1246
+ readonly xl: "1.25rem";
1247
+ readonly '2xl': "1.5rem";
1248
+ readonly '3xl': "1.875rem";
1249
+ readonly '4xl': "2.25rem";
1250
+ readonly '5xl': "3rem";
1251
+ };
1252
+ readonly fontWeight: {
1253
+ readonly normal: "400";
1254
+ readonly medium: "500";
1255
+ readonly semibold: "600";
1256
+ readonly bold: "700";
1257
+ };
1258
+ readonly lineHeight: {
1259
+ readonly tight: "1.25";
1260
+ readonly normal: "1.5";
1261
+ readonly relaxed: "1.75";
1262
+ };
1263
+ };
1264
+ readonly radius: {
1265
+ readonly none: "0";
1266
+ readonly sm: "0.125rem";
1267
+ readonly base: "0.25rem";
1268
+ readonly md: "0.375rem";
1269
+ readonly lg: "0.5rem";
1270
+ readonly xl: "0.75rem";
1271
+ readonly '2xl': "1rem";
1272
+ readonly '3xl': "1.5rem";
1273
+ readonly full: "9999px";
1274
+ };
1275
+ readonly shadows: {
1276
+ readonly sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
1277
+ readonly base: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
1278
+ readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
1279
+ readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
1280
+ readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
1281
+ readonly '2xl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
1282
+ readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
1283
+ readonly none: "none";
1284
+ };
1285
+ readonly zIndex: {
1286
+ readonly base: 0;
1287
+ readonly dropdown: 1000;
1288
+ readonly sticky: 1020;
1289
+ readonly fixed: 1030;
1290
+ readonly modalBackdrop: 1040;
1291
+ readonly modal: 1050;
1292
+ readonly popover: 1060;
1293
+ readonly tooltip: 1070;
1294
+ };
1295
+ };
1296
+ type Tokens = typeof tokens;
1297
+
1298
+ /**
1299
+ * Icon Utility
1300
+ *
1301
+ * Dynamically loads icons from lucide-react by name.
1302
+ * Handles invalid icon names gracefully.
1303
+ */
1304
+
1305
+ type LucideIconName = keyof typeof LucideIcons;
1306
+ /**
1307
+ * Get an icon component from lucide-react by name
1308
+ *
1309
+ * @param iconName - Name of the icon (e.g., 'Download', 'Trash2', 'Plus')
1310
+ * @returns Icon component or null if icon doesn't exist
1311
+ *
1312
+ * @example
1313
+ * ```tsx
1314
+ * const Icon = getIcon('Download');
1315
+ * if (Icon) {
1316
+ * return <Icon className="h-4 w-4" />;
1317
+ * }
1318
+ * ```
1319
+ */
1320
+ declare function getIcon(iconName: string | undefined | null): React.ComponentType<any> | null;
1321
+ /**
1322
+ * Render an icon component with proper sizing
1323
+ *
1324
+ * @param iconName - Name of the icon
1325
+ * @param size - Size class for the icon
1326
+ * @param className - Additional classes
1327
+ * @returns Rendered icon or null
1328
+ */
1329
+ declare function renderIcon(iconName: string | undefined | null, size?: string, className?: string): React.ReactElement | null;
1330
+ /**
1331
+ * Check if an icon name exists in lucide-react
1332
+ *
1333
+ * @param iconName - Name of the icon to check
1334
+ * @returns true if icon exists, false otherwise
1335
+ */
1336
+ declare function iconExists(iconName: string | undefined | null): boolean;
1337
+ /**
1338
+ * Get list of available icon names (for autocomplete/validation)
1339
+ * Note: This returns all exported names from lucide-react
1340
+ */
1341
+ declare function getAvailableIconNames(): string[];
1342
+
1343
+ /**
1344
+ * Accessibility Utilities
1345
+ *
1346
+ * Provides utilities and types for ensuring excellent accessibility scores
1347
+ * across all components. Supports both user-provided and default accessibility props.
1348
+ */
1349
+
1350
+ /**
1351
+ * Accessibility props that can be passed by users or use defaults
1352
+ */
1353
+ interface AccessibilityProps {
1354
+ /**
1355
+ * Accessible label for the element.
1356
+ * If not provided, will attempt to generate from children or other props.
1357
+ */
1358
+ 'aria-label'?: string;
1359
+ /**
1360
+ * Reference to element(s) that describe this element.
1361
+ */
1362
+ 'aria-describedby'?: string;
1363
+ /**
1364
+ * Reference to element(s) that label this element.
1365
+ */
1366
+ 'aria-labelledby'?: string;
1367
+ /**
1368
+ * Indicates the current state of the element.
1369
+ */
1370
+ 'aria-current'?: 'page' | 'step' | 'location' | 'date' | 'time' | boolean;
1371
+ /**
1372
+ * Indicates whether the element is expanded or collapsed.
1373
+ */
1374
+ 'aria-expanded'?: boolean;
1375
+ /**
1376
+ * Indicates whether the element is selected.
1377
+ */
1378
+ 'aria-selected'?: boolean;
1379
+ /**
1380
+ * Indicates whether the element is checked.
1381
+ */
1382
+ 'aria-checked'?: boolean | 'mixed';
1383
+ /**
1384
+ * Indicates whether the element is disabled.
1385
+ */
1386
+ 'aria-disabled'?: boolean;
1387
+ /**
1388
+ * Indicates whether the element is required.
1389
+ */
1390
+ 'aria-required'?: boolean;
1391
+ /**
1392
+ * Indicates whether the element has invalid input.
1393
+ */
1394
+ 'aria-invalid'?: boolean | 'grammar' | 'spelling';
1395
+ /**
1396
+ * Describes the error message for invalid input.
1397
+ */
1398
+ 'aria-errormessage'?: string;
1399
+ /**
1400
+ * Indicates the element's role.
1401
+ */
1402
+ role?: string;
1403
+ /**
1404
+ * Tab index for keyboard navigation.
1405
+ * -1: Not focusable, 0: Focusable in tab order, >0: Custom tab order (not recommended)
1406
+ */
1407
+ tabIndex?: number;
1408
+ /**
1409
+ * Indicates whether the element should be hidden from assistive technologies.
1410
+ */
1411
+ 'aria-hidden'?: boolean;
1412
+ /**
1413
+ * Indicates whether the element is live and should be announced.
1414
+ */
1415
+ 'aria-live'?: 'off' | 'polite' | 'assertive';
1416
+ /**
1417
+ * Indicates whether the element is atomic for live regions.
1418
+ */
1419
+ 'aria-atomic'?: boolean;
1420
+ /**
1421
+ * Indicates the level of heading (for headings).
1422
+ */
1423
+ 'aria-level'?: number;
1424
+ /**
1425
+ * Indicates the position in a set (for list items, etc.).
1426
+ */
1427
+ 'aria-posinset'?: number;
1428
+ /**
1429
+ * Indicates the size of a set (for list items, etc.).
1430
+ */
1431
+ 'aria-setsize'?: number;
1432
+ /**
1433
+ * Indicates whether the element has a popup.
1434
+ */
1435
+ 'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
1436
+ /**
1437
+ * Indicates the orientation of the element.
1438
+ */
1439
+ 'aria-orientation'?: 'horizontal' | 'vertical';
1440
+ /**
1441
+ * Indicates the value of the element.
1442
+ */
1443
+ 'aria-valuenow'?: number;
1444
+ /**
1445
+ * Indicates the minimum value.
1446
+ */
1447
+ 'aria-valuemin'?: number;
1448
+ /**
1449
+ * Indicates the maximum value.
1450
+ */
1451
+ 'aria-valuemax'?: number;
1452
+ /**
1453
+ * Human-readable text alternative of aria-valuenow.
1454
+ */
1455
+ 'aria-valuetext'?: string;
1456
+ /**
1457
+ * Indicates whether the element is busy.
1458
+ */
1459
+ 'aria-busy'?: boolean;
1460
+ /**
1461
+ * Indicates the element's controls.
1462
+ */
1463
+ 'aria-controls'?: string;
1464
+ /**
1465
+ * Indicates the element's owns.
1466
+ */
1467
+ 'aria-owns'?: string;
1468
+ }
1469
+ /**
1470
+ * Validates accessibility props and returns warnings in development
1471
+ */
1472
+ declare function validateAccessibilityProps(props: AccessibilityProps, componentType: string, options?: {
1473
+ children?: React.ReactNode;
1474
+ iconOnly?: boolean;
1475
+ }): void;
1476
+
1477
+ export { ADAPTER_TYPES, type AccessibilityProps, type AdapterType, BUTTON_TYPES, type BackgroundToken, type BorderToken, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonType, COLOR_SCALES, type ColorName, type ColorPrimitives, type ColorScale, type Colors, type ContentToken, type DesignSystemConfig, INPUT_TYPES, INTENTS, type InputType, type Intent, type LucideIconName, ORIENTATIONS, type Orientation, type Radius, SIZES, SURFACE_LEVELS, type SemanticToken, type SemanticTokens, type Shadows, type Size, type Spacing, type SurfaceLevel, THEME_MODES, THEME_NAMES, type Theme, type ThemeMode, type ThemeName, ThemeProvider, type ThemeProviderProps, type Tokens, type Typography, VARIANTS, type Variant, type ZIndex, backgroundTokens, blue, borderTokens, colorPrimitives, colors, contentTokens, createSemanticTokens, createTheme, getAdapter, getAvailableIconNames, getDesignSystemConfig, getIcon, getThemeMode, getThemeName, green, iconExists, neutral, orange, radius, red, renderIcon, semanticTokens, setDesignSystemConfig, shadows, spacing, tokens, typography, useTheme, validateAccessibilityProps, yellow, zIndex };