@volverjs/ui-vue 0.0.10-beta.7 → 0.0.10-beta.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.
- package/LICENSE +1 -1
- package/README.md +150 -54
- package/bin/icons.cjs +1 -1
- package/bin/icons.js +39 -28
- package/dist/Volver.d.ts +24 -13
- package/dist/components/VvAccordion/VvAccordion.es.js +159 -271
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +35 -15
- package/dist/components/VvAccordion/index.d.ts +8 -9
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +448 -364
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +66 -19
- package/dist/components/VvAccordionGroup/index.d.ts +16 -8
- package/dist/components/VvAction/VvAction.es.js +77 -141
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +63 -30
- package/dist/components/VvAction/index.d.ts +26 -10
- package/dist/components/VvAlert/VvAlert.es.js +321 -480
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +40 -26
- package/dist/components/VvAlert/index.d.ts +20 -11
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +361 -491
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +28 -21
- package/dist/components/VvAlertGroup/index.d.ts +10 -18
- package/dist/components/VvAvatar/VvAvatar.es.js +33 -195
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +15 -7
- package/dist/components/VvAvatar/index.d.ts +4 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +115 -242
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +19 -12
- package/dist/components/VvAvatarGroup/index.d.ts +6 -3
- package/dist/components/VvBadge/VvBadge.es.js +45 -201
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +15 -7
- package/dist/components/VvBadge/index.d.ts +4 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +285 -189
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +31 -11
- package/dist/components/VvBreadcrumb/index.d.ts +6 -10
- package/dist/components/VvButton/VvButton.es.js +466 -550
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +106 -56
- package/dist/components/VvButton/index.d.ts +52 -30
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +66 -207
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +38 -19
- package/dist/components/VvButtonGroup/index.d.ts +13 -4
- package/dist/components/VvCard/VvCard.es.js +54 -209
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCard/VvCard.vue.d.ts +21 -10
- package/dist/components/VvCard/index.d.ts +4 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +152 -293
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +119 -45
- package/dist/components/VvCheckbox/index.d.ts +52 -19
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +390 -474
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +126 -44
- package/dist/components/VvCheckboxGroup/index.d.ts +49 -12
- package/dist/components/VvCombobox/VvCombobox.es.js +2432 -1986
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +277 -672
- package/dist/components/VvCombobox/index.d.ts +429 -138
- package/dist/components/VvDialog/VvDialog.es.js +140 -460
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +29 -11
- package/dist/components/VvDialog/index.d.ts +12 -0
- package/dist/components/VvDropdown/VvDropdown.es.js +142 -170
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +114 -330
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +73 -29
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +15 -3
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +13 -5
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +43 -14
- package/dist/components/VvDropdown/index.d.ts +52 -118
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +130 -166
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +103 -11
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +35 -183
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +128 -237
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +29 -108
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +4 -68
- package/dist/components/VvIcon/index.d.ts +34 -49
- package/dist/components/VvInputFile/VvInputFile.es.js +1716 -0
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +330 -0
- package/dist/components/VvInputFile/index.d.ts +197 -0
- package/dist/components/VvInputText/VvInputText.es.js +1660 -643
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +255 -90
- package/dist/components/VvInputText/VvInputTextActions.d.ts +4 -3
- package/dist/components/VvInputText/index.d.ts +113 -35
- package/dist/components/VvNav/VvNav.es.js +148 -183
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +35 -13
- package/dist/components/VvNav/VvNavItem.vue.d.ts +3 -3
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +1 -1
- package/dist/components/VvNav/index.d.ts +5 -2
- package/dist/components/VvNavItem/VvNavItem.es.js +93 -147
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvNavSeparator/VvNavSeparator.es.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +40 -194
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +13 -6
- package/dist/components/VvProgress/index.d.ts +4 -1
- package/dist/components/VvRadio/VvRadio.es.js +150 -292
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +117 -43
- package/dist/components/VvRadio/index.d.ts +50 -17
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +388 -473
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +126 -44
- package/dist/components/VvRadioGroup/index.d.ts +49 -12
- package/dist/components/VvSelect/VvSelect.es.js +749 -762
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +115 -199
- package/dist/components/VvSelect/index.d.ts +228 -16
- package/dist/components/VvTab/VvTab.es.js +224 -219
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +37 -13
- package/dist/components/VvTab/index.d.ts +6 -3
- package/dist/components/VvTextarea/VvTextarea.es.js +1512 -672
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +230 -66
- package/dist/components/VvTextarea/index.d.ts +105 -20
- package/dist/components/VvTooltip/VvTooltip.es.js +51 -198
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +17 -10
- package/dist/components/VvTooltip/index.d.ts +5 -2
- package/dist/components/common/HintSlot.d.ts +8 -9
- package/dist/components/common/VvInputClearAction.d.ts +52 -0
- package/dist/components/common/VvInputPasswordAction.d.ts +71 -0
- package/dist/components/common/VvInputStepAction.d.ts +50 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.es.js +4614 -2137
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlerInject.d.ts +4 -0
- package/dist/composables/alert/useAlert.d.ts +71 -6
- package/dist/composables/alert/{useProvideAlert.d.ts → useAlertProvide.d.ts} +1 -1
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +18 -0
- package/dist/composables/dropdown/useDropdownInject.d.ts +12 -0
- package/dist/composables/dropdown/{useProvideDropdown.d.ts → useDropdownProvide.d.ts} +8 -8
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +17 -0
- package/dist/composables/group/useGroupStateInject.d.ts +9 -0
- package/dist/composables/group/useGroupStateProvide.d.ts +6 -0
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/index.es.js +177 -6
- package/dist/composables/index.umd.js +1 -1
- package/dist/composables/useBlurhash.d.ts +7 -0
- package/dist/composables/useComponentFocus.d.ts +2 -2
- package/dist/composables/useComponentIcon.d.ts +9 -8
- package/dist/composables/useOptions.d.ts +5 -5
- package/dist/composables/usePersistence.d.ts +3 -0
- package/dist/composables/useUniqueId.d.ts +1 -1
- package/dist/composables/useVolver.d.ts +4 -1
- package/dist/constants.d.ts +35 -33
- package/dist/directives/index.d.ts +3 -5
- package/dist/directives/index.es.js +210 -246
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-contextmenu.es.js +136 -31
- package/dist/directives/v-contextmenu.umd.js +1 -1
- package/dist/directives/v-tooltip.d.ts +1 -1
- package/dist/directives/v-tooltip.es.js +69 -207
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.d.ts +17 -17
- package/dist/icons.es.js +14 -1884
- package/dist/icons.umd.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +83 -7
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +297 -200
- package/dist/resolvers/unplugin.d.ts +7 -2
- package/dist/resolvers/unplugin.es.js +91 -14
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -162
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +1625 -790
- package/dist/stories/Alert/Alert.settings.d.ts +2 -109
- package/dist/stories/Alert/AlertModifiers.stories.d.ts +1 -1
- package/dist/stories/Alert/AlertSlots.stories.d.ts +1 -1
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
- package/dist/stories/AlertGroup/AlertGroupPosition.stories.d.ts +1 -1
- package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +1 -1
- package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +2 -2
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
- package/dist/stories/Badge/Badge.settings.d.ts +2 -26
- package/dist/stories/Badge/Badge.test.d.ts +1 -1
- package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
- package/dist/stories/Button/Button.settings.d.ts +2 -194
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
- package/dist/stories/Card/Card.settings.d.ts +2 -63
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
- package/dist/stories/Combobox/Combobox.settings.d.ts +2 -617
- package/dist/stories/Combobox/Combobox.stories.d.ts +1 -0
- package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +1 -0
- package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
- package/dist/stories/Dialog/DialogModifiers.stories.d.ts +8 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
- package/dist/stories/Icon/Icon.settings.d.ts +3 -68
- package/dist/stories/InputFile/InputFile.settings.d.ts +6 -0
- package/dist/stories/InputFile/InputFile.stories.d.ts +13 -0
- package/dist/stories/InputFile/InputFileDropArea.stories.d.ts +9 -0
- package/dist/stories/InputFile/InputFileIconPosition.stories.d.ts +8 -0
- package/dist/stories/InputFile/InputFileSlots.stories.d.ts +7 -0
- package/dist/stories/InputText/InputText.settings.d.ts +2 -438
- package/dist/stories/InputText/InputText.stories.d.ts +2 -0
- package/dist/stories/InputText/InputText.test.d.ts +3 -0
- package/dist/stories/InputText/InputTextIso.stories.d.ts +10 -0
- package/dist/stories/Nav/Nav.settings.d.ts +2 -10
- package/dist/stories/Progress/Progress.settings.d.ts +2 -27
- package/dist/stories/Radio/Radio.settings.d.ts +1 -110
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
- package/dist/stories/Select/Select.settings.d.ts +2 -246
- package/dist/stories/Select/Select.stories.d.ts +1 -0
- package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
- package/dist/stories/argTypes.d.ts +27 -866
- package/dist/test/expect.d.ts +1 -2
- package/dist/test/options.d.ts +1 -1
- package/dist/test/sleep.d.ts +1 -1
- package/dist/types/alert.d.ts +9 -7
- package/dist/types/blurhash.d.ts +12 -0
- package/dist/types/floating-ui.d.ts +1 -1
- package/dist/types/generic.d.ts +1 -1
- package/dist/types/group.d.ts +37 -15
- package/dist/types/index.d.ts +2 -0
- package/dist/types/input-file.d.ts +9 -0
- package/dist/types/nav.d.ts +2 -2
- package/dist/utils/DateUtilities.d.ts +31 -0
- package/dist/utils/DomUtilities.d.ts +1 -0
- package/dist/utils/FileUtilities.d.ts +14 -0
- package/dist/utils/ObjectUtilities.d.ts +8 -9
- package/dist/workers/blurhash.d.ts +1 -0
- package/package.json +370 -380
- package/auto-imports.d.ts +0 -316
- package/dist/components/VvInputText/VvInputClearAction.d.ts +0 -36
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +0 -56
- package/dist/components/VvInputText/VvInputStepAction.d.ts +0 -37
- package/dist/composables/alert/useInjectAlert.d.ts +0 -9
- package/dist/composables/dropdown/useInjectDropdown.d.ts +0 -32
- package/dist/composables/group/useInjectedGroupState.d.ts +0 -10
- package/dist/composables/group/useProvideGroupState.d.ts +0 -6
- package/env.d.ts +0 -1
- package/src/Volver.ts +0 -296
- package/src/assets/icons/detailed/add-circle.svg +0 -12
- package/src/assets/icons/detailed/add.svg +0 -8
- package/src/assets/icons/detailed/align-center.svg +0 -12
- package/src/assets/icons/detailed/align-justify.svg +0 -12
- package/src/assets/icons/detailed/align-left.svg +0 -12
- package/src/assets/icons/detailed/align-right.svg +0 -12
- package/src/assets/icons/detailed/analysis-2.svg +0 -20
- package/src/assets/icons/detailed/analysis-3.svg +0 -8
- package/src/assets/icons/detailed/analysis.svg +0 -16
- package/src/assets/icons/detailed/apple.svg +0 -16
- package/src/assets/icons/detailed/arrow-down.svg +0 -8
- package/src/assets/icons/detailed/arrow-left.svg +0 -8
- package/src/assets/icons/detailed/arrow-right.svg +0 -8
- package/src/assets/icons/detailed/arrow-up.svg +0 -8
- package/src/assets/icons/detailed/attachment.svg +0 -8
- package/src/assets/icons/detailed/back-to-front.svg +0 -17
- package/src/assets/icons/detailed/bell-active.svg +0 -14
- package/src/assets/icons/detailed/bell.svg +0 -14
- package/src/assets/icons/detailed/bold.svg +0 -8
- package/src/assets/icons/detailed/bookmark-active.svg +0 -12
- package/src/assets/icons/detailed/bookmark.svg +0 -12
- package/src/assets/icons/detailed/building.svg +0 -26
- package/src/assets/icons/detailed/bullet-list.svg +0 -22
- package/src/assets/icons/detailed/calendar.svg +0 -26
- package/src/assets/icons/detailed/camera-off.svg +0 -12
- package/src/assets/icons/detailed/camera-on.svg +0 -17
- package/src/assets/icons/detailed/catalog.svg +0 -15
- package/src/assets/icons/detailed/certificate.svg +0 -10
- package/src/assets/icons/detailed/chat.svg +0 -6
- package/src/assets/icons/detailed/check-badge.svg +0 -9
- package/src/assets/icons/detailed/check-circle.svg +0 -10
- package/src/assets/icons/detailed/check.svg +0 -6
- package/src/assets/icons/detailed/checkbox.svg +0 -8
- package/src/assets/icons/detailed/chevron-down-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-down.svg +0 -6
- package/src/assets/icons/detailed/chevron-left-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-left.svg +0 -6
- package/src/assets/icons/detailed/chevron-right-circle.svg +0 -7
- package/src/assets/icons/detailed/chevron-up-circle.svg +0 -10
- package/src/assets/icons/detailed/chevron-up.svg +0 -6
- package/src/assets/icons/detailed/circle.svg +0 -8
- package/src/assets/icons/detailed/classroom.svg +0 -38
- package/src/assets/icons/detailed/clear-field.svg +0 -14
- package/src/assets/icons/detailed/clear-style.svg +0 -9
- package/src/assets/icons/detailed/close-circle.svg +0 -14
- package/src/assets/icons/detailed/close-loader.svg +0 -6
- package/src/assets/icons/detailed/close.svg +0 -8
- package/src/assets/icons/detailed/coffee.svg +0 -21
- package/src/assets/icons/detailed/color.svg +0 -20
- package/src/assets/icons/detailed/contact-us.svg +0 -27
- package/src/assets/icons/detailed/copy.svg +0 -10
- package/src/assets/icons/detailed/courses.svg +0 -22
- package/src/assets/icons/detailed/dashboard.svg +0 -20
- package/src/assets/icons/detailed/download.svg +0 -10
- package/src/assets/icons/detailed/drag.svg +0 -10
- package/src/assets/icons/detailed/duplicate.svg +0 -23
- package/src/assets/icons/detailed/edit.svg +0 -16
- package/src/assets/icons/detailed/elearning.svg +0 -13
- package/src/assets/icons/detailed/email.svg +0 -11
- package/src/assets/icons/detailed/error-2.svg +0 -8
- package/src/assets/icons/detailed/error.svg +0 -12
- package/src/assets/icons/detailed/exercise.svg +0 -26
- package/src/assets/icons/detailed/external-link.svg +0 -11
- package/src/assets/icons/detailed/extract.svg +0 -20
- package/src/assets/icons/detailed/eye-off.svg +0 -15
- package/src/assets/icons/detailed/eye-on.svg +0 -8
- package/src/assets/icons/detailed/fail.svg +0 -11
- package/src/assets/icons/detailed/fast-back.svg +0 -20
- package/src/assets/icons/detailed/fast-forward.svg +0 -20
- package/src/assets/icons/detailed/file-add.svg +0 -19
- package/src/assets/icons/detailed/file-duplicate.svg +0 -16
- package/src/assets/icons/detailed/file-remove.svg +0 -17
- package/src/assets/icons/detailed/file-required.svg +0 -23
- package/src/assets/icons/detailed/file.svg +0 -13
- package/src/assets/icons/detailed/filter-2.svg +0 -22
- package/src/assets/icons/detailed/filter-active.svg +0 -12
- package/src/assets/icons/detailed/filter.svg +0 -12
- package/src/assets/icons/detailed/flag.svg +0 -11
- package/src/assets/icons/detailed/folder.svg +0 -14
- package/src/assets/icons/detailed/full-width.svg +0 -11
- package/src/assets/icons/detailed/go-to-back.svg +0 -19
- package/src/assets/icons/detailed/grid.svg +0 -20
- package/src/assets/icons/detailed/group-add.svg +0 -24
- package/src/assets/icons/detailed/group.svg +0 -16
- package/src/assets/icons/detailed/heart-active.svg +0 -12
- package/src/assets/icons/detailed/heart.svg +0 -12
- package/src/assets/icons/detailed/highlighter.svg +0 -10
- package/src/assets/icons/detailed/home.svg +0 -12
- package/src/assets/icons/detailed/hourglass.svg +0 -12
- package/src/assets/icons/detailed/image.svg +0 -15
- package/src/assets/icons/detailed/info-badge.svg +0 -9
- package/src/assets/icons/detailed/information.svg +0 -12
- package/src/assets/icons/detailed/italic.svg +0 -10
- package/src/assets/icons/detailed/key.svg +0 -5
- package/src/assets/icons/detailed/language.svg +0 -14
- package/src/assets/icons/detailed/learning-path.svg +0 -7
- package/src/assets/icons/detailed/light-off.svg +0 -10
- package/src/assets/icons/detailed/light-on.svg +0 -18
- package/src/assets/icons/detailed/link.svg +0 -12
- package/src/assets/icons/detailed/lock.svg +0 -13
- package/src/assets/icons/detailed/login.svg +0 -11
- package/src/assets/icons/detailed/logout.svg +0 -11
- package/src/assets/icons/detailed/maximaze.svg +0 -12
- package/src/assets/icons/detailed/menu.svg +0 -9
- package/src/assets/icons/detailed/merge.svg +0 -20
- package/src/assets/icons/detailed/minimize.svg +0 -14
- package/src/assets/icons/detailed/mixed-class.svg +0 -40
- package/src/assets/icons/detailed/more-horizontal.svg +0 -7
- package/src/assets/icons/detailed/more-vertical.svg +0 -7
- package/src/assets/icons/detailed/news.svg +0 -12
- package/src/assets/icons/detailed/no-prerequisites.svg +0 -13
- package/src/assets/icons/detailed/notes.svg +0 -14
- package/src/assets/icons/detailed/number-code.svg +0 -34
- package/src/assets/icons/detailed/numbered-list.svg +0 -18
- package/src/assets/icons/detailed/on-site.svg +0 -22
- package/src/assets/icons/detailed/order-down.svg +0 -12
- package/src/assets/icons/detailed/order-up.svg +0 -12
- package/src/assets/icons/detailed/paste.svg +0 -14
- package/src/assets/icons/detailed/pausa.svg +0 -8
- package/src/assets/icons/detailed/pdf.svg +0 -12
- package/src/assets/icons/detailed/phone.svg +0 -10
- package/src/assets/icons/detailed/pin-map.svg +0 -12
- package/src/assets/icons/detailed/pin.svg +0 -15
- package/src/assets/icons/detailed/pizza.svg +0 -17
- package/src/assets/icons/detailed/play.svg +0 -11
- package/src/assets/icons/detailed/plug-in.svg +0 -10
- package/src/assets/icons/detailed/pointer.svg +0 -12
- package/src/assets/icons/detailed/printer.svg +0 -26
- package/src/assets/icons/detailed/profile-add.svg +0 -20
- package/src/assets/icons/detailed/profile.svg +0 -10
- package/src/assets/icons/detailed/push-pin-off.svg +0 -11
- package/src/assets/icons/detailed/push-pin-on.svg +0 -9
- package/src/assets/icons/detailed/qrcode.svg +0 -28
- package/src/assets/icons/detailed/question-badge.svg +0 -10
- package/src/assets/icons/detailed/radio.svg +0 -8
- package/src/assets/icons/detailed/redo.svg +0 -9
- package/src/assets/icons/detailed/relations.svg +0 -32
- package/src/assets/icons/detailed/reload.svg +0 -13
- package/src/assets/icons/detailed/remove-circle.svg +0 -10
- package/src/assets/icons/detailed/remove.svg +0 -5
- package/src/assets/icons/detailed/reorder.svg +0 -12
- package/src/assets/icons/detailed/repeat.svg +0 -12
- package/src/assets/icons/detailed/repository.svg +0 -18
- package/src/assets/icons/detailed/request-form.svg +0 -18
- package/src/assets/icons/detailed/resize-100%.svg +0 -15
- package/src/assets/icons/detailed/resize-height.svg +0 -12
- package/src/assets/icons/detailed/resize-width.svg +0 -12
- package/src/assets/icons/detailed/search.svg +0 -12
- package/src/assets/icons/detailed/sequential-prerequisites.svg +0 -20
- package/src/assets/icons/detailed/settings.svg +0 -14
- package/src/assets/icons/detailed/share.svg +0 -20
- package/src/assets/icons/detailed/sketch.svg +0 -12
- package/src/assets/icons/detailed/skills.svg +0 -20
- package/src/assets/icons/detailed/skip-back.svg +0 -12
- package/src/assets/icons/detailed/skip-forward.svg +0 -13
- package/src/assets/icons/detailed/sms.svg +0 -18
- package/src/assets/icons/detailed/sso-access.svg +0 -18
- package/src/assets/icons/detailed/star-active.svg +0 -6
- package/src/assets/icons/detailed/star.svg +0 -6
- package/src/assets/icons/detailed/success.svg +0 -10
- package/src/assets/icons/detailed/sun.svg +0 -24
- package/src/assets/icons/detailed/sunrise.svg +0 -18
- package/src/assets/icons/detailed/support.svg +0 -18
- package/src/assets/icons/detailed/survey.svg +0 -24
- package/src/assets/icons/detailed/table.svg +0 -11
- package/src/assets/icons/detailed/tematic-channels.svg +0 -12
- package/src/assets/icons/detailed/test.svg +0 -14
- package/src/assets/icons/detailed/text-body.svg +0 -8
- package/src/assets/icons/detailed/text-edit.svg +0 -11
- package/src/assets/icons/detailed/text-style.svg +0 -10
- package/src/assets/icons/detailed/time.svg +0 -10
- package/src/assets/icons/detailed/toilet-piper.svg +0 -15
- package/src/assets/icons/detailed/training-points.svg +0 -16
- package/src/assets/icons/detailed/trash.svg +0 -19
- package/src/assets/icons/detailed/underline.svg +0 -8
- package/src/assets/icons/detailed/undo.svg +0 -9
- package/src/assets/icons/detailed/unlock.svg +0 -13
- package/src/assets/icons/detailed/upload.svg +0 -10
- package/src/assets/icons/detailed/user-add.svg +0 -16
- package/src/assets/icons/detailed/user-badge.svg +0 -11
- package/src/assets/icons/detailed/user.svg +0 -8
- package/src/assets/icons/detailed/video-off.svg +0 -17
- package/src/assets/icons/detailed/video-on.svg +0 -16
- package/src/assets/icons/detailed/video-rec.svg +0 -19
- package/src/assets/icons/detailed/view-card.svg +0 -12
- package/src/assets/icons/detailed/view-list.svg +0 -20
- package/src/assets/icons/detailed/view.svg +0 -7
- package/src/assets/icons/detailed/voice-off.svg +0 -14
- package/src/assets/icons/detailed/voice-on.svg +0 -16
- package/src/assets/icons/detailed/volume-down.svg +0 -14
- package/src/assets/icons/detailed/volume-off.svg +0 -19
- package/src/assets/icons/detailed/volume-up.svg +0 -16
- package/src/assets/icons/detailed/warning.svg +0 -16
- package/src/assets/icons/detailed/webinar.svg +0 -57
- package/src/assets/icons/detailed/whiteboard.svg +0 -16
- package/src/assets/icons/detailed/wine.svg +0 -22
- package/src/assets/icons/detailed/zip.svg +0 -17
- package/src/assets/icons/detailed/zoom-in.svg +0 -18
- package/src/assets/icons/detailed/zoom-out.svg +0 -16
- package/src/assets/icons/detailed.json +0 -1
- package/src/assets/icons/normal/add-circle.svg +0 -12
- package/src/assets/icons/normal/add.svg +0 -4
- package/src/assets/icons/normal/align-center.svg +0 -11
- package/src/assets/icons/normal/align-justify.svg +0 -11
- package/src/assets/icons/normal/align-left.svg +0 -11
- package/src/assets/icons/normal/align-right.svg +0 -11
- package/src/assets/icons/normal/analysis-2.svg +0 -18
- package/src/assets/icons/normal/analysis-3.svg +0 -8
- package/src/assets/icons/normal/analysis.svg +0 -14
- package/src/assets/icons/normal/apple.svg +0 -16
- package/src/assets/icons/normal/arrow-down.svg +0 -8
- package/src/assets/icons/normal/arrow-left.svg +0 -8
- package/src/assets/icons/normal/arrow-right.svg +0 -8
- package/src/assets/icons/normal/arrow-up.svg +0 -8
- package/src/assets/icons/normal/attachment.svg +0 -6
- package/src/assets/icons/normal/back-to-front.svg +0 -15
- package/src/assets/icons/normal/bell-active.svg +0 -14
- package/src/assets/icons/normal/bell.svg +0 -14
- package/src/assets/icons/normal/bold.svg +0 -8
- package/src/assets/icons/normal/bookmark active.svg +0 -12
- package/src/assets/icons/normal/bookmark.svg +0 -10
- package/src/assets/icons/normal/building.svg +0 -21
- package/src/assets/icons/normal/bulleted-list.svg +0 -23
- package/src/assets/icons/normal/calendar.svg +0 -20
- package/src/assets/icons/normal/camera-off.svg +0 -17
- package/src/assets/icons/normal/camera-on.svg +0 -16
- package/src/assets/icons/normal/catalog.svg +0 -13
- package/src/assets/icons/normal/certificate.svg +0 -12
- package/src/assets/icons/normal/chat.svg +0 -6
- package/src/assets/icons/normal/check-badge.svg +0 -9
- package/src/assets/icons/normal/check-circle.svg +0 -10
- package/src/assets/icons/normal/check.svg +0 -4
- package/src/assets/icons/normal/checkbox.svg +0 -8
- package/src/assets/icons/normal/chevron-down-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-down.svg +0 -6
- package/src/assets/icons/normal/chevron-left-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-left.svg +0 -6
- package/src/assets/icons/normal/chevron-right-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-right.svg +0 -7
- package/src/assets/icons/normal/chevron-up-circle.svg +0 -10
- package/src/assets/icons/normal/chevron-up.svg +0 -6
- package/src/assets/icons/normal/circle.svg +0 -8
- package/src/assets/icons/normal/classroom.svg +0 -36
- package/src/assets/icons/normal/clear-field.svg +0 -14
- package/src/assets/icons/normal/clear-style.svg +0 -18
- package/src/assets/icons/normal/close-circle.svg +0 -14
- package/src/assets/icons/normal/close-loader.svg +0 -6
- package/src/assets/icons/normal/close.svg +0 -8
- package/src/assets/icons/normal/coffee.svg +0 -26
- package/src/assets/icons/normal/color.svg +0 -18
- package/src/assets/icons/normal/contact-us.svg +0 -29
- package/src/assets/icons/normal/copy.svg +0 -10
- package/src/assets/icons/normal/courses.svg +0 -22
- package/src/assets/icons/normal/dashboard.svg +0 -18
- package/src/assets/icons/normal/download.svg +0 -10
- package/src/assets/icons/normal/drag.svg +0 -5
- package/src/assets/icons/normal/dulicate.svg +0 -22
- package/src/assets/icons/normal/edit.svg +0 -16
- package/src/assets/icons/normal/elearning.svg +0 -16
- package/src/assets/icons/normal/email.svg +0 -11
- package/src/assets/icons/normal/error-2.svg +0 -8
- package/src/assets/icons/normal/error.svg +0 -12
- package/src/assets/icons/normal/exercise.svg +0 -26
- package/src/assets/icons/normal/external-link.svg +0 -11
- package/src/assets/icons/normal/extract.svg +0 -14
- package/src/assets/icons/normal/eye-off.svg +0 -14
- package/src/assets/icons/normal/eye-on.svg +0 -16
- package/src/assets/icons/normal/fail.svg +0 -11
- package/src/assets/icons/normal/fast-back.svg +0 -19
- package/src/assets/icons/normal/fast-forward.svg +0 -17
- package/src/assets/icons/normal/file-add.svg +0 -16
- package/src/assets/icons/normal/file-duplicate.svg +0 -22
- package/src/assets/icons/normal/file-remove.svg +0 -14
- package/src/assets/icons/normal/file-required.svg +0 -24
- package/src/assets/icons/normal/file.svg +0 -13
- package/src/assets/icons/normal/filter-2.svg +0 -20
- package/src/assets/icons/normal/filter-active.svg +0 -12
- package/src/assets/icons/normal/filter.svg +0 -12
- package/src/assets/icons/normal/flag.svg +0 -10
- package/src/assets/icons/normal/folder.svg +0 -12
- package/src/assets/icons/normal/full-width.svg +0 -9
- package/src/assets/icons/normal/go-to-back.svg +0 -19
- package/src/assets/icons/normal/grid.svg +0 -20
- package/src/assets/icons/normal/group-add.svg +0 -18
- package/src/assets/icons/normal/group.svg +0 -14
- package/src/assets/icons/normal/heart-active.svg +0 -10
- package/src/assets/icons/normal/heart.svg +0 -10
- package/src/assets/icons/normal/highlighter.svg +0 -11
- package/src/assets/icons/normal/home.svg +0 -12
- package/src/assets/icons/normal/hourglass.svg +0 -8
- package/src/assets/icons/normal/image.svg +0 -15
- package/src/assets/icons/normal/info-badge.svg +0 -9
- package/src/assets/icons/normal/information.svg +0 -12
- package/src/assets/icons/normal/italic.svg +0 -10
- package/src/assets/icons/normal/key.svg +0 -8
- package/src/assets/icons/normal/language.svg +0 -14
- package/src/assets/icons/normal/learning-path.svg +0 -7
- package/src/assets/icons/normal/light-off.svg +0 -10
- package/src/assets/icons/normal/light-on.svg +0 -17
- package/src/assets/icons/normal/link.svg +0 -12
- package/src/assets/icons/normal/lock.svg +0 -12
- package/src/assets/icons/normal/login.svg +0 -10
- package/src/assets/icons/normal/logout.svg +0 -10
- package/src/assets/icons/normal/maximize.svg +0 -10
- package/src/assets/icons/normal/menu.svg +0 -8
- package/src/assets/icons/normal/merge.svg +0 -20
- package/src/assets/icons/normal/minimize.svg +0 -12
- package/src/assets/icons/normal/mixed-class.svg +0 -36
- package/src/assets/icons/normal/more-horizontal.svg +0 -7
- package/src/assets/icons/normal/more-vertical.svg +0 -7
- package/src/assets/icons/normal/news.svg +0 -9
- package/src/assets/icons/normal/no-prerequisites.svg +0 -12
- package/src/assets/icons/normal/notes.svg +0 -15
- package/src/assets/icons/normal/number-code.svg +0 -34
- package/src/assets/icons/normal/numbered-list.svg +0 -19
- package/src/assets/icons/normal/on-site.svg +0 -18
- package/src/assets/icons/normal/order-down.svg +0 -12
- package/src/assets/icons/normal/order-up.svg +0 -11
- package/src/assets/icons/normal/paste.svg +0 -14
- package/src/assets/icons/normal/pausa.svg +0 -7
- package/src/assets/icons/normal/pdf.svg +0 -12
- package/src/assets/icons/normal/phone.svg +0 -10
- package/src/assets/icons/normal/pin-map.svg +0 -10
- package/src/assets/icons/normal/pin.svg +0 -12
- package/src/assets/icons/normal/pizza.svg +0 -17
- package/src/assets/icons/normal/play.svg +0 -9
- package/src/assets/icons/normal/plug-in.svg +0 -10
- package/src/assets/icons/normal/pointer.svg +0 -12
- package/src/assets/icons/normal/printer.svg +0 -28
- package/src/assets/icons/normal/profile-add.svg +0 -28
- package/src/assets/icons/normal/profile.svg +0 -15
- package/src/assets/icons/normal/push pin on.svg +0 -9
- package/src/assets/icons/normal/push-pin-off.svg +0 -23
- package/src/assets/icons/normal/qrcode.svg +0 -26
- package/src/assets/icons/normal/question-badge.svg +0 -10
- package/src/assets/icons/normal/radio.svg +0 -8
- package/src/assets/icons/normal/redo.svg +0 -9
- package/src/assets/icons/normal/relations.svg +0 -28
- package/src/assets/icons/normal/reload.svg +0 -12
- package/src/assets/icons/normal/remove-circle.svg +0 -10
- package/src/assets/icons/normal/remove.svg +0 -4
- package/src/assets/icons/normal/reorder.svg +0 -12
- package/src/assets/icons/normal/repeat.svg +0 -12
- package/src/assets/icons/normal/repository.svg +0 -18
- package/src/assets/icons/normal/request-form.svg +0 -18
- package/src/assets/icons/normal/resize-100%.svg +0 -17
- package/src/assets/icons/normal/resize-height.svg +0 -12
- package/src/assets/icons/normal/resize-width.svg +0 -12
- package/src/assets/icons/normal/search.svg +0 -10
- package/src/assets/icons/normal/sequential-prerequisites.svg +0 -20
- package/src/assets/icons/normal/settings.svg +0 -14
- package/src/assets/icons/normal/share.svg +0 -20
- package/src/assets/icons/normal/sketch.svg +0 -11
- package/src/assets/icons/normal/skills.svg +0 -16
- package/src/assets/icons/normal/skip-back.svg +0 -12
- package/src/assets/icons/normal/skip-forward.svg +0 -13
- package/src/assets/icons/normal/sms.svg +0 -20
- package/src/assets/icons/normal/sso-access.svg +0 -20
- package/src/assets/icons/normal/star-active.svg +0 -4
- package/src/assets/icons/normal/star.svg +0 -4
- package/src/assets/icons/normal/success.svg +0 -10
- package/src/assets/icons/normal/sun.svg +0 -24
- package/src/assets/icons/normal/sunrise.svg +0 -18
- package/src/assets/icons/normal/support.svg +0 -18
- package/src/assets/icons/normal/survey.svg +0 -24
- package/src/assets/icons/normal/table.svg +0 -11
- package/src/assets/icons/normal/tematic-channels.svg +0 -10
- package/src/assets/icons/normal/test.svg +0 -15
- package/src/assets/icons/normal/text-body.svg +0 -8
- package/src/assets/icons/normal/text-edit.svg +0 -11
- package/src/assets/icons/normal/text-style.svg +0 -10
- package/src/assets/icons/normal/time.svg +0 -10
- package/src/assets/icons/normal/toilet-paper.svg +0 -15
- package/src/assets/icons/normal/training-points.svg +0 -16
- package/src/assets/icons/normal/trash.svg +0 -19
- package/src/assets/icons/normal/underline.svg +0 -8
- package/src/assets/icons/normal/undo.svg +0 -9
- package/src/assets/icons/normal/unlock.svg +0 -13
- package/src/assets/icons/normal/upload.svg +0 -10
- package/src/assets/icons/normal/user-add.svg +0 -14
- package/src/assets/icons/normal/user-badge.svg +0 -11
- package/src/assets/icons/normal/user.svg +0 -5
- package/src/assets/icons/normal/video-off.svg +0 -11
- package/src/assets/icons/normal/video-on.svg +0 -20
- package/src/assets/icons/normal/video-rec.svg +0 -23
- package/src/assets/icons/normal/view-card.svg +0 -10
- package/src/assets/icons/normal/view-list.svg +0 -18
- package/src/assets/icons/normal/view.svg +0 -8
- package/src/assets/icons/normal/voice-off.svg +0 -18
- package/src/assets/icons/normal/voice-on.svg +0 -15
- package/src/assets/icons/normal/volume-down.svg +0 -14
- package/src/assets/icons/normal/volume-off.svg +0 -18
- package/src/assets/icons/normal/volume-up.svg +0 -16
- package/src/assets/icons/normal/warning.svg +0 -16
- package/src/assets/icons/normal/webinar.svg +0 -36
- package/src/assets/icons/normal/whiteboard.svg +0 -17
- package/src/assets/icons/normal/wine.svg +0 -22
- package/src/assets/icons/normal/zip.svg +0 -19
- package/src/assets/icons/normal/zoom-in.svg +0 -16
- package/src/assets/icons/normal/zoom-out.svg +0 -14
- package/src/assets/icons/normal.json +0 -1
- package/src/assets/icons/simple/add-circle.svg +0 -12
- package/src/assets/icons/simple/add.svg +0 -8
- package/src/assets/icons/simple/align-center.svg +0 -12
- package/src/assets/icons/simple/align-justify.svg +0 -12
- package/src/assets/icons/simple/align-left.svg +0 -12
- package/src/assets/icons/simple/align-right.svg +0 -12
- package/src/assets/icons/simple/analysis-2.svg +0 -21
- package/src/assets/icons/simple/analysis-3.svg +0 -8
- package/src/assets/icons/simple/analysis.svg +0 -16
- package/src/assets/icons/simple/apple.svg +0 -18
- package/src/assets/icons/simple/arrow-down.svg +0 -8
- package/src/assets/icons/simple/arrow-left.svg +0 -8
- package/src/assets/icons/simple/arrow-right.svg +0 -8
- package/src/assets/icons/simple/arrow-up.svg +0 -8
- package/src/assets/icons/simple/attachment.svg +0 -10
- package/src/assets/icons/simple/bck-to-front.svg +0 -19
- package/src/assets/icons/simple/bell-active.svg +0 -14
- package/src/assets/icons/simple/bell.svg +0 -14
- package/src/assets/icons/simple/bold.svg +0 -8
- package/src/assets/icons/simple/bookmark-active.svg +0 -12
- package/src/assets/icons/simple/bookmark.svg +0 -12
- package/src/assets/icons/simple/building.svg +0 -25
- package/src/assets/icons/simple/bulleted-list.svg +0 -22
- package/src/assets/icons/simple/calendar.svg +0 -22
- package/src/assets/icons/simple/camera-off.svg +0 -12
- package/src/assets/icons/simple/camera-on.svg +0 -16
- package/src/assets/icons/simple/catalog.svg +0 -14
- package/src/assets/icons/simple/certificate.svg +0 -15
- package/src/assets/icons/simple/chat.svg +0 -9
- package/src/assets/icons/simple/check-badge.svg +0 -9
- package/src/assets/icons/simple/check-circle.svg +0 -10
- package/src/assets/icons/simple/check.svg +0 -6
- package/src/assets/icons/simple/checkbox.svg +0 -6
- package/src/assets/icons/simple/chevron-down-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-down.svg +0 -6
- package/src/assets/icons/simple/chevron-left-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-left.svg +0 -6
- package/src/assets/icons/simple/chevron-right-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-right.svg +0 -7
- package/src/assets/icons/simple/chevron-up-circle.svg +0 -10
- package/src/assets/icons/simple/chevron-up.svg +0 -6
- package/src/assets/icons/simple/circle.svg +0 -8
- package/src/assets/icons/simple/classroom.svg +0 -38
- package/src/assets/icons/simple/clear-field.svg +0 -11
- package/src/assets/icons/simple/clear-style.svg +0 -15
- package/src/assets/icons/simple/close-circle.svg +0 -14
- package/src/assets/icons/simple/close-loader.svg +0 -6
- package/src/assets/icons/simple/close.svg +0 -10
- package/src/assets/icons/simple/coffee.svg +0 -28
- package/src/assets/icons/simple/color.svg +0 -20
- package/src/assets/icons/simple/contact-us.svg +0 -26
- package/src/assets/icons/simple/copy.svg +0 -10
- package/src/assets/icons/simple/courses.svg +0 -21
- package/src/assets/icons/simple/dashboard.svg +0 -20
- package/src/assets/icons/simple/download.svg +0 -10
- package/src/assets/icons/simple/drag.svg +0 -10
- package/src/assets/icons/simple/duplicate.svg +0 -24
- package/src/assets/icons/simple/edit.svg +0 -17
- package/src/assets/icons/simple/elearning.svg +0 -17
- package/src/assets/icons/simple/email.svg +0 -11
- package/src/assets/icons/simple/error-2.svg +0 -8
- package/src/assets/icons/simple/error.svg +0 -12
- package/src/assets/icons/simple/exercise.svg +0 -30
- package/src/assets/icons/simple/external-link.svg +0 -13
- package/src/assets/icons/simple/extract.svg +0 -17
- package/src/assets/icons/simple/eye-off.svg +0 -13
- package/src/assets/icons/simple/eye-on.svg +0 -11
- package/src/assets/icons/simple/fail.svg +0 -11
- package/src/assets/icons/simple/fast-back.svg +0 -20
- package/src/assets/icons/simple/fast-forward.svg +0 -19
- package/src/assets/icons/simple/file-add.svg +0 -20
- package/src/assets/icons/simple/file-duplicate.svg +0 -22
- package/src/assets/icons/simple/file-remove.svg +0 -18
- package/src/assets/icons/simple/file-required.svg +0 -24
- package/src/assets/icons/simple/file.svg +0 -14
- package/src/assets/icons/simple/filter-2.svg +0 -24
- package/src/assets/icons/simple/filter-active.svg +0 -13
- package/src/assets/icons/simple/filter.svg +0 -12
- package/src/assets/icons/simple/flag.svg +0 -12
- package/src/assets/icons/simple/folder.svg +0 -14
- package/src/assets/icons/simple/full-width.svg +0 -11
- package/src/assets/icons/simple/go-to-back.svg +0 -18
- package/src/assets/icons/simple/grid.svg +0 -20
- package/src/assets/icons/simple/group-add.svg +0 -24
- package/src/assets/icons/simple/group.svg +0 -18
- package/src/assets/icons/simple/heart-active.svg +0 -12
- package/src/assets/icons/simple/heart.svg +0 -12
- package/src/assets/icons/simple/highlighter.svg +0 -12
- package/src/assets/icons/simple/home.svg +0 -13
- package/src/assets/icons/simple/hourglass.svg +0 -11
- package/src/assets/icons/simple/image.svg +0 -15
- package/src/assets/icons/simple/info-badge.svg +0 -9
- package/src/assets/icons/simple/information.svg +0 -12
- package/src/assets/icons/simple/italic.svg +0 -12
- package/src/assets/icons/simple/key.svg +0 -11
- package/src/assets/icons/simple/language.svg +0 -12
- package/src/assets/icons/simple/learning-path.svg +0 -9
- package/src/assets/icons/simple/light-off.svg +0 -7
- package/src/assets/icons/simple/light-on.svg +0 -18
- package/src/assets/icons/simple/link.svg +0 -14
- package/src/assets/icons/simple/lock.svg +0 -13
- package/src/assets/icons/simple/login.svg +0 -11
- package/src/assets/icons/simple/logout.svg +0 -11
- package/src/assets/icons/simple/maximaze.svg +0 -12
- package/src/assets/icons/simple/menu.svg +0 -10
- package/src/assets/icons/simple/merge.svg +0 -20
- package/src/assets/icons/simple/minimaze.svg +0 -12
- package/src/assets/icons/simple/mixed-class.svg +0 -40
- package/src/assets/icons/simple/more-horizontal.svg +0 -8
- package/src/assets/icons/simple/more-vertical.svg +0 -8
- package/src/assets/icons/simple/news.svg +0 -12
- package/src/assets/icons/simple/no-prerequisites.svg +0 -17
- package/src/assets/icons/simple/notes.svg +0 -14
- package/src/assets/icons/simple/number-code.svg +0 -29
- package/src/assets/icons/simple/numbered-list.svg +0 -18
- package/src/assets/icons/simple/on-site.svg +0 -18
- package/src/assets/icons/simple/order-down.svg +0 -12
- package/src/assets/icons/simple/order-up.svg +0 -12
- package/src/assets/icons/simple/paste.svg +0 -14
- package/src/assets/icons/simple/pausa.svg +0 -8
- package/src/assets/icons/simple/pdf.svg +0 -12
- package/src/assets/icons/simple/phone.svg +0 -10
- package/src/assets/icons/simple/pin-map.svg +0 -13
- package/src/assets/icons/simple/pin.svg +0 -14
- package/src/assets/icons/simple/pizza.svg +0 -17
- package/src/assets/icons/simple/play.svg +0 -10
- package/src/assets/icons/simple/plug-in.svg +0 -10
- package/src/assets/icons/simple/pointer.svg +0 -6
- package/src/assets/icons/simple/printer.svg +0 -28
- package/src/assets/icons/simple/profile-add.svg +0 -28
- package/src/assets/icons/simple/profile.svg +0 -13
- package/src/assets/icons/simple/push-pin-off.svg +0 -11
- package/src/assets/icons/simple/push-pin-on.svg +0 -12
- package/src/assets/icons/simple/qrcode.svg +0 -26
- package/src/assets/icons/simple/question-badge.svg +0 -10
- package/src/assets/icons/simple/radio.svg +0 -8
- package/src/assets/icons/simple/redo.svg +0 -9
- package/src/assets/icons/simple/relations.svg +0 -28
- package/src/assets/icons/simple/reload.svg +0 -12
- package/src/assets/icons/simple/remove-circle.svg +0 -10
- package/src/assets/icons/simple/remove.svg +0 -6
- package/src/assets/icons/simple/repeart.svg +0 -14
- package/src/assets/icons/simple/repository.svg +0 -18
- package/src/assets/icons/simple/request-form.svg +0 -20
- package/src/assets/icons/simple/resize-100%.svg +0 -15
- package/src/assets/icons/simple/resize-height.svg +0 -12
- package/src/assets/icons/simple/resize-width.svg +0 -14
- package/src/assets/icons/simple/search.svg +0 -10
- package/src/assets/icons/simple/sequential-prerequisites.svg +0 -22
- package/src/assets/icons/simple/settings.svg +0 -17
- package/src/assets/icons/simple/share.svg +0 -21
- package/src/assets/icons/simple/sketch.svg +0 -13
- package/src/assets/icons/simple/skills.svg +0 -17
- package/src/assets/icons/simple/skip-back.svg +0 -14
- package/src/assets/icons/simple/skip-forward.svg +0 -14
- package/src/assets/icons/simple/sms.svg +0 -22
- package/src/assets/icons/simple/sso-access.svg +0 -20
- package/src/assets/icons/simple/star-active.svg +0 -6
- package/src/assets/icons/simple/star.svg +0 -6
- package/src/assets/icons/simple/success.svg +0 -12
- package/src/assets/icons/simple/sun.svg +0 -22
- package/src/assets/icons/simple/sunrise.svg +0 -18
- package/src/assets/icons/simple/support.svg +0 -18
- package/src/assets/icons/simple/survey.svg +0 -32
- package/src/assets/icons/simple/table.svg +0 -11
- package/src/assets/icons/simple/tematic-channels.svg +0 -15
- package/src/assets/icons/simple/test.svg +0 -23
- package/src/assets/icons/simple/text-body.svg +0 -7
- package/src/assets/icons/simple/text-edit.svg +0 -11
- package/src/assets/icons/simple/text-style.svg +0 -10
- package/src/assets/icons/simple/time.svg +0 -10
- package/src/assets/icons/simple/toilet-paper.svg +0 -17
- package/src/assets/icons/simple/training-points.svg +0 -18
- package/src/assets/icons/simple/trash.svg +0 -20
- package/src/assets/icons/simple/underline.svg +0 -9
- package/src/assets/icons/simple/undo.svg +0 -9
- package/src/assets/icons/simple/unlock.svg +0 -15
- package/src/assets/icons/simple/upload.svg +0 -10
- package/src/assets/icons/simple/user-add.svg +0 -18
- package/src/assets/icons/simple/user-badge.svg +0 -12
- package/src/assets/icons/simple/user.svg +0 -8
- package/src/assets/icons/simple/video-off.svg +0 -17
- package/src/assets/icons/simple/video-on.svg +0 -17
- package/src/assets/icons/simple/video-rec.svg +0 -20
- package/src/assets/icons/simple/view-card.svg +0 -12
- package/src/assets/icons/simple/view-list.svg +0 -20
- package/src/assets/icons/simple/view.svg +0 -17
- package/src/assets/icons/simple/voice-off.svg +0 -16
- package/src/assets/icons/simple/voice-on.svg +0 -16
- package/src/assets/icons/simple/volume-down.svg +0 -15
- package/src/assets/icons/simple/volume-off.svg +0 -16
- package/src/assets/icons/simple/volume-up.svg +0 -16
- package/src/assets/icons/simple/warning.svg +0 -14
- package/src/assets/icons/simple/webinar.svg +0 -19
- package/src/assets/icons/simple/whiteboard.svg +0 -16
- package/src/assets/icons/simple/wine.svg +0 -24
- package/src/assets/icons/simple/zip.svg +0 -22
- package/src/assets/icons/simple/zoom-in.svg +0 -18
- package/src/assets/icons/simple/zoom-out.svg +0 -17
- package/src/assets/icons/simple.json +0 -1
- package/src/components/VvAccordion/VvAccordion.vue +0 -109
- package/src/components/VvAccordion/index.ts +0 -96
- package/src/components/VvAccordionGroup/VvAccordionGroup.vue +0 -115
- package/src/components/VvAccordionGroup/index.ts +0 -50
- package/src/components/VvAction/VvAction.vue +0 -146
- package/src/components/VvAction/index.ts +0 -5
- package/src/components/VvAlert/VvAlert.vue +0 -76
- package/src/components/VvAlert/index.ts +0 -162
- package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -64
- package/src/components/VvAlertGroup/index.ts +0 -132
- package/src/components/VvAvatar/VvAvatar.vue +0 -21
- package/src/components/VvAvatar/index.ts +0 -9
- package/src/components/VvAvatarGroup/VvAvatarGroup.vue +0 -65
- package/src/components/VvAvatarGroup/index.ts +0 -28
- package/src/components/VvBadge/VvBadge.vue +0 -20
- package/src/components/VvBadge/index.ts +0 -6
- package/src/components/VvBreadcrumb/VvBreadcrumb.vue +0 -54
- package/src/components/VvBreadcrumb/index.ts +0 -13
- package/src/components/VvButton/VvButton.vue +0 -164
- package/src/components/VvButton/index.ts +0 -132
- package/src/components/VvButtonGroup/VvButtonGroup.vue +0 -74
- package/src/components/VvButtonGroup/index.ts +0 -28
- package/src/components/VvCard/VvCard.vue +0 -37
- package/src/components/VvCard/index.ts +0 -6
- package/src/components/VvCheckbox/VvCheckbox.vue +0 -198
- package/src/components/VvCheckbox/index.ts +0 -65
- package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +0 -99
- package/src/components/VvCheckboxGroup/index.ts +0 -5
- package/src/components/VvCombobox/VvCombobox.vue +0 -629
- package/src/components/VvCombobox/index.ts +0 -179
- package/src/components/VvDialog/VvDialog.vue +0 -144
- package/src/components/VvDialog/index.ts +0 -42
- package/src/components/VvDropdown/VvDropdown.vue +0 -475
- package/src/components/VvDropdown/VvDropdownAction.vue +0 -46
- package/src/components/VvDropdown/VvDropdownItem.vue +0 -32
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +0 -18
- package/src/components/VvDropdown/VvDropdownOption.vue +0 -72
- package/src/components/VvDropdown/index.ts +0 -32
- package/src/components/VvIcon/README.md +0 -64
- package/src/components/VvIcon/VvIcon.vue +0 -139
- package/src/components/VvIcon/index.ts +0 -103
- package/src/components/VvInputText/VvInputClearAction.ts +0 -52
- package/src/components/VvInputText/VvInputPasswordAction.ts +0 -68
- package/src/components/VvInputText/VvInputStepAction.ts +0 -49
- package/src/components/VvInputText/VvInputText.vue +0 -547
- package/src/components/VvInputText/VvInputTextActions.ts +0 -97
- package/src/components/VvInputText/index.ts +0 -199
- package/src/components/VvNav/VvNav.vue +0 -44
- package/src/components/VvNav/VvNavItem.vue +0 -18
- package/src/components/VvNav/VvNavSeparator.vue +0 -11
- package/src/components/VvNav/index.ts +0 -8
- package/src/components/VvProgress/VvProgress.vue +0 -34
- package/src/components/VvProgress/index.ts +0 -32
- package/src/components/VvRadio/VvRadio.vue +0 -124
- package/src/components/VvRadio/index.ts +0 -46
- package/src/components/VvRadioGroup/VvRadioGroup.vue +0 -103
- package/src/components/VvRadioGroup/index.ts +0 -5
- package/src/components/VvSelect/VvSelect.vue +0 -247
- package/src/components/VvSelect/index.ts +0 -69
- package/src/components/VvTab/VvTab.vue +0 -77
- package/src/components/VvTab/index.ts +0 -19
- package/src/components/VvTextarea/VvTextarea.vue +0 -225
- package/src/components/VvTextarea/index.ts +0 -50
- package/src/components/VvTooltip/VvTooltip.vue +0 -23
- package/src/components/VvTooltip/index.ts +0 -18
- package/src/components/common/HintSlot.ts +0 -175
- package/src/components/index.ts +0 -24
- package/src/composables/alert/useAlert.ts +0 -103
- package/src/composables/alert/useInjectAlert.ts +0 -8
- package/src/composables/alert/useProvideAlert.ts +0 -23
- package/src/composables/dropdown/useInjectDropdown.ts +0 -26
- package/src/composables/dropdown/useProvideDropdown.ts +0 -94
- package/src/composables/group/useInjectedGroupState.ts +0 -51
- package/src/composables/group/useProvideGroupState.ts +0 -20
- package/src/composables/index.ts +0 -1
- package/src/composables/useComponentFocus.ts +0 -16
- package/src/composables/useComponentIcon.ts +0 -41
- package/src/composables/useDebouncedInput.ts +0 -32
- package/src/composables/useDefaults.ts +0 -89
- package/src/composables/useModifiers.ts +0 -36
- package/src/composables/useOptions.ts +0 -47
- package/src/composables/useTextCount.ts +0 -57
- package/src/composables/useUniqueId.ts +0 -5
- package/src/composables/useVolver.ts +0 -5
- package/src/constants.ts +0 -138
- package/src/directives/index.ts +0 -7
- package/src/directives/v-contextmenu.ts +0 -40
- package/src/directives/v-tooltip.ts +0 -15
- package/src/icons.ts +0 -7
- package/src/index.ts +0 -12
- package/src/props/index.ts +0 -479
- package/src/resolvers/unplugin.ts +0 -169
- package/src/shims.d.ts +0 -13
- package/src/stories/Accordion/Accordion.settings.ts +0 -57
- package/src/stories/Accordion/Accordion.stories.ts +0 -45
- package/src/stories/Accordion/Accordion.test.ts +0 -67
- package/src/stories/Accordion/AccordionSlots.stories.ts +0 -29
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +0 -77
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +0 -62
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +0 -56
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +0 -53
- package/src/stories/Alert/Alert.settings.ts +0 -122
- package/src/stories/Alert/Alert.stories.ts +0 -60
- package/src/stories/Alert/Alert.test.ts +0 -99
- package/src/stories/Alert/AlertModifiers.stories.ts +0 -77
- package/src/stories/Alert/AlertSlots.stories.ts +0 -74
- package/src/stories/AlertGroup/AlertGroup.settings.ts +0 -110
- package/src/stories/AlertGroup/AlertGroup.stories.ts +0 -50
- package/src/stories/AlertGroup/AlertGroup.test.ts +0 -89
- package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +0 -103
- package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +0 -67
- package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +0 -118
- package/src/stories/Avatar/Avatar.settings.ts +0 -37
- package/src/stories/Avatar/Avatar.stories.ts +0 -42
- package/src/stories/Avatar/Avatar.test.ts +0 -34
- package/src/stories/Avatar/AvatarBadge.stories.ts +0 -36
- package/src/stories/Avatar/AvatarModifiers.stories.ts +0 -100
- package/src/stories/Avatar/AvatarSlots.stories.ts +0 -34
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +0 -60
- package/src/stories/AvatarGroup/AvatarGroup.stories.ts +0 -35
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +0 -36
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +0 -31
- package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +0 -39
- package/src/stories/Badge/Badge.settings.ts +0 -26
- package/src/stories/Badge/Badge.stories.ts +0 -43
- package/src/stories/Badge/Badge.test.ts +0 -12
- package/src/stories/Badge/BadgeSlots.stories.ts +0 -23
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +0 -40
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +0 -41
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +0 -52
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +0 -37
- package/src/stories/Button/Button.settings.ts +0 -159
- package/src/stories/Button/Button.stories.ts +0 -38
- package/src/stories/Button/Button.test.ts +0 -48
- package/src/stories/Button/ButtonIcon.stories.ts +0 -67
- package/src/stories/Button/ButtonLink.stories.ts +0 -40
- package/src/stories/Button/ButtonLoading.stories.ts +0 -41
- package/src/stories/Button/ButtonModifiers.stories.ts +0 -148
- package/src/stories/Button/ButtonSlots.stories.ts +0 -87
- package/src/stories/Button/ButtonState.stories.ts +0 -42
- package/src/stories/Button/ButtonToggle.stories.ts +0 -52
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +0 -32
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +0 -39
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +0 -35
- package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +0 -39
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +0 -38
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +0 -41
- package/src/stories/Card/Card.settings.ts +0 -55
- package/src/stories/Card/Card.stories.ts +0 -46
- package/src/stories/Card/Card.test.ts +0 -23
- package/src/stories/Card/CardSlots.stories.ts +0 -81
- package/src/stories/Checkbox/Checkbox.settings.ts +0 -41
- package/src/stories/Checkbox/Checkbox.stories.ts +0 -97
- package/src/stories/Checkbox/Checkbox.test.ts +0 -81
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +0 -33
- package/src/stories/Checkbox/CheckboxSlots.stories.ts +0 -31
- package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +0 -15
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +0 -87
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +0 -83
- package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +0 -53
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +0 -47
- package/src/stories/Combobox/Combobox.settings.ts +0 -403
- package/src/stories/Combobox/Combobox.stories.ts +0 -176
- package/src/stories/Combobox/Combobox.test.ts +0 -110
- package/src/stories/Combobox/ComboboxIconPosition.stories.ts +0 -43
- package/src/stories/Combobox/ComboboxMultiple.stories.ts +0 -41
- package/src/stories/Combobox/ComboboxOptions.stories.ts +0 -114
- package/src/stories/Combobox/ComboboxSlots.stories.ts +0 -104
- package/src/stories/Dialog/Dialog.settings.ts +0 -45
- package/src/stories/Dialog/Dialog.stories.ts +0 -51
- package/src/stories/Dialog/Dialog.test.ts +0 -69
- package/src/stories/Dialog/DialogSlots.stories.ts +0 -39
- package/src/stories/Dropdown/Dropdown.settings.ts +0 -69
- package/src/stories/Dropdown/Dropdown.stories.ts +0 -107
- package/src/stories/Dropdown/Dropdown.test.ts +0 -21
- package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +0 -49
- package/src/stories/Dropdown/DropdownMultilevel.stories.ts +0 -61
- package/src/stories/Dropdown/DropdownSlots.stories.ts +0 -95
- package/src/stories/Icon/Icon.settings.ts +0 -72
- package/src/stories/Icon/Icon.stories.ts +0 -48
- package/src/stories/Icon/IconsCollection.stories.ts +0 -53
- package/src/stories/InputText/InputText.settings.ts +0 -259
- package/src/stories/InputText/InputText.stories.ts +0 -113
- package/src/stories/InputText/InputText.test.ts +0 -144
- package/src/stories/InputText/InputTextIconPosition.stories.ts +0 -43
- package/src/stories/InputText/InputTextLength.stories.ts +0 -58
- package/src/stories/InputText/InputTextMask.stories.ts +0 -122
- package/src/stories/InputText/InputTextMinMax.stories.ts +0 -51
- package/src/stories/InputText/InputTextSlots.stories.ts +0 -39
- package/src/stories/InputText/InputTextType.stories.ts +0 -119
- package/src/stories/Nav/Nav.settings.ts +0 -35
- package/src/stories/Nav/Nav.stories.ts +0 -33
- package/src/stories/Nav/Nav.test.ts +0 -21
- package/src/stories/Nav/NavModifiers.stories.ts +0 -47
- package/src/stories/Progress/Progress.settings.ts +0 -30
- package/src/stories/Progress/Progress.stories.ts +0 -41
- package/src/stories/Progress/Progress.test.ts +0 -9
- package/src/stories/Radio/Radio.settings.ts +0 -15
- package/src/stories/Radio/Radio.stories.ts +0 -81
- package/src/stories/Radio/Radio.test.ts +0 -70
- package/src/stories/Radio/RadioSlots.stories.ts +0 -31
- package/src/stories/RadioGroup/RadioGroup.settings.ts +0 -15
- package/src/stories/RadioGroup/RadioGroup.stories.ts +0 -88
- package/src/stories/RadioGroup/RadioGroup.test.ts +0 -83
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +0 -53
- package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +0 -47
- package/src/stories/Select/Select.settings.ts +0 -80
- package/src/stories/Select/Select.stories.ts +0 -113
- package/src/stories/Select/Select.test.ts +0 -85
- package/src/stories/Select/SelectIconPosition.stories.ts +0 -43
- package/src/stories/Select/SelectOptions.stories.ts +0 -77
- package/src/stories/Select/SelectSlots.stories.ts +0 -39
- package/src/stories/Tab/Tab.settings.ts +0 -41
- package/src/stories/Tab/Tab.stories.ts +0 -70
- package/src/stories/Tab/Tab.test.ts +0 -29
- package/src/stories/Textarea/Textarea.settings.ts +0 -88
- package/src/stories/Textarea/Textarea.stories.ts +0 -107
- package/src/stories/Textarea/Textarea.test.ts +0 -90
- package/src/stories/Textarea/TextareaLength.stories.ts +0 -58
- package/src/stories/Textarea/TextareaSlots.stories.ts +0 -39
- package/src/stories/Textarea/TextareatIconPosition.stories.ts +0 -43
- package/src/stories/Tooltip/Tooltip.settings.ts +0 -25
- package/src/stories/Tooltip/Tooltip.stories.ts +0 -40
- package/src/stories/Tooltip/Tooltip.test.ts +0 -60
- package/src/stories/Tooltip/TooltipDirective.stories.ts +0 -68
- package/src/stories/argTypes.ts +0 -562
- package/src/test/expect.ts +0 -88
- package/src/test/options.ts +0 -17
- package/src/test/sleep.ts +0 -2
- package/src/test/types.d.ts +0 -17
- package/src/types/alert.ts +0 -20
- package/src/types/floating-ui.ts +0 -7
- package/src/types/generic.ts +0 -5
- package/src/types/group.ts +0 -44
- package/src/types/index.ts +0 -5
- package/src/types/nav.ts +0 -19
- package/src/utils/ObjectUtilities.ts +0 -288
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { HintArgTypes, InputTextareaArgTypes } from '@/stories/argTypes'
|
|
2
|
-
import { VvTextareaProps } from '@/components/VvTextarea'
|
|
3
|
-
|
|
4
|
-
export const defaultArgs = {
|
|
5
|
-
...propsToObject(VvTextareaProps),
|
|
6
|
-
name: 'vv-textarea',
|
|
7
|
-
label: 'Textarea label',
|
|
8
|
-
placeholder: 'Textarea placeholder',
|
|
9
|
-
minlength: undefined,
|
|
10
|
-
maxlength: undefined,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const argTypes = {
|
|
14
|
-
...InputTextareaArgTypes,
|
|
15
|
-
...HintArgTypes,
|
|
16
|
-
cols: {
|
|
17
|
-
description:
|
|
18
|
-
'The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is 20.',
|
|
19
|
-
control: {
|
|
20
|
-
type: 'number',
|
|
21
|
-
},
|
|
22
|
-
table: {
|
|
23
|
-
defaultValue: {
|
|
24
|
-
summary: 20,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
rows: {
|
|
29
|
-
description:
|
|
30
|
-
'The number of visible text lines for the control. If it is specified, it must be a positive integer. If it is not specified, the default value is 2.',
|
|
31
|
-
control: {
|
|
32
|
-
type: 'number',
|
|
33
|
-
},
|
|
34
|
-
table: {
|
|
35
|
-
defaultValue: {
|
|
36
|
-
summary: 2,
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
wrap: {
|
|
41
|
-
description:
|
|
42
|
-
'Indicates how the control should wrap the value for form submission.',
|
|
43
|
-
options: ['hard', 'soft', 'off'],
|
|
44
|
-
control: {
|
|
45
|
-
type: 'check',
|
|
46
|
-
},
|
|
47
|
-
table: {
|
|
48
|
-
defaultValue: {
|
|
49
|
-
summary: 'soft',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
spellcheck: {
|
|
54
|
-
description:
|
|
55
|
-
'Specifies whether the textarea is subject to spell checking by the underlying browser/OS. ',
|
|
56
|
-
options: [true, false, 'default'],
|
|
57
|
-
control: {
|
|
58
|
-
type: 'check',
|
|
59
|
-
},
|
|
60
|
-
table: {
|
|
61
|
-
defaultValue: {
|
|
62
|
-
summary: 'default',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
before: {
|
|
67
|
-
control: {
|
|
68
|
-
type: 'text',
|
|
69
|
-
},
|
|
70
|
-
table: {
|
|
71
|
-
category: 'Slots',
|
|
72
|
-
type: {
|
|
73
|
-
summary: 'html',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
after: {
|
|
78
|
-
control: {
|
|
79
|
-
type: 'text',
|
|
80
|
-
},
|
|
81
|
-
table: {
|
|
82
|
-
category: 'Slots',
|
|
83
|
-
type: {
|
|
84
|
-
summary: 'html',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTextarea from '@/components/VvTextarea/VvTextarea.vue'
|
|
3
|
-
import { defaultArgs, argTypes } from './Textarea.settings'
|
|
4
|
-
import { defaultTest } from './Textarea.test'
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof VvTextarea> = {
|
|
7
|
-
title: 'Components/Textarea',
|
|
8
|
-
component: VvTextarea,
|
|
9
|
-
args: defaultArgs,
|
|
10
|
-
argTypes,
|
|
11
|
-
tags: ['autodocs'],
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default meta
|
|
15
|
-
|
|
16
|
-
type Story = StoryObj<typeof VvTextarea>
|
|
17
|
-
|
|
18
|
-
export const Default: Story = {
|
|
19
|
-
args: {
|
|
20
|
-
...defaultArgs,
|
|
21
|
-
},
|
|
22
|
-
render: (args) => ({
|
|
23
|
-
components: { VvTextarea },
|
|
24
|
-
setup() {
|
|
25
|
-
return { args }
|
|
26
|
-
},
|
|
27
|
-
data: () => ({ inputValue: undefined }),
|
|
28
|
-
template: /* html */ `
|
|
29
|
-
<vv-textarea v-bind="args" v-model="inputValue" :data-testData="inputValue" data-testId="element">
|
|
30
|
-
<template #before v-if="args.before"><div class="flex" v-html="args.before"></div></template>
|
|
31
|
-
<template #after v-if="args.after"><div class="flex" v-html="args.after"></div></template>
|
|
32
|
-
<template #hint v-if="args.hint"><span v-html="args.hint"></span></template>
|
|
33
|
-
</vv-textarea>
|
|
34
|
-
<div>Value: <span data-testId="value">{{inputValue}}</span></div>
|
|
35
|
-
`,
|
|
36
|
-
}),
|
|
37
|
-
play: defaultTest,
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const Disabled: Story = {
|
|
41
|
-
...Default,
|
|
42
|
-
args: {
|
|
43
|
-
...defaultArgs,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export const Readonly: Story = {
|
|
49
|
-
...Default,
|
|
50
|
-
args: {
|
|
51
|
-
...defaultArgs,
|
|
52
|
-
readonly: true,
|
|
53
|
-
},
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export const Valid: Story = {
|
|
57
|
-
...Default,
|
|
58
|
-
args: {
|
|
59
|
-
...defaultArgs,
|
|
60
|
-
valid: true,
|
|
61
|
-
validLabel: 'The field is valid.',
|
|
62
|
-
icon: 'check',
|
|
63
|
-
},
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export const Invalid: Story = {
|
|
67
|
-
...Default,
|
|
68
|
-
args: {
|
|
69
|
-
...defaultArgs,
|
|
70
|
-
invalid: true,
|
|
71
|
-
invalidLabel: 'The field is required.',
|
|
72
|
-
icon: 'error-2',
|
|
73
|
-
},
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export const Hint: Story = {
|
|
77
|
-
...Default,
|
|
78
|
-
args: {
|
|
79
|
-
...Default.args,
|
|
80
|
-
hintLabel: 'Please enter your name.',
|
|
81
|
-
},
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export const Loading: Story = {
|
|
85
|
-
...Default,
|
|
86
|
-
args: {
|
|
87
|
-
...Default.args,
|
|
88
|
-
loading: true,
|
|
89
|
-
loadingLabel: 'Loading...',
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export const Floating: Story = {
|
|
94
|
-
...Default,
|
|
95
|
-
args: {
|
|
96
|
-
...Default.args,
|
|
97
|
-
floating: true,
|
|
98
|
-
},
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export const Resizable: Story = {
|
|
102
|
-
...Default,
|
|
103
|
-
args: {
|
|
104
|
-
...Default.args,
|
|
105
|
-
resizable: true,
|
|
106
|
-
},
|
|
107
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { PlayAttributes } from '@/test/types'
|
|
2
|
-
import { expect } from '@/test/expect'
|
|
3
|
-
import { sleep } from '@/test/sleep'
|
|
4
|
-
import { within, userEvent } from '@storybook/testing-library'
|
|
5
|
-
|
|
6
|
-
export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
7
|
-
const element = (await within(canvasElement).findByTestId(
|
|
8
|
-
'element',
|
|
9
|
-
)) as HTMLElement
|
|
10
|
-
const value = (await within(canvasElement).findByTestId(
|
|
11
|
-
'value',
|
|
12
|
-
)) as HTMLElement
|
|
13
|
-
const textarea = element.getElementsByTagName('textarea')[0]
|
|
14
|
-
const hint = element.getElementsByClassName('vv-textarea__hint')[0]
|
|
15
|
-
|
|
16
|
-
// value
|
|
17
|
-
if (!args.invalid && !args.disabled && !args.readonly) {
|
|
18
|
-
const inputValue = 'Lorem ipsum'
|
|
19
|
-
if (inputValue) {
|
|
20
|
-
await expect(textarea).toBeClicked()
|
|
21
|
-
await userEvent.keyboard(inputValue)
|
|
22
|
-
await sleep()
|
|
23
|
-
if (args.maxlength) {
|
|
24
|
-
await expect(value.innerHTML).toEqual(
|
|
25
|
-
inputValue.slice(0, args.maxlength),
|
|
26
|
-
)
|
|
27
|
-
} else {
|
|
28
|
-
await expect(value.innerHTML).toEqual(inputValue)
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// disabled
|
|
34
|
-
if (args.disabled) {
|
|
35
|
-
await expect(element).toHaveClass('vv-textarea--disabled')
|
|
36
|
-
await expect(textarea).toHaveProperty('disabled')
|
|
37
|
-
await expect(textarea).not.toBeClicked()
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// readonly
|
|
41
|
-
if (args.readonly) {
|
|
42
|
-
await expect(element).toHaveClass('vv-textarea--readonly')
|
|
43
|
-
await expect(textarea).toHaveProperty('readOnly')
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// invalid
|
|
47
|
-
if (args.invalid) {
|
|
48
|
-
await expect(element).toHaveClass('vv-textarea--invalid')
|
|
49
|
-
await expect(textarea).toHaveProperty('ariaInvalid')
|
|
50
|
-
if (args.invalidLabel) {
|
|
51
|
-
await expect(hint.innerHTML).toEqual(args.invalidLabel)
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// valid
|
|
56
|
-
if (args.valid) {
|
|
57
|
-
await expect(element).toHaveClass('vv-textarea--valid')
|
|
58
|
-
await expect(textarea).toHaveProperty('ariaInvalid', 'false')
|
|
59
|
-
if (args.validLabel) {
|
|
60
|
-
await expect(hint.innerHTML).toEqual(args.validLabel)
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// minlength / maxlength
|
|
65
|
-
if (args.minlength) {
|
|
66
|
-
await expect(textarea).toHaveProperty('minLength', args.minlength)
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
if (args.maxlength) {
|
|
70
|
-
await expect(textarea).toHaveProperty('maxLength', args.maxlength)
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// floating
|
|
74
|
-
if (args.floating) {
|
|
75
|
-
await expect(element).toHaveClass('vv-textarea--floating')
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// loading
|
|
79
|
-
if (args.loading) {
|
|
80
|
-
await expect(element).toHaveClass('vv-textarea--loading')
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// hint
|
|
84
|
-
if (args.hintLabel) {
|
|
85
|
-
await expect(hint.innerHTML).toEqual(args.hintLabel)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// check accessibility
|
|
89
|
-
await expect(element).toHaveNoViolations()
|
|
90
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTextarea from '@/components/VvTextarea/VvTextarea.vue'
|
|
3
|
-
import { Default } from './Textarea.stories'
|
|
4
|
-
import { defaultArgs, argTypes } from './Textarea.settings'
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof VvTextarea> = {
|
|
7
|
-
title: 'Components/Textarea/Length',
|
|
8
|
-
component: VvTextarea,
|
|
9
|
-
args: defaultArgs,
|
|
10
|
-
argTypes,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default meta
|
|
14
|
-
|
|
15
|
-
type Story = StoryObj<typeof VvTextarea>
|
|
16
|
-
|
|
17
|
-
export const Maxlength: Story = {
|
|
18
|
-
...Default,
|
|
19
|
-
args: {
|
|
20
|
-
...Default.args,
|
|
21
|
-
maxlength: 5,
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const Minlength: Story = {
|
|
26
|
-
...Default,
|
|
27
|
-
args: {
|
|
28
|
-
...Default.args,
|
|
29
|
-
minlength: 5,
|
|
30
|
-
},
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const Count: Story = {
|
|
34
|
-
...Default,
|
|
35
|
-
args: {
|
|
36
|
-
...Default.args,
|
|
37
|
-
count: true,
|
|
38
|
-
minlength: 100,
|
|
39
|
-
},
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export const Limit: Story = {
|
|
43
|
-
...Default,
|
|
44
|
-
args: {
|
|
45
|
-
...Default.args,
|
|
46
|
-
count: 'limit',
|
|
47
|
-
maxlength: 100,
|
|
48
|
-
},
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const Countdown: Story = {
|
|
52
|
-
...Default,
|
|
53
|
-
args: {
|
|
54
|
-
...Default.args,
|
|
55
|
-
count: 'countdown',
|
|
56
|
-
maxlength: 100,
|
|
57
|
-
},
|
|
58
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTextarea from '@/components/VvTextarea/VvTextarea.vue'
|
|
3
|
-
import { Default } from './Textarea.stories'
|
|
4
|
-
import { defaultArgs, argTypes } from './Textarea.settings'
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof VvTextarea> = {
|
|
7
|
-
title: 'Components/Textarea/Slots',
|
|
8
|
-
component: VvTextarea,
|
|
9
|
-
args: defaultArgs,
|
|
10
|
-
argTypes,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default meta
|
|
14
|
-
|
|
15
|
-
type Story = StoryObj<typeof VvTextarea>
|
|
16
|
-
|
|
17
|
-
export const Before: Story = {
|
|
18
|
-
...Default,
|
|
19
|
-
args: {
|
|
20
|
-
...Default.args,
|
|
21
|
-
before: '<div class="vv-badge vv-badge--sm uppercase">Before</div>',
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const After: Story = {
|
|
26
|
-
...Default,
|
|
27
|
-
args: {
|
|
28
|
-
...Default.args,
|
|
29
|
-
after: '<div class="vv-badge vv-badge--sm uppercase">After</div>',
|
|
30
|
-
},
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const Hint: Story = {
|
|
34
|
-
...Default,
|
|
35
|
-
args: {
|
|
36
|
-
...Default.args,
|
|
37
|
-
hint: 'Hint <em class="italic">slot!</em>',
|
|
38
|
-
},
|
|
39
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTextarea from '@/components/VvTextarea/VvTextarea.vue'
|
|
3
|
-
import { Default } from './Textarea.stories'
|
|
4
|
-
import { defaultArgs, argTypes } from './Textarea.settings'
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof VvTextarea> = {
|
|
7
|
-
title: 'Components/Textarea/Icon',
|
|
8
|
-
component: VvTextarea,
|
|
9
|
-
args: defaultArgs,
|
|
10
|
-
argTypes,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default meta
|
|
14
|
-
|
|
15
|
-
type Story = StoryObj<typeof VvTextarea>
|
|
16
|
-
|
|
17
|
-
export const DefaultIconPosition: Story = {
|
|
18
|
-
...Default,
|
|
19
|
-
args: {
|
|
20
|
-
...Default.args,
|
|
21
|
-
icon: 'heart',
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const After: Story = {
|
|
26
|
-
...Default,
|
|
27
|
-
args: {
|
|
28
|
-
...Default.args,
|
|
29
|
-
icon: 'heart',
|
|
30
|
-
iconPosition: 'after',
|
|
31
|
-
},
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export const Src: Story = {
|
|
35
|
-
...Default,
|
|
36
|
-
args: {
|
|
37
|
-
...Default.args,
|
|
38
|
-
icon: {
|
|
39
|
-
name: 'engineering',
|
|
40
|
-
src: 'https://raw.githubusercontent.com/google/material-design-icons/master/src/social/engineering/materialicons/24px.svg',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { VvTooltipProps } from '@/components/VvTooltip'
|
|
2
|
-
import { DefaultSlotArgTypes, ModifiersArgTypes } from '@/stories/argTypes'
|
|
3
|
-
import type { ArgTypes } from '@storybook/types'
|
|
4
|
-
|
|
5
|
-
export const defaultArgs = {
|
|
6
|
-
...propsToObject(VvTooltipProps),
|
|
7
|
-
value: "I'm a tooltip",
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const argTypes: ArgTypes = {
|
|
11
|
-
...ModifiersArgTypes,
|
|
12
|
-
...DefaultSlotArgTypes,
|
|
13
|
-
position: {
|
|
14
|
-
type: 'string',
|
|
15
|
-
control: {
|
|
16
|
-
type: 'select',
|
|
17
|
-
},
|
|
18
|
-
table: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
defaultValue: { summary: 'bottom' },
|
|
21
|
-
},
|
|
22
|
-
description: 'Indicates where to place the tooltip',
|
|
23
|
-
options: [undefined, 'left', 'right', 'bottom', 'top'],
|
|
24
|
-
},
|
|
25
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTooltip from '@/components/VvTooltip/VvTooltip.vue'
|
|
3
|
-
import VvButton from '@/components/VvButton/VvButton.vue'
|
|
4
|
-
import { defaultArgs, argTypes } from './Tooltip.settings'
|
|
5
|
-
import { defaultTest } from './Tooltip.test'
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof VvTooltip> = {
|
|
8
|
-
title: 'Components/Tooltip',
|
|
9
|
-
component: VvTooltip,
|
|
10
|
-
args: defaultArgs,
|
|
11
|
-
argTypes,
|
|
12
|
-
tags: ['autodocs'],
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default meta
|
|
16
|
-
|
|
17
|
-
type Story = StoryObj<typeof VvTooltip>
|
|
18
|
-
|
|
19
|
-
export const Default: Story = {
|
|
20
|
-
args: {
|
|
21
|
-
...defaultArgs,
|
|
22
|
-
},
|
|
23
|
-
render: (args) => ({
|
|
24
|
-
components: { VvButton, VvTooltip },
|
|
25
|
-
setup() {
|
|
26
|
-
return { args }
|
|
27
|
-
},
|
|
28
|
-
template: /* html */ `
|
|
29
|
-
<div class="w-full h-150">
|
|
30
|
-
<vv-button class="absolute left-1/2 top-1/2 -translate-1/2" data-testId="parent">
|
|
31
|
-
Hover me
|
|
32
|
-
<vv-tooltip v-bind="args">
|
|
33
|
-
<template #default v-if="args.default"><div v-html="args.default"></div></template>
|
|
34
|
-
</vv-tooltip>
|
|
35
|
-
</vv-button>
|
|
36
|
-
</div>
|
|
37
|
-
`,
|
|
38
|
-
}),
|
|
39
|
-
play: defaultTest,
|
|
40
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { PlayAttributes } from '@/test/types'
|
|
2
|
-
import { expect } from '@/test/expect'
|
|
3
|
-
import { sleep } from '@/test/sleep'
|
|
4
|
-
import { within } from '@storybook/testing-library'
|
|
5
|
-
|
|
6
|
-
export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
7
|
-
const parentElement = (await within(canvasElement).findByTestId(
|
|
8
|
-
'parent',
|
|
9
|
-
)) as HTMLElement
|
|
10
|
-
const element = parentElement.firstElementChild as HTMLSpanElement
|
|
11
|
-
|
|
12
|
-
if (args.default) {
|
|
13
|
-
// slot default
|
|
14
|
-
await expect(element.innerText).toEqual(args.default)
|
|
15
|
-
} else if (args.value) {
|
|
16
|
-
// value
|
|
17
|
-
await expect(element.innerText).toEqual(args.value)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// check if tooltip is visible after focus
|
|
21
|
-
await parentElement.focus({
|
|
22
|
-
preventScroll: true,
|
|
23
|
-
})
|
|
24
|
-
await sleep(1200)
|
|
25
|
-
await expect(window.getComputedStyle(element)).toHaveProperty(
|
|
26
|
-
'opacity',
|
|
27
|
-
'1',
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
// check accessibility
|
|
31
|
-
await expect(element).toHaveNoViolations()
|
|
32
|
-
|
|
33
|
-
// check if tooltip is not visible after blur
|
|
34
|
-
await parentElement.blur()
|
|
35
|
-
await sleep(1200)
|
|
36
|
-
await expect(window.getComputedStyle(element)).toHaveProperty(
|
|
37
|
-
'opacity',
|
|
38
|
-
'0',
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
// position right
|
|
42
|
-
if (args.position === 'right') {
|
|
43
|
-
await expect(element).toHaveClass('vv-tooltip--right')
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// position left
|
|
47
|
-
if (args.position === 'left') {
|
|
48
|
-
await expect(element).toHaveClass('vv-tooltip--left')
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// position top
|
|
52
|
-
if (args.position === 'top') {
|
|
53
|
-
await expect(element).toHaveClass('vv-tooltip--top')
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// position bottom
|
|
57
|
-
if (args.position === 'bottom') {
|
|
58
|
-
await expect(element).toHaveClass('vv-tooltip--bottom')
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3'
|
|
2
|
-
import VvTooltip from '@/components/VvTooltip/VvTooltip.vue'
|
|
3
|
-
import VvButton from '@/components/VvButton/VvButton.vue'
|
|
4
|
-
import { defaultArgs, argTypes } from './Tooltip.settings'
|
|
5
|
-
import { defaultTest } from './Tooltip.test'
|
|
6
|
-
|
|
7
|
-
const meta: Meta<typeof VvTooltip> = {
|
|
8
|
-
title: 'Directives/Tooltip',
|
|
9
|
-
component: VvTooltip,
|
|
10
|
-
args: defaultArgs,
|
|
11
|
-
argTypes,
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default meta
|
|
15
|
-
|
|
16
|
-
type Story = StoryObj<typeof VvTooltip>
|
|
17
|
-
|
|
18
|
-
export const DefaultDirective: Story = {
|
|
19
|
-
args: {
|
|
20
|
-
...defaultArgs,
|
|
21
|
-
},
|
|
22
|
-
render: (args) => ({
|
|
23
|
-
components: { VvButton, VvTooltip },
|
|
24
|
-
setup() {
|
|
25
|
-
return { args }
|
|
26
|
-
},
|
|
27
|
-
template: /* html */ `
|
|
28
|
-
<div class="w-full h-150">
|
|
29
|
-
<vv-button v-tooltip:[args.position]="args.value" class="absolute left-1/2 top-1/2 -translate-1/2" data-testId="parent">
|
|
30
|
-
HOVER Me
|
|
31
|
-
</vv-button>
|
|
32
|
-
</div>
|
|
33
|
-
`,
|
|
34
|
-
}),
|
|
35
|
-
play: defaultTest,
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export const Top: Story = {
|
|
39
|
-
...DefaultDirective,
|
|
40
|
-
args: {
|
|
41
|
-
...DefaultDirective.args,
|
|
42
|
-
position: 'top',
|
|
43
|
-
},
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export const Bottom: Story = {
|
|
47
|
-
...DefaultDirective,
|
|
48
|
-
args: {
|
|
49
|
-
...DefaultDirective.args,
|
|
50
|
-
position: 'bottom',
|
|
51
|
-
},
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export const Right: Story = {
|
|
55
|
-
...DefaultDirective,
|
|
56
|
-
args: {
|
|
57
|
-
...DefaultDirective.args,
|
|
58
|
-
position: 'right',
|
|
59
|
-
},
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export const Left: Story = {
|
|
63
|
-
...DefaultDirective,
|
|
64
|
-
args: {
|
|
65
|
-
...DefaultDirective.args,
|
|
66
|
-
position: 'left',
|
|
67
|
-
},
|
|
68
|
-
}
|