@spw-ds/spw-stencil-library 1.18.0 → 1.20.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 +483 -31
- package/dist/cjs/{index-D3lyhQSW.js → index-CfCTfMKB.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +138 -17
- package/dist/cjs/spw-alert.cjs.entry.js +5 -12
- package/dist/cjs/spw-avatar.cjs.entry.js +2 -2
- package/dist/cjs/spw-block-content.cjs.entry.js +4 -3
- package/dist/cjs/spw-box.cjs.entry.js +6 -7
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/spw-button_2.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-image.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +6 -4
- package/dist/cjs/spw-card-subtags.cjs.entry.js +3 -3
- package/dist/cjs/spw-card-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-card.cjs.entry.js +2 -2
- package/dist/cjs/spw-checkbox.cjs.entry.js +25 -3
- 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 +2 -2
- package/dist/cjs/spw-drawer.cjs.entry.js +5 -5
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-field-label_8.cjs.entry.js +55 -13
- package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/spw-header.cjs.entry.js +65 -17
- 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 +12 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +54 -6
- 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 +27 -3
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +52 -3
- package/dist/cjs/spw-select.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +9 -6
- package/dist/cjs/spw-sidenav.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/spw-socials.cjs.entry.js +3 -3
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +7 -3
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc.cjs.entry.js +3 -3
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +77 -3
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +16 -0
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +21 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +3 -0
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +98 -3
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +14 -0
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +23 -1
- package/dist/collection/components/spw-accordion/spw-accordion.css +1 -0
- package/dist/collection/components/spw-accordion/spw-accordion.js +11 -7
- package/dist/collection/components/spw-alert/spw-alert.css +32 -14
- package/dist/collection/components/spw-alert/spw-alert.js +6 -14
- package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.css +13 -0
- package/dist/collection/components/spw-block-content/spw-block-content.js +2 -1
- package/dist/collection/components/spw-box/spw-box.css +0 -4
- package/dist/collection/components/spw-box/spw-box.js +5 -7
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
- package/dist/collection/components/spw-button/spw-button.js +1 -1
- package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
- package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +1 -0
- package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +4 -2
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +1 -1
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
- package/dist/collection/components/spw-card/spw-card.js +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +59 -2
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +25 -3
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
- package/dist/collection/components/spw-drawer/spw-drawer.css +3 -1
- package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.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 +57 -1
- package/dist/collection/components/spw-group/spw-group.js +133 -5
- 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 +5 -2
- 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.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 +0 -6
- package/dist/collection/components/spw-header/spw-header.js +80 -15
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-icon/spw-icon.js +1 -1
- 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 +4 -0
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +15 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.css +11 -0
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +134 -25
- package/dist/collection/components/spw-link/spw-link.css +4 -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.css +58 -0
- package/dist/collection/components/spw-radio/spw-radio.js +45 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +90 -6
- package/dist/collection/components/spw-select/spw-select.js +20 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.css +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.css +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-sidenav/spw-sidenav-group/spw-sidenav-group.css +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +7 -3
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +84 -4
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
- 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.js +1 -1
- package/dist/collection/components/spw-socials/spw-socials.css +1 -1
- 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.css +4 -0
- 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.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 +20 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +20 -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-toast/spw-toast-controller/spw-toast-controller.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +5 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc.css +1 -1
- 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.css +3 -0
- package/dist/collection/components/spw-wizard/spw-wizard.js +86 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +2 -1
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +2 -1
- package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +2 -1
- package/dist/collection/stories/components/spw-button/spw-button.stories.js +2 -1
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +60 -2
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +2 -1
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +2 -1
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +2 -1
- package/dist/collection/stories/components/spw-file-upload/spw-file-upload.stories.js +2 -1
- package/dist/collection/stories/components/spw-icon/spw-icon.stories.js +2 -1
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +2 -1
- package/dist/collection/stories/components/spw-link/spw-link.stories.js +2 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +2 -1
- package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +2 -1
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +97 -1
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +2 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +101 -71
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +2 -1
- package/dist/collection/stories/components/spw-separator/spw-separator.stories.js +2 -1
- package/dist/collection/stories/components/spw-skeleton/spw-skeleton.stories.js +2 -1
- package/dist/collection/stories/components/spw-tag/spw-tag.stories.js +2 -1
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +2 -1
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +2 -1
- package/dist/collection/stories/components/spw-tooltip/spw-tooltip.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +159 -2
- package/dist/collection/stories/organisms/spw-alert/spw-alert.stories.js +30 -29
- package/dist/collection/stories/organisms/spw-drawer/spw-drawer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-footer/spw-footer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-grid/spw-grid.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +116 -3
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +1 -160
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +4 -2
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-modal/spw-modal.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-sidebar/spw-sidebar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +64 -0
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +12 -6
- package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-timeline/spw-timeline.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +3 -3
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-wizard/spw-wizard.stories.js +10 -5
- package/dist/collection/utils/syntax.js +126 -0
- package/dist/collection/utils/utils.js +6 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-4jNBpzmg.js → p-BTTY1Aoh.js} +1 -1
- package/dist/components/{p-m6pRrrVB.js → p-CZ233jUc.js} +1 -1
- package/dist/components/p-CzRB_COv.js +1 -0
- package/dist/components/{p-D9JMaCxL.js → p-D7kEk_Bq.js} +1 -1
- package/dist/components/{p-DfbLlF27.js → p-D9yobKiX.js} +1 -1
- package/dist/components/{p-DaITe5yi.js → p-DFkINEAb.js} +1 -1
- package/dist/components/{p-BD9dpai3.js → p-DNh7jzbV.js} +1 -1
- package/dist/components/p-DmD0U8OW.js +1 -0
- package/dist/components/p-DxQ74GK8.js +1 -0
- package/dist/components/{p-hfJhpq7W.js → p-EnUTqnRk.js} +1 -1
- package/dist/components/p-N9GtuZLt.js +1 -0
- package/dist/components/{p-C-XK7DW-.js → p-_nYzjIHU.js} +1 -1
- package/dist/components/{p-BvJ60OkW.js → p-ijn7X7l6.js} +1 -1
- package/dist/components/p-qWBjG9IQ.js +1 -0
- package/dist/components/{p-10usqMv_.js → p-rooGoPru.js} +1 -1
- package/dist/{spw-stencil-library/p-82ccac76.entry.js → components/p-yXpAcpXR.js} +1 -1
- package/dist/components/spw-accordion-content.js +1 -1
- package/dist/components/spw-accordion-item.js +1 -1
- package/dist/components/spw-accordion-title.js +1 -1
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-alert.js +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-box.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-breadcrumb.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card-content.js +1 -1
- package/dist/components/spw-card-excerpt.js +1 -1
- package/dist/components/spw-card-image.js +1 -1
- package/dist/components/spw-card-subtag-item.js +1 -1
- package/dist/components/spw-card-subtags.js +1 -1
- package/dist/components/spw-card-title.js +1 -1
- package/dist/components/spw-card.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-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-drawer.js +1 -1
- package/dist/components/spw-dropdown-container.js +1 -1
- package/dist/components/spw-dropdown-item.js +1 -1
- package/dist/components/spw-dropdown.js +1 -1
- package/dist/components/spw-field-label.js +1 -1
- package/dist/components/spw-field-message.js +1 -1
- package/dist/components/spw-file-upload.js +1 -1
- package/dist/components/spw-footer-bottom.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-footer-content.js +1 -1
- package/dist/components/spw-footer-link.js +1 -1
- package/dist/components/spw-footer.js +1 -1
- package/dist/components/spw-grid-item.js +1 -1
- package/dist/components/spw-grid.js +1 -1
- package/dist/components/spw-group.js +1 -1
- package/dist/components/spw-header-lang.js +1 -1
- package/dist/components/spw-header-navigation-dropdown.js +1 -1
- package/dist/components/spw-header-navigation-item.js +1 -1
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-header-persona-item.js +1 -1
- package/dist/components/spw-header-persona.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-icon.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-lightbox-item.js +1 -1
- package/dist/components/spw-lightbox.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +4 -4
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-sidenav-group.js +1 -1
- package/dist/components/spw-sidenav-item.js +1 -1
- package/dist/components/spw-sidenav.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toast-controller.js +1 -1
- package/dist/components/spw-toast.js +1 -1
- package/dist/components/spw-toc-container.js +1 -1
- package/dist/components/spw-toc-navigation.js +1 -1
- package/dist/components/spw-toc.js +1 -1
- package/dist/components/spw-tooltip.js +1 -1
- package/dist/components/spw-topbar.js +1 -1
- package/dist/components/spw-wizard-item.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +706 -49
- package/dist/components_vscode.json +5656 -0
- package/dist/esm/{index-DkNryMko.js → index-mthi2pFj.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +138 -17
- package/dist/esm/spw-alert.entry.js +5 -12
- package/dist/esm/spw-avatar.entry.js +2 -2
- package/dist/esm/spw-block-content.entry.js +4 -3
- package/dist/esm/spw-box.entry.js +6 -7
- package/dist/esm/spw-breadcrumb-item.entry.js +2 -2
- package/dist/esm/spw-breadcrumb.entry.js +2 -2
- package/dist/esm/spw-button_2.entry.js +3 -3
- package/dist/esm/spw-card-content.entry.js +2 -2
- package/dist/esm/spw-card-excerpt.entry.js +2 -2
- package/dist/esm/spw-card-image.entry.js +2 -2
- package/dist/esm/spw-card-subtag-item.entry.js +6 -4
- package/dist/esm/spw-card-subtags.entry.js +3 -3
- package/dist/esm/spw-card-title.entry.js +2 -2
- package/dist/esm/spw-card.entry.js +2 -2
- package/dist/esm/spw-checkbox.entry.js +25 -3
- 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 +2 -2
- package/dist/esm/spw-drawer.entry.js +5 -5
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +3 -3
- package/dist/esm/spw-dropdown.entry.js +2 -2
- package/dist/esm/spw-field-label_8.entry.js +55 -13
- package/dist/esm/spw-file-upload.entry.js +3 -3
- package/dist/esm/spw-footer-bottom.entry.js +2 -2
- package/dist/esm/spw-footer-content-col.entry.js +2 -2
- package/dist/esm/spw-footer-content.entry.js +2 -2
- package/dist/esm/spw-footer-link.entry.js +2 -2
- package/dist/esm/spw-footer.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/spw-header.entry.js +65 -17
- 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 +12 -3
- package/dist/esm/spw-lightbox.entry.js +54 -6
- 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 +27 -3
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +52 -3
- package/dist/esm/spw-select.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-item.entry.js +5 -5
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-sidenav-group.entry.js +4 -4
- package/dist/esm/spw-sidenav-item.entry.js +9 -6
- package/dist/esm/spw-sidenav.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/spw-socials.entry.js +3 -3
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +7 -3
- package/dist/esm/spw-toc-navigation.entry.js +2 -2
- package/dist/esm/spw-toc.entry.js +3 -3
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +77 -3
- package/dist/spw-stencil-library/{p-9c747e12.entry.js → p-00eb3fc6.entry.js} +1 -1
- package/dist/spw-stencil-library/p-020b4537.entry.js +1 -0
- package/dist/spw-stencil-library/{p-62442334.entry.js → p-030f69b3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-98f14c76.entry.js → p-074c9eb4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e27e96a2.entry.js → p-0db31b24.entry.js} +1 -1
- package/dist/spw-stencil-library/p-0dba5faf.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c6298162.entry.js → p-105b9fc6.entry.js} +1 -1
- package/dist/spw-stencil-library/p-12052c7f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-85fd474d.entry.js → p-13b5e2e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-35c26140.entry.js → p-13d1d1a1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4e15e0c1.entry.js → p-1428b28a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9a839525.entry.js → p-154a2f90.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b98b556b.entry.js → p-15cc6506.entry.js} +1 -1
- package/dist/spw-stencil-library/p-16a60b1b.entry.js +1 -0
- package/dist/spw-stencil-library/p-17d35cee.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9ac3913a.entry.js → p-1c021756.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-226bf7b7.entry.js → p-1f91c68f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b6b496d2.entry.js → p-1fe079d1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7a47432f.entry.js → p-27769aed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4898b89b.entry.js → p-29e1b7ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d302a2b5.entry.js → p-2b9ffd95.entry.js} +1 -1
- package/dist/spw-stencil-library/p-31830ac7.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6a6b2237.entry.js → p-32587b59.entry.js} +1 -1
- package/dist/spw-stencil-library/p-348f1398.entry.js +1 -0
- package/dist/spw-stencil-library/{p-6278d28f.entry.js → p-36ef809d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a9c3f05b.entry.js → p-37894ae0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-efab43e2.entry.js → p-3e0a3cbd.entry.js} +4 -4
- package/dist/spw-stencil-library/p-40f40ab3.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ec9b89b8.entry.js → p-4667f645.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fb4b6547.entry.js → p-4fa02be3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-4fbeb3f5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-43ac8164.entry.js → p-514d03e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c8185d55.entry.js → p-54a965f4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-021fc983.entry.js → p-5f4a8aaf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b2be5886.entry.js → p-605e3722.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2592a5e.entry.js → p-61f2278c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1156e45c.entry.js → p-68674b0f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e76535ee.entry.js → p-68883d0b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdce1731.entry.js → p-6c85ba9a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee69af5f.entry.js → p-6db83ee1.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7168b693.entry.js +1 -0
- package/dist/spw-stencil-library/{p-1d57cc99.entry.js → p-7a927b3d.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7fb7c421.entry.js +1 -0
- package/dist/spw-stencil-library/{p-958dadb3.entry.js → p-816980dc.entry.js} +1 -1
- package/dist/spw-stencil-library/p-85660075.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a13fadc5.entry.js → p-899f21ca.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-42c5ae2b.entry.js → p-89e7e9ed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3bcafcbf.entry.js → p-8ce39569.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6aef58f4.entry.js → p-911379c9.entry.js} +1 -1
- package/dist/spw-stencil-library/p-91f21a93.entry.js +1 -0
- package/dist/spw-stencil-library/{p-71ef7b30.entry.js → p-9900c3e8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-837ac8f1.entry.js → p-9a0ccce8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-83017509.entry.js → p-9ac75aa3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-435c6572.entry.js → p-a0027de0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a19386d3.entry.js → p-a28732e3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ccbe0d67.entry.js → p-a292c806.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a527d245.entry.js +1 -0
- package/dist/spw-stencil-library/{p-53d34813.entry.js → p-ab310621.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ef82674.entry.js → p-ab7d74f0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e684eb0a.entry.js → p-ae8a6054.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-15fcedc4.entry.js → p-b0b2f9ce.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8ee5de40.entry.js → p-b32a76cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdea1755.entry.js → p-b45175b2.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b5716911.entry.js +1 -0
- package/dist/spw-stencil-library/p-b73d8a54.entry.js +1 -0
- package/dist/spw-stencil-library/p-b969ceba.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8488c882.entry.js → p-c0fb3674.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c02151d3.entry.js → p-c369f61b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-30f7cb1e.entry.js → p-c5dbb538.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-33a767a3.entry.js → p-c93bf39b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-646c04fa.entry.js → p-ca38f08f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-faa20925.entry.js → p-ca439c3b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-cadcb419.entry.js +1 -0
- package/dist/spw-stencil-library/p-cb506a6f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-32f90343.entry.js → p-cd7eef16.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-07c59244.entry.js → p-ce583729.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-609873b3.entry.js → p-d3e4ff9e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8a0cf2d4.entry.js → p-d87aaef9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-db281173.entry.js → p-df0a11b9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5c50027b.entry.js → p-e1b3f417.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-77a95d12.entry.js → p-e6beadc2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a4a4c3b3.entry.js → p-ea11c40b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-58eddc91.entry.js → p-ecc49c2e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-70d3f435.entry.js → p-ed4747f2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-03c76e20.entry.js → p-ed53f129.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e7ca2e4.entry.js → p-ee625904.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a4532a5f.entry.js → p-f11412df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9baceb97.entry.js → p-f214f8e4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-18563d7b.entry.js → p-f29ddbe8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2a6388d4.entry.js → p-f4046756.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c20c15d5.entry.js → p-f9e5eaf8.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f9f9c695.entry.js +1 -0
- package/dist/spw-stencil-library/{p-4b49ce46.entry.js → p-faf4a80a.entry.js} +1 -1
- package/dist/spw-stencil-library/p-fc10235a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-5a55e5c5.entry.js → p-fc1ccbf0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cab00494.entry.js → p-fe41767f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-29f4d921.entry.js → p-ffa41886.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-DkNryMko.js → p-mthi2pFj.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 +2203 -1032
- package/dist/types/components/spw-accordion/spw-accordion-content/spw-accordion-content.d.ts +3 -0
- package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +13 -0
- package/dist/types/components/spw-accordion/spw-accordion-title/spw-accordion-title.d.ts +2 -0
- package/dist/types/components/spw-accordion/spw-accordion.d.ts +1 -1
- package/dist/types/components/spw-alert/spw-alert.d.ts +2 -5
- package/dist/types/components/spw-box/spw-box.d.ts +0 -1
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +3 -1
- package/dist/types/components/spw-group/spw-group.d.ts +20 -2
- package/dist/types/components/spw-header/spw-header.d.ts +12 -0
- package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +4 -0
- package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +13 -2
- package/dist/types/components/spw-radio/spw-radio.d.ts +4 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +10 -0
- package/dist/types/components/spw-select/spw-select.d.ts +2 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +8 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +2 -0
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +2 -0
- package/dist/types/components/spw-toc/spw-toc-container/spw-toc-container.d.ts +1 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +22 -0
- package/dist/types/components.d.ts +211 -23
- package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +2 -0
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-accordion/spw-accordion.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-alert/spw-alert.stories.d.ts +1 -1
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +2 -1
- package/dist/types/utils/syntax.d.ts +33 -0
- package/hydrate/index.js +672 -209
- package/hydrate/index.mjs +672 -209
- package/package.json +2 -2
- package/dist/components/p-BpHhLSNA.js +0 -1
- package/dist/components/p-C2YutT5r.js +0 -1
- package/dist/components/p-C5H3D_hy.js +0 -1
- package/dist/components/p-Ci0r8I9g.js +0 -1
- package/dist/components/p-DVxJ3wRZ.js +0 -1
- package/dist/components/p-jLNjkOd-.js +0 -1
- package/dist/spw-stencil-library/p-00e913ab.entry.js +0 -1
- package/dist/spw-stencil-library/p-15714574.entry.js +0 -1
- package/dist/spw-stencil-library/p-1b2219c5.entry.js +0 -1
- package/dist/spw-stencil-library/p-264d68af.entry.js +0 -1
- package/dist/spw-stencil-library/p-2b2908f6.entry.js +0 -1
- package/dist/spw-stencil-library/p-54d3bb05.entry.js +0 -1
- package/dist/spw-stencil-library/p-70b7b977.entry.js +0 -1
- package/dist/spw-stencil-library/p-77802474.entry.js +0 -1
- package/dist/spw-stencil-library/p-836800d9.entry.js +0 -1
- package/dist/spw-stencil-library/p-8b631b5d.entry.js +0 -1
- package/dist/spw-stencil-library/p-a36010c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-a8aef45b.entry.js +0 -1
- package/dist/spw-stencil-library/p-aecc5c7b.entry.js +0 -1
- package/dist/spw-stencil-library/p-bbd74c62.entry.js +0 -1
- package/dist/spw-stencil-library/p-c9cca975.entry.js +0 -1
- package/dist/spw-stencil-library/p-e2f667f7.entry.js +0 -1
- package/dist/spw-stencil-library/p-e6546573.entry.js +0 -1
- package/dist/spw-stencil-library/p-e67a2ab2.entry.js +0 -1
- package/dist/spw-stencil-library/p-e68ac654.entry.js +0 -1
- package/dist/spw-stencil-library/p-e9262506.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
import { a as animationTo, K as KEYFRAMES } from './animation-BRFNx2DL.js';
|
|
3
3
|
|
|
4
|
-
const spwLightboxCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents}:host>div:first-child{display:contents}.spw-lightbox{display:none;position:fixed;inset:0;z-index:1070;align-items:center;justify-content:center}.spw-lightbox--opened{display:flex}.spw-lightbox__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.68);backdrop-filter:blur(9.5px);cursor:pointer}.spw-lightbox__container{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;max-width:1200px;height:100dvh;padding:0 16px 16px;box-sizing:border-box;gap:12px;pointer-events:none}.spw-lightbox__container>*{pointer-events:auto}.spw-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 0 0;color:#fff;pointer-events:none}.spw-lightbox__toolbar>*{pointer-events:auto}.spw-lightbox__counter{font-size:14px;opacity:0.8}.spw-lightbox__close{cursor:pointer;font-size:14px;display:inline-flex;align-items:center;flex-wrap:nowrap;justify-content:center;padding:3px 6px;border-radius:4px;outline:3px solid transparent}.spw-lightbox__close:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}.spw-lightbox__close spw-link{--spw-link-color:#fff;--spw-link-hover-color:#fff;--spw-link-active-color:#fff;--spw-link-wrap:nowrap;pointer-events:none}.spw-lightbox__stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:12px;pointer-events:none}.spw-lightbox__stage>*{pointer-events:auto}@media (min-width: 1024px){.spw-lightbox__stage{gap:36px}}.spw-lightbox__image-wrapper{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden}.spw-lightbox__image-frame{position:relative;display:inline-flex;max-width:100%;max-height:80vh;border-radius:16px;overflow:hidden}.spw-lightbox__image{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:cover;border-radius:16px}.spw-lightbox__nav{flex-shrink:0}@media (max-width: 767px){.spw-lightbox__nav{display:none}}.spw-lightbox__caption{position:absolute;bottom:0;left:0;width:100%;padding:24px;padding-top:10%;box-sizing:border-box;background:linear-gradient(to bottom, transparent, rgb(0, 0, 0));display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px;pointer-events:none;border-radius:0 0 4px 4px}.spw-lightbox__caption-content{display:flex;flex-direction:column;gap:4px;min-width:0}.spw-lightbox__caption-title{display:block;color:#fff;font-size:16px;font-weight:700;line-height:1.3}.spw-lightbox__caption-text{display:block;color:rgba(255, 255, 255, 0.85);font-size:14px;line-height:1.5}.spw-lightbox__copyright{flex-shrink:0;pointer-events:all}.spw-lightbox__thumbnails{display:flex;justify-content:safe center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px;scrollbar-width:none;pointer-events:none}.spw-lightbox__thumbnails>*{pointer-events:auto}.spw-lightbox__thumbnails::-webkit-scrollbar{display:none}.spw-lightbox__thumb{width:56px;height:56px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;cursor:pointer;background:none;transition:border-color 0.15s, opacity 0.15s;opacity:0.5;flex-shrink:0}.spw-lightbox__thumb img{width:100%;height:100%;object-fit:cover;display:block}.spw-lightbox__thumb--active{border-color:#fff;opacity:1}.spw-lightbox__thumb:hover{opacity:0.85}.spw-lightbox__thumb:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}`;
|
|
4
|
+
const spwLightboxCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents}:host>div:first-child{display:contents}.spw-lightbox__show-gallery{display:none}@media (max-width: 1023px){.spw-lightbox__show-gallery{display:flex;justify-content:center;margin-top:24px}}.spw-lightbox{display:none;position:fixed;inset:0;z-index:1070;align-items:center;justify-content:center}.spw-lightbox--opened{display:flex}.spw-lightbox__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.68);backdrop-filter:blur(9.5px);cursor:pointer}.spw-lightbox__container{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;max-width:1200px;height:100dvh;padding:0 16px 16px;box-sizing:border-box;gap:12px;pointer-events:none}.spw-lightbox__container>*{pointer-events:auto}.spw-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 0 0;color:#fff;pointer-events:none}.spw-lightbox__toolbar>*{pointer-events:auto}.spw-lightbox__counter{font-size:14px;opacity:0.8}.spw-lightbox__close{cursor:pointer;font-size:14px;display:inline-flex;align-items:center;flex-wrap:nowrap;justify-content:center;padding:3px 6px;border-radius:4px;outline:3px solid transparent}.spw-lightbox__close:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}.spw-lightbox__close spw-link{--spw-link-color:#fff;--spw-link-hover-color:#fff;--spw-link-active-color:#fff;--spw-link-wrap:nowrap;pointer-events:none}.spw-lightbox__stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:12px;pointer-events:none}.spw-lightbox__stage>*{pointer-events:auto}@media (min-width: 1024px){.spw-lightbox__stage{gap:36px}}.spw-lightbox__image-wrapper{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden}.spw-lightbox__image-frame{position:relative;display:inline-flex;max-width:100%;max-height:80vh;border-radius:16px;overflow:hidden}.spw-lightbox__image{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:cover;border-radius:16px}.spw-lightbox__nav{flex-shrink:0}@media (max-width: 767px){.spw-lightbox__nav{display:none}}.spw-lightbox__caption{position:absolute;bottom:0;left:0;width:100%;padding:24px;padding-top:10%;box-sizing:border-box;background:linear-gradient(to bottom, transparent, rgb(0, 0, 0));display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px;pointer-events:none;border-radius:0 0 4px 4px}.spw-lightbox__caption-content{display:flex;flex-direction:column;gap:4px;min-width:0}.spw-lightbox__caption-title{display:block;color:#fff;font-size:16px;font-weight:700;line-height:1.3}.spw-lightbox__caption-text{display:block;color:rgba(255, 255, 255, 0.85);font-size:14px;line-height:1.5}.spw-lightbox__copyright{flex-shrink:0;pointer-events:all}.spw-lightbox__thumbnails{display:flex;justify-content:safe center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px;scrollbar-width:none;pointer-events:none}.spw-lightbox__thumbnails>*{pointer-events:auto}.spw-lightbox__thumbnails::-webkit-scrollbar{display:none}.spw-lightbox__thumb{width:56px;height:56px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;cursor:pointer;background:none;transition:border-color 0.15s, opacity 0.15s;opacity:0.5;flex-shrink:0}.spw-lightbox__thumb img{width:100%;height:100%;object-fit:cover;display:block}.spw-lightbox__thumb--active{border-color:#fff;opacity:1}.spw-lightbox__thumb:hover{opacity:0.85}.spw-lightbox__thumb:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}`;
|
|
5
5
|
|
|
6
6
|
const SpwLightbox = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -14,6 +14,14 @@ const SpwLightbox = class {
|
|
|
14
14
|
this.closeOnBackdropClick = true;
|
|
15
15
|
/** Affiche ou masque la galerie de miniatures sous l'image principale */
|
|
16
16
|
this.showThumbnails = true;
|
|
17
|
+
/** Sous 1024px, limite le nombre de vignettes visibles et affiche un bouton d'ouverture */
|
|
18
|
+
this.limitOnMobile = true;
|
|
19
|
+
/** Nombre de vignettes visibles sous 1024px quand limitOnMobile est actif */
|
|
20
|
+
this.mobileLimit = 3;
|
|
21
|
+
/** Texte du bouton d'ouverture affiché sous 1024px */
|
|
22
|
+
this.showGalleryText = 'Afficher la galerie';
|
|
23
|
+
/** Type de déclencheur d'ouverture affiché sous 1024px : bouton (défaut) ou lien */
|
|
24
|
+
this.showGalleryTrigger = 'button';
|
|
17
25
|
// Textes customisables
|
|
18
26
|
/** Label aria de la dialog */
|
|
19
27
|
this.textDialogLabel = "Galerie d'images";
|
|
@@ -23,17 +31,31 @@ const SpwLightbox = class {
|
|
|
23
31
|
this.textNext = 'Image suivante';
|
|
24
32
|
/** Label aria de la liste de miniatures */
|
|
25
33
|
this.textThumbnailsLabel = 'Miniatures';
|
|
26
|
-
/** Label aria d'une miniature (utiliser {index} comme placeholder) */
|
|
27
|
-
this.textThumbnailItem = 'Image {index}';
|
|
28
34
|
this.opened = false;
|
|
29
35
|
this.activeIndex = 0;
|
|
30
36
|
this.items = [];
|
|
37
|
+
this.hasMobileOverflow = false;
|
|
31
38
|
this.previouslyFocusedElement = null;
|
|
32
39
|
this.currentAnimation = null;
|
|
33
40
|
this.swipeStartX = 0;
|
|
34
41
|
this.swipeStartY = 0;
|
|
35
42
|
this.isSwiping = false;
|
|
36
43
|
this.SWIPE_THRESHOLD = 50;
|
|
44
|
+
this.markMobileOverflow = () => {
|
|
45
|
+
const items = Array.from(this.hostElement.querySelectorAll('spw-lightbox-item'));
|
|
46
|
+
const hasOverflow = this.limitOnMobile && this.mobileLimit < items.length;
|
|
47
|
+
items.forEach((item, index) => {
|
|
48
|
+
var _a;
|
|
49
|
+
const target = (_a = item.closest('spw-grid-item')) !== null && _a !== void 0 ? _a : item;
|
|
50
|
+
if (hasOverflow && index >= this.mobileLimit) {
|
|
51
|
+
target.setAttribute('data-spw-lb-overflow', '');
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
target.removeAttribute('data-spw-lb-overflow');
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
this.hasMobileOverflow = hasOverflow;
|
|
58
|
+
};
|
|
37
59
|
this.handleItemClick = (event) => {
|
|
38
60
|
var _a;
|
|
39
61
|
this.collectItems();
|
|
@@ -83,12 +105,23 @@ const SpwLightbox = class {
|
|
|
83
105
|
this.isSwiping = false;
|
|
84
106
|
};
|
|
85
107
|
}
|
|
108
|
+
static ensureOverflowStyles() {
|
|
109
|
+
if (SpwLightbox.overflowStylesInjected || typeof document === 'undefined')
|
|
110
|
+
return;
|
|
111
|
+
const style = document.createElement('style');
|
|
112
|
+
style.setAttribute('data-spw-lightbox-overflow', '');
|
|
113
|
+
style.textContent = '@media (max-width:1023px){spw-lightbox.spw-lightbox--limit-mobile [data-spw-lb-overflow]{display:none !important;}}';
|
|
114
|
+
document.head.appendChild(style);
|
|
115
|
+
SpwLightbox.overflowStylesInjected = true;
|
|
116
|
+
}
|
|
86
117
|
componentDidLoad() {
|
|
87
118
|
window.addEventListener('keydown', this.handleKeydown);
|
|
88
119
|
this.hostElement.addEventListener('spwLightboxItemClick', this.handleItemClick);
|
|
89
120
|
this.imageWrapperEl.addEventListener('touchstart', this.handleTouchStart, { passive: true });
|
|
90
121
|
this.imageWrapperEl.addEventListener('touchmove', this.handleTouchMove, { passive: false });
|
|
91
122
|
this.imageWrapperEl.addEventListener('touchend', this.handleTouchEnd);
|
|
123
|
+
SpwLightbox.ensureOverflowStyles();
|
|
124
|
+
this.markMobileOverflow();
|
|
92
125
|
}
|
|
93
126
|
disconnectedCallback() {
|
|
94
127
|
var _a, _b, _c;
|
|
@@ -99,6 +132,9 @@ const SpwLightbox = class {
|
|
|
99
132
|
(_c = this.imageWrapperEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('touchend', this.handleTouchEnd);
|
|
100
133
|
document.body.style.overflow = '';
|
|
101
134
|
}
|
|
135
|
+
onLimitPropsChange() {
|
|
136
|
+
this.markMobileOverflow();
|
|
137
|
+
}
|
|
102
138
|
async open(index = 0) {
|
|
103
139
|
this.collectItems();
|
|
104
140
|
this.activeIndex = index;
|
|
@@ -227,13 +263,24 @@ const SpwLightbox = class {
|
|
|
227
263
|
}
|
|
228
264
|
render() {
|
|
229
265
|
const { opened, activeItem, items, activeIndex } = this;
|
|
230
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: 'fc882fae18f6bb8c52a8624a8f9ca1f3c8752120', class: { 'spw-lightbox--limit-mobile': this.hasMobileOverflow } }, h("div", { key: 'e67f81c2d1d04f8322ba1c29cde376411aade9a1', inert: opened || undefined }, h("slot", { key: '2b59692671ca399fc77d01ffba706e8a7d7ae02e' }), this.hasMobileOverflow && (h("div", { key: '2d0e85ff554bbd5ba80ab714bab57063ea547417', class: "spw-lightbox__show-gallery" }, this.showGalleryTrigger === 'link' ? (h("spw-link", { icon: "fa-images", "icon-position": "left", role: "button", tabindex: "0", onClick: () => this.open(0), onKeyDown: (e) => {
|
|
267
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
268
|
+
e.preventDefault();
|
|
269
|
+
this.open(0);
|
|
270
|
+
}
|
|
271
|
+
} }, this.showGalleryText)) : (h("spw-button", { icon: "fa-images", "icon-position": "left", onClick: () => this.open(0) }, this.showGalleryText))))), h("div", { key: '02ded76f5a4d76b97a58e0d0ea28af6b7b86da8e', 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: '7a069e3f6d64040b1b9afd5fa34e72c650d4f172', class: "spw-lightbox__backdrop", onClick: () => this.handleBackdropClick(), "aria-hidden": "true" }), h("div", { key: '97a0c94f9d1dfb48d4aefb0dd49d42903802868e', class: "spw-lightbox__container" }, h("div", { key: '3db76875855c17689f52f178f76263b2eff0569f', class: "spw-lightbox__toolbar" }, h("span", { key: '0d1e5d864a2f4c233ebf5b901d73cf4ecb0b4778', class: "spw-lightbox__counter", "aria-live": "polite" }, items.length > 0 ? `${activeIndex + 1} / ${items.length}` : ''), h("div", { key: '5e986567fe2559201310eb63d2ac1f3785a64fe6', ref: el => (this.closeButtonEl = el), class: "spw-lightbox__close", tabIndex: 0, role: "button", onClick: () => this.doClose(), onKeyDown: (e) => {
|
|
231
272
|
if (e.key === 'Enter' || e.key === ' ')
|
|
232
273
|
this.doClose();
|
|
233
|
-
} }, h("spw-link", { key: '
|
|
274
|
+
} }, h("spw-link", { key: 'dfb799961776ec8569a5c4836b2f5690e74e4811', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText))), h("div", { key: '18e2526c16f7651228d1a0a46e22f5927314c5fc', class: "spw-lightbox__stage" }, items.length > 1 && (h("spw-button", { key: '3d6096dba914c42c5d42366526a24d82e9e51bc1', 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: '2880a266401eebc0e0d611923889e0d3f8107272', class: "spw-lightbox__image-wrapper", ref: el => (this.imageWrapperEl = el) }, activeItem && (h("div", { key: 'ac5a3f27bf60147409af5e014ac523aecc86c761', 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: '192b0229b206dcd2b78a084afdd19ce0debdaed0', class: "spw-lightbox__caption", "aria-live": "polite" }, h("div", { key: '28419fdd76e3583fbca7abf8ee10468d1b4ace50', class: "spw-lightbox__caption-content" }, activeItem.captionTitle && h("strong", { key: 'ca1853b7ab2a49c8484897a6a1632dedd7b475e2', class: "spw-lightbox__caption-title" }, activeItem.captionTitle), activeItem.captionText && h("span", { key: 'fd7a4366841c9335ae25205a329d3dba17fa630a', class: "spw-lightbox__caption-text" }, activeItem.captionText)), activeItem.copyrightText && (h("spw-tag", { key: '3643d0c570f1f813fcb205b4cf20fa4a4722813e', 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: '99985efab292f4ccf1400b60ba4694b35449f829', 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: 'b7f0aac537c525e08a72e23e4c4b011cb1620880', 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 || 'Image ' + (index + 1) }, h("img", { src: item.src, alt: item.alt || '', loading: "lazy" }))))))))));
|
|
234
275
|
}
|
|
235
276
|
get hostElement() { return getElement(this); }
|
|
236
277
|
static get watchers() { return {
|
|
278
|
+
"limitOnMobile": [{
|
|
279
|
+
"onLimitPropsChange": 0
|
|
280
|
+
}],
|
|
281
|
+
"mobileLimit": [{
|
|
282
|
+
"onLimitPropsChange": 0
|
|
283
|
+
}],
|
|
237
284
|
"opened": [{
|
|
238
285
|
"onOpenedChange": 0
|
|
239
286
|
}],
|
|
@@ -242,6 +289,7 @@ const SpwLightbox = class {
|
|
|
242
289
|
}]
|
|
243
290
|
}; }
|
|
244
291
|
};
|
|
292
|
+
SpwLightbox.overflowStylesInjected = false;
|
|
245
293
|
SpwLightbox.style = spwLightboxCss();
|
|
246
294
|
|
|
247
295
|
export { SpwLightbox as spw_lightbox };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwListDescriptionCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-list-description{margin-top:6px;color:var(--spw-color-themes-grey-grey-800);font-size:16px;line-height:1.25}.spw-list-description--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-list-description--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-list-description--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-list-description--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-list-description--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-list-description--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-list-description--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-list-description--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-list-description--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-list-description--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-list-description--clamp-10{-webkit-line-clamp:10;line-clamp:10}`;
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ const SpwListDescription = class {
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '82cc428d16223c26a6d66765219b917ee7b78318' }, h("div", { key: '8b66fd5bb14cd22498f9c4d7977f7ff714f96411', class: this.elementClass }, h("slot", { key: '15f4c88c6f3aae348df630d0f8ae174607b9ba83' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
SpwListDescription.style = spwListDescriptionCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwListItemCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents}.spw-list-item{position:relative;color:var(--spw-color-themes-grey-grey-900);transition:all 0.3s ease-in-out;text-decoration:none}:host(.--dark) .spw-list-item{color:var(--spw-ds-white)}.spw-list-item a{text-decoration:none}.spw-list-item--icon{padding-left:28px}.spw-list-item__category{display:inline-block;position:relative;margin-bottom:6px;color:var(--spw-ds-primary);font-weight:700;font-size:16px;line-height:1.5}.spw-list-item__category spw-icon{position:absolute;top:2px;left:-28px}.spw-list-item__category--hoverable{cursor:pointer}.spw-list-item__category--hoverable:hover{text-decoration:underline}.spw-list-item ::slotted([slot=buttons]){display:block;margin-top:12px}`;
|
|
4
4
|
|
|
@@ -110,7 +110,7 @@ const SpwListItem = class {
|
|
|
110
110
|
href,
|
|
111
111
|
target,
|
|
112
112
|
};
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '385f931f7fd23a8f352c8c32c444a8610afc2b38' }, h("li", { key: '303c1084ffbc19a8e60180a2eac56401432ed93a', role: "listitem", class: this.elementClass }, this.category && (h("span", { key: '5dd2447b1d03a63912fba8390151c3ac29350255', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: '6845172f35c7143bed3f8176724a5a226ffffcc4', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: '20b1f9ac28bf85b3a2ea7710085539a328d4ea16' }, attrs), h("slot", { key: 'c31ab3e9ea772450672082c19136c99ae887861c' })), h("slot", { key: '4d80a2e533d6a471a9c8c0ba9dc5bec973c28a98', name: "buttons" }))));
|
|
114
114
|
}
|
|
115
115
|
get el() { return getElement(this); }
|
|
116
116
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwListTitleCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.spw-ds-typography,[class*=spw-ds-typography-]{font-family:var(--spw-ds-font-main)}.spw-ds-typography-display-1{font-size:56px;line-height:1.2;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-1{font-size:68px;line-height:1.1;font-weight:400}}.spw-ds-typography-display-2{font-size:40px;line-height:1.25;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-2{font-size:56px;line-height:1.2;font-weight:400}}.spw-ds-typography-display-3{font-size:32px;line-height:1.4;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-3{font-size:48px;line-height:1.2;font-weight:400}}.spw-ds-typography-heading-01{font-size:28px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-01{font-size:32px;font-weight:700;line-height:1.25}}.spw-ds-typography-heading-02{font-size:24px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-02{font-size:28px;font-weight:700;line-height:1.3}}.spw-ds-typography-heading-03{font-size:20px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-03{font-size:20px;font-weight:700;line-height:1.4}}.spw-ds-typography-heading-04,:host(.--default) .spw-list-title{font-size:18px;font-weight:700;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-heading-04,:host(.--default) .spw-list-title{font-size:18px;font-weight:700;line-height:1.5}}.spw-ds-typography-heading-05,:host(.--shortcut) .spw-list-title{font-size:16px;font-weight:700;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-heading-05,:host(.--shortcut) .spw-list-title{font-size:16px;font-weight:700;line-height:1.6}}.spw-ds-typography-heading-06{font-size:14px;font-weight:700;line-height:1.7}@media (min-width: 1024px){.spw-ds-typography-heading-06{font-size:14px;font-weight:700;line-height:1.6}}.spw-ds-typography-lead-body{font-size:20px !important;line-height:1.6;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-lead-body{font-size:20px;line-height:1.5;font-weight:400}}.spw-ds-typography-lead-body-compact{font-size:20px;line-height:1.5;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-lead-body-compact{font-size:20px;line-height:1.25;font-weight:400}}.spw-ds-typography-body-1{font-size:18px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-1{font-size:18px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-1{font-size:18px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-1{font-size:18px;font-weight:400;line-height:1.25}}.spw-ds-typography-body-2{font-size:16px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-2{font-size:16px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-2{font-size:16px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-2{font-size:16px;font-weight:400;line-height:1.25}}.spw-ds-typography-body-3{font-size:14px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-3{font-size:14px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-3{font-size:14px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-3{font-size:14px;font-weight:400;line-height:1.25}}.spw-ds-typography-tag{font-weight:700;font-size:14px;line-height:1.2}.spw-ds-typography-label{font-weight:600;font-size:16px;line-height:1.2}.spw-ds-typography-date{font-size:16px;line-height:1;font-weight:300}.spw-ds-typography-caption{font-size:14px;font-style:italic;line-height:1;font-weight:300}.spw-ds-typography-link{font-weight:700;font-size:inherit;line-height:1.2;color:var(--spw-ds-primary);text-decoration:underline;text-underline-offset:2px}.spw-ds-typography-link:hover{color:var(--spw-ds-variant)}.spw-ds-typography-link:active{color:var(--spw-ds-active)}.spw-ds-typography-link:hover,.spw-ds-typography-link:active{text-decoration-thickness:2px}.spw-ds-typography-hint{font-size:14px;font-weight:400;line-height:1.5}.spw-ds-typography-code{font-size:14px;font-weight:400;line-height:1.2;font-family:monospace}.spw-ds-typography-overline{font-size:10px;font-weight:800;line-height:1;text-transform:uppercase}:host{display:block}.spw-list-title{position:relative;display:inline-flex;line-height:1.35}.spw-list-title spw-icon{position:absolute;top:4px;left:-28px;color:var(--spw-ds-primary)}:host(.--active) .spw-list-title spw-icon{color:var(--spw-ds-active)}:host(.--dark) .spw-list-title spw-icon{color:var(--spw-ds-white)}.spw-list-title__content-text{display:inline;text-decoration:none;text-underline-offset:2px}:host(.--hovered) .spw-list-title__content-text{text-decoration:underline}:host(.--active) .spw-list-title__content-text{text-decoration:underline}:host(.--default) .spw-list-title{color:var(--spw-color-themes-grey-grey-900)}:host(.--shortcut) .spw-list-title{color:var(--spw-ds-primary)}:host(.--hovered) .spw-list-title{color:var(--spw-ds-primary)}:host(.--active) .spw-list-title{color:var(--spw-ds-active)}:host(.--dark) .spw-list-title{color:var(--spw-ds-white)}.spw-list-title--has-clamp .spw-list-title__content{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-list-title--clamp-1 .spw-list-title__content{-webkit-line-clamp:1;line-clamp:1}.spw-list-title--clamp-2 .spw-list-title__content{-webkit-line-clamp:2;line-clamp:2}.spw-list-title--clamp-3 .spw-list-title__content{-webkit-line-clamp:3;line-clamp:3}.spw-list-title--clamp-4 .spw-list-title__content{-webkit-line-clamp:4;line-clamp:4}.spw-list-title--clamp-5 .spw-list-title__content{-webkit-line-clamp:5;line-clamp:5}.spw-list-title--clamp-6 .spw-list-title__content{-webkit-line-clamp:6;line-clamp:6}.spw-list-title--clamp-7 .spw-list-title__content{-webkit-line-clamp:7;line-clamp:7}.spw-list-title--clamp-8 .spw-list-title__content{-webkit-line-clamp:8;line-clamp:8}.spw-list-title--clamp-9 .spw-list-title__content{-webkit-line-clamp:9;line-clamp:9}.spw-list-title--clamp-10 .spw-list-title__content{-webkit-line-clamp:10;line-clamp:10}`;
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ const SpwListTitle = class {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '64d87efc60191140b81da29a83f2a3bf98de07b5' }, h("div", { key: '54ce768f876336e45ff8ecd6c798efb5cb299d11', class: this.elementClass }, this.icon && h("spw-icon", { key: '06509a76e51902706b68b59b4cf11de0ac3f3e51', icon: this.icon }), h("div", { key: '2914c946796778954ab244698cd0215d22f495ab', class: "spw-list-title__content" }, h("div", { key: 'bae437a87e78f283b78b08966d8dbd11708cdc7b', class: "spw-list-title__content-text" }, h("slot", { key: '163ce664adc6158415cdd9599d825118a4cf9250' }))))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
SpwListTitle.style = spwListTitleCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwListCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-list{display:flex;flex-direction:column}.spw-list--small{gap:12px}.spw-list--medium{gap:24px}.spw-list--large{gap:32px}`;
|
|
4
4
|
|
|
@@ -33,7 +33,7 @@ const SpwList = class {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '7638cbf0ee2ff02b62c0cad996bc6cc844786f9a' }, h("ul", { key: '91f6eb7f74bd438acf9610a31f8500e63e8ce9c6', role: "list", class: this.elementClass }, h("slot", { key: 'c4fe0623956394514b9abd7091f876725ad47e86' }))));
|
|
37
37
|
}
|
|
38
38
|
get el() { return getElement(this); }
|
|
39
39
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const getIcon = variant => {
|
|
4
4
|
const icons = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
import { q as queryShadowRoot, i as isFocusable, a as isHidden } from './focus-trap-Hi4pwfHU.js';
|
|
3
3
|
import { a as animationTo, K as KEYFRAMES } from './animation-BRFNx2DL.js';
|
|
4
4
|
|
|
@@ -178,13 +178,13 @@ const SpwModal = class {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '4e39ab2a819420663d6c896692d6747a38bdc9bf' }, h("div", { key: '70240dff5a4daac1ae51281e8120727be9fd4f28', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: '8573eb196bdfe202b5992d28e9f723e35eebc934', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: 'cd633862e527fc4406cc9358734670bacd4a5fb2', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: 'd3acf1c948c8ef5b3b855073b3cbed2acf1930c8', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: 'c7de183e7157259f8725d02d60821faac65bd46e', class: "spw-modal__header" }, h("div", { key: '0df3389aab840ce2ec2ce05012e810d915395b56', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: 'fb753be84ebeef80b6a0c9b3ac0d83e260c694e8', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: 'cd4ad8c424b6d6e9416a1761ecf3b3331a82578b', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: '01950c032d5a86454b534c84a7d0b6554dcb5582', class: {
|
|
182
182
|
'spw-modal__close-button': true,
|
|
183
183
|
'spw-modal__close-button--sticky': this.isCloseButtonSticky,
|
|
184
|
-
}, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: '
|
|
184
|
+
}, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: '2bb330846c77be0f386dc30aa4655e7b5d979646', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: '8061bf5f6f75ed5289d5cccd353096abb88101a2', class: "spw-modal__body" }, h("slot", { key: '40ddf4803dace6d8c2aeaa4f0a176f76252d61fd', name: "content" })), h("div", { key: 'f2e684e3086c1ef09e1561af7733ac97c1b7bc24', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: '930aed1625a7d889f14ed95b3207da28f44f8058', name: "buttons", onSlotchange: (e) => {
|
|
185
185
|
const slot = e.target;
|
|
186
186
|
this.slotButtonsPresent = slot.assignedNodes({ flatten: true }).length > 0;
|
|
187
|
-
} })))), h("div", { key: '
|
|
187
|
+
} })))), h("div", { key: 'c0a5470f40f3e4ba8e5a7de063798508876e082a', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
|
|
188
188
|
}
|
|
189
189
|
get hostElement() { return getElement(this); }
|
|
190
190
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwMosaicItemCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{--spw-mosaic-item-width-mobile:100%;--spw-mosaic-item-width-tablet:100%;--spw-mosaic-item-width-desktop:100%;width:var(--spw-mosaic-item-width-mobile);padding:0 12px !important;margin-bottom:24px !important}@media (min-width: 768px){:host{width:var(--spw-mosaic-item-width-tablet)}}@media (min-width: 1024px){:host{width:var(--spw-mosaic-item-width-desktop)}}.spw-mobile-1{--spw-mosaic-item-width-mobile:calc(100% / 1)}.spw-tablet-1{--spw-mosaic-item-width-tablet:calc(100% / 1)}.spw-desktop-1{--spw-mosaic-item-width-desktop:calc(100% / 1)}.spw-mobile-2{--spw-mosaic-item-width-mobile:calc(100% / 2)}.spw-tablet-2{--spw-mosaic-item-width-tablet:calc(100% / 2)}.spw-desktop-2{--spw-mosaic-item-width-desktop:calc(100% / 2)}.spw-mobile-3{--spw-mosaic-item-width-mobile:calc(100% / 3)}.spw-tablet-3{--spw-mosaic-item-width-tablet:calc(100% / 3)}.spw-desktop-3{--spw-mosaic-item-width-desktop:calc(100% / 3)}.spw-mobile-4{--spw-mosaic-item-width-mobile:calc(100% / 4)}.spw-tablet-4{--spw-mosaic-item-width-tablet:calc(100% / 4)}.spw-desktop-4{--spw-mosaic-item-width-desktop:calc(100% / 4)}.spw-mobile-5{--spw-mosaic-item-width-mobile:calc(100% / 5)}.spw-tablet-5{--spw-mosaic-item-width-tablet:calc(100% / 5)}.spw-desktop-5{--spw-mosaic-item-width-desktop:calc(100% / 5)}.spw-mobile-6{--spw-mosaic-item-width-mobile:calc(100% / 6)}.spw-tablet-6{--spw-mosaic-item-width-tablet:calc(100% / 6)}.spw-desktop-6{--spw-mosaic-item-width-desktop:calc(100% / 6)}.spw-mobile-7{--spw-mosaic-item-width-mobile:calc(100% / 7)}.spw-tablet-7{--spw-mosaic-item-width-tablet:calc(100% / 7)}.spw-desktop-7{--spw-mosaic-item-width-desktop:calc(100% / 7)}.spw-mobile-8{--spw-mosaic-item-width-mobile:calc(100% / 8)}.spw-tablet-8{--spw-mosaic-item-width-tablet:calc(100% / 8)}.spw-desktop-8{--spw-mosaic-item-width-desktop:calc(100% / 8)}.spw-mobile-9{--spw-mosaic-item-width-mobile:calc(100% / 9)}.spw-tablet-9{--spw-mosaic-item-width-tablet:calc(100% / 9)}.spw-desktop-9{--spw-mosaic-item-width-desktop:calc(100% / 9)}.spw-mobile-10{--spw-mosaic-item-width-mobile:calc(100% / 10)}.spw-tablet-10{--spw-mosaic-item-width-tablet:calc(100% / 10)}.spw-desktop-10{--spw-mosaic-item-width-desktop:calc(100% / 10)}.spw-mobile-11{--spw-mosaic-item-width-mobile:calc(100% / 11)}.spw-tablet-11{--spw-mosaic-item-width-tablet:calc(100% / 11)}.spw-desktop-11{--spw-mosaic-item-width-desktop:calc(100% / 11)}.spw-mobile-12{--spw-mosaic-item-width-mobile:calc(100% / 12)}.spw-tablet-12{--spw-mosaic-item-width-tablet:calc(100% / 12)}.spw-desktop-12{--spw-mosaic-item-width-desktop:calc(100% / 12)}`;
|
|
4
4
|
|
|
@@ -49,7 +49,7 @@ const SpwMosaicItem = class {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '78f2e84f84d208076fac405f2d4a092af466f66b' }, h("slot", { key: '192fd3f7aa0afb9b9e7558f7ab2410ff13761b38' })));
|
|
53
53
|
}
|
|
54
54
|
get el() { return getElement(this); }
|
|
55
55
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
3
3
|
|
|
4
4
|
var masonry = {exports: {}};
|
|
@@ -2539,7 +2539,7 @@ const SpwMosaic = class {
|
|
|
2539
2539
|
};
|
|
2540
2540
|
}
|
|
2541
2541
|
render() {
|
|
2542
|
-
return (h(Host, { key: '
|
|
2542
|
+
return (h(Host, { key: '05cffea33db037e50062d44fcb31a4b7919bbbec' }, h("div", { key: '1b796deb9713df7bc400f3ec9848f0c6d4ec50ab', class: this.elementClass }, h("slot", { key: '3b79a88276ec2e94543b6a9d0440597193a35fb9' }))));
|
|
2543
2543
|
}
|
|
2544
2544
|
get el() { return getElement(this); }
|
|
2545
2545
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwPaginationCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-pagination__item--dots,.spw-pagination__item button{text-align:center;line-height:32px;font-weight:700;border-radius:32px;font-size:14px;min-width:32px;height:32px}.spw-pagination__item--dots:focus-visible,.spw-pagination__item button:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black}.spw-pagination{display:flex;flex-direction:column;align-items:center}@media (min-width: 768px){.spw-pagination{align-items:flex-start}}.spw-pagination ul{display:flex;align-items:center;padding:0}.spw-pagination__item{margin-right:12px}.spw-pagination__item spw-icon{font-size:18px}.spw-pagination__item button{padding:0 6px;margin:0;border:none;cursor:pointer;color:var(--spw-color-themes-grey-grey-900);background:none}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):hover button{background:var(--spw-color-themes-grey-grey-200)}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):active button{background:var(--spw-color-themes-grey-grey-300)}.spw-pagination__item--arrow button{padding:0 12px;display:flex;gap:8px;align-items:center;text-decoration:underline}.spw-pagination__item--arrow button:hover{text-decoration:none}.spw-pagination__item--dots{position:relative;top:3px;display:inline-flex;align-items:center;justify-content:center;cursor:default;background:none;color:var(--spw-color-themes-grey-grey-400)}.spw-pagination__item--dots spw-icon{font-size:16px}.spw-pagination__item--desktop{display:none}@media (min-width: 768px){.spw-pagination__item--desktop{display:inline-block}}.spw-pagination__item--active button{color:white;background:var(--spw-ds-primary)}.spw-pagination__input spw-text-field{width:36px;--spw-input-height:32px;--spw-input-padding:0 4px;--spw-input-text-align:center;--spw-input-font-size:14px}.spw-pagination__mobile-arrows{margin-top:12px}@media (min-width: 768px){.spw-pagination__mobile-arrows{display:none !important}}.spw-pagination__total-pages{font-size:14px;margin:0 12px 0 6px}`;
|
|
4
4
|
|
|
@@ -172,12 +172,12 @@ const SpwPagination = class {
|
|
|
172
172
|
const pages = this.calculatePageRange();
|
|
173
173
|
const showPrevArrow = this.currentPage > 1;
|
|
174
174
|
const showNextArrow = this.currentPage < this.totalPages;
|
|
175
|
-
const prevArrow = showPrevArrow && (h("li", { key: '
|
|
176
|
-
const nextArrow = showNextArrow && (h("li", { key: '
|
|
177
|
-
const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '
|
|
178
|
-
const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: '
|
|
179
|
-
const mobileArrows = (h("ul", { key: '
|
|
180
|
-
return (h(Host, { key: '
|
|
175
|
+
const prevArrow = showPrevArrow && (h("li", { key: 'ad484248c5a3c7be31932b4f399e34e061a5e560', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '02e92c5d90c133f54d541fcec4c4033734488295', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '1f5ff34612a3cbbc7a18916e018c6d502694bbeb', icon: "fa-chevron-left" }), " ", h("span", { key: '716134a13b15483b4f6f0b809067c1420453749f', class: "spw-pagination__item-arrow-text" }, this.previousButtonText))));
|
|
176
|
+
const nextArrow = showNextArrow && (h("li", { key: '4e88395b0804998cf01ca6c03b0d4597509f0e47', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: 'ed5295b68e7be94421c6c0fe3a46ea8fcd58a897', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: '78f0dd744f01f230abd579580a180b4896e47bf9', class: "spw-pagination__item-arrow-text" }, this.nextButtonText), " ", h("spw-icon", { key: 'b45f280ef34958d96be2cafed359af6e6d3757d9', icon: "fa-chevron-right" }))));
|
|
177
|
+
const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '2b0e2dbac658e3618a367e3ec019c08d3a11d755', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '12125554833c7bd869d8d9c29d700b5b479b824d', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'fc958c421ea12d702021c3eb5462da27372e1692', icon: "fa-chevron-left" }), " ", h("span", { key: 'f9aec7bc7fd601d18905e8f24e462620688f777f' }, this.previousButtonText))));
|
|
178
|
+
const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: '2e386c8ab28bc380c7cba089e6d577d9be9aaa55', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '06bbb7513f7cc79123f1de56fa9c0ee6a18ffebc', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: 'b141d2ffd813e815d1434b05ad4c45e3e8ae4261' }, this.nextButtonText), " ", h("spw-icon", { key: 'dd445a7c086ca40463d0ff1a9b9db9589e4e32bf', icon: "fa-chevron-right" }))));
|
|
179
|
+
const mobileArrows = (h("ul", { key: '085f311953ccea350254ab984100b2e18c2aebe8', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
|
|
180
|
+
return (h(Host, { key: '3d0c6ad857bacf48bf14bc321907117350b5a9a7' }, h("div", { key: '22acdc457a311a4d7c36901d083e0360a3ac1f6c', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: 'd7585869841b7e128c54d8463f510326b3feb7e6' }, h("ul", { key: 'fbb854ddc944d1f4f2f29510cf8278e8a7143044' }, prevArrow, h("li", { key: 'fad19532ee8f61bf2c01714544916d3c6ec95fe4', class: "spw-pagination__input" }, h("spw-text-field", { key: 'c80ad96deb83746fe2d835ec105aa7270c64c0a8', value: this.inputPageValue, type: "text", name: "pagination-input", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: '8a979d565dcd80f1adb02a2f75b6c16de2a6e850', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " ", this.totalPages === 1 ? 'page' : 'pages'), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '757968fa829d0061142c204eb4522ae8b4c1898d' }, h("ul", { key: '75837caa6887184add6763fb3fd659c2f580b1a5' }, prevArrow, pages.map(({ page, class: pageClass }) => {
|
|
181
181
|
if (page === '...') {
|
|
182
182
|
return (h("li", { class: `spw-pagination__item spw-pagination__item--dots ${pageClass}` }, h("spw-icon", { icon: "fa-ellipsis" })));
|
|
183
183
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
|
-
const spwRadioCss = () =>
|
|
3
|
+
const spwRadioCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline-flex;vertical-align:top;--spw-ds-radio-tag-checked-background:var(--spw-colors-support-grey-grey-900);--spw-ds-radio-tag-checked-border-color:var(--spw-ds-radio-tag-checked-background);--spw-ds-radio-tag-checked-color:var(--spw-ds-white);--spw-ds-radio-tag-background:var(--spw-ds-white);--spw-ds-radio-tag-border-color:var(--spw-colors-support-grey-grey-300);--spw-ds-radio-tag-color:var(--spw-colors-support-grey-grey-900);--spw-ds-radio-tag-radius:999px;--spw-ds-radio-tag-padding:6px 10px}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio--tag{display:inline-flex}.spw-radio__tag{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;font-size:16px;padding:var(--spw-ds-radio-tag-padding);border-radius:var(--spw-ds-radio-tag-radius);border:1px solid var(--spw-ds-radio-tag-border-color);background:var(--spw-ds-radio-tag-background);color:var(--spw-ds-radio-tag-color);white-space:nowrap;user-select:none}.spw-radio__tag:not(.spw-radio__tag--disabled):hover{border-color:var(--spw-colors-support-grey-grey-500)}.spw-radio__tag:not(.spw-radio__tag--disabled):focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__tag--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__tag--checked{background:var(--spw-ds-radio-tag-checked-background);border-color:var(--spw-ds-radio-tag-checked-border-color);color:var(--spw-ds-radio-tag-checked-color)}.spw-radio__tag--disabled{opacity:0.5;cursor:not-allowed}.spw-radio__tag:not(.spw-radio__tag--disabled){cursor:pointer}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}`;
|
|
4
4
|
|
|
5
5
|
const SpwRadio = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -19,6 +19,8 @@ const SpwRadio = class {
|
|
|
19
19
|
this.checked = false;
|
|
20
20
|
/** Indique s'il y a une erreur visuelle associée au bouton radio */
|
|
21
21
|
this.error = false;
|
|
22
|
+
/** Type de variant pour le bouton radio */
|
|
23
|
+
this.variant = 'default';
|
|
22
24
|
}
|
|
23
25
|
handleRadio(event) {
|
|
24
26
|
if (this.disabled) {
|
|
@@ -100,10 +102,32 @@ const SpwRadio = class {
|
|
|
100
102
|
'spw-radio__wrapper--error': this.error,
|
|
101
103
|
};
|
|
102
104
|
}
|
|
105
|
+
renderHiddenInput() {
|
|
106
|
+
return (h("input", { 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' } }));
|
|
107
|
+
}
|
|
108
|
+
get a11yAttrs() {
|
|
109
|
+
return {
|
|
110
|
+
tabIndex: this.disabled ? -1 : 0,
|
|
111
|
+
onClick: (e) => this.handleRadio(e),
|
|
112
|
+
onKeyDown: this.handleKeydown.bind(this),
|
|
113
|
+
role: 'radio',
|
|
114
|
+
'aria-checked': this.internalChecked ? 'true' : 'false',
|
|
115
|
+
'aria-disabled': this.disabled,
|
|
116
|
+
'aria-label': this.accAriaLabel || this.name,
|
|
117
|
+
};
|
|
118
|
+
}
|
|
103
119
|
render() {
|
|
104
120
|
const slot = this.el.innerHTML;
|
|
105
121
|
const hasSlot = Boolean(slot);
|
|
106
|
-
|
|
122
|
+
if (this.variant === 'tag') {
|
|
123
|
+
return (h("div", { class: "spw-radio spw-radio--tag" }, this.renderHiddenInput(), h("div", Object.assign({}, this.a11yAttrs, { class: {
|
|
124
|
+
'spw-radio__tag': true,
|
|
125
|
+
'spw-radio__tag--checked': this.internalChecked,
|
|
126
|
+
'spw-radio__tag--disabled': this.disabled,
|
|
127
|
+
'spw-radio__tag--error': this.error,
|
|
128
|
+
} }), h("slot", null))));
|
|
129
|
+
}
|
|
130
|
+
return (h("div", { class: "spw-radio" }, this.renderHiddenInput(), hasSlot && (h("label", { class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, h("slot", null))), h("div", Object.assign({}, this.a11yAttrs, { class: this.elementClass }), this.internalChecked && h("span", { class: "spw-radio__circle" }))));
|
|
107
131
|
}
|
|
108
132
|
static get formAssociated() { return true; }
|
|
109
133
|
get el() { return getElement(this); }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
|
|
2
2
|
|
|
3
3
|
const spwScrolltopCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{position:fixed;bottom:24px;right:24px;z-index:1000;opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;pointer-events:none}:host(.spw-scrolltop--visible){opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}@media (max-width: 767px){:host(.spw-scrolltop--hide-mobile){display:none}}`;
|
|
4
4
|
|
|
@@ -77,7 +77,7 @@ const SpwScrolltop = class {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '8e1529531f3aba8f009df7fdb8b11cec89eba1a2', class: this.hostClass }, h("spw-button", { key: '59afd1c7b1cf8a5e4c37b082368c3a905336e13f', "is-icon-only": true, icon: "fa-chevron-up", variant: "primary", size: "medium", "acc-aria-label": this.accAriaLabel, onClick: this.scrollToTop })));
|
|
81
81
|
}
|
|
82
82
|
get el() { return getElement(this); }
|
|
83
83
|
};
|