@qasa/qds-ui 0.37.1 → 1.0.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.
package/dist/index.d.ts CHANGED
@@ -1,884 +1,37 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { EmotionCache, CSSObject } from '@emotion/react';
3
2
  import * as react from 'react';
4
- import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, ReactElement, useLayoutEffect } from 'react';
3
+ import { ReactNode, ElementType, ComponentPropsWithoutRef, SVGAttributes, ReactElement, useLayoutEffect } from 'react';
5
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
- import { VariantProps as VariantProps$1 } from 'class-variance-authority';
5
+ import { VariantProps } from 'class-variance-authority';
7
6
  import { Checkbox as Checkbox$1, DropdownMenu as DropdownMenu$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Toast as Toast$1 } from 'radix-ui';
8
7
  import { LucideIcon } from 'lucide-react';
9
8
 
10
- /**
11
- * @deprecated The `theme` object is deprecated and will be removed in a future version.
12
- * Use Tailwind CSS instead.
13
- */
14
- declare const theme: {
15
- /**
16
- * @deprecated Using QDS with `@emotion` is deprecated and will be removed in a future version.
17
- * Use Tailwind CSS instead.
18
- */
19
- mediaQueries: {
20
- readonly smUp: "@media(min-width: 480px)";
21
- readonly mdUp: "@media(min-width: 768px)";
22
- readonly lgUp: "@media(min-width: 1024px)";
23
- readonly xlUp: "@media(min-width: 1280px)";
24
- readonly '2xlUp': "@media(min-width: 1536px)";
25
- };
26
- spacing: {
27
- '0x': string;
28
- '1x': string;
29
- '2x': string;
30
- '3x': string;
31
- '4x': string;
32
- '5x': string;
33
- '6x': string;
34
- '8x': string;
35
- '10x': string;
36
- '12x': string;
37
- '14x': string;
38
- '16x': string;
39
- '20x': string;
40
- '24x': string;
41
- };
42
- breakpoints: {
43
- readonly base: 0;
44
- readonly sm: 480;
45
- readonly md: 768;
46
- readonly lg: 1024;
47
- readonly xl: 1280;
48
- readonly '2xl': 1536;
49
- };
50
- zIndices: {
51
- hide: number;
52
- auto: string;
53
- base: number;
54
- docked: number;
55
- dropdown: number;
56
- sticky: number;
57
- banner: number;
58
- overlay: number;
59
- modal: number;
60
- popover: number;
61
- skipLink: number;
62
- toast: number;
63
- tooltip: number;
64
- };
65
- colors: {
66
- core: {
67
- black: string;
68
- white: string;
69
- gray90: string;
70
- gray80: string;
71
- gray70: string;
72
- gray60: string;
73
- gray50: string;
74
- gray40: string;
75
- gray30: string;
76
- gray20: string;
77
- gray10: string;
78
- pink: string;
79
- uiPink: string;
80
- uiPinkDark: string;
81
- uiPinkLight: string;
82
- brown: string;
83
- brownDark: string;
84
- brownLight: string;
85
- offWhite: string;
86
- offWhiteDark: string;
87
- offWhiteLight: string;
88
- softPink: string;
89
- warmYellow: string;
90
- softYellow: string;
91
- red90: string;
92
- red80: string;
93
- red70: string;
94
- red60: string;
95
- red50: string;
96
- red40: string;
97
- red30: string;
98
- red20: string;
99
- red10: string;
100
- green90: string;
101
- green80: string;
102
- green70: string;
103
- green60: string;
104
- green50: string;
105
- green40: string;
106
- green30: string;
107
- green20: string;
108
- green10: string;
109
- blue90: string;
110
- blue80: string;
111
- blue70: string;
112
- blue60: string;
113
- blue50: string;
114
- blue40: string;
115
- blue30: string;
116
- blue20: string;
117
- blue10: string;
118
- yellow90: string;
119
- yellow80: string;
120
- yellow70: string;
121
- yellow60: string;
122
- yellow50: string;
123
- yellow40: string;
124
- yellow30: string;
125
- yellow20: string;
126
- yellow10: string;
127
- blackAlpha5: string;
128
- blackAlpha10: string;
129
- blackAlpha20: string;
130
- };
131
- bg: {
132
- default: string;
133
- brandPrimary: string;
134
- brandPrimaryHover: string;
135
- brandPrimaryActive: string;
136
- brandSecondary: string;
137
- brandSecondaryHover: string;
138
- brandSecondaryActive: string;
139
- brandTertiary: string;
140
- brandTertiaryHover: string;
141
- brandTertiaryActive: string;
142
- negative: string;
143
- warning: string;
144
- positive: string;
145
- inset: string;
146
- backdrop: string;
147
- };
148
- text: {
149
- strong: string;
150
- default: string;
151
- subtle: string;
152
- disabled: string;
153
- negative: string;
154
- warning: string;
155
- positive: string;
156
- onBrandPrimary: string;
157
- onBrandSecondary: string;
158
- onBrandTertiary: string;
159
- };
160
- icon: {
161
- default: string;
162
- strong: string;
163
- subtle: string;
164
- disabled: string;
165
- negative: string;
166
- warning: string;
167
- positive: string;
168
- onBrandPrimary: string;
169
- onBrandSecondary: string;
170
- onBrandTertiary: string;
171
- };
172
- border: {
173
- default: string;
174
- defaultHover: string;
175
- defaultSelected: string;
176
- strong: string;
177
- subtle: string;
178
- negative: string;
179
- warning: string;
180
- positive: string;
181
- };
182
- };
183
- sizes: {
184
- 112: string;
185
- 128: string;
186
- 144: string;
187
- 160: string;
188
- 176: string;
189
- 192: string;
190
- 224: string;
191
- 256: string;
192
- 288: string;
193
- 320: string;
194
- 384: string;
195
- 448: string;
196
- 512: string;
197
- 576: string;
198
- 672: string;
199
- 768: string;
200
- 896: string;
201
- 1024: string;
202
- '0x': string;
203
- '1x': string;
204
- '2x': string;
205
- '3x': string;
206
- '4x': string;
207
- '5x': string;
208
- '6x': string;
209
- '8x': string;
210
- '10x': string;
211
- '12x': string;
212
- '14x': string;
213
- '16x': string;
214
- '20x': string;
215
- '24x': string;
216
- };
217
- radii: {
218
- none: string;
219
- '2xs': string;
220
- xs: string;
221
- sm: string;
222
- md: string;
223
- lg: string;
224
- xl: string;
225
- '2xl': string;
226
- full: string;
227
- };
228
- shadows: {
229
- none: string;
230
- sm: string;
231
- md: string;
232
- lg: string;
233
- xl: string;
234
- };
235
- typography: {
236
- display: {
237
- '3xl': {
238
- fontFamily: string;
239
- fontWeight: string;
240
- fontSize: string;
241
- lineHeight: string;
242
- letterSpacing: string;
243
- fontFeatureSettings: string;
244
- };
245
- '2xl': {
246
- fontFamily: string;
247
- fontWeight: string;
248
- fontSize: string;
249
- lineHeight: string;
250
- letterSpacing: string;
251
- fontFeatureSettings: string;
252
- };
253
- xl: {
254
- fontFamily: string;
255
- fontWeight: string;
256
- fontSize: string;
257
- lineHeight: string;
258
- letterSpacing: string;
259
- fontFeatureSettings: string;
260
- };
261
- lg: {
262
- fontFamily: string;
263
- fontWeight: string;
264
- fontSize: string;
265
- lineHeight: string;
266
- letterSpacing: string;
267
- fontFeatureSettings: string;
268
- };
269
- md: {
270
- fontFamily: string;
271
- fontWeight: string;
272
- fontSize: string;
273
- lineHeight: string;
274
- letterSpacing: string;
275
- fontFeatureSettings: string;
276
- };
277
- sm: {
278
- fontFamily: string;
279
- fontWeight: string;
280
- fontSize: string;
281
- lineHeight: string;
282
- letterSpacing: string;
283
- fontFeatureSettings: string;
284
- };
285
- xs: {
286
- fontFamily: string;
287
- fontWeight: string;
288
- fontSize: string;
289
- lineHeight: string;
290
- letterSpacing: string;
291
- fontFeatureSettings: string;
292
- };
293
- '2xs': {
294
- fontFamily: string;
295
- fontWeight: string;
296
- fontSize: string;
297
- lineHeight: string;
298
- letterSpacing: string;
299
- fontFeatureSettings: string;
300
- };
301
- };
302
- title: {
303
- lg: {
304
- fontFamily: string;
305
- fontWeight: string;
306
- fontSize: string;
307
- lineHeight: string;
308
- letterSpacing: string;
309
- };
310
- md: {
311
- fontFamily: string;
312
- fontWeight: string;
313
- fontSize: string;
314
- lineHeight: string;
315
- letterSpacing: string;
316
- };
317
- sm: {
318
- fontFamily: string;
319
- fontWeight: string;
320
- fontSize: string;
321
- lineHeight: string;
322
- letterSpacing: string;
323
- };
324
- xs: {
325
- fontFamily: string;
326
- fontWeight: string;
327
- fontSize: string;
328
- lineHeight: string;
329
- letterSpacing: string;
330
- };
331
- '2xs': {
332
- fontFamily: string;
333
- fontWeight: string;
334
- fontSize: string;
335
- lineHeight: string;
336
- letterSpacing: string;
337
- };
338
- '3xs': {
339
- fontFamily: string;
340
- fontWeight: string;
341
- fontSize: string;
342
- lineHeight: string;
343
- letterSpacing: string;
344
- };
345
- };
346
- body: {
347
- xl: {
348
- fontFamily: string;
349
- fontWeight: string;
350
- fontSize: string;
351
- lineHeight: string;
352
- letterSpacing: string;
353
- };
354
- lg: {
355
- fontFamily: string;
356
- fontWeight: string;
357
- fontSize: string;
358
- lineHeight: string;
359
- letterSpacing: string;
360
- };
361
- md: {
362
- fontFamily: string;
363
- fontWeight: string;
364
- fontSize: string;
365
- lineHeight: string;
366
- letterSpacing: string;
367
- };
368
- sm: {
369
- fontFamily: string;
370
- fontWeight: string;
371
- fontSize: string;
372
- lineHeight: string;
373
- letterSpacing: string;
374
- };
375
- xs: {
376
- fontFamily: string;
377
- fontWeight: string;
378
- fontSize: string;
379
- lineHeight: string;
380
- letterSpacing: string;
381
- };
382
- };
383
- label: {
384
- md: {
385
- fontFamily: string;
386
- fontWeight: string;
387
- fontSize: string;
388
- lineHeight: string;
389
- letterSpacing: string;
390
- };
391
- sm: {
392
- fontFamily: string;
393
- fontWeight: string;
394
- fontSize: string;
395
- lineHeight: string;
396
- letterSpacing: string;
397
- };
398
- };
399
- button: {
400
- md: {
401
- fontFamily: string;
402
- fontWeight: string;
403
- fontSize: string;
404
- lineHeight: string;
405
- letterSpacing: string;
406
- };
407
- sm: {
408
- fontFamily: string;
409
- fontWeight: string;
410
- fontSize: string;
411
- lineHeight: string;
412
- letterSpacing: string;
413
- };
414
- };
415
- caption: {
416
- md: {
417
- fontFamily: string;
418
- fontWeight: string;
419
- fontSize: string;
420
- lineHeight: string;
421
- letterSpacing: string;
422
- };
423
- sm: {
424
- fontFamily: string;
425
- fontWeight: string;
426
- fontSize: string;
427
- lineHeight: string;
428
- letterSpacing: string;
429
- };
430
- };
431
- };
432
- };
433
- /**
434
- * @deprecated The `Theme` type is deprecated and will be removed in a future version.
435
- */
436
- type Theme = typeof theme;
437
-
438
- type LegitimateAny = any;
439
- type PartialRecord<K extends string | number | symbol, T> = Partial<Record<K, T>>;
440
- type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
441
- type HTMLQdsProps<T extends ElementType> = ComponentPropsWithoutRef<T>;
442
-
443
- interface TypographyOverride {
444
- fontFamily?: string;
445
- fontWeight?: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
446
- }
447
- type TypographyOverrides = PartialRecord<keyof Theme['typography'], TypographyOverride>;
448
- interface ThemeOverrides {
449
- typography?: TypographyOverrides;
450
- }
451
- declare const overrideTheme: (overrides: ThemeOverrides) => {
452
- typography: {
453
- display: {
454
- '3xl': {
455
- fontFamily: string;
456
- fontWeight: string;
457
- fontSize: string;
458
- lineHeight: string;
459
- letterSpacing: string;
460
- fontFeatureSettings: string;
461
- };
462
- '2xl': {
463
- fontFamily: string;
464
- fontWeight: string;
465
- fontSize: string;
466
- lineHeight: string;
467
- letterSpacing: string;
468
- fontFeatureSettings: string;
469
- };
470
- xl: {
471
- fontFamily: string;
472
- fontWeight: string;
473
- fontSize: string;
474
- lineHeight: string;
475
- letterSpacing: string;
476
- fontFeatureSettings: string;
477
- };
478
- lg: {
479
- fontFamily: string;
480
- fontWeight: string;
481
- fontSize: string;
482
- lineHeight: string;
483
- letterSpacing: string;
484
- fontFeatureSettings: string;
485
- };
486
- md: {
487
- fontFamily: string;
488
- fontWeight: string;
489
- fontSize: string;
490
- lineHeight: string;
491
- letterSpacing: string;
492
- fontFeatureSettings: string;
493
- };
494
- sm: {
495
- fontFamily: string;
496
- fontWeight: string;
497
- fontSize: string;
498
- lineHeight: string;
499
- letterSpacing: string;
500
- fontFeatureSettings: string;
501
- };
502
- xs: {
503
- fontFamily: string;
504
- fontWeight: string;
505
- fontSize: string;
506
- lineHeight: string;
507
- letterSpacing: string;
508
- fontFeatureSettings: string;
509
- };
510
- '2xs': {
511
- fontFamily: string;
512
- fontWeight: string;
513
- fontSize: string;
514
- lineHeight: string;
515
- letterSpacing: string;
516
- fontFeatureSettings: string;
517
- };
518
- };
519
- title: {
520
- lg: {
521
- fontFamily: string;
522
- fontWeight: string;
523
- fontSize: string;
524
- lineHeight: string;
525
- letterSpacing: string;
526
- };
527
- md: {
528
- fontFamily: string;
529
- fontWeight: string;
530
- fontSize: string;
531
- lineHeight: string;
532
- letterSpacing: string;
533
- };
534
- sm: {
535
- fontFamily: string;
536
- fontWeight: string;
537
- fontSize: string;
538
- lineHeight: string;
539
- letterSpacing: string;
540
- };
541
- xs: {
542
- fontFamily: string;
543
- fontWeight: string;
544
- fontSize: string;
545
- lineHeight: string;
546
- letterSpacing: string;
547
- };
548
- '2xs': {
549
- fontFamily: string;
550
- fontWeight: string;
551
- fontSize: string;
552
- lineHeight: string;
553
- letterSpacing: string;
554
- };
555
- '3xs': {
556
- fontFamily: string;
557
- fontWeight: string;
558
- fontSize: string;
559
- lineHeight: string;
560
- letterSpacing: string;
561
- };
562
- };
563
- body: {
564
- xl: {
565
- fontFamily: string;
566
- fontWeight: string;
567
- fontSize: string;
568
- lineHeight: string;
569
- letterSpacing: string;
570
- };
571
- lg: {
572
- fontFamily: string;
573
- fontWeight: string;
574
- fontSize: string;
575
- lineHeight: string;
576
- letterSpacing: string;
577
- };
578
- md: {
579
- fontFamily: string;
580
- fontWeight: string;
581
- fontSize: string;
582
- lineHeight: string;
583
- letterSpacing: string;
584
- };
585
- sm: {
586
- fontFamily: string;
587
- fontWeight: string;
588
- fontSize: string;
589
- lineHeight: string;
590
- letterSpacing: string;
591
- };
592
- xs: {
593
- fontFamily: string;
594
- fontWeight: string;
595
- fontSize: string;
596
- lineHeight: string;
597
- letterSpacing: string;
598
- };
599
- };
600
- label: {
601
- md: {
602
- fontFamily: string;
603
- fontWeight: string;
604
- fontSize: string;
605
- lineHeight: string;
606
- letterSpacing: string;
607
- };
608
- sm: {
609
- fontFamily: string;
610
- fontWeight: string;
611
- fontSize: string;
612
- lineHeight: string;
613
- letterSpacing: string;
614
- };
615
- };
616
- button: {
617
- md: {
618
- fontFamily: string;
619
- fontWeight: string;
620
- fontSize: string;
621
- lineHeight: string;
622
- letterSpacing: string;
623
- };
624
- sm: {
625
- fontFamily: string;
626
- fontWeight: string;
627
- fontSize: string;
628
- lineHeight: string;
629
- letterSpacing: string;
630
- };
631
- };
632
- caption: {
633
- md: {
634
- fontFamily: string;
635
- fontWeight: string;
636
- fontSize: string;
637
- lineHeight: string;
638
- letterSpacing: string;
639
- };
640
- sm: {
641
- fontFamily: string;
642
- fontWeight: string;
643
- fontSize: string;
644
- lineHeight: string;
645
- letterSpacing: string;
646
- };
647
- };
648
- };
649
- mediaQueries: {
650
- readonly smUp: "@media(min-width: 480px)";
651
- readonly mdUp: "@media(min-width: 768px)";
652
- readonly lgUp: "@media(min-width: 1024px)";
653
- readonly xlUp: "@media(min-width: 1280px)";
654
- readonly '2xlUp': "@media(min-width: 1536px)";
655
- };
656
- spacing: {
657
- '0x': string;
658
- '1x': string;
659
- '2x': string;
660
- '3x': string;
661
- '4x': string;
662
- '5x': string;
663
- '6x': string;
664
- '8x': string;
665
- '10x': string;
666
- '12x': string;
667
- '14x': string;
668
- '16x': string;
669
- '20x': string;
670
- '24x': string;
671
- };
672
- breakpoints: {
673
- readonly base: 0;
674
- readonly sm: 480;
675
- readonly md: 768;
676
- readonly lg: 1024;
677
- readonly xl: 1280;
678
- readonly '2xl': 1536;
679
- };
680
- zIndices: {
681
- hide: number;
682
- auto: string;
683
- base: number;
684
- docked: number;
685
- dropdown: number;
686
- sticky: number;
687
- banner: number;
688
- overlay: number;
689
- modal: number;
690
- popover: number;
691
- skipLink: number;
692
- toast: number;
693
- tooltip: number;
694
- };
695
- colors: {
696
- core: {
697
- black: string;
698
- white: string;
699
- gray90: string;
700
- gray80: string;
701
- gray70: string;
702
- gray60: string;
703
- gray50: string;
704
- gray40: string;
705
- gray30: string;
706
- gray20: string;
707
- gray10: string;
708
- pink: string;
709
- uiPink: string;
710
- uiPinkDark: string;
711
- uiPinkLight: string;
712
- brown: string;
713
- brownDark: string;
714
- brownLight: string;
715
- offWhite: string;
716
- offWhiteDark: string;
717
- offWhiteLight: string;
718
- softPink: string;
719
- warmYellow: string;
720
- softYellow: string;
721
- red90: string;
722
- red80: string;
723
- red70: string;
724
- red60: string;
725
- red50: string;
726
- red40: string;
727
- red30: string;
728
- red20: string;
729
- red10: string;
730
- green90: string;
731
- green80: string;
732
- green70: string;
733
- green60: string;
734
- green50: string;
735
- green40: string;
736
- green30: string;
737
- green20: string;
738
- green10: string;
739
- blue90: string;
740
- blue80: string;
741
- blue70: string;
742
- blue60: string;
743
- blue50: string;
744
- blue40: string;
745
- blue30: string;
746
- blue20: string;
747
- blue10: string;
748
- yellow90: string;
749
- yellow80: string;
750
- yellow70: string;
751
- yellow60: string;
752
- yellow50: string;
753
- yellow40: string;
754
- yellow30: string;
755
- yellow20: string;
756
- yellow10: string;
757
- blackAlpha5: string;
758
- blackAlpha10: string;
759
- blackAlpha20: string;
760
- };
761
- bg: {
762
- default: string;
763
- brandPrimary: string;
764
- brandPrimaryHover: string;
765
- brandPrimaryActive: string;
766
- brandSecondary: string;
767
- brandSecondaryHover: string;
768
- brandSecondaryActive: string;
769
- brandTertiary: string;
770
- brandTertiaryHover: string;
771
- brandTertiaryActive: string;
772
- negative: string;
773
- warning: string;
774
- positive: string;
775
- inset: string;
776
- backdrop: string;
777
- };
778
- text: {
779
- strong: string;
780
- default: string;
781
- subtle: string;
782
- disabled: string;
783
- negative: string;
784
- warning: string;
785
- positive: string;
786
- onBrandPrimary: string;
787
- onBrandSecondary: string;
788
- onBrandTertiary: string;
789
- };
790
- icon: {
791
- default: string;
792
- strong: string;
793
- subtle: string;
794
- disabled: string;
795
- negative: string;
796
- warning: string;
797
- positive: string;
798
- onBrandPrimary: string;
799
- onBrandSecondary: string;
800
- onBrandTertiary: string;
801
- };
802
- border: {
803
- default: string;
804
- defaultHover: string;
805
- defaultSelected: string;
806
- strong: string;
807
- subtle: string;
808
- negative: string;
809
- warning: string;
810
- positive: string;
811
- };
812
- };
813
- sizes: {
814
- 112: string;
815
- 128: string;
816
- 144: string;
817
- 160: string;
818
- 176: string;
819
- 192: string;
820
- 224: string;
821
- 256: string;
822
- 288: string;
823
- 320: string;
824
- 384: string;
825
- 448: string;
826
- 512: string;
827
- 576: string;
828
- 672: string;
829
- 768: string;
830
- 896: string;
831
- 1024: string;
832
- '0x': string;
833
- '1x': string;
834
- '2x': string;
835
- '3x': string;
836
- '4x': string;
837
- '5x': string;
838
- '6x': string;
839
- '8x': string;
840
- '10x': string;
841
- '12x': string;
842
- '14x': string;
843
- '16x': string;
844
- '20x': string;
845
- '24x': string;
846
- };
847
- radii: {
848
- none: string;
849
- '2xs': string;
850
- xs: string;
851
- sm: string;
852
- md: string;
853
- lg: string;
854
- xl: string;
855
- '2xl': string;
856
- full: string;
857
- };
858
- shadows: {
859
- none: string;
860
- sm: string;
861
- md: string;
862
- lg: string;
863
- xl: string;
864
- };
865
- };
866
-
867
9
  type LanguageCode = 'en' | 'sv' | 'fi' | 'fr' | 'nb';
