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

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