@getflip/swirl-components 0.427.1 → 0.428.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 +107 -107
- package/dist/cjs/swirl-action-list_2.cjs.entry.js +1 -1
- package/dist/cjs/swirl-app-bar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +13 -8
- package/dist/cjs/swirl-autocomplete.cjs.entry.js +4 -4
- package/dist/cjs/swirl-avatar-group.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/swirl-card.cjs.entry.js +2 -2
- package/dist/cjs/swirl-carousel.cjs.entry.js +1 -1
- 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-dialog.cjs.entry.js +1 -1
- package/dist/cjs/swirl-file-viewer_8.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-heading.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon.cjs.entry.js +1 -1
- package/dist/cjs/swirl-image-grid-item.cjs.entry.js +3 -3
- package/dist/cjs/swirl-image-grid.cjs.entry.js +1 -1
- 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 +8 -8
- package/dist/cjs/swirl-option-list_2.cjs.entry.js +2 -2
- 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-separator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-stack.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-table.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text-input.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/swirl-tree-view-item.cjs.entry.js +3 -3
- package/dist/cjs/swirl-tree-view.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +9 -9
- package/dist/collection/components/swirl-action-list-item/swirl-action-list-item.js +1 -1
- package/dist/collection/components/swirl-app-bar/swirl-app-bar.js +1 -1
- package/dist/collection/components/swirl-app-layout/swirl-app-layout.js +4 -4
- 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-avatar-group/swirl-avatar-group.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 +3 -3
- 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-carousel/swirl-carousel.js +1 -1
- 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-heading/swirl-heading.js +1 -1
- package/dist/collection/components/swirl-icon/swirl-icon.js +1 -1
- package/dist/collection/components/swirl-image-grid/swirl-image-grid.js +1 -1
- package/dist/collection/components/swirl-image-grid-item/swirl-image-grid-item.js +3 -3
- 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 +8 -8
- 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/swirl-resource-list.js +7 -2
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +2 -2
- 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-stack/swirl-stack.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/swirl-table.js +1 -1
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +1 -1
- package/dist/collection/components/swirl-text-input/swirl-text-input.js +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +2 -2
- package/dist/collection/components/swirl-tree-view/swirl-tree-view.js +1 -1
- package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.js +3 -3
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/swirl-action-list-item2.js +1 -1
- package/dist/components/swirl-app-bar.js +1 -1
- package/dist/components/swirl-app-layout2.js +4 -4
- package/dist/components/swirl-autocomplete.js +4 -4
- package/dist/components/swirl-avatar-group.js +1 -1
- 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 +2 -2
- package/dist/components/swirl-card.js +2 -2
- package/dist/components/swirl-carousel.js +1 -1
- 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-heading2.js +1 -1
- package/dist/components/swirl-icon2.js +1 -1
- package/dist/components/swirl-image-grid-item.js +3 -3
- package/dist/components/swirl-image-grid.js +1 -1
- 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 +8 -8
- 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 +2 -2
- package/dist/components/swirl-resource-list2.js +7 -2
- package/dist/components/swirl-search.js +1 -1
- package/dist/components/swirl-separator2.js +1 -1
- package/dist/components/swirl-stack2.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-table.js +1 -1
- package/dist/components/swirl-text-input2.js +1 -1
- package/dist/components/swirl-tooltip2.js +2 -2
- package/dist/components/swirl-tree-view-item.js +3 -3
- package/dist/components/swirl-tree-view.js +1 -1
- package/dist/esm/swirl-action-list_2.entry.js +1 -1
- package/dist/esm/swirl-app-bar.entry.js +1 -1
- package/dist/esm/swirl-app-layout_5.entry.js +13 -8
- package/dist/esm/swirl-autocomplete.entry.js +4 -4
- package/dist/esm/swirl-avatar-group.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/swirl-card.entry.js +2 -2
- package/dist/esm/swirl-carousel.entry.js +1 -1
- 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-dialog.entry.js +1 -1
- package/dist/esm/swirl-file-viewer_8.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-heading.entry.js +1 -1
- package/dist/esm/swirl-icon-error_3.entry.js +1 -1
- package/dist/esm/swirl-icon.entry.js +1 -1
- package/dist/esm/swirl-image-grid-item.entry.js +3 -3
- package/dist/esm/swirl-image-grid.entry.js +1 -1
- 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 +8 -8
- package/dist/esm/swirl-option-list_2.entry.js +2 -2
- 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-separator.entry.js +1 -1
- package/dist/esm/swirl-stack.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-table.entry.js +1 -1
- package/dist/esm/swirl-text-input.entry.js +1 -1
- package/dist/esm/swirl-tooltip.entry.js +2 -2
- package/dist/esm/swirl-tree-view-item.entry.js +3 -3
- package/dist/esm/swirl-tree-view.entry.js +1 -1
- package/dist/swirl-components/{p-09cedd70.entry.js → p-00fbd2d9.entry.js} +1 -1
- package/dist/swirl-components/{p-568d1150.entry.js → p-0514e49f.entry.js} +1 -1
- package/dist/swirl-components/p-0a567aaa.entry.js +1 -0
- package/dist/swirl-components/{p-ee735674.entry.js → p-1bc21cd1.entry.js} +2 -2
- package/dist/swirl-components/{p-83dab4ea.entry.js → p-1d18e440.entry.js} +1 -1
- package/dist/swirl-components/{p-27bd7a33.entry.js → p-1d754acf.entry.js} +1 -1
- package/dist/swirl-components/{p-63e7478a.entry.js → p-257a1f0d.entry.js} +1 -1
- package/dist/swirl-components/{p-02616a2d.entry.js → p-291ef23a.entry.js} +1 -1
- package/dist/swirl-components/p-314eab6a.entry.js +1 -0
- package/dist/swirl-components/{p-4ec1a224.entry.js → p-36a0f260.entry.js} +1 -1
- package/dist/swirl-components/{p-ce6612d0.entry.js → p-44818f71.entry.js} +1 -1
- package/dist/swirl-components/{p-1ff0e13f.entry.js → p-4c6132ef.entry.js} +1 -1
- package/dist/swirl-components/{p-ee2a8b00.entry.js → p-51a7c338.entry.js} +1 -1
- package/dist/swirl-components/{p-ee83a332.entry.js → p-51cf60e5.entry.js} +1 -1
- package/dist/swirl-components/{p-e03d32c6.entry.js → p-52c71b21.entry.js} +1 -1
- package/dist/swirl-components/{p-3c21c65f.entry.js → p-54cae251.entry.js} +1 -1
- package/dist/swirl-components/{p-a303627b.entry.js → p-54d0e3eb.entry.js} +1 -1
- package/dist/swirl-components/{p-b83e980e.entry.js → p-64af39a9.entry.js} +1 -1
- package/dist/swirl-components/{p-b7b38533.entry.js → p-64c8be03.entry.js} +1 -1
- package/dist/swirl-components/{p-ced86068.entry.js → p-6600bc56.entry.js} +1 -1
- package/dist/swirl-components/{p-0eb54623.entry.js → p-6704015a.entry.js} +1 -1
- package/dist/swirl-components/{p-4a349a19.entry.js → p-675c7677.entry.js} +1 -1
- package/dist/swirl-components/{p-90b4fe82.entry.js → p-6decfaa7.entry.js} +1 -1
- package/dist/swirl-components/{p-53e73a1b.entry.js → p-72db4ecd.entry.js} +1 -1
- package/dist/swirl-components/{p-9a5a0161.entry.js → p-840b7682.entry.js} +1 -1
- package/dist/swirl-components/{p-b5880632.entry.js → p-89462542.entry.js} +1 -1
- package/dist/swirl-components/{p-e971d0eb.entry.js → p-8de8ca4e.entry.js} +1 -1
- package/dist/swirl-components/{p-2d389f21.entry.js → p-8e261b3e.entry.js} +1 -1
- package/dist/swirl-components/p-9b4fdee0.entry.js +1 -0
- package/dist/swirl-components/{p-24acebec.entry.js → p-a9385fd2.entry.js} +1 -1
- package/dist/swirl-components/{p-b69f3d48.entry.js → p-b4329ace.entry.js} +1 -1
- package/dist/swirl-components/{p-139c49d6.entry.js → p-b7c359c8.entry.js} +1 -1
- package/dist/swirl-components/{p-6358dfe9.entry.js → p-bc8920d3.entry.js} +1 -1
- package/dist/swirl-components/{p-ac41719d.entry.js → p-bd828ab6.entry.js} +1 -1
- package/dist/swirl-components/{p-23c3dd3b.entry.js → p-c36d7031.entry.js} +1 -1
- package/dist/swirl-components/p-c3e6328f.entry.js +1 -0
- package/dist/swirl-components/{p-25fd14bc.entry.js → p-d704df29.entry.js} +1 -1
- package/dist/swirl-components/{p-db361c9f.entry.js → p-dc31ae94.entry.js} +1 -1
- package/dist/swirl-components/{p-08fea076.entry.js → p-e1c08aeb.entry.js} +1 -1
- package/dist/swirl-components/{p-75de0f16.entry.js → p-e4265da2.entry.js} +1 -1
- package/dist/swirl-components/{p-454497dd.entry.js → p-eb504284.entry.js} +1 -1
- package/dist/swirl-components/p-f0ea9bbb.entry.js +1 -0
- package/dist/swirl-components/{p-94d811ef.entry.js → p-f458734a.entry.js} +1 -1
- package/dist/swirl-components/{p-ef3bbe3e.entry.js → p-f56a2e52.entry.js} +1 -1
- package/dist/swirl-components/{p-6376cd92.entry.js → p-f5abf256.entry.js} +1 -1
- package/dist/swirl-components/{p-d5933be2.entry.js → p-f979650f.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
- package/vscode-data.json +5 -5
- package/dist/swirl-components/p-44f6784a.entry.js +0 -1
- package/dist/swirl-components/p-46bd7a56.entry.js +0 -1
- package/dist/swirl-components/p-70b154cf.entry.js +0 -1
- package/dist/swirl-components/p-c14f3827.entry.js +0 -1
- package/dist/swirl-components/p-fcaa53c3.entry.js +0 -1
|
@@ -91,7 +91,7 @@ const SwirlBox = class {
|
|
|
91
91
|
"box--scrolled-to-top": this.scrollState.scrolledToTop,
|
|
92
92
|
"box--scrolled-to-bottom": this.scrollState.scrolledToBottom,
|
|
93
93
|
});
|
|
94
|
-
return (index.h(index.Host, { key: '
|
|
94
|
+
return (index.h(index.Host, { key: 'e9eeaa11b7a04b59744d8cf369855874fb8eab02', class: className, onScroll: this.onScroll, style: styles }, index.h("slot", { key: '0d5e86f34e2efb3dd7f9bfaf24a3a18578e6f507' })));
|
|
95
95
|
}
|
|
96
96
|
get el() { return index.getElement(this); }
|
|
97
97
|
};
|
|
@@ -16,11 +16,11 @@ const SwirlButtonGroup = class {
|
|
|
16
16
|
const className = index$1.classnames("button-group", {
|
|
17
17
|
"button-group--segmented": this.segmented,
|
|
18
18
|
});
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '1c5dcaf521e8ee19f572f03e428f6f6297106ae0' }, index.h("swirl-stack", { key: '78073a9c28c55e16c68c9f32f4573e18f08d8822', align: this.orientation === "vertical" && this.stretch
|
|
20
20
|
? "stretch"
|
|
21
21
|
: "start", class: className, justify: this.orientation === "horizontal" && this.stretch
|
|
22
22
|
? "stretch"
|
|
23
|
-
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, index.h("slot", { key: '
|
|
23
|
+
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, index.h("slot", { key: '4936fecbd49610aec18174458b1cd7ef42723eba' }))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
SwirlButtonGroup.style = swirlButtonGroupCss;
|
|
@@ -79,13 +79,13 @@ const SwirlButton = class {
|
|
|
79
79
|
"button--pressed": this.pressed,
|
|
80
80
|
});
|
|
81
81
|
const Tag = isLink ? "a" : "button";
|
|
82
|
-
return (index.h(index.Host, { key: '
|
|
82
|
+
return (index.h(index.Host, { key: '45ecb09b0608bb62c759dfe09a4f17629a843e66', style: { pointerEvents: this.disabled ? "none" : "" } }, index.h(Tag, { key: '9ca424959955c2f56665b6abc64fce23b133ee5e', "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, style: {
|
|
83
83
|
cursor: !this.disabled && this.cursor !== "pointer"
|
|
84
84
|
? this.cursor
|
|
85
85
|
: undefined,
|
|
86
86
|
fontSize: this.inheritFontSize ? "inherit" : undefined,
|
|
87
87
|
lineHeight: this.inheritFontSize ? "inherit" : undefined,
|
|
88
|
-
} }, Boolean(this.icon) && (index.h("span", { key: '
|
|
88
|
+
} }, Boolean(this.icon) && (index.h("span", { key: '85c7e12f44561c7754296fac3b6c74be06b93c22', class: "button__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !Boolean(this.icon) && (index.h("span", { key: '082e271c1ca38212e61f9d62aed60b016ac588f6', class: "button__icon", ref: (el) => (this.iconEl = el) }, index.h("slot", { key: 'bf24edbe91d4590049429b27da601ba5cd51e9a5', name: "icon" }))), !hideLabel && index.h("span", { key: '06cd510bb5617fec59496d64b32fc19bf59ba026', class: "button__label" }, this.label), hasTag && (index.h("span", { key: '95f4b84ae32def5b1fbf1ba1963382343dac4279', class: "button__tag" }, index.h("slot", { key: '9d778088353420c933a1e22089568c690909026c', name: "tag" }))), hasTrailingSlot && (index.h("div", { key: '1f5b393f4da411b312220673611a016e96b0d218', class: "button__trailing-slot" }, index.h("slot", { key: '635deb01ac5dbad192f64c79155a944f1c8b4716', name: "trailing" }))))));
|
|
89
89
|
}
|
|
90
90
|
get el() { return index.getElement(this); }
|
|
91
91
|
};
|
|
@@ -75,9 +75,9 @@ const SwirlCard = class {
|
|
|
75
75
|
"card--interactive": this.interactive || this.href,
|
|
76
76
|
"card--is--borderless": this.isBorderless,
|
|
77
77
|
});
|
|
78
|
-
return (index.h(index.Host, { key: '
|
|
78
|
+
return (index.h(index.Host, { key: '83b6b355f012cfb088f2611c426f0bf77ca5104e', styles: { height: this.height } }, index.h(Tag, { key: '40068da71c3431f175fca50e354c622aff3468c0', "aria-current": this.swirlAriaCurrent, "aria-label": this.swirlAriaLabel, "aria-labelledby": this.swirlAriaLabelledby, class: className, href: this.href, rel: Boolean(this.href) && this.linkTarget === "_blank"
|
|
79
79
|
? "noreferrer"
|
|
80
|
-
: undefined, style: styles, target: this.linkTarget }, index.h("div", { key: '
|
|
80
|
+
: undefined, style: styles, target: this.linkTarget }, index.h("div", { key: '49987e8063c4f113c38af82928a4893baf86b441', class: "card__image", style: { aspectRatio: this.imageAspectRatio } }, index.h("slot", { key: '742d2b19d695b930a3feb266f62d91ffea350fe4', name: "image" })), index.h("div", { key: '0805793c5a6da79d98155d13893d5b415688baee', class: "card__floating-controls" }, index.h("slot", { key: '748164f9d7554595e817cd94b0d3894f32470945', name: "floating-controls" })), index.h("div", { key: '86e1aa40d1ac5d0dd78dcb193a706dea9535ad35', class: "card__body", style: bodyStyles }, index.h("div", { key: 'be6764afd0710adf51eb46ef1d482de3e1595681', class: "card__content" }, index.h("slot", { key: '5a14b8fff905b77645a85cc60b21cdf5bc68627f', name: "content" }))))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -158,7 +158,7 @@ const SwirlCarousel = class {
|
|
|
158
158
|
"carousel--is-at-start": this.isAtStart,
|
|
159
159
|
"carousel--is-at-end": this.isAtEnd,
|
|
160
160
|
});
|
|
161
|
-
return (index.h(index.Host, { key: '
|
|
161
|
+
return (index.h(index.Host, { key: 'c5903f0c46a1eaa6129e2a1b73abee0db5bcd9ed', "aria-label": this.label, "aria-roledescription": "carousel", role: "group" }, index.h("div", { key: 'a1dfb1a45c399559d25df72add7723b231b5e6b8', class: className }, this.isScrollable && !this.isAtStart && (index.h("swirl-button", { key: 'f9e9dd3bb8162550accfcd6b653a3737355f93d4', class: "carousel__previous-slide-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.previousSlideButtonLabel, onClick: this.onPreviousSlideButtonClick, pill: true, variant: "floating" })), this.isScrollable && !this.isAtEnd && (index.h("swirl-button", { key: 'bc30a83c74273b4b5832338422a95d91e3e67321', class: "carousel__next-slide-button", hideLabel: true, icon: "<swirl-icon-arrow-forward></swirl-icon-arrow-forward>", label: this.nextSlideButtonLabel, onClick: this.onNextSlideButtonClick, pill: true, variant: "floating" })), index.h("div", { key: 'cb596e62b8517b2d6ff791032b41608c6a5b25be', "aria-live": "polite", class: "carousel__slides", style: slidesStyles, onScroll: this.onScroll, ref: (el) => (this.slidesContainer = el) }, index.h("slot", { key: '0fab582bd3650e63d512e934d03183b3ae9b5901', onSlotchange: this.onSlotChange })))));
|
|
162
162
|
}
|
|
163
163
|
get el() { return index.getElement(this); }
|
|
164
164
|
};
|
|
@@ -44,7 +44,7 @@ const SwirlCheckbox = class {
|
|
|
44
44
|
"checkbox--invalid": this.invalid,
|
|
45
45
|
"checkbox--unchecked": unchecked,
|
|
46
46
|
});
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: 'acf777ca7224f41f607bf84f193ecb05881f1fc1', style: { width: this.variant === "card" ? "100%" : undefined } }, index.h("label", { key: 'c3a3abc5f9e87d3665ad7c797d44a2acd34c8ee5', class: className, htmlFor: this.inputId }, index.h("span", { key: '5e49492e10519c0f2f4f6ed187b318bca8316dab', class: "checkbox__control" }, index.h("swirl-visually-hidden", { key: '06217d12dbc1ea25117e421d8e0e1cebd392f599' }, index.h("input", { key: '455840493b5e9b60aace6f4a0e2de7e5cece2e78', "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 })), index.h("span", { key: '8b69f9ae79e957c52066cd80cf0da11fe5613ed2', "aria-hidden": "true", class: "checkbox__box" }, index.h("span", { key: 'cca029718dd23f8c2e0637ce4f44c24b4fb0b289', class: "checkbox__icon" }, checked && index.h("swirl-icon-check-strong", { key: 'f3bab31db3d5ab5a6fdc78610abb42763f51154b' }), indeterminate && (index.h("span", { key: '7002b8fffbb15b73d84fae98761196bbe6af3347', class: "checkbox__indeterminate-icon" }))))), showLabelContainer && (index.h("span", { key: '082ac434bc4dd0c98d983650aab5208a760063e7', class: "checkbox__label-container" }, this.label && index.h("span", { key: '62737cd8068a70eb10e722c2ff91ae4dc9917f7d', class: "checkbox__label" }, this.label), this.description && (index.h("span", { key: '3e7f891b80511b9a4d811db31b594f2a0429d8b0', class: "checkbox__description" }, this.description)))))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
SwirlCheckbox.style = swirlCheckboxCss;
|
|
@@ -48,7 +48,7 @@ const SwirlChip = class {
|
|
|
48
48
|
"chip--interactive": this.interactive || this.pressed !== undefined,
|
|
49
49
|
"chip--removable": this.removable,
|
|
50
50
|
});
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'b0e65c521dcde5335f3bcd7daaf7359ba5bbe3ec' }, index.h(Tag, { key: 'a5198b26f19750bd4c8372acdc21e26f3ed8cfe1', "aria-pressed": this.pressed !== undefined ? String(this.pressed) : undefined, class: className, onClick: this.chipClick.emit, type: this.interactive ? "button" : undefined }, index.h("span", { key: '2ed93ce33faf8a1bdc4b07e4f866a10650ae8395', class: "chip__inner" }, showAvatar && (index.h("span", { key: 'ec44e6a99988aa14dcf330098de8593a1deeaed8', class: "chip__avatar" }, index.h("slot", { key: '880a8c96422c0f31cbf603676ffecef66c6bff21', name: "avatar" }))), showIcon && (index.h("span", { key: 'b5ba3f75080b5452fce8886c513eaa6abcd58009', class: "chip__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), index.h("span", { key: '808fe136faee7570c2329a300fafba4e0efcbed8', class: "chip__label" }, this.label)), this.progress !== undefined && (index.h("span", { key: '50b4eb47a59290e9c21570e0b2d91a8aa7a97723', class: "chip__progress-indicator" }, index.h("swirl-progress-indicator", { key: 'e0d54da0d2c6a325f6068740bba0c72b0837fb87', label: this.progressBarLabel, value: this.progress })))), this.removable && (index.h("button", { key: 'ec75adbbf28bf1df36d7532d832137f795973dab', "aria-label": this.removeButtonLabel, class: "chip__remove-button", onClick: this.removeChip.emit, type: "button" }, index.h("swirl-icon-close", { key: '85c241bc56caaf410421b102607f902f1c4b33ef', size: 20 })))));
|
|
52
52
|
}
|
|
53
53
|
get el() { return index.getElement(this); }
|
|
54
54
|
};
|
|
@@ -10,10 +10,10 @@ const SwirlColumns = class {
|
|
|
10
10
|
this.columns = "repeat(3, minmax(0, 1fr))";
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (index.h(index.Host, { key: '
|
|
13
|
+
return (index.h(index.Host, { key: '779371e7d28640a71aaad2d2de8d91b5b8d63e88' }, index.h("div", { key: 'de846647d2b436277cd2765f9814796320af071d', class: "columns", style: {
|
|
14
14
|
gridTemplateColumns: this.columns,
|
|
15
15
|
gap: `var(--s-space-${this.spacing})`,
|
|
16
|
-
} }, index.h("slot", { key: '
|
|
16
|
+
} }, index.h("slot", { key: 'ca510de4dae9c7055d2db6e02020cdfca95e58c6' }))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
SwirlColumns.style = swirlColumnsCss;
|
|
@@ -68,7 +68,7 @@ const SwirlDialog = class {
|
|
|
68
68
|
render() {
|
|
69
69
|
const className = index$1.classnames("dialog", { "dialog--closing": this.closing });
|
|
70
70
|
const hasLeftControls = Boolean(this.el.querySelector('[slot="left-controls"]'));
|
|
71
|
-
return (index.h(index.Host, { key: '
|
|
71
|
+
return (index.h(index.Host, { key: '61ba06cee740b1bf21b246aeba14996b002a5aab' }, index.h("div", { key: 'e195a08fdac8f9ad6f76d412cd50eef88905128f', "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" }, index.h("div", { key: 'a1dbf13fe86dec8256c06393c4abd6c6c59382c1', class: "dialog__backdrop", onClick: this.onBackdropClick }), index.h("div", { key: 'f0b9dd2f2d722bf050081b2bc7fed3552c8a457c', class: "dialog__body", part: "dialog__body", role: "document" }, !this.hideLabel && (index.h("h2", { key: '18eceaee59d9184ace51898fe73c603af383387d', class: "dialog__heading", part: "dialog__heading", id: "label" }, this.label)), index.h("div", { key: '612edee73bee789b7ec2f8fd2e16cd3c3a9370aa', class: "dialog__content", part: "dialog__content", id: "content" }, index.h("slot", { key: '9d482392bce3c82df30c166fc99577c036da49a8' })), index.h("div", { key: '3306d185ed549fc6470a2fbbaf649cdc33b98189', class: "dialog__controls", ref: (el) => (this.controlsContainerEl = el) }, hasLeftControls && (index.h("div", { key: '0a7eb43c0f7f3e016767a8364334bd5f9d3cdf86', class: "dialog__left_controls" }, index.h("slot", { key: 'eb39f26ed1ff0a7931a899c8b9f70b3f22bba2d5', name: "left-controls" }))), this.secondaryActionLabel && (index.h("swirl-button", { key: '70cc4de12878fdb5f123a23a42d9c6cba67ddee7', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (index.h("swirl-button", { key: 'f02577b4cad57daea316f66b61ee3eec6844666a', intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
72
72
|
}
|
|
73
73
|
get el() { return index.getElement(this); }
|
|
74
74
|
};
|
|
@@ -28599,7 +28599,7 @@ const SwirlFileViewerPdf = class {
|
|
|
28599
28599
|
const showPagination = !this.error && !this.loading && this.visiblePages.length > 0;
|
|
28600
28600
|
const showSpinner = this.loading;
|
|
28601
28601
|
const className = index$1.classnames("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
|
|
28602
|
-
return (index.h(index.Host, { key: '
|
|
28602
|
+
return (index.h(index.Host, { key: '17dae0b8e5bf16769a356414071943dc7f8ebec1', class: className, exportparts: "file-viewer-pdf__pagination" }, this.error && (index.h("swirl-inline-error", { key: '472e62e48d63545fef3bddaefe8cc307139b382b', class: "file-viewer-pdf__error", message: this.errorMessage })), index.h("div", { key: 'ae504112d088bd4990b419e787e48c5737f6d552', "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (el) => (this.scrollContainer = el) }, this.pages.map((page) => {
|
|
28603
28603
|
const viewport = page.getViewport({
|
|
28604
28604
|
scale: this.getScale(page),
|
|
28605
28605
|
});
|
|
@@ -28613,7 +28613,7 @@ const SwirlFileViewerPdf = class {
|
|
|
28613
28613
|
width: `${width}px`,
|
|
28614
28614
|
height: `${height}px`,
|
|
28615
28615
|
}, tabIndex: 0 }, !rendered && (index.h("swirl-spinner", { class: "file-viewer-pdf__page-spinner" })), index.h("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: rendered ? "1" : "0" } }), index.h("div", { class: "file-viewer-pdf__text-container" })));
|
|
28616
|
-
})), showPagination && (index.h("span", { key: '
|
|
28616
|
+
})), showPagination && (index.h("span", { key: '0986d71eab6496cd1b588afa28c8ba5cf2a02967', class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, index.h("span", { key: 'b0bd18dd65703cb4d240ab66883e23b03d282265', "aria-current": "page" }, this.currentPage), " /", " ", this.doc.numPages)), showSpinner && (index.h("div", { key: 'cb4c58f7641b05e55132ca315e83b7254d2a1d66', class: "file-viewer-pdf__spinner" }, index.h("swirl-spinner", { key: '3a0dc7d43eebc9169928e07959239471d3c8b5ba' })))));
|
|
28617
28617
|
}
|
|
28618
28618
|
get el() { return index.getElement(this); }
|
|
28619
28619
|
static get watchers() { return {
|
|
@@ -179,7 +179,7 @@ const SwirlFormControl = class {
|
|
|
179
179
|
"form-control--is-select": isSelect,
|
|
180
180
|
});
|
|
181
181
|
const LabelTag = hasContenteditableControl ? "div" : "label";
|
|
182
|
-
return (index.h(index.Host, { key: '
|
|
182
|
+
return (index.h(index.Host, { key: '5d0c6f34f0a5e091572badf875c331f2950d2c61', onFocusin: this.onFocusIn, onFocusout: this.onFocusOut, onKeyDown: this.onKeyDown }, index.h("div", { key: '0da20c4144a3e16915f01ce479be0930881283c3', class: className, role: "group" }, index.h("span", { key: '207e74fd91682c0badd35dec00f38cc24f6fbfda', class: "form-control__controls" }, index.h("span", { key: 'c924c7af99f42e86c38967f94f2ec2ce1adda03e', class: "form-control__prefix" }, index.h("slot", { key: 'f9e1846ac14c9f5abbc1d81ec54883a6f111dcf0', name: "prefix" })), index.h(LabelTag, { key: 'cf048cebee46418130e22a953bb36ca7611c9eb8', class: "form-control__label", onClick: this.onLabelClick }, hasIcon && (index.h("span", { key: 'e0fde25c920b12d8389f4855638c2565e546695a', class: "form-control__icon" }, index.h("swirl-icon", { key: '64d5f602368b330926d8325e3690cee440c4c180', glyph: this.icon, size: 20 }))), index.h("span", { key: 'c02bce9518e6396f928a6174d02e3c3535adefd9', class: "form-control__label-text", id: this.labelId }, this.label, this.secondaryLabel && this.labelPosition === "outside" && (index.h("span", { key: '72506a8b0f98719edb72150e4dbf646ea5614a3d', class: "form-control__secondary-label" }, this.secondaryLabel)), this.tooltip && (index.h("span", { key: 'd3deeecc715dd27b75b4b6b5964efc28a3d0f4ac', class: "form-control__tooltip" }, index.h("swirl-tooltip", { key: '6701adfdee424f93b50e382ef01aae5fbd90595f', content: this.tooltip, positioning: "fixed", position: "top" }, index.h("swirl-icon-help", { key: 'fe2bcf26d75359ad8a1d0dce9d9558deece72e4a', size: 16, tabindex: "0" }))))), index.h("span", { key: '86f1422d88df28dea22430c1907921899b84361c', class: "form-control__input" }, index.h("slot", { key: 'b75a71a7a284222a6b886355f9cacac0acc20fb8' })))), showDescription && (index.h("span", { key: '264578a1b5e01adee8170f3fc0995b5b2e3281ea', class: "form-control__description", id: this.descriptionId }, this.description)), index.h("span", { key: '8d15ec8ce9ff19a4034ce5f397a83acce09cc30b', "aria-live": "polite" }, showErrorMessage && (index.h("span", { key: 'ee8a03d72fd611d65a952cf7e9b44d6be8d55257', class: "form-control__error-message", id: this.descriptionId }, index.h("swirl-inline-error", { key: '5fe80768d96bb623c3fba7f67fbe801c2d5537f4', message: this.errorMessage, size: "s" })))))));
|
|
183
183
|
}
|
|
184
184
|
get el() { return index.getElement(this); }
|
|
185
185
|
static get watchers() { return {
|
|
@@ -12,7 +12,7 @@ const SwirlFormGroup = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = index$1.classnames("form-group", `form-group--orientation-${this.orientation}`);
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '5b14e0132c0975013caced41c3d42765900b0301' }, index.h("div", { key: '5a3f2d09416ebaeac67e310c658445d56dfea2c8', class: className }, index.h("slot", { key: '56a1bda07c9042e0e81696c64b0789a54154915b' }))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
SwirlFormGroup.style = swirlFormGroupCss;
|
|
@@ -27,7 +27,7 @@ const SwirlHeading = class {
|
|
|
27
27
|
"heading--balanced": this.balance,
|
|
28
28
|
"heading--truncate": this.truncate,
|
|
29
29
|
});
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: 'dd4ed3748fc507e7ba2d848224a64a9b5283387e' }, index.h(Tag, { key: '02a22700a704330179fe3af567e78f93717c2081', class: className, id: this.headingId, style: styles }, this.text)));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
SwirlHeading.style = swirlHeadingCss;
|
|
@@ -55,7 +55,7 @@ const SwirlInlineError = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
const className = index$1.classnames("inline-error", `inline-error--size-${this.size}`);
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '1a26d04e450f9d9203768de9b17c77aa11e9c4d4' }, index.h("span", { key: '06a651a9326c6b8a96f512b325cfff79e6103b09', class: className, part: "inline-error" }, index.h("span", { key: '66773012fb6015b7502253c0c44320b78c4fdd4a', class: "inline-error__icon", ref: (el) => (this.iconEl = el) }, index.h("swirl-icon-error", { key: '7f1d200e1db3fb43cef244fa65a016dc86cb7059' })), index.h("span", { key: '205d8d625e3cfac9a3fedadca9744cdfc2038e74', class: "inline-error__message" }, this.message))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
SwirlInlineError.style = swirlInlineErrorCss;
|
|
@@ -11,7 +11,7 @@ const SwirlIcon = class {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const Tag = `swirl-icon-${this.glyph}`;
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: 'abb8a9d727983cca95e5c9600a13f0f77d26223d' }, index.h(Tag, { key: 'd86673ee0436541dbf40f73d9361b3d1c5f4c414', color: this.color, size: this.size })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
SwirlIcon.style = swirlIconCss;
|
|
@@ -134,14 +134,14 @@ const SwirlImageGridItem = class {
|
|
|
134
134
|
"image-grid-item--loaded": this.loaded,
|
|
135
135
|
"image-grid-item--gif-paused": this.gifPaused,
|
|
136
136
|
});
|
|
137
|
-
return (index.h(index.Host, { key: '
|
|
137
|
+
return (index.h(index.Host, { key: 'c595a810db82a96ed51868460646d1d3d01d28a6', "data-sibling-count": siblingCount, role: "listitem" }, index.h(Tag, { key: 'bac59ad6a06114cab19ab63ccecebdf89143abd0', class: className, type: this.interactive ? "button" : undefined }, index.h("div", { key: '050d0ed9ef48a86296e5fcf6a4c6dea9fd4a292b', class: "image-grid-item__background", style: {
|
|
138
138
|
backgroundImage: showImage
|
|
139
139
|
? `url(${this.computedSrc})`
|
|
140
140
|
: undefined,
|
|
141
|
-
} }), showImage ? (index.h("img", { alt: this.alt, class: "image-grid-item__image", loading: this.loading !== "intersecting" ? this.loading : undefined, ref: this.onImageElementUpdate, src: this.computedSrc })) : (index.h("div", { class: "image-grid-item__loading-placeholder" }, index.h("swirl-visually-hidden", null, this.alt))), this.showGifControls && (index.h("swirl-button", { key: '
|
|
141
|
+
} }), showImage ? (index.h("img", { alt: this.alt, class: "image-grid-item__image", loading: this.loading !== "intersecting" ? this.loading : undefined, ref: this.onImageElementUpdate, src: this.computedSrc })) : (index.h("div", { class: "image-grid-item__loading-placeholder" }, index.h("swirl-visually-hidden", null, this.alt))), this.showGifControls && (index.h("swirl-button", { key: '3650d5d43f155faba65beac12431cf658d60af01', class: "image-grid-item__gif-control-button", label: this.gifPaused ? this.gifPlayLabel : this.gifPauseLabel, icon: "<swirl-icon-gif></swirl-icon-gif>", variant: "on-image", pill: true, hideLabel: true, swirlAriaLabel: this.gifPaused ? this.gifPlayLabel : this.gifPauseLabel, onClick: this.handleControlClick })), this.loaded &&
|
|
142
142
|
!this.error &&
|
|
143
143
|
this.icon &&
|
|
144
|
-
!Boolean(this.overlay) && (index.h("div", { key: '
|
|
144
|
+
!Boolean(this.overlay) && (index.h("div", { key: '29ef9266c4380482f411b02e1c15b2d10273cfec', class: "image-grid-item__icon", innerHTML: this.icon })), this.overlay && (index.h("div", { key: '88d1a20e899ea69ed70926d87986e89ed33f8b90', class: "image-grid-item__overlay" }, this.overlay)), !this.loaded && (index.h("swirl-skeleton-box", { key: 'ae8b6d14556f8df8350d937c943ff915445ab92c', class: "image-grid-item__skeleton", height: "100%", width: "100%", borderRadius: "none" })), this.loaded && this.error && (index.h("div", { key: '12a12b173baa67f099cca696733429d8f4cf8a7c', class: "image-grid-item__error" }, index.h("swirl-icon-error", { key: 'ff1543844f7c4dae09e03880e9517fb9fee96fd5', color: "critical" }))))));
|
|
145
145
|
}
|
|
146
146
|
get el() { return index.getElement(this); }
|
|
147
147
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const SwirlImageGrid = class {
|
|
|
56
56
|
? `var(--s-border-radius-${this.borderRadius})`
|
|
57
57
|
: this.borderRadius,
|
|
58
58
|
};
|
|
59
|
-
return (index.h(index.Host, { key: '
|
|
59
|
+
return (index.h(index.Host, { key: '90bb7f66862a60ec727b5ebf4e7a28395e12de99' }, index.h("div", { key: '855f747b8ba3c678c6d4bf5c2a8dda87e51477d6', "aria-label": this.label, class: className, role: "list", style: styles }, index.h("slot", { key: '56a605da09875d68e2850ff528b7ddae2a121c96', onSlotchange: this.updateItems }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return index.getElement(this); }
|
|
62
62
|
};
|
|
@@ -13,7 +13,7 @@ const SwirlInlineNotification = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const className = index$1.classnames("inline-notification", `inline-notification--intent-${this.intent}`);
|
|
16
|
-
return (index.h(index.Host, { key: '
|
|
16
|
+
return (index.h(index.Host, { key: '624cfdfeccba7a8ec8cd92460cc63c0fbfd7f159' }, index.h("div", { key: '06c8a1bcb92582ccaf5944dddf470f3120afcfe4', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, index.h("span", { key: '7bc87d932d0944358b528a76d74b0c4571e48f80', "aria-hidden": "true", class: "inline-notification__icon" }, this.intent === "critical" && (index.h("swirl-icon-error", { key: '209a44ffd66238a6602bea37373befa3d4b9dab1', size: 20 })), this.intent === "success" && (index.h("swirl-icon-check-circle", { key: 'e28da386c1ca7f215a4e36414bbcac46200b3b61', size: 20 })), this.intent === "warning" && (index.h("swirl-icon-warning", { key: '795f293517b43af8273edf5284c08190bb66314e', size: 20 })), this.intent === "info" && (index.h("swirl-icon-info", { key: '42b3904303fa8f79fdf1e62693d1a5ce69376f20', size: 20 }))), index.h("span", { key: 'e381a9d0642ea7f5c4c56d32502431bf5484d68f', class: "inline-notification__content", id: "content" }, (this.hideHeading && (index.h("swirl-visually-hidden", { key: '767e9dae65ed20f7ce648746682d284bec674f96' }, this.heading))) || (index.h("swirl-text", { key: '0e515c99486185484514c3e40aaf24095d80d857', class: "inline-notification__heading", size: "sm", weight: "semibold" }, this.heading)), index.h("slot", { key: '13f4bdd58f22067952d103688bbb8bc322b9392f' })))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
SwirlInlineNotification.style = swirlInlineNotificationCss;
|
|
@@ -41,7 +41,7 @@ const SwirlInlineStatus = class {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const className = index$1.classnames("inline-status", `inline-status--intent-${this.intent}`, `inline-status--size-${this.size}`);
|
|
44
|
-
return (index.h(index.Host, { key: '
|
|
44
|
+
return (index.h(index.Host, { key: '6cb0e9b2fe64481f205cc6a37ea6fc4ad2dc7869' }, index.h("span", { key: 'de78170d84c278a5a4a12fd72b925b5e9893e986', class: className, part: "inline-status" }, this.icon && (index.h("span", { key: '0d6a8b993a0bb58b988b20cea18069ba39ca7c3b', class: "inline-status__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), index.h("span", { key: 'd22a3fae40b2a15c8d95d8a957371fa170dbaaf0', class: "inline-status__message" }, this.message))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SwirlInlineStatus.style = swirlInlineStatusCss;
|
|
@@ -12,7 +12,7 @@ const SwirlLink = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = index$1.classnames("link", `link--color-${this.color}`);
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '040ddaf3ab3c1c05fec6a4a39ffc4057c0014c0f' }, index.h("a", { key: 'f5b666c7d7e22871d44b1f30d67dd6bcb1933acf', class: className, href: this.href, part: "link", target: this.target }, this.label)));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
SwirlLink.style = swirlLinkCss;
|
|
@@ -293,7 +293,7 @@ const SwirlMenu = class {
|
|
|
293
293
|
"menu--mobile": this.mobile,
|
|
294
294
|
"menu--root": isTopLevelMenu,
|
|
295
295
|
});
|
|
296
|
-
return (index.h(index.Host, { key: '
|
|
296
|
+
return (index.h(index.Host, { key: 'e82f0ed6771d2a4e0a57d4d86ccdc12dcd55a140' }, index.h("div", { key: '41a2a9a44e01be2abae3215db54380c1217c14a4', class: className }, this.mobile && isTopLevelMenu && (index.h("div", { key: 'b185a2e8fcd3bdcf927d944aa256fde86824e660', class: "menu__mobile-header" }, this.activeLevel === 0 && (index.h("swirl-button", { key: '5343d6fba63e3a0c31f12a58ac95d7e3c9d5c224', hideLabel: true, icon: "<swirl-icon-close></swirl-icon-close>", label: this.mobileCloseMenuButtonLabel, onClick: this.onClose, variant: "plain" })), this.activeLevel > 0 && (index.h("swirl-button", { key: '24b268a706c41ccf67f42e286564a6d8978f37ea', hideLabel: true, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", label: this.mobileBackButtonLabel, onClick: this.onGoBack, variant: "plain" })), index.h("span", { key: '24a7266f29ff496e3976979d8df62bdbeb935057', class: "menu__title", id: "menu-title" }, index.h("swirl-heading", { key: '0e16bf442dd66fb50f40f28e168919d4f97d5e3c', align: "center", as: "span", level: 4, text: this.label, truncate: true })), index.h("swirl-button", { key: 'c015629a25243719f85a32297774eef39febc19f', class: "menu__done-button", intent: "primary", label: this.mobileDoneButtonLabel, onClick: this.onDone }))), index.h("div", { key: '39f5b638d7097c9d8418e2319555c8266a44473e', "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
|
|
297
297
|
? {
|
|
298
298
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
299
299
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
@@ -304,7 +304,7 @@ const SwirlMenu = class {
|
|
|
304
304
|
? `calc(-100% * ${this.activeLevel})`
|
|
305
305
|
: "100%",
|
|
306
306
|
}
|
|
307
|
-
: undefined }, index.h("slot", { key: '
|
|
307
|
+
: undefined }, index.h("slot", { key: 'e9cd98c6be964be86a6b0e631e0d80514276a08e' })))));
|
|
308
308
|
}
|
|
309
309
|
get el() { return index.getElement(this); }
|
|
310
310
|
static get watchers() { return {
|
|
@@ -805,29 +805,29 @@ const SwirlModal = class {
|
|
|
805
805
|
"modal--sidebar-scrolled-down": this.sidebarScrolledDown,
|
|
806
806
|
"modal--sidebar-scrollable": this.sidebarScrollable,
|
|
807
807
|
});
|
|
808
|
-
return (index.h(index.Host, { key: '
|
|
808
|
+
return (index.h(index.Host, { key: '81656f63099103b2eab478e31a7bb327a90f023d' }, index.h("section", { key: '734cb0520fac7eae91ac2a065ed951bcc7641b95', "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: className, onKeyDown: this.onKeyDown, role: "dialog", ref: (el) => (this.modalEl = el) }, index.h("div", { key: '4e21e2825c54e88125fb18d36d1240db0e875378', class: "modal__backdrop", onClick: this.onBackdropClick }), index.h("div", { key: '5ffc5fd8b4054829940f6e84dd73b627f27ce3f6', class: "modal__body", style: !this.isFullscreen
|
|
809
809
|
? {
|
|
810
810
|
"--swirl-modal-max-height": this.maxHeight,
|
|
811
811
|
"--swirl-modal-height": this.height,
|
|
812
812
|
minHeight: this.minHeight,
|
|
813
813
|
maxWidth: this.maxWidth,
|
|
814
814
|
}
|
|
815
|
-
: {} }, index.h("aside", { key: '
|
|
815
|
+
: {} }, index.h("aside", { key: 'f05fbc18212ab6f3615c1d7f195c8dedb841e5a8', class: "modal__sidebar" }, this.sidebarLabel && (index.h("header", { key: '8fb95b6697c874fd1f89353213cbedfe8327a42c', class: index$1.classnames("modal__sidebar-header", {
|
|
816
816
|
"modal__sidebar-header--has-close-button": this.hasSidebarCloseButton,
|
|
817
|
-
}) }, this.hasSidebarCloseButton && (index.h("swirl-button", { key: '
|
|
817
|
+
}) }, this.hasSidebarCloseButton && (index.h("swirl-button", { key: 'b661986e19bac458d2f143395ac1173740d865d5', hideLabel: true, icon: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.sidebarCloseButtonLabel, onClick: this.onSidebarCloseButtonClick })), index.h("swirl-heading", { key: 'b2c5b138e3d8116a0976bfbc0005403799f00b0e', as: "h3", class: "modal__sidebar-heading", level: 5, text: this.sidebarLabel }))), index.h("div", { key: 'b612f2f14d02ef4486146ceef7a3bb6a4dc689a4', class: "modal__sidebar-content", onScroll: this.determineSidebarScrollStatus, ref: (el) => (this.sidebarScrollContainer = el) }, index.h("slot", { key: '787792d9dc98aa65f88f29a5aa59c749c23306d0', name: "sidebar-content" })), index.h("div", { key: 'f7389ce9b7006b7b34bb00858687e059e19ae41b', class: "modal__sidebar-footer" }, index.h("slot", { key: 'b0aea59e35a896224d1c0ecc61b61891bf5981bd', name: "sidebar-footer" }))), index.h("div", { key: 'd7ce5f41a5754bfa92e56c921410ebdcafe7fb81', class: "modal__main-content" }, index.h("header", { key: '9af862ef966d8d8fcfa5d58dd13725b03a04e870', class: "modal__custom-header" }, index.h("slot", { key: '72a61d8f796bfc007fe83ea63e92253c85291371', name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && (index.h("header", { key: '2ebd0f60688c0be985af35eb34b7c2698a38a7c8', class: "modal__header" }, index.h("div", { key: '44bb801af273333c02c99dd790a22c519d8bfbf3', class: "modal__header-bar" }, !this.hideCloseButton && (index.h("swirl-button", { key: '4ed8491f3824c1275a45e9bd283d11a38d2fa93d', class: "modal__close-button", hideLabel: true, icon: this.variant === "default"
|
|
818
818
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
819
|
-
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), this.showFullscreenButton && (index.h("swirl-button", { key: '
|
|
819
|
+
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), this.showFullscreenButton && (index.h("swirl-button", { key: '62cffe0d3620fc0d762fb0b1a2baaa6dc4cc6d4c', class: "modal__fullscreen-button", hideLabel: true, icon: this.isFullscreen
|
|
820
820
|
? "<swirl-icon-close-fullscreen></swirl-icon-close-fullscreen>"
|
|
821
821
|
: "<swirl-icon-open-in-full></swirl-icon-open-in-full>", label: this.isFullscreen
|
|
822
822
|
? this.fullscreenDisableButtonLabel
|
|
823
|
-
: this.fullscreenEnableButtonLabel, onClick: this.onFullscreenButtonClick })), !this.hideLabel && (index.h("swirl-heading", { key: '
|
|
823
|
+
: this.fullscreenEnableButtonLabel, onClick: this.onFullscreenButtonClick })), !this.hideLabel && (index.h("swirl-heading", { key: '103a71e407a9e9fa42cd81023e5d681a528ed6ae', as: "h2", class: "modal__heading", level: 3, text: this.label }))))), index.h("div", { key: 'aecc7b2c9c3cdd460d5d13725e00c95e69558d97', class: "modal__content-container", style: {
|
|
824
824
|
gap: this.contentGap
|
|
825
825
|
? `var(--s-space-${this.contentGap})`
|
|
826
826
|
: undefined,
|
|
827
|
-
} }, index.h("div", { key: '
|
|
827
|
+
} }, index.h("div", { key: '9cb557fc46eb643cd306effeef479c66af516b1a', class: "modal__primary-content", style: {
|
|
828
828
|
maxWidth: this.primaryContentMaxWidth,
|
|
829
829
|
flex: this.primaryContentFlex,
|
|
830
|
-
} }, index.h("div", { key: '
|
|
830
|
+
} }, index.h("div", { key: '8e36a38f7dca97f2761e3f434693f27189ab101a', class: "modal__header-tools" }, index.h("slot", { key: '519698f12f0707f33fa2d99a1b04a93a144a87cb', name: "header-tools" })), index.h("div", { key: '8194daa3a61ab69ffa2c00b4c14436598606ecc2', class: "modal__content", onScroll: this.determineMainScrollStatus, ref: (el) => (this.scrollContainer = el) }, index.h("slot", { key: 'ca6d9be16bea0bd484207ec0da244fb2d984b614' }))), index.h("div", { key: '4d7ab36e6a1cef3c6ed7de20b7771f1495f49b29', class: "modal__secondary-content", style: {
|
|
831
831
|
maxWidth: this.secondaryContentMaxWidth,
|
|
832
832
|
flex: this.secondaryContentFlex,
|
|
833
833
|
padding: Boolean(this.secondaryContentPadding)
|
|
@@ -845,7 +845,7 @@ const SwirlModal = class {
|
|
|
845
845
|
paddingInlineStart: Boolean(this.secondaryContentPaddingInlineStart)
|
|
846
846
|
? `var(--s-space-${this.secondaryContentPaddingInlineStart})`
|
|
847
847
|
: undefined,
|
|
848
|
-
} }, index.h("slot", { key: '
|
|
848
|
+
} }, index.h("slot", { key: '3a2d68016feb32443e79a90497d7097b9d9c6d84', name: "secondary-content" }))), index.h("div", { key: '43a297fd479922092f42f6c4f62bee40036b3eed', class: "modal__custom-footer" }, index.h("slot", { key: '186fa7d28f91f3df53d3c3816990993249d3543e', name: "custom-footer" })), showControls && (index.h("footer", { key: 'cdcafa45f76c7f94cd22117561814df74bb37c3f', class: "modal__controls" }, index.h("swirl-button-group", { key: '6a45248f5d2c2057f6edfbb4e347898a0c2e28e2', wrap: true }, this.secondaryActionLabel && (index.h("swirl-button", { key: '33647b6e473c8e331b58fc0b89d00e4f88e5794b', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (index.h("swirl-button", { key: 'd92130919c1a55b5c238c8c4ce08e833981d0238', intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))))))));
|
|
849
849
|
}
|
|
850
850
|
get el() { return index.getElement(this); }
|
|
851
851
|
};
|
|
@@ -502,9 +502,9 @@ const SwirlOptionListItem = class {
|
|
|
502
502
|
"option-list-item--indeterminate": this.indeterminate && !this.selected,
|
|
503
503
|
"option-list-item--show-avatar": showAvatar,
|
|
504
504
|
});
|
|
505
|
-
return (index.h(index.Host, { key: '
|
|
505
|
+
return (index.h(index.Host, { key: 'f8c00ccd0edb0d188d0f65e621a3b3bd0f85ecf4' }, index.h("div", { key: 'b2cee25c44a70638fe775d0ae34386aa1bdf57c2', "aria-checked": this.swirlAriaRole === "menuitemradio" ? ariaSelected : undefined, "aria-describedby": Boolean(this.description)
|
|
506
506
|
? `option-list-item-${this.elementId}-description`
|
|
507
|
-
: 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 && (index.h("span", { key: '
|
|
507
|
+
: 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 && (index.h("span", { key: 'fc899506beea9dcb1898b196a21e557aa45b1b43', class: "option-list-item__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) }, showIconBadge && (index.h("span", { key: '52d35bd66d1b51121720dd338ca9db2c494789d2', class: "option-list-item__icon-badge", innerHTML: this.iconBadge })))), showCheckbox && (index.h("span", { key: 'cab616b7087d2d16b4009495e871d48de58e11ea', class: "option-list-item__checkbox" }, index.h("span", { key: '3dea1f0a44b4d46467ecbd8369c2b6aaed3123cc', class: "option-list-item__checkbox-box" }, this.selected && (index.h("swirl-icon-check-strong", { key: '9b678ac705e7320d73748713068cfee00c3f47eb', class: "option-list-item__checkbox-icon", size: 16 })), !this.selected && this.indeterminate && (index.h("span", { key: '76be874ba26f15a52f46d850861de625a5a7dec0', class: "option-list-item__checkbox-indeterminate-icon" }))))), index.h("span", { key: 'cff0e637854a7ebf4b21ee72646099d770f737c4', class: "option-list-item__avatar" }, index.h("slot", { key: 'aa0246a84d995d205ca6dccadace99a1225cc5cf', name: "avatar" })), index.h("span", { key: '6d909506dce28d3265ef93e0ee8050664eeb7e42', class: "option-list-item__label-container" }, index.h("span", { key: '68470d33d2055d239e86fd07469fa59e19333965', class: "option-list-item__label", id: `option-list-item-${this.elementId}-label`, part: "option-list-item__label" }, this.label), this.description && (index.h("span", { key: '412f387f6e43974077d9b6b78b3c57fa5734f7b7', class: "option-list-item__description", id: `option-list-item-${this.elementId}-description` }, this.description))), showSelectionIcon && (index.h("span", { key: 'e7d77c2368b9e4d44da76612233dd627dbf91007', class: "option-list-item__selection-icon" }, index.h("swirl-icon-check-small", { key: '1488cac89c93b82ea6160de2181e34eff34f561b', size: this.iconSize })))), this.allowDrag && (index.h("button", { key: '97bb0b22816c33b08a34a4c879cfbb6c1115239e', "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" }, index.h("swirl-icon-drag-handle", { key: 'fb047094366a625ef1ba88b69bcde10411e1023a', size: this.iconSize })))));
|
|
508
508
|
}
|
|
509
509
|
get el() { return index.getElement(this); }
|
|
510
510
|
};
|
|
@@ -85,7 +85,7 @@ const SwirlPagination = class {
|
|
|
85
85
|
const showDropDown = this.variant === "advanced";
|
|
86
86
|
const ariaPageLabel = `${this.page.toLocaleString()} ${this.pageLabel} ${this.pages.toLocaleString()}`;
|
|
87
87
|
const className = index$1.classnames("pagination", `pagination--variant-${this.variant}`);
|
|
88
|
-
return (index.h(index.Host, { key: '
|
|
88
|
+
return (index.h(index.Host, { key: '75d9096135533702dbfc54211e7f6d824b49b056' }, index.h("nav", { key: '6ed3439b88dc08654d9d505eb514703e15f30d6b', "aria-label": this.label, class: className }, index.h("ul", { key: 'e12a16e7d5d2fc9d5a9bb26a0b239a2364345862', class: "pagination__list", part: "pagination__list" }, this.showPageSizeSelect && (index.h("li", { key: '4b9d8557eb9beb7bcc3f0c2ab61aca4b8d1f9f1e', class: "pagination__list-item" }, index.h("label", { key: 'c6e9cbbbbe0c44d0666200df39bd49d12ca62ca6', class: "pagination__page-size-selection" }, index.h("swirl-text", { key: 'fc20a423a590d4a627637229a8d8d6e6745ea83e', whiteSpace: "inherit" }, this.pageSizeSelectLabel), index.h("swirl-stack", { key: 'f7afb973c2570b8202ab75f6315ccd95f0f502ed', align: "center", class: "pagination__page-size-select-container", orientation: "horizontal" }, index.h("select", { key: '02b4a439d5de9fb2e3a2edf5e690bbe0359416c4', class: "pagination__page-size-select", onChange: this.onPageSizeSelect }, this.pageSizeOptions.map((pageSizeOption) => (index.h("option", { key: pageSizeOption, selected: pageSizeOption === this.pageSize, value: pageSizeOption }, pageSizeOption)))), index.h("swirl-icon-expand-more", { key: '922a6025d045d5f4ea7b286b44ada281ebd647df', "aria-hidden": "true", class: "pagination__page-size-select-icon", size: 16 }))))), index.h("li", { key: '6845611f8081c54f31ab65dc286a9abd79e187b2', class: "pagination__list-item" }, index.h("swirl-button", { key: 'e2faa13bbdbd1066e7d5e6019d61465f25491243', 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 })), index.h("li", { key: '1603b2208c9b8b2b92d85815d7e0ff84cabc08cb', class: "pagination__list-item" }, index.h("swirl-button", { key: '13f3c35e8c47918e6c0efd420aa3ce1820783f84', 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 ? (index.h("li", { class: "pagination__list-item pagination__page-label" }, index.h("span", null, showDropDown ? (index.h("span", { "aria-current": "page", class: "pagination__advanced-label" }, index.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 }), index.h("span", { "aria-hidden": "true" }, this.pageLabel, " ", this.pages.toLocaleString()))) : (index.h("span", { "aria-current": "page" }, ariaPageLabel))))) : (index.h("li", { class: "pagination__list-item" }, index.h("swirl-visually-hidden", null, index.h("span", { "aria-current": "page" }, ariaPageLabel)))), index.h("li", { key: '7bc72b6da7144b8f822ff04ea2a8f0ef89d3202d', class: "pagination__list-item" }, index.h("swirl-button", { key: '7f2b20c2b9282a55223aaabda2202822bbbec5b4', 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 })), index.h("li", { key: 'd503b9a0f1dfa111d02f05e16f65b3c85559e20f', class: "pagination__list-item" }, index.h("swirl-button", { key: '4cb99870221d41f1d310af7264fdcefd9513aded', 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 }))))));
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
SwirlPagination.style = swirlPaginationCss;
|
|
@@ -294,14 +294,14 @@ const SwirlPopover = class {
|
|
|
294
294
|
"popover--transparent": this.transparent,
|
|
295
295
|
"popover--padded": this.padded,
|
|
296
296
|
});
|
|
297
|
-
return (index.h(index.Host, { key: '
|
|
297
|
+
return (index.h(index.Host, { key: 'cf85cdb6e5d6bd0948b4c80ebc611f5502f37d25', style: { display: this.active ? "inline-flex" : "none" } }, index.h("div", { key: '154ff782097a8e1d90f2a61faaca14bb4871ace5', class: className, onKeyDown: this.onKeydown }, index.h("div", { key: '235a9fca7951e844c8f0a32a02b7235d919574a5', "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: {
|
|
298
298
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
299
299
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
300
|
-
}, tabindex: "-1" }, index.h("span", { key: '
|
|
300
|
+
}, tabindex: "-1" }, index.h("span", { key: 'd6a84c0e650dea3e490271d7de11eead532602eb', class: "popover__handle" }), index.h("div", { key: '1213a63d107de526f5a91b0a116935f61bba0994', class: "popover__scroll-container", part: "popover__scroll-container", ref: (el) => (this.scrollContainer = el), style: {
|
|
301
301
|
maxHeight: !mobile && Boolean(this.maxHeight)
|
|
302
302
|
? this.maxHeight
|
|
303
303
|
: undefined,
|
|
304
|
-
} }, index.h("slot", { key: '
|
|
304
|
+
} }, index.h("slot", { key: 'c031de0a703d9dff7346cd8cbe40f825c8665f13' }))), this.active && (index.h("div", { key: 'd591f05e7183721ec08188507d8c0a5bb61947dc', class: "popover__backdrop", onClick: this.onCloseButtonClick })))));
|
|
305
305
|
}
|
|
306
306
|
get el() { return index.getElement(this); }
|
|
307
307
|
};
|
|
@@ -18,7 +18,7 @@ const SwirlProgressIndicator = class {
|
|
|
18
18
|
const radius = this.size === "m" ? 20 : 10;
|
|
19
19
|
const circumference = Math.round(radius * 2 * Math.PI);
|
|
20
20
|
const dashOffset = Math.round(circumference * ((100 - this.value) / 100));
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'd76050eb18303a381648fcc81e0d697384a4a8be', class: this.variant }, this.variant === "bar" && (index.h("progress", { key: '1dafebe862bbb05b8c1114bd86d5f02d6fdacbff', "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: className, max: 100, value: this.value })), this.variant === "circle" && (index.h("span", { key: 'd6d2fe1fb8172e0a6421680c281a2c12db288818', role: "progressbar", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: className }, index.h("svg", { key: 'ad431537d9e9ec4c3ba97f5f36cd202afba690cc', class: "progress-indicator__circle", focusable: "false", viewBox: `0 0 ${(radius + strokeWidth) * 2} ${(radius + strokeWidth) * 2}` }, index.h("circle", { key: '0b0eee62eefde5c43e5b9ba040a8cd62f1515262', class: "progress-indicator__circle-background", cx: radius + strokeWidth, cy: radius + strokeWidth, r: radius, fill: "none", "stroke-width": strokeWidth }), index.h("circle", { key: '406fb2f982f14f7f3d447c4fb19c08c1a8aedb53', class: "progress-indicator__circle-value", cx: radius + strokeWidth, cy: radius + strokeWidth, r: radius, fill: "none", "stroke-width": strokeWidth, "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
SwirlProgressIndicator.style = swirlProgressIndicatorCss;
|
|
@@ -37,7 +37,7 @@ const SwirlRadio = class {
|
|
|
37
37
|
"radio--invalid": this.invalid,
|
|
38
38
|
"radio--unchecked": unchecked,
|
|
39
39
|
});
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: '86182d620dee4e0e47db4968e88f8f0cae8d0868', style: { width: this.variant === "card" ? "100%" : undefined } }, index.h("label", { key: '16e54bcaef3b8167996ba6122bfe2d8a6eae06c7', class: className, htmlFor: this.inputId }, index.h("span", { key: '64a0ca1e3e2d3e7ebace9fc86d452968b19bda03', class: "radio__control" }, index.h("swirl-visually-hidden", { key: 'f74d2bc407cb611a44d23abe55472d605a30b897' }, index.h("input", { key: 'e3a2692e01bb4de45922171295ad6fa693a59874', "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 })), index.h("span", { key: 'fadca0e725c39f99a3ede3aebf8fead3aedb52da', "aria-hidden": "true", class: "radio__box" })), index.h("span", { key: '58b41ca22ac6afd7fb6974741bd4a16b875d8fe8', class: "radio__label-container" }, this.label && (index.h("span", { key: '9a4fb8ab685bdfcdaadd390017744fd5d6c1b1c2', class: "radio__label" }, this.label, this.tooltip && (index.h("swirl-tooltip", { key: 'f64e9d4749746971c56d46339aed2dd66113499a', content: this.tooltip, position: "top" }, index.h("swirl-icon-help", { key: '75ec51689903e4d337672fccb6a529f5be8350ca', color: "default", size: 20, tabIndex: 0 }))))), this.description && (index.h("span", { key: '22c0edac96ff31475033dbb56dee80a95a0843b5', class: "radio__description", innerHTML: this.description }))))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
SwirlRadio.style = swirlRadioCss;
|
|
@@ -70,7 +70,7 @@ const SwirlSearch = class {
|
|
|
70
70
|
const className = index$1.classnames("search", `search--variant-${this.variant}`, {
|
|
71
71
|
"search--disabled": this.disabled,
|
|
72
72
|
});
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: 'e81efc90b3d6a499688011221cc2a15c6f792dc2' }, index.h("span", { key: 'b7790e867c09bf68ffe59ec8d28f3880d4e8545a', class: className, ref: (el) => (this.iconEl = el) }, index.h("swirl-icon-search", { key: 'dbda6b7c55171ee6c1d70d2eb12d42ed0158f10c', "aria-hidden": "true", class: "search__icon" }), index.h("input", { key: '4cebbf2d5e9543728453055bfed8a6d94f6bd935', "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 && this.clearable && (index.h("button", { key: 'a471b4e873ed08cf152c9b60fef8f36df2bb6b65', "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.handleClear, type: "button" }, index.h("swirl-icon-cancel", { key: 'c418cfeddcadecbb411e72e5a66dd00ca3a46679' }))))));
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
SwirlSearch.style = swirlSearchCss;
|
|
@@ -37,7 +37,7 @@ const SwirlSeparator = class {
|
|
|
37
37
|
const attributes = this.semantics === "separator"
|
|
38
38
|
? { "aria-orientation": this.orientation }
|
|
39
39
|
: {};
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: '23acb3a29638b92737838e75a54d7616e6c9150e', ...attributes, class: className, role: this.semantics, style: styles }, index.h("span", { key: '3ebf80f47fb36438403551f560db91ecf7d7e559', class: "separator__line" }), this.label && (index.h(index.Fragment, { key: '84ac7960ba714ab27559751c11bd7c4b56ac3176' }, index.h("span", { key: '6f8dc3ad3bde938789e28ad05c67da657262a4d1', class: "separator__label" }, this.label), index.h("span", { key: '63ddb77ea887a890bb1731d12a939783b592e21a', class: "separator__line" })))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
SwirlSeparator.style = swirlSeparatorCss;
|
|
@@ -23,7 +23,7 @@ const SwirlStack = class {
|
|
|
23
23
|
height: this.height,
|
|
24
24
|
};
|
|
25
25
|
const className = index$1.classnames("stack", `stack--align-${this.align}`, `stack--justify-${this.justify}`, `stack--orientation-${this.orientation}`, { "stack--wrap": this.wrap });
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: '9361133b37cb5c677dbf6dd49a39eec30c762e7a', style: { height: this.height } }, index.h(Tag, { key: '0fa5eaca5ac99e482f50793f170e6349e1854846', class: className, role: this.swirlAriaRole, style: styles }, index.h("slot", { key: '66e0cc4865421fbad50be48718d045a742fecedf' }))));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
SwirlStack.style = swirlStackCss;
|