mn-angular-lib 2.0.34 → 2.0.35
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/fesm2022/mn-angular-lib-alert.mjs +515 -527
- package/fesm2022/mn-angular-lib-alert.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-bottom-sheet.mjs +264 -357
- package/fesm2022/mn-angular-lib-bottom-sheet.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-button.mjs +819 -382
- package/fesm2022/mn-angular-lib-button.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-calendar-core.mjs +240 -365
- package/fesm2022/mn-angular-lib-calendar-core.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-calendar.mjs +1691 -1545
- package/fesm2022/mn-angular-lib-calendar.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-collection.mjs +2367 -2796
- package/fesm2022/mn-angular-lib-collection.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-core.mjs +693 -1241
- package/fesm2022/mn-angular-lib-core.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-display.mjs +679 -712
- package/fesm2022/mn-angular-lib-display.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-forms.mjs +3671 -4647
- package/fesm2022/mn-angular-lib-forms.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-keyboard.mjs +221 -190
- package/fesm2022/mn-angular-lib-keyboard.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-modal-core.mjs +711 -896
- package/fesm2022/mn-angular-lib-modal-core.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-modal-ui.mjs +2089 -2035
- package/fesm2022/mn-angular-lib-modal-ui.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-modal.mjs +76 -121
- package/fesm2022/mn-angular-lib-modal.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-rich-text-editor.mjs +289 -277
- package/fesm2022/mn-angular-lib-rich-text-editor.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-segmented.mjs +189 -241
- package/fesm2022/mn-angular-lib-segmented.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-tab.mjs +409 -642
- package/fesm2022/mn-angular-lib-tab.mjs.map +1 -1
- package/fesm2022/mn-angular-lib.mjs +16 -29
- package/package.json +1 -1
- package/types/mn-angular-lib-alert.d.ts +239 -241
- package/types/mn-angular-lib-bottom-sheet.d.ts +190 -150
- package/types/mn-angular-lib-button.d.ts +319 -317
- package/types/mn-angular-lib-calendar-core.d.ts +199 -209
- package/types/mn-angular-lib-calendar.d.ts +656 -511
- package/types/mn-angular-lib-collection.d.ts +1649 -1585
- package/types/mn-angular-lib-core.d.ts +524 -535
- package/types/mn-angular-lib-display.d.ts +946 -886
- package/types/mn-angular-lib-forms.d.ts +3012 -3013
- package/types/mn-angular-lib-keyboard.d.ts +125 -85
- package/types/mn-angular-lib-modal-core.d.ts +978 -994
- package/types/mn-angular-lib-modal-ui.d.ts +541 -493
- package/types/mn-angular-lib-modal.d.ts +24 -27
- package/types/mn-angular-lib-rich-text-editor.d.ts +131 -98
- package/types/mn-angular-lib-segmented.d.ts +354 -341
- package/types/mn-angular-lib-tab.d.ts +345 -336
- package/types/mn-angular-lib.d.ts +16 -16
- package/fesm2022/mn-angular-lib.mjs.map +0 -1
|
@@ -1,326 +1,328 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
true: string;
|
|
56
|
-
};
|
|
1
|
+
import { VariantProps } from "tailwind-variants";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const mnButtonVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
sm: "px-2 py-1 text-sm";
|
|
6
|
+
md: "px-3 py-1.5 text-base";
|
|
7
|
+
lg: "px-4 py-2 text-lg";
|
|
8
|
+
};
|
|
9
|
+
variant: {
|
|
10
|
+
fill: "";
|
|
11
|
+
outline: "bg-transparent border";
|
|
12
|
+
text: "bg-transparent";
|
|
13
|
+
textUnderline: "bg-transparent underline underline-offset-2";
|
|
14
|
+
ghost: "bg-transparent";
|
|
15
|
+
};
|
|
16
|
+
color: {
|
|
17
|
+
primary: "";
|
|
18
|
+
secondary: "";
|
|
19
|
+
danger: "";
|
|
20
|
+
warning: "";
|
|
21
|
+
success: "";
|
|
22
|
+
accent: "";
|
|
23
|
+
gray: "";
|
|
24
|
+
};
|
|
25
|
+
borderRadius: {
|
|
26
|
+
none: "rounded-none";
|
|
27
|
+
xs: "rounded-xs";
|
|
28
|
+
sm: "rounded-sm";
|
|
29
|
+
md: "rounded-md";
|
|
30
|
+
lg: "rounded-lg";
|
|
31
|
+
xl: "rounded-xl";
|
|
32
|
+
two_xl: "rounded-2xl";
|
|
33
|
+
three_xl: "rounded-3xl";
|
|
34
|
+
four_xl: "rounded-4xl";
|
|
35
|
+
full: "rounded-full";
|
|
36
|
+
};
|
|
37
|
+
shape: {
|
|
38
|
+
default: "";
|
|
39
|
+
circle: "p-0 shrink-0 rounded-full";
|
|
40
|
+
square: "p-0 shrink-0 rounded-md";
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
true: "opacity-50 pointer-events-none";
|
|
44
|
+
};
|
|
45
|
+
loading: {
|
|
46
|
+
true: "opacity-50 pointer-events-none cursor-wait";
|
|
47
|
+
};
|
|
48
|
+
wrap: {
|
|
49
|
+
true: "whitespace-normal";
|
|
50
|
+
false: "whitespace-nowrap";
|
|
51
|
+
};
|
|
52
|
+
hover: {
|
|
53
|
+
true: "";
|
|
54
|
+
};
|
|
57
55
|
}, undefined, "inline-flex items-center justify-center hover:cursor-pointer transition-[color,background-color,border-color,box-shadow,filter,opacity] duration-300 ease-in-out", {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}, undefined,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}, undefined
|
|
162
|
-
type MnButtonVariants = VariantProps<typeof mnButtonVariants>;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
hover?: MnButtonVariants['hover'];
|
|
56
|
+
size: {
|
|
57
|
+
sm: "px-2 py-1 text-sm";
|
|
58
|
+
md: "px-3 py-1.5 text-base";
|
|
59
|
+
lg: "px-4 py-2 text-lg";
|
|
60
|
+
};
|
|
61
|
+
variant: {
|
|
62
|
+
fill: "";
|
|
63
|
+
outline: "bg-transparent border";
|
|
64
|
+
text: "bg-transparent";
|
|
65
|
+
textUnderline: "bg-transparent underline underline-offset-2";
|
|
66
|
+
ghost: "bg-transparent";
|
|
67
|
+
};
|
|
68
|
+
color: {
|
|
69
|
+
primary: "";
|
|
70
|
+
secondary: "";
|
|
71
|
+
danger: "";
|
|
72
|
+
warning: "";
|
|
73
|
+
success: "";
|
|
74
|
+
accent: "";
|
|
75
|
+
gray: "";
|
|
76
|
+
};
|
|
77
|
+
borderRadius: {
|
|
78
|
+
none: "rounded-none";
|
|
79
|
+
xs: "rounded-xs";
|
|
80
|
+
sm: "rounded-sm";
|
|
81
|
+
md: "rounded-md";
|
|
82
|
+
lg: "rounded-lg";
|
|
83
|
+
xl: "rounded-xl";
|
|
84
|
+
two_xl: "rounded-2xl";
|
|
85
|
+
three_xl: "rounded-3xl";
|
|
86
|
+
four_xl: "rounded-4xl";
|
|
87
|
+
full: "rounded-full";
|
|
88
|
+
};
|
|
89
|
+
shape: {
|
|
90
|
+
default: "";
|
|
91
|
+
circle: "p-0 shrink-0 rounded-full";
|
|
92
|
+
square: "p-0 shrink-0 rounded-md";
|
|
93
|
+
};
|
|
94
|
+
disabled: {
|
|
95
|
+
true: "opacity-50 pointer-events-none";
|
|
96
|
+
};
|
|
97
|
+
loading: {
|
|
98
|
+
true: "opacity-50 pointer-events-none cursor-wait";
|
|
99
|
+
};
|
|
100
|
+
wrap: {
|
|
101
|
+
true: "whitespace-normal";
|
|
102
|
+
false: "whitespace-nowrap";
|
|
103
|
+
};
|
|
104
|
+
hover: {
|
|
105
|
+
true: "";
|
|
106
|
+
};
|
|
107
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
108
|
+
size: {
|
|
109
|
+
sm: "px-2 py-1 text-sm";
|
|
110
|
+
md: "px-3 py-1.5 text-base";
|
|
111
|
+
lg: "px-4 py-2 text-lg";
|
|
112
|
+
};
|
|
113
|
+
variant: {
|
|
114
|
+
fill: "";
|
|
115
|
+
outline: "bg-transparent border";
|
|
116
|
+
text: "bg-transparent";
|
|
117
|
+
textUnderline: "bg-transparent underline underline-offset-2";
|
|
118
|
+
ghost: "bg-transparent";
|
|
119
|
+
};
|
|
120
|
+
color: {
|
|
121
|
+
primary: "";
|
|
122
|
+
secondary: "";
|
|
123
|
+
danger: "";
|
|
124
|
+
warning: "";
|
|
125
|
+
success: "";
|
|
126
|
+
accent: "";
|
|
127
|
+
gray: "";
|
|
128
|
+
};
|
|
129
|
+
borderRadius: {
|
|
130
|
+
none: "rounded-none";
|
|
131
|
+
xs: "rounded-xs";
|
|
132
|
+
sm: "rounded-sm";
|
|
133
|
+
md: "rounded-md";
|
|
134
|
+
lg: "rounded-lg";
|
|
135
|
+
xl: "rounded-xl";
|
|
136
|
+
two_xl: "rounded-2xl";
|
|
137
|
+
three_xl: "rounded-3xl";
|
|
138
|
+
four_xl: "rounded-4xl";
|
|
139
|
+
full: "rounded-full";
|
|
140
|
+
};
|
|
141
|
+
shape: {
|
|
142
|
+
default: "";
|
|
143
|
+
circle: "p-0 shrink-0 rounded-full";
|
|
144
|
+
square: "p-0 shrink-0 rounded-md";
|
|
145
|
+
};
|
|
146
|
+
disabled: {
|
|
147
|
+
true: "opacity-50 pointer-events-none";
|
|
148
|
+
};
|
|
149
|
+
loading: {
|
|
150
|
+
true: "opacity-50 pointer-events-none cursor-wait";
|
|
151
|
+
};
|
|
152
|
+
wrap: {
|
|
153
|
+
true: "whitespace-normal";
|
|
154
|
+
false: "whitespace-nowrap";
|
|
155
|
+
};
|
|
156
|
+
hover: {
|
|
157
|
+
true: "";
|
|
158
|
+
};
|
|
159
|
+
}, undefined>>;
|
|
160
|
+
export type MnButtonVariants = VariantProps<typeof mnButtonVariants>;
|
|
161
|
+
export type MnButtonTypes = {
|
|
162
|
+
size: MnButtonVariants['size'];
|
|
163
|
+
variant: MnButtonVariants['variant'];
|
|
164
|
+
borderRadius: MnButtonVariants['borderRadius'];
|
|
165
|
+
shape?: MnButtonVariants['shape'];
|
|
166
|
+
color: MnButtonVariants['color'];
|
|
167
|
+
disabled?: MnButtonVariants['disabled'];
|
|
168
|
+
loading?: MnButtonVariants['loading'];
|
|
169
|
+
wrap?: MnButtonVariants['wrap'];
|
|
170
|
+
hover?: MnButtonVariants['hover'];
|
|
174
171
|
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
172
|
+
export declare class MnButton {
|
|
173
|
+
data: Partial<MnButtonTypes>;
|
|
174
|
+
get hostClasses(): string;
|
|
175
|
+
get ariaBusy(): "true" | null;
|
|
176
|
+
get ariaDisabled(): "true" | null;
|
|
177
|
+
get disabledAttr(): "" | null;
|
|
178
|
+
get tabIndex(): "-1" | null;
|
|
179
|
+
private get isBlocked();
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MnButton, never>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MnButton, "button[mnButton], a[mnButton]", never, {
|
|
182
|
+
"data": {
|
|
183
|
+
"alias": "data";
|
|
184
|
+
"required": false;
|
|
185
|
+
};
|
|
186
|
+
}, {}, never, ["*"], true, never>;
|
|
186
187
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
};
|
|
188
|
+
export declare const mnBadgeVariants: import("tailwind-variants").TVReturnType<{
|
|
189
|
+
size: {
|
|
190
|
+
sm: "px-1.5 py-0.5 text-xs";
|
|
191
|
+
md: "px-2 py-0.5 text-sm";
|
|
192
|
+
lg: "px-2.5 py-1 text-base";
|
|
193
|
+
xl: "px-3 py-1.5 text-lg";
|
|
194
|
+
};
|
|
195
|
+
variant: {
|
|
196
|
+
default: "";
|
|
197
|
+
fill: "";
|
|
198
|
+
};
|
|
199
|
+
wrap: {
|
|
200
|
+
true: "whitespace-normal";
|
|
201
|
+
false: "whitespace-nowrap";
|
|
202
|
+
};
|
|
203
|
+
color: {
|
|
204
|
+
primary: "";
|
|
205
|
+
secondary: "";
|
|
206
|
+
danger: "";
|
|
207
|
+
warning: "";
|
|
208
|
+
success: "";
|
|
209
|
+
accent: "";
|
|
210
|
+
lightgray: "";
|
|
211
|
+
};
|
|
212
212
|
}, undefined, "inline-flex items-center rounded-md border font-semibold", {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}, undefined,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}, undefined
|
|
261
|
-
type MnBadgeVariants = VariantProps<typeof mnBadgeVariants>;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
wrap: MnBadgeVariants['wrap'];
|
|
213
|
+
size: {
|
|
214
|
+
sm: "px-1.5 py-0.5 text-xs";
|
|
215
|
+
md: "px-2 py-0.5 text-sm";
|
|
216
|
+
lg: "px-2.5 py-1 text-base";
|
|
217
|
+
xl: "px-3 py-1.5 text-lg";
|
|
218
|
+
};
|
|
219
|
+
variant: {
|
|
220
|
+
default: "";
|
|
221
|
+
fill: "";
|
|
222
|
+
};
|
|
223
|
+
wrap: {
|
|
224
|
+
true: "whitespace-normal";
|
|
225
|
+
false: "whitespace-nowrap";
|
|
226
|
+
};
|
|
227
|
+
color: {
|
|
228
|
+
primary: "";
|
|
229
|
+
secondary: "";
|
|
230
|
+
danger: "";
|
|
231
|
+
warning: "";
|
|
232
|
+
success: "";
|
|
233
|
+
accent: "";
|
|
234
|
+
lightgray: "";
|
|
235
|
+
};
|
|
236
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
237
|
+
size: {
|
|
238
|
+
sm: "px-1.5 py-0.5 text-xs";
|
|
239
|
+
md: "px-2 py-0.5 text-sm";
|
|
240
|
+
lg: "px-2.5 py-1 text-base";
|
|
241
|
+
xl: "px-3 py-1.5 text-lg";
|
|
242
|
+
};
|
|
243
|
+
variant: {
|
|
244
|
+
default: "";
|
|
245
|
+
fill: "";
|
|
246
|
+
};
|
|
247
|
+
wrap: {
|
|
248
|
+
true: "whitespace-normal";
|
|
249
|
+
false: "whitespace-nowrap";
|
|
250
|
+
};
|
|
251
|
+
color: {
|
|
252
|
+
primary: "";
|
|
253
|
+
secondary: "";
|
|
254
|
+
danger: "";
|
|
255
|
+
warning: "";
|
|
256
|
+
success: "";
|
|
257
|
+
accent: "";
|
|
258
|
+
lightgray: "";
|
|
259
|
+
};
|
|
260
|
+
}, undefined>>;
|
|
261
|
+
export type MnBadgeVariants = VariantProps<typeof mnBadgeVariants>;
|
|
262
|
+
export type MnBadgeTypes = {
|
|
263
|
+
size: MnBadgeVariants['size'];
|
|
264
|
+
variant: MnBadgeVariants['variant'];
|
|
265
|
+
color: MnBadgeVariants['color'];
|
|
266
|
+
wrap: MnBadgeVariants['wrap'];
|
|
268
267
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
export declare class MnBadge {
|
|
269
|
+
data: Partial<MnBadgeTypes>;
|
|
270
|
+
get hostClasses(): string;
|
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MnBadge, never>;
|
|
272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MnBadge, "span[mnBadge]", never, {
|
|
273
|
+
"data": {
|
|
274
|
+
"alias": "data";
|
|
275
|
+
"required": false;
|
|
276
|
+
};
|
|
277
|
+
}, {}, never, ["*"], true, never>;
|
|
275
278
|
}
|
|
276
|
-
|
|
277
|
-
type
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
appearDelay?: number;
|
|
279
|
+
export type MnSkeletonShape = 'rectangle' | 'circle' | 'text';
|
|
280
|
+
export type MnSkeletonProps = {
|
|
281
|
+
shape?: MnSkeletonShape;
|
|
282
|
+
animated?: boolean;
|
|
283
|
+
width?: string;
|
|
284
|
+
height?: string;
|
|
285
|
+
/**
|
|
286
|
+
* How long the placeholder stays invisible before it fades in, in ms. Default 300: a load
|
|
287
|
+
* that finishes sooner never shows a skeleton at all, so a fast page does not flash grey
|
|
288
|
+
* bars before its content. 0 starts its 150 ms fade-in at once.
|
|
289
|
+
*/
|
|
290
|
+
appearDelay?: number;
|
|
289
291
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
292
|
+
export declare class MnSkeleton {
|
|
293
|
+
data: Partial<MnSkeletonProps>;
|
|
294
|
+
readonly ariaHidden = "true";
|
|
295
|
+
get hostClasses(): string;
|
|
296
|
+
get width(): string | null;
|
|
297
|
+
get height(): string | null;
|
|
298
|
+
/** The caller's {@link MnSkeletonProps.appearDelay}, overriding the stylesheet's 300 ms. */
|
|
299
|
+
get appearDelay(): string | null;
|
|
300
|
+
get isAnimated(): boolean;
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MnSkeleton, never>;
|
|
302
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MnSkeleton, "mn-skeleton", never, {
|
|
303
|
+
"data": {
|
|
304
|
+
"alias": "data";
|
|
305
|
+
"required": false;
|
|
306
|
+
};
|
|
307
|
+
}, {}, never, never, true, never>;
|
|
302
308
|
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
};
|
|
309
|
+
export declare const mnSkeletonVariants: import("tailwind-variants").TVReturnType<{
|
|
310
|
+
shape: {
|
|
311
|
+
rectangle: "rounded-md h-4";
|
|
312
|
+
circle: "rounded-full h-10 w-10";
|
|
313
|
+
text: "rounded h-4";
|
|
314
|
+
};
|
|
310
315
|
}, undefined, "bg-base-300 relative overflow-hidden", {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}, undefined,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}, undefined
|
|
323
|
-
type MnSkeletonVariantProps = VariantProps<typeof mnSkeletonVariants>;
|
|
324
|
-
|
|
325
|
-
export { MnBadge, MnButton, MnSkeleton, mnBadgeVariants, mnButtonVariants, mnSkeletonVariants };
|
|
326
|
-
export type { MnBadgeTypes, MnBadgeVariants, MnButtonTypes, MnButtonVariants, MnSkeletonProps, MnSkeletonShape, MnSkeletonVariantProps };
|
|
316
|
+
shape: {
|
|
317
|
+
rectangle: "rounded-md h-4";
|
|
318
|
+
circle: "rounded-full h-10 w-10";
|
|
319
|
+
text: "rounded h-4";
|
|
320
|
+
};
|
|
321
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
322
|
+
shape: {
|
|
323
|
+
rectangle: "rounded-md h-4";
|
|
324
|
+
circle: "rounded-full h-10 w-10";
|
|
325
|
+
text: "rounded h-4";
|
|
326
|
+
};
|
|
327
|
+
}, undefined>>;
|
|
328
|
+
export type MnSkeletonVariantProps = VariantProps<typeof mnSkeletonVariants>;
|