@spw-ds/spw-stencil-library 1.21.1 → 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 +1341 -205
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/index-vJQ4PYrz.js +3296 -0
- package/dist/cjs/loader.cjs.js +4 -3
- 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 +6 -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 +42 -14
- 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 +19 -5
- package/dist/cjs/spw-dropdown.cjs.entry.js +31 -9
- 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 +26 -6
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +5 -4
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +74 -24
- 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 +83 -7
- package/dist/cjs/spw-header.cjs.entry.js +7 -4
- package/dist/cjs/spw-hero.cjs.entry.js +5 -5
- package/dist/cjs/spw-icon.cjs.entry.js +23 -0
- 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 +48 -16
- 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 +36 -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 +4 -3
- 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 +20 -9
- 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 +21 -3
- package/dist/collection/components/spw-avatar/spw-avatar.js +24 -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 +94 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +92 -19
- 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 +3 -2
- 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 +38 -4
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +55 -4
- package/dist/collection/components/spw-dropdown/spw-dropdown.css +2 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +29 -7
- 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 +44 -4
- 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 +3 -2
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +125 -18
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +97 -22
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +16 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +303 -6
- 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 +21 -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 +3 -3
- 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 +77 -1
- package/dist/collection/components/spw-radio/spw-radio.js +74 -17
- 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 +54 -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-tile/spw-tile.js +1 -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 +38 -7
- 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/scss/_font-awesome.css +9 -0
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +37 -19
- 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-dropdown/spw-dropdown.stories.js +204 -2
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +79 -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 +72 -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-header/spw-header.stories.js +203 -7
- 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/stories/organisms/spw-topbar/spw-topbar.stories.js +3 -3
- 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-BdZPkl4n.js +1 -0
- 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 +4 -4
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-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 +2045 -369
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/index-BTkpN1hH.js +3267 -0
- package/dist/esm/loader.js +4 -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 +6 -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 +42 -14
- 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 +19 -5
- package/dist/esm/spw-dropdown.entry.js +31 -9
- 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 +26 -6
- package/dist/esm/spw-header-navigation-dropdown.entry.js +5 -4
- package/dist/esm/spw-header-navigation-item.entry.js +74 -24
- 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 +83 -7
- package/dist/esm/spw-header.entry.js +7 -4
- package/dist/esm/spw-hero.entry.js +5 -5
- package/dist/esm/spw-icon.entry.js +21 -0
- 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 +48 -16
- 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 +36 -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 +4 -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 +20 -9
- 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-34d01701.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-999c3fbf.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-21022935.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-da915195.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-36225351.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-8ecbede1.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-e937613e.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-BTkpN1hH.js +2 -0
- package/dist/spw-stencil-library/p-DQuL1Twl.js +1 -0
- 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-f27d6669.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-fe51cf75.entry.js → p-c875327d.entry.js} +3 -3
- 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-cdf8b303.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-BqbBUZit.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-dbd24548.entry.js +1 -0
- package/dist/spw-stencil-library/p-dbffe115.entry.js +1 -0
- package/dist/spw-stencil-library/p-df91acd8.entry.js +1 -0
- package/dist/spw-stencil-library/p-e35a7aac.entry.js +1 -0
- 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-07421627.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 +2 -2
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +20480 -17324
- package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +2 -0
- package/dist/types/components/spw-avatar/spw-avatar.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 +15 -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-dropdown/spw-dropdown-item/spw-dropdown-item.d.ts +7 -1
- package/dist/types/components/spw-dropdown/spw-dropdown.d.ts +2 -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-lang/spw-header-lang.d.ts +4 -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-header/spw-header-persona/spw-header-persona.d.ts +33 -0
- 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 +12 -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 +3 -0
- package/dist/types/components.d.ts +636 -76
- package/dist/types/stories/components/spw-avatar/spw-avatar.stories.d.ts +2 -1
- 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-dropdown/spw-dropdown.stories.d.ts +6 -0
- package/dist/types/stories/components/spw-field-message/spw-field-message.stories.d.ts +3 -1
- 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 +2 -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-header/spw-header.stories.d.ts +4 -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 +1296 -486
- package/hydrate/index.mjs +1296 -486
- package/package.json +34 -4
- package/dist/cjs/index-C_UxJk3Q.js +0 -3267
- package/dist/cjs/spw-accordion_4.cjs.entry.js +0 -411
- package/dist/cjs/spw-cookies.cjs.entry.js +0 -84
- package/dist/cjs/spw-field-label_8.cjs.entry.js +0 -531
- 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-B7VfgMNy.js +0 -1
- package/dist/components/p-B9J7xbpQ.js +0 -1
- package/dist/components/p-BK5d5dXN.js +0 -1
- package/dist/components/p-BSQRkvuQ.js +0 -1
- package/dist/components/p-BhpddpYy.js +0 -1
- package/dist/components/p-C0Kjwc3C.js +0 -1
- package/dist/components/p-CP7K0gLt.js +0 -1
- package/dist/components/p-CzRB_COv.js +0 -1
- package/dist/components/p-D7kEk_Bq.js +0 -1
- package/dist/components/p-D9yobKiX.js +0 -1
- package/dist/components/p-DPbnqynk.js +0 -1
- package/dist/components/p-DmD0U8OW.js +0 -1
- package/dist/components/p-N9GtuZLt.js +0 -1
- package/dist/components/p-ngXzYfRV.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 -5851
- package/dist/esm/index-DkYGNpnN.js +0 -3238
- package/dist/esm/spw-accordion_4.entry.js +0 -406
- package/dist/esm/spw-cookies.entry.js +0 -82
- package/dist/esm/spw-field-label_8.entry.js +0 -522
- package/dist/spw-stencil-library/p-0225eae6.entry.js +0 -1
- package/dist/spw-stencil-library/p-0552fb3c.entry.js +0 -1
- package/dist/spw-stencil-library/p-05ed7f8c.entry.js +0 -1
- package/dist/spw-stencil-library/p-0a8d9ea5.entry.js +0 -1
- package/dist/spw-stencil-library/p-0dbd1777.entry.js +0 -1
- package/dist/spw-stencil-library/p-17d6836c.entry.js +0 -1
- package/dist/spw-stencil-library/p-19d6f92f.entry.js +0 -1
- package/dist/spw-stencil-library/p-1e9e9847.entry.js +0 -1
- package/dist/spw-stencil-library/p-22b01bfa.entry.js +0 -1
- package/dist/spw-stencil-library/p-250704ca.entry.js +0 -1
- package/dist/spw-stencil-library/p-2779253d.entry.js +0 -1
- package/dist/spw-stencil-library/p-2aeb538a.entry.js +0 -1
- package/dist/spw-stencil-library/p-2bf9275b.entry.js +0 -1
- package/dist/spw-stencil-library/p-30028ea4.entry.js +0 -1
- package/dist/spw-stencil-library/p-30f77b9c.entry.js +0 -1
- package/dist/spw-stencil-library/p-335b2f57.entry.js +0 -1
- package/dist/spw-stencil-library/p-3b9a184f.entry.js +0 -1
- package/dist/spw-stencil-library/p-3d48b3ef.entry.js +0 -1
- package/dist/spw-stencil-library/p-3d616279.entry.js +0 -1
- package/dist/spw-stencil-library/p-4444edf0.entry.js +0 -1
- package/dist/spw-stencil-library/p-50dc5fb5.entry.js +0 -1
- package/dist/spw-stencil-library/p-524b1240.entry.js +0 -1
- package/dist/spw-stencil-library/p-53723414.entry.js +0 -1
- package/dist/spw-stencil-library/p-53e6a62e.entry.js +0 -1
- package/dist/spw-stencil-library/p-542dc71f.entry.js +0 -1
- package/dist/spw-stencil-library/p-563225aa.entry.js +0 -1
- package/dist/spw-stencil-library/p-5ca0e318.entry.js +0 -1
- package/dist/spw-stencil-library/p-5e448c5e.entry.js +0 -1
- package/dist/spw-stencil-library/p-66695277.entry.js +0 -1
- package/dist/spw-stencil-library/p-698fdd22.entry.js +0 -1
- package/dist/spw-stencil-library/p-6a837847.entry.js +0 -1
- package/dist/spw-stencil-library/p-6f84b402.entry.js +0 -1
- package/dist/spw-stencil-library/p-7875efb1.entry.js +0 -1
- package/dist/spw-stencil-library/p-79dd218a.entry.js +0 -1
- package/dist/spw-stencil-library/p-7a71d533.entry.js +0 -1
- package/dist/spw-stencil-library/p-7b495c09.entry.js +0 -1
- package/dist/spw-stencil-library/p-7bdca1ab.entry.js +0 -1
- package/dist/spw-stencil-library/p-7c1eff67.entry.js +0 -1
- package/dist/spw-stencil-library/p-7d205679.entry.js +0 -1
- package/dist/spw-stencil-library/p-8300baab.entry.js +0 -1
- package/dist/spw-stencil-library/p-89e3b606.entry.js +0 -1
- package/dist/spw-stencil-library/p-8ca8cc0a.entry.js +0 -1
- package/dist/spw-stencil-library/p-90aa1e04.entry.js +0 -1
- package/dist/spw-stencil-library/p-91e66c74.entry.js +0 -1
- package/dist/spw-stencil-library/p-932c106b.entry.js +0 -1
- package/dist/spw-stencil-library/p-945ae18e.entry.js +0 -1
- package/dist/spw-stencil-library/p-9472747a.entry.js +0 -1
- package/dist/spw-stencil-library/p-9ad91e29.entry.js +0 -1
- package/dist/spw-stencil-library/p-9ce65071.entry.js +0 -1
- package/dist/spw-stencil-library/p-9d0eaa1c.entry.js +0 -1
- package/dist/spw-stencil-library/p-9e350e36.entry.js +0 -1
- package/dist/spw-stencil-library/p-DkYGNpnN.js +0 -2
- package/dist/spw-stencil-library/p-a9a5c1d2.entry.js +0 -1
- package/dist/spw-stencil-library/p-ae43ace2.entry.js +0 -1
- package/dist/spw-stencil-library/p-aef5a5ca.entry.js +0 -1
- package/dist/spw-stencil-library/p-b1f68930.entry.js +0 -1
- package/dist/spw-stencil-library/p-b2990f3e.entry.js +0 -1
- package/dist/spw-stencil-library/p-b2fd6355.entry.js +0 -1
- package/dist/spw-stencil-library/p-b5aab148.entry.js +0 -1
- package/dist/spw-stencil-library/p-b83ba191.entry.js +0 -1
- package/dist/spw-stencil-library/p-bbf86fbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-bc40d93c.entry.js +0 -1
- package/dist/spw-stencil-library/p-bc6a2c42.entry.js +0 -1
- package/dist/spw-stencil-library/p-c4945a0a.entry.js +0 -1
- package/dist/spw-stencil-library/p-cc1d8a4f.entry.js +0 -1
- package/dist/spw-stencil-library/p-cd1294b1.entry.js +0 -1
- package/dist/spw-stencil-library/p-d139d77f.entry.js +0 -1
- package/dist/spw-stencil-library/p-d7d88d71.entry.js +0 -1
- package/dist/spw-stencil-library/p-d88b1a1f.entry.js +0 -1
- package/dist/spw-stencil-library/p-d9e96fbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-da502510.entry.js +0 -1
- package/dist/spw-stencil-library/p-dcc02bab.entry.js +0 -1
- package/dist/spw-stencil-library/p-ddf93cc8.entry.js +0 -1
- package/dist/spw-stencil-library/p-de76b09f.entry.js +0 -1
- package/dist/spw-stencil-library/p-df0a919c.entry.js +0 -1
- package/dist/spw-stencil-library/p-e0cb4c68.entry.js +0 -1
- package/dist/spw-stencil-library/p-e35e6628.entry.js +0 -1
- package/dist/spw-stencil-library/p-e39126c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-ea88e604.entry.js +0 -1
- package/dist/spw-stencil-library/p-ee06a1d2.entry.js +0 -1
- package/dist/spw-stencil-library/p-f4e9c5f8.entry.js +0 -1
- package/dist/spw-stencil-library/p-f548104b.entry.js +0 -1
- package/dist/spw-stencil-library/p-f5ef6c0a.entry.js +0 -1
- package/dist/spw-stencil-library/p-f75c25d4.entry.js +0 -1
- package/dist/spw-stencil-library/p-f9a0ac9b.entry.js +0 -1
- package/dist/spw-stencil-library/p-f9d970fb.entry.js +0 -1
- package/dist/spw-stencil-library/p-facbc77c.entry.js +0 -1
- package/dist/types/components/spw-cookies/spw-cookies.d.ts +0 -21
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTextareaCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTextarea = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -18,6 +18,8 @@ const SpwTextarea = class {
|
|
|
18
18
|
this.internalValue = '';
|
|
19
19
|
/** Texte à afficher au-dessus du champ textarea */
|
|
20
20
|
this.label = '';
|
|
21
|
+
/** Si `true`, la valeur reste lisible, sélectionnable et focusable, mais ne peut pas être modifiée */
|
|
22
|
+
this.readonly = false;
|
|
21
23
|
/** Nombre de lignes à afficher dans le champ textarea */
|
|
22
24
|
this.rows = 5;
|
|
23
25
|
/** Indique si l'input est un champ de recherche */
|
|
@@ -46,6 +48,7 @@ const SpwTextarea = class {
|
|
|
46
48
|
this.tooltipDirection = 'top';
|
|
47
49
|
/** Curseur du tooltip */
|
|
48
50
|
this.tooltipCursor = 'help';
|
|
51
|
+
this.uniqueId = `spw-textarea-${Math.random().toString(36).slice(2, 11)}`;
|
|
49
52
|
}
|
|
50
53
|
/** Méthode publique pour mettre le focus sur le champ textarea. */
|
|
51
54
|
async setFocus() {
|
|
@@ -83,6 +86,16 @@ const SpwTextarea = class {
|
|
|
83
86
|
this.valueChanged.emit(this.internalValue);
|
|
84
87
|
}
|
|
85
88
|
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
89
|
+
get describedBy() {
|
|
90
|
+
const ids = [
|
|
91
|
+
this.assistiveText && `${this.uniqueId}-help`,
|
|
92
|
+
this.error && `${this.uniqueId}-error`,
|
|
93
|
+
this.hint && `${this.uniqueId}-hint`,
|
|
94
|
+
this.success && `${this.uniqueId}-success`,
|
|
95
|
+
this.warning && `${this.uniqueId}-warning`,
|
|
96
|
+
].filter(Boolean);
|
|
97
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
98
|
+
}
|
|
86
99
|
renderMessages() {
|
|
87
100
|
const messages = [];
|
|
88
101
|
if (this.error)
|
|
@@ -95,7 +108,7 @@ const SpwTextarea = class {
|
|
|
95
108
|
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
96
109
|
return messages.map((m, i) => {
|
|
97
110
|
const isLast = i === messages.length - 1;
|
|
98
|
-
return (index.h("spw-field-message", { variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && index.h("slot", { name: "details", slot: "details" })));
|
|
111
|
+
return (index.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 && index.h("slot", { name: "details", slot: "details" })));
|
|
99
112
|
});
|
|
100
113
|
}
|
|
101
114
|
get elementClass() {
|
|
@@ -104,10 +117,11 @@ const SpwTextarea = class {
|
|
|
104
117
|
'spw-textarea--is-search': this.isSearch,
|
|
105
118
|
'spw-textarea--is-error': !!this.error,
|
|
106
119
|
'spw-textarea--disabled': this.disabled,
|
|
120
|
+
'spw-textarea--readonly': this.readonly && !this.disabled,
|
|
107
121
|
};
|
|
108
122
|
}
|
|
109
123
|
render() {
|
|
110
|
-
return (index.h("div", { key: '
|
|
124
|
+
return (index.h("div", { key: 'b77423d9577b8a62be8fbe1dc09e421afde79c16', class: this.elementClass }, this.label && (index.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 && (index.h("spw-field-message", { key: '7ba8c55dd205a1b7a1e428389f3338c57cd67953', id: `${this.uniqueId}-help`, class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), index.h("div", { key: 'b711cf071303ef173cb7fb03f5dc7d02c063900e', class: "spw-textarea__container" }, index.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()));
|
|
111
125
|
}
|
|
112
126
|
static get formAssociated() { return true; }
|
|
113
127
|
static get watchers() { return {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
|
+
|
|
5
|
+
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}`;
|
|
6
|
+
|
|
7
|
+
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)}`;
|
|
8
|
+
|
|
9
|
+
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)}`;
|
|
10
|
+
|
|
11
|
+
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)}`;
|
|
12
|
+
|
|
13
|
+
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)}`;
|
|
14
|
+
|
|
15
|
+
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)}`;
|
|
16
|
+
|
|
17
|
+
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)}`;
|
|
18
|
+
|
|
19
|
+
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)}`;
|
|
20
|
+
|
|
21
|
+
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)}`;
|
|
22
|
+
|
|
23
|
+
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)}`;
|
|
24
|
+
|
|
25
|
+
const themes = {
|
|
26
|
+
rouge: rougeCss,
|
|
27
|
+
bleu: bleuCss,
|
|
28
|
+
bleuClair: bleuClairCss,
|
|
29
|
+
vert: vertCss,
|
|
30
|
+
vertLeger: vertLegerCss,
|
|
31
|
+
orange: orangeCss,
|
|
32
|
+
turquoise: turquoiseCss,
|
|
33
|
+
indigo: indigoCss,
|
|
34
|
+
mauve: mauveCss,
|
|
35
|
+
gris: grisCss,
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
const SpwThemeProvider = class {
|
|
39
|
+
constructor(hostRef) {
|
|
40
|
+
index.registerInstance(this, hostRef);
|
|
41
|
+
/** Définit le thème employé, conditionne les tokens associés au thème */
|
|
42
|
+
this.theme = 'rouge';
|
|
43
|
+
}
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
this.applyTheme(this.theme);
|
|
46
|
+
}
|
|
47
|
+
componentWillUpdate() {
|
|
48
|
+
this.applyTheme(this.theme);
|
|
49
|
+
}
|
|
50
|
+
applyTheme(theme) {
|
|
51
|
+
const styleId = 'theme-styles';
|
|
52
|
+
let styleElement = document.getElementById(styleId);
|
|
53
|
+
if (!styleElement) {
|
|
54
|
+
styleElement = document.createElement('style');
|
|
55
|
+
styleElement.id = styleId;
|
|
56
|
+
document.head.appendChild(styleElement);
|
|
57
|
+
}
|
|
58
|
+
const css = themes[theme];
|
|
59
|
+
styleElement.innerHTML = typeof css === 'function' ? css() : css;
|
|
60
|
+
document.documentElement.setAttribute('data-theme', theme);
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
return (index.h("main", { key: 'b9e75233b7a8e9833dd5ba0030eb264bfe094f39', class: `spw-theme-${this.theme}` }, index.h("slot", { key: '1899b724b14d41499c938d0151cecb96cbeeb3bf' })));
|
|
64
|
+
}
|
|
65
|
+
get el() { return index.getElement(this); }
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
exports.spw_theme_provider = SpwThemeProvider;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTileDescriptionCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTileDescription = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h("div", { key: '
|
|
12
|
+
return (index.h("div", { key: '45bf717de04bd32ced81b4dd51c819f399ff932a', class: "spw-tile-description" }, index.h("slot", { key: '282ebd374f1b715db274dda117f1ce0c10862800' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
SpwTileDescription.style = spwTileDescriptionCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTileTitleCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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)}`;
|
|
6
6
|
|
|
7
7
|
const SpwTileTitle = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ const SpwTileTitle = class {
|
|
|
11
11
|
this.arrowIcon = 'fa-chevron-right';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h("h3", { key: '
|
|
14
|
+
return (index.h("h3", { key: '98d22d2736cfa753ce6836cb1da32af812ef4c44', class: "spw-tile-title" }, index.h("slot", { key: '8566d24490ecc6840f4c239f2d2944633439c34f' }), index.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" })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
SpwTileTitle.style = spwTileTitleCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTileCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTile = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTimelineItemCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTimelineItem = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -61,10 +61,10 @@ const SpwTimelineItem = class {
|
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
63
|
const showConnector = this.isLast === 'false';
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '2e7afc6df06d3e6f93da7db649ff6f5b89afdb70' }, index.h("div", { key: '9527d06514e54254a71e8e7136dbbfb3ece6899b', class: this.elementClass }, index.h("div", { key: 'f466e7a331b446ed639ae23a10019238c3b36e03', class: "spw-timeline-item__step" }, index.h("div", { key: '445d2ec9230a84532d509b35cfcc7c899e5e1fae', class: "spw-timeline-item__icon" }), showConnector && index.h("div", { key: '8d17f41f02beb7a7ac512a415f28703780391da2', class: "spw-timeline-item__connector" })), index.h("div", { key: 'd0651a9c9da2bd556efcb599f2598bdcff0b2d8c', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (index.h("div", { key: '6e79f461c8e9da168b03b98b654756d6085033aa', class: "spw-timeline-item__description-wrapper" }, index.h("div", { key: '0261fc73c499bf47444e11a527fab8ed59a724c8', ref: el => (this.descriptionRef = el), class: {
|
|
65
65
|
'spw-timeline-item__description': true,
|
|
66
66
|
'spw-timeline-item__description--collapsed': !this.isDescriptionExpanded,
|
|
67
|
-
} }, this.description))), index.h("slot", { key: '
|
|
67
|
+
} }, this.description))), index.h("slot", { key: '01dcf9f927510de01e8a520b8c7239b499004cb6' })))));
|
|
68
68
|
}
|
|
69
69
|
get el() { return index.getElement(this); }
|
|
70
70
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTimelineCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTimeline = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -59,11 +59,11 @@ const SpwTimeline = class {
|
|
|
59
59
|
return this.visibleItems > 0 && items.length > this.visibleItems;
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '5600068efcf755b601bf35939079e61a75285d66' }, index.h("div", { key: '98c80817e6699f2a39d419667dc34af1e201c1d7', class: this.elementClass }, index.h("slot", { key: '2d7f2388fb2e1b35aee7af4a0a3f7ce10b458dd6' })), this.shouldShowToggleButton() && (index.h("div", { key: '321006c6bfdcfc5d710abf0664baa3c6f170aa01', class: {
|
|
63
63
|
'spw-timeline__toggle': true,
|
|
64
64
|
'spw-timeline__toggle--more': !this.showAll,
|
|
65
65
|
'spw-timeline__toggle--less': this.showAll,
|
|
66
|
-
} }, index.h("span", { key: '
|
|
66
|
+
} }, index.h("span", { key: '645560f092a82cb2ff7a8fd340410219a8c5cbaf', class: "spw-timeline__toggle-btn", onClick: this.handleToggle }, this.showAll ? this.showLessText : this.showMoreText)))));
|
|
67
67
|
}
|
|
68
68
|
get el() { return index.getElement(this); }
|
|
69
69
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwToastControllerCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwToastController = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -11,6 +11,9 @@ const SpwToastController = class {
|
|
|
11
11
|
* Position du conteneur de toasts sur l'écran.
|
|
12
12
|
* Valeurs: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center'
|
|
13
13
|
*/
|
|
14
|
+
/** Remplit l'attribut aria-label de la région des notifications, utilisé à des fins d'accessibilité */
|
|
15
|
+
this.accAriaLabel = 'Notifications';
|
|
16
|
+
/** Position des toasts à l'écran */
|
|
14
17
|
this.position = 'bottom-right';
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
@@ -47,10 +50,10 @@ const SpwToastController = class {
|
|
|
47
50
|
await Promise.all(toasts.map(t => { var _a; return (_a = t.dismiss) === null || _a === void 0 ? void 0 : _a.call(t); }));
|
|
48
51
|
}
|
|
49
52
|
render() {
|
|
50
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '21b23be82e1785032a1c1af54262c2c2d51d114b' }, index.h("div", { key: '5bc3e1fded6c995bf16ab15bb7e0a78ff9a700a6', class: {
|
|
51
54
|
'spw-toast-controller__stack': true,
|
|
52
55
|
[`spw-toast-controller__stack--${this.position}`]: true,
|
|
53
|
-
}, role: "region", "aria-label":
|
|
56
|
+
}, role: "region", "aria-label": this.accAriaLabel, ref: el => (this.stackEl = el) })));
|
|
54
57
|
}
|
|
55
58
|
};
|
|
56
59
|
SpwToastController.style = spwToastControllerCss();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
var animation = require('./animation-tH5DQHbp.js');
|
|
5
5
|
|
|
6
|
-
const spwToastCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:
|
|
6
|
+
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)}}`;
|
|
7
7
|
|
|
8
8
|
const VARIANT_ICONS = {
|
|
9
9
|
success: 'fa-check',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTocContainerCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTocContainer = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTocNavigationCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwTocNavigation = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-vJQ4PYrz.js');
|
|
4
4
|
|
|
5
|
-
const spwTocCss = () => `:root{--spw-ds-container-xl:
|
|
5
|
+
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}`;
|
|
6
6
|
|
|
7
7
|
const SpwToc = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: 'a7db0d95cdc4c3f3cfd566b54420ca3d8c190486' }, index.h("slot", { key: '5764f7735cf0a43a9dfeaf1c5331d0f932606a16' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
SpwToc.style = spwTocCss();
|