@six-group/ui-library 0.0.0-insider.a358260 → 0.0.0-insider.d16ec8e
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/{event-listeners-74715e62.js → event-listeners-dd94dcfb.js} +7 -7
- package/dist/cjs/event-listeners-dd94dcfb.js.map +1 -0
- package/dist/cjs/{execution-control-46f388e0.js → execution-control-45c84c46.js} +6 -3
- package/dist/cjs/execution-control-45c84c46.js.map +1 -0
- package/dist/cjs/{focus-visible-0b352c74.js → focus-visible-e0d93a95.js} +3 -3
- package/dist/cjs/focus-visible-e0d93a95.js.map +1 -0
- package/dist/cjs/{form-control-2c17c573.js → form-control-7494488a.js} +10 -9
- package/dist/cjs/form-control-7494488a.js.map +1 -0
- package/dist/cjs/{index-2f6daa5b.js → index-ccf35821.js} +4 -1
- package/dist/cjs/index-ccf35821.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-48d42228.js → modal-21350fb5.js} +4 -3
- package/dist/cjs/modal-21350fb5.js.map +1 -0
- package/dist/cjs/{popover-f743f62b.js → popover-b5e2d5ef.js} +33 -19
- package/dist/cjs/popover-b5e2d5ef.js.map +1 -0
- package/dist/cjs/popup-44836aaf.js +103 -0
- package/dist/cjs/popup-44836aaf.js.map +1 -0
- package/dist/cjs/set-attributes_2.cjs.entry.js +4 -2
- package/dist/cjs/set-attributes_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.cjs.entry.js +18 -23
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +5 -8
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +2 -2
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.cjs.entry.js +30 -34
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +1 -1
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +148 -245
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +48 -47
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +36 -40
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +33 -37
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +215 -196
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +20 -22
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js +2 -2
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +21 -21
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +1 -1
- package/dist/cjs/six-form.cjs.entry.js +40 -35
- package/dist/cjs/six-form.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +12 -11
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.cjs.entry.js +66 -44
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +1 -1
- package/dist/cjs/six-input.cjs.entry.js +5 -5
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +59 -78
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +5 -3
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-item.cjs.entry.js +9 -7
- package/dist/cjs/six-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +5 -2
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +4 -4
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +1 -1
- package/dist/cjs/six-range.cjs.entry.js +4 -4
- package/dist/cjs/six-root.cjs.entry.js +2 -2
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +11 -6
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.cjs.entry.js +135 -188
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +10 -6
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +40 -19
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +51 -45
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +131 -113
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +5 -3
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +5 -8
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +4 -4
- package/dist/cjs/six-tile.cjs.entry.js +14 -17
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +155 -201
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +54 -57
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/{slot-ad537f24.js → slot-bccbdb59.js} +11 -10
- package/dist/cjs/slot-bccbdb59.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +2 -2
- package/dist/collection/components/six-alert/six-alert.js +17 -22
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.js +4 -7
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.js +1 -1
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.js +38 -40
- 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.js +3 -2
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/day-selection.js +2 -2
- package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/month-selection.js +4 -3
- package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/year-selection.js +9 -6
- package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +126 -240
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +51 -50
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.js +34 -38
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +31 -35
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +185 -173
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +25 -27
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +3 -3
- 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.js +32 -32
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-form/six-form.js +41 -33
- package/dist/collection/components/six-form/six-form.js.map +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +11 -9
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.js +64 -42
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +8 -8
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.js +16 -16
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +65 -84
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +2 -2
- 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 +10 -8
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- 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 +29 -23
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +7 -5
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-picto/six-picto.js +5 -2
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +5 -4
- 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-root/six-root.js +4 -4
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +10 -5
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.js +139 -146
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/util.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +40 -19
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +12 -8
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +1 -1
- package/dist/collection/components/six-switch/six-switch.js +58 -50
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.js +5 -3
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +130 -112
- 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 +2 -2
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.js +4 -7
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.js +10 -10
- package/dist/collection/components/six-tile/six-tile.js +17 -20
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +129 -177
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +56 -59
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/functional-components/form-control/form-control.js +8 -7
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/testUtil/delay.js.map +1 -1
- package/dist/collection/utils/date-util.js +24 -16
- package/dist/collection/utils/date-util.js.map +1 -1
- package/dist/collection/utils/event-listeners.js +6 -6
- package/dist/collection/utils/event-listeners.js.map +1 -1
- package/dist/collection/utils/execution-control.js +5 -4
- package/dist/collection/utils/execution-control.js.map +1 -1
- package/dist/collection/utils/focus-visible.js +2 -2
- package/dist/collection/utils/focus-visible.js.map +1 -1
- package/dist/collection/utils/modal.js +3 -2
- package/dist/collection/utils/modal.js.map +1 -1
- package/dist/collection/utils/popover.js +32 -18
- package/dist/collection/utils/popover.js.map +1 -1
- package/dist/collection/utils/popup.js +95 -0
- package/dist/collection/utils/popup.js.map +1 -0
- package/dist/collection/utils/slot.js +9 -24
- package/dist/collection/utils/slot.js.map +1 -1
- package/dist/collection/utils/tabbable.js +6 -6
- package/dist/collection/utils/tabbable.js.map +1 -1
- package/dist/collection/utils/time.util.js +48 -34
- package/dist/collection/utils/time.util.js.map +1 -1
- package/dist/collection/utils/type-check.js +0 -1
- package/dist/collection/utils/type-check.js.map +1 -1
- package/dist/collection/wrappers/set-attributes/set-attributes.js +3 -1
- package/dist/collection/wrappers/set-attributes/set-attributes.js.map +1 -1
- package/dist/components/event-listeners.js +6 -6
- package/dist/components/event-listeners.js.map +1 -1
- package/dist/components/execution-control.js +5 -2
- package/dist/components/execution-control.js.map +1 -1
- package/dist/components/focus-visible.js +2 -2
- package/dist/components/focus-visible.js.map +1 -1
- package/dist/components/form-control.js +8 -7
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/modal.js +3 -2
- package/dist/components/modal.js.map +1 -1
- package/dist/components/popover.js +32 -18
- package/dist/components/popover.js.map +1 -1
- package/dist/components/set-attributes2.js +3 -1
- package/dist/components/set-attributes2.js.map +1 -1
- package/dist/components/six-alert.js +17 -22
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +4 -7
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +1 -1
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.js +28 -32
- package/dist/components/six-button.js.map +1 -1
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.js +1 -0
- package/dist/components/six-checkbox.js.map +1 -1
- package/dist/components/six-datepicker.js +141 -238
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details2.js +46 -45
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dialog.js +33 -37
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +30 -34
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown2.js +185 -173
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error-page.js +19 -21
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-file-list-item.js +1 -1
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-upload.js +20 -20
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-form.js +38 -33
- package/dist/components/six-form.js.map +1 -1
- package/dist/components/six-group-label.js +9 -8
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header.js +64 -42
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +2 -2
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-input2.js +1 -1
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-item-picker2.js +56 -75
- package/dist/components/six-item-picker2.js.map +1 -1
- package/dist/components/six-language-switcher.js +1 -1
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +5 -3
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-item2.js +7 -5
- package/dist/components/six-menu-item2.js.map +1 -1
- package/dist/components/six-menu2.js +25 -18
- package/dist/components/six-menu2.js.map +1 -1
- package/dist/components/six-picto2.js +4 -1
- package/dist/components/six-picto2.js.map +1 -1
- package/dist/components/six-progress-ring.js +3 -3
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-root.js +1 -1
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +8 -3
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +129 -182
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +8 -4
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar.js +39 -18
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner2.js.map +1 -1
- package/dist/components/six-switch.js +50 -44
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +129 -111
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +4 -2
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag2.js +4 -7
- package/dist/components/six-tag2.js.map +1 -1
- package/dist/components/six-tile.js +14 -17
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.js +1 -1
- package/dist/components/six-timepicker2.js +241 -239
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +52 -55
- package/dist/components/six-tooltip2.js.map +1 -1
- package/dist/components/slot.js +10 -9
- package/dist/components/slot.js.map +1 -1
- package/dist/components.json +348 -166
- package/dist/esm/{event-listeners-570a24ea.js → event-listeners-6b434035.js} +7 -7
- package/dist/esm/event-listeners-6b434035.js.map +1 -0
- package/dist/esm/{execution-control-1a60d709.js → execution-control-72cc50f4.js} +6 -3
- package/dist/esm/execution-control-72cc50f4.js.map +1 -0
- package/dist/esm/{focus-visible-97933ea9.js → focus-visible-fa7129a0.js} +3 -3
- package/dist/esm/focus-visible-fa7129a0.js.map +1 -0
- package/dist/esm/{form-control-3b440ea1.js → form-control-44a50dd6.js} +10 -9
- package/dist/esm/form-control-44a50dd6.js.map +1 -0
- package/dist/esm/{index-5c0f6628.js → index-371fb9d4.js} +4 -2
- package/dist/esm/index-371fb9d4.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-5ebdc320.js → modal-b1d96441.js} +4 -3
- package/dist/esm/modal-b1d96441.js.map +1 -0
- package/dist/esm/{popover-bd2c2fca.js → popover-1aacbae8.js} +33 -19
- package/dist/{cjs/popover-f743f62b.js.map → esm/popover-1aacbae8.js.map} +1 -1
- package/dist/esm/popup-678b8592.js +98 -0
- package/dist/esm/popup-678b8592.js.map +1 -0
- package/dist/esm/set-attributes_2.entry.js +4 -2
- package/dist/esm/set-attributes_2.entry.js.map +1 -1
- package/dist/esm/six-alert.entry.js +18 -23
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +5 -8
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +2 -2
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +30 -34
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +1 -1
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.entry.js +5 -4
- package/dist/esm/six-checkbox.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +145 -242
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +48 -47
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +36 -40
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +33 -37
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown_2.entry.js +215 -196
- package/dist/esm/six-dropdown_2.entry.js.map +1 -1
- package/dist/esm/six-error-page.entry.js +20 -22
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +2 -2
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +1 -1
- package/dist/esm/six-file-upload.entry.js +21 -21
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +1 -1
- package/dist/esm/six-form.entry.js +40 -35
- package/dist/esm/six-form.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +12 -11
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +66 -44
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +4 -4
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +1 -1
- package/dist/esm/six-input.entry.js +5 -5
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +59 -78
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +2 -2
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +5 -3
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-main-container.entry.js +1 -1
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +1 -1
- package/dist/esm/six-menu-item.entry.js +9 -7
- package/dist/esm/six-menu-item.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +1 -1
- package/dist/esm/six-picto.entry.js +5 -2
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +1 -1
- package/dist/esm/six-progress-ring.entry.js +4 -4
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +1 -1
- package/dist/esm/six-range.entry.js +4 -4
- package/dist/esm/six-root.entry.js +2 -2
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +11 -6
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +135 -188
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +10 -6
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +1 -1
- package/dist/esm/six-sidebar.entry.js +40 -19
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +1 -1
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +51 -45
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +131 -113
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +2 -2
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +5 -3
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +5 -8
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +4 -4
- package/dist/esm/six-tile.entry.js +14 -17
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +155 -201
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +54 -57
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/{slot-6f3984c7.js → slot-2e64df19.js} +11 -10
- package/dist/esm/slot-2e64df19.js.map +1 -0
- package/dist/esm/ui-library.js +3 -3
- package/dist/types/components/six-alert/six-alert.d.ts +5 -7
- package/dist/types/components/six-avatar/six-avatar.d.ts +1 -2
- package/dist/types/components/six-badge/six-badge.d.ts +0 -1
- package/dist/types/components/six-button/six-button.d.ts +8 -9
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +1 -1
- package/dist/types/components/six-datepicker/components/day-selection.d.ts +9 -5
- package/dist/types/components/six-datepicker/components/month-selection.d.ts +8 -5
- package/dist/types/components/six-datepicker/components/year-selection.d.ts +7 -5
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +34 -39
- package/dist/types/components/six-details/six-details.d.ts +12 -12
- package/dist/types/components/six-dialog/six-dialog.d.ts +12 -13
- package/dist/types/components/six-drawer/six-drawer.d.ts +12 -13
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +28 -32
- package/dist/types/components/six-error-page/six-error-page.d.ts +1 -1
- package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +3 -3
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -11
- package/dist/types/components/six-form/six-form.d.ts +7 -16
- package/dist/types/components/six-group-label/six-group-label.d.ts +4 -4
- package/dist/types/components/six-header/six-header.d.ts +16 -27
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +4 -4
- package/dist/types/components/six-input/six-input.d.ts +3 -3
- package/dist/types/components/six-item-picker/six-item-picker.d.ts +13 -16
- package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +1 -1
- package/dist/types/components/six-menu/six-menu.d.ts +10 -11
- package/dist/types/components/six-menu-item/six-menu-item.d.ts +6 -6
- package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +2 -2
- package/dist/types/components/six-radio/six-radio.d.ts +1 -1
- package/dist/types/components/six-root/six-root.d.ts +3 -3
- package/dist/types/components/six-search-field/six-search-field.d.ts +4 -5
- package/dist/types/components/six-select/six-select.d.ts +15 -12
- package/dist/types/components/six-sidebar/six-sidebar.d.ts +5 -5
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +7 -6
- package/dist/types/components/six-spinner/six-spinner.d.ts +2 -2
- package/dist/types/components/six-switch/six-switch.d.ts +10 -11
- package/dist/types/components/six-tab/six-tab.d.ts +3 -3
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +20 -21
- package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +1 -1
- package/dist/types/components/six-tag/six-tag.d.ts +1 -3
- package/dist/types/components/six-textarea/six-textarea.d.ts +3 -3
- package/dist/types/components/six-tile/six-tile.d.ts +2 -3
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +21 -33
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +19 -21
- package/dist/types/components.d.ts +110 -98
- package/dist/types/functional-components/form-control/form-control.d.ts +5 -4
- package/dist/types/testUtil/delay.d.ts +1 -1
- package/dist/types/utils/date-util.d.ts +17 -10
- package/dist/types/utils/event-listeners.d.ts +1 -1
- package/dist/types/utils/execution-control.d.ts +1 -3
- package/dist/types/utils/modal.d.ts +2 -2
- package/dist/types/utils/popover.d.ts +5 -5
- package/dist/types/utils/popup.d.ts +9 -0
- package/dist/types/utils/slot.d.ts +2 -7
- package/dist/types/utils/tabbable.d.ts +1 -1
- package/dist/types/utils/time.util.d.ts +18 -9
- package/dist/types/utils/type-check.d.ts +3 -4
- package/dist/types/wrappers/set-attributes/set-attributes.d.ts +1 -1
- package/dist/ui-library/p-02d5a6d8.js +2 -0
- package/dist/ui-library/p-02d5a6d8.js.map +1 -0
- package/dist/ui-library/p-053d6de8.entry.js +2 -0
- package/dist/ui-library/p-053d6de8.entry.js.map +1 -0
- package/dist/ui-library/p-0cc08e91.js +2 -0
- package/dist/ui-library/p-0cc08e91.js.map +1 -0
- package/dist/ui-library/{p-a1d4f6cf.entry.js → p-0eee4c41.entry.js} +2 -2
- package/dist/ui-library/p-0eee4c41.entry.js.map +1 -0
- package/dist/ui-library/p-0fe78f9b.js +2 -0
- package/dist/ui-library/p-0fe78f9b.js.map +1 -0
- package/dist/ui-library/{p-ac4f4d45.js → p-187fbba0.js} +3 -3
- package/dist/ui-library/p-187fbba0.js.map +1 -0
- package/dist/ui-library/p-25b42655.entry.js +2 -0
- package/dist/ui-library/p-25b42655.entry.js.map +1 -0
- package/dist/ui-library/p-271ba152.entry.js +2 -0
- package/dist/ui-library/p-271ba152.entry.js.map +1 -0
- package/dist/ui-library/{p-6d75f216.entry.js → p-27c4ee88.entry.js} +2 -2
- package/dist/ui-library/{p-f604e067.entry.js → p-2a36b7d0.entry.js} +2 -2
- package/dist/ui-library/p-2a8ad91b.entry.js +2 -0
- package/dist/ui-library/p-2a8ad91b.entry.js.map +1 -0
- package/dist/ui-library/{p-97cc839c.entry.js → p-30e0cdce.entry.js} +2 -2
- package/dist/ui-library/p-30e0cdce.entry.js.map +1 -0
- package/dist/ui-library/{p-63703ba3.entry.js → p-3a47c8ad.entry.js} +2 -2
- package/dist/ui-library/{p-63703ba3.entry.js.map → p-3a47c8ad.entry.js.map} +1 -1
- package/dist/ui-library/p-3a4815cb.entry.js +2 -0
- package/dist/ui-library/p-3a4815cb.entry.js.map +1 -0
- package/dist/ui-library/p-3b71cac4.entry.js +2 -0
- package/dist/ui-library/p-3b71cac4.entry.js.map +1 -0
- package/dist/ui-library/{p-5a25d6fb.entry.js → p-3d4a2e03.entry.js} +2 -2
- package/dist/ui-library/{p-73597d13.entry.js → p-3e4b9341.entry.js} +2 -2
- package/dist/ui-library/{p-73597d13.entry.js.map → p-3e4b9341.entry.js.map} +1 -1
- package/dist/ui-library/{p-3c635d0a.entry.js → p-41f0b6ff.entry.js} +2 -2
- package/dist/ui-library/p-435242a8.entry.js +2 -0
- package/dist/ui-library/p-435242a8.entry.js.map +1 -0
- package/dist/ui-library/{p-19364560.entry.js → p-5084ca7c.entry.js} +2 -2
- package/dist/ui-library/{p-19364560.entry.js.map → p-5084ca7c.entry.js.map} +1 -1
- package/dist/ui-library/p-5b3e6eb7.entry.js +2 -0
- package/dist/ui-library/p-5b3e6eb7.entry.js.map +1 -0
- package/dist/ui-library/{p-8a970a40.entry.js → p-5c1dd25a.entry.js} +2 -2
- package/dist/ui-library/p-5c1dd25a.entry.js.map +1 -0
- package/dist/ui-library/p-5c60227f.entry.js +2 -0
- package/dist/ui-library/p-5c60227f.entry.js.map +1 -0
- package/dist/ui-library/p-5dc40a6a.entry.js +2 -0
- package/dist/ui-library/p-5dc40a6a.entry.js.map +1 -0
- package/dist/ui-library/{p-dd3c76f1.entry.js → p-649017db.entry.js} +2 -2
- package/dist/ui-library/p-713684c7.entry.js +2 -0
- package/dist/ui-library/p-713684c7.entry.js.map +1 -0
- package/dist/ui-library/{p-c30f9e0b.entry.js → p-73325eec.entry.js} +2 -2
- package/dist/ui-library/p-73325eec.entry.js.map +1 -0
- package/dist/ui-library/p-7639c68e.entry.js +2 -0
- package/dist/ui-library/p-7639c68e.entry.js.map +1 -0
- package/dist/ui-library/p-764f56dd.entry.js +2 -0
- package/dist/ui-library/p-764f56dd.entry.js.map +1 -0
- package/dist/ui-library/{p-e19a6c95.entry.js → p-886a35ee.entry.js} +2 -2
- package/dist/ui-library/p-8cf72af6.js +2 -0
- package/dist/ui-library/p-8cf72af6.js.map +1 -0
- package/dist/ui-library/p-8d6f4311.entry.js +2 -0
- package/dist/ui-library/p-8d6f4311.entry.js.map +1 -0
- package/dist/ui-library/p-90c2dc30.entry.js +2 -0
- package/dist/ui-library/p-90c2dc30.entry.js.map +1 -0
- package/dist/ui-library/{p-97323ad7.entry.js → p-965fa6a6.entry.js} +2 -2
- package/dist/ui-library/p-98234e3f.entry.js +2 -0
- package/dist/ui-library/p-98234e3f.entry.js.map +1 -0
- package/dist/ui-library/{p-820c23f0.entry.js → p-9b9c3afc.entry.js} +2 -2
- package/dist/ui-library/{p-394a2a12.entry.js → p-9c34eab7.entry.js} +2 -2
- package/dist/ui-library/{p-394a2a12.entry.js.map → p-9c34eab7.entry.js.map} +1 -1
- package/dist/ui-library/p-9e0c386f.entry.js +2 -0
- package/dist/ui-library/p-9e0c386f.entry.js.map +1 -0
- package/dist/ui-library/p-9f8b6144.entry.js +2 -0
- package/dist/ui-library/p-9f8b6144.entry.js.map +1 -0
- package/dist/ui-library/p-a3cc0521.entry.js +2 -0
- package/dist/ui-library/p-a3cc0521.entry.js.map +1 -0
- package/dist/ui-library/{p-21859bca.entry.js → p-a5143b8d.entry.js} +2 -2
- package/dist/ui-library/{p-097cced4.entry.js → p-aa6f71e1.entry.js} +2 -2
- package/dist/ui-library/{p-097cced4.entry.js.map → p-aa6f71e1.entry.js.map} +1 -1
- package/dist/ui-library/p-abb98245.entry.js +2 -0
- package/dist/ui-library/p-abb98245.entry.js.map +1 -0
- package/dist/ui-library/p-b183e44f.js +2 -0
- package/dist/ui-library/p-b183e44f.js.map +1 -0
- package/dist/ui-library/{p-19b50b5a.entry.js → p-b27f496f.entry.js} +2 -2
- package/dist/ui-library/p-b27f496f.entry.js.map +1 -0
- package/dist/ui-library/{p-4f8394d7.js → p-ba74863a.js} +2 -2
- package/dist/ui-library/p-ba74863a.js.map +1 -0
- package/dist/ui-library/p-bf4a35ec.js +2 -0
- package/dist/ui-library/p-bf4a35ec.js.map +1 -0
- package/dist/ui-library/{p-d5633a29.entry.js → p-c07adc21.entry.js} +2 -2
- package/dist/ui-library/p-c07adc21.entry.js.map +1 -0
- package/dist/ui-library/p-c700e3eb.entry.js +2 -0
- package/dist/ui-library/p-c700e3eb.entry.js.map +1 -0
- package/dist/ui-library/p-cab99e54.entry.js +2 -0
- package/dist/ui-library/p-cab99e54.entry.js.map +1 -0
- package/dist/ui-library/{p-baa03951.entry.js → p-cf1133a0.entry.js} +2 -2
- package/dist/ui-library/p-cf1d36c0.entry.js +2 -0
- package/dist/ui-library/p-cf1d36c0.entry.js.map +1 -0
- package/dist/ui-library/p-d87a6f4d.js +2 -0
- package/dist/ui-library/p-d87a6f4d.js.map +1 -0
- package/dist/ui-library/{p-c349d1d4.entry.js → p-d8c97778.entry.js} +2 -2
- package/dist/ui-library/p-d8c97778.entry.js.map +1 -0
- package/dist/ui-library/p-deb01174.entry.js +2 -0
- package/dist/ui-library/p-deb01174.entry.js.map +1 -0
- package/dist/ui-library/{p-af793d04.entry.js → p-e5ba13d2.entry.js} +2 -2
- package/dist/ui-library/p-e5ba13d2.entry.js.map +1 -0
- package/dist/ui-library/{p-611e1978.entry.js → p-f29ba9cb.entry.js} +2 -2
- package/dist/ui-library/{p-611e1978.entry.js.map → p-f29ba9cb.entry.js.map} +1 -1
- package/dist/ui-library/{p-9328e5bc.entry.js → p-f66eb76c.entry.js} +2 -2
- package/dist/ui-library/p-f66eb76c.entry.js.map +1 -0
- package/dist/ui-library/p-f974a184.entry.js +2 -0
- package/dist/ui-library/p-f974a184.entry.js.map +1 -0
- package/dist/ui-library/{p-b0e5658f.entry.js → p-fb8d0734.entry.js} +2 -2
- package/dist/ui-library/p-fb8d0734.entry.js.map +1 -0
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/event-listeners-74715e62.js.map +0 -1
- package/dist/cjs/execution-control-46f388e0.js.map +0 -1
- package/dist/cjs/focus-visible-0b352c74.js.map +0 -1
- package/dist/cjs/form-control-2c17c573.js.map +0 -1
- package/dist/cjs/index-2f6daa5b.js.map +0 -1
- package/dist/cjs/modal-48d42228.js.map +0 -1
- package/dist/cjs/six-timepicker.types-c19ebff3.js +0 -56
- package/dist/cjs/six-timepicker.types-c19ebff3.js.map +0 -1
- package/dist/cjs/slot-ad537f24.js.map +0 -1
- package/dist/collection/components/six-timepicker/six-time-format.js +0 -15
- package/dist/collection/components/six-timepicker/six-time-format.js.map +0 -1
- package/dist/collection/components/six-timepicker/six-timepicker.types.js +0 -41
- package/dist/collection/components/six-timepicker/six-timepicker.types.js.map +0 -1
- package/dist/collection/utils/as-array.js +0 -2
- package/dist/collection/utils/as-array.js.map +0 -1
- package/dist/collection/utils/matchers.js +0 -3
- package/dist/collection/utils/matchers.js.map +0 -1
- package/dist/collection/utils/testing.js +0 -39
- package/dist/collection/utils/testing.js.map +0 -1
- package/dist/esm/event-listeners-570a24ea.js.map +0 -1
- package/dist/esm/execution-control-1a60d709.js.map +0 -1
- package/dist/esm/focus-visible-97933ea9.js.map +0 -1
- package/dist/esm/form-control-3b440ea1.js.map +0 -1
- package/dist/esm/index-5c0f6628.js.map +0 -1
- package/dist/esm/modal-5ebdc320.js.map +0 -1
- package/dist/esm/popover-bd2c2fca.js.map +0 -1
- package/dist/esm/six-timepicker.types-e161a447.js +0 -50
- package/dist/esm/six-timepicker.types-e161a447.js.map +0 -1
- package/dist/esm/slot-6f3984c7.js.map +0 -1
- package/dist/types/components/six-timepicker/six-time-format.d.ts +0 -13
- package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +0 -36
- package/dist/types/utils/as-array.d.ts +0 -1
- package/dist/types/utils/matchers.d.ts +0 -2
- package/dist/types/utils/popper.d.ts +0 -33
- package/dist/types/utils/testing.d.ts +0 -2
- package/dist/ui-library/p-054e12cc.entry.js +0 -2
- package/dist/ui-library/p-054e12cc.entry.js.map +0 -1
- package/dist/ui-library/p-0786fa7c.js +0 -2
- package/dist/ui-library/p-0786fa7c.js.map +0 -1
- package/dist/ui-library/p-163f2bb0.entry.js +0 -2
- package/dist/ui-library/p-163f2bb0.entry.js.map +0 -1
- package/dist/ui-library/p-18e5f772.entry.js +0 -2
- package/dist/ui-library/p-18e5f772.entry.js.map +0 -1
- package/dist/ui-library/p-18ea0c56.js +0 -2
- package/dist/ui-library/p-18ea0c56.js.map +0 -1
- package/dist/ui-library/p-19b50b5a.entry.js.map +0 -1
- package/dist/ui-library/p-2e48c8d2.entry.js +0 -2
- package/dist/ui-library/p-2e48c8d2.entry.js.map +0 -1
- package/dist/ui-library/p-308261c4.entry.js +0 -2
- package/dist/ui-library/p-308261c4.entry.js.map +0 -1
- package/dist/ui-library/p-33f7e22b.entry.js +0 -2
- package/dist/ui-library/p-33f7e22b.entry.js.map +0 -1
- package/dist/ui-library/p-4ae91795.entry.js +0 -2
- package/dist/ui-library/p-4ae91795.entry.js.map +0 -1
- package/dist/ui-library/p-4f8394d7.js.map +0 -1
- package/dist/ui-library/p-53a13db5.entry.js +0 -2
- package/dist/ui-library/p-53a13db5.entry.js.map +0 -1
- package/dist/ui-library/p-559c87f0.entry.js +0 -2
- package/dist/ui-library/p-559c87f0.entry.js.map +0 -1
- package/dist/ui-library/p-6403fd87.entry.js +0 -2
- package/dist/ui-library/p-6403fd87.entry.js.map +0 -1
- package/dist/ui-library/p-6433c0da.entry.js +0 -2
- package/dist/ui-library/p-6433c0da.entry.js.map +0 -1
- package/dist/ui-library/p-79eee01b.js +0 -2
- package/dist/ui-library/p-79eee01b.js.map +0 -1
- package/dist/ui-library/p-8a970a40.entry.js.map +0 -1
- package/dist/ui-library/p-90824648.entry.js +0 -2
- package/dist/ui-library/p-90824648.entry.js.map +0 -1
- package/dist/ui-library/p-9328e5bc.entry.js.map +0 -1
- package/dist/ui-library/p-97cc839c.entry.js.map +0 -1
- package/dist/ui-library/p-9a860acc.js +0 -2
- package/dist/ui-library/p-9a860acc.js.map +0 -1
- package/dist/ui-library/p-9d1d222f.entry.js +0 -2
- package/dist/ui-library/p-9d1d222f.entry.js.map +0 -1
- package/dist/ui-library/p-a1d4f6cf.entry.js.map +0 -1
- package/dist/ui-library/p-ac4f4d45.js.map +0 -1
- package/dist/ui-library/p-af793d04.entry.js.map +0 -1
- package/dist/ui-library/p-b0e5658f.entry.js.map +0 -1
- package/dist/ui-library/p-b1e66136.js +0 -2
- package/dist/ui-library/p-b1e66136.js.map +0 -1
- package/dist/ui-library/p-b4dfb7cf.js +0 -2
- package/dist/ui-library/p-b4dfb7cf.js.map +0 -1
- package/dist/ui-library/p-b997e43c.entry.js +0 -2
- package/dist/ui-library/p-b997e43c.entry.js.map +0 -1
- package/dist/ui-library/p-c0cb6436.entry.js +0 -2
- package/dist/ui-library/p-c0cb6436.entry.js.map +0 -1
- package/dist/ui-library/p-c30f9e0b.entry.js.map +0 -1
- package/dist/ui-library/p-c349d1d4.entry.js.map +0 -1
- package/dist/ui-library/p-c53a63f9.entry.js +0 -2
- package/dist/ui-library/p-c53a63f9.entry.js.map +0 -1
- package/dist/ui-library/p-c640c2d8.entry.js +0 -2
- package/dist/ui-library/p-c640c2d8.entry.js.map +0 -1
- package/dist/ui-library/p-c94d0b07.entry.js +0 -2
- package/dist/ui-library/p-c94d0b07.entry.js.map +0 -1
- package/dist/ui-library/p-d12c6092.js +0 -2
- package/dist/ui-library/p-d12c6092.js.map +0 -1
- package/dist/ui-library/p-d5633a29.entry.js.map +0 -1
- package/dist/ui-library/p-df655bc9.entry.js +0 -2
- package/dist/ui-library/p-df655bc9.entry.js.map +0 -1
- package/dist/ui-library/p-f18ba86f.entry.js +0 -2
- package/dist/ui-library/p-f18ba86f.entry.js.map +0 -1
- package/dist/ui-library/p-f4938771.entry.js +0 -2
- package/dist/ui-library/p-f4938771.entry.js.map +0 -1
- package/dist/ui-library/p-f70e2403.entry.js +0 -2
- package/dist/ui-library/p-f70e2403.entry.js.map +0 -1
- package/dist/ui-library/p-f9d345e0.entry.js +0 -2
- package/dist/ui-library/p-f9d345e0.entry.js.map +0 -1
- package/dist/ui-library/p-fed07a1f.entry.js +0 -2
- package/dist/ui-library/p-fed07a1f.entry.js.map +0 -1
- package/dist/ui-library/p-ff0257bf.entry.js +0 -2
- package/dist/ui-library/p-ff0257bf.entry.js.map +0 -1
- /package/dist/ui-library/{p-6d75f216.entry.js.map → p-27c4ee88.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f604e067.entry.js.map → p-2a36b7d0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5a25d6fb.entry.js.map → p-3d4a2e03.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3c635d0a.entry.js.map → p-41f0b6ff.entry.js.map} +0 -0
- /package/dist/ui-library/{p-dd3c76f1.entry.js.map → p-649017db.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e19a6c95.entry.js.map → p-886a35ee.entry.js.map} +0 -0
- /package/dist/ui-library/{p-97323ad7.entry.js.map → p-965fa6a6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-820c23f0.entry.js.map → p-9b9c3afc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-21859bca.entry.js.map → p-a5143b8d.entry.js.map} +0 -0
- /package/dist/ui-library/{p-baa03951.entry.js.map → p-cf1133a0.entry.js.map} +0 -0
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
import { ItemPickerType } from '../six-item-picker/types';
|
|
3
|
-
import {
|
|
4
|
-
import { SixTimePropertyName, TIME_FORMAT_CHAR } from './six-timepicker.types';
|
|
5
|
-
import { createTimeString, getCurrentTime, isValidTimeString, parseTimeString, TIME_FORMAT_SEPARATOR, } from '../../utils/time.util';
|
|
3
|
+
import { createTimeString, getCurrentTime, isValidTimeString, parseTimeString, } from '../../utils/time.util';
|
|
6
4
|
import { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';
|
|
7
5
|
import { EventListeners } from '../../utils/event-listeners';
|
|
8
6
|
import { hasSlot } from '../../utils/slot';
|
|
9
|
-
import {
|
|
10
|
-
const TAG = `[SIX-TIMEPICKER]`;
|
|
11
|
-
const DEBOUNCE_TIMEPICKER_LISTENER = 'debounced-timepicker';
|
|
7
|
+
import { adjustPopupForHoisting, movePopup } from '../../utils/popup';
|
|
12
8
|
const MIN_POPUP_HEIGHT = 145;
|
|
13
9
|
/**
|
|
14
10
|
* @since 2.0.0
|
|
@@ -22,43 +18,29 @@ const MIN_POPUP_HEIGHT = 145;
|
|
|
22
18
|
export class SixTimepicker {
|
|
23
19
|
constructor() {
|
|
24
20
|
this.eventListeners = new EventListeners();
|
|
25
|
-
this.defaultValue =
|
|
26
|
-
this.
|
|
21
|
+
this.defaultValue = {};
|
|
22
|
+
this.handlePickerChange = (event, property) => {
|
|
23
|
+
// stop propagation, since the timepicker should not expose the events of the underlying item-picker
|
|
27
24
|
event.stopPropagation();
|
|
28
|
-
|
|
29
|
-
if (!isValidTimeString(inputValue, this.format)) {
|
|
30
|
-
this.sixChange.emit({
|
|
31
|
-
value: {},
|
|
32
|
-
valueAsString: '',
|
|
33
|
-
});
|
|
25
|
+
if (this.popupValue == null) {
|
|
34
26
|
return;
|
|
35
27
|
}
|
|
36
|
-
this.internalValue = parseTimeString(inputValue, this.format);
|
|
37
|
-
this.sixChange.emit({
|
|
38
|
-
value: this.internalValue,
|
|
39
|
-
valueAsString: createTimeString(this.internalValue, this.format),
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
this.handleSixTimepickerChangeDebounced = ({ detail }) => {
|
|
43
|
-
this.sixChangeDebounced.emit(detail);
|
|
44
|
-
};
|
|
45
|
-
this.handleChange = (event, property) => {
|
|
46
|
-
// stop propagation, since the timepicker should not expose the events of the underlying item-picker
|
|
47
|
-
event.stopPropagation();
|
|
48
28
|
// update the internal state
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
this.popupValue[property] = event.detail;
|
|
32
|
+
const timeString = createTimeString(this.popupValue, this.format);
|
|
33
|
+
// update the input value
|
|
34
|
+
this.value = timeString;
|
|
35
|
+
// emit change event
|
|
52
36
|
this.sixChange.emit({
|
|
53
37
|
changedProperty: property,
|
|
54
|
-
value: this.
|
|
38
|
+
value: this.popupValue,
|
|
55
39
|
valueAsString: timeString,
|
|
56
40
|
});
|
|
57
|
-
// update the input value
|
|
58
|
-
this.value = timeString;
|
|
59
41
|
};
|
|
60
42
|
this.handleDocumentMouseDown = (event) => {
|
|
61
|
-
// Close when clicking outside
|
|
43
|
+
// Close when clicking outside the containing element
|
|
62
44
|
const path = event.composedPath();
|
|
63
45
|
if (!path.includes(this.host)) {
|
|
64
46
|
this.closePopup();
|
|
@@ -67,19 +49,23 @@ export class SixTimepicker {
|
|
|
67
49
|
};
|
|
68
50
|
this.handleClearClick = (event) => {
|
|
69
51
|
event.stopPropagation();
|
|
70
|
-
this.value =
|
|
52
|
+
this.value = '';
|
|
71
53
|
this.sixClear.emit();
|
|
54
|
+
this.sixChange.emit({
|
|
55
|
+
value: {},
|
|
56
|
+
valueAsString: '',
|
|
57
|
+
});
|
|
72
58
|
};
|
|
73
|
-
this.format =
|
|
74
|
-
this.separator =
|
|
75
|
-
this.value =
|
|
59
|
+
this.format = 'HH:mm:ss';
|
|
60
|
+
this.separator = ':';
|
|
61
|
+
this.value = '';
|
|
76
62
|
this.open = false;
|
|
77
63
|
this.inline = false;
|
|
78
64
|
this.readonly = false;
|
|
79
65
|
this.disabled = false;
|
|
80
66
|
this.placement = undefined;
|
|
81
67
|
this.size = 'medium';
|
|
82
|
-
this.required =
|
|
68
|
+
this.required = false;
|
|
83
69
|
this.placeholder = undefined;
|
|
84
70
|
this.errorOnBlur = false;
|
|
85
71
|
this.errorText = '';
|
|
@@ -94,7 +80,7 @@ export class SixTimepicker {
|
|
|
94
80
|
this.debounce = DEFAULT_DEBOUNCE_FAST;
|
|
95
81
|
this.isPopupContentUp = false;
|
|
96
82
|
this.isDropDownContentUp = false;
|
|
97
|
-
this.
|
|
83
|
+
this.popupValue = {};
|
|
98
84
|
}
|
|
99
85
|
async resizeHandler() {
|
|
100
86
|
this.calcIsPopupContentUp();
|
|
@@ -104,43 +90,38 @@ export class SixTimepicker {
|
|
|
104
90
|
this.calcIsPopupContentUp();
|
|
105
91
|
this.moveOpenHoistedPopup();
|
|
106
92
|
}
|
|
107
|
-
debounceChanged() {
|
|
108
|
-
this.eventListeners.removeByIdentifier(DEBOUNCE_TIMEPICKER_LISTENER);
|
|
109
|
-
this.eventListeners.add(this.host, 'six-timepicker-change', debounce(this.handleSixTimepickerChangeDebounced, this.debounce), DEBOUNCE_TIMEPICKER_LISTENER);
|
|
110
|
-
}
|
|
111
93
|
/**
|
|
112
94
|
* Update the native input element when the value changes
|
|
113
95
|
*/
|
|
114
|
-
valueChanged(
|
|
115
|
-
|
|
116
|
-
this.value = newValue;
|
|
117
|
-
}
|
|
118
|
-
this.setupInternalTime();
|
|
119
|
-
this.sixChange.emit({
|
|
120
|
-
value: this.internalValue,
|
|
121
|
-
valueAsString: createTimeString(this.internalValue, this.format),
|
|
122
|
-
});
|
|
96
|
+
valueChanged() {
|
|
97
|
+
this.updateValue();
|
|
123
98
|
}
|
|
124
99
|
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
125
100
|
async reportValidity() {
|
|
126
|
-
|
|
101
|
+
var _a;
|
|
102
|
+
return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.reportValidity();
|
|
127
103
|
}
|
|
128
104
|
/** Checks for validity. */
|
|
129
105
|
async checkValidity() {
|
|
130
|
-
|
|
106
|
+
var _a;
|
|
107
|
+
return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.checkValidity();
|
|
131
108
|
}
|
|
132
109
|
/** Sets a custom validation message. If `message` is not empty, the field will be considered invalid. */
|
|
133
110
|
async setCustomValidity(message) {
|
|
134
|
-
|
|
111
|
+
var _a;
|
|
112
|
+
await ((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setCustomValidity(message));
|
|
135
113
|
}
|
|
136
114
|
/** Resets the formcontrol */
|
|
137
115
|
async reset() {
|
|
138
|
-
this.
|
|
139
|
-
this.inputElement
|
|
140
|
-
|
|
116
|
+
this.popupValue = this.defaultValue;
|
|
117
|
+
if (this.inputElement != null) {
|
|
118
|
+
this.inputElement.value = createTimeString(this.popupValue, this.format);
|
|
119
|
+
await this.inputElement.reset();
|
|
120
|
+
}
|
|
141
121
|
}
|
|
142
122
|
componentWillLoad() {
|
|
143
|
-
this.
|
|
123
|
+
this.updateValue();
|
|
124
|
+
this.defaultValue = this.popupValue;
|
|
144
125
|
if (this.inline) {
|
|
145
126
|
this.open = true;
|
|
146
127
|
}
|
|
@@ -149,14 +130,57 @@ export class SixTimepicker {
|
|
|
149
130
|
}
|
|
150
131
|
}
|
|
151
132
|
componentDidLoad() {
|
|
152
|
-
|
|
153
|
-
|
|
133
|
+
if (this.inputElement == null)
|
|
134
|
+
return;
|
|
135
|
+
const inputElement = this.inputElement;
|
|
136
|
+
// emit debounced change event
|
|
137
|
+
this.eventListeners.add(this.host, 'six-timepicker-change', debounce((event) => this.sixChangeDebounced.emit(event.detail), this.debounce));
|
|
138
|
+
// update value and popup value based on input-element value
|
|
139
|
+
this.eventListeners.add(inputElement, 'six-input-input', debounce((event) => {
|
|
140
|
+
event.stopPropagation();
|
|
141
|
+
// emit empty event if time string is invalid
|
|
142
|
+
if (!isValidTimeString(inputElement.value, this.format)) {
|
|
143
|
+
this.sixChange.emit({
|
|
144
|
+
value: {},
|
|
145
|
+
valueAsString: '',
|
|
146
|
+
});
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
// update value and popup value, and emit the new value
|
|
150
|
+
this.value = inputElement.value;
|
|
151
|
+
this.popupValue = parseTimeString(inputElement.value, this.format);
|
|
152
|
+
this.sixChange.emit({
|
|
153
|
+
value: this.popupValue,
|
|
154
|
+
valueAsString: createTimeString(this.popupValue, this.format),
|
|
155
|
+
});
|
|
156
|
+
}, this.debounce));
|
|
157
|
+
}
|
|
158
|
+
componentDidRender() {
|
|
159
|
+
adjustPopupForHoisting(this.hoist, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT, (isUp) => (this.isDropDownContentUp = isUp));
|
|
154
160
|
}
|
|
155
161
|
disconnectedCallback() {
|
|
156
162
|
this.eventListeners.removeAll();
|
|
157
163
|
}
|
|
164
|
+
updateValue() {
|
|
165
|
+
// normalize value
|
|
166
|
+
if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {
|
|
167
|
+
this.value = '';
|
|
168
|
+
}
|
|
169
|
+
// update popup value
|
|
170
|
+
if (this.value === '') {
|
|
171
|
+
if (this.defaultTime == null) {
|
|
172
|
+
this.popupValue = getCurrentTime(this.is24HourClock());
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
this.popupValue = parseTimeString(this.defaultTime, this.format);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
this.popupValue = parseTimeString(this.value, this.format);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
158
182
|
calcIsPopupContentUp() {
|
|
159
|
-
if (
|
|
183
|
+
if (this.inputElement == null || this.wrapper == null) {
|
|
160
184
|
return;
|
|
161
185
|
}
|
|
162
186
|
const inputBoundingRect = this.inputElement.getBoundingClientRect();
|
|
@@ -165,61 +189,32 @@ export class SixTimepicker {
|
|
|
165
189
|
const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
|
|
166
190
|
this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
|
|
167
191
|
}
|
|
168
|
-
/*
|
|
169
|
-
* The position of the hoisted timepicker needs to be correctly calculated since the position changes to fixed.
|
|
170
|
-
* Thus if the user scrolls or adjusts the screen size we need to recalculate the timepicker position.
|
|
171
|
-
*/
|
|
172
192
|
moveOpenHoistedPopup() {
|
|
173
|
-
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
const popupBoundingClientRect = this.popup.getBoundingClientRect();
|
|
177
|
-
const popupHeight = popupBoundingClientRect.height;
|
|
178
|
-
const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
|
|
179
|
-
const inputTop = inputBoundingClientRect.top;
|
|
180
|
-
const inputHeight = inputBoundingClientRect.height;
|
|
181
|
-
this.calcIsPopupContentUp();
|
|
182
|
-
if (this.isPopupContentUp) {
|
|
183
|
-
this.popup.style.top = `${inputTop - popupHeight}px`;
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
this.popup.style.top = `${inputTop + inputHeight}px`;
|
|
187
|
-
}
|
|
193
|
+
movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);
|
|
188
194
|
}
|
|
189
195
|
getSixTimeUnitPicker(params) {
|
|
190
|
-
return (h("six-item-picker", { class: params.class, timeout: this.timeout, interval: this.interval, padded: true, min: params.min, max: params.max,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
console.error(`${TAG} You provided a 12-hour-clock format but are missing the period (am or pm) in the time-format-string!`);
|
|
195
|
-
}
|
|
196
|
-
if (this.value === null || this.value === undefined) {
|
|
197
|
-
this.internalValue = isNil(this.defaultTime)
|
|
198
|
-
? getCurrentTime(this.is24HourClock())
|
|
199
|
-
: parseTimeString(this.defaultTime, this.format);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
this.internalValue = parseTimeString(this.value, this.format);
|
|
203
|
-
}
|
|
204
|
-
this.defaultValue = this.internalValue;
|
|
196
|
+
return (h("six-item-picker", { class: params.class, timeout: this.timeout, interval: this.interval, padded: true, min: params.min, max: params.max,
|
|
197
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
198
|
+
// @ts-ignore
|
|
199
|
+
value: this.popupValue[params.propertyName], items: params.items, type: params.type || ItemPickerType.NUMBER, "padding-length": params.paddingLength, "onSix-item-picker-change": (event) => this.handlePickerChange(event, params.propertyName) }));
|
|
205
200
|
}
|
|
206
201
|
getHour24Picker() {
|
|
207
202
|
if (!this.is24HourClock()) {
|
|
208
203
|
return;
|
|
209
204
|
}
|
|
210
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName:
|
|
205
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });
|
|
211
206
|
}
|
|
212
207
|
is24HourClock() {
|
|
213
|
-
return this.format.includes(
|
|
208
|
+
return this.format.includes('HH');
|
|
214
209
|
}
|
|
215
210
|
getHour12Picker() {
|
|
216
211
|
if (!this.is12HourClock()) {
|
|
217
212
|
return;
|
|
218
213
|
}
|
|
219
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName:
|
|
214
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });
|
|
220
215
|
}
|
|
221
216
|
is12HourClock() {
|
|
222
|
-
return this.format.includes(
|
|
217
|
+
return this.format.includes('hh');
|
|
223
218
|
}
|
|
224
219
|
getAmPmPicker() {
|
|
225
220
|
if (!this.is12HourClock()) {
|
|
@@ -229,23 +224,23 @@ export class SixTimepicker {
|
|
|
229
224
|
return this.getSixTimeUnitPicker({
|
|
230
225
|
items,
|
|
231
226
|
type: ItemPickerType.CUSTOM,
|
|
232
|
-
propertyName:
|
|
227
|
+
propertyName: 'period',
|
|
233
228
|
});
|
|
234
229
|
}
|
|
235
230
|
getMinutePicker() {
|
|
236
|
-
if (!this.format.includes(
|
|
231
|
+
if (!this.format.includes('mm')) {
|
|
237
232
|
return;
|
|
238
233
|
}
|
|
239
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName:
|
|
234
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });
|
|
240
235
|
}
|
|
241
236
|
getSecondsPicker() {
|
|
242
|
-
if (!this.format.includes(
|
|
237
|
+
if (!this.format.includes('ss')) {
|
|
243
238
|
return;
|
|
244
239
|
}
|
|
245
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName:
|
|
240
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });
|
|
246
241
|
}
|
|
247
242
|
getMillisecondsPicker() {
|
|
248
|
-
if (!this.format.includes(
|
|
243
|
+
if (!this.format.includes('ms')) {
|
|
249
244
|
return;
|
|
250
245
|
}
|
|
251
246
|
return this.getSixTimeUnitPicker({
|
|
@@ -253,7 +248,7 @@ export class SixTimepicker {
|
|
|
253
248
|
max: 999,
|
|
254
249
|
class: 'timepicker__item--wide',
|
|
255
250
|
paddingLength: 3,
|
|
256
|
-
propertyName:
|
|
251
|
+
propertyName: 'milliseconds',
|
|
257
252
|
});
|
|
258
253
|
}
|
|
259
254
|
getSeparator() {
|
|
@@ -302,55 +297,13 @@ export class SixTimepicker {
|
|
|
302
297
|
'prefix--right': this.iconPosition === 'right',
|
|
303
298
|
} }, icon));
|
|
304
299
|
}
|
|
305
|
-
calcIsDropDownContentUp() {
|
|
306
|
-
if (!this.inputElement || !this.wrapper) {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
const inputBoundingRect = this.inputElement.getBoundingClientRect();
|
|
310
|
-
const wrapperBoundingRect = this.wrapper.getBoundingClientRect();
|
|
311
|
-
const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);
|
|
312
|
-
const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
|
|
313
|
-
this.isDropDownContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
|
|
314
|
-
}
|
|
315
|
-
/*
|
|
316
|
-
* If the popup is hoisted we popup is hoisted its position will change to fix to not be clipped of by a containing container.
|
|
317
|
-
* To render the popup correctly we render it normally, and then assign this screenposition to the fixed popup
|
|
318
|
-
*/
|
|
319
|
-
adjustPopupForHoisting() {
|
|
320
|
-
if (!this.hoist) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
// execute after dropdown has been rendered to make sure the popup reference is correctly set
|
|
324
|
-
setTimeout(() => {
|
|
325
|
-
if (!this.popup) {
|
|
326
|
-
return;
|
|
327
|
-
}
|
|
328
|
-
// take a snapshot of normally rendered popup
|
|
329
|
-
const popupBoundingClientRect = this.popup.getBoundingClientRect();
|
|
330
|
-
// apply screen position to fixed popup
|
|
331
|
-
this.popup.style.position = 'fixed';
|
|
332
|
-
['top', 'left', 'width', 'height'].forEach((property) => {
|
|
333
|
-
this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
|
|
334
|
-
});
|
|
335
|
-
const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
|
|
336
|
-
const inputTop = inputBoundingClientRect.top;
|
|
337
|
-
const popupTop = popupBoundingClientRect.top;
|
|
338
|
-
this.calcIsDropDownContentUp();
|
|
339
|
-
// check screen position to check whether the popup should be moved above or below the trigger element
|
|
340
|
-
if (this.isDropDownContentUp && inputTop < popupTop) {
|
|
341
|
-
// move popup above input field if timepicker is at bottom of screen
|
|
342
|
-
this.popup.style.top = `${popupTop - popupBoundingClientRect.height - inputBoundingClientRect.height}px`;
|
|
343
|
-
}
|
|
344
|
-
}, 0);
|
|
345
|
-
}
|
|
346
300
|
render() {
|
|
347
|
-
this.adjustPopupForHoisting();
|
|
348
301
|
return (h("div", { part: "container", ref: (el) => (this.wrapper = el), class: "timepicker__container" }, h("six-input", { ref: (el) => (this.inputElement = el), part: "input", onClick: () => this.openPopup(), value: this.value, placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, size: this.size, name: this.name, label: this.label, required: this.required, "error-text": this.errorText, "error-on-blur": this.errorOnBlur, class: {
|
|
349
|
-
'input--empty':
|
|
302
|
+
'input--empty': this.value === '',
|
|
350
303
|
'input--hide': this.inline,
|
|
351
304
|
} }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'error-text') ? (h("span", { slot: "error-text" }, h("slot", { name: "error-text" }))) : null, hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null), this.open && (h("div", { ref: (el) => (this.popup = el), part: "popup", class: {
|
|
352
305
|
timepicker__popup: true,
|
|
353
|
-
'timepicker__popup--is-up': this.placement ? this.placement === 'top' : this.isPopupContentUp,
|
|
306
|
+
'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,
|
|
354
307
|
'timepicker__popup--is-inline': this.inline,
|
|
355
308
|
} }, ...this.getContent(), this.getAmPmPicker()))));
|
|
356
309
|
}
|
|
@@ -372,12 +325,12 @@ export class SixTimepicker {
|
|
|
372
325
|
"type": "string",
|
|
373
326
|
"mutable": false,
|
|
374
327
|
"complexType": {
|
|
375
|
-
"original": "
|
|
376
|
-
"resolved": "
|
|
328
|
+
"original": "TimeFormat",
|
|
329
|
+
"resolved": "\"HH\" | \"HH:mm\" | \"HH:mm:ss\" | \"HH:mm:ss:ms\" | \"hh:aa\" | \"hh:mm:aa\" | \"hh:mm:ss:aa\" | \"hh:mm:ss:ms:aa\" | \"mm\" | \"ms\" | \"ss\"",
|
|
377
330
|
"references": {
|
|
378
|
-
"
|
|
331
|
+
"TimeFormat": {
|
|
379
332
|
"location": "import",
|
|
380
|
-
"path": "
|
|
333
|
+
"path": "../../utils/time.util"
|
|
381
334
|
}
|
|
382
335
|
}
|
|
383
336
|
},
|
|
@@ -389,7 +342,7 @@ export class SixTimepicker {
|
|
|
389
342
|
},
|
|
390
343
|
"attribute": "format",
|
|
391
344
|
"reflect": false,
|
|
392
|
-
"defaultValue": "
|
|
345
|
+
"defaultValue": "'HH:mm:ss'"
|
|
393
346
|
},
|
|
394
347
|
"separator": {
|
|
395
348
|
"type": "string",
|
|
@@ -407,24 +360,25 @@ export class SixTimepicker {
|
|
|
407
360
|
},
|
|
408
361
|
"attribute": "separator",
|
|
409
362
|
"reflect": false,
|
|
410
|
-
"defaultValue": "
|
|
363
|
+
"defaultValue": "':'"
|
|
411
364
|
},
|
|
412
365
|
"value": {
|
|
413
366
|
"type": "string",
|
|
414
367
|
"mutable": true,
|
|
415
368
|
"complexType": {
|
|
416
|
-
"original": "string
|
|
369
|
+
"original": "string",
|
|
417
370
|
"resolved": "string",
|
|
418
371
|
"references": {}
|
|
419
372
|
},
|
|
420
373
|
"required": false,
|
|
421
|
-
"optional":
|
|
374
|
+
"optional": false,
|
|
422
375
|
"docs": {
|
|
423
376
|
"tags": [],
|
|
424
377
|
"text": "The value of the timepicker provided as a string. The string mast match the provided format (or default format)"
|
|
425
378
|
},
|
|
426
379
|
"attribute": "value",
|
|
427
|
-
"reflect": false
|
|
380
|
+
"reflect": false,
|
|
381
|
+
"defaultValue": "''"
|
|
428
382
|
},
|
|
429
383
|
"open": {
|
|
430
384
|
"type": "boolean",
|
|
@@ -438,7 +392,7 @@ export class SixTimepicker {
|
|
|
438
392
|
"optional": false,
|
|
439
393
|
"docs": {
|
|
440
394
|
"tags": [],
|
|
441
|
-
"text": "Indicates whether
|
|
395
|
+
"text": "Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods."
|
|
442
396
|
},
|
|
443
397
|
"attribute": "open",
|
|
444
398
|
"reflect": true,
|
|
@@ -456,7 +410,7 @@ export class SixTimepicker {
|
|
|
456
410
|
"optional": false,
|
|
457
411
|
"docs": {
|
|
458
412
|
"tags": [],
|
|
459
|
-
"text": "Indicates whether
|
|
413
|
+
"text": "Indicates whether the timepicker should be shown as an inline (always open) component"
|
|
460
414
|
},
|
|
461
415
|
"attribute": "inline",
|
|
462
416
|
"reflect": true,
|
|
@@ -503,11 +457,11 @@ export class SixTimepicker {
|
|
|
503
457
|
"mutable": false,
|
|
504
458
|
"complexType": {
|
|
505
459
|
"original": "'top' | 'bottom'",
|
|
506
|
-
"resolved": "\"bottom\" | \"top\"",
|
|
460
|
+
"resolved": "\"bottom\" | \"top\" | undefined",
|
|
507
461
|
"references": {}
|
|
508
462
|
},
|
|
509
463
|
"required": false,
|
|
510
|
-
"optional":
|
|
464
|
+
"optional": true,
|
|
511
465
|
"docs": {
|
|
512
466
|
"tags": [],
|
|
513
467
|
"text": "The enforced placement of the dropdown panel."
|
|
@@ -548,14 +502,15 @@ export class SixTimepicker {
|
|
|
548
502
|
"text": "Set to true to make the input a required field."
|
|
549
503
|
},
|
|
550
504
|
"attribute": "required",
|
|
551
|
-
"reflect": true
|
|
505
|
+
"reflect": true,
|
|
506
|
+
"defaultValue": "false"
|
|
552
507
|
},
|
|
553
508
|
"placeholder": {
|
|
554
509
|
"type": "string",
|
|
555
510
|
"mutable": false,
|
|
556
511
|
"complexType": {
|
|
557
|
-
"original": "string
|
|
558
|
-
"resolved": "string",
|
|
512
|
+
"original": "string",
|
|
513
|
+
"resolved": "string | undefined",
|
|
559
514
|
"references": {}
|
|
560
515
|
},
|
|
561
516
|
"required": false,
|
|
@@ -733,8 +688,8 @@ export class SixTimepicker {
|
|
|
733
688
|
"type": "string",
|
|
734
689
|
"mutable": false,
|
|
735
690
|
"complexType": {
|
|
736
|
-
"original": "string
|
|
737
|
-
"resolved": "string",
|
|
691
|
+
"original": "string",
|
|
692
|
+
"resolved": "string | undefined",
|
|
738
693
|
"references": {}
|
|
739
694
|
},
|
|
740
695
|
"required": false,
|
|
@@ -770,7 +725,7 @@ export class SixTimepicker {
|
|
|
770
725
|
return {
|
|
771
726
|
"isPopupContentUp": {},
|
|
772
727
|
"isDropDownContentUp": {},
|
|
773
|
-
"
|
|
728
|
+
"popupValue": {}
|
|
774
729
|
};
|
|
775
730
|
}
|
|
776
731
|
static get events() {
|
|
@@ -840,14 +795,14 @@ export class SixTimepicker {
|
|
|
840
795
|
return {
|
|
841
796
|
"reportValidity": {
|
|
842
797
|
"complexType": {
|
|
843
|
-
"signature": "() => Promise<boolean>",
|
|
798
|
+
"signature": "() => Promise<boolean | undefined>",
|
|
844
799
|
"parameters": [],
|
|
845
800
|
"references": {
|
|
846
801
|
"Promise": {
|
|
847
802
|
"location": "global"
|
|
848
803
|
}
|
|
849
804
|
},
|
|
850
|
-
"return": "Promise<boolean>"
|
|
805
|
+
"return": "Promise<boolean | undefined>"
|
|
851
806
|
},
|
|
852
807
|
"docs": {
|
|
853
808
|
"text": "Checks for validity and shows the browser's validation message if the control is invalid.",
|
|
@@ -856,14 +811,14 @@ export class SixTimepicker {
|
|
|
856
811
|
},
|
|
857
812
|
"checkValidity": {
|
|
858
813
|
"complexType": {
|
|
859
|
-
"signature": "() => Promise<boolean>",
|
|
814
|
+
"signature": "() => Promise<boolean | undefined>",
|
|
860
815
|
"parameters": [],
|
|
861
816
|
"references": {
|
|
862
817
|
"Promise": {
|
|
863
818
|
"location": "global"
|
|
864
819
|
}
|
|
865
820
|
},
|
|
866
|
-
"return": "Promise<boolean>"
|
|
821
|
+
"return": "Promise<boolean | undefined>"
|
|
867
822
|
},
|
|
868
823
|
"docs": {
|
|
869
824
|
"text": "Checks for validity.",
|
|
@@ -910,9 +865,6 @@ export class SixTimepicker {
|
|
|
910
865
|
static get elementRef() { return "host"; }
|
|
911
866
|
static get watchers() {
|
|
912
867
|
return [{
|
|
913
|
-
"propName": "debounce",
|
|
914
|
-
"methodName": "debounceChanged"
|
|
915
|
-
}, {
|
|
916
868
|
"propName": "value",
|
|
917
869
|
"methodName": "valueChanged"
|
|
918
870
|
}];
|