@six-group/ui-library 0.0.0-insider.513eb55 → 0.0.0-insider.53504c0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-417a06c8.js +20 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +2 -2
- package/dist/cjs/six-badge.cjs.entry.js +2 -2
- package/dist/cjs/six-button.cjs.entry.js +3 -3
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +1 -1
- package/dist/cjs/{six-checkbox_2.cjs.entry.js → six-checkbox.cjs.entry.js} +3 -67
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/six-details.cjs.entry.js +3 -3
- package/dist/cjs/six-dialog.cjs.entry.js +2 -2
- package/dist/cjs/six-drawer.cjs.entry.js +2 -2
- package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +65 -1
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
- package/dist/cjs/six-error-page.cjs.entry.js +1 -1
- package/dist/cjs/six-error.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +1 -1
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header.cjs.entry.js +39 -30
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +10 -4
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +2 -2
- package/dist/cjs/six-input.cjs.entry.js +3 -3
- package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +2 -2
- package/dist/cjs/six-range.cjs.entry.js +2 -2
- package/dist/cjs/six-root.cjs.entry.js +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +1 -1
- package/dist/cjs/six-select.cjs.entry.js +6 -6
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +2 -2
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/six-spinner.cjs.entry.js +38 -5
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +2 -2
- package/dist/cjs/six-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +2 -2
- package/dist/cjs/six-tag.cjs.entry.js +2 -2
- package/dist/cjs/six-textarea.cjs.entry.js +2 -2
- package/dist/cjs/six-tile.cjs.entry.js +5 -5
- package/dist/cjs/six-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ui-library.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/six-avatar/six-avatar.js +2 -2
- package/dist/collection/components/six-badge/six-badge.js +2 -2
- package/dist/collection/components/six-button/six-button.css +0 -4
- package/dist/collection/components/six-button/six-button.js +2 -2
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
- package/dist/collection/components/six-details/six-details.js +3 -3
- package/dist/collection/components/six-dialog/six-dialog.js +2 -2
- package/dist/collection/components/six-drawer/six-drawer.js +2 -2
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +1 -1
- package/dist/collection/components/six-file-list/six-file-list.js +1 -1
- package/dist/collection/components/six-footer/six-footer.js +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +1 -1
- package/dist/collection/components/six-header/six-header.css +5 -29
- package/dist/collection/components/six-header/six-header.js +115 -47
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
- package/dist/collection/components/six-header-item/six-header-item.css +15 -0
- package/dist/collection/components/six-header-item/six-header-item.js +51 -0
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
- package/dist/collection/components/six-icon/six-icon.js +2 -2
- package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.js +3 -3
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
- package/dist/collection/components/six-logo/six-logo.css +18 -0
- package/dist/collection/components/six-logo/six-logo.js +54 -0
- package/dist/collection/components/six-logo/six-logo.js.map +1 -0
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
- package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
- package/dist/collection/components/six-picto/six-picto.js +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
- package/dist/collection/components/six-radio/six-radio.js +2 -2
- package/dist/collection/components/six-range/six-range.js +2 -2
- package/dist/collection/components/six-root/six-root.js +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +1 -1
- package/dist/collection/components/six-select/six-select.js +6 -6
- package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.css +45 -0
- package/dist/collection/components/six-spinner/six-spinner.js +59 -10
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-switch/six-switch.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js +2 -2
- package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
- package/dist/collection/components/six-tag/six-tag.js +2 -2
- package/dist/collection/components/six-textarea/six-textarea.js +2 -2
- package/dist/collection/components/six-tile/six-tile.js +5 -5
- package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
- package/dist/components/index.js +8 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/six-avatar.js +2 -2
- package/dist/components/six-badge.js +2 -2
- package/dist/components/six-button2.js +3 -3
- package/dist/components/six-button2.js.map +1 -1
- package/dist/components/six-card.js +1 -1
- package/dist/components/six-checkbox2.js +2 -2
- package/dist/components/six-details2.js +3 -3
- package/dist/components/six-dialog.js +2 -2
- package/dist/components/six-drawer.js +2 -2
- package/dist/components/six-error-page.js +1 -1
- package/dist/components/six-error2.js +1 -1
- package/dist/components/six-file-list.js +1 -1
- package/dist/components/six-footer.js +1 -1
- package/dist/components/six-group-label.js +1 -1
- package/dist/components/six-header-dropdown-item.d.ts +11 -0
- package/dist/components/six-header-dropdown-item.js +103 -0
- package/dist/components/six-header-dropdown-item.js.map +1 -0
- package/dist/components/six-header-item.d.ts +11 -0
- package/dist/components/six-header-item.js +8 -0
- package/dist/components/six-header-item.js.map +1 -0
- package/dist/components/six-header-item2.js +39 -0
- package/dist/components/six-header-item2.js.map +1 -0
- package/dist/components/six-header-menu-button.d.ts +11 -0
- package/dist/components/six-header-menu-button.js +57 -0
- package/dist/components/six-header-menu-button.js.map +1 -0
- package/dist/components/six-header.js +64 -42
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +14 -5
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-icon2.js +2 -2
- package/dist/components/six-input2.js +3 -3
- package/dist/components/six-language-switcher.js +1 -1
- package/dist/components/six-layout-grid.js +1 -1
- package/dist/components/six-logo.d.ts +11 -0
- package/dist/components/six-logo.js +8 -0
- package/dist/components/six-logo.js.map +1 -0
- package/dist/components/six-logo2.js +42 -0
- package/dist/components/six-logo2.js.map +1 -0
- package/dist/components/six-main-container.js +1 -1
- package/dist/components/six-menu-divider.js +1 -1
- package/dist/components/six-menu-item2.js +2 -2
- package/dist/components/six-menu-label.js +1 -1
- package/dist/components/six-picto2.js +1 -1
- package/dist/components/six-progress-bar.js +3 -3
- package/dist/components/six-progress-ring.js +1 -1
- package/dist/components/six-radio.js +2 -2
- package/dist/components/six-range.js +2 -2
- package/dist/components/six-root.js +1 -1
- package/dist/components/six-search-field.js +1 -1
- package/dist/components/six-select.js +6 -6
- package/dist/components/six-sidebar-item-group.js +2 -2
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.js +3 -3
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.js +2 -2
- package/dist/components/six-spinner2.js +39 -5
- package/dist/components/six-spinner2.js.map +1 -1
- package/dist/components/six-switch.js +2 -2
- package/dist/components/six-tab-group.js +2 -2
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab.js +2 -2
- package/dist/components/six-tag.js +2 -2
- package/dist/components/six-textarea.js +2 -2
- package/dist/components/six-tile.js +5 -5
- package/dist/components/six-tooltip2.js +2 -2
- package/dist/components.json +507 -31
- package/dist/esm/index-a7bee415.js +20 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/six-avatar.entry.js +2 -2
- package/dist/esm/six-badge.entry.js +2 -2
- package/dist/esm/six-button.entry.js +3 -3
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +1 -1
- package/dist/esm/{six-checkbox_2.entry.js → six-checkbox.entry.js} +5 -68
- package/dist/esm/six-checkbox.entry.js.map +1 -0
- package/dist/esm/six-details.entry.js +3 -3
- package/dist/esm/six-dialog.entry.js +2 -2
- package/dist/esm/six-drawer.entry.js +2 -2
- package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +65 -2
- package/dist/esm/six-dropdown_3.entry.js.map +1 -0
- package/dist/esm/six-error-page.entry.js +1 -1
- package/dist/esm/six-error.entry.js +1 -1
- package/dist/esm/six-file-list.entry.js +1 -1
- package/dist/esm/six-footer.entry.js +1 -1
- package/dist/esm/six-group-label.entry.js +1 -1
- package/dist/esm/six-header-dropdown-item.entry.js +41 -0
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
- package/dist/esm/six-header-item_2.entry.js +42 -0
- package/dist/esm/six-header-item_2.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +19 -0
- package/dist/esm/six-header-menu-button.entry.js.map +1 -0
- package/dist/esm/six-header.entry.js +39 -30
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +10 -4
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +2 -2
- package/dist/esm/six-input.entry.js +3 -3
- package/dist/esm/six-language-switcher.entry.js +1 -1
- package/dist/esm/six-layout-grid.entry.js +1 -1
- package/dist/esm/six-main-container.entry.js +1 -1
- package/dist/esm/six-menu-divider.entry.js +1 -1
- package/dist/esm/six-menu-label.entry.js +1 -1
- package/dist/esm/six-picto.entry.js +1 -1
- package/dist/esm/six-progress-bar.entry.js +3 -3
- package/dist/esm/six-progress-ring.entry.js +1 -1
- package/dist/esm/six-radio.entry.js +2 -2
- package/dist/esm/six-range.entry.js +2 -2
- package/dist/esm/six-root.entry.js +1 -1
- package/dist/esm/six-search-field.entry.js +1 -1
- package/dist/esm/six-select.entry.js +6 -6
- package/dist/esm/six-sidebar-item-group.entry.js +2 -2
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +3 -3
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +2 -2
- package/dist/esm/six-spinner.entry.js +38 -5
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +2 -2
- package/dist/esm/six-tab-group.entry.js +2 -2
- package/dist/esm/six-tab-panel.entry.js +1 -1
- package/dist/esm/six-tab.entry.js +2 -2
- package/dist/esm/six-tag.entry.js +2 -2
- package/dist/esm/six-textarea.entry.js +2 -2
- package/dist/esm/six-tile.entry.js +5 -5
- package/dist/esm/six-tooltip.entry.js +2 -2
- package/dist/esm/ui-library.js +1 -1
- package/dist/types/components/six-header/six-header.d.ts +79 -18
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
- package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
- package/dist/types/components/six-logo/six-logo.d.ts +9 -0
- package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
- package/dist/types/components.d.ts +205 -5
- package/dist/ui-library/{p-1e47e014.entry.js → p-03acec96.entry.js} +2 -2
- package/dist/ui-library/{p-9915dfc2.entry.js → p-06d562b7.entry.js} +2 -2
- package/dist/ui-library/p-07b6203f.entry.js +2 -0
- package/dist/ui-library/{p-b4bd1767.entry.js → p-0a6b6429.entry.js} +2 -2
- package/dist/ui-library/p-14d09601.entry.js +2 -0
- package/dist/ui-library/{p-8fe4ec36.entry.js → p-171df3ad.entry.js} +2 -2
- package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
- package/dist/ui-library/{p-43213f9e.entry.js.map → p-1cc3b56d.entry.js.map} +1 -1
- package/dist/ui-library/{p-45761392.entry.js → p-1cd09d9b.entry.js} +2 -2
- package/dist/ui-library/{p-f0bc11a5.entry.js → p-1f7a0cb5.entry.js} +2 -2
- package/dist/ui-library/p-2355c444.entry.js +2 -0
- package/dist/ui-library/p-281ffc35.entry.js +2 -0
- package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
- package/dist/ui-library/{p-418413d3.entry.js → p-49019d6c.entry.js} +2 -2
- package/dist/ui-library/{p-e8c717d3.entry.js → p-4d72b179.entry.js} +2 -2
- package/dist/ui-library/{p-5a513e96.entry.js → p-4de4ee7a.entry.js} +2 -2
- package/dist/ui-library/p-4edde816.entry.js +2 -0
- package/dist/ui-library/p-4edde816.entry.js.map +1 -0
- package/dist/ui-library/p-4f129bb3.entry.js +2 -0
- package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
- package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
- package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
- package/dist/ui-library/{p-c1cd72fb.entry.js → p-5ece7986.entry.js} +2 -2
- package/dist/ui-library/p-5f491974.entry.js +2 -0
- package/dist/ui-library/p-5f491974.entry.js.map +1 -0
- package/dist/ui-library/{p-f9b341a3.entry.js → p-5fc9cd7b.entry.js} +2 -2
- package/dist/ui-library/{p-2146cf22.entry.js → p-618bf750.entry.js} +2 -2
- package/dist/ui-library/{p-84370073.entry.js → p-62a1f514.entry.js} +2 -2
- package/dist/ui-library/{p-a929b095.entry.js → p-6513b8ce.entry.js} +2 -2
- package/dist/ui-library/{p-f12eec83.entry.js → p-6795e0a9.entry.js} +2 -2
- package/dist/ui-library/p-6ec126f7.entry.js +2 -0
- package/dist/ui-library/p-705e3612.entry.js +2 -0
- package/dist/ui-library/p-705e3612.entry.js.map +1 -0
- package/dist/ui-library/{p-e0ac4cd8.entry.js → p-7eb9ae75.entry.js} +2 -2
- package/dist/ui-library/{p-aa319c2c.entry.js → p-870139dc.entry.js} +2 -2
- package/dist/ui-library/{p-70a7e87c.entry.js → p-a20a702a.entry.js} +2 -2
- package/dist/ui-library/p-adc65fc8.entry.js +2 -0
- package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
- package/dist/ui-library/{p-160223d5.entry.js → p-afb15ea4.entry.js} +2 -2
- package/dist/ui-library/{p-cb510ea1.entry.js → p-bfb398c6.entry.js} +2 -2
- package/dist/ui-library/{p-e3ff26dd.entry.js → p-cd65e3b2.entry.js} +2 -2
- package/dist/ui-library/p-cd79700c.entry.js +2 -0
- package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
- package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
- package/dist/ui-library/{p-22f2ca14.entry.js → p-d46acf21.entry.js} +2 -2
- package/dist/ui-library/p-d67b8482.entry.js +2 -0
- package/dist/ui-library/{p-6be7f9f4.entry.js → p-db193a32.entry.js} +2 -2
- package/dist/ui-library/{p-bbf2ac6b.entry.js → p-e1529ef6.entry.js} +2 -2
- package/dist/ui-library/{p-ecfb0aec.entry.js → p-e181944f.entry.js} +2 -2
- package/dist/ui-library/{p-798e7eeb.entry.js → p-e6efc08a.entry.js} +2 -2
- package/dist/ui-library/p-e9462085.entry.js +2 -0
- package/dist/ui-library/p-e9462085.entry.js.map +1 -0
- package/dist/ui-library/p-ea854ec5.entry.js +2 -0
- package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
- package/dist/ui-library/{p-3267becc.entry.js → p-f12b22bc.entry.js} +2 -2
- package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
- package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
- package/dist/ui-library/{p-e8e16974.entry.js → p-ffce31da.entry.js} +2 -2
- package/dist/ui-library/ui-library.css +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/esm/six-checkbox_2.entry.js.map +0 -1
- package/dist/esm/six-dropdown_2.entry.js.map +0 -1
- package/dist/ui-library/p-1b67b95f.entry.js +0 -2
- package/dist/ui-library/p-3f6cc2c2.entry.js +0 -2
- package/dist/ui-library/p-43213f9e.entry.js +0 -2
- package/dist/ui-library/p-53867d77.entry.js +0 -2
- package/dist/ui-library/p-53867d77.entry.js.map +0 -1
- package/dist/ui-library/p-559a15db.entry.js +0 -2
- package/dist/ui-library/p-592c7cf9.entry.js +0 -2
- package/dist/ui-library/p-592c7cf9.entry.js.map +0 -1
- package/dist/ui-library/p-783ec07c.entry.js +0 -2
- package/dist/ui-library/p-783ec07c.entry.js.map +0 -1
- package/dist/ui-library/p-78a4fabd.entry.js +0 -2
- package/dist/ui-library/p-78a4fabd.entry.js.map +0 -1
- package/dist/ui-library/p-9370d59e.entry.js +0 -2
- package/dist/ui-library/p-9bb03da7.entry.js +0 -2
- package/dist/ui-library/p-9bb03da7.entry.js.map +0 -1
- package/dist/ui-library/p-a9c733e3.entry.js +0 -2
- package/dist/ui-library/p-a9c733e3.entry.js.map +0 -1
- package/dist/ui-library/p-aff7bbcb.entry.js +0 -2
- package/dist/ui-library/p-aff7bbcb.entry.js.map +0 -1
- package/dist/ui-library/p-b3b243a6.entry.js +0 -2
- package/dist/ui-library/p-c6f5a872.entry.js +0 -2
- package/dist/ui-library/p-cf323369.entry.js +0 -2
- package/dist/ui-library/p-cf323369.entry.js.map +0 -1
- /package/dist/ui-library/{p-1e47e014.entry.js.map → p-03acec96.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9915dfc2.entry.js.map → p-06d562b7.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c6f5a872.entry.js.map → p-07b6203f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b4bd1767.entry.js.map → p-0a6b6429.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3f6cc2c2.entry.js.map → p-14d09601.entry.js.map} +0 -0
- /package/dist/ui-library/{p-8fe4ec36.entry.js.map → p-171df3ad.entry.js.map} +0 -0
- /package/dist/ui-library/{p-45761392.entry.js.map → p-1cd09d9b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f0bc11a5.entry.js.map → p-1f7a0cb5.entry.js.map} +0 -0
- /package/dist/ui-library/{p-559a15db.entry.js.map → p-2355c444.entry.js.map} +0 -0
- /package/dist/ui-library/{p-418413d3.entry.js.map → p-49019d6c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e8c717d3.entry.js.map → p-4d72b179.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5a513e96.entry.js.map → p-4de4ee7a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c1cd72fb.entry.js.map → p-5ece7986.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f9b341a3.entry.js.map → p-5fc9cd7b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2146cf22.entry.js.map → p-618bf750.entry.js.map} +0 -0
- /package/dist/ui-library/{p-84370073.entry.js.map → p-62a1f514.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a929b095.entry.js.map → p-6513b8ce.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f12eec83.entry.js.map → p-6795e0a9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b3b243a6.entry.js.map → p-6ec126f7.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e0ac4cd8.entry.js.map → p-7eb9ae75.entry.js.map} +0 -0
- /package/dist/ui-library/{p-aa319c2c.entry.js.map → p-870139dc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-70a7e87c.entry.js.map → p-a20a702a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-160223d5.entry.js.map → p-afb15ea4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-cb510ea1.entry.js.map → p-bfb398c6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e3ff26dd.entry.js.map → p-cd65e3b2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1b67b95f.entry.js.map → p-cd79700c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-22f2ca14.entry.js.map → p-d46acf21.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9370d59e.entry.js.map → p-d67b8482.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6be7f9f4.entry.js.map → p-db193a32.entry.js.map} +0 -0
- /package/dist/ui-library/{p-bbf2ac6b.entry.js.map → p-e1529ef6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ecfb0aec.entry.js.map → p-e181944f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-798e7eeb.entry.js.map → p-e6efc08a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3267becc.entry.js.map → p-f12b22bc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e8e16974.entry.js.map → p-ffce31da.entry.js.map} +0 -0
|
@@ -103,12 +103,12 @@ export class SixRadio {
|
|
|
103
103
|
return this.getAllRadios().filter((radio) => radio !== this.host);
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h("label", { key: '
|
|
106
|
+
return (h("label", { key: '1d4d0be85edb89c166b6f22ea72498b9c8d8cea8', part: "base", class: {
|
|
107
107
|
radio: true,
|
|
108
108
|
'radio--checked': this.checked,
|
|
109
109
|
'radio--disabled': this.disabled,
|
|
110
110
|
'radio--focused': this.hasFocus,
|
|
111
|
-
}, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: '
|
|
111
|
+
}, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: '76b4c8511865e24af02bb954155c3b73d005b0af', part: "control", class: "radio__control" }, h("span", { key: '8a236d9faf510c005b77ff71917f79928478f558', part: "checked-icon", class: "radio__icon" }, h("svg", { key: 'a09807981249028dab896dd1363455f742ffc3ae', viewBox: "0 0 16 16" }, h("g", { key: '2794897dc88c3c531a560966702eee882a0ad34f', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: 'e698f2e02915293aa3d61191971a009e1075882a', fill: "currentColor" }, h("circle", { key: '0c08e9a157e5fe0155bb2859a70a302549a35129', cx: "8", cy: "8", r: "5" }))))), h("input", { key: 'ca747587d281cb058c73dff36bbbb24f92c513ef', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, role: "radio", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: '9e4de8ac9871f4ed19960842ff4da889f03b697b', part: "label", id: this.labelId, class: "radio__label" }, h("slot", { key: 'cb241e2debf683cc9f799606a48724f824c7dbfe' }))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "six-radio"; }
|
|
114
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -188,7 +188,7 @@ export class SixRange {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
render() {
|
|
191
|
-
return (h(FormControl, { key: '
|
|
191
|
+
return (h(FormControl, { key: '247e4d734ffd21fb8600961f821e38088e7746d7', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, size: "medium", errorTextId: this.errorTextId, errorText: this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, errorTextCount: this.errorTextCount, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '253bbcaffc90185969ccc1eb96cafe889b3130f2', part: "base", class: {
|
|
192
192
|
range: true,
|
|
193
193
|
// States
|
|
194
194
|
'range--disabled': this.disabled,
|
|
@@ -196,7 +196,7 @@ export class SixRange {
|
|
|
196
196
|
'range--tooltip-visible': this.hasTooltip,
|
|
197
197
|
'range--tooltip-top': this.tooltip === 'top',
|
|
198
198
|
'range--tooltip-bottom': this.tooltip === 'bottom',
|
|
199
|
-
}, onTouchStart: this.handleTouchStart }, h("input", { key: '
|
|
199
|
+
}, onTouchStart: this.handleTouchStart }, h("input", { key: '83c6c8855ca6df0ee2d95a95fee668b5bbf306db', part: "input", ref: (el) => (this.nativeInput = el), type: "range", class: "range__control", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.tooltip !== 'none' && (h("output", { key: 'fac373f95f6bfebd98e52f92fc74825e853f6812', part: "tooltip", ref: (el) => (this.output = el), class: "range__tooltip" }, this.tooltipFormatter(this.value))))));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "six-range"; }
|
|
202
202
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class SixRoot {
|
|
|
16
16
|
this.version = '';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("host", { key: '
|
|
19
|
+
return (h("host", { key: 'bb7825453e8962c4284fb6fbb4134c4b7767ffbd', class: "six-root" }, h("header", { key: '443e36e1fb8ab628ab2e1bde1eef3f3f0a6c9a3e', part: "header" }, this.stage && h("six-stage-indicator", { key: 'e10e1a45360e64f7319e15b5a615b898e41c5a6f', stage: this.stage }, this.version), h("slot", { key: '83f124f27a434c0eaab23e25c9690e63619d3238', name: "header" })), h("nav", { key: '52f47a0ea56ea73c01acfb974005b25a07f31c1c', class: "six-root__left-sidebar", part: "left-sidebar" }, h("slot", { key: 'dc394fd3eba205aae4bfff5a17f826e64d7aabcb', name: "left-sidebar" })), h("main", { key: '6bc11607edf2b772a2ae8e83aa6116d0996353f2', part: "main" }, h("div", { key: 'dce7d4f1ff72fdad0daf1ded16d6e91c709ea837', class: { 'six-root__container': true, 'six-root__container--padded': this.padded }, part: "container" }, h("slot", { key: '2f738b3b6705db8d0bfe07590df59cc4d243cad0', name: "main" })), h("div", { key: '005c723d6515ffc9a0acdc51460a4f51872ae717', class: "six-root__footer" }, h("slot", { key: '8cc3c97bc3c1a328ed4a99dfa1b17c6d3abb4607', name: "footer" }))), h("nav", { key: '05b12db2b51c4c4b5cb0de37c7f79d7e3220dda6', class: "six-root__right-sidebar", part: "right-sidebar" }, h("slot", { key: '9c7977c0f58dc781acb189a816f5dc0cd61c8304', name: "right-sidebar" }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "six-root"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,7 +42,7 @@ export class SixSearchField {
|
|
|
42
42
|
this.eventListeners.removeAll();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: '108d928d1c28a1a37c0a6f00661e44ff921a7434', class: "search-box" }, h("six-input", { key: 'bd4002eab9d4077b70b0f3e730127a8cadad1d63', ref: (el) => (this.inputElement = el), placeholder: this.placeholder, value: this.value, disabled: this.disabled, clearable: this.clearable }, h("six-icon", { key: '900c6d660cf833c2a3068e608c947694e6b95ff6', class: "search-box__icon", slot: "prefix", size: "small", onClick: this.handleInputChange }, "search")), h("slot", { key: '7f834e95d2cbb6207c4a580099e6f62240cb587f' })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "six-search-field"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -414,7 +414,7 @@ export class SixSelect {
|
|
|
414
414
|
showClear = true;
|
|
415
415
|
showExpand = false;
|
|
416
416
|
}
|
|
417
|
-
return (h(FormControl, { key: '
|
|
417
|
+
return (h(FormControl, { key: '521e8a99e7fb4ad2fb8ded4763eb8ed1e0eff293', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { key: 'ea5f0ec6216ab61ebcc1ae8add16b042e99297cc', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
|
|
418
418
|
select: true,
|
|
419
419
|
'select--open': this.isOpen,
|
|
420
420
|
'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
|
|
@@ -429,20 +429,20 @@ export class SixSelect {
|
|
|
429
429
|
'select--large': this.size === 'large',
|
|
430
430
|
'select--pill': this.pill,
|
|
431
431
|
'select--invalid': this.invalid,
|
|
432
|
-
}, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: '
|
|
432
|
+
}, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: 'd6b14098f6aabd6212f71e3832890de646c6d97e', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
|
|
433
433
|
select__box: true,
|
|
434
434
|
'select__box--line': this.line,
|
|
435
435
|
'select__box--autocomplete': this.autocomplete,
|
|
436
|
-
}, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: '
|
|
436
|
+
}, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: 'dd77b5234c29235a00f62b5e49b81dc5aba2ffda', class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { key: 'd30be3b2adb8f5eed29a3e7a5a59f4db007d62e9', exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { key: '7c40d29a181ce1f15bc1bacf059a9c8e9807be67', part: "icon", class: "select__icon" }, h("six-icon", { key: '6ac4a8bf6a4be113dcfd6bf2fd690c8b47aaaaeb', size: "medium" }, "expand_more"))), h("six-input", { key: '8f226312196871cd91abcb20da09c5a2811d1657', ref: (el) => (this.autocompleteInput = el), class: {
|
|
437
437
|
select__input: true,
|
|
438
438
|
'select__hidden-select': !this.autocomplete,
|
|
439
|
-
}, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: '
|
|
439
|
+
}, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: 'bb683893a8ad678f3cb01e8e42531b17bd20913c', class: {
|
|
440
440
|
'selection-container': true,
|
|
441
441
|
'selection-container--border': this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,
|
|
442
|
-
} }, this.selectionContainerItems), h("six-menu", { key: '
|
|
442
|
+
} }, this.selectionContainerItems), h("six-menu", { key: 'c7755a2e2da8134b6b58189c81c8354cac7a8e2e', ref: (el) => (this.menu = el), part: "menu", class: {
|
|
443
443
|
select__menu: true,
|
|
444
444
|
'select__menu--hidden': !hasMenuItems,
|
|
445
|
-
}, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: '
|
|
445
|
+
}, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: '95fe463945090bd7a7cbc11066f4752dfff55034', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { key: '448f7d261edd83841fc82c4c3304ec497aa4c8f8', class: "select-all", slot: "dropdown-footer" }, h("six-button", { key: 'e393c3715514b8e9a0a710c408364e6c96f9a1d3', type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
|
|
446
446
|
}
|
|
447
447
|
hasSelection() {
|
|
448
448
|
return this.multiple ? this.value.length > 0 : this.value !== '';
|
|
@@ -172,7 +172,7 @@ export class SixSidebar {
|
|
|
172
172
|
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h("host", { key: '
|
|
175
|
+
return (h("host", { key: '056450e289f2d1edff97ee37efbab15b85a76527', class: "six-sidebar" }, h("div", { key: 'c36b3f22dbc31e448373a0bb61886bb2acf383ed', class: {
|
|
176
176
|
sidebar__container: true,
|
|
177
177
|
'sidebar--visible': this.isVisible,
|
|
178
178
|
'sidebar--open': this.open,
|
|
@@ -181,7 +181,7 @@ export class SixSidebar {
|
|
|
181
181
|
}, style: {
|
|
182
182
|
width: this.width,
|
|
183
183
|
[`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,
|
|
184
|
-
}, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '
|
|
184
|
+
}, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '59362071f0a76df0714699478e8fcea6a34c83b3' }))));
|
|
185
185
|
}
|
|
186
186
|
static get is() { return "six-sidebar"; }
|
|
187
187
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,4 +24,11 @@ a {
|
|
|
24
24
|
}
|
|
25
25
|
.sidebar-item.sidebar-item--selected {
|
|
26
26
|
font-weight: var(--six-font-weight-bold);
|
|
27
|
+
}
|
|
28
|
+
.sidebar-item:focus {
|
|
29
|
+
outline: none;
|
|
30
|
+
}
|
|
31
|
+
.sidebar-item:focus-visible {
|
|
32
|
+
outline: var(--six-focus-ring);
|
|
33
|
+
outline-offset: var(--six-focus-ring-offset);
|
|
27
34
|
}
|
|
@@ -14,11 +14,11 @@ export class SixSidebarItem {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const Tag = this.href != null ? 'a' : 'div';
|
|
17
|
-
return (h(Tag, { key: '
|
|
17
|
+
return (h(Tag, { key: '5618f9f2b4351163ed14c415ba2b4d010a3e987e', class: {
|
|
18
18
|
'sidebar-item': true,
|
|
19
19
|
'sidebar-item--selected': this.selected,
|
|
20
20
|
'sidebar-item--disabled': this.disabled,
|
|
21
|
-
}, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: '
|
|
21
|
+
}, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: '4a0d18c33ba2c73f417374e39db25fe7c4a6a960' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "six-sidebar-item"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,4 +41,11 @@
|
|
|
41
41
|
display: block;
|
|
42
42
|
color: inherit;
|
|
43
43
|
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
.six-sidebar-details__link:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
}
|
|
48
|
+
.six-sidebar-details__link:focus-visible {
|
|
49
|
+
outline: var(--six-focus-ring);
|
|
50
|
+
outline-offset: calc(-1 * var(--six-focus-ring-offset));
|
|
44
51
|
}
|
|
@@ -50,7 +50,7 @@ export class SixSidebarItemGroup {
|
|
|
50
50
|
'six-sidebar-item-group': true,
|
|
51
51
|
'six-sidebar-item-group--childless': !this.hasItems,
|
|
52
52
|
'six-sidebar-item-group--subgroup': this.isSubgroup(),
|
|
53
|
-
}, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
|
|
53
|
+
}, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems, tabindex: this.renderAsHref() ? -1 : undefined }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
|
|
54
54
|
if (this.renderAsHref()) {
|
|
55
55
|
return (h("a", { class: "six-sidebar-details__link", href: this.href }, element));
|
|
56
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC/B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;YACJ,CAAC;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,aAAa,CAAkB,cAAc,IAAI,IAAI,CAAC,CAAC;oBAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC/D,CAAC;gBACH,CAAC,GACK,CACT,CAAC;QACJ,CAAC,CAAC;wBAjEkB,KAAK;oBAGV,EAAE;oBAGF,EAAE;qBAGgB,EAAE;oBAGH,KAAK;;qCAKJ,KAAK;;;IAQtC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEO,UAAU;;QAChB,OAAO,CAAA,MAAA,IAAI,CAAC,IAAI,CAAC,aAAa,0CAAE,OAAO,CAAC,wBAAwB,CAAC,KAAI,IAAI,CAAC;IAC5E,CAAC;IAEO,YAAY;QAClB,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAwBD,MAAM;QACJ,MAAM,OAAO,GAAG,CACd,mBACE,KAAK,EAAE;gBACL,wBAAwB,EAAE,IAAI;gBAC9B,mCAAmC,EAAE,CAAC,IAAI,CAAC,QAAQ;gBACnD,kCAAkC,EAAE,IAAI,CAAC,UAAU,EAAE;aACtD,EACD,MAAM,EAAE,IAAI,EACZ,IAAI,EAAE,IAAI,CAAC,IAAI,kBACD,IAAI,CAAC,WAAW,EAC9B,UAAU,EAAE,IAAI,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC/B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;YACJ,CAAC;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,aAAa,CAAkB,cAAc,IAAI,IAAI,CAAC,CAAC;oBAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;wBACjB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC/D,CAAC;gBACH,CAAC,GACK,CACT,CAAC;QACJ,CAAC,CAAC;wBAjEkB,KAAK;oBAGV,EAAE;oBAGF,EAAE;qBAGgB,EAAE;oBAGH,KAAK;;qCAKJ,KAAK;;;IAQtC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAEO,UAAU;;QAChB,OAAO,CAAA,MAAA,IAAI,CAAC,IAAI,CAAC,aAAa,0CAAE,OAAO,CAAC,wBAAwB,CAAC,KAAI,IAAI,CAAC;IAC5E,CAAC;IAEO,YAAY;QAClB,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAwBD,MAAM;QACJ,MAAM,OAAO,GAAG,CACd,mBACE,KAAK,EAAE;gBACL,wBAAwB,EAAE,IAAI;gBAC9B,mCAAmC,EAAE,CAAC,IAAI,CAAC,QAAQ;gBACnD,kCAAkC,EAAE,IAAI,CAAC,UAAU,EAAE;aACtD,EACD,MAAM,EAAE,IAAI,EACZ,IAAI,EAAE,IAAI,CAAC,IAAI,kBACD,IAAI,CAAC,WAAW,EAC9B,UAAU,EAAE,IAAI,CAAC,QAAQ,EACzB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9C,WAAK,IAAI,EAAC,SAAS;gBACjB,WAAK,KAAK,EAAC,6BAA6B;oBACrC,IAAI,CAAC,IAAI,IAAI,gBAAU,KAAK,EAAC,kCAAkC,IAAE,IAAI,CAAC,IAAI,CAAY;oBACtF,IAAI,CAAC,IAAI,CACN,CACF;YACL,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC;YACjC,eAAQ,CACI,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC;YACxB,OAAO,CACL,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,OAAO,CACN,CACL,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested sidebar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar-item-group',\n styleUrl: 'six-sidebar-item-group.scss',\n shadow: true,\n})\nexport class SixSidebarItemGroup {\n @Element() readonly host!: HTMLSixSidebarItemGroupElement;\n\n @State() hasItems = false;\n\n /** Title of item group */\n @Prop() name = '';\n\n /** Icon of the group */\n @Prop() icon = '';\n\n /** A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Indicates whether the sidebar is shown */\n @Prop({ reflect: true }) open = false;\n\n /** Custom summary icon name. */\n @Prop() summaryIcon?: string;\n\n @State() summaryIconHasContent = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n connectedCallback() {\n this.handleSlotChange = this.handleSlotChange.bind(this);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange() {\n this.hasItems = hasSlot(this.host);\n }\n\n private isSubgroup() {\n return this.host.parentElement?.closest('six-sidebar-item-group') != null;\n }\n\n private renderAsHref(): boolean {\n return this.href != null && !this.hasItems;\n }\n\n private provideSlot = (name: string) => {\n if (this.summaryIconHasContent) {\n return (\n <div slot={name}>\n <slot name={name}></slot>\n </div>\n );\n }\n\n return (\n <slot\n name={name}\n onSlotchange={() => {\n const slot = this.host.shadowRoot?.querySelector<HTMLSlotElement>(`slot[name=\"${name}\"]`);\n if (slot != null) {\n this.summaryIconHasContent = slot.assignedNodes().length > 0;\n }\n }}\n ></slot>\n );\n };\n\n render() {\n const element = (\n <six-details\n class={{\n 'six-sidebar-item-group': true,\n 'six-sidebar-item-group--childless': !this.hasItems,\n 'six-sidebar-item-group--subgroup': this.isSubgroup(),\n }}\n inline={true}\n open={this.open}\n summary-icon={this.summaryIcon}\n hasContent={this.hasItems}\n tabindex={this.renderAsHref() ? -1 : undefined}\n >\n <div slot=\"summary\">\n <div class=\"six-sidebar-details__header\">\n {this.icon && <six-icon class=\"six-sidebar-details__header-icon\">{this.icon}</six-icon>}\n {this.name}\n </div>\n </div>\n {this.provideSlot('summary-icon')}\n <slot />\n </six-details>\n );\n\n if (this.renderAsHref()) {\n return (\n <a class=\"six-sidebar-details__link\" href={this.href}>\n {element}\n </a>\n );\n } else {\n return element;\n }\n }\n}\n"]}
|
|
@@ -67,6 +67,51 @@
|
|
|
67
67
|
-webkit-animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
|
|
68
68
|
animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
|
|
69
69
|
}
|
|
70
|
+
.six-spinner polygon {
|
|
71
|
+
stroke-dasharray: 310;
|
|
72
|
+
stroke-dashoffset: 310;
|
|
73
|
+
animation: big-polygon-draw 2s ease-in-out infinite;
|
|
74
|
+
-webkit-animation: big-polygon-draw 2s ease-in-out infinite;
|
|
75
|
+
}
|
|
76
|
+
.six-spinner polygon:nth-child(2),
|
|
77
|
+
.six-spinner polygon:nth-child(3) {
|
|
78
|
+
stroke-dasharray: 110;
|
|
79
|
+
stroke-dashoffset: 110;
|
|
80
|
+
animation: small-polygon-draw 2s ease-in-out infinite;
|
|
81
|
+
-webkit-animation: small-polygon-draw 2s ease-in-out infinite;
|
|
82
|
+
}
|
|
83
|
+
@keyframes big-polygon-draw {
|
|
84
|
+
0%, 100% {
|
|
85
|
+
stroke-dashoffset: 310;
|
|
86
|
+
}
|
|
87
|
+
50% {
|
|
88
|
+
stroke-dashoffset: 140;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
@-webkit-keyframes big-polygon-draw {
|
|
92
|
+
0%, 100% {
|
|
93
|
+
stroke-dashoffset: 310;
|
|
94
|
+
}
|
|
95
|
+
50% {
|
|
96
|
+
stroke-dashoffset: 140;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@keyframes small-polygon-draw {
|
|
100
|
+
0%, 100% {
|
|
101
|
+
stroke-dashoffset: 110;
|
|
102
|
+
}
|
|
103
|
+
50% {
|
|
104
|
+
stroke-dashoffset: 50;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
@-webkit-keyframes small-polygon-draw {
|
|
108
|
+
0%, 100% {
|
|
109
|
+
stroke-dashoffset: 110;
|
|
110
|
+
}
|
|
111
|
+
50% {
|
|
112
|
+
stroke-dashoffset: 50;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
70
115
|
@-webkit-keyframes six-spinner {
|
|
71
116
|
to {
|
|
72
117
|
stroke-dashoffset: -444;
|
|
@@ -6,20 +6,53 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
* Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
|
|
7
7
|
*
|
|
8
8
|
* @part base - The component's base wrapper.
|
|
9
|
-
* @part svg - The spinner icon
|
|
9
|
+
* @part svg - The spinner icon.
|
|
10
10
|
*/
|
|
11
11
|
export class SixSpinner {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.
|
|
13
|
+
this.logo = undefined;
|
|
14
|
+
this.six = undefined;
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Renders a container with a given SVG content.
|
|
18
|
+
*/
|
|
19
|
+
renderWrapper(content) {
|
|
20
|
+
return (h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, h("div", { class: "six-spinner__container" }, content)));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Renders the SIX logo spinner.
|
|
24
|
+
*/
|
|
15
25
|
renderSIXLogo() {
|
|
16
|
-
|
|
26
|
+
const sixLogo = (h("svg", { viewBox: "0 0 40 40", part: "svg" }, h("path", { fill: "none", stroke: "#de3919", "stroke-width": "5", "stroke-linecap": "round", d: "M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42" })));
|
|
27
|
+
return this.renderWrapper(sixLogo);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Renders the BME logo spinner.
|
|
31
|
+
*/
|
|
32
|
+
renderBMELogo() {
|
|
33
|
+
const bmeLogo = (h("svg", { viewBox: "0 0 45 55", part: "svg" }, h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719" })));
|
|
34
|
+
return this.renderWrapper(bmeLogo);
|
|
17
35
|
}
|
|
18
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Renders a simple spinner.
|
|
38
|
+
*/
|
|
39
|
+
renderSimpleSpinner() {
|
|
19
40
|
return h("span", { part: "base", class: "spinner", "aria-busy": "true", "aria-live": "polite" });
|
|
20
41
|
}
|
|
21
42
|
render() {
|
|
22
|
-
|
|
43
|
+
// Check the deprecated `six` property first
|
|
44
|
+
if (this.six) {
|
|
45
|
+
console.warn('The "six" prop is deprecated. Use "logo=\'six\'" instead.');
|
|
46
|
+
return this.renderSIXLogo();
|
|
47
|
+
}
|
|
48
|
+
switch (this.logo) {
|
|
49
|
+
case 'six':
|
|
50
|
+
return this.renderSIXLogo();
|
|
51
|
+
case 'bme':
|
|
52
|
+
return this.renderBMELogo();
|
|
53
|
+
default:
|
|
54
|
+
return this.renderSimpleSpinner();
|
|
55
|
+
}
|
|
23
56
|
}
|
|
24
57
|
static get is() { return "six-spinner"; }
|
|
25
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,23 +68,39 @@ export class SixSpinner {
|
|
|
35
68
|
}
|
|
36
69
|
static get properties() {
|
|
37
70
|
return {
|
|
71
|
+
"logo": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"mutable": false,
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "'six' | 'bme'",
|
|
76
|
+
"resolved": "\"bme\" | \"six\" | undefined",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": true,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner."
|
|
84
|
+
},
|
|
85
|
+
"attribute": "logo",
|
|
86
|
+
"reflect": false
|
|
87
|
+
},
|
|
38
88
|
"six": {
|
|
39
89
|
"type": "boolean",
|
|
40
90
|
"mutable": false,
|
|
41
91
|
"complexType": {
|
|
42
92
|
"original": "boolean",
|
|
43
|
-
"resolved": "boolean",
|
|
93
|
+
"resolved": "boolean | undefined",
|
|
44
94
|
"references": {}
|
|
45
95
|
},
|
|
46
96
|
"required": false,
|
|
47
|
-
"optional":
|
|
97
|
+
"optional": true,
|
|
48
98
|
"docs": {
|
|
49
99
|
"tags": [],
|
|
50
|
-
"text": "
|
|
100
|
+
"text": "**@deprecated** Use `logo=\"six\"` instead.\n\nIf set to true, the spinner displays the SIX logo."
|
|
51
101
|
},
|
|
52
102
|
"attribute": "six",
|
|
53
|
-
"reflect": false
|
|
54
|
-
"defaultValue": "false"
|
|
103
|
+
"reflect": false
|
|
55
104
|
}
|
|
56
105
|
};
|
|
57
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;
|
|
1
|
+
{"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;;;;IAUrB;;OAEG;IACK,aAAa,CAAC,OAAmB;QACvC,OAAO,CACL,YAAM,KAAK,EAAC,aAAa,eAAW,MAAM,eAAW,QAAQ;YAC3D,WAAK,KAAK,EAAC,wBAAwB,IAAE,OAAO,CAAO,CAC9C,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,YACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,EACtB,CAAC,EAAC,mHAAmH,GAC/G,CACJ,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,6GAA6G,GACpH;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,4DAA4D,GACnE;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,yDAAyD,GAChE,CACE,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,mBAAmB;QACzB,OAAO,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,eAAW,MAAM,eAAW,QAAQ,GAAG,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,4CAA4C;QAC5C,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,2DAA2D,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;QAC9B,CAAC;QAED,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B;gBACE,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACtC,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @part base - The component's base wrapper.\n * @part svg - The spinner icon.\n */\n@Component({\n tag: 'six-spinner',\n styleUrl: 'six-spinner.scss',\n shadow: true,\n})\nexport class SixSpinner {\n /** Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner. */\n @Prop() logo?: 'six' | 'bme';\n /**\n * **@deprecated** Use `logo=\"six\"` instead.\n *\n * If set to true, the spinner displays the SIX logo.\n */\n @Prop() six?: boolean;\n\n /**\n * Renders a container with a given SVG content.\n */\n private renderWrapper(content: SVGElement) {\n return (\n <span class=\"six-spinner\" aria-busy=\"true\" aria-live=\"polite\">\n <div class=\"six-spinner__container\">{content}</div>\n </span>\n );\n }\n\n /**\n * Renders the SIX logo spinner.\n */\n private renderSIXLogo() {\n const sixLogo = (\n <svg viewBox=\"0 0 40 40\" part=\"svg\">\n <path\n fill=\"none\"\n stroke=\"#de3919\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n d=\"M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42\"\n ></path>\n </svg>\n );\n return this.renderWrapper(sixLogo);\n }\n\n /**\n * Renders the BME logo spinner.\n */\n private renderBMELogo() {\n const bmeLogo = (\n <svg viewBox=\"0 0 45 55\" part=\"svg\">\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719\"\n />\n </svg>\n );\n return this.renderWrapper(bmeLogo);\n }\n\n /**\n * Renders a simple spinner.\n */\n private renderSimpleSpinner() {\n return <span part=\"base\" class=\"spinner\" aria-busy=\"true\" aria-live=\"polite\" />;\n }\n\n render() {\n // Check the deprecated `six` property first\n if (this.six) {\n console.warn('The \"six\" prop is deprecated. Use \"logo=\\'six\\'\" instead.');\n return this.renderSIXLogo();\n }\n\n switch (this.logo) {\n case 'six':\n return this.renderSIXLogo();\n case 'bme':\n return this.renderBMELogo();\n default:\n return this.renderSimpleSpinner();\n }\n }\n}\n"]}
|
|
@@ -105,12 +105,12 @@ export class SixSwitch {
|
|
|
105
105
|
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.blur();
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(FormControl, { key: '
|
|
108
|
+
return (h(FormControl, { key: 'f8a02f4bc5a931384248896494c1ef398f88453c', inputId: this.switchId, label: this.label, labelId: this.labelId, hasLabelSlot: false, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: 'b85db2bcbf379f0b7a885fa04041661f2abc8aeb', part: "base", htmlFor: this.switchId, class: {
|
|
109
109
|
switch: true,
|
|
110
110
|
'switch--checked': this.checked,
|
|
111
111
|
'switch--disabled': this.disabled,
|
|
112
112
|
'switch--focused': this.hasFocus,
|
|
113
|
-
}, onMouseDown: this.handleMouseDown }, h("span", { key: '
|
|
113
|
+
}, onMouseDown: this.handleMouseDown }, h("span", { key: '001e868504ac577acca8352ab992c001e56908fa', part: "control", class: "switch__control" }, h("span", { key: '99d6f8448b43533b0ca19988cfd8485f05bed512', part: "thumb", class: "switch__thumb" }), h("input", { key: '5d787df251a93a531fdf8dfaa141cf87006f2be8', ref: (el) => (this.inputElement = el), id: this.switchId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown })), h("span", { key: '480a7fbc5d25546ca734c11c8363a4b98d97f97e', part: "label", id: this.labelId, class: "switch__label" }, h("slot", { key: '322c296e95edd35593b74daf4864561760f1e22d' })))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "six-switch"; }
|
|
116
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class SixTab {
|
|
|
41
41
|
const placement = (_a = tabGroup === null || tabGroup === void 0 ? void 0 : tabGroup.placement) !== null && _a !== void 0 ? _a : 'top';
|
|
42
42
|
return (
|
|
43
43
|
// If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
|
|
44
|
-
h(Host, { key: '
|
|
44
|
+
h(Host, { key: '3fb91abb09772d923fb5b8e53cb2a1c63a182b9e', id: this.host.id || this.componentId }, h("div", { key: '11291e2dde7bf9cd0f5f20ac953704e0516e807d', part: "base", ref: (el) => (this.tab = el), class: {
|
|
45
45
|
tab: true,
|
|
46
46
|
// Placements
|
|
47
47
|
'tab--top': placement === 'top',
|
|
@@ -52,7 +52,7 @@ export class SixTab {
|
|
|
52
52
|
'tab--active': this.active,
|
|
53
53
|
'tab--closable': this.closable,
|
|
54
54
|
'tab--disabled': this.disabled,
|
|
55
|
-
}, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", { key: '
|
|
55
|
+
}, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", { key: '59600add16a91eb6876893464d8f447fcdf7450e' }), this.closable && (h("six-icon-button", { key: '8cc03ea004a7181d210ad03355c30a8de6bfc306', name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), h("div", { key: '84460dcb9bb76d4b290a6c00c298e4ecae96b0d7', part: this.active ? 'active-tab-indicator' : '', class: {
|
|
56
56
|
tab__indicator: true,
|
|
57
57
|
'tab__indicator--active': this.active,
|
|
58
58
|
// Placements
|
|
@@ -226,7 +226,7 @@ export class SixTabGroup {
|
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return (h("div", { key: '
|
|
229
|
+
return (h("div", { key: '687953b1f7488c6f74b79d8bfa2dd5f6638d8794', part: "base", ref: (el) => (this.tabGroup = el), class: {
|
|
230
230
|
'tab-group': true,
|
|
231
231
|
// Placements
|
|
232
232
|
'tab-group--top': this.placement === 'top',
|
|
@@ -234,7 +234,7 @@ export class SixTabGroup {
|
|
|
234
234
|
'tab-group--left': this.placement === 'left',
|
|
235
235
|
'tab-group--right': this.placement === 'right',
|
|
236
236
|
'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,
|
|
237
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
|
237
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '11a19bfa85935fb187e4caaa639df6107fe3c8f5', class: "tab-group__nav-container" }, this.hasLeftControl && (h("six-icon-button", { key: 'cc5e49ec12398a2b8534443b9ce9183b62e30579', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { key: '7fade92e1892fa0316f72c34421d0091c0416bf3', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { key: 'c28271665e228f0bc67912971c7f02e799c850e0', name: "nav" }))), this.hasRightControl && (h("six-icon-button", { key: '244800e9e981050d6e7c397000105fdd7f887c1f', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { key: 'eb3c0da33565d279a75087d677c7f0c532e82468', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", { key: '639246ec2ce40f9ea9412cb37cf87ebc32a373c2' }))));
|
|
238
238
|
}
|
|
239
239
|
static get is() { return "six-tab-group"; }
|
|
240
240
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class SixTabPanel {
|
|
|
19
19
|
render() {
|
|
20
20
|
return (
|
|
21
21
|
// If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
|
|
22
|
-
h(Host, { key: '
|
|
22
|
+
h(Host, { key: '71a56c2593d07ab74bfca2036c6c48015800cb3a', id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, h("div", { key: 'f9c9c0f9bcb3365d5919e721e2ce85b96310aa50', part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, h("slot", { key: 'a78c62e6fa855d1181069c3c99c8f0bba23fea17' }))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "six-tab-panel"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class SixTag {
|
|
|
44
44
|
this.resizeObserver.disconnect();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h("span", { key: '
|
|
47
|
+
return (h("span", { key: 'cf0f1b63dd4cf2887a1ce4640c9073e24c42e79c', part: "base", class: {
|
|
48
48
|
tag: true,
|
|
49
49
|
// Types
|
|
50
50
|
'tag--primary': this.type === 'primary',
|
|
@@ -61,7 +61,7 @@ export class SixTag {
|
|
|
61
61
|
// Modifers
|
|
62
62
|
'tag--pill': this.pill,
|
|
63
63
|
'tag--clear': this.clearable,
|
|
64
|
-
} }, h("six-tooltip", { key: '
|
|
64
|
+
} }, h("six-tooltip", { key: '6b8d12fc884f2fd47caea9400e26c283e770dbad', ref: (el) => (this.tooltipElement = el) }, h("span", { key: '62a3b5dfa5550c432342bdd5767a39b5b83a3103', ref: (el) => (this.contentElement = el), part: "content", class: "tag__content" }, h("slot", { key: '00a3ef70ceea21c8e807557576f2c4f252cee995', ref: (el) => (this.contentSlotElement = el) }))), this.clearable && (h("six-icon-button", { key: '5eabbf01c5b9d4d2d594c7d3d600cc57b8bd4cec', exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "six-tag"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,7 +167,7 @@ export class SixTextarea {
|
|
|
167
167
|
return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h(FormControl, { key: '
|
|
170
|
+
return (h(FormControl, { key: 'b030afca7e885857b87e5274ce3aa1baeb285fdb', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'a30bb02f40f681c42212586c0d761cb5759202ed', part: "base", class: {
|
|
171
171
|
textarea: true,
|
|
172
172
|
// Sizes
|
|
173
173
|
'textarea--small': this.size === 'small',
|
|
@@ -182,7 +182,7 @@ export class SixTextarea {
|
|
|
182
182
|
'textarea--resize-none': this.resize === 'none',
|
|
183
183
|
'textarea--resize-vertical': this.resize === 'vertical',
|
|
184
184
|
'textarea--resize-auto': this.resize === 'auto',
|
|
185
|
-
} }, h("textarea", { key: '
|
|
185
|
+
} }, h("textarea", { key: '29faefaf45d099bc582beefe74160d93a2259873', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "six-textarea"; }
|
|
188
188
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,22 +48,22 @@ export class SixTile {
|
|
|
48
48
|
this.handleSlotChange();
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h("six-tooltip", { key: '
|
|
51
|
+
return (h("six-tooltip", { key: '1f72a24651f78f933e475c7fc0cbac18d852cc76', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: 'b45a460c355a9a30d7b5ebe93c63f48a49ed2fa1', part: "base", class: {
|
|
52
52
|
tile: true,
|
|
53
53
|
'tile--visible': this.visible,
|
|
54
54
|
'tile--small': this.size === 'small',
|
|
55
55
|
'tile--medium': this.size === 'medium',
|
|
56
56
|
'tile--large': this.size === 'large',
|
|
57
57
|
'tile--elevated': this.elevated,
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: '2667122e6e2e925005bfd910ee60b6063871b5c1', part: "header", class: "tile__header" }, h("six-icon-button", { key: 'f6f0a96a7d681881bebf254860bca29c80c814d9', class: {
|
|
59
59
|
'tile__header--hidden': !this.closeable,
|
|
60
|
-
}, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: '
|
|
60
|
+
}, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: '973436e543725ba0916ba42ff3cf24a8f1420ffa', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { key: 'c2d43afacf61d8bdbfa9c082f443c6f7fc2d094d', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { key: '0cd3db9f8db8aa6241fcb84358aedbb6372b5f02', name: "icon" })), h("div", { key: 'a2e6c9642fa659248516153989e74f0ac0d99254', part: "footer", class: {
|
|
61
61
|
'tile__footer--small': this.size === 'small',
|
|
62
62
|
'tile__footer--medium': this.size === 'medium',
|
|
63
63
|
'tile__footer--large': this.size === 'large',
|
|
64
|
-
} }, this.label && (h("div", { key: '
|
|
64
|
+
} }, this.label && (h("div", { key: 'a9838fb0e6a65053320496233e38eec9f837dfd0', class: {
|
|
65
65
|
'.label__footer': true,
|
|
66
|
-
}, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { key: '
|
|
66
|
+
}, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { key: '9a21ee332f6e5ebefe292138e5204fd27458442d', name: "label" })))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "six-tile"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -152,10 +152,10 @@ export class SixTooltip {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: '16e00bb78ae53bf05f9f7844db1066ea1a9712e9', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut }, h("slot", { key: '217252a61b1cdde92192d752a3115c05e3530445', onSlotchange: this.handleSlotChange }), h("div", { key: 'd80462cc7aafdd60459dad72be176aafa2660e7d', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner" }, h("div", { key: '28b80d3d255e77d46c1b235a0cf98273aa6812c0', part: "base", ref: (el) => (this.tooltip = el), id: this.componentId, class: {
|
|
156
156
|
tooltip: true,
|
|
157
157
|
'tooltip--open': this.open,
|
|
158
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
|
158
|
+
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '4bff119fb74d2eaa58bef4c598c89263350c8b0a', name: "content" }, this.content)))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "six-tooltip"; }
|
|
161
161
|
static get encapsulation() { return "shadow"; }
|