@avenirs-esr/avenirs-dsav 0.1.68 → 0.1.71

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,7 +20,7 @@ export interface AvAlertProps {
20
20
  closeable?: boolean;
21
21
  /**
22
22
  * The alert unique identifier.
23
- * @default crypto.randomUUID()
23
+ * @default `alert-${crypto.randomUUID()}`
24
24
  */
25
25
  id?: string;
26
26
  /**
@@ -5,7 +5,7 @@ import type { Slot } from 'vue';
5
5
  export interface AvAccordionProps {
6
6
  /**
7
7
  * Accordion id
8
- * @default crypto.randomUUID()
8
+ * @default `accordion-${crypto.randomUUID()}`
9
9
  */
10
10
  id?: string;
11
11
  /**
@@ -7,7 +7,7 @@ export interface AvFileUploadProps {
7
7
  * Unique identifier for the file download component.
8
8
  * If not specified, a random ID is generated.
9
9
  *
10
- * @default crypto.randomUUID()
10
+ * @default `file-upload-${crypto.randomUUID()}`
11
11
  */
12
12
  id?: string;
13
13
  /**
@@ -2,7 +2,7 @@ import type { Slot } from 'vue';
2
2
  export interface AvInputProps {
3
3
  /**
4
4
  * ID of the input element
5
- * @default `av-input-${crypto.randomUUID()}`
5
+ * @default `input-${crypto.randomUUID()}`
6
6
  */
7
7
  id?: string;
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  export interface AvSearchBarProps {
2
2
  /**
3
3
  * Unique id for the search bar
4
- * @default crypto.randomUUID()
4
+ * @default `search-bar-${crypto.randomUUID()}`
5
5
  */
6
6
  id?: string;
7
7
  /**
@@ -5,7 +5,7 @@ import { type Slot } from 'vue';
5
5
  export interface AvRadioButtonSetProps {
6
6
  /**
7
7
  * ID of the legend element
8
- * @default `av-radio-button-set-${crypto.randomUUID()}`
8
+ * @default `radio-button-set-${crypto.randomUUID()}`
9
9
  */
10
10
  id?: string;
11
11
  /**
@@ -55,9 +55,6 @@ declare const meta: {
55
55
  dense: {
56
56
  control: string;
57
57
  };
58
- id: {
59
- control: string;
60
- };
61
58
  name: {
62
59
  control: string;
63
60
  };
@@ -109,7 +106,6 @@ declare const meta: {
109
106
  placeholder: string;
110
107
  required: boolean;
111
108
  disabled: boolean;
112
- id: string;
113
109
  name: string;
114
110
  hint: string;
115
111
  modelValue: never[];
@@ -6,6 +6,7 @@ export interface AvMultiselectProps {
6
6
  disabled?: boolean;
7
7
  /**
8
8
  * Unique id for the select. Used for the accessibility.
9
+ * @default `multi-select-${crypto.randomUUID()}`
9
10
  */
10
11
  id?: string;
11
12
  /**
@@ -40,9 +40,6 @@ declare const meta: {
40
40
  dense: {
41
41
  control: string;
42
42
  };
43
- selectId: {
44
- control: string;
45
- };
46
43
  name: {
47
44
  control: string;
48
45
  };
@@ -81,7 +78,6 @@ declare const meta: {
81
78
  placeholder: string;
82
79
  required: boolean;
83
80
  disabled: boolean;
84
- selectId: string;
85
81
  name: string;
86
82
  hint: string;
87
83
  modelValue: string;
@@ -13,7 +13,7 @@ export interface AvSelectProps {
13
13
  * Unique id for the select. Used for the accessibility.
14
14
  * @default `select-${crypto.randomUUID()}`
15
15
  */
16
- selectId?: string;
16
+ id?: string;
17
17
  /**
18
18
  * Field name.
19
19
  * @default ''
@@ -12,6 +12,7 @@ export interface AvToggleProps {
12
12
  description: string;
13
13
  /**
14
14
  * Unique id for the toggle. Used for accessibility.
15
+ * @default `toggle-${crypto.randomUUID()}`
15
16
  */
16
17
  id?: string;
17
18
  /**
@@ -38,9 +39,5 @@ declare const _default: import("vue").DefineComponent<AvToggleProps, {}, {}, {},
38
39
  "update:modelValue": (payload: boolean) => any;
39
40
  }, string, import("vue").PublicProps, Readonly<AvToggleProps> & Readonly<{
40
41
  "onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
41
- }>, {
42
- name: string;
43
- activeText: string;
44
- inactiveText: string;
45
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
43
  export default _default;
@@ -7,7 +7,7 @@ export interface AvBreadcrumbProps {
7
7
  * The unique identifier for the breadcrumb element.
8
8
  * @default `breadcrumb-${crypto.randomUUID()}`
9
9
  */
10
- breadcrumbId?: string;
10
+ id?: string;
11
11
  /**
12
12
  * A table of objects representing the links in the breadcrumb. Each object can
13
13
  * have a ‘text’ property and, optionally, a ‘to’ property for routes.
@@ -18,7 +18,6 @@ export interface NavigationMenuProps {
18
18
  links?: NavigationMenuLinkProps[];
19
19
  /**
20
20
  * The identifier of the currently expanded navigation menu.
21
- * @default `expanded-${crypto.randomUUID()}`
22
21
  */
23
22
  expandedId?: string;
24
23
  /**
@@ -27,8 +26,8 @@ export interface NavigationMenuProps {
27
26
  active?: boolean;
28
27
  }
29
28
  declare const _default: import("vue").DefineComponent<NavigationMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
- toggleId: (id: string) => any;
29
+ toggleId: (id: string | undefined) => any;
31
30
  }, string, import("vue").PublicProps, Readonly<NavigationMenuProps> & Readonly<{
32
- onToggleId?: ((id: string) => any) | undefined;
31
+ onToggleId?: ((id: string | undefined) => any) | undefined;
33
32
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
33
  export default _default;
@@ -5,9 +5,9 @@ import type { Slot } from 'vue';
5
5
  export interface AvModalProps {
6
6
  /**
7
7
  * Unique identifier for the modal.
8
- * @default `av-modal-${crypto.randomUUID()}`
8
+ * @default `modal-${crypto.randomUUID()}`
9
9
  */
10
- modalId?: string;
10
+ id?: string;
11
11
  /**
12
12
  * Indicates whether the modal is open.
13
13
  * @default false