@six-group/ui-library 3.0.0-beta.1.11
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/LICENSE +201 -0
- package/dist/cjs/event-listeners-74715e62.js +43 -0
- package/dist/cjs/execution-control-46f388e0.js +43 -0
- package/dist/cjs/focus-visible-0b352c74.js +45 -0
- package/dist/cjs/form-control-866bbece.js +32 -0
- package/dist/cjs/index-341df120.js +1801 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/modal-48d42228.js +49 -0
- package/dist/cjs/popover-1d2a037c.js +1898 -0
- package/dist/cjs/scroll-76e6f5d7.js +67 -0
- package/dist/cjs/set-attributes_2.cjs.entry.js +71 -0
- package/dist/cjs/six-alert.cjs.entry.js +142 -0
- package/dist/cjs/six-avatar.cjs.entry.js +39 -0
- package/dist/cjs/six-badge.cjs.entry.js +37 -0
- package/dist/cjs/six-button.cjs.entry.js +108 -0
- package/dist/cjs/six-card.cjs.entry.js +19 -0
- package/dist/cjs/six-checkbox.cjs.entry.js +163 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +1210 -0
- package/dist/cjs/six-details.cjs.entry.js +150 -0
- package/dist/cjs/six-dialog.cjs.entry.js +163 -0
- package/dist/cjs/six-drawer.cjs.entry.js +185 -0
- package/dist/cjs/six-dropdown_3.cjs.entry.js +751 -0
- package/dist/cjs/six-error-page.cjs.entry.js +105 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +49 -0
- package/dist/cjs/six-file-list.cjs.entry.js +19 -0
- package/dist/cjs/six-file-upload.cjs.entry.js +107 -0
- package/dist/cjs/six-footer.cjs.entry.js +19 -0
- package/dist/cjs/six-form.cjs.entry.js +230 -0
- package/dist/cjs/six-group-label.cjs.entry.js +57 -0
- package/dist/cjs/six-header.cjs.entry.js +160 -0
- package/dist/cjs/six-icon-button.cjs.entry.js +44 -0
- package/dist/cjs/six-icon.cjs.entry.js +35 -0
- package/dist/cjs/six-input.cjs.entry.js +241 -0
- package/dist/cjs/six-item-picker.cjs.entry.js +372 -0
- package/dist/cjs/six-language-switcher.cjs.entry.js +63 -0
- package/dist/cjs/six-layout-grid.cjs.entry.js +30 -0
- package/dist/cjs/six-main-container.cjs.entry.js +22 -0
- package/dist/cjs/six-menu-divider.cjs.entry.js +19 -0
- package/dist/cjs/six-menu-label.cjs.entry.js +19 -0
- package/dist/cjs/six-picto.cjs.entry.js +26 -0
- package/dist/cjs/six-progress-bar.cjs.entry.js +28 -0
- package/dist/cjs/six-progress-ring.cjs.entry.js +42 -0
- package/dist/cjs/six-radio.cjs.entry.js +132 -0
- package/dist/cjs/six-range.cjs.entry.js +209 -0
- package/dist/cjs/six-root.cjs.entry.js +45 -0
- package/dist/cjs/six-search-field.cjs.entry.js +54 -0
- package/dist/cjs/six-select.cjs.entry.js +458 -0
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +53 -0
- package/dist/cjs/six-sidebar-item.cjs.entry.js +29 -0
- package/dist/cjs/six-sidebar.cjs.entry.js +182 -0
- package/dist/cjs/six-spinner.cjs.entry.js +27 -0
- package/dist/cjs/six-switch.cjs.entry.js +111 -0
- package/dist/cjs/six-tab-group.cjs.entry.js +237 -0
- package/dist/cjs/six-tab-panel.cjs.entry.js +28 -0
- package/dist/cjs/six-tab.cjs.entry.js +53 -0
- package/dist/cjs/six-table-cell_4.cjs.entry.js +102 -0
- package/dist/cjs/six-table.cjs.entry.js +168 -0
- package/dist/cjs/six-tag.cjs.entry.js +51 -0
- package/dist/cjs/six-textarea.cjs.entry.js +222 -0
- package/dist/cjs/six-tile.cjs.entry.js +100 -0
- package/dist/cjs/six-timepicker.cjs.entry.js +504 -0
- package/dist/cjs/six-timepicker.types-c19ebff3.js +54 -0
- package/dist/cjs/six-tooltip.cjs.entry.js +183 -0
- package/dist/cjs/slot-ad537f24.js +50 -0
- package/dist/cjs/types-581e8ff0.js +15 -0
- package/dist/cjs/types-64878648.js +15 -0
- package/dist/cjs/ui-library.cjs.js +19 -0
- package/dist/collection/assets/TRADEMARKS.md +7 -0
- package/dist/collection/assets/commons.js +5 -0
- package/dist/collection/assets/data.json +642 -0
- package/dist/collection/collection-manifest.json +69 -0
- package/dist/collection/components/six-alert/six-alert.css +109 -0
- package/dist/collection/components/six-alert/six-alert.js +366 -0
- package/dist/collection/components/six-avatar/six-avatar.css +74 -0
- package/dist/collection/components/six-avatar/six-avatar.js +131 -0
- package/dist/collection/components/six-badge/six-badge.css +101 -0
- package/dist/collection/components/six-badge/six-badge.js +101 -0
- package/dist/collection/components/six-button/six-button.css +372 -0
- package/dist/collection/components/six-button/six-button.js +466 -0
- package/dist/collection/components/six-card/six-card.css +15 -0
- package/dist/collection/components/six-card/six-card.js +21 -0
- package/dist/collection/components/six-checkbox/six-checkbox.css +166 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +550 -0
- package/dist/collection/components/six-datepicker/components/day-selection.js +13 -0
- package/dist/collection/components/six-datepicker/components/month-selection.js +12 -0
- package/dist/collection/components/six-datepicker/components/year-selection.js +10 -0
- package/dist/collection/components/six-datepicker/six-date-formats.js +23 -0
- package/dist/collection/components/six-datepicker/six-datepicker.css +156 -0
- package/dist/collection/components/six-datepicker/six-datepicker.js +1343 -0
- package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +16 -0
- package/dist/collection/components/six-details/six-details.css +118 -0
- package/dist/collection/components/six-details/six-details.js +432 -0
- package/dist/collection/components/six-dialog/six-dialog.css +123 -0
- package/dist/collection/components/six-dialog/six-dialog.js +401 -0
- package/dist/collection/components/six-drawer/six-drawer.css +166 -0
- package/dist/collection/components/six-drawer/six-drawer.js +458 -0
- package/dist/collection/components/six-dropdown/six-dropdown.css +67 -0
- package/dist/collection/components/six-dropdown/six-dropdown.js +939 -0
- package/dist/collection/components/six-error-page/six-error-page.css +17 -0
- package/dist/collection/components/six-error-page/six-error-page.js +199 -0
- package/dist/collection/components/six-file-list/six-file-list.css +6 -0
- package/dist/collection/components/six-file-list/six-file-list.js +20 -0
- package/dist/collection/components/six-file-list-item/six-file-list-item.css +36 -0
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +203 -0
- package/dist/collection/components/six-file-upload/six-file-upload.css +63 -0
- package/dist/collection/components/six-file-upload/six-file-upload.js +272 -0
- package/dist/collection/components/six-footer/six-footer.css +20 -0
- package/dist/collection/components/six-footer/six-footer.js +21 -0
- package/dist/collection/components/six-form/six-form.css +11 -0
- package/dist/collection/components/six-form/six-form.js +408 -0
- package/dist/collection/components/six-group-label/six-group-label.css +88 -0
- package/dist/collection/components/six-group-label/six-group-label.js +166 -0
- package/dist/collection/components/six-header/assets/six-logo.svg +1 -0
- package/dist/collection/components/six-header/six-header.css +79 -0
- package/dist/collection/components/six-header/six-header.js +420 -0
- package/dist/collection/components/six-icon/six-icon.css +63 -0
- package/dist/collection/components/six-icon/six-icon.js +77 -0
- package/dist/collection/components/six-icon-button/six-icon-button.css +71 -0
- package/dist/collection/components/six-icon-button/six-icon-button.js +142 -0
- package/dist/collection/components/six-input/six-input.css +298 -0
- package/dist/collection/components/six-input/six-input.js +1141 -0
- package/dist/collection/components/six-item-picker/six-item-picker.css +40 -0
- package/dist/collection/components/six-item-picker/six-item-picker.js +688 -0
- package/dist/collection/components/six-item-picker/types.js +13 -0
- package/dist/collection/components/six-language-switcher/six-language-switcher.css +15 -0
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -0
- package/dist/collection/components/six-layout-grid/six-layout-grid.css +5 -0
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +52 -0
- package/dist/collection/components/six-main-container/six-main-container.css +20 -0
- package/dist/collection/components/six-main-container/six-main-container.js +53 -0
- package/dist/collection/components/six-menu/six-menu.css +26 -0
- package/dist/collection/components/six-menu/six-menu.js +406 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.css +16 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +22 -0
- package/dist/collection/components/six-menu-item/six-menu-item.css +71 -0
- package/dist/collection/components/six-menu-item/six-menu-item.js +177 -0
- package/dist/collection/components/six-menu-label/six-menu-label.css +22 -0
- package/dist/collection/components/six-menu-label/six-menu-label.js +25 -0
- package/dist/collection/components/six-picto/six-picto.css +1232 -0
- package/dist/collection/components/six-picto/six-picto.js +50 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.css +60 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +77 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.css +52 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +111 -0
- package/dist/collection/components/six-radio/six-radio.css +84 -0
- package/dist/collection/components/six-radio/six-radio.js +410 -0
- package/dist/collection/components/six-range/six-range.css +231 -0
- package/dist/collection/components/six-range/six-range.js +620 -0
- package/dist/collection/components/six-root/six-root.css +48 -0
- package/dist/collection/components/six-root/six-root.js +167 -0
- package/dist/collection/components/six-search-field/six-search-field.css +18 -0
- package/dist/collection/components/six-search-field/six-search-field.js +171 -0
- package/dist/collection/components/six-select/six-select.css +348 -0
- package/dist/collection/components/six-select/six-select.js +1105 -0
- package/dist/collection/components/six-sidebar/six-sidebar.css +47 -0
- package/dist/collection/components/six-sidebar/six-sidebar.js +455 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +22 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +89 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +32 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +158 -0
- package/dist/collection/components/six-spinner/six-spinner.css +79 -0
- package/dist/collection/components/six-spinner/six-spinner.js +55 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +49 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +46 -0
- package/dist/collection/components/six-switch/six-switch.css +90 -0
- package/dist/collection/components/six-switch/six-switch.js +393 -0
- package/dist/collection/components/six-tab/six-tab.css +54 -0
- package/dist/collection/components/six-tab/six-tab.js +198 -0
- package/dist/collection/components/six-tab-group/six-tab-group.css +155 -0
- package/dist/collection/components/six-tab-group/six-tab-group.js +362 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.css +17 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +75 -0
- package/dist/collection/components/six-table/six-table.css +44 -0
- package/dist/collection/components/six-table/six-table.js +209 -0
- package/dist/collection/components/six-table/test/helpers.js +13 -0
- package/dist/collection/components/six-table/types.js +8 -0
- package/dist/collection/components/six-table/util/filter-by.js +34 -0
- package/dist/collection/components/six-table/util/from-data.js +33 -0
- package/dist/collection/components/six-table/util/is.js +3 -0
- package/dist/collection/components/six-table/util/quick-filter-by.js +13 -0
- package/dist/collection/components/six-table/util/sort-by.js +25 -0
- package/dist/collection/components/six-table-cell/six-table-cell.css +13 -0
- package/dist/collection/components/six-table-cell/six-table-cell.js +21 -0
- package/dist/collection/components/six-table-header/six-table-header.css +17 -0
- package/dist/collection/components/six-table-header/six-table-header.js +21 -0
- package/dist/collection/components/six-table-header-cell/get-next-state.js +7 -0
- package/dist/collection/components/six-table-header-cell/icons.js +12 -0
- package/dist/collection/components/six-table-header-cell/six-table-header-cell.css +37 -0
- package/dist/collection/components/six-table-header-cell/six-table-header-cell.js +174 -0
- package/dist/collection/components/six-table-header-cell/types.js +13 -0
- package/dist/collection/components/six-table-header-cell/util/create-model.js +6 -0
- package/dist/collection/components/six-table-header-cell/util/get-next-state.js +7 -0
- package/dist/collection/components/six-table-row/six-table-row.css +16 -0
- package/dist/collection/components/six-table-row/six-table-row.js +21 -0
- package/dist/collection/components/six-tag/six-tag.css +103 -0
- package/dist/collection/components/six-tag/six-tag.js +157 -0
- package/dist/collection/components/six-textarea/six-textarea.css +196 -0
- package/dist/collection/components/six-textarea/six-textarea.js +912 -0
- package/dist/collection/components/six-tile/six-tile.css +105 -0
- package/dist/collection/components/six-tile/six-tile.js +315 -0
- package/dist/collection/components/six-timepicker/six-time-format.js +14 -0
- package/dist/collection/components/six-timepicker/six-timepicker.css +94 -0
- package/dist/collection/components/six-timepicker/six-timepicker.js +980 -0
- package/dist/collection/components/six-timepicker/six-timepicker.types.js +40 -0
- package/dist/collection/components/six-tooltip/six-tooltip.css +146 -0
- package/dist/collection/components/six-tooltip/six-tooltip.js +435 -0
- package/dist/collection/files/file-list.json +308 -0
- package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/collection/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 +28 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/material-icons-outlined.woff +0 -0
- package/dist/collection/material-icons-outlined.woff2 +0 -0
- 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 +124 -0
- package/dist/collection/material-icons.scss +5 -0
- package/dist/collection/material-icons.woff +0 -0
- package/dist/collection/material-icons.woff2 +0 -0
- package/dist/collection/testUtil/delay.js +3 -0
- package/dist/collection/utils/as-array.js +1 -0
- package/dist/collection/utils/date-util.js +712 -0
- package/dist/collection/utils/event-listeners.js +39 -0
- package/dist/collection/utils/execution-control.js +38 -0
- package/dist/collection/utils/focus-visible.js +41 -0
- package/dist/collection/utils/matchers.js +2 -0
- package/dist/collection/utils/modal.js +28 -0
- package/dist/collection/utils/offset.js +13 -0
- package/dist/collection/utils/popover.js +113 -0
- package/dist/collection/utils/scroll.js +47 -0
- package/dist/collection/utils/slot.js +59 -0
- package/dist/collection/utils/support.js +15 -0
- package/dist/collection/utils/tabbable.js +22 -0
- package/dist/collection/utils/testing.js +38 -0
- package/dist/collection/utils/time.util.js +74 -0
- package/dist/collection/utils/type-check.js +5 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/wrappers/set-attributes/set-attributes.js +68 -0
- package/dist/components.d.ts +121 -0
- package/dist/components.json +12649 -0
- package/dist/custom-elements/index.d.ts +387 -0
- package/dist/custom-elements/index.js +9757 -0
- package/dist/esm/event-listeners-570a24ea.js +41 -0
- package/dist/esm/execution-control-1a60d709.js +38 -0
- package/dist/esm/focus-visible-97933ea9.js +43 -0
- package/dist/esm/form-control-24f446af.js +30 -0
- package/dist/esm/index-a2605a62.js +1771 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/modal-5ebdc320.js +46 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popover-1c7a1139.js +1896 -0
- package/dist/esm/scroll-180b53fd.js +62 -0
- package/dist/esm/set-attributes_2.entry.js +66 -0
- package/dist/esm/six-alert.entry.js +138 -0
- package/dist/esm/six-avatar.entry.js +35 -0
- package/dist/esm/six-badge.entry.js +33 -0
- package/dist/esm/six-button.entry.js +104 -0
- package/dist/esm/six-card.entry.js +15 -0
- package/dist/esm/six-checkbox.entry.js +159 -0
- package/dist/esm/six-datepicker.entry.js +1206 -0
- package/dist/esm/six-details.entry.js +146 -0
- package/dist/esm/six-dialog.entry.js +159 -0
- package/dist/esm/six-drawer.entry.js +181 -0
- package/dist/esm/six-dropdown_3.entry.js +745 -0
- package/dist/esm/six-error-page.entry.js +101 -0
- package/dist/esm/six-file-list-item.entry.js +45 -0
- package/dist/esm/six-file-list.entry.js +15 -0
- package/dist/esm/six-file-upload.entry.js +103 -0
- package/dist/esm/six-footer.entry.js +15 -0
- package/dist/esm/six-form.entry.js +226 -0
- package/dist/esm/six-group-label.entry.js +53 -0
- package/dist/esm/six-header.entry.js +156 -0
- package/dist/esm/six-icon-button.entry.js +40 -0
- package/dist/esm/six-icon.entry.js +31 -0
- package/dist/esm/six-input.entry.js +237 -0
- package/dist/esm/six-item-picker.entry.js +368 -0
- package/dist/esm/six-language-switcher.entry.js +59 -0
- package/dist/esm/six-layout-grid.entry.js +26 -0
- package/dist/esm/six-main-container.entry.js +18 -0
- package/dist/esm/six-menu-divider.entry.js +15 -0
- package/dist/esm/six-menu-label.entry.js +15 -0
- package/dist/esm/six-picto.entry.js +22 -0
- package/dist/esm/six-progress-bar.entry.js +24 -0
- package/dist/esm/six-progress-ring.entry.js +38 -0
- package/dist/esm/six-radio.entry.js +128 -0
- package/dist/esm/six-range.entry.js +205 -0
- package/dist/esm/six-root.entry.js +41 -0
- package/dist/esm/six-search-field.entry.js +50 -0
- package/dist/esm/six-select.entry.js +454 -0
- package/dist/esm/six-sidebar-item-group.entry.js +49 -0
- package/dist/esm/six-sidebar-item.entry.js +25 -0
- package/dist/esm/six-sidebar.entry.js +178 -0
- package/dist/esm/six-spinner.entry.js +23 -0
- package/dist/esm/six-switch.entry.js +107 -0
- package/dist/esm/six-tab-group.entry.js +233 -0
- package/dist/esm/six-tab-panel.entry.js +24 -0
- package/dist/esm/six-tab.entry.js +49 -0
- package/dist/esm/six-table-cell_4.entry.js +95 -0
- package/dist/esm/six-table.entry.js +164 -0
- package/dist/esm/six-tag.entry.js +47 -0
- package/dist/esm/six-textarea.entry.js +218 -0
- package/dist/esm/six-tile.entry.js +96 -0
- package/dist/esm/six-timepicker.entry.js +500 -0
- package/dist/esm/six-timepicker.types-e161a447.js +48 -0
- package/dist/esm/six-tooltip.entry.js +179 -0
- package/dist/esm/slot-6f3984c7.js +45 -0
- package/dist/esm/types-4b10b413.js +15 -0
- package/dist/esm/types-ed860f7c.js +15 -0
- package/dist/esm/ui-library.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/six-alert/six-alert.d.ts +60 -0
- package/dist/types/components/six-avatar/six-avatar.d.ts +27 -0
- package/dist/types/components/six-badge/six-badge.d.ts +20 -0
- package/dist/types/components/six-button/six-button.d.ts +69 -0
- package/dist/types/components/six-card/six-card.d.ts +9 -0
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +86 -0
- package/dist/types/components/six-datepicker/components/day-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/components/month-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/components/year-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/six-date-formats.d.ts +22 -0
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +214 -0
- package/dist/types/components/six-datepicker/test/six-datepicker.test-helpers.d.ts +1 -0
- package/dist/types/components/six-details/six-details.d.ts +61 -0
- package/dist/types/components/six-dialog/six-dialog.d.ts +75 -0
- package/dist/types/components/six-drawer/six-drawer.d.ts +82 -0
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +140 -0
- package/dist/types/components/six-error-page/six-error-page.d.ts +27 -0
- package/dist/types/components/six-file-list/six-file-list.d.ts +8 -0
- package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +35 -0
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +42 -0
- package/dist/types/components/six-footer/six-footer.d.ts +9 -0
- package/dist/types/components/six-form/six-form.d.ts +69 -0
- package/dist/types/components/six-group-label/six-group-label.d.ts +37 -0
- package/dist/types/components/six-header/six-header.d.ts +90 -0
- package/dist/types/components/six-icon/six-icon.d.ts +13 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +28 -0
- package/dist/types/components/six-input/six-input.d.ts +165 -0
- package/dist/types/components/six-item-picker/six-item-picker.d.ts +106 -0
- package/dist/types/components/six-item-picker/types.d.ts +11 -0
- package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +25 -0
- package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +14 -0
- package/dist/types/components/six-main-container/six-main-container.d.ts +16 -0
- package/dist/types/components/six-menu/six-menu.d.ts +81 -0
- package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +11 -0
- package/dist/types/components/six-menu-item/six-menu-item.d.ts +36 -0
- package/dist/types/components/six-menu-label/six-menu-label.d.ts +13 -0
- package/dist/types/components/six-picto/six-picto.d.ts +14 -0
- package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +19 -0
- package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +24 -0
- package/dist/types/components/six-radio/six-radio.d.ts +66 -0
- package/dist/types/components/six-range/six-range.d.ts +101 -0
- package/dist/types/components/six-root/six-root.d.ts +34 -0
- package/dist/types/components/six-search-field/six-search-field.d.ts +32 -0
- package/dist/types/components/six-select/six-select.d.ts +163 -0
- package/dist/types/components/six-sidebar/six-sidebar.d.ts +55 -0
- package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +15 -0
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +26 -0
- package/dist/types/components/six-spinner/six-spinner.d.ts +15 -0
- package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +6 -0
- package/dist/types/components/six-switch/six-switch.d.ts +62 -0
- package/dist/types/components/six-tab/six-tab.d.ts +35 -0
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +62 -0
- package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +19 -0
- package/dist/types/components/six-table/six-table.d.ts +30 -0
- package/dist/types/components/six-table/test/helpers.d.ts +2 -0
- package/dist/types/components/six-table/types.d.ts +33 -0
- package/dist/types/components/six-table/util/filter-by.d.ts +2 -0
- package/dist/types/components/six-table/util/from-data.d.ts +8 -0
- package/dist/types/components/six-table/util/is.d.ts +3 -0
- package/dist/types/components/six-table/util/quick-filter-by.d.ts +2 -0
- package/dist/types/components/six-table/util/sort-by.d.ts +2 -0
- package/dist/types/components/six-table-cell/six-table-cell.d.ts +9 -0
- package/dist/types/components/six-table-header/six-table-header.d.ts +9 -0
- package/dist/types/components/six-table-header-cell/get-next-state.d.ts +2 -0
- package/dist/types/components/six-table-header-cell/icons.d.ts +3 -0
- package/dist/types/components/six-table-header-cell/six-table-header-cell.d.ts +32 -0
- package/dist/types/components/six-table-header-cell/types.d.ts +11 -0
- package/dist/types/components/six-table-header-cell/util/create-model.d.ts +4 -0
- package/dist/types/components/six-table-header-cell/util/get-next-state.d.ts +3 -0
- package/dist/types/components/six-table-row/six-table-row.d.ts +9 -0
- package/dist/types/components/six-tag/six-tag.d.ts +30 -0
- package/dist/types/components/six-textarea/six-textarea.d.ts +134 -0
- package/dist/types/components/six-tile/six-tile.d.ts +40 -0
- package/dist/types/components/six-timepicker/six-time-format.d.ts +13 -0
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +184 -0
- package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +36 -0
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +72 -0
- package/dist/types/components.d.ts +4335 -0
- package/dist/types/functional-components/form-control/form-control.d.ts +34 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/testUtil/delay.d.ts +1 -0
- package/dist/types/utils/as-array.d.ts +1 -0
- package/dist/types/utils/date-util.d.ts +194 -0
- package/dist/types/utils/event-listeners.d.ts +15 -0
- package/dist/types/utils/execution-control.d.ts +26 -0
- package/dist/types/utils/focus-visible.d.ts +6 -0
- package/dist/types/utils/matchers.d.ts +2 -0
- package/dist/types/utils/modal.d.ts +13 -0
- package/dist/types/utils/offset.d.ts +4 -0
- package/dist/types/utils/popover.d.ts +27 -0
- package/dist/types/utils/popper.d.ts +33 -0
- package/dist/types/utils/scroll.d.ts +3 -0
- package/dist/types/utils/slot.d.ts +9 -0
- package/dist/types/utils/support.d.ts +1 -0
- package/dist/types/utils/tabbable.d.ts +2 -0
- package/dist/types/utils/testing.d.ts +2 -0
- package/dist/types/utils/time.util.d.ts +10 -0
- package/dist/types/utils/type-check.d.ts +4 -0
- package/dist/types/utils/types.d.ts +4 -0
- package/dist/types/wrappers/set-attributes/set-attributes.d.ts +9 -0
- package/dist/ui-library/assets/TRADEMARKS.md +7 -0
- package/dist/ui-library/assets/commons.js +5 -0
- package/dist/ui-library/assets/data.json +642 -0
- package/dist/ui-library/assets/six-logo.svg +1 -0
- package/dist/ui-library/files/file-list.json +308 -0
- package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/ui-library/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 +0 -0
- package/dist/ui-library/material-icons-outlined.woff +0 -0
- package/dist/ui-library/material-icons-outlined.woff2 +0 -0
- 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 +124 -0
- package/dist/ui-library/material-icons.scss +5 -0
- package/dist/ui-library/material-icons.woff +0 -0
- package/dist/ui-library/material-icons.woff2 +0 -0
- package/dist/ui-library/p-007bc8e8.entry.js +1 -0
- package/dist/ui-library/p-044b784e.entry.js +1 -0
- package/dist/ui-library/p-0493c926.entry.js +1 -0
- package/dist/ui-library/p-0786fa7c.js +1 -0
- package/dist/ui-library/p-07d1e830.js +1 -0
- package/dist/ui-library/p-09cb13fa.entry.js +1 -0
- package/dist/ui-library/p-0c596054.entry.js +1 -0
- package/dist/ui-library/p-1005d1a8.entry.js +1 -0
- package/dist/ui-library/p-19ff1079.entry.js +1 -0
- package/dist/ui-library/p-1b8dc7b7.entry.js +1 -0
- package/dist/ui-library/p-2053c61a.entry.js +1 -0
- package/dist/ui-library/p-25a3bf57.js +1 -0
- package/dist/ui-library/p-281e8c2d.entry.js +1 -0
- package/dist/ui-library/p-2924f82f.entry.js +1 -0
- package/dist/ui-library/p-2d7ed407.entry.js +1 -0
- package/dist/ui-library/p-30ebc1e7.js +1 -0
- package/dist/ui-library/p-354704e5.entry.js +1 -0
- package/dist/ui-library/p-376b8f30.entry.js +1 -0
- package/dist/ui-library/p-3a7daff8.entry.js +1 -0
- package/dist/ui-library/p-3f577392.entry.js +1 -0
- package/dist/ui-library/p-4162dcdd.entry.js +1 -0
- package/dist/ui-library/p-4d3a4e93.entry.js +1 -0
- package/dist/ui-library/p-4ed023b8.entry.js +1 -0
- package/dist/ui-library/p-4f8394d7.js +1 -0
- package/dist/ui-library/p-530ea6ec.entry.js +1 -0
- package/dist/ui-library/p-531ab886.entry.js +1 -0
- package/dist/ui-library/p-54c48654.entry.js +1 -0
- package/dist/ui-library/p-55c64cbc.entry.js +1 -0
- package/dist/ui-library/p-5f1c6a5f.js +1 -0
- package/dist/ui-library/p-6494e92d.entry.js +1 -0
- package/dist/ui-library/p-66601906.entry.js +1 -0
- package/dist/ui-library/p-675a8243.entry.js +1 -0
- package/dist/ui-library/p-6a4f0542.entry.js +1 -0
- package/dist/ui-library/p-6d622ed0.entry.js +1 -0
- package/dist/ui-library/p-75297ad7.js +1 -0
- package/dist/ui-library/p-76bfa55f.entry.js +1 -0
- package/dist/ui-library/p-7fe09462.entry.js +1 -0
- package/dist/ui-library/p-88e1e390.entry.js +1 -0
- package/dist/ui-library/p-8e8e922b.entry.js +1 -0
- package/dist/ui-library/p-90b26447.entry.js +1 -0
- package/dist/ui-library/p-93945629.entry.js +1 -0
- package/dist/ui-library/p-9a860acc.js +1 -0
- package/dist/ui-library/p-a98198bd.entry.js +1 -0
- package/dist/ui-library/p-aa37e45a.entry.js +1 -0
- package/dist/ui-library/p-b1e66136.js +1 -0
- package/dist/ui-library/p-b391f704.entry.js +1 -0
- package/dist/ui-library/p-b4dfb7cf.js +1 -0
- package/dist/ui-library/p-b9377445.entry.js +1 -0
- package/dist/ui-library/p-bf110ea9.entry.js +1 -0
- package/dist/ui-library/p-c24292b3.entry.js +1 -0
- package/dist/ui-library/p-c4b22513.entry.js +1 -0
- package/dist/ui-library/p-c536792e.entry.js +1 -0
- package/dist/ui-library/p-cd79de73.entry.js +1 -0
- package/dist/ui-library/p-ce02c34f.entry.js +1 -0
- package/dist/ui-library/p-d12c6092.js +1 -0
- package/dist/ui-library/p-d28ac80a.entry.js +1 -0
- package/dist/ui-library/p-d724bbc9.entry.js +1 -0
- package/dist/ui-library/p-d837e5a8.entry.js +1 -0
- package/dist/ui-library/p-dd3cae68.entry.js +1 -0
- package/dist/ui-library/p-ea781e94.entry.js +1 -0
- package/dist/ui-library/p-eae232c3.entry.js +1 -0
- package/dist/ui-library/p-eb0956d2.entry.js +1 -0
- package/dist/ui-library/p-eb8f05a9.js +1 -0
- package/dist/ui-library/p-f00c1783.entry.js +1 -0
- package/dist/ui-library/ui-library.css +10 -0
- package/dist/ui-library/ui-library.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +74 -0
- package/readme.md +154 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const focusVisible = require('./focus-visible-0b352c74.js');
|
|
7
|
+
|
|
8
|
+
const sixDetailsCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{--hide-duration:var(--six-transition-medium);--hide-timing-function:ease;--show-duration:var(--six-transition-medium);--show-timing-function:ease;font-family:var(--six-font-family);display:block}.details{border:solid var(--six-border-width) var(--six-input-border-color);border-radius:var(--six-border-radius-medium);color:var(--six-details-color);overflow-anchor:none;font-size:var(--six-input-font-size-medium)}.details:hover:not(.details--disabled):not(.details--open){border-color:var(--six-input-border-color-hover)}.details.inline{border:none;color:var(--six-sidebar-color)}.details.inline:hover{background-color:var(--six-sidebar-hover-background-color)}.details.inline.details--open{background-color:var(--six-color-web-rock-50)}.details.inline.details--open:hover{border:none;box-shadow:none}.details.inline.details--open>.details__header{color:var(--six-sidebar-color);font-weight:var(--six-font-weight-bold);background-color:var(--six-sidebar-header-background-color)}.details--disabled{background-color:var(--six-input-background-color-disabled);border-color:var(--six-input-border-color-disabled);color:var(--six-input-color-disabled)}.details__header{display:flex;align-items:center;border-radius:inherit;padding:var(--six-spacing-medium);user-select:none;cursor:pointer}.details__header:focus{outline:none}.details--disabled .details__header{cursor:not-allowed;border-width:1px}.details--disabled .details__header:focus{outline:none;box-shadow:none}.details__summary{flex:1 1 auto;display:flex;align-items:center}.details__summary-icon{flex:0 0 auto;display:flex;align-items:center;font-size:1.2em;transition:var(--six-transition-medium) transform ease}.details--open .details__summary-icon--animate{transform:rotate(-180deg)}.details--open:hover{color:var(--six-input-color-focus)}.details__body{height:0;overflow:hidden;transition-property:height;transition-duration:var(--hide-duration);transition-timing-function:var(--hide-timing-function)}.details--open .details__body{transition-duration:var(--show-duration);transition-timing-function:var(--show-timing-function)}.details__content{padding:var(--six-spacing-medium)}";
|
|
9
|
+
|
|
10
|
+
let id = 0;
|
|
11
|
+
let SixDetails = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.sixShow = index.createEvent(this, "six-details-show", 7);
|
|
15
|
+
this.sixAfterShow = index.createEvent(this, "six-details-after-show", 7);
|
|
16
|
+
this.sixHide = index.createEvent(this, "six-details-hide", 7);
|
|
17
|
+
this.sixAfterHide = index.createEvent(this, "six-details-after-hide", 7);
|
|
18
|
+
this.animateSummaryIcon = true;
|
|
19
|
+
this.componentId = `details-${++id}`;
|
|
20
|
+
this.isVisible = false;
|
|
21
|
+
/** Indicates whether or not the details is open. You can use this in lieu of the show/hide methods. */
|
|
22
|
+
this.open = false;
|
|
23
|
+
/** The summary to show in the details header. If you need to display HTML, use the `summary` slot instead. */
|
|
24
|
+
this.summary = '';
|
|
25
|
+
/** The icon's size. */
|
|
26
|
+
this.summaryIconSize = 'inherit';
|
|
27
|
+
/** Set to true to prevent the user from toggling the details. */
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/** Set to true when you want to use six-details inline e.g. in a sidebar */
|
|
30
|
+
this.inline = false;
|
|
31
|
+
/** Set to true when you want details without content to be selectable. This is important if you e.g. have a toggled sidebar where some menus have no children */
|
|
32
|
+
this.selectableEmpty = false;
|
|
33
|
+
this.hasContent = true;
|
|
34
|
+
}
|
|
35
|
+
handleOpenChange() {
|
|
36
|
+
if (this.body) {
|
|
37
|
+
this.open ? this.show() : this.hide();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
connectedCallback() {
|
|
41
|
+
this.handleBodyTransitionEnd = this.handleBodyTransitionEnd.bind(this);
|
|
42
|
+
this.handleSummaryClick = this.handleSummaryClick.bind(this);
|
|
43
|
+
this.handleSummaryKeyDown = this.handleSummaryKeyDown.bind(this);
|
|
44
|
+
}
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
focusVisible.focusVisible.observe(this.details);
|
|
47
|
+
this.body.hidden = !this.open;
|
|
48
|
+
// Show on init if open
|
|
49
|
+
if (this.open) {
|
|
50
|
+
this.show();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
disconnectedCallback() {
|
|
54
|
+
focusVisible.focusVisible.unobserve(this.details);
|
|
55
|
+
}
|
|
56
|
+
/** Shows the detail body */
|
|
57
|
+
async show() {
|
|
58
|
+
// Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher
|
|
59
|
+
if (this.isVisible) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const sixShow = this.sixShow.emit();
|
|
63
|
+
if (sixShow.defaultPrevented) {
|
|
64
|
+
this.open = false;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.body.hidden = false;
|
|
68
|
+
if (this.body.scrollHeight === 0) {
|
|
69
|
+
// When the scroll height can't be measured, use auto. This prevents a borked open state when the details is open
|
|
70
|
+
// intiially, but not immediately visible (i.e. in a tab panel).
|
|
71
|
+
this.body.style.height = 'auto';
|
|
72
|
+
this.body.style.overflow = 'visible';
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
this.body.style.height = `${this.body.scrollHeight}px`;
|
|
76
|
+
this.body.style.overflow = 'hidden';
|
|
77
|
+
}
|
|
78
|
+
this.isVisible = true;
|
|
79
|
+
this.open = true;
|
|
80
|
+
}
|
|
81
|
+
/** Hides the detail body */
|
|
82
|
+
async hide() {
|
|
83
|
+
// Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher
|
|
84
|
+
if (!this.isVisible) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const sixHide = this.sixHide.emit();
|
|
88
|
+
if (sixHide.defaultPrevented) {
|
|
89
|
+
this.open = true;
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
// We can't transition out of `height: auto`, so let's set it to the current height first
|
|
93
|
+
this.body.style.height = `${this.body.scrollHeight}px`;
|
|
94
|
+
this.body.style.overflow = 'hidden';
|
|
95
|
+
requestAnimationFrame(() => {
|
|
96
|
+
this.body.style.height = '0';
|
|
97
|
+
});
|
|
98
|
+
this.isVisible = false;
|
|
99
|
+
this.open = false;
|
|
100
|
+
}
|
|
101
|
+
handleBodyTransitionEnd(event) {
|
|
102
|
+
const target = event.target;
|
|
103
|
+
// Ensure we only emit one event when the target element is no longer visible
|
|
104
|
+
if (event.propertyName === 'height' && target.classList.contains('details__body')) {
|
|
105
|
+
this.body.style.overflow = this.open ? 'visible' : 'hidden';
|
|
106
|
+
this.body.style.height = this.open ? 'auto' : '0';
|
|
107
|
+
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
108
|
+
this.body.hidden = !this.open;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
handleSummaryClick() {
|
|
112
|
+
if (!this.disabled && (this.hasContent || this.selectableEmpty)) {
|
|
113
|
+
this.open ? this.hide() : this.show();
|
|
114
|
+
this.header.focus();
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
handleSummaryKeyDown(event) {
|
|
118
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
119
|
+
event.preventDefault();
|
|
120
|
+
this.open ? this.hide() : this.show();
|
|
121
|
+
}
|
|
122
|
+
if (event.key === 'ArrowUp' || event.key === 'ArrowLeft') {
|
|
123
|
+
event.preventDefault();
|
|
124
|
+
this.hide();
|
|
125
|
+
}
|
|
126
|
+
if (event.key === 'ArrowDown' || event.key === 'ArrowRight') {
|
|
127
|
+
event.preventDefault();
|
|
128
|
+
this.show();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
render() {
|
|
132
|
+
const summaryIcon = this.hasContent && (this.summaryIcon || 'expand_more');
|
|
133
|
+
return (index.h("div", { ref: (el) => (this.details = el), part: "base", class: {
|
|
134
|
+
details: true,
|
|
135
|
+
'details--open': this.open,
|
|
136
|
+
'details--disabled': this.disabled,
|
|
137
|
+
inline: this.inline,
|
|
138
|
+
} }, index.h("header", { ref: (el) => (this.header = el), part: "header", id: `${this.componentId}-header`, class: "details__header", role: "button", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `${this.componentId}-content`, "aria-disabled": this.disabled ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onClick: this.handleSummaryClick, onKeyDown: this.handleSummaryKeyDown }, index.h("div", { part: "summary", class: "details__summary" }, index.h("slot", { name: "summary" }, this.summary)), index.h("span", { part: "summary-icon", class: {
|
|
139
|
+
'details__summary-icon': true,
|
|
140
|
+
'details__summary-icon--animate': this.animateSummaryIcon,
|
|
141
|
+
} }, index.h("slot", { name: "summary-icon", onSlotchange: () => (this.animateSummaryIcon = false) }, summaryIcon && index.h("six-icon", { size: this.summaryIconSize }, summaryIcon)))), index.h("div", { ref: (el) => (this.body = el), class: "details__body", onTransitionEnd: this.handleBodyTransitionEnd }, index.h("div", { part: "content", id: `${this.componentId}-content`, class: "details__content", role: "region", "aria-labelledby": `${this.componentId}-header` }, index.h("slot", null)))));
|
|
142
|
+
}
|
|
143
|
+
get host() { return index.getElement(this); }
|
|
144
|
+
static get watchers() { return {
|
|
145
|
+
"open": ["handleOpenChange"]
|
|
146
|
+
}; }
|
|
147
|
+
};
|
|
148
|
+
SixDetails.style = sixDetailsCss;
|
|
149
|
+
|
|
150
|
+
exports.six_details = SixDetails;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const scroll = require('./scroll-76e6f5d7.js');
|
|
7
|
+
const slot = require('./slot-ad537f24.js');
|
|
8
|
+
const modal = require('./modal-48d42228.js');
|
|
9
|
+
|
|
10
|
+
const sixDialogCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{--width:31rem;display:contents}.dialog{display:flex;align-items:center;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--six-z-index-dialog);color:var(--six-color-web-rock-900)}.dialog:not(.dialog--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.dialog__panel{display:flex;flex-direction:column;z-index:2;width:var(--width);max-width:calc(100% - var(--six-spacing-xx-large));max-height:calc(100% - var(--six-spacing-xx-large));background-color:var(--six-panel-background-color);border-radius:var(--six-border-radius-medium);box-shadow:var(--six-shadow-x-large);opacity:0;transform:scale(0.8);transition:var(--six-transition-medium) opacity, var(--six-transition-medium) transform}.dialog__panel:focus{outline:none}@media screen and (max-width: 420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{display:flex;opacity:1;transform:none}.dialog__header{flex:0 0 auto;display:flex}.dialog__title{flex:1 1 auto;font-size:var(--six-font-size-x-large);font-weight:var(--six-font-weight-bold);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small)}.dialog__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-x-small)}.dialog__body{flex:1 1 auto;padding:var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.dialog__footer{flex:0 0 auto;text-align:right;padding:var(--six-spacing-large)}.dialog__footer ::slotted(six-button:not(:first-of-type)){margin-left:var(--six-spacing-xx-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}.dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity}.dialog--open .dialog__overlay{opacity:0.8}";
|
|
11
|
+
|
|
12
|
+
const hasPreventScroll = modal.isPreventScrollSupported();
|
|
13
|
+
let id = 0;
|
|
14
|
+
let SixDialog = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
index.registerInstance(this, hostRef);
|
|
17
|
+
this.sixShow = index.createEvent(this, "six-dialog-show", 7);
|
|
18
|
+
this.sixAfterShow = index.createEvent(this, "six-dialog-after-show", 7);
|
|
19
|
+
this.sixHide = index.createEvent(this, "six-dialog-hide", 7);
|
|
20
|
+
this.sixAfterHide = index.createEvent(this, "six-dialog-after-hide", 7);
|
|
21
|
+
this.sixInitialFocus = index.createEvent(this, "six-dialog-initial-focus", 7);
|
|
22
|
+
this.sixOverlayDismiss = index.createEvent(this, "six-dialog-overlay-dismiss", 7);
|
|
23
|
+
this.componentId = `dialog-${++id}`;
|
|
24
|
+
this.willShow = false;
|
|
25
|
+
this.willHide = false;
|
|
26
|
+
this.hasFooter = false;
|
|
27
|
+
this.isVisible = false;
|
|
28
|
+
/** Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods. */
|
|
29
|
+
this.open = false;
|
|
30
|
+
/**
|
|
31
|
+
* The dialog's label as displayed in the header. You should always include a relevant label even when using
|
|
32
|
+
* `no-header`, as it is required for proper accessibility.
|
|
33
|
+
*/
|
|
34
|
+
this.label = '';
|
|
35
|
+
/**
|
|
36
|
+
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an
|
|
37
|
+
* easy, accessible way for users to dismiss the dialog.
|
|
38
|
+
*/
|
|
39
|
+
this.noHeader = false;
|
|
40
|
+
}
|
|
41
|
+
handleOpenChange() {
|
|
42
|
+
this.open ? this.show() : this.hide();
|
|
43
|
+
}
|
|
44
|
+
connectedCallback() {
|
|
45
|
+
this.handleCloseClick = this.handleCloseClick.bind(this);
|
|
46
|
+
this.handleTransitionEnd = this.handleTransitionEnd.bind(this);
|
|
47
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
48
|
+
this.handleOverlayClick = this.handleOverlayClick.bind(this);
|
|
49
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
50
|
+
this.modal = new modal.Modal(this.host, {
|
|
51
|
+
onFocusOut: () => this.panel.focus(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
componentWillLoad() {
|
|
55
|
+
this.handleSlotChange();
|
|
56
|
+
// Show on init if open
|
|
57
|
+
if (this.open) {
|
|
58
|
+
this.show();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
disconnectedCallback() {
|
|
62
|
+
scroll.unlockBodyScrolling(this.host);
|
|
63
|
+
}
|
|
64
|
+
/** Shows the dialog */
|
|
65
|
+
async show() {
|
|
66
|
+
if (this.willShow) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
const sixShow = this.sixShow.emit();
|
|
70
|
+
if (sixShow.defaultPrevented) {
|
|
71
|
+
this.open = false;
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
this.willShow = true;
|
|
75
|
+
this.isVisible = true;
|
|
76
|
+
this.open = true;
|
|
77
|
+
this.modal.activate();
|
|
78
|
+
scroll.lockBodyScrolling(this.host);
|
|
79
|
+
if (this.open) {
|
|
80
|
+
if (hasPreventScroll) {
|
|
81
|
+
// Wait for the next frame before setting initial focus so the dialog is technically visible
|
|
82
|
+
requestAnimationFrame(() => {
|
|
83
|
+
const sixInitialFocus = this.sixInitialFocus.emit();
|
|
84
|
+
if (!sixInitialFocus.defaultPrevented) {
|
|
85
|
+
this.panel.focus({ preventScroll: true });
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
// Once Safari supports { preventScroll: true } we can remove this nasty little hack, but until then we need to
|
|
91
|
+
// wait for the transition to complete before setting focus, otherwise the panel may render in a buggy way its
|
|
92
|
+
// out of view initially.
|
|
93
|
+
//
|
|
94
|
+
// Fiddle: https://jsfiddle.net/g6buoafq/1/
|
|
95
|
+
// Safari: https://bugs.webkit.org/show_bug.cgi?id=178583
|
|
96
|
+
//
|
|
97
|
+
this.dialog.addEventListener('transitionend', () => {
|
|
98
|
+
const sixInitialFocus = this.sixInitialFocus.emit();
|
|
99
|
+
if (!sixInitialFocus.defaultPrevented) {
|
|
100
|
+
this.panel.focus();
|
|
101
|
+
}
|
|
102
|
+
}, { once: true });
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
/** Hides the dialog */
|
|
107
|
+
async hide() {
|
|
108
|
+
if (this.willHide) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
const sixHide = this.sixHide.emit();
|
|
112
|
+
if (sixHide.defaultPrevented) {
|
|
113
|
+
this.open = true;
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
this.willHide = true;
|
|
117
|
+
this.open = false;
|
|
118
|
+
this.modal.deactivate();
|
|
119
|
+
scroll.unlockBodyScrolling(this.host);
|
|
120
|
+
}
|
|
121
|
+
handleCloseClick() {
|
|
122
|
+
this.hide();
|
|
123
|
+
}
|
|
124
|
+
handleKeyDown(event) {
|
|
125
|
+
if (event.key === 'Escape') {
|
|
126
|
+
this.hide();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
handleOverlayClick() {
|
|
130
|
+
const sixOverlayDismiss = this.sixOverlayDismiss.emit();
|
|
131
|
+
if (!sixOverlayDismiss.defaultPrevented) {
|
|
132
|
+
this.hide();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
handleSlotChange() {
|
|
136
|
+
this.hasFooter = slot.hasSlot(this.host, 'footer');
|
|
137
|
+
}
|
|
138
|
+
handleTransitionEnd(event) {
|
|
139
|
+
const target = event.target;
|
|
140
|
+
// Ensure we only emit one event when the target element is no longer visible
|
|
141
|
+
if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {
|
|
142
|
+
this.isVisible = this.open;
|
|
143
|
+
this.willShow = false;
|
|
144
|
+
this.willHide = false;
|
|
145
|
+
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
return (index.h("div", { ref: (el) => (this.dialog = el), part: "base", class: {
|
|
150
|
+
dialog: true,
|
|
151
|
+
'dialog--open': this.open,
|
|
152
|
+
'dialog--visible': this.isVisible,
|
|
153
|
+
'dialog--has-footer': this.hasFooter,
|
|
154
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, index.h("div", { part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), index.h("div", { 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 && (index.h("header", { part: "header", class: "dialog__header" }, index.h("span", { part: "title", class: "dialog__title", id: `${this.componentId}-title` }, index.h("slot", { name: "label" }, this.label || String.fromCharCode(65279))), index.h("six-icon-button", { exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), index.h("div", { part: "body", class: "dialog__body" }, index.h("slot", null)), index.h("footer", { part: "footer", class: "dialog__footer" }, index.h("slot", { name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
155
|
+
}
|
|
156
|
+
get host() { return index.getElement(this); }
|
|
157
|
+
static get watchers() { return {
|
|
158
|
+
"open": ["handleOpenChange"]
|
|
159
|
+
}; }
|
|
160
|
+
};
|
|
161
|
+
SixDialog.style = sixDialogCss;
|
|
162
|
+
|
|
163
|
+
exports.six_dialog = SixDialog;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const scroll = require('./scroll-76e6f5d7.js');
|
|
7
|
+
const slot = require('./slot-ad537f24.js');
|
|
8
|
+
const modal = require('./modal-48d42228.js');
|
|
9
|
+
|
|
10
|
+
const sixDrawerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{--size:25rem;display:contents}.drawer{top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.drawer:not(.drawer--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.drawer--contained{position:absolute;z-index:initial}.drawer--fixed{position:fixed;z-index:var(--six-z-index-drawer)}.drawer__panel{position:absolute;display:flex;flex-direction:column;z-index:2;max-width:100%;max-height:100%;background-color:var(--six-drawer-background-color);color:var(--six-drawer-color);box-shadow:var(--six-shadow-x-large);transition:var(--six-transition-medium) transform;overflow:auto;pointer-events:all}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:100%;height:var(--size);transform:translate(0, -100%)}.drawer--right .drawer__panel{top:0;right:0;bottom:auto;left:auto;width:var(--size);height:100%;transform:translate(100%, 0)}.drawer--bottom .drawer__panel{top:auto;right:auto;bottom:0;left:0;width:100%;height:var(--size);transform:translate(0, 100%)}.drawer--left .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:var(--size);height:100%;transform:translate(-100%, 0)}.drawer--open .drawer__panel{transform:none}.drawer__header{display:flex}.drawer__title{flex:1 1 auto;font-size:var(--six-font-size-large);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large)}.drawer__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-large)}.drawer__body{flex:1 1 auto;padding:var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.drawer__footer{text-align:right;padding:var(--six-spacing-large)}.drawer__footer ::slotted(six-button:not(:last-of-type)){margin-right:var(--six-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity;pointer-events:all}.drawer--contained .drawer__overlay{position:absolute}.drawer--open .drawer__overlay{opacity:0.4}";
|
|
11
|
+
|
|
12
|
+
const hasPreventScroll = modal.isPreventScrollSupported();
|
|
13
|
+
let id = 0;
|
|
14
|
+
let SixDrawer = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
index.registerInstance(this, hostRef);
|
|
17
|
+
this.sixShow = index.createEvent(this, "six-drawer-show", 7);
|
|
18
|
+
this.sixAfterShow = index.createEvent(this, "six-drawer-after-show", 7);
|
|
19
|
+
this.sixHide = index.createEvent(this, "six-drawer-hide", 7);
|
|
20
|
+
this.sixAfterHide = index.createEvent(this, "six-drawer-after-hide", 7);
|
|
21
|
+
this.sixInitialFocus = index.createEvent(this, "six-drawer-initial-focus", 7);
|
|
22
|
+
this.sixOverlayDismiss = index.createEvent(this, "six-drawer-overlay-dismiss", 7);
|
|
23
|
+
this.componentId = `drawer-${++id}`;
|
|
24
|
+
this.willShow = false;
|
|
25
|
+
this.willHide = false;
|
|
26
|
+
this.hasFooter = false;
|
|
27
|
+
this.isVisible = false;
|
|
28
|
+
/** Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods. */
|
|
29
|
+
this.open = false;
|
|
30
|
+
/**
|
|
31
|
+
* The drawer's label as displayed in the header. You should always include a relevant label even when using
|
|
32
|
+
* `no-header`, as it is required for proper accessibility.
|
|
33
|
+
*/
|
|
34
|
+
this.label = '';
|
|
35
|
+
/** The direction from which the drawer will open. */
|
|
36
|
+
this.placement = 'right';
|
|
37
|
+
/**
|
|
38
|
+
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of
|
|
39
|
+
* its parent element, set this prop and add `position: relative` to the parent.
|
|
40
|
+
*/
|
|
41
|
+
this.contained = false;
|
|
42
|
+
/**
|
|
43
|
+
* Removes the header. This will also remove the default close button, so please ensure you provide an easy,
|
|
44
|
+
* accessible way for users to dismiss the drawer.
|
|
45
|
+
*/
|
|
46
|
+
this.noHeader = false;
|
|
47
|
+
}
|
|
48
|
+
handleOpenChange() {
|
|
49
|
+
this.open ? this.show() : this.hide();
|
|
50
|
+
}
|
|
51
|
+
connectedCallback() {
|
|
52
|
+
this.handleCloseClick = this.handleCloseClick.bind(this);
|
|
53
|
+
this.handleTransitionEnd = this.handleTransitionEnd.bind(this);
|
|
54
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
55
|
+
this.handleOverlayClick = this.handleOverlayClick.bind(this);
|
|
56
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
57
|
+
this.modal = new modal.Modal(this.host, {
|
|
58
|
+
onFocusOut: () => (this.contained ? null : this.panel.focus()),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
componentWillLoad() {
|
|
62
|
+
this.handleSlotChange();
|
|
63
|
+
// Show on init if open
|
|
64
|
+
if (this.open) {
|
|
65
|
+
this.show();
|
|
66
|
+
// if the sidebar is open by default we need to manually reset the
|
|
67
|
+
// transition variables since there will be no transition event
|
|
68
|
+
this.resetTransitionVariables();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
disconnectedCallback() {
|
|
72
|
+
scroll.unlockBodyScrolling(this.host);
|
|
73
|
+
}
|
|
74
|
+
/** Shows the drawer */
|
|
75
|
+
async show() {
|
|
76
|
+
if (this.willShow) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const sixShow = this.sixShow.emit();
|
|
80
|
+
if (sixShow.defaultPrevented) {
|
|
81
|
+
this.open = false;
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
this.willShow = true;
|
|
85
|
+
this.isVisible = true;
|
|
86
|
+
this.open = true;
|
|
87
|
+
// Lock body scrolling only if the drawer isn't contained
|
|
88
|
+
if (!this.contained) {
|
|
89
|
+
this.modal.activate();
|
|
90
|
+
scroll.lockBodyScrolling(this.host);
|
|
91
|
+
}
|
|
92
|
+
if (this.open) {
|
|
93
|
+
if (hasPreventScroll) {
|
|
94
|
+
// Wait for the next frame before setting initial focus so the dialog is technically visible
|
|
95
|
+
requestAnimationFrame(() => {
|
|
96
|
+
const sixInitialFocus = this.sixInitialFocus.emit();
|
|
97
|
+
if (!sixInitialFocus.defaultPrevented) {
|
|
98
|
+
this.panel.focus({ preventScroll: true });
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
// Once Safari supports { preventScroll: true } we can remove this nasty little hack, but until then we need to
|
|
104
|
+
// wait for the transition to complete before setting focus, otherwise the panel may render in a buggy way its
|
|
105
|
+
// out of view initially.
|
|
106
|
+
//
|
|
107
|
+
// Fiddle: https://jsfiddle.net/g6buoafq/1/
|
|
108
|
+
// Safari: https://bugs.webkit.org/show_bug.cgi?id=178583
|
|
109
|
+
//
|
|
110
|
+
this.drawer.addEventListener('transitionend', () => {
|
|
111
|
+
const sixInitialFocus = this.sixInitialFocus.emit();
|
|
112
|
+
if (!sixInitialFocus.defaultPrevented) {
|
|
113
|
+
this.panel.focus();
|
|
114
|
+
}
|
|
115
|
+
}, { once: true });
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
/** Hides the drawer */
|
|
120
|
+
async hide() {
|
|
121
|
+
if (this.willHide) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const sixHide = this.sixHide.emit();
|
|
125
|
+
if (sixHide.defaultPrevented) {
|
|
126
|
+
this.open = true;
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
this.willHide = true;
|
|
130
|
+
this.open = false;
|
|
131
|
+
this.modal.deactivate();
|
|
132
|
+
scroll.unlockBodyScrolling(this.host);
|
|
133
|
+
}
|
|
134
|
+
handleCloseClick() {
|
|
135
|
+
this.hide();
|
|
136
|
+
}
|
|
137
|
+
handleKeyDown(event) {
|
|
138
|
+
if (event.key === 'Escape') {
|
|
139
|
+
this.hide();
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
handleOverlayClick() {
|
|
143
|
+
const sixOverlayDismiss = this.sixOverlayDismiss.emit();
|
|
144
|
+
if (!sixOverlayDismiss.defaultPrevented) {
|
|
145
|
+
this.hide();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
handleSlotChange() {
|
|
149
|
+
this.hasFooter = slot.hasSlot(this.host, 'footer');
|
|
150
|
+
}
|
|
151
|
+
handleTransitionEnd(event) {
|
|
152
|
+
const target = event.target;
|
|
153
|
+
// Ensure we only emit one event when the target element is no longer visible
|
|
154
|
+
if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {
|
|
155
|
+
this.resetTransitionVariables();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
resetTransitionVariables() {
|
|
159
|
+
this.isVisible = this.open;
|
|
160
|
+
this.willShow = false;
|
|
161
|
+
this.willHide = false;
|
|
162
|
+
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
163
|
+
}
|
|
164
|
+
render() {
|
|
165
|
+
return (index.h("div", { ref: (el) => (this.drawer = el), part: "base", class: {
|
|
166
|
+
drawer: true,
|
|
167
|
+
'drawer--open': this.open,
|
|
168
|
+
'drawer--visible': this.isVisible,
|
|
169
|
+
'drawer--top': this.placement === 'top',
|
|
170
|
+
'drawer--right': this.placement === 'right',
|
|
171
|
+
'drawer--bottom': this.placement === 'bottom',
|
|
172
|
+
'drawer--left': this.placement === 'left',
|
|
173
|
+
'drawer--contained': this.contained,
|
|
174
|
+
'drawer--fixed': !this.contained,
|
|
175
|
+
'drawer--has-footer': this.hasFooter,
|
|
176
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, index.h("div", { part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), index.h("div", { 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 && (index.h("header", { part: "header", class: "drawer__header" }, index.h("span", { part: "title", class: "drawer__title", id: `${this.componentId}-title` }, index.h("slot", { name: "label" }, this.label || String.fromCharCode(65279))), index.h("six-icon-button", { exportparts: "base:close-button", class: "drawer__close", name: "x", onClick: this.handleCloseClick }))), index.h("div", { part: "body", class: "drawer__body" }, index.h("slot", null)), index.h("footer", { part: "footer", class: "drawer__footer" }, index.h("slot", { name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
177
|
+
}
|
|
178
|
+
get host() { return index.getElement(this); }
|
|
179
|
+
static get watchers() { return {
|
|
180
|
+
"open": ["handleOpenChange"]
|
|
181
|
+
}; }
|
|
182
|
+
};
|
|
183
|
+
SixDrawer.style = sixDrawerCss;
|
|
184
|
+
|
|
185
|
+
exports.six_drawer = SixDrawer;
|