@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,62 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Returns an element's offset relative to its parent. Similar to element.offsetTop and element.offsetLeft, except the
|
|
3
|
+
// parent doesn't have to be positioned relative or absolute.
|
|
4
|
+
//
|
|
5
|
+
// NOTE: This was created to work around what appears to be a bug in Chrome where a slotted element's offsetParent
|
|
6
|
+
// seems to ignore elements inside the surrounding shadow DOM: https://bugs.chromium.org/p/chromium/issues/detail?id=920069
|
|
7
|
+
//
|
|
8
|
+
function getOffset(element, parent) {
|
|
9
|
+
return {
|
|
10
|
+
top: Math.round(element.getBoundingClientRect().top - parent.getBoundingClientRect().top),
|
|
11
|
+
left: Math.round(element.getBoundingClientRect().left - parent.getBoundingClientRect().left),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const locks = new Set();
|
|
16
|
+
//
|
|
17
|
+
// Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible
|
|
18
|
+
// without premature unlocking.
|
|
19
|
+
//
|
|
20
|
+
function lockBodyScrolling(lockingEl) {
|
|
21
|
+
locks.add(lockingEl);
|
|
22
|
+
document.body.classList.add('six-scroll-lock');
|
|
23
|
+
}
|
|
24
|
+
//
|
|
25
|
+
// Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method.
|
|
26
|
+
//
|
|
27
|
+
function unlockBodyScrolling(lockingEl) {
|
|
28
|
+
locks.delete(lockingEl);
|
|
29
|
+
if (locks.size === 0) {
|
|
30
|
+
document.body.classList.remove('six-scroll-lock');
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//
|
|
34
|
+
// Scrolls an element into view of its container. If the element is already in view, nothing will happen.
|
|
35
|
+
//
|
|
36
|
+
function scrollIntoView(element, container, direction = 'vertical', behavior = 'smooth') {
|
|
37
|
+
const offset = getOffset(element, container);
|
|
38
|
+
const offsetTop = offset.top + container.scrollTop;
|
|
39
|
+
const offsetLeft = offset.left + container.scrollLeft;
|
|
40
|
+
const minX = container.scrollLeft;
|
|
41
|
+
const maxX = container.scrollLeft + container.offsetWidth;
|
|
42
|
+
const minY = container.scrollTop;
|
|
43
|
+
const maxY = container.scrollTop + container.offsetHeight;
|
|
44
|
+
if (direction === 'horizontal' || direction === 'both') {
|
|
45
|
+
if (offsetLeft < minX) {
|
|
46
|
+
container.scrollTo({ left: offsetLeft, behavior });
|
|
47
|
+
}
|
|
48
|
+
else if (offsetLeft + element.clientWidth > maxX) {
|
|
49
|
+
container.scrollTo({ left: offsetLeft - container.offsetWidth + element.clientWidth, behavior });
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
if (direction === 'vertical' || direction === 'both') {
|
|
53
|
+
if (offsetTop < minY) {
|
|
54
|
+
container.scrollTo({ top: offsetTop, behavior });
|
|
55
|
+
}
|
|
56
|
+
else if (offsetTop + element.clientHeight > maxY) {
|
|
57
|
+
container.scrollTo({ top: offsetTop - container.offsetHeight + element.clientHeight, behavior });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { getOffset as g, lockBodyScrolling as l, scrollIntoView as s, unlockBodyScrolling as u };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-a2605a62.js';
|
|
2
|
+
|
|
3
|
+
let SetAttributes = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
/** Attributes map */
|
|
7
|
+
this.value = {};
|
|
8
|
+
}
|
|
9
|
+
componentWillLoad() {
|
|
10
|
+
this.injectAttrs();
|
|
11
|
+
}
|
|
12
|
+
attrsUpdated() {
|
|
13
|
+
this.injectAttrs();
|
|
14
|
+
}
|
|
15
|
+
injectAttrs() {
|
|
16
|
+
const slot = this.host.firstElementChild;
|
|
17
|
+
if (typeof (slot === null || slot === void 0 ? void 0 : slot.assignedElements) !== 'function') {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const child = slot.assignedElements().pop();
|
|
21
|
+
if (!child) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const types = {
|
|
25
|
+
// no need for function and bigint
|
|
26
|
+
undefined: (key) => child.removeAttribute(key),
|
|
27
|
+
boolean: (key, value) => {
|
|
28
|
+
if (value) {
|
|
29
|
+
child.setAttribute(key, '');
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
child.removeAttribute(key);
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
number: (key, value) => child.setAttribute(key, value),
|
|
36
|
+
string: (key, value) => child.setAttribute(key, value),
|
|
37
|
+
object: (key, value) => child.setAttribute(key, JSON.stringify(value)),
|
|
38
|
+
};
|
|
39
|
+
for (const [key, value] of Object.entries(this.value)) {
|
|
40
|
+
types[typeof value](key, value);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return h("slot", null);
|
|
45
|
+
}
|
|
46
|
+
get host() { return getElement(this); }
|
|
47
|
+
static get watchers() { return {
|
|
48
|
+
"value": ["attrsUpdated"]
|
|
49
|
+
}; }
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const sixStageIndicatorCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:grid}.center-content{display:grid;align-self:center;justify-self:center;grid-gap:5px;grid-auto-flow:column}.align-item{margin:auto}.indicator,.indicator--acceptance,.indicator--etu,.indicator--dev,.indicator--itu{font-family:var(--six-font-family);font-size:14px;font-weight:var(--six-font-weight-bold);display:grid;align-content:center;width:100%;height:24px}.indicator--itu{background-color:var(--six-color-success-600);color:var(--six-color-web-rock-900)}.indicator--dev{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.indicator--etu{background-color:var(--six-color-action-600);color:var(--six-color-white)}.indicator--acceptance{background-color:var(--six-color-warning-800);color:var(--six-color-web-rock-900)}";
|
|
53
|
+
|
|
54
|
+
let SixStageIndicator = class {
|
|
55
|
+
constructor(hostRef) {
|
|
56
|
+
registerInstance(this, hostRef);
|
|
57
|
+
/** The indicators value attribute */
|
|
58
|
+
this.stage = null;
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return this.stage == null || this.stage == 'PROD' ? null : (h("div", { class: `indicator--${this.stage.toLowerCase()}` }, h("div", { class: "center-content" }, h("six-icon", { class: "align-item", size: "small" }, "error_outline"), h("span", { class: 'align-item' }, h("slot", null)))));
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
SixStageIndicator.style = sixStageIndicatorCss;
|
|
65
|
+
|
|
66
|
+
export { SetAttributes as set_attributes, SixStageIndicator as six_stage_indicator };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2605a62.js';
|
|
2
|
+
|
|
3
|
+
const sixAlertCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:contents;margin:0}.alert{position:relative;display:flex;align-items:stretch;background-color:var(--six-color-white);border:solid 1px var(--six-color-web-rock-200);border-top-width:3px;border-radius:var(--six-border-radius-medium);box-shadow:var(--box-shadow);font-family:var(--six-font-sans);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-normal);line-height:1.6;color:var(--six-color-web-rock-700);opacity:0;transform:scale(0.9);transition:var(--six-transition-medium) opacity ease, var(--six-transition-medium) transform ease;margin:inherit}.alert:not(.alert--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.alert--open{opacity:1;transform:none}.alert__icon{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-large)}.alert__icon ::slotted(*){margin-left:var(--six-spacing-large)}.alert--primary{border-top-color:var(--six-color-web-rock-900)}.alert--primary .alert__icon{color:var(--six-color-web-rock-900)}.alert--success{border-top-color:var(--six-color-success-600)}.alert--success .alert__icon{color:var(--six-color-success-600)}.alert--info{border-top-color:var(--six-color-action-500)}.alert--info .alert__icon{color:var(--six-color-action-500)}.alert--warning{border-top-color:var(--six-color-warning-800)}.alert--warning .alert__icon{color:var(--six-color-warning-800)}.alert--danger{border-top-color:var(--six-color-danger-900)}.alert--danger .alert__icon{color:var(--six-color-danger-900)}.alert__message{flex:1 1 auto;padding:var(--six-spacing-large);overflow:hidden}.alert__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-large);padding-right:var(--six-spacing-medium)}";
|
|
4
|
+
|
|
5
|
+
const toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });
|
|
6
|
+
let SixAlert = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.sixShow = createEvent(this, "six-alert-show", 7);
|
|
10
|
+
this.sixAfterShow = createEvent(this, "six-alert-after-show", 7);
|
|
11
|
+
this.sixHide = createEvent(this, "six-alert-hide", 7);
|
|
12
|
+
this.sixAfterHide = createEvent(this, "six-alert-after-hide", 7);
|
|
13
|
+
this.isVisible = false;
|
|
14
|
+
/** Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */
|
|
15
|
+
this.open = false;
|
|
16
|
+
/** Set to true to make the alert closable. */
|
|
17
|
+
this.closable = false;
|
|
18
|
+
/** The type of alert. */
|
|
19
|
+
this.type = 'primary';
|
|
20
|
+
/**
|
|
21
|
+
* The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the
|
|
22
|
+
* alert before it closes (e.g. moves the mouse over it), the timer will restart.
|
|
23
|
+
*/
|
|
24
|
+
this.duration = Infinity;
|
|
25
|
+
}
|
|
26
|
+
handleOpenChange() {
|
|
27
|
+
this.open ? this.show() : this.hide();
|
|
28
|
+
}
|
|
29
|
+
handleDurationChange() {
|
|
30
|
+
this.restartAutoHide();
|
|
31
|
+
}
|
|
32
|
+
connectedCallback() {
|
|
33
|
+
this.handleCloseClick = this.handleCloseClick.bind(this);
|
|
34
|
+
this.handleMouseMove = this.handleMouseMove.bind(this);
|
|
35
|
+
this.handleTransitionEnd = this.handleTransitionEnd.bind(this);
|
|
36
|
+
}
|
|
37
|
+
componentWillLoad() {
|
|
38
|
+
// Show on init if open
|
|
39
|
+
if (this.open) {
|
|
40
|
+
this.show();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Shows the alert. */
|
|
44
|
+
async show() {
|
|
45
|
+
// Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher
|
|
46
|
+
if (this.isVisible) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const sixShow = this.sixShow.emit();
|
|
50
|
+
if (sixShow.defaultPrevented) {
|
|
51
|
+
this.open = false;
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
this.isVisible = true;
|
|
55
|
+
this.open = true;
|
|
56
|
+
if (this.duration < Infinity) {
|
|
57
|
+
this.autoHideTimeout = setTimeout(() => this.hide(), this.duration);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/** Hides the alert */
|
|
61
|
+
async hide() {
|
|
62
|
+
// Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher
|
|
63
|
+
if (!this.isVisible) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const sixHide = this.sixHide.emit();
|
|
67
|
+
if (sixHide.defaultPrevented) {
|
|
68
|
+
this.open = true;
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
clearTimeout(this.autoHideTimeout);
|
|
72
|
+
this.isVisible = false;
|
|
73
|
+
this.open = false;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
|
|
77
|
+
* dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
|
|
78
|
+
* calling this method again. The returned promise will resolve after the alert is hidden.
|
|
79
|
+
*/
|
|
80
|
+
async toast() {
|
|
81
|
+
return new Promise((resolve) => {
|
|
82
|
+
if (!toastStack.parentElement) {
|
|
83
|
+
document.body.append(toastStack);
|
|
84
|
+
}
|
|
85
|
+
toastStack.append(this.host);
|
|
86
|
+
requestAnimationFrame(() => this.show());
|
|
87
|
+
this.host.addEventListener('six-alert-after-hide', () => {
|
|
88
|
+
this.host.remove();
|
|
89
|
+
resolve();
|
|
90
|
+
// Remove the toast stack from the DOM when there are no more alerts
|
|
91
|
+
if (toastStack.querySelector('six-alert') === null) {
|
|
92
|
+
toastStack.remove();
|
|
93
|
+
}
|
|
94
|
+
}, { once: true });
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
handleCloseClick() {
|
|
98
|
+
this.hide();
|
|
99
|
+
}
|
|
100
|
+
handleMouseMove() {
|
|
101
|
+
this.restartAutoHide();
|
|
102
|
+
}
|
|
103
|
+
handleTransitionEnd(event) {
|
|
104
|
+
const target = event.target;
|
|
105
|
+
// Ensure we only emit one event when the target element is no longer visible
|
|
106
|
+
if (event.propertyName === 'opacity' && target.classList.contains('alert')) {
|
|
107
|
+
this.isVisible = this.open;
|
|
108
|
+
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
restartAutoHide() {
|
|
112
|
+
clearTimeout(this.autoHideTimeout);
|
|
113
|
+
if (this.open && this.duration < Infinity) {
|
|
114
|
+
this.autoHideTimeout = setTimeout(() => this.hide(), this.duration);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
return (h("div", { ref: (el) => (this.alert = el), part: "base", class: {
|
|
119
|
+
alert: true,
|
|
120
|
+
'alert--open': this.open,
|
|
121
|
+
'alert--visible': this.isVisible,
|
|
122
|
+
'alert--closable': this.closable,
|
|
123
|
+
'alert--primary': this.type === 'primary',
|
|
124
|
+
'alert--success': this.type === 'success',
|
|
125
|
+
'alert--info': this.type === 'info',
|
|
126
|
+
'alert--warning': this.type === 'warning',
|
|
127
|
+
'alert--danger': this.type === 'danger',
|
|
128
|
+
}, role: "alert", "aria-live": "assertive", "aria-atomic": "true", "aria-hidden": this.open ? 'false' : 'true', onMouseMove: this.handleMouseMove, onTransitionEnd: this.handleTransitionEnd }, h("span", { part: "icon", class: "alert__icon" }, h("slot", { name: "icon" })), h("span", { part: "message", class: "alert__message" }, h("slot", null)), this.closable && (h("span", { class: "alert__close" }, h("six-icon-button", { name: "clear", exportparts: "base:close-button", onClick: this.handleCloseClick })))));
|
|
129
|
+
}
|
|
130
|
+
get host() { return getElement(this); }
|
|
131
|
+
static get watchers() { return {
|
|
132
|
+
"open": ["handleOpenChange"],
|
|
133
|
+
"duration": ["handleDurationChange"]
|
|
134
|
+
}; }
|
|
135
|
+
};
|
|
136
|
+
SixAlert.style = sixAlertCss;
|
|
137
|
+
|
|
138
|
+
export { SixAlert as six_alert };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-a2605a62.js';
|
|
2
|
+
|
|
3
|
+
const sixAvatarCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block;--size:2rem}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:var(--size);height:var(--size);background-color:var(--six-avatar-background-color);font-family:var(--six-font-sans);font-size:calc(var(--size) * 0.5);font-weight:var(--six-font-weight-normal);color:var(--six-avatar-color);overflow:hidden;user-select:none;vertical-align:middle;cursor:pointer;outline:none}.avatar:hover{box-shadow:var(--six-elevation-4dp)}.avatar--circle{border-radius:var(--six-border-radius-circle)}.avatar--rounded{border-radius:var(--six-border-radius-medium)}.avatar--square{border-radius:0}.avatar__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%}.avatar__initials{line-height:1;text-transform:uppercase}.avatar__image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}";
|
|
4
|
+
|
|
5
|
+
let SixAvatar = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.hasError = false;
|
|
9
|
+
/** The image source to use for the avatar. */
|
|
10
|
+
this.image = '';
|
|
11
|
+
/** Alternative text for the image. */
|
|
12
|
+
this.alt = '';
|
|
13
|
+
/** Initials to use as a fallback when no image is available (1-2 characters max recommended). */
|
|
14
|
+
this.initials = '';
|
|
15
|
+
/** The shape of the avatar. */
|
|
16
|
+
this.shape = 'circle';
|
|
17
|
+
}
|
|
18
|
+
connectedCallback() {
|
|
19
|
+
this.handleImageError = this.handleImageError.bind(this);
|
|
20
|
+
}
|
|
21
|
+
handleImageError() {
|
|
22
|
+
this.hasError = true;
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return (h("div", { part: "base", class: {
|
|
26
|
+
avatar: true,
|
|
27
|
+
'avatar--circle': this.shape === 'circle',
|
|
28
|
+
'avatar--rounded': this.shape === 'rounded',
|
|
29
|
+
'avatar--square': this.shape === 'square',
|
|
30
|
+
}, role: "image", "aria-label": this.alt, tabIndex: 0 }, !this.initials && (h("div", { part: "icon", class: "avatar__icon" }, h("slot", { name: "icon" }, h("six-icon", null, "person")))), this.initials && (h("div", { part: "initials", class: "avatar__initials" }, this.initials)), this.image && !this.hasError && (h("img", { part: "image", class: "avatar__image", src: this.image, onError: this.handleImageError }))));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
SixAvatar.style = sixAvatarCss;
|
|
34
|
+
|
|
35
|
+
export { SixAvatar as six_avatar };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-a2605a62.js';
|
|
2
|
+
|
|
3
|
+
const sixBadgeCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-flex}.badge{display:inline-flex;align-items:center;justify-content:center;font-family:var(--six-font-family);font-size:var(--six-font-size-x-small);font-weight:var(--six-font-weight-semibold);letter-spacing:var(--six-letter-spacing-normal);line-height:1;border-radius:var(--six-border-radius-small);white-space:nowrap;padding:3px 6px;user-select:none;cursor:inherit}.badge--info{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.badge--success{background-color:var(--six-color-success-500);color:var(--six-color-web-rock-900)}.badge--warning{background-color:var(--six-color-warning-700);color:var(--six-color-web-rock-900)}.badge--danger{background-color:var(--six-color-danger-800);color:var(--six-color-white)}.badge--action{background-color:var(--six-color-action-500);color:var(--six-color-white)}.badge--primary{background-color:var(--six-color-clay-50);color:var(--six-color-black)}.badge--pill{border-radius:var(--six-border-radius-pill)}.badge--pulse{animation:pulse 1.5s infinite}.badge--pulse.badge--info{--pulse-color:var(--six-color-web-rock-900)}.badge--pulse.badge--success{--pulse-color:var(--six-color-success-500)}.badge--pulse.badge--warning{--pulse-color:var(--six-color-warning-700)}.badge--pulse.badge--danger{--pulse-color:var(--six-color-danger-800)}.badge--pulse.badge--action{--pulse-color:var(--six-color-action-500)}.badge--pulse.badge--primary{--pulse-color:var(--six-color-clay-50)}@keyframes pulse{0%{box-shadow:0 0 0 0 var(--pulse-color)}70%{box-shadow:0 0 0 0.5rem transparent}100%{box-shadow:0 0 0 0 transparent}}";
|
|
4
|
+
|
|
5
|
+
let SixBadge = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** The badge's type. */
|
|
9
|
+
this.type = 'primary';
|
|
10
|
+
/** Set to true to draw a pill-style badge with rounded edges. */
|
|
11
|
+
this.pill = false;
|
|
12
|
+
/** Set to true to make the badge pulsate to draw attention. */
|
|
13
|
+
this.pulse = false;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h("span", { ref: (el) => (this.badge = el), part: "base", class: {
|
|
17
|
+
badge: true,
|
|
18
|
+
// Types
|
|
19
|
+
'badge--primary': this.type === 'primary',
|
|
20
|
+
'badge--secondary': this.type === 'secondary',
|
|
21
|
+
'badge--success': this.type === 'success',
|
|
22
|
+
'badge--warning': this.type === 'warning',
|
|
23
|
+
'badge--danger': this.type === 'danger',
|
|
24
|
+
'badge--action': this.type === 'action',
|
|
25
|
+
'badge--info': this.type === 'info',
|
|
26
|
+
'badge--pill': this.pill,
|
|
27
|
+
'badge--pulse': this.pulse,
|
|
28
|
+
}, role: "status" }, h("slot", null)));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
SixBadge.style = sixBadgeCss;
|
|
32
|
+
|
|
33
|
+
export { SixBadge as six_badge };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2605a62.js';
|
|
2
|
+
import { h as hasSlot } from './slot-6f3984c7.js';
|
|
3
|
+
|
|
4
|
+
const sixButtonCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block;width:auto;cursor:pointer}.button{display:inline-flex;align-items:stretch;justify-content:center;width:100%;border-style:solid;border-width:var(--six-border-width);border-radius:0;font-family:var(--six-font-family);font-weight:var(--six-font-weight-semibold);text-decoration:none;user-select:none;white-space:nowrap;vertical-align:middle;padding:0;transition:var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) border, var(--six-transition-fast) box-shadow;cursor:inherit}.button::-moz-focus-inner{border:0}.button:focus{outline:none}.button.button--disabled{pointer-events:none}.button ::slotted(six-icon){pointer-events:none}.button-wrapper--disabled{cursor:not-allowed}.button__prefix,.button__suffix{flex:0 0 auto;display:flex;align-items:center}.button.button--secondary{background-color:var(--six-color-white);border-color:var(--six-color-web-rock-900);color:var(--six-color-web-rock-900)}.button.button--secondary.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--secondary:hover:not(.button--disabled){background-color:var(--six-color-web-rock-100)}.button.button--secondary:focus:not(.button--disabled){background-color:var(--six-color-web-rock-100);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--secondary:active:not(.button--disabled){background-color:var(--six-color-web-rock-300);border-color:var(--six-color-web-rock-900);border-width:var(--six-focus-ring-width)}.button.button--primary{background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.button.button--primary.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--primary:hover:not(.button--disabled){background-color:var(--six-color-web-rock-800);border-color:var(--six-color-web-rock-800)}.button.button--primary:focus:not(.button--disabled){background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--primary:active:not(.button--disabled){background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-900);opacity:70%}.button.button--link{background-color:transparent;border-color:transparent;color:var(--six-color-action-500)}.button.button--link.button--disabled{color:var(--six-color-web-rock-400)}.button.button--link:hover:not(.button--disabled){color:var(--six-color-action-600)}.button.button--link:focus:not(.button--disabled){border-color:var(--six-color-web-rock-400)}.button.button--link:active:not(.button--disabled){color:var(--six-color-action-light-to-be-defined)}.button.button--danger{background-color:var(--six-color-danger-800);border-color:var(--six-color-danger-800);color:var(--six-color-white)}.button.button--danger.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--danger:hover:not(.button--disabled){background-color:var(--six-color-danger-900);border-color:var(--six-color-danger-900)}.button.button--danger:focus:not(.button--disabled){background-color:var(--six-color-danger-800);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--danger:active:not(.button--disabled){background-color:var(--six-color-danger-800);border-color:var(--six-color-danger-800);opacity:70%}.button.button--warning{background-color:var(--six-color-warning-700);border-color:var(--six-color-warning-700);color:var(--six-color-web-rock-900)}.button.button--warning.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--warning:hover:not(.button--disabled){background-color:var(--six-color-warning-800);border-color:var(--six-color-warning-800)}.button.button--warning:focus:not(.button--disabled){background-color:var(--six-color-warning-700);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--warning:active:not(.button--disabled){background-color:var(--six-color-warning-700);border-color:var(--six-color-warning-700);opacity:70%}.button.button--success{background-color:var(--six-color-success-500);border-color:var(--six-color-success-500);color:var(--six-color-web-rock-900)}.button.button--success.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--success:hover:not(.button--disabled){background-color:var(--six-color-success-600);border-color:var(--six-color-success-600)}.button.button--success:focus:not(.button--disabled){background-color:var(--six-color-success-500);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--success:active:not(.button--disabled){background-color:var(--six-color-success-500);border-color:var(--six-color-success-500);opacity:70%}.button.button--action{background-color:var(--six-color-action-500);border-color:var(--six-color-action-500);color:var(--six-color-white)}.button.button--action.button--disabled{background-color:var(--six-color-web-rock-400);border-color:var(--six-color-web-rock-400);color:var(--six-color-web-rock-700)}.button.button--action:hover:not(.button--disabled){background-color:var(--six-color-action-600);border-color:var(--six-color-action-600)}.button.button--action:focus:not(.button--disabled){background-color:var(--six-color-action-500);border-color:var(--six-color-web-rock-400);box-shadow:var(--six-button-focus-shadow)}.button.button--action:active:not(.button--disabled){background-color:var(--six-color-action-500);border-color:var(--six-color-action-500);opacity:70%}.button--small{font-size:var(--six-button-font-size-small);height:var(--six-height-small);line-height:calc(var(--six-height-small) - var(--six-border-width) * 2)}.button--medium{font-size:var(--six-button-font-size-medium);height:var(--six-height-medium);line-height:calc(var(--six-height-medium) - var(--six-border-width) * 2)}.button--large{font-size:var(--six-button-font-size-large);height:var(--six-height-large);line-height:calc(var(--six-height-large) - var(--six-border-width) * 2)}.button--pill.button--small{border-radius:var(--six-height-small)}.button--pill.button--medium{border-radius:var(--six-height-medium)}.button--pill.button--large{border-radius:var(--six-height-large)}.button--circle{padding-left:0;padding-right:0;font-size:revert}.button--circle.button--small{width:var(--six-height-small);border-radius:50%}.button--circle.button--medium{width:var(--six-height-medium);border-radius:50%}.button--circle.button--large{width:var(--six-height-large);border-radius:50%}.button--circle .button__prefix,.button--circle .button__suffix,.button--circle .button__caret{display:none}.button--circle .button__prefix svg,.button--circle .button__suffix svg,.button--circle .button__caret svg{color:var(--six-color-web-rock-900)}.button--caret .button__suffix{display:none}.button--caret .button__caret{display:flex;align-items:center}.button--caret .button__caret svg{color:var(--six-color-web-rock-900);width:1em;height:1em}.button--primary .button__caret svg,.button--action .button__caret svg,.button--danger .button__caret svg{color:var(--six-color-white)}.button--loading{position:relative;cursor:wait}.button--loading .button__prefix,.button--loading .button__label,.button--loading .button__suffix,.button--loading .button__caret{visibility:hidden}.button--loading six-spinner{--indicator-color:currentColor;position:absolute;height:1em;width:1em;top:calc(50% - 0.5em);left:calc(50% - 0.5em)}.button ::slotted(six-badge){position:absolute;top:0;right:0;transform:translateY(-50%) translateX(50%);pointer-events:none}.button--has-label.button--small .button__label{padding:0 var(--six-spacing-small)}.button--has-label.button--medium .button__label{padding:0 var(--six-spacing-medium)}.button--has-label.button--large .button__label{padding:0 var(--six-spacing-large)}.button--has-prefix.button--small{padding-left:var(--six-spacing-x-small)}.button--has-prefix.button--small .button__label{padding-left:var(--six-spacing-x-small)}.button--has-prefix.button--medium{padding-left:var(--six-spacing-small)}.button--has-prefix.button--medium .button__label{padding-left:var(--six-spacing-small)}.button--has-prefix.button--large{padding-left:var(--six-spacing-small)}.button--has-prefix.button--large .button__label{padding-left:var(--six-spacing-small)}.button--has-suffix.button--small,.button--caret.button--small{padding-right:var(--six-spacing-x-small)}.button--has-suffix.button--small .button__label,.button--caret.button--small .button__label{padding-right:var(--six-spacing-x-small)}.button--has-suffix.button--medium,.button--caret.button--medium{padding-right:var(--six-spacing-small)}.button--has-suffix.button--medium .button__label,.button--caret.button--medium .button__label{padding-right:var(--six-spacing-small)}.button--has-suffix.button--large,.button--caret.button--large{padding-right:var(--six-spacing-small)}.button--has-suffix.button--large .button__label,.button--caret.button--large .button__label{padding-right:var(--six-spacing-small)}";
|
|
5
|
+
|
|
6
|
+
let SixButton = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.sixBlur = createEvent(this, "six-button-blur", 7);
|
|
10
|
+
this.sixFocus = createEvent(this, "six-button-focus", 7);
|
|
11
|
+
this.hasFocus = false;
|
|
12
|
+
this.hasLabel = false;
|
|
13
|
+
this.hasPrefix = false;
|
|
14
|
+
this.hasSuffix = false;
|
|
15
|
+
/** The button's type. */
|
|
16
|
+
this.type = 'primary';
|
|
17
|
+
/** The button's size. */
|
|
18
|
+
this.size = 'medium';
|
|
19
|
+
/** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */
|
|
20
|
+
this.caret = false;
|
|
21
|
+
/** Set to true to disable the button. */
|
|
22
|
+
this.disabled = false;
|
|
23
|
+
/** Set to true to draw the button in a loading state. */
|
|
24
|
+
this.loading = false;
|
|
25
|
+
/** Set to true to draw a pill-style button with rounded edges. */
|
|
26
|
+
this.pill = false;
|
|
27
|
+
/** Set to true to draw a circle button. */
|
|
28
|
+
this.circle = false;
|
|
29
|
+
/** Indicates if activating the button should submit the form. Ignored when `href` is set. */
|
|
30
|
+
this.submit = false;
|
|
31
|
+
/** Indicates if activating the button should reset the form. */
|
|
32
|
+
this.reset = false;
|
|
33
|
+
}
|
|
34
|
+
connectedCallback() {
|
|
35
|
+
this.handleBlur = this.handleBlur.bind(this);
|
|
36
|
+
this.handleFocus = this.handleFocus.bind(this);
|
|
37
|
+
this.handleClick = this.handleClick.bind(this);
|
|
38
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
39
|
+
}
|
|
40
|
+
componentWillLoad() {
|
|
41
|
+
this.handleSlotChange();
|
|
42
|
+
}
|
|
43
|
+
/** Sets focus on the button. */
|
|
44
|
+
async setFocus(options) {
|
|
45
|
+
this.button.focus(options);
|
|
46
|
+
}
|
|
47
|
+
/** Removes focus from the button. */
|
|
48
|
+
async removeFocus() {
|
|
49
|
+
this.button.blur();
|
|
50
|
+
}
|
|
51
|
+
handleSlotChange() {
|
|
52
|
+
this.hasLabel = hasSlot(this.host);
|
|
53
|
+
this.hasPrefix = hasSlot(this.host, 'prefix');
|
|
54
|
+
this.hasSuffix = hasSlot(this.host, 'suffix');
|
|
55
|
+
}
|
|
56
|
+
handleBlur() {
|
|
57
|
+
this.hasFocus = false;
|
|
58
|
+
this.sixBlur.emit();
|
|
59
|
+
}
|
|
60
|
+
handleFocus() {
|
|
61
|
+
this.hasFocus = true;
|
|
62
|
+
this.sixFocus.emit();
|
|
63
|
+
}
|
|
64
|
+
handleClick(event) {
|
|
65
|
+
if (this.disabled || this.loading) {
|
|
66
|
+
event.preventDefault();
|
|
67
|
+
event.stopPropagation();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
const isLink = !!this.href;
|
|
72
|
+
const isButton = !isLink;
|
|
73
|
+
const Button = isLink ? 'a' : 'button';
|
|
74
|
+
return (h("div", { onClick: this.handleClick, class: { 'button-wrapper--disabled': this.disabled } }, h(Button, { ref: (el) => (this.button = el), part: "base", class: {
|
|
75
|
+
button: true,
|
|
76
|
+
// Types
|
|
77
|
+
'button--secondary': this.type === 'secondary',
|
|
78
|
+
'button--primary': this.type === 'primary',
|
|
79
|
+
'button--link': this.type === 'link',
|
|
80
|
+
'button--success': this.type === 'success',
|
|
81
|
+
'button--warning': this.type === 'warning',
|
|
82
|
+
'button--danger': this.type === 'danger',
|
|
83
|
+
'button--action': this.type === 'action',
|
|
84
|
+
// Sizes
|
|
85
|
+
'button--small': this.size === 'small',
|
|
86
|
+
'button--medium': this.size === 'medium',
|
|
87
|
+
'button--large': this.size === 'large',
|
|
88
|
+
// Modifiers
|
|
89
|
+
'button--caret': this.caret,
|
|
90
|
+
'button--circle': this.circle,
|
|
91
|
+
'button--disabled': this.disabled,
|
|
92
|
+
'button--focused': this.hasFocus,
|
|
93
|
+
'button--loading': this.loading,
|
|
94
|
+
'button--pill': this.pill,
|
|
95
|
+
'button--has-label': this.hasLabel,
|
|
96
|
+
'button--has-prefix': this.hasPrefix,
|
|
97
|
+
'button--has-suffix': this.hasSuffix,
|
|
98
|
+
}, disabled: isButton ? this.disabled : null, type: isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : null, name: isButton ? this.name : null, value: isButton ? this.value : null, href: isLink && this.href, target: isLink && this.target ? this.target : null, download: isLink && this.download ? this.download : null, rel: isLink && this.target ? 'noreferrer noopener' : null, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, "data-testid": "button" }, h("span", { part: "prefix", class: "button__prefix" }, h("slot", { onSlotchange: this.handleSlotChange, name: "prefix" })), h("span", { part: "label", class: "button__label" }, h("slot", { onSlotchange: this.handleSlotChange })), h("span", { part: "suffix", class: "button__suffix" }, h("slot", { onSlotchange: this.handleSlotChange, name: "suffix" })), this.caret && (h("span", { part: "caret", class: "button__caret" }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { points: "6 9 12 15 18 9" })))), this.loading && h("six-spinner", null))));
|
|
99
|
+
}
|
|
100
|
+
get host() { return getElement(this); }
|
|
101
|
+
};
|
|
102
|
+
SixButton.style = sixButtonCss;
|
|
103
|
+
|
|
104
|
+
export { SixButton as six_button };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-a2605a62.js';
|
|
2
|
+
|
|
3
|
+
const sixCardCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block;box-shadow:var(--six-elevation-8dp);border-radius:0;padding:1rem;margin-bottom:0.6rem}";
|
|
4
|
+
|
|
5
|
+
let SixCard = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, null, h("slot", null)));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
SixCard.style = sixCardCss;
|
|
14
|
+
|
|
15
|
+
export { SixCard as six_card };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2605a62.js';
|
|
2
|
+
import { F as FormControl } from './form-control-24f446af.js';
|
|
3
|
+
import { h as hasSlot } from './slot-6f3984c7.js';
|
|
4
|
+
import { E as EventListeners } from './event-listeners-570a24ea.js';
|
|
5
|
+
|
|
6
|
+
const sixCheckboxCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:\"*\"}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;color:var(--six-color-danger-800);margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host{display:inline-block}.checkbox{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-input-font-size-medium);font-weight:var(--six-input-font-weight);color:var(--six-input-color);vertical-align:middle;cursor:pointer}.checkbox__control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size);border:solid var(--six-border-width) var(--six-input-border-color);border-radius:0;background-color:var(--six-input-background-color);color:var(--six-checkbox-color);transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) box-shadow}.checkbox__control input[type=checkbox]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}.checkbox__control .checkbox__icon{display:inline-flex;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size)}.checkbox__control .checkbox__icon svg{width:100%;height:100%}.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-hover)}.checkbox--checked .checkbox__control,.checkbox--indeterminate .checkbox__control{border-color:var(--six-selection-control-color);background-color:var(--six-selection-control-color)}.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-focus);background-color:var(--six-input-border-color-focus)}.checkbox--disabled{cursor:not-allowed;color:var(--six-input-color-disabled)}.checkbox--disabled .checkbox__control{border-color:var(--six-input-border-color-disabled)}.checkbox--disabled.checkbox--checked .checkbox__control,.checkbox--disabled.checkbox--indeterminate .checkbox__control{background-color:var(--six-selection-control-color-disabled)}.checkbox--invalid:not(.checkbox--disabled) .checkbox__control{border-color:var(--six-input-border-color-danger)}.checkbox__text{line-height:var(--six-selection-control-toggle-size);margin-left:0.5em;user-select:none}";
|
|
7
|
+
|
|
8
|
+
let id = 0;
|
|
9
|
+
let SixCheckbox = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
registerInstance(this, hostRef);
|
|
12
|
+
this.sixBlur = createEvent(this, "six-checkbox-blur", 7);
|
|
13
|
+
this.sixChange = createEvent(this, "six-checkbox-change", 7);
|
|
14
|
+
this.sixFocus = createEvent(this, "six-checkbox-focus", 7);
|
|
15
|
+
this.inputId = `checkbox-${++id}`;
|
|
16
|
+
this.labelId = `checkbox-label-${id}`;
|
|
17
|
+
this.textId = `checkbox-text-${id}`;
|
|
18
|
+
this.errorTextId = `input-error-text-${id}`;
|
|
19
|
+
this.customErrorText = '';
|
|
20
|
+
this.customValidation = false;
|
|
21
|
+
this.eventListeners = new EventListeners();
|
|
22
|
+
this.hasFocus = false;
|
|
23
|
+
this.hasLabelSlot = false;
|
|
24
|
+
this.hasErrorTextSlot = false;
|
|
25
|
+
/** Set to true to disable the checkbox. */
|
|
26
|
+
this.disabled = false;
|
|
27
|
+
/** Set to true to make the checkbox a required field. */
|
|
28
|
+
this.required = false;
|
|
29
|
+
/** The checkbox label. Alternatively, you can use the label slot. */
|
|
30
|
+
this.label = '';
|
|
31
|
+
/** The checkbox's error text. Alternatively, you can use the error-text slot. */
|
|
32
|
+
this.errorText = '';
|
|
33
|
+
/** Set to true to draw the checkbox in a checked state. */
|
|
34
|
+
this.checked = false;
|
|
35
|
+
/** Set to true to draw the checkbox in an indeterminate state. */
|
|
36
|
+
this.indeterminate = false;
|
|
37
|
+
/** This will be true when the control is in an invalid state. Validity is determined by the `required` prop. */
|
|
38
|
+
this.invalid = false;
|
|
39
|
+
/** Set to display the error text on blur and not when typing */
|
|
40
|
+
this.errorOnBlur = false;
|
|
41
|
+
/** default state whether the radio button should be checked or not when resetting */
|
|
42
|
+
this.defaultState = false;
|
|
43
|
+
}
|
|
44
|
+
handleCheckedChange() {
|
|
45
|
+
if (!this.input) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.input.checked = this.checked;
|
|
49
|
+
this.input.indeterminate = this.indeterminate;
|
|
50
|
+
this.invalid = !this.input.checkValidity();
|
|
51
|
+
this.sixChange.emit();
|
|
52
|
+
}
|
|
53
|
+
handleLabelChange() {
|
|
54
|
+
this.handleSlotChange();
|
|
55
|
+
}
|
|
56
|
+
connectedCallback() {
|
|
57
|
+
this.handleChange = this.handleChange.bind(this);
|
|
58
|
+
this.handleBlur = this.handleBlur.bind(this);
|
|
59
|
+
this.handleFocus = this.handleFocus.bind(this);
|
|
60
|
+
this.handleMouseDown = this.handleMouseDown.bind(this);
|
|
61
|
+
this.handleInvalid = this.handleInvalid.bind(this);
|
|
62
|
+
this.host.shadowRoot.addEventListener('slotchange', this.handleSlotChange);
|
|
63
|
+
}
|
|
64
|
+
disconnectedCallback() {
|
|
65
|
+
this.host.shadowRoot.removeEventListener('slotchange', this.handleSlotChange);
|
|
66
|
+
this.eventListeners.removeAll();
|
|
67
|
+
}
|
|
68
|
+
componentWillLoad() {
|
|
69
|
+
this.defaultState = this.checked;
|
|
70
|
+
this.handleSlotChange();
|
|
71
|
+
}
|
|
72
|
+
componentDidLoad() {
|
|
73
|
+
this.input.indeterminate = this.indeterminate;
|
|
74
|
+
this.eventListeners.add(this.input, 'invalid', (event) => {
|
|
75
|
+
if (this.customValidation || (!this.hasErrorTextSlot && !this.errorText && !this.customErrorText)) {
|
|
76
|
+
this.customErrorText = this.input.validationMessage;
|
|
77
|
+
}
|
|
78
|
+
event.preventDefault();
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/** Sets focus on the checkbox. */
|
|
82
|
+
async setFocus(options) {
|
|
83
|
+
this.input.focus(options);
|
|
84
|
+
}
|
|
85
|
+
/** Removes focus from the checkbox. */
|
|
86
|
+
async removeFocus() {
|
|
87
|
+
this.input.blur();
|
|
88
|
+
}
|
|
89
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
90
|
+
async reportValidity() {
|
|
91
|
+
return this.input.reportValidity();
|
|
92
|
+
}
|
|
93
|
+
/** Checks for validity. */
|
|
94
|
+
async checkValidity() {
|
|
95
|
+
return this.input.validity.valid;
|
|
96
|
+
}
|
|
97
|
+
/** Sets a custom validation message. If `message` is not empty, the field will be considered invalid. */
|
|
98
|
+
async setCustomValidity(message) {
|
|
99
|
+
this.customErrorText = '';
|
|
100
|
+
this.customValidation = message !== '';
|
|
101
|
+
this.input.setCustomValidity(message);
|
|
102
|
+
this.invalid = !this.input.checkValidity();
|
|
103
|
+
}
|
|
104
|
+
/** Resets the formcontrol */
|
|
105
|
+
async reset() {
|
|
106
|
+
this.checked = this.defaultState;
|
|
107
|
+
this.customErrorText = '';
|
|
108
|
+
this.customValidation = false;
|
|
109
|
+
this.input.setCustomValidity('');
|
|
110
|
+
this.invalid = false;
|
|
111
|
+
}
|
|
112
|
+
handleChange() {
|
|
113
|
+
this.checked = this.input.checked;
|
|
114
|
+
this.indeterminate = false;
|
|
115
|
+
}
|
|
116
|
+
handleBlur() {
|
|
117
|
+
this.hasFocus = false;
|
|
118
|
+
this.sixBlur.emit();
|
|
119
|
+
}
|
|
120
|
+
handleFocus() {
|
|
121
|
+
this.hasFocus = true;
|
|
122
|
+
this.sixFocus.emit();
|
|
123
|
+
}
|
|
124
|
+
handleMouseDown(event) {
|
|
125
|
+
// Prevent clicks on the label from briefly blurring the input
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
this.input.focus();
|
|
128
|
+
}
|
|
129
|
+
handleInvalid() {
|
|
130
|
+
this.invalid = true;
|
|
131
|
+
}
|
|
132
|
+
handleSlotChange() {
|
|
133
|
+
this.hasErrorTextSlot = hasSlot(this.host, 'error-text');
|
|
134
|
+
this.hasLabelSlot = hasSlot(this.host, 'label');
|
|
135
|
+
}
|
|
136
|
+
displayError() {
|
|
137
|
+
return this.invalid && (!this.errorOnBlur || !this.hasFocus);
|
|
138
|
+
}
|
|
139
|
+
render() {
|
|
140
|
+
return (h(FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, errorTextId: this.errorTextId, errorText: this.customErrorText ? this.customErrorText : this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.displayError() }, h("label", { part: "base", class: {
|
|
141
|
+
checkbox: true,
|
|
142
|
+
'checkbox--checked': this.checked,
|
|
143
|
+
'checkbox--disabled': this.disabled,
|
|
144
|
+
'checkbox--focused': this.hasFocus,
|
|
145
|
+
'checkbox--invalid': this.invalid,
|
|
146
|
+
'checkbox--indeterminate': this.indeterminate,
|
|
147
|
+
}, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { part: "control", class: "checkbox__control" }, this.checked && (h("span", { part: "checked-icon", class: "checkbox__icon" }, h("svg", { viewBox: "0 0 16 16" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { stroke: "currentColor", "stroke-width": "2" }, h("g", { transform: "translate(3.428571, 3.428571)" }, h("path", { d: "M0,5.71428571 L3.42857143,9.14285714" }), h("path", { d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (h("span", { part: "indeterminate-icon", class: "checkbox__icon" }, h("svg", { viewBox: "0 0 16 16" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { stroke: "currentColor", "stroke-width": "2" }, h("g", { transform: "translate(2.285714, 6.857143)" }, h("path", { d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), h("input", { ref: (el) => (this.input = el), id: this.inputId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onInvalid: this.handleInvalid })), h("span", { part: "text", id: this.textId, class: "checkbox__text" }, h("slot", null)))));
|
|
148
|
+
}
|
|
149
|
+
get host() { return getElement(this); }
|
|
150
|
+
static get watchers() { return {
|
|
151
|
+
"checked": ["handleCheckedChange"],
|
|
152
|
+
"indeterminate": ["handleCheckedChange"],
|
|
153
|
+
"errorText": ["handleLabelChange"],
|
|
154
|
+
"label": ["handleLabelChange"]
|
|
155
|
+
}; }
|
|
156
|
+
};
|
|
157
|
+
SixCheckbox.style = sixCheckboxCss;
|
|
158
|
+
|
|
159
|
+
export { SixCheckbox as six_checkbox };
|