@spw-ds/spw-stencil-library 1.19.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 +297 -21
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/spw-accordion_4.cjs.entry.js +137 -16
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- package/dist/cjs/spw-block-content.cjs.entry.js +3 -2
- package/dist/cjs/spw-box.cjs.entry.js +5 -6
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +5 -3
- package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +1 -1
- package/dist/cjs/spw-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/spw-drawer.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-field-label_8.cjs.entry.js +51 -9
- package/dist/cjs/spw-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-grid.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
- package/dist/cjs/spw-header.cjs.entry.js +63 -15
- package/dist/cjs/spw-hero.cjs.entry.js +3 -3
- package/dist/cjs/spw-input-slider.cjs.entry.js +1 -1
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +11 -2
- package/dist/cjs/spw-lightbox.cjs.entry.js +53 -5
- package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-list.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
- package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
- package/dist/cjs/spw-scrolltop.cjs.entry.js +1 -1
- package/dist/cjs/spw-search-field.cjs.entry.js +20 -2
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +8 -5
- package/dist/cjs/spw-sidenav.cjs.entry.js +2 -2
- package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider.cjs.entry.js +1 -1
- package/dist/cjs/spw-socials.cjs.entry.js +1 -1
- package/dist/cjs/spw-stencil-library.cjs.js +1 -1
- package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
- package/dist/cjs/spw-tag.cjs.entry.js +1 -1
- package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
- package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-tile.cjs.entry.js +1 -1
- package/dist/cjs/spw-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc.cjs.entry.js +1 -1
- package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
- package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-wizard.cjs.entry.js +76 -2
- 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-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.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 +2 -2
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +5 -5
- 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 +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.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 +9 -0
- package/dist/collection/components/spw-group/spw-group.js +129 -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.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 +2 -2
- 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.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-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +40 -2
- 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.js +2 -2
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +6 -2
- 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.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 +1 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.css +3 -0
- package/dist/collection/components/spw-wizard/spw-wizard.js +86 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +99 -70
- package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +159 -2
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +69 -0
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +1 -160
- package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +64 -0
- package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +3 -3
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/{p-BCuU5Ywh.js → p-BTTY1Aoh.js} +1 -1
- package/dist/components/p-CZ233jUc.js +1 -0
- 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-B68Myli4.js → p-DFkINEAb.js} +1 -1
- package/dist/components/{p-CdYKps3q.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-CMrHIi6V.js → p-EnUTqnRk.js} +1 -1
- package/dist/components/p-N9GtuZLt.js +1 -0
- package/dist/components/{p-BrrQs_CF.js → p-_nYzjIHU.js} +1 -1
- package/dist/components/{p-Cjd09L60.js → p-ijn7X7l6.js} +1 -1
- package/dist/components/{p-oohA0YBK.js → p-qWBjG9IQ.js} +1 -1
- package/dist/components/{p-VmfmCYD6.js → p-rooGoPru.js} +1 -1
- package/dist/{spw-stencil-library/p-ce07c9cd.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-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.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 +446 -29
- package/dist/components_vscode.json +75 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/spw-accordion_4.entry.js +137 -16
- package/dist/esm/spw-avatar.entry.js +1 -1
- package/dist/esm/spw-block-content.entry.js +3 -2
- package/dist/esm/spw-box.entry.js +5 -6
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +1 -1
- package/dist/esm/spw-button_2.entry.js +2 -2
- package/dist/esm/spw-card-content.entry.js +1 -1
- package/dist/esm/spw-card-excerpt.entry.js +1 -1
- package/dist/esm/spw-card-image.entry.js +1 -1
- package/dist/esm/spw-card-subtag-item.entry.js +5 -3
- package/dist/esm/spw-card-subtags.entry.js +1 -1
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +1 -1
- package/dist/esm/spw-checkbox.entry.js +6 -6
- package/dist/esm/spw-date-picker.entry.js +1 -1
- package/dist/esm/spw-drawer.entry.js +3 -3
- package/dist/esm/spw-dropdown-container.entry.js +1 -1
- package/dist/esm/spw-dropdown-item.entry.js +1 -1
- package/dist/esm/spw-dropdown.entry.js +1 -1
- package/dist/esm/spw-field-label_8.entry.js +51 -9
- package/dist/esm/spw-file-upload.entry.js +2 -2
- package/dist/esm/spw-footer-bottom.entry.js +1 -1
- package/dist/esm/spw-footer-content-col.entry.js +1 -1
- package/dist/esm/spw-footer-content.entry.js +1 -1
- package/dist/esm/spw-footer-link.entry.js +1 -1
- package/dist/esm/spw-footer.entry.js +1 -1
- package/dist/esm/spw-grid-item.entry.js +2 -2
- package/dist/esm/spw-grid.entry.js +2 -2
- package/dist/esm/spw-header-lang.entry.js +1 -1
- package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-header-navigation-item.entry.js +1 -1
- package/dist/esm/spw-header-navigation.entry.js +1 -1
- package/dist/esm/spw-header-persona-item.entry.js +1 -1
- package/dist/esm/spw-header-persona.entry.js +1 -1
- package/dist/esm/spw-header.entry.js +63 -15
- package/dist/esm/spw-hero.entry.js +3 -3
- package/dist/esm/spw-input-slider.entry.js +1 -1
- package/dist/esm/spw-lightbox-item.entry.js +11 -2
- package/dist/esm/spw-lightbox.entry.js +53 -5
- package/dist/esm/spw-list-description.entry.js +1 -1
- package/dist/esm/spw-list-item.entry.js +1 -1
- package/dist/esm/spw-list-title.entry.js +1 -1
- package/dist/esm/spw-list.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +3 -3
- package/dist/esm/spw-mosaic-item.entry.js +1 -1
- package/dist/esm/spw-mosaic.entry.js +1 -1
- package/dist/esm/spw-pagination.entry.js +6 -6
- package/dist/esm/spw-scrolltop.entry.js +1 -1
- package/dist/esm/spw-search-field.entry.js +20 -2
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
- package/dist/esm/spw-sidebar.entry.js +1 -1
- package/dist/esm/spw-sidenav-group.entry.js +2 -2
- package/dist/esm/spw-sidenav-item.entry.js +8 -5
- package/dist/esm/spw-sidenav.entry.js +2 -2
- package/dist/esm/spw-skeleton.entry.js +1 -1
- package/dist/esm/spw-slider-item.entry.js +1 -1
- package/dist/esm/spw-slider.entry.js +1 -1
- package/dist/esm/spw-socials.entry.js +1 -1
- package/dist/esm/spw-stencil-library.js +1 -1
- package/dist/esm/spw-table-body.entry.js +1 -1
- package/dist/esm/spw-table-cell.entry.js +1 -1
- package/dist/esm/spw-table-container.entry.js +1 -1
- package/dist/esm/spw-table-footer.entry.js +1 -1
- package/dist/esm/spw-table-head.entry.js +1 -1
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +1 -1
- package/dist/esm/spw-table-sidebar.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation.entry.js +1 -1
- package/dist/esm/spw-tabs.entry.js +1 -1
- package/dist/esm/spw-tag.entry.js +1 -1
- package/dist/esm/spw-text-field.entry.js +1 -1
- package/dist/esm/spw-textarea.entry.js +1 -1
- package/dist/esm/spw-tile-description.entry.js +1 -1
- package/dist/esm/spw-tile-title.entry.js +1 -1
- package/dist/esm/spw-tile.entry.js +1 -1
- package/dist/esm/spw-timeline-item.entry.js +2 -2
- package/dist/esm/spw-timeline.entry.js +2 -2
- package/dist/esm/spw-toc.entry.js +1 -1
- package/dist/esm/spw-topbar.entry.js +1 -1
- package/dist/esm/spw-wizard-item.entry.js +1 -1
- package/dist/esm/spw-wizard.entry.js +76 -2
- package/dist/spw-stencil-library/{p-10f42f45.entry.js → p-00eb3fc6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7e704f32.entry.js → p-030f69b3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a89eaabb.entry.js → p-074c9eb4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1dc8918c.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-455036fe.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-b835ebc5.entry.js → p-13b5e2e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2417cbbb.entry.js → p-13d1d1a1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4774338c.entry.js → p-1428b28a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1bdf3e61.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-50588fc5.entry.js → p-1c021756.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6e52eb6a.entry.js → p-1f91c68f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e8f6b76c.entry.js → p-1fe079d1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6cc0b5f5.entry.js → p-27769aed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a8bd7ac4.entry.js → p-2b9ffd95.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-95062710.entry.js → p-31830ac7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2b1e084f.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-a6ffe0b7.entry.js → p-36ef809d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ad5c457.entry.js → p-37894ae0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2898a5f.entry.js → p-3e0a3cbd.entry.js} +2 -2
- package/dist/spw-stencil-library/p-40f40ab3.entry.js +1 -0
- package/dist/spw-stencil-library/{p-bfde8a3a.entry.js → p-4667f645.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fb604e35.entry.js → p-4fa02be3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-90100e0c.entry.js → p-514d03e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-70947adf.entry.js → p-54a965f4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-698c0030.entry.js → p-5f4a8aaf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9ee7a00a.entry.js → p-605e3722.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-932bee0e.entry.js → p-68674b0f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b6678091.entry.js → p-68883d0b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f2714773.entry.js → p-6c85ba9a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-39643956.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-1e4878b8.entry.js → p-7a927b3d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4b0db9bd.entry.js → p-7fb7c421.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8f1513ad.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-dad0c8fa.entry.js → p-89e7e9ed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0696997f.entry.js → p-8ce39569.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2cbb997d.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-bda30c93.entry.js → p-9900c3e8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e8a5a23.entry.js → p-9a0ccce8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4a06e37f.entry.js → p-9ac75aa3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fabba2d4.entry.js → p-a0027de0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a7b71644.entry.js → p-a28732e3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3f1f7fbb.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-ddc867bd.entry.js → p-ab310621.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6c9bc0df.entry.js → p-ab7d74f0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e1926d22.entry.js → p-b0b2f9ce.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9964d952.entry.js → p-b32a76cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0c33cd7d.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-b969ceba.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c374d0ff.entry.js → p-c0fb3674.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9f6d4141.entry.js → p-c5dbb538.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0e4056ba.entry.js → p-c93bf39b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fc1e3eb6.entry.js → p-ca38f08f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f1b2d02e.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-f98ff9fd.entry.js → p-cd7eef16.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b28c7677.entry.js → p-ce583729.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdcd9e24.entry.js → p-d3e4ff9e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0647a776.entry.js → p-d87aaef9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-eb0c9f5d.entry.js → p-df0a11b9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3777bccc.entry.js → p-e1b3f417.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1da399ed.entry.js → p-e6beadc2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-361f6350.entry.js → p-ea11c40b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ecc49c2e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-57cd2788.entry.js → p-ed4747f2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-243061e9.entry.js → p-ed53f129.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5a697628.entry.js → p-ee625904.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-adbcce82.entry.js → p-f11412df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ad6d6f0.entry.js → p-f214f8e4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-af9ea059.entry.js → p-f4046756.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3f83cca0.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-00bbd54f.entry.js → p-fc10235a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-39add31f.entry.js → p-fc1ccbf0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-93d33de7.entry.js → p-fe41767f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-89931481.entry.js → p-ffa41886.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +1334 -495
- 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-box/spw-box.d.ts +0 -1
- package/dist/types/components/spw-group/spw-group.d.ts +18 -0
- 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-search-field/spw-search-field.d.ts +4 -0
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +8 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +22 -0
- package/dist/types/components.d.ts +152 -11
- package/dist/types/stories/organisms/spw-accordion/spw-accordion.stories.d.ts +1 -0
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
- package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +2 -1
- package/hydrate/index.js +564 -175
- package/hydrate/index.mjs +564 -175
- package/package.json +1 -1
- package/dist/components/p-C2YutT5r.js +0 -1
- package/dist/components/p-CZa7267G.js +0 -1
- package/dist/components/p-Ci0r8I9g.js +0 -1
- package/dist/components/p-CqWtzvF4.js +0 -1
- package/dist/components/p-DVxJ3wRZ.js +0 -1
- package/dist/components/p-DaUZrpCq.js +0 -1
- package/dist/spw-stencil-library/p-0a0b5695.entry.js +0 -1
- package/dist/spw-stencil-library/p-235a9a01.entry.js +0 -1
- package/dist/spw-stencil-library/p-55f21ebb.entry.js +0 -1
- package/dist/spw-stencil-library/p-655a0920.entry.js +0 -1
- package/dist/spw-stencil-library/p-7f04e78e.entry.js +0 -1
- package/dist/spw-stencil-library/p-acd17168.entry.js +0 -1
- package/dist/spw-stencil-library/p-ade0b4ca.entry.js +0 -1
- package/dist/spw-stencil-library/p-bde71818.entry.js +0 -1
- package/dist/spw-stencil-library/p-c36db9e3.entry.js +0 -1
- package/dist/spw-stencil-library/p-c7480955.entry.js +0 -1
- package/dist/spw-stencil-library/p-e286f138.entry.js +0 -1
- package/dist/spw-stencil-library/p-e7e8a60a.entry.js +0 -1
- package/dist/spw-stencil-library/p-f473aba1.entry.js +0 -1
|
@@ -76,7 +76,7 @@ export class SpwSidebar {
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '5b767729b3a2fc71a8b827c303e81e3d9090eac4', class: this.hostClass }, h("div", { key: 'be89d42077e768e9fb2fbc27ea213213770b3ab9', class: this.elementClass }, h("span", { key: '9bbf2cbaa70842afbee5f20328f1b0ae23df2c56', class: "spw-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: 'cf1fbec060690fec257b3f5ec86ae9462b74adec', icon: "fa-chevron-right" })), h("div", { key: '81341973acd2e68db09e14f15e75dea6d2c79fc7', class: "spw-sidebar__content" }, h("slot", { key: 'dedf37d780f0594902588dde0ba85adb9a658dbe', name: "navigation-top" }), h("slot", { key: 'dabb525519c10319ddf4d7d291e65cb794467958', name: "navigation-bottom" })), h("div", { key: '91a1fef0f7f93472f4f77872dc46854dfb685647', class: "spw-sidebar__resize-border", onClick: this.toggleSidebar }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "spw-sidebar"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,10 +5,10 @@ export class SpwSidenavGroup {
|
|
|
5
5
|
this.open = false;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '1888c8fe5961292ec7951687edba7140aecde726', class: {
|
|
9
9
|
'spw-sidenav-group': true,
|
|
10
10
|
'spw-sidenav-group--open': this.open,
|
|
11
|
-
} }, h("div", { key: '
|
|
11
|
+
} }, h("div", { key: '03ba17f2b61b190f30c18691849e28e253ff4be6', class: "spw-sidenav-group__content", style: { display: this.open ? 'block' : 'none' } }, h("slot", { key: 'aa03a489af80336d804239495052f7a8b535fecf' }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "spw-sidenav-group"; }
|
|
14
14
|
static get originalStyleUrls() {
|
|
@@ -486,15 +486,19 @@ spw-sidenav-group .spw-sidenav-item__label {
|
|
|
486
486
|
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)):has(.spw-sidenav-item--active) > spw-sidenav-item:not(:has(> .spw-sidenav-item--active)) {
|
|
487
487
|
display: none;
|
|
488
488
|
}
|
|
489
|
-
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-group:has(> spw-sidenav-item > .spw-sidenav-item--active):has(> spw-sidenav-item spw-sidenav-item > .spw-sidenav-item--active) > spw-sidenav-item:not(:has(> .spw-sidenav-item--active))
|
|
489
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-group:has(> spw-sidenav-item > .spw-sidenav-item--active):has(> spw-sidenav-item spw-sidenav-item > .spw-sidenav-item--active) > spw-sidenav-item:not(:has(> .spw-sidenav-item--active)),
|
|
490
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-group:has(> .spw-sidenav-group__content > spw-sidenav-item > .spw-sidenav-item--active):has(> .spw-sidenav-group__content > spw-sidenav-item spw-sidenav-item > .spw-sidenav-item--active) > .spw-sidenav-group__content > spw-sidenav-item:not(:has(> .spw-sidenav-item--active)) {
|
|
490
491
|
display: none;
|
|
491
492
|
}
|
|
492
|
-
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active) > spw-sidenav-group > .spw-sidenav-group__content
|
|
493
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active) > spw-sidenav-group > .spw-sidenav-group__content,
|
|
494
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active) > .spw-sidenav-item > spw-sidenav-group > .spw-sidenav-group__content {
|
|
493
495
|
display: block !important;
|
|
494
496
|
}
|
|
497
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active):has(spw-sidenav-item > .spw-sidenav-item--active) > spw-sidenav-group > .spw-sidenav-group__content,
|
|
495
498
|
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active):has(spw-sidenav-item > .spw-sidenav-item--active) > .spw-sidenav-item > spw-sidenav-group > .spw-sidenav-group__content {
|
|
496
499
|
padding-left: 0;
|
|
497
500
|
}
|
|
501
|
+
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active):has(spw-sidenav-item > .spw-sidenav-item--active) > spw-sidenav-group > .spw-sidenav-group__content::before,
|
|
498
502
|
spw-sidenav:not([data-show-root=true]):not(:has(.spw-sidenav-item--mobile-focused)) spw-sidenav-item:has(> .spw-sidenav-item--active):has(spw-sidenav-item > .spw-sidenav-item--active) > .spw-sidenav-item > spw-sidenav-group > .spw-sidenav-group__content::before {
|
|
499
503
|
display: none;
|
|
500
504
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSidenavItem {
|
|
3
3
|
constructor() {
|
|
4
|
+
/** Attribut target (détermine où ouvrir le lien) */
|
|
5
|
+
this.target = '_self';
|
|
4
6
|
/** Variante d'icône Font Awesome */
|
|
5
7
|
this.iconVariant = 'fa-regular';
|
|
6
8
|
/** Marque l'item comme actif */
|
|
@@ -68,7 +70,8 @@ export class SpwSidenavItem {
|
|
|
68
70
|
const group = this.el.querySelector(':scope > .spw-sidenav-item > spw-sidenav-group, :scope > spw-sidenav-group');
|
|
69
71
|
this.hasChildren = group !== null;
|
|
70
72
|
if (group) {
|
|
71
|
-
|
|
73
|
+
const attr = (_a = group.getAttribute) === null || _a === void 0 ? void 0 : _a.call(group, 'open');
|
|
74
|
+
this.childrenOpen = typeof group.open === 'boolean' ? group.open : attr !== null && attr !== 'false';
|
|
72
75
|
}
|
|
73
76
|
else {
|
|
74
77
|
this.childrenOpen = false;
|
|
@@ -143,17 +146,17 @@ export class SpwSidenavItem {
|
|
|
143
146
|
}
|
|
144
147
|
render() {
|
|
145
148
|
const LabelTag = this.isLink ? 'a' : 'button';
|
|
146
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: '8334d22e4c9ce6648562301ab5a20db13f50ffe3' }, h("div", { key: '072864ac85e29dbd9be4278abd3f0e0db14f8794', class: {
|
|
147
150
|
'spw-sidenav-item': true,
|
|
148
151
|
'spw-sidenav-item--active': this.active || this.hasActiveChild,
|
|
149
152
|
'spw-sidenav-item--disabled': this.disabled,
|
|
150
153
|
'spw-sidenav-item--has-children': this.hasChildren,
|
|
151
154
|
'spw-sidenav-item--children-open': this.childrenOpen,
|
|
152
155
|
'spw-sidenav-item--mobile-focused': this.mobileFocused,
|
|
153
|
-
} }, h("div", { key: '
|
|
156
|
+
} }, h("div", { key: 'ae838ab3ac4c51cdea5b21c4e24620fd1e2760d0', class: "spw-sidenav-item__row" }, h(LabelTag, { key: '9d3558b619187abad061e7d637beca32c94483b8', class: "spw-sidenav-item__label", href: this.isLink ? this.href : undefined, target: this.isLink ? this.target : undefined, rel: this.isLink ? this.rel : undefined, download: this.isLink ? this.download : undefined, disabled: LabelTag === 'button' && this.disabled ? true : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-expanded": this.hasChildren ? this.childrenOpen.toString() : undefined, "aria-current": this.active ? 'page' : undefined, "aria-label": this.accAriaLabel, onClick: this.handleLabelClick }, this.icon && (h("span", { key: '99c605513017b7fa255fff6a3e3ffc6ed1790be7', class: "spw-sidenav-item__icon" }, h("spw-icon", { key: '5ed1b2e1123c5029bd35516114bdcdd181772146', variant: this.iconVariant, icon: this.icon }))), h("span", { key: 'c986170bc20749279c415865b100112f96143729', class: "spw-sidenav-item__text" }, h("slot", { key: '1a9d50368ab522568e413573af60f947700f8ba0' }))), this.hasChildren && (h("button", { key: '4f1370d4e433f953c55c17693ef46fb80f66cb4d', type: "button", class: {
|
|
154
157
|
'spw-sidenav-item__chevron': true,
|
|
155
158
|
'spw-sidenav-item__chevron--open': this.childrenOpen,
|
|
156
|
-
}, "aria-label": this.childrenOpen ? 'Réduire' : 'Développer', disabled: this.disabled, onClick: this.handleChevronClick }, h("spw-icon", { key: '
|
|
159
|
+
}, "aria-label": this.childrenOpen ? 'Réduire' : 'Développer', disabled: this.disabled, onClick: this.handleChevronClick }, h("spw-icon", { key: '4c43a86bf907b5e733110b7b3ff32748531e51ce', icon: "fa-chevron-down" })))), h("slot", { key: '7ce547d70d9de394b042a255393ebb59a16e51c7', name: "children" }))));
|
|
157
160
|
}
|
|
158
161
|
static get is() { return "spw-sidenav-item"; }
|
|
159
162
|
static get originalStyleUrls() {
|
|
@@ -187,6 +190,83 @@ export class SpwSidenavItem {
|
|
|
187
190
|
"reflect": false,
|
|
188
191
|
"attribute": "href"
|
|
189
192
|
},
|
|
193
|
+
"target": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"mutable": false,
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "string",
|
|
198
|
+
"resolved": "string",
|
|
199
|
+
"references": {}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": true,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "Attribut target (d\u00E9termine o\u00F9 ouvrir le lien)"
|
|
206
|
+
},
|
|
207
|
+
"getter": false,
|
|
208
|
+
"setter": false,
|
|
209
|
+
"reflect": false,
|
|
210
|
+
"attribute": "target",
|
|
211
|
+
"defaultValue": "'_self'"
|
|
212
|
+
},
|
|
213
|
+
"rel": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "string",
|
|
218
|
+
"resolved": "string",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": true,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "Remplit l'attribut rel"
|
|
226
|
+
},
|
|
227
|
+
"getter": false,
|
|
228
|
+
"setter": false,
|
|
229
|
+
"reflect": false,
|
|
230
|
+
"attribute": "rel"
|
|
231
|
+
},
|
|
232
|
+
"download": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"mutable": false,
|
|
235
|
+
"complexType": {
|
|
236
|
+
"original": "string",
|
|
237
|
+
"resolved": "string",
|
|
238
|
+
"references": {}
|
|
239
|
+
},
|
|
240
|
+
"required": false,
|
|
241
|
+
"optional": true,
|
|
242
|
+
"docs": {
|
|
243
|
+
"tags": [],
|
|
244
|
+
"text": "Permet de t\u00E9l\u00E9charger un fichier au lieu de naviguer vers le lien"
|
|
245
|
+
},
|
|
246
|
+
"getter": false,
|
|
247
|
+
"setter": false,
|
|
248
|
+
"reflect": false,
|
|
249
|
+
"attribute": "download"
|
|
250
|
+
},
|
|
251
|
+
"accAriaLabel": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"mutable": false,
|
|
254
|
+
"complexType": {
|
|
255
|
+
"original": "string",
|
|
256
|
+
"resolved": "string",
|
|
257
|
+
"references": {}
|
|
258
|
+
},
|
|
259
|
+
"required": false,
|
|
260
|
+
"optional": true,
|
|
261
|
+
"docs": {
|
|
262
|
+
"tags": [],
|
|
263
|
+
"text": "Remplit l'attribut aria-label, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
264
|
+
},
|
|
265
|
+
"getter": false,
|
|
266
|
+
"setter": false,
|
|
267
|
+
"reflect": false,
|
|
268
|
+
"attribute": "acc-aria-label"
|
|
269
|
+
},
|
|
190
270
|
"icon": {
|
|
191
271
|
"type": "string",
|
|
192
272
|
"mutable": false,
|
|
@@ -114,10 +114,10 @@ export class SpwSidenav {
|
|
|
114
114
|
showBack = !!target;
|
|
115
115
|
title = this.sectionTitle;
|
|
116
116
|
}
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: 'c640fc0608edf7164534afd1278c20eede93a180', "data-show-root": this.showRoot ? 'true' : null }, h("nav", { key: 'ff58f95631e4e9e14a6493770126f22aa6635d58', class: {
|
|
118
118
|
'spw-sidenav': true,
|
|
119
119
|
'spw-sidenav--show-root': this.showRoot,
|
|
120
|
-
} }, showBack && (h("button", { key: '
|
|
120
|
+
} }, showBack && (h("button", { key: '4cbedb7def3a2ec42c59f9bf4be46101e3b1ad34', class: "spw-sidenav__back", type: "button", onClick: this.handleBack }, h("spw-icon", { key: '809d18c1261202f0c0e696bafdf3b5885595bc6a', icon: "fa-arrow-left" }), h("span", { key: 'ddec90f561354aa57640257be96c439047ce88ed' }, this.backLabel))), title && h("div", { key: 'ea5390a2be0f6267a7f4a5edee271a072d1e128f', class: "spw-sidenav__section-title" }, title), h("slot", { key: '831222ef6efeee92835244f8fe6da32700b1a10d' }))));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "spw-sidenav"; }
|
|
123
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class SpwSkeleton {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '7a460fbf999e6c3fca81d47a1d3b88f52417ff10' }, h("div", { key: 'c42ba2a42edd37e64555ae7f8e675e470bb39196', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: 'b244c246b2c1e429b07c1b7fdfc30a73c5397de9' }))));
|
|
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: '84d785cc3dfe65f7e7ff8109f677005f4b469cf4' }, h("div", { key: '03a3d5742d27b36c55b18dd6f8a662bffd4ebd9e', class: "spw-slider-item" }, h("slot", { key: 'cda12338fcc08808bfc34000a7d4a5ab8e2f5fc8' }))));
|
|
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: '5aed836b99239e9ae1986f6282796800ca36d62a' }, h("div", { key: '3e45a2c04ceda9e63ee704c9e22a7882662416a4', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: 'fa1d944f5619f3caede5369af3e62630e2f6b7c0', class: "spw-slider__track" }, h("slot", { key: '2f5fc5e5bb3e0fd8ddb52773cc70251e8b16fa71' })), this.showArrows && (h("div", { key: '21670854b548fc6a61cb779779d830b6de63c263', class: "spw-slider__navigation" }, h("button", { key: 'ccaf1bf31c2c5fbcecccc66f9e067dabb88e183b', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: 'd4911fec144896650d0ecfb55f44a8631106d3ac', icon: "fa-chevron-left" })), h("button", { key: '0b1bad0432ae1cf38269aac9039287d221bdf7cd', 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: '0c39d9028886353e0a2e89d9973c846f248411dd', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: '581c5afe2aa196fc7b31baf594cfd2578659b351', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: '7258d49a34f337b6fc3e6470a61d165fb826f2e6', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '4ef6383247a09fe0afeee239e1a92f5c1b528549', 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: '2e3a7f96abbc23f039258e8da58b640235ae551e' }, h("div", { key: '519232a1cfeb718c32865aaa8674cac3621cc968', class: "spw-socials" }, h("div", { key: '8835a6e82a6be904e7a95670f0a02c49880de9ad', class: "spw-ds-container" }, h("h2", { key: '09cf4feb79e46c332ba268739fb97988983d51c6', class: "spw-socials__title" }, this.mainTitle), h("div", { key: '266a777fe269c2803ae8b442303caf23deac5760', class: "spw-socials__content" }, h("slot", { key: '530e10ae29e7d053af737bf213fe5526bd8326dc' }))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "spw-socials"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class SpwTableBody {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h("tbody", { key: '
|
|
43
|
+
return (h("tbody", { key: 'dc97686b4361c5e38f388eaba80d7f8aae0fd634', part: "tbody" }, h("slot", { key: '35a6e4537aa7e331b8c6e337b5b6889362d180de' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "spw-table-body"; }
|
|
46
46
|
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: 'dbc6b300d785c555c96bcfb8df00f947ec693f6f' }, attrs), h("slot", { key: 'c1b76cf0b98d32489770fc257eaffa69b479058d' })));
|
|
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: '3df17a11726ab8aacbe5165f4e7f41c77d6bddca' }, h("div", { key: '1e3169844c4371f4fe220df1176706dadd0f152f', class: "spw-table-container" }, h("slot", { key: '4e2df685d41be34281fec2c4458449c344d74554' }))));
|
|
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: '0cb92d0af8129c7ba76ecfafea48193bd39a9b5b', class: "spw-table-footer" }, h("slot", { key: 'f1e8d0f24ca5d465cdec67343eecd7312e14f4f2', name: "left" }), h("slot", { key: '2f9ba826ec56a5e78a57e9f8e1d56a6379db86c6', name: "center" }), h("slot", { key: '1a2bc1d76274a465a0d0da8be77c2347e7d1e4b4', 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: '5edcc800d8838cd85a660d4642b783e6e05d9d75', part: "thead" }, h("slot", { key: '4035baaa2650992f74583c4f53be66b71f88dbf0' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-head"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -409,6 +409,10 @@ template {
|
|
|
409
409
|
.spw-table-header--sortable:hover {
|
|
410
410
|
background: var(--spw-color-themes-grey-grey-300);
|
|
411
411
|
}
|
|
412
|
+
.spw-table-header__label {
|
|
413
|
+
flex: 1;
|
|
414
|
+
min-width: 0;
|
|
415
|
+
}
|
|
412
416
|
.spw-table-header__content {
|
|
413
417
|
display: flex;
|
|
414
418
|
justify-content: space-between;
|
|
@@ -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: '63bdb6a6785ad89157ef27011d9c53a8de7d885a' }, attrs), h("div", { key: '0c9413721033448e6649492ae357fe283b7491ef', class: {
|
|
69
69
|
'spw-table-header__content': true,
|
|
70
70
|
'spw-table-header__content--is-sorted': this.isSorted,
|
|
71
|
-
} }, h("slot", { key: '
|
|
71
|
+
} }, h("div", { key: 'bcc659f5b3c0863955e0f88be45f62f6bc03ba81', class: "spw-table-header__label" }, h("slot", { key: '6d9b28cae45158c4a2c24dbe469ac9af6f4973f9' })), h("div", { key: '85e81799543fd4992b031d5fa9f0017961893ad1', class: "spw-table-header__icons" }, h("slot", { key: '60c41cdc9e4d644ef168b57a455734ac1bea1452', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: 'b1d004d827db635cd751b80672e2890295148094', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: '5515d7756b693ee20b6f73babb5e85c1d771a284', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: '81b99033bcbf1cc7e40e546549bc4e05b250d3ae', 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: 'f87357be82b7f5b08ee9133fdee38caface68c01', part: "row" }, h("tr", { key: '48ff10bf34bc3ffdcee9e1175592cff64bfc08db', class: this.elementClass, part: "row" }, h("slot", { key: '6711a931a29a36607bfcdddbf5f73e6646429592' }))));
|
|
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: '596e80ea681911ed53180d43f6dcf2fbdb384a88', style: style, class: this.hostClass }, h("nav", { key: '27aa8c6d94784e5bd5935104c63c713524617afb', class: this.elementClass }, h("span", { key: '898b911fabee23f44e3c42ccef7bdc4ad3c13917', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '90ca4859e6217f851e1d98e54fa88d06604307b4', icon: "fa-chevron-left" })), h("div", { key: '40bb31b2c1f841fd46def822db017c754f698ac2', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '0d09afc4aaceff731a24a92f8f811ddf0b68a07e', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: 'c975c2883933cb46404c97d8f5a6ae72b574aa82', class: "spw-table-sidebar__content" }, h("div", { key: 'bc55d4bee04a5731c0680df9d359e89e3a4d3855', class: "spw-table-sidebar__header" }, h("span", { key: '8815974c7a8513d71b38ddb2833e943b32a536a2', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '25542423c7558b128f4c19107f22cb54e1265cbf', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: '08ed9d45db2f023e092d406347d7e6149e35354c', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: 'd0de3a80004e5a845f67a2b64d46377964a8320b', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '8297001488dac6755d2b62f22bbd9d94b2f8e9f1' })), h("div", { key: '406d7b8b53b72eb399ff063d59ffd0aa39391600', class: "spw-table-sidebar__footer" }, h("slot", { key: 'f42604bcb043b13a801f87f3f81c898d94f9ab12', 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: '7c5f6420df34c9702fb0f4ccd0f98f347ea94e7a', class: containerClass }, this.showLeftArrow && (h("button", { key: '44ce99ed270d2b79e02be5e2b027ae2f999a5b17', 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: 'ab9d2e1492cec3f037b054b0b6d7e875a14a69e7', icon: "fa-chevron-left" }))), h("nav", { key: 'ce82337418277478797aa26a9f7a667888fa8362', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '8174d823db3d4eb6fdbd006b45e465b17bfa4b41', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: '20ed027b27fb1143448ee0d67a444efb50f77183' }))), this.showRightArrow && (h("button", { key: '6dc06a13becc13cff735e4119ef70375b819857e', 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: '122a732bd4da5f49352a1b44847478dcea6414d2', 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: '85b6db118ccea3af5403548f7c5e4ab53de37f0d', class: this.active ? '--active' : '' }, h("li", { key: 'e26de768a7883a5fc4346975ca6eabf84d4b8fc2', 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: 'ae0a01a8ae0b4878d94aa31cdc906aaf0217e073', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: '8aef81ec1a042cbdabfa03761751cf0dd6361c15' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '509b91dae59cbf2ce7a21a372724fa2aabe50a49' }, iconPosition === 'left' && iconElement, h("slot", { key: 'b3a2e1dac934499a6b7f7911de9f1621afc09433' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '541abaca6ac93613098683eb3d1fa07e17432ccc', 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: '5e3b0381755e25581f0911e5053cd4d70b55dfd2', class: this.elementClass }, h("slot", { key: '87ce80c585746a8bdc3c354decc58850375b132b', name: "navigation" }), h("slot", { key: 'e0fde19b0e7b0b23c355f68b15df99ee48df718c', 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: '3ed93438b229d6bb12a93baa8009035dc9da9272' }, h(TagType, Object.assign({ key: 'a1dd801668522356a028ae6075d2ebf0451aa7c9' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: 'bf70b22dc869d5df74aed79174e6a051f1688dfb' }), this.iconPosition === 'right' && iconElement)));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-tag"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -279,7 +279,7 @@ export class SpwTextField {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
|
-
return (h("div", { key: '
|
|
282
|
+
return (h("div", { key: '6143d85eba3d415bf5108dcf3667cead2fb9bafd', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'f0b2bad3cefdca7294ab2c370e10de4a7b70add7', 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: '46309f61a36155e5b7f4bc822de241d886f1d17e', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '0909d8f8e6b0dd0aa24ca173949e8e81b76cd005', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '299bbbe41e6551545a2279961525a00de4137de0', 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: 'c4172f3b07bbbbf5cc8e4ae8df207bce310ebd3b', icon: "fa-minus" }))), h("div", { key: '3d153bfbda9b6a05fa4ad2738eb2a06c66f3cd32', class: "spw-text-field__input-container" }, h("input", { key: 'b6bae934239d3bbb6d8dc733aa1551b43e960022', 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, autocomplete: this.autocomplete, 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: '9a15b1ae9b5c3a4013b20f27c13b055fe5ddd2b4', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '4ca37a654e265f62efe9cc3e33a0500161f092c3', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: 'a83069b0b329f98539d3cc3d0c96117559a91f37', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: 'bf2464e076fe3228e92db44b48cfbd4b3877f81f', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: 'd637079ebd7eb51a49268a605de464a697b5b0a2', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '7ff69d35b22fac5ff33068c15df5934fb2222870', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '2a6772eb404a0a82c698e25d923155769a0cd915', 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: '550275d111b1292773f826577edbdf949ee80922', icon: "fa-plus" }))), this.indicator && h("div", { key: '0156291bdf68fc430dad21d59269ab9d1a54cd9e', class: "spw-text-field__indicator" }, this.indicator)), this.renderMessages()));
|
|
283
283
|
}
|
|
284
284
|
static get is() { return "spw-text-field"; }
|
|
285
285
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,7 +93,7 @@ export class SpwTextarea {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: 'fa900b884e1c7767627feb534e480d00c4ba8bca', class: this.elementClass }, this.label && (h("spw-field-label", { key: '14046421e93877a63e1a0611b2e48071c4e2a0b8', 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: 'baf32258270bf1d0eada42f6df39557810b49edc', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'e2d6933a8f9e992c1c5fbff0547b2e8a1e9aa7ee', class: "spw-textarea__container" }, h("textarea", { key: 'd76f9422d1615c8d1d19914134f4a00ee5b300ff', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, autocomplete: this.autocomplete, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderMessages()));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "spw-textarea"; }
|
|
99
99
|
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: 'c9e63b59113c56935e4de76de3bdb0f27a467e20', class: `spw-theme-${this.theme}` }, h("slot", { key: '5b2f1412743926d86b57a94fbb427f277aa77b20' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "spw-theme-provider"; }
|
|
30
30
|
static get properties() {
|
|
@@ -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: '5389ffd7e3866029601a21b7bd0bfd5b5f418be4', class: "spw-tile-description" }, h("slot", { key: '8549158fc3863e3aa05632c459a361d76461e17c' })));
|
|
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: '0cdb4595dff8f75a5bc44c9a4e70e838670adba8', class: "spw-tile-title" }, h("slot", { key: '598c405748913821e5c8c2a813c98d145cdf14af' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,7 +75,7 @@ export class SpwTile {
|
|
|
75
75
|
href,
|
|
76
76
|
target,
|
|
77
77
|
};
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: 'e5480332f41aa2906c57bb6316fcb2724cc2f248' }, h(TagType, Object.assign({ key: '6f324d04b6b31530f9f16456e646a4896e9e315f' }, attrs, { class: this.elementClass, style: { background: this.background } }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '72f85a7de57149ab0ce32e78581f567030290505' }, h("img", { key: '3056de7301e4f74f11fb2769b8f3045192ffc215', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: 'de0178a166c0e91a1bf0e9c8da0942cecd07e86e', class: "spw-tile__content" }, (this.variant === 'big' || this.variant === 'light') && h("div", { key: '904c4fc7f4d3dee979bc911968afb587fd321e42', class: "spw-tile__overlay" }), h("div", { key: '9b3e9c899b7cf6919bc987b5cc7b6275d96fcd4e', class: "spw-tile__content-inner" }, h("slot", { key: '1056f5d2cc2e4fad88390b24ba882959e434f2a9' })), this.href && this.variant === 'big' && (h("span", { key: '83e2d902ca542486fc3f90ad4c21aef07f635ee8', class: "spw-tile__button" }, h("spw-icon", { key: '8821332025896bdabdf6d52dd6d03d2c95eed95a', icon: "fa-chevron-right" })))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "spw-tile"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '2e7afc6df06d3e6f93da7db649ff6f5b89afdb70' }, h("div", { key: '9527d06514e54254a71e8e7136dbbfb3ece6899b', class: this.elementClass }, h("div", { key: 'f466e7a331b446ed639ae23a10019238c3b36e03', class: "spw-timeline-item__step" }, h("div", { key: '445d2ec9230a84532d509b35cfcc7c899e5e1fae', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '8d17f41f02beb7a7ac512a415f28703780391da2', class: "spw-timeline-item__connector" })), h("div", { key: 'd0651a9c9da2bd556efcb599f2598bdcff0b2d8c', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: '6e79f461c8e9da168b03b98b654756d6085033aa', class: "spw-timeline-item__description-wrapper" }, h("div", { key: '0261fc73c499bf47444e11a527fab8ed59a724c8', 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: '01dcf9f927510de01e8a520b8c7239b499004cb6' })))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "spw-timeline-item"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class SpwTimeline {
|
|
|
53
53
|
return this.visibleItems > 0 && items.length > this.visibleItems;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '5600068efcf755b601bf35939079e61a75285d66' }, h("div", { key: '98c80817e6699f2a39d419667dc34af1e201c1d7', class: this.elementClass }, h("slot", { key: '2d7f2388fb2e1b35aee7af4a0a3f7ce10b458dd6' })), this.shouldShowToggleButton() && (h("div", { key: '321006c6bfdcfc5d710abf0664baa3c6f170aa01', class: {
|
|
57
57
|
'spw-timeline__toggle': true,
|
|
58
58
|
'spw-timeline__toggle--more': !this.showAll,
|
|
59
59
|
'spw-timeline__toggle--less': this.showAll,
|
|
60
|
-
} }, h("span", { key: '
|
|
60
|
+
} }, h("span", { key: '645560f092a82cb2ff7a8fd340410219a8c5cbaf', class: "spw-timeline__toggle-btn", onClick: this.handleToggle }, this.showAll ? this.showLessText : this.showMoreText)))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "spw-timeline"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwToc {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a7db0d95cdc4c3f3cfd566b54420ca3d8c190486' }, h("slot", { key: '5764f7735cf0a43a9dfeaf1c5331d0f932606a16' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-toc"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -127,7 +127,7 @@ export class SpwTooltip {
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h("div", { key: '
|
|
130
|
+
return (h("div", { key: '2f9b5c635cf41d903fbd50df7e6befc0b99cd2d5', class: this.classes, onMouseEnter: this.showTooltip, onMouseLeave: this.hideTooltip }, h("slot", { key: '33497606bda29cd8ef249b4456b0aebf8a1b37c5' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "spw-tooltip"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|