@six-group/ui-library 0.0.0-insider.2b3efd5 → 0.0.0-insider.2c5f541
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 +14 -10
- 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 +2 -2
- package/dist/cjs/six-card.cjs.entry.js +1 -1
- package/dist/cjs/{six-checkbox.cjs.entry.js → six-checkbox_2.cjs.entry.js} +67 -3
- package/dist/cjs/six-checkbox_2.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_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +6 -81
- package/dist/cjs/six-dropdown_2.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 +5 -3
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header-item.cjs.entry.js +23 -0
- package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
- package/dist/cjs/six-header-menu-button.cjs.entry.js +7 -3
- package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.cjs.entry.js +7 -175
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +3 -3
- 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-logo.cjs.entry.js +29 -0
- package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
- 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 -7
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/six-sidebar.cjs.entry.js +2 -2
- 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-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- 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 +1 -1
- 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.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-dropdown/six-dropdown.js +5 -36
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error/six-error.js +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +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 +0 -20
- package/dist/collection/components/six-header/six-header.js +8 -484
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +45 -3
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
- package/dist/collection/components/six-header-item/six-header-item.css +2 -2
- package/dist/collection/components/six-header-item/six-header-item.js +2 -5
- package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +86 -10
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
- package/dist/collection/components/six-icon/six-icon.js +2 -2
- package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
- 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.js +1 -1
- package/dist/collection/components/six-logo/six-logo.js.map +1 -1
- 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 -28
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
- 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-timepicker/six-timepicker.css +1 -2
- package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
- package/dist/components/six-avatar.js +2 -2
- package/dist/components/six-badge.js +2 -2
- package/dist/components/six-button2.js +2 -2
- 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-dropdown2.js +6 -18
- package/dist/components/six-dropdown2.js.map +1 -1
- 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.js +7 -3
- package/dist/components/six-header-dropdown-item.js.map +1 -1
- package/dist/components/six-header-item.js +32 -1
- package/dist/components/six-header-item.js.map +1 -1
- package/dist/components/six-header-menu-button.js +14 -12
- package/dist/components/six-header-menu-button.js.map +1 -1
- package/dist/components/six-header.js +11 -248
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +3 -3
- 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.js +38 -1
- package/dist/components/six-logo.js.map +1 -1
- 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 -8
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item.js +2 -2
- package/dist/components/six-sidebar.js +2 -2
- 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-timepicker2.js +1 -1
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +2 -2
- package/dist/components.json +158 -571
- package/dist/esm/index-a7bee415.js +14 -10
- 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 +2 -2
- package/dist/esm/six-card.entry.js +1 -1
- package/dist/esm/{six-checkbox.entry.js → six-checkbox_2.entry.js} +68 -5
- package/dist/esm/six-checkbox_2.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_3.entry.js → six-dropdown_2.entry.js} +7 -81
- package/dist/esm/six-dropdown_2.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 +5 -3
- package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
- package/dist/esm/six-header-item.entry.js +19 -0
- package/dist/esm/six-header-item.entry.js.map +1 -0
- package/dist/esm/six-header-menu-button.entry.js +7 -3
- package/dist/esm/six-header-menu-button.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +9 -177
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +3 -3
- 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-logo.entry.js +25 -0
- package/dist/esm/six-logo.entry.js.map +1 -0
- 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 -7
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +2 -2
- package/dist/esm/six-sidebar.entry.js +2 -2
- 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-timepicker.entry.js +1 -1
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +2 -2
- package/dist/esm/ui-library.js +1 -1
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +0 -7
- package/dist/types/components/six-header/six-header.d.ts +2 -128
- package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
- package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
- package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
- package/dist/types/components/six-select/six-select.d.ts +0 -7
- package/dist/types/components.d.ts +66 -147
- package/dist/ui-library/{p-1f7a0cb5.entry.js → p-0e3be65b.entry.js} +2 -2
- package/dist/ui-library/{p-f12b22bc.entry.js → p-0ea87016.entry.js} +2 -2
- package/dist/ui-library/{p-4d72b179.entry.js → p-107c1cc9.entry.js} +2 -2
- package/dist/ui-library/{p-e1529ef6.entry.js → p-119e0252.entry.js} +2 -2
- package/dist/ui-library/{p-5fc9cd7b.entry.js → p-2dda9f79.entry.js} +2 -2
- package/dist/ui-library/{p-171df3ad.entry.js → p-31dc219a.entry.js} +2 -2
- package/dist/ui-library/p-31dc219a.entry.js.map +1 -0
- package/dist/ui-library/{p-49019d6c.entry.js → p-3362f0a6.entry.js} +2 -2
- package/dist/ui-library/p-33eff94d.entry.js +2 -0
- package/dist/ui-library/p-33eff94d.entry.js.map +1 -0
- package/dist/ui-library/p-38dca7f5.entry.js +2 -0
- package/dist/ui-library/{p-1cc3b56d.entry.js.map → p-38dca7f5.entry.js.map} +1 -1
- package/dist/ui-library/p-3dde8246.entry.js +2 -0
- package/dist/ui-library/p-3dde8246.entry.js.map +1 -0
- package/dist/ui-library/{p-03acec96.entry.js → p-3de9f1dd.entry.js} +2 -2
- package/dist/ui-library/p-4777053f.entry.js +2 -0
- package/dist/ui-library/{p-618bf750.entry.js → p-484f68f9.entry.js} +2 -2
- package/dist/ui-library/p-4eb49fc9.entry.js +2 -0
- package/dist/ui-library/{p-5ece7986.entry.js → p-5236fc59.entry.js} +2 -2
- package/dist/ui-library/{p-f9a1f6ab.entry.js → p-5442fd21.entry.js} +2 -2
- package/dist/ui-library/{p-4de4ee7a.entry.js → p-54713ac9.entry.js} +2 -2
- package/dist/ui-library/p-59c4dc13.entry.js +2 -0
- package/dist/ui-library/p-62cb7f97.entry.js +2 -0
- package/dist/ui-library/p-62cb7f97.entry.js.map +1 -0
- package/dist/ui-library/p-7abd746b.entry.js +2 -0
- package/dist/ui-library/p-7abd746b.entry.js.map +1 -0
- package/dist/ui-library/p-7b413e80.entry.js +2 -0
- package/dist/ui-library/{p-62a1f514.entry.js.map → p-7b413e80.entry.js.map} +1 -1
- package/dist/ui-library/{p-a20a702a.entry.js → p-7f3769d0.entry.js} +2 -2
- package/dist/ui-library/{p-06d562b7.entry.js → p-801c8ff4.entry.js} +2 -2
- package/dist/ui-library/p-8837e3fc.entry.js +2 -0
- package/dist/ui-library/p-8837e3fc.entry.js.map +1 -0
- package/dist/ui-library/{p-281ffc35.entry.js → p-88f4177a.entry.js} +2 -2
- package/dist/ui-library/{p-afb15ea4.entry.js → p-8d0d99c9.entry.js} +2 -2
- package/dist/ui-library/{p-ce13acf3.entry.js → p-90462eea.entry.js} +2 -2
- package/dist/ui-library/p-99c8138a.entry.js +2 -0
- package/dist/ui-library/p-99c8138a.entry.js.map +1 -0
- package/dist/ui-library/{p-ffce31da.entry.js → p-9af41a65.entry.js} +2 -2
- package/dist/ui-library/{p-bfb398c6.entry.js → p-9c40c714.entry.js} +2 -2
- package/dist/ui-library/{p-0a6b6429.entry.js → p-a480590a.entry.js} +2 -2
- package/dist/ui-library/{p-ea854ec5.entry.js → p-aa980af9.entry.js} +2 -2
- package/dist/ui-library/{p-db193a32.entry.js → p-b5f193e8.entry.js} +2 -2
- package/dist/ui-library/{p-cd65e3b2.entry.js → p-b8b15329.entry.js} +2 -2
- package/dist/ui-library/{p-1cd09d9b.entry.js → p-c4045cb9.entry.js} +2 -2
- package/dist/ui-library/{p-e6efc08a.entry.js → p-c656cbbe.entry.js} +2 -2
- package/dist/ui-library/{p-cd79700c.entry.js → p-c71f6a4d.entry.js} +2 -2
- package/dist/ui-library/{p-6795e0a9.entry.js → p-c7860973.entry.js} +2 -2
- package/dist/ui-library/{p-e181944f.entry.js → p-cc5d6ffb.entry.js} +2 -2
- package/dist/ui-library/{p-870139dc.entry.js → p-d18354fa.entry.js} +2 -2
- package/dist/ui-library/p-d5ea5ee3.entry.js +2 -0
- package/dist/ui-library/p-df01fb64.entry.js +2 -0
- package/dist/ui-library/p-ed371177.entry.js +2 -0
- package/dist/ui-library/p-f206cd87.entry.js +2 -0
- package/dist/ui-library/p-f206cd87.entry.js.map +1 -0
- package/dist/ui-library/p-f5145520.entry.js +2 -0
- package/dist/ui-library/p-f5145520.entry.js.map +1 -0
- package/dist/ui-library/{p-7eb9ae75.entry.js → p-f90411a2.entry.js} +2 -2
- 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.cjs.entry.js.map +0 -1
- package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
- package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
- package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
- package/dist/components/six-header-item2.js +0 -39
- package/dist/components/six-header-item2.js.map +0 -1
- package/dist/components/six-logo2.js +0 -42
- package/dist/components/six-logo2.js.map +0 -1
- package/dist/esm/six-checkbox.entry.js.map +0 -1
- package/dist/esm/six-dropdown_3.entry.js.map +0 -1
- package/dist/esm/six-header-item_2.entry.js +0 -42
- package/dist/esm/six-header-item_2.entry.js.map +0 -1
- package/dist/ui-library/p-07b6203f.entry.js +0 -2
- package/dist/ui-library/p-14d09601.entry.js +0 -2
- package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
- package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
- package/dist/ui-library/p-2355c444.entry.js +0 -2
- package/dist/ui-library/p-30000e86.entry.js +0 -2
- package/dist/ui-library/p-30000e86.entry.js.map +0 -1
- package/dist/ui-library/p-4f129bb3.entry.js +0 -2
- package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
- package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
- package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
- package/dist/ui-library/p-5f491974.entry.js +0 -2
- package/dist/ui-library/p-5f491974.entry.js.map +0 -1
- package/dist/ui-library/p-62a1f514.entry.js +0 -2
- package/dist/ui-library/p-6513b8ce.entry.js +0 -2
- package/dist/ui-library/p-6ec126f7.entry.js +0 -2
- package/dist/ui-library/p-705e3612.entry.js +0 -2
- package/dist/ui-library/p-705e3612.entry.js.map +0 -1
- package/dist/ui-library/p-adc65fc8.entry.js +0 -2
- package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
- package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
- package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
- package/dist/ui-library/p-d67b8482.entry.js +0 -2
- /package/dist/ui-library/{p-1f7a0cb5.entry.js.map → p-0e3be65b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f12b22bc.entry.js.map → p-0ea87016.entry.js.map} +0 -0
- /package/dist/ui-library/{p-4d72b179.entry.js.map → p-107c1cc9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e1529ef6.entry.js.map → p-119e0252.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5fc9cd7b.entry.js.map → p-2dda9f79.entry.js.map} +0 -0
- /package/dist/ui-library/{p-49019d6c.entry.js.map → p-3362f0a6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-03acec96.entry.js.map → p-3de9f1dd.entry.js.map} +0 -0
- /package/dist/ui-library/{p-d67b8482.entry.js.map → p-4777053f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-618bf750.entry.js.map → p-484f68f9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6ec126f7.entry.js.map → p-4eb49fc9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5ece7986.entry.js.map → p-5236fc59.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f9a1f6ab.entry.js.map → p-5442fd21.entry.js.map} +0 -0
- /package/dist/ui-library/{p-4de4ee7a.entry.js.map → p-54713ac9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-07b6203f.entry.js.map → p-59c4dc13.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a20a702a.entry.js.map → p-7f3769d0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-06d562b7.entry.js.map → p-801c8ff4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-281ffc35.entry.js.map → p-88f4177a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-afb15ea4.entry.js.map → p-8d0d99c9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ce13acf3.entry.js.map → p-90462eea.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ffce31da.entry.js.map → p-9af41a65.entry.js.map} +0 -0
- /package/dist/ui-library/{p-bfb398c6.entry.js.map → p-9c40c714.entry.js.map} +0 -0
- /package/dist/ui-library/{p-0a6b6429.entry.js.map → p-a480590a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ea854ec5.entry.js.map → p-aa980af9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-db193a32.entry.js.map → p-b5f193e8.entry.js.map} +0 -0
- /package/dist/ui-library/{p-cd65e3b2.entry.js.map → p-b8b15329.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1cd09d9b.entry.js.map → p-c4045cb9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e6efc08a.entry.js.map → p-c656cbbe.entry.js.map} +0 -0
- /package/dist/ui-library/{p-cd79700c.entry.js.map → p-c71f6a4d.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6795e0a9.entry.js.map → p-c7860973.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e181944f.entry.js.map → p-cc5d6ffb.entry.js.map} +0 -0
- /package/dist/ui-library/{p-870139dc.entry.js.map → p-d18354fa.entry.js.map} +0 -0
- /package/dist/ui-library/{p-14d09601.entry.js.map → p-d5ea5ee3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6513b8ce.entry.js.map → p-df01fb64.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2355c444.entry.js.map → p-ed371177.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7eb9ae75.entry.js.map → p-f90411a2.entry.js.map} +0 -0
|
@@ -13,7 +13,6 @@ import { SixMenuItemData } from "./components/six-menu/six-menu";
|
|
|
13
13
|
import { SixDropdownAsyncFilterPayload, SixDropdownAutoFilterPayload, SixDropdownScrollPayload } from "./components/six-dropdown/six-dropdown";
|
|
14
14
|
import { SixFileListDownloadPayload, SixFileListRemovePayload } from "./components/six-file-list-item/six-file-list-item";
|
|
15
15
|
import { SixFileUploadFailurePayload, SixFileUploadSuccessPayload } from "./components/six-file-upload/six-file-upload";
|
|
16
|
-
import { SixHeaderAppSwitcherSelectPayload, SixHeaderProfileSelectPayload, SixHeaderSearchFieldToggle } from "./components/six-header/six-header";
|
|
17
16
|
import { SelectionRange, SelectionRangeDirection } from "./components/six-input/six-input";
|
|
18
17
|
import { ItemPickerPaddingDirection, ItemPickerType } from "./components/six-item-picker/types";
|
|
19
18
|
import { SixItemPickerChangePayload } from "./components/six-item-picker/six-item-picker";
|
|
@@ -34,7 +33,6 @@ export { SixMenuItemData } from "./components/six-menu/six-menu";
|
|
|
34
33
|
export { SixDropdownAsyncFilterPayload, SixDropdownAutoFilterPayload, SixDropdownScrollPayload } from "./components/six-dropdown/six-dropdown";
|
|
35
34
|
export { SixFileListDownloadPayload, SixFileListRemovePayload } from "./components/six-file-list-item/six-file-list-item";
|
|
36
35
|
export { SixFileUploadFailurePayload, SixFileUploadSuccessPayload } from "./components/six-file-upload/six-file-upload";
|
|
37
|
-
export { SixHeaderAppSwitcherSelectPayload, SixHeaderProfileSelectPayload, SixHeaderSearchFieldToggle } from "./components/six-header/six-header";
|
|
38
36
|
export { SelectionRange, SelectionRangeDirection } from "./components/six-input/six-input";
|
|
39
37
|
export { ItemPickerPaddingDirection, ItemPickerType } from "./components/six-item-picker/types";
|
|
40
38
|
export { SixItemPickerChangePayload } from "./components/six-item-picker/six-item-picker";
|
|
@@ -580,11 +578,6 @@ export namespace Components {
|
|
|
580
578
|
| 'left'
|
|
581
579
|
| 'left-start'
|
|
582
580
|
| 'left-end';
|
|
583
|
-
/**
|
|
584
|
-
* Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu is activated.
|
|
585
|
-
* @deprecated : use the property `matchTriggerWidth` instead.
|
|
586
|
-
*/
|
|
587
|
-
"reposition": () => Promise<void>;
|
|
588
581
|
/**
|
|
589
582
|
* Shows the dropdown panel
|
|
590
583
|
*/
|
|
@@ -742,45 +735,9 @@ export namespace Components {
|
|
|
742
735
|
*/
|
|
743
736
|
interface SixHeader {
|
|
744
737
|
/**
|
|
745
|
-
* Set
|
|
746
|
-
* @deprecated Use six-header `custom` property with `six-logo` instead
|
|
747
|
-
*/
|
|
748
|
-
"clickableLogo": boolean;
|
|
749
|
-
/**
|
|
750
|
-
* Set `custom` to `true` for complete control over the header content. When enabled, all other properties and slots are ignored. Use `six-header-item`, `six-header-dropdown-item` and `six-header-menu-button` to structure the content.
|
|
751
|
-
* @since 4.2.7
|
|
752
|
-
* @status beta
|
|
753
|
-
*/
|
|
754
|
-
"custom": boolean;
|
|
755
|
-
/**
|
|
756
|
-
* Get open state for search
|
|
757
|
-
* @deprecated Use six-header `custom` property instead
|
|
758
|
-
*/
|
|
759
|
-
"getIsSearchOpen": () => Promise<boolean>;
|
|
760
|
-
/**
|
|
761
|
-
* Set whether the hamburger menu should be visible or not
|
|
762
|
-
* @deprecated Use six-header `custom` property instead
|
|
763
|
-
*/
|
|
764
|
-
"hideHamburgerMenu": boolean;
|
|
765
|
-
/**
|
|
766
|
-
* The displayed logo. Either six or bme. Defaults to six.
|
|
767
|
-
* @deprecated Use six-header `custom` property with `six-logo` instead
|
|
768
|
-
*/
|
|
769
|
-
"logo": 'six' | 'bme';
|
|
770
|
-
/**
|
|
771
|
-
* Set the hamburger menu icon to open or closed state
|
|
772
|
-
* @deprecated Use six-header `custom` property instead
|
|
773
|
-
*/
|
|
774
|
-
"openHamburgerMenu": boolean;
|
|
775
|
-
/**
|
|
776
|
-
* Set the header search to be in an open or closed state. If `custom` is `true`, focuses the first `six-input` found in the search slot.
|
|
738
|
+
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
777
739
|
*/
|
|
778
740
|
"openSearch": boolean;
|
|
779
|
-
/**
|
|
780
|
-
* Sets open state for search
|
|
781
|
-
* @deprecated Use six-header `custom` property instead
|
|
782
|
-
*/
|
|
783
|
-
"setSearchOpenState": (openState: boolean) => Promise<void>;
|
|
784
741
|
/**
|
|
785
742
|
* Indicates if content should be shifted down when search field is visible.
|
|
786
743
|
*/
|
|
@@ -788,13 +745,21 @@ export namespace Components {
|
|
|
788
745
|
}
|
|
789
746
|
/**
|
|
790
747
|
* @since 4.2.7
|
|
791
|
-
* @status
|
|
748
|
+
* @status stable
|
|
792
749
|
*/
|
|
793
750
|
interface SixHeaderDropdownItem {
|
|
751
|
+
/**
|
|
752
|
+
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
753
|
+
*/
|
|
754
|
+
"filter": boolean;
|
|
755
|
+
/**
|
|
756
|
+
* The filter's placeholder text.
|
|
757
|
+
*/
|
|
758
|
+
"filterPlaceholder": string;
|
|
794
759
|
}
|
|
795
760
|
/**
|
|
796
761
|
* @since 4.2.7
|
|
797
|
-
* @status
|
|
762
|
+
* @status stable
|
|
798
763
|
*/
|
|
799
764
|
interface SixHeaderItem {
|
|
800
765
|
/**
|
|
@@ -804,13 +769,29 @@ export namespace Components {
|
|
|
804
769
|
}
|
|
805
770
|
/**
|
|
806
771
|
* @since 4.2.7
|
|
807
|
-
* @status
|
|
772
|
+
* @status stable
|
|
808
773
|
*/
|
|
809
774
|
interface SixHeaderMenuButton {
|
|
810
775
|
/**
|
|
811
|
-
*
|
|
776
|
+
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
812
777
|
*/
|
|
813
|
-
"
|
|
778
|
+
"caret": boolean;
|
|
779
|
+
/**
|
|
780
|
+
* Set to true to disable the button.
|
|
781
|
+
*/
|
|
782
|
+
"disabled": boolean;
|
|
783
|
+
/**
|
|
784
|
+
* Set to true to draw the button in a loading state.
|
|
785
|
+
*/
|
|
786
|
+
"loading": boolean;
|
|
787
|
+
/**
|
|
788
|
+
* Indicates if activating the button should reset the form.
|
|
789
|
+
*/
|
|
790
|
+
"reset": boolean;
|
|
791
|
+
/**
|
|
792
|
+
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
793
|
+
*/
|
|
794
|
+
"submit": boolean;
|
|
814
795
|
}
|
|
815
796
|
/**
|
|
816
797
|
* @since 1.0
|
|
@@ -1473,11 +1454,6 @@ export namespace Components {
|
|
|
1473
1454
|
* Set to render as line
|
|
1474
1455
|
*/
|
|
1475
1456
|
"line": boolean;
|
|
1476
|
-
/**
|
|
1477
|
-
* The maximum number of tags to show when `multiple` is true. After the maximum, "+n" will be shown to indicate the number of additional items that are selected. Set to -1 to remove the limit.
|
|
1478
|
-
* @deprecated : This property is ignored. The component now displays as many items as possible and computes the "+n" dynamically.
|
|
1479
|
-
*/
|
|
1480
|
-
"maxTagsVisible": number;
|
|
1481
1457
|
/**
|
|
1482
1458
|
* Set to true to enable multiselect.
|
|
1483
1459
|
*/
|
|
@@ -2135,10 +2111,6 @@ export interface SixFileUploadCustomEvent<T> extends CustomEvent<T> {
|
|
|
2135
2111
|
detail: T;
|
|
2136
2112
|
target: HTMLSixFileUploadElement;
|
|
2137
2113
|
}
|
|
2138
|
-
export interface SixHeaderCustomEvent<T> extends CustomEvent<T> {
|
|
2139
|
-
detail: T;
|
|
2140
|
-
target: HTMLSixHeaderElement;
|
|
2141
|
-
}
|
|
2142
2114
|
export interface SixInputCustomEvent<T> extends CustomEvent<T> {
|
|
2143
2115
|
detail: T;
|
|
2144
2116
|
target: HTMLSixInputElement;
|
|
@@ -2532,27 +2504,11 @@ declare global {
|
|
|
2532
2504
|
prototype: HTMLSixGroupLabelElement;
|
|
2533
2505
|
new (): HTMLSixGroupLabelElement;
|
|
2534
2506
|
};
|
|
2535
|
-
interface HTMLSixHeaderElementEventMap {
|
|
2536
|
-
"six-header-app-name-clicked": EmptyPayload;
|
|
2537
|
-
"six-header-app-switcher-select": SixHeaderAppSwitcherSelectPayload;
|
|
2538
|
-
"six-header-profile-select": SixHeaderProfileSelectPayload;
|
|
2539
|
-
"six-header-hamburger-menu-clicked": EmptyPayload;
|
|
2540
|
-
"six-header-logo-clicked": EmptyPayload;
|
|
2541
|
-
"six-header-search-field-toggle": SixHeaderSearchFieldToggle;
|
|
2542
|
-
}
|
|
2543
2507
|
/**
|
|
2544
2508
|
* @since 1.0
|
|
2545
2509
|
* @status stable
|
|
2546
2510
|
*/
|
|
2547
2511
|
interface HTMLSixHeaderElement extends Components.SixHeader, HTMLStencilElement {
|
|
2548
|
-
addEventListener<K extends keyof HTMLSixHeaderElementEventMap>(type: K, listener: (this: HTMLSixHeaderElement, ev: SixHeaderCustomEvent<HTMLSixHeaderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2549
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2550
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2551
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2552
|
-
removeEventListener<K extends keyof HTMLSixHeaderElementEventMap>(type: K, listener: (this: HTMLSixHeaderElement, ev: SixHeaderCustomEvent<HTMLSixHeaderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2553
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2554
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2555
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2556
2512
|
}
|
|
2557
2513
|
var HTMLSixHeaderElement: {
|
|
2558
2514
|
prototype: HTMLSixHeaderElement;
|
|
@@ -2560,7 +2516,7 @@ declare global {
|
|
|
2560
2516
|
};
|
|
2561
2517
|
/**
|
|
2562
2518
|
* @since 4.2.7
|
|
2563
|
-
* @status
|
|
2519
|
+
* @status stable
|
|
2564
2520
|
*/
|
|
2565
2521
|
interface HTMLSixHeaderDropdownItemElement extends Components.SixHeaderDropdownItem, HTMLStencilElement {
|
|
2566
2522
|
}
|
|
@@ -2570,7 +2526,7 @@ declare global {
|
|
|
2570
2526
|
};
|
|
2571
2527
|
/**
|
|
2572
2528
|
* @since 4.2.7
|
|
2573
|
-
* @status
|
|
2529
|
+
* @status stable
|
|
2574
2530
|
*/
|
|
2575
2531
|
interface HTMLSixHeaderItemElement extends Components.SixHeaderItem, HTMLStencilElement {
|
|
2576
2532
|
}
|
|
@@ -2580,7 +2536,7 @@ declare global {
|
|
|
2580
2536
|
};
|
|
2581
2537
|
/**
|
|
2582
2538
|
* @since 4.2.7
|
|
2583
|
-
* @status
|
|
2539
|
+
* @status stable
|
|
2584
2540
|
*/
|
|
2585
2541
|
interface HTMLSixHeaderMenuButtonElement extends Components.SixHeaderMenuButton, HTMLStencilElement {
|
|
2586
2542
|
}
|
|
@@ -3989,63 +3945,7 @@ declare namespace LocalJSX {
|
|
|
3989
3945
|
*/
|
|
3990
3946
|
interface SixHeader {
|
|
3991
3947
|
/**
|
|
3992
|
-
* Set
|
|
3993
|
-
* @deprecated Use six-header `custom` property with `six-logo` instead
|
|
3994
|
-
*/
|
|
3995
|
-
"clickableLogo"?: boolean;
|
|
3996
|
-
/**
|
|
3997
|
-
* Set `custom` to `true` for complete control over the header content. When enabled, all other properties and slots are ignored. Use `six-header-item`, `six-header-dropdown-item` and `six-header-menu-button` to structure the content.
|
|
3998
|
-
* @since 4.2.7
|
|
3999
|
-
* @status beta
|
|
4000
|
-
*/
|
|
4001
|
-
"custom"?: boolean;
|
|
4002
|
-
/**
|
|
4003
|
-
* Set whether the hamburger menu should be visible or not
|
|
4004
|
-
* @deprecated Use six-header `custom` property instead
|
|
4005
|
-
*/
|
|
4006
|
-
"hideHamburgerMenu"?: boolean;
|
|
4007
|
-
/**
|
|
4008
|
-
* The displayed logo. Either six or bme. Defaults to six.
|
|
4009
|
-
* @deprecated Use six-header `custom` property with `six-logo` instead
|
|
4010
|
-
*/
|
|
4011
|
-
"logo"?: 'six' | 'bme';
|
|
4012
|
-
/**
|
|
4013
|
-
* Emitted when the name of the selected app is clicked.
|
|
4014
|
-
* @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead
|
|
4015
|
-
*/
|
|
4016
|
-
"onSix-header-app-name-clicked"?: (event: SixHeaderCustomEvent<EmptyPayload>) => void;
|
|
4017
|
-
/**
|
|
4018
|
-
* Emitted when a menu item is in the app switcher menu is selected.
|
|
4019
|
-
* @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead
|
|
4020
|
-
*/
|
|
4021
|
-
"onSix-header-app-switcher-select"?: (event: SixHeaderCustomEvent<SixHeaderAppSwitcherSelectPayload>) => void;
|
|
4022
|
-
/**
|
|
4023
|
-
* Emitted when the hamburger menu is clicked.
|
|
4024
|
-
* @deprecated Use six-header `custom` property instead
|
|
4025
|
-
*/
|
|
4026
|
-
"onSix-header-hamburger-menu-clicked"?: (event: SixHeaderCustomEvent<EmptyPayload>) => void;
|
|
4027
|
-
/**
|
|
4028
|
-
* Emitted when the header logo is clicked.
|
|
4029
|
-
* @deprecated Use six-header `custom` property instead
|
|
4030
|
-
*/
|
|
4031
|
-
"onSix-header-logo-clicked"?: (event: SixHeaderCustomEvent<EmptyPayload>) => void;
|
|
4032
|
-
/**
|
|
4033
|
-
* Emitted when a menu item is in the profile menu is selected.
|
|
4034
|
-
* @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-avatar` instead
|
|
4035
|
-
*/
|
|
4036
|
-
"onSix-header-profile-select"?: (event: SixHeaderCustomEvent<SixHeaderProfileSelectPayload>) => void;
|
|
4037
|
-
/**
|
|
4038
|
-
* Emitted when search field is toggled.
|
|
4039
|
-
* @deprecated Use six-header `custom` property instead
|
|
4040
|
-
*/
|
|
4041
|
-
"onSix-header-search-field-toggle"?: (event: SixHeaderCustomEvent<SixHeaderSearchFieldToggle>) => void;
|
|
4042
|
-
/**
|
|
4043
|
-
* Set the hamburger menu icon to open or closed state
|
|
4044
|
-
* @deprecated Use six-header `custom` property instead
|
|
4045
|
-
*/
|
|
4046
|
-
"openHamburgerMenu"?: boolean;
|
|
4047
|
-
/**
|
|
4048
|
-
* Set the header search to be in an open or closed state. If `custom` is `true`, focuses the first `six-input` found in the search slot.
|
|
3948
|
+
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
4049
3949
|
*/
|
|
4050
3950
|
"openSearch"?: boolean;
|
|
4051
3951
|
/**
|
|
@@ -4055,13 +3955,21 @@ declare namespace LocalJSX {
|
|
|
4055
3955
|
}
|
|
4056
3956
|
/**
|
|
4057
3957
|
* @since 4.2.7
|
|
4058
|
-
* @status
|
|
3958
|
+
* @status stable
|
|
4059
3959
|
*/
|
|
4060
3960
|
interface SixHeaderDropdownItem {
|
|
3961
|
+
/**
|
|
3962
|
+
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
3963
|
+
*/
|
|
3964
|
+
"filter"?: boolean;
|
|
3965
|
+
/**
|
|
3966
|
+
* The filter's placeholder text.
|
|
3967
|
+
*/
|
|
3968
|
+
"filterPlaceholder"?: string;
|
|
4061
3969
|
}
|
|
4062
3970
|
/**
|
|
4063
3971
|
* @since 4.2.7
|
|
4064
|
-
* @status
|
|
3972
|
+
* @status stable
|
|
4065
3973
|
*/
|
|
4066
3974
|
interface SixHeaderItem {
|
|
4067
3975
|
/**
|
|
@@ -4071,13 +3979,29 @@ declare namespace LocalJSX {
|
|
|
4071
3979
|
}
|
|
4072
3980
|
/**
|
|
4073
3981
|
* @since 4.2.7
|
|
4074
|
-
* @status
|
|
3982
|
+
* @status stable
|
|
4075
3983
|
*/
|
|
4076
3984
|
interface SixHeaderMenuButton {
|
|
4077
3985
|
/**
|
|
4078
|
-
*
|
|
3986
|
+
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
4079
3987
|
*/
|
|
4080
|
-
"
|
|
3988
|
+
"caret"?: boolean;
|
|
3989
|
+
/**
|
|
3990
|
+
* Set to true to disable the button.
|
|
3991
|
+
*/
|
|
3992
|
+
"disabled"?: boolean;
|
|
3993
|
+
/**
|
|
3994
|
+
* Set to true to draw the button in a loading state.
|
|
3995
|
+
*/
|
|
3996
|
+
"loading"?: boolean;
|
|
3997
|
+
/**
|
|
3998
|
+
* Indicates if activating the button should reset the form.
|
|
3999
|
+
*/
|
|
4000
|
+
"reset"?: boolean;
|
|
4001
|
+
/**
|
|
4002
|
+
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
4003
|
+
*/
|
|
4004
|
+
"submit"?: boolean;
|
|
4081
4005
|
}
|
|
4082
4006
|
/**
|
|
4083
4007
|
* @since 1.0
|
|
@@ -4748,11 +4672,6 @@ declare namespace LocalJSX {
|
|
|
4748
4672
|
* Set to render as line
|
|
4749
4673
|
*/
|
|
4750
4674
|
"line"?: boolean;
|
|
4751
|
-
/**
|
|
4752
|
-
* The maximum number of tags to show when `multiple` is true. After the maximum, "+n" will be shown to indicate the number of additional items that are selected. Set to -1 to remove the limit.
|
|
4753
|
-
* @deprecated : This property is ignored. The component now displays as many items as possible and computes the "+n" dynamically.
|
|
4754
|
-
*/
|
|
4755
|
-
"maxTagsVisible"?: number;
|
|
4756
4675
|
/**
|
|
4757
4676
|
* Set to true to enable multiselect.
|
|
4758
4677
|
*/
|
|
@@ -5562,17 +5481,17 @@ declare module "@stencil/core" {
|
|
|
5562
5481
|
"six-header": LocalJSX.SixHeader & JSXBase.HTMLAttributes<HTMLSixHeaderElement>;
|
|
5563
5482
|
/**
|
|
5564
5483
|
* @since 4.2.7
|
|
5565
|
-
* @status
|
|
5484
|
+
* @status stable
|
|
5566
5485
|
*/
|
|
5567
5486
|
"six-header-dropdown-item": LocalJSX.SixHeaderDropdownItem & JSXBase.HTMLAttributes<HTMLSixHeaderDropdownItemElement>;
|
|
5568
5487
|
/**
|
|
5569
5488
|
* @since 4.2.7
|
|
5570
|
-
* @status
|
|
5489
|
+
* @status stable
|
|
5571
5490
|
*/
|
|
5572
5491
|
"six-header-item": LocalJSX.SixHeaderItem & JSXBase.HTMLAttributes<HTMLSixHeaderItemElement>;
|
|
5573
5492
|
/**
|
|
5574
5493
|
* @since 4.2.7
|
|
5575
|
-
* @status
|
|
5494
|
+
* @status stable
|
|
5576
5495
|
*/
|
|
5577
5496
|
"six-header-menu-button": LocalJSX.SixHeaderMenuButton & JSXBase.HTMLAttributes<HTMLSixHeaderMenuButtonElement>;
|
|
5578
5497
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r,h as o}from"./p-48118ce8.js";const a=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}: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}}";const e=a;const s=class{constructor(o){r(this,o);this.type="primary";this.pill=false;this.pulse=false}render(){return o("span",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r,h as o}from"./p-48118ce8.js";const a=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}: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}}";const e=a;const s=class{constructor(o){r(this,o);this.type="primary";this.pill=false;this.pulse=false}render(){return o("span",{key:"af8c1f6bf15fb2ef27a05bda206b18ad306bf168",part:"base",class:{badge:true,"badge--primary":this.type==="primary","badge--secondary":this.type==="secondary","badge--success":this.type==="success","badge--warning":this.type==="warning","badge--danger":this.type==="danger","badge--action":this.type==="action","badge--info":this.type==="info","badge--pill":this.pill,"badge--pulse":this.pulse},role:"status"},o("slot",{key:"59d58d613fb4665d0e7f03e21c43cd1300c00a19"}))}};s.style=e;export{s as six_badge};
|
|
2
|
+
//# sourceMappingURL=p-0e3be65b.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,g as r}from"./p-48118ce8.js";import{s}from"./p-8227aaed.js";function e(t,o,i={duration:150,easing:"ease",fill:"both"}){const r=o.getBoundingClientRect();const s=t.getBoundingClientRect();const e=r.left-s.left;const a=r.top-s.top;const l=r.width/s.width;const n=r.height/s.height;t.animate([{transformOrigin:"top left",transform:`translate(${e}px, ${a}px) scale(${l}, ${n})`},{transformOrigin:"top left",transform:"none"}],i)}const a=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block}.tab-group{display:flex;border:solid 1px transparent;border-radius:0}.tab-group .tab-group__tabs{display:flex;position:relative}.tab-group--has-scroll-controls .tab-group__nav-container{position:relative;padding:0 var(--six-spacing-x-large)}.tab-group__scroll-button{display:flex;align-items:center;justify-content:center;position:absolute;top:0;bottom:0;width:var(--six-spacing-x-large)}.tab-group__scroll-button--left{left:0}.tab-group__scroll-button--right{right:0}.tab-group--top{flex-direction:column}.tab-group--top .tab-group__nav-container{order:1}.tab-group--top .tab-group__nav{display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tab-group--top .tab-group__nav::-webkit-scrollbar{width:0;height:0}.tab-group--top .tab-group__tabs{flex:1 1 auto;position:relative;flex-direction:row}.tab-group--top .tab-group__body{order:2}.tab-group--bottom{flex-direction:column}.tab-group--bottom .tab-group__nav-container{order:2}.tab-group--bottom .tab-group__nav{display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tab-group--bottom .tab-group__nav::-webkit-scrollbar{width:0;height:0}.tab-group--bottom .tab-group__tabs{flex:1 1 auto;position:relative;flex-direction:row}.tab-group--bottom .tab-group__body{order:1}.tab-group--left{flex-direction:row}.tab-group--left .tab-group__nav-container{order:1}.tab-group--left .tab-group__tabs{flex:0 0 auto;flex-direction:column}.tab-group--left .tab-group__body{flex:1 1 auto;order:2}.tab-group--right{flex-direction:row}.tab-group--right .tab-group__nav-container{order:2}.tab-group--right .tab-group__tabs{flex:0 0 auto;flex-direction:column}.tab-group--right .tab-group__body{flex:1 1 auto;order:1}";const l=a;const n=class{constructor(i){t(this,i);this.sixTabShow=o(this,"six-tab-show",7);this.sixTabHide=o(this,"six-tab-hide",7);this.handleClick=t=>{const o=t.target;const i=o.closest("six-tab");const r=i===null||i===void 0?void 0:i.closest("six-tab-group");if(r!==this.host){return false}if(i!=null){this.setActiveTab(i)}};this.handleKeyDown=t=>{if(this.nav==null)return;const o=t.target;const i=o.closest("six-tab");const r=i===null||i===void 0?void 0:i.closest("six-tab-group");if(r!==this.host){return false}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const o=document.activeElement;if(o&&o.tagName.toLowerCase()==="six-tab"){const i=this.getAllTabs();let r=i.indexOf(o);if(t.key==="Home"){r=0}else if(t.key==="End"){r=i.length-1}else if(t.key==="ArrowLeft"){r=Math.max(0,r-1)}else if(t.key==="ArrowRight"){r=Math.min(i.length-1,r+1)}i[r].setFocus({preventScroll:true});this.setActiveTab(i[r]);if(["top","bottom"].includes(this.placement)){s(i[r],this.nav,"horizontal")}t.preventDefault()}}};this.handleScrollLeft=()=>{if(this.nav==null)return;this.nav.scroll({left:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})};this.handleScrollRight=()=>{if(this.nav==null)return;this.nav.scroll({left:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})};this.hasLeftControl=false;this.hasRightControl=false;this.placement="top";this.noScrollControls=false}handleNoScrollControlsChange(){this.updateScrollControls()}componentDidLoad(){if(this.tabGroup==null||this.nav==null)return;const t=new IntersectionObserver(((t,o)=>{if(t[0].intersectionRatio>0){this.setAriaLabels();this.setActiveTab(this.getActiveTab()||this.getAllTabs()[0],false);o.unobserve(t[0].target)}}));t.observe(this.host);this.resizeObserver=new ResizeObserver((()=>this.updateScrollControls()));this.resizeObserver.observe(this.nav);requestAnimationFrame((()=>this.updateScrollControls()));this.nav.addEventListener("scroll",(()=>{if(this.nav==null){return}this.hasRightControl=this.calculateRightControlVisibility();this.hasLeftControl=this.calculateLeftControlVisibility()}));this.mutationObserver=new MutationObserver((t=>{if(t.some((t=>{var o;return!["aria-labelledby","aria-controls"].includes((o=t.attributeName)!==null&&o!==void 0?o:"")}))){setTimeout((()=>this.setAriaLabels()))}}));this.mutationObserver.observe(this.host,{attributes:true,childList:true,subtree:true})}disconnectedCallback(){if(this.mutationObserver==null||this.tabGroup==null||this.nav==null||this.resizeObserver==null){return}this.mutationObserver.disconnect();this.resizeObserver.unobserve(this.nav)}async show(t){const o=this.getAllTabs();const i=o.find((o=>o.panel===t));if(i!=null){this.setActiveTab(i)}}getAllTabs(t=false){var o;const i=(o=this.tabs)===null||o===void 0?void 0:o.querySelector("slot");if(i==null)return[];return[...i.assignedElements()].filter((o=>t?o.tagName.toLowerCase()==="six-tab":o.tagName.toLowerCase()==="six-tab"&&!o.disabled))}getAllPanels(){var t;const o=(t=this.body)===null||t===void 0?void 0:t.querySelector("slot");if(o==null)return[];return[...o.assignedElements()].filter((t=>t.tagName.toLowerCase()==="six-tab-panel"))}getActiveTab(){return this.getAllTabs().find((t=>t.active))}calculateRightControlVisibility(){var t,o,i;if(this.nav==null){return false}return Math.abs((t=this.nav)===null||t===void 0?void 0:t.scrollLeft)+((o=this.nav)===null||o===void 0?void 0:o.clientWidth)<((i=this.nav)===null||i===void 0?void 0:i.scrollWidth)-1}calculateLeftControlVisibility(){var t;if(this.nav==null){return false}return Math.abs((t=this.nav)===null||t===void 0?void 0:t.scrollLeft)>0}updateScrollControls(){if(this.nav==null)return;this.hasRightControl=this.noScrollControls?false:["top","bottom"].includes(this.placement)&&this.calculateRightControlVisibility();this.hasLeftControl=this.noScrollControls?false:["top","bottom"].includes(this.placement)&&this.calculateLeftControlVisibility()}setActiveTab(t,o=true){var i,r,a;if(this.nav==null)return;const l=(i=t===null||t===void 0?void 0:t.shadowRoot)===null||i===void 0?void 0:i.querySelector(".tab__indicator");const n=(a=(r=this.getActiveTab())===null||r===void 0?void 0:r.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tab__indicator");if(n!=null&&l!=null){e(l,n)}if(t!==this.activeTab&&!t.disabled){const i=this.activeTab;this.activeTab=t;this.getAllTabs().map((t=>t.active=t===this.activeTab));this.getAllPanels().map((t=>{var o;return t.active=t.name===((o=this.activeTab)===null||o===void 0?void 0:o.panel)}));if(["top","bottom"].includes(this.placement)){s(this.activeTab,this.nav,"horizontal")}if(o){if(i!=null){this.sixTabHide.emit({name:i.panel})}this.sixTabShow.emit({name:this.activeTab.panel})}}}setAriaLabels(){const t=this.getAllTabs();const o=this.getAllPanels();t.map((t=>{var i,r;const s=o.find((o=>o.name===t.panel));if(s!=null){t.setAttribute("aria-controls",(i=s.getAttribute("id"))!==null&&i!==void 0?i:"");s.setAttribute("aria-labelledby",(r=t.getAttribute("id"))!==null&&r!==void 0?r:"")}}))}render(){return i("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as o,h as i,g as r}from"./p-48118ce8.js";import{s}from"./p-8227aaed.js";function e(t,o,i={duration:150,easing:"ease",fill:"both"}){const r=o.getBoundingClientRect();const s=t.getBoundingClientRect();const e=r.left-s.left;const a=r.top-s.top;const l=r.width/s.width;const n=r.height/s.height;t.animate([{transformOrigin:"top left",transform:`translate(${e}px, ${a}px) scale(${l}, ${n})`},{transformOrigin:"top left",transform:"none"}],i)}const a=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block}.tab-group{display:flex;border:solid 1px transparent;border-radius:0}.tab-group .tab-group__tabs{display:flex;position:relative}.tab-group--has-scroll-controls .tab-group__nav-container{position:relative;padding:0 var(--six-spacing-x-large)}.tab-group__scroll-button{display:flex;align-items:center;justify-content:center;position:absolute;top:0;bottom:0;width:var(--six-spacing-x-large)}.tab-group__scroll-button--left{left:0}.tab-group__scroll-button--right{right:0}.tab-group--top{flex-direction:column}.tab-group--top .tab-group__nav-container{order:1}.tab-group--top .tab-group__nav{display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tab-group--top .tab-group__nav::-webkit-scrollbar{width:0;height:0}.tab-group--top .tab-group__tabs{flex:1 1 auto;position:relative;flex-direction:row}.tab-group--top .tab-group__body{order:2}.tab-group--bottom{flex-direction:column}.tab-group--bottom .tab-group__nav-container{order:2}.tab-group--bottom .tab-group__nav{display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tab-group--bottom .tab-group__nav::-webkit-scrollbar{width:0;height:0}.tab-group--bottom .tab-group__tabs{flex:1 1 auto;position:relative;flex-direction:row}.tab-group--bottom .tab-group__body{order:1}.tab-group--left{flex-direction:row}.tab-group--left .tab-group__nav-container{order:1}.tab-group--left .tab-group__tabs{flex:0 0 auto;flex-direction:column}.tab-group--left .tab-group__body{flex:1 1 auto;order:2}.tab-group--right{flex-direction:row}.tab-group--right .tab-group__nav-container{order:2}.tab-group--right .tab-group__tabs{flex:0 0 auto;flex-direction:column}.tab-group--right .tab-group__body{flex:1 1 auto;order:1}";const l=a;const n=class{constructor(i){t(this,i);this.sixTabShow=o(this,"six-tab-show",7);this.sixTabHide=o(this,"six-tab-hide",7);this.handleClick=t=>{const o=t.target;const i=o.closest("six-tab");const r=i===null||i===void 0?void 0:i.closest("six-tab-group");if(r!==this.host){return false}if(i!=null){this.setActiveTab(i)}};this.handleKeyDown=t=>{if(this.nav==null)return;const o=t.target;const i=o.closest("six-tab");const r=i===null||i===void 0?void 0:i.closest("six-tab-group");if(r!==this.host){return false}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){const o=document.activeElement;if(o&&o.tagName.toLowerCase()==="six-tab"){const i=this.getAllTabs();let r=i.indexOf(o);if(t.key==="Home"){r=0}else if(t.key==="End"){r=i.length-1}else if(t.key==="ArrowLeft"){r=Math.max(0,r-1)}else if(t.key==="ArrowRight"){r=Math.min(i.length-1,r+1)}i[r].setFocus({preventScroll:true});this.setActiveTab(i[r]);if(["top","bottom"].includes(this.placement)){s(i[r],this.nav,"horizontal")}t.preventDefault()}}};this.handleScrollLeft=()=>{if(this.nav==null)return;this.nav.scroll({left:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})};this.handleScrollRight=()=>{if(this.nav==null)return;this.nav.scroll({left:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})};this.hasLeftControl=false;this.hasRightControl=false;this.placement="top";this.noScrollControls=false}handleNoScrollControlsChange(){this.updateScrollControls()}componentDidLoad(){if(this.tabGroup==null||this.nav==null)return;const t=new IntersectionObserver(((t,o)=>{if(t[0].intersectionRatio>0){this.setAriaLabels();this.setActiveTab(this.getActiveTab()||this.getAllTabs()[0],false);o.unobserve(t[0].target)}}));t.observe(this.host);this.resizeObserver=new ResizeObserver((()=>this.updateScrollControls()));this.resizeObserver.observe(this.nav);requestAnimationFrame((()=>this.updateScrollControls()));this.nav.addEventListener("scroll",(()=>{if(this.nav==null){return}this.hasRightControl=this.calculateRightControlVisibility();this.hasLeftControl=this.calculateLeftControlVisibility()}));this.mutationObserver=new MutationObserver((t=>{if(t.some((t=>{var o;return!["aria-labelledby","aria-controls"].includes((o=t.attributeName)!==null&&o!==void 0?o:"")}))){setTimeout((()=>this.setAriaLabels()))}}));this.mutationObserver.observe(this.host,{attributes:true,childList:true,subtree:true})}disconnectedCallback(){if(this.mutationObserver==null||this.tabGroup==null||this.nav==null||this.resizeObserver==null){return}this.mutationObserver.disconnect();this.resizeObserver.unobserve(this.nav)}async show(t){const o=this.getAllTabs();const i=o.find((o=>o.panel===t));if(i!=null){this.setActiveTab(i)}}getAllTabs(t=false){var o;const i=(o=this.tabs)===null||o===void 0?void 0:o.querySelector("slot");if(i==null)return[];return[...i.assignedElements()].filter((o=>t?o.tagName.toLowerCase()==="six-tab":o.tagName.toLowerCase()==="six-tab"&&!o.disabled))}getAllPanels(){var t;const o=(t=this.body)===null||t===void 0?void 0:t.querySelector("slot");if(o==null)return[];return[...o.assignedElements()].filter((t=>t.tagName.toLowerCase()==="six-tab-panel"))}getActiveTab(){return this.getAllTabs().find((t=>t.active))}calculateRightControlVisibility(){var t,o,i;if(this.nav==null){return false}return Math.abs((t=this.nav)===null||t===void 0?void 0:t.scrollLeft)+((o=this.nav)===null||o===void 0?void 0:o.clientWidth)<((i=this.nav)===null||i===void 0?void 0:i.scrollWidth)-1}calculateLeftControlVisibility(){var t;if(this.nav==null){return false}return Math.abs((t=this.nav)===null||t===void 0?void 0:t.scrollLeft)>0}updateScrollControls(){if(this.nav==null)return;this.hasRightControl=this.noScrollControls?false:["top","bottom"].includes(this.placement)&&this.calculateRightControlVisibility();this.hasLeftControl=this.noScrollControls?false:["top","bottom"].includes(this.placement)&&this.calculateLeftControlVisibility()}setActiveTab(t,o=true){var i,r,a;if(this.nav==null)return;const l=(i=t===null||t===void 0?void 0:t.shadowRoot)===null||i===void 0?void 0:i.querySelector(".tab__indicator");const n=(a=(r=this.getActiveTab())===null||r===void 0?void 0:r.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tab__indicator");if(n!=null&&l!=null){e(l,n)}if(t!==this.activeTab&&!t.disabled){const i=this.activeTab;this.activeTab=t;this.getAllTabs().map((t=>t.active=t===this.activeTab));this.getAllPanels().map((t=>{var o;return t.active=t.name===((o=this.activeTab)===null||o===void 0?void 0:o.panel)}));if(["top","bottom"].includes(this.placement)){s(this.activeTab,this.nav,"horizontal")}if(o){if(i!=null){this.sixTabHide.emit({name:i.panel})}this.sixTabShow.emit({name:this.activeTab.panel})}}}setAriaLabels(){const t=this.getAllTabs();const o=this.getAllPanels();t.map((t=>{var i,r;const s=o.find((o=>o.name===t.panel));if(s!=null){t.setAttribute("aria-controls",(i=s.getAttribute("id"))!==null&&i!==void 0?i:"");s.setAttribute("aria-labelledby",(r=t.getAttribute("id"))!==null&&r!==void 0?r:"")}}))}render(){return i("div",{key:"9752b81f3babdcbe656cc5552b7c07c7cc096d8d",part:"base",ref:t=>this.tabGroup=t,class:{"tab-group":true,"tab-group--top":this.placement==="top","tab-group--bottom":this.placement==="bottom","tab-group--left":this.placement==="left","tab-group--right":this.placement==="right","tab-group--has-scroll-controls":this.hasRightControl||this.hasLeftControl},onClick:this.handleClick,onKeyDown:this.handleKeyDown},i("div",{key:"d96c9094ddc1a9cd6ad9ac9c5ab559ac703ccd6e",class:"tab-group__nav-container"},this.hasLeftControl&&i("six-icon-button",{key:"0e355b7d602b3178a5c99a818780fef140119f81",class:"tab-group__scroll-button tab-group__scroll-button--left",exportparts:"base:scroll-button",name:"chevron_left",onClick:this.handleScrollLeft}),i("div",{ref:t=>this.nav=t,key:"nav",part:"nav",class:"tab-group__nav"},i("div",{key:"dce5e155787ddc97e00d285dc76f3b502b46b35f",ref:t=>this.tabs=t,part:"tabs",class:"tab-group__tabs",role:"tablist"},i("slot",{key:"dfcc4786a1273194d6769438b47b42543806ff14",name:"nav"}))),this.hasRightControl&&i("six-icon-button",{key:"3c4b965f9beb5229b702e808cfabbb99e7e577a4",class:"tab-group__scroll-button tab-group__scroll-button--right",exportparts:"base:scroll-button",name:"chevron_right",onClick:this.handleScrollRight})),i("div",{key:"b4dd8c577928e1b67c7307f40c37360dc5faa76a",ref:t=>this.body=t,part:"body",class:"tab-group__body"},i("slot",{key:"0e0f770235bfb838d1994db5dbf3504c66749e8e"})))}get host(){return r(this)}static get watchers(){return{noScrollControls:["handleNoScrollControlsChange"]}}};n.style=l;export{n as six_tab_group};
|
|
2
|
+
//# sourceMappingURL=p-0ea87016.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as a,h as i,H as s,g as o}from"./p-48118ce8.js";const e=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:flex}.tab{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-semibold);color:var(--six-tab-color);padding:var(--six-spacing-medium) var(--six-spacing-large);white-space:nowrap;user-select:none;cursor:pointer;width:100%}.tab:focus{outline:none}.tab:focus-visible{outline:var(--six-focus-ring);outline-offset:calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset))}.tab.tab--active:not(.tab--disabled){color:var(--six-tab-color-active);font-weight:var(--six-font-weight-bold)}.tab.tab--closable{padding-right:var(--six-spacing-small)}.tab.tab--disabled{color:var(--six-tab-color-disabled);cursor:not-allowed}.tab:hover:not(.tab--disabled){color:var(--six-tab-color-hover)}.tab__close-button{font-size:var(--six-font-size-large);margin-left:var(--six-spacing-xx-small)}.tab__close-button::part(base){padding:var(--six-spacing-xxx-small)}.tab__indicator{position:absolute}.tab__indicator.tab__indicator--active{background-color:var(--six-tab-border-color-active)}.tab--top{margin-bottom:var(--six-spacing-xxx-small)}.tab__indicator--top{width:100%;bottom:0;height:var(--six-tab-border-width)}.tab--bottom{margin-top:var(--six-spacing-xxx-small)}.tab__indicator--bottom{width:100%;top:0;height:var(--six-tab-border-width)}.tab--left{margin-right:var(--six-spacing-xxx-small)}.tab__indicator--left{height:100%;right:0;top:0;width:var(--six-tab-border-width)}.tab--right{margin-left:var(--six-spacing-xxx-small)}.tab__indicator--right{height:100%;left:0;top:0;width:var(--six-tab-border-width)}";const r=e;let b=0;const
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as a,h as i,H as s,g as o}from"./p-48118ce8.js";const e=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:flex}.tab{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-semibold);color:var(--six-tab-color);padding:var(--six-spacing-medium) var(--six-spacing-large);white-space:nowrap;user-select:none;cursor:pointer;width:100%}.tab:focus{outline:none}.tab:focus-visible{outline:var(--six-focus-ring);outline-offset:calc(-1 * var(--six-focus-ring-width) - var(--six-focus-ring-offset))}.tab.tab--active:not(.tab--disabled){color:var(--six-tab-color-active);font-weight:var(--six-font-weight-bold)}.tab.tab--closable{padding-right:var(--six-spacing-small)}.tab.tab--disabled{color:var(--six-tab-color-disabled);cursor:not-allowed}.tab:hover:not(.tab--disabled){color:var(--six-tab-color-hover)}.tab__close-button{font-size:var(--six-font-size-large);margin-left:var(--six-spacing-xx-small)}.tab__close-button::part(base){padding:var(--six-spacing-xxx-small)}.tab__indicator{position:absolute}.tab__indicator.tab__indicator--active{background-color:var(--six-tab-border-color-active)}.tab--top{margin-bottom:var(--six-spacing-xxx-small)}.tab__indicator--top{width:100%;bottom:0;height:var(--six-tab-border-width)}.tab--bottom{margin-top:var(--six-spacing-xxx-small)}.tab__indicator--bottom{width:100%;top:0;height:var(--six-tab-border-width)}.tab--left{margin-right:var(--six-spacing-xxx-small)}.tab__indicator--left{height:100%;right:0;top:0;width:var(--six-tab-border-width)}.tab--right{margin-left:var(--six-spacing-xxx-small)}.tab__indicator--right{height:100%;left:0;top:0;width:var(--six-tab-border-width)}";const r=e;let b=0;const c=class{constructor(i){t(this,i);this.sixClose=a(this,"six-tab-close",7);this.componentId=`tab-${++b}`;this.panel="";this.active=false;this.closable=false;this.disabled=false}connectedCallback(){this.handleCloseClick=this.handleCloseClick.bind(this)}async setFocus(t){var a;(a=this.tab)===null||a===void 0?void 0:a.focus(t)}async removeFocus(){var t;(t=this.tab)===null||t===void 0?void 0:t.blur()}handleCloseClick(){this.sixClose.emit()}render(){var t;const a=this.host.closest("six-tab-group");const o=(t=a===null||a===void 0?void 0:a.placement)!==null&&t!==void 0?t:"top";return i(s,{key:"1d9448f852c5350d3cb627647ffc3466f7281298",id:this.host.id||this.componentId},i("div",{key:"cc330a70be98dbdccdb89e1c5b035cb2bc761dbd",part:"base",ref:t=>this.tab=t,class:{tab:true,"tab--top":o==="top","tab--bottom":o==="bottom","tab--left":o==="left","tab--right":o==="right","tab--active":this.active,"tab--closable":this.closable,"tab--disabled":this.disabled},role:"tab","aria-disabled":this.disabled?"true":"false","aria-selected":this.active?"true":"false",tabindex:this.disabled||!this.active?"-1":"0"},i("slot",{key:"4551c8b03d17a513c95734f648536e9cae077d33"}),this.closable&&i("six-icon-button",{key:"8ac44e41d48ae15e0ba57c0965f0c98df1d12b30",name:"close",size:"xSmall",exportparts:"base:close-button",class:"tab__close-button",onClick:this.handleCloseClick,tabIndex:-1,"aria-hidden":"true"})),i("div",{key:"a138cc0729964dc801f620a48513b312874a36fb",part:this.active?"active-tab-indicator":"",class:{tab__indicator:true,"tab__indicator--active":this.active,"tab__indicator--top":o==="top","tab__indicator--bottom":o==="bottom","tab__indicator--left":o==="left","tab__indicator--right":o==="right"}}))}get host(){return o(this)}};c.style=r;export{c as six_tab};
|
|
2
|
+
//# sourceMappingURL=p-107c1cc9.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,c as o,h as e,g as r}from"./p-48118ce8.js";import{E as t}from"./p-8bfb4bfc.js";const s=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block}.radio{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}.radio__icon{display:inline-flex;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size)}.radio__icon svg{width:100%;height:100%}.radio__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:50%;background-color:var(--six-input-background-color);color:transparent;transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) box-shadow}.radio__control input[type=radio]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}.radio:not(.radio--checked):not(.radio--disabled) .radio__control:hover{border-color:var(--six-input-border-color-hover)}.radio--checked .radio__control{color:var(--six-selection-control-color);border-color:var(--six-selection-control-color)}.radio.radio--checked:not(.radio--disabled) .radio__control:hover{color:var(--six-input-border-color-focus);border-color:var(--six-input-border-color-focus)}.radio--disabled{cursor:not-allowed;color:var(--six-input-color-disabled)}.radio--disabled .radio__control{border-color:var(--six-input-border-color-disabled)}.radio--disabled.radio--checked .radio__control{color:var(--six-selection-control-color-disabled)}.radio__label{line-height:var(--six-selection-control-toggle-size);margin-left:0.5em;user-select:none}";const a=s;let
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,c as o,h as e,g as r}from"./p-48118ce8.js";import{E as t}from"./p-8bfb4bfc.js";const s=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block}.radio{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}.radio__icon{display:inline-flex;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size)}.radio__icon svg{width:100%;height:100%}.radio__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:50%;background-color:var(--six-input-background-color);color:transparent;transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) box-shadow}.radio__control input[type=radio]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}.radio:not(.radio--checked):not(.radio--disabled) .radio__control:hover{border-color:var(--six-input-border-color-hover)}.radio--checked .radio__control{color:var(--six-selection-control-color);border-color:var(--six-selection-control-color)}.radio.radio--checked:not(.radio--disabled) .radio__control:hover{color:var(--six-input-border-color-focus);border-color:var(--six-input-border-color-focus)}.radio--disabled{cursor:not-allowed;color:var(--six-input-color-disabled)}.radio--disabled .radio__control{border-color:var(--six-input-border-color-disabled)}.radio--disabled.radio--checked .radio__control{color:var(--six-selection-control-color-disabled)}.radio__label{line-height:var(--six-selection-control-toggle-size);margin-left:0.5em;user-select:none}";const a=s;let c=0;const l=class{constructor(e){i(this,e);this.sixBlur=o(this,"six-radio-blur",7);this.sixChange=o(this,"six-radio-change",7);this.sixFocus=o(this,"six-radio-focus",7);this.inputId=`radio-${++c}`;this.labelId=`radio-label-${c}`;this.eventListeners=new t;this.handleClick=()=>{if(this.nativeInput!=null){this.checked=this.nativeInput.checked;this.sixChange.emit()}};this.handleBlur=()=>{this.hasFocus=false;this.sixBlur.emit()};this.handleFocus=()=>{this.hasFocus=true;this.sixFocus.emit()};this.handleKeyDown=i=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(i.key)){const o=this.getAllRadios().filter((i=>!i.disabled));const e=["ArrowUp","ArrowLeft"].includes(i.key)?-1:1;let r=o.indexOf(this.host)+e;if(r<0)r=o.length-1;if(r>o.length-1)r=0;this.getAllRadios().forEach((i=>i.checked=false));o[r].setFocus();o[r].checked=true;o[r].dispatchEvent(new CustomEvent("six-radio-change",{bubbles:true,cancelable:true}));i.preventDefault()}};this.handleMouseDown=i=>{var o;i.preventDefault();(o=this.nativeInput)===null||o===void 0?void 0:o.focus()};this.hasFocus=false;this.name="";this.value="on";this.disabled=false;this.checked=false;this.invalid=false}handleCheckedChange(){if(this.checked){this.getSiblingRadios().forEach((i=>i.checked=false))}if(this.nativeInput!=null){this.nativeInput.checked=this.checked}}handleNameChange(i){if(this.nativeInput!=null){this.nativeInput.name=i}}connectedCallback(){this.eventListeners.forward("six-radio-change","change",this.host);this.eventListeners.forward("six-radio-blur","blur",this.host);this.eventListeners.forward("six-radio-focus","focus",this.host)}disconnectedCallback(){this.eventListeners.removeAll()}async setFocus(i){var o;(o=this.nativeInput)===null||o===void 0?void 0:o.focus(i)}async removeFocus(){var i;(i=this.nativeInput)===null||i===void 0?void 0:i.blur()}getAllRadios(){const i=this.host.closest("form")||document.body;if(this.name==="")return[];return[...i.querySelectorAll("six-radio")].filter((i=>i.name===this.name))}getSiblingRadios(){return this.getAllRadios().filter((i=>i!==this.host))}render(){return e("label",{key:"161f926ba9dac8cfd1ac2136d6df8020144154d2",part:"base",class:{radio:true,"radio--checked":this.checked,"radio--disabled":this.disabled,"radio--focused":this.hasFocus},htmlFor:this.inputId,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown},e("span",{key:"4e0e1c1f5ca86f4c166a7c7fa2c92da01d9bb8d3",part:"control",class:"radio__control"},e("span",{key:"1f36dab715db65562a15c6279f2c1db7a1884429",part:"checked-icon",class:"radio__icon"},e("svg",{key:"da94e693fcb2588d25639568e0f8c4cf0f657c5a",viewBox:"0 0 16 16"},e("g",{key:"8a2b59ac79f6f3b6d06abbb1018c842d9f569fa5",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},e("g",{key:"200348293cce5552ddafd769431836d20bd93978",fill:"currentColor"},e("circle",{key:"4678277115274c01a2cc8727ac2a0cc82578c239",cx:"8",cy:"8",r:"5"}))))),e("input",{key:"3fedc2104064ceb903946bc9bc40c783580e5df7",ref:i=>this.nativeInput=i,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})),e("span",{key:"3f736251b5c860655af87113b5e2188199491f0e",part:"label",id:this.labelId,class:"radio__label"},e("slot",{key:"32b6952ea80099d1250735f24986f848e21750e2"})))}get host(){return r(this)}static get watchers(){return{checked:["handleCheckedChange"],name:["handleNameChange"]}}};l.style=a;export{l as six_radio};
|
|
2
|
+
//# sourceMappingURL=p-119e0252.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as i,c as s,h as t}from"./p-48118ce8.js";import{s as e}from"./p-8227aaed.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;height:100%}.sidebar__container{height:100%;overflow:auto}.sidebar__container.sidebar--open{border-right:1px solid var(--six-color-web-rock-300)}.sidebar__container:not(.sidebar--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.sidebar--left{color:var(--six-sidebar-color);background-color:var(--six-sidebar-background-color);transition:var(--six-transition-medium) margin-left;background-size:300vw 70%;background-position:bottom;background-repeat:no-repeat}.sidebar--right{transition:var(--six-transition-medium) margin-right}.sidebar--open.sidebar--left{margin-right:2px}.sidebar--open.sidebar--right{margin-left:2px}";const r=o;const n=i=>{var s;return((s=i===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase())==="six-sidebar-item-group"};const a=class{constructor(t){i(this,t);this.sixShow=s(this,"six-sidebar-show",7);this.sixAfterShow=s(this,"six-sidebar-after-show",7);this.sixHide=s(this,"six-sidebar-hide",7);this.sixAfterHide=s(this,"six-sidebar-after-hide",7);this.sixInitialFocus=s(this,"six-sidebar-initial-focus",7);this.willShow=false;this.willHide=false;this.handleTransitionEnd=i=>{const s=i.target;if(i.type==="transitionend"&&s.classList.contains("sidebar__container")){this.resetTransitionVariables()}};this.closeSiblingDetailsOnShow=i=>{const s=i.target;if(this.sidebar!=null){e(s,this.sidebar)}const t=i=>{var t;let e=s;while(i(e)!=null){e=i(e);if(n(e)){const i=(t=e===null||e===void 0?void 0:e.shadowRoot)===null||t===void 0?void 0:t.querySelector("six-details");if(i!=null){i.open=false}}}};t((i=>i===null||i===void 0?void 0:i.previousElementSibling));t((i=>i===null||i===void 0?void 0:i.nextElementSibling))};this.isVisible=false;this.position="left";this.open=false;this.width="16rem";this.toggled=false}handleOpenChange(){this.open?this.show():this.hide()}componentWillLoad(){if(this.open){void this.show();this.resetTransitionVariables()}}componentDidRender(){this.setupTogglableMenuItems()}disconnectedCallback(){var i;(i=this.sidebar)===null||i===void 0?void 0:i.removeEventListener("six-details-show",this.closeSiblingDetailsOnShow)}setupTogglableMenuItems(){if(!this.toggled||this.sidebar==null)return;this.markAllMenuItemsAsSelectableEmpty();this.sidebar.addEventListener("six-details-show",this.closeSiblingDetailsOnShow)}markAllMenuItemsAsSelectableEmpty(){var i;const s=(i=this.sidebar)===null||i===void 0?void 0:i.querySelector("slot");const t=(s===null||s===void 0?void 0:s.assignedElements())||[];const e=[];while(t.length>0){const i=t.pop();if((i===null||i===void 0?void 0:i.shadowRoot)==null){continue}const s=i.shadowRoot.querySelectorAll("six-details");e.push(...s);const o=Array.from(i.children).filter(n);t.push(...o)}e.forEach((i=>i.selectableEmpty=true))}async toggle(){if(this.willShow||this.willHide){return}if(this.open){await this.hide()}else{await this.show()}}async show(){if(this.willShow){return}const i=this.sixShow.emit();if(i.defaultPrevented){this.open=false;return}this.willShow=true;this.isVisible=true;this.open=true}async hide(){if(this.willHide){return}const i=this.sixHide.emit();if(i.defaultPrevented){this.open=true;return}this.willHide=true;this.open=false}async selectItemByIndex(i){if(this.sidebar==null)return;const s=this.sidebar.querySelector("slot");const t=((s===null||s===void 0?void 0:s.assignedElements())||[]).flatMap((i=>{var s;const t=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelector("six-details");if(t==null){return[]}return[t]}));if(i<0||i>t.length-1){console.error(`Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${i}`);return}await t[i].show()}async selectItemByName(i){var s,t,e;const o=(s=this.sidebar)===null||s===void 0?void 0:s.querySelector("slot");const r=o===null||o===void 0?void 0:o.assignedElements();if(r==null){return}const n=r.findIndex((s=>(s===null||s===void 0?void 0:s.name)===i));const a=(e=(t=r.at(n))===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-details");await(a===null||a===void 0?void 0:a.show())}resetTransitionVariables(){this.isVisible=this.open;this.willShow=false;this.willHide=false;this.open?this.sixAfterShow.emit():this.sixAfterHide.emit()}render(){return t("host",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as i,c as s,h as t}from"./p-48118ce8.js";import{s as e}from"./p-8227aaed.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;height:100%}.sidebar__container{height:100%;overflow:auto}.sidebar__container.sidebar--open{border-right:1px solid var(--six-color-web-rock-300)}.sidebar__container:not(.sidebar--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.sidebar--left{color:var(--six-sidebar-color);background-color:var(--six-sidebar-background-color);transition:var(--six-transition-medium) margin-left;background-size:300vw 70%;background-position:bottom;background-repeat:no-repeat}.sidebar--right{transition:var(--six-transition-medium) margin-right}.sidebar--open.sidebar--left{margin-right:2px}.sidebar--open.sidebar--right{margin-left:2px}";const r=o;const n=i=>{var s;return((s=i===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase())==="six-sidebar-item-group"};const a=class{constructor(t){i(this,t);this.sixShow=s(this,"six-sidebar-show",7);this.sixAfterShow=s(this,"six-sidebar-after-show",7);this.sixHide=s(this,"six-sidebar-hide",7);this.sixAfterHide=s(this,"six-sidebar-after-hide",7);this.sixInitialFocus=s(this,"six-sidebar-initial-focus",7);this.willShow=false;this.willHide=false;this.handleTransitionEnd=i=>{const s=i.target;if(i.type==="transitionend"&&s.classList.contains("sidebar__container")){this.resetTransitionVariables()}};this.closeSiblingDetailsOnShow=i=>{const s=i.target;if(this.sidebar!=null){e(s,this.sidebar)}const t=i=>{var t;let e=s;while(i(e)!=null){e=i(e);if(n(e)){const i=(t=e===null||e===void 0?void 0:e.shadowRoot)===null||t===void 0?void 0:t.querySelector("six-details");if(i!=null){i.open=false}}}};t((i=>i===null||i===void 0?void 0:i.previousElementSibling));t((i=>i===null||i===void 0?void 0:i.nextElementSibling))};this.isVisible=false;this.position="left";this.open=false;this.width="16rem";this.toggled=false}handleOpenChange(){this.open?this.show():this.hide()}componentWillLoad(){if(this.open){void this.show();this.resetTransitionVariables()}}componentDidRender(){this.setupTogglableMenuItems()}disconnectedCallback(){var i;(i=this.sidebar)===null||i===void 0?void 0:i.removeEventListener("six-details-show",this.closeSiblingDetailsOnShow)}setupTogglableMenuItems(){if(!this.toggled||this.sidebar==null)return;this.markAllMenuItemsAsSelectableEmpty();this.sidebar.addEventListener("six-details-show",this.closeSiblingDetailsOnShow)}markAllMenuItemsAsSelectableEmpty(){var i;const s=(i=this.sidebar)===null||i===void 0?void 0:i.querySelector("slot");const t=(s===null||s===void 0?void 0:s.assignedElements())||[];const e=[];while(t.length>0){const i=t.pop();if((i===null||i===void 0?void 0:i.shadowRoot)==null){continue}const s=i.shadowRoot.querySelectorAll("six-details");e.push(...s);const o=Array.from(i.children).filter(n);t.push(...o)}e.forEach((i=>i.selectableEmpty=true))}async toggle(){if(this.willShow||this.willHide){return}if(this.open){await this.hide()}else{await this.show()}}async show(){if(this.willShow){return}const i=this.sixShow.emit();if(i.defaultPrevented){this.open=false;return}this.willShow=true;this.isVisible=true;this.open=true}async hide(){if(this.willHide){return}const i=this.sixHide.emit();if(i.defaultPrevented){this.open=true;return}this.willHide=true;this.open=false}async selectItemByIndex(i){if(this.sidebar==null)return;const s=this.sidebar.querySelector("slot");const t=((s===null||s===void 0?void 0:s.assignedElements())||[]).flatMap((i=>{var s;const t=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelector("six-details");if(t==null){return[]}return[t]}));if(i<0||i>t.length-1){console.error(`Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${i}`);return}await t[i].show()}async selectItemByName(i){var s,t,e;const o=(s=this.sidebar)===null||s===void 0?void 0:s.querySelector("slot");const r=o===null||o===void 0?void 0:o.assignedElements();if(r==null){return}const n=r.findIndex((s=>(s===null||s===void 0?void 0:s.name)===i));const a=(e=(t=r.at(n))===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-details");await(a===null||a===void 0?void 0:a.show())}resetTransitionVariables(){this.isVisible=this.open;this.willShow=false;this.willHide=false;this.open?this.sixAfterShow.emit():this.sixAfterHide.emit()}render(){return t("host",{key:"d6f8f2a691dd7f27e77f22b7f2573838d6b2cf69",class:"six-sidebar"},t("div",{key:"a3e77edcaf638583bf453318348cd6264db508be",class:{sidebar__container:true,"sidebar--visible":this.isVisible,"sidebar--open":this.open,"sidebar--left":this.position==="left","sidebar--right":this.position==="right"},style:{width:this.width,[`margin-${this.position}`]:this.open?"0":`calc(1rem - ${this.width})`},ref:i=>this.sidebar=i,"aria-hidden":this.open?"false":"true",onTransitionEnd:this.handleTransitionEnd},t("slot",{key:"b44803e4c77c5fc27ed0d25a61b4b9e028b22cf7"})))}static get watchers(){return{open:["handleOpenChange"]}}};a.style=r;export{a as six_sidebar};
|
|
2
|
+
//# sourceMappingURL=p-2dda9f79.entry.js.map
|