wabtec-internal-volt-basic-components 1.2.0 → 1.4.0
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/dist/assets/scripts/figma-props-vds.json +191 -0
- package/dist/assets/scripts/figma-tokens-to-css.js +278 -0
- package/dist/cjs/attribute-sync-BjXJ3Bpx.js +118 -0
- package/dist/cjs/{base-group-header-BBa6o7j-.js → base-group-header-T64Yqp-w.js} +2 -5
- package/dist/cjs/{base-item-z-efWd2M.js → base-item-DbRYZi9C.js} +34 -7
- package/dist/cjs/clone-attributes-DOqpVwDK.js +21 -0
- package/dist/cjs/{combine-classes-Cs05zl1M.js → combine-classes-BWEYe4UE.js} +6 -3
- package/dist/{esm/floating-engine-utils-ClEAm9Wn.js → cjs/floating-engine-utils-BYIoxOr2.js} +344 -300
- package/dist/cjs/form-Yf-Cfxkl.js +59 -0
- package/dist/cjs/icon-attr.utils-B0fSRoC6.js +0 -3
- package/dist/cjs/icon-utils-3UYxf58h.js +163 -0
- package/dist/cjs/{index-CwXszEUj.js → index-BVTk936l.js} +289 -232
- package/dist/cjs/index.cjs.js +142 -5
- package/dist/cjs/{vds-basic-dropdown.utils-B8SPgJv4.js → keyboard-navigation-DffeaRPP.js} +187 -19
- package/dist/cjs/loader.cjs.js +2 -5
- package/dist/cjs/{node-utils-BZh70EVv.js → node-utils-C8-XBEJe.js} +12 -4
- package/dist/cjs/number-utils-CR47_3vx.js +12 -0
- package/dist/cjs/slider.utils-FbBdFloW.js +218 -0
- package/dist/cjs/utils-DhCTTpab.js +92 -0
- package/dist/cjs/vds-autocomplete-item.cjs.entry.js +98 -17
- package/dist/cjs/vds-avatar_2.cjs.entry.js +113 -14
- package/dist/cjs/vds-badge-pill.cjs.entry.js +52 -18
- package/dist/cjs/vds-badge-pill.utils-DDjHf_ZH.js +0 -3
- package/dist/cjs/vds-basic-accordion.cjs.entry.js +71 -33
- package/dist/cjs/vds-basic-autocomplete.cjs.entry.js +560 -87
- package/dist/cjs/vds-basic-combo-box.cjs.entry.js +90 -36
- package/dist/cjs/{vds-basic-dropdown_23.cjs.entry.js → vds-basic-dropdown_24.cjs.entry.js} +2399 -597
- package/dist/cjs/vds-basic-input.utils-Ui8YYkvJ.js +140 -0
- package/dist/cjs/vds-basic-slider-range-continuous.cjs.entry.js +193 -137
- package/dist/cjs/vds-breadcrumbs-item.cjs.entry.js +18 -7
- package/dist/cjs/vds-chip.cjs.entry.js +71 -47
- package/dist/cjs/vds-dialog-action-footer.cjs.entry.js +16 -10
- package/dist/cjs/vds-dialog-body.cjs.entry.js +7 -4
- package/dist/cjs/vds-dialog-header.cjs.entry.js +12 -5
- package/dist/cjs/vds-dialog-modal.cjs.entry.js +7 -4
- package/dist/cjs/vds-dialog.cjs.entry.js +73 -32
- package/dist/cjs/vds-display.cjs.entry.js +208 -0
- package/dist/cjs/vds-footer.cjs.entry.js +85 -11
- package/dist/cjs/vds-header.cjs.entry.js +79 -24
- package/dist/cjs/vds-icon-button.utils-BhiIMLsS.js +0 -3
- package/dist/cjs/vds-key-value-pair.cjs.entry.js +22 -7
- package/dist/cjs/vds-notification.cjs.entry.js +69 -10
- package/dist/cjs/vds-popover.cjs.entry.js +92 -20
- package/dist/cjs/vds-progress-linear.cjs.entry.js +44 -27
- package/dist/cjs/vds-radio-button.cjs.entry.js +71 -36
- package/dist/cjs/vds-segmented-button.cjs.entry.js +53 -11
- package/dist/cjs/vds-sheet.cjs.entry.js +89 -14
- package/dist/cjs/vds-sidenav-item-app.cjs.entry.js +18 -6
- package/dist/cjs/vds-sidenav-item-button.cjs.entry.js +42 -8
- package/dist/cjs/vds-sidenav-item-category.cjs.entry.js +53 -9
- package/dist/cjs/vds-sidenav-item-input.cjs.entry.js +85 -40
- package/dist/cjs/vds-skeleton-loading.cjs.entry.js +28 -8
- package/dist/cjs/vds-stepper-item-header.cjs.entry.js +16 -5
- package/dist/cjs/vds-stepper-item.cjs.entry.js +81 -20
- package/dist/cjs/vds-switch.cjs.entry.js +60 -25
- package/dist/cjs/vds-tab.cjs.entry.js +99 -18
- package/dist/cjs/vds-tabs-group.cjs.entry.js +133 -24
- package/dist/cjs/vds-tooltip.cjs.entry.js +186 -23
- package/dist/cjs/vds-topbar.cjs.entry.js +27 -0
- package/dist/cjs/vds-upload-drag.cjs.entry.js +56 -7
- package/dist/cjs/volt-basic-components.cjs.js +3 -6
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/accordion/vds-basic-accordion.css +20 -18
- package/dist/collection/components/accordion/vds-basic-accordion.js +170 -51
- package/dist/collection/components/accordion/vds-basic-accordion.stories.js +0 -1
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.css +39 -16
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.js +1138 -151
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.stories.js +71 -5
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.utils.js +0 -1
- package/dist/collection/components/autocomplete-item/vds-autocomplete-item.css +25 -15
- package/dist/collection/components/autocomplete-item/vds-autocomplete-item.js +393 -43
- package/dist/collection/components/autocomplete-item/vds-autocomplete-item.stories.js +2 -1
- package/dist/collection/components/avatar/vds-avatar.css +16 -15
- package/dist/collection/components/avatar/vds-avatar.js +118 -10
- package/dist/collection/components/avatar/vds-avatar.stories.js +0 -1
- package/dist/collection/components/badge-dot/vds-badge-dot.css +16 -11
- package/dist/collection/components/badge-dot/vds-badge-dot.js +91 -19
- package/dist/collection/components/badge-dot/vds-badge-dot.stories.js +0 -1
- package/dist/collection/components/badge-pill/vds-badge-pill.css +31 -18
- package/dist/collection/components/badge-pill/vds-badge-pill.js +140 -36
- package/dist/collection/components/badge-pill/vds-badge-pill.stories.js +39 -15
- package/dist/collection/components/badge-pill/vds-badge-pill.utils.js +0 -1
- package/dist/collection/components/base-group-header/base-group-header.js +0 -1
- package/dist/collection/components/base-item/base-item.js +66 -3
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.css +23 -19
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.js +661 -124
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.stories.js +261 -6
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.utils.js +32 -17
- package/dist/collection/components/breadcrumb-item/vds-breadcrumbs-item.css +16 -11
- package/dist/collection/components/breadcrumb-item/vds-breadcrumbs-item.js +36 -8
- package/dist/collection/components/breadcrumb-item/vds-breadcrumbs-item.stories.js +0 -1
- package/dist/collection/components/button/vds-button.css +167 -87
- package/dist/collection/components/button/vds-button.js +260 -16
- package/dist/collection/components/button/vds-button.stories.js +338 -60
- package/dist/collection/components/card/vds-card.css +19 -11
- package/dist/collection/components/card/vds-card.js +418 -45
- package/dist/collection/components/card/vds-card.stories.js +0 -1
- package/dist/collection/components/checkbox/vds-checkbox.css +16 -11
- package/dist/collection/components/checkbox/vds-checkbox.js +158 -53
- package/dist/collection/components/checkbox/vds-checkbox.stories.js +0 -1
- package/dist/collection/components/checkbox/vds-checkbox.utils.js +0 -1
- package/dist/collection/components/chip/vds-chip.css +52 -25
- package/dist/collection/components/chip/vds-chip.js +403 -69
- package/dist/collection/components/chip/vds-chip.stories.js +62 -1
- package/dist/collection/components/dialog/vds-dialog.css +24 -14
- package/dist/collection/components/dialog/vds-dialog.js +159 -45
- package/dist/collection/components/dialog/vds-dialog.stories.js +4 -3
- package/dist/collection/components/dialog-action-footer/vds-dialog-action-footer.css +16 -11
- package/dist/collection/components/dialog-action-footer/vds-dialog-action-footer.js +27 -10
- package/dist/collection/components/dialog-action-footer/vds-dialog-action-footer.stories.js +0 -1
- package/dist/collection/components/dialog-body/vds-dialog-body.css +16 -12
- package/dist/collection/components/dialog-body/vds-dialog-body.js +10 -2
- package/dist/collection/components/dialog-body/vds-dialog-body.stories.js +0 -1
- package/dist/collection/components/dialog-header/vds-dialog-header.css +16 -11
- package/dist/collection/components/dialog-header/vds-dialog-header.js +30 -6
- package/dist/collection/components/dialog-header/vds-dialog-header.stories.js +0 -1
- package/dist/collection/components/dialog-modal/vds-dialog-modal.css +16 -11
- package/dist/collection/components/dialog-modal/vds-dialog-modal.js +13 -2
- package/dist/collection/components/dialog-modal/vds-dialog-modal.stories.js +0 -1
- package/dist/collection/components/display/vds-display.css +1027 -0
- package/dist/collection/components/display/vds-display.js +304 -0
- package/dist/collection/components/display/vds-display.stories.js +192 -0
- package/dist/collection/components/divider/vds-divider.css +16 -11
- package/dist/collection/components/divider/vds-divider.js +75 -17
- package/dist/collection/components/divider/vds-divider.stories.js +0 -1
- package/dist/collection/components/drawer/vds-drawer.css +24 -18
- package/dist/collection/components/drawer/vds-drawer.js +627 -37
- package/dist/collection/components/drawer/vds-drawer.stories.js +0 -1
- package/dist/collection/components/dropdown-group-header/vds-dropdown-group-header.css +16 -15
- package/dist/collection/components/dropdown-group-header/vds-dropdown-group-header.js +24 -5
- package/dist/collection/components/dropdown-group-header/vds-dropdown-group-header.stories.js +0 -1
- package/dist/collection/components/dropdown-item/vds-basic-dropdown-item.stories.js +40 -1
- package/dist/collection/components/dropdown-item/vds-dropdown-item-clicked-event.js +0 -1
- package/dist/collection/components/dropdown-item/vds-dropdown-item.css +25 -15
- package/dist/collection/components/dropdown-item/vds-dropdown-item.js +280 -42
- package/dist/collection/components/dropdown-multiselect/vds-basic-dropdown-multiselect.css +23 -15
- package/dist/collection/components/dropdown-multiselect/vds-basic-dropdown-multiselect.js +532 -110
- package/dist/collection/components/dropdown-multiselect/vds-basic-dropdown-multiselect.stories.js +16 -5
- package/dist/collection/components/field/vds-field.css +18 -15
- package/dist/collection/components/field/vds-field.js +177 -19
- package/dist/collection/components/field/vds-field.stories.js +68 -1
- package/dist/collection/components/footer/vds-footer.css +16 -15
- package/dist/collection/components/footer/vds-footer.js +174 -17
- package/dist/collection/components/footer/vds-footer.stories.js +0 -1
- package/dist/collection/components/header/utils/utils.js +0 -1
- package/dist/collection/components/header/vds-header.css +42 -29
- package/dist/collection/components/header/vds-header.js +169 -41
- package/dist/collection/components/header/vds-header.stories.js +71 -4
- package/dist/collection/components/icon/utils/icons-list.js +1 -2
- package/dist/collection/components/icon/vds-icon.css +16 -15
- package/dist/collection/components/icon/vds-icon.js +246 -16
- package/dist/collection/components/icon/vds-icon.stories.js +0 -1
- package/dist/collection/components/icon-button/vds-icon-button.css +19 -14
- package/dist/collection/components/icon-button/vds-icon-button.js +93 -15
- package/dist/collection/components/icon-button/vds-icon-button.stories.js +0 -1
- package/dist/collection/components/icon-button/vds-icon-button.utils.js +0 -1
- package/dist/collection/components/input/vds-basic-input.css +27 -18
- package/dist/collection/components/input/vds-basic-input.js +309 -80
- package/dist/collection/components/input/vds-basic-input.stories.js +0 -1
- package/dist/collection/components/input/vds-basic-input.utils.js +15 -5
- package/dist/collection/components/key-value-pair/vds-key-value-pair.css +16 -11
- package/dist/collection/components/key-value-pair/vds-key-value-pair.js +113 -17
- package/dist/collection/components/key-value-pair/vds-key-value-pair.stories.js +0 -1
- package/dist/collection/components/label/vds-label.css +22 -16
- package/dist/collection/components/label/vds-label.js +108 -15
- package/dist/collection/components/label/vds-label.stories.js +0 -1
- package/dist/collection/components/link/vds-link.css +16 -15
- package/dist/collection/components/link/vds-link.js +188 -32
- package/dist/collection/components/link/vds-link.stories.js +0 -1
- package/dist/collection/components/menu/vds-menu.css +30 -12
- package/dist/collection/components/menu/vds-menu.js +374 -52
- package/dist/collection/components/menu/vds-menu.stories.js +1 -2
- package/dist/collection/components/menu-group-header/vds-menu-group-header.css +16 -15
- package/dist/collection/components/menu-group-header/vds-menu-group-header.js +54 -6
- package/dist/collection/components/menu-group-header/vds-menu-group-header.stories.js +0 -1
- package/dist/collection/components/menu-item/vds-menu-item.css +25 -15
- package/dist/collection/components/menu-item/vds-menu-item.js +307 -33
- package/dist/collection/components/menu-item/vds-menu-item.stories.js +0 -1
- package/dist/collection/components/menu-list/vds-menu-list.css +16 -11
- package/dist/collection/components/menu-list/vds-menu-list.js +61 -2
- package/dist/collection/components/notification/vds-notification-utils.js +0 -1
- package/dist/collection/components/notification/vds-notification.css +16 -11
- package/dist/collection/components/notification/vds-notification.js +213 -20
- package/dist/collection/components/notification/vds-notification.stories.js +0 -1
- package/dist/collection/components/popover/utils/utils.js +0 -1
- package/dist/collection/components/popover/vds-popover.css +16 -12
- package/dist/collection/components/popover/vds-popover.js +269 -36
- package/dist/collection/components/popover/vds-popover.stories.js +1 -2
- package/dist/collection/components/progress-circular/vds-progress-circular.css +16 -11
- package/dist/collection/components/progress-circular/vds-progress-circular.js +299 -35
- package/dist/collection/components/progress-circular/vds-progress-circular.stories.js +0 -1
- package/dist/collection/components/progress-linear/vds-progress-linear.css +16 -11
- package/dist/collection/components/progress-linear/vds-progress-linear.js +126 -32
- package/dist/collection/components/progress-linear/vds-progress-linear.stories.js +0 -1
- package/dist/collection/components/radio-button/vds-radio-button.css +16 -11
- package/dist/collection/components/radio-button/vds-radio-button.js +210 -47
- package/dist/collection/components/radio-button/vds-radio-button.stories.js +0 -1
- package/dist/collection/components/radio-button/vds-radio-button.utils.js +0 -1
- package/dist/collection/components/segmented-button/vds-segmented-button.css +39 -17
- package/dist/collection/components/segmented-button/vds-segmented-button.js +214 -16
- package/dist/collection/components/segmented-button/vds-segmented-button.stories.js +18 -9
- package/dist/collection/components/sheet/vds-sheet.css +24 -16
- package/dist/collection/components/sheet/vds-sheet.js +229 -17
- package/dist/collection/components/sheet/vds-sheet.stories.js +0 -1
- package/dist/collection/components/sidenav-item/vds-sidenav-item.css +78 -25
- package/dist/collection/components/sidenav-item/vds-sidenav-item.js +290 -32
- package/dist/collection/components/sidenav-item/vds-sidenav-item.stories.js +25 -3
- package/dist/collection/components/sidenav-item-app/vds-sidenav-item-app.css +16 -15
- package/dist/collection/components/sidenav-item-app/vds-sidenav-item-app.js +146 -11
- package/dist/collection/components/sidenav-item-app/vds-sidenav-item-app.stories.js +0 -1
- package/dist/collection/components/sidenav-item-button/vds-sidenav-item-button.css +16 -15
- package/dist/collection/components/sidenav-item-button/vds-sidenav-item-button.js +168 -14
- package/dist/collection/components/sidenav-item-button/vds-sidenav-item-button.stories.js +0 -1
- package/dist/collection/components/sidenav-item-category/vds-sidenav-item-category.css +16 -15
- package/dist/collection/components/sidenav-item-category/vds-sidenav-item-category.js +174 -10
- package/dist/collection/components/sidenav-item-category/vds-sidenav-item-category.stories.js +0 -1
- package/dist/collection/components/sidenav-item-input/vds-sidenav-item-input.css +16 -11
- package/dist/collection/components/sidenav-item-input/vds-sidenav-item-input.js +263 -55
- package/dist/collection/components/sidenav-item-input/vds-sidenav-item-input.stories.js +0 -1
- package/dist/collection/components/skeleton-loading/vds-skeleton-loading.css +16 -11
- package/dist/collection/components/skeleton-loading/vds-skeleton-loading.js +140 -8
- package/dist/collection/components/skeleton-loading/vds-skeleton-loading.stories.js +0 -1
- package/dist/collection/components/slider-continuous/vds-basic-slider-continuous.css +95 -24
- package/dist/collection/components/slider-continuous/vds-basic-slider-continuous.js +449 -112
- package/dist/collection/components/slider-continuous/vds-basic-slider-continuous.stories.js +47 -1
- package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.css +138 -66
- package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.js +498 -161
- package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.stories.js +49 -1
- package/dist/collection/components/stepper-item/vds-stepper-item.css +16 -11
- package/dist/collection/components/stepper-item/vds-stepper-item.js +276 -28
- package/dist/collection/components/stepper-item/vds-stepper-item.stories.js +0 -1
- package/dist/collection/components/stepper-item-header/vds-stepper-item-header.css +16 -11
- package/dist/collection/components/stepper-item-header/vds-stepper-item-header.js +167 -7
- package/dist/collection/components/stepper-item-header/vds-stepper-item-header.stories.js +0 -1
- package/dist/collection/components/switch/vds-switch.css +16 -11
- package/dist/collection/components/switch/vds-switch.js +218 -31
- package/dist/collection/components/switch/vds-switch.stories.js +0 -1
- package/dist/collection/components/tab/vds-tab.css +22 -16
- package/dist/collection/components/tab/vds-tab.js +294 -30
- package/dist/collection/components/tab/vds-tab.stories.js +0 -1
- package/dist/collection/components/tabs-group/vds-tabs-group.css +19 -11
- package/dist/collection/components/tabs-group/vds-tabs-group.js +366 -37
- package/dist/collection/components/tabs-group/vds-tabs-group.stories.js +79 -13
- package/dist/collection/components/textarea/vds-basic-textarea.css +16 -15
- package/dist/collection/components/textarea/vds-basic-textarea.js +409 -94
- package/dist/collection/components/textarea/vds-basic-textarea.stories.js +0 -1
- package/dist/collection/components/tooltip/vds-tooltip.css +16 -16
- package/dist/collection/components/tooltip/vds-tooltip.js +602 -42
- package/dist/collection/components/tooltip/vds-tooltip.stories.js +1 -2
- package/dist/collection/components/topbar/vds-topbar.css +961 -0
- package/dist/collection/components/topbar/vds-topbar.js +251 -0
- package/dist/collection/components/topbar/vds-topbar.stories.js +375 -0
- package/dist/collection/components/upload-drag/vds-upload-drag.css +16 -11
- package/dist/collection/components/upload-drag/vds-upload-drag.js +330 -17
- package/dist/collection/components/upload-drag/vds-upload-drag.stories.js +0 -1
- package/dist/collection/components/upload-item/vds-upload-item.css +25 -15
- package/dist/collection/components/upload-item/vds-upload-item.js +366 -23
- package/dist/collection/components/vds-basic-combo-box/vds-basic-combo-box.css +16 -15
- package/dist/collection/components/vds-basic-combo-box/vds-basic-combo-box.js +425 -63
- package/dist/collection/components/vds-basic-combo-box/vds-basic-combo-box.stories.js +0 -1
- package/dist/collection/components.js +1 -0
- package/dist/collection/constants/color-vars.js +1 -2
- package/dist/collection/constants/icon-sprite.js +1 -2
- package/dist/collection/constants/shadow-vars.js +0 -1
- package/dist/collection/constants/spacing-vars.js +1 -1
- package/dist/collection/constants/thickness-vars.js +0 -1
- package/dist/collection/constants/typography-vars.js +0 -1
- package/dist/collection/definitions/colors.js +0 -1
- package/dist/collection/definitions/shadows.js +0 -1
- package/dist/collection/definitions/spacing.js +0 -1
- package/dist/collection/definitions/thickness.js +0 -1
- package/dist/collection/definitions/typography.js +0 -1
- package/dist/collection/index.js +24 -2
- package/dist/collection/scripts/sass-export.js +469 -0
- package/dist/collection/scripts/sass-to-json-script.js +2 -2
- package/dist/collection/scripts/svg-adaptation.js +40 -13
- package/dist/collection/utils/array-utils.js +0 -1
- package/dist/collection/utils/attribute-sync.js +114 -0
- package/dist/collection/utils/clone-attributes.js +8 -1
- package/dist/collection/utils/combine-classes.js +6 -1
- package/dist/collection/utils/device-detection.js +36 -0
- package/dist/collection/utils/floating-engine-utils.js +89 -92
- package/dist/collection/utils/floating-engine.js +2 -3
- package/dist/collection/utils/form.js +27 -6
- package/dist/collection/utils/get-deep-active-element.js +7 -0
- package/dist/collection/utils/get-random-id.js +3 -0
- package/dist/collection/utils/icon-attr.utils.js +0 -1
- package/dist/collection/utils/icon-generation.utils.js +0 -1
- package/dist/collection/utils/icon-utils.js +0 -1
- package/dist/collection/utils/is-key-event.js +3 -0
- package/dist/collection/utils/is-of-type.js +1 -0
- package/dist/collection/utils/keyboard-navigation.js +143 -0
- package/dist/collection/utils/node-utils.js +10 -1
- package/dist/collection/utils/number-utils.js +0 -1
- package/dist/collection/utils/parentHasClass.js +6 -0
- package/dist/collection/utils/rems-to-px.js +4 -0
- package/dist/collection/utils/slider.utils.js +172 -27
- package/dist/collection/utils/spacing-utils.js +0 -1
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/array-utils.js +1 -0
- package/dist/components/attribute-sync.js +1 -0
- package/dist/components/base-group-header.js +1 -19
- package/dist/components/base-item.js +1 -111
- package/dist/components/clone-attributes.js +1 -13
- package/dist/components/combine-classes.js +1 -6
- package/dist/components/floating-engine-utils.js +1 -1828
- package/dist/components/form.js +1 -35
- package/dist/components/icon-attr.utils.js +1 -87
- package/dist/components/icon-generation.utils.js +1 -0
- package/dist/components/icon-sprite.js +1 -6
- package/dist/components/icon-utils.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -9
- package/dist/components/keyboard-navigation.js +1 -0
- package/dist/components/node-utils.js +1 -22
- package/dist/components/number-utils.js +1 -0
- package/dist/components/slider.utils.js +1 -64
- package/dist/components/utils.js +1 -25
- package/dist/components/vds-autocomplete-item.js +1 -9
- package/dist/components/vds-autocomplete-item2.js +1 -126
- package/dist/components/vds-avatar.js +1 -9
- package/dist/components/vds-avatar2.js +1 -138
- package/dist/components/vds-badge-dot.js +1 -9
- package/dist/components/vds-badge-dot2.js +1 -64
- package/dist/components/vds-badge-pill.js +1 -88
- package/dist/components/vds-badge-pill.utils.js +1 -8
- package/dist/components/vds-basic-accordion.js +1 -157
- package/dist/components/vds-basic-autocomplete.js +1 -601
- package/dist/components/vds-basic-combo-box.js +1 -207
- package/dist/components/vds-basic-dropdown-multiselect.js +1 -330
- package/dist/components/vds-basic-dropdown.js +1 -375
- package/dist/components/vds-basic-dropdown.utils.js +1 -239
- package/dist/components/vds-basic-input.js +1 -9
- package/dist/components/vds-basic-input.utils.js +1 -137
- package/dist/components/vds-basic-input2.js +1 -201
- package/dist/components/vds-basic-slider-continuous.js +1 -295
- package/dist/components/vds-basic-slider-range-continuous.js +1 -423
- package/dist/components/vds-basic-textarea.js +1 -231
- package/dist/components/vds-breadcrumbs-item.js +1 -46
- package/dist/components/vds-button.js +1 -76
- package/dist/components/vds-card.js +1 -9
- package/dist/components/vds-card2.js +1 -128
- package/dist/components/vds-checkbox.js +1 -205
- package/dist/components/vds-chip.js +1 -9
- package/dist/components/vds-chip2.js +1 -186
- package/dist/components/vds-dialog-action-footer.js +1 -57
- package/dist/components/vds-dialog-body.js +1 -38
- package/dist/components/vds-dialog-header.js +1 -55
- package/dist/components/vds-dialog-modal.js +1 -38
- package/dist/components/vds-dialog.js +1 -174
- package/dist/components/vds-display.d.ts +11 -0
- package/dist/components/vds-display.js +1 -0
- package/dist/components/vds-divider.js +1 -9
- package/dist/components/vds-divider2.js +1 -56
- package/dist/components/vds-drawer.js +1 -122
- package/dist/components/vds-dropdown-group-header.js +1 -43
- package/dist/components/vds-dropdown-item.js +1 -141
- package/dist/components/vds-field.js +1 -75
- package/dist/components/vds-footer.js +1 -126
- package/dist/components/vds-header.js +1 -116
- package/dist/components/vds-icon-button.js +1 -9
- package/dist/components/vds-icon-button.utils.js +1 -11
- package/dist/components/vds-icon-button2.js +1 -66
- package/dist/components/vds-icon.js +1 -9
- package/dist/components/vds-icon2.js +1 -133
- package/dist/components/vds-key-value-pair.js +1 -50
- package/dist/components/vds-label.js +1 -9
- package/dist/components/vds-label2.js +1 -61
- package/dist/components/vds-link.js +1 -96
- package/dist/components/vds-menu-group-header.js +1 -43
- package/dist/components/vds-menu-item.js +1 -147
- package/dist/components/vds-menu-list.js +1 -38
- package/dist/components/vds-menu.js +1 -194
- package/dist/components/vds-notification.js +1 -138
- package/dist/components/vds-popover.js +1 -170
- package/dist/components/vds-progress-circular.js +1 -9
- package/dist/components/vds-progress-circular2.js +1 -137
- package/dist/components/vds-progress-linear.js +1 -116
- package/dist/components/vds-radio-button.js +1 -179
- package/dist/components/vds-segmented-button.js +1 -87
- package/dist/components/vds-sheet.js +1 -179
- package/dist/components/vds-sidenav-item-app.js +1 -58
- package/dist/components/vds-sidenav-item-button.js +1 -89
- package/dist/components/vds-sidenav-item-category.js +1 -85
- package/dist/components/vds-sidenav-item-input.js +1 -194
- package/dist/components/vds-sidenav-item.js +1 -9
- package/dist/components/vds-sidenav-item2.js +1 -110
- package/dist/components/vds-skeleton-loading.js +1 -59
- package/dist/components/vds-stepper-item-header.js +1 -54
- package/dist/components/vds-stepper-item.js +1 -142
- package/dist/components/vds-switch.js +1 -159
- package/dist/components/vds-tab.js +1 -180
- package/dist/components/vds-tabs-group.js +1 -209
- package/dist/components/vds-tooltip.js +1 -169
- package/dist/components/vds-topbar.d.ts +11 -0
- package/dist/components/vds-topbar.js +1 -0
- package/dist/components/vds-upload-drag.js +1 -94
- package/dist/components/vds-upload-item.js +1 -97
- package/dist/esm/attribute-sync-C0soA0Iu.js +116 -0
- package/dist/esm/{base-group-header-Dv2b0x2u.js → base-group-header-DHyRadI2.js} +2 -5
- package/dist/esm/{base-item-BJCnJ_64.js → base-item-LifVg8NG.js} +34 -7
- package/dist/esm/clone-attributes-XcEz9ONw.js +18 -0
- package/dist/esm/combine-classes-B9-Fmd9T.js +9 -0
- package/dist/{cjs/floating-engine-utils-DDIydT_O.js → esm/floating-engine-utils-BWyJL18G.js} +329 -302
- package/dist/esm/form-D4qxRmcx.js +54 -0
- package/dist/esm/{icon-attr.utils-DB1QD50d.js → icon-attr.utils-D8QL-1vr.js} +1 -4
- package/dist/esm/icon-utils-DbtAUzUv.js +146 -0
- package/dist/esm/{index-YrP3OJ_T.js → index-Db7Bd9sr.js} +289 -232
- package/dist/esm/index.js +74 -5
- package/dist/esm/{vds-basic-dropdown.utils-BMJUPaKN.js → keyboard-navigation-DhK6Gkic.js} +184 -19
- package/dist/esm/loader.js +3 -6
- package/dist/esm/{node-utils-Ds4TZ2g7.js → node-utils-DZjA6IyG.js} +12 -5
- package/dist/esm/number-utils-BlDCXeBH.js +9 -0
- package/dist/esm/slider.utils-Dz7FcsEt.js +207 -0
- package/dist/esm/utils-pnHDnu6c.js +86 -0
- package/dist/esm/vds-autocomplete-item.entry.js +98 -17
- package/dist/esm/vds-avatar_2.entry.js +113 -14
- package/dist/esm/vds-badge-pill.entry.js +53 -19
- package/dist/esm/vds-badge-pill.utils-0Hrrk76k.js +0 -3
- package/dist/esm/vds-basic-accordion.entry.js +72 -34
- package/dist/esm/vds-basic-autocomplete.entry.js +558 -85
- package/dist/esm/vds-basic-combo-box.entry.js +90 -36
- package/dist/esm/{vds-basic-dropdown_23.entry.js → vds-basic-dropdown_24.entry.js} +2373 -572
- package/dist/esm/vds-basic-input.utils-C0J5GoBo.js +132 -0
- package/dist/esm/vds-basic-slider-range-continuous.entry.js +192 -136
- package/dist/esm/vds-breadcrumbs-item.entry.js +18 -7
- package/dist/esm/vds-chip.entry.js +71 -47
- package/dist/esm/vds-dialog-action-footer.entry.js +16 -10
- package/dist/esm/vds-dialog-body.entry.js +7 -4
- package/dist/esm/vds-dialog-header.entry.js +12 -5
- package/dist/esm/vds-dialog-modal.entry.js +7 -4
- package/dist/esm/vds-dialog.entry.js +73 -32
- package/dist/esm/vds-display.entry.js +206 -0
- package/dist/esm/vds-footer.entry.js +85 -11
- package/dist/esm/vds-header.entry.js +79 -24
- package/dist/esm/vds-icon-button.utils-B9dRf1-F.js +0 -3
- package/dist/esm/vds-key-value-pair.entry.js +22 -7
- package/dist/esm/vds-notification.entry.js +69 -10
- package/dist/esm/vds-popover.entry.js +92 -20
- package/dist/esm/vds-progress-linear.entry.js +44 -27
- package/dist/esm/vds-radio-button.entry.js +72 -37
- package/dist/esm/vds-segmented-button.entry.js +53 -11
- package/dist/esm/vds-sheet.entry.js +89 -14
- package/dist/esm/vds-sidenav-item-app.entry.js +18 -6
- package/dist/esm/vds-sidenav-item-button.entry.js +42 -8
- package/dist/esm/vds-sidenav-item-category.entry.js +53 -9
- package/dist/esm/vds-sidenav-item-input.entry.js +85 -40
- package/dist/esm/vds-skeleton-loading.entry.js +28 -8
- package/dist/esm/vds-stepper-item-header.entry.js +16 -5
- package/dist/esm/vds-stepper-item.entry.js +81 -20
- package/dist/esm/vds-switch.entry.js +61 -26
- package/dist/esm/vds-tab.entry.js +99 -18
- package/dist/esm/vds-tabs-group.entry.js +133 -24
- package/dist/esm/vds-tooltip.entry.js +186 -23
- package/dist/esm/vds-topbar.entry.js +25 -0
- package/dist/esm/vds-upload-drag.entry.js +56 -7
- package/dist/esm/volt-basic-components.js +4 -7
- package/dist/types/components/accordion/vds-basic-accordion.d.ts +105 -35
- package/dist/types/components/autocomplete/vds-basic-autocomplete.d.ts +610 -54
- package/dist/types/components/autocomplete/vds-basic-autocomplete.stories.d.ts +13 -0
- package/dist/types/components/autocomplete-item/vds-autocomplete-item.d.ts +314 -17
- package/dist/types/components/avatar/vds-avatar.d.ts +89 -7
- package/dist/types/components/badge-dot/vds-badge-dot.d.ts +52 -6
- package/dist/types/components/badge-pill/vds-badge-pill.d.ts +90 -13
- package/dist/types/components/badge-pill/vds-badge-pill.stories.d.ts +1 -12
- package/dist/types/components/base-item/base-item.d.ts +21 -1
- package/dist/types/components/basic-dropdown/vds-basic-dropdown.d.ts +431 -31
- package/dist/types/components/basic-dropdown/vds-basic-dropdown.stories.d.ts +8 -0
- package/dist/types/components/basic-dropdown/vds-basic-dropdown.utils.d.ts +8 -1
- package/dist/types/components/breadcrumb-item/vds-breadcrumbs-item.d.ts +19 -2
- package/dist/types/components/button/vds-button.d.ts +220 -7
- package/dist/types/components/button/vds-button.stories.d.ts +2 -0
- package/dist/types/components/card/vds-card.d.ts +343 -19
- package/dist/types/components/checkbox/vds-checkbox.d.ts +102 -38
- package/dist/types/components/chip/vds-chip.d.ts +362 -34
- package/dist/types/components/chip/vds-chip.stories.d.ts +1 -0
- package/dist/types/components/dialog/vds-dialog.d.ts +91 -26
- package/dist/types/components/dialog-action-footer/vds-dialog-action-footer.d.ts +27 -7
- package/dist/types/components/dialog-body/vds-dialog-body.d.ts +9 -0
- package/dist/types/components/dialog-header/vds-dialog-header.d.ts +19 -2
- package/dist/types/components/dialog-modal/vds-dialog-modal.d.ts +12 -0
- package/dist/types/components/display/vds-display.d.ts +135 -0
- package/dist/types/components/display/vds-display.stories.d.ts +15 -0
- package/dist/types/components/divider/vds-divider.d.ts +34 -4
- package/dist/types/components/drawer/vds-drawer.d.ts +488 -11
- package/dist/types/components/dropdown-group-header/vds-dropdown-group-header.d.ts +14 -1
- package/dist/types/components/dropdown-item/vds-basic-dropdown-item.stories.d.ts +1 -0
- package/dist/types/components/dropdown-item/vds-dropdown-item.d.ts +155 -18
- package/dist/types/components/dropdown-multiselect/vds-basic-dropdown-multiselect.d.ts +368 -40
- package/dist/types/components/dropdown-multiselect/vds-basic-dropdown-multiselect.stories.d.ts +6 -0
- package/dist/types/components/field/vds-field.d.ts +147 -7
- package/dist/types/components/field/vds-field.stories.d.ts +1 -0
- package/dist/types/components/footer/vds-footer.d.ts +155 -7
- package/dist/types/components/header/vds-header.d.ts +139 -19
- package/dist/types/components/header/vds-header.stories.d.ts +1 -0
- package/dist/types/components/icon/vds-icon.d.ts +255 -4
- package/dist/types/components/icon-button/vds-icon-button.d.ts +70 -5
- package/dist/types/components/input/vds-basic-input.d.ts +241 -47
- package/dist/types/components/input/vds-basic-input.utils.d.ts +3 -2
- package/dist/types/components/key-value-pair/vds-key-value-pair.d.ts +82 -5
- package/dist/types/components/label/vds-label.d.ts +81 -5
- package/dist/types/components/link/vds-link.d.ts +128 -13
- package/dist/types/components/menu/vds-menu.d.ts +263 -12
- package/dist/types/components/menu-group-header/vds-menu-group-header.d.ts +43 -1
- package/dist/types/components/menu-item/vds-menu-item.d.ts +215 -18
- package/dist/types/components/menu-list/vds-menu-list.d.ts +60 -0
- package/dist/types/components/notification/vds-notification.d.ts +172 -9
- package/dist/types/components/popover/vds-popover.d.ts +194 -11
- package/dist/types/components/progress-circular/vds-progress-circular.d.ts +303 -27
- package/dist/types/components/progress-linear/vds-progress-linear.d.ts +109 -26
- package/dist/types/components/radio-button/vds-radio-button.d.ts +157 -34
- package/dist/types/components/segmented-button/vds-segmented-button.d.ts +151 -9
- package/dist/types/components/segmented-button/vds-segmented-button.stories.d.ts +6 -0
- package/dist/types/components/sheet/vds-sheet.d.ts +183 -10
- package/dist/types/components/sidenav-item/vds-sidenav-item.d.ts +179 -11
- package/dist/types/components/sidenav-item/vds-sidenav-item.stories.d.ts +9 -0
- package/dist/types/components/sidenav-item-app/vds-sidenav-item-app.d.ts +132 -6
- package/dist/types/components/sidenav-item-button/vds-sidenav-item-button.d.ts +137 -8
- package/dist/types/components/sidenav-item-category/vds-sidenav-item-category.d.ts +147 -3
- package/dist/types/components/sidenav-item-input/vds-sidenav-item-input.d.ts +205 -38
- package/dist/types/components/skeleton-loading/vds-skeleton-loading.d.ts +118 -3
- package/dist/types/components/slider-continuous/vds-basic-slider-continuous.d.ts +293 -64
- package/dist/types/components/slider-continuous/vds-basic-slider-continuous.stories.d.ts +1 -0
- package/dist/types/components/slider-range-continuous/vds-basic-slider-range-continuous.d.ts +346 -88
- package/dist/types/components/slider-range-continuous/vds-basic-slider-range-continuous.stories.d.ts +1 -0
- package/dist/types/components/stepper-item/vds-stepper-item.d.ts +209 -10
- package/dist/types/components/stepper-item-header/vds-stepper-item-header.d.ts +153 -4
- package/dist/types/components/switch/vds-switch.d.ts +173 -23
- package/dist/types/components/tab/vds-tab.d.ts +257 -16
- package/dist/types/components/tabs-group/vds-tabs-group.d.ts +279 -13
- package/dist/types/components/tabs-group/vds-tabs-group.stories.d.ts +1 -0
- package/dist/types/components/textarea/vds-basic-textarea.d.ts +282 -57
- package/dist/types/components/tooltip/vds-tooltip.d.ts +479 -14
- package/dist/types/components/topbar/vds-topbar.d.ts +204 -0
- package/dist/types/components/topbar/vds-topbar.stories.d.ts +15 -0
- package/dist/types/components/upload-drag/vds-upload-drag.d.ts +301 -6
- package/dist/types/components/upload-item/vds-upload-item.d.ts +314 -8
- package/dist/types/components/vds-basic-combo-box/vds-basic-combo-box.d.ts +347 -33
- package/dist/types/components.d.ts +22340 -866
- package/dist/types/constants/icon-sprite.d.ts +82 -74
- package/dist/types/constants/spacing-vars.d.ts +1 -0
- package/dist/types/index.d.ts +25 -1
- package/dist/types/stencil-public-runtime.d.ts +66 -5
- package/dist/types/utils/attribute-sync.d.ts +10 -0
- package/dist/types/utils/clone-attributes.d.ts +1 -0
- package/dist/types/utils/combine-classes.d.ts +6 -0
- package/dist/types/utils/device-detection.d.ts +21 -0
- package/dist/types/utils/floating-engine-utils.d.ts +16 -2
- package/dist/types/utils/floating-engine.d.ts +2 -2
- package/dist/types/utils/form.d.ts +12 -3
- package/dist/types/utils/get-deep-active-element.d.ts +1 -0
- package/dist/types/utils/get-random-id.d.ts +1 -0
- package/dist/types/utils/is-key-event.d.ts +1 -0
- package/dist/types/utils/is-of-type.d.ts +1 -0
- package/dist/types/utils/keyboard-navigation.d.ts +66 -0
- package/dist/types/utils/node-utils.d.ts +1 -0
- package/dist/types/utils/parentHasClass.d.ts +1 -0
- package/dist/types/utils/rems-to-px.d.ts +1 -0
- package/dist/types/utils/slider.utils.d.ts +61 -8
- package/dist/volt-basic-components/index.esm.js +1 -2
- package/dist/volt-basic-components/p-05a2a882.entry.js +1 -0
- package/dist/volt-basic-components/p-09402cea.entry.js +1 -0
- package/dist/volt-basic-components/p-0Hrrk76k.js +1 -2
- package/dist/volt-basic-components/p-101fbeb8.entry.js +1 -0
- package/dist/volt-basic-components/p-10fdf96c.entry.js +1 -0
- package/dist/volt-basic-components/p-11008108.entry.js +1 -0
- package/dist/volt-basic-components/p-1f389638.entry.js +1 -0
- package/dist/volt-basic-components/p-25e9a74e.entry.js +1 -0
- package/dist/volt-basic-components/p-3600d02d.entry.js +1 -0
- package/dist/volt-basic-components/p-4719880a.entry.js +1 -0
- package/dist/volt-basic-components/p-58a76c39.entry.js +1 -0
- package/dist/volt-basic-components/p-5a44e11e.entry.js +1 -0
- package/dist/volt-basic-components/p-63057c0e.entry.js +1 -0
- package/dist/volt-basic-components/p-6636ddcf.entry.js +1 -0
- package/dist/volt-basic-components/p-6715c0b0.entry.js +1 -0
- package/dist/volt-basic-components/p-67da205b.entry.js +1 -0
- package/dist/volt-basic-components/p-69d470d6.entry.js +1 -0
- package/dist/volt-basic-components/p-6ba78ef6.entry.js +1 -0
- package/dist/volt-basic-components/p-6c64718c.entry.js +1 -0
- package/dist/volt-basic-components/{p-6b5d3b93.entry.js → p-6ecc8e28.entry.js} +1 -2
- package/dist/volt-basic-components/{p-8eaa41f7.entry.js → p-7924ce85.entry.js} +1 -2
- package/dist/volt-basic-components/p-93b0963e.entry.js +1 -0
- package/dist/volt-basic-components/p-9849a2d1.entry.js +1 -0
- package/dist/volt-basic-components/p-9b4e42c4.entry.js +1 -0
- package/dist/volt-basic-components/p-B9-Fmd9T.js +1 -0
- package/dist/volt-basic-components/p-B9dRf1-F.js +1 -2
- package/dist/volt-basic-components/p-BWyJL18G.js +1 -0
- package/dist/volt-basic-components/p-BlDCXeBH.js +1 -0
- package/dist/volt-basic-components/p-Bm0XJ41F.js +1 -0
- package/dist/volt-basic-components/p-C0soA0Iu.js +1 -0
- package/dist/volt-basic-components/p-C_bdkm1d.js +1 -0
- package/dist/volt-basic-components/p-D4qxRmcx.js +1 -0
- package/dist/volt-basic-components/p-D8QL-1vr.js +1 -0
- package/dist/volt-basic-components/p-DOhxGOTz.js +1 -0
- package/dist/volt-basic-components/p-Db7Bd9sr.js +2 -0
- package/dist/volt-basic-components/p-DbtAUzUv.js +1 -0
- package/dist/volt-basic-components/p-DdZ3OHy_.js +1 -0
- package/dist/volt-basic-components/p-DhK6Gkic.js +1 -0
- package/dist/volt-basic-components/p-Dz7FcsEt.js +1 -0
- package/dist/volt-basic-components/p-XcEz9ONw.js +1 -0
- package/dist/volt-basic-components/p-a17d6698.entry.js +1 -0
- package/dist/volt-basic-components/p-b1fbcee4.entry.js +1 -0
- package/dist/volt-basic-components/p-b331bdb6.entry.js +1 -0
- package/dist/volt-basic-components/{p-47763451.entry.js → p-ba4c5a8a.entry.js} +1 -2
- package/dist/volt-basic-components/p-c298ffc1.entry.js +1 -0
- package/dist/volt-basic-components/p-d026ac02.entry.js +1 -0
- package/dist/volt-basic-components/p-d5276c76.entry.js +1 -0
- package/dist/volt-basic-components/p-d5c6bd2e.entry.js +1 -0
- package/dist/volt-basic-components/p-e103054e.entry.js +1 -0
- package/dist/volt-basic-components/p-e1b2a05e.entry.js +1 -0
- package/dist/volt-basic-components/p-e5a20a2d.entry.js +1 -0
- package/dist/volt-basic-components/{p-2d5a6a63.entry.js → p-e9f60758.entry.js} +1 -2
- package/dist/volt-basic-components/p-f9f262f0.entry.js +1 -0
- package/dist/volt-basic-components/p-fc33c39b.entry.js +1 -0
- package/dist/volt-basic-components/{p-661f67dd.entry.js → p-ff329d79.entry.js} +1 -2
- package/dist/volt-basic-components/p-pnHDnu6c.js +1 -0
- package/dist/volt-basic-components/volt-basic-components.css +1 -1
- package/dist/volt-basic-components/volt-basic-components.esm.js +1 -2
- package/package.json +12 -9
- package/dist/cjs/base-group-header-BBa6o7j-.js.map +0 -1
- package/dist/cjs/base-item-z-efWd2M.js.map +0 -1
- package/dist/cjs/clone-attributes-CR_poqM1.js +0 -15
- package/dist/cjs/clone-attributes-CR_poqM1.js.map +0 -1
- package/dist/cjs/combine-classes-Cs05zl1M.js.map +0 -1
- package/dist/cjs/floating-engine-utils-DDIydT_O.js.map +0 -1
- package/dist/cjs/form-Bk65VSLB.js +0 -38
- package/dist/cjs/form-Bk65VSLB.js.map +0 -1
- package/dist/cjs/icon-attr.utils-B0fSRoC6.js.map +0 -1
- package/dist/cjs/index-CwXszEUj.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/node-utils-BZh70EVv.js.map +0 -1
- package/dist/cjs/slider.utils-BVinQXJn.js +0 -68
- package/dist/cjs/slider.utils-BVinQXJn.js.map +0 -1
- package/dist/cjs/vds-badge-pill.utils-DDjHf_ZH.js.map +0 -1
- package/dist/cjs/vds-basic-dropdown.utils-B8SPgJv4.js.map +0 -1
- package/dist/cjs/vds-basic-input.utils-B5_cIWpL.js +0 -146
- package/dist/cjs/vds-basic-input.utils-B5_cIWpL.js.map +0 -1
- package/dist/cjs/vds-basic-slider-continuous.cjs.entry.js +0 -257
- package/dist/cjs/vds-icon-button.utils-BhiIMLsS.js.map +0 -1
- package/dist/cjs/volt-basic-components.cjs.js.map +0 -1
- package/dist/collection/components/accordion/vds-basic-accordion.js.map +0 -1
- package/dist/collection/components/accordion/vds-basic-accordion.stories.js.map +0 -1
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.js.map +0 -1
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.stories.js.map +0 -1
- package/dist/collection/components/autocomplete/vds-basic-autocomplete.utils.js.map +0 -1
- package/dist/collection/components/autocomplete-item/vds-autocomplete-item.js.map +0 -1
- package/dist/collection/components/autocomplete-item/vds-autocomplete-item.stories.js.map +0 -1
- package/dist/collection/components/avatar/vds-avatar.js.map +0 -1
- package/dist/collection/components/avatar/vds-avatar.stories.js.map +0 -1
- package/dist/collection/components/badge-dot/vds-badge-dot.js.map +0 -1
- package/dist/collection/components/badge-dot/vds-badge-dot.stories.js.map +0 -1
- package/dist/collection/components/badge-pill/vds-badge-pill.js.map +0 -1
- package/dist/collection/components/badge-pill/vds-badge-pill.stories.js.map +0 -1
- package/dist/collection/components/badge-pill/vds-badge-pill.utils.js.map +0 -1
- package/dist/collection/components/base-group-header/base-group-header.js.map +0 -1
- package/dist/collection/components/base-item/base-item.js.map +0 -1
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.js.map +0 -1
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.stories.js.map +0 -1
- package/dist/collection/components/basic-dropdown/vds-basic-dropdown.utils.js.map +0 -1
- package/dist/collection/components/breadcrumb-item/vds-breadcrumbs-item.js.map +0 -1
- package/dist/collection/components/breadcrumb-item/vds-breadcrumbs-item.stories.js.map +0 -1
- package/dist/collection/components/button/vds-button.js.map +0 -1
- package/dist/collection/components/button/vds-button.stories.js.map +0 -1
- package/dist/collection/components/card/vds-card.js.map +0 -1
- package/dist/collection/components/card/vds-card.stories.js.map +0 -1
- package/dist/collection/components/checkbox/vds-checkbox.js.map +0 -1
- package/dist/collection/components/checkbox/vds-checkbox.stories.js.map +0 -1
- package/dist/collection/components/checkbox/vds-checkbox.utils.js.map +0 -1
- package/dist/collection/components/chip/vds-chip.js.map +0 -1
- package/dist/collection/components/chip/vds-chip.stories.js.map +0 -1
- package/dist/collection/components/dialog/vds-dialog.js.map +0 -1
- package/dist/collection/components/dialog/vds-dialog.stories.js.map +0 -1
- package/dist/collection/components/dialog-action-footer/vds-dialog-action-footer.js.map +0 -1
- package/dist/collection/components/dialog-action-footer/vds-dialog-action-footer.stories.js.map +0 -1
- package/dist/collection/components/dialog-body/vds-dialog-body.js.map +0 -1
- package/dist/collection/components/dialog-body/vds-dialog-body.stories.js.map +0 -1
- package/dist/collection/components/dialog-header/vds-dialog-header.js.map +0 -1
- package/dist/collection/components/dialog-header/vds-dialog-header.stories.js.map +0 -1
- package/dist/collection/components/dialog-modal/vds-dialog-modal.js.map +0 -1
- package/dist/collection/components/dialog-modal/vds-dialog-modal.stories.js.map +0 -1
- package/dist/collection/components/divider/vds-divider.js.map +0 -1
- package/dist/collection/components/divider/vds-divider.stories.js.map +0 -1
- package/dist/collection/components/drawer/vds-drawer.js.map +0 -1
- package/dist/collection/components/drawer/vds-drawer.stories.js.map +0 -1
- package/dist/collection/components/dropdown-group-header/vds-dropdown-group-header.js.map +0 -1
- package/dist/collection/components/dropdown-group-header/vds-dropdown-group-header.stories.js.map +0 -1
- package/dist/collection/components/dropdown-item/vds-basic-dropdown-item.stories.js.map +0 -1
- package/dist/collection/components/dropdown-item/vds-dropdown-item-clicked-event.js.map +0 -1
- package/dist/collection/components/dropdown-item/vds-dropdown-item.js.map +0 -1
- package/dist/collection/components/dropdown-multiselect/vds-basic-dropdown-multiselect.js.map +0 -1
- package/dist/collection/components/dropdown-multiselect/vds-basic-dropdown-multiselect.stories.js.map +0 -1
- package/dist/collection/components/field/vds-field.js.map +0 -1
- package/dist/collection/components/field/vds-field.stories.js.map +0 -1
- package/dist/collection/components/footer/vds-footer.js.map +0 -1
- package/dist/collection/components/footer/vds-footer.stories.js.map +0 -1
- package/dist/collection/components/header/utils/utils.js.map +0 -1
- package/dist/collection/components/header/vds-header.js.map +0 -1
- package/dist/collection/components/header/vds-header.stories.js.map +0 -1
- package/dist/collection/components/icon/utils/icons-list.js.map +0 -1
- package/dist/collection/components/icon/vds-icon.js.map +0 -1
- package/dist/collection/components/icon/vds-icon.stories.js.map +0 -1
- package/dist/collection/components/icon-button/vds-icon-button.js.map +0 -1
- package/dist/collection/components/icon-button/vds-icon-button.stories.js.map +0 -1
- package/dist/collection/components/icon-button/vds-icon-button.utils.js.map +0 -1
- package/dist/collection/components/input/vds-basic-input.js.map +0 -1
- package/dist/collection/components/input/vds-basic-input.stories.js.map +0 -1
- package/dist/collection/components/input/vds-basic-input.utils.js.map +0 -1
- package/dist/collection/components/key-value-pair/vds-key-value-pair.js.map +0 -1
- package/dist/collection/components/key-value-pair/vds-key-value-pair.stories.js.map +0 -1
- package/dist/collection/components/label/vds-label.js.map +0 -1
- package/dist/collection/components/label/vds-label.stories.js.map +0 -1
- package/dist/collection/components/link/vds-link.js.map +0 -1
- package/dist/collection/components/link/vds-link.stories.js.map +0 -1
- package/dist/collection/components/menu/vds-menu.js.map +0 -1
- package/dist/collection/components/menu/vds-menu.stories.js.map +0 -1
- package/dist/collection/components/menu-group-header/vds-menu-group-header.js.map +0 -1
- package/dist/collection/components/menu-group-header/vds-menu-group-header.stories.js.map +0 -1
- package/dist/collection/components/menu-item/vds-menu-item.js.map +0 -1
- package/dist/collection/components/menu-item/vds-menu-item.stories.js.map +0 -1
- package/dist/collection/components/menu-list/vds-menu-list.js.map +0 -1
- package/dist/collection/components/notification/vds-notification-utils.js.map +0 -1
- package/dist/collection/components/notification/vds-notification.js.map +0 -1
- package/dist/collection/components/notification/vds-notification.stories.js.map +0 -1
- package/dist/collection/components/popover/utils/utils.js.map +0 -1
- package/dist/collection/components/popover/vds-popover.js.map +0 -1
- package/dist/collection/components/popover/vds-popover.stories.js.map +0 -1
- package/dist/collection/components/progress-circular/vds-progress-circular.js.map +0 -1
- package/dist/collection/components/progress-circular/vds-progress-circular.stories.js.map +0 -1
- package/dist/collection/components/progress-linear/vds-progress-linear.js.map +0 -1
- package/dist/collection/components/progress-linear/vds-progress-linear.stories.js.map +0 -1
- package/dist/collection/components/radio-button/vds-radio-button.js.map +0 -1
- package/dist/collection/components/radio-button/vds-radio-button.stories.js.map +0 -1
- package/dist/collection/components/radio-button/vds-radio-button.utils.js.map +0 -1
- package/dist/collection/components/segmented-button/vds-segmented-button.js.map +0 -1
- package/dist/collection/components/segmented-button/vds-segmented-button.stories.js.map +0 -1
- package/dist/collection/components/sheet/vds-sheet.js.map +0 -1
- package/dist/collection/components/sheet/vds-sheet.stories.js.map +0 -1
- package/dist/collection/components/sidenav-item/vds-sidenav-item.js.map +0 -1
- package/dist/collection/components/sidenav-item/vds-sidenav-item.stories.js.map +0 -1
- package/dist/collection/components/sidenav-item-app/vds-sidenav-item-app.js.map +0 -1
- package/dist/collection/components/sidenav-item-app/vds-sidenav-item-app.stories.js.map +0 -1
- package/dist/collection/components/sidenav-item-button/vds-sidenav-item-button.js.map +0 -1
- package/dist/collection/components/sidenav-item-button/vds-sidenav-item-button.stories.js.map +0 -1
- package/dist/collection/components/sidenav-item-category/vds-sidenav-item-category.js.map +0 -1
- package/dist/collection/components/sidenav-item-category/vds-sidenav-item-category.stories.js.map +0 -1
- package/dist/collection/components/sidenav-item-input/vds-sidenav-item-input.js.map +0 -1
- package/dist/collection/components/sidenav-item-input/vds-sidenav-item-input.stories.js.map +0 -1
- package/dist/collection/components/skeleton-loading/vds-skeleton-loading.js.map +0 -1
- package/dist/collection/components/skeleton-loading/vds-skeleton-loading.stories.js.map +0 -1
- package/dist/collection/components/slider-continuous/vds-basic-slider-continuous.js.map +0 -1
- package/dist/collection/components/slider-continuous/vds-basic-slider-continuous.stories.js.map +0 -1
- package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.js.map +0 -1
- package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.stories.js.map +0 -1
- package/dist/collection/components/stepper-item/vds-stepper-item.js.map +0 -1
- package/dist/collection/components/stepper-item/vds-stepper-item.stories.js.map +0 -1
- package/dist/collection/components/stepper-item-header/vds-stepper-item-header.js.map +0 -1
- package/dist/collection/components/stepper-item-header/vds-stepper-item-header.stories.js.map +0 -1
- package/dist/collection/components/switch/vds-switch.js.map +0 -1
- package/dist/collection/components/switch/vds-switch.stories.js.map +0 -1
- package/dist/collection/components/tab/vds-tab.js.map +0 -1
- package/dist/collection/components/tab/vds-tab.stories.js.map +0 -1
- package/dist/collection/components/tabs-group/vds-tabs-group.js.map +0 -1
- package/dist/collection/components/tabs-group/vds-tabs-group.stories.js.map +0 -1
- package/dist/collection/components/textarea/vds-basic-textarea.js.map +0 -1
- package/dist/collection/components/textarea/vds-basic-textarea.stories.js.map +0 -1
- package/dist/collection/components/tooltip/vds-tooltip.js.map +0 -1
- package/dist/collection/components/tooltip/vds-tooltip.stories.js.map +0 -1
- package/dist/collection/components/upload-drag/vds-upload-drag.js.map +0 -1
- package/dist/collection/components/upload-drag/vds-upload-drag.stories.js.map +0 -1
- package/dist/collection/components/upload-item/vds-upload-item.js.map +0 -1
- package/dist/collection/components/vds-basic-combo-box/vds-basic-combo-box.js.map +0 -1
- package/dist/collection/components/vds-basic-combo-box/vds-basic-combo-box.stories.js.map +0 -1
- package/dist/collection/constants/color-vars.js.map +0 -1
- package/dist/collection/constants/icon-sprite.js.map +0 -1
- package/dist/collection/constants/shadow-vars.js.map +0 -1
- package/dist/collection/constants/spacing-vars.js.map +0 -1
- package/dist/collection/constants/thickness-vars.js.map +0 -1
- package/dist/collection/constants/typography-vars.js.map +0 -1
- package/dist/collection/definitions/colors.js.map +0 -1
- package/dist/collection/definitions/shadows.js.map +0 -1
- package/dist/collection/definitions/spacing.js.map +0 -1
- package/dist/collection/definitions/thickness.js.map +0 -1
- package/dist/collection/definitions/typography.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/array-utils.js.map +0 -1
- package/dist/collection/utils/clone-attributes.js.map +0 -1
- package/dist/collection/utils/combine-classes.js.map +0 -1
- package/dist/collection/utils/floating-engine-utils.js.map +0 -1
- package/dist/collection/utils/floating-engine.js.map +0 -1
- package/dist/collection/utils/form.js.map +0 -1
- package/dist/collection/utils/icon-attr.utils.js.map +0 -1
- package/dist/collection/utils/icon-generation.utils.js.map +0 -1
- package/dist/collection/utils/icon-utils.js.map +0 -1
- package/dist/collection/utils/node-utils.js.map +0 -1
- package/dist/collection/utils/number-utils.js.map +0 -1
- package/dist/collection/utils/slider.utils.js.map +0 -1
- package/dist/collection/utils/spacing-utils.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/base-group-header.js.map +0 -1
- package/dist/components/base-item.js.map +0 -1
- package/dist/components/clone-attributes.js.map +0 -1
- package/dist/components/combine-classes.js.map +0 -1
- package/dist/components/floating-engine-utils.js.map +0 -1
- package/dist/components/form.js.map +0 -1
- package/dist/components/icon-attr.utils.js.map +0 -1
- package/dist/components/icon-sprite.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/node-utils.js.map +0 -1
- package/dist/components/slider.utils.js.map +0 -1
- package/dist/components/utils.js.map +0 -1
- package/dist/components/vds-autocomplete-item.js.map +0 -1
- package/dist/components/vds-autocomplete-item2.js.map +0 -1
- package/dist/components/vds-avatar.js.map +0 -1
- package/dist/components/vds-avatar2.js.map +0 -1
- package/dist/components/vds-badge-dot.js.map +0 -1
- package/dist/components/vds-badge-dot2.js.map +0 -1
- package/dist/components/vds-badge-pill.js.map +0 -1
- package/dist/components/vds-badge-pill.utils.js.map +0 -1
- package/dist/components/vds-basic-accordion.js.map +0 -1
- package/dist/components/vds-basic-autocomplete.js.map +0 -1
- package/dist/components/vds-basic-combo-box.js.map +0 -1
- package/dist/components/vds-basic-dropdown-multiselect.js.map +0 -1
- package/dist/components/vds-basic-dropdown.js.map +0 -1
- package/dist/components/vds-basic-dropdown.utils.js.map +0 -1
- package/dist/components/vds-basic-input.js.map +0 -1
- package/dist/components/vds-basic-input.utils.js.map +0 -1
- package/dist/components/vds-basic-input2.js.map +0 -1
- package/dist/components/vds-basic-slider-continuous.js.map +0 -1
- package/dist/components/vds-basic-slider-range-continuous.js.map +0 -1
- package/dist/components/vds-basic-textarea.js.map +0 -1
- package/dist/components/vds-breadcrumbs-item.js.map +0 -1
- package/dist/components/vds-button.js.map +0 -1
- package/dist/components/vds-card.js.map +0 -1
- package/dist/components/vds-card2.js.map +0 -1
- package/dist/components/vds-checkbox.js.map +0 -1
- package/dist/components/vds-chip.js.map +0 -1
- package/dist/components/vds-chip2.js.map +0 -1
- package/dist/components/vds-dialog-action-footer.js.map +0 -1
- package/dist/components/vds-dialog-body.js.map +0 -1
- package/dist/components/vds-dialog-header.js.map +0 -1
- package/dist/components/vds-dialog-modal.js.map +0 -1
- package/dist/components/vds-dialog.js.map +0 -1
- package/dist/components/vds-divider.js.map +0 -1
- package/dist/components/vds-divider2.js.map +0 -1
- package/dist/components/vds-drawer.js.map +0 -1
- package/dist/components/vds-dropdown-group-header.js.map +0 -1
- package/dist/components/vds-dropdown-item.js.map +0 -1
- package/dist/components/vds-field.js.map +0 -1
- package/dist/components/vds-footer.js.map +0 -1
- package/dist/components/vds-header.js.map +0 -1
- package/dist/components/vds-icon-button.js.map +0 -1
- package/dist/components/vds-icon-button.utils.js.map +0 -1
- package/dist/components/vds-icon-button2.js.map +0 -1
- package/dist/components/vds-icon.js.map +0 -1
- package/dist/components/vds-icon2.js.map +0 -1
- package/dist/components/vds-key-value-pair.js.map +0 -1
- package/dist/components/vds-label.js.map +0 -1
- package/dist/components/vds-label2.js.map +0 -1
- package/dist/components/vds-link.js.map +0 -1
- package/dist/components/vds-menu-group-header.js.map +0 -1
- package/dist/components/vds-menu-item.js.map +0 -1
- package/dist/components/vds-menu-list.js.map +0 -1
- package/dist/components/vds-menu.js.map +0 -1
- package/dist/components/vds-notification.js.map +0 -1
- package/dist/components/vds-popover.js.map +0 -1
- package/dist/components/vds-progress-circular.js.map +0 -1
- package/dist/components/vds-progress-circular2.js.map +0 -1
- package/dist/components/vds-progress-linear.js.map +0 -1
- package/dist/components/vds-radio-button.js.map +0 -1
- package/dist/components/vds-segmented-button.js.map +0 -1
- package/dist/components/vds-sheet.js.map +0 -1
- package/dist/components/vds-sidenav-item-app.js.map +0 -1
- package/dist/components/vds-sidenav-item-button.js.map +0 -1
- package/dist/components/vds-sidenav-item-category.js.map +0 -1
- package/dist/components/vds-sidenav-item-input.js.map +0 -1
- package/dist/components/vds-sidenav-item.js.map +0 -1
- package/dist/components/vds-sidenav-item2.js.map +0 -1
- package/dist/components/vds-skeleton-loading.js.map +0 -1
- package/dist/components/vds-stepper-item-header.js.map +0 -1
- package/dist/components/vds-stepper-item.js.map +0 -1
- package/dist/components/vds-switch.js.map +0 -1
- package/dist/components/vds-tab.js.map +0 -1
- package/dist/components/vds-tabs-group.js.map +0 -1
- package/dist/components/vds-tooltip.js.map +0 -1
- package/dist/components/vds-upload-drag.js.map +0 -1
- package/dist/components/vds-upload-item.js.map +0 -1
- package/dist/esm/base-group-header-Dv2b0x2u.js.map +0 -1
- package/dist/esm/base-item-BJCnJ_64.js.map +0 -1
- package/dist/esm/clone-attributes-CqHfuEQc.js +0 -13
- package/dist/esm/clone-attributes-CqHfuEQc.js.map +0 -1
- package/dist/esm/combine-classes-B23UkaEC.js +0 -6
- package/dist/esm/combine-classes-B23UkaEC.js.map +0 -1
- package/dist/esm/floating-engine-utils-ClEAm9Wn.js.map +0 -1
- package/dist/esm/form-BVF1zxcZ.js +0 -35
- package/dist/esm/form-BVF1zxcZ.js.map +0 -1
- package/dist/esm/icon-attr.utils-DB1QD50d.js.map +0 -1
- package/dist/esm/index-YrP3OJ_T.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/node-utils-Ds4TZ2g7.js.map +0 -1
- package/dist/esm/slider.utils-B7ukJ3F4.js +0 -64
- package/dist/esm/slider.utils-B7ukJ3F4.js.map +0 -1
- package/dist/esm/vds-autocomplete-item.entry.js.map +0 -1
- package/dist/esm/vds-badge-pill.entry.js.map +0 -1
- package/dist/esm/vds-badge-pill.utils-0Hrrk76k.js.map +0 -1
- package/dist/esm/vds-basic-accordion.entry.js.map +0 -1
- package/dist/esm/vds-basic-autocomplete.entry.js.map +0 -1
- package/dist/esm/vds-basic-combo-box.entry.js.map +0 -1
- package/dist/esm/vds-basic-dropdown.utils-BMJUPaKN.js.map +0 -1
- package/dist/esm/vds-basic-input.utils-DswuOEPv.js +0 -137
- package/dist/esm/vds-basic-input.utils-DswuOEPv.js.map +0 -1
- package/dist/esm/vds-basic-slider-continuous.entry.js +0 -255
- package/dist/esm/vds-basic-slider-continuous.entry.js.map +0 -1
- package/dist/esm/vds-basic-slider-range-continuous.entry.js.map +0 -1
- package/dist/esm/vds-breadcrumbs-item.entry.js.map +0 -1
- package/dist/esm/vds-chip.entry.js.map +0 -1
- package/dist/esm/vds-dialog-action-footer.entry.js.map +0 -1
- package/dist/esm/vds-dialog-body.entry.js.map +0 -1
- package/dist/esm/vds-dialog-header.entry.js.map +0 -1
- package/dist/esm/vds-dialog-modal.entry.js.map +0 -1
- package/dist/esm/vds-dialog.entry.js.map +0 -1
- package/dist/esm/vds-footer.entry.js.map +0 -1
- package/dist/esm/vds-header.entry.js.map +0 -1
- package/dist/esm/vds-icon-button.utils-B9dRf1-F.js.map +0 -1
- package/dist/esm/vds-key-value-pair.entry.js.map +0 -1
- package/dist/esm/vds-notification.entry.js.map +0 -1
- package/dist/esm/vds-popover.entry.js.map +0 -1
- package/dist/esm/vds-progress-linear.entry.js.map +0 -1
- package/dist/esm/vds-radio-button.entry.js.map +0 -1
- package/dist/esm/vds-segmented-button.entry.js.map +0 -1
- package/dist/esm/vds-sheet.entry.js.map +0 -1
- package/dist/esm/vds-sidenav-item-app.entry.js.map +0 -1
- package/dist/esm/vds-sidenav-item-button.entry.js.map +0 -1
- package/dist/esm/vds-sidenav-item-category.entry.js.map +0 -1
- package/dist/esm/vds-sidenav-item-input.entry.js.map +0 -1
- package/dist/esm/vds-skeleton-loading.entry.js.map +0 -1
- package/dist/esm/vds-stepper-item-header.entry.js.map +0 -1
- package/dist/esm/vds-stepper-item.entry.js.map +0 -1
- package/dist/esm/vds-switch.entry.js.map +0 -1
- package/dist/esm/vds-tab.entry.js.map +0 -1
- package/dist/esm/vds-tabs-group.entry.js.map +0 -1
- package/dist/esm/vds-tooltip.entry.js.map +0 -1
- package/dist/esm/vds-upload-drag.entry.js.map +0 -1
- package/dist/esm/volt-basic-components.js.map +0 -1
- package/dist/volt-basic-components/index.esm.js.map +0 -1
- package/dist/volt-basic-components/loader.esm.js.map +0 -1
- package/dist/volt-basic-components/p-0Hrrk76k.js.map +0 -1
- package/dist/volt-basic-components/p-20d5fd8b.entry.js +0 -2
- package/dist/volt-basic-components/p-20d5fd8b.entry.js.map +0 -1
- package/dist/volt-basic-components/p-2a61923a.entry.js +0 -2
- package/dist/volt-basic-components/p-2a61923a.entry.js.map +0 -1
- package/dist/volt-basic-components/p-2d5a6a63.entry.js.map +0 -1
- package/dist/volt-basic-components/p-32b69f9b.entry.js +0 -2
- package/dist/volt-basic-components/p-32b69f9b.entry.js.map +0 -1
- package/dist/volt-basic-components/p-34ea0d8c.entry.js +0 -2
- package/dist/volt-basic-components/p-34ea0d8c.entry.js.map +0 -1
- package/dist/volt-basic-components/p-364cb260.entry.js +0 -2
- package/dist/volt-basic-components/p-364cb260.entry.js.map +0 -1
- package/dist/volt-basic-components/p-47763451.entry.js.map +0 -1
- package/dist/volt-basic-components/p-485bde4b.entry.js +0 -2
- package/dist/volt-basic-components/p-485bde4b.entry.js.map +0 -1
- package/dist/volt-basic-components/p-4d5baf21.entry.js +0 -2
- package/dist/volt-basic-components/p-4d5baf21.entry.js.map +0 -1
- package/dist/volt-basic-components/p-551ca7c2.entry.js +0 -2
- package/dist/volt-basic-components/p-551ca7c2.entry.js.map +0 -1
- package/dist/volt-basic-components/p-564d6645.entry.js +0 -2
- package/dist/volt-basic-components/p-564d6645.entry.js.map +0 -1
- package/dist/volt-basic-components/p-59590dea.entry.js +0 -2
- package/dist/volt-basic-components/p-59590dea.entry.js.map +0 -1
- package/dist/volt-basic-components/p-5b84a64e.entry.js +0 -2
- package/dist/volt-basic-components/p-5b84a64e.entry.js.map +0 -1
- package/dist/volt-basic-components/p-647240b0.entry.js +0 -2
- package/dist/volt-basic-components/p-647240b0.entry.js.map +0 -1
- package/dist/volt-basic-components/p-661f67dd.entry.js.map +0 -1
- package/dist/volt-basic-components/p-6b5d3b93.entry.js.map +0 -1
- package/dist/volt-basic-components/p-70f9e8a4.entry.js +0 -2
- package/dist/volt-basic-components/p-70f9e8a4.entry.js.map +0 -1
- package/dist/volt-basic-components/p-72402820.entry.js +0 -2
- package/dist/volt-basic-components/p-72402820.entry.js.map +0 -1
- package/dist/volt-basic-components/p-8532d9d2.entry.js +0 -2
- package/dist/volt-basic-components/p-8532d9d2.entry.js.map +0 -1
- package/dist/volt-basic-components/p-8eaa41f7.entry.js.map +0 -1
- package/dist/volt-basic-components/p-8ee1bb32.entry.js +0 -2
- package/dist/volt-basic-components/p-8ee1bb32.entry.js.map +0 -1
- package/dist/volt-basic-components/p-8f92ee2b.entry.js +0 -2
- package/dist/volt-basic-components/p-8f92ee2b.entry.js.map +0 -1
- package/dist/volt-basic-components/p-934fc893.entry.js +0 -2
- package/dist/volt-basic-components/p-934fc893.entry.js.map +0 -1
- package/dist/volt-basic-components/p-B23UkaEC.js +0 -2
- package/dist/volt-basic-components/p-B23UkaEC.js.map +0 -1
- package/dist/volt-basic-components/p-B7ukJ3F4.js +0 -2
- package/dist/volt-basic-components/p-B7ukJ3F4.js.map +0 -1
- package/dist/volt-basic-components/p-B9dRf1-F.js.map +0 -1
- package/dist/volt-basic-components/p-BMJUPaKN.js +0 -2
- package/dist/volt-basic-components/p-BMJUPaKN.js.map +0 -1
- package/dist/volt-basic-components/p-BVF1zxcZ.js +0 -2
- package/dist/volt-basic-components/p-BVF1zxcZ.js.map +0 -1
- package/dist/volt-basic-components/p-CTN5pQJJ.js +0 -2
- package/dist/volt-basic-components/p-CTN5pQJJ.js.map +0 -1
- package/dist/volt-basic-components/p-ClEAm9Wn.js +0 -2
- package/dist/volt-basic-components/p-ClEAm9Wn.js.map +0 -1
- package/dist/volt-basic-components/p-CqHfuEQc.js +0 -2
- package/dist/volt-basic-components/p-CqHfuEQc.js.map +0 -1
- package/dist/volt-basic-components/p-DB1QD50d.js +0 -2
- package/dist/volt-basic-components/p-DB1QD50d.js.map +0 -1
- package/dist/volt-basic-components/p-DTEGZIhO.js +0 -2
- package/dist/volt-basic-components/p-DTEGZIhO.js.map +0 -1
- package/dist/volt-basic-components/p-DswuOEPv.js +0 -2
- package/dist/volt-basic-components/p-DswuOEPv.js.map +0 -1
- package/dist/volt-basic-components/p-YrP3OJ_T.js +0 -3
- package/dist/volt-basic-components/p-YrP3OJ_T.js.map +0 -1
- package/dist/volt-basic-components/p-a1cc6c0d.entry.js +0 -2
- package/dist/volt-basic-components/p-a1cc6c0d.entry.js.map +0 -1
- package/dist/volt-basic-components/p-a41826c5.entry.js +0 -2
- package/dist/volt-basic-components/p-a41826c5.entry.js.map +0 -1
- package/dist/volt-basic-components/p-a4c1543b.entry.js +0 -2
- package/dist/volt-basic-components/p-a4c1543b.entry.js.map +0 -1
- package/dist/volt-basic-components/p-aca9ba37.entry.js +0 -2
- package/dist/volt-basic-components/p-aca9ba37.entry.js.map +0 -1
- package/dist/volt-basic-components/p-b0829f2e.entry.js +0 -2
- package/dist/volt-basic-components/p-b0829f2e.entry.js.map +0 -1
- package/dist/volt-basic-components/p-c05abda7.entry.js +0 -2
- package/dist/volt-basic-components/p-c05abda7.entry.js.map +0 -1
- package/dist/volt-basic-components/p-c0849c4c.entry.js +0 -2
- package/dist/volt-basic-components/p-c0849c4c.entry.js.map +0 -1
- package/dist/volt-basic-components/p-c50a4dc1.entry.js +0 -2
- package/dist/volt-basic-components/p-c50a4dc1.entry.js.map +0 -1
- package/dist/volt-basic-components/p-d15595fe.entry.js +0 -2
- package/dist/volt-basic-components/p-d15595fe.entry.js.map +0 -1
- package/dist/volt-basic-components/p-e611857c.entry.js +0 -2
- package/dist/volt-basic-components/p-e611857c.entry.js.map +0 -1
- package/dist/volt-basic-components/p-eb8e671a.entry.js +0 -2
- package/dist/volt-basic-components/p-eb8e671a.entry.js.map +0 -1
- package/dist/volt-basic-components/p-ed992336.entry.js +0 -2
- package/dist/volt-basic-components/p-ed992336.entry.js.map +0 -1
- package/dist/volt-basic-components/p-f261ff52.entry.js +0 -2
- package/dist/volt-basic-components/p-f261ff52.entry.js.map +0 -1
- package/dist/volt-basic-components/p-f9a6e970.entry.js +0 -2
- package/dist/volt-basic-components/p-f9a6e970.entry.js.map +0 -1
- package/dist/volt-basic-components/p-jn6JrwWv.js +0 -2
- package/dist/volt-basic-components/p-jn6JrwWv.js.map +0 -1
- package/dist/volt-basic-components/volt-basic-components.esm.js.map +0 -1
|
@@ -2,56 +2,213 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
import { combineClasses } from "../../utils/combine-classes";
|
|
3
3
|
import { getIconSize, getIconColor, getActionIconButtonSize } from "../../utils/icon-attr.utils";
|
|
4
4
|
import { updateFloatingBoxPosition } from "../../utils/floating-engine-utils";
|
|
5
|
-
import { emitNativeInputEvent, getSelectedItemsText, getValidOptions, selectSelectedItems, setDropdownStyles, toggleContainerDisplay, unselectAllItems, unselectNonSelectedItems, updateContainerWidth } from "../basic-dropdown/vds-basic-dropdown.utils";
|
|
5
|
+
import { emitNativeInputEvent, getDropdownFocusableItems, getSelectedItemsText, getValidOptions, selectSelectedItems, setDropdownStyles, toggleContainerDisplay, unselectAllItems, unselectNonSelectedItems, updateContainerWidth } from "../basic-dropdown/vds-basic-dropdown.utils";
|
|
6
6
|
import { arrayIsEqual } from "../../utils/array-utils";
|
|
7
|
+
import { KeyboardNavigation } from "../../utils/keyboard-navigation";
|
|
8
|
+
import { getDeepActiveElement } from "../../utils/get-deep-active-element";
|
|
9
|
+
/**
|
|
10
|
+
* @component vds-basic-dropdown-multiselect
|
|
11
|
+
* @description A multi-select dropdown component that allows users to select multiple options from a list. Form-associated with support for custom icons, filtering, and accessible keyboard navigation.
|
|
12
|
+
* @slot - The default slot for dropdown items (vds-dropdown-item components)
|
|
13
|
+
* @example
|
|
14
|
+
* <!-- Basic multi-select dropdown -->
|
|
15
|
+
* <vds-basic-dropdown-multiselect
|
|
16
|
+
* id="basic-multiselect"
|
|
17
|
+
* placeholder="Select options">
|
|
18
|
+
* <vds-dropdown-item value="option1">Option 1</vds-dropdown-item>
|
|
19
|
+
* <vds-dropdown-item value="option2">Option 2</vds-dropdown-item>
|
|
20
|
+
* <vds-dropdown-item value="option3">Option 3</vds-dropdown-item>
|
|
21
|
+
* </vds-basic-dropdown-multiselect>
|
|
22
|
+
* <script>
|
|
23
|
+
* const basicMultiselect = document.getElementById('basic-multiselect');
|
|
24
|
+
* basicMultiselect.value = ['option1', 'option2'];
|
|
25
|
+
* </script>
|
|
26
|
+
*
|
|
27
|
+
* <!-- With display limit and custom text -->
|
|
28
|
+
* <vds-basic-dropdown-multiselect
|
|
29
|
+
* placeholder="Select items"
|
|
30
|
+
* display-selection-limit="2"
|
|
31
|
+
* display-selection-limit-text="items selected">
|
|
32
|
+
* <vds-dropdown-item value="item1">Item 1</vds-dropdown-item>
|
|
33
|
+
* <vds-dropdown-item value="item2">Item 2</vds-dropdown-item>
|
|
34
|
+
* <vds-dropdown-item value="item3">Item 3</vds-dropdown-item>
|
|
35
|
+
* <vds-dropdown-item value="item4">Item 4</vds-dropdown-item>
|
|
36
|
+
* </vds-basic-dropdown-multiselect>
|
|
37
|
+
*
|
|
38
|
+
* <!-- With informative icon and clear button -->
|
|
39
|
+
* <vds-basic-dropdown-multiselect
|
|
40
|
+
* placeholder="Choose categories"
|
|
41
|
+
* informative-icon="tag"
|
|
42
|
+
* show-clear-button
|
|
43
|
+
* size="large">
|
|
44
|
+
* <vds-dropdown-item value="category1">Category 1</vds-dropdown-item>
|
|
45
|
+
* <vds-dropdown-item value="category2">Category 2</vds-dropdown-item>
|
|
46
|
+
* </vds-basic-dropdown-multiselect>
|
|
47
|
+
*
|
|
48
|
+
* <!-- Disabled and readonly states -->
|
|
49
|
+
* <vds-basic-dropdown-multiselect
|
|
50
|
+
* id="disabled-multiselect"
|
|
51
|
+
* placeholder="Disabled"
|
|
52
|
+
* disabled>
|
|
53
|
+
* <vds-dropdown-item value="val1">Value 1</vds-dropdown-item>
|
|
54
|
+
* </vds-basic-dropdown-multiselect>
|
|
55
|
+
* <script>
|
|
56
|
+
* const disabledMultiselect = document.getElementById('disabled-multiselect');
|
|
57
|
+
* disabledMultiselect.value = ['val1'];
|
|
58
|
+
* </script>
|
|
59
|
+
*
|
|
60
|
+
* <vds-basic-dropdown-multiselect
|
|
61
|
+
* id="readonly-multiselect"
|
|
62
|
+
* placeholder="Read only"
|
|
63
|
+
* is-readonly>
|
|
64
|
+
* <vds-dropdown-item value="val2">Value 2</vds-dropdown-item>
|
|
65
|
+
* </vds-basic-dropdown-multiselect>
|
|
66
|
+
* <script>
|
|
67
|
+
* const readonlyMultiselect = document.getElementById('readonly-multiselect');
|
|
68
|
+
* readonlyMultiselect.value = ['val2'];
|
|
69
|
+
* </script>
|
|
70
|
+
*
|
|
71
|
+
* <!-- With error state and max height -->
|
|
72
|
+
* <vds-basic-dropdown-multiselect
|
|
73
|
+
* placeholder="Select tags"
|
|
74
|
+
* error
|
|
75
|
+
* max-height="200px"
|
|
76
|
+
* match-width>
|
|
77
|
+
* <vds-dropdown-item value="tag1">Tag 1</vds-dropdown-item>
|
|
78
|
+
* <vds-dropdown-item value="tag2">Tag 2</vds-dropdown-item>
|
|
79
|
+
* <vds-dropdown-item value="tag3">Tag 3</vds-dropdown-item>
|
|
80
|
+
* <vds-dropdown-item value="tag4">Tag 4</vds-dropdown-item>
|
|
81
|
+
* <vds-dropdown-item value="tag5">Tag 5</vds-dropdown-item>
|
|
82
|
+
* </vds-basic-dropdown-multiselect>
|
|
83
|
+
*
|
|
84
|
+
* <!-- With custom position -->
|
|
85
|
+
* <vds-basic-dropdown-multiselect
|
|
86
|
+
* placeholder="Opens above"
|
|
87
|
+
* position="top"
|
|
88
|
+
* match-width>
|
|
89
|
+
* <vds-dropdown-item value="item1">Item 1</vds-dropdown-item>
|
|
90
|
+
* <vds-dropdown-item value="item2">Item 2</vds-dropdown-item>
|
|
91
|
+
* <vds-dropdown-item value="item3">Item 3</vds-dropdown-item>
|
|
92
|
+
* </vds-basic-dropdown-multiselect>
|
|
93
|
+
*
|
|
94
|
+
* <vds-basic-dropdown-multiselect
|
|
95
|
+
* placeholder="Opens left"
|
|
96
|
+
* position="left"
|
|
97
|
+
* match-width>
|
|
98
|
+
* <vds-dropdown-item value="item1">Item 1</vds-dropdown-item>
|
|
99
|
+
* <vds-dropdown-item value="item2">Item 2</vds-dropdown-item>
|
|
100
|
+
* <vds-dropdown-item value="item3">Item 3</vds-dropdown-item>
|
|
101
|
+
* </vds-basic-dropdown-multiselect>
|
|
102
|
+
*/
|
|
7
103
|
export class VdsBasicDropdownMultiselect {
|
|
8
104
|
constructor() {
|
|
9
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Sets the dropdown's size
|
|
107
|
+
* @type {"small" | "medium" | "large"}
|
|
108
|
+
* @default "medium"
|
|
109
|
+
*/
|
|
10
110
|
this.size = "medium";
|
|
11
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Sets the dropdown's value (array of selected item values)
|
|
113
|
+
* @type {string[] | string}
|
|
114
|
+
* @default []
|
|
115
|
+
*/
|
|
12
116
|
this.value = [];
|
|
13
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Sets the dropdown's trigger event
|
|
119
|
+
* @type {"click"}
|
|
120
|
+
* @default "click"
|
|
121
|
+
*/
|
|
14
122
|
this.event = "click";
|
|
15
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Sets displaySelectionLimit text
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @default "Items selected"
|
|
127
|
+
*/
|
|
16
128
|
this.displaySelectionLimitText = "Items selected";
|
|
17
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Sets the dropdown's clear button visibility
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @default true
|
|
133
|
+
*/
|
|
18
134
|
this.showClearButton = true;
|
|
19
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* Sets the width value for the floating container of the items to match the dropdown width
|
|
137
|
+
* @type {boolean}
|
|
138
|
+
* @default false
|
|
139
|
+
*/
|
|
20
140
|
this.matchWidth = false;
|
|
21
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Toggles the floating container auto-positioning based on available window space.
|
|
22
143
|
* False by default as it may cause positioning issues in some situations, use with caution
|
|
144
|
+
* @type {boolean}
|
|
145
|
+
* @default false
|
|
23
146
|
*/
|
|
24
147
|
this.autoPosition = false;
|
|
25
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Defines the position where the dropdown will be opened.
|
|
150
|
+
* @type {"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end"}
|
|
151
|
+
* @default "bottom"
|
|
152
|
+
*/
|
|
153
|
+
this.position = 'bottom';
|
|
154
|
+
/**
|
|
155
|
+
* Toggles the overlay element, allowing interaction only with this element when active
|
|
156
|
+
* @type {boolean}
|
|
157
|
+
* @default false
|
|
158
|
+
*/
|
|
26
159
|
this.backdrop = false;
|
|
160
|
+
/**
|
|
161
|
+
* Internal state tracking whether the dropdown is opened
|
|
162
|
+
* @type {boolean}
|
|
163
|
+
*/
|
|
27
164
|
this.isOpened = false;
|
|
165
|
+
/**
|
|
166
|
+
* Array of dropdown item elements
|
|
167
|
+
* @private
|
|
168
|
+
* @type {HTMLVdsDropdownItemElement[]}
|
|
169
|
+
*/
|
|
28
170
|
this.options = [];
|
|
29
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Lifecycle hook that runs after component is loaded
|
|
174
|
+
* @returns {void}
|
|
175
|
+
*/
|
|
30
176
|
componentDidLoad() {
|
|
31
|
-
var _a, _b;
|
|
32
177
|
this.setValueHandler(this.value);
|
|
33
178
|
selectSelectedItems(this.dropdownContent, this.value);
|
|
34
|
-
|
|
35
|
-
(_b = this.dropdownContent) === null || _b === void 0 ? void 0 : _b.addEventListener('keydown', this.handleFloatingKeydown.bind(this));
|
|
36
|
-
this.setListenerForChildren();
|
|
179
|
+
this.renderOptions();
|
|
37
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* Lifecycle hook that runs when component is disconnected
|
|
183
|
+
* @returns {void}
|
|
184
|
+
*/
|
|
38
185
|
disconnectedCallback() {
|
|
39
186
|
var _a;
|
|
40
|
-
this.
|
|
41
|
-
this.dropdownContent.removeEventListener('keydown', this.handleFloatingKeydown.bind(this));
|
|
42
|
-
window.removeEventListener('click', this.handleClickOut.bind(this));
|
|
187
|
+
this.destroyKeyboardNavigation();
|
|
43
188
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
44
189
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
190
|
+
/**
|
|
191
|
+
* Renders the dropdown options from slotted items
|
|
192
|
+
* @private
|
|
193
|
+
* @returns {void}
|
|
194
|
+
*/
|
|
195
|
+
renderOptions() {
|
|
196
|
+
this.options = Array.from(this.hostEl.querySelectorAll("vds-dropdown-item"));
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Handles slot change events to update options
|
|
200
|
+
* @private
|
|
201
|
+
* @returns {void}
|
|
202
|
+
*/
|
|
203
|
+
handleSlotChange() {
|
|
204
|
+
this.renderOptions();
|
|
54
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Watches for value changes to update internal state and form value
|
|
208
|
+
* Validates whether the newValue is string or array and normalizes to array format
|
|
209
|
+
* @param {string | string[]} newValue - The new value(s)
|
|
210
|
+
* @returns {void}
|
|
211
|
+
*/
|
|
55
212
|
// Sets the value prop validating whether the newValue is string or array.
|
|
56
213
|
setValueHandler(newValue) {
|
|
57
214
|
if (!newValue) {
|
|
@@ -75,35 +232,59 @@ export class VdsBasicDropdownMultiselect {
|
|
|
75
232
|
unselectAllItems(this.dropdownContent);
|
|
76
233
|
}
|
|
77
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* Lifecycle hook that runs after each render
|
|
237
|
+
* Updates options list and floating position
|
|
238
|
+
* @returns {void}
|
|
239
|
+
*/
|
|
78
240
|
componentDidRender() {
|
|
79
241
|
this.options = Array.from(this.hostEl.querySelectorAll("vds-dropdown-item"));
|
|
80
|
-
updateFloatingBoxPosition(this.dropdownTrigger, this.dropdownContent, null, '
|
|
242
|
+
updateFloatingBoxPosition(this.dropdownTrigger, this.dropdownContent, null, this.position, false, ['top', 'bottom']);
|
|
81
243
|
updateContainerWidth(this.dropdownTrigger, this.matchWidth, this.dropdownContent);
|
|
82
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* Watches for dropdown open state changes and manages positioning
|
|
247
|
+
* @returns {Promise<void>}
|
|
248
|
+
*/
|
|
83
249
|
async toggleDropdown() {
|
|
84
250
|
if (this.isOpened) {
|
|
85
251
|
toggleContainerDisplay(this.dropdownContent, true);
|
|
86
252
|
this.opened.emit();
|
|
87
|
-
this.floatingCleanUp = await updateFloatingBoxPosition(this.dropdownTrigger, this.dropdownContent, null,
|
|
253
|
+
this.floatingCleanUp = await updateFloatingBoxPosition(this.dropdownTrigger, this.dropdownContent, null, this.position, this.autoPosition);
|
|
254
|
+
this.initKeyboardNavigation();
|
|
88
255
|
}
|
|
89
256
|
else {
|
|
90
257
|
toggleContainerDisplay(this.dropdownContent, false);
|
|
91
258
|
this.closed.emit();
|
|
259
|
+
this.destroyKeyboardNavigation();
|
|
92
260
|
this.floatingCleanUp();
|
|
93
261
|
}
|
|
94
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* Opens the floating dropdown menu
|
|
265
|
+
* @method
|
|
266
|
+
* @public
|
|
267
|
+
* @returns {Promise<void>} A promise that resolves when the dropdown is opened
|
|
268
|
+
*/
|
|
95
269
|
/* Open the floating element(menu) of the Dropdown. */
|
|
96
270
|
async open() {
|
|
97
271
|
this.isOpened = true;
|
|
98
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* Closes the floating dropdown menu
|
|
275
|
+
* @method
|
|
276
|
+
* @public
|
|
277
|
+
* @returns {Promise<void>} A promise that resolves when the dropdown is closed
|
|
278
|
+
*/
|
|
99
279
|
/* Close the floating element(menu) of the Dropdown. */
|
|
100
280
|
async close() {
|
|
101
281
|
this.isOpened = false;
|
|
102
282
|
}
|
|
103
283
|
/**
|
|
104
|
-
* Clears the selected options and resets the value of the dropdown
|
|
105
|
-
*
|
|
106
|
-
* @
|
|
284
|
+
* Clears the selected options and resets the value of the dropdown
|
|
285
|
+
* @method
|
|
286
|
+
* @public
|
|
287
|
+
* @returns {Promise<void>} A promise that resolves when the clearing operation is complete
|
|
107
288
|
*/
|
|
108
289
|
async clear() {
|
|
109
290
|
this.value = [];
|
|
@@ -111,46 +292,50 @@ export class VdsBasicDropdownMultiselect {
|
|
|
111
292
|
this.cleared.emit(true);
|
|
112
293
|
}
|
|
113
294
|
/**
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
295
|
+
* Gets the target element that manages the dropdown menu
|
|
296
|
+
* @method
|
|
297
|
+
* @public
|
|
298
|
+
* @returns {Promise<HTMLElement | null>} A promise that resolves with the target html element
|
|
118
299
|
*/
|
|
119
300
|
async getTarget() {
|
|
120
301
|
return this.dropdownTrigger;
|
|
121
302
|
}
|
|
122
303
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
304
|
+
* Gets the selected value of the dropdown
|
|
305
|
+
* @method
|
|
306
|
+
* @public
|
|
307
|
+
* @returns {Promise<string[]>} A promise that resolves with the value as string[]
|
|
127
308
|
*/
|
|
128
309
|
async getValue() {
|
|
129
310
|
return this.value;
|
|
130
311
|
}
|
|
131
312
|
/**
|
|
132
|
-
* Sets the selected value(s) for the dropdown
|
|
133
|
-
*
|
|
134
|
-
* @
|
|
135
|
-
* @
|
|
313
|
+
* Sets the selected value(s) for the dropdown
|
|
314
|
+
* @method
|
|
315
|
+
* @public
|
|
316
|
+
* @param {string[] | string} value - The new value or array of values to select
|
|
317
|
+
* @returns {Promise<void>} A promise that resolves when the value is set
|
|
136
318
|
*/
|
|
137
319
|
async setValue(value) {
|
|
138
320
|
this.setValueHandler(value);
|
|
139
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Closes the floating element when clicking outside the component
|
|
324
|
+
* @param {MouseEvent} evt - The mouse click event
|
|
325
|
+
* @returns {void}
|
|
326
|
+
*/
|
|
140
327
|
/* Close the floating element when click outside */
|
|
141
328
|
handleClickOut(evt) {
|
|
142
|
-
evt.
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
const isClickInsideParentDropdown = target.nodeName === "VDS-DROPDOWN-MULTISELECT" && target.shadowRoot && evt.target.shadowRoot.contains(this.hostEl);
|
|
146
|
-
if (!isClickInside && !isClickInsideParentDropdown) {
|
|
329
|
+
const path = evt.composedPath ? evt.composedPath() : [];
|
|
330
|
+
const isClickInside = path.includes(this.hostEl);
|
|
331
|
+
if (!isClickInside) {
|
|
147
332
|
this.close();
|
|
148
333
|
}
|
|
149
334
|
}
|
|
150
335
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* @
|
|
336
|
+
* Listens for dropdown item clicks to toggle selection and update value
|
|
337
|
+
* @param {CustomEvent<DropdownItemClickedEvent>} event - The dropdown item clicked event
|
|
338
|
+
* @returns {void}
|
|
154
339
|
*/
|
|
155
340
|
handleDropdownSelection(event) {
|
|
156
341
|
const item = event.target;
|
|
@@ -165,62 +350,139 @@ export class VdsBasicDropdownMultiselect {
|
|
|
165
350
|
this.valueChanged.emit(this.value);
|
|
166
351
|
emitNativeInputEvent(this.hostEl);
|
|
167
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Opens the floating element with click on the trigger element
|
|
355
|
+
* @private
|
|
356
|
+
* @returns {void}
|
|
357
|
+
*/
|
|
168
358
|
/* Open the floating element with click on the trigger element */
|
|
169
|
-
handleClick(
|
|
170
|
-
evt.stopImmediatePropagation();
|
|
359
|
+
handleClick() {
|
|
171
360
|
if (this.event === "click" && !this.disabled && !this.isReadonly) {
|
|
172
361
|
this.isOpened = !this.isOpened;
|
|
173
362
|
}
|
|
174
363
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
364
|
+
/**
|
|
365
|
+
* Initializes keyboard navigation for dropdown items.
|
|
366
|
+
* Subscribes to keyboard events and manages focus within the dropdown.
|
|
367
|
+
* Closes dropdown on Escape key and restores focus to trigger element.
|
|
368
|
+
* @private
|
|
369
|
+
* @returns {void}
|
|
370
|
+
*/
|
|
371
|
+
initKeyboardNavigation() {
|
|
372
|
+
const dropdownItems = this.getDropdownItems();
|
|
373
|
+
if (dropdownItems.length === 0) {
|
|
374
|
+
return;
|
|
180
375
|
}
|
|
376
|
+
const triggerEl = getDeepActiveElement();
|
|
377
|
+
if (!triggerEl) {
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
KeyboardNavigation.subscribe(dropdownItems, triggerEl, this.close.bind(this));
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Destroys the active keyboard navigation session.
|
|
384
|
+
* @private
|
|
385
|
+
* @returns {void}
|
|
386
|
+
*/
|
|
387
|
+
destroyKeyboardNavigation() {
|
|
388
|
+
KeyboardNavigation.unsubscribe();
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Returns focusable dropdown items that can be navigated
|
|
392
|
+
* ignores dropdown group headers and disabled items.
|
|
393
|
+
* @private
|
|
394
|
+
* @returns {HTMLElement[]} An array of focusable dropdown items.
|
|
395
|
+
*/
|
|
396
|
+
getDropdownItems() {
|
|
397
|
+
return getDropdownFocusableItems(this.hostEl);
|
|
181
398
|
}
|
|
399
|
+
/**
|
|
400
|
+
* Handles clear icon click to clear selection and close dropdown
|
|
401
|
+
* @private
|
|
402
|
+
* @param {Event} evt - The click event
|
|
403
|
+
* @returns {void}
|
|
404
|
+
*/
|
|
182
405
|
clearIconClick(evt) {
|
|
183
406
|
evt.stopImmediatePropagation();
|
|
184
407
|
this.clear();
|
|
185
408
|
this.close();
|
|
186
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* Renders the label/value display for the dropdown trigger
|
|
412
|
+
* @private
|
|
413
|
+
* @returns {HTMLStencilElement} The label element
|
|
414
|
+
*/
|
|
187
415
|
renderLabelValue() {
|
|
188
416
|
const selectedValue = this.getTextValue();
|
|
189
417
|
return h("span", { class: combineClasses("vds-dropdown-multiselect__label", `vds-dropdown-multiselect__label--${this.hasValue() ? "value" : "placeholder"}`) }, selectedValue);
|
|
190
418
|
}
|
|
419
|
+
/**
|
|
420
|
+
* Gets the text value to display based on selection and display limit
|
|
421
|
+
* @private
|
|
422
|
+
* @returns {string} The display text
|
|
423
|
+
*/
|
|
191
424
|
getTextValue() {
|
|
192
425
|
if (this.displaySelectionLimit > 0 && this.value.length > this.displaySelectionLimit) {
|
|
193
426
|
return `${this.value.length} ${this.displaySelectionLimitText}`;
|
|
194
427
|
}
|
|
195
428
|
return this.hasValue() ? getSelectedItemsText(this.dropdownContent, this.value).join(", ") : this.placeholder;
|
|
196
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* Gets the icon color based on disabled and readonly states
|
|
432
|
+
* @private
|
|
433
|
+
* @returns {string} The icon color
|
|
434
|
+
*/
|
|
197
435
|
getIconColor() {
|
|
198
436
|
return getIconColor(this.disabled, this.isReadonly);
|
|
199
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Renders the informative icon if specified
|
|
440
|
+
* @private
|
|
441
|
+
* @returns {HTMLStencilElement} The icon element
|
|
442
|
+
*/
|
|
200
443
|
renderInformativeIcon() {
|
|
201
444
|
return h("vds-icon", { svgIcon: this.informativeIcon, color: this.getIconColor(), size: getIconSize(this.size) });
|
|
202
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* Renders the clear button icon
|
|
448
|
+
* @private
|
|
449
|
+
* @returns {HTMLStencilElement} The clear icon button element
|
|
450
|
+
*/
|
|
203
451
|
renderClearIcon() {
|
|
204
452
|
return (h("vds-icon-button", { icon: "close", variant: "secondary", size: getActionIconButtonSize(this.size), onClick: evt => {
|
|
205
453
|
this.clearIconClick(evt);
|
|
206
454
|
}, disabled: this.disabled || this.isReadonly, setAriaLabel: "clear" }));
|
|
207
455
|
}
|
|
456
|
+
/**
|
|
457
|
+
* Renders the dropdown chevron icon
|
|
458
|
+
* @private
|
|
459
|
+
* @returns {HTMLStencilElement} The dropdown icon element
|
|
460
|
+
*/
|
|
208
461
|
renderDropdownIcon() {
|
|
209
462
|
return h("vds-icon", { svgIcon: this.isOpened ? 'chevron-up' : 'chevron-down', color: this.getIconColor(), size: getIconSize(this.size) });
|
|
210
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Checks if the dropdown has any selected values
|
|
466
|
+
* @private
|
|
467
|
+
* @returns {boolean} True if there are selected values
|
|
468
|
+
*/
|
|
211
469
|
hasValue() {
|
|
212
470
|
return Array.isArray(this.value) && this.value && this.value.length > 0;
|
|
213
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
* Renders the component
|
|
474
|
+
* @returns {HTMLStencilElement} The rendered component
|
|
475
|
+
*/
|
|
214
476
|
render() {
|
|
215
|
-
return (h(Host, { key: '
|
|
477
|
+
return (h(Host, { key: 'd4761e467c54b9f2e96ebb085a783b627e7f7e61', class: combineClasses(this.disabled ? "vds-basic-dropdown-multiselect--disabled" : ""), title: this.getTextValue() }, h("div", { key: '6b513f5f668649f542d5f28820ccf74d84e31765', class: "vds-dropdown-multiselect__container" }, h("button", { key: 'a85026aa5d7ee2dc65d6d7721d57534a1d7af4a7', disabled: this.disabled, ref: (el) => {
|
|
216
478
|
if (el)
|
|
217
479
|
this.dropdownTrigger = el;
|
|
218
|
-
}, class: combineClasses("vds-dropdown-multiselect___trigger", `vds-dropdown-multiselect___trigger--size-${this.size}`, this.disabled ? "vds-dropdown-multiselect___trigger--disabled" : "", this.isReadonly ? "vds-dropdown-multiselect___trigger--readonly" : "", this.error ? "vds-dropdown-multiselect___trigger--error" : ""), onClick: (
|
|
219
|
-
this.handleClick(
|
|
220
|
-
} }, this.informativeIcon && this.renderInformativeIcon(), this.renderLabelValue(), h("div", { key: '
|
|
480
|
+
}, class: combineClasses("vds-dropdown-multiselect___trigger", `vds-dropdown-multiselect___trigger--size-${this.size}`, this.disabled ? "vds-dropdown-multiselect___trigger--disabled" : "", this.isReadonly ? "vds-dropdown-multiselect___trigger--readonly" : "", this.error ? "vds-dropdown-multiselect___trigger--error" : ""), onClick: () => {
|
|
481
|
+
this.handleClick();
|
|
482
|
+
} }, this.informativeIcon && this.renderInformativeIcon(), this.renderLabelValue(), h("div", { key: '2caad8c9934f0a2b9baa649cdcb7071dd13e122e', class: "vds-dropdown-multiselect__trigger-icons" }, this.hasValue() && this.showClearButton && this.renderClearIcon(), this.renderDropdownIcon())), this.backdrop && this.isOpened ? h("div", { class: "vds-floating-backdrop", onClick: this.close.bind(this) }) : '', h("div", { key: 'e2d661d3bd819ff3b45c277627ebb7e8f07ac850', ref: (el) => {
|
|
221
483
|
if (el)
|
|
222
484
|
this.dropdownContent = el;
|
|
223
|
-
}, class: combineClasses("vds-dropdown-multiselect__content", this.maxHeight ? "has-scroll" : "", this.options.length === 0 ? "no-shadow" : "") }, h("div", { key: '
|
|
485
|
+
}, class: combineClasses("vds-dropdown-multiselect__content", this.maxHeight ? "has-scroll" : "", this.options.length === 0 ? "no-shadow" : "") }, h("div", { key: '3fa19f611fc89ee3a677f5f55bdee883cc05674c', class: combineClasses('vds-dropdown-multiselect__content-options', (this.maxHeight ? 'scrollable' : '')), style: setDropdownStyles(this.maxHeight) }, h("slot", { key: '7de03f4f7d7ec9526d7ae5d44b221ba9b10d2152', onSlotchange: () => this.handleSlotChange() }))))));
|
|
224
486
|
}
|
|
225
487
|
static get is() { return "vds-basic-dropdown-multiselect"; }
|
|
226
488
|
static get encapsulation() { return "shadow"; }
|
|
@@ -248,8 +510,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
248
510
|
"required": false,
|
|
249
511
|
"optional": false,
|
|
250
512
|
"docs": {
|
|
251
|
-
"tags": [
|
|
252
|
-
|
|
513
|
+
"tags": [{
|
|
514
|
+
"name": "type",
|
|
515
|
+
"text": "{\"small\" | \"medium\" | \"large\"}"
|
|
516
|
+
}, {
|
|
517
|
+
"name": "default",
|
|
518
|
+
"text": "\"medium\""
|
|
519
|
+
}],
|
|
520
|
+
"text": "Sets the dropdown's size"
|
|
253
521
|
},
|
|
254
522
|
"getter": false,
|
|
255
523
|
"setter": false,
|
|
@@ -268,8 +536,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
268
536
|
"required": false,
|
|
269
537
|
"optional": false,
|
|
270
538
|
"docs": {
|
|
271
|
-
"tags": [
|
|
272
|
-
|
|
539
|
+
"tags": [{
|
|
540
|
+
"name": "type",
|
|
541
|
+
"text": "{string[] | string}"
|
|
542
|
+
}, {
|
|
543
|
+
"name": "default",
|
|
544
|
+
"text": "[]"
|
|
545
|
+
}],
|
|
546
|
+
"text": "Sets the dropdown's value (array of selected item values)"
|
|
273
547
|
},
|
|
274
548
|
"getter": false,
|
|
275
549
|
"setter": false,
|
|
@@ -288,8 +562,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
288
562
|
"required": false,
|
|
289
563
|
"optional": false,
|
|
290
564
|
"docs": {
|
|
291
|
-
"tags": [
|
|
292
|
-
|
|
565
|
+
"tags": [{
|
|
566
|
+
"name": "type",
|
|
567
|
+
"text": "{string}"
|
|
568
|
+
}],
|
|
569
|
+
"text": "Allows user to define an information icon to the left of the dropdown"
|
|
293
570
|
},
|
|
294
571
|
"getter": false,
|
|
295
572
|
"setter": false,
|
|
@@ -307,8 +584,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
307
584
|
"required": false,
|
|
308
585
|
"optional": false,
|
|
309
586
|
"docs": {
|
|
310
|
-
"tags": [
|
|
311
|
-
|
|
587
|
+
"tags": [{
|
|
588
|
+
"name": "type",
|
|
589
|
+
"text": "{string}"
|
|
590
|
+
}],
|
|
591
|
+
"text": "Sets the dropdown's placeholder"
|
|
312
592
|
},
|
|
313
593
|
"getter": false,
|
|
314
594
|
"setter": false,
|
|
@@ -326,8 +606,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
326
606
|
"required": false,
|
|
327
607
|
"optional": false,
|
|
328
608
|
"docs": {
|
|
329
|
-
"tags": [
|
|
330
|
-
|
|
609
|
+
"tags": [{
|
|
610
|
+
"name": "type",
|
|
611
|
+
"text": "{boolean}"
|
|
612
|
+
}],
|
|
613
|
+
"text": "Sets the dropdown in disabled state"
|
|
331
614
|
},
|
|
332
615
|
"getter": false,
|
|
333
616
|
"setter": false,
|
|
@@ -345,8 +628,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
345
628
|
"required": false,
|
|
346
629
|
"optional": false,
|
|
347
630
|
"docs": {
|
|
348
|
-
"tags": [
|
|
349
|
-
|
|
631
|
+
"tags": [{
|
|
632
|
+
"name": "type",
|
|
633
|
+
"text": "{boolean}"
|
|
634
|
+
}],
|
|
635
|
+
"text": "Sets the dropdown in readonly state"
|
|
350
636
|
},
|
|
351
637
|
"getter": false,
|
|
352
638
|
"setter": false,
|
|
@@ -364,8 +650,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
364
650
|
"required": false,
|
|
365
651
|
"optional": false,
|
|
366
652
|
"docs": {
|
|
367
|
-
"tags": [
|
|
368
|
-
|
|
653
|
+
"tags": [{
|
|
654
|
+
"name": "type",
|
|
655
|
+
"text": "{boolean}"
|
|
656
|
+
}],
|
|
657
|
+
"text": "Sets the dropdown in error state"
|
|
369
658
|
},
|
|
370
659
|
"getter": false,
|
|
371
660
|
"setter": false,
|
|
@@ -383,8 +672,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
383
672
|
"required": false,
|
|
384
673
|
"optional": false,
|
|
385
674
|
"docs": {
|
|
386
|
-
"tags": [
|
|
387
|
-
|
|
675
|
+
"tags": [{
|
|
676
|
+
"name": "type",
|
|
677
|
+
"text": "{\"click\"}"
|
|
678
|
+
}, {
|
|
679
|
+
"name": "default",
|
|
680
|
+
"text": "\"click\""
|
|
681
|
+
}],
|
|
682
|
+
"text": "Sets the dropdown's trigger event"
|
|
388
683
|
},
|
|
389
684
|
"getter": false,
|
|
390
685
|
"setter": false,
|
|
@@ -403,8 +698,11 @@ export class VdsBasicDropdownMultiselect {
|
|
|
403
698
|
"required": false,
|
|
404
699
|
"optional": false,
|
|
405
700
|
"docs": {
|
|
406
|
-
"tags": [
|
|
407
|
-
|
|
701
|
+
"tags": [{
|
|
702
|
+
"name": "type",
|
|
703
|
+
"text": "{number}"
|
|
704
|
+
}],
|
|
705
|
+
"text": "Sets the dropdown's value max items selected to display in plain text"
|
|
408
706
|
},
|
|
409
707
|
"getter": false,
|
|
410
708
|
"setter": false,
|
|
@@ -422,7 +720,13 @@ export class VdsBasicDropdownMultiselect {
|
|
|
422
720
|
"required": false,
|
|
423
721
|
"optional": false,
|
|
424
722
|
"docs": {
|
|
425
|
-
"tags": [
|
|
723
|
+
"tags": [{
|
|
724
|
+
"name": "type",
|
|
725
|
+
"text": "{string}"
|
|
726
|
+
}, {
|
|
727
|
+
"name": "default",
|
|
728
|
+
"text": "\"Items selected\""
|
|
729
|
+
}],
|
|
426
730
|
"text": "Sets displaySelectionLimit text"
|
|
427
731
|
},
|
|
428
732
|
"getter": false,
|
|
@@ -442,8 +746,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
442
746
|
"required": false,
|
|
443
747
|
"optional": false,
|
|
444
748
|
"docs": {
|
|
445
|
-
"tags": [
|
|
446
|
-
|
|
749
|
+
"tags": [{
|
|
750
|
+
"name": "type",
|
|
751
|
+
"text": "{boolean}"
|
|
752
|
+
}, {
|
|
753
|
+
"name": "default",
|
|
754
|
+
"text": "true"
|
|
755
|
+
}],
|
|
756
|
+
"text": "Sets the dropdown's clear button visibility"
|
|
447
757
|
},
|
|
448
758
|
"getter": false,
|
|
449
759
|
"setter": false,
|
|
@@ -462,7 +772,10 @@ export class VdsBasicDropdownMultiselect {
|
|
|
462
772
|
"required": false,
|
|
463
773
|
"optional": false,
|
|
464
774
|
"docs": {
|
|
465
|
-
"tags": [
|
|
775
|
+
"tags": [{
|
|
776
|
+
"name": "type",
|
|
777
|
+
"text": "{string}"
|
|
778
|
+
}],
|
|
466
779
|
"text": "Set the max height value for the floating container of the items"
|
|
467
780
|
},
|
|
468
781
|
"getter": false,
|
|
@@ -481,7 +794,13 @@ export class VdsBasicDropdownMultiselect {
|
|
|
481
794
|
"required": false,
|
|
482
795
|
"optional": false,
|
|
483
796
|
"docs": {
|
|
484
|
-
"tags": [
|
|
797
|
+
"tags": [{
|
|
798
|
+
"name": "type",
|
|
799
|
+
"text": "{boolean}"
|
|
800
|
+
}, {
|
|
801
|
+
"name": "default",
|
|
802
|
+
"text": "false"
|
|
803
|
+
}],
|
|
485
804
|
"text": "Sets the width value for the floating container of the items to match the dropdown width"
|
|
486
805
|
},
|
|
487
806
|
"getter": false,
|
|
@@ -501,8 +820,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
501
820
|
"required": false,
|
|
502
821
|
"optional": false,
|
|
503
822
|
"docs": {
|
|
504
|
-
"tags": [
|
|
505
|
-
|
|
823
|
+
"tags": [{
|
|
824
|
+
"name": "type",
|
|
825
|
+
"text": "{boolean}"
|
|
826
|
+
}, {
|
|
827
|
+
"name": "default",
|
|
828
|
+
"text": "false"
|
|
829
|
+
}],
|
|
830
|
+
"text": "Toggles the floating container auto-positioning based on available window space.\nFalse by default as it may cause positioning issues in some situations, use with caution"
|
|
506
831
|
},
|
|
507
832
|
"getter": false,
|
|
508
833
|
"setter": false,
|
|
@@ -510,6 +835,32 @@ export class VdsBasicDropdownMultiselect {
|
|
|
510
835
|
"attribute": "auto-position",
|
|
511
836
|
"defaultValue": "false"
|
|
512
837
|
},
|
|
838
|
+
"position": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"mutable": false,
|
|
841
|
+
"complexType": {
|
|
842
|
+
"original": "'top' | 'bottom' | 'right' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'",
|
|
843
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"right\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
844
|
+
"references": {}
|
|
845
|
+
},
|
|
846
|
+
"required": false,
|
|
847
|
+
"optional": false,
|
|
848
|
+
"docs": {
|
|
849
|
+
"tags": [{
|
|
850
|
+
"name": "type",
|
|
851
|
+
"text": "{\"top\" | \"bottom\" | \"right\" | \"left\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\"}"
|
|
852
|
+
}, {
|
|
853
|
+
"name": "default",
|
|
854
|
+
"text": "\"bottom\""
|
|
855
|
+
}],
|
|
856
|
+
"text": "Defines the position where the dropdown will be opened."
|
|
857
|
+
},
|
|
858
|
+
"getter": false,
|
|
859
|
+
"setter": false,
|
|
860
|
+
"reflect": false,
|
|
861
|
+
"attribute": "position",
|
|
862
|
+
"defaultValue": "'bottom'"
|
|
863
|
+
},
|
|
513
864
|
"backdrop": {
|
|
514
865
|
"type": "boolean",
|
|
515
866
|
"mutable": false,
|
|
@@ -521,7 +872,13 @@ export class VdsBasicDropdownMultiselect {
|
|
|
521
872
|
"required": false,
|
|
522
873
|
"optional": false,
|
|
523
874
|
"docs": {
|
|
524
|
-
"tags": [
|
|
875
|
+
"tags": [{
|
|
876
|
+
"name": "type",
|
|
877
|
+
"text": "{boolean}"
|
|
878
|
+
}, {
|
|
879
|
+
"name": "default",
|
|
880
|
+
"text": "false"
|
|
881
|
+
}],
|
|
525
882
|
"text": "Toggles the overlay element, allowing interaction only with this element when active"
|
|
526
883
|
},
|
|
527
884
|
"getter": false,
|
|
@@ -545,8 +902,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
545
902
|
"cancelable": true,
|
|
546
903
|
"composed": true,
|
|
547
904
|
"docs": {
|
|
548
|
-
"tags": [
|
|
549
|
-
|
|
905
|
+
"tags": [{
|
|
906
|
+
"name": "event",
|
|
907
|
+
"text": "opened"
|
|
908
|
+
}, {
|
|
909
|
+
"name": "type",
|
|
910
|
+
"text": "{EventEmitter<void>}"
|
|
911
|
+
}],
|
|
912
|
+
"text": "Emits event when floating element gets opened"
|
|
550
913
|
},
|
|
551
914
|
"complexType": {
|
|
552
915
|
"original": "void",
|
|
@@ -560,8 +923,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
560
923
|
"cancelable": true,
|
|
561
924
|
"composed": true,
|
|
562
925
|
"docs": {
|
|
563
|
-
"tags": [
|
|
564
|
-
|
|
926
|
+
"tags": [{
|
|
927
|
+
"name": "event",
|
|
928
|
+
"text": "closed"
|
|
929
|
+
}, {
|
|
930
|
+
"name": "type",
|
|
931
|
+
"text": "{EventEmitter<void>}"
|
|
932
|
+
}],
|
|
933
|
+
"text": "Emits event when floating element gets closed"
|
|
565
934
|
},
|
|
566
935
|
"complexType": {
|
|
567
936
|
"original": "void",
|
|
@@ -575,8 +944,14 @@ export class VdsBasicDropdownMultiselect {
|
|
|
575
944
|
"cancelable": true,
|
|
576
945
|
"composed": true,
|
|
577
946
|
"docs": {
|
|
578
|
-
"tags": [
|
|
579
|
-
|
|
947
|
+
"tags": [{
|
|
948
|
+
"name": "event",
|
|
949
|
+
"text": "valueChanged"
|
|
950
|
+
}, {
|
|
951
|
+
"name": "type",
|
|
952
|
+
"text": "{EventEmitter<string[]>}"
|
|
953
|
+
}],
|
|
954
|
+
"text": "Emits event when an item is selected, this event contains the value of the selected items"
|
|
580
955
|
},
|
|
581
956
|
"complexType": {
|
|
582
957
|
"original": "string[]",
|
|
@@ -590,7 +965,13 @@ export class VdsBasicDropdownMultiselect {
|
|
|
590
965
|
"cancelable": true,
|
|
591
966
|
"composed": true,
|
|
592
967
|
"docs": {
|
|
593
|
-
"tags": [
|
|
968
|
+
"tags": [{
|
|
969
|
+
"name": "event",
|
|
970
|
+
"text": "cleared"
|
|
971
|
+
}, {
|
|
972
|
+
"name": "type",
|
|
973
|
+
"text": "{EventEmitter<boolean>}"
|
|
974
|
+
}],
|
|
594
975
|
"text": "Emits an event when the clear button is clicked"
|
|
595
976
|
},
|
|
596
977
|
"complexType": {
|
|
@@ -615,8 +996,17 @@ export class VdsBasicDropdownMultiselect {
|
|
|
615
996
|
"return": "Promise<void>"
|
|
616
997
|
},
|
|
617
998
|
"docs": {
|
|
618
|
-
"text": "",
|
|
619
|
-
"tags": [
|
|
999
|
+
"text": "Opens the floating dropdown menu",
|
|
1000
|
+
"tags": [{
|
|
1001
|
+
"name": "method",
|
|
1002
|
+
"text": undefined
|
|
1003
|
+
}, {
|
|
1004
|
+
"name": "public",
|
|
1005
|
+
"text": undefined
|
|
1006
|
+
}, {
|
|
1007
|
+
"name": "returns",
|
|
1008
|
+
"text": "A promise that resolves when the dropdown is opened"
|
|
1009
|
+
}]
|
|
620
1010
|
}
|
|
621
1011
|
},
|
|
622
1012
|
"close": {
|
|
@@ -632,8 +1022,17 @@ export class VdsBasicDropdownMultiselect {
|
|
|
632
1022
|
"return": "Promise<void>"
|
|
633
1023
|
},
|
|
634
1024
|
"docs": {
|
|
635
|
-
"text": "",
|
|
636
|
-
"tags": [
|
|
1025
|
+
"text": "Closes the floating dropdown menu",
|
|
1026
|
+
"tags": [{
|
|
1027
|
+
"name": "method",
|
|
1028
|
+
"text": undefined
|
|
1029
|
+
}, {
|
|
1030
|
+
"name": "public",
|
|
1031
|
+
"text": undefined
|
|
1032
|
+
}, {
|
|
1033
|
+
"name": "returns",
|
|
1034
|
+
"text": "A promise that resolves when the dropdown is closed"
|
|
1035
|
+
}]
|
|
637
1036
|
}
|
|
638
1037
|
},
|
|
639
1038
|
"clear": {
|
|
@@ -649,10 +1048,16 @@ export class VdsBasicDropdownMultiselect {
|
|
|
649
1048
|
"return": "Promise<void>"
|
|
650
1049
|
},
|
|
651
1050
|
"docs": {
|
|
652
|
-
"text": "Clears the selected options and resets the value of the dropdown
|
|
1051
|
+
"text": "Clears the selected options and resets the value of the dropdown",
|
|
653
1052
|
"tags": [{
|
|
1053
|
+
"name": "method",
|
|
1054
|
+
"text": undefined
|
|
1055
|
+
}, {
|
|
1056
|
+
"name": "public",
|
|
1057
|
+
"text": undefined
|
|
1058
|
+
}, {
|
|
654
1059
|
"name": "returns",
|
|
655
|
-
"text": "A promise that resolves when the clearing operation is complete
|
|
1060
|
+
"text": "A promise that resolves when the clearing operation is complete"
|
|
656
1061
|
}]
|
|
657
1062
|
}
|
|
658
1063
|
},
|
|
@@ -673,10 +1078,16 @@ export class VdsBasicDropdownMultiselect {
|
|
|
673
1078
|
"return": "Promise<HTMLElement>"
|
|
674
1079
|
},
|
|
675
1080
|
"docs": {
|
|
676
|
-
"text": "Gets the target that
|
|
1081
|
+
"text": "Gets the target element that manages the dropdown menu",
|
|
677
1082
|
"tags": [{
|
|
1083
|
+
"name": "method",
|
|
1084
|
+
"text": undefined
|
|
1085
|
+
}, {
|
|
1086
|
+
"name": "public",
|
|
1087
|
+
"text": undefined
|
|
1088
|
+
}, {
|
|
678
1089
|
"name": "returns",
|
|
679
|
-
"text": "A promise that resolves with the target html element
|
|
1090
|
+
"text": "A promise that resolves with the target html element"
|
|
680
1091
|
}]
|
|
681
1092
|
}
|
|
682
1093
|
},
|
|
@@ -693,10 +1104,16 @@ export class VdsBasicDropdownMultiselect {
|
|
|
693
1104
|
"return": "Promise<string[]>"
|
|
694
1105
|
},
|
|
695
1106
|
"docs": {
|
|
696
|
-
"text": "Gets the selected value of the dropdown
|
|
1107
|
+
"text": "Gets the selected value of the dropdown",
|
|
697
1108
|
"tags": [{
|
|
1109
|
+
"name": "method",
|
|
1110
|
+
"text": undefined
|
|
1111
|
+
}, {
|
|
1112
|
+
"name": "public",
|
|
1113
|
+
"text": undefined
|
|
1114
|
+
}, {
|
|
698
1115
|
"name": "returns",
|
|
699
|
-
"text": "A promise that resolves with the value as string[]
|
|
1116
|
+
"text": "A promise that resolves with the value as string[]"
|
|
700
1117
|
}]
|
|
701
1118
|
}
|
|
702
1119
|
},
|
|
@@ -706,7 +1123,7 @@ export class VdsBasicDropdownMultiselect {
|
|
|
706
1123
|
"parameters": [{
|
|
707
1124
|
"name": "value",
|
|
708
1125
|
"type": "string | string[]",
|
|
709
|
-
"docs": "The new value or array of values to select
|
|
1126
|
+
"docs": "- The new value or array of values to select"
|
|
710
1127
|
}],
|
|
711
1128
|
"references": {
|
|
712
1129
|
"Promise": {
|
|
@@ -717,13 +1134,19 @@ export class VdsBasicDropdownMultiselect {
|
|
|
717
1134
|
"return": "Promise<void>"
|
|
718
1135
|
},
|
|
719
1136
|
"docs": {
|
|
720
|
-
"text": "Sets the selected value(s) for the dropdown
|
|
1137
|
+
"text": "Sets the selected value(s) for the dropdown",
|
|
721
1138
|
"tags": [{
|
|
1139
|
+
"name": "method",
|
|
1140
|
+
"text": undefined
|
|
1141
|
+
}, {
|
|
1142
|
+
"name": "public",
|
|
1143
|
+
"text": undefined
|
|
1144
|
+
}, {
|
|
722
1145
|
"name": "param",
|
|
723
|
-
"text": "value The new value or array of values to select
|
|
1146
|
+
"text": "value - The new value or array of values to select"
|
|
724
1147
|
}, {
|
|
725
1148
|
"name": "returns",
|
|
726
|
-
"text": "A promise that resolves when the value is set
|
|
1149
|
+
"text": "A promise that resolves when the value is set"
|
|
727
1150
|
}]
|
|
728
1151
|
}
|
|
729
1152
|
}
|
|
@@ -756,4 +1179,3 @@ export class VdsBasicDropdownMultiselect {
|
|
|
756
1179
|
}
|
|
757
1180
|
static get attachInternalsMemberName() { return "internals"; }
|
|
758
1181
|
}
|
|
759
|
-
//# sourceMappingURL=vds-basic-dropdown-multiselect.js.map
|