@spw-ds/spw-stencil-library 1.8.0 → 1.9.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 +16833 -0
- package/dist/cjs/{index-CGg8f9_X.js → index-DvyqwgdS.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-avatar.cjs.entry.js +2 -2
- package/dist/cjs/spw-block-content.cjs.entry.js +26 -4
- 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 +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 +2 -2
- package/dist/cjs/spw-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +80 -6
- package/dist/cjs/spw-date-picker.cjs.entry.js +128 -10
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-field-label_7.cjs.entry.js +7 -7
- package/dist/cjs/spw-field-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-file-upload.cjs.entry.js +49 -18
- 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 +1 -1
- package/dist/cjs/spw-grid.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/spw-hero.cjs.entry.js +6 -5
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- 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 +8 -4
- 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 +2 -2
- package/dist/cjs/spw-modal.cjs.entry.js +23 -13
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic.cjs.entry.js +6 -4
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +2 -2
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +33 -11
- package/dist/cjs/spw-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider.cjs.entry.js +3 -3
- package/dist/cjs/spw-socials.cjs.entry.js +2 -2
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +21 -3
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc.cjs.entry.js +2 -2
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
- package/dist/collection/components/spw-avatar/spw-avatar.css +1 -1
- package/dist/collection/components/spw-block-content/spw-block-content.css +130 -10
- package/dist/collection/components/spw-block-content/spw-block-content.js +124 -6
- package/dist/collection/components/spw-button/spw-button.css +12 -0
- package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +1 -0
- package/dist/collection/components/spw-card/spw-card.css +4 -0
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +7 -0
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +18 -0
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +97 -4
- package/dist/collection/components/spw-date-picker/spw-date-picker.css +8 -0
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +165 -8
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +368 -17
- package/dist/collection/components/spw-group/spw-group.css +7 -0
- package/dist/collection/components/spw-hero/spw-hero.css +12 -3
- package/dist/collection/components/spw-hero/spw-hero.js +23 -3
- package/dist/collection/components/spw-illustration/spw-illustration.css +4 -0
- package/dist/collection/components/spw-link/spw-link.css +9 -2
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +7 -3
- package/dist/collection/components/spw-loading/spw-loading.css +2 -0
- package/dist/collection/components/spw-message/spw-message.css +20 -0
- package/dist/collection/components/spw-modal/spw-modal.css +84 -7
- package/dist/collection/components/spw-modal/spw-modal.js +44 -13
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.css +6 -2
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.css +3 -0
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +4 -2
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.js +1 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.css +23 -0
- package/dist/collection/components/spw-search-field/spw-search-field.js +35 -9
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
- package/dist/collection/components/spw-slider/spw-slider.js +2 -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-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.css +5 -0
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +22 -3
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.css +37 -0
- package/dist/collection/components/spw-text-field/spw-text-field.js +39 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +143 -0
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +6 -6
- package/dist/collection/stories/organisms/spw-block-content/spw-block-content.stories.js +15 -0
- package/dist/collection/utils/utils.js +25 -16
- package/dist/components/index.js +1 -1
- package/dist/components/p--N4W3bqs.js +1 -0
- package/dist/components/{p-C2um7CKN.js → p-BcS3VsZ9.js} +1 -1
- package/dist/components/p-CN8ujUL2.js +1 -0
- package/dist/components/p-CwkSs-Bb.js +1 -0
- package/dist/components/{p-7oLmQmmE.js → p-D_3btjGy.js} +1 -1
- package/dist/components/p-bAkyQE_m.js +1 -0
- package/dist/components/{p-Cy-dX0dz.js → p-p1L06Ar7.js} +1 -1
- package/dist/components/{p-BqvDpR82.js → p-pZQnbZwX.js} +1 -1
- package/dist/components/spw-avatar.js +1 -1
- package/dist/components/spw-block-content.js +1 -1
- package/dist/components/spw-breadcrumb-item.js +1 -1
- package/dist/components/spw-button.js +1 -1
- package/dist/components/spw-card.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-field-label.js +1 -1
- package/dist/components/spw-file-upload.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.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +1 -1
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toc.js +1 -1
- package/dist/components/spw-tooltip.js +1 -1
- package/dist/components/spw-topbar.js +1 -1
- package/dist/components/spw-wizard-item.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +1224 -44
- package/dist/esm/{index-DNZ0HWFd.js → index-i_vaVhzg.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-avatar.entry.js +2 -2
- package/dist/esm/spw-block-content.entry.js +26 -4
- 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 +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 +2 -2
- package/dist/esm/spw-checkbox.entry.js +2 -2
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +80 -6
- package/dist/esm/spw-date-picker.entry.js +128 -10
- package/dist/esm/spw-dropdown-container.entry.js +1 -1
- package/dist/esm/spw-dropdown-item.entry.js +1 -1
- package/dist/esm/spw-dropdown.entry.js +1 -1
- package/dist/esm/spw-field-label_7.entry.js +7 -7
- package/dist/esm/spw-field-message.entry.js +1 -1
- package/dist/esm/spw-file-upload.entry.js +49 -18
- 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 +1 -1
- package/dist/esm/spw-grid.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/spw-hero.entry.js +6 -5
- package/dist/esm/spw-illustration.entry.js +1 -1
- 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 +8 -4
- 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 +2 -2
- package/dist/esm/spw-modal.entry.js +23 -13
- package/dist/esm/spw-mosaic-item.entry.js +3 -3
- package/dist/esm/spw-mosaic.entry.js +6 -4
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +2 -2
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +33 -11
- package/dist/esm/spw-select.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-skeleton.entry.js +2 -2
- package/dist/esm/spw-slider-item.entry.js +2 -2
- package/dist/esm/spw-slider.entry.js +3 -3
- package/dist/esm/spw-socials.entry.js +2 -2
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +3 -3
- package/dist/esm/spw-tabs-navigation.entry.js +2 -2
- package/dist/esm/spw-tabs.entry.js +2 -2
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +21 -3
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +2 -2
- package/dist/esm/spw-tile-title.entry.js +2 -2
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toc-container.entry.js +1 -1
- package/dist/esm/spw-toc-navigation.entry.js +1 -1
- package/dist/esm/spw-toc.entry.js +2 -2
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +2 -2
- package/dist/spw-stencil-library/{p-1ae9d66b.entry.js → p-0478a2c9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-aaa5636b.entry.js → p-04d17fe5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6510e984.entry.js → p-05e0c3eb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-724eee10.entry.js → p-08a38490.entry.js} +1 -1
- package/dist/spw-stencil-library/p-13b4f9bc.entry.js +1 -0
- package/dist/spw-stencil-library/{p-4764e6e0.entry.js → p-15c7bf4f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a457bd16.entry.js → p-18164671.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d5d2f9f8.entry.js → p-19c1284b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-375f88d3.entry.js → p-1a501761.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e79839f.entry.js → p-1cf66055.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-77e3a560.entry.js → p-240d8e13.entry.js} +1 -1
- package/dist/spw-stencil-library/p-28e8aa65.entry.js +1 -0
- package/dist/spw-stencil-library/{p-37347400.entry.js → p-2a49896f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a16a6ee3.entry.js → p-2caaa9c2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5ad98e86.entry.js → p-2db4b489.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dd4bd13d.entry.js → p-2f31ef25.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e572bd8b.entry.js → p-3249593b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-be0c6609.entry.js → p-37abba34.entry.js} +1 -1
- package/dist/spw-stencil-library/p-38f35b43.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9156e2cc.entry.js → p-3c563ca2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f958aabf.entry.js → p-3d636e2c.entry.js} +1 -1
- package/dist/spw-stencil-library/p-4148a98f.entry.js +1 -0
- package/dist/spw-stencil-library/p-42368b16.entry.js +1 -0
- package/dist/spw-stencil-library/p-43091001.entry.js +1 -0
- package/dist/spw-stencil-library/{p-31fc0d76.entry.js → p-4360ea7b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-44f52ede.entry.js +1 -0
- package/dist/spw-stencil-library/{p-0fe88118.entry.js → p-481585cd.entry.js} +1 -1
- package/dist/spw-stencil-library/p-48828a6a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fa39b517.entry.js → p-49dce57b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a74b8c56.entry.js → p-501c3985.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a62e75d7.entry.js → p-575e048f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-327fa3e5.entry.js → p-5a8c56d8.entry.js} +2 -2
- package/dist/spw-stencil-library/{p-1fad50b0.entry.js → p-5bc4b3ad.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-edb98ec3.entry.js → p-65b0a975.entry.js} +1 -1
- package/dist/spw-stencil-library/p-6e02c03b.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f4c9fe35.entry.js → p-71713147.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ab9bd917.entry.js → p-750d30e1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-87efcf90.entry.js → p-7b4d2c1e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d7b03752.entry.js → p-7e9eaaf4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-00829e69.entry.js → p-7fbc61e4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-8029def2.entry.js +1 -0
- package/dist/spw-stencil-library/p-8ab1c03e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-1a43879a.entry.js → p-8bf5a952.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e83f4dd9.entry.js → p-8c20296d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dfa82fb0.entry.js → p-8c289268.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4aa8f4bf.entry.js → p-8e1fbd85.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-89cefdcf.entry.js → p-923b7ed8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ae198f34.entry.js → p-92e317a4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ed4c861f.entry.js → p-943588f2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-22b043dd.entry.js → p-99d36a68.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4d8d46e6.entry.js → p-9ed189ab.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c7dcf793.entry.js → p-9f0c7849.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-14a660ac.entry.js → p-a1b76676.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-29cc06e9.entry.js → p-a2b65704.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-14d14ae2.entry.js → p-a952a97d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ecfd8d0a.entry.js → p-a9c7422d.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a9cf9e71.entry.js +1 -0
- package/dist/spw-stencil-library/{p-59724176.entry.js → p-abb2edc6.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ad4f780f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f36ac36b.entry.js → p-af068b38.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-461dbb77.entry.js → p-b226ca7b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b3287d31.entry.js +1 -0
- package/dist/spw-stencil-library/{p-7ee48374.entry.js → p-b841d377.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bb4a0f1c.entry.js → p-ba64633d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4618e516.entry.js → p-c1aaf055.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-dc886ffd.entry.js → p-c262f348.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8fea1c7b.entry.js → p-c60f4d0d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1ca7aecb.entry.js → p-c7e173fb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ba55fa6.entry.js → p-c8be5dba.entry.js} +1 -1
- package/dist/spw-stencil-library/p-cbcae74f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fba1aea3.entry.js → p-d09983aa.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3df6280e.entry.js → p-d2624de2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9c97f183.entry.js → p-d28ba38e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bf656c7e.entry.js → p-d5a0101b.entry.js} +1 -1
- package/dist/spw-stencil-library/p-d6e75066.entry.js +1 -0
- package/dist/spw-stencil-library/{p-c1209aa5.entry.js → p-d8861b95.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1c059cfd.entry.js → p-da1faeb1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b746a5b1.entry.js → p-df634f09.entry.js} +1 -1
- package/dist/spw-stencil-library/p-e111968c.entry.js +1 -0
- package/dist/spw-stencil-library/{p-cc679461.entry.js → p-e7d4987e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6b113e71.entry.js → p-ea1bfddb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-73b2e94c.entry.js → p-ef20914c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-69e1e8e1.entry.js → p-f09fee4e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b0028796.entry.js → p-f4761dc5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d5825b95.entry.js → p-f674626b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3dc88b13.entry.js → p-f6e80332.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8956e7de.entry.js → p-fbdaa431.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b0582aa7.entry.js → p-fe036751.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-DNZ0HWFd.js → p-i_vaVhzg.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +3414 -1501
- package/dist/types/components/spw-block-content/spw-block-content.d.ts +14 -3
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +8 -0
- package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +11 -1
- package/dist/types/components/spw-file-upload/spw-file-upload.d.ts +32 -0
- package/dist/types/components/spw-hero/spw-hero.d.ts +2 -0
- package/dist/types/components/spw-modal/spw-modal.d.ts +6 -3
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +4 -1
- package/dist/types/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.d.ts +3 -1
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +4 -0
- package/dist/types/components.d.ts +303 -11
- package/dist/types/stories/organisms/spw-block-content/spw-block-content.stories.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -6
- package/hydrate/index.js +464 -129
- package/hydrate/index.mjs +464 -129
- package/package.json +1 -1
- package/dist/components/p-D63saAXj.js +0 -1
- package/dist/components/p-DVDmp5m3.js +0 -1
- package/dist/components/p-Df0o7KPW.js +0 -1
- package/dist/components/p-xo2kVNYT.js +0 -1
- package/dist/spw-stencil-library/p-08d179af.entry.js +0 -1
- package/dist/spw-stencil-library/p-36e62f2f.entry.js +0 -1
- package/dist/spw-stencil-library/p-37ef1e77.entry.js +0 -1
- package/dist/spw-stencil-library/p-456c24b0.entry.js +0 -1
- package/dist/spw-stencil-library/p-620519ea.entry.js +0 -1
- package/dist/spw-stencil-library/p-74014ca0.entry.js +0 -1
- package/dist/spw-stencil-library/p-772f56c1.entry.js +0 -1
- package/dist/spw-stencil-library/p-8a95adc5.entry.js +0 -1
- package/dist/spw-stencil-library/p-8ea775f1.entry.js +0 -1
- package/dist/spw-stencil-library/p-9c35e7cb.entry.js +0 -1
- package/dist/spw-stencil-library/p-ac73da88.entry.js +0 -1
- package/dist/spw-stencil-library/p-b1c1be45.entry.js +0 -1
- package/dist/spw-stencil-library/p-bf8f52ef.entry.js +0 -1
- package/dist/spw-stencil-library/p-d94bc511.entry.js +0 -1
- package/dist/spw-stencil-library/p-e4ef4e0a.entry.js +0 -1
- package/dist/spw-stencil-library/p-ef0e431d.entry.js +0 -1
- package/dist/spw-stencil-library/p-f5f93df5.entry.js +0 -1
|
@@ -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: '87015e8ae9e150f775257ce3415d880dba940cf9', variant: this.iconVariant, icon: this.icon });
|
|
173
|
+
const iconDiv = (h("div", { key: 'f93a64218b6494b52834e95345b2dbe92ad3616e', class: "spw-sidebar-navigation-item__icon" }, this.bubble && h("span", { key: '42906bfcce37c17ab1f8711a924d5a234feda614', 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: '9e3eb9fffb4b1499bdef29e004104763ebf55056', 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: '500dff40c0ef6571667dc8cb3be96a834ca216d9', class: "spw-sidebar-navigation-item__content" }, h("div", { key: 'a9ebb61ed27481ee892148170824402654a2a270', class: "spw-sidebar-navigation-item__content-label" }, h("slot", { key: '7385726989771b3181b9879ba1face7460654582' })), this.hasDropdown && (h("div", { key: 'a37ee7fd4e71856b1e374fafadd1e75b2597dc8d', class: toggleClasses, onClick: this.handleDropdownToggle, tabIndex: this.disabled ? -1 : 0 }, h("spw-icon", { key: 'b25ebafce8ee7fb516f8825eb41817de6946cef1', icon: "fa-chevron-down" }))), h("slot", { key: 'ed8324111bbbb558fb288cdbe6248d3b25409912', 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: '4950cb0e0b54c6590da69a38f32c47936ba1ccd3' }, h("spw-separator", { key: 'd75edfd5b7a7f8bdbfa16d00ce6d0a8aea300e2c', 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: '930f06073c4484acf164e707fd8d3ea90bdb4d4f', class: this.hostClass }, h("div", { key: '749a9b740553e2e8609562bb3659208c5757596a', class: this.elementClass }, h("span", { key: 'c53dfb494cfe4660ca598b0026ea16261475cd06', class: "spw-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: 'cf5e6e5162fe9be433873663cbe9807fe3cfab77', icon: "fa-chevron-right" })), h("div", { key: '4a82c3d26c0d142805c8d259f30fff55982e6faf', class: "spw-sidebar__content" }, h("slot", { key: 'c06770e45552b1b800e6d62659cbb24a8042f064', name: "navigation-top" }), h("slot", { key: '3bd3738c9bea915013a9fcdabdfe87895e5b899b', name: "navigation-bottom" })), h("div", { key: '969e1b80d600aad1273950883728aca627a046d8', 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: '3acf0c911c34ec645527dfe4151ddb4d6daccf25' }, h("div", { key: 'ce4907d208ee75c7162a0fe58195a9b4d9095b8a', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: 'ccd659cce9d41dd54bb7433120689adf0f27ca68' }))));
|
|
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: '9e65273b68a32451ec023757dd0d85fd978949fd' }, h("div", { key: '4e7cf6123e9fbd66ec6a3fe15a808e363213bbce', class: "spw-slider-item" }, h("slot", { key: '5ba70318b10a31f18576e74f970b965ccd418575' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-slider-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -346,10 +346,10 @@ export class SpwSlider {
|
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
348
|
render() {
|
|
349
|
-
return (h(Host, { key: '
|
|
349
|
+
return (h(Host, { key: 'c6863e180b54d0bf5cc26ea1883955c0c0925c1c' }, h("div", { key: '43870fa57c6b78af8b21af910bcfe88cdc4e5d59', class: this.elementClass, style: { height: `${this.currentHeight}px` } }, h("div", { key: '5b8f77a6395743a7eb75800df509a0236168fed3', class: "spw-slider__track" }, h("slot", { key: '93e11c5d40f490bc2bfd765391a9936cb8d93141' })), this.showArrows && (h("div", { key: '81594144b0ce15e410b556efea3ed9d6940cf46a', class: "spw-slider__navigation" }, h("button", { key: '2b111417fd0f13e322610361220e089d8ea9739e', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: 'e9ca0e08186926618fdcbe70b26208e710e1abed', icon: "fa-chevron-left" })), h("button", { key: 'c6d371f75367f1f6ee706a53262c4a69b81a92ce', 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: '531ba5452710d9ca05aee9496e35a1fd3520eefb', icon: "fa-chevron-right" })))), this.showDots && this.totalSlides > 1 && (h("div", { key: '1c7e8313e350a54803e6338e222d22b1519b05f8', class: "spw-slider__dots" }, Array.from({ length: this.totalSlides }, (_, i) => (h("button", { class: {
|
|
350
350
|
'spw-slider__dot': true,
|
|
351
351
|
'spw-slider__dot--active': i === this.activeIndex,
|
|
352
|
-
}, 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: 'df5c164e3537c8283352efb329a0d6cb04541b88', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '1446faf45acb590b47ec613cb02971cc74f93948', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
|
|
353
353
|
}
|
|
354
354
|
static get is() { return "spw-slider"; }
|
|
355
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: 'd005bc6c7218424cd7be9d3a79b9acf8b91a268d' }, h("div", { key: '0b5fccd50c264383203d988e0213b8f568f2e7ee', class: "spw-socials" }, h("div", { key: 'd6530f3f54755586d7d4537b274501fd11807f1e', class: "spw-ds-container" }, h("h2", { key: '9de7d1380f92750106bc74649d6ed010cf762258', class: "spw-socials__title" }, this.mainTitle), h("div", { key: 'f37e3e884487058d727c4324f6faa12dbc8b9b8b', class: "spw-socials__content" }, h("slot", { key: 'b4637700c995152c3de7e18591250325cf520a88' }))))));
|
|
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: '1979c67fa591e9b2b5e0330bcebd0c662d2adcfb', part: "tbody" }, h("slot", { key: '2efb486c9419d8172f58945557e2ff9b965a7bf3' })));
|
|
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: '7d749880a84e8965e5997bdb4cf6dc0af5f35c54' }, attrs), h("slot", { key: '0aa5075eb7fb56fe782d44683b19185ed50f6aa9' })));
|
|
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: '00b05fc2baab54a6e33ce4bc2ad5cfe010a4b884' }, h("div", { key: 'e05c2ad62172a77341fab476d7dfaec571479e37', class: "spw-table-container" }, h("slot", { key: '7ae04aa763a8253f74f52ddb6a466464b6232036' }))));
|
|
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: '54b80576e954b74d04991c59a08ee2124bdd1bac', class: "spw-table-footer" }, h("slot", { key: 'c4536026ac5c404af3665a8f4ef147f026b7e7a6', name: "left" }), h("slot", { key: '78617658bf68b10504bdb12fdf545bf8b66f2a02', name: "center" }), h("slot", { key: '4b2b319fb844777abef8ae325422aab1b025882f', 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: '1db6efce92caf51080258d565a4253711405de0b', part: "thead" }, h("slot", { key: 'c4c78b69603b29d11a8a3168c1e3f3e37cb058bb' })));
|
|
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: 'eefe057982c3c174139ce2b4c6106e51b8d27d8f' }, attrs), h("div", { key: 'a99b55a7abeb487b2e3ee85a70b03ce5b6a33be5', 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: '52467dd1ba4fb10f637fda862d621b12b52626a5' }), h("div", { key: 'b20d8268d8da62256473c60551c1063ac536d9ad', class: "spw-table-header__icons" }, h("slot", { key: 'd25f17abe624156bd1f1b4f4971a5cc842b030ee', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '986665a99cad21f94d43d7acdcc7630c62b4019c', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: 'd841b83852114c8ed981ce2a6be0e6d5cdcce1d9', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: 'beab4788c9cc492d1137efe36fbe3339bb80184c', 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: '2e72212cb89a9057b87c23ff379e64276ab269eb', part: "row" }, h("tr", { key: 'a0a5e85827db9ebf189bb9e945b5d98fa753145a', class: this.elementClass, part: "row" }, h("slot", { key: '1199849e415772fb2323938acf97e05672020877' }))));
|
|
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: '41e1ca2772f06d3352193592d9c60eabb1b28df0', style: style, class: this.hostClass }, h("nav", { key: 'b9a687def02952d55c0c9bf51a2d40f634b37140', class: this.elementClass }, h("span", { key: '155f42be72405d3232fdb409de9fd9a064527f26', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '1b65516fb495a66ce2e9e14e51e0e1ad52af1cf0', icon: "fa-chevron-left" })), h("div", { key: 'd2b4123d0659ba7da2d9c1dd42e15254d0783a86', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '5efa5a16b8aac116dc41f4ec9ef47b9de7c89ed8', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '29d12671a967caa15efa15f0f6fd522b954ce373', class: "spw-table-sidebar__content" }, h("div", { key: '6c259f64578fb45a74c34ca0ba38e63bd7356c3d', class: "spw-table-sidebar__header" }, h("span", { key: 'f6e5378584671647e07adb45f2e69da9524e72f3', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: 'f75861c1edaf5ccdc8cf32ecc60b067d54d0681b', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: 'b5242c6beff212bcc31d273035e534b2c7e2ec98', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '345d3f868770e4b505b5cbfff04681b8ee295886', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: 'c65753f9cc14c37ed587068afaa18af8b7dbbeab' })), h("div", { key: 'fee007e0d9c8e44eb960bcff52f37dd03892f346', class: "spw-table-sidebar__footer" }, h("slot", { key: '0b47ad0b7ec74abad89e72bc7092224649a6f333', 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: '9e249a01c64c742e71e54b1ae8e4ad39ea01f0ad', class: containerClass }, this.showLeftArrow && (h("button", { key: 'c30d813657adfb3972f7e3fd649c613b977d18a7', 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: '900a622da17d6302eaf207afbac16c0cf25a8560', icon: "fa-chevron-left" }))), h("nav", { key: '1deaaf1263bf6b928f8b37b480c20e52b3424bee', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '73ae5241fe6956fd8a1f9d101d22cb594054dcae', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: '66af59b106093b6c4b880fec68fc6f0e221d7a4e' }))), this.showRightArrow && (h("button", { key: '0e398e48b56e2f91c908867b68c0d05448c4bfb1', 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: 'db0e36d7c83ce20390b6983e2189135795a3616c', 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.css
CHANGED
|
@@ -377,10 +377,15 @@ template {
|
|
|
377
377
|
|
|
378
378
|
:host {
|
|
379
379
|
display: contents;
|
|
380
|
+
/** @prop --spw-tabs-max-width-text: Largeur maximale du texte de l'onglet */
|
|
380
381
|
--spw-tabs-max-width-text: 200px;
|
|
382
|
+
/** @prop --spw-tabs-border-radius: Rayon de bordure de l'onglet */
|
|
381
383
|
--spw-tabs-border-radius: 4px 4px 0 0;
|
|
384
|
+
/** @prop --spw-tabs-margin-left: Marge gauche de l'onglet */
|
|
382
385
|
--spw-tabs-margin-left: 0;
|
|
386
|
+
/** @prop --spw-tabs-width: Largeur de l'onglet */
|
|
383
387
|
--spw-tabs-width: auto;
|
|
388
|
+
/** @prop --spw-tabs-text-align: Alignement du texte de l'onglet */
|
|
384
389
|
--spw-tabs-text-align: left;
|
|
385
390
|
}
|
|
386
391
|
|
package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Fragment, Host } from "@stencil/core";
|
|
2
2
|
export class SpwTabsNavigationItem {
|
|
3
3
|
constructor() {
|
|
4
|
-
/** Définit si le tab est actif ou non */
|
|
4
|
+
/** Définit si le tab est actif ou non (hérité du parent, pas modifiable directement) */
|
|
5
5
|
this.active = false;
|
|
6
6
|
/** Définit si le tab est disabled ou non */
|
|
7
7
|
this.disabled = false;
|
|
@@ -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: '153b04007e54e0cf19b9013416c285508ee84b53', class: this.active ? '--active' : '' }, h("li", { key: '0406b0fcf50f6f7aadbbb17e54bfe3ef0edb5bec', 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: '1e876fed3ad23281a64fafb324fc115413a2c6e4', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: '95aaac904eb2273620667d5704f1c6a7ae7c0709' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '9e05ad32b79238e9bcbe8b03cc026456e491c473' }, iconPosition === 'left' && iconElement, h("slot", { key: '6fa65e0886d44de13e5d10ecf7da82e26d594b99' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '03b983f1d39a8439a2d3064a6975704365d87e00', class: "bubble" }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "spw-tabs-navigation-item"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -110,7 +110,7 @@ export class SpwTabsNavigationItem {
|
|
|
110
110
|
"optional": false,
|
|
111
111
|
"docs": {
|
|
112
112
|
"tags": [],
|
|
113
|
-
"text": "D\u00E9finit si le tab est actif ou non"
|
|
113
|
+
"text": "D\u00E9finit si le tab est actif ou non (h\u00E9rit\u00E9 du parent, pas modifiable directement)"
|
|
114
114
|
},
|
|
115
115
|
"getter": false,
|
|
116
116
|
"setter": false,
|
|
@@ -273,6 +273,25 @@ export class SpwTabsNavigationItem {
|
|
|
273
273
|
"reflect": false,
|
|
274
274
|
"attribute": "tag-icon",
|
|
275
275
|
"defaultValue": "false"
|
|
276
|
+
},
|
|
277
|
+
"accAriaLabel": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"mutable": false,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "string",
|
|
282
|
+
"resolved": "string",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": true,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": "Remplit l'attribut aria-label, utilis\u00E9 \u00E0 des fins d'accessibilit\u00E9"
|
|
290
|
+
},
|
|
291
|
+
"getter": false,
|
|
292
|
+
"setter": false,
|
|
293
|
+
"reflect": false,
|
|
294
|
+
"attribute": "acc-aria-label"
|
|
276
295
|
}
|
|
277
296
|
};
|
|
278
297
|
}
|
|
@@ -167,7 +167,7 @@ export class SpwTabs {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("div", { key: '
|
|
170
|
+
return (h("div", { key: 'f71801d72b6916683a79f88bfeec206bd220e931', class: this.elementClass }, h("slot", { key: '9c97679bb85debd14990c756540b9da91160e804', name: "navigation" }), h("slot", { key: '66818f20f20f67587424ec3fb8140c9c449096bc', 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: '304b95d4064b5f3fe7f91d66b80daba87f60314b' }, h(TagType, Object.assign({ key: 'eb192ec70e914db64968371ea07e6f83570634d3' }, attrs, { class: this.elementClass }), this.hasIcon && h("spw-icon", { key: 'f36e1deee0a38b069da8ea53ffcca4d7ecbd8041', variant: this.iconVariant, icon: iconToDisplay }), h("slot", { key: '1bebaf397d82c3e88b009070fa49b395d61d580f' }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "spw-tag"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
2
3
|
/* Document
|
|
3
4
|
========================================================================== */
|
|
@@ -377,12 +378,19 @@ template {
|
|
|
377
378
|
|
|
378
379
|
:host {
|
|
379
380
|
display: block;
|
|
381
|
+
/** @prop --spw-input-height: Hauteur du champ de saisie */
|
|
380
382
|
--spw-input-height: 40px;
|
|
383
|
+
/** @prop --spw-input-padding: Padding interne du champ de saisie */
|
|
381
384
|
--spw-input-padding: 0 12px;
|
|
385
|
+
/** @prop --spw-input-text-align: Alignement du texte dans le champ */
|
|
382
386
|
--spw-input-text-align: left;
|
|
387
|
+
/** @prop --spw-input-font-size: Taille de police du champ de saisie */
|
|
383
388
|
--spw-input-font-size: 16px;
|
|
389
|
+
/** @prop --spw-input-radius: Rayon de bordure du champ */
|
|
384
390
|
--spw-input-radius: 4px;
|
|
391
|
+
/** @prop --spw-input-icon-search-color: Couleur de l'icône de recherche */
|
|
385
392
|
--spw-input-icon-search-color: var(--spw-color-themes-grey-grey-900);
|
|
393
|
+
/** @prop --spw-input-border: Couleur de la bordure du champ */
|
|
386
394
|
--spw-input-border: var(--spw-color-themes-grey-grey-800);
|
|
387
395
|
}
|
|
388
396
|
|
|
@@ -518,6 +526,35 @@ template {
|
|
|
518
526
|
color: var(--spw-color-themes-grey-grey-900);
|
|
519
527
|
font-size: 12px;
|
|
520
528
|
}
|
|
529
|
+
.spw-text-field__submit {
|
|
530
|
+
display: inline-flex;
|
|
531
|
+
align-items: center;
|
|
532
|
+
justify-content: center;
|
|
533
|
+
width: 28px;
|
|
534
|
+
height: 28px;
|
|
535
|
+
padding: 0;
|
|
536
|
+
border: none;
|
|
537
|
+
border-radius: 50%;
|
|
538
|
+
background: transparent;
|
|
539
|
+
cursor: pointer;
|
|
540
|
+
transition: all 0.2s ease;
|
|
541
|
+
color: var(--spw-input-icon-search-color);
|
|
542
|
+
font-size: 18px;
|
|
543
|
+
}
|
|
544
|
+
.spw-text-field__submit:focus, .spw-text-field__submit:focus-visible {
|
|
545
|
+
outline: 1px solid white;
|
|
546
|
+
outline-offset: 0;
|
|
547
|
+
box-shadow: 0 0 0 3px black;
|
|
548
|
+
}
|
|
549
|
+
.spw-text-field--large .spw-text-field__submit {
|
|
550
|
+
width: 36px;
|
|
551
|
+
height: 36px;
|
|
552
|
+
font-size: 24px;
|
|
553
|
+
}
|
|
554
|
+
.spw-text-field--disabled .spw-text-field__submit {
|
|
555
|
+
cursor: not-allowed;
|
|
556
|
+
color: var(--spw-color-themes-grey-grey-500);
|
|
557
|
+
}
|
|
521
558
|
.spw-text-field__number-btn {
|
|
522
559
|
display: inline-flex;
|
|
523
560
|
align-items: center;
|
|
@@ -35,6 +35,8 @@ export class SpwTextField {
|
|
|
35
35
|
this.accAriaLabelDecrement = 'Décrémenter';
|
|
36
36
|
/** Si true, affiche les boutons +/- pour les champs numériques */
|
|
37
37
|
this.hasControls = true;
|
|
38
|
+
/** Affiche un bouton submit (loupe) qui déclenche le submit du formulaire parent */
|
|
39
|
+
this.hasSubmitButton = false;
|
|
38
40
|
/** Positionnement du tooltip */
|
|
39
41
|
this.tooltipDirection = 'top';
|
|
40
42
|
/** Curseur du tooltip */
|
|
@@ -91,6 +93,18 @@ export class SpwTextField {
|
|
|
91
93
|
handleClear() {
|
|
92
94
|
this.setValue('');
|
|
93
95
|
}
|
|
96
|
+
handleKeyDown(event) {
|
|
97
|
+
if (event.key === 'Enter' && this.hasSubmitButton) {
|
|
98
|
+
event.preventDefault();
|
|
99
|
+
this.handleSubmit();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
handleSubmit() {
|
|
103
|
+
const form = this.el.closest('form');
|
|
104
|
+
if (form) {
|
|
105
|
+
form.requestSubmit();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
94
108
|
increment() {
|
|
95
109
|
var _a;
|
|
96
110
|
if (this.disabled)
|
|
@@ -165,6 +179,9 @@ export class SpwTextField {
|
|
|
165
179
|
rawIndex++;
|
|
166
180
|
}
|
|
167
181
|
else {
|
|
182
|
+
if (rawIndex >= rawChars.length) {
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
168
185
|
result += p;
|
|
169
186
|
}
|
|
170
187
|
}
|
|
@@ -199,11 +216,12 @@ export class SpwTextField {
|
|
|
199
216
|
'spw-text-field--is-clear': this.isClearIconVisible,
|
|
200
217
|
'spw-text-field--is-number': this.type === 'number',
|
|
201
218
|
'spw-text-field--has-controls': this.type === 'number' && this.hasControls,
|
|
219
|
+
'spw-text-field--has-submit-button': this.hasSubmitButton,
|
|
202
220
|
'spw-text-field--disabled': this.disabled,
|
|
203
221
|
};
|
|
204
222
|
}
|
|
205
223
|
render() {
|
|
206
|
-
return (h("div", { key: '
|
|
224
|
+
return (h("div", { key: 'bd80e50c6f81ed54d2c36d77cf3cc40f03fb578d', class: this.elementClass }, this.label && (h("spw-field-label", { key: '9b40064cf478bc217fe9451499f6765af066ed0b', 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: 'a2421f2f1684b9ce7747471c529e210ac3bfc4b9', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'c152993b95fd693eca0b443d3fc93f6c13962fdb', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: 'c4de4193ac98851a9c9a495db7a91e754dc9aa6c', 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: '27f738696799ede01e7d0577d59d5c58b4a3059e', icon: "fa-minus" }))), h("div", { key: '7e77acbd0dac7511919872829ce3f9c197a94791', class: "spw-text-field__input-container" }, h("input", { key: '1b65248118782238d0885fd93dae3dff29c809c0', 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), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: 'c2eead1b26d0694466b30e586f6cd30572bfc94e', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '471dba3abb7610c186df7b78af1b0ac96c2095ad', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '7d6ae7a4c4f5e3bbed6c1d802dae21cb6915721d', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: 'c13d78f2adf23b35062e2c9348c7f89e05762a48', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: 'af5144d1cdb679263776fd25fa3fed843e22226f', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '4a9004e07d7c7bf79b3deebcb52a124005b0b0b2', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '5ce4328749677c8bb2098a630d289d60b2589163', 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: 'b65e9978beb12159718b582e5a5efbef755c2356', icon: "fa-plus" }))), this.indicator && h("div", { key: '153b22c9452298947a8281e23452a5ba4e487608', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
|
|
207
225
|
}
|
|
208
226
|
static get is() { return "spw-text-field"; }
|
|
209
227
|
static get encapsulation() { return "shadow"; }
|
|
@@ -788,6 +806,26 @@ export class SpwTextField {
|
|
|
788
806
|
"attribute": "has-controls",
|
|
789
807
|
"defaultValue": "true"
|
|
790
808
|
},
|
|
809
|
+
"hasSubmitButton": {
|
|
810
|
+
"type": "boolean",
|
|
811
|
+
"mutable": false,
|
|
812
|
+
"complexType": {
|
|
813
|
+
"original": "boolean",
|
|
814
|
+
"resolved": "boolean",
|
|
815
|
+
"references": {}
|
|
816
|
+
},
|
|
817
|
+
"required": false,
|
|
818
|
+
"optional": true,
|
|
819
|
+
"docs": {
|
|
820
|
+
"tags": [],
|
|
821
|
+
"text": "Affiche un bouton submit (loupe) qui d\u00E9clenche le submit du formulaire parent"
|
|
822
|
+
},
|
|
823
|
+
"getter": false,
|
|
824
|
+
"setter": false,
|
|
825
|
+
"reflect": false,
|
|
826
|
+
"attribute": "has-submit-button",
|
|
827
|
+
"defaultValue": "false"
|
|
828
|
+
},
|
|
791
829
|
"mask": {
|
|
792
830
|
"type": "string",
|
|
793
831
|
"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: '313f4460b65a2a5794cca225a75cc15b81d58da5', class: this.elementClass }, this.label && (h("spw-field-label", { key: '454f5acb92e6d445d64e11bbbb0685e0a112995f', 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: '4993960de18edf756a35ac22f818dbb93a6e31d3', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '592ed938c390f2bb97291474fb938649c9bb77e1', class: "spw-textarea__container" }, h("textarea", { key: '96ef4a1d90546ad6764ba517c1b8d0ad8fd34ca4', 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: '887b2abeb72be9d18f23c76219f009fd7952f690', class: `spw-theme-${this.theme}` }, h("slot", { key: '95830f201c0c0fd9ee8e7fe0e1a1cdb4cb225270' })));
|
|
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: 'd7d9482375c4826fe98f270c8c9c9122c962c21b', class: "spw-tile-description" }, h("slot", { key: '2114c67b9a8061a84a91a3ead4a10584752a6721' })));
|
|
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: '05d6dbd338858f5107c57c8a171b4f7575d91201', class: "spw-tile-title" }, h("slot", { key: 'aefb5939acf89286bef5e4c03acbdef82d1a1309' })));
|
|
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: 'bfe89bf6bbc024ba24728c3dc8bd93a6c2686cd2' }, h(TagType, Object.assign({ key: '08a626018b6ce7a7625f59e7014d260bbfd469f2' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: 'd10e37e2f568ea8a37765005f8c034e3797548cf' }, h("div", { key: '1a8125f848769c9434d312377a98e0af1e255b96', class: "spw-tile__overlay", style: { opacity: `${this.overlayOpacity / 100}` } }), h("img", { key: '8e4ee3105ed60254ab3dd63e1e11a12b108f3c86', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '4a29a2762059920b30c8c8f9c263db7e0ac4ddb4', class: "spw-tile__content" }, h("slot", { key: '4b0c4829fba48f8933e9912a183512fda123244c' }), this.href && this.variant === 'big' && (h("span", { key: '62e241193a6e110d28d7b23a7b4fd5efa0335bd1', class: "spw-tile__button" }, h("spw-icon", { key: '302f3e38734bab17dd70f89e1d036ac8c0a210fd', icon: "fa-chevron-right" })))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "spw-tile"; }
|
|
62
62
|
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: '53dbbe5fa4b236b8cb5f65470008c0ecd579c770' }, h("div", { key: '71bb24a3e108320df0531e0aa8a4266cca248eef', class: this.elementClass }, h("div", { key: '086bf781e6ad6b162aaa5c561ac19b2990beed47', class: "spw-timeline-item__step" }, h("div", { key: '5d146d5bcb09d3276ffa5e56123f22d9293b1747', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '3452c57384ec4f338d967a5af04910f067417267', class: "spw-timeline-item__connector" })), h("div", { key: 'c36f2037548b5186c7b7eb8a69f8281066713202', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: '7cd1fa2cef9c56b38f210b97a60552438172f772', class: "spw-timeline-item__description-wrapper" }, h("div", { key: '92bd48fb4a24b599499dec90046fa104173b7504', 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: 'f5b72cbe99f59013f8f4c222cfd4145a263dbfc9' })))));
|
|
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: 'ea13c5ce5fa1e33f26a6e3de6b812f8088e4c9db' }, h("div", { key: '82eba85ca6700a791cf9b6ec25daaab8ccc2e9c7', class: this.elementClass }, h("slot", { key: '0f0353e7fcc8afdefd65ff19b8f541b723abc490' })), this.shouldShowToggleButton() && (h("div", { key: '9e4d3b2576e956bc27454cb37648da0ae3463f5b', 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: '9a1d3851fc7f1ac0968964b828d39426f435f4fe', 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: '8b90d59d3d764448636a8cd909bc5efd7abca656' }, h("slot", { key: '9bcda884219f6b3f21281db81c9676eae958bd0e' })));
|
|
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: '527f005c9921c6e122ddb9aac4d56afc5031a6c6', class: this.classes, onMouseEnter: this.showTooltip, onMouseLeave: this.hideTooltip }, h("slot", { key: 'ec5e7e9884dee44f5a030671d20508f96b1bb21d' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "spw-tooltip"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|