@avenirs-esr/avenirs-dsav 0.1.47 → 0.1.50

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.
Files changed (175) hide show
  1. package/dist/avenirs-dsav.css +1 -1
  2. package/dist/avenirs-dsav.es.js +54 -46
  3. package/dist/avenirs-dsav.umd.js +1 -1
  4. package/package.json +7 -3
  5. package/src/styles/main.scss +6 -1
  6. package/dist/App.vue.d.ts +0 -2
  7. package/dist/components/badges/AvBadge/AvBadge.stories.d.ts +0 -36
  8. package/dist/components/badges/AvBadge/AvBadge.stub.d.ts +0 -18
  9. package/dist/components/badges/AvBadge/AvBadge.test.d.ts +0 -1
  10. package/dist/components/badges/AvBadge/AvBadge.vue.d.ts +0 -44
  11. package/dist/components/badges/index.d.ts +0 -2
  12. package/dist/components/base/AvIconText/AvIconText.stories.d.ts +0 -36
  13. package/dist/components/base/AvIconText/AvIconText.test.d.ts +0 -1
  14. package/dist/components/base/AvIconText/AvIconText.vue.d.ts +0 -40
  15. package/dist/components/base/AvNotice/AvNotice.stories.d.ts +0 -56
  16. package/dist/components/base/AvNotice/AvNotice.test.d.ts +0 -1
  17. package/dist/components/base/AvNotice/AvNotice.vue.d.ts +0 -22
  18. package/dist/components/base/AvVIcon/AvVIcon.stories.d.ts +0 -40
  19. package/dist/components/base/AvVIcon/AvVIcon.stub.d.ts +0 -5
  20. package/dist/components/base/AvVIcon/AvVIcon.vue.d.ts +0 -54
  21. package/dist/components/base/index.d.ts +0 -4
  22. package/dist/components/cards/AvCard/AvCard.stories.d.ts +0 -28
  23. package/dist/components/cards/AvCard/AvCard.test.d.ts +0 -1
  24. package/dist/components/cards/AvCard/AvCard.vue.d.ts +0 -58
  25. package/dist/components/cards/index.d.ts +0 -1
  26. package/dist/components/feedback/AvAlert/AvAlert.test.d.ts +0 -1
  27. package/dist/components/feedback/AvAlert/AvAlert.vue.d.ts +0 -77
  28. package/dist/components/feedback/AvToaster/AvToaster.test.d.ts +0 -1
  29. package/dist/components/feedback/AvToaster/AvToaster.vue.d.ts +0 -79
  30. package/dist/components/feedback/index.d.ts +0 -2
  31. package/dist/components/header/AvHeader/AvHeader.test.d.ts +0 -1
  32. package/dist/components/header/AvHeader/AvHeader.vue.d.ts +0 -132
  33. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.test.d.ts +0 -1
  34. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.vue.d.ts +0 -38
  35. package/dist/components/header/AvLogo.vue.d.ts +0 -2
  36. package/dist/components/header/EsupLogo.test.d.ts +0 -1
  37. package/dist/components/header/EsupLogo.vue.d.ts +0 -7
  38. package/dist/components/header/index.d.ts +0 -5
  39. package/dist/components/index.d.ts +0 -8
  40. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stories.d.ts +0 -30
  41. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.test.d.ts +0 -1
  42. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.vue.d.ts +0 -31
  43. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.stories.d.ts +0 -41
  44. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.test.d.ts +0 -1
  45. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.vue.d.ts +0 -36
  46. package/dist/components/interaction/accordions/index.d.ts +0 -2
  47. package/dist/components/interaction/buttons/AvButton/AvButton.stories.d.ts +0 -66
  48. package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +0 -6
  49. package/dist/components/interaction/buttons/AvButton/AvButton.test.d.ts +0 -1
  50. package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +0 -78
  51. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stories.d.ts +0 -44
  52. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stub.d.ts +0 -6
  53. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.test.d.ts +0 -1
  54. package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts +0 -47
  55. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.stories.d.ts +0 -39
  56. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.test.d.ts +0 -1
  57. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.vue.d.ts +0 -48
  58. package/dist/components/interaction/buttons/index.d.ts +0 -4
  59. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.stories.d.ts +0 -22
  60. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.test.d.ts +0 -1
  61. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.vue.d.ts +0 -121
  62. package/dist/components/interaction/files/AvFileUpload/AvFileUploadAlert.vue.d.ts +0 -19
  63. package/dist/components/interaction/files/index.d.ts +0 -1
  64. package/dist/components/interaction/index.d.ts +0 -10
  65. package/dist/components/interaction/inputs/AvInput/AvInput.stories.d.ts +0 -61
  66. package/dist/components/interaction/inputs/AvInput/AvInput.test.d.ts +0 -1
  67. package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +0 -123
  68. package/dist/components/interaction/inputs/index.d.ts +0 -1
  69. package/dist/components/interaction/lists/AvList/AvList.stories.d.ts +0 -55
  70. package/dist/components/interaction/lists/AvList/AvList.stub.d.ts +0 -5
  71. package/dist/components/interaction/lists/AvList/AvList.test.d.ts +0 -1
  72. package/dist/components/interaction/lists/AvList/AvList.vue.d.ts +0 -74
  73. package/dist/components/interaction/lists/AvListItem/AvListItem.stories.d.ts +0 -59
  74. package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +0 -6
  75. package/dist/components/interaction/lists/AvListItem/AvListItem.test.d.ts +0 -1
  76. package/dist/components/interaction/lists/AvListItem/AvListItem.vue.d.ts +0 -112
  77. package/dist/components/interaction/lists/index.d.ts +0 -4
  78. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.stories.d.ts +0 -24
  79. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.test.d.ts +0 -1
  80. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.vue.d.ts +0 -23
  81. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stories.d.ts +0 -96
  82. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +0 -5
  83. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.test.d.ts +0 -1
  84. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.vue.d.ts +0 -79
  85. package/dist/components/interaction/pickers/index.d.ts +0 -3
  86. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.stories.d.ts +0 -34
  87. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.test.d.ts +0 -1
  88. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.vue.d.ts +0 -38
  89. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.stories.d.ts +0 -47
  90. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.test.d.ts +0 -1
  91. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.vue.d.ts +0 -76
  92. package/dist/components/interaction/radios/index.d.ts +0 -2
  93. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +0 -565
  94. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +0 -6
  95. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.test.d.ts +0 -1
  96. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.types.d.ts +0 -101
  97. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +0 -204
  98. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteContext.d.ts +0 -14
  99. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +0 -60
  100. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +0 -585
  101. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +0 -42
  102. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.stories.d.ts +0 -132
  103. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.test.d.ts +0 -1
  104. package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.vue.d.ts +0 -94
  105. package/dist/components/interaction/selects/AvSelect/AvSelect.stories.d.ts +0 -96
  106. package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +0 -11
  107. package/dist/components/interaction/selects/AvSelect/AvSelect.test.d.ts +0 -1
  108. package/dist/components/interaction/selects/AvSelect/AvSelect.vue.d.ts +0 -63
  109. package/dist/components/interaction/selects/index.d.ts +0 -6
  110. package/dist/components/interaction/tabs/AvTab/AvTab.stories.d.ts +0 -34
  111. package/dist/components/interaction/tabs/AvTab/AvTab.test.d.ts +0 -1
  112. package/dist/components/interaction/tabs/AvTab/AvTab.vue.d.ts +0 -31
  113. package/dist/components/interaction/tabs/AvTabs/AvTabs.stories.d.ts +0 -45
  114. package/dist/components/interaction/tabs/AvTabs/AvTabs.test.d.ts +0 -1
  115. package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +0 -46
  116. package/dist/components/interaction/tabs/index.d.ts +0 -2
  117. package/dist/components/interaction/toggles/AvToggle/AvToggle.stories.d.ts +0 -21
  118. package/dist/components/interaction/toggles/AvToggle/AvToggle.test.d.ts +0 -1
  119. package/dist/components/interaction/toggles/AvToggle/AvToggle.vue.d.ts +0 -46
  120. package/dist/components/interaction/toggles/index.d.ts +0 -1
  121. package/dist/components/navigation/AvNavigation/AvNavigation.stories.d.ts +0 -27
  122. package/dist/components/navigation/AvNavigation/AvNavigation.test.d.ts +0 -1
  123. package/dist/components/navigation/AvNavigation/AvNavigation.vue.d.ts +0 -16
  124. package/dist/components/navigation/AvNavigation/index.d.ts +0 -1
  125. package/dist/components/navigation/AvPagination/AvPagination.test.d.ts +0 -1
  126. package/dist/components/navigation/AvPagination/AvPagination.vue.d.ts +0 -57
  127. package/dist/components/navigation/AvPagination/utils.d.ts +0 -14
  128. package/dist/components/navigation/AvPagination/utils.test.d.ts +0 -1
  129. package/dist/components/navigation/AvSideMenu/AvSideMenu.stories.d.ts +0 -55
  130. package/dist/components/navigation/AvSideMenu/AvSideMenu.test.d.ts +0 -1
  131. package/dist/components/navigation/AvSideMenu/AvSideMenu.vue.d.ts +0 -61
  132. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stories.d.ts +0 -59
  133. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stub.d.ts +0 -11
  134. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.test.d.ts +0 -1
  135. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.vue.d.ts +0 -42
  136. package/dist/components/navigation/AvStepper/AvStepper.stories.d.ts +0 -28
  137. package/dist/components/navigation/AvStepper/AvStepper.stub.d.ts +0 -14
  138. package/dist/components/navigation/AvStepper/AvStepper.test.d.ts +0 -1
  139. package/dist/components/navigation/AvStepper/AvStepper.vue.d.ts +0 -19
  140. package/dist/components/navigation/index.d.ts +0 -8
  141. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stories.d.ts +0 -53
  142. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stub.d.ts +0 -6
  143. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.test.d.ts +0 -1
  144. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.vue.d.ts +0 -60
  145. package/dist/components/overlay/index.d.ts +0 -4
  146. package/dist/components/overlay/modals/AvModal/AvModal.test.d.ts +0 -1
  147. package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +0 -92
  148. package/dist/components/overlay/popovers/AvPopover/AvPopover.stories.d.ts +0 -49
  149. package/dist/components/overlay/popovers/AvPopover/AvPopover.test.d.ts +0 -1
  150. package/dist/components/overlay/popovers/AvPopover/AvPopover.vue.d.ts +0 -48
  151. package/dist/components/overlay/popovers/AvPopover/use-popover.d.ts +0 -41
  152. package/dist/components/overlay/popovers/AvPopover/use-popover.test.d.ts +0 -1
  153. package/dist/composables/index.d.ts +0 -2
  154. package/dist/composables/use-breakpoint/use-breakpoint.d.ts +0 -54
  155. package/dist/composables/use-breakpoint/use-breakpoint.test.d.ts +0 -1
  156. package/dist/composables/use-focus-trap/use-focus-trap.d.ts +0 -25
  157. package/dist/composables/use-focus-trap/use-focus-trap.test.d.ts +0 -1
  158. package/dist/config/breakpoints.d.ts +0 -10
  159. package/dist/config/index.d.ts +0 -2
  160. package/dist/config/page-sizes.d.ts +0 -6
  161. package/dist/index.d.ts +0 -7
  162. package/dist/main.d.ts +0 -8
  163. package/dist/stories/foundations/icons.stories.d.ts +0 -6
  164. package/dist/stories/foundations/typography.stories.d.ts +0 -5
  165. package/dist/tests/index.d.ts +0 -1
  166. package/dist/tests/stubs.d.ts +0 -41
  167. package/dist/tests/utils.d.ts +0 -30
  168. package/dist/tokens/icons.d.ts +0 -92
  169. package/dist/tokens/index.d.ts +0 -1
  170. package/dist/utils/array/array.d.ts +0 -8
  171. package/dist/utils/forms/form.test.d.ts +0 -1
  172. package/dist/utils/forms/forms.d.ts +0 -6
  173. package/dist/utils/index.d.ts +0 -3
  174. package/dist/utils/string/string.d.ts +0 -27
  175. package/dist/utils/string/string.test.d.ts +0 -1
