@six-group/ui-library 4.3.3 → 5.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/animation-ZgWV0fC6.js +54 -0
- package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{error-messages-6e8049a4.js → error-messages-Bi-7xy31.js} +5 -4
- package/dist/cjs/error-messages-Bi-7xy31.js.map +1 -0
- package/dist/cjs/{event-listeners-9fb878f1.js → event-listeners-BrSR7arL.js} +2 -1
- package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
- package/dist/cjs/{execution-control-d728da70.js → execution-control-oU0MWBWI.js} +2 -1
- package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
- package/dist/cjs/{focus-visible-e2c9255a.js → focus-visible-CMftNtQ2.js} +2 -1
- package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
- package/dist/cjs/{form-9ebaae7c.js → form-CaXKJAMY.js} +2 -1
- package/dist/cjs/form-CaXKJAMY.js.map +1 -0
- package/dist/cjs/{form-control-b39f1df5.js → form-control-CX8QRq9v.js} +5 -4
- package/dist/cjs/form-control-CX8QRq9v.js.map +1 -0
- package/dist/cjs/{index-417a06c8.js → index-C8rK7OAe.js} +532 -321
- package/dist/cjs/index-C8rK7OAe.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{modal-bd7fc5bc.js → modal-BVAZIrez.js} +2 -1
- package/dist/cjs/modal-BVAZIrez.js.map +1 -0
- package/dist/cjs/{popover-1e7c09f1.js → popover-BUVXXnz7.js} +26 -12
- package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
- package/dist/cjs/{popup-e854acda.js → popup-BBJQmXUh.js} +2 -1
- package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
- package/dist/cjs/{scroll-68033901.js → scroll-BQR9FxnJ.js} +2 -1
- package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
- package/dist/cjs/six-alert.cjs.entry.js +22 -16
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
- package/dist/cjs/six-avatar.cjs.entry.js +13 -11
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-badge.cjs.entry.js +9 -8
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
- package/dist/cjs/six-button.cjs.entry.js +53 -30
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-card.cjs.entry.js +5 -7
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js +208 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-date.cjs.entry.js +22700 -0
- package/dist/cjs/six-date.cjs.entry.js.map +1 -0
- package/dist/cjs/six-date.entry.cjs.js.map +1 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +86 -44
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-details.cjs.entry.js +28 -23
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dialog.cjs.entry.js +41 -28
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/six-drawer.cjs.entry.js +48 -30
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/{six-dropdown_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +119 -139
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-error-page.cjs.entry.js +7 -10
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
- package/dist/cjs/six-error.cjs.entry.js +4 -6
- package/dist/cjs/six-error.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +17 -15
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-list.cjs.entry.js +4 -6
- package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
- package/dist/cjs/six-file-upload.cjs.entry.js +34 -29
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
- package/dist/cjs/six-footer.cjs.entry.js +5 -7
- package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
- package/dist/cjs/six-group-label.cjs.entry.js +16 -13
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +16 -9
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-item.cjs.entry.js +28 -0
- package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +15 -8
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +18 -183
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon-button.cjs.entry.js +12 -18
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/six-icon.cjs.entry.js +8 -8
- package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/six-input.cjs.entry.js +65 -53
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.entry.cjs.js.map +1 -0
- package/dist/cjs/six-item-picker.cjs.entry.js +33 -16
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-language-switcher.cjs.entry.js +7 -9
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
- package/dist/cjs/six-layout-grid.cjs.entry.js +4 -7
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/six-logo.cjs.entry.js +28 -0
- package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
- package/dist/cjs/six-main-container.cjs.entry.js +6 -6
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-divider.cjs.entry.js +5 -7
- package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
- package/dist/cjs/six-menu-label.cjs.entry.js +5 -7
- package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
- package/dist/cjs/six-picto.cjs.entry.js +7 -6
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-bar.cjs.entry.js +9 -9
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-progress-ring.cjs.entry.js +8 -7
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
- package/dist/cjs/six-radio.cjs.entry.js +21 -18
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/six-range.cjs.entry.js +43 -33
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.entry.cjs.js.map +1 -0
- package/dist/cjs/six-root.cjs.entry.js +8 -6
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.entry.cjs.js.map +1 -0
- package/dist/cjs/six-search-field.cjs.entry.js +16 -15
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
- package/dist/cjs/six-select.cjs.entry.js +90 -56
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +24 -16
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar-item.cjs.entry.js +11 -9
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
- package/dist/cjs/six-sidebar.cjs.entry.js +21 -19
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
- package/dist/cjs/six-spinner.cjs.entry.js +4 -8
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/six-stage-indicator.cjs.entry.js +5 -6
- package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
- package/dist/cjs/six-switch.cjs.entry.js +30 -25
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-group.cjs.entry.js +17 -50
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab-panel.cjs.entry.js +7 -7
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tab.cjs.entry.js +11 -9
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tag.cjs.entry.js +17 -15
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/six-textarea.cjs.entry.js +51 -41
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tile.cjs.entry.js +29 -24
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
- package/dist/cjs/six-timepicker.cjs.entry.js +99 -40
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
- package/dist/cjs/six-tooltip.cjs.entry.js +39 -27
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/{slot-1b1232a1.js → slot-DBK7c7jH.js} +2 -1
- package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
- package/dist/cjs/{types-d3da200b.js → types-7ZstPoJD.js} +2 -1
- package/dist/cjs/types-7ZstPoJD.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +8 -7
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/six-alert/six-alert.css +11 -0
- package/dist/collection/components/six-alert/six-alert.js +25 -9
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.css +11 -0
- package/dist/collection/components/six-avatar/six-avatar.js +21 -9
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.css +11 -0
- package/dist/collection/components/six-badge/six-badge.js +14 -5
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.css +14 -1
- package/dist/collection/components/six-button/six-button.js +87 -34
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-card/six-card.css +11 -0
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.css +11 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +59 -25
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-date/calendar-grid.js +30 -0
- package/dist/collection/components/six-date/calendar-grid.js.map +1 -0
- package/dist/collection/components/six-date/components/day-selection.js +16 -0
- package/dist/collection/components/six-date/components/day-selection.js.map +1 -0
- package/dist/collection/components/six-date/components/month-selection.js +17 -0
- package/dist/collection/components/six-date/components/month-selection.js.map +1 -0
- package/dist/collection/components/six-date/components/year-selection.js +16 -0
- package/dist/collection/components/six-date/components/year-selection.js.map +1 -0
- package/dist/collection/components/six-date/iso-date.js +92 -0
- package/dist/collection/components/six-date/iso-date.js.map +1 -0
- package/dist/collection/components/six-date/six-date.css +168 -0
- package/dist/collection/components/six-date/six-date.js +735 -0
- package/dist/collection/components/six-date/six-date.js.map +1 -0
- package/dist/collection/components/six-date/translations.js +110 -0
- package/dist/collection/components/six-date/translations.js.map +1 -0
- package/dist/collection/components/six-datepicker/six-datepicker.css +11 -0
- package/dist/collection/components/six-datepicker/six-datepicker.js +159 -56
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.css +11 -0
- package/dist/collection/components/six-details/six-details.js +43 -20
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.css +11 -0
- package/dist/collection/components/six-dialog/six-dialog.js +46 -25
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.css +11 -0
- package/dist/collection/components/six-drawer/six-drawer.js +59 -29
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.css +11 -0
- package/dist/collection/components/six-dropdown/six-dropdown.js +120 -79
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +20 -10
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +30 -14
- package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
- package/dist/collection/components/six-file-upload/six-file-upload.css +11 -3
- package/dist/collection/components/six-file-upload/six-file-upload.js +55 -30
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-footer/six-footer.css +11 -0
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-group-label/six-group-label.css +11 -0
- package/dist/collection/components/six-group-label/six-group-label.js +25 -10
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.css +11 -20
- package/dist/collection/components/six-header/six-header.js +20 -487
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +56 -3
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
- package/dist/collection/components/six-header-item/six-header-item.css +2 -2
- package/dist/collection/components/six-header-item/six-header-item.js +12 -6
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +101 -10
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
- package/dist/collection/components/six-icon/six-icon.css +11 -0
- package/dist/collection/components/six-icon/six-icon.js +10 -4
- package/dist/collection/components/six-icon/six-icon.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.css +11 -0
- package/dist/collection/components/six-icon-button/six-icon-button.js +31 -19
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.css +11 -0
- package/dist/collection/components/six-input/six-input.js +142 -68
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +68 -20
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +9 -4
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +4 -5
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-logo/six-logo.js +5 -2
- package/dist/collection/components/six-logo/six-logo.js.map +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js +6 -2
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-menu/six-menu.css +11 -0
- package/dist/collection/components/six-menu/six-menu.js +50 -15
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.css +11 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.css +11 -0
- package/dist/collection/components/six-menu-item/six-menu-item.js +22 -9
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.css +11 -0
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-picto/six-picto.js +7 -2
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.css +11 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +11 -5
- package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.css +11 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +13 -4
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-radio/six-radio.css +11 -0
- package/dist/collection/components/six-radio/six-radio.js +28 -13
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-range/six-range.css +11 -0
- package/dist/collection/components/six-range/six-range.js +75 -34
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +14 -4
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.css +11 -0
- package/dist/collection/components/six-search-field/six-search-field.js +24 -11
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.css +11 -10
- package/dist/collection/components/six-select/six-select.js +157 -89
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.css +11 -0
- package/dist/collection/components/six-sidebar/six-sidebar.js +23 -11
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +8 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +39 -7
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +19 -2
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +38 -16
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.css +11 -0
- package/dist/collection/components/six-spinner/six-spinner.js +6 -6
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +11 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +4 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.css +11 -0
- package/dist/collection/components/six-switch/six-switch.js +47 -22
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.css +23 -0
- package/dist/collection/components/six-tab/six-tab.js +18 -6
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.css +11 -0
- package/dist/collection/components/six-tab-group/six-tab-group.js +14 -8
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.css +11 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +9 -3
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.css +11 -0
- package/dist/collection/components/six-tag/six-tag.js +22 -10
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.css +11 -0
- package/dist/collection/components/six-textarea/six-textarea.js +106 -50
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-tile/six-tile.css +11 -0
- package/dist/collection/components/six-tile/six-tile.js +43 -22
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.css +12 -2
- package/dist/collection/components/six-timepicker/six-timepicker.js +156 -49
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.css +11 -0
- package/dist/collection/components/six-tooltip/six-tooltip.js +51 -23
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/collection/functional-components/form-control/form-control.js +2 -2
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/utils/animation.js +13 -0
- package/dist/collection/utils/animation.js.map +1 -1
- package/dist/collection/utils/error-messages.js +3 -3
- package/dist/collection/utils/error-messages.js.map +1 -1
- package/dist/collection/utils/popover-util.js +8 -0
- package/dist/collection/utils/popover-util.js.map +1 -0
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{six-dropdown2.js → p-9aUb96SZ.js} +95 -69
- package/dist/components/p-9aUb96SZ.js.map +1 -0
- package/dist/{esm/form-4b145b7a.js → components/p-B1bClJZ6.js} +2 -1
- package/dist/components/p-B1bClJZ6.js.map +1 -0
- package/dist/components/{six-spinner2.js → p-BB2rei7y.js} +6 -8
- package/dist/components/p-BB2rei7y.js.map +1 -0
- package/dist/components/{six-item-picker2.js → p-BR2t7cws.js} +35 -16
- package/dist/components/p-BR2t7cws.js.map +1 -0
- package/dist/components/{six-icon2.js → p-BSHZAiyG.js} +10 -8
- package/dist/components/p-BSHZAiyG.js.map +1 -0
- package/dist/components/p-BUN8hFmL.js +173 -0
- package/dist/components/p-BUN8hFmL.js.map +1 -0
- package/dist/{esm/scroll-3e16851e.js → components/p-BY6hIEFX.js} +2 -1
- package/dist/components/p-BY6hIEFX.js.map +1 -0
- package/dist/components/{six-menu-item2.js → p-C28WDWgL.js} +20 -15
- package/dist/components/p-C28WDWgL.js.map +1 -0
- package/dist/components/{event-listeners.js → p-C4h4qpGl.js} +2 -1
- package/dist/{cjs/event-listeners-9fb878f1.js.map → components/p-C4h4qpGl.js.map} +1 -1
- package/dist/components/{execution-control.js → p-CKhg9ibv.js} +2 -1
- package/dist/components/p-CKhg9ibv.js.map +1 -0
- package/dist/components/{six-menu2.js → p-CSL17OWk.js} +43 -23
- package/dist/components/p-CSL17OWk.js.map +1 -0
- package/dist/components/{six-error2.js → p-CWKq6Dyt.js} +6 -6
- package/dist/components/p-CWKq6Dyt.js.map +1 -0
- package/dist/components/{modal.js → p-CfIoyvm-.js} +2 -1
- package/dist/components/p-CfIoyvm-.js.map +1 -0
- package/dist/components/p-Cfyrva2T.js +180 -0
- package/dist/components/p-Cfyrva2T.js.map +1 -0
- package/dist/components/p-Cosz73fX.js +76 -0
- package/dist/components/p-Cosz73fX.js.map +1 -0
- package/dist/components/{six-details2.js → p-Cs1jspzx.js} +31 -24
- package/dist/components/p-Cs1jspzx.js.map +1 -0
- package/dist/components/{six-tooltip2.js → p-Cs6mMfx-.js} +41 -27
- package/dist/components/p-Cs6mMfx-.js.map +1 -0
- package/dist/components/p-D512q9rn.js +1709 -0
- package/dist/components/p-D512q9rn.js.map +1 -0
- package/dist/{esm/form-control-ad1710bf.js → components/p-DIkvCBxr.js} +5 -4
- package/dist/components/p-DIkvCBxr.js.map +1 -0
- package/dist/components/{six-picto2.js → p-DYlDF9Rw.js} +9 -6
- package/dist/components/p-DYlDF9Rw.js.map +1 -0
- package/dist/components/{six-timepicker2.js → p-DnLdSdN5.js} +103 -42
- package/dist/components/p-DnLdSdN5.js.map +1 -0
- package/dist/components/p-DsGIkEDB.js +305 -0
- package/dist/components/p-DsGIkEDB.js.map +1 -0
- package/dist/components/{six-stage-indicator2.js → p-DyYwMIDQ.js} +8 -7
- package/dist/components/p-DyYwMIDQ.js.map +1 -0
- package/dist/components/p-SLlDVtvF.js +51 -0
- package/dist/components/p-SLlDVtvF.js.map +1 -0
- package/dist/{esm/focus-visible-d9dbfeef.js → components/p-Vw_F19Fv.js} +2 -1
- package/dist/components/p-Vw_F19Fv.js.map +1 -0
- package/dist/{esm/slot-56531341.js → components/p-j3oIB5oT.js} +2 -1
- package/dist/components/p-j3oIB5oT.js.map +1 -0
- package/dist/{esm/popover-25996e62.js → components/p-kHci8ddv.js} +26 -12
- package/dist/components/p-kHci8ddv.js.map +1 -0
- package/dist/components/six-alert.js +26 -18
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +15 -11
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +10 -7
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.js +2 -1
- package/dist/components/six-card.js +6 -6
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.js +2 -1
- package/dist/components/six-date.d.ts +11 -0
- package/dist/components/six-date.js +22764 -0
- package/dist/components/six-date.js.map +1 -0
- package/dist/components/six-datepicker.js +93 -49
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.js +2 -1
- package/dist/components/six-dialog.js +44 -29
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +51 -31
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.js +2 -1
- package/dist/components/six-error-page.js +10 -11
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-error.js +2 -1
- package/dist/components/six-file-list-item.js +19 -15
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.js +5 -5
- package/dist/components/six-file-list.js.map +1 -1
- package/dist/components/six-file-upload.js +38 -31
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +6 -6
- package/dist/components/six-footer.js.map +1 -1
- package/dist/components/six-group-label.js +18 -13
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header-dropdown-item.js +26 -15
- package/dist/components/six-header-dropdown-item.js.map +1 -1
- package/dist/components/six-header-item.js +39 -1
- package/dist/components/six-header-item.js.map +1 -1
- package/dist/components/six-header-menu-button.js +24 -17
- package/dist/components/six-header-menu-button.js.map +1 -1
- package/dist/components/six-header.js +21 -253
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button.js +2 -1
- package/dist/components/six-icon.js +2 -1
- package/dist/components/six-input.js +2 -1
- package/dist/components/six-item-picker.js +2 -1
- package/dist/components/six-language-switcher.js +8 -8
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +5 -6
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-logo.js +39 -1
- package/dist/components/six-logo.js.map +1 -1
- package/dist/components/six-main-container.js +7 -5
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-divider.js +6 -6
- package/dist/components/six-menu-divider.js.map +1 -1
- package/dist/components/six-menu-item.js +2 -1
- package/dist/components/six-menu-label.js +6 -6
- package/dist/components/six-menu-label.js.map +1 -1
- package/dist/components/six-menu.js +2 -1
- package/dist/components/six-picto.js +2 -1
- package/dist/components/six-progress-bar.js +10 -8
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +9 -6
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +22 -17
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +46 -34
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +11 -7
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +20 -17
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +103 -68
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +28 -18
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +20 -9
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +22 -18
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner.js +2 -1
- package/dist/components/six-stage-indicator.js +2 -1
- package/dist/components/six-switch.js +32 -25
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +19 -50
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +8 -6
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +14 -10
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +21 -17
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.js +53 -41
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +33 -26
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.js +2 -1
- package/dist/components/six-tooltip.js +2 -1
- package/dist/components.d.ts +8 -0
- package/dist/components.json +3990 -1480
- package/dist/esm/animation-SLlDVtvF.js +51 -0
- package/dist/esm/animation-SLlDVtvF.js.map +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{error-messages-1eaaad23.js → error-messages-1oJarDAY.js} +5 -4
- package/dist/esm/error-messages-1oJarDAY.js.map +1 -0
- package/dist/esm/{event-listeners-706d4309.js → event-listeners-C4h4qpGl.js} +2 -1
- package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
- package/dist/esm/{execution-control-2ebaf4ef.js → execution-control-CKhg9ibv.js} +2 -1
- package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
- package/dist/{components/focus-visible.js → esm/focus-visible-Vw_F19Fv.js} +2 -1
- package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
- package/dist/{components/form.js → esm/form-B1bClJZ6.js} +2 -1
- package/dist/esm/form-B1bClJZ6.js.map +1 -0
- package/dist/{components/form-control.js → esm/form-control-DI6V1ZhR.js} +5 -4
- package/dist/esm/form-control-DI6V1ZhR.js.map +1 -0
- package/dist/esm/{index-a7bee415.js → index-JoG9I7EO.js} +531 -300
- package/dist/esm/index-JoG9I7EO.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +5 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{modal-6c1288e3.js → modal-CfIoyvm-.js} +2 -1
- package/dist/esm/modal-CfIoyvm-.js.map +1 -0
- package/dist/{components/popover.js → esm/popover-kHci8ddv.js} +26 -12
- package/dist/esm/popover-kHci8ddv.js.map +1 -0
- package/dist/esm/{popup-7209e9d5.js → popup-Dd6pdO8C.js} +2 -1
- package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
- package/dist/{components/scroll.js → esm/scroll-BY6hIEFX.js} +2 -1
- package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
- package/dist/esm/six-alert.entry.js +22 -14
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +13 -9
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +9 -6
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +53 -28
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +5 -5
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
- package/dist/esm/six-checkbox_2.entry.js +205 -0
- package/dist/esm/six-checkbox_2.entry.js.map +1 -0
- package/dist/esm/six-date.entry.js +22698 -0
- package/dist/esm/six-date.entry.js.map +1 -0
- package/dist/esm/six-datepicker.entry.js +86 -42
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +28 -21
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +41 -26
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +48 -28
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
- package/dist/esm/{six-dropdown_3.entry.js → six-dropdown_2.entry.js} +120 -137
- package/dist/esm/six-dropdown_2.entry.js.map +1 -0
- package/dist/esm/six-error-page.entry.js +7 -8
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +4 -4
- package/dist/esm/six-error.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +17 -13
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +4 -4
- package/dist/esm/six-file-list.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +34 -27
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +5 -5
- package/dist/esm/six-footer.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +16 -11
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header-dropdown-item.entry.js +16 -7
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
- package/dist/esm/six-header-item.entry.js +26 -0
- package/dist/esm/six-header-item.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +15 -6
- package/dist/esm/six-header-menu-button.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +18 -181
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +12 -16
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +8 -6
- package/dist/esm/six-icon.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +65 -51
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +33 -14
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +7 -7
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +4 -5
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-logo.entry.js +26 -0
- package/dist/esm/six-logo.entry.js.map +1 -0
- package/dist/esm/six-main-container.entry.js +6 -4
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +5 -5
- package/dist/esm/six-menu-divider.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +5 -5
- package/dist/esm/six-menu-label.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +7 -4
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +9 -7
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +8 -5
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +21 -16
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +43 -31
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +8 -4
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +16 -13
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +90 -54
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +24 -14
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +11 -7
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +21 -17
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +4 -6
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-stage-indicator.entry.js +5 -4
- package/dist/esm/six-stage-indicator.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +30 -23
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +16 -47
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +7 -5
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +11 -7
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +17 -13
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +51 -39
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +29 -22
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +99 -38
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +39 -25
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/{components/slot.js → esm/slot-j3oIB5oT.js} +2 -1
- package/dist/esm/slot-j3oIB5oT.js.map +1 -0
- package/dist/esm/{types-a07bb999.js → types-WA6V9mN8.js} +2 -1
- package/dist/esm/types-WA6V9mN8.js.map +1 -0
- package/dist/esm/ui-library.js +7 -5
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-button/six-button.d.ts +1 -0
- package/dist/types/components/six-date/calendar-grid.d.ts +20 -0
- package/dist/types/components/six-date/components/day-selection.d.ts +8 -0
- package/dist/types/components/six-date/components/month-selection.d.ts +7 -0
- package/dist/types/components/six-date/components/year-selection.d.ts +7 -0
- package/dist/types/components/six-date/iso-date.d.ts +57 -0
- package/dist/types/components/six-date/six-date.d.ts +143 -0
- package/dist/types/components/six-date/translations.d.ts +37 -0
- package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
- package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +1 -8
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
- package/dist/types/components/six-header/six-header.d.ts +2 -128
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
- package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
- package/dist/types/components/six-select/six-select.d.ts +1 -7
- package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +2 -0
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +2 -0
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +901 -153
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/dist/types/utils/animation.d.ts +4 -0
- package/dist/types/utils/error-messages.d.ts +2 -2
- package/dist/types/utils/popover-util.d.ts +1 -0
- package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/ui-library/index.esm.js +1 -1
- package/dist/ui-library/index.esm.js.map +1 -1
- package/dist/ui-library/loader.esm.js.map +1 -0
- package/dist/ui-library/p-01243b2e.entry.js +2 -0
- package/dist/ui-library/p-01243b2e.entry.js.map +1 -0
- package/dist/ui-library/p-09de2bda.entry.js +2 -0
- package/dist/ui-library/p-09de2bda.entry.js.map +1 -0
- package/dist/ui-library/p-0eb90caf.entry.js +2 -0
- package/dist/ui-library/p-0eb90caf.entry.js.map +1 -0
- package/dist/ui-library/p-14f79bfc.entry.js +2 -0
- package/dist/ui-library/p-14f79bfc.entry.js.map +1 -0
- package/dist/ui-library/p-174dd242.entry.js +2 -0
- package/dist/ui-library/p-174dd242.entry.js.map +1 -0
- package/dist/ui-library/p-18e755bc.entry.js +2 -0
- package/dist/ui-library/p-18e755bc.entry.js.map +1 -0
- package/dist/ui-library/p-194037e9.entry.js +2 -0
- package/dist/ui-library/p-194037e9.entry.js.map +1 -0
- package/dist/ui-library/p-1cfa2df4.entry.js +2 -0
- package/dist/ui-library/p-1cfa2df4.entry.js.map +1 -0
- package/dist/ui-library/p-1oJarDAY.js +2 -0
- package/dist/ui-library/p-1oJarDAY.js.map +1 -0
- package/dist/ui-library/p-22ad3353.entry.js +2 -0
- package/dist/ui-library/p-22ad3353.entry.js.map +1 -0
- package/dist/ui-library/p-25ff87fe.entry.js +2 -0
- package/dist/ui-library/p-25ff87fe.entry.js.map +1 -0
- package/dist/ui-library/p-285666de.entry.js +2 -0
- package/dist/ui-library/p-285666de.entry.js.map +1 -0
- package/dist/ui-library/p-29d79fe3.entry.js +2 -0
- package/dist/ui-library/p-29d79fe3.entry.js.map +1 -0
- package/dist/ui-library/p-2a245a37.entry.js +2 -0
- package/dist/ui-library/p-2a245a37.entry.js.map +1 -0
- package/dist/ui-library/p-2a82de6c.entry.js +2 -0
- package/dist/ui-library/p-2a82de6c.entry.js.map +1 -0
- package/dist/ui-library/p-2fb16281.entry.js +2 -0
- package/dist/ui-library/p-2fb16281.entry.js.map +1 -0
- package/dist/ui-library/p-31c5f8fa.entry.js +2 -0
- package/dist/ui-library/p-31c5f8fa.entry.js.map +1 -0
- package/dist/{components/six-button2.js → ui-library/p-336610a9.entry.js} +2 -148
- package/dist/ui-library/p-336610a9.entry.js.map +1 -0
- package/dist/ui-library/p-362ff192.entry.js +2 -0
- package/dist/ui-library/p-362ff192.entry.js.map +1 -0
- package/dist/ui-library/p-371ef302.entry.js +2 -0
- package/dist/ui-library/p-371ef302.entry.js.map +1 -0
- package/dist/ui-library/p-39109b96.entry.js +2 -0
- package/dist/ui-library/p-39109b96.entry.js.map +1 -0
- package/dist/ui-library/p-3d49deae.entry.js +2 -0
- package/dist/ui-library/p-3d49deae.entry.js.map +1 -0
- package/dist/ui-library/p-3dc98466.entry.js +2 -0
- package/dist/ui-library/p-3dc98466.entry.js.map +1 -0
- package/dist/ui-library/p-4152b371.entry.js +2 -0
- package/dist/ui-library/p-4152b371.entry.js.map +1 -0
- package/dist/ui-library/p-494546c8.entry.js +2 -0
- package/dist/ui-library/p-494546c8.entry.js.map +1 -0
- package/dist/ui-library/p-4f52c56f.entry.js +2 -0
- package/dist/ui-library/p-4f52c56f.entry.js.map +1 -0
- package/dist/ui-library/p-54490d28.entry.js +2 -0
- package/dist/ui-library/p-54490d28.entry.js.map +1 -0
- package/dist/ui-library/p-56e172e0.entry.js +2 -0
- package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
- package/dist/ui-library/p-5b52d097.entry.js +2 -0
- package/dist/ui-library/p-5b52d097.entry.js.map +1 -0
- package/dist/ui-library/p-65e53a1b.entry.js +2 -0
- package/dist/ui-library/p-65e53a1b.entry.js.map +1 -0
- package/dist/ui-library/p-6607d03a.entry.js +2 -0
- package/dist/ui-library/p-6607d03a.entry.js.map +1 -0
- package/dist/ui-library/p-6dd3f54c.entry.js +2 -0
- package/dist/ui-library/p-6dd3f54c.entry.js.map +1 -0
- package/dist/ui-library/p-811ce2a0.entry.js +2 -0
- package/dist/ui-library/p-811ce2a0.entry.js.map +1 -0
- package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
- package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
- package/dist/ui-library/p-850aff56.entry.js +2 -0
- package/dist/ui-library/p-850aff56.entry.js.map +1 -0
- package/dist/ui-library/p-8884a48b.entry.js +2 -0
- package/dist/ui-library/p-8884a48b.entry.js.map +1 -0
- package/dist/ui-library/p-91c195d3.entry.js +2 -0
- package/dist/ui-library/{p-70fac778.entry.js.map → p-91c195d3.entry.js.map} +1 -1
- package/dist/ui-library/p-9ec79195.entry.js +2 -0
- package/dist/ui-library/p-9ec79195.entry.js.map +1 -0
- package/dist/ui-library/{p-842b492e.js → p-B1bClJZ6.js} +1 -1
- package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
- package/dist/ui-library/{p-8227aaed.js → p-BY6hIEFX.js} +1 -1
- package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
- package/dist/ui-library/{p-8bfb4bfc.js → p-C4h4qpGl.js} +1 -1
- package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
- package/dist/ui-library/{p-a1502802.js → p-CKhg9ibv.js} +1 -1
- package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
- package/dist/ui-library/{p-651293e7.js → p-CfIoyvm-.js} +1 -1
- package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
- package/dist/ui-library/p-DQuL1Twl.js +2 -0
- package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
- package/dist/ui-library/{p-f136a6b2.js → p-Dd6pdO8C.js} +1 -1
- package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
- package/dist/ui-library/p-Dg9366Gk.js +2 -0
- package/dist/ui-library/p-Dg9366Gk.js.map +1 -0
- package/dist/ui-library/p-JoG9I7EO.js +3 -0
- package/dist/ui-library/p-JoG9I7EO.js.map +1 -0
- package/dist/ui-library/p-SLlDVtvF.js +2 -0
- package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
- package/dist/ui-library/{p-06ba4450.js → p-Vw_F19Fv.js} +1 -1
- package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
- package/dist/ui-library/{p-862d474e.js → p-WA6V9mN8.js} +1 -1
- package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
- package/dist/ui-library/p-a43843d6.entry.js +2 -0
- package/dist/ui-library/p-a43843d6.entry.js.map +1 -0
- package/dist/ui-library/p-a4b523ed.entry.js +2 -0
- package/dist/ui-library/p-a4b523ed.entry.js.map +1 -0
- package/dist/ui-library/p-ab043a8c.entry.js +2 -0
- package/dist/ui-library/p-ab043a8c.entry.js.map +1 -0
- package/dist/ui-library/{p-1f7a0cb5.entry.js → p-b37d9771.entry.js} +2 -2
- package/dist/ui-library/p-b37d9771.entry.js.map +1 -0
- package/dist/ui-library/{p-d46acf21.entry.js → p-b6244904.entry.js} +2 -2
- package/dist/ui-library/p-b6244904.entry.js.map +1 -0
- package/dist/ui-library/p-c47f11e4.entry.js +2 -0
- package/dist/ui-library/p-c47f11e4.entry.js.map +1 -0
- package/dist/ui-library/p-c90a59fc.entry.js +2 -0
- package/dist/ui-library/p-c90a59fc.entry.js.map +1 -0
- package/dist/ui-library/p-cea7f777.entry.js +2 -0
- package/dist/ui-library/p-cea7f777.entry.js.map +1 -0
- package/dist/ui-library/p-d36ec323.entry.js +2 -0
- package/dist/ui-library/p-d36ec323.entry.js.map +1 -0
- package/dist/ui-library/p-dc2109d2.entry.js +2 -0
- package/dist/ui-library/p-dc2109d2.entry.js.map +1 -0
- package/dist/ui-library/p-e85be7d2.entry.js +2 -0
- package/dist/ui-library/p-e85be7d2.entry.js.map +1 -0
- package/dist/ui-library/p-e92df84a.entry.js +2 -0
- package/dist/ui-library/p-e92df84a.entry.js.map +1 -0
- package/dist/ui-library/p-ea61b009.entry.js +2 -0
- package/dist/ui-library/p-ea61b009.entry.js.map +1 -0
- package/dist/ui-library/p-ed6625e6.entry.js +2 -0
- package/dist/ui-library/p-ed6625e6.entry.js.map +1 -0
- package/dist/ui-library/p-ee980a0f.entry.js +2 -0
- package/dist/ui-library/p-ee980a0f.entry.js.map +1 -0
- package/dist/ui-library/p-f4dd7b57.entry.js +2 -0
- package/dist/ui-library/p-f4dd7b57.entry.js.map +1 -0
- package/dist/ui-library/p-f6423fca.entry.js +2 -0
- package/dist/ui-library/p-f6423fca.entry.js.map +1 -0
- package/dist/ui-library/p-fe7d3665.entry.js +2 -0
- package/dist/ui-library/p-fe7d3665.entry.js.map +1 -0
- package/dist/ui-library/{p-0cebf1d2.js → p-j3oIB5oT.js} +1 -1
- package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
- package/dist/ui-library/p-kHci8ddv.js +2 -0
- package/dist/{esm/popover-25996e62.js.map → ui-library/p-kHci8ddv.js.map} +1 -1
- package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
- package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
- package/dist/ui-library/six-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-card.entry.esm.js.map +1 -0
- package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-date.entry.esm.js.map +1 -0
- package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-details.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
- package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
- package/dist/ui-library/six-error.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
- package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
- package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
- package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-header.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
- package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
- package/dist/ui-library/six-input.entry.esm.js.map +1 -0
- package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
- package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
- package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
- package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
- package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
- package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
- package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
- package/dist/ui-library/six-range.entry.esm.js.map +1 -0
- package/dist/ui-library/six-root.entry.esm.js.map +1 -0
- package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
- package/dist/ui-library/six-select.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
- package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
- package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
- package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
- package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
- package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
- package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
- package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
- package/dist/ui-library/ui-library.css +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +17 -12
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/error-messages-6e8049a4.js.map +0 -1
- package/dist/cjs/execution-control-d728da70.js.map +0 -1
- package/dist/cjs/focus-visible-e2c9255a.js.map +0 -1
- package/dist/cjs/form-9ebaae7c.js.map +0 -1
- package/dist/cjs/form-control-b39f1df5.js.map +0 -1
- package/dist/cjs/index-417a06c8.js.map +0 -1
- package/dist/cjs/modal-bd7fc5bc.js.map +0 -1
- package/dist/cjs/popover-1e7c09f1.js.map +0 -1
- package/dist/cjs/popup-e854acda.js.map +0 -1
- package/dist/cjs/scroll-68033901.js.map +0 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +0 -128
- package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
- package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
- package/dist/cjs/slot-1b1232a1.js.map +0 -1
- package/dist/cjs/types-d3da200b.js.map +0 -1
- package/dist/collection/material-icons-round.woff +0 -0
- package/dist/collection/material-icons-round.woff2 +0 -0
- package/dist/collection/material-icons-sharp.woff +0 -0
- package/dist/collection/material-icons-sharp.woff2 +0 -0
- package/dist/collection/material-icons-two-tone.woff +0 -0
- package/dist/collection/material-icons-two-tone.woff2 +0 -0
- package/dist/collection/material-icons.css +0 -124
- package/dist/collection/material-icons.scss +0 -5
- package/dist/collection/material-icons.woff +0 -0
- package/dist/components/event-listeners.js.map +0 -1
- package/dist/components/execution-control.js.map +0 -1
- package/dist/components/focus-visible.js.map +0 -1
- package/dist/components/form-control.js.map +0 -1
- package/dist/components/form.js.map +0 -1
- package/dist/components/modal.js.map +0 -1
- package/dist/components/popover.js.map +0 -1
- package/dist/components/scroll.js.map +0 -1
- package/dist/components/six-button2.js.map +0 -1
- package/dist/components/six-checkbox2.js +0 -166
- package/dist/components/six-checkbox2.js.map +0 -1
- package/dist/components/six-details2.js.map +0 -1
- package/dist/components/six-dropdown2.js.map +0 -1
- package/dist/components/six-error2.js.map +0 -1
- package/dist/components/six-header-item2.js +0 -39
- package/dist/components/six-header-item2.js.map +0 -1
- package/dist/components/six-icon-button2.js +0 -80
- package/dist/components/six-icon-button2.js.map +0 -1
- package/dist/components/six-icon2.js.map +0 -1
- package/dist/components/six-input2.js +0 -291
- package/dist/components/six-input2.js.map +0 -1
- package/dist/components/six-item-picker2.js.map +0 -1
- package/dist/components/six-logo2.js +0 -42
- package/dist/components/six-logo2.js.map +0 -1
- package/dist/components/six-menu-item2.js.map +0 -1
- package/dist/components/six-menu2.js.map +0 -1
- package/dist/components/six-picto2.js.map +0 -1
- package/dist/components/six-spinner2.js.map +0 -1
- package/dist/components/six-stage-indicator2.js.map +0 -1
- package/dist/components/six-timepicker2.js.map +0 -1
- package/dist/components/six-tooltip2.js.map +0 -1
- package/dist/components/slot.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/error-messages-1eaaad23.js.map +0 -1
- package/dist/esm/event-listeners-706d4309.js.map +0 -1
- package/dist/esm/execution-control-2ebaf4ef.js.map +0 -1
- package/dist/esm/focus-visible-d9dbfeef.js.map +0 -1
- package/dist/esm/form-4b145b7a.js.map +0 -1
- package/dist/esm/form-control-ad1710bf.js.map +0 -1
- package/dist/esm/index-a7bee415.js.map +0 -1
- package/dist/esm/modal-6c1288e3.js.map +0 -1
- package/dist/esm/popup-7209e9d5.js.map +0 -1
- package/dist/esm/scroll-3e16851e.js.map +0 -1
- package/dist/esm/six-checkbox.entry.js +0 -124
- package/dist/esm/six-checkbox.entry.js.map +0 -1
- package/dist/esm/six-dropdown_3.entry.js.map +0 -1
- package/dist/esm/six-header-item_2.entry.js +0 -42
- package/dist/esm/six-header-item_2.entry.js.map +0 -1
- package/dist/esm/slot-56531341.js.map +0 -1
- package/dist/esm/types-a07bb999.js.map +0 -1
- package/dist/ui-library/material-icons-round.woff +0 -0
- package/dist/ui-library/material-icons-round.woff2 +0 -0
- package/dist/ui-library/material-icons-sharp.woff +0 -0
- package/dist/ui-library/material-icons-sharp.woff2 +0 -0
- package/dist/ui-library/material-icons-two-tone.woff +0 -0
- package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
- package/dist/ui-library/material-icons.css +0 -124
- package/dist/ui-library/material-icons.scss +0 -5
- package/dist/ui-library/material-icons.woff +0 -0
- package/dist/ui-library/p-03acec96.entry.js +0 -2
- package/dist/ui-library/p-03acec96.entry.js.map +0 -1
- package/dist/ui-library/p-06ba4450.js.map +0 -1
- package/dist/ui-library/p-06d562b7.entry.js +0 -2
- package/dist/ui-library/p-06d562b7.entry.js.map +0 -1
- package/dist/ui-library/p-07b6203f.entry.js +0 -2
- package/dist/ui-library/p-07b6203f.entry.js.map +0 -1
- package/dist/ui-library/p-0a6b6429.entry.js +0 -2
- package/dist/ui-library/p-0a6b6429.entry.js.map +0 -1
- package/dist/ui-library/p-0cebf1d2.js.map +0 -1
- package/dist/ui-library/p-14d09601.entry.js +0 -2
- package/dist/ui-library/p-14d09601.entry.js.map +0 -1
- package/dist/ui-library/p-171df3ad.entry.js +0 -2
- package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
- package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
- package/dist/ui-library/p-1cc3b56d.entry.js.map +0 -1
- package/dist/ui-library/p-1cd09d9b.entry.js +0 -2
- package/dist/ui-library/p-1cd09d9b.entry.js.map +0 -1
- package/dist/ui-library/p-1f7a0cb5.entry.js.map +0 -1
- package/dist/ui-library/p-2355c444.entry.js +0 -2
- package/dist/ui-library/p-2355c444.entry.js.map +0 -1
- package/dist/ui-library/p-281ffc35.entry.js +0 -2
- package/dist/ui-library/p-281ffc35.entry.js.map +0 -1
- package/dist/ui-library/p-2ad904a7.entry.js +0 -2
- package/dist/ui-library/p-2ad904a7.entry.js.map +0 -1
- package/dist/ui-library/p-30000e86.entry.js +0 -2
- package/dist/ui-library/p-30000e86.entry.js.map +0 -1
- package/dist/ui-library/p-42cd3588.entry.js +0 -2
- package/dist/ui-library/p-42cd3588.entry.js.map +0 -1
- package/dist/ui-library/p-48118ce8.js +0 -3
- package/dist/ui-library/p-48118ce8.js.map +0 -1
- package/dist/ui-library/p-49019d6c.entry.js +0 -2
- package/dist/ui-library/p-49019d6c.entry.js.map +0 -1
- package/dist/ui-library/p-4d72b179.entry.js +0 -2
- package/dist/ui-library/p-4d72b179.entry.js.map +0 -1
- package/dist/ui-library/p-4de4ee7a.entry.js +0 -2
- package/dist/ui-library/p-4de4ee7a.entry.js.map +0 -1
- package/dist/ui-library/p-4edde816.entry.js +0 -2
- package/dist/ui-library/p-4edde816.entry.js.map +0 -1
- package/dist/ui-library/p-4f129bb3.entry.js +0 -2
- package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
- package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
- package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
- package/dist/ui-library/p-5ece7986.entry.js +0 -2
- package/dist/ui-library/p-5ece7986.entry.js.map +0 -1
- package/dist/ui-library/p-5f491974.entry.js +0 -2
- package/dist/ui-library/p-5f491974.entry.js.map +0 -1
- package/dist/ui-library/p-5fc9cd7b.entry.js +0 -2
- package/dist/ui-library/p-5fc9cd7b.entry.js.map +0 -1
- package/dist/ui-library/p-618bf750.entry.js +0 -2
- package/dist/ui-library/p-618bf750.entry.js.map +0 -1
- package/dist/ui-library/p-62a1f514.entry.js +0 -2
- package/dist/ui-library/p-62a1f514.entry.js.map +0 -1
- package/dist/ui-library/p-651293e7.js.map +0 -1
- package/dist/ui-library/p-6513b8ce.entry.js +0 -2
- package/dist/ui-library/p-6513b8ce.entry.js.map +0 -1
- package/dist/ui-library/p-6795e0a9.entry.js +0 -2
- package/dist/ui-library/p-6795e0a9.entry.js.map +0 -1
- package/dist/ui-library/p-6ec126f7.entry.js +0 -2
- package/dist/ui-library/p-6ec126f7.entry.js.map +0 -1
- package/dist/ui-library/p-705e3612.entry.js +0 -2
- package/dist/ui-library/p-705e3612.entry.js.map +0 -1
- package/dist/ui-library/p-70fac778.entry.js +0 -2
- package/dist/ui-library/p-7afdff5c.entry.js +0 -2
- package/dist/ui-library/p-7afdff5c.entry.js.map +0 -1
- package/dist/ui-library/p-7eb9ae75.entry.js +0 -2
- package/dist/ui-library/p-7eb9ae75.entry.js.map +0 -1
- package/dist/ui-library/p-7f856f00.js +0 -2
- package/dist/ui-library/p-7f856f00.js.map +0 -1
- package/dist/ui-library/p-8227aaed.js.map +0 -1
- package/dist/ui-library/p-842b492e.js.map +0 -1
- package/dist/ui-library/p-862d474e.js.map +0 -1
- package/dist/ui-library/p-870139dc.entry.js +0 -2
- package/dist/ui-library/p-870139dc.entry.js.map +0 -1
- package/dist/ui-library/p-8bfb4bfc.js.map +0 -1
- package/dist/ui-library/p-a04460e3.js +0 -2
- package/dist/ui-library/p-a04460e3.js.map +0 -1
- package/dist/ui-library/p-a1502802.js.map +0 -1
- package/dist/ui-library/p-a20a702a.entry.js +0 -2
- package/dist/ui-library/p-a20a702a.entry.js.map +0 -1
- package/dist/ui-library/p-adc65fc8.entry.js +0 -2
- package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
- package/dist/ui-library/p-afb15ea4.entry.js +0 -2
- package/dist/ui-library/p-afb15ea4.entry.js.map +0 -1
- package/dist/ui-library/p-b361d5da.entry.js +0 -2
- package/dist/ui-library/p-b361d5da.entry.js.map +0 -1
- package/dist/ui-library/p-bfb398c6.entry.js +0 -2
- package/dist/ui-library/p-bfb398c6.entry.js.map +0 -1
- package/dist/ui-library/p-cd65e3b2.entry.js +0 -2
- package/dist/ui-library/p-cd65e3b2.entry.js.map +0 -1
- package/dist/ui-library/p-cd79700c.entry.js +0 -2
- package/dist/ui-library/p-cd79700c.entry.js.map +0 -1
- package/dist/ui-library/p-cdc9224d.entry.js +0 -2
- package/dist/ui-library/p-cdc9224d.entry.js.map +0 -1
- package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
- package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
- package/dist/ui-library/p-d46acf21.entry.js.map +0 -1
- package/dist/ui-library/p-d67b8482.entry.js +0 -2
- package/dist/ui-library/p-d67b8482.entry.js.map +0 -1
- package/dist/ui-library/p-db193a32.entry.js +0 -2
- package/dist/ui-library/p-db193a32.entry.js.map +0 -1
- package/dist/ui-library/p-e080d5b6.js +0 -2
- package/dist/ui-library/p-e080d5b6.js.map +0 -1
- package/dist/ui-library/p-e1255160.js +0 -2
- package/dist/ui-library/p-e1255160.js.map +0 -1
- package/dist/ui-library/p-e1529ef6.entry.js +0 -2
- package/dist/ui-library/p-e1529ef6.entry.js.map +0 -1
- package/dist/ui-library/p-e181944f.entry.js +0 -2
- package/dist/ui-library/p-e181944f.entry.js.map +0 -1
- package/dist/ui-library/p-e6efc08a.entry.js +0 -2
- package/dist/ui-library/p-e6efc08a.entry.js.map +0 -1
- package/dist/ui-library/p-e9462085.entry.js +0 -2
- package/dist/ui-library/p-e9462085.entry.js.map +0 -1
- package/dist/ui-library/p-ea854ec5.entry.js +0 -2
- package/dist/ui-library/p-ea854ec5.entry.js.map +0 -1
- package/dist/ui-library/p-f12b22bc.entry.js +0 -2
- package/dist/ui-library/p-f12b22bc.entry.js.map +0 -1
- package/dist/ui-library/p-f136a6b2.js.map +0 -1
- package/dist/ui-library/p-f9a1f6ab.entry.js +0 -2
- package/dist/ui-library/p-f9a1f6ab.entry.js.map +0 -1
- package/dist/ui-library/p-ffce31da.entry.js +0 -2
- package/dist/ui-library/p-ffce31da.entry.js.map +0 -1
- package/loader/package.json +0 -11
- /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
- /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { lockBodyScrolling, unlockBodyScrolling } from "../../utils/scroll";
|
|
3
3
|
import { hasSlot } from "../../utils/slot";
|
|
4
4
|
import Modal from "../../utils/modal";
|
|
5
|
+
import { animateTo } from "../../utils/animation";
|
|
5
6
|
let id = 0;
|
|
6
7
|
/**
|
|
7
8
|
* @since 1.0
|
|
@@ -28,19 +29,30 @@ export class SixDialog {
|
|
|
28
29
|
this.componentId = `dialog-${++id}`;
|
|
29
30
|
this.willShow = false;
|
|
30
31
|
this.willHide = false;
|
|
32
|
+
this.hasFooter = false;
|
|
33
|
+
this.isVisible = false;
|
|
34
|
+
/** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */
|
|
35
|
+
this.open = false;
|
|
36
|
+
/**
|
|
37
|
+
* The dialog's label as displayed in the header. You should always include a relevant label even when using
|
|
38
|
+
* `no-header`, as it is required for proper accessibility.
|
|
39
|
+
*/
|
|
40
|
+
this.label = '';
|
|
41
|
+
/**
|
|
42
|
+
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an
|
|
43
|
+
* easy, accessible way for users to dismiss the dialog.
|
|
44
|
+
*/
|
|
45
|
+
this.noHeader = false;
|
|
31
46
|
this.handleCloseClick = () => {
|
|
32
|
-
this.
|
|
47
|
+
this.preventClose('close-button');
|
|
33
48
|
};
|
|
34
49
|
this.handleKeyDown = (event) => {
|
|
35
50
|
if (event.key === 'Escape') {
|
|
36
|
-
this.
|
|
51
|
+
this.preventClose('keyboard');
|
|
37
52
|
}
|
|
38
53
|
};
|
|
39
54
|
this.handleOverlayClick = () => {
|
|
40
|
-
|
|
41
|
-
if (!sixOverlayDismiss.defaultPrevented) {
|
|
42
|
-
this.hide();
|
|
43
|
-
}
|
|
55
|
+
this.preventClose('overlay');
|
|
44
56
|
};
|
|
45
57
|
this.handleSlotChange = () => {
|
|
46
58
|
this.hasFooter = hasSlot(this.host, 'footer');
|
|
@@ -55,11 +67,6 @@ export class SixDialog {
|
|
|
55
67
|
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
56
68
|
}
|
|
57
69
|
};
|
|
58
|
-
this.hasFooter = false;
|
|
59
|
-
this.isVisible = false;
|
|
60
|
-
this.open = false;
|
|
61
|
-
this.label = '';
|
|
62
|
-
this.noHeader = false;
|
|
63
70
|
}
|
|
64
71
|
handleOpenChange() {
|
|
65
72
|
this.open ? this.show() : this.hide();
|
|
@@ -121,13 +128,21 @@ export class SixDialog {
|
|
|
121
128
|
this.modal.deactivate();
|
|
122
129
|
unlockBodyScrolling(this.host);
|
|
123
130
|
}
|
|
131
|
+
preventClose(source) {
|
|
132
|
+
const sixRequestClose = this.sixRequestClose.emit({ source });
|
|
133
|
+
if (sixRequestClose.defaultPrevented && this.panel) {
|
|
134
|
+
animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
this.hide();
|
|
138
|
+
}
|
|
124
139
|
render() {
|
|
125
|
-
return (h("div", { key: '
|
|
140
|
+
return (h("div", { key: 'b97915d5076bb83782212b61b1f65f694fd84b63', ref: (el) => (this.dialog = el), part: "base", class: {
|
|
126
141
|
dialog: true,
|
|
127
142
|
'dialog--open': this.open,
|
|
128
143
|
'dialog--visible': this.isVisible,
|
|
129
144
|
'dialog--has-footer': this.hasFooter,
|
|
130
|
-
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '
|
|
145
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '153379e70061e86842f65f3588329dc9c6d592db', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'd0b78c413a70eeb6e6cbf75be7829a7d1f2ad715', ref: (el) => (this.panel = el), part: "panel", class: "dialog__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '94e7d993356ea718e1ed87d4fe9e1d3faf0574f8', part: "header", class: "dialog__header" }, h("span", { key: '600591c9266dda80c457f41c54c92a8134d89bb8', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '4ad2904648821134ce3851682768b01086a68359', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '4d793b14b41f7d9c43d5f9949cba6bfe7c6a442c', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '729f6cc36802fccf46958b2c259213aa9369fb94', part: "body", class: "dialog__body" }, h("slot", { key: 'ba299ae12ba958c705a807639aee911167997b38' })), h("footer", { key: '92cb57fa4c4dc066a49dd259832e43be619cc945', part: "footer", class: "dialog__footer" }, h("slot", { key: '63ea68abef52d91c04608ad1bf6d508a31012ed9', name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
131
146
|
}
|
|
132
147
|
static get is() { return "six-dialog"; }
|
|
133
148
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,6 +160,7 @@ export class SixDialog {
|
|
|
145
160
|
return {
|
|
146
161
|
"open": {
|
|
147
162
|
"type": "boolean",
|
|
163
|
+
"attribute": "open",
|
|
148
164
|
"mutable": true,
|
|
149
165
|
"complexType": {
|
|
150
166
|
"original": "boolean",
|
|
@@ -157,12 +173,14 @@ export class SixDialog {
|
|
|
157
173
|
"tags": [],
|
|
158
174
|
"text": "Indicates whether the dialog is open. You can use this in lieu of the show/hide methods."
|
|
159
175
|
},
|
|
160
|
-
"
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
161
178
|
"reflect": true,
|
|
162
179
|
"defaultValue": "false"
|
|
163
180
|
},
|
|
164
181
|
"label": {
|
|
165
182
|
"type": "string",
|
|
183
|
+
"attribute": "label",
|
|
166
184
|
"mutable": false,
|
|
167
185
|
"complexType": {
|
|
168
186
|
"original": "string",
|
|
@@ -175,12 +193,14 @@ export class SixDialog {
|
|
|
175
193
|
"tags": [],
|
|
176
194
|
"text": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility."
|
|
177
195
|
},
|
|
178
|
-
"
|
|
196
|
+
"getter": false,
|
|
197
|
+
"setter": false,
|
|
179
198
|
"reflect": false,
|
|
180
199
|
"defaultValue": "''"
|
|
181
200
|
},
|
|
182
201
|
"noHeader": {
|
|
183
202
|
"type": "boolean",
|
|
203
|
+
"attribute": "no-header",
|
|
184
204
|
"mutable": false,
|
|
185
205
|
"complexType": {
|
|
186
206
|
"original": "boolean",
|
|
@@ -193,7 +213,8 @@ export class SixDialog {
|
|
|
193
213
|
"tags": [],
|
|
194
214
|
"text": "Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\neasy, accessible way for users to dismiss the dialog."
|
|
195
215
|
},
|
|
196
|
-
"
|
|
216
|
+
"getter": false,
|
|
217
|
+
"setter": false,
|
|
197
218
|
"reflect": false,
|
|
198
219
|
"defaultValue": "false"
|
|
199
220
|
}
|
|
@@ -312,23 +333,23 @@ export class SixDialog {
|
|
|
312
333
|
}
|
|
313
334
|
}
|
|
314
335
|
}, {
|
|
315
|
-
"method": "
|
|
316
|
-
"name": "six-dialog-
|
|
336
|
+
"method": "sixRequestClose",
|
|
337
|
+
"name": "six-dialog-request-close",
|
|
317
338
|
"bubbles": true,
|
|
318
339
|
"cancelable": true,
|
|
319
340
|
"composed": true,
|
|
320
341
|
"docs": {
|
|
321
342
|
"tags": [],
|
|
322
|
-
"text": "Emitted when the overlay
|
|
343
|
+
"text": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\npressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\nthe drawer will result in destructive behavior such as data loss."
|
|
323
344
|
},
|
|
324
345
|
"complexType": {
|
|
325
|
-
"original": "
|
|
326
|
-
"resolved": "
|
|
346
|
+
"original": "SixDialogRequestClose",
|
|
347
|
+
"resolved": "SixDialogRequestClose",
|
|
327
348
|
"references": {
|
|
328
|
-
"
|
|
329
|
-
"location": "
|
|
330
|
-
"path": "
|
|
331
|
-
"id": "src/
|
|
349
|
+
"SixDialogRequestClose": {
|
|
350
|
+
"location": "local",
|
|
351
|
+
"path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-dialog/six-dialog.tsx",
|
|
352
|
+
"id": "src/components/six-dialog/six-dialog.tsx::SixDialogRequestClose"
|
|
332
353
|
}
|
|
333
354
|
}
|
|
334
355
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-dialog.js","sourceRoot":"","sources":["../../../src/components/six-dialog/six-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,MAAM,OAAO,SAAS;;QACZ,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAwHjB,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC,CAAC;QAEM,kBAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC/C,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;gBAC3B,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC;QACH,CAAC,CAAC;QAEM,uBAAkB,GAAG,GAAG,EAAE;YAChC,MAAM,iBAAiB,GAAG,IAAI,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\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 dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the dialog from closing. */\n @Event({ eventName: 'six-dialog-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"six-dialog.js","sourceRoot":"","sources":["../../../src/components/six-dialog/six-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMlD,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,MAAM,OAAO,SAAS;IALtB;QAMU,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAIhB,cAAS,GAAG,KAAK,CAAC;QAClB,cAAS,GAAG,KAAK,CAAC;QAE3B,+FAA+F;QACvD,SAAI,GAAG,KAAK,CAAC;QAErD;;;WAGG;QACK,UAAK,GAAG,EAAE,CAAC;QAEnB;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QAwGjB,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;QACpC,CAAC,CAAC;QAEM,kBAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC/C,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;gBAC3B,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;YAChC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gBAAgB;oBAC1C,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDialogRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\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 dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-dialog-request-close' }) sixRequestClose!: EventEmitter<SixDialogRequestClose>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\n }\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
/* Hides content visually while still making it available to screen readers */
|
|
10
|
+
.sr-only {
|
|
11
|
+
clip: rect(0 0 0 0);
|
|
12
|
+
clip-path: inset(50%);
|
|
13
|
+
height: 1px;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
position: absolute;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
width: 1px;
|
|
18
|
+
}
|
|
19
|
+
|
|
9
20
|
/**
|
|
10
21
|
* @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its
|
|
11
22
|
* `placement`. Note that the drawer will shrink to accommodate smaller screens.
|
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { lockBodyScrolling, unlockBodyScrolling } from "../../utils/scroll";
|
|
3
3
|
import { hasSlot } from "../../utils/slot";
|
|
4
4
|
import Modal from "../../utils/modal";
|
|
5
|
+
import { animateTo } from "../../utils/animation";
|
|
5
6
|
let id = 0;
|
|
6
7
|
/**
|
|
7
8
|
* @since 1.0
|
|
@@ -27,19 +28,37 @@ export class SixDrawer {
|
|
|
27
28
|
this.componentId = `drawer-${++id}`;
|
|
28
29
|
this.willShow = false;
|
|
29
30
|
this.willHide = false;
|
|
31
|
+
this.hasFooter = false;
|
|
32
|
+
this.isVisible = false;
|
|
33
|
+
/** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */
|
|
34
|
+
this.open = false;
|
|
35
|
+
/**
|
|
36
|
+
* The drawer's label as displayed in the header. You should always include a relevant label even when using
|
|
37
|
+
* `no-header`, as it is required for proper accessibility.
|
|
38
|
+
*/
|
|
39
|
+
this.label = '';
|
|
40
|
+
/** The direction from which the drawer will open. */
|
|
41
|
+
this.placement = 'right';
|
|
42
|
+
/**
|
|
43
|
+
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of
|
|
44
|
+
* its parent element, set this prop and add `position: relative` to the parent.
|
|
45
|
+
*/
|
|
46
|
+
this.contained = false;
|
|
47
|
+
/**
|
|
48
|
+
* Removes the header. This will also remove the default close button, so please ensure you provide an easy,
|
|
49
|
+
* accessible way for users to dismiss the drawer.
|
|
50
|
+
*/
|
|
51
|
+
this.noHeader = false;
|
|
30
52
|
this.handleCloseClick = () => {
|
|
31
|
-
this.
|
|
53
|
+
this.preventClose('close-button');
|
|
32
54
|
};
|
|
33
55
|
this.handleKeyDown = (event) => {
|
|
34
56
|
if (event.key === 'Escape') {
|
|
35
|
-
this.
|
|
57
|
+
this.preventClose('keyboard');
|
|
36
58
|
}
|
|
37
59
|
};
|
|
38
60
|
this.handleOverlayClick = () => {
|
|
39
|
-
|
|
40
|
-
if (!sixOverlayDismiss.defaultPrevented) {
|
|
41
|
-
this.hide();
|
|
42
|
-
}
|
|
61
|
+
this.preventClose('overlay');
|
|
43
62
|
};
|
|
44
63
|
this.handleSlotChange = () => {
|
|
45
64
|
this.hasFooter = hasSlot(this.host, 'footer');
|
|
@@ -51,13 +70,6 @@ export class SixDrawer {
|
|
|
51
70
|
this.resetTransitionVariables();
|
|
52
71
|
}
|
|
53
72
|
};
|
|
54
|
-
this.hasFooter = false;
|
|
55
|
-
this.isVisible = false;
|
|
56
|
-
this.open = false;
|
|
57
|
-
this.label = '';
|
|
58
|
-
this.placement = 'right';
|
|
59
|
-
this.contained = false;
|
|
60
|
-
this.noHeader = false;
|
|
61
73
|
}
|
|
62
74
|
handleOpenChange() {
|
|
63
75
|
this.open ? this.show() : this.hide();
|
|
@@ -124,6 +136,14 @@ export class SixDrawer {
|
|
|
124
136
|
this.modal.deactivate();
|
|
125
137
|
unlockBodyScrolling(this.host);
|
|
126
138
|
}
|
|
139
|
+
preventClose(source) {
|
|
140
|
+
const sixRequestClose = this.sixRequestClose.emit({ source });
|
|
141
|
+
if (sixRequestClose.defaultPrevented && this.panel) {
|
|
142
|
+
animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
this.hide();
|
|
146
|
+
}
|
|
127
147
|
resetTransitionVariables() {
|
|
128
148
|
this.isVisible = this.open;
|
|
129
149
|
this.willShow = false;
|
|
@@ -131,7 +151,7 @@ export class SixDrawer {
|
|
|
131
151
|
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
132
152
|
}
|
|
133
153
|
render() {
|
|
134
|
-
return (h("div", { key: '
|
|
154
|
+
return (h("div", { key: '17d045e1a06aa424bc59f7316525df73ae031227', ref: (el) => (this.drawer = el), part: "base", class: {
|
|
135
155
|
drawer: true,
|
|
136
156
|
'drawer--open': this.open,
|
|
137
157
|
'drawer--visible': this.isVisible,
|
|
@@ -142,7 +162,7 @@ export class SixDrawer {
|
|
|
142
162
|
'drawer--contained': this.contained,
|
|
143
163
|
'drawer--fixed': !this.contained,
|
|
144
164
|
'drawer--has-footer': this.hasFooter,
|
|
145
|
-
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '
|
|
165
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '804fcb75cc49156bfcb6af8958a40c33c20f8202', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: 'e5095b200d370fe98163b3f0fa2bbf42ece7fa5f', ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: 'c479cfa062277a6f1cf0f7433cff73e94139faea', part: "header", class: "drawer__header" }, h("span", { key: '8d60e0eb1cecc9c8f2091b5b8c9aefaa2aac3c91', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '26c5fb0feb42c9db7625e98f10cd5cbd0acfd742', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '454ee7cea511b470ae224c6559ee99f10e9cf095', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '4f07be9128e7d2a292298b3e22ec0e5105adc3f3', part: "body", class: "drawer__body" }, h("slot", { key: '856a4bd2ee8dacc8b6124d87d8e501a8bd8c3f23' })), h("footer", { key: '721ca11e6b5470d2170d9bc929ba2d973faf9117', part: "footer", class: "drawer__footer" }, h("slot", { key: 'afb8d35c7fee0fa3e9833ea1b381c2d81f8cb5b0', name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
146
166
|
}
|
|
147
167
|
static get is() { return "six-drawer"; }
|
|
148
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -160,6 +180,7 @@ export class SixDrawer {
|
|
|
160
180
|
return {
|
|
161
181
|
"open": {
|
|
162
182
|
"type": "boolean",
|
|
183
|
+
"attribute": "open",
|
|
163
184
|
"mutable": true,
|
|
164
185
|
"complexType": {
|
|
165
186
|
"original": "boolean",
|
|
@@ -172,12 +193,14 @@ export class SixDrawer {
|
|
|
172
193
|
"tags": [],
|
|
173
194
|
"text": "Indicates whether the drawer is open. You can use this in lieu of the show/hide methods."
|
|
174
195
|
},
|
|
175
|
-
"
|
|
196
|
+
"getter": false,
|
|
197
|
+
"setter": false,
|
|
176
198
|
"reflect": true,
|
|
177
199
|
"defaultValue": "false"
|
|
178
200
|
},
|
|
179
201
|
"label": {
|
|
180
202
|
"type": "string",
|
|
203
|
+
"attribute": "label",
|
|
181
204
|
"mutable": false,
|
|
182
205
|
"complexType": {
|
|
183
206
|
"original": "string",
|
|
@@ -190,12 +213,14 @@ export class SixDrawer {
|
|
|
190
213
|
"tags": [],
|
|
191
214
|
"text": "The drawer's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility."
|
|
192
215
|
},
|
|
193
|
-
"
|
|
216
|
+
"getter": false,
|
|
217
|
+
"setter": false,
|
|
194
218
|
"reflect": false,
|
|
195
219
|
"defaultValue": "''"
|
|
196
220
|
},
|
|
197
221
|
"placement": {
|
|
198
222
|
"type": "string",
|
|
223
|
+
"attribute": "placement",
|
|
199
224
|
"mutable": false,
|
|
200
225
|
"complexType": {
|
|
201
226
|
"original": "'top' | 'right' | 'bottom' | 'left'",
|
|
@@ -208,12 +233,14 @@ export class SixDrawer {
|
|
|
208
233
|
"tags": [],
|
|
209
234
|
"text": "The direction from which the drawer will open."
|
|
210
235
|
},
|
|
211
|
-
"
|
|
236
|
+
"getter": false,
|
|
237
|
+
"setter": false,
|
|
212
238
|
"reflect": false,
|
|
213
239
|
"defaultValue": "'right'"
|
|
214
240
|
},
|
|
215
241
|
"contained": {
|
|
216
242
|
"type": "boolean",
|
|
243
|
+
"attribute": "contained",
|
|
217
244
|
"mutable": false,
|
|
218
245
|
"complexType": {
|
|
219
246
|
"original": "boolean",
|
|
@@ -226,12 +253,14 @@ export class SixDrawer {
|
|
|
226
253
|
"tags": [],
|
|
227
254
|
"text": "By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\nits parent element, set this prop and add `position: relative` to the parent."
|
|
228
255
|
},
|
|
229
|
-
"
|
|
256
|
+
"getter": false,
|
|
257
|
+
"setter": false,
|
|
230
258
|
"reflect": false,
|
|
231
259
|
"defaultValue": "false"
|
|
232
260
|
},
|
|
233
261
|
"noHeader": {
|
|
234
262
|
"type": "boolean",
|
|
263
|
+
"attribute": "no-header",
|
|
235
264
|
"mutable": false,
|
|
236
265
|
"complexType": {
|
|
237
266
|
"original": "boolean",
|
|
@@ -244,7 +273,8 @@ export class SixDrawer {
|
|
|
244
273
|
"tags": [],
|
|
245
274
|
"text": "Removes the header. This will also remove the default close button, so please ensure you provide an easy,\naccessible way for users to dismiss the drawer."
|
|
246
275
|
},
|
|
247
|
-
"
|
|
276
|
+
"getter": false,
|
|
277
|
+
"setter": false,
|
|
248
278
|
"reflect": false,
|
|
249
279
|
"defaultValue": "false"
|
|
250
280
|
}
|
|
@@ -363,23 +393,23 @@ export class SixDrawer {
|
|
|
363
393
|
}
|
|
364
394
|
}
|
|
365
395
|
}, {
|
|
366
|
-
"method": "
|
|
367
|
-
"name": "six-drawer-
|
|
396
|
+
"method": "sixRequestClose",
|
|
397
|
+
"name": "six-drawer-request-close",
|
|
368
398
|
"bubbles": true,
|
|
369
399
|
"cancelable": true,
|
|
370
400
|
"composed": true,
|
|
371
401
|
"docs": {
|
|
372
402
|
"tags": [],
|
|
373
|
-
"text": "Emitted when the overlay
|
|
403
|
+
"text": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\npressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\nthe drawer will result in destructive behavior such as data loss."
|
|
374
404
|
},
|
|
375
405
|
"complexType": {
|
|
376
|
-
"original": "
|
|
377
|
-
"resolved": "
|
|
406
|
+
"original": "SixDrawerRequestClose",
|
|
407
|
+
"resolved": "SixDrawerRequestClose",
|
|
378
408
|
"references": {
|
|
379
|
-
"
|
|
380
|
-
"location": "
|
|
381
|
-
"path": "
|
|
382
|
-
"id": "src/
|
|
409
|
+
"SixDrawerRequestClose": {
|
|
410
|
+
"location": "local",
|
|
411
|
+
"path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-drawer/six-drawer.tsx",
|
|
412
|
+
"id": "src/components/six-drawer/six-drawer.tsx::SixDrawerRequestClose"
|
|
383
413
|
}
|
|
384
414
|
}
|
|
385
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-drawer.js","sourceRoot":"","sources":["../../../src/components/six-drawer/six-drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AAOH,MAAM,OAAO,SAAS;;QACZ,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAsIjB,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC,CAAC;QAEM,kBAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC/C,I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Ae,EAAC,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,QAAQ;wBACtE,6DAAM,IAAI,EAAC,OAAO,IAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF;oBACP,wEACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACK,CACV;gBAED,4DAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;oBACnC,8DAAQ,CACJ;gBAEN,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\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 drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the drawer from closing. */\n @Event({ eventName: 'six-drawer-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"six-drawer.js","sourceRoot":"","sources":["../../../src/components/six-drawer/six-drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMlD,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AAOH,MAAM,OAAO,SAAS;IALtB;QAMU,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAIhB,cAAS,GAAG,KAAK,CAAC;QAClB,cAAS,GAAG,KAAK,CAAC;QAE3B,+FAA+F;QACvD,SAAI,GAAG,KAAK,CAAC;QAErD;;;WAGG;QACK,UAAK,GAAG,EAAE,CAAC;QAEnB,qDAAqD;QAC7C,cAAS,GAAwC,OAAO,CAAC;QAEjE;;;WAGG;QACK,cAAS,GAAG,KAAK,CAAC;QAE1B;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QA6GjB,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC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ACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDrawerRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\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 drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-drawer-request-close' }) sixRequestClose!: EventEmitter<SixDrawerRequestClose>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\n }\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
/* Hides content visually while still making it available to screen readers */
|
|
10
|
+
.sr-only {
|
|
11
|
+
clip: rect(0 0 0 0);
|
|
12
|
+
clip-path: inset(50%);
|
|
13
|
+
height: 1px;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
position: absolute;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
width: 1px;
|
|
18
|
+
}
|
|
19
|
+
|
|
9
20
|
:host {
|
|
10
21
|
display: inline-block;
|
|
11
22
|
}
|