868
10
 
869
11
  interface QdsProviderProps {
870
12
  children: ReactNode;
871
- themeOverrides?: ThemeOverrides;
872
- emotionCache?: EmotionCache;
873
13
  locale: LanguageCode;
874
14
  }
875
- declare function QdsProvider({ children, themeOverrides, emotionCache, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
15
+ declare function QdsProvider({ children, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
876
16
 
877
- type BreakpointsConfig$1<T> = PartialRecord<keyof Theme['breakpoints'], T> & {
17
+ type LegitimateAny = any;
18
+ type PartialRecord<K extends string | number | symbol, T> = Partial<Record<K, T>>;
19
+ type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
20
+ type HTMLQdsProps<T extends ElementType> = ComponentPropsWithoutRef<T>;
21
+
22
+ declare const BREAKPOINTS: {
23
+ readonly base: "";
24
+ readonly sm: "sm:";
25
+ readonly md: "md:";
26
+ readonly lg: "lg:";
27
+ readonly xl: "xl:";
28
+ readonly '2xl': "2xl:";
29
+ };
30
+ type BreakpointKey = keyof typeof BREAKPOINTS;
31
+ type BreakpointsConfig$1<T> = PartialRecord<Exclude<BreakpointKey, 'base'>, T> & {
878
32
  base: T;
879
33
  };
880
34
  type ResponsiveProp<T> = T | BreakpointsConfig$1<T>;
881
-
882
35
  /**
883
36
  * A responsive class map declared via `defineResponsiveClasses`. Carries both
884
37
  * the per-key class strings and the default key used when no responsive value
@@ -902,7 +55,7 @@ interface ResponsiveClassMap<T extends string> {
902
55
  */
903
56
  type ResponsiveSize<M> = M extends ResponsiveClassMap<infer T> ? T : never;
904
57
 
905
- declare const SIZE_CLASSES$7: ResponsiveClassMap<"2xl" | "xl" | "lg" | "md" | "sm" | "xs">;
58
+ declare const SIZE_CLASSES$7: ResponsiveClassMap<"sm" | "md" | "lg" | "xl" | "2xl" | "xs">;
906
59
  type AvatarSize = ResponsiveSize<typeof SIZE_CLASSES$7>;
907
60
  interface AvatarOptions {
908
61
  /**
@@ -1089,12 +242,12 @@ declare const UserIcon: react.ForwardRefExoticComponent<IconProps & react.RefAtt
1089
242
  declare const XCircleIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
1090
243
  declare const XIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
1091
244
 
1092
- declare const SIZE_CLASSES$6: ResponsiveClassMap<"xl" | "lg" | "md" | "sm" | "xs">;
245
+ declare const SIZE_CLASSES$6: ResponsiveClassMap<"sm" | "md" | "lg" | "xl" | "xs">;
1093
246
  declare const buttonVariants: (props?: ({
1094
247
  variant?: "primary" | "secondary" | "tertiary" | "danger" | null | undefined;
1095
248
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1096
249
  type ButtonSize = ResponsiveSize<typeof SIZE_CLASSES$6>;
1097
- type ButtonVariant = NonNullable<VariantProps$1<typeof buttonVariants>['variant']>;
250
+ type ButtonVariant = NonNullable<VariantProps<typeof buttonVariants>['variant']>;
1098
251
  interface ButtonOptions {
1099
252
  /**
1100
253
  * Sets the size of the button
@@ -1139,7 +292,7 @@ type PolymorphicButton = ForwardRefComponent<'button', ButtonOptions>;
1139
292
  type ButtonProps = PropsOf<PolymorphicButton>;
1140
293
  declare const Button: PolymorphicButton;
1141
294
 
1142
- declare const SIZE_CLASSES$5: ResponsiveClassMap<"2xl" | "3xl" | "xl" | "lg" | "md" | "sm" | "xs" | "2xs">;
295
+ declare const SIZE_CLASSES$5: ResponsiveClassMap<"sm" | "md" | "lg" | "xl" | "2xl" | "xs" | "3xl" | "2xs">;
1143
296
  declare const TEXT_ALIGN_CLASSES$2: {
1144
297
  readonly left: "text-left";
1145
298
  readonly center: "text-center";
@@ -1392,7 +545,7 @@ declare const DropdownMenu: typeof DropdownMenuRoot & {
1392
545
  Divider: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1393
546
  };
1394
547
 
1395
- declare const SIZE_CLASSES$4: ResponsiveClassMap<"lg" | "md" | "sm" | "xs" | "2xs" | "3xs">;
548
+ declare const SIZE_CLASSES$4: ResponsiveClassMap<"sm" | "md" | "lg" | "xs" | "2xs" | "3xs">;
1396
549
  declare const COLOR_CLASSES$2: {
1397
550
  readonly default: "text-default";
1398
551
  readonly strong: "text-strong";
@@ -1452,12 +605,12 @@ declare const HintBox: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLPr
1452
605
  Title: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
1453
606
  };
1454
607
 
1455
- declare const SIZE_CLASSES$3: ResponsiveClassMap<"md" | "sm" | "xs">;
608
+ declare const SIZE_CLASSES$3: ResponsiveClassMap<"sm" | "md" | "xs">;
1456
609
  declare const iconButtonVariants: (props?: ({
1457
610
  variant?: "white" | "primary" | "secondary" | "tertiary" | "danger" | "ghost" | null | undefined;
1458
611
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1459
612
  type IconButtonSize = ResponsiveSize<typeof SIZE_CLASSES$3>;
1460
- type IconButtonVariant = NonNullable<VariantProps$1<typeof iconButtonVariants>['variant']>;
613
+ type IconButtonVariant = NonNullable<VariantProps<typeof iconButtonVariants>['variant']>;
1461
614
  interface IconButtonOptions {
1462
615
  icon: ElementType<IconProps>;
1463
616
  /**
@@ -1529,7 +682,7 @@ interface TextFieldProps extends Omit<HTMLQdsProps<'input'>, OmittedProps$7>, Te
1529
682
  }
1530
683
  declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
1531
684
 
1532
- declare const SIZE_CLASSES$2: ResponsiveClassMap<"md" | "sm">;
685
+ declare const SIZE_CLASSES$2: ResponsiveClassMap<"sm" | "md">;
1533
686
  declare const COLOR_CLASSES$1: {
1534
687
  readonly strong: "text-strong";
1535
688
  readonly default: "text-default";
@@ -1573,7 +726,7 @@ type LinkComponent = ForwardRefComponent<'a', LinkOptions>;
1573
726
  type LinkProps = PropsOf<LinkComponent>;
1574
727
  declare const Link: LinkComponent;
1575
728
 
1576
- declare const SIZE_CLASSES$1: ResponsiveClassMap<"md" | "sm">;
729
+ declare const SIZE_CLASSES$1: ResponsiveClassMap<"sm" | "md">;
1577
730
  type LoadingDotsSize = ResponsiveSize<typeof SIZE_CLASSES$1>;
1578
731
  interface LoadingDotsOptions {
1579
732
  size?: ResponsiveProp<LoadingDotsSize>;
@@ -1582,7 +735,7 @@ interface LoadingDotsProps extends HTMLQdsProps<'span'>, LoadingDotsOptions {
1582
735
  }
1583
736
  declare const LoadingDots: react.ForwardRefExoticComponent<LoadingDotsProps & react.RefAttributes<HTMLSpanElement>>;
1584
737
 
1585
- declare const SIZE_CLASSES: ResponsiveClassMap<"xl" | "lg" | "md" | "sm" | "xs">;
738
+ declare const SIZE_CLASSES: ResponsiveClassMap<"sm" | "md" | "lg" | "xl" | "xs">;
1586
739
  declare const COLOR_CLASSES: {
1587
740
  readonly default: "text-default";
1588
741
  readonly strong: "text-strong";
@@ -1819,8 +972,8 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
1819
972
  Option: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLOptionElement>>;
1820
973
  };
1821
974
 
1822
- declare const X_SIZE_CLASSES: ResponsiveClassMap<"4x" | "0x" | "1x" | "2x" | "3x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
1823
- declare const Y_SIZE_CLASSES: ResponsiveClassMap<"4x" | "0x" | "1x" | "2x" | "3x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
975
+ declare const X_SIZE_CLASSES: ResponsiveClassMap<"0x" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
976
+ declare const Y_SIZE_CLASSES: ResponsiveClassMap<"0x" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
1824
977
  type Spacing = ResponsiveSize<typeof X_SIZE_CLASSES> & ResponsiveSize<typeof Y_SIZE_CLASSES>;
1825
978
  interface SpacerOptions {
1826
979
  axis?: 'x' | 'y';
@@ -1837,9 +990,9 @@ interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
1837
990
  declare const Spacer: react.ForwardRefExoticComponent<SpacerProps & react.RefAttributes<HTMLSpanElement>>;
1838
991
 
1839
992
  declare const DIRECTION_CLASSES: ResponsiveClassMap<"row" | "column" | "column-reverse" | "row-reverse">;
1840
- declare const JUSTIFY_CONTENT_CLASSES: ResponsiveClassMap<"center" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly">;
1841
- declare const ALIGN_ITEMS_CLASSES: ResponsiveClassMap<"center" | "flex-end" | "flex-start" | "baseline" | "stretch">;
1842
- declare const GAP_CLASSES: ResponsiveClassMap<"4x" | "0x" | "1x" | "2x" | "3x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
993
+ declare const JUSTIFY_CONTENT_CLASSES: ResponsiveClassMap<"center" | "space-around" | "space-between" | "space-evenly" | "flex-end" | "flex-start">;
994
+ declare const ALIGN_ITEMS_CLASSES: ResponsiveClassMap<"center" | "baseline" | "stretch" | "flex-end" | "flex-start">;
995
+ declare const GAP_CLASSES: ResponsiveClassMap<"0x" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">;
1843
996
  declare const WRAP_CLASSES: {
1844
997
  readonly wrap: "flex-wrap";
1845
998
  readonly nowrap: "flex-nowrap";
@@ -1985,79 +1138,439 @@ declare const toast: ((text: string, options?: ToastOptions) => Id) & {
1985
1138
  removeAll: () => void;
1986
1139
  };
1987
1140
 
1988
- type NamedStyles = Record<string, CSSObject>;
1989
- type StyleInterpolation<T> = (theme: Theme) => T;
1990
- /**
1991
- * @deprecated Tied to the Emotion theme. Will be removed when Emotion is dropped.
1992
- * Compose styles directly with Tailwind classes.
1993
- */
1994
- declare function createStyleVariants<T extends NamedStyles>(styles: StyleInterpolation<T>): (theme: Theme) => T;
1995
- /**
1996
- * @deprecated Tied to the Emotion theme. Will be removed when Emotion is dropped.
1997
- * Compose styles directly with Tailwind classes.
1998
- */
1999
- declare function createStyle<T extends CSSObject>(styles: StyleInterpolation<T>): (theme: Theme) => T;
2000
- /**
2001
- * @deprecated Tied to the Emotion theme. Will be removed when Emotion is dropped.
2002
- */
2003
- type VariantProps<T extends ReturnType<typeof createStyle | typeof createStyleVariants>> = keyof ReturnType<T>;
2004
1141
  /**
2005
- * @deprecated Will be removed when Emotion is dropped.
2006
- * Use Tailwind spacing utilities instead, eg. `p-4` for 16px padding.
1142
+ * @deprecated Use Tailwind spacing utilities instead, eg. `p-4` for 16px padding.
2007
1143
  * If you need a raw value, reference the CSS variable directly: `var(--spacing-4)`.
2008
1144
  */
2009
1145
  declare const pxToRem: (px: number) => string;
2010
1146
 
2011
1147
  /**
2012
- * @deprecated Emotion-based form field base styles. Will be removed when Emotion is dropped.
2013
- * Use the form primitives (`input-base`, `textarea-base`, `select-base`) or compose Tailwind classes directly.
1148
+ * @deprecated The `theme` object is deprecated and will be removed in a future version.
1149
+ * Use Tailwind CSS instead.
2014
1150
  */
2015
- declare const getFormFieldBaseStyles: (theme: Theme) => {
2016
- '&::placeholder': {
2017
- color: string;
1151
+ declare const theme: {
1152
+ /**
1153
+ * @deprecated Using QDS with `@emotion` is deprecated and will be removed in a future version.
1154
+ * Use Tailwind CSS instead.
1155
+ */
1156
+ mediaQueries: {
1157
+ readonly smUp: "@media(min-width: 480px)";
1158
+ readonly mdUp: "@media(min-width: 768px)";
1159
+ readonly lgUp: "@media(min-width: 1024px)";
1160
+ readonly xlUp: "@media(min-width: 1280px)";
1161
+ readonly '2xlUp': "@media(min-width: 1536px)";
1162
+ };
1163
+ spacing: {
1164
+ '0x': string;
1165
+ '1x': string;
1166
+ '2x': string;
1167
+ '3x': string;
1168
+ '4x': string;
1169
+ '5x': string;
1170
+ '6x': string;
1171
+ '8x': string;
1172
+ '10x': string;
1173
+ '12x': string;
1174
+ '14x': string;
1175
+ '16x': string;
1176
+ '20x': string;
1177
+ '24x': string;
1178
+ };
1179
+ breakpoints: {
1180
+ readonly base: 0;
1181
+ readonly sm: 480;
1182
+ readonly md: 768;
1183
+ readonly lg: 1024;
1184
+ readonly xl: 1280;
1185
+ readonly '2xl': 1536;
1186
+ };
1187
+ zIndices: {
1188
+ hide: number;
1189
+ auto: string;
1190
+ base: number;
1191
+ docked: number;
1192
+ dropdown: number;
1193
+ sticky: number;
1194
+ banner: number;
1195
+ overlay: number;
1196
+ modal: number;
1197
+ popover: number;
1198
+ skipLink: number;
1199
+ toast: number;
1200
+ tooltip: number;
2018
1201
  };
2019
- '&:hover': {
2020
- borderColor: string;
1202
+ colors: {
1203
+ core: {
1204
+ black: string;
1205
+ white: string;
1206
+ gray90: string;
1207
+ gray80: string;
1208
+ gray70: string;
1209
+ gray60: string;
1210
+ gray50: string;
1211
+ gray40: string;
1212
+ gray30: string;
1213
+ gray20: string;
1214
+ gray10: string;
1215
+ pink: string;
1216
+ uiPink: string;
1217
+ uiPinkDark: string;
1218
+ uiPinkLight: string;
1219
+ brown: string;
1220
+ brownDark: string;
1221
+ brownLight: string;
1222
+ offWhite: string;
1223
+ offWhiteDark: string;
1224
+ offWhiteLight: string;
1225
+ softPink: string;
1226
+ warmYellow: string;
1227
+ softYellow: string;
1228
+ red90: string;
1229
+ red80: string;
1230
+ red70: string;
1231
+ red60: string;
1232
+ red50: string;
1233
+ red40: string;
1234
+ red30: string;
1235
+ red20: string;
1236
+ red10: string;
1237
+ green90: string;
1238
+ green80: string;
1239
+ green70: string;
1240
+ green60: string;
1241
+ green50: string;
1242
+ green40: string;
1243
+ green30: string;
1244
+ green20: string;
1245
+ green10: string;
1246
+ blue90: string;
1247
+ blue80: string;
1248
+ blue70: string;
1249
+ blue60: string;
1250
+ blue50: string;
1251
+ blue40: string;
1252
+ blue30: string;
1253
+ blue20: string;
1254
+ blue10: string;
1255
+ yellow90: string;
1256
+ yellow80: string;
1257
+ yellow70: string;
1258
+ yellow60: string;
1259
+ yellow50: string;
1260
+ yellow40: string;
1261
+ yellow30: string;
1262
+ yellow20: string;
1263
+ yellow10: string;
1264
+ blackAlpha5: string;
1265
+ blackAlpha10: string;
1266
+ blackAlpha20: string;
1267
+ };
1268
+ bg: {
1269
+ default: string;
1270
+ brandPrimary: string;
1271
+ brandPrimaryHover: string;
1272
+ brandPrimaryActive: string;
1273
+ brandSecondary: string;
1274
+ brandSecondaryHover: string;
1275
+ brandSecondaryActive: string;
1276
+ brandTertiary: string;
1277
+ brandTertiaryHover: string;
1278
+ brandTertiaryActive: string;
1279
+ negative: string;
1280
+ warning: string;
1281
+ positive: string;
1282
+ inset: string;
1283
+ backdrop: string;
1284
+ };
1285
+ text: {
1286
+ strong: string;
1287
+ default: string;
1288
+ subtle: string;
1289
+ disabled: string;
1290
+ negative: string;
1291
+ warning: string;
1292
+ positive: string;
1293
+ onBrandPrimary: string;
1294
+ onBrandSecondary: string;
1295
+ onBrandTertiary: string;
1296
+ };
1297
+ icon: {
1298
+ default: string;
1299
+ strong: string;
1300
+ subtle: string;
1301
+ disabled: string;
1302
+ negative: string;
1303
+ warning: string;
1304
+ positive: string;
1305
+ onBrandPrimary: string;
1306
+ onBrandSecondary: string;
1307
+ onBrandTertiary: string;
1308
+ };
1309
+ border: {
1310
+ default: string;
1311
+ defaultHover: string;
1312
+ defaultSelected: string;
1313
+ strong: string;
1314
+ subtle: string;
1315
+ negative: string;
1316
+ warning: string;
1317
+ positive: string;
1318
+ };
2021
1319
  };
2022
- '&:focus': {
2023
- outline: number;
2024
- borderColor: string;
2025
- boxShadow: `0 0 0 1px ${string}`;
1320
+ sizes: {
1321
+ 112: string;
1322
+ 128: string;
1323
+ 144: string;
1324
+ 160: string;
1325
+ 176: string;
1326
+ 192: string;
1327
+ 224: string;
1328
+ 256: string;
1329
+ 288: string;
1330
+ 320: string;
1331
+ 384: string;
1332
+ 448: string;
1333
+ 512: string;
1334
+ 576: string;
1335
+ 672: string;
1336
+ 768: string;
1337
+ 896: string;
1338
+ 1024: string;
1339
+ '0x': string;
1340
+ '1x': string;
1341
+ '2x': string;
1342
+ '3x': string;
1343
+ '4x': string;
1344
+ '5x': string;
1345
+ '6x': string;
1346
+ '8x': string;
1347
+ '10x': string;
1348
+ '12x': string;
1349
+ '14x': string;
1350
+ '16x': string;
1351
+ '20x': string;
1352
+ '24x': string;
2026
1353
  };
2027
- '&[aria-invalid="true"]': {
2028
- borderColor: string;
2029
- '&:focus': {
2030
- boxShadow: `0 0 0 1px ${string}`;
2031
- };
1354
+ radii: {
1355
+ none: string;
1356
+ '2xs': string;
1357
+ xs: string;
1358
+ sm: string;
1359
+ md: string;
1360
+ lg: string;
1361
+ xl: string;
1362
+ '2xl': string;
1363
+ full: string;
2032
1364
  };
2033
- '&[disabled], &:disabled, &[data-disabled]': {
2034
- opacity: number;
2035
- borderColor: string;
1365
+ shadows: {
1366
+ none: string;
1367
+ sm: string;
1368
+ md: string;
1369
+ lg: string;
1370
+ xl: string;
2036
1371
  };
2037
- transitionProperty: "opacity, border-color, box-shadow";
2038
- transitionDuration: "120ms";
2039
- transitionTimingFunction: "ease";
2040
- fontFamily: string;
2041
- fontWeight: string;
2042
- fontSize: string;
2043
- lineHeight: string;
2044
- letterSpacing: string;
2045
- width: string;
2046
- minWidth: number;
2047
- appearance: "none";
2048
- paddingLeft: string;
2049
- paddingRight: string;
2050
- border: string;
2051
- borderRadius: string;
2052
- backgroundColor: string;
2053
- color: string;
2054
- WebkitTouchCallout: "none";
2055
- WebkitTapHighlightColor: "transparent";
2056
- '&::-webkit-date-and-time-value': {
2057
- textAlign: "left";
1372
+ typography: {
1373
+ display: {
1374
+ '3xl': {
1375
+ fontFamily: string;
1376
+ fontWeight: string;
1377
+ fontSize: string;
1378
+ lineHeight: string;
1379
+ letterSpacing: string;
1380
+ fontFeatureSettings: string;
1381
+ };
1382
+ '2xl': {
1383
+ fontFamily: string;
1384
+ fontWeight: string;
1385
+ fontSize: string;
1386
+ lineHeight: string;
1387
+ letterSpacing: string;
1388
+ fontFeatureSettings: string;
1389
+ };
1390
+ xl: {
1391
+ fontFamily: string;
1392
+ fontWeight: string;
1393
+ fontSize: string;
1394
+ lineHeight: string;
1395
+ letterSpacing: string;
1396
+ fontFeatureSettings: string;
1397
+ };
1398
+ lg: {
1399
+ fontFamily: string;
1400
+ fontWeight: string;
1401
+ fontSize: string;
1402
+ lineHeight: string;
1403
+ letterSpacing: string;
1404
+ fontFeatureSettings: string;
1405
+ };
1406
+ md: {
1407
+ fontFamily: string;
1408
+ fontWeight: string;
1409
+ fontSize: string;
1410
+ lineHeight: string;
1411
+ letterSpacing: string;
1412
+ fontFeatureSettings: string;
1413
+ };
1414
+ sm: {
1415
+ fontFamily: string;
1416
+ fontWeight: string;
1417
+ fontSize: string;
1418
+ lineHeight: string;
1419
+ letterSpacing: string;
1420
+ fontFeatureSettings: string;
1421
+ };
1422
+ xs: {
1423
+ fontFamily: string;
1424
+ fontWeight: string;
1425
+ fontSize: string;
1426
+ lineHeight: string;
1427
+ letterSpacing: string;
1428
+ fontFeatureSettings: string;
1429
+ };
1430
+ '2xs': {
1431
+ fontFamily: string;
1432
+ fontWeight: string;
1433
+ fontSize: string;
1434
+ lineHeight: string;
1435
+ letterSpacing: string;
1436
+ fontFeatureSettings: string;
1437
+ };
1438
+ };
1439
+ title: {
1440
+ lg: {
1441
+ fontFamily: string;
1442
+ fontWeight: string;
1443
+ fontSize: string;
1444
+ lineHeight: string;
1445
+ letterSpacing: string;
1446
+ };
1447
+ md: {
1448
+ fontFamily: string;
1449
+ fontWeight: string;
1450
+ fontSize: string;
1451
+ lineHeight: string;
1452
+ letterSpacing: string;
1453
+ };
1454
+ sm: {
1455
+ fontFamily: string;
1456
+ fontWeight: string;
1457
+ fontSize: string;
1458
+ lineHeight: string;
1459
+ letterSpacing: string;
1460
+ };
1461
+ xs: {
1462
+ fontFamily: string;
1463
+ fontWeight: string;
1464
+ fontSize: string;
1465
+ lineHeight: string;
1466
+ letterSpacing: string;
1467
+ };
1468
+ '2xs': {
1469
+ fontFamily: string;
1470
+ fontWeight: string;
1471
+ fontSize: string;
1472
+ lineHeight: string;
1473
+ letterSpacing: string;
1474
+ };
1475
+ '3xs': {
1476
+ fontFamily: string;
1477
+ fontWeight: string;
1478
+ fontSize: string;
1479
+ lineHeight: string;
1480
+ letterSpacing: string;
1481
+ };
1482
+ };
1483
+ body: {
1484
+ xl: {
1485
+ fontFamily: string;
1486
+ fontWeight: string;
1487
+ fontSize: string;
1488
+ lineHeight: string;
1489
+ letterSpacing: string;
1490
+ };
1491
+ lg: {
1492
+ fontFamily: string;
1493
+ fontWeight: string;
1494
+ fontSize: string;
1495
+ lineHeight: string;
1496
+ letterSpacing: string;
1497
+ };
1498
+ md: {
1499
+ fontFamily: string;
1500
+ fontWeight: string;
1501
+ fontSize: string;
1502
+ lineHeight: string;
1503
+ letterSpacing: string;
1504
+ };
1505
+ sm: {
1506
+ fontFamily: string;
1507
+ fontWeight: string;
1508
+ fontSize: string;
1509
+ lineHeight: string;
1510
+ letterSpacing: string;
1511
+ };
1512
+ xs: {
1513
+ fontFamily: string;
1514
+ fontWeight: string;
1515
+ fontSize: string;
1516
+ lineHeight: string;
1517
+ letterSpacing: string;
1518
+ };
1519
+ };
1520
+ label: {
1521
+ md: {
1522
+ fontFamily: string;
1523
+ fontWeight: string;
1524
+ fontSize: string;
1525
+ lineHeight: string;
1526
+ letterSpacing: string;
1527
+ };
1528
+ sm: {
1529
+ fontFamily: string;
1530
+ fontWeight: string;
1531
+ fontSize: string;
1532
+ lineHeight: string;
1533
+ letterSpacing: string;
1534
+ };
1535
+ };
1536
+ button: {
1537
+ md: {
1538
+ fontFamily: string;
1539
+ fontWeight: string;
1540
+ fontSize: string;
1541
+ lineHeight: string;
1542
+ letterSpacing: string;
1543
+ };
1544
+ sm: {
1545
+ fontFamily: string;
1546
+ fontWeight: string;
1547
+ fontSize: string;
1548
+ lineHeight: string;
1549
+ letterSpacing: string;
1550
+ };
1551
+ };
1552
+ caption: {
1553
+ md: {
1554
+ fontFamily: string;
1555
+ fontWeight: string;
1556
+ fontSize: string;
1557
+ lineHeight: string;
1558
+ letterSpacing: string;
1559
+ };
1560
+ sm: {
1561
+ fontFamily: string;
1562
+ fontWeight: string;
1563
+ fontSize: string;
1564
+ lineHeight: string;
1565
+ letterSpacing: string;
1566
+ };
1567
+ };
2058
1568
  };
2059
- alignItems: "center";
2060
1569
  };
1570
+ /**
1571
+ * @deprecated The `Theme` type is deprecated and will be removed in a future version.
1572
+ */
1573
+ type Theme = typeof theme;
2061
1574
 
2062
1575
  interface UseBreakpointOptions {
2063
1576
  /**
@@ -2077,7 +1590,7 @@ interface UseBreakpointOptions {
2077
1590
  * `usehooks-ts`.
2078
1591
  */
2079
1592
  declare function useBreakpoint(params?: UseBreakpointOptions): {
2080
- currentBreakpoint: "2xl" | "base" | "xl" | "lg" | "md" | "sm";
1593
+ currentBreakpoint: "base" | "sm" | "md" | "lg" | "xl" | "2xl";
2081
1594
  };
2082
1595
 
2083
1596
  type Breakpoints = Theme['breakpoints'];
@@ -2159,4 +1672,4 @@ declare function useStableId(fixedId?: string | null): string;
2159
1672
  */
2160
1673
  declare const useSafeLayoutEffect: typeof useLayoutEffect;
2161
1674
 
2162
- export { AlertCircleIcon, AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, type AvatarProps, BellIcon, BellOffIcon, BookmarkFilledIcon, BookmarkIcon, Button, type ButtonProps, CalendarIcon, CameraIcon, CheckCircleIcon, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, type CreateIconOptions, DisplayText, type DisplayTextProps, Divider, type DividerProps, DropdownMenu, type DropdownMenuContentProps, type DropdownMenuDividerProps, type DropdownMenuItemProps, type DropdownMenuRootProps, type DropdownMenuTriggerProps, type ForwardRefComponent, GlobeIcon, Heading, type HeadingProps, HeartFilledIcon, HeartIcon, HelpCircleIcon, HintBox, type HintBoxProps, type HintBoxTitleProps, HistoryIcon, HomeIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, InfoIcon, InputBase, type InputBaseOptions, type InputBaseProps, type IntrinsicElement, Label, type LabelProps, Link, type LinkProps, ListFilterIcon, ListIcon, LoadingDots, type LoadingDotsProps, LogOutIcon, MapIcon, MapPinIcon, MenuIcon, MessageCircleIcon, MinusIcon, MoreHorizontalIcon, MoreVerticalIcon, type OwnProps, Paragraph, type ParagraphProps, PenIcon, PlusIcon, type PropsOf, QdsProvider, type RadioButtonProps, type RadioCardProps, RadioGroup, type RadioGroupLabelProps, type RadioGroupProps, SearchIcon, Select, SelectBase, type SelectBaseOptions, type SelectOptionProps, type SelectProps, SettingsIcon, ShareIcon, SlidersIcon, Spacer, type SpacerProps, Stack, type StackProps, StarFilledIcon, StarIcon, Switch, type SwitchProps, TextField, type TextFieldProps, Textarea, TextareaBase, type TextareaBaseOptions, type TextareaBaseProps, type TextareaProps, type Theme, type ThemeOverrides, Toast, TrashIcon, type UseBreakpointOptions, type UseBreakpointValueProps, type UseFormFieldProps, UserIcon, type VariantProps, XCircleIcon, XIcon, createIcon, createLucideIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, toast, useBreakpoint, useBreakpointValue, useFormField, useSafeLayoutEffect, useStableId };
1675
+ export { AlertCircleIcon, AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, type AvatarProps, BellIcon, BellOffIcon, BookmarkFilledIcon, BookmarkIcon, Button, type ButtonProps, CalendarIcon, CameraIcon, CheckCircleIcon, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, type CreateIconOptions, DisplayText, type DisplayTextProps, Divider, type DividerProps, DropdownMenu, type DropdownMenuContentProps, type DropdownMenuDividerProps, type DropdownMenuItemProps, type DropdownMenuRootProps, type DropdownMenuTriggerProps, type ForwardRefComponent, GlobeIcon, Heading, type HeadingProps, HeartFilledIcon, HeartIcon, HelpCircleIcon, HintBox, type HintBoxProps, type HintBoxTitleProps, HistoryIcon, HomeIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, InfoIcon, InputBase, type InputBaseOptions, type InputBaseProps, type IntrinsicElement, Label, type LabelProps, Link, type LinkProps, ListFilterIcon, ListIcon, LoadingDots, type LoadingDotsProps, LogOutIcon, MapIcon, MapPinIcon, MenuIcon, MessageCircleIcon, MinusIcon, MoreHorizontalIcon, MoreVerticalIcon, type OwnProps, Paragraph, type ParagraphProps, PenIcon, PlusIcon, type PropsOf, QdsProvider, type RadioButtonProps, type RadioCardProps, RadioGroup, type RadioGroupLabelProps, type RadioGroupProps, SearchIcon, Select, SelectBase, type SelectBaseOptions, type SelectOptionProps, type SelectProps, SettingsIcon, ShareIcon, SlidersIcon, Spacer, type SpacerProps, Stack, type StackProps, StarFilledIcon, StarIcon, Switch, type SwitchProps, TextField, type TextFieldProps, Textarea, TextareaBase, type TextareaBaseOptions, type TextareaBaseProps, type TextareaProps, type Theme, Toast, TrashIcon, type UseBreakpointOptions, type UseBreakpointValueProps, type UseFormFieldProps, UserIcon, XCircleIcon, XIcon, createIcon, createLucideIcon, pxToRem, theme, toast, useBreakpoint, useBreakpointValue, useFormField, useSafeLayoutEffect, useStableId };