@six-group/ui-library 0.0.0-insider.d005298 → 0.0.0-insider.d7f75e8
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/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/{form-control-8d64e974.js → form-control-b39f1df5.js} +2 -2
- package/dist/cjs/{form-control-8d64e974.js.map → form-control-b39f1df5.js.map} +1 -1
- package/dist/cjs/index-417a06c8.js +1948 -0
- package/dist/cjs/index-417a06c8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{modal-3ce015be.js → modal-bd7fc5bc.js} +1 -18
- package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
- package/dist/cjs/six-alert.cjs.entry.js +5 -4
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +5 -4
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +5 -4
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.cjs.entry.js +7 -5
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +4 -3
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +128 -0
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +16 -13
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +6 -5
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +12 -30
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +13 -30
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +88 -13
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
- package/dist/cjs/six-error-page.cjs.entry.js +4 -3
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.cjs.entry.js +5 -4
- package/dist/cjs/six-error.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js +5 -4
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +4 -3
- package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +33 -13
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +4 -3
- package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +5 -4
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +45 -28
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +13 -6
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +5 -4
- package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.cjs.entry.js +17 -7
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +6 -5
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +11 -6
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +4 -3
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +4 -3
- package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +4 -3
- package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +4 -3
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +6 -5
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +4 -3
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +5 -4
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.cjs.entry.js +17 -6
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.cjs.entry.js +4 -3
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +4 -3
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.cjs.entry.js +93 -50
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +5 -4
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +6 -5
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +5 -4
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +41 -7
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-stage-indicator.cjs.entry.js +3 -2
- package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +6 -5
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +34 -8
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +4 -3
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +5 -4
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +5 -4
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +7 -6
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.cjs.entry.js +8 -7
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +5 -4
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/ui-library.cjs.js +13 -11
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/assets/TRADEMARKS.md +3 -3
- package/dist/collection/collection-manifest.json +7 -3
- package/dist/collection/components/six-alert/six-alert.js +2 -2
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.js +2 -2
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.js +2 -2
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.css +17 -4
- package/dist/collection/components/six-button/six-button.js +5 -4
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-card/six-card.js.map +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +13 -11
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +3 -3
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.js +8 -28
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +9 -28
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.css +1 -0
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error/six-error.js.map +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +1 -1
- 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/six-file-list.js.map +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
- 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 -0
- package/dist/collection/components/six-file-upload/six-file-upload.js +86 -11
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-footer/six-footer.js.map +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.css +5 -20
- package/dist/collection/components/six-header/six-header.js +135 -42
- 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 +15 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
- package/dist/collection/components/six-header-item/six-header-item.css +15 -0
- package/dist/collection/components/six-header-item/six-header-item.js +51 -0
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
- package/dist/collection/components/six-icon/six-icon.js +2 -2
- package/dist/collection/components/six-icon/six-icon.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.css +1 -0
- package/dist/collection/components/six-input/six-input.js +41 -5
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -3
- 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 +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-logo/six-logo.css +18 -0
- package/dist/collection/components/six-logo/six-logo.js +54 -0
- package/dist/collection/components/six-logo/six-logo.js.map +1 -0
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-menu/six-menu.js +13 -4
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
- package/dist/collection/components/six-picto/six-picto.js +1 -1
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
- package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-radio/six-radio.js +2 -2
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-range/six-range.css +1 -1
- package/dist/collection/components/six-range/six-range.js +12 -2
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +1 -1
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.js +56 -47
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/util.js +24 -0
- package/dist/collection/components/six-select/util.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
- 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 +8 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
- 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 +45 -0
- package/dist/collection/components/six-spinner/six-spinner.js +59 -10
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.js +2 -2
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +33 -7
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.js +2 -2
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.css +5 -0
- package/dist/collection/components/six-textarea/six-textarea.js +4 -4
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-tile/six-tile.js +5 -5
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- 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/utils/alert.js.map +1 -1
- package/dist/collection/utils/date-util.js.map +1 -1
- package/dist/collection/utils/error-messages.js.map +1 -1
- package/dist/collection/utils/event-listeners.js.map +1 -1
- package/dist/collection/utils/focus-visible.js.map +1 -1
- package/dist/collection/utils/form.js.map +1 -1
- package/dist/collection/utils/modal.js.map +1 -1
- package/dist/collection/utils/popover.js.map +1 -1
- package/dist/collection/utils/popup.js.map +1 -1
- package/dist/collection/utils/scroll.js.map +1 -1
- package/dist/collection/utils/slot.js.map +1 -1
- package/dist/collection/utils/tabbable.js.map +1 -1
- package/dist/collection/utils/time.util.js.map +1 -1
- package/dist/components/index.js +8 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/modal.js +1 -17
- package/dist/components/modal.js.map +1 -1
- package/dist/components/six-alert.js +4 -3
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +4 -3
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +4 -3
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button2.js +6 -4
- package/dist/components/six-button2.js.map +1 -1
- package/dist/components/six-card.js +3 -2
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox2.js +5 -4
- package/dist/components/six-checkbox2.js.map +1 -1
- package/dist/components/six-datepicker.js +15 -12
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details2.js +5 -4
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dialog.js +11 -29
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +12 -29
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown2.js +7 -6
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error-page.js +3 -2
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-error2.js +4 -3
- package/dist/components/six-error2.js.map +1 -1
- package/dist/components/six-file-list-item.js +4 -3
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.js +3 -2
- package/dist/components/six-file-list.js.map +1 -1
- package/dist/components/six-file-upload.js +52 -16
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +3 -2
- package/dist/components/six-footer.js.map +1 -1
- package/dist/components/six-group-label.js +3 -2
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header-dropdown-item.d.ts +11 -0
- package/dist/components/six-header-dropdown-item.js +103 -0
- package/dist/components/six-header-dropdown-item.js.map +1 -0
- package/dist/components/six-header-item.d.ts +11 -0
- package/dist/components/six-header-item.js +8 -0
- package/dist/components/six-header-item.js.map +1 -0
- package/dist/components/six-header-item2.js +39 -0
- package/dist/components/six-header-item2.js.map +1 -0
- package/dist/components/six-header-menu-button.d.ts +11 -0
- package/dist/components/six-header-menu-button.js +57 -0
- package/dist/components/six-header-menu-button.js.map +1 -0
- package/dist/components/six-header.js +70 -39
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +16 -6
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-icon2.js +4 -3
- package/dist/components/six-icon2.js.map +1 -1
- package/dist/components/six-input2.js +16 -5
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-item-picker2.js +5 -4
- package/dist/components/six-item-picker2.js.map +1 -1
- package/dist/components/six-language-switcher.js +10 -5
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +3 -2
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-logo.d.ts +11 -0
- package/dist/components/six-logo.js +8 -0
- package/dist/components/six-logo.js.map +1 -0
- package/dist/components/six-logo2.js +42 -0
- package/dist/components/six-logo2.js.map +1 -0
- package/dist/components/six-main-container.js +3 -2
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-divider.js +3 -2
- package/dist/components/six-menu-divider.js.map +1 -1
- package/dist/components/six-menu-item2.js +4 -3
- package/dist/components/six-menu-item2.js.map +1 -1
- package/dist/components/six-menu-label.js +3 -2
- package/dist/components/six-menu-label.js.map +1 -1
- package/dist/components/six-menu2.js +15 -5
- package/dist/components/six-menu2.js.map +1 -1
- package/dist/components/six-picto2.js +3 -2
- package/dist/components/six-picto2.js.map +1 -1
- package/dist/components/six-progress-bar.js +5 -4
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +3 -2
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +4 -3
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +15 -4
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +3 -2
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +3 -2
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +91 -48
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +4 -3
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +5 -4
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +4 -3
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner2.js +41 -6
- package/dist/components/six-spinner2.js.map +1 -1
- package/dist/components/six-stage-indicator2.js +2 -1
- package/dist/components/six-stage-indicator2.js.map +1 -1
- package/dist/components/six-switch.js +4 -3
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +35 -8
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +3 -2
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +4 -3
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +4 -3
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.js +5 -4
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +7 -6
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker2.js +4 -3
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +4 -3
- package/dist/components/six-tooltip2.js.map +1 -1
- package/dist/components.d.ts +34 -0
- package/dist/components.json +724 -74
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/{form-control-d403a9cf.js → form-control-ad1710bf.js} +2 -2
- package/dist/esm/{form-control-d403a9cf.js.map → form-control-ad1710bf.js.map} +1 -1
- package/dist/esm/index-a7bee415.js +1919 -0
- package/dist/esm/index-a7bee415.js.map +1 -0
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{modal-96526245.js → modal-6c1288e3.js} +2 -18
- package/dist/esm/modal-6c1288e3.js.map +1 -0
- package/dist/esm/six-alert.entry.js +5 -4
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +5 -4
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +5 -4
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +7 -5
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +4 -3
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.entry.js +124 -0
- package/dist/esm/six-checkbox.entry.js.map +1 -0
- package/dist/esm/six-datepicker.entry.js +16 -13
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +6 -5
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +12 -30
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +13 -30
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +88 -14
- package/dist/esm/six-dropdown_3.entry.js.map +1 -0
- package/dist/esm/six-error-page.entry.js +4 -3
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +5 -4
- package/dist/esm/six-error.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +5 -4
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +4 -3
- package/dist/esm/six-file-list.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +33 -13
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +4 -3
- package/dist/esm/six-footer.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +5 -4
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header-dropdown-item.entry.js +41 -0
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
- package/dist/esm/six-header-item_2.entry.js +42 -0
- package/dist/esm/six-header-item_2.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +19 -0
- package/dist/esm/six-header-menu-button.entry.js.map +1 -0
- package/dist/esm/six-header.entry.js +45 -28
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +13 -6
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +5 -4
- package/dist/esm/six-icon.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +17 -7
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +6 -5
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +11 -6
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +4 -3
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-main-container.entry.js +4 -3
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +4 -3
- package/dist/esm/six-menu-divider.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +4 -3
- package/dist/esm/six-menu-label.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +4 -3
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +6 -5
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +4 -3
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +5 -4
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +17 -6
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +4 -3
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +4 -3
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +93 -50
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +5 -4
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +6 -5
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +5 -4
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +41 -7
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-stage-indicator.entry.js +3 -2
- package/dist/esm/six-stage-indicator.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +6 -5
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +34 -8
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +4 -3
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +5 -4
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +5 -4
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +7 -6
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +8 -7
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +5 -4
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +5 -4
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/ui-library.js +14 -12
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-button/six-button.d.ts +1 -1
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -1
- package/dist/types/components/six-header/six-header.d.ts +81 -18
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
- package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
- package/dist/types/components/six-input/six-input.d.ts +9 -1
- package/dist/types/components/six-logo/six-logo.d.ts +9 -0
- package/dist/types/components/six-menu/six-menu.d.ts +1 -1
- package/dist/types/components/six-range/six-range.d.ts +2 -0
- package/dist/types/components/six-select/six-select.d.ts +0 -2
- package/dist/types/components/six-select/util.d.ts +2 -0
- package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
- package/dist/types/components.d.ts +263 -11
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/utils/type-check.d.ts +1 -1
- package/dist/ui-library/assets/TRADEMARKS.md +3 -3
- 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.map +1 -1
- package/dist/ui-library/{p-50dae789.entry.js → p-03acec96.entry.js} +2 -2
- package/dist/ui-library/p-03acec96.entry.js.map +1 -0
- package/dist/ui-library/p-06ba4450.js.map +1 -1
- package/dist/ui-library/p-06d562b7.entry.js +2 -0
- package/dist/ui-library/p-06d562b7.entry.js.map +1 -0
- package/dist/ui-library/p-07b6203f.entry.js +2 -0
- package/dist/ui-library/p-07b6203f.entry.js.map +1 -0
- package/dist/ui-library/{p-9c79341d.entry.js → p-0a6b6429.entry.js} +2 -2
- package/dist/ui-library/p-0a6b6429.entry.js.map +1 -0
- package/dist/ui-library/p-0cebf1d2.js.map +1 -1
- package/dist/ui-library/p-14d09601.entry.js +2 -0
- package/dist/ui-library/p-14d09601.entry.js.map +1 -0
- package/dist/ui-library/p-171df3ad.entry.js +2 -0
- package/dist/ui-library/p-171df3ad.entry.js.map +1 -0
- package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
- package/dist/ui-library/p-1cc3b56d.entry.js.map +1 -0
- package/dist/ui-library/p-1cd09d9b.entry.js +2 -0
- package/dist/ui-library/p-1cd09d9b.entry.js.map +1 -0
- package/dist/ui-library/{p-04cc397c.entry.js → p-1f7a0cb5.entry.js} +2 -2
- package/dist/ui-library/p-1f7a0cb5.entry.js.map +1 -0
- package/dist/ui-library/p-2355c444.entry.js +2 -0
- package/dist/ui-library/p-2355c444.entry.js.map +1 -0
- package/dist/ui-library/p-281ffc35.entry.js +2 -0
- package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
- package/dist/ui-library/p-2ad904a7.entry.js +2 -0
- package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
- package/dist/ui-library/p-30000e86.entry.js +2 -0
- package/dist/ui-library/p-30000e86.entry.js.map +1 -0
- package/dist/ui-library/{p-da7f3dbd.entry.js → p-42cd3588.entry.js} +2 -2
- package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
- package/dist/ui-library/p-48118ce8.js +3 -0
- package/dist/ui-library/p-48118ce8.js.map +1 -0
- package/dist/ui-library/{p-d95e292e.entry.js → p-49019d6c.entry.js} +2 -2
- package/dist/ui-library/p-49019d6c.entry.js.map +1 -0
- package/dist/ui-library/p-4d72b179.entry.js +2 -0
- package/dist/ui-library/p-4d72b179.entry.js.map +1 -0
- package/dist/ui-library/p-4de4ee7a.entry.js +2 -0
- package/dist/ui-library/p-4de4ee7a.entry.js.map +1 -0
- package/dist/ui-library/p-4edde816.entry.js +2 -0
- package/dist/ui-library/p-4edde816.entry.js.map +1 -0
- package/dist/ui-library/p-4f129bb3.entry.js +2 -0
- package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
- package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
- package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
- package/dist/ui-library/p-5ece7986.entry.js +2 -0
- package/dist/ui-library/p-5ece7986.entry.js.map +1 -0
- package/dist/ui-library/p-5f491974.entry.js +2 -0
- package/dist/ui-library/p-5f491974.entry.js.map +1 -0
- package/dist/ui-library/p-5fc9cd7b.entry.js +2 -0
- package/dist/ui-library/p-5fc9cd7b.entry.js.map +1 -0
- package/dist/ui-library/p-618bf750.entry.js +2 -0
- package/dist/ui-library/p-618bf750.entry.js.map +1 -0
- package/dist/ui-library/p-62a1f514.entry.js +2 -0
- package/dist/ui-library/p-62a1f514.entry.js.map +1 -0
- package/dist/ui-library/p-651293e7.js +2 -0
- package/dist/ui-library/p-651293e7.js.map +1 -0
- package/dist/ui-library/p-6513b8ce.entry.js +2 -0
- package/dist/ui-library/p-6513b8ce.entry.js.map +1 -0
- package/dist/ui-library/p-6795e0a9.entry.js +2 -0
- package/dist/ui-library/p-6795e0a9.entry.js.map +1 -0
- package/dist/ui-library/p-6ec126f7.entry.js +2 -0
- package/dist/ui-library/p-6ec126f7.entry.js.map +1 -0
- package/dist/ui-library/p-705e3612.entry.js +2 -0
- package/dist/ui-library/p-705e3612.entry.js.map +1 -0
- package/dist/ui-library/p-70fac778.entry.js +2 -0
- package/dist/ui-library/p-70fac778.entry.js.map +1 -0
- package/dist/ui-library/p-7afdff5c.entry.js +2 -0
- package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
- package/dist/ui-library/{p-ac57ba5c.entry.js → p-7eb9ae75.entry.js} +2 -2
- package/dist/ui-library/p-7eb9ae75.entry.js.map +1 -0
- package/dist/ui-library/p-7f856f00.js.map +1 -1
- package/dist/ui-library/p-8227aaed.js.map +1 -1
- package/dist/ui-library/p-842b492e.js.map +1 -1
- package/dist/ui-library/p-862d474e.js.map +1 -1
- package/dist/ui-library/{p-961bd001.entry.js → p-870139dc.entry.js} +2 -2
- package/dist/ui-library/p-870139dc.entry.js.map +1 -0
- package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
- package/dist/ui-library/{p-61e66671.js → p-a04460e3.js} +2 -2
- package/dist/ui-library/{p-61e66671.js.map → p-a04460e3.js.map} +1 -1
- package/dist/ui-library/p-a1502802.js.map +1 -1
- package/dist/ui-library/p-a20a702a.entry.js +2 -0
- package/dist/ui-library/p-a20a702a.entry.js.map +1 -0
- package/dist/ui-library/p-adc65fc8.entry.js +2 -0
- package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
- package/dist/ui-library/p-afb15ea4.entry.js +2 -0
- package/dist/ui-library/p-afb15ea4.entry.js.map +1 -0
- package/dist/ui-library/p-b361d5da.entry.js +2 -0
- package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
- package/dist/ui-library/p-bfb398c6.entry.js +2 -0
- package/dist/ui-library/p-bfb398c6.entry.js.map +1 -0
- package/dist/ui-library/p-cd65e3b2.entry.js +2 -0
- package/dist/ui-library/p-cd65e3b2.entry.js.map +1 -0
- package/dist/ui-library/p-cd79700c.entry.js +2 -0
- package/dist/ui-library/p-cd79700c.entry.js.map +1 -0
- package/dist/ui-library/p-cdc9224d.entry.js +2 -0
- package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
- package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
- package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
- package/dist/ui-library/{p-884c5cf9.entry.js → p-d46acf21.entry.js} +2 -2
- package/dist/ui-library/p-d46acf21.entry.js.map +1 -0
- package/dist/ui-library/p-d67b8482.entry.js +2 -0
- package/dist/ui-library/p-d67b8482.entry.js.map +1 -0
- package/dist/ui-library/p-db193a32.entry.js +2 -0
- package/dist/ui-library/p-db193a32.entry.js.map +1 -0
- package/dist/ui-library/p-e080d5b6.js.map +1 -1
- package/dist/ui-library/p-e1255160.js +2 -0
- package/dist/ui-library/p-e1255160.js.map +1 -0
- package/dist/ui-library/p-e1529ef6.entry.js +2 -0
- package/dist/ui-library/p-e1529ef6.entry.js.map +1 -0
- package/dist/ui-library/p-e181944f.entry.js +2 -0
- package/dist/ui-library/p-e181944f.entry.js.map +1 -0
- package/dist/ui-library/p-e6efc08a.entry.js +2 -0
- package/dist/ui-library/p-e6efc08a.entry.js.map +1 -0
- package/dist/ui-library/p-e9462085.entry.js +2 -0
- package/dist/ui-library/p-e9462085.entry.js.map +1 -0
- package/dist/ui-library/p-ea854ec5.entry.js +2 -0
- package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
- package/dist/ui-library/p-f12b22bc.entry.js +2 -0
- package/dist/ui-library/p-f12b22bc.entry.js.map +1 -0
- package/dist/ui-library/p-f136a6b2.js.map +1 -1
- package/dist/ui-library/{p-1f5840b5.entry.js → p-f9a1f6ab.entry.js} +2 -2
- package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
- package/dist/ui-library/{p-0440335d.entry.js → p-ffce31da.entry.js} +2 -2
- package/dist/ui-library/p-ffce31da.entry.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/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +8 -20
- package/dist/cjs/index-d7748d51.js +0 -2230
- package/dist/cjs/index-d7748d51.js.map +0 -1
- package/dist/cjs/modal-3ce015be.js.map +0 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js +0 -190
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
- package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
- package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
- package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
- package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
- package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
- package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
- package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
- package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
- package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
- package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
- package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
- package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
- package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
- package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
- package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
- package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
- package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
- package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
- package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
- package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
- package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
- package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
- package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
- package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
- package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
- package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
- package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
- package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
- package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
- package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
- package/dist/collection/components/six-select/test/util.spec.js +0 -81
- package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
- package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
- package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
- package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
- package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
- package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
- package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
- package/dist/collection/files/file-list.json +0 -308
- package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/collection/utils/date-util.spec.js +0 -995
- package/dist/collection/utils/date-util.spec.js.map +0 -1
- package/dist/collection/utils/scroll.spec.js +0 -122
- package/dist/collection/utils/scroll.spec.js.map +0 -1
- package/dist/collection/utils/support.js +0 -16
- package/dist/collection/utils/support.js.map +0 -1
- package/dist/collection/utils/time.util.spec.js +0 -368
- package/dist/collection/utils/time.util.spec.js.map +0 -1
- package/dist/esm/index-79d4ef67.js +0 -2201
- package/dist/esm/index-79d4ef67.js.map +0 -1
- package/dist/esm/modal-96526245.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/six-checkbox_2.entry.js +0 -185
- package/dist/esm/six-checkbox_2.entry.js.map +0 -1
- package/dist/esm/six-dropdown_2.entry.js.map +0 -1
- package/dist/types/utils/support.d.ts +0 -1
- package/dist/ui-library/assets/six-logo.svg +0 -1
- package/dist/ui-library/files/file-list.json +0 -308
- package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/ui-library/p-0440335d.entry.js.map +0 -1
- package/dist/ui-library/p-04cc397c.entry.js.map +0 -1
- package/dist/ui-library/p-0edd3091.entry.js +0 -2
- package/dist/ui-library/p-0edd3091.entry.js.map +0 -1
- package/dist/ui-library/p-150b7664.entry.js +0 -2
- package/dist/ui-library/p-150b7664.entry.js.map +0 -1
- package/dist/ui-library/p-1f5840b5.entry.js.map +0 -1
- package/dist/ui-library/p-28cc013e.entry.js +0 -2
- package/dist/ui-library/p-28cc013e.entry.js.map +0 -1
- package/dist/ui-library/p-3424bbc0.entry.js +0 -2
- package/dist/ui-library/p-3424bbc0.entry.js.map +0 -1
- package/dist/ui-library/p-348c68a8.entry.js +0 -2
- package/dist/ui-library/p-348c68a8.entry.js.map +0 -1
- package/dist/ui-library/p-3723ca06.entry.js +0 -2
- package/dist/ui-library/p-3723ca06.entry.js.map +0 -1
- package/dist/ui-library/p-37aeac5e.entry.js +0 -2
- package/dist/ui-library/p-37aeac5e.entry.js.map +0 -1
- package/dist/ui-library/p-3d7fb086.entry.js +0 -2
- package/dist/ui-library/p-3d7fb086.entry.js.map +0 -1
- package/dist/ui-library/p-457f7373.entry.js +0 -2
- package/dist/ui-library/p-457f7373.entry.js.map +0 -1
- package/dist/ui-library/p-4a667f31.entry.js +0 -2
- package/dist/ui-library/p-4a667f31.entry.js.map +0 -1
- package/dist/ui-library/p-50dae789.entry.js.map +0 -1
- package/dist/ui-library/p-546e33d9.entry.js +0 -2
- package/dist/ui-library/p-546e33d9.entry.js.map +0 -1
- package/dist/ui-library/p-5db3a705.entry.js +0 -2
- package/dist/ui-library/p-5db3a705.entry.js.map +0 -1
- package/dist/ui-library/p-6296779b.entry.js +0 -2
- package/dist/ui-library/p-6296779b.entry.js.map +0 -1
- package/dist/ui-library/p-64b4755d.entry.js +0 -2
- package/dist/ui-library/p-64b4755d.entry.js.map +0 -1
- package/dist/ui-library/p-6c1b046e.entry.js +0 -2
- package/dist/ui-library/p-6c1b046e.entry.js.map +0 -1
- package/dist/ui-library/p-7115316e.entry.js +0 -2
- package/dist/ui-library/p-7115316e.entry.js.map +0 -1
- package/dist/ui-library/p-73dd493f.entry.js +0 -2
- package/dist/ui-library/p-73dd493f.entry.js.map +0 -1
- package/dist/ui-library/p-870b988d.entry.js +0 -2
- package/dist/ui-library/p-870b988d.entry.js.map +0 -1
- package/dist/ui-library/p-884c5cf9.entry.js.map +0 -1
- package/dist/ui-library/p-8888a367.entry.js +0 -2
- package/dist/ui-library/p-8888a367.entry.js.map +0 -1
- package/dist/ui-library/p-8ced18d8.entry.js +0 -2
- package/dist/ui-library/p-8ced18d8.entry.js.map +0 -1
- package/dist/ui-library/p-935c78a7.entry.js +0 -2
- package/dist/ui-library/p-935c78a7.entry.js.map +0 -1
- package/dist/ui-library/p-961bd001.entry.js.map +0 -1
- package/dist/ui-library/p-998de05d.js +0 -2
- package/dist/ui-library/p-998de05d.js.map +0 -1
- package/dist/ui-library/p-9b08068d.entry.js +0 -2
- package/dist/ui-library/p-9b08068d.entry.js.map +0 -1
- package/dist/ui-library/p-9c79341d.entry.js.map +0 -1
- package/dist/ui-library/p-a9c159f2.entry.js +0 -2
- package/dist/ui-library/p-a9c159f2.entry.js.map +0 -1
- package/dist/ui-library/p-ac57ba5c.entry.js.map +0 -1
- package/dist/ui-library/p-af15381b.js +0 -3
- package/dist/ui-library/p-af15381b.js.map +0 -1
- package/dist/ui-library/p-b1a5f3cd.entry.js +0 -2
- package/dist/ui-library/p-b1a5f3cd.entry.js.map +0 -1
- package/dist/ui-library/p-b385a241.entry.js +0 -2
- package/dist/ui-library/p-b385a241.entry.js.map +0 -1
- package/dist/ui-library/p-b74c5d6b.entry.js +0 -2
- package/dist/ui-library/p-b74c5d6b.entry.js.map +0 -1
- package/dist/ui-library/p-bf2fb53f.entry.js +0 -2
- package/dist/ui-library/p-bf2fb53f.entry.js.map +0 -1
- package/dist/ui-library/p-c2c7370b.entry.js +0 -2
- package/dist/ui-library/p-c2c7370b.entry.js.map +0 -1
- package/dist/ui-library/p-caea1eb6.entry.js +0 -2
- package/dist/ui-library/p-caea1eb6.entry.js.map +0 -1
- package/dist/ui-library/p-d3f5b9a8.entry.js +0 -2
- package/dist/ui-library/p-d3f5b9a8.entry.js.map +0 -1
- package/dist/ui-library/p-d42b18eb.entry.js +0 -2
- package/dist/ui-library/p-d42b18eb.entry.js.map +0 -1
- package/dist/ui-library/p-d95e292e.entry.js.map +0 -1
- package/dist/ui-library/p-da7f3dbd.entry.js.map +0 -1
- package/dist/ui-library/p-dfb89b6a.entry.js +0 -2
- package/dist/ui-library/p-dfb89b6a.entry.js.map +0 -1
- package/dist/ui-library/p-e6032375.entry.js +0 -2
- package/dist/ui-library/p-e6032375.entry.js.map +0 -1
- package/dist/ui-library/p-e60d2324.entry.js +0 -2
- package/dist/ui-library/p-e60d2324.entry.js.map +0 -1
- package/dist/ui-library/p-e8298c6e.entry.js +0 -2
- package/dist/ui-library/p-e8298c6e.entry.js.map +0 -1
- package/dist/ui-library/p-ed279165.entry.js +0 -2
- package/dist/ui-library/p-ed279165.entry.js.map +0 -1
- package/dist/ui-library/p-ed61b75c.entry.js +0 -2
- package/dist/ui-library/p-ed61b75c.entry.js.map +0 -1
- package/dist/ui-library/p-f1ab3384.entry.js +0 -2
- package/dist/ui-library/p-f1ab3384.entry.js.map +0 -1
- package/dist/ui-library/p-f4ef481c.entry.js +0 -2
- package/dist/ui-library/p-f4ef481c.entry.js.map +0 -1
- package/dist/ui-library/p-f8cbb8da.entry.js +0 -2
- package/dist/ui-library/p-f8cbb8da.entry.js.map +0 -1
|
@@ -4,6 +4,7 @@ import FormControl from "../../functional-components/form-control/form-control";
|
|
|
4
4
|
import { EventListeners } from "../../utils/event-listeners";
|
|
5
5
|
import { debounce, DEFAULT_DEBOUNCE_FAST } from "../../utils/execution-control";
|
|
6
6
|
import { getLanguage } from "../../utils/error-messages";
|
|
7
|
+
import { convertToValidArrayValue, convertToValidValue, valueEquals } from "./util";
|
|
7
8
|
let id = 0;
|
|
8
9
|
/**
|
|
9
10
|
* @since 1.0
|
|
@@ -47,7 +48,8 @@ export class SixSelect {
|
|
|
47
48
|
var _a;
|
|
48
49
|
event.stopPropagation();
|
|
49
50
|
await this.clearValues();
|
|
50
|
-
await ((_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.
|
|
51
|
+
await ((_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.show());
|
|
52
|
+
await this.setFocus();
|
|
51
53
|
this.sixChange.emit({ value: this.value, isSelected: true });
|
|
52
54
|
};
|
|
53
55
|
this.handleKeyDown = (event) => {
|
|
@@ -138,12 +140,12 @@ export class SixSelect {
|
|
|
138
140
|
return;
|
|
139
141
|
}
|
|
140
142
|
this.activeItemIndex = -1;
|
|
141
|
-
// reset display style of main items
|
|
142
|
-
const mainItems = this.getItems();
|
|
143
|
-
mainItems.forEach((item) => (item.style.display = 'unset'));
|
|
144
|
-
// show selected menu items in the selection container and hide them in the main container
|
|
145
|
-
const checkedItems = getCheckedItems(this.getValueAsArray(), mainItems);
|
|
146
143
|
if (!this.virtualScroll && this.multiple) {
|
|
144
|
+
// reset display style of main items
|
|
145
|
+
const mainItems = this.getItems();
|
|
146
|
+
mainItems.forEach((item) => (item.style.display = 'unset'));
|
|
147
|
+
// show selected menu items in the selection container and hide them in the main container
|
|
148
|
+
const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
|
|
147
149
|
checkedItems.forEach((i) => (i.style.display = 'none'));
|
|
148
150
|
this.selectionContainerItems = checkedItems.map((item) => {
|
|
149
151
|
return (h("six-menu-item", { key: item.value, checked: true, value: item.value, checkType: this.multiple ? 'checkbox' : 'check', onClick: (event) => {
|
|
@@ -163,6 +165,9 @@ export class SixSelect {
|
|
|
163
165
|
};
|
|
164
166
|
this.handleMenuHide = () => {
|
|
165
167
|
this.isOpen = false;
|
|
168
|
+
if (this.multiple) {
|
|
169
|
+
this.handleBlur();
|
|
170
|
+
}
|
|
166
171
|
};
|
|
167
172
|
this.handleSlotChange = () => {
|
|
168
173
|
this.hasHelpTextSlot = hasSlot(this.host, 'help-text');
|
|
@@ -215,44 +220,52 @@ export class SixSelect {
|
|
|
215
220
|
this.handleSlotChange();
|
|
216
221
|
}
|
|
217
222
|
handleMultipleChange() {
|
|
218
|
-
|
|
219
|
-
const value = this.getValueAsArray();
|
|
220
|
-
this.value = this.multiple ? value : value[0] || '';
|
|
223
|
+
this.value = convertToValidValue(this.value, this.multiple);
|
|
221
224
|
this.syncItemsFromValue();
|
|
222
225
|
}
|
|
223
226
|
async handleValueChange() {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
if (!this.multiple && typeof this.value !== 'string') {
|
|
228
|
-
this.value = '';
|
|
227
|
+
const newValue = convertToValidValue(this.value, this.multiple);
|
|
228
|
+
if (!valueEquals(this.value, newValue)) {
|
|
229
|
+
this.value = newValue;
|
|
229
230
|
}
|
|
230
231
|
await this.syncItemsFromValue();
|
|
231
232
|
}
|
|
232
233
|
connectedCallback() {
|
|
234
|
+
var _a;
|
|
233
235
|
if (this.virtualScroll && this.options === null) {
|
|
234
236
|
console.error('Options must be defined when using virtual scrolling');
|
|
235
237
|
}
|
|
236
|
-
this.
|
|
238
|
+
(_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
|
|
239
|
+
this.eventListeners.forward('six-select-change', 'change', this.host);
|
|
240
|
+
this.eventListeners.forward('six-select-blur', 'blur', this.host);
|
|
241
|
+
this.eventListeners.forward('six-select-focus', 'focus', this.host);
|
|
242
|
+
if (this.displayValuesContainer) {
|
|
243
|
+
this.resizeObserver.observe(this.displayValuesContainer);
|
|
244
|
+
}
|
|
237
245
|
}
|
|
238
246
|
componentWillLoad() {
|
|
247
|
+
this.value = convertToValidValue(this.value, this.multiple);
|
|
239
248
|
this.handleSlotChange();
|
|
240
|
-
if (this.multiple && this.value != null) {
|
|
241
|
-
this.value = this.getValueAsArray();
|
|
242
|
-
}
|
|
243
249
|
}
|
|
244
250
|
componentDidLoad() {
|
|
245
|
-
this.
|
|
251
|
+
if (this.displayValuesContainer) {
|
|
252
|
+
this.resizeObserver.observe(this.displayValuesContainer);
|
|
253
|
+
}
|
|
246
254
|
// We need to do an initial sync after the component has rendered, so this will suppress the re-render warning
|
|
247
255
|
requestAnimationFrame(() => this.syncItemsFromValue());
|
|
248
256
|
if (this.autocomplete && this.autocompleteInput != null) {
|
|
249
257
|
const autocompleteInput = this.autocompleteInput;
|
|
250
258
|
this.eventListeners.add(autocompleteInput, 'six-input-input', debounce((event) => {
|
|
259
|
+
var _a;
|
|
251
260
|
this.value = autocompleteInput.value;
|
|
252
261
|
this.sixChange.emit({ value: this.value, isSelected: false });
|
|
253
262
|
event.stopPropagation();
|
|
263
|
+
if (this.virtualScroll || this.value.length > 0) {
|
|
264
|
+
(_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.show();
|
|
265
|
+
}
|
|
254
266
|
}, this.inputDebounce));
|
|
255
|
-
|
|
267
|
+
const selectedLabel = this.displayedValues.join(', ');
|
|
268
|
+
autocompleteInput.value = selectedLabel;
|
|
256
269
|
}
|
|
257
270
|
}
|
|
258
271
|
disconnectedCallback() {
|
|
@@ -267,16 +280,6 @@ export class SixSelect {
|
|
|
267
280
|
this.hasFocus = true;
|
|
268
281
|
(_a = this.box) === null || _a === void 0 ? void 0 : _a.focus(options);
|
|
269
282
|
}
|
|
270
|
-
init() {
|
|
271
|
-
var _a;
|
|
272
|
-
(_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
|
|
273
|
-
this.eventListeners.forward('six-select-change', 'change', this.host);
|
|
274
|
-
this.eventListeners.forward('six-select-blur', 'blur', this.host);
|
|
275
|
-
this.eventListeners.forward('six-select-focus', 'focus', this.host);
|
|
276
|
-
if (this.displayValuesContainer) {
|
|
277
|
-
this.resizeObserver.observe(this.displayValuesContainer);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
283
|
getItemLabel(item) {
|
|
281
284
|
var _a, _b;
|
|
282
285
|
const slot = (_a = item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
@@ -303,11 +306,6 @@ export class SixSelect {
|
|
|
303
306
|
var _a;
|
|
304
307
|
return [...(((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('six-menu-item')) || [])];
|
|
305
308
|
}
|
|
306
|
-
getValueAsArray() {
|
|
307
|
-
const values = Array.isArray(this.value) ? this.value : this.value === '' ? [] : [this.value];
|
|
308
|
-
// enforce that the values are converted to 'string' before the value is compared
|
|
309
|
-
return values.map(String);
|
|
310
|
-
}
|
|
311
309
|
async clearValues() {
|
|
312
310
|
this.value = this.multiple ? [] : '';
|
|
313
311
|
this.selectionContainerItems = [];
|
|
@@ -327,19 +325,30 @@ export class SixSelect {
|
|
|
327
325
|
async syncItemsFromValue() {
|
|
328
326
|
const selectionContainerItems = this.getSelectionContainerItems();
|
|
329
327
|
const mainItems = this.getItems();
|
|
330
|
-
const value = this.
|
|
328
|
+
const value = convertToValidValue(this.value, this.multiple);
|
|
331
329
|
selectionContainerItems.forEach((item) => {
|
|
332
330
|
item.checkType = this.multiple ? 'checkbox' : 'check';
|
|
333
|
-
|
|
331
|
+
if (Array.isArray(value)) {
|
|
332
|
+
item.checked = value.some((val) => val === item.value);
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
item.checked = value === item.value;
|
|
336
|
+
}
|
|
334
337
|
});
|
|
335
338
|
mainItems.forEach((item) => {
|
|
336
339
|
item.checkType = this.multiple ? 'checkbox' : 'check';
|
|
337
|
-
|
|
340
|
+
if (Array.isArray(value)) {
|
|
341
|
+
item.checked = value.some((val) => val === item.value);
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
item.checked = value === item.value;
|
|
345
|
+
}
|
|
338
346
|
});
|
|
339
|
-
const checkedItems = getCheckedItems(this.
|
|
347
|
+
const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
|
|
340
348
|
this.displayedValues = checkedItems.map((i) => this.getItemLabel(i));
|
|
341
|
-
if (this.autocomplete && this.autocompleteInput != null) {
|
|
342
|
-
|
|
349
|
+
if (this.autocomplete && this.autocompleteInput != null && !this.hasFocus) {
|
|
350
|
+
const selectedLabel = this.displayedValues.join(', ');
|
|
351
|
+
this.autocompleteInput.value = selectedLabel;
|
|
343
352
|
}
|
|
344
353
|
requestAnimationFrame(() => {
|
|
345
354
|
this.updateDisplayedValues();
|
|
@@ -405,7 +414,7 @@ export class SixSelect {
|
|
|
405
414
|
showClear = true;
|
|
406
415
|
showExpand = false;
|
|
407
416
|
}
|
|
408
|
-
return (h(FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
|
|
417
|
+
return (h(FormControl, { key: '521e8a99e7fb4ad2fb8ded4763eb8ed1e0eff293', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { key: 'ea5f0ec6216ab61ebcc1ae8add16b042e99297cc', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
|
|
409
418
|
select: true,
|
|
410
419
|
'select--open': this.isOpen,
|
|
411
420
|
'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
|
|
@@ -420,20 +429,20 @@ export class SixSelect {
|
|
|
420
429
|
'select--large': this.size === 'large',
|
|
421
430
|
'select--pill': this.pill,
|
|
422
431
|
'select--invalid': this.invalid,
|
|
423
|
-
}, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
|
|
432
|
+
}, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: 'd6b14098f6aabd6212f71e3832890de646c6d97e', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
|
|
424
433
|
select__box: true,
|
|
425
434
|
'select__box--line': this.line,
|
|
426
435
|
'select__box--autocomplete': this.autocomplete,
|
|
427
|
-
}, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { part: "icon", class: "select__icon" }, h("six-icon", { size: "medium" }, "expand_more"))), h("six-input", { ref: (el) => (this.autocompleteInput = el), class: {
|
|
436
|
+
}, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: 'dd77b5234c29235a00f62b5e49b81dc5aba2ffda', class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { key: 'd30be3b2adb8f5eed29a3e7a5a59f4db007d62e9', exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { key: '7c40d29a181ce1f15bc1bacf059a9c8e9807be67', part: "icon", class: "select__icon" }, h("six-icon", { key: '6ac4a8bf6a4be113dcfd6bf2fd690c8b47aaaaeb', size: "medium" }, "expand_more"))), h("six-input", { key: '8f226312196871cd91abcb20da09c5a2811d1657', ref: (el) => (this.autocompleteInput = el), class: {
|
|
428
437
|
select__input: true,
|
|
429
438
|
'select__hidden-select': !this.autocomplete,
|
|
430
|
-
}, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { class: {
|
|
439
|
+
}, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: 'bb683893a8ad678f3cb01e8e42531b17bd20913c', class: {
|
|
431
440
|
'selection-container': true,
|
|
432
441
|
'selection-container--border': this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,
|
|
433
|
-
} }, this.selectionContainerItems), h("six-menu", { ref: (el) => (this.menu = el), part: "menu", class: {
|
|
442
|
+
} }, this.selectionContainerItems), h("six-menu", { key: 'c7755a2e2da8134b6b58189c81c8354cac7a8e2e', ref: (el) => (this.menu = el), part: "menu", class: {
|
|
434
443
|
select__menu: true,
|
|
435
444
|
'select__menu--hidden': !hasMenuItems,
|
|
436
|
-
}, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { class: "select-all", slot: "dropdown-footer" }, h("six-button", { type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
|
|
445
|
+
}, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: '95fe463945090bd7a7cbc11066f4752dfff55034', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { key: '448f7d261edd83841fc82c4c3304ec497aa4c8f8', class: "select-all", slot: "dropdown-footer" }, h("six-button", { key: 'e393c3715514b8e9a0a710c408364e6c96f9a1d3', type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
|
|
437
446
|
}
|
|
438
447
|
hasSelection() {
|
|
439
448
|
return this.multiple ? this.value.length >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AC,uBAAuB,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,gBAAgB,CAAC,kBAA2B;IACnD,kBAAkB,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;AAC5D,CAAC;AAED,SAAS,gBAAgB,CAAC,aAAsB,EAAE,KAAa;IAC7D,aAAa,CAAC,WAAW,GAAG,IAAI,KAAK,EAAE,CAAC;AAC1C,CAAC;AAED,SAAS,iBAAiB,CAAC,aAAsB;IAC/C,aAAa,CAAC,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,iBAAiB,CAAC,aAAsB;IAC/C,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,oBAAoB,CAAC,oBAA6B;IACzD,MAAM,IAAI,GAAG,WAAW,EAAE,CAAC;IAC3B,QAAQ,IAAI,EAAE;QACZ,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,eAAe,CAAC;QACnE,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,CAAC;QAC5E,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,CAAC;QACxE,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC;QAC9D,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,oBAAoB,CAAC;KAC3E;AACH,CAAC","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getTextContent, hasSlot } from '../../utils/slot';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { SixMenuItemData } from '../six-menu/six-menu';\nimport { getLanguage } from '../../utils/error-messages';\n\nexport interface SixSelectChangePayload {\n value: string | string[];\n isSelected: boolean;\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 - The select's options in the form of menu items.\n * @slot label - The select's label. Alternatively, you can use the label prop.\n * @slot help-text - Help text that describes how to use the select.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part clear-button - The input's clear button, exported from six-input.\n * @part form-control - The form control that wraps the label, input, and help text.\n * @part help-text - The select's help text.\n * @part icon - The select's icon.\n * @part label - The select's label.\n * @part menu - The select menu, a six-menu element.\n * @part tag - The multiselect option, a six-tag element.\n * @part tags - The container in which multiselect options are rendered.\n */\n\n@Component({\n tag: 'six-select',\n styleUrl: 'six-select.scss',\n shadow: true,\n})\nexport class SixSelect {\n private box?: HTMLElement;\n private menu?: HTMLElement;\n private dropdown?: HTMLSixDropdownElement;\n private displayValuesContainer?: HTMLElement;\n private overflowCount?: HTMLElement;\n private autocompleteInput?: HTMLSixInputElement;\n private inputId = `select-${++id}`;\n private labelId = `select-label-${id}`;\n private helpTextId = `select-help-text-${id}`;\n private errorTextId = `select-error-text-${id}`;\n private eventListeners = new EventListeners();\n private activeItemIndex = -1;\n private resizeObserver = new ResizeObserver(() => this.updateDisplayedValues());\n\n @Element() host!: HTMLSixSelectElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorTextSlot = false;\n @State() isOpen = false;\n @State() displayedValues: string[] = [];\n\n /** Menu items shown in the selection container. */\n @State() selectionContainerItems: HTMLSixMenuItemElement[] = [];\n\n /** Set to true to enable multiselect. */\n @Prop() multiple = false;\n\n /** Enables the select all button. */\n @Prop() selectAllButton = false;\n\n /**\n * Custom text for the \"select all\" button. Defaults to \"Select all\" and equivalents in supported languages.\n */\n @Prop() selectAllText?: string;\n\n /**\n * The maximum number of tags to show when `multiple` is true. After the maximum, \"+n\" will be shown to indicate the\n * number of additional items that are selected. Set to -1 to remove the limit.\n *\n * @deprecated: This property is ignored. The component now displays as many items as possible and computes the \"+n\" dynamically.\n */\n @Prop() maxTagsVisible = 3;\n\n /** Set to true to disable the select control. */\n @Prop() disabled = false;\n\n /** The select's name. */\n @Prop() name = '';\n\n /** The select's placeholder text. */\n @Prop() placeholder = '';\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder?: string;\n\n /** The debounce for the filter callbacks. */\n @Prop() filterDebounce?: number;\n\n /** The select's size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /** The value of the control. This will be a string or an array depending on `multiple`. */\n @Prop({ mutable: true }) value: string | string[] = '';\n\n /** Set to true to draw a pill-style select with rounded edges. */\n @Prop() pill = false;\n\n /** The select's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to add a clear button when the select is populated. */\n @Prop() clearable = 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 render as line */\n @Prop() line = false;\n\n /** Set to true to allow filtering for entries in the dropdown */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /**\n * Set to true to turn the six-select into an autocomplete.\n */\n @Prop() autocomplete = false;\n\n /** The debounce for when the input changes for autocompletes should be emitted */\n @Prop() inputDebounce = DEFAULT_DEBOUNCE_FAST;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html) */\n @Prop() options: SixMenuItemData[] | null = null;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n @Watch('disabled')\n handleDisabledChange() {\n if (this.disabled && this.isOpen) {\n this.dropdown?.hide();\n }\n }\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('multiple')\n handleMultipleChange() {\n // Cast to array | string based on `this.multiple`\n const value = this.getValueAsArray();\n this.value = this.multiple ? value : value[0] || '';\n this.syncItemsFromValue();\n }\n\n @Watch('value')\n async handleValueChange() {\n if (this.multiple && !Array.isArray(this.value)) {\n this.value = [];\n }\n\n if (!this.multiple && typeof this.value !== 'string') {\n this.value = '';\n }\n await this.syncItemsFromValue();\n }\n\n /** Emitted when the control's value changes. */\n @Event({ eventName: 'six-select-change' }) sixChange!: EventEmitter<SixSelectChangePayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-select-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-select-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n if (this.virtualScroll && this.options === null) {\n console.error('Options must be defined when using virtual scrolling');\n }\n this.init();\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n if (this.multiple && this.value != null) {\n this.value = this.getValueAsArray();\n }\n }\n\n componentDidLoad() {\n this.init();\n\n // We need to do an initial sync after the component has rendered, so this will suppress the re-render warning\n requestAnimationFrame(() => this.syncItemsFromValue());\n\n if (this.autocomplete && this.autocompleteInput != null) {\n const autocompleteInput = this.autocompleteInput;\n this.eventListeners.add(\n autocompleteInput,\n 'six-input-input',\n debounce((event) => {\n this.value = autocompleteInput.value;\n this.sixChange.emit({ value: this.value, isSelected: false });\n event.stopPropagation();\n }, this.inputDebounce)\n );\n autocompleteInput.value = Array.isArray(this.value) ? this.value.join(',') : this.value;\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the select. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.hasFocus = true;\n this.box?.focus(options);\n }\n\n private init() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-select-change', 'change', this.host);\n this.eventListeners.forward('six-select-blur', 'blur', this.host);\n this.eventListeners.forward('six-select-focus', 'focus', this.host);\n if (this.displayValuesContainer) {\n this.resizeObserver.observe(this.displayValuesContainer);\n }\n }\n\n private getItemLabel(item: HTMLSixMenuItemElement): string {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n if (slot != null) {\n return getTextContent(slot);\n } else {\n // bugfix/COMSLI-203-six-select-value-is-not-updated-if-the-slot-is-changed\n return item.textContent ?? '';\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.options !== null && this.menu != null && this.menu.shadowRoot != null) {\n return [...this.menu.shadowRoot.querySelectorAll('six-menu-item')];\n }\n\n return [...this.host.querySelectorAll('six-menu-item')];\n }\n\n private getVisibleItems(): HTMLSixMenuItemElement[] {\n const selectionContainerItems = this.getSelectionContainerItems();\n const mainItems = this.getItems();\n return [...selectionContainerItems, ...mainItems].filter((i) => i.style.display !== 'none');\n }\n\n private getSelectionContainerItems() {\n return [...(this.host.shadowRoot?.querySelectorAll('six-menu-item') || [])];\n }\n\n private getValueAsArray() {\n const values = Array.isArray(this.value) ? this.value : this.value === '' ? [] : [this.value];\n // enforce that the values are converted to 'string' before the value is compared\n return values.map(String);\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 = async (event: MouseEvent) => {\n event.stopPropagation();\n await this.clearValues();\n await this.dropdown?.hide();\n this.sixChange.emit({ value: this.value, isSelected: true });\n };\n\n private async clearValues() {\n this.value = this.multiple ? [] : '';\n this.selectionContainerItems = [];\n await this.syncItemsFromValue();\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.virtualScroll || this.autocomplete) {\n return;\n }\n\n if (['Control', 'Escape'].includes(event.key)) {\n return;\n }\n\n const items = this.getVisibleItems();\n\n // Ctrl-A selects all items\n if (this.isOpen && this.multiple && event.code === 'KeyA' && event.ctrlKey) {\n event.preventDefault();\n this.selectAll();\n return;\n }\n\n // Tabbing out of the control closes it\n if (event.key === 'Tab') {\n if (this.isOpen) {\n this.dropdown?.hide();\n }\n return;\n }\n\n if (event.key === ' ' && !this.multiple) {\n return;\n }\n\n // Enter and Space selects the active item\n if (this.activeItemIndex >= 0 && ['Enter', ' '].includes(event.key)) {\n const activeItem = items.at(this.activeItemIndex);\n event.preventDefault();\n activeItem?.click();\n return;\n }\n\n // Move the selection when pressing up or down\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n // Show the menu if it's not already open\n if (!this.isOpen) {\n this.dropdown?.show();\n }\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n this.activeItemIndex++;\n } else if (event.key === 'ArrowUp') {\n this.activeItemIndex--;\n } else if (event.key === 'Home') {\n this.activeItemIndex = 0;\n } else if (event.key === 'End') {\n this.activeItemIndex = items.length - 1;\n }\n\n if (this.activeItemIndex < 0) this.activeItemIndex = 0;\n if (this.activeItemIndex > items.length - 1) this.activeItemIndex = items.length - 1;\n\n items.at(this.activeItemIndex)?.setFocus();\n }\n }\n\n // All other keys open the menu\n if (!this.isOpen) {\n event.stopPropagation();\n event.preventDefault();\n this.dropdown?.show();\n }\n };\n\n private selectAll() {\n const visibleItems = this.getVisibleItems();\n const hasDeselectedOptions = this.hasDeselectedOptions();\n visibleItems.filter((option) => !option.disabled).forEach((option) => (option.checked = hasDeselectedOptions));\n const checkedItems = visibleItems.filter((option) => option.checked).map((option) => option.value);\n this.value = hasDeselectedOptions ? checkedItems : [];\n this.sixChange.emit({ value: this.value, isSelected: true });\n }\n\n private handleLabelClick = () => {\n this.box?.focus();\n };\n\n private handleMenuSelect = (event: CustomEvent) => {\n const currentItem = event.detail.item as HTMLSixMenuItemElement;\n if (this.multiple) {\n currentItem.checked = !currentItem.checked;\n } else {\n this.getItems().forEach((i) => (i.checked = false));\n currentItem.checked = true;\n }\n this.syncValueFromItems();\n this.sixChange.emit({ value: this.value, isSelected: true });\n };\n\n private handleMenuShow = (event: CustomEvent) => {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n this.activeItemIndex = -1;\n\n // reset display style of main items\n const mainItems = this.getItems();\n mainItems.forEach((item) => (item.style.display = 'unset'));\n\n // show selected menu items in the selection container and hide them in the main container\n const checkedItems = getCheckedItems(this.getValueAsArray(), mainItems);\n if (!this.virtualScroll && this.multiple) {\n checkedItems.forEach((i) => (i.style.display = 'none'));\n this.selectionContainerItems = checkedItems.map((item) => {\n return (\n <six-menu-item\n key={item.value} // key makes sure the node is not re-used: https://stenciljs.com/docs/templating-jsx#conditionals\n checked={true}\n value={item.value}\n checkType={this.multiple ? 'checkbox' : 'check'}\n onClick={(event) => {\n event.stopPropagation();\n if (!this.disabled) {\n const menuItem = event.target as HTMLSixMenuItemElement;\n const isChecked = menuItem.checked;\n menuItem.checked = !isChecked;\n item.checked = !isChecked;\n this.syncValueFromItems();\n this.sixChange.emit({ value: this.value, isSelected: true });\n }\n }}\n >\n {this.getItemLabel(item)}\n </six-menu-item>\n );\n });\n }\n\n this.isOpen = true;\n };\n\n private handleMenuHide = () => {\n this.isOpen = false;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n this.syncItemsFromValue();\n };\n\n /**\n * Sets the checked state of menu items and renders the displayed values.\n */\n private async syncItemsFromValue() {\n const selectionContainerItems = this.getSelectionContainerItems();\n const mainItems = this.getItems();\n const value = this.getValueAsArray();\n\n selectionContainerItems.forEach((item) => {\n item.checkType = this.multiple ? 'checkbox' : 'check';\n item.checked = value.includes(item.value);\n });\n mainItems.forEach((item) => {\n item.checkType = this.multiple ? 'checkbox' : 'check';\n item.checked = value.includes(item.value);\n });\n\n const checkedItems = getCheckedItems(this.getValueAsArray(), mainItems);\n this.displayedValues = checkedItems.map((i) => this.getItemLabel(i));\n\n if (this.autocomplete && this.autocompleteInput != null) {\n this.autocompleteInput.value = Array.isArray(this.value) ? this.value.join(',') : this.value;\n }\n\n requestAnimationFrame(() => {\n this.updateDisplayedValues();\n });\n }\n\n private syncValueFromItems() {\n const items = this.getItems();\n const checkedValues = items.filter((item) => item.checked).map((item) => item.value);\n if (this.multiple) {\n this.value = checkedValues;\n } else {\n this.value = checkedValues.length > 0 ? checkedValues[0] : '';\n }\n }\n\n private updateDisplayedValues() {\n const displayValueOptions = [...(this.displayValuesContainer?.querySelectorAll('.display-value') ?? [])];\n if (this.displayValuesContainer == null || displayValueOptions.length === 0 || this.overflowCount == null) {\n return;\n }\n\n // Show all options and separators to properly measure all widths.\n displayValueOptions.forEach((d) => {\n showDisplayValue(d);\n showSeparator(d);\n });\n\n // Measure available width. The last separator is added to the available width, because it will be hidden later on.\n const separator = displayValueOptions[displayValueOptions.length - 1].querySelector('.separator');\n if (separator == null) return;\n let availableWidth = getWidth(this.displayValuesContainer) + getWidth(separator);\n\n // Compute how many display value elements fit in the available width\n let { fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth);\n\n if (overflowCount === 0) {\n // All items fit, hide overflow count and show all values.\n hideOverflowCount(this.overflowCount);\n showFittingValues(displayValueOptions, fitCount);\n } else {\n // Not all items fit in the available width. Recompute the available width with the overflow-count visible.\n\n // Increment overflow count by one to make sure the elements fit, even if the overflow count increases to the\n // next higher power of ten, e.g. from 9 to 10 or 99 to 100.\n setOverflowCount(this.overflowCount, overflowCount + 1);\n showOverflowCount(this.overflowCount);\n\n // Subtract the overflow count from the available width\n availableWidth = availableWidth - getWidth(this.overflowCount);\n\n // Compute how many display value elements fit in the new available width\n ({ fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth));\n\n // Show overflow count and items that fit.\n setOverflowCount(this.overflowCount, overflowCount);\n showFittingValues(displayValueOptions, fitCount);\n }\n }\n\n render() {\n const hasSelection = this.hasSelection();\n const items = this.getItems();\n const hasMenuItems = items.length > 0;\n const hasDeselectedOptions = this.hasDeselectedOptions();\n let showClear = false;\n let showExpand = hasMenuItems;\n if (this.clearable && hasSelection) {\n showClear = true;\n showExpand = false;\n }\n\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.hasErrorTextSlot}\n size={this.size}\n onLabelClick={this.handleLabelClick}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <six-dropdown\n part=\"base\"\n ref={(el) => (this.dropdown = el)}\n hoist={this.hoist}\n matchTriggerWidth={true}\n closeOnSelect={!this.multiple}\n containingElement={this.host}\n disableHideOnEnterAndSpace={this.autocomplete}\n class={{\n select: true,\n 'select--open': this.isOpen,\n 'select--empty': this.value?.length === 0,\n 'select--focused': this.hasFocus,\n 'select--clearable': this.clearable,\n 'select--disabled': this.disabled,\n 'select--multiple': this.multiple,\n 'select--has-tags': this.multiple && hasSelection,\n 'select--placeholder-visible': this.displayedValues.length === 0,\n 'select--small': this.size === 'small',\n 'select--medium': this.size === 'medium',\n 'select--large': this.size === 'large',\n 'select--pill': this.pill,\n 'select--invalid': this.invalid,\n }}\n onKeyDown={this.handleKeyDown}\n onSix-dropdown-show={this.handleMenuShow}\n onSix-dropdown-hide={this.handleMenuHide}\n filterPlaceholder={this.filterPlaceholder}\n filterDebounce={this.filterDebounce}\n filter={this.filter}\n asyncFilter={this.asyncFilter}\n virtualScroll={this.virtualScroll}\n >\n {/* Trigger */}\n <div\n slot=\"trigger\"\n ref={(el) => (this.box = el)}\n id={this.inputId}\n class={{\n select__box: true,\n 'select__box--line': this.line,\n 'select__box--autocomplete': this.autocomplete,\n }}\n role=\"combobox\"\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-haspopup=\"true\"\n aria-expanded={this.isOpen ? 'true' : 'false'}\n tabIndex={this.disabled ? -1 : 0}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n >\n {/* Display values */}\n <div class=\"display__values\" ref={(el) => (this.displayValuesContainer = el)}>\n {this.displayedValues.length > 0 ? (\n <span class=\"display__values-and-counter\">\n <span class=\"display__values-values\">\n {this.displayedValues.map((value) => (\n <span key={value} class=\"display-value\">\n {value}\n <span class={{ separator: true }}>, </span>\n </span>\n ))}\n </span>\n <span ref={(el) => (this.overflowCount = el)} class=\"overflow-count\">\n +10\n </span>\n </span>\n ) : (\n <span class=\"placeholder\">{this.placeholder}</span>\n )}\n </div>\n\n {/* Clear */}\n {showClear && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n class=\"select__clear\"\n name=\"clear\"\n size=\"small\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n />\n )}\n\n {/* Expand */}\n {showExpand && (\n <span part=\"icon\" class=\"select__icon\">\n <six-icon size=\"medium\">expand_more</six-icon>\n </span>\n )}\n\n {/* Autocomplete */}\n <six-input\n ref={(el) => (this.autocompleteInput = el)}\n class={{\n select__input: true,\n 'select__hidden-select': !this.autocomplete,\n }}\n aria-hidden=\"true\"\n required={this.required}\n onFocus={this.handleFocus}\n clearable={this.clearable}\n placeholder={this.placeholder}\n pill={this.pill}\n disabled={this.disabled}\n size={this.size}\n tabIndex={-1}\n />\n </div>\n\n {/* Selection container */}\n <div\n class={{\n 'selection-container': true,\n 'selection-container--border':\n this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,\n }}\n >\n {this.selectionContainerItems}\n </div>\n\n {/* Menu */}\n <six-menu\n ref={(el) => (this.menu = el)}\n part=\"menu\"\n class={{\n select__menu: true,\n 'select__menu--hidden': !hasMenuItems,\n }}\n onSix-menu-item-selected={this.handleMenuSelect}\n items={this.options}\n virtualScroll={this.virtualScroll}\n remove-box-shadow={true}\n disable-keyboard-handling={true}\n >\n <slot onSlotchange={this.handleSlotChange} />\n </six-menu>\n\n {/* Select all */}\n {this.multiple && this.selectAllButton && (\n <div class=\"select-all\" slot=\"dropdown-footer\">\n <six-button type=\"link\" onClick={() => this.selectAll()}>\n {this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText}\n </six-button>\n </div>\n )}\n </six-dropdown>\n </FormControl>\n );\n }\n\n private hasSelection() {\n return this.multiple ? this.value.length > 0 : this.value !== '';\n }\n\n private hasDeselectedOptions() {\n return this.getVisibleItems().some((opt) => !opt.disabled && !opt.checked);\n }\n}\n\nfunction getCheckedItems(value: string[], items: HTMLSixMenuItemElement[]): HTMLSixMenuItemElement[] {\n return items.filter((item) => value.includes(item.value));\n}\n\nfunction getWidth(element: Element) {\n return element.getBoundingClientRect().width;\n}\n\nfunction computeFitCount(options: Element[], availableWidth: number): { fitCount: number; overflowCount: number } {\n let accumulatedWidth = 0;\n let fitCount = 0;\n\n for (let i = 0; i < options.length; i++) {\n const displayOption = options[i];\n const width = getWidth(displayOption);\n if (i === 0 && width > availableWidth) {\n fitCount = 1;\n break;\n }\n accumulatedWidth += width;\n if (accumulatedWidth > availableWidth) {\n break;\n } else {\n fitCount += 1;\n }\n }\n const overflowCount = options.length - fitCount;\n return { fitCount, overflowCount };\n}\n\nfunction showFittingValues(displayValueOptions: Element[], fitCount: number) {\n if (displayValueOptions.length > 0) {\n // show items that fit\n displayValueOptions.slice(0, fitCount).forEach((displayValue, index, list) => {\n showDisplayValue(displayValue);\n const isLast = index === list.length - 1;\n if (isLast) {\n hideSeparator(displayValue);\n } else {\n showSeparator(displayValue);\n }\n });\n\n // hide the rest\n displayValueOptions.slice(fitCount).forEach((displayValue) => {\n hideDisplayValue(displayValue);\n showSeparator(displayValue);\n });\n }\n}\n\nfunction hideSeparator(displayValueOption: Element) {\n displayValueOption.querySelector('.separator')?.classList.add('separator--hidden');\n}\n\nfunction showSeparator(displayValueOption: Element) {\n displayValueOption.querySelector('.separator')?.classList.remove('separator--hidden');\n}\n\nfunction showDisplayValue(displayValueOption: Element) {\n displayValueOption.classList.remove('display-value--hidden');\n}\n\nfunction hideDisplayValue(displayValueOption: Element) {\n displayValueOption.classList.add('display-value--hidden');\n}\n\nfunction setOverflowCount(overflowCount: Element, count: number) {\n overflowCount.textContent = `+${count}`;\n}\n\nfunction showOverflowCount(overflowCount: Element) {\n overflowCount.classList.remove('overflow-count-hidden');\n}\n\nfunction hideOverflowCount(overflowCount: Element) {\n overflowCount.classList.add('overflow-count-hidden');\n}\n\nfunction selectAllDefaultText(hasDeselectedOptions: boolean) {\n const lang = getLanguage();\n switch (lang) {\n case 'de':\n return hasDeselectedOptions ? 'Alle auswählen' : 'Alle abwählen';\n case 'fr':\n return hasDeselectedOptions ? 'Tout sélectionner' : 'Tout désélectionner';\n case 'it':\n return hasDeselectedOptions ? 'Seleziona tutto' : 'Deseleziona tutto';\n case 'en':\n return hasDeselectedOptions ? 'Select all' : 'Deselect all';\n case 'es':\n return hasDeselectedOptions ? 'Seleccionar todo' : 'Deseleccionar todo';\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"six-select.js","sourceRoot":"","sources":["../../../src/components/six-select/six-select.tsx"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C3B,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,eAAe,CAAC;QACnE,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,CAAC;QAC5E,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,CAAC;QACxE,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC;QAC9D,KAAK,IAAI;YACP,OAAO,oBAAoB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,oBAAoB,CAAC;IAC5E,CAAC;AACH,CAAC","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getTextContent, hasSlot } from '../../utils/slot';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { SixMenuItemData } from '../six-menu/six-menu';\nimport { getLanguage } from '../../utils/error-messages';\nimport { convertToValidArrayValue, convertToValidValue, valueEquals } from './util';\n\nexport interface SixSelectChangePayload {\n value: string | string[];\n isSelected: boolean;\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 - The select's options in the form of menu items.\n * @slot label - The select's label. Alternatively, you can use the label prop.\n * @slot help-text - Help text that describes how to use the select.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part clear-button - The input's clear button, exported from six-input.\n * @part form-control - The form control that wraps the label, input, and help text.\n * @part help-text - The select's help text.\n * @part icon - The select's icon.\n * @part label - The select's label.\n * @part menu - The select menu, a six-menu element.\n * @part tag - The multiselect option, a six-tag element.\n * @part tags - The container in which multiselect options are rendered.\n */\n\n@Component({\n tag: 'six-select',\n styleUrl: 'six-select.scss',\n shadow: true,\n})\nexport class SixSelect {\n private box?: HTMLElement;\n private menu?: HTMLElement;\n private dropdown?: HTMLSixDropdownElement;\n private displayValuesContainer?: HTMLElement;\n private overflowCount?: HTMLElement;\n private autocompleteInput?: HTMLSixInputElement;\n private inputId = `select-${++id}`;\n private labelId = `select-label-${id}`;\n private helpTextId = `select-help-text-${id}`;\n private errorTextId = `select-error-text-${id}`;\n private eventListeners = new EventListeners();\n private activeItemIndex = -1;\n private resizeObserver = new ResizeObserver(() => this.updateDisplayedValues());\n\n @Element() host!: HTMLSixSelectElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorTextSlot = false;\n @State() isOpen = false;\n @State() displayedValues: string[] = [];\n\n /** Menu items shown in the selection container. */\n @State() selectionContainerItems: HTMLSixMenuItemElement[] = [];\n\n /** Set to true to enable multiselect. */\n @Prop() multiple = false;\n\n /** Enables the select all button. */\n @Prop() selectAllButton = false;\n\n /**\n * Custom text for the \"select all\" button. Defaults to \"Select all\" and equivalents in supported languages.\n */\n @Prop() selectAllText?: string;\n\n /**\n * The maximum number of tags to show when `multiple` is true. After the maximum, \"+n\" will be shown to indicate the\n * number of additional items that are selected. Set to -1 to remove the limit.\n *\n * @deprecated: This property is ignored. The component now displays as many items as possible and computes the \"+n\" dynamically.\n */\n @Prop() maxTagsVisible = 3;\n\n /** Set to true to disable the select control. */\n @Prop() disabled = false;\n\n /** The select's name. */\n @Prop() name = '';\n\n /** The select's placeholder text. */\n @Prop() placeholder = '';\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder?: string;\n\n /** The debounce for the filter callbacks. */\n @Prop() filterDebounce?: number;\n\n /** The select's size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /** The value of the control. This will be a string or an array depending on `multiple`. */\n @Prop({ mutable: true }) value: string | string[] = '';\n\n /** Set to true to draw a pill-style select with rounded edges. */\n @Prop() pill = false;\n\n /** The select's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to add a clear button when the select is populated. */\n @Prop() clearable = 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 render as line */\n @Prop() line = false;\n\n /** Set to true to allow filtering for entries in the dropdown */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /**\n * Set to true to turn the six-select into an autocomplete.\n */\n @Prop() autocomplete = false;\n\n /** The debounce for when the input changes for autocompletes should be emitted */\n @Prop() inputDebounce = DEFAULT_DEBOUNCE_FAST;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html) */\n @Prop() options: SixMenuItemData[] | null = null;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n @Watch('disabled')\n handleDisabledChange() {\n if (this.disabled && this.isOpen) {\n this.dropdown?.hide();\n }\n }\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('multiple')\n handleMultipleChange() {\n this.value = convertToValidValue(this.value, this.multiple);\n this.syncItemsFromValue();\n }\n\n @Watch('value')\n async handleValueChange() {\n const newValue = convertToValidValue(this.value, this.multiple);\n if (!valueEquals(this.value, newValue)) {\n this.value = newValue;\n }\n await this.syncItemsFromValue();\n }\n\n /** Emitted when the control's value changes. */\n @Event({ eventName: 'six-select-change' }) sixChange!: EventEmitter<SixSelectChangePayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-select-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-select-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n if (this.virtualScroll && this.options === null) {\n console.error('Options must be defined when using virtual scrolling');\n }\n\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-select-change', 'change', this.host);\n this.eventListeners.forward('six-select-blur', 'blur', this.host);\n this.eventListeners.forward('six-select-focus', 'focus', this.host);\n if (this.displayValuesContainer) {\n this.resizeObserver.observe(this.displayValuesContainer);\n }\n }\n\n componentWillLoad() {\n this.value = convertToValidValue(this.value, this.multiple);\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n if (this.displayValuesContainer) {\n this.resizeObserver.observe(this.displayValuesContainer);\n }\n\n // We need to do an initial sync after the component has rendered, so this will suppress the re-render warning\n requestAnimationFrame(() => this.syncItemsFromValue());\n\n if (this.autocomplete && this.autocompleteInput != null) {\n const autocompleteInput = this.autocompleteInput;\n this.eventListeners.add(\n autocompleteInput,\n 'six-input-input',\n debounce((event) => {\n this.value = autocompleteInput.value;\n this.sixChange.emit({ value: this.value, isSelected: false });\n event.stopPropagation();\n\n if (this.virtualScroll || this.value.length > 0) {\n this.dropdown?.show();\n }\n }, this.inputDebounce)\n );\n\n const selectedLabel = this.displayedValues.join(', ');\n autocompleteInput.value = selectedLabel;\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the select. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.hasFocus = true;\n this.box?.focus(options);\n }\n\n private getItemLabel(item: HTMLSixMenuItemElement): string {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n if (slot != null) {\n return getTextContent(slot);\n } else {\n // bugfix/COMSLI-203-six-select-value-is-not-updated-if-the-slot-is-changed\n return item.textContent ?? '';\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.options !== null && this.menu != null && this.menu.shadowRoot != null) {\n return [...this.menu.shadowRoot.querySelectorAll('six-menu-item')];\n }\n\n return [...this.host.querySelectorAll('six-menu-item')];\n }\n\n private getVisibleItems(): HTMLSixMenuItemElement[] {\n const selectionContainerItems = this.getSelectionContainerItems();\n const mainItems = this.getItems();\n return [...selectionContainerItems, ...mainItems].filter((i) => i.style.display !== 'none');\n }\n\n private getSelectionContainerItems() {\n return [...(this.host.shadowRoot?.querySelectorAll('six-menu-item') || [])];\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 = async (event: MouseEvent) => {\n event.stopPropagation();\n await this.clearValues();\n await this.dropdown?.show();\n await this.setFocus();\n this.sixChange.emit({ value: this.value, isSelected: true });\n };\n\n private async clearValues() {\n this.value = this.multiple ? [] : '';\n this.selectionContainerItems = [];\n await this.syncItemsFromValue();\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.virtualScroll || this.autocomplete) {\n return;\n }\n\n if (['Control', 'Escape'].includes(event.key)) {\n return;\n }\n\n const items = this.getVisibleItems();\n\n // Ctrl-A selects all items\n if (this.isOpen && this.multiple && event.code === 'KeyA' && event.ctrlKey) {\n event.preventDefault();\n this.selectAll();\n return;\n }\n\n // Tabbing out of the control closes it\n if (event.key === 'Tab') {\n if (this.isOpen) {\n this.dropdown?.hide();\n }\n return;\n }\n\n if (event.key === ' ' && !this.multiple) {\n return;\n }\n\n // Enter and Space selects the active item\n if (this.activeItemIndex >= 0 && ['Enter', ' '].includes(event.key)) {\n const activeItem = items.at(this.activeItemIndex);\n event.preventDefault();\n activeItem?.click();\n return;\n }\n\n // Move the selection when pressing up or down\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n // Show the menu if it's not already open\n if (!this.isOpen) {\n this.dropdown?.show();\n }\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n this.activeItemIndex++;\n } else if (event.key === 'ArrowUp') {\n this.activeItemIndex--;\n } else if (event.key === 'Home') {\n this.activeItemIndex = 0;\n } else if (event.key === 'End') {\n this.activeItemIndex = items.length - 1;\n }\n\n if (this.activeItemIndex < 0) this.activeItemIndex = 0;\n if (this.activeItemIndex > items.length - 1) this.activeItemIndex = items.length - 1;\n\n items.at(this.activeItemIndex)?.setFocus();\n }\n }\n\n // All other keys open the menu\n if (!this.isOpen) {\n event.stopPropagation();\n event.preventDefault();\n this.dropdown?.show();\n }\n };\n\n private selectAll() {\n const visibleItems = this.getVisibleItems();\n const hasDeselectedOptions = this.hasDeselectedOptions();\n visibleItems.filter((option) => !option.disabled).forEach((option) => (option.checked = hasDeselectedOptions));\n const checkedItems = visibleItems.filter((option) => option.checked).map((option) => option.value);\n this.value = hasDeselectedOptions ? checkedItems : [];\n this.sixChange.emit({ value: this.value, isSelected: true });\n }\n\n private handleLabelClick = () => {\n this.box?.focus();\n };\n\n private handleMenuSelect = (event: CustomEvent) => {\n const currentItem = event.detail.item as HTMLSixMenuItemElement;\n if (this.multiple) {\n currentItem.checked = !currentItem.checked;\n } else {\n this.getItems().forEach((i) => (i.checked = false));\n currentItem.checked = true;\n }\n this.syncValueFromItems();\n this.sixChange.emit({ value: this.value, isSelected: true });\n };\n\n private handleMenuShow = (event: CustomEvent) => {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n this.activeItemIndex = -1;\n\n if (!this.virtualScroll && this.multiple) {\n // reset display style of main items\n const mainItems = this.getItems();\n mainItems.forEach((item) => (item.style.display = 'unset'));\n\n // show selected menu items in the selection container and hide them in the main container\n const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);\n checkedItems.forEach((i) => (i.style.display = 'none'));\n this.selectionContainerItems = checkedItems.map((item) => {\n return (\n <six-menu-item\n key={item.value} // key makes sure the node is not re-used: https://stenciljs.com/docs/templating-jsx#conditionals\n checked={true}\n value={item.value}\n checkType={this.multiple ? 'checkbox' : 'check'}\n onClick={(event) => {\n event.stopPropagation();\n if (!this.disabled) {\n const menuItem = event.target as HTMLSixMenuItemElement;\n const isChecked = menuItem.checked;\n menuItem.checked = !isChecked;\n item.checked = !isChecked;\n this.syncValueFromItems();\n this.sixChange.emit({ value: this.value, isSelected: true });\n }\n }}\n >\n {this.getItemLabel(item)}\n </six-menu-item>\n );\n });\n }\n\n this.isOpen = true;\n };\n\n private handleMenuHide = () => {\n this.isOpen = false;\n if (this.multiple) {\n this.handleBlur();\n }\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n this.syncItemsFromValue();\n };\n\n /**\n * Sets the checked state of menu items and renders the displayed values.\n */\n private async syncItemsFromValue() {\n const selectionContainerItems = this.getSelectionContainerItems();\n const mainItems = this.getItems();\n const value = convertToValidValue(this.value, this.multiple);\n\n selectionContainerItems.forEach((item) => {\n item.checkType = this.multiple ? 'checkbox' : 'check';\n if (Array.isArray(value)) {\n item.checked = value.some((val) => val === item.value);\n } else {\n item.checked = value === item.value;\n }\n });\n\n mainItems.forEach((item) => {\n item.checkType = this.multiple ? 'checkbox' : 'check';\n if (Array.isArray(value)) {\n item.checked = value.some((val) => val === item.value);\n } else {\n item.checked = value === item.value;\n }\n });\n\n const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);\n this.displayedValues = checkedItems.map((i) => this.getItemLabel(i));\n\n if (this.autocomplete && this.autocompleteInput != null && !this.hasFocus) {\n const selectedLabel = this.displayedValues.join(', ');\n this.autocompleteInput.value = selectedLabel;\n }\n\n requestAnimationFrame(() => {\n this.updateDisplayedValues();\n });\n }\n\n private syncValueFromItems() {\n const items = this.getItems();\n const checkedValues = items.filter((item) => item.checked).map((item) => item.value);\n if (this.multiple) {\n this.value = checkedValues;\n } else {\n this.value = checkedValues.length > 0 ? checkedValues[0] : '';\n }\n }\n\n private updateDisplayedValues() {\n const displayValueOptions = [...(this.displayValuesContainer?.querySelectorAll('.display-value') ?? [])];\n if (this.displayValuesContainer == null || displayValueOptions.length === 0 || this.overflowCount == null) {\n return;\n }\n\n // Show all options and separators to properly measure all widths.\n displayValueOptions.forEach((d) => {\n showDisplayValue(d);\n showSeparator(d);\n });\n\n // Measure available width. The last separator is added to the available width, because it will be hidden later on.\n const separator = displayValueOptions[displayValueOptions.length - 1].querySelector('.separator');\n if (separator == null) return;\n let availableWidth = getWidth(this.displayValuesContainer) + getWidth(separator);\n\n // Compute how many display value elements fit in the available width\n let { fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth);\n\n if (overflowCount === 0) {\n // All items fit, hide overflow count and show all values.\n hideOverflowCount(this.overflowCount);\n showFittingValues(displayValueOptions, fitCount);\n } else {\n // Not all items fit in the available width. Recompute the available width with the overflow-count visible.\n\n // Increment overflow count by one to make sure the elements fit, even if the overflow count increases to the\n // next higher power of ten, e.g. from 9 to 10 or 99 to 100.\n setOverflowCount(this.overflowCount, overflowCount + 1);\n showOverflowCount(this.overflowCount);\n\n // Subtract the overflow count from the available width\n availableWidth = availableWidth - getWidth(this.overflowCount);\n\n // Compute how many display value elements fit in the new available width\n ({ fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth));\n\n // Show overflow count and items that fit.\n setOverflowCount(this.overflowCount, overflowCount);\n showFittingValues(displayValueOptions, fitCount);\n }\n }\n\n render() {\n const hasSelection = this.hasSelection();\n const items = this.getItems();\n const hasMenuItems = items.length > 0;\n const hasDeselectedOptions = this.hasDeselectedOptions();\n let showClear = false;\n let showExpand = hasMenuItems;\n if (this.clearable && hasSelection) {\n showClear = true;\n showExpand = false;\n }\n\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.hasErrorTextSlot}\n size={this.size}\n onLabelClick={this.handleLabelClick}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <six-dropdown\n part=\"base\"\n ref={(el) => (this.dropdown = el)}\n hoist={this.hoist}\n matchTriggerWidth={true}\n closeOnSelect={!this.multiple}\n containingElement={this.host}\n disableHideOnEnterAndSpace={this.autocomplete}\n class={{\n select: true,\n 'select--open': this.isOpen,\n 'select--empty': this.value?.length === 0,\n 'select--focused': this.hasFocus,\n 'select--clearable': this.clearable,\n 'select--disabled': this.disabled,\n 'select--multiple': this.multiple,\n 'select--has-tags': this.multiple && hasSelection,\n 'select--placeholder-visible': this.displayedValues.length === 0,\n 'select--small': this.size === 'small',\n 'select--medium': this.size === 'medium',\n 'select--large': this.size === 'large',\n 'select--pill': this.pill,\n 'select--invalid': this.invalid,\n }}\n onKeyDown={this.handleKeyDown}\n onSix-dropdown-show={this.handleMenuShow}\n onSix-dropdown-hide={this.handleMenuHide}\n filterPlaceholder={this.filterPlaceholder}\n filterDebounce={this.filterDebounce}\n filter={this.filter}\n asyncFilter={this.asyncFilter}\n virtualScroll={this.virtualScroll}\n >\n {/* Trigger */}\n <div\n slot=\"trigger\"\n ref={(el) => (this.box = el)}\n id={this.inputId}\n class={{\n select__box: true,\n 'select__box--line': this.line,\n 'select__box--autocomplete': this.autocomplete,\n }}\n role=\"combobox\"\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-haspopup=\"true\"\n aria-expanded={this.isOpen ? 'true' : 'false'}\n tabIndex={this.disabled ? -1 : 0}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n >\n {/* Display values */}\n <div class=\"display__values\" ref={(el) => (this.displayValuesContainer = el)}>\n {this.displayedValues.length > 0 ? (\n <span class=\"display__values-and-counter\">\n <span class=\"display__values-values\">\n {this.displayedValues.map((value) => (\n <span key={value} class=\"display-value\">\n {value}\n <span class={{ separator: true }}>, </span>\n </span>\n ))}\n </span>\n <span ref={(el) => (this.overflowCount = el)} class=\"overflow-count\">\n +10\n </span>\n </span>\n ) : (\n <span class=\"placeholder\">{this.placeholder}</span>\n )}\n </div>\n\n {/* Clear */}\n {showClear && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n class=\"select__clear\"\n name=\"clear\"\n size=\"small\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n />\n )}\n\n {/* Expand */}\n {showExpand && (\n <span part=\"icon\" class=\"select__icon\">\n <six-icon size=\"medium\">expand_more</six-icon>\n </span>\n )}\n\n {/* Autocomplete */}\n <six-input\n ref={(el) => (this.autocompleteInput = el)}\n class={{\n select__input: true,\n 'select__hidden-select': !this.autocomplete,\n }}\n aria-hidden=\"true\"\n required={this.required}\n onFocus={this.handleFocus}\n clearable={this.clearable}\n placeholder={this.placeholder}\n pill={this.pill}\n disabled={this.disabled}\n size={this.size}\n tabIndex={-1}\n />\n </div>\n\n {/* Selection container */}\n <div\n class={{\n 'selection-container': true,\n 'selection-container--border':\n this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,\n }}\n >\n {this.selectionContainerItems}\n </div>\n\n {/* Menu */}\n <six-menu\n ref={(el) => (this.menu = el)}\n part=\"menu\"\n class={{\n select__menu: true,\n 'select__menu--hidden': !hasMenuItems,\n }}\n onSix-menu-item-selected={this.handleMenuSelect}\n items={this.options}\n virtualScroll={this.virtualScroll}\n remove-box-shadow={true}\n disable-keyboard-handling={true}\n >\n <slot onSlotchange={this.handleSlotChange} />\n </six-menu>\n\n {/* Select all */}\n {this.multiple && this.selectAllButton && (\n <div class=\"select-all\" slot=\"dropdown-footer\">\n <six-button type=\"link\" onClick={() => this.selectAll()}>\n {this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText}\n </six-button>\n </div>\n )}\n </six-dropdown>\n </FormControl>\n );\n }\n\n private hasSelection() {\n return this.multiple ? this.value.length > 0 : this.value !== '';\n }\n\n private hasDeselectedOptions() {\n return this.getVisibleItems().some((opt) => !opt.disabled && !opt.checked);\n }\n}\n\nfunction getCheckedItems(value: string[], items: HTMLSixMenuItemElement[]): HTMLSixMenuItemElement[] {\n return items.filter((item) => value.includes(item.value));\n}\n\nfunction getWidth(element: Element) {\n return element.getBoundingClientRect().width;\n}\n\nfunction computeFitCount(options: Element[], availableWidth: number): { fitCount: number; overflowCount: number } {\n let accumulatedWidth = 0;\n let fitCount = 0;\n\n for (let i = 0; i < options.length; i++) {\n const displayOption = options[i];\n const width = getWidth(displayOption);\n if (i === 0 && width > availableWidth) {\n fitCount = 1;\n break;\n }\n accumulatedWidth += width;\n if (accumulatedWidth > availableWidth) {\n break;\n } else {\n fitCount += 1;\n }\n }\n const overflowCount = options.length - fitCount;\n return { fitCount, overflowCount };\n}\n\nfunction showFittingValues(displayValueOptions: Element[], fitCount: number) {\n if (displayValueOptions.length > 0) {\n // show items that fit\n displayValueOptions.slice(0, fitCount).forEach((displayValue, index, list) => {\n showDisplayValue(displayValue);\n const isLast = index === list.length - 1;\n if (isLast) {\n hideSeparator(displayValue);\n } else {\n showSeparator(displayValue);\n }\n });\n\n // hide the rest\n displayValueOptions.slice(fitCount).forEach((displayValue) => {\n hideDisplayValue(displayValue);\n showSeparator(displayValue);\n });\n }\n}\n\nfunction hideSeparator(displayValueOption: Element) {\n displayValueOption.querySelector('.separator')?.classList.add('separator--hidden');\n}\n\nfunction showSeparator(displayValueOption: Element) {\n displayValueOption.querySelector('.separator')?.classList.remove('separator--hidden');\n}\n\nfunction showDisplayValue(displayValueOption: Element) {\n displayValueOption.classList.remove('display-value--hidden');\n}\n\nfunction hideDisplayValue(displayValueOption: Element) {\n displayValueOption.classList.add('display-value--hidden');\n}\n\nfunction setOverflowCount(overflowCount: Element, count: number) {\n overflowCount.textContent = `+${count}`;\n}\n\nfunction showOverflowCount(overflowCount: Element) {\n overflowCount.classList.remove('overflow-count-hidden');\n}\n\nfunction hideOverflowCount(overflowCount: Element) {\n overflowCount.classList.add('overflow-count-hidden');\n}\n\nfunction selectAllDefaultText(hasDeselectedOptions: boolean) {\n const lang = getLanguage();\n switch (lang) {\n case 'de':\n return hasDeselectedOptions ? 'Alle auswählen' : 'Alle abwählen';\n case 'fr':\n return hasDeselectedOptions ? 'Tout sélectionner' : 'Tout désélectionner';\n case 'it':\n return hasDeselectedOptions ? 'Seleziona tutto' : 'Deseleziona tutto';\n case 'en':\n return hasDeselectedOptions ? 'Select all' : 'Deselect all';\n case 'es':\n return hasDeselectedOptions ? 'Seleccionar todo' : 'Deseleccionar todo';\n }\n}\n"]}
|
|
@@ -25,6 +25,30 @@ export function isValidValue(value, multiple, menuItems) {
|
|
|
25
25
|
}
|
|
26
26
|
return getSelectedMenuItem(value, menuItems) != null;
|
|
27
27
|
}
|
|
28
|
+
export function convertToValidValue(value, multiple) {
|
|
29
|
+
if (multiple) {
|
|
30
|
+
if (Array.isArray(value)) {
|
|
31
|
+
return value.filter((element) => typeof element === 'string');
|
|
32
|
+
}
|
|
33
|
+
else if (typeof value === 'string' && value.length > 0) {
|
|
34
|
+
return [value];
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
if (typeof value === 'string') {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return '';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export function convertToValidArrayValue(value) {
|
|
50
|
+
return convertToValidValue(value, true);
|
|
51
|
+
}
|
|
28
52
|
export function valueEquals(a, b) {
|
|
29
53
|
if (Array.isArray(a) && Array.isArray(b)) {
|
|
30
54
|
return a.length === b.length && a.every((element, index) => element === b[index]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/components/six-select/util.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,QAAQ,CAAC,KAAc,EAAE,QAAiB,EAAE,SAAqB;;IAC/E,IAAI,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/components/six-select/util.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,QAAQ,CAAC,KAAc,EAAE,QAAiB,EAAE,SAAqB;;IAC/E,IAAI,QAAQ,EAAE,CAAC;QACb,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,iBAAiB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QAC7C,CAAC;aAAM,CAAC;YACN,OAAO,2BAA2B,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;IAED,OAAO,MAAA,MAAA,mBAAmB,CAAC,KAAK,EAAE,SAAS,CAAC,0CAAE,KAAK,mCAAI,EAAE,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,KAAc,EAAE,QAAiB,EAAE,SAAqB;IACnF,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,QAAQ,EAAE,CAAC;QACb,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACvB,OAAO,IAAI,CAAC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K,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,OAAO,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IACpF,CAAC;SAAM,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC1D,OAAO,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,KAAwB;IACnD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,KAAK,KAAK,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAiB,EAAE,SAAqB;IACjE,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3G,CAAC;AAED,SAAS,2BAA2B,CAAC,KAAc,EAAE,SAAqB;IACxE,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACpG,CAAC;AAED,SAAS,mBAAmB,CAAC,KAAc,EAAE,SAAqB;IAChE,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC;AACxD,CAAC","sourcesContent":["export interface MenuItem {\n value: string;\n}\n\nexport function getValue(value: unknown, multiple: boolean, menuItems: MenuItem[]): string | string[] {\n if (multiple) {\n if (Array.isArray(value)) {\n return getSelectedValues(value, menuItems);\n } else {\n return getSelectedValuesFromString(value, menuItems);\n }\n }\n\n return getSelectedMenuItem(value, menuItems)?.value ?? '';\n}\n\nexport function isValidValue(value: unknown, multiple: boolean, menuItems: MenuItem[]): boolean {\n if (value === '') {\n return true;\n }\n\n if (multiple) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n return true;\n }\n return getSelectedValues(value, menuItems).length === value.length;\n }\n return getSelectedValuesFromString(value, menuItems).length > 0;\n }\n\n return getSelectedMenuItem(value, menuItems) != null;\n}\n\nexport function convertToValidValue(value: unknown, multiple: boolean): string | string[] {\n if (multiple) {\n if (Array.isArray(value)) {\n return value.filter((element) => typeof element === 'string');\n } else if (typeof value === 'string' && value.length > 0) {\n return [value];\n } else {\n return [];\n }\n } else {\n if (typeof value === 'string') {\n return value;\n } else {\n return '';\n }\n }\n}\n\nexport function convertToValidArrayValue(value: unknown): string[] {\n return convertToValidValue(value, true) as string[];\n}\n\nexport function valueEquals(a: string | string[], b: string | string[]): boolean {\n if (Array.isArray(a) && Array.isArray(b)) {\n return a.length === b.length && a.every((element, index) => element === b[index]);\n } else if (typeof a === 'string' && typeof b === 'string') {\n return a === b;\n }\n return false;\n}\n\nexport function isValueEmpty(value: string | string[]): boolean {\n if (Array.isArray(value)) {\n return value.length === 0;\n }\n return value === '';\n}\n\nfunction getSelectedValues(values: unknown[], menuItems: MenuItem[]): string[] {\n return menuItems.filter((menuItem) => values.includes(menuItem.value)).map((menuItem) => menuItem.value);\n}\n\nfunction getSelectedValuesFromString(value: unknown, menuItems: MenuItem[]): string[] {\n return menuItems.filter((menuItem) => value === menuItem.value).map((menuItem) => menuItem.value);\n}\n\nfunction getSelectedMenuItem(value: unknown, menuItems: MenuItem[]): MenuItem | undefined {\n return menuItems.find((item) => value === item.value);\n}\n"]}
|
|
@@ -172,7 +172,7 @@ export class SixSidebar {
|
|
|
172
172
|
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h("host", { class: "six-sidebar" }, h("div", { class: {
|
|
175
|
+
return (h("host", { key: '056450e289f2d1edff97ee37efbab15b85a76527', class: "six-sidebar" }, h("div", { key: 'c36b3f22dbc31e448373a0bb61886bb2acf383ed', class: {
|
|
176
176
|
sidebar__container: true,
|
|
177
177
|
'sidebar--visible': this.isVisible,
|
|
178
178
|
'sidebar--open': this.open,
|
|
@@ -181,7 +181,7 @@ export class SixSidebar {
|
|
|
181
181
|
}, style: {
|
|
182
182
|
width: this.width,
|
|
183
183
|
[`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,
|
|
184
|
-
}, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot",
|
|
184
|
+
}, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '59362071f0a76df0714699478e8fcea6a34c83b3' }))));
|
|
185
185
|
}
|
|
186
186
|
static get is() { return "six-sidebar"; }
|
|
187
187
|
static get encapsulation() { return "shadow"; }
|