@spw-ds/spw-stencil-library 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +82 -2
- package/dist/cjs/{index-B9VTdKwF.js → index-id_AkABS.js} +1 -1
- 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 +1 -1
- 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 +16 -16
- package/dist/cjs/spw-field-message.cjs.entry.js +1 -1
- 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 +4 -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 +2 -2
- 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-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.js +1 -1
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.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 +3 -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.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-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-D2bR89OY.js → p-26TmvHEb.js} +1 -1
- package/dist/components/{p-BNVh4npd.js → p-B3wy-a7G.js} +1 -1
- package/dist/components/{p-BqEbo61A.js → p-BAbzUkqV.js} +1 -1
- package/dist/components/{p-CyuzNTuL.js → p-Bu_U3_Ez.js} +1 -1
- package/dist/components/{p-lA7JXY3H.js → p-CwQbV4MW.js} +1 -1
- package/dist/components/{p-CNmnvMAU.js → p-DBIs7bbJ.js} +1 -1
- package/dist/components/{p-D0jLTe4Y.js → p-Dv3JuDht.js} +1 -1
- package/dist/components/{p-D3lAXshq.js → p-FB4itEEQ.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-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 +147 -16
- package/dist/esm/{index-BU-5xOtc.js → index-BvJ4Kko5.js} +1 -1
- 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 +1 -1
- 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 +16 -16
- package/dist/esm/spw-field-message.entry.js +1 -1
- 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 +4 -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 +2 -2
- 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-7fe2e659.entry.js → p-02de5468.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-82b5e1a1.entry.js → p-049c5159.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-910755a9.entry.js → p-05819904.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a09e3914.entry.js → p-0a9288b5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6ea95517.entry.js → p-0b4fd80e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d2cabbe3.entry.js → p-0cf5aadc.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-19c01c71.entry.js +1 -0
- package/dist/spw-stencil-library/{p-cdff9c53.entry.js → p-1fa367e7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dc802ca2.entry.js → p-2298be7a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-deca1884.entry.js → p-242e2de6.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-b218aeda.entry.js → p-2b182fc8.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-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-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-e96bccc1.entry.js → p-3e7b44af.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e86c4192.entry.js → p-450306c5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-79c6f599.entry.js → p-47478c37.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-b1b6f3cb.entry.js → p-47a23440.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ee8fd30.entry.js → p-48b4e11f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dcd5fa8d.entry.js → p-4c59112a.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-b3152418.entry.js → p-4eda33d4.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-da0a8272.entry.js → p-52731c22.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-32340c8d.entry.js → p-58393ab6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-daf0d53e.entry.js → p-59925808.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-4a8766cc.entry.js → p-661d7e73.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1bdcb44c.entry.js → p-661fcef1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-38f286b7.entry.js → p-6676fc1b.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-afb26e73.entry.js → p-6cf39777.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8e8f253e.entry.js → p-7107ed7f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a7b665db.entry.js → p-7177a4f7.entry.js} +2 -2
- package/dist/spw-stencil-library/{p-66b30373.entry.js → p-732b2f4c.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-074758e0.entry.js → p-7dd7816b.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-1eb101b8.entry.js → p-822b0a4b.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-dee97ef5.entry.js → p-85e3a088.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-873c504b.entry.js +1 -0
- package/dist/spw-stencil-library/p-8a65a845.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7ae08cea.entry.js → p-8c750816.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-123bfbc0.entry.js → p-95710898.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-311be1c9.entry.js → p-97c81dd9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f43e54c9.entry.js → p-9eef1265.entry.js} +1 -1
- package/dist/spw-stencil-library/p-BvJ4Kko5.js +2 -0
- package/dist/spw-stencil-library/p-a3176800.entry.js +1 -0
- package/dist/spw-stencil-library/{p-31035d04.entry.js → p-a3c881c8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b53d9fdb.entry.js → p-a3ee7134.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-aba5a50e.entry.js +1 -0
- package/dist/spw-stencil-library/p-ada5d5c1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fbbacf1e.entry.js → p-ae28e3c0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b02ea898.entry.js +1 -0
- package/dist/spw-stencil-library/{p-49be0d9e.entry.js → p-b04edce9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-98f51dbc.entry.js → p-b106fb83.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8901c312.entry.js → p-bc45cc77.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e7115b5c.entry.js → p-c319b12a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2fb76b1e.entry.js → p-c3fcebbb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-05378ed8.entry.js → p-c44b2b7a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-024a26e8.entry.js → p-c8b2eba5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-699e435e.entry.js → p-cf452afb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a8d2e217.entry.js → p-d9d9f6e6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1cd657f6.entry.js → p-da114b29.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3703f96f.entry.js → p-de825095.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-eda2cbd9.entry.js → p-e838ba61.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e1c2b8f8.entry.js → p-ecf926b0.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-3374ac92.entry.js → p-f194ab4b.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-50bf3984.entry.js → p-f2b58e55.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-f7b152f7.entry.js → p-f69182ff.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1337adf5.entry.js → p-f898a06d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9b28f86c.entry.js → p-fab8c92f.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/{p-79f8babf.entry.js → p-ffe7898a.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 +1288 -1047
- 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-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 +47 -3
- package/dist/types/stories/organisms/spw-card/spw-card.stories.d.ts +2 -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 +147 -110
- package/hydrate/index.mjs +147 -110
- package/package.json +1 -1
- 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-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
|
@@ -382,9 +382,6 @@ template {
|
|
|
382
382
|
outline: none;
|
|
383
383
|
height: 100%;
|
|
384
384
|
}
|
|
385
|
-
:host:hover .spw-lightbox-item__img {
|
|
386
|
-
opacity: 0.85;
|
|
387
|
-
}
|
|
388
385
|
|
|
389
386
|
.spw-lightbox-item__wrapper {
|
|
390
387
|
position: relative;
|
|
@@ -415,22 +412,51 @@ template {
|
|
|
415
412
|
}
|
|
416
413
|
|
|
417
414
|
.spw-lightbox-item__wrapper--hoverable {
|
|
418
|
-
transition: box-shadow 0.
|
|
415
|
+
transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
|
|
419
416
|
}
|
|
420
417
|
.spw-lightbox-item__wrapper--hoverable:hover {
|
|
421
|
-
box-shadow: var(--spw-effect-elevation-
|
|
418
|
+
box-shadow: var(--spw-effect-elevation-4);
|
|
419
|
+
transform: translateY(-5px);
|
|
422
420
|
}
|
|
423
421
|
|
|
424
422
|
.spw-lightbox-item__hover-overlay {
|
|
425
423
|
position: absolute;
|
|
426
|
-
|
|
424
|
+
z-index: 2;
|
|
427
425
|
display: flex;
|
|
428
|
-
|
|
426
|
+
visibility: hidden;
|
|
427
|
+
top: 0;
|
|
428
|
+
left: 0;
|
|
429
|
+
width: 100%;
|
|
430
|
+
height: 100%;
|
|
431
|
+
color: white;
|
|
429
432
|
justify-content: center;
|
|
430
|
-
|
|
433
|
+
align-items: center;
|
|
431
434
|
opacity: 0;
|
|
432
|
-
transition:
|
|
435
|
+
transition: all 0.3s ease;
|
|
433
436
|
}
|
|
437
|
+
.spw-lightbox-item__hover-overlay:before {
|
|
438
|
+
content: "";
|
|
439
|
+
position: absolute;
|
|
440
|
+
top: 0;
|
|
441
|
+
left: 0;
|
|
442
|
+
width: 100%;
|
|
443
|
+
height: 100%;
|
|
444
|
+
background: black;
|
|
445
|
+
opacity: 0.4;
|
|
446
|
+
}
|
|
447
|
+
.spw-lightbox-item__hover-overlay spw-icon {
|
|
448
|
+
position: relative;
|
|
449
|
+
z-index: 1;
|
|
450
|
+
font-size: 30px;
|
|
451
|
+
font-weight: 300;
|
|
452
|
+
transform: scale(1.5);
|
|
453
|
+
transition: all 0.3s ease;
|
|
454
|
+
}
|
|
455
|
+
|
|
434
456
|
:host(:hover) .spw-lightbox-item__hover-overlay {
|
|
457
|
+
visibility: visible;
|
|
435
458
|
opacity: 1;
|
|
459
|
+
}
|
|
460
|
+
:host(:hover) .spw-lightbox-item__hover-overlay spw-icon {
|
|
461
|
+
transform: scale(1);
|
|
436
462
|
}
|
|
@@ -13,6 +13,8 @@ export class SpwLightboxItem {
|
|
|
13
13
|
this.textOpenImage = "Ouvrir l'image";
|
|
14
14
|
/** Affiche une icône de loupe en superposition au survol */
|
|
15
15
|
this.isHover = true;
|
|
16
|
+
/** Icône affichée au survol de l'image (référence Font Awesome) */
|
|
17
|
+
this.hoverIcon = 'fa-magnifying-glass';
|
|
16
18
|
}
|
|
17
19
|
getIndex() {
|
|
18
20
|
const parent = this.hostElement.closest('spw-lightbox');
|
|
@@ -37,7 +39,7 @@ export class SpwLightboxItem {
|
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'a1485280ce1d717a812436f5d224c47d318e82dc' }, h("div", { key: '808d96afeecc8dac7f25653eafda50ecac1eada3', class: { 'spw-lightbox-item__wrapper': true, 'spw-lightbox-item__wrapper--hoverable': this.isHover }, role: "button", tabindex: "0", "aria-label": this.alt || this.textOpenImage, onClick: () => this.handleClick(), onKeyDown: (e) => this.handleKeydown(e) }, h("slot", { key: 'eba2c8bfa1597e4cb48cd444840448c7e1389913' }, h("img", { key: '62b551ff93e925616db814771c778ae532c6a8e3', class: "spw-lightbox-item__img", src: this.src, alt: this.alt, loading: "lazy" })), this.isHover && (h("div", { key: '15639999fb71f18bbb728ae3a8245db9a9b495cd', class: "spw-lightbox-item__hover-overlay" }, h("spw-icon", { key: '21e91249bfa31456acdfd6756a27dce43014fec3', icon: this.hoverIcon }))))));
|
|
41
43
|
}
|
|
42
44
|
static get is() { return "spw-lightbox-item"; }
|
|
43
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -267,6 +269,26 @@ export class SpwLightboxItem {
|
|
|
267
269
|
"reflect": false,
|
|
268
270
|
"attribute": "is-hover",
|
|
269
271
|
"defaultValue": "true"
|
|
272
|
+
},
|
|
273
|
+
"hoverIcon": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"mutable": false,
|
|
276
|
+
"complexType": {
|
|
277
|
+
"original": "string",
|
|
278
|
+
"resolved": "string",
|
|
279
|
+
"references": {}
|
|
280
|
+
},
|
|
281
|
+
"required": false,
|
|
282
|
+
"optional": true,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "Ic\u00F4ne affich\u00E9e au survol de l'image (r\u00E9f\u00E9rence Font Awesome)"
|
|
286
|
+
},
|
|
287
|
+
"getter": false,
|
|
288
|
+
"setter": false,
|
|
289
|
+
"reflect": false,
|
|
290
|
+
"attribute": "hover-icon",
|
|
291
|
+
"defaultValue": "'fa-magnifying-glass'"
|
|
270
292
|
}
|
|
271
293
|
};
|
|
272
294
|
}
|
|
@@ -129,6 +129,12 @@ export class SpwLightbox {
|
|
|
129
129
|
this.currentAnimation = null;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
+
scrollToActiveThumbnail() {
|
|
133
|
+
if (!this.thumbnailsEl)
|
|
134
|
+
return;
|
|
135
|
+
const thumb = this.thumbnailsEl.querySelectorAll('.spw-lightbox__thumb')[this.activeIndex];
|
|
136
|
+
thumb === null || thumb === void 0 ? void 0 : thumb.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' });
|
|
137
|
+
}
|
|
132
138
|
onOpen() {
|
|
133
139
|
var _a;
|
|
134
140
|
this.cancelCurrentAnimation();
|
|
@@ -140,12 +146,14 @@ export class SpwLightbox {
|
|
|
140
146
|
var _a;
|
|
141
147
|
this.currentAnimation = null;
|
|
142
148
|
(_a = this.closeButtonEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
149
|
+
this.scrollToActiveThumbnail();
|
|
143
150
|
this.spwLightboxOpen.emit({ index: this.activeIndex });
|
|
144
151
|
});
|
|
145
152
|
}
|
|
146
153
|
catch (_b) {
|
|
147
154
|
this.currentAnimation = null;
|
|
148
155
|
(_a = this.closeButtonEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
156
|
+
this.scrollToActiveThumbnail();
|
|
149
157
|
this.spwLightboxOpen.emit({ index: this.activeIndex });
|
|
150
158
|
}
|
|
151
159
|
}
|
|
@@ -199,6 +207,9 @@ export class SpwLightbox {
|
|
|
199
207
|
return;
|
|
200
208
|
this.activeIndex = (this.activeIndex + direction + this.items.length) % this.items.length;
|
|
201
209
|
}
|
|
210
|
+
onActiveIndexChange() {
|
|
211
|
+
this.scrollToActiveThumbnail();
|
|
212
|
+
}
|
|
202
213
|
handleBackdropClick() {
|
|
203
214
|
if (this.closeOnBackdropClick) {
|
|
204
215
|
this.doClose();
|
|
@@ -210,10 +221,10 @@ export class SpwLightbox {
|
|
|
210
221
|
}
|
|
211
222
|
render() {
|
|
212
223
|
const { opened, activeItem, items, activeIndex } = this;
|
|
213
|
-
return (h(Host, { key: '
|
|
224
|
+
return (h(Host, { key: '82f09859f985e2ced84a3c23a6d9556d23fdfac3' }, h("div", { key: '07ccb0969c57164634b593244e7bdbbd77624118', inert: opened || undefined }, h("slot", { key: '703697fe06bb4e35233b45af1440333ed2907eef' })), h("div", { key: '83f8fc36eff6467eb93bfff20c7a985e8707fe20', ref: el => (this.lightboxContainer = el), class: { 'spw-lightbox': true, 'spw-lightbox--opened': opened }, role: "dialog", "aria-modal": "true", "aria-label": this.textDialogLabel }, h("div", { key: '010c22cfc2d327f22e939ddf64927f4e9d080c2b', class: "spw-lightbox__backdrop", onClick: () => this.handleBackdropClick(), "aria-hidden": "true" }), h("div", { key: '7bb393d0aac7d026fd67846ce70eef245de6d62f', class: "spw-lightbox__container" }, h("div", { key: '3cfad6891f1f3dbf61ac3873bbb59b0539e017c2', class: "spw-lightbox__toolbar" }, h("span", { key: 'a629606363df7d34e622f66fea4c9c4f3b540360', class: "spw-lightbox__counter", "aria-live": "polite" }, items.length > 0 ? `${activeIndex + 1} / ${items.length}` : ''), h("div", { key: '6f7dccb6fc628d76469b2acd370d15a78cecf91d', ref: el => (this.closeButtonEl = el), class: "spw-lightbox__close", tabIndex: 0, role: "button", onClick: () => this.doClose(), onKeyDown: (e) => {
|
|
214
225
|
if (e.key === 'Enter' || e.key === ' ')
|
|
215
226
|
this.doClose();
|
|
216
|
-
} }, h("spw-link", { key: '
|
|
227
|
+
} }, h("spw-link", { key: 'eec6d31fb305140765ef0c6642072b6908b9f847', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText))), h("div", { key: '82ee2aad1c7cb153ca077bf83c00c8684bd54314', class: "spw-lightbox__stage" }, items.length > 1 && (h("spw-button", { key: '726defc5d1930802c24c94cbc0aa6cd659426e1d', class: "spw-lightbox__nav spw-lightbox__nav--prev", "is-icon-only": true, icon: "fa-chevron-left", "acc-aria-label": this.textPrevious, variant: "secondary", onClick: () => this.navigate(-1) })), h("div", { key: '6f7582b0733bd3091cbafd9a0c07c1d86184668c', class: "spw-lightbox__image-wrapper", ref: el => (this.imageWrapperEl = el) }, activeItem && (h("div", { key: 'be5aa3822872fab8608a225ebd526c71f52e7c37', class: "spw-lightbox__image-frame" }, h("img", { class: "spw-lightbox__image", src: activeItem.src, alt: activeItem.alt || '', key: activeItem.src }), ((activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionTitle) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionText) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.copyrightText)) && (h("div", { key: '6bf0226b1ff9741ffb15d0981f17ba61db257e55', class: "spw-lightbox__caption", "aria-live": "polite" }, h("div", { key: '23f6a32908f30dcbd024283013e08760d58a0507', class: "spw-lightbox__caption-content" }, activeItem.captionTitle && h("strong", { key: '90500406e8fefe23f013d581670005d287c00ea6', class: "spw-lightbox__caption-title" }, activeItem.captionTitle), activeItem.captionText && h("span", { key: '5be08c1459ee6c6fa3be9fe8a854d0fc6967288b', class: "spw-lightbox__caption-text" }, activeItem.captionText)), activeItem.copyrightText && (h("spw-tag", { key: '3e1b3bff55708e34ba97a502ac4a65fe5bdd0448', size: "small", "icon-variant": activeItem.copyrightIconVariant, class: "spw-lightbox__copyright", icon: activeItem.copyrightIcon, href: activeItem.copyrightHref || undefined, target: activeItem.copyrightHref ? activeItem.copyrightTarget : undefined }, activeItem.copyrightText))))))), items.length > 1 && (h("spw-button", { key: 'c94feeca844f367c141bb48e23bbdb96f41e9566', class: "spw-lightbox__nav spw-lightbox__nav--next", "is-icon-only": true, icon: "fa-chevron-right", "acc-aria-label": this.textNext, variant: "secondary", onClick: () => this.navigate(1) }))), this.showThumbnails && items.length > 1 && (h("div", { key: 'c06cf2a19b7b64702180ef0303b1cc32bf85151c', class: "spw-lightbox__thumbnails", role: "tablist", "aria-label": this.textThumbnailsLabel, ref: el => (this.thumbnailsEl = el) }, items.map((item, index) => (h("button", { key: item.src, role: "tab", class: { 'spw-lightbox__thumb': true, 'spw-lightbox__thumb--active': index === activeIndex }, onClick: () => (this.activeIndex = index), "aria-selected": String(index === activeIndex), "aria-label": item.alt || this.textThumbnailItem.replace('{index}', String(index + 1)) }, h("img", { src: item.src, alt: item.alt || '', loading: "lazy" }))))))))));
|
|
217
228
|
}
|
|
218
229
|
static get is() { return "spw-lightbox"; }
|
|
219
230
|
static get encapsulation() { return "shadow"; }
|
|
@@ -497,6 +508,9 @@ export class SpwLightbox {
|
|
|
497
508
|
return [{
|
|
498
509
|
"propName": "opened",
|
|
499
510
|
"methodName": "onOpenedChange"
|
|
511
|
+
}, {
|
|
512
|
+
"propName": "activeIndex",
|
|
513
|
+
"methodName": "onActiveIndexChange"
|
|
500
514
|
}];
|
|
501
515
|
}
|
|
502
516
|
static get listeners() {
|
|
@@ -34,7 +34,7 @@ export class SpwLink {
|
|
|
34
34
|
};
|
|
35
35
|
const iconClass = `spw-icon--${iconPosition}`;
|
|
36
36
|
const iconElement = icon ? h("spw-icon", { class: iconClass, icon: icon }) : null;
|
|
37
|
-
return (h("a", Object.assign({ key: '
|
|
37
|
+
return (h("a", Object.assign({ key: '899f64c682ce6ee3236a36b795df7eb1804a0810', href: disabled ? undefined : href, rel: rel, download: download, target: target, class: this.elementClass, onClick: this.onClick }, ariaAttributes), iconPosition === 'left' && iconElement, h("div", { key: 'c87bb64a8b4055991dea51d3f95bc1e5fdbee0b7', class: "spw-link__inner" }, h("slot", { key: 'faa097c523da01a5311075c3a6a1e25897a07efd' })), iconPosition === 'right' && iconElement));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "spw-link"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class SpwListDescription {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'b4b72cc7427baab592a63fa96d94648916e15194' }, h("div", { key: '64b8ba560fb842051c84266a987e5784bc69e5a0', class: this.elementClass }, h("slot", { key: 'c104a9a85823c9a6f5d7526f2dd3594816895c16' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "spw-list-description"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,7 +106,7 @@ export class SpwListItem {
|
|
|
106
106
|
href,
|
|
107
107
|
target,
|
|
108
108
|
};
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '8c807f37bef2f056b0e5e33031c36e99ee74b3a3' }, h("li", { key: '203903edb02ba2d244b9d9375f24428e459e3a47', role: "listitem", class: this.elementClass }, this.category && (h("span", { key: '80e567a90fe0a06ac2523d74731d0fc607592045', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: '2ecb923c0fed03840648777d480f66aea1291fdf', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: 'e86f4f394260b3a396b1f04a34df4abbc28e55ea' }, attrs), h("slot", { key: '577415c2ea250cad41364c018cbadb192954d994' })), h("slot", { key: '9b1be1bfae9fcd009c8769eb504b2208e7ab82fe', name: "buttons" }))));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "spw-list-item"; }
|
|
112
112
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class SpwListTitle {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '96b5bac8e6721db88297b4881fe67424415c0227' }, h("div", { key: '719182fd51fb67dd24915bd5a8b612e1b63dd112', class: this.elementClass }, this.icon && h("spw-icon", { key: '6f96398057f175024fbdb512a8f81bfa5fc4e6ac', icon: this.icon }), h("div", { key: '27fe08ce105bcd6f80f25bcee410cc44f685a06d', class: "spw-list-title__content" }, h("div", { key: '1fda7233de36d1b92ce9abfbf8768ffab64eac20', class: "spw-list-title__content-text" }, h("slot", { key: '6a47e207887b8d60619f31ad17a3353ae85cbf4c' }))))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "spw-list-title"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class SpwList {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '437fb36977c9791f1c64020a28b56fa57127509e' }, h("ul", { key: '8c117fa57f2f8ccaaaf4fc4c7247bc57910979fe', role: "list", class: this.elementClass }, h("slot", { key: '400e532fbece3f626b96c8bf44701c583cfb0784' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "spw-list"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class SpwLoading {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '2ae810f9bac688bb2ef02ab611b4143769f5fa2e' }, h("div", { key: '822c5236811d5361e562b6efea9c8437e59e39b4', class: this.loadingClasses }, h("div", { key: '99e0addc754c008e37f0c99799244790565cbae0', class: "spw-loading__spinner" }), this.text && h("p", { key: '674e6b700e1a8b9a7816eb014344e49e38781d9e', class: "spw-loading__text" }, this.text))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "spw-loading"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,13 +166,13 @@ export class SpwModal {
|
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
|
-
return (h(Host, { key: '
|
|
169
|
+
return (h(Host, { key: 'c157646646bcdc2336f4b91b657f20bec00df4dc' }, h("div", { key: 'ecd8f315db80d19e433391a9ffe7deefc9736bd5', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: '519205765483e2739404bbe70e2e59b6c2f28b75', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: '4b3c34065c64c272ef71ede849cdf5987ebd5453', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '7bcc2f2747f6fcc70249de6913f9751e97e12a6b', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: '80ece3a351c1e0a6eb1345b70478edf1f4c7cab7', class: "spw-modal__header" }, h("div", { key: '64cb2a0695bf11a1295fae8350a62fa9ca355eff', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: 'adb258fbcba9dd8c3659dc47ef51f7c2b41e8b72', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: '778b74582a8660dec60e345fb0136a06aa5aa1a2', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: 'da8ea051072980ff579caa2556fd73bcf59ed221', class: {
|
|
170
170
|
'spw-modal__close-button': true,
|
|
171
171
|
'spw-modal__close-button--sticky': this.isCloseButtonSticky,
|
|
172
|
-
}, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: '
|
|
172
|
+
}, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: 'd9a440db7d4d25fbea422f4138695bc709894233', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: 'fc1f867b109b5e9d34a40141a0d063ad530aadac', class: "spw-modal__body" }, h("slot", { key: '6a048196c218df1d3e0145f2c27695853b5e6178', name: "content" })), h("div", { key: '57c9a3144e2c27c1e90a556c423faa230aa1bd60', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: 'b8c04462cae8435332af8769650c0bd58f950bb3', name: "buttons", onSlotchange: (e) => {
|
|
173
173
|
const slot = e.target;
|
|
174
174
|
this.slotButtonsPresent = slot.assignedNodes({ flatten: true }).length > 0;
|
|
175
|
-
} })))), h("div", { key: '
|
|
175
|
+
} })))), h("div", { key: '07522150f05d312d3773f3dd3497e41cab4015bd', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
|
|
176
176
|
}
|
|
177
177
|
static get is() { return "spw-modal"; }
|
|
178
178
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class SpwMosaicItem {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '00e72c7c829603bb27cabe751fdcd504dc0c3890' }, h("slot", { key: '2d10aedf1a608b19e016f2b280448f810927afa6' })));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "spw-mosaic-item"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -136,7 +136,7 @@ export class SpwMosaic {
|
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
|
-
return (h(Host, { key: '
|
|
139
|
+
return (h(Host, { key: '8b547bf3289b4fd36266004b56dbd4e27302f217' }, h("div", { key: 'f9156b6debf0d4cdd35d4a97e19a818ca383c6ca', class: this.elementClass }, h("slot", { key: '74e30d3012df0c9d702e5e347155c0a0b07ec84a' }))));
|
|
140
140
|
}
|
|
141
141
|
static get is() { return "spw-mosaic"; }
|
|
142
142
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,12 +167,12 @@ export class SpwPagination {
|
|
|
167
167
|
const pages = this.calculatePageRange();
|
|
168
168
|
const showPrevArrow = this.currentPage > 1;
|
|
169
169
|
const showNextArrow = this.currentPage < this.totalPages;
|
|
170
|
-
const prevArrow = showPrevArrow && (h("li", { key: '
|
|
171
|
-
const nextArrow = showNextArrow && (h("li", { key: '
|
|
172
|
-
const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '
|
|
173
|
-
const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: '
|
|
174
|
-
const mobileArrows = (h("ul", { key: '
|
|
175
|
-
return (h(Host, { key: '
|
|
170
|
+
const prevArrow = showPrevArrow && (h("li", { key: '7fc856727713395a435fc1cc18da91f0acd85995', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '9bb71a89efa59d0e11f747889160b88dbf1ec2fc', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'f18fc97f30b9e96a2d65a37ed9e1a39081d1a6e7', icon: "fa-chevron-left" }), " ", h("span", { key: '3f95dc39a955a461ea6cb2399ce025156df71d00', class: "spw-pagination__item-arrow-text" }, this.previousButtonText))));
|
|
171
|
+
const nextArrow = showNextArrow && (h("li", { key: '92ba98937967a1911e929a5da5a1b4349b55d764', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '64cd348de2aaca15eb6289677f218cd37e41f83f', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: '81d3955b3289a4fe51a0e04d8bb378c2d4130485', class: "spw-pagination__item-arrow-text" }, this.nextButtonText), " ", h("spw-icon", { key: '1ac7c8bb319a3381d6daccbc8cd27c4c3a3ea7c7', icon: "fa-chevron-right" }))));
|
|
172
|
+
const prevArrowMobile = this.currentPage > 1 && (h("li", { key: 'b299142a522b5bb76c4e049622b8cf10921edf4e', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: 'c46710f48cf19d5eaba12bd83dab27376ccd8a3d', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'cb993ccafb6d54fb0a47c359277baa2dc2403de5', icon: "fa-chevron-left" }), " ", h("span", { key: '566619f3b1e682b5b9c0e468589919bba09a609e' }, this.previousButtonText))));
|
|
173
|
+
const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: 'b14fed63757479d6e214957a6769fae410e25341', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: 'de198170a661439ce3a875dca6df19f368f54d1c', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: 'd30054736d102ea0d63a5a8de734a5641e3ab586' }, this.nextButtonText), " ", h("spw-icon", { key: 'c753c82e71a422e2bab74682951b5bd97b8769e8', icon: "fa-chevron-right" }))));
|
|
174
|
+
const mobileArrows = (h("ul", { key: 'a828a3aaad60fe42a0b6f4e7d0a9b9c849050486', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
|
|
175
|
+
return (h(Host, { key: 'ce2247c999c821b89da71c94fc106e0fee90d3b0' }, h("div", { key: '4c7b9c4ba546225d2f6fcb4088b8450e233fd7a3', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: 'bf895feed84c1553d1305352565f4651f6c6fe3d' }, h("ul", { key: 'de7c60b8809e820be93b02f2363b1981fe987cb8' }, prevArrow, h("li", { key: '478d507d688eff029e0b59ae6e0a3c483c093d51', class: "spw-pagination__input" }, h("spw-text-field", { key: '2a13cd04c4fbe018cb742645c60704189f092406', value: this.inputPageValue, type: "text", name: "pagination-input", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: 'ac0309292eaf38f8ba8de98e52df93181f43f3bb', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " ", this.totalPages === 1 ? 'page' : 'pages'), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '6c78bea5d758d2f35cec8a25dc9793ecc66f6794' }, h("ul", { key: '7f38bb32925d01d260194b2b31c527cf824f2fad' }, prevArrow, pages.map(({ page, class: pageClass }) => {
|
|
176
176
|
if (page === '...') {
|
|
177
177
|
return (h("li", { class: `spw-pagination__item spw-pagination__item--dots ${pageClass}` }, h("spw-icon", { icon: "fa-ellipsis" })));
|
|
178
178
|
}
|
|
@@ -92,7 +92,7 @@ export class SpwRadio {
|
|
|
92
92
|
render() {
|
|
93
93
|
const slot = this.el.innerHTML;
|
|
94
94
|
const hasSlot = Boolean(slot);
|
|
95
|
-
return (h("div", { key: '
|
|
95
|
+
return (h("div", { key: '47efe59c76a4f954ce5d26a3216191dd29afd9df', class: "spw-radio" }, h("input", { key: '5f59504f0f33ad7d0766cf7de98447a0eb647409', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (h("label", { key: 'f4d11ee58a38639ffc1b0498861a049740b17918', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, h("slot", { key: '93c35db720d1a72c4e3ecb2176cb519a497df536' }))), h("div", { key: 'abfa13ceab33fe73666dbecfdbf374b8f6e7d305', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && h("span", { key: '404be653243de6f143b9e6bd35b636c37590fdc4', class: "spw-radio__circle" }))));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "spw-radio"; }
|
|
98
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,7 +73,7 @@ export class SpwScrolltop {
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '08b90aa1778356f75e37f706967d87df2e0a2fb0', class: this.hostClass }, h("spw-button", { key: '8876a5e6a33275b96bb398f91b1c8214825a6815', "is-icon-only": true, icon: "fa-chevron-up", variant: "primary", size: "medium", "acc-aria-label": this.accAriaLabel, onClick: this.scrollToTop })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "spw-scrolltop"; }
|
|
79
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class SpwSeparator {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return h("div", { key: '
|
|
30
|
+
return h("div", { key: 'cb9f9352e8fe63d8590f2684783008a7bd5bc3af', class: this.elementClass, style: this.style });
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "spw-separator"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class SpwSidebarNavigationDropdown {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a09832033f54944847f3f205320c33a111737e0c', class: this.classes }, h("div", { key: '4e2c094cdfd6bf277a147a1d9c7b423c5cb66692', class: "spw-sidebar-navigation-dropdown__content", style: { display: this.open ? 'block' : 'none' } }, h("slot", { key: 'c220e66a00c6b8fa1c84c6ed96fe006325993b91' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "spw-sidebar-navigation-dropdown"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -169,14 +169,14 @@ export class SpwSidebarNavigationItem {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
const Tag = this.href && !this.disabled && !this.openOnClick ? 'a' : 'div';
|
|
172
|
-
const iconContent = h("spw-icon", { key: '
|
|
173
|
-
const iconDiv = (h("div", { key: '
|
|
172
|
+
const iconContent = h("spw-icon", { key: '42a63e213de4e53aa9235dad75fce325cfa37b30', variant: this.iconVariant, icon: this.icon });
|
|
173
|
+
const iconDiv = (h("div", { key: 'eed54df9bc775ced921b5c1712edd8dda7646f1b', class: "spw-sidebar-navigation-item__icon" }, this.bubble && h("span", { key: 'ea3064849a84505f07a9a3bfda0c4878300b9fed', class: "spw-sidebar-navigation-item__bubble" }, this.bubble), iconContent));
|
|
174
174
|
const iconWithBubble = this.tooltipTitle ? (h("spw-tooltip", { cursor: this.disabled ? 'disabled' : 'pointer', "tooltip-title": this.tooltipTitle, direction: "right", visible: !this.navExpanded }, iconDiv)) : (iconDiv);
|
|
175
175
|
const toggleClasses = {
|
|
176
176
|
'spw-sidebar-navigation-item__dropdown-toggle': true,
|
|
177
177
|
'spw-sidebar-navigation-item__dropdown-toggle--open': this.dropdownOpen,
|
|
178
178
|
};
|
|
179
|
-
return (h(Tag, { key: '
|
|
179
|
+
return (h(Tag, { key: '13df8f8842f6462b3f8edd21516f7f39cc432426', class: this.classes, href: this.openOnClick ? undefined : this.href, "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.openOnClick ? this.handleItemClick : undefined }, this.icon && iconWithBubble, h("div", { key: 'af85cbcfef4a88528375c3f86742f37d03a1176e', class: "spw-sidebar-navigation-item__content" }, h("div", { key: 'd287f9f10de41c50dab16fa41af099c29a5403af', class: "spw-sidebar-navigation-item__content-label" }, h("slot", { key: '768ecdf1c6c7c01b17cbcd530078afcda3ffee94' })), this.hasDropdown && (h("div", { key: '359b560748ef0405200c6ee2e72162a3cf04d4e8', class: toggleClasses, onClick: this.handleDropdownToggle, tabIndex: this.disabled ? -1 : 0 }, h("spw-icon", { key: '6073faa5bcbe95fc52961b82f302fb4376497d51', icon: "fa-chevron-down" }))), h("slot", { key: '5a987a9bb1674f518913152b98473ea35cb8e8bb', name: "dropdown" }))));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "spw-sidebar-navigation-item"; }
|
|
182
182
|
static get originalStyleUrls() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSidebarNavigationSeparator {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a5f50817adf56657396cf202011494ad5c2fd592' }, h("spw-separator", { key: '1163508fd0a7ac043f8a7064b8d8c9f8fece49eb', class: "spw-sidebar-navigation-separator" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-sidebar-navigation-separator"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class SpwSidebar {
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '46250ef2a149749f3d0a96f56e2498c7458a1153', class: this.hostClass }, h("div", { key: 'a5631cfa7283ac399bfdf2500ac95058d4ac46ea', class: this.elementClass }, h("span", { key: 'd075af3a76768d86d5fda59b6eaf8e5368e53d9a', class: "spw-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '235e9cf448dde333f03b9c59c7530b68b48fd930', icon: "fa-chevron-right" })), h("div", { key: '5dc0f608646776401f3d0e2e6666e6970a8a2944', class: "spw-sidebar__content" }, h("slot", { key: '997b8095ef8a6c0b1795bc02fa4bae75adff1fda', name: "navigation-top" }), h("slot", { key: '8c268454179aca288142733cfb0215431367dc02', name: "navigation-bottom" })), h("div", { key: '376a037cd6624a6e178e8d35695045dd29d4a7f2', class: "spw-sidebar__resize-border", onClick: this.toggleSidebar }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "spw-sidebar"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class SpwSkeleton {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '591d7c8fee3a91892216a183c18b6ec745676a8b' }, h("div", { key: '6261ca275de6a92fccc52aedd3d4890583741ee8', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: '1da18a6c628ea8cf70619e311de25cbf7ddbbf32' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "spw-skeleton"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSliderItem {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '8064f405d8ad567f5c33aa11455f014309ab4a00' }, h("div", { key: '71edca59cf563786b07c6c0085f5e9fb70e6ab37', class: "spw-slider-item" }, h("slot", { key: '196685792983ba66371a07ea9202293438f732c0' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-slider-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -474,6 +474,15 @@ template {
|
|
|
474
474
|
padding: 8px;
|
|
475
475
|
border-radius: 999px;
|
|
476
476
|
}
|
|
477
|
+
.spw-slider__dots--outside {
|
|
478
|
+
position: relative;
|
|
479
|
+
bottom: auto;
|
|
480
|
+
left: auto;
|
|
481
|
+
transform: none;
|
|
482
|
+
box-shadow: none;
|
|
483
|
+
display: inline-flex;
|
|
484
|
+
border: 1px solid var(--spw-color-themes-grey-grey-300);
|
|
485
|
+
}
|
|
477
486
|
|
|
478
487
|
.spw-slider__dot {
|
|
479
488
|
width: 12px;
|
|
@@ -496,6 +505,12 @@ template {
|
|
|
496
505
|
outline-offset: 2px;
|
|
497
506
|
}
|
|
498
507
|
|
|
508
|
+
.spw-slider__dots-container {
|
|
509
|
+
display: flex;
|
|
510
|
+
justify-content: center;
|
|
511
|
+
margin-top: 12px;
|
|
512
|
+
}
|
|
513
|
+
|
|
499
514
|
.spw-slider__autoplay-toggle {
|
|
500
515
|
margin-top: 12px;
|
|
501
516
|
}
|
|
@@ -15,6 +15,8 @@ export class SpwSlider {
|
|
|
15
15
|
this.autoplayText = 'Défilement automatique';
|
|
16
16
|
/** Position des flèches gauche/droite */
|
|
17
17
|
this.arrowsPosition = 'inside';
|
|
18
|
+
/** Position des dots de navigation */
|
|
19
|
+
this.dotsPosition = 'inside';
|
|
18
20
|
/** Texte aria-label pour la slide suivante */
|
|
19
21
|
this.nextSlideText = 'Slide suivante';
|
|
20
22
|
/** Texte aria-label du slider */
|
|
@@ -380,13 +382,19 @@ export class SpwSlider {
|
|
|
380
382
|
return {
|
|
381
383
|
'spw-slider': true,
|
|
382
384
|
[`spw-slider--arrows-${this.arrowsPosition}`]: true,
|
|
385
|
+
[`spw-slider--dots-${this.dotsPosition}`]: true,
|
|
383
386
|
};
|
|
384
387
|
}
|
|
385
|
-
|
|
386
|
-
|
|
388
|
+
renderDots() {
|
|
389
|
+
if (!this.showDots || this.totalSlides <= 1)
|
|
390
|
+
return null;
|
|
391
|
+
return (h("div", { class: { 'spw-slider__dots': true, 'spw-slider__dots--outside': this.dotsPosition === 'outside' } }, Array.from({ length: this.totalSlides }, (_, i) => (h("button", { class: {
|
|
387
392
|
'spw-slider__dot': true,
|
|
388
393
|
'spw-slider__dot--active': i === this.activeIndex,
|
|
389
|
-
}, onClick: () => this.handleDotClick(i), "aria-label": `
|
|
394
|
+
}, onClick: () => this.handleDotClick(i), "aria-label": `Slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))));
|
|
395
|
+
}
|
|
396
|
+
render() {
|
|
397
|
+
return (h(Host, { key: '9758082446f0a3b3e65bac691f6e34d15833bc4b' }, h("div", { key: 'cf0d29a8ec559358c2f906e39d2eb90eef9eb514', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: 'd240ff65359231b569ea3e04dbcb958179852a98', class: "spw-slider__track" }, h("slot", { key: '8ddacc2a7c985fc671c173530049ae02f39b9d49' })), this.showArrows && (h("div", { key: '2904694c4940ddb3fcc5e384fc779d7211cf79d4', class: "spw-slider__navigation" }, h("button", { key: '619aad83d4734e286baa8dfa478b731b26eae91b', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: 'b293d9ddb5aa1320a4cfea56b03f323d01e05a2f', icon: "fa-chevron-left" })), h("button", { key: '8c81743bb19a79a5bdcdae5f18b0924ad12c1625', class: "spw-slider__arrow spw-slider__arrow--next", onClick: this.handleNext, disabled: this.activeIndex === this.totalSlides - 1, "aria-label": this.nextSlideText }, h("spw-icon", { key: 'd39683b36b137d1a9a91204ffb72d1f30a9e2d4a', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: 'a90199d4a4af6c19e57ec64d8b7896c3f88e30d5', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: '11c54e1c6a794172b12db93b158abde1f895d9d0', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '5f089b0c2885dce6885631c61ba0b58cfce4a30d', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
|
|
390
398
|
}
|
|
391
399
|
static get is() { return "spw-slider"; }
|
|
392
400
|
static get encapsulation() { return "shadow"; }
|
|
@@ -542,6 +550,26 @@ export class SpwSlider {
|
|
|
542
550
|
"attribute": "arrows-position",
|
|
543
551
|
"defaultValue": "'inside'"
|
|
544
552
|
},
|
|
553
|
+
"dotsPosition": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"mutable": false,
|
|
556
|
+
"complexType": {
|
|
557
|
+
"original": "'inside' | 'outside'",
|
|
558
|
+
"resolved": "\"inside\" | \"outside\"",
|
|
559
|
+
"references": {}
|
|
560
|
+
},
|
|
561
|
+
"required": false,
|
|
562
|
+
"optional": false,
|
|
563
|
+
"docs": {
|
|
564
|
+
"tags": [],
|
|
565
|
+
"text": "Position des dots de navigation"
|
|
566
|
+
},
|
|
567
|
+
"getter": false,
|
|
568
|
+
"setter": false,
|
|
569
|
+
"reflect": false,
|
|
570
|
+
"attribute": "dots-position",
|
|
571
|
+
"defaultValue": "'inside'"
|
|
572
|
+
},
|
|
545
573
|
"nextSlideText": {
|
|
546
574
|
"type": "string",
|
|
547
575
|
"mutable": false,
|
|
@@ -5,7 +5,7 @@ export class SpwSocials {
|
|
|
5
5
|
this.mainTitle = 'Restez connecté';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'ef2efe65705a05744f53b418910e453beb834dca' }, h("div", { key: 'd0f404f5c5be2576318ed1642858aabea4802d38', class: "spw-socials" }, h("div", { key: '84433f0219b6c80c9499a25a450934b7fc7fcb42', class: "spw-ds-container" }, h("h2", { key: 'c2866d48c91e18c9b58afedd33cf75557461d9d9', class: "spw-socials__title" }, this.mainTitle), h("div", { key: 'c454151009e9aab4e3e7f4d454014186325bfeb5', class: "spw-socials__content" }, h("slot", { key: '0aaa6216c6d09e3d0b8399fc49255838a15a8bc0' }))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "spw-socials"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -33,7 +33,7 @@ export class SpwTableBody {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("tbody", { key: '
|
|
36
|
+
return (h("tbody", { key: 'bf9fbba708af2fbc4d6374c4a7a26c508360b263', part: "tbody" }, h("slot", { key: 'eb966739f52c7070acd2ac9ab55c5e4da0d7dc83' })));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "spw-table-body"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class SpwTableCell {
|
|
|
87
87
|
}
|
|
88
88
|
attrs.style = stickyStyles;
|
|
89
89
|
}
|
|
90
|
-
return (h("td", Object.assign({ key: '
|
|
90
|
+
return (h("td", Object.assign({ key: '179dc46eb3062f62e3a868434f5676e88d6237f5' }, attrs), h("slot", { key: '8c074ae9a64ff660bbee3a7000f8605f8610a631' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "spw-table-cell"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|