@mozaic-ds/vue 1.0.0-beta.5 → 1.0.0-beta.7

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.
@@ -20,28 +20,28 @@ import { VNodeProps } from 'vue';
20
20
  import { WatchOptions } from 'vue';
21
21
  import { WatchStopHandle } from 'vue';
22
22
 
23
- declare const __VLS_component: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
23
+ declare const __VLS_component: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
24
24
  appearance: "standard" | "accent" | "danger" | "inverse";
25
25
  size: "s" | "m" | "l";
26
26
  type: "button" | "reset" | "submit";
27
27
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
28
28
 
29
- declare const __VLS_component_2: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
29
+ declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
30
30
 
31
- declare const __VLS_component_3: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
31
+ declare const __VLS_component_3: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
32
32
 
33
- declare const __VLS_component_4: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
33
+ declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
34
34
  appearance: "standard" | "accent" | "danger" | "inverse";
35
35
  size: "s" | "m" | "l";
36
36
  type: "button" | "reset" | "submit";
37
37
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
38
38
 
39
- declare const __VLS_component_5: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
39
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
40
+ iconPosition: "left" | "right";
40
41
  appearance: "secondary" | "accent" | "inverse" | "standard";
41
42
  size: "s" | "m";
42
- iconPosition: "left" | "right";
43
43
  href: string;
44
- target: string;
44
+ target: "_self" | "_blank" | "_parent" | "_top";
45
45
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
46
46
 
47
47
  declare const __VLS_component_6: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -65,39 +65,48 @@ inputType: "date" | "email" | "number" | "password" | "search" | "tel" | "text";
65
65
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
66
66
 
67
67
  /**
68
- * A badge indicates the status of an entity and can evolve at any time.
68
+ * A breadcrumb is a navigation help that displays the hierarchical path of the current page within a website or application. It helps users understand their location and allows them to navigate back to previous levels easily. Breadcrumbs improve usability and accessibility, especially in multi-level websites, dashboards, and e-commerce platforms.
69
69
  */
70
70
  declare type __VLS_Props = {
71
71
  /**
72
- * Content of the badge
73
- */
74
- label: number;
75
- /**
76
- * Allows to define the Badge style
72
+ * Allows to define the breadcrumb style
77
73
  */
78
- appearance?: 'danger' | 'accent' | 'inverse' | 'standard';
74
+ appearance?: 'standard' | 'inverse';
79
75
  /**
80
- * Allows to define the Badge size
76
+ * Links of the breadcrumb
81
77
  */
82
- size?: 's' | 'm';
78
+ links?: Array<{
79
+ /**
80
+ * The label displayed for the link.
81
+ */
82
+ label: string;
83
+ /**
84
+ * URL for the link (for external links or the `to` prop for `router-link`).
85
+ */
86
+ href: string;
87
+ /**
88
+ * If `true`, the link will be rendered as a `router-link` for internal navigation (Vue Router).
89
+ */
90
+ router?: boolean;
91
+ }>;
83
92
  };
84
93
 
85
94
  /**
86
- * A loader indicates that content or data is being loaded or processed, providing visual feedback to users during wait times.
95
+ * A badge indicates the status of an entity and can evolve at any time.
87
96
  */
88
97
  declare type __VLS_Props_10 = {
89
98
  /**
90
- * Specifies the visual appearance of the loader.
99
+ * Content of the badge
91
100
  */
92
- appearance?: 'standard' | 'accent' | 'inverse';
101
+ label: number;
93
102
  /**
94
- * Defines the size of the loader.
103
+ * Allows to define the Badge style
95
104
  */
96
- size?: 's' | 'm' | 'l';
105
+ appearance?: 'danger' | 'accent' | 'inverse' | 'standard';
97
106
  /**
98
- * Text to display alongside the loader when using the loader inside an `Overlay`.
107
+ * Allows to define the Badge size
99
108
  */
100
- text?: string;
109
+ size?: 's' | 'm';
101
110
  };
102
111
 
103
112
  /**
@@ -410,30 +419,41 @@ declare type __VLS_Props_19 = {
410
419
  };
411
420
 
412
421
  /**
413
- * A breadcrumb is a navigation help that displays the hierarchical path of the current page within a website or application. It helps users understand their location and allows them to navigate back to previous levels easily. Breadcrumbs improve usability and accessibility, especially in multi-level websites, dashboards, and e-commerce platforms.
422
+ * Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
414
423
  */
