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
package/dist/collection/components/slider-range-continuous/vds-basic-slider-range-continuous.js
CHANGED
|
@@ -1,68 +1,245 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { combineClasses } from "../../utils/combine-classes";
|
|
3
|
-
import { getPositionBasedOnValue, logWarnings } from "../../utils/slider.utils";
|
|
3
|
+
import { getPositionBasedOnValue, logWarnings, normalizeValue, normalizeRangeValues, buildStepMarks, parseMarks, getLimitLabels, valueToPercentage } from "../../utils/slider.utils";
|
|
4
4
|
import { forceUpdate } from "@stencil/core/internal";
|
|
5
5
|
import { countDecimalPlaces } from "../../utils/number-utils";
|
|
6
|
+
/**
|
|
7
|
+
* @component vds-basic-slider-range-continuous
|
|
8
|
+
* @description A continuous range slider component for selecting a numeric range with start and end values. Supports horizontal and vertical orientations, custom step increments, value labels, and custom theming. Ideal for filtering price ranges, time periods, and other numeric ranges.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <!-- Basic range slider with default range 0-100 -->
|
|
12
|
+
* <vds-basic-slider-range-continuous
|
|
13
|
+
* start-value="25"
|
|
14
|
+
* end-value="75">
|
|
15
|
+
* </vds-basic-slider-range-continuous>
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <!-- Large range slider with custom range -->
|
|
19
|
+
* <vds-basic-slider-range-continuous
|
|
20
|
+
* start-value="100"
|
|
21
|
+
* end-value="400"
|
|
22
|
+
* min-value="0"
|
|
23
|
+
* max-value="500"
|
|
24
|
+
* size="large">
|
|
25
|
+
* </vds-basic-slider-range-continuous>
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* <!-- Range slider with step increment -->
|
|
29
|
+
* <vds-basic-slider-range-continuous
|
|
30
|
+
* start-value="20"
|
|
31
|
+
* end-value="80"
|
|
32
|
+
* min-value="0"
|
|
33
|
+
* max-value="100"
|
|
34
|
+
* step="5">
|
|
35
|
+
* </vds-basic-slider-range-continuous>
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* <!-- Vertical range slider -->
|
|
39
|
+
* <vds-basic-slider-range-continuous
|
|
40
|
+
* start-value="30"
|
|
41
|
+
* end-value="70"
|
|
42
|
+
* orientation="vertical"
|
|
43
|
+
* style="height: 300px;">
|
|
44
|
+
* </vds-basic-slider-range-continuous>
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <!-- Range slider without value labels -->
|
|
48
|
+
* <vds-basic-slider-range-continuous
|
|
49
|
+
* start-value="40"
|
|
50
|
+
* end-value="60"
|
|
51
|
+
* display-label="off">
|
|
52
|
+
* </vds-basic-slider-range-continuous>
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <!-- Range slider with auto labels (shows on hover) -->
|
|
56
|
+
* <vds-basic-slider-range-continuous
|
|
57
|
+
* start-value="30"
|
|
58
|
+
* end-value="70"
|
|
59
|
+
* display-label="auto">
|
|
60
|
+
* </vds-basic-slider-range-continuous>
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* <!-- Range slider without limit labels -->
|
|
64
|
+
* <vds-basic-slider-range-continuous
|
|
65
|
+
* start-value="20"
|
|
66
|
+
* end-value="80"
|
|
67
|
+
* display-limits="false">
|
|
68
|
+
* </vds-basic-slider-range-continuous>
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* <!-- Disabled range slider -->
|
|
72
|
+
* <vds-basic-slider-range-continuous
|
|
73
|
+
* start-value="25"
|
|
74
|
+
* end-value="75"
|
|
75
|
+
* disabled="true">
|
|
76
|
+
* </vds-basic-slider-range-continuous>
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* <!-- Range slider with custom colors -->
|
|
80
|
+
* <vds-basic-slider-range-continuous
|
|
81
|
+
* start-value="30"
|
|
82
|
+
* end-value="70"
|
|
83
|
+
* colors='{"Track": "grey-200", "TrackFill": "primary-500", "Thumb": "primary-700"}'>
|
|
84
|
+
* </vds-basic-slider-range-continuous>
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* <!-- Price range filter -->
|
|
88
|
+
* <div>
|
|
89
|
+
* <label>Price Range: <span id="price-min">$25</span> - <span id="price-max">$75</span></label>
|
|
90
|
+
* <vds-basic-slider-range-continuous
|
|
91
|
+
* id="price-range"
|
|
92
|
+
* start-value="25"
|
|
93
|
+
* end-value="75"
|
|
94
|
+
* min-value="0"
|
|
95
|
+
* max-value="100"
|
|
96
|
+
* step="5"
|
|
97
|
+
* set-aria-label="Price range filter">
|
|
98
|
+
* </vds-basic-slider-range-continuous>
|
|
99
|
+
* </div>
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* <!-- Time range selector (hours) -->
|
|
103
|
+
* <div style="margin: 2rem;">
|
|
104
|
+
* <label>Select Time Range</label>
|
|
105
|
+
* <vds-basic-slider-range-continuous
|
|
106
|
+
* start-value="9"
|
|
107
|
+
* end-value="17"
|
|
108
|
+
* min-value="0"
|
|
109
|
+
* max-value="24"
|
|
110
|
+
* step="1"
|
|
111
|
+
* set-aria-label="Time range selector">
|
|
112
|
+
* </vds-basic-slider-range-continuous>
|
|
113
|
+
* <div style="display: flex; justify-content: space-between; margin-top: 0.5rem;">
|
|
114
|
+
* <span>00:00</span>
|
|
115
|
+
* <span>24:00</span>
|
|
116
|
+
* </div>
|
|
117
|
+
* </div>
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* <!-- Range slider with event handling -->
|
|
121
|
+
* <div>
|
|
122
|
+
* <label>Select Range: <span id="range-display">25 - 75</span></label>
|
|
123
|
+
* <vds-basic-slider-range-continuous
|
|
124
|
+
* id="event-range"
|
|
125
|
+
* start-value="25"
|
|
126
|
+
* end-value="75"
|
|
127
|
+
* min-value="0"
|
|
128
|
+
* max-value="100">
|
|
129
|
+
* </vds-basic-slider-range-continuous>
|
|
130
|
+
* </div>
|
|
131
|
+
* <script>
|
|
132
|
+
* const slider = document.getElementById('event-range');
|
|
133
|
+
* const display = document.getElementById('range-display');
|
|
134
|
+
* slider.addEventListener('changeRangeValue', (e) => {
|
|
135
|
+
* display.textContent = `${e.detail.startValue} - ${e.detail.endValue}`;
|
|
136
|
+
* });
|
|
137
|
+
* </script>
|
|
138
|
+
*/
|
|
6
139
|
export class VdsBasicSliderRangeContinuous {
|
|
7
140
|
constructor() {
|
|
8
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Sets the size of the slider
|
|
143
|
+
* @type {"medium" | "large"}
|
|
144
|
+
* @default "medium"
|
|
145
|
+
*/
|
|
9
146
|
this.size = "medium";
|
|
10
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* Sets the slider's orientation
|
|
149
|
+
* @type {"horizontal" | "vertical"}
|
|
150
|
+
* @default "horizontal"
|
|
151
|
+
*/
|
|
11
152
|
this.orientation = "horizontal";
|
|
12
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Sets the slider on disabled state
|
|
155
|
+
* @type {boolean}
|
|
156
|
+
* @default false
|
|
157
|
+
*/
|
|
13
158
|
this.disabled = false;
|
|
14
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Sets the min value of the slider (Min value should always be lower than the max value)
|
|
161
|
+
* @type {number}
|
|
162
|
+
* @default 0
|
|
163
|
+
*/
|
|
15
164
|
this.minValue = 0;
|
|
16
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Sets the max value of the slider
|
|
167
|
+
* @type {number}
|
|
168
|
+
* @default 100
|
|
169
|
+
*/
|
|
17
170
|
this.maxValue = 100;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
171
|
+
/**
|
|
172
|
+
* Toggles the value over the thumb in the slider
|
|
173
|
+
* - on: Always shows value over the thumb
|
|
174
|
+
* - off: Do not show the value over the thumb
|
|
175
|
+
* - auto: Shows value over the thumb when mouse hover
|
|
176
|
+
* @type {"on" | "off" | "auto"}
|
|
177
|
+
* @default "on"
|
|
178
|
+
*/
|
|
25
179
|
this.displayLabel = "on";
|
|
26
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Toggles the limit value (min and max) of the slider
|
|
182
|
+
* @type {boolean}
|
|
183
|
+
* @default true
|
|
184
|
+
*/
|
|
27
185
|
this.displayLimits = true;
|
|
28
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* Sets the thumb icon
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @default "thumb"
|
|
190
|
+
*/
|
|
29
191
|
this.icon = "thumb";
|
|
192
|
+
/**
|
|
193
|
+
* Show / Hide marks in the slider track
|
|
194
|
+
* @type {boolean}
|
|
195
|
+
* @default false
|
|
196
|
+
*/
|
|
197
|
+
this.showMarks = false;
|
|
30
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Component lifecycle hook - logs warnings and sets default values
|
|
201
|
+
* @private
|
|
202
|
+
*/
|
|
31
203
|
componentWillRender() {
|
|
32
|
-
logWarnings({ start: this.startValue, end: this.endValue }, this.maxValue, this.minValue);
|
|
204
|
+
logWarnings({ start: this.startValue, end: this.endValue }, this.maxValue, this.minValue, this.step);
|
|
33
205
|
this.setDefaultValues();
|
|
34
206
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
207
|
+
/**
|
|
208
|
+
* Component lifecycle hook - sets input values and forces update
|
|
209
|
+
* @private
|
|
210
|
+
*/
|
|
38
211
|
componentDidLoad() {
|
|
39
212
|
this.setInputStartValue();
|
|
40
213
|
this.setInputEndValue();
|
|
41
214
|
forceUpdate(this);
|
|
42
215
|
}
|
|
43
216
|
/**
|
|
44
|
-
* Sets the slider startValue and endValue to the specified
|
|
45
|
-
*
|
|
46
|
-
* @
|
|
47
|
-
* @
|
|
217
|
+
* Sets the slider startValue and endValue to the specified values
|
|
218
|
+
* @method
|
|
219
|
+
* @public
|
|
220
|
+
* @param {{ startValue: number; endValue: number }} values - The new values for the slider
|
|
221
|
+
* @returns {Promise<void>} A promise that resolves when the values are set
|
|
48
222
|
*/
|
|
49
223
|
setValues({ startValue, endValue }) {
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
224
|
+
const normalized = normalizeRangeValues(startValue, endValue, this.minValue, this.maxValue, this.step);
|
|
225
|
+
this.startValue = normalized.startValue;
|
|
226
|
+
this.endValue = normalized.endValue;
|
|
52
227
|
return Promise.resolve();
|
|
53
228
|
}
|
|
54
229
|
/**
|
|
55
|
-
* Gets the slider startValue and endValue
|
|
56
|
-
*
|
|
57
|
-
* @
|
|
230
|
+
* Gets the slider startValue and endValue
|
|
231
|
+
* @method
|
|
232
|
+
* @public
|
|
233
|
+
* @returns {Promise<{ startValue: number; endValue: number }>} A promise that resolves with the current values
|
|
58
234
|
*/
|
|
59
235
|
getValues() {
|
|
60
236
|
return Promise.resolve({ startValue: this.startValue, endValue: this.endValue });
|
|
61
237
|
}
|
|
62
238
|
/**
|
|
63
|
-
* Clears the slider range values by setting
|
|
64
|
-
*
|
|
65
|
-
* @
|
|
239
|
+
* Clears the slider range values by setting them to the minimum and maximum value respectively
|
|
240
|
+
* @method
|
|
241
|
+
* @public
|
|
242
|
+
* @returns {Promise<void>} A promise that resolves when the values are cleared
|
|
66
243
|
*/
|
|
67
244
|
clear() {
|
|
68
245
|
this.startValue = this.minValue;
|
|
@@ -70,54 +247,59 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
70
247
|
return Promise.resolve();
|
|
71
248
|
}
|
|
72
249
|
/**
|
|
73
|
-
* Focus the slider range by focusing start slider
|
|
74
|
-
*
|
|
75
|
-
* @
|
|
250
|
+
* Focus the slider range by focusing start slider
|
|
251
|
+
* @method
|
|
252
|
+
* @public
|
|
253
|
+
* @returns {Promise<void>} A promise that resolves when the first slider is focused
|
|
76
254
|
*/
|
|
77
255
|
setFocus() {
|
|
78
256
|
this.startInputRangeEl.focus();
|
|
79
257
|
return Promise.resolve();
|
|
80
258
|
}
|
|
81
259
|
/**
|
|
82
|
-
* Sets slider startThumbPosition
|
|
260
|
+
* Sets slider startThumbPosition and startShownValue.
|
|
83
261
|
* Calculates the start thumb position based on the value.
|
|
84
262
|
* Emits changeRangeValue event
|
|
85
|
-
*
|
|
86
|
-
* @returns {void}
|
|
263
|
+
* @private
|
|
87
264
|
*/
|
|
88
265
|
setInputStartValue() {
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
|
|
266
|
+
const normalizedValue = normalizeValue(this.startValue, this.minValue, this.maxValue, this.step);
|
|
267
|
+
if (normalizedValue !== this.startValue) {
|
|
268
|
+
this.startValue = normalizedValue;
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
this.startThumbPosition = this.getValuePosition(this.startValue);
|
|
272
|
+
this.startShownValue = normalizedValue.toString();
|
|
92
273
|
this.changeRangeValue.emit({ startValue: this.startValue, endValue: this.endValue });
|
|
93
274
|
}
|
|
94
275
|
/**
|
|
95
|
-
* Sets slider endThumbPosition
|
|
276
|
+
* Sets slider endThumbPosition and endShownValue.
|
|
96
277
|
* Calculates the end thumb position based on the value.
|
|
97
278
|
* Emits changeRangeValue event
|
|
98
|
-
*
|
|
99
|
-
* @returns {void}
|
|
279
|
+
* @private
|
|
100
280
|
*/
|
|
101
281
|
setInputEndValue() {
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
|
|
282
|
+
const normalizedValue = normalizeValue(this.endValue, this.minValue, this.maxValue, this.step);
|
|
283
|
+
if (normalizedValue !== this.endValue) {
|
|
284
|
+
this.endValue = normalizedValue;
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
this.endThumbPosition = this.getValuePosition(this.endValue);
|
|
288
|
+
this.endShownValue = normalizedValue.toString();
|
|
105
289
|
this.changeRangeValue.emit({ startValue: this.startValue, endValue: this.endValue });
|
|
106
290
|
}
|
|
107
291
|
/**
|
|
108
|
-
* Updates the thumb position and forces a component update on window resize
|
|
109
|
-
*
|
|
110
|
-
* @ListensTo("resize", {target: "window"})
|
|
292
|
+
* Updates the thumb position and forces a component update on window resize
|
|
293
|
+
* @private
|
|
111
294
|
*/
|
|
112
295
|
updateThumbAndTrackPosition() {
|
|
113
|
-
this.startThumbPosition = this.getValuePosition(this.startValue
|
|
114
|
-
this.endThumbPosition = this.getValuePosition(this.endValue
|
|
296
|
+
this.startThumbPosition = this.getValuePosition(this.startValue);
|
|
297
|
+
this.endThumbPosition = this.getValuePosition(this.endValue);
|
|
115
298
|
forceUpdate(this);
|
|
116
299
|
}
|
|
117
300
|
/**
|
|
118
|
-
* Focus the first slider when displayLabel is set to auto
|
|
119
|
-
*
|
|
120
|
-
* @ListensTo("focus")
|
|
301
|
+
* Focus the first slider when displayLabel is set to auto
|
|
302
|
+
* @private
|
|
121
303
|
*/
|
|
122
304
|
setFocusOnDisplayLabelAuto() {
|
|
123
305
|
if (this.displayLabel === "auto") {
|
|
@@ -126,59 +308,30 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
126
308
|
}
|
|
127
309
|
/**
|
|
128
310
|
* Sets the initial value of the slider to the minimum and maximum value when start and end value are not provided.
|
|
129
|
-
* When values are provided, shownValues get set.
|
|
130
|
-
*
|
|
311
|
+
* When values are provided, values get normalized and shownValues get set.
|
|
131
312
|
* @private
|
|
132
313
|
*/
|
|
133
314
|
setDefaultValues() {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
this.startShownValue = this.startValue.toString();
|
|
140
|
-
}
|
|
141
|
-
if (this.endValue === undefined || this.endValue === null) {
|
|
142
|
-
this.endValue = this.maxValue;
|
|
143
|
-
this.endShownValue = this.maxValue.toString();
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
this.endShownValue = this.endValue.toString();
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Sets the values of the slider to the minimum and maximum value when start and end value are out of bound.
|
|
151
|
-
*
|
|
152
|
-
* @private
|
|
153
|
-
*/
|
|
154
|
-
setOutboundValues() {
|
|
155
|
-
if (this.startValue < this.minValue) {
|
|
156
|
-
this.startValue = this.minValue;
|
|
157
|
-
this.startShownValue = this.minValue.toString();
|
|
158
|
-
}
|
|
159
|
-
if (this.endValue > this.maxValue) {
|
|
160
|
-
this.endValue = this.maxValue;
|
|
161
|
-
this.endShownValue = this.maxValue.toString();
|
|
162
|
-
}
|
|
315
|
+
const normalized = normalizeRangeValues(this.startValue, this.endValue, this.minValue, this.maxValue, this.step);
|
|
316
|
+
this.startValue = normalized.startValue;
|
|
317
|
+
this.startShownValue = this.startValue.toString();
|
|
318
|
+
this.endValue = normalized.endValue;
|
|
319
|
+
this.endShownValue = this.endValue.toString();
|
|
163
320
|
}
|
|
164
321
|
/**
|
|
165
|
-
* Calculates the CSS left position of the slider thumb based on the current value
|
|
166
|
-
*
|
|
322
|
+
* Calculates the CSS left position of the slider thumb based on the current value
|
|
167
323
|
* @private
|
|
168
|
-
* @
|
|
169
|
-
* @
|
|
170
|
-
* @returns {string} The calculated left position of the slider thumb as a CSS pixel value.
|
|
324
|
+
* @param {number} value - The value to calculate position for
|
|
325
|
+
* @returns {string} The calculated left position of the slider thumb as a CSS percentage value
|
|
171
326
|
*/
|
|
172
|
-
getValuePosition(value
|
|
173
|
-
return getPositionBasedOnValue(
|
|
327
|
+
getValuePosition(value) {
|
|
328
|
+
return getPositionBasedOnValue(this.maxValue, this.minValue, value);
|
|
174
329
|
}
|
|
175
330
|
/**
|
|
176
|
-
* Sets the start/end value of the slider range to the specified in the event
|
|
177
|
-
*
|
|
331
|
+
* Sets the start/end value of the slider range to the specified in the event
|
|
178
332
|
* @private
|
|
179
|
-
* @param {InputEvent} evt - The event emitted by the input
|
|
180
|
-
* @param {SliderRangeValueType} rangeType - start | end slider
|
|
181
|
-
* @returns {void}
|
|
333
|
+
* @param {InputEvent} evt - The event emitted by the input
|
|
334
|
+
* @param {SliderRangeValueType} rangeType - start | end slider
|
|
182
335
|
*/
|
|
183
336
|
handleInputRangeChange(evt, rangeType) {
|
|
184
337
|
const target = evt.target;
|
|
@@ -196,12 +349,10 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
196
349
|
}
|
|
197
350
|
/**
|
|
198
351
|
* Handles mouseover or focus events on the slider.
|
|
199
|
-
* Sets the
|
|
200
|
-
*
|
|
352
|
+
* Sets the displayLabelShowValue flag to true to indicate that the display label should show the value.
|
|
201
353
|
* @private
|
|
202
|
-
* @param {SliderRangeValueType} rangeType - The type of range (either "start" or "end")
|
|
203
|
-
* @param {"mouseover" | "focus"} eventTrigger - The type of event that triggered this function
|
|
204
|
-
* @returns {void}
|
|
354
|
+
* @param {SliderRangeValueType} rangeType - The type of range (either "start" or "end")
|
|
355
|
+
* @param {"mouseover" | "focus"} eventTrigger - The type of event that triggered this function
|
|
205
356
|
*/
|
|
206
357
|
handleInputMouseoverOrFocus(rangeType, eventTrigger) {
|
|
207
358
|
this.displayLabelShowValue = true;
|
|
@@ -218,11 +369,9 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
218
369
|
}
|
|
219
370
|
/**
|
|
220
371
|
* Handles mouseleave or blur events on the slider.
|
|
221
|
-
* Sets the
|
|
222
|
-
*
|
|
372
|
+
* Sets the displayLabelShowValue flag to false to hide the value in the display label.
|
|
223
373
|
* @private
|
|
224
|
-
* @param {SliderRangeValueType} rangeType - The type of range (either "start" or "end")
|
|
225
|
-
* @returns {void}
|
|
374
|
+
* @param {SliderRangeValueType} rangeType - The type of range (either "start" or "end")
|
|
226
375
|
*/
|
|
227
376
|
handleInputMouseleaveOrBlur(rangeType) {
|
|
228
377
|
this.displayLabelShowValue = false;
|
|
@@ -236,10 +385,8 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
236
385
|
/**
|
|
237
386
|
* Handles click events on the slider track.
|
|
238
387
|
* Calculates the corresponding value based on the click position and updates the slider's start or end value accordingly.
|
|
239
|
-
*
|
|
240
388
|
* @private
|
|
241
|
-
* @param {MouseEvent} evt - The mouse event object
|
|
242
|
-
* @returns {void}
|
|
389
|
+
* @param {MouseEvent} evt - The mouse event object
|
|
243
390
|
*/
|
|
244
391
|
handleTrackClick(evt) {
|
|
245
392
|
if (!this.disabled) {
|
|
@@ -267,10 +414,9 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
267
414
|
}
|
|
268
415
|
}
|
|
269
416
|
/**
|
|
270
|
-
* Determines whether the value should be displayed in the label based on the current displayLabel setting
|
|
271
|
-
*
|
|
417
|
+
* Determines whether the value should be displayed in the label based on the current displayLabel setting
|
|
272
418
|
* @private
|
|
273
|
-
* @returns {boolean}
|
|
419
|
+
* @returns {boolean} True if the value should be displayed, false otherwise
|
|
274
420
|
*/
|
|
275
421
|
getShowValue() {
|
|
276
422
|
let response = false;
|
|
@@ -289,17 +435,42 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
289
435
|
}
|
|
290
436
|
return response;
|
|
291
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Gets the marks to display on the slider track
|
|
440
|
+
* @private
|
|
441
|
+
* @returns {Marks[]} Array of mark definitions
|
|
442
|
+
*/
|
|
443
|
+
getMarks() {
|
|
444
|
+
if (!this.showMarks) {
|
|
445
|
+
return [];
|
|
446
|
+
}
|
|
447
|
+
const parsedMarks = parseMarks(this.marks, this.minValue, this.maxValue);
|
|
448
|
+
if (parsedMarks.length) {
|
|
449
|
+
return parsedMarks;
|
|
450
|
+
}
|
|
451
|
+
return buildStepMarks(this.minValue, this.maxValue, this.step);
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Renders the marks on the slider track
|
|
455
|
+
* @private
|
|
456
|
+
* @param {Marks[]} marks - Array of mark definitions
|
|
457
|
+
* @returns {HTMLStencilElement | null} Marks element or null if no marks
|
|
458
|
+
*/
|
|
459
|
+
renderMarks(marks) {
|
|
460
|
+
if (!marks.length) {
|
|
461
|
+
return null;
|
|
462
|
+
}
|
|
463
|
+
return (h("div", { class: "vds-slider-range__marks" }, marks.map((mark) => (h("div", { class: "vds-slider-range__mark", style: { left: `${valueToPercentage(this.minValue, this.maxValue, mark.value)}%` } }, h("span", { class: "vds-slider-range__mark-indicator" }), mark.label ? h("span", { class: "vds-slider-range__mark-label" }, mark.label) : null)))));
|
|
464
|
+
}
|
|
292
465
|
/**
|
|
293
466
|
* Sets the custom colors for the slider based on the colors property.
|
|
294
467
|
* This colors have to be css variables by preferences that work in both dark and light mode.
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* Background - ThemeColors - When specified, trackfill and track won't work. It will only be one background display.
|
|
300
|
-
*
|
|
468
|
+
* - Track: ThemeColors
|
|
469
|
+
* - TrackFill: ThemeColors
|
|
470
|
+
* - Thumb: ThemeColors
|
|
471
|
+
* - Background: ThemeColors - When specified, trackfill and track won't work. It will only be one background display
|
|
301
472
|
* @private
|
|
302
|
-
* @returns { [key: string]: string }
|
|
473
|
+
* @returns {{ [key: string]: string }} Object with CSS custom properties
|
|
303
474
|
*/
|
|
304
475
|
setColors() {
|
|
305
476
|
const styles = {};
|
|
@@ -319,6 +490,12 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
319
490
|
}
|
|
320
491
|
return styles;
|
|
321
492
|
}
|
|
493
|
+
/**
|
|
494
|
+
* Renders the value tooltip for start or end thumb
|
|
495
|
+
* @private
|
|
496
|
+
* @param {SliderRangeValueType} rangeType - The type of range (either "start" or "end")
|
|
497
|
+
* @returns {HTMLStencilElement} Value display element
|
|
498
|
+
*/
|
|
322
499
|
renderShownValue(rangeType) {
|
|
323
500
|
if (rangeType === "start") {
|
|
324
501
|
return (h("div", { class: "vds-slider-range__value-container" }, h("div", { class: "vds-slider-range__value-content", style: { left: this.startThumbPosition } }, h("div", { class: "vds-slider-range__value" }, h("div", { class: "vds__tooltip-container" }, h("span", { class: "vds__tooltip-container-text" }, this.startShownValue)), this.orientation !== "vertical" && h("vds-icon", { class: "tooltip-arrow", svgIcon: "caret-down-filled" })))));
|
|
@@ -327,17 +504,29 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
327
504
|
return (h("div", { class: "vds-slider-range__value-container" }, h("div", { class: "vds-slider-range__value-content", style: { left: this.endThumbPosition } }, h("div", { class: "vds-slider-range__value" }, h("div", { class: "vds__tooltip-container" }, h("span", { class: "vds__tooltip-container-text" }, this.endShownValue)), this.orientation !== "vertical" && h("vds-icon", { class: "tooltip-arrow", svgIcon: "caret-down-filled" })))));
|
|
328
505
|
}
|
|
329
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* Renders the min and max value references
|
|
509
|
+
* @private
|
|
510
|
+
* @returns {HTMLStencilElement} Value references element
|
|
511
|
+
*/
|
|
330
512
|
renderValueReferences() {
|
|
331
|
-
|
|
513
|
+
const { minLabel, maxLabel } = getLimitLabels(this.marks, this.minValue, this.maxValue);
|
|
514
|
+
return (h("div", { class: "vds-slider-range__value-reference-container" }, h("div", { class: combineClasses("vds-slider-range__value-reference") }, h("span", null, minLabel), h("span", null, maxLabel))));
|
|
332
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* Renders the main range slider inputs and track elements
|
|
518
|
+
* @private
|
|
519
|
+
* @returns {HTMLStencilElement} Range slider element
|
|
520
|
+
*/
|
|
333
521
|
renderSliders() {
|
|
522
|
+
const marks = this.getMarks();
|
|
334
523
|
return (h("div", { class: "vds-slider-range-input__content" }, h("div", { class: "vds-slider-range", onClick: (evt) => this.handleTrackClick(evt), ref: (el) => {
|
|
335
524
|
if (el) {
|
|
336
525
|
this.trackContentContainerEl = el;
|
|
337
526
|
}
|
|
338
527
|
} }, h("div", { class: "vds-slider-range__track" }), h("div", { class: "vds-slider-range__range", style: { width: `calc(${this.endThumbPosition} - ${this.startThumbPosition})`, left: `${this.startThumbPosition}` }, ref: (el) => {
|
|
339
528
|
this.trackRangeFillContainerEl = el;
|
|
340
|
-
} }), h("div", { class: "vds-slider-range__thumb vds-slider-range__thumb--start", style: { left: `${this.startThumbPosition}` } }, h("vds-icon", { svgIcon: this.icon, size: this.size === "medium" ? "1.25rem" : "1.5rem", class: "slider-thumb slider-start-thumb" })), h("div", { class: "vds-slider-range__thumb vds-slider-range__thumb--end", style: { left: `${this.endThumbPosition}` } }, h("vds-icon", { svgIcon: this.icon, size: this.size === "medium" ? "1.25rem" : "1.5rem", class: "slider-thumb slider-end-thumb" }))), h("input", { ref: (el) => {
|
|
529
|
+
} }), this.renderMarks(marks), h("div", { class: "vds-slider-range__thumb vds-slider-range__thumb--start", style: { left: `${this.startThumbPosition}` } }, h("vds-icon", { svgIcon: this.icon, size: this.size === "medium" ? "1.25rem" : "1.5rem", class: "slider-thumb slider-start-thumb" })), h("div", { class: "vds-slider-range__thumb vds-slider-range__thumb--end", style: { left: `${this.endThumbPosition}` } }, h("vds-icon", { svgIcon: this.icon, size: this.size === "medium" ? "1.25rem" : "1.5rem", class: "slider-thumb slider-end-thumb" }))), h("input", { ref: (el) => {
|
|
341
530
|
if (el) {
|
|
342
531
|
this.startInputRangeEl = el;
|
|
343
532
|
}
|
|
@@ -347,8 +536,12 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
347
536
|
}
|
|
348
537
|
}, class: combineClasses("vds-slider-input", "vds-slider-end-input", this.disabled ? "vds-slider-input--disabled" : ""), type: "range", step: this.step, onInput: (evt) => this.handleInputRangeChange(evt, "end"), onMouseOver: this.displayLabel === "auto" ? () => { this.handleInputMouseoverOrFocus("end", "mouseover"); } : null, onMouseLeave: this.displayLabel === "auto" && this.displayLabelEndEventTriggerIn === "mouseover" ? () => { this.handleInputMouseleaveOrBlur("end"); } : null, onFocus: this.displayLabel === "auto" ? () => { this.handleInputMouseoverOrFocus("end", "focus"); } : null, onBlur: this.displayLabel === "auto" && this.displayLabelEndEventTriggerIn === "focus" ? () => { this.handleInputMouseleaveOrBlur("end"); } : null, min: this.minValue, max: this.maxValue, value: this.endValue, disabled: this.disabled })));
|
|
349
538
|
}
|
|
539
|
+
/**
|
|
540
|
+
* Render the range slider component
|
|
541
|
+
* @returns {HTMLStencilElement} The rendered range slider element
|
|
542
|
+
*/
|
|
350
543
|
render() {
|
|
351
|
-
return (h(Host, { key: '
|
|
544
|
+
return (h(Host, { key: '9a4a0d966870d09223eb001dc6abdee6a43a7ff0', class: this.disabled ? "vds-slider-range--disabled" : "" }, h("div", { key: '43144e99abdc8eefefb21afefe413d900f247682', class: combineClasses("vds-slider-range__container", `vds-slider-range__container--${this.size}`, `vds-slider-range__container--orientation-${this.orientation}`, this.colors ? "vds-slider-range__container--custom-colors" : "vds-slider-range__container--colors", this.disabled ? "vds-slider-range__container--disabled" : "", this.displayLimits ? "vds-slider-range__container--display-limits" : ""), style: this.setColors() }, h("div", { key: '7581bdd688386cbe9ce91b5fa49e488e51d22997', class: "vds-slider-range__content", "aria-label": this.setAriaLabel }, this.getShowValue() && this.renderShownValue("start"), this.getShowValue() && this.renderShownValue("end"), this.renderSliders()), this.displayLimits && this.renderValueReferences())));
|
|
352
545
|
}
|
|
353
546
|
static get is() { return "vds-basic-slider-range-continuous"; }
|
|
354
547
|
static get encapsulation() { return "shadow"; }
|
|
@@ -375,8 +568,11 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
375
568
|
"required": false,
|
|
376
569
|
"optional": false,
|
|
377
570
|
"docs": {
|
|
378
|
-
"tags": [
|
|
379
|
-
|
|
571
|
+
"tags": [{
|
|
572
|
+
"name": "type",
|
|
573
|
+
"text": "{number}"
|
|
574
|
+
}],
|
|
575
|
+
"text": "Sets the start value of the slider"
|
|
380
576
|
},
|
|
381
577
|
"getter": false,
|
|
382
578
|
"setter": false,
|
|
@@ -394,8 +590,11 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
394
590
|
"required": false,
|
|
395
591
|
"optional": false,
|
|
396
592
|
"docs": {
|
|
397
|
-
"tags": [
|
|
398
|
-
|
|
593
|
+
"tags": [{
|
|
594
|
+
"name": "type",
|
|
595
|
+
"text": "{number}"
|
|
596
|
+
}],
|
|
597
|
+
"text": "Sets the end value of the slider"
|
|
399
598
|
},
|
|
400
599
|
"getter": false,
|
|
401
600
|
"setter": false,
|
|
@@ -413,8 +612,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
413
612
|
"required": false,
|
|
414
613
|
"optional": false,
|
|
415
614
|
"docs": {
|
|
416
|
-
"tags": [
|
|
417
|
-
|
|
615
|
+
"tags": [{
|
|
616
|
+
"name": "type",
|
|
617
|
+
"text": "{\"medium\" | \"large\"}"
|
|
618
|
+
}, {
|
|
619
|
+
"name": "default",
|
|
620
|
+
"text": "\"medium\""
|
|
621
|
+
}],
|
|
622
|
+
"text": "Sets the size of the slider"
|
|
418
623
|
},
|
|
419
624
|
"getter": false,
|
|
420
625
|
"setter": false,
|
|
@@ -433,8 +638,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
433
638
|
"required": false,
|
|
434
639
|
"optional": false,
|
|
435
640
|
"docs": {
|
|
436
|
-
"tags": [
|
|
437
|
-
|
|
641
|
+
"tags": [{
|
|
642
|
+
"name": "type",
|
|
643
|
+
"text": "{\"horizontal\" | \"vertical\"}"
|
|
644
|
+
}, {
|
|
645
|
+
"name": "default",
|
|
646
|
+
"text": "\"horizontal\""
|
|
647
|
+
}],
|
|
648
|
+
"text": "Sets the slider's orientation"
|
|
438
649
|
},
|
|
439
650
|
"getter": false,
|
|
440
651
|
"setter": false,
|
|
@@ -453,8 +664,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
453
664
|
"required": false,
|
|
454
665
|
"optional": false,
|
|
455
666
|
"docs": {
|
|
456
|
-
"tags": [
|
|
457
|
-
|
|
667
|
+
"tags": [{
|
|
668
|
+
"name": "type",
|
|
669
|
+
"text": "{boolean}"
|
|
670
|
+
}, {
|
|
671
|
+
"name": "default",
|
|
672
|
+
"text": "false"
|
|
673
|
+
}],
|
|
674
|
+
"text": "Sets the slider on disabled state"
|
|
458
675
|
},
|
|
459
676
|
"getter": false,
|
|
460
677
|
"setter": false,
|
|
@@ -473,8 +690,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
473
690
|
"required": false,
|
|
474
691
|
"optional": false,
|
|
475
692
|
"docs": {
|
|
476
|
-
"tags": [
|
|
477
|
-
|
|
693
|
+
"tags": [{
|
|
694
|
+
"name": "type",
|
|
695
|
+
"text": "{number}"
|
|
696
|
+
}, {
|
|
697
|
+
"name": "default",
|
|
698
|
+
"text": "0"
|
|
699
|
+
}],
|
|
700
|
+
"text": "Sets the min value of the slider (Min value should always be lower than the max value)"
|
|
478
701
|
},
|
|
479
702
|
"getter": false,
|
|
480
703
|
"setter": false,
|
|
@@ -493,8 +716,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
493
716
|
"required": false,
|
|
494
717
|
"optional": false,
|
|
495
718
|
"docs": {
|
|
496
|
-
"tags": [
|
|
497
|
-
|
|
719
|
+
"tags": [{
|
|
720
|
+
"name": "type",
|
|
721
|
+
"text": "{number}"
|
|
722
|
+
}, {
|
|
723
|
+
"name": "default",
|
|
724
|
+
"text": "100"
|
|
725
|
+
}],
|
|
726
|
+
"text": "Sets the max value of the slider"
|
|
498
727
|
},
|
|
499
728
|
"getter": false,
|
|
500
729
|
"setter": false,
|
|
@@ -513,14 +742,16 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
513
742
|
"required": false,
|
|
514
743
|
"optional": false,
|
|
515
744
|
"docs": {
|
|
516
|
-
"tags": [
|
|
517
|
-
|
|
745
|
+
"tags": [{
|
|
746
|
+
"name": "type",
|
|
747
|
+
"text": "{number}"
|
|
748
|
+
}],
|
|
749
|
+
"text": "Sets the amount of advance of the slider"
|
|
518
750
|
},
|
|
519
751
|
"getter": false,
|
|
520
752
|
"setter": false,
|
|
521
753
|
"reflect": false,
|
|
522
|
-
"attribute": "step"
|
|
523
|
-
"defaultValue": "1"
|
|
754
|
+
"attribute": "step"
|
|
524
755
|
},
|
|
525
756
|
"setAriaLabel": {
|
|
526
757
|
"type": "string",
|
|
@@ -533,7 +764,10 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
533
764
|
"required": false,
|
|
534
765
|
"optional": false,
|
|
535
766
|
"docs": {
|
|
536
|
-
"tags": [
|
|
767
|
+
"tags": [{
|
|
768
|
+
"name": "type",
|
|
769
|
+
"text": "{string}"
|
|
770
|
+
}],
|
|
537
771
|
"text": "Sets the aria label in slider"
|
|
538
772
|
},
|
|
539
773
|
"getter": false,
|
|
@@ -552,8 +786,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
552
786
|
"required": false,
|
|
553
787
|
"optional": false,
|
|
554
788
|
"docs": {
|
|
555
|
-
"tags": [
|
|
556
|
-
|
|
789
|
+
"tags": [{
|
|
790
|
+
"name": "type",
|
|
791
|
+
"text": "{\"on\" | \"off\" | \"auto\"}"
|
|
792
|
+
}, {
|
|
793
|
+
"name": "default",
|
|
794
|
+
"text": "\"on\""
|
|
795
|
+
}],
|
|
796
|
+
"text": "Toggles the value over the thumb in the slider\n- on: Always shows value over the thumb\n- off: Do not show the value over the thumb\n- auto: Shows value over the thumb when mouse hover"
|
|
557
797
|
},
|
|
558
798
|
"getter": false,
|
|
559
799
|
"setter": false,
|
|
@@ -572,8 +812,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
572
812
|
"required": false,
|
|
573
813
|
"optional": false,
|
|
574
814
|
"docs": {
|
|
575
|
-
"tags": [
|
|
576
|
-
|
|
815
|
+
"tags": [{
|
|
816
|
+
"name": "type",
|
|
817
|
+
"text": "{boolean}"
|
|
818
|
+
}, {
|
|
819
|
+
"name": "default",
|
|
820
|
+
"text": "true"
|
|
821
|
+
}],
|
|
822
|
+
"text": "Toggles the limit value (min and max) of the slider"
|
|
577
823
|
},
|
|
578
824
|
"getter": false,
|
|
579
825
|
"setter": false,
|
|
@@ -592,8 +838,11 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
592
838
|
"required": false,
|
|
593
839
|
"optional": false,
|
|
594
840
|
"docs": {
|
|
595
|
-
"tags": [
|
|
596
|
-
|
|
841
|
+
"tags": [{
|
|
842
|
+
"name": "type",
|
|
843
|
+
"text": "{{ [key: string]: string } | string}"
|
|
844
|
+
}],
|
|
845
|
+
"text": "Sets colors of the slider\n- Track: ThemeColors\n- TrackFill: ThemeColors\n- Thumb: ThemeColors\n- Background: ThemeColors - When specified, trackfill and track won't work. It will only be one background display"
|
|
597
846
|
},
|
|
598
847
|
"getter": false,
|
|
599
848
|
"setter": false,
|
|
@@ -611,7 +860,13 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
611
860
|
"required": false,
|
|
612
861
|
"optional": false,
|
|
613
862
|
"docs": {
|
|
614
|
-
"tags": [
|
|
863
|
+
"tags": [{
|
|
864
|
+
"name": "type",
|
|
865
|
+
"text": "{string}"
|
|
866
|
+
}, {
|
|
867
|
+
"name": "default",
|
|
868
|
+
"text": "\"thumb\""
|
|
869
|
+
}],
|
|
615
870
|
"text": "Sets the thumb icon"
|
|
616
871
|
},
|
|
617
872
|
"getter": false,
|
|
@@ -619,6 +874,59 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
619
874
|
"reflect": false,
|
|
620
875
|
"attribute": "icon",
|
|
621
876
|
"defaultValue": "\"thumb\""
|
|
877
|
+
},
|
|
878
|
+
"showMarks": {
|
|
879
|
+
"type": "boolean",
|
|
880
|
+
"mutable": false,
|
|
881
|
+
"complexType": {
|
|
882
|
+
"original": "boolean",
|
|
883
|
+
"resolved": "boolean",
|
|
884
|
+
"references": {}
|
|
885
|
+
},
|
|
886
|
+
"required": false,
|
|
887
|
+
"optional": false,
|
|
888
|
+
"docs": {
|
|
889
|
+
"tags": [{
|
|
890
|
+
"name": "type",
|
|
891
|
+
"text": "{boolean}"
|
|
892
|
+
}, {
|
|
893
|
+
"name": "default",
|
|
894
|
+
"text": "false"
|
|
895
|
+
}],
|
|
896
|
+
"text": "Show / Hide marks in the slider track"
|
|
897
|
+
},
|
|
898
|
+
"getter": false,
|
|
899
|
+
"setter": false,
|
|
900
|
+
"reflect": false,
|
|
901
|
+
"attribute": "show-marks",
|
|
902
|
+
"defaultValue": "false"
|
|
903
|
+
},
|
|
904
|
+
"marks": {
|
|
905
|
+
"type": "unknown",
|
|
906
|
+
"mutable": false,
|
|
907
|
+
"complexType": {
|
|
908
|
+
"original": "Marks[]",
|
|
909
|
+
"resolved": "Marks[]",
|
|
910
|
+
"references": {
|
|
911
|
+
"Marks": {
|
|
912
|
+
"location": "import",
|
|
913
|
+
"path": "../../utils/slider.utils",
|
|
914
|
+
"id": "src/utils/slider.utils.ts::Marks",
|
|
915
|
+
"referenceLocation": "Marks"
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"required": false,
|
|
920
|
+
"optional": false,
|
|
921
|
+
"docs": {
|
|
922
|
+
"tags": [{
|
|
923
|
+
"name": "type",
|
|
924
|
+
"text": "{Marks[]}"
|
|
925
|
+
}],
|
|
926
|
+
"text": "Marks definition for discrete slider mode"
|
|
927
|
+
},
|
|
928
|
+
"getter": false,
|
|
929
|
+
"setter": false
|
|
622
930
|
}
|
|
623
931
|
};
|
|
624
932
|
}
|
|
@@ -635,8 +943,14 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
635
943
|
"cancelable": true,
|
|
636
944
|
"composed": true,
|
|
637
945
|
"docs": {
|
|
638
|
-
"tags": [
|
|
639
|
-
|
|
946
|
+
"tags": [{
|
|
947
|
+
"name": "event",
|
|
948
|
+
"text": "changeRangeValue"
|
|
949
|
+
}, {
|
|
950
|
+
"name": "type",
|
|
951
|
+
"text": "{EventEmitter<{ startValue: number; endValue: number }>}"
|
|
952
|
+
}],
|
|
953
|
+
"text": "Emits updated range values when start or end value changes"
|
|
640
954
|
},
|
|
641
955
|
"complexType": {
|
|
642
956
|
"original": "{ startValue: number; endValue: number }",
|
|
@@ -653,7 +967,7 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
653
967
|
"parameters": [{
|
|
654
968
|
"name": "__0",
|
|
655
969
|
"type": "{ startValue: number; endValue: number; }",
|
|
656
|
-
"docs": "
|
|
970
|
+
"docs": "- The new values for the slider"
|
|
657
971
|
}],
|
|
658
972
|
"references": {
|
|
659
973
|
"Promise": {
|
|
@@ -664,13 +978,19 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
664
978
|
"return": "Promise<void>"
|
|
665
979
|
},
|
|
666
980
|
"docs": {
|
|
667
|
-
"text": "Sets the slider startValue and endValue to the specified
|
|
981
|
+
"text": "Sets the slider startValue and endValue to the specified values",
|
|
668
982
|
"tags": [{
|
|
983
|
+
"name": "method",
|
|
984
|
+
"text": undefined
|
|
985
|
+
}, {
|
|
986
|
+
"name": "public",
|
|
987
|
+
"text": undefined
|
|
988
|
+
}, {
|
|
669
989
|
"name": "param",
|
|
670
|
-
"text": "
|
|
990
|
+
"text": "values - The new values for the slider"
|
|
671
991
|
}, {
|
|
672
992
|
"name": "returns",
|
|
673
|
-
"text": "A promise that resolves when the
|
|
993
|
+
"text": "A promise that resolves when the values are set"
|
|
674
994
|
}]
|
|
675
995
|
}
|
|
676
996
|
},
|
|
@@ -687,10 +1007,16 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
687
1007
|
"return": "Promise<{ startValue: number; endValue: number; }>"
|
|
688
1008
|
},
|
|
689
1009
|
"docs": {
|
|
690
|
-
"text": "Gets the slider startValue and endValue
|
|
1010
|
+
"text": "Gets the slider startValue and endValue",
|
|
691
1011
|
"tags": [{
|
|
1012
|
+
"name": "method",
|
|
1013
|
+
"text": undefined
|
|
1014
|
+
}, {
|
|
1015
|
+
"name": "public",
|
|
1016
|
+
"text": undefined
|
|
1017
|
+
}, {
|
|
692
1018
|
"name": "returns",
|
|
693
|
-
"text": "A promise that resolves the values
|
|
1019
|
+
"text": "A promise that resolves with the current values"
|
|
694
1020
|
}]
|
|
695
1021
|
}
|
|
696
1022
|
},
|
|
@@ -707,10 +1033,16 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
707
1033
|
"return": "Promise<void>"
|
|
708
1034
|
},
|
|
709
1035
|
"docs": {
|
|
710
|
-
"text": "Clears the slider range values by setting
|
|
1036
|
+
"text": "Clears the slider range values by setting them to the minimum and maximum value respectively",
|
|
711
1037
|
"tags": [{
|
|
1038
|
+
"name": "method",
|
|
1039
|
+
"text": undefined
|
|
1040
|
+
}, {
|
|
1041
|
+
"name": "public",
|
|
1042
|
+
"text": undefined
|
|
1043
|
+
}, {
|
|
712
1044
|
"name": "returns",
|
|
713
|
-
"text": "A promise that resolves when the
|
|
1045
|
+
"text": "A promise that resolves when the values are cleared"
|
|
714
1046
|
}]
|
|
715
1047
|
}
|
|
716
1048
|
},
|
|
@@ -727,10 +1059,16 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
727
1059
|
"return": "Promise<void>"
|
|
728
1060
|
},
|
|
729
1061
|
"docs": {
|
|
730
|
-
"text": "Focus the slider range by focusing start slider
|
|
1062
|
+
"text": "Focus the slider range by focusing start slider",
|
|
731
1063
|
"tags": [{
|
|
1064
|
+
"name": "method",
|
|
1065
|
+
"text": undefined
|
|
1066
|
+
}, {
|
|
1067
|
+
"name": "public",
|
|
1068
|
+
"text": undefined
|
|
1069
|
+
}, {
|
|
732
1070
|
"name": "returns",
|
|
733
|
-
"text": "A promise that resolves when the first slider is focused
|
|
1071
|
+
"text": "A promise that resolves when the first slider is focused"
|
|
734
1072
|
}]
|
|
735
1073
|
}
|
|
736
1074
|
}
|
|
@@ -762,4 +1100,3 @@ export class VdsBasicSliderRangeContinuous {
|
|
|
762
1100
|
}];
|
|
763
1101
|
}
|
|
764
1102
|
}
|
|
765
|
-
//# sourceMappingURL=vds-basic-slider-range-continuous.js.map
|