mn-angular-lib 2.0.56 → 2.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/mn-angular-lib-alert.d.ts +10 -38
- package/types/mn-angular-lib-button.d.ts +55 -219
- package/types/mn-angular-lib-display.d.ts +124 -427
- package/types/mn-angular-lib-forms.d.ts +141 -595
- package/types/mn-angular-lib-segmented.d.ts +25 -153
|
@@ -7,92 +7,34 @@ import { LucideIconData } from "@lucide/angular";
|
|
|
7
7
|
import { MnButtonTypes } from "mn-angular-lib/button";
|
|
8
8
|
export declare const mnInputFieldVariants: import("tailwind-variants").TVReturnType<{
|
|
9
9
|
shadow: {
|
|
10
|
-
true:
|
|
10
|
+
true: string;
|
|
11
11
|
};
|
|
12
12
|
size: {
|
|
13
|
-
sm:
|
|
14
|
-
md:
|
|
15
|
-
lg:
|
|
13
|
+
sm: string;
|
|
14
|
+
md: string;
|
|
15
|
+
lg: string;
|
|
16
16
|
};
|
|
17
17
|
borderRadius: {
|
|
18
|
-
none:
|
|
19
|
-
xs:
|
|
20
|
-
sm:
|
|
21
|
-
md:
|
|
22
|
-
lg:
|
|
23
|
-
xl:
|
|
24
|
-
two_xl:
|
|
25
|
-
three_xl:
|
|
26
|
-
four_xl:
|
|
18
|
+
none: string;
|
|
19
|
+
xs: string;
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
xl: string;
|
|
24
|
+
two_xl: string;
|
|
25
|
+
three_xl: string;
|
|
26
|
+
four_xl: string;
|
|
27
27
|
};
|
|
28
28
|
fullWidth: {
|
|
29
|
-
true:
|
|
29
|
+
true: string;
|
|
30
30
|
};
|
|
31
31
|
hover: {
|
|
32
|
-
true:
|
|
32
|
+
true: string;
|
|
33
33
|
};
|
|
34
34
|
disabled: {
|
|
35
|
-
true:
|
|
35
|
+
true: string;
|
|
36
36
|
};
|
|
37
|
-
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary",
|
|
38
|
-
shadow: {
|
|
39
|
-
true: "shadow-lg";
|
|
40
|
-
};
|
|
41
|
-
size: {
|
|
42
|
-
sm: "p-2";
|
|
43
|
-
md: "p-3";
|
|
44
|
-
lg: "p-4";
|
|
45
|
-
};
|
|
46
|
-
borderRadius: {
|
|
47
|
-
none: "rounded-none";
|
|
48
|
-
xs: "rounded-xs";
|
|
49
|
-
sm: "rounded-sm";
|
|
50
|
-
md: "rounded-md";
|
|
51
|
-
lg: "rounded-lg";
|
|
52
|
-
xl: "rounded-xl";
|
|
53
|
-
two_xl: "rounded-2xl";
|
|
54
|
-
three_xl: "rounded-3xl";
|
|
55
|
-
four_xl: "rounded-4xl";
|
|
56
|
-
};
|
|
57
|
-
fullWidth: {
|
|
58
|
-
true: "w-full";
|
|
59
|
-
};
|
|
60
|
-
hover: {
|
|
61
|
-
true: "hover:cursor-pointer hover:bg-base-200 transition-colors duration-300 ease-in-out";
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
true: "opacity-50 cursor-not-allowed";
|
|
65
|
-
};
|
|
66
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
67
|
-
shadow: {
|
|
68
|
-
true: "shadow-lg";
|
|
69
|
-
};
|
|
70
|
-
size: {
|
|
71
|
-
sm: "p-2";
|
|
72
|
-
md: "p-3";
|
|
73
|
-
lg: "p-4";
|
|
74
|
-
};
|
|
75
|
-
borderRadius: {
|
|
76
|
-
none: "rounded-none";
|
|
77
|
-
xs: "rounded-xs";
|
|
78
|
-
sm: "rounded-sm";
|
|
79
|
-
md: "rounded-md";
|
|
80
|
-
lg: "rounded-lg";
|
|
81
|
-
xl: "rounded-xl";
|
|
82
|
-
two_xl: "rounded-2xl";
|
|
83
|
-
three_xl: "rounded-3xl";
|
|
84
|
-
four_xl: "rounded-4xl";
|
|
85
|
-
};
|
|
86
|
-
fullWidth: {
|
|
87
|
-
true: "w-full";
|
|
88
|
-
};
|
|
89
|
-
hover: {
|
|
90
|
-
true: "hover:cursor-pointer hover:bg-base-200 transition-colors duration-300 ease-in-out";
|
|
91
|
-
};
|
|
92
|
-
disabled: {
|
|
93
|
-
true: "opacity-50 cursor-not-allowed";
|
|
94
|
-
};
|
|
95
|
-
}, undefined>>;
|
|
37
|
+
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary", undefined, undefined, undefined>;
|
|
96
38
|
export type MnInputVariants = VariantProps<typeof mnInputFieldVariants>;
|
|
97
39
|
/**
|
|
98
40
|
* Supported input types for the MnInputField component.
|
|
@@ -590,123 +532,45 @@ export declare const numberAdapter: MnInputAdapter<number | null>;
|
|
|
590
532
|
export declare function pickAdapter(type: MnInputType): MnInputAdapter<string | null | number>;
|
|
591
533
|
export declare const mnCheckboxVariants: import("tailwind-variants").TVReturnType<{
|
|
592
534
|
size: {
|
|
593
|
-
xs:
|
|
594
|
-
sm:
|
|
595
|
-
md:
|
|
596
|
-
lg:
|
|
597
|
-
xl:
|
|
598
|
-
};
|
|
599
|
-
color: {
|
|
600
|
-
primary: "border-primary checked:bg-primary indeterminate:bg-primary focus-visible:outline-primary text-primary-content";
|
|
601
|
-
secondary: "border-secondary checked:bg-secondary indeterminate:bg-secondary focus-visible:outline-secondary text-secondary-content";
|
|
602
|
-
accent: "border-accent checked:bg-accent indeterminate:bg-accent focus-visible:outline-accent text-accent-content";
|
|
603
|
-
neutral: "border-neutral checked:bg-neutral indeterminate:bg-neutral focus-visible:outline-neutral text-neutral-content";
|
|
604
|
-
info: "border-info checked:bg-info indeterminate:bg-info focus-visible:outline-info text-info-content";
|
|
605
|
-
success: "border-success checked:bg-success indeterminate:bg-success focus-visible:outline-success text-success-content";
|
|
606
|
-
warning: "border-warning checked:bg-warning indeterminate:bg-warning focus-visible:outline-warning text-warning-content";
|
|
607
|
-
error: "border-error checked:bg-error indeterminate:bg-error focus-visible:outline-error text-error-content";
|
|
608
|
-
};
|
|
609
|
-
borderRadius: {
|
|
610
|
-
none: "rounded-none";
|
|
611
|
-
xs: "rounded-xs";
|
|
612
|
-
sm: "rounded-sm";
|
|
613
|
-
md: "rounded-md";
|
|
614
|
-
lg: "rounded-lg";
|
|
615
|
-
};
|
|
616
|
-
}, undefined, "mn-checkbox", {
|
|
617
|
-
size: {
|
|
618
|
-
xs: "size-4 p-0.5";
|
|
619
|
-
sm: "size-5 p-[0.1875rem]";
|
|
620
|
-
md: "size-6 p-1";
|
|
621
|
-
lg: "size-7 p-[0.3125rem]";
|
|
622
|
-
xl: "size-8 p-1.5";
|
|
623
|
-
};
|
|
624
|
-
color: {
|
|
625
|
-
primary: "border-primary checked:bg-primary indeterminate:bg-primary focus-visible:outline-primary text-primary-content";
|
|
626
|
-
secondary: "border-secondary checked:bg-secondary indeterminate:bg-secondary focus-visible:outline-secondary text-secondary-content";
|
|
627
|
-
accent: "border-accent checked:bg-accent indeterminate:bg-accent focus-visible:outline-accent text-accent-content";
|
|
628
|
-
neutral: "border-neutral checked:bg-neutral indeterminate:bg-neutral focus-visible:outline-neutral text-neutral-content";
|
|
629
|
-
info: "border-info checked:bg-info indeterminate:bg-info focus-visible:outline-info text-info-content";
|
|
630
|
-
success: "border-success checked:bg-success indeterminate:bg-success focus-visible:outline-success text-success-content";
|
|
631
|
-
warning: "border-warning checked:bg-warning indeterminate:bg-warning focus-visible:outline-warning text-warning-content";
|
|
632
|
-
error: "border-error checked:bg-error indeterminate:bg-error focus-visible:outline-error text-error-content";
|
|
633
|
-
};
|
|
634
|
-
borderRadius: {
|
|
635
|
-
none: "rounded-none";
|
|
636
|
-
xs: "rounded-xs";
|
|
637
|
-
sm: "rounded-sm";
|
|
638
|
-
md: "rounded-md";
|
|
639
|
-
lg: "rounded-lg";
|
|
640
|
-
};
|
|
641
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
642
|
-
size: {
|
|
643
|
-
xs: "size-4 p-0.5";
|
|
644
|
-
sm: "size-5 p-[0.1875rem]";
|
|
645
|
-
md: "size-6 p-1";
|
|
646
|
-
lg: "size-7 p-[0.3125rem]";
|
|
647
|
-
xl: "size-8 p-1.5";
|
|
535
|
+
xs: string;
|
|
536
|
+
sm: string;
|
|
537
|
+
md: string;
|
|
538
|
+
lg: string;
|
|
539
|
+
xl: string;
|
|
648
540
|
};
|
|
649
541
|
color: {
|
|
650
|
-
primary:
|
|
651
|
-
secondary:
|
|
652
|
-
accent:
|
|
653
|
-
neutral:
|
|
654
|
-
info:
|
|
655
|
-
success:
|
|
656
|
-
warning:
|
|
657
|
-
error:
|
|
542
|
+
primary: string;
|
|
543
|
+
secondary: string;
|
|
544
|
+
accent: string;
|
|
545
|
+
neutral: string;
|
|
546
|
+
info: string;
|
|
547
|
+
success: string;
|
|
548
|
+
warning: string;
|
|
549
|
+
error: string;
|
|
658
550
|
};
|
|
659
551
|
borderRadius: {
|
|
660
|
-
none:
|
|
661
|
-
xs:
|
|
662
|
-
sm:
|
|
663
|
-
md:
|
|
664
|
-
lg:
|
|
552
|
+
none: string;
|
|
553
|
+
xs: string;
|
|
554
|
+
sm: string;
|
|
555
|
+
md: string;
|
|
556
|
+
lg: string;
|
|
665
557
|
};
|
|
666
|
-
}, undefined
|
|
558
|
+
}, undefined, "mn-checkbox", undefined, undefined, undefined>;
|
|
667
559
|
export declare const mnCheckboxWrapperVariants: import("tailwind-variants").TVReturnType<{
|
|
668
560
|
size: {
|
|
669
|
-
xs:
|
|
670
|
-
sm:
|
|
671
|
-
md:
|
|
672
|
-
lg:
|
|
673
|
-
xl:
|
|
674
|
-
};
|
|
675
|
-
fullWidth: {
|
|
676
|
-
true: "w-full";
|
|
677
|
-
};
|
|
678
|
-
hover: {
|
|
679
|
-
true: "hover:bg-base-200 rounded-md transition-colors duration-200 ease-in-out px-2 -mx-2";
|
|
680
|
-
};
|
|
681
|
-
}, undefined, "text-base-content", {
|
|
682
|
-
size: {
|
|
683
|
-
xs: "text-sm";
|
|
684
|
-
sm: "text-sm";
|
|
685
|
-
md: "text-sm";
|
|
686
|
-
lg: "text-base";
|
|
687
|
-
xl: "text-base";
|
|
688
|
-
};
|
|
689
|
-
fullWidth: {
|
|
690
|
-
true: "w-full";
|
|
691
|
-
};
|
|
692
|
-
hover: {
|
|
693
|
-
true: "hover:bg-base-200 rounded-md transition-colors duration-200 ease-in-out px-2 -mx-2";
|
|
694
|
-
};
|
|
695
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
696
|
-
size: {
|
|
697
|
-
xs: "text-sm";
|
|
698
|
-
sm: "text-sm";
|
|
699
|
-
md: "text-sm";
|
|
700
|
-
lg: "text-base";
|
|
701
|
-
xl: "text-base";
|
|
561
|
+
xs: string;
|
|
562
|
+
sm: string;
|
|
563
|
+
md: string;
|
|
564
|
+
lg: string;
|
|
565
|
+
xl: string;
|
|
702
566
|
};
|
|
703
567
|
fullWidth: {
|
|
704
|
-
true:
|
|
568
|
+
true: string;
|
|
705
569
|
};
|
|
706
570
|
hover: {
|
|
707
|
-
true:
|
|
571
|
+
true: string;
|
|
708
572
|
};
|
|
709
|
-
}, undefined
|
|
573
|
+
}, undefined, "text-base-content", undefined, undefined, undefined>;
|
|
710
574
|
export type MnCheckboxVariants = VariantProps<typeof mnCheckboxVariants>;
|
|
711
575
|
export type MnCheckboxWrapperVariants = VariantProps<typeof mnCheckboxWrapperVariants>;
|
|
712
576
|
export type MnCheckboxErrorMessageData = string | MnErrorMessageFn;
|
|
@@ -809,92 +673,34 @@ export declare class MnCheckbox implements OnInit, OnChanges {
|
|
|
809
673
|
}
|
|
810
674
|
export declare const mnTextareaVariants: import("tailwind-variants").TVReturnType<{
|
|
811
675
|
shadow: {
|
|
812
|
-
true:
|
|
813
|
-
};
|
|
814
|
-
size: {
|
|
815
|
-
sm: "p-2";
|
|
816
|
-
md: "p-3";
|
|
817
|
-
lg: "p-4";
|
|
818
|
-
};
|
|
819
|
-
borderRadius: {
|
|
820
|
-
none: "rounded-none";
|
|
821
|
-
xs: "rounded-xs";
|
|
822
|
-
sm: "rounded-sm";
|
|
823
|
-
md: "rounded-md";
|
|
824
|
-
lg: "rounded-lg";
|
|
825
|
-
xl: "rounded-xl";
|
|
826
|
-
two_xl: "rounded-2xl";
|
|
827
|
-
three_xl: "rounded-3xl";
|
|
828
|
-
four_xl: "rounded-4xl";
|
|
829
|
-
};
|
|
830
|
-
fullWidth: {
|
|
831
|
-
true: "w-full";
|
|
832
|
-
};
|
|
833
|
-
resize: {
|
|
834
|
-
none: "resize-none";
|
|
835
|
-
vertical: "resize-y";
|
|
836
|
-
horizontal: "resize-x";
|
|
837
|
-
both: "resize";
|
|
838
|
-
};
|
|
839
|
-
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary", {
|
|
840
|
-
shadow: {
|
|
841
|
-
true: "shadow-lg";
|
|
842
|
-
};
|
|
843
|
-
size: {
|
|
844
|
-
sm: "p-2";
|
|
845
|
-
md: "p-3";
|
|
846
|
-
lg: "p-4";
|
|
847
|
-
};
|
|
848
|
-
borderRadius: {
|
|
849
|
-
none: "rounded-none";
|
|
850
|
-
xs: "rounded-xs";
|
|
851
|
-
sm: "rounded-sm";
|
|
852
|
-
md: "rounded-md";
|
|
853
|
-
lg: "rounded-lg";
|
|
854
|
-
xl: "rounded-xl";
|
|
855
|
-
two_xl: "rounded-2xl";
|
|
856
|
-
three_xl: "rounded-3xl";
|
|
857
|
-
four_xl: "rounded-4xl";
|
|
858
|
-
};
|
|
859
|
-
fullWidth: {
|
|
860
|
-
true: "w-full";
|
|
861
|
-
};
|
|
862
|
-
resize: {
|
|
863
|
-
none: "resize-none";
|
|
864
|
-
vertical: "resize-y";
|
|
865
|
-
horizontal: "resize-x";
|
|
866
|
-
both: "resize";
|
|
867
|
-
};
|
|
868
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
869
|
-
shadow: {
|
|
870
|
-
true: "shadow-lg";
|
|
676
|
+
true: string;
|
|
871
677
|
};
|
|
872
678
|
size: {
|
|
873
|
-
sm:
|
|
874
|
-
md:
|
|
875
|
-
lg:
|
|
679
|
+
sm: string;
|
|
680
|
+
md: string;
|
|
681
|
+
lg: string;
|
|
876
682
|
};
|
|
877
683
|
borderRadius: {
|
|
878
|
-
none:
|
|
879
|
-
xs:
|
|
880
|
-
sm:
|
|
881
|
-
md:
|
|
882
|
-
lg:
|
|
883
|
-
xl:
|
|
884
|
-
two_xl:
|
|
885
|
-
three_xl:
|
|
886
|
-
four_xl:
|
|
684
|
+
none: string;
|
|
685
|
+
xs: string;
|
|
686
|
+
sm: string;
|
|
687
|
+
md: string;
|
|
688
|
+
lg: string;
|
|
689
|
+
xl: string;
|
|
690
|
+
two_xl: string;
|
|
691
|
+
three_xl: string;
|
|
692
|
+
four_xl: string;
|
|
887
693
|
};
|
|
888
694
|
fullWidth: {
|
|
889
|
-
true:
|
|
695
|
+
true: string;
|
|
890
696
|
};
|
|
891
697
|
resize: {
|
|
892
|
-
none:
|
|
893
|
-
vertical:
|
|
894
|
-
horizontal:
|
|
895
|
-
both:
|
|
698
|
+
none: string;
|
|
699
|
+
vertical: string;
|
|
700
|
+
horizontal: string;
|
|
701
|
+
both: string;
|
|
896
702
|
};
|
|
897
|
-
}, undefined
|
|
703
|
+
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 text-base-content text-sm outline-none focus:ring-1 focus:ring-primary", undefined, undefined, undefined>;
|
|
898
704
|
export type MnTextareaVariants = VariantProps<typeof mnTextareaVariants>;
|
|
899
705
|
export type MnTextareaErrorMessageData = string | MnErrorMessageFn;
|
|
900
706
|
/**
|
|
@@ -1152,83 +958,31 @@ export declare class MnTextarea implements OnInit {
|
|
|
1152
958
|
}
|
|
1153
959
|
export declare const mnDatetimeVariants: import("tailwind-variants").TVReturnType<{
|
|
1154
960
|
shadow: {
|
|
1155
|
-
true:
|
|
1156
|
-
};
|
|
1157
|
-
size: {
|
|
1158
|
-
sm: "px-2 py-1.5";
|
|
1159
|
-
md: "px-3 py-2";
|
|
1160
|
-
lg: "px-4 py-3";
|
|
1161
|
-
};
|
|
1162
|
-
borderRadius: {
|
|
1163
|
-
none: "rounded-none";
|
|
1164
|
-
xs: "rounded-xs";
|
|
1165
|
-
sm: "rounded-sm";
|
|
1166
|
-
md: "rounded-md";
|
|
1167
|
-
lg: "rounded-lg";
|
|
1168
|
-
xl: "rounded-xl";
|
|
1169
|
-
two_xl: "rounded-2xl";
|
|
1170
|
-
three_xl: "rounded-3xl";
|
|
1171
|
-
four_xl: "rounded-4xl";
|
|
1172
|
-
};
|
|
1173
|
-
fullWidth: {
|
|
1174
|
-
true: "w-full";
|
|
1175
|
-
};
|
|
1176
|
-
hover: {
|
|
1177
|
-
true: "hover:cursor-pointer hover:bg-base-200 transition-colors duration-300 ease-in-out";
|
|
1178
|
-
};
|
|
1179
|
-
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 cursor-pointer text-base-content text-sm", {
|
|
1180
|
-
shadow: {
|
|
1181
|
-
true: "shadow-lg";
|
|
1182
|
-
};
|
|
1183
|
-
size: {
|
|
1184
|
-
sm: "px-2 py-1.5";
|
|
1185
|
-
md: "px-3 py-2";
|
|
1186
|
-
lg: "px-4 py-3";
|
|
1187
|
-
};
|
|
1188
|
-
borderRadius: {
|
|
1189
|
-
none: "rounded-none";
|
|
1190
|
-
xs: "rounded-xs";
|
|
1191
|
-
sm: "rounded-sm";
|
|
1192
|
-
md: "rounded-md";
|
|
1193
|
-
lg: "rounded-lg";
|
|
1194
|
-
xl: "rounded-xl";
|
|
1195
|
-
two_xl: "rounded-2xl";
|
|
1196
|
-
three_xl: "rounded-3xl";
|
|
1197
|
-
four_xl: "rounded-4xl";
|
|
1198
|
-
};
|
|
1199
|
-
fullWidth: {
|
|
1200
|
-
true: "w-full";
|
|
1201
|
-
};
|
|
1202
|
-
hover: {
|
|
1203
|
-
true: "hover:cursor-pointer hover:bg-base-200 transition-colors duration-300 ease-in-out";
|
|
1204
|
-
};
|
|
1205
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
1206
|
-
shadow: {
|
|
1207
|
-
true: "shadow-lg";
|
|
961
|
+
true: string;
|
|
1208
962
|
};
|
|
1209
963
|
size: {
|
|
1210
|
-
sm:
|
|
1211
|
-
md:
|
|
1212
|
-
lg:
|
|
964
|
+
sm: string;
|
|
965
|
+
md: string;
|
|
966
|
+
lg: string;
|
|
1213
967
|
};
|
|
1214
968
|
borderRadius: {
|
|
1215
|
-
none:
|
|
1216
|
-
xs:
|
|
1217
|
-
sm:
|
|
1218
|
-
md:
|
|
1219
|
-
lg:
|
|
1220
|
-
xl:
|
|
1221
|
-
two_xl:
|
|
1222
|
-
three_xl:
|
|
1223
|
-
four_xl:
|
|
969
|
+
none: string;
|
|
970
|
+
xs: string;
|
|
971
|
+
sm: string;
|
|
972
|
+
md: string;
|
|
973
|
+
lg: string;
|
|
974
|
+
xl: string;
|
|
975
|
+
two_xl: string;
|
|
976
|
+
three_xl: string;
|
|
977
|
+
four_xl: string;
|
|
1224
978
|
};
|
|
1225
979
|
fullWidth: {
|
|
1226
|
-
true:
|
|
980
|
+
true: string;
|
|
1227
981
|
};
|
|
1228
982
|
hover: {
|
|
1229
|
-
true:
|
|
983
|
+
true: string;
|
|
1230
984
|
};
|
|
1231
|
-
}, undefined
|
|
985
|
+
}, undefined, "bg-base-100 border-1 border-base-300 placeholder-base-content/50 cursor-pointer text-base-content text-sm", undefined, undefined, undefined>;
|
|
1232
986
|
export type MnDatetimeVariants = VariantProps<typeof mnDatetimeVariants>;
|
|
1233
987
|
export type MnDatetimeErrorMessageData = string | MnErrorMessageFn;
|
|
1234
988
|
export type MnDatetimeErrorMessagesData = Partial<Record<string, MnDatetimeErrorMessageData>>;
|
|
@@ -1377,121 +1131,43 @@ export declare class MnDatetime implements OnInit {
|
|
|
1377
1131
|
export declare const mnFileInputVariants: import("tailwind-variants").TVReturnType<{
|
|
1378
1132
|
/** Inner padding scale of the clickable control. */
|
|
1379
1133
|
size: {
|
|
1380
|
-
sm:
|
|
1381
|
-
md:
|
|
1382
|
-
lg:
|
|
1134
|
+
sm: string;
|
|
1135
|
+
md: string;
|
|
1136
|
+
lg: string;
|
|
1383
1137
|
};
|
|
1384
1138
|
/** Corner rounding of the control. */
|
|
1385
1139
|
borderRadius: {
|
|
1386
|
-
none:
|
|
1387
|
-
xs:
|
|
1388
|
-
sm:
|
|
1389
|
-
md:
|
|
1390
|
-
lg:
|
|
1391
|
-
xl:
|
|
1392
|
-
two_xl:
|
|
1393
|
-
three_xl:
|
|
1394
|
-
four_xl:
|
|
1140
|
+
none: string;
|
|
1141
|
+
xs: string;
|
|
1142
|
+
sm: string;
|
|
1143
|
+
md: string;
|
|
1144
|
+
lg: string;
|
|
1145
|
+
xl: string;
|
|
1146
|
+
two_xl: string;
|
|
1147
|
+
three_xl: string;
|
|
1148
|
+
four_xl: string;
|
|
1395
1149
|
};
|
|
1396
1150
|
/** Drop shadow toggle. */
|
|
1397
1151
|
shadow: {
|
|
1398
|
-
true:
|
|
1152
|
+
true: string;
|
|
1399
1153
|
};
|
|
1400
1154
|
/** Stretch the control to the full width of its container. */
|
|
1401
1155
|
fullWidth: {
|
|
1402
|
-
true:
|
|
1156
|
+
true: string;
|
|
1403
1157
|
};
|
|
1404
1158
|
/** Renders the control as a large dashed dropzone with a hover accent. */
|
|
1405
1159
|
dropzone: {
|
|
1406
|
-
true:
|
|
1160
|
+
true: string;
|
|
1407
1161
|
};
|
|
1408
1162
|
/** Highlighted "release to drop" appearance while files hover the dropzone. */
|
|
1409
1163
|
dragging: {
|
|
1410
|
-
true:
|
|
1164
|
+
true: string;
|
|
1411
1165
|
};
|
|
1412
1166
|
/** Dimmed, non-interactive appearance. */
|
|
1413
1167
|
disabled: {
|
|
1414
|
-
true:
|
|
1168
|
+
true: string;
|
|
1415
1169
|
};
|
|
1416
|
-
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm outline-none transition-[color,background-color,border-color,box-shadow,scale,opacity] duration-300 ease-in-out",
|
|
1417
|
-
/** Inner padding scale of the clickable control. */
|
|
1418
|
-
size: {
|
|
1419
|
-
sm: "p-2";
|
|
1420
|
-
md: "p-3";
|
|
1421
|
-
lg: "p-4";
|
|
1422
|
-
};
|
|
1423
|
-
/** Corner rounding of the control. */
|
|
1424
|
-
borderRadius: {
|
|
1425
|
-
none: "rounded-none";
|
|
1426
|
-
xs: "rounded-xs";
|
|
1427
|
-
sm: "rounded-sm";
|
|
1428
|
-
md: "rounded-md";
|
|
1429
|
-
lg: "rounded-lg";
|
|
1430
|
-
xl: "rounded-xl";
|
|
1431
|
-
two_xl: "rounded-2xl";
|
|
1432
|
-
three_xl: "rounded-3xl";
|
|
1433
|
-
four_xl: "rounded-4xl";
|
|
1434
|
-
};
|
|
1435
|
-
/** Drop shadow toggle. */
|
|
1436
|
-
shadow: {
|
|
1437
|
-
true: "shadow-lg";
|
|
1438
|
-
};
|
|
1439
|
-
/** Stretch the control to the full width of its container. */
|
|
1440
|
-
fullWidth: {
|
|
1441
|
-
true: "w-full";
|
|
1442
|
-
};
|
|
1443
|
-
/** Renders the control as a large dashed dropzone with a hover accent. */
|
|
1444
|
-
dropzone: {
|
|
1445
|
-
true: "flex flex-col items-center justify-center gap-2 p-6 border-2 border-dashed text-center cursor-pointer hover:border-primary";
|
|
1446
|
-
};
|
|
1447
|
-
/** Highlighted "release to drop" appearance while files hover the dropzone. */
|
|
1448
|
-
dragging: {
|
|
1449
|
-
true: "border-primary bg-primary/10 ring-4 ring-primary/20 scale-[1.01] duration-150";
|
|
1450
|
-
};
|
|
1451
|
-
/** Dimmed, non-interactive appearance. */
|
|
1452
|
-
disabled: {
|
|
1453
|
-
true: "opacity-50 cursor-not-allowed pointer-events-none";
|
|
1454
|
-
};
|
|
1455
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
1456
|
-
/** Inner padding scale of the clickable control. */
|
|
1457
|
-
size: {
|
|
1458
|
-
sm: "p-2";
|
|
1459
|
-
md: "p-3";
|
|
1460
|
-
lg: "p-4";
|
|
1461
|
-
};
|
|
1462
|
-
/** Corner rounding of the control. */
|
|
1463
|
-
borderRadius: {
|
|
1464
|
-
none: "rounded-none";
|
|
1465
|
-
xs: "rounded-xs";
|
|
1466
|
-
sm: "rounded-sm";
|
|
1467
|
-
md: "rounded-md";
|
|
1468
|
-
lg: "rounded-lg";
|
|
1469
|
-
xl: "rounded-xl";
|
|
1470
|
-
two_xl: "rounded-2xl";
|
|
1471
|
-
three_xl: "rounded-3xl";
|
|
1472
|
-
four_xl: "rounded-4xl";
|
|
1473
|
-
};
|
|
1474
|
-
/** Drop shadow toggle. */
|
|
1475
|
-
shadow: {
|
|
1476
|
-
true: "shadow-lg";
|
|
1477
|
-
};
|
|
1478
|
-
/** Stretch the control to the full width of its container. */
|
|
1479
|
-
fullWidth: {
|
|
1480
|
-
true: "w-full";
|
|
1481
|
-
};
|
|
1482
|
-
/** Renders the control as a large dashed dropzone with a hover accent. */
|
|
1483
|
-
dropzone: {
|
|
1484
|
-
true: "flex flex-col items-center justify-center gap-2 p-6 border-2 border-dashed text-center cursor-pointer hover:border-primary";
|
|
1485
|
-
};
|
|
1486
|
-
/** Highlighted "release to drop" appearance while files hover the dropzone. */
|
|
1487
|
-
dragging: {
|
|
1488
|
-
true: "border-primary bg-primary/10 ring-4 ring-primary/20 scale-[1.01] duration-150";
|
|
1489
|
-
};
|
|
1490
|
-
/** Dimmed, non-interactive appearance. */
|
|
1491
|
-
disabled: {
|
|
1492
|
-
true: "opacity-50 cursor-not-allowed pointer-events-none";
|
|
1493
|
-
};
|
|
1494
|
-
}, undefined>>;
|
|
1170
|
+
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm outline-none transition-[color,background-color,border-color,box-shadow,scale,opacity] duration-300 ease-in-out", undefined, undefined, undefined>;
|
|
1495
1171
|
/** Variant prop types derived from {@link mnFileInputVariants}. */
|
|
1496
1172
|
export type MnFileInputVariants = VariantProps<typeof mnFileInputVariants>;
|
|
1497
1173
|
/** A single error message definition: a static string or a function of the error args. */
|
|
@@ -1829,74 +1505,28 @@ export declare class MnFileInput implements OnInit {
|
|
|
1829
1505
|
}
|
|
1830
1506
|
export declare const mnSelectVariants: import("tailwind-variants").TVReturnType<{
|
|
1831
1507
|
shadow: {
|
|
1832
|
-
true:
|
|
1508
|
+
true: string;
|
|
1833
1509
|
};
|
|
1834
1510
|
size: {
|
|
1835
|
-
sm:
|
|
1836
|
-
md:
|
|
1837
|
-
lg:
|
|
1511
|
+
sm: string;
|
|
1512
|
+
md: string;
|
|
1513
|
+
lg: string;
|
|
1838
1514
|
};
|
|
1839
1515
|
borderRadius: {
|
|
1840
|
-
none:
|
|
1841
|
-
xs:
|
|
1842
|
-
sm:
|
|
1843
|
-
md:
|
|
1844
|
-
lg:
|
|
1845
|
-
xl:
|
|
1846
|
-
two_xl:
|
|
1847
|
-
three_xl:
|
|
1848
|
-
four_xl:
|
|
1516
|
+
none: string;
|
|
1517
|
+
xs: string;
|
|
1518
|
+
sm: string;
|
|
1519
|
+
md: string;
|
|
1520
|
+
lg: string;
|
|
1521
|
+
xl: string;
|
|
1522
|
+
two_xl: string;
|
|
1523
|
+
three_xl: string;
|
|
1524
|
+
four_xl: string;
|
|
1849
1525
|
};
|
|
1850
1526
|
fullWidth: {
|
|
1851
|
-
true:
|
|
1852
|
-
};
|
|
1853
|
-
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer hover:bg-base-200 transition-colors duration-300", {
|
|
1854
|
-
shadow: {
|
|
1855
|
-
true: "shadow-lg";
|
|
1527
|
+
true: string;
|
|
1856
1528
|
};
|
|
1857
|
-
|
|
1858
|
-
sm: "p-2";
|
|
1859
|
-
md: "p-3";
|
|
1860
|
-
lg: "p-4";
|
|
1861
|
-
};
|
|
1862
|
-
borderRadius: {
|
|
1863
|
-
none: "rounded-none";
|
|
1864
|
-
xs: "rounded-xs";
|
|
1865
|
-
sm: "rounded-sm";
|
|
1866
|
-
md: "rounded-md";
|
|
1867
|
-
lg: "rounded-lg";
|
|
1868
|
-
xl: "rounded-xl";
|
|
1869
|
-
two_xl: "rounded-2xl";
|
|
1870
|
-
three_xl: "rounded-3xl";
|
|
1871
|
-
four_xl: "rounded-4xl";
|
|
1872
|
-
};
|
|
1873
|
-
fullWidth: {
|
|
1874
|
-
true: "w-full";
|
|
1875
|
-
};
|
|
1876
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
1877
|
-
shadow: {
|
|
1878
|
-
true: "shadow-lg";
|
|
1879
|
-
};
|
|
1880
|
-
size: {
|
|
1881
|
-
sm: "p-2";
|
|
1882
|
-
md: "p-3";
|
|
1883
|
-
lg: "p-4";
|
|
1884
|
-
};
|
|
1885
|
-
borderRadius: {
|
|
1886
|
-
none: "rounded-none";
|
|
1887
|
-
xs: "rounded-xs";
|
|
1888
|
-
sm: "rounded-sm";
|
|
1889
|
-
md: "rounded-md";
|
|
1890
|
-
lg: "rounded-lg";
|
|
1891
|
-
xl: "rounded-xl";
|
|
1892
|
-
two_xl: "rounded-2xl";
|
|
1893
|
-
three_xl: "rounded-3xl";
|
|
1894
|
-
four_xl: "rounded-4xl";
|
|
1895
|
-
};
|
|
1896
|
-
fullWidth: {
|
|
1897
|
-
true: "w-full";
|
|
1898
|
-
};
|
|
1899
|
-
}, undefined>>;
|
|
1529
|
+
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer hover:bg-base-200 transition-colors duration-300", undefined, undefined, undefined>;
|
|
1900
1530
|
export type MnSelectVariants = VariantProps<typeof mnSelectVariants>;
|
|
1901
1531
|
export type MnSelectErrorMessageData = string | MnErrorMessageFn;
|
|
1902
1532
|
export type MnSelectErrorMessagesData = Partial<Record<string, MnSelectErrorMessageData>>;
|
|
@@ -2297,74 +1927,28 @@ export declare class MnSelect implements OnInit {
|
|
|
2297
1927
|
}
|
|
2298
1928
|
export declare const mnMultiSelectVariants: import("tailwind-variants").TVReturnType<{
|
|
2299
1929
|
shadow: {
|
|
2300
|
-
true:
|
|
2301
|
-
};
|
|
2302
|
-
size: {
|
|
2303
|
-
sm: "p-2";
|
|
2304
|
-
md: "p-3";
|
|
2305
|
-
lg: "p-4";
|
|
2306
|
-
};
|
|
2307
|
-
borderRadius: {
|
|
2308
|
-
none: "rounded-none";
|
|
2309
|
-
xs: "rounded-xs";
|
|
2310
|
-
sm: "rounded-sm";
|
|
2311
|
-
md: "rounded-md";
|
|
2312
|
-
lg: "rounded-lg";
|
|
2313
|
-
xl: "rounded-xl";
|
|
2314
|
-
two_xl: "rounded-2xl";
|
|
2315
|
-
three_xl: "rounded-3xl";
|
|
2316
|
-
four_xl: "rounded-4xl";
|
|
2317
|
-
};
|
|
2318
|
-
fullWidth: {
|
|
2319
|
-
true: "w-full";
|
|
2320
|
-
};
|
|
2321
|
-
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer", {
|
|
2322
|
-
shadow: {
|
|
2323
|
-
true: "shadow-lg";
|
|
1930
|
+
true: string;
|
|
2324
1931
|
};
|
|
2325
1932
|
size: {
|
|
2326
|
-
sm:
|
|
2327
|
-
md:
|
|
2328
|
-
lg:
|
|
1933
|
+
sm: string;
|
|
1934
|
+
md: string;
|
|
1935
|
+
lg: string;
|
|
2329
1936
|
};
|
|
2330
1937
|
borderRadius: {
|
|
2331
|
-
none:
|
|
2332
|
-
xs:
|
|
2333
|
-
sm:
|
|
2334
|
-
md:
|
|
2335
|
-
lg:
|
|
2336
|
-
xl:
|
|
2337
|
-
two_xl:
|
|
2338
|
-
three_xl:
|
|
2339
|
-
four_xl:
|
|
1938
|
+
none: string;
|
|
1939
|
+
xs: string;
|
|
1940
|
+
sm: string;
|
|
1941
|
+
md: string;
|
|
1942
|
+
lg: string;
|
|
1943
|
+
xl: string;
|
|
1944
|
+
two_xl: string;
|
|
1945
|
+
three_xl: string;
|
|
1946
|
+
four_xl: string;
|
|
2340
1947
|
};
|
|
2341
1948
|
fullWidth: {
|
|
2342
|
-
true:
|
|
1949
|
+
true: string;
|
|
2343
1950
|
};
|
|
2344
|
-
}, undefined,
|
|
2345
|
-
shadow: {
|
|
2346
|
-
true: "shadow-lg";
|
|
2347
|
-
};
|
|
2348
|
-
size: {
|
|
2349
|
-
sm: "p-2";
|
|
2350
|
-
md: "p-3";
|
|
2351
|
-
lg: "p-4";
|
|
2352
|
-
};
|
|
2353
|
-
borderRadius: {
|
|
2354
|
-
none: "rounded-none";
|
|
2355
|
-
xs: "rounded-xs";
|
|
2356
|
-
sm: "rounded-sm";
|
|
2357
|
-
md: "rounded-md";
|
|
2358
|
-
lg: "rounded-lg";
|
|
2359
|
-
xl: "rounded-xl";
|
|
2360
|
-
two_xl: "rounded-2xl";
|
|
2361
|
-
three_xl: "rounded-3xl";
|
|
2362
|
-
four_xl: "rounded-4xl";
|
|
2363
|
-
};
|
|
2364
|
-
fullWidth: {
|
|
2365
|
-
true: "w-full";
|
|
2366
|
-
};
|
|
2367
|
-
}, undefined>>;
|
|
1951
|
+
}, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer", undefined, undefined, undefined>;
|
|
2368
1952
|
export type MnMultiSelectVariants = VariantProps<typeof mnMultiSelectVariants>;
|
|
2369
1953
|
export type MnMultiSelectErrorMessageData = string | MnErrorMessageFn;
|
|
2370
1954
|
export type MnMultiSelectErrorMessagesData = Partial<Record<string, MnMultiSelectErrorMessageData>>;
|
|
@@ -2831,62 +2415,24 @@ export declare class MnMultiSelect implements OnInit {
|
|
|
2831
2415
|
*/
|
|
2832
2416
|
export declare const mnDropdownTriggerVariants: import("tailwind-variants").TVReturnType<{
|
|
2833
2417
|
size: {
|
|
2834
|
-
sm:
|
|
2835
|
-
md:
|
|
2836
|
-
lg:
|
|
2418
|
+
sm: string;
|
|
2419
|
+
md: string;
|
|
2420
|
+
lg: string;
|
|
2837
2421
|
};
|
|
2838
2422
|
labeled: {
|
|
2839
|
-
true:
|
|
2840
|
-
false:
|
|
2423
|
+
true: string;
|
|
2424
|
+
false: string;
|
|
2841
2425
|
};
|
|
2842
2426
|
borderRadius: {
|
|
2843
|
-
none:
|
|
2844
|
-
xs:
|
|
2845
|
-
sm:
|
|
2846
|
-
md:
|
|
2847
|
-
lg:
|
|
2848
|
-
xl:
|
|
2849
|
-
full:
|
|
2850
|
-
};
|
|
2851
|
-
}, undefined, "inline-flex items-center justify-center gap-x-1.5 text-base-content/80 cursor-pointer",
|
|
2852
|
-
size: {
|
|
2853
|
-
sm: "";
|
|
2854
|
-
md: "";
|
|
2855
|
-
lg: "";
|
|
2856
|
-
};
|
|
2857
|
-
labeled: {
|
|
2858
|
-
true: "";
|
|
2859
|
-
false: "";
|
|
2860
|
-
};
|
|
2861
|
-
borderRadius: {
|
|
2862
|
-
none: "rounded-none";
|
|
2863
|
-
xs: "rounded-xs";
|
|
2864
|
-
sm: "rounded-sm";
|
|
2865
|
-
md: "rounded-md";
|
|
2866
|
-
lg: "rounded-lg";
|
|
2867
|
-
xl: "rounded-xl";
|
|
2868
|
-
full: "rounded-full";
|
|
2869
|
-
};
|
|
2870
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
2871
|
-
size: {
|
|
2872
|
-
sm: "";
|
|
2873
|
-
md: "";
|
|
2874
|
-
lg: "";
|
|
2875
|
-
};
|
|
2876
|
-
labeled: {
|
|
2877
|
-
true: "";
|
|
2878
|
-
false: "";
|
|
2879
|
-
};
|
|
2880
|
-
borderRadius: {
|
|
2881
|
-
none: "rounded-none";
|
|
2882
|
-
xs: "rounded-xs";
|
|
2883
|
-
sm: "rounded-sm";
|
|
2884
|
-
md: "rounded-md";
|
|
2885
|
-
lg: "rounded-lg";
|
|
2886
|
-
xl: "rounded-xl";
|
|
2887
|
-
full: "rounded-full";
|
|
2888
|
-
};
|
|
2889
|
-
}, undefined>>;
|
|
2427
|
+
none: string;
|
|
2428
|
+
xs: string;
|
|
2429
|
+
sm: string;
|
|
2430
|
+
md: string;
|
|
2431
|
+
lg: string;
|
|
2432
|
+
xl: string;
|
|
2433
|
+
full: string;
|
|
2434
|
+
};
|
|
2435
|
+
}, undefined, "inline-flex items-center justify-center gap-x-1.5 text-base-content/80 cursor-pointer", undefined, undefined, undefined>;
|
|
2890
2436
|
export type MnDropdownTriggerVariants = VariantProps<typeof mnDropdownTriggerVariants>;
|
|
2891
2437
|
/**
|
|
2892
2438
|
* The leading icon of a command — either a `TemplateRef` (full control over the icon
|