mn-angular-lib 2.0.15 → 2.0.17
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-display.mjs +7 -3
- package/fesm2022/mn-angular-lib-display.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-modal-core.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-modal-ui.mjs +40 -12
- package/fesm2022/mn-angular-lib-modal-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/mn-angular-lib-display.d.ts +22 -19
- package/types/mn-angular-lib-modal-core.d.ts +5 -0
package/package.json
CHANGED
|
@@ -59,7 +59,8 @@ declare const mnCardVariants: tailwind_variants.TVReturnType<{
|
|
|
59
59
|
* Entrance. `rise` plays the consumer's `--animate-rise` keyframes when its theme
|
|
60
60
|
* defines them (a short rise-in, delayed per card through
|
|
61
61
|
* {@link MnCard.enterDelayMs}) and is a no-op otherwise; reduced-motion users
|
|
62
|
-
* never see it.
|
|
62
|
+
* never see it. Off by default: a rise belongs to a card that is one of a list, so a
|
|
63
|
+
* page's static cards do not all move at once.
|
|
63
64
|
*/
|
|
64
65
|
enter: {
|
|
65
66
|
none: {};
|
|
@@ -173,7 +174,8 @@ declare const mnCardVariants: tailwind_variants.TVReturnType<{
|
|
|
173
174
|
* Entrance. `rise` plays the consumer's `--animate-rise` keyframes when its theme
|
|
174
175
|
* defines them (a short rise-in, delayed per card through
|
|
175
176
|
* {@link MnCard.enterDelayMs}) and is a no-op otherwise; reduced-motion users
|
|
176
|
-
* never see it.
|
|
177
|
+
* never see it. Off by default: a rise belongs to a card that is one of a list, so a
|
|
178
|
+
* page's static cards do not all move at once.
|
|
177
179
|
*/
|
|
178
180
|
enter: {
|
|
179
181
|
none: {};
|
|
@@ -287,7 +289,8 @@ declare const mnCardVariants: tailwind_variants.TVReturnType<{
|
|
|
287
289
|
* Entrance. `rise` plays the consumer's `--animate-rise` keyframes when its theme
|
|
288
290
|
* defines them (a short rise-in, delayed per card through
|
|
289
291
|
* {@link MnCard.enterDelayMs}) and is a no-op otherwise; reduced-motion users
|
|
290
|
-
* never see it.
|
|
292
|
+
* never see it. Off by default: a rise belongs to a card that is one of a list, so a
|
|
293
|
+
* page's static cards do not all move at once.
|
|
291
294
|
*/
|
|
292
295
|
enter: {
|
|
293
296
|
none: {};
|
|
@@ -433,32 +436,32 @@ declare class MnCard {
|
|
|
433
436
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
434
437
|
layout?: "column" | "row" | undefined;
|
|
435
438
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
436
|
-
enter?: "
|
|
437
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
439
|
+
enter?: "none" | "rise" | undefined;
|
|
440
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
438
441
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
439
442
|
accent: (slotProps?: ({
|
|
440
443
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
441
444
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
442
445
|
layout?: "column" | "row" | undefined;
|
|
443
446
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
444
|
-
enter?: "
|
|
445
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
447
|
+
enter?: "none" | "rise" | undefined;
|
|
448
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
446
449
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
447
450
|
header: (slotProps?: ({
|
|
448
451
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
449
452
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
450
453
|
layout?: "column" | "row" | undefined;
|
|
451
454
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
452
|
-
enter?: "
|
|
453
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
455
|
+
enter?: "none" | "rise" | undefined;
|
|
456
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
454
457
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
455
458
|
title: (slotProps?: ({
|
|
456
459
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
457
460
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
458
461
|
layout?: "column" | "row" | undefined;
|
|
459
462
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
460
|
-
enter?: "
|
|
461
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
463
|
+
enter?: "none" | "rise" | undefined;
|
|
464
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
462
465
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
463
466
|
} & {
|
|
464
467
|
root: (slotProps?: ({
|
|
@@ -466,32 +469,32 @@ declare class MnCard {
|
|
|
466
469
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
467
470
|
layout?: "column" | "row" | undefined;
|
|
468
471
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
469
|
-
enter?: "
|
|
470
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
472
|
+
enter?: "none" | "rise" | undefined;
|
|
473
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
471
474
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
472
475
|
accent: (slotProps?: ({
|
|
473
476
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
474
477
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
475
478
|
layout?: "column" | "row" | undefined;
|
|
476
479
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
477
|
-
enter?: "
|
|
478
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
480
|
+
enter?: "none" | "rise" | undefined;
|
|
481
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
479
482
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
480
483
|
header: (slotProps?: ({
|
|
481
484
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
482
485
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
483
486
|
layout?: "column" | "row" | undefined;
|
|
484
487
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
485
|
-
enter?: "
|
|
486
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
488
|
+
enter?: "none" | "rise" | undefined;
|
|
489
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
487
490
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
488
491
|
title: (slotProps?: ({
|
|
489
492
|
color?: "primary" | "secondary" | "accent" | "success" | "warning" | "danger" | "gray" | undefined;
|
|
490
493
|
padding?: "md" | "sm" | "lg" | undefined;
|
|
491
494
|
layout?: "column" | "row" | undefined;
|
|
492
495
|
hover?: "shadow" | "none" | "lift" | undefined;
|
|
493
|
-
enter?: "
|
|
494
|
-
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "
|
|
496
|
+
enter?: "none" | "rise" | undefined;
|
|
497
|
+
borderRadius?: "md" | "xs" | "sm" | "lg" | "xl" | "none" | "two_xl" | "three_xl" | "four_xl" | undefined;
|
|
495
498
|
} & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string;
|
|
496
499
|
} & {};
|
|
497
500
|
/** The card element's own classes; the consumer's static classes merge with them. */
|
|
@@ -629,6 +629,11 @@ type ModalFooterAction<TResult = unknown> = {
|
|
|
629
629
|
* omitted. Only rendered when the modal's `showActionIcons` is not explicitly `false`.
|
|
630
630
|
*/
|
|
631
631
|
icon?: LucideIconData;
|
|
632
|
+
/**
|
|
633
|
+
* Where the icon sits: before the label (default) or after it. `'end'` is for a step forward
|
|
634
|
+
* ("Volgende" with `MN_MODAL_ACTION_ICONS.next`), drawn the way a wizard's own next button is.
|
|
635
|
+
*/
|
|
636
|
+
iconPosition?: 'start' | 'end';
|
|
632
637
|
};
|
|
633
638
|
type ModalPollingConfig<TResult = unknown> = {
|
|
634
639
|
/** Polling interval in milliseconds */
|