415
424
  declare type __VLS_Props_2 = {
416
425
  /**
417
- * Allows to define the breadcrumb style
426
+ * Defines the visual style of the button.
418
427
  */
419
- appearance?: 'standard' | 'inverse';
428
+ appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
420
429
  /**
421
- * Links of the breadcrumb
430
+ * Determines the size of the button.
422
431
  */
423
- links?: Array<{
424
- /**
425
- * The label displayed for the link.
426
- */
427
- label: string;
428
- /**
429
- * URL for the link (for external links or the `to` prop for `router-link`).
430
- */
431
- href: string;
432
- /**
433
- * If `true`, the link will be rendered as a `router-link` for internal navigation (Vue Router).
434
- */
435
- router?: boolean;
436
- }>;
432
+ size?: 's' | 'm' | 'l';
433
+ /**
434
+ * If `true`, disables the button, making it non-interactive.
435
+ */
436
+ disabled?: boolean;
437
+ /**
438
+ * If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
439
+ */
440
+ ghost?: boolean;
441
+ /**
442
+ * If `true`, the button gets an outlined style, usually with just the border and no solid background.
443
+ */
444
+ outlined?: boolean;
445
+ /**
446
+ * Controls the positioning of an icon in the button.
447
+ */
448
+ iconPosition?: 'left' | 'right' | 'only';
449
+ /**
450
+ * Specifies the button's HTML `type` attribute.
451
+ */
452
+ type?: 'button' | 'reset' | 'submit';
453
+ /**
454
+ * If `true`, a loading state is displayed.
455
+ */
456
+ isLoading?: boolean;
437
457
  };
438
458
 
439
459
  /**
@@ -546,48 +566,10 @@ declare type __VLS_Props_22 = {
546
566
  inline?: boolean;
547
567
  };
548
568
 
549
- /**
550
- * Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
551
- */
552
- declare type __VLS_Props_3 = {
553
- /**
554
- * Defines the visual style of the button.
555
- */
556
- appearance?: 'standard' | 'accent' | 'danger' | 'inverse';
557
- /**
558
- * Determines the size of the button.
559
- */
560
- size?: 's' | 'm' | 'l';
561
- /**
562
- * If `true`, disables the button, making it non-interactive.
563
- */
564
- disabled?: boolean;
565
- /**
566
- * If `true`, applies a "ghost" style to the button, typically a transparent background with a border.
567
- */
568
- ghost?: boolean;
569
- /**
570
- * If `true`, the button gets an outlined style, usually with just the border and no solid background.
571
- */
572
- outlined?: boolean;
573
- /**
574
- * Controls the positioning of an icon in the button.
575
- */
576
- iconPosition?: 'left' | 'right' | 'only';
577
- /**
578
- * Specifies the button's HTML `type` attribute.
579
- */
580
- type?: 'button' | 'reset' | 'submit';
581
- /**
582
- * If `true`, a loading state is displayed.
583
- */
584
- isLoading?: boolean;
585
- };
586
-
587
569
  /**
588
570
  * Checkboxes are used to select one or multiple options in a list. They usually find their place in forms and are also used to accept some mentions.
589
571
  */
