@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
|
@@ -86,18 +86,39 @@ export namespace Components {
|
|
|
86
86
|
"size": 'small' | 'medium' | 'large';
|
|
87
87
|
}
|
|
88
88
|
interface SpwBlockContent {
|
|
89
|
+
/**
|
|
90
|
+
* Couleur de fond du bloc
|
|
91
|
+
* @default 'primary'
|
|
92
|
+
*/
|
|
93
|
+
"background"?: 'primary' | 'neutral';
|
|
89
94
|
/**
|
|
90
95
|
* URL du lien (pour banner-landscape et banner-portrait)
|
|
91
96
|
*/
|
|
92
97
|
"href"?: string;
|
|
93
98
|
/**
|
|
94
|
-
* Texte alternatif de l'image (pour banner-landscape et banner-portrait)
|
|
99
|
+
* Texte alternatif de l'image (pour callout, banner-landscape et banner-portrait)
|
|
95
100
|
*/
|
|
96
101
|
"imageAlt"?: string;
|
|
97
102
|
/**
|
|
98
|
-
* URL de l'image (pour banner-landscape et banner-portrait)
|
|
103
|
+
* URL de l'image (pour callout, banner-landscape et banner-portrait)
|
|
99
104
|
*/
|
|
100
105
|
"imageSrc"?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Ratio d'aspect de l'image pour tous les breakpoints - callout uniquement (ex: "16/9", "4/3", "1/1")
|
|
108
|
+
*/
|
|
109
|
+
"ratio"?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Ratio d'aspect de l'image en vue desktop - callout uniquement
|
|
112
|
+
*/
|
|
113
|
+
"ratioDesktop"?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Ratio d'aspect de l'image en vue mobile - callout uniquement
|
|
116
|
+
*/
|
|
117
|
+
"ratioMobile"?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Ratio d'aspect de l'image en vue tablette - callout uniquement
|
|
120
|
+
*/
|
|
121
|
+
"ratioTablet"?: string;
|
|
101
122
|
/**
|
|
102
123
|
* Target du lien (pour banner-landscape et banner-portrait)
|
|
103
124
|
* @default '_self'
|
|
@@ -107,7 +128,7 @@ export namespace Components {
|
|
|
107
128
|
* Variante du bloc de contenu
|
|
108
129
|
* @default 'blockquote'
|
|
109
130
|
*/
|
|
110
|
-
"variant": 'blockquote' | 'banner-landscape' | 'banner-portrait';
|
|
131
|
+
"variant": 'blockquote' | 'banner-landscape' | 'banner-portrait' | 'callout';
|
|
111
132
|
}
|
|
112
133
|
interface SpwBreadcrumb {
|
|
113
134
|
/**
|
|
@@ -428,6 +449,10 @@ export namespace Components {
|
|
|
428
449
|
* @default false
|
|
429
450
|
*/
|
|
430
451
|
"fixedDropdown"?: boolean;
|
|
452
|
+
/**
|
|
453
|
+
* Tag name du composant parent contenant le scroll (ex: 'spw-modal'). Le composant remontera les parents pour trouver ce composant et écouter son scroll interne.
|
|
454
|
+
*/
|
|
455
|
+
"fixedDropdownParent"?: string;
|
|
431
456
|
/**
|
|
432
457
|
* Récupère la valeur actuelle du champ de sélection
|
|
433
458
|
*/
|
|
@@ -598,6 +623,15 @@ export namespace Components {
|
|
|
598
623
|
* @default ''
|
|
599
624
|
*/
|
|
600
625
|
"error"?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Utilise un positionnement fixed pour le calendrier si nécessité de sortir du contexte (utile dans une modal avec overflow hidden)
|
|
628
|
+
* @default false
|
|
629
|
+
*/
|
|
630
|
+
"fixedCalendar"?: boolean;
|
|
631
|
+
/**
|
|
632
|
+
* Tag name du composant parent contenant le scroll (ex: 'spw-modal'). Le composant remontera les parents pour trouver ce composant et écouter son scroll interne.
|
|
633
|
+
*/
|
|
634
|
+
"fixedCalendarParent"?: string;
|
|
601
635
|
/**
|
|
602
636
|
* Méthode pour récupérer la date
|
|
603
637
|
*/
|
|
@@ -886,6 +920,86 @@ export namespace Components {
|
|
|
886
920
|
* Réinitialise le champ de téléchargement de fichiers
|
|
887
921
|
*/
|
|
888
922
|
"resetInput": () => Promise<void>;
|
|
923
|
+
/**
|
|
924
|
+
* Texte pour les formats autorisés (utiliser {formats} comme placeholder)
|
|
925
|
+
* @default 'Formats autorisés : {formats}.'
|
|
926
|
+
*/
|
|
927
|
+
"textAcceptedFormats": string;
|
|
928
|
+
/**
|
|
929
|
+
* Texte quand tous les formats sont autorisés
|
|
930
|
+
* @default 'Formats autorisés : tous les formats.'
|
|
931
|
+
*/
|
|
932
|
+
"textAllFormats": string;
|
|
933
|
+
/**
|
|
934
|
+
* Texte du bouton pour sélectionner un fichier (mode simple)
|
|
935
|
+
* @default 'Choisir votre fichier...'
|
|
936
|
+
*/
|
|
937
|
+
"textChooseFile": string;
|
|
938
|
+
/**
|
|
939
|
+
* Texte du bouton pour sélectionner plusieurs fichiers (mode multiple)
|
|
940
|
+
* @default 'Choisir vos fichiers...'
|
|
941
|
+
*/
|
|
942
|
+
"textChooseFiles": string;
|
|
943
|
+
/**
|
|
944
|
+
* Texte du lien pour choisir depuis l'ordinateur
|
|
945
|
+
* @default 'choisissez sur votre ordinateur...'
|
|
946
|
+
*/
|
|
947
|
+
"textChooseFromComputer": string;
|
|
948
|
+
/**
|
|
949
|
+
* Texte du lien de suppression
|
|
950
|
+
* @default 'Supprimer'
|
|
951
|
+
*/
|
|
952
|
+
"textDelete": string;
|
|
953
|
+
/**
|
|
954
|
+
* Texte de la zone de dépôt pour un fichier
|
|
955
|
+
* @default 'Déposez votre fichier ici ou'
|
|
956
|
+
*/
|
|
957
|
+
"textDropFile": string;
|
|
958
|
+
/**
|
|
959
|
+
* Texte de la zone de dépôt pour plusieurs fichiers
|
|
960
|
+
* @default 'Déposez vos fichiers ici ou'
|
|
961
|
+
*/
|
|
962
|
+
"textDropFiles": string;
|
|
963
|
+
/**
|
|
964
|
+
* Message d'erreur quand le format n'est pas autorisé (utiliser {filename} comme placeholder)
|
|
965
|
+
* @default "{filename} n'a pas été pris en compte car le format n'est pas autorisé."
|
|
966
|
+
*/
|
|
967
|
+
"textErrorFormat": string;
|
|
968
|
+
/**
|
|
969
|
+
* Message d'erreur quand le format et la taille sont invalides (utiliser {filename} comme placeholder)
|
|
970
|
+
* @default "{filename} n'a pas été pris en compte car le format n'est pas autorisé et la limite de poids est dépassée."
|
|
971
|
+
*/
|
|
972
|
+
"textErrorFormatAndSize": string;
|
|
973
|
+
/**
|
|
974
|
+
* Message d'erreur quand la taille est dépassée (utiliser {filename} comme placeholder)
|
|
975
|
+
* @default "{filename} n'a pas été pris en compte car il dépasse la taille maximale autorisée."
|
|
976
|
+
*/
|
|
977
|
+
"textErrorSize": string;
|
|
978
|
+
/**
|
|
979
|
+
* Message quand on dépasse la limite de fichiers (utiliser {count} comme placeholder)
|
|
980
|
+
* @default 'Vous ne pouvez pas télécharger plus de {count} fichier(s).'
|
|
981
|
+
*/
|
|
982
|
+
"textLimitExceeded": string;
|
|
983
|
+
/**
|
|
984
|
+
* Message quand la limite de fichiers est atteinte
|
|
985
|
+
* @default 'Vous avez atteint la limite autorisée de fichiers.'
|
|
986
|
+
*/
|
|
987
|
+
"textLimitReached": string;
|
|
988
|
+
/**
|
|
989
|
+
* Texte pour la taille maximale par fichier (utiliser {size} et {unit} comme placeholders)
|
|
990
|
+
* @default 'Taille maximale par fichier : {size} {unit}'
|
|
991
|
+
*/
|
|
992
|
+
"textMaxFileSize": string;
|
|
993
|
+
/**
|
|
994
|
+
* Texte pour le nombre maximum de fichiers (utiliser {count} comme placeholder)
|
|
995
|
+
* @default '{count} fichier(s) maximum'
|
|
996
|
+
*/
|
|
997
|
+
"textMaxFiles": string;
|
|
998
|
+
/**
|
|
999
|
+
* Texte pour les formats refusés (utiliser {formats} comme placeholder)
|
|
1000
|
+
* @default 'Formats refusés : {formats}.'
|
|
1001
|
+
*/
|
|
1002
|
+
"textRefusedFormats": string;
|
|
889
1003
|
/**
|
|
890
1004
|
* Valeur actuelle sélectionnée, utilisée pour les formulaires
|
|
891
1005
|
* @default []
|
|
@@ -1289,6 +1403,10 @@ export namespace Components {
|
|
|
1289
1403
|
* @default ''
|
|
1290
1404
|
*/
|
|
1291
1405
|
"imageAlt"?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* Position de l'image (object-position), ex: 'top left', 'center center', 'bottom right'
|
|
1408
|
+
*/
|
|
1409
|
+
"imagePosition"?: string;
|
|
1292
1410
|
/**
|
|
1293
1411
|
* Image du hero banner
|
|
1294
1412
|
*/
|
|
@@ -1646,7 +1764,7 @@ export namespace Components {
|
|
|
1646
1764
|
}
|
|
1647
1765
|
interface SpwModal {
|
|
1648
1766
|
/**
|
|
1649
|
-
* Icône d'alerte à afficher dans la modal
|
|
1767
|
+
* Icône d'alerte à afficher dans la modal (référence font awesome)
|
|
1650
1768
|
* @default ''
|
|
1651
1769
|
*/
|
|
1652
1770
|
"alertIcon": string;
|
|
@@ -1655,6 +1773,11 @@ export namespace Components {
|
|
|
1655
1773
|
* @default 'Titre de la modal'
|
|
1656
1774
|
*/
|
|
1657
1775
|
"caption": string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Texte du bouton de fermeture
|
|
1778
|
+
* @default 'Fermer'
|
|
1779
|
+
*/
|
|
1780
|
+
"closeButtonText": string;
|
|
1658
1781
|
/**
|
|
1659
1782
|
* Méthode publique pour fermer la modal programmatiquement
|
|
1660
1783
|
* @returns Promise qui se résout quand la modal est fermée
|
|
@@ -2548,7 +2671,11 @@ export namespace Components {
|
|
|
2548
2671
|
}
|
|
2549
2672
|
interface SpwTabsNavigationItem {
|
|
2550
2673
|
/**
|
|
2551
|
-
*
|
|
2674
|
+
* Remplit l'attribut aria-label, utilisé à des fins d'accessibilité
|
|
2675
|
+
*/
|
|
2676
|
+
"accAriaLabel"?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Définit si le tab est actif ou non (hérité du parent, pas modifiable directement)
|
|
2552
2679
|
* @default false
|
|
2553
2680
|
*/
|
|
2554
2681
|
"active": boolean;
|
|
@@ -2666,6 +2793,11 @@ export namespace Components {
|
|
|
2666
2793
|
* @default true
|
|
2667
2794
|
*/
|
|
2668
2795
|
"hasControls"?: boolean;
|
|
2796
|
+
/**
|
|
2797
|
+
* Affiche un bouton submit (loupe) qui déclenche le submit du formulaire parent
|
|
2798
|
+
* @default false
|
|
2799
|
+
*/
|
|
2800
|
+
"hasSubmitButton"?: boolean;
|
|
2669
2801
|
/**
|
|
2670
2802
|
* Message d'indication (hint) à afficher sous le champ
|
|
2671
2803
|
* @default ''
|
|
@@ -4353,18 +4485,39 @@ declare namespace LocalJSX {
|
|
|
4353
4485
|
"size"?: 'small' | 'medium' | 'large';
|
|
4354
4486
|
}
|
|
4355
4487
|
interface SpwBlockContent {
|
|
4488
|
+
/**
|
|
4489
|
+
* Couleur de fond du bloc
|
|
4490
|
+
* @default 'primary'
|
|
4491
|
+
*/
|
|
4492
|
+
"background"?: 'primary' | 'neutral';
|
|
4356
4493
|
/**
|
|
4357
4494
|
* URL du lien (pour banner-landscape et banner-portrait)
|
|
4358
4495
|
*/
|
|
4359
4496
|
"href"?: string;
|
|
4360
4497
|
/**
|
|
4361
|
-
* Texte alternatif de l'image (pour banner-landscape et banner-portrait)
|
|
4498
|
+
* Texte alternatif de l'image (pour callout, banner-landscape et banner-portrait)
|
|
4362
4499
|
*/
|
|
4363
4500
|
"imageAlt"?: string;
|
|
4364
4501
|
/**
|
|
4365
|
-
* URL de l'image (pour banner-landscape et banner-portrait)
|
|
4502
|
+
* URL de l'image (pour callout, banner-landscape et banner-portrait)
|
|
4366
4503
|
*/
|
|
4367
4504
|
"imageSrc"?: string;
|
|
4505
|
+
/**
|
|
4506
|
+
* Ratio d'aspect de l'image pour tous les breakpoints - callout uniquement (ex: "16/9", "4/3", "1/1")
|
|
4507
|
+
*/
|
|
4508
|
+
"ratio"?: string;
|
|
4509
|
+
/**
|
|
4510
|
+
* Ratio d'aspect de l'image en vue desktop - callout uniquement
|
|
4511
|
+
*/
|
|
4512
|
+
"ratioDesktop"?: string;
|
|
4513
|
+
/**
|
|
4514
|
+
* Ratio d'aspect de l'image en vue mobile - callout uniquement
|
|
4515
|
+
*/
|
|
4516
|
+
"ratioMobile"?: string;
|
|
4517
|
+
/**
|
|
4518
|
+
* Ratio d'aspect de l'image en vue tablette - callout uniquement
|
|
4519
|
+
*/
|
|
4520
|
+
"ratioTablet"?: string;
|
|
4368
4521
|
/**
|
|
4369
4522
|
* Target du lien (pour banner-landscape et banner-portrait)
|
|
4370
4523
|
* @default '_self'
|
|
@@ -4374,7 +4527,7 @@ declare namespace LocalJSX {
|
|
|
4374
4527
|
* Variante du bloc de contenu
|
|
4375
4528
|
* @default 'blockquote'
|
|
4376
4529
|
*/
|
|
4377
|
-
"variant"?: 'blockquote' | 'banner-landscape' | 'banner-portrait';
|
|
4530
|
+
"variant"?: 'blockquote' | 'banner-landscape' | 'banner-portrait' | 'callout';
|
|
4378
4531
|
}
|
|
4379
4532
|
interface SpwBreadcrumb {
|
|
4380
4533
|
/**
|
|
@@ -4711,6 +4864,10 @@ declare namespace LocalJSX {
|
|
|
4711
4864
|
* @default false
|
|
4712
4865
|
*/
|
|
4713
4866
|
"fixedDropdown"?: boolean;
|
|
4867
|
+
/**
|
|
4868
|
+
* Tag name du composant parent contenant le scroll (ex: 'spw-modal'). Le composant remontera les parents pour trouver ce composant et écouter son scroll interne.
|
|
4869
|
+
*/
|
|
4870
|
+
"fixedDropdownParent"?: string;
|
|
4714
4871
|
/**
|
|
4715
4872
|
* The `id` of a `<form>` element to associate this element with.
|
|
4716
4873
|
*/
|
|
@@ -4869,6 +5026,15 @@ declare namespace LocalJSX {
|
|
|
4869
5026
|
* @default ''
|
|
4870
5027
|
*/
|
|
4871
5028
|
"error"?: string;
|
|
5029
|
+
/**
|
|
5030
|
+
* Utilise un positionnement fixed pour le calendrier si nécessité de sortir du contexte (utile dans une modal avec overflow hidden)
|
|
5031
|
+
* @default false
|
|
5032
|
+
*/
|
|
5033
|
+
"fixedCalendar"?: boolean;
|
|
5034
|
+
/**
|
|
5035
|
+
* Tag name du composant parent contenant le scroll (ex: 'spw-modal'). Le composant remontera les parents pour trouver ce composant et écouter son scroll interne.
|
|
5036
|
+
*/
|
|
5037
|
+
"fixedCalendarParent"?: string;
|
|
4872
5038
|
/**
|
|
4873
5039
|
* The `id` of a `<form>` element to associate this element with.
|
|
4874
5040
|
*/
|
|
@@ -5156,6 +5322,86 @@ declare namespace LocalJSX {
|
|
|
5156
5322
|
* @default ''
|
|
5157
5323
|
*/
|
|
5158
5324
|
"refuse"?: string;
|
|
5325
|
+
/**
|
|
5326
|
+
* Texte pour les formats autorisés (utiliser {formats} comme placeholder)
|
|
5327
|
+
* @default 'Formats autorisés : {formats}.'
|
|
5328
|
+
*/
|
|
5329
|
+
"textAcceptedFormats"?: string;
|
|
5330
|
+
/**
|
|
5331
|
+
* Texte quand tous les formats sont autorisés
|
|
5332
|
+
* @default 'Formats autorisés : tous les formats.'
|
|
5333
|
+
*/
|
|
5334
|
+
"textAllFormats"?: string;
|
|
5335
|
+
/**
|
|
5336
|
+
* Texte du bouton pour sélectionner un fichier (mode simple)
|
|
5337
|
+
* @default 'Choisir votre fichier...'
|
|
5338
|
+
*/
|
|
5339
|
+
"textChooseFile"?: string;
|
|
5340
|
+
/**
|
|
5341
|
+
* Texte du bouton pour sélectionner plusieurs fichiers (mode multiple)
|
|
5342
|
+
* @default 'Choisir vos fichiers...'
|
|
5343
|
+
*/
|
|
5344
|
+
"textChooseFiles"?: string;
|
|
5345
|
+
/**
|
|
5346
|
+
* Texte du lien pour choisir depuis l'ordinateur
|
|
5347
|
+
* @default 'choisissez sur votre ordinateur...'
|
|
5348
|
+
*/
|
|
5349
|
+
"textChooseFromComputer"?: string;
|
|
5350
|
+
/**
|
|
5351
|
+
* Texte du lien de suppression
|
|
5352
|
+
* @default 'Supprimer'
|
|
5353
|
+
*/
|
|
5354
|
+
"textDelete"?: string;
|
|
5355
|
+
/**
|
|
5356
|
+
* Texte de la zone de dépôt pour un fichier
|
|
5357
|
+
* @default 'Déposez votre fichier ici ou'
|
|
5358
|
+
*/
|
|
5359
|
+
"textDropFile"?: string;
|
|
5360
|
+
/**
|
|
5361
|
+
* Texte de la zone de dépôt pour plusieurs fichiers
|
|
5362
|
+
* @default 'Déposez vos fichiers ici ou'
|
|
5363
|
+
*/
|
|
5364
|
+
"textDropFiles"?: string;
|
|
5365
|
+
/**
|
|
5366
|
+
* Message d'erreur quand le format n'est pas autorisé (utiliser {filename} comme placeholder)
|
|
5367
|
+
* @default "{filename} n'a pas été pris en compte car le format n'est pas autorisé."
|
|
5368
|
+
*/
|
|
5369
|
+
"textErrorFormat"?: string;
|
|
5370
|
+
/**
|
|
5371
|
+
* Message d'erreur quand le format et la taille sont invalides (utiliser {filename} comme placeholder)
|
|
5372
|
+
* @default "{filename} n'a pas été pris en compte car le format n'est pas autorisé et la limite de poids est dépassée."
|
|
5373
|
+
*/
|
|
5374
|
+
"textErrorFormatAndSize"?: string;
|
|
5375
|
+
/**
|
|
5376
|
+
* Message d'erreur quand la taille est dépassée (utiliser {filename} comme placeholder)
|
|
5377
|
+
* @default "{filename} n'a pas été pris en compte car il dépasse la taille maximale autorisée."
|
|
5378
|
+
*/
|
|
5379
|
+
"textErrorSize"?: string;
|
|
5380
|
+
/**
|
|
5381
|
+
* Message quand on dépasse la limite de fichiers (utiliser {count} comme placeholder)
|
|
5382
|
+
* @default 'Vous ne pouvez pas télécharger plus de {count} fichier(s).'
|
|
5383
|
+
*/
|
|
5384
|
+
"textLimitExceeded"?: string;
|
|
5385
|
+
/**
|
|
5386
|
+
* Message quand la limite de fichiers est atteinte
|
|
5387
|
+
* @default 'Vous avez atteint la limite autorisée de fichiers.'
|
|
5388
|
+
*/
|
|
5389
|
+
"textLimitReached"?: string;
|
|
5390
|
+
/**
|
|
5391
|
+
* Texte pour la taille maximale par fichier (utiliser {size} et {unit} comme placeholders)
|
|
5392
|
+
* @default 'Taille maximale par fichier : {size} {unit}'
|
|
5393
|
+
*/
|
|
5394
|
+
"textMaxFileSize"?: string;
|
|
5395
|
+
/**
|
|
5396
|
+
* Texte pour le nombre maximum de fichiers (utiliser {count} comme placeholder)
|
|
5397
|
+
* @default '{count} fichier(s) maximum'
|
|
5398
|
+
*/
|
|
5399
|
+
"textMaxFiles"?: string;
|
|
5400
|
+
/**
|
|
5401
|
+
* Texte pour les formats refusés (utiliser {formats} comme placeholder)
|
|
5402
|
+
* @default 'Formats refusés : {formats}.'
|
|
5403
|
+
*/
|
|
5404
|
+
"textRefusedFormats"?: string;
|
|
5159
5405
|
/**
|
|
5160
5406
|
* Valeur actuelle sélectionnée, utilisée pour les formulaires
|
|
5161
5407
|
* @default []
|
|
@@ -5564,6 +5810,10 @@ declare namespace LocalJSX {
|
|
|
5564
5810
|
* @default ''
|
|
5565
5811
|
*/
|
|
5566
5812
|
"imageAlt"?: string;
|
|
5813
|
+
/**
|
|
5814
|
+
* Position de l'image (object-position), ex: 'top left', 'center center', 'bottom right'
|
|
5815
|
+
*/
|
|
5816
|
+
"imagePosition"?: string;
|
|
5567
5817
|
/**
|
|
5568
5818
|
* Image du hero banner
|
|
5569
5819
|
*/
|
|
@@ -5921,7 +6171,7 @@ declare namespace LocalJSX {
|
|
|
5921
6171
|
}
|
|
5922
6172
|
interface SpwModal {
|
|
5923
6173
|
/**
|
|
5924
|
-
* Icône d'alerte à afficher dans la modal
|
|
6174
|
+
* Icône d'alerte à afficher dans la modal (référence font awesome)
|
|
5925
6175
|
* @default ''
|
|
5926
6176
|
*/
|
|
5927
6177
|
"alertIcon"?: string;
|
|
@@ -5930,6 +6180,11 @@ declare namespace LocalJSX {
|
|
|
5930
6180
|
* @default 'Titre de la modal'
|
|
5931
6181
|
*/
|
|
5932
6182
|
"caption"?: string;
|
|
6183
|
+
/**
|
|
6184
|
+
* Texte du bouton de fermeture
|
|
6185
|
+
* @default 'Fermer'
|
|
6186
|
+
*/
|
|
6187
|
+
"closeButtonText"?: string;
|
|
5933
6188
|
/**
|
|
5934
6189
|
* Indique si la fermeture de la modal est possible en cliquant sur l'overlay
|
|
5935
6190
|
* @default true
|
|
@@ -6805,7 +7060,11 @@ declare namespace LocalJSX {
|
|
|
6805
7060
|
}
|
|
6806
7061
|
interface SpwTabsNavigationItem {
|
|
6807
7062
|
/**
|
|
6808
|
-
*
|
|
7063
|
+
* Remplit l'attribut aria-label, utilisé à des fins d'accessibilité
|
|
7064
|
+
*/
|
|
7065
|
+
"accAriaLabel"?: string;
|
|
7066
|
+
/**
|
|
7067
|
+
* Définit si le tab est actif ou non (hérité du parent, pas modifiable directement)
|
|
6809
7068
|
* @default false
|
|
6810
7069
|
*/
|
|
6811
7070
|
"active"?: boolean;
|
|
@@ -6928,6 +7187,11 @@ declare namespace LocalJSX {
|
|
|
6928
7187
|
* @default true
|
|
6929
7188
|
*/
|
|
6930
7189
|
"hasControls"?: boolean;
|
|
7190
|
+
/**
|
|
7191
|
+
* Affiche un bouton submit (loupe) qui déclenche le submit du formulaire parent
|
|
7192
|
+
* @default false
|
|
7193
|
+
*/
|
|
7194
|
+
"hasSubmitButton"?: boolean;
|
|
6931
7195
|
/**
|
|
6932
7196
|
* Message d'indication (hint) à afficher sous le champ
|
|
6933
7197
|
* @default ''
|
|
@@ -7441,11 +7705,16 @@ declare namespace LocalJSX {
|
|
|
7441
7705
|
"accAriaLabel": string;
|
|
7442
7706
|
}
|
|
7443
7707
|
interface SpwBlockContentAttributes {
|
|
7444
|
-
"variant": 'blockquote' | 'banner-landscape' | 'banner-portrait';
|
|
7708
|
+
"variant": 'blockquote' | 'banner-landscape' | 'banner-portrait' | 'callout';
|
|
7445
7709
|
"imageSrc": string;
|
|
7446
7710
|
"imageAlt": string;
|
|
7447
7711
|
"href": string;
|
|
7448
7712
|
"target": string;
|
|
7713
|
+
"background": 'primary' | 'neutral';
|
|
7714
|
+
"ratio": string;
|
|
7715
|
+
"ratioMobile": string;
|
|
7716
|
+
"ratioTablet": string;
|
|
7717
|
+
"ratioDesktop": string;
|
|
7449
7718
|
}
|
|
7450
7719
|
interface SpwBreadcrumbAttributes {
|
|
7451
7720
|
"variant": 'multiline' | 'one-line' | 'default';
|
|
@@ -7556,6 +7825,7 @@ declare namespace LocalJSX {
|
|
|
7556
7825
|
"tooltipDirection": 'top' | 'bottom' | 'left' | 'right';
|
|
7557
7826
|
"tooltipCursor": 'pointer' | 'default' | 'help' | 'disabled';
|
|
7558
7827
|
"fixedDropdown": boolean;
|
|
7828
|
+
"fixedDropdownParent": string;
|
|
7559
7829
|
"isClear": boolean;
|
|
7560
7830
|
"direction": 'top' | 'bottom' | 'auto';
|
|
7561
7831
|
}
|
|
@@ -7591,6 +7861,8 @@ declare namespace LocalJSX {
|
|
|
7591
7861
|
"range": boolean;
|
|
7592
7862
|
"rangeId": string;
|
|
7593
7863
|
"isStart": boolean;
|
|
7864
|
+
"fixedCalendar": boolean;
|
|
7865
|
+
"fixedCalendarParent": string;
|
|
7594
7866
|
}
|
|
7595
7867
|
interface SpwDropdownAttributes {
|
|
7596
7868
|
"direction": 'top' | 'bottom' | 'left' | 'right';
|
|
@@ -7629,6 +7901,22 @@ declare namespace LocalJSX {
|
|
|
7629
7901
|
"maxFileSize": number;
|
|
7630
7902
|
"maxFileSizeUnit": 'mo' | 'go';
|
|
7631
7903
|
"maxFiles": number;
|
|
7904
|
+
"textChooseFile": string;
|
|
7905
|
+
"textChooseFiles": string;
|
|
7906
|
+
"textDropFile": string;
|
|
7907
|
+
"textDropFiles": string;
|
|
7908
|
+
"textChooseFromComputer": string;
|
|
7909
|
+
"textDelete": string;
|
|
7910
|
+
"textMaxFileSize": string;
|
|
7911
|
+
"textMaxFiles": string;
|
|
7912
|
+
"textAcceptedFormats": string;
|
|
7913
|
+
"textRefusedFormats": string;
|
|
7914
|
+
"textAllFormats": string;
|
|
7915
|
+
"textErrorFormat": string;
|
|
7916
|
+
"textErrorSize": string;
|
|
7917
|
+
"textErrorFormatAndSize": string;
|
|
7918
|
+
"textLimitReached": string;
|
|
7919
|
+
"textLimitExceeded": string;
|
|
7632
7920
|
}
|
|
7633
7921
|
interface SpwFooterAttributes {
|
|
7634
7922
|
"colsMobile": number;
|
|
@@ -7742,6 +8030,7 @@ declare namespace LocalJSX {
|
|
|
7742
8030
|
"copyrightIconVariant": 'fa-solid' | 'fa-brands' | 'fa-regular' | 'fa-light';
|
|
7743
8031
|
"copyrightHref": string;
|
|
7744
8032
|
"copyrightTarget": string;
|
|
8033
|
+
"imagePosition": string;
|
|
7745
8034
|
}
|
|
7746
8035
|
interface SpwIconAttributes {
|
|
7747
8036
|
"icon": string;
|
|
@@ -7828,6 +8117,7 @@ declare namespace LocalJSX {
|
|
|
7828
8117
|
interface SpwModalAttributes {
|
|
7829
8118
|
"opened": boolean;
|
|
7830
8119
|
"caption": string;
|
|
8120
|
+
"closeButtonText": string;
|
|
7831
8121
|
"closeOnOverlayClick": boolean;
|
|
7832
8122
|
"stickyButtons": boolean;
|
|
7833
8123
|
"size": 'small' | 'medium' | 'large' | 'fluid';
|
|
@@ -8048,6 +8338,7 @@ declare namespace LocalJSX {
|
|
|
8048
8338
|
"tagText": string;
|
|
8049
8339
|
"tagVariant": 'grey' | 'blue' | 'green' | 'orange' | 'red' | 'purple' | 'default';
|
|
8050
8340
|
"tagIcon": boolean;
|
|
8341
|
+
"accAriaLabel": string;
|
|
8051
8342
|
}
|
|
8052
8343
|
interface SpwTagAttributes {
|
|
8053
8344
|
"variant": 'grey' | 'blue' | 'green' | 'orange' | 'red' | 'purple' | 'default';
|
|
@@ -8089,6 +8380,7 @@ declare namespace LocalJSX {
|
|
|
8089
8380
|
"accAriaLabelIncrement": string;
|
|
8090
8381
|
"accAriaLabelDecrement": string;
|
|
8091
8382
|
"hasControls": boolean;
|
|
8383
|
+
"hasSubmitButton": boolean;
|
|
8092
8384
|
"mask": string;
|
|
8093
8385
|
"tooltipTitle": string;
|
|
8094
8386
|
"tooltipText": string;
|
|
@@ -2,6 +2,7 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
declare const meta: Meta;
|
|
3
3
|
export default meta;
|
|
4
4
|
export declare const Blockquote: any;
|
|
5
|
+
export declare const BlockquoteNeutral: any;
|
|
5
6
|
export declare const BannerLandscape: any;
|
|
6
7
|
export declare const BannerLandscapeWithLink: any;
|
|
7
8
|
export declare const BannerPortrait: any;
|
|
@@ -3,13 +3,8 @@ export declare function toKebabCase(str: string): string;
|
|
|
3
3
|
export declare function formatDate(date: string): string;
|
|
4
4
|
export declare function stripHtmlContent(content: string): string;
|
|
5
5
|
export declare const generateComponentTable: (componentsData: any, tag: string) => string;
|
|
6
|
-
export declare const withComponentControls: (componentsData: any, { tag,
|
|
6
|
+
export declare const withComponentControls: (componentsData: any, { tag, prefixNames }: {
|
|
7
7
|
tag: string;
|
|
8
|
-
customTokens?: {
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
defaultValue: string;
|
|
12
|
-
}[];
|
|
13
8
|
prefixNames?: boolean;
|
|
14
9
|
}) => any;
|
|
15
10
|
export declare function extractArgTypes(componentsData: any, subComponentTags: string[]): any;
|