@spw-ds/spw-stencil-library 1.21.2 → 1.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +566 -0
- package/README.md +1 -1
- package/dist/cem.json +928 -126
- package/dist/cjs/{index-BDwcdQtT.js → index-vJQ4PYrz.js} +60 -20
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion-content.cjs.entry.js +93 -0
- package/dist/cjs/spw-accordion-item.cjs.entry.js +250 -0
- package/dist/cjs/spw-accordion-title.cjs.entry.js +23 -0
- package/dist/cjs/spw-accordion.cjs.entry.js +68 -0
- package/dist/cjs/spw-alert.cjs.entry.js +2 -2
- package/dist/cjs/spw-avatar.cjs.entry.js +3 -3
- package/dist/cjs/spw-block-content.cjs.entry.js +6 -3
- package/dist/cjs/spw-box.cjs.entry.js +6 -4
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/spw-button_2.cjs.entry.js +5 -5
- package/dist/cjs/spw-card-content.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-image.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-subtags.cjs.entry.js +90 -16
- package/dist/cjs/spw-card-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-card.cjs.entry.js +22 -6
- package/dist/cjs/spw-checkbox.cjs.entry.js +36 -12
- package/dist/cjs/spw-custom-select.cjs.entry.js +47 -24
- package/dist/cjs/spw-date-picker.cjs.entry.js +58 -12
- package/dist/cjs/spw-drawer.cjs.entry.js +5 -5
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-field-label_3.cjs.entry.js +221 -0
- package/dist/cjs/spw-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-content.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-grid.cjs.entry.js +4 -4
- package/dist/cjs/spw-group.cjs.entry.js +273 -0
- package/dist/cjs/spw-header-lang.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +72 -23
- package/dist/cjs/spw-header-navigation.cjs.entry.js +167 -8
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
- package/dist/cjs/spw-header.cjs.entry.js +7 -4
- package/dist/cjs/spw-hero.cjs.entry.js +5 -5
- package/dist/cjs/{spw-field-label_8.cjs.entry.js → spw-icon.cjs.entry.js} +3 -513
- package/dist/cjs/spw-illustration.cjs.entry.js +2 -2
- package/dist/cjs/spw-input-slider.cjs.entry.js +7 -4
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +6 -6
- package/dist/cjs/spw-link.cjs.entry.js +50 -0
- package/dist/cjs/spw-list-description.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-list.cjs.entry.js +3 -3
- package/dist/cjs/spw-message.cjs.entry.js +2 -2
- package/dist/cjs/spw-modal.cjs.entry.js +5 -5
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic.cjs.entry.js +17 -3
- package/dist/cjs/spw-pagination.cjs.entry.js +12 -8
- package/dist/cjs/spw-radio.cjs.entry.js +38 -10
- package/dist/cjs/spw-scrolltop.cjs.entry.js +3 -3
- package/dist/cjs/spw-search-field.cjs.entry.js +18 -4
- package/dist/cjs/spw-select.cjs.entry.js +33 -5
- package/dist/cjs/spw-separator.cjs.entry.js +41 -0
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +9 -5
- package/dist/cjs/spw-sidenav.cjs.entry.js +4 -4
- package/dist/cjs/spw-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/spw-slider-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-slider.cjs.entry.js +3 -3
- package/dist/cjs/spw-socials.cjs.entry.js +6 -3
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-container.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-head.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-header.cjs.entry.js +4 -4
- package/dist/cjs/spw-table-row.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/spw-table.cjs.entry.js +6 -4
- package/dist/cjs/spw-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +7 -3
- package/dist/cjs/spw-tabs.cjs.entry.js +3 -3
- package/dist/cjs/spw-tag.cjs.entry.js +3 -3
- package/dist/cjs/spw-text-field.cjs.entry.js +25 -7
- package/dist/cjs/spw-textarea.cjs.entry.js +18 -4
- package/dist/cjs/spw-theme-provider.cjs.entry.js +68 -0
- package/dist/cjs/spw-tile-description.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile-title.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-timeline.cjs.entry.js +4 -4
- package/dist/cjs/spw-toast-controller.cjs.entry.js +7 -4
- package/dist/cjs/spw-toast.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc.cjs.entry.js +3 -3
- package/dist/cjs/spw-topbar.cjs.entry.js +3 -3
- package/dist/cjs/spw-wizard-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-wizard.cjs.entry.js +5 -3
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +18 -7
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +2 -1
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion.css +2 -1
- package/dist/collection/components/spw-alert/spw-alert.css +2 -1
- package/dist/collection/components/spw-avatar/spw-avatar.css +2 -1
- package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.css +25 -1
- package/dist/collection/components/spw-block-content/spw-block-content.js +24 -1
- package/dist/collection/components/spw-box/spw-box.css +5 -1
- package/dist/collection/components/spw-box/spw-box.js +24 -2
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.css +2 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +2 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
- package/dist/collection/components/spw-button/spw-button.css +5 -2
- package/dist/collection/components/spw-button/spw-button.js +1 -1
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +9 -2
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.css +2 -1
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +10 -2
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +6 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +1 -1
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +35 -3
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +128 -13
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +2 -1
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
- package/dist/collection/components/spw-card/spw-card.css +25 -1
- package/dist/collection/components/spw-card/spw-card.js +31 -11
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +41 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +79 -15
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +13 -1
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +65 -22
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +8 -1
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +156 -10
- package/dist/collection/components/spw-drawer/spw-drawer.css +2 -1
- package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +2 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +32 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +2 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.css +2 -1
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +2 -1
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.css +2 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +48 -4
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.css +2 -1
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +2 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.css +2 -1
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +2 -1
- package/dist/collection/components/spw-group/spw-group.js +196 -2
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.css +2 -1
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.css +81 -3
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +226 -7
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.css +2 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +124 -17
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +95 -21
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +2 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.css +2 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +17 -1
- package/dist/collection/components/spw-header/spw-header.js +5 -2
- package/dist/collection/components/spw-hero/spw-hero.css +2 -1
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.css +2 -1
- package/dist/collection/components/spw-icon/spw-icon.js +1 -1
- package/dist/collection/components/spw-illustration/spw-illustration.css +2 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.css +13 -1
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +25 -2
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +4 -4
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +2 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +4 -4
- package/dist/collection/components/spw-link/spw-link.css +2 -1
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.css +2 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +2 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.css +2 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.css +2 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.css +2 -1
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-message/spw-message.css +2 -1
- package/dist/collection/components/spw-modal/spw-modal.css +2 -1
- package/dist/collection/components/spw-modal/spw-modal.js +3 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +2 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.css +2 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +15 -1
- package/dist/collection/components/spw-pagination/spw-pagination.css +2 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +50 -6
- package/dist/collection/components/spw-radio/spw-radio.css +23 -1
- package/dist/collection/components/spw-radio/spw-radio.js +57 -9
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +2 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.css +2 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +136 -2
- package/dist/collection/components/spw-select/spw-select.css +11 -1
- package/dist/collection/components/spw-select/spw-select.js +51 -3
- package/dist/collection/components/spw-separator/spw-separator.css +2 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.css +2 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.css +2 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.css +2 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.css +2 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.css +2 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +2 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +47 -3
- package/dist/collection/components/spw-sidenav/spw-sidenav.css +2 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
- package/dist/collection/components/spw-skeleton/spw-skeleton.css +2 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +2 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.css +2 -1
- package/dist/collection/components/spw-slider/spw-slider.js +1 -1
- package/dist/collection/components/spw-socials/spw-socials.css +2 -1
- package/dist/collection/components/spw-socials/spw-socials.js +24 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.css +2 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.css +2 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.css +2 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.css +2 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.css +2 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +2 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.css +2 -1
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.css +2 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-table/spw-table.css +2 -1
- package/dist/collection/components/spw-table/spw-table.js +24 -2
- package/dist/collection/components/spw-tabs/spw-tabs-content/spw-tabs-content.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +45 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.css +2 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.css +2 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +8 -1
- package/dist/collection/components/spw-text-field/spw-text-field.js +63 -5
- package/dist/collection/components/spw-textarea/spw-textarea.css +8 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +36 -2
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +5 -2
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +2 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.css +2 -1
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.css +2 -1
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.js +26 -3
- package/dist/collection/components/spw-toast/spw-toast.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc.css +2 -1
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.css +2 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +2 -2
- package/dist/collection/components/spw-topbar/spw-topbar.css +2 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.css +2 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.css +2 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +23 -1
- package/dist/collection/css/fonts.css +864 -0
- package/dist/collection/css/icons.css +9 -0
- package/dist/collection/css/themes/_base.css +41 -0
- package/dist/collection/css/themes/bleu-clair.css +11 -0
- package/dist/collection/css/themes/bleu.css +11 -0
- package/dist/collection/css/themes/gris.css +11 -0
- package/dist/collection/css/themes/indigo.css +11 -0
- package/dist/collection/css/themes/mauve.css +11 -0
- package/dist/collection/css/themes/orange.css +11 -0
- package/dist/collection/css/themes/rouge.css +14 -0
- package/dist/collection/css/themes/turquoise.css +11 -0
- package/dist/collection/css/themes/vert-leger.css +11 -0
- package/dist/collection/css/themes/vert.css +11 -0
- package/dist/collection/css/tokens.css +721 -0
- package/dist/collection/css/utils.css +1 -0
- package/dist/collection/stories/components/spw-block-content/spw-block-content.stories.js +182 -2
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +2 -2
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +56 -0
- package/dist/collection/stories/components/spw-custom-select/spw-custom-select.stories.js +26 -0
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +13 -0
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +13 -0
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +18 -0
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +31 -0
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +19 -0
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +13 -0
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +18 -0
- package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +37 -0
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +38 -0
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +157 -2
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +42 -0
- package/dist/collection/testing/style-stub.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-4VcELDQx.js +1 -0
- package/dist/components/p-B_uTDHcA.js +1 -0
- package/dist/components/{p-DDp6luzB.js → p-BdZPkl4n.js} +1 -1
- package/dist/components/p-BonxooHw.js +1 -0
- package/dist/components/p-CYiD2nJQ.js +1 -0
- package/dist/components/p-CfKmweJx.js +1 -0
- package/dist/components/p-DAWB0-pG.js +1 -0
- package/dist/components/p-DH2MpBfs.js +1 -0
- package/dist/components/p-DMt00wg0.js +1 -0
- package/dist/components/p-DYHvVRuS.js +1 -0
- package/dist/components/p-DmF2QI5Y.js +1 -0
- package/dist/components/p-Ke4rAvq5.js +1 -0
- package/dist/components/p-NPhS3jQG.js +1 -0
- package/dist/components/p-xh5qpjPi.js +1 -0
- package/dist/components/spw-accordion-content.js +1 -1
- package/dist/components/spw-accordion-item.js +1 -1
- package/dist/components/spw-accordion-title.js +1 -1
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-alert.js +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-box.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-breadcrumb.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-content.js +1 -1
- package/dist/components/spw-card-excerpt.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-card-subtag-item.js +1 -1
- package/dist/components/spw-card-subtags.js +1 -1
- package/dist/components/spw-card-title.js +1 -1
- package/dist/components/spw-card.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-drawer.js +1 -1
- package/dist/components/spw-dropdown-container.js +1 -1
- package/dist/components/spw-dropdown-item.js +1 -1
- package/dist/components/spw-dropdown.js +1 -1
- package/dist/components/spw-field-label.js +1 -1
- package/dist/components/spw-field-message.js +1 -1
- package/dist/components/spw-file-upload.js +1 -1
- package/dist/components/spw-footer-bottom.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-footer-content.js +1 -1
- package/dist/components/spw-footer-link.js +1 -1
- package/dist/components/spw-footer.js +1 -1
- package/dist/components/spw-grid-item.js +1 -1
- package/dist/components/spw-grid.js +1 -1
- package/dist/components/spw-group.js +1 -1
- package/dist/components/spw-header-lang.js +1 -1
- package/dist/components/spw-header-navigation-dropdown.js +1 -1
- package/dist/components/spw-header-navigation-item.js +1 -1
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-header-persona-item.js +1 -1
- package/dist/components/spw-header-persona.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-icon.js +1 -1
- package/dist/components/spw-illustration.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-lightbox-item.js +1 -1
- package/dist/components/spw-lightbox.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +1 -1
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-sidenav-group.js +1 -1
- package/dist/components/spw-sidenav-item.js +1 -1
- package/dist/components/spw-sidenav.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-table.js +1 -1
- package/dist/components/spw-tabs-content.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toast-controller.js +1 -1
- package/dist/components/spw-toast.js +1 -1
- package/dist/components/spw-toc-container.js +1 -1
- package/dist/components/spw-toc-navigation.js +1 -1
- package/dist/components/spw-toc.js +1 -1
- package/dist/components/spw-tooltip.js +1 -1
- package/dist/components/spw-topbar.js +1 -1
- package/dist/components/spw-wizard-item.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +1426 -242
- package/dist/esm/{index-BVePqxpd.js → index-BTkpN1hH.js} +60 -21
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion-content.entry.js +91 -0
- package/dist/esm/spw-accordion-item.entry.js +248 -0
- package/dist/esm/spw-accordion-title.entry.js +21 -0
- package/dist/esm/spw-accordion.entry.js +66 -0
- package/dist/esm/spw-alert.entry.js +2 -2
- package/dist/esm/spw-avatar.entry.js +3 -3
- package/dist/esm/spw-block-content.entry.js +6 -3
- package/dist/esm/spw-box.entry.js +6 -4
- package/dist/esm/spw-breadcrumb-item.entry.js +3 -3
- package/dist/esm/spw-breadcrumb.entry.js +3 -3
- package/dist/esm/spw-button_2.entry.js +5 -5
- package/dist/esm/spw-card-content.entry.js +3 -3
- package/dist/esm/spw-card-excerpt.entry.js +3 -3
- package/dist/esm/spw-card-image.entry.js +3 -3
- package/dist/esm/spw-card-subtag-item.entry.js +3 -3
- package/dist/esm/spw-card-subtags.entry.js +90 -16
- package/dist/esm/spw-card-title.entry.js +3 -3
- package/dist/esm/spw-card.entry.js +22 -6
- package/dist/esm/spw-checkbox.entry.js +36 -12
- package/dist/esm/spw-custom-select.entry.js +47 -24
- package/dist/esm/spw-date-picker.entry.js +58 -12
- package/dist/esm/spw-drawer.entry.js +5 -5
- package/dist/esm/spw-dropdown-container.entry.js +3 -3
- package/dist/esm/spw-dropdown-item.entry.js +3 -3
- package/dist/esm/spw-dropdown.entry.js +3 -3
- package/dist/esm/spw-field-label_3.entry.js +217 -0
- package/dist/esm/spw-file-upload.entry.js +10 -6
- package/dist/esm/spw-footer-bottom.entry.js +3 -3
- package/dist/esm/spw-footer-content-col.entry.js +3 -3
- package/dist/esm/spw-footer-content.entry.js +3 -3
- package/dist/esm/spw-footer-link.entry.js +3 -3
- package/dist/esm/spw-footer.entry.js +3 -3
- package/dist/esm/spw-grid-item.entry.js +4 -4
- package/dist/esm/spw-grid.entry.js +4 -4
- package/dist/esm/spw-group.entry.js +271 -0
- package/dist/esm/spw-header-lang.entry.js +3 -3
- package/dist/esm/spw-header-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-header-navigation-item.entry.js +72 -23
- package/dist/esm/spw-header-navigation.entry.js +167 -8
- package/dist/esm/spw-header-persona-item.entry.js +3 -3
- package/dist/esm/spw-header-persona.entry.js +2 -2
- package/dist/esm/spw-header.entry.js +7 -4
- package/dist/esm/spw-hero.entry.js +5 -5
- package/dist/esm/{spw-field-label_8.entry.js → spw-icon.entry.js} +4 -507
- package/dist/esm/spw-illustration.entry.js +2 -2
- package/dist/esm/spw-input-slider.entry.js +7 -4
- package/dist/esm/spw-lightbox-item.entry.js +3 -3
- package/dist/esm/spw-lightbox.entry.js +6 -6
- package/dist/esm/spw-link.entry.js +48 -0
- package/dist/esm/spw-list-description.entry.js +3 -3
- package/dist/esm/spw-list-item.entry.js +3 -3
- package/dist/esm/spw-list-title.entry.js +3 -3
- package/dist/esm/spw-list.entry.js +3 -3
- package/dist/esm/spw-message.entry.js +2 -2
- package/dist/esm/spw-modal.entry.js +5 -5
- package/dist/esm/spw-mosaic-item.entry.js +3 -3
- package/dist/esm/spw-mosaic.entry.js +17 -3
- package/dist/esm/spw-pagination.entry.js +12 -8
- package/dist/esm/spw-radio.entry.js +38 -10
- package/dist/esm/spw-scrolltop.entry.js +3 -3
- package/dist/esm/spw-search-field.entry.js +18 -4
- package/dist/esm/spw-select.entry.js +33 -5
- package/dist/esm/spw-separator.entry.js +39 -0
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-item.entry.js +5 -5
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +3 -3
- package/dist/esm/spw-sidebar.entry.js +3 -3
- package/dist/esm/spw-sidenav-group.entry.js +4 -4
- package/dist/esm/spw-sidenav-item.entry.js +9 -5
- package/dist/esm/spw-sidenav.entry.js +4 -4
- package/dist/esm/spw-skeleton.entry.js +3 -3
- package/dist/esm/spw-slider-item.entry.js +3 -3
- package/dist/esm/spw-slider.entry.js +3 -3
- package/dist/esm/spw-socials.entry.js +6 -3
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +3 -3
- package/dist/esm/spw-table-cell.entry.js +3 -3
- package/dist/esm/spw-table-container.entry.js +3 -3
- package/dist/esm/spw-table-footer.entry.js +3 -3
- package/dist/esm/spw-table-head.entry.js +3 -3
- package/dist/esm/spw-table-header.entry.js +4 -4
- package/dist/esm/spw-table-row.entry.js +3 -3
- package/dist/esm/spw-table-sidebar.entry.js +3 -3
- package/dist/esm/spw-table.entry.js +6 -4
- package/dist/esm/spw-tabs-content.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation-item.entry.js +3 -3
- package/dist/esm/spw-tabs-navigation.entry.js +7 -3
- package/dist/esm/spw-tabs.entry.js +3 -3
- package/dist/esm/spw-tag.entry.js +3 -3
- package/dist/esm/spw-text-field.entry.js +25 -7
- package/dist/esm/spw-textarea.entry.js +18 -4
- package/dist/esm/spw-theme-provider.entry.js +66 -0
- package/dist/esm/spw-tile-description.entry.js +3 -3
- package/dist/esm/spw-tile-title.entry.js +3 -3
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +4 -4
- package/dist/esm/spw-timeline.entry.js +4 -4
- package/dist/esm/spw-toast-controller.entry.js +7 -4
- package/dist/esm/spw-toast.entry.js +2 -2
- package/dist/esm/spw-toc-container.entry.js +2 -2
- package/dist/esm/spw-toc-navigation.entry.js +2 -2
- package/dist/esm/spw-toc.entry.js +3 -3
- package/dist/esm/spw-topbar.entry.js +3 -3
- package/dist/esm/spw-wizard-item.entry.js +3 -3
- package/dist/esm/spw-wizard.entry.js +5 -3
- package/dist/spw-stencil-library/assets/images/mockup.png +0 -0
- package/dist/spw-stencil-library/css/fonts.css +864 -0
- package/dist/spw-stencil-library/css/icons.css +9 -0
- package/dist/spw-stencil-library/css/themes/_base.css +41 -0
- package/dist/spw-stencil-library/css/themes/bleu-clair.css +11 -0
- package/dist/spw-stencil-library/css/themes/bleu.css +11 -0
- package/dist/spw-stencil-library/css/themes/gris.css +11 -0
- package/dist/spw-stencil-library/css/themes/indigo.css +11 -0
- package/dist/spw-stencil-library/css/themes/mauve.css +11 -0
- package/dist/spw-stencil-library/css/themes/orange.css +11 -0
- package/dist/spw-stencil-library/css/themes/rouge.css +14 -0
- package/dist/spw-stencil-library/css/themes/turquoise.css +11 -0
- package/dist/spw-stencil-library/css/themes/vert-leger.css +11 -0
- package/dist/spw-stencil-library/css/themes/vert.css +11 -0
- package/dist/spw-stencil-library/css/tokens.css +721 -0
- package/dist/spw-stencil-library/css/utils.css +1 -0
- package/dist/spw-stencil-library/p-04e147ed.entry.js +1 -0
- package/dist/spw-stencil-library/p-050e5e47.entry.js +1 -0
- package/dist/spw-stencil-library/p-063cd841.entry.js +1 -0
- package/dist/spw-stencil-library/p-06e67980.entry.js +1 -0
- package/dist/spw-stencil-library/{p-d2728fbf.entry.js → p-0f90fabe.entry.js} +1 -1
- package/dist/spw-stencil-library/p-10b725f0.entry.js +1 -0
- package/dist/spw-stencil-library/p-10fafb8d.entry.js +1 -0
- package/dist/spw-stencil-library/p-128e42d0.entry.js +1 -0
- package/dist/spw-stencil-library/p-1454ed61.entry.js +1 -0
- package/dist/spw-stencil-library/p-1d78cdf1.entry.js +1 -0
- package/dist/spw-stencil-library/p-1e3d3d60.entry.js +1 -0
- package/dist/spw-stencil-library/p-1e8d631d.entry.js +1 -0
- package/dist/spw-stencil-library/p-1ef0188c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-05b86707.entry.js → p-2185360c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-23e5a517.entry.js +1 -0
- package/dist/spw-stencil-library/p-24abc948.entry.js +1 -0
- package/dist/spw-stencil-library/p-28057ba5.entry.js +1 -0
- package/dist/spw-stencil-library/p-2943e580.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6e4163fc.entry.js → p-2c1b1587.entry.js} +1 -1
- package/dist/spw-stencil-library/p-2c21e719.entry.js +1 -0
- package/dist/spw-stencil-library/p-2c35d983.entry.js +1 -0
- package/dist/spw-stencil-library/p-2c3a8493.entry.js +1 -0
- package/dist/spw-stencil-library/p-2e1b1270.entry.js +1 -0
- package/dist/spw-stencil-library/p-306d80ad.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6e2443a7.entry.js → p-30f6c5ce.entry.js} +1 -1
- package/dist/spw-stencil-library/p-31f6083c.entry.js +1 -0
- package/dist/spw-stencil-library/p-3947b8f6.entry.js +1 -0
- package/dist/spw-stencil-library/p-3ae6e273.entry.js +1 -0
- package/dist/spw-stencil-library/p-3b3f2967.entry.js +1 -0
- package/dist/spw-stencil-library/p-42a2c24e.entry.js +1 -0
- package/dist/spw-stencil-library/p-4384a9ff.entry.js +1 -0
- package/dist/spw-stencil-library/p-454c8a0d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ba7efcae.entry.js → p-45cf1d86.entry.js} +1 -1
- package/dist/spw-stencil-library/p-45fa940e.entry.js +1 -0
- package/dist/spw-stencil-library/p-4a02cb72.entry.js +1 -0
- package/dist/spw-stencil-library/p-4ae54c87.entry.js +1 -0
- package/dist/spw-stencil-library/p-4d8ddcc1.entry.js +1 -0
- package/dist/spw-stencil-library/p-4daa95d2.entry.js +1 -0
- package/dist/spw-stencil-library/p-53a42df7.entry.js +1 -0
- package/dist/spw-stencil-library/p-576676b5.entry.js +1 -0
- package/dist/spw-stencil-library/p-5ad022d8.entry.js +1 -0
- package/dist/spw-stencil-library/p-5b3d4d15.entry.js +1 -0
- package/dist/spw-stencil-library/p-5b52b955.entry.js +1 -0
- package/dist/spw-stencil-library/p-62bbc714.entry.js +1 -0
- package/dist/spw-stencil-library/p-66df1a03.entry.js +1 -0
- package/dist/spw-stencil-library/p-671086ef.entry.js +1 -0
- package/dist/spw-stencil-library/p-6712f21e.entry.js +1 -0
- package/dist/spw-stencil-library/p-6b664265.entry.js +1 -0
- package/dist/spw-stencil-library/p-6e895121.entry.js +1 -0
- package/dist/spw-stencil-library/p-70cab89a.entry.js +1 -0
- package/dist/spw-stencil-library/p-758b2ce6.entry.js +1 -0
- package/dist/spw-stencil-library/p-760b0155.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7a8950af.entry.js → p-77e31cbd.entry.js} +1 -1
- package/dist/spw-stencil-library/p-78e5f379.entry.js +1 -0
- package/dist/spw-stencil-library/p-79520f1b.entry.js +1 -0
- package/dist/spw-stencil-library/p-79740a33.entry.js +1 -0
- package/dist/spw-stencil-library/p-7a127906.entry.js +1 -0
- package/dist/spw-stencil-library/p-7ab60fcf.entry.js +1 -0
- package/dist/spw-stencil-library/p-86561e12.entry.js +1 -0
- package/dist/spw-stencil-library/p-883d0bbd.entry.js +1 -0
- package/dist/spw-stencil-library/p-894db58f.entry.js +1 -0
- package/dist/spw-stencil-library/p-8ebf9cc4.entry.js +1 -0
- package/dist/spw-stencil-library/p-954ebcd1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-86d568ef.entry.js → p-99aaf573.entry.js} +1 -1
- package/dist/spw-stencil-library/p-9d00a74e.entry.js +1 -0
- package/dist/spw-stencil-library/p-9f5a2163.entry.js +1 -0
- package/dist/spw-stencil-library/{p-BVePqxpd.js → p-BTkpN1hH.js} +2 -2
- package/dist/spw-stencil-library/p-a40b3ca1.entry.js +1 -0
- package/dist/spw-stencil-library/p-a540bbc3.entry.js +1 -0
- package/dist/spw-stencil-library/p-a68614f3.entry.js +1 -0
- package/dist/spw-stencil-library/p-a96527b6.entry.js +1 -0
- package/dist/spw-stencil-library/p-a99b468a.entry.js +1 -0
- package/dist/spw-stencil-library/p-a9c3a7f4.entry.js +1 -0
- package/dist/spw-stencil-library/{p-662bf57f.entry.js → p-ad835c3f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ae06eeae.entry.js +1 -0
- package/dist/spw-stencil-library/p-b54e805f.entry.js +1 -0
- package/dist/spw-stencil-library/p-b6ee7aea.entry.js +1 -0
- package/dist/spw-stencil-library/p-b7a132fc.entry.js +1 -0
- package/dist/spw-stencil-library/p-ba5cadb3.entry.js +1 -0
- package/dist/spw-stencil-library/p-bbf67998.entry.js +1 -0
- package/dist/spw-stencil-library/p-be144fb2.entry.js +1 -0
- package/dist/spw-stencil-library/p-c16bebef.entry.js +1 -0
- package/dist/spw-stencil-library/p-c6e2db09.entry.js +1 -0
- package/dist/spw-stencil-library/{p-66e01eb2.entry.js → p-c875327d.entry.js} +4 -4
- package/dist/spw-stencil-library/p-c961e98d.entry.js +1 -0
- package/dist/spw-stencil-library/p-d07d18b9.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fc477204.entry.js → p-d259b0ec.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d50b3a7d.entry.js +1 -0
- package/dist/spw-stencil-library/p-d72b839e.entry.js +1 -0
- package/dist/{components/p-CprwnPcB.js → spw-stencil-library/p-d867d0a0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-db87acf8.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c407865a.entry.js → p-dbd24548.entry.js} +1 -1
- package/dist/spw-stencil-library/p-dbffe115.entry.js +1 -0
- package/dist/spw-stencil-library/p-df91acd8.entry.js +1 -0
- package/dist/{components/p-DetVZmjO.js → spw-stencil-library/p-e35a7aac.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e4c16f42.entry.js +1 -0
- package/dist/spw-stencil-library/p-eb3f1447.entry.js +1 -0
- package/dist/spw-stencil-library/p-ec88052d.entry.js +1 -0
- package/dist/spw-stencil-library/p-ecdf1acc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0b05f68a.entry.js → p-ed8baa0b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f08dc701.entry.js +1 -0
- package/dist/spw-stencil-library/p-f380893d.entry.js +1 -0
- package/dist/spw-stencil-library/p-f5a404da.entry.js +1 -0
- package/dist/spw-stencil-library/p-fa054765.entry.js +1 -0
- package/dist/spw-stencil-library/p-fa71b2de.entry.js +1 -0
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +23397 -21090
- package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +2 -0
- package/dist/types/components/spw-block-content/spw-block-content.d.ts +2 -0
- package/dist/types/components/spw-box/spw-box.d.ts +2 -0
- package/dist/types/components/spw-card/spw-card-subtags/spw-card-subtags.d.ts +16 -2
- package/dist/types/components/spw-card/spw-card.d.ts +11 -3
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +10 -2
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +3 -0
- package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +12 -0
- package/dist/types/components/spw-file-upload/spw-file-upload.d.ts +4 -0
- package/dist/types/components/spw-group/spw-group.d.ts +19 -0
- package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +27 -1
- package/dist/types/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.d.ts +13 -1
- package/dist/types/components/spw-input-slider/spw-input-slider.d.ts +2 -0
- package/dist/types/components/spw-mosaic/spw-mosaic.d.ts +3 -0
- package/dist/types/components/spw-pagination/spw-pagination.d.ts +4 -0
- package/dist/types/components/spw-radio/spw-radio.d.ts +7 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +12 -0
- package/dist/types/components/spw-select/spw-select.d.ts +6 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +4 -0
- package/dist/types/components/spw-socials/spw-socials.d.ts +2 -0
- package/dist/types/components/spw-table/spw-table.d.ts +2 -0
- package/dist/types/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.d.ts +4 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +6 -0
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +4 -0
- package/dist/types/components/spw-toast/spw-toast-controller/spw-toast-controller.d.ts +3 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +478 -74
- package/dist/types/stories/components/spw-block-content/spw-block-content.stories.d.ts +4 -0
- package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +3 -0
- package/dist/types/stories/components/spw-custom-select/spw-custom-select.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-date-picker/spw-date-picker.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-input-slider/spw-input-slider.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-search-field/spw-search-field.stories.d.ts +3 -1
- package/dist/types/stories/components/spw-select/spw-select.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-text-field/spw-text-field.stories.d.ts +1 -0
- package/dist/types/stories/components/spw-textarea/spw-textarea.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-card/spw-card.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +3 -1
- package/dist/types/stories/organisms/spw-lightbox/spw-lightbox.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-slider/spw-slider.stories.d.ts +1 -0
- package/dist/types/testing/style-stub.d.ts +2 -0
- package/hydrate/index.js +1072 -440
- package/hydrate/index.mjs +1072 -440
- package/package.json +34 -4
- package/dist/cjs/spw-accordion_4.cjs.entry.js +0 -411
- package/dist/cjs/spw-cookies.cjs.entry.js +0 -84
- package/dist/collection/components/spw-cookies/spw-cookies.css +0 -431
- package/dist/collection/components/spw-cookies/spw-cookies.js +0 -177
- package/dist/components/p-8ORCgRs0.js +0 -1
- package/dist/components/p-BamUR6Ir.js +0 -1
- package/dist/components/p-Bj0f5RYL.js +0 -1
- package/dist/components/p-BlDHsTAs.js +0 -1
- package/dist/components/p-CTwPJpJk.js +0 -1
- package/dist/components/p-DP2zzHK_.js +0 -1
- package/dist/components/p-DmD0U8OW.js +0 -1
- package/dist/components/p-DswuxcGK.js +0 -1
- package/dist/components/p-H_k5I58H.js +0 -1
- package/dist/components/p-N9GtuZLt.js +0 -1
- package/dist/components/p-bb7Wex4w.js +0 -1
- package/dist/components/p-kCxgPsVs.js +0 -1
- package/dist/components/p-xv_G2g8V.js +0 -1
- package/dist/components/p-yXpAcpXR.js +0 -1
- package/dist/components/spw-cookies.d.ts +0 -11
- package/dist/components/spw-cookies.js +0 -1
- package/dist/components_vscode.json +0 -5969
- package/dist/esm/spw-accordion_4.entry.js +0 -406
- package/dist/esm/spw-cookies.entry.js +0 -82
- package/dist/spw-stencil-library/p-014dcde0.entry.js +0 -1
- package/dist/spw-stencil-library/p-07eeb1e1.entry.js +0 -1
- package/dist/spw-stencil-library/p-081ef5be.entry.js +0 -1
- package/dist/spw-stencil-library/p-0974b5ad.entry.js +0 -1
- package/dist/spw-stencil-library/p-0a4c7350.entry.js +0 -1
- package/dist/spw-stencil-library/p-0c8b8bda.entry.js +0 -1
- package/dist/spw-stencil-library/p-1551cafd.entry.js +0 -1
- package/dist/spw-stencil-library/p-17c560a7.entry.js +0 -1
- package/dist/spw-stencil-library/p-1cafabcb.entry.js +0 -1
- package/dist/spw-stencil-library/p-1d89f70b.entry.js +0 -1
- package/dist/spw-stencil-library/p-23eea80a.entry.js +0 -1
- package/dist/spw-stencil-library/p-281cdb3e.entry.js +0 -1
- package/dist/spw-stencil-library/p-2a044996.entry.js +0 -1
- package/dist/spw-stencil-library/p-2f8ddf71.entry.js +0 -1
- package/dist/spw-stencil-library/p-34dcb37c.entry.js +0 -1
- package/dist/spw-stencil-library/p-35f8a54f.entry.js +0 -1
- package/dist/spw-stencil-library/p-3b734796.entry.js +0 -1
- package/dist/spw-stencil-library/p-3dabbc2b.entry.js +0 -1
- package/dist/spw-stencil-library/p-3eabee42.entry.js +0 -1
- package/dist/spw-stencil-library/p-4016c0b3.entry.js +0 -1
- package/dist/spw-stencil-library/p-4319494b.entry.js +0 -1
- package/dist/spw-stencil-library/p-435faf37.entry.js +0 -1
- package/dist/spw-stencil-library/p-46b1ac2f.entry.js +0 -1
- package/dist/spw-stencil-library/p-497fceb3.entry.js +0 -1
- package/dist/spw-stencil-library/p-4b17b100.entry.js +0 -1
- package/dist/spw-stencil-library/p-4ededdbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-50fa07aa.entry.js +0 -1
- package/dist/spw-stencil-library/p-5420e253.entry.js +0 -1
- package/dist/spw-stencil-library/p-55ba4165.entry.js +0 -1
- package/dist/spw-stencil-library/p-56a7d3c3.entry.js +0 -1
- package/dist/spw-stencil-library/p-5a40cfb3.entry.js +0 -1
- package/dist/spw-stencil-library/p-69b136c2.entry.js +0 -1
- package/dist/spw-stencil-library/p-6c7f1b3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-6fbde272.entry.js +0 -1
- package/dist/spw-stencil-library/p-73ae85cc.entry.js +0 -1
- package/dist/spw-stencil-library/p-74a1dfe7.entry.js +0 -1
- package/dist/spw-stencil-library/p-75ca8560.entry.js +0 -1
- package/dist/spw-stencil-library/p-763e5fb6.entry.js +0 -1
- package/dist/spw-stencil-library/p-76d48ad8.entry.js +0 -1
- package/dist/spw-stencil-library/p-785c51b6.entry.js +0 -1
- package/dist/spw-stencil-library/p-7ae66351.entry.js +0 -1
- package/dist/spw-stencil-library/p-80b5b9c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-80e64a77.entry.js +0 -1
- package/dist/spw-stencil-library/p-83fc4518.entry.js +0 -1
- package/dist/spw-stencil-library/p-847a147f.entry.js +0 -1
- package/dist/spw-stencil-library/p-853a90d8.entry.js +0 -1
- package/dist/spw-stencil-library/p-861d8fa6.entry.js +0 -1
- package/dist/spw-stencil-library/p-87777c3a.entry.js +0 -1
- package/dist/spw-stencil-library/p-879bdc6c.entry.js +0 -1
- package/dist/spw-stencil-library/p-87c1e331.entry.js +0 -1
- package/dist/spw-stencil-library/p-8a12fbbc.entry.js +0 -1
- package/dist/spw-stencil-library/p-9852ad6c.entry.js +0 -1
- package/dist/spw-stencil-library/p-9a52727e.entry.js +0 -1
- package/dist/spw-stencil-library/p-9b399583.entry.js +0 -1
- package/dist/spw-stencil-library/p-9e7445bd.entry.js +0 -1
- package/dist/spw-stencil-library/p-a1ab16e7.entry.js +0 -1
- package/dist/spw-stencil-library/p-a2f3f972.entry.js +0 -1
- package/dist/spw-stencil-library/p-a689da13.entry.js +0 -1
- package/dist/spw-stencil-library/p-a69e57df.entry.js +0 -1
- package/dist/spw-stencil-library/p-a730805c.entry.js +0 -1
- package/dist/spw-stencil-library/p-ab07e0b0.entry.js +0 -1
- package/dist/spw-stencil-library/p-ab24e63c.entry.js +0 -1
- package/dist/spw-stencil-library/p-bd56da25.entry.js +0 -1
- package/dist/spw-stencil-library/p-c077bc8d.entry.js +0 -1
- package/dist/spw-stencil-library/p-c12c4536.entry.js +0 -1
- package/dist/spw-stencil-library/p-ccdd5504.entry.js +0 -1
- package/dist/spw-stencil-library/p-d4c22b9f.entry.js +0 -1
- package/dist/spw-stencil-library/p-d597f8dc.entry.js +0 -1
- package/dist/spw-stencil-library/p-d869a185.entry.js +0 -1
- package/dist/spw-stencil-library/p-daa6257d.entry.js +0 -1
- package/dist/spw-stencil-library/p-dc287751.entry.js +0 -1
- package/dist/spw-stencil-library/p-de134d10.entry.js +0 -1
- package/dist/spw-stencil-library/p-e34f57e6.entry.js +0 -1
- package/dist/spw-stencil-library/p-e8f10b82.entry.js +0 -1
- package/dist/spw-stencil-library/p-ea73dc92.entry.js +0 -1
- package/dist/spw-stencil-library/p-eb8f3216.entry.js +0 -1
- package/dist/spw-stencil-library/p-edbba249.entry.js +0 -1
- package/dist/spw-stencil-library/p-ee2d2e3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-f22c8347.entry.js +0 -1
- package/dist/spw-stencil-library/p-f2d1b557.entry.js +0 -1
- package/dist/spw-stencil-library/p-f37c9c51.entry.js +0 -1
- package/dist/spw-stencil-library/p-f7ed1474.entry.js +0 -1
- package/dist/spw-stencil-library/p-fbff4e05.entry.js +0 -1
- package/dist/spw-stencil-library/p-fd814c2d.entry.js +0 -1
- package/dist/spw-stencil-library/p-ffbd0ef5.entry.js +0 -1
- package/dist/types/components/spw-cookies/spw-cookies.d.ts +0 -21
|
@@ -1,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-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTextareaCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTextareaCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-textarea-readonly-background:var(--spw-color-themes-grey-grey-50)}.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--readonly .spw-textarea__input{background:var(--spw-textarea-readonly-background);cursor:default}.spw-textarea--is-error .spw-textarea__input{border-color:var(--spw-colors-states-error-error-300)}.spw-textarea--is-search .spw-textarea__input{padding-right:80px}.spw-textarea__container{display:flex;align-items:center}.spw-textarea__indicator{padding-left:12px}.spw-textarea__field-message{margin-bottom:8px;margin-top:-4px}.spw-textarea__icon{pointer-events:none;position:absolute;top:50%;right:30px;transform:translateY(-50%);color:var(--spw-ds-primary);font-size:24px}`;
|
|
4
4
|
|
|
5
5
|
const SpwTextarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -16,6 +16,8 @@ const SpwTextarea = class {
|
|
|
16
16
|
this.internalValue = '';
|
|
17
17
|
/** Texte à afficher au-dessus du champ textarea */
|
|
18
18
|
this.label = '';
|
|
19
|
+
/** Si `true`, la valeur reste lisible, sélectionnable et focusable, mais ne peut pas être modifiée */
|
|
20
|
+
this.readonly = false;
|
|
19
21
|
/** Nombre de lignes à afficher dans le champ textarea */
|
|
20
22
|
this.rows = 5;
|
|
21
23
|
/** Indique si l'input est un champ de recherche */
|
|
@@ -44,6 +46,7 @@ const SpwTextarea = class {
|
|
|
44
46
|
this.tooltipDirection = 'top';
|
|
45
47
|
/** Curseur du tooltip */
|
|
46
48
|
this.tooltipCursor = 'help';
|
|
49
|
+
this.uniqueId = `spw-textarea-${Math.random().toString(36).slice(2, 11)}`;
|
|
47
50
|
}
|
|
48
51
|
/** Méthode publique pour mettre le focus sur le champ textarea. */
|
|
49
52
|
async setFocus() {
|
|
@@ -81,6 +84,16 @@ const SpwTextarea = class {
|
|
|
81
84
|
this.valueChanged.emit(this.internalValue);
|
|
82
85
|
}
|
|
83
86
|
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
87
|
+
get describedBy() {
|
|
88
|
+
const ids = [
|
|
89
|
+
this.assistiveText && `${this.uniqueId}-help`,
|
|
90
|
+
this.error && `${this.uniqueId}-error`,
|
|
91
|
+
this.hint && `${this.uniqueId}-hint`,
|
|
92
|
+
this.success && `${this.uniqueId}-success`,
|
|
93
|
+
this.warning && `${this.uniqueId}-warning`,
|
|
94
|
+
].filter(Boolean);
|
|
95
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
96
|
+
}
|
|
84
97
|
renderMessages() {
|
|
85
98
|
const messages = [];
|
|
86
99
|
if (this.error)
|
|
@@ -93,7 +106,7 @@ const SpwTextarea = class {
|
|
|
93
106
|
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
94
107
|
return messages.map((m, i) => {
|
|
95
108
|
const isLast = i === messages.length - 1;
|
|
96
|
-
return (h("spw-field-message", { variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
109
|
+
return (h("spw-field-message", { id: `${this.uniqueId}-${m.variant}`, variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
97
110
|
});
|
|
98
111
|
}
|
|
99
112
|
get elementClass() {
|
|
@@ -102,10 +115,11 @@ const SpwTextarea = class {
|
|
|
102
115
|
'spw-textarea--is-search': this.isSearch,
|
|
103
116
|
'spw-textarea--is-error': !!this.error,
|
|
104
117
|
'spw-textarea--disabled': this.disabled,
|
|
118
|
+
'spw-textarea--readonly': this.readonly && !this.disabled,
|
|
105
119
|
};
|
|
106
120
|
}
|
|
107
121
|
render() {
|
|
108
|
-
return (h("div", { key: '
|
|
122
|
+
return (h("div", { key: 'b77423d9577b8a62be8fbe1dc09e421afde79c16', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'bd265a75ebdd29990eeee05c791a7811989a1ea2', 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: '7ba8c55dd205a1b7a1e428389f3338c57cd67953', id: `${this.uniqueId}-help`, class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'b711cf071303ef173cb7fb03f5dc7d02c063900e', class: "spw-textarea__container" }, h("textarea", { key: 'dfdd24cfee43a8b021cf5f3be73df27f0e05edfb', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, name: this.name, id: this.name, autocomplete: this.autocomplete, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event), "aria-describedby": this.describedBy, "aria-invalid": this.error ? 'true' : 'false' })), this.renderMessages()));
|
|
109
123
|
}
|
|
110
124
|
static get formAssociated() { return true; }
|
|
111
125
|
static get watchers() { return {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-BTkpN1hH.js';
|
|
2
|
+
|
|
3
|
+
const rougeCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-red-red-500);--spw-ds-variant:var(--spw-color-themes-red-red-700);--spw-ds-active:var(--spw-color-themes-red-red-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-red-red-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-red-red-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-red-red-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-red-red-800);--spw-ds-alt-purple:#552046;--spw-ds-alt-blue:#202f55;--spw-ds-alt-petrol:#1b4146}`;
|
|
4
|
+
|
|
5
|
+
const bleuCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-blue-blue-500);--spw-ds-variant:var(--spw-color-themes-blue-blue-700);--spw-ds-active:var(--spw-color-themes-blue-blue-800);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-blue-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-blue-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-blue-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-blue-blue-800)}`;
|
|
6
|
+
|
|
7
|
+
const bleuClairCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-blue-light-blue-600);--spw-ds-variant:var(--spw-color-themes-light-blue-light-blue-800);--spw-ds-active:var(--spw-color-themes-light-blue-light-blue-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-blue-light-blue-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-blue-light-blue-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-blue-light-blue-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-blue-light-blue-800)}`;
|
|
8
|
+
|
|
9
|
+
const vertCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-green-green-700);--spw-ds-variant:var(--spw-color-themes-green-green-800);--spw-ds-active:var(--spw-color-themes-green-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-green-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-green-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-green-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-green-green-800)}`;
|
|
10
|
+
|
|
11
|
+
const vertLegerCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-light-green-light-green-700);--spw-ds-variant:var(--spw-color-themes-light-green-light-green-800);--spw-ds-active:var(--spw-color-themes-light-green-light-green-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-light-green-light-green-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-light-green-light-green-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-light-green-light-green-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-light-green-light-green-800)}`;
|
|
12
|
+
|
|
13
|
+
const turquoiseCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-teal-teal-700);--spw-ds-variant:var(--spw-color-themes-teal-teal-800);--spw-ds-active:var(--spw-color-themes-teal-teal-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-teal-teal-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-teal-teal-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-teal-teal-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-teal-teal-800)}`;
|
|
14
|
+
|
|
15
|
+
const orangeCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-orange-orange-700);--spw-ds-variant:var(--spw-color-themes-orange-orange-800);--spw-ds-active:var(--spw-color-themes-orange-orange-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-orange-orange-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-orange-orange-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-orange-orange-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-orange-orange-800)}`;
|
|
16
|
+
|
|
17
|
+
const indigoCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-indigo-indigo-700);--spw-ds-variant:var(--spw-color-themes-indigo-indigo-800);--spw-ds-active:var(--spw-color-themes-indigo-indigo-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-indigo-indigo-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-indigo-indigo-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-indigo-indigo-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-indigo-indigo-800)}`;
|
|
18
|
+
|
|
19
|
+
const mauveCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-purple-purple-500);--spw-ds-variant:var(--spw-color-themes-purple-purple-800);--spw-ds-active:var(--spw-color-themes-purple-purple-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-purple-purple-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-purple-purple-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-purple-purple-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-purple-purple-800)}`;
|
|
20
|
+
|
|
21
|
+
const grisCss = () => `:root{--spw-ds-white:var(--spw-color-shades-base-white);--spw-ds-focus:var(--spw-color-themes-blue-blue-400);--spw-ds-font-icons-solid:'Font Awesome 7 Pro';--spw-ds-font-icons-brands:'Font Awesome 7 Brands';--spw-ds-font-icons-regular:'Font Awesome 7 Pro';--spw-ds-font-main:'Nunito Sans', sans-serif;--spw-ds-spacing-none:0;--spw-ds-spacing-4xs:1px;--spw-ds-spacing-3xs:2px;--spw-ds-spacing-2xs:4px;--spw-ds-spacing-xs:6px;--spw-ds-spacing-sm:8px;--spw-ds-spacing-md:12px;--spw-ds-spacing-lg:16px;--spw-ds-spacing-xl:20px;--spw-ds-spacing-2xl:24px;--spw-ds-spacing-3xl:32px;--spw-ds-spacing-4xl:48px;--spw-ds-spacing-5xl:64px;--spw-ds-spacing-6xl:80px;--spw-ds-border-radius-none:0;--spw-ds-border-radius-2xs:2px;--spw-ds-border-radius-xs:4px;--spw-ds-border-radius-sm:6px;--spw-ds-border-radius-md:8px;--spw-ds-border-radius-lg:12px;--spw-ds-border-radius-xl:16px;--spw-ds-border-radius-2xl:20px;--spw-ds-border-radius-3xl:24px;--spw-ds-border-radius-4xl:32px;--spw-ds-border-radius-5xl:48px;--spw-ds-border-radius-full:999px}:root{--spw-ds-primary:var(--spw-color-themes-grey-grey-500);--spw-ds-variant:var(--spw-color-themes-grey-grey-800);--spw-ds-active:var(--spw-color-themes-grey-grey-900);--spw-ds-cta-outlined-bg-hover:var(--spw-color-themes-grey-grey-50);--spw-ds-cta-outlined-stroke-hover:var(--spw-color-themes-grey-grey-700);--spw-ds-cta-outlined-bg-active:var(--spw-color-themes-grey-grey-100);--spw-ds-cta-outlined-stroke-active:var(--spw-color-themes-grey-grey-800)}`;
|
|
22
|
+
|
|
23
|
+
const themes = {
|
|
24
|
+
rouge: rougeCss,
|
|
25
|
+
bleu: bleuCss,
|
|
26
|
+
bleuClair: bleuClairCss,
|
|
27
|
+
vert: vertCss,
|
|
28
|
+
vertLeger: vertLegerCss,
|
|
29
|
+
orange: orangeCss,
|
|
30
|
+
turquoise: turquoiseCss,
|
|
31
|
+
indigo: indigoCss,
|
|
32
|
+
mauve: mauveCss,
|
|
33
|
+
gris: grisCss,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const SpwThemeProvider = class {
|
|
37
|
+
constructor(hostRef) {
|
|
38
|
+
registerInstance(this, hostRef);
|
|
39
|
+
/** Définit le thème employé, conditionne les tokens associés au thème */
|
|
40
|
+
this.theme = 'rouge';
|
|
41
|
+
}
|
|
42
|
+
componentWillLoad() {
|
|
43
|
+
this.applyTheme(this.theme);
|
|
44
|
+
}
|
|
45
|
+
componentWillUpdate() {
|
|
46
|
+
this.applyTheme(this.theme);
|
|
47
|
+
}
|
|
48
|
+
applyTheme(theme) {
|
|
49
|
+
const styleId = 'theme-styles';
|
|
50
|
+
let styleElement = document.getElementById(styleId);
|
|
51
|
+
if (!styleElement) {
|
|
52
|
+
styleElement = document.createElement('style');
|
|
53
|
+
styleElement.id = styleId;
|
|
54
|
+
document.head.appendChild(styleElement);
|
|
55
|
+
}
|
|
56
|
+
const css = themes[theme];
|
|
57
|
+
styleElement.innerHTML = typeof css === 'function' ? css() : css;
|
|
58
|
+
document.documentElement.setAttribute('data-theme', theme);
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return (h("main", { key: 'b9e75233b7a8e9833dd5ba0030eb264bfe094f39', class: `spw-theme-${this.theme}` }, h("slot", { key: '1899b724b14d41499c938d0151cecb96cbeeb3bf' })));
|
|
62
|
+
}
|
|
63
|
+
get el() { return getElement(this); }
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export { SpwThemeProvider as spw_theme_provider };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTileDescriptionCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTileDescriptionCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;overflow:hidden;--spw-tile-description-icon:18px}:host(.--light),:host(.--big){margin-top:6px}@media (max-width: 1023px){:host(.--reveal-on-hover){display:none}}@media (min-width: 1024px){:host(.--reveal-on-hover){display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;transition:grid-template-rows 0.25s ease-in, margin-top 0.25s ease-in, opacity 0.35s 0.05s ease-in}}@media (min-width: 1024px){:host(.--reveal-on-hover.--revealed){grid-template-rows:1fr;margin-top:6px;opacity:1}}:host(.--reveal-on-hover) .spw-tile-description{min-height:0;overflow:hidden}:host(.--icon) .spw-tile-description{color:var(--spw-color-themes-grey-grey-700);line-height:1.5;font-size:var(--spw-tile-description-icon)}:host(.--icon.--surface-dark) .spw-tile-description{color:white}:host(.--big) .spw-tile-description,:host(.--light) .spw-tile-description{color:white;line-height:1.3;font-size:18px}:host(.--action) .spw-tile-description,:host(.--outline) .spw-tile-description{color:var(--spw-color-themes-grey-grey-700);font-size:14px;line-height:1.4}`;
|
|
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: '45bf717de04bd32ced81b4dd51c819f399ff932a', class: "spw-tile-description" }, h("slot", { key: '282ebd374f1b715db274dda117f1ce0c10862800' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
SpwTileDescription.style = spwTileDescriptionCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTileTitleCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTileTitleCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-tile-title-icon:20px;--spw-tile-title-icon-mobile:16px;--spw-tile-title-underline:none}:host(.--icon) .spw-tile-title{color:var(--spw-color-themes-grey-grey-900);line-height:1.3;font-size:var(--spw-tile-title-icon-mobile);font-weight:700;text-decoration:var(--spw-tile-title-underline);transition:all 0.2s linear}@media (min-width: 1024px){:host(.--icon) .spw-tile-title{font-size:var(--spw-tile-title-icon)}}:host(.--icon.--hovered) .spw-tile-title{color:var(--spw-ds-primary)}:host(.--icon.--surface-dark) .spw-tile-title{color:white}:host(.--icon.--surface-dark.--hovered) .spw-tile-title{opacity:0.8}:host(.--light) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}:host(.--big) .spw-tile-title{color:white;line-height:1.3;font-size:20px;font-weight:700}.spw-tile-title__arrow{display:none}:host(.--action) .spw-tile-title,:host(.--outline) .spw-tile-title,:host(.--shortcut) .spw-tile-title{color:var(--spw-color-themes-grey-grey-900);font-size:16px;font-weight:700;line-height:1.4}:host(.--outline) .spw-tile-title__arrow,:host(.--shortcut) .spw-tile-title__arrow{display:inline-block;margin-left:8px;font-size:16px;vertical-align:middle;transition:transform 0.25s ease}:host(.--outline.--hovered) .spw-tile-title__arrow,:host(.--shortcut.--hovered) .spw-tile-title__arrow{transform:translateX(6px)}:host(.--shortcut.--hovered) .spw-tile-title__arrow--external{transform:translate(3px, -3px)}`;
|
|
4
4
|
|
|
5
5
|
const SpwTileTitle = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -9,7 +9,7 @@ const SpwTileTitle = class {
|
|
|
9
9
|
this.arrowIcon = 'fa-chevron-right';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("h3", { key: '
|
|
12
|
+
return (h("h3", { key: '98d22d2736cfa753ce6836cb1da32af812ef4c44', class: "spw-tile-title" }, h("slot", { key: '8566d24490ecc6840f4c239f2d2944633439c34f' }), h("spw-icon", { key: 'ccac956c36ee040dd28b3e68161a22fb74285247', class: { 'spw-tile-title__arrow': true, 'spw-tile-title__arrow--external': this.arrowIcon === 'fa-arrow-up-right-from-square' }, icon: this.arrowIcon, "aria-hidden": "true" })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
SpwTileTitle.style = spwTileTitleCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, F as Fragment, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, F as Fragment, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTileCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTileCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host([variant=action]),:host([variant=outline]),:host([variant=shortcut]){--spw-tile-bordered-border-color:var(--spw-color-themes-grey-grey-300);--spw-tile-bordered-hover-border-color:var(--spw-color-themes-grey-grey-900);height:100%}.spw-tile{display:block;text-decoration:none;position:relative;transition:all 0.3s ease-in-out;border-radius:6px}.spw-tile--hoverable:hover{transform:translateY(-5px)}.spw-tile:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-tile--icon{padding:16px 0}.spw-tile--icon.spw-tile--height-square,.spw-tile--icon.spw-tile--height-portrait{padding:0;position:relative;overflow:hidden}.spw-tile--icon.spw-tile--height-square{padding-top:100%}.spw-tile--icon.spw-tile--height-portrait{padding-top:150%}.spw-tile--big,.spw-tile--light{position:relative;padding-top:calc(70% - 12px);overflow:hidden}@media (min-width: 1024px){.spw-tile--big,.spw-tile--light{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-landscape,.spw-tile--light.spw-tile--height-landscape{padding-top:calc(60% - 12px)}.spw-tile--big.spw-tile--height-square,.spw-tile--light.spw-tile--height-square{padding-top:100%}.spw-tile--big.spw-tile--height-portrait,.spw-tile--light.spw-tile--height-portrait{padding-top:150%}}.spw-tile--big:before,.spw-tile--light:before{content:"";background:black;opacity:0;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.spw-tile__overlay,.spw-tile__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-tile__overlay{z-index:2;height:calc(100% + 48px);bottom:0;top:auto;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--shades-alpha-dark-alpha-dark-alpha-900, rgba(0, 0, 0, 0.87)) 100%)}.spw-tile__image{z-index:1;object-fit:cover}.spw-tile__button{position:absolute;bottom:24px;right:24px;background:transparent;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;color:white;border-radius:50%;transition:all 0.2s ease-in;border:3px solid white;font-size:20px;margin-top:12px;z-index:2}.spw-tile:hover .spw-tile__button{background:rgba(0, 0, 0, 0.5)}.spw-tile--light .spw-tile__content,.spw-tile--big .spw-tile__content{position:absolute;z-index:3;display:flex;flex-direction:column;gap:0;padding:24px;bottom:0;left:0;width:100%}.spw-tile--icon.spw-tile--height-square .spw-tile__content,.spw-tile--icon.spw-tile--height-portrait .spw-tile__content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}.spw-tile--big.spw-tile--hoverable .spw-tile__content{padding-right:84px}.spw-tile--light .spw-tile__content{text-align:center;padding-bottom:24px}.spw-tile__content-inner{position:relative;z-index:3;flex:1}.spw-tile--icon .spw-tile__content-inner{display:flex;flex-direction:column;gap:12px;padding:0 12px;text-align:center}.spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon){font-size:32px;color:var(--spw-ds-primary)}.spw-tile--icon.spw-tile--surface-dark .spw-tile__content-inner ::slotted(spw-icon){color:white}.spw-tile--action,.spw-tile--outline,.spw-tile--shortcut{display:flex;flex-direction:column;height:100%;padding:24px;border:1px solid var(--spw-tile-bordered-border-color);border-radius:8px;background:var(--spw-ds-white);color:var(--spw-color-themes-grey-grey-900);transition:border-color 0.2s ease, box-shadow 0.2s ease}.spw-tile--action:hover,.spw-tile--outline:hover,.spw-tile--shortcut:hover{border-color:var(--spw-tile-bordered-hover-border-color);box-shadow:inset 0 0 0 1px var(--spw-tile-bordered-hover-border-color)}.spw-tile--action:focus-visible,.spw-tile--outline:focus-visible,.spw-tile--shortcut:focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black;border-radius:8px}.spw-tile--action .spw-tile__body,.spw-tile--outline .spw-tile__body,.spw-tile--shortcut .spw-tile__body{display:flex;flex-direction:column}.spw-tile--action .spw-tile__body{gap:4px}.spw-tile--action .spw-tile__body ::slotted(spw-tile-description){order:-1}.spw-tile--action .spw-tile__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:24px}.spw-tile--action .spw-tile__arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:50%;font-size:16px;transition:background-color 0.2s ease}.spw-tile--action .spw-tile__arrow:hover{background:var(--spw-color-themes-grey-grey-300)}.spw-tile--outline .spw-tile__top{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.spw-tile--outline .spw-tile__top ::slotted(spw-icon){display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--spw-color-themes-grey-grey-100);font-size:16px}.spw-tile--outline .spw-tile__body{gap:8px}.spw-tile--outline .spw-tile__bottom{margin-top:16px}.spw-tile--shortcut{justify-content:center}`;
|
|
4
4
|
|
|
5
5
|
const SpwTile = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTimelineItemCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTimelineItemCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-timeline-item{display:flex;flex-direction:column;align-items:center;width:100%}.spw-timeline-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-timeline-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-timeline-item__step spw-icon{font-size:16px}.spw-timeline-item--vertical .spw-timeline-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-timeline-item__icon{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative;border-color:#d1d5db}.spw-timeline-item__icon svg{width:24px;height:24px}.spw-timeline-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease;background-color:#d1d5db}.spw-timeline-item--vertical .spw-timeline-item__connector{top:0;left:7px;right:auto;width:3px;height:calc(100% + 6px)}.spw-timeline-item__label{display:inline-flex;gap:8px;font-size:16px;font-weight:700;text-align:center;margin-top:4px;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-timeline-item--vertical .spw-timeline-item__label{text-align:left}.spw-timeline-item__label--clickable{text-decoration:underline;cursor:pointer;user-select:none}.spw-timeline-item__label--clickable:hover{text-decoration:none}.spw-timeline-item__label-text{flex:1}.spw-timeline-item__description-wrapper{margin-top:4px;display:flex;flex-direction:column;align-items:center;gap:8px}.spw-timeline-item--vertical .spw-timeline-item__description-wrapper{align-items:flex-start}.spw-timeline-item__description{font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px;transition:all 0.3s ease}.spw-timeline-item--vertical .spw-timeline-item__description{text-align:left}.spw-timeline-item__description--collapsed{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.spw-timeline-item__toggle{cursor:pointer;font-size:20px;color:var(--spw-ds-primary);transition:transform 0.3s ease}.spw-timeline-item__toggle:hover{opacity:0.8}.spw-timeline-item--vertical .spw-timeline-item__content{margin-top:-6px;margin-bottom:8px}.spw-timeline-item--active .spw-timeline-item__icon{border-color:var(--spw-ds-primary);background-color:var(--spw-ds-primary);color:white}.spw-timeline-item--active .spw-timeline-item__label{color:var(--spw-ds-primary)}.spw-timeline-item--default .spw-timeline-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}`;
|
|
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: '2e7afc6df06d3e6f93da7db649ff6f5b89afdb70' }, h("div", { key: '9527d06514e54254a71e8e7136dbbfb3ece6899b', class: this.elementClass }, h("div", { key: 'f466e7a331b446ed639ae23a10019238c3b36e03', class: "spw-timeline-item__step" }, h("div", { key: '445d2ec9230a84532d509b35cfcc7c899e5e1fae', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '8d17f41f02beb7a7ac512a415f28703780391da2', class: "spw-timeline-item__connector" })), h("div", { key: 'd0651a9c9da2bd556efcb599f2598bdcff0b2d8c', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: '6e79f461c8e9da168b03b98b654756d6085033aa', class: "spw-timeline-item__description-wrapper" }, h("div", { key: '0261fc73c499bf47444e11a527fab8ed59a724c8', 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: '01dcf9f927510de01e8a520b8c7239b499004cb6' })))));
|
|
66
66
|
}
|
|
67
67
|
get el() { return getElement(this); }
|
|
68
68
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTimelineCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTimelineCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-timeline{display:flex;gap:6px}.spw-timeline--horizontal{flex-direction:row}.spw-timeline--vertical{flex-direction:column;align-items:flex-start}.spw-timeline__toggle{margin-top:8px;padding-left:32px;margin-left:7px;border-left:3px dashed #d1d5db}.spw-timeline__toggle--less{border-left-color:transparent}.spw-timeline__toggle-btn{background:none;border:none;color:var(--spw-ds-primary);font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}.spw-timeline__toggle-btn:hover{text-decoration:none}`;
|
|
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: '5600068efcf755b601bf35939079e61a75285d66' }, h("div", { key: '98c80817e6699f2a39d419667dc34af1e201c1d7', class: this.elementClass }, h("slot", { key: '2d7f2388fb2e1b35aee7af4a0a3f7ce10b458dd6' })), this.shouldShowToggleButton() && (h("div", { key: '321006c6bfdcfc5d710abf0664baa3c6f170aa01', 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: '645560f092a82cb2ff7a8fd340410219a8c5cbaf', 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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwToastControllerCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:
|
|
3
|
+
const spwToastControllerCss = () => `@charset "UTF-8";: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;--spw-toast-controller-gap:10px;--spw-toast-controller-offset:24px;--spw-toast-controller-width:360px;--spw-toast-controller-z-index:999999999}.spw-toast-controller__stack{position:fixed;display:flex;flex-direction:column;gap:var(--spw-toast-controller-gap);z-index:var(--spw-toast-controller-z-index);width:var(--spw-toast-controller-width);max-width:calc(100vw - 2 * var(--spw-toast-controller-offset));pointer-events:none}.spw-toast-controller__stack>*{pointer-events:auto}.spw-toast-controller__stack--top-right{top:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-left{top:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset)}.spw-toast-controller__stack--top-center{top:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%)}.spw-toast-controller__stack--bottom-right{bottom:var(--spw-toast-controller-offset);right:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-left{bottom:var(--spw-toast-controller-offset);left:var(--spw-toast-controller-offset);flex-direction:column-reverse}.spw-toast-controller__stack--bottom-center{bottom:var(--spw-toast-controller-offset);left:50%;transform:translateX(-50%);flex-direction:column-reverse}`;
|
|
4
4
|
|
|
5
5
|
const SpwToastController = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -9,6 +9,9 @@ const SpwToastController = class {
|
|
|
9
9
|
* Position du conteneur de toasts sur l'écran.
|
|
10
10
|
* Valeurs: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'
|
|
11
11
|
*/
|
|
12
|
+
/** Remplit l'attribut aria-label de la région des notifications, utilisé à des fins d'accessibilité */
|
|
13
|
+
this.accAriaLabel = 'Notifications';
|
|
14
|
+
/** Position des toasts à l'écran */
|
|
12
15
|
this.position = 'bottom-right';
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
@@ -45,10 +48,10 @@ const SpwToastController = class {
|
|
|
45
48
|
await Promise.all(toasts.map(t => { var _a; return (_a = t.dismiss) === null || _a === void 0 ? void 0 : _a.call(t); }));
|
|
46
49
|
}
|
|
47
50
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '21b23be82e1785032a1c1af54262c2c2d51d114b' }, h("div", { key: '5bc3e1fded6c995bf16ab15bb7e0a78ff9a700a6', class: {
|
|
49
52
|
'spw-toast-controller__stack': true,
|
|
50
53
|
[`spw-toast-controller__stack--${this.position}`]: true,
|
|
51
|
-
}, role: "region", "aria-label":
|
|
54
|
+
}, role: "region", "aria-label": this.accAriaLabel, ref: el => (this.stackEl = el) })));
|
|
52
55
|
}
|
|
53
56
|
};
|
|
54
57
|
SpwToastController.style = spwToastControllerCss();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
import { a as animationTo } from './animation-BRFNx2DL.js';
|
|
3
3
|
|
|
4
|
-
const spwToastCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:
|
|
4
|
+
const spwToastCss = () => `@charset "UTF-8";: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;width:100%;--spw-toast-border-radius:8px;--spw-toast-font-size:16px;--spw-toast-shadow:none;--spw-toast-aside-width:40px;--spw-toast-success-color:var(--spw-colors-multi-branding-green-green-800);--spw-toast-success-bg:var(--spw-colors-multi-branding-green-green-800);--spw-toast-info-color:var(--spw-colors-multi-branding-blue-blue-500);--spw-toast-info-bg:var(--spw-colors-multi-branding-blue-blue-500);--spw-toast-warning-color:var(--spw-colors-multi-branding-orange-orange-500);--spw-toast-warning-bg:var(--spw-colors-multi-branding-orange-orange-500);--spw-toast-alert-color:var(--spw-colors-multi-branding-red-red-500);--spw-toast-alert-bg:var(--spw-colors-multi-branding-red-red-500)}.spw-toast{position:relative;display:flex;align-items:stretch;background:#ffffff;border-radius:var(--spw-toast-border-radius);border:2px solid;box-shadow:var(--spw-toast-shadow);font-size:var(--spw-toast-font-size);color:var(--spw-colors-support-grey-grey-900, #1a1a1a);width:100%;box-sizing:border-box;overflow:hidden}@media (prefers-reduced-motion: reduce){.spw-toast{transition:none !important;animation:none !important}}.spw-toast--success{border-color:var(--spw-toast-success-color)}.spw-toast--success .spw-toast__aside{background:var(--spw-toast-success-bg)}.spw-toast--info{border-color:var(--spw-toast-info-color)}.spw-toast--info .spw-toast__aside{background:var(--spw-toast-info-bg)}.spw-toast--warning{border-color:var(--spw-toast-warning-color)}.spw-toast--warning .spw-toast__aside{background:var(--spw-toast-warning-bg)}.spw-toast--alert{border-color:var(--spw-toast-alert-color)}.spw-toast--alert .spw-toast__aside{background:var(--spw-toast-alert-bg)}.spw-toast__aside{flex-shrink:0;width:var(--spw-toast-aside-width);display:flex;align-items:flex-start;justify-content:center;padding-top:16px}.spw-toast__icon-wrapper{width:24px;height:24px;border-radius:50%;background:#ffffff;display:flex;align-items:center;justify-content:center;font-size:16px}.spw-toast__icon-wrapper spw-icon{display:flex;align-items:center;justify-content:center}.spw-toast--success .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-success-color)}.spw-toast--info .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-info-color)}.spw-toast--warning .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-warning-color)}.spw-toast--alert .spw-toast__icon-wrapper spw-icon{color:var(--spw-toast-alert-color)}.spw-toast__body{flex:1;padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0}.spw-toast__top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.spw-toast__heading{margin:0;font-weight:700;line-height:1.4;color:var(--spw-colors-support-grey-grey-900, #1a1a1a)}.spw-toast__message{margin:0;line-height:1.5;color:var(--spw-colors-support-grey-grey-700, #3a3a3a)}.spw-toast__link{display:inline-block;margin-top:4px;font-weight:700;font-size:14px;text-decoration:underline;color:var(--spw-colors-support-grey-grey-900, #1a1a1a)}.spw-toast__link:hover{text-decoration:none}.spw-toast__close{flex-shrink:0;align-self:flex-start;display:flex;align-items:center;gap:4px;background:none;border:none;cursor:pointer;padding:3px 0;font-size:14px;font-weight:600;color:var(--spw-colors-support-grey-grey-900, #1a1a1a);white-space:nowrap;text-decoration:underline;font-family:inherit}.spw-toast__close spw-icon{font-size:14px;text-decoration:none}.spw-toast__close:hover{text-decoration:none}.spw-toast__close:focus-visible{outline:3px solid currentColor;outline-offset:2px;border-radius:2px}.spw-toast__progress{position:absolute;bottom:0;left:var(--spw-toast-aside-width);height:3px;width:calc(100% - var(--spw-toast-aside-width));transform-origin:left center;animation:spw-toast-progress linear forwards;animation-play-state:running}@media (prefers-reduced-motion: reduce){.spw-toast__progress{display:none}}.spw-toast--success .spw-toast__progress{background:var(--spw-toast-success-color)}.spw-toast--info .spw-toast__progress{background:var(--spw-toast-info-color)}.spw-toast--warning .spw-toast__progress{background:var(--spw-toast-warning-color)}.spw-toast--alert .spw-toast__progress{background:var(--spw-toast-alert-color)}@keyframes spw-toast-progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}`;
|
|
5
5
|
|
|
6
6
|
const VARIANT_ICONS = {
|
|
7
7
|
success: 'fa-check',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTocContainerCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTocContainerCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-toc-container{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-toc-container h1,spw-toc-container h2,spw-toc-container h3,spw-toc-container h4,spw-toc-container h5,spw-toc-container h6,spw-toc-container p,spw-toc-container ul,spw-toc-container li{padding:0;margin:0}spw-toc-container ul{list-style:none}spw-toc-container *,spw-toc-container *::before,spw-toc-container *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-toc-container{}spw-toc-container hr{box-sizing:content-box;height:0;overflow:visible;}spw-toc-container{}spw-toc-container pre{font-family:monospace, monospace;font-size:1em;}spw-toc-container{}spw-toc-container a{background-color:transparent}spw-toc-container{}spw-toc-container abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-toc-container{}spw-toc-container b,spw-toc-container strong{font-weight:bolder}spw-toc-container{}spw-toc-container code,spw-toc-container kbd,spw-toc-container samp{font-family:monospace, monospace;font-size:1em;}spw-toc-container{}spw-toc-container small{font-size:80%}spw-toc-container{}spw-toc-container sub,spw-toc-container sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-toc-container sub{bottom:-0.25em}spw-toc-container sup{top:-0.5em}spw-toc-container{}spw-toc-container img{border-style:none}spw-toc-container{}spw-toc-container button,spw-toc-container input,spw-toc-container optgroup,spw-toc-container select,spw-toc-container textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-toc-container{}spw-toc-container button,spw-toc-container input{overflow:visible}spw-toc-container{}spw-toc-container button,spw-toc-container select{text-transform:none}spw-toc-container{}spw-toc-container button,spw-toc-container [type=button],spw-toc-container [type=reset],spw-toc-container [type=submit]{-webkit-appearance:button}spw-toc-container{}spw-toc-container button::-moz-focus-inner,spw-toc-container [type=button]::-moz-focus-inner,spw-toc-container [type=reset]::-moz-focus-inner,spw-toc-container [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-toc-container{}spw-toc-container button:-moz-focusring,spw-toc-container [type=button]:-moz-focusring,spw-toc-container [type=reset]:-moz-focusring,spw-toc-container [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-toc-container{}spw-toc-container fieldset{padding:0.35em 0.75em 0.625em}spw-toc-container{}spw-toc-container legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-toc-container{}spw-toc-container progress{vertical-align:baseline}spw-toc-container{}spw-toc-container textarea{overflow:auto}spw-toc-container{}spw-toc-container [type=checkbox],spw-toc-container [type=radio]{box-sizing:border-box;padding:0;}spw-toc-container{}spw-toc-container [type=number]::-webkit-inner-spin-button,spw-toc-container [type=number]::-webkit-outer-spin-button{height:auto}spw-toc-container{}spw-toc-container [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-toc-container{}spw-toc-container [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-toc-container{}spw-toc-container ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-toc-container{}spw-toc-container details{display:block}spw-toc-container{}spw-toc-container summary{display:list-item}spw-toc-container{}spw-toc-container template{display:none}spw-toc-container{}spw-toc-container [hidden]{display:none}:host{display:block}`;
|
|
4
4
|
|
|
5
5
|
const SpwTocContainer = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTocNavigationCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTocNavigationCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-toc-navigation{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-toc-navigation h1,spw-toc-navigation h2,spw-toc-navigation h3,spw-toc-navigation h4,spw-toc-navigation h5,spw-toc-navigation h6,spw-toc-navigation p,spw-toc-navigation ul,spw-toc-navigation li{padding:0;margin:0}spw-toc-navigation ul{list-style:none}spw-toc-navigation *,spw-toc-navigation *::before,spw-toc-navigation *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-toc-navigation{}spw-toc-navigation hr{box-sizing:content-box;height:0;overflow:visible;}spw-toc-navigation{}spw-toc-navigation pre{font-family:monospace, monospace;font-size:1em;}spw-toc-navigation{}spw-toc-navigation a{background-color:transparent}spw-toc-navigation{}spw-toc-navigation abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-toc-navigation{}spw-toc-navigation b,spw-toc-navigation strong{font-weight:bolder}spw-toc-navigation{}spw-toc-navigation code,spw-toc-navigation kbd,spw-toc-navigation samp{font-family:monospace, monospace;font-size:1em;}spw-toc-navigation{}spw-toc-navigation small{font-size:80%}spw-toc-navigation{}spw-toc-navigation sub,spw-toc-navigation sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-toc-navigation sub{bottom:-0.25em}spw-toc-navigation sup{top:-0.5em}spw-toc-navigation{}spw-toc-navigation img{border-style:none}spw-toc-navigation{}spw-toc-navigation button,spw-toc-navigation input,spw-toc-navigation optgroup,spw-toc-navigation select,spw-toc-navigation textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-toc-navigation{}spw-toc-navigation button,spw-toc-navigation input{overflow:visible}spw-toc-navigation{}spw-toc-navigation button,spw-toc-navigation select{text-transform:none}spw-toc-navigation{}spw-toc-navigation button,spw-toc-navigation [type=button],spw-toc-navigation [type=reset],spw-toc-navigation [type=submit]{-webkit-appearance:button}spw-toc-navigation{}spw-toc-navigation button::-moz-focus-inner,spw-toc-navigation [type=button]::-moz-focus-inner,spw-toc-navigation [type=reset]::-moz-focus-inner,spw-toc-navigation [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-toc-navigation{}spw-toc-navigation button:-moz-focusring,spw-toc-navigation [type=button]:-moz-focusring,spw-toc-navigation [type=reset]:-moz-focusring,spw-toc-navigation [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-toc-navigation{}spw-toc-navigation fieldset{padding:0.35em 0.75em 0.625em}spw-toc-navigation{}spw-toc-navigation legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-toc-navigation{}spw-toc-navigation progress{vertical-align:baseline}spw-toc-navigation{}spw-toc-navigation textarea{overflow:auto}spw-toc-navigation{}spw-toc-navigation [type=checkbox],spw-toc-navigation [type=radio]{box-sizing:border-box;padding:0;}spw-toc-navigation{}spw-toc-navigation [type=number]::-webkit-inner-spin-button,spw-toc-navigation [type=number]::-webkit-outer-spin-button{height:auto}spw-toc-navigation{}spw-toc-navigation [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-toc-navigation{}spw-toc-navigation [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-toc-navigation{}spw-toc-navigation ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-toc-navigation{}spw-toc-navigation details{display:block}spw-toc-navigation{}spw-toc-navigation summary{display:list-item}spw-toc-navigation{}spw-toc-navigation template{display:none}spw-toc-navigation{}spw-toc-navigation [hidden]{display:none}:host{display:block}.spw-toc ul{list-style:none;margin:0;padding:0;position:relative}.spw-toc li{position:relative;list-style:none;margin:0;padding:0}.spw-toc li a{display:block;text-decoration:none;font-weight:normal;transition:font-weight 0.2s ease;padding:0.25rem 0;color:var(--spw-color-themes-grey-grey-900)}.spw-toc li a:hover{text-decoration:underline}.spw-toc li a:active{color:var(--spw-ds-active)}.spw-toc li.--toc-is-level-2 a{padding-left:2rem}.spw-toc li.--toc-is-level-3 a{padding-left:3rem}.spw-toc li.--toc-is-level-4 a{padding-left:4rem}.spw-toc li.--toc-is-level-5 a{padding-left:5rem}.spw-toc li.--toc-is-level-6 a{padding-left:6rem}.spw-toc--progress li.--toc-is-h2{position:relative;--progress:0;--distance-to-next-h2:0px}.spw-toc--progress li.--toc-is-h2::before{content:"";position:absolute;left:9px;top:calc(0.25rem + 0.5em);width:2px;background-color:#e0e0e0;z-index:0;height:var(--distance-to-next-h2)}.spw-toc--progress li.--toc-is-h2::after{content:"";position:absolute;left:9px;top:calc(0.25rem + 0.5em);width:2px;background-color:var(--spw-ds-primary);z-index:1;transition:height 0.1s linear;transform-origin:top;height:calc(var(--distance-to-next-h2) * var(--progress) / 100)}.spw-toc--progress li.--toc-is-h2:last-of-type::before,.spw-toc--progress li.--toc-is-h2:last-of-type::after{display:none}.spw-toc--progress li .spw-toc__progress-dot{position:absolute;left:0.25rem;top:calc(0.25rem + 0.5em + 3px);transform:translateY(-50%);width:13px;height:13px;border-radius:50%;border:4px solid #e0e0e0;background-color:white;z-index:2;transition:all 0.3s ease}.spw-toc--progress li.--toc-bar-completed .spw-toc__progress-dot{border-color:var(--spw-ds-primary)}.spw-toc--progress li.--toc-bar-active .spw-toc__progress-dot{border-color:var(--spw-ds-primary);box-shadow:0 0 0 3px rgba(211, 47, 47, 0.2)}.spw-toc--progress li.--toc-bar-completed.--toc-is-level-2 a,.spw-toc--progress li.--toc-bar-active.--toc-is-level-2 a{font-weight:bold}.spw-toc--simple li a{font-weight:700}.spw-toc--simple li.--toc-active a{color:var(--spw-color-themes-grey-grey-900)}.spw-toc--simple li.--toc-is-level-2 a{padding-left:calc(6px + 0.75rem)}.spw-toc--simple li.--toc-is-level-2::before{content:"";position:absolute;left:0;top:calc(0.25rem + 0.7em);transform:translateY(-50%);width:6px;height:6px;border-radius:50%;background-color:var(--spw-ds-primary)}.spw-toc--simple li.--toc-is-level-3::before,.spw-toc--simple li.--toc-is-level-4::before,.spw-toc--simple li.--toc-is-level-5::before,.spw-toc--simple li.--toc-is-level-6::before{content:"";position:absolute;top:calc(0.25rem + 0.7em);transform:translateY(-50%);width:6px;height:6px;border-radius:50%;background-color:transparent;border:1px solid var(--spw-ds-primary);box-sizing:border-box}.spw-toc--simple li.--toc-is-level-3 a{padding-left:calc(1rem + 6px + 0.75rem)}.spw-toc--simple li.--toc-is-level-3::before{left:1rem}.spw-toc--simple li.--toc-is-level-4 a{padding-left:calc(2rem + 6px + 0.75rem)}.spw-toc--simple li.--toc-is-level-4::before{left:2rem}.spw-toc--simple li.--toc-is-level-5 a{padding-left:calc(3rem + 6px + 0.75rem)}.spw-toc--simple li.--toc-is-level-5::before{left:3rem}.spw-toc--simple li.--toc-is-level-6 a{padding-left:calc(4rem + 6px + 0.75rem)}.spw-toc--simple li.--toc-is-level-6::before{left:4rem}`;
|
|
4
4
|
|
|
5
5
|
const SpwTocNavigation = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BTkpN1hH.js';
|
|
2
2
|
|
|
3
|
-
const spwTocCss = () => `:root{--spw-ds-container-xl:
|
|
3
|
+
const spwTocCss = () => `: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;box-sizing:border-box}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-toc{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-toc h1,spw-toc h2,spw-toc h3,spw-toc h4,spw-toc h5,spw-toc h6,spw-toc p,spw-toc ul,spw-toc li{padding:0;margin:0}spw-toc ul{list-style:none}spw-toc *,spw-toc *::before,spw-toc *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-toc{}spw-toc hr{box-sizing:content-box;height:0;overflow:visible;}spw-toc{}spw-toc pre{font-family:monospace, monospace;font-size:1em;}spw-toc{}spw-toc a{background-color:transparent}spw-toc{}spw-toc abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-toc{}spw-toc b,spw-toc strong{font-weight:bolder}spw-toc{}spw-toc code,spw-toc kbd,spw-toc samp{font-family:monospace, monospace;font-size:1em;}spw-toc{}spw-toc small{font-size:80%}spw-toc{}spw-toc sub,spw-toc sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-toc sub{bottom:-0.25em}spw-toc sup{top:-0.5em}spw-toc{}spw-toc img{border-style:none}spw-toc{}spw-toc button,spw-toc input,spw-toc optgroup,spw-toc select,spw-toc textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-toc{}spw-toc button,spw-toc input{overflow:visible}spw-toc{}spw-toc button,spw-toc select{text-transform:none}spw-toc{}spw-toc button,spw-toc [type=button],spw-toc [type=reset],spw-toc [type=submit]{-webkit-appearance:button}spw-toc{}spw-toc button::-moz-focus-inner,spw-toc [type=button]::-moz-focus-inner,spw-toc [type=reset]::-moz-focus-inner,spw-toc [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-toc{}spw-toc button:-moz-focusring,spw-toc [type=button]:-moz-focusring,spw-toc [type=reset]:-moz-focusring,spw-toc [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-toc{}spw-toc fieldset{padding:0.35em 0.75em 0.625em}spw-toc{}spw-toc legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-toc{}spw-toc progress{vertical-align:baseline}spw-toc{}spw-toc textarea{overflow:auto}spw-toc{}spw-toc [type=checkbox],spw-toc [type=radio]{box-sizing:border-box;padding:0;}spw-toc{}spw-toc [type=number]::-webkit-inner-spin-button,spw-toc [type=number]::-webkit-outer-spin-button{height:auto}spw-toc{}spw-toc [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-toc{}spw-toc [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-toc{}spw-toc ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-toc{}spw-toc details{display:block}spw-toc{}spw-toc summary{display:list-item}spw-toc{}spw-toc template{display:none}spw-toc{}spw-toc [hidden]{display:none}:host{display:block}`;
|
|
4
4
|
|
|
5
5
|
const SpwToc = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'a7db0d95cdc4c3f3cfd566b54420ca3d8c190486' }, h("slot", { key: '5764f7735cf0a43a9dfeaf1c5331d0f932606a16' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
SpwToc.style = spwTocCss();
|