@spw-ds/spw-stencil-library 1.7.0 → 1.8.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/cjs/index-CGg8f9_X.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/spw-accordion_4.cjs.entry.js +4 -4
- package/dist/cjs/spw-avatar.cjs.entry.js +41 -0
- package/dist/cjs/spw-block-content.cjs.entry.js +37 -0
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +1 -1
- package/dist/cjs/spw-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +25 -7
- package/dist/cjs/spw-date-picker.cjs.entry.js +37 -4
- 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 +5 -1
- package/dist/cjs/spw-field-label_7.cjs.entry.js +7 -7
- package/dist/cjs/spw-field-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-file-upload.cjs.entry.js +2 -2
- 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 +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 +21 -2
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/spw-hero.cjs.entry.js +6 -2
- package/dist/cjs/spw-input-slider.cjs.entry.js +1 -1
- 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-message.cjs.entry.js +14 -3
- package/dist/cjs/spw-modal.cjs.entry.js +1 -1
- 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-radio.cjs.entry.js +1 -1
- package/dist/cjs/spw-scrolltop.cjs.entry.js +88 -0
- package/dist/cjs/spw-search-field.cjs.entry.js +2 -2
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- 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 +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 +15 -2
- 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 +2 -2
- 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-table.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +9 -5
- package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +8 -5
- 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-container.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +1 -1
- package/dist/collection/components/spw-accordion/spw-accordion.js +1 -1
- package/dist/collection/components/spw-avatar/spw-avatar.css +468 -0
- package/dist/collection/components/spw-avatar/spw-avatar.js +164 -0
- package/dist/collection/components/spw-block-content/spw-block-content.css +492 -0
- package/dist/collection/components/spw-block-content/spw-block-content.js +141 -0
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
- package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +7 -7
- 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.js +1 -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-custom-select/spw-custom-select.css +49 -8
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +64 -6
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +1 -1
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +42 -7
- 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 +36 -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.css +3 -3
- 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.css +6 -6
- 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.css +3 -3
- 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.css +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +22 -2
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +17 -17
- 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 +1 -1
- package/dist/collection/components/spw-hero/spw-hero.js +45 -2
- 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-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-message/spw-message.css +29 -2
- package/dist/collection/components/spw-message/spw-message.js +33 -2
- package/dist/collection/components/spw-message/utils.js +2 -1
- package/dist/collection/components/spw-modal/spw-modal.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.css +401 -0
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +180 -0
- package/dist/collection/components/spw-search-field/spw-search-field.js +2 -2
- package/dist/collection/components/spw-select/spw-select.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.css +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.js +15 -2
- 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-table/spw-table.js +2 -2
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +5 -0
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +30 -5
- 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.css +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +2 -2
- package/dist/collection/components/spw-text-field/spw-text-field.js +27 -4
- 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-container/spw-toc-container.js +1 -1
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +156 -0
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +123 -0
- package/dist/collection/stories/organisms/spw-block-content/spw-block-content.stories.js +192 -0
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +56 -0
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +63 -0
- package/dist/components/{p-B35CPhPA.js → p-7oLmQmmE.js} +1 -1
- package/dist/components/{p-Dho6BaN9.js → p-B1SCChor.js} +1 -1
- package/dist/components/{p-D7UzluXV.js → p-BqvDpR82.js} +1 -1
- package/dist/components/{p-Xvp0cPQF.js → p-C2um7CKN.js} +1 -1
- package/dist/components/{p-B4MjZRXh.js → p-C45GoR7l.js} +1 -1
- package/dist/components/{p-DUP3RzKn.js → p-CCYCLemd.js} +1 -1
- package/dist/components/{p-DU5JMjD4.js → p-CEq9lOD1.js} +1 -1
- package/dist/components/{p-CHBnJ4fw.js → p-CYC9FMY4.js} +1 -1
- package/dist/components/{p-BjsZMdr8.js → p-Cy-dX0dz.js} +1 -1
- package/dist/components/{p-Ctu7oZKH.js → p-D63saAXj.js} +1 -1
- package/dist/components/{p-OryNj86N.js → p-DVDmp5m3.js} +1 -1
- package/dist/components/{p-D6eYkgFG.js → p-DccxymX8.js} +1 -1
- package/dist/components/p-Df0o7KPW.js +1 -0
- package/dist/components/{p-DyYwiqCq.js → p-hlgutkqg.js} +1 -1
- package/dist/components/{p-Ce2AHwGh.js → p-xo2kVNYT.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-avatar.d.ts +11 -0
- package/dist/components/spw-avatar.js +1 -0
- package/dist/components/spw-block-content.d.ts +11 -0
- package/dist/components/spw-block-content.js +1 -0
- 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-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-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +4 -4
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.d.ts +11 -0
- package/dist/components/spw-scrolltop.js +1 -0
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-table.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toc-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 +751 -19
- package/dist/esm/index-DNZ0HWFd.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/spw-accordion_4.entry.js +4 -4
- package/dist/esm/spw-avatar.entry.js +39 -0
- package/dist/esm/spw-block-content.entry.js +35 -0
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/spw-card-subtags.entry.js +1 -1
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +1 -1
- package/dist/esm/spw-checkbox.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +25 -7
- package/dist/esm/spw-date-picker.entry.js +37 -4
- 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 +6 -2
- package/dist/esm/spw-field-label_7.entry.js +7 -7
- package/dist/esm/spw-field-message.entry.js +1 -1
- package/dist/esm/spw-file-upload.entry.js +2 -2
- 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 +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 +21 -2
- package/dist/esm/spw-header-navigation-item.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/spw-hero.entry.js +6 -2
- package/dist/esm/spw-input-slider.entry.js +1 -1
- 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-message.entry.js +14 -3
- package/dist/esm/spw-modal.entry.js +1 -1
- 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-radio.entry.js +1 -1
- package/dist/esm/spw-scrolltop.entry.js +86 -0
- package/dist/esm/spw-search-field.entry.js +2 -2
- package/dist/esm/spw-select.entry.js +1 -1
- 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 +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 +15 -2
- 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 +2 -2
- package/dist/esm/spw-table-row.entry.js +1 -1
- package/dist/esm/spw-table-sidebar.entry.js +1 -1
- package/dist/esm/spw-table.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation.entry.js +9 -5
- package/dist/esm/spw-tabs.entry.js +1 -1
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +8 -5
- 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-container.entry.js +1 -1
- 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 +1 -1
- package/dist/spw-stencil-library/{p-145dfedc.entry.js → p-00829e69.entry.js} +1 -1
- package/dist/spw-stencil-library/p-08d179af.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a3926a91.entry.js → p-0fe88118.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-237b0e5d.entry.js → p-14a660ac.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8a1a24b5.entry.js → p-14d14ae2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-45e60a7a.entry.js → p-1a43879a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-41a373fc.entry.js → p-1ae9d66b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-1c059cfd.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9a43513e.entry.js → p-1ca7aecb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-08c93dce.entry.js → p-1fad50b0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f54465cb.entry.js → p-22b043dd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-af3e6cb1.entry.js → p-29cc06e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b9b0b419.entry.js → p-31fc0d76.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4afb6e38.entry.js → p-327fa3e5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f91ee5f4.entry.js → p-36e62f2f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-35d26ee3.entry.js → p-375f88d3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-37ef1e77.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0fd968e6.entry.js → p-3ba55fa6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3fd7e236.entry.js → p-3dc88b13.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-acf9c014.entry.js → p-3df6280e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-69a55f2d.entry.js → p-456c24b0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43cf9b0f.entry.js → p-4618e516.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-69a776aa.entry.js → p-461dbb77.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e9d97ee2.entry.js → p-4764e6e0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f1fe388c.entry.js → p-4aa8f4bf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7a58d649.entry.js → p-4d8d46e6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ec0beb1d.entry.js → p-5e79839f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-620519ea.entry.js +1 -0
- package/dist/spw-stencil-library/{p-72ce7302.entry.js → p-6510e984.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ce29d4c7.entry.js → p-69e1e8e1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f8ea7419.entry.js → p-6b113e71.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4f8facb1.entry.js → p-724eee10.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5119feac.entry.js → p-73b2e94c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-209bbd33.entry.js → p-74014ca0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-772f56c1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7be76eb7.entry.js → p-77e3a560.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3d27b754.entry.js → p-7ee48374.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b4d31c51.entry.js → p-87efcf90.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0c03d6ae.entry.js → p-8956e7de.entry.js} +1 -1
- package/dist/spw-stencil-library/p-89cefdcf.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f5c6952a.entry.js → p-8a95adc5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b162f257.entry.js → p-8ea775f1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-91c801d2.entry.js → p-8fea1c7b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cb7cd2ea.entry.js → p-9156e2cc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3c36b7e8.entry.js → p-9c35e7cb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e8919632.entry.js → p-9c97f183.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5a32e95e.entry.js → p-a16a6ee3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ab2b0b73.entry.js → p-a457bd16.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5feeb463.entry.js → p-a62e75d7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f2a7d244.entry.js → p-a74b8c56.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-eb873278.entry.js → p-aaa5636b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2d9b278f.entry.js → p-ab9bd917.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-81978a6f.entry.js → p-ac73da88.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43f249c5.entry.js → p-ae198f34.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1a34cb29.entry.js → p-b0028796.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-02403cb6.entry.js → p-b0582aa7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-64611da7.entry.js → p-b1c1be45.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a447d67b.entry.js → p-bb4a0f1c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-be0c6609.entry.js +1 -0
- package/dist/spw-stencil-library/p-bf656c7e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-dfd101ac.entry.js → p-bf8f52ef.entry.js} +1 -1
- package/dist/spw-stencil-library/p-c1209aa5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-1ee82890.entry.js → p-c7dcf793.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-18cd905c.entry.js → p-cc679461.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d5825b95.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e8c8f285.entry.js → p-d5d2f9f8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-21952d13.entry.js → p-d7b03752.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bc22d1b9.entry.js → p-d94bc511.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e3d6c9c1.entry.js → p-dc886ffd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7c0aad07.entry.js → p-dd4bd13d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-72e6a077.entry.js → p-dfa82fb0.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e4ef4e0a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-4f54c3cd.entry.js → p-e572bd8b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4988c023.entry.js → p-e83f4dd9.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ecfd8d0a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c627a4fc.entry.js → p-ed4c861f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4c6ccf99.entry.js → p-edb98ec3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-edcd4cde.entry.js → p-ef0e431d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-44a867dd.entry.js → p-f36ac36b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-47b7bcd0.entry.js → p-f4c9fe35.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f5f93df5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-5602de22.entry.js → p-f958aabf.entry.js} +1 -1
- package/dist/spw-stencil-library/p-fa39b517.entry.js +1 -0
- package/dist/spw-stencil-library/{p-cdfb5724.entry.js → p-fba1aea3.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +2392 -575
- package/dist/types/components/spw-avatar/spw-avatar.d.ts +18 -0
- package/dist/types/components/spw-block-content/spw-block-content.d.ts +16 -0
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +5 -0
- package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +4 -2
- package/dist/types/components/spw-dropdown/spw-dropdown.d.ts +5 -0
- package/dist/types/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.d.ts +2 -0
- package/dist/types/components/spw-hero/spw-hero.d.ts +4 -0
- package/dist/types/components/spw-message/spw-message.d.ts +5 -0
- package/dist/types/components/spw-scrolltop/spw-scrolltop.d.ts +22 -0
- package/dist/types/components/spw-slider/spw-slider.d.ts +1 -0
- package/dist/types/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.d.ts +3 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +2 -0
- package/dist/types/components.d.ts +300 -4
- package/dist/types/stories/components/spw-avatar/spw-avatar.stories.d.ts +9 -0
- package/dist/types/stories/components/spw-scrolltop/spw-scrolltop.stories.d.ts +6 -0
- package/dist/types/stories/organisms/spw-block-content/spw-block-content.stories.d.ts +8 -0
- package/dist/types/stories/organisms/spw-message/spw-message.stories.d.ts +2 -0
- package/dist/types/stories/organisms/spw-tabs/spw-tabs.stories.d.ts +1 -0
- package/hydrate/index.js +455 -139
- package/hydrate/index.mjs +455 -139
- package/package.json +1 -1
- package/dist/components/p-CictYFdo.js +0 -1
- package/dist/spw-stencil-library/p-0498fe6a.entry.js +0 -1
- package/dist/spw-stencil-library/p-18b34dde.entry.js +0 -1
- package/dist/spw-stencil-library/p-1d54bbe5.entry.js +0 -1
- package/dist/spw-stencil-library/p-8d71666a.entry.js +0 -1
- package/dist/spw-stencil-library/p-a2d18047.entry.js +0 -1
- package/dist/spw-stencil-library/p-bb1a5089.entry.js +0 -1
- package/dist/spw-stencil-library/p-c2a97189.entry.js +0 -1
- package/dist/spw-stencil-library/p-c4e2378d.entry.js +0 -1
- package/dist/spw-stencil-library/p-e0b746ed.entry.js +0 -1
- package/dist/spw-stencil-library/p-e739c5c9.entry.js +0 -1
- package/dist/spw-stencil-library/p-fe446522.entry.js +0 -1
|
@@ -169,7 +169,7 @@ export class SpwSelect {
|
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '8c7a58a3a0312216bd8d17a993099d1328fe5a6b' }, h("div", { key: 'f3f780753613ae92ba38074183a8d0cabf040864', class: this.elementClass }, this.label && (h("spw-field-label", { key: '24eae10e6e1ad23f81cdcb363057356432c918fd', 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: 'b285c1279d5437e84a78a8dd958129738ff9c26e', class: "spw-select__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'b6ba159b31ca77a8fe7051c79ba7b9e3f8bfc227', class: "spw-select__container" }, h("select", { key: '65d4a0ea61e98d1d316854c40ada4e47d24bb56b', id: this.name, name: this.name, "aria-label": this.accAriaLabel || this.label || this.name, class: "spw-select__trigger", onChange: event => this.handleSelectChange(event), disabled: this.disabled, ref: el => (this.selectElement = el), tabindex: this.disabled ? -1 : 0 }, h("option", { key: '2c4c6df4599e4f070697b6e7fef336f57b725582', value: "", disabled: true, selected: !this.internalValue }, this.placeholder)), h("spw-icon", { key: '96825fece4d3bf0771d4d6ca1df5379ef1bd9b52', class: "spw-select__arrow", icon: "fa-chevron-down" })), !this.items && h("slot", { key: '0059a77ed0fe3ad6cac1935218f3e1b8ce2210ee' })), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
173
173
|
}
|
|
174
174
|
static get is() { return "spw-select"; }
|
|
175
175
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class SpwSeparator {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return h("div", { key: '
|
|
30
|
+
return h("div", { key: 'c5755fe0253ac4f80156723b51943bbe13480bd0', class: this.elementClass, style: this.style });
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "spw-separator"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class SpwSidebarNavigationDropdown {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'f61d1a81d0e931179393629694b63502aa961060', class: this.classes }, h("div", { key: '13766b38650ec769fca09806a476b478402b7b1e', class: "spw-sidebar-navigation-dropdown__content", style: { display: this.open ? 'block' : 'none' } }, h("slot", { key: 'f86fa88582f121af4be1a13fda520b7c6d0244db' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "spw-sidebar-navigation-dropdown"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -169,14 +169,14 @@ export class SpwSidebarNavigationItem {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
const Tag = this.href && !this.disabled && !this.openOnClick ? 'a' : 'div';
|
|
172
|
-
const iconContent = h("spw-icon", { key: '
|
|
173
|
-
const iconDiv = (h("div", { key: '
|
|
172
|
+
const iconContent = h("spw-icon", { key: 'c72615f242fff8c5449364813af9d0ce76a430ab', variant: this.iconVariant, icon: this.icon });
|
|
173
|
+
const iconDiv = (h("div", { key: '268ec591b87384591acbf36b43c64fada75279f5', class: "spw-sidebar-navigation-item__icon" }, this.bubble && h("span", { key: 'c6d4769bb3c896eac18c7bd1cd3c21fb51e000eb', class: "spw-sidebar-navigation-item__bubble" }, this.bubble), iconContent));
|
|
174
174
|
const iconWithBubble = this.tooltipTitle ? (h("spw-tooltip", { cursor: this.disabled ? 'disabled' : 'pointer', "tooltip-title": this.tooltipTitle, direction: "right", visible: !this.navExpanded }, iconDiv)) : (iconDiv);
|
|
175
175
|
const toggleClasses = {
|
|
176
176
|
'spw-sidebar-navigation-item__dropdown-toggle': true,
|
|
177
177
|
'spw-sidebar-navigation-item__dropdown-toggle--open': this.dropdownOpen,
|
|
178
178
|
};
|
|
179
|
-
return (h(Tag, { key: '
|
|
179
|
+
return (h(Tag, { key: 'af73ac00d272851359bebdbf5d1b88163b8559c5', class: this.classes, href: this.openOnClick ? undefined : this.href, "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.openOnClick ? this.handleItemClick : undefined }, this.icon && iconWithBubble, h("div", { key: '31ffebcdfe5e6cb18103b7e642b64892e0ed31a1', class: "spw-sidebar-navigation-item__content" }, h("div", { key: '0f423c7f58da80a8910a60431cd4bd46d532c54c', class: "spw-sidebar-navigation-item__content-label" }, h("slot", { key: 'e0d9dfbdd4ffb326c9bab041a16532710fc25736' })), this.hasDropdown && (h("div", { key: '8ffdf79acdbddde363dee472b8f5a16652ad5738', class: toggleClasses, onClick: this.handleDropdownToggle, tabIndex: this.disabled ? -1 : 0 }, h("spw-icon", { key: '91bd17af34139418f504a0634c271028473c05bc', icon: "fa-chevron-down" }))), h("slot", { key: '1eba58341a40863c64108968799b5f1b3987983f', name: "dropdown" }))));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "spw-sidebar-navigation-item"; }
|
|
182
182
|
static get originalStyleUrls() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSidebarNavigationSeparator {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '1b330eedff1f01de1b1ec103b989f766003a262a' }, h("spw-separator", { key: '73b7b99c01dc92265d372fb310e716fa7a39775f', class: "spw-sidebar-navigation-separator" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-sidebar-navigation-separator"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class SpwSidebar {
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: 'edee01243e0911d48e015ec2498a86ad9641497b', class: this.hostClass }, h("div", { key: '4fa44fbf1a1518a66dfa4c650c113841f76943fa', class: this.elementClass }, h("span", { key: '7cd08e5b683f3dde669199a15014113524be6bc1', class: "spw-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '25c5d5c69cdc5329dfe226b78e45dee0eb4312d2', icon: "fa-chevron-right" })), h("div", { key: 'e2f88d47e9fd12bc73dbb50c4e793b10fa1542c5', class: "spw-sidebar__content" }, h("slot", { key: 'b0941cfba3e36c64629fdef24d645cfb7dae4ab1', name: "navigation-top" }), h("slot", { key: '4f6d720d7dc445199b8baf305f662d1e62bec1df', name: "navigation-bottom" })), h("div", { key: '1b2c3a48557f7a4165e959e23f4a332883836cde', class: "spw-sidebar__resize-border", onClick: this.toggleSidebar }))));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "spw-sidebar"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class SpwSkeleton {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'f673c7eb5f129f65245e50344b6c3fd042b1ed00' }, h("div", { key: 'ce611e77df624757b090df60b01e2db61f24b0c2', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: '3b09a48ea991fa129a6ba2649e1e8f204ad7f207' }))));
|
|
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: 'edf7a577c830cfc40ff092c4cd7d4318d63269b8' }, h("div", { key: '98fad89b46e00a06f00609bfd05baf955adb6756', class: "spw-slider-item" }, h("slot", { key: '5bcb51ee29dcd4fff680706d5b6d14892b9900ab' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-slider-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -181,6 +181,19 @@ export class SpwSlider {
|
|
|
181
181
|
}
|
|
182
182
|
if (maxHeight > 0) {
|
|
183
183
|
this.currentHeight = maxHeight;
|
|
184
|
+
this.applyFixedHeightToHeroes(maxHeight);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
applyFixedHeightToHeroes(height) {
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
for (const slide of this.slides) {
|
|
190
|
+
const slotContent = (_b = (_a = slide.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot')) === null || _b === void 0 ? void 0 : _b.assignedElements()[0];
|
|
191
|
+
if ((slotContent === null || slotContent === void 0 ? void 0 : slotContent.tagName.toLowerCase()) === 'spw-hero') {
|
|
192
|
+
const heroElement = (_c = slotContent.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('.spw-hero');
|
|
193
|
+
if (heroElement) {
|
|
194
|
+
heroElement.style.height = `${height}px`;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
184
197
|
}
|
|
185
198
|
}
|
|
186
199
|
async updateActiveSlideHeight() {
|
|
@@ -333,10 +346,10 @@ export class SpwSlider {
|
|
|
333
346
|
};
|
|
334
347
|
}
|
|
335
348
|
render() {
|
|
336
|
-
return (h(Host, { key: '
|
|
349
|
+
return (h(Host, { key: '0fb8c3e4ecd2676483134b88ab9b71cd31826b2f' }, h("div", { key: 'dfc50276f4dbae51a58e424ec50d48556939097c', class: this.elementClass, style: { height: `${this.currentHeight}px` } }, h("div", { key: '88334592f1af2e051b1aa89cd62ddf2af8a46c0f', class: "spw-slider__track" }, h("slot", { key: 'f41b00678f2badae20ec693517e29ed1475ea584' })), this.showArrows && (h("div", { key: 'f0ef2d4d4ad4f77becd87ac9b455f15a016ab10f', class: "spw-slider__navigation" }, h("button", { key: '44bdac63f7e03355ef39e43ef37c3c0ee6973ba5', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: '8c93d6bf9a252daf73927e7b4ca9f829c7e87d3d', icon: "fa-chevron-left" })), h("button", { key: '20d7737bd34fbd35a923646b84a08c97f6c537d0', 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: 'e765f00b0232acd980470aa6747d7ce51510d8fb', icon: "fa-chevron-right" })))), this.showDots && this.totalSlides > 1 && (h("div", { key: 'ea48189d83ab197f94caeedc4e64bcad88ca3c25', class: "spw-slider__dots" }, Array.from({ length: this.totalSlides }, (_, i) => (h("button", { class: {
|
|
337
350
|
'spw-slider__dot': true,
|
|
338
351
|
'spw-slider__dot--active': i === this.activeIndex,
|
|
339
|
-
}, onClick: () => this.handleDotClick(i), "aria-label": `Aller à la slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))))), this.showAutoplayToggle && (h("div", { key: '
|
|
352
|
+
}, onClick: () => this.handleDotClick(i), "aria-label": `Aller à la slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))))), this.showAutoplayToggle && (h("div", { key: '39642284b131da481c3d155e2608f72c09b6b527', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '8c75dc5426bb1a8dacfc787f21b6d82de1a92df5', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
|
|
340
353
|
}
|
|
341
354
|
static get is() { return "spw-slider"; }
|
|
342
355
|
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: 'f6329e89c55434076154d3ca151103335ac10577' }, h("div", { key: '96903e6ae33c1af1e0d2d652c752150f28d97615', class: "spw-socials" }, h("div", { key: '03a14fc25b2c26023d129edc870a8542eed2bf23', class: "spw-ds-container" }, h("h2", { key: 'fa458965e8fd226dc0fbb561f6ac1bc13845a17c', class: "spw-socials__title" }, this.mainTitle), h("div", { key: '2d8734db8d0b044a44e623d44e487c7838d032c3', class: "spw-socials__content" }, h("slot", { key: 'e7385e4821761f0bb3a61986986be7cf6b69986f' }))))));
|
|
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: '1e2cae36132ae92bc0401e293d8798577d8fbb2e', part: "tbody" }, h("slot", { key: '8a371389eb6d233289d46f46b22ed2dfcde4416a' })));
|
|
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: 'effc0c4a624da06f9475d28cd28bd974962fe61d' }, attrs), h("slot", { key: 'e74f8400d40469d6cd8ba7f6c046907ebd8b5b95' })));
|
|
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: '0adc4afcdbfb3f89e4bbb9a0d4c9274bbeef8f97' }, h("div", { key: '68ee988b6cae0e7900f9d34c0cd52c3f1f80fca2', class: "spw-table-container" }, h("slot", { key: '09dedd4d844ef35c8cd9ff88248045d971074b70' }))));
|
|
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: '6ec3dc032589d602ddac46208f4fca63efc0116d', class: "spw-table-footer" }, h("slot", { key: '71a3c50b2d0ebd5109ed6f3b6b19ae50d0760ae9', name: "left" }), h("slot", { key: 'aa94ae8ca5042211242b75a55c83644d65de9f7f', name: "center" }), h("slot", { key: '1f0131a94677df657889a7e2f091ffda4d5f4397', 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: '8e941ae7cc42e8dd3630d6cea439941391701b7a', part: "thead" }, h("slot", { key: '75c939d2b0091ce625d3f01412b650a0b74f22dd' })));
|
|
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: '6823d8f55ca12333dc0a049067eb53ca67280628' }, attrs), h("div", { key: 'a053db61837ae38e3edcb237550ff811cfda9921', 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: '644ed96a6988b8c76124a522848c63cc3875a1df' }), h("div", { key: 'aea568a3a423d8e65a137daa38b448f9f1dd42fc', class: "spw-table-header__icons" }, h("slot", { key: '5ecc61fc2536c6c1c005b5904cdccc5d92804e53', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '2370f77fc6565238898be7176dcd8d1d2577a3ea', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: '52734794cc0155a53b8deb276e71815d50c979ce', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: '85ee24968fc3b32e7b1d7697d7dcd1f1eea1c619', 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: 'f63ad778d14f814e4f94361ccafc3d21caf0730d', part: "row" }, h("tr", { key: '91290fc8f4093c369a2b2f7c3ebdc414aefc6273', class: this.elementClass, part: "row" }, h("slot", { key: '4e81f9559b52af7a6e1d037182e8dee6c0b01c25' }))));
|
|
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: 'b7770826357e1f9c792058c74f33971b5141b6b7', style: style, class: this.hostClass }, h("nav", { key: '8b6f8c6979f172df49c71c026d4832f420978a25', class: this.elementClass }, h("span", { key: '5c6d6c9d360ecd75afa49fc7cbdab43dfe27193f', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '1fd4e0f1184f26d8bebe4fe6ba180231ada225f1', icon: "fa-chevron-left" })), h("div", { key: '822e75b8a90a164207f7e5b73892c05292c4f05c', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '826cb2e5c5159b79987a2151133d9091897382d5', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '26c2a901507ae1fb158209b50047e67e87b4dd02', class: "spw-table-sidebar__content" }, h("div", { key: '1d6ac0e21e60c250ae19e12f0e9f0f55fbe0a7f6', class: "spw-table-sidebar__header" }, h("span", { key: '234e710f9c0b8e2c5e4f2be4b1f68a6571f3f326', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: 'fb2f5ca022f796c7bb4166326ef1cf3eaf5ff63f', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: '474c22bebe4ba08c5063a4ffdd535f4165c2784f', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '8b4eac3de21b9a85292cf7680882077e3dc02f0e', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '12f90dcc38bccbe725efcbd6596c068d0ac6ec23' })), h("div", { key: 'ab8945abd0eb4a97e16e7177319362075b4f5bc6', class: "spw-table-sidebar__footer" }, h("slot", { key: '6525b536072bf059dadbd3f10c88cca36424c0a5', name: "sidebar-footer" }))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "spw-table-sidebar"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -366,10 +366,10 @@ export class SpwTable {
|
|
|
366
366
|
return this.formatSize(this.maxHeight);
|
|
367
367
|
}
|
|
368
368
|
render() {
|
|
369
|
-
return (h(Host, { key: '
|
|
369
|
+
return (h(Host, { key: 'a27f522386f56b7e986ab0c2e694b21d890e72c7', style: {
|
|
370
370
|
'--spw-table-max-height': this.getMaxHeight(),
|
|
371
371
|
'--spw-table-min-width': this.formatSize(this.minWidth),
|
|
372
|
-
} }, h("div", { key: '
|
|
372
|
+
} }, h("div", { key: '54d2ef193caa29248a92da922ac1d0c8ace241a0', class: this.containerClass }, h("slot", { key: '1c6e1f056002c53b92be2a4bd3a04ffe0f7421bc', name: "table-sidebar" }, " "), h("div", { key: 'd71a94727cfb9a8274cc9c6c876f748bbeba2402', class: "spw-table-wrapper" }, h("table", { key: '77988b645320f208f8562788c8fe14560d4e790d', part: "table", class: this.elementClass, role: "table", "aria-label": this.accAriaLabel }, h("slot", { key: 'f4fac5291a4c24b9dc11a483109a10396b005f75' })))), this.resizable && (h("div", { key: 'f1505abcc482f662054ff5829b42f889c0e3865c', class: "spw-table-resize-handle", onMouseDown: this.handleResizeStart, role: "separator", "aria-orientation": "horizontal", "aria-label": "Redimensionner le tableau" }, h("div", { key: '87f6d4a3598c1b6a8f8fccd48a0bb6b0f66ba71c', class: "spw-table-resize-handle__bar" }))), h("slot", { key: 'b65d66501d648a4dc14e990d97d8262994ae170f', name: "table-footer" })));
|
|
373
373
|
}
|
|
374
374
|
static get is() { return "spw-table"; }
|
|
375
375
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,8 +3,11 @@ export class SpwTabsNavigation {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
/** Définit si la navigation doit être verticale sur mobile (à utiliser avec le variant default) */
|
|
5
5
|
this.isVerticalOnMobile = false;
|
|
6
|
+
/** Si true, centre les items horizontalement */
|
|
7
|
+
this.isCentered = false;
|
|
6
8
|
this.showLeftArrow = false;
|
|
7
9
|
this.showRightArrow = false;
|
|
10
|
+
this.hasOverflow = false;
|
|
8
11
|
this.scrollPercentage = 30;
|
|
9
12
|
this.resizeObserver = null;
|
|
10
13
|
this.mutationObserver = null;
|
|
@@ -49,9 +52,9 @@ export class SpwTabsNavigation {
|
|
|
49
52
|
const containerWidth = this.ulElement.clientWidth;
|
|
50
53
|
const contentWidth = this.ulElement.scrollWidth;
|
|
51
54
|
const scrollLeft = this.ulElement.scrollLeft;
|
|
52
|
-
|
|
53
|
-
this.showLeftArrow = hasOverflow && scrollLeft > 0;
|
|
54
|
-
this.showRightArrow = hasOverflow && scrollLeft < contentWidth - containerWidth - 1;
|
|
55
|
+
this.hasOverflow = contentWidth > containerWidth;
|
|
56
|
+
this.showLeftArrow = this.hasOverflow && scrollLeft > 0;
|
|
57
|
+
this.showRightArrow = this.hasOverflow && scrollLeft < contentWidth - containerWidth - 1;
|
|
55
58
|
};
|
|
56
59
|
this.scrollLeft = () => {
|
|
57
60
|
if (!this.ulElement)
|
|
@@ -97,8 +100,9 @@ export class SpwTabsNavigation {
|
|
|
97
100
|
const listClass = {
|
|
98
101
|
'spw-tabs-navigation__list': true,
|
|
99
102
|
'spw-tabs-navigation__list--vertical-on-mobile': this.isVerticalOnMobile,
|
|
103
|
+
'spw-tabs-navigation__list--centered': this.isCentered && !this.hasOverflow,
|
|
100
104
|
};
|
|
101
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: 'd9526de6f73de6dd9639f07ec8f011b423e74c8b', class: containerClass }, this.showLeftArrow && (h("button", { key: 'bafd1300feb72ba7c9641e91f7f09c26285740c0', 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: 'cd4b80d6c91d2f39beed32ab99a8b3017c06faaa', icon: "fa-chevron-left" }))), h("nav", { key: 'a8cf03c8b7eb3ae4e29e55137cc3bb7e00a6b5ac', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: 'c2926b88df483fae68841b955a0fc8d2b770142e', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: '151bded4bb89abfb04aa12d5161ee8330369653d' }))), this.showRightArrow && (h("button", { key: 'c7bc47a722ead9d6799205dbadacd697b405d619', 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: '14162defe5b196e984022ea87c7ac38600131c8a', icon: "fa-chevron-right" })))));
|
|
102
106
|
}
|
|
103
107
|
static get is() { return "spw-tabs-navigation"; }
|
|
104
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -152,13 +156,34 @@ export class SpwTabsNavigation {
|
|
|
152
156
|
"reflect": false,
|
|
153
157
|
"attribute": "is-vertical-on-mobile",
|
|
154
158
|
"defaultValue": "false"
|
|
159
|
+
},
|
|
160
|
+
"isCentered": {
|
|
161
|
+
"type": "boolean",
|
|
162
|
+
"mutable": false,
|
|
163
|
+
"complexType": {
|
|
164
|
+
"original": "boolean",
|
|
165
|
+
"resolved": "boolean",
|
|
166
|
+
"references": {}
|
|
167
|
+
},
|
|
168
|
+
"required": false,
|
|
169
|
+
"optional": true,
|
|
170
|
+
"docs": {
|
|
171
|
+
"tags": [],
|
|
172
|
+
"text": "Si true, centre les items horizontalement"
|
|
173
|
+
},
|
|
174
|
+
"getter": false,
|
|
175
|
+
"setter": false,
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"attribute": "is-centered",
|
|
178
|
+
"defaultValue": "false"
|
|
155
179
|
}
|
|
156
180
|
};
|
|
157
181
|
}
|
|
158
182
|
static get states() {
|
|
159
183
|
return {
|
|
160
184
|
"showLeftArrow": {},
|
|
161
|
-
"showRightArrow": {}
|
|
185
|
+
"showRightArrow": {},
|
|
186
|
+
"hasOverflow": {}
|
|
162
187
|
};
|
|
163
188
|
}
|
|
164
189
|
static get elementRef() { return "hostElement"; }
|
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: 'cc1de6eee027ca562b1dc2bd55a80dcdc1600234', class: this.active ? '--active' : '' }, h("li", { key: 'ce2860b2a031033770c4f98945a64f8d08cb8b8c', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: 'c647fc05687386b8bc916650be8e24f22df6955b', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: '371c462ea78a5e8c5b51a0aaf8cfa519d87e05ba' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '713343285c3180fd8bd594731224a713a8d7e2a0' }, iconPosition === 'left' && iconElement, h("slot", { key: 'e2cc0edb04b9eb36cd4db2180e1060ebc622e89b' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '318c6d8a068ddd6ad35988fa217c991c08e63f33', 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: 'fda1a1eaf9bf2fa9a05e02eb703a882b3c6df09d', class: this.elementClass }, h("slot", { key: '64a8c81a9c28e2fe215cf10ef1d1872080228ca2', name: "navigation" }), h("slot", { key: '25de82acee3e062486fd5f0be64983bac0b037c2', name: "content" })));
|
|
171
171
|
}
|
|
172
172
|
static get is() { return "spw-tabs"; }
|
|
173
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class SpwTag {
|
|
|
46
46
|
target,
|
|
47
47
|
};
|
|
48
48
|
const iconToDisplay = this.icon || this.getIcon(this.variant);
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'a71cd2cfd193b71bfe10b72f93f0e66b4e203467' }, h(TagType, Object.assign({ key: '3eb52d629c02c8285e40b695fa82c0b88e436a4f' }, attrs, { class: this.elementClass }), this.hasIcon && h("spw-icon", { key: '68e3f695a9a943f0fb8b9ab09675016504142f9c', variant: this.iconVariant, icon: iconToDisplay }), h("slot", { key: '2c5cad5116522b333ced94f8634a290bc9392695' }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "spw-tag"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -419,7 +419,6 @@ template {
|
|
|
419
419
|
-webkit-appearance: none;
|
|
420
420
|
appearance: none;
|
|
421
421
|
margin: 0;
|
|
422
|
-
text-align: center;
|
|
423
422
|
}
|
|
424
423
|
.spw-text-field__input[type=number]::-webkit-outer-spin-button, .spw-text-field__input[type=number]::-webkit-inner-spin-button {
|
|
425
424
|
-webkit-appearance: none;
|
|
@@ -560,8 +559,9 @@ template {
|
|
|
560
559
|
height: 60px;
|
|
561
560
|
font-size: 18px;
|
|
562
561
|
}
|
|
563
|
-
.spw-text-field--
|
|
562
|
+
.spw-text-field--has-controls .spw-text-field__input {
|
|
564
563
|
border-radius: 0;
|
|
565
564
|
border-left: none;
|
|
566
565
|
border-right: none;
|
|
566
|
+
text-align: center;
|
|
567
567
|
}
|
|
@@ -33,6 +33,8 @@ export class SpwTextField {
|
|
|
33
33
|
this.accAriaLabelIncrement = 'Incrémenter';
|
|
34
34
|
/** Aria-label pour le bouton de décrémentation (input number) */
|
|
35
35
|
this.accAriaLabelDecrement = 'Décrémenter';
|
|
36
|
+
/** Si true, affiche les boutons +/- pour les champs numériques */
|
|
37
|
+
this.hasControls = true;
|
|
36
38
|
/** Positionnement du tooltip */
|
|
37
39
|
this.tooltipDirection = 'top';
|
|
38
40
|
/** Curseur du tooltip */
|
|
@@ -49,13 +51,13 @@ export class SpwTextField {
|
|
|
49
51
|
}
|
|
50
52
|
async setValue(newVal) {
|
|
51
53
|
const formatted = this.mask ? this.applyMask(newVal) : newVal;
|
|
54
|
+
if (this.inputElement && this.inputElement.value !== formatted) {
|
|
55
|
+
this.inputElement.value = formatted;
|
|
56
|
+
}
|
|
52
57
|
if (this.value === formatted) {
|
|
53
58
|
return;
|
|
54
59
|
}
|
|
55
60
|
this.value = formatted;
|
|
56
|
-
if (this.inputElement && this.inputElement.value !== formatted) {
|
|
57
|
-
this.inputElement.value = formatted;
|
|
58
|
-
}
|
|
59
61
|
const emitValue = this.getTypedValue(formatted);
|
|
60
62
|
this.internals.setFormValue(emitValue ? String(emitValue) : null);
|
|
61
63
|
this.isClearIconVisible = this.isClear && !!formatted;
|
|
@@ -196,11 +198,12 @@ export class SpwTextField {
|
|
|
196
198
|
'spw-text-field--is-error': !!this.error,
|
|
197
199
|
'spw-text-field--is-clear': this.isClearIconVisible,
|
|
198
200
|
'spw-text-field--is-number': this.type === 'number',
|
|
201
|
+
'spw-text-field--has-controls': this.type === 'number' && this.hasControls,
|
|
199
202
|
'spw-text-field--disabled': this.disabled,
|
|
200
203
|
};
|
|
201
204
|
}
|
|
202
205
|
render() {
|
|
203
|
-
return (h("div", { key: '
|
|
206
|
+
return (h("div", { key: '5f9bad3bcbea0645272e470ffbd7c1a25b4cab72', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'df91a364e9b0b876fa0a7aed1046dc0da5bd0707', 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: '0777be50edbd86b4251a616394d57913e02a7a16', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '2877173b8a5e49c254c524f9f58ed7da1a4376bd', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: 'c5159db988b7a72c6ded3f11d45eb1f1a1b678dd', 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: '9492a498fb609422cb0042882e2dadd7421bfb54', icon: "fa-minus" }))), h("div", { key: '2107598e963c47b9881678a4ca5a863c9f0e04a5', class: "spw-text-field__input-container" }, h("input", { key: '857a418398634c5f37dfefd03aea11d4106faa00', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, 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) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: '843320806ff186497a9ad486ffd7ef600e7dd520', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: 'c247f7f38e24ebe468ed03bb52530cc380e98130', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '8b3fd6b131747b9aa50762d4b570c94daa9214af', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && h("spw-icon", { key: 'bb929a1cbf096b159edc56eb4a5ae9f460905cac', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" })))), this.type === 'number' && this.hasControls && (h("button", { key: '269524620433e27a9ba93cef1fe43b1df848fde6', 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: '13a126a032d8ea356dca6b7d03b90890aab039e0', icon: "fa-plus" }))), this.indicator && h("div", { key: 'c28c4357b50eb28f0fafee26c98e680562fb9b3e', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
204
207
|
}
|
|
205
208
|
static get is() { return "spw-text-field"; }
|
|
206
209
|
static get encapsulation() { return "shadow"; }
|
|
@@ -765,6 +768,26 @@ export class SpwTextField {
|
|
|
765
768
|
"attribute": "acc-aria-label-decrement",
|
|
766
769
|
"defaultValue": "'D\u00E9cr\u00E9menter'"
|
|
767
770
|
},
|
|
771
|
+
"hasControls": {
|
|
772
|
+
"type": "boolean",
|
|
773
|
+
"mutable": false,
|
|
774
|
+
"complexType": {
|
|
775
|
+
"original": "boolean",
|
|
776
|
+
"resolved": "boolean",
|
|
777
|
+
"references": {}
|
|
778
|
+
},
|
|
779
|
+
"required": false,
|
|
780
|
+
"optional": true,
|
|
781
|
+
"docs": {
|
|
782
|
+
"tags": [],
|
|
783
|
+
"text": "Si true, affiche les boutons +/- pour les champs num\u00E9riques"
|
|
784
|
+
},
|
|
785
|
+
"getter": false,
|
|
786
|
+
"setter": false,
|
|
787
|
+
"reflect": false,
|
|
788
|
+
"attribute": "has-controls",
|
|
789
|
+
"defaultValue": "true"
|
|
790
|
+
},
|
|
768
791
|
"mask": {
|
|
769
792
|
"type": "string",
|
|
770
793
|
"mutable": false,
|
|
@@ -98,7 +98,7 @@ export class SpwTextarea {
|
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '969bf413d0e2bc908abdda0f7c9f4b92bdcd505c', class: this.elementClass }, this.label && (h("spw-field-label", { key: '37e58083253f1ffde80a93ed3a56405162d007e3', 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: '978c654bafc30aae7c0e83a795fcb5636db1a4ac', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '2a1646f7916b20b966874d27f89861aacb59bf22', class: "spw-textarea__container" }, h("textarea", { key: 'ec3bd7bbad34d1b94260583bf67a313d52cd5709', 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()));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "spw-textarea"; }
|
|
104
104
|
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: '45cb055af292aff8ad9717cdbf9a4bd13245f0fe', class: `spw-theme-${this.theme}` }, h("slot", { key: 'b6a5cb62b67f553a9b8a7cb762353581d8943f8f' })));
|
|
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: '34dab4b95a4b324bd4b32c7095f7296f9d42b6e3', class: "spw-tile-description" }, h("slot", { key: '0bb4cba6ad7eb171b1f414e2f9670fd82a078c62' })));
|
|
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: '4cd81ba30ebbfb8e71504f9b8af31e8fa6c8e069', class: "spw-tile-title" }, h("slot", { key: '1429b145f5cb480cb59676a7ad438f59c397f03b' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class SpwTile {
|
|
|
56
56
|
href,
|
|
57
57
|
target,
|
|
58
58
|
};
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'ce17a046ffc7af1dd73d2be5e4a2cbc75f6b65bc' }, h(TagType, Object.assign({ key: '7232f8621b41cf2f2aa5b5caa8cfe1e5e36d4f76' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '8d78c26e3da36ee9e9182d96535c4d63f6b54dfa' }, h("div", { key: '3b0a50fefc5cae8e7949bf615c935f4c66e1391b', class: "spw-tile__overlay", style: { opacity: `${this.overlayOpacity / 100}` } }), h("img", { key: '0eaa5160263ee25bdcdbce3d7951f95e59c095f3', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '0a6b3a71d7f695e3808da759bb7ba346a3ec609a', class: "spw-tile__content" }, h("slot", { key: '5ee97714e813619e9207481562bded7c59cef376' }), this.href && this.variant === 'big' && (h("span", { key: '7f5770cf91270ff02ff6c4fdd684086ae244a983', class: "spw-tile__button" }, h("spw-icon", { key: 'a6f31be8ccf762d5196f0e894edd38c637a52359', icon: "fa-chevron-right" })))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "spw-tile"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|