@spw-ds/spw-stencil-library 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cem.json +186 -10
- package/dist/cjs/{index-D3lyhQSW.js → index-CfCTfMKB.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/spw-alert.cjs.entry.js +5 -12
- package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
- package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-box.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtag-item.cjs.entry.js +1 -1
- package/dist/cjs/spw-card-subtags.cjs.entry.js +2 -2
- package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
- package/dist/cjs/spw-card.cjs.entry.js +1 -1
- package/dist/cjs/spw-checkbox.cjs.entry.js +25 -3
- package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
- package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/spw-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/spw-drawer.cjs.entry.js +5 -5
- package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-field-label_8.cjs.entry.js +12 -12
- package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/spw-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-grid.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
- package/dist/cjs/spw-header.cjs.entry.js +4 -4
- package/dist/cjs/spw-hero.cjs.entry.js +4 -4
- package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
- package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-lightbox-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-lightbox.cjs.entry.js +3 -3
- package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-list.cjs.entry.js +2 -2
- package/dist/cjs/spw-message.cjs.entry.js +1 -1
- package/dist/cjs/spw-modal.cjs.entry.js +4 -4
- package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
- package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
- package/dist/cjs/spw-radio.cjs.entry.js +27 -3
- package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
- package/dist/cjs/spw-search-field.cjs.entry.js +34 -3
- package/dist/cjs/spw-select.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-sidenav-group.cjs.entry.js +4 -4
- package/dist/cjs/spw-sidenav-item.cjs.entry.js +5 -5
- package/dist/cjs/spw-sidenav.cjs.entry.js +3 -3
- package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-slider.cjs.entry.js +2 -2
- package/dist/cjs/spw-socials.cjs.entry.js +3 -3
- package/dist/cjs/spw-stencil-library.cjs.js +2 -2
- package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
- package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
- package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/spw-table.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
- package/dist/cjs/spw-tag.cjs.entry.js +2 -2
- package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
- package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
- package/dist/cjs/spw-tile.cjs.entry.js +2 -2
- package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast-controller.cjs.entry.js +3 -3
- package/dist/cjs/spw-toast.cjs.entry.js +1 -1
- package/dist/cjs/spw-toc-container.cjs.entry.js +7 -3
- package/dist/cjs/spw-toc-navigation.cjs.entry.js +2 -2
- package/dist/cjs/spw-toc.cjs.entry.js +3 -3
- package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
- package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
- package/dist/collection/components/spw-alert/spw-alert.css +32 -14
- package/dist/collection/components/spw-alert/spw-alert.js +6 -14
- package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.css +1 -1
- package/dist/collection/components/spw-checkbox/spw-checkbox.css +57 -0
- package/dist/collection/components/spw-checkbox/spw-checkbox.js +25 -3
- package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
- package/dist/collection/components/spw-drawer/spw-drawer.css +3 -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.css +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 +1 -1
- 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.css +48 -1
- package/dist/collection/components/spw-group/spw-group.js +5 -5
- 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.css +5 -2
- 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 +0 -6
- package/dist/collection/components/spw-header/spw-header.js +2 -2
- package/dist/collection/components/spw-hero/spw-hero.js +3 -3
- package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
- package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +5 -1
- 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.css +4 -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-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 +1 -1
- package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
- package/dist/collection/components/spw-radio/spw-radio.css +58 -0
- package/dist/collection/components/spw-radio/spw-radio.js +45 -1
- package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
- package/dist/collection/components/spw-search-field/spw-search-field.js +52 -6
- package/dist/collection/components/spw-select/spw-select.js +20 -1
- 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.css +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.css +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.css +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 +1 -1
- package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +3 -3
- package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
- 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.css +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 +20 -1
- package/dist/collection/components/spw-textarea/spw-textarea.js +20 -1
- package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
- package/dist/collection/components/spw-tile/spw-tile.js +1 -1
- package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
- package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
- package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.js +2 -2
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +5 -1
- package/dist/collection/components/spw-toc/spw-toc-navigation/spw-toc-navigation.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc.css +1 -1
- package/dist/collection/components/spw-toc/spw-toc.js +1 -1
- package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
- package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
- package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +2 -1
- package/dist/collection/stories/components/spw-box/spw-box.stories.js +2 -1
- package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +2 -1
- package/dist/collection/stories/components/spw-button/spw-button.stories.js +2 -1
- package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +60 -2
- package/dist/collection/stories/components/spw-date-picker/spw-date-picker.stories.js +2 -1
- package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +2 -1
- package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +2 -1
- package/dist/collection/stories/components/spw-file-upload/spw-file-upload.stories.js +2 -1
- package/dist/collection/stories/components/spw-icon/spw-icon.stories.js +2 -1
- package/dist/collection/stories/components/spw-input-slider/spw-input-slider.stories.js +2 -1
- package/dist/collection/stories/components/spw-link/spw-link.stories.js +2 -1
- package/dist/collection/stories/components/spw-loading/spw-loading.stories.js +2 -1
- package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +2 -1
- package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +97 -1
- package/dist/collection/stories/components/spw-scrolltop/spw-scrolltop.stories.js +2 -1
- package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +2 -1
- package/dist/collection/stories/components/spw-select/spw-select.stories.js +2 -1
- package/dist/collection/stories/components/spw-separator/spw-separator.stories.js +2 -1
- package/dist/collection/stories/components/spw-skeleton/spw-skeleton.stories.js +2 -1
- package/dist/collection/stories/components/spw-tag/spw-tag.stories.js +2 -1
- package/dist/collection/stories/components/spw-text-field/spw-text-field.stories.js +2 -1
- package/dist/collection/stories/components/spw-textarea/spw-textarea.stories.js +2 -1
- package/dist/collection/stories/components/spw-tooltip/spw-tooltip.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-alert/spw-alert.stories.js +30 -29
- package/dist/collection/stories/organisms/spw-drawer/spw-drawer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-footer/spw-footer.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-grid/spw-grid.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +47 -3
- package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +10 -5
- package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +4 -2
- package/dist/collection/stories/organisms/spw-message/spw-message.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-modal/spw-modal.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-sidebar/spw-sidebar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-tabs/spw-tabs.stories.js +12 -6
- package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-timeline/spw-timeline.stories.js +8 -4
- package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +2 -1
- package/dist/collection/stories/organisms/spw-wizard/spw-wizard.stories.js +10 -5
- package/dist/collection/utils/syntax.js +126 -0
- package/dist/collection/utils/utils.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DaITe5yi.js → p-B68Myli4.js} +1 -1
- package/dist/components/{p-4jNBpzmg.js → p-BCuU5Ywh.js} +1 -1
- package/dist/components/{p-C-XK7DW-.js → p-BrrQs_CF.js} +1 -1
- package/dist/components/{p-hfJhpq7W.js → p-CMrHIi6V.js} +1 -1
- package/dist/components/p-CZa7267G.js +1 -0
- package/dist/components/{p-BD9dpai3.js → p-CdYKps3q.js} +1 -1
- package/dist/components/{p-BvJ60OkW.js → p-Cjd09L60.js} +1 -1
- package/dist/components/p-CqWtzvF4.js +1 -0
- package/dist/components/{p-C5H3D_hy.js → p-DaUZrpCq.js} +1 -1
- package/dist/components/{p-10usqMv_.js → p-VmfmCYD6.js} +1 -1
- package/dist/components/p-oohA0YBK.js +1 -0
- package/dist/components/spw-accordion.js +1 -1
- package/dist/components/spw-alert.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-subtags.js +1 -1
- package/dist/components/spw-checkbox.js +1 -1
- package/dist/components/spw-cookies.js +1 -1
- package/dist/components/spw-custom-select.js +1 -1
- package/dist/components/spw-date-picker.js +1 -1
- package/dist/components/spw-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 +1 -1
- package/dist/components/spw-pagination.js +1 -1
- package/dist/components/spw-radio.js +1 -1
- package/dist/components/spw-scrolltop.js +1 -1
- package/dist/components/spw-search-field.js +1 -1
- package/dist/components/spw-select.js +1 -1
- package/dist/components/spw-separator.js +1 -1
- package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
- package/dist/components/spw-sidebar-navigation-item.js +1 -1
- package/dist/components/spw-sidebar-navigation-separator.js +1 -1
- package/dist/components/spw-sidebar.js +1 -1
- package/dist/components/spw-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-toast-controller.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 +252 -12
- package/dist/components_vscode.json +5585 -0
- package/dist/esm/{index-DkNryMko.js → index-mthi2pFj.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/spw-accordion_4.entry.js +1 -1
- package/dist/esm/spw-alert.entry.js +5 -12
- package/dist/esm/spw-avatar.entry.js +1 -1
- package/dist/esm/spw-block-content.entry.js +1 -1
- package/dist/esm/spw-box.entry.js +1 -1
- package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
- package/dist/esm/spw-breadcrumb.entry.js +1 -1
- package/dist/esm/spw-button_2.entry.js +2 -2
- package/dist/esm/spw-card-content.entry.js +1 -1
- package/dist/esm/spw-card-excerpt.entry.js +1 -1
- package/dist/esm/spw-card-image.entry.js +1 -1
- package/dist/esm/spw-card-subtag-item.entry.js +1 -1
- package/dist/esm/spw-card-subtags.entry.js +2 -2
- package/dist/esm/spw-card-title.entry.js +1 -1
- package/dist/esm/spw-card.entry.js +1 -1
- package/dist/esm/spw-checkbox.entry.js +25 -3
- package/dist/esm/spw-cookies.entry.js +1 -1
- package/dist/esm/spw-custom-select.entry.js +1 -1
- package/dist/esm/spw-date-picker.entry.js +2 -2
- package/dist/esm/spw-drawer.entry.js +5 -5
- package/dist/esm/spw-dropdown-container.entry.js +2 -2
- package/dist/esm/spw-dropdown-item.entry.js +3 -3
- package/dist/esm/spw-dropdown.entry.js +2 -2
- package/dist/esm/spw-field-label_8.entry.js +12 -12
- package/dist/esm/spw-file-upload.entry.js +3 -3
- package/dist/esm/spw-footer-bottom.entry.js +2 -2
- package/dist/esm/spw-footer-content-col.entry.js +2 -2
- package/dist/esm/spw-footer-content.entry.js +2 -2
- package/dist/esm/spw-footer-link.entry.js +2 -2
- package/dist/esm/spw-footer.entry.js +2 -2
- package/dist/esm/spw-grid-item.entry.js +3 -3
- package/dist/esm/spw-grid.entry.js +3 -3
- package/dist/esm/spw-header-lang.entry.js +2 -2
- package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
- package/dist/esm/spw-header-navigation-item.entry.js +3 -3
- package/dist/esm/spw-header-navigation.entry.js +2 -2
- package/dist/esm/spw-header-persona-item.entry.js +2 -2
- package/dist/esm/spw-header-persona.entry.js +2 -2
- package/dist/esm/spw-header.entry.js +4 -4
- package/dist/esm/spw-hero.entry.js +4 -4
- package/dist/esm/spw-illustration.entry.js +1 -1
- package/dist/esm/spw-input-slider.entry.js +2 -2
- package/dist/esm/spw-lightbox-item.entry.js +3 -3
- package/dist/esm/spw-lightbox.entry.js +3 -3
- package/dist/esm/spw-list-description.entry.js +2 -2
- package/dist/esm/spw-list-item.entry.js +2 -2
- package/dist/esm/spw-list-title.entry.js +2 -2
- package/dist/esm/spw-list.entry.js +2 -2
- package/dist/esm/spw-message.entry.js +1 -1
- package/dist/esm/spw-modal.entry.js +4 -4
- package/dist/esm/spw-mosaic-item.entry.js +2 -2
- package/dist/esm/spw-mosaic.entry.js +2 -2
- package/dist/esm/spw-pagination.entry.js +7 -7
- package/dist/esm/spw-radio.entry.js +27 -3
- package/dist/esm/spw-scrolltop.entry.js +2 -2
- package/dist/esm/spw-search-field.entry.js +34 -3
- package/dist/esm/spw-select.entry.js +2 -2
- package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +3 -3
- package/dist/esm/spw-sidebar-navigation-item.entry.js +5 -5
- package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
- package/dist/esm/spw-sidebar.entry.js +2 -2
- package/dist/esm/spw-sidenav-group.entry.js +4 -4
- package/dist/esm/spw-sidenav-item.entry.js +5 -5
- package/dist/esm/spw-sidenav.entry.js +3 -3
- package/dist/esm/spw-skeleton.entry.js +2 -2
- package/dist/esm/spw-slider-item.entry.js +2 -2
- package/dist/esm/spw-slider.entry.js +2 -2
- package/dist/esm/spw-socials.entry.js +3 -3
- package/dist/esm/spw-stencil-library.js +3 -3
- package/dist/esm/spw-table-body.entry.js +2 -2
- package/dist/esm/spw-table-cell.entry.js +2 -2
- package/dist/esm/spw-table-container.entry.js +2 -2
- package/dist/esm/spw-table-footer.entry.js +2 -2
- package/dist/esm/spw-table-head.entry.js +2 -2
- package/dist/esm/spw-table-header.entry.js +3 -3
- package/dist/esm/spw-table-row.entry.js +2 -2
- package/dist/esm/spw-table-sidebar.entry.js +2 -2
- package/dist/esm/spw-table.entry.js +1 -1
- package/dist/esm/spw-tabs-content.entry.js +1 -1
- package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
- package/dist/esm/spw-tabs-navigation.entry.js +2 -2
- package/dist/esm/spw-tabs.entry.js +2 -2
- package/dist/esm/spw-tag.entry.js +2 -2
- package/dist/esm/spw-text-field.entry.js +2 -2
- package/dist/esm/spw-textarea.entry.js +2 -2
- package/dist/esm/spw-tile-description.entry.js +2 -2
- package/dist/esm/spw-tile-title.entry.js +2 -2
- package/dist/esm/spw-tile.entry.js +2 -2
- package/dist/esm/spw-timeline-item.entry.js +3 -3
- package/dist/esm/spw-timeline.entry.js +3 -3
- package/dist/esm/spw-toast-controller.entry.js +3 -3
- package/dist/esm/spw-toast.entry.js +1 -1
- package/dist/esm/spw-toc-container.entry.js +7 -3
- package/dist/esm/spw-toc-navigation.entry.js +2 -2
- package/dist/esm/spw-toc.entry.js +3 -3
- package/dist/esm/spw-topbar.entry.js +2 -2
- package/dist/esm/spw-wizard-item.entry.js +2 -2
- package/dist/esm/spw-wizard.entry.js +2 -2
- package/dist/spw-stencil-library/p-00bbd54f.entry.js +1 -0
- package/dist/spw-stencil-library/p-020b4537.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8a0cf2d4.entry.js → p-0647a776.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3bcafcbf.entry.js → p-0696997f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2f667f7.entry.js → p-0a0b5695.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdea1755.entry.js → p-0c33cd7d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-33a767a3.entry.js → p-0e4056ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9c747e12.entry.js → p-10f42f45.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9a839525.entry.js → p-154a2f90.entry.js} +1 -1
- package/dist/spw-stencil-library/p-17d35cee.entry.js +1 -0
- package/dist/spw-stencil-library/{p-b98b556b.entry.js → p-1bdf3e61.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-77a95d12.entry.js → p-1da399ed.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e27e96a2.entry.js → p-1dc8918c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1d57cc99.entry.js → p-1e4878b8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8b631b5d.entry.js → p-235a9a01.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-35c26140.entry.js → p-2417cbbb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-03c76e20.entry.js → p-243061e9.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4898b89b.entry.js → p-29e1b7ba.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6a6b2237.entry.js → p-2b1e084f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6aef58f4.entry.js → p-2cbb997d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a4a4c3b3.entry.js → p-361f6350.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5c50027b.entry.js → p-3777bccc.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ee69af5f.entry.js → p-39643956.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5a55e5c5.entry.js → p-39add31f.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a9c3f05b.entry.js → p-3ad5c457.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-9baceb97.entry.js → p-3ad6d6f0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ccbe0d67.entry.js → p-3f1f7fbb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c20c15d5.entry.js → p-3f83cca0.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c6298162.entry.js → p-455036fe.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4e15e0c1.entry.js → p-4774338c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-83017509.entry.js → p-4a06e37f.entry.js} +1 -1
- package/dist/spw-stencil-library/p-4b0db9bd.entry.js +1 -0
- package/dist/spw-stencil-library/p-4fbeb3f5.entry.js +1 -0
- package/dist/spw-stencil-library/{p-9ac3913a.entry.js → p-50588fc5.entry.js} +1 -1
- package/dist/spw-stencil-library/p-55f21ebb.entry.js +1 -0
- package/dist/spw-stencil-library/{p-70d3f435.entry.js → p-57cd2788.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-5e7ca2e4.entry.js → p-5a697628.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-837ac8f1.entry.js → p-5e8a5a23.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e2592a5e.entry.js → p-61f2278c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-70b7b977.entry.js → p-655a0920.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-021fc983.entry.js → p-698c0030.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-3ef82674.entry.js → p-6c9bc0df.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-7a47432f.entry.js → p-6cc0b5f5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-226bf7b7.entry.js → p-6e52eb6a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c8185d55.entry.js → p-70947adf.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-62442334.entry.js → p-7e704f32.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e6546573.entry.js → p-7f04e78e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-29f4d921.entry.js → p-89931481.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a13fadc5.entry.js → p-899f21ca.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-958dadb3.entry.js → p-8f1513ad.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-43ac8164.entry.js → p-90100e0c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1156e45c.entry.js → p-932bee0e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-cab00494.entry.js → p-93d33de7.entry.js} +1 -1
- package/dist/spw-stencil-library/p-95062710.entry.js +1 -0
- package/dist/spw-stencil-library/{p-8ee5de40.entry.js → p-9964d952.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b2be5886.entry.js → p-9ee7a00a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-30f7cb1e.entry.js → p-9f6d4141.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-6278d28f.entry.js → p-a6ffe0b7.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-a19386d3.entry.js → p-a7b71644.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-98f14c76.entry.js → p-a89eaabb.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-d302a2b5.entry.js → p-a8bd7ac4.entry.js} +1 -1
- package/dist/spw-stencil-library/p-acd17168.entry.js +1 -0
- package/dist/spw-stencil-library/{p-a4532a5f.entry.js → p-adbcce82.entry.js} +1 -1
- package/dist/spw-stencil-library/p-ade0b4ca.entry.js +1 -0
- package/dist/spw-stencil-library/{p-e684eb0a.entry.js → p-ae8a6054.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2a6388d4.entry.js → p-af9ea059.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-07c59244.entry.js → p-b28c7677.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e76535ee.entry.js → p-b6678091.entry.js} +1 -1
- package/dist/spw-stencil-library/p-b73d8a54.entry.js +1 -0
- package/dist/spw-stencil-library/{p-85fd474d.entry.js → p-b835ebc5.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-71ef7b30.entry.js → p-bda30c93.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-609873b3.entry.js → p-bdcd9e24.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-e67a2ab2.entry.js → p-bde71818.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-ec9b89b8.entry.js → p-bfde8a3a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-c02151d3.entry.js → p-c369f61b.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-1b2219c5.entry.js → p-c36db9e3.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-8488c882.entry.js → p-c374d0ff.entry.js} +1 -1
- package/dist/spw-stencil-library/p-c7480955.entry.js +1 -0
- package/dist/spw-stencil-library/p-cb506a6f.entry.js +1 -0
- package/dist/spw-stencil-library/{p-82ccac76.entry.js → p-ce07c9cd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-42c5ae2b.entry.js → p-dad0c8fa.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-53d34813.entry.js → p-ddc867bd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-15fcedc4.entry.js → p-e1926d22.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-15714574.entry.js → p-e286f138.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-efab43e2.entry.js → p-e2898a5f.entry.js} +4 -4
- package/dist/spw-stencil-library/{p-54d3bb05.entry.js → p-e7e8a60a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-b6b496d2.entry.js → p-e8f6b76c.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-db281173.entry.js → p-eb0c9f5d.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-faa20925.entry.js → p-f1b2d02e.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-bdce1731.entry.js → p-f2714773.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-18563d7b.entry.js → p-f29ddbe8.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-2b2908f6.entry.js → p-f473aba1.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-32f90343.entry.js → p-f98ff9fd.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-435c6572.entry.js → p-fabba2d4.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-4b49ce46.entry.js → p-faf4a80a.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-fb4b6547.entry.js → p-fb604e35.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-646c04fa.entry.js → p-fc1e3eb6.entry.js} +1 -1
- package/dist/spw-stencil-library/{p-DkNryMko.js → p-mthi2pFj.js} +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +1232 -900
- package/dist/types/components/spw-alert/spw-alert.d.ts +2 -5
- package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +3 -1
- package/dist/types/components/spw-group/spw-group.d.ts +2 -2
- package/dist/types/components/spw-radio/spw-radio.d.ts +4 -0
- package/dist/types/components/spw-search-field/spw-search-field.d.ts +6 -0
- package/dist/types/components/spw-select/spw-select.d.ts +2 -0
- package/dist/types/components/spw-text-field/spw-text-field.d.ts +2 -0
- package/dist/types/components/spw-textarea/spw-textarea.d.ts +2 -0
- package/dist/types/components/spw-toc/spw-toc-container/spw-toc-container.d.ts +1 -0
- package/dist/types/components.d.ts +59 -12
- package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +2 -0
- package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +4 -0
- package/dist/types/stories/organisms/spw-alert/spw-alert.stories.d.ts +1 -1
- package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
- package/dist/types/utils/syntax.d.ts +33 -0
- package/hydrate/index.js +219 -145
- package/hydrate/index.mjs +219 -145
- package/package.json +2 -2
- package/dist/components/p-BpHhLSNA.js +0 -1
- package/dist/components/p-jLNjkOd-.js +0 -1
- package/dist/components/p-m6pRrrVB.js +0 -1
- package/dist/spw-stencil-library/p-00e913ab.entry.js +0 -1
- package/dist/spw-stencil-library/p-264d68af.entry.js +0 -1
- package/dist/spw-stencil-library/p-58eddc91.entry.js +0 -1
- package/dist/spw-stencil-library/p-77802474.entry.js +0 -1
- package/dist/spw-stencil-library/p-836800d9.entry.js +0 -1
- package/dist/spw-stencil-library/p-a36010c0.entry.js +0 -1
- package/dist/spw-stencil-library/p-a8aef45b.entry.js +0 -1
- package/dist/spw-stencil-library/p-aecc5c7b.entry.js +0 -1
- package/dist/spw-stencil-library/p-bbd74c62.entry.js +0 -1
- package/dist/spw-stencil-library/p-c9cca975.entry.js +0 -1
- package/dist/spw-stencil-library/p-e68ac654.entry.js +0 -1
- package/dist/spw-stencil-library/p-e9262506.entry.js +0 -1
|
@@ -143,17 +143,17 @@ export class SpwSidenavItem {
|
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
145
|
const LabelTag = this.isLink ? 'a' : 'button';
|
|
146
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: '976e37b0e8ccb7929d00bb6e327d78199a35c627' }, h("div", { key: 'ed774c9119ce225e9035d1dc72794dabb13e9014', class: {
|
|
147
147
|
'spw-sidenav-item': true,
|
|
148
148
|
'spw-sidenav-item--active': this.active || this.hasActiveChild,
|
|
149
149
|
'spw-sidenav-item--disabled': this.disabled,
|
|
150
150
|
'spw-sidenav-item--has-children': this.hasChildren,
|
|
151
151
|
'spw-sidenav-item--children-open': this.childrenOpen,
|
|
152
152
|
'spw-sidenav-item--mobile-focused': this.mobileFocused,
|
|
153
|
-
} }, h("div", { key: '
|
|
153
|
+
} }, h("div", { key: '1c43d4ecd7077399854e1c624be99f409d9fb970', class: "spw-sidenav-item__row" }, h(LabelTag, { key: '5666bf1e411e81926aedbe2adf2c4e76d2d0e540', class: "spw-sidenav-item__label", href: this.isLink ? this.href : undefined, disabled: LabelTag === 'button' && this.disabled ? true : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-expanded": this.hasChildren ? this.childrenOpen.toString() : undefined, "aria-current": this.active ? 'page' : undefined, onClick: this.handleLabelClick }, this.icon && (h("span", { key: '277302e85a8384a3385dfc9623da7e53ad6e627b', class: "spw-sidenav-item__icon" }, h("spw-icon", { key: '6e2043922afa02baabfb6820239f92f5c8652ece', variant: this.iconVariant, icon: this.icon }))), h("span", { key: 'd31b0e9f1d5b3ad932d5b9dffa42241c7b155063', class: "spw-sidenav-item__text" }, h("slot", { key: '7072511c6bff478216ce10537e6b3d57f4915da6' }))), this.hasChildren && (h("button", { key: '941a485267be77b977da9e8dde041341f08edf63', type: "button", class: {
|
|
154
154
|
'spw-sidenav-item__chevron': true,
|
|
155
155
|
'spw-sidenav-item__chevron--open': this.childrenOpen,
|
|
156
|
-
}, "aria-label": this.childrenOpen ? 'Réduire' : 'Développer', disabled: this.disabled, onClick: this.handleChevronClick }, h("spw-icon", { key: '
|
|
156
|
+
}, "aria-label": this.childrenOpen ? 'Réduire' : 'Développer', disabled: this.disabled, onClick: this.handleChevronClick }, h("spw-icon", { key: '75a6238be0516abc828d6f8477a1fe26b76e7d2a', icon: "fa-chevron-down" })))), h("slot", { key: '6d048e95001b1dfabed02644502261cfb43a781f', name: "children" }))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "spw-sidenav-item"; }
|
|
159
159
|
static get originalStyleUrls() {
|
|
@@ -114,10 +114,10 @@ export class SpwSidenav {
|
|
|
114
114
|
showBack = !!target;
|
|
115
115
|
title = this.sectionTitle;
|
|
116
116
|
}
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: '7c1531f3681787965d5f39db1619a6bdd2dbda40', "data-show-root": this.showRoot ? 'true' : null }, h("nav", { key: '23caf3d35c7ccec3542fc9b2f6a5bf0cc6a1fa18', class: {
|
|
118
118
|
'spw-sidenav': true,
|
|
119
119
|
'spw-sidenav--show-root': this.showRoot,
|
|
120
|
-
} }, showBack && (h("button", { key: '
|
|
120
|
+
} }, showBack && (h("button", { key: '99755bc0fe65d83d34847ec88bd29d9e73275d56', class: "spw-sidenav__back", type: "button", onClick: this.handleBack }, h("spw-icon", { key: 'a82c9a1193588e24ab81f2b80249647d8e5362d9', icon: "fa-arrow-left" }), h("span", { key: '05ceffc19b08eb722d734ad74e03053456b8ea73' }, this.backLabel))), title && h("div", { key: 'e97299d6a970030ea26048607e545069b2e592ee', class: "spw-sidenav__section-title" }, title), h("slot", { key: 'db409d729136eaaa8418e972848ea7506e6ea861' }))));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "spw-sidenav"; }
|
|
123
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class SpwSkeleton {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '1f4b1fd30ed9bacb4c4289392556fc335e3c6ba8' }, h("div", { key: 'd0ea662fb2ec54441a17b501d117a49ddad2a4f6', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: '876008dbe7a7fad9ede29bc136b3a586acb39f39' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "spw-skeleton"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwSliderItem {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '24c1923e30f0de6d55f2f129d1486697284da850' }, h("div", { key: '1bc9d43366664814409e50b1baf32b942c1c425e', class: "spw-slider-item" }, h("slot", { key: '70e63910f543ff695f5bd17ca7a3a06c92601cc3' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-slider-item"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -394,7 +394,7 @@ export class SpwSlider {
|
|
|
394
394
|
}, onClick: () => this.handleDotClick(i), "aria-label": `Slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))));
|
|
395
395
|
}
|
|
396
396
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
397
|
+
return (h(Host, { key: '75458a484b1e99ef95f91a2f471e07cf5514c2c4' }, h("div", { key: 'd8916fcb1cabca52e3ea3d15428ab86dc9c89ca1', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: '9bee584175085726020ab533e5ee3d4b8b921f3c', class: "spw-slider__track" }, h("slot", { key: 'b3efb63abbac65c09fed906e70128355e17a9f92' })), this.showArrows && (h("div", { key: '1cea7de4412150e1e5998820517c5bc85ede1e85', class: "spw-slider__navigation" }, h("button", { key: '70099bf0a6f9cc9c0afd21ef2ed2263b9c36707d', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: '9003338970f0d84a7b50e4f1fa8e4557b6d964aa', icon: "fa-chevron-left" })), h("button", { key: '256de729ac76714d398f22737bd9287a3cdb21e7', class: "spw-slider__arrow spw-slider__arrow--next", onClick: this.handleNext, disabled: this.activeIndex === this.totalSlides - 1, "aria-label": this.nextSlideText }, h("spw-icon", { key: 'c653cc2edf86e6e27359861b8e0747797c2aadfc', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: 'aa9e2d7f657e1daf3c253ab23d35988939090613', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: 'd7f0af14b5078c5be65a8209a4f601533ba65166', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '6f4d031d64128681d50a72718e9f95cdececcfb0', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
|
|
398
398
|
}
|
|
399
399
|
static get is() { return "spw-slider"; }
|
|
400
400
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
spw-socials {
|
|
37
|
+
font-family: var(--spw-ds-font-main);
|
|
37
38
|
box-sizing: border-box;
|
|
38
39
|
line-height: 1.3;
|
|
39
40
|
-webkit-text-size-adjust: 100%;
|
|
@@ -58,7 +59,6 @@ spw-socials *,
|
|
|
58
59
|
spw-socials *::before,
|
|
59
60
|
spw-socials *::after {
|
|
60
61
|
box-sizing: inherit;
|
|
61
|
-
font-family: var(--spw-ds-font-main);
|
|
62
62
|
letter-spacing: -0.18px;
|
|
63
63
|
}
|
|
64
64
|
spw-socials {
|
|
@@ -5,7 +5,7 @@ export class SpwSocials {
|
|
|
5
5
|
this.mainTitle = 'Restez connecté';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '0accf1e3b55ba69559400512ca5ef1e91cb34177' }, h("div", { key: '8e56386b1783be8d1d00d65bd3390f81921bfef6', class: "spw-socials" }, h("div", { key: '188c1ae4cbb875fdd338ba9ef0a67275a828b184', class: "spw-ds-container" }, h("h2", { key: '26efa8f58c15f3bf8373a01ff28e29274767d23a', class: "spw-socials__title" }, this.mainTitle), h("div", { key: '00766e6bbacfc53072e3bd63f2d54353fddd3b6e', class: "spw-socials__content" }, h("slot", { key: '0d9c6d512494ffbdb3c0f6665d5be3e8d21b5204' }))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "spw-socials"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class SpwTableBody {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h("tbody", { key: '
|
|
43
|
+
return (h("tbody", { key: 'e0277b0e90abb2cf863f3927d8f26bf2a54aad32', part: "tbody" }, h("slot", { key: 'b41ebf4c25df8cf131090c0b37718ed288afc68f' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "spw-table-body"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class SpwTableCell {
|
|
|
87
87
|
}
|
|
88
88
|
attrs.style = stickyStyles;
|
|
89
89
|
}
|
|
90
|
-
return (h("td", Object.assign({ key: '
|
|
90
|
+
return (h("td", Object.assign({ key: '2eac28a90888fa890f81104f708a6648545cd644' }, attrs), h("slot", { key: '55feeb4e43a94fe52b7874a4cf065b7832abae8b' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "spw-table-cell"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class SpwTableContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '2efef97fc2dc0d85c3d219ba6e2e4f1388a72a45' }, h("div", { key: '8d03681bfd0a7684a82702e45e1c9d293b3e7949', class: "spw-table-container" }, h("slot", { key: '62536640da6539cc377e529a4c5580abdd90f9d9' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTableFooter {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '011138745624abacb88584bcb3d539288246728e', class: "spw-table-footer" }, h("slot", { key: 'de056a26927a0accdee89c5fea91417a7b76b756', name: "left" }), h("slot", { key: '751eea30d5950716121b3c7981c94d716719712b', name: "center" }), h("slot", { key: 'ce9d3199d369ae90e4edf944e59fa4e0c2a45466', name: "right" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-footer"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTableHead {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("thead", { key: '
|
|
4
|
+
return (h("thead", { key: '37bb3f2a3732db187233cf2525852bdfa4bded31', part: "thead" }, h("slot", { key: 'ab5f3dd139a6a2614d910b118764e7d6482fb3bc' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-table-head"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,10 +65,10 @@ export class SpwTableHeader {
|
|
|
65
65
|
}
|
|
66
66
|
attrs.style = stickyStyles;
|
|
67
67
|
}
|
|
68
|
-
return (h("th", Object.assign({ key: '
|
|
68
|
+
return (h("th", Object.assign({ key: '8006cee74e60684682e2a714eba829f30b930e08' }, attrs), h("div", { key: 'b7148ee2b4b1879aff3a4ebbfbd62820dd25d80a', class: {
|
|
69
69
|
'spw-table-header__content': true,
|
|
70
70
|
'spw-table-header__content--is-sorted': this.isSorted,
|
|
71
|
-
} }, h("slot", { key: '
|
|
71
|
+
} }, h("slot", { key: 'ee7381ff3a33b9da7e7c284afdf4fc79e57793af' }), h("div", { key: 'f5cb06fe9cc046354a3cbb81f3eb03c47f94cf64', class: "spw-table-header__icons" }, h("slot", { key: 'dddcbd811c3eec07fced773d04014a1e77dd2e89', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '21ef23b36c1582ae8bec7ef985fe3cf19ecfcec2', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: 'b7cf9004e4968a6c42579fe7231d78c2d966da9f', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: '3472dc88934d0a117a802bbfbdea48393774038f', class: "spw-table-header__sort-icon", icon: this.isSorted ? (this.sortDirection === 'asc' ? 'fa-arrow-up-short-wide' : 'fa-arrow-down-wide-short') : 'fa-arrow-up-arrow-down' }))))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "spw-table-header"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SpwTableRow {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '6966a085cf4dbbd24d0f3bdd7b635f744f65b79f', part: "row" }, h("tr", { key: '62dee4dd7adc9decf46c134a91aa092c50d69c0f', class: this.elementClass, part: "row" }, h("slot", { key: '518523b496f3b96a804ca376e76018e6d91df63a' }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-table-row"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +123,7 @@ export class SpwTableSidebar {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const style = Object.assign(Object.assign({}, (this.observedHeight !== undefined && { height: `${this.observedHeight}px` })), { '--spw-table-sidebar-width': `${this.sidebarWidth}px` });
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '7323dff35844004638fcb53b7ceda2462fad72ec', style: style, class: this.hostClass }, h("nav", { key: '7cf08e1020873a510e2f33b722399397ba61b48a', class: this.elementClass }, h("span", { key: '5acc88056076f0f8e9e8989a4dd43236ef703851', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '3e8677ed44269a9deded09eaacd48c0501af86bd', icon: "fa-chevron-left" })), h("div", { key: '51452dd6ad5d4e2db59b0cf388d6824c83c70ecf', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '400ab45c8b0782f3d5b1dddbdcf7a2429a25c971', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: 'bd5594afe2e829e941f2e287d88b3fdaefa448a3', class: "spw-table-sidebar__content" }, h("div", { key: '63291b0f48a56376813a9e6b7b823d9b316ecafe', class: "spw-table-sidebar__header" }, h("span", { key: '3a641132a26a8cc1bb5fdf3cdc361c094235dcf1', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '06a15fd5ad4eec45ac73a296e17e18f2553fa26c', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: 'b7b10426e5d75649ef0822ad48acb6a23c36e7da', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: 'b3830462d1480a6ee013340a0b2556056d25d0d9', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '17429c401ad93dc549fdd7abf2d0495ef1258b49' })), h("div", { key: 'e0a6b8d59cd6f28f0f37c359bcac2b94db550115', class: "spw-table-sidebar__footer" }, h("slot", { key: '428538caf03938a81489996a7bd5552859866244', name: "sidebar-footer" }))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "spw-table-sidebar"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,7 +102,7 @@ export class SpwTabsNavigation {
|
|
|
102
102
|
'spw-tabs-navigation__list--vertical-on-mobile': this.isVerticalOnMobile,
|
|
103
103
|
'spw-tabs-navigation__list--centered': this.isCentered && !this.hasOverflow,
|
|
104
104
|
};
|
|
105
|
-
return (h("div", { key: '
|
|
105
|
+
return (h("div", { key: '684396291aa3412bf86cff832053bbef23f66b67', class: containerClass }, this.showLeftArrow && (h("button", { key: '7a528d24565eb588fe70f7892b87ed665c2b7c4c', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left", onClick: this.scrollLeft, "aria-label": "Faire d\u00E9filer vers la gauche" }, h("spw-icon", { key: 'f087bf9efb406598dcb6de6bdee58ff64841260b', icon: "fa-chevron-left" }))), h("nav", { key: '82209ed498a8d08a090eb709eb2a9f64e485c708', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '324e71c6efd49467e6fa079b4b97a474c866927b', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: 'b7b89bc3413ff040897cace7bb639c3e10da7432' }))), this.showRightArrow && (h("button", { key: '937fde59d6ffa6c8b53fa599da7c37dc8eaef5c5', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right", onClick: this.scrollRight, "aria-label": "Faire d\u00E9filer vers la droite" }, h("spw-icon", { key: '893d5549495a72b5202a506b426b3ea9c28e292a', icon: "fa-chevron-right" })))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "spw-tabs-navigation"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js
CHANGED
|
@@ -63,7 +63,7 @@ export class SpwTabsNavigationItem {
|
|
|
63
63
|
const iconClass = `spw-icon--${iconPosition}`;
|
|
64
64
|
const iconElement = this.icon ? h("spw-icon", { class: iconClass, icon: this.icon }) : null;
|
|
65
65
|
const tagElement = this.tagText ? (h("spw-tag", { size: "small", "has-icon": this.tagIcon ? 'true' : 'false', variant: this.tagVariant }, this.tagText)) : null;
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'ea90c06c45667ba0c4d30e20eccfd8741dabb160', class: this.active ? '--active' : '' }, h("li", { key: 'f663bbd2a5886fc51bf56226b16502a6a6a3d8e4', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.accAriaLabel || this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: 'a3138cc26e6c9591abf2b8e2f8a9ec9b26ac4e52', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: '49389f267d634b054b143a75bc68fc927c96d9d9' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: 'fbf2e5254be7ff82c72404ffb05cf04939be293d' }, iconPosition === 'left' && iconElement, h("slot", { key: '76f070b9c934bed78e423bc6dd7c2d902d761f72' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: 'dfedc2c79aa296c2746354a8fcedf5db9ee92a06', class: "bubble" }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "spw-tabs-navigation-item"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,7 +167,7 @@ export class SpwTabs {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("div", { key: '
|
|
170
|
+
return (h("div", { key: '190988f5dd131e58d7ff09b5129f2b7925524aea', class: this.elementClass }, h("slot", { key: '970c92ec8e83b626c1879910d71b3230b29863fe', name: "navigation" }), h("slot", { key: '25cdd155d53efb0a4648f93df989ed8f873efc4f', name: "content" })));
|
|
171
171
|
}
|
|
172
172
|
static get is() { return "spw-tabs"; }
|
|
173
173
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SpwTag {
|
|
|
49
49
|
};
|
|
50
50
|
const iconToDisplay = this.icon || this.getIcon(this.variant);
|
|
51
51
|
const iconElement = this.hasIcon ? h("spw-icon", { variant: this.iconVariant, icon: iconToDisplay }) : null;
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '7c0a75b257d8bb372e7dfe0e792dd9387136fc6f' }, h(TagType, Object.assign({ key: '6c52b9e5d22cb9f153a0e4c2e6c2faaa18940c76' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: '0453ecc7e356b06b711e8b640b18e7e1beb6cdbf' }), this.iconPosition === 'right' && iconElement)));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "spw-tag"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -279,7 +279,7 @@ export class SpwTextField {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
|
-
return (h("div", { key: '
|
|
282
|
+
return (h("div", { key: 'e96250afc300760066a72df3cf850244aedd0784', class: this.elementClass }, this.label && (h("spw-field-label", { key: '13458ba0f87bf13783d9282f14b58ffed48d6d69', 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: 'b7f34bf5bad886a1fc1988d7f0dc89a3a115bda5', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '82ca77b86f882af169522bcabae349720ca85132', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '233d0eb6d88ab350a03d924e6db4e57eaad0b847', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: '0999122c9faf3b4d663d40dfd879ab1d29c04b34', icon: "fa-minus" }))), h("div", { key: '8aa905ab2ea8bc10178ee3bbd217759664878687', class: "spw-text-field__input-container" }, h("input", { key: '5a3343530137da1de3d4bd8f468495b9428932e3', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'text' : this.type, inputMode: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'decimal' : undefined, min: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.min : undefined, max: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.max : undefined, step: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.step : undefined, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.name, disabled: this.disabled, name: this.name, id: this.name, autocomplete: this.autocomplete, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: '01b63e0cd16f4d43760e6d564ed1e2f61c051957', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '38f8375e01944af84fc7da1fb3b4f47e5ff32b10', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '5c0e05687c520bc0d75b585ce1cb10e0abd5f787', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: '74fd1da74bf9f16cec2b31cc293e417f5e24a968', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: '24fc883ee2bca5d248057d427a9e69b94b8e2e5d', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '4c23a5054459881840d16ea0fc31d30e6c567640', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '92c2a1b87d6ed5ae690931f4ae9fde3e42841a13', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: 'dfeca7ad263a22eb133dcc4243d55d859a32ef8c', icon: "fa-plus" }))), this.indicator && h("div", { key: '26ae0dda8dbaab002c47409eff6dbc21caf93d5e', class: "spw-text-field__indicator" }, this.indicator)), this.renderMessages()));
|
|
283
283
|
}
|
|
284
284
|
static get is() { return "spw-text-field"; }
|
|
285
285
|
static get encapsulation() { return "shadow"; }
|
|
@@ -412,6 +412,25 @@ export class SpwTextField {
|
|
|
412
412
|
"reflect": false,
|
|
413
413
|
"attribute": "name"
|
|
414
414
|
},
|
|
415
|
+
"autocomplete": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"mutable": false,
|
|
418
|
+
"complexType": {
|
|
419
|
+
"original": "string",
|
|
420
|
+
"resolved": "string",
|
|
421
|
+
"references": {}
|
|
422
|
+
},
|
|
423
|
+
"required": false,
|
|
424
|
+
"optional": true,
|
|
425
|
+
"docs": {
|
|
426
|
+
"tags": [],
|
|
427
|
+
"text": "Valeur de l'attribut HTML `autocomplete` (ex: \"email\", \"tel\", \"given-name\")"
|
|
428
|
+
},
|
|
429
|
+
"getter": false,
|
|
430
|
+
"setter": false,
|
|
431
|
+
"reflect": false,
|
|
432
|
+
"attribute": "autocomplete"
|
|
433
|
+
},
|
|
415
434
|
"min": {
|
|
416
435
|
"type": "number",
|
|
417
436
|
"mutable": false,
|
|
@@ -93,7 +93,7 @@ export class SpwTextarea {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: 'd371070e0a85cd3fc3ff42583ccc8dee9c32b1c0', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'c149761494587815bd4ca3afe2cda79334dd2172', 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: 'c56fcdaa8f3794cd37eb82ceade7bdc8ad22f159', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'd1a1bf818505d8f7a4b03ad6e1e325ff70f9ccfe', class: "spw-textarea__container" }, h("textarea", { key: '5770b198d8a466eff040efbe1313d2b1541d936d', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, autocomplete: this.autocomplete, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderMessages()));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "spw-textarea"; }
|
|
99
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -206,6 +206,25 @@ export class SpwTextarea {
|
|
|
206
206
|
"reflect": false,
|
|
207
207
|
"attribute": "name"
|
|
208
208
|
},
|
|
209
|
+
"autocomplete": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "string",
|
|
214
|
+
"resolved": "string",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": true,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Valeur de l'attribut HTML `autocomplete` (ex: \"email\", \"tel\", \"given-name\")"
|
|
222
|
+
},
|
|
223
|
+
"getter": false,
|
|
224
|
+
"setter": false,
|
|
225
|
+
"reflect": false,
|
|
226
|
+
"attribute": "autocomplete"
|
|
227
|
+
},
|
|
209
228
|
"rows": {
|
|
210
229
|
"type": "number",
|
|
211
230
|
"mutable": false,
|
|
@@ -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: 'a0ec57c1b6f8b83e5c74cc40f8fa6443b3e5c1d0', class: `spw-theme-${this.theme}` }, h("slot", { key: '1842222a21a497e722348681d1a41d36f88a3bbd' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "spw-theme-provider"; }
|
|
30
30
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileDescription {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'ff492ede042cfbe358a3fd8022830c9cb4772b60', class: "spw-tile-description" }, h("slot", { key: '40865f8bccb895fb70115e08d1e34708c092ed0f' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-description"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SpwTileTitle {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("h3", { key: '
|
|
4
|
+
return (h("h3", { key: '2c308ce76ff1546b3daafeae291ca1c74635fb65', class: "spw-tile-title" }, h("slot", { key: 'd9fb9db754da83311865e56bc7112d645167a2be' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "spw-tile-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,7 +75,7 @@ export class SpwTile {
|
|
|
75
75
|
href,
|
|
76
76
|
target,
|
|
77
77
|
};
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '86ea4dde9b38e2f8a75e17097a48a59c8d0a5e11' }, h(TagType, Object.assign({ key: '336234d325dbfd4ce1e6fa2ca334cca562386644' }, attrs, { class: this.elementClass, style: { background: this.background } }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '493d87ad6a0c0676884d01082b3e36dc5f694876' }, h("img", { key: '70116bb524bc1355c11eae44e5663c31df176eac', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: 'bda6bf0177e318888f4ce3ac72c5d62801fa1281', class: "spw-tile__content" }, (this.variant === 'big' || this.variant === 'light') && h("div", { key: '45e09a368e9fb9ede4d41e76e6a347c1a035f95e', class: "spw-tile__overlay" }), h("div", { key: '9dd96ed6537678860afe75122437889e7f32d89f', class: "spw-tile__content-inner" }, h("slot", { key: 'e6e2c3a61a81786f64ff3aeb719b1eee3d1dc7b3' })), this.href && this.variant === 'big' && (h("span", { key: 'f759a26cfd1144f7534c120558c787f5a852d0cf', class: "spw-tile__button" }, h("spw-icon", { key: '4654ee9ff0e71100f4c25cdc85083b75dd3044ed', icon: "fa-chevron-right" })))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "spw-tile"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,10 +55,10 @@ export class SpwTimelineItem {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const showConnector = this.isLast === 'false';
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'b493d9a8b296d421ae797ef37964496bf2fb69ab' }, h("div", { key: 'c5e414a7d865acdb0ef2b48f9c1d88a25bf3bc92', class: this.elementClass }, h("div", { key: '65cce4a20321cfb6eddc021dc1d4b15f50acfd28', class: "spw-timeline-item__step" }, h("div", { key: '3fdfde1054b4aa72de838801fd504f8d8ff71cf5', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: 'e6b22d7041824b6773e018830fd6bdcf1c0bf144', class: "spw-timeline-item__connector" })), h("div", { key: '261e84f06c0014ff1a83704c5925f4996335fa94', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: 'a88601fba13e8765becef6fd4d112cdaa40762a4', class: "spw-timeline-item__description-wrapper" }, h("div", { key: '935d92c2e117b3cbaa67db38041c0e816ba88d77', 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: '0c1df233ce419fdc9bc79cafb8560bc380681362' })))));
|
|
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: '744f5af29dde2eafc43f9eb0f2bdc6c9e970e786' }, h("div", { key: '65483e315665087ab54641855bc91003eabe192d', class: this.elementClass }, h("slot", { key: '0e1e38bfcb62230cdc6a1e77cca7ef54d8d3585a' })), this.shouldShowToggleButton() && (h("div", { key: '059b1adabdff8faebef240e7bbae5617a082b626', 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: '4b53c00bf2fb7d362fc5fb07385b8435efb2c560', 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"; }
|
|
@@ -41,10 +41,10 @@ export class SpwToastController {
|
|
|
41
41
|
await Promise.all(toasts.map(t => { var _a; return (_a = t.dismiss) === null || _a === void 0 ? void 0 : _a.call(t); }));
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: 'b320fb0051b98993b6d40809ac3c4eb8f9607d43' }, h("div", { key: '
|
|
44
|
+
return (h(Host, { key: 'b320fb0051b98993b6d40809ac3c4eb8f9607d43' }, h("div", { key: '0083f2b0eb1cedae1ef9bf6196d0a3dec064078c', class: {
|
|
45
45
|
'spw-toast-controller__stack': true,
|
|
46
46
|
[`spw-toast-controller__stack--${this.position}`]: true,
|
|
47
|
-
}, "aria-label": "Notifications", ref: el => (this.stackEl = el) })));
|
|
47
|
+
}, role: "region", "aria-label": "Notifications", ref: el => (this.stackEl = el) })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "spw-toast-controller"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
spw-toc-container {
|
|
37
|
+
font-family: var(--spw-ds-font-main);
|
|
37
38
|
box-sizing: border-box;
|
|
38
39
|
line-height: 1.3;
|
|
39
40
|
-webkit-text-size-adjust: 100%;
|
|
@@ -58,7 +59,6 @@ spw-toc-container *,
|
|
|
58
59
|
spw-toc-container *::before,
|
|
59
60
|
spw-toc-container *::after {
|
|
60
61
|
box-sizing: inherit;
|
|
61
|
-
font-family: var(--spw-ds-font-main);
|
|
62
62
|
letter-spacing: -0.18px;
|
|
63
63
|
}
|
|
64
64
|
spw-toc-container {
|
|
@@ -90,6 +90,9 @@ export class SpwTocContainer {
|
|
|
90
90
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
91
91
|
const el = node;
|
|
92
92
|
const tag = el.tagName.toLowerCase();
|
|
93
|
+
if (SpwTocContainer.IGNORED_TAGS.includes(tag)) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
93
96
|
const match = tag.match(/^h([2-6])$/);
|
|
94
97
|
if (match && parseInt(match[1]) <= this.maxLevel) {
|
|
95
98
|
collected.push(el);
|
|
@@ -121,7 +124,7 @@ export class SpwTocContainer {
|
|
|
121
124
|
return tocItems;
|
|
122
125
|
}
|
|
123
126
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
127
|
+
return (h(Host, { key: '8980213a1ac10d445c05e2736ba5e8bad8109a97' }, h("slot", { key: '760a57d80aadc665d682e8fbaa1c98cd99022609' })));
|
|
125
128
|
}
|
|
126
129
|
static get is() { return "spw-toc-container"; }
|
|
127
130
|
static get originalStyleUrls() {
|
|
@@ -216,3 +219,4 @@ export class SpwTocContainer {
|
|
|
216
219
|
}];
|
|
217
220
|
}
|
|
218
221
|
}
|
|
222
|
+
SpwTocContainer.IGNORED_TAGS = ['spw-modal', 'spw-card'];
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
spw-toc-navigation {
|
|
37
|
+
font-family: var(--spw-ds-font-main);
|
|
37
38
|
box-sizing: border-box;
|
|
38
39
|
line-height: 1.3;
|
|
39
40
|
-webkit-text-size-adjust: 100%;
|
|
@@ -58,7 +59,6 @@ spw-toc-navigation *,
|
|
|
58
59
|
spw-toc-navigation *::before,
|
|
59
60
|
spw-toc-navigation *::after {
|
|
60
61
|
box-sizing: inherit;
|
|
61
|
-
font-family: var(--spw-ds-font-main);
|
|
62
62
|
letter-spacing: -0.18px;
|
|
63
63
|
}
|
|
64
64
|
spw-toc-navigation {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
spw-toc {
|
|
37
|
+
font-family: var(--spw-ds-font-main);
|
|
37
38
|
box-sizing: border-box;
|
|
38
39
|
line-height: 1.3;
|
|
39
40
|
-webkit-text-size-adjust: 100%;
|
|
@@ -58,7 +59,6 @@ spw-toc *,
|
|
|
58
59
|
spw-toc *::before,
|
|
59
60
|
spw-toc *::after {
|
|
60
61
|
box-sizing: inherit;
|
|
61
|
-
font-family: var(--spw-ds-font-main);
|
|
62
62
|
letter-spacing: -0.18px;
|
|
63
63
|
}
|
|
64
64
|
spw-toc {
|
|
@@ -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: 'd6ad2ddfda4599a7b0878aa7b1e93742821cf6b5' }, h("slot", { key: '9f98e139892caae833de9dcf325b29e22bde0792' })));
|
|
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: '1ebc1b166cee460a79765f008fcc9f1994ffec29', class: this.classes, onMouseEnter: this.showTooltip, onMouseLeave: this.hideTooltip }, h("slot", { key: '306f14a11b592f1bb0f6a01d3c9c08daee307e23' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "spw-tooltip"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|