@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
|
@@ -525,10 +525,20 @@ template {
|
|
|
525
525
|
color: var(--spw-ds-primary);
|
|
526
526
|
text-decoration: var(--spw-button-text-decoration-tertiary) !important;
|
|
527
527
|
text-underline-offset: 2px;
|
|
528
|
+
white-space: normal;
|
|
529
|
+
text-wrap: wrap;
|
|
530
|
+
text-align: left;
|
|
531
|
+
line-height: 1.3;
|
|
532
|
+
}
|
|
533
|
+
.spw-button--tertiary .spw-button__inner-text {
|
|
534
|
+
justify-content: flex-start;
|
|
528
535
|
}
|
|
529
536
|
.spw-button--tertiary:not([disabled]):hover, .spw-button--tertiary:not([disabled]):active {
|
|
530
537
|
text-decoration-thickness: 2px !important;
|
|
531
538
|
}
|
|
539
|
+
.spw-button--tertiary:not([disabled]):hover {
|
|
540
|
+
color: var(--spw-ds-variant);
|
|
541
|
+
}
|
|
532
542
|
.spw-button--tertiary:not([disabled]):active {
|
|
533
543
|
color: var(--spw-ds-active);
|
|
534
544
|
}
|
|
@@ -551,34 +561,20 @@ template {
|
|
|
551
561
|
}
|
|
552
562
|
|
|
553
563
|
/* Surface dark */
|
|
554
|
-
.spw-button--surface-dark {
|
|
555
|
-
box-shadow: var(--spw-effect-elevation-8);
|
|
556
|
-
}
|
|
557
|
-
.spw-button--surface-dark:not([disabled]):active {
|
|
558
|
-
box-shadow: var(--spw-effect-elevation-active-0), var(--spw-effect-elevation-active-1), var(--spw-effect-elevation-active-2);
|
|
559
|
-
}
|
|
560
|
-
.spw-button--surface-dark[disabled] {
|
|
561
|
-
box-shadow: none;
|
|
562
|
-
}
|
|
563
564
|
.spw-button--surface-dark.spw-button--primary {
|
|
564
565
|
color: var(--spw-colors-support-grey-grey-900);
|
|
565
|
-
border-color:
|
|
566
|
+
border-color: transparent;
|
|
566
567
|
background: var(--spw-ds-white);
|
|
567
568
|
}
|
|
568
569
|
.spw-button--surface-dark.spw-button--primary:not([disabled]):hover {
|
|
569
|
-
background:
|
|
570
|
-
color: var(--spw-ds-white);
|
|
571
|
-
border-color: var(--spw-ds-white);
|
|
570
|
+
background: var(--spw-colors-support-grey-grey-300);
|
|
572
571
|
}
|
|
573
572
|
.spw-button--surface-dark.spw-button--primary:not([disabled]):active {
|
|
574
|
-
background:
|
|
575
|
-
color: var(--spw-colors-support-grey-grey-500);
|
|
576
|
-
border-color: var(--spw-colors-support-grey-grey-500);
|
|
573
|
+
background: var(--spw-colors-support-grey-grey-400);
|
|
577
574
|
}
|
|
578
575
|
.spw-button--surface-dark.spw-button--primary[disabled] {
|
|
579
|
-
border-color: var(--spw-colors-support-grey-grey-700);
|
|
580
|
-
background: var(--spw-colors-support-grey-grey-700);
|
|
581
576
|
color: var(--spw-colors-support-grey-grey-800);
|
|
577
|
+
background: var(--spw-colors-support-grey-grey-600);
|
|
582
578
|
}
|
|
583
579
|
.spw-button--surface-dark.spw-button--primary spw-loading {
|
|
584
580
|
--spw-loading-border-color: var(--spw-colors-support-grey-grey-300);
|
|
@@ -590,19 +586,14 @@ template {
|
|
|
590
586
|
border-color: var(--spw-ds-white);
|
|
591
587
|
}
|
|
592
588
|
.spw-button--surface-dark.spw-button--secondary:not([disabled]):hover {
|
|
593
|
-
|
|
594
|
-
border-color: var(--spw-ds-white);
|
|
595
|
-
background: var(--spw-ds-white);
|
|
589
|
+
background: rgba(0, 0, 0, 0.3);
|
|
596
590
|
}
|
|
597
591
|
.spw-button--surface-dark.spw-button--secondary:not([disabled]):active {
|
|
598
|
-
|
|
599
|
-
border-color: var(--spw-colors-support-grey-grey-400);
|
|
600
|
-
background: var(--spw-colors-support-grey-grey-400);
|
|
592
|
+
background: rgba(0, 0, 0, 0.5);
|
|
601
593
|
}
|
|
602
594
|
.spw-button--surface-dark.spw-button--secondary[disabled] {
|
|
603
595
|
border-color: var(--spw-colors-support-grey-grey-700);
|
|
604
|
-
|
|
605
|
-
color: var(--spw-colors-support-grey-grey-800);
|
|
596
|
+
color: var(--spw-colors-support-grey-grey-700);
|
|
606
597
|
}
|
|
607
598
|
.spw-button--surface-dark.spw-button--secondary spw-loading {
|
|
608
599
|
--spw-loading-border-color: rgba(255, 255, 255, 0.2);
|
|
@@ -615,6 +606,9 @@ template {
|
|
|
615
606
|
.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover, .spw-button--surface-dark.spw-button--tertiary:not([disabled]):active {
|
|
616
607
|
box-shadow: none;
|
|
617
608
|
}
|
|
609
|
+
.spw-button--surface-dark.spw-button--tertiary:not([disabled]):hover {
|
|
610
|
+
color: var(--spw-ds-white);
|
|
611
|
+
}
|
|
618
612
|
.spw-button--surface-dark.spw-button--tertiary:not([disabled]):active {
|
|
619
613
|
color: var(--spw-ds-primary);
|
|
620
614
|
}
|
|
@@ -627,35 +621,21 @@ template {
|
|
|
627
621
|
}
|
|
628
622
|
|
|
629
623
|
/* Surface primary */
|
|
630
|
-
.spw-button--surface-primary {
|
|
631
|
-
box-shadow: none;
|
|
632
|
-
}
|
|
633
|
-
.spw-button--surface-primary:not([disabled]):active {
|
|
634
|
-
box-shadow: none;
|
|
635
|
-
}
|
|
636
|
-
.spw-button--surface-primary[disabled] {
|
|
637
|
-
box-shadow: none;
|
|
638
|
-
}
|
|
639
624
|
.spw-button--surface-primary.spw-button--primary {
|
|
640
625
|
color: var(--spw-colors-support-grey-grey-900);
|
|
641
|
-
border-color:
|
|
626
|
+
border-color: transparent;
|
|
642
627
|
background: var(--spw-ds-white);
|
|
643
628
|
}
|
|
644
629
|
.spw-button--surface-primary.spw-button--primary:not([disabled]):hover {
|
|
645
|
-
background:
|
|
646
|
-
color:
|
|
647
|
-
border-color: var(--spw-ds-white);
|
|
630
|
+
background: rgba(255, 255, 255, 0.8);
|
|
631
|
+
border-color: transparent;
|
|
648
632
|
}
|
|
649
633
|
.spw-button--surface-primary.spw-button--primary:not([disabled]):active {
|
|
650
|
-
background:
|
|
651
|
-
color:
|
|
652
|
-
border-color: white;
|
|
653
|
-
opacity: 0.9;
|
|
634
|
+
background: var(--spw-ds-white);
|
|
635
|
+
border-color: transparent;
|
|
654
636
|
}
|
|
655
637
|
.spw-button--surface-primary.spw-button--primary[disabled] {
|
|
656
|
-
|
|
657
|
-
background: white;
|
|
658
|
-
color: var(--spw-colors-support-grey-grey-600);
|
|
638
|
+
color: var(--spw-colors-support-grey-grey-700);
|
|
659
639
|
opacity: 0.5;
|
|
660
640
|
}
|
|
661
641
|
.spw-button--surface-primary.spw-button--primary spw-loading {
|
|
@@ -668,20 +648,12 @@ template {
|
|
|
668
648
|
border-color: var(--spw-ds-white);
|
|
669
649
|
}
|
|
670
650
|
.spw-button--surface-primary.spw-button--secondary:not([disabled]):hover {
|
|
671
|
-
|
|
672
|
-
border-color: var(--spw-ds-white);
|
|
673
|
-
background: var(--spw-ds-white);
|
|
651
|
+
background: rgba(0, 0, 0, 0.2);
|
|
674
652
|
}
|
|
675
653
|
.spw-button--surface-primary.spw-button--secondary:not([disabled]):active {
|
|
676
|
-
|
|
677
|
-
border-color: white;
|
|
678
|
-
background: white;
|
|
679
|
-
opacity: 0.9;
|
|
654
|
+
background: rgba(0, 0, 0, 0.3);
|
|
680
655
|
}
|
|
681
656
|
.spw-button--surface-primary.spw-button--secondary[disabled] {
|
|
682
|
-
border-color: white;
|
|
683
|
-
background: white;
|
|
684
|
-
color: var(--spw-colors-support-grey-grey-600);
|
|
685
657
|
opacity: 0.5;
|
|
686
658
|
}
|
|
687
659
|
.spw-button--surface-primary.spw-button--secondary spw-loading {
|
|
@@ -689,15 +661,13 @@ template {
|
|
|
689
661
|
--spw-loading-spinner-color: white;
|
|
690
662
|
}
|
|
691
663
|
.spw-button--surface-primary.spw-button--tertiary {
|
|
692
|
-
box-shadow: none;
|
|
693
664
|
color: var(--spw-ds-white);
|
|
694
665
|
}
|
|
695
|
-
.spw-button--surface-primary.spw-button--tertiary:not([disabled]):hover
|
|
696
|
-
|
|
666
|
+
.spw-button--surface-primary.spw-button--tertiary:not([disabled]):hover {
|
|
667
|
+
color: var(--spw-ds-white);
|
|
697
668
|
}
|
|
698
669
|
.spw-button--surface-primary.spw-button--tertiary:not([disabled]):active {
|
|
699
|
-
color:
|
|
700
|
-
opacity: 0.9;
|
|
670
|
+
color: var(--spw-ds-active);
|
|
701
671
|
}
|
|
702
672
|
.spw-button--surface-primary.spw-button--tertiary[disabled] {
|
|
703
673
|
color: white;
|
|
@@ -714,22 +684,34 @@ template {
|
|
|
714
684
|
background: var(--spw-colors-support-grey-grey-500);
|
|
715
685
|
}
|
|
716
686
|
.spw-button--surface-light.spw-button--secondary {
|
|
687
|
+
background: transparent;
|
|
717
688
|
color: var(--spw-colors-support-grey-grey-900);
|
|
718
|
-
|
|
689
|
+
border-color: var(--spw-colors-support-grey-grey-900);
|
|
719
690
|
}
|
|
720
691
|
.spw-button--surface-light.spw-button--secondary:not([disabled]):hover {
|
|
721
|
-
|
|
692
|
+
color: var(--spw-colors-support-grey-grey-900);
|
|
693
|
+
border-color: var(--spw-colors-support-grey-grey-900);
|
|
694
|
+
background: rgba(0, 0, 0, 0.2);
|
|
722
695
|
}
|
|
723
696
|
.spw-button--surface-light.spw-button--secondary:not([disabled]):active {
|
|
724
|
-
|
|
697
|
+
color: white;
|
|
698
|
+
border-color: var(--spw-colors-support-grey-grey-900);
|
|
699
|
+
background: var(--spw-colors-support-grey-grey-900);
|
|
725
700
|
}
|
|
726
701
|
.spw-button--surface-light.spw-button--secondary[disabled] {
|
|
702
|
+
border-color: var(--spw-colors-support-grey-grey-600);
|
|
727
703
|
color: var(--spw-colors-support-grey-grey-600);
|
|
728
|
-
|
|
704
|
+
}
|
|
705
|
+
.spw-button--surface-light.spw-button--secondary spw-loading {
|
|
706
|
+
--spw-loading-border-color: rgba(255, 255, 255, 0.2);
|
|
707
|
+
--spw-loading-spinner-color: white;
|
|
729
708
|
}
|
|
730
709
|
.spw-button--surface-light.spw-button--tertiary {
|
|
731
710
|
color: var(--spw-colors-support-grey-grey-900);
|
|
732
711
|
}
|
|
712
|
+
.spw-button--surface-light.spw-button--tertiary:not([disabled]):hover {
|
|
713
|
+
color: var(--spw-colors-support-grey-grey-900);
|
|
714
|
+
}
|
|
733
715
|
.spw-button--surface-light.spw-button--tertiary:not([disabled]):active {
|
|
734
716
|
color: var(--spw-ds-primary);
|
|
735
717
|
}
|
|
@@ -419,6 +419,13 @@ template {
|
|
|
419
419
|
.spw-card--no-image.spw-card--event .spw-card__dates {
|
|
420
420
|
left: 15px;
|
|
421
421
|
}
|
|
422
|
+
.spw-card--news .spw-card__dates {
|
|
423
|
+
left: auto;
|
|
424
|
+
right: 16px;
|
|
425
|
+
top: 16px;
|
|
426
|
+
bottom: auto;
|
|
427
|
+
transform: none;
|
|
428
|
+
}
|
|
422
429
|
.spw-card__date-item {
|
|
423
430
|
text-align: center;
|
|
424
431
|
margin: 4px 0;
|
|
@@ -130,7 +130,7 @@ export class SpwCard {
|
|
|
130
130
|
'aria-label': this === null || this === void 0 ? void 0 : this.accAriaLabel,
|
|
131
131
|
'aria-disabled': this.disabled ? 'true' : null,
|
|
132
132
|
};
|
|
133
|
-
return (h(Host, { key: 'f95a6ae6c3605ceedbd161b4d7fd6ccb32b5c9a5', class: { '--is-full-height': this.fullHeight } }, h("article", { key: 'c0f5558843980898fc024c6a58ad4c5fc0874dae', class: this.elementClass }, variant === 'event' && (h(TagType, Object.assign({ key: '
|
|
133
|
+
return (h(Host, { key: 'f95a6ae6c3605ceedbd161b4d7fd6ccb32b5c9a5', class: { '--is-full-height': this.fullHeight } }, h("article", { key: 'c0f5558843980898fc024c6a58ad4c5fc0874dae', class: this.elementClass }, (variant === 'event' || variant === 'news') && (h(TagType, Object.assign({ key: 'b56469bf1b35f9407bd12b01155c7162b2a15b45' }, attrs, { class: { 'spw-card__dates': true, 'spw-card__dates--range': !!(dateStart && dateEnd), 'spw-card__dates--single': !!(dateStart && !dateEnd) } }), dateStart && (h("div", { key: '36b8b7445ef4c3824ef95a9f5df12ca27732a3da', class: "spw-card__date-item" }, h("div", { key: 'de92e7eb54af473d927181cbc03c27f590e4ed09', class: "spw-card__date-content" }, dateEnd && h("span", { key: '2a0c914e82cd5457ebf6a43190308841761a41b6', class: "spw-card__date-label" }, this.fromLabel), this.formatDate(dateStart)))), dateEnd && (h("div", { key: '45902a1bc90ccddf0e4a38e5d6729691853fee6b', class: "spw-card__date-item" }, h("div", { key: 'fa2fdefc3bbbdeb04fd826ede3e916146579d725', class: "spw-card__date-content" }, h("span", { key: '50ec4287a4b796947ad7c9675d4ca1e460fab5fc', class: "spw-card__date-label" }, this.toLabel), this.formatDate(dateEnd)))))), h(TagType, Object.assign({ key: '164517f886bfb6060e64693522267d6778ef61a3' }, attrs, ariaAttributes, { class: "spw-card__link" }), h("slot", { key: 'a94ef1805d867f4c91a63bd7bb1f4bfa6d732db1' })))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "spw-card"; }
|
|
136
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -483,25 +483,21 @@ export class SpwCustomSelect {
|
|
|
483
483
|
break;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
renderSuccessMessage() {
|
|
502
|
-
if (this.success) {
|
|
503
|
-
return (h("spw-field-message", { variant: "success", showIcon: this.showSuccessIcon, isExpandable: this.isExpandable, expandLabel: this.expandLabel, collapseLabel: this.collapseLabel }, this.success, h("slot", { name: "details", slot: "details" })));
|
|
504
|
-
}
|
|
486
|
+
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
487
|
+
renderMessages() {
|
|
488
|
+
const messages = [];
|
|
489
|
+
if (this.error)
|
|
490
|
+
messages.push({ variant: 'error', text: this.error, showIcon: this.showErrorIcon });
|
|
491
|
+
if (this.hint)
|
|
492
|
+
messages.push({ variant: 'hint', text: this.hint, showIcon: this.showHintIcon });
|
|
493
|
+
if (this.success)
|
|
494
|
+
messages.push({ variant: 'success', text: this.success, showIcon: this.showSuccessIcon });
|
|
495
|
+
if (this.warning)
|
|
496
|
+
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
497
|
+
return messages.map((m, i) => {
|
|
498
|
+
const isLast = i === messages.length - 1;
|
|
499
|
+
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" })));
|
|
500
|
+
});
|
|
505
501
|
}
|
|
506
502
|
get elementClass() {
|
|
507
503
|
const showCreate = this.showCreateButton();
|
|
@@ -580,19 +576,19 @@ export class SpwCustomSelect {
|
|
|
580
576
|
const filteredOptions = this.getFilteredOptions();
|
|
581
577
|
const showPlaceholder = this.showPlaceholder();
|
|
582
578
|
const showCreate = this.showCreateButton();
|
|
583
|
-
return (h("div", { key: '
|
|
579
|
+
return (h("div", { key: '358422a9b9a98c9c09f1d17fa7ba4080a7159afa', class: this.elementClass, ref: el => (this.host = el) }, this.label && (h("spw-field-label", { key: 'c03aec8b695cf0a825db43e68de0c5d73e2c3711', 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: 'e4443485205447a46a97d1416c4c20e7b7c50664', class: "spw-custom-select__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '470d2a5091f0ccc314b090d7da5c4dfa71e663e1', class: "spw-custom-select__wrapper" }, h("div", { key: '5b28939e3c2104610f982919c8dc7c4929157a44', class: "spw-custom-select__container", id: this.name, ref: el => (this.selectContainer = el), onClick: event => this.toggleDropdown(event), onKeyDown: event => this.handleKeyDown(event), tabindex: this.disabled ? -1 : 0 }, h("div", { key: 'c37c002dd4572207202670017b42c9944eddfbbe', class: "spw-custom-select__selected" }, this.isSearchVisible() && (h("div", { key: '5ca297ad620ec490a1b5d35b12eef662ef09a64c', class: "spw-custom-select__search" }, h("input", { key: 'f587c3ed01eccfc1ae99070bf9a751361615ca89', class: "spw-custom-select__search-input", placeholder: this.searchPlaceholder, onInput: event => this.handleSearchInput(event), value: this.searchText }), showCreate && this.isOpen && this.hasSelectedValue && (h("button", { key: '2c37918104f234acd59c5df67006e0f37d868f0b', class: "spw-custom-select__create-btn spw-custom-select__create-btn--big", type: "button", onMouseDown: (event) => {
|
|
584
580
|
event.preventDefault();
|
|
585
581
|
event.stopPropagation();
|
|
586
582
|
this.addCreatedOption(this.searchText);
|
|
587
|
-
} }, h("spw-icon", { key: '
|
|
583
|
+
} }, h("spw-icon", { key: '4476c023c17f721e093de039c70082113b168db6', icon: "fa-plus" }))))), showPlaceholder && h("span", { key: '1d917d4155dab1b047465e9793b63630a843cae0' }, this.placeholder), this.multiple && this.internalValue.length > 0 && (h("div", { key: '8bdd3159992bd8d00f7afb896b58003836e51ea8', class: "spw-custom-select__selected-items" }, this.internalValue.map(val => {
|
|
588
584
|
var _a;
|
|
589
585
|
return (h("span", { class: "spw-custom-select__selected-item" }, (_a = this.parsedOptions.find(option => String(option.value) === String(val))) === null || _a === void 0 ? void 0 :
|
|
590
586
|
_a.label, h("spw-icon", { icon: "fa-times", class: "spw-custom-select__deselect-icon", onClick: event => this.selectOption(val, event) })));
|
|
591
|
-
}))), !this.multiple && h("span", { key: '
|
|
587
|
+
}))), !this.multiple && h("span", { key: '2334df86497700a0e25ef4a1ee68115af3bc349d' }, this.getSelectedLabels()))), h("div", { key: '98d6b1565b711b28fbb348ee2877bba0e3590ba1', class: "spw-custom-select__icons" }, showCreate && !(this.isOpen && this.hasSelectedValue) && (h("button", { key: 'f0e2e6e174ed5b030a2f9f4f1e82f9960b95a211', class: "spw-custom-select__create-btn", type: "button", onMouseDown: (event) => {
|
|
592
588
|
event.preventDefault();
|
|
593
589
|
event.stopPropagation();
|
|
594
590
|
this.addCreatedOption(this.searchText);
|
|
595
|
-
} }, h("spw-icon", { key: '
|
|
591
|
+
} }, h("spw-icon", { key: '9b2f777e859c8be971dc7a069aae7822aa3c6ab1', icon: "fa-plus" }))), this.isClear && (this.hasSelectedValue || !!this.searchText) && (h("span", { key: 'e9a9553430abc3ac47f966fd4a132dbcaf9e2931', class: "spw-custom-select__clear", onClick: event => this.handleClear(event) }, h("spw-icon", { key: '98169855a2c9ff794e6897c96f27bff254464592', icon: "fa-xmark" }))), h("div", { key: 'e7bac72b7a065e1e35e2a016f0f985600caa43b2', class: "spw-custom-select__arrow" }, h("spw-icon", { key: 'b7ce78ce337e69778035b5d53823c0265772de5c', icon: this.isOpen ? 'fa-chevron-up' : 'fa-chevron-down' }))), this.isOpen && (h("div", { key: '932a38100e78e64707f2d9014e381be024e9495c', class: {
|
|
596
592
|
'spw-custom-select__options': true,
|
|
597
593
|
[`spw-custom-select__options--${this.dropdownDirection}`]: true,
|
|
598
594
|
'spw-custom-select__options--fixed': this.fixedDropdown,
|
|
@@ -603,7 +599,7 @@ export class SpwCustomSelect {
|
|
|
603
599
|
left: `${this.dropdownPosition.left}px`,
|
|
604
600
|
width: `${this.dropdownPosition.width}px`,
|
|
605
601
|
}
|
|
606
|
-
: {} }, h("div", { key: '
|
|
602
|
+
: {} }, h("div", { key: 'b6bfe9801edf04781cf0e90b3d4df21749f885b6', class: "spw-custom-select__options-list" }, !!filteredOptions.length && (h("ul", { key: '0d44ccae774e2dd839529508fc2971fb607e82b7' }, filteredOptions.map((option, index) => (h("li", { class: {
|
|
607
603
|
'spw-custom-select__option': true,
|
|
608
604
|
'spw-custom-select__option--selected': this.multiple
|
|
609
605
|
? this.internalValue.some(val => String(val) === String(option.value))
|
|
@@ -611,7 +607,7 @@ export class SpwCustomSelect {
|
|
|
611
607
|
'spw-custom-select__option--focused': index === this.focusedOptionIndex,
|
|
612
608
|
'spw-custom-select__option--disabled': option.disabled,
|
|
613
609
|
'spw-custom-select__option--created': !!option.created,
|
|
614
|
-
}, onClick: () => this.selectOption(option.value) }, this.multiple && (h("spw-checkbox", { onKeyDown: event => this.handleOptionKeyDown(event, option.value), class: "spw-custom-select__checkbox", checked: this.internalValue.some(val => String(val) === String(option.value)), disabled: option.disabled })), option.label, option.created && (h("spw-icon", { class: "spw-custom-select__option-remove", icon: "fa-trash", onClick: (event) => this.removeCreatedOption(option, event) }))))))), !filteredOptions.length && h("p", { key: '
|
|
610
|
+
}, onClick: () => this.selectOption(option.value) }, this.multiple && (h("spw-checkbox", { onKeyDown: event => this.handleOptionKeyDown(event, option.value), class: "spw-custom-select__checkbox", checked: this.internalValue.some(val => String(val) === String(option.value)), disabled: option.disabled })), option.label, option.created && (h("spw-icon", { class: "spw-custom-select__option-remove", icon: "fa-trash", onClick: (event) => this.removeCreatedOption(option, event) }))))))), !filteredOptions.length && h("p", { key: 'd7f15a608b4fe19c10ccf365f7647c9c0b831412', class: "spw-custom-select__no-results" }, this.noResultsText)), this.hasSlottedFooter && (h("div", { key: '1142b7c96b8a3e6b49a445cb4cfc5427620d1199', class: "spw-custom-select__options-footer" }, h("slot", { key: '487e3993d95680d914481695ada22ce6dbc7a250', name: "footer" })))))), this.renderMessages()));
|
|
615
611
|
}
|
|
616
612
|
static get is() { return "spw-custom-select"; }
|
|
617
613
|
static get encapsulation() { return "shadow"; }
|
|
@@ -898,6 +898,22 @@ export class SpwDatePicker {
|
|
|
898
898
|
this.dateChange.emit({ value: this.value, date: dateToEmit });
|
|
899
899
|
this.updateRangeConstraints();
|
|
900
900
|
}
|
|
901
|
+
// isExpandable (details slot) uniquement sur le dernier message affiché
|
|
902
|
+
renderMessages() {
|
|
903
|
+
const messages = [];
|
|
904
|
+
if (this.error)
|
|
905
|
+
messages.push({ variant: 'error', text: this.error, showIcon: this.showErrorIcon });
|
|
906
|
+
if (this.hint)
|
|
907
|
+
messages.push({ variant: 'hint', text: this.hint, showIcon: this.showHintIcon });
|
|
908
|
+
if (this.success)
|
|
909
|
+
messages.push({ variant: 'success', text: this.success, showIcon: this.showSuccessIcon });
|
|
910
|
+
if (this.warning)
|
|
911
|
+
messages.push({ variant: 'warning', text: this.warning, showIcon: this.showWarningIcon });
|
|
912
|
+
return messages.map((m, i) => {
|
|
913
|
+
const isLast = i === messages.length - 1;
|
|
914
|
+
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" })));
|
|
915
|
+
});
|
|
916
|
+
}
|
|
901
917
|
render() {
|
|
902
918
|
const inputClass = {
|
|
903
919
|
'spw-date-picker__input': true,
|
|
@@ -910,7 +926,7 @@ export class SpwDatePicker {
|
|
|
910
926
|
'spw-date-picker--is-clear': this.isClearIconVisible,
|
|
911
927
|
};
|
|
912
928
|
const errorMessage = this.error || this.internalError;
|
|
913
|
-
return (h(Host, { key: '
|
|
929
|
+
return (h(Host, { key: '5955d70f961ed5e105ff020c78c856eb96992eb1' }, h("div", { key: 'e0dab771bbff96b83de4da985c24a9462b0417b2', class: containerClass }, this.label && (h("spw-field-label", { key: '754992beb8b04fb001f0e8d2b7cc92353c7588b4', label: this.label, 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: '7abf65973a626621bce3dce5d6465be91c1737a6', class: "spw-date-picker__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '93963d8f8dbbef0256953a41aa041bb5de48708f', class: "spw-date-picker__input-container" }, h("input", { key: '751c01e03a22f0a11e23b37a4135735dc3ef1533', ref: el => (this.inputElement = el), id: this.uniqueId, type: "text", class: inputClass, value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, required: this.required, onFocus: this.handleInputFocus, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, "aria-label": this.accAriaLabel || this.label || this.name, "aria-describedby": this.assistiveText || errorMessage ? `${this.uniqueId}-help ${this.uniqueId}-error` : undefined, "aria-invalid": this.hasError }), h("div", { key: '7fa138207f199962010e53f07d98b24448427629', class: "spw-date-picker__icons" }, this.isClearIconVisible && (h("span", { key: 'b1c82234eb5409d03097956aaba6b27ec25569da', class: "spw-date-picker__clear", onClick: this.handleClear }, h("spw-icon", { key: '6d5be28b1e4cf1b767a680ae4d622ab68d2f1a5b', class: "spw-date-picker__icon spw-date-picker__icon--clear", icon: "fa-xmark" }))), h("span", { key: '0099ffd2a57954568cdddac457fe792e7b9c97bd', class: "spw-date-picker__calendar-trigger", onMouseDown: this.handleCalendarIconMouseDown, onClick: this.handleCalendarIconClick }, h("spw-icon", { key: '44ff7f5577e1bc73df0dc1df75553dc2289502a8', icon: "fa-calendar", variant: "fa-regular", class: "spw-date-picker__icon spw-date-picker__icon--calendar" })))), this.renderMessages())));
|
|
914
930
|
}
|
|
915
931
|
static get is() { return "spw-date-picker"; }
|
|
916
932
|
static get encapsulation() { return "shadow"; }
|
|
@@ -216,13 +216,13 @@ export class SpwDrawer {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
|
-
return (h(Host, { key: '
|
|
219
|
+
return (h(Host, { key: '0a6a6ac65023c0297195a8f64d3865d65c17dbaf' }, h("div", { key: '3217a678f8d16d16a98e08740098d3003b5b8e84', class: this.containerClass }, this.modal && h("div", { key: '602cf69f04637c915392bcbdba352efd93b1dd94', class: "spw-drawer__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: '57d02c42df508a9d45fcc5c0db42535f93eaa305', ref: el => (this.drawerPanel = el), class: this.panelClass, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '7fcfb05bc737699a6cae0867d1a761cd3d324b06', class: "spw-drawer__header" }, this.showCaption && h("h2", { key: '659f7175cc6eda8fbb709c016246ecdb856b5a4c', class: "spw-drawer__caption" }, this.caption), this.showCloseButton && (h("div", { key: 'e9751f85a59804f58af890413ab268f3d5c5459f', class: "spw-drawer__close-button", ref: el => (this.closeButtonEl = el), tabindex: "0", role: "button", onClick: () => this.doBeforeClose('CLOSE_BUTTON'), onKeyDown: (e) => (e.key === 'Enter' || e.key === ' ') && this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: '5c4a7bcb9541e50c8eb59e8a77f0b5a58bde4b02', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: 'dbd1a9e03b2103f7d89e8b0865d98f85d9305e81', class: "spw-drawer__body", ref: el => (this.drawerContent = el) }, h("slot", { key: '917e8eddd7a051960dc6a03b418f8bbd5059197d', name: "content" })), h("div", { key: '837566c0a01191c78aa575eb1c6a5d31f34670c3', class: {
|
|
220
220
|
'spw-drawer__footer': true,
|
|
221
221
|
'spw-drawer__footer--present': this.slotFooterPresent,
|
|
222
|
-
} }, h("slot", { key: '
|
|
222
|
+
} }, h("slot", { key: '9e84e715b6004766d65e0237bee769566e6ea872', name: "footer", onSlotchange: (e) => {
|
|
223
223
|
const slot = e.target;
|
|
224
224
|
this.slotFooterPresent = slot.assignedNodes({ flatten: true }).length > 0;
|
|
225
|
-
} }))), h("div", { key: '
|
|
225
|
+
} }))), h("div", { key: 'f630d54786270a8045c89e29a12ba121ade8ee43', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
|
|
226
226
|
}
|
|
227
227
|
static get is() { return "spw-drawer"; }
|
|
228
228
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwDropdownContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c5dfb232a53c88f23dc1f974696f811c85fecf57' }, h("div", { key: 'ae76d1933e3eaef179cf85e5acfb3f8796c7034d', class: "spw-dropdown-container" }, h("slot", { key: 'd926f30cc13d7fbb323a2dd562b1eea8c2f59b8c' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-dropdown-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class SpwDropdownItem {
|
|
|
83
83
|
'spw-dropdown-item__toggle': true,
|
|
84
84
|
'spw-dropdown-item__toggle--open': this.subItemsOpen,
|
|
85
85
|
};
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '6039aa657a6a4db77a2f7fe05580750976f43b1d' }, h(Tag, { key: 'b8f28edf44a169543128afd2ff7291fbf7f0bff2', class: this.classes, href: this.href, "aria-disabled": this.disabled ? 'true' : undefined, role: "menuitem", tabindex: this.disabled ? -1 : 0, onClick: this.handleItemClick, onKeyDown: this.handleItemKeyDown }, this.icon && (h("div", { key: 'f3081d688b106ffc98f439a1abc79e51a1570c67', class: "spw-dropdown-item__icon" }, h("spw-icon", { key: 'ad828fc45782d76ddb2bd9c8014a9d9e805b79a2', variant: this.iconVariant, icon: this.icon }))), h("div", { key: 'd681cb0b6b24cc5b5acd9dcbf356893d4c983af1', class: "spw-dropdown-item__content" }, h("div", { key: '333a617fd17f08260deb110c8b15c828d6bb49a0', class: "spw-dropdown-item__label" }, h("slot", { key: '2ad02cc8624cf9304f84c35b95018274b2fcdcae' })), this.hasSubItems && (h("div", { key: '5a1f2412aa066ebe611751d3e7c04ebee10ffdbf', class: toggleClasses, onClick: this.handleToggleSubItems }, h("spw-icon", { key: 'ad714af7ecad526a71936f861b9c3078a3f87276', icon: "fa-chevron-down" }))))), this.hasSubItems && (h("div", { key: '5b75116726c0d8d1b3d481c5ec7cfa6e2468cc45', class: "spw-dropdown-item__sub-items", style: { display: this.subItemsOpen ? 'block' : 'none' } }, h("slot", { key: '6aa46fa63137c6ce465ee8907ea85aa622512059', name: "sub-items" })))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "spw-dropdown-item"; }
|
|
89
89
|
static get originalStyleUrls() {
|
|
@@ -233,7 +233,7 @@ export class SpwDropdown {
|
|
|
233
233
|
dropdown.style.visibility = 'visible';
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
|
-
return (h("div", { key: '
|
|
236
|
+
return (h("div", { key: '178def035dab4df44facbf82315c29d982e065bb', class: "spw-dropdown__trigger", onClick: () => (this.open = !this.open), "aria-expanded": this.open ? 'true' : 'false', "aria-haspopup": "menu" }, h("slot", { key: 'a86d20cea8f68aa750dbb7d7aeba0e13c01f5edc' })));
|
|
237
237
|
}
|
|
238
238
|
static get is() { return "spw-dropdown"; }
|
|
239
239
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class SpwFieldLabel {
|
|
|
21
21
|
return !!(this.tooltipText || this.tooltipTitle);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'c52052ffddf2165799a5b1e8cff0819aceeff91c' }, h("label", { key: '4a10f27fc26d352d94c1f58920883fe9bd6987f1', class: "spw-field-label", htmlFor: this.name, onClick: this.handleClick }, h("span", { key: '8ff780a360a11dd807d5699bf85366c9def3200f', class: "spw-field-label__text" }, this.label), this.hasTooltip && (h("spw-tooltip", { key: 'fe27fc64947802a3f37b589aa43b4074961cc650', tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, maxWidth: this.tooltipMaxWidth, direction: this.tooltipDirection, cursor: this.tooltipCursor }, h("spw-icon", { key: '44912845596090f2d5e69a32a9600c62ef8e175c', variant: "fa-regular", icon: "fa-circle-info", class: "spw-field-label__icon" }))), this.required && h("span", { key: 'de283f3b520ec7c4b1b4571fbecef935bb3fd499', class: "spw-field-label__required" }, "*"))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "spw-field-label"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -392,7 +392,7 @@ template {
|
|
|
392
392
|
line-height: 1.5;
|
|
393
393
|
}
|
|
394
394
|
.spw-field-message__expandable {
|
|
395
|
-
margin-top:
|
|
395
|
+
margin-top: 6px;
|
|
396
396
|
}
|
|
397
397
|
.spw-field-message__expandable spw-link {
|
|
398
398
|
user-select: none;
|
|
@@ -405,23 +405,11 @@ template {
|
|
|
405
405
|
.spw-field-message__details {
|
|
406
406
|
margin: 6px 0;
|
|
407
407
|
padding: 16px;
|
|
408
|
-
border: 1px solid
|
|
408
|
+
border: 1px solid var(--spw-colors-support-grey-grey-300);
|
|
409
409
|
background: var(--spw-colors-support-grey-grey-50);
|
|
410
410
|
border-radius: 4px;
|
|
411
411
|
color: var(--spw-colors-support-grey-grey-800);
|
|
412
412
|
}
|
|
413
|
-
.spw-field-message--error .spw-field-message__details {
|
|
414
|
-
border-color: var(--spw-color-states-error-error-300);
|
|
415
|
-
}
|
|
416
|
-
.spw-field-message--warning .spw-field-message__details {
|
|
417
|
-
border-color: var(--spw-color-themes-orange-orange-500);
|
|
418
|
-
}
|
|
419
|
-
.spw-field-message--success .spw-field-message__details {
|
|
420
|
-
border-color: var(--spw-color-states-success-success-500);
|
|
421
|
-
}
|
|
422
|
-
.spw-field-message--hint .spw-field-message__details {
|
|
423
|
-
border-color: var(--spw-colors-support-grey-grey-300);
|
|
424
|
-
}
|
|
425
413
|
.spw-field-message__details--hidden {
|
|
426
414
|
display: none;
|
|
427
415
|
}
|
|
@@ -37,7 +37,7 @@ export class SpwFieldMessage {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const { isExpandable, isExpanded, expandLabel, collapseLabel } = this;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '0eca782d02fd33f6d1c3aec9f757285c90d56e9d' }, h("div", { key: '1cb65229cdf9af52e35bab2c4ba6e80426266203', class: this.elementClass }, this.showIcon && (h("div", { key: 'a2fcb8f1c07596e86eab0958e6d21729fa83190a', class: "spw-field-message__icon" }, h("spw-icon", { key: '8db298fb8a078dea7f2d11df574bbc90d26e9068', icon: this.variantIcon }))), h("span", { key: '4de975363a2c1edf52f7f8705f2975e3829526fd', class: "spw-field-message__text" }, h("slot", { key: '1b7a99972dc56da986ee17c279c22b04f959581e' }), isExpandable && (h("div", { key: '723f3fc9b22c7ecb5d1c3f67ffb1fad2587b8924', class: "spw-field-message__expandable" }, h("div", { key: '3f37026e90095977ac6271e98dcc6ffa7ecc1e7a', class: { 'spw-field-message__details': true, 'spw-field-message__details--hidden': !isExpanded } }, h("slot", { key: '7cbf66a6c763a27e09bd3dfaee76ad8b20509a38', name: "details" })), h("spw-link", { key: 'b4269a46acc07330f293829f29883d1a1e6c5611', href: "#", icon: isExpanded ? 'fa-chevron-up' : 'fa-chevron-down', onClick: this.toggleExpanded }, isExpanded ? collapseLabel : expandLabel)))))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "spw-field-message"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -249,10 +249,10 @@ export class SpwFileUpload {
|
|
|
249
249
|
render() {
|
|
250
250
|
const inputTextNoDrop = this.multiple ? this.textChooseFiles : this.textChooseFile;
|
|
251
251
|
const inputTextDrop = this.multiple ? this.textDropFiles : this.textDropFile;
|
|
252
|
-
return (h("div", { key: '
|
|
252
|
+
return (h("div", { key: '04c9a5ce4a9819f292e7b78739b58f6669e3c9f7', class: this.elementClass, onDragOver: this.handleDragOver.bind(this), onDragLeave: this.handleDragLeave.bind(this), onDrop: this.handleDrop.bind(this) }, h("input", { key: '805d6de83cdba2201de81141290605163f15c82b', type: "file", ref: el => (this.inputElement = el), onChange: this.handleFileChange.bind(this), name: this.name, multiple: this.multiple, accept: this.accept, style: { display: 'none' }, disabled: this.isMaxFilesReached }), this.enableDropZone ? (h("div", { tabindex: this.disabled || this.isMaxFilesReached ? -1 : 0, onKeyDown: this.handleKeydown.bind(this), onClick: () => !this.disabled && !this.isMaxFilesReached && this.inputElement.click(), class: "spw-file-upload__dropzone" }, inputTextDrop, " ", h("span", { class: "spw-file-upload__dropzone-link" }, this.textChooseFromComputer))) : (h("spw-button", { variant: "secondary", onClick: () => !this.disabled && !this.isMaxFilesReached && this.inputElement.click(), disabled: this.disabled || this.isMaxFilesReached }, inputTextNoDrop)), h("div", { key: '7b70b5162ad53d084a474ba03f93cdb3d9cde1c9', class: "spw-file-upload__hints" }, this.hintsMessages.length > 0 && (h("ul", { key: 'fefdbf67a4e02c5c5cc98555581e9c1df68234ed' }, this.hintsMessages.map((message, index) => (h("li", { key: index }, message)))))), h("div", { key: '3eebd438cc820cdc195ef8c05c3da8e091454e4c', class: "spw-file-upload__info" }, this.selectedFiles.length > 0 ? (h("ul", { class: "spw-file-upload__info-list" }, this.selectedFiles.map((file, index) => (h("li", { key: index }, h("span", { class: "spw-file-upload__info-list-name" }, file.name), h("div", { class: "spw-file-upload__info-list-actions" }, h("span", { class: "spw-file-upload__spacing" }, formatFileSize(file.size)), h("a", { class: "spw-file-upload__info-list-delete", href: "#", onClick: e => {
|
|
253
253
|
e.preventDefault();
|
|
254
254
|
this.removeFile(index);
|
|
255
|
-
} }, this.textDelete))))))) : (''), this.fileLimitErrors.length > 0 && (h("ul", { key: '
|
|
255
|
+
} }, this.textDelete))))))) : (''), this.fileLimitErrors.length > 0 && (h("ul", { key: 'fa4df64dd8b66fb0d96600a28f1856d68801c387', class: `spw-file-upload__errors ${this.isMaxFilesReachedExact ? 'spw-file-upload__errors--warning' : ''}` }, this.fileLimitErrors.map((message, index) => (h("li", { key: index }, h("spw-icon", { class: "spw-file-upload__spacing", icon: this.isMaxFilesReachedExact ? 'fa-circle-exclamation' : 'fa-warning' }), message))))), this.fileTypeErrors.length > 0 && (h("ul", { key: '7c4fca9fec8a6487f0788df0bf7f5534fb0f2f9d', class: "spw-file-upload__errors" }, this.fileTypeErrors.map((message, index) => (h("li", { key: index }, h("spw-icon", { class: "spw-file-upload__spacing", icon: "fa-warning" }), message))))))));
|
|
256
256
|
}
|
|
257
257
|
static get is() { return "spw-file-upload"; }
|
|
258
258
|
static get encapsulation() { return "shadow"; }
|