@spw-ds/spw-stencil-library 1.16.0 → 1.17.1
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 +204 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
- package/dist/cjs/spw-card.cjs.entry.js +2 -2
- package/dist/cjs/spw-custom-select.cjs.entry.js +22 -26
- package/dist/cjs/spw-date-picker.cjs.entry.js +17 -1
- package/dist/cjs/spw-drawer.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-field-label_8.cjs.entry.js +22 -14
- package/dist/cjs/spw-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/spw-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-grid.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
- package/dist/cjs/spw-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-hero.cjs.entry.js +3 -3
- package/dist/cjs/spw-input-slider.cjs.entry.js +17 -21
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-lightbox.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-list.cjs.entry.js +1 -1
- package/dist/cjs/spw-message.cjs.entry.js +10 -2
- package/dist/cjs/spw-modal.cjs.entry.js +3 -3
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-mosaic.cjs.entry.js +8 -2
- package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
- package/dist/cjs/spw-radio.cjs.entry.js +1 -1
- package/dist/cjs/spw-scrolltop.cjs.entry.js +1 -1
- package/dist/cjs/spw-search-field.cjs.entry.js +80 -10
- package/dist/cjs/spw-select.cjs.entry.js +16 -20
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +18 -4
- package/dist/cjs/spw-sidenav.cjs.entry.js +111 -2
- package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-slider.cjs.entry.js +1 -1
- package/dist/cjs/spw-socials.cjs.entry.js +1 -1
- package/dist/cjs/spw-stencil-library.cjs.js +1 -1
- package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-container.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-header.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
- package/dist/cjs/spw-tag.cjs.entry.js +1 -1
- package/dist/cjs/spw-text-field.cjs.entry.js +17 -20
- package/dist/cjs/spw-textarea.cjs.entry.js +16 -20
- 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 +17 -4
- package/dist/cjs/spw-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +20 -0
- package/dist/cjs/spw-toc.cjs.entry.js +1 -1
- package/dist/cjs/spw-topbar.cjs.entry.js +4 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-wizard.cjs.entry.js +1 -1
- package/dist/collection/components/spw-button/spw-button.css +47 -65
- package/dist/collection/components/spw-card/spw-card.css +7 -0
- package/dist/collection/components/spw-card/spw-card.js +1 -1
- package/dist/collection/components/spw-custom-select/spw-custom-select.css +1 -1
- package/dist/collection/components/spw-custom-select/spw-custom-select.js +21 -25
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +17 -1
- package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
- package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
- package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
- package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
- package/dist/collection/components/spw-field-message/spw-field-message.css +2 -14
- package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
- package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
- package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
- package/dist/collection/components/spw-footer/spw-footer.js +1 -1
- package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
- package/dist/collection/components/spw-grid/spw-grid.js +2 -2
- package/dist/collection/components/spw-group/spw-group.js +15 -7
- package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
- package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
- package/dist/collection/components/spw-header/spw-header.css +13 -6
- package/dist/collection/components/spw-header/spw-header.js +2 -2
- package/dist/collection/components/spw-hero/spw-hero.js +22 -3
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +17 -21
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox.js +2 -2
- package/dist/collection/components/spw-link/spw-link.js +1 -1
- package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
- package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
- package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
- package/dist/collection/components/spw-list/spw-list.js +1 -1
- package/dist/collection/components/spw-loading/spw-loading.js +1 -1
- package/dist/collection/components/spw-message/spw-message.css +59 -2
- package/dist/collection/components/spw-message/spw-message.js +11 -2
- package/dist/collection/components/spw-modal/spw-modal.js +3 -3
- package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
- package/dist/collection/components/spw-mosaic/spw-mosaic.js +8 -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.js +136 -11
- package/dist/collection/components/spw-select/spw-select.js +16 -20
- package/dist/collection/components/spw-separator/spw-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
- package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
- package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +55 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +40 -4
- package/dist/collection/components/spw-sidenav/spw-sidenav.css +33 -0
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +152 -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 +1 -1
- package/dist/collection/components/spw-socials/spw-socials.js +1 -1
- package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
- package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
- package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
- package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
- package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
- package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
- package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
- package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
- package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
- package/dist/collection/components/spw-tag/spw-tag.js +1 -1
- package/dist/collection/components/spw-text-field/spw-text-field.js +17 -20
- package/dist/collection/components/spw-textarea/spw-textarea.js +16 -20
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +3 -0
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +14 -2
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.css +23 -1
- package/dist/collection/components/spw-tile/spw-tile.js +57 -4
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +4 -4
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.js +40 -0
- 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.css +61 -2
- package/dist/collection/components/spw-topbar/spw-topbar.js +23 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +2 -0
- package/dist/collection/stories/components/spw-block-content/spw-block-content.stories.js +3 -1
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +3 -1
- package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +39 -1
- package/dist/collection/stories/components/spw-button/spw-button.stories.js +38 -1
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +3 -1
- package/dist/collection/stories/components/spw-custom-select/spw-custom-select.stories.js +46 -1
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +3 -1
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +46 -1
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +3 -1
- package/dist/collection/stories/components/spw-file-upload/spw-file-upload.stories.js +40 -1
- package/dist/collection/stories/components/spw-icon/spw-icon.stories.js +2 -0
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +2 -0
- package/dist/collection/stories/components/spw-link/spw-link.stories.js +3 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +3 -1
- package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +3 -1
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +3 -1
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +2 -0
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +47 -2
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +46 -1
- package/dist/collection/stories/components/spw-separator/spw-separator.stories.js +3 -1
- package/dist/collection/stories/components/spw-skeleton/spw-skeleton.stories.js +3 -1
- package/dist/collection/stories/components/spw-tag/spw-tag.stories.js +3 -1
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +3 -1
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +3 -1
- package/dist/collection/stories/components/spw-toast/spw-toast.stories.js +3 -1
- package/dist/collection/stories/components/spw-tooltip/spw-tooltip.stories.js +3 -1
- package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-drawer/spw-drawer.stories.js +2 -0
- package/dist/collection/stories/organisms/spw-footer/spw-footer.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-grid/spw-grid.stories.js +38 -0
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +3 -1
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +2 -0
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +3 -1
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +78 -1
- package/dist/collection/stories/organisms/spw-modal/spw-modal.stories.js +33 -1
- package/dist/collection/stories/organisms/spw-mosaic/spw-mosaic.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-sidebar/spw-sidebar.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +215 -0
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +73 -1
- package/dist/collection/stories/organisms/spw-table/spw-table.stories.js +3 -1
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +39 -1
- package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +222 -1
- package/dist/collection/stories/organisms/spw-timeline/spw-timeline.stories.js +2 -0
- package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +38 -0
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +50 -1
- package/dist/collection/stories/organisms/spw-wizard/spw-wizard.stories.js +123 -1
- package/dist/components/p-BBsDk5QJ.js +1 -0
- package/dist/components/{p-CnzSr9Im.js → p-BrCHGcGN.js} +1 -1
- package/dist/components/{p-DlhwYK4n.js → p-CLldNY-_.js} +1 -1
- package/dist/components/{p-aWQ1v8BH.js → p-CdTWu15K.js} +1 -1
- package/dist/components/{p-C82UsmH4.js → p-DZoh_5b5.js} +1 -1
- package/dist/components/{p-DAfHVLjA.js → p-Fqknc29G.js} +1 -1
- package/dist/components/p-R4SpR2mV.js +1 -0
- package/dist/components/{p-DXd3uPkn.js → p-nC0sTTf4.js} +1 -1
- package/dist/components/{p-BY3XOPGU.js → p-xTIxnTQQ.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-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-drawer.js +1 -1
- package/dist/components/spw-dropdown-container.js +1 -1
- package/dist/components/spw-dropdown-item.js +1 -1
- package/dist/components/spw-dropdown.js +1 -1
- package/dist/components/spw-field-label.js +1 -1
- package/dist/components/spw-field-message.js +1 -1
- package/dist/components/spw-file-upload.js +1 -1
- package/dist/components/spw-footer-bottom.js +1 -1
- package/dist/components/spw-footer-content-col.js +1 -1
- package/dist/components/spw-footer-content.js +1 -1
- package/dist/components/spw-footer-link.js +1 -1
- package/dist/components/spw-footer.js +1 -1
- package/dist/components/spw-grid-item.js +1 -1
- package/dist/components/spw-grid.js +1 -1
- package/dist/components/spw-group.js +1 -1
- package/dist/components/spw-header-lang.js +1 -1
- package/dist/components/spw-header-navigation-dropdown.js +1 -1
- package/dist/components/spw-header-navigation-item.js +1 -1
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-header-persona-item.js +1 -1
- package/dist/components/spw-header-persona.js +1 -1
- package/dist/components/spw-header.js +1 -1
- package/dist/components/spw-hero.js +1 -1
- package/dist/components/spw-input-slider.js +1 -1
- package/dist/components/spw-lightbox-item.js +1 -1
- package/dist/components/spw-lightbox.js +1 -1
- package/dist/components/spw-link.js +1 -1
- package/dist/components/spw-list-description.js +1 -1
- package/dist/components/spw-list-item.js +1 -1
- package/dist/components/spw-list-title.js +1 -1
- package/dist/components/spw-list.js +1 -1
- package/dist/components/spw-loading.js +1 -1
- package/dist/components/spw-message.js +1 -1
- package/dist/components/spw-modal.js +1 -1
- package/dist/components/spw-mosaic-item.js +1 -1
- package/dist/components/spw-mosaic.js +3 -3
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-sidenav-group.js +1 -1
- package/dist/components/spw-sidenav-item.js +1 -1
- package/dist/components/spw-sidenav.js +1 -1
- package/dist/components/spw-skeleton.js +1 -1
- package/dist/components/spw-slider-item.js +1 -1
- package/dist/components/spw-slider.js +1 -1
- package/dist/components/spw-socials.js +1 -1
- package/dist/components/spw-table-body.js +1 -1
- package/dist/components/spw-table-cell.js +1 -1
- package/dist/components/spw-table-container.js +1 -1
- package/dist/components/spw-table-footer.js +1 -1
- package/dist/components/spw-table-head.js +1 -1
- package/dist/components/spw-table-header.js +1 -1
- package/dist/components/spw-table-row.js +1 -1
- package/dist/components/spw-table-sidebar.js +1 -1
- package/dist/components/spw-tabs-navigation-item.js +1 -1
- package/dist/components/spw-tabs-navigation.js +1 -1
- package/dist/components/spw-tabs.js +1 -1
- package/dist/components/spw-tag.js +1 -1
- package/dist/components/spw-text-field.js +1 -1
- package/dist/components/spw-textarea.js +1 -1
- package/dist/components/spw-theme-provider.js +1 -1
- package/dist/components/spw-tile-description.js +1 -1
- package/dist/components/spw-tile-title.js +1 -1
- package/dist/components/spw-tile.js +1 -1
- package/dist/components/spw-timeline-item.js +1 -1
- package/dist/components/spw-timeline.js +1 -1
- package/dist/components/spw-toc-container.js +1 -1
- package/dist/components/spw-toc-navigation.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 +323 -15
- package/dist/components_vscode.json +57 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/spw-button_2.entry.js +2 -2
- package/dist/esm/spw-card.entry.js +2 -2
- package/dist/esm/spw-custom-select.entry.js +22 -26
- package/dist/esm/spw-date-picker.entry.js +17 -1
- package/dist/esm/spw-drawer.entry.js +3 -3
- package/dist/esm/spw-dropdown-container.entry.js +1 -1
- package/dist/esm/spw-dropdown-item.entry.js +1 -1
- package/dist/esm/spw-dropdown.entry.js +1 -1
- package/dist/esm/spw-field-label_8.entry.js +22 -14
- package/dist/esm/spw-file-upload.entry.js +2 -2
- package/dist/esm/spw-footer-bottom.entry.js +1 -1
- package/dist/esm/spw-footer-content-col.entry.js +1 -1
- package/dist/esm/spw-footer-content.entry.js +1 -1
- package/dist/esm/spw-footer-link.entry.js +1 -1
- package/dist/esm/spw-footer.entry.js +1 -1
- package/dist/esm/spw-grid-item.entry.js +2 -2
- package/dist/esm/spw-grid.entry.js +2 -2
- package/dist/esm/spw-header-lang.entry.js +1 -1
- package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-header-navigation-item.entry.js +1 -1
- package/dist/esm/spw-header-navigation.entry.js +1 -1
- package/dist/esm/spw-header-persona-item.entry.js +1 -1
- package/dist/esm/spw-header-persona.entry.js +1 -1
- package/dist/esm/spw-header.entry.js +3 -3
- package/dist/esm/spw-hero.entry.js +3 -3
- package/dist/esm/spw-input-slider.entry.js +17 -21
- package/dist/esm/spw-lightbox-item.entry.js +1 -1
- package/dist/esm/spw-lightbox.entry.js +2 -2
- package/dist/esm/spw-list-description.entry.js +1 -1
- package/dist/esm/spw-list-item.entry.js +1 -1
- package/dist/esm/spw-list-title.entry.js +1 -1
- package/dist/esm/spw-list.entry.js +1 -1
- package/dist/esm/spw-message.entry.js +10 -2
- package/dist/esm/spw-modal.entry.js +3 -3
- package/dist/esm/spw-mosaic-item.entry.js +1 -1
- package/dist/esm/spw-mosaic.entry.js +8 -2
- package/dist/esm/spw-pagination.entry.js +6 -6
- package/dist/esm/spw-radio.entry.js +1 -1
- package/dist/esm/spw-scrolltop.entry.js +1 -1
- package/dist/esm/spw-search-field.entry.js +80 -10
- package/dist/esm/spw-select.entry.js +16 -20
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
- package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
- package/dist/esm/spw-sidebar.entry.js +1 -1
- package/dist/esm/spw-sidenav-group.entry.js +2 -2
- package/dist/esm/spw-sidenav-item.entry.js +18 -4
- package/dist/esm/spw-sidenav.entry.js +111 -2
- package/dist/esm/spw-skeleton.entry.js +1 -1
- package/dist/esm/spw-slider-item.entry.js +1 -1
- package/dist/esm/spw-slider.entry.js +1 -1
- package/dist/esm/spw-socials.entry.js +1 -1
- package/dist/esm/spw-stencil-library.js +1 -1
- package/dist/esm/spw-table-body.entry.js +1 -1
- package/dist/esm/spw-table-cell.entry.js +1 -1
- package/dist/esm/spw-table-container.entry.js +1 -1
- package/dist/esm/spw-table-footer.entry.js +1 -1
- package/dist/esm/spw-table-head.entry.js +1 -1
- package/dist/esm/spw-table-header.entry.js +2 -2
- package/dist/esm/spw-table-row.entry.js +1 -1
- package/dist/esm/spw-table-sidebar.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation.entry.js +1 -1
- package/dist/esm/spw-tabs.entry.js +1 -1
- package/dist/esm/spw-tag.entry.js +1 -1
- package/dist/esm/spw-text-field.entry.js +17 -20
- package/dist/esm/spw-textarea.entry.js +16 -20
- 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 +17 -4
- package/dist/esm/spw-timeline-item.entry.js +2 -2
- package/dist/esm/spw-timeline.entry.js +2 -2
- package/dist/esm/spw-toc-container.entry.js +2 -2
- package/dist/esm/spw-toc-navigation.entry.js +20 -0
- package/dist/esm/spw-toc.entry.js +1 -1
- package/dist/esm/spw-topbar.entry.js +4 -2
- package/dist/esm/spw-wizard-item.entry.js +1 -1
- package/dist/esm/spw-wizard.entry.js +1 -1
- package/dist/spw-stencil-library/p-005e895a.entry.js +1 -0
- package/dist/spw-stencil-library/{p-57d57d31.entry.js → p-06356658.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8010145c.entry.js → p-08de3542.entry.js} +1 -1
- package/dist/spw-stencil-library/p-09818d2e.entry.js +1 -0
- package/dist/spw-stencil-library/{p-bcc0bc5b.entry.js → p-0cd5c984.entry.js} +1 -1
- package/dist/spw-stencil-library/p-0edf6e69.entry.js +1 -0
- package/dist/spw-stencil-library/p-1034937d.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e82e97da.entry.js → p-11f9450a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3a44068e.entry.js → p-13426e40.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e172632c.entry.js → p-1603d35d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6be62066.entry.js → p-176c735c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-082f93eb.entry.js → p-244c42e1.entry.js} +1 -1
- package/dist/spw-stencil-library/p-24ddb0e5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ae18c590.entry.js → p-2c430e60.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-afa2f53d.entry.js → p-2e7041df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-10bf5c42.entry.js → p-36484429.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ca3263fb.entry.js → p-36d80c8f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-375581fd.entry.js +1 -0
- package/dist/spw-stencil-library/{p-1e940c23.entry.js → p-44a07af3.entry.js} +1 -1
- package/dist/spw-stencil-library/p-48078447.entry.js +1 -0
- package/dist/spw-stencil-library/p-4a3e2b92.entry.js +1 -0
- package/dist/spw-stencil-library/{p-fbc26e62.entry.js → p-4c16d701.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1ba59470.entry.js → p-4c636296.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-723229e0.entry.js → p-4da69501.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1fca6b4f.entry.js → p-4e4830f6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5ca2790b.entry.js → p-529e0d0d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-426be39b.entry.js → p-568f2002.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-24cc1b85.entry.js → p-59cb1719.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1001e077.entry.js → p-5a08eb26.entry.js} +1 -1
- package/dist/spw-stencil-library/p-5a0c0b53.entry.js +1 -0
- package/dist/spw-stencil-library/{p-41568f68.entry.js → p-6500046a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-94581684.entry.js → p-66a5ccc3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e6beeeae.entry.js → p-6b0338cb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fd339689.entry.js → p-6b53d52d.entry.js} +1 -1
- package/dist/spw-stencil-library/p-6cfcab87.entry.js +1 -0
- package/dist/spw-stencil-library/{p-f0e49272.entry.js → p-6d105331.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-571107dc.entry.js → p-6e57e12a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-f8c9e28a.entry.js → p-6f244a33.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-af8ccb80.entry.js → p-758ab426.entry.js} +1 -1
- package/dist/spw-stencil-library/p-7c705c74.entry.js +1 -0
- package/dist/spw-stencil-library/{p-42dce53f.entry.js → p-7e7cd509.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3e8e6a41.entry.js → p-7e884c21.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a20d2a78.entry.js → p-7ed866cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-11ee7e7a.entry.js → p-82c5e2e2.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bd0b3958.entry.js → p-85cd97f4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-86f8bae3.entry.js +1 -0
- package/dist/spw-stencil-library/{p-4f65655d.entry.js → p-8d4885ff.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-69f36918.entry.js → p-9193e70b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fdd83154.entry.js → p-93788d96.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cb4b31a7.entry.js → p-94f78e4c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a94801a1.entry.js → p-962ec86a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-45be9fce.entry.js → p-9987b6a0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fe5f81cc.entry.js → p-9bb373cf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b868a3da.entry.js → p-9ca52f24.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e592738a.entry.js → p-9d93af2b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-0f5debdb.entry.js → p-a2f8133e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-53dfe461.entry.js → p-a418baf5.entry.js} +1 -1
- package/dist/spw-stencil-library/p-a7b1bd08.entry.js +1 -0
- package/dist/spw-stencil-library/{p-49e53cd8.entry.js → p-a86fc0a7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7996c7c8.entry.js → p-ab100252.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-79081772.entry.js → p-aeb616f6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c2d6da7e.entry.js → p-b494a271.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ec7f05ae.entry.js → p-b5ba7206.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b966fc21.entry.js +1 -0
- package/dist/spw-stencil-library/{p-ca25cbef.entry.js → p-d5157e05.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e6f4a095.entry.js → p-d6e88176.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-95f41c17.entry.js → p-d92bd82f.entry.js} +4 -4
- package/dist/spw-stencil-library/{p-fdcc3c5d.entry.js → p-ddd9acdc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7233f2b1.entry.js → p-e4f1665f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-51d1b03f.entry.js → p-e7c69e88.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4d45c143.entry.js → p-e849e965.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c06529c8.entry.js → p-ecbdf71f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d6587b45.entry.js → p-f35c966d.entry.js} +1 -1
- package/dist/spw-stencil-library/p-f38709c1.entry.js +1 -0
- package/dist/spw-stencil-library/{p-723b695b.entry.js → p-f932224f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-fade4100.entry.js +1 -0
- package/dist/spw-stencil-library/{p-915cbfd3.entry.js → p-fbc3d842.entry.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +1012 -440
- package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +1 -4
- package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +1 -0
- package/dist/types/components/spw-hero/spw-hero.d.ts +2 -0
- package/dist/types/components/spw-input-slider/spw-input-slider.d.ts +1 -4
- package/dist/types/components/spw-message/spw-message.d.ts +3 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +9 -0
- package/dist/types/components/spw-select/spw-select.d.ts +1 -4
- package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +3 -0
- package/dist/types/components/spw-sidenav/spw-sidenav.d.ts +22 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +1 -4
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +1 -4
- package/dist/types/components/spw-tile/spw-tile.d.ts +5 -1
- package/dist/types/components/spw-toc/spw-toc-container/spw-toc-container.d.ts +1 -1
- package/dist/types/components/spw-toc/spw-toc-navigation/spw-toc-navigation.d.ts +4 -0
- package/dist/types/components/spw-topbar/spw-topbar.d.ts +2 -0
- package/dist/types/components.d.ts +92 -5
- package/dist/types/stories/organisms/spw-message/spw-message.stories.d.ts +2 -1
- package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-tile/spw-tile.stories.d.ts +6 -1
- package/dist/types/stories/organisms/spw-topbar/spw-topbar.stories.d.ts +1 -0
- package/hydrate/index.js +505 -242
- package/hydrate/index.mjs +505 -242
- package/package.json +1 -1
- package/dist/components/p-B2P8l7B3.js +0 -1
- package/dist/components/p-B43Zutdz.js +0 -1
- package/dist/spw-stencil-library/p-1d319daa.entry.js +0 -1
- package/dist/spw-stencil-library/p-20ed6c87.entry.js +0 -1
- package/dist/spw-stencil-library/p-56511a1a.entry.js +0 -1
- package/dist/spw-stencil-library/p-68787bbe.entry.js +0 -1
- package/dist/spw-stencil-library/p-83e6a17b.entry.js +0 -1
- package/dist/spw-stencil-library/p-8aa81b70.entry.js +0 -1
- package/dist/spw-stencil-library/p-936fc4c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-995bf47d.entry.js +0 -1
- package/dist/spw-stencil-library/p-b08eb675.entry.js +0 -1
- package/dist/spw-stencil-library/p-bec8374e.entry.js +0 -1
- package/dist/spw-stencil-library/p-d321091b.entry.js +0 -1
- package/dist/spw-stencil-library/p-de10edb8.entry.js +0 -1
- package/dist/spw-stencil-library/p-de47fd8e.entry.js +0 -1
- package/dist/spw-stencil-library/p-e2fbc5ff.entry.js +0 -1
- package/dist/spw-stencil-library/p-f420e077.entry.js +0 -1
- package/dist/spw-stencil-library/p-f7a94fe7.entry.js +0 -1
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Pagination permet aux utilisateurs de naviguer entre différentes pages d'un contenu divisé. Il affiche les numéros de pages cliquables avec indicateur de page active.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/0281c1-pagination)
|
|
25
|
+
|
|
24
26
|
## Variantes disponibles
|
|
25
27
|
|
|
26
28
|
- **default** : Pagination avec boutons de numéros de page
|
|
@@ -43,7 +45,7 @@ Le composant Pagination permet aux utilisateurs de naviguer entre différentes p
|
|
|
43
45
|
- Navigation dans articles ou actualités
|
|
44
46
|
- Résultats de recherche étendus
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
## Composant interactif
|
|
47
49
|
`,
|
|
48
50
|
},
|
|
49
51
|
},
|
|
@@ -22,6 +22,8 @@ const meta = {
|
|
|
22
22
|
|
|
23
23
|
Le composant Radio permet aux utilisateurs de sélectionner une seule option parmi plusieurs choix mutuellement exclusifs. Contrairement aux checkboxes, un seul bouton radio peut être sélectionné à la fois dans un groupe.
|
|
24
24
|
|
|
25
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/03147d-bouton-radio)
|
|
26
|
+
|
|
25
27
|
## Fonctionnalités
|
|
26
28
|
|
|
27
29
|
- Sélection unique dans un groupe
|
|
@@ -38,7 +40,7 @@ Le composant Radio permet aux utilisateurs de sélectionner une seule option par
|
|
|
38
40
|
- Paramètres de configuration uniques
|
|
39
41
|
- Questions à choix unique dans formulaires
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
## Composant interactif
|
|
42
44
|
`,
|
|
43
45
|
},
|
|
44
46
|
},
|
|
@@ -38,6 +38,8 @@ Le composant Scroll Top affiche un bouton flottant permettant de remonter en hau
|
|
|
38
38
|
- Listes paginées ou infinies
|
|
39
39
|
- Containers scrollables (modales, panneaux latéraux)
|
|
40
40
|
- Amélioration de la navigation utilisateur
|
|
41
|
+
|
|
42
|
+
## Composant interactif
|
|
41
43
|
`,
|
|
42
44
|
},
|
|
43
45
|
},
|
|
@@ -27,6 +27,8 @@ const meta = {
|
|
|
27
27
|
|
|
28
28
|
Le composant Search Field permet aux utilisateurs d'effectuer des recherches avec autocomplétion et suggestions. Il propose des résultats en temps réel pendant la saisie et peut inclure un bouton de soumission.
|
|
29
29
|
|
|
30
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/9384eb-champ-de-recherche-search-input)
|
|
31
|
+
|
|
30
32
|
## Variantes disponibles
|
|
31
33
|
|
|
32
34
|
- **default** : Champ standard avec suggestions
|
|
@@ -54,9 +56,50 @@ Le composant Search Field permet aux utilisateurs d'effectuer des recherches ave
|
|
|
54
56
|
- Recherche de contenu ou produits
|
|
55
57
|
- Moteur de recherche interne
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
## Tracking Matomo
|
|
60
|
+
|
|
61
|
+
**internal_search** est émis lorsqu'une recherche pour un mot est soumise. Event envoyé à chaque fois que les résultats se mettent à jour.
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
65
|
+
|
|
66
|
+
\`\`\`javascript
|
|
67
|
+
// default Google dataLayer format adapted for Matomo
|
|
68
|
+
|
|
69
|
+
window.dataLayer = window.dataLayer || [];
|
|
70
|
+
window.dataLayer.push({
|
|
71
|
+
'event': 'internal_search',
|
|
72
|
+
// default parameter for Matomo
|
|
73
|
+
'event_category': 'Search',
|
|
74
|
+
'event_action': 'Search query',
|
|
75
|
+
'event_name': 'Search term : Master',
|
|
76
|
+
'event_value': '121', // Number of search results
|
|
77
|
+
|
|
78
|
+
// parameters giving context & reusable for other button or link clicks
|
|
79
|
+
'link_text': '', // Not necessary here
|
|
80
|
+
'link_url': '', // Not necessary here
|
|
81
|
+
'link_type': 'Search bar',
|
|
82
|
+
'page_language': 'FR',
|
|
83
|
+
|
|
84
|
+
// search parameters (in case results are filtered by a search)
|
|
85
|
+
'search_term': 'Master',
|
|
86
|
+
'number_of_search_results': 121 ,
|
|
87
|
+
'filter_name': 'Région', // If filter applied
|
|
88
|
+
'filter_value': 'Liege', // If filter applied
|
|
89
|
+
'filters_applied': 'Région : Liege|Type d emploi : Contractuel', // All filters concatenated with pipes in application order
|
|
90
|
+
|
|
91
|
+
// user-level parameters, not specific to the event
|
|
92
|
+
'user_id': 'JKSFI29924FDK',
|
|
93
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
94
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
95
|
+
'user_postal_code': '4000',
|
|
96
|
+
'user_city': 'LIEGE'
|
|
97
|
+
});
|
|
98
|
+
\`\`\`
|
|
58
99
|
|
|
59
|
-
|
|
100
|
+
</details>
|
|
101
|
+
|
|
102
|
+
---
|
|
60
103
|
|
|
61
104
|
---
|
|
62
105
|
|
|
@@ -196,6 +239,8 @@ await searchField.resetInput();
|
|
|
196
239
|
// Mettre le focus sur le champ
|
|
197
240
|
await searchField.setFocus();
|
|
198
241
|
\`\`\`
|
|
242
|
+
|
|
243
|
+
## Composant interactif
|
|
199
244
|
`,
|
|
200
245
|
},
|
|
201
246
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Select permet aux utilisateurs de choisir une option dans une liste déroulante. Version native HTML stylisée, il offre une expérience familière et accessible pour la sélection simple.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/7029dd-champ-de-selection-select)
|
|
25
|
+
|
|
24
26
|
## Fonctionnalités
|
|
25
27
|
|
|
26
28
|
- Liste déroulante native HTML
|
|
@@ -39,7 +41,50 @@ Le composant Select permet aux utilisateurs de choisir une option dans une liste
|
|
|
39
41
|
- Paramètres de configuration simples
|
|
40
42
|
- Sélection dans listes courtes
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
## Tracking Matomo
|
|
45
|
+
|
|
46
|
+
**sorting_option_applied** est émis lorsqu'une option de tri est appliquée. Event envoyé à chaque fois que les résultats se mettent à jour.
|
|
47
|
+
|
|
48
|
+
<details>
|
|
49
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
50
|
+
|
|
51
|
+
\`\`\`javascript
|
|
52
|
+
// default Google dataLayer format adapted for Matomo
|
|
53
|
+
|
|
54
|
+
window.dataLayer = window.dataLayer || [];
|
|
55
|
+
window.dataLayer.push({
|
|
56
|
+
'event': 'sorting_option_applied',
|
|
57
|
+
// default parameter for Matomo
|
|
58
|
+
'event_category': 'Search',
|
|
59
|
+
'event_action': 'Sorting option applied',
|
|
60
|
+
'event_name': 'Sorting option : démarches récemment menées',
|
|
61
|
+
'event_value': '', // Not necessary here
|
|
62
|
+
|
|
63
|
+
// parameters giving context & reusable for other button or link clicks
|
|
64
|
+
'link_text': 'Mobilité',
|
|
65
|
+
'link_url': '', // Not necessary here
|
|
66
|
+
'link_type': 'Checkbox clicks',
|
|
67
|
+
'page_language': 'FR',
|
|
68
|
+
|
|
69
|
+
// search parameters (in case results are also filtered by a search or filters)
|
|
70
|
+
'search_term': 'taxe',
|
|
71
|
+
'number_of_search_results': 6 ,
|
|
72
|
+
'filter_name': 'Thématique',
|
|
73
|
+
'filter_value': 'Mobilité',
|
|
74
|
+
'filters_applied': 'Thematique : Activité économique|Thematique : Mobilité', // All filters concatenated with pipes in application order
|
|
75
|
+
|
|
76
|
+
// user-level parameters, not specific to the event
|
|
77
|
+
'user_id': 'JKSFI29924FDK',
|
|
78
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
79
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
80
|
+
'user_postal_code': '4000',
|
|
81
|
+
'user_city': 'LIEGE'
|
|
82
|
+
});
|
|
83
|
+
\`\`\`
|
|
84
|
+
|
|
85
|
+
</details>
|
|
86
|
+
|
|
87
|
+
## Composant interactif
|
|
43
88
|
`,
|
|
44
89
|
},
|
|
45
90
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Separator (divider) permet de créer des séparations visuelles entre différentes sections de contenu. Il améliore la lisibilité et structure l'information de manière claire.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/381355-separateur)
|
|
25
|
+
|
|
24
26
|
## Variantes disponibles
|
|
25
27
|
|
|
26
28
|
- **horizontal** : Séparation horizontale (par défaut)
|
|
@@ -39,7 +41,7 @@ Le composant Separator (divider) permet de créer des séparations visuelles ent
|
|
|
39
41
|
- Division d'éléments dans une toolbar
|
|
40
42
|
- Séparation visuelle dans des listes ou cartes
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
## Composant interactif
|
|
43
45
|
`,
|
|
44
46
|
},
|
|
45
47
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Skeleton affiche un aperçu animé du contenu avant son chargement complet. Il améliore l'expérience utilisateur en réduisant la frustration liée aux temps d'attente et donne une indication visuelle de la structure à venir.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/54b742-squelette)
|
|
25
|
+
|
|
24
26
|
## Variantes disponibles
|
|
25
27
|
|
|
26
28
|
- **text** : Lignes de texte avec variations de largeur
|
|
@@ -42,7 +44,7 @@ Le composant Skeleton affiche un aperçu animé du contenu avant son chargement
|
|
|
42
44
|
- Placeholder pour images en cours de chargement
|
|
43
45
|
- États de chargement de pages entières
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
## Composant interactif
|
|
46
48
|
`,
|
|
47
49
|
},
|
|
48
50
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Tag permet d'afficher des étiquettes visuelles pour catégoriser, labelliser ou indiquer le statut d'un élément. Compact et discret, il attire l'attention sur des informations clés sans surcharger l'interface.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/621ede-tag)
|
|
25
|
+
|
|
24
26
|
## Variantes disponibles
|
|
25
27
|
|
|
26
28
|
- **default** : Tag par défaut avec fond gris clair
|
|
@@ -43,7 +45,7 @@ Le composant Tag permet d'afficher des étiquettes visuelles pour catégoriser,
|
|
|
43
45
|
- Labels informatifs dans cartes et listes
|
|
44
46
|
- Badges de notification ou compteurs
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
## Composant interactif
|
|
47
49
|
`,
|
|
48
50
|
},
|
|
49
51
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Text Field permet aux utilisateurs d'entrer du texte court sur une seule ligne. Élément fondamental des formulaires, il intègre label, placeholder, validation et messages d'aide.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/859851-champ-de-saisie-input-field)
|
|
25
|
+
|
|
24
26
|
## Variantes disponibles
|
|
25
27
|
|
|
26
28
|
- **text** : Texte standard (par défaut)
|
|
@@ -47,7 +49,7 @@ Le composant Text Field permet aux utilisateurs d'entrer du texte court sur une
|
|
|
47
49
|
- Champs de connexion
|
|
48
50
|
- Saisie d'adresses et coordonnées
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
## Composant interactif
|
|
51
53
|
`,
|
|
52
54
|
},
|
|
53
55
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Textarea permet aux utilisateurs de saisir du texte long sur plusieurs lignes. Idéal pour les commentaires, descriptions et contenus étendus dans les formulaires.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/6692b4-champ-texte-textarea)
|
|
25
|
+
|
|
24
26
|
## Fonctionnalités
|
|
25
27
|
|
|
26
28
|
- Hauteur configurable (nombre de lignes)
|
|
@@ -36,7 +38,7 @@ Le composant Textarea permet aux utilisateurs de saisir du texte long sur plusie
|
|
|
36
38
|
- Feedback utilisateur et témoignages
|
|
37
39
|
- Notes et observations
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
## Composant interactif
|
|
40
42
|
`,
|
|
41
43
|
},
|
|
42
44
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Toast affiche des notifications temporaires non-bloquantes pour informer l'utilisateur du résultat d'une action ou d'un événement système.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/15cbdc-toast)
|
|
25
|
+
|
|
24
26
|
## Fonctionnalités
|
|
25
27
|
|
|
26
28
|
- 4 variantes visuelles : info, success, warning, alert
|
|
@@ -124,7 +126,7 @@ this.toast.create({
|
|
|
124
126
|
this.toast.dismissAll();
|
|
125
127
|
\`\`\`
|
|
126
128
|
|
|
127
|
-
|
|
129
|
+
## Composant interactif
|
|
128
130
|
`,
|
|
129
131
|
},
|
|
130
132
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Tooltip affiche des informations contextuelles supplémentaires au survol d'un élément. Il permet de fournir des explications, des aides ou des précisions sans surcharger l'interface.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/748e85-infobulle-tooltip)
|
|
25
|
+
|
|
24
26
|
## Fonctionnalités
|
|
25
27
|
|
|
26
28
|
- Affichage au survol
|
|
@@ -37,7 +39,7 @@ Le composant Tooltip affiche des informations contextuelles supplémentaires au
|
|
|
37
39
|
- Descriptions détaillées sans encombrer l'interface
|
|
38
40
|
- Aide à la complétion de formulaires complexes
|
|
39
41
|
|
|
40
|
-
|
|
42
|
+
## Composant interactif
|
|
41
43
|
`,
|
|
42
44
|
},
|
|
43
45
|
},
|
|
@@ -36,6 +36,8 @@ const meta = {
|
|
|
36
36
|
|
|
37
37
|
Les accordéons permettent aux utilisateurs d'afficher et de masquer des sections de contenu présentés dans une page. Ils sont particulièrement utiles pour organiser de grandes quantités d'informations de manière compacte et améliorer la lisibilité du contenu.
|
|
38
38
|
|
|
39
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/054567-accordeon)
|
|
40
|
+
|
|
39
41
|
## Structure
|
|
40
42
|
|
|
41
43
|
Le composant se compose de trois parties :
|
|
@@ -52,7 +54,43 @@ Le composant se compose de trois parties :
|
|
|
52
54
|
- Accessibilité avec gestion du clavier et attributs ARIA
|
|
53
55
|
- Personnalisation du niveau de titre pour le SEO
|
|
54
56
|
|
|
55
|
-
|
|
57
|
+
## Tracking Matomo
|
|
58
|
+
|
|
59
|
+
**accordion_expand** / **accordion_collapse** sont émis lors de l'ouverture ou de la fermeture d'un item de l'accordéon.
|
|
60
|
+
|
|
61
|
+
<details>
|
|
62
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
63
|
+
|
|
64
|
+
\`\`\`javascript
|
|
65
|
+
// default Google dataLayer format adapted for Matomo
|
|
66
|
+
|
|
67
|
+
window.dataLayer = window.dataLayer || [];
|
|
68
|
+
window.dataLayer.push({
|
|
69
|
+
'event': 'accordion_expand' OR 'accordion_collapse',
|
|
70
|
+
// default parameter for Matomo
|
|
71
|
+
'event_category': 'Modules',
|
|
72
|
+
'event_action': 'Accordion expand' OR 'Accordion collapse',
|
|
73
|
+
'event_name': 'Accordion expand : Documents',
|
|
74
|
+
'event_value': '', // Not necessary here
|
|
75
|
+
|
|
76
|
+
// parameters giving context & reusable for other button or link clicks
|
|
77
|
+
'link_text': 'Documents',
|
|
78
|
+
'link_url': '', // Not necessary here
|
|
79
|
+
'link_type': 'Accordion',
|
|
80
|
+
'page_language': 'FR',
|
|
81
|
+
|
|
82
|
+
// user-level parameters, not specific to the event
|
|
83
|
+
'user_id': 'JKSFI29924FDK',
|
|
84
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
85
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
86
|
+
'user_postal_code': '4000',
|
|
87
|
+
'user_city': 'LIEGE'
|
|
88
|
+
});
|
|
89
|
+
\`\`\`
|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
## Composant interactif
|
|
56
94
|
`,
|
|
57
95
|
},
|
|
58
96
|
},
|
|
@@ -31,6 +31,8 @@ const meta = {
|
|
|
31
31
|
|
|
32
32
|
Le composant Carte est un conteneur cliquable qui affiche un aperçu visuel de contenu (article, événement, personne, vidéo). Il permet de présenter des informations de manière attrayante et structurée, souvent utilisé dans des listes ou grilles de contenus similaires.
|
|
33
33
|
|
|
34
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/71f31e-carte-card)
|
|
35
|
+
|
|
34
36
|
## Variants disponibles
|
|
35
37
|
|
|
36
38
|
- **Default / Horizontal** : Carte classique avec image à gauche, contenu à droite
|
|
@@ -65,7 +67,43 @@ Le composant se compose de plusieurs parties :
|
|
|
65
67
|
- Responsive design adaptatif
|
|
66
68
|
- Hover states et transitions fluides
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
## Tracking Matomo
|
|
71
|
+
|
|
72
|
+
**card_click** est émis lors d'un click sur une carte.
|
|
73
|
+
|
|
74
|
+
<details>
|
|
75
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
76
|
+
|
|
77
|
+
\`\`\`javascript
|
|
78
|
+
// default Google dataLayer format adapted for Matomo
|
|
79
|
+
|
|
80
|
+
window.dataLayer = window.dataLayer || [];
|
|
81
|
+
window.dataLayer.push({
|
|
82
|
+
'event': 'card_click',
|
|
83
|
+
// default parameter for Matomo
|
|
84
|
+
'event_category': 'Link clicks',
|
|
85
|
+
'event_action': 'Card clicks',
|
|
86
|
+
'event_name': 'Comment soutenir nos agricultrices et agriculteurs?',
|
|
87
|
+
'event_value': 'https://www.wallonie.be/fr/demarches/demander-une-aide-linvestissement-pour-mon-activite-agricole',
|
|
88
|
+
|
|
89
|
+
// parameters giving context & reusable for other button or link clicks
|
|
90
|
+
'link_text': 'Comment soutenir nos agricultrices et agriculteurs?',
|
|
91
|
+
'link_url': 'https://www.wallonie.be/fr/demarches/demander-une-aide-linvestissement-pour-mon-activite-agricole',
|
|
92
|
+
'link_type': 'Card clicks',
|
|
93
|
+
'page_language': 'FR',
|
|
94
|
+
|
|
95
|
+
// user-level parameters, not specific to the event
|
|
96
|
+
'user_id': 'JKSFI29924FDK',
|
|
97
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
98
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
99
|
+
'user_postal_code': '4000',
|
|
100
|
+
'user_city': 'LIEGE'
|
|
101
|
+
});
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
## Composant interactif
|
|
69
107
|
`,
|
|
70
108
|
},
|
|
71
109
|
},
|
|
@@ -49,6 +49,8 @@ Le composant Drawer est un panneau latéral (ou haut/bas) qui s'affiche par-dess
|
|
|
49
49
|
- Slot footer pour une zone d'actions fixe en bas
|
|
50
50
|
- Méthodes programmatiques openDrawer() et closeDrawer()
|
|
51
51
|
- Événements spwDrawerOpen et spwDrawerClose
|
|
52
|
+
|
|
53
|
+
## Composant interactif
|
|
52
54
|
`,
|
|
53
55
|
},
|
|
54
56
|
},
|
|
@@ -22,6 +22,8 @@ const meta = {
|
|
|
22
22
|
|
|
23
23
|
Le composant Footer est la section inférieure récurrente d'une page web. Il contient généralement des liens de navigation secondaire, des informations de contact, des mentions légales et le copyright du site.
|
|
24
24
|
|
|
25
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/91a10d-pied-de-page-footer)
|
|
26
|
+
|
|
25
27
|
## Structure
|
|
26
28
|
|
|
27
29
|
Le composant se compose de plusieurs sous-éléments :
|
|
@@ -39,7 +41,43 @@ Le composant **spw-socials** peut être associé au footer en le plaçant **stru
|
|
|
39
41
|
- Support du Shadow DOM pour l'encapsulation
|
|
40
42
|
- Trois versions : complète avec sections, légère (bottom only), ou avec bandeau de réseaux sociaux
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
## Tracking Matomo
|
|
45
|
+
|
|
46
|
+
**footer_menu_click** est émis lors d'un click sur un élément du menu de navigation du footer.
|
|
47
|
+
|
|
48
|
+
<details>
|
|
49
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
50
|
+
|
|
51
|
+
\`\`\`javascript
|
|
52
|
+
// default Google dataLayer format adapted for Matomo
|
|
53
|
+
|
|
54
|
+
window.dataLayer = window.dataLayer || [];
|
|
55
|
+
window.dataLayer.push({
|
|
56
|
+
'event': 'footer_menu_click',
|
|
57
|
+
// default parameter for Matomo
|
|
58
|
+
'event_category': 'Link clicks',
|
|
59
|
+
'event_action': 'Footer navigation menu',
|
|
60
|
+
'event_name': 'Gérer mon profil',
|
|
61
|
+
'event_value': 'https://monespace.wallonie.be/me/profile',
|
|
62
|
+
|
|
63
|
+
// parameters giving context & reusable for other button or link clicks
|
|
64
|
+
'link_text': 'Gérer mon profil',
|
|
65
|
+
'link_url': 'https://monespace.wallonie.be/me/profile',
|
|
66
|
+
'link_type': 'Footer navigation menu link',
|
|
67
|
+
'page_language': 'FR',
|
|
68
|
+
|
|
69
|
+
// user-level parameters, not specific to the event
|
|
70
|
+
'user_id': 'JKSFI29924FDK',
|
|
71
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
72
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
73
|
+
'user_postal_code': '4000',
|
|
74
|
+
'user_city': 'LIEGE'
|
|
75
|
+
});
|
|
76
|
+
\`\`\`
|
|
77
|
+
|
|
78
|
+
</details>
|
|
79
|
+
|
|
80
|
+
## Composant interactif
|
|
43
81
|
`,
|
|
44
82
|
},
|
|
45
83
|
},
|
|
@@ -33,6 +33,44 @@ Le composant se compose de deux éléments :
|
|
|
33
33
|
- Grilles de tuiles ou cartes uniformes
|
|
34
34
|
- Mise en avant d'un élément principal (span 2x2)
|
|
35
35
|
- Sections de contenu avec hiérarchie visuelle
|
|
36
|
+
|
|
37
|
+
## Tracking Matomo
|
|
38
|
+
|
|
39
|
+
**card_click** est émis lors d'un click sur une carte contenue dans la grille.
|
|
40
|
+
|
|
41
|
+
<details>
|
|
42
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
43
|
+
|
|
44
|
+
\`\`\`javascript
|
|
45
|
+
// default Google dataLayer format adapted for Matomo
|
|
46
|
+
|
|
47
|
+
window.dataLayer = window.dataLayer || [];
|
|
48
|
+
window.dataLayer.push({
|
|
49
|
+
'event': 'card_click',
|
|
50
|
+
// default parameter for Matomo
|
|
51
|
+
'event_category': 'Link clicks',
|
|
52
|
+
'event_action': 'Card clicks',
|
|
53
|
+
'event_name': 'Comment soutenir nos agricultrices et agriculteurs?',
|
|
54
|
+
'event_value': 'https://www.wallonie.be/fr/demarches/demander-une-aide-linvestissement-pour-mon-activite-agricole',
|
|
55
|
+
|
|
56
|
+
// parameters giving context & reusable for other button or link clicks
|
|
57
|
+
'link_text': 'Comment soutenir nos agricultrices et agriculteurs?',
|
|
58
|
+
'link_url': 'https://www.wallonie.be/fr/demarches/demander-une-aide-linvestissement-pour-mon-activite-agricole',
|
|
59
|
+
'link_type': 'Card clicks',
|
|
60
|
+
'page_language': 'FR',
|
|
61
|
+
|
|
62
|
+
// user-level parameters, not specific to the event
|
|
63
|
+
'user_id': 'JKSFI29924FDK',
|
|
64
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
65
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
66
|
+
'user_postal_code': '4000',
|
|
67
|
+
'user_city': 'LIEGE'
|
|
68
|
+
});
|
|
69
|
+
\`\`\`
|
|
70
|
+
|
|
71
|
+
</details>
|
|
72
|
+
|
|
73
|
+
## Composant interactif
|
|
36
74
|
`,
|
|
37
75
|
},
|
|
38
76
|
},
|
|
@@ -21,6 +21,8 @@ const meta = {
|
|
|
21
21
|
|
|
22
22
|
Le composant Groupe permet d'organiser plusieurs éléments interactifs (boutons, checkboxes, radios) en une unité visuelle cohérente. Il facilite la gestion d'actions connexes et améliore l'expérience utilisateur.
|
|
23
23
|
|
|
24
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/56fd38-groupe-de-boutons)
|
|
25
|
+
|
|
24
26
|
## Types de groupes
|
|
25
27
|
|
|
26
28
|
Le composant supporte trois types d'éléments :
|
|
@@ -28,7 +30,7 @@ Le composant supporte trois types d'éléments :
|
|
|
28
30
|
- **Checkboxes** : Groupe de cases à cocher
|
|
29
31
|
- **Radios** : Groupe de boutons radio
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
## Composant interactif
|
|
32
34
|
`,
|
|
33
35
|
},
|
|
34
36
|
},
|
|
@@ -22,6 +22,8 @@ const meta = {
|
|
|
22
22
|
|
|
23
23
|
Le composant Header est la section supérieure d'une page web. Il contient le logo, la navigation principale, la recherche, le sélecteur de langue et le sélecteur de persona. C'est un élément crucial pour l'orientation et l'accessibilité du site.
|
|
24
24
|
|
|
25
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/78fef5-en-tete-de-site-header)
|
|
26
|
+
|
|
25
27
|
## Structure
|
|
26
28
|
|
|
27
29
|
Le composant se compose de plusieurs sous-éléments :
|
|
@@ -51,7 +53,43 @@ Le composant se compose de plusieurs sous-éléments :
|
|
|
51
53
|
- Gestion automatique des états actifs
|
|
52
54
|
- Accessibilité complète (ARIA, navigation clavier)
|
|
53
55
|
|
|
54
|
-
|
|
56
|
+
## Tracking Matomo
|
|
57
|
+
|
|
58
|
+
**navigation_menu_click** est émis lors d'un click sur un élément du menu de navigation principal.
|
|
59
|
+
|
|
60
|
+
<details>
|
|
61
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
62
|
+
|
|
63
|
+
\`\`\`javascript
|
|
64
|
+
// default Google dataLayer format adapted for Matomo
|
|
65
|
+
|
|
66
|
+
window.dataLayer = window.dataLayer || [];
|
|
67
|
+
window.dataLayer.push({
|
|
68
|
+
'event': 'navigation_menu_click',
|
|
69
|
+
// default parameter for Matomo
|
|
70
|
+
'event_category': 'Link clicks',
|
|
71
|
+
'event_action': 'Navigation menu',
|
|
72
|
+
'event_name': 'Gérer mon profil',
|
|
73
|
+
'event_value': 'https://monespace.wallonie.be/me/profile',
|
|
74
|
+
|
|
75
|
+
// parameters giving context & reusable for other button or link clicks
|
|
76
|
+
'link_text': 'Gérer mon profil',
|
|
77
|
+
'link_url': 'https://monespace.wallonie.be/me/profile',
|
|
78
|
+
'link_type': 'Navigation menu link',
|
|
79
|
+
'page_language': 'FR',
|
|
80
|
+
|
|
81
|
+
// user-level parameters, not specific to the event
|
|
82
|
+
'user_id': 'JKSFI29924FDK',
|
|
83
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
84
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
85
|
+
'user_postal_code': '4000',
|
|
86
|
+
'user_city': 'LIEGE'
|
|
87
|
+
});
|
|
88
|
+
\`\`\`
|
|
89
|
+
|
|
90
|
+
</details>
|
|
91
|
+
|
|
92
|
+
## Composant interactif
|
|
55
93
|
`,
|
|
56
94
|
},
|
|
57
95
|
},
|
|
@@ -22,6 +22,8 @@ const meta = {
|
|
|
22
22
|
|
|
23
23
|
Le composant Hero Banner crée un bandeau visuel impactant en haut de page pour capter l'attention et mettre en avant un message clé, un appel à l'action ou du contenu principal. Il combine image, texte et actions de manière équilibrée.
|
|
24
24
|
|
|
25
|
+
[<spw-link icon="fa-arrow-up-right-from-square" icon-position="right">Voir la documentation sur Zeroheight</spw-link>](https://zeroheight.com/2310c7a1e/p/5039a3-bandeau-den-tete-hero-banner)
|
|
26
|
+
|
|
25
27
|
## Variants disponibles
|
|
26
28
|
|
|
27
29
|
- **Grey** : Arrière-plan gris avec image latérale
|
|
@@ -40,7 +42,43 @@ Le composant Hero Banner crée un bandeau visuel impactant en haut de page pour
|
|
|
40
42
|
- Support du contenu HTML dans le slot par défaut
|
|
41
43
|
- Accessibilité avec gestion du clavier
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
## Tracking Matomo
|
|
46
|
+
|
|
47
|
+
**hero_banner_click** est émis lors d'un click sur un hero banner.
|
|
48
|
+
|
|
49
|
+
<details>
|
|
50
|
+
<summary style="font-size: 12px;">Voir le code de tracking</summary>
|
|
51
|
+
|
|
52
|
+
\`\`\`javascript
|
|
53
|
+
// default Google dataLayer format adapted for Matomo
|
|
54
|
+
|
|
55
|
+
window.dataLayer = window.dataLayer || [];
|
|
56
|
+
window.dataLayer.push({
|
|
57
|
+
'event': 'hero_banner_click',
|
|
58
|
+
// default parameter for Matomo
|
|
59
|
+
'event_category': 'Link clicks',
|
|
60
|
+
'event_action': 'Hero banner clicks',
|
|
61
|
+
'event_name': 'Nouvelle demarche',
|
|
62
|
+
'event_value': 'https://monespace.wallonie.be/me/new-formality',
|
|
63
|
+
|
|
64
|
+
// parameters giving context & reusable for other button or link clicks
|
|
65
|
+
'link_text': 'Nouvelle demarche',
|
|
66
|
+
'link_url': 'https://monespace.wallonie.be/me/new-formality',
|
|
67
|
+
'link_type': 'Hero banner clicks',
|
|
68
|
+
'page_language': 'FR',
|
|
69
|
+
|
|
70
|
+
// user-level parameters, not specific to the event
|
|
71
|
+
'user_id': 'JKSFI29924FDK',
|
|
72
|
+
'user_email': 'sebatien.fabri.ext@spw.wallonie.be', // Can be in clear in the dataLayer but we will never collect it without a hash
|
|
73
|
+
'user_type': 'employé SPW' OR 'citoyen' ,
|
|
74
|
+
'user_postal_code': '4000',
|
|
75
|
+
'user_city': 'LIEGE'
|
|
76
|
+
});
|
|
77
|
+
\`\`\`
|
|
78
|
+
|
|
79
|
+
</details>
|
|
80
|
+
|
|
81
|
+
## Composant interactif
|
|
44
82
|
`,
|
|
45
83
|
},
|
|
46
84
|
},
|