@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTextFieldCss = () => `@charset "UTF-8";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:
|
|
3
|
+
const spwTextFieldCss = () => `@charset "UTF-8";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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-input-height:40px;--spw-input-padding:0 12px;--spw-input-text-align:left;--spw-input-font-size:16px;--spw-input-radius:4px;--spw-input-icon-search-color:var(--spw-color-themes-grey-grey-900);--spw-input-border:var(--spw-color-themes-grey-grey-800)}.spw-text-field{position:relative}.spw-text-field__input-container{flex:1;position:relative;display:flex}.spw-text-field__input{flex:1;width:100%;height:var(--spw-input-height);padding:var(--spw-input-padding);text-overflow:ellipsis;line-height:var(--spw-input-height);border-radius:var(--spw-input-radius);font-size:var(--spw-input-font-size);text-align:var(--spw-input-text-align);border:1px solid var(--spw-input-border)}.spw-text-field__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-text-field__input:focus,.spw-text-field__input:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-text-field__input[type=number]{-moz-appearance:textfield;-webkit-appearance:none;appearance:none;margin:0}.spw-text-field__input[type=number]::-webkit-outer-spin-button,.spw-text-field__input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host-context(spw-header) .spw-text-field__input{border:1px solid var(--spw-color-themes-grey-grey-300)}.spw-text-field--disabled .spw-text-field__input{border-color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-text-field--disabled .spw-text-field__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-text-field--disabled .spw-text-field__input:hover,.spw-text-field--disabled .spw-text-field__input:focus,.spw-text-field--disabled .spw-text-field__input:focus-visible{outline:none}.spw-text-field--is-error .spw-text-field__input{border-color:var(--spw-colors-states-error-error-300)}.spw-text-field--large .spw-text-field__input{height:60px;padding:0 24px;line-height:60px}.spw-text-field--is-search:not(.spw-text-field--is-clear) .spw-text-field__input{padding-right:40px}.spw-text-field--is-clear:not(.spw-text-field--is-search) .spw-text-field__input{padding-right:40px}.spw-text-field--is-clear .spw-text-field__input{padding-right:70px}.spw-text-field__container{display:flex;align-items:center}.spw-text-field__indicator{padding-left:12px}.spw-text-field__field-message{margin-bottom:8px;margin-top:-4px}.spw-text-field__icons{display:flex;align-items:center;position:absolute;top:50%;right:12px;gap:8px;transform:translateY(-50%)}.spw-text-field--large .spw-text-field__icons{right:24px}.spw-text-field--disabled .spw-text-field__icons{pointer-events:none}.spw-text-field__clear{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:pointer;padding:2px;font-size:16px;transition:all 0.2s ease-in}.spw-text-field__clear:hover{color:var(--spw-ds-primary)}.spw-text-field--disabled .spw-text-field__clear{border-color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__icon{color:var(--spw-input-icon-search-color)}.spw-text-field--disabled .spw-text-field__icon{color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__icon--search{pointer-events:none;font-size:18px}.spw-text-field--large .spw-text-field__icon--search{font-size:24px}.spw-text-field__icon--clear{color:var(--spw-color-themes-grey-grey-900);font-size:12px}.spw-text-field__submit{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:50%;background:transparent;cursor:pointer;transition:all 0.2s ease;color:var(--spw-input-icon-search-color);font-size:18px}.spw-text-field__submit:focus,.spw-text-field__submit:focus-visible{outline:1px solid white;outline-offset:0;box-shadow:0 0 0 3px black}.spw-text-field--large .spw-text-field__submit{width:36px;height:36px;font-size:24px}.spw-text-field--disabled .spw-text-field__submit{cursor:not-allowed;color:var(--spw-color-themes-grey-grey-500)}.spw-text-field__number-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--spw-input-height);height:var(--spw-input-height);padding:0;border:1px solid var(--spw-input-border);background:var(--spw-color-themes-grey-grey-100);cursor:pointer;transition:all 0.2s ease-in-out;color:var(--spw-color-themes-grey-grey-900);font-size:14px}.spw-text-field__number-btn--decrement{border-radius:var(--spw-input-radius) 0 0 var(--spw-input-radius);border-right:none}.spw-text-field__number-btn--increment{border-radius:0 var(--spw-input-radius) var(--spw-input-radius) 0;border-left:none}.spw-text-field__number-btn:hover:not(:disabled){background:var(--spw-color-themes-grey-grey-200)}.spw-text-field__number-btn:focus,.spw-text-field__number-btn:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black;z-index:1}.spw-text-field__number-btn:disabled{cursor:not-allowed;color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100)}.spw-text-field--large .spw-text-field__number-btn{width:60px;height:60px;font-size:18px}.spw-text-field--has-controls .spw-text-field__input{border-radius:0;border-left:none;border-right:none;text-align:center}`;
|
|
4
4
|
|
|
5
5
|
const SpwTextField = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -233,7 +233,7 @@ const SpwTextField = class {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
|
-
return (h("div", { key: '
|
|
236
|
+
return (h("div", { key: '44a4d59fe6e959559472d971c33b7629cbdac6a6', class: this.elementClass }, this.label && (h("spw-field-label", { key: '22569d1584c2acabd497ce5643c6bdf24f68426e', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '0eaa67081ca25d4ed46f3690d919ca19ef511723', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '53078f1bc7749502891f9e834648a5b278904ecc', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '65f6e1732d325e5574f914e3517edb611b3dcc2c', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: 'df589f1dc61d59d6070c6899695c677b08960efd', icon: "fa-minus" }))), h("div", { key: '92b23b87409671522f147c107995be48fe0b9f9d', class: "spw-text-field__input-container" }, h("input", { key: '2528f22a9ef7b88ff8e2a451e9a38cba62ea2f3c', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.name, disabled: this.disabled, name: this.name, id: this.name, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: 'd10333a6fd560f561042e832ace5d6e6fb9e20c3', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '4605f1b2a9236bca589c8159b53e656797989022', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: 'fee4a5228fa7003086966c4dd39d47f5722ae784', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: '68aa25bd789c36e54211e5230beee333fa2d325f', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: '45ca6fab4cadf1f4d0e9519d90fa27f2378c78cd', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: 'fffbc37f5c9280630a5d8a12d8151585fed66db9', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '04c3b62c8ec3befbc9a9e12fcc10d129983eed05', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: '387b1e494e53c9d7c5bf92403380a1d415e96078', icon: "fa-plus" }))), this.indicator && h("div", { key: 'bb45650d65b8c858faba21ae5ecfc0c1a3e15551', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
237
237
|
}
|
|
238
238
|
static get formAssociated() { return true; }
|
|
239
239
|
get el() { return getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTextareaCss = () => `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:
|
|
3
|
+
const spwTextareaCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-textarea{position:relative}.spw-textarea__input{flex:1;width:100%;min-height:40px;padding:12px;resize:vertical;border-radius:4px;border:1px solid var(--spw-color-themes-grey-grey-800)}.spw-textarea__input:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-textarea__input:focus,.spw-textarea__input:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-textarea--disabled .spw-textarea__input{border-color:var(--spw-color-themes-grey-grey-400);background:var(--spw-color-themes-grey-grey-100);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-textarea--disabled .spw-textarea__input::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-textarea--disabled .spw-textarea__input:hover,.spw-textarea--disabled .spw-textarea__input:focus,.spw-textarea--disabled .spw-textarea__input:focus-visible{outline:none}.spw-textarea--is-error .spw-textarea__input{border-color:var(--spw-colors-states-error-error-300)}.spw-textarea--large .spw-textarea__input{height:60px;padding:0 24px;line-height:60px}.spw-textarea--is-search .spw-textarea__input{padding-right:80px}.spw-textarea__container{display:flex;align-items:center}.spw-textarea__indicator{padding-left:12px}.spw-textarea__field-message{margin-bottom:8px;margin-top:-4px}.spw-textarea__icon{pointer-events:none;position:absolute;top:50%;right:30px;transform:translateY(-50%);color:var(--spw-ds-primary);font-size:24px}`;
|
|
4
4
|
|
|
5
5
|
const SpwTextarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -110,7 +110,7 @@ const SpwTextarea = class {
|
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: '2ceb01bb4656e4e6754a50fe9831264be5bc0956', class: this.elementClass }, this.label && (h("spw-field-label", { key: '3b1d8c62cd7101a0314b2696a152e87bc05d9345', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '3366fa4637d05296f9132849b0293e5341eec6c0', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '820de0e531b4eab19f4b5d333648c37728f42c62', class: "spw-textarea__container" }, h("textarea", { key: '56b350e2358fb6a1a08deeb91e093dea9f229f39', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
114
114
|
}
|
|
115
115
|
static get formAssociated() { return true; }
|
|
116
116
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTileDescriptionCss = () => `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:
|
|
3
|
+
const spwTileDescriptionCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}:host(.--icon) .spw-tile-description{color:var(--spw-color-themes-grey-grey-700);line-height:1.5;font-size:18px}:host(.--big) .spw-tile-description,:host(.--light) .spw-tile-description{color:white;line-height:1.3;font-size:18px}`;
|
|
4
4
|
|
|
5
5
|
const SpwTileDescription = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '2e2ca1aefcce18fbc046789a6bd233dbb6fb4c2a', class: "spw-tile-description" }, h("slot", { key: '1665a822df4fa486ca16fbd67c5ea8e25811c52e' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
SpwTileDescription.style = spwTileDescriptionCss();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTileTitleCss = () => `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:
|
|
3
|
+
const spwTileTitleCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-tile-title-icon:20px;--spw-tile-title-underline:none}:host(.--icon) .spw-tile-title{color:var(--spw-color-themes-grey-grey-900);line-height:1.4;font-size:var(--spw-tile-title-icon);font-weight:700;text-decoration:var(--spw-tile-title-underline);transition:all 0.2s linear}:host(.--icon.--hovered) .spw-tile-title{color:var(--spw-ds-primary)}:host(.--light) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}:host(.--big) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}`;
|
|
4
4
|
|
|
5
5
|
const SpwTileTitle = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("h3", { key: '
|
|
10
|
+
return (h("h3", { key: 'cd661b27606403e5396d468240e583ead0680094', class: "spw-tile-title" }, h("slot", { key: 'e0c8e41cdbc51325bcc2f70f41abea825ca1b5f6' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
SpwTileTitle.style = spwTileTitleCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, F as Fragment, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, F as Fragment, H as Host, a as getElement } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTileCss = () => `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:
|
|
3
|
+
const spwTileCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-tile{display:block;text-decoration:none;position:relative;transition:all 0.3s ease-in-out}.spw-tile--hoverable:hover{transform:translateY(-5px)}.spw-tile:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-tile--icon{padding:16px 0}.spw-tile--big,.spw-tile--light{position:relative;padding-top:calc(70% - 12px);border-radius:6px;overflow:hidden}@media (min-width: 1024px){.spw-tile--big,.spw-tile--light{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-landscape,.spw-tile--light.spw-tile--height-landscape{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-square,.spw-tile--light.spw-tile--height-square{padding-top:100%}.spw-tile--big.spw-tile--height-portrait,.spw-tile--light.spw-tile--height-portrait{padding-top:150%}}.spw-tile--big:before,.spw-tile--light:before{content:"";background:black;opacity:0;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.spw-tile--big:hover:before,.spw-tile--light:hover:before{opacity:0.3}.spw-tile__overlay,.spw-tile__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-tile__overlay{z-index:2;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.75) 100%)}.spw-tile__image{z-index:1;object-fit:cover}.spw-tile__button{background:white;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;color:var(--spw-ds-primary);border-radius:50%;transition:all 0.2s ease-in;border:2px solid transparent;font-size:20px;margin-top:12px}.spw-tile:hover .spw-tile__button{border-color:white;color:white;background:transparent}.spw-tile--icon .spw-tile__content{display:flex;flex-direction:column;gap:12px;padding:0 12px;text-align:center}.spw-tile--icon .spw-tile__content ::slotted(spw-icon){font-size:32px;color:var(--spw-ds-primary)}.spw-tile--light .spw-tile__content,.spw-tile--big .spw-tile__content{position:absolute;z-index:3;display:flex;flex-direction:column;gap:6px;padding:24px;bottom:0;left:0;width:100%}.spw-tile--light .spw-tile__content{text-align:center;padding-bottom:24px}`;
|
|
4
4
|
|
|
5
5
|
const SpwTile = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -60,7 +60,7 @@ const SpwTile = class {
|
|
|
60
60
|
href,
|
|
61
61
|
target,
|
|
62
62
|
};
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '14395d110680c95303f45d567a4e6bace5a8d7fc' }, h(TagType, Object.assign({ key: 'd90d895005cdcc47c9f42bdda34abe4d6cfd571a' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '901cd1e2e55bd95616c29284c0cbb4b97234d8e6' }, h("div", { key: '86dc71f0fcf1d85da4116cc39ead77a706d1ab47', class: "spw-tile__overlay", style: { opacity: `${this.overlayOpacity / 100}` } }), h("img", { key: '09aecba4cb28384ea3e8406a898b701e1676eb45', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '3c2dcb3185bc0c1779a0c6f6c9519cf1828a4561', class: "spw-tile__content" }, h("slot", { key: 'bf6693c2aefc9fcc0490e60d3848e3bcaeabe77c' }), this.href && this.variant === 'big' && (h("span", { key: '672d7155ea60472623db224cea93da79f9aa9679', class: "spw-tile__button" }, h("spw-icon", { key: '44e341d903da02185495c55bbb927189f60eaa5e', icon: "fa-chevron-right" })))))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return getElement(this); }
|
|
66
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTimelineItemCss = () => `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:
|
|
3
|
+
const spwTimelineItemCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-timeline-item{display:flex;flex-direction:column;align-items:center;width:100%}.spw-timeline-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-timeline-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-timeline-item__step spw-icon{font-size:16px}.spw-timeline-item--vertical .spw-timeline-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-timeline-item__icon{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative;border-color:#d1d5db}.spw-timeline-item__icon svg{width:24px;height:24px}.spw-timeline-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease;background-color:#d1d5db}.spw-timeline-item--vertical .spw-timeline-item__connector{top:0;left:7px;right:auto;width:3px;height:calc(100% + 6px)}.spw-timeline-item__label{display:inline-flex;gap:8px;font-size:16px;font-weight:700;text-align:center;margin-top:4px;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-timeline-item--vertical .spw-timeline-item__label{text-align:left}.spw-timeline-item__label--clickable{text-decoration:underline;cursor:pointer;user-select:none}.spw-timeline-item__label--clickable:hover{text-decoration:none}.spw-timeline-item__label-text{flex:1}.spw-timeline-item__description-wrapper{margin-top:4px;display:flex;flex-direction:column;align-items:center;gap:8px}.spw-timeline-item--vertical .spw-timeline-item__description-wrapper{align-items:flex-start}.spw-timeline-item__description{font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px;transition:all 0.3s ease}.spw-timeline-item--vertical .spw-timeline-item__description{text-align:left}.spw-timeline-item__description--collapsed{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.spw-timeline-item__toggle{cursor:pointer;font-size:20px;color:var(--spw-ds-primary);transition:transform 0.3s ease}.spw-timeline-item__toggle:hover{opacity:0.8}.spw-timeline-item--vertical .spw-timeline-item__content{margin-top:-6px;margin-bottom:8px}.spw-timeline-item--active .spw-timeline-item__icon{border-color:var(--spw-ds-primary);background-color:var(--spw-ds-primary);color:white}.spw-timeline-item--active .spw-timeline-item__label{color:var(--spw-ds-primary)}.spw-timeline-item--default .spw-timeline-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}`;
|
|
4
4
|
|
|
5
5
|
const SpwTimelineItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -59,10 +59,10 @@ const SpwTimelineItem = class {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const showConnector = this.isLast === 'false';
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '41fa618d9a5a29f4f1bf4148233bd99508b234c2' }, h("div", { key: '2fa81b51f997f52fccf92f906c1638e9cf232a69', class: this.elementClass }, h("div", { key: '7159236f4f5d6dc6eee908f00fae08ace4fcc34f', class: "spw-timeline-item__step" }, h("div", { key: 'c63d51222a85fecff245fbcb4a5f0ac5da89600e', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: 'b26dadd6114ce0a770ddf14107215a418fdda4f8', class: "spw-timeline-item__connector" })), h("div", { key: 'c46f51f7a49b9715882b837b33236ea541be8e2e', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: '6ad63db55014a9dbddbb716e258560ef99f2b857', class: "spw-timeline-item__description-wrapper" }, h("div", { key: 'eee20fb56f5393a65380aa3b30fa2c3c7b86872c', ref: el => (this.descriptionRef = el), class: {
|
|
63
63
|
'spw-timeline-item__description': true,
|
|
64
64
|
'spw-timeline-item__description--collapsed': !this.isDescriptionExpanded,
|
|
65
|
-
} }, this.description))), h("slot", { key: '
|
|
65
|
+
} }, this.description))), h("slot", { key: '02c17abcaaee39a0c7b95cb6c2fc852447ed5574' })))));
|
|
66
66
|
}
|
|
67
67
|
get el() { return getElement(this); }
|
|
68
68
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTimelineCss = () => `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:
|
|
3
|
+
const spwTimelineCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-timeline{display:flex;gap:6px}.spw-timeline--horizontal{flex-direction:row}.spw-timeline--vertical{flex-direction:column;align-items:flex-start}.spw-timeline__toggle{margin-top:8px;padding-left:32px;margin-left:7px;border-left:3px dashed #d1d5db}.spw-timeline__toggle--less{border-left-color:transparent}.spw-timeline__toggle-btn{background:none;border:none;color:var(--spw-ds-primary);font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}.spw-timeline__toggle-btn:hover{text-decoration:none}`;
|
|
4
4
|
|
|
5
5
|
const SpwTimeline = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -57,11 +57,11 @@ const SpwTimeline = class {
|
|
|
57
57
|
return this.visibleItems > 0 && items.length > this.visibleItems;
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'ae1c442c820f302e5f2b8c0ad0fc3d59e51e684a' }, h("div", { key: '561420901855c016b08989f869845b31571785cd', class: this.elementClass }, h("slot", { key: '341be1651c979183d62ed11afac141c05c3222e5' })), this.shouldShowToggleButton() && (h("div", { key: 'd332e3b348e03bae97defc160fa2d2fc8e9201cb', class: {
|
|
61
61
|
'spw-timeline__toggle': true,
|
|
62
62
|
'spw-timeline__toggle--more': !this.showAll,
|
|
63
63
|
'spw-timeline__toggle--less': this.showAll,
|
|
64
|
-
} }, h("span", { key: '
|
|
64
|
+
} }, h("span", { key: 'e5d9bbdb795a05f7b8985ecc92837b1657489140', class: "spw-timeline__toggle-btn", onClick: this.handleToggle }, this.showAll ? this.showLessText : this.showMoreText)))));
|
|
65
65
|
}
|
|
66
66
|
get el() { return getElement(this); }
|
|
67
67
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CcQDekex.js';
|
|
2
|
+
|
|
3
|
+
const spwToastControllerCss = () => `@charset "UTF-8";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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents;--spw-toast-controller-gap:10px;--spw-toast-controller-offset:24px;--spw-toast-controller-width:360px;--spw-toast-controller-z-index:999999999}.spw-toast-controller__stack{position:fixed;display:flex;flex-direction:column;gap:var(--spw-toast-controller-gap);z-index:var(--spw-toast-controller-z-index);width:var(--spw-toast-controller-width);max-width:calc(100vw - 2 * var(--spw-toast-controller-offset));pointer-events:none}.spw-toast-controller__stack>*{pointer-events:auto}.spw-toast-controller__stack--top-right{top:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-left{top:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-center{top:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%)}.spw-toast-controller__stack--bottom-right{bottom:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-left{bottom:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-center{bottom:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%);flex-direction:column-reverse}`;
|
|
4
|
+
|
|
5
|
+
const SpwToastController = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/**
|
|
9
|
+
* Position du conteneur de toasts sur l'écran.
|
|
10
|
+
* Valeurs: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'
|
|
11
|
+
*/
|
|
12
|
+
this.position = 'bottom-right';
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Crée et affiche un nouveau toast.
|
|
16
|
+
* @returns la référence à l'élément spw-toast créé
|
|
17
|
+
*/
|
|
18
|
+
async create(options) {
|
|
19
|
+
var _a;
|
|
20
|
+
const toast = document.createElement('spw-toast');
|
|
21
|
+
if (options.heading)
|
|
22
|
+
toast.heading = options.heading;
|
|
23
|
+
if (options.message)
|
|
24
|
+
toast.message = options.message;
|
|
25
|
+
if (options.linkLabel)
|
|
26
|
+
toast.linkLabel = options.linkLabel;
|
|
27
|
+
if (options.linkHref)
|
|
28
|
+
toast.linkHref = options.linkHref;
|
|
29
|
+
if (options.icon)
|
|
30
|
+
toast.icon = options.icon;
|
|
31
|
+
toast.variant = (_a = options.variant) !== null && _a !== void 0 ? _a : 'default';
|
|
32
|
+
toast.duration = options.duration !== undefined ? options.duration : 5000;
|
|
33
|
+
toast.dismissable = options.dismissable !== undefined ? options.dismissable : true;
|
|
34
|
+
if (options.onLinkClick) {
|
|
35
|
+
toast.addEventListener('spwToastLinkClick', options.onLinkClick);
|
|
36
|
+
}
|
|
37
|
+
this.stackEl.appendChild(toast);
|
|
38
|
+
return toast;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Ferme tous les toasts affichés.
|
|
42
|
+
*/
|
|
43
|
+
async dismissAll() {
|
|
44
|
+
const toasts = Array.from(this.stackEl.querySelectorAll('spw-toast'));
|
|
45
|
+
await Promise.all(toasts.map(t => { var _a; return (_a = t.dismiss) === null || _a === void 0 ? void 0 : _a.call(t); }));
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return (h(Host, { key: '0708b7377e7d5d278ebdcb59cbff21ca9fb78a32' }, h("div", { key: 'dd5d652ad15187301c0d968bb996482de7262372', class: {
|
|
49
|
+
'spw-toast-controller__stack': true,
|
|
50
|
+
[`spw-toast-controller__stack--${this.position}`]: true,
|
|
51
|
+
}, "aria-label": "Notifications", ref: el => (this.stackEl = el) })));
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
SpwToastController.style = spwToastControllerCss();
|
|
55
|
+
|
|
56
|
+
export { SpwToastController as spw_toast_controller };
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CcQDekex.js';
|
|
2
|
+
import { a as animationTo } from './animation-BO7xVlWo.js';
|
|
3
|
+
|
|
4
|
+
const spwToastCss = () => `@charset "UTF-8";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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}: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)}}`;
|
|
5
|
+
|
|
6
|
+
const VARIANT_ICONS = {
|
|
7
|
+
success: 'fa-check',
|
|
8
|
+
info: 'fa-info',
|
|
9
|
+
warning: 'fa-exclamation',
|
|
10
|
+
alert: 'fa-close',
|
|
11
|
+
};
|
|
12
|
+
const SpwToast = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
registerInstance(this, hostRef);
|
|
15
|
+
this.spwToastDismiss = createEvent(this, "spwToastDismiss", 7);
|
|
16
|
+
this.spwToastLinkClick = createEvent(this, "spwToastLinkClick", 7);
|
|
17
|
+
/** Variante du toast */
|
|
18
|
+
this.variant = 'info';
|
|
19
|
+
/** Titre du toast (gras) */
|
|
20
|
+
this.heading = '';
|
|
21
|
+
/** Message / description du toast */
|
|
22
|
+
this.message = '';
|
|
23
|
+
/** Texte du lien optionnel */
|
|
24
|
+
this.linkLabel = '';
|
|
25
|
+
/** URL du lien optionnel */
|
|
26
|
+
this.linkHref = '';
|
|
27
|
+
/** Durée d'affichage automatique en ms (0 = pas d'auto-dismiss) */
|
|
28
|
+
this.duration = 5000;
|
|
29
|
+
/** Affiche le bouton de fermeture */
|
|
30
|
+
this.dismissable = true;
|
|
31
|
+
/** Texte du bouton de fermeture */
|
|
32
|
+
this.dismissText = 'Masquer';
|
|
33
|
+
this.visible = false;
|
|
34
|
+
this.autoDismissTimer = null;
|
|
35
|
+
this.timerStartedAt = null;
|
|
36
|
+
this.timerRemaining = null;
|
|
37
|
+
// Swipe
|
|
38
|
+
this.swipeTouchStartX = 0;
|
|
39
|
+
this.swipeTouchStartY = 0;
|
|
40
|
+
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
this.show();
|
|
43
|
+
}
|
|
44
|
+
disconnectedCallback() {
|
|
45
|
+
this.clearTimer();
|
|
46
|
+
}
|
|
47
|
+
clearTimer() {
|
|
48
|
+
if (this.autoDismissTimer !== null) {
|
|
49
|
+
clearTimeout(this.autoDismissTimer);
|
|
50
|
+
this.autoDismissTimer = null;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
startAutoDismiss(remaining) {
|
|
54
|
+
if (this.duration <= 0)
|
|
55
|
+
return;
|
|
56
|
+
const ms = remaining !== null && remaining !== void 0 ? remaining : this.duration;
|
|
57
|
+
this.timerStartedAt = Date.now();
|
|
58
|
+
this.timerRemaining = ms;
|
|
59
|
+
this.autoDismissTimer = setTimeout(() => this.dismiss(), ms);
|
|
60
|
+
}
|
|
61
|
+
pauseTimer() {
|
|
62
|
+
var _a;
|
|
63
|
+
if (this.autoDismissTimer === null || this.timerStartedAt === null)
|
|
64
|
+
return;
|
|
65
|
+
this.clearTimer();
|
|
66
|
+
const elapsed = Date.now() - this.timerStartedAt;
|
|
67
|
+
this.timerRemaining = Math.max(0, ((_a = this.timerRemaining) !== null && _a !== void 0 ? _a : this.duration) - elapsed);
|
|
68
|
+
this.timerStartedAt = null;
|
|
69
|
+
// pause CSS animation
|
|
70
|
+
if (this.progressEl) {
|
|
71
|
+
this.progressEl.style.animationPlayState = 'paused';
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
resumeTimer() {
|
|
75
|
+
if (this.timerRemaining === null || this.timerRemaining <= 0)
|
|
76
|
+
return;
|
|
77
|
+
this.startAutoDismiss(this.timerRemaining);
|
|
78
|
+
// resume CSS animation
|
|
79
|
+
if (this.progressEl) {
|
|
80
|
+
this.progressEl.style.animationPlayState = 'running';
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/** Affiche le toast avec animation */
|
|
84
|
+
async show() {
|
|
85
|
+
this.visible = true;
|
|
86
|
+
await new Promise(r => requestAnimationFrame(r));
|
|
87
|
+
if (this.containerEl) {
|
|
88
|
+
animationTo(this.containerEl, SLIDE_IN_KEYFRAMES, { duration: 300 });
|
|
89
|
+
}
|
|
90
|
+
this.startAutoDismiss();
|
|
91
|
+
}
|
|
92
|
+
/** Ferme le toast avec animation */
|
|
93
|
+
async dismiss() {
|
|
94
|
+
this.clearTimer();
|
|
95
|
+
if (this.containerEl) {
|
|
96
|
+
const anim = animationTo(this.containerEl, SLIDE_OUT_KEYFRAMES, { duration: 200 });
|
|
97
|
+
anim.addEventListener('finish', () => this.remove());
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
this.remove();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
remove() {
|
|
104
|
+
this.visible = false;
|
|
105
|
+
this.spwToastDismiss.emit();
|
|
106
|
+
this.el.remove();
|
|
107
|
+
}
|
|
108
|
+
durationChanged() {
|
|
109
|
+
this.clearTimer();
|
|
110
|
+
this.timerRemaining = null;
|
|
111
|
+
this.startAutoDismiss();
|
|
112
|
+
}
|
|
113
|
+
get resolvedIcon() {
|
|
114
|
+
return this.icon || VARIANT_ICONS[this.variant];
|
|
115
|
+
}
|
|
116
|
+
render() {
|
|
117
|
+
if (!this.visible)
|
|
118
|
+
return null;
|
|
119
|
+
const hasProgress = this.duration > 0;
|
|
120
|
+
return (h(Host, null, h("div", { class: { 'spw-toast': true, [`spw-toast--${this.variant}`]: true }, role: "alert", "aria-live": "assertive", "aria-atomic": "true", ref: el => (this.containerEl = el), onMouseEnter: () => this.pauseTimer(), onMouseLeave: () => this.resumeTimer(), onTouchStart: (e) => {
|
|
121
|
+
this.swipeTouchStartX = e.touches[0].clientX;
|
|
122
|
+
this.swipeTouchStartY = e.touches[0].clientY;
|
|
123
|
+
}, onTouchEnd: (e) => {
|
|
124
|
+
const dx = e.changedTouches[0].clientX - this.swipeTouchStartX;
|
|
125
|
+
const dy = e.changedTouches[0].clientY - this.swipeTouchStartY;
|
|
126
|
+
if (Math.abs(dx) > Math.abs(dy) && Math.abs(dx) > 50) {
|
|
127
|
+
this.dismiss();
|
|
128
|
+
}
|
|
129
|
+
} }, h("div", { class: "spw-toast__aside" }, h("div", { class: "spw-toast__icon-wrapper" }, h("spw-icon", { variant: "fa-regular", icon: this.resolvedIcon }))), h("div", { class: "spw-toast__body" }, h("div", { class: "spw-toast__top" }, this.heading && h("p", { class: "spw-toast__heading" }, this.heading), this.dismissable && (h("button", { class: "spw-toast__close", "aria-label": this.dismissText, onClick: () => this.dismiss() }, h("span", { class: "spw-toast__close-label" }, this.dismissText), h("spw-icon", { icon: "fa-xmark" })))), this.message && h("p", { class: "spw-toast__message" }, this.message), this.linkLabel && (h("a", { class: "spw-toast__link", href: this.linkHref || undefined, role: !this.linkHref ? 'button' : undefined, tabindex: !this.linkHref ? '0' : undefined, onClick: e => {
|
|
130
|
+
if (!this.linkHref)
|
|
131
|
+
e.preventDefault();
|
|
132
|
+
this.spwToastLinkClick.emit();
|
|
133
|
+
}, onKeyDown: e => {
|
|
134
|
+
if (!this.linkHref && (e.key === 'Enter' || e.key === ' ')) {
|
|
135
|
+
e.preventDefault();
|
|
136
|
+
this.spwToastLinkClick.emit();
|
|
137
|
+
}
|
|
138
|
+
} }, this.linkLabel))), hasProgress && h("div", { class: "spw-toast__progress", style: { animationDuration: `${this.duration}ms` }, ref: el => (this.progressEl = el) }))));
|
|
139
|
+
}
|
|
140
|
+
get el() { return getElement(this); }
|
|
141
|
+
static get watchers() { return {
|
|
142
|
+
"duration": [{
|
|
143
|
+
"durationChanged": 0
|
|
144
|
+
}]
|
|
145
|
+
}; }
|
|
146
|
+
};
|
|
147
|
+
const SLIDE_IN_KEYFRAMES = [
|
|
148
|
+
{ offset: 0, opacity: '0', transform: 'translateY(20%)', easing: 'ease-out' },
|
|
149
|
+
{ offset: 1, opacity: '1', transform: 'translateY(0)', easing: 'ease-out' },
|
|
150
|
+
];
|
|
151
|
+
const SLIDE_OUT_KEYFRAMES = [
|
|
152
|
+
{ offset: 0, opacity: '1' },
|
|
153
|
+
{ offset: 1, opacity: '0' },
|
|
154
|
+
];
|
|
155
|
+
SpwToast.style = spwToastCss();
|
|
156
|
+
|
|
157
|
+
export { SpwToast as spw_toast };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CcQDekex.js';
|
|
2
2
|
|
|
3
|
-
const spwTocContainerCss = () => `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:
|
|
3
|
+
const spwTocContainerCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}`;
|
|
4
4
|
|
|
5
5
|
const SpwTocContainer = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -59,7 +59,7 @@ const SpwTocContainer = class {
|
|
|
59
59
|
return tocItems;
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '7b7dc2303b766d3cae15f8a58d0923ee7cf86c81' }, h("slot", { key: '6a38b34550e70a223441c0103a7d5db9ff92d2f5' })));
|
|
63
63
|
}
|
|
64
64
|
get el() { return getElement(this); }
|
|
65
65
|
};
|