@spw-ds/spw-stencil-library 1.15.0 → 1.16.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 +313 -12
- package/dist/cjs/{index-BSEZn_kI.js → index-D3lyhQSW.js} +13 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-box.cjs.entry.js +28 -9
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/spw-card-subtags.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-title.cjs.entry.js +13 -3
- package/dist/cjs/spw-card.cjs.entry.js +2 -2
- package/dist/cjs/spw-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/spw-drawer.cjs.entry.js +4 -4
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown.cjs.entry.js +11 -6
- package/dist/cjs/spw-field-label_8.cjs.entry.js +9 -9
- 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 +2 -2
- 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 +5 -3
- package/dist/cjs/spw-hero.cjs.entry.js +4 -4
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox.cjs.entry.js +3 -3
- 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 +26 -6
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +2 -2
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +22 -0
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +154 -0
- package/dist/cjs/spw-sidenav.cjs.entry.js +23 -0
- 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 +2 -2
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +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 +3 -3
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +3 -3
- package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +19 -13
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc.cjs.entry.js +2 -2
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/spw-box/spw-box.css +11 -60
- package/dist/collection/components/spw-box/spw-box.js +39 -9
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +1 -2
- 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.js +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.css +48 -0
- package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +31 -1
- package/dist/collection/components/spw-card/spw-card.js +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +1 -1
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -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.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +10 -5
- package/dist/collection/components/spw-field-label/spw-field-label.js +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.js +1 -1
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.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 +14 -0
- package/dist/collection/components/spw-header/spw-header.js +3 -1
- 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.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +2 -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 +25 -5
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.css +379 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +48 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +468 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +323 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav.css +370 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +49 -0
- 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.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.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.css +6 -0
- package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +34 -0
- 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.css +32 -22
- package/dist/collection/components/spw-tile/spw-tile.js +24 -18
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +101 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-2iE5Jfvp.js → p-2AbKLqDf.js} +1 -1
- package/dist/components/p-B2P8l7B3.js +1 -0
- package/dist/components/{p-BP0QYENJ.js → p-B43Zutdz.js} +1 -1
- package/dist/components/{p-F4DuhyF5.js → p-BY3XOPGU.js} +1 -1
- package/dist/components/{p-kkVxHcEB.js → p-C5-yiily.js} +1 -1
- package/dist/components/{p-CQNvd2fn.js → p-C82UsmH4.js} +1 -1
- package/dist/components/{p-DPpA6jtb.js → p-CnzSr9Im.js} +1 -1
- package/dist/components/{p-DIUtCQyY.js → p-DAfHVLjA.js} +1 -1
- package/dist/components/{p-C9EdSa5U.js → p-DXd3uPkn.js} +1 -1
- package/dist/components/{p-DlnEjqPF.js → p-DlhwYK4n.js} +1 -1
- package/dist/components/{p-DDihlS_6.js → p-aWQ1v8BH.js} +1 -1
- package/dist/components/{p-D3XYY2gS.js → p-m97KOJBa.js} +1 -1
- package/dist/components/{p-rbXNWvxL.js → p-yEYYjoyI.js} +1 -1
- package/dist/components/spw-accordion-title.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 +1 -1
- 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.d.ts +11 -0
- package/dist/components/spw-sidenav-group.js +1 -0
- package/dist/components/spw-sidenav-item.d.ts +11 -0
- package/dist/components/spw-sidenav-item.js +1 -0
- package/dist/components/spw-sidenav.d.ts +11 -0
- package/dist/components/spw-sidenav.js +1 -0
- 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.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 +396 -12
- package/dist/components_vscode.json +77 -3
- package/dist/esm/{index-C5N6FAxf.js → index-DkNryMko.js} +13 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-avatar.entry.js +1 -1
- package/dist/esm/spw-block-content.entry.js +1 -1
- package/dist/esm/spw-box.entry.js +28 -9
- package/dist/esm/spw-breadcrumb-item.entry.js +2 -2
- package/dist/esm/spw-breadcrumb.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/spw-card-subtags.entry.js +2 -2
- package/dist/esm/spw-card-title.entry.js +13 -3
- package/dist/esm/spw-card.entry.js +2 -2
- package/dist/esm/spw-checkbox.entry.js +2 -2
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +1 -1
- package/dist/esm/spw-date-picker.entry.js +2 -2
- package/dist/esm/spw-drawer.entry.js +4 -4
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +2 -2
- package/dist/esm/spw-dropdown.entry.js +11 -6
- package/dist/esm/spw-field-label_8.entry.js +9 -9
- 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 +2 -2
- 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 +5 -3
- package/dist/esm/spw-hero.entry.js +4 -4
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +2 -2
- package/dist/esm/spw-lightbox-item.entry.js +2 -2
- package/dist/esm/spw-lightbox.entry.js +3 -3
- 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 +26 -6
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +2 -2
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +1 -1
- package/dist/esm/spw-select.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-sidenav-group.entry.js +20 -0
- package/dist/esm/spw-sidenav-item.entry.js +152 -0
- package/dist/esm/spw-sidenav.entry.js +21 -0
- 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 +2 -2
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation.entry.js +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 +3 -3
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +3 -3
- package/dist/esm/spw-tile-title.entry.js +2 -2
- package/dist/esm/spw-tile.entry.js +19 -13
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toast-controller.entry.js +1 -1
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +1 -1
- package/dist/esm/spw-toc-navigation.entry.js +1 -1
- package/dist/esm/spw-toc.entry.js +2 -2
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +2 -2
- package/dist/spw-stencil-library/{p-f240cb23.entry.js → p-014cceee.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43e3fe34.entry.js → p-082f93eb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a052c62f.entry.js → p-0f5debdb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2579f0f9.entry.js → p-1001e077.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-18c0f6b5.entry.js → p-10bf5c42.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8aece962.entry.js → p-11ee7e7a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-da1efbb7.entry.js → p-1ba59470.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b8987bdc.entry.js → p-1d319daa.entry.js} +1 -1
- package/dist/spw-stencil-library/p-1e940c23.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c2f82f35.entry.js → p-1fca6b4f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-20ed6c87.entry.js +1 -0
- package/dist/spw-stencil-library/{p-90b598b7.entry.js → p-21db201c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cc406002.entry.js → p-21e998ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1a0de816.entry.js → p-24cc1b85.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-903d2621.entry.js → p-2e0e0459.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5a4a24e9.entry.js → p-39990b60.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6dbccd34.entry.js → p-3a44068e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7bbfac6c.entry.js → p-3e8e6a41.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6c5e9eb1.entry.js → p-41568f68.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ef7977c0.entry.js → p-426be39b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a37ed701.entry.js → p-42dce53f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-60d1f1ab.entry.js → p-43af0902.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2597abf2.entry.js → p-45be9fce.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-db477bbd.entry.js → p-49e53cd8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3d69bc6d.entry.js → p-4d45c143.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8212d5e4.entry.js → p-4f65655d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-61a2830d.entry.js → p-51238b72.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1d1b1ae3.entry.js → p-51d1b03f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ad59624.entry.js → p-53dfe461.entry.js} +1 -1
- package/dist/spw-stencil-library/p-56511a1a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8926576b.entry.js → p-571107dc.entry.js} +1 -1
- package/dist/spw-stencil-library/p-57d57d31.entry.js +1 -0
- package/dist/spw-stencil-library/p-5ca2790b.entry.js +1 -0
- package/dist/spw-stencil-library/{p-909463ec.entry.js → p-68787bbe.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-84856ff4.entry.js → p-69f36918.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4d44ffe3.entry.js → p-6be62066.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ba50a10d.entry.js → p-723229e0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c9feda78.entry.js → p-7233f2b1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cad173a3.entry.js → p-723b695b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d87005a9.entry.js → p-76b03045.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0b369fe0.entry.js → p-79081772.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee69cf36.entry.js → p-7996c7c8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e3ada16c.entry.js → p-8010145c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-00ff273e.entry.js → p-83e6a17b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b80e1328.entry.js → p-898f2ca7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d35fb0e2.entry.js → p-8aa81b70.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bd1ddbb0.entry.js → p-915cbfd3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-09aa872b.entry.js → p-936fc4c0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d009ebf1.entry.js → p-94581684.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ec4b0f0d.entry.js → p-95f41c17.entry.js} +4 -4
- package/dist/spw-stencil-library/{p-294eb7ff.entry.js → p-995bf47d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-C5N6FAxf.js → p-DkNryMko.js} +1 -1
- package/dist/spw-stencil-library/{p-bf7d4828.entry.js → p-a20d2a78.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-68e31c3d.entry.js → p-a6c5c836.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a775d477.entry.js +1 -0
- package/dist/spw-stencil-library/{p-74b6e21f.entry.js → p-a94801a1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-188af666.entry.js → p-ae18c590.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0bab1123.entry.js → p-af8ccb80.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-32c71e5b.entry.js → p-afa2f53d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-07ebfa15.entry.js → p-b08eb675.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c66f0d01.entry.js → p-b868a3da.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6763bad4.entry.js → p-bcc0bc5b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cec973c7.entry.js → p-bd0b3958.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cea47613.entry.js → p-bec8374e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6cceddce.entry.js → p-c06529c8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a13f1a19.entry.js → p-c2d6da7e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0373be2e.entry.js → p-c62049fc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5af9996f.entry.js → p-ca25cbef.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ed01e9a1.entry.js → p-ca3263fb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b73ea513.entry.js → p-caba8c80.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-89aa9616.entry.js → p-cb4b31a7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b5aaaa2e.entry.js → p-cb5dbe40.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a8bde8f1.entry.js → p-d29e6f62.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b15fecbf.entry.js → p-d321091b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ae7b5957.entry.js → p-d6587b45.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-937bcc42.entry.js → p-da1e18c0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ec14e26.entry.js → p-de10edb8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee61dc7a.entry.js → p-de47fd8e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2807b7be.entry.js → p-e172632c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e2fbc5ff.entry.js +1 -0
- package/dist/spw-stencil-library/{p-2baca3a5.entry.js → p-e592738a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b85cae0c.entry.js → p-e6beeeae.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b02b61ee.entry.js → p-e6f4a095.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-68db1b65.entry.js → p-e82e97da.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2a980bf0.entry.js → p-ec7f05ae.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43a0782d.entry.js → p-f0590340.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e6a842f.entry.js → p-f0e49272.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5f9e2ce5.entry.js → p-f420e077.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f5420f60.entry.js +1 -0
- package/dist/spw-stencil-library/{p-390b54b3.entry.js → p-f7a94fe7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f2ec0ac9.entry.js → p-f8c9e28a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3c5e087d.entry.js → p-f91a179d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-05c01409.entry.js → p-fbc26e62.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-24ba55fd.entry.js → p-fd339689.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4f9ee2af.entry.js → p-fdcc3c5d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-70c8ae3f.entry.js → p-fdd83154.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f391852d.entry.js → p-fe5f81cc.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +2176 -990
- package/dist/types/components/spw-box/spw-box.d.ts +7 -2
- package/dist/types/components/spw-card/spw-card-title/spw-card-title.d.ts +3 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.d.ts +5 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +37 -0
- package/dist/types/components/spw-sidenav/spw-sidenav.d.ts +6 -0
- package/dist/types/components/spw-tile/spw-tile.d.ts +3 -3
- package/dist/types/components.d.ts +148 -9
- package/dist/types/stories/organisms/spw-header/spw-header.stories.d.ts +1 -0
- package/hydrate/index.js +434 -142
- package/hydrate/index.mjs +434 -142
- package/package.json +1 -1
- package/dist/components/p-C5lqDBLM.js +0 -1
- package/dist/spw-stencil-library/p-41b54c1d.entry.js +0 -1
- package/dist/spw-stencil-library/p-62000770.entry.js +0 -1
- package/dist/spw-stencil-library/p-7f28ab5f.entry.js +0 -1
- package/dist/spw-stencil-library/p-8eaf94c3.entry.js +0 -1
- package/dist/spw-stencil-library/p-c713ef7e.entry.js +0 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class SpwSidenav {
|
|
3
|
+
/** Ferme tous les items ouverts */
|
|
4
|
+
async closeAll() {
|
|
5
|
+
const items = this.el.querySelectorAll('spw-sidenav-item');
|
|
6
|
+
items.forEach(item => { var _a; return (_a = item.close) === null || _a === void 0 ? void 0 : _a.call(item); });
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return (h(Host, { key: 'c248ceeea7443805b4471b20553fe005a71af44d' }, h("nav", { key: '32ac7857681d12475f5c09d61d21e9c1c0645a00', class: "spw-sidenav" }, h("slot", { key: '0e88515dba47eb47d0db02eb6c7b45fe9e341db9' }))));
|
|
10
|
+
}
|
|
11
|
+
static get is() { return "spw-sidenav"; }
|
|
12
|
+
static get encapsulation() { return "shadow"; }
|
|
13
|
+
static get originalStyleUrls() {
|
|
14
|
+
return {
|
|
15
|
+
"$": ["spw-sidenav.scss"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
static get styleUrls() {
|
|
19
|
+
return {
|
|
20
|
+
"$": ["spw-sidenav.css"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static get methods() {
|
|
24
|
+
return {
|
|
25
|
+
"closeAll": {
|
|
26
|
+
"complexType": {
|
|
27
|
+
"signature": "() => Promise<void>",
|
|
28
|
+
"parameters": [],
|
|
29
|
+
"references": {
|
|
30
|
+
"Promise": {
|
|
31
|
+
"location": "global",
|
|
32
|
+
"id": "global::Promise"
|
|
33
|
+
},
|
|
34
|
+
"NodeListOf": {
|
|
35
|
+
"location": "global",
|
|
36
|
+
"id": "global::NodeListOf"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"return": "Promise<void>"
|
|
40
|
+
},
|
|
41
|
+
"docs": {
|
|
42
|
+
"text": "Ferme tous les items ouverts",
|
|
43
|
+
"tags": []
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static get elementRef() { return "el"; }
|
|
49
|
+
}
|
|
@@ -44,7 +44,7 @@ export class SpwSkeleton {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'baf6617e7f6f8d16bc09d9ed86ddfb299a23f94a' }, h("div", { key: '089813b4d4cdeb5d8e9737ed121df936711a8de6', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: 'bc44a9531c3922c90137cf8110ebcf80cc6f3f16' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "spw-skeleton"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSliderItem {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c1227e735448eaea0fa907b30fcefb1c707be454' }, h("div", { key: '276be5b2365d43ae37f11d217a321f0fdddf0f90', class: "spw-slider-item" }, h("slot", { key: '594ebb9169c11d0e08debc43f12dce462cbc4ff3' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-slider-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -394,7 +394,7 @@ export class SpwSlider {
|
|
|
394
394
|
}, onClick: () => this.handleDotClick(i), "aria-label": `Slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))));
|
|
395
395
|
}
|
|
396
396
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
397
|
+
return (h(Host, { key: 'e3cdcffa3cd1e788cb9ba3b14b54b93154658998' }, h("div", { key: '4e5895bcfa1c51594acd207537bdb6b793609f0c', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: 'ee4be86960ea0cdf99f105d34a2b511a1a2ef7c9', class: "spw-slider__track" }, h("slot", { key: '9324d09e7496a54d2f70684c815a7b833668d3ef' })), this.showArrows && (h("div", { key: 'f817cf37896af468a2a595ebff223457bcb80622', class: "spw-slider__navigation" }, h("button", { key: '9002d2d66e93dc132a7c054931a259559e8e2398', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: '881b9786ec4c1bad320800688a99c1cdd05864f7', icon: "fa-chevron-left" })), h("button", { key: '531a890269a510ce25cbaaac99d6a7b556ebdbd5', class: "spw-slider__arrow spw-slider__arrow--next", onClick: this.handleNext, disabled: this.activeIndex === this.totalSlides - 1, "aria-label": this.nextSlideText }, h("spw-icon", { key: '67da2f2695217740053fbf13879825fc25f8a68a', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: '37854071cc07c7b649af836b6ee4d23009aa3ccc', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: 'b156e6623b0a19012574d538ba41bd2a87d97fd0', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '0613184d17c2426e8ef6a9c967af13b462b99e9e', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
|
|
398
398
|
}
|
|
399
399
|
static get is() { return "spw-slider"; }
|
|
400
400
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class SpwSocials {
|
|
|
5
5
|
this.mainTitle = 'Restez connecté';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '37ed3a03b7350050ba217872a8a8ee9fcdb747b2' }, h("div", { key: '887f4e81d701a19b99317dead5eacc7f11f64ac3', class: "spw-socials" }, h("div", { key: '037ab94e4f7c748854fbc6375d282bcef10603f2', class: "spw-ds-container" }, h("h2", { key: '4722c336fefac98c035b261e9e03823e6f548975', class: "spw-socials__title" }, this.mainTitle), h("div", { key: 'd3eb5112d91db92e9fff52e51339c31d6085fa9b', class: "spw-socials__content" }, h("slot", { key: '535992ccec35ea2249f67c62491dda3defd40299' }))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "spw-socials"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -33,7 +33,7 @@ export class SpwTableBody {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("tbody", { key: '
|
|
36
|
+
return (h("tbody", { key: 'a9e204e735c6df8af028d0973e6e9d093b724d1f', part: "tbody" }, h("slot", { key: 'd4ef5fb72710dba922b4ee232b83dc34c4c85fce' })));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "spw-table-body"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class SpwTableCell {
|
|
|
87
87
|
}
|
|
88
88
|
attrs.style = stickyStyles;
|
|
89
89
|
}
|
|
90
|
-
return (h("td", Object.assign({ key: '
|
|
90
|
+
return (h("td", Object.assign({ key: 'dd15e98018e126db78124d0a36ecc3ada952cd7d' }, attrs), h("slot", { key: '34b37091089de46915e0947ed69800d81a45ba69' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "spw-table-cell"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwTableContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'ba32d8351f460f3eb7a5243f8b7a838afa85fe71' }, h("div", { key: '515717d2400c7aefb573e0e5f3b1f69be364c020', class: "spw-table-container" }, h("slot", { key: '8d168442cd75f0556cb369e382fde91d7ecb223d' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTableFooter {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '12ca1ccd23f29a2ff5ce4f83d5c95c144e3ed05b', class: "spw-table-footer" }, h("slot", { key: '1f0c922c3ebffeb4e03cc038ad9283531986ba7a', name: "left" }), h("slot", { key: 'b35dc377529b095c7aeb421d94b38386f7533567', name: "center" }), h("slot", { key: '668cab6205dcc48004e0e9a2ec2b1605ccfe26a2', name: "right" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-footer"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTableHead {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("thead", { key: '
|
|
4
|
+
return (h("thead", { key: 'd957840628bb81aefe0d028e2b87bcdcb70dbefb', part: "thead" }, h("slot", { key: '3d0d79e4b275b2ee7241e7d7f39d2fbb81041dd3' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-head"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,10 +65,10 @@ export class SpwTableHeader {
|
|
|
65
65
|
}
|
|
66
66
|
attrs.style = stickyStyles;
|
|
67
67
|
}
|
|
68
|
-
return (h("th", Object.assign({ key: '
|
|
68
|
+
return (h("th", Object.assign({ key: '49901ac1ee181ba20ed0a3034df8e66806ae1e54' }, attrs), h("div", { key: '340392945a5dd4d4c60ec8f0dd3b1e11190e106a', class: {
|
|
69
69
|
'spw-table-header__content': true,
|
|
70
70
|
'spw-table-header__content--is-sorted': this.isSorted,
|
|
71
|
-
} }, h("slot", { key: '
|
|
71
|
+
} }, h("slot", { key: '3cdadf97c4a97d6f7f1fe8778ef3509c761a15d2' }), h("div", { key: 'aad3d5b6d8465ca5cbec4fb056e70fbb99cbec9d', class: "spw-table-header__icons" }, h("slot", { key: '3775fb68e7a129db0c1bb6f021ca6ee475a0b8fb', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '04a1b70d162ec187ead78f6ea90f4773dc605124', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: '724d62b0d6c8532bd50e486778ab5cc43c45ed19', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: 'ff9ea419a7fe8f8fe10e8bafb67c20278fbf6c94', class: "spw-table-header__sort-icon", icon: this.isSorted ? (this.sortDirection === 'asc' ? 'fa-arrow-up-short-wide' : 'fa-arrow-down-wide-short') : 'fa-arrow-up-arrow-down' }))))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "spw-table-header"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SpwTableRow {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '2e5b39c7bd307e27d424b9b7607fb42935e4498c', part: "row" }, h("tr", { key: '43ce9efb0946dc89c6bf783da7073406a6fd6b76', class: this.elementClass, part: "row" }, h("slot", { key: '16c69e9d52c86d0286ae3fc42d9c0abc5c339121' }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-table-row"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +123,7 @@ export class SpwTableSidebar {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const style = Object.assign(Object.assign({}, (this.observedHeight !== undefined && { height: `${this.observedHeight}px` })), { '--spw-table-sidebar-width': `${this.sidebarWidth}px` });
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'fb4374fe40ceeefaaf11ae09e93de670caded7c6', style: style, class: this.hostClass }, h("nav", { key: '11f9cf9fab69bd57a4d7580d4f3cdeb5c14a79c0', class: this.elementClass }, h("span", { key: '47b5f9bdf217683e357e04851bd5a01f7f600b32', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '3b837e3d4d2292218a4d5ea91f7ff2c3dc7c8552', icon: "fa-chevron-left" })), h("div", { key: 'd9a7679ed519a5734c89ee529b798b44a897badf', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '6d21fbc9dcbd8aadbbaf44307b0fb6f1b7818410', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '07eb451fd29dedf0c39bd9c5bb132968a184ced6', class: "spw-table-sidebar__content" }, h("div", { key: '43fd77c40dabedb907fd8cc936e97776f582164b', class: "spw-table-sidebar__header" }, h("span", { key: '0142aaa659a39687f7b3c6da39f01285c602b59d', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '25b7139651b3832fab1543d43fe9252b1b316010', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: 'c03787c7c5faa815479b641715ce560db0fe3418', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '66e976bf79f4cf19678b3f48c325ec6ca04d7ba2', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '8eb07f0a9b371f6ee63663a30cff72be20967f1c' })), h("div", { key: '3c085ce9a9acef989a0b3d86759a0fa89c49469a', class: "spw-table-sidebar__footer" }, h("slot", { key: 'c7ad275117018bec8f1e42325d0335bf6d56b5d8', name: "sidebar-footer" }))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "spw-table-sidebar"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,7 +102,7 @@ export class SpwTabsNavigation {
|
|
|
102
102
|
'spw-tabs-navigation__list--vertical-on-mobile': this.isVerticalOnMobile,
|
|
103
103
|
'spw-tabs-navigation__list--centered': this.isCentered && !this.hasOverflow,
|
|
104
104
|
};
|
|
105
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: '2b227b9d3edc52fe3cd7358e8e1b0269863c07d5', class: containerClass }, this.showLeftArrow && (h("button", { key: '6ffc6f975492936714466215e27519ff3137261b', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left", onClick: this.scrollLeft, "aria-label": "Faire d\u00E9filer vers la gauche" }, h("spw-icon", { key: 'c3609240c389f9f480c79d956b894f433e66a0bd', icon: "fa-chevron-left" }))), h("nav", { key: '85918963ae8cffb79eb21467e54bcda93afb27cb', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '36f65c10bcbc0c52095c8491a37fd6bcd6199492', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: '9c0ad17537706fbee2a6158e014593cc6f26b17e' }))), this.showRightArrow && (h("button", { key: '95a250291a6d6586331bc8fd90f6bd011b05f949', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right", onClick: this.scrollRight, "aria-label": "Faire d\u00E9filer vers la droite" }, h("spw-icon", { key: '6d8646a6d37e816fdfd8a278b5794de3da5f5068', icon: "fa-chevron-right" })))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "spw-tabs-navigation"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js
CHANGED
|
@@ -63,7 +63,7 @@ export class SpwTabsNavigationItem {
|
|
|
63
63
|
const iconClass = `spw-icon--${iconPosition}`;
|
|
64
64
|
const iconElement = this.icon ? h("spw-icon", { class: iconClass, icon: this.icon }) : null;
|
|
65
65
|
const tagElement = this.tagText ? (h("spw-tag", { size: "small", "has-icon": this.tagIcon ? 'true' : 'false', variant: this.tagVariant }, this.tagText)) : null;
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '3a8f8534ca1682b8e171f8c19e4db53ce29bd0c4', class: this.active ? '--active' : '' }, h("li", { key: '2e12362ae8375e351c93d53c0f3c37e32e96bf11', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.accAriaLabel || this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: 'c212ddbc7e42daee44b30b4b4859c474cfb9938f', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: 'c28046baad6d3160d1bc9dc8fb9258c76432562c' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '8ad13772538c74b690e78da8aa114c179be1d05c' }, iconPosition === 'left' && iconElement, h("slot", { key: 'ea83c3dbb8587ecdebad8f1fa81894a535491c2d' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '28d465f9942b8207263057e53f9ed0f277a9ab99', class: "bubble" }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "spw-tabs-navigation-item"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,7 +167,7 @@ export class SpwTabs {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("div", { key: '
|
|
170
|
+
return (h("div", { key: '3bfb6a6bea5d4ebc4bc2cec369756414c4d94056', class: this.elementClass }, h("slot", { key: '1b73931774867138ceb9bebb0fb5e56b0a0483c6', name: "navigation" }), h("slot", { key: '229876d6e286f1bf7de291dfd41122ca067de57e', name: "content" })));
|
|
171
171
|
}
|
|
172
172
|
static get is() { return "spw-tabs"; }
|
|
173
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SpwTag {
|
|
|
49
49
|
};
|
|
50
50
|
const iconToDisplay = this.icon || this.getIcon(this.variant);
|
|
51
51
|
const iconElement = this.hasIcon ? h("spw-icon", { variant: this.iconVariant, icon: iconToDisplay }) : null;
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '4a6158008a587e4a6c534634df08be0c63b98e4b' }, h(TagType, Object.assign({ key: 'bd12d6475acbac06d2f5dfdd87aeb2a15b540ff1' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: '195ff4cda1e6e74eab0a3a46d4a04bdbf101da96' }), this.iconPosition === 'right' && iconElement)));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-tag"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -582,6 +582,12 @@ template {
|
|
|
582
582
|
height: 60px;
|
|
583
583
|
font-size: 18px;
|
|
584
584
|
}
|
|
585
|
+
.spw-text-field--disabled .spw-text-field__number-btn {
|
|
586
|
+
border-color: var(--spw-color-themes-grey-grey-400);
|
|
587
|
+
}
|
|
588
|
+
.spw-text-field--is-error .spw-text-field__number-btn {
|
|
589
|
+
border-color: var(--spw-colors-states-error-error-300);
|
|
590
|
+
}
|
|
585
591
|
.spw-text-field--has-controls .spw-text-field__input {
|
|
586
592
|
border-radius: 0;
|
|
587
593
|
border-left: none;
|
|
@@ -282,7 +282,7 @@ export class SpwTextField {
|
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
render() {
|
|
285
|
-
return (h("div", { key: '
|
|
285
|
+
return (h("div", { key: 'e4bd9a7658360bb809fea011c1be848d410fd4ac', class: this.elementClass }, this.label && (h("spw-field-label", { key: '966ebc8ec9fc846bb3bbddd5872ea9dadf57f559', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '89cda5a205c9e6ebbc559e244df8b2f09af824a6', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'b9117308948f17fef393c1342e02b838cbb8d1f3', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '3e9e5115840166cf7d725f6be9353d820ab49752', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: 'cccf7aa4bce081ed985bd29a90d9d9f0fcd7df87', icon: "fa-minus" }))), h("div", { key: 'ce2962bd886e188465abfb7e882ca1e6bebc1844', class: "spw-text-field__input-container" }, h("input", { key: '9266a73c59ff0625e9bb444af04f1966ae3295bf', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'text' : this.type, inputMode: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'decimal' : undefined, min: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.min : undefined, max: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.max : undefined, step: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.step : undefined, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.name, disabled: this.disabled, name: this.name, id: this.name, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: '2e0e41f825ef7b54057e9f8eac56dbbd1692b0eb', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '8c289f6d07ab2a494b8379bb4dd96b7913b636dc', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '45cee755cd23114506a58e6ed8f84547e6531a47', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: '6e50f234680a9b77143dbd8d247afab10b262976', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: '4fbcdab588dce86c0498badad56cd378cf1bede5', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '9d0df46e6f24a1c321ccdd9dd883e18907241017', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '415467e32e7940ccdb3c79b6eac874e1a249c977', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: 'f854ab9b9b580b0e995991d5ae8dfaa4e1258caa', icon: "fa-plus" }))), this.indicator && h("div", { key: '23924b26b55b036341038b3a6dd18df9fd3d650e', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
286
286
|
}
|
|
287
287
|
static get is() { return "spw-text-field"; }
|
|
288
288
|
static get encapsulation() { return "shadow"; }
|
|
@@ -97,7 +97,7 @@ export class SpwTextarea {
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h("div", { key: '
|
|
100
|
+
return (h("div", { key: '5b930e7ce813970305f482400ba5c86b09bbe3b7', class: this.elementClass }, this.label && (h("spw-field-label", { key: '88877f24e5a0835dc4c06eb7cc44b64c35870566', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '311d473c1a77c266aa473ade76168b83a61fbc65', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'cdade3d3b5dde315863a4d51a99904b1a4c4e17c', class: "spw-textarea__container" }, h("textarea", { key: '1ea8a011713f49a21d6f452acb5024899471756a', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "spw-textarea"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class SpwThemeProvider {
|
|
|
24
24
|
document.documentElement.setAttribute('data-theme', theme);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("main", { key: '
|
|
27
|
+
return (h("main", { key: '0285afd390f8bd53ce43e58ff0982acf2bfb2de0', class: `spw-theme-${this.theme}` }, h("slot", { key: '0ae37393d3ebfad492887fa1979e21123363db79' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "spw-theme-provider"; }
|
|
30
30
|
static get properties() {
|
|
@@ -362,6 +362,40 @@ template {
|
|
|
362
362
|
|
|
363
363
|
:host {
|
|
364
364
|
display: block;
|
|
365
|
+
overflow: hidden;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host(.--light),
|
|
369
|
+
:host(.--big) {
|
|
370
|
+
margin-top: 6px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
@media (max-width: 1023px) {
|
|
374
|
+
:host(.--reveal-on-hover) {
|
|
375
|
+
display: none;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
@media (min-width: 1024px) {
|
|
379
|
+
:host(.--reveal-on-hover) {
|
|
380
|
+
display: grid;
|
|
381
|
+
grid-template-rows: 0fr;
|
|
382
|
+
margin-top: 0;
|
|
383
|
+
opacity: 0;
|
|
384
|
+
transition: grid-template-rows 0.25s ease-in, margin-top 0.25s ease-in, opacity 0.35s 0.05s ease-in;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@media (min-width: 1024px) {
|
|
389
|
+
:host(.--reveal-on-hover.--revealed) {
|
|
390
|
+
grid-template-rows: 1fr;
|
|
391
|
+
margin-top: 6px;
|
|
392
|
+
opacity: 1;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
:host(.--reveal-on-hover) .spw-tile-description {
|
|
397
|
+
min-height: 0;
|
|
398
|
+
overflow: hidden;
|
|
365
399
|
}
|
|
366
400
|
|
|
367
401
|
:host(.--icon) .spw-tile-description {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileDescription {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '3d9b003f759787e34582178117a40aa86beb62d5', class: "spw-tile-description" }, h("slot", { key: '5ad0c5d8d9d9e776cff00017784bde5b59502d1e' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-description"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileTitle {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("h3", { key: '
|
|
4
|
+
return (h("h3", { key: 'ae2f43d85a1b248315b0866d301c30bfb3e3adc2', class: "spw-tile-title" }, h("slot", { key: '97d54e933b52987434a5bc3c5efd535cfcbefc86' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -415,9 +415,6 @@ template {
|
|
|
415
415
|
height: 100%;
|
|
416
416
|
z-index: 2;
|
|
417
417
|
}
|
|
418
|
-
.spw-tile--big:hover:before, .spw-tile--light:hover:before {
|
|
419
|
-
opacity: 0.3;
|
|
420
|
-
}
|
|
421
418
|
.spw-tile__overlay, .spw-tile__image {
|
|
422
419
|
position: absolute;
|
|
423
420
|
width: 100%;
|
|
@@ -427,55 +424,68 @@ template {
|
|
|
427
424
|
}
|
|
428
425
|
.spw-tile__overlay {
|
|
429
426
|
z-index: 2;
|
|
430
|
-
|
|
427
|
+
height: calc(100% + 48px);
|
|
428
|
+
bottom: 0;
|
|
429
|
+
top: auto;
|
|
430
|
+
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--shades-alpha-dark-alpha-dark-alpha-900, rgba(0, 0, 0, 0.87)) 100%);
|
|
431
431
|
}
|
|
432
432
|
.spw-tile__image {
|
|
433
433
|
z-index: 1;
|
|
434
434
|
object-fit: cover;
|
|
435
435
|
}
|
|
436
436
|
.spw-tile__button {
|
|
437
|
-
|
|
437
|
+
position: absolute;
|
|
438
|
+
bottom: 24px;
|
|
439
|
+
right: 24px;
|
|
440
|
+
background: transparent;
|
|
438
441
|
width: 48px;
|
|
439
442
|
height: 48px;
|
|
440
443
|
display: inline-flex;
|
|
441
444
|
align-items: center;
|
|
442
445
|
justify-content: center;
|
|
443
|
-
color:
|
|
446
|
+
color: white;
|
|
444
447
|
border-radius: 50%;
|
|
445
448
|
transition: all 0.2s ease-in;
|
|
446
|
-
border:
|
|
449
|
+
border: 3px solid white;
|
|
447
450
|
font-size: 20px;
|
|
448
451
|
margin-top: 12px;
|
|
452
|
+
z-index: 2;
|
|
449
453
|
}
|
|
450
454
|
.spw-tile:hover .spw-tile__button {
|
|
451
|
-
|
|
452
|
-
color: white;
|
|
453
|
-
background: transparent;
|
|
455
|
+
background: rgba(0, 0, 0, 0.5);
|
|
454
456
|
}
|
|
455
457
|
|
|
456
|
-
.spw-tile--icon .spw-tile__content {
|
|
457
|
-
display: flex;
|
|
458
|
-
flex-direction: column;
|
|
459
|
-
gap: 12px;
|
|
460
|
-
padding: 0 12px;
|
|
461
|
-
text-align: center;
|
|
462
|
-
}
|
|
463
|
-
.spw-tile--icon .spw-tile__content ::slotted(spw-icon) {
|
|
464
|
-
font-size: 32px;
|
|
465
|
-
color: var(--spw-ds-primary);
|
|
466
|
-
}
|
|
467
458
|
.spw-tile--light .spw-tile__content, .spw-tile--big .spw-tile__content {
|
|
468
459
|
position: absolute;
|
|
469
460
|
z-index: 3;
|
|
470
461
|
display: flex;
|
|
471
462
|
flex-direction: column;
|
|
472
|
-
gap:
|
|
463
|
+
gap: 0;
|
|
473
464
|
padding: 24px;
|
|
474
465
|
bottom: 0;
|
|
475
466
|
left: 0;
|
|
476
467
|
width: 100%;
|
|
477
468
|
}
|
|
469
|
+
.spw-tile--big.spw-tile--hoverable .spw-tile__content {
|
|
470
|
+
padding-right: 84px;
|
|
471
|
+
}
|
|
478
472
|
.spw-tile--light .spw-tile__content {
|
|
479
473
|
text-align: center;
|
|
480
474
|
padding-bottom: 24px;
|
|
475
|
+
}
|
|
476
|
+
.spw-tile__content-inner {
|
|
477
|
+
position: relative;
|
|
478
|
+
z-index: 3;
|
|
479
|
+
flex: 1;
|
|
480
|
+
}
|
|
481
|
+
.spw-tile--icon .spw-tile__content-inner {
|
|
482
|
+
display: flex;
|
|
483
|
+
flex-direction: column;
|
|
484
|
+
gap: 12px;
|
|
485
|
+
padding: 0 12px;
|
|
486
|
+
text-align: center;
|
|
487
|
+
}
|
|
488
|
+
.spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon) {
|
|
489
|
+
font-size: 32px;
|
|
490
|
+
color: var(--spw-ds-primary);
|
|
481
491
|
}
|
|
@@ -9,23 +9,24 @@ export class SpwTile {
|
|
|
9
9
|
this.target = '_self';
|
|
10
10
|
/** Texte alternatif de l'image de fond */
|
|
11
11
|
this.imageAlt = '';
|
|
12
|
-
/**
|
|
13
|
-
this.
|
|
12
|
+
/** Masque la spw-tile-description et la révèle au hover (uniquement pour la variante light et big - masquée en mobile) */
|
|
13
|
+
this.revealDescription = true;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
componentDidLoad() {
|
|
16
16
|
this.applyVariantToChildren();
|
|
17
17
|
}
|
|
18
18
|
slotChanged() {
|
|
19
19
|
this.applyVariantToChildren();
|
|
20
20
|
}
|
|
21
21
|
applyVariantToChildren() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
descriptionElement
|
|
28
|
-
|
|
22
|
+
const variantClass = `--${this.variant}`;
|
|
23
|
+
const titleElement = this.el.querySelector('spw-tile-title');
|
|
24
|
+
const descriptionElement = this.el.querySelector('spw-tile-description');
|
|
25
|
+
titleElement && titleElement.classList.add(variantClass);
|
|
26
|
+
if (descriptionElement) {
|
|
27
|
+
descriptionElement.classList.add(variantClass);
|
|
28
|
+
descriptionElement.classList.toggle('--reveal-on-hover', this.revealDescription && (this.variant === 'light' || this.variant === 'big'));
|
|
29
|
+
}
|
|
29
30
|
}
|
|
30
31
|
get elementClass() {
|
|
31
32
|
return {
|
|
@@ -33,6 +34,7 @@ export class SpwTile {
|
|
|
33
34
|
'spw-tile--hoverable': !!this.href,
|
|
34
35
|
[`spw-tile--${this.variant}`]: true,
|
|
35
36
|
[`spw-tile--height-${this.height}`]: true,
|
|
37
|
+
'spw-tile--reveal-description': this.revealDescription && (this.variant === 'light' || this.variant === 'big'),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
onMouseEnter() {
|
|
@@ -46,6 +48,10 @@ export class SpwTile {
|
|
|
46
48
|
if (titleElement && this.href) {
|
|
47
49
|
titleElement.classList.toggle('--hovered', isHovered);
|
|
48
50
|
}
|
|
51
|
+
const descriptionElement = this.el.querySelector('spw-tile-description');
|
|
52
|
+
if (descriptionElement && this.revealDescription && (this.variant === 'light' || this.variant === 'big')) {
|
|
53
|
+
descriptionElement.classList.toggle('--revealed', isHovered);
|
|
54
|
+
}
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
57
|
const { href, target } = this;
|
|
@@ -56,7 +62,7 @@ export class SpwTile {
|
|
|
56
62
|
href,
|
|
57
63
|
target,
|
|
58
64
|
};
|
|
59
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'cf901f3325453adb4fe130b1d0d3bc9dfa78a323' }, h(TagType, Object.assign({ key: 'f37a6ad65125bb464e3a366760c1bd7850fa3023' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '3bbb2140643181cf6d98ae87583572994b38463b' }, h("img", { key: '8fd96171e647c8ec905955755175d135406f0b50', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '4749a5833581683cb77c175cbec538293b789dd7', class: "spw-tile__content" }, (this.variant === 'big' || this.variant === 'light') && h("div", { key: 'c84b7a75688366c2e61e9aeb67194c64bd447705', class: "spw-tile__overlay" }), h("div", { key: '445985aa0760b2fbc60081c788005b0abfe9bf23', class: "spw-tile__content-inner" }, h("slot", { key: '3f5241b7be0673970e1a044d23817141a6091c73' })), this.href && this.variant === 'big' && (h("span", { key: '3f0a6cd4f1bdea9bbec8708ac86f5d4e895eac59', class: "spw-tile__button" }, h("spw-icon", { key: '1555a4b7c7087b1a177a07d265facfb9fcf37f6d', icon: "fa-chevron-right" })))))));
|
|
60
66
|
}
|
|
61
67
|
static get is() { return "spw-tile"; }
|
|
62
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -190,25 +196,25 @@ export class SpwTile {
|
|
|
190
196
|
"attribute": "image-alt",
|
|
191
197
|
"defaultValue": "''"
|
|
192
198
|
},
|
|
193
|
-
"
|
|
194
|
-
"type": "
|
|
199
|
+
"revealDescription": {
|
|
200
|
+
"type": "boolean",
|
|
195
201
|
"mutable": false,
|
|
196
202
|
"complexType": {
|
|
197
|
-
"original": "
|
|
198
|
-
"resolved": "
|
|
203
|
+
"original": "boolean",
|
|
204
|
+
"resolved": "boolean",
|
|
199
205
|
"references": {}
|
|
200
206
|
},
|
|
201
207
|
"required": false,
|
|
202
208
|
"optional": true,
|
|
203
209
|
"docs": {
|
|
204
210
|
"tags": [],
|
|
205
|
-
"text": "
|
|
211
|
+
"text": "Masque la spw-tile-description et la r\u00E9v\u00E8le au hover (uniquement pour la variante light et big - masqu\u00E9e en mobile)"
|
|
206
212
|
},
|
|
207
213
|
"getter": false,
|
|
208
214
|
"setter": false,
|
|
209
215
|
"reflect": false,
|
|
210
|
-
"attribute": "
|
|
211
|
-
"defaultValue": "
|
|
216
|
+
"attribute": "reveal-description",
|
|
217
|
+
"defaultValue": "true"
|
|
212
218
|
}
|
|
213
219
|
};
|
|
214
220
|
}
|
|
@@ -55,10 +55,10 @@ export class SpwTimelineItem {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const showConnector = this.isLast === 'false';
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'bed06990940bf27088d30acf046c7898b36d1867' }, h("div", { key: 'e0097fb58a7e949b624a3f849772c77452ff23e9', class: this.elementClass }, h("div", { key: '650e758e17174fe9616e65f9988cd5da2b57a403', class: "spw-timeline-item__step" }, h("div", { key: '531e0380dbabbee8106a08c12e68e7404860316b', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '51ecd63ea9e2dc2240c8a5a42a2cf0d53b1d5f1f', class: "spw-timeline-item__connector" })), h("div", { key: '7f3da2d7a0ee388eddcfefc8c1b57079c7968097', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: 'a608d47b21e8e07f1ae10c63424c534dafc50a91', class: "spw-timeline-item__description-wrapper" }, h("div", { key: 'fdec9cbc5f723358d6244ae351e886e7a173371e', ref: el => (this.descriptionRef = el), class: {
|
|
59
59
|
'spw-timeline-item__description': true,
|
|
60
60
|
'spw-timeline-item__description--collapsed': !this.isDescriptionExpanded,
|
|
61
|
-
} }, this.description))), h("slot", { key: '
|
|
61
|
+
} }, this.description))), h("slot", { key: '0f999df3ae5f72eb9aa2e2933bb8f5a897983d62' })))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "spw-timeline-item"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|