@@ -1,55 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvListProps } from './AvList.vue';
3
- /**
4
- * <h1 class="n1">Lists - <code>AvList</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The AvList component is a flexible and accessible container for displaying collections of items.
11
- * It provides a structured way to present data in a vertical list format with extensive customization options for styling, sizing, and accessibility.
12
- * </span>
13
- * </p>
14
- *
15
- * <p>
16
- * <span class="b2-regular">
17
- * The <code>AvList</code> component is designed to work seamlessly with <code>AvListItem</code> components, offering consistent spacing, styling, and interaction patterns.
18
- * It supports various visual configurations including borders, dividers, different sizes, and full accessibility compliance.
19
- * </span>
20
- * </p>
21
- *
22
- * <p>
23
- * <span class="b2-regular">
24
- * It features flexible sizing system for different use cases, optional visual enhancements, and full accessibility support with ARIA attributes
25
- * while maintaining visual consistency with the design system's styling tokens.
26
- * </span>
27
- * </p>
28
- *
29
- * <h2 class="n2">🏗️ Structure</h2>
30
- *
31
- * <p><span class="b2-regular">The list component consists of the following elements:</span></p>
32
- *
33
- * <ul>
34
- * <li><span class="b2-regular"><strong>Container:</strong> (mandatory) Main wrapper that contains all list items with proper semantic structure</span></li>
35
- * <li><span class="b2-regular"><strong>List Items:</strong> (mandatory) Individual items rendered within the list, typically <code>AvListItem</code> components</span></li>
36
- * </ul>
37
- *
38
- * <p><span class="b2-regular">The list integrates:</span></p>
39
- *
40
- * <ul>
41
- * <li><span class="b2-regular">Flexible sizing system for different use cases</span></li>
42
- * <li><span class="b2-regular">Optional visual enhancements (borders, dividers)</span></li>
43
- * <li><span class="b2-regular">Full accessibility support with ARIA attributes</span></li>
44
- * <li><span class="b2-regular">Customizable styling through CSS custom properties</span></li>
45
- * </ul>
46
- */
47
- declare const meta: Meta<AvListProps>;
48
- export default meta;
49
- export declare const Default: StoryFn<AvListProps>;
50
- export declare const Bordered: StoryFn<AvListProps>;
51
- export declare const DividedList: StoryFn<AvListProps>;
52
- export declare const CustomStyling: StoryFn<AvListProps>;
53
- export declare const SmallSize: StoryFn<AvListProps>;
54
- export declare const MediumSize: StoryFn<AvListProps>;
55
- export declare const LargeSize: StoryFn<AvListProps>;
@@ -1,5 +0,0 @@
1
- export declare const AvListStub: {
2
- name: string;
3
- props: string[];
4
- template: string;
5
- };
@@ -1,74 +0,0 @@
1
- import type { VNode } from 'vue';
2
- import type AvListItem from '@/components/interaction/lists/AvListItem/AvListItem.vue';
3
- /**
4
- * AvList component props.
5
- */
6
- export interface AvListProps {
7
- /**
8
- * The background color of the list.
9
- * @default 'transparent'
10
- */
11
- backgroundColor?: string;
12
- /**
13
- * The border color of the list.
14
- * @default 'var(--stroke)'
15
- */
16
- borderColor?: string;
17
- /**
18
- * The border radius of the list.
19
- * @default '0'
20
- */
21
- borderRadius?: string;
22
- /**
23
- * Whether to show borders between list items.
24
- * @default false
25
- */
26
- bordered?: boolean;
27
- /**
28
- * Whether to show a divider between list items.
29
- * @default false
30
- */
31
- divided?: boolean;
32
- /**
33
- * The size variant of the list.
34
- * @default 'small'
35
- */
36
- size?: 'xsmall' | 'small' | 'medium' | 'large';
37
- /**
38
- * Custom padding for the list container.
39
- */
40
- padding?: string;
41
- /**
42
- * Accessible label for the list.
43
- */
44
- ariaLabel?: string;
45
- /**
46
- * ID of an element that labels the list.
47
- */
48
- ariaLabelledby?: string;
49
- /**
50
- * ID of an element that describes the list.
51
- */
52
- ariaDescribedby?: string;
53
- /**
54
- * The semantic role of the list.
55
- * @default 'list'
56
- */
57
- role?: 'list' | 'menu' | 'listbox' | 'group';
58
- }
59
- /**
60
- * Slots available in the AvList component.
61
- */
62
- type __VLS_Slots = {
63
- /**
64
- * Default slot for AvListItem components.
65
- */
66
- default?: () => VNode<typeof AvListItem>[];
67
- };
68
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
69
- export default _default;
70
- type __VLS_WithSlots<T, S> = T & {
71
- new (): {
72
- $slots: S;
73
- };
74
- };
@@ -1,59 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvListItemProps } from './AvListItem.vue';
3
- /**
4
- * <h1 class="n1">Lists - <code>AvListItem</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The AvListItem component represents an individual item within a list container. It provides a flexible and accessible way to display content with optional icons, titles, descriptions, and interactive capabilities while maintaining consistent styling and behavior patterns.
11
- * </span>
12
- * </p>
13
- *
14
- * <p>
15
- * <span class="b2-regular">
16
- * The <code>AvListItem</code> component is designed to work seamlessly within <code>AvList</code> containers, offering extensive customization for various use cases including navigation menus, content lists, action items, and interactive elements. It supports full accessibility compliance with proper ARIA attributes and keyboard navigation.
17
- * </span>
18
- * </p>
19
- *
20
- * <p>
21
- * <span class="b2-regular">
22
- * It features comprehensive interaction states (hover, focus, active, disabled, selected), flexible content structure with slots, and dynamic tag rendering for different semantic contexts while maintaining visual consistency with the design system.
23
- * </span>
24
- * </p>
25
- *
26
- * <h2 class="n2">🏗️ Structure</h2>
27
- *
28
- * <p><span class="b2-regular">The list item consists of the following elements:</span></p>
29
- *
30
- * <ul>
31
- * <li><span class="b2-regular"><strong>Container:</strong> (mandatory) Root wrapper element that can be div, button, or anchor based on usage</span></li>
32
- * <li><span class="b2-regular"><strong>Icon:</strong> (optional) Visual indicator displayed on the left side of the content</span></li>
33
- * <li><span class="b2-regular"><strong>Content Area:</strong> (mandatory) Contains title, description, and/or custom content</span></li>
34
- * <li><span class="b2-regular"><strong>Custom Content Slot:</strong> (optional) Allows insertion of any custom elements within the content area</span></li>
35
- * </ul>
36
- *
37
- * <p><span class="b2-regular">The list item integrates:</span></p>
38
- *
39
- * <ul>
40
- * <li><span class="b2-regular">Dynamic tag rendering for semantic correctness (div, button, a)</span></li>
41
- * <li><span class="b2-regular">Full accessibility support with ARIA attributes and keyboard navigation</span></li>
42
- * <li><span class="b2-regular">Comprehensive interaction states and visual feedback</span></li>
43
- * <li><span class="b2-regular">Flexible content structure with icon, title, description, and slot support</span></li>
44
- * </ul>
45
- */
46
- declare const meta: Meta<AvListItemProps>;
47
- export default meta;
48
- export declare const Default: StoryFn<AvListItemProps>;
49
- export declare const WithIcon: StoryFn<AvListItemProps>;
50
- export declare const Clickable: StoryFn<AvListItemProps>;
51
- export declare const Selected: StoryFn<AvListItemProps>;
52
- export declare const Disabled: StoryFn<AvListItemProps>;
53
- export declare const TitleOnly: StoryFn<AvListItemProps>;
54
- export declare const DescriptionOnly: StoryFn<AvListItemProps>;
55
- export declare const NavigationLink: StoryFn<AvListItemProps>;
56
- export declare const LargeIcon: StoryFn<AvListItemProps>;
57
- export declare const CustomColors: StoryFn<AvListItemProps>;
58
- export declare const WithCustomContent: StoryFn<AvListItemProps>;
59
- export declare const WithAccessibility: StoryFn<AvListItemProps>;
@@ -1,6 +0,0 @@
1
- export declare const AvListItemStub: {
2
- name: string;
3
- props: string[];
4
- emits: string[];
5
- template: string;
6
- };
@@ -1,112 +0,0 @@
1
- import type { Slot } from 'vue';
2
- /**
3
- * AvListItem component props.
4
- */
5
- export interface AvListItemProps {
6
- /**
7
- * The icon name according to the naming convention of Iconify-vue.
8
- */
9
- icon?: string;
10
- /**
11
- * The icon color.
12
- * @default 'var(--text1)'
13
- */
14
- color?: string;
15
- /**
16
- * The icon size.
17
- * @default 1.3125
18
- */
19
- iconSize?: number;
20
- /**
21
- * icon color
22
- */
23
- iconColor?: string;
24
- /**
25
- * The title text.
26
- */
27
- title?: string;
28
- /**
29
- * The description text.
30
- */
31
- description?: string;
32
- /**
33
- * The hover color when the list item is clickable.
34
- * @default 'var(--dark-background-primary1)'
35
- */
36
- hoverBackgroundColor?: string;
37
- /**
38
- * The color when the list item is hovered.
39
- * @default 'var(--dark-background-primary1)'
40
- */
41
- colorOnHover?: string;
42
- /**
43
- * The description color.
44
- * @default 'var(--text2)'
45
- */
46
- descriptionColor?: string;
47
- /**
48
- * Whether the list item is clickable.
49
- * @default false
50
- */
51
- clickable?: boolean;
52
- /**
53
- * Whether the list item is disabled.
54
- * @default false
55
- */
56
- disabled?: boolean;
57
- /**
58
- * Whether the list item is selected/active.
59
- * @default false
60
- */
61
- selected?: boolean;
62
- /**
63
- * Function called when list item is clicked.
64
- * @param event The click MouseEvent
65
- */
66
- onClick?: ($event: MouseEvent) => void;
67
- /**
68
- * ARIA label for the list item when clickable.
69
- */
70
- ariaLabel?: string;
71
- /**
72
- * ID of an element that describes the list item.
73
- */
74
- ariaDescribedby?: string;
75
- /**
76
- * HTML tag to use for the root element when clickable.
77
- * @default 'button'
78
- */
79
- tag?: 'button' | 'div' | 'a';
80
- /**
81
- * Href attribute when tag is 'a'.
82
- */
83
- href?: string;
84
- /**
85
- * Target attribute when tag is 'a'.
86
- */
87
- target?: string;
88
- /**
89
- * Rel attribute when tag is 'a'.
90
- */
91
- rel?: string;
92
- /**
93
- * ARIA role for the list item. If not provided, defaults based on context.
94
- */
95
- role?: string;
96
- }
97
- /**
98
- * Slots available in the AvListItem component.
99
- */
100
- type __VLS_Slots = {
101
- /**
102
- * Default slot for custom content.
103
- */
104
- default?: Slot;
105
- };
106
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
107
- export default _default;
108
- type __VLS_WithSlots<T, S> = T & {
109
- new (): {
110
- $slots: S;
111
- };
112
- };
@@ -1,4 +0,0 @@
1
- export { AvListStub } from './AvList/AvList.stub';
2
- export { default as AvList } from './AvList/AvList.vue';
3
- export { AvListItemStub } from './AvListItem/AvListItem.stub';
4
- export { default as AvListItem } from './AvListItem/AvListItem.vue';
@@ -1,24 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvPageSizePickerProps } from '@/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.vue';
3
- /**
4
- * <h1 class="n1">Picker for number of results per page - <code>AvPageSizePicker</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvPageSizePicker</code> is a component implementing the <code>AvTagPicker</code> and dedicated to selecting the number of results per page.
11
- * </span>
12
- * </p>
13
- *
14
- * <h2 class="n2">🏗️ Structure</h2>
15
- *
16
- * <p>
17
- * <span class="b2-regular">
18
- * The pickers for number of results per page consist of an <code>AvTagPicker</code> to which options specific to the number of results per page are assigned.
19
- * </span>
20
- * </p>
21
- */
22
- declare const meta: Meta<AvPageSizePickerProps>;
23
- export default meta;
24
- export declare const Default: StoryFn<AvPageSizePickerProps>;
@@ -1,23 +0,0 @@
1
- import { type AvTagPickerOption } from '@/components/interaction/pickers/AvTagPicker/AvTagPicker.vue';
2
- import { PageSizes } from '@/config';
3
- /**
4
- * AvPageSizePicker component props.
5
- */
6
- export interface AvPageSizePickerProps {
7
- /**
8
- * Label of the page size picker.
9
- */
10
- label: string;
11
- /**
12
- * Number of results per page selected.
13
- */
14
- pageSizeSelected: PageSizes;
15
- /**
16
- * Method executed when changing selection.
17
- *
18
- * @param val Selected option of type AvTagPickerOption.
19
- */
20
- handleSelectChange: (val: AvTagPickerOption) => void;
21
- }
22
- declare const _default: import("vue").DefineComponent<AvPageSizePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvPageSizePickerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- export default _default;
@@ -1,96 +0,0 @@
1
- import type { StoryFn } from '@storybook/vue3';
2
- import { type AvTagPickerProps } from '@/components/interaction/pickers/AvTagPicker/AvTagPicker.vue';
3
- /**
4
- * <h1 class="n1">Tag picker - <code>AvTagPicker</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvTagPicker</code> is a Vue component enabling a user to select an element from a given set.
11
- * Selectable elements consist of tag components.
12
- * </span>
13
- * </p>
14
- *
15
- * <p>
16
- * <span class="b2-regular">
17
- * The tag list provides a list of options from which the user can choose.
18
- * </span>
19
- * </p>
20
- *
21
- * <h2 class="n2">🏗️ Structure</h2>
22
- *
23
- * <p><span class="b2-regular">Buttons consist of :</span></p>
24
- *
25
- * <ul>
26
- * <li>
27
- * <span class="b2-regular">
28
- * A label - mandatory, using the <code>label</code> prop, enables label display when <code>iconOnly</code> is <code>false</code>,
29
- * also enables connection to <code>title</code> and <code>aria-label</code>;
30
- * </span>
31
- * </li>
32
- * <li>
33
- * <span class="b2-regular">
34
- * An icon, which can be modified (see available icons) - optional.
35
- * </span>
36
- * </li>
37
- * </ul>
38
- */
39
- declare const meta: {
40
- title: string;
41
- component: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
42
- tags: string[];
43
- argTypes: {
44
- options: {
45
- type: {
46
- name: string;
47
- required: boolean;
48
- };
49
- control: boolean;
50
- };
51
- label: {
52
- type: {
53
- name: string;
54
- };
55
- control: string;
56
- };
57
- labelColor: {
58
- type: {
59
- name: string;
60
- };
61
- control: string;
62
- };
63
- labelTypographyClass: {
64
- type: {
65
- name: string;
66
- };
67
- control: string;
68
- };
69
- multiple: {
70
- type: {
71
- name: string;
72
- };
73
- control: string;
74
- };
75
- selected: {
76
- type: {
77
- name: string;
78
- };
79
- control: boolean;
80
- };
81
- handleSelectChange: {
82
- type: {
83
- name: string;
84
- required: boolean;
85
- };
86
- control: boolean;
87
- action: string;
88
- };
89
- };
90
- args: {
91
- label: string;
92
- };
93
- };
94
- export default meta;
95
- export declare const Default: StoryFn<AvTagPickerProps>;
96
- export declare const Multiple: StoryFn<AvTagPickerProps>;
@@ -1,5 +0,0 @@
1
- export declare const AvTagPickerStub: {
2
- name: string;
3
- props: string[];
4
- template: string;
5
- };
@@ -1,79 +0,0 @@
1
- /**
2
- * Represents an option in the AvTagPicker component.
3
- */
4
- export interface AvTagPickerOption {
5
- /**
6
- * Label displayed for the option.
7
- */
8
- label: string;
9
- /**
10
- * Value associated with the option.
11
- */
12
- value: string;
13
- }
14
- /**
15
- * Basic props common to AvTagPicker in single or multiple mode.
16
- */
17
- interface AvTagPickerBaseProps {
18
- /**
19
- * List of options available in the picker.
20
- */
21
- options: AvTagPickerOption[];
22
- /**
23
- * Label displayed above the picker.
24
- */
25
- label?: string;
26
- /**
27
- * Label color.
28
- * @default 'var(--text2)'
29
- */
30
- labelColor?: string;
31
- /**
32
- * Typography class applied to label.
33
- * @default 'b2-regular'
34
- */
35
- labelTypographyClass?: string;
36
- }
37
- /**
38
- * AvTagPicker component props in single selection mode.
39
- */
40
- interface AvTagPickerSingleProps extends AvTagPickerBaseProps {
41
- /**
42
- * Multiple mode disabled.
43
- * @default false
44
- */
45
- multiple?: false;
46
- /**
47
- * Option selected.
48
- */
49
- selected?: AvTagPickerOption;
50
- /**
51
- * Method called when changing selection.
52
- * @param selected The selected option.
53
- */
54
- handleSelectChange: (selected: AvTagPickerOption) => void;
55
- }
56
- /**
57
- * AvTagPicker component props in multiple selection mode.
58
- */
59
- interface AvTagPickerMultipleProps extends AvTagPickerBaseProps {
60
- /**
61
- * Enables multiple selection mode.
62
- */
63
- multiple: true;
64
- /**
65
- * Options selected.
66
- */
67
- selected?: AvTagPickerOption[];
68
- /**
69
- * Method called when changing selection.
70
- * @param selected The selected options.
71
- */
72
- handleSelectChange: (selected: AvTagPickerOption[]) => void;
73
- }
74
- /**
75
- * AvTagPicker component props which can be in single or multiple mode.
76
- */
77
- export type AvTagPickerProps = AvTagPickerSingleProps | AvTagPickerMultipleProps;
78
- declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
79
- export default _default;
@@ -1,3 +0,0 @@
1
- export { default as AvPageSizePicker } from './AvPageSizePicker/AvPageSizePicker.vue';
2
- export { AvTagPickerStub } from './AvTagPicker/AvTagPicker.stub';
3
- export { default as AvTagPicker, type AvTagPickerOption, type AvTagPickerProps } from './AvTagPicker/AvTagPicker.vue';
@@ -1,34 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvRadioButtonProps } from '@/components/interaction/radios/AvRadioButton/AvRadioButton.vue';
3
- /**
4
- * <h1 class="n1">Radio buttons - <code>AvRadioButton</code></h1>
5
- *
6
- * <h2 class="n2">✨ Introduction</h2>
7
- *
8
- * <p>
9
- * <span class="b2-regular">
10
- * The <code>AvRadioButton</code> is a declarative component used exclusively in the <code>default</code> slot of <code>AvRadioButtonSet</code>.
11
- * <code>AvRadioButton</code> allows you to configure a radio button by passing its props (such as <code>value</code>, <code>label</code>,
12
- * <code>description</code> and <code>disabled</code>) to the <code>AvRadioButtonSet</code> component without rendering.
13
- * </span>
14
- * </p>
15
- *
16
- * <p>
17
- * <span class="b2-regular">
18
- * It acts as a proxy component: it exposes information (props) used by <code>AvRadioButtonSet</code> to generate the interface.
19
- * </span>
20
- * </p>
21
- *
22
- * <p>
23
- * <span class="b2-regular">
24
- * 🚫 This component does not display anything by itself and should not be used outside <code>AvRadioButtonSet</code>.
25
- * </span>
26
- * </p>
27
- *
28
- * <h2 class="n2">🏗️ Structure</h2>
29
- *
30
- * <p><span class="b2-regular">None.</span></p>
31
- */
32
- declare const meta: Meta<AvRadioButtonProps>;
33
- export default meta;
34
- export declare const Default: StoryFn<AvRadioButtonProps>;
@@ -1,38 +0,0 @@
1
- import type { Slot } from 'vue';
2
- /**
3
- * AvRadioButton component props.
4
- */
5
- export interface AvRadioButtonProps {
6
- /**
7
- * Value of the radio button.
8
- * This value will be emitted when the radio is selected.
9
- */
10
- value: string | number | boolean;
11
- /**
12
- * Optional fallback label, used if no custom label slot is provided.
13
- * Ignored if the `default` slot is used (see slot description).
14
- */
15
- label?: string;
16
- /**
17
- * Optional description shown under the radio label, providing more context.
18
- */
19
- description?: string;
20
- /**
21
- * If true, disables this radio button.
22
- */
23
- disabled?: boolean;
24
- }
25
- type __VLS_Slots = {
26
- /**
27
- * Default slot used to fully customize the radio label.
28
- * When provided, this slot replaces the default `label` prop.
29
- */
30
- default?: Slot;
31
- };
32
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvRadioButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
33
- export default _default;
34
- type __VLS_WithSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };