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
|
@@ -130,243 +130,7 @@ export declare const mnCardVariants: import("tailwind-variants").TVReturnType<{
|
|
|
130
130
|
accent: string;
|
|
131
131
|
header: string;
|
|
132
132
|
title: string;
|
|
133
|
-
}, undefined,
|
|
134
|
-
/**
|
|
135
|
-
* Inner padding, and with it the gap between the card's children: a tile needs
|
|
136
|
-
* less air than a section card, and a section card that had to say `gap-4` on
|
|
137
|
-
* every use would drift.
|
|
138
|
-
*/
|
|
139
|
-
padding: {
|
|
140
|
-
sm: {
|
|
141
|
-
root: string;
|
|
142
|
-
};
|
|
143
|
-
md: {
|
|
144
|
-
root: string;
|
|
145
|
-
};
|
|
146
|
-
lg: {
|
|
147
|
-
root: string;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
/** How the children flow: stacked (the default) or on one line, centred. */
|
|
151
|
-
layout: {
|
|
152
|
-
column: {
|
|
153
|
-
root: string;
|
|
154
|
-
};
|
|
155
|
-
row: {
|
|
156
|
-
root: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* Hover response. None by default: a hover promises that a click does something, and
|
|
161
|
-
* most cards are settings, forms or facts that do nothing when clicked. `lift` promises a
|
|
162
|
-
* destination and belongs on a card that is a link or a button; it brings the matching
|
|
163
|
-
* keyboard focus ring, so a card that answers the pointer also answers Tab. `shadow` is
|
|
164
|
-
* kept for a consumer that already asks for it.
|
|
165
|
-
*/
|
|
166
|
-
hover: {
|
|
167
|
-
none: {};
|
|
168
|
-
shadow: {
|
|
169
|
-
root: string;
|
|
170
|
-
};
|
|
171
|
-
lift: {
|
|
172
|
-
root: string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
/**
|
|
176
|
-
* Entrance. `rise` plays the consumer's `--animate-rise` keyframes when its theme
|
|
177
|
-
* defines them (a short rise-in, delayed per card through
|
|
178
|
-
* {@link MnCard.enterDelayMs}) and is a no-op otherwise; reduced-motion users
|
|
179
|
-
* never see it. Off by default: a rise belongs to a card that is one of a list, so a
|
|
180
|
-
* page's static cards do not all move at once.
|
|
181
|
-
*/
|
|
182
|
-
enter: {
|
|
183
|
-
none: {};
|
|
184
|
-
rise: {
|
|
185
|
-
root: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
/** Corner rounding, in mn-button's radius tokens. */
|
|
189
|
-
borderRadius: {
|
|
190
|
-
none: {
|
|
191
|
-
root: string;
|
|
192
|
-
};
|
|
193
|
-
xs: {
|
|
194
|
-
root: string;
|
|
195
|
-
};
|
|
196
|
-
sm: {
|
|
197
|
-
root: string;
|
|
198
|
-
};
|
|
199
|
-
md: {
|
|
200
|
-
root: string;
|
|
201
|
-
};
|
|
202
|
-
lg: {
|
|
203
|
-
root: string;
|
|
204
|
-
};
|
|
205
|
-
xl: {
|
|
206
|
-
root: string;
|
|
207
|
-
};
|
|
208
|
-
two_xl: {
|
|
209
|
-
root: string;
|
|
210
|
-
};
|
|
211
|
-
three_xl: {
|
|
212
|
-
root: string;
|
|
213
|
-
};
|
|
214
|
-
four_xl: {
|
|
215
|
-
root: string;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
/**
|
|
219
|
-
* Colour of the accent bar and of the heading's icon chip: the same palette as
|
|
220
|
-
* mn-button and the icon chip. What the colour *means* (a kind, a status, a
|
|
221
|
-
* module) is the consumer's choice; the card only renders it.
|
|
222
|
-
*/
|
|
223
|
-
color: {
|
|
224
|
-
primary: {
|
|
225
|
-
accent: string;
|
|
226
|
-
};
|
|
227
|
-
secondary: {
|
|
228
|
-
accent: string;
|
|
229
|
-
};
|
|
230
|
-
accent: {
|
|
231
|
-
accent: string;
|
|
232
|
-
};
|
|
233
|
-
success: {
|
|
234
|
-
accent: string;
|
|
235
|
-
};
|
|
236
|
-
warning: {
|
|
237
|
-
accent: string;
|
|
238
|
-
};
|
|
239
|
-
danger: {
|
|
240
|
-
accent: string;
|
|
241
|
-
};
|
|
242
|
-
gray: {
|
|
243
|
-
accent: string;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
}, {
|
|
247
|
-
root: string;
|
|
248
|
-
accent: string;
|
|
249
|
-
header: string;
|
|
250
|
-
title: string;
|
|
251
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
252
|
-
/**
|
|
253
|
-
* Inner padding, and with it the gap between the card's children: a tile needs
|
|
254
|
-
* less air than a section card, and a section card that had to say `gap-4` on
|
|
255
|
-
* every use would drift.
|
|
256
|
-
*/
|
|
257
|
-
padding: {
|
|
258
|
-
sm: {
|
|
259
|
-
root: string;
|
|
260
|
-
};
|
|
261
|
-
md: {
|
|
262
|
-
root: string;
|
|
263
|
-
};
|
|
264
|
-
lg: {
|
|
265
|
-
root: string;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
/** How the children flow: stacked (the default) or on one line, centred. */
|
|
269
|
-
layout: {
|
|
270
|
-
column: {
|
|
271
|
-
root: string;
|
|
272
|
-
};
|
|
273
|
-
row: {
|
|
274
|
-
root: string;
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
/**
|
|
278
|
-
* Hover response. None by default: a hover promises that a click does something, and
|
|
279
|
-
* most cards are settings, forms or facts that do nothing when clicked. `lift` promises a
|
|
280
|
-
* destination and belongs on a card that is a link or a button; it brings the matching
|
|
281
|
-
* keyboard focus ring, so a card that answers the pointer also answers Tab. `shadow` is
|
|
282
|
-
* kept for a consumer that already asks for it.
|
|
283
|
-
*/
|
|
284
|
-
hover: {
|
|
285
|
-
none: {};
|
|
286
|
-
shadow: {
|
|
287
|
-
root: string;
|
|
288
|
-
};
|
|
289
|
-
lift: {
|
|
290
|
-
root: string;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
/**
|
|
294
|
-
* Entrance. `rise` plays the consumer's `--animate-rise` keyframes when its theme
|
|
295
|
-
* defines them (a short rise-in, delayed per card through
|
|
296
|
-
* {@link MnCard.enterDelayMs}) and is a no-op otherwise; reduced-motion users
|
|
297
|
-
* never see it. Off by default: a rise belongs to a card that is one of a list, so a
|
|
298
|
-
* page's static cards do not all move at once.
|
|
299
|
-
*/
|
|
300
|
-
enter: {
|
|
301
|
-
none: {};
|
|
302
|
-
rise: {
|
|
303
|
-
root: string;
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
/** Corner rounding, in mn-button's radius tokens. */
|
|
307
|
-
borderRadius: {
|
|
308
|
-
none: {
|
|
309
|
-
root: string;
|
|
310
|
-
};
|
|
311
|
-
xs: {
|
|
312
|
-
root: string;
|
|
313
|
-
};
|
|
314
|
-
sm: {
|
|
315
|
-
root: string;
|
|
316
|
-
};
|
|
317
|
-
md: {
|
|
318
|
-
root: string;
|
|
319
|
-
};
|
|
320
|
-
lg: {
|
|
321
|
-
root: string;
|
|
322
|
-
};
|
|
323
|
-
xl: {
|
|
324
|
-
root: string;
|
|
325
|
-
};
|
|
326
|
-
two_xl: {
|
|
327
|
-
root: string;
|
|
328
|
-
};
|
|
329
|
-
three_xl: {
|
|
330
|
-
root: string;
|
|
331
|
-
};
|
|
332
|
-
four_xl: {
|
|
333
|
-
root: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
/**
|
|
337
|
-
* Colour of the accent bar and of the heading's icon chip: the same palette as
|
|
338
|
-
* mn-button and the icon chip. What the colour *means* (a kind, a status, a
|
|
339
|
-
* module) is the consumer's choice; the card only renders it.
|
|
340
|
-
*/
|
|
341
|
-
color: {
|
|
342
|
-
primary: {
|
|
343
|
-
accent: string;
|
|
344
|
-
};
|
|
345
|
-
secondary: {
|
|
346
|
-
accent: string;
|
|
347
|
-
};
|
|
348
|
-
accent: {
|
|
349
|
-
accent: string;
|
|
350
|
-
};
|
|
351
|
-
success: {
|
|
352
|
-
accent: string;
|
|
353
|
-
};
|
|
354
|
-
warning: {
|
|
355
|
-
accent: string;
|
|
356
|
-
};
|
|
357
|
-
danger: {
|
|
358
|
-
accent: string;
|
|
359
|
-
};
|
|
360
|
-
gray: {
|
|
361
|
-
accent: string;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
}, {
|
|
365
|
-
root: string;
|
|
366
|
-
accent: string;
|
|
367
|
-
header: string;
|
|
368
|
-
title: string;
|
|
369
|
-
}>>;
|
|
133
|
+
}, undefined, undefined, undefined, undefined>;
|
|
370
134
|
export type MnCardVariants = VariantProps<typeof mnCardVariants>;
|
|
371
135
|
/**
|
|
372
136
|
* Configuration of one {@link MnCard}. Every field is optional; the defaults give the
|
|
@@ -434,80 +198,101 @@ export declare class MnCard {
|
|
|
434
198
|
enterDelayMs: number;
|
|
435
199
|
/** Resolved slot classes for the current configuration. */
|
|
436
200
|
get styles(): {
|
|
437
|
-
root: (slotProps?:
|
|
201
|
+
root: (slotProps?: {
|
|
438
202
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
439
203
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
440
204
|
layout?: "column" | "row" | undefined;
|
|
441
205
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
442
206
|
enter?: "none" | "rise" | undefined;
|
|
443
207
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
444
|
-
|
|
445
|
-
|
|
208
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
209
|
+
className?: never | undefined;
|
|
210
|
+
} | {
|
|
446
211
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
447
212
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
448
213
|
layout?: "column" | "row" | undefined;
|
|
449
214
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
450
215
|
enter?: "none" | "rise" | undefined;
|
|
451
216
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
452
|
-
|
|
453
|
-
|
|
217
|
+
class?: never | undefined;
|
|
218
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
219
|
+
} | undefined) => string;
|
|
220
|
+
accent: (slotProps?: {
|
|
454
221
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
455
222
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
456
223
|
layout?: "column" | "row" | undefined;
|
|
457
224
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
458
225
|
enter?: "none" | "rise" | undefined;
|
|
459
226
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
460
|
-
|
|
461
|
-
|
|
227
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
228
|
+
className?: never | undefined;
|
|
229
|
+
} | {
|
|
462
230
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
463
231
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
464
232
|
layout?: "column" | "row" | undefined;
|
|
465
233
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
466
234
|
enter?: "none" | "rise" | undefined;
|
|
467
235
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
236
|
+
class?: never | undefined;
|
|
237
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
238
|
+
} | undefined) => string;
|
|
239
|
+
header: (slotProps?: {
|
|
471
240
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
472
241
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
473
242
|
layout?: "column" | "row" | undefined;
|
|
474
243
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
475
244
|
enter?: "none" | "rise" | undefined;
|
|
476
245
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
477
|
-
|
|
478
|
-
|
|
246
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
247
|
+
className?: never | undefined;
|
|
248
|
+
} | {
|
|
479
249
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
480
250
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
481
251
|
layout?: "column" | "row" | undefined;
|
|
482
252
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
483
253
|
enter?: "none" | "rise" | undefined;
|
|
484
254
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
485
|
-
|
|
486
|
-
|
|
255
|
+
class?: never | undefined;
|
|
256
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
257
|
+
} | undefined) => string;
|
|
258
|
+
title: (slotProps?: {
|
|
487
259
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
488
260
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
489
261
|
layout?: "column" | "row" | undefined;
|
|
490
262
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
491
263
|
enter?: "none" | "rise" | undefined;
|
|
492
264
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
493
|
-
|
|
494
|
-
|
|
265
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
266
|
+
className?: never | undefined;
|
|
267
|
+
} | {
|
|
495
268
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
496
269
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
497
270
|
layout?: "column" | "row" | undefined;
|
|
498
271
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
499
272
|
enter?: "none" | "rise" | undefined;
|
|
500
273
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
274
|
+
class?: never | undefined;
|
|
275
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
276
|
+
} | undefined) => string;
|
|
277
|
+
base: (slotProps?: {
|
|
504
278
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
505
279
|
padding?: "sm" | "md" | "lg" | undefined;
|
|
506
280
|
layout?: "column" | "row" | undefined;
|
|
507
281
|
hover?: "none" | "shadow" | "lift" | undefined;
|
|
508
282
|
enter?: "none" | "rise" | undefined;
|
|
509
283
|
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
510
|
-
|
|
284
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
285
|
+
className?: never | undefined;
|
|
286
|
+
} | {
|
|
287
|
+
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
288
|
+
padding?: "sm" | "md" | "lg" | undefined;
|
|
289
|
+
layout?: "column" | "row" | undefined;
|
|
290
|
+
hover?: "none" | "shadow" | "lift" | undefined;
|
|
291
|
+
enter?: "none" | "rise" | undefined;
|
|
292
|
+
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
293
|
+
class?: never | undefined;
|
|
294
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
295
|
+
} | undefined) => string;
|
|
511
296
|
};
|
|
512
297
|
/** The card element's own classes; the consumer's static classes merge with them. */
|
|
513
298
|
get hostClasses(): string;
|
|
@@ -542,64 +327,22 @@ export declare const mnIconChipVariants: import("tailwind-variants").TVReturnTyp
|
|
|
542
327
|
* and stat tiles, `lg` for page headers, `xl` for a lone hero or empty-state icon.
|
|
543
328
|
*/
|
|
544
329
|
size: {
|
|
545
|
-
xs:
|
|
546
|
-
sm:
|
|
547
|
-
md:
|
|
548
|
-
lg:
|
|
549
|
-
xl:
|
|
550
|
-
};
|
|
551
|
-
color: {
|
|
552
|
-
primary: "bg-primary/10 text-(--color-primary-text,var(--color-primary))";
|
|
553
|
-
secondary: "bg-secondary/10 text-(--color-secondary-text,var(--color-secondary))";
|
|
554
|
-
accent: "bg-accent/10 text-(--color-accent-text,var(--color-accent))";
|
|
555
|
-
success: "bg-success/10 text-(--color-success-text,var(--color-success))";
|
|
556
|
-
warning: "bg-warning/10 text-(--color-warning-text,var(--color-warning))";
|
|
557
|
-
danger: "bg-error/10 text-(--color-error-text,var(--color-error))";
|
|
558
|
-
gray: "bg-base-content/10 text-base-content/70";
|
|
559
|
-
};
|
|
560
|
-
}, undefined, "inline-flex shrink-0 items-center justify-center", {
|
|
561
|
-
/**
|
|
562
|
-
* `xs` for compact rows and inline labels, `sm` for list rows, `md` for section-card headers
|
|
563
|
-
* and stat tiles, `lg` for page headers, `xl` for a lone hero or empty-state icon.
|
|
564
|
-
*/
|
|
565
|
-
size: {
|
|
566
|
-
xs: "h-8 w-8 rounded-lg";
|
|
567
|
-
sm: "h-9 w-9 rounded-lg";
|
|
568
|
-
md: "h-10 w-10 rounded-xl";
|
|
569
|
-
lg: "h-12 w-12 rounded-2xl";
|
|
570
|
-
xl: "h-14 w-14 rounded-2xl";
|
|
571
|
-
};
|
|
572
|
-
color: {
|
|
573
|
-
primary: "bg-primary/10 text-(--color-primary-text,var(--color-primary))";
|
|
574
|
-
secondary: "bg-secondary/10 text-(--color-secondary-text,var(--color-secondary))";
|
|
575
|
-
accent: "bg-accent/10 text-(--color-accent-text,var(--color-accent))";
|
|
576
|
-
success: "bg-success/10 text-(--color-success-text,var(--color-success))";
|
|
577
|
-
warning: "bg-warning/10 text-(--color-warning-text,var(--color-warning))";
|
|
578
|
-
danger: "bg-error/10 text-(--color-error-text,var(--color-error))";
|
|
579
|
-
gray: "bg-base-content/10 text-base-content/70";
|
|
580
|
-
};
|
|
581
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
582
|
-
/**
|
|
583
|
-
* `xs` for compact rows and inline labels, `sm` for list rows, `md` for section-card headers
|
|
584
|
-
* and stat tiles, `lg` for page headers, `xl` for a lone hero or empty-state icon.
|
|
585
|
-
*/
|
|
586
|
-
size: {
|
|
587
|
-
xs: "h-8 w-8 rounded-lg";
|
|
588
|
-
sm: "h-9 w-9 rounded-lg";
|
|
589
|
-
md: "h-10 w-10 rounded-xl";
|
|
590
|
-
lg: "h-12 w-12 rounded-2xl";
|
|
591
|
-
xl: "h-14 w-14 rounded-2xl";
|
|
330
|
+
xs: string;
|
|
331
|
+
sm: string;
|
|
332
|
+
md: string;
|
|
333
|
+
lg: string;
|
|
334
|
+
xl: string;
|
|
592
335
|
};
|
|
593
336
|
color: {
|
|
594
|
-
primary:
|
|
595
|
-
secondary:
|
|
596
|
-
accent:
|
|
597
|
-
success:
|
|
598
|
-
warning:
|
|
599
|
-
danger:
|
|
600
|
-
gray:
|
|
601
|
-
};
|
|
602
|
-
}, undefined
|
|
337
|
+
primary: string;
|
|
338
|
+
secondary: string;
|
|
339
|
+
accent: string;
|
|
340
|
+
success: string;
|
|
341
|
+
warning: string;
|
|
342
|
+
danger: string;
|
|
343
|
+
gray: string;
|
|
344
|
+
};
|
|
345
|
+
}, undefined, "inline-flex shrink-0 items-center justify-center", undefined, undefined, undefined>;
|
|
603
346
|
export type MnIconChipVariants = VariantProps<typeof mnIconChipVariants>;
|
|
604
347
|
/** Configuration of one {@link MnIconChip}. Both fields are optional. */
|
|
605
348
|
export type MnIconChipTypes = {
|
|
@@ -866,68 +609,94 @@ export declare class MnBreadcrumbs {
|
|
|
866
609
|
private readonly lang;
|
|
867
610
|
/** Resolved tailwind-variants slot functions for the current size. */
|
|
868
611
|
get styles(): {
|
|
869
|
-
root: (slotProps?:
|
|
612
|
+
root: (slotProps?: {
|
|
613
|
+
size?: "sm" | "md" | undefined;
|
|
614
|
+
collapsible?: boolean | undefined;
|
|
615
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
616
|
+
className?: never | undefined;
|
|
617
|
+
} | {
|
|
870
618
|
size?: "sm" | "md" | undefined;
|
|
871
619
|
collapsible?: boolean | undefined;
|
|
872
|
-
|
|
873
|
-
|
|
620
|
+
class?: never | undefined;
|
|
621
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
622
|
+
} | undefined) => string;
|
|
623
|
+
list: (slotProps?: {
|
|
874
624
|
size?: "sm" | "md" | undefined;
|
|
875
625
|
collapsible?: boolean | undefined;
|
|
876
|
-
|
|
877
|
-
|
|
626
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
627
|
+
className?: never | undefined;
|
|
628
|
+
} | {
|
|
878
629
|
size?: "sm" | "md" | undefined;
|
|
879
630
|
collapsible?: boolean | undefined;
|
|
880
|
-
|
|
881
|
-
|
|
631
|
+
class?: never | undefined;
|
|
632
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
633
|
+
} | undefined) => string;
|
|
634
|
+
link: (slotProps?: {
|
|
882
635
|
size?: "sm" | "md" | undefined;
|
|
883
636
|
collapsible?: boolean | undefined;
|
|
884
|
-
|
|
885
|
-
|
|
637
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
638
|
+
className?: never | undefined;
|
|
639
|
+
} | {
|
|
886
640
|
size?: "sm" | "md" | undefined;
|
|
887
641
|
collapsible?: boolean | undefined;
|
|
888
|
-
|
|
889
|
-
|
|
642
|
+
class?: never | undefined;
|
|
643
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
644
|
+
} | undefined) => string;
|
|
645
|
+
current: (slotProps?: {
|
|
890
646
|
size?: "sm" | "md" | undefined;
|
|
891
647
|
collapsible?: boolean | undefined;
|
|
892
|
-
|
|
893
|
-
|
|
648
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
649
|
+
className?: never | undefined;
|
|
650
|
+
} | {
|
|
894
651
|
size?: "sm" | "md" | undefined;
|
|
895
652
|
collapsible?: boolean | undefined;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
653
|
+
class?: never | undefined;
|
|
654
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
655
|
+
} | undefined) => string;
|
|
656
|
+
separator: (slotProps?: {
|
|
899
657
|
size?: "sm" | "md" | undefined;
|
|
900
658
|
collapsible?: boolean | undefined;
|
|
901
|
-
|
|
902
|
-
|
|
659
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
660
|
+
className?: never | undefined;
|
|
661
|
+
} | {
|
|
903
662
|
size?: "sm" | "md" | undefined;
|
|
904
663
|
collapsible?: boolean | undefined;
|
|
905
|
-
|
|
906
|
-
|
|
664
|
+
class?: never | undefined;
|
|
665
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
666
|
+
} | undefined) => string;
|
|
667
|
+
back: (slotProps?: {
|
|
907
668
|
size?: "sm" | "md" | undefined;
|
|
908
669
|
collapsible?: boolean | undefined;
|
|
909
|
-
|
|
910
|
-
|
|
670
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
671
|
+
className?: never | undefined;
|
|
672
|
+
} | {
|
|
911
673
|
size?: "sm" | "md" | undefined;
|
|
912
674
|
collapsible?: boolean | undefined;
|
|
913
|
-
|
|
914
|
-
|
|
675
|
+
class?: never | undefined;
|
|
676
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
677
|
+
} | undefined) => string;
|
|
678
|
+
collapsed: (slotProps?: {
|
|
915
679
|
size?: "sm" | "md" | undefined;
|
|
916
680
|
collapsible?: boolean | undefined;
|
|
917
|
-
|
|
918
|
-
|
|
681
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
682
|
+
className?: never | undefined;
|
|
683
|
+
} | {
|
|
919
684
|
size?: "sm" | "md" | undefined;
|
|
920
685
|
collapsible?: boolean | undefined;
|
|
921
|
-
|
|
922
|
-
|
|
686
|
+
class?: never | undefined;
|
|
687
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
688
|
+
} | undefined) => string;
|
|
689
|
+
base: (slotProps?: {
|
|
923
690
|
size?: "sm" | "md" | undefined;
|
|
924
691
|
collapsible?: boolean | undefined;
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
692
|
+
class?: import("tailwind-variants").ClassNameValue;
|
|
693
|
+
className?: never | undefined;
|
|
694
|
+
} | {
|
|
928
695
|
size?: "sm" | "md" | undefined;
|
|
929
696
|
collapsible?: boolean | undefined;
|
|
930
|
-
|
|
697
|
+
class?: never | undefined;
|
|
698
|
+
className?: import("tailwind-variants").ClassNameValue;
|
|
699
|
+
} | undefined) => string;
|
|
931
700
|
};
|
|
932
701
|
/** Whether the parent crumb replaces the trail below `sm`. */
|
|
933
702
|
get collapsesToParent(): boolean;
|
|
@@ -1015,91 +784,19 @@ export declare const mnBreadcrumbsVariants: import("tailwind-variants").TVReturn
|
|
|
1015
784
|
separator: string;
|
|
1016
785
|
back: string;
|
|
1017
786
|
collapsed: string;
|
|
1018
|
-
}, undefined,
|
|
1019
|
-
size: {
|
|
1020
|
-
sm: {
|
|
1021
|
-
root: string;
|
|
1022
|
-
list: string;
|
|
1023
|
-
};
|
|
1024
|
-
md: {
|
|
1025
|
-
root: string;
|
|
1026
|
-
list: string;
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
/** Whether the parent crumb takes the trail's place below `sm`. */
|
|
1030
|
-
collapsible: {
|
|
1031
|
-
true: {
|
|
1032
|
-
list: string;
|
|
1033
|
-
};
|
|
1034
|
-
false: {};
|
|
1035
|
-
};
|
|
1036
|
-
}, {
|
|
1037
|
-
root: string;
|
|
1038
|
-
list: string;
|
|
1039
|
-
link: string;
|
|
1040
|
-
current: string;
|
|
1041
|
-
separator: string;
|
|
1042
|
-
back: string;
|
|
1043
|
-
collapsed: string;
|
|
1044
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
1045
|
-
size: {
|
|
1046
|
-
sm: {
|
|
1047
|
-
root: string;
|
|
1048
|
-
list: string;
|
|
1049
|
-
};
|
|
1050
|
-
md: {
|
|
1051
|
-
root: string;
|
|
1052
|
-
list: string;
|
|
1053
|
-
};
|
|
1054
|
-
};
|
|
1055
|
-
/** Whether the parent crumb takes the trail's place below `sm`. */
|
|
1056
|
-
collapsible: {
|
|
1057
|
-
true: {
|
|
1058
|
-
list: string;
|
|
1059
|
-
};
|
|
1060
|
-
false: {};
|
|
1061
|
-
};
|
|
1062
|
-
}, {
|
|
1063
|
-
root: string;
|
|
1064
|
-
list: string;
|
|
1065
|
-
link: string;
|
|
1066
|
-
current: string;
|
|
1067
|
-
separator: string;
|
|
1068
|
-
back: string;
|
|
1069
|
-
collapsed: string;
|
|
1070
|
-
}>>;
|
|
787
|
+
}, undefined, undefined, undefined, undefined>;
|
|
1071
788
|
export type MnBreadcrumbsVariants = VariantProps<typeof mnBreadcrumbsVariants>;
|
|
1072
789
|
export declare const mnIconVariants: import("tailwind-variants").TVReturnType<{
|
|
1073
790
|
color: {
|
|
1074
|
-
current:
|
|
1075
|
-
primary:
|
|
1076
|
-
secondary:
|
|
1077
|
-
danger:
|
|
1078
|
-
warning:
|
|
1079
|
-
success:
|
|
1080
|
-
accent:
|
|
1081
|
-
};
|
|
1082
|
-
}, undefined, "inline-flex shrink-0",
|
|
1083
|
-
color: {
|
|
1084
|
-
current: "text-current";
|
|
1085
|
-
primary: "text-primary";
|
|
1086
|
-
secondary: "text-secondary";
|
|
1087
|
-
danger: "text-error";
|
|
1088
|
-
warning: "text-warning";
|
|
1089
|
-
success: "text-success";
|
|
1090
|
-
accent: "text-accent";
|
|
1091
|
-
};
|
|
1092
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
1093
|
-
color: {
|
|
1094
|
-
current: "text-current";
|
|
1095
|
-
primary: "text-primary";
|
|
1096
|
-
secondary: "text-secondary";
|
|
1097
|
-
danger: "text-error";
|
|
1098
|
-
warning: "text-warning";
|
|
1099
|
-
success: "text-success";
|
|
1100
|
-
accent: "text-accent";
|
|
1101
|
-
};
|
|
1102
|
-
}, undefined>>;
|
|
791
|
+
current: string;
|
|
792
|
+
primary: string;
|
|
793
|
+
secondary: string;
|
|
794
|
+
danger: string;
|
|
795
|
+
warning: string;
|
|
796
|
+
success: string;
|
|
797
|
+
accent: string;
|
|
798
|
+
};
|
|
799
|
+
}, undefined, "inline-flex shrink-0", undefined, undefined, undefined>;
|
|
1103
800
|
export type MnIconVariants = VariantProps<typeof mnIconVariants>;
|
|
1104
801
|
export type MnIconTypes = {
|
|
1105
802
|
name: string;
|