@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1778578287 → 5.0.0-next.2-dev.1778583357
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/accordion/accordion.component.js +1 -1
- package/{accordion.component-DN0x35kD.js → accordion.component-DbuSYzV1.js} +20 -19
- package/accordion.js +1 -1
- package/accordion.pure.js +1 -1
- package/alert/alert/alert.component.js +1 -1
- package/{alert.component-D8NT9YJ-.js → alert.component-DN7sW2NC.js} +17 -17
- package/alert.js +1 -1
- package/alert.pure.js +1 -1
- package/autocomplete/autocomplete-base-element.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/{autocomplete-base-element-65vWamdc.js → autocomplete-base-element-DRGjFF9_.js} +7 -7
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/{block-link-common-aUfrxxDp.js → block-link-common-B1E38xKe.js} +14 -15
- package/button/common/button-common.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/{button-common-BMpS65Zf.js → button-common-BQdNXKwl.js} +18 -18
- package/button.js +2 -2
- package/button.pure.js +2 -2
- package/checkbox/checkbox.component.js +1 -1
- package/checkbox-panel/checkbox-panel.component.js +1 -1
- package/{checkbox.component-ChQmCxal.js → checkbox.component-DWmjiv_c.js} +8 -8
- package/checkbox.js +1 -1
- package/checkbox.pure.js +1 -1
- package/chip/chip-group/chip-group.component.js +1 -1
- package/{chip-group.component-BMpczIZH.js → chip-group.component-DJORKUef.js} +19 -19
- package/chip.js +1 -1
- package/chip.pure.js +1 -1
- package/{compact-paginator.component-C6qbMZ4X.js → compact-paginator.component-BAuShgQE.js} +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/container.js +1 -1
- package/container.pure.js +1 -1
- package/core/base-elements/selection-group-base-element.js +1 -1
- package/core/mixins/panel-mixin.js +1 -1
- package/core/mixins/selection-panel-mixin.js +1 -1
- package/core/styles/core.scss +4 -0
- package/core/styles/lean-off-brand-theme.scss +3 -0
- package/core/styles/lean-safety-theme.scss +3 -0
- package/core/styles/option-panel-common.scss +1 -1
- package/core/styles/styles.js +1 -1
- package/core.css +80 -54
- package/core.js +31 -32
- package/custom-elements.json +2974 -2959
- package/development/accordion/accordion.component.d.ts +3 -4
- package/development/accordion/accordion.component.d.ts.map +1 -1
- package/development/accordion/accordion.component.js +1 -1
- package/development/accordion.component-xx7XabDY.js +165 -0
- package/development/accordion.js +1 -1
- package/development/accordion.pure.js +1 -1
- package/development/action-group/action-group.component.d.ts +2 -2
- package/development/action-group/action-group.component.d.ts.map +1 -1
- package/development/action-group.component-wgXPpkQe.js +1 -1
- package/development/alert/alert/alert.component.d.ts +2 -3
- package/development/alert/alert/alert.component.d.ts.map +1 -1
- package/development/alert/alert/alert.component.js +1 -1
- package/development/{alert.component-DxzF0FOi.js → alert.component-Dzm5z0jh.js} +5 -6
- package/development/alert.js +1 -1
- package/development/alert.pure.js +1 -1
- package/development/autocomplete/autocomplete-base-element.d.ts +3 -3
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-base-element-DQiZ6hhk.js +683 -0
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/{block-link-common-CoZgcEBY.js → block-link-common-DNvRfeay.js} +3 -5
- package/development/button/common/button-common.d.ts +1 -1
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common/button-common.js +1 -1
- package/development/button/mini-button-group/mini-button-group.component.d.ts +2 -3
- package/development/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +1 -1
- package/development/{button-common-DZUBRwwD.js → button-common-C-A7Dulr.js} +5 -6
- package/development/button.js +2 -2
- package/development/button.pure.js +2 -2
- package/development/calendar/common/calendar-cell-base-element.d.ts.map +1 -1
- package/development/calendar-cell-base-element-mWRSDeWc.js +1 -1
- package/development/checkbox/checkbox.component.d.ts +2 -3
- package/development/checkbox/checkbox.component.d.ts.map +1 -1
- package/development/checkbox/checkbox.component.js +1 -1
- package/development/checkbox-panel/checkbox-panel.component.js +2 -2
- package/development/{checkbox.component-D6BR8e7w.js → checkbox.component-UbxCpZmi.js} +6 -7
- package/development/checkbox.js +1 -1
- package/development/checkbox.pure.js +1 -1
- package/development/chip/chip-group/chip-group.component.d.ts +1 -1
- package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/development/chip/chip-group/chip-group.component.js +1 -1
- package/development/chip-group.component-Sgmi-kSy.js +403 -0
- package/development/chip.js +1 -1
- package/development/chip.pure.js +1 -1
- package/development/compact-paginator.component-BgkpxaaD.js +49 -0
- package/development/container/sticky-bar/sticky-bar.component.d.ts +2 -3
- package/development/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
- package/development/container/sticky-bar/sticky-bar.component.js +1 -1
- package/development/container.js +1 -1
- package/development/container.pure.js +1 -1
- package/development/core/base-elements/selection-group-base-element.d.ts +2 -3
- package/development/core/base-elements/selection-group-base-element.d.ts.map +1 -1
- package/development/core/base-elements/selection-group-base-element.js +1 -1
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.js +1 -1
- package/development/core/mixins/selection-panel-mixin.js +2 -1
- package/development/core/styles/styles.js +1 -1
- package/development/core.d.ts +0 -1
- package/development/core.d.ts.map +1 -1
- package/development/core.js +4 -5
- package/development/expansion-panel/expansion-panel/expansion-panel.component.d.ts +2 -3
- package/development/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/development/{expansion-panel-content.component-BUbiseFP.js → expansion-panel-content.component-Bs0pYNJO.js} +2 -1
- package/development/{expansion-panel-header.component-CQFSwrqu.js → expansion-panel-header.component-gg5A_7Pz.js} +2 -1
- package/development/expansion-panel.component-DptYMbwV.js +317 -0
- package/development/expansion-panel.js +3 -3
- package/development/expansion-panel.pure.js +3 -3
- package/development/file-selector/common/file-selector-common.d.ts +1 -1
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/development/file-selector/common/file-selector-common.js +1 -1
- package/development/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
- package/development/file-selector/file-selector/file-selector.component.js +5 -4
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/file-selector-common-CGL95Rnw.js +412 -0
- package/development/file-selector-dropzone.component-B84OL4Xd.js +106 -0
- package/development/file-selector.js +2 -2
- package/development/file-selector.pure.js +2 -2
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/development/{flip-card-summary.component-C-US77Nw.js → flip-card-summary.component-jLNjJUNl.js} +2 -2
- package/development/flip-card.js +1 -1
- package/development/flip-card.pure.js +1 -1
- package/development/form-field/form-field/form-field.component.d.ts +2 -3
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field.component-CPWBCHer.js +702 -0
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/header/common/header-action-common.js +1 -1
- package/development/header/header/header.component.d.ts +2 -3
- package/development/header/header/header.component.d.ts.map +1 -1
- package/development/header/header/header.component.js +1 -1
- package/development/header-action-common-Be0XQge2.js +86 -0
- package/development/header.component-C4e7CNql.js +334 -0
- package/development/header.js +2 -2
- package/development/header.pure.js +2 -2
- package/development/link/common/block-link-common.d.ts +1 -1
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link-list/common/link-list-base.d.ts +1 -2
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common/link-list-base.js +1 -1
- package/development/link-list/link-list.component.js +1 -1
- package/development/{link-list-base-QADBTZCN.js → link-list-base-CKT3c8yW.js} +4 -5
- package/development/{link-list.component-CKVU3Gsr.js → link-list.component-B90qHOUD.js} +2 -2
- package/development/link-list.js +2 -2
- package/development/link-list.pure.js +2 -2
- package/development/link.js +1 -1
- package/development/link.pure.js +1 -1
- package/development/mini-button-group.component-VYKZf1rq.js +115 -0
- package/development/notification/notification.component.d.ts +2 -5
- package/development/notification/notification.component.d.ts.map +1 -1
- package/development/notification/notification.component.js +1 -1
- package/development/notification.component-BiJSo7Pl.js +259 -0
- package/development/notification.js +1 -1
- package/development/notification.pure.js +1 -1
- package/development/{optgroup-base-element-Cq8DMPk9.js → optgroup-base-element-CLfE6pmz.js} +2 -2
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup-base-element.js +1 -1
- package/development/option/optgroup/optgroup.component.js +1 -1
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +2 -2
- package/development/option/option-hint/option-hint.component.d.ts.map +1 -1
- package/development/option/option-hint/option-hint.component.js +1 -1
- package/development/{option-hint.component-B4PxB3BW.js → option-hint.component-DPfgcpVn.js} +2 -1
- package/development/option.js +2 -2
- package/development/option.pure.js +2 -2
- package/development/paginator/common/paginator-common.d.ts +1 -1
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/paginator/common/paginator-common.js +1 -407
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/paginator-common-BCeNUko_.js +410 -0
- package/development/paginator.component-BwLUSpDj.js +261 -0
- package/development/paginator.js +3 -3
- package/development/paginator.pure.js +3 -3
- package/development/{panel-mixin-CFz9-K_8.js → panel-mixin-DPybe45K.js} +3 -5
- package/development/popover/popover.component.js +1 -1
- package/development/{popover.component-Bvbf4NyI.js → popover.component-BmTfHMFw.js} +1 -1
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/development/radio-button/common/radio-button-common.js +1 -1
- package/development/radio-button/radio-button.component.d.ts +2 -2
- package/development/radio-button/radio-button.component.d.ts.map +1 -1
- package/development/radio-button/radio-button.component.js +1 -1
- package/development/{radio-button-common-tC_l-WdB.js → radio-button-common-G0jLFo41.js} +1 -1
- package/development/{radio-button.component-3BV31Fkc.js → radio-button.component-DnErH-1J.js} +5 -5
- package/development/radio-button.js +2 -2
- package/development/radio-button.pure.js +2 -2
- package/development/select/select.component.d.ts +3 -3
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +1 -1
- package/development/select.component-CUjF11sq.js +807 -0
- package/development/select.js +1 -1
- package/development/select.pure.js +1 -1
- package/development/selection-action-panel/selection-action-panel.component.js +1 -1
- package/development/{selection-action-panel.component-ClpKsc-Z.js → selection-action-panel.component-BT0HmTja.js} +1 -1
- package/development/selection-action-panel.js +1 -1
- package/development/selection-action-panel.pure.js +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/development/{selection-expansion-panel.component-CTCVJiug.js → selection-expansion-panel.component-BT78Qhbf.js} +1 -1
- package/development/selection-expansion-panel.js +1 -1
- package/development/selection-expansion-panel.pure.js +1 -1
- package/development/{selection-group-base-element-RafKyWXP.js → selection-group-base-element-DRT3Ctp2.js} +3 -5
- package/development/sidebar/sidebar/sidebar.component.js +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/development/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/{sidebar-close-button.component-D_grme_h.js → sidebar-close-button.component-CXnf-P5H.js} +1 -1
- package/development/{sidebar-container.component-C_cu3Vfy.js → sidebar-container.component-CxwDKxv9.js} +1 -1
- package/development/{sidebar-content.component-CbYPeaaz.js → sidebar-content.component-DbcREBUa.js} +1 -1
- package/development/{sidebar-title.component-BFqfnG6B.js → sidebar-title.component-BW04otyD.js} +1 -1
- package/development/{sidebar.component-DcVKyd9R.js → sidebar.component-mfXnE6WQ.js} +1 -1
- package/development/sidebar.js +5 -5
- package/development/sidebar.pure.js +5 -5
- package/development/signet/signet.component.js +1 -1
- package/development/{signet.component-NdFqUZK9.js → signet.component-k14RJ8FA.js} +1 -1
- package/development/signet.js +1 -1
- package/development/signet.pure.js +1 -1
- package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/{skiplink-list.component-ppyytKn2.js → skiplink-list.component-m7xm-pns.js} +3 -3
- package/development/skiplink-list.js +1 -1
- package/development/skiplink-list.pure.js +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/{slider.component-k8g6G0j9.js → slider.component-D_nLTlRF.js} +1 -1
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/development/status/status.component.js +1 -1
- package/development/{status.component-CtTNDvLl.js → status.component-B9en2l26.js} +1 -1
- package/development/status.js +1 -1
- package/development/status.pure.js +1 -1
- package/development/step-label.component-Bo7Z0w7N.js +127 -0
- package/development/{step.component-HU8Ji1Pu.js → step.component-CcjtUFyR.js} +1 -1
- package/development/stepper/step/step.component.js +1 -1
- package/development/stepper/step-label/step-label.component.d.ts +1 -1
- package/development/stepper/step-label/step-label.component.d.ts.map +1 -1
- package/development/stepper/step-label/step-label.component.js +1 -1
- package/development/stepper/stepper/stepper.component.d.ts +2 -3
- package/development/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/development/stepper/stepper/stepper.component.js +1 -1
- package/development/stepper.component-80S-oXrH.js +422 -0
- package/development/stepper.js +3 -3
- package/development/stepper.pure.js +3 -3
- package/development/{sticky-bar.component-BrSBKlh-.js → sticky-bar.component-BJLtRvcd.js} +4 -5
- package/development/{styles-CmwkvLqU.js → styles-Cctez2BS.js} +2 -2
- package/development/{styles-Jlhoev1S.js → styles-WppEBrlW.js} +1 -1
- package/development/tab-group.component-D4fvd6Uu.js +265 -0
- package/development/{tab-label.component-CPaKKeox.js → tab-label.component-CNX8bsJL.js} +2 -2
- package/development/tab-nav-bar.component-B_mi8GGR.js +109 -0
- package/development/{tab.component-DxZtEaTP.js → tab.component-BVhYPy5Y.js} +1 -1
- package/development/table/table-wrapper/table-wrapper.component.js +1 -1
- package/development/{table-wrapper.component-Ba6NpQu1.js → table-wrapper.component-By59zmcU.js} +1 -1
- package/development/table.js +1 -1
- package/development/table.pure.js +1 -1
- package/development/tabs/common/styles.js +1 -1
- package/development/tabs/tab/tab.component.js +1 -1
- package/development/tabs/tab-group/tab-group.component.d.ts +2 -3
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +1 -1
- package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/development/tabs/tab-label/tab-label.component.js +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts +2 -3
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/development/tabs.js +5 -5
- package/development/tabs.pure.js +5 -5
- package/development/tag/tag/tag.component.d.ts +4 -6
- package/development/tag/tag/tag.component.d.ts.map +1 -1
- package/development/tag/tag/tag.component.js +1 -1
- package/development/tag/tag-group/tag-group.component.d.ts +1 -2
- package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.component.js +1 -1
- package/development/tag-group.component-Db8prSBL.js +194 -0
- package/development/tag.component-DG1uxD28.js +238 -0
- package/development/tag.js +2 -2
- package/development/tag.pure.js +2 -2
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/{teaser-hero.component-DrdkFx5X.js → teaser-hero.component-BHMcPmdh.js} +1 -1
- package/development/teaser-hero.js +1 -1
- package/development/teaser-hero.pure.js +1 -1
- package/development/teaser-panel/teaser-panel.component.js +1 -1
- package/development/{teaser-panel.component-WSXbBzCq.js → teaser-panel.component-BRfbvmkb.js} +1 -1
- package/development/teaser-panel.js +1 -1
- package/development/teaser-panel.pure.js +1 -1
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/{teaser-product-common-B8a-KHTi.js → teaser-product-common-DOyLdTks.js} +1 -1
- package/development/{teaser-product.component-C80Dchhl.js → teaser-product.component-DMyuB-cH.js} +1 -1
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/{teaser.component-DqtA6XAX.js → teaser.component-CF_NUbwJ.js} +1 -1
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/{time-input.component-Bc4Sfu-1.js → time-input.component-XxzRoupm.js} +1 -1
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-details.component-DacESFsP.js → timetable-form-details.component-BeuAZUQe.js} +1 -1
- package/development/{timetable-form-field.component-DWCb4SY0.js → timetable-form-field.component-DC2z1Cwf.js} +4 -1
- package/development/{timetable-form-swap-button.component-DGCpV2_y.js → timetable-form-swap-button.component-CnbVc8Ok.js} +1 -1
- package/development/{timetable-form.component-CtRlKR7e.js → timetable-form.component-C8DfPePn.js} +1 -1
- package/development/timetable-form.js +4 -4
- package/development/timetable-form.pure.js +4 -4
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/{timetable-occupancy-icon.component-uaabLEC5.js → timetable-occupancy-icon.component-UBmyZsTO.js} +1 -1
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/{timetable-occupancy.component-DKWki5pG.js → timetable-occupancy.component-DMm242Fr.js} +1 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +1 -1
- package/development/{title-base-fg03gSOD.js → title-base-D_Rjyk_j.js} +1 -1
- package/development/{title.component-B1Uq-Ctr.js → title.component-CMxYhTfw.js} +2 -2
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.js +1 -1
- package/development/{toast.component-DeQSxWdf.js → toast.component-DonS3uQm.js} +1 -1
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/development/toggle/toggle/toggle.component.d.ts +2 -3
- package/development/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.d.ts +2 -3
- package/development/toggle-check/toggle-check.component.d.ts.map +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/{toggle-check.component-BUYj49gP.js → toggle-check.component-BIV7jFIc.js} +4 -5
- package/development/toggle-check.js +1 -1
- package/development/toggle-check.pure.js +1 -1
- package/development/{toggle-option.component-heU6pMCB.js → toggle-option.component-DRxwLSKU.js} +1 -1
- package/development/toggle.component-B03k5qc1.js +243 -0
- package/development/toggle.js +2 -2
- package/development/toggle.pure.js +2 -2
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/{tooltip.component-BjOgv29e.js → tooltip.component-D8zik3p4.js} +1 -1
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon-common.js +1 -1
- package/development/{train-blocked-passage.component-2TuSqbDg.js → train-blocked-passage.component-Cxd7dBDC.js} +1 -1
- package/development/{train-formation.component-BYB03zX5.js → train-formation.component-BEg6OPib.js} +1 -1
- package/development/{train-wagon-common-C-0fI1r2.js → train-wagon-common-Dg-BjUtC.js} +1 -1
- package/development/{train.component-BDG8SlCc.js → train.component-dECIGw2x.js} +1 -1
- package/development/train.js +5 -5
- package/development/train.pure.js +4 -4
- package/development/visual-checkbox/visual-checkbox.component.d.ts +1 -2
- package/development/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/development/{visual-checkbox.component-Dzdm0TH-.js → visual-checkbox.component-Dm8DNhH2.js} +4 -5
- package/development/visual-checkbox.js +1 -1
- package/development/visual-checkbox.pure.js +1 -1
- package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/{expansion-panel-content.component-Cf1CWu5_.js → expansion-panel-content.component-WG1cwhjd.js} +1 -1
- package/{expansion-panel-header.component-DloOF4eC.js → expansion-panel-header.component-CnUqRql_.js} +1 -1
- package/expansion-panel.component-DvZogUuX.js +222 -0
- package/expansion-panel.js +3 -3
- package/expansion-panel.pure.js +3 -3
- package/file-selector/common/file-selector-common.js +1 -1
- package/file-selector/file-selector/file-selector.component.js +14 -13
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/{file-selector-common-CmbsJ64j.js → file-selector-common-BE780nIa.js} +34 -34
- package/{file-selector-dropzone.component-74fipV3m.js → file-selector-dropzone.component-CGo6odhC.js} +23 -23
- package/file-selector.js +2 -2
- package/file-selector.pure.js +2 -2
- package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/{flip-card-summary.component-CuMMdJ-B.js → flip-card-summary.component-D5cKgj47.js} +1 -1
- package/flip-card.js +1 -1
- package/flip-card.pure.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/{form-field.component-Dg-a3lS5.js → form-field.component-BdfK6r2v.js} +13 -13
- package/form-field.js +1 -1
- package/form-field.pure.js +1 -1
- package/header/common/header-action-common.js +1 -1
- package/header/header/header.component.js +1 -1
- package/header-action-common-DuPx0U2o.js +64 -0
- package/{header.component-Bj7phY1B.js → header.component-TU3e89pY.js} +18 -18
- package/header.js +2 -2
- package/header.pure.js +2 -2
- package/lean-off-brand-theme.css +3755 -0
- package/lean-safety-theme.css +3755 -0
- package/lean-theme.css +3755 -0
- package/link/common/block-link-common.js +1 -1
- package/link-list/common/link-list-base.js +1 -1
- package/link-list/link-list.component.js +1 -1
- package/{link-list-base-CEEw1SMd.js → link-list-base-C12PTC8e.js} +16 -16
- package/{link-list.component-CS4KuMkQ.js → link-list.component-BNVd0a8U.js} +1 -1
- package/link-list.js +2 -2
- package/link-list.pure.js +2 -2
- package/link.js +1 -1
- package/link.pure.js +1 -1
- package/mini-button-group.component-DQBU0BDm.js +85 -0
- package/notification/notification.component.js +1 -1
- package/notification.component-CDGtGwRv.js +188 -0
- package/notification.js +1 -1
- package/notification.pure.js +1 -1
- package/off-brand-theme.css +92 -67
- package/{optgroup-base-element-CrO_ydA8.js → optgroup-base-element-Cxe8SIQh.js} +1 -1
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/optgroup/optgroup.component.js +1 -1
- package/option/option/option-base-element.js +1 -1
- package/option/option-hint/option-hint.component.js +1 -1
- package/{option-hint.component-BEXndgG-.js → option-hint.component-NSxCKXEy.js} +1 -1
- package/option.js +2 -2
- package/option.pure.js +2 -2
- package/package.json +14 -2
- package/paginator/common/paginator-common.js +2 -294
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/paginator-common-uoCIcl4X.js +294 -0
- package/{paginator.component-3ra04AQU.js → paginator.component-DB8l-B6J.js} +1 -1
- package/paginator.js +3 -3
- package/paginator.pure.js +3 -3
- package/{panel-mixin-CcbyRemy.js → panel-mixin-XQXElTGt.js} +18 -19
- package/popover/popover.component.js +1 -1
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/radio-button/common/radio-button-common.js +1 -1
- package/radio-button/radio-button.component.js +1 -1
- package/{radio-button.component-DedTTka_.js → radio-button.component-CZ273yAb.js} +14 -14
- package/radio-button.js +2 -2
- package/radio-button.pure.js +2 -2
- package/safety-theme.css +92 -67
- package/select/select.component.js +1 -1
- package/{select.component-CO-42jqH.js → select.component-CLPLpFDz.js} +40 -40
- package/select.js +1 -1
- package/select.pure.js +1 -1
- package/selection-action-panel/selection-action-panel.component.js +1 -1
- package/selection-action-panel.js +1 -1
- package/selection-action-panel.pure.js +1 -1
- package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/selection-expansion-panel.js +1 -1
- package/selection-expansion-panel.pure.js +1 -1
- package/{selection-group-base-element-BCEzcnya.js → selection-group-base-element-COFsU6Ur.js} +17 -18
- package/sidebar/sidebar/sidebar.component.js +1 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/sidebar.js +5 -5
- package/sidebar.pure.js +5 -5
- package/signet/signet.component.js +1 -1
- package/signet.js +1 -1
- package/signet.pure.js +1 -1
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/{skiplink-list.component-Dsg-qVWZ.js → skiplink-list.component-BXaqYpsI.js} +18 -18
- package/skiplink-list.js +1 -1
- package/skiplink-list.pure.js +1 -1
- package/slider/slider.component.js +1 -1
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +92 -67
- package/status/status.component.js +1 -1
- package/status.js +1 -1
- package/status.pure.js +1 -1
- package/step-label.component-BGSaHafq.js +77 -0
- package/stepper/step/step.component.js +1 -1
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper/stepper/stepper.component.js +1 -1
- package/{stepper.component-BX3gSLpt.js → stepper.component-lh0YSbT1.js} +22 -22
- package/stepper.js +3 -3
- package/stepper.pure.js +3 -3
- package/{sticky-bar.component-CmB6U3iY.js → sticky-bar.component-dmlGAZLW.js} +13 -13
- package/styles-DAMaYe4p.js +5 -0
- package/{tab-group.component-BGDY-hvA.js → tab-group.component-t4eeCNf-.js} +20 -20
- package/{tab-label.component-CMbmEoNe.js → tab-label.component-DvvSohaG.js} +1 -1
- package/{tab-nav-bar.component-Cwrqhb-2.js → tab-nav-bar.component-FT2W0urU.js} +13 -13
- package/table/table-wrapper/table-wrapper.component.js +1 -1
- package/table.css +12 -13
- package/table.js +1 -1
- package/table.pure.js +1 -1
- package/tabs/common/styles.js +1 -1
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-label/tab-label.component.js +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/tabs.js +5 -5
- package/tabs.pure.js +5 -5
- package/tag/tag/tag.component.js +1 -1
- package/tag/tag-group/tag-group.component.js +1 -1
- package/{tag-group.component-DyXEgvbN.js → tag-group.component-9UfHHJ79.js} +14 -14
- package/{tag.component-C74wsPOB.js → tag.component-BKuxfdDi.js} +28 -26
- package/tag.js +2 -2
- package/tag.pure.js +2 -2
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-hero.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-panel/teaser-panel.component.js +1 -1
- package/teaser-panel.js +1 -1
- package/teaser-panel.pure.js +1 -1
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/timetable-form.js +4 -4
- package/timetable-form.pure.js +4 -4
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/timetable-occupancy.js +1 -1
- package/timetable-occupancy.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title.component-DO67K8g1.js → title.component-VnTeqomb.js} +1 -1
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/{toggle-check.component-YWr3IHEL.js → toggle-check.component-BcQ5ht0O.js} +17 -17
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/{toggle.component-BFsrJ98d.js → toggle.component-DARkqJol.js} +13 -13
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon-common.js +1 -1
- package/train.js +4 -4
- package/train.pure.js +4 -4
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/{visual-checkbox.component-R9bYxeNp.js → visual-checkbox.component-YhX5Qk3j.js} +17 -17
- package/visual-checkbox.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/core/dom/lean-context.js +0 -7
- package/development/accordion.component-Bvx-b38W.js +0 -165
- package/development/autocomplete-base-element-BHYleZ3J.js +0 -683
- package/development/chip-group.component-DThvmmnh.js +0 -402
- package/development/compact-paginator.component-CS7Qz4nM.js +0 -49
- package/development/core/dom/lean-context.d.ts +0 -5
- package/development/core/dom/lean-context.d.ts.map +0 -1
- package/development/core/dom/lean-context.js +0 -12
- package/development/expansion-panel.component-BVdylpqi.js +0 -318
- package/development/file-selector-common-Da0KNfDP.js +0 -413
- package/development/file-selector-dropzone.component-Bdcau18t.js +0 -106
- package/development/form-field.component-_lnIpJF5.js +0 -703
- package/development/header-action-common-CQ1CaaBd.js +0 -79
- package/development/header.component-BX1rKPa_.js +0 -335
- package/development/mini-button-group.component-Bg-etiu1.js +0 -116
- package/development/notification.component-D0rkSF3p.js +0 -271
- package/development/paginator.component-DIuiY7It.js +0 -261
- package/development/select.component-VODtrUee.js +0 -807
- package/development/step-label.component-BpuNDWKl.js +0 -126
- package/development/stepper.component-BnCUoYv6.js +0 -423
- package/development/tab-group.component-o1F-M_-2.js +0 -266
- package/development/tab-nav-bar.component-3uXgOman.js +0 -110
- package/development/tag-group.component-CYL62Umh.js +0 -196
- package/development/tag.component-D5DYXQ3i.js +0 -241
- package/development/toggle.component-DndGyA1x.js +0 -244
- package/expansion-panel.component-5heRRQ0C.js +0 -222
- package/header-action-common-B1jGzY-U.js +0 -61
- package/mini-button-group.component-BOJNsLrh.js +0 -85
- package/notification.component-DpC6ulTx.js +0 -195
- package/step-label.component-BkiOyF7s.js +0 -77
- package/styles-CgXa3TG9.js +0 -5
- /package/{popover.component-C66BxhNQ.js → popover.component-DJruKzY-.js} +0 -0
- /package/{radio-button-common-BDGoskeZ.js → radio-button-common-CrIRn10q.js} +0 -0
- /package/{selection-action-panel.component-B7OtT_t2.js → selection-action-panel.component-DCGJQ3Mx.js} +0 -0
- /package/{selection-expansion-panel.component-NXfxG9uN.js → selection-expansion-panel.component-Cu1egfTY.js} +0 -0
- /package/{sidebar-close-button.component-D5gxiJ_e.js → sidebar-close-button.component-8owwjvk3.js} +0 -0
- /package/{sidebar-container.component-BI2Jm-cJ.js → sidebar-container.component-Dcke-Uhr.js} +0 -0
- /package/{sidebar-content.component-C44ixSgf.js → sidebar-content.component-CYupfsq_.js} +0 -0
- /package/{sidebar-title.component-ByroIWTZ.js → sidebar-title.component-Cf64lCJx.js} +0 -0
- /package/{sidebar.component-B2IfBEhW.js → sidebar.component-LaqQzMo2.js} +0 -0
- /package/{signet.component-xkCj9Bel.js → signet.component-3Xfke8uk.js} +0 -0
- /package/{slider.component-DX8K9GWl.js → slider.component-BlUWAWJU.js} +0 -0
- /package/{status.component-BkBUOZC5.js → status.component-mel7wA1j.js} +0 -0
- /package/{step.component-Djot0mhi.js → step.component-BY6_2Wh2.js} +0 -0
- /package/{styles-BNu0Fjw5.js → styles-DisU4TWi.js} +0 -0
- /package/{tab.component-BtN993ye.js → tab.component-D6hfhlZw.js} +0 -0
- /package/{table-wrapper.component-CQ76PAQl.js → table-wrapper.component-C83EYuZP.js} +0 -0
- /package/{teaser-hero.component-mT8miROU.js → teaser-hero.component-mv6HL4vm.js} +0 -0
- /package/{teaser-panel.component-DWdMzyoI.js → teaser-panel.component-qRmy2lbz.js} +0 -0
- /package/{teaser-product-common-DOQ6f2B7.js → teaser-product-common-J1KZ2Hlw.js} +0 -0
- /package/{teaser-product.component-CekvCov9.js → teaser-product.component-BcleFVcu.js} +0 -0
- /package/{teaser.component-Q-68xzrN.js → teaser.component-BOqCERR7.js} +0 -0
- /package/{time-input.component-BRJerke6.js → time-input.component-Dw8pPYDK.js} +0 -0
- /package/{timetable-form-details.component-Wmad9usT.js → timetable-form-details.component-0c6h6shd.js} +0 -0
- /package/{timetable-form-field.component-D3P3lV86.js → timetable-form-field.component-Cya8n2Ms.js} +0 -0
- /package/{timetable-form-swap-button.component-B8yPDfMq.js → timetable-form-swap-button.component-rI_0UYJw.js} +0 -0
- /package/{timetable-form.component-CJKyHMZk.js → timetable-form.component-DVps6baq.js} +0 -0
- /package/{timetable-occupancy-icon.component-DA9NTQJn.js → timetable-occupancy-icon.component-ABh1bz-X.js} +0 -0
- /package/{timetable-occupancy.component-B0OJi-B1.js → timetable-occupancy.component-DGQ20zH1.js} +0 -0
- /package/{title-base-B70qaksx.js → title-base-JBhKD3ur.js} +0 -0
- /package/{toast.component-DVaz-D5o.js → toast.component-BMN90Ouu.js} +0 -0
- /package/{toggle-option.component-BP9QEwh9.js → toggle-option.component-DQcPDXyl.js} +0 -0
- /package/{tooltip.component-BrXCWlQB.js → tooltip.component-NfyDxfw7.js} +0 -0
- /package/{train-blocked-passage.component-DxqSh9I8.js → train-blocked-passage.component-B601YYJl.js} +0 -0
- /package/{train-formation.component-HM0M0FHW.js → train-formation.component-DVxNBPIB.js} +0 -0
- /package/{train-wagon-common-BH9bSebN.js → train-wagon-common-CDCsWVgi.js} +0 -0
- /package/{train.component-BZ3jtqQ4.js → train.component-DxadS7O8.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../accordion.component-
|
|
1
|
+
import { t as e } from "../accordion.component-DbuSYzV1.js";
|
|
2
2
|
export { e as SbbAccordionElement };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { html as n, unsafeCSS as r } from "lit";
|
|
3
3
|
import { property as i } from "lit/decorators.js";
|
|
4
|
-
import { SbbElement as a, forceType as o, handleDistinctChange as s, isEventPrevented as c,
|
|
4
|
+
import { SbbElement as a, forceType as o, handleDistinctChange as s, isEventPrevented as c, ɵstateController as l } from "./core.js";
|
|
5
5
|
//#region src/elements/accordion/accordion.scss?inline
|
|
6
|
-
var
|
|
7
|
-
let
|
|
8
|
-
return class extends
|
|
6
|
+
var u = ":host{display:block}", d = (() => {
|
|
7
|
+
let d = a, f, p = [], m = [], h, g = [], _ = [], v, y = [], b = [];
|
|
8
|
+
return class extends d {
|
|
9
9
|
static {
|
|
10
|
-
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
11
|
-
|
|
10
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
11
|
+
f = [i()], h = [s((e) => e._setTitleLevelOnChildren()), i({ attribute: "title-level" })], v = [
|
|
12
12
|
o(),
|
|
13
13
|
s((e, t, n) => e._resetExpansionPanels(t, !!n)),
|
|
14
14
|
i({ type: Boolean })
|
|
15
|
-
], e(this, null,
|
|
15
|
+
], e(this, null, f, {
|
|
16
16
|
kind: "accessor",
|
|
17
17
|
name: "size",
|
|
18
18
|
static: !1,
|
|
@@ -25,7 +25,7 @@ var d = ":host{display:block}", f = (() => {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
metadata: t
|
|
28
|
-
},
|
|
28
|
+
}, p, m), e(this, null, h, {
|
|
29
29
|
kind: "accessor",
|
|
30
30
|
name: "titleLevel",
|
|
31
31
|
static: !1,
|
|
@@ -38,7 +38,7 @@ var d = ":host{display:block}", f = (() => {
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
metadata: t
|
|
41
|
-
},
|
|
41
|
+
}, g, _), e(this, null, v, {
|
|
42
42
|
kind: "accessor",
|
|
43
43
|
name: "multi",
|
|
44
44
|
static: !1,
|
|
@@ -51,7 +51,7 @@ var d = ":host{display:block}", f = (() => {
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
metadata: t
|
|
54
|
-
},
|
|
54
|
+
}, y, b), t && Object.defineProperty(this, Symbol.metadata, {
|
|
55
55
|
enumerable: !0,
|
|
56
56
|
configurable: !0,
|
|
57
57
|
writable: !0,
|
|
@@ -62,23 +62,23 @@ var d = ":host{display:block}", f = (() => {
|
|
|
62
62
|
this.elementName = "sbb-accordion";
|
|
63
63
|
}
|
|
64
64
|
static {
|
|
65
|
-
this.styles = [r(
|
|
65
|
+
this.styles = [r(u)];
|
|
66
66
|
}
|
|
67
|
-
#e = t(this,
|
|
67
|
+
#e = t(this, p, null);
|
|
68
68
|
get size() {
|
|
69
69
|
return this.#e;
|
|
70
70
|
}
|
|
71
71
|
set size(e) {
|
|
72
72
|
this.#e = e;
|
|
73
73
|
}
|
|
74
|
-
#t = (t(this,
|
|
74
|
+
#t = (t(this, m), t(this, g, null));
|
|
75
75
|
get titleLevel() {
|
|
76
76
|
return this.#t;
|
|
77
77
|
}
|
|
78
78
|
set titleLevel(e) {
|
|
79
79
|
this.#t = e;
|
|
80
80
|
}
|
|
81
|
-
#n = (t(this,
|
|
81
|
+
#n = (t(this, _), t(this, y, !1));
|
|
82
82
|
get multi() {
|
|
83
83
|
return this.#n;
|
|
84
84
|
}
|
|
@@ -86,15 +86,16 @@ var d = ":host{display:block}", f = (() => {
|
|
|
86
86
|
this.#n = e;
|
|
87
87
|
}
|
|
88
88
|
constructor() {
|
|
89
|
-
super(), t(this,
|
|
89
|
+
super(), t(this, b), this.addEventListener?.("beforeopen", async (e) => {
|
|
90
90
|
await c(e) || this._closePanels(e);
|
|
91
91
|
}, { capture: !0 });
|
|
92
92
|
}
|
|
93
93
|
_expansionPanels() {
|
|
94
|
-
return Array.from(this.querySelectorAll?.("sbb-expansion-panel") ?? []);
|
|
94
|
+
return Array.from(this.querySelectorAll?.("sbb-expansion-panel") ?? []).filter((e) => e.closest("sbb-accordion") === this);
|
|
95
95
|
}
|
|
96
96
|
_closePanels(e) {
|
|
97
|
-
|
|
97
|
+
let t = e.target;
|
|
98
|
+
t?.localName !== "sbb-expansion-panel" || this.multi || t?.closest("sbb-accordion") !== this || this._expansionPanels().filter((t) => t !== e.target).forEach((e) => e.expanded = !1);
|
|
98
99
|
}
|
|
99
100
|
willUpdate(e) {
|
|
100
101
|
super.willUpdate(e), e.has("size") && this._expansionPanels().forEach((e) => e.size = this.size);
|
|
@@ -109,7 +110,7 @@ var d = ":host{display:block}", f = (() => {
|
|
|
109
110
|
_handleSlotchange() {
|
|
110
111
|
this._expansionPanels().forEach((e, t, n) => {
|
|
111
112
|
e.titleLevel = this.titleLevel, e.size = this.size;
|
|
112
|
-
let r =
|
|
113
|
+
let r = l(e);
|
|
113
114
|
r.toggle("accordion-first", t === 0), r.toggle("accordion-last", t === n.length - 1);
|
|
114
115
|
});
|
|
115
116
|
}
|
|
@@ -119,4 +120,4 @@ var d = ":host{display:block}", f = (() => {
|
|
|
119
120
|
};
|
|
120
121
|
})();
|
|
121
122
|
//#endregion
|
|
122
|
-
export {
|
|
123
|
+
export { d as t };
|
package/accordion.js
CHANGED
package/accordion.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./accordion.component-
|
|
1
|
+
import { t as e } from "./accordion.component-DbuSYzV1.js";
|
|
2
2
|
export { e as SbbAccordionElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../alert.component-
|
|
1
|
+
import { t as e } from "../../alert.component-DN7sW2NC.js";
|
|
2
2
|
export { e as SbbAlertElement };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { html as n, nothing as r, unsafeCSS as i } from "lit";
|
|
3
3
|
import { property as a } from "lit/decorators.js";
|
|
4
|
-
import { SbbDarkModeController as o, SbbLanguageController as s, SbbOpenCloseBaseElement as c, SbbReadonlyMixin as l, i18nCloseAlert as u,
|
|
5
|
-
import { SbbTransparentButtonElement as
|
|
6
|
-
import { SbbDividerElement as
|
|
7
|
-
import { SbbIconNameMixin as
|
|
4
|
+
import { SbbDarkModeController as o, SbbLanguageController as s, SbbOpenCloseBaseElement as c, SbbReadonlyMixin as l, i18nCloseAlert as u, isZeroAnimationDuration as d } from "./core.js";
|
|
5
|
+
import { SbbTransparentButtonElement as f } from "./button.pure.js";
|
|
6
|
+
import { SbbDividerElement as p } from "./divider.pure.js";
|
|
7
|
+
import { SbbIconNameMixin as m } from "./icon.pure.js";
|
|
8
8
|
//#region src/elements/alert/alert/alert.scss?inline
|
|
9
|
-
var
|
|
10
|
-
let
|
|
11
|
-
return class extends
|
|
9
|
+
var h = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );display:grid;grid-template-rows:0fr;opacity:0;border-radius:var(--sbb-alert-forced-color-border-radius);outline:var(--sbb-alert-outline)}:host(:is(:state(state-opening),[state--state-opening]):not([animation=open],[animation=all])){--sbb-disable-animation-duration: 0s}:host(:is(:state(state-closing),[state--state-closing]):not([animation=close],[animation=all])){--sbb-disable-animation-duration: 0s}:host([size=s]){--sbb-alert-gap: var(--sbb-spacing-fixed-1x) var(--sbb-spacing-responsive-xxs);--sbb-alert-close-icon-margin: var(--sbb-spacing-responsive-xxxs)}:host([size=m]){--sbb-alert-gap: var(--sbb-spacing-fixed-2x) var(--sbb-spacing-responsive-xs);--sbb-alert-close-icon-margin: var(--sbb-spacing-responsive-xxs)}:host([size=l]){--sbb-alert-icon-size: var(--sbb-alert-icon-size-l);--sbb-alert-title-margin-block: 0 var(--sbb-spacing-fixed-1x)}:host(:not(:is(:state(dark),[state--dark]))){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}:host(:is(:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){grid-template-rows:1fr;opacity:1}:host(:is(:state(state-opening),[state--state-opening])){animation-name:open,open-opacity;animation-fill-mode:forwards;animation-duration:var(--sbb-alert-animation-duration);animation-timing-function:var(--sbb-alert-timing-function);animation-delay:0s,var(--sbb-alert-animation-duration)}:host(:is(:state(state-closing),[state--state-closing])){animation-name:close-opacity,close;animation-fill-mode:forwards;animation-duration:var(--sbb-alert-animation-duration);animation-timing-function:var(--sbb-alert-timing-function);animation-delay:0s,var(--sbb-disable-animation-duration, var(--sbb-animation-duration-2x))}.sbb-alert__transition-wrapper{overflow:hidden}.sbb-alert{display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--sbb-alert-gap);min-width:fit-content;padding:var(--sbb-alert-padding);overflow:hidden;color:var(--sbb-alert-color);background-color:var(--sbb-alert-background-color);border-radius:var(--sbb-alert-border-radius);font-size:var(--sbb-alert-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}@media(min-width:37.5rem){.sbb-alert{grid-template-columns:auto 1fr auto;align-items:flex-start}}.sbb-alert__icon{display:flex;align-items:start;padding-block:var(--sbb-spacing-fixed-1x);min-width:var(--sbb-alert-icon-size);--sbb-icon-svg-width: var(--sbb-alert-icon-size);--sbb-icon-svg-height: var(--sbb-alert-icon-size)}.sbb-alert__content{color-scheme:only light;order:3;grid-column:1/3}@media(min-width:37.5rem){.sbb-alert__content{order:initial;grid-column-start:initial;grid-column-end:initial}}.sbb-alert__content-slot{display:inline;margin:0;padding:0}.sbb-alert__close-button-wrapper{color-scheme:only light;display:flex;justify-content:flex-end;align-items:center;height:100%}@media(min-width:37.5rem){.sbb-alert__close-button{margin-inline-start:var(--sbb-alert-close-icon-margin)}}.sbb-alert__close-button-divider{display:var(--sbb-alert-close-button-divider-display, none);height:calc(100% - var(--sbb-spacing-fixed-1x) * 2)}@keyframes open{0%{grid-template-rows:0fr}to{grid-template-rows:1fr}}@keyframes open-opacity{0%{opacity:0}to{opacity:1}}@keyframes close{0%{grid-template-rows:1fr}to{grid-template-rows:0fr}}@keyframes close-opacity{0%{opacity:1}to{opacity:0}}::slotted(sbb-title){margin-block:var(--sbb-alert-title-margin-block)}", g = (() => {
|
|
10
|
+
let g = m(l(c)), _, v = [], y = [], b, x = [], S = [];
|
|
11
|
+
return class extends g {
|
|
12
12
|
static {
|
|
13
|
-
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
14
|
-
|
|
13
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
|
|
14
|
+
_ = [a({ reflect: !0 })], b = [a({ reflect: !0 })], e(this, null, _, {
|
|
15
15
|
kind: "accessor",
|
|
16
16
|
name: "size",
|
|
17
17
|
static: !1,
|
|
@@ -24,7 +24,7 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
metadata: t
|
|
27
|
-
},
|
|
27
|
+
}, v, y), e(this, null, b, {
|
|
28
28
|
kind: "accessor",
|
|
29
29
|
name: "animation",
|
|
30
30
|
static: !1,
|
|
@@ -37,7 +37,7 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
metadata: t
|
|
40
|
-
},
|
|
40
|
+
}, x, S), t && Object.defineProperty(this, Symbol.metadata, {
|
|
41
41
|
enumerable: !0,
|
|
42
42
|
configurable: !0,
|
|
43
43
|
writable: !0,
|
|
@@ -48,10 +48,10 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
48
48
|
this.elementName = "sbb-alert";
|
|
49
49
|
}
|
|
50
50
|
static {
|
|
51
|
-
this.elementDependencies = [
|
|
51
|
+
this.elementDependencies = [f, p];
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
|
-
this.styles = [i(
|
|
54
|
+
this.styles = [i(h)];
|
|
55
55
|
}
|
|
56
56
|
static {
|
|
57
57
|
this.events = {
|
|
@@ -76,7 +76,7 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
76
76
|
this.#t = e;
|
|
77
77
|
}
|
|
78
78
|
constructor() {
|
|
79
|
-
super(), this.#e = t(this,
|
|
79
|
+
super(), this.#e = t(this, v, null), this.#t = (t(this, y), t(this, x, "all")), this._language = (t(this, S), new s(this)), this._darkModeController = new o(this, () => {
|
|
80
80
|
this._syncLinks(), this._configureTitle(), this.requestUpdate();
|
|
81
81
|
}), this.addEventListener("animationend", (e) => this._onAnimationEnd(e));
|
|
82
82
|
}
|
|
@@ -93,7 +93,7 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
93
93
|
super.willUpdate(e), e.has("size") && this._configureTitle();
|
|
94
94
|
}
|
|
95
95
|
_isZeroAnimationDuration() {
|
|
96
|
-
return
|
|
96
|
+
return d(this, "--sbb-alert-animation-duration");
|
|
97
97
|
}
|
|
98
98
|
_onAnimationEnd(e) {
|
|
99
99
|
this.state === "opening" && e.animationName === "open-opacity" ? this._handleOpening() : this.state === "closing" && e.animationName === "close" && this._handleClosing();
|
|
@@ -144,7 +144,7 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
144
144
|
></sbb-divider>
|
|
145
145
|
<sbb-transparent-button
|
|
146
146
|
?negative=${this._isLightMode()}
|
|
147
|
-
size=${this.size === "l" ? "m" : this.size}
|
|
147
|
+
size=${this.size === "l" ? "m" : this.size || r}
|
|
148
148
|
icon-name="cross-small"
|
|
149
149
|
@click=${() => this.close()}
|
|
150
150
|
aria-label=${u[this._language.current]}
|
|
@@ -158,4 +158,4 @@ var g = ":host{--sbb-alert-animation-duration: var( --sbb-disable-animation-dura
|
|
|
158
158
|
};
|
|
159
159
|
})();
|
|
160
160
|
//#endregion
|
|
161
|
-
export {
|
|
161
|
+
export { g as t };
|
package/alert.js
CHANGED
package/alert.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../autocomplete-base-element-
|
|
1
|
+
import { t as e } from "../autocomplete-base-element-DRGjFF9_.js";
|
|
2
2
|
export { e as SbbAutocompleteBaseElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../autocomplete-base-element-
|
|
1
|
+
import { t as e } from "../autocomplete-base-element-DRGjFF9_.js";
|
|
2
2
|
import { getNextElementIndex as t, isSafari as n, setAriaComboBoxAttributes as r } from "../core.js";
|
|
3
3
|
//#region src/elements/autocomplete/autocomplete.component.ts
|
|
4
4
|
var i = 0, a = n, o = class extends e {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { html as n, isServer as r, nothing as i, unsafeCSS as a } from "lit";
|
|
3
3
|
import { property as o } from "lit/decorators.js";
|
|
4
|
-
import { SbbEscapableOverlayController as s, SbbNegativeMixin as c, SbbOpenCloseBaseElement as l, SbbPropertyWatcherController as u, forceType as d, idReference as f, isEventOnElement as p,
|
|
4
|
+
import { SbbEscapableOverlayController as s, SbbNegativeMixin as c, SbbOpenCloseBaseElement as l, SbbPropertyWatcherController as u, forceType as d, idReference as f, isEventOnElement as p, isSafari as m, isZeroAnimationDuration as h, optionPanelStyles as g, removeAriaComboBoxAttributes as _, scrollbarStyles as v, setOverlayPosition as y } from "./core.js";
|
|
5
5
|
import { ResizeController as b } from "@lit-labs/observers/resize-controller.js";
|
|
6
6
|
import { ref as x } from "lit/directives/ref.js";
|
|
7
7
|
//#region src/elements/autocomplete/autocomplete-base-element.scss?inline
|
|
8
|
-
var S = ":host{display:none}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){display:block}", C =
|
|
9
|
-
let
|
|
10
|
-
return class extends
|
|
8
|
+
var S = ":host{display:none}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){display:block}", C = m, w = (() => {
|
|
9
|
+
let m = c(l), w, T = [], E = [], D, O = [], k = [], A, j = [], M = [], N, P = [], F = [], I, L = [], R = [], z, B = [], V = [], H, U = [], W = [], G, K = [], q = [], J, Y = [], X = [], Z, Q = [], $ = [];
|
|
10
|
+
return class extends m {
|
|
11
11
|
static {
|
|
12
|
-
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
12
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(m[Symbol.metadata] ?? null) : void 0;
|
|
13
13
|
w = [f(), o()], D = [f(), o()], A = [d(), o({
|
|
14
14
|
attribute: "preserve-icon-space",
|
|
15
15
|
reflect: !0,
|
|
@@ -247,7 +247,7 @@ var S = ":host{display:none}:host(:is(:is(:state(state-opening),[state--state-op
|
|
|
247
247
|
return this._triggerElement ?? null;
|
|
248
248
|
}
|
|
249
249
|
constructor() {
|
|
250
|
-
super(), this.#e = t(this, T, null), this.#t = (t(this, E), t(this, O, null)), this.#n = (t(this, k), t(this, j, !1)), this.#r = (t(this, M), t(this, P, !1)), this.#i = (t(this, F), t(this, L, null)), this.#a = (t(this, R), t(this, B,
|
|
250
|
+
super(), this.#e = t(this, T, null), this.#t = (t(this, E), t(this, O, null)), this.#n = (t(this, k), t(this, j, !1)), this.#r = (t(this, M), t(this, P, !1)), this.#i = (t(this, F), t(this, L, null)), this.#a = (t(this, R), t(this, B, null)), this.#o = (t(this, V), t(this, U, !1)), this.#s = (t(this, W), t(this, K, !1)), this.#c = (t(this, q), t(this, Y, !1)), this.#l = (t(this, X), t(this, Q, "auto")), this._triggerElement = t(this, $), this.activeOption = null, this.pendingAutoSelectedOption = null, this._resizeObserver = new b(this, {
|
|
251
251
|
target: null,
|
|
252
252
|
skipInitial: !0,
|
|
253
253
|
callback: (() => {
|
|
@@ -283,7 +283,7 @@ var S = ":host{display:none}:host(:is(:is(:state(state-opening),[state--state-op
|
|
|
283
283
|
this.state === "closing" || this.state === "closed" || !this.dispatchBeforeCloseEvent() || (this.pendingAutoSelectedOption && (this.pendingAutoSelectedOption.selected = !0, this._setValueAndDispatchEvents(this.pendingAutoSelectedOption, !0)), this.state = "closing", this.triggerElement?.removeAttribute("data-expanded"), this._openPanelEventsController.abort(), this.originElement && this._resizeObserver.unobserve(this.originElement), this._isZeroAnimationDuration() && this._handleClosing());
|
|
284
284
|
}
|
|
285
285
|
_isZeroAnimationDuration() {
|
|
286
|
-
return
|
|
286
|
+
return h(this, "--sbb-options-panel-animation-duration");
|
|
287
287
|
}
|
|
288
288
|
connectedCallback() {
|
|
289
289
|
this.popover = "manual", super.connectedCallback(), C && (this.id ||= this.overlayId), this.hasUpdated && this._componentSetup(), this.syncNegative();
|
package/autocomplete.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./autocomplete-base-element-
|
|
1
|
+
import { t as e } from "./autocomplete-base-element-DRGjFF9_.js";
|
|
2
2
|
import { SbbAutocompleteElement as t } from "./autocomplete/autocomplete.component.js";
|
|
3
3
|
import "./autocomplete.pure.js";
|
|
4
4
|
//#region src/elements/autocomplete.ts
|
package/autocomplete.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./autocomplete-base-element-
|
|
1
|
+
import { t as e } from "./autocomplete-base-element-DRGjFF9_.js";
|
|
2
2
|
import { SbbAutocompleteElement as t } from "./autocomplete/autocomplete.component.js";
|
|
3
3
|
export { e as SbbAutocompleteBaseElement, t as SbbAutocompleteElement };
|
|
@@ -2,18 +2,17 @@ import { t as e } from "./link-common-ezSu7e9c.js";
|
|
|
2
2
|
import { __esDecorate as t, __runInitializers as n } from "tslib";
|
|
3
3
|
import { html as r, unsafeCSS as i } from "lit";
|
|
4
4
|
import { property as a } from "lit/decorators.js";
|
|
5
|
-
import {
|
|
6
|
-
import { SbbIconNameMixin as s } from "./icon.pure.js";
|
|
5
|
+
import { SbbIconNameMixin as o } from "./icon.pure.js";
|
|
7
6
|
//#region src/elements/link/common/block-link.scss?inline
|
|
8
|
-
var
|
|
9
|
-
let
|
|
10
|
-
return class extends
|
|
7
|
+
var s = ":host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-graphite));--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-metal));--sbb-link-color-normal: var(--sbb-color-granite);--sbb-link-color-normal: light-dark(var(--sbb-color-granite), var(--sbb-color-white));--sbb-link-color-hover: var(--sbb-color-primary125);--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-cloud));--sbb-link-color-active: var(--sbb-color-primary150);--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-silver));display:block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-color-normal: var(--sbb-color-1-negative);--sbb-link-color-hover: var(--sbb-color-4-negative);--sbb-link-color-active: var(--sbb-color-silver)}:host(.sbb-active){--sbb-link-color-normal: var(--sbb-color-black);--sbb-link-color-normal: light-dark(var(--sbb-color-black), var(--sbb-color-cement));--sbb-link-text-decoration-line: underline}:host(.sbb-active[negative]){--sbb-link-color-normal: var(--sbb-color-cement);--sbb-link-text-decoration-line: underline}:host([size=xs]){--sbb-block-link-font-size: var(--sbb-text-font-size-xs)}:host([size=s]){--sbb-block-link-font-size: var(--sbb-text-font-size-s)}:host([size=m]){--sbb-block-link-font-size: var(--sbb-text-font-size-m)}.sbb-action-base{gap:var(--sbb-block-link-gap);font-size:var(--sbb-block-link-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}.sbb-link__icon{position:relative;height:calc(var(--sbb-typo-line-height-text) * 1em);width:var(--sbb-block-link-icon-size);flex:0 0 auto;align-self:start}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-link__icon{display:none}:host([icon-placement=end]) .sbb-link__icon{order:2}.sbb-link__icon ::slotted([slot=icon]),.sbb-link__icon sbb-icon{position:absolute;top:50%;translate:0 -50%}", c = (c) => (() => {
|
|
8
|
+
let l = e(o(c)), u, d = [], f = [], p, m = [], h = [];
|
|
9
|
+
return class extends l {
|
|
11
10
|
static {
|
|
12
|
-
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
13
|
-
|
|
11
|
+
let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
u = [a({ reflect: !0 })], p = [a({
|
|
14
13
|
attribute: "icon-placement",
|
|
15
14
|
reflect: !0
|
|
16
|
-
})], t(this, null,
|
|
15
|
+
})], t(this, null, u, {
|
|
17
16
|
kind: "accessor",
|
|
18
17
|
name: "size",
|
|
19
18
|
static: !1,
|
|
@@ -26,7 +25,7 @@ var c = ":host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), v
|
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
metadata: e
|
|
29
|
-
},
|
|
28
|
+
}, d, f), t(this, null, p, {
|
|
30
29
|
kind: "accessor",
|
|
31
30
|
name: "iconPlacement",
|
|
32
31
|
static: !1,
|
|
@@ -39,7 +38,7 @@ var c = ":host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), v
|
|
|
39
38
|
}
|
|
40
39
|
},
|
|
41
40
|
metadata: e
|
|
42
|
-
},
|
|
41
|
+
}, m, h), e && Object.defineProperty(this, Symbol.metadata, {
|
|
43
42
|
enumerable: !0,
|
|
44
43
|
configurable: !0,
|
|
45
44
|
writable: !0,
|
|
@@ -47,16 +46,16 @@ var c = ":host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), v
|
|
|
47
46
|
});
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.styles = [i(
|
|
49
|
+
this.styles = [i(s)];
|
|
51
50
|
}
|
|
52
|
-
#e = n(this,
|
|
51
|
+
#e = n(this, d, null);
|
|
53
52
|
get size() {
|
|
54
53
|
return this.#e;
|
|
55
54
|
}
|
|
56
55
|
set size(e) {
|
|
57
56
|
this.#e = e;
|
|
58
57
|
}
|
|
59
|
-
#t = (n(this,
|
|
58
|
+
#t = (n(this, f), n(this, m, "start"));
|
|
60
59
|
get iconPlacement() {
|
|
61
60
|
return this.#t;
|
|
62
61
|
}
|
|
@@ -70,9 +69,9 @@ var c = ":host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), v
|
|
|
70
69
|
`;
|
|
71
70
|
}
|
|
72
71
|
constructor() {
|
|
73
|
-
super(...arguments), n(this,
|
|
72
|
+
super(...arguments), n(this, h);
|
|
74
73
|
}
|
|
75
74
|
};
|
|
76
75
|
})();
|
|
77
76
|
//#endregion
|
|
78
|
-
export {
|
|
77
|
+
export { c as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../../button-common-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../../button-common-BQdNXKwl.js";
|
|
2
2
|
export { o as SbbButtonCommonElementMixin, n as buttonAccentStyle, i as buttonPrimaryStyle, t as buttonSecondaryStyle, e as buttonTransparentStyle, r as miniButtonLabelStyle, a as miniButtonStyle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../mini-button-group.component-
|
|
1
|
+
import { t as e } from "../../mini-button-group.component-DQBU0BDm.js";
|
|
2
2
|
export { e as SbbMiniButtonGroupElement };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { nothing as n, unsafeCSS as r } from "lit";
|
|
3
3
|
import { property as i } from "lit/decorators.js";
|
|
4
|
-
import { SbbNegativeMixin as a, forceType as o
|
|
5
|
-
import { html as
|
|
6
|
-
import { SbbIconNameMixin as
|
|
4
|
+
import { SbbNegativeMixin as a, forceType as o } from "./core.js";
|
|
5
|
+
import { html as s } from "lit/static-html.js";
|
|
6
|
+
import { SbbIconNameMixin as c } from "./icon.pure.js";
|
|
7
7
|
//#region src/elements/button/common/accent-button.scss?inline
|
|
8
|
-
var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-1-inverted);--sbb-button-color-active-border: var(--sbb-border-color-1);--sbb-button-color-active-text: var(--sbb-color-cloud);--sbb-button-color-active-text: light-dark(var(--sbb-color-cloud), var(--sbb-color-anthracite));--sbb-button-color-default-background: var(--sbb-background-color-3-inverted);--sbb-button-color-default-border: var(--sbb-border-color-3);--sbb-button-color-default-text: var(--sbb-color-1-inverted);--sbb-button-color-hover-background: var(--sbb-background-color-3-inverted);--sbb-button-color-hover-border: var(--sbb-border-color-3);--sbb-button-color-hover-text: var(--sbb-color-3-inverted);--sbb-button-color-loading-border: var(--sbb-color-iron);--sbb-button-color-loading-border: light-dark(var(--sbb-color-iron), var(--sbb-color-silver));--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-cement) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-cement) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) )}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-1-negative-inverted);--sbb-button-color-active-border: var(--sbb-border-color-1-negative);--sbb-button-color-active-text: var(--sbb-color-anthracite);--sbb-button-color-default-background: var(--sbb-background-color-3-negative-inverted);--sbb-button-color-default-border: var(--sbb-border-color-3-negative);--sbb-button-color-default-text: var(--sbb-color-1-negative-inverted);--sbb-button-color-hover-background: var(--sbb-background-color-3-negative-inverted);--sbb-button-color-hover-border: var(--sbb-border-color-3-negative);--sbb-button-color-hover-text: var(--sbb-color-4-negative-inverted);--sbb-button-color-loading-border: var(--sbb-color-silver);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent)}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading])){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", d = ":host{display:inline-block;outline:none!important;--sbb-button-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-button-box-shadow-definition: var(--sbb-shadow-elevation-level-3-shadow-2-offset-x) var(--sbb-button-shadow-2-offset-y) var(--sbb-button-shadow-2-blur) var(--sbb-shadow-elevation-level-3-shadow-2-spread) var(--sbb-button-shadow-2-color), var(--sbb-shadow-elevation-level-3-shadow-1-offset-x) var(--sbb-button-shadow-1-offset-y) var(--sbb-button-shadow-1-blur) var(--sbb-shadow-elevation-level-3-shadow-1-spread) var(--sbb-button-shadow-1-color);--_width: unset;--_min-height-modifier: 0rem;--_border-color: var(--sbb-button-color-default-border);--_background-color: var(--sbb-button-color-default-background);--_color: var(--sbb-button-color-default-text);--_button-inset: 0;--_border: calc(var(--sbb-button-border-width) + var(--sbb-button-border-overlap-fix, 1px)) solid var(--_border-color)}@media(forced-colors:active){:host{--sbb-button-color-default-border: CanvasText !important;--sbb-button-color-active-border: Highlight !important;--sbb-button-color-default-background: Canvas !important;--sbb-button-color-hover-background: Canvas !important;--sbb-button-color-active-background: Canvas !important;--sbb-button-color-disabled-background: Canvas !important;--sbb-button-color-disabled-text: GrayText !important;--sbb-button-color-loading-border: Highlight !important;--sbb-button-color-default-text: CanvasText !important;--sbb-button-color-hover-text: CanvasText !important;--sbb-button-color-active-text: CanvasText !important;--sbb-button-border-overlap-fix: 0rem}}@media(forced-colors:active){:host(:is(:state(button),[state--button])){--sbb-button-color-default-text: ButtonText !important;--sbb-button-color-hover-text: ButtonText !important;--sbb-button-color-active-text: ButtonText !important}}@media(forced-colors:active){:host(:is(:state(link),[state--link])){--sbb-button-color-default-text: LinkText !important;--sbb-button-color-hover-text: LinkText !important;--sbb-button-color-active-text: LinkText !important}}:host([negative]){--sbb-button-color-disabled-background: var(--sbb-background-color-3-negative);--sbb-button-color-disabled-text: var(--sbb-color-aluminium)}:host([size=l]){--sbb-button-min-height: var(--sbb-button-min-height-size-l);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-l)}:host([size=m]){--sbb-button-min-height: var(--sbb-button-min-height-size-m);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-m)}:host([size=s]){--sbb-button-min-height: var(--sbb-button-min-height-size-s);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-s);--sbb-button-gap: var(--sbb-spacing-fixed-1x)}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))){--sbb-button-padding-inline: 0;--_width: calc(var(--sbb-button-min-height) + var(--_min-height-modifier))}@media(any-hover:hover){:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading]):is(:hover,:is(:state(force-hover),[state--force-hover]))){--sbb-button-translate-y-content-hover: -.0625rem;--sbb-button-shadow-1-offset-y: calc( .5 * var(--sbb-shadow-elevation-level-3-shadow-1-offset-y) );--sbb-button-shadow-1-blur: calc(.5 * var(--sbb-shadow-elevation-level-3-shadow-1-blur));--sbb-button-shadow-2-blur: calc(.5 * var(--sbb-shadow-elevation-level-3-shadow-2-blur));--sbb-button-cursor: var(--sbb-cursor-pointer);--_border-color: var(--sbb-button-color-hover-border);--_color: var(--sbb-button-color-hover-text);--_background-color: var(--sbb-button-color-hover-background);--_button-inset: calc(var(--sbb-button-border-width) * -1)}}@media(forced-colors:active){:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading]):is(:hover,:is(:state(force-hover),[state--force-hover]))){--sbb-button-color-hover-border: Highlight !important}}:host(:is([disabled],:disabled,[disabled-interactive])){--sbb-button-cursor: var(--sbb-cursor-default);--_color: var(--sbb-button-color-disabled-text);--_background-color: var(--sbb-button-color-disabled-background);--_border-color: var(--sbb-button-color-disabled-border);--_border: var(--sbb-button-border-disabled-width) var(--sbb-button-border-disabled-style) var(--_border-color)}:host(:not([disabled],:disabled,[disabled-interactive]):is(:active,:is(:state(active),[state--active]),[loading])){--_color: var(--sbb-button-color-active-text);--_background-color: var(--sbb-button-color-active-background);--_border-color: var(--sbb-button-color-active-border)}:host([loading]:not([disabled],:disabled,[disabled-interactive])){--_min-height-modifier: calc(-2 * var(--sbb-button-loading-border-width));--sbb-button-focus-outline-offset-override: calc( var(--sbb-focus-outline-offset) + var(--sbb-button-loading-border-width) );--_border: none;--_transform-style: preserve-3d}.sbb-action-base{display:flex;gap:var(--sbb-button-gap);align-items:center;justify-content:center;font-size:var(--sbb-text-font-size-xs);font-weight:700;letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text);text-align:left;white-space:nowrap;text-decoration:none;min-height:calc(var(--sbb-button-min-height) + var(--_min-height-modifier));outline:none;width:var(--_width);border-radius:var(--sbb-button-border-radius);color:var(--_color);cursor:var(--sbb-button-cursor);-webkit-user-select:none;user-select:none;background-color:var(--_background-color);transition-duration:var(--sbb-button-transition-duration);transition-timing-function:var(--sbb-button-transition-easing-function);transition-property:color,background-color;transform-style:var(--_transform-style, flat);padding-block:var(--sbb-button-padding-block-min);padding-inline:var(--sbb-button-padding-inline);position:relative}.sbb-action-base:before{content:\"\";position:absolute;inset:var(--_button-inset);border:var(--_border);border-radius:var(--sbb-button-border-radius);pointer-events:none;box-shadow:var(--sbb-button-box-shadow);transition-duration:var(--sbb-button-transition-duration);transition-timing-function:var(--sbb-button-transition-easing-function);transition-property:inset,border,box-shadow}:host([loading]:not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{margin:var(--sbb-button-loading-border-width);padding-inline:calc(var(--sbb-button-padding-inline) - var(--sbb-button-loading-border-width));transition-property:none}:host(:is(:state(focus-visible),[state--focus-visible])) .sbb-action-base:before,:host(:focus-visible) .sbb-action-base:before,.sbb-action-base:focus-visible:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-button-focus-outline-offset-override, var(--sbb-focus-outline-offset))}.sbb-button__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))) .sbb-button__label{display:none}.sbb-button__label,::slotted([slot=icon]),sbb-icon{transition:translate var(--sbb-button-transition-duration) var(--sbb-button-transition-easing-function);translate:0 var(--sbb-button-translate-y-content-hover, 0)}.sbb-button-loading-border{position:absolute;inset:calc(-1 * var(--sbb-button-loading-border-width));clip-path:border-box;border-radius:var(--sbb-button-border-radius);background:var(--_background-color);transform:translateZ(-1px);z-index:-1;container-type:inline-size;contain:paint;animation:background-fade-in var(--sbb-disable-animation-duration, var(--sbb-animation-duration-6x)) var(--sbb-disable-animation-duration, var(--sbb-button-loading-delay)) linear;animation-fill-mode:forwards}.sbb-button-loading-border:before{content:\"\";display:block;width:64cqmin;max-height:var(--sbb-button-min-height);aspect-ratio:2/1;position:absolute;background:radial-gradient(100% 100% at right,var(--sbb-button-color-active-text),transparent 50%);offset-path:border-box;offset-anchor:100% 50%;opacity:0;animation:snake-fade-in var(--sbb-disable-animation-duration, calc(var(--sbb-animation-duration-12x) * 2)) var(--sbb-disable-animation-duration, calc(var(--sbb-button-loading-delay) + var(--sbb-animation-duration-5x))) var(--sbb-animation-easing),snake-position var(--sbb-disable-animation-duration, calc(max(tan(atan2(var(--sbb-button-width), 1px)) / 136, .5)*3s) ) infinite linear;animation-fill-mode:forwards;transform-style:preserve-3d}@keyframes snake-position{to{offset-distance:100%}}@keyframes snake-fade-in{to{opacity:1}}@keyframes background-fade-in{to{background:var(--sbb-button-color-loading-border)}}", f = ":host{display:inline-block;-webkit-tap-highlight-color:transparent;height:fit-content;outline:none!important;--sbb-mini-button-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-mini-button-color-background: var(--sbb-mini-button-color-default-background);--sbb-mini-button-color: var(--sbb-mini-button-color-text)}@media(forced-colors:active){:host{--sbb-mini-button-color-text: ButtonText !important;--sbb-mini-button-color-hover-background: Highlight !important;--sbb-mini-button-color-active-background: Highlight !important;--sbb-mini-button-color-disabled-background: Canvas !important;--sbb-mini-button-color-disabled-border: GrayText !important;--sbb-mini-button-color-disabled-text: GrayText !important}}:host([negative]){--sbb-mini-button-color-text: var(--sbb-color-3-negative);--sbb-mini-button-color-default-background: transparent;--sbb-mini-button-color-hover-background: var(--sbb-background-color-3-negative);--sbb-mini-button-color-active-background: var(--sbb-background-color-4-negative);--sbb-mini-button-color-disabled-background: var(--sbb-background-color-3-negative);--sbb-mini-button-color-disabled-border: var(--sbb-border-color-5);--sbb-mini-button-color-disabled-text: var(--sbb-color-5)}@media(any-hover:hover){:host(:is(:hover,:is(:state(force-hover),[state--force-hover])):not([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]),:active,:is(:state(active),[state--active]))){--sbb-mini-button-translate-y-content-hover: -.0625rem;--sbb-mini-button-color-background: var(--sbb-mini-button-color-hover-background)}}:host(:is(:active,:is(:state(active),[state--active])):not([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]))){--sbb-mini-button-color-background: var(--sbb-mini-button-color-active-background)}:host(:is([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]))){--sbb-mini-button-color-background: var(--sbb-mini-button-color-disabled-background);--sbb-mini-button-border: var(--sbb-border-width-1x) dashed var(--sbb-mini-button-color-disabled-border);--sbb-mini-button-color: var(--sbb-mini-button-color-disabled-text);--sbb-mini-button-pointer-events: none;--sbb-mini-button-cursor: var(--sbb-cursor-default)}:host(:is(:state(focus-visible),[state--focus-visible])){--sbb-focus-outline-style: initial}.sbb-action-base{display:flex;position:relative;color:var(--sbb-mini-button-color);border-radius:var(--sbb-mini-button-border-radius);-webkit-user-select:none;user-select:none;pointer-events:var(--sbb-mini-button-pointer-events, auto);cursor:var(--sbb-mini-button-cursor, var(--sbb-cursor-pointer));transition:color var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);text-decoration:none;outline:none}.sbb-action-base:before{position:absolute;content:\"\";inset:0;border-radius:var(--sbb-mini-button-border-radius);background-color:var(--sbb-mini-button-color-background);transition-duration:var(--sbb-mini-button-transition-duration);transition-timing-function:var(--sbb-mini-button-transition-easing-function);transition-property:inset,background-color;border:var(--sbb-mini-button-border)}.sbb-action-base:focus-visible:before,:host(:is(:is(:state(focus-visible),[state--focus-visible]),:focus-visible)) .sbb-action-base:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}::slotted(sbb-icon),sbb-icon{display:flex;transition:translate var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);translate:0 var(--sbb-mini-button-translate-y-content-hover, 0rem);min-width:var(--_sbb-mini-button-image-size, var(--sbb-size-icon-ui-small));min-height:var(--_sbb-mini-button-image-size, var(--sbb-size-icon-ui-small));align-items:center;justify-content:center}", p = ":host{--sbb-mini-button-gap: .125rem;--sbb-mini-button-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-mini-button-label-display: block;--sbb-mini-button-label-height: var(--sbb-size-icon-ui-small)}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))){--sbb-mini-button-padding-inline: 0;--sbb-mini-button-label-display: none;--sbb-mini-button-label-height: unset}.sbb-action-base{height:var(--sbb-mini-button-label-height);gap:var(--sbb-mini-button-gap);align-items:center;justify-content:center;padding-inline:var(--sbb-mini-button-padding-inline)}.sbb-mini-button__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--sbb-text-font-size-xxs);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text);display:var(--sbb-mini-button-label-display);transition:translate var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);translate:0 var(--sbb-mini-button-translate-y-content-hover, 0)}", m = ":host{--sbb-button-color-active-background: var(--sbb-color-primary150);--sbb-button-color-active-border: var(--sbb-color-primary150);--sbb-button-color-active-text: var(--sbb-color-4-negative);--sbb-button-color-default-background: var(--sbb-color-primary);--sbb-button-color-default-border: var(--sbb-color-primary);--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-color-primary125);--sbb-button-color-hover-border: var(--sbb-color-primary125);--sbb-button-color-hover-text: var(--sbb-color-3-negative);--sbb-button-color-loading-border: color-mix( in srgb, var(--sbb-button-color-active-background) 50%, var(--sbb-button-color-default-text) );--sbb-button-color-loading-border: light-dark( color-mix( in srgb, var(--sbb-button-color-active-background) 50%, var(--sbb-button-color-default-text) ), color-mix( in srgb, var(--sbb-button-color-active-background) 70%, var(--sbb-button-color-default-text) ) );--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-primary) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-primary) 20%, transparent), color-mix(in srgb, var(--sbb-color-primary) 40%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-primary125) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-primary125) 20%, transparent), color-mix(in srgb, var(--sbb-color-primary125) 40%, transparent) )}:host([negative]){--sbb-button-color-active-background: var(--sbb-color-primary150);--sbb-button-color-active-border: var(--sbb-color-primary150);--sbb-button-color-active-text: var(--sbb-color-4-negative);--sbb-button-color-default-background: var(--sbb-color-primary);--sbb-button-color-default-border: var(--sbb-color-primary);--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-color-primary125);--sbb-button-color-hover-border: var(--sbb-color-primary125);--sbb-button-color-hover-text: var(--sbb-color-3-negative);--sbb-button-color-loading-border: color-mix( in srgb, var(--sbb-button-color-active-background) 70%, var(--sbb-button-color-default-text) );--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-primary) 60%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-primary) 60%, transparent), color-mix(in srgb, var(--sbb-color-primary) 40%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-primary125) 60%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-primary125) 60%, transparent), color-mix(in srgb, var(--sbb-color-primary125) 40%, transparent) )}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading])){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", h = ":host{--sbb-button-color-active-background: var(--sbb-background-color-3);--sbb-button-color-active-border: var(--sbb-border-color-4-inverted);--sbb-button-color-active-text: var(--sbb-color-anthracite);--sbb-button-color-active-text: light-dark( var(--sbb-color-anthracite), var(--sbb-color-graphite) );--sbb-button-color-default-background: var(--sbb-background-color-1);--sbb-button-color-default-border: var(--sbb-border-color-4-inverted);--sbb-button-color-default-text: var(--sbb-color-3);--sbb-button-color-hover-background: var(--sbb-background-color-1);--sbb-button-color-hover-border: var(--sbb-border-color-4-inverted);--sbb-button-color-hover-text: var(--sbb-color-4);--sbb-button-color-loading-border: var(--sbb-border-color-4-inverted);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-cement) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-cement) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-border-overlap-fix: 0rem}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-2-negative);--sbb-button-color-active-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-active-text: var(--sbb-color-graphite);--sbb-button-color-default-background: var(--sbb-background-color-1-negative);--sbb-button-color-default-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-default-text: var(--sbb-color-3-negative);--sbb-button-color-hover-background: var(--sbb-background-color-1-negative);--sbb-button-color-hover-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-hover-text: var(--sbb-color-4-negative);--sbb-button-color-loading-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent)}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]))){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", g = ":host{--sbb-button-color-active-background: var(--sbb-background-color-4);--sbb-button-color-active-border: var(--sbb-border-color-4-inverted);--sbb-button-color-active-text: var(--sbb-color-1);--sbb-button-color-default-background: transparent;--sbb-button-color-default-border: transparent;--sbb-button-color-default-text: var(--sbb-color-1);--sbb-button-color-hover-background: var(--sbb-background-color-3);--sbb-button-color-hover-border: var(--sbb-border-color-3-inverted);--sbb-button-color-hover-text: var(--sbb-color-1);--sbb-button-color-loading-border: var(--sbb-color-silver);--sbb-button-color-loading-border: light-dark(var(--sbb-color-silver), var(--sbb-color-granite))}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-4-negative);--sbb-button-color-active-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-active-text: var(--sbb-color-1-negative);--sbb-button-color-default-background: transparent;--sbb-button-color-default-border: transparent;--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-background-color-3-negative);--sbb-button-color-hover-border: var(--sbb-border-color-3-negative-inverted);--sbb-button-color-hover-text: var(--sbb-color-1-negative);--sbb-button-color-loading-border: var(--sbb-color-granite)}", _ = r(m), v = r(h), y = r(u), b = r(g), x = r(f), S = r(p), C = (u) => (() => {
|
|
9
|
-
let
|
|
10
|
-
return class extends
|
|
8
|
+
var l = ":host{--sbb-button-color-active-background: var(--sbb-background-color-1-inverted);--sbb-button-color-active-border: var(--sbb-border-color-1);--sbb-button-color-active-text: var(--sbb-color-cloud);--sbb-button-color-active-text: light-dark(var(--sbb-color-cloud), var(--sbb-color-anthracite));--sbb-button-color-default-background: var(--sbb-background-color-3-inverted);--sbb-button-color-default-border: var(--sbb-border-color-3);--sbb-button-color-default-text: var(--sbb-color-1-inverted);--sbb-button-color-hover-background: var(--sbb-background-color-3-inverted);--sbb-button-color-hover-border: var(--sbb-border-color-3);--sbb-button-color-hover-text: var(--sbb-color-3-inverted);--sbb-button-color-loading-border: var(--sbb-color-iron);--sbb-button-color-loading-border: light-dark(var(--sbb-color-iron), var(--sbb-color-silver));--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-cement) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-cement) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) )}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-1-negative-inverted);--sbb-button-color-active-border: var(--sbb-border-color-1-negative);--sbb-button-color-active-text: var(--sbb-color-anthracite);--sbb-button-color-default-background: var(--sbb-background-color-3-negative-inverted);--sbb-button-color-default-border: var(--sbb-border-color-3-negative);--sbb-button-color-default-text: var(--sbb-color-1-negative-inverted);--sbb-button-color-hover-background: var(--sbb-background-color-3-negative-inverted);--sbb-button-color-hover-border: var(--sbb-border-color-3-negative);--sbb-button-color-hover-text: var(--sbb-color-4-negative-inverted);--sbb-button-color-loading-border: var(--sbb-color-silver);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent)}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading])){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", u = ":host{display:inline-block;outline:none!important;--sbb-button-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-button-box-shadow-definition: var(--sbb-shadow-elevation-level-3-shadow-2-offset-x) var(--sbb-button-shadow-2-offset-y) var(--sbb-button-shadow-2-blur) var(--sbb-shadow-elevation-level-3-shadow-2-spread) var(--sbb-button-shadow-2-color), var(--sbb-shadow-elevation-level-3-shadow-1-offset-x) var(--sbb-button-shadow-1-offset-y) var(--sbb-button-shadow-1-blur) var(--sbb-shadow-elevation-level-3-shadow-1-spread) var(--sbb-button-shadow-1-color);--_width: unset;--_min-height-modifier: 0rem;--_border-color: var(--sbb-button-color-default-border);--_background-color: var(--sbb-button-color-default-background);--_color: var(--sbb-button-color-default-text);--_button-inset: 0;--_border: calc(var(--sbb-button-border-width) + var(--sbb-button-border-overlap-fix, 1px)) solid var(--_border-color)}@media(forced-colors:active){:host{--sbb-button-color-default-border: CanvasText !important;--sbb-button-color-active-border: Highlight !important;--sbb-button-color-default-background: Canvas !important;--sbb-button-color-hover-background: Canvas !important;--sbb-button-color-active-background: Canvas !important;--sbb-button-color-disabled-background: Canvas !important;--sbb-button-color-disabled-text: GrayText !important;--sbb-button-color-loading-border: Highlight !important;--sbb-button-color-default-text: CanvasText !important;--sbb-button-color-hover-text: CanvasText !important;--sbb-button-color-active-text: CanvasText !important;--sbb-button-border-overlap-fix: 0rem}}@media(forced-colors:active){:host(:is(:state(button),[state--button])){--sbb-button-color-default-text: ButtonText !important;--sbb-button-color-hover-text: ButtonText !important;--sbb-button-color-active-text: ButtonText !important}}@media(forced-colors:active){:host(:is(:state(link),[state--link])){--sbb-button-color-default-text: LinkText !important;--sbb-button-color-hover-text: LinkText !important;--sbb-button-color-active-text: LinkText !important}}:host([negative]){--sbb-button-color-disabled-background: var(--sbb-background-color-3-negative);--sbb-button-color-disabled-text: var(--sbb-color-aluminium)}:host([size=l]){--sbb-button-min-height: var(--sbb-button-min-height-size-l);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-l)}:host([size=m]){--sbb-button-min-height: var(--sbb-button-min-height-size-m);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-m)}:host([size=s]){--sbb-button-min-height: var(--sbb-button-min-height-size-s);--sbb-button-padding-inline: var(--sbb-button-padding-inline-size-s);--sbb-button-gap: var(--sbb-spacing-fixed-1x)}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))){--sbb-button-padding-inline: 0;--_width: calc(var(--sbb-button-min-height) + var(--_min-height-modifier))}@media(any-hover:hover){:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading]):is(:hover,:is(:state(force-hover),[state--force-hover]))){--sbb-button-translate-y-content-hover: -.0625rem;--sbb-button-shadow-1-offset-y: calc( .5 * var(--sbb-shadow-elevation-level-3-shadow-1-offset-y) );--sbb-button-shadow-1-blur: calc(.5 * var(--sbb-shadow-elevation-level-3-shadow-1-blur));--sbb-button-shadow-2-blur: calc(.5 * var(--sbb-shadow-elevation-level-3-shadow-2-blur));--sbb-button-cursor: var(--sbb-cursor-pointer);--_border-color: var(--sbb-button-color-hover-border);--_color: var(--sbb-button-color-hover-text);--_background-color: var(--sbb-button-color-hover-background);--_button-inset: calc(var(--sbb-button-border-width) * -1)}}@media(forced-colors:active){:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading]):is(:hover,:is(:state(force-hover),[state--force-hover]))){--sbb-button-color-hover-border: Highlight !important}}:host(:is([disabled],:disabled,[disabled-interactive])){--sbb-button-cursor: var(--sbb-cursor-default);--_color: var(--sbb-button-color-disabled-text);--_background-color: var(--sbb-button-color-disabled-background);--_border-color: var(--sbb-button-color-disabled-border);--_border: var(--sbb-button-border-disabled-width) var(--sbb-button-border-disabled-style) var(--_border-color)}:host(:not([disabled],:disabled,[disabled-interactive]):is(:active,:is(:state(active),[state--active]),[loading])){--_color: var(--sbb-button-color-active-text);--_background-color: var(--sbb-button-color-active-background);--_border-color: var(--sbb-button-color-active-border)}:host([loading]:not([disabled],:disabled,[disabled-interactive])){--_min-height-modifier: calc(-2 * var(--sbb-button-loading-border-width));--sbb-button-focus-outline-offset-override: calc( var(--sbb-focus-outline-offset) + var(--sbb-button-loading-border-width) );--_border: none;--_transform-style: preserve-3d}.sbb-action-base{display:flex;gap:var(--sbb-button-gap);align-items:center;justify-content:center;font-size:var(--sbb-text-font-size-xs);font-weight:700;letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text);text-align:left;white-space:nowrap;text-decoration:none;min-height:calc(var(--sbb-button-min-height) + var(--_min-height-modifier));outline:none;width:var(--_width);border-radius:var(--sbb-button-border-radius);color:var(--_color);cursor:var(--sbb-button-cursor);-webkit-user-select:none;user-select:none;background-color:var(--_background-color);transition-duration:var(--sbb-button-transition-duration);transition-timing-function:var(--sbb-button-transition-easing-function);transition-property:color,background-color;transform-style:var(--_transform-style, flat);padding-block:var(--sbb-button-padding-block-min);padding-inline:var(--sbb-button-padding-inline);position:relative}.sbb-action-base:before{content:\"\";position:absolute;inset:var(--_button-inset);border:var(--_border);border-radius:var(--sbb-button-border-radius);pointer-events:none;box-shadow:var(--sbb-button-box-shadow);transition-duration:var(--sbb-button-transition-duration);transition-timing-function:var(--sbb-button-transition-easing-function);transition-property:inset,border,box-shadow}:host([loading]:not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{margin:var(--sbb-button-loading-border-width);padding-inline:calc(var(--sbb-button-padding-inline) - var(--sbb-button-loading-border-width));transition-property:none}:host(:is(:state(focus-visible),[state--focus-visible])) .sbb-action-base:before,:host(:focus-visible) .sbb-action-base:before,.sbb-action-base:focus-visible:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-button-focus-outline-offset-override, var(--sbb-focus-outline-offset))}.sbb-button__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))) .sbb-button__label{display:none}.sbb-button__label,::slotted([slot=icon]),sbb-icon{transition:translate var(--sbb-button-transition-duration) var(--sbb-button-transition-easing-function);translate:0 var(--sbb-button-translate-y-content-hover, 0)}.sbb-button-loading-border{position:absolute;inset:calc(-1 * var(--sbb-button-loading-border-width));clip-path:border-box;border-radius:var(--sbb-button-border-radius);background:var(--_background-color);transform:translateZ(-1px);z-index:-1;container-type:inline-size;contain:paint;animation:background-fade-in var(--sbb-disable-animation-duration, var(--sbb-animation-duration-6x)) var(--sbb-disable-animation-duration, var(--sbb-button-loading-delay)) linear;animation-fill-mode:forwards}.sbb-button-loading-border:before{content:\"\";display:block;width:64cqmin;max-height:var(--sbb-button-min-height);aspect-ratio:2/1;position:absolute;background:radial-gradient(100% 100% at right,var(--sbb-button-color-active-text),transparent 50%);offset-path:border-box;offset-anchor:100% 50%;opacity:0;animation:snake-fade-in var(--sbb-disable-animation-duration, calc(var(--sbb-animation-duration-12x) * 2)) var(--sbb-disable-animation-duration, calc(var(--sbb-button-loading-delay) + var(--sbb-animation-duration-5x))) var(--sbb-animation-easing),snake-position var(--sbb-disable-animation-duration, calc(max(tan(atan2(var(--sbb-button-width), 1px)) / 136, .5)*3s) ) infinite linear;animation-fill-mode:forwards;transform-style:preserve-3d}@keyframes snake-position{to{offset-distance:100%}}@keyframes snake-fade-in{to{opacity:1}}@keyframes background-fade-in{to{background:var(--sbb-button-color-loading-border)}}", d = ":host{display:inline-block;-webkit-tap-highlight-color:transparent;height:fit-content;outline:none!important;--sbb-mini-button-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-mini-button-color-background: var(--sbb-mini-button-color-default-background);--sbb-mini-button-color: var(--sbb-mini-button-color-text)}@media(forced-colors:active){:host{--sbb-mini-button-color-text: ButtonText !important;--sbb-mini-button-color-hover-background: Highlight !important;--sbb-mini-button-color-active-background: Highlight !important;--sbb-mini-button-color-disabled-background: Canvas !important;--sbb-mini-button-color-disabled-border: GrayText !important;--sbb-mini-button-color-disabled-text: GrayText !important}}:host([negative]){--sbb-mini-button-color-text: var(--sbb-color-3-negative);--sbb-mini-button-color-default-background: transparent;--sbb-mini-button-color-hover-background: var(--sbb-background-color-3-negative);--sbb-mini-button-color-active-background: var(--sbb-background-color-4-negative);--sbb-mini-button-color-disabled-background: var(--sbb-background-color-3-negative);--sbb-mini-button-color-disabled-border: var(--sbb-border-color-5);--sbb-mini-button-color-disabled-text: var(--sbb-color-5)}@media(any-hover:hover){:host(:is(:hover,:is(:state(force-hover),[state--force-hover])):not([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]),:active,:is(:state(active),[state--active]))){--sbb-mini-button-translate-y-content-hover: -.0625rem;--sbb-mini-button-color-background: var(--sbb-mini-button-color-hover-background)}}:host(:is(:active,:is(:state(active),[state--active])):not([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]))){--sbb-mini-button-color-background: var(--sbb-mini-button-color-active-background)}:host(:is([disabled],:disabled,[disabled-interactive],:is(:state(disabled),[state--disabled]))){--sbb-mini-button-color-background: var(--sbb-mini-button-color-disabled-background);--sbb-mini-button-border: var(--sbb-border-width-1x) dashed var(--sbb-mini-button-color-disabled-border);--sbb-mini-button-color: var(--sbb-mini-button-color-disabled-text);--sbb-mini-button-pointer-events: none;--sbb-mini-button-cursor: var(--sbb-cursor-default)}:host(:is(:state(focus-visible),[state--focus-visible])){--sbb-focus-outline-style: initial}.sbb-action-base{display:flex;position:relative;color:var(--sbb-mini-button-color);border-radius:var(--sbb-mini-button-border-radius);-webkit-user-select:none;user-select:none;pointer-events:var(--sbb-mini-button-pointer-events, auto);cursor:var(--sbb-mini-button-cursor, var(--sbb-cursor-pointer));transition:color var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);text-decoration:none;outline:none}.sbb-action-base:before{position:absolute;content:\"\";inset:0;border-radius:var(--sbb-mini-button-border-radius);background-color:var(--sbb-mini-button-color-background);transition-duration:var(--sbb-mini-button-transition-duration);transition-timing-function:var(--sbb-mini-button-transition-easing-function);transition-property:inset,background-color;border:var(--sbb-mini-button-border)}.sbb-action-base:focus-visible:before,:host(:is(:is(:state(focus-visible),[state--focus-visible]),:focus-visible)) .sbb-action-base:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}::slotted(sbb-icon),sbb-icon{display:flex;transition:translate var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);translate:0 var(--sbb-mini-button-translate-y-content-hover, 0);min-width:var(--_sbb-mini-button-image-size, var(--sbb-size-icon-ui-small));min-height:var(--_sbb-mini-button-image-size, var(--sbb-size-icon-ui-small));align-items:center;justify-content:center}", f = ":host{--sbb-mini-button-gap: .125rem;--sbb-mini-button-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-mini-button-label-display: block;--sbb-mini-button-label-height: var(--sbb-size-icon-ui-small)}:host(:where(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))){--sbb-mini-button-padding-inline: 0;--sbb-mini-button-label-display: none;--sbb-mini-button-label-height: unset}.sbb-action-base{height:var(--sbb-mini-button-label-height);gap:var(--sbb-mini-button-gap);align-items:center;justify-content:center;padding-inline:var(--sbb-mini-button-padding-inline)}.sbb-mini-button__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--sbb-text-font-size-xxs);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text);display:var(--sbb-mini-button-label-display);transition:translate var(--sbb-mini-button-transition-duration) var(--sbb-mini-button-transition-easing-function);translate:0 var(--sbb-mini-button-translate-y-content-hover, 0)}", p = ":host{--sbb-button-color-active-background: var(--sbb-color-primary150);--sbb-button-color-active-border: var(--sbb-color-primary150);--sbb-button-color-active-text: var(--sbb-color-4-negative);--sbb-button-color-default-background: var(--sbb-color-primary);--sbb-button-color-default-border: var(--sbb-color-primary);--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-color-primary125);--sbb-button-color-hover-border: var(--sbb-color-primary125);--sbb-button-color-hover-text: var(--sbb-color-3-negative);--sbb-button-color-loading-border: color-mix( in srgb, var(--sbb-button-color-active-background) 50%, var(--sbb-button-color-default-text) );--sbb-button-color-loading-border: light-dark( color-mix( in srgb, var(--sbb-button-color-active-background) 50%, var(--sbb-button-color-default-text) ), color-mix( in srgb, var(--sbb-button-color-active-background) 70%, var(--sbb-button-color-default-text) ) );--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-primary) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-primary) 20%, transparent), color-mix(in srgb, var(--sbb-color-primary) 40%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-primary125) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-primary125) 20%, transparent), color-mix(in srgb, var(--sbb-color-primary125) 40%, transparent) )}:host([negative]){--sbb-button-color-active-background: var(--sbb-color-primary150);--sbb-button-color-active-border: var(--sbb-color-primary150);--sbb-button-color-active-text: var(--sbb-color-4-negative);--sbb-button-color-default-background: var(--sbb-color-primary);--sbb-button-color-default-border: var(--sbb-color-primary);--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-color-primary125);--sbb-button-color-hover-border: var(--sbb-color-primary125);--sbb-button-color-hover-text: var(--sbb-color-3-negative);--sbb-button-color-loading-border: color-mix( in srgb, var(--sbb-button-color-active-background) 70%, var(--sbb-button-color-default-text) );--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-primary) 60%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-primary) 60%, transparent), color-mix(in srgb, var(--sbb-color-primary) 40%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-primary125) 60%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-primary125) 60%, transparent), color-mix(in srgb, var(--sbb-color-primary125) 40%, transparent) )}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]),[loading])){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", m = ":host{--sbb-button-color-active-background: var(--sbb-background-color-3);--sbb-button-color-active-border: var(--sbb-border-color-4-inverted);--sbb-button-color-active-text: var(--sbb-color-anthracite);--sbb-button-color-active-text: light-dark( var(--sbb-color-anthracite), var(--sbb-color-graphite) );--sbb-button-color-default-background: var(--sbb-background-color-1);--sbb-button-color-default-border: var(--sbb-border-color-4-inverted);--sbb-button-color-default-text: var(--sbb-color-3);--sbb-button-color-hover-background: var(--sbb-background-color-1);--sbb-button-color-hover-border: var(--sbb-border-color-4-inverted);--sbb-button-color-hover-text: var(--sbb-color-4);--sbb-button-color-loading-border: var(--sbb-border-color-4-inverted);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent);--sbb-button-shadow-1-color: light-dark( color-mix(in srgb, var(--sbb-color-platinum) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-cement) 20%, transparent);--sbb-button-shadow-2-color: light-dark( color-mix(in srgb, var(--sbb-color-cement) 20%, transparent), color-mix(in srgb, var(--sbb-color-black) 30%, transparent) );--sbb-button-border-overlap-fix: 0rem}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-2-negative);--sbb-button-color-active-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-active-text: var(--sbb-color-graphite);--sbb-button-color-default-background: var(--sbb-background-color-1-negative);--sbb-button-color-default-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-default-text: var(--sbb-color-3-negative);--sbb-button-color-hover-background: var(--sbb-background-color-1-negative);--sbb-button-color-hover-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-hover-text: var(--sbb-color-4-negative);--sbb-button-color-loading-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-shadow-1-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-button-shadow-2-color: color-mix(in srgb, var(--sbb-color-black) 30%, transparent)}:host(:not([disabled],:disabled,[disabled-interactive],:active,:is(:state(active),[state--active]))){--sbb-button-box-shadow: var(--sbb-button-box-shadow-definition)}", h = ":host{--sbb-button-color-active-background: var(--sbb-background-color-4);--sbb-button-color-active-border: var(--sbb-border-color-4-inverted);--sbb-button-color-active-text: var(--sbb-color-1);--sbb-button-color-default-background: transparent;--sbb-button-color-default-border: transparent;--sbb-button-color-default-text: var(--sbb-color-1);--sbb-button-color-hover-background: var(--sbb-background-color-3);--sbb-button-color-hover-border: var(--sbb-border-color-3-inverted);--sbb-button-color-hover-text: var(--sbb-color-1);--sbb-button-color-loading-border: var(--sbb-color-silver);--sbb-button-color-loading-border: light-dark(var(--sbb-color-silver), var(--sbb-color-granite))}:host([negative]){--sbb-button-color-active-background: var(--sbb-background-color-4-negative);--sbb-button-color-active-border: var(--sbb-border-color-4-negative-inverted);--sbb-button-color-active-text: var(--sbb-color-1-negative);--sbb-button-color-default-background: transparent;--sbb-button-color-default-border: transparent;--sbb-button-color-default-text: var(--sbb-color-1-negative);--sbb-button-color-hover-background: var(--sbb-background-color-3-negative);--sbb-button-color-hover-border: var(--sbb-border-color-3-negative-inverted);--sbb-button-color-hover-text: var(--sbb-color-1-negative);--sbb-button-color-loading-border: var(--sbb-color-granite)}", g = r(p), _ = r(m), v = r(l), y = r(h), b = r(d), x = r(f), S = (l) => (() => {
|
|
9
|
+
let d = a(c(l)), f, p = [], m = [], h, g = [], _ = [];
|
|
10
|
+
return class extends d {
|
|
11
11
|
static {
|
|
12
|
-
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
13
|
-
|
|
12
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
13
|
+
f = [i({ reflect: !0 })], h = [o(), i({
|
|
14
14
|
reflect: !0,
|
|
15
15
|
type: Boolean
|
|
16
|
-
})], e(this, null,
|
|
16
|
+
})], e(this, null, f, {
|
|
17
17
|
kind: "accessor",
|
|
18
18
|
name: "size",
|
|
19
19
|
static: !1,
|
|
@@ -26,7 +26,7 @@ var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
metadata: t
|
|
29
|
-
},
|
|
29
|
+
}, p, m), e(this, null, h, {
|
|
30
30
|
kind: "accessor",
|
|
31
31
|
name: "loading",
|
|
32
32
|
static: !1,
|
|
@@ -39,7 +39,7 @@ var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
metadata: t
|
|
42
|
-
},
|
|
42
|
+
}, g, _), t && Object.defineProperty(this, Symbol.metadata, {
|
|
43
43
|
enumerable: !0,
|
|
44
44
|
configurable: !0,
|
|
45
45
|
writable: !0,
|
|
@@ -47,16 +47,16 @@ var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-
|
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
static {
|
|
50
|
-
this.styles = [r(
|
|
50
|
+
this.styles = [r(u)];
|
|
51
51
|
}
|
|
52
|
-
#e = t(this,
|
|
52
|
+
#e = t(this, p, null);
|
|
53
53
|
get size() {
|
|
54
54
|
return this.#e;
|
|
55
55
|
}
|
|
56
56
|
set size(e) {
|
|
57
57
|
this.#e = e;
|
|
58
58
|
}
|
|
59
|
-
#t = (t(this,
|
|
59
|
+
#t = (t(this, m), t(this, g, !1));
|
|
60
60
|
get loading() {
|
|
61
61
|
return this.#t;
|
|
62
62
|
}
|
|
@@ -64,7 +64,7 @@ var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-
|
|
|
64
64
|
this.#t = e;
|
|
65
65
|
}
|
|
66
66
|
constructor(...e) {
|
|
67
|
-
super(...e), t(this,
|
|
67
|
+
super(...e), t(this, _), this.internals.states.add("sbb-button");
|
|
68
68
|
}
|
|
69
69
|
willUpdate(e) {
|
|
70
70
|
if (super.willUpdate(e), e.has("loading")) if (this.loading) {
|
|
@@ -74,15 +74,15 @@ var u = ":host{--sbb-button-color-active-background: var(--sbb-background-color-
|
|
|
74
74
|
} else this.internals.ariaBusy = null, this.style?.removeProperty("--sbb-button-width"), this.maybeDisabledInteractive || (this.internals.ariaDisabled = null);
|
|
75
75
|
}
|
|
76
76
|
renderTemplate() {
|
|
77
|
-
return
|
|
77
|
+
return s`
|
|
78
78
|
${super.renderIconSlot()}
|
|
79
79
|
<span class="sbb-button__label">
|
|
80
80
|
<slot></slot>
|
|
81
81
|
</span>
|
|
82
|
-
${this.loading && !this.maybeDisabled ?
|
|
82
|
+
${this.loading && !this.maybeDisabled ? s`<div class="sbb-button-loading-border"></div>` : n}
|
|
83
83
|
`;
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
})();
|
|
87
87
|
//#endregion
|
|
88
|
-
export {
|
|
88
|
+
export { y as a, _ as i, v as n, x as o, g as r, b as s, S as t };
|