@getflip/swirl-components 0.198.0 → 0.200.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/components.json +128 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/swirl-accordion.cjs.entry.js +1 -1
- package/dist/cjs/swirl-action-list-section.cjs.entry.js +1 -1
- package/dist/cjs/swirl-action-list_3.cjs.entry.js +2 -2
- package/dist/cjs/swirl-app-bar.cjs.entry.js +7 -1
- package/dist/cjs/swirl-app-layout_6.cjs.entry.js +3 -3
- package/dist/cjs/swirl-autocomplete.cjs.entry.js +4 -4
- package/dist/cjs/swirl-avatar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-badge.cjs.entry.js +1 -1
- package/dist/cjs/swirl-banner.cjs.entry.js +1 -1
- package/dist/cjs/swirl-box.cjs.entry.js +1 -1
- package/dist/cjs/swirl-button-group.cjs.entry.js +2 -2
- package/dist/cjs/swirl-button.cjs.entry.js +1 -1
- package/dist/cjs/swirl-card.cjs.entry.js +2 -2
- package/dist/cjs/swirl-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/swirl-chip.cjs.entry.js +1 -1
- package/dist/cjs/swirl-columns.cjs.entry.js +2 -2
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-dialog.cjs.entry.js +1 -1
- package/dist/cjs/swirl-file-viewer_7.cjs.entry.js +2 -2
- package/dist/cjs/swirl-form-control.cjs.entry.js +1 -1
- package/dist/cjs/swirl-form-group.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-check-small_3.cjs.entry.js +2 -2
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +2 -2
- package/dist/cjs/swirl-icon.cjs.entry.js +1 -1
- package/dist/cjs/swirl-image-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/swirl-inline-notification.cjs.entry.js +1 -1
- package/dist/cjs/swirl-inline-status.cjs.entry.js +1 -1
- package/dist/cjs/swirl-link.cjs.entry.js +1 -1
- package/dist/cjs/swirl-menu.cjs.entry.js +2 -2
- package/dist/cjs/swirl-modal.cjs.entry.js +3 -3
- package/dist/cjs/swirl-option-list_2.cjs.entry.js +1 -1
- package/dist/cjs/swirl-pagination.cjs.entry.js +1 -1
- package/dist/cjs/swirl-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/swirl-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-radio.cjs.entry.js +1 -1
- package/dist/cjs/swirl-search.cjs.entry.js +1 -1
- package/dist/cjs/swirl-skeleton-box.cjs.entry.js +2 -2
- package/dist/cjs/swirl-skeleton-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-stack.cjs.entry.js +1 -1
- package/dist/cjs/swirl-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-switch.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tab.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table-column.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text-input.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast-provider.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +2 -2
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/swirl-accordion/swirl-accordion.js +1 -1
- package/dist/collection/components/swirl-accordion-item/swirl-accordion-item.js +1 -1
- package/dist/collection/components/swirl-action-list/swirl-action-list.js +1 -1
- package/dist/collection/components/swirl-action-list-section/swirl-action-list-section.js +1 -1
- package/dist/collection/components/swirl-app-bar/swirl-app-bar.js +55 -1
- package/dist/collection/components/swirl-app-bar/swirl-app-bar.spec.js +3 -3
- package/dist/collection/components/swirl-app-layout/swirl-app-layout.js +2 -2
- package/dist/collection/components/swirl-autocomplete/swirl-autocomplete.js +4 -4
- package/dist/collection/components/swirl-avatar/swirl-avatar.js +1 -1
- package/dist/collection/components/swirl-badge/swirl-badge.js +1 -1
- package/dist/collection/components/swirl-banner/swirl-banner.js +1 -1
- package/dist/collection/components/swirl-box/swirl-box.js +1 -1
- package/dist/collection/components/swirl-button/swirl-button.js +1 -1
- package/dist/collection/components/swirl-button-group/swirl-button-group.js +2 -2
- package/dist/collection/components/swirl-card/swirl-card.js +2 -2
- package/dist/collection/components/swirl-checkbox/swirl-checkbox.js +1 -1
- package/dist/collection/components/swirl-chip/swirl-chip.js +1 -1
- package/dist/collection/components/swirl-columns/swirl-columns.js +2 -2
- package/dist/collection/components/swirl-dialog/swirl-dialog.js +1 -1
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf.js +2 -2
- package/dist/collection/components/swirl-form-control/swirl-form-control.js +1 -1
- package/dist/collection/components/swirl-form-group/swirl-form-group.js +1 -1
- package/dist/collection/components/swirl-icon/swirl-icon.js +1 -1
- package/dist/collection/components/swirl-image-grid-item/swirl-image-grid-item.js +2 -2
- package/dist/collection/components/swirl-inline-error/swirl-inline-error.js +1 -1
- package/dist/collection/components/swirl-inline-notification/swirl-inline-notification.js +1 -1
- package/dist/collection/components/swirl-inline-status/swirl-inline-status.js +1 -1
- package/dist/collection/components/swirl-link/swirl-link.js +1 -1
- package/dist/collection/components/swirl-menu/swirl-menu.js +2 -2
- package/dist/collection/components/swirl-modal/swirl-modal.js +3 -3
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.js +2 -2
- package/dist/collection/components/swirl-pagination/swirl-pagination.js +1 -1
- package/dist/collection/components/swirl-popover/swirl-popover.js +3 -3
- package/dist/collection/components/swirl-progress-indicator/swirl-progress-indicator.js +1 -1
- package/dist/collection/components/swirl-radio/swirl-radio.js +1 -1
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +1 -1
- package/dist/collection/components/swirl-search/swirl-search.js +1 -1
- package/dist/collection/components/swirl-separator/swirl-separator.js +1 -1
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.js +2 -2
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.js +1 -1
- package/dist/collection/components/swirl-spinner/swirl-spinner.js +1 -1
- package/dist/collection/components/swirl-stack/swirl-stack.js +1 -1
- package/dist/collection/components/swirl-status-indicator/swirl-status-indicator.js +1 -1
- package/dist/collection/components/swirl-switch/swirl-switch.js +1 -1
- package/dist/collection/components/swirl-tab/swirl-tab.js +1 -1
- package/dist/collection/components/swirl-tab-bar/swirl-tab-bar.js +1 -1
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +1 -1
- package/dist/collection/components/swirl-tag/swirl-tag.js +1 -1
- package/dist/collection/components/swirl-text/swirl-text.js +1 -1
- package/dist/collection/components/swirl-text-input/swirl-text-input.js +1 -1
- package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.js +1 -1
- package/dist/collection/components/swirl-toast/swirl-toast.js +1 -1
- package/dist/collection/components/swirl-toast-provider/swirl-toast-provider.js +1 -1
- package/dist/collection/components/swirl-toolbar/swirl-toolbar.js +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +2 -2
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-accordion-item.js +1 -1
- package/dist/components/swirl-accordion.js +1 -1
- package/dist/components/swirl-action-list-section.js +1 -1
- package/dist/components/swirl-action-list2.js +1 -1
- package/dist/components/swirl-app-bar.js +9 -1
- package/dist/components/swirl-app-layout2.js +2 -2
- package/dist/components/swirl-autocomplete.js +4 -4
- package/dist/components/swirl-avatar.js +1 -1
- package/dist/components/swirl-badge2.js +1 -1
- package/dist/components/swirl-banner.js +1 -1
- package/dist/components/swirl-box2.js +1 -1
- package/dist/components/swirl-button-group2.js +2 -2
- package/dist/components/swirl-button2.js +1 -1
- package/dist/components/swirl-card.js +2 -2
- package/dist/components/swirl-checkbox.js +1 -1
- package/dist/components/swirl-chip.js +1 -1
- package/dist/components/swirl-columns.js +2 -2
- package/dist/components/swirl-dialog.js +1 -1
- package/dist/components/swirl-file-viewer-pdf2.js +2 -2
- package/dist/components/swirl-form-control.js +1 -1
- package/dist/components/swirl-form-group.js +1 -1
- package/dist/components/swirl-icon2.js +1 -1
- package/dist/components/swirl-image-grid-item.js +2 -2
- package/dist/components/swirl-inline-error2.js +1 -1
- package/dist/components/swirl-inline-notification.js +1 -1
- package/dist/components/swirl-inline-status.js +1 -1
- package/dist/components/swirl-link.js +1 -1
- package/dist/components/swirl-menu.js +2 -2
- package/dist/components/swirl-modal.js +3 -3
- package/dist/components/swirl-option-list-item2.js +2 -2
- package/dist/components/swirl-pagination.js +1 -1
- package/dist/components/swirl-popover2.js +3 -3
- package/dist/components/swirl-progress-indicator2.js +1 -1
- package/dist/components/swirl-radio.js +1 -1
- package/dist/components/swirl-resource-list-item2.js +1 -1
- package/dist/components/swirl-search.js +1 -1
- package/dist/components/swirl-separator2.js +1 -1
- package/dist/components/swirl-skeleton-box.js +2 -2
- package/dist/components/swirl-skeleton-text.js +1 -1
- package/dist/components/swirl-spinner2.js +1 -1
- package/dist/components/swirl-stack2.js +1 -1
- package/dist/components/swirl-status-indicator.js +1 -1
- package/dist/components/swirl-switch.js +1 -1
- package/dist/components/swirl-tab-bar2.js +1 -1
- package/dist/components/swirl-tab.js +1 -1
- package/dist/components/swirl-table-column.js +1 -1
- package/dist/components/swirl-tag2.js +1 -1
- package/dist/components/swirl-text-input2.js +1 -1
- package/dist/components/swirl-text2.js +1 -1
- package/dist/components/swirl-thumbnail2.js +1 -1
- package/dist/components/swirl-toast-provider.js +1 -1
- package/dist/components/swirl-toast2.js +1 -1
- package/dist/components/swirl-toolbar.js +1 -1
- package/dist/components/swirl-tooltip2.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-accordion-item.entry.js +1 -1
- package/dist/esm/swirl-accordion.entry.js +1 -1
- package/dist/esm/swirl-action-list-section.entry.js +1 -1
- package/dist/esm/swirl-action-list_3.entry.js +2 -2
- package/dist/esm/swirl-app-bar.entry.js +7 -1
- package/dist/esm/swirl-app-layout_6.entry.js +3 -3
- package/dist/esm/swirl-autocomplete.entry.js +4 -4
- package/dist/esm/swirl-avatar.entry.js +1 -1
- package/dist/esm/swirl-badge.entry.js +1 -1
- package/dist/esm/swirl-banner.entry.js +1 -1
- package/dist/esm/swirl-box.entry.js +1 -1
- package/dist/esm/swirl-button-group.entry.js +2 -2
- package/dist/esm/swirl-button.entry.js +1 -1
- package/dist/esm/swirl-card.entry.js +2 -2
- package/dist/esm/swirl-checkbox.entry.js +1 -1
- package/dist/esm/swirl-chip.entry.js +1 -1
- package/dist/esm/swirl-columns.entry.js +2 -2
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-dialog.entry.js +1 -1
- package/dist/esm/swirl-file-viewer_7.entry.js +2 -2
- package/dist/esm/swirl-form-control.entry.js +1 -1
- package/dist/esm/swirl-form-group.entry.js +1 -1
- package/dist/esm/swirl-icon-arrow-left_4.entry.js +1 -1
- package/dist/esm/swirl-icon-check-small_3.entry.js +2 -2
- package/dist/esm/swirl-icon-error_3.entry.js +2 -2
- package/dist/esm/swirl-icon.entry.js +1 -1
- package/dist/esm/swirl-image-grid-item.entry.js +2 -2
- package/dist/esm/swirl-inline-notification.entry.js +1 -1
- package/dist/esm/swirl-inline-status.entry.js +1 -1
- package/dist/esm/swirl-link.entry.js +1 -1
- package/dist/esm/swirl-menu.entry.js +2 -2
- package/dist/esm/swirl-modal.entry.js +3 -3
- package/dist/esm/swirl-option-list_2.entry.js +1 -1
- package/dist/esm/swirl-pagination.entry.js +1 -1
- package/dist/esm/swirl-popover_2.entry.js +3 -3
- package/dist/esm/swirl-progress-indicator.entry.js +1 -1
- package/dist/esm/swirl-radio.entry.js +1 -1
- package/dist/esm/swirl-search.entry.js +1 -1
- package/dist/esm/swirl-skeleton-box.entry.js +2 -2
- package/dist/esm/swirl-skeleton-text.entry.js +1 -1
- package/dist/esm/swirl-stack.entry.js +1 -1
- package/dist/esm/swirl-status-indicator.entry.js +1 -1
- package/dist/esm/swirl-switch.entry.js +1 -1
- package/dist/esm/swirl-tab-bar.entry.js +1 -1
- package/dist/esm/swirl-tab.entry.js +1 -1
- package/dist/esm/swirl-table-column.entry.js +1 -1
- package/dist/esm/swirl-text-input.entry.js +1 -1
- package/dist/esm/swirl-text.entry.js +1 -1
- package/dist/esm/swirl-toast-provider.entry.js +1 -1
- package/dist/esm/swirl-toast.entry.js +1 -1
- package/dist/esm/swirl-toolbar.entry.js +1 -1
- package/dist/esm/swirl-tooltip.entry.js +2 -2
- package/dist/swirl-components/{p-705efcf5.entry.js → p-022eecff.entry.js} +1 -1
- package/dist/swirl-components/{p-0ad3af6b.entry.js → p-0614f755.entry.js} +1 -1
- package/dist/swirl-components/{p-488310fc.entry.js → p-0ca77d35.entry.js} +1 -1
- package/dist/swirl-components/{p-6f415a78.entry.js → p-1032a97c.entry.js} +1 -1
- package/dist/swirl-components/{p-7019e6dc.entry.js → p-14bd9550.entry.js} +1 -1
- package/dist/swirl-components/{p-15a357eb.entry.js → p-1a93e4ae.entry.js} +1 -1
- package/dist/swirl-components/{p-e55171af.entry.js → p-259e41d2.entry.js} +1 -1
- package/dist/swirl-components/p-270309c2.entry.js +1 -0
- package/dist/swirl-components/{p-f0d3b581.entry.js → p-27853fc7.entry.js} +1 -1
- package/dist/swirl-components/{p-ac94fc99.entry.js → p-2e4931e8.entry.js} +1 -1
- package/dist/swirl-components/{p-7d4f193c.entry.js → p-36226188.entry.js} +1 -1
- package/dist/swirl-components/{p-c11ca18e.entry.js → p-378a6a5f.entry.js} +1 -1
- package/dist/swirl-components/{p-27f4f43f.entry.js → p-3c64c30a.entry.js} +1 -1
- package/dist/swirl-components/{p-04b44d30.entry.js → p-4070f21b.entry.js} +1 -1
- package/dist/swirl-components/{p-3cd3db70.entry.js → p-42b2fc50.entry.js} +1 -1
- package/dist/swirl-components/{p-c5fc2c63.entry.js → p-44fa8631.entry.js} +1 -1
- package/dist/swirl-components/{p-e6181004.entry.js → p-4a246b7f.entry.js} +1 -1
- package/dist/swirl-components/{p-a00700d8.entry.js → p-4b8b51bb.entry.js} +1 -1
- package/dist/swirl-components/{p-9c84b099.entry.js → p-5287ebee.entry.js} +1 -1
- package/dist/swirl-components/{p-78635b8d.entry.js → p-572420d6.entry.js} +1 -1
- package/dist/swirl-components/{p-36e5ed51.entry.js → p-65660ce0.entry.js} +2 -2
- package/dist/swirl-components/{p-fddd5aba.entry.js → p-68ab9b04.entry.js} +1 -1
- package/dist/swirl-components/{p-eb03f5e8.entry.js → p-77ca3b3d.entry.js} +1 -1
- package/dist/swirl-components/{p-fc9781a0.entry.js → p-788eeb00.entry.js} +1 -1
- package/dist/swirl-components/{p-fe3a2688.entry.js → p-78ff38b5.entry.js} +1 -1
- package/dist/swirl-components/{p-ef657692.entry.js → p-81826353.entry.js} +1 -1
- package/dist/swirl-components/{p-9eb636d4.entry.js → p-82a308c3.entry.js} +1 -1
- package/dist/swirl-components/{p-d1772d32.entry.js → p-8f3b3b85.entry.js} +1 -1
- package/dist/swirl-components/{p-10a5d3dd.entry.js → p-94a4e326.entry.js} +1 -1
- package/dist/swirl-components/{p-365d82f5.entry.js → p-9d700ac9.entry.js} +1 -1
- package/dist/swirl-components/{p-94468a2a.entry.js → p-a1587b86.entry.js} +1 -1
- package/dist/swirl-components/{p-1045e424.entry.js → p-ac12a851.entry.js} +1 -1
- package/dist/swirl-components/{p-146bafdb.entry.js → p-acaf436c.entry.js} +1 -1
- package/dist/swirl-components/{p-bb4f804e.entry.js → p-b1174043.entry.js} +1 -1
- package/dist/swirl-components/{p-4d2a33ed.entry.js → p-b2ab1a04.entry.js} +1 -1
- package/dist/swirl-components/{p-eec0e484.entry.js → p-b5194373.entry.js} +1 -1
- package/dist/swirl-components/{p-25bf25c6.entry.js → p-b528f6f9.entry.js} +1 -1
- package/dist/swirl-components/{p-0d1168a4.entry.js → p-c6836ea7.entry.js} +1 -1
- package/dist/swirl-components/p-c8b4e275.entry.js +1 -0
- package/dist/swirl-components/{p-d49fea73.entry.js → p-cbf4e512.entry.js} +1 -1
- package/dist/swirl-components/{p-83942eae.entry.js → p-cfe8e85c.entry.js} +1 -1
- package/dist/swirl-components/{p-8a46ef77.entry.js → p-dd3bce08.entry.js} +1 -1
- package/dist/swirl-components/{p-4733182f.entry.js → p-df721c05.entry.js} +1 -1
- package/dist/swirl-components/{p-4d0bcdd1.entry.js → p-e0f2e78f.entry.js} +1 -1
- package/dist/swirl-components/{p-53a10b1b.entry.js → p-e2317bbb.entry.js} +1 -1
- package/dist/swirl-components/{p-a6d58ca2.entry.js → p-e8fad360.entry.js} +1 -1
- package/dist/swirl-components/{p-dbeb8ed9.entry.js → p-ed2d7241.entry.js} +1 -1
- package/dist/swirl-components/{p-cdd3f180.entry.js → p-ed8b7429.entry.js} +1 -1
- package/dist/swirl-components/p-efc0855b.entry.js +1 -0
- package/dist/swirl-components/p-f4d3c5d2.entry.js +1 -0
- package/dist/swirl-components/{p-6beb6879.entry.js → p-fa9d2fad.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.css +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-app-bar/swirl-app-bar.d.ts +3 -0
- package/dist/types/components.d.ts +6 -0
- package/package.json +1 -1
- package/vscode-data.json +66 -0
- package/dist/swirl-components/p-11da1782.entry.js +0 -1
- package/dist/swirl-components/p-63a94955.entry.js +0 -1
- package/dist/swirl-components/p-afc2de7b.entry.js +0 -1
- package/dist/swirl-components/p-e434883f.entry.js +0 -1
|
@@ -267,7 +267,7 @@ export class SwirlMenu {
|
|
|
267
267
|
"menu--mobile": this.mobile,
|
|
268
268
|
"menu--root": isTopLevelMenu,
|
|
269
269
|
});
|
|
270
|
-
return (h(Host, { key: '
|
|
270
|
+
return (h(Host, { key: 'd20d137547b442029b364e29c27a3ed03c032834' }, h("div", { key: 'd2691a72702198bb9f78c04f1d90fa86a5139f5b', class: className }, this.mobile && isTopLevelMenu && (h("div", { key: 'c8c308bfc715687c7f70d1ab7c9e4e155a32dd76', class: "menu__mobile-header" }, this.activeLevel === 0 && (h("swirl-button", { key: '4c4846df329ff48315cc9eaf497c974d0856faba', hideLabel: true, icon: "<swirl-icon-close></swirl-icon-close>", label: this.mobileCloseMenuButtonLabel, onClick: this.onClose, variant: "plain" })), this.activeLevel > 0 && (h("swirl-button", { key: '127527b83beb2d0ca739598ee3c5d8b153d65287', hideLabel: true, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", label: this.mobileBackButtonLabel, onClick: this.onGoBack, variant: "plain" })), h("span", { key: '58f231d8c4d4e70cd7c737236c04e9e580085a66', class: "menu__title", id: "menu-title" }, h("swirl-heading", { key: '6fdee562adbcb1aed282905c90ec63cad91a3893', align: "center", as: "span", level: 4, text: this.label, truncate: true })), h("swirl-button", { key: 'e81182d2cf9d9be7fa9f02828ee0907e5425eaf9', class: "menu__done-button", intent: "primary", label: this.mobileDoneButtonLabel, onClick: this.onDone }))), h("div", { key: '7f87e18b3ef5de4a82bd9606081e3e11bab78dc9', "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-orientation": "vertical", class: "menu__menu", onKeyDown: this.onKeyDown, ref: (el) => (this.menuContainer = el), role: role, style: !this.mobile && this.level > 0
|
|
271
271
|
? {
|
|
272
272
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
273
273
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
@@ -278,7 +278,7 @@ export class SwirlMenu {
|
|
|
278
278
|
? `calc(-100% * ${this.activeLevel})`
|
|
279
279
|
: "100%",
|
|
280
280
|
}
|
|
281
|
-
: undefined }, h("slot", { key: '
|
|
281
|
+
: undefined }, h("slot", { key: '33104855fa5fe67514235cbf01a892950b92ca9d' })))));
|
|
282
282
|
}
|
|
283
283
|
static get is() { return "swirl-menu"; }
|
|
284
284
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,13 +167,13 @@ export class SwirlModal {
|
|
|
167
167
|
"modal--scrolled": this.scrolled,
|
|
168
168
|
"modal--scrolled-down": this.scrolledDown,
|
|
169
169
|
});
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'd101cece24cb469e6300a88cda41a67281cd2b67' }, h("section", { key: 'ebad873d554eb02f4935d21d52e329320d31a47e', "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: className, onKeyDown: this.onKeyDown, role: "dialog", ref: (el) => (this.modalEl = el) }, h("div", { key: 'bf4a0569609c57d8f13c98ea86dc2fa22bb608d8', class: "modal__backdrop", onClick: this.onBackdropClick }), h("div", { key: 'd8624f029c1a40a13159ec2f6eb244233a337b9b', class: "modal__body", style: {
|
|
171
171
|
"--swirl-modal-max-height": this.maxHeight,
|
|
172
172
|
"--swirl-modal-height": this.height,
|
|
173
173
|
maxWidth: this.maxWidth,
|
|
174
|
-
} }, h("header", { key: '
|
|
174
|
+
} }, h("header", { key: '1bd7f42348ca11ded0c28d5324b6f070949b44c9', class: "modal__custom-header" }, h("slot", { key: '39fbacbcd794a371b898943bce382fee3d86a44b', name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && (h("header", { key: 'c397f6bc837f3b8eb54615110f5938ed180cfb26', class: "modal__header" }, h("div", { key: '2a2624b81f447f14c4c02528a3cde361a9ce2dcb', class: "modal__header-bar" }, !this.hideCloseButton && (h("swirl-button", { key: 'eb1a57b60af155cfc640ef2ef0b6ec0e57889c88', class: "modal__close-button", hideLabel: true, icon: this.variant === "default"
|
|
175
175
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
176
|
-
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), !this.hideLabel && (h("swirl-heading", { key: '
|
|
176
|
+
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), !this.hideLabel && (h("swirl-heading", { key: '7d5e09b46ed9065e8d21830e4d7fa83687b0b911', as: "h2", class: "modal__heading", level: 3, text: this.label }))))), h("div", { key: 'a2e87dc146c87c1f900c1692a3d00cc05691d032', class: "modal__content-container" }, h("div", { key: '413163c6bc7bd8057be1bb73e30f0db901d5d9c8', class: "modal__primary-content" }, h("div", { key: 'cd9db06581c8286137943e5a2f05d11bc7febe42', class: "modal__header-tools" }, h("slot", { key: '5a92044e76f842523e6e2e74413826d9d32180da', name: "header-tools" })), h("div", { key: 'f1eae6dde8e0cb56ec4dd5a92903a5f99738e4cf', class: "modal__content", onScroll: this.determineScrollStatus, ref: (el) => (this.scrollContainer = el) }, h("slot", { key: '22fe6f164c770c6b61b0c02f0aa8ce0bed9dbf49' }))), h("div", { key: '5bda225a1be3dc0e41a6fba093e430096ca372c3', class: "modal__secondary-content" }, h("slot", { key: '24bbcea293f3f849dfec59a00ba6c78d8d9adfa6', name: "secondary-content" }))), h("div", { key: '1d251bb36ac9267efaff5ebbb4dfbfeceae6b001', class: "modal__custom-footer" }, h("slot", { key: '64bac816af117d2c1ded2e3e2296e5dc3086f1eb', name: "custom-footer" })), showControls && (h("footer", { key: '84941235ca72a66ec1e8e880af177bf67d6264ba', class: "modal__controls" }, h("swirl-button-group", { key: 'f5e332e1831b8f168375673cc51f87fd56ef7f97', wrap: true }, this.secondaryActionLabel && (h("swirl-button", { key: '4c104649ec6bac6f17c1e57ea8b79762490c5da3', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (h("swirl-button", { key: 'df096b033de95729cd0c12a70afc17b4afd5dbc0', intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))))));
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "swirl-modal"; }
|
|
179
179
|
static get originalStyleUrls() {
|
|
@@ -64,9 +64,9 @@ export class SwirlOptionListItem {
|
|
|
64
64
|
"option-list-item--dragging": this.dragging,
|
|
65
65
|
"option-list-item--selected": this.selected,
|
|
66
66
|
});
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: 'baa6cd5d65fd7b0e85802a5ca91eb1a8721663a3' }, h("div", { key: '601fe74fc80a7d03423e7d31b4050aec1f95b4ca', "aria-checked": this.swirlAriaRole === "menuitemradio" ? ariaSelected : undefined, "aria-describedby": Boolean(this.description)
|
|
68
68
|
? `option-list-item-${this.elementId}-description`
|
|
69
|
-
: undefined, "aria-disabled": ariaDisabled, "aria-labelledby": `option-list-item-${this.elementId}-label`, "aria-selected": this.swirlAriaRole === "option" ? ariaSelected : undefined, class: className, id: `option-list-item-${this.elementId}`, onBlur: this.onBlur, onFocus: this.onFocus, part: "option-list-item", role: this.swirlAriaRole }, showIcon && (h("span", { key: '
|
|
69
|
+
: undefined, "aria-disabled": ariaDisabled, "aria-labelledby": `option-list-item-${this.elementId}-label`, "aria-selected": this.swirlAriaRole === "option" ? ariaSelected : undefined, class: className, id: `option-list-item-${this.elementId}`, onBlur: this.onBlur, onFocus: this.onFocus, part: "option-list-item", role: this.swirlAriaRole }, showIcon && (h("span", { key: '94eb2235c365ab0e3ae69f49c6d9b2818735e459', class: "option-list-item__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), showCheckbox && (h("span", { key: '0b752cc978e222f8e7cf371029ab36293990ad00', class: "option-list-item__checkbox" }, h("span", { key: '542d646b3e17bded69827bd561d3d7b4b2f7f919', class: "option-list-item__checkbox-box" }, this.selected && (h("swirl-icon-check-strong", { key: 'f29515f868b57658043920d35f5e6d219432e510', class: "option-list-item__checkbox-icon", size: 16 }))))), h("span", { key: '0ed7f278091da93d5421071a0437650f10ce0fb2', class: "option-list-item__label-container" }, h("span", { key: 'a342a2d255de209eb9f400447612260fa2323dfd', class: "option-list-item__label", id: `option-list-item-${this.elementId}-label`, part: "option-list-item__label" }, this.label), this.description && (h("span", { key: '452176963ddf7e426cfb98b2bb32b058524213b9', class: "option-list-item__description", id: `option-list-item-${this.elementId}-description` }, this.description))), showSelectionIcon && (h("span", { key: '41c0d4ba183dff49fb358ed635d83e7a8f2bf196', class: "option-list-item__selection-icon" }, h("swirl-icon-check-small", { key: 'b7153bd33bc1f52128e23fc40c0ddb43fe3d347a', size: this.iconSize })))), this.allowDrag && (h("button", { key: '6c5cf1ca3fe3a126b9d6535c16cd9b450f9f9de9', "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "option-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, tabIndex: this.focused ? 0 : -1, type: "button" }, h("swirl-icon-drag-handle", { key: '3e5f5623c0e944bc548157c3b8bf0f641caaa50b', size: this.iconSize })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "swirl-option-list-item"; }
|
|
72
72
|
static get encapsulation() { return "scoped"; }
|
|
@@ -81,7 +81,7 @@ export class SwirlPagination {
|
|
|
81
81
|
const showDropDown = this.variant === "advanced";
|
|
82
82
|
const ariaPageLabel = `${this.page.toLocaleString()} ${this.pageLabel} ${this.pages.toLocaleString()}`;
|
|
83
83
|
const className = classnames("pagination", `pagination--variant-${this.variant}`);
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: 'a868ebbd52be7109114aa9902e90da4e8b3cc05b' }, h("nav", { key: 'c901f4199b231df362a5c245f39793158347e597', "aria-label": this.label, class: className }, h("ul", { key: '030fd790cf353b89a48d8b8d990c2e13984dbad6', class: "pagination__list", part: "pagination__list" }, this.showPageSizeSelect && (h("li", { key: 'dcd1ee3eb343ae6a095836719c94b554b589baf1', class: "pagination__list-item" }, h("label", { key: '84d344807e9efb1b6c7d8ca867e234fcd1552f3e', class: "pagination__page-size-selection" }, h("swirl-text", { key: '76eda5b61d9c7e9a078e0c6a3538dcc548c096f7' }, this.pageSizeSelectLabel), h("swirl-stack", { key: 'fa95c18ef16df5f3cee53d82a3b879c124f2ea52', align: "center", class: "pagination__page-size-select-container", orientation: "horizontal" }, h("select", { key: 'bae99f7594c60a9db45ea6c86edf47bbeafe8ed8', class: "pagination__page-size-select", onChange: this.onPageSizeSelect }, this.pageSizeOptions.map((pageSizeOption) => (h("option", { key: pageSizeOption, selected: pageSizeOption === this.pageSize, value: pageSizeOption }, pageSizeOption)))), h("swirl-icon-expand-more", { key: '3e02befb8461a4ffc9256058bd088c91447b000c', "aria-hidden": "true", class: "pagination__page-size-select-icon", size: 16 }))))), h("li", { key: 'c6c21f0ee13e46586bf0982c2fb97636ee016285', class: "pagination__list-item" }, h("swirl-button", { key: '06f41cac26e65a3b4a1493bc3824e9d9961a83ae', class: "pagination__first-page-button", disabled: this.page <= 1, hideLabel: true, icon: "<swirl-icon-double-arrow-left></swirl-icon-double-arrow-left>", intent: "primary", label: this.firstPageButtonLabel, onClick: this.onFirstPageButtonClick })), h("li", { key: 'f519537b3bc4b4c5dde7cee4623a23a28953c922', class: "pagination__list-item" }, h("swirl-button", { key: '22db009bbff5ba95a12f847e9da292ee6b2e3ba4', class: "pagination__prev-button", disabled: this.page <= 1, hideLabel: true, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", intent: "primary", label: this.prevButtonLabel, onClick: this.onPrevButtonClick })), showPageLabel ? (h("li", { class: "pagination__list-item pagination__page-label" }, h("span", null, showDropDown ? (h("span", { "aria-current": "page", class: "pagination__advanced-label" }, h("input", { "aria-label": this.pageSelectLabel, class: "pagination__page-input", onFocus: this.onFocusPageInput, onInput: this.onPageInput, ref: (el) => (this.pageInput = el), type: "text", value: this.page }), h("span", { "aria-hidden": "true" }, this.pageLabel, " ", this.pages.toLocaleString()))) : (h("span", { "aria-current": "page" }, ariaPageLabel))))) : (h("li", { class: "pagination__list-item" }, h("swirl-visually-hidden", null, h("span", { "aria-current": "page" }, ariaPageLabel)))), h("li", { key: '5084487945838fc47988d1bab2f97aaf2198c938', class: "pagination__list-item" }, h("swirl-button", { key: '1b7243f892803406be2fa5956def1e79f37fcc04', class: "pagination__next-button", disabled: this.page >= this.pages, hideLabel: true, icon: "<swirl-icon-chevron-right></swirl-icon-chevron-right>", iconPosition: "end", intent: "primary", label: this.nextButtonLabel, onClick: this.onNextButtonClick })), h("li", { key: '006a6afdc28d7033fffa3b90e72f2371a22abcd7', class: "pagination__list-item" }, h("swirl-button", { key: 'd409925fbd17f122bd01d32f4d17b71d40f2c414', class: "pagination__last-page-button", disabled: this.page >= this.pages, hideLabel: true, icon: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", intent: "primary", label: this.lastPageButtonLabel, onClick: this.onLastPageButtonClick }))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "swirl-pagination"; }
|
|
87
87
|
static get encapsulation() { return "shadow"; }
|
|
@@ -252,14 +252,14 @@ export class SwirlPopover {
|
|
|
252
252
|
"popover--inactive": !this.active,
|
|
253
253
|
"popover--transparent": this.transparent,
|
|
254
254
|
});
|
|
255
|
-
return (h(Host, { key: '
|
|
255
|
+
return (h(Host, { key: 'f3bca2b5bafb8518298ab646ac1c348b5c56b232' }, h("div", { key: '5c035656e06397cec7631204d61faece94c616fb', class: className, onKeyDown: this.onKeydown }, h("div", { key: 'f2d24daa53c0e5165c5c60e38cd872179c5473ba', "aria-hidden": !this.active ? "true" : "false", "aria-label": this.label, class: "popover__content", id: this.popoverId, part: "popover__content", role: "dialog", ref: (el) => (this.contentContainer = el), style: {
|
|
256
256
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
257
257
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
258
|
-
}, tabindex: "-1" }, h("span", { key: '
|
|
258
|
+
}, tabindex: "-1" }, h("span", { key: '4efd18f520572ae456d0e5bbfc3c92a158b771bd', class: "popover__handle" }), h("div", { key: 'fa2c01019b25ec19830887d6ea72f08ca42daf27', class: "popover__scroll-container", part: "popover__scroll-container", ref: (el) => (this.scrollContainer = el), style: {
|
|
259
259
|
maxHeight: !mobile && Boolean(this.maxHeight)
|
|
260
260
|
? this.maxHeight
|
|
261
261
|
: undefined,
|
|
262
|
-
} }, h("slot", { key: '
|
|
262
|
+
} }, h("slot", { key: '6ea169f4b966c6bef3037e9a1f1d3f39e0bda3b3' }))), this.active && (h("div", { key: 'cadaaf7d7ba1a45bb07bcd41fae23b83e3d95394', class: "popover__backdrop", onClick: this.onCloseButtonClick })))));
|
|
263
263
|
}
|
|
264
264
|
static get is() { return "swirl-popover"; }
|
|
265
265
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class SwirlProgressIndicator {
|
|
|
13
13
|
const radius = this.size === "m" ? 20 : 10;
|
|
14
14
|
const circumference = Math.round(radius * 2 * Math.PI);
|
|
15
15
|
const dashOffset = Math.round(circumference * ((100 - this.value) / 100));
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'ca77d885b616b669a5033061be8f2f21343a21d7', class: this.variant }, this.variant === "bar" && (h("progress", { key: '71195582ff12f2710703846d15549aa8ceeb3712', "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: className, max: 100, value: this.value })), this.variant === "circle" && (h("span", { key: '2d0da5160a59cd6002c8ee9fd2b907b6fe7210bd', role: "progressbar", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: className }, h("svg", { key: '758e7629cb59f15066e898f5b052d3e861bf4c1d', class: "progress-indicator__circle", focusable: "false", viewBox: `0 0 ${(radius + strokeWidth) * 2} ${(radius + strokeWidth) * 2}` }, h("circle", { key: '3a50b796bdd0d77bfdca2fd6260e98674094e4d4', class: "progress-indicator__circle-background", cx: radius + strokeWidth, cy: radius + strokeWidth, r: radius, fill: "none", "stroke-width": strokeWidth }), h("circle", { key: 'f5a460cc868e4445682312f7ce48e06cc71e95b8', class: "progress-indicator__circle-value", cx: radius + strokeWidth, cy: radius + strokeWidth, r: radius, fill: "none", "stroke-width": strokeWidth, "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "swirl-progress-indicator"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class SwirlRadio {
|
|
|
36
36
|
"radio--invalid": this.invalid,
|
|
37
37
|
"radio--unchecked": unchecked,
|
|
38
38
|
});
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '406d97d8e87da8a17bbff7b67cf6ecbf7d908064', style: { width: this.variant === "card" ? "100%" : undefined } }, h("label", { key: '6e4e93dc91ebfb3264226fc58e9322184179698d', class: className, htmlFor: this.inputId }, h("span", { key: '255519514587f38e0e9aa1beb3cee17993ff5cc4', class: "radio__control" }, h("swirl-visually-hidden", { key: '1bb98d55d2caceb15f72a2a82c3a0957a6509d0b' }, h("input", { key: '928992a95349bd917415be1a34c73bacec246bad', "aria-checked": ariaCheckedLabel, "aria-invalid": ariaInvalid, checked: checked, class: "radio__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, type: "radio", value: this.value })), h("span", { key: 'd912ffceed37c2f4201396d74cdff439cb41e735', "aria-hidden": "true", class: "radio__box" })), h("span", { key: 'c3cdad462855597283f685bca62bf7bdef10e04d', class: "radio__label-container" }, this.label && h("span", { key: '56a0225a0c1e8e42e08187f895ddf31745528fa5', class: "radio__label" }, this.label), this.description && (h("span", { key: '844c8355d1f8fc2d679df288fb19a6edc497d009', class: "radio__description", innerHTML: this.description }))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "swirl-radio"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -150,7 +150,7 @@ export class SwirlResourceListItem {
|
|
|
150
150
|
"resource-list-item--wrap-description": this.descriptionWrap,
|
|
151
151
|
"resource-list-item--wrap-label": this.labelWrap,
|
|
152
152
|
});
|
|
153
|
-
return (h(Host, { key: '
|
|
153
|
+
return (h(Host, { key: '007dd02e5de6eb43eed280be8d9ac171381611d6', role: "row" }, h("div", { key: 'f8bb8244f8264a7931d1a11c8c189ec23a5e090c', class: className, role: "gridcell" }, h(Tag, { key: 'f65d3c73db39ea39477549fec41f094164b7acfb', "aria-checked": ariaChecked, "aria-disabled": disabled ? "true" : undefined, "aria-labelledby": this.elementId, class: "resource-list-item__content", href: href, disabled: disabled, onClick: this.onClick, onBlur: this.onBlur, onFocus: this.onFocus, part: "resource-list-item__content", role: role, tabIndex: 0, type: Tag === "button" ? "button" : undefined }, this.hasMedia && (h("span", { key: 'a8251920557048c6dc745ccebf275bb56d257eff', class: "resource-list-item__media" }, h("slot", { key: '1b76ab99b80440c5a3941597c6ae843ca1155b90', name: "media" }))), h("span", { key: '0dbaad3c45f79687f369510a2a2316d7a240ceea', class: "resource-list-item__label-container", style: labelContainerStyles }, h("span", { key: 'ae2de7cce9c28f56587aec5f539607aa7a6e1917', class: "resource-list-item__label", id: this.elementId, innerHTML: this.allowHtml ? this.label : undefined }, !this.allowHtml && this.label), this.description && (h("span", { key: '04df62160bd2531f9e8fd571da30283702d2fa59', class: "resource-list-item__description", innerHTML: this.allowHtml ? this.description : undefined }, !this.allowHtml && this.description))), showMeta && (h("span", { key: '20529f3131054e8a8fda42ef55e5861f45e9577c', class: "resource-list-item__meta" }, h("span", { key: '92bf664d9335154929766e6808a290aefceab171', class: "resource-list-item__meta-text" }, this.meta), h("span", { key: '5391c252bc526e9257037944796e7c00994b835e', class: "resource-list-item__badges" }, h("slot", { key: '8d591183dba34e33e85bbf50f0a5b344f08d6061', name: "badges" }))))), this.selectable && (h("span", { key: '303085931b5f773fb858acafcd68dc8982b4380b', "aria-hidden": "true", class: "resource-list-item__checkbox" }, h("span", { key: '7c991940eaeb3f1d903fa1379c9aa08849539d42', class: "resource-list-item__checkbox-icon" }, this.checked && (h("swirl-icon-check-strong", { key: 'bf48f8c8c0e5c573fd6f627115d6b54d3535f852' }))))), h("span", { key: 'c2af6997a43abf73cb7d9ae7c076c36a5218593d', class: "resource-list-item__control", onClick: this.onControlClick, ref: (el) => (this.controlContainer = el) }, h("slot", { key: '80dd98d66ffdf8dae566d4fc1e9c94c0c619faef', name: "control" })), showMenu && (h("swirl-popover-trigger", { key: 'e7e6e3cd659413c2e7dec432c366d9d0585d3183', swirlPopover: this.menuTriggerId }, h("swirl-button", { key: 'fe4e73ee6f18d3a578ef29a2c4d6070407382824', "aria-disabled": disabled ? "true" : undefined, class: "resource-list-item__menu-trigger", disabled: disabled, hideLabel: true, icon: "<swirl-icon-more-horizontal></swirl-icon-more-horizontal>", intent: "primary", label: this.menuTriggerLabel, onClick: this.onMenuTriggerClick })))), this.allowDrag && (h("button", { key: '17061d6ecc880827eff61a03a828f0ec077de165', "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "resource-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, type: "button" }, h("swirl-icon-drag-handle", { key: 'fe93f1d8acf06d512bdff43ad997b9c663e3f47e', size: this.iconSize })))));
|
|
154
154
|
}
|
|
155
155
|
static get is() { return "swirl-resource-list-item"; }
|
|
156
156
|
static get encapsulation() { return "scoped"; }
|
|
@@ -64,7 +64,7 @@ export class SwirlSearch {
|
|
|
64
64
|
const className = classnames("search", `search--variant-${this.variant}`, {
|
|
65
65
|
"search--disabled": this.disabled,
|
|
66
66
|
});
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '5bf70e02de79109b2b06f398d3ce1859f76df9e3' }, h("span", { key: '826ecc2b262862f239e554b2185329580cd83a17', class: className, ref: (el) => (this.iconEl = el) }, h("swirl-icon-search", { key: 'adb74eac3160bffcffc8088c1a500f2215967165', "aria-hidden": "true", class: "search__icon" }), h("input", { key: '9b3504f92c7cec190ef9b4a6613d513ebd960e7e', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.label, autoComplete: "off", autoFocus: this.autoFocus, class: "search__input", disabled: this.disabled, id: this.inputId, inputMode: "search", name: this.inputName, onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.input = el), type: "search", value: this.value }), !this.disabled && (h("button", { key: 'fe42a660d21d6681cc30e648f7f616e6636446c3', "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.clear, type: "button" }, h("swirl-icon-cancel", { key: 'cd55c1ccdb59ab69129e9751dd4d25f0157f585a' }))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "swirl-search"; }
|
|
70
70
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SwirlSeparator {
|
|
|
17
17
|
paddingLeft: `var(--s-space-${this.spacing})`,
|
|
18
18
|
};
|
|
19
19
|
const className = classnames("separator", `separator--border-color-${this.borderColor}`, `separator--orientation-${this.orientation}`);
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '0687a27202c4b760115bf22a21f1e4e3abb13728', "aria-orientation": this.orientation, class: className, role: "separator", style: styles }, h("span", { key: '8d67381b3d052acfc3710064d3f19d104a8fdbd4', class: "separator__line" })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "swirl-separator"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,11 +10,11 @@ export class SwirlSkeletonBox {
|
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
12
|
const className = classnames("skeleton-box", `skeleton-box--border-radius-${this.borderRadius}`, { "skeleton-box--static": !this.animated });
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'd2dbe289c28013f1e5a3e09beb6e7a7a893d6144', style: {
|
|
14
14
|
width: !Boolean(this.width) && !Boolean(this.aspectRatio)
|
|
15
15
|
? "100%"
|
|
16
16
|
: undefined,
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, h("div", { key: 'd6b77cbe897bd99e91070bb83f2598a6e8d4c09f', class: className, style: {
|
|
18
18
|
aspectRatio: this.aspectRatio,
|
|
19
19
|
borderRadius: this.borderRadius !== "pill"
|
|
20
20
|
? `var(--s-border-radius-${this.borderRadius})`
|
|
@@ -9,7 +9,7 @@ export class SwirlSkeletonText {
|
|
|
9
9
|
render() {
|
|
10
10
|
const className = classnames("skeleton-text", `skeleton-text--size-${this.size}`, { "skeleton-text--static": !this.animated });
|
|
11
11
|
const lineClassName = classnames("skeleton-text__line", `skeleton-text__line--size-${this.size}`);
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '69157cd4b1f456890f3d60e0710b7c7df75d7995' }, h("div", { key: '4645af2dfd3e79330282cd80cdde83a9409a749f', class: className, part: className }, new Array(this.lines).fill(undefined).map((_, index) => (h("div", { class: lineClassName, key: index, part: lineClassName }))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "swirl-skeleton-text"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class SwirlSpinner {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
const className = classnames("spinner", `spinner--size-${this.size}`);
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '185b0f7f5bd1d312e84313cd74756329f2c0446f' }, h("span", { key: '7fa538fca371fccba91fe0efc8736a19b434aeca', class: className, role: Boolean(this.label) ? "status" : undefined }, h("svg", { key: 'bc4ba8502fb217790a74f2c1e05e1390be4ebb03', "aria-hidden": "true", class: "spinner__indicator", focusable: "false", viewBox: "0 0 50 50" }, h("circle", { key: '624fc6202586c08336c466912fe2a516cd57f478', class: "spinner__background", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" }), h("circle", { key: '88ac6aac1928e6f02e7fd3943a20dc6d9608a575', class: "spinner__circle", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" })), this.label && (h("swirl-visually-hidden", { key: '154e0577471e232c0e04fd946e658d0ad01ad228' }, h("span", { key: '4fc3f944a02f251592393ec67a57d9e2e58fd53e', class: "spinner__label" }, this.label))))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "swirl-spinner"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class SwirlStack {
|
|
|
13
13
|
render() {
|
|
14
14
|
const Tag = this.as;
|
|
15
15
|
const className = classnames("stack", `stack--align-${this.align}`, `stack--justify-${this.justify}`, `stack--orientation-${this.orientation}`, { "stack--wrap": this.wrap });
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '24ab0f168eba0b98ba7023b8e80da49d0a23a45e', style: { height: this.height } }, h(Tag, { key: '79d1ef08f5268fbe5789c1568461282c7e4097a6', class: className, style: { gap: `var(--s-space-${this.spacing})`, height: this.height } }, h("slot", { key: 'a4f47f46c9ff3b75b9f4d18cc320cd48cdab5d02' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "swirl-stack"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class SwirlStatusIndicator {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
const className = classnames("status-indicator", `status-indicator--intent-${this.intent}`);
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '9f0e9b4f7d3cc04409dc6daaa77be11d8b4fefe7' }, h("div", { key: '6ae100f4aad059d72855d0214901a60d67820457', class: className }, h("span", { key: '31c5883aa6ef6582f5abc00f7f97d7e25bff97b1', class: "status-indicator__dot" }), h("span", { key: '4c5bf98ee5b89260c147351678dae6ddaa04008e', class: "status-indicator__label" }, this.label))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "swirl-status-indicator"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class SwirlSwitch {
|
|
|
24
24
|
"switch--on": on,
|
|
25
25
|
"switch--disabled": this.disabled,
|
|
26
26
|
});
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'b73a0baa355e8c9d735a35e21db0f159ac1464fa' }, h("label", { key: 'd64e138a07f24f7fa242f64708c8bbbca609f7b5', class: className, htmlFor: this.inputId }, h("span", { key: '1cac1350333259d1da98005f12659d6b34b4dbe0', class: "switch__control" }, h("swirl-visually-hidden", { key: '95d140a3410b7f3eb3ffaf63ba803d7105b901a6' }, h("input", { key: '167ca5da2cf126def2e683ad58b1ac34deee90ab', "aria-checked": ariaCheckedLabel, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, role: "switch", type: "checkbox", value: this.value })), h("span", { key: '939fc3e8248a03a90c073a2352cae494b3f70732', "aria-hidden": "true", class: "switch__thumb" })), this.label && !this.hideLabel && (h("span", { key: 'cb48d52eb206492642afc9443a4607ecaf000a1f', class: "switch__label" }, this.label)), this.label && this.hideLabel && (h("swirl-visually-hidden", { key: 'c4e32359d986473fb122062777c8f978b45a1fa5' }, this.label)))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "swirl-switch"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SwirlTab {
|
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
12
|
const className = classnames("tab", { "tab--active": this.active });
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '66e47f42bb3d80f2dc0b2564c656df71d353a1d3', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1 }, h("div", { key: '5b88cc86d431aa4baaabdf280ee3503bbca825e6', class: className, style: { padding: `var(--s-space-${this.padding})` } }, h("slot", { key: '30f1dbeaccae338f6dbb99633aa48d275f3a75b2' }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "swirl-tab"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class SwirlTabBar {
|
|
|
17
17
|
this.tabs = [];
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '4313606f0cb6043928ba1b873221c2fc43e3dbd0' }, h("div", { key: 'ad4b27c49f6a0e8da48628dbc0fc2db53e050d0e', "aria-label": this.label, class: "tab-bar", onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist" }, this.tabs.map((tab) => {
|
|
21
21
|
const className = classnames("tab-bar__tab", {
|
|
22
22
|
"tab-bar__tab--active": tab.active,
|
|
23
23
|
});
|
|
@@ -22,7 +22,7 @@ export class SwirlTableColumn {
|
|
|
22
22
|
maxWidth: this.maxWidth || "",
|
|
23
23
|
minWidth: this.minWidth || "",
|
|
24
24
|
};
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4fac797a0fbaf5bd13c68857a708086a4cf4e6ee', "aria-sort": this.sort, class: "table-column", role: "columnheader", style: styles }, h("span", { key: 'e60434b33312042f5f572f4e27919c0212ed5f0c' }, h("slot", { key: '33e649b664d6113d8f497cbedee8fd186cc0cb96' })), this.sortable && (h("span", { key: 'b621d6748bb81ffc3c4c5c36d5b97867ff4e42f7', class: "table-column__sort-indicator" }, this.sort === "ascending" && (h("swirl-icon-arrow-upward", { key: '358c6f0c54f321e97209f5da1fe6b9f990df0d10', "aria-hidden": "true", size: 20 })), this.sort === "descending" && (h("swirl-icon-arrow-downward", { key: '2b0ec5fbd66ee0a91074d7e9b9707ef3e6c85f09', "aria-hidden": "true", size: 20 })), !Boolean(this.sort) && " "))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "swirl-table-column"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class SwirlTag {
|
|
|
16
16
|
const className = classnames("tag", `tag--intent-${this.intent}`, `tag--size-${this.size}`, {
|
|
17
17
|
"tag--bordered": this.bordered,
|
|
18
18
|
});
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'a7e7462eac54e144fc9d1d442d33287c480eefce' }, h("span", { key: 'b758ec2a9c31032caa720bfefaf769f3f2cefe6a', class: className, part: "tag" }, h("span", { key: '65c171c46715749bbc22c1ceff96963589e298ac', class: "tag__label" }, this.label), this.removable && (h("button", { key: 'd1ea6ea0df8612c3c4f2a4bb9a4d5b0be5f69279', "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : undefined, type: "button" }, h("swirl-icon-close", { key: 'f9d220ded4892a78413f4b5415b3083842fcd0ef', size: 16 }))))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "swirl-tag"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,7 +52,7 @@ export class SwirlText {
|
|
|
52
52
|
const styles = {
|
|
53
53
|
whiteSpace: truncate ? "nowrap" : this.whiteSpace,
|
|
54
54
|
};
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '532fc3d60139b1b6c27a3e2713f94e1a3a855d45' }, h(Tag, { key: '944a5502b8d218989035dd89c9ce1f33d0003399', class: className, ref: (el) => (this.textEl = el), style: styles }, h("slot", { key: 'bb53161691a0f57a003360b3437d8c6fc34fd29c' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "swirl-text"; }
|
|
58
58
|
static get encapsulation() { return "scoped"; }
|
|
@@ -176,7 +176,7 @@ export class SwirlTextInput {
|
|
|
176
176
|
"text-input--inline": this.inline,
|
|
177
177
|
"text-input--show-password": this.type === "password" && this.showPassword,
|
|
178
178
|
});
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: 'c28a27d2de16b8bab0bcbdedeb4577cc3c5926f1' }, h("div", { key: 'de1f6b38914d6dc549145a3a37730689429c9647', class: className }, this.prefixLabel && (h("span", { key: '188008d2d73f51127abe4de37306c82110344b29', class: "text-input__prefix" }, this.prefixLabel)), h(Tag, { key: '2264633163429eb618346241bbc99384a62fd4bb', "aria-autocomplete": this.swirlAriaAutocomplete, "aria-controls": this.swirlAriaControls, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": this.swirlAriaExpanded, "aria-invalid": ariaInvalid, autoComplete: this.autoComplete, autoFocus: this.autoFocus, class: "text-input__input", disabled: this.disabled, inputMode: this.mode, maxLength: this.maxLength, max: this.type === "number" ? this.max : undefined, min: this.type === "number" ? this.min : undefined, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyPress: this.onKeyPress, placeholder: !Boolean(this.suffixLabel) ? this.placeholder : undefined, ref: (el) => (this.inputEl = el), required: this.required, role: this.swirlRole, rows: this.rows > 1 ? this.rows : this.autoGrow ? 1 : undefined, spellcheck: this.spellCheck, step: this.type === "number" ? this.step : undefined, type: type, value: this.value }, this.rows > 1 && this.value), this.suffixLabel && (h("span", { key: '5c226c6d35fe35b226c08182bce3ee479584d3bc', class: "text-input__suffix" }, this.suffixLabel)), showClearButton && (h("button", { key: '0825d6c0aa246d8ec97d0f47ca7a33e7437c69fb', "aria-label": this.clearButtonLabel, class: "text-input__clear-button", onClick: this.clear, part: "text-input__clear-button", type: "button" }, h("swirl-icon-cancel", { key: 'cb6d259a99c490949d946014aaccb9b92dd18a45', size: this.iconSize }))), showPasswordToggle && (h("button", { key: '5638f04a71fac455dc1a2dc9aff4a19ad55bf9b3', "aria-label": this.passwordToggleLabel, class: "text-input__password-toggle", onClick: this.togglePassword, type: "button" }, this.showPassword ? (h("swirl-icon-visibility-off", { size: this.iconSize })) : (h("swirl-icon-visibility", { size: this.iconSize })))), showStepper && (h("span", { key: '6f8f117c6690ea375472c86befa0bc82d5c1b04d', class: "text-input__stepper" }, h("button", { key: '38ddc8bcc00c22f54a4f60195420179bfce8916d', "aria-hidden": "true", class: "text-input__step-button", onClick: this.increaseValue, tabIndex: -1, type: "button" }, h("swirl-icon-expand-less", { key: 'd7445a23fa97ec57672d65f1334be7ac74368347', size: this.iconSize })), h("button", { key: '0295b7bd2bdcb0b3afb431e35c714c01d305eaa5', "aria-hidden": "true", class: "text-input__step-button", onClick: this.decreaseValue, tabIndex: -1, type: "button" }, h("swirl-icon-expand-more", { key: 'ad77b5281090dcf3dbbdc2adaf2147f937be7273', size: this.iconSize })))), this.showCharacterCounter && (h("span", { key: 'c3cdea8f4d70aba88baba76c6c74c39ca83ca367', class: "text-input__character-counter" }, this.value?.length || 0, " ", Boolean(this.maxLength) ? `/ ${this.maxLength}` : "")))));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "swirl-text-input"; }
|
|
182
182
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SwirlThumbnail {
|
|
|
21
21
|
"thumbnail--interactive": this.interactive,
|
|
22
22
|
"thumbnail--has-progress": this.progress !== undefined,
|
|
23
23
|
});
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'c57156683aae337861dcd5bc9ac4a4a3834693d0' }, h("span", { key: '7f860b92681aab29bf9ee0fb405659725cfd9d3a', class: className, role: "group" }, h(ImageWrapper, { key: 'ef46386d1a1954e71b8efa5d8adb6a11195b19a8', class: "thumbnail__image-wrapper", type: this.interactive ? "button" : undefined }, h("img", { key: '0fd8a6e29c7be7307225a7efb07023b6e7c21cd4', alt: this.alt, class: "thumbnail__image", loading: "lazy", src: this.src })), this.progress !== undefined && (h("span", { key: 'd03daf08486f6431a265428311781e6ba7f6fd00', class: "thumbnail__progress-indicator" }, h("swirl-progress-indicator", { key: '902cacfb7a276918f17348a770d438f5e8b3ddaa', label: this.progressLabel, value: this.progress }))), showRemoveButton && (h("span", { key: '76857c76c1ea6edd565cde449af823ce44f20d4d', class: "thumbnail__remove-button" }, h("swirl-button", { key: '4524aa7cc50718441f3c3acb75d5dd8bb6abe414', hideLabel: true, icon: "<swirl-icon-close></swirl-icon-close>", label: this.removeButtonLabel, onClick: this.remove.emit, pill: true, variant: "on-image" }))), showTimestamp && (h("span", { key: 'b6764d7a85c179b67e31cf4fb765350d873e5f5d', class: "thumbnail__timestamp" }, this.timestamp)))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "swirl-thumbnail"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class SwirlToast {
|
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
55
|
const className = classnames("toast", `toast--intent-${this.intent}`);
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '35695f50ea63a19bb96de63dd68a7667a679356f' }, h("div", { key: 'f8e3c2c30bdd6867274c548e3a745a4a3591b503', class: className }, this.icon && (h("span", { key: '43dea51f1849ccf1c7064b9522d793d0e16f49a4', class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (el) => (this.iconEl = el) })), h("span", { key: '5171e135301ba31ac09e9a5fad3090803e7d82d4', class: "toast__content", innerHTML: this.content, part: "toast__content" }, h("slot", { key: '13a75cb56789364ee8193c571c86b4f752743a8a' })), h("button", { key: 'aeaec3b3e2770da4db5834735cf1d85eb13be6d3', "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && (h("swirl-icon-close", { key: '039599ec0303620b134c1bc580468a1bf176b066', ref: (el) => (this.dismissIconEl = el) }))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "swirl-toast"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SwirlToastProvider {
|
|
|
49
49
|
return newToastWithId;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '1db8b2f832869490670c34067ae5fc8e19d7f987', role: "status" }, h("swirl-stack", { key: 'a616e31585de124b6f953151ec71cada1e8f051f', spacing: "12" }, this.toasts.map((toast) => {
|
|
53
53
|
const props = { ...toast, content: undefined };
|
|
54
54
|
return (h("swirl-toast", { key: toast.toastId, onDismiss: this.onDismiss, ...props }, toast.content));
|
|
55
55
|
}))));
|
|
@@ -66,7 +66,7 @@ export class SwirlToolbar {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '93dcf545129b0037257412e87c2a5723a2cbd70c' }, h("swirl-stack", { key: '2200658e9fa82b528b594ac267623fe9bdb4050b', align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8" }, h("slot", { key: '94a5dc9998cfdc6b064c1e749c49663cca87b5d1' }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "swirl-toolbar"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@ export class SwirlTooltip {
|
|
|
96
96
|
const className = classnames("tooltip", `tooltip--actual-placement-${this.actualPosition?.placement}`, {
|
|
97
97
|
"tooltip--visible": this.visible,
|
|
98
98
|
});
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '03fbc0a205e7fc6ab4caf3c25153108cb332e94a', onKeydown: this.onKeydown }, h("span", { key: '67440b05dfffb0f797720e0817a19b6eb6a4f648', class: className }, h("span", { key: '7f4e9715d29a88af39b051d705b159c37ffe42f7', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.hide, onClick: this.hide, onFocusin: this.show }, h("slot", { key: '71d597a32e6a16ae688482a75fa823d09424d2c7' })), h("span", { key: '2e7bf8796bcfa4a0721a578a29e29e6b66d99b64', class: "tooltip__popper", ref: (el) => (this.popperEl = el), style: {
|
|
100
100
|
top: Boolean(this.actualPosition)
|
|
101
101
|
? `${this.actualPosition?.y}px`
|
|
102
102
|
: "",
|
|
@@ -104,7 +104,7 @@ export class SwirlTooltip {
|
|
|
104
104
|
? `${this.actualPosition?.x}px`
|
|
105
105
|
: "",
|
|
106
106
|
position: this.positioning,
|
|
107
|
-
} }, this.visible && (h("span", { key: '
|
|
107
|
+
} }, this.visible && (h("span", { key: 'f9ac600db0ef8778651018a38c69d800b8ed9f59', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, h("span", { key: 'ee843dd7927f410ec0695027cb867e18d3bf1de4', class: "tooltip__content", innerHTML: this.content }))), h("span", { key: '5b2549165b80b6d8389bf1d61d655c34beeb89a8', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
|
|
108
108
|
...this.arrowStyles,
|
|
109
109
|
visibility: this.visible ? "visible" : "hidden",
|
|
110
110
|
} })))));
|