@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
|
@@ -68,7 +68,7 @@ const SwirlAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAccordi
|
|
|
68
68
|
const className = classnames("accordion-item", {
|
|
69
69
|
"accordion-item--expanded": this.expanded,
|
|
70
70
|
});
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '006861d6031bc49ef4c68d5e5aee2eaba58e0cc6' }, h("div", { key: '47c5fe06e4da5aff6b675d1b4ad5d223a73e5b3b', class: className }, h(HeadingTag, { key: 'd396f75989f831eddd66510f67c9f5ca523a1e80', class: "accordion-item__heading" }, h("button", { key: '9bfdb9f316d3d64356091ff35086493c153ad9ae', "aria-controls": this.itemId, "aria-expanded": String(this.expanded), class: "accordion-item__toggle", disabled: this.disabled, id: this.headingId, onClick: this.onHeadingClick, type: "button" }, h("span", { key: '0696232de801d6c5aedac6bb1a8714f9c1b9362d', class: "accordion-item__toggle-text" }, this.heading, this.description && (h("swirl-text", { key: '21c86a4e3a8956917fc15ea4387e697be2408beb', as: "span", color: "subdued", size: "sm" }, this.description))), h("span", { key: '50fa0cd1da17d126ecd26757bcda453302dd2182', class: "accordion-item__icon" }, !this.expanded && (h("swirl-icon", { key: 'a05d59697919662a816363c92da91940ece29cf9', glyph: "chevron-right", size: 20 })), this.expanded && (h("swirl-icon", { key: 'e99c77b661c4b4efbd1bf56c69a97f2ff12787c5', glyph: "expand-more", size: 20 }))))), h("div", { key: 'f5e7bbdc5025f952de1fb09bf19c1dae72f53c8f', "aria-labelledby": this.headingId, class: "accordion-item__content", id: this.itemId, role: "region" }, h("slot", { key: '4f755a5f113d956df138f0a7803bb8274149c4cc' })))));
|
|
72
72
|
}
|
|
73
73
|
get el() { return this; }
|
|
74
74
|
static get style() { return SwirlAccordionItemStyle0; }
|
|
@@ -46,7 +46,7 @@ const SwirlAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAccordion e
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'ad20b40fee8a6ecbcf5078bcc67da0738792ee59' }, h("slot", { key: 'b4def8c0c8fde90a8f5431c033aefb7bf6e15842' })));
|
|
50
50
|
}
|
|
51
51
|
get el() { return this; }
|
|
52
52
|
static get style() { return SwirlAccordionStyle0; }
|
|
@@ -11,7 +11,7 @@ const SwirlActionListSection$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAct
|
|
|
11
11
|
this.label = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '44a9deefaca9838b3fd25179d39e7b9d961d5910' }, h("div", { key: '3f19a2ea5d7593b8516de8a8657ac7138bd65385', "aria-labelledby": "label", class: "action-list-section", role: "group" }, h("span", { key: 'bba5651dde645a819341872f7bdf918abf1a5fdb', class: "action-list-section__label", id: "label", part: "action-list-section__label" }, this.label), h("div", { key: 'c59c1f6060488ec7995c4b582d30484905a45397', class: "action-list-section__items" }, h("slot", { key: 'fb444405ab1b8beb208044b641fbf16887880ffe' })))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return SwirlActionListSectionStyle0; }
|
|
17
17
|
}, [1, "swirl-action-list-section", {
|
|
@@ -80,7 +80,7 @@ const SwirlActionList = /*@__PURE__*/ proxyCustomElement(class SwirlActionList e
|
|
|
80
80
|
item === activeElement?.querySelector('[role="menuitem"]'));
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '36322caabed257ed68473c6a2faef239318b2ebf' }, h("div", { key: '9a3c533acdd8f9ba50366f3c85473a59b1d97b1f', "aria-orientation": "vertical", class: "action-list", onFocusout: this.isInsidePopover ? undefined : this.onFocusOut, onFocus: this.isInsidePopover ? undefined : this.onFocus, onKeyDown: this.onKeyDown, part: "action-list", ref: (el) => (this.container = el), role: "menu" }, h("slot", { key: 'b969b7469999bcdbe84fa81bd92858c1bd24b1ad' }))));
|
|
84
84
|
}
|
|
85
85
|
get el() { return this; }
|
|
86
86
|
static get style() { return SwirlActionListStyle0; }
|
|
@@ -29,6 +29,8 @@ const SwirlAppBar$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAppBar extends
|
|
|
29
29
|
this.backButtonLabel = "Go back";
|
|
30
30
|
this.closeButtonIcon = "<swirl-icon-close></swirl-icon-close>";
|
|
31
31
|
this.closeButtonLabel = "Close";
|
|
32
|
+
this.paddingInlineEnd = "16";
|
|
33
|
+
this.paddingInlineStart = "16";
|
|
32
34
|
this.stepUpButtonLabel = "Previous item";
|
|
33
35
|
this.stepDownButtonLabel = "Next item";
|
|
34
36
|
this.showBackButton = undefined;
|
|
@@ -58,7 +60,11 @@ const SwirlAppBar$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAppBar extends
|
|
|
58
60
|
"app-bar--has-cta": this.hasCta,
|
|
59
61
|
"app-bar--has-right-controls": hasRightControls,
|
|
60
62
|
});
|
|
61
|
-
|
|
63
|
+
const styles = {
|
|
64
|
+
paddingInlineEnd: `var(--s-space-${this.paddingInlineEnd})`,
|
|
65
|
+
paddingInlineStart: `var(--s-space-${this.paddingInlineStart})`,
|
|
66
|
+
};
|
|
67
|
+
return (h(Host, { key: 'e3c441ae152c5f32628341d93ab9c01267fdcd14' }, h("div", { key: 'f5d2d48ddb1a3226e0fb5ca4789ff59ddd866dec', class: className, style: styles }, showLeftControls && (h("div", { key: 'c9f3c6f1cab3c15d99f373ddc53ee6dce3e51a6a', class: "app-bar__left-controls" }, (this.showBackButton || this.showCloseButton) && (h("div", { key: '9ae0620bef35977af26de20b4fbe7725062ab0d0', class: "app-bar__main-navigation-control" }, this.showBackButton && (h("swirl-button", { key: '05e57714c3649dbf722d74f135d0c5fb7591e16b', hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButtonLabel, onClick: this.onBackButtonClick })), this.showCloseButton && (h("swirl-button", { key: '54d48e492a7cbc94e7784829ce4288e339e38526', hideLabel: true, icon: this.closeButtonIcon, label: this.closeButtonLabel, onClick: this.onCloseButtonClick })))), this.showStepperControls && (h("div", { key: '65637f25c16f60d7b7028a8b985520688439a2a8', class: "app-bar__stepper-controls" }, h("swirl-button", { key: 'b46ca47a50c9ff3f938d0adc4e5145e1c4d7a6d5', hideLabel: true, icon: "<swirl-icon-arrow-upward></swirl-icon-arrow-upward>", label: this.stepUpButtonLabel, onClick: this.onStepUpButtonClick }), h("swirl-button", { key: 'ce4bbb821ad76249caf680965853aefed6bbf041', hideLabel: true, icon: "<swirl-icon-arrow-downward></swirl-icon-arrow-downward>", label: this.stepDownButtonLabel, onClick: this.onStepDownButtonClick }))))), h("div", { key: '75042cd5d3c9c5f82d1d8c2b5a1ba156890f83a0', class: "app-bar__cta" }, h("slot", { key: '195d9d91da4e64688b281f0a7c5cd8dfdd3f661d', name: "cta" })), h("div", { key: '92fdfb5748e8e1578205c97c13ff361fd3020fac', class: "app-bar__heading" }, h("slot", { key: 'c62711620a9b717c340bfac1a92f8eb639207fd0', name: "heading" })), h("div", { key: 'cd37b16d36b2115ca3c63adbae7635b5a412ba38', class: "app-bar__center-controls" }, h("slot", { key: '1b884ef50fdbf39da5bb738174defa6e17b93efa', name: "center-controls" })), h("div", { key: '9dc46b4fa36e8d34837c26aed63b4bb80c2c08fe', class: "app-bar__right-controls" }, h("slot", { key: '83aa64ac31b9a68f6777e8ad75a0c1ad262a815b', name: "right-controls" })))));
|
|
62
68
|
}
|
|
63
69
|
get el() { return this; }
|
|
64
70
|
static get style() { return SwirlAppBarStyle0; }
|
|
@@ -66,6 +72,8 @@ const SwirlAppBar$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAppBar extends
|
|
|
66
72
|
"backButtonLabel": [1, "back-button-label"],
|
|
67
73
|
"closeButtonIcon": [1, "close-button-icon"],
|
|
68
74
|
"closeButtonLabel": [1, "close-button-label"],
|
|
75
|
+
"paddingInlineEnd": [1, "padding-inline-end"],
|
|
76
|
+
"paddingInlineStart": [1, "padding-inline-start"],
|
|
69
77
|
"stepUpButtonLabel": [1, "step-up-button-label"],
|
|
70
78
|
"stepDownButtonLabel": [1, "step-down-button-label"],
|
|
71
79
|
"showBackButton": [4, "show-back-button"],
|
|
@@ -196,9 +196,9 @@ const SwirlAppLayout = /*@__PURE__*/ proxyCustomElement(class SwirlAppLayout ext
|
|
|
196
196
|
"app-layout--sidebar-active": this.mobileView === "sidebar" || this.sidebarActive,
|
|
197
197
|
"app-layout--sidebar-closing": this.sidebarClosing,
|
|
198
198
|
});
|
|
199
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: '6d961491aca6930666b7d587789eb3bff6bf1e2d' }, h("section", { key: 'e34654e362f28c3a57aa4716a3a10a86909d9aa8', "aria-labelledby": "app-name", class: className }, h("div", { key: '3e6cc02c9c3701e195a8a92f97f2fa49be7a5325', class: "app-layout__grid" }, h("header", { key: '7b4b7743aa9225c591f05705f18d50bd3009bfff', class: "app-layout__header" }, h("span", { key: '18050ae2d54fd438da16a6df7a57ecd80fac35a6', class: "app-layout__navigation-mobile-menu-button" }, h("slot", { key: '2a4a8d6f30c2e5e02ab512ff2be09197ea61c68c', name: "navigation-mobile-menu-button" })), this.showNavigationBackButton && (h("span", { key: 'c461ab4bd9f6f116cd6c019c0e967633946f0a5c', class: "app-layout__navigation-back-button" }, h("swirl-button", { key: '94a59959334c405d871b9d89b7d72c25a644571c', hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.navigationBackButtonLabel, onClick: this.onNavigationBackButtonClick }))), h("swirl-heading", { key: 'f5fd24b0ad24656831b66da8c024df6d1f5c62a6', as: "h1", class: "app-layout__app-name", headingId: "app-name", level: 3, text: this.appName }), this.hasNavigation && (h("span", { key: '04a2d228a04980e946b2d764bf1783a7c75a8e2f', class: "app-layout__navigation-controls" }, h("slot", { key: '1850db373293226330e64f6c45cb6d2b1792b6fe', name: "navigation-controls" })))), h("nav", { key: 'f90677d445f076e80615a73265e1abf5fd206821', "aria-label": this.navigationLabel, class: "app-layout__navigation" }, h("slot", { key: '1342aa7f9766d8bc7f5ceff39ae14b407871ba5b', name: "navigation" })), h("section", { key: '54bbd47bd318cf77ccfeee3ca0176504928d6c62', "aria-labelledby": "app-name", class: "app-layout__body" }, !this.hideAppBar && (h("header", { key: '6861a37fd4fbafcf4389f9df561abc1010fe94b8', class: "app-layout__app-bar" }, h("span", { key: 'e92f067fbf50cca7931213bc75cf195210d5cd29', class: "app-layout__app-bar-mobile-menu-button" }, h("slot", { key: '37c85dcf2fa77c37ea3aef4537c313ac14eb9ad9', name: "app-bar-mobile-menu-button" })), showBackToNavigationButton && (h("span", { key: 'a647140e357d1099774c239dbdb0c486aeedc74e', class: "app-layout__back-to-navigation-button" }, h("swirl-button", { key: '86b0502d617c12fb7123ef81c46126cc5ea18fca', hideLabel: true, icon: this.transitionStyle === "dialog"
|
|
200
200
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
201
|
-
: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backToNavigationViewButtonLabel, onClick: this.onBackToNavigationViewButtonClick }))), h("span", { key: '
|
|
201
|
+
: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backToNavigationViewButtonLabel, onClick: this.onBackToNavigationViewButtonClick }))), h("span", { key: '0d1bef25d834457390cc3f1e8a16af30ee8ec411', class: "app-layout__custom-app-bar-back-button" }, h("slot", { key: 'ef609f9b32db88320c940927939b2bd3f87a28e5', name: "custom-app-bar-back-button" })), h("div", { key: 'd885bbea33f0c6b046e8cd574f61623e3b7cc225', class: "app-layout__app-bar-content" }, h("slot", { key: '70189b7672d8b70f490c3efdfde15d82c0b5c48c', name: "app-bar" })), h("div", { key: '23b3747628acc4fd2c61ee54de55253a3fc41203', class: "app-layout__app-bar-controls" }, h("slot", { key: '1bb20b112b186544833b10d3f67d48b002773bbc', name: "app-bar-controls" })))), h("div", { key: '33bad47951b64672f1f838b96d51e7e9f9d7c832', class: "app-layout__banner" }, h("slot", { key: 'e59682438a1d7aaec36e143c0c07d69a2205a24f', name: "banner" })), h("div", { key: '322eab095e9bf9d01f331adccdcd8953fcfa9fd0', class: "app-layout__content" }, h("slot", { key: '259690ee199cdc0ac3d037733b54544ea2b483ee', name: "content" })), h("div", { key: '7495427d0a523a22268c19c4ae56c977b4e295d0', class: "app-layout__bottom-bar" }, h("slot", { key: '50cc7202f5bbec17324ca23378617831d9fc199d', name: "bottom-bar" }))), h("aside", { key: '781981ef566aa8717d94331549272e7b9d2eeb6a', class: "app-layout__sidebar" }, h("header", { key: 'e6df1707394682f125448c1cf770600539bb1cfa', class: "app-layout__custom-sidebar-header" }, h("slot", { key: '6e6187ae87c94d9c2a2e7e6f573a384dcea43125', name: "custom-sidebar-header" })), h("header", { key: '7d9a21343c070d3a9aeea9236852be1a2cb12e1e', class: "app-layout__sidebar-header" }, h("swirl-button", { key: '6f4a53a16176d30139d497f4b510586f3bef2252', class: "app-layout__sidebar-close-button", hideLabel: true, icon: "<swirl-icon-close></swirl-icon-close>", label: this.sidebarCloseButtonLabel, onClick: this.onSidebarCloseButtonClick }), h("swirl-heading", { key: '6b32dc32a6844cfd258d0148a949f06fa86a222b', as: "h3", class: "app-layout__sidebar-heading", headingId: "sidebar-heading", level: 3, text: this.sidebarHeading })), h("div", { key: '64914275c88e1843af23ad087774d48092c70a36', class: "app-layout__sidebar-content" }, h("slot", { key: 'c6667fcf5d7702704752360854d9181d8ff35652', name: "sidebar" }))), h("span", { key: '7b8347d1a450aaed9c2e31ae1f308f46a760227b', class: "app-layout__floating-action-button" }, this.ctaLabel && (h("swirl-button", { key: '62393818e2205700c6b090dee8783049f95c747c', hideLabel: Boolean(this.ctaIcon), icon: this.ctaIcon, intent: "primary", label: this.ctaLabel, onClick: this.onCtaClick, variant: "floating" })), h("slot", { key: '32708bdfa2a5a36fbc7cd79bf0012bbf1928db68', name: "floating-action-button" }))))));
|
|
202
202
|
}
|
|
203
203
|
get el() { return this; }
|
|
204
204
|
static get watchers() { return {
|
|
@@ -223,17 +223,17 @@ const SwirlAutocomplete$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAutocomp
|
|
|
223
223
|
const className = classnames("autocomplete", {
|
|
224
224
|
"autocomplete--inactive": !this.active,
|
|
225
225
|
});
|
|
226
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: 'e523e43c9a3f188b280212d75eb7cda439efa16a' }, h("div", { key: 'bc223dea7f5ee6dcfcb7ff1fec7548f3e70ba02f', class: className, onKeyDown: this.onKeyDown }, this.multiSelect &&
|
|
227
227
|
Array.isArray(this.value) &&
|
|
228
|
-
this.value.length > 0 && (h("div", { key: '
|
|
228
|
+
this.value.length > 0 && (h("div", { key: '3cf9889c1c2398778346eb598232095472ac03ce', class: "autocomplete__multi-select-tags" }, h("swirl-stack", { key: '710997aa77b59d1d997de03b32a91e699a7403a4', orientation: "horizontal", spacing: "8", wrap: true }, this.value.map((item) => {
|
|
229
229
|
return (h("swirl-tag", { key: item.id, label: item.label,
|
|
230
230
|
// eslint-disable-next-line react/jsx-no-bind
|
|
231
231
|
onRemove: () => this.onRemoveValue(item.id), removable: !this.disabled }));
|
|
232
|
-
})))), h("swirl-text-input", { key: '
|
|
232
|
+
})))), h("swirl-text-input", { key: '67c627131a343cd5eab355baa0ce3d6113672a72', autoSelect: this.autoSelect, class: "autocomplete__input", clearable: clearable, clearButtonLabel: this.clearButtonLabel, disabled: this.disabled, disableDynamicWidth: true, id: this.id, inline: this.inline, invalid: this.invalid, onInputFocus: this.onFocus, onKeyDown: this.onInputKeyDown, onValueChange: this.onChange, maxLength: this.maxLength, mode: this.mode, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), required: this.required, spellCheck: this.spellCheck, swirlAriaAutocomplete: "list", swirlAriaControls: suggestionsMenuId, swirlAriaDescribedby: this.swirlAriaDescribedby, swirlAriaExpanded: String(this.active), swirlRole: "combobox", value: valueLabel }), h("div", { key: '1fa4b4c6e1c2116779b3e019f138ceae18143397', class: "autocomplete__listbox-container", onFocusout: this.onFocusOut, ref: (el) => (this.listboxContainerEl = el), style: {
|
|
233
233
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
234
234
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
235
235
|
width: `${this.inputEl?.getBoundingClientRect().width + 32}px`,
|
|
236
|
-
} }, this.loading && (h("div", { key: '
|
|
236
|
+
} }, this.loading && (h("div", { key: '25bf6f40fc87b6273e8a627aab03c9de2d1a3130', class: "autocomplete__spinner" }, h("swirl-spinner", { key: 'e4e2d6ad0fca0adeea6770d339fcc310fd522083' }))), this.suggestions.length > 0 && (h("swirl-option-list", { key: '7c155395c8eca3d516610ee58c76b4da3465c7a8', allowDeselect: this.multiSelect === true, label: this.menuLabel, multiSelect: this.multiSelect, onValueChange: this.onSelect, optionListId: suggestionsMenuId, ref: (el) => (this.listboxEl = el), value: optionListValue }, this.suggestions.map((suggestion) => (h("swirl-option-list-item", { selected: Array.isArray(this.value)
|
|
237
237
|
? this.value.some((item) => item.id === suggestion.id)
|
|
238
238
|
: this.value?.id === suggestion.id, key: suggestion.id, disabled: suggestion.disabled, label: suggestion.label, value: suggestion.id })))))))));
|
|
239
239
|
}
|
|
@@ -109,7 +109,7 @@ const SwirlAvatar$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAvatar extends
|
|
|
109
109
|
});
|
|
110
110
|
const badgeClassName = classnames("avatar__badge", `avatar__badge--position-${this.badgePosition}`);
|
|
111
111
|
const toolClassName = classnames("avatar__tool", `avatar__tool--position-${this.toolPosition}`);
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: '6e71cf7f05ca78c5d2dbc3180fce8bb0bee5e18c', "aria-label": this.label, onKeydown: this.interactive ? this.onKeydown : undefined, onKeyup: this.interactive ? this.onKeyup : undefined, role: role, tabIndex: this.interactive ? 0 : undefined }, h("span", { key: '0d7b2870ae59e6628e96c38a18c747ef8ee09c54', class: className, part: "avatar" }, showImage && (h("span", { key: '8cf1235dfb9e3b30262f61f6aeef2d251db1fc08', class: "avatar__image" }, h("img", { key: '83eb8aa8d9c16116440e2a50c3a921109e96a812', alt: "", height: swirlAvatarSizeMappings[this.size], loading: this.loading !== "intersecting" ? this.loading : undefined, onError: this.setImageUnavailable, onLoad: this.setImageAvailable, src: this.src, width: swirlAvatarSizeMappings[this.size] }))), showInitials && (h("span", { key: '4dffa0b362fbbc7413000f5fc5006d3566daf0c8', class: "avatar__initials" }, h("span", { key: 'b0e1479398b0f8ac0304fba2c38fdfa66e072fde' }, this.initials))), showIcon && h("span", { key: '13640b63ff186ca7fbe6d72eca77359cdb0eb4bb', class: "avatar__icon", innerHTML: this.icon }), showFallbackIcon && (h("span", { key: '1bba16d3de264381aff4009ae5d2dfee9eb5f638', class: "avatar__icon" }, h("swirl-icon-person", { key: '004689c1bcd3d51b9cf8f8fce93a6923f8f41f6a' }))), showBadge && (h("span", { key: 'b2f9cd9ee49a3bf77781473a94ca68848f6299a4', class: badgeClassName, innerHTML: this.badge })), h("span", { key: '29c112792ac8effec07fffadbf2b6997af304cfe', class: toolClassName }, h("slot", { key: 'a8e2bb8f60e382e86a0cb969af91ffc7195e5204', name: "tool" }))), this.showLabel && (h("span", { key: '4daf80748cdb5a3bacf5405e5ff58fd21febb37d', "aria-hidden": true, class: "avatar__label" }, this.label))));
|
|
113
113
|
}
|
|
114
114
|
get element() { return this; }
|
|
115
115
|
static get watchers() { return {
|
|
@@ -20,7 +20,7 @@ const SwirlBadge = /*@__PURE__*/ proxyCustomElement(class SwirlBadge extends HTM
|
|
|
20
20
|
const className = classnames("badge", `badge--intent-${this.intent}`, `badge--size-${this.size}`, `badge--variant-${this.variant}`, {
|
|
21
21
|
"badge--has-icon": this.icon,
|
|
22
22
|
});
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '33f35cb8399a9a9af91d771dff6b640b577c3b69', role: "status" }, h("span", { key: '95465982eb5690342abae2235b57644afd8cdd4d', class: className, part: "badge" }, this.icon && h("span", { key: '8a775d6ceb801d34380e82450879108dab4fcb37', class: "badge__icon", innerHTML: this.icon }), this.icon === undefined && this.variant !== "dot" ? (h("span", { class: "badge__label" }, this.label)) : (h(Fragment, null, this.icon === undefined && (h("span", { class: "badge__label" }, "\u00A0")), h("swirl-visually-hidden", null, this.label))))));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return SwirlBadgeStyle0; }
|
|
26
26
|
}, [1, "swirl-badge", {
|
|
@@ -63,7 +63,7 @@ const SwirlBanner$1 = /*@__PURE__*/ proxyCustomElement(class SwirlBanner extends
|
|
|
63
63
|
const className = classnames("banner", `banner--intent-${this.intent}`, `banner--size-${this.size}`, {
|
|
64
64
|
"banner--has-icon": showIcon,
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '7d1d0fe808a0d56888901519a1d2c7d7a5953703' }, h("div", { key: '6f0482657ddd0b91ba5ca740db378e3fa5cad176', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, h("div", { key: '82bc8952ea7cc638a13eb8997492515280793e70', class: "banner__content", id: "content", part: "banner__content" }, showIcon && (h("span", { key: 'd2d6aa7d78d04fdb16a5d9d632fef49977400690', "aria-hidden": "true", class: "banner__icon", innerHTML: icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '637f8d6f03aa8b9ed71798b60a2a8b6f68c96e6b', class: "banner__text" }, this.content)), showControls && (h("div", { key: '8c6ed8081c22c3f9121223ea2dc6bd3918f1babf', class: "banner__controls" }, this.actionLabel && (h("button", { key: 'afd0254e27d026a1f828ec203eed23a6934c8dbe', class: "banner__action-button", onClick: this.onAction, part: "banner__action-button", type: "button" }, this.actionLabel)), this.dismissable && (h("button", { key: '7842e8dc33cfc78226ade9d5b8d141809efbb9e7', "aria-label": this.dismissLabel, class: "banner__dismiss-button", onClick: this.onDismiss, part: "banner__dismiss-button", ref: (el) => (this.dismissButtonEl = el), type: "button" }, h("swirl-icon-close", { key: '44118f5b5f92f476440b3adb6d33b3c88ef3b5a8' }))))))));
|
|
67
67
|
}
|
|
68
68
|
get element() { return this; }
|
|
69
69
|
static get style() { return SwirlBannerStyle0; }
|
|
@@ -84,7 +84,7 @@ const SwirlBox = /*@__PURE__*/ proxyCustomElement(class SwirlBox extends HTMLEle
|
|
|
84
84
|
"box--bordered-inline-start": this.borderedInlineStart,
|
|
85
85
|
"box--cover": this.cover,
|
|
86
86
|
});
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '027b397f10e1f70fb7a0df7f63299949fe4ab7be', class: className, style: styles }, h("slot", { key: '57de1c7c3d70479fdc46e281475e4eed08d8a412' })));
|
|
88
88
|
}
|
|
89
89
|
static get style() { return SwirlBoxStyle0; }
|
|
90
90
|
}, [1, "swirl-box", {
|
|
@@ -20,11 +20,11 @@ const SwirlButtonGroup = /*@__PURE__*/ proxyCustomElement(class SwirlButtonGroup
|
|
|
20
20
|
const className = classnames("button-group", {
|
|
21
21
|
"button-group--segmented": this.segmented,
|
|
22
22
|
});
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '9687c6322ffcef953cfbe5e06e4a6f8adf480833' }, h("swirl-stack", { key: 'ee585a4758153b42d0f146e0e7e96f2af5248be3', align: this.orientation === "vertical" && this.stretch
|
|
24
24
|
? "stretch"
|
|
25
25
|
: "start", class: className, justify: this.orientation === "horizontal" && this.stretch
|
|
26
26
|
? "stretch"
|
|
27
|
-
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '
|
|
27
|
+
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '978949b595ba449fe7b815b37e4526c2525f2bda' }))));
|
|
28
28
|
}
|
|
29
29
|
static get style() { return SwirlButtonGroupStyle0; }
|
|
30
30
|
}, [1, "swirl-button-group", {
|
|
@@ -94,7 +94,7 @@ const SwirlButton = /*@__PURE__*/ proxyCustomElement(class SwirlButton extends H
|
|
|
94
94
|
"button--pressed": this.pressed,
|
|
95
95
|
});
|
|
96
96
|
const Tag = isLink ? "a" : "button";
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '3080eccf4241cc3696536782d66e444e755ebe8d', style: { pointerEvents: this.disabled ? "none" : "" } }, h(Tag, { key: 'e1678ccf0a907f6e124ffd90382d8436ece74b4d', "aria-controls": this.swirlAriaControls, "aria-current": this.swirlAriaCurrent, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled && !isLink ? "true" : undefined, "aria-expanded": this.swirlAriaExpanded, "aria-haspopup": this.swirlAriaHaspopup, "aria-label": ariaLabel, "aria-pressed": this.pressed ? "true" : undefined, class: className, disabled: isLink ? undefined : this.disabled, download: isLink ? undefined : this.download, form: isLink ? undefined : this.form, href: this.href, name: isLink ? undefined : this.name, ref: (el) => (this.buttonEl = el), target: isLink ? this.target : undefined, type: isLink ? undefined : this.type, value: isLink ? undefined : this.value }, Boolean(this.icon) && (h("span", { key: 'a6bc374b9d89f2e8690c33ae24d811559b9813c7', class: "button__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !Boolean(this.icon) && (h("span", { key: '907936643a16569d8ad7e0cb9c2293a44c8acf3e', class: "button__icon", ref: (el) => (this.iconEl = el) }, h("slot", { key: '258f476318ac7456fcca53a16ab1742b90bfdd7a', name: "icon" }))), !hideLabel && h("span", { key: '9f5a81854f0f3c05a70b10e0698aca6cfdc8d742', class: "button__label" }, this.label))));
|
|
98
98
|
}
|
|
99
99
|
get el() { return this; }
|
|
100
100
|
static get style() { return SwirlButtonStyle0; }
|
|
@@ -83,9 +83,9 @@ const SwirlCard$1 = /*@__PURE__*/ proxyCustomElement(class SwirlCard extends HTM
|
|
|
83
83
|
"card--interactive": this.interactive || this.href,
|
|
84
84
|
"card--is--borderless": this.isBorderless,
|
|
85
85
|
});
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'f8cecba3a843c247f876ed7b3cf56c8bbfeaa430', styles: { height: this.height } }, h(Tag, { key: '85afe38f7753ea8ea9250abaee724a7f8d9108e6', "aria-label": this.swirlAriaLabel, "aria-labelledby": this.swirlAriaLabelledby, class: className, href: this.href, rel: Boolean(this.href) && this.linkTarget === "_blank"
|
|
87
87
|
? "noreferrer"
|
|
88
|
-
: undefined, style: styles, target: this.linkTarget }, h("div", { key: '
|
|
88
|
+
: undefined, style: styles, target: this.linkTarget }, h("div", { key: 'b2928caa364fdfc8d038fb1011235b4314ec8a33', class: "card__image", style: { aspectRatio: this.imageAspectRatio } }, h("slot", { key: 'dfb6bacb00d851486db725151eb3a2d514492b72', name: "image" })), h("div", { key: '851a63e084daa1909fc030efd188d7c1251eea9f', class: "card__body", style: bodyStyles }, h("div", { key: '037c36a2f07355f42b2b95d2c2a9d9807fe02bd8', class: "card__content" }, h("slot", { key: '73a31f76e6d4af56cd2a925844f64c2d1167b1ad', name: "content" }))))));
|
|
89
89
|
}
|
|
90
90
|
get el() { return this; }
|
|
91
91
|
static get style() { return SwirlCardStyle0; }
|
|
@@ -54,7 +54,7 @@ const SwirlCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class SwirlCheckbox ext
|
|
|
54
54
|
"checkbox--invalid": this.invalid,
|
|
55
55
|
"checkbox--unchecked": unchecked,
|
|
56
56
|
});
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'cc5e788a984c8a5162b3d41f8984623ea0b2ede5', style: { width: this.variant === "card" ? "100%" : undefined } }, h("label", { key: '6c755f03de94374b926845de8d23c2ffe88c0010', class: className, htmlFor: this.inputId }, h("span", { key: '767be761f571ab2860d4aaece65cea955884fe6b', class: "checkbox__control" }, h("swirl-visually-hidden", { key: '03c17d3c4238b3cf12f5eaffea54ffcc06a5a41a' }, h("input", { key: '57f89f01c0e59bcd36c9cbf1445d75b66e5d06de', "aria-checked": ariaCheckedLabel, "aria-describedby": this.swirlAriaDescribedby, "aria-invalid": ariaInvalid, "aria-label": this.swirlAriaLabel, checked: checked, class: "checkbox__input", disabled: this.disabled, id: this.inputId, indeterminate: indeterminate, name: this.inputName, onChange: this.onChange, type: "checkbox", value: this.value })), h("span", { key: '22c96b4bf96cd453892ccf9efd970e20d32f57d7', "aria-hidden": "true", class: "checkbox__box" }, h("span", { key: '09bcb150c233170cf5fdb0e0a112b70ae64f2b94', class: "checkbox__icon" }, checked && h("swirl-icon-check-strong", { key: 'e14bd37c5a397a711a52855d58f8abc3b2b65810' }), indeterminate && (h("span", { key: '7873bc0ec60a7d7cf6cc465ac77b544851b44a14', class: "checkbox__indeterminate-icon" }))))), showLabelContainer && (h("span", { key: '667dfd4e4907c9966513064f04f4734a9cb964f5', class: "checkbox__label-container" }, this.label && h("span", { key: '0141f0b56214c9d1fc73f08cdd287572ff1f4529', class: "checkbox__label" }, this.label), this.description && (h("span", { key: '5d9fc09abccc81d2e6402b42c659380e75f72288', class: "checkbox__description" }, this.description)))))));
|
|
58
58
|
}
|
|
59
59
|
static get style() { return SwirlCheckboxStyle0; }
|
|
60
60
|
}, [2, "swirl-checkbox", {
|
|
@@ -55,7 +55,7 @@ const SwirlChip$1 = /*@__PURE__*/ proxyCustomElement(class SwirlChip extends HTM
|
|
|
55
55
|
"chip--interactive": this.interactive || this.pressed !== undefined,
|
|
56
56
|
"chip--removable": this.removable,
|
|
57
57
|
});
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '6ce267d94331ffa5cd45590f776819ca81f0269f' }, h(Tag, { key: '9d20a1ac9558e920e7924b86178920ec91b6b77d', class: className, type: this.interactive ? "button" : undefined, "aria-pressed": this.pressed !== undefined ? String(this.pressed) : undefined }, h("span", { key: '67ed858d088ff500b553db57276e99e94ba660c3', class: "chip__inner" }, showAvatar && (h("span", { key: '87e5bc08fc83e55f7d63dd3a38a18def3bfc0470', class: "chip__avatar" }, h("slot", { key: '3c7a52dcc434476313c61b43603ff3188758618d', name: "avatar" }))), showIcon && (h("span", { key: '16edc3a3da88e0e43eb81c7c8228e873e63e61df', class: "chip__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '951fc836655f2ba5046c2a9c8a56954087378fc3', class: "chip__label" }, this.label)), this.progress !== undefined && (h("span", { key: 'bcda4f0a728956f5e18c642c316002c31e240443', class: "chip__progress-indicator" }, h("swirl-progress-indicator", { key: '6aed56a2fa7702b583203768f5b734db1b215f4b', label: this.progressBarLabel, value: this.progress })))), this.removable && (h("button", { key: 'b762ed266095ef2bc96ba3fee9e689f4e6865479', "aria-label": this.removeButtonLabel, class: "chip__remove-button", onClick: this.remove.emit }, h("swirl-icon-close", { key: 'ba7b0ccef7688fe8f385f422b8a8418249abf46d', size: 20 })))));
|
|
59
59
|
}
|
|
60
60
|
get el() { return this; }
|
|
61
61
|
static get style() { return SwirlChipStyle0; }
|
|
@@ -12,10 +12,10 @@ const SwirlColumns$1 = /*@__PURE__*/ proxyCustomElement(class SwirlColumns exten
|
|
|
12
12
|
this.spacing = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'be4c273a9e25e8b0c32d7e90de79e60fed795141' }, h("div", { key: '5b834a7d9a058f0c2177648bc7320cd22b407a38', class: "columns", style: {
|
|
16
16
|
gridTemplateColumns: this.columns,
|
|
17
17
|
gap: `var(--s-space-${this.spacing})`,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '56c43acdf48ce8184e7b75ccc3ad0016bd2e285d' }))));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return SwirlColumnsStyle0; }
|
|
21
21
|
}, [1, "swirl-columns", {
|
|
@@ -73,7 +73,7 @@ const SwirlDialog$1 = /*@__PURE__*/ proxyCustomElement(class SwirlDialog extends
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const className = classnames("dialog", { "dialog--closing": this.closing });
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '26954b78d9f2c39ea321e81285ffbed08b2d3773' }, h("div", { key: '7ce0e80ecafe7fc289c7549f430cff2b4491c7bc', "aria-describedby": "content", "aria-hidden": "true", "aria-labelledby": this.hideLabel ? undefined : "label", "aria-label": this.hideLabel ? this.label : undefined, "aria-modal": "true", class: className, onKeyDown: this.onKeyDown, ref: (el) => (this.dialogEl = el), role: "alertdialog" }, h("div", { key: '4fcd019a45dacb18bf096743956176fbab60eacd', class: "dialog__backdrop", onClick: this.onBackdropClick }), h("div", { key: 'f007c3fdb86297861dc7d4b22d1fce80cf21afd8', class: "dialog__body", part: "dialog__body", role: "document" }, !this.hideLabel && (h("h2", { key: 'cfa055452fba83877207e1b8ee95cec9c3b82442', class: "dialog__heading", part: "dialog__heading", id: "label" }, this.label)), h("div", { key: '8c4bf02726a2a6d2c13d994649a81919cbba0e81', class: "dialog__content", part: "dialog__content", id: "content" }, h("slot", { key: '1558c8b2ecec2557d332c5ef7da1532943cfbf0c' })), h("div", { key: '48117a3902352da99f7801b062fed46eb7a6a6dc', class: "dialog__controls", ref: (el) => (this.controlsContainerEl = el) }, this.secondaryActionLabel && (h("swirl-button", { key: '15fdebe09fdda48ecb39b52ba28cf1dfa0e0e322', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (h("swirl-button", { key: '8abd9032c4f11d2cc47e5ce5f204092828523917', intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
77
77
|
}
|
|
78
78
|
static get style() { return SwirlDialogStyle0; }
|
|
79
79
|
}, [1, "swirl-dialog", {
|
|
@@ -29847,7 +29847,7 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class SwirlFileViewe
|
|
|
29847
29847
|
: this.visiblePages[0];
|
|
29848
29848
|
const showSpinner = this.loading;
|
|
29849
29849
|
const className = classnames("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
|
|
29850
|
-
return (h(Host, { key: '
|
|
29850
|
+
return (h(Host, { key: '2d3e38cad8cea628df0e1155eb15445f56f99803', class: className, exportparts: "file-viewer-pdf__pagination" }, this.error && (h("swirl-inline-error", { key: '3008938faf485009c65dbac73b1534689e2a17e1', class: "file-viewer-pdf__error", message: this.errorMessage })), h("div", { key: 'bfddf8fb94651405dab2b2c61f084e18b3e87902', "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (el) => (this.scrollContainer = el) }, this.pages.map((page) => {
|
|
29851
29851
|
const viewport = page.getViewport({
|
|
29852
29852
|
scale: this.getScale(page),
|
|
29853
29853
|
});
|
|
@@ -29861,7 +29861,7 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class SwirlFileViewe
|
|
|
29861
29861
|
width: `${width}px`,
|
|
29862
29862
|
height: `${height}px`,
|
|
29863
29863
|
}, tabIndex: 0 }, !rendered && (h("swirl-spinner", { class: "file-viewer-pdf__page-spinner" })), h("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: rendered ? "1" : "0" } }), h("div", { class: "file-viewer-pdf__text-container" })));
|
|
29864
|
-
})), showPagination && (h("span", { key: '
|
|
29864
|
+
})), showPagination && (h("span", { key: 'de4487f27fb7041473671caacd173d71f895b9c7', class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, h("span", { key: '77874267a29e093d7f5f9ba4c3d0895e7c470713', "aria-current": "page" }, currentPage), " / ", this.doc.numPages)), showSpinner && (h("div", { key: '85fe73564deeb070ec42bf900636ca45f8399bd3', class: "file-viewer-pdf__spinner" }, h("swirl-spinner", { key: 'db5b9dee45c00ae4cbdac03640a3fec36fd36cc3' })))));
|
|
29865
29865
|
}
|
|
29866
29866
|
get el() { return this; }
|
|
29867
29867
|
static get watchers() { return {
|
|
@@ -159,7 +159,7 @@ const SwirlFormControl$1 = /*@__PURE__*/ proxyCustomElement(class SwirlFormContr
|
|
|
159
159
|
"form-control--is-select": isSelect,
|
|
160
160
|
});
|
|
161
161
|
const LabelTag = hasContenteditableControl ? "div" : "label";
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: 'af46148f774d3bb04d4e808a66686ba12ddd580b', onFocusin: this.onFocusIn, onFocusout: this.onFocusOut, onKeyDown: this.onKeyDown }, h("div", { key: 'e282305055b190bd2eb36569c02eabf598dae3d5', class: className, role: "group" }, h("span", { key: 'a2bd20175356fd1c17fb8f09a56e61d35bf518e2', class: "form-control__controls" }, h("span", { key: '02ca095153f5f5d011ee7ea297ce66b919aaf616', class: "form-control__prefix" }, h("slot", { key: '898844a7fad51a09e9dbe73607ac002ca4d159ed', name: "prefix" })), h(LabelTag, { key: '058102fa4f4882bf0a78a6c224317867219385ce', class: "form-control__label", onClick: this.onLabelClick }, h("span", { key: '549eb4345a5fc0409feddebdf5318d5e5cdeda9f', class: "form-control__label-text", id: this.labelId }, this.label, this.tooltip && this.labelPosition === "outside" && (h("span", { key: '19c30c9165b5a82c4b6a0000e7ff543642fad032', class: "form-control__tooltip" }, h("swirl-tooltip", { key: 'd99a4469954fa2f165c42b55b9c5ae3e120b7c55', content: this.tooltip, positioning: "fixed", position: "top" }, h("swirl-icon-help", { key: 'b109a8bdaa64e6cd53f9387bfcf4674921190ef6', size: 16, tabindex: "0" }))))), h("span", { key: 'd2a0d027f17680993de98b67b79ff15ece1a65d9', class: "form-control__input" }, h("slot", { key: '3a9ed204addcc57f3bdbc357e4ae31566d0e4cd4' })))), showDescription && (h("span", { key: 'acb6aac692734078452087dd8ae06c43adbf77be', class: "form-control__description", id: this.descriptionId }, this.description)), showErrorMessage && (h("span", { key: '6adadee57e6c4a3a42f513810ed2f344fb4f8bbb', "aria-live": "polite", class: "form-control__error-message", id: this.descriptionId }, h("swirl-inline-error", { key: '238c1ad310cc4ef4dd91117e6a86ffa33248c919', message: this.errorMessage, size: "s" }))))));
|
|
163
163
|
}
|
|
164
164
|
get el() { return this; }
|
|
165
165
|
static get watchers() { return {
|
|
@@ -12,7 +12,7 @@ const SwirlFormGroup$1 = /*@__PURE__*/ proxyCustomElement(class SwirlFormGroup e
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = classnames("form-group", `form-group--orientation-${this.orientation}`);
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '2e0236314e66e90b245065f56fa7a41c9290367d' }, h("div", { key: 'eb0d4cb779f7cf7eb92911af1dd28aa67b5182df', class: className }, h("slot", { key: '82e80790c2b56adb31bd06286f98d1b7e5416205' }))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return SwirlFormGroupStyle0; }
|
|
18
18
|
}, [6, "swirl-form-group", {
|
|
@@ -14,7 +14,7 @@ const SwirlIcon = /*@__PURE__*/ proxyCustomElement(class SwirlIcon extends HTMLE
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const Tag = `swirl-icon-${this.glyph}`;
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '513d3eda3fc6ae104a894d6b8899fb5cf2cb6533' }, h(Tag, { key: 'f257e7c91e842275f82da470dbbd5e5f567b7ac0', color: this.color, size: this.size })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return SwirlIconStyle0; }
|
|
20
20
|
}, [1, "swirl-icon", {
|
|
@@ -69,14 +69,14 @@ const SwirlImageGridItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlImageGr
|
|
|
69
69
|
"image-grid-item--has-error": this.error,
|
|
70
70
|
"image-grid-item--has-overlay": this.overlay,
|
|
71
71
|
});
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '31248910e8c9b74c256eab3fda1baaf653c3344c', role: "listitem" }, h(Tag, { key: '74ac2ddd0f449ecd5f061dfff852b19026bc482f', class: className, type: this.interactive ? "button" : undefined }, h("div", { key: '4ebaf2e35d4ab5779600b88f967f23b5e6de7e67', class: "image-grid-item__background", style: {
|
|
73
73
|
backgroundImage: showBlurredBackground
|
|
74
74
|
? `url(${this.src})`
|
|
75
75
|
: undefined,
|
|
76
76
|
} }), this.loading !== "intersecting" || this.inViewport ? (h("img", { alt: this.alt, class: "image-grid-item__image", loading: this.loading !== "intersecting" ? this.loading : undefined, onError: this.onError, onLoad: this.onLoad, ref: (el) => (this.img = el), src: this.src })) : (h("div", { class: "image-grid-item__loading-placeholder" })), this.loaded &&
|
|
77
77
|
!this.error &&
|
|
78
78
|
this.icon &&
|
|
79
|
-
!Boolean(this.overlay) && (h("div", { key: '
|
|
79
|
+
!Boolean(this.overlay) && (h("div", { key: 'b11a327a30e92ccce354176f35031e00af05b92e', class: "image-grid-item__icon", innerHTML: this.icon })), this.overlay && (h("div", { key: 'e384b6006a277cb0e55c15d7547709e5e8de6694', class: "image-grid-item__overlay" }, this.overlay)), !this.loaded && (h("div", { key: '9d081ed42cb5fbed8eed67f91032285572cf1e1a', class: "image-grid-item__spinner" }, h("swirl-spinner", { key: '407c9627c45aff862bab130566301fbd662d0b7f' }))), this.loaded && this.error && (h("div", { key: '2258d9b2c00058dc851afe0ed7a509ddd298467d', class: "image-grid-item__error" }, h("swirl-icon-error", { key: '15b48376686ef20e2629a06a9e05d8b5ea563602', color: "critical" }))))));
|
|
80
80
|
}
|
|
81
81
|
get el() { return this; }
|
|
82
82
|
static get style() { return SwirlImageGridItemStyle0; }
|
|
@@ -41,7 +41,7 @@ const SwirlInlineError = /*@__PURE__*/ proxyCustomElement(class SwirlInlineError
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const className = classnames("inline-error", `inline-error--size-${this.size}`);
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '804d9512c703121f135c621ffe3f75f40f47526d' }, h("span", { key: '7b2fd3af5fa2c6140a3931c1c8df6ce891c3ab26', class: className, part: "inline-error" }, h("span", { key: '7a398c0cf6cc4008fa14e4332abcd1413048d42e', class: "inline-error__icon", ref: (el) => (this.iconEl = el) }, h("swirl-icon-error", { key: '0ed735a3b2d4c7490b1f92f80590019e2850d93e' })), h("span", { key: 'c7f52688925bdb9fade0b461319233b9a94d7419', class: "inline-error__message" }, this.message))));
|
|
45
45
|
}
|
|
46
46
|
static get style() { return SwirlInlineErrorStyle0; }
|
|
47
47
|
}, [1, "swirl-inline-error", {
|
|
@@ -20,7 +20,7 @@ const SwirlInlineNotification$1 = /*@__PURE__*/ proxyCustomElement(class SwirlIn
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const className = classnames("inline-notification", `inline-notification--intent-${this.intent}`);
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '8e21f90f77594f0cc4a64e6cff99bdb35166ea70' }, h("div", { key: '43b8b7ee49f36a748859127f56ff0eca5d4f97de', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, h("span", { key: '81bcced39e396d677b14f22620f4a283202eb983', "aria-hidden": "true", class: "inline-notification__icon" }, this.intent === "critical" && (h("swirl-icon-error", { key: '8f1dea1971ae34e70dc6841efa991dd5688360c3', size: 20 })), this.intent === "success" && (h("swirl-icon-check-circle", { key: '8d48709d600fd93a415a31dbfd386cfc659f0d11', size: 20 })), this.intent === "warning" && (h("swirl-icon-warning", { key: 'faa4b3951d5d83264679b1acc7ba6e9e8ca9f872', size: 20 })), this.intent === "info" && (h("swirl-icon-info", { key: '5fe76a76f0c8c0e809d9e184115665c71824ca31', size: 20 }))), h("span", { key: 'f318fc8979d7d132455b05cb2b881308e708f3b2', class: "inline-notification__content", id: "content" }, h("swirl-text", { key: '2fc1a5088e28ec8e1d2c08a215a319abb8d71672', class: "inline-notification__heading", size: "sm", weight: "semibold" }, this.heading), h("slot", { key: '7ee8b88b3d040a295b13ac2065a0335e2a83768a' })))));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return SwirlInlineNotificationStyle0; }
|
|
26
26
|
}, [1, "swirl-inline-notification", {
|
|
@@ -46,7 +46,7 @@ const SwirlInlineStatus$1 = /*@__PURE__*/ proxyCustomElement(class SwirlInlineSt
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
const className = classnames("inline-status", `inline-status--intent-${this.intent}`, `inline-status--size-${this.size}`);
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'ccfd99f89e7005d6b03dcc1c8cd7cc7d8fd3e108' }, h("span", { key: '625ab5faff22280fe67340b3ffc1f90feaf237ac', class: className, part: "inline-status" }, this.icon && (h("span", { key: 'c9bdbc0d33f14b656a2bfc92de564a202cfccadf', class: "inline-status__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '1d3339349bf63d7f307be152d840c266da42b492', class: "inline-status__message" }, this.message))));
|
|
50
50
|
}
|
|
51
51
|
static get style() { return SwirlInlineStatusStyle0; }
|
|
52
52
|
}, [1, "swirl-inline-status", {
|
|
@@ -16,7 +16,7 @@ const SwirlLink$1 = /*@__PURE__*/ proxyCustomElement(class SwirlLink extends HTM
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const className = classnames("link", `link--color-${this.color}`);
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '8bc85c462cefcd4b542d2b59494a1f95e70ffde0' }, h("a", { key: '21d84579f9ec88e09d766e7cd7038f27e92deaca', class: className, href: this.href, part: "link", target: this.target }, this.label)));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return SwirlLinkStyle0; }
|
|
22
22
|
}, [1, "swirl-link", {
|
|
@@ -278,7 +278,7 @@ const SwirlMenu$1 = /*@__PURE__*/ proxyCustomElement(class SwirlMenu extends HTM
|
|
|
278
278
|
"menu--mobile": this.mobile,
|
|
279
279
|
"menu--root": isTopLevelMenu,
|
|
280
280
|
});
|
|
281
|
-
return (h(Host, { key: '
|
|
281
|
+
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
|
|
282
282
|
? {
|
|
283
283
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
284
284
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
@@ -289,7 +289,7 @@ const SwirlMenu$1 = /*@__PURE__*/ proxyCustomElement(class SwirlMenu extends HTM
|
|
|
289
289
|
? `calc(-100% * ${this.activeLevel})`
|
|
290
290
|
: "100%",
|
|
291
291
|
}
|
|
292
|
-
: undefined }, h("slot", { key: '
|
|
292
|
+
: undefined }, h("slot", { key: '33104855fa5fe67514235cbf01a892950b92ca9d' })))));
|
|
293
293
|
}
|
|
294
294
|
get el() { return this; }
|
|
295
295
|
static get watchers() { return {
|
|
@@ -175,13 +175,13 @@ const SwirlModal$1 = /*@__PURE__*/ proxyCustomElement(class SwirlModal extends H
|
|
|
175
175
|
"modal--scrolled": this.scrolled,
|
|
176
176
|
"modal--scrolled-down": this.scrolledDown,
|
|
177
177
|
});
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
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: {
|
|
179
179
|
"--swirl-modal-max-height": this.maxHeight,
|
|
180
180
|
"--swirl-modal-height": this.height,
|
|
181
181
|
maxWidth: this.maxWidth,
|
|
182
|
-
} }, h("header", { key: '
|
|
182
|
+
} }, 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"
|
|
183
183
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
184
|
-
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), !this.hideLabel && (h("swirl-heading", { key: '
|
|
184
|
+
: "<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" })))))))));
|
|
185
185
|
}
|
|
186
186
|
get el() { return this; }
|
|
187
187
|
static get watchers() { return {
|
|
@@ -74,9 +74,9 @@ const SwirlOptionListItem = /*@__PURE__*/ proxyCustomElement(class SwirlOptionLi
|
|
|
74
74
|
"option-list-item--dragging": this.dragging,
|
|
75
75
|
"option-list-item--selected": this.selected,
|
|
76
76
|
});
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'baa6cd5d65fd7b0e85802a5ca91eb1a8721663a3' }, h("div", { key: '601fe74fc80a7d03423e7d31b4050aec1f95b4ca', "aria-checked": this.swirlAriaRole === "menuitemradio" ? ariaSelected : undefined, "aria-describedby": Boolean(this.description)
|
|
78
78
|
? `option-list-item-${this.elementId}-description`
|
|
79
|
-
: 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: '
|
|
79
|
+
: 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 })))));
|
|
80
80
|
}
|
|
81
81
|
get el() { return this; }
|
|
82
82
|
static get style() { return SwirlOptionListItemStyle0; }
|