@code-id-labs/plugin-vite 0.0.0-stage → 1.0.1

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,4176 @@
1
+ import { Plugin } from "vite";
2
+ //#region ../core/dist/icons-CGWn5Sxv.d.ts
3
+ //#region src/theme.d.ts
4
+ type ThemeSlots = Record<string, string>;
5
+ type ThemeVariants = Record<string, Record<string, Record<string, string> | string | Record<string, unknown>>>;
6
+ type StringToBoolean<T> = T extends "true" | "false" ? boolean : T;
7
+ type VariantPropValue<V, K extends keyof V> = StringToBoolean<keyof V[K]>;
8
+ type CompoundVariant<V extends ThemeVariants, S extends ThemeSlots> = { [K in keyof V]?: VariantPropValue<V, K>; } & {
9
+ class?: Partial<Record<keyof S, string>>;
10
+ };
11
+ type DefaultVariants<V extends ThemeVariants> = { [K in keyof V]?: VariantPropValue<V, K>; };
12
+ interface ThemeDefinition<S extends ThemeSlots, V extends ThemeVariants, DV = DefaultVariants<V>> {
13
+ slots: S;
14
+ variants: V;
15
+ compoundVariants?: Array<CompoundVariant<V, S>>;
16
+ defaultVariants?: DV;
17
+ }
18
+ /** Standard semantic colors supported across component themes */
19
+ declare const DEFAULT_THEME_COLORS: readonly ["primary", "secondary", "danger", "success", "warning", "info"];
20
+ /**
21
+ * Controls which color-scheme classes are compiled into component themes.
22
+ * - `"system"` (default): emit both light and `dark:` classes.
23
+ * - `"light"`: emit only light classes, stripping all `dark:` variants.
24
+ * - `"dark"`: emit only dark classes, converting `dark:` variants to base classes.
25
+ */
26
+ type ColorSystem = "light" | "dark" | "system";
27
+ interface ThemeOptions<C extends readonly string[] = typeof DEFAULT_THEME_COLORS> {
28
+ colors?: C | readonly string[] | string[];
29
+ errorColor?: string;
30
+ colorMode?: ColorSystem;
31
+ transitions?: boolean;
32
+ [key: string]: any;
33
+ }
34
+ /**
35
+ * Extract the slot union from a theme definition or theme factory function.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * type ButtonSlots = ExtractSlots<typeof buttonTheme>;
40
+ * // 'root' | 'label' | 'icon' | 'spinner' | 'leadingIcon' | 'trailingIcon'
41
+ * ```
42
+ */
43
+ type ExtractSlots<T> = T extends ((...args: any[]) => {
44
+ slots: infer S;
45
+ }) ? keyof S : T extends {
46
+ slots: infer S;
47
+ } ? keyof S : string;
48
+ //#endregion
49
+ //#region src/theme/definitions/accordion-item.d.ts
50
+ declare function accordionItemTheme(_options?: ThemeOptions): ThemeDefinition<{
51
+ root: string;
52
+ header: string;
53
+ trigger: string;
54
+ leading: string;
55
+ leadingIcon: string;
56
+ label: string;
57
+ description: string;
58
+ trailing: string;
59
+ trailingIcon: string;
60
+ content: string;
61
+ body: string;
62
+ }, {
63
+ size: {
64
+ sm: {
65
+ trigger: string;
66
+ leadingIcon: string;
67
+ label: string;
68
+ description: string;
69
+ trailingIcon: string;
70
+ body: string;
71
+ };
72
+ md: {
73
+ trigger: string;
74
+ leadingIcon: string;
75
+ label: string;
76
+ description: string;
77
+ trailingIcon: string;
78
+ body: string;
79
+ };
80
+ lg: {
81
+ trigger: string;
82
+ leadingIcon: string;
83
+ label: string;
84
+ description: string;
85
+ trailingIcon: string;
86
+ body: string;
87
+ };
88
+ };
89
+ variant: {
90
+ outline: {};
91
+ subtle: {};
92
+ soft: {};
93
+ plain: {};
94
+ separated: {
95
+ root: string;
96
+ };
97
+ };
98
+ disabled: {
99
+ true: {
100
+ root: string;
101
+ trigger: string;
102
+ };
103
+ false: {};
104
+ };
105
+ open: {
106
+ true: {
107
+ trailing: string;
108
+ };
109
+ false: {};
110
+ };
111
+ }, {
112
+ size: "md";
113
+ variant: "outline";
114
+ disabled: false;
115
+ open: false;
116
+ }> & {
117
+ defaultVariants: {
118
+ size: "md";
119
+ variant: "outline";
120
+ disabled: false;
121
+ open: false;
122
+ };
123
+ };
124
+ //#endregion
125
+ //#region src/theme/definitions/action-sheet.d.ts
126
+ declare function actionSheetTheme(_options?: ThemeOptions): ThemeDefinition<{
127
+ root: string;
128
+ backdrop: string;
129
+ content: string;
130
+ header: string;
131
+ title: string;
132
+ description: string;
133
+ closeTrigger: string;
134
+ closeButton: string;
135
+ closeIcon: string;
136
+ body: string;
137
+ item: string;
138
+ itemHover: string;
139
+ itemText: string;
140
+ itemTitle: string;
141
+ itemLabel: string;
142
+ itemLabelDestructive: string;
143
+ itemDescription: string;
144
+ itemIcon: string;
145
+ itemIconDestructive: string;
146
+ itemLoadingIcon: string;
147
+ gap: string;
148
+ actions: string;
149
+ action: string;
150
+ }, {
151
+ open: {
152
+ true: {
153
+ backdrop: string;
154
+ };
155
+ false: {
156
+ backdrop: string;
157
+ };
158
+ };
159
+ disabled: {
160
+ true: {
161
+ item: string;
162
+ itemTitle: string;
163
+ itemDescription: string;
164
+ };
165
+ false: {};
166
+ };
167
+ closable: {
168
+ true: {
169
+ header: string;
170
+ };
171
+ false: {};
172
+ };
173
+ }, {
174
+ open: false;
175
+ disabled: false;
176
+ closable: false;
177
+ }> & {
178
+ defaultVariants: {
179
+ open: false;
180
+ disabled: false;
181
+ closable: false;
182
+ };
183
+ };
184
+ //#endregion
185
+ //#region src/theme/definitions/app.d.ts
186
+ declare function appTheme(_options?: ThemeOptions): ThemeDefinition<{
187
+ root: string;
188
+ scaleWrapper: string;
189
+ toaster: string;
190
+ }, {
191
+ scaled: {
192
+ true: {
193
+ root: string;
194
+ scaleWrapper: string;
195
+ };
196
+ false: {
197
+ root: string;
198
+ scaleWrapper: string;
199
+ };
200
+ };
201
+ }, {
202
+ scaled: false;
203
+ }> & {
204
+ defaultVariants: {
205
+ scaled: false;
206
+ };
207
+ };
208
+ //#endregion
209
+ //#region src/theme/definitions/avatar.d.ts
210
+ declare function avatarTheme(options?: ThemeOptions): ThemeDefinition<{
211
+ root: string;
212
+ image: string;
213
+ fallback: string;
214
+ icon: string;
215
+ }, {
216
+ color: {
217
+ [k: string]: {
218
+ root: string;
219
+ fallback: string;
220
+ icon: string;
221
+ };
222
+ } & {
223
+ neutral: {
224
+ root: string;
225
+ fallback: string;
226
+ icon: string;
227
+ };
228
+ };
229
+ size: {
230
+ "3xs": {
231
+ root: string;
232
+ fallback: string;
233
+ };
234
+ "2xs": {
235
+ root: string;
236
+ fallback: string;
237
+ };
238
+ xs: {
239
+ root: string;
240
+ fallback: string;
241
+ };
242
+ sm: {
243
+ root: string;
244
+ fallback: string;
245
+ };
246
+ md: {
247
+ root: string;
248
+ fallback: string;
249
+ };
250
+ lg: {
251
+ root: string;
252
+ fallback: string;
253
+ };
254
+ xl: {
255
+ root: string;
256
+ fallback: string;
257
+ };
258
+ "2xl": {
259
+ root: string;
260
+ fallback: string;
261
+ };
262
+ "3xl": {
263
+ root: string;
264
+ fallback: string;
265
+ };
266
+ };
267
+ }, {
268
+ size: "md";
269
+ color: "neutral";
270
+ }> & {
271
+ defaultVariants: {
272
+ size: "md";
273
+ color: "neutral";
274
+ };
275
+ };
276
+ //#endregion
277
+ //#region src/theme/definitions/avatar-group.d.ts
278
+ declare function avatarGroupTheme(_options?: ThemeOptions): ThemeDefinition<{
279
+ root: string;
280
+ base: string;
281
+ counter: string;
282
+ }, {
283
+ size: {
284
+ "3xs": {
285
+ base: string;
286
+ counter: string;
287
+ };
288
+ "2xs": {
289
+ base: string;
290
+ counter: string;
291
+ };
292
+ xs: {
293
+ base: string;
294
+ counter: string;
295
+ };
296
+ sm: {
297
+ base: string;
298
+ counter: string;
299
+ };
300
+ md: {
301
+ base: string;
302
+ counter: string;
303
+ };
304
+ lg: {
305
+ base: string;
306
+ counter: string;
307
+ };
308
+ xl: {
309
+ base: string;
310
+ counter: string;
311
+ };
312
+ "2xl": {
313
+ base: string;
314
+ counter: string;
315
+ };
316
+ "3xl": {
317
+ base: string;
318
+ counter: string;
319
+ };
320
+ };
321
+ }, {
322
+ size: "md";
323
+ }> & {
324
+ defaultVariants: {
325
+ size: "md";
326
+ };
327
+ };
328
+ //#endregion
329
+ //#region src/theme/definitions/badge.d.ts
330
+ declare function badgeTheme(options?: ThemeOptions): ThemeDefinition<{
331
+ root: string;
332
+ text: string;
333
+ leading: string;
334
+ trailing: string;
335
+ }, {
336
+ color: {
337
+ [k: string]: {};
338
+ } & {
339
+ neutral: {};
340
+ };
341
+ size: {
342
+ xs: {
343
+ root: string;
344
+ text: string;
345
+ };
346
+ sm: {
347
+ root: string;
348
+ text: string;
349
+ };
350
+ md: {
351
+ root: string;
352
+ text: string;
353
+ };
354
+ lg: {
355
+ root: string;
356
+ text: string;
357
+ };
358
+ xl: {
359
+ root: string;
360
+ text: string;
361
+ };
362
+ };
363
+ variant: {
364
+ solid: {
365
+ root: string;
366
+ };
367
+ outline: {
368
+ root: string;
369
+ };
370
+ soft: {
371
+ root: string;
372
+ };
373
+ };
374
+ }, {
375
+ color: "primary";
376
+ size: "md";
377
+ variant: "solid";
378
+ }> & {
379
+ defaultVariants: {
380
+ color: "primary";
381
+ size: "md";
382
+ variant: "solid";
383
+ };
384
+ };
385
+ //#endregion
386
+ //#region src/theme/definitions/banner.d.ts
387
+ declare function bannerTheme(options?: ThemeOptions): ThemeDefinition<{
388
+ root: string;
389
+ background: string;
390
+ body: string;
391
+ content: string;
392
+ badge: string;
393
+ caption: string;
394
+ title: string;
395
+ description: string;
396
+ imageArea: string;
397
+ image: string;
398
+ icon: string;
399
+ buttonArea: string;
400
+ close: string;
401
+ closeIcon: string;
402
+ more: string;
403
+ moreIcon: string;
404
+ actions: string;
405
+ action: string;
406
+ actionButton: string;
407
+ actionIcon: string;
408
+ }, {
409
+ mode: {
410
+ fixed: {
411
+ root: string;
412
+ };
413
+ inline: {
414
+ root: string;
415
+ background: string;
416
+ };
417
+ };
418
+ placement: {
419
+ top: {
420
+ root: string;
421
+ };
422
+ bottom: {
423
+ root: string;
424
+ };
425
+ inline: {
426
+ root: string;
427
+ };
428
+ };
429
+ color: {
430
+ [k: string]: {};
431
+ } & {
432
+ neutral: {};
433
+ };
434
+ variant: {
435
+ solid: {};
436
+ outline: {};
437
+ soft: {
438
+ root: string;
439
+ };
440
+ subtle: {
441
+ root: string;
442
+ };
443
+ };
444
+ size: {
445
+ xs: {
446
+ background: string;
447
+ title: string;
448
+ description: string;
449
+ caption: string;
450
+ icon: string;
451
+ close: string;
452
+ more: string;
453
+ };
454
+ sm: {
455
+ background: string;
456
+ title: string;
457
+ description: string;
458
+ caption: string;
459
+ icon: string;
460
+ close: string;
461
+ more: string;
462
+ };
463
+ md: {
464
+ background: string;
465
+ title: string;
466
+ description: string;
467
+ caption: string;
468
+ icon: string;
469
+ close: string;
470
+ more: string;
471
+ };
472
+ lg: {
473
+ background: string;
474
+ title: string;
475
+ description: string;
476
+ caption: string;
477
+ icon: string;
478
+ close: string;
479
+ more: string;
480
+ };
481
+ xl: {
482
+ background: string;
483
+ title: string;
484
+ description: string;
485
+ caption: string;
486
+ icon: string;
487
+ close: string;
488
+ more: string;
489
+ };
490
+ };
491
+ imageShape: {
492
+ square: {
493
+ imageArea: string;
494
+ };
495
+ rect: {
496
+ imageArea: string;
497
+ };
498
+ full: {
499
+ imageArea: string;
500
+ };
501
+ };
502
+ imagePosition: {
503
+ none: {
504
+ imageArea: string;
505
+ image: string;
506
+ };
507
+ left: {
508
+ imageArea: string;
509
+ };
510
+ right: {
511
+ imageArea: string;
512
+ };
513
+ background: {
514
+ root: string;
515
+ imageArea: string;
516
+ image: string;
517
+ content: string;
518
+ };
519
+ };
520
+ }, {
521
+ color: "primary";
522
+ variant: "solid";
523
+ mode: "fixed";
524
+ placement: "top";
525
+ size: "md";
526
+ imagePosition: "none";
527
+ imageShape: "rect";
528
+ }> & {
529
+ defaultVariants: {
530
+ color: "primary";
531
+ variant: "solid";
532
+ mode: "fixed";
533
+ placement: "top";
534
+ size: "md";
535
+ imagePosition: "none";
536
+ imageShape: "rect";
537
+ };
538
+ };
539
+ //#endregion
540
+ //#region src/theme/definitions/button.d.ts
541
+ declare function buttonTheme(options?: ThemeOptions): ThemeDefinition<{
542
+ root: string;
543
+ label: string;
544
+ icon: string;
545
+ iconInner: string;
546
+ spinner: string;
547
+ spinnerIcon: string;
548
+ }, {
549
+ color: {
550
+ [k: string]: {};
551
+ } & {
552
+ neutral: {};
553
+ };
554
+ variant: {
555
+ solid: {
556
+ root: string;
557
+ };
558
+ outline: {
559
+ root: string;
560
+ };
561
+ ghost: {
562
+ root: string;
563
+ };
564
+ soft: {
565
+ root: string;
566
+ };
567
+ secondary: {
568
+ root: string;
569
+ };
570
+ };
571
+ size: {
572
+ xs: {
573
+ root: string;
574
+ icon: string;
575
+ spinner: string;
576
+ };
577
+ sm: {
578
+ root: string;
579
+ icon: string;
580
+ spinner: string;
581
+ };
582
+ md: {
583
+ root: string;
584
+ icon: string;
585
+ spinner: string;
586
+ };
587
+ lg: {
588
+ root: string;
589
+ icon: string;
590
+ spinner: string;
591
+ };
592
+ xl: {
593
+ root: string;
594
+ icon: string;
595
+ spinner: string;
596
+ };
597
+ };
598
+ block: {
599
+ true: {
600
+ root: string;
601
+ };
602
+ };
603
+ disabled: {
604
+ true: {
605
+ root: string;
606
+ };
607
+ };
608
+ loading: {
609
+ true: {
610
+ root: string;
611
+ };
612
+ };
613
+ }, {
614
+ variant: "solid";
615
+ color: "primary";
616
+ size: "md";
617
+ }> & {
618
+ defaultVariants: {
619
+ variant: "solid";
620
+ color: "primary";
621
+ size: "md";
622
+ };
623
+ };
624
+ //#endregion
625
+ //#region src/theme/definitions/card.d.ts
626
+ declare function cardTheme(_options?: ThemeOptions): ThemeDefinition<{
627
+ root: string;
628
+ header: string;
629
+ title: string;
630
+ description: string;
631
+ body: string;
632
+ footer: string;
633
+ }, {
634
+ variant: {
635
+ outline: {
636
+ root: string;
637
+ };
638
+ solid: {
639
+ root: string;
640
+ header: string;
641
+ title: string;
642
+ description: string;
643
+ body: string;
644
+ footer: string;
645
+ };
646
+ soft: {
647
+ root: string;
648
+ };
649
+ subtle: {
650
+ root: string;
651
+ };
652
+ };
653
+ size: {
654
+ sm: {
655
+ header: string;
656
+ body: string;
657
+ footer: string;
658
+ };
659
+ md: {
660
+ header: string;
661
+ body: string;
662
+ footer: string;
663
+ };
664
+ lg: {
665
+ header: string;
666
+ body: string;
667
+ footer: string;
668
+ };
669
+ };
670
+ }, {
671
+ variant: "outline";
672
+ size: "md";
673
+ }> & {
674
+ defaultVariants: {
675
+ variant: "outline";
676
+ size: "md";
677
+ };
678
+ };
679
+ //#endregion
680
+ //#region src/theme/definitions/checkbox.d.ts
681
+ declare function checkboxTheme(options?: ThemeOptions): ThemeDefinition<{
682
+ root: string;
683
+ base: string;
684
+ indicator: string;
685
+ icon: string;
686
+ wrapper: string;
687
+ label: string;
688
+ description: string;
689
+ }, {
690
+ variant: {
691
+ outline: {};
692
+ card: {
693
+ root: string;
694
+ };
695
+ };
696
+ color: {
697
+ [k: string]: {
698
+ base: string;
699
+ };
700
+ } & {
701
+ neutral: {
702
+ base: string;
703
+ };
704
+ };
705
+ size: {
706
+ xs: {
707
+ base: string;
708
+ indicator: string;
709
+ icon: string;
710
+ wrapper: string;
711
+ label: string;
712
+ description: string;
713
+ };
714
+ sm: {
715
+ base: string;
716
+ indicator: string;
717
+ icon: string;
718
+ wrapper: string;
719
+ label: string;
720
+ description: string;
721
+ };
722
+ md: {
723
+ base: string;
724
+ indicator: string;
725
+ icon: string;
726
+ wrapper: string;
727
+ label: string;
728
+ description: string;
729
+ };
730
+ lg: {
731
+ base: string;
732
+ indicator: string;
733
+ icon: string;
734
+ wrapper: string;
735
+ label: string;
736
+ description: string;
737
+ };
738
+ xl: {
739
+ base: string;
740
+ indicator: string;
741
+ icon: string;
742
+ wrapper: string;
743
+ label: string;
744
+ description: string;
745
+ };
746
+ };
747
+ checked: {
748
+ true: {
749
+ indicator: string;
750
+ };
751
+ false: {};
752
+ };
753
+ indeterminate: {
754
+ true: {
755
+ indicator: string;
756
+ };
757
+ false: {};
758
+ };
759
+ disabled: {
760
+ true: {
761
+ root: string;
762
+ base: string;
763
+ };
764
+ false: {};
765
+ };
766
+ invalid: {
767
+ true: {
768
+ base: string;
769
+ };
770
+ false: {};
771
+ };
772
+ required: {
773
+ true: {
774
+ label: string;
775
+ };
776
+ false: {};
777
+ };
778
+ }, {
779
+ variant: "outline";
780
+ color: "primary";
781
+ size: "md";
782
+ checked: false;
783
+ indeterminate: false;
784
+ disabled: false;
785
+ invalid: false;
786
+ required: false;
787
+ }> & {
788
+ defaultVariants: {
789
+ variant: "outline";
790
+ color: "primary";
791
+ size: "md";
792
+ checked: false;
793
+ indeterminate: false;
794
+ disabled: false;
795
+ invalid: false;
796
+ required: false;
797
+ };
798
+ };
799
+ //#endregion
800
+ //#region src/theme/definitions/checkbox-group.d.ts
801
+ declare function checkboxGroupTheme(options?: ThemeOptions): ThemeDefinition<{
802
+ root: string;
803
+ fieldset: string;
804
+ legend: string;
805
+ }, {
806
+ variant: {
807
+ outline: {};
808
+ card: {};
809
+ };
810
+ color: {
811
+ [k: string]: {};
812
+ } & {
813
+ neutral: {};
814
+ };
815
+ size: {
816
+ xs: {
817
+ legend: string;
818
+ };
819
+ sm: {
820
+ legend: string;
821
+ };
822
+ md: {
823
+ legend: string;
824
+ };
825
+ lg: {
826
+ legend: string;
827
+ };
828
+ xl: {
829
+ legend: string;
830
+ };
831
+ };
832
+ orientation: {
833
+ vertical: {
834
+ fieldset: string;
835
+ };
836
+ horizontal: {
837
+ fieldset: string;
838
+ };
839
+ };
840
+ disabled: {
841
+ true: {};
842
+ false: {};
843
+ };
844
+ required: {
845
+ true: {
846
+ legend: string;
847
+ };
848
+ false: {};
849
+ };
850
+ invalid: {
851
+ true: {};
852
+ false: {};
853
+ };
854
+ }, {
855
+ variant: "outline";
856
+ color: "primary";
857
+ size: "md";
858
+ orientation: "vertical";
859
+ disabled: false;
860
+ required: false;
861
+ invalid: false;
862
+ }> & {
863
+ defaultVariants: {
864
+ variant: "outline";
865
+ color: "primary";
866
+ size: "md";
867
+ orientation: "vertical";
868
+ disabled: false;
869
+ required: false;
870
+ invalid: false;
871
+ };
872
+ };
873
+ //#endregion
874
+ //#region src/theme/definitions/chip.d.ts
875
+ declare function chipTheme(options?: ThemeOptions): ThemeDefinition<{
876
+ root: string;
877
+ base: string;
878
+ }, {
879
+ color: {
880
+ [k: string]: {};
881
+ } & {
882
+ neutral: {};
883
+ };
884
+ size: {
885
+ xs: {
886
+ base: string;
887
+ };
888
+ sm: {
889
+ base: string;
890
+ };
891
+ md: {
892
+ base: string;
893
+ };
894
+ lg: {
895
+ base: string;
896
+ };
897
+ xl: {
898
+ base: string;
899
+ };
900
+ };
901
+ position: {
902
+ "top-right": {
903
+ base: string;
904
+ };
905
+ "bottom-right": {
906
+ base: string;
907
+ };
908
+ "top-left": {
909
+ base: string;
910
+ };
911
+ "bottom-left": {
912
+ base: string;
913
+ };
914
+ };
915
+ inset: {
916
+ true: {
917
+ base: string;
918
+ };
919
+ false: {
920
+ base: string;
921
+ };
922
+ };
923
+ standalone: {
924
+ true: {
925
+ base: string;
926
+ };
927
+ false: {
928
+ base: string;
929
+ };
930
+ };
931
+ }, {
932
+ size: "md";
933
+ color: "primary";
934
+ position: "top-right";
935
+ inset: false;
936
+ standalone: false;
937
+ }> & {
938
+ defaultVariants: {
939
+ size: "md";
940
+ color: "primary";
941
+ position: "top-right";
942
+ inset: false;
943
+ standalone: false;
944
+ };
945
+ };
946
+ //#endregion
947
+ //#region src/theme/definitions/divider.d.ts
948
+ declare function dividerTheme(options?: ThemeOptions): ThemeDefinition<{
949
+ root: string;
950
+ container: string;
951
+ border: string;
952
+ icon: string;
953
+ label: string;
954
+ }, {
955
+ color: {
956
+ [k: string]: {};
957
+ } & {
958
+ neutral: {};
959
+ };
960
+ size: {
961
+ xs: {
962
+ container: string;
963
+ };
964
+ sm: {
965
+ container: string;
966
+ };
967
+ md: {
968
+ container: string;
969
+ };
970
+ lg: {
971
+ container: string;
972
+ };
973
+ xl: {
974
+ container: string;
975
+ };
976
+ };
977
+ type: {
978
+ solid: {
979
+ border: string;
980
+ };
981
+ dashed: {
982
+ border: string;
983
+ };
984
+ dotted: {
985
+ border: string;
986
+ };
987
+ };
988
+ orientation: {
989
+ horizontal: {
990
+ root: string;
991
+ border: string;
992
+ };
993
+ vertical: {
994
+ root: string;
995
+ border: string;
996
+ };
997
+ };
998
+ position: {
999
+ center: {};
1000
+ start: {};
1001
+ end: {};
1002
+ };
1003
+ }, {
1004
+ color: "neutral";
1005
+ size: "xs";
1006
+ type: "solid";
1007
+ orientation: "horizontal";
1008
+ position: "center";
1009
+ }> & {
1010
+ defaultVariants: {
1011
+ color: "neutral";
1012
+ size: "xs";
1013
+ type: "solid";
1014
+ orientation: "horizontal";
1015
+ position: "center";
1016
+ };
1017
+ };
1018
+ //#endregion
1019
+ //#region src/theme/definitions/drawer.d.ts
1020
+ declare function drawerTheme(_options?: ThemeOptions): ThemeDefinition<{
1021
+ root: string;
1022
+ backdrop: string;
1023
+ content: string;
1024
+ container: string;
1025
+ grabber: string;
1026
+ grabberBar: string;
1027
+ header: string;
1028
+ headerContent: string;
1029
+ closeTrigger: string;
1030
+ closeButton: string;
1031
+ closeIcon: string;
1032
+ body: string;
1033
+ footer: string;
1034
+ }, {
1035
+ placement: {
1036
+ bottom: {
1037
+ root: string;
1038
+ content: string;
1039
+ container: string;
1040
+ body: string;
1041
+ grabber: string;
1042
+ grabberBar: string;
1043
+ };
1044
+ top: {
1045
+ root: string;
1046
+ content: string;
1047
+ container: string;
1048
+ body: string;
1049
+ grabber: string;
1050
+ grabberBar: string;
1051
+ header: string;
1052
+ footer: string;
1053
+ };
1054
+ left: {
1055
+ root: string;
1056
+ content: string;
1057
+ container: string;
1058
+ body: string;
1059
+ grabber: string;
1060
+ grabberBar: string;
1061
+ header: string;
1062
+ };
1063
+ right: {
1064
+ root: string;
1065
+ content: string;
1066
+ container: string;
1067
+ body: string;
1068
+ grabber: string;
1069
+ grabberBar: string;
1070
+ header: string;
1071
+ };
1072
+ };
1073
+ open: {
1074
+ true: {
1075
+ backdrop: string;
1076
+ content: string;
1077
+ };
1078
+ false: {
1079
+ backdrop: string;
1080
+ };
1081
+ };
1082
+ keyboardOpen: {
1083
+ true: {
1084
+ footer: string;
1085
+ };
1086
+ false: {};
1087
+ };
1088
+ }, {
1089
+ placement: "bottom";
1090
+ open: true;
1091
+ keyboardOpen: false;
1092
+ }> & {
1093
+ defaultVariants: {
1094
+ placement: "bottom";
1095
+ open: true;
1096
+ keyboardOpen: false;
1097
+ };
1098
+ };
1099
+ //#endregion
1100
+ //#region src/theme/definitions/file-upload.d.ts
1101
+ declare function fileUploadTheme(options?: ThemeOptions): ThemeDefinition<{
1102
+ root: string;
1103
+ dropzone: string;
1104
+ icon: string;
1105
+ iconInner: string;
1106
+ loadingIcon: string;
1107
+ content: string;
1108
+ title: string;
1109
+ description: string;
1110
+ fileList: string;
1111
+ file: string;
1112
+ fileLeading: string;
1113
+ fileImage: string;
1114
+ fileContent: string;
1115
+ fileName: string;
1116
+ fileSize: string;
1117
+ fileTrailing: string;
1118
+ fileIcon: string;
1119
+ fileRemove: string;
1120
+ fileRemoveIcon: string;
1121
+ fileProgress: string;
1122
+ previewOverlay: string;
1123
+ previewHeader: string;
1124
+ previewCounter: string;
1125
+ previewClose: string;
1126
+ previewCloseIcon: string;
1127
+ previewSwiper: string;
1128
+ previewSlide: string;
1129
+ previewImage: string;
1130
+ previewFooter: string;
1131
+ previewName: string;
1132
+ previewMeta: string;
1133
+ }, {
1134
+ color: {
1135
+ [k: string]: {
1136
+ dropzone: string;
1137
+ };
1138
+ } & {
1139
+ neutral: {
1140
+ dropzone: string;
1141
+ };
1142
+ };
1143
+ variant: {
1144
+ outline: {
1145
+ dropzone: string;
1146
+ file: string;
1147
+ };
1148
+ soft: {
1149
+ dropzone: string;
1150
+ file: string;
1151
+ };
1152
+ subtle: {
1153
+ dropzone: string;
1154
+ file: string;
1155
+ };
1156
+ none: {
1157
+ dropzone: string;
1158
+ file: string;
1159
+ };
1160
+ };
1161
+ size: {
1162
+ sm: {
1163
+ dropzone: string;
1164
+ icon: string;
1165
+ title: string;
1166
+ description: string;
1167
+ file: string;
1168
+ fileLeading: string;
1169
+ fileName: string;
1170
+ fileSize: string;
1171
+ fileRemove: string;
1172
+ };
1173
+ md: {
1174
+ dropzone: string;
1175
+ icon: string;
1176
+ title: string;
1177
+ description: string;
1178
+ file: string;
1179
+ fileLeading: string;
1180
+ fileName: string;
1181
+ fileSize: string;
1182
+ fileRemove: string;
1183
+ };
1184
+ lg: {
1185
+ dropzone: string;
1186
+ icon: string;
1187
+ title: string;
1188
+ description: string;
1189
+ file: string;
1190
+ fileLeading: string;
1191
+ fileName: string;
1192
+ fileSize: string;
1193
+ fileRemove: string;
1194
+ };
1195
+ xl: {
1196
+ dropzone: string;
1197
+ icon: string;
1198
+ title: string;
1199
+ description: string;
1200
+ file: string;
1201
+ fileLeading: string;
1202
+ fileName: string;
1203
+ fileSize: string;
1204
+ fileRemove: string;
1205
+ };
1206
+ };
1207
+ layout: {
1208
+ list: {
1209
+ fileList: string;
1210
+ };
1211
+ grid: {
1212
+ fileList: string;
1213
+ file: string;
1214
+ fileLeading: string;
1215
+ fileTrailing: string;
1216
+ fileRemove: string;
1217
+ fileContent: string;
1218
+ fileName: string;
1219
+ fileSize: string;
1220
+ fileProgress: string;
1221
+ };
1222
+ };
1223
+ dropzone: {
1224
+ true: {};
1225
+ false: {};
1226
+ };
1227
+ disabled: {
1228
+ true: {
1229
+ root: string;
1230
+ dropzone: string;
1231
+ };
1232
+ };
1233
+ invalid: {
1234
+ true: {
1235
+ dropzone: string;
1236
+ };
1237
+ };
1238
+ }, {
1239
+ color: "primary";
1240
+ variant: "outline";
1241
+ size: "md";
1242
+ layout: "list";
1243
+ disabled: false;
1244
+ invalid: false;
1245
+ }> & {
1246
+ defaultVariants: {
1247
+ color: "primary";
1248
+ variant: "outline";
1249
+ size: "md";
1250
+ layout: "list";
1251
+ disabled: false;
1252
+ invalid: false;
1253
+ };
1254
+ };
1255
+ //#endregion
1256
+ //#region src/theme/definitions/popover.d.ts
1257
+ declare function popoverTheme(_options?: ThemeOptions): ThemeDefinition<{
1258
+ root: string;
1259
+ trigger: string;
1260
+ backdrop: string;
1261
+ positioner: string;
1262
+ content: string;
1263
+ body: string;
1264
+ arrow: string;
1265
+ }, {
1266
+ portal: {
1267
+ true: {
1268
+ positioner: string;
1269
+ };
1270
+ false: {
1271
+ positioner: string;
1272
+ };
1273
+ };
1274
+ block: {
1275
+ true: {
1276
+ root: string;
1277
+ trigger: string;
1278
+ };
1279
+ false: {
1280
+ root: string;
1281
+ trigger: string;
1282
+ };
1283
+ };
1284
+ open: {
1285
+ true: {
1286
+ backdrop: string;
1287
+ content: string;
1288
+ };
1289
+ false: {
1290
+ backdrop: string;
1291
+ content: string;
1292
+ };
1293
+ };
1294
+ visible: {
1295
+ true: {
1296
+ root: string;
1297
+ trigger: string;
1298
+ };
1299
+ false: {};
1300
+ };
1301
+ side: {
1302
+ bottom: {
1303
+ arrow: string;
1304
+ };
1305
+ top: {
1306
+ arrow: string;
1307
+ };
1308
+ };
1309
+ }, {
1310
+ portal: false;
1311
+ block: false;
1312
+ open: false;
1313
+ visible: false;
1314
+ side: "bottom";
1315
+ }> & {
1316
+ defaultVariants: {
1317
+ portal: false;
1318
+ block: false;
1319
+ open: false;
1320
+ visible: false;
1321
+ side: "bottom";
1322
+ };
1323
+ };
1324
+ //#endregion
1325
+ //#region src/theme/definitions/form.d.ts
1326
+ declare function formTheme(options?: ThemeOptions): ThemeDefinition<{
1327
+ root: string;
1328
+ errors: string;
1329
+ error: string;
1330
+ }, {
1331
+ disabled: {
1332
+ true: {
1333
+ root: string;
1334
+ };
1335
+ false: {
1336
+ root: string;
1337
+ };
1338
+ };
1339
+ }, {
1340
+ disabled: false;
1341
+ }> & {
1342
+ defaultVariants: {
1343
+ disabled: false;
1344
+ };
1345
+ };
1346
+ //#endregion
1347
+ //#region src/theme/definitions/form-field.d.ts
1348
+ declare function formFieldTheme(options?: ThemeOptions): ThemeDefinition<{
1349
+ root: string;
1350
+ wrapper: string;
1351
+ labelWrapper: string;
1352
+ labelInner: string;
1353
+ label: string;
1354
+ container: string;
1355
+ description: string;
1356
+ error: string;
1357
+ hint: string;
1358
+ help: string;
1359
+ required: string;
1360
+ }, {
1361
+ size: {
1362
+ xs: {
1363
+ root: string;
1364
+ label: string;
1365
+ description: string;
1366
+ error: string;
1367
+ help: string;
1368
+ hint: string;
1369
+ };
1370
+ sm: {
1371
+ root: string;
1372
+ label: string;
1373
+ description: string;
1374
+ error: string;
1375
+ help: string;
1376
+ hint: string;
1377
+ };
1378
+ md: {
1379
+ root: string;
1380
+ label: string;
1381
+ description: string;
1382
+ error: string;
1383
+ help: string;
1384
+ hint: string;
1385
+ };
1386
+ lg: {
1387
+ root: string;
1388
+ label: string;
1389
+ description: string;
1390
+ error: string;
1391
+ help: string;
1392
+ hint: string;
1393
+ };
1394
+ xl: {
1395
+ root: string;
1396
+ label: string;
1397
+ description: string;
1398
+ error: string;
1399
+ help: string;
1400
+ hint: string;
1401
+ };
1402
+ };
1403
+ disabled: {
1404
+ true: {
1405
+ root: string;
1406
+ };
1407
+ false: {
1408
+ root: string;
1409
+ };
1410
+ };
1411
+ required: {
1412
+ true: {};
1413
+ false: {};
1414
+ };
1415
+ }, {
1416
+ size: "md";
1417
+ disabled: false;
1418
+ required: false;
1419
+ }> & {
1420
+ defaultVariants: {
1421
+ size: "md";
1422
+ disabled: false;
1423
+ required: false;
1424
+ };
1425
+ };
1426
+ //#endregion
1427
+ //#region src/theme/definitions/icon.d.ts
1428
+ declare function iconTheme(options?: ThemeOptions): ThemeDefinition<{
1429
+ root: string;
1430
+ }, {
1431
+ size: {
1432
+ xs: {
1433
+ root: string;
1434
+ };
1435
+ sm: {
1436
+ root: string;
1437
+ };
1438
+ md: {
1439
+ root: string;
1440
+ };
1441
+ lg: {
1442
+ root: string;
1443
+ };
1444
+ xl: {
1445
+ root: string;
1446
+ };
1447
+ };
1448
+ color: {
1449
+ [k: string]: {
1450
+ root: string;
1451
+ };
1452
+ } & {
1453
+ neutral: {
1454
+ root: string;
1455
+ };
1456
+ };
1457
+ spin: {
1458
+ true: {
1459
+ root: string;
1460
+ };
1461
+ };
1462
+ }, DefaultVariants<{
1463
+ size: {
1464
+ xs: {
1465
+ root: string;
1466
+ };
1467
+ sm: {
1468
+ root: string;
1469
+ };
1470
+ md: {
1471
+ root: string;
1472
+ };
1473
+ lg: {
1474
+ root: string;
1475
+ };
1476
+ xl: {
1477
+ root: string;
1478
+ };
1479
+ };
1480
+ color: {
1481
+ [k: string]: {
1482
+ root: string;
1483
+ };
1484
+ } & {
1485
+ neutral: {
1486
+ root: string;
1487
+ };
1488
+ };
1489
+ spin: {
1490
+ true: {
1491
+ root: string;
1492
+ };
1493
+ };
1494
+ }>> & {
1495
+ defaultVariants: DefaultVariants<{
1496
+ size: {
1497
+ xs: {
1498
+ root: string;
1499
+ };
1500
+ sm: {
1501
+ root: string;
1502
+ };
1503
+ md: {
1504
+ root: string;
1505
+ };
1506
+ lg: {
1507
+ root: string;
1508
+ };
1509
+ xl: {
1510
+ root: string;
1511
+ };
1512
+ };
1513
+ color: {
1514
+ [k: string]: {
1515
+ root: string;
1516
+ };
1517
+ } & {
1518
+ neutral: {
1519
+ root: string;
1520
+ };
1521
+ };
1522
+ spin: {
1523
+ true: {
1524
+ root: string;
1525
+ };
1526
+ };
1527
+ }>;
1528
+ };
1529
+ //#endregion
1530
+ //#region src/theme/definitions/input.d.ts
1531
+ declare function inputTheme(options?: ThemeOptions): ThemeDefinition<{
1532
+ root: string;
1533
+ base: string;
1534
+ nativeInput: string;
1535
+ leading: string;
1536
+ leadingIcon: string;
1537
+ trailing: string;
1538
+ trailingIcon: string;
1539
+ iconInner: string;
1540
+ loadingIcon: string;
1541
+ }, {
1542
+ color: {
1543
+ [k: string]: {
1544
+ base: string;
1545
+ };
1546
+ } & {
1547
+ neutral: {
1548
+ base: string;
1549
+ };
1550
+ };
1551
+ variant: {
1552
+ outline: {
1553
+ base: string;
1554
+ };
1555
+ soft: {
1556
+ base: string;
1557
+ };
1558
+ subtle: {
1559
+ base: string;
1560
+ };
1561
+ ghost: {
1562
+ base: string;
1563
+ };
1564
+ none: {
1565
+ base: string;
1566
+ };
1567
+ };
1568
+ size: {
1569
+ xs: {
1570
+ base: string;
1571
+ leadingIcon: string;
1572
+ trailingIcon: string;
1573
+ };
1574
+ sm: {
1575
+ base: string;
1576
+ leadingIcon: string;
1577
+ trailingIcon: string;
1578
+ };
1579
+ md: {
1580
+ base: string;
1581
+ leadingIcon: string;
1582
+ trailingIcon: string;
1583
+ };
1584
+ lg: {
1585
+ base: string;
1586
+ leadingIcon: string;
1587
+ trailingIcon: string;
1588
+ };
1589
+ xl: {
1590
+ base: string;
1591
+ leadingIcon: string;
1592
+ trailingIcon: string;
1593
+ };
1594
+ };
1595
+ leading: {
1596
+ true: {
1597
+ base: string;
1598
+ };
1599
+ false: {
1600
+ base: string;
1601
+ };
1602
+ };
1603
+ trailing: {
1604
+ true: {
1605
+ base: string;
1606
+ };
1607
+ false: {
1608
+ base: string;
1609
+ };
1610
+ };
1611
+ highlight: {
1612
+ true: {
1613
+ base: string;
1614
+ };
1615
+ false: {
1616
+ base: string;
1617
+ };
1618
+ };
1619
+ disabled: {
1620
+ true: {
1621
+ root: string;
1622
+ base: string;
1623
+ };
1624
+ false: {
1625
+ base: string;
1626
+ };
1627
+ };
1628
+ invalid: {
1629
+ true: {
1630
+ base: string;
1631
+ };
1632
+ false: {
1633
+ base: string;
1634
+ };
1635
+ };
1636
+ }, {
1637
+ variant: "outline";
1638
+ color: "primary";
1639
+ size: "md";
1640
+ leading: false;
1641
+ trailing: false;
1642
+ highlight: false;
1643
+ disabled: false;
1644
+ invalid: false;
1645
+ }> & {
1646
+ defaultVariants: {
1647
+ variant: "outline";
1648
+ color: "primary";
1649
+ size: "md";
1650
+ leading: false;
1651
+ trailing: false;
1652
+ highlight: false;
1653
+ disabled: false;
1654
+ invalid: false;
1655
+ };
1656
+ };
1657
+ //#endregion
1658
+ //#region src/theme/definitions/input-menu.d.ts
1659
+ declare function inputMenuTheme(options?: ThemeOptions): ThemeDefinition<{
1660
+ root: string;
1661
+ base: string;
1662
+ leading: string;
1663
+ leadingIcon: string;
1664
+ tagsWrapper: string;
1665
+ tagsItem: string;
1666
+ tagsItemIcon: string;
1667
+ tagsItemText: string;
1668
+ tagsItemDelete: string;
1669
+ tagsItemDeleteIcon: string;
1670
+ nativeInput: string;
1671
+ trailing: string;
1672
+ trailingIcon: string;
1673
+ iconInner: string;
1674
+ loadingIcon: string;
1675
+ content: string;
1676
+ viewport: string;
1677
+ header: string;
1678
+ footer: string;
1679
+ empty: string;
1680
+ createItem: string;
1681
+ createItemIcon: string;
1682
+ createItemLabel: string;
1683
+ }, {
1684
+ color: {
1685
+ [k: string]: {};
1686
+ } & {
1687
+ neutral: {};
1688
+ };
1689
+ variant: {
1690
+ outline: {
1691
+ base: string;
1692
+ };
1693
+ soft: {
1694
+ base: string;
1695
+ tagsItem: string;
1696
+ };
1697
+ subtle: {
1698
+ base: string;
1699
+ tagsItem: string;
1700
+ };
1701
+ ghost: {
1702
+ base: string;
1703
+ };
1704
+ none: {
1705
+ base: string;
1706
+ };
1707
+ };
1708
+ size: {
1709
+ xs: {
1710
+ base: string;
1711
+ leadingIcon: string;
1712
+ trailingIcon: string;
1713
+ tagsItem: string;
1714
+ tagsItemIcon: string;
1715
+ tagsItemDeleteIcon: string;
1716
+ createItem: string;
1717
+ createItemIcon: string;
1718
+ };
1719
+ sm: {
1720
+ base: string;
1721
+ leadingIcon: string;
1722
+ trailingIcon: string;
1723
+ tagsItem: string;
1724
+ tagsItemIcon: string;
1725
+ tagsItemDeleteIcon: string;
1726
+ createItem: string;
1727
+ createItemIcon: string;
1728
+ };
1729
+ md: {
1730
+ base: string;
1731
+ leadingIcon: string;
1732
+ trailingIcon: string;
1733
+ tagsItem: string;
1734
+ tagsItemIcon: string;
1735
+ tagsItemDeleteIcon: string;
1736
+ createItem: string;
1737
+ createItemIcon: string;
1738
+ };
1739
+ lg: {
1740
+ base: string;
1741
+ leadingIcon: string;
1742
+ trailingIcon: string;
1743
+ tagsItem: string;
1744
+ tagsItemIcon: string;
1745
+ tagsItemDeleteIcon: string;
1746
+ createItem: string;
1747
+ createItemIcon: string;
1748
+ };
1749
+ xl: {
1750
+ base: string;
1751
+ leadingIcon: string;
1752
+ trailingIcon: string;
1753
+ tagsItem: string;
1754
+ tagsItemIcon: string;
1755
+ tagsItemDeleteIcon: string;
1756
+ createItem: string;
1757
+ createItemIcon: string;
1758
+ };
1759
+ };
1760
+ multiple: {
1761
+ true: {
1762
+ base: string;
1763
+ tagsWrapper: string;
1764
+ nativeInput: string;
1765
+ };
1766
+ false: {};
1767
+ };
1768
+ open: {
1769
+ true: {
1770
+ root: string;
1771
+ trailingIcon: string;
1772
+ };
1773
+ false: {};
1774
+ };
1775
+ focused: {
1776
+ true: {};
1777
+ false: {};
1778
+ };
1779
+ leading: {
1780
+ true: {
1781
+ base: string;
1782
+ };
1783
+ false: {
1784
+ base: string;
1785
+ };
1786
+ };
1787
+ trailing: {
1788
+ true: {
1789
+ base: string;
1790
+ };
1791
+ false: {
1792
+ base: string;
1793
+ };
1794
+ };
1795
+ highlight: {
1796
+ true: {
1797
+ base: string;
1798
+ };
1799
+ false: {
1800
+ base: string;
1801
+ };
1802
+ };
1803
+ disabled: {
1804
+ true: {
1805
+ root: string;
1806
+ base: string;
1807
+ };
1808
+ false: {};
1809
+ };
1810
+ invalid: {
1811
+ true: {
1812
+ base: string;
1813
+ };
1814
+ false: {};
1815
+ };
1816
+ }, {
1817
+ variant: "outline";
1818
+ color: "primary";
1819
+ size: "md";
1820
+ multiple: false;
1821
+ open: false;
1822
+ focused: false;
1823
+ leading: false;
1824
+ trailing: true;
1825
+ highlight: false;
1826
+ disabled: false;
1827
+ invalid: false;
1828
+ }> & {
1829
+ defaultVariants: {
1830
+ variant: "outline";
1831
+ color: "primary";
1832
+ size: "md";
1833
+ multiple: false;
1834
+ open: false;
1835
+ focused: false;
1836
+ leading: false;
1837
+ trailing: true;
1838
+ highlight: false;
1839
+ disabled: false;
1840
+ invalid: false;
1841
+ };
1842
+ };
1843
+ //#endregion
1844
+ //#region src/theme/definitions/input-menu-item.d.ts
1845
+ declare function inputMenuItemTheme(options?: ThemeOptions): ThemeDefinition<{
1846
+ root: string;
1847
+ base: string;
1848
+ leading: string;
1849
+ leadingIcon: string;
1850
+ wrapper: string;
1851
+ label: string;
1852
+ description: string;
1853
+ trailing: string;
1854
+ trailingIcon: string;
1855
+ groupLabel: string;
1856
+ separator: string;
1857
+ }, {
1858
+ color: {
1859
+ [k: string]: {};
1860
+ } & {
1861
+ neutral: {};
1862
+ };
1863
+ size: {
1864
+ xs: {
1865
+ base: string;
1866
+ leadingIcon: string;
1867
+ trailingIcon: string;
1868
+ description: string;
1869
+ groupLabel: string;
1870
+ };
1871
+ sm: {
1872
+ base: string;
1873
+ leadingIcon: string;
1874
+ trailingIcon: string;
1875
+ description: string;
1876
+ groupLabel: string;
1877
+ };
1878
+ md: {
1879
+ base: string;
1880
+ leadingIcon: string;
1881
+ trailingIcon: string;
1882
+ description: string;
1883
+ groupLabel: string;
1884
+ };
1885
+ lg: {
1886
+ base: string;
1887
+ leadingIcon: string;
1888
+ trailingIcon: string;
1889
+ description: string;
1890
+ groupLabel: string;
1891
+ };
1892
+ xl: {
1893
+ base: string;
1894
+ leadingIcon: string;
1895
+ trailingIcon: string;
1896
+ description: string;
1897
+ groupLabel: string;
1898
+ };
1899
+ };
1900
+ selected: {
1901
+ true: {
1902
+ base: string;
1903
+ label: string;
1904
+ };
1905
+ false: {};
1906
+ };
1907
+ disabled: {
1908
+ true: {
1909
+ base: string;
1910
+ };
1911
+ false: {};
1912
+ };
1913
+ }, {
1914
+ color: "primary";
1915
+ size: "md";
1916
+ selected: false;
1917
+ disabled: false;
1918
+ }> & {
1919
+ defaultVariants: {
1920
+ color: "primary";
1921
+ size: "md";
1922
+ selected: false;
1923
+ disabled: false;
1924
+ };
1925
+ };
1926
+ //#endregion
1927
+ //#region src/theme/definitions/modal.d.ts
1928
+ declare function modalTheme(_options?: ThemeOptions): ThemeDefinition<{
1929
+ root: string;
1930
+ trigger: string;
1931
+ overlay: string;
1932
+ container: string;
1933
+ content: string;
1934
+ header: string;
1935
+ wrapper: string;
1936
+ title: string;
1937
+ description: string;
1938
+ closeTrigger: string;
1939
+ closeButton: string;
1940
+ closeIcon: string;
1941
+ body: string;
1942
+ footer: string;
1943
+ }, {
1944
+ size: {
1945
+ xs: {
1946
+ content: string;
1947
+ };
1948
+ sm: {
1949
+ content: string;
1950
+ };
1951
+ md: {
1952
+ content: string;
1953
+ };
1954
+ lg: {
1955
+ content: string;
1956
+ };
1957
+ xl: {
1958
+ content: string;
1959
+ };
1960
+ };
1961
+ fullscreen: {
1962
+ true: {
1963
+ container: string;
1964
+ content: string;
1965
+ header: string;
1966
+ closeTrigger: string;
1967
+ footer: string;
1968
+ };
1969
+ false: {
1970
+ container: string;
1971
+ content: string;
1972
+ };
1973
+ };
1974
+ scrollable: {
1975
+ true: {
1976
+ root: string;
1977
+ container: string;
1978
+ body: string;
1979
+ };
1980
+ false: {
1981
+ root: string;
1982
+ container: string;
1983
+ body: string;
1984
+ };
1985
+ };
1986
+ closable: {
1987
+ true: {};
1988
+ false: {};
1989
+ };
1990
+ hasBody: {
1991
+ true: {};
1992
+ false: {};
1993
+ };
1994
+ hasFooter: {
1995
+ true: {};
1996
+ false: {};
1997
+ };
1998
+ transition: {
1999
+ true: {
2000
+ overlay: string;
2001
+ content: string;
2002
+ };
2003
+ false: {
2004
+ overlay: string;
2005
+ content: string;
2006
+ };
2007
+ };
2008
+ open: {
2009
+ true: {
2010
+ overlay: string;
2011
+ };
2012
+ false: {
2013
+ overlay: string;
2014
+ };
2015
+ };
2016
+ }, {
2017
+ size: "md";
2018
+ fullscreen: false;
2019
+ scrollable: false;
2020
+ closable: true;
2021
+ hasBody: true;
2022
+ hasFooter: false;
2023
+ transition: true;
2024
+ open: false;
2025
+ }> & {
2026
+ defaultVariants: {
2027
+ size: "md";
2028
+ fullscreen: false;
2029
+ scrollable: false;
2030
+ closable: true;
2031
+ hasBody: true;
2032
+ hasFooter: false;
2033
+ transition: true;
2034
+ open: false;
2035
+ };
2036
+ };
2037
+ //#endregion
2038
+ //#region src/theme/definitions/pin-input.d.ts
2039
+ declare function pinInputTheme(options?: ThemeOptions): ThemeDefinition<{
2040
+ root: string;
2041
+ label: string;
2042
+ control: string;
2043
+ input: string;
2044
+ nativeInput: string;
2045
+ separator: string;
2046
+ }, {
2047
+ color: {
2048
+ [k: string]: {
2049
+ input: string;
2050
+ };
2051
+ } & {
2052
+ neutral: {
2053
+ input: string;
2054
+ };
2055
+ };
2056
+ variant: {
2057
+ outline: {
2058
+ input: string;
2059
+ };
2060
+ soft: {
2061
+ input: string;
2062
+ };
2063
+ subtle: {
2064
+ input: string;
2065
+ };
2066
+ ghost: {
2067
+ input: string;
2068
+ };
2069
+ none: {
2070
+ input: string;
2071
+ };
2072
+ };
2073
+ size: {
2074
+ xs: {
2075
+ input: string;
2076
+ separator: string;
2077
+ };
2078
+ sm: {
2079
+ input: string;
2080
+ separator: string;
2081
+ };
2082
+ md: {
2083
+ input: string;
2084
+ separator: string;
2085
+ };
2086
+ lg: {
2087
+ input: string;
2088
+ separator: string;
2089
+ };
2090
+ xl: {
2091
+ input: string;
2092
+ separator: string;
2093
+ };
2094
+ };
2095
+ highlight: {
2096
+ true: {
2097
+ input: string;
2098
+ };
2099
+ false: {
2100
+ input: string;
2101
+ };
2102
+ };
2103
+ disabled: {
2104
+ true: {
2105
+ root: string;
2106
+ input: string;
2107
+ };
2108
+ false: {
2109
+ input: string;
2110
+ };
2111
+ };
2112
+ invalid: {
2113
+ true: {
2114
+ input: string;
2115
+ };
2116
+ false: {
2117
+ input: string;
2118
+ };
2119
+ };
2120
+ }, {
2121
+ variant: "outline";
2122
+ color: "primary";
2123
+ size: "md";
2124
+ highlight: false;
2125
+ disabled: false;
2126
+ invalid: false;
2127
+ }> & {
2128
+ defaultVariants: {
2129
+ variant: "outline";
2130
+ color: "primary";
2131
+ size: "md";
2132
+ highlight: false;
2133
+ disabled: false;
2134
+ invalid: false;
2135
+ };
2136
+ };
2137
+ //#endregion
2138
+ //#region src/theme/definitions/progress.d.ts
2139
+ declare function progressTheme(options?: ThemeOptions): ThemeDefinition<{
2140
+ root: string;
2141
+ header: string;
2142
+ track: string;
2143
+ range: string;
2144
+ label: string;
2145
+ valueText: string;
2146
+ view: string;
2147
+ circle: string;
2148
+ circleTrack: string;
2149
+ circleRange: string;
2150
+ circleOverlay: string;
2151
+ circleContent: string;
2152
+ }, {
2153
+ color: {
2154
+ [k: string]: {};
2155
+ } & {
2156
+ neutral: {};
2157
+ };
2158
+ size: {
2159
+ "2xs": {
2160
+ track: string;
2161
+ circle: string;
2162
+ label: string;
2163
+ valueText: string;
2164
+ };
2165
+ xs: {
2166
+ track: string;
2167
+ circle: string;
2168
+ label: string;
2169
+ valueText: string;
2170
+ };
2171
+ sm: {
2172
+ track: string;
2173
+ circle: string;
2174
+ label: string;
2175
+ valueText: string;
2176
+ };
2177
+ md: {
2178
+ track: string;
2179
+ circle: string;
2180
+ label: string;
2181
+ valueText: string;
2182
+ };
2183
+ lg: {
2184
+ track: string;
2185
+ circle: string;
2186
+ label: string;
2187
+ valueText: string;
2188
+ };
2189
+ xl: {
2190
+ track: string;
2191
+ circle: string;
2192
+ label: string;
2193
+ valueText: string;
2194
+ };
2195
+ "2xl": {
2196
+ track: string;
2197
+ circle: string;
2198
+ label: string;
2199
+ valueText: string;
2200
+ };
2201
+ };
2202
+ orientation: {
2203
+ horizontal: {
2204
+ root: string;
2205
+ track: string;
2206
+ range: string;
2207
+ };
2208
+ vertical: {
2209
+ root: string;
2210
+ track: string;
2211
+ range: string;
2212
+ };
2213
+ };
2214
+ type: {
2215
+ linear: {
2216
+ root: string;
2217
+ view: string;
2218
+ };
2219
+ circular: {
2220
+ root: string;
2221
+ track: string;
2222
+ };
2223
+ };
2224
+ indeterminate: {
2225
+ true: {
2226
+ range: string;
2227
+ circle: string;
2228
+ };
2229
+ false: {};
2230
+ };
2231
+ striped: {
2232
+ true: {
2233
+ range: string;
2234
+ };
2235
+ false: {};
2236
+ };
2237
+ animated: {
2238
+ true: {
2239
+ range: string;
2240
+ };
2241
+ false: {};
2242
+ };
2243
+ inverted: {
2244
+ true: {
2245
+ track: string;
2246
+ };
2247
+ false: {};
2248
+ };
2249
+ }, {
2250
+ color: "primary";
2251
+ size: "md";
2252
+ type: "linear";
2253
+ orientation: "horizontal";
2254
+ indeterminate: false;
2255
+ striped: false;
2256
+ animated: false;
2257
+ inverted: false;
2258
+ }> & {
2259
+ defaultVariants: {
2260
+ color: "primary";
2261
+ size: "md";
2262
+ type: "linear";
2263
+ orientation: "horizontal";
2264
+ indeterminate: false;
2265
+ striped: false;
2266
+ animated: false;
2267
+ inverted: false;
2268
+ };
2269
+ };
2270
+ //#endregion
2271
+ //#region src/theme/definitions/pull-down-refresh.d.ts
2272
+ declare function pullDownRefreshTheme(_options?: ThemeOptions): ThemeDefinition<{
2273
+ root: string;
2274
+ header: string;
2275
+ track: string;
2276
+ tips: string;
2277
+ indicator: string;
2278
+ text: string;
2279
+ content: string;
2280
+ }, {
2281
+ disabled: {
2282
+ true: {};
2283
+ false: {};
2284
+ };
2285
+ status: {
2286
+ idle: {};
2287
+ pulling: {};
2288
+ armed: {
2289
+ text: string;
2290
+ };
2291
+ refreshing: {
2292
+ text: string;
2293
+ };
2294
+ success: {
2295
+ text: string;
2296
+ };
2297
+ };
2298
+ }, {
2299
+ disabled: false;
2300
+ status: "idle";
2301
+ }> & {
2302
+ defaultVariants: {
2303
+ disabled: false;
2304
+ status: "idle";
2305
+ };
2306
+ };
2307
+ //#endregion
2308
+ //#region src/theme/definitions/qr-code.d.ts
2309
+ declare function qrCodeTheme(options?: ThemeOptions): ThemeDefinition<{
2310
+ root: string;
2311
+ frame: string;
2312
+ pattern: string;
2313
+ overlay: string;
2314
+ overlayImage: string;
2315
+ }, {
2316
+ color: {
2317
+ [k: string]: {
2318
+ root: string;
2319
+ };
2320
+ } & {
2321
+ neutral: {
2322
+ root: string;
2323
+ };
2324
+ };
2325
+ size: {
2326
+ xs: {
2327
+ root: string;
2328
+ overlay: string;
2329
+ };
2330
+ sm: {
2331
+ root: string;
2332
+ overlay: string;
2333
+ };
2334
+ md: {
2335
+ root: string;
2336
+ overlay: string;
2337
+ };
2338
+ lg: {
2339
+ root: string;
2340
+ overlay: string;
2341
+ };
2342
+ xl: {
2343
+ root: string;
2344
+ overlay: string;
2345
+ };
2346
+ };
2347
+ }, {
2348
+ color: "neutral";
2349
+ size: "md";
2350
+ }> & {
2351
+ defaultVariants: {
2352
+ color: "neutral";
2353
+ size: "md";
2354
+ };
2355
+ };
2356
+ //#endregion
2357
+ //#region src/theme/definitions/radio.d.ts
2358
+ declare function radioTheme(options?: ThemeOptions): ThemeDefinition<{
2359
+ root: string;
2360
+ base: string;
2361
+ indicator: string;
2362
+ wrapper: string;
2363
+ label: string;
2364
+ description: string;
2365
+ }, {
2366
+ variant: {
2367
+ outline: {};
2368
+ card: {
2369
+ root: string;
2370
+ };
2371
+ };
2372
+ color: {
2373
+ [k: string]: {
2374
+ base: string;
2375
+ indicator: string;
2376
+ };
2377
+ } & {
2378
+ neutral: {
2379
+ base: string;
2380
+ indicator: string;
2381
+ };
2382
+ };
2383
+ size: {
2384
+ xs: {
2385
+ base: string;
2386
+ indicator: string;
2387
+ wrapper: string;
2388
+ label: string;
2389
+ description: string;
2390
+ };
2391
+ sm: {
2392
+ base: string;
2393
+ indicator: string;
2394
+ wrapper: string;
2395
+ label: string;
2396
+ description: string;
2397
+ };
2398
+ md: {
2399
+ base: string;
2400
+ indicator: string;
2401
+ wrapper: string;
2402
+ label: string;
2403
+ description: string;
2404
+ };
2405
+ lg: {
2406
+ base: string;
2407
+ indicator: string;
2408
+ wrapper: string;
2409
+ label: string;
2410
+ description: string;
2411
+ };
2412
+ xl: {
2413
+ base: string;
2414
+ indicator: string;
2415
+ wrapper: string;
2416
+ label: string;
2417
+ description: string;
2418
+ };
2419
+ };
2420
+ checked: {
2421
+ true: {
2422
+ indicator: string;
2423
+ };
2424
+ false: {
2425
+ indicator: string;
2426
+ };
2427
+ };
2428
+ disabled: {
2429
+ true: {
2430
+ root: string;
2431
+ base: string;
2432
+ };
2433
+ false: {};
2434
+ };
2435
+ invalid: {
2436
+ true: {
2437
+ base: string;
2438
+ };
2439
+ false: {};
2440
+ };
2441
+ }, {
2442
+ variant: "outline";
2443
+ color: "primary";
2444
+ size: "md";
2445
+ checked: false;
2446
+ disabled: false;
2447
+ invalid: false;
2448
+ }> & {
2449
+ defaultVariants: {
2450
+ variant: "outline";
2451
+ color: "primary";
2452
+ size: "md";
2453
+ checked: false;
2454
+ disabled: false;
2455
+ invalid: false;
2456
+ };
2457
+ };
2458
+ //#endregion
2459
+ //#region src/theme/definitions/radio-group.d.ts
2460
+ declare function radioGroupTheme(options?: ThemeOptions): ThemeDefinition<{
2461
+ root: string;
2462
+ fieldset: string;
2463
+ legend: string;
2464
+ }, {
2465
+ variant: {
2466
+ outline: {};
2467
+ card: {};
2468
+ };
2469
+ color: {
2470
+ [k: string]: {};
2471
+ } & {
2472
+ neutral: {};
2473
+ };
2474
+ size: {
2475
+ xs: {
2476
+ legend: string;
2477
+ };
2478
+ sm: {
2479
+ legend: string;
2480
+ };
2481
+ md: {
2482
+ legend: string;
2483
+ };
2484
+ lg: {
2485
+ legend: string;
2486
+ };
2487
+ xl: {
2488
+ legend: string;
2489
+ };
2490
+ };
2491
+ orientation: {
2492
+ vertical: {
2493
+ fieldset: string;
2494
+ };
2495
+ horizontal: {
2496
+ fieldset: string;
2497
+ };
2498
+ };
2499
+ checked: {
2500
+ true: {};
2501
+ false: {};
2502
+ };
2503
+ disabled: {
2504
+ true: {};
2505
+ false: {};
2506
+ };
2507
+ required: {
2508
+ true: {
2509
+ legend: string;
2510
+ };
2511
+ false: {};
2512
+ };
2513
+ invalid: {
2514
+ true: {};
2515
+ false: {};
2516
+ };
2517
+ }, {
2518
+ variant: "outline";
2519
+ color: "primary";
2520
+ size: "md";
2521
+ orientation: "vertical";
2522
+ checked: false;
2523
+ disabled: false;
2524
+ required: false;
2525
+ invalid: false;
2526
+ }> & {
2527
+ defaultVariants: {
2528
+ variant: "outline";
2529
+ color: "primary";
2530
+ size: "md";
2531
+ orientation: "vertical";
2532
+ checked: false;
2533
+ disabled: false;
2534
+ required: false;
2535
+ invalid: false;
2536
+ };
2537
+ };
2538
+ //#endregion
2539
+ //#region src/theme/definitions/select.d.ts
2540
+ declare function selectTheme(options?: ThemeOptions): ThemeDefinition<{
2541
+ root: string;
2542
+ base: string;
2543
+ leading: string;
2544
+ leadingIcon: string;
2545
+ value: string;
2546
+ placeholder: string;
2547
+ trailing: string;
2548
+ trailingIcon: string;
2549
+ iconInner: string;
2550
+ loadingIcon: string;
2551
+ content: string;
2552
+ viewport: string;
2553
+ header: string;
2554
+ footer: string;
2555
+ empty: string;
2556
+ pickerRoot: string;
2557
+ pickerBackdrop: string;
2558
+ pickerContent: string;
2559
+ pickerHeader: string;
2560
+ pickerCancel: string;
2561
+ pickerTitle: string;
2562
+ pickerConfirm: string;
2563
+ pickerBody: string;
2564
+ pickerView: string;
2565
+ pickerColumn: string;
2566
+ pickerItem: string;
2567
+ pickerItemDisabled: string;
2568
+ pickerFooter: string;
2569
+ }, {
2570
+ color: {
2571
+ [k: string]: {
2572
+ pickerConfirm: string;
2573
+ };
2574
+ } & {
2575
+ neutral: {
2576
+ pickerConfirm: string;
2577
+ };
2578
+ };
2579
+ variant: {
2580
+ outline: {
2581
+ base: string;
2582
+ };
2583
+ soft: {
2584
+ base: string;
2585
+ };
2586
+ subtle: {
2587
+ base: string;
2588
+ };
2589
+ ghost: {
2590
+ base: string;
2591
+ };
2592
+ none: {
2593
+ base: string;
2594
+ };
2595
+ };
2596
+ size: {
2597
+ xs: {
2598
+ base: string;
2599
+ leadingIcon: string;
2600
+ trailingIcon: string;
2601
+ };
2602
+ sm: {
2603
+ base: string;
2604
+ leadingIcon: string;
2605
+ trailingIcon: string;
2606
+ };
2607
+ md: {
2608
+ base: string;
2609
+ leadingIcon: string;
2610
+ trailingIcon: string;
2611
+ };
2612
+ lg: {
2613
+ base: string;
2614
+ leadingIcon: string;
2615
+ trailingIcon: string;
2616
+ };
2617
+ xl: {
2618
+ base: string;
2619
+ leadingIcon: string;
2620
+ trailingIcon: string;
2621
+ };
2622
+ };
2623
+ open: {
2624
+ true: {
2625
+ root: string;
2626
+ trailingIcon: string;
2627
+ pickerBackdrop: string;
2628
+ pickerContent: string;
2629
+ };
2630
+ false: {
2631
+ pickerBackdrop: string;
2632
+ pickerContent: string;
2633
+ };
2634
+ };
2635
+ leading: {
2636
+ true: {
2637
+ base: string;
2638
+ };
2639
+ false: {
2640
+ base: string;
2641
+ };
2642
+ };
2643
+ trailing: {
2644
+ true: {
2645
+ base: string;
2646
+ };
2647
+ false: {
2648
+ base: string;
2649
+ };
2650
+ };
2651
+ highlight: {
2652
+ true: {
2653
+ base: string;
2654
+ };
2655
+ false: {
2656
+ base: string;
2657
+ };
2658
+ };
2659
+ disabled: {
2660
+ true: {
2661
+ root: string;
2662
+ base: string;
2663
+ };
2664
+ false: {};
2665
+ };
2666
+ invalid: {
2667
+ true: {
2668
+ base: string;
2669
+ };
2670
+ false: {};
2671
+ };
2672
+ }, {
2673
+ variant: "outline";
2674
+ color: "primary";
2675
+ size: "md";
2676
+ open: false;
2677
+ leading: false;
2678
+ trailing: true;
2679
+ highlight: false;
2680
+ disabled: false;
2681
+ invalid: false;
2682
+ }> & {
2683
+ defaultVariants: {
2684
+ variant: "outline";
2685
+ color: "primary";
2686
+ size: "md";
2687
+ open: false;
2688
+ leading: false;
2689
+ trailing: true;
2690
+ highlight: false;
2691
+ disabled: false;
2692
+ invalid: false;
2693
+ };
2694
+ };
2695
+ //#endregion
2696
+ //#region src/theme/definitions/select-item.d.ts
2697
+ declare function selectItemTheme(options?: ThemeOptions): ThemeDefinition<{
2698
+ root: string;
2699
+ base: string;
2700
+ leading: string;
2701
+ leadingIcon: string;
2702
+ wrapper: string;
2703
+ label: string;
2704
+ description: string;
2705
+ trailing: string;
2706
+ trailingIcon: string;
2707
+ groupLabel: string;
2708
+ separator: string;
2709
+ }, {
2710
+ color: {
2711
+ [k: string]: {};
2712
+ } & {
2713
+ neutral: {};
2714
+ };
2715
+ size: {
2716
+ xs: {
2717
+ base: string;
2718
+ leadingIcon: string;
2719
+ trailingIcon: string;
2720
+ description: string;
2721
+ groupLabel: string;
2722
+ };
2723
+ sm: {
2724
+ base: string;
2725
+ leadingIcon: string;
2726
+ trailingIcon: string;
2727
+ description: string;
2728
+ groupLabel: string;
2729
+ };
2730
+ md: {
2731
+ base: string;
2732
+ leadingIcon: string;
2733
+ trailingIcon: string;
2734
+ description: string;
2735
+ groupLabel: string;
2736
+ };
2737
+ lg: {
2738
+ base: string;
2739
+ leadingIcon: string;
2740
+ trailingIcon: string;
2741
+ description: string;
2742
+ groupLabel: string;
2743
+ };
2744
+ xl: {
2745
+ base: string;
2746
+ leadingIcon: string;
2747
+ trailingIcon: string;
2748
+ description: string;
2749
+ groupLabel: string;
2750
+ };
2751
+ };
2752
+ selected: {
2753
+ true: {
2754
+ base: string;
2755
+ label: string;
2756
+ };
2757
+ false: {};
2758
+ };
2759
+ disabled: {
2760
+ true: {
2761
+ base: string;
2762
+ };
2763
+ false: {};
2764
+ };
2765
+ }, {
2766
+ color: "primary";
2767
+ size: "md";
2768
+ selected: false;
2769
+ disabled: false;
2770
+ }> & {
2771
+ defaultVariants: {
2772
+ color: "primary";
2773
+ size: "md";
2774
+ selected: false;
2775
+ disabled: false;
2776
+ };
2777
+ };
2778
+ //#endregion
2779
+ //#region src/theme/definitions/skeleton.d.ts
2780
+ declare function skeletonTheme(_options?: ThemeOptions): ThemeDefinition<{
2781
+ root: string;
2782
+ }, {
2783
+ variant: {
2784
+ pulse: {
2785
+ root: string;
2786
+ };
2787
+ shine: {
2788
+ root: string;
2789
+ };
2790
+ none: {
2791
+ root: string;
2792
+ };
2793
+ };
2794
+ }, {
2795
+ variant: "pulse";
2796
+ }> & {
2797
+ defaultVariants: {
2798
+ variant: "pulse";
2799
+ };
2800
+ };
2801
+ //#endregion
2802
+ //#region src/theme/definitions/slider.d.ts
2803
+ declare function sliderTheme(options?: ThemeOptions): ThemeDefinition<{
2804
+ root: string;
2805
+ wrapper: string;
2806
+ label: string;
2807
+ valueText: string;
2808
+ control: string;
2809
+ track: string;
2810
+ range: string;
2811
+ thumb: string;
2812
+ markerGroup: string;
2813
+ marker: string;
2814
+ markerTick: string;
2815
+ markerTickActive: string;
2816
+ markerLabel: string;
2817
+ markerLabelActive: string;
2818
+ }, {
2819
+ color: {
2820
+ [k: string]: {};
2821
+ } & {
2822
+ neutral: {};
2823
+ };
2824
+ size: {
2825
+ xs: {
2826
+ control: string;
2827
+ track: string;
2828
+ thumb: string;
2829
+ label: string;
2830
+ valueText: string;
2831
+ marker: string;
2832
+ };
2833
+ sm: {
2834
+ control: string;
2835
+ track: string;
2836
+ thumb: string;
2837
+ label: string;
2838
+ valueText: string;
2839
+ marker: string;
2840
+ };
2841
+ md: {
2842
+ control: string;
2843
+ track: string;
2844
+ thumb: string;
2845
+ label: string;
2846
+ valueText: string;
2847
+ marker: string;
2848
+ };
2849
+ lg: {
2850
+ control: string;
2851
+ track: string;
2852
+ thumb: string;
2853
+ label: string;
2854
+ valueText: string;
2855
+ marker: string;
2856
+ };
2857
+ xl: {
2858
+ control: string;
2859
+ track: string;
2860
+ thumb: string;
2861
+ label: string;
2862
+ valueText: string;
2863
+ marker: string;
2864
+ };
2865
+ };
2866
+ orientation: {
2867
+ horizontal: {
2868
+ root: string;
2869
+ control: string;
2870
+ track: string;
2871
+ range: string;
2872
+ thumb: string;
2873
+ marker: string;
2874
+ markerTick: string;
2875
+ markerLabel: string;
2876
+ };
2877
+ vertical: {
2878
+ root: string;
2879
+ control: string;
2880
+ track: string;
2881
+ range: string;
2882
+ thumb: string;
2883
+ marker: string;
2884
+ markerTick: string;
2885
+ markerLabel: string;
2886
+ };
2887
+ };
2888
+ disabled: {
2889
+ true: {
2890
+ root: string;
2891
+ control: string;
2892
+ };
2893
+ false: {};
2894
+ };
2895
+ invalid: {
2896
+ true: {
2897
+ range: string;
2898
+ thumb: string;
2899
+ };
2900
+ false: {};
2901
+ };
2902
+ dragging: {
2903
+ true: {
2904
+ range: string;
2905
+ thumb: string;
2906
+ };
2907
+ false: {};
2908
+ };
2909
+ hasMarkers: {
2910
+ true: {
2911
+ root: string;
2912
+ };
2913
+ false: {};
2914
+ };
2915
+ }, {
2916
+ color: "primary";
2917
+ size: "md";
2918
+ orientation: "horizontal";
2919
+ disabled: false;
2920
+ invalid: false;
2921
+ dragging: false;
2922
+ hasMarkers: false;
2923
+ }> & {
2924
+ defaultVariants: {
2925
+ color: "primary";
2926
+ size: "md";
2927
+ orientation: "horizontal";
2928
+ disabled: false;
2929
+ invalid: false;
2930
+ dragging: false;
2931
+ hasMarkers: false;
2932
+ };
2933
+ };
2934
+ //#endregion
2935
+ //#region src/theme/definitions/stepper.d.ts
2936
+ declare function stepperTheme(_options?: ThemeOptions): ThemeDefinition<{
2937
+ root: string;
2938
+ header: string;
2939
+ list: string;
2940
+ content: string;
2941
+ }, {
2942
+ orientation: {
2943
+ horizontal: {
2944
+ root: string;
2945
+ header: string;
2946
+ list: string;
2947
+ };
2948
+ vertical: {
2949
+ root: string;
2950
+ header: string;
2951
+ list: string;
2952
+ };
2953
+ };
2954
+ disabled: {
2955
+ true: {
2956
+ root: string;
2957
+ };
2958
+ false: {};
2959
+ };
2960
+ }, {
2961
+ orientation: "horizontal";
2962
+ disabled: false;
2963
+ }> & {
2964
+ defaultVariants: {
2965
+ orientation: "horizontal";
2966
+ disabled: false;
2967
+ };
2968
+ };
2969
+ //#endregion
2970
+ //#region src/theme/definitions/stepper-item.d.ts
2971
+ declare function stepperItemTheme(options?: ThemeOptions): ThemeDefinition<{
2972
+ root: string;
2973
+ container: string;
2974
+ trigger: string;
2975
+ indicator: string;
2976
+ icon: string;
2977
+ separator: string;
2978
+ wrapper: string;
2979
+ title: string;
2980
+ description: string;
2981
+ }, {
2982
+ orientation: {
2983
+ horizontal: {
2984
+ root: string;
2985
+ container: string;
2986
+ separator: string;
2987
+ wrapper: string;
2988
+ title: string;
2989
+ description: string;
2990
+ };
2991
+ vertical: {
2992
+ root: string;
2993
+ container: string;
2994
+ trigger: string;
2995
+ separator: string;
2996
+ wrapper: string;
2997
+ title: string;
2998
+ description: string;
2999
+ };
3000
+ };
3001
+ size: {
3002
+ xs: {
3003
+ trigger: string;
3004
+ icon: string;
3005
+ title: string;
3006
+ description: string;
3007
+ };
3008
+ sm: {
3009
+ trigger: string;
3010
+ icon: string;
3011
+ title: string;
3012
+ description: string;
3013
+ };
3014
+ md: {
3015
+ trigger: string;
3016
+ icon: string;
3017
+ title: string;
3018
+ description: string;
3019
+ };
3020
+ lg: {
3021
+ trigger: string;
3022
+ icon: string;
3023
+ title: string;
3024
+ description: string;
3025
+ };
3026
+ xl: {
3027
+ trigger: string;
3028
+ icon: string;
3029
+ title: string;
3030
+ description: string;
3031
+ };
3032
+ };
3033
+ color: {
3034
+ [k: string]: {
3035
+ trigger: string;
3036
+ title: string;
3037
+ separator: string;
3038
+ };
3039
+ } & {
3040
+ neutral: {
3041
+ trigger: string;
3042
+ title: string;
3043
+ separator: string;
3044
+ };
3045
+ };
3046
+ disabled: {
3047
+ true: {
3048
+ root: string;
3049
+ trigger: string;
3050
+ };
3051
+ false: {};
3052
+ };
3053
+ }, {
3054
+ orientation: "horizontal";
3055
+ color: "primary";
3056
+ size: "md";
3057
+ disabled: false;
3058
+ }> & {
3059
+ defaultVariants: {
3060
+ orientation: "horizontal";
3061
+ color: "primary";
3062
+ size: "md";
3063
+ disabled: false;
3064
+ };
3065
+ };
3066
+ //#endregion
3067
+ //#region src/theme/definitions/switch.d.ts
3068
+ declare function switchTheme(options?: ThemeOptions): ThemeDefinition<{
3069
+ root: string;
3070
+ base: string;
3071
+ container: string;
3072
+ thumb: string;
3073
+ icon: string;
3074
+ loadingIcon: string;
3075
+ wrapper: string;
3076
+ label: string;
3077
+ description: string;
3078
+ }, {
3079
+ color: {
3080
+ [k: string]: {};
3081
+ } & {
3082
+ neutral: {};
3083
+ };
3084
+ size: {
3085
+ xs: {
3086
+ base: string;
3087
+ thumb: string;
3088
+ icon: string;
3089
+ wrapper: string;
3090
+ label: string;
3091
+ description: string;
3092
+ };
3093
+ sm: {
3094
+ base: string;
3095
+ thumb: string;
3096
+ icon: string;
3097
+ wrapper: string;
3098
+ label: string;
3099
+ description: string;
3100
+ };
3101
+ md: {
3102
+ base: string;
3103
+ thumb: string;
3104
+ icon: string;
3105
+ wrapper: string;
3106
+ label: string;
3107
+ description: string;
3108
+ };
3109
+ lg: {
3110
+ base: string;
3111
+ thumb: string;
3112
+ icon: string;
3113
+ wrapper: string;
3114
+ label: string;
3115
+ description: string;
3116
+ };
3117
+ xl: {
3118
+ base: string;
3119
+ thumb: string;
3120
+ icon: string;
3121
+ wrapper: string;
3122
+ label: string;
3123
+ description: string;
3124
+ };
3125
+ };
3126
+ disabled: {
3127
+ true: {
3128
+ root: string;
3129
+ base: string;
3130
+ };
3131
+ false: {};
3132
+ };
3133
+ checked: {
3134
+ true: {
3135
+ icon: string;
3136
+ };
3137
+ false: {
3138
+ base: string;
3139
+ thumb: string;
3140
+ icon: string;
3141
+ };
3142
+ };
3143
+ loading: {
3144
+ true: {
3145
+ root: string;
3146
+ };
3147
+ false: {};
3148
+ };
3149
+ required: {
3150
+ true: {
3151
+ label: string;
3152
+ };
3153
+ false: {};
3154
+ };
3155
+ invalid: {
3156
+ true: {
3157
+ base: string;
3158
+ };
3159
+ false: {};
3160
+ };
3161
+ }, {
3162
+ color: "primary";
3163
+ size: "md";
3164
+ disabled: false;
3165
+ checked: false;
3166
+ loading: false;
3167
+ required: false;
3168
+ invalid: false;
3169
+ }> & {
3170
+ defaultVariants: {
3171
+ color: "primary";
3172
+ size: "md";
3173
+ disabled: false;
3174
+ checked: false;
3175
+ loading: false;
3176
+ required: false;
3177
+ invalid: false;
3178
+ };
3179
+ };
3180
+ //#endregion
3181
+ //#region src/theme/definitions/swipe-cell.d.ts
3182
+ declare function swipeCellTheme(_options?: ThemeOptions): ThemeDefinition<{
3183
+ root: string;
3184
+ wrapper: string;
3185
+ content: string;
3186
+ left: string;
3187
+ right: string;
3188
+ action: string;
3189
+ actionText: string;
3190
+ actionIcon: string;
3191
+ }, {
3192
+ variant: {
3193
+ plain: {
3194
+ root: string;
3195
+ content: string;
3196
+ };
3197
+ outline: {
3198
+ root: string;
3199
+ content: string;
3200
+ };
3201
+ subtle: {
3202
+ root: string;
3203
+ content: string;
3204
+ };
3205
+ soft: {
3206
+ root: string;
3207
+ content: string;
3208
+ };
3209
+ separated: {
3210
+ root: string;
3211
+ content: string;
3212
+ };
3213
+ };
3214
+ size: {
3215
+ xs: {
3216
+ action: string;
3217
+ actionText: string;
3218
+ actionIcon: string;
3219
+ };
3220
+ sm: {
3221
+ action: string;
3222
+ actionText: string;
3223
+ actionIcon: string;
3224
+ };
3225
+ md: {
3226
+ action: string;
3227
+ actionText: string;
3228
+ actionIcon: string;
3229
+ };
3230
+ lg: {
3231
+ action: string;
3232
+ actionText: string;
3233
+ actionIcon: string;
3234
+ };
3235
+ xl: {
3236
+ action: string;
3237
+ actionText: string;
3238
+ actionIcon: string;
3239
+ };
3240
+ };
3241
+ disabled: {
3242
+ true: {
3243
+ root: string;
3244
+ };
3245
+ false: {};
3246
+ };
3247
+ }, {
3248
+ variant: "plain";
3249
+ size: "md";
3250
+ disabled: false;
3251
+ }> & {
3252
+ defaultVariants: {
3253
+ variant: "plain";
3254
+ size: "md";
3255
+ disabled: false;
3256
+ };
3257
+ };
3258
+ //#endregion
3259
+ //#region src/theme/definitions/tabs.d.ts
3260
+ declare function tabsTheme(_options?: ThemeOptions): ThemeDefinition<{
3261
+ root: string;
3262
+ scroll: string;
3263
+ itemWrapper: string;
3264
+ list: string;
3265
+ content: string;
3266
+ }, {
3267
+ variant: {
3268
+ pill: {
3269
+ list: string;
3270
+ };
3271
+ link: {
3272
+ list: string;
3273
+ };
3274
+ };
3275
+ orientation: {
3276
+ horizontal: {
3277
+ root: string;
3278
+ list: string;
3279
+ content: string;
3280
+ };
3281
+ vertical: {
3282
+ root: string;
3283
+ list: string;
3284
+ };
3285
+ };
3286
+ size: {
3287
+ xs: {};
3288
+ sm: {};
3289
+ md: {};
3290
+ lg: {};
3291
+ xl: {};
3292
+ };
3293
+ disabled: {
3294
+ true: {
3295
+ root: string;
3296
+ };
3297
+ false: {};
3298
+ };
3299
+ fitted: {
3300
+ true: {
3301
+ list: string;
3302
+ itemWrapper: string;
3303
+ };
3304
+ false: {
3305
+ itemWrapper: string;
3306
+ };
3307
+ };
3308
+ }, {
3309
+ variant: "pill";
3310
+ orientation: "horizontal";
3311
+ size: "md";
3312
+ disabled: false;
3313
+ fitted: false;
3314
+ }> & {
3315
+ defaultVariants: {
3316
+ variant: "pill";
3317
+ orientation: "horizontal";
3318
+ size: "md";
3319
+ disabled: false;
3320
+ fitted: false;
3321
+ };
3322
+ };
3323
+ //#endregion
3324
+ //#region src/theme/definitions/tabs-item.d.ts
3325
+ declare function tabsItemTheme(options?: ThemeOptions): ThemeDefinition<{
3326
+ root: string;
3327
+ content: string;
3328
+ trigger: string;
3329
+ triggerInner: string;
3330
+ leading: string;
3331
+ label: string;
3332
+ trailing: string;
3333
+ indicator: string;
3334
+ }, {
3335
+ color: {
3336
+ [k: string]: {};
3337
+ } & {
3338
+ neutral: {};
3339
+ };
3340
+ variant: {
3341
+ pill: {
3342
+ indicator: string;
3343
+ trigger: string;
3344
+ };
3345
+ link: {
3346
+ indicator: string;
3347
+ trigger: string;
3348
+ };
3349
+ };
3350
+ orientation: {
3351
+ horizontal: {
3352
+ trigger: string;
3353
+ };
3354
+ vertical: {
3355
+ trigger: string;
3356
+ };
3357
+ };
3358
+ selected: {
3359
+ true: {
3360
+ trigger: string;
3361
+ indicator: string;
3362
+ };
3363
+ false: {
3364
+ trigger: string;
3365
+ indicator: string;
3366
+ };
3367
+ };
3368
+ size: {
3369
+ xs: {
3370
+ trigger: string;
3371
+ leading: string;
3372
+ trailing: string;
3373
+ label: string;
3374
+ };
3375
+ sm: {
3376
+ trigger: string;
3377
+ leading: string;
3378
+ trailing: string;
3379
+ label: string;
3380
+ };
3381
+ md: {
3382
+ trigger: string;
3383
+ leading: string;
3384
+ trailing: string;
3385
+ label: string;
3386
+ };
3387
+ lg: {
3388
+ trigger: string;
3389
+ leading: string;
3390
+ trailing: string;
3391
+ label: string;
3392
+ };
3393
+ xl: {
3394
+ trigger: string;
3395
+ leading: string;
3396
+ trailing: string;
3397
+ label: string;
3398
+ };
3399
+ };
3400
+ disabled: {
3401
+ true: {
3402
+ root: string;
3403
+ trigger: string;
3404
+ };
3405
+ false: {};
3406
+ };
3407
+ fitted: {
3408
+ true: {
3409
+ trigger: string;
3410
+ };
3411
+ false: {};
3412
+ };
3413
+ }, {
3414
+ color: "primary";
3415
+ variant: "pill";
3416
+ orientation: "horizontal";
3417
+ size: "md";
3418
+ disabled: false;
3419
+ selected: false;
3420
+ fitted: false;
3421
+ }> & {
3422
+ defaultVariants: {
3423
+ color: "primary";
3424
+ variant: "pill";
3425
+ orientation: "horizontal";
3426
+ size: "md";
3427
+ disabled: false;
3428
+ selected: false;
3429
+ fitted: false;
3430
+ };
3431
+ };
3432
+ //#endregion
3433
+ //#region src/theme/definitions/textarea.d.ts
3434
+ declare function textareaTheme(options?: ThemeOptions): ThemeDefinition<{
3435
+ root: string;
3436
+ base: string;
3437
+ placeholder: string;
3438
+ leading: string;
3439
+ leadingIcon: string;
3440
+ trailing: string;
3441
+ trailingIcon: string;
3442
+ loadingIcon: string;
3443
+ clear: string;
3444
+ clearIcon: string;
3445
+ count: string;
3446
+ }, {
3447
+ color: {
3448
+ [k: string]: {
3449
+ root: string;
3450
+ };
3451
+ } & {
3452
+ neutral: {
3453
+ root: string;
3454
+ };
3455
+ };
3456
+ variant: {
3457
+ outline: {
3458
+ root: string;
3459
+ };
3460
+ soft: {
3461
+ root: string;
3462
+ };
3463
+ subtle: {
3464
+ root: string;
3465
+ };
3466
+ ghost: {
3467
+ root: string;
3468
+ };
3469
+ none: {
3470
+ root: string;
3471
+ };
3472
+ };
3473
+ size: {
3474
+ xs: {
3475
+ root: string;
3476
+ base: string;
3477
+ placeholder: string;
3478
+ leading: string;
3479
+ trailing: string;
3480
+ count: string;
3481
+ leadingIcon: string;
3482
+ trailingIcon: string;
3483
+ clear: string;
3484
+ };
3485
+ sm: {
3486
+ root: string;
3487
+ base: string;
3488
+ placeholder: string;
3489
+ leading: string;
3490
+ trailing: string;
3491
+ count: string;
3492
+ leadingIcon: string;
3493
+ trailingIcon: string;
3494
+ clear: string;
3495
+ };
3496
+ md: {
3497
+ root: string;
3498
+ base: string;
3499
+ placeholder: string;
3500
+ leading: string;
3501
+ trailing: string;
3502
+ count: string;
3503
+ leadingIcon: string;
3504
+ trailingIcon: string;
3505
+ clear: string;
3506
+ };
3507
+ lg: {
3508
+ root: string;
3509
+ base: string;
3510
+ placeholder: string;
3511
+ leading: string;
3512
+ trailing: string;
3513
+ count: string;
3514
+ leadingIcon: string;
3515
+ trailingIcon: string;
3516
+ clear: string;
3517
+ };
3518
+ xl: {
3519
+ root: string;
3520
+ base: string;
3521
+ placeholder: string;
3522
+ leading: string;
3523
+ trailing: string;
3524
+ count: string;
3525
+ leadingIcon: string;
3526
+ trailingIcon: string;
3527
+ clear: string;
3528
+ };
3529
+ };
3530
+ leading: {
3531
+ true: {
3532
+ root: string;
3533
+ };
3534
+ false: {
3535
+ root: string;
3536
+ };
3537
+ };
3538
+ trailing: {
3539
+ true: {
3540
+ root: string;
3541
+ };
3542
+ false: {
3543
+ root: string;
3544
+ };
3545
+ };
3546
+ count: {
3547
+ true: {
3548
+ root: string;
3549
+ };
3550
+ false: {
3551
+ root: string;
3552
+ };
3553
+ };
3554
+ highlight: {
3555
+ true: {
3556
+ root: string;
3557
+ };
3558
+ false: {
3559
+ root: string;
3560
+ };
3561
+ };
3562
+ disabled: {
3563
+ true: {
3564
+ root: string;
3565
+ base: string;
3566
+ };
3567
+ false: {
3568
+ root: string;
3569
+ base: string;
3570
+ };
3571
+ };
3572
+ invalid: {
3573
+ true: {
3574
+ root: string;
3575
+ };
3576
+ false: {
3577
+ root: string;
3578
+ };
3579
+ };
3580
+ autoHeight: {
3581
+ true: {
3582
+ root: string;
3583
+ base: string;
3584
+ };
3585
+ false: {
3586
+ base: string;
3587
+ };
3588
+ };
3589
+ }, {
3590
+ variant: "outline";
3591
+ color: "primary";
3592
+ size: "md";
3593
+ leading: false;
3594
+ trailing: false;
3595
+ count: false;
3596
+ highlight: false;
3597
+ disabled: false;
3598
+ invalid: false;
3599
+ autoHeight: false;
3600
+ }> & {
3601
+ defaultVariants: {
3602
+ variant: "outline";
3603
+ color: "primary";
3604
+ size: "md";
3605
+ leading: false;
3606
+ trailing: false;
3607
+ count: false;
3608
+ highlight: false;
3609
+ disabled: false;
3610
+ invalid: false;
3611
+ autoHeight: false;
3612
+ };
3613
+ };
3614
+ //#endregion
3615
+ //#region src/theme/definitions/toast.d.ts
3616
+ declare function toastTheme(options?: ThemeOptions): ThemeDefinition<{
3617
+ root: string;
3618
+ tint: string;
3619
+ wrapper: string;
3620
+ title: string;
3621
+ description: string;
3622
+ iconWrapper: string;
3623
+ icon: string;
3624
+ actions: string;
3625
+ action: string;
3626
+ closeTrigger: string;
3627
+ closeButton: string;
3628
+ closeIcon: string;
3629
+ progress: string;
3630
+ progressBar: string;
3631
+ progressTrack: string;
3632
+ progressRange: string;
3633
+ }, {
3634
+ mode: {
3635
+ default: {
3636
+ root: string;
3637
+ wrapper: string;
3638
+ title: string;
3639
+ description: string;
3640
+ iconWrapper: string;
3641
+ icon: string;
3642
+ actions: string;
3643
+ closeTrigger: string;
3644
+ progress: string;
3645
+ };
3646
+ native: {
3647
+ root: string;
3648
+ wrapper: string;
3649
+ title: string;
3650
+ description: string;
3651
+ iconWrapper: string;
3652
+ icon: string;
3653
+ };
3654
+ };
3655
+ color: {
3656
+ [k: string]: {};
3657
+ } & {
3658
+ neutral: {};
3659
+ };
3660
+ variant: {
3661
+ outline: {};
3662
+ solid: {
3663
+ root: string;
3664
+ title: string;
3665
+ description: string;
3666
+ closeTrigger: string;
3667
+ icon: string;
3668
+ progressRange: string;
3669
+ };
3670
+ soft: {
3671
+ root: string;
3672
+ };
3673
+ subtle: {
3674
+ root: string;
3675
+ };
3676
+ };
3677
+ orientation: {
3678
+ horizontal: {};
3679
+ vertical: {};
3680
+ };
3681
+ placement: {
3682
+ top: {
3683
+ root: string;
3684
+ };
3685
+ center: {
3686
+ root: string;
3687
+ };
3688
+ bottom: {
3689
+ root: string;
3690
+ };
3691
+ };
3692
+ progressPosition: {
3693
+ top: {
3694
+ progress: string;
3695
+ };
3696
+ bottom: {
3697
+ progress: string;
3698
+ };
3699
+ };
3700
+ }, {
3701
+ mode: "default";
3702
+ color: "neutral";
3703
+ variant: "outline";
3704
+ orientation: "vertical";
3705
+ placement: "top";
3706
+ progressPosition: "bottom";
3707
+ }> & {
3708
+ defaultVariants: {
3709
+ mode: "default";
3710
+ color: "neutral";
3711
+ variant: "outline";
3712
+ orientation: "vertical";
3713
+ placement: "top";
3714
+ progressPosition: "bottom";
3715
+ };
3716
+ };
3717
+ //#endregion
3718
+ //#region src/theme/definitions/accordion.d.ts
3719
+ declare function accordionTheme(_options?: ThemeOptions): ThemeDefinition<{
3720
+ root: string;
3721
+ }, {
3722
+ variant: {
3723
+ outline: {
3724
+ root: string;
3725
+ };
3726
+ subtle: {
3727
+ root: string;
3728
+ };
3729
+ soft: {
3730
+ root: string;
3731
+ };
3732
+ plain: {
3733
+ root: string;
3734
+ };
3735
+ separated: {
3736
+ root: string;
3737
+ };
3738
+ };
3739
+ disabled: {
3740
+ true: {
3741
+ root: string;
3742
+ };
3743
+ false: {};
3744
+ };
3745
+ }, {
3746
+ variant: "outline";
3747
+ disabled: false;
3748
+ }> & {
3749
+ defaultVariants: {
3750
+ variant: "outline";
3751
+ disabled: false;
3752
+ };
3753
+ };
3754
+ declare namespace index_d_exports {
3755
+ export { accordionTheme as accordion, accordionItemTheme as accordionItem, actionSheetTheme as actionSheet, appTheme as app, avatarTheme as avatar, avatarGroupTheme as avatarGroup, badgeTheme as badge, bannerTheme as banner, buttonTheme as button, cardTheme as card, checkboxTheme as checkbox, checkboxGroupTheme as checkboxGroup, chipTheme as chip, dividerTheme as divider, drawerTheme as drawer, fileUploadTheme as fileUpload, formTheme as form, formFieldTheme as formField, iconTheme as icon, inputTheme as input, inputMenuTheme as inputMenu, inputMenuItemTheme as inputMenuItem, modalTheme as modal, pinInputTheme as pinInput, popoverTheme as popover, progressTheme as progress, pullDownRefreshTheme as pullDownRefresh, qrCodeTheme as qrCode, radioTheme as radio, radioGroupTheme as radioGroup, selectTheme as select, selectItemTheme as selectItem, skeletonTheme as skeleton, sliderTheme as slider, stepperTheme as stepper, stepperItemTheme as stepperItem, swipeCellTheme as swipeCell, switchTheme as switch, tabsTheme as tabs, tabsItemTheme as tabsItem, textareaTheme as textarea, toastTheme as toast };
3756
+ }
3757
+ //#endregion
3758
+ //#region src/config.d.ts
3759
+ type SlotClassReplacer = (defaults: string) => string;
3760
+ type SlotClass = string | SlotClassReplacer;
3761
+ type SlotRecord<TSlots extends string = string> = Partial<Record<TSlots, SlotClass>>;
3762
+ interface ComponentVariantsConfig<TSlots extends string = string> {
3763
+ variant?: Record<string, SlotRecord<TSlots>>;
3764
+ size?: Record<string, SlotRecord<TSlots>>;
3765
+ [customVariantKey: string]: Record<string, SlotRecord<TSlots>> | undefined;
3766
+ }
3767
+ type KebabCase<S extends string> = S extends `${infer T}${infer U}` ? U extends Uncapitalize<U> ? `${Lowercase<T>}${KebabCase<U>}` : `${Lowercase<T>}-${KebabCase<Uncapitalize<U>>}` : S;
3768
+ type BuiltinComponentRegistry = { [K in keyof typeof index_d_exports as K | KebabCase<string & K>]: ExtractSlots<(typeof index_d_exports)[K]>; };
3769
+ interface ComponentRegistry extends BuiltinComponentRegistry {
3770
+ [componentName: string]: string;
3771
+ }
3772
+ interface ComponentConfig<TSlots extends string = string> {
3773
+ /** Base classes for component (or root slot) */
3774
+ base?: string | string[];
3775
+ /** Global default slot classes for this component */
3776
+ slots?: SlotRecord<TSlots>;
3777
+ /** Alias for slots */
3778
+ ui?: SlotRecord<TSlots>;
3779
+ /** Variant-specific slot classes */
3780
+ variants?: ComponentVariantsConfig<TSlots>;
3781
+ /** Compound variants rules */
3782
+ compoundVariants?: Array<Record<string, any>>;
3783
+ /** Default variant values */
3784
+ defaultVariants?: Record<string, any>;
3785
+ /** Alias for defaultVariants */
3786
+ defaultProps?: Record<string, any>;
3787
+ }
3788
+ type TailwindColorPalette = "slate" | "gray" | "zinc" | "neutral" | "stone" | "mauve" | "olive" | "mist" | "taupe" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
3789
+ type ColorValue = TailwindColorPalette | (string & {});
3790
+ interface UIColorsConfig {
3791
+ /** Primary brand color (Tailwind palette name or hex/rgb) */
3792
+ primary?: ColorValue;
3793
+ /** Secondary brand color (Tailwind palette name or hex/rgb) */
3794
+ secondary?: ColorValue;
3795
+ /** Neutral/gray color (Tailwind palette name or hex/rgb) */
3796
+ neutral?: ColorValue;
3797
+ /** Success color (Tailwind palette name or hex/rgb) */
3798
+ success?: ColorValue;
3799
+ /** Warning color (Tailwind palette name or hex/rgb) */
3800
+ warning?: ColorValue;
3801
+ /** Danger/destructive color (Tailwind palette name or hex/rgb) */
3802
+ danger?: ColorValue;
3803
+ /** Info color (Tailwind palette name or hex/rgb) */
3804
+ info?: ColorValue;
3805
+ /** Background color */
3806
+ background?: string;
3807
+ /** Foreground/text color */
3808
+ foreground?: string;
3809
+ /** Muted text/background color */
3810
+ muted?: string;
3811
+ /** Border color */
3812
+ border?: string;
3813
+ /** Allow custom color keys */
3814
+ [colorName: string]: ColorValue | undefined;
3815
+ }
3816
+ type UIRadiusConfig = string | {
3817
+ base?: string;
3818
+ xs?: string;
3819
+ sm?: string;
3820
+ md?: string;
3821
+ lg?: string;
3822
+ xl?: string;
3823
+ "2xl"?: string;
3824
+ "3xl"?: string;
3825
+ full?: string;
3826
+ [key: string]: string | undefined;
3827
+ };
3828
+ interface UIZIndexConfig {
3829
+ popover?: number | string;
3830
+ drawer?: number | string;
3831
+ modal?: number | string;
3832
+ actionSheet?: number | string;
3833
+ picker?: number | string;
3834
+ banner?: number | string;
3835
+ toast?: number | string;
3836
+ [key: string]: number | string | undefined;
3837
+ }
3838
+ interface UIConfig {
3839
+ /** Design token colors */
3840
+ colors?: UIColorsConfig;
3841
+ /**
3842
+ * Controls the color scheme compiled into component themes.
3843
+ * - `"system"` (default): compile both light and `dark:` classes.
3844
+ * - `"light"`: compile only light classes and skip dark token overrides.
3845
+ * - `"dark"`: compile only dark classes (applied unconditionally) and use
3846
+ * dark design tokens as the default.
3847
+ */
3848
+ colorMode?: ColorSystem;
3849
+ /** Border radius tokens (base radius string or object with custom overrides) */
3850
+ radius?: UIRadiusConfig;
3851
+ /** Transition duration tokens */
3852
+ transition?: {
3853
+ fast?: string;
3854
+ normal?: string;
3855
+ slow?: string;
3856
+ [key: string]: string | undefined;
3857
+ };
3858
+ /** Font family tokens */
3859
+ font?: {
3860
+ sans?: string;
3861
+ mono?: string;
3862
+ [key: string]: string | undefined;
3863
+ };
3864
+ /** Z-index layering tokens (generates `--z-<name>` and `z-<name>` utilities) */
3865
+ zIndex?: UIZIndexConfig;
3866
+ }
3867
+ type BuiltinIconCollection = "lucide" | "tabler" | "mdi" | "heroicons";
3868
+ /**
3869
+ * Global icon aliases used as component defaults (Nuxt UI `ui.icons` style).
3870
+ *
3871
+ * Each value is resolved by `<c-icon>` and can be either:
3872
+ * - a Tailwind icon class (e.g. `i-lucide-check`, generated by
3873
+ * `@egoist/tailwindcss-icons` / weapp-tailwindcss icon setup), or
3874
+ * - an image path / URL (e.g. `/assets/icons/check.svg`, `https://cdn/x.png`).
3875
+ */
3876
+ interface IconsConfig {
3877
+ /**
3878
+ * List of active icon collections to support and validate.
3879
+ * e.g. ["lucide", "tabler", "mdi"]
3880
+ */
3881
+ collections?: (BuiltinIconCollection | (string & {}))[] | undefined;
3882
+ /** Custom prefix for icon classes. Default: "i" */
3883
+ prefix?: string | undefined;
3884
+ /** Checkbox checked indicator */
3885
+ check?: string | undefined;
3886
+ /** Checkbox indeterminate indicator */
3887
+ minus?: string | undefined;
3888
+ /** Clear / close / dismiss buttons */
3889
+ close?: string | undefined;
3890
+ /** Loading spinners (rendered with `animate-spin`) */
3891
+ loading?: string | undefined;
3892
+ /** Chevron for input menu/ select menu */
3893
+ chevronDown?: string | undefined;
3894
+ /** Chevron for navigation / more button */
3895
+ chevronRight?: string | undefined;
3896
+ /** Chevron for pagination previous / back */
3897
+ chevronLeft?: string | undefined;
3898
+ /** Chevron for collapse / pagination */
3899
+ chevronUp?: string | undefined;
3900
+ /** Upload icon for dropzone / file-upload */
3901
+ upload?: string | undefined;
3902
+ /** File icon for uploaded file items */
3903
+ file?: string | undefined;
3904
+ /** Allow custom icon aliases */
3905
+ [iconName: string]: unknown;
3906
+ }
3907
+ interface CodeUIConfig {
3908
+ /** Global prefix for custom components */
3909
+ prefix?: string | undefined;
3910
+ /** Global design token configuration (colors, radius, transitions) */
3911
+ ui?: UIConfig | undefined;
3912
+ /** Global default icons used by components (check, minus, close, loading) */
3913
+ icons?: IconsConfig | undefined;
3914
+ /** Component-level styling and configuration overrides */
3915
+ components?: ({ [K in keyof ComponentRegistry]?: ComponentConfig<ComponentRegistry[K]>; } & Record<string, ComponentConfig<any> | undefined>) | undefined;
3916
+ }
3917
+ /**
3918
+ * Type-safe configuration helper for cui.config.ts
3919
+ *
3920
+ * @example
3921
+ * ```ts
3922
+ * import { defineConfig } from '@code-id-labs/core'
3923
+ *
3924
+ * export default defineConfig({
3925
+ * prefix: 'cui',
3926
+ * ui: {
3927
+ * colors: {
3928
+ * primary: '#10b981',
3929
+ * neutral: '#737373',
3930
+ * danger: '#ef4444',
3931
+ * },
3932
+ * radius: {
3933
+ * md: '12rpx',
3934
+ * lg: '16rpx',
3935
+ * },
3936
+ * },
3937
+ * components: {
3938
+ * button: {
3939
+ * slots: {
3940
+ * root: 'rounded-full font-bold'
3941
+ * }
3942
+ * }
3943
+ * }
3944
+ * })
3945
+ * ```
3946
+ */
3947
+ declare function defineConfig(config: CodeUIConfig): CodeUIConfig;
3948
+ //#endregion
3949
+ //#region src/types.d.ts
3950
+ interface AutoImportOptions {
3951
+ enable?: boolean;
3952
+ prefix?: string;
3953
+ library?: string;
3954
+ componentDir?: string;
3955
+ componentSuffix?: string;
3956
+ }
3957
+ interface TreeShakeOptions {
3958
+ enable?: boolean;
3959
+ library?: string;
3960
+ }
3961
+ interface IconsPluginOptions {
3962
+ /**
3963
+ * Whether to auto-inject the Tailwind CSS v4 icon plugin directive into app.css.
3964
+ * - 'auto' (default): checks if @egoist/tailwindcss-icons is installed in node_modules, and injects if present.
3965
+ * - true: always inject.
3966
+ * - false: never inject.
3967
+ */
3968
+ autoPlugin?: boolean | "auto";
3969
+ /**
3970
+ * Prefix for icon classes. Default: "i"
3971
+ */
3972
+ prefix?: string;
3973
+ /**
3974
+ * Scale relative to current font size. Default: 1
3975
+ */
3976
+ scale?: number;
3977
+ /**
3978
+ * List of icon collection names to support.
3979
+ */
3980
+ collections?: string[];
3981
+ /**
3982
+ * Extra CSS properties or plugin options passed to the icon plugin.
3983
+ */
3984
+ extraProperties?: Record<string, string>;
3985
+ }
3986
+ interface AppWrapperOptions {
3987
+ /**
3988
+ * Whether to enable automatic <c-app> page wrapping.
3989
+ * Default: true
3990
+ */
3991
+ enable?: boolean;
3992
+ /**
3993
+ * Component tag name to wrap page content with.
3994
+ * Default: `${prefix}-app` (e.g. "c-app")
3995
+ */
3996
+ tag?: string;
3997
+ /**
3998
+ * Whether to auto-inject <page-meta page-style="{{ cuiPageStyle }}" />
3999
+ * Default: false
4000
+ */
4001
+ pageMeta?: boolean;
4002
+ /**
4003
+ * Default props to attach to the root app wrapper tag.
4004
+ * Example: { "safe-area": "both", "className": "min-h-screen bg-neutral-50" }
4005
+ */
4006
+ defaultProps?: Record<string, string | boolean | number>;
4007
+ /**
4008
+ * Relative page paths, regexes, or globs to exclude from auto-wrapping.
4009
+ */
4010
+ exclude?: (string | RegExp)[];
4011
+ /**
4012
+ * Relative page paths, regexes, or globs to explicitly include.
4013
+ */
4014
+ include?: (string | RegExp)[];
4015
+ }
4016
+ interface ResolvedAppWrapperOptions {
4017
+ enable: boolean;
4018
+ tag: string;
4019
+ pageMeta: boolean;
4020
+ defaultProps?: Record<string, string | boolean | number> | undefined;
4021
+ exclude: (string | RegExp)[];
4022
+ include?: (string | RegExp)[] | undefined;
4023
+ }
4024
+ interface SlotDetectOptions {
4025
+ /**
4026
+ * Whether to enable compile-time active slot detection (`slots` prop injection).
4027
+ * Default: true
4028
+ */
4029
+ enable?: boolean;
4030
+ /**
4031
+ * Component tag prefix (without trailing hyphen, e.g. "c").
4032
+ * Default: inherited from `autoImport.prefix` ("c")
4033
+ */
4034
+ prefix?: string;
4035
+ /**
4036
+ * Custom component slot manifest override/extension.
4037
+ */
4038
+ componentSlots?: Record<string, readonly string[]>;
4039
+ }
4040
+ interface ResolvedSlotDetectOptions {
4041
+ enable: boolean;
4042
+ prefix: string;
4043
+ componentSlots?: Record<string, readonly string[]> | undefined;
4044
+ }
4045
+ interface CodeUIVitePluginOptions {
4046
+ cwd?: string;
4047
+ configFile?: string;
4048
+ autoInject?: boolean;
4049
+ /**
4050
+ * Append `@source "<cui.config path>"` to the app stylesheet so Tailwind
4051
+ * generates CSS for classes written in cui.config.ts. Default: true.
4052
+ */
4053
+ autoSource?: boolean;
4054
+ autoImport?: boolean | AutoImportOptions;
4055
+ treeShake?: boolean | TreeShakeOptions;
4056
+ /**
4057
+ * Auto-inject <c-app> wrapper into WeChat MiniProgram pages.
4058
+ * Default: true
4059
+ */
4060
+ appWrapper?: boolean | AppWrapperOptions;
4061
+ /**
4062
+ * Compile-time active slot detection for `<c-*>` components in WXML.
4063
+ * Default: true
4064
+ */
4065
+ slotDetect?: boolean | SlotDetectOptions;
4066
+ icons?: CodeUIConfig["icons"] | boolean | IconsPluginOptions;
4067
+ ui?: CodeUIConfig["ui"];
4068
+ components?: CodeUIConfig["components"];
4069
+ }
4070
+ type OutputBundleLike = Record<string, {
4071
+ type: string;
4072
+ source?: string | Uint8Array;
4073
+ [key: string]: unknown;
4074
+ }>;
4075
+ //#endregion
4076
+ //#region ../compiler/dist/index.d.ts
4077
+ export declare function serializeConfig(val: unknown, depth?: number): string;
4078
+ export declare function serializeCompactThemeModule(themeConfig: any): string;
4079
+ //#endregion
4080
+ //#region src/index.d.ts
4081
+ export declare const COMPONENT_SLOTS_MANIFEST: Record<string, readonly string[]>;
4082
+ interface TransformWxmlSlotsOptions {
4083
+ /**
4084
+ * Component tag prefix.
4085
+ * @default "c-"
4086
+ */
4087
+ prefix?: string;
4088
+ /**
4089
+ * Custom component slot manifest override/extension.
4090
+ */
4091
+ componentSlots?: Record<string, readonly string[]>;
4092
+ /**
4093
+ * Module name for auto-injected `<wxs>` helper when loop-variable slot predicates are used.
4094
+ * @default "__cuiSlots"
4095
+ */
4096
+ wxsModuleName?: string;
4097
+ }
4098
+ interface TransformWxmlSlotsResult {
4099
+ code: string;
4100
+ hasChanges: boolean;
4101
+ }
4102
+ /**
4103
+ * Transforms a WXML template by analyzing `<c-*>` component call sites and injecting
4104
+ * `slots="{{ { ... } }}"` onto tags that have active or conditional slots.
4105
+ */
4106
+ export declare function transformWxmlSlots(source: string, options?: TransformWxmlSlotsOptions): TransformWxmlSlotsResult;
4107
+ //#endregion
4108
+ //#endregion
4109
+ //#region src/core/app-wrapper.d.ts
4110
+ export declare function invalidateAppPagesCache(projectRoot?: string): void;
4111
+ export declare function getAppPages(projectRoot: string): Set<string>;
4112
+ export declare function isPageFile(filePath: string, projectRoot: string, pages: Set<string>, options: ResolvedAppWrapperOptions): boolean;
4113
+ export declare function wrapPageWxml(code: string, options: ResolvedAppWrapperOptions): string;
4114
+ //#endregion
4115
+ //#region src/core/slot-detect.d.ts
4116
+ /**
4117
+ * Transforms a `.wxml` module or raw template string with compile-time active slot detection.
4118
+ * Handles both raw WXML strings and `export default "..."` JS wrappers.
4119
+ */
4120
+ export declare function applySlotDetectToCode(code: string, opts: ResolvedSlotDetectOptions): {
4121
+ code: string;
4122
+ hasChanges: boolean;
4123
+ };
4124
+ /**
4125
+ * Applies compile-time slot detection to `.wxml` assets in Rollup/Vite `generateBundle`.
4126
+ */
4127
+ export declare function applyBundleSlotDetect(bundle: OutputBundleLike, opts: ResolvedSlotDetectOptions): void;
4128
+ /**
4129
+ * Post-build disk sync for `weapp-vite` (which emits `.wxml` files directly to `outDir`).
4130
+ * Runs after `syncDiskAppWrapper` so `<c-app>` wrappers also receive `slots`.
4131
+ */
4132
+ export declare function syncDiskSlotDetect(rootDir: string, outDir: string, opts: ResolvedSlotDetectOptions): void;
4133
+ //#endregion
4134
+ //#region src/core/theme.d.ts
4135
+ export declare const TAILWIND_PALETTES: Set<string>;
4136
+ export declare const SHADES: readonly [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
4137
+ export declare function generateThemeCSS(ui?: CodeUIConfig["ui"]): string;
4138
+ export declare function compileComponentTheme(componentName: string, factory: any, resolvedConfig: CodeUIConfig): any;
4139
+ export declare function extractClassesFromThemeConfig(themeConfig: any): string[];
4140
+ //#endregion
4141
+ //#region src/core/config.d.ts
4142
+ export declare function mergeConfig(base: CodeUIConfig, overrides?: Partial<CodeUIConfig>): CodeUIConfig;
4143
+ //#endregion
4144
+ //#region src/core/keyframes.d.ts
4145
+ export declare function cleanKeyframes(css: string): string;
4146
+ //#endregion
4147
+ //#region src/core/transforms.d.ts
4148
+ /**
4149
+ * WeChat MiniProgram WXSS Compatibility:
4150
+ *
4151
+ * Tailwind CSS v4 outputs individual transform properties:
4152
+ * `translate: var(--tw-translate-x) var(--tw-translate-y);`
4153
+ * `scale: var(--tw-scale-x) var(--tw-scale-y);`
4154
+ * `rotate: <angle>;`
4155
+ *
4156
+ * However, WeChat MiniProgram's WebView (especially iOS WKWebView and DevTools)
4157
+ * does NOT support the standalone `translate`, `scale`, and `rotate` properties
4158
+ * with dynamic CSS variables.
4159
+ * In contrast, `-webkit-transform` and `transform` are supported by 100% of MiniProgram runtimes.
4160
+ *
4161
+ * This transform automatically injects `-webkit-transform` and `transform` fallbacks
4162
+ * wherever Tailwind v4's individual transform properties are used.
4163
+ */
4164
+ export declare function compatMiniProgramTransforms(css: string): string;
4165
+ /**
4166
+ * Rewrites compiled Tailwind semantic color utilities (e.g. `bg-primary`,
4167
+ * `bg-primary/10`, `bg-primary-500`) to reference runtime `--ui-*` CSS custom
4168
+ * properties so runtime color switching and dark mode updates take effect
4169
+ * across solid, shade, and alpha-modifier classes.
4170
+ */
4171
+ export declare function compatSemanticColorVariables(css: string): string;
4172
+ //#endregion
4173
+ //#region src/index.d.ts
4174
+ export declare function codeUI(options?: CodeUIVitePluginOptions): Plugin;
4175
+ //#endregion
4176
+ export { type AppWrapperOptions, type AutoImportOptions, type CodeUIConfig, type CodeUIVitePluginOptions, type ComponentConfig, type ResolvedAppWrapperOptions, type ResolvedSlotDetectOptions, type SlotDetectOptions, type TransformWxmlSlotsOptions, type TransformWxmlSlotsResult, type TreeShakeOptions, codeUI as default, defineConfig };