@six-group/ui-library 4.3.2 → 5.0.0-rc.1
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/cjs/animation-ZgWV0fC6.js +54 -0
- package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{error-messages-6e8049a4.js → error-messages-Bi-7xy31.js} +5 -4
- package/dist/cjs/error-messages-Bi-7xy31.js.map +1 -0
- package/dist/cjs/{event-listeners-9fb878f1.js → event-listeners-BrSR7arL.js} +2 -1
- package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
- package/dist/cjs/{execution-control-d728da70.js → execution-control-oU0MWBWI.js} +2 -1
- package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
- package/dist/cjs/{focus-visible-e2c9255a.js → focus-visible-CMftNtQ2.js} +2 -1
- package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
- package/dist/cjs/{form-9ebaae7c.js → form-CaXKJAMY.js} +2 -1
- package/dist/cjs/form-CaXKJAMY.js.map +1 -0
- package/dist/cjs/{form-control-b39f1df5.js → form-control-CX8QRq9v.js} +5 -4
- package/dist/cjs/form-control-CX8QRq9v.js.map +1 -0
- package/dist/cjs/{index-417a06c8.js → index-C8rK7OAe.js} +532 -321
- package/dist/cjs/index-C8rK7OAe.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{modal-bd7fc5bc.js → modal-BVAZIrez.js} +2 -1
- package/dist/cjs/modal-BVAZIrez.js.map +1 -0
- package/dist/cjs/{popover-1e7c09f1.js → popover-BUVXXnz7.js} +26 -12
- package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
- package/dist/cjs/{popup-e854acda.js → popup-BBJQmXUh.js} +2 -1
- package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
- package/dist/cjs/{scroll-68033901.js → scroll-BQR9FxnJ.js} +2 -1
- package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
- package/dist/cjs/six-alert.cjs.entry.js +22 -16
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
- package/dist/cjs/six-avatar.cjs.entry.js +13 -11
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-badge.cjs.entry.js +9 -8
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
- package/dist/cjs/six-button.cjs.entry.js +53 -30
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-card.cjs.entry.js +5 -7
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js +208 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-date.cjs.entry.js +22700 -0
- package/dist/cjs/six-date.cjs.entry.js.map +1 -0
- package/dist/cjs/six-date.entry.cjs.js.map +1 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +86 -44
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-details.cjs.entry.js +28 -23
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dialog.cjs.entry.js +41 -28
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/six-drawer.cjs.entry.js +48 -30
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/{six-dropdown_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +119 -139
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-error-page.cjs.entry.js +7 -10
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
- package/dist/cjs/six-error.cjs.entry.js +4 -6
- package/dist/cjs/six-error.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +17 -15
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list.cjs.entry.js +4 -6
- package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-upload.cjs.entry.js +34 -29
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
- package/dist/cjs/six-footer.cjs.entry.js +5 -7
- package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-group-label.cjs.entry.js +16 -13
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +16 -9
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-item.cjs.entry.js +28 -0
- package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +15 -8
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +18 -183
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon-button.cjs.entry.js +12 -18
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon.cjs.entry.js +8 -8
- package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/six-input.cjs.entry.js +65 -53
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.entry.cjs.js.map +1 -0
- package/dist/cjs/six-item-picker.cjs.entry.js +33 -16
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-language-switcher.cjs.entry.js +7 -9
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
- package/dist/cjs/six-layout-grid.cjs.entry.js +4 -7
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/six-logo.cjs.entry.js +28 -0
- package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
- package/dist/cjs/six-main-container.cjs.entry.js +6 -6
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-divider.cjs.entry.js +5 -7
- package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-label.cjs.entry.js +5 -7
- package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-picto.cjs.entry.js +7 -6
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-bar.cjs.entry.js +9 -9
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-ring.cjs.entry.js +8 -7
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
- package/dist/cjs/six-radio.cjs.entry.js +21 -18
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/six-range.cjs.entry.js +43 -33
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.entry.cjs.js.map +1 -0
- package/dist/cjs/six-root.cjs.entry.js +8 -6
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.entry.cjs.js.map +1 -0
- package/dist/cjs/six-search-field.cjs.entry.js +16 -15
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
- package/dist/cjs/six-select.cjs.entry.js +90 -56
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +24 -16
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item.cjs.entry.js +11 -9
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar.cjs.entry.js +21 -19
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-spinner.cjs.entry.js +4 -8
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/six-stage-indicator.cjs.entry.js +5 -6
- package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
- package/dist/cjs/six-switch.cjs.entry.js +30 -25
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-group.cjs.entry.js +17 -50
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-panel.cjs.entry.js +7 -7
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab.cjs.entry.js +11 -9
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tag.cjs.entry.js +17 -15
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/six-textarea.cjs.entry.js +51 -41
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tile.cjs.entry.js +29 -24
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
- package/dist/cjs/six-timepicker.cjs.entry.js +99 -40
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tooltip.cjs.entry.js +39 -27
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/{slot-1b1232a1.js → slot-DBK7c7jH.js} +2 -1
- package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
- package/dist/cjs/{types-d3da200b.js → types-7ZstPoJD.js} +2 -1
- package/dist/cjs/types-7ZstPoJD.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +8 -7
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/six-alert/six-alert.css +11 -0
- package/dist/collection/components/six-alert/six-alert.js +25 -9
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.css +11 -0
- package/dist/collection/components/six-avatar/six-avatar.js +21 -9
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.css +11 -0
- package/dist/collection/components/six-badge/six-badge.js +14 -5
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.css +14 -1
- package/dist/collection/components/six-button/six-button.js +87 -34
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-card/six-card.css +11 -0
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.css +11 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +59 -25
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-date/calendar-grid.js +30 -0
- package/dist/collection/components/six-date/calendar-grid.js.map +1 -0
- package/dist/collection/components/six-date/components/day-selection.js +16 -0
- package/dist/collection/components/six-date/components/day-selection.js.map +1 -0
- package/dist/collection/components/six-date/components/month-selection.js +17 -0
- package/dist/collection/components/six-date/components/month-selection.js.map +1 -0
- package/dist/collection/components/six-date/components/year-selection.js +16 -0
- package/dist/collection/components/six-date/components/year-selection.js.map +1 -0
- package/dist/collection/components/six-date/iso-date.js +92 -0
- package/dist/collection/components/six-date/iso-date.js.map +1 -0
- package/dist/collection/components/six-date/six-date.css +168 -0
- package/dist/collection/components/six-date/six-date.js +735 -0
- package/dist/collection/components/six-date/six-date.js.map +1 -0
- package/dist/collection/components/six-date/translations.js +110 -0
- package/dist/collection/components/six-date/translations.js.map +1 -0
- package/dist/collection/components/six-datepicker/six-datepicker.css +11 -0
- package/dist/collection/components/six-datepicker/six-datepicker.js +159 -56
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.css +11 -0
- package/dist/collection/components/six-details/six-details.js +43 -20
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.css +11 -0
- package/dist/collection/components/six-dialog/six-dialog.js +46 -25
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.css +11 -0
- package/dist/collection/components/six-drawer/six-drawer.js +59 -29
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.css +11 -0
- package/dist/collection/components/six-dropdown/six-dropdown.js +120 -79
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +20 -10
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +30 -14
- package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
- package/dist/collection/components/six-file-upload/six-file-upload.css +11 -3
- package/dist/collection/components/six-file-upload/six-file-upload.js +55 -30
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-footer/six-footer.css +11 -0
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-group-label/six-group-label.css +11 -0
- package/dist/collection/components/six-group-label/six-group-label.js +25 -10
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.css +11 -20
- package/dist/collection/components/six-header/six-header.js +20 -487
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +56 -3
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
- package/dist/collection/components/six-header-item/six-header-item.css +2 -2
- package/dist/collection/components/six-header-item/six-header-item.js +12 -6
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +101 -10
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
- package/dist/collection/components/six-icon/six-icon.css +11 -0
- package/dist/collection/components/six-icon/six-icon.js +10 -4
- package/dist/collection/components/six-icon/six-icon.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.css +11 -0
- package/dist/collection/components/six-icon-button/six-icon-button.js +31 -19
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.css +11 -0
- package/dist/collection/components/six-input/six-input.js +142 -68
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +68 -20
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +9 -4
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +4 -5
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-logo/six-logo.js +5 -2
- package/dist/collection/components/six-logo/six-logo.js.map +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js +6 -2
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-menu/six-menu.css +11 -0
- package/dist/collection/components/six-menu/six-menu.js +50 -15
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.css +11 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.css +11 -0
- package/dist/collection/components/six-menu-item/six-menu-item.js +22 -9
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.css +11 -0
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-picto/six-picto.js +7 -2
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.css +11 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +11 -5
- package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.css +11 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +13 -4
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-radio/six-radio.css +11 -0
- package/dist/collection/components/six-radio/six-radio.js +28 -13
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-range/six-range.css +11 -0
- package/dist/collection/components/six-range/six-range.js +75 -34
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +14 -4
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.css +11 -0
- package/dist/collection/components/six-search-field/six-search-field.js +24 -11
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.css +11 -10
- package/dist/collection/components/six-select/six-select.js +157 -89
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.css +11 -0
- package/dist/collection/components/six-sidebar/six-sidebar.js +23 -11
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +8 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +39 -7
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +19 -2
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +38 -16
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.css +11 -0
- package/dist/collection/components/six-spinner/six-spinner.js +6 -6
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +11 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +4 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.css +11 -0
- package/dist/collection/components/six-switch/six-switch.js +47 -22
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.css +23 -0
- package/dist/collection/components/six-tab/six-tab.js +18 -6
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.css +11 -0
- package/dist/collection/components/six-tab-group/six-tab-group.js +14 -8
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.css +11 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +9 -3
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.css +11 -0
- package/dist/collection/components/six-tag/six-tag.js +22 -10
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.css +11 -0
- package/dist/collection/components/six-textarea/six-textarea.js +106 -50
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-tile/six-tile.css +11 -0
- package/dist/collection/components/six-tile/six-tile.js +43 -22
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.css +12 -2
- package/dist/collection/components/six-timepicker/six-timepicker.js +156 -49
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.css +11 -0
- package/dist/collection/components/six-tooltip/six-tooltip.js +51 -23
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/collection/functional-components/form-control/form-control.js +2 -2
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/utils/animation.js +13 -0
- package/dist/collection/utils/animation.js.map +1 -1
- package/dist/collection/utils/error-messages.js +3 -3
- package/dist/collection/utils/error-messages.js.map +1 -1
- package/dist/collection/utils/popover-util.js +8 -0
- package/dist/collection/utils/popover-util.js.map +1 -0
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{six-dropdown2.js → p-9aUb96SZ.js} +95 -69
- package/dist/components/p-9aUb96SZ.js.map +1 -0
- package/dist/{esm/form-4b145b7a.js → components/p-B1bClJZ6.js} +2 -1
- package/dist/components/p-B1bClJZ6.js.map +1 -0
- package/dist/components/{six-spinner2.js → p-BB2rei7y.js} +6 -8
- package/dist/components/p-BB2rei7y.js.map +1 -0
- package/dist/components/{six-item-picker2.js → p-BR2t7cws.js} +35 -16
- package/dist/components/p-BR2t7cws.js.map +1 -0
- package/dist/components/{six-icon2.js → p-BSHZAiyG.js} +10 -8
- package/dist/components/p-BSHZAiyG.js.map +1 -0
- package/dist/components/p-BUN8hFmL.js +173 -0
- package/dist/components/p-BUN8hFmL.js.map +1 -0
- package/dist/{esm/scroll-3e16851e.js → components/p-BY6hIEFX.js} +2 -1
- package/dist/components/p-BY6hIEFX.js.map +1 -0
- package/dist/components/{six-menu-item2.js → p-C28WDWgL.js} +20 -15
- package/dist/components/p-C28WDWgL.js.map +1 -0
- package/dist/components/{event-listeners.js → p-C4h4qpGl.js} +2 -1
- package/dist/{cjs/event-listeners-9fb878f1.js.map → components/p-C4h4qpGl.js.map} +1 -1
- package/dist/components/{execution-control.js → p-CKhg9ibv.js} +2 -1
- package/dist/components/p-CKhg9ibv.js.map +1 -0
- package/dist/components/{six-menu2.js → p-CSL17OWk.js} +43 -23
- package/dist/components/p-CSL17OWk.js.map +1 -0
- package/dist/components/{six-error2.js → p-CWKq6Dyt.js} +6 -6
- package/dist/components/p-CWKq6Dyt.js.map +1 -0
- package/dist/components/{modal.js → p-CfIoyvm-.js} +2 -1
- package/dist/components/p-CfIoyvm-.js.map +1 -0
- package/dist/components/p-Cfyrva2T.js +180 -0
- package/dist/components/p-Cfyrva2T.js.map +1 -0
- package/dist/components/p-Cosz73fX.js +76 -0
- package/dist/components/p-Cosz73fX.js.map +1 -0
- package/dist/components/{six-details2.js → p-Cs1jspzx.js} +31 -24
- package/dist/components/p-Cs1jspzx.js.map +1 -0
- package/dist/components/{six-tooltip2.js → p-Cs6mMfx-.js} +41 -27
- package/dist/components/p-Cs6mMfx-.js.map +1 -0
- package/dist/components/p-D512q9rn.js +1709 -0
- package/dist/components/p-D512q9rn.js.map +1 -0
- package/dist/{esm/form-control-ad1710bf.js → components/p-DIkvCBxr.js} +5 -4
- package/dist/components/p-DIkvCBxr.js.map +1 -0
- package/dist/components/{six-picto2.js → p-DYlDF9Rw.js} +9 -6
- package/dist/components/p-DYlDF9Rw.js.map +1 -0
- package/dist/components/{six-timepicker2.js → p-DnLdSdN5.js} +103 -42
- package/dist/components/p-DnLdSdN5.js.map +1 -0
- package/dist/components/p-DsGIkEDB.js +305 -0
- package/dist/components/p-DsGIkEDB.js.map +1 -0
- package/dist/components/{six-stage-indicator2.js → p-DyYwMIDQ.js} +8 -7
- package/dist/components/p-DyYwMIDQ.js.map +1 -0
- package/dist/components/p-SLlDVtvF.js +51 -0
- package/dist/components/p-SLlDVtvF.js.map +1 -0
- package/dist/{esm/focus-visible-d9dbfeef.js → components/p-Vw_F19Fv.js} +2 -1
- package/dist/components/p-Vw_F19Fv.js.map +1 -0
- package/dist/{esm/slot-56531341.js → components/p-j3oIB5oT.js} +2 -1
- package/dist/components/p-j3oIB5oT.js.map +1 -0
- package/dist/{esm/popover-25996e62.js → components/p-kHci8ddv.js} +26 -12
- package/dist/components/p-kHci8ddv.js.map +1 -0
- package/dist/components/six-alert.js +26 -18
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +15 -11
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +10 -7
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.js +2 -1
- package/dist/components/six-card.js +6 -6
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.js +2 -1
- package/dist/components/six-date.d.ts +11 -0
- package/dist/components/six-date.js +22764 -0
- package/dist/components/six-date.js.map +1 -0
- package/dist/components/six-datepicker.js +93 -49
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.js +2 -1
- package/dist/components/six-dialog.js +44 -29
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +51 -31
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.js +2 -1
- package/dist/components/six-error-page.js +10 -11
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-error.js +2 -1
- package/dist/components/six-file-list-item.js +19 -15
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.js +5 -5
- package/dist/components/six-file-list.js.map +1 -1
- package/dist/components/six-file-upload.js +38 -31
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +6 -6
- package/dist/components/six-footer.js.map +1 -1
- package/dist/components/six-group-label.js +18 -13
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header-dropdown-item.js +26 -15
- package/dist/components/six-header-dropdown-item.js.map +1 -1
- package/dist/components/six-header-item.js +39 -1
- package/dist/components/six-header-item.js.map +1 -1
- package/dist/components/six-header-menu-button.js +24 -17
- package/dist/components/six-header-menu-button.js.map +1 -1
- package/dist/components/six-header.js +21 -253
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button.js +2 -1
- package/dist/components/six-icon.js +2 -1
- package/dist/components/six-input.js +2 -1
- package/dist/components/six-item-picker.js +2 -1
- package/dist/components/six-language-switcher.js +8 -8
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +5 -6
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-logo.js +39 -1
- package/dist/components/six-logo.js.map +1 -1
- package/dist/components/six-main-container.js +7 -5
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-divider.js +6 -6
- package/dist/components/six-menu-divider.js.map +1 -1
- package/dist/components/six-menu-item.js +2 -1
- package/dist/components/six-menu-label.js +6 -6
- package/dist/components/six-menu-label.js.map +1 -1
- package/dist/components/six-menu.js +2 -1
- package/dist/components/six-picto.js +2 -1
- package/dist/components/six-progress-bar.js +10 -8
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +9 -6
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +22 -17
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +46 -34
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +11 -7
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +20 -17
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +103 -68
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +28 -18
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +20 -9
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +22 -18
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner.js +2 -1
- package/dist/components/six-stage-indicator.js +2 -1
- package/dist/components/six-switch.js +32 -25
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +19 -50
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +8 -6
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +14 -10
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +21 -17
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.js +53 -41
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +33 -26
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.js +2 -1
- package/dist/components/six-tooltip.js +2 -1
- package/dist/components.d.ts +8 -0
- package/dist/components.json +3990 -1480
- package/dist/esm/animation-SLlDVtvF.js +51 -0
- package/dist/esm/animation-SLlDVtvF.js.map +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{error-messages-1eaaad23.js → error-messages-1oJarDAY.js} +5 -4
- package/dist/esm/error-messages-1oJarDAY.js.map +1 -0
- package/dist/esm/{event-listeners-706d4309.js → event-listeners-C4h4qpGl.js} +2 -1
- package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
- package/dist/esm/{execution-control-2ebaf4ef.js → execution-control-CKhg9ibv.js} +2 -1
- package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
- package/dist/{components/focus-visible.js → esm/focus-visible-Vw_F19Fv.js} +2 -1
- package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
- package/dist/{components/form.js → esm/form-B1bClJZ6.js} +2 -1
- package/dist/esm/form-B1bClJZ6.js.map +1 -0
- package/dist/{components/form-control.js → esm/form-control-DI6V1ZhR.js} +5 -4
- package/dist/esm/form-control-DI6V1ZhR.js.map +1 -0
- package/dist/esm/{index-a7bee415.js → index-JoG9I7EO.js} +531 -300
- package/dist/esm/index-JoG9I7EO.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +5 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{modal-6c1288e3.js → modal-CfIoyvm-.js} +2 -1
- package/dist/esm/modal-CfIoyvm-.js.map +1 -0
- package/dist/{components/popover.js → esm/popover-kHci8ddv.js} +26 -12
- package/dist/esm/popover-kHci8ddv.js.map +1 -0
- package/dist/esm/{popup-7209e9d5.js → popup-Dd6pdO8C.js} +2 -1
- package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
- package/dist/{components/scroll.js → esm/scroll-BY6hIEFX.js} +2 -1
- package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
- package/dist/esm/six-alert.entry.js +22 -14
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +13 -9
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +9 -6
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +53 -28
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +5 -5
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
- package/dist/esm/six-checkbox_2.entry.js +205 -0
- package/dist/esm/six-checkbox_2.entry.js.map +1 -0
- package/dist/esm/six-date.entry.js +22698 -0
- package/dist/esm/six-date.entry.js.map +1 -0
- package/dist/esm/six-datepicker.entry.js +86 -42
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +28 -21
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +41 -26
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +48 -28
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
- package/dist/esm/{six-dropdown_3.entry.js → six-dropdown_2.entry.js} +120 -137
- package/dist/esm/six-dropdown_2.entry.js.map +1 -0
- package/dist/esm/six-error-page.entry.js +7 -8
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +4 -4
- package/dist/esm/six-error.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +17 -13
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +4 -4
- package/dist/esm/six-file-list.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +34 -27
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +5 -5
- package/dist/esm/six-footer.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +16 -11
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header-dropdown-item.entry.js +16 -7
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
- package/dist/esm/six-header-item.entry.js +26 -0
- package/dist/esm/six-header-item.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +15 -6
- package/dist/esm/six-header-menu-button.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +18 -181
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +12 -16
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +8 -6
- package/dist/esm/six-icon.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +65 -51
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +33 -14
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +7 -7
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +4 -5
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-logo.entry.js +26 -0
- package/dist/esm/six-logo.entry.js.map +1 -0
- package/dist/esm/six-main-container.entry.js +6 -4
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +5 -5
- package/dist/esm/six-menu-divider.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +5 -5
- package/dist/esm/six-menu-label.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +7 -4
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +9 -7
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +8 -5
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +21 -16
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +43 -31
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +8 -4
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +16 -13
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +90 -54
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +24 -14
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +11 -7
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +21 -17
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +4 -6
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-stage-indicator.entry.js +5 -4
- package/dist/esm/six-stage-indicator.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +30 -23
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +16 -47
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +7 -5
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +11 -7
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +17 -13
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +51 -39
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +29 -22
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +99 -38
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +39 -25
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/{components/slot.js → esm/slot-j3oIB5oT.js} +2 -1
- package/dist/esm/slot-j3oIB5oT.js.map +1 -0
- package/dist/esm/{types-a07bb999.js → types-WA6V9mN8.js} +2 -1
- package/dist/esm/types-WA6V9mN8.js.map +1 -0
- package/dist/esm/ui-library.js +7 -5
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-button/six-button.d.ts +1 -0
- package/dist/types/components/six-date/calendar-grid.d.ts +20 -0
- package/dist/types/components/six-date/components/day-selection.d.ts +8 -0
- package/dist/types/components/six-date/components/month-selection.d.ts +7 -0
- package/dist/types/components/six-date/components/year-selection.d.ts +7 -0
- package/dist/types/components/six-date/iso-date.d.ts +57 -0
- package/dist/types/components/six-date/six-date.d.ts +143 -0
- package/dist/types/components/six-date/translations.d.ts +37 -0
- package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
- package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +1 -8
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
- package/dist/types/components/six-header/six-header.d.ts +2 -128
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
- package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
- package/dist/types/components/six-select/six-select.d.ts +1 -7
- package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +2 -0
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +2 -0
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +901 -153
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/dist/types/utils/animation.d.ts +4 -0
- package/dist/types/utils/error-messages.d.ts +2 -2
- package/dist/types/utils/popover-util.d.ts +1 -0
- package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/ui-library/index.esm.js +1 -1
- package/dist/ui-library/index.esm.js.map +1 -1
- package/dist/ui-library/loader.esm.js.map +1 -0
- package/dist/ui-library/p-01243b2e.entry.js +2 -0
- package/dist/ui-library/p-01243b2e.entry.js.map +1 -0
- package/dist/ui-library/p-09de2bda.entry.js +2 -0
- package/dist/ui-library/p-09de2bda.entry.js.map +1 -0
- package/dist/ui-library/p-0eb90caf.entry.js +2 -0
- package/dist/ui-library/p-0eb90caf.entry.js.map +1 -0
- package/dist/ui-library/p-14f79bfc.entry.js +2 -0
- package/dist/ui-library/p-14f79bfc.entry.js.map +1 -0
- package/dist/ui-library/p-174dd242.entry.js +2 -0
- package/dist/ui-library/p-174dd242.entry.js.map +1 -0
- package/dist/ui-library/p-18e755bc.entry.js +2 -0
- package/dist/ui-library/p-18e755bc.entry.js.map +1 -0
- package/dist/ui-library/p-194037e9.entry.js +2 -0
- package/dist/ui-library/p-194037e9.entry.js.map +1 -0
- package/dist/ui-library/p-1cfa2df4.entry.js +2 -0
- package/dist/ui-library/p-1cfa2df4.entry.js.map +1 -0
- package/dist/ui-library/p-1oJarDAY.js +2 -0
- package/dist/ui-library/p-1oJarDAY.js.map +1 -0
- package/dist/ui-library/p-22ad3353.entry.js +2 -0
- package/dist/ui-library/p-22ad3353.entry.js.map +1 -0
- package/dist/ui-library/p-25ff87fe.entry.js +2 -0
- package/dist/ui-library/p-25ff87fe.entry.js.map +1 -0
- package/dist/ui-library/p-285666de.entry.js +2 -0
- package/dist/ui-library/p-285666de.entry.js.map +1 -0
- package/dist/ui-library/p-29d79fe3.entry.js +2 -0
- package/dist/ui-library/p-29d79fe3.entry.js.map +1 -0
- package/dist/ui-library/p-2a245a37.entry.js +2 -0
- package/dist/ui-library/p-2a245a37.entry.js.map +1 -0
- package/dist/ui-library/p-2a82de6c.entry.js +2 -0
- package/dist/ui-library/p-2a82de6c.entry.js.map +1 -0
- package/dist/ui-library/p-2fb16281.entry.js +2 -0
- package/dist/ui-library/p-2fb16281.entry.js.map +1 -0
- package/dist/ui-library/p-31c5f8fa.entry.js +2 -0
- package/dist/ui-library/p-31c5f8fa.entry.js.map +1 -0
- package/dist/{components/six-button2.js → ui-library/p-336610a9.entry.js} +2 -148
- package/dist/ui-library/p-336610a9.entry.js.map +1 -0
- package/dist/ui-library/p-362ff192.entry.js +2 -0
- package/dist/ui-library/p-362ff192.entry.js.map +1 -0
- package/dist/ui-library/p-371ef302.entry.js +2 -0
- package/dist/ui-library/p-371ef302.entry.js.map +1 -0
- package/dist/ui-library/p-39109b96.entry.js +2 -0
- package/dist/ui-library/p-39109b96.entry.js.map +1 -0
- package/dist/ui-library/p-3d49deae.entry.js +2 -0
- package/dist/ui-library/p-3d49deae.entry.js.map +1 -0
- package/dist/ui-library/p-3dc98466.entry.js +2 -0
- package/dist/ui-library/p-3dc98466.entry.js.map +1 -0
- package/dist/ui-library/p-4152b371.entry.js +2 -0
- package/dist/ui-library/p-4152b371.entry.js.map +1 -0
- package/dist/ui-library/p-494546c8.entry.js +2 -0
- package/dist/ui-library/p-494546c8.entry.js.map +1 -0
- package/dist/ui-library/p-4f52c56f.entry.js +2 -0
- package/dist/ui-library/p-4f52c56f.entry.js.map +1 -0
- package/dist/ui-library/p-54490d28.entry.js +2 -0
- package/dist/ui-library/p-54490d28.entry.js.map +1 -0
- package/dist/ui-library/p-56e172e0.entry.js +2 -0
- package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
- package/dist/ui-library/p-5b52d097.entry.js +2 -0
- package/dist/ui-library/p-5b52d097.entry.js.map +1 -0
- package/dist/ui-library/p-65e53a1b.entry.js +2 -0
- package/dist/ui-library/p-65e53a1b.entry.js.map +1 -0
- package/dist/ui-library/p-6607d03a.entry.js +2 -0
- package/dist/ui-library/p-6607d03a.entry.js.map +1 -0
- package/dist/ui-library/p-6dd3f54c.entry.js +2 -0
- package/dist/ui-library/p-6dd3f54c.entry.js.map +1 -0
- package/dist/ui-library/p-811ce2a0.entry.js +2 -0
- package/dist/ui-library/p-811ce2a0.entry.js.map +1 -0
- package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
- package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
- package/dist/ui-library/p-850aff56.entry.js +2 -0
- package/dist/ui-library/p-850aff56.entry.js.map +1 -0
- package/dist/ui-library/p-8884a48b.entry.js +2 -0
- package/dist/ui-library/p-8884a48b.entry.js.map +1 -0
- package/dist/ui-library/p-91c195d3.entry.js +2 -0
- package/dist/ui-library/{p-70fac778.entry.js.map → p-91c195d3.entry.js.map} +1 -1
- package/dist/ui-library/p-9ec79195.entry.js +2 -0
- package/dist/ui-library/p-9ec79195.entry.js.map +1 -0
- package/dist/ui-library/{p-842b492e.js → p-B1bClJZ6.js} +1 -1
- package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
- package/dist/ui-library/{p-8227aaed.js → p-BY6hIEFX.js} +1 -1
- package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
- package/dist/ui-library/{p-8bfb4bfc.js → p-C4h4qpGl.js} +1 -1
- package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
- package/dist/ui-library/{p-a1502802.js → p-CKhg9ibv.js} +1 -1
- package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
- package/dist/ui-library/{p-651293e7.js → p-CfIoyvm-.js} +1 -1
- package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
- package/dist/ui-library/p-DQuL1Twl.js +2 -0
- package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
- package/dist/ui-library/{p-f136a6b2.js → p-Dd6pdO8C.js} +1 -1
- package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
- package/dist/ui-library/p-Dg9366Gk.js +2 -0
- package/dist/ui-library/p-Dg9366Gk.js.map +1 -0
- package/dist/ui-library/p-JoG9I7EO.js +3 -0
- package/dist/ui-library/p-JoG9I7EO.js.map +1 -0
- package/dist/ui-library/p-SLlDVtvF.js +2 -0
- package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
- package/dist/ui-library/{p-06ba4450.js → p-Vw_F19Fv.js} +1 -1
- package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
- package/dist/ui-library/{p-862d474e.js → p-WA6V9mN8.js} +1 -1
- package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
- package/dist/ui-library/p-a43843d6.entry.js +2 -0
- package/dist/ui-library/p-a43843d6.entry.js.map +1 -0
- package/dist/ui-library/p-a4b523ed.entry.js +2 -0
- package/dist/ui-library/p-a4b523ed.entry.js.map +1 -0
- package/dist/ui-library/p-ab043a8c.entry.js +2 -0
- package/dist/ui-library/p-ab043a8c.entry.js.map +1 -0
- package/dist/ui-library/{p-1f7a0cb5.entry.js → p-b37d9771.entry.js} +2 -2
- package/dist/ui-library/p-b37d9771.entry.js.map +1 -0
- package/dist/ui-library/{p-d46acf21.entry.js → p-b6244904.entry.js} +2 -2
- package/dist/ui-library/p-b6244904.entry.js.map +1 -0
- package/dist/ui-library/p-c47f11e4.entry.js +2 -0
- package/dist/ui-library/p-c47f11e4.entry.js.map +1 -0
- package/dist/ui-library/p-c90a59fc.entry.js +2 -0
- package/dist/ui-library/p-c90a59fc.entry.js.map +1 -0
- package/dist/ui-library/p-cea7f777.entry.js +2 -0
- package/dist/ui-library/p-cea7f777.entry.js.map +1 -0
- package/dist/ui-library/p-d36ec323.entry.js +2 -0
- package/dist/ui-library/p-d36ec323.entry.js.map +1 -0
- package/dist/ui-library/p-dc2109d2.entry.js +2 -0
- package/dist/ui-library/p-dc2109d2.entry.js.map +1 -0
- package/dist/ui-library/p-e85be7d2.entry.js +2 -0
- package/dist/ui-library/p-e85be7d2.entry.js.map +1 -0
- package/dist/ui-library/p-e92df84a.entry.js +2 -0
- package/dist/ui-library/p-e92df84a.entry.js.map +1 -0
- package/dist/ui-library/p-ea61b009.entry.js +2 -0
- package/dist/ui-library/p-ea61b009.entry.js.map +1 -0
- package/dist/ui-library/p-ed6625e6.entry.js +2 -0
- package/dist/ui-library/p-ed6625e6.entry.js.map +1 -0
- package/dist/ui-library/p-ee980a0f.entry.js +2 -0
- package/dist/ui-library/p-ee980a0f.entry.js.map +1 -0
- package/dist/ui-library/p-f4dd7b57.entry.js +2 -0
- package/dist/ui-library/p-f4dd7b57.entry.js.map +1 -0
- package/dist/ui-library/p-f6423fca.entry.js +2 -0
- package/dist/ui-library/p-f6423fca.entry.js.map +1 -0
- package/dist/ui-library/p-fe7d3665.entry.js +2 -0
- package/dist/ui-library/p-fe7d3665.entry.js.map +1 -0
- package/dist/ui-library/{p-0cebf1d2.js → p-j3oIB5oT.js} +1 -1
- package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
- package/dist/ui-library/p-kHci8ddv.js +2 -0
- package/dist/{esm/popover-25996e62.js.map → ui-library/p-kHci8ddv.js.map} +1 -1
- package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
- package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
- package/dist/ui-library/six-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-card.entry.esm.js.map +1 -0
- package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-date.entry.esm.js.map +1 -0
- package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-details.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
- package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
- package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
- package/dist/ui-library/six-input.entry.esm.js.map +1 -0
- package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
- package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
- package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
- package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
- package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
- package/dist/ui-library/six-range.entry.esm.js.map +1 -0
- package/dist/ui-library/six-root.entry.esm.js.map +1 -0
- package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
- package/dist/ui-library/six-select.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
- package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
- package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
- package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
- package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
- package/dist/ui-library/ui-library.css +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +17 -12
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/error-messages-6e8049a4.js.map +0 -1
- package/dist/cjs/execution-control-d728da70.js.map +0 -1
- package/dist/cjs/focus-visible-e2c9255a.js.map +0 -1
- package/dist/cjs/form-9ebaae7c.js.map +0 -1
- package/dist/cjs/form-control-b39f1df5.js.map +0 -1
- package/dist/cjs/index-417a06c8.js.map +0 -1
- package/dist/cjs/modal-bd7fc5bc.js.map +0 -1
- package/dist/cjs/popover-1e7c09f1.js.map +0 -1
- package/dist/cjs/popup-e854acda.js.map +0 -1
- package/dist/cjs/scroll-68033901.js.map +0 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +0 -128
- package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
- package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
- package/dist/cjs/slot-1b1232a1.js.map +0 -1
- package/dist/cjs/types-d3da200b.js.map +0 -1
- package/dist/collection/material-icons-round.woff +0 -0
- package/dist/collection/material-icons-round.woff2 +0 -0
- package/dist/collection/material-icons-sharp.woff +0 -0
- package/dist/collection/material-icons-sharp.woff2 +0 -0
- package/dist/collection/material-icons-two-tone.woff +0 -0
- package/dist/collection/material-icons-two-tone.woff2 +0 -0
- package/dist/collection/material-icons.css +0 -124
- package/dist/collection/material-icons.scss +0 -5
- package/dist/collection/material-icons.woff +0 -0
- package/dist/components/event-listeners.js.map +0 -1
- package/dist/components/execution-control.js.map +0 -1
- package/dist/components/focus-visible.js.map +0 -1
- package/dist/components/form-control.js.map +0 -1
- package/dist/components/form.js.map +0 -1
- package/dist/components/modal.js.map +0 -1
- package/dist/components/popover.js.map +0 -1
- package/dist/components/scroll.js.map +0 -1
- package/dist/components/six-button2.js.map +0 -1
- package/dist/components/six-checkbox2.js +0 -166
- package/dist/components/six-checkbox2.js.map +0 -1
- package/dist/components/six-details2.js.map +0 -1
- package/dist/components/six-dropdown2.js.map +0 -1
- package/dist/components/six-error2.js.map +0 -1
- package/dist/components/six-header-item2.js +0 -39
- package/dist/components/six-header-item2.js.map +0 -1
- package/dist/components/six-icon-button2.js +0 -80
- package/dist/components/six-icon-button2.js.map +0 -1
- package/dist/components/six-icon2.js.map +0 -1
- package/dist/components/six-input2.js +0 -291
- package/dist/components/six-input2.js.map +0 -1
- package/dist/components/six-item-picker2.js.map +0 -1
- package/dist/components/six-logo2.js +0 -42
- package/dist/components/six-logo2.js.map +0 -1
- package/dist/components/six-menu-item2.js.map +0 -1
- package/dist/components/six-menu2.js.map +0 -1
- package/dist/components/six-picto2.js.map +0 -1
- package/dist/components/six-spinner2.js.map +0 -1
- package/dist/components/six-stage-indicator2.js.map +0 -1
- package/dist/components/six-timepicker2.js.map +0 -1
- package/dist/components/six-tooltip2.js.map +0 -1
- package/dist/components/slot.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/error-messages-1eaaad23.js.map +0 -1
- package/dist/esm/event-listeners-706d4309.js.map +0 -1
- package/dist/esm/execution-control-2ebaf4ef.js.map +0 -1
- package/dist/esm/focus-visible-d9dbfeef.js.map +0 -1
- package/dist/esm/form-4b145b7a.js.map +0 -1
- package/dist/esm/form-control-ad1710bf.js.map +0 -1
- package/dist/esm/index-a7bee415.js.map +0 -1
- package/dist/esm/modal-6c1288e3.js.map +0 -1
- package/dist/esm/popup-7209e9d5.js.map +0 -1
- package/dist/esm/scroll-3e16851e.js.map +0 -1
- package/dist/esm/six-checkbox.entry.js +0 -124
- package/dist/esm/six-checkbox.entry.js.map +0 -1
- package/dist/esm/six-dropdown_3.entry.js.map +0 -1
- package/dist/esm/six-header-item_2.entry.js +0 -42
- package/dist/esm/six-header-item_2.entry.js.map +0 -1
- package/dist/esm/slot-56531341.js.map +0 -1
- package/dist/esm/types-a07bb999.js.map +0 -1
- package/dist/ui-library/material-icons-round.woff +0 -0
- package/dist/ui-library/material-icons-round.woff2 +0 -0
- package/dist/ui-library/material-icons-sharp.woff +0 -0
- package/dist/ui-library/material-icons-sharp.woff2 +0 -0
- package/dist/ui-library/material-icons-two-tone.woff +0 -0
- package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
- package/dist/ui-library/material-icons.css +0 -124
- package/dist/ui-library/material-icons.scss +0 -5
- package/dist/ui-library/material-icons.woff +0 -0
- package/dist/ui-library/p-03acec96.entry.js +0 -2
- package/dist/ui-library/p-03acec96.entry.js.map +0 -1
- package/dist/ui-library/p-06ba4450.js.map +0 -1
- package/dist/ui-library/p-06d562b7.entry.js +0 -2
- package/dist/ui-library/p-06d562b7.entry.js.map +0 -1
- package/dist/ui-library/p-07b6203f.entry.js +0 -2
- package/dist/ui-library/p-07b6203f.entry.js.map +0 -1
- package/dist/ui-library/p-0a6b6429.entry.js +0 -2
- package/dist/ui-library/p-0a6b6429.entry.js.map +0 -1
- package/dist/ui-library/p-0cebf1d2.js.map +0 -1
- package/dist/ui-library/p-14d09601.entry.js +0 -2
- package/dist/ui-library/p-14d09601.entry.js.map +0 -1
- package/dist/ui-library/p-171df3ad.entry.js +0 -2
- package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
- package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
- package/dist/ui-library/p-1cc3b56d.entry.js.map +0 -1
- package/dist/ui-library/p-1cd09d9b.entry.js +0 -2
- package/dist/ui-library/p-1cd09d9b.entry.js.map +0 -1
- package/dist/ui-library/p-1f7a0cb5.entry.js.map +0 -1
- package/dist/ui-library/p-2355c444.entry.js +0 -2
- package/dist/ui-library/p-2355c444.entry.js.map +0 -1
- package/dist/ui-library/p-281ffc35.entry.js +0 -2
- package/dist/ui-library/p-281ffc35.entry.js.map +0 -1
- package/dist/ui-library/p-2ad904a7.entry.js +0 -2
- package/dist/ui-library/p-2ad904a7.entry.js.map +0 -1
- package/dist/ui-library/p-30000e86.entry.js +0 -2
- package/dist/ui-library/p-30000e86.entry.js.map +0 -1
- package/dist/ui-library/p-42cd3588.entry.js +0 -2
- package/dist/ui-library/p-42cd3588.entry.js.map +0 -1
- package/dist/ui-library/p-48118ce8.js +0 -3
- package/dist/ui-library/p-48118ce8.js.map +0 -1
- package/dist/ui-library/p-49019d6c.entry.js +0 -2
- package/dist/ui-library/p-49019d6c.entry.js.map +0 -1
- package/dist/ui-library/p-4d72b179.entry.js +0 -2
- package/dist/ui-library/p-4d72b179.entry.js.map +0 -1
- package/dist/ui-library/p-4de4ee7a.entry.js +0 -2
- package/dist/ui-library/p-4de4ee7a.entry.js.map +0 -1
- package/dist/ui-library/p-4edde816.entry.js +0 -2
- package/dist/ui-library/p-4edde816.entry.js.map +0 -1
- package/dist/ui-library/p-4f129bb3.entry.js +0 -2
- package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
- package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
- package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
- package/dist/ui-library/p-5ece7986.entry.js +0 -2
- package/dist/ui-library/p-5ece7986.entry.js.map +0 -1
- package/dist/ui-library/p-5f491974.entry.js +0 -2
- package/dist/ui-library/p-5f491974.entry.js.map +0 -1
- package/dist/ui-library/p-5fc9cd7b.entry.js +0 -2
- package/dist/ui-library/p-5fc9cd7b.entry.js.map +0 -1
- package/dist/ui-library/p-618bf750.entry.js +0 -2
- package/dist/ui-library/p-618bf750.entry.js.map +0 -1
- package/dist/ui-library/p-62a1f514.entry.js +0 -2
- package/dist/ui-library/p-62a1f514.entry.js.map +0 -1
- package/dist/ui-library/p-651293e7.js.map +0 -1
- package/dist/ui-library/p-6513b8ce.entry.js +0 -2
- package/dist/ui-library/p-6513b8ce.entry.js.map +0 -1
- package/dist/ui-library/p-6795e0a9.entry.js +0 -2
- package/dist/ui-library/p-6795e0a9.entry.js.map +0 -1
- package/dist/ui-library/p-6ec126f7.entry.js +0 -2
- package/dist/ui-library/p-6ec126f7.entry.js.map +0 -1
- package/dist/ui-library/p-705e3612.entry.js +0 -2
- package/dist/ui-library/p-705e3612.entry.js.map +0 -1
- package/dist/ui-library/p-70fac778.entry.js +0 -2
- package/dist/ui-library/p-7afdff5c.entry.js +0 -2
- package/dist/ui-library/p-7afdff5c.entry.js.map +0 -1
- package/dist/ui-library/p-7eb9ae75.entry.js +0 -2
- package/dist/ui-library/p-7eb9ae75.entry.js.map +0 -1
- package/dist/ui-library/p-7f856f00.js +0 -2
- package/dist/ui-library/p-7f856f00.js.map +0 -1
- package/dist/ui-library/p-8227aaed.js.map +0 -1
- package/dist/ui-library/p-842b492e.js.map +0 -1
- package/dist/ui-library/p-862d474e.js.map +0 -1
- package/dist/ui-library/p-870139dc.entry.js +0 -2
- package/dist/ui-library/p-870139dc.entry.js.map +0 -1
- package/dist/ui-library/p-8bfb4bfc.js.map +0 -1
- package/dist/ui-library/p-a04460e3.js +0 -2
- package/dist/ui-library/p-a04460e3.js.map +0 -1
- package/dist/ui-library/p-a1502802.js.map +0 -1
- package/dist/ui-library/p-a20a702a.entry.js +0 -2
- package/dist/ui-library/p-a20a702a.entry.js.map +0 -1
- package/dist/ui-library/p-adc65fc8.entry.js +0 -2
- package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
- package/dist/ui-library/p-afb15ea4.entry.js +0 -2
- package/dist/ui-library/p-afb15ea4.entry.js.map +0 -1
- package/dist/ui-library/p-b361d5da.entry.js +0 -2
- package/dist/ui-library/p-b361d5da.entry.js.map +0 -1
- package/dist/ui-library/p-bfb398c6.entry.js +0 -2
- package/dist/ui-library/p-bfb398c6.entry.js.map +0 -1
- package/dist/ui-library/p-cd65e3b2.entry.js +0 -2
- package/dist/ui-library/p-cd65e3b2.entry.js.map +0 -1
- package/dist/ui-library/p-cd79700c.entry.js +0 -2
- package/dist/ui-library/p-cd79700c.entry.js.map +0 -1
- package/dist/ui-library/p-cdc9224d.entry.js +0 -2
- package/dist/ui-library/p-cdc9224d.entry.js.map +0 -1
- package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
- package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
- package/dist/ui-library/p-d46acf21.entry.js.map +0 -1
- package/dist/ui-library/p-d67b8482.entry.js +0 -2
- package/dist/ui-library/p-d67b8482.entry.js.map +0 -1
- package/dist/ui-library/p-db193a32.entry.js +0 -2
- package/dist/ui-library/p-db193a32.entry.js.map +0 -1
- package/dist/ui-library/p-e080d5b6.js +0 -2
- package/dist/ui-library/p-e080d5b6.js.map +0 -1
- package/dist/ui-library/p-e1255160.js +0 -2
- package/dist/ui-library/p-e1255160.js.map +0 -1
- package/dist/ui-library/p-e1529ef6.entry.js +0 -2
- package/dist/ui-library/p-e1529ef6.entry.js.map +0 -1
- package/dist/ui-library/p-e181944f.entry.js +0 -2
- package/dist/ui-library/p-e181944f.entry.js.map +0 -1
- package/dist/ui-library/p-e6efc08a.entry.js +0 -2
- package/dist/ui-library/p-e6efc08a.entry.js.map +0 -1
- package/dist/ui-library/p-e9462085.entry.js +0 -2
- package/dist/ui-library/p-e9462085.entry.js.map +0 -1
- package/dist/ui-library/p-ea854ec5.entry.js +0 -2
- package/dist/ui-library/p-ea854ec5.entry.js.map +0 -1
- package/dist/ui-library/p-f12b22bc.entry.js +0 -2
- package/dist/ui-library/p-f12b22bc.entry.js.map +0 -1
- package/dist/ui-library/p-f136a6b2.js.map +0 -1
- package/dist/ui-library/p-f9a1f6ab.entry.js +0 -2
- package/dist/ui-library/p-f9a1f6ab.entry.js.map +0 -1
- package/dist/ui-library/p-ffce31da.entry.js +0 -2
- package/dist/ui-library/p-ffce31da.entry.js.map +0 -1
- package/loader/package.json +0 -11
- /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-input.js","sourceRoot":"","sources":["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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\n\nexport type SelectionRangeDirection = 'forward' | 'backward' | 'none';\nexport type SelectionRange = {\n selectionStart: number | undefined;\n selectionEnd: number | undefined;\n selectionDirection: SelectionRangeDirection | undefined;\n};\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot label - The input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: SelectionRangeDirection = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Returns the start and end positions of the text selection */\n @Method()\n async getSelectionRange(): Promise<SelectionRange> {\n return {\n selectionStart: this.nativeInput?.selectionStart ?? undefined,\n selectionEnd: this.nativeInput?.selectionEnd ?? undefined,\n selectionDirection: this.nativeInput?.selectionDirection ?? undefined,\n };\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.emit();\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && !this.disabled && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"six-input.js","sourceRoot":"","sources":["../../../src/components/six-input/six-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,GAAwE;IACtF,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,QAAQ;CAChB,CAAC;AASF,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,MAAM,OAAO,QAAQ;IALrB;QAMU,YAAO,GAAG,SAAS,EAAE,EAAE,EAAE,CAAC;QAC1B,YAAO,GAAG,eAAe,EAAE,EAAE,CAAC;QAC9B,eAAU,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\n\nexport type SelectionRangeDirection = 'forward' | 'backward' | 'none';\nexport type SelectionRange = {\n selectionStart: number | undefined;\n selectionEnd: number | undefined;\n selectionDirection: SelectionRangeDirection | undefined;\n};\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot label - The input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: SelectionRangeDirection = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Returns the start and end positions of the text selection */\n @Method()\n async getSelectionRange(): Promise<SelectionRange> {\n return {\n selectionStart: this.nativeInput?.selectionStart ?? undefined,\n selectionEnd: this.nativeInput?.selectionEnd ?? undefined,\n selectionDirection: this.nativeInput?.selectionDirection ?? undefined,\n };\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.emit();\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && !this.disabled && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
|
|
@@ -35,25 +35,44 @@ const DEBOUNCE_ITEM_PICKER_LISTENER = 'debounced-item-picker';
|
|
|
35
35
|
export class SixItemPicker {
|
|
36
36
|
constructor() {
|
|
37
37
|
this.eventListeners = new EventListeners();
|
|
38
|
-
|
|
39
|
-
this.sixChangeDebounced.emit(this.value);
|
|
40
|
-
};
|
|
38
|
+
/** The item picker's value attribute. */
|
|
41
39
|
this.value = '';
|
|
40
|
+
/** The type of items you want to rotate through. */
|
|
42
41
|
this.type = ItemPickerType.NUMBER;
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
/** Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. */
|
|
43
|
+
// eslint-disable-next-line @stencil-community/ban-default-true
|
|
45
44
|
this.roundtrip = true;
|
|
45
|
+
/** Defines how many steps should be taken when navigating */
|
|
46
46
|
this.step = 1;
|
|
47
|
-
|
|
47
|
+
/** Defines whether the items should be padded */
|
|
48
48
|
this.padded = false;
|
|
49
|
+
/** Defines the length of the padded area */
|
|
49
50
|
this.paddingLength = 2;
|
|
51
|
+
/** Defines the character used for padding */
|
|
50
52
|
this.paddingChar = '0';
|
|
53
|
+
/** Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,
|
|
54
|
+
* before is selected */
|
|
51
55
|
this.paddingDirection = ItemPickerPaddingDirection.BEFORE;
|
|
56
|
+
/**
|
|
57
|
+
* Set the amount of time, in milliseconds, to wait to trigger faster switching between items.
|
|
58
|
+
*/
|
|
52
59
|
this.timeout = DEFAULT_DEBOUNCE_FAST;
|
|
60
|
+
/**
|
|
61
|
+
* Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.
|
|
62
|
+
*/
|
|
53
63
|
this.interval = DEFAULT_DEBOUNCE_INSANELY_FAST;
|
|
64
|
+
/**
|
|
65
|
+
* Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.
|
|
66
|
+
* If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce
|
|
67
|
+
* is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click
|
|
68
|
+
* (and keep pressed) and once you release
|
|
69
|
+
*/
|
|
54
70
|
this.debounce = DEFAULT_DEBOUNCE_FAST;
|
|
55
71
|
this._items = [];
|
|
56
72
|
this._itemIndexes = {};
|
|
73
|
+
this.handleSixItemPickerChangeDebounced = () => {
|
|
74
|
+
this.sixChangeDebounced.emit(this.value);
|
|
75
|
+
};
|
|
57
76
|
}
|
|
58
77
|
handleValueChange() {
|
|
59
78
|
this.setup();
|
|
@@ -435,6 +454,7 @@ export class SixItemPicker {
|
|
|
435
454
|
return {
|
|
436
455
|
"value": {
|
|
437
456
|
"type": "any",
|
|
457
|
+
"attribute": "value",
|
|
438
458
|
"mutable": true,
|
|
439
459
|
"complexType": {
|
|
440
460
|
"original": "number | string",
|
|
@@ -447,12 +467,14 @@ export class SixItemPicker {
|
|
|
447
467
|
"tags": [],
|
|
448
468
|
"text": "The item picker's value attribute."
|
|
449
469
|
},
|
|
450
|
-
"
|
|
470
|
+
"getter": false,
|
|
471
|
+
"setter": false,
|
|
451
472
|
"reflect": true,
|
|
452
473
|
"defaultValue": "''"
|
|
453
474
|
},
|
|
454
475
|
"type": {
|
|
455
476
|
"type": "string",
|
|
477
|
+
"attribute": "type",
|
|
456
478
|
"mutable": false,
|
|
457
479
|
"complexType": {
|
|
458
480
|
"original": "ItemPickerType",
|
|
@@ -471,12 +493,14 @@ export class SixItemPicker {
|
|
|
471
493
|
"tags": [],
|
|
472
494
|
"text": "The type of items you want to rotate through."
|
|
473
495
|
},
|
|
474
|
-
"
|
|
496
|
+
"getter": false,
|
|
497
|
+
"setter": false,
|
|
475
498
|
"reflect": false,
|
|
476
499
|
"defaultValue": "ItemPickerType.NUMBER"
|
|
477
500
|
},
|
|
478
501
|
"min": {
|
|
479
502
|
"type": "any",
|
|
503
|
+
"attribute": "min",
|
|
480
504
|
"mutable": true,
|
|
481
505
|
"complexType": {
|
|
482
506
|
"original": "number | string",
|
|
@@ -489,11 +513,13 @@ export class SixItemPicker {
|
|
|
489
513
|
"tags": [],
|
|
490
514
|
"text": "The minimum value allowed to pick."
|
|
491
515
|
},
|
|
492
|
-
"
|
|
516
|
+
"getter": false,
|
|
517
|
+
"setter": false,
|
|
493
518
|
"reflect": true
|
|
494
519
|
},
|
|
495
520
|
"max": {
|
|
496
521
|
"type": "any",
|
|
522
|
+
"attribute": "max",
|
|
497
523
|
"mutable": true,
|
|
498
524
|
"complexType": {
|
|
499
525
|
"original": "number | string",
|
|
@@ -506,11 +532,13 @@ export class SixItemPicker {
|
|
|
506
532
|
"tags": [],
|
|
507
533
|
"text": "The maximum value allowed to pick."
|
|
508
534
|
},
|
|
509
|
-
"
|
|
535
|
+
"getter": false,
|
|
536
|
+
"setter": false,
|
|
510
537
|
"reflect": true
|
|
511
538
|
},
|
|
512
539
|
"roundtrip": {
|
|
513
540
|
"type": "boolean",
|
|
541
|
+
"attribute": "roundtrip",
|
|
514
542
|
"mutable": false,
|
|
515
543
|
"complexType": {
|
|
516
544
|
"original": "boolean",
|
|
@@ -523,12 +551,14 @@ export class SixItemPicker {
|
|
|
523
551
|
"tags": [],
|
|
524
552
|
"text": "Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa."
|
|
525
553
|
},
|
|
526
|
-
"
|
|
554
|
+
"getter": false,
|
|
555
|
+
"setter": false,
|
|
527
556
|
"reflect": true,
|
|
528
557
|
"defaultValue": "true"
|
|
529
558
|
},
|
|
530
559
|
"step": {
|
|
531
560
|
"type": "number",
|
|
561
|
+
"attribute": "step",
|
|
532
562
|
"mutable": false,
|
|
533
563
|
"complexType": {
|
|
534
564
|
"original": "number",
|
|
@@ -541,12 +571,14 @@ export class SixItemPicker {
|
|
|
541
571
|
"tags": [],
|
|
542
572
|
"text": "Defines how many steps should be taken when navigating"
|
|
543
573
|
},
|
|
544
|
-
"
|
|
574
|
+
"getter": false,
|
|
575
|
+
"setter": false,
|
|
545
576
|
"reflect": true,
|
|
546
577
|
"defaultValue": "1"
|
|
547
578
|
},
|
|
548
579
|
"items": {
|
|
549
580
|
"type": "unknown",
|
|
581
|
+
"attribute": "items",
|
|
550
582
|
"mutable": false,
|
|
551
583
|
"complexType": {
|
|
552
584
|
"original": "string[]",
|
|
@@ -558,10 +590,13 @@ export class SixItemPicker {
|
|
|
558
590
|
"docs": {
|
|
559
591
|
"tags": [],
|
|
560
592
|
"text": "Defines a custom list of items you can iterate through"
|
|
561
|
-
}
|
|
593
|
+
},
|
|
594
|
+
"getter": false,
|
|
595
|
+
"setter": false
|
|
562
596
|
},
|
|
563
597
|
"padded": {
|
|
564
598
|
"type": "boolean",
|
|
599
|
+
"attribute": "padded",
|
|
565
600
|
"mutable": false,
|
|
566
601
|
"complexType": {
|
|
567
602
|
"original": "boolean",
|
|
@@ -574,12 +609,14 @@ export class SixItemPicker {
|
|
|
574
609
|
"tags": [],
|
|
575
610
|
"text": "Defines whether the items should be padded"
|
|
576
611
|
},
|
|
577
|
-
"
|
|
612
|
+
"getter": false,
|
|
613
|
+
"setter": false,
|
|
578
614
|
"reflect": false,
|
|
579
615
|
"defaultValue": "false"
|
|
580
616
|
},
|
|
581
617
|
"paddingLength": {
|
|
582
618
|
"type": "number",
|
|
619
|
+
"attribute": "padding-length",
|
|
583
620
|
"mutable": false,
|
|
584
621
|
"complexType": {
|
|
585
622
|
"original": "number",
|
|
@@ -592,12 +629,14 @@ export class SixItemPicker {
|
|
|
592
629
|
"tags": [],
|
|
593
630
|
"text": "Defines the length of the padded area"
|
|
594
631
|
},
|
|
595
|
-
"
|
|
632
|
+
"getter": false,
|
|
633
|
+
"setter": false,
|
|
596
634
|
"reflect": false,
|
|
597
635
|
"defaultValue": "2"
|
|
598
636
|
},
|
|
599
637
|
"paddingChar": {
|
|
600
638
|
"type": "string",
|
|
639
|
+
"attribute": "padding-char",
|
|
601
640
|
"mutable": false,
|
|
602
641
|
"complexType": {
|
|
603
642
|
"original": "string",
|
|
@@ -610,12 +649,14 @@ export class SixItemPicker {
|
|
|
610
649
|
"tags": [],
|
|
611
650
|
"text": "Defines the character used for padding"
|
|
612
651
|
},
|
|
613
|
-
"
|
|
652
|
+
"getter": false,
|
|
653
|
+
"setter": false,
|
|
614
654
|
"reflect": false,
|
|
615
655
|
"defaultValue": "'0'"
|
|
616
656
|
},
|
|
617
657
|
"paddingDirection": {
|
|
618
658
|
"type": "string",
|
|
659
|
+
"attribute": "padding-direction",
|
|
619
660
|
"mutable": false,
|
|
620
661
|
"complexType": {
|
|
621
662
|
"original": "ItemPickerPaddingDirection",
|
|
@@ -634,12 +675,14 @@ export class SixItemPicker {
|
|
|
634
675
|
"tags": [],
|
|
635
676
|
"text": "Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,\nbefore is selected"
|
|
636
677
|
},
|
|
637
|
-
"
|
|
678
|
+
"getter": false,
|
|
679
|
+
"setter": false,
|
|
638
680
|
"reflect": false,
|
|
639
681
|
"defaultValue": "ItemPickerPaddingDirection.BEFORE"
|
|
640
682
|
},
|
|
641
683
|
"timeout": {
|
|
642
684
|
"type": "number",
|
|
685
|
+
"attribute": "timeout",
|
|
643
686
|
"mutable": false,
|
|
644
687
|
"complexType": {
|
|
645
688
|
"original": "number",
|
|
@@ -652,12 +695,14 @@ export class SixItemPicker {
|
|
|
652
695
|
"tags": [],
|
|
653
696
|
"text": "Set the amount of time, in milliseconds, to wait to trigger faster switching between items."
|
|
654
697
|
},
|
|
655
|
-
"
|
|
698
|
+
"getter": false,
|
|
699
|
+
"setter": false,
|
|
656
700
|
"reflect": false,
|
|
657
701
|
"defaultValue": "DEFAULT_DEBOUNCE_FAST"
|
|
658
702
|
},
|
|
659
703
|
"interval": {
|
|
660
704
|
"type": "number",
|
|
705
|
+
"attribute": "interval",
|
|
661
706
|
"mutable": false,
|
|
662
707
|
"complexType": {
|
|
663
708
|
"original": "number",
|
|
@@ -670,12 +715,14 @@ export class SixItemPicker {
|
|
|
670
715
|
"tags": [],
|
|
671
716
|
"text": "Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed."
|
|
672
717
|
},
|
|
673
|
-
"
|
|
718
|
+
"getter": false,
|
|
719
|
+
"setter": false,
|
|
674
720
|
"reflect": false,
|
|
675
721
|
"defaultValue": "DEFAULT_DEBOUNCE_INSANELY_FAST"
|
|
676
722
|
},
|
|
677
723
|
"debounce": {
|
|
678
724
|
"type": "number",
|
|
725
|
+
"attribute": "debounce",
|
|
679
726
|
"mutable": false,
|
|
680
727
|
"complexType": {
|
|
681
728
|
"original": "number",
|
|
@@ -688,7 +735,8 @@ export class SixItemPicker {
|
|
|
688
735
|
"tags": [],
|
|
689
736
|
"text": "Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.\nIf you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\nis a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n(and keep pressed) and once you release"
|
|
690
737
|
},
|
|
691
|
-
"
|
|
738
|
+
"getter": false,
|
|
739
|
+
"setter": false,
|
|
692
740
|
"reflect": false,
|
|
693
741
|
"defaultValue": "DEFAULT_DEBOUNCE_FAST"
|
|
694
742
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-item-picker.js","sourceRoot":"","sources":["../../../src/components/six-item-picker/six-item-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQ7D,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AACtD,MAAM,wBAAwB,GAAG,CAAC,GAAG,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAC5F,MAAM,QAAQ,GAAa;IACzB,QAAQ,EAAE,wBAAwB;IAClC,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAClF,CAAC;AACF,MAAM,gBAAgB,GAAa;IACjC,QAAQ,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE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AI,EAAC,OAAO,kBAAuB,CACzC,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerPaddingDirection, ItemPickerType } from './types';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { TimePeriod } from '../../utils/time.util';\n\ninterface Alphabet {\n alphabet: string[];\n letterIndexes: Record<string, number>;\n}\n\nconst uppercaseLetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst upperAndLowercaseLetters = [...uppercaseLetters].flatMap((c) => [c, c.toLowerCase()]);\nconst ALPHABET: Alphabet = {\n alphabet: upperAndLowercaseLetters,\n letterIndexes: Object.fromEntries(upperAndLowercaseLetters.map((c, i) => [c, i])),\n};\nconst CAPITAL_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters].map((c, i) => [c, i])),\n};\nconst LOWERCASE_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters.toLowerCase()].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters.toLowerCase()].map((c, i) => [c, i])),\n};\n\nconst createItemIndexes = (arr: string[]): Record<string, number> => {\n return Object.fromEntries([...arr].map((c, i) => [c, i]));\n};\n\nconst TAG = `[SIX-ITEM-PICKER]`;\n\nconst subtract = (a: number, b: number) => a - b;\nconst add = (a: number, b: number) => a + b;\n\nexport type SixItemPickerChangePayload = number | string | boolean | TimePeriod;\n\nconst DEBOUNCE_ITEM_PICKER_LISTENER = 'debounced-item-picker';\n\n/**\n * @since 2.0.0\n * @status experimental\n * @part container - The whole component container\n * @part up - The up button\n * @part content - The content area\n * @part down - The down button\n *\n */\n@Component({\n tag: 'six-item-picker',\n styleUrl: 'six-item-picker.scss',\n shadow: true,\n})\nexport class SixItemPicker {\n private readonly eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixItemPickerElement;\n\n /** The item picker's value attribute. */\n @Prop({ mutable: true, reflect: true }) value: number | string = '';\n\n /** The type of items you want to rotate through. */\n @Prop() type: ItemPickerType = ItemPickerType.NUMBER;\n\n /** The minimum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) min?: number | string;\n\n /** The maximum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) max?: number | string;\n\n /** Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop({ reflect: true }) roundtrip = true;\n\n /** Defines how many steps should be taken when navigating */\n @Prop({ reflect: true }) step = 1;\n\n /** Defines a custom list of items you can iterate through */\n @Prop() items?: string[];\n\n /** Defines whether the items should be padded */\n @Prop() padded = false;\n\n /** Defines the length of the padded area */\n @Prop() paddingLength = 2;\n\n /** Defines the character used for padding */\n @Prop() paddingChar = '0';\n\n /** Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,\n * before is selected */\n @Prop() paddingDirection: ItemPickerPaddingDirection = ItemPickerPaddingDirection.BEFORE;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between items.\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * Emitted when the item picker's value changes\n */\n @Event({ eventName: 'six-item-picker-change' }) sixChange!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Emitted when the item picker's value changes, but debounced\n */\n @Event({ eventName: 'six-item-picker-change-debounced' })\n sixChangeDebounced!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n @Watch('value')\n handleValueChange() {\n this.setup();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n this.eventListeners.removeByIdentifier(DEBOUNCE_ITEM_PICKER_LISTENER);\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n @Watch('items')\n handleSetChange() {\n this.setup();\n this.min = this._items[0];\n this.max = this.getLastStringItem();\n }\n\n @State() _items: string[] = [];\n @State() _itemIndexes: Record<string, number> = {};\n\n // used for fast increasing when keeping the mouse button held down\n private _timeoutNext!: ReturnType<typeof setTimeout>;\n private _intervalNext!: ReturnType<typeof setInterval>;\n\n private _timeoutPrev!: ReturnType<typeof setTimeout>;\n private _intervalPrev!: ReturnType<typeof setInterval>;\n\n componentWillLoad() {\n this.setup();\n }\n\n componentDidLoad() {\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n private handleSixItemPickerChangeDebounced = () => {\n this.sixChangeDebounced.emit(this.value);\n };\n\n private setup() {\n if (this.isNumber()) {\n this.setupNumberItems();\n } else {\n this.setUpStringItems();\n }\n }\n\n private setupNumberItems() {\n if (this.isInvalidNumber()) {\n console.warn(`${TAG} Expected number but value is not a number: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to zero.`);\n this.value = this.min ?? 0;\n }\n }\n\n private setUpStringItems() {\n this._items = this.getStringItems();\n this._itemIndexes = this.getItemIndexes();\n const itemsMissValue = this._items.find((i) => String(i) === String(this.value)) === undefined;\n if (itemsMissValue) {\n console.warn(`${TAG} Expected item from item set but value was not found in set: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to \"${this._items[0]}\".`);\n this.value = this._items[0];\n }\n\n if (this.min === undefined) {\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value`);\n console.info(`${TAG} Will set min value to ${this._items[0]}`);\n }\n this.min = this._items[0];\n }\n\n if (this.max === undefined) {\n const maxItem = this.getLastStringItem();\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value if roundtrip is enabled`);\n console.info(`${TAG} Will set min value to ${maxItem}`);\n }\n this.max = maxItem;\n }\n }\n\n private getLastStringItem() {\n return this._items[this._items.length - 1];\n }\n\n private getStringItems(): string[] {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return [];\n case ItemPickerType.LETTER:\n return ALPHABET.alphabet;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.alphabet;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.alphabet;\n case ItemPickerType.CUSTOM:\n if (this.items == null || this.items.length === 0) {\n console.warn(`${TAG}: no items defined for type ${this.type}`);\n return [];\n }\n return this.items;\n }\n }\n\n private getItemIndexes(): Record<string, number> {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return {};\n case ItemPickerType.LETTER:\n return ALPHABET.letterIndexes;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.letterIndexes;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.letterIndexes;\n case ItemPickerType.CUSTOM:\n return createItemIndexes(this._items);\n }\n }\n\n private previousItem() {\n if (this.isNumber()) {\n this.previousNumber();\n } else {\n this.previousStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private previousNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n }\n\n private previousStringItem() {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(subtract),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n\n private nextItem() {\n if (this.isNumber()) {\n this.nextNumber();\n } else {\n this.nextStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private nextNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getStringItemIndex(char: string): number {\n return this._itemIndexes[char];\n }\n\n private nextStringItem() {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(add),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getNextItemByOperation(operation: (a: number, b: number) => number, increment: number = this.step) {\n const value = String(this.value);\n const nextIndexCandidate = operation(this.getStringItemIndex(value), increment);\n const numberOfItems = this._items.length;\n const nextIndex = ((nextIndexCandidate % numberOfItems) + numberOfItems) % numberOfItems;\n return this._items[nextIndex];\n }\n\n private changeValue(params: {\n getNextItem: () => number | string;\n isNextItemAllowed: () => boolean;\n getRoundtripItem: () => number | string;\n isRoundtripPossible: () => boolean;\n }) {\n if (params.isNextItemAllowed()) {\n this.value = params.getNextItem();\n return;\n }\n\n if (params.isRoundtripPossible()) {\n console.error(\n `${TAG} Item picker is expected to perform a roundtrip, but either max or min value is missing so a roundtrip is not possible`\n );\n return;\n }\n\n if (this.roundtrip) {\n this.value = params.getRoundtripItem();\n return;\n }\n\n console.warn(\n `${TAG} Roundtrip is not allowed, but was still triggered, please report this issue to the developer of six-item-picker`\n );\n\n this.sixChange.emit(this.value);\n }\n\n private isNumber() {\n return this.type === ItemPickerType.NUMBER;\n }\n\n private isInvalidNumber() {\n return this.value === '' || isNaN(this.value as number);\n }\n\n private isNextDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isNextNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] + this.step > this._itemIndexes[String(this.max)];\n }\n }\n\n private isNextNumberDisabled() {\n return Number(this.value) + this.step > Number(this.max ?? Infinity);\n }\n\n private isPrevDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isPreviousNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] - this.step < this._itemIndexes[String(this.min)];\n }\n }\n\n private isPreviousNumberDisabled() {\n return Number(this.value) - this.step < Number(this.min ?? -Infinity);\n }\n\n private onMouseDownNext() {\n if (this.isNextDisabled()) {\n return;\n }\n\n this.nextItem();\n\n this._timeoutNext = setTimeout(() => {\n this._intervalNext = setInterval(() => {\n this.nextItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpNext() {\n clearTimeout(this._timeoutNext);\n clearInterval(this._intervalNext);\n }\n\n private onMouseDownPrev() {\n if (this.isPrevDisabled()) {\n return;\n }\n\n this.previousItem();\n\n this._timeoutPrev = setTimeout(() => {\n this._intervalPrev = setInterval(() => {\n this.previousItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpPrev() {\n clearTimeout(this._timeoutPrev);\n clearInterval(this._intervalPrev);\n }\n\n private getFormattedValue() {\n if (this.value === undefined || this.value === null) {\n return this.value;\n }\n\n if (!this.padded) {\n return this.value;\n }\n\n if (this.paddingDirection === ItemPickerPaddingDirection.BEFORE) {\n return String(this.value).padStart(this.paddingLength, this.paddingChar);\n } else if (this.paddingDirection === ItemPickerPaddingDirection.AFTER) {\n return String(this.value).padEnd(this.paddingLength, this.paddingChar);\n }\n\n return this.value;\n }\n\n private handleKeyPress(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (event.target === this.upButton) {\n this.nextItem();\n } else if (event.target === this.downButton) {\n this.previousItem();\n }\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n this.nextItem();\n } else if (event.key === 'ArrowDown') {\n event.preventDefault();\n this.previousItem();\n } else if (event.key === 'PageUp') {\n event.preventDefault();\n this.pageUp();\n } else if (event.key === 'PageDown') {\n event.preventDefault();\n this.pageDown();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToMin();\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToMax();\n }\n }\n\n private pageUp() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + 5 * this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(add, 5),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n }\n\n private pageDown() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - 5 * this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(subtract, 5),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n }\n\n private goToMin() {\n if (this.isNumber()) {\n this.value = this.min ?? 0;\n } else {\n this.value = this._items[0];\n }\n\n this.sixChange.emit(this.value);\n }\n\n private goToMax() {\n if (this.isNumber()) {\n this.value = this.max ?? Infinity;\n } else {\n this.value = this.getLastStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private upButton!: HTMLDivElement;\n private downButton!: HTMLDivElement;\n\n render() {\n return (\n <div\n part=\"container\"\n class=\"item_picker__container\"\n onKeyDown={(event) => this.handleKeyPress(event)}\n tabindex=\"0\"\n >\n <div\n ref={(el) => (this.upButton = el as HTMLDivElement)}\n part=\"up\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isNextDisabled(),\n }}\n onMouseDown={() => this.onMouseDownNext()}\n onMouseUp={() => this.onMouseUpNext()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_less</six-icon>\n </div>\n <div part=\"content\" class=\"item_picker__content\">\n {this.getFormattedValue()}\n </div>\n <div\n ref={(el) => (this.downButton = el as HTMLDivElement)}\n part=\"down\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isPrevDisabled(),\n }}\n onMouseDown={() => this.onMouseDownPrev()}\n onMouseUp={() => this.onMouseUpPrev()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_more</six-icon>\n </div>\n </div>\n );\n }\n}\n"]}
|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M,EACX,KAAK,EAAE;oBACL,gBAAgB,EAAE,IAAI;oBACtB,4BAA4B,EAAE,IAAI,CAAC,cAAc,EAAE;iBACpD,EACD,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EACzC,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,EACrC,QAAQ,EAAC,IAAI;gBAEb,iEAAU,IAAI,EAAC,OAAO,kBAAuB,CACzC,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerPaddingDirection, ItemPickerType } from './types';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { TimePeriod } from '../../utils/time.util';\n\ninterface Alphabet {\n alphabet: string[];\n letterIndexes: Record<string, number>;\n}\n\nconst uppercaseLetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst upperAndLowercaseLetters = [...uppercaseLetters].flatMap((c) => [c, c.toLowerCase()]);\nconst ALPHABET: Alphabet = {\n alphabet: upperAndLowercaseLetters,\n letterIndexes: Object.fromEntries(upperAndLowercaseLetters.map((c, i) => [c, i])),\n};\nconst CAPITAL_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters].map((c, i) => [c, i])),\n};\nconst LOWERCASE_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters.toLowerCase()].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters.toLowerCase()].map((c, i) => [c, i])),\n};\n\nconst createItemIndexes = (arr: string[]): Record<string, number> => {\n return Object.fromEntries([...arr].map((c, i) => [c, i]));\n};\n\nconst TAG = `[SIX-ITEM-PICKER]`;\n\nconst subtract = (a: number, b: number) => a - b;\nconst add = (a: number, b: number) => a + b;\n\nexport type SixItemPickerChangePayload = number | string | boolean | TimePeriod;\n\nconst DEBOUNCE_ITEM_PICKER_LISTENER = 'debounced-item-picker';\n\n/**\n * @since 2.0.0\n * @status experimental\n * @part container - The whole component container\n * @part up - The up button\n * @part content - The content area\n * @part down - The down button\n *\n */\n@Component({\n tag: 'six-item-picker',\n styleUrl: 'six-item-picker.scss',\n shadow: true,\n})\nexport class SixItemPicker {\n private readonly eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixItemPickerElement;\n\n /** The item picker's value attribute. */\n @Prop({ mutable: true, reflect: true }) value: number | string = '';\n\n /** The type of items you want to rotate through. */\n @Prop() type: ItemPickerType = ItemPickerType.NUMBER;\n\n /** The minimum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) min?: number | string;\n\n /** The maximum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) max?: number | string;\n\n /** Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop({ reflect: true }) roundtrip = true;\n\n /** Defines how many steps should be taken when navigating */\n @Prop({ reflect: true }) step = 1;\n\n /** Defines a custom list of items you can iterate through */\n @Prop() items?: string[];\n\n /** Defines whether the items should be padded */\n @Prop() padded = false;\n\n /** Defines the length of the padded area */\n @Prop() paddingLength = 2;\n\n /** Defines the character used for padding */\n @Prop() paddingChar = '0';\n\n /** Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,\n * before is selected */\n @Prop() paddingDirection: ItemPickerPaddingDirection = ItemPickerPaddingDirection.BEFORE;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between items.\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * Emitted when the item picker's value changes\n */\n @Event({ eventName: 'six-item-picker-change' }) sixChange!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Emitted when the item picker's value changes, but debounced\n */\n @Event({ eventName: 'six-item-picker-change-debounced' })\n sixChangeDebounced!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n @Watch('value')\n handleValueChange() {\n this.setup();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n this.eventListeners.removeByIdentifier(DEBOUNCE_ITEM_PICKER_LISTENER);\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n @Watch('items')\n handleSetChange() {\n this.setup();\n this.min = this._items[0];\n this.max = this.getLastStringItem();\n }\n\n @State() _items: string[] = [];\n @State() _itemIndexes: Record<string, number> = {};\n\n // used for fast increasing when keeping the mouse button held down\n private _timeoutNext!: ReturnType<typeof setTimeout>;\n private _intervalNext!: ReturnType<typeof setInterval>;\n\n private _timeoutPrev!: ReturnType<typeof setTimeout>;\n private _intervalPrev!: ReturnType<typeof setInterval>;\n\n componentWillLoad() {\n this.setup();\n }\n\n componentDidLoad() {\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n private handleSixItemPickerChangeDebounced = () => {\n this.sixChangeDebounced.emit(this.value);\n };\n\n private setup() {\n if (this.isNumber()) {\n this.setupNumberItems();\n } else {\n this.setUpStringItems();\n }\n }\n\n private setupNumberItems() {\n if (this.isInvalidNumber()) {\n console.warn(`${TAG} Expected number but value is not a number: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to zero.`);\n this.value = this.min ?? 0;\n }\n }\n\n private setUpStringItems() {\n this._items = this.getStringItems();\n this._itemIndexes = this.getItemIndexes();\n const itemsMissValue = this._items.find((i) => String(i) === String(this.value)) === undefined;\n if (itemsMissValue) {\n console.warn(`${TAG} Expected item from item set but value was not found in set: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to \"${this._items[0]}\".`);\n this.value = this._items[0];\n }\n\n if (this.min === undefined) {\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value`);\n console.info(`${TAG} Will set min value to ${this._items[0]}`);\n }\n this.min = this._items[0];\n }\n\n if (this.max === undefined) {\n const maxItem = this.getLastStringItem();\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value if roundtrip is enabled`);\n console.info(`${TAG} Will set min value to ${maxItem}`);\n }\n this.max = maxItem;\n }\n }\n\n private getLastStringItem() {\n return this._items[this._items.length - 1];\n }\n\n private getStringItems(): string[] {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return [];\n case ItemPickerType.LETTER:\n return ALPHABET.alphabet;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.alphabet;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.alphabet;\n case ItemPickerType.CUSTOM:\n if (this.items == null || this.items.length === 0) {\n console.warn(`${TAG}: no items defined for type ${this.type}`);\n return [];\n }\n return this.items;\n }\n }\n\n private getItemIndexes(): Record<string, number> {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return {};\n case ItemPickerType.LETTER:\n return ALPHABET.letterIndexes;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.letterIndexes;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.letterIndexes;\n case ItemPickerType.CUSTOM:\n return createItemIndexes(this._items);\n }\n }\n\n private previousItem() {\n if (this.isNumber()) {\n this.previousNumber();\n } else {\n this.previousStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private previousNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n }\n\n private previousStringItem() {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(subtract),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n\n private nextItem() {\n if (this.isNumber()) {\n this.nextNumber();\n } else {\n this.nextStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private nextNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getStringItemIndex(char: string): number {\n return this._itemIndexes[char];\n }\n\n private nextStringItem() {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(add),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getNextItemByOperation(operation: (a: number, b: number) => number, increment: number = this.step) {\n const value = String(this.value);\n const nextIndexCandidate = operation(this.getStringItemIndex(value), increment);\n const numberOfItems = this._items.length;\n const nextIndex = ((nextIndexCandidate % numberOfItems) + numberOfItems) % numberOfItems;\n return this._items[nextIndex];\n }\n\n private changeValue(params: {\n getNextItem: () => number | string;\n isNextItemAllowed: () => boolean;\n getRoundtripItem: () => number | string;\n isRoundtripPossible: () => boolean;\n }) {\n if (params.isNextItemAllowed()) {\n this.value = params.getNextItem();\n return;\n }\n\n if (params.isRoundtripPossible()) {\n console.error(\n `${TAG} Item picker is expected to perform a roundtrip, but either max or min value is missing so a roundtrip is not possible`\n );\n return;\n }\n\n if (this.roundtrip) {\n this.value = params.getRoundtripItem();\n return;\n }\n\n console.warn(\n `${TAG} Roundtrip is not allowed, but was still triggered, please report this issue to the developer of six-item-picker`\n );\n\n this.sixChange.emit(this.value);\n }\n\n private isNumber() {\n return this.type === ItemPickerType.NUMBER;\n }\n\n private isInvalidNumber() {\n return this.value === '' || isNaN(this.value as number);\n }\n\n private isNextDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isNextNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] + this.step > this._itemIndexes[String(this.max)];\n }\n }\n\n private isNextNumberDisabled() {\n return Number(this.value) + this.step > Number(this.max ?? Infinity);\n }\n\n private isPrevDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isPreviousNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] - this.step < this._itemIndexes[String(this.min)];\n }\n }\n\n private isPreviousNumberDisabled() {\n return Number(this.value) - this.step < Number(this.min ?? -Infinity);\n }\n\n private onMouseDownNext() {\n if (this.isNextDisabled()) {\n return;\n }\n\n this.nextItem();\n\n this._timeoutNext = setTimeout(() => {\n this._intervalNext = setInterval(() => {\n this.nextItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpNext() {\n clearTimeout(this._timeoutNext);\n clearInterval(this._intervalNext);\n }\n\n private onMouseDownPrev() {\n if (this.isPrevDisabled()) {\n return;\n }\n\n this.previousItem();\n\n this._timeoutPrev = setTimeout(() => {\n this._intervalPrev = setInterval(() => {\n this.previousItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpPrev() {\n clearTimeout(this._timeoutPrev);\n clearInterval(this._intervalPrev);\n }\n\n private getFormattedValue() {\n if (this.value === undefined || this.value === null) {\n return this.value;\n }\n\n if (!this.padded) {\n return this.value;\n }\n\n if (this.paddingDirection === ItemPickerPaddingDirection.BEFORE) {\n return String(this.value).padStart(this.paddingLength, this.paddingChar);\n } else if (this.paddingDirection === ItemPickerPaddingDirection.AFTER) {\n return String(this.value).padEnd(this.paddingLength, this.paddingChar);\n }\n\n return this.value;\n }\n\n private handleKeyPress(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (event.target === this.upButton) {\n this.nextItem();\n } else if (event.target === this.downButton) {\n this.previousItem();\n }\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n this.nextItem();\n } else if (event.key === 'ArrowDown') {\n event.preventDefault();\n this.previousItem();\n } else if (event.key === 'PageUp') {\n event.preventDefault();\n this.pageUp();\n } else if (event.key === 'PageDown') {\n event.preventDefault();\n this.pageDown();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToMin();\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToMax();\n }\n }\n\n private pageUp() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + 5 * this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(add, 5),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n }\n\n private pageDown() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - 5 * this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(subtract, 5),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n }\n\n private goToMin() {\n if (this.isNumber()) {\n this.value = this.min ?? 0;\n } else {\n this.value = this._items[0];\n }\n\n this.sixChange.emit(this.value);\n }\n\n private goToMax() {\n if (this.isNumber()) {\n this.value = this.max ?? Infinity;\n } else {\n this.value = this.getLastStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private upButton!: HTMLDivElement;\n private downButton!: HTMLDivElement;\n\n render() {\n return (\n <div\n part=\"container\"\n class=\"item_picker__container\"\n onKeyDown={(event) => this.handleKeyPress(event)}\n tabindex=\"0\"\n >\n <div\n ref={(el) => (this.upButton = el as HTMLDivElement)}\n part=\"up\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isNextDisabled(),\n }}\n onMouseDown={() => this.onMouseDownNext()}\n onMouseUp={() => this.onMouseUpNext()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_less</six-icon>\n </div>\n <div part=\"content\" class=\"item_picker__content\">\n {this.getFormattedValue()}\n </div>\n <div\n ref={(el) => (this.downButton = el as HTMLDivElement)}\n part=\"down\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isPrevDisabled(),\n }}\n onMouseDown={() => this.onMouseDownPrev()}\n onMouseUp={() => this.onMouseUpPrev()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_more</six-icon>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
@@ -9,6 +9,8 @@ const DEFAULT_LANGUAGES = ['EN', 'DE', 'ES'];
|
|
|
9
9
|
*/
|
|
10
10
|
export class SixLanguageSwitcher {
|
|
11
11
|
constructor() {
|
|
12
|
+
/** The languages which should be selectable options. */
|
|
13
|
+
this.languages = DEFAULT_LANGUAGES;
|
|
12
14
|
this.handleLanguageSwitching = (newLanguage, languageValue) => () => {
|
|
13
15
|
if (languageValue !== undefined) {
|
|
14
16
|
this.sixChange.emit(languageValue);
|
|
@@ -18,8 +20,6 @@ export class SixLanguageSwitcher {
|
|
|
18
20
|
}
|
|
19
21
|
this.selected = newLanguage;
|
|
20
22
|
};
|
|
21
|
-
this.selected = undefined;
|
|
22
|
-
this.languages = DEFAULT_LANGUAGES;
|
|
23
23
|
}
|
|
24
24
|
handleChangesLanguages(newValue) {
|
|
25
25
|
if (!Array.isArray(newValue)) {
|
|
@@ -44,7 +44,7 @@ export class SixLanguageSwitcher {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: '4e324d4503e9d65278e4b3c55025363a685d9a69', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
|
|
48
48
|
const language = typeof lang === 'string' ? lang : lang.key;
|
|
49
49
|
return (h("div", { onClick: this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value), onKeyDown: (e) => {
|
|
50
50
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -72,6 +72,7 @@ export class SixLanguageSwitcher {
|
|
|
72
72
|
return {
|
|
73
73
|
"selected": {
|
|
74
74
|
"type": "string",
|
|
75
|
+
"attribute": "selected",
|
|
75
76
|
"mutable": true,
|
|
76
77
|
"complexType": {
|
|
77
78
|
"original": "string",
|
|
@@ -84,11 +85,13 @@ export class SixLanguageSwitcher {
|
|
|
84
85
|
"tags": [],
|
|
85
86
|
"text": "The language which should be shown as selected"
|
|
86
87
|
},
|
|
87
|
-
"
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
88
90
|
"reflect": true
|
|
89
91
|
},
|
|
90
92
|
"languages": {
|
|
91
93
|
"type": "unknown",
|
|
94
|
+
"attribute": "languages",
|
|
92
95
|
"mutable": false,
|
|
93
96
|
"complexType": {
|
|
94
97
|
"original": "string[] | SixLanguageSwitcherInput[]",
|
|
@@ -107,6 +110,8 @@ export class SixLanguageSwitcher {
|
|
|
107
110
|
"tags": [],
|
|
108
111
|
"text": "The languages which should be selectable options."
|
|
109
112
|
},
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
110
115
|
"defaultValue": "DEFAULT_LANGUAGES"
|
|
111
116
|
}
|
|
112
117
|
};
|