@spw-ds/spw-stencil-library 1.18.0 → 1.19.0
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 +186 -10
- package/dist/cjs/{index-D3lyhQSW.js → index-CfCTfMKB.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-alert.cjs.entry.js +5 -12
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- 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 +2 -2
- 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 +25 -3
- 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 +2 -2
- package/dist/cjs/spw-drawer.cjs.entry.js +5 -5
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-field-label_8.cjs.entry.js +12 -12
- package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +3 -3
- 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 +27 -3
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +34 -3
- package/dist/cjs/spw-select.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +5 -5
- 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 +4 -4
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- 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 +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +7 -3
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/collection/components/spw-alert/spw-alert.css +32 -14
- package/dist/collection/components/spw-alert/spw-alert.js +6 -14
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +57 -0
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +25 -3
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
- package/dist/collection/components/spw-drawer/spw-drawer.css +3 -1
- package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +48 -1
- package/dist/collection/components/spw-group/spw-group.js +5 -5
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +5 -2
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
- 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 +0 -6
- 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-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +5 -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 +2 -2
- package/dist/collection/components/spw-link/spw-link.css +4 -2
- 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 +58 -0
- package/dist/collection/components/spw-radio/spw-radio.js +45 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +52 -6
- package/dist/collection/components/spw-select/spw-select.js +20 -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.css +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.css +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.css +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.css +1 -1
- 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.css +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 +20 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +20 -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.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-toast/spw-toast-controller/spw-toast-controller.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +5 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc.css +1 -1
- 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 +1 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +2 -1
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +2 -1
- package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +2 -1
- package/dist/collection/stories/components/spw-button/spw-button.stories.js +2 -1
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +60 -2
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +2 -1
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +2 -1
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +2 -1
- package/dist/collection/stories/components/spw-file-upload/spw-file-upload.stories.js +2 -1
- package/dist/collection/stories/components/spw-icon/spw-icon.stories.js +2 -1
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +2 -1
- package/dist/collection/stories/components/spw-link/spw-link.stories.js +2 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +2 -1
- package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +2 -1
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +97 -1
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +2 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +2 -1
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +2 -1
- package/dist/collection/stories/components/spw-separator/spw-separator.stories.js +2 -1
- package/dist/collection/stories/components/spw-skeleton/spw-skeleton.stories.js +2 -1
- package/dist/collection/stories/components/spw-tag/spw-tag.stories.js +2 -1
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +2 -1
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +2 -1
- package/dist/collection/stories/components/spw-tooltip/spw-tooltip.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-alert/spw-alert.stories.js +30 -29
- package/dist/collection/stories/organisms/spw-drawer/spw-drawer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-footer/spw-footer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-grid/spw-grid.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +47 -3
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +4 -2
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-modal/spw-modal.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-sidebar/spw-sidebar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +12 -6
- package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-timeline/spw-timeline.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-wizard/spw-wizard.stories.js +10 -5
- package/dist/collection/utils/syntax.js +126 -0
- package/dist/collection/utils/utils.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DaITe5yi.js → p-B68Myli4.js} +1 -1
- package/dist/components/{p-4jNBpzmg.js → p-BCuU5Ywh.js} +1 -1
- package/dist/components/{p-C-XK7DW-.js → p-BrrQs_CF.js} +1 -1
- package/dist/components/{p-hfJhpq7W.js → p-CMrHIi6V.js} +1 -1
- package/dist/components/p-CZa7267G.js +1 -0
- package/dist/components/{p-BD9dpai3.js → p-CdYKps3q.js} +1 -1
- package/dist/components/{p-BvJ60OkW.js → p-Cjd09L60.js} +1 -1
- package/dist/components/p-CqWtzvF4.js +1 -0
- package/dist/components/{p-C5H3D_hy.js → p-DaUZrpCq.js} +1 -1
- package/dist/components/{p-10usqMv_.js → p-VmfmCYD6.js} +1 -1
- package/dist/components/p-oohA0YBK.js +1 -0
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-alert.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-subtags.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-bottom.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-footer-content.js +1 -1
- package/dist/components/spw-footer-link.js +1 -1
- package/dist/components/spw-footer.js +1 -1
- package/dist/components/spw-grid-item.js +1 -1
- package/dist/components/spw-grid.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-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 +1 -1
- 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-toc-container.js +1 -1
- package/dist/components/spw-toc-navigation.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 +252 -12
- package/dist/components_vscode.json +5585 -0
- package/dist/esm/{index-DkNryMko.js → index-mthi2pFj.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-alert.entry.js +5 -12
- package/dist/esm/spw-avatar.entry.js +1 -1
- 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 +2 -2
- 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 +25 -3
- 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 +2 -2
- package/dist/esm/spw-drawer.entry.js +5 -5
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +3 -3
- package/dist/esm/spw-dropdown.entry.js +2 -2
- package/dist/esm/spw-field-label_8.entry.js +12 -12
- package/dist/esm/spw-file-upload.entry.js +3 -3
- package/dist/esm/spw-footer-bottom.entry.js +2 -2
- package/dist/esm/spw-footer-content-col.entry.js +2 -2
- package/dist/esm/spw-footer-content.entry.js +2 -2
- package/dist/esm/spw-footer-link.entry.js +2 -2
- package/dist/esm/spw-footer.entry.js +2 -2
- package/dist/esm/spw-grid-item.entry.js +3 -3
- package/dist/esm/spw-grid.entry.js +3 -3
- package/dist/esm/spw-header-lang.entry.js +2 -2
- package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-header-navigation-item.entry.js +3 -3
- package/dist/esm/spw-header-navigation.entry.js +2 -2
- package/dist/esm/spw-header-persona-item.entry.js +2 -2
- package/dist/esm/spw-header-persona.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/spw-lightbox.entry.js +3 -3
- 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 +27 -3
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +34 -3
- package/dist/esm/spw-select.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-item.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/spw-sidenav-item.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/spw-stencil-library.js +3 -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 +2 -2
- package/dist/esm/spw-tile.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +7 -3
- package/dist/esm/spw-toc-navigation.entry.js +2 -2
- package/dist/esm/spw-toc.entry.js +3 -3
- 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 +2 -2
- package/dist/spw-stencil-library/p-00bbd54f.entry.js +1 -0
- package/dist/spw-stencil-library/p-020b4537.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8a0cf2d4.entry.js → p-0647a776.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3bcafcbf.entry.js → p-0696997f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2f667f7.entry.js → p-0a0b5695.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdea1755.entry.js → p-0c33cd7d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-33a767a3.entry.js → p-0e4056ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9c747e12.entry.js → p-10f42f45.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9a839525.entry.js → p-154a2f90.entry.js} +1 -1
- package/dist/spw-stencil-library/p-17d35cee.entry.js +1 -0
- package/dist/spw-stencil-library/{p-b98b556b.entry.js → p-1bdf3e61.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-77a95d12.entry.js → p-1da399ed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e27e96a2.entry.js → p-1dc8918c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1d57cc99.entry.js → p-1e4878b8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8b631b5d.entry.js → p-235a9a01.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-35c26140.entry.js → p-2417cbbb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-03c76e20.entry.js → p-243061e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4898b89b.entry.js → p-29e1b7ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6a6b2237.entry.js → p-2b1e084f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6aef58f4.entry.js → p-2cbb997d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a4a4c3b3.entry.js → p-361f6350.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5c50027b.entry.js → p-3777bccc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee69af5f.entry.js → p-39643956.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5a55e5c5.entry.js → p-39add31f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a9c3f05b.entry.js → p-3ad5c457.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9baceb97.entry.js → p-3ad6d6f0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ccbe0d67.entry.js → p-3f1f7fbb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c20c15d5.entry.js → p-3f83cca0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c6298162.entry.js → p-455036fe.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4e15e0c1.entry.js → p-4774338c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-83017509.entry.js → p-4a06e37f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-4b0db9bd.entry.js +1 -0
- package/dist/spw-stencil-library/p-4fbeb3f5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9ac3913a.entry.js → p-50588fc5.entry.js} +1 -1
- package/dist/spw-stencil-library/p-55f21ebb.entry.js +1 -0
- package/dist/spw-stencil-library/{p-70d3f435.entry.js → p-57cd2788.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e7ca2e4.entry.js → p-5a697628.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-837ac8f1.entry.js → p-5e8a5a23.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2592a5e.entry.js → p-61f2278c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-70b7b977.entry.js → p-655a0920.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-021fc983.entry.js → p-698c0030.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ef82674.entry.js → p-6c9bc0df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7a47432f.entry.js → p-6cc0b5f5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-226bf7b7.entry.js → p-6e52eb6a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c8185d55.entry.js → p-70947adf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-62442334.entry.js → p-7e704f32.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e6546573.entry.js → p-7f04e78e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-29f4d921.entry.js → p-89931481.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a13fadc5.entry.js → p-899f21ca.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-958dadb3.entry.js → p-8f1513ad.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43ac8164.entry.js → p-90100e0c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1156e45c.entry.js → p-932bee0e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cab00494.entry.js → p-93d33de7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-95062710.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8ee5de40.entry.js → p-9964d952.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b2be5886.entry.js → p-9ee7a00a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-30f7cb1e.entry.js → p-9f6d4141.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6278d28f.entry.js → p-a6ffe0b7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a19386d3.entry.js → p-a7b71644.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-98f14c76.entry.js → p-a89eaabb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d302a2b5.entry.js → p-a8bd7ac4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-acd17168.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a4532a5f.entry.js → p-adbcce82.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ade0b4ca.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e684eb0a.entry.js → p-ae8a6054.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2a6388d4.entry.js → p-af9ea059.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-07c59244.entry.js → p-b28c7677.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e76535ee.entry.js → p-b6678091.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b73d8a54.entry.js +1 -0
- package/dist/spw-stencil-library/{p-85fd474d.entry.js → p-b835ebc5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-71ef7b30.entry.js → p-bda30c93.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-609873b3.entry.js → p-bdcd9e24.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e67a2ab2.entry.js → p-bde71818.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ec9b89b8.entry.js → p-bfde8a3a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c02151d3.entry.js → p-c369f61b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1b2219c5.entry.js → p-c36db9e3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8488c882.entry.js → p-c374d0ff.entry.js} +1 -1
- package/dist/spw-stencil-library/p-c7480955.entry.js +1 -0
- package/dist/spw-stencil-library/p-cb506a6f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-82ccac76.entry.js → p-ce07c9cd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-42c5ae2b.entry.js → p-dad0c8fa.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-53d34813.entry.js → p-ddc867bd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-15fcedc4.entry.js → p-e1926d22.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-15714574.entry.js → p-e286f138.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-efab43e2.entry.js → p-e2898a5f.entry.js} +4 -4
- package/dist/spw-stencil-library/{p-54d3bb05.entry.js → p-e7e8a60a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b6b496d2.entry.js → p-e8f6b76c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-db281173.entry.js → p-eb0c9f5d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-faa20925.entry.js → p-f1b2d02e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdce1731.entry.js → p-f2714773.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-18563d7b.entry.js → p-f29ddbe8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2b2908f6.entry.js → p-f473aba1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-32f90343.entry.js → p-f98ff9fd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-435c6572.entry.js → p-fabba2d4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4b49ce46.entry.js → p-faf4a80a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fb4b6547.entry.js → p-fb604e35.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-646c04fa.entry.js → p-fc1e3eb6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-DkNryMko.js → p-mthi2pFj.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +1232 -900
- package/dist/types/components/spw-alert/spw-alert.d.ts +2 -5
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +3 -1
- package/dist/types/components/spw-group/spw-group.d.ts +2 -2
- package/dist/types/components/spw-radio/spw-radio.d.ts +4 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +6 -0
- package/dist/types/components/spw-select/spw-select.d.ts +2 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +2 -0
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +2 -0
- package/dist/types/components/spw-toc/spw-toc-container/spw-toc-container.d.ts +1 -0
- package/dist/types/components.d.ts +59 -12
- package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +2 -0
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-alert/spw-alert.stories.d.ts +1 -1
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
- package/dist/types/utils/syntax.d.ts +33 -0
- package/hydrate/index.js +219 -145
- package/hydrate/index.mjs +219 -145
- package/package.json +2 -2
- package/dist/components/p-BpHhLSNA.js +0 -1
- package/dist/components/p-jLNjkOd-.js +0 -1
- package/dist/components/p-m6pRrrVB.js +0 -1
- package/dist/spw-stencil-library/p-00e913ab.entry.js +0 -1
- package/dist/spw-stencil-library/p-264d68af.entry.js +0 -1
- package/dist/spw-stencil-library/p-58eddc91.entry.js +0 -1
- package/dist/spw-stencil-library/p-77802474.entry.js +0 -1
- package/dist/spw-stencil-library/p-836800d9.entry.js +0 -1
- package/dist/spw-stencil-library/p-a36010c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-a8aef45b.entry.js +0 -1
- package/dist/spw-stencil-library/p-aecc5c7b.entry.js +0 -1
- package/dist/spw-stencil-library/p-bbd74c62.entry.js +0 -1
- package/dist/spw-stencil-library/p-c9cca975.entry.js +0 -1
- package/dist/spw-stencil-library/p-e68ac654.entry.js +0 -1
- package/dist/spw-stencil-library/p-e9262506.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i}from"./p-
|
|
1
|
+
import{r as e,h as t,H as i}from"./p-mthi2pFj.js";const o=class{constructor(t){e(this,t),this.active=!1}render(){return t(i,{key:"2644e943dff2f6587c101847b7d00084a29b7c09"},t("div",{key:"1027d437b0b64faa3e7ed2259d6979e7910c3b75",class:{"spw-header-persona-item":!0,"spw-header-persona-item--active":this.active}},t("slot",{key:"920d0bfbfa1ef802c9699fff9a4cea56250b8b74"})))}};o.style=":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-header-persona-item{position:relative;transition:background 0.3s}@media (min-width: 1024px){.spw-header-persona-item:hover{background:var(--spw-color-themes-grey-grey-200)}}.spw-header-persona-item ::slotted(a){color:var(--spw-colors-support-grey-grey-900);display:block;padding:4px 0;margin-top:6px}@media (min-width: 1024px){.spw-header-persona-item ::slotted(a){padding:12px 24px;display:block;text-transform:none;text-decoration:none !important}}.spw-header-persona-item--active{display:none;font-weight:bold}@media (min-width: 1024px){.spw-header-persona-item--active{display:block}}@media (max-width: 1023px){.spw-header-persona-item--active ::slotted(a){color:var(--spw-ds-primary) !important;text-decoration:none !important}}";export{o as spw_header_persona_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as n}from"./p-
|
|
1
|
+
import{r as e,h as t,H as i,a as n}from"./p-mthi2pFj.js";const o=class{constructor(t){e(this,t),this.viewMoreText="Voir plus",this.shouldShowViewMore=!1,this.parentHref="#",this.parentTarget="_self",this.dropdownLevel=1,this.isMegamenu=!1}componentDidLoad(){this.calculateDropdownLevel(),this.isMegamenu=this.isParentMegamenu(),this.checkIfShouldShowViewMore();const e=this.el.shadowRoot.querySelector("slot");e&&new MutationObserver((()=>{this.checkIfShouldShowViewMore()})).observe(e,{childList:!0,subtree:!0})}calculateDropdownLevel(){let e=1,t=this.el.parentElement;for(;t&&"SPW-HEADER-NAVIGATION"!==t.tagName;)"SPW-HEADER-NAVIGATION-DROPDOWN"===t.tagName&&e++,t=t.parentElement;this.dropdownLevel=e}checkIfShouldShowViewMore(){if(2!==this.dropdownLevel)return void(this.shouldShowViewMore=!1);if(!this.isMegamenu)return void(this.shouldShowViewMore=!1);const e=this.el.shadowRoot.querySelector("slot");if(!e)return;const t=e.assignedElements({flatten:!0}),i=Array.from(t).filter((e=>"SPW-HEADER-NAVIGATION-ITEM"===e.tagName)).filter((e=>"3"===e.getAttribute("data-level")));this.getParentLink(),this.shouldShowViewMore=i.length>7||0===i.length}isParentMegamenu(){let e=this.el.parentElement;for(;e;){if("SPW-HEADER-NAVIGATION-ITEM"===e.tagName&&"1"===e.getAttribute("data-level"))return"megamenu"===e.getAttribute("variant");e=e.parentElement}return!1}getParentLink(){let e=this.el.parentElement;for(;e;){if("SPW-HEADER-NAVIGATION-ITEM"===e.tagName){const t=e.querySelector("a");t&&(this.parentHref=t.getAttribute("href")||"#",this.parentTarget=t.getAttribute("target")||"_self");break}e=e.parentElement}}render(){return t(i,{key:"78389668848d8ee49727a973a6349b7e433a5084",class:{"spw-header-navigation-dropdown--is-megamenu":this.isMegamenu}},t("div",{key:"bf9b0a58198948978f3404a04a8ee1ecbfb349b2",class:"spw-header-navigation-dropdown"},t("slot",{key:"2990cd78d3e97eadefb96c045ed1bfaa837ed095"}),this.shouldShowViewMore&&t("spw-link",{key:"6d14fd8822f4f45e399ad96485af172061599bc2",icon:"fa-arrow-right",class:"spw-header-navigation-item--view-more",href:this.parentHref,target:this.parentTarget},this.viewMoreText)))}get el(){return n(this)}};o.style=':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-header-navigation-dropdown--is-megamenu{display:contents}@media (min-width: 1024px){.spw-header-navigation-dropdown--is-megamenu{width:100%;max-width:var(--spw-ds-container-lg);margin:0 auto;display:flex;flex-wrap:wrap;padding:16px 0}}@media (min-width: 1200px){.spw-header-navigation-dropdown--is-megamenu{max-width:var(--spw-ds-container-xl)}}@media (min-width: 1024px){:host(.spw-header-navigation-dropdown--is-megamenu) ::slotted(spw-header-navigation-item[data-level="3"]:nth-child(n+8)){display:none}}.spw-header-navigation-item--view-more{display:none !important}@media (min-width: 1024px){.spw-header-navigation-item--view-more{display:block !important;padding:8px 16px;border-left:1px solid var(--spw-colors-support-grey-grey-300);font-size:14px}}';export{o as spw_header_navigation_dropdown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-mthi2pFj.js";const n=class{constructor(e){t(this,e)}render(){return e(i,{key:"24c1923e30f0de6d55f2f129d1486697284da850"},e("div",{key:"1bc9d43366664814409e50b1baf32b942c1c425e",class:"spw-slider-item"},e("slot",{key:"70e63910f543ff695f5bd17ca7a3a06c92601cc3"})))}};n.style=":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{position:absolute;top:0;left:0;width:100%;display:block}.spw-slider-item{width:100%;display:block}";export{n as spw_slider_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-mthi2pFj.js";const s=class{constructor(i){t(this,i),this.valueChanged=e(this,"valueChanged",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),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:"d371070e0a85cd3fc3ff42583ccc8dee9c32b1c0",class:this.elementClass},this.label&&i("spw-field-label",{key:"c149761494587815bd4ca3afe2cda79334dd2172",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:"c56fcdaa8f3794cd37eb82ceade7bdc8ad22f159",class:"spw-textarea__field-message",variant:"hint",showIcon:!1},this.assistiveText),i("div",{key:"d1a1bf818505d8f7a4b03ad6e1e325ff70f9ccfe",class:"spw-textarea__container"},i("textarea",{key:"5770b198d8a466eff040efbe1313d2b1541d936d",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}]}}};s.style=":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}";export{s as spw_textarea}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as e,a as i}from"./p-
|
|
1
|
+
import{r as t,h as o,H as e,a as i}from"./p-mthi2pFj.js";const n=class{constructor(o){t(this,o)}componentDidLoad(){this.el.closest("spw-footer").addEventListener("spwFooterCols",this.handleFooterCols.bind(this))}disconnectedCallback(){this.el.closest("spw-footer").removeEventListener("spwFooterCols",this.handleFooterCols.bind(this))}handleFooterCols(t){const{colsMobile:o,colsTablet:e,colsDesktop:i}=t.detail;this.el.style.setProperty("--spw-footer-col-width-mobile",`calc(100% / ${o})`),this.el.style.setProperty("--spw-footer-col-width-tablet",`calc(100% / ${e})`),this.el.style.setProperty("--spw-footer-col-width-desktop",`calc(100% / ${i})`)}render(){return o(e,{key:"55790316b38b0e23490d6914146faf8455b6af81"},o("div",{key:"34c1ed89933b55a9408d5641ca7af1237623f27c",class:"spw-footer-content"},o("div",{key:"56f72ffb8747fa6782ef89393921aa209848bc9f",class:"spw-footer-content__container spw-ds-container"},o("slot",{key:"4848af905be51a6201f1445cd4de2022f49e1d79"}))))}get el(){return i(this)}};n.style=':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-footer-col-width-mobile:100%;--spw-footer-col-width-tablet:100%;--spw-footer-col-width-desktop:100%}.spw-footer-content{background:#1d1d1d;color:var(--spw-ds-white);padding:32px 0}.spw-footer-content__container{display:flex;flex-wrap:wrap}::slotted(spw-footer-content-col){width:var(--spw-footer-col-width-mobile);margin-bottom:24px !important;padding-bottom:24px !important;position:relative}::slotted(spw-footer-content-col):after{content:"";position:absolute;bottom:0;right:0;width:100%;height:1px;background:var(--spw-color-themes-grey-grey-800)}@media (min-width: 768px){::slotted(spw-footer-content-col){width:var(--spw-footer-col-width-tablet);gap:48px}::slotted(spw-footer-content-col):after{display:none}}@media (min-width: 1024px){::slotted(spw-footer-content-col){width:var(--spw-footer-col-width-desktop);gap:0;padding-right:48px !important;padding-left:48px !important;margin-bottom:0 !important}::slotted(spw-footer-content-col):after{display:block;top:0;bottom:auto;height:100%;width:1px}}::slotted(spw-footer-content-col:first-child){padding-left:0 !important}::slotted(spw-footer-content-col:last-child){padding-right:0 !important;margin-bottom:0 !important;padding-bottom:0 !important}::slotted(spw-footer-content-col:last-child):after{display:none}';export{n as spw_footer_content}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as n}from"./p-
|
|
1
|
+
import{r as e,h as t,H as n}from"./p-mthi2pFj.js";const s=class{constructor(t){e(this,t),this.blocks=1,this.variant="lines"}renderLines(){return Array.from({length:this.blocks},((e,n)=>{const s=n===this.blocks-1,i=1===this.blocks;return t("div",{class:{"spw-skeleton__line":!0,"spw-skeleton__line--only":i,"spw-skeleton__line--last":!i&&s,"spw-skeleton__line--even":!s&&n%2==1,"spw-skeleton__line--odd":!s&&n%2==0}})}))}renderText(){return t("div",{class:"spw-skeleton__text"},t("spw-skeleton",{variant:"lines",blocks:5}),t("div",{class:"spw-skeleton__text-block"}),t("spw-skeleton",{variant:"lines",blocks:2}))}renderArticle(){return t("div",{class:"spw-skeleton__article"},t("div",{class:"spw-skeleton__article-image"}),t("spw-skeleton",{variant:"lines",blocks:7}))}renderTextButtons(){return t("div",{class:"spw-skeleton__text-buttons"},t("spw-skeleton",{variant:"lines",blocks:3}),t("div",{class:"spw-skeleton__buttons"},t("div",{class:"spw-skeleton__button"}),t("div",{class:"spw-skeleton__button"})))}renderVariant(){switch(this.variant){case"text":return this.renderText();case"article":return this.renderArticle();case"layout":return this.renderTextButtons();default:return this.renderLines()}}render(){return t(n,{key:"1f4b1fd30ed9bacb4c4289392556fc335e3c6ba8"},t("div",{key:"d0ea662fb2ec54441a17b501d117a49ddad2a4f6",class:"spw-skeleton"},this.renderVariant(),t("slot",{key:"876008dbe7a7fad9ede29bc136b3a586acb39f39"})))}};s.style=":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-skeleton__text-block,.spw-skeleton__article-image,.spw-skeleton__button,.spw-skeleton__line{background:linear-gradient(90deg, white 0%, var(--spw-color-themes-grey-grey-300) 50%, white 100%);background-size:200% 100%;animation:shimmer 5s infinite linear}.spw-skeleton{display:flex;flex-direction:column;gap:1rem}.spw-skeleton__line{height:1rem;width:100%;border-radius:4px}.spw-skeleton__line--even{width:85%}.spw-skeleton__line--last{width:50% !important}.spw-skeleton__buttons{display:flex;align-items:center;justify-content:center;margin-top:24px;gap:24px}.spw-skeleton__button{width:200px;height:40px;border-radius:40px}.spw-skeleton__article-image{margin-bottom:24px;border-radius:8px;height:170px}.spw-skeleton__text-block{margin:24px 0;border-radius:4px;height:60px}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}";export{s as spw_skeleton}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-
|
|
1
|
+
import{r as t,h as e}from"./p-mthi2pFj.js";const i=class{constructor(e){t(this,e)}render(){return e("h3",{key:"2c308ce76ff1546b3daafeae291ca1c74635fb65",class:"spw-tile-title"},e("slot",{key:"d9fb9db754da83311865e56bc7112d645167a2be"}))}};i.style=":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}";export{i as spw_tile_title}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,a as s}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i,a as s}from"./p-mthi2pFj.js";const n=class{constructor(i){t(this,i),this.tabChanged=e(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"]'),r=((null==a?void 0:a.assignedElements({flatten:!0}))||[]).filter(n),d=((null==o?void 0:o.assignedElements({flatten:!0}))||[]).filter(n);r.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))})),d.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 i("div",{key:"190988f5dd131e58d7ff09b5129f2b7925524aea",class:this.elementClass},i("slot",{key:"970c92ec8e83b626c1879910d71b3230b29863fe",name:"navigation"}),i("slot",{key:"25cdd155d53efb0a4648f93df989ed8f873efc4f",name:"content"}))}get el(){return s(this)}static get watchers(){return{activeTab:[{activeTabChanged:0}],maxWidth:[{maxWidthChanged:0}],hasEllipsis:[{hasEllipsisChanged:0}]}}};n.style=":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}";export{n as spw_tabs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,F as s,H as a,a as o}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,F as s,H as a,a as o}from"./p-mthi2pFj.js";const n=class{constructor(e){t(this,e),this.tabSelected=i(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?e("spw-icon",{class:`spw-icon--${t}`,icon:this.icon}):null,o=this.tagText?e("spw-tag",{size:"small","has-icon":this.tagIcon?"true":"false",variant:this.tagVariant},this.tagText):null;return e(a,{key:"ea90c06c45667ba0c4d30e20eccfd8741dabb160",class:this.active?"--active":""},e("li",{key:"f663bbd2a5886fc51bf56226b16502a6a6a3d8e4",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&&e("spw-tooltip",{key:"a3138cc26e6c9591abf2b8e2f8a9ec9b26ac4e52",cursor:this.disabled?"disabled":"pointer",class:"spw-tooltip--has-ellipsis",tooltipText:this.slotText},"left"===t&&i,e("slot",{key:"49389f267d634b054b143a75bc68fc927c96d9d9"}),"right"===t&&i,o),!this.hasEllipsis&&e(s,{key:"fbf2e5254be7ff82c72404ffb05cf04939be293d"},"left"===t&&i,e("slot",{key:"76f070b9c934bed78e423bc6dd7c2d902d761f72"}),"right"===t&&i,o)," ",this.bubble&&e("span",{key:"dfedc2c79aa296c2746354a8fcedf5db9ee92a06",class:"bubble"})))}get el(){return o(this)}};n.style=':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}';export{n as spw_tabs_navigation_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a as n}from"./p-
|
|
1
|
+
import{r as e,h as t,H as i,a as n}from"./p-mthi2pFj.js";const s=class{constructor(t){e(this,t),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?t("div",{class:{"spw-timeline-item__label":!0,"spw-timeline-item__label--clickable":this.showToggle},onClick:this.showToggle?this.toggleDescription:void 0},t("span",{class:"spw-timeline-item__label-text"},this.label),this.description&&this.showToggle&&t("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 t(i,{key:"b493d9a8b296d421ae797ef37964496bf2fb69ab"},t("div",{key:"c5e414a7d865acdb0ef2b48f9c1d88a25bf3bc92",class:this.elementClass},t("div",{key:"65cce4a20321cfb6eddc021dc1d4b15f50acfd28",class:"spw-timeline-item__step"},t("div",{key:"3fdfde1054b4aa72de838801fd504f8d8ff71cf5",class:"spw-timeline-item__icon"}),e&&t("div",{key:"e6b22d7041824b6773e018830fd6bdcf1c0bf144",class:"spw-timeline-item__connector"})),t("div",{key:"261e84f06c0014ff1a83704c5925f4996335fa94",class:"spw-timeline-item__content"},this.renderLabel(),this.description&&t("div",{key:"a88601fba13e8765becef6fd4d112cdaa40762a4",class:"spw-timeline-item__description-wrapper"},t("div",{key:"935d92c2e117b3cbaa67db38041c0e816ba88d77",ref:e=>this.descriptionRef=e,class:{"spw-timeline-item__description":!0,"spw-timeline-item__description--collapsed":!this.isDescriptionExpanded}},this.description)),t("slot",{key:"0c1df233ce419fdc9bc79cafb8560bc380681362"}))))}get el(){return n(this)}};s.style=":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}";export{s as spw_timeline_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as r,a as e,H as s}from"./p-DkNryMko.js";const i=class{constructor(r){t(this,r),this.spwFocus=o(this,"spwFocus",7),this.spwBlur=o(this,"spwBlur",7),this.spwNavigate=o(this,"spwNavigate",7),this.target="_self",this.name="",this.value="",this.type="button",this.variant="primary",this.surface="default",this.disabled=!1,this.size="medium",this.isIconOnly=!1,this.iconVariant="fa-solid",this.isFullWidth=!1,this.isFullWidthMobile=!0,this.hideTextOnMobile=!1,this.isLoading=!1,this.onFocus=()=>{this.spwFocus.emit()},this.onBlur=()=>{this.spwBlur.emit()},this.onClick=t=>{if(this.disabled||this.isLoading)t.preventDefault();else{if("reset"===this.type)return t.preventDefault(),void this.resetForm();if("submit"===this.type&&!this.disabled){const o=this.form?document.getElementById(this.form):this.el.closest("form");if(o)return t.preventDefault(),void o.requestSubmit()}void 0!==this.href&&this.spwNavigate.emit(t)}}}async setFocus(){this.nativeEl&&(this.nativeEl.classList.add("--programmatic-focus"),this.nativeEl.focus(),this.nativeEl.addEventListener("blur",(()=>{var t;null===(t=this.nativeEl)||void 0===t||t.classList.remove("--programmatic-focus")}),{once:!0}))}resetForm(){const t=this.form?document.getElementById(this.form):this.el.closest("form");t&&t.reset()}get elementClass(){return{"spw-button":!0,[`spw-button--${this.variant}`]:!0,[`spw-button--surface-${this.surface}`]:!0,[`spw-button--${this.size}`]:!0,"spw-button--is-icon-only":this.isIconOnly,"spw-button--fullwidth":this.isFullWidth,"spw-button--fullwidth-mobile":this.isFullWidthMobile,"spw-button--hide-text-mobile":this.hideTextOnMobile,"spw-button--loading":this.isLoading}}render(){var t;const{type:o,download:e,form:s,href:i,rel:n,target:a,name:p,value:d}=this,l=void 0===this.href?"button":"a",b="button"===l?{type:o,form:s,name:p,value:d}:{download:e,href:i,rel:n,target:a},w=this.icon&&!this.iconPosition?"right":this.iconPosition,u=this.icon?r("spw-icon",{variant:this.iconVariant,class:`spw-icon--${w}`,icon:this.icon}):null,c=this.disabled,g=(null===(t=this.el.textContent)||void 0===t?void 0:t.trim())||null;return r(l,Object.assign({key:"ed8f5852374ec708ad5af1a77b18df8a489968c7"},b,{ref:t=>this.nativeEl=t,class:this.elementClass,disabled:c,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},{"aria-label":this.accAriaLabel||this.name||g||"Label","aria-disabled":c?"true":null}),r("div",{key:"edbe7907258f143c8f0fd6d9776b6db84362c0f0",class:"spw-button__inner"},r("div",{key:"639ff6b673925dda4d65d9a114cd8a0247d04fbf",class:"spw-button__inner-text"},"left"===w&&u,!this.isIconOnly&&r("slot",{key:"7581c17ef96947127cb0c83ae300c9a9be1a3374"}),"right"===w&&u)),r("spw-loading",{key:"6fc3822ff88b7df04508935077848fa0bcc64817",text:""}))}get el(){return e(this)}};i.style='@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:inline-block;vertical-align:top;--spw-button-font-size-small:14px;--spw-button-font-size-medium:16px;--spw-button-font-size-large:18px;--spw-button-px-small:16px;--spw-button-px-medium:20px;--spw-button-px-large:24px;--spw-button-py-small:8px;--spw-button-py-medium:12px;--spw-button-py-large:16px;--spw-button-text-decoration:none;--spw-button-text-decoration-tertiary:underline}:host([is-full-width]:not([is-full-width=false])){display:block;width:100%}@media (max-width: 767px){:host([is-full-width-mobile]:not([is-full-width-mobile=false])){display:block;width:100%}}.spw-button{border:2px solid transparent;display:block;width:100%;white-space:nowrap;border-radius:9999px;cursor:pointer;font-weight:bold;outline:3px solid transparent;overflow:hidden;transition:all 0.1s ease-in;line-height:1}.spw-button--fullwidth{width:100% !important}.spw-button--fullwidth-mobile{width:100%}@media (min-width: 768px){.spw-button--fullwidth-mobile{width:auto}}.spw-button--is-icon-only{padding-left:0 !important;padding-right:0 !important}@media (max-width: 767px){.spw-button--hide-text-mobile{padding-left:0 !important;padding-right:0 !important}.spw-button--hide-text-mobile slot{display:none}.spw-button--hide-text-mobile.spw-button--large{width:54px}.spw-button--hide-text-mobile.spw-button--medium{width:45px}.spw-button--hide-text-mobile.spw-button--small{width:35px}}.spw-button:focus-visible,.spw-button.--programmatic-focus{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black}.spw-button spw-loading{opacity:0;position:absolute;top:50%;left:50%;pointer-events:none;transform:translate(-50%, -50%);z-index:1}.spw-button--loading{position:relative;pointer-events:none}.spw-button--loading spw-loading{opacity:1}.spw-button__inner{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button__inner-text{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button--loading .spw-button__inner-text{opacity:0}.spw-button:is(a){text-decoration:var(--spw-button-text-decoration)}.spw-button--primary{background:var(--spw-ds-primary);color:var(--spw-ds-white)}.spw-button--primary:not([disabled]):hover{background:var(--spw-ds-variant)}.spw-button--primary:not([disabled]):active{background:var(--spw-ds-active)}.spw-button--primary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:white}.spw-button--secondary{background:var(--spw-color-themes-grey-grey-200);color:var(--spw-color-themes-grey-grey-900)}.spw-button--secondary:not([disabled]):hover{background:var(--spw-color-themes-grey-grey-300)}.spw-button--secondary:not([disabled]):active{background:var(--spw-color-themes-grey-grey-400)}.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--tertiary{transition:none;border-radius:4px;background:none;color:var(--spw-ds-primary);text-decoration:var(--spw-button-text-decoration-tertiary) !important;text-underline-offset:2px;white-space:normal;text-wrap:wrap;text-align:left;line-height:1.3}.spw-button--tertiary .spw-button__inner-text{justify-content:flex-start}.spw-button--tertiary:not([disabled]):hover,.spw-button--tertiary:not([disabled]):active{text-decoration-thickness:2px !important}.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-variant)}.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-active)}.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--primary[disabled],.spw-button--secondary[disabled]{background:var(--spw-color-themes-grey-grey-100)}.spw-button--tertiary[disabled]{background:none}.spw-button--primary[disabled],.spw-button--secondary[disabled],.spw-button--tertiary[disabled]{color:var(--spw-color-themes-grey-grey-400);border-color:none;cursor:not-allowed}.spw-button--surface-dark.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:transparent;background:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--primary:not([disabled]):hover{background:var(--spw-colors-support-grey-grey-300)}.spw-button--surface-dark.spw-button--primary:not([disabled]):active{background:var(--spw-colors-support-grey-grey-400)}.spw-button--surface-dark.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-800);background:var(--spw-colors-support-grey-grey-600)}.spw-button--surface-dark.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):hover{background:rgba(0, 0, 0, 0.3)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):active{background:rgba(0, 0, 0, 0.5)}.spw-button--surface-dark.spw-button--secondary[disabled]{border-color:var(--spw-colors-support-grey-grey-700);color:var(--spw-colors-support-grey-grey-700)}.spw-button--surface-dark.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-dark.spw-button--tertiary{box-shadow:none;color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover,.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{box-shadow:none}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-700)}.spw-button--surface-dark.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:transparent;background:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--primary:not([disabled]):hover{background:rgba(255, 255, 255, 0.8);border-color:transparent}.spw-button--surface-primary.spw-button--primary:not([disabled]):active{background:var(--spw-ds-white);border-color:transparent}.spw-button--surface-primary.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-700);opacity:0.5}.spw-button--surface-primary.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-primary.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):hover{background:rgba(0, 0, 0, 0.2)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):active{background:rgba(0, 0, 0, 0.3)}.spw-button--surface-primary.spw-button--secondary[disabled]{opacity:0.5}.spw-button--surface-primary.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary.spw-button--tertiary{color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-active)}.spw-button--surface-primary.spw-button--tertiary[disabled]{color:white;opacity:0.5}.spw-button--surface-primary.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-light.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-600);background:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-light.spw-button--secondary{background:transparent;color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--secondary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-colors-support-grey-grey-900);background:rgba(0, 0, 0, 0.2)}.spw-button--surface-light.spw-button--secondary:not([disabled]):active{color:white;border-color:var(--spw-colors-support-grey-grey-900);background:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--secondary[disabled]{border-color:var(--spw-colors-support-grey-grey-600);color:var(--spw-colors-support-grey-grey-600)}.spw-button--surface-light.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-light.spw-button--tertiary{color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--tertiary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-light.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-600)}.spw-button--large{font-size:var(--spw-button-font-size-large);padding:var(--spw-button-py-large) var(--spw-button-px-large)}.spw-button--large .spw-button__inner-text{gap:12px}.spw-button--large.spw-button--is-icon-only{width:54px}.spw-button--medium{font-size:var(--spw-button-font-size-medium);padding:var(--spw-button-py-medium) var(--spw-button-px-medium)}.spw-button--medium .spw-button__inner-text{gap:8px}.spw-button--medium.spw-button--is-icon-only{width:45px}.spw-button--small{font-size:var(--spw-button-font-size-small);padding:var(--spw-button-py-small) var(--spw-button-px-small)}.spw-button--small .spw-button__inner-text{gap:6px}.spw-button--small.spw-button--is-icon-only{width:35px}.spw-button--small.spw-button--tertiary,.spw-button--medium.spw-button--tertiary,.spw-button--large.spw-button--tertiary{padding:4px}';const n=class{constructor(o){t(this,o),this.text="Chargement...",this.surface="light",this.size="medium",this.orientation="horizontal"}get loadingClasses(){return{"spw-loading":!0,[`spw-loading--${this.surface}`]:!0,[`spw-loading--${this.size}`]:!0,[`spw-loading--${this.orientation}`]:!0}}render(){return r(s,{key:"a58df5877f769d59d5b152266c9a7c0289338902"},r("div",{key:"7f00313788a757c79d17b6823977ca19e9b145f6",class:this.loadingClasses},r("div",{key:"e694b921c6d56e3712081e075b2a39db2266c389",class:"spw-loading__spinner"}),this.text&&r("p",{key:"3b6fd765b02666ab0708cb25c6cd7fe4a4a8ae81",class:"spw-loading__text"},this.text)))}};n.style=":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-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading{display:flex;align-items:center}.spw-loading__spinner{width:20px;height:20px;border-radius:50%;border:4px solid var(--spw-loading-border-color);border-top-color:var(--spw-loading-spinner-color);animation:loading 1s linear infinite}@keyframes loading{to{transform:rotate(360deg)}}.spw-loading__text{font-size:14px;color:var(--spw-loading-text-color)}.spw-loading--light{--spw-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading--dark{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:var(--spw-color-themes-grey-grey-50);--spw-loading-text-color:var(--spw-color-themes-grey-grey-50)}.spw-loading--small .spw-loading__spinner{width:16px;height:16px;border-width:3px}.spw-loading--small .spw-loading__text{font-size:12px;margin-left:6px}.spw-loading--medium .spw-loading__spinner{width:20px;height:20px;border-width:4px}.spw-loading--medium .spw-loading__text{font-size:14px;margin-left:8px}.spw-loading--large .spw-loading__spinner{width:30px;height:30px;border-width:5px}.spw-loading--large .spw-loading__text{font-size:16px;margin-left:8px}.spw-loading--extra-large .spw-loading__spinner{width:36px;height:36px;border-width:6px}.spw-loading--extra-large .spw-loading__text{font-size:18px;margin-left:12px}.spw-loading--horizontal{flex-direction:row}.spw-loading--horizontal .spw-loading__text{margin-top:0}.spw-loading--vertical{flex-direction:column}.spw-loading--vertical .spw-loading__text{margin-left:0;margin-top:8px}";export{i as spw_button,n as spw_loading}
|
|
1
|
+
import{r as t,c as o,h as r,a as e,H as s}from"./p-mthi2pFj.js";const i=class{constructor(r){t(this,r),this.spwFocus=o(this,"spwFocus",7),this.spwBlur=o(this,"spwBlur",7),this.spwNavigate=o(this,"spwNavigate",7),this.target="_self",this.name="",this.value="",this.type="button",this.variant="primary",this.surface="default",this.disabled=!1,this.size="medium",this.isIconOnly=!1,this.iconVariant="fa-solid",this.isFullWidth=!1,this.isFullWidthMobile=!0,this.hideTextOnMobile=!1,this.isLoading=!1,this.onFocus=()=>{this.spwFocus.emit()},this.onBlur=()=>{this.spwBlur.emit()},this.onClick=t=>{if(this.disabled||this.isLoading)t.preventDefault();else{if("reset"===this.type)return t.preventDefault(),void this.resetForm();if("submit"===this.type&&!this.disabled){const o=this.form?document.getElementById(this.form):this.el.closest("form");if(o)return t.preventDefault(),void o.requestSubmit()}void 0!==this.href&&this.spwNavigate.emit(t)}}}async setFocus(){this.nativeEl&&(this.nativeEl.classList.add("--programmatic-focus"),this.nativeEl.focus(),this.nativeEl.addEventListener("blur",(()=>{var t;null===(t=this.nativeEl)||void 0===t||t.classList.remove("--programmatic-focus")}),{once:!0}))}resetForm(){const t=this.form?document.getElementById(this.form):this.el.closest("form");t&&t.reset()}get elementClass(){return{"spw-button":!0,[`spw-button--${this.variant}`]:!0,[`spw-button--surface-${this.surface}`]:!0,[`spw-button--${this.size}`]:!0,"spw-button--is-icon-only":this.isIconOnly,"spw-button--fullwidth":this.isFullWidth,"spw-button--fullwidth-mobile":this.isFullWidthMobile,"spw-button--hide-text-mobile":this.hideTextOnMobile,"spw-button--loading":this.isLoading}}render(){var t;const{type:o,download:e,form:s,href:i,rel:n,target:a,name:p,value:d}=this,l=void 0===this.href?"button":"a",b="button"===l?{type:o,form:s,name:p,value:d}:{download:e,href:i,rel:n,target:a},w=this.icon&&!this.iconPosition?"right":this.iconPosition,u=this.icon?r("spw-icon",{variant:this.iconVariant,class:`spw-icon--${w}`,icon:this.icon}):null,c=this.disabled,g=(null===(t=this.el.textContent)||void 0===t?void 0:t.trim())||null;return r(l,Object.assign({key:"ed8f5852374ec708ad5af1a77b18df8a489968c7"},b,{ref:t=>this.nativeEl=t,class:this.elementClass,disabled:c,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},{"aria-label":this.accAriaLabel||this.name||g||"Label","aria-disabled":c?"true":null}),r("div",{key:"edbe7907258f143c8f0fd6d9776b6db84362c0f0",class:"spw-button__inner"},r("div",{key:"639ff6b673925dda4d65d9a114cd8a0247d04fbf",class:"spw-button__inner-text"},"left"===w&&u,!this.isIconOnly&&r("slot",{key:"7581c17ef96947127cb0c83ae300c9a9be1a3374"}),"right"===w&&u)),r("spw-loading",{key:"6fc3822ff88b7df04508935077848fa0bcc64817",text:""}))}get el(){return e(this)}};i.style='@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:inline-block;vertical-align:top;--spw-button-font-size-small:14px;--spw-button-font-size-medium:16px;--spw-button-font-size-large:18px;--spw-button-px-small:16px;--spw-button-px-medium:20px;--spw-button-px-large:24px;--spw-button-py-small:8px;--spw-button-py-medium:12px;--spw-button-py-large:16px;--spw-button-text-decoration:none;--spw-button-text-decoration-tertiary:underline}:host([is-full-width]:not([is-full-width=false])){display:block;width:100%}@media (max-width: 767px){:host([is-full-width-mobile]:not([is-full-width-mobile=false])){display:block;width:100%}}.spw-button{border:2px solid transparent;display:block;width:100%;white-space:nowrap;border-radius:9999px;cursor:pointer;font-weight:bold;outline:3px solid transparent;overflow:hidden;transition:all 0.1s ease-in;line-height:1}.spw-button--fullwidth{width:100% !important}.spw-button--fullwidth-mobile{width:100%}@media (min-width: 768px){.spw-button--fullwidth-mobile{width:auto}}.spw-button--is-icon-only{padding-left:0 !important;padding-right:0 !important}@media (max-width: 767px){.spw-button--hide-text-mobile{padding-left:0 !important;padding-right:0 !important}.spw-button--hide-text-mobile slot{display:none}.spw-button--hide-text-mobile.spw-button--large{width:54px}.spw-button--hide-text-mobile.spw-button--medium{width:45px}.spw-button--hide-text-mobile.spw-button--small{width:35px}}.spw-button:focus-visible,.spw-button.--programmatic-focus{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black}.spw-button spw-loading{opacity:0;position:absolute;top:50%;left:50%;pointer-events:none;transform:translate(-50%, -50%);z-index:1}.spw-button--loading{position:relative;pointer-events:none}.spw-button--loading spw-loading{opacity:1}.spw-button__inner{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button__inner-text{display:flex;align-items:center;justify-content:center;position:relative;z-index:2}.spw-button--loading .spw-button__inner-text{opacity:0}.spw-button:is(a){text-decoration:var(--spw-button-text-decoration)}.spw-button--primary{background:var(--spw-ds-primary);color:var(--spw-ds-white)}.spw-button--primary:not([disabled]):hover{background:var(--spw-ds-variant)}.spw-button--primary:not([disabled]):active{background:var(--spw-ds-active)}.spw-button--primary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:white}.spw-button--secondary{background:var(--spw-color-themes-grey-grey-200);color:var(--spw-color-themes-grey-grey-900)}.spw-button--secondary:not([disabled]):hover{background:var(--spw-color-themes-grey-grey-300)}.spw-button--secondary:not([disabled]):active{background:var(--spw-color-themes-grey-grey-400)}.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--tertiary{transition:none;border-radius:4px;background:none;color:var(--spw-ds-primary);text-decoration:var(--spw-button-text-decoration-tertiary) !important;text-underline-offset:2px;white-space:normal;text-wrap:wrap;text-align:left;line-height:1.3}.spw-button--tertiary .spw-button__inner-text{justify-content:flex-start}.spw-button--tertiary:not([disabled]):hover,.spw-button--tertiary:not([disabled]):active{text-decoration-thickness:2px !important}.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-variant)}.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-active)}.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(0, 0, 0, 0.1);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--primary[disabled],.spw-button--secondary[disabled]{background:var(--spw-color-themes-grey-grey-100)}.spw-button--tertiary[disabled]{background:none}.spw-button--primary[disabled],.spw-button--secondary[disabled],.spw-button--tertiary[disabled]{color:var(--spw-color-themes-grey-grey-400);border-color:none;cursor:not-allowed}.spw-button--surface-dark.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:transparent;background:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--primary:not([disabled]):hover{background:var(--spw-colors-support-grey-grey-300)}.spw-button--surface-dark.spw-button--primary:not([disabled]):active{background:var(--spw-colors-support-grey-grey-400)}.spw-button--surface-dark.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-800);background:var(--spw-colors-support-grey-grey-600)}.spw-button--surface-dark.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):hover{background:rgba(0, 0, 0, 0.3)}.spw-button--surface-dark.spw-button--secondary:not([disabled]):active{background:rgba(0, 0, 0, 0.5)}.spw-button--surface-dark.spw-button--secondary[disabled]{border-color:var(--spw-colors-support-grey-grey-700);color:var(--spw-colors-support-grey-grey-700)}.spw-button--surface-dark.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-dark.spw-button--tertiary{box-shadow:none;color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover,.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{box-shadow:none}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-white)}.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-dark.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-700)}.spw-button--surface-dark.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary.spw-button--primary{color:var(--spw-colors-support-grey-grey-900);border-color:transparent;background:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--primary:not([disabled]):hover{background:rgba(255, 255, 255, 0.8);border-color:transparent}.spw-button--surface-primary.spw-button--primary:not([disabled]):active{background:var(--spw-ds-white);border-color:transparent}.spw-button--surface-primary.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-700);opacity:0.5}.spw-button--surface-primary.spw-button--primary spw-loading{--spw-loading-border-color:var(--spw-colors-support-grey-grey-300);--spw-loading-spinner-color:var(--spw-ds-primary)}.spw-button--surface-primary.spw-button--secondary{background:transparent;color:var(--spw-ds-white);border-color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):hover{background:rgba(0, 0, 0, 0.2)}.spw-button--surface-primary.spw-button--secondary:not([disabled]):active{background:rgba(0, 0, 0, 0.3)}.spw-button--surface-primary.spw-button--secondary[disabled]{opacity:0.5}.spw-button--surface-primary.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-primary.spw-button--tertiary{color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):hover{color:var(--spw-ds-white)}.spw-button--surface-primary.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-active)}.spw-button--surface-primary.spw-button--tertiary[disabled]{color:white;opacity:0.5}.spw-button--surface-primary.spw-button--tertiary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-light.spw-button--primary[disabled]{color:var(--spw-colors-support-grey-grey-600);background:var(--spw-colors-support-grey-grey-500)}.spw-button--surface-light.spw-button--secondary{background:transparent;color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--secondary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900);border-color:var(--spw-colors-support-grey-grey-900);background:rgba(0, 0, 0, 0.2)}.spw-button--surface-light.spw-button--secondary:not([disabled]):active{color:white;border-color:var(--spw-colors-support-grey-grey-900);background:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--secondary[disabled]{border-color:var(--spw-colors-support-grey-grey-600);color:var(--spw-colors-support-grey-grey-600)}.spw-button--surface-light.spw-button--secondary spw-loading{--spw-loading-border-color:rgba(255, 255, 255, 0.2);--spw-loading-spinner-color:white}.spw-button--surface-light.spw-button--tertiary{color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--tertiary:not([disabled]):hover{color:var(--spw-colors-support-grey-grey-900)}.spw-button--surface-light.spw-button--tertiary:not([disabled]):active{color:var(--spw-ds-primary)}.spw-button--surface-light.spw-button--tertiary[disabled]{color:var(--spw-colors-support-grey-grey-600)}.spw-button--large{font-size:var(--spw-button-font-size-large);padding:var(--spw-button-py-large) var(--spw-button-px-large)}.spw-button--large .spw-button__inner-text{gap:12px}.spw-button--large.spw-button--is-icon-only{width:54px}.spw-button--medium{font-size:var(--spw-button-font-size-medium);padding:var(--spw-button-py-medium) var(--spw-button-px-medium)}.spw-button--medium .spw-button__inner-text{gap:8px}.spw-button--medium.spw-button--is-icon-only{width:45px}.spw-button--small{font-size:var(--spw-button-font-size-small);padding:var(--spw-button-py-small) var(--spw-button-px-small)}.spw-button--small .spw-button__inner-text{gap:6px}.spw-button--small.spw-button--is-icon-only{width:35px}.spw-button--small.spw-button--tertiary,.spw-button--medium.spw-button--tertiary,.spw-button--large.spw-button--tertiary{padding:4px}';const n=class{constructor(o){t(this,o),this.text="Chargement...",this.surface="light",this.size="medium",this.orientation="horizontal"}get loadingClasses(){return{"spw-loading":!0,[`spw-loading--${this.surface}`]:!0,[`spw-loading--${this.size}`]:!0,[`spw-loading--${this.orientation}`]:!0}}render(){return r(s,{key:"c85777807f3c2395e10d245cfdea46f7e9f5007b"},r("div",{key:"b8f579b3ea814f7906051e9cd33c31ec80eead32",class:this.loadingClasses},r("div",{key:"be383b68c18cb591f896e43c566058fc57ec8d74",class:"spw-loading__spinner"}),this.text&&r("p",{key:"3614167062d2d0da1ec03be2fd595a61900a5ecb",class:"spw-loading__text"},this.text)))}};n.style=":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-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading{display:flex;align-items:center}.spw-loading__spinner{width:20px;height:20px;border-radius:50%;border:4px solid var(--spw-loading-border-color);border-top-color:var(--spw-loading-spinner-color);animation:loading 1s linear infinite}@keyframes loading{to{transform:rotate(360deg)}}.spw-loading__text{font-size:14px;color:var(--spw-loading-text-color)}.spw-loading--light{--spw-loading-border-color:var(--spw-color-themes-grey-grey-200);--spw-loading-spinner-color:var(--spw-ds-primary);--spw-loading-text-color:var(--spw-color-themes-grey-grey-800)}.spw-loading--dark{--spw-loading-border-color:rgba(255, 255, 255, 0.3);--spw-loading-spinner-color:var(--spw-color-themes-grey-grey-50);--spw-loading-text-color:var(--spw-color-themes-grey-grey-50)}.spw-loading--small .spw-loading__spinner{width:16px;height:16px;border-width:3px}.spw-loading--small .spw-loading__text{font-size:12px;margin-left:6px}.spw-loading--medium .spw-loading__spinner{width:20px;height:20px;border-width:4px}.spw-loading--medium .spw-loading__text{font-size:14px;margin-left:8px}.spw-loading--large .spw-loading__spinner{width:30px;height:30px;border-width:5px}.spw-loading--large .spw-loading__text{font-size:16px;margin-left:8px}.spw-loading--extra-large .spw-loading__spinner{width:36px;height:36px;border-width:6px}.spw-loading--extra-large .spw-loading__text{font-size:18px;margin-left:12px}.spw-loading--horizontal{flex-direction:row}.spw-loading--horizontal .spw-loading__text{margin-top:0}.spw-loading--vertical{flex-direction:column}.spw-loading--vertical .spw-loading__text{margin-left:0;margin-top:8px}";export{i as spw_button,n as spw_loading}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as o,h as r,a as s}from"./p-mthi2pFj.js";const c=class{constructor(r){e(this,r),this.spwChange=o(this,"spwChange",7),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.disabled=!1,this.checked=!1,this.error=!1,this.icon="fa-check",this.value="on",this.variant="default"}handleCheckbox(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked=!this.internalChecked,this.checked=this.internalChecked,this.updateFormValue(),this.spwChange.emit(this.internalChecked)}async toggleCheckedState(e){this.disabled||(this.internalChecked=e,this.checked=e,this.updateFormValue())}checkedChanged(e){this.internalChecked=e,this.inputElement.checked=e,this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}handleKeydown(e){" "!==e.key&&"Enter"!==e.key||(this.handleCheckbox(),e.preventDefault())}componentWillLoad(){this.internalChecked=this.checked,this.defaultChecked=this.checked,this.updateFormValue()}formResetCallback(){this.internalChecked=this.defaultChecked,this.checked=this.defaultChecked,this.updateFormValue()}get elementClass(){return{"spw-checkbox__wrapper":!0,[`spw-checkbox__wrapper--${this.variant}`]:!0,"spw-checkbox__wrapper--disabled":this.disabled,"spw-checkbox__wrapper--checked":this.internalChecked,"spw-checkbox__wrapper--error":this.error}}renderHiddenInput(){return r("input",{type:"checkbox",ref:e=>this.inputElement=e,checked:this.internalChecked,onChange:this.handleCheckbox.bind(this),name:this.name,disabled:this.disabled,style:{display:"none"}})}get a11yAttrs(){return{tabindex:this.disabled?-1:0,onClick:e=>this.handleCheckbox(e),onKeyDown:this.handleKeydown.bind(this),role:"checkbox","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":this.accAriaLabel||this.name||"Label"}}render(){const e=Boolean(this.el.innerHTML);return"tag"===this.variant?r("div",{class:"spw-checkbox spw-checkbox--tag"},this.renderHiddenInput(),r("div",Object.assign({},this.a11yAttrs,{class:{"spw-checkbox__tag":!0,"spw-checkbox__tag--checked":this.internalChecked,"spw-checkbox__tag--disabled":this.disabled,"spw-checkbox__tag--error":this.error}}),r("slot",null))):r("div",{class:"spw-checkbox"},this.renderHiddenInput(),e&&r("label",{htmlFor:this.name,class:"spw-checkbox__label "+(this.disabled?"spw-checkbox__label--disabled":""),onClick:e=>this.handleCheckbox(e)},r("slot",null)),r("div",Object.assign({},this.a11yAttrs,{class:this.elementClass}),this.internalChecked&&r("spw-icon",{icon:this.icon})))}static get formAssociated(){return!0}get el(){return s(this)}static get watchers(){return{checked:[{checkedChanged:0}]}}};c.style='@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:inline-flex;vertical-align:top;--spw-ds-checkbox-checked-color:var(--spw-ds-primary);--spw-ds-checkbox-checked-active-color:var(--spw-ds-active);--spw-ds-checkbox-checked-hover-color:var(--spw-ds-variant);--spw-ds-toggle-checked-color:var(--spw-color-themes-green-green-600);--spw-ds-toggle-checked-active-color:var(--spw-color-themes-green-green-700);--spw-ds-toggle-checked-hover-color:var(--spw-color-themes-green-green-800);--spw-ds-checkbox-tag-checked-background:var(--spw-colors-support-grey-grey-900);--spw-ds-checkbox-tag-checked-border-color:var(--spw-ds-checkbox-tag-checked-background);--spw-ds-checkbox-tag-checked-color:var(--spw-ds-white);--spw-ds-checkbox-tag-background:var(--spw-ds-white);--spw-ds-checkbox-tag-border-color:var(--spw-colors-support-grey-grey-300);--spw-ds-checkbox-tag-color:var(--spw-colors-support-grey-grey-900);--spw-ds-checkbox-tag-radius:999px;--spw-ds-checkbox-tag-padding:6px 10px}.spw-checkbox{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-checkbox__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-2-xs);font-size:var(--spw-typography-body-body-3-font-size);flex:none;order:0;flex-grow:0}.spw-checkbox__wrapper spw-icon{font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.spw-checkbox__wrapper--error{border-color:var(--spw-color-states-error-error-300)}.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled):focus-visible,.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled):active,.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-checkbox__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-checkbox__wrapper--checked{border-color:var(--spw-ds-checkbox-checked-color);color:var(--spw-ds-checkbox-checked-color)}.spw-checkbox__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-checkbox__wrapper--toggle{top:1px;width:30px;height:18px;border-radius:40px;border:none;background:var(--spw-color-themes-grey-grey-500);transition:background 0.2s ease}.spw-checkbox__wrapper--toggle:hover{background:var(--spw-color-themes-grey-grey-600)}.spw-checkbox__wrapper--toggle:active{background:var(--spw-color-themes-grey-grey-800)}.spw-checkbox__wrapper--toggle spw-icon{opacity:0;line-height:0;transition:all 0.2s 0.3s ease;margin-left:15px;transition:all 0.2s ease}.spw-checkbox__wrapper--toggle:before{content:"";position:absolute;width:14px;height:14px;background:white;border-radius:50%;top:50%;left:2px;transform:translateY(-50%);transition:all 0.2s ease}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle{background:var(--spw-ds-toggle-checked-color);color:var(--spw-ds-toggle-checked-color)}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle:before{left:calc(100% - 16px);background:white}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle spw-icon{font-size:10px;margin-left:6px;opacity:1}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle:not(.spw-checkbox__wrapper--disabled):hover{background:var(--spw-ds-toggle-checked-hover-color);color:var(--spw-ds-toggle-checked-hover-color)}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle:not(.spw-checkbox__wrapper--disabled):active{background:var(--spw-ds-toggle-checked-active-color);color:var(--spw-ds-toggle-checked-active-color)}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled{background:var(--spw-color-themes-grey-grey-500);color:var(--spw-color-themes-grey-grey-500)}.spw-checkbox__wrapper.spw-checkbox__wrapper--checked.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled:before{background:var(--spw-ds-white)}.spw-checkbox__wrapper.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled,.spw-checkbox__wrapper.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled.spw-checkbox__wrapper--checked{border-color:var(--spw-color-themes-grey-grey-300);background:var(--spw-color-themes-grey-grey-300)}.spw-checkbox__wrapper.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled:before,.spw-checkbox__wrapper.spw-checkbox__wrapper--toggle.spw-checkbox__wrapper--disabled.spw-checkbox__wrapper--checked:before{background:white}.spw-checkbox--tag{display:inline-flex}.spw-checkbox__tag{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;font-size:16px;padding:var(--spw-ds-checkbox-tag-padding);border-radius:var(--spw-ds-checkbox-tag-radius);border:1px solid var(--spw-ds-checkbox-tag-border-color);background:var(--spw-ds-checkbox-tag-background);color:var(--spw-ds-checkbox-tag-color);white-space:nowrap;user-select:none}.spw-checkbox__tag:not(.spw-checkbox__tag--disabled):hover{border-color:var(--spw-colors-support-grey-grey-500)}.spw-checkbox__tag:not(.spw-checkbox__tag--disabled):focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-checkbox__tag--error{border-color:var(--spw-color-states-error-error-300)}.spw-checkbox__tag--checked{background:var(--spw-ds-checkbox-tag-checked-background);border-color:var(--spw-ds-checkbox-tag-checked-border-color);color:var(--spw-ds-checkbox-tag-checked-color)}.spw-checkbox__tag--disabled{opacity:0.5;cursor:not-allowed}.spw-checkbox__tag:not(.spw-checkbox__tag--disabled){cursor:pointer}.spw-checkbox__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-checkbox__label:hover~.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-checkbox__label:active~.spw-checkbox__wrapper:not(.spw-checkbox__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-checkbox__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-checkbox__wrapper:hover,.spw-checkbox__label:hover{cursor:pointer}.spw-checkbox__wrapper--disabled:hover,.spw-checkbox__label--disabled:hover{cursor:not-allowed}';export{c as spw_checkbox}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as a,H as t,a as r}from"./p-
|
|
1
|
+
import{r as s,h as a,H as t,a as r}from"./p-mthi2pFj.js";const e=class{constructor(a){s(this,a),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const s=`--${this.variant}`;this.el.querySelectorAll("spw-card-subtag-item").forEach((a=>{a.classList.add(s),this.el.classList.contains("--highlighted")&&a.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,[`spw-card-subtags--${this.variant}`]:!0}}render(){return a(t,{key:"4addd05d03f290efa69a9fe718abd9f8ad67feab"},a("div",{key:"644824ba0e8defe2ccc8ed1df72357529c1860d5",class:this.elementClass},a("slot",{key:"757f84b690603461a4475da3e9e99a87478e631d"})))}get el(){return r(this)}};e.style=':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-card-subtags{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-card-subtags h1,spw-card-subtags h2,spw-card-subtags h3,spw-card-subtags h4,spw-card-subtags h5,spw-card-subtags h6,spw-card-subtags p,spw-card-subtags ul,spw-card-subtags li{padding:0;margin:0}spw-card-subtags ul{list-style:none}spw-card-subtags *,spw-card-subtags *::before,spw-card-subtags *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-card-subtags{}spw-card-subtags hr{box-sizing:content-box;height:0;overflow:visible;}spw-card-subtags{}spw-card-subtags pre{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags a{background-color:transparent}spw-card-subtags{}spw-card-subtags abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-card-subtags{}spw-card-subtags b,spw-card-subtags strong{font-weight:bolder}spw-card-subtags{}spw-card-subtags code,spw-card-subtags kbd,spw-card-subtags samp{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags small{font-size:80%}spw-card-subtags{}spw-card-subtags sub,spw-card-subtags sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-card-subtags sub{bottom:-0.25em}spw-card-subtags sup{top:-0.5em}spw-card-subtags{}spw-card-subtags img{border-style:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input,spw-card-subtags optgroup,spw-card-subtags select,spw-card-subtags textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input{overflow:visible}spw-card-subtags{}spw-card-subtags button,spw-card-subtags select{text-transform:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags [type=button],spw-card-subtags [type=reset],spw-card-subtags [type=submit]{-webkit-appearance:button}spw-card-subtags{}spw-card-subtags button::-moz-focus-inner,spw-card-subtags [type=button]::-moz-focus-inner,spw-card-subtags [type=reset]::-moz-focus-inner,spw-card-subtags [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-card-subtags{}spw-card-subtags button:-moz-focusring,spw-card-subtags [type=button]:-moz-focusring,spw-card-subtags [type=reset]:-moz-focusring,spw-card-subtags [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-card-subtags{}spw-card-subtags fieldset{padding:0.35em 0.75em 0.625em}spw-card-subtags{}spw-card-subtags legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-card-subtags{}spw-card-subtags progress{vertical-align:baseline}spw-card-subtags{}spw-card-subtags textarea{overflow:auto}spw-card-subtags{}spw-card-subtags [type=checkbox],spw-card-subtags [type=radio]{box-sizing:border-box;padding:0;}spw-card-subtags{}spw-card-subtags [type=number]::-webkit-inner-spin-button,spw-card-subtags [type=number]::-webkit-outer-spin-button{height:auto}spw-card-subtags{}spw-card-subtags [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-card-subtags{}spw-card-subtags [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-card-subtags{}spw-card-subtags ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-card-subtags{}spw-card-subtags details{display:block}spw-card-subtags{}spw-card-subtags summary{display:list-item}spw-card-subtags{}spw-card-subtags template{display:none}spw-card-subtags{}spw-card-subtags [hidden]{display:none}:host{display:contents}.spw-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}';export{e as spw_card_subtags}
|