@spw-ds/spw-stencil-library 1.11.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +180 -2
- package/dist/cjs/{index-B9VTdKwF.js → index-id_AkABS.js} +3 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- package/dist/cjs/spw-block-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-box.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-image.cjs.entry.js +5 -3
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +3 -3
- package/dist/cjs/spw-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{spw-field-label_7.cjs.entry.js → spw-field-label_8.cjs.entry.js} +100 -29
- package/dist/cjs/spw-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +7 -3
- package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona.cjs.entry.js +3 -3
- package/dist/cjs/spw-header.cjs.entry.js +5 -3
- package/dist/cjs/spw-hero.cjs.entry.js +4 -4
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +5 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +18 -4
- package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-list.cjs.entry.js +2 -2
- package/dist/cjs/spw-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +8 -4
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +3 -3
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider.cjs.entry.js +13 -5
- package/dist/cjs/spw-socials.cjs.entry.js +2 -2
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +3 -3
- package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc.cjs.entry.js +2 -2
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
- package/dist/collection/components/spw-block-content/spw-block-content.css +6 -6
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +15 -0
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +17 -0
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +25 -1
- package/dist/collection/components/spw-card/spw-card.css +12 -0
- package/dist/collection/components/spw-card/spw-card.js +3 -3
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +1 -1
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +3 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +35 -0
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +12 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +3 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.css +4 -0
- package/dist/collection/components/spw-group/spw-group.js +149 -13
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +10 -0
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +19 -4
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +5 -0
- package/dist/collection/components/spw-header/spw-header.js +23 -1
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +35 -9
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +23 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +16 -2
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-modal/spw-modal.js +7 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.css +1 -1
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.css +15 -0
- package/dist/collection/components/spw-slider/spw-slider.js +31 -3
- package/dist/collection/components/spw-socials/spw-socials.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- 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.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +4 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +58 -1
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +113 -3
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +623 -0
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +142 -6
- package/dist/components/index.js +1 -1
- package/dist/components/{p-D0jLTe4Y.js → p-1uE1Qo3N.js} +1 -1
- package/dist/components/{p-BNVh4npd.js → p-BpRPVStK.js} +1 -1
- package/dist/components/{p-D2bR89OY.js → p-BwzaPX9J.js} +1 -1
- package/dist/components/{p-CyuzNTuL.js → p-CCD1i9Et.js} +1 -1
- package/dist/components/{p-BqEbo61A.js → p-CT9zdtB2.js} +1 -1
- package/dist/components/{p-lA7JXY3H.js → p-Ce4aFl4t.js} +1 -1
- package/dist/components/{p-w411zfAm.js → p-CfyijrJ8.js} +1 -1
- package/dist/components/{p-D3lAXshq.js → p-CnGo7W4h.js} +1 -1
- package/dist/components/{p-CNmnvMAU.js → p-rvgnHRf7.js} +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-content.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-card.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-field-label.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-link.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-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-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-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-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 +295 -16
- package/dist/components_vscode.json +5107 -0
- package/dist/esm/{index-BU-5xOtc.js → index-BvJ4Kko5.js} +3 -7
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-avatar.entry.js +1 -1
- package/dist/esm/spw-block-content.entry.js +2 -2
- package/dist/esm/spw-box.entry.js +1 -1
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +1 -1
- package/dist/esm/spw-button_2.entry.js +2 -2
- package/dist/esm/spw-card-content.entry.js +2 -2
- package/dist/esm/spw-card-excerpt.entry.js +1 -1
- package/dist/esm/spw-card-image.entry.js +5 -3
- package/dist/esm/spw-card-subtag-item.entry.js +1 -1
- package/dist/esm/spw-card-subtags.entry.js +1 -1
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +3 -3
- package/dist/esm/spw-checkbox.entry.js +2 -2
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +1 -1
- package/dist/esm/spw-date-picker.entry.js +1 -1
- package/dist/esm/spw-dropdown-container.entry.js +1 -1
- package/dist/esm/spw-dropdown-item.entry.js +1 -1
- package/dist/esm/spw-dropdown.entry.js +1 -1
- package/dist/esm/{spw-field-label_7.entry.js → spw-field-label_8.entry.js} +100 -30
- package/dist/esm/spw-file-upload.entry.js +1 -1
- package/dist/esm/spw-footer-bottom.entry.js +2 -2
- package/dist/esm/spw-footer-content-col.entry.js +7 -3
- package/dist/esm/spw-footer-content.entry.js +1 -1
- package/dist/esm/spw-footer-link.entry.js +3 -3
- package/dist/esm/spw-footer.entry.js +1 -1
- package/dist/esm/spw-grid-item.entry.js +3 -3
- package/dist/esm/spw-grid.entry.js +3 -3
- package/dist/esm/spw-header-lang.entry.js +2 -2
- package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-header-navigation-item.entry.js +3 -3
- package/dist/esm/spw-header-navigation.entry.js +2 -2
- package/dist/esm/spw-header-persona-item.entry.js +2 -2
- package/dist/esm/spw-header-persona.entry.js +3 -3
- package/dist/esm/spw-header.entry.js +5 -3
- package/dist/esm/spw-hero.entry.js +4 -4
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +2 -2
- package/dist/esm/spw-lightbox-item.entry.js +5 -3
- package/dist/esm/spw-lightbox.entry.js +18 -4
- package/dist/esm/spw-list-description.entry.js +2 -2
- package/dist/esm/spw-list-item.entry.js +2 -2
- package/dist/esm/spw-list-title.entry.js +2 -2
- package/dist/esm/spw-list.entry.js +2 -2
- package/dist/esm/spw-message.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +8 -4
- package/dist/esm/spw-mosaic-item.entry.js +2 -2
- package/dist/esm/spw-mosaic.entry.js +2 -2
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +3 -3
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +1 -1
- package/dist/esm/spw-select.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-skeleton.entry.js +2 -2
- package/dist/esm/spw-slider-item.entry.js +2 -2
- package/dist/esm/spw-slider.entry.js +13 -5
- package/dist/esm/spw-socials.entry.js +2 -2
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation.entry.js +3 -3
- package/dist/esm/spw-tabs.entry.js +2 -2
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +2 -2
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +2 -2
- package/dist/esm/spw-tile-title.entry.js +2 -2
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toast-controller.entry.js +1 -1
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +1 -1
- package/dist/esm/spw-toc-navigation.entry.js +1 -1
- package/dist/esm/spw-toc.entry.js +2 -2
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +2 -2
- package/dist/spw-stencil-library/p-009759c5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a09e3914.entry.js → p-0a9288b5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cdff9c53.entry.js → p-0bf4fb22.entry.js} +1 -1
- package/dist/spw-stencil-library/p-0ebf4d8c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a8d2e217.entry.js → p-0efd7784.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4504a51e.entry.js → p-153a026f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f2aaa06a.entry.js → p-1875874e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e86c4192.entry.js → p-1d5ff931.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-32340c8d.entry.js → p-1fba6401.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ce6af096.entry.js → p-28a5d0bf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-56b73f04.entry.js → p-28e49d02.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1337adf5.entry.js → p-29695c41.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b218aeda.entry.js → p-2b182fc8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8e8f253e.entry.js → p-2ce6dc02.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bd26c928.entry.js → p-2dda4dfe.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-afb26e73.entry.js → p-30bd9c0a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4265f6e5.entry.js → p-34cc819b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e5579295.entry.js → p-35b865cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4a8766cc.entry.js → p-37c6153e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6dabae01.entry.js → p-38a53864.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-404a11b2.entry.js → p-3ccb9c03.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-910755a9.entry.js → p-3f195a1c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-311be1c9.entry.js → p-3fbc7bba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-05378ed8.entry.js → p-416f6040.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1bdcb44c.entry.js → p-45af74a9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3cee0356.entry.js → p-474cbbca.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-eda2cbd9.entry.js → p-4904c883.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b1b6f3cb.entry.js → p-49b99541.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ff26da9e.entry.js → p-4dd215d6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4f163e66.entry.js → p-50ccad8a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-525c4149.entry.js +1 -0
- package/dist/spw-stencil-library/{p-50bf3984.entry.js → p-52fe32c2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dee97ef5.entry.js → p-5601a46f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-79c6f599.entry.js → p-5b520d03.entry.js} +1 -1
- package/dist/spw-stencil-library/p-5d77d128.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8901c312.entry.js → p-6194071c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-03addc15.entry.js → p-61b5224c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7a3131fa.entry.js → p-66da29be.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-31035d04.entry.js → p-6908b401.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dcd5fa8d.entry.js → p-693b980f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b3152418.entry.js → p-6b6f4a62.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ee8fd30.entry.js → p-7217cd99.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-66b30373.entry.js → p-732b2f4c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d2cabbe3.entry.js → p-74a9d177.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-38f286b7.entry.js → p-778c6591.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e96bccc1.entry.js → p-7bd15d1e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9b28f86c.entry.js → p-7c4f53c3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-94158325.entry.js → p-7ccef87e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ddfa4ef.entry.js → p-7db10e21.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-024a26e8.entry.js → p-7fc6757a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f880da57.entry.js → p-8063aa58.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f7b152f7.entry.js → p-80c24670.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6ea95517.entry.js → p-81927404.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-699e435e.entry.js → p-82883102.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-47ee3609.entry.js → p-82aa983b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1eb101b8.entry.js → p-84c41619.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5631f2de.entry.js → p-862fdbdb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1cd657f6.entry.js → p-8bb6a14d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f43e54c9.entry.js → p-8bbea8cb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7ae08cea.entry.js → p-8c750816.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dc802ca2.entry.js → p-90067a27.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-123bfbc0.entry.js → p-98e59a94.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e1c2b8f8.entry.js → p-9ccc1685.entry.js} +1 -1
- package/dist/spw-stencil-library/p-BvJ4Kko5.js +2 -0
- package/dist/spw-stencil-library/{p-b53d9fdb.entry.js → p-a3ee7134.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e7115b5c.entry.js → p-a51ad71d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3703f96f.entry.js → p-a585320e.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a6250c87.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ac6f9351.entry.js → p-a6fb9fd7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a80a9482.entry.js +1 -0
- package/dist/spw-stencil-library/p-ada5d5c1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-98f51dbc.entry.js → p-b106fb83.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-daf0d53e.entry.js → p-b125ec4f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fbbacf1e.entry.js → p-b1ccc7eb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-da0a8272.entry.js → p-bb192c0e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-074758e0.entry.js → p-c18a3d8a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-82b5e1a1.entry.js → p-c660aab1.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ca225328.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a7b665db.entry.js → p-ce07d59f.entry.js} +2 -2
- package/dist/spw-stencil-library/{p-2fb76b1e.entry.js → p-d004b229.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d2dfe51b.entry.js +1 -0
- package/dist/spw-stencil-library/{p-deca1884.entry.js → p-d35874ea.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3374ac92.entry.js → p-d41080ab.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b15db228.entry.js → p-e0ce83c2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e4710721.entry.js → p-eeacd7b2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-df311267.entry.js → p-f1baf303.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1cd68465.entry.js → p-f1ecd17e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bebfe3cd.entry.js → p-f20b2da0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5ac48320.entry.js → p-f5d2d168.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7fe2e659.entry.js → p-fbe8dc29.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-543d3e89.entry.js → p-fc96be97.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c41fe381.entry.js → p-fd564976.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bfd908c9.entry.js → p-ff289cc8.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +19468 -22146
- package/dist/types/components/spw-card/spw-card-image/spw-card-image.d.ts +2 -0
- package/dist/types/components/spw-card/spw-card.d.ts +1 -1
- package/dist/types/components/spw-footer/spw-footer-content-col/spw-footer-content-col.d.ts +2 -0
- package/dist/types/components/spw-group/spw-group.d.ts +13 -1
- package/dist/types/components/spw-header/spw-header.d.ts +2 -0
- package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +2 -0
- package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +3 -0
- package/dist/types/components/spw-slider/spw-slider.d.ts +3 -0
- package/dist/types/components.d.ts +100 -3
- package/dist/types/stories/organisms/spw-card/spw-card.stories.d.ts +2 -1
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +6 -1
- package/dist/types/stories/organisms/spw-lightbox/spw-lightbox.stories.d.ts +16 -0
- package/dist/types/stories/organisms/spw-slider/spw-slider.stories.d.ts +8 -1
- package/hydrate/index.js +208 -126
- package/hydrate/index.mjs +208 -126
- package/package.json +1 -1
- package/dist/cjs/spw-field-message.cjs.entry.js +0 -39
- package/dist/esm/spw-field-message.entry.js +0 -37
- package/dist/spw-stencil-library/p-0583eb9e.entry.js +0 -1
- package/dist/spw-stencil-library/p-0fbae5ce.entry.js +0 -1
- package/dist/spw-stencil-library/p-170c4262.entry.js +0 -1
- package/dist/spw-stencil-library/p-49be0d9e.entry.js +0 -1
- package/dist/spw-stencil-library/p-79f8babf.entry.js +0 -1
- package/dist/spw-stencil-library/p-7ffe8116.entry.js +0 -1
- package/dist/spw-stencil-library/p-BU-5xOtc.js +0 -2
- package/dist/spw-stencil-library/p-be220196.entry.js +0 -1
- package/dist/spw-stencil-library/p-c5824697.entry.js +0 -1
- package/dist/spw-stencil-library/p-e0b50329.entry.js +0 -1
- package/dist/spw-stencil-library/p-e7dbe743.entry.js +0 -1
|
@@ -17,26 +17,43 @@ export class SpwGroup {
|
|
|
17
17
|
this.isFullWidth = false;
|
|
18
18
|
/** Comportement du flex-wrap sur le container */
|
|
19
19
|
this.flexWrap = 'nowrap';
|
|
20
|
+
/** Message d'erreur à afficher sous le groupe (pour les types checkboxes et radios) */
|
|
21
|
+
this.error = '';
|
|
22
|
+
/** Message d'indication (hint) à afficher sous le groupe (pour les types checkboxes et radios) */
|
|
23
|
+
this.hint = '';
|
|
24
|
+
/** Message de succès à afficher sous le groupe (pour les types checkboxes et radios) */
|
|
25
|
+
this.success = '';
|
|
26
|
+
/** Message de warning à afficher sous le groupe (pour les types checkboxes et radios) */
|
|
27
|
+
this.warning = '';
|
|
20
28
|
/** Positionnement du tooltip */
|
|
21
29
|
this.tooltipDirection = 'top';
|
|
22
30
|
/** Curseur du tooltip */
|
|
23
31
|
this.tooltipCursor = 'help';
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
elements.forEach(element => {
|
|
28
|
-
if (this.disabled) {
|
|
29
|
-
element.setAttribute('disabled', '');
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
element.removeAttribute('disabled');
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
};
|
|
32
|
+
}
|
|
33
|
+
get isCheckboxOrRadio() {
|
|
34
|
+
return this.type === 'checkboxes' || this.type === 'radios';
|
|
36
35
|
}
|
|
37
36
|
componentDidLoad() {
|
|
38
37
|
this.handleSlotChange();
|
|
39
38
|
}
|
|
39
|
+
handleSlotChange() {
|
|
40
|
+
var _a;
|
|
41
|
+
const elements = ((_a = this.slotEl) === null || _a === void 0 ? void 0 : _a.assignedElements) ? this.slotEl.assignedElements() : Array.from(this.host.querySelectorAll('*'));
|
|
42
|
+
elements.forEach(element => {
|
|
43
|
+
if (this.disabled) {
|
|
44
|
+
element.setAttribute('disabled', '');
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
element.removeAttribute('disabled');
|
|
48
|
+
}
|
|
49
|
+
if (this.isCheckboxOrRadio && this.error) {
|
|
50
|
+
element.setAttribute('error', '');
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
element.removeAttribute('error');
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
40
57
|
get groupClasses() {
|
|
41
58
|
return {
|
|
42
59
|
'spw-group': true,
|
|
@@ -44,13 +61,24 @@ export class SpwGroup {
|
|
|
44
61
|
'spw-group--vertical': this.orientation === 'vertical',
|
|
45
62
|
'spw-group--reversed': this.isReversed,
|
|
46
63
|
'spw-group--disabled': this.disabled,
|
|
64
|
+
'spw-group--is-error': !!(this.error && this.isCheckboxOrRadio),
|
|
47
65
|
'spw-group--is-full-width': this.isFullWidth,
|
|
48
66
|
[`spw-group--${this.type}`]: true,
|
|
49
67
|
[`spw-group--align-${this.alignment}`]: true,
|
|
50
68
|
};
|
|
51
69
|
}
|
|
70
|
+
renderMessages() {
|
|
71
|
+
if (!this.isCheckboxOrRadio)
|
|
72
|
+
return;
|
|
73
|
+
return [
|
|
74
|
+
this.error && h("spw-field-message", { variant: "error" }, this.error),
|
|
75
|
+
this.hint && h("spw-field-message", { variant: "hint" }, this.hint),
|
|
76
|
+
this.success && h("spw-field-message", { variant: "success" }, this.success),
|
|
77
|
+
this.warning && h("spw-field-message", { variant: "warning" }, this.warning),
|
|
78
|
+
];
|
|
79
|
+
}
|
|
52
80
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '2d8438c4e41a748a04c282991d6fa0c9811626ef' }, h("div", { key: '3cedc33a257bdb112e0b03dbf703d3eba07f262f', class: this.groupClasses }, this.label && (h("spw-field-label", { key: '9b9988718669bc2f832d280549f32f72b2580e0e', class: "spw-group__field-label", 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.isCheckboxOrRadio && this.assistiveText && (h("spw-field-message", { key: '3ffbe7cdc69048a63fbd89342024c86787502a0e', class: "spw-group__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '50533c9bd5cca52ba2620e005a86a19e23237daa', class: "spw-group__container", style: { flexWrap: this.flexWrap } }, h("slot", { key: '91c0a8fd562f4eaa2edacb5489fc14703c8f88f8', ref: el => (this.slotEl = el) })), this.renderMessages())));
|
|
54
82
|
}
|
|
55
83
|
static get is() { return "spw-group"; }
|
|
56
84
|
static get originalStyleUrls() {
|
|
@@ -263,6 +291,105 @@ export class SpwGroup {
|
|
|
263
291
|
"attribute": "flex-wrap",
|
|
264
292
|
"defaultValue": "'nowrap'"
|
|
265
293
|
},
|
|
294
|
+
"assistiveText": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"mutable": false,
|
|
297
|
+
"complexType": {
|
|
298
|
+
"original": "string",
|
|
299
|
+
"resolved": "string",
|
|
300
|
+
"references": {}
|
|
301
|
+
},
|
|
302
|
+
"required": false,
|
|
303
|
+
"optional": true,
|
|
304
|
+
"docs": {
|
|
305
|
+
"tags": [],
|
|
306
|
+
"text": "Texte d'assistance \u00E0 afficher sous le label (pour les types checkboxes et radios)"
|
|
307
|
+
},
|
|
308
|
+
"getter": false,
|
|
309
|
+
"setter": false,
|
|
310
|
+
"reflect": false,
|
|
311
|
+
"attribute": "assistive-text"
|
|
312
|
+
},
|
|
313
|
+
"error": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"mutable": false,
|
|
316
|
+
"complexType": {
|
|
317
|
+
"original": "string",
|
|
318
|
+
"resolved": "string",
|
|
319
|
+
"references": {}
|
|
320
|
+
},
|
|
321
|
+
"required": false,
|
|
322
|
+
"optional": true,
|
|
323
|
+
"docs": {
|
|
324
|
+
"tags": [],
|
|
325
|
+
"text": "Message d'erreur \u00E0 afficher sous le groupe (pour les types checkboxes et radios)"
|
|
326
|
+
},
|
|
327
|
+
"getter": false,
|
|
328
|
+
"setter": false,
|
|
329
|
+
"reflect": false,
|
|
330
|
+
"attribute": "error",
|
|
331
|
+
"defaultValue": "''"
|
|
332
|
+
},
|
|
333
|
+
"hint": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"mutable": false,
|
|
336
|
+
"complexType": {
|
|
337
|
+
"original": "string",
|
|
338
|
+
"resolved": "string",
|
|
339
|
+
"references": {}
|
|
340
|
+
},
|
|
341
|
+
"required": false,
|
|
342
|
+
"optional": true,
|
|
343
|
+
"docs": {
|
|
344
|
+
"tags": [],
|
|
345
|
+
"text": "Message d'indication (hint) \u00E0 afficher sous le groupe (pour les types checkboxes et radios)"
|
|
346
|
+
},
|
|
347
|
+
"getter": false,
|
|
348
|
+
"setter": false,
|
|
349
|
+
"reflect": false,
|
|
350
|
+
"attribute": "hint",
|
|
351
|
+
"defaultValue": "''"
|
|
352
|
+
},
|
|
353
|
+
"success": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"mutable": false,
|
|
356
|
+
"complexType": {
|
|
357
|
+
"original": "string",
|
|
358
|
+
"resolved": "string",
|
|
359
|
+
"references": {}
|
|
360
|
+
},
|
|
361
|
+
"required": false,
|
|
362
|
+
"optional": true,
|
|
363
|
+
"docs": {
|
|
364
|
+
"tags": [],
|
|
365
|
+
"text": "Message de succ\u00E8s \u00E0 afficher sous le groupe (pour les types checkboxes et radios)"
|
|
366
|
+
},
|
|
367
|
+
"getter": false,
|
|
368
|
+
"setter": false,
|
|
369
|
+
"reflect": false,
|
|
370
|
+
"attribute": "success",
|
|
371
|
+
"defaultValue": "''"
|
|
372
|
+
},
|
|
373
|
+
"warning": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"mutable": false,
|
|
376
|
+
"complexType": {
|
|
377
|
+
"original": "string",
|
|
378
|
+
"resolved": "string",
|
|
379
|
+
"references": {}
|
|
380
|
+
},
|
|
381
|
+
"required": false,
|
|
382
|
+
"optional": true,
|
|
383
|
+
"docs": {
|
|
384
|
+
"tags": [],
|
|
385
|
+
"text": "Message de warning \u00E0 afficher sous le groupe (pour les types checkboxes et radios)"
|
|
386
|
+
},
|
|
387
|
+
"getter": false,
|
|
388
|
+
"setter": false,
|
|
389
|
+
"reflect": false,
|
|
390
|
+
"attribute": "warning",
|
|
391
|
+
"defaultValue": "''"
|
|
392
|
+
},
|
|
266
393
|
"tooltipTitle": {
|
|
267
394
|
"type": "string",
|
|
268
395
|
"mutable": false,
|
|
@@ -363,4 +490,13 @@ export class SpwGroup {
|
|
|
363
490
|
};
|
|
364
491
|
}
|
|
365
492
|
static get elementRef() { return "host"; }
|
|
493
|
+
static get watchers() {
|
|
494
|
+
return [{
|
|
495
|
+
"propName": "disabled",
|
|
496
|
+
"methodName": "handleSlotChange"
|
|
497
|
+
}, {
|
|
498
|
+
"propName": "error",
|
|
499
|
+
"methodName": "handleSlotChange"
|
|
500
|
+
}];
|
|
501
|
+
}
|
|
366
502
|
}
|
|
@@ -49,7 +49,7 @@ export class SpwHeaderLang {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '06242ab720bf430b9fc2b2f3dee6792465511ab9' }, h("div", { key: 'bb3a9606231b8bf69b6e19346223b52044bfb280', class: "spw-header-lang" }, h("spw-button", { key: '02c5b7db54c98c34a5a67c2ed50a42b43bb43861', variant: "tertiary", surface: "light", icon: "fa-chevron-down", class: "spw-header-lang__active-lang", onKeyDown: this.handleButtonKeyDown, onClick: this.handleButtonClick }, this.activeLang), h("select", { key: '247fe0ac8ac870da425f52e41f239921529fdf70', "aria-label": this.accAriaLabel || 'Lang', class: "spw-header-lang__select", onChange: e => this.handleChange(e), ref: el => (this.selectEl = el), tabIndex: -1 }), h("ul", { key: 'a5b041a4630a55593243ff102ee0738eb8efb2ea', class: "spw-header-lang__options" }, this.options.map(option => {
|
|
53
53
|
var _a;
|
|
54
54
|
const label = ((_a = option.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '';
|
|
55
55
|
const value = option.getAttribute('value') || '';
|
package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js
CHANGED
|
@@ -63,7 +63,7 @@ export class SpwHeaderNavigation {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '7e02a00c46b7de989dbd4a0d36249805a494c2bf' }, h("nav", { key: 'c596b8719bcda2890122ab6a490d2ea150153905', class: this.elementClass, ref: el => (this.navEl = el) }, h("div", { key: '42c2579e00a97af469c2a66731928741ed56390e', class: "spw-ds-container spw-tw-flex spw-tw-items-center spw-tw-justify-between" }, h("div", { key: '9c8e5a295fb0e9f84227b512920306056ff0d1ea', class: "spw-header-navigation__list" }, h("div", { key: '9da5ef2b5e1c8b95e1bde00a00634a90fde0bda2', class: "spw-header-navigation__list-back" }, h("a", { key: '33c922fb8117da033fa637a3e62d9d3db07506dd', href: "#", onClick: event => this.redirectToHome(event) }, h("spw-icon", { key: '6f852439825b6876b2fd1bf1a9ff17c813a81406', icon: "fa-chevron-left" }), " ", h("span", { key: '7551d645db0058b12143cc0372227fe698b9825e' }, "Page d'accueil"))), h("slot", { key: '0deb7663476d76b6f68e00135c95ccef1bc2cb72' })), this.extraButton && (h("div", { key: '3e2aee21e622c5b12f0d9c888866a1f32ac1d008', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--desktop" }, h("spw-button", { key: '5776b2f283fda296733c628463cfdebe8fd25cd1', variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText))))), this.extraButton && (h("div", { key: 'd08a05c44a043ded59aaab0ddabd4f21d1fa77ff', class: "spw-header-navigation__extra-button-parent spw-header-navigation__extra-button--mobile" }, h("div", { key: '4f350aae01ee1e5ce4e666a5941d7b20b13fc97b', class: "spw-ds-container" }, h("div", { key: 'ef7553fe6cf2e24470ee42936d184415667233da', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--mobile" }, h("spw-button", { key: '2eb3cde318b2f5d6ba299375a2b6210dfec78f48', "is-full-width": "true", variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText)))))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "spw-header-navigation"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class SpwHeaderNavigationDropdown {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: 'ba7103f29234e8bae802d8aecf08f942b9fa5481', class: { 'spw-header-navigation-dropdown--is-megamenu': this.isMegamenu } }, h("div", { key: '7371574a8be7084a053cf9fa91eb5c5239fd0769', class: "spw-header-navigation-dropdown" }, h("slot", { key: '1609aa6db756e127e8cd5ca954fee0c4c0b63486' }), this.shouldShowViewMore && (h("spw-link", { key: '226401939eb4327ebe413c73860e58439fb7e7c7', icon: "fa-arrow-right", class: "spw-header-navigation-item--view-more", href: this.parentHref, target: this.parentTarget }, this.viewMoreText)))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "spw-header-navigation-dropdown"; }
|
|
87
87
|
static get encapsulation() { return "shadow"; }
|
|
@@ -767,4 +767,14 @@ template {
|
|
|
767
767
|
font-weight: normal;
|
|
768
768
|
border-left: 1px solid var(--spw-colors-support-grey-grey-300) !important;
|
|
769
769
|
}
|
|
770
|
+
}
|
|
771
|
+
@media (min-width: 1024px) {
|
|
772
|
+
:host([data-level="3"]) .spw-header-navigation-item--is-megamenu ::slotted(a:hover) {
|
|
773
|
+
text-decoration: underline !important;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
@media (min-width: 1024px) {
|
|
777
|
+
:host([data-level="3"]) .spw-header-navigation-item--is-megamenu ::slotted(a:active) {
|
|
778
|
+
color: var(--spw-ds-active) !important;
|
|
779
|
+
}
|
|
770
780
|
}
|
|
@@ -162,7 +162,7 @@ export class SpwHeaderNavigationItem {
|
|
|
162
162
|
'spw-header-navigation-item--is-subnav-visible': this.isSubnavVisible,
|
|
163
163
|
'spw-header-navigation-item--is-megamenu': this.variant === 'megamenu',
|
|
164
164
|
};
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: 'e952c4870e1aa4939b14a210565fa3509460256a', "data-level": this.level }, h("div", { key: '7c038d9fd7c6c055b76bd59b05d4b3994a7be2e0', class: elementClass }, h("div", { key: '3e94692f9383cefaaf46aaf74f9106265524ef3b', class: "spw-header-navigation-item__content", onClick: event => this.toggleSubnavVisibility(event) }, this.isSubnavVisible && (h("div", { key: 'ddce685e6067f559f94dfd2b325d2a795ebe94a3', class: `spw-header-navigation-item__top spw-header-navigation-item__top--${this.level}` }, h("div", { key: '387d26e8a57da5d4369d800b763cc8e0062d084f', class: "spw-header-navigation-item__top-back", onClick: event => this.handleBackClick(event) }, h("spw-icon", { key: '5beca235171ae596b17bb79776db39af855f4fd0', icon: "fa-chevron-left" }), " ", h("span", { key: 'b9006b33470692e209ba3c6139181616f9488ab3' }, this.level === 1 ? '' : this.level === 2 ? 'Menu principal' : storedTitle)), h("div", { key: '4b682e1f1a1ef92b695f5b50cb9b7cd4b411fde6', class: "spw-header-navigation-item__top-title" }, h("a", { key: '7bd2492d5b62b58be3f074a11651e3287ece5f91', href: (pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.link) || '#', target: (pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.target) || '_self' }, (pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.title) || '')))), h("slot", { key: 'c57027af3472e46897c0fc0a05e097b4b2f1b1ca' })))));
|
|
166
166
|
}
|
|
167
167
|
static get is() { return "spw-header-navigation-item"; }
|
|
168
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -391,14 +391,18 @@ template {
|
|
|
391
391
|
}
|
|
392
392
|
@media (min-width: 1024px) {
|
|
393
393
|
.spw-header-persona {
|
|
394
|
+
display: flex;
|
|
395
|
+
flex-wrap: wrap;
|
|
396
|
+
align-items: center;
|
|
397
|
+
gap: 6px;
|
|
394
398
|
padding-left: 24px;
|
|
395
399
|
margin-left: 24px;
|
|
400
|
+
margin-right: 12px;
|
|
396
401
|
border-left: 1px solid var(--spw-colors-support-grey-grey-300);
|
|
397
402
|
}
|
|
398
403
|
}
|
|
399
404
|
.spw-header-persona__label {
|
|
400
405
|
font-size: 14px;
|
|
401
|
-
margin-bottom: 2px;
|
|
402
406
|
display: block;
|
|
403
407
|
color: var(--spw-colors-support-grey-grey-700);
|
|
404
408
|
}
|
|
@@ -419,12 +423,23 @@ template {
|
|
|
419
423
|
}
|
|
420
424
|
@media (min-width: 1024px) {
|
|
421
425
|
.spw-header-persona__active-persona {
|
|
422
|
-
|
|
426
|
+
transition: all ease 0.15s;
|
|
427
|
+
border-radius: var(--spw-ds-border-radius-full);
|
|
428
|
+
background: var(--spw-colors-support-grey-grey-100);
|
|
429
|
+
padding: 8px 12px;
|
|
430
|
+
font-size: 14px;
|
|
423
431
|
}
|
|
424
|
-
|
|
425
|
-
|
|
432
|
+
}
|
|
433
|
+
@media (min-width: 1024px) {
|
|
434
|
+
.spw-header-persona__active-persona:has(~ .spw-header-persona__select:hover), .spw-header-persona__active-persona:hover {
|
|
435
|
+
background: var(--spw-colors-support-grey-grey-300);
|
|
426
436
|
}
|
|
427
437
|
}
|
|
438
|
+
.spw-header-persona__active-persona:focus-visible {
|
|
439
|
+
outline: 2px solid var(--spw-ds-focus);
|
|
440
|
+
outline-offset: 2px;
|
|
441
|
+
border-radius: var(--spw-ds-border-radius-full);
|
|
442
|
+
}
|
|
428
443
|
.spw-header-persona__trigger {
|
|
429
444
|
display: block;
|
|
430
445
|
}
|
|
@@ -46,7 +46,7 @@ export class SpwHeaderPersona {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'e4b59a2e369219aaa37bd9feda07a8ea744b2237' }, h("div", { key: '1052b05e702b3a5ac280aaece9943960f40aece8', class: "spw-header-persona", onClick: this.handleButtonClick, onKeyDown: this.handleButtonKeyDown }, h("span", { key: 'a49eda95727e18bbde6a8b5da032d1232e31ac1b', class: "spw-header-persona__label" }, this.personaLabel), h("div", { key: '4193bf378aaf026f5b6f3fc645e8b780d947e854', class: "spw-header-persona__active-persona" }, this.activePersona, " ", h("spw-icon", { key: 'd78a9e006c8c84126d219c229235247efbd513e7', icon: "fa-chevron-down" })), h("select", { key: '3d8af10298b497fcd10f9428b3bdef0277d4b11c', "aria-label": this.accAriaLabel || this.personaLabel, class: "spw-header-persona__select", ref: el => (this.selectEl = el), onChange: e => this.handleChange(e), tabIndex: -1 }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "spw-header-persona"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js
CHANGED
|
@@ -4,7 +4,7 @@ export class SpwHeaderPersonaItem {
|
|
|
4
4
|
this.active = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'd6834360f2865641ce06cd779f6850bd02c00f14' }, h("div", { key: '33b3a2dba14ee2acbdc70058120a312c071f4110', class: { 'spw-header-persona-item': true, 'spw-header-persona-item--active': this.active } }, h("slot", { key: 'e253c7aa5959c74d23d552a2a4316fa53b365b16' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "spw-header-persona-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -432,6 +432,11 @@ template {
|
|
|
432
432
|
.spw-header__title a:active {
|
|
433
433
|
opacity: 0.9;
|
|
434
434
|
}
|
|
435
|
+
.spw-header__title a:focus-visible {
|
|
436
|
+
outline: 3px solid white;
|
|
437
|
+
outline-offset: 3px;
|
|
438
|
+
box-shadow: 0 0 0 5px black;
|
|
439
|
+
}
|
|
435
440
|
.spw-header__title svg {
|
|
436
441
|
min-width: 36px;
|
|
437
442
|
}
|