@spw-ds/spw-stencil-library 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +581 -0
- package/dist/cjs/animation-DMuoVGnA.js +27 -0
- package/dist/cjs/{index-DvyqwgdS.js → index-C3xxcmHu.js} +9 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +9 -9
- package/dist/cjs/spw-avatar.cjs.entry.js +3 -3
- package/dist/cjs/spw-block-content.cjs.entry.js +3 -3
- 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 +20 -6
- 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 +9 -3
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-subtags.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-card.cjs.entry.js +3 -3
- package/dist/cjs/spw-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/spw-cookies.cjs.entry.js +2 -2
- package/dist/cjs/spw-custom-select.cjs.entry.js +15 -8
- package/dist/cjs/spw-date-picker.cjs.entry.js +3 -3
- 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_7.cjs.entry.js +26 -24
- package/dist/cjs/spw-field-message.cjs.entry.js +3 -3
- package/dist/cjs/spw-file-upload.cjs.entry.js +4 -4
- 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-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 +3 -3
- package/dist/cjs/spw-header-navigation.cjs.entry.js +16 -3
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-persona.cjs.entry.js +3 -3
- package/dist/cjs/spw-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-hero.cjs.entry.js +5 -5
- package/dist/cjs/spw-illustration.cjs.entry.js +2 -2
- package/dist/cjs/spw-input-slider.cjs.entry.js +3 -3
- 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 +10 -29
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic.cjs.entry.js +3 -3
- package/dist/cjs/spw-pagination.cjs.entry.js +8 -8
- package/dist/cjs/spw-radio.cjs.entry.js +3 -3
- package/dist/cjs/spw-scrolltop.cjs.entry.js +3 -3
- package/dist/cjs/spw-search-field.cjs.entry.js +4 -4
- package/dist/cjs/spw-select.cjs.entry.js +10 -3
- 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-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 +35 -4
- package/dist/cjs/spw-socials.cjs.entry.js +3 -3
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +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 +4 -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 +3 -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 +3 -3
- package/dist/cjs/spw-textarea.cjs.entry.js +3 -3
- 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 +3 -3
- 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 +58 -0
- package/dist/cjs/spw-toast.cjs.entry.js +159 -0
- package/dist/cjs/spw-toc-container.cjs.entry.js +3 -3
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +37 -9
- 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 +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +1 -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 +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion.js +1 -1
- package/dist/collection/components/spw-avatar/spw-avatar.css +1 -1
- package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.css +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.css +1 -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 +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
- package/dist/collection/components/spw-button/spw-button.css +1 -1
- package/dist/collection/components/spw-button/spw-button.js +2 -2
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +1 -1
- 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 +1 -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 +9 -9
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +45 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +1 -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 +1 -1
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +1 -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 +1 -1
- package/dist/collection/components/spw-card/spw-card.js +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +1 -1
- package/dist/collection/components/spw-cookies/spw-cookies.css +1 -1
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +33 -25
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +14 -6
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +7 -9
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +1 -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 +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.css +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.css +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +1 -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 +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.css +1 -1
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.css +1 -1
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +1 -2
- package/dist/collection/components/spw-group/spw-group.js +23 -1
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.css +1 -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 +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +14 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.css +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +5 -4
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.css +1 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +2 -1
- package/dist/collection/components/spw-header/spw-header.js +1 -1
- package/dist/collection/components/spw-hero/spw-hero.css +1 -1
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.css +1 -1
- package/dist/collection/components/spw-icon/spw-icon.js +1 -1
- package/dist/collection/components/spw-illustration/spw-illustration.css +1 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.css +1 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-link/spw-link.css +4 -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 +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +1 -4
- 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 -2
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.css +1 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.css +64 -2
- package/dist/collection/components/spw-loading/spw-loading.js +75 -1
- package/dist/collection/components/spw-message/spw-message.css +1 -1
- package/dist/collection/components/spw-modal/spw-modal.css +10 -13
- package/dist/collection/components/spw-modal/spw-modal.js +5 -2
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +1 -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 +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.css +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.css +1 -1
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.css +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +2 -2
- package/dist/collection/components/spw-select/spw-select.css +32 -4
- package/dist/collection/components/spw-select/spw-select.js +28 -1
- package/dist/collection/components/spw-separator/spw-separator.css +1 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.css +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.css +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.css +1 -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 +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.css +1 -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 +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.css +5 -1
- package/dist/collection/components/spw-slider/spw-slider.js +60 -3
- package/dist/collection/components/spw-socials/spw-socials.css +1 -1
- package/dist/collection/components/spw-socials/spw-socials.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.css +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.css +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.css +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.css +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.css +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.css +1 -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 +1 -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 +1 -1
- package/dist/collection/components/spw-table/spw-table.js +2 -2
- package/dist/collection/components/spw-tabs/spw-tabs-content/spw-tabs-content.css +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.css +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.css +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +3 -5
- package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.css +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.css +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.css +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.css +1 -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 +432 -0
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.js +139 -0
- package/dist/collection/components/spw-toast/spw-toast.css +579 -0
- package/dist/collection/components/spw-toast/spw-toast.js +426 -0
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +1 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +4 -4
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.js +37 -8
- package/dist/collection/components/spw-toc/spw-toc.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.css +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.css +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.css +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.css +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +60 -4
- package/dist/collection/stories/components/spw-toast/spw-toast.stories.js +308 -0
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +28 -0
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +74 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-B1EwYspq.js +1 -0
- package/dist/components/p-BIWZQqE9.js +1 -0
- package/dist/components/p-BO7xVlWo.js +1 -0
- package/dist/components/p-BhdoYDTm.js +1 -0
- package/dist/components/p-BkX5Es18.js +1 -0
- package/dist/components/p-BlIs4luv.js +1 -0
- package/dist/components/p-BxRsJDtg.js +1 -0
- package/dist/components/p-CANbQKSH.js +1 -0
- package/dist/components/p-CDlTW4jP.js +1 -0
- package/dist/components/p-DDCsfjDj.js +1 -0
- package/dist/components/p-Da63gRqB.js +1 -0
- package/dist/{spw-stencil-library/p-3249593b.entry.js → components/p-DiO72wMf.js} +1 -1
- package/dist/components/p-DwCnnHgn.js +1 -0
- package/dist/components/p-JuqrTYPp.js +1 -0
- package/dist/components/p-LSa_rZXb.js +1 -0
- package/dist/components/p-VsyGPRIh.js +1 -0
- package/dist/components/p-zC_WKoBo.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-avatar.js +1 -1
- package/dist/components/spw-block-content.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-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-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-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +4 -4
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-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.d.ts +11 -0
- package/dist/components/spw-toast-controller.js +1 -0
- package/dist/components/spw-toast.d.ts +11 -0
- package/dist/components/spw-toast.js +1 -0
- 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 +864 -19
- package/dist/components_vscode.json +4757 -0
- package/dist/esm/animation-BO7xVlWo.js +24 -0
- package/dist/esm/{index-i_vaVhzg.js → index-CcQDekex.js} +9 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +9 -9
- package/dist/esm/spw-avatar.entry.js +3 -3
- package/dist/esm/spw-block-content.entry.js +3 -3
- 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 +20 -6
- 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 +9 -3
- package/dist/esm/spw-card-subtag-item.entry.js +3 -3
- package/dist/esm/spw-card-subtags.entry.js +3 -3
- package/dist/esm/spw-card-title.entry.js +3 -3
- package/dist/esm/spw-card.entry.js +3 -3
- package/dist/esm/spw-checkbox.entry.js +3 -3
- package/dist/esm/spw-cookies.entry.js +2 -2
- package/dist/esm/spw-custom-select.entry.js +15 -8
- package/dist/esm/spw-date-picker.entry.js +3 -3
- 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_7.entry.js +26 -24
- package/dist/esm/spw-field-message.entry.js +3 -3
- package/dist/esm/spw-file-upload.entry.js +4 -4
- 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-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 +3 -3
- package/dist/esm/spw-header-navigation.entry.js +16 -3
- package/dist/esm/spw-header-persona-item.entry.js +3 -3
- package/dist/esm/spw-header-persona.entry.js +3 -3
- package/dist/esm/spw-header.entry.js +3 -3
- package/dist/esm/spw-hero.entry.js +5 -5
- package/dist/esm/spw-illustration.entry.js +2 -2
- package/dist/esm/spw-input-slider.entry.js +3 -3
- 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 +8 -27
- package/dist/esm/spw-mosaic-item.entry.js +3 -3
- package/dist/esm/spw-mosaic.entry.js +3 -3
- package/dist/esm/spw-pagination.entry.js +8 -8
- package/dist/esm/spw-radio.entry.js +3 -3
- package/dist/esm/spw-scrolltop.entry.js +3 -3
- package/dist/esm/spw-search-field.entry.js +4 -4
- package/dist/esm/spw-select.entry.js +10 -3
- 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-skeleton.entry.js +3 -3
- package/dist/esm/spw-slider-item.entry.js +3 -3
- package/dist/esm/spw-slider.entry.js +35 -4
- package/dist/esm/spw-socials.entry.js +3 -3
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +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 +4 -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 +3 -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 +3 -3
- package/dist/esm/spw-textarea.entry.js +3 -3
- 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 +3 -3
- 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 +56 -0
- package/dist/esm/spw-toast.entry.js +157 -0
- package/dist/esm/spw-toc-container.entry.js +3 -3
- package/dist/esm/spw-toc-navigation.entry.js +37 -9
- 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 +3 -3
- package/dist/spw-stencil-library/p-00f83b5d.entry.js +1 -0
- package/dist/spw-stencil-library/p-02b53e58.entry.js +1 -0
- package/dist/spw-stencil-library/p-03426bea.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7b4d2c1e.entry.js → p-04a3a81a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-05a539c8.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0478a2c9.entry.js → p-0d6c3fce.entry.js} +1 -1
- package/dist/spw-stencil-library/p-10835a9a.entry.js +1 -0
- package/dist/spw-stencil-library/p-130cb4f4.entry.js +1 -0
- package/dist/spw-stencil-library/p-15545181.entry.js +1 -0
- package/dist/spw-stencil-library/p-161c8eea.entry.js +1 -0
- package/dist/spw-stencil-library/p-1bda8b04.entry.js +1 -0
- package/dist/spw-stencil-library/{p-15c7bf4f.entry.js → p-1c47ee6c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-1dca091f.entry.js +1 -0
- package/dist/spw-stencil-library/p-20e77924.entry.js +1 -0
- package/dist/spw-stencil-library/p-282d6f35.entry.js +1 -0
- package/dist/spw-stencil-library/p-29a784d4.entry.js +1 -0
- package/dist/spw-stencil-library/p-2a34edc3.entry.js +1 -0
- package/dist/spw-stencil-library/p-2ec99a22.entry.js +1 -0
- package/dist/spw-stencil-library/p-2ff80ec2.entry.js +1 -0
- package/dist/spw-stencil-library/p-30166f59.entry.js +1 -0
- package/dist/spw-stencil-library/p-40496751.entry.js +1 -0
- package/dist/spw-stencil-library/p-4111ad7c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-49dce57b.entry.js → p-45551be2.entry.js} +1 -1
- package/dist/spw-stencil-library/p-46a6d40b.entry.js +1 -0
- package/dist/spw-stencil-library/p-4a9344f6.entry.js +1 -0
- package/dist/spw-stencil-library/{p-df634f09.entry.js → p-4acf83dc.entry.js} +1 -1
- package/dist/spw-stencil-library/p-5261b2b4.entry.js +1 -0
- package/dist/spw-stencil-library/p-5c6a766d.entry.js +1 -0
- package/dist/spw-stencil-library/p-5e14030d.entry.js +1 -0
- package/dist/spw-stencil-library/p-60985c09.entry.js +1 -0
- package/dist/spw-stencil-library/p-64452e96.entry.js +1 -0
- package/dist/spw-stencil-library/p-67f06e68.entry.js +1 -0
- package/dist/spw-stencil-library/{p-1a501761.entry.js → p-69bb0b1a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-69cbd786.entry.js +1 -0
- package/dist/spw-stencil-library/p-6cbfe3e2.entry.js +1 -0
- package/dist/spw-stencil-library/p-6e110abe.entry.js +1 -0
- package/dist/spw-stencil-library/p-6ece8925.entry.js +1 -0
- package/dist/spw-stencil-library/{p-2a49896f.entry.js → p-7244278a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7280f88f.entry.js +1 -0
- package/dist/spw-stencil-library/p-739fdaba.entry.js +1 -0
- package/dist/spw-stencil-library/p-759c645d.entry.js +1 -0
- package/dist/spw-stencil-library/p-75c0c5b1.entry.js +1 -0
- package/dist/spw-stencil-library/p-792a677b.entry.js +1 -0
- package/dist/spw-stencil-library/p-7a3cb064.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d09983aa.entry.js → p-7b179736.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7c6f0f37.entry.js +1 -0
- package/dist/spw-stencil-library/p-7e115d32.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f09fee4e.entry.js → p-7ef6a216.entry.js} +1 -1
- package/dist/spw-stencil-library/p-801f3ee5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-2f31ef25.entry.js → p-8289950c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-8368f876.entry.js +1 -0
- package/dist/spw-stencil-library/{p-65b0a975.entry.js → p-83c60e0a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-86528ce4.entry.js +1 -0
- package/dist/spw-stencil-library/p-88f3440c.entry.js +1 -0
- package/dist/spw-stencil-library/p-8a0f0935.entry.js +1 -0
- package/dist/spw-stencil-library/p-8b0b9491.entry.js +1 -0
- package/dist/spw-stencil-library/p-938a6efd.entry.js +1 -0
- package/dist/spw-stencil-library/p-9630e54e.entry.js +1 -0
- package/dist/spw-stencil-library/p-987e6066.entry.js +1 -0
- package/dist/spw-stencil-library/p-9aa47d26.entry.js +1 -0
- package/dist/{components/p-hlgutkqg.js → spw-stencil-library/p-9b9f19a5.entry.js} +1 -1
- package/dist/spw-stencil-library/p-BO7xVlWo.js +1 -0
- package/dist/spw-stencil-library/{p-i_vaVhzg.js → p-CcQDekex.js} +2 -2
- package/dist/spw-stencil-library/{p-5a8c56d8.entry.js → p-a40643f8.entry.js} +2 -2
- package/dist/spw-stencil-library/{p-c262f348.entry.js → p-a4653952.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a1b76676.entry.js → p-a83e24b3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a98883da.entry.js +1 -0
- package/dist/spw-stencil-library/p-b101c56b.entry.js +1 -0
- package/dist/spw-stencil-library/p-b14fcac2.entry.js +1 -0
- package/dist/spw-stencil-library/{p-19c1284b.entry.js → p-b2eb5c86.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e7d4987e.entry.js → p-b56fd991.entry.js} +1 -1
- package/dist/spw-stencil-library/p-bc1e232b.entry.js +1 -0
- package/dist/spw-stencil-library/p-bd556d0b.entry.js +1 -0
- package/dist/spw-stencil-library/p-c771f002.entry.js +1 -0
- package/dist/spw-stencil-library/p-ca27c2f0.entry.js +1 -0
- package/dist/spw-stencil-library/p-ce6a0959.entry.js +1 -0
- package/dist/spw-stencil-library/p-cf61666c.entry.js +1 -0
- package/dist/spw-stencil-library/p-d327df2e.entry.js +1 -0
- package/dist/spw-stencil-library/p-d75f41bf.entry.js +1 -0
- package/dist/spw-stencil-library/{p-4148a98f.entry.js → p-d8b04e24.entry.js} +1 -1
- package/dist/spw-stencil-library/p-da20b417.entry.js +1 -0
- package/dist/spw-stencil-library/{p-575e048f.entry.js → p-db4142ce.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e130e072.entry.js +1 -0
- package/dist/spw-stencil-library/p-e147dd0d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-04d17fe5.entry.js → p-e23f4d3b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e25275e7.entry.js +1 -0
- package/dist/spw-stencil-library/p-f10face1.entry.js +1 -0
- package/dist/spw-stencil-library/p-f5f516ef.entry.js +1 -0
- package/dist/spw-stencil-library/{p-3d636e2c.entry.js → p-f7317812.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-48828a6a.entry.js → p-f8292a3e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ba64633d.entry.js → p-fb10678e.entry.js} +1 -1
- package/dist/spw-stencil-library/p-fca06909.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 +3084 -1300
- package/dist/types/components/spw-card/spw-card-image/spw-card-image.d.ts +4 -0
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +1 -0
- package/dist/types/components/spw-group/spw-group.d.ts +2 -0
- package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +6 -0
- package/dist/types/components/spw-loading/spw-loading.d.ts +7 -0
- package/dist/types/components/spw-select/spw-select.d.ts +3 -0
- package/dist/types/components/spw-slider/spw-slider.d.ts +4 -0
- package/dist/types/components/spw-toast/spw-toast-controller/spw-toast-controller.d.ts +39 -0
- package/dist/types/components/spw-toast/spw-toast.d.ts +49 -0
- package/dist/types/components/spw-toc/spw-toc-navigation/spw-toc-navigation.d.ts +3 -0
- package/dist/types/components.d.ts +267 -0
- package/dist/types/stories/components/spw-loading/spw-loading.stories.d.ts +6 -0
- package/dist/types/stories/components/spw-toast/spw-toast.stories.d.ts +11 -0
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-list/spw-list.stories.d.ts +4 -1
- package/hydrate/index.js +600 -238
- package/hydrate/index.mjs +600 -238
- package/package.json +1 -1
- package/dist/components/p--N4W3bqs.js +0 -1
- package/dist/components/p-B1SCChor.js +0 -1
- package/dist/components/p-BcS3VsZ9.js +0 -1
- package/dist/components/p-C45GoR7l.js +0 -1
- package/dist/components/p-CCYCLemd.js +0 -1
- package/dist/components/p-CEq9lOD1.js +0 -1
- package/dist/components/p-CN8ujUL2.js +0 -1
- package/dist/components/p-CYC9FMY4.js +0 -1
- package/dist/components/p-CwkSs-Bb.js +0 -1
- package/dist/components/p-D_3btjGy.js +0 -1
- package/dist/components/p-DccxymX8.js +0 -1
- package/dist/components/p-bAkyQE_m.js +0 -1
- package/dist/components/p-p1L06Ar7.js +0 -1
- package/dist/components/p-pZQnbZwX.js +0 -1
- package/dist/spw-stencil-library/p-05e0c3eb.entry.js +0 -1
- package/dist/spw-stencil-library/p-08a38490.entry.js +0 -1
- package/dist/spw-stencil-library/p-13b4f9bc.entry.js +0 -1
- package/dist/spw-stencil-library/p-18164671.entry.js +0 -1
- package/dist/spw-stencil-library/p-1cf66055.entry.js +0 -1
- package/dist/spw-stencil-library/p-240d8e13.entry.js +0 -1
- package/dist/spw-stencil-library/p-28e8aa65.entry.js +0 -1
- package/dist/spw-stencil-library/p-2caaa9c2.entry.js +0 -1
- package/dist/spw-stencil-library/p-2db4b489.entry.js +0 -1
- package/dist/spw-stencil-library/p-37abba34.entry.js +0 -1
- package/dist/spw-stencil-library/p-38f35b43.entry.js +0 -1
- package/dist/spw-stencil-library/p-3c563ca2.entry.js +0 -1
- package/dist/spw-stencil-library/p-42368b16.entry.js +0 -1
- package/dist/spw-stencil-library/p-43091001.entry.js +0 -1
- package/dist/spw-stencil-library/p-4360ea7b.entry.js +0 -1
- package/dist/spw-stencil-library/p-44f52ede.entry.js +0 -1
- package/dist/spw-stencil-library/p-481585cd.entry.js +0 -1
- package/dist/spw-stencil-library/p-501c3985.entry.js +0 -1
- package/dist/spw-stencil-library/p-5bc4b3ad.entry.js +0 -1
- package/dist/spw-stencil-library/p-6e02c03b.entry.js +0 -1
- package/dist/spw-stencil-library/p-71713147.entry.js +0 -1
- package/dist/spw-stencil-library/p-750d30e1.entry.js +0 -1
- package/dist/spw-stencil-library/p-7e9eaaf4.entry.js +0 -1
- package/dist/spw-stencil-library/p-7fbc61e4.entry.js +0 -1
- package/dist/spw-stencil-library/p-8029def2.entry.js +0 -1
- package/dist/spw-stencil-library/p-8ab1c03e.entry.js +0 -1
- package/dist/spw-stencil-library/p-8bf5a952.entry.js +0 -1
- package/dist/spw-stencil-library/p-8c20296d.entry.js +0 -1
- package/dist/spw-stencil-library/p-8c289268.entry.js +0 -1
- package/dist/spw-stencil-library/p-8e1fbd85.entry.js +0 -1
- package/dist/spw-stencil-library/p-923b7ed8.entry.js +0 -1
- package/dist/spw-stencil-library/p-92e317a4.entry.js +0 -1
- package/dist/spw-stencil-library/p-943588f2.entry.js +0 -1
- package/dist/spw-stencil-library/p-99d36a68.entry.js +0 -1
- package/dist/spw-stencil-library/p-9ed189ab.entry.js +0 -1
- package/dist/spw-stencil-library/p-9f0c7849.entry.js +0 -1
- package/dist/spw-stencil-library/p-a2b65704.entry.js +0 -1
- package/dist/spw-stencil-library/p-a952a97d.entry.js +0 -1
- package/dist/spw-stencil-library/p-a9c7422d.entry.js +0 -1
- package/dist/spw-stencil-library/p-a9cf9e71.entry.js +0 -1
- package/dist/spw-stencil-library/p-abb2edc6.entry.js +0 -1
- package/dist/spw-stencil-library/p-ad4f780f.entry.js +0 -1
- package/dist/spw-stencil-library/p-af068b38.entry.js +0 -1
- package/dist/spw-stencil-library/p-b226ca7b.entry.js +0 -1
- package/dist/spw-stencil-library/p-b3287d31.entry.js +0 -1
- package/dist/spw-stencil-library/p-b841d377.entry.js +0 -1
- package/dist/spw-stencil-library/p-c1aaf055.entry.js +0 -1
- package/dist/spw-stencil-library/p-c60f4d0d.entry.js +0 -1
- package/dist/spw-stencil-library/p-c7e173fb.entry.js +0 -1
- package/dist/spw-stencil-library/p-c8be5dba.entry.js +0 -1
- package/dist/spw-stencil-library/p-cbcae74f.entry.js +0 -1
- package/dist/spw-stencil-library/p-d2624de2.entry.js +0 -1
- package/dist/spw-stencil-library/p-d28ba38e.entry.js +0 -1
- package/dist/spw-stencil-library/p-d5a0101b.entry.js +0 -1
- package/dist/spw-stencil-library/p-d6e75066.entry.js +0 -1
- package/dist/spw-stencil-library/p-d8861b95.entry.js +0 -1
- package/dist/spw-stencil-library/p-da1faeb1.entry.js +0 -1
- package/dist/spw-stencil-library/p-e111968c.entry.js +0 -1
- package/dist/spw-stencil-library/p-ea1bfddb.entry.js +0 -1
- package/dist/spw-stencil-library/p-ef20914c.entry.js +0 -1
- package/dist/spw-stencil-library/p-f4761dc5.entry.js +0 -1
- package/dist/spw-stencil-library/p-f674626b.entry.js +0 -1
- package/dist/spw-stencil-library/p-f6e80332.entry.js +0 -1
- package/dist/spw-stencil-library/p-fbdaa431.entry.js +0 -1
- package/dist/spw-stencil-library/p-fe036751.entry.js +0 -1
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
3
|
+
/* Document
|
|
4
|
+
========================================================================== */
|
|
5
|
+
/**
|
|
6
|
+
* 1. Correct the line height in all browsers.
|
|
7
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
8
|
+
*/
|
|
9
|
+
html {
|
|
10
|
+
line-height: 1.3; /* 1 */
|
|
11
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h1,
|
|
15
|
+
h2,
|
|
16
|
+
h3,
|
|
17
|
+
h4,
|
|
18
|
+
h5,
|
|
19
|
+
h6,
|
|
20
|
+
p,
|
|
21
|
+
ul,
|
|
22
|
+
li {
|
|
23
|
+
padding: 0;
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ul {
|
|
28
|
+
list-style: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host {
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
line-height: 1.3;
|
|
34
|
+
-webkit-text-size-adjust: 100%;
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host *,
|
|
39
|
+
:host *::before,
|
|
40
|
+
:host *::after {
|
|
41
|
+
box-sizing: inherit;
|
|
42
|
+
font-family: var(--spw-ds-font-main);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Sections
|
|
46
|
+
========================================================================== */
|
|
47
|
+
/**
|
|
48
|
+
* Remove the margin in all browsers.
|
|
49
|
+
*/
|
|
50
|
+
body {
|
|
51
|
+
margin: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Render the `main` element consistently in IE.
|
|
56
|
+
*/
|
|
57
|
+
main {
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
63
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
64
|
+
*/
|
|
65
|
+
h1 {
|
|
66
|
+
font-size: 2em;
|
|
67
|
+
margin: 0.67em 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Grouping content
|
|
71
|
+
========================================================================== */
|
|
72
|
+
/**
|
|
73
|
+
* 1. Add the correct box sizing in Firefox.
|
|
74
|
+
* 2. Show the overflow in Edge and IE.
|
|
75
|
+
*/
|
|
76
|
+
hr {
|
|
77
|
+
box-sizing: content-box; /* 1 */
|
|
78
|
+
height: 0; /* 1 */
|
|
79
|
+
overflow: visible; /* 2 */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
84
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
85
|
+
*/
|
|
86
|
+
pre {
|
|
87
|
+
font-family: monospace, monospace; /* 1 */
|
|
88
|
+
font-size: 1em; /* 2 */
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Text-level semantics
|
|
92
|
+
========================================================================== */
|
|
93
|
+
/**
|
|
94
|
+
* Remove the gray background on active links in IE 10.
|
|
95
|
+
*/
|
|
96
|
+
a {
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
102
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
103
|
+
*/
|
|
104
|
+
abbr[title] {
|
|
105
|
+
border-bottom: none; /* 1 */
|
|
106
|
+
text-decoration: underline; /* 2 */
|
|
107
|
+
text-decoration: underline dotted; /* 2 */
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
112
|
+
*/
|
|
113
|
+
b,
|
|
114
|
+
strong {
|
|
115
|
+
font-weight: bolder;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
120
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
121
|
+
*/
|
|
122
|
+
code,
|
|
123
|
+
kbd,
|
|
124
|
+
samp {
|
|
125
|
+
font-family: monospace, monospace; /* 1 */
|
|
126
|
+
font-size: 1em; /* 2 */
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Add the correct font size in all browsers.
|
|
131
|
+
*/
|
|
132
|
+
small {
|
|
133
|
+
font-size: 80%;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
138
|
+
* all browsers.
|
|
139
|
+
*/
|
|
140
|
+
sub,
|
|
141
|
+
sup {
|
|
142
|
+
font-size: 75%;
|
|
143
|
+
line-height: 0;
|
|
144
|
+
position: relative;
|
|
145
|
+
vertical-align: baseline;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
sub {
|
|
149
|
+
bottom: -0.25em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
sup {
|
|
153
|
+
top: -0.5em;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Embedded content
|
|
157
|
+
========================================================================== */
|
|
158
|
+
/**
|
|
159
|
+
* Remove the border on images inside links in IE 10.
|
|
160
|
+
*/
|
|
161
|
+
img {
|
|
162
|
+
border-style: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Forms
|
|
166
|
+
========================================================================== */
|
|
167
|
+
/**
|
|
168
|
+
* 1. Change the font styles in all browsers.
|
|
169
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
170
|
+
*/
|
|
171
|
+
button,
|
|
172
|
+
input,
|
|
173
|
+
optgroup,
|
|
174
|
+
select,
|
|
175
|
+
textarea {
|
|
176
|
+
font-family: inherit; /* 1 */
|
|
177
|
+
font-size: 100%; /* 1 */
|
|
178
|
+
line-height: 1.15; /* 1 */
|
|
179
|
+
margin: 0; /* 2 */
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Show the overflow in IE.
|
|
184
|
+
* 1. Show the overflow in Edge.
|
|
185
|
+
*/
|
|
186
|
+
button,
|
|
187
|
+
input {
|
|
188
|
+
/* 1 */
|
|
189
|
+
overflow: visible;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
194
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
195
|
+
*/
|
|
196
|
+
button,
|
|
197
|
+
select {
|
|
198
|
+
/* 1 */
|
|
199
|
+
text-transform: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
204
|
+
*/
|
|
205
|
+
button,
|
|
206
|
+
[type=button],
|
|
207
|
+
[type=reset],
|
|
208
|
+
[type=submit] {
|
|
209
|
+
-webkit-appearance: button;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Remove the inner border and padding in Firefox.
|
|
214
|
+
*/
|
|
215
|
+
button::-moz-focus-inner,
|
|
216
|
+
[type=button]::-moz-focus-inner,
|
|
217
|
+
[type=reset]::-moz-focus-inner,
|
|
218
|
+
[type=submit]::-moz-focus-inner {
|
|
219
|
+
border-style: none;
|
|
220
|
+
padding: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Restore the focus styles unset by the previous rule.
|
|
225
|
+
*/
|
|
226
|
+
button:-moz-focusring,
|
|
227
|
+
[type=button]:-moz-focusring,
|
|
228
|
+
[type=reset]:-moz-focusring,
|
|
229
|
+
[type=submit]:-moz-focusring {
|
|
230
|
+
outline: 1px dotted ButtonText;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Correct the padding in Firefox.
|
|
235
|
+
*/
|
|
236
|
+
fieldset {
|
|
237
|
+
padding: 0.35em 0.75em 0.625em;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
242
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
243
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
244
|
+
* `fieldset` elements in all browsers.
|
|
245
|
+
*/
|
|
246
|
+
legend {
|
|
247
|
+
box-sizing: border-box; /* 1 */
|
|
248
|
+
color: inherit; /* 2 */
|
|
249
|
+
display: table; /* 1 */
|
|
250
|
+
max-width: 100%; /* 1 */
|
|
251
|
+
padding: 0; /* 3 */
|
|
252
|
+
white-space: normal; /* 1 */
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
257
|
+
*/
|
|
258
|
+
progress {
|
|
259
|
+
vertical-align: baseline;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
264
|
+
*/
|
|
265
|
+
textarea {
|
|
266
|
+
overflow: auto;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* 1. Add the correct box sizing in IE 10.
|
|
271
|
+
* 2. Remove the padding in IE 10.
|
|
272
|
+
*/
|
|
273
|
+
[type=checkbox],
|
|
274
|
+
[type=radio] {
|
|
275
|
+
box-sizing: border-box; /* 1 */
|
|
276
|
+
padding: 0; /* 2 */
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
281
|
+
*/
|
|
282
|
+
[type=number]::-webkit-inner-spin-button,
|
|
283
|
+
[type=number]::-webkit-outer-spin-button {
|
|
284
|
+
height: auto;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
289
|
+
* 2. Correct the outline style in Safari.
|
|
290
|
+
*/
|
|
291
|
+
[type=search] {
|
|
292
|
+
-webkit-appearance: textfield; /* 1 */
|
|
293
|
+
outline-offset: -2px; /* 2 */
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
298
|
+
*/
|
|
299
|
+
[type=search]::-webkit-search-decoration {
|
|
300
|
+
-webkit-appearance: none;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
305
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
306
|
+
*/
|
|
307
|
+
::-webkit-file-upload-button {
|
|
308
|
+
-webkit-appearance: button; /* 1 */
|
|
309
|
+
font: inherit; /* 2 */
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/* Interactive
|
|
313
|
+
========================================================================== */
|
|
314
|
+
/*
|
|
315
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
316
|
+
*/
|
|
317
|
+
details {
|
|
318
|
+
display: block;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/*
|
|
322
|
+
* Add the correct display in all browsers.
|
|
323
|
+
*/
|
|
324
|
+
summary {
|
|
325
|
+
display: list-item;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Misc
|
|
329
|
+
========================================================================== */
|
|
330
|
+
/**
|
|
331
|
+
* Add the correct display in IE 10+.
|
|
332
|
+
*/
|
|
333
|
+
template {
|
|
334
|
+
display: none;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Add the correct display in IE 10.
|
|
339
|
+
*/
|
|
340
|
+
[hidden] {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:root {
|
|
345
|
+
--spw-ds-container-xl: 1232px;
|
|
346
|
+
--spw-ds-container-lg: 1024px;
|
|
347
|
+
--spw-ds-container-md: 768px;
|
|
348
|
+
--spw-ds-container-sm: 640px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.spw-ds-container {
|
|
352
|
+
width: 100%;
|
|
353
|
+
padding-left: 16px;
|
|
354
|
+
padding-right: 16px;
|
|
355
|
+
margin-left: auto;
|
|
356
|
+
margin-right: auto;
|
|
357
|
+
}
|
|
358
|
+
@media (min-width: 460px) {
|
|
359
|
+
.spw-ds-container {
|
|
360
|
+
max-width: var(--spw-ds-container-sm);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
@media (min-width: 768px) {
|
|
364
|
+
.spw-ds-container {
|
|
365
|
+
max-width: var(--spw-ds-container-md);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
@media (min-width: 1024px) {
|
|
369
|
+
.spw-ds-container {
|
|
370
|
+
max-width: var(--spw-ds-container-lg);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
@media (min-width: 1350px) {
|
|
374
|
+
.spw-ds-container {
|
|
375
|
+
max-width: var(--spw-ds-container-xl);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
:host {
|
|
380
|
+
display: contents;
|
|
381
|
+
/** @prop --spw-toast-controller-gap: Espace entre les toasts */
|
|
382
|
+
--spw-toast-controller-gap: 10px;
|
|
383
|
+
/** @prop --spw-toast-controller-offset: Distance des bords de l'écran */
|
|
384
|
+
--spw-toast-controller-offset: 24px;
|
|
385
|
+
/** @prop --spw-toast-controller-width: Largeur du conteneur de toasts */
|
|
386
|
+
--spw-toast-controller-width: 360px;
|
|
387
|
+
/** @prop --spw-toast-controller-z-index: Z-index du conteneur */
|
|
388
|
+
--spw-toast-controller-z-index: 999999999;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.spw-toast-controller__stack {
|
|
392
|
+
position: fixed;
|
|
393
|
+
display: flex;
|
|
394
|
+
flex-direction: column;
|
|
395
|
+
gap: var(--spw-toast-controller-gap);
|
|
396
|
+
z-index: var(--spw-toast-controller-z-index);
|
|
397
|
+
width: var(--spw-toast-controller-width);
|
|
398
|
+
max-width: calc(100vw - 2 * var(--spw-toast-controller-offset));
|
|
399
|
+
pointer-events: none;
|
|
400
|
+
}
|
|
401
|
+
.spw-toast-controller__stack > * {
|
|
402
|
+
pointer-events: auto;
|
|
403
|
+
}
|
|
404
|
+
.spw-toast-controller__stack--top-right {
|
|
405
|
+
top: var(--spw-toast-controller-offset);
|
|
406
|
+
right: var(--spw-toast-controller-offset);
|
|
407
|
+
}
|
|
408
|
+
.spw-toast-controller__stack--top-left {
|
|
409
|
+
top: var(--spw-toast-controller-offset);
|
|
410
|
+
left: var(--spw-toast-controller-offset);
|
|
411
|
+
}
|
|
412
|
+
.spw-toast-controller__stack--top-center {
|
|
413
|
+
top: var(--spw-toast-controller-offset);
|
|
414
|
+
left: 50%;
|
|
415
|
+
transform: translateX(-50%);
|
|
416
|
+
}
|
|
417
|
+
.spw-toast-controller__stack--bottom-right {
|
|
418
|
+
bottom: var(--spw-toast-controller-offset);
|
|
419
|
+
right: var(--spw-toast-controller-offset);
|
|
420
|
+
flex-direction: column-reverse;
|
|
421
|
+
}
|
|
422
|
+
.spw-toast-controller__stack--bottom-left {
|
|
423
|
+
bottom: var(--spw-toast-controller-offset);
|
|
424
|
+
left: var(--spw-toast-controller-offset);
|
|
425
|
+
flex-direction: column-reverse;
|
|
426
|
+
}
|
|
427
|
+
.spw-toast-controller__stack--bottom-center {
|
|
428
|
+
bottom: var(--spw-toast-controller-offset);
|
|
429
|
+
left: 50%;
|
|
430
|
+
transform: translateX(-50%);
|
|
431
|
+
flex-direction: column-reverse;
|
|
432
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class SpwToastController {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Position du conteneur de toasts sur l'écran.
|
|
6
|
+
* Valeurs: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'
|
|
7
|
+
*/
|
|
8
|
+
this.position = 'bottom-right';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Crée et affiche un nouveau toast.
|
|
12
|
+
* @returns la référence à l'élément spw-toast créé
|
|
13
|
+
*/
|
|
14
|
+
async create(options) {
|
|
15
|
+
var _a;
|
|
16
|
+
const toast = document.createElement('spw-toast');
|
|
17
|
+
if (options.heading)
|
|
18
|
+
toast.heading = options.heading;
|
|
19
|
+
if (options.message)
|
|
20
|
+
toast.message = options.message;
|
|
21
|
+
if (options.linkLabel)
|
|
22
|
+
toast.linkLabel = options.linkLabel;
|
|
23
|
+
if (options.linkHref)
|
|
24
|
+
toast.linkHref = options.linkHref;
|
|
25
|
+
if (options.icon)
|
|
26
|
+
toast.icon = options.icon;
|
|
27
|
+
toast.variant = (_a = options.variant) !== null && _a !== void 0 ? _a : 'default';
|
|
28
|
+
toast.duration = options.duration !== undefined ? options.duration : 5000;
|
|
29
|
+
toast.dismissable = options.dismissable !== undefined ? options.dismissable : true;
|
|
30
|
+
if (options.onLinkClick) {
|
|
31
|
+
toast.addEventListener('spwToastLinkClick', options.onLinkClick);
|
|
32
|
+
}
|
|
33
|
+
this.stackEl.appendChild(toast);
|
|
34
|
+
return toast;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Ferme tous les toasts affichés.
|
|
38
|
+
*/
|
|
39
|
+
async dismissAll() {
|
|
40
|
+
const toasts = Array.from(this.stackEl.querySelectorAll('spw-toast'));
|
|
41
|
+
await Promise.all(toasts.map(t => { var _a; return (_a = t.dismiss) === null || _a === void 0 ? void 0 : _a.call(t); }));
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return (h(Host, { key: '0708b7377e7d5d278ebdcb59cbff21ca9fb78a32' }, h("div", { key: 'dd5d652ad15187301c0d968bb996482de7262372', class: {
|
|
45
|
+
'spw-toast-controller__stack': true,
|
|
46
|
+
[`spw-toast-controller__stack--${this.position}`]: true,
|
|
47
|
+
}, "aria-label": "Notifications", ref: el => (this.stackEl = el) })));
|
|
48
|
+
}
|
|
49
|
+
static get is() { return "spw-toast-controller"; }
|
|
50
|
+
static get encapsulation() { return "shadow"; }
|
|
51
|
+
static get originalStyleUrls() {
|
|
52
|
+
return {
|
|
53
|
+
"$": ["spw-toast-controller.scss"]
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
static get styleUrls() {
|
|
57
|
+
return {
|
|
58
|
+
"$": ["spw-toast-controller.css"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static get properties() {
|
|
62
|
+
return {
|
|
63
|
+
"position": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"mutable": false,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'",
|
|
68
|
+
"resolved": "\"bottom-center\" | \"bottom-left\" | \"bottom-right\" | \"top-center\" | \"top-left\" | \"top-right\"",
|
|
69
|
+
"references": {}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "Position du conteneur de toasts sur l'\u00E9cran.\nValeurs: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'"
|
|
76
|
+
},
|
|
77
|
+
"getter": false,
|
|
78
|
+
"setter": false,
|
|
79
|
+
"reflect": false,
|
|
80
|
+
"attribute": "position",
|
|
81
|
+
"defaultValue": "'bottom-right'"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get methods() {
|
|
86
|
+
return {
|
|
87
|
+
"create": {
|
|
88
|
+
"complexType": {
|
|
89
|
+
"signature": "(options: SpwToastOptions) => Promise<HTMLElement>",
|
|
90
|
+
"parameters": [{
|
|
91
|
+
"name": "options",
|
|
92
|
+
"type": "SpwToastOptions",
|
|
93
|
+
"docs": ""
|
|
94
|
+
}],
|
|
95
|
+
"references": {
|
|
96
|
+
"Promise": {
|
|
97
|
+
"location": "global",
|
|
98
|
+
"id": "global::Promise"
|
|
99
|
+
},
|
|
100
|
+
"HTMLElement": {
|
|
101
|
+
"location": "global",
|
|
102
|
+
"id": "global::HTMLElement"
|
|
103
|
+
},
|
|
104
|
+
"SpwToastOptions": {
|
|
105
|
+
"location": "local",
|
|
106
|
+
"path": "/Users/pectonite/Desktop/SPW/spw-design-system/packages/spw-stencil-library/src/components/spw-toast/spw-toast-controller/spw-toast-controller.tsx",
|
|
107
|
+
"id": "src/components/spw-toast/spw-toast-controller/spw-toast-controller.tsx::SpwToastOptions"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"return": "Promise<HTMLElement>"
|
|
111
|
+
},
|
|
112
|
+
"docs": {
|
|
113
|
+
"text": "Cr\u00E9e et affiche un nouveau toast.",
|
|
114
|
+
"tags": [{
|
|
115
|
+
"name": "returns",
|
|
116
|
+
"text": "la r\u00E9f\u00E9rence \u00E0 l'\u00E9l\u00E9ment spw-toast cr\u00E9\u00E9"
|
|
117
|
+
}]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"dismissAll": {
|
|
121
|
+
"complexType": {
|
|
122
|
+
"signature": "() => Promise<void>",
|
|
123
|
+
"parameters": [],
|
|
124
|
+
"references": {
|
|
125
|
+
"Promise": {
|
|
126
|
+
"location": "global",
|
|
127
|
+
"id": "global::Promise"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"return": "Promise<void>"
|
|
131
|
+
},
|
|
132
|
+
"docs": {
|
|
133
|
+
"text": "Ferme tous les toasts affich\u00E9s.",
|
|
134
|
+
"tags": []
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|