@volverjs/ui-vue 0.0.6-beta.6 → 0.0.6
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/README.md +3 -5
- package/auto-imports.d.ts +11 -0
- package/dist/components/VvAccordion/VvAccordion.es.js +220 -4
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +8 -8
- package/dist/components/VvAccordion/index.d.ts +1 -4
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +221 -8
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +6 -6
- package/dist/components/VvAccordionGroup/index.d.ts +2 -5
- package/dist/components/VvAction/VvAction.es.js +12 -8
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +4 -4
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +661 -0
- package/dist/components/VvAlert/VvAlert.umd.js +1 -0
- package/dist/components/VvAlert/VvAlert.vue.d.ts +104 -0
- package/dist/components/VvAlert/index.d.ts +95 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +799 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -0
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +89 -0
- package/dist/components/VvAlertGroup/index.d.ts +55 -0
- package/dist/components/VvAvatar/VvAvatar.es.js +3 -3
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +2 -2
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +3 -3
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +2 -2
- package/dist/components/VvBadge/VvBadge.es.js +3 -3
- package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -3
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +3 -3
- package/dist/components/VvButton/VvButton.es.js +39 -29
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +13 -13
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +3 -3
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvCard/VvCard.es.js +221 -2
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +5 -5
- package/dist/components/VvCheckbox/VvCheckbox.es.js +154 -101
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +46 -10
- package/dist/components/VvCheckbox/index.d.ts +8 -3
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +190 -104
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +44 -8
- package/dist/components/VvCheckboxGroup/index.d.ts +8 -3
- package/dist/components/VvCombobox/VvCombobox.es.js +271 -174
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +73 -37
- package/dist/components/VvCombobox/index.d.ts +13 -7
- package/dist/components/VvDialog/VvDialog.es.js +44 -33
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +7 -7
- package/dist/components/VvDialog/index.d.ts +2 -2
- package/dist/components/VvDropdown/VvDropdown.es.js +39 -25
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +21 -17
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +4 -4
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +2 -2
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +4 -4
- package/dist/components/VvDropdown/index.d.ts +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +17 -11
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +9 -5
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +3 -3
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +12 -8
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +25 -19
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +3 -3
- package/dist/components/VvIcon/index.d.ts +2 -2
- package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +165 -141
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +46 -22
- package/dist/components/VvInputText/index.d.ts +5 -5
- package/dist/components/VvNav/VvNav.es.js +12 -8
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +1 -1
- package/dist/components/VvNavItemTitle/VvNavItemTitle.vue.d.ts +1 -1
- package/dist/components/VvNavSeparator/VvNavSeparator.d.ts +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +3 -3
- package/dist/components/VvProgress/VvProgress.vue.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +154 -101
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +46 -10
- package/dist/components/VvRadio/index.d.ts +8 -3
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +190 -104
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +44 -8
- package/dist/components/VvRadioGroup/index.d.ts +8 -3
- package/dist/components/VvSelect/VvSelect.es.js +166 -140
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +42 -18
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTab/VvTab.es.js +12 -8
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +163 -139
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +40 -16
- package/dist/components/VvTextarea/index.d.ts +3 -3
- package/dist/components/VvTooltip/VvTooltip.es.js +3 -3
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/common/HintSlot.d.ts +38 -12
- package/dist/components/index.es.js +1066 -768
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useInjectAlert.d.ts +9 -0
- package/dist/composables/alert/useProvideAlert.d.ts +10 -0
- package/dist/composables/dropdown/useInjectDropdown.d.ts +17 -16
- package/dist/composables/dropdown/useProvideDropdown.d.ts +7 -3
- package/dist/composables/useOptions.d.ts +2 -2
- package/dist/composables/useVolver.d.ts +1 -2
- package/dist/constants.d.ts +33 -4
- package/dist/directives/index.es.js +3 -3
- package/dist/directives/v-tooltip.es.js +3 -3
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +38 -16
- package/dist/resolvers/unplugin.es.js +6 -3
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/Accordion/Accordion.settings.d.ts +18 -17
- package/dist/stories/Accordion/Accordion.stories.d.ts +7 -0
- package/dist/stories/Accordion/AccordionSlots.stories.d.ts +7 -0
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +23 -4
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +134 -0
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +894 -0
- package/dist/stories/Alert/Alert.settings.d.ts +105 -0
- package/dist/stories/Alert/Alert.stories.d.ts +9 -0
- package/dist/stories/Alert/Alert.test.d.ts +2 -0
- package/dist/stories/Alert/AlertModifiers.stories.d.ts +13 -0
- package/dist/stories/Alert/AlertSlots.stories.d.ts +10 -0
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +97 -0
- package/dist/stories/AlertGroup/AlertGroup.stories.d.ts +8 -0
- package/dist/stories/AlertGroup/AlertGroup.test.d.ts +2 -0
- package/dist/stories/AlertGroup/AlertGroupPosition.stories.d.ts +14 -0
- package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +8 -0
- package/dist/stories/Avatar/Avatar.settings.d.ts +2 -33
- package/dist/stories/Avatar/Avatar.stories.d.ts +7 -0
- package/dist/stories/Avatar/AvatarBadge.stories.d.ts +6 -0
- package/dist/stories/Avatar/AvatarModifiers.stories.d.ts +13 -0
- package/dist/stories/Avatar/AvatarSlots.stories.d.ts +6 -0
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +0 -6
- package/dist/stories/AvatarGroup/AvatarGroup.stories.d.ts +6 -0
- package/dist/stories/AvatarGroup/AvatarGroupModifiers.stories.d.ts +7 -0
- package/dist/stories/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +6 -0
- package/dist/stories/Badge/Badge.settings.d.ts +0 -3
- package/dist/stories/Badge/Badge.stories.d.ts +7 -0
- package/dist/stories/Badge/BadgeSlots.stories.d.ts +6 -0
- package/dist/stories/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
- package/dist/stories/Breadcrumb/BreadcrumbSlots.stories.d.ts +6 -0
- package/dist/stories/Button/Button.settings.d.ts +1 -18
- package/dist/stories/Button/Button.stories.d.ts +6 -0
- package/dist/stories/Button/ButtonIcon.stories.d.ts +10 -0
- package/dist/stories/Button/ButtonLink.stories.d.ts +7 -0
- package/dist/stories/Button/ButtonLoading.stories.d.ts +8 -0
- package/dist/stories/Button/ButtonModifiers.stories.d.ts +17 -0
- package/dist/stories/Button/ButtonSlots.stories.d.ts +9 -0
- package/dist/stories/Button/ButtonState.stories.d.ts +8 -0
- package/dist/stories/Button/ButtonToggle.stories.d.ts +9 -0
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +0 -4
- package/dist/stories/ButtonGroup/ButtonGroup.stories.d.ts +6 -0
- package/dist/stories/ButtonGroup/ButtonGroupModifiers.stories.d.ts +8 -0
- package/dist/stories/ButtonGroup/ButtonGroupSlots.stories.d.ts +6 -0
- package/dist/stories/ButtonGroup/ButtonGroupToggle.stories.d.ts +8 -0
- package/dist/stories/Card/Card.settings.d.ts +0 -3
- package/dist/stories/Card/Card.stories.d.ts +6 -0
- package/dist/stories/Card/CardSlots.stories.d.ts +9 -0
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +1 -21
- package/dist/stories/Checkbox/Checkbox.stories.d.ts +13 -0
- package/dist/stories/Checkbox/CheckboxBinary.stories.d.ts +7 -0
- package/dist/stories/Checkbox/CheckboxSlots.stories.d.ts +7 -0
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -27
- package/dist/stories/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
- package/dist/stories/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +8 -0
- package/dist/stories/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +7 -0
- package/dist/stories/Combobox/Combobox.settings.d.ts +2 -54
- package/dist/stories/Combobox/Combobox.stories.d.ts +21 -0
- package/dist/stories/Combobox/ComboboxIconPosition.stories.d.ts +8 -0
- package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +8 -0
- package/dist/stories/Combobox/ComboboxOptions.stories.d.ts +9 -0
- package/dist/stories/Combobox/ComboboxSlots.stories.d.ts +10 -0
- package/dist/stories/Dialog/Dialog.settings.d.ts +1 -1
- package/dist/stories/Dialog/Dialog.stories.d.ts +7 -0
- package/dist/stories/Dialog/DialogSlots.stories.d.ts +8 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +1 -1
- package/dist/stories/Dropdown/Dropdown.stories.d.ts +9 -0
- package/dist/stories/Dropdown/DropdownContextmenuDirective.stories.d.ts +6 -0
- package/dist/stories/Dropdown/DropdownMultilevel.stories.d.ts +6 -0
- package/dist/stories/Dropdown/DropdownSlots.stories.d.ts +8 -0
- package/dist/stories/Icon/Icon.settings.d.ts +1 -3
- package/dist/stories/Icon/Icon.stories.d.ts +8 -0
- package/dist/stories/Icon/IconsCollection.stories.d.ts +6 -0
- package/dist/stories/InputText/InputText.settings.d.ts +1 -74
- package/dist/stories/InputText/InputText.stories.d.ts +15 -0
- package/dist/stories/InputText/InputTextIconPosition.stories.d.ts +8 -0
- package/dist/stories/InputText/InputTextLength.stories.d.ts +10 -0
- package/dist/stories/InputText/InputTextMinMax.stories.d.ts +9 -0
- package/dist/stories/InputText/InputTextSlots.stories.d.ts +8 -0
- package/dist/stories/InputText/InputTextType.stories.d.ts +18 -0
- package/dist/stories/Nav/Nav.settings.d.ts +0 -3
- package/dist/stories/Nav/Nav.stories.d.ts +6 -0
- package/dist/stories/Nav/NavModifiers.stories.d.ts +9 -0
- package/dist/stories/Progress/Progress.settings.d.ts +0 -6
- package/dist/stories/Progress/Progress.stories.d.ts +7 -0
- package/dist/stories/Radio/Radio.settings.d.ts +1 -19
- package/dist/stories/Radio/Radio.stories.d.ts +11 -0
- package/dist/stories/Radio/RadioSlots.stories.d.ts +7 -0
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -27
- package/dist/stories/RadioGroup/RadioGroup.stories.d.ts +12 -0
- package/dist/stories/RadioGroup/RadioGroupOptions.stories.d.ts +8 -0
- package/dist/stories/RadioGroup/RadioGroupSlots.stories.d.ts +7 -0
- package/dist/stories/Select/Select.settings.d.ts +1 -47
- package/dist/stories/Select/Select.stories.d.ts +15 -0
- package/dist/stories/Select/SelectIconPosition.stories.d.ts +8 -0
- package/dist/stories/Select/SelectOptions.stories.d.ts +9 -0
- package/dist/stories/Select/SelectSlots.stories.d.ts +8 -0
- package/dist/stories/Tab/Tab.stories.d.ts +6 -0
- package/dist/stories/Textarea/Textarea.settings.d.ts +1 -43
- package/dist/stories/Textarea/Textarea.stories.d.ts +14 -0
- package/dist/stories/Textarea/TextareaLength.stories.d.ts +10 -0
- package/dist/stories/Textarea/TextareaSlots.stories.d.ts +8 -0
- package/dist/stories/Textarea/TextareatIconPosition.stories.d.ts +8 -0
- package/dist/stories/Tooltip/Tooltip.settings.d.ts +2 -39
- package/dist/stories/Tooltip/Tooltip.stories.d.ts +6 -0
- package/dist/stories/Tooltip/TooltipDirective.stories.d.ts +10 -0
- package/dist/stories/argTypes.d.ts +5 -125
- package/package.json +68 -52
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAccordion/index.ts +2 -4
- package/src/components/VvAccordionGroup/index.ts +3 -4
- package/src/components/VvAction/VvAction.vue +1 -1
- package/src/components/VvAlert/VvAlert.vue +54 -0
- package/src/components/VvAlert/index.ts +162 -0
- package/src/components/VvAlertGroup/VvAlertGroup.vue +34 -0
- package/src/components/VvAlertGroup/index.ts +122 -0
- package/src/components/VvCard/index.ts +3 -1
- package/src/components/VvCheckbox/VvCheckbox.vue +23 -2
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +15 -2
- package/src/components/VvCombobox/VvCombobox.vue +41 -24
- package/src/components/VvCombobox/index.ts +9 -3
- package/src/components/VvDialog/VvDialog.vue +11 -7
- package/src/components/VvDialog/index.ts +2 -2
- package/src/components/VvDropdown/VvDropdown.vue +23 -5
- package/src/components/VvDropdown/VvDropdownItem.vue +2 -2
- package/src/components/VvIcon/VvIcon.vue +37 -34
- package/src/components/VvIcon/index.ts +2 -2
- package/src/components/VvInputText/VvInputText.vue +26 -9
- package/src/components/VvRadio/VvRadio.vue +23 -2
- package/src/components/VvRadioGroup/VvRadioGroup.vue +15 -2
- package/src/components/VvSelect/VvSelect.vue +26 -9
- package/src/components/VvTextarea/VvTextarea.vue +26 -9
- package/src/components/common/HintSlot.ts +129 -170
- package/src/composables/alert/useInjectAlert.ts +8 -0
- package/src/composables/alert/useProvideAlert.ts +23 -0
- package/src/composables/dropdown/useInjectDropdown.ts +3 -28
- package/src/composables/dropdown/useProvideDropdown.ts +14 -15
- package/src/composables/useOptions.ts +9 -7
- package/src/composables/useVolver.ts +1 -2
- package/src/constants.ts +42 -4
- package/src/props/index.ts +5 -3
- package/src/resolvers/unplugin.ts +6 -3
- package/src/stories/Accordion/Accordion.settings.ts +18 -7
- package/src/stories/Accordion/Accordion.stories.ts +45 -0
- package/src/stories/Accordion/AccordionSlots.stories.ts +29 -0
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +22 -0
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +62 -0
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +53 -0
- package/src/stories/Alert/Alert.settings.ts +110 -0
- package/src/stories/Alert/Alert.stories.ts +60 -0
- package/src/stories/Alert/Alert.test.ts +95 -0
- package/src/stories/Alert/AlertModifiers.stories.ts +77 -0
- package/src/stories/Alert/AlertSlots.stories.ts +74 -0
- package/src/stories/AlertGroup/AlertGroup.settings.ts +110 -0
- package/src/stories/AlertGroup/AlertGroup.stories.ts +50 -0
- package/src/stories/AlertGroup/AlertGroup.test.ts +76 -0
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +103 -0
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +67 -0
- package/src/stories/Avatar/Avatar.settings.ts +7 -6
- package/src/stories/Avatar/Avatar.stories.ts +42 -0
- package/src/stories/Avatar/Avatar.test.ts +1 -1
- package/src/stories/Avatar/AvatarBadge.stories.ts +36 -0
- package/src/stories/Avatar/AvatarModifiers.stories.ts +100 -0
- package/src/stories/Avatar/AvatarSlots.stories.ts +34 -0
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +35 -0
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +31 -0
- package/src/stories/AvatarGroup/{AvatarGroupSlotDefault.stories.mdx → AvatarGroupSlotDefault.stories.ts} +24 -30
- package/src/stories/Badge/Badge.stories.ts +43 -0
- package/src/stories/Badge/BadgeSlots.stories.ts +23 -0
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +41 -0
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +1 -1
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +37 -0
- package/src/stories/Button/Button.settings.ts +2 -11
- package/src/stories/Button/Button.stories.ts +38 -0
- package/src/stories/Button/ButtonIcon.stories.ts +67 -0
- package/src/stories/Button/ButtonLink.stories.ts +40 -0
- package/src/stories/Button/ButtonLoading.stories.ts +41 -0
- package/src/stories/Button/ButtonModifiers.stories.ts +158 -0
- package/src/stories/Button/ButtonSlots.stories.ts +87 -0
- package/src/stories/Button/ButtonState.stories.ts +42 -0
- package/src/stories/Button/ButtonToggle.stories.ts +52 -0
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +39 -0
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +38 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +41 -0
- package/src/stories/Card/Card.stories.ts +46 -0
- package/src/stories/Card/CardSlots.stories.ts +81 -0
- package/src/stories/Checkbox/Checkbox.settings.ts +0 -2
- package/src/stories/Checkbox/Checkbox.stories.ts +97 -0
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +33 -0
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +31 -0
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +87 -0
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +53 -0
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +47 -0
- package/src/stories/Combobox/Combobox.settings.ts +3 -23
- package/src/stories/Combobox/Combobox.stories.ts +176 -0
- package/src/stories/Combobox/Combobox.test.ts +2 -2
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +43 -0
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +41 -0
- package/src/stories/Combobox/ComboboxOptions.stories.ts +78 -0
- package/src/stories/Combobox/ComboboxSlots.stories.ts +104 -0
- package/src/stories/Dialog/Dialog.settings.ts +1 -1
- package/src/stories/Dialog/Dialog.stories.ts +51 -0
- package/src/stories/Dialog/Dialog.test.ts +2 -2
- package/src/stories/Dialog/DialogSlots.stories.ts +39 -0
- package/src/stories/Dropdown/Dropdown.stories.ts +107 -0
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +49 -0
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +61 -0
- package/src/stories/Dropdown/DropdownSlots.stories.ts +95 -0
- package/src/stories/Icon/Icon.settings.ts +1 -0
- package/src/stories/Icon/Icon.stories.ts +48 -0
- package/src/stories/Icon/IconsCollection.stories.ts +53 -0
- package/src/stories/InputText/InputText.settings.ts +3 -39
- package/src/stories/InputText/InputText.stories.ts +121 -0
- package/src/stories/InputText/InputTextIconPosition.stories.ts +43 -0
- package/src/stories/InputText/InputTextLength.stories.ts +58 -0
- package/src/stories/InputText/InputTextMinMax.stories.ts +51 -0
- package/src/stories/InputText/InputTextSlots.stories.ts +39 -0
- package/src/stories/InputText/InputTextType.stories.ts +119 -0
- package/src/stories/Nav/Nav.stories.ts +33 -0
- package/src/stories/Nav/NavModifiers.stories.ts +47 -0
- package/src/stories/Progress/Progress.settings.ts +0 -3
- package/src/stories/Progress/Progress.stories.ts +41 -0
- package/src/stories/Radio/Radio.stories.ts +81 -0
- package/src/stories/Radio/RadioSlots.stories.ts +31 -0
- package/src/stories/RadioGroup/RadioGroup.stories.ts +88 -0
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +53 -0
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +47 -0
- package/src/stories/Select/Select.settings.ts +0 -5
- package/src/stories/Select/Select.stories.ts +113 -0
- package/src/stories/Select/SelectIconPosition.stories.ts +43 -0
- package/src/stories/Select/SelectOptions.stories.ts +77 -0
- package/src/stories/Select/SelectSlots.stories.ts +39 -0
- package/src/stories/Tab/Tab.stories.ts +70 -0
- package/src/stories/Textarea/Textarea.settings.ts +0 -8
- package/src/stories/Textarea/Textarea.stories.ts +107 -0
- package/src/stories/Textarea/TextareaLength.stories.ts +58 -0
- package/src/stories/Textarea/TextareaSlots.stories.ts +39 -0
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +43 -0
- package/src/stories/Tooltip/Tooltip.settings.ts +4 -4
- package/src/stories/Tooltip/Tooltip.stories.ts +40 -0
- package/src/stories/Tooltip/TooltipDirective.stories.ts +68 -0
- package/src/stories/argTypes.ts +5 -59
- package/src/stories/Accordion/Accordion.stories.mdx +0 -45
- package/src/stories/Accordion/AccordionSlots.stories.mdx +0 -58
- package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +0 -58
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +0 -59
- package/src/stories/Avatar/Avatar.stories.mdx +0 -40
- package/src/stories/Avatar/AvatarBadge.stories.mdx +0 -41
- package/src/stories/Avatar/AvatarModifiers.stories.mdx +0 -87
- package/src/stories/Avatar/AvatarSlotDefault.stories.mdx +0 -29
- package/src/stories/AvatarGroup/AvatarGroup.stories.mdx +0 -30
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.mdx +0 -24
- package/src/stories/Badge/Badge.stories.mdx +0 -51
- package/src/stories/Badge/BadgeSlots.stories.mdx +0 -20
- package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +0 -50
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.mdx +0 -43
- package/src/stories/Button/Button.stories.mdx +0 -35
- package/src/stories/Button/ButtonIcon.stories.mdx +0 -153
- package/src/stories/Button/ButtonLink.stories.mdx +0 -72
- package/src/stories/Button/ButtonLoading.stories.mdx +0 -108
- package/src/stories/Button/ButtonModifiers.stories.mdx +0 -257
- package/src/stories/Button/ButtonSlots.stories.mdx +0 -116
- package/src/stories/Button/ButtonState.stories.mdx +0 -66
- package/src/stories/Button/ButtonToggle.stories.mdx +0 -112
- package/src/stories/ButtonGroup/ButtonGroup.stories.mdx +0 -37
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.mdx +0 -52
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +0 -37
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.mdx +0 -73
- package/src/stories/Card/Card.stories.mdx +0 -40
- package/src/stories/Card/CardSlots.stories.mdx +0 -98
- package/src/stories/Checkbox/Checkbox.stories.mdx +0 -164
- package/src/stories/Checkbox/CheckboxBinary.stories.mdx +0 -68
- package/src/stories/Checkbox/CheckboxSlots.stories.mdx +0 -46
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +0 -135
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.mdx +0 -100
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +0 -68
- package/src/stories/Combobox/Combobox.stories.mdx +0 -324
- package/src/stories/Combobox/ComboboxIconPosition.stories.mdx +0 -78
- package/src/stories/Combobox/ComboboxMultiple.stories.mdx +0 -73
- package/src/stories/Combobox/ComboboxOptions.stories.mdx +0 -135
- package/src/stories/Combobox/ComboboxSlots.stories.mdx +0 -153
- package/src/stories/Dialog/Dialog.stories.mdx +0 -56
- package/src/stories/Dialog/DialogSlots.stories.mdx +0 -63
- package/src/stories/Dropdown/Dropdown.stories.mdx +0 -124
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.mdx +0 -41
- package/src/stories/Dropdown/DropdownMultilevel.stories.mdx +0 -56
- package/src/stories/Dropdown/DropdownSlots.stories.mdx +0 -114
- package/src/stories/Icon/Icon.stories.mdx +0 -91
- package/src/stories/Icon/IconsCollection.stories.mdx +0 -69
- package/src/stories/InputText/InputText.stories.mdx +0 -211
- package/src/stories/InputText/InputTextIconPosition.stories.mdx +0 -78
- package/src/stories/InputText/InputTextLength.stories.mdx +0 -110
- package/src/stories/InputText/InputTextMinMax.stories.mdx +0 -112
- package/src/stories/InputText/InputTextSlots.stories.mdx +0 -69
- package/src/stories/InputText/InputTextType.stories.mdx +0 -259
- package/src/stories/Nav/Nav.stories.mdx +0 -28
- package/src/stories/Nav/NavModifiers.stories.mdx +0 -48
- package/src/stories/Progress/Progress.stories.mdx +0 -30
- package/src/stories/Radio/Radio.stories.mdx +0 -128
- package/src/stories/Radio/RadioSlots.stories.mdx +0 -46
- package/src/stories/RadioGroup/RadioGroup.stories.mdx +0 -135
- package/src/stories/RadioGroup/RadioGroupOptions.stories.mdx +0 -100
- package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +0 -68
- package/src/stories/Select/Select.stories.mdx +0 -196
- package/src/stories/Select/SelectIconPosition.stories.mdx +0 -78
- package/src/stories/Select/SelectOptions.stories.mdx +0 -135
- package/src/stories/Select/SelectSlots.stories.mdx +0 -48
- package/src/stories/Tab/Tab.stories.mdx +0 -65
- package/src/stories/Textarea/Textarea.stories.mdx +0 -187
- package/src/stories/Textarea/TextareaLength.stories.mdx +0 -110
- package/src/stories/Textarea/TextareaSlots.stories.mdx +0 -69
- package/src/stories/Textarea/TextareatIconPosition.stories.mdx +0 -78
- package/src/stories/Tooltip/Tooltip.stories.mdx +0 -102
- package/src/stories/Tooltip/TooltipDirective.stories.mdx +0 -99
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvDropdown from '@/components/VvDropdown/VvDropdown.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvDropdown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvDropdown>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvDropdown from '@/components/VvDropdown/VvDropdown.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvDropdown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvDropdown>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvDropdown from '@/components/VvDropdown/VvDropdown.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvDropdown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvDropdown>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Before: Story;
|
|
8
|
+
export declare const After: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvIcon from '@/components/VvIcon/VvIcon.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvIcon>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Remote: Story;
|
|
8
|
+
export declare const Inline: Story;
|
|
@@ -22,23 +22,18 @@ export declare const argTypes: {
|
|
|
22
22
|
};
|
|
23
23
|
min: {
|
|
24
24
|
description: string;
|
|
25
|
-
type: string[];
|
|
26
25
|
control: {
|
|
27
26
|
type: string;
|
|
28
27
|
};
|
|
29
28
|
};
|
|
30
29
|
max: {
|
|
31
30
|
description: string;
|
|
32
|
-
type: string[];
|
|
33
31
|
control: {
|
|
34
32
|
type: string;
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
35
|
step: {
|
|
38
36
|
description: string;
|
|
39
|
-
type: {
|
|
40
|
-
summary: string;
|
|
41
|
-
};
|
|
42
37
|
table: {
|
|
43
38
|
defaultValue: {
|
|
44
39
|
summary: number;
|
|
@@ -47,15 +42,11 @@ export declare const argTypes: {
|
|
|
47
42
|
};
|
|
48
43
|
pattern: {
|
|
49
44
|
description: string;
|
|
50
|
-
type: {
|
|
51
|
-
summary: string;
|
|
52
|
-
};
|
|
53
45
|
control: {
|
|
54
46
|
type: string;
|
|
55
47
|
};
|
|
56
48
|
};
|
|
57
49
|
multiple: {
|
|
58
|
-
type: string;
|
|
59
50
|
description: string;
|
|
60
51
|
table: {
|
|
61
52
|
defaultValue: {
|
|
@@ -101,9 +92,6 @@ export declare const argTypes: {
|
|
|
101
92
|
};
|
|
102
93
|
labelStepUp: {
|
|
103
94
|
description: string;
|
|
104
|
-
type: {
|
|
105
|
-
summary: string;
|
|
106
|
-
};
|
|
107
95
|
control: {
|
|
108
96
|
type: string;
|
|
109
97
|
};
|
|
@@ -115,9 +103,6 @@ export declare const argTypes: {
|
|
|
115
103
|
};
|
|
116
104
|
labelStepDown: {
|
|
117
105
|
description: string;
|
|
118
|
-
type: {
|
|
119
|
-
summary: string;
|
|
120
|
-
};
|
|
121
106
|
control: {
|
|
122
107
|
type: string;
|
|
123
108
|
};
|
|
@@ -129,9 +114,6 @@ export declare const argTypes: {
|
|
|
129
114
|
};
|
|
130
115
|
labelShowPassword: {
|
|
131
116
|
description: string;
|
|
132
|
-
type: {
|
|
133
|
-
summary: string;
|
|
134
|
-
};
|
|
135
117
|
control: {
|
|
136
118
|
type: string;
|
|
137
119
|
};
|
|
@@ -143,9 +125,6 @@ export declare const argTypes: {
|
|
|
143
125
|
};
|
|
144
126
|
labelHidePassword: {
|
|
145
127
|
description: string;
|
|
146
|
-
type: {
|
|
147
|
-
summary: string;
|
|
148
|
-
};
|
|
149
128
|
control: {
|
|
150
129
|
type: string;
|
|
151
130
|
};
|
|
@@ -157,9 +136,6 @@ export declare const argTypes: {
|
|
|
157
136
|
};
|
|
158
137
|
labelClear: {
|
|
159
138
|
description: string;
|
|
160
|
-
type: {
|
|
161
|
-
summary: string;
|
|
162
|
-
};
|
|
163
139
|
control: {
|
|
164
140
|
type: string;
|
|
165
141
|
};
|
|
@@ -171,18 +147,12 @@ export declare const argTypes: {
|
|
|
171
147
|
};
|
|
172
148
|
mask: {
|
|
173
149
|
description: string;
|
|
174
|
-
type: {
|
|
175
|
-
summary: string;
|
|
176
|
-
};
|
|
177
150
|
control: {
|
|
178
151
|
type: string;
|
|
179
152
|
};
|
|
180
153
|
};
|
|
181
154
|
maskEager: {
|
|
182
155
|
description: string;
|
|
183
|
-
type: {
|
|
184
|
-
summary: string;
|
|
185
|
-
};
|
|
186
156
|
table: {
|
|
187
157
|
defaultValue: {
|
|
188
158
|
summary: boolean;
|
|
@@ -191,9 +161,6 @@ export declare const argTypes: {
|
|
|
191
161
|
};
|
|
192
162
|
maskReversed: {
|
|
193
163
|
description: string;
|
|
194
|
-
type: {
|
|
195
|
-
summary: string;
|
|
196
|
-
};
|
|
197
164
|
table: {
|
|
198
165
|
defaultValue: {
|
|
199
166
|
summary: boolean;
|
|
@@ -202,9 +169,6 @@ export declare const argTypes: {
|
|
|
202
169
|
};
|
|
203
170
|
maskTokens: {
|
|
204
171
|
description: string;
|
|
205
|
-
type: {
|
|
206
|
-
summary: string;
|
|
207
|
-
};
|
|
208
172
|
table: {
|
|
209
173
|
defaultValue: {
|
|
210
174
|
summary: string;
|
|
@@ -213,9 +177,6 @@ export declare const argTypes: {
|
|
|
213
177
|
};
|
|
214
178
|
maskTokensReplace: {
|
|
215
179
|
description: string;
|
|
216
|
-
type: {
|
|
217
|
-
summary: string;
|
|
218
|
-
};
|
|
219
180
|
table: {
|
|
220
181
|
defaultValue: {
|
|
221
182
|
summary: boolean;
|
|
@@ -268,28 +229,24 @@ export declare const argTypes: {
|
|
|
268
229
|
};
|
|
269
230
|
};
|
|
270
231
|
minlength: {
|
|
271
|
-
type: string;
|
|
272
232
|
description: string;
|
|
273
233
|
control: {
|
|
274
234
|
type: string;
|
|
275
235
|
};
|
|
276
236
|
};
|
|
277
237
|
maxlength: {
|
|
278
|
-
type: string;
|
|
279
238
|
description: string;
|
|
280
239
|
control: {
|
|
281
240
|
type: string;
|
|
282
241
|
};
|
|
283
242
|
};
|
|
284
243
|
placeholder: {
|
|
285
|
-
type: string;
|
|
286
244
|
description: string;
|
|
287
245
|
control: {
|
|
288
246
|
type: string;
|
|
289
247
|
};
|
|
290
248
|
};
|
|
291
249
|
required: {
|
|
292
|
-
type: string;
|
|
293
250
|
description: string;
|
|
294
251
|
table: {
|
|
295
252
|
defaultValue: {
|
|
@@ -298,14 +255,12 @@ export declare const argTypes: {
|
|
|
298
255
|
};
|
|
299
256
|
};
|
|
300
257
|
label: {
|
|
301
|
-
type: string;
|
|
302
258
|
description: string;
|
|
303
259
|
control: {
|
|
304
260
|
type: string;
|
|
305
261
|
};
|
|
306
262
|
};
|
|
307
263
|
floating: {
|
|
308
|
-
type: string;
|
|
309
264
|
description: string;
|
|
310
265
|
table: {
|
|
311
266
|
defaultValue: {
|
|
@@ -333,7 +288,6 @@ export declare const argTypes: {
|
|
|
333
288
|
};
|
|
334
289
|
};
|
|
335
290
|
debounce: {
|
|
336
|
-
type: string;
|
|
337
291
|
description: string;
|
|
338
292
|
control: {
|
|
339
293
|
type: string;
|
|
@@ -356,9 +310,6 @@ export declare const argTypes: {
|
|
|
356
310
|
};
|
|
357
311
|
};
|
|
358
312
|
modifiers: {
|
|
359
|
-
type: {
|
|
360
|
-
summary: string[];
|
|
361
|
-
};
|
|
362
313
|
description: string;
|
|
363
314
|
options: never[];
|
|
364
315
|
control: {
|
|
@@ -366,7 +317,6 @@ export declare const argTypes: {
|
|
|
366
317
|
};
|
|
367
318
|
};
|
|
368
319
|
loading: {
|
|
369
|
-
type: string;
|
|
370
320
|
description: string;
|
|
371
321
|
table: {
|
|
372
322
|
defaultValue: {
|
|
@@ -375,16 +325,12 @@ export declare const argTypes: {
|
|
|
375
325
|
};
|
|
376
326
|
};
|
|
377
327
|
loadingLabel: {
|
|
378
|
-
type: {
|
|
379
|
-
summary: string;
|
|
380
|
-
};
|
|
381
328
|
description: string;
|
|
382
329
|
control: {
|
|
383
330
|
type: string;
|
|
384
331
|
};
|
|
385
332
|
};
|
|
386
333
|
invalid: {
|
|
387
|
-
type: string;
|
|
388
334
|
description: string;
|
|
389
335
|
table: {
|
|
390
336
|
defaultValue: {
|
|
@@ -393,16 +339,12 @@ export declare const argTypes: {
|
|
|
393
339
|
};
|
|
394
340
|
};
|
|
395
341
|
invalidLabel: {
|
|
396
|
-
type: {
|
|
397
|
-
summary: string[];
|
|
398
|
-
};
|
|
399
342
|
description: string;
|
|
400
343
|
control: {
|
|
401
344
|
type: string;
|
|
402
345
|
};
|
|
403
346
|
};
|
|
404
347
|
valid: {
|
|
405
|
-
type: string;
|
|
406
348
|
description: string;
|
|
407
349
|
table: {
|
|
408
350
|
defaultValue: {
|
|
@@ -411,16 +353,12 @@ export declare const argTypes: {
|
|
|
411
353
|
};
|
|
412
354
|
};
|
|
413
355
|
validLabel: {
|
|
414
|
-
type: {
|
|
415
|
-
summary: string[];
|
|
416
|
-
};
|
|
417
356
|
description: string;
|
|
418
357
|
control: {
|
|
419
358
|
type: string;
|
|
420
359
|
};
|
|
421
360
|
};
|
|
422
361
|
readonly: {
|
|
423
|
-
type: string;
|
|
424
362
|
description: string;
|
|
425
363
|
table: {
|
|
426
364
|
defaultValue: {
|
|
@@ -429,7 +367,7 @@ export declare const argTypes: {
|
|
|
429
367
|
};
|
|
430
368
|
};
|
|
431
369
|
disabled: {
|
|
432
|
-
|
|
370
|
+
control: string;
|
|
433
371
|
description: string;
|
|
434
372
|
table: {
|
|
435
373
|
defaultValue: {
|
|
@@ -438,7 +376,6 @@ export declare const argTypes: {
|
|
|
438
376
|
};
|
|
439
377
|
};
|
|
440
378
|
tabindex: {
|
|
441
|
-
type: string;
|
|
442
379
|
description: string;
|
|
443
380
|
control: {
|
|
444
381
|
type: string;
|
|
@@ -450,9 +387,6 @@ export declare const argTypes: {
|
|
|
450
387
|
};
|
|
451
388
|
};
|
|
452
389
|
autocomplete: {
|
|
453
|
-
type: {
|
|
454
|
-
summary: string;
|
|
455
|
-
};
|
|
456
390
|
description: string;
|
|
457
391
|
control: {
|
|
458
392
|
type: string;
|
|
@@ -464,7 +398,6 @@ export declare const argTypes: {
|
|
|
464
398
|
};
|
|
465
399
|
};
|
|
466
400
|
autofocus: {
|
|
467
|
-
type: string;
|
|
468
401
|
description: string;
|
|
469
402
|
table: {
|
|
470
403
|
defaultValue: {
|
|
@@ -473,9 +406,6 @@ export declare const argTypes: {
|
|
|
473
406
|
};
|
|
474
407
|
};
|
|
475
408
|
id: {
|
|
476
|
-
type: {
|
|
477
|
-
summary: string[];
|
|
478
|
-
};
|
|
479
409
|
description: string;
|
|
480
410
|
control: {
|
|
481
411
|
type: string;
|
|
@@ -487,9 +417,6 @@ export declare const argTypes: {
|
|
|
487
417
|
};
|
|
488
418
|
};
|
|
489
419
|
name: {
|
|
490
|
-
type: {
|
|
491
|
-
summary: string;
|
|
492
|
-
};
|
|
493
420
|
description: string;
|
|
494
421
|
control: {
|
|
495
422
|
type: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Readonly: Story;
|
|
9
|
+
export declare const Valid: Story;
|
|
10
|
+
export declare const Invalid: Story;
|
|
11
|
+
export declare const Hint: Story;
|
|
12
|
+
export declare const Loading: Story;
|
|
13
|
+
export declare const Floating: Story;
|
|
14
|
+
export declare const Mask: Story;
|
|
15
|
+
export declare const Unit: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const DefaultPosition: Story;
|
|
7
|
+
export declare const After: Story;
|
|
8
|
+
export declare const Src: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const MaxLength: Story;
|
|
7
|
+
export declare const MinLength: Story;
|
|
8
|
+
export declare const Count: Story;
|
|
9
|
+
export declare const Limit: Story;
|
|
10
|
+
export declare const Countdown: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const MinNumber: Story;
|
|
7
|
+
export declare const MaxNumber: Story;
|
|
8
|
+
export declare const MinDate: Story;
|
|
9
|
+
export declare const MaxDate: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const Before: Story;
|
|
7
|
+
export declare const After: Story;
|
|
8
|
+
export declare const Hint: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const Text: Story;
|
|
7
|
+
export declare const Password: Story;
|
|
8
|
+
export declare const Date: Story;
|
|
9
|
+
export declare const DateTime: Story;
|
|
10
|
+
export declare const Time: Story;
|
|
11
|
+
export declare const Month: Story;
|
|
12
|
+
export declare const Week: Story;
|
|
13
|
+
export declare const Number: Story;
|
|
14
|
+
export declare const Email: Story;
|
|
15
|
+
export declare const Tel: Story;
|
|
16
|
+
export declare const Url: Story;
|
|
17
|
+
export declare const Color: Story;
|
|
18
|
+
export declare const Search: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvNav from '@/components/VvNav/VvNav.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvNav>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvNav>;
|
|
6
|
+
export declare const Sidebar: Story;
|
|
7
|
+
export declare const Aside: Story;
|
|
8
|
+
export declare const Tabs: Story;
|
|
9
|
+
export declare const TabsFull: Story;
|
|
@@ -6,29 +6,23 @@ export declare const defaultArgs: {
|
|
|
6
6
|
export declare const argTypes: {
|
|
7
7
|
max: {
|
|
8
8
|
description: string;
|
|
9
|
-
type: string[];
|
|
10
9
|
control: {
|
|
11
10
|
type: string;
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
13
|
value: {
|
|
15
14
|
description: string;
|
|
16
|
-
type: string[];
|
|
17
15
|
control: {
|
|
18
16
|
type: string;
|
|
19
17
|
};
|
|
20
18
|
};
|
|
21
19
|
label: {
|
|
22
20
|
description: string;
|
|
23
|
-
type: string;
|
|
24
21
|
control: {
|
|
25
22
|
type: string;
|
|
26
23
|
};
|
|
27
24
|
};
|
|
28
25
|
modifiers: {
|
|
29
|
-
type: {
|
|
30
|
-
summary: string[];
|
|
31
|
-
};
|
|
32
26
|
description: string;
|
|
33
27
|
options: never[];
|
|
34
28
|
control: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvProgress from '@/components/VvProgress/VvProgress.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvProgress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvProgress>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Determinate: Story;
|
|
@@ -11,21 +11,18 @@ export declare const defaultArgs: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const argTypes: {
|
|
13
13
|
label: {
|
|
14
|
-
type: string;
|
|
15
14
|
description: string;
|
|
16
15
|
control: {
|
|
17
16
|
type: string;
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
19
|
value: {
|
|
21
|
-
type: string[];
|
|
22
20
|
description: string;
|
|
23
21
|
control: {
|
|
24
22
|
type: string;
|
|
25
23
|
};
|
|
26
24
|
};
|
|
27
25
|
readonly: {
|
|
28
|
-
type: string;
|
|
29
26
|
description: string;
|
|
30
27
|
table: {
|
|
31
28
|
defaultValue: {
|
|
@@ -34,7 +31,7 @@ export declare const argTypes: {
|
|
|
34
31
|
};
|
|
35
32
|
};
|
|
36
33
|
disabled: {
|
|
37
|
-
|
|
34
|
+
control: string;
|
|
38
35
|
description: string;
|
|
39
36
|
table: {
|
|
40
37
|
defaultValue: {
|
|
@@ -66,7 +63,6 @@ export declare const argTypes: {
|
|
|
66
63
|
};
|
|
67
64
|
};
|
|
68
65
|
invalid: {
|
|
69
|
-
type: string;
|
|
70
66
|
description: string;
|
|
71
67
|
table: {
|
|
72
68
|
defaultValue: {
|
|
@@ -75,16 +71,12 @@ export declare const argTypes: {
|
|
|
75
71
|
};
|
|
76
72
|
};
|
|
77
73
|
invalidLabel: {
|
|
78
|
-
type: {
|
|
79
|
-
summary: string[];
|
|
80
|
-
};
|
|
81
74
|
description: string;
|
|
82
75
|
control: {
|
|
83
76
|
type: string;
|
|
84
77
|
};
|
|
85
78
|
};
|
|
86
79
|
valid: {
|
|
87
|
-
type: string;
|
|
88
80
|
description: string;
|
|
89
81
|
table: {
|
|
90
82
|
defaultValue: {
|
|
@@ -93,16 +85,12 @@ export declare const argTypes: {
|
|
|
93
85
|
};
|
|
94
86
|
};
|
|
95
87
|
validLabel: {
|
|
96
|
-
type: {
|
|
97
|
-
summary: string[];
|
|
98
|
-
};
|
|
99
88
|
description: string;
|
|
100
89
|
control: {
|
|
101
90
|
type: string;
|
|
102
91
|
};
|
|
103
92
|
};
|
|
104
93
|
tabindex: {
|
|
105
|
-
type: string;
|
|
106
94
|
description: string;
|
|
107
95
|
control: {
|
|
108
96
|
type: string;
|
|
@@ -114,9 +102,6 @@ export declare const argTypes: {
|
|
|
114
102
|
};
|
|
115
103
|
};
|
|
116
104
|
id: {
|
|
117
|
-
type: {
|
|
118
|
-
summary: string[];
|
|
119
|
-
};
|
|
120
105
|
description: string;
|
|
121
106
|
control: {
|
|
122
107
|
type: string;
|
|
@@ -128,9 +113,6 @@ export declare const argTypes: {
|
|
|
128
113
|
};
|
|
129
114
|
};
|
|
130
115
|
name: {
|
|
131
|
-
type: {
|
|
132
|
-
summary: string;
|
|
133
|
-
};
|
|
134
116
|
description: string;
|
|
135
117
|
control: {
|
|
136
118
|
type: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvRadio from '@/components/VvRadio/VvRadio.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvRadio>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvRadio>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Readonly: Story;
|
|
9
|
+
export declare const Invalid: Story;
|
|
10
|
+
export declare const Valid: Story;
|
|
11
|
+
export declare const Hint: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvRadio from '@/components/VvRadio/VvRadio.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvRadio>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvRadio>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const HintSlot: Story;
|