@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
|
@@ -68,25 +68,21 @@ export class SpwTextarea {
|
|
|
68
68
|
this.internals.setFormValue(this.internalValue ? this.internalValue : null);
|
|
69
69
|
this.valueChanged.emit(this.internalValue);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
renderWarningMessage() {
|
|
87
|
-
if (this.warning) {
|
|
88
|
-
return (h("spw-field-message", { variant: "warning", showIcon: this.showWarningIcon, isExpandable: this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, this.warning, h("slot", { name: "details", slot: "details" })));
|
|
89
|
-
}
|
|
71
|
+
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
72
|
+
renderMessages() {
|
|
73
|
+
const messages = [];
|
|
74
|
+
if (this.error)
|
|
75
|
+
messages.push({ variant: 'error', text: this.error, showIcon: this.showErrorIcon });
|
|
76
|
+
if (this.hint)
|
|
77
|
+
messages.push({ variant: 'hint', text: this.hint, showIcon: this.showHintIcon });
|
|
78
|
+
if (this.success)
|
|
79
|
+
messages.push({ variant: 'success', text: this.success, showIcon: this.showSuccessIcon });
|
|
80
|
+
if (this.warning)
|
|
81
|
+
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
82
|
+
return messages.map((m, i) => {
|
|
83
|
+
const isLast = i === messages.length - 1;
|
|
84
|
+
return (h("spw-field-message", { variant: m.variant, showIcon: m.showIcon, isExpandable: isLast && this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, m.text, isLast && h("slot", { name: "details", slot: "details" })));
|
|
85
|
+
});
|
|
90
86
|
}
|
|
91
87
|
get elementClass() {
|
|
92
88
|
return {
|
|
@@ -97,7 +93,7 @@ export class SpwTextarea {
|
|
|
97
93
|
};
|
|
98
94
|
}
|
|
99
95
|
render() {
|
|
100
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: '58b00a1e00ae56c3115b4be83bc35a2d8355c30a', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'f7438e1adda1cf10217158e34427d8e87a222403', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '2f260e15e9950101c33c4839bd3c555c89918599', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '822faad0673a8f0389f369e89928ad3d36eb4701', class: "spw-textarea__container" }, h("textarea", { key: 'b4236aabf1878b6df18ec52069c90dca3ab85aa6', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderMessages()));
|
|
101
97
|
}
|
|
102
98
|
static get is() { return "spw-textarea"; }
|
|
103
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class SpwThemeProvider {
|
|
|
24
24
|
document.documentElement.setAttribute('data-theme', theme);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("main", { key: '
|
|
27
|
+
return (h("main", { key: '065ca382d4d58c36416002ba5dc4dcfb50c1794f', class: `spw-theme-${this.theme}` }, h("slot", { key: '91ec689d709422359646952b736404a79d4ca178' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "spw-theme-provider"; }
|
|
30
30
|
static get properties() {
|
|
@@ -403,6 +403,9 @@ template {
|
|
|
403
403
|
line-height: 1.5;
|
|
404
404
|
font-size: 18px;
|
|
405
405
|
}
|
|
406
|
+
:host(.--icon.--surface-dark) .spw-tile-description {
|
|
407
|
+
color: white;
|
|
408
|
+
}
|
|
406
409
|
:host(.--big) .spw-tile-description, :host(.--light) .spw-tile-description {
|
|
407
410
|
color: white;
|
|
408
411
|
line-height: 1.3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileDescription {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '944b6f3e11877aa6c2d932ef76eb8fd559e2958e', class: "spw-tile-description" }, h("slot", { key: '8ae1d62726bd878a2881ac54faa3ce4460eb8d54' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-description"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -363,20 +363,32 @@ template {
|
|
|
363
363
|
:host {
|
|
364
364
|
display: block;
|
|
365
365
|
--spw-tile-title-icon: 20px;
|
|
366
|
+
--spw-tile-title-icon-mobile: 16px;
|
|
366
367
|
--spw-tile-title-underline: none;
|
|
367
368
|
}
|
|
368
369
|
|
|
369
370
|
:host(.--icon) .spw-tile-title {
|
|
370
371
|
color: var(--spw-color-themes-grey-grey-900);
|
|
371
|
-
line-height: 1.
|
|
372
|
-
font-size: var(--spw-tile-title-icon);
|
|
372
|
+
line-height: 1.3;
|
|
373
|
+
font-size: var(--spw-tile-title-icon-mobile);
|
|
373
374
|
font-weight: 700;
|
|
374
375
|
text-decoration: var(--spw-tile-title-underline);
|
|
375
376
|
transition: all 0.2s linear;
|
|
376
377
|
}
|
|
378
|
+
@media (min-width: 1024px) {
|
|
379
|
+
:host(.--icon) .spw-tile-title {
|
|
380
|
+
font-size: var(--spw-tile-title-icon);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
377
383
|
:host(.--icon.--hovered) .spw-tile-title {
|
|
378
384
|
color: var(--spw-ds-primary);
|
|
379
385
|
}
|
|
386
|
+
:host(.--icon.--surface-dark) .spw-tile-title {
|
|
387
|
+
color: white;
|
|
388
|
+
}
|
|
389
|
+
:host(.--icon.--surface-dark.--hovered) .spw-tile-title {
|
|
390
|
+
opacity: 0.8;
|
|
391
|
+
}
|
|
380
392
|
:host(.--light) .spw-tile-title {
|
|
381
393
|
color: white;
|
|
382
394
|
line-height: 1.3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileTitle {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("h3", { key: '
|
|
4
|
+
return (h("h3", { key: '32bfa3e58b35ac3028e67c22ccccf3024b374818', class: "spw-tile-title" }, h("slot", { key: 'b0b39bf7e7a25f4fe603d6085e1a4b1d85290269' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -369,6 +369,7 @@ template {
|
|
|
369
369
|
text-decoration: none;
|
|
370
370
|
position: relative;
|
|
371
371
|
transition: all 0.3s ease-in-out;
|
|
372
|
+
border-radius: 6px;
|
|
372
373
|
}
|
|
373
374
|
.spw-tile--hoverable:hover {
|
|
374
375
|
transform: translateY(-5px);
|
|
@@ -382,10 +383,20 @@ template {
|
|
|
382
383
|
.spw-tile--icon {
|
|
383
384
|
padding: 16px 0;
|
|
384
385
|
}
|
|
386
|
+
.spw-tile--icon.spw-tile--height-square, .spw-tile--icon.spw-tile--height-portrait {
|
|
387
|
+
padding: 0;
|
|
388
|
+
position: relative;
|
|
389
|
+
overflow: hidden;
|
|
390
|
+
}
|
|
391
|
+
.spw-tile--icon.spw-tile--height-square {
|
|
392
|
+
padding-top: 100%;
|
|
393
|
+
}
|
|
394
|
+
.spw-tile--icon.spw-tile--height-portrait {
|
|
395
|
+
padding-top: 150%;
|
|
396
|
+
}
|
|
385
397
|
.spw-tile--big, .spw-tile--light {
|
|
386
398
|
position: relative;
|
|
387
399
|
padding-top: calc(70% - 12px);
|
|
388
|
-
border-radius: 6px;
|
|
389
400
|
overflow: hidden;
|
|
390
401
|
}
|
|
391
402
|
@media (min-width: 1024px) {
|
|
@@ -466,6 +477,14 @@ template {
|
|
|
466
477
|
left: 0;
|
|
467
478
|
width: 100%;
|
|
468
479
|
}
|
|
480
|
+
.spw-tile--icon.spw-tile--height-square .spw-tile__content, .spw-tile--icon.spw-tile--height-portrait .spw-tile__content {
|
|
481
|
+
position: absolute;
|
|
482
|
+
inset: 0;
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
|
+
justify-content: center;
|
|
486
|
+
padding: 24px;
|
|
487
|
+
}
|
|
469
488
|
.spw-tile--big.spw-tile--hoverable .spw-tile__content {
|
|
470
489
|
padding-right: 84px;
|
|
471
490
|
}
|
|
@@ -488,4 +507,7 @@ template {
|
|
|
488
507
|
.spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon) {
|
|
489
508
|
font-size: 32px;
|
|
490
509
|
color: var(--spw-ds-primary);
|
|
510
|
+
}
|
|
511
|
+
.spw-tile--icon.spw-tile--surface-dark .spw-tile__content-inner ::slotted(spw-icon) {
|
|
512
|
+
color: white;
|
|
491
513
|
}
|
|
@@ -3,7 +3,11 @@ export class SpwTile {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
/** Type de variante de tuile */
|
|
5
5
|
this.variant = 'light';
|
|
6
|
-
/**
|
|
6
|
+
/** Surface sur laquelle la tuile est posée (uniquement valable pour le variant "icon" — adapte les couleurs du titre, de la description et de l'icône slottée). */
|
|
7
|
+
this.surface = 'light';
|
|
8
|
+
/** Couleur de fond de la tuile. Accepte toute valeur CSS valide (variable CSS, hexadécimal, rgba, etc.). Transparent par défaut. */
|
|
9
|
+
this.background = 'transparent';
|
|
10
|
+
/** Variante de hauteur de la tuile. Pour le variant "icon", "landscape" garde le comportement compact par défaut ; "square" et "portrait" appliquent un ratio fixe. */
|
|
7
11
|
this.height = 'landscape';
|
|
8
12
|
/** Attribut target, s'applique uniquement si href est rempli */
|
|
9
13
|
this.target = '_self';
|
|
@@ -20,12 +24,20 @@ export class SpwTile {
|
|
|
20
24
|
}
|
|
21
25
|
applyVariantToChildren() {
|
|
22
26
|
const variantClass = `--${this.variant}`;
|
|
27
|
+
const surfaceLightClass = '--surface-light';
|
|
28
|
+
const surfaceDarkClass = '--surface-dark';
|
|
23
29
|
const titleElement = this.el.querySelector('spw-tile-title');
|
|
24
30
|
const descriptionElement = this.el.querySelector('spw-tile-description');
|
|
25
|
-
|
|
31
|
+
if (titleElement) {
|
|
32
|
+
titleElement.classList.add(variantClass);
|
|
33
|
+
titleElement.classList.toggle(surfaceDarkClass, this.surface === 'dark');
|
|
34
|
+
titleElement.classList.toggle(surfaceLightClass, this.surface !== 'dark');
|
|
35
|
+
}
|
|
26
36
|
if (descriptionElement) {
|
|
27
37
|
descriptionElement.classList.add(variantClass);
|
|
28
38
|
descriptionElement.classList.toggle('--reveal-on-hover', this.revealDescription && (this.variant === 'light' || this.variant === 'big'));
|
|
39
|
+
descriptionElement.classList.toggle(surfaceDarkClass, this.surface === 'dark');
|
|
40
|
+
descriptionElement.classList.toggle(surfaceLightClass, this.surface !== 'dark');
|
|
29
41
|
}
|
|
30
42
|
}
|
|
31
43
|
get elementClass() {
|
|
@@ -33,6 +45,7 @@ export class SpwTile {
|
|
|
33
45
|
'spw-tile': true,
|
|
34
46
|
'spw-tile--hoverable': !!this.href,
|
|
35
47
|
[`spw-tile--${this.variant}`]: true,
|
|
48
|
+
[`spw-tile--surface-${this.surface}`]: true,
|
|
36
49
|
[`spw-tile--height-${this.height}`]: true,
|
|
37
50
|
'spw-tile--reveal-description': this.revealDescription && (this.variant === 'light' || this.variant === 'big'),
|
|
38
51
|
};
|
|
@@ -62,7 +75,7 @@ export class SpwTile {
|
|
|
62
75
|
href,
|
|
63
76
|
target,
|
|
64
77
|
};
|
|
65
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '30914609d9abde8e0c539d71548ba8593925cca7' }, h(TagType, Object.assign({ key: 'ad190c69b3d66ef6fb3d52f8b2127db32ba408cc' }, attrs, { class: this.elementClass, style: { background: this.background } }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: 'a92362bf9c8e4b835b4601db20effab7cfa56a4c' }, h("img", { key: '1ee8bf2285d97b614712f14fbd5fbdd5632ddee8', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '2b5ce972140a0fb4aee410b0500b49e64d904aa9', class: "spw-tile__content" }, (this.variant === 'big' || this.variant === 'light') && h("div", { key: 'ad4e6e529fb93c995f5ba37b636bf39e3a98da2c', class: "spw-tile__overlay" }), h("div", { key: '5c9da07938380d6faff1ce3da6f732a9f1a2c00d', class: "spw-tile__content-inner" }, h("slot", { key: '8ea1866518944c92fc16f478c555aafaa63b0164' })), this.href && this.variant === 'big' && (h("span", { key: '2e852799e4674d802c85500c7559abf586357573', class: "spw-tile__button" }, h("spw-icon", { key: 'ab051ba109f5d6e20e67b22c7d40a05a639b6c65', icon: "fa-chevron-right" })))))));
|
|
66
79
|
}
|
|
67
80
|
static get is() { return "spw-tile"; }
|
|
68
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,6 +111,46 @@ export class SpwTile {
|
|
|
98
111
|
"attribute": "variant",
|
|
99
112
|
"defaultValue": "'light'"
|
|
100
113
|
},
|
|
114
|
+
"surface": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"mutable": false,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "'light' | 'dark'",
|
|
119
|
+
"resolved": "\"dark\" | \"light\"",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": true,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": "Surface sur laquelle la tuile est pos\u00E9e (uniquement valable pour le variant \"icon\" \u2014 adapte les couleurs du titre, de la description et de l'ic\u00F4ne slott\u00E9e)."
|
|
127
|
+
},
|
|
128
|
+
"getter": false,
|
|
129
|
+
"setter": false,
|
|
130
|
+
"reflect": false,
|
|
131
|
+
"attribute": "surface",
|
|
132
|
+
"defaultValue": "'light'"
|
|
133
|
+
},
|
|
134
|
+
"background": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"mutable": false,
|
|
137
|
+
"complexType": {
|
|
138
|
+
"original": "string",
|
|
139
|
+
"resolved": "string",
|
|
140
|
+
"references": {}
|
|
141
|
+
},
|
|
142
|
+
"required": false,
|
|
143
|
+
"optional": true,
|
|
144
|
+
"docs": {
|
|
145
|
+
"tags": [],
|
|
146
|
+
"text": "Couleur de fond de la tuile. Accepte toute valeur CSS valide (variable CSS, hexad\u00E9cimal, rgba, etc.). Transparent par d\u00E9faut."
|
|
147
|
+
},
|
|
148
|
+
"getter": false,
|
|
149
|
+
"setter": false,
|
|
150
|
+
"reflect": false,
|
|
151
|
+
"attribute": "background",
|
|
152
|
+
"defaultValue": "'transparent'"
|
|
153
|
+
},
|
|
101
154
|
"height": {
|
|
102
155
|
"type": "string",
|
|
103
156
|
"mutable": false,
|
|
@@ -110,7 +163,7 @@ export class SpwTile {
|
|
|
110
163
|
"optional": true,
|
|
111
164
|
"docs": {
|
|
112
165
|
"tags": [],
|
|
113
|
-
"text": "Variante de hauteur de la tuile
|
|
166
|
+
"text": "Variante de hauteur de la tuile. Pour le variant \"icon\", \"landscape\" garde le comportement compact par d\u00E9faut ; \"square\" et \"portrait\" appliquent un ratio fixe."
|
|
114
167
|
},
|
|
115
168
|
"getter": false,
|
|
116
169
|
"setter": false,
|
|
@@ -55,10 +55,10 @@ export class SpwTimelineItem {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const showConnector = this.isLast === 'false';
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '3fed9e49527fe08bd1ae7fb0a135487855597ab4' }, h("div", { key: '625842141c30cd19b812ed10c25054095b87ac80', class: this.elementClass }, h("div", { key: 'de965a59fdf9132967188ddb69e5fbde16550a88', class: "spw-timeline-item__step" }, h("div", { key: 'd7b97454d9c99a99dd79964e80a38c1165d0fe94', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '047b2c6161bebbd3ceef26ea3cdde932574b5c2b', class: "spw-timeline-item__connector" })), h("div", { key: 'ab2c65952ea083472ff67be02f9b1da762d0ad93', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: 'c4580ce71d4bad8e97896b7085557d27cbe51a75', class: "spw-timeline-item__description-wrapper" }, h("div", { key: '605805d80b31a8cc8f2752c45c2d256f456231bb', ref: el => (this.descriptionRef = el), class: {
|
|
59
59
|
'spw-timeline-item__description': true,
|
|
60
60
|
'spw-timeline-item__description--collapsed': !this.isDescriptionExpanded,
|
|
61
|
-
} }, this.description))), h("slot", { key: '
|
|
61
|
+
} }, this.description))), h("slot", { key: '6397705468624fa23149897385f2a0437e5f9583' })))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "spw-timeline-item"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class SpwTimeline {
|
|
|
53
53
|
return this.visibleItems > 0 && items.length > this.visibleItems;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'e8f70bae5de172315e31463385f05bdb4ed597e2' }, h("div", { key: '0357d027e9ef9f775329571cd456864bd016387b', class: this.elementClass }, h("slot", { key: 'bd8b414d850e7e2035a8fbb0708c63261c77d441' })), this.shouldShowToggleButton() && (h("div", { key: 'f8748d28486d0149979dd60ea9b573de4ffc0caf', class: {
|
|
57
57
|
'spw-timeline__toggle': true,
|
|
58
58
|
'spw-timeline__toggle--more': !this.showAll,
|
|
59
59
|
'spw-timeline__toggle--less': this.showAll,
|
|
60
|
-
} }, h("span", { key: '
|
|
60
|
+
} }, h("span", { key: '9671a83ddedce1d59cd9d41a3762c34bbc7ea483', class: "spw-timeline__toggle-btn", onClick: this.handleToggle }, this.showAll ? this.showLessText : this.showMoreText)))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "spw-timeline"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwTocContainer {
|
|
3
3
|
constructor() {
|
|
4
|
-
/** Profondeur maximale des headings à scanner. Ex: "h3" scanne h2 et h3, "h4" scanne h2, h3 et h4. Par défaut tous les niveaux jusqu'à h6. */
|
|
4
|
+
/** Profondeur maximale des headings à scanner. Ex: "h3" scanne h2 et h3, "h4" scanne h2, h3 et h4. Par défaut tous les niveaux jusqu'à h6. Peut également être définie sur spw-toc-navigation (dans ce cas, la valeur est propagée automatiquement à ce container). */
|
|
5
5
|
this.depth = 'h6';
|
|
6
6
|
}
|
|
7
7
|
async componentDidLoad() {
|
|
@@ -121,7 +121,7 @@ export class SpwTocContainer {
|
|
|
121
121
|
return tocItems;
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '9dabdebfec120849a633d4e2645503053d3b6b50' }, h("slot", { key: 'bfd6165ac2c5f5ddbfda7873dd010c050ee40ecf' })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "spw-toc-container"; }
|
|
127
127
|
static get originalStyleUrls() {
|
|
@@ -138,7 +138,7 @@ export class SpwTocContainer {
|
|
|
138
138
|
return {
|
|
139
139
|
"depth": {
|
|
140
140
|
"type": "string",
|
|
141
|
-
"mutable":
|
|
141
|
+
"mutable": true,
|
|
142
142
|
"complexType": {
|
|
143
143
|
"original": "'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
|
|
144
144
|
"resolved": "\"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
@@ -148,7 +148,7 @@ export class SpwTocContainer {
|
|
|
148
148
|
"optional": true,
|
|
149
149
|
"docs": {
|
|
150
150
|
"tags": [],
|
|
151
|
-
"text": "Profondeur maximale des headings \u00E0 scanner. Ex: \"h3\" scanne h2 et h3, \"h4\" scanne h2, h3 et h4. Par d\u00E9faut tous les niveaux jusqu'\u00E0 h6."
|
|
151
|
+
"text": "Profondeur maximale des headings \u00E0 scanner. Ex: \"h3\" scanne h2 et h3, \"h4\" scanne h2, h3 et h4. Par d\u00E9faut tous les niveaux jusqu'\u00E0 h6. Peut \u00E9galement \u00EAtre d\u00E9finie sur spw-toc-navigation (dans ce cas, la valeur est propag\u00E9e automatiquement \u00E0 ce container)."
|
|
152
152
|
},
|
|
153
153
|
"getter": false,
|
|
154
154
|
"setter": false,
|
|
@@ -11,10 +11,25 @@ export class SpwTocNavigation {
|
|
|
11
11
|
this.h2Distances = new Map();
|
|
12
12
|
}
|
|
13
13
|
async componentDidLoad() {
|
|
14
|
+
this.propagateDepthToContainer();
|
|
14
15
|
await this.loadItems();
|
|
15
16
|
this.setupIntersectionObserver();
|
|
16
17
|
this.setupScrollHandler();
|
|
17
18
|
}
|
|
19
|
+
depthChanged() {
|
|
20
|
+
this.propagateDepthToContainer();
|
|
21
|
+
}
|
|
22
|
+
propagateDepthToContainer() {
|
|
23
|
+
if (!this.depth)
|
|
24
|
+
return;
|
|
25
|
+
const tocWrapper = this.el.closest('spw-toc');
|
|
26
|
+
if (!tocWrapper)
|
|
27
|
+
return;
|
|
28
|
+
const container = tocWrapper.querySelector('spw-toc-container');
|
|
29
|
+
if (container) {
|
|
30
|
+
container.depth = this.depth;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
18
33
|
componentDidRender() {
|
|
19
34
|
this.recalculateH2Distances();
|
|
20
35
|
}
|
|
@@ -361,6 +376,25 @@ export class SpwTocNavigation {
|
|
|
361
376
|
"reflect": false,
|
|
362
377
|
"attribute": "variant",
|
|
363
378
|
"defaultValue": "'progress'"
|
|
379
|
+
},
|
|
380
|
+
"depth": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"mutable": false,
|
|
383
|
+
"complexType": {
|
|
384
|
+
"original": "'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
|
|
385
|
+
"resolved": "\"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
386
|
+
"references": {}
|
|
387
|
+
},
|
|
388
|
+
"required": false,
|
|
389
|
+
"optional": true,
|
|
390
|
+
"docs": {
|
|
391
|
+
"tags": [],
|
|
392
|
+
"text": "Profondeur maximale des headings \u00E0 scanner. Propage la valeur au spw-toc-container parent (si uniquement spw-toc-navigation configurable). Si non d\u00E9finie, la valeur du spw-toc-container est utilis\u00E9e."
|
|
393
|
+
},
|
|
394
|
+
"getter": false,
|
|
395
|
+
"setter": false,
|
|
396
|
+
"reflect": false,
|
|
397
|
+
"attribute": "depth"
|
|
364
398
|
}
|
|
365
399
|
};
|
|
366
400
|
}
|
|
@@ -375,6 +409,12 @@ export class SpwTocNavigation {
|
|
|
375
409
|
};
|
|
376
410
|
}
|
|
377
411
|
static get elementRef() { return "el"; }
|
|
412
|
+
static get watchers() {
|
|
413
|
+
return [{
|
|
414
|
+
"propName": "depth",
|
|
415
|
+
"methodName": "depthChanged"
|
|
416
|
+
}];
|
|
417
|
+
}
|
|
378
418
|
static get listeners() {
|
|
379
419
|
return [{
|
|
380
420
|
"name": "tocItemsChanged",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwToc {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '1a2e6a6a7e62d0f6869c502e1bd81971c3958be0' }, h("slot", { key: 'b61d833d3ad49b5c676e6cff415a1d1ef65f30b8' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-toc"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -127,7 +127,7 @@ export class SpwTooltip {
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h("div", { key: '
|
|
130
|
+
return (h("div", { key: 'dcdf0a4a2a20b67a8ee8e7afa34b00cd6f6e0bb1', class: this.classes, onMouseEnter: this.showTooltip, onMouseLeave: this.hideTooltip }, h("slot", { key: '08c755da2d1ae451b1ff40b5ac0bebb6e1cc30b2' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "spw-tooltip"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -382,10 +382,9 @@ template {
|
|
|
382
382
|
.spw-topbar__logo {
|
|
383
383
|
display: flex;
|
|
384
384
|
align-items: center;
|
|
385
|
-
font-size: 26px;
|
|
386
|
-
font-weight: bold;
|
|
387
385
|
gap: 12px;
|
|
388
386
|
color: var(--spw-colors-support-grey-grey-900);
|
|
387
|
+
align-self: stretch;
|
|
389
388
|
}
|
|
390
389
|
.spw-topbar__logo-link {
|
|
391
390
|
display: flex;
|
|
@@ -393,15 +392,75 @@ template {
|
|
|
393
392
|
gap: 8px;
|
|
394
393
|
color: inherit;
|
|
395
394
|
text-decoration: none;
|
|
395
|
+
position: relative;
|
|
396
|
+
align-self: stretch;
|
|
397
|
+
transition: all 0.2s linear;
|
|
398
|
+
}
|
|
399
|
+
.spw-topbar__logo-link:hover {
|
|
400
|
+
opacity: 0.8;
|
|
401
|
+
}
|
|
402
|
+
.spw-topbar__logo-link:active {
|
|
403
|
+
opacity: 0.9;
|
|
404
|
+
}
|
|
405
|
+
.spw-topbar__logo-link:focus-visible {
|
|
406
|
+
outline: 3px solid white;
|
|
407
|
+
outline-offset: 3px;
|
|
408
|
+
box-shadow: 0 0 0 5px black;
|
|
396
409
|
}
|
|
397
410
|
.spw-topbar__logo-icon {
|
|
398
411
|
width: 37px;
|
|
399
412
|
height: 41px;
|
|
413
|
+
min-width: 37px;
|
|
414
|
+
}
|
|
415
|
+
.spw-topbar ::slotted([slot=right]) {
|
|
416
|
+
display: none;
|
|
417
|
+
}
|
|
418
|
+
@media (min-width: 1024px) {
|
|
419
|
+
.spw-topbar ::slotted([slot=right]) {
|
|
420
|
+
display: block;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
.spw-topbar ::slotted([slot=right-mobile]) {
|
|
424
|
+
display: block;
|
|
425
|
+
}
|
|
426
|
+
@media (min-width: 1024px) {
|
|
427
|
+
.spw-topbar ::slotted([slot=right-mobile]) {
|
|
428
|
+
display: none;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
.spw-topbar .spw-topbar__site-title,
|
|
432
|
+
.spw-topbar ::slotted([slot=logo]) {
|
|
433
|
+
font-family: "Arial";
|
|
434
|
+
font-weight: bold;
|
|
435
|
+
letter-spacing: -1px;
|
|
436
|
+
color: var(--spw-colors-support-grey-grey-900);
|
|
437
|
+
line-height: 1.1;
|
|
438
|
+
font-size: 22px;
|
|
439
|
+
}
|
|
440
|
+
@media (min-width: 1024px) {
|
|
441
|
+
.spw-topbar .spw-topbar__site-title,
|
|
442
|
+
.spw-topbar ::slotted([slot=logo]) {
|
|
443
|
+
font-size: 30px;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
.spw-topbar__title-border {
|
|
447
|
+
position: absolute;
|
|
448
|
+
height: 4px;
|
|
449
|
+
width: 100%;
|
|
450
|
+
display: block;
|
|
451
|
+
bottom: -16px;
|
|
452
|
+
left: 0;
|
|
400
453
|
}
|
|
401
454
|
.spw-topbar__title {
|
|
455
|
+
display: none;
|
|
402
456
|
max-width: 160px;
|
|
403
457
|
font-weight: normal;
|
|
404
458
|
color: var(--spw-colors-support-grey-grey-600);
|
|
405
459
|
font-size: 12px;
|
|
406
460
|
line-height: 1.1;
|
|
461
|
+
}
|
|
462
|
+
@media (min-width: 1024px) {
|
|
463
|
+
.spw-topbar__title {
|
|
464
|
+
display: block;
|
|
465
|
+
}
|
|
407
466
|
}
|