@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
|
@@ -123,7 +123,7 @@ export class SpwTableSidebar {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const style = Object.assign(Object.assign({}, (this.observedHeight !== undefined && { height: `${this.observedHeight}px` })), { '--spw-table-sidebar-width': `${this.sidebarWidth}px` });
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'b01b8cc75d1df06081af27eafc5f52ba8a2275e1', style: style, class: this.hostClass }, h("nav", { key: 'f8e26b228c2f2d987fec1ed43ab36a48c8031c6e', class: this.elementClass }, h("span", { key: '340852f4b01c60512edb989967385060b65c7422', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '5f28bc9b611e0dd30c43f42e11d8e6838a709c11', icon: "fa-chevron-left" })), h("div", { key: '76cbaa0538ac1d147e5afca913d31d810695df16', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: 'd0ca6b3f47423761bcaa7e3b00150e0c250678d2', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '6935768f6cc728483be860100414006ad233d079', class: "spw-table-sidebar__content" }, h("div", { key: 'c14944d3302a369b085dbb440bdc8bb7b93879d8', class: "spw-table-sidebar__header" }, h("span", { key: '6e8bb4317a8bb5b3c7e90653f44dc8f45080d484', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '12e2f915a215825d290fcdbb1b12cca4bb3f2a50', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: '25cf110cc2cb2029a98dcf5f398c7d37f2b4c3e9', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '73f2918d613f9fb842f1b3d2870170317907e353', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '8a9c9e46efb8a954cc6e0629efc17bf5bcc236ad' })), h("div", { key: '31848b18e73241173c6bd13339f6a96a86a1d8c6', class: "spw-table-sidebar__footer" }, h("slot", { key: 'af3277672d8f041932f212c0bcd6f30dc005ab6f', name: "sidebar-footer" }))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "spw-table-sidebar"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -17,6 +17,8 @@ export class SpwTable {
|
|
|
17
17
|
this.resizable = false;
|
|
18
18
|
/** Hauteur minimale autorisée lors du redimensionnement (en pixels) */
|
|
19
19
|
this.minHeight = 200;
|
|
20
|
+
/** Remplit l'attribut aria-label de la poignée de redimensionnement, utilisé à des fins d'accessibilité */
|
|
21
|
+
this.accAriaLabelResize = 'Redimensionner le tableau';
|
|
20
22
|
this.isResizing = false;
|
|
21
23
|
this.startY = 0;
|
|
22
24
|
this.startHeight = 0;
|
|
@@ -374,10 +376,10 @@ export class SpwTable {
|
|
|
374
376
|
return this.formatSize(this.maxHeight);
|
|
375
377
|
}
|
|
376
378
|
render() {
|
|
377
|
-
return (h(Host, { key: '
|
|
379
|
+
return (h(Host, { key: '8e70eea78b0a76da927f3ee727e5901c3b7fce27', style: {
|
|
378
380
|
'--spw-table-max-height': this.getMaxHeight(),
|
|
379
381
|
'--spw-table-min-width': this.formatSize(this.minWidth),
|
|
380
|
-
} }, h("div", { key: '
|
|
382
|
+
} }, h("div", { key: '19842317382517890c2c1943d178cc1f331e7000', class: this.containerClass }, h("slot", { key: '884a0e8df616e4b6c03e84a4cac2fd63726a5e7a', name: "table-sidebar" }, " "), h("div", { key: '6c6e68e2ffcff462a3351716be3f05ba74edfdc2', class: "spw-table-wrapper" }, h("table", { key: '27a370b14cb8b157fbfd37746a0fc74ea13c5600', part: "table", class: this.elementClass, role: "table", "aria-label": this.accAriaLabel }, h("slot", { key: 'e739a22b3e843a78102c2adfd10ef0bedd00ea00' })))), this.resizable && (h("div", { key: '9686c135b2aef982b24a05f9a126d330673e1858', class: "spw-table-resize-handle", onMouseDown: this.handleResizeStart, role: "separator", "aria-orientation": "horizontal", "aria-label": this.accAriaLabelResize }, h("div", { key: '61ac6c7ae24050c79109b19edbb5434beec5c4ef', class: "spw-table-resize-handle__bar" }))), h("slot", { key: 'b18ff552d7c383cc7962dbd0af980f27597b8b4c', name: "table-footer" })));
|
|
381
383
|
}
|
|
382
384
|
static get is() { return "spw-table"; }
|
|
383
385
|
static get encapsulation() { return "shadow"; }
|
|
@@ -613,6 +615,26 @@ export class SpwTable {
|
|
|
613
615
|
"reflect": false,
|
|
614
616
|
"attribute": "min-height",
|
|
615
617
|
"defaultValue": "200"
|
|
618
|
+
},
|
|
619
|
+
"accAriaLabelResize": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"mutable": false,
|
|
622
|
+
"complexType": {
|
|
623
|
+
"original": "string",
|
|
624
|
+
"resolved": "string",
|
|
625
|
+
"references": {}
|
|
626
|
+
},
|
|
627
|
+
"required": false,
|
|
628
|
+
"optional": true,
|
|
629
|
+
"docs": {
|
|
630
|
+
"tags": [],
|
|
631
|
+
"text": "Remplit l'attribut aria-label de la poign\u00E9e de redimensionnement, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
632
|
+
},
|
|
633
|
+
"getter": false,
|
|
634
|
+
"setter": false,
|
|
635
|
+
"reflect": false,
|
|
636
|
+
"attribute": "acc-aria-label-resize",
|
|
637
|
+
"defaultValue": "'Redimensionner le tableau'"
|
|
616
638
|
}
|
|
617
639
|
};
|
|
618
640
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
:root {
|
|
3
|
-
--spw-ds-container-xl:
|
|
3
|
+
--spw-ds-container-xl: 1232px;
|
|
4
4
|
--spw-ds-container-lg: 1024px;
|
|
5
5
|
--spw-ds-container-md: 768px;
|
|
6
6
|
--spw-ds-container-sm: 640px;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
padding-right: 16px;
|
|
13
13
|
margin-left: auto;
|
|
14
14
|
margin-right: auto;
|
|
15
|
+
box-sizing: border-box;
|
|
15
16
|
}
|
|
16
17
|
@media (min-width: 360px) {
|
|
17
18
|
.spw-ds-container {
|
|
@@ -5,6 +5,10 @@ export class SpwTabsNavigation {
|
|
|
5
5
|
this.isVerticalOnMobile = false;
|
|
6
6
|
/** Si true, centre les items horizontalement */
|
|
7
7
|
this.isCentered = false;
|
|
8
|
+
/** Remplit l'attribut aria-label de la flèche de défilement gauche, utilisé à des fins d'accessibilité */
|
|
9
|
+
this.accAriaLabelScrollLeft = 'Faire défiler vers la gauche';
|
|
10
|
+
/** Remplit l'attribut aria-label de la flèche de défilement droite, utilisé à des fins d'accessibilité */
|
|
11
|
+
this.accAriaLabelScrollRight = 'Faire défiler vers la droite';
|
|
8
12
|
this.showLeftArrow = false;
|
|
9
13
|
this.showRightArrow = false;
|
|
10
14
|
this.hasOverflow = false;
|
|
@@ -102,7 +106,7 @@ export class SpwTabsNavigation {
|
|
|
102
106
|
'spw-tabs-navigation__list--vertical-on-mobile': this.isVerticalOnMobile,
|
|
103
107
|
'spw-tabs-navigation__list--centered': this.isCentered && !this.hasOverflow,
|
|
104
108
|
};
|
|
105
|
-
return (h("div", { key: '
|
|
109
|
+
return (h("div", { key: '7d4259712a05a628f0449b6bf7934d86a7090520', class: containerClass }, this.showLeftArrow && (h("button", { key: 'a3992cdc1106881901ebdcd7f9b5272e20eb0088', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left", onClick: this.scrollLeft, "aria-label": this.accAriaLabelScrollLeft }, h("spw-icon", { key: '224f8d202cfe40f32f9f50edec84a3a1246e5259', icon: "fa-chevron-left" }))), h("nav", { key: '32a6b6655da3742be495d9cb52541a942fa387b3', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '563e03b8be3724ce964a141578dd42c1ac9f8f2e', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: 'c64f0b02f6c22232aade3ab5708a2253e4759d22' }))), this.showRightArrow && (h("button", { key: '99a480794f1d8e4df5db9becb5b0cc8eda5252db', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right", onClick: this.scrollRight, "aria-label": this.accAriaLabelScrollRight }, h("spw-icon", { key: '268bda99492b6d1d78c5398463245925d607759f', icon: "fa-chevron-right" })))));
|
|
106
110
|
}
|
|
107
111
|
static get is() { return "spw-tabs-navigation"; }
|
|
108
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -176,6 +180,46 @@ export class SpwTabsNavigation {
|
|
|
176
180
|
"reflect": false,
|
|
177
181
|
"attribute": "is-centered",
|
|
178
182
|
"defaultValue": "false"
|
|
183
|
+
},
|
|
184
|
+
"accAriaLabelScrollLeft": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "string",
|
|
189
|
+
"resolved": "string",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": true,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": "Remplit l'attribut aria-label de la fl\u00E8che de d\u00E9filement gauche, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
197
|
+
},
|
|
198
|
+
"getter": false,
|
|
199
|
+
"setter": false,
|
|
200
|
+
"reflect": false,
|
|
201
|
+
"attribute": "acc-aria-label-scroll-left",
|
|
202
|
+
"defaultValue": "'Faire d\u00E9filer vers la gauche'"
|
|
203
|
+
},
|
|
204
|
+
"accAriaLabelScrollRight": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "string",
|
|
209
|
+
"resolved": "string",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": true,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": "Remplit l'attribut aria-label de la fl\u00E8che de d\u00E9filement droite, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
217
|
+
},
|
|
218
|
+
"getter": false,
|
|
219
|
+
"setter": false,
|
|
220
|
+
"reflect": false,
|
|
221
|
+
"attribute": "acc-aria-label-scroll-right",
|
|
222
|
+
"defaultValue": "'Faire d\u00E9filer vers la droite'"
|
|
179
223
|
}
|
|
180
224
|
};
|
|
181
225
|
}
|
package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js
CHANGED
|
@@ -63,7 +63,7 @@ export class SpwTabsNavigationItem {
|
|
|
63
63
|
const iconClass = `spw-icon--${iconPosition}`;
|
|
64
64
|
const iconElement = this.icon ? h("spw-icon", { class: iconClass, icon: this.icon }) : null;
|
|
65
65
|
const tagElement = this.tagText ? (h("spw-tag", { size: "small", "has-icon": this.tagIcon ? 'true' : 'false', variant: this.tagVariant }, this.tagText)) : null;
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'e8414b07c55bab0ef9a4d767b73aaea689fa21c2', class: this.active ? '--active' : '' }, h("li", { key: 'd7db3662de21708def01c72f2c4c6b2c23e194cb', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.accAriaLabel || this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: '3f0d33177d604ffe6cc58f444a1744f697da56bb', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: '8c8125572404479026acb0da70dca6cae97bc0e1' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: 'b1e647585a0277cc6cb9ae4bef0a389ec3bb02f8' }, iconPosition === 'left' && iconElement, h("slot", { key: '86b22df275dd993a24b5ba5e6f4419f942cba88c' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '4ec9b8bcf5dda60766112fbb2bca630cd39b3bf3', class: "bubble" }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "spw-tabs-navigation-item"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -167,7 +167,7 @@ export class SpwTabs {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("div", { key: '
|
|
170
|
+
return (h("div", { key: 'af02fae258489d620a0bf2b31dd85a185ed3e6cc', class: this.elementClass }, h("slot", { key: 'ecb7f8fe979ddb882dfcb34ddbaf497521c3c836', name: "navigation" }), h("slot", { key: '5be70ce06bc9cd25294bf31396e78bcc3eea9d1b', name: "content" })));
|
|
171
171
|
}
|
|
172
172
|
static get is() { return "spw-tabs"; }
|
|
173
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -49,7 +49,7 @@ export class SpwTag {
|
|
|
49
49
|
};
|
|
50
50
|
const iconToDisplay = this.icon || this.getIcon(this.variant);
|
|
51
51
|
const iconElement = this.hasIcon ? h("spw-icon", { variant: this.iconVariant, icon: iconToDisplay }) : null;
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'a7e33968a926a873ba1c908d8d4f848878263e1a' }, h(TagType, Object.assign({ key: '95a75c38add994d5c6b64f370d4f2028f3d112a1' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: '0b5bc16f10345e923964b5e3d5a1982b860ce063' }), this.iconPosition === 'right' && iconElement)));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-tag"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
:root {
|
|
3
|
-
--spw-ds-container-xl:
|
|
3
|
+
--spw-ds-container-xl: 1232px;
|
|
4
4
|
--spw-ds-container-lg: 1024px;
|
|
5
5
|
--spw-ds-container-md: 768px;
|
|
6
6
|
--spw-ds-container-sm: 640px;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
padding-right: 16px;
|
|
13
13
|
margin-left: auto;
|
|
14
14
|
margin-right: auto;
|
|
15
|
+
box-sizing: border-box;
|
|
15
16
|
}
|
|
16
17
|
@media (min-width: 360px) {
|
|
17
18
|
.spw-ds-container {
|
|
@@ -379,6 +380,8 @@ template {
|
|
|
379
380
|
--spw-input-border: var(--spw-color-themes-grey-grey-800);
|
|
380
381
|
/** @prop --spw-input-shadow: Box shadow du champ de saisie */
|
|
381
382
|
--spw-input-shadow: none;
|
|
383
|
+
/** @prop --spw-input-readonly-background: Couleur de fond du champ en lecture seule */
|
|
384
|
+
--spw-input-readonly-background: var(--spw-color-themes-grey-grey-50);
|
|
382
385
|
}
|
|
383
386
|
|
|
384
387
|
.spw-text-field {
|
|
@@ -435,6 +438,10 @@ template {
|
|
|
435
438
|
.spw-text-field--disabled .spw-text-field__input:hover, .spw-text-field--disabled .spw-text-field__input:focus, .spw-text-field--disabled .spw-text-field__input:focus-visible {
|
|
436
439
|
outline: none;
|
|
437
440
|
}
|
|
441
|
+
.spw-text-field--readonly .spw-text-field__input {
|
|
442
|
+
background: var(--spw-input-readonly-background);
|
|
443
|
+
cursor: default;
|
|
444
|
+
}
|
|
438
445
|
.spw-text-field--is-error .spw-text-field__input {
|
|
439
446
|
border-color: var(--spw-colors-states-error-error-300);
|
|
440
447
|
}
|
|
@@ -5,6 +5,8 @@ export class SpwTextField {
|
|
|
5
5
|
this.type = 'text';
|
|
6
6
|
/** Texte à afficher au-dessus du champ de saisie */
|
|
7
7
|
this.label = '';
|
|
8
|
+
/** Si `true`, la valeur reste lisible, sélectionnable et focusable, mais ne peut pas être modifiée */
|
|
9
|
+
this.readonly = false;
|
|
8
10
|
/** Indique si l'input est un champ de recherche */
|
|
9
11
|
this.isSearch = false;
|
|
10
12
|
/** Indique si le champ peut être effacé avec un bouton */
|
|
@@ -35,6 +37,8 @@ export class SpwTextField {
|
|
|
35
37
|
this.accAriaLabelIncrement = 'Incrémenter';
|
|
36
38
|
/** Aria-label pour le bouton de décrémentation (input number) */
|
|
37
39
|
this.accAriaLabelDecrement = 'Décrémenter';
|
|
40
|
+
/** Remplit l'attribut aria-label du bouton de recherche, utilisé à des fins d'accessibilité */
|
|
41
|
+
this.accAriaLabelSubmit = 'Rechercher';
|
|
38
42
|
/** Si true, affiche les boutons +/- pour les champs numériques */
|
|
39
43
|
this.hasControls = true;
|
|
40
44
|
/** Affiche un bouton submit (loupe) qui déclenche le submit du formulaire parent */
|
|
@@ -44,6 +48,7 @@ export class SpwTextField {
|
|
|
44
48
|
/** Curseur du tooltip */
|
|
45
49
|
this.tooltipCursor = 'help';
|
|
46
50
|
this.isClearIconVisible = false;
|
|
51
|
+
this.uniqueId = `spw-text-field-${Math.random().toString(36).slice(2, 11)}`;
|
|
47
52
|
}
|
|
48
53
|
/** Méthode publique pour mettre le focus sur le champ de saisie. */
|
|
49
54
|
async setFocus() {
|
|
@@ -101,6 +106,8 @@ export class SpwTextField {
|
|
|
101
106
|
event.preventDefault();
|
|
102
107
|
this.handleSubmit();
|
|
103
108
|
}
|
|
109
|
+
if (this.readonly)
|
|
110
|
+
return;
|
|
104
111
|
if (this.type === 'number' && this.decimalPrecision != null) {
|
|
105
112
|
const input = this.inputElement;
|
|
106
113
|
const currentValue = (_a = input === null || input === void 0 ? void 0 : input.value) !== null && _a !== void 0 ? _a : '';
|
|
@@ -169,7 +176,7 @@ export class SpwTextField {
|
|
|
169
176
|
}
|
|
170
177
|
increment() {
|
|
171
178
|
var _a;
|
|
172
|
-
if (this.disabled)
|
|
179
|
+
if (this.disabled || this.readonly)
|
|
173
180
|
return;
|
|
174
181
|
const stepValue = (_a = this.step) !== null && _a !== void 0 ? _a : 1;
|
|
175
182
|
let newValue = this.roundToPrecision(this.getCurrentNumericValue() + stepValue);
|
|
@@ -180,7 +187,7 @@ export class SpwTextField {
|
|
|
180
187
|
}
|
|
181
188
|
decrement() {
|
|
182
189
|
var _a;
|
|
183
|
-
if (this.disabled)
|
|
190
|
+
if (this.disabled || this.readonly)
|
|
184
191
|
return;
|
|
185
192
|
const stepValue = (_a = this.step) !== null && _a !== void 0 ? _a : 1;
|
|
186
193
|
let newValue = this.roundToPrecision(this.getCurrentNumericValue() - stepValue);
|
|
@@ -249,6 +256,16 @@ export class SpwTextField {
|
|
|
249
256
|
}
|
|
250
257
|
// isExpandable (details slot) est rendu uniquement sur le dernier message
|
|
251
258
|
// affiché — sinon on aurait un bouton "Plus d'informations" par message.
|
|
259
|
+
get describedBy() {
|
|
260
|
+
const ids = [
|
|
261
|
+
this.assistiveText && `${this.uniqueId}-help`,
|
|
262
|
+
this.error && `${this.uniqueId}-error`,
|
|
263
|
+
this.hint && `${this.uniqueId}-hint`,
|
|
264
|
+
this.success && `${this.uniqueId}-success`,
|
|
265
|
+
this.warning && `${this.uniqueId}-warning`,
|
|
266
|
+
].filter(Boolean);
|
|
267
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
268
|
+
}
|
|
252
269
|
renderMessages() {
|
|
253
270
|
const messages = [];
|
|
254
271
|
if (this.error)
|
|
@@ -261,7 +278,7 @@ export class SpwTextField {
|
|
|
261
278
|
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
262
279
|
return messages.map((m, i) => {
|
|
263
280
|
const isLast = i === messages.length - 1;
|
|
264
|
-
return (h("spw-field-message", { variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
281
|
+
return (h("spw-field-message", { id: `${this.uniqueId}-${m.variant}`, variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
265
282
|
});
|
|
266
283
|
}
|
|
267
284
|
get elementClass() {
|
|
@@ -271,15 +288,16 @@ export class SpwTextField {
|
|
|
271
288
|
[`spw-text-field--${this.size}`]: true,
|
|
272
289
|
'spw-text-field--is-search': this.isSearch,
|
|
273
290
|
'spw-text-field--is-error': !!this.error,
|
|
274
|
-
'spw-text-field--is-clear': this.isClearIconVisible,
|
|
291
|
+
'spw-text-field--is-clear': this.isClearIconVisible && !this.readonly,
|
|
275
292
|
'spw-text-field--is-number': isNumber,
|
|
276
293
|
'spw-text-field--has-controls': isNumber && this.hasControls,
|
|
277
294
|
'spw-text-field--has-submit-button': this.hasSubmitButton,
|
|
278
295
|
'spw-text-field--disabled': this.disabled,
|
|
296
|
+
'spw-text-field--readonly': this.readonly && !this.disabled,
|
|
279
297
|
};
|
|
280
298
|
}
|
|
281
299
|
render() {
|
|
282
|
-
return (h("div", { key: '
|
|
300
|
+
return (h("div", { key: '859c775ecc6aa2b85385c740ced99d2238ed8f94', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'c718bc9dd213a3eb97a0cc348a8d2c39124f749a', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '50423c432bdc947ebd1e121546ef24fc53e1028c', id: `${this.uniqueId}-help`, class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '4d8ceab50ade55c60ca3567b5836bbe46722567c', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '3c234f6e249ea8928d8ac79137af025b92c9ab86', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || this.readonly || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: '1a3529932f4f2729f959c7deef7ba7d0b3b18d62', icon: "fa-minus" }))), h("div", { key: '6c6a107b8b9f3b4da012440eda8f37af37aa7fd4', class: "spw-text-field__input-container" }, h("input", { key: '64852a5a9df7e25b4ef1f5a17e243b6ce298ae2b', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'text' : this.type, inputMode: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'decimal' : undefined, min: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.min : undefined, max: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.max : undefined, step: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.step : undefined, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.label || undefined, disabled: this.disabled, readOnly: this.readonly, name: this.name, id: this.name, autocomplete: this.autocomplete, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), "aria-describedby": this.describedBy, "aria-invalid": this.error ? 'true' : 'false', onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || (this.isClearIconVisible && !this.readonly)) && (h("div", { key: 'd6e0598e9f952a716f966432a257b08f7ede0c9d', class: "spw-text-field__icons" }, this.isClearIconVisible && !this.readonly && (h("span", { key: '7fc6589cb1eb14601dee319dcd0c9bdb2c36401a', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '5b3edf3ed859924c595c148107f493f1cea079c5', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: 'be4eaf8c8e1eb0b12c03a82037685547acec4356', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: '2ccf267ba49ed708b488f6a7083e4ae96989ad1a', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": this.accAriaLabelSubmit }, h("spw-icon", { key: '1ee448659182f52cc8c977755284c06a85d5fb09', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: 'c3ccecbc881bcb93b7b23d02ee2bcca467d41d41', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || this.readonly || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: 'f6a1f94a14a98f8d0bb1905f43ae0e9060a7489a', icon: "fa-plus" }))), this.indicator && h("div", { key: 'dc98fc86c98a6cb239c4a8e6d4f6647f9bee4457', class: "spw-text-field__indicator" }, this.indicator)), this.renderMessages()));
|
|
283
301
|
}
|
|
284
302
|
static get is() { return "spw-text-field"; }
|
|
285
303
|
static get encapsulation() { return "shadow"; }
|
|
@@ -393,6 +411,26 @@ export class SpwTextField {
|
|
|
393
411
|
"reflect": false,
|
|
394
412
|
"attribute": "disabled"
|
|
395
413
|
},
|
|
414
|
+
"readonly": {
|
|
415
|
+
"type": "boolean",
|
|
416
|
+
"mutable": false,
|
|
417
|
+
"complexType": {
|
|
418
|
+
"original": "boolean",
|
|
419
|
+
"resolved": "boolean",
|
|
420
|
+
"references": {}
|
|
421
|
+
},
|
|
422
|
+
"required": false,
|
|
423
|
+
"optional": true,
|
|
424
|
+
"docs": {
|
|
425
|
+
"tags": [],
|
|
426
|
+
"text": "Si `true`, la valeur reste lisible, s\u00E9lectionnable et focusable, mais ne peut pas \u00EAtre modifi\u00E9e"
|
|
427
|
+
},
|
|
428
|
+
"getter": false,
|
|
429
|
+
"setter": false,
|
|
430
|
+
"reflect": false,
|
|
431
|
+
"attribute": "readonly",
|
|
432
|
+
"defaultValue": "false"
|
|
433
|
+
},
|
|
396
434
|
"name": {
|
|
397
435
|
"type": "string",
|
|
398
436
|
"mutable": false,
|
|
@@ -921,6 +959,26 @@ export class SpwTextField {
|
|
|
921
959
|
"attribute": "acc-aria-label-decrement",
|
|
922
960
|
"defaultValue": "'D\u00E9cr\u00E9menter'"
|
|
923
961
|
},
|
|
962
|
+
"accAriaLabelSubmit": {
|
|
963
|
+
"type": "string",
|
|
964
|
+
"mutable": false,
|
|
965
|
+
"complexType": {
|
|
966
|
+
"original": "string",
|
|
967
|
+
"resolved": "string",
|
|
968
|
+
"references": {}
|
|
969
|
+
},
|
|
970
|
+
"required": false,
|
|
971
|
+
"optional": true,
|
|
972
|
+
"docs": {
|
|
973
|
+
"tags": [],
|
|
974
|
+
"text": "Remplit l'attribut aria-label du bouton de recherche, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
975
|
+
},
|
|
976
|
+
"getter": false,
|
|
977
|
+
"setter": false,
|
|
978
|
+
"reflect": false,
|
|
979
|
+
"attribute": "acc-aria-label-submit",
|
|
980
|
+
"defaultValue": "'Rechercher'"
|
|
981
|
+
},
|
|
924
982
|
"hasControls": {
|
|
925
983
|
"type": "boolean",
|
|
926
984
|
"mutable": false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -362,6 +363,8 @@ template {
|
|
|
362
363
|
|
|
363
364
|
:host {
|
|
364
365
|
display: block;
|
|
366
|
+
/** @prop --spw-textarea-readonly-background: Couleur de fond du champ en lecture seule */
|
|
367
|
+
--spw-textarea-readonly-background: var(--spw-color-themes-grey-grey-50);
|
|
365
368
|
}
|
|
366
369
|
|
|
367
370
|
.spw-textarea {
|
|
@@ -396,6 +399,10 @@ template {
|
|
|
396
399
|
.spw-textarea--disabled .spw-textarea__input:hover, .spw-textarea--disabled .spw-textarea__input:focus, .spw-textarea--disabled .spw-textarea__input:focus-visible {
|
|
397
400
|
outline: none;
|
|
398
401
|
}
|
|
402
|
+
.spw-textarea--readonly .spw-textarea__input {
|
|
403
|
+
background: var(--spw-textarea-readonly-background);
|
|
404
|
+
cursor: default;
|
|
405
|
+
}
|
|
399
406
|
.spw-textarea--is-error .spw-textarea__input {
|
|
400
407
|
border-color: var(--spw-colors-states-error-error-300);
|
|
401
408
|
}
|
|
@@ -4,6 +4,8 @@ export class SpwTextarea {
|
|
|
4
4
|
this.internalValue = '';
|
|
5
5
|
/** Texte à afficher au-dessus du champ textarea */
|
|
6
6
|
this.label = '';
|
|
7
|
+
/** Si `true`, la valeur reste lisible, sélectionnable et focusable, mais ne peut pas être modifiée */
|
|
8
|
+
this.readonly = false;
|
|
7
9
|
/** Nombre de lignes à afficher dans le champ textarea */
|
|
8
10
|
this.rows = 5;
|
|
9
11
|
/** Indique si l'input est un champ de recherche */
|
|
@@ -32,6 +34,7 @@ export class SpwTextarea {
|
|
|
32
34
|
this.tooltipDirection = 'top';
|
|
33
35
|
/** Curseur du tooltip */
|
|
34
36
|
this.tooltipCursor = 'help';
|
|
37
|
+
this.uniqueId = `spw-textarea-${Math.random().toString(36).slice(2, 11)}`;
|
|
35
38
|
}
|
|
36
39
|
/** Méthode publique pour mettre le focus sur le champ textarea. */
|
|
37
40
|
async setFocus() {
|
|
@@ -69,6 +72,16 @@ export class SpwTextarea {
|
|
|
69
72
|
this.valueChanged.emit(this.internalValue);
|
|
70
73
|
}
|
|
71
74
|
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
75
|
+
get describedBy() {
|
|
76
|
+
const ids = [
|
|
77
|
+
this.assistiveText && `${this.uniqueId}-help`,
|
|
78
|
+
this.error && `${this.uniqueId}-error`,
|
|
79
|
+
this.hint && `${this.uniqueId}-hint`,
|
|
80
|
+
this.success && `${this.uniqueId}-success`,
|
|
81
|
+
this.warning && `${this.uniqueId}-warning`,
|
|
82
|
+
].filter(Boolean);
|
|
83
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
84
|
+
}
|
|
72
85
|
renderMessages() {
|
|
73
86
|
const messages = [];
|
|
74
87
|
if (this.error)
|
|
@@ -81,7 +94,7 @@ export class SpwTextarea {
|
|
|
81
94
|
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
82
95
|
return messages.map((m, i) => {
|
|
83
96
|
const isLast = i === messages.length - 1;
|
|
84
|
-
return (h("spw-field-message", { variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
97
|
+
return (h("spw-field-message", { id: `${this.uniqueId}-${m.variant}`, variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
85
98
|
});
|
|
86
99
|
}
|
|
87
100
|
get elementClass() {
|
|
@@ -90,10 +103,11 @@ export class SpwTextarea {
|
|
|
90
103
|
'spw-textarea--is-search': this.isSearch,
|
|
91
104
|
'spw-textarea--is-error': !!this.error,
|
|
92
105
|
'spw-textarea--disabled': this.disabled,
|
|
106
|
+
'spw-textarea--readonly': this.readonly && !this.disabled,
|
|
93
107
|
};
|
|
94
108
|
}
|
|
95
109
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
110
|
+
return (h("div", { key: 'b77423d9577b8a62be8fbe1dc09e421afde79c16', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'bd265a75ebdd29990eeee05c791a7811989a1ea2', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '7ba8c55dd205a1b7a1e428389f3338c57cd67953', id: `${this.uniqueId}-help`, class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'b711cf071303ef173cb7fb03f5dc7d02c063900e', class: "spw-textarea__container" }, h("textarea", { key: 'dfdd24cfee43a8b021cf5f3be73df27f0e05edfb', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, name: this.name, id: this.name, autocomplete: this.autocomplete, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event), "aria-describedby": this.describedBy, "aria-invalid": this.error ? 'true' : 'false' })), this.renderMessages()));
|
|
97
111
|
}
|
|
98
112
|
static get is() { return "spw-textarea"; }
|
|
99
113
|
static get encapsulation() { return "shadow"; }
|
|
@@ -187,6 +201,26 @@ export class SpwTextarea {
|
|
|
187
201
|
"reflect": false,
|
|
188
202
|
"attribute": "disabled"
|
|
189
203
|
},
|
|
204
|
+
"readonly": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "boolean",
|
|
209
|
+
"resolved": "boolean",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": true,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": "Si `true`, la valeur reste lisible, s\u00E9lectionnable et focusable, mais ne peut pas \u00EAtre modifi\u00E9e"
|
|
217
|
+
},
|
|
218
|
+
"getter": false,
|
|
219
|
+
"setter": false,
|
|
220
|
+
"reflect": false,
|
|
221
|
+
"attribute": "readonly",
|
|
222
|
+
"defaultValue": "false"
|
|
223
|
+
},
|
|
190
224
|
"name": {
|
|
191
225
|
"type": "string",
|
|
192
226
|
"mutable": false,
|
|
@@ -24,7 +24,7 @@ export class SpwThemeProvider {
|
|
|
24
24
|
document.documentElement.setAttribute('data-theme', theme);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("main", { key: '
|
|
27
|
+
return (h("main", { key: 'b9e75233b7a8e9833dd5ba0030eb264bfe094f39', class: `spw-theme-${this.theme}` }, h("slot", { key: '1899b724b14d41499c938d0151cecb96cbeeb3bf' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "spw-theme-provider"; }
|
|
30
30
|
static get properties() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--spw-ds-container-xl:
|
|
2
|
+
--spw-ds-container-xl: 1232px;
|
|
3
3
|
--spw-ds-container-lg: 1024px;
|
|
4
4
|
--spw-ds-container-md: 768px;
|
|
5
5
|
--spw-ds-container-sm: 640px;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
padding-right: 16px;
|
|
12
12
|
margin-left: auto;
|
|
13
13
|
margin-right: auto;
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
}
|
|
15
16
|
@media (min-width: 360px) {
|
|
16
17
|
.spw-ds-container {
|
|
@@ -363,6 +364,8 @@ template {
|
|
|
363
364
|
:host {
|
|
364
365
|
display: block;
|
|
365
366
|
overflow: hidden;
|
|
367
|
+
/** @prop --spw-tile-description-icon: Taille de police de la description en variant icon */
|
|
368
|
+
--spw-tile-description-icon: 18px;
|
|
366
369
|
}
|
|
367
370
|
|
|
368
371
|
:host(.--light),
|
|
@@ -401,7 +404,7 @@ template {
|
|
|
401
404
|
:host(.--icon) .spw-tile-description {
|
|
402
405
|
color: var(--spw-color-themes-grey-grey-700);
|
|
403
406
|
line-height: 1.5;
|
|
404
|
-
font-size:
|
|
407
|
+
font-size: var(--spw-tile-description-icon);
|
|
405
408
|
}
|
|
406
409
|
:host(.--icon.--surface-dark) .spw-tile-description {
|
|
407
410
|
color: white;
|