@spw-ds/spw-stencil-library 1.21.0 → 1.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +339 -5
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/index-BDwcdQtT.js +3256 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-alert.cjs.entry.js +1 -1
- package/dist/cjs/spw-avatar.cjs.entry.js +6 -3
- package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-box.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +1 -1
- package/dist/cjs/spw-checkbox.cjs.entry.js +9 -5
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/spw-drawer.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +19 -5
- package/dist/cjs/spw-dropdown.cjs.entry.js +30 -8
- package/dist/cjs/spw-field-label_8.cjs.entry.js +9 -7
- package/dist/cjs/spw-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-lang.cjs.entry.js +25 -5
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +4 -3
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +5 -4
- package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona.cjs.entry.js +83 -7
- package/dist/cjs/spw-header.cjs.entry.js +4 -4
- package/dist/cjs/spw-hero.cjs.entry.js +4 -4
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox.cjs.entry.js +4 -4
- package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-list.cjs.entry.js +2 -2
- package/dist/cjs/spw-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +4 -4
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +14 -10
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-select.cjs.entry.js +5 -2
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidenav.cjs.entry.js +3 -3
- package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-socials.cjs.entry.js +2 -2
- package/dist/cjs/spw-stencil-library.cjs.js +4 -3
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile.cjs.entry.js +1 -1
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc.cjs.entry.js +2 -2
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +17 -8
- package/dist/collection/components/spw-avatar/spw-avatar.css +19 -2
- package/dist/collection/components/spw-avatar/spw-avatar.js +24 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +53 -0
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +14 -5
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +6 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +55 -4
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +29 -7
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +44 -4
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +3 -2
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +3 -2
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +14 -0
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +303 -6
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +4 -0
- package/dist/collection/components/spw-header/spw-header.js +2 -2
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.js +3 -3
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +3 -3
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-modal/spw-modal.js +3 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.css +54 -0
- package/dist/collection/components/spw-radio/spw-radio.js +19 -10
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-select/spw-select.js +4 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +3 -3
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.js +1 -1
- package/dist/collection/components/spw-socials/spw-socials.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +16 -7
- package/dist/collection/scss/_font-awesome.css +9 -0
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +37 -19
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +204 -2
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +79 -0
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +54 -0
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +203 -7
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/{p-C0Kjwc3C.js → p-8ORCgRs0.js} +1 -1
- package/dist/components/{p-DPbnqynk.js → p-BamUR6Ir.js} +1 -1
- package/dist/components/{p-CP7K0gLt.js → p-Bj0f5RYL.js} +1 -1
- package/dist/components/{p-D7kEk_Bq.js → p-BlDHsTAs.js} +1 -1
- package/dist/components/{p-ngXzYfRV.js → p-CTwPJpJk.js} +1 -1
- package/dist/components/{p-BqbBUZit.js → p-CprwnPcB.js} +1 -1
- package/dist/components/p-DDp6luzB.js +1 -0
- package/dist/components/p-DP2zzHK_.js +1 -0
- package/dist/components/p-DetVZmjO.js +1 -0
- package/dist/components/{p-BK5d5dXN.js → p-DswuxcGK.js} +1 -1
- package/dist/components/{p-CzRB_COv.js → p-H_k5I58H.js} +1 -1
- package/dist/components/{p-BSQRkvuQ.js → p-bb7Wex4w.js} +1 -1
- package/dist/components/p-kCxgPsVs.js +1 -0
- package/dist/components/{p-B9J7xbpQ.js → p-xv_G2g8V.js} +1 -1
- package/dist/components/spw-accordion-title.js +1 -1
- package/dist/components/spw-alert.js +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-box.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-drawer.js +1 -1
- package/dist/components/spw-dropdown-container.js +1 -1
- package/dist/components/spw-dropdown-item.js +1 -1
- package/dist/components/spw-dropdown.js +1 -1
- package/dist/components/spw-field-label.js +1 -1
- package/dist/components/spw-field-message.js +1 -1
- package/dist/components/spw-file-upload.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-group.js +1 -1
- package/dist/components/spw-header-lang.js +1 -1
- package/dist/components/spw-header-navigation-dropdown.js +1 -1
- package/dist/components/spw-header-navigation-item.js +1 -1
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-header-persona-item.js +1 -1
- package/dist/components/spw-header-persona.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-icon.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-lightbox-item.js +1 -1
- package/dist/components/spw-lightbox.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +4 -4
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-sidenav-group.js +1 -1
- package/dist/components/spw-sidenav-item.js +1 -1
- package/dist/components/spw-sidenav.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toast-controller.js +1 -1
- package/dist/components/spw-toast.js +1 -1
- package/dist/components/spw-toc.js +1 -1
- package/dist/components/spw-tooltip.js +1 -1
- package/dist/components/spw-topbar.js +1 -1
- package/dist/components/spw-wizard-item.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +504 -12
- package/dist/components_vscode.json +119 -1
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/index-BVePqxpd.js +3228 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-alert.entry.js +1 -1
- package/dist/esm/spw-avatar.entry.js +6 -3
- package/dist/esm/spw-block-content.entry.js +1 -1
- package/dist/esm/spw-box.entry.js +1 -1
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +1 -1
- package/dist/esm/spw-button_2.entry.js +2 -2
- package/dist/esm/spw-card-content.entry.js +1 -1
- package/dist/esm/spw-card-excerpt.entry.js +1 -1
- package/dist/esm/spw-card-image.entry.js +1 -1
- package/dist/esm/spw-card-subtag-item.entry.js +1 -1
- package/dist/esm/spw-card-subtags.entry.js +1 -1
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +1 -1
- package/dist/esm/spw-checkbox.entry.js +9 -5
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +1 -1
- package/dist/esm/spw-date-picker.entry.js +1 -1
- package/dist/esm/spw-drawer.entry.js +1 -1
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +19 -5
- package/dist/esm/spw-dropdown.entry.js +30 -8
- package/dist/esm/spw-field-label_8.entry.js +9 -7
- package/dist/esm/spw-file-upload.entry.js +1 -1
- package/dist/esm/spw-footer-bottom.entry.js +1 -1
- package/dist/esm/spw-footer-content-col.entry.js +1 -1
- package/dist/esm/spw-footer-content.entry.js +1 -1
- package/dist/esm/spw-footer-link.entry.js +1 -1
- package/dist/esm/spw-footer.entry.js +1 -1
- package/dist/esm/spw-grid-item.entry.js +1 -1
- package/dist/esm/spw-grid.entry.js +1 -1
- package/dist/esm/spw-header-lang.entry.js +25 -5
- package/dist/esm/spw-header-navigation-dropdown.entry.js +4 -3
- package/dist/esm/spw-header-navigation-item.entry.js +5 -4
- package/dist/esm/spw-header-navigation.entry.js +1 -1
- package/dist/esm/spw-header-persona-item.entry.js +2 -2
- package/dist/esm/spw-header-persona.entry.js +83 -7
- package/dist/esm/spw-header.entry.js +4 -4
- package/dist/esm/spw-hero.entry.js +4 -4
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +2 -2
- package/dist/esm/spw-lightbox-item.entry.js +2 -2
- package/dist/esm/spw-lightbox.entry.js +4 -4
- package/dist/esm/spw-list-description.entry.js +2 -2
- package/dist/esm/spw-list-item.entry.js +2 -2
- package/dist/esm/spw-list-title.entry.js +2 -2
- package/dist/esm/spw-list.entry.js +2 -2
- package/dist/esm/spw-message.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +4 -4
- package/dist/esm/spw-mosaic-item.entry.js +2 -2
- package/dist/esm/spw-mosaic.entry.js +2 -2
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +14 -10
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +1 -1
- package/dist/esm/spw-select.entry.js +5 -2
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-sidenav-group.entry.js +3 -3
- package/dist/esm/spw-sidenav-item.entry.js +4 -4
- package/dist/esm/spw-sidenav.entry.js +3 -3
- package/dist/esm/spw-skeleton.entry.js +2 -2
- package/dist/esm/spw-slider-item.entry.js +2 -2
- package/dist/esm/spw-slider.entry.js +2 -2
- package/dist/esm/spw-socials.entry.js +2 -2
- package/dist/esm/spw-stencil-library.js +4 -3
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation.entry.js +2 -2
- package/dist/esm/spw-tabs.entry.js +2 -2
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +2 -2
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +2 -2
- package/dist/esm/spw-tile-title.entry.js +3 -3
- package/dist/esm/spw-tile.entry.js +1 -1
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toast-controller.entry.js +1 -1
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +1 -1
- package/dist/esm/spw-toc-navigation.entry.js +1 -1
- package/dist/esm/spw-toc.entry.js +2 -2
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +17 -8
- package/dist/spw-stencil-library/{p-d139d77f.entry.js → p-014dcde0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-999c3fbf.entry.js → p-05b86707.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e448c5e.entry.js → p-07eeb1e1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3b9a184f.entry.js → p-081ef5be.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8300baab.entry.js → p-0974b5ad.entry.js} +1 -1
- package/dist/spw-stencil-library/p-0a4c7350.entry.js +1 -0
- package/dist/spw-stencil-library/{p-07421627.entry.js → p-0b05f68a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-0c8b8bda.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ae43ace2.entry.js → p-1551cafd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8ca8cc0a.entry.js → p-17c560a7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f4e9c5f8.entry.js → p-1cafabcb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7bdca1ab.entry.js → p-1d89f70b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-698fdd22.entry.js → p-23eea80a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-281cdb3e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-b1f68930.entry.js → p-2a044996.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6f84b402.entry.js → p-2f8ddf71.entry.js} +1 -1
- package/dist/spw-stencil-library/p-34dcb37c.entry.js +1 -0
- package/dist/spw-stencil-library/p-35f8a54f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-50dc5fb5.entry.js → p-3b734796.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f75c25d4.entry.js → p-3dabbc2b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ddf93cc8.entry.js → p-3eabee42.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ce65071.entry.js → p-4016c0b3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dcc02bab.entry.js → p-4319494b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-22b01bfa.entry.js → p-435faf37.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-250704ca.entry.js → p-46b1ac2f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-497fceb3.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7a71d533.entry.js → p-4b17b100.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0a8d9ea5.entry.js → p-4ededdbe.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2bf9275b.entry.js → p-50fa07aa.entry.js} +1 -1
- package/dist/spw-stencil-library/p-5420e253.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d88b1a1f.entry.js → p-55ba4165.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-19d6f92f.entry.js → p-56a7d3c3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-79dd218a.entry.js → p-5a40cfb3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f27d6669.entry.js → p-662bf57f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fe51cf75.entry.js → p-66e01eb2.entry.js} +4 -4
- package/dist/spw-stencil-library/{p-aef5a5ca.entry.js → p-69b136c2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b83ba191.entry.js → p-6c7f1b3c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-da915195.entry.js → p-6e2443a7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-21022935.entry.js → p-6e4163fc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cc1d8a4f.entry.js → p-6fbde272.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-de76b09f.entry.js → p-73ae85cc.entry.js} +1 -1
- package/dist/spw-stencil-library/p-74a1dfe7.entry.js +1 -0
- package/dist/spw-stencil-library/{p-da502510.entry.js → p-75ca8560.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ad91e29.entry.js → p-763e5fb6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9472747a.entry.js → p-76d48ad8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3d616279.entry.js → p-785c51b6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8ecbede1.entry.js → p-7a8950af.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0dbd1777.entry.js → p-7ae66351.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-30f77b9c.entry.js → p-80b5b9c0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6c5156e2.entry.js → p-80e64a77.entry.js} +1 -1
- package/dist/spw-stencil-library/p-83fc4518.entry.js +1 -0
- package/dist/spw-stencil-library/{p-524b1240.entry.js → p-847a147f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-853a90d8.entry.js +1 -0
- package/dist/spw-stencil-library/{p-5ca0e318.entry.js → p-861d8fa6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e937613e.entry.js → p-86d568ef.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4444edf0.entry.js → p-87777c3a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-879bdc6c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e35e6628.entry.js → p-87c1e331.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b2fd6355.entry.js → p-8a12fbbc.entry.js} +1 -1
- package/dist/spw-stencil-library/p-9852ad6c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-945ae18e.entry.js → p-9a52727e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2aeb538a.entry.js → p-9b399583.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-df0a919c.entry.js → p-9e7445bd.entry.js} +1 -1
- package/dist/spw-stencil-library/p-BVePqxpd.js +2 -0
- package/dist/spw-stencil-library/p-DQuL1Twl.js +1 -0
- package/dist/spw-stencil-library/{p-89e3b606.entry.js → p-a1ab16e7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a2f3f972.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f9d970fb.entry.js → p-a689da13.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f5ef6c0a.entry.js → p-a69e57df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bc6a2c42.entry.js → p-a730805c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-932c106b.entry.js → p-ab07e0b0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ab24e63c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-36225351.entry.js → p-ba7efcae.entry.js} +1 -1
- package/dist/spw-stencil-library/p-bd56da25.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7875efb1.entry.js → p-c077bc8d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c4945a0a.entry.js → p-c12c4536.entry.js} +1 -1
- package/dist/spw-stencil-library/p-c407865a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-91e66c74.entry.js → p-ccdd5504.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-34d01701.entry.js → p-d2728fbf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f548104b.entry.js → p-d4c22b9f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6a837847.entry.js → p-d597f8dc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee06a1d2.entry.js → p-d869a185.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ea88e604.entry.js → p-daa6257d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cd1294b1.entry.js → p-dc287751.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d7d88d71.entry.js → p-de134d10.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b2990f3e.entry.js → p-e34f57e6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7c1eff67.entry.js → p-e8f10b82.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f9a0ac9b.entry.js → p-ea73dc92.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-05ed7f8c.entry.js → p-eb8f3216.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-542dc71f.entry.js → p-edbba249.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9d0eaa1c.entry.js → p-ee2d2e3c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-563225aa.entry.js → p-f22c8347.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f2d1b557.entry.js +1 -0
- package/dist/spw-stencil-library/{p-90aa1e04.entry.js → p-f37c9c51.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f7ed1474.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9e350e36.entry.js → p-fbff4e05.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cdf8b303.entry.js → p-fc477204.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0225eae6.entry.js → p-fd814c2d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3d48b3ef.entry.js → p-ffbd0ef5.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +2 -2
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +2107 -1258
- package/dist/types/components/spw-avatar/spw-avatar.d.ts +2 -0
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +5 -0
- package/dist/types/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.d.ts +7 -1
- package/dist/types/components/spw-dropdown/spw-dropdown.d.ts +2 -0
- package/dist/types/components/spw-header/spw-header-lang/spw-header-lang.d.ts +4 -0
- package/dist/types/components/spw-header/spw-header-persona/spw-header-persona.d.ts +33 -0
- package/dist/types/components/spw-radio/spw-radio.d.ts +5 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +1 -0
- package/dist/types/components.d.ts +158 -2
- package/dist/types/stories/components/spw-avatar/spw-avatar.stories.d.ts +2 -1
- package/dist/types/stories/components/spw-dropdown/spw-dropdown.stories.d.ts +6 -0
- package/dist/types/stories/components/spw-field-message/spw-field-message.stories.d.ts +3 -1
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-header/spw-header.stories.d.ts +4 -1
- package/hydrate/index.js +318 -140
- package/hydrate/index.mjs +318 -140
- package/package.json +1 -1
- package/dist/cjs/index-C_UxJk3Q.js +0 -3267
- package/dist/components/p-B7VfgMNy.js +0 -1
- package/dist/components/p-BhpddpYy.js +0 -1
- package/dist/components/p-D9yobKiX.js +0 -1
- package/dist/esm/index-DkYGNpnN.js +0 -3238
- package/dist/spw-stencil-library/p-0552fb3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-1e9e9847.entry.js +0 -1
- package/dist/spw-stencil-library/p-2779253d.entry.js +0 -1
- package/dist/spw-stencil-library/p-30028ea4.entry.js +0 -1
- package/dist/spw-stencil-library/p-335b2f57.entry.js +0 -1
- package/dist/spw-stencil-library/p-53723414.entry.js +0 -1
- package/dist/spw-stencil-library/p-53e6a62e.entry.js +0 -1
- package/dist/spw-stencil-library/p-66695277.entry.js +0 -1
- package/dist/spw-stencil-library/p-7b495c09.entry.js +0 -1
- package/dist/spw-stencil-library/p-7d205679.entry.js +0 -1
- package/dist/spw-stencil-library/p-DkYGNpnN.js +0 -2
- package/dist/spw-stencil-library/p-a9a5c1d2.entry.js +0 -1
- package/dist/spw-stencil-library/p-b5aab148.entry.js +0 -1
- package/dist/spw-stencil-library/p-bbf86fbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-bc40d93c.entry.js +0 -1
- package/dist/spw-stencil-library/p-d9e96fbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-e0cb4c68.entry.js +0 -1
- package/dist/spw-stencil-library/p-e39126c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-facbc77c.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,c as e,h as s,F as a,a as o,t as n}from"./index.js";import{d as p}from"./p-
|
|
1
|
+
import{p as t,H as i,c as e,h as s,F as a,a as o,t as n}from"./index.js";import{d as p}from"./p-DetVZmjO.js";import{d as r}from"./p-DswuxcGK.js";import{d as l}from"./p-xv_G2g8V.js";const b=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tabSelected=e(this,"tabSelected",7),this.active=!1,this.disabled=!1,this.bubble=!1,this.tagVariant="default",this.tagIcon=!1,this.slotText="",this.handleClick=t=>{t.preventDefault(),t.stopPropagation(),this.disabled||this.tabSelected.emit(this.tabId)},this.handleKeyDown=t=>{if(this.disabled)return;const i=t.key;"Enter"!==i&&" "!==i||(t.preventDefault(),t.stopPropagation(),this.tabSelected.emit(this.tabId))}}componentDidLoad(){this.updateSlotText()}handleSlotChange(){this.updateSlotText()}updateSlotText(){var t;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot");if(i){const t=i.assignedNodes({flatten:!0}).filter((t=>t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE)).map((t=>{var i;return null===(i=t.textContent)||void 0===i?void 0:i.trim()})).join(" ").trim();this.slotText=t||""}}get elementClass(){return{"spw-tabs-navigation-item":!0,"spw-tabs-navigation-item--active":this.active,"spw-tabs-navigation-item--disabled":this.disabled,"spw-tabs-navigation-item--bubble":this.bubble,"spw-tabs-navigation-item--ellipsis":this.hasEllipsis}}render(){const t=this.icon&&!this.iconPosition?"right":this.iconPosition,i=this.icon?s("spw-icon",{class:"spw-icon--"+t,icon:this.icon}):null,e=this.tagText?s("spw-tag",{size:"small","has-icon":this.tagIcon?"true":"false",variant:this.tagVariant},this.tagText):null;return s(o,{key:"8d9c56f3c128c710cf2f5b27ef6f057fc4737d38",class:this.active?"--active":""},s("li",{key:"9279e8da5821e76ee21fc0eed81bb2884f448291",id:"tab-"+this.tabId,role:"tab","aria-selected":this.active?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":this.accAriaLabel||this.slotText,onKeyDown:this.handleKeyDown,tabIndex:this.disabled?-1:0,class:this.elementClass,onClick:this.handleClick},this.hasEllipsis&&s("spw-tooltip",{key:"f8a67f2902410eae4a779c9596c20942d481bece",cursor:this.disabled?"disabled":"pointer",class:"spw-tooltip--has-ellipsis",tooltipText:this.slotText},"left"===t&&i,s("slot",{key:"d19052006fe50a307252efc9131f265ce225228f"}),"right"===t&&i,e),!this.hasEllipsis&&s(a,{key:"774b058ffe19559bd9bac12b909a8552d8f77f70"},"left"===t&&i,s("slot",{key:"206f73d9cf4042b0cde129df8c0a14d7bc2615bd"}),"right"===t&&i,e)," ",this.bubble&&s("span",{key:"ea5ee71ad51bb12bc03fa726d0ecc75201fcb7ed",class:"bubble"})))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;--spw-tabs-max-width-text:200px;--spw-tabs-border-radius:4px 4px 0 0;--spw-tabs-margin-left:0;--spw-tabs-width:auto;--spw-tabs-text-align:left}.spw-tabs-navigation-item{display:inline-flex;gap:6px;align-items:center;justify-content:space-between;position:relative;cursor:pointer;color:var(--spw-colors-support-grey-grey-700);user-select:none;transition:color 0.2s linear;width:var(--spw-tabs-width);text-align:var(--spw-tabs-text-align)}.spw-tabs-navigation-item:hover{color:var(--spw-colors-support-grey-grey-900)}:host(.--box) .spw-tabs-navigation-item:hover{color:var(--spw-colors-support-grey-grey-900)}.spw-tabs-navigation-item:focus-visible{outline:2px solid black;outline-offset:-2px}:host(.--box) .spw-tabs-navigation-item{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-700);border:1px solid var(--spw-colors-support-grey-grey-300);margin-top:3px;border-radius:var(--spw-tabs-border-radius);margin-left:var(--spw-tabs-margin-left)}.spw-tabs-navigation-item--disabled{opacity:0.6;cursor:not-allowed}.spw-tabs-navigation-item--disabled:hover{color:var(--spw-colors-support-grey-grey-700)}:host(.--box) .spw-tabs-navigation-item--disabled{opacity:1;color:var(--spw-colors-support-grey-grey-400)}:host(.--box) .spw-tabs-navigation-item--disabled:hover{color:var(--spw-colors-support-grey-grey-400)}:host(.--box) .spw-tabs-navigation-item--disabled:active{transform:none}.spw-tabs-navigation-item--active{border-bottom:0;color:var(--spw-colors-support-grey-grey-900)}.spw-tabs-navigation-item--active:after{content:"";position:absolute;width:100%;bottom:0;left:0;height:2px;background:var(--spw-ds-primary)}:host(.--box) .spw-tabs-navigation-item--active{position:relative;top:1px;color:var(--spw-colors-support-grey-grey-900);background:white;margin-top:0}:host(.--box) .spw-tabs-navigation-item--active:after{display:none}.spw-tabs-navigation-item--bubble:before{content:"";position:absolute;top:2px;right:-8px;width:6px;height:6px;border-radius:50%;background:var(--spw-ds-primary)}:host(.--box) .spw-tabs-navigation-item--bubble:before{top:4px;right:4px}:host(.--ellipsis) .spw-tabs-navigation-item{max-width:var(--spw-tabs-max-width-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}:host(.--ellipsis) .spw-tabs-navigation-item spw-tooltip{display:contents}:host(.--small) .spw-tabs-navigation-item{padding:8px 0 12px 0;font-size:14px}:host(.--small.--box) .spw-tabs-navigation-item{padding:7px 16px 6px 16px}:host(.--small.--box) .spw-tabs-navigation-item .spw-tabs-navigation-item--active{padding:8px 16px}:host(.--medium) .spw-tabs-navigation-item{padding:12px 0 16px 0;font-size:16px}:host(.--medium.--box) .spw-tabs-navigation-item{padding:11px 16px 10px 16px}:host(.--medium.--box) .spw-tabs-navigation-item .spw-tabs-navigation-item--active{padding:12px 16px}:host(.--large) .spw-tabs-navigation-item{padding:16px 0 20px 0;font-size:18px}:host(.--large.--box) .spw-tabs-navigation-item{padding:15px 20px 14px 20px}:host(.--large.--box) .spw-tabs-navigation-item .spw-tabs-navigation-item--active{padding:16px 20px}.spw-tabs-navigation-item .spw-icon--left{margin-right:4px}.spw-tabs-navigation-item .spw-icon--right{margin-left:4px}'}},[257,"spw-tabs-navigation-item",{tabId:[1,"tab-id"],active:[4],disabled:[4],bubble:[4],hasEllipsis:[4,"has-ellipsis"],icon:[1],iconPosition:[1,"icon-position"],tagText:[1,"tag-text"],tagVariant:[1,"tag-variant"],tagIcon:[4,"tag-icon"],accAriaLabel:[1,"acc-aria-label"],slotText:[32]},[[0,"slotchange","handleSlotChange"]]]),d=b,c=function(){"undefined"!=typeof customElements&&["spw-tabs-navigation-item","spw-icon","spw-tag","spw-tooltip"].forEach((t=>{switch(t){case"spw-tabs-navigation-item":customElements.get(n(t))||customElements.define(n(t),b);break;case"spw-icon":customElements.get(n(t))||p();break;case"spw-tag":customElements.get(n(t))||r();break;case"spw-tooltip":customElements.get(n(t))||l()}}))};export{d as SpwTabsNavigationItem,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,h as e,t as s}from"./index.js";import{d as
|
|
1
|
+
import{p as t,H as i,h as e,t as s}from"./index.js";import{d as a}from"./p-DetVZmjO.js";const o=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isVerticalOnMobile=!1,this.isCentered=!1,this.showLeftArrow=!1,this.showRightArrow=!1,this.hasOverflow=!1,this.scrollPercentage=30,this.resizeObserver=null,this.mutationObserver=null,this.setupObservers=()=>{this.resizeObserver=new ResizeObserver((()=>{this.checkOverflow()})),this.ulElement&&this.resizeObserver.observe(this.ulElement),this.mutationObserver=new MutationObserver((()=>{this.updateSlottedElementsObservation(),setTimeout((()=>this.checkOverflow()),10)})),this.mutationObserver.observe(this.hostElement,{childList:!0,subtree:!0}),this.updateSlottedElementsObservation()},this.updateSlottedElementsObservation=()=>{this.resizeObserver&&Array.from(this.hostElement.children).forEach((t=>{this.resizeObserver.observe(t)}))},this.cleanupObservers=()=>{this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null)},this.checkOverflow=()=>{if(!this.ulElement)return;const t=this.ulElement.clientWidth,i=this.ulElement.scrollWidth,e=this.ulElement.scrollLeft;this.hasOverflow=i>t,this.showLeftArrow=this.hasOverflow&&e>0,this.showRightArrow=this.hasOverflow&&e<i-t-1},this.scrollLeft=()=>{this.ulElement&&this.ulElement.scrollBy({left:-this.ulElement.clientWidth*this.scrollPercentage/100,behavior:"smooth"})},this.scrollRight=()=>{this.ulElement&&this.ulElement.scrollBy({left:this.ulElement.clientWidth*this.scrollPercentage/100,behavior:"smooth"})},this.handleScroll=()=>{this.checkOverflow()}}componentDidLoad(){this.checkOverflow(),this.setupObservers()}disconnectedCallback(){this.cleanupObservers()}onWindowResize(){this.checkOverflow()}render(){const t={"spw-tabs-navigation":!0,"spw-tabs-navigation--vertical-on-mobile":this.isVerticalOnMobile},i={"spw-tabs-navigation__list":!0,"spw-tabs-navigation__list--vertical-on-mobile":this.isVerticalOnMobile,"spw-tabs-navigation__list--centered":this.isCentered&&!this.hasOverflow};return e("div",{key:"b886092dad57bfa92059a00652a45c8ac12b6774",class:{"spw-tabs-navigation-container":!0,"spw-tabs-navigation-container--vertical-on-mobile":this.isVerticalOnMobile}},this.showLeftArrow&&e("button",{key:"43285b63e58f597a6b3997322096a9bfafa15abb",class:"spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left",onClick:this.scrollLeft,"aria-label":"Faire défiler vers la gauche"},e("spw-icon",{key:"168723247ab92abde13b90190dec10275a7f1d30",icon:"fa-chevron-left"})),e("nav",{key:"4d2dbe0147ff3989deea4bf025e92a5e7c9ce30a",class:t,"aria-label":this.accAriaLabel||"Navigation"},e("ul",{key:"174e4f0902bb78264cb2aed421ad24799f4a466c",class:i,role:"tablist",ref:t=>this.ulElement=t,onScroll:this.handleScroll},e("slot",{key:"0d84d27eb1e081fe2280002fe85856901b7b7cf7"}))),this.showRightArrow&&e("button",{key:"6035d407b32856d694e362fcfa27179ab84d8296",class:"spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right",onClick:this.scrollRight,"aria-label":"Faire défiler vers la droite"},e("spw-icon",{key:"00ecbcb37d6bd902309e95b0e96552040cb702b1",icon:"fa-chevron-right"})))}get hostElement(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;top:1px;--spw-tabs-navigation-border-bottom:1px solid var(--spw-colors-support-grey-grey-300);--spw-tabs-navigation-gap:24px}.spw-tabs-navigation-container{display:flex;align-items:center;position:relative;width:100%;overflow:hidden}@media (max-width: 768px){.spw-tabs-navigation-container--vertical-on-mobile{flex-direction:column;align-items:stretch}}.spw-tabs-navigation{flex:1;overflow:hidden}@media (max-width: 768px){.spw-tabs-navigation--vertical-on-mobile{overflow:visible}}.spw-tabs-navigation__list{position:relative;z-index:2;display:flex;flex-wrap:nowrap;gap:var(--spw-tabs-navigation-gap);overflow-x:auto;white-space:nowrap;border-bottom:var(--spw-tabs-navigation-border-bottom);scroll-behavior:smooth;list-style:none;margin:0;padding:0;scrollbar-width:none;-ms-overflow-style:none}.spw-tabs-navigation__list::-webkit-scrollbar{display:none}@media (max-width: 768px){.spw-tabs-navigation__list--vertical-on-mobile{flex-direction:column;gap:0;overflow-x:visible;overflow-y:auto;white-space:normal;border-bottom:none}}@media (min-width: 768px){.spw-tabs-navigation__list--centered{justify-content:center}}:host(.--box) .spw-tabs-navigation__list{gap:0;border-bottom:0}.spw-tabs-navigation__arrow{position:relative;top:1px;display:flex;align-items:center;justify-content:center;background:white;border:none;width:33px;height:33px;cursor:pointer;z-index:10;transition:all 0.2s ease}.spw-tabs-navigation__arrow spw-icon{font-size:14px;color:var(--spw-colors-support-grey-grey-500)}.spw-tabs-navigation__arrow:hover spw-icon{color:var(--spw-colors-support-grey-grey-600)}.spw-tabs-navigation__arrow:active spw-icon{color:var(--spw-colors-support-grey-grey-900)}.spw-tabs-navigation__arrow--left{border-radius:4px 0 0 0;border-right:1px solid var(--spw-colors-support-grey-grey-300)}.spw-tabs-navigation__arrow--right{border-radius:0 4px 0 0;border-left:1px solid var(--spw-colors-support-grey-grey-300)}@media (max-width: 768px){.spw-tabs-navigation-container--vertical-on-mobile .spw-tabs-navigation__arrow{display:none}}@media (max-width: 768px){.spw-tabs-navigation-container--vertical-on-mobile ::slotted(spw-tabs-navigation-item){display:block;border-bottom:1px solid var(--spw-colors-support-grey-grey-300);--spw-tabs-width:100%}}::slotted(spw-tabs-navigation-item){--spw-tabs-border-radius:0;--spw-tabs-margin-left:-1px}::slotted(spw-tabs-navigation-item:first-child){--spw-tabs-border-radius:4px 0 0 0;--spw-tabs-margin-left:0}::slotted(spw-tabs-navigation-item:last-child){--spw-tabs-border-radius:0 4px 0 0;--spw-tabs-margin-left:-1px}::slotted(spw-tabs-navigation-item.--active){--spw-tabs-border-radius:4px 4px 0 0}'}},[257,"spw-tabs-navigation",{accAriaLabel:[1,"acc-aria-label"],isVerticalOnMobile:[4,"is-vertical-on-mobile"],isCentered:[4,"is-centered"],showLeftArrow:[32],showRightArrow:[32],hasOverflow:[32]},[[9,"resize","onWindowResize"]]]),n=o,r=function(){"undefined"!=typeof customElements&&["spw-tabs-navigation","spw-icon"].forEach((t=>{switch(t){case"spw-tabs-navigation":customElements.get(s(t))||customElements.define(s(t),o);break;case"spw-icon":customElements.get(s(t))||a()}}))};export{n as SpwTabsNavigation,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as s,t as n}from"./index.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tabChanged=i(this,"tabChanged",1),this.defaultActiveTab="1",this.variant="default",this.hasEllipsis=!1,this.size="small",this.activeTab="1"}componentWillLoad(){this.activeTab&&"1"!==this.activeTab||(this.activeTab=this.defaultActiveTab)}componentDidLoad(){this.applyVariantToChildren(),this.updateActiveStates(),setTimeout((()=>{this.applyMaxWidthToChildren()}),100)}activeTabChanged(){this.updateActiveStates(),this.tabChanged.emit(this.activeTab)}maxWidthChanged(){this.applyMaxWidthToChildren()}hasEllipsisChanged(){this.applyVariantToChildren()}async getSelectedTab(){return this.activeTab}async setSelectedTab(t){this.activeTab=t}handleTabSelected(t){t.composedPath().find((t=>"SPW-TABS"===t.tagName))===this.el&&(this.activeTab=t.detail,t.stopPropagation())}slotChanged(){this.applyVariantToChildren(),this.updateActiveStates(),this.applyMaxWidthToChildren()}updateActiveStates(){const t=t=>t.closest("spw-tabs")===this.el,e=Array.from(this.el.querySelectorAll("spw-tabs-navigation-item")).filter(t),i=Array.from(this.el.querySelectorAll("spw-tabs-content")).filter(t);e.forEach((t=>{t.active=t.tabId===this.activeTab})),i.forEach((t=>{t.active=t.tabId===this.activeTab}))}applyMaxWidthToChildren(){this.maxWidth&&requestAnimationFrame((()=>{const t=Array.from(this.el.querySelectorAll("spw-tabs-navigation-item")).filter((t=>t.closest("spw-tabs")===this.el)),e="--ellipsis";t.forEach((t=>{var i;const s=(null===(i=t.textContent)||void 0===i?void 0:i.trim())||"";if(!s)return;const n=document.createElement("div");n.style.cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",n.textContent=s;const a=window.getComputedStyle(t);n.style.fontSize=a.fontSize,n.style.fontFamily=a.fontFamily,n.style.fontWeight=a.fontWeight,n.style.fontStyle=a.fontStyle,n.style.letterSpacing=a.letterSpacing,n.style.textTransform=a.textTransform,document.body.appendChild(n);const o=n.getBoundingClientRect().width;document.body.removeChild(n),o>this.maxWidth?(t.style.setProperty("--spw-tabs-max-width-text",this.maxWidth+"px"),t.setAttribute("has-ellipsis","true"),t.classList.add(e)):(t.style.removeProperty("--spw-tabs-max-width-text"),t.setAttribute("has-ellipsis","false"),t.classList.remove(e))}))}))}applyVariantToChildren(){requestAnimationFrame((()=>{var t,e;const i="--"+this.variant,s="--"+this.size,n=t=>t.closest("spw-tabs")===this.el,a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector('slot[name="navigation"]'),o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="content"]'),d=((null==a?void 0:a.assignedElements({flatten:!0}))||[]).filter(n),r=((null==o?void 0:o.assignedElements({flatten:!0}))||[]).filter(n);d.forEach((t=>{"SPW-TABS-NAVIGATION"===t.tagName?(t.classList.add(i),t.querySelectorAll("spw-tabs-navigation-item").forEach((t=>{n(t)&&(t.classList.add(i),t.classList.add(s))}))):"SPW-TABS-NAVIGATION-ITEM"===t.tagName&&(t.classList.add(i),t.classList.add(s))})),r.forEach((t=>{"SPW-TABS-CONTENT"===t.tagName?t.classList.add(i):t.querySelectorAll("spw-tabs-content").forEach((t=>{n(t)&&t.classList.add(i)}))})),this.applyMaxWidthToChildren()}))}get elementClass(){return{"spw-tabs":!0,["spw-tabs--"+this.variant]:!0}}render(){return s("div",{key:"
|
|
1
|
+
import{p as t,H as e,c as i,h as s,t as n}from"./index.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tabChanged=i(this,"tabChanged",1),this.defaultActiveTab="1",this.variant="default",this.hasEllipsis=!1,this.size="small",this.activeTab="1"}componentWillLoad(){this.activeTab&&"1"!==this.activeTab||(this.activeTab=this.defaultActiveTab)}componentDidLoad(){this.applyVariantToChildren(),this.updateActiveStates(),setTimeout((()=>{this.applyMaxWidthToChildren()}),100)}activeTabChanged(){this.updateActiveStates(),this.tabChanged.emit(this.activeTab)}maxWidthChanged(){this.applyMaxWidthToChildren()}hasEllipsisChanged(){this.applyVariantToChildren()}async getSelectedTab(){return this.activeTab}async setSelectedTab(t){this.activeTab=t}handleTabSelected(t){t.composedPath().find((t=>"SPW-TABS"===t.tagName))===this.el&&(this.activeTab=t.detail,t.stopPropagation())}slotChanged(){this.applyVariantToChildren(),this.updateActiveStates(),this.applyMaxWidthToChildren()}updateActiveStates(){const t=t=>t.closest("spw-tabs")===this.el,e=Array.from(this.el.querySelectorAll("spw-tabs-navigation-item")).filter(t),i=Array.from(this.el.querySelectorAll("spw-tabs-content")).filter(t);e.forEach((t=>{t.active=t.tabId===this.activeTab})),i.forEach((t=>{t.active=t.tabId===this.activeTab}))}applyMaxWidthToChildren(){this.maxWidth&&requestAnimationFrame((()=>{const t=Array.from(this.el.querySelectorAll("spw-tabs-navigation-item")).filter((t=>t.closest("spw-tabs")===this.el)),e="--ellipsis";t.forEach((t=>{var i;const s=(null===(i=t.textContent)||void 0===i?void 0:i.trim())||"";if(!s)return;const n=document.createElement("div");n.style.cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",n.textContent=s;const a=window.getComputedStyle(t);n.style.fontSize=a.fontSize,n.style.fontFamily=a.fontFamily,n.style.fontWeight=a.fontWeight,n.style.fontStyle=a.fontStyle,n.style.letterSpacing=a.letterSpacing,n.style.textTransform=a.textTransform,document.body.appendChild(n);const o=n.getBoundingClientRect().width;document.body.removeChild(n),o>this.maxWidth?(t.style.setProperty("--spw-tabs-max-width-text",this.maxWidth+"px"),t.setAttribute("has-ellipsis","true"),t.classList.add(e)):(t.style.removeProperty("--spw-tabs-max-width-text"),t.setAttribute("has-ellipsis","false"),t.classList.remove(e))}))}))}applyVariantToChildren(){requestAnimationFrame((()=>{var t,e;const i="--"+this.variant,s="--"+this.size,n=t=>t.closest("spw-tabs")===this.el,a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector('slot[name="navigation"]'),o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="content"]'),d=((null==a?void 0:a.assignedElements({flatten:!0}))||[]).filter(n),r=((null==o?void 0:o.assignedElements({flatten:!0}))||[]).filter(n);d.forEach((t=>{"SPW-TABS-NAVIGATION"===t.tagName?(t.classList.add(i),t.querySelectorAll("spw-tabs-navigation-item").forEach((t=>{n(t)&&(t.classList.add(i),t.classList.add(s))}))):"SPW-TABS-NAVIGATION-ITEM"===t.tagName&&(t.classList.add(i),t.classList.add(s))})),r.forEach((t=>{"SPW-TABS-CONTENT"===t.tagName?t.classList.add(i):t.querySelectorAll("spw-tabs-content").forEach((t=>{n(t)&&t.classList.add(i)}))})),this.applyMaxWidthToChildren()}))}get elementClass(){return{"spw-tabs":!0,["spw-tabs--"+this.variant]:!0}}render(){return s("div",{key:"a573a0c208a3d91dcf2651e46e369b8526e0c44f",class:this.elementClass},s("slot",{key:"9d755046ba2dae6fd667a583f67ebaba82ba4db4",name:"navigation"}),s("slot",{key:"e2d03c04b8fcf999b307998d04f7964d9987558d",name:"content"}))}get el(){return this}static get watchers(){return{activeTab:[{activeTabChanged:0}],maxWidth:[{maxWidthChanged:0}],hasEllipsis:[{hasEllipsisChanged:0}]}}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}"}},[257,"spw-tabs",{defaultActiveTab:[1,"default-active-tab"],variant:[1],hasEllipsis:[4,"has-ellipsis"],maxWidth:[2,"max-width"],size:[1],activeTab:[1025,"active-tab"],getSelectedTab:[64],setSelectedTab:[64]},[[2,"tabSelected","handleTabSelected"],[0,"slotchange","slotChanged"]],{activeTab:[{activeTabChanged:0}],maxWidth:[{maxWidthChanged:0}],hasEllipsis:[{hasEllipsisChanged:0}]}]),o=a,d=function(){"undefined"!=typeof customElements&&["spw-tabs"].forEach((t=>{"spw-tabs"===t&&(customElements.get(n(t))||customElements.define(n(t),a))}))};export{o as SpwTabs,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-DswuxcGK.js";const p=s,r=o;export{p as SpwTag,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-kCxgPsVs.js";const p=s,r=o;export{p as SpwTextField,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as s,h as i,t as a}from"./index.js";import{d as o}from"./p-
|
|
1
|
+
import{p as t,H as e,c as s,h as i,t as a}from"./index.js";import{d as o}from"./p-BamUR6Ir.js";import{d as n}from"./p-Bj0f5RYL.js";import{d as r}from"./p-DetVZmjO.js";import{d as l}from"./p-8ORCgRs0.js";import{d as p}from"./p-xv_G2g8V.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChanged=s(this,"valueChanged",7),this.internals=this.attachInternals(),this.internalValue="",this.label="",this.rows=5,this.isSearch=!1,this.required=!1,this.error="",this.hint="",this.success="",this.warning="",this.showErrorIcon=!0,this.showHintIcon=!0,this.showSuccessIcon=!0,this.showWarningIcon=!0,this.isExpandable=!1,this.tooltipDirection="top",this.tooltipCursor="help"}async setFocus(){var t;null===(t=this.textareaElement)||void 0===t||t.focus()}valueChangedHandler(t){this.setValue(t)}setValue(t){this.internalValue=null!=t?t:"",this.value=this.internalValue,this.textareaElement&&(this.textareaElement.value=this.internalValue),this.internals.setFormValue(this.internalValue||null),this.valueChanged.emit(this.internalValue)}componentWillLoad(){var t;this.internalValue=null!==(t=this.value)&&void 0!==t?t:"",this.defaultValue=this.internalValue}componentDidLoad(){this.internals.setFormValue(this.internalValue?this.internalValue:null)}formResetCallback(){var t;this.setValue(null!==(t=this.defaultValue)&&void 0!==t?t:"")}handleChange(t){this.internalValue=t.target.value,this.value=this.internalValue,this.internals.setFormValue(this.internalValue?this.internalValue:null),this.valueChanged.emit(this.internalValue)}renderMessages(){const t=[];return this.error&&t.push({variant:"error",text:this.error,showIcon:this.showErrorIcon}),this.hint&&t.push({variant:"hint",text:this.hint,showIcon:this.showHintIcon}),this.success&&t.push({variant:"success",text:this.success,showIcon:this.showSuccessIcon}),this.warning&&t.push({variant:"warning",text:this.warning,showIcon:this.showWarningIcon}),t.map(((e,s)=>{const a=s===t.length-1;return i("spw-field-message",{variant:e.variant,showIcon:e.showIcon,isExpandable:a&&this.isExpandable,expandLabel:this.expandLabel,collapseLabel:this.collapseLabel},e.text,a&&i("slot",{name:"details",slot:"details"}))}))}get elementClass(){return{"spw-textarea":!0,"spw-textarea--is-search":this.isSearch,"spw-textarea--is-error":!!this.error,"spw-textarea--disabled":this.disabled}}render(){return i("div",{key:"27122f881750ed269b84e7d10f871cab3005382b",class:this.elementClass},this.label&&i("spw-field-label",{key:"2f167cb23cb96dbe77e2b99906da1a4592b27f61",label:this.label,name:this.name,required:this.required,tooltipTitle:this.tooltipTitle,tooltipText:this.tooltipText,tooltipMaxWidth:this.tooltipMaxWidth,tooltipDirection:this.tooltipDirection,tooltipCursor:this.tooltipCursor}),this.assistiveText&&i("spw-field-message",{key:"c5c658c404d9a146c632d343deaf119f2641a7a1",class:"spw-textarea__field-message",variant:"hint",showIcon:!1},this.assistiveText),i("div",{key:"fc8df81290b272f5491b0f39fb55d22ed5df018a",class:"spw-textarea__container"},i("textarea",{key:"73199a14f90b6db07cb3dfebb4a3844e8bad5f69",class:"spw-textarea__input",ref:t=>this.textareaElement=t,value:this.internalValue,placeholder:this.placeholder,disabled:this.disabled,name:this.name,id:this.name,autocomplete:this.autocomplete,rows:this.rows,minLength:this.minLength,maxLength:this.maxLength,required:this.required,onInput:t=>this.handleChange(t)})),this.renderMessages())}static get formAssociated(){return!0}static get watchers(){return{value:[{valueChangedHandler:0}]}}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-textarea{position:relative}.spw-textarea__input{flex:1;width:100%;min-height:40px;padding:12px;resize:vertical;border-radius:4px;border:1px solid var(--spw-color-themes-grey-grey-800)}.spw-textarea__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-textarea__input:focus,.spw-textarea__input:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-textarea--disabled .spw-textarea__input{border-color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-textarea--disabled .spw-textarea__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input:hover,.spw-textarea--disabled .spw-textarea__input:focus,.spw-textarea--disabled .spw-textarea__input:focus-visible{outline:none}.spw-textarea--is-error .spw-textarea__input{border-color:var(--spw-colors-states-error-error-300)}.spw-textarea--is-search .spw-textarea__input{padding-right:80px}.spw-textarea__container{display:flex;align-items:center}.spw-textarea__indicator{padding-left:12px}.spw-textarea__field-message{margin-bottom:8px;margin-top:-4px}.spw-textarea__icon{pointer-events:none;position:absolute;top:50%;right:30px;transform:translateY(-50%);color:var(--spw-ds-primary);font-size:24px}"}},[321,"spw-textarea",{value:[1537],label:[1],placeholder:[1],disabled:[4],name:[1],autocomplete:[1],rows:[2],minLength:[2,"min-length"],maxLength:[2,"max-length"],isSearch:[4,"is-search"],required:[4],indicator:[1],assistiveText:[1,"assistive-text"],error:[1],hint:[1],success:[1],warning:[1],showErrorIcon:[4,"show-error-icon"],showHintIcon:[4,"show-hint-icon"],showSuccessIcon:[4,"show-success-icon"],showWarningIcon:[4,"show-warning-icon"],isExpandable:[4,"is-expandable"],expandLabel:[1,"expand-label"],collapseLabel:[1,"collapse-label"],tooltipTitle:[1,"tooltip-title"],tooltipText:[1,"tooltip-text"],tooltipMaxWidth:[1,"tooltip-max-width"],tooltipDirection:[1,"tooltip-direction"],tooltipCursor:[1,"tooltip-cursor"],internalValue:[32],setFocus:[64]},void 0,{value:[{valueChangedHandler:0}]}]),d=h,c=function(){"undefined"!=typeof customElements&&["spw-textarea","spw-field-label","spw-field-message","spw-icon","spw-link","spw-tooltip"].forEach((t=>{switch(t){case"spw-textarea":customElements.get(a(t))||customElements.define(a(t),h);break;case"spw-field-label":customElements.get(a(t))||o();break;case"spw-field-message":customElements.get(a(t))||n();break;case"spw-icon":customElements.get(a(t))||r();break;case"spw-link":customElements.get(a(t))||l();break;case"spw-tooltip":customElements.get(a(t))||p()}}))};export{d as SpwTextarea,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as s,H as p,h as r,t as d}from"./index.js";const e={rouge:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-red-red-500);--spw-ds-variant:var(--spw-color-themes-red-red-700);--spw-ds-active:var(--spw-color-themes-red-red-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-red-red-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-red-red-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-red-red-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-red-red-800);--spw-ds-alt-purple:#552046;--spw-ds-alt-blue:#202f55;--spw-ds-alt-petrol:#1b4146}",bleu:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-blue-blue-500);--spw-ds-variant:var(--spw-color-themes-blue-blue-700);--spw-ds-active:var(--spw-color-themes-blue-blue-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-blue-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-blue-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-blue-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-blue-blue-800)}",bleuClair:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-blue-light-blue-600);--spw-ds-variant:var(--spw-color-themes-light-blue-light-blue-800);--spw-ds-active:var(--spw-color-themes-light-blue-light-blue-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-blue-light-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-blue-light-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-blue-light-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-blue-light-blue-800)}",vert:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-green-green-700);--spw-ds-variant:var(--spw-color-themes-green-green-800);--spw-ds-active:var(--spw-color-themes-green-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-green-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-green-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-green-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-green-green-800)}",vertLeger:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-green-light-green-700);--spw-ds-variant:var(--spw-color-themes-light-green-light-green-800);--spw-ds-active:var(--spw-color-themes-light-green-light-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-green-light-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-green-light-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-green-light-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-green-light-green-800)}",orange:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-orange-orange-700);--spw-ds-variant:var(--spw-color-themes-orange-orange-800);--spw-ds-active:var(--spw-color-themes-orange-orange-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-orange-orange-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-orange-orange-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-orange-orange-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-orange-orange-800)}",turquoise:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-teal-teal-700);--spw-ds-variant:var(--spw-color-themes-teal-teal-800);--spw-ds-active:var(--spw-color-themes-teal-teal-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-teal-teal-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-teal-teal-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-teal-teal-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-teal-teal-800)}",indigo:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-indigo-indigo-700);--spw-ds-variant:var(--spw-color-themes-indigo-indigo-800);--spw-ds-active:var(--spw-color-themes-indigo-indigo-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-indigo-indigo-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-indigo-indigo-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-indigo-indigo-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-indigo-indigo-800)}",mauve:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-purple-purple-500);--spw-ds-variant:var(--spw-color-themes-purple-purple-800);--spw-ds-active:var(--spw-color-themes-purple-purple-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-purple-purple-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-purple-purple-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-purple-purple-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-purple-purple-800)}",gris:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-grey-grey-500);--spw-ds-variant:var(--spw-color-themes-grey-grey-800);--spw-ds-active:var(--spw-color-themes-grey-grey-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-grey-grey-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-grey-grey-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-grey-grey-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-grey-grey-800)}"},o=s(class extends p{constructor(s){super(),!1!==s&&this.__registerHost(),this.theme="rouge"}componentWillLoad(){this.applyTheme(this.theme)}componentWillUpdate(){this.applyTheme(this.theme)}applyTheme(s){const p="theme-styles";let r=document.getElementById(p);r||(r=document.createElement("style"),r.id=p,document.head.appendChild(r));const d=e[s];r.innerHTML="function"==typeof d?d():d,document.documentElement.setAttribute("data-theme",s)}render(){return r("main",{key:"ab531161beb8f20495e7de8d8039d78f3dddc420",class:"spw-theme-"+this.theme},r("slot",{key:"1c61c152ff69d2c25203231316680b34ad6a0cc5"}))}get el(){return this}},[260,"spw-theme-provider",{theme:[1]}]),a=o,w=function(){"undefined"!=typeof customElements&&["spw-theme-provider"].forEach((s=>{"spw-theme-provider"===s&&(customElements.get(d(s))||customElements.define(d(s),o))}))};export{a as SpwThemeProvider,w as defineCustomElement}
|
|
1
|
+
import{p as s,H as p,h as r,t as d}from"./index.js";const e={rouge:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-red-red-500);--spw-ds-variant:var(--spw-color-themes-red-red-700);--spw-ds-active:var(--spw-color-themes-red-red-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-red-red-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-red-red-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-red-red-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-red-red-800);--spw-ds-alt-purple:#552046;--spw-ds-alt-blue:#202f55;--spw-ds-alt-petrol:#1b4146}",bleu:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-blue-blue-500);--spw-ds-variant:var(--spw-color-themes-blue-blue-700);--spw-ds-active:var(--spw-color-themes-blue-blue-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-blue-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-blue-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-blue-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-blue-blue-800)}",bleuClair:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-blue-light-blue-600);--spw-ds-variant:var(--spw-color-themes-light-blue-light-blue-800);--spw-ds-active:var(--spw-color-themes-light-blue-light-blue-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-blue-light-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-blue-light-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-blue-light-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-blue-light-blue-800)}",vert:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-green-green-700);--spw-ds-variant:var(--spw-color-themes-green-green-800);--spw-ds-active:var(--spw-color-themes-green-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-green-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-green-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-green-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-green-green-800)}",vertLeger:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-green-light-green-700);--spw-ds-variant:var(--spw-color-themes-light-green-light-green-800);--spw-ds-active:var(--spw-color-themes-light-green-light-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-green-light-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-green-light-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-green-light-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-green-light-green-800)}",orange:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-orange-orange-700);--spw-ds-variant:var(--spw-color-themes-orange-orange-800);--spw-ds-active:var(--spw-color-themes-orange-orange-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-orange-orange-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-orange-orange-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-orange-orange-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-orange-orange-800)}",turquoise:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-teal-teal-700);--spw-ds-variant:var(--spw-color-themes-teal-teal-800);--spw-ds-active:var(--spw-color-themes-teal-teal-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-teal-teal-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-teal-teal-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-teal-teal-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-teal-teal-800)}",indigo:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-indigo-indigo-700);--spw-ds-variant:var(--spw-color-themes-indigo-indigo-800);--spw-ds-active:var(--spw-color-themes-indigo-indigo-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-indigo-indigo-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-indigo-indigo-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-indigo-indigo-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-indigo-indigo-800)}",mauve:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-purple-purple-500);--spw-ds-variant:var(--spw-color-themes-purple-purple-800);--spw-ds-active:var(--spw-color-themes-purple-purple-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-purple-purple-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-purple-purple-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-purple-purple-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-purple-purple-800)}",gris:()=>":root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-grey-grey-500);--spw-ds-variant:var(--spw-color-themes-grey-grey-800);--spw-ds-active:var(--spw-color-themes-grey-grey-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-grey-grey-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-grey-grey-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-grey-grey-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-grey-grey-800)}"},o=s(class extends p{constructor(s){super(),!1!==s&&this.__registerHost(),this.theme="rouge"}componentWillLoad(){this.applyTheme(this.theme)}componentWillUpdate(){this.applyTheme(this.theme)}applyTheme(s){const p="theme-styles";let r=document.getElementById(p);r||(r=document.createElement("style"),r.id=p,document.head.appendChild(r));const d=e[s];r.innerHTML="function"==typeof d?d():d,document.documentElement.setAttribute("data-theme",s)}render(){return r("main",{key:"c1a635fbf4560313503a27fd8243260443a8c484",class:"spw-theme-"+this.theme},r("slot",{key:"7899706cb4e760bd9ee2e270e043de26d8e7807f"}))}get el(){return this}},[260,"spw-theme-provider",{theme:[1]}]),a=o,w=function(){"undefined"!=typeof customElements&&["spw-theme-provider"].forEach((s=>{"spw-theme-provider"===s&&(customElements.get(d(s))||customElements.define(d(s),o))}))};export{a as SpwThemeProvider,w as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,t as o}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i("div",{key:"
|
|
1
|
+
import{p as e,H as t,h as i,t as o}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i("div",{key:"653dd6a8867ca4ca8f46c31b7f48bbff216f5ebe",class:"spw-tile-description"},i("slot",{key:"280ba24e0dd5b0d338d5825b712141062624c6e2"}))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;overflow:hidden}:host(.--light),:host(.--big){margin-top:6px}@media (max-width: 1023px){:host(.--reveal-on-hover){display:none}}@media (min-width: 1024px){:host(.--reveal-on-hover){display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;transition:grid-template-rows 0.25s ease-in, margin-top 0.25s ease-in, opacity 0.35s 0.05s ease-in}}@media (min-width: 1024px){:host(.--reveal-on-hover.--revealed){grid-template-rows:1fr;margin-top:6px;opacity:1}}:host(.--reveal-on-hover) .spw-tile-description{min-height:0;overflow:hidden}:host(.--icon) .spw-tile-description{color:var(--spw-color-themes-grey-grey-700);line-height:1.5;font-size:18px}:host(.--icon.--surface-dark) .spw-tile-description{color:white}:host(.--big) .spw-tile-description,:host(.--light) .spw-tile-description{color:white;line-height:1.3;font-size:18px}:host(.--action) .spw-tile-description,:host(.--outline) .spw-tile-description{color:var(--spw-color-themes-grey-grey-700);font-size:14px;line-height:1.4}"}},[257,"spw-tile-description"]),s=n,r=function(){"undefined"!=typeof customElements&&["spw-tile-description"].forEach((e=>{"spw-tile-description"===e&&(customElements.get(o(e))||customElements.define(o(e),n))}))};export{s as SpwTileDescription,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,t as o}from"./index.js";import{d as n}from"./p-
|
|
1
|
+
import{p as t,H as e,h as i,t as o}from"./index.js";import{d as n}from"./p-DetVZmjO.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.arrowIcon="fa-chevron-right"}render(){return i("h3",{key:"692c49c82a18dfd83df673984370a80fd2d3b137",class:"spw-tile-title"},i("slot",{key:"376fe952fa348f2a49b197df6f1abf759d8e8ab1"}),i("spw-icon",{key:"9359d781680458f877fe8795d0502457231fb00f",class:{"spw-tile-title__arrow":!0,"spw-tile-title__arrow--external":"fa-arrow-up-right-from-square"===this.arrowIcon},icon:this.arrowIcon,"aria-hidden":"true"}))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-tile-title-icon:20px;--spw-tile-title-icon-mobile:16px;--spw-tile-title-underline:none}:host(.--icon) .spw-tile-title{color:var(--spw-color-themes-grey-grey-900);line-height:1.3;font-size:var(--spw-tile-title-icon-mobile);font-weight:700;text-decoration:var(--spw-tile-title-underline);transition:all 0.2s linear}@media (min-width: 1024px){:host(.--icon) .spw-tile-title{font-size:var(--spw-tile-title-icon)}}:host(.--icon.--hovered) .spw-tile-title{color:var(--spw-ds-primary)}:host(.--icon.--surface-dark) .spw-tile-title{color:white}:host(.--icon.--surface-dark.--hovered) .spw-tile-title{opacity:0.8}:host(.--light) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}:host(.--big) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}.spw-tile-title__arrow{display:none}:host(.--action) .spw-tile-title,:host(.--outline) .spw-tile-title,:host(.--shortcut) .spw-tile-title{color:var(--spw-color-themes-grey-grey-900);font-size:16px;font-weight:700;line-height:1.4}:host(.--outline) .spw-tile-title__arrow,:host(.--shortcut) .spw-tile-title__arrow{display:inline-block;margin-left:8px;font-size:16px;vertical-align:middle;transition:transform 0.25s ease}:host(.--outline.--hovered) .spw-tile-title__arrow,:host(.--shortcut.--hovered) .spw-tile-title__arrow{transform:translateX(6px)}:host(.--shortcut.--hovered) .spw-tile-title__arrow--external{transform:translate(3px, -3px)}"}},[257,"spw-tile-title",{arrowIcon:[1,"arrow-icon"]}]),r=s,a=function(){"undefined"!=typeof customElements&&["spw-tile-title","spw-icon"].forEach((t=>{switch(t){case"spw-tile-title":customElements.get(o(t))||customElements.define(o(t),s);break;case"spw-icon":customElements.get(o(t))||n()}}))};export{r as SpwTileTitle,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,a as s,F as o,t as n}from"./index.js";import{d as l}from"./p-D9yobKiX.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="light",this.surface="light",this.background="transparent",this.height="landscape",this.target="_self",this.imageAlt="",this.revealDescription=!0,this.hasTopSlot=!1,this.hasBottomSlot=!1}componentWillLoad(){this.updateSlotsPresence()}componentDidLoad(){this.applyVariantToChildren()}slotChanged(){this.updateSlotsPresence(),this.applyVariantToChildren()}updateSlotsPresence(){this.hasTopSlot=!!this.el.querySelector(':scope > [slot="top"]'),this.hasBottomSlot=!!this.el.querySelector(':scope > [slot="bottom"]')}get isBorderedVariant(){return"action"===this.variant||"outline"===this.variant||"shortcut"===this.variant}applyVariantToChildren(){const t="--"+this.variant,e="--surface-light",i="--surface-dark",s=this.el.querySelector("spw-tile-title"),o=this.el.querySelector("spw-tile-description");s&&(s.classList.add(t),s.arrowIcon="shortcut"===this.variant&&"_blank"===this.target?"fa-arrow-up-right-from-square":"fa-chevron-right",s.classList.toggle(i,"dark"===this.surface),s.classList.toggle(e,"dark"!==this.surface)),o&&(o.classList.add(t),o.classList.toggle("--reveal-on-hover",this.revealDescription&&("light"===this.variant||"big"===this.variant)),o.classList.toggle(i,"dark"===this.surface),o.classList.toggle(e,"dark"!==this.surface))}get elementClass(){return{"spw-tile":!0,"spw-tile--hoverable":!!this.href&&!this.isBorderedVariant,["spw-tile--"+this.variant]:!0,["spw-tile--surface-"+this.surface]:!0,["spw-tile--height-"+this.height]:!0,"spw-tile--reveal-description":this.revealDescription&&("light"===this.variant||"big"===this.variant)}}onMouseEnter(){this.setHovered(!0)}onMouseLeave(){this.setHovered(!1)}setHovered(t){const e=this.el.querySelector("spw-tile-title");e&&this.href&&e.classList.toggle("--hovered",t);const i=this.el.querySelector("spw-tile-description");i&&this.revealDescription&&("light"===this.variant||"big"===this.variant)&&i.classList.toggle("--revealed",t)}render(){const{href:t,target:e}=this,n=void 0===this.href?"div":"a",l="div"===n?{}:{href:t,target:e};return i(s,null,this.isBorderedVariant?i(n,Object.assign({},l,{class:this.elementClass,style:{background:this.background}}),"outline"===this.variant&&this.hasTopSlot&&i("div",{class:"spw-tile__top"},i("slot",{name:"top"})),i("div",{class:"spw-tile__body"},i("slot",null)),"outline"===this.variant&&this.hasBottomSlot&&i("div",{class:"spw-tile__bottom"},i("slot",{name:"bottom"})),"action"===this.variant&&i("div",{class:"spw-tile__footer"},i("div",{class:"spw-tile__bottom"},i("slot",{name:"bottom"})),i("span",{class:"spw-tile__arrow","aria-hidden":"true"},i("spw-icon",{icon:"fa-chevron-right"})))):i(n,Object.assign({},l,{class:this.elementClass,style:{background:this.background}}),this.imageSrc&&("big"===this.variant||"light"===this.variant)&&i(o,null,i("img",{src:this.imageSrc,alt:this.imageAlt,class:"spw-tile__image"})),i("div",{class:"spw-tile__content"},("big"===this.variant||"light"===this.variant)&&i("div",{class:"spw-tile__overlay"}),i("div",{class:"spw-tile__content-inner"},i("slot",null)),this.href&&"big"===this.variant&&i("span",{class:"spw-tile__button"},i("spw-icon",{icon:"fa-chevron-right"})))))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host([variant=action]),:host([variant=outline]),:host([variant=shortcut]){--spw-tile-bordered-border-color:var(--spw-color-themes-grey-grey-300);--spw-tile-bordered-hover-border-color:var(--spw-color-themes-grey-grey-900);height:100%}.spw-tile{display:block;text-decoration:none;position:relative;transition:all 0.3s ease-in-out;border-radius:6px}.spw-tile--hoverable:hover{transform:translateY(-5px)}.spw-tile:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-tile--icon{padding:16px 0}.spw-tile--icon.spw-tile--height-square,.spw-tile--icon.spw-tile--height-portrait{padding:0;position:relative;overflow:hidden}.spw-tile--icon.spw-tile--height-square{padding-top:100%}.spw-tile--icon.spw-tile--height-portrait{padding-top:150%}.spw-tile--big,.spw-tile--light{position:relative;padding-top:calc(70% - 12px);overflow:hidden}@media (min-width: 1024px){.spw-tile--big,.spw-tile--light{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-landscape,.spw-tile--light.spw-tile--height-landscape{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-square,.spw-tile--light.spw-tile--height-square{padding-top:100%}.spw-tile--big.spw-tile--height-portrait,.spw-tile--light.spw-tile--height-portrait{padding-top:150%}}.spw-tile--big:before,.spw-tile--light:before{content:"";background:black;opacity:0;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.spw-tile__overlay,.spw-tile__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-tile__overlay{z-index:2;height:calc(100% + 48px);bottom:0;top:auto;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--shades-alpha-dark-alpha-dark-alpha-900, rgba(0, 0, 0, 0.87)) 100%)}.spw-tile__image{z-index:1;object-fit:cover}.spw-tile__button{position:absolute;bottom:24px;right:24px;background:transparent;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;color:white;border-radius:50%;transition:all 0.2s ease-in;border:3px solid white;font-size:20px;margin-top:12px;z-index:2}.spw-tile:hover .spw-tile__button{background:rgba(0, 0, 0, 0.5)}.spw-tile--light .spw-tile__content,.spw-tile--big .spw-tile__content{position:absolute;z-index:3;display:flex;flex-direction:column;gap:0;padding:24px;bottom:0;left:0;width:100%}.spw-tile--icon.spw-tile--height-square .spw-tile__content,.spw-tile--icon.spw-tile--height-portrait .spw-tile__content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}.spw-tile--big.spw-tile--hoverable .spw-tile__content{padding-right:84px}.spw-tile--light .spw-tile__content{text-align:center;padding-bottom:24px}.spw-tile__content-inner{position:relative;z-index:3;flex:1}.spw-tile--icon .spw-tile__content-inner{display:flex;flex-direction:column;gap:12px;padding:0 12px;text-align:center}.spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon){font-size:32px;color:var(--spw-ds-primary)}.spw-tile--icon.spw-tile--surface-dark .spw-tile__content-inner ::slotted(spw-icon){color:white}.spw-tile--action,.spw-tile--outline,.spw-tile--shortcut{display:flex;flex-direction:column;height:100%;padding:24px;border:1px solid var(--spw-tile-bordered-border-color);border-radius:8px;background:var(--spw-ds-white);color:var(--spw-color-themes-grey-grey-900);transition:border-color 0.2s ease, box-shadow 0.2s ease}.spw-tile--action:hover,.spw-tile--outline:hover,.spw-tile--shortcut:hover{border-color:var(--spw-tile-bordered-hover-border-color);box-shadow:inset 0 0 0 1px var(--spw-tile-bordered-hover-border-color)}.spw-tile--action:focus-visible,.spw-tile--outline:focus-visible,.spw-tile--shortcut:focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black;border-radius:8px}.spw-tile--action .spw-tile__body,.spw-tile--outline .spw-tile__body,.spw-tile--shortcut .spw-tile__body{display:flex;flex-direction:column}.spw-tile--action .spw-tile__body{gap:4px}.spw-tile--action .spw-tile__body ::slotted(spw-tile-description){order:-1}.spw-tile--action .spw-tile__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:24px}.spw-tile--action .spw-tile__arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:50%;font-size:16px;transition:background-color 0.2s ease}.spw-tile--action .spw-tile__arrow:hover{background:var(--spw-color-themes-grey-grey-300)}.spw-tile--outline .spw-tile__top{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.spw-tile--outline .spw-tile__top ::slotted(spw-icon){display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--spw-color-themes-grey-grey-100);font-size:16px}.spw-tile--outline .spw-tile__body{gap:8px}.spw-tile--outline .spw-tile__bottom{margin-top:16px}.spw-tile--shortcut{justify-content:center}'}},[257,"spw-tile",{variant:[1],surface:[1],background:[1],height:[1],href:[1],target:[1],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],revealDescription:[4,"reveal-description"],hasTopSlot:[32],hasBottomSlot:[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]),p=r,a=function(){"undefined"!=typeof customElements&&["spw-tile","spw-icon"].forEach((t=>{switch(t){case"spw-tile":customElements.get(n(t))||customElements.define(n(t),r);break;case"spw-icon":customElements.get(n(t))||l()}}))};export{p as SpwTile,a as defineCustomElement}
|
|
1
|
+
import{p as t,H as e,h as i,a as s,F as o,t as n}from"./index.js";import{d as l}from"./p-DetVZmjO.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="light",this.surface="light",this.background="transparent",this.height="landscape",this.target="_self",this.imageAlt="",this.revealDescription=!0,this.hasTopSlot=!1,this.hasBottomSlot=!1}componentWillLoad(){this.updateSlotsPresence()}componentDidLoad(){this.applyVariantToChildren()}slotChanged(){this.updateSlotsPresence(),this.applyVariantToChildren()}updateSlotsPresence(){this.hasTopSlot=!!this.el.querySelector(':scope > [slot="top"]'),this.hasBottomSlot=!!this.el.querySelector(':scope > [slot="bottom"]')}get isBorderedVariant(){return"action"===this.variant||"outline"===this.variant||"shortcut"===this.variant}applyVariantToChildren(){const t="--"+this.variant,e="--surface-light",i="--surface-dark",s=this.el.querySelector("spw-tile-title"),o=this.el.querySelector("spw-tile-description");s&&(s.classList.add(t),s.arrowIcon="shortcut"===this.variant&&"_blank"===this.target?"fa-arrow-up-right-from-square":"fa-chevron-right",s.classList.toggle(i,"dark"===this.surface),s.classList.toggle(e,"dark"!==this.surface)),o&&(o.classList.add(t),o.classList.toggle("--reveal-on-hover",this.revealDescription&&("light"===this.variant||"big"===this.variant)),o.classList.toggle(i,"dark"===this.surface),o.classList.toggle(e,"dark"!==this.surface))}get elementClass(){return{"spw-tile":!0,"spw-tile--hoverable":!!this.href&&!this.isBorderedVariant,["spw-tile--"+this.variant]:!0,["spw-tile--surface-"+this.surface]:!0,["spw-tile--height-"+this.height]:!0,"spw-tile--reveal-description":this.revealDescription&&("light"===this.variant||"big"===this.variant)}}onMouseEnter(){this.setHovered(!0)}onMouseLeave(){this.setHovered(!1)}setHovered(t){const e=this.el.querySelector("spw-tile-title");e&&this.href&&e.classList.toggle("--hovered",t);const i=this.el.querySelector("spw-tile-description");i&&this.revealDescription&&("light"===this.variant||"big"===this.variant)&&i.classList.toggle("--revealed",t)}render(){const{href:t,target:e}=this,n=void 0===this.href?"div":"a",l="div"===n?{}:{href:t,target:e};return i(s,null,this.isBorderedVariant?i(n,Object.assign({},l,{class:this.elementClass,style:{background:this.background}}),"outline"===this.variant&&this.hasTopSlot&&i("div",{class:"spw-tile__top"},i("slot",{name:"top"})),i("div",{class:"spw-tile__body"},i("slot",null)),"outline"===this.variant&&this.hasBottomSlot&&i("div",{class:"spw-tile__bottom"},i("slot",{name:"bottom"})),"action"===this.variant&&i("div",{class:"spw-tile__footer"},i("div",{class:"spw-tile__bottom"},i("slot",{name:"bottom"})),i("span",{class:"spw-tile__arrow","aria-hidden":"true"},i("spw-icon",{icon:"fa-chevron-right"})))):i(n,Object.assign({},l,{class:this.elementClass,style:{background:this.background}}),this.imageSrc&&("big"===this.variant||"light"===this.variant)&&i(o,null,i("img",{src:this.imageSrc,alt:this.imageAlt,class:"spw-tile__image"})),i("div",{class:"spw-tile__content"},("big"===this.variant||"light"===this.variant)&&i("div",{class:"spw-tile__overlay"}),i("div",{class:"spw-tile__content-inner"},i("slot",null)),this.href&&"big"===this.variant&&i("span",{class:"spw-tile__button"},i("spw-icon",{icon:"fa-chevron-right"})))))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host([variant=action]),:host([variant=outline]),:host([variant=shortcut]){--spw-tile-bordered-border-color:var(--spw-color-themes-grey-grey-300);--spw-tile-bordered-hover-border-color:var(--spw-color-themes-grey-grey-900);height:100%}.spw-tile{display:block;text-decoration:none;position:relative;transition:all 0.3s ease-in-out;border-radius:6px}.spw-tile--hoverable:hover{transform:translateY(-5px)}.spw-tile:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-tile--icon{padding:16px 0}.spw-tile--icon.spw-tile--height-square,.spw-tile--icon.spw-tile--height-portrait{padding:0;position:relative;overflow:hidden}.spw-tile--icon.spw-tile--height-square{padding-top:100%}.spw-tile--icon.spw-tile--height-portrait{padding-top:150%}.spw-tile--big,.spw-tile--light{position:relative;padding-top:calc(70% - 12px);overflow:hidden}@media (min-width: 1024px){.spw-tile--big,.spw-tile--light{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-landscape,.spw-tile--light.spw-tile--height-landscape{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-square,.spw-tile--light.spw-tile--height-square{padding-top:100%}.spw-tile--big.spw-tile--height-portrait,.spw-tile--light.spw-tile--height-portrait{padding-top:150%}}.spw-tile--big:before,.spw-tile--light:before{content:"";background:black;opacity:0;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.spw-tile__overlay,.spw-tile__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-tile__overlay{z-index:2;height:calc(100% + 48px);bottom:0;top:auto;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--shades-alpha-dark-alpha-dark-alpha-900, rgba(0, 0, 0, 0.87)) 100%)}.spw-tile__image{z-index:1;object-fit:cover}.spw-tile__button{position:absolute;bottom:24px;right:24px;background:transparent;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;color:white;border-radius:50%;transition:all 0.2s ease-in;border:3px solid white;font-size:20px;margin-top:12px;z-index:2}.spw-tile:hover .spw-tile__button{background:rgba(0, 0, 0, 0.5)}.spw-tile--light .spw-tile__content,.spw-tile--big .spw-tile__content{position:absolute;z-index:3;display:flex;flex-direction:column;gap:0;padding:24px;bottom:0;left:0;width:100%}.spw-tile--icon.spw-tile--height-square .spw-tile__content,.spw-tile--icon.spw-tile--height-portrait .spw-tile__content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}.spw-tile--big.spw-tile--hoverable .spw-tile__content{padding-right:84px}.spw-tile--light .spw-tile__content{text-align:center;padding-bottom:24px}.spw-tile__content-inner{position:relative;z-index:3;flex:1}.spw-tile--icon .spw-tile__content-inner{display:flex;flex-direction:column;gap:12px;padding:0 12px;text-align:center}.spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon){font-size:32px;color:var(--spw-ds-primary)}.spw-tile--icon.spw-tile--surface-dark .spw-tile__content-inner ::slotted(spw-icon){color:white}.spw-tile--action,.spw-tile--outline,.spw-tile--shortcut{display:flex;flex-direction:column;height:100%;padding:24px;border:1px solid var(--spw-tile-bordered-border-color);border-radius:8px;background:var(--spw-ds-white);color:var(--spw-color-themes-grey-grey-900);transition:border-color 0.2s ease, box-shadow 0.2s ease}.spw-tile--action:hover,.spw-tile--outline:hover,.spw-tile--shortcut:hover{border-color:var(--spw-tile-bordered-hover-border-color);box-shadow:inset 0 0 0 1px var(--spw-tile-bordered-hover-border-color)}.spw-tile--action:focus-visible,.spw-tile--outline:focus-visible,.spw-tile--shortcut:focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black;border-radius:8px}.spw-tile--action .spw-tile__body,.spw-tile--outline .spw-tile__body,.spw-tile--shortcut .spw-tile__body{display:flex;flex-direction:column}.spw-tile--action .spw-tile__body{gap:4px}.spw-tile--action .spw-tile__body ::slotted(spw-tile-description){order:-1}.spw-tile--action .spw-tile__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:24px}.spw-tile--action .spw-tile__arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:50%;font-size:16px;transition:background-color 0.2s ease}.spw-tile--action .spw-tile__arrow:hover{background:var(--spw-color-themes-grey-grey-300)}.spw-tile--outline .spw-tile__top{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.spw-tile--outline .spw-tile__top ::slotted(spw-icon){display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--spw-color-themes-grey-grey-100);font-size:16px}.spw-tile--outline .spw-tile__body{gap:8px}.spw-tile--outline .spw-tile__bottom{margin-top:16px}.spw-tile--shortcut{justify-content:center}'}},[257,"spw-tile",{variant:[513],surface:[1],background:[1],height:[1],href:[1],target:[1],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],revealDescription:[4,"reveal-description"],hasTopSlot:[32],hasBottomSlot:[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]),p=r,a=function(){"undefined"!=typeof customElements&&["spw-tile","spw-icon"].forEach((t=>{switch(t){case"spw-tile":customElements.get(n(t))||customElements.define(n(t),r);break;case"spw-icon":customElements.get(n(t))||l()}}))};export{p as SpwTile,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as n,t as s}from"./index.js";import{d as o}from"./p-
|
|
1
|
+
import{p as e,H as t,h as i,a as n,t as s}from"./index.js";import{d as o}from"./p-DetVZmjO.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.state="default",this.isLast="false",this.variant="vertical",this.isDescriptionExpanded=!1,this.showToggle=!1,this.toggleDescription=()=>{this.isDescriptionExpanded=!this.isDescriptionExpanded}}get elementClass(){return{"spw-timeline-item":!0,["spw-timeline-item--"+this.state]:!0,["spw-timeline-item--"+this.variant]:!0}}renderLabel(){return this.label?i("div",{class:{"spw-timeline-item__label":!0,"spw-timeline-item__label--clickable":this.showToggle},onClick:this.showToggle?this.toggleDescription:void 0},i("span",{class:"spw-timeline-item__label-text"},this.label),this.description&&this.showToggle&&i("spw-icon",{icon:this.isDescriptionExpanded?"fa-chevron-up":"fa-chevron-down",class:"spw-timeline-item__label-toggle"})):null}componentDidLoad(){this.checkDescriptionHeight()}componentDidUpdate(){this.checkDescriptionHeight()}checkDescriptionHeight(){if(this.descriptionRef){const e=this.el.style.display,t="none"===e;t&&(this.el.style.display="block",this.el.style.visibility="hidden",this.el.style.position="absolute");const i=parseFloat(getComputedStyle(this.descriptionRef).lineHeight);this.showToggle=this.descriptionRef.scrollHeight>1.2*i,t&&(this.el.style.display=e,this.el.style.visibility="",this.el.style.position="")}}render(){const e="false"===this.isLast;return i(n,{key:"3411a4dad7b254fb64ec6e495cddfb0a3e96bf12"},i("div",{key:"17add3871d75777fb208e0460cefd44bd438ac70",class:this.elementClass},i("div",{key:"f0e0bdc7bca68101f84517cfa8acc81cbee5a708",class:"spw-timeline-item__step"},i("div",{key:"7b240a6afcc7370957cb68fd2415d723e117faa7",class:"spw-timeline-item__icon"}),e&&i("div",{key:"ad54ebc763fbc4a22de6609545086e13a1721e4c",class:"spw-timeline-item__connector"})),i("div",{key:"07b50deacbe371184a7be1d75b234b11e91d4501",class:"spw-timeline-item__content"},this.renderLabel(),this.description&&i("div",{key:"e09d96371e0ea9db29d5cd4c4485bd9902246a84",class:"spw-timeline-item__description-wrapper"},i("div",{key:"ec9797e7065e7f23915e4364f95e7ced7411ca3d",ref:e=>this.descriptionRef=e,class:{"spw-timeline-item__description":!0,"spw-timeline-item__description--collapsed":!this.isDescriptionExpanded}},this.description)),i("slot",{key:"fe602e230db5f2efebe1700db6f0481d288b6a7d"}))))}get el(){return this}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-timeline-item{display:flex;flex-direction:column;align-items:center;width:100%}.spw-timeline-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-timeline-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-timeline-item__step spw-icon{font-size:16px}.spw-timeline-item--vertical .spw-timeline-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-timeline-item__icon{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative;border-color:#d1d5db}.spw-timeline-item__icon svg{width:24px;height:24px}.spw-timeline-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease;background-color:#d1d5db}.spw-timeline-item--vertical .spw-timeline-item__connector{top:0;left:7px;right:auto;width:3px;height:calc(100% + 6px)}.spw-timeline-item__label{display:inline-flex;gap:8px;font-size:16px;font-weight:700;text-align:center;margin-top:4px;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-timeline-item--vertical .spw-timeline-item__label{text-align:left}.spw-timeline-item__label--clickable{text-decoration:underline;cursor:pointer;user-select:none}.spw-timeline-item__label--clickable:hover{text-decoration:none}.spw-timeline-item__label-text{flex:1}.spw-timeline-item__description-wrapper{margin-top:4px;display:flex;flex-direction:column;align-items:center;gap:8px}.spw-timeline-item--vertical .spw-timeline-item__description-wrapper{align-items:flex-start}.spw-timeline-item__description{font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px;transition:all 0.3s ease}.spw-timeline-item--vertical .spw-timeline-item__description{text-align:left}.spw-timeline-item__description--collapsed{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.spw-timeline-item__toggle{cursor:pointer;font-size:20px;color:var(--spw-ds-primary);transition:transform 0.3s ease}.spw-timeline-item__toggle:hover{opacity:0.8}.spw-timeline-item--vertical .spw-timeline-item__content{margin-top:-6px;margin-bottom:8px}.spw-timeline-item--active .spw-timeline-item__icon{border-color:var(--spw-ds-primary);background-color:var(--spw-ds-primary);color:white}.spw-timeline-item--active .spw-timeline-item__label{color:var(--spw-ds-primary)}.spw-timeline-item--default .spw-timeline-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}"}},[257,"spw-timeline-item",{label:[1],description:[1],state:[1],isLast:[1,"is-last"],variant:[1],isDescriptionExpanded:[32],showToggle:[32]}]),a=l,r=function(){"undefined"!=typeof customElements&&["spw-timeline-item","spw-icon"].forEach((e=>{switch(e){case"spw-timeline-item":customElements.get(s(e))||customElements.define(s(e),l);break;case"spw-icon":customElements.get(s(e))||o()}}))};export{a as SpwTimelineItem,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as i,a as n,t as s}from"./index.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.visibleItems=0,this.showMoreText="Voir plus",this.showLessText="Voir moins",this.showAll=!1,this.handleToggle=()=>{this.showAll=!this.showAll,this.updateItemsState()}}componentWillLoad(){this.updateItemsState()}slotChanged(){this.updateItemsState()}updateItemsState(){requestAnimationFrame((()=>{const e=this.el.querySelectorAll("spw-timeline-item");e.forEach(((t,i)=>{t.setAttribute("variant","vertical"),t.setAttribute("is-last",""+(i===e.length-1)),t.style.display=this.visibleItems>0&&!this.showAll&&i>=this.visibleItems?"none":""}))}))}get elementClass(){return{"spw-timeline":!0,"spw-timeline--vertical":!0}}shouldShowToggleButton(){const e=this.el.querySelectorAll("spw-timeline-item");return this.visibleItems>0&&e.length>this.visibleItems}render(){return i(n,{key:"
|
|
1
|
+
import{p as e,H as t,h as i,a as n,t as s}from"./index.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.visibleItems=0,this.showMoreText="Voir plus",this.showLessText="Voir moins",this.showAll=!1,this.handleToggle=()=>{this.showAll=!this.showAll,this.updateItemsState()}}componentWillLoad(){this.updateItemsState()}slotChanged(){this.updateItemsState()}updateItemsState(){requestAnimationFrame((()=>{const e=this.el.querySelectorAll("spw-timeline-item");e.forEach(((t,i)=>{t.setAttribute("variant","vertical"),t.setAttribute("is-last",""+(i===e.length-1)),t.style.display=this.visibleItems>0&&!this.showAll&&i>=this.visibleItems?"none":""}))}))}get elementClass(){return{"spw-timeline":!0,"spw-timeline--vertical":!0}}shouldShowToggleButton(){const e=this.el.querySelectorAll("spw-timeline-item");return this.visibleItems>0&&e.length>this.visibleItems}render(){return i(n,{key:"94575a043ff4fefe87b983b66e25f477f86f02ab"},i("div",{key:"3d7f1892904295b1b1bd0639b6ae8fdf6c1bdcb7",class:this.elementClass},i("slot",{key:"bf6ba37f13409a35622c2c9a75b9395112be9e03"})),this.shouldShowToggleButton()&&i("div",{key:"95a25963f5ddcbd7412fa62caebf8602841c8bb4",class:{"spw-timeline__toggle":!0,"spw-timeline__toggle--more":!this.showAll,"spw-timeline__toggle--less":this.showAll}},i("span",{key:"aaf21e84cef26ca8ef8dafde2873a518df1d36b1",class:"spw-timeline__toggle-btn",onClick:this.handleToggle},this.showAll?this.showLessText:this.showMoreText)))}get el(){return this}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-timeline{display:flex;gap:6px}.spw-timeline--horizontal{flex-direction:row}.spw-timeline--vertical{flex-direction:column;align-items:flex-start}.spw-timeline__toggle{margin-top:8px;padding-left:32px;margin-left:7px;border-left:3px dashed #d1d5db}.spw-timeline__toggle--less{border-left-color:transparent}.spw-timeline__toggle-btn{background:none;border:none;color:var(--spw-ds-primary);font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}.spw-timeline__toggle-btn:hover{text-decoration:none}"}},[257,"spw-timeline",{visibleItems:[2,"visible-items"],showMoreText:[1,"show-more-text"],showLessText:[1,"show-less-text"],showAll:[32]},[[0,"slotchange","slotChanged"]]]),a=o,r=function(){"undefined"!=typeof customElements&&["spw-timeline"].forEach((e=>{"spw-timeline"===e&&(customElements.get(s(e))||customElements.define(s(e),o))}))};export{a as SpwTimeline,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as
|
|
1
|
+
import{p as t,H as e,h as o,a as s,t as n}from"./index.js";import{d as r}from"./p-DetVZmjO.js";import{d as i}from"./p-BlDHsTAs.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.position="bottom-right"}async create(t){var e;const o=document.createElement("spw-toast");return t.heading&&(o.heading=t.heading),t.message&&(o.message=t.message),t.linkLabel&&(o.linkLabel=t.linkLabel),t.linkHref&&(o.linkHref=t.linkHref),t.icon&&(o.icon=t.icon),o.variant=null!==(e=t.variant)&&void 0!==e?e:"default",o.duration=void 0!==t.duration?t.duration:5e3,o.dismissable=void 0===t.dismissable||t.dismissable,t.onLinkClick&&o.addEventListener("spwToastLinkClick",t.onLinkClick),this.stackEl.appendChild(o),o}async dismissAll(){const t=Array.from(this.stackEl.querySelectorAll("spw-toast"));await Promise.all(t.map((t=>{var e;return null===(e=t.dismiss)||void 0===e?void 0:e.call(t)})))}render(){return o(s,{key:"b320fb0051b98993b6d40809ac3c4eb8f9607d43"},o("div",{key:"0083f2b0eb1cedae1ef9bf6196d0a3dec064078c",class:{"spw-toast-controller__stack":!0,["spw-toast-controller__stack--"+this.position]:!0},role:"region","aria-label":"Notifications",ref:t=>this.stackEl=t}))}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;--spw-toast-controller-gap:10px;--spw-toast-controller-offset:24px;--spw-toast-controller-width:360px;--spw-toast-controller-z-index:999999999}.spw-toast-controller__stack{position:fixed;display:flex;flex-direction:column;gap:var(--spw-toast-controller-gap);z-index:var(--spw-toast-controller-z-index);width:var(--spw-toast-controller-width);max-width:calc(100vw - 2 * var(--spw-toast-controller-offset));pointer-events:none}.spw-toast-controller__stack>*{pointer-events:auto}.spw-toast-controller__stack--top-right{top:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-left{top:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-center{top:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%)}.spw-toast-controller__stack--bottom-right{bottom:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-left{bottom:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-center{bottom:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%);flex-direction:column-reverse}'}},[1,"spw-toast-controller",{position:[1],create:[64],dismissAll:[64]}]),l=a,p=function(){"undefined"!=typeof customElements&&["spw-toast-controller","spw-icon","spw-toast"].forEach((t=>{switch(t){case"spw-toast-controller":customElements.get(n(t))||customElements.define(n(t),a);break;case"spw-icon":customElements.get(n(t))||r();break;case"spw-toast":customElements.get(n(t))||i()}}))};export{l as SpwToastController,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-BlDHsTAs.js";const p=s,r=o;export{p as SpwToast,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as o,h as s,a as e,t as p}from"./index.js";const n=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}render(){return s(e,{key:"
|
|
1
|
+
import{p as t,H as o,h as s,a as e,t as p}from"./index.js";const n=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}render(){return s(e,{key:"0da3d965a85d76a4edf76e1305c076c7cc62e682"},s("slot",{key:"98b1635f3a8a78d5014db5b1429eb2e3fcdc88da"}))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-toc{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-toc h1,spw-toc h2,spw-toc h3,spw-toc h4,spw-toc h5,spw-toc h6,spw-toc p,spw-toc ul,spw-toc li{padding:0;margin:0}spw-toc ul{list-style:none}spw-toc *,spw-toc *::before,spw-toc *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-toc{}spw-toc hr{box-sizing:content-box;height:0;overflow:visible;}spw-toc{}spw-toc pre{font-family:monospace, monospace;font-size:1em;}spw-toc{}spw-toc a{background-color:transparent}spw-toc{}spw-toc abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-toc{}spw-toc b,spw-toc strong{font-weight:bolder}spw-toc{}spw-toc code,spw-toc kbd,spw-toc samp{font-family:monospace, monospace;font-size:1em;}spw-toc{}spw-toc small{font-size:80%}spw-toc{}spw-toc sub,spw-toc sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-toc sub{bottom:-0.25em}spw-toc sup{top:-0.5em}spw-toc{}spw-toc img{border-style:none}spw-toc{}spw-toc button,spw-toc input,spw-toc optgroup,spw-toc select,spw-toc textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-toc{}spw-toc button,spw-toc input{overflow:visible}spw-toc{}spw-toc button,spw-toc select{text-transform:none}spw-toc{}spw-toc button,spw-toc [type=button],spw-toc [type=reset],spw-toc [type=submit]{-webkit-appearance:button}spw-toc{}spw-toc button::-moz-focus-inner,spw-toc [type=button]::-moz-focus-inner,spw-toc [type=reset]::-moz-focus-inner,spw-toc [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-toc{}spw-toc button:-moz-focusring,spw-toc [type=button]:-moz-focusring,spw-toc [type=reset]:-moz-focusring,spw-toc [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-toc{}spw-toc fieldset{padding:0.35em 0.75em 0.625em}spw-toc{}spw-toc legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-toc{}spw-toc progress{vertical-align:baseline}spw-toc{}spw-toc textarea{overflow:auto}spw-toc{}spw-toc [type=checkbox],spw-toc [type=radio]{box-sizing:border-box;padding:0;}spw-toc{}spw-toc [type=number]::-webkit-inner-spin-button,spw-toc [type=number]::-webkit-outer-spin-button{height:auto}spw-toc{}spw-toc [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-toc{}spw-toc [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-toc{}spw-toc ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-toc{}spw-toc details{display:block}spw-toc{}spw-toc summary{display:list-item}spw-toc{}spw-toc template{display:none}spw-toc{}spw-toc [hidden]{display:none}:host{display:block}"}},[260,"spw-toc"]),c=n,i=function(){"undefined"!=typeof customElements&&["spw-toc"].forEach((t=>{"spw-toc"===t&&(customElements.get(p(t))||customElements.define(p(t),n))}))};export{c as SpwToc,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as o,d as
|
|
1
|
+
import{S as o,d as s}from"./p-xv_G2g8V.js";const p=o,r=s;export{p as SpwTooltip,r as defineCustomElement}
|