@six-group/ui-library 0.0.0-insider.b2db78f → 0.0.0-insider.b85326c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/animation-ZgWV0fC6.js +54 -0
- package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
- package/dist/cjs/{form-control-BHd-Z4ot.js → form-control-Ditp8yHw.js} +5 -5
- package/dist/cjs/form-control-Ditp8yHw.js.map +1 -0
- package/dist/cjs/{index-B_stPhJp.js → index-BKTrCUjx.js} +38 -8
- package/dist/cjs/index-BKTrCUjx.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/six-alert.cjs.entry.js +1 -1
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +3 -3
- package/dist/cjs/six-badge.cjs.entry.js +3 -3
- 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-button.entry.cjs.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +2 -2
- package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-date.cjs.entry.js +24 -22
- package/dist/cjs/six-date.cjs.entry.js.map +1 -1
- package/dist/cjs/six-date.entry.cjs.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +4 -4
- package/dist/cjs/six-dialog.cjs.entry.js +16 -10
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +16 -10
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
- 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-item.cjs.entry.js +3 -3
- package/dist/cjs/six-file-list.cjs.entry.js +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +14 -10
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +2 -2
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/six-header-item.cjs.entry.js +1 -1
- package/dist/cjs/six-header-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/six-header.cjs.entry.js +1 -1
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.entry.cjs.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +1 -1
- package/dist/cjs/six-input.cjs.entry.js +5 -5
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.entry.cjs.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
- package/dist/cjs/six-logo.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 +7 -23
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.entry.cjs.js.map +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +1 -1
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/six-range.cjs.entry.js +2 -2
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.entry.cjs.js.map +1 -1
- package/dist/cjs/six-root.cjs.entry.js +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +2 -2
- package/dist/cjs/six-select.cjs.entry.js +17 -9
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.entry.cjs.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +1 -1
- package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +2 -2
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +5 -38
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +2 -2
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tile.cjs.entry.js +1 -1
- 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-timepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ui-library.cjs.js +3 -3
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/six-alert/six-alert.js +4 -4
- package/dist/collection/components/six-avatar/six-avatar.js +6 -6
- package/dist/collection/components/six-badge/six-badge.js +5 -5
- package/dist/collection/components/six-button/six-button.js +16 -16
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +12 -12
- package/dist/collection/components/six-date/iso-date.js +2 -2
- package/dist/collection/components/six-date/iso-date.js.map +1 -1
- package/dist/collection/components/six-date/six-date.js +42 -59
- package/dist/collection/components/six-date/six-date.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +27 -22
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +11 -11
- package/dist/collection/components/six-dialog/six-dialog.js +26 -20
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +28 -22
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +21 -19
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +5 -4
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +8 -8
- package/dist/collection/components/six-file-upload/six-file-upload.js +23 -19
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +5 -5
- package/dist/collection/components/six-header/six-header.js +2 -2
- package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +2 -2
- package/dist/collection/components/six-header-item/six-header-item.js +1 -1
- package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +5 -5
- package/dist/collection/components/six-icon/six-icon.js +2 -2
- package/dist/collection/components/six-icon-button/six-icon-button.js +8 -8
- package/dist/collection/components/six-input/six-input.js +33 -33
- package/dist/collection/components/six-item-picker/six-item-picker.js +14 -13
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +3 -2
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
- package/dist/collection/components/six-logo/six-logo.js +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-menu/six-menu.js +9 -8
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +4 -4
- package/dist/collection/components/six-picto/six-picto.css +1193 -0
- package/dist/collection/components/six-picto/six-picto.js +6 -27
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +3 -3
- package/dist/collection/components/six-radio/six-radio.js +5 -5
- package/dist/collection/components/six-range/six-range.js +14 -13
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +3 -3
- package/dist/collection/components/six-search-field/six-search-field.js +6 -6
- package/dist/collection/components/six-select/six-select.js +42 -33
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +4 -4
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +5 -5
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +6 -6
- package/dist/collection/components/six-spinner/six-spinner.js +2 -2
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +1 -1
- package/dist/collection/components/six-switch/six-switch.js +9 -9
- package/dist/collection/components/six-tab/six-tab.js +4 -4
- package/dist/collection/components/six-tab-group/six-tab-group.js +4 -4
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +2 -2
- package/dist/collection/components/six-tag/six-tag.js +4 -4
- package/dist/collection/components/six-textarea/six-textarea.js +22 -22
- package/dist/collection/components/six-tile/six-tile.js +7 -7
- package/dist/collection/components/six-timepicker/six-timepicker.js +23 -23
- package/dist/collection/components/six-tooltip/six-tooltip.js +7 -7
- package/dist/collection/functional-components/form-control/form-control.js +2 -2
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/utils/animation.js +13 -0
- package/dist/collection/utils/animation.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-C733XVqS.js → p-7eUoSVPj.js} +7 -7
- package/dist/components/{p-C733XVqS.js.map → p-7eUoSVPj.js.map} +1 -1
- package/dist/components/{p-DAOD-npI.js → p-B-XztaHV.js} +6 -6
- package/dist/components/{p-DAOD-npI.js.map → p-B-XztaHV.js.map} +1 -1
- package/dist/components/{p-C4Shm3wX.js → p-Bl7vxyI3.js} +7 -7
- package/dist/components/p-Bl7vxyI3.js.map +1 -0
- package/dist/components/{p-Cc_nfyAl.js → p-BmW8cpEG.js} +5 -5
- package/dist/components/p-BmW8cpEG.js.map +1 -0
- package/dist/components/{p-BAe7gBEi.js → p-BtF2Ym6T.js} +38 -8
- package/dist/components/p-BtF2Ym6T.js.map +1 -0
- package/dist/components/{p-ByetrMwd.js → p-BtNjuUha.js} +6 -6
- package/dist/components/p-BtNjuUha.js.map +1 -0
- package/dist/components/{p-BFrSuO7n.js → p-BxWEEwNO.js} +9 -9
- package/dist/components/p-BxWEEwNO.js.map +1 -0
- package/dist/components/{p-ltzGzaAu.js → p-CKhg9ibv.js} +3 -3
- package/dist/components/{p-ltzGzaAu.js.map → p-CKhg9ibv.js.map} +1 -1
- package/dist/components/{p-DYN2qwe6.js → p-CLtU4Br-.js} +4 -4
- package/dist/components/{p-DYN2qwe6.js.map → p-CLtU4Br-.js.map} +1 -1
- package/dist/components/{p-DwZ0ygip.js → p-CNVkBlqA.js} +16 -16
- package/dist/components/p-CNVkBlqA.js.map +1 -0
- package/dist/components/{p-g7aZB0FM.js → p-CYrYPnLQ.js} +3 -3
- package/dist/components/{p-g7aZB0FM.js.map → p-CYrYPnLQ.js.map} +1 -1
- package/dist/components/{p-B72cH-mu.js → p-CpcN3YG9.js} +5 -5
- package/dist/components/{p-B72cH-mu.js.map → p-CpcN3YG9.js.map} +1 -1
- package/dist/components/{p-su5lTFPV.js → p-Cr6sHYme.js} +3 -3
- package/dist/components/{p-su5lTFPV.js.map → p-Cr6sHYme.js.map} +1 -1
- package/dist/components/{p-Ce-a0l4Q.js → p-D0dsFLio.js} +8 -8
- package/dist/components/{p-Ce-a0l4Q.js.map → p-D0dsFLio.js.map} +1 -1
- package/dist/components/{p-BPj4WRz2.js → p-DV46ui1Q.js} +3 -3
- package/dist/components/{p-BPj4WRz2.js.map → p-DV46ui1Q.js.map} +1 -1
- package/dist/components/p-DXhOme6Y.js +45 -0
- package/dist/components/p-DXhOme6Y.js.map +1 -0
- package/dist/components/{p-Bga8smgq.js → p-Mse5vRUS.js} +3 -3
- package/dist/components/{p-Bga8smgq.js.map → p-Mse5vRUS.js.map} +1 -1
- package/dist/components/p-SLlDVtvF.js +51 -0
- package/dist/components/p-SLlDVtvF.js.map +1 -0
- package/dist/components/{p-CS9Rg27-.js → p-eW-dQ-wI.js} +4 -4
- package/dist/components/{p-CS9Rg27-.js.map → p-eW-dQ-wI.js.map} +1 -1
- package/dist/components/{p-BUw6MZZI.js → p-mLQ66WNK.js} +10 -10
- package/dist/components/{p-BUw6MZZI.js.map → p-mLQ66WNK.js.map} +1 -1
- package/dist/components/six-alert.js +3 -3
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +4 -4
- package/dist/components/six-badge.js +3 -3
- package/dist/components/six-button.js +1 -1
- package/dist/components/six-card.js +2 -2
- package/dist/components/six-checkbox.js +1 -1
- package/dist/components/six-date.js +29 -28
- package/dist/components/six-date.js.map +1 -1
- package/dist/components/six-datepicker.js +9 -9
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.js +1 -1
- package/dist/components/six-dialog.js +18 -12
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +18 -12
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.js +1 -1
- package/dist/components/six-error-page.js +3 -3
- package/dist/components/six-error.js +1 -1
- package/dist/components/six-file-list-item.js +4 -4
- package/dist/components/six-file-list.js +1 -1
- package/dist/components/six-file-upload.js +17 -13
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.js +1 -1
- package/dist/components/six-group-label.js +3 -3
- package/dist/components/six-header-dropdown-item.js +8 -8
- package/dist/components/six-header-item.js +1 -1
- package/dist/components/six-header-menu-button.js +3 -3
- package/dist/components/six-header.js +1 -1
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button.js +1 -1
- package/dist/components/six-icon.js +1 -1
- package/dist/components/six-input.js +1 -1
- package/dist/components/six-item-picker.js +1 -1
- package/dist/components/six-language-switcher.js +2 -2
- package/dist/components/six-layout-grid.js +1 -1
- package/dist/components/six-logo.js +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-item.js +1 -1
- package/dist/components/six-menu-label.js +1 -1
- package/dist/components/six-menu.js +1 -1
- package/dist/components/six-picto.js +1 -1
- package/dist/components/six-progress-bar.js +1 -1
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.js +1 -1
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +1 -1
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +4 -4
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +3 -3
- package/dist/components/six-search-field.js +6 -6
- package/dist/components/six-select.js +29 -21
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +3 -3
- package/dist/components/six-sidebar-item.js +2 -2
- package/dist/components/six-sidebar.js +1 -1
- package/dist/components/six-spinner.js +1 -1
- package/dist/components/six-stage-indicator.js +1 -1
- package/dist/components/six-switch.js +3 -3
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +6 -39
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab.js +3 -3
- package/dist/components/six-tag.js +5 -5
- package/dist/components/six-textarea.js +3 -3
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +4 -4
- package/dist/components/six-timepicker.js +1 -1
- package/dist/components/six-tooltip.js +1 -1
- package/dist/components.json +50 -50
- package/dist/esm/animation-SLlDVtvF.js +51 -0
- package/dist/esm/animation-SLlDVtvF.js.map +1 -0
- package/dist/esm/{execution-control-ltzGzaAu.js → execution-control-CKhg9ibv.js} +3 -3
- package/dist/esm/{execution-control-ltzGzaAu.js.map → execution-control-CKhg9ibv.js.map} +1 -1
- package/dist/esm/{form-control-_dvMXnmg.js → form-control-D_uS8E6o.js} +5 -5
- package/dist/esm/form-control-D_uS8E6o.js.map +1 -0
- package/dist/esm/{index-BF09Gr5y.js → index-D0Go1Zjj.js} +38 -8
- package/dist/esm/index-D0Go1Zjj.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/six-alert.entry.js +1 -1
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +3 -3
- package/dist/esm/six-badge.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -1
- package/dist/esm/six-checkbox_2.entry.js +4 -4
- package/dist/esm/six-checkbox_2.entry.js.map +1 -1
- package/dist/esm/six-date.entry.js +24 -22
- package/dist/esm/six-date.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +2 -2
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +4 -4
- package/dist/esm/six-dialog.entry.js +16 -10
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +16 -10
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -1
- package/dist/esm/six-dropdown_2.entry.js +9 -9
- package/dist/esm/six-dropdown_2.entry.js.map +1 -1
- 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-item.entry.js +3 -3
- package/dist/esm/six-file-list.entry.js +1 -1
- package/dist/esm/six-file-upload.entry.js +14 -10
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +1 -1
- package/dist/esm/six-group-label.entry.js +2 -2
- package/dist/esm/six-header-dropdown-item.entry.js +1 -1
- package/dist/esm/six-header-item.entry.js +1 -1
- package/dist/esm/six-header-menu-button.entry.js +1 -1
- package/dist/esm/six-header.entry.js +1 -1
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +1 -1
- package/dist/esm/six-icon.entry.js +1 -1
- package/dist/esm/six-input.entry.js +5 -5
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +2 -2
- package/dist/esm/six-language-switcher.entry.js +2 -2
- package/dist/esm/six-layout-grid.entry.js +1 -1
- package/dist/esm/six-logo.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 +7 -23
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +1 -1
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +1 -1
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +1 -1
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +2 -2
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +1 -1
- package/dist/esm/six-search-field.entry.js +3 -3
- package/dist/esm/six-select.entry.js +19 -11
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +1 -1
- package/dist/esm/six-sidebar-item.entry.js +1 -1
- package/dist/esm/six-sidebar.entry.js +1 -1
- package/dist/esm/six-spinner.entry.js +1 -1
- package/dist/esm/six-stage-indicator.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +2 -2
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +4 -37
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +1 -1
- package/dist/esm/six-tab.entry.js +1 -1
- package/dist/esm/six-tag.entry.js +2 -2
- package/dist/esm/six-textarea.entry.js +2 -2
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +1 -1
- package/dist/esm/six-timepicker.entry.js +2 -2
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +1 -1
- package/dist/esm/ui-library.js +4 -4
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-date/six-date.d.ts +9 -7
- package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
- package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
- package/dist/types/components/six-picto/six-picto.d.ts +0 -2
- package/dist/types/components/six-select/six-select.d.ts +1 -0
- package/dist/types/components.d.ts +16 -20
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/dist/types/utils/animation.d.ts +4 -0
- package/dist/ui-library/{p-dfd0956a.entry.js → p-01306147.entry.js} +2 -2
- package/dist/ui-library/{p-2bac7418.entry.js → p-071ed780.entry.js} +2 -2
- package/dist/ui-library/p-071ed780.entry.js.map +1 -0
- package/dist/ui-library/{p-9656e941.entry.js → p-0d97e592.entry.js} +2 -2
- package/dist/ui-library/{p-e516182e.entry.js → p-16028bce.entry.js} +2 -2
- package/dist/ui-library/{p-041c4b5d.entry.js → p-19361e9b.entry.js} +2 -2
- package/dist/ui-library/{p-abe6f5c4.entry.js → p-1e4d1252.entry.js} +2 -2
- package/dist/ui-library/p-2992225b.entry.js +2 -0
- package/dist/ui-library/p-2992225b.entry.js.map +1 -0
- package/dist/ui-library/{p-33b2003b.entry.js → p-36a316e0.entry.js} +2 -2
- package/dist/ui-library/p-36a316e0.entry.js.map +1 -0
- package/dist/ui-library/{p-5003f61b.entry.js → p-394c1dc0.entry.js} +2 -2
- package/dist/ui-library/{p-d601b41b.entry.js → p-4a4a0751.entry.js} +2 -2
- package/dist/ui-library/{p-a4f39b82.entry.js → p-537a8953.entry.js} +2 -2
- package/dist/ui-library/p-5e5bd309.entry.js +2 -0
- package/dist/ui-library/p-5e5bd309.entry.js.map +1 -0
- package/dist/ui-library/{p-35ebd705.entry.js → p-5e70085d.entry.js} +2 -2
- package/dist/ui-library/{p-f1e48369.entry.js → p-5ed5842b.entry.js} +2 -2
- package/dist/ui-library/p-5ed5842b.entry.js.map +1 -0
- package/dist/ui-library/p-64377a4b.entry.js +2 -0
- package/dist/ui-library/p-64377a4b.entry.js.map +1 -0
- package/dist/ui-library/{p-fac22819.entry.js → p-679f1e08.entry.js} +2 -2
- package/dist/ui-library/p-679f1e08.entry.js.map +1 -0
- package/dist/ui-library/{p-7cdda567.entry.js → p-68c50fb7.entry.js} +2 -2
- package/dist/ui-library/p-68c50fb7.entry.js.map +1 -0
- package/dist/ui-library/{p-91511258.entry.js → p-695e450e.entry.js} +2 -2
- package/dist/ui-library/{p-bf10bd79.entry.js → p-6990e5ed.entry.js} +2 -2
- package/dist/ui-library/p-6a760300.entry.js +2 -0
- package/dist/ui-library/p-6a760300.entry.js.map +1 -0
- package/dist/ui-library/{p-4d714149.entry.js → p-6bb0b9e9.entry.js} +2 -2
- package/dist/ui-library/p-6bb0b9e9.entry.js.map +1 -0
- package/dist/ui-library/{p-8496e1cd.entry.js → p-6d212bc0.entry.js} +2 -2
- package/dist/ui-library/{p-eed32256.entry.js → p-73b64625.entry.js} +2 -2
- package/dist/ui-library/{p-220ffc25.entry.js → p-79a79513.entry.js} +2 -2
- package/dist/ui-library/p-79a79513.entry.js.map +1 -0
- package/dist/ui-library/p-7bdc9f95.entry.js +2 -0
- package/dist/ui-library/p-7bdc9f95.entry.js.map +1 -0
- package/dist/ui-library/{p-367d2873.entry.js → p-7c438e21.entry.js} +2 -2
- package/dist/ui-library/{p-c72c0d32.entry.js → p-7d2f5f44.entry.js} +2 -2
- package/dist/ui-library/{p-03ac847d.entry.js → p-81af96f2.entry.js} +2 -2
- package/dist/ui-library/{p-2db80aaf.entry.js → p-830ed202.entry.js} +2 -2
- package/dist/ui-library/{p-a747beba.entry.js → p-84964501.entry.js} +2 -2
- package/dist/ui-library/{p-4e183258.entry.js → p-85dbcfb5.entry.js} +2 -2
- package/dist/ui-library/p-85dbcfb5.entry.js.map +1 -0
- package/dist/ui-library/{p-9deb70a3.entry.js → p-868fab98.entry.js} +2 -2
- package/dist/ui-library/{p-07dbfe1d.entry.js → p-8fe7ecdd.entry.js} +2 -2
- package/dist/ui-library/{p-15d09aea.entry.js → p-95182417.entry.js} +2 -2
- package/dist/ui-library/p-95182417.entry.js.map +1 -0
- package/dist/ui-library/{p-8e5b7dbb.entry.js → p-9713ecff.entry.js} +2 -2
- package/dist/ui-library/p-9713ecff.entry.js.map +1 -0
- package/dist/ui-library/p-97b78889.entry.js +2 -0
- package/dist/ui-library/p-97b78889.entry.js.map +1 -0
- package/dist/ui-library/{p-d9224c76.entry.js → p-9b1c8a24.entry.js} +2 -2
- package/dist/ui-library/p-9b1c8a24.entry.js.map +1 -0
- package/dist/ui-library/p-9e8fdf44.entry.js +2 -0
- package/dist/ui-library/p-9e8fdf44.entry.js.map +1 -0
- package/dist/ui-library/{p-080bf19c.entry.js → p-9f0ed997.entry.js} +2 -2
- package/dist/ui-library/{p-696590b3.entry.js → p-9f77ae55.entry.js} +2 -2
- package/dist/ui-library/{p-ltzGzaAu.js → p-CKhg9ibv.js} +2 -2
- package/dist/ui-library/{p-ltzGzaAu.js.map → p-CKhg9ibv.js.map} +1 -1
- package/dist/ui-library/p-D0Go1Zjj.js +3 -0
- package/dist/ui-library/p-D0Go1Zjj.js.map +1 -0
- package/dist/ui-library/p-IBmarOIS.js +2 -0
- package/dist/ui-library/p-IBmarOIS.js.map +1 -0
- package/dist/ui-library/p-SLlDVtvF.js +2 -0
- package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
- package/dist/ui-library/{p-0f7aff92.entry.js → p-a534a4bc.entry.js} +2 -2
- package/dist/ui-library/{p-7722c3c9.entry.js → p-b8db5638.entry.js} +2 -2
- package/dist/ui-library/{p-e2460554.entry.js → p-ba68b30c.entry.js} +2 -2
- package/dist/ui-library/{p-f22b0f49.entry.js → p-baf698e1.entry.js} +2 -2
- package/dist/ui-library/{p-6183f4c8.entry.js → p-c2ec443c.entry.js} +2 -2
- package/dist/ui-library/{p-894dd0f7.entry.js → p-cc44af70.entry.js} +2 -2
- package/dist/ui-library/p-cc44af70.entry.js.map +1 -0
- package/dist/ui-library/{p-3aeff13e.entry.js → p-d1bd67af.entry.js} +2 -2
- package/dist/ui-library/{p-83806640.entry.js → p-d7866617.entry.js} +2 -2
- package/dist/ui-library/p-d7866617.entry.js.map +1 -0
- package/dist/ui-library/p-d9640c45.entry.js +2 -0
- package/dist/ui-library/p-d9640c45.entry.js.map +1 -0
- package/dist/ui-library/{p-314df297.entry.js → p-df05b23b.entry.js} +2 -2
- package/dist/ui-library/{p-16fefaf7.entry.js → p-e91aa04b.entry.js} +2 -2
- package/dist/ui-library/{p-dc9badb8.entry.js → p-f0f73eef.entry.js} +2 -2
- package/dist/ui-library/p-f38c1d23.entry.js +2 -0
- package/dist/ui-library/{p-f8dccfa9.entry.js → p-f4e2ddfc.entry.js} +2 -2
- package/dist/ui-library/{p-9a7aa0d7.entry.js → p-f585a5ab.entry.js} +2 -2
- package/dist/ui-library/six-alert.entry.esm.js.map +1 -1
- package/dist/ui-library/six-button.entry.esm.js.map +1 -1
- package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -1
- package/dist/ui-library/six-date.entry.esm.js.map +1 -1
- package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -1
- package/dist/ui-library/six-dialog.entry.esm.js.map +1 -1
- package/dist/ui-library/six-drawer.entry.esm.js.map +1 -1
- package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -1
- package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -1
- package/dist/ui-library/six-header.entry.esm.js.map +1 -1
- package/dist/ui-library/six-input.entry.esm.js.map +1 -1
- package/dist/ui-library/six-picto.entry.esm.js.map +1 -1
- package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -1
- package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -1
- package/dist/ui-library/six-radio.entry.esm.js.map +1 -1
- package/dist/ui-library/six-range.entry.esm.js.map +1 -1
- package/dist/ui-library/six-select.entry.esm.js.map +1 -1
- package/dist/ui-library/six-switch.entry.esm.js.map +1 -1
- package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -1
- package/dist/ui-library/six-textarea.entry.esm.js.map +1 -1
- package/dist/ui-library/six-timepicker.entry.esm.js.map +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 +7 -6
- package/dist/cjs/form-control-BHd-Z4ot.js.map +0 -1
- package/dist/cjs/index-B_stPhJp.js.map +0 -1
- package/dist/collection/assets/pictograms/TPP.svg +0 -1
- package/dist/collection/assets/pictograms/agile.svg +0 -1
- package/dist/collection/assets/pictograms/ai.svg +0 -1
- package/dist/collection/assets/pictograms/airplane.svg +0 -1
- package/dist/collection/assets/pictograms/alert.svg +0 -1
- package/dist/collection/assets/pictograms/ambulance.svg +0 -1
- package/dist/collection/assets/pictograms/analyse.svg +0 -1
- package/dist/collection/assets/pictograms/anchor.svg +0 -1
- package/dist/collection/assets/pictograms/apple.svg +0 -1
- package/dist/collection/assets/pictograms/arrow-down.svg +0 -1
- package/dist/collection/assets/pictograms/arrow-right.svg +0 -1
- package/dist/collection/assets/pictograms/arrow-up.svg +0 -1
- package/dist/collection/assets/pictograms/astronaut-outline.svg +0 -1
- package/dist/collection/assets/pictograms/augmented-reality.svg +0 -1
- package/dist/collection/assets/pictograms/backoffice.svg +0 -1
- package/dist/collection/assets/pictograms/bank.svg +0 -1
- package/dist/collection/assets/pictograms/banknote.svg +0 -1
- package/dist/collection/assets/pictograms/barcode.svg +0 -1
- package/dist/collection/assets/pictograms/battery.svg +0 -1
- package/dist/collection/assets/pictograms/beacon.svg +0 -1
- package/dist/collection/assets/pictograms/beat.svg +0 -1
- package/dist/collection/assets/pictograms/bee.svg +0 -1
- package/dist/collection/assets/pictograms/bell.svg +0 -1
- package/dist/collection/assets/pictograms/berlin.svg +0 -1
- package/dist/collection/assets/pictograms/big-data.svg +0 -1
- package/dist/collection/assets/pictograms/bilateral.svg +0 -1
- package/dist/collection/assets/pictograms/bill.svg +0 -1
- package/dist/collection/assets/pictograms/binoculars.svg +0 -1
- package/dist/collection/assets/pictograms/block.svg +0 -1
- package/dist/collection/assets/pictograms/blockchain.svg +0 -1
- package/dist/collection/assets/pictograms/bluetooth.svg +0 -1
- package/dist/collection/assets/pictograms/bone.svg +0 -1
- package/dist/collection/assets/pictograms/book.svg +0 -1
- package/dist/collection/assets/pictograms/bottle.svg +0 -1
- package/dist/collection/assets/pictograms/buggy.svg +0 -1
- package/dist/collection/assets/pictograms/bull-bear.svg +0 -1
- package/dist/collection/assets/pictograms/business.svg +0 -1
- package/dist/collection/assets/pictograms/cake.svg +0 -1
- package/dist/collection/assets/pictograms/calculator.svg +0 -1
- package/dist/collection/assets/pictograms/calendar.svg +0 -1
- package/dist/collection/assets/pictograms/cam.svg +0 -1
- package/dist/collection/assets/pictograms/cap.svg +0 -1
- package/dist/collection/assets/pictograms/capsule.svg +0 -1
- package/dist/collection/assets/pictograms/car.svg +0 -1
- package/dist/collection/assets/pictograms/carabiner.svg +0 -1
- package/dist/collection/assets/pictograms/card.svg +0 -1
- package/dist/collection/assets/pictograms/cash-machine.svg +0 -1
- package/dist/collection/assets/pictograms/cash-register.svg +0 -1
- package/dist/collection/assets/pictograms/cash.svg +0 -1
- package/dist/collection/assets/pictograms/cashless.svg +0 -1
- package/dist/collection/assets/pictograms/check.svg +0 -1
- package/dist/collection/assets/pictograms/cheveron-right.svg +0 -1
- package/dist/collection/assets/pictograms/chf-eur.svg +0 -1
- package/dist/collection/assets/pictograms/cleaning.svg +0 -1
- package/dist/collection/assets/pictograms/click-collect.svg +0 -1
- package/dist/collection/assets/pictograms/click-return.svg +0 -1
- package/dist/collection/assets/pictograms/client-receipt.svg +0 -1
- package/dist/collection/assets/pictograms/clientesyusuarios.svg +0 -1
- package/dist/collection/assets/pictograms/clock.svg +0 -1
- package/dist/collection/assets/pictograms/cloud.svg +0 -1
- package/dist/collection/assets/pictograms/coffee.svg +0 -1
- package/dist/collection/assets/pictograms/coins.svg +0 -1
- package/dist/collection/assets/pictograms/configuracion-de-servicio.svg +0 -1
- package/dist/collection/assets/pictograms/connectivity.svg +0 -1
- package/dist/collection/assets/pictograms/contactless.svg +0 -1
- package/dist/collection/assets/pictograms/copy.svg +0 -1
- package/dist/collection/assets/pictograms/cornet.svg +0 -1
- package/dist/collection/assets/pictograms/cost-reduction.svg +0 -1
- package/dist/collection/assets/pictograms/coupon.svg +0 -1
- package/dist/collection/assets/pictograms/croissant.svg +0 -1
- package/dist/collection/assets/pictograms/crowdfunding.svg +0 -1
- package/dist/collection/assets/pictograms/crown.svg +0 -1
- package/dist/collection/assets/pictograms/cryptocurrency.svg +0 -1
- package/dist/collection/assets/pictograms/crystal-ball.svg +0 -1
- package/dist/collection/assets/pictograms/cup.svg +0 -1
- package/dist/collection/assets/pictograms/cupcake.svg +0 -1
- package/dist/collection/assets/pictograms/currency.svg +0 -1
- package/dist/collection/assets/pictograms/cyber-security.svg +0 -1
- package/dist/collection/assets/pictograms/data-mapping.svg +0 -1
- package/dist/collection/assets/pictograms/desktop.svg +0 -1
- package/dist/collection/assets/pictograms/diamond.svg +0 -1
- package/dist/collection/assets/pictograms/disc.svg +0 -1
- package/dist/collection/assets/pictograms/diversify.svg +0 -1
- package/dist/collection/assets/pictograms/dna.svg +0 -1
- package/dist/collection/assets/pictograms/dog.svg +0 -1
- package/dist/collection/assets/pictograms/download.svg +0 -1
- package/dist/collection/assets/pictograms/drop-zone.svg +0 -1
- package/dist/collection/assets/pictograms/drop.svg +0 -1
- package/dist/collection/assets/pictograms/dumbbell.svg +0 -1
- package/dist/collection/assets/pictograms/dws.svg +0 -1
- package/dist/collection/assets/pictograms/ear.svg +0 -1
- package/dist/collection/assets/pictograms/ecommerce.svg +0 -1
- package/dist/collection/assets/pictograms/ethernet.svg +0 -1
- package/dist/collection/assets/pictograms/eur-dollar.svg +0 -1
- package/dist/collection/assets/pictograms/exchange.svg +0 -1
- package/dist/collection/assets/pictograms/exclamation.svg +0 -1
- package/dist/collection/assets/pictograms/external-link.svg +0 -1
- package/dist/collection/assets/pictograms/extinguisher.svg +0 -1
- package/dist/collection/assets/pictograms/factory.svg +0 -1
- package/dist/collection/assets/pictograms/fax.svg +0 -1
- package/dist/collection/assets/pictograms/fence.svg +0 -1
- package/dist/collection/assets/pictograms/file-text.svg +0 -1
- package/dist/collection/assets/pictograms/file.svg +0 -1
- package/dist/collection/assets/pictograms/find-in-page.svg +0 -1
- package/dist/collection/assets/pictograms/fingerprint.svg +0 -1
- package/dist/collection/assets/pictograms/flag.svg +0 -1
- package/dist/collection/assets/pictograms/flash.svg +0 -1
- package/dist/collection/assets/pictograms/flexibility.svg +0 -1
- package/dist/collection/assets/pictograms/flipchart.svg +0 -1
- package/dist/collection/assets/pictograms/flower.svg +0 -1
- package/dist/collection/assets/pictograms/focus.svg +0 -1
- package/dist/collection/assets/pictograms/foreign-exchange.svg +0 -1
- package/dist/collection/assets/pictograms/fraud-free.svg +0 -1
- package/dist/collection/assets/pictograms/funnel.svg +0 -1
- package/dist/collection/assets/pictograms/gamepad.svg +0 -1
- package/dist/collection/assets/pictograms/gears.svg +0 -1
- package/dist/collection/assets/pictograms/generic.svg +0 -1
- package/dist/collection/assets/pictograms/genie.svg +0 -1
- package/dist/collection/assets/pictograms/gestion-de-fallidos.svg +0 -1
- package/dist/collection/assets/pictograms/gestion-de-instrucciones.svg +0 -1
- package/dist/collection/assets/pictograms/gestion-de-pago.svg +0 -1
- package/dist/collection/assets/pictograms/gift.svg +0 -1
- package/dist/collection/assets/pictograms/giftcard.svg +0 -1
- package/dist/collection/assets/pictograms/glass.svg +0 -1
- package/dist/collection/assets/pictograms/glasses.svg +0 -1
- package/dist/collection/assets/pictograms/global.svg +0 -1
- package/dist/collection/assets/pictograms/gprs-lan.svg +0 -1
- package/dist/collection/assets/pictograms/gprs.svg +0 -1
- package/dist/collection/assets/pictograms/guide.svg +0 -1
- package/dist/collection/assets/pictograms/hacker-security.svg +0 -1
- package/dist/collection/assets/pictograms/hand.svg +0 -1
- package/dist/collection/assets/pictograms/handshake.svg +0 -1
- package/dist/collection/assets/pictograms/happy.svg +0 -1
- package/dist/collection/assets/pictograms/hashtag.svg +0 -1
- package/dist/collection/assets/pictograms/headphones.svg +0 -1
- package/dist/collection/assets/pictograms/heart.svg +0 -1
- package/dist/collection/assets/pictograms/home.svg +0 -1
- package/dist/collection/assets/pictograms/identity-management.svg +0 -1
- package/dist/collection/assets/pictograms/info.svg +0 -1
- package/dist/collection/assets/pictograms/international-connectivity.svg +0 -1
- package/dist/collection/assets/pictograms/iot.svg +0 -1
- package/dist/collection/assets/pictograms/key.svg +0 -1
- package/dist/collection/assets/pictograms/lab.svg +0 -1
- package/dist/collection/assets/pictograms/labyrinth.svg +0 -1
- package/dist/collection/assets/pictograms/laptop-outline.svg +0 -1
- package/dist/collection/assets/pictograms/leaf.svg +0 -1
- package/dist/collection/assets/pictograms/lightbulb.svg +0 -1
- package/dist/collection/assets/pictograms/lighthouse.svg +0 -1
- package/dist/collection/assets/pictograms/like.svg +0 -1
- package/dist/collection/assets/pictograms/lines.svg +0 -1
- package/dist/collection/assets/pictograms/liquid.svg +0 -1
- package/dist/collection/assets/pictograms/lock.svg +0 -1
- package/dist/collection/assets/pictograms/london.svg +0 -1
- package/dist/collection/assets/pictograms/lounge.svg +0 -1
- package/dist/collection/assets/pictograms/lunch-learn.svg +0 -1
- package/dist/collection/assets/pictograms/machine-learning.svg +0 -1
- package/dist/collection/assets/pictograms/mail-copy.svg +0 -1
- package/dist/collection/assets/pictograms/mail.svg +0 -1
- package/dist/collection/assets/pictograms/map-marker.svg +0 -1
- package/dist/collection/assets/pictograms/map.svg +0 -1
- package/dist/collection/assets/pictograms/markets.svg +0 -1
- package/dist/collection/assets/pictograms/megaphone.svg +0 -1
- package/dist/collection/assets/pictograms/menu.svg +0 -1
- package/dist/collection/assets/pictograms/micro-payments.svg +0 -1
- package/dist/collection/assets/pictograms/microphone.svg +0 -1
- package/dist/collection/assets/pictograms/minus.svg +0 -1
- package/dist/collection/assets/pictograms/mobile-payment.svg +0 -1
- package/dist/collection/assets/pictograms/mobile-terminal.svg +0 -1
- package/dist/collection/assets/pictograms/monitoring.svg +0 -1
- package/dist/collection/assets/pictograms/more.svg +0 -1
- package/dist/collection/assets/pictograms/mountain.svg +0 -1
- package/dist/collection/assets/pictograms/movie-camera.svg +0 -1
- package/dist/collection/assets/pictograms/navigation.svg +0 -1
- package/dist/collection/assets/pictograms/no-smoking.svg +0 -1
- package/dist/collection/assets/pictograms/office.svg +0 -1
- package/dist/collection/assets/pictograms/outsorcing.svg +0 -1
- package/dist/collection/assets/pictograms/package.svg +0 -1
- package/dist/collection/assets/pictograms/paddle.svg +0 -1
- package/dist/collection/assets/pictograms/paninoteca.svg +0 -1
- package/dist/collection/assets/pictograms/paragraph.svg +0 -1
- package/dist/collection/assets/pictograms/paris.svg +0 -1
- package/dist/collection/assets/pictograms/parking.svg +0 -1
- package/dist/collection/assets/pictograms/pause.svg +0 -1
- package/dist/collection/assets/pictograms/pay-points.svg +0 -1
- package/dist/collection/assets/pictograms/pencil.svg +0 -1
- package/dist/collection/assets/pictograms/person-business.svg +0 -1
- package/dist/collection/assets/pictograms/person-callcenter.svg +0 -1
- package/dist/collection/assets/pictograms/person-client.svg +0 -1
- package/dist/collection/assets/pictograms/person-group.svg +0 -1
- package/dist/collection/assets/pictograms/person.svg +0 -1
- package/dist/collection/assets/pictograms/pet.svg +0 -1
- package/dist/collection/assets/pictograms/piechart.svg +0 -1
- package/dist/collection/assets/pictograms/pig.svg +0 -1
- package/dist/collection/assets/pictograms/piggy-bank.svg +0 -1
- package/dist/collection/assets/pictograms/planet.svg +0 -1
- package/dist/collection/assets/pictograms/play.svg +0 -1
- package/dist/collection/assets/pictograms/plus.svg +0 -1
- package/dist/collection/assets/pictograms/popsicle.svg +0 -1
- package/dist/collection/assets/pictograms/printer.svg +0 -1
- package/dist/collection/assets/pictograms/privacy.svg +0 -1
- package/dist/collection/assets/pictograms/process.svg +0 -1
- package/dist/collection/assets/pictograms/projector.svg +0 -1
- package/dist/collection/assets/pictograms/psp.svg +0 -1
- package/dist/collection/assets/pictograms/punch-card.svg +0 -1
- package/dist/collection/assets/pictograms/puzzle.svg +0 -1
- package/dist/collection/assets/pictograms/qr-scanner.svg +0 -1
- package/dist/collection/assets/pictograms/qr.svg +0 -1
- package/dist/collection/assets/pictograms/question.svg +0 -1
- package/dist/collection/assets/pictograms/rabbit.svg +0 -1
- package/dist/collection/assets/pictograms/rain.svg +0 -1
- package/dist/collection/assets/pictograms/realtime.svg +0 -1
- package/dist/collection/assets/pictograms/recurring-payments.svg +0 -1
- package/dist/collection/assets/pictograms/relaxing.svg +0 -1
- package/dist/collection/assets/pictograms/reporting.svg +0 -1
- package/dist/collection/assets/pictograms/responsive-design.svg +0 -1
- package/dist/collection/assets/pictograms/robo-advisor.svg +0 -1
- package/dist/collection/assets/pictograms/robotics.svg +0 -1
- package/dist/collection/assets/pictograms/rock.svg +0 -1
- package/dist/collection/assets/pictograms/rocket.svg +0 -1
- package/dist/collection/assets/pictograms/rss.svg +0 -1
- package/dist/collection/assets/pictograms/sad.svg +0 -1
- package/dist/collection/assets/pictograms/sailboat.svg +0 -1
- package/dist/collection/assets/pictograms/scales.svg +0 -1
- package/dist/collection/assets/pictograms/screen.svg +0 -1
- package/dist/collection/assets/pictograms/seal.svg +0 -1
- package/dist/collection/assets/pictograms/search.svg +0 -1
- package/dist/collection/assets/pictograms/sentiment-dissatisfied.svg +0 -1
- package/dist/collection/assets/pictograms/server.svg +0 -1
- package/dist/collection/assets/pictograms/service-center.svg +0 -1
- package/dist/collection/assets/pictograms/sextant.svg +0 -1
- package/dist/collection/assets/pictograms/share.svg +0 -1
- package/dist/collection/assets/pictograms/shield.svg +0 -1
- package/dist/collection/assets/pictograms/shop.svg +0 -1
- package/dist/collection/assets/pictograms/shopping-cart-chf.svg +0 -1
- package/dist/collection/assets/pictograms/shopping-cart-download.svg +0 -1
- package/dist/collection/assets/pictograms/shopping-cart.svg +0 -1
- package/dist/collection/assets/pictograms/signal.svg +0 -1
- package/dist/collection/assets/pictograms/simple-integration.svg +0 -1
- package/dist/collection/assets/pictograms/skull.svg +0 -1
- package/dist/collection/assets/pictograms/smoking.svg +0 -1
- package/dist/collection/assets/pictograms/snow.svg +0 -1
- package/dist/collection/assets/pictograms/snowflake.svg +0 -1
- package/dist/collection/assets/pictograms/snowman.svg +0 -1
- package/dist/collection/assets/pictograms/soc.svg +0 -1
- package/dist/collection/assets/pictograms/social-days.svg +0 -1
- package/dist/collection/assets/pictograms/social-trading.svg +0 -1
- package/dist/collection/assets/pictograms/softwarepackage.svg +0 -1
- package/dist/collection/assets/pictograms/sound.svg +0 -1
- package/dist/collection/assets/pictograms/speechbubble.svg +0 -1
- package/dist/collection/assets/pictograms/spirit.svg +0 -1
- package/dist/collection/assets/pictograms/split.svg +0 -1
- package/dist/collection/assets/pictograms/stability.svg +0 -1
- package/dist/collection/assets/pictograms/stairs.svg +0 -1
- package/dist/collection/assets/pictograms/star.svg +0 -1
- package/dist/collection/assets/pictograms/statistic.svg +0 -1
- package/dist/collection/assets/pictograms/stock.svg +0 -1
- package/dist/collection/assets/pictograms/stocks.svg +0 -1
- package/dist/collection/assets/pictograms/stop.svg +0 -1
- package/dist/collection/assets/pictograms/stopwatch.svg +0 -1
- package/dist/collection/assets/pictograms/storage.svg +0 -1
- package/dist/collection/assets/pictograms/success.svg +0 -1
- package/dist/collection/assets/pictograms/suitcase.svg +0 -1
- package/dist/collection/assets/pictograms/sun.svg +0 -1
- package/dist/collection/assets/pictograms/surveillance.svg +0 -1
- package/dist/collection/assets/pictograms/swiss.svg +0 -1
- package/dist/collection/assets/pictograms/tablet.svg +0 -1
- package/dist/collection/assets/pictograms/tachometer.svg +0 -1
- package/dist/collection/assets/pictograms/target.svg +0 -1
- package/dist/collection/assets/pictograms/telephone.svg +0 -1
- package/dist/collection/assets/pictograms/telescope.svg +0 -1
- package/dist/collection/assets/pictograms/temperature.svg +0 -1
- package/dist/collection/assets/pictograms/terminal.svg +0 -1
- package/dist/collection/assets/pictograms/ticket.svg +0 -1
- package/dist/collection/assets/pictograms/tin.svg +0 -1
- package/dist/collection/assets/pictograms/tokenization.svg +0 -1
- package/dist/collection/assets/pictograms/tool.svg +0 -1
- package/dist/collection/assets/pictograms/touch.svg +0 -1
- package/dist/collection/assets/pictograms/train.svg +0 -1
- package/dist/collection/assets/pictograms/trash.svg +0 -1
- package/dist/collection/assets/pictograms/umbrella.svg +0 -1
- package/dist/collection/assets/pictograms/unlock.svg +0 -1
- package/dist/collection/assets/pictograms/upload.svg +0 -1
- package/dist/collection/assets/pictograms/usb.svg +0 -1
- package/dist/collection/assets/pictograms/viena.svg +0 -1
- package/dist/collection/assets/pictograms/viking.svg +0 -1
- package/dist/collection/assets/pictograms/visibility.svg +0 -1
- package/dist/collection/assets/pictograms/wallet.svg +0 -1
- package/dist/collection/assets/pictograms/warning.svg +0 -1
- package/dist/collection/assets/pictograms/way-up.svg +0 -1
- package/dist/collection/assets/pictograms/wc-handicap.svg +0 -1
- package/dist/collection/assets/pictograms/wc-men.svg +0 -1
- package/dist/collection/assets/pictograms/wc-woman.svg +0 -1
- package/dist/collection/assets/pictograms/wearables.svg +0 -1
- package/dist/collection/assets/pictograms/webshop.svg +0 -1
- package/dist/collection/assets/pictograms/wlan-bluetooth.svg +0 -1
- package/dist/collection/assets/pictograms/wlan.svg +0 -1
- package/dist/collection/assets/pictograms/x.svg +0 -1
- package/dist/collection/assets/pictograms/zurich.svg +0 -1
- package/dist/components/p-BAe7gBEi.js.map +0 -1
- package/dist/components/p-BFrSuO7n.js.map +0 -1
- package/dist/components/p-ByetrMwd.js.map +0 -1
- package/dist/components/p-C4Shm3wX.js.map +0 -1
- package/dist/components/p-Cc_nfyAl.js.map +0 -1
- package/dist/components/p-DK3EH5_F.js +0 -62
- package/dist/components/p-DK3EH5_F.js.map +0 -1
- package/dist/components/p-DwZ0ygip.js.map +0 -1
- package/dist/esm/form-control-_dvMXnmg.js.map +0 -1
- package/dist/esm/index-BF09Gr5y.js.map +0 -1
- package/dist/ui-library/assets/pictograms/TPP.svg +0 -1
- package/dist/ui-library/assets/pictograms/agile.svg +0 -1
- package/dist/ui-library/assets/pictograms/ai.svg +0 -1
- package/dist/ui-library/assets/pictograms/airplane.svg +0 -1
- package/dist/ui-library/assets/pictograms/alert.svg +0 -1
- package/dist/ui-library/assets/pictograms/ambulance.svg +0 -1
- package/dist/ui-library/assets/pictograms/analyse.svg +0 -1
- package/dist/ui-library/assets/pictograms/anchor.svg +0 -1
- package/dist/ui-library/assets/pictograms/apple.svg +0 -1
- package/dist/ui-library/assets/pictograms/arrow-down.svg +0 -1
- package/dist/ui-library/assets/pictograms/arrow-right.svg +0 -1
- package/dist/ui-library/assets/pictograms/arrow-up.svg +0 -1
- package/dist/ui-library/assets/pictograms/astronaut-outline.svg +0 -1
- package/dist/ui-library/assets/pictograms/augmented-reality.svg +0 -1
- package/dist/ui-library/assets/pictograms/backoffice.svg +0 -1
- package/dist/ui-library/assets/pictograms/bank.svg +0 -1
- package/dist/ui-library/assets/pictograms/banknote.svg +0 -1
- package/dist/ui-library/assets/pictograms/barcode.svg +0 -1
- package/dist/ui-library/assets/pictograms/battery.svg +0 -1
- package/dist/ui-library/assets/pictograms/beacon.svg +0 -1
- package/dist/ui-library/assets/pictograms/beat.svg +0 -1
- package/dist/ui-library/assets/pictograms/bee.svg +0 -1
- package/dist/ui-library/assets/pictograms/bell.svg +0 -1
- package/dist/ui-library/assets/pictograms/berlin.svg +0 -1
- package/dist/ui-library/assets/pictograms/big-data.svg +0 -1
- package/dist/ui-library/assets/pictograms/bilateral.svg +0 -1
- package/dist/ui-library/assets/pictograms/bill.svg +0 -1
- package/dist/ui-library/assets/pictograms/binoculars.svg +0 -1
- package/dist/ui-library/assets/pictograms/block.svg +0 -1
- package/dist/ui-library/assets/pictograms/blockchain.svg +0 -1
- package/dist/ui-library/assets/pictograms/bluetooth.svg +0 -1
- package/dist/ui-library/assets/pictograms/bone.svg +0 -1
- package/dist/ui-library/assets/pictograms/book.svg +0 -1
- package/dist/ui-library/assets/pictograms/bottle.svg +0 -1
- package/dist/ui-library/assets/pictograms/buggy.svg +0 -1
- package/dist/ui-library/assets/pictograms/bull-bear.svg +0 -1
- package/dist/ui-library/assets/pictograms/business.svg +0 -1
- package/dist/ui-library/assets/pictograms/cake.svg +0 -1
- package/dist/ui-library/assets/pictograms/calculator.svg +0 -1
- package/dist/ui-library/assets/pictograms/calendar.svg +0 -1
- package/dist/ui-library/assets/pictograms/cam.svg +0 -1
- package/dist/ui-library/assets/pictograms/cap.svg +0 -1
- package/dist/ui-library/assets/pictograms/capsule.svg +0 -1
- package/dist/ui-library/assets/pictograms/car.svg +0 -1
- package/dist/ui-library/assets/pictograms/carabiner.svg +0 -1
- package/dist/ui-library/assets/pictograms/card.svg +0 -1
- package/dist/ui-library/assets/pictograms/cash-machine.svg +0 -1
- package/dist/ui-library/assets/pictograms/cash-register.svg +0 -1
- package/dist/ui-library/assets/pictograms/cash.svg +0 -1
- package/dist/ui-library/assets/pictograms/cashless.svg +0 -1
- package/dist/ui-library/assets/pictograms/check.svg +0 -1
- package/dist/ui-library/assets/pictograms/cheveron-right.svg +0 -1
- package/dist/ui-library/assets/pictograms/chf-eur.svg +0 -1
- package/dist/ui-library/assets/pictograms/cleaning.svg +0 -1
- package/dist/ui-library/assets/pictograms/click-collect.svg +0 -1
- package/dist/ui-library/assets/pictograms/click-return.svg +0 -1
- package/dist/ui-library/assets/pictograms/client-receipt.svg +0 -1
- package/dist/ui-library/assets/pictograms/clientesyusuarios.svg +0 -1
- package/dist/ui-library/assets/pictograms/clock.svg +0 -1
- package/dist/ui-library/assets/pictograms/cloud.svg +0 -1
- package/dist/ui-library/assets/pictograms/coffee.svg +0 -1
- package/dist/ui-library/assets/pictograms/coins.svg +0 -1
- package/dist/ui-library/assets/pictograms/configuracion-de-servicio.svg +0 -1
- package/dist/ui-library/assets/pictograms/connectivity.svg +0 -1
- package/dist/ui-library/assets/pictograms/contactless.svg +0 -1
- package/dist/ui-library/assets/pictograms/copy.svg +0 -1
- package/dist/ui-library/assets/pictograms/cornet.svg +0 -1
- package/dist/ui-library/assets/pictograms/cost-reduction.svg +0 -1
- package/dist/ui-library/assets/pictograms/coupon.svg +0 -1
- package/dist/ui-library/assets/pictograms/croissant.svg +0 -1
- package/dist/ui-library/assets/pictograms/crowdfunding.svg +0 -1
- package/dist/ui-library/assets/pictograms/crown.svg +0 -1
- package/dist/ui-library/assets/pictograms/cryptocurrency.svg +0 -1
- package/dist/ui-library/assets/pictograms/crystal-ball.svg +0 -1
- package/dist/ui-library/assets/pictograms/cup.svg +0 -1
- package/dist/ui-library/assets/pictograms/cupcake.svg +0 -1
- package/dist/ui-library/assets/pictograms/currency.svg +0 -1
- package/dist/ui-library/assets/pictograms/cyber-security.svg +0 -1
- package/dist/ui-library/assets/pictograms/data-mapping.svg +0 -1
- package/dist/ui-library/assets/pictograms/desktop.svg +0 -1
- package/dist/ui-library/assets/pictograms/diamond.svg +0 -1
- package/dist/ui-library/assets/pictograms/disc.svg +0 -1
- package/dist/ui-library/assets/pictograms/diversify.svg +0 -1
- package/dist/ui-library/assets/pictograms/dna.svg +0 -1
- package/dist/ui-library/assets/pictograms/dog.svg +0 -1
- package/dist/ui-library/assets/pictograms/download.svg +0 -1
- package/dist/ui-library/assets/pictograms/drop-zone.svg +0 -1
- package/dist/ui-library/assets/pictograms/drop.svg +0 -1
- package/dist/ui-library/assets/pictograms/dumbbell.svg +0 -1
- package/dist/ui-library/assets/pictograms/dws.svg +0 -1
- package/dist/ui-library/assets/pictograms/ear.svg +0 -1
- package/dist/ui-library/assets/pictograms/ecommerce.svg +0 -1
- package/dist/ui-library/assets/pictograms/ethernet.svg +0 -1
- package/dist/ui-library/assets/pictograms/eur-dollar.svg +0 -1
- package/dist/ui-library/assets/pictograms/exchange.svg +0 -1
- package/dist/ui-library/assets/pictograms/exclamation.svg +0 -1
- package/dist/ui-library/assets/pictograms/external-link.svg +0 -1
- package/dist/ui-library/assets/pictograms/extinguisher.svg +0 -1
- package/dist/ui-library/assets/pictograms/factory.svg +0 -1
- package/dist/ui-library/assets/pictograms/fax.svg +0 -1
- package/dist/ui-library/assets/pictograms/fence.svg +0 -1
- package/dist/ui-library/assets/pictograms/file-text.svg +0 -1
- package/dist/ui-library/assets/pictograms/file.svg +0 -1
- package/dist/ui-library/assets/pictograms/find-in-page.svg +0 -1
- package/dist/ui-library/assets/pictograms/fingerprint.svg +0 -1
- package/dist/ui-library/assets/pictograms/flag.svg +0 -1
- package/dist/ui-library/assets/pictograms/flash.svg +0 -1
- package/dist/ui-library/assets/pictograms/flexibility.svg +0 -1
- package/dist/ui-library/assets/pictograms/flipchart.svg +0 -1
- package/dist/ui-library/assets/pictograms/flower.svg +0 -1
- package/dist/ui-library/assets/pictograms/focus.svg +0 -1
- package/dist/ui-library/assets/pictograms/foreign-exchange.svg +0 -1
- package/dist/ui-library/assets/pictograms/fraud-free.svg +0 -1
- package/dist/ui-library/assets/pictograms/funnel.svg +0 -1
- package/dist/ui-library/assets/pictograms/gamepad.svg +0 -1
- package/dist/ui-library/assets/pictograms/gears.svg +0 -1
- package/dist/ui-library/assets/pictograms/generic.svg +0 -1
- package/dist/ui-library/assets/pictograms/genie.svg +0 -1
- package/dist/ui-library/assets/pictograms/gestion-de-fallidos.svg +0 -1
- package/dist/ui-library/assets/pictograms/gestion-de-instrucciones.svg +0 -1
- package/dist/ui-library/assets/pictograms/gestion-de-pago.svg +0 -1
- package/dist/ui-library/assets/pictograms/gift.svg +0 -1
- package/dist/ui-library/assets/pictograms/giftcard.svg +0 -1
- package/dist/ui-library/assets/pictograms/glass.svg +0 -1
- package/dist/ui-library/assets/pictograms/glasses.svg +0 -1
- package/dist/ui-library/assets/pictograms/global.svg +0 -1
- package/dist/ui-library/assets/pictograms/gprs-lan.svg +0 -1
- package/dist/ui-library/assets/pictograms/gprs.svg +0 -1
- package/dist/ui-library/assets/pictograms/guide.svg +0 -1
- package/dist/ui-library/assets/pictograms/hacker-security.svg +0 -1
- package/dist/ui-library/assets/pictograms/hand.svg +0 -1
- package/dist/ui-library/assets/pictograms/handshake.svg +0 -1
- package/dist/ui-library/assets/pictograms/happy.svg +0 -1
- package/dist/ui-library/assets/pictograms/hashtag.svg +0 -1
- package/dist/ui-library/assets/pictograms/headphones.svg +0 -1
- package/dist/ui-library/assets/pictograms/heart.svg +0 -1
- package/dist/ui-library/assets/pictograms/home.svg +0 -1
- package/dist/ui-library/assets/pictograms/identity-management.svg +0 -1
- package/dist/ui-library/assets/pictograms/info.svg +0 -1
- package/dist/ui-library/assets/pictograms/international-connectivity.svg +0 -1
- package/dist/ui-library/assets/pictograms/iot.svg +0 -1
- package/dist/ui-library/assets/pictograms/key.svg +0 -1
- package/dist/ui-library/assets/pictograms/lab.svg +0 -1
- package/dist/ui-library/assets/pictograms/labyrinth.svg +0 -1
- package/dist/ui-library/assets/pictograms/laptop-outline.svg +0 -1
- package/dist/ui-library/assets/pictograms/leaf.svg +0 -1
- package/dist/ui-library/assets/pictograms/lightbulb.svg +0 -1
- package/dist/ui-library/assets/pictograms/lighthouse.svg +0 -1
- package/dist/ui-library/assets/pictograms/like.svg +0 -1
- package/dist/ui-library/assets/pictograms/lines.svg +0 -1
- package/dist/ui-library/assets/pictograms/liquid.svg +0 -1
- package/dist/ui-library/assets/pictograms/lock.svg +0 -1
- package/dist/ui-library/assets/pictograms/london.svg +0 -1
- package/dist/ui-library/assets/pictograms/lounge.svg +0 -1
- package/dist/ui-library/assets/pictograms/lunch-learn.svg +0 -1
- package/dist/ui-library/assets/pictograms/machine-learning.svg +0 -1
- package/dist/ui-library/assets/pictograms/mail-copy.svg +0 -1
- package/dist/ui-library/assets/pictograms/mail.svg +0 -1
- package/dist/ui-library/assets/pictograms/map-marker.svg +0 -1
- package/dist/ui-library/assets/pictograms/map.svg +0 -1
- package/dist/ui-library/assets/pictograms/markets.svg +0 -1
- package/dist/ui-library/assets/pictograms/megaphone.svg +0 -1
- package/dist/ui-library/assets/pictograms/menu.svg +0 -1
- package/dist/ui-library/assets/pictograms/micro-payments.svg +0 -1
- package/dist/ui-library/assets/pictograms/microphone.svg +0 -1
- package/dist/ui-library/assets/pictograms/minus.svg +0 -1
- package/dist/ui-library/assets/pictograms/mobile-payment.svg +0 -1
- package/dist/ui-library/assets/pictograms/mobile-terminal.svg +0 -1
- package/dist/ui-library/assets/pictograms/monitoring.svg +0 -1
- package/dist/ui-library/assets/pictograms/more.svg +0 -1
- package/dist/ui-library/assets/pictograms/mountain.svg +0 -1
- package/dist/ui-library/assets/pictograms/movie-camera.svg +0 -1
- package/dist/ui-library/assets/pictograms/navigation.svg +0 -1
- package/dist/ui-library/assets/pictograms/no-smoking.svg +0 -1
- package/dist/ui-library/assets/pictograms/office.svg +0 -1
- package/dist/ui-library/assets/pictograms/outsorcing.svg +0 -1
- package/dist/ui-library/assets/pictograms/package.svg +0 -1
- package/dist/ui-library/assets/pictograms/paddle.svg +0 -1
- package/dist/ui-library/assets/pictograms/paninoteca.svg +0 -1
- package/dist/ui-library/assets/pictograms/paragraph.svg +0 -1
- package/dist/ui-library/assets/pictograms/paris.svg +0 -1
- package/dist/ui-library/assets/pictograms/parking.svg +0 -1
- package/dist/ui-library/assets/pictograms/pause.svg +0 -1
- package/dist/ui-library/assets/pictograms/pay-points.svg +0 -1
- package/dist/ui-library/assets/pictograms/pencil.svg +0 -1
- package/dist/ui-library/assets/pictograms/person-business.svg +0 -1
- package/dist/ui-library/assets/pictograms/person-callcenter.svg +0 -1
- package/dist/ui-library/assets/pictograms/person-client.svg +0 -1
- package/dist/ui-library/assets/pictograms/person-group.svg +0 -1
- package/dist/ui-library/assets/pictograms/person.svg +0 -1
- package/dist/ui-library/assets/pictograms/pet.svg +0 -1
- package/dist/ui-library/assets/pictograms/piechart.svg +0 -1
- package/dist/ui-library/assets/pictograms/pig.svg +0 -1
- package/dist/ui-library/assets/pictograms/piggy-bank.svg +0 -1
- package/dist/ui-library/assets/pictograms/planet.svg +0 -1
- package/dist/ui-library/assets/pictograms/play.svg +0 -1
- package/dist/ui-library/assets/pictograms/plus.svg +0 -1
- package/dist/ui-library/assets/pictograms/popsicle.svg +0 -1
- package/dist/ui-library/assets/pictograms/printer.svg +0 -1
- package/dist/ui-library/assets/pictograms/privacy.svg +0 -1
- package/dist/ui-library/assets/pictograms/process.svg +0 -1
- package/dist/ui-library/assets/pictograms/projector.svg +0 -1
- package/dist/ui-library/assets/pictograms/psp.svg +0 -1
- package/dist/ui-library/assets/pictograms/punch-card.svg +0 -1
- package/dist/ui-library/assets/pictograms/puzzle.svg +0 -1
- package/dist/ui-library/assets/pictograms/qr-scanner.svg +0 -1
- package/dist/ui-library/assets/pictograms/qr.svg +0 -1
- package/dist/ui-library/assets/pictograms/question.svg +0 -1
- package/dist/ui-library/assets/pictograms/rabbit.svg +0 -1
- package/dist/ui-library/assets/pictograms/rain.svg +0 -1
- package/dist/ui-library/assets/pictograms/realtime.svg +0 -1
- package/dist/ui-library/assets/pictograms/recurring-payments.svg +0 -1
- package/dist/ui-library/assets/pictograms/relaxing.svg +0 -1
- package/dist/ui-library/assets/pictograms/reporting.svg +0 -1
- package/dist/ui-library/assets/pictograms/responsive-design.svg +0 -1
- package/dist/ui-library/assets/pictograms/robo-advisor.svg +0 -1
- package/dist/ui-library/assets/pictograms/robotics.svg +0 -1
- package/dist/ui-library/assets/pictograms/rock.svg +0 -1
- package/dist/ui-library/assets/pictograms/rocket.svg +0 -1
- package/dist/ui-library/assets/pictograms/rss.svg +0 -1
- package/dist/ui-library/assets/pictograms/sad.svg +0 -1
- package/dist/ui-library/assets/pictograms/sailboat.svg +0 -1
- package/dist/ui-library/assets/pictograms/scales.svg +0 -1
- package/dist/ui-library/assets/pictograms/screen.svg +0 -1
- package/dist/ui-library/assets/pictograms/seal.svg +0 -1
- package/dist/ui-library/assets/pictograms/search.svg +0 -1
- package/dist/ui-library/assets/pictograms/sentiment-dissatisfied.svg +0 -1
- package/dist/ui-library/assets/pictograms/server.svg +0 -1
- package/dist/ui-library/assets/pictograms/service-center.svg +0 -1
- package/dist/ui-library/assets/pictograms/sextant.svg +0 -1
- package/dist/ui-library/assets/pictograms/share.svg +0 -1
- package/dist/ui-library/assets/pictograms/shield.svg +0 -1
- package/dist/ui-library/assets/pictograms/shop.svg +0 -1
- package/dist/ui-library/assets/pictograms/shopping-cart-chf.svg +0 -1
- package/dist/ui-library/assets/pictograms/shopping-cart-download.svg +0 -1
- package/dist/ui-library/assets/pictograms/shopping-cart.svg +0 -1
- package/dist/ui-library/assets/pictograms/signal.svg +0 -1
- package/dist/ui-library/assets/pictograms/simple-integration.svg +0 -1
- package/dist/ui-library/assets/pictograms/skull.svg +0 -1
- package/dist/ui-library/assets/pictograms/smoking.svg +0 -1
- package/dist/ui-library/assets/pictograms/snow.svg +0 -1
- package/dist/ui-library/assets/pictograms/snowflake.svg +0 -1
- package/dist/ui-library/assets/pictograms/snowman.svg +0 -1
- package/dist/ui-library/assets/pictograms/soc.svg +0 -1
- package/dist/ui-library/assets/pictograms/social-days.svg +0 -1
- package/dist/ui-library/assets/pictograms/social-trading.svg +0 -1
- package/dist/ui-library/assets/pictograms/softwarepackage.svg +0 -1
- package/dist/ui-library/assets/pictograms/sound.svg +0 -1
- package/dist/ui-library/assets/pictograms/speechbubble.svg +0 -1
- package/dist/ui-library/assets/pictograms/spirit.svg +0 -1
- package/dist/ui-library/assets/pictograms/split.svg +0 -1
- package/dist/ui-library/assets/pictograms/stability.svg +0 -1
- package/dist/ui-library/assets/pictograms/stairs.svg +0 -1
- package/dist/ui-library/assets/pictograms/star.svg +0 -1
- package/dist/ui-library/assets/pictograms/statistic.svg +0 -1
- package/dist/ui-library/assets/pictograms/stock.svg +0 -1
- package/dist/ui-library/assets/pictograms/stocks.svg +0 -1
- package/dist/ui-library/assets/pictograms/stop.svg +0 -1
- package/dist/ui-library/assets/pictograms/stopwatch.svg +0 -1
- package/dist/ui-library/assets/pictograms/storage.svg +0 -1
- package/dist/ui-library/assets/pictograms/success.svg +0 -1
- package/dist/ui-library/assets/pictograms/suitcase.svg +0 -1
- package/dist/ui-library/assets/pictograms/sun.svg +0 -1
- package/dist/ui-library/assets/pictograms/surveillance.svg +0 -1
- package/dist/ui-library/assets/pictograms/swiss.svg +0 -1
- package/dist/ui-library/assets/pictograms/tablet.svg +0 -1
- package/dist/ui-library/assets/pictograms/tachometer.svg +0 -1
- package/dist/ui-library/assets/pictograms/target.svg +0 -1
- package/dist/ui-library/assets/pictograms/telephone.svg +0 -1
- package/dist/ui-library/assets/pictograms/telescope.svg +0 -1
- package/dist/ui-library/assets/pictograms/temperature.svg +0 -1
- package/dist/ui-library/assets/pictograms/terminal.svg +0 -1
- package/dist/ui-library/assets/pictograms/ticket.svg +0 -1
- package/dist/ui-library/assets/pictograms/tin.svg +0 -1
- package/dist/ui-library/assets/pictograms/tokenization.svg +0 -1
- package/dist/ui-library/assets/pictograms/tool.svg +0 -1
- package/dist/ui-library/assets/pictograms/touch.svg +0 -1
- package/dist/ui-library/assets/pictograms/train.svg +0 -1
- package/dist/ui-library/assets/pictograms/trash.svg +0 -1
- package/dist/ui-library/assets/pictograms/umbrella.svg +0 -1
- package/dist/ui-library/assets/pictograms/unlock.svg +0 -1
- package/dist/ui-library/assets/pictograms/upload.svg +0 -1
- package/dist/ui-library/assets/pictograms/usb.svg +0 -1
- package/dist/ui-library/assets/pictograms/viena.svg +0 -1
- package/dist/ui-library/assets/pictograms/viking.svg +0 -1
- package/dist/ui-library/assets/pictograms/visibility.svg +0 -1
- package/dist/ui-library/assets/pictograms/wallet.svg +0 -1
- package/dist/ui-library/assets/pictograms/warning.svg +0 -1
- package/dist/ui-library/assets/pictograms/way-up.svg +0 -1
- package/dist/ui-library/assets/pictograms/wc-handicap.svg +0 -1
- package/dist/ui-library/assets/pictograms/wc-men.svg +0 -1
- package/dist/ui-library/assets/pictograms/wc-woman.svg +0 -1
- package/dist/ui-library/assets/pictograms/wearables.svg +0 -1
- package/dist/ui-library/assets/pictograms/webshop.svg +0 -1
- package/dist/ui-library/assets/pictograms/wlan-bluetooth.svg +0 -1
- package/dist/ui-library/assets/pictograms/wlan.svg +0 -1
- package/dist/ui-library/assets/pictograms/x.svg +0 -1
- package/dist/ui-library/assets/pictograms/zurich.svg +0 -1
- package/dist/ui-library/p-15d09aea.entry.js.map +0 -1
- package/dist/ui-library/p-1dfee586.entry.js +0 -2
- package/dist/ui-library/p-1dfee586.entry.js.map +0 -1
- package/dist/ui-library/p-220ffc25.entry.js.map +0 -1
- package/dist/ui-library/p-2bac7418.entry.js.map +0 -1
- package/dist/ui-library/p-2f001f2b.entry.js +0 -2
- package/dist/ui-library/p-2f001f2b.entry.js.map +0 -1
- package/dist/ui-library/p-33b2003b.entry.js.map +0 -1
- package/dist/ui-library/p-4d714149.entry.js.map +0 -1
- package/dist/ui-library/p-4e183258.entry.js.map +0 -1
- package/dist/ui-library/p-54c4de63.entry.js +0 -2
- package/dist/ui-library/p-54c4de63.entry.js.map +0 -1
- package/dist/ui-library/p-7b269878.entry.js +0 -2
- package/dist/ui-library/p-7b269878.entry.js.map +0 -1
- package/dist/ui-library/p-7b9de402.entry.js +0 -2
- package/dist/ui-library/p-7cdda567.entry.js.map +0 -1
- package/dist/ui-library/p-83806640.entry.js.map +0 -1
- package/dist/ui-library/p-894dd0f7.entry.js.map +0 -1
- package/dist/ui-library/p-8e5b7dbb.entry.js.map +0 -1
- package/dist/ui-library/p-BF09Gr5y.js +0 -3
- package/dist/ui-library/p-BF09Gr5y.js.map +0 -1
- package/dist/ui-library/p-b45553e9.entry.js +0 -2
- package/dist/ui-library/p-b45553e9.entry.js.map +0 -1
- package/dist/ui-library/p-b4bb8b5d.entry.js +0 -2
- package/dist/ui-library/p-b4bb8b5d.entry.js.map +0 -1
- package/dist/ui-library/p-c32c5ff0.entry.js +0 -2
- package/dist/ui-library/p-c32c5ff0.entry.js.map +0 -1
- package/dist/ui-library/p-d9224c76.entry.js.map +0 -1
- package/dist/ui-library/p-f1e48369.entry.js.map +0 -1
- package/dist/ui-library/p-fac22819.entry.js.map +0 -1
- package/dist/ui-library/p-fb60d596.entry.js +0 -2
- package/dist/ui-library/p-fb60d596.entry.js.map +0 -1
- package/dist/ui-library/p-tWZJdnMN.js +0 -2
- package/dist/ui-library/p-tWZJdnMN.js.map +0 -1
- /package/dist/ui-library/{p-dfd0956a.entry.js.map → p-01306147.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9656e941.entry.js.map → p-0d97e592.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e516182e.entry.js.map → p-16028bce.entry.js.map} +0 -0
- /package/dist/ui-library/{p-041c4b5d.entry.js.map → p-19361e9b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-abe6f5c4.entry.js.map → p-1e4d1252.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5003f61b.entry.js.map → p-394c1dc0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-d601b41b.entry.js.map → p-4a4a0751.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a4f39b82.entry.js.map → p-537a8953.entry.js.map} +0 -0
- /package/dist/ui-library/{p-35ebd705.entry.js.map → p-5e70085d.entry.js.map} +0 -0
- /package/dist/ui-library/{p-91511258.entry.js.map → p-695e450e.entry.js.map} +0 -0
- /package/dist/ui-library/{p-bf10bd79.entry.js.map → p-6990e5ed.entry.js.map} +0 -0
- /package/dist/ui-library/{p-8496e1cd.entry.js.map → p-6d212bc0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-eed32256.entry.js.map → p-73b64625.entry.js.map} +0 -0
- /package/dist/ui-library/{p-367d2873.entry.js.map → p-7c438e21.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c72c0d32.entry.js.map → p-7d2f5f44.entry.js.map} +0 -0
- /package/dist/ui-library/{p-03ac847d.entry.js.map → p-81af96f2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-2db80aaf.entry.js.map → p-830ed202.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a747beba.entry.js.map → p-84964501.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9deb70a3.entry.js.map → p-868fab98.entry.js.map} +0 -0
- /package/dist/ui-library/{p-07dbfe1d.entry.js.map → p-8fe7ecdd.entry.js.map} +0 -0
- /package/dist/ui-library/{p-080bf19c.entry.js.map → p-9f0ed997.entry.js.map} +0 -0
- /package/dist/ui-library/{p-696590b3.entry.js.map → p-9f77ae55.entry.js.map} +0 -0
- /package/dist/ui-library/{p-0f7aff92.entry.js.map → p-a534a4bc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7722c3c9.entry.js.map → p-b8db5638.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e2460554.entry.js.map → p-ba68b30c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f22b0f49.entry.js.map → p-baf698e1.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6183f4c8.entry.js.map → p-c2ec443c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-3aeff13e.entry.js.map → p-d1bd67af.entry.js.map} +0 -0
- /package/dist/ui-library/{p-314df297.entry.js.map → p-df05b23b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-16fefaf7.entry.js.map → p-e91aa04b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-dc9badb8.entry.js.map → p-f0f73eef.entry.js.map} +0 -0
- /package/dist/ui-library/{p-7b9de402.entry.js.map → p-f38c1d23.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f8dccfa9.entry.js.map → p-f4e2ddfc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9a7aa0d7.entry.js.map → p-f585a5ab.entry.js.map} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-D0Go1Zjj.js';
|
|
2
2
|
import { u as unlockBodyScrolling, l as lockBodyScrolling } from './scroll-BY6hIEFX.js';
|
|
3
3
|
import { h as hasSlot } from './slot-j3oIB5oT.js';
|
|
4
4
|
import { M as Modal } from './modal-CfIoyvm-.js';
|
|
5
|
+
import { a as animateTo } from './animation-SLlDVtvF.js';
|
|
5
6
|
|
|
6
7
|
const sixDialogCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--width:31rem;display:contents}.dialog{display:flex;align-items:center;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--six-z-index-dialog);color:var(--six-color-web-rock-900)}.dialog:not(.dialog--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.dialog__panel{display:flex;flex-direction:column;z-index:2;width:var(--width);max-width:calc(100% - var(--six-spacing-xx-large));max-height:calc(100% - var(--six-spacing-xx-large));background-color:var(--six-panel-background-color);border-radius:var(--six-border-radius-medium);box-shadow:var(--six-shadow-large);opacity:0;transform:scale(0.8);transition:var(--six-transition-medium) opacity, var(--six-transition-medium) transform}.dialog__panel:focus{outline:none}@media screen and (max-width: 420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{display:flex;opacity:1;transform:none}.dialog__header{flex:0 0 auto;display:flex}.dialog__title{flex:1 1 auto;font-size:var(--six-font-size-x-large);font-weight:var(--six-font-weight-bold);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small)}.dialog__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-x-small)}.dialog__body{flex:1 1 auto;padding:var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.dialog__footer{flex:0 0 auto;text-align:right;padding:var(--six-spacing-large)}.dialog__footer ::slotted(six-button:not(:first-of-type)){margin-left:var(--six-spacing-xx-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}.dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity}.dialog--open .dialog__overlay{opacity:0.8}";
|
|
7
8
|
|
|
@@ -14,7 +15,7 @@ const SixDialog = class {
|
|
|
14
15
|
this.sixHide = createEvent(this, "six-dialog-hide");
|
|
15
16
|
this.sixAfterHide = createEvent(this, "six-dialog-after-hide");
|
|
16
17
|
this.sixInitialFocus = createEvent(this, "six-dialog-initial-focus");
|
|
17
|
-
this.
|
|
18
|
+
this.sixRequestClose = createEvent(this, "six-dialog-request-close");
|
|
18
19
|
this.componentId = `dialog-${++id}`;
|
|
19
20
|
this.willShow = false;
|
|
20
21
|
this.willHide = false;
|
|
@@ -33,18 +34,15 @@ const SixDialog = class {
|
|
|
33
34
|
*/
|
|
34
35
|
this.noHeader = false;
|
|
35
36
|
this.handleCloseClick = () => {
|
|
36
|
-
this.
|
|
37
|
+
this.preventClose('close-button');
|
|
37
38
|
};
|
|
38
39
|
this.handleKeyDown = (event) => {
|
|
39
40
|
if (event.key === 'Escape') {
|
|
40
|
-
this.
|
|
41
|
+
this.preventClose('keyboard');
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
44
|
this.handleOverlayClick = () => {
|
|
44
|
-
|
|
45
|
-
if (!sixOverlayDismiss.defaultPrevented) {
|
|
46
|
-
this.hide();
|
|
47
|
-
}
|
|
45
|
+
this.preventClose('overlay');
|
|
48
46
|
};
|
|
49
47
|
this.handleSlotChange = () => {
|
|
50
48
|
this.hasFooter = hasSlot(this.host, 'footer');
|
|
@@ -120,13 +118,21 @@ const SixDialog = class {
|
|
|
120
118
|
this.modal.deactivate();
|
|
121
119
|
unlockBodyScrolling(this.host);
|
|
122
120
|
}
|
|
121
|
+
preventClose(source) {
|
|
122
|
+
const sixRequestClose = this.sixRequestClose.emit({ source });
|
|
123
|
+
if (sixRequestClose.defaultPrevented && this.panel) {
|
|
124
|
+
animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
this.hide();
|
|
128
|
+
}
|
|
123
129
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
130
|
+
return (h("div", { key: 'b97915d5076bb83782212b61b1f65f694fd84b63', ref: (el) => (this.dialog = el), part: "base", class: {
|
|
125
131
|
dialog: true,
|
|
126
132
|
'dialog--open': this.open,
|
|
127
133
|
'dialog--visible': this.isVisible,
|
|
128
134
|
'dialog--has-footer': this.hasFooter,
|
|
129
|
-
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '
|
|
135
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '153379e70061e86842f65f3588329dc9c6d592db', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'd0b78c413a70eeb6e6cbf75be7829a7d1f2ad715', ref: (el) => (this.panel = el), part: "panel", class: "dialog__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '94e7d993356ea718e1ed87d4fe9e1d3faf0574f8', part: "header", class: "dialog__header" }, h("span", { key: '600591c9266dda80c457f41c54c92a8134d89bb8', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '4ad2904648821134ce3851682768b01086a68359', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '4d793b14b41f7d9c43d5f9949cba6bfe7c6a442c', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '729f6cc36802fccf46958b2c259213aa9369fb94', part: "body", class: "dialog__body" }, h("slot", { key: 'ba299ae12ba958c705a807639aee911167997b38' })), h("footer", { key: '92cb57fa4c4dc066a49dd259832e43be619cc945', part: "footer", class: "dialog__footer" }, h("slot", { key: '63ea68abef52d91c04608ad1bf6d508a31012ed9', name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
130
136
|
}
|
|
131
137
|
get host() { return getElement(this); }
|
|
132
138
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-dialog.entry.js","sources":["src/components/six-dialog/six-dialog.scss?tag=six-dialog&encapsulation=shadow","src/components/six-dialog/six-dialog.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --width: The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n */\n:host {\n --width: 31rem;\n\n display: contents;\n}\n\n.dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--six-z-index-dialog);\n color: var(--six-color-web-rock-900);\n\n &:not(.dialog--visible) {\n @include hidden;\n }\n}\n\n.dialog__panel {\n display: flex;\n flex-direction: column;\n z-index: 2;\n width: var(--width);\n max-width: calc(100% - var(--six-spacing-xx-large));\n max-height: calc(100% - var(--six-spacing-xx-large));\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n box-shadow: var(--six-shadow-large);\n opacity: 0;\n transform: scale(0.8);\n transition: var(--six-transition-medium) opacity, var(--six-transition-medium) transform;\n\n &:focus {\n outline: none;\n }\n}\n\n// Ensure there's enough vertical padding for phones that don't update vh when chrome appears (e.g. iPhone)\n@media screen and (max-width: 420px) {\n .dialog__panel {\n max-height: 80vh;\n }\n}\n\n.dialog--open .dialog__panel {\n display: flex;\n opacity: 1;\n transform: none;\n}\n\n.dialog__header {\n flex: 0 0 auto;\n display: flex;\n}\n\n.dialog__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-x-large);\n font-weight: var(--six-font-weight-bold);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small);\n}\n\n.dialog__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-x-small);\n}\n\n.dialog__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.dialog__footer {\n flex: 0 0 auto;\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:first-of-type)) {\n margin-left: var(--six-spacing-xx-small);\n }\n}\n\n.dialog:not(.dialog--has-footer) .dialog__footer {\n display: none;\n}\n\n.dialog__overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n}\n\n.dialog--open .dialog__overlay {\n opacity: 0.8;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the dialog from closing. */\n @Event({ eventName: 'six-dialog-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,YAAY,GAAG,6rEAA6rE;;ACMltE,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;;AAGc,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAEpD;;;AAGG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE;AAElB;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAoGhB,QAAA,IAAgB,CAAA,gBAAA,GAAG,MAAK;YAC9B,IAAI,CAAC,IAAI,EAAE;AACb,SAAC;AAEO,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,KAAoB,KAAI;AAC/C,YAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;gBAC1B,IAAI,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AAA,EAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAI,CAAA,CACpD,CACL,CACF;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"six-dialog.entry.js","sources":["src/components/six-dialog/six-dialog.scss?tag=six-dialog&encapsulation=shadow","src/components/six-dialog/six-dialog.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --width: The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n */\n:host {\n --width: 31rem;\n\n display: contents;\n}\n\n.dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--six-z-index-dialog);\n color: var(--six-color-web-rock-900);\n\n &:not(.dialog--visible) {\n @include hidden;\n }\n}\n\n.dialog__panel {\n display: flex;\n flex-direction: column;\n z-index: 2;\n width: var(--width);\n max-width: calc(100% - var(--six-spacing-xx-large));\n max-height: calc(100% - var(--six-spacing-xx-large));\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n box-shadow: var(--six-shadow-large);\n opacity: 0;\n transform: scale(0.8);\n transition:\n var(--six-transition-medium) opacity,\n var(--six-transition-medium) transform;\n\n &:focus {\n outline: none;\n }\n}\n\n// Ensure there's enough vertical padding for phones that don't update vh when chrome appears (e.g. iPhone)\n@media screen and (max-width: 420px) {\n .dialog__panel {\n max-height: 80vh;\n }\n}\n\n.dialog--open .dialog__panel {\n display: flex;\n opacity: 1;\n transform: none;\n}\n\n.dialog__header {\n flex: 0 0 auto;\n display: flex;\n}\n\n.dialog__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-x-large);\n font-weight: var(--six-font-weight-bold);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small);\n}\n\n.dialog__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-x-small);\n}\n\n.dialog__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.dialog__footer {\n flex: 0 0 auto;\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:first-of-type)) {\n margin-left: var(--six-spacing-xx-small);\n }\n}\n\n.dialog:not(.dialog--has-footer) .dialog__footer {\n display: none;\n}\n\n.dialog__overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n}\n\n.dialog--open .dialog__overlay {\n opacity: 0.8;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDialogRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\n}\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-dialog-request-close' }) sixRequestClose!: EventEmitter<SixDialogRequestClose>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\n }\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,6rEAA6rE;;ACWltE,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;;AAGc,QA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,WAAW,CAAA,MAAA,CAAQ,EAAA,EACtE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAA,EAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF,EACP,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,CAC9B,CACK,CACV,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EAEN,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAI,CAAA,CACpD,CACL,CACF;;;;;;;;;;;"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-D0Go1Zjj.js';
|
|
2
2
|
import { u as unlockBodyScrolling, l as lockBodyScrolling } from './scroll-BY6hIEFX.js';
|
|
3
3
|
import { h as hasSlot } from './slot-j3oIB5oT.js';
|
|
4
4
|
import { M as Modal } from './modal-CfIoyvm-.js';
|
|
5
|
+
import { a as animateTo } from './animation-SLlDVtvF.js';
|
|
5
6
|
|
|
6
7
|
const sixDrawerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--size:25rem;display:contents}.drawer{top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.drawer:not(.drawer--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.drawer--contained{position:absolute;z-index:initial}.drawer--fixed{position:fixed;z-index:var(--six-z-index-drawer)}.drawer__panel{position:absolute;display:flex;flex-direction:column;z-index:2;max-width:100%;max-height:100%;background-color:var(--six-drawer-background-color);color:var(--six-drawer-color);box-shadow:var(--six-shadow-large);transition:var(--six-transition-medium) transform;overflow:auto;pointer-events:all}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:100%;height:var(--size);transform:translate(0, -100%)}.drawer--right .drawer__panel{top:0;right:0;bottom:auto;left:auto;width:var(--size);height:100%;transform:translate(100%, 0)}.drawer--bottom .drawer__panel{top:auto;right:auto;bottom:0;left:0;width:100%;height:var(--size);transform:translate(0, 100%)}.drawer--left .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:var(--size);height:100%;transform:translate(-100%, 0)}.drawer--open .drawer__panel{transform:none}.drawer__header{display:flex}.drawer__title{flex:1 1 auto;font-size:var(--six-font-size-large);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large)}.drawer__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-large)}.drawer__body{flex:1 1 auto;padding:var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.drawer__footer{text-align:right;padding:var(--six-spacing-large)}.drawer__footer ::slotted(six-button:not(:last-of-type)){margin-right:var(--six-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity;pointer-events:all}.drawer--contained .drawer__overlay{position:absolute}.drawer--open .drawer__overlay{opacity:0.4}";
|
|
7
8
|
|
|
@@ -14,7 +15,7 @@ const SixDrawer = class {
|
|
|
14
15
|
this.sixHide = createEvent(this, "six-drawer-hide");
|
|
15
16
|
this.sixAfterHide = createEvent(this, "six-drawer-after-hide");
|
|
16
17
|
this.sixInitialFocus = createEvent(this, "six-drawer-initial-focus");
|
|
17
|
-
this.
|
|
18
|
+
this.sixRequestClose = createEvent(this, "six-drawer-request-close");
|
|
18
19
|
this.componentId = `drawer-${++id}`;
|
|
19
20
|
this.willShow = false;
|
|
20
21
|
this.willHide = false;
|
|
@@ -40,18 +41,15 @@ const SixDrawer = class {
|
|
|
40
41
|
*/
|
|
41
42
|
this.noHeader = false;
|
|
42
43
|
this.handleCloseClick = () => {
|
|
43
|
-
this.
|
|
44
|
+
this.preventClose('close-button');
|
|
44
45
|
};
|
|
45
46
|
this.handleKeyDown = (event) => {
|
|
46
47
|
if (event.key === 'Escape') {
|
|
47
|
-
this.
|
|
48
|
+
this.preventClose('keyboard');
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
this.handleOverlayClick = () => {
|
|
51
|
-
|
|
52
|
-
if (!sixOverlayDismiss.defaultPrevented) {
|
|
53
|
-
this.hide();
|
|
54
|
-
}
|
|
52
|
+
this.preventClose('overlay');
|
|
55
53
|
};
|
|
56
54
|
this.handleSlotChange = () => {
|
|
57
55
|
this.hasFooter = hasSlot(this.host, 'footer');
|
|
@@ -129,6 +127,14 @@ const SixDrawer = class {
|
|
|
129
127
|
this.modal.deactivate();
|
|
130
128
|
unlockBodyScrolling(this.host);
|
|
131
129
|
}
|
|
130
|
+
preventClose(source) {
|
|
131
|
+
const sixRequestClose = this.sixRequestClose.emit({ source });
|
|
132
|
+
if (sixRequestClose.defaultPrevented && this.panel) {
|
|
133
|
+
animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.hide();
|
|
137
|
+
}
|
|
132
138
|
resetTransitionVariables() {
|
|
133
139
|
this.isVisible = this.open;
|
|
134
140
|
this.willShow = false;
|
|
@@ -136,7 +142,7 @@ const SixDrawer = class {
|
|
|
136
142
|
this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
|
|
137
143
|
}
|
|
138
144
|
render() {
|
|
139
|
-
return (h("div", { key: '
|
|
145
|
+
return (h("div", { key: '17d045e1a06aa424bc59f7316525df73ae031227', ref: (el) => (this.drawer = el), part: "base", class: {
|
|
140
146
|
drawer: true,
|
|
141
147
|
'drawer--open': this.open,
|
|
142
148
|
'drawer--visible': this.isVisible,
|
|
@@ -147,7 +153,7 @@ const SixDrawer = class {
|
|
|
147
153
|
'drawer--contained': this.contained,
|
|
148
154
|
'drawer--fixed': !this.contained,
|
|
149
155
|
'drawer--has-footer': this.hasFooter,
|
|
150
|
-
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '
|
|
156
|
+
}, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '804fcb75cc49156bfcb6af8958a40c33c20f8202', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: 'e5095b200d370fe98163b3f0fa2bbf42ece7fa5f', ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: 'c479cfa062277a6f1cf0f7433cff73e94139faea', part: "header", class: "drawer__header" }, h("span", { key: '8d60e0eb1cecc9c8f2091b5b8c9aefaa2aac3c91', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '26c5fb0feb42c9db7625e98f10cd5cbd0acfd742', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '454ee7cea511b470ae224c6559ee99f10e9cf095', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '4f07be9128e7d2a292298b3e22ec0e5105adc3f3', part: "body", class: "drawer__body" }, h("slot", { key: '856a4bd2ee8dacc8b6124d87d8e501a8bd8c3f23' })), h("footer", { key: '721ca11e6b5470d2170d9bc929ba2d973faf9117', part: "footer", class: "drawer__footer" }, h("slot", { key: 'afb8d35c7fee0fa3e9833ea1b381c2d81f8cb5b0', name: "footer", onSlotchange: this.handleSlotChange })))));
|
|
151
157
|
}
|
|
152
158
|
get host() { return getElement(this); }
|
|
153
159
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"six-drawer.entry.js","sources":["src/components/six-drawer/six-drawer.scss?tag=six-drawer&encapsulation=shadow","src/components/six-drawer/six-drawer.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n\n &:not(.drawer--visible) {\n @include hidden;\n }\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--six-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--six-drawer-background-color);\n color: var(--six-drawer-color);\n box-shadow: var(--six-shadow-large);\n transition: var(--six-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n\n &:focus {\n outline: none;\n }\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n // don't use translate here or it will cause problems with popovers inside the drawer e.g. dropdown, select etc.\n transform: none;\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-large);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:last-of-type)) {\n margin-right: var(--six-spacing-x-small);\n }\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 0.4;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the drawer from closing. */\n @Event({ eventName: 'six-drawer-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,YAAY,GAAG,q5EAAq5E;;ACM16E,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;;AAGc,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAEpD;;;AAGG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE;;AAGV,QAAA,IAAS,CAAA,SAAA,GAAwC,OAAO;AAEhE;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAEzB;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAyGhB,QAAA,IAAgB,CAAA,gBAAA,GAAG,MAAK;YAC9B,IAAI,CAAC,IAAI,EAAE;AACb,SAAC;AAEO,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,KAAoB,KAAI;AAC/C,YAAA,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CACF,EACP,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,CAC9B,CACK,CACV,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EAEN,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAI,CAAA,CACpD,CACL,CACF;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"six-drawer.entry.js","sources":["src/components/six-drawer/six-drawer.scss?tag=six-drawer&encapsulation=shadow","src/components/six-drawer/six-drawer.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n\n &:not(.drawer--visible) {\n @include hidden;\n }\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--six-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--six-drawer-background-color);\n color: var(--six-drawer-color);\n box-shadow: var(--six-shadow-large);\n transition: var(--six-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n\n &:focus {\n outline: none;\n }\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n // don't use translate here or it will cause problems with popovers inside the drawer e.g. dropdown, select etc.\n transform: none;\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-large);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:last-of-type)) {\n margin-right: var(--six-spacing-x-small);\n }\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 0.4;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDrawerRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\n}\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-drawer-request-close' }) sixRequestClose!: EventEmitter<SixDrawerRequestClose>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\n }\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,q5EAAq5E;;ACW16E,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;A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