@spw-ds/spw-stencil-library 1.21.2 → 1.21.3
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/CHANGELOG.md +566 -0
- package/README.md +1 -1
- package/dist/cem.json +928 -126
- package/dist/cjs/{index-BDwcdQtT.js → index-vJQ4PYrz.js} +60 -20
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion-content.cjs.entry.js +93 -0
- package/dist/cjs/spw-accordion-item.cjs.entry.js +250 -0
- package/dist/cjs/spw-accordion-title.cjs.entry.js +23 -0
- package/dist/cjs/spw-accordion.cjs.entry.js +68 -0
- package/dist/cjs/spw-alert.cjs.entry.js +2 -2
- package/dist/cjs/spw-avatar.cjs.entry.js +3 -3
- package/dist/cjs/spw-block-content.cjs.entry.js +6 -3
- package/dist/cjs/spw-box.cjs.entry.js +6 -4
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/spw-button_2.cjs.entry.js +5 -5
- package/dist/cjs/spw-card-content.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-image.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-subtags.cjs.entry.js +90 -16
- package/dist/cjs/spw-card-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-card.cjs.entry.js +22 -6
- package/dist/cjs/spw-checkbox.cjs.entry.js +36 -12
- package/dist/cjs/spw-custom-select.cjs.entry.js +47 -24
- package/dist/cjs/spw-date-picker.cjs.entry.js +58 -12
- package/dist/cjs/spw-drawer.cjs.entry.js +5 -5
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-field-label_3.cjs.entry.js +221 -0
- package/dist/cjs/spw-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-content.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-grid.cjs.entry.js +4 -4
- package/dist/cjs/spw-group.cjs.entry.js +273 -0
- package/dist/cjs/spw-header-lang.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +72 -23
- package/dist/cjs/spw-header-navigation.cjs.entry.js +167 -8
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
- package/dist/cjs/spw-header.cjs.entry.js +7 -4
- package/dist/cjs/spw-hero.cjs.entry.js +5 -5
- package/dist/cjs/{spw-field-label_8.cjs.entry.js → spw-icon.cjs.entry.js} +3 -513
- package/dist/cjs/spw-illustration.cjs.entry.js +2 -2
- package/dist/cjs/spw-input-slider.cjs.entry.js +7 -4
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +6 -6
- package/dist/cjs/spw-link.cjs.entry.js +50 -0
- package/dist/cjs/spw-list-description.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-list.cjs.entry.js +3 -3
- package/dist/cjs/spw-message.cjs.entry.js +2 -2
- package/dist/cjs/spw-modal.cjs.entry.js +5 -5
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic.cjs.entry.js +17 -3
- package/dist/cjs/spw-pagination.cjs.entry.js +12 -8
- package/dist/cjs/spw-radio.cjs.entry.js +38 -10
- package/dist/cjs/spw-scrolltop.cjs.entry.js +3 -3
- package/dist/cjs/spw-search-field.cjs.entry.js +18 -4
- package/dist/cjs/spw-select.cjs.entry.js +33 -5
- package/dist/cjs/spw-separator.cjs.entry.js +41 -0
- 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 +3 -3
- package/dist/cjs/spw-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +9 -5
- package/dist/cjs/spw-sidenav.cjs.entry.js +4 -4
- package/dist/cjs/spw-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/spw-slider-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-slider.cjs.entry.js +3 -3
- package/dist/cjs/spw-socials.cjs.entry.js +6 -3
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-container.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-head.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-header.cjs.entry.js +4 -4
- package/dist/cjs/spw-table-row.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/spw-table.cjs.entry.js +6 -4
- package/dist/cjs/spw-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +7 -3
- package/dist/cjs/spw-tabs.cjs.entry.js +3 -3
- package/dist/cjs/spw-tag.cjs.entry.js +3 -3
- package/dist/cjs/spw-text-field.cjs.entry.js +25 -7
- package/dist/cjs/spw-textarea.cjs.entry.js +18 -4
- package/dist/cjs/spw-theme-provider.cjs.entry.js +68 -0
- package/dist/cjs/spw-tile-description.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-timeline.cjs.entry.js +4 -4
- package/dist/cjs/spw-toast-controller.cjs.entry.js +7 -4
- package/dist/cjs/spw-toast.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc-container.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/spw-wizard-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-wizard.cjs.entry.js +5 -3
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +18 -7
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion.css +2 -1
- package/dist/collection/components/spw-alert/spw-alert.css +2 -1
- package/dist/collection/components/spw-avatar/spw-avatar.css +2 -1
- package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.css +25 -1
- package/dist/collection/components/spw-block-content/spw-block-content.js +24 -1
- package/dist/collection/components/spw-box/spw-box.css +5 -1
- package/dist/collection/components/spw-box/spw-box.js +24 -2
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.css +2 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +2 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
- package/dist/collection/components/spw-button/spw-button.css +5 -2
- package/dist/collection/components/spw-button/spw-button.js +1 -1
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +9 -2
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.css +2 -1
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +10 -2
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +6 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +1 -1
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +35 -3
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +128 -13
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +2 -1
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
- package/dist/collection/components/spw-card/spw-card.css +25 -1
- package/dist/collection/components/spw-card/spw-card.js +31 -11
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +41 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +79 -15
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +13 -1
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +65 -22
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +8 -1
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +156 -10
- package/dist/collection/components/spw-drawer/spw-drawer.css +2 -1
- package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +2 -1
- 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 +32 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +2 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.css +2 -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 +2 -1
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.css +2 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +48 -4
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +2 -1
- 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.css +2 -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.css +2 -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.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +2 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.css +2 -1
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +2 -1
- package/dist/collection/components/spw-group/spw-group.js +196 -2
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.css +2 -1
- 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.css +81 -3
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +226 -7
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.css +2 -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 +124 -17
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +95 -21
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +2 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.css +2 -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 +17 -1
- package/dist/collection/components/spw-header/spw-header.js +5 -2
- package/dist/collection/components/spw-hero/spw-hero.css +2 -1
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.css +2 -1
- package/dist/collection/components/spw-icon/spw-icon.js +1 -1
- package/dist/collection/components/spw-illustration/spw-illustration.css +2 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.css +13 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +25 -2
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +4 -4
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +2 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +4 -4
- package/dist/collection/components/spw-link/spw-link.css +2 -1
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.css +2 -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.css +2 -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.css +2 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.css +2 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.css +2 -1
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-message/spw-message.css +2 -1
- package/dist/collection/components/spw-modal/spw-modal.css +2 -1
- package/dist/collection/components/spw-modal/spw-modal.js +3 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +2 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.css +2 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +15 -1
- package/dist/collection/components/spw-pagination/spw-pagination.css +2 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +50 -6
- package/dist/collection/components/spw-radio/spw-radio.css +23 -1
- package/dist/collection/components/spw-radio/spw-radio.js +57 -9
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +2 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.css +2 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +136 -2
- package/dist/collection/components/spw-select/spw-select.css +11 -1
- package/dist/collection/components/spw-select/spw-select.js +51 -3
- package/dist/collection/components/spw-separator/spw-separator.css +2 -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 +2 -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 +2 -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.css +2 -1
- 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.css +2 -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 +2 -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 +2 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +47 -3
- package/dist/collection/components/spw-sidenav/spw-sidenav.css +2 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
- package/dist/collection/components/spw-skeleton/spw-skeleton.css +2 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +2 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.css +2 -1
- package/dist/collection/components/spw-slider/spw-slider.js +1 -1
- package/dist/collection/components/spw-socials/spw-socials.css +2 -1
- package/dist/collection/components/spw-socials/spw-socials.js +24 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.css +2 -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.css +2 -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.css +2 -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.css +2 -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.css +2 -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.css +2 -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.css +2 -1
- 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.css +2 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-table/spw-table.css +2 -1
- package/dist/collection/components/spw-table/spw-table.js +24 -2
- package/dist/collection/components/spw-tabs/spw-tabs-content/spw-tabs-content.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +45 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +2 -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.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.css +2 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +8 -1
- package/dist/collection/components/spw-text-field/spw-text-field.js +63 -5
- package/dist/collection/components/spw-textarea/spw-textarea.css +8 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +36 -2
- 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.css +5 -2
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +2 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.css +2 -1
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.js +26 -3
- package/dist/collection/components/spw-toast/spw-toast.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.css +2 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +2 -2
- package/dist/collection/components/spw-topbar/spw-topbar.css +2 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.css +2 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.css +2 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +23 -1
- package/dist/collection/css/fonts.css +864 -0
- package/dist/collection/css/icons.css +9 -0
- package/dist/collection/css/themes/_base.css +41 -0
- package/dist/collection/css/themes/bleu-clair.css +11 -0
- package/dist/collection/css/themes/bleu.css +11 -0
- package/dist/collection/css/themes/gris.css +11 -0
- package/dist/collection/css/themes/indigo.css +11 -0
- package/dist/collection/css/themes/mauve.css +11 -0
- package/dist/collection/css/themes/orange.css +11 -0
- package/dist/collection/css/themes/rouge.css +14 -0
- package/dist/collection/css/themes/turquoise.css +11 -0
- package/dist/collection/css/themes/vert-leger.css +11 -0
- package/dist/collection/css/themes/vert.css +11 -0
- package/dist/collection/css/tokens.css +721 -0
- package/dist/collection/css/utils.css +1 -0
- package/dist/collection/stories/components/spw-block-content/spw-block-content.stories.js +182 -2
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +2 -2
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +56 -0
- package/dist/collection/stories/components/spw-custom-select/spw-custom-select.stories.js +26 -0
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +13 -0
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +13 -0
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +18 -0
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +31 -0
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +19 -0
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +13 -0
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +18 -0
- package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +37 -0
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +38 -0
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +157 -2
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +42 -0
- package/dist/collection/testing/style-stub.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-4VcELDQx.js +1 -0
- package/dist/components/p-B_uTDHcA.js +1 -0
- package/dist/components/{p-DDp6luzB.js → p-BdZPkl4n.js} +1 -1
- package/dist/components/p-BonxooHw.js +1 -0
- package/dist/components/p-CYiD2nJQ.js +1 -0
- package/dist/components/p-CfKmweJx.js +1 -0
- package/dist/components/p-DAWB0-pG.js +1 -0
- package/dist/components/p-DH2MpBfs.js +1 -0
- package/dist/components/p-DMt00wg0.js +1 -0
- package/dist/components/p-DYHvVRuS.js +1 -0
- package/dist/components/p-DmF2QI5Y.js +1 -0
- package/dist/components/p-Ke4rAvq5.js +1 -0
- package/dist/components/p-NPhS3jQG.js +1 -0
- package/dist/components/p-xh5qpjPi.js +1 -0
- package/dist/components/spw-accordion-content.js +1 -1
- package/dist/components/spw-accordion-item.js +1 -1
- package/dist/components/spw-accordion-title.js +1 -1
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-alert.js +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-box.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-breadcrumb.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-content.js +1 -1
- package/dist/components/spw-card-excerpt.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-card-subtag-item.js +1 -1
- package/dist/components/spw-card-subtags.js +1 -1
- package/dist/components/spw-card-title.js +1 -1
- package/dist/components/spw-card.js +1 -1
- package/dist/components/spw-checkbox.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-icon.js +1 -1
- package/dist/components/spw-illustration.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-table.js +1 -1
- package/dist/components/spw-tabs-content.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toast-controller.js +1 -1
- package/dist/components/spw-toast.js +1 -1
- package/dist/components/spw-toc-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 +1426 -242
- package/dist/esm/{index-BVePqxpd.js → index-BTkpN1hH.js} +60 -21
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion-content.entry.js +91 -0
- package/dist/esm/spw-accordion-item.entry.js +248 -0
- package/dist/esm/spw-accordion-title.entry.js +21 -0
- package/dist/esm/spw-accordion.entry.js +66 -0
- package/dist/esm/spw-alert.entry.js +2 -2
- package/dist/esm/spw-avatar.entry.js +3 -3
- package/dist/esm/spw-block-content.entry.js +6 -3
- package/dist/esm/spw-box.entry.js +6 -4
- package/dist/esm/spw-breadcrumb-item.entry.js +3 -3
- package/dist/esm/spw-breadcrumb.entry.js +3 -3
- package/dist/esm/spw-button_2.entry.js +5 -5
- package/dist/esm/spw-card-content.entry.js +3 -3
- package/dist/esm/spw-card-excerpt.entry.js +3 -3
- package/dist/esm/spw-card-image.entry.js +3 -3
- package/dist/esm/spw-card-subtag-item.entry.js +3 -3
- package/dist/esm/spw-card-subtags.entry.js +90 -16
- package/dist/esm/spw-card-title.entry.js +3 -3
- package/dist/esm/spw-card.entry.js +22 -6
- package/dist/esm/spw-checkbox.entry.js +36 -12
- package/dist/esm/spw-custom-select.entry.js +47 -24
- package/dist/esm/spw-date-picker.entry.js +58 -12
- package/dist/esm/spw-drawer.entry.js +5 -5
- package/dist/esm/spw-dropdown-container.entry.js +3 -3
- package/dist/esm/spw-dropdown-item.entry.js +3 -3
- package/dist/esm/spw-dropdown.entry.js +3 -3
- package/dist/esm/spw-field-label_3.entry.js +217 -0
- package/dist/esm/spw-file-upload.entry.js +10 -6
- package/dist/esm/spw-footer-bottom.entry.js +3 -3
- package/dist/esm/spw-footer-content-col.entry.js +3 -3
- package/dist/esm/spw-footer-content.entry.js +3 -3
- package/dist/esm/spw-footer-link.entry.js +3 -3
- package/dist/esm/spw-footer.entry.js +3 -3
- package/dist/esm/spw-grid-item.entry.js +4 -4
- package/dist/esm/spw-grid.entry.js +4 -4
- package/dist/esm/spw-group.entry.js +271 -0
- package/dist/esm/spw-header-lang.entry.js +3 -3
- package/dist/esm/spw-header-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-header-navigation-item.entry.js +72 -23
- package/dist/esm/spw-header-navigation.entry.js +167 -8
- package/dist/esm/spw-header-persona-item.entry.js +3 -3
- package/dist/esm/spw-header-persona.entry.js +2 -2
- package/dist/esm/spw-header.entry.js +7 -4
- package/dist/esm/spw-hero.entry.js +5 -5
- package/dist/esm/{spw-field-label_8.entry.js → spw-icon.entry.js} +4 -507
- package/dist/esm/spw-illustration.entry.js +2 -2
- package/dist/esm/spw-input-slider.entry.js +7 -4
- package/dist/esm/spw-lightbox-item.entry.js +3 -3
- package/dist/esm/spw-lightbox.entry.js +6 -6
- package/dist/esm/spw-link.entry.js +48 -0
- package/dist/esm/spw-list-description.entry.js +3 -3
- package/dist/esm/spw-list-item.entry.js +3 -3
- package/dist/esm/spw-list-title.entry.js +3 -3
- package/dist/esm/spw-list.entry.js +3 -3
- package/dist/esm/spw-message.entry.js +2 -2
- package/dist/esm/spw-modal.entry.js +5 -5
- package/dist/esm/spw-mosaic-item.entry.js +3 -3
- package/dist/esm/spw-mosaic.entry.js +17 -3
- package/dist/esm/spw-pagination.entry.js +12 -8
- package/dist/esm/spw-radio.entry.js +38 -10
- package/dist/esm/spw-scrolltop.entry.js +3 -3
- package/dist/esm/spw-search-field.entry.js +18 -4
- package/dist/esm/spw-select.entry.js +33 -5
- package/dist/esm/spw-separator.entry.js +39 -0
- 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 +3 -3
- package/dist/esm/spw-sidebar.entry.js +3 -3
- package/dist/esm/spw-sidenav-group.entry.js +4 -4
- package/dist/esm/spw-sidenav-item.entry.js +9 -5
- package/dist/esm/spw-sidenav.entry.js +4 -4
- package/dist/esm/spw-skeleton.entry.js +3 -3
- package/dist/esm/spw-slider-item.entry.js +3 -3
- package/dist/esm/spw-slider.entry.js +3 -3
- package/dist/esm/spw-socials.entry.js +6 -3
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +3 -3
- package/dist/esm/spw-table-cell.entry.js +3 -3
- package/dist/esm/spw-table-container.entry.js +3 -3
- package/dist/esm/spw-table-footer.entry.js +3 -3
- package/dist/esm/spw-table-head.entry.js +3 -3
- package/dist/esm/spw-table-header.entry.js +4 -4
- package/dist/esm/spw-table-row.entry.js +3 -3
- package/dist/esm/spw-table-sidebar.entry.js +3 -3
- package/dist/esm/spw-table.entry.js +6 -4
- package/dist/esm/spw-tabs-content.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation-item.entry.js +3 -3
- package/dist/esm/spw-tabs-navigation.entry.js +7 -3
- package/dist/esm/spw-tabs.entry.js +3 -3
- package/dist/esm/spw-tag.entry.js +3 -3
- package/dist/esm/spw-text-field.entry.js +25 -7
- package/dist/esm/spw-textarea.entry.js +18 -4
- package/dist/esm/spw-theme-provider.entry.js +66 -0
- package/dist/esm/spw-tile-description.entry.js +3 -3
- package/dist/esm/spw-tile-title.entry.js +3 -3
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +4 -4
- package/dist/esm/spw-timeline.entry.js +4 -4
- package/dist/esm/spw-toast-controller.entry.js +7 -4
- package/dist/esm/spw-toast.entry.js +2 -2
- package/dist/esm/spw-toc-container.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/spw-wizard-item.entry.js +3 -3
- package/dist/esm/spw-wizard.entry.js +5 -3
- package/dist/spw-stencil-library/assets/images/mockup.png +0 -0
- package/dist/spw-stencil-library/css/fonts.css +864 -0
- package/dist/spw-stencil-library/css/icons.css +9 -0
- package/dist/spw-stencil-library/css/themes/_base.css +41 -0
- package/dist/spw-stencil-library/css/themes/bleu-clair.css +11 -0
- package/dist/spw-stencil-library/css/themes/bleu.css +11 -0
- package/dist/spw-stencil-library/css/themes/gris.css +11 -0
- package/dist/spw-stencil-library/css/themes/indigo.css +11 -0
- package/dist/spw-stencil-library/css/themes/mauve.css +11 -0
- package/dist/spw-stencil-library/css/themes/orange.css +11 -0
- package/dist/spw-stencil-library/css/themes/rouge.css +14 -0
- package/dist/spw-stencil-library/css/themes/turquoise.css +11 -0
- package/dist/spw-stencil-library/css/themes/vert-leger.css +11 -0
- package/dist/spw-stencil-library/css/themes/vert.css +11 -0
- package/dist/spw-stencil-library/css/tokens.css +721 -0
- package/dist/spw-stencil-library/css/utils.css +1 -0
- package/dist/spw-stencil-library/p-04e147ed.entry.js +1 -0
- package/dist/spw-stencil-library/p-050e5e47.entry.js +1 -0
- package/dist/spw-stencil-library/p-063cd841.entry.js +1 -0
- package/dist/spw-stencil-library/p-06e67980.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d2728fbf.entry.js → p-0f90fabe.entry.js} +1 -1
- package/dist/spw-stencil-library/p-10b725f0.entry.js +1 -0
- package/dist/spw-stencil-library/p-10fafb8d.entry.js +1 -0
- package/dist/spw-stencil-library/p-128e42d0.entry.js +1 -0
- package/dist/spw-stencil-library/p-1454ed61.entry.js +1 -0
- package/dist/spw-stencil-library/p-1d78cdf1.entry.js +1 -0
- package/dist/spw-stencil-library/p-1e3d3d60.entry.js +1 -0
- package/dist/spw-stencil-library/p-1e8d631d.entry.js +1 -0
- package/dist/spw-stencil-library/p-1ef0188c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-05b86707.entry.js → p-2185360c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-23e5a517.entry.js +1 -0
- package/dist/spw-stencil-library/p-24abc948.entry.js +1 -0
- package/dist/spw-stencil-library/p-28057ba5.entry.js +1 -0
- package/dist/spw-stencil-library/p-2943e580.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6e4163fc.entry.js → p-2c1b1587.entry.js} +1 -1
- package/dist/spw-stencil-library/p-2c21e719.entry.js +1 -0
- package/dist/spw-stencil-library/p-2c35d983.entry.js +1 -0
- package/dist/spw-stencil-library/p-2c3a8493.entry.js +1 -0
- package/dist/spw-stencil-library/p-2e1b1270.entry.js +1 -0
- package/dist/spw-stencil-library/p-306d80ad.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6e2443a7.entry.js → p-30f6c5ce.entry.js} +1 -1
- package/dist/spw-stencil-library/p-31f6083c.entry.js +1 -0
- package/dist/spw-stencil-library/p-3947b8f6.entry.js +1 -0
- package/dist/spw-stencil-library/p-3ae6e273.entry.js +1 -0
- package/dist/spw-stencil-library/p-3b3f2967.entry.js +1 -0
- package/dist/spw-stencil-library/p-42a2c24e.entry.js +1 -0
- package/dist/spw-stencil-library/p-4384a9ff.entry.js +1 -0
- package/dist/spw-stencil-library/p-454c8a0d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ba7efcae.entry.js → p-45cf1d86.entry.js} +1 -1
- package/dist/spw-stencil-library/p-45fa940e.entry.js +1 -0
- package/dist/spw-stencil-library/p-4a02cb72.entry.js +1 -0
- package/dist/spw-stencil-library/p-4ae54c87.entry.js +1 -0
- package/dist/spw-stencil-library/p-4d8ddcc1.entry.js +1 -0
- package/dist/spw-stencil-library/p-4daa95d2.entry.js +1 -0
- package/dist/spw-stencil-library/p-53a42df7.entry.js +1 -0
- package/dist/spw-stencil-library/p-576676b5.entry.js +1 -0
- package/dist/spw-stencil-library/p-5ad022d8.entry.js +1 -0
- package/dist/spw-stencil-library/p-5b3d4d15.entry.js +1 -0
- package/dist/spw-stencil-library/p-5b52b955.entry.js +1 -0
- package/dist/spw-stencil-library/p-62bbc714.entry.js +1 -0
- package/dist/spw-stencil-library/p-66df1a03.entry.js +1 -0
- package/dist/spw-stencil-library/p-671086ef.entry.js +1 -0
- package/dist/spw-stencil-library/p-6712f21e.entry.js +1 -0
- package/dist/spw-stencil-library/p-6b664265.entry.js +1 -0
- package/dist/spw-stencil-library/p-6e895121.entry.js +1 -0
- package/dist/spw-stencil-library/p-70cab89a.entry.js +1 -0
- package/dist/spw-stencil-library/p-758b2ce6.entry.js +1 -0
- package/dist/spw-stencil-library/p-760b0155.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7a8950af.entry.js → p-77e31cbd.entry.js} +1 -1
- package/dist/spw-stencil-library/p-78e5f379.entry.js +1 -0
- package/dist/spw-stencil-library/p-79520f1b.entry.js +1 -0
- package/dist/spw-stencil-library/p-79740a33.entry.js +1 -0
- package/dist/spw-stencil-library/p-7a127906.entry.js +1 -0
- package/dist/spw-stencil-library/p-7ab60fcf.entry.js +1 -0
- package/dist/spw-stencil-library/p-86561e12.entry.js +1 -0
- package/dist/spw-stencil-library/p-883d0bbd.entry.js +1 -0
- package/dist/spw-stencil-library/p-894db58f.entry.js +1 -0
- package/dist/spw-stencil-library/p-8ebf9cc4.entry.js +1 -0
- package/dist/spw-stencil-library/p-954ebcd1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-86d568ef.entry.js → p-99aaf573.entry.js} +1 -1
- package/dist/spw-stencil-library/p-9d00a74e.entry.js +1 -0
- package/dist/spw-stencil-library/p-9f5a2163.entry.js +1 -0
- package/dist/spw-stencil-library/{p-BVePqxpd.js → p-BTkpN1hH.js} +2 -2
- package/dist/spw-stencil-library/p-a40b3ca1.entry.js +1 -0
- package/dist/spw-stencil-library/p-a540bbc3.entry.js +1 -0
- package/dist/spw-stencil-library/p-a68614f3.entry.js +1 -0
- package/dist/spw-stencil-library/p-a96527b6.entry.js +1 -0
- package/dist/spw-stencil-library/p-a99b468a.entry.js +1 -0
- package/dist/spw-stencil-library/p-a9c3a7f4.entry.js +1 -0
- package/dist/spw-stencil-library/{p-662bf57f.entry.js → p-ad835c3f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ae06eeae.entry.js +1 -0
- package/dist/spw-stencil-library/p-b54e805f.entry.js +1 -0
- package/dist/spw-stencil-library/p-b6ee7aea.entry.js +1 -0
- package/dist/spw-stencil-library/p-b7a132fc.entry.js +1 -0
- package/dist/spw-stencil-library/p-ba5cadb3.entry.js +1 -0
- package/dist/spw-stencil-library/p-bbf67998.entry.js +1 -0
- package/dist/spw-stencil-library/p-be144fb2.entry.js +1 -0
- package/dist/spw-stencil-library/p-c16bebef.entry.js +1 -0
- package/dist/spw-stencil-library/p-c6e2db09.entry.js +1 -0
- package/dist/spw-stencil-library/{p-66e01eb2.entry.js → p-c875327d.entry.js} +4 -4
- package/dist/spw-stencil-library/p-c961e98d.entry.js +1 -0
- package/dist/spw-stencil-library/p-d07d18b9.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fc477204.entry.js → p-d259b0ec.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d50b3a7d.entry.js +1 -0
- package/dist/spw-stencil-library/p-d72b839e.entry.js +1 -0
- package/dist/{components/p-CprwnPcB.js → spw-stencil-library/p-d867d0a0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-db87acf8.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c407865a.entry.js → p-dbd24548.entry.js} +1 -1
- package/dist/spw-stencil-library/p-dbffe115.entry.js +1 -0
- package/dist/spw-stencil-library/p-df91acd8.entry.js +1 -0
- package/dist/{components/p-DetVZmjO.js → spw-stencil-library/p-e35a7aac.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e4c16f42.entry.js +1 -0
- package/dist/spw-stencil-library/p-eb3f1447.entry.js +1 -0
- package/dist/spw-stencil-library/p-ec88052d.entry.js +1 -0
- package/dist/spw-stencil-library/p-ecdf1acc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0b05f68a.entry.js → p-ed8baa0b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f08dc701.entry.js +1 -0
- package/dist/spw-stencil-library/p-f380893d.entry.js +1 -0
- package/dist/spw-stencil-library/p-f5a404da.entry.js +1 -0
- package/dist/spw-stencil-library/p-fa054765.entry.js +1 -0
- package/dist/spw-stencil-library/p-fa71b2de.entry.js +1 -0
- 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 +23397 -21090
- package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +2 -0
- package/dist/types/components/spw-block-content/spw-block-content.d.ts +2 -0
- package/dist/types/components/spw-box/spw-box.d.ts +2 -0
- package/dist/types/components/spw-card/spw-card-subtags/spw-card-subtags.d.ts +16 -2
- package/dist/types/components/spw-card/spw-card.d.ts +11 -3
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +10 -2
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +3 -0
- package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +12 -0
- package/dist/types/components/spw-file-upload/spw-file-upload.d.ts +4 -0
- package/dist/types/components/spw-group/spw-group.d.ts +19 -0
- package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +27 -1
- package/dist/types/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.d.ts +13 -1
- package/dist/types/components/spw-input-slider/spw-input-slider.d.ts +2 -0
- package/dist/types/components/spw-mosaic/spw-mosaic.d.ts +3 -0
- package/dist/types/components/spw-pagination/spw-pagination.d.ts +4 -0
- package/dist/types/components/spw-radio/spw-radio.d.ts +7 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +12 -0
- package/dist/types/components/spw-select/spw-select.d.ts +6 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +4 -0
- package/dist/types/components/spw-socials/spw-socials.d.ts +2 -0
- package/dist/types/components/spw-table/spw-table.d.ts +2 -0
- package/dist/types/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.d.ts +4 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +6 -0
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +4 -0
- package/dist/types/components/spw-toast/spw-toast-controller/spw-toast-controller.d.ts +3 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +478 -74
- package/dist/types/stories/components/spw-block-content/spw-block-content.stories.d.ts +4 -0
- package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +3 -0
- package/dist/types/stories/components/spw-custom-select/spw-custom-select.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-date-picker/spw-date-picker.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-input-slider/spw-input-slider.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-search-field/spw-search-field.stories.d.ts +3 -1
- package/dist/types/stories/components/spw-select/spw-select.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-text-field/spw-text-field.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-textarea/spw-textarea.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-card/spw-card.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +3 -1
- package/dist/types/stories/organisms/spw-lightbox/spw-lightbox.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-slider/spw-slider.stories.d.ts +1 -0
- package/dist/types/testing/style-stub.d.ts +2 -0
- package/hydrate/index.js +1072 -440
- package/hydrate/index.mjs +1072 -440
- package/package.json +34 -4
- package/dist/cjs/spw-accordion_4.cjs.entry.js +0 -411
- package/dist/cjs/spw-cookies.cjs.entry.js +0 -84
- package/dist/collection/components/spw-cookies/spw-cookies.css +0 -431
- package/dist/collection/components/spw-cookies/spw-cookies.js +0 -177
- package/dist/components/p-8ORCgRs0.js +0 -1
- package/dist/components/p-BamUR6Ir.js +0 -1
- package/dist/components/p-Bj0f5RYL.js +0 -1
- package/dist/components/p-BlDHsTAs.js +0 -1
- package/dist/components/p-CTwPJpJk.js +0 -1
- package/dist/components/p-DP2zzHK_.js +0 -1
- package/dist/components/p-DmD0U8OW.js +0 -1
- package/dist/components/p-DswuxcGK.js +0 -1
- package/dist/components/p-H_k5I58H.js +0 -1
- package/dist/components/p-N9GtuZLt.js +0 -1
- package/dist/components/p-bb7Wex4w.js +0 -1
- package/dist/components/p-kCxgPsVs.js +0 -1
- package/dist/components/p-xv_G2g8V.js +0 -1
- package/dist/components/p-yXpAcpXR.js +0 -1
- package/dist/components/spw-cookies.d.ts +0 -11
- package/dist/components/spw-cookies.js +0 -1
- package/dist/components_vscode.json +0 -5969
- package/dist/esm/spw-accordion_4.entry.js +0 -406
- package/dist/esm/spw-cookies.entry.js +0 -82
- package/dist/spw-stencil-library/p-014dcde0.entry.js +0 -1
- package/dist/spw-stencil-library/p-07eeb1e1.entry.js +0 -1
- package/dist/spw-stencil-library/p-081ef5be.entry.js +0 -1
- package/dist/spw-stencil-library/p-0974b5ad.entry.js +0 -1
- package/dist/spw-stencil-library/p-0a4c7350.entry.js +0 -1
- package/dist/spw-stencil-library/p-0c8b8bda.entry.js +0 -1
- package/dist/spw-stencil-library/p-1551cafd.entry.js +0 -1
- package/dist/spw-stencil-library/p-17c560a7.entry.js +0 -1
- package/dist/spw-stencil-library/p-1cafabcb.entry.js +0 -1
- package/dist/spw-stencil-library/p-1d89f70b.entry.js +0 -1
- package/dist/spw-stencil-library/p-23eea80a.entry.js +0 -1
- package/dist/spw-stencil-library/p-281cdb3e.entry.js +0 -1
- package/dist/spw-stencil-library/p-2a044996.entry.js +0 -1
- package/dist/spw-stencil-library/p-2f8ddf71.entry.js +0 -1
- package/dist/spw-stencil-library/p-34dcb37c.entry.js +0 -1
- package/dist/spw-stencil-library/p-35f8a54f.entry.js +0 -1
- package/dist/spw-stencil-library/p-3b734796.entry.js +0 -1
- package/dist/spw-stencil-library/p-3dabbc2b.entry.js +0 -1
- package/dist/spw-stencil-library/p-3eabee42.entry.js +0 -1
- package/dist/spw-stencil-library/p-4016c0b3.entry.js +0 -1
- package/dist/spw-stencil-library/p-4319494b.entry.js +0 -1
- package/dist/spw-stencil-library/p-435faf37.entry.js +0 -1
- package/dist/spw-stencil-library/p-46b1ac2f.entry.js +0 -1
- package/dist/spw-stencil-library/p-497fceb3.entry.js +0 -1
- package/dist/spw-stencil-library/p-4b17b100.entry.js +0 -1
- package/dist/spw-stencil-library/p-4ededdbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-50fa07aa.entry.js +0 -1
- package/dist/spw-stencil-library/p-5420e253.entry.js +0 -1
- package/dist/spw-stencil-library/p-55ba4165.entry.js +0 -1
- package/dist/spw-stencil-library/p-56a7d3c3.entry.js +0 -1
- package/dist/spw-stencil-library/p-5a40cfb3.entry.js +0 -1
- package/dist/spw-stencil-library/p-69b136c2.entry.js +0 -1
- package/dist/spw-stencil-library/p-6c7f1b3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-6fbde272.entry.js +0 -1
- package/dist/spw-stencil-library/p-73ae85cc.entry.js +0 -1
- package/dist/spw-stencil-library/p-74a1dfe7.entry.js +0 -1
- package/dist/spw-stencil-library/p-75ca8560.entry.js +0 -1
- package/dist/spw-stencil-library/p-763e5fb6.entry.js +0 -1
- package/dist/spw-stencil-library/p-76d48ad8.entry.js +0 -1
- package/dist/spw-stencil-library/p-785c51b6.entry.js +0 -1
- package/dist/spw-stencil-library/p-7ae66351.entry.js +0 -1
- package/dist/spw-stencil-library/p-80b5b9c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-80e64a77.entry.js +0 -1
- package/dist/spw-stencil-library/p-83fc4518.entry.js +0 -1
- package/dist/spw-stencil-library/p-847a147f.entry.js +0 -1
- package/dist/spw-stencil-library/p-853a90d8.entry.js +0 -1
- package/dist/spw-stencil-library/p-861d8fa6.entry.js +0 -1
- package/dist/spw-stencil-library/p-87777c3a.entry.js +0 -1
- package/dist/spw-stencil-library/p-879bdc6c.entry.js +0 -1
- package/dist/spw-stencil-library/p-87c1e331.entry.js +0 -1
- package/dist/spw-stencil-library/p-8a12fbbc.entry.js +0 -1
- package/dist/spw-stencil-library/p-9852ad6c.entry.js +0 -1
- package/dist/spw-stencil-library/p-9a52727e.entry.js +0 -1
- package/dist/spw-stencil-library/p-9b399583.entry.js +0 -1
- package/dist/spw-stencil-library/p-9e7445bd.entry.js +0 -1
- package/dist/spw-stencil-library/p-a1ab16e7.entry.js +0 -1
- package/dist/spw-stencil-library/p-a2f3f972.entry.js +0 -1
- package/dist/spw-stencil-library/p-a689da13.entry.js +0 -1
- package/dist/spw-stencil-library/p-a69e57df.entry.js +0 -1
- package/dist/spw-stencil-library/p-a730805c.entry.js +0 -1
- package/dist/spw-stencil-library/p-ab07e0b0.entry.js +0 -1
- package/dist/spw-stencil-library/p-ab24e63c.entry.js +0 -1
- package/dist/spw-stencil-library/p-bd56da25.entry.js +0 -1
- package/dist/spw-stencil-library/p-c077bc8d.entry.js +0 -1
- package/dist/spw-stencil-library/p-c12c4536.entry.js +0 -1
- package/dist/spw-stencil-library/p-ccdd5504.entry.js +0 -1
- package/dist/spw-stencil-library/p-d4c22b9f.entry.js +0 -1
- package/dist/spw-stencil-library/p-d597f8dc.entry.js +0 -1
- package/dist/spw-stencil-library/p-d869a185.entry.js +0 -1
- package/dist/spw-stencil-library/p-daa6257d.entry.js +0 -1
- package/dist/spw-stencil-library/p-dc287751.entry.js +0 -1
- package/dist/spw-stencil-library/p-de134d10.entry.js +0 -1
- package/dist/spw-stencil-library/p-e34f57e6.entry.js +0 -1
- package/dist/spw-stencil-library/p-e8f10b82.entry.js +0 -1
- package/dist/spw-stencil-library/p-ea73dc92.entry.js +0 -1
- package/dist/spw-stencil-library/p-eb8f3216.entry.js +0 -1
- package/dist/spw-stencil-library/p-edbba249.entry.js +0 -1
- package/dist/spw-stencil-library/p-ee2d2e3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-f22c8347.entry.js +0 -1
- package/dist/spw-stencil-library/p-f2d1b557.entry.js +0 -1
- package/dist/spw-stencil-library/p-f37c9c51.entry.js +0 -1
- package/dist/spw-stencil-library/p-f7ed1474.entry.js +0 -1
- package/dist/spw-stencil-library/p-fbff4e05.entry.js +0 -1
- package/dist/spw-stencil-library/p-fd814c2d.entry.js +0 -1
- package/dist/spw-stencil-library/p-ffbd0ef5.entry.js +0 -1
- package/dist/types/components/spw-cookies/spw-cookies.d.ts +0 -21
|
@@ -1,431 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--spw-ds-container-xl: 1200px;
|
|
3
|
-
--spw-ds-container-lg: 1024px;
|
|
4
|
-
--spw-ds-container-md: 768px;
|
|
5
|
-
--spw-ds-container-sm: 640px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.spw-ds-container {
|
|
9
|
-
width: 100%;
|
|
10
|
-
padding-left: 16px;
|
|
11
|
-
padding-right: 16px;
|
|
12
|
-
margin-left: auto;
|
|
13
|
-
margin-right: auto;
|
|
14
|
-
}
|
|
15
|
-
@media (min-width: 360px) {
|
|
16
|
-
.spw-ds-container {
|
|
17
|
-
max-width: var(--spw-ds-container-sm);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
@media (min-width: 768px) {
|
|
21
|
-
.spw-ds-container {
|
|
22
|
-
max-width: var(--spw-ds-container-md);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
@media (min-width: 1024px) {
|
|
26
|
-
.spw-ds-container {
|
|
27
|
-
max-width: var(--spw-ds-container-lg);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
@media (min-width: 1200px) {
|
|
31
|
-
.spw-ds-container {
|
|
32
|
-
max-width: var(--spw-ds-container-xl);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
37
|
-
/* Document
|
|
38
|
-
========================================================================== */
|
|
39
|
-
/**
|
|
40
|
-
* 1. Correct the line height in all browsers.
|
|
41
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
42
|
-
*/
|
|
43
|
-
html {
|
|
44
|
-
line-height: 1.3; /* 1 */
|
|
45
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h1,
|
|
49
|
-
h2,
|
|
50
|
-
h3,
|
|
51
|
-
h4,
|
|
52
|
-
h5,
|
|
53
|
-
h6,
|
|
54
|
-
p,
|
|
55
|
-
ul,
|
|
56
|
-
li {
|
|
57
|
-
padding: 0;
|
|
58
|
-
margin: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
ul {
|
|
62
|
-
list-style: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
:host {
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
line-height: 1.3;
|
|
68
|
-
-webkit-text-size-adjust: 100%;
|
|
69
|
-
font-size: 100%;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host *,
|
|
73
|
-
:host *::before,
|
|
74
|
-
:host *::after {
|
|
75
|
-
box-sizing: inherit;
|
|
76
|
-
font-family: var(--spw-ds-font-main);
|
|
77
|
-
letter-spacing: -0.18px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Sections
|
|
81
|
-
========================================================================== */
|
|
82
|
-
/**
|
|
83
|
-
* Remove the margin in all browsers.
|
|
84
|
-
*/
|
|
85
|
-
body {
|
|
86
|
-
margin: 0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Grouping content
|
|
90
|
-
========================================================================== */
|
|
91
|
-
/**
|
|
92
|
-
* 1. Add the correct box sizing in Firefox.
|
|
93
|
-
* 2. Show the overflow in Edge and IE.
|
|
94
|
-
*/
|
|
95
|
-
hr {
|
|
96
|
-
box-sizing: content-box; /* 1 */
|
|
97
|
-
height: 0; /* 1 */
|
|
98
|
-
overflow: visible; /* 2 */
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
103
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
104
|
-
*/
|
|
105
|
-
pre {
|
|
106
|
-
font-family: monospace, monospace; /* 1 */
|
|
107
|
-
font-size: 1em; /* 2 */
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* Text-level semantics
|
|
111
|
-
========================================================================== */
|
|
112
|
-
/**
|
|
113
|
-
* Remove the gray background on active links in IE 10.
|
|
114
|
-
*/
|
|
115
|
-
a {
|
|
116
|
-
background-color: transparent;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
121
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
122
|
-
*/
|
|
123
|
-
abbr[title] {
|
|
124
|
-
border-bottom: none; /* 1 */
|
|
125
|
-
text-decoration: underline; /* 2 */
|
|
126
|
-
text-decoration: underline dotted; /* 2 */
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
131
|
-
*/
|
|
132
|
-
b,
|
|
133
|
-
strong {
|
|
134
|
-
font-weight: bolder;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
139
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
140
|
-
*/
|
|
141
|
-
code,
|
|
142
|
-
kbd,
|
|
143
|
-
samp {
|
|
144
|
-
font-family: monospace, monospace; /* 1 */
|
|
145
|
-
font-size: 1em; /* 2 */
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Add the correct font size in all browsers.
|
|
150
|
-
*/
|
|
151
|
-
small {
|
|
152
|
-
font-size: 80%;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
157
|
-
* all browsers.
|
|
158
|
-
*/
|
|
159
|
-
sub,
|
|
160
|
-
sup {
|
|
161
|
-
font-size: 75%;
|
|
162
|
-
line-height: 0;
|
|
163
|
-
position: relative;
|
|
164
|
-
vertical-align: baseline;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
sub {
|
|
168
|
-
bottom: -0.25em;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
sup {
|
|
172
|
-
top: -0.5em;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* Embedded content
|
|
176
|
-
========================================================================== */
|
|
177
|
-
/**
|
|
178
|
-
* Remove the border on images inside links in IE 10.
|
|
179
|
-
*/
|
|
180
|
-
img {
|
|
181
|
-
border-style: none;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/* Forms
|
|
185
|
-
========================================================================== */
|
|
186
|
-
/**
|
|
187
|
-
* 1. Change the font styles in all browsers.
|
|
188
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
189
|
-
*/
|
|
190
|
-
button,
|
|
191
|
-
input,
|
|
192
|
-
optgroup,
|
|
193
|
-
select,
|
|
194
|
-
textarea {
|
|
195
|
-
font-family: inherit; /* 1 */
|
|
196
|
-
font-size: 100%; /* 1 */
|
|
197
|
-
line-height: 1.15; /* 1 */
|
|
198
|
-
margin: 0; /* 2 */
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Show the overflow in IE.
|
|
203
|
-
* 1. Show the overflow in Edge.
|
|
204
|
-
*/
|
|
205
|
-
button,
|
|
206
|
-
input {
|
|
207
|
-
/* 1 */
|
|
208
|
-
overflow: visible;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
213
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
214
|
-
*/
|
|
215
|
-
button,
|
|
216
|
-
select {
|
|
217
|
-
/* 1 */
|
|
218
|
-
text-transform: none;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Correct the inability to style clickable types in iOS and Safari.
|
|
223
|
-
*/
|
|
224
|
-
button,
|
|
225
|
-
[type=button],
|
|
226
|
-
[type=reset],
|
|
227
|
-
[type=submit] {
|
|
228
|
-
-webkit-appearance: button;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Remove the inner border and padding in Firefox.
|
|
233
|
-
*/
|
|
234
|
-
button::-moz-focus-inner,
|
|
235
|
-
[type=button]::-moz-focus-inner,
|
|
236
|
-
[type=reset]::-moz-focus-inner,
|
|
237
|
-
[type=submit]::-moz-focus-inner {
|
|
238
|
-
border-style: none;
|
|
239
|
-
padding: 0;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Restore the focus styles unset by the previous rule.
|
|
244
|
-
*/
|
|
245
|
-
button:-moz-focusring,
|
|
246
|
-
[type=button]:-moz-focusring,
|
|
247
|
-
[type=reset]:-moz-focusring,
|
|
248
|
-
[type=submit]:-moz-focusring {
|
|
249
|
-
outline: 1px dotted ButtonText;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Correct the padding in Firefox.
|
|
254
|
-
*/
|
|
255
|
-
fieldset {
|
|
256
|
-
padding: 0.35em 0.75em 0.625em;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
261
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
262
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
263
|
-
* `fieldset` elements in all browsers.
|
|
264
|
-
*/
|
|
265
|
-
legend {
|
|
266
|
-
box-sizing: border-box; /* 1 */
|
|
267
|
-
color: inherit; /* 2 */
|
|
268
|
-
display: table; /* 1 */
|
|
269
|
-
max-width: 100%; /* 1 */
|
|
270
|
-
padding: 0; /* 3 */
|
|
271
|
-
white-space: normal; /* 1 */
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
276
|
-
*/
|
|
277
|
-
progress {
|
|
278
|
-
vertical-align: baseline;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
283
|
-
*/
|
|
284
|
-
textarea {
|
|
285
|
-
overflow: auto;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* 1. Add the correct box sizing in IE 10.
|
|
290
|
-
* 2. Remove the padding in IE 10.
|
|
291
|
-
*/
|
|
292
|
-
[type=checkbox],
|
|
293
|
-
[type=radio] {
|
|
294
|
-
box-sizing: border-box; /* 1 */
|
|
295
|
-
padding: 0; /* 2 */
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
300
|
-
*/
|
|
301
|
-
[type=number]::-webkit-inner-spin-button,
|
|
302
|
-
[type=number]::-webkit-outer-spin-button {
|
|
303
|
-
height: auto;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
308
|
-
* 2. Correct the outline style in Safari.
|
|
309
|
-
*/
|
|
310
|
-
[type=search] {
|
|
311
|
-
-webkit-appearance: textfield; /* 1 */
|
|
312
|
-
outline-offset: -2px; /* 2 */
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
317
|
-
*/
|
|
318
|
-
[type=search]::-webkit-search-decoration {
|
|
319
|
-
-webkit-appearance: none;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
324
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
325
|
-
*/
|
|
326
|
-
::-webkit-file-upload-button {
|
|
327
|
-
-webkit-appearance: button; /* 1 */
|
|
328
|
-
font: inherit; /* 2 */
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/* Interactive
|
|
332
|
-
========================================================================== */
|
|
333
|
-
/*
|
|
334
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
335
|
-
*/
|
|
336
|
-
details {
|
|
337
|
-
display: block;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/*
|
|
341
|
-
* Add the correct display in all browsers.
|
|
342
|
-
*/
|
|
343
|
-
summary {
|
|
344
|
-
display: list-item;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* Misc
|
|
348
|
-
========================================================================== */
|
|
349
|
-
/**
|
|
350
|
-
* Add the correct display in IE 10+.
|
|
351
|
-
*/
|
|
352
|
-
template {
|
|
353
|
-
display: none;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Add the correct display in IE 10.
|
|
358
|
-
*/
|
|
359
|
-
[hidden] {
|
|
360
|
-
display: none;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
:host {
|
|
364
|
-
display: block;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.spw-cookies {
|
|
368
|
-
position: fixed;
|
|
369
|
-
top: 0;
|
|
370
|
-
left: 0;
|
|
371
|
-
width: 100%;
|
|
372
|
-
height: 100%;
|
|
373
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
374
|
-
display: flex;
|
|
375
|
-
align-items: flex-end;
|
|
376
|
-
justify-content: end;
|
|
377
|
-
z-index: 9999;
|
|
378
|
-
}
|
|
379
|
-
.spw-cookies__container {
|
|
380
|
-
background: white;
|
|
381
|
-
border-radius: 5px;
|
|
382
|
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
383
|
-
max-width: 400px;
|
|
384
|
-
width: 100%;
|
|
385
|
-
margin: 12px;
|
|
386
|
-
line-height: 1.5;
|
|
387
|
-
max-height: calc(-24px + 100vh);
|
|
388
|
-
overflow-y: auto;
|
|
389
|
-
}
|
|
390
|
-
.spw-cookies__content, .spw-cookies__buttons {
|
|
391
|
-
padding: 16px;
|
|
392
|
-
}
|
|
393
|
-
@media (min-width: 768px) {
|
|
394
|
-
.spw-cookies__content, .spw-cookies__buttons {
|
|
395
|
-
padding: 24px;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
.spw-cookies__content {
|
|
399
|
-
padding-bottom: 0;
|
|
400
|
-
}
|
|
401
|
-
.spw-cookies__buttons {
|
|
402
|
-
position: sticky;
|
|
403
|
-
z-index: 10;
|
|
404
|
-
bottom: 0;
|
|
405
|
-
background: #fff;
|
|
406
|
-
display: flex;
|
|
407
|
-
flex-direction: column;
|
|
408
|
-
gap: 12px;
|
|
409
|
-
text-align: center;
|
|
410
|
-
}
|
|
411
|
-
.spw-cookies__buttons spw-button {
|
|
412
|
-
--spw-button-py-medium: var(--spw-button-py-large);
|
|
413
|
-
}
|
|
414
|
-
.spw-cookies__title {
|
|
415
|
-
font-size: 24px;
|
|
416
|
-
line-height: 1.2;
|
|
417
|
-
color: var(--spw-colors-support-grey-grey-900);
|
|
418
|
-
margin-bottom: 8px;
|
|
419
|
-
}
|
|
420
|
-
.spw-cookies__text {
|
|
421
|
-
color: var(--spw-color-themes-grey-grey-600);
|
|
422
|
-
margin-bottom: 16px;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.spw-cookies__checkbox {
|
|
426
|
-
padding-top: 4px;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.spw-cookies__checkbox-text {
|
|
430
|
-
color: var(--spw-color-themes-grey-grey-600);
|
|
431
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export class SpwCookies {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Titre affiché dans la bannière de cookies */
|
|
5
|
-
this.cookiesTitle = 'Nous utilisons des cookies';
|
|
6
|
-
/** Description des cookies et de leur utilisation, affichée dans la bannière */
|
|
7
|
-
this.cookiesDescription = `Ce site web utilise des cookies essentiels pour assurer son bon fonctionnement et des cookies de suivi pour comprendre comment vous interagissez avec lui. Ces derniers ne seront installés qu'après avoir obtenu votre consentement.`;
|
|
8
|
-
/** Texte du bouton pour accepter tous les cookies */
|
|
9
|
-
this.acceptAllButtonText = 'Accepter tous les cookies';
|
|
10
|
-
/** Texte du bouton pour accepter uniquement les cookies fonctionnels */
|
|
11
|
-
this.acceptRequiredButtonText = 'Accepter uniquement les cookies fonctionnels';
|
|
12
|
-
this.isVisible = false;
|
|
13
|
-
this.analyticsEnabled = false;
|
|
14
|
-
}
|
|
15
|
-
componentWillLoad() {
|
|
16
|
-
this.initializeCookieSettings();
|
|
17
|
-
this.checkCookieSettings();
|
|
18
|
-
}
|
|
19
|
-
initializeCookieSettings() {
|
|
20
|
-
if (localStorage.getItem('spw-cookie-settings__required') === null) {
|
|
21
|
-
localStorage.setItem('spw-cookie-settings__required', 'false');
|
|
22
|
-
}
|
|
23
|
-
if (localStorage.getItem('spw-cookie-settings__analytics') === null) {
|
|
24
|
-
localStorage.setItem('spw-cookie-settings__analytics', 'false');
|
|
25
|
-
}
|
|
26
|
-
if (localStorage.getItem('spw-cookie-settings__saved') === null) {
|
|
27
|
-
localStorage.setItem('spw-cookie-settings__saved', 'false');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
checkCookieSettings() {
|
|
31
|
-
const settings = this.getCookieSettings();
|
|
32
|
-
if (!settings['spw-cookie-settings__saved']) {
|
|
33
|
-
this.isVisible = true;
|
|
34
|
-
}
|
|
35
|
-
this.analyticsEnabled = settings['spw-cookie-settings__analytics'];
|
|
36
|
-
}
|
|
37
|
-
getCookieSettings() {
|
|
38
|
-
return {
|
|
39
|
-
'spw-cookie-settings__required': JSON.parse(localStorage.getItem('spw-cookie-settings__required')),
|
|
40
|
-
'spw-cookie-settings__analytics': JSON.parse(localStorage.getItem('spw-cookie-settings__analytics')),
|
|
41
|
-
'spw-cookie-settings__saved': JSON.parse(localStorage.getItem('spw-cookie-settings__saved')),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
setCookieSettings(settings) {
|
|
45
|
-
Object.keys(settings).forEach(key => {
|
|
46
|
-
localStorage.setItem(key, JSON.stringify(settings[key]));
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
toggleAnalytics() {
|
|
50
|
-
this.analyticsEnabled = !this.analyticsEnabled;
|
|
51
|
-
this.setCookieSettings({ 'spw-cookie-settings__analytics': this.analyticsEnabled });
|
|
52
|
-
}
|
|
53
|
-
acceptAllCookies() {
|
|
54
|
-
this.setCookieSettings({
|
|
55
|
-
'spw-cookie-settings__required': true,
|
|
56
|
-
'spw-cookie-settings__analytics': true,
|
|
57
|
-
'spw-cookie-settings__saved': true,
|
|
58
|
-
});
|
|
59
|
-
this.isVisible = false;
|
|
60
|
-
}
|
|
61
|
-
acceptRequiredCookies() {
|
|
62
|
-
this.setCookieSettings({
|
|
63
|
-
'spw-cookie-settings__required': true,
|
|
64
|
-
'spw-cookie-settings__analytics': false,
|
|
65
|
-
'spw-cookie-settings__saved': true,
|
|
66
|
-
});
|
|
67
|
-
this.isVisible = false;
|
|
68
|
-
}
|
|
69
|
-
render() {
|
|
70
|
-
if (!this.isVisible) {
|
|
71
|
-
return null;
|
|
72
|
-
}
|
|
73
|
-
return (h("div", { class: "spw-cookies" }, h("div", { class: "spw-cookies__container" }, h("div", { class: "spw-cookies__content" }, h("h2", { class: "spw-cookies__title" }, this.cookiesTitle), h("p", { class: "spw-cookies__text" }, this.cookiesDescription), h("spw-accordion", null, h("spw-accordion-item", null, h("spw-accordion-title", { slot: "title" }, "Param\u00E9trer les cookies"), h("spw-accordion-content", { slot: "content" }, h("div", { class: "spw-cookies__checkbox" }, h("spw-checkbox", { checked: this.analyticsEnabled, onSpwChange: () => this.toggleAnalytics() }, h("span", { class: "spw-cookies__checkbox-text" }, "Les cookies de statistiques proviennent de soci\u00E9t\u00E9s de externes (\"cookies tiers\") et sont utilis\u00E9s pour collecter des informations sur les sites web visit\u00E9s par l'utilisateur."))))))), h("div", { class: "spw-cookies__buttons" }, h("spw-button", { "is-full-width": "true", onClick: () => this.acceptAllCookies() }, this.acceptAllButtonText), h("spw-button", { "is-full-width": "true", variant: "secondary", onClick: () => this.acceptRequiredCookies() }, this.acceptRequiredButtonText)))));
|
|
74
|
-
}
|
|
75
|
-
static get is() { return "spw-cookies"; }
|
|
76
|
-
static get encapsulation() { return "shadow"; }
|
|
77
|
-
static get originalStyleUrls() {
|
|
78
|
-
return {
|
|
79
|
-
"$": ["spw-cookies.scss"]
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
static get styleUrls() {
|
|
83
|
-
return {
|
|
84
|
-
"$": ["spw-cookies.css"]
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
static get properties() {
|
|
88
|
-
return {
|
|
89
|
-
"cookiesTitle": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"mutable": false,
|
|
92
|
-
"complexType": {
|
|
93
|
-
"original": "string",
|
|
94
|
-
"resolved": "string",
|
|
95
|
-
"references": {}
|
|
96
|
-
},
|
|
97
|
-
"required": false,
|
|
98
|
-
"optional": false,
|
|
99
|
-
"docs": {
|
|
100
|
-
"tags": [],
|
|
101
|
-
"text": "Titre affich\u00E9 dans la banni\u00E8re de cookies"
|
|
102
|
-
},
|
|
103
|
-
"getter": false,
|
|
104
|
-
"setter": false,
|
|
105
|
-
"reflect": false,
|
|
106
|
-
"attribute": "cookies-title",
|
|
107
|
-
"defaultValue": "'Nous utilisons des cookies'"
|
|
108
|
-
},
|
|
109
|
-
"cookiesDescription": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"mutable": false,
|
|
112
|
-
"complexType": {
|
|
113
|
-
"original": "string",
|
|
114
|
-
"resolved": "string",
|
|
115
|
-
"references": {}
|
|
116
|
-
},
|
|
117
|
-
"required": false,
|
|
118
|
-
"optional": false,
|
|
119
|
-
"docs": {
|
|
120
|
-
"tags": [],
|
|
121
|
-
"text": "Description des cookies et de leur utilisation, affich\u00E9e dans la banni\u00E8re"
|
|
122
|
-
},
|
|
123
|
-
"getter": false,
|
|
124
|
-
"setter": false,
|
|
125
|
-
"reflect": false,
|
|
126
|
-
"attribute": "cookies-description",
|
|
127
|
-
"defaultValue": "`Ce site web utilise des cookies essentiels pour assurer son bon fonctionnement et des cookies de suivi pour comprendre comment vous interagissez avec lui. Ces derniers ne seront install\u00E9s qu'apr\u00E8s avoir obtenu votre consentement.`"
|
|
128
|
-
},
|
|
129
|
-
"acceptAllButtonText": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"mutable": false,
|
|
132
|
-
"complexType": {
|
|
133
|
-
"original": "string",
|
|
134
|
-
"resolved": "string",
|
|
135
|
-
"references": {}
|
|
136
|
-
},
|
|
137
|
-
"required": false,
|
|
138
|
-
"optional": false,
|
|
139
|
-
"docs": {
|
|
140
|
-
"tags": [],
|
|
141
|
-
"text": "Texte du bouton pour accepter tous les cookies"
|
|
142
|
-
},
|
|
143
|
-
"getter": false,
|
|
144
|
-
"setter": false,
|
|
145
|
-
"reflect": false,
|
|
146
|
-
"attribute": "accept-all-button-text",
|
|
147
|
-
"defaultValue": "'Accepter tous les cookies'"
|
|
148
|
-
},
|
|
149
|
-
"acceptRequiredButtonText": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"mutable": false,
|
|
152
|
-
"complexType": {
|
|
153
|
-
"original": "string",
|
|
154
|
-
"resolved": "string",
|
|
155
|
-
"references": {}
|
|
156
|
-
},
|
|
157
|
-
"required": false,
|
|
158
|
-
"optional": false,
|
|
159
|
-
"docs": {
|
|
160
|
-
"tags": [],
|
|
161
|
-
"text": "Texte du bouton pour accepter uniquement les cookies fonctionnels"
|
|
162
|
-
},
|
|
163
|
-
"getter": false,
|
|
164
|
-
"setter": false,
|
|
165
|
-
"reflect": false,
|
|
166
|
-
"attribute": "accept-required-button-text",
|
|
167
|
-
"defaultValue": "'Accepter uniquement les cookies fonctionnels'"
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
static get states() {
|
|
172
|
-
return {
|
|
173
|
-
"isVisible": {},
|
|
174
|
-
"analyticsEnabled": {}
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,H as i,c as t,h as n,t as s}from"./index.js";import{d as o}from"./p-DetVZmjO.js";const r=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spwClick=t(this,"spwClick",7),this.target="_self",this.iconPosition="right",this.disabled=!1,this.surface="default",this.onClick=e=>{this.disabled?e.preventDefault():this.spwClick.emit(e)}}get elementClass(){return{"spw-link":!0,"spw-link--has-icon-right":this.icon&&"right"===this.iconPosition,"spw-link--has-icon-left":this.icon&&"left"===this.iconPosition,[`spw-link--surface-${this.surface}`]:!0,"spw-link--has-icon":!!this.icon}}render(){const{href:e,rel:i,download:t,target:s,icon:o,iconPosition:r,accAriaLabel:a,disabled:l}=this,p={"aria-label":a,"aria-disabled":l?"true":null},c=o?n("spw-icon",{class:`spw-icon--${r}`,icon:o}):null;return n("a",Object.assign({key:"8c2f180ec28553310973b2b413ae82039d23d359",href:l?void 0:e,rel:i,download:t,target:s,class:this.elementClass,onClick:this.onClick},p),"left"===r&&c,n("div",{key:"8213e817d3050d1c07f45fb106ae4258863e634e",class:"spw-link__inner"},n("slot",{key:"84415e4bfe7eb22827494c0a7a82bc18baf4a71e"})),"right"===r&&c)}get el(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{--spw-link-display:inline;--spw-link-wrap:wrap;--spw-link-white-space:normal;--spw-link-color:var(--spw-ds-primary);--spw-link-hover-color:var(--spw-ds-variant);--spw-link-active-color:var(--spw-ds-active);--spw-link-font-weight:700;--spw-link-text-decoration:underline;--spw-link-padding:6px;--spw-link-margin:4px}.spw-link{display:var(--spw-link-display);text-decoration:none;text-wrap:var(--spw-link-wrap);white-space:var(--spw-link-white-space);cursor:pointer;color:var(--spw-link-color);border-radius:4px;font-weight:var(--spw-link-font-weight)}.spw-link--surface-dark{color:var(--spw-ds-white)}.spw-link__inner{display:inline;overflow-wrap:break-word;text-decoration:var(--spw-link-text-decoration);text-underline-offset:2px}.spw-link:focus-visible{outline-offset:2px;outline:3px solid black}.spw-link:hover{color:var(--spw-link-hover-color)}.spw-link:hover .spw-link__inner{text-decoration-thickness:2px}.spw-link:active{color:var(--spw-link-active-color)}.spw-link:active .spw-link__inner{text-decoration-thickness:2px}.spw-link[aria-disabled=true]{pointer-events:none;color:var(--spw-color-themes-grey-grey-600);cursor:not-allowed}.spw-link--surface-dark:hover{color:var(--spw-ds-white)}.spw-link--surface-dark:active{color:var(--spw-ds-white)}.spw-link--surface-dark[aria-disabled=true]{color:var(--spw-ds-white);opacity:0.5}.spw-link--surface-light{color:var(--spw-color-themes-grey-grey-900)}.spw-link--surface-light:hover{color:var(--spw-color-themes-grey-grey-900)}.spw-link--surface-light:active{color:var(--spw-color-themes-grey-grey-900)}.spw-link--surface-light[aria-disabled=true]{color:var(--spw-color-themes-grey-grey-900);opacity:0.5}.spw-link--has-icon-right spw-icon{margin-left:var(--spw-link-padding);margin-right:var(--spw-link-margin)}.spw-link--has-icon-left spw-icon{margin-left:var(--spw-link-margin);margin-right:var(--spw-link-padding)}'}},[257,"spw-link",{href:[1],target:[1],rel:[1],icon:[1],download:[1],iconPosition:[1,"icon-position"],disabled:[4],accAriaLabel:[1,"acc-aria-label"],surface:[1]}]);function a(){"undefined"!=typeof customElements&&["spw-link","spw-icon"].forEach((e=>{switch(e){case"spw-link":customElements.get(s(e))||customElements.define(s(e),r);break;case"spw-icon":customElements.get(s(e))||o()}}))}export{r as S,a as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,a as o,t as s}from"./index.js";import{d as n}from"./p-DetVZmjO.js";import{d as a}from"./p-xv_G2g8V.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.label="",this.required=!1,this.tooltipDirection="top",this.tooltipCursor="help",this.handleClick=()=>{const t=this.el.getRootNode().getElementById(this.name);t&&t.focus()}}get hasTooltip(){return!(!this.tooltipText&&!this.tooltipTitle)}render(){return i(o,{key:"087041689b15190ff457cb6c0ff93a19c630618f"},i("label",{key:"9cd18e737c7bb24afa0927b3ab39abdb73a7a560",class:"spw-field-label",htmlFor:this.name,onClick:this.handleClick},i("span",{key:"19d151ad8a46a9048ed0ae5ed0c56bf301d7a870",class:"spw-field-label__text"},this.label),this.hasTooltip&&i("spw-tooltip",{key:"d51c0caf1837ee28421fc779269fd284d73bc3cd",tooltipTitle:this.tooltipTitle,tooltipText:this.tooltipText,maxWidth:this.tooltipMaxWidth,direction:this.tooltipDirection,cursor:this.tooltipCursor},i("spw-icon",{key:"2bcd5bf8032fe82944118cd9574604899efabb2a",variant:"fa-regular",icon:"fa-circle-info",class:"spw-field-label__icon"})),this.required&&i("span",{key:"d9ac446993bd6880907600d82282c2a7e89b4255",class:"spw-field-label__required"},"*")))}get el(){return this}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-field-label{color:var(--spw-color-themes-grey-grey-800);display:flex;align-items:center;gap:4px;font-weight:600;margin-bottom:8px}.spw-field-label__text{display:inline-block}.spw-field-label__required{color:var(--spw-ds-primary)}.spw-field-label__icon{color:var(--spw-color-themes-grey-grey-600);font-size:16px;flex-shrink:0}"}},[1,"spw-field-label",{name:[1],label:[1],required:[4],tooltipTitle:[1,"tooltip-title"],tooltipText:[1,"tooltip-text"],tooltipMaxWidth:[1,"tooltip-max-width"],tooltipDirection:[1,"tooltip-direction"],tooltipCursor:[1,"tooltip-cursor"]}]);function l(){"undefined"!=typeof customElements&&["spw-field-label","spw-icon","spw-tooltip"].forEach((t=>{switch(t){case"spw-field-label":customElements.get(s(t))||customElements.define(s(t),r);break;case"spw-icon":customElements.get(s(t))||n();break;case"spw-tooltip":customElements.get(s(t))||a()}}))}export{r as S,l as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as s,H as e,h as a,a as i,t as p}from"./index.js";import{d}from"./p-DetVZmjO.js";import{d as l}from"./p-8ORCgRs0.js";const m=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.showIcon=!0,this.isExpandable=!1,this.expandLabel="Plus d'informations",this.collapseLabel="Moins d'informations",this.isExpanded=!1,this.toggleExpanded=s=>{s.preventDefault(),this.isExpanded=!this.isExpanded}}get variantIcon(){switch(this.variant){case"error":return"fa-warning";case"hint":return"fa-exclamation-circle";case"success":return"fa-check-circle";case"warning":return"fa-triangle-exclamation";default:return""}}get elementClass(){return{"spw-field-message":!0,[`spw-field-message--${this.variant}`]:!0}}render(){const{isExpandable:s,isExpanded:e,expandLabel:p,collapseLabel:d}=this;return a(i,{key:"4d49187c710cba73d99ebbe22016ac3e0354e273"},a("div",{key:"29755538bebd2f35b4b54872b94967865a94f57f",class:this.elementClass},this.showIcon&&a("div",{key:"2ffd0f7e017dc66c68bb54c6c129eb91c543dd02",class:"spw-field-message__icon"},a("spw-icon",{key:"06f8d28cebb68b11039f3bbaa703802c5dec902e",icon:this.variantIcon})),a("span",{key:"3a868a5fa0a77c67250351707e48fefc0dd49e90",class:"spw-field-message__text"},a("slot",{key:"228a6fabaaa2153b62181e9ece7fa9af333d05c9"}),s&&a("div",{key:"62e94c0c3cc35dbb58992cac8517cb6597905335",class:"spw-field-message__expandable"},a("div",{key:"8370fe1a58de84ac393d9eaeb04fa248fd135ad6",class:{"spw-field-message__details":!0,"spw-field-message__details--hidden":!e}},a("slot",{key:"35f16739841a46079eff0cab7a91f61a0916f7ac",name:"details"})),a("spw-link",{key:"49cdf6803c73a5bd1d55ec6e0aa75ebbfd868f0a",href:"#",icon:e?"fa-chevron-up":"fa-chevron-down",onClick:this.toggleExpanded},e?d:p)))))}static get style(){return".sc-spw-field-message:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container.sc-spw-field-message{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container.sc-spw-field-message{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container.sc-spw-field-message{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container.sc-spw-field-message{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container.sc-spw-field-message{max-width:var(--spw-ds-container-xl)}}spw-field-message.sc-spw-field-message{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-field-message.sc-spw-field-message h1.sc-spw-field-message,spw-field-message.sc-spw-field-message h2.sc-spw-field-message,spw-field-message.sc-spw-field-message h3.sc-spw-field-message,spw-field-message.sc-spw-field-message h4.sc-spw-field-message,spw-field-message.sc-spw-field-message h5.sc-spw-field-message,spw-field-message.sc-spw-field-message h6.sc-spw-field-message,spw-field-message.sc-spw-field-message p.sc-spw-field-message,spw-field-message.sc-spw-field-message ul.sc-spw-field-message,spw-field-message.sc-spw-field-message li.sc-spw-field-message{padding:0;margin:0}spw-field-message.sc-spw-field-message ul.sc-spw-field-message{list-style:none}spw-field-message.sc-spw-field-message *.sc-spw-field-message,spw-field-message.sc-spw-field-message *.sc-spw-field-message::before,spw-field-message.sc-spw-field-message *.sc-spw-field-message::after{box-sizing:inherit;letter-spacing:-0.18px}spw-field-message.sc-spw-field-message hr.sc-spw-field-message{box-sizing:content-box;height:0;overflow:visible}spw-field-message.sc-spw-field-message pre.sc-spw-field-message{font-family:monospace, monospace;font-size:1em}spw-field-message.sc-spw-field-message a.sc-spw-field-message{background-color:transparent}spw-field-message.sc-spw-field-message abbr[title].sc-spw-field-message{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}spw-field-message.sc-spw-field-message b.sc-spw-field-message,spw-field-message.sc-spw-field-message strong.sc-spw-field-message{font-weight:bolder}spw-field-message.sc-spw-field-message code.sc-spw-field-message,spw-field-message.sc-spw-field-message kbd.sc-spw-field-message,spw-field-message.sc-spw-field-message samp.sc-spw-field-message{font-family:monospace, monospace;font-size:1em}spw-field-message.sc-spw-field-message small.sc-spw-field-message{font-size:80%}spw-field-message.sc-spw-field-message sub.sc-spw-field-message,spw-field-message.sc-spw-field-message sup.sc-spw-field-message{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-field-message.sc-spw-field-message sub.sc-spw-field-message{bottom:-0.25em}spw-field-message.sc-spw-field-message sup.sc-spw-field-message{top:-0.5em}spw-field-message.sc-spw-field-message img.sc-spw-field-message{border-style:none}spw-field-message.sc-spw-field-message button.sc-spw-field-message,spw-field-message.sc-spw-field-message input.sc-spw-field-message,spw-field-message.sc-spw-field-message optgroup.sc-spw-field-message,spw-field-message.sc-spw-field-message select.sc-spw-field-message,spw-field-message.sc-spw-field-message textarea.sc-spw-field-message{font-family:inherit;font-size:100%;line-height:1.15;margin:0}spw-field-message.sc-spw-field-message button.sc-spw-field-message,spw-field-message.sc-spw-field-message input.sc-spw-field-message{overflow:visible}spw-field-message.sc-spw-field-message button.sc-spw-field-message,spw-field-message.sc-spw-field-message select.sc-spw-field-message{text-transform:none}spw-field-message.sc-spw-field-message button.sc-spw-field-message,spw-field-message.sc-spw-field-message [type=button].sc-spw-field-message,spw-field-message.sc-spw-field-message [type=reset].sc-spw-field-message,spw-field-message.sc-spw-field-message [type=submit].sc-spw-field-message{-webkit-appearance:button}spw-field-message.sc-spw-field-message button.sc-spw-field-message::-moz-focus-inner,spw-field-message.sc-spw-field-message [type=button].sc-spw-field-message::-moz-focus-inner,spw-field-message.sc-spw-field-message [type=reset].sc-spw-field-message::-moz-focus-inner,spw-field-message.sc-spw-field-message [type=submit].sc-spw-field-message::-moz-focus-inner{border-style:none;padding:0}spw-field-message.sc-spw-field-message button.sc-spw-field-message:-moz-focusring,spw-field-message.sc-spw-field-message [type=button].sc-spw-field-message:-moz-focusring,spw-field-message.sc-spw-field-message [type=reset].sc-spw-field-message:-moz-focusring,spw-field-message.sc-spw-field-message [type=submit].sc-spw-field-message:-moz-focusring{outline:1px dotted ButtonText}spw-field-message.sc-spw-field-message fieldset.sc-spw-field-message{padding:0.35em 0.75em 0.625em}spw-field-message.sc-spw-field-message legend.sc-spw-field-message{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}spw-field-message.sc-spw-field-message progress.sc-spw-field-message{vertical-align:baseline}spw-field-message.sc-spw-field-message textarea.sc-spw-field-message{overflow:auto}spw-field-message.sc-spw-field-message [type=checkbox].sc-spw-field-message,spw-field-message.sc-spw-field-message [type=radio].sc-spw-field-message{box-sizing:border-box;padding:0}spw-field-message.sc-spw-field-message [type=number].sc-spw-field-message::-webkit-inner-spin-button,spw-field-message.sc-spw-field-message [type=number].sc-spw-field-message::-webkit-outer-spin-button{height:auto}spw-field-message.sc-spw-field-message [type=search].sc-spw-field-message{-webkit-appearance:textfield;outline-offset:-2px}spw-field-message.sc-spw-field-message [type=search].sc-spw-field-message::-webkit-search-decoration{-webkit-appearance:none}spw-field-message.sc-spw-field-message .sc-spw-field-message::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}spw-field-message.sc-spw-field-message details.sc-spw-field-message{display:block}spw-field-message.sc-spw-field-message summary.sc-spw-field-message{display:list-item}spw-field-message.sc-spw-field-message template.sc-spw-field-message{display:none}spw-field-message.sc-spw-field-message [hidden].sc-spw-field-message{display:none}.sc-spw-field-message-h{display:block}.spw-field-message.sc-spw-field-message{display:block;margin-top:8px;display:flex;gap:8px}.spw-field-message--error.sc-spw-field-message{color:var(--spw-color-states-error-error-300)}.spw-field-message--hint.sc-spw-field-message{color:var(--spw-colors-support-grey-grey-800)}.spw-field-message--success.sc-spw-field-message{color:var(--spw-color-states-success-success-500)}.spw-field-message--warning.sc-spw-field-message{color:var(--spw-color-themes-orange-orange-500)}.spw-field-message__icon.sc-spw-field-message{position:relative;top:1px}.spw-field-message__text.sc-spw-field-message{flex:1;font-size:14px;line-height:1.5}.spw-field-message__expandable.sc-spw-field-message{margin-top:6px}.spw-field-message__expandable.sc-spw-field-message spw-link.sc-spw-field-message{user-select:none;--spw-link-text-decoration:none;--spw-link-color:var(--spw-colors-support-grey-grey-800)}.spw-field-message__expandable.sc-spw-field-message spw-link.sc-spw-field-message:hover{--spw-link-text-decoration:underline}.spw-field-message__details.sc-spw-field-message{margin:6px 0;padding:16px;border:1px solid var(--spw-colors-support-grey-grey-300);background:var(--spw-colors-support-grey-grey-50);border-radius:4px;color:var(--spw-colors-support-grey-grey-800)}.spw-field-message__details--hidden.sc-spw-field-message{display:none}"}},[262,"spw-field-message",{showIcon:[4,"show-icon"],variant:[1],isExpandable:[4,"is-expandable"],expandLabel:[1,"expand-label"],collapseLabel:[1,"collapse-label"],isExpanded:[32]}]);function f(){"undefined"!=typeof customElements&&["spw-field-message","spw-icon","spw-link"].forEach((s=>{switch(s){case"spw-field-message":customElements.get(p(s))||customElements.define(p(s),m);break;case"spw-icon":customElements.get(p(s))||d();break;case"spw-link":customElements.get(p(s))||l()}}))}export{m as S,f as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as t,H as s,c as o,h as e,a as i,t as a}from"./index.js";import{a as n}from"./p-BRFNx2DL.js";import{d as r}from"./p-DetVZmjO.js";const p={success:"fa-check",info:"fa-info",warning:"fa-exclamation",alert:"fa-close"},l=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.spwToastDismiss=o(this,"spwToastDismiss",7),this.spwToastLinkClick=o(this,"spwToastLinkClick",7),this.variant="info",this.heading="",this.message="",this.linkLabel="",this.linkHref="",this.duration=5e3,this.dismissable=!0,this.dismissText="Fermer",this.visible=!1,this.autoDismissTimer=null,this.timerStartedAt=null,this.timerRemaining=null,this.swipeTouchStartX=0,this.swipeTouchStartY=0}componentDidLoad(){this.show()}disconnectedCallback(){this.clearTimer()}clearTimer(){null!==this.autoDismissTimer&&(clearTimeout(this.autoDismissTimer),this.autoDismissTimer=null)}startAutoDismiss(t){if(this.duration<=0)return;const s=null!=t?t:this.duration;this.timerStartedAt=Date.now(),this.timerRemaining=s,this.autoDismissTimer=setTimeout((()=>this.dismiss()),s)}pauseTimer(){var t;if(null===this.autoDismissTimer||null===this.timerStartedAt)return;this.clearTimer();const s=Date.now()-this.timerStartedAt;this.timerRemaining=Math.max(0,(null!==(t=this.timerRemaining)&&void 0!==t?t:this.duration)-s),this.timerStartedAt=null,this.progressEl&&(this.progressEl.style.animationPlayState="paused")}resumeTimer(){null===this.timerRemaining||this.timerRemaining<=0||(this.startAutoDismiss(this.timerRemaining),this.progressEl&&(this.progressEl.style.animationPlayState="running"))}async show(){this.visible=!0,await new Promise((t=>requestAnimationFrame(t))),this.containerEl&&n(this.containerEl,c,{duration:300}),this.startAutoDismiss()}async dismiss(){this.clearTimer(),this.containerEl?n(this.containerEl,d,{duration:200}).addEventListener("finish",(()=>this.remove())):this.remove()}remove(){this.visible=!1,this.spwToastDismiss.emit(),this.el.remove()}durationChanged(){this.clearTimer(),this.timerRemaining=null,this.startAutoDismiss()}get resolvedIcon(){return this.icon||p[this.variant]}render(){if(!this.visible)return null;const t=this.duration>0;return e(i,null,e("div",{class:{"spw-toast":!0,[`spw-toast--${this.variant}`]:!0},role:"alert","aria-live":"assertive","aria-atomic":"true",ref:t=>this.containerEl=t,onMouseEnter:()=>this.pauseTimer(),onMouseLeave:()=>this.resumeTimer(),onTouchStart:t=>{this.swipeTouchStartX=t.touches[0].clientX,this.swipeTouchStartY=t.touches[0].clientY},onTouchEnd:t=>{const s=t.changedTouches[0].clientX-this.swipeTouchStartX,o=t.changedTouches[0].clientY-this.swipeTouchStartY;Math.abs(s)>Math.abs(o)&&Math.abs(s)>50&&this.dismiss()}},e("div",{class:"spw-toast__aside"},e("div",{class:"spw-toast__icon-wrapper"},e("spw-icon",{variant:"fa-regular",icon:this.resolvedIcon}))),e("div",{class:"spw-toast__body"},e("div",{class:"spw-toast__top"},this.heading&&e("p",{class:"spw-toast__heading"},this.heading),this.dismissable&&e("button",{class:"spw-toast__close","aria-label":this.dismissText,onClick:()=>this.dismiss()},e("span",{class:"spw-toast__close-label"},this.dismissText),e("spw-icon",{icon:"fa-xmark"}))),this.message&&e("p",{class:"spw-toast__message"},this.message),this.linkLabel&&e("a",{class:"spw-toast__link",href:this.linkHref||void 0,role:this.linkHref?void 0:"button",tabindex:this.linkHref?void 0:"0",onClick:t=>{this.linkHref||t.preventDefault(),this.spwToastLinkClick.emit()},onKeyDown:t=>{this.linkHref||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.spwToastLinkClick.emit())}},this.linkLabel)),t&&e("div",{class:"spw-toast__progress",style:{animationDuration:`${this.duration}ms`},ref:t=>this.progressEl=t})))}get el(){return this}static get watchers(){return{duration:[{durationChanged:0}]}}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;width:100%;--spw-toast-border-radius:8px;--spw-toast-font-size:16px;--spw-toast-shadow:none;--spw-toast-aside-width:40px;--spw-toast-success-color:var(--spw-colors-multi-branding-green-green-800);--spw-toast-success-bg:var(--spw-colors-multi-branding-green-green-800);--spw-toast-info-color:var(--spw-colors-multi-branding-blue-blue-500);--spw-toast-info-bg:var(--spw-colors-multi-branding-blue-blue-500);--spw-toast-warning-color:var(--spw-colors-multi-branding-orange-orange-500);--spw-toast-warning-bg:var(--spw-colors-multi-branding-orange-orange-500);--spw-toast-alert-color:var(--spw-colors-multi-branding-red-red-500);--spw-toast-alert-bg:var(--spw-colors-multi-branding-red-red-500)}.spw-toast{position:relative;display:flex;align-items:stretch;background:#ffffff;border-radius:var(--spw-toast-border-radius);border:2px solid;box-shadow:var(--spw-toast-shadow);font-size:var(--spw-toast-font-size);color:var(--spw-colors-support-grey-grey-900, #1a1a1a);width:100%;box-sizing:border-box;overflow:hidden}@media (prefers-reduced-motion: reduce){.spw-toast{transition:none !important;animation:none !important}}.spw-toast--success{border-color:var(--spw-toast-success-color)}.spw-toast--success .spw-toast__aside{background:var(--spw-toast-success-bg)}.spw-toast--info{border-color:var(--spw-toast-info-color)}.spw-toast--info .spw-toast__aside{background:var(--spw-toast-info-bg)}.spw-toast--warning{border-color:var(--spw-toast-warning-color)}.spw-toast--warning .spw-toast__aside{background:var(--spw-toast-warning-bg)}.spw-toast--alert{border-color:var(--spw-toast-alert-color)}.spw-toast--alert .spw-toast__aside{background:var(--spw-toast-alert-bg)}.spw-toast__aside{flex-shrink:0;width:var(--spw-toast-aside-width);display:flex;align-items:flex-start;justify-content:center;padding-top:16px}.spw-toast__icon-wrapper{width:24px;height:24px;border-radius:50%;background:#ffffff;display:flex;align-items:center;justify-content:center;font-size:16px}.spw-toast__icon-wrapper spw-icon{display:flex;align-items:center;justify-content:center}.spw-toast--success .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-success-color)}.spw-toast--info .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-info-color)}.spw-toast--warning .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-warning-color)}.spw-toast--alert .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-alert-color)}.spw-toast__body{flex:1;padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0}.spw-toast__top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.spw-toast__heading{margin:0;font-weight:700;line-height:1.4;color:var(--spw-colors-support-grey-grey-900, #1a1a1a)}.spw-toast__message{margin:0;line-height:1.5;color:var(--spw-colors-support-grey-grey-700, #3a3a3a)}.spw-toast__link{display:inline-block;margin-top:4px;font-weight:700;font-size:14px;text-decoration:underline;color:var(--spw-colors-support-grey-grey-900, #1a1a1a)}.spw-toast__link:hover{text-decoration:none}.spw-toast__close{flex-shrink:0;align-self:flex-start;display:flex;align-items:center;gap:4px;background:none;border:none;cursor:pointer;padding:3px 0;font-size:14px;font-weight:600;color:var(--spw-colors-support-grey-grey-900, #1a1a1a);white-space:nowrap;text-decoration:underline;font-family:inherit}.spw-toast__close spw-icon{font-size:14px;text-decoration:none}.spw-toast__close:hover{text-decoration:none}.spw-toast__close:focus-visible{outline:3px solid currentColor;outline-offset:2px;border-radius:2px}.spw-toast__progress{position:absolute;bottom:0;left:var(--spw-toast-aside-width);height:3px;width:calc(100% - var(--spw-toast-aside-width));transform-origin:left center;animation:spw-toast-progress linear forwards;animation-play-state:running}@media (prefers-reduced-motion: reduce){.spw-toast__progress{display:none}}.spw-toast--success .spw-toast__progress{background:var(--spw-toast-success-color)}.spw-toast--info .spw-toast__progress{background:var(--spw-toast-info-color)}.spw-toast--warning .spw-toast__progress{background:var(--spw-toast-warning-color)}.spw-toast--alert .spw-toast__progress{background:var(--spw-toast-alert-color)}@keyframes spw-toast-progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}'}},[1,"spw-toast",{variant:[1],heading:[1],message:[1],linkLabel:[1,"link-label"],linkHref:[1,"link-href"],duration:[2],dismissable:[4],dismissText:[1,"dismiss-text"],icon:[1],visible:[32],show:[64],dismiss:[64]},void 0,{duration:[{durationChanged:0}]}]),c=[{offset:0,opacity:"0",transform:"translateY(20%)",easing:"ease-out"},{offset:1,opacity:"1",transform:"translateY(0)",easing:"ease-out"}],d=[{offset:0,opacity:"1"},{offset:1,opacity:"0"}];function w(){"undefined"!=typeof customElements&&["spw-toast","spw-icon"].forEach((t=>{switch(t){case"spw-toast":customElements.get(a(t))||customElements.define(a(t),l);break;case"spw-icon":customElements.get(a(t))||r()}}))}export{l as S,w as d}
|