590
- declare type __VLS_Props_4 = {
572
+ declare type __VLS_Props_3 = {
591
573
  /**
592
574
  * A unique identifier for the checkbox, used to associate the label with the form element.
593
575
  */
@@ -621,7 +603,7 @@ declare type __VLS_Props_4 = {
621
603
  /**
622
604
  * Checkboxes are used to select one or multiple options in a list. They usually find their place in forms and are also used to accept some mentions.
623
605
  */
624
- declare type __VLS_Props_5 = {
606
+ declare type __VLS_Props_4 = {
625
607
  /**
626
608
  * The name attribute for the checkbox element, typically used for form submission.
627
609
  */
@@ -650,7 +632,7 @@ declare type __VLS_Props_5 = {
650
632
  /**
651
633
  * This component creates a structured form field with a label, optional help text, error and validation message handling.
652
634
  */
653
- declare type __VLS_Props_6 = {
635
+ declare type __VLS_Props_5 = {
654
636
  /**
655
637
  * A unique identifier for the form field, used to associate the label with the form element.
656
638
  */
@@ -692,7 +674,7 @@ declare type __VLS_Props_6 = {
692
674
  /**
693
675
  * This component creates a structured form field for group field such as Radio Group, Checkbox Group or Toggle Group with a label, optional help text, error and validation message handling.
694
676
  */
695
- declare type __VLS_Props_7 = {
677
+ declare type __VLS_Props_6 = {
696
678
  /**
697
679
  * A unique identifier for the form field, used to associate the label with the form element.
698
680
  */
@@ -726,7 +708,7 @@ declare type __VLS_Props_7 = {
726
708
  /**
727
709
  * Icon Buttons are used to trigger actions. Their appearance is depending on the type of action required from the user, or the context.
728
710
  */
729
- declare type __VLS_Props_8 = {
711
+ declare type __VLS_Props_7 = {
730
712
  /**
731
713
  * Defines the visual style of the icon button.
732
714
  */
@@ -756,7 +738,7 @@ declare type __VLS_Props_8 = {
756
738
  /**
757
739
  * A link is a component used exclusively to navigate to internal or external webpages or to anchors in the current page.
758
740
  */
759
- declare type __VLS_Props_9 = {
741
+ declare type __VLS_Props_8 = {
760
742
  /**
761
743
  * Position of the icon relative to the text.
762
744
  */
@@ -776,7 +758,7 @@ declare type __VLS_Props_9 = {
776
758
  /**
777
759
  * Where to open the link
778
760
  */
779
- target?: string;
761
+ target?: '_self' | '_blank' | '_parent' | '_top';
780
762
  /**
781
763
  * Specify wether the link is inline
782
764
  */
@@ -787,6 +769,24 @@ declare type __VLS_Props_9 = {
787
769
  router?: boolean;
788
770
  };
789
771
 
772
+ /**
773
+ * A loader indicates that content or data is being loaded or processed, providing visual feedback to users during wait times.
774
+ */
775
+ declare type __VLS_Props_9 = {
776
+ /**
777
+ * Specifies the visual appearance of the loader.
778
+ */
779
+ appearance?: 'standard' | 'accent' | 'inverse';
780
+ /**
781
+ * Defines the size of the loader.
782
+ */
783
+ size?: 's' | 'm' | 'l';
784
+ /**
785
+ * Text to display alongside the loader when using the loader inside an `Overlay`.
786
+ */
787
+ text?: string;
788
+ };
789
+
790
790
  declare function __VLS_template(): {
791
791
  attrs: Partial<{}>;
792
792
  slots: Readonly<{
@@ -1003,24 +1003,19 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1003
1003
  };
1004
1004
  };
1005
1005
 
1006
- export declare const MBadge: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
1007
- appearance: "danger" | "accent" | "inverse" | "standard";
1008
- size: "s" | "m";
1009
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
1010
-
1011
- export declare const MBreadcrumb: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
1006
+ export declare const MBreadcrumb: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
1012
1007
 
1013
1008
  export declare const MButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1014
1009
 
1015
- export declare const MCheckbox: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1010
+ export declare const MCheckbox: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1016
1011
  "update:modelValue": (value: boolean) => any;
1017
- }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
1012
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
1018
1013
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1019
1014
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1020
1015
 
1021
- export declare const MCheckboxGroup: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1016
+ export declare const MCheckboxGroup: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1022
1017
  "update:modelValue": (value: string[]) => any;
1023
- }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
1018
+ }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
1024
1019
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
1025
1020
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1026
1021
 
@@ -1032,11 +1027,16 @@ export declare const MIconButton: __VLS_WithTemplateSlots_4<typeof __VLS_compone
1032
1027
 
1033
1028
  export declare const MLink: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1034
1029
 
1035
- export declare const MLoader: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
1030
+ export declare const MLoader: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
1036
1031
  appearance: "standard" | "accent" | "inverse";
1037
1032
  size: "s" | "m" | "l";
1038
1033
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1039
1034
 
1035
+ export declare const MNumberBadge: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
1036
+ appearance: "danger" | "accent" | "inverse" | "standard";
1037
+ size: "s" | "m";
1038
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
1039
+
1040
1040
  export declare const MOverlay: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1041
1041
 
1042
1042
  export declare const MPasswordInput: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {