@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
|
@@ -63,7 +63,7 @@ const SwirlTabBar = class {
|
|
|
63
63
|
? `var(--s-space-${this.paddingBlockStart})`
|
|
64
64
|
: undefined,
|
|
65
65
|
};
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '281aeb39ec1dad585e2d528867b95eae025954d4' }, index.h("div", { key: '0563370c98c70a77e0fb2b763fa1314e71f629e9', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
|
|
67
67
|
const className = index$1.classnames("tab-bar__tab", {
|
|
68
68
|
"tab-bar__tab--active": tab.active,
|
|
69
69
|
"tab-bar__tab--variant-pill": this.variant === "pill",
|
|
@@ -12,7 +12,7 @@ const SwirlTab = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = index$1.classnames("tab", { "tab--active": this.active });
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '4dcaa666ac2c76ef69a3db108fec8d9261f0c2c9', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1, class: className, style: { padding: `var(--s-space-${this.padding})` } }, index.h("slot", { key: 'd4be897cca0b201d4b72b400f6a7433ccf86921c' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
SwirlTab.style = swirlTabCss;
|
|
@@ -28,7 +28,7 @@ const SwirlTableColumn = class {
|
|
|
28
28
|
"table-column--sunken": variant === "sunken",
|
|
29
29
|
"table-column--raised": variant === "raised",
|
|
30
30
|
});
|
|
31
|
-
return (index.h(index.Host, { key: '
|
|
31
|
+
return (index.h(index.Host, { key: '56a69546db8dbd5233fff55c16a7f56c27c6322d', "aria-sort": this.sort, class: className, role: "columnheader", style: styles }, index.h("span", { key: '53af8c45f85e1ab805f95c77022483850ca4dfeb' }, index.h("slot", { key: '8817e0f568482f3b5c8ce027149a082c25097a70' })), this.sortable && (index.h("span", { key: '100e907905c4df26c1eec5300d8cbbe6ddf5e888', class: "table-column__sort-indicator" }, this.sort === "ascending" && (index.h("swirl-icon-arrow-upward", { key: '3c0b6ef134b06d4add186e5c761759aa64c9ea8d', "aria-hidden": "true", size: 20 })), this.sort === "descending" && (index.h("swirl-icon-arrow-downward", { key: '441cacfb5b3c1e9f58f2820f3aa2d17332a9c6e2', "aria-hidden": "true", size: 20 })), !Boolean(this.sort) && " "))));
|
|
32
32
|
}
|
|
33
33
|
get el() { return index.getElement(this); }
|
|
34
34
|
};
|
|
@@ -580,7 +580,7 @@ const SwirlTable = class {
|
|
|
580
580
|
"table--show-empty-state": this.empty && !this.loading,
|
|
581
581
|
"table--keyboard-move": this.movingViaKeyboard,
|
|
582
582
|
});
|
|
583
|
-
return (index$1.h(index$1.Host, { key: '
|
|
583
|
+
return (index$1.h(index$1.Host, { key: '58cb39e970718c947af8fb05e49327f69ce52406' }, index$1.h("div", { key: 'ccc4d4c35f16a0250bca6473848ec928a20d69f1', class: className }, this.enableDragDrop && (index$1.h("swirl-visually-hidden", { key: '984ee69c68a1f7ede7c68d11e08ab87677c75d8c' }, index$1.h("span", { key: '7a27389724c8c0d877c79af23589b637e44d5669', "aria-live": "assertive" }, this.liveRegionText))), index$1.h("div", { key: 'd17f542eac55c6da592fc2ab12d838e30ef318e6', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, index$1.h("div", { key: 'dd983c262ce853828b3040c9f97c510c769662e3', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (index$1.h("swirl-visually-hidden", { key: '031594755193d7ca2e0f8624afd79ec38ac0dec7' }, index$1.h("div", { key: '7b76523681ef767eb7a5805cc45da2259d6b9ce5', id: "caption" }, this.caption))), index$1.h("div", { key: 'ac6f9ffa3703cbadb12b7384e8f897c5af9d0bc1', role: "rowgroup" }, index$1.h("div", { key: '5263be7e317340491ee5890a1a2e5d25fcba06d5', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, index$1.h("slot", { key: '3171ffdd4027b3f32d2d2b110f55209c8bdc5e7e', name: "columns" }))), index$1.h("div", { key: '32c054e3e9f63439efb8f9cf9633f5b628a789e0', class: "table__body", ref: (el) => (this.bodyEl = el) }, index$1.h("slot", { key: '2f5b748c60f91dbe4df98d0f18b367f8292100d0', name: "rows" }), index$1.h("div", { key: 'b51e7e34b4d4e1c4044f9480a0a115393064d221', class: "table__empty-row", role: "row" }, index$1.h("div", { key: '1cb8061bef8a30965ea023b31dd0fcfac0276f26', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, index$1.h("slot", { key: 'e512da95e312bb19dca9b36e0092a0001810eda7', name: "empty" }), !hasEmptyStateSlotAssignment && (index$1.h("swirl-text", { key: 'ab17ca80ff8a609d5eaa4addee7d3358791bc11d', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
|
|
584
584
|
}
|
|
585
585
|
get el() { return index$1.getElement(this); }
|
|
586
586
|
static get watchers() { return {
|
|
@@ -166,7 +166,7 @@ const SwirlTextInput = class {
|
|
|
166
166
|
"text-input--inline": this.inline,
|
|
167
167
|
"text-input--show-password": this.type === "password" && this.showPassword,
|
|
168
168
|
});
|
|
169
|
-
return (index.h(index.Host, { key: '
|
|
169
|
+
return (index.h(index.Host, { key: 'f822fb9a0003530bed7e53b2a6395fa0ead91d6c' }, index.h("div", { key: 'b8a048e87b0a8366b0243a8da2f80fd3571fbd6b', class: className }, this.prefixLabel && (index.h("span", { key: '20636fdec405901ebd416fce525a9c89b1ed9dbe', class: "text-input__prefix" }, this.prefixLabel)), index.h(Tag, { key: '8b192a2783028e0eb1fb5703026daccef7170808', "aria-autocomplete": this.swirlAriaAutocomplete, "aria-controls": this.swirlAriaControls, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": this.swirlAriaExpanded, "aria-invalid": ariaInvalid, autoComplete: this.autoComplete, autoFocus: this.autoFocus, class: "text-input__input", disabled: this.disabled, inputMode: this.mode, maxLength: this.maxLength, max: this.type === "number" ? this.max : undefined, min: this.type === "number" ? this.min : undefined, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyPress: this.onKeyPress, placeholder: !Boolean(this.suffixLabel) ? this.placeholder : undefined, ref: (el) => (this.inputEl = el), required: this.required, role: this.swirlRole, name: this.inputName, rows: this.rows > 1 ? this.rows : this.autoGrow ? 1 : undefined, spellcheck: this.spellCheck, step: this.type === "number" ? this.step : undefined, type: type, value: this.value, readonly: this.readonly }, this.rows > 1 && this.value), this.suffixLabel && (index.h("span", { key: '7b05575e9fc5f5f362f9aa23784177f16eb92660', class: "text-input__suffix" }, this.suffixLabel)), showClearButton && (index.h("button", { key: '860576e47f0e34aed31a0c53a6d7d8fa4e57557b', "aria-label": this.clearButtonLabel, class: "text-input__clear-button", onClick: this.handleClearClick, part: "text-input__clear-button", type: "button" }, index.h("swirl-icon-cancel", { key: '763a1558a792a017ba4a947bf7bd47220f88ee0c', size: this.iconSize }))), showPasswordToggle && (index.h("button", { key: '584dd45c5dedb11cf9c7348a49b1ca15f959742c', "aria-label": this.passwordToggleLabel, class: "text-input__password-toggle", onClick: this.togglePassword, type: "button" }, this.showPassword ? (index.h("swirl-icon-visibility-off", { size: this.iconSize })) : (index.h("swirl-icon-visibility", { size: this.iconSize })))), showStepper && (index.h("span", { key: 'fbad244a2f8584c0003f581f66dc26bb9cb1f04c', class: "text-input__stepper" }, index.h("button", { key: '921cd8c3e64560ba46a7a06fd5147e132dd7bed4', "aria-hidden": "true", class: "text-input__step-button", onClick: this.increaseValue, tabIndex: -1, type: "button" }, index.h("swirl-icon-expand-less", { key: 'df8eeb01df755b56dc0a465a02a1d76dbecafe59', size: this.iconSize })), index.h("button", { key: 'fee840a7e4a142f468292a9a69e8958869673e87', "aria-hidden": "true", class: "text-input__step-button", onClick: this.decreaseValue, tabIndex: -1, type: "button" }, index.h("swirl-icon-expand-more", { key: 'e9af53254c8f1d68c121eb8634444b410a4cb1e3', size: this.iconSize })))), showCharacterCounter && (index.h("span", { key: '88dd11daf949bcb20d1a18bd77ab64a76000b30b', class: "text-input__character-counter", "aria-live": "polite" }, index.h("swirl-visually-hidden", { key: 'f55d1fa26b458ff6b09e80f79f32b25236cc6d5f' }, this.characterCounterLabel), characterCount, " ", Boolean(this.maxLength) ? `/ ${this.maxLength}` : "")))));
|
|
170
170
|
}
|
|
171
171
|
static get watchers() { return {
|
|
172
172
|
"value": ["watchValue"]
|
|
@@ -142,7 +142,7 @@ const SwirlTooltip = class {
|
|
|
142
142
|
"tooltip--active": this.active,
|
|
143
143
|
"tooltip--visible": this.visible,
|
|
144
144
|
});
|
|
145
|
-
return (index.h(index.Host, { key: '
|
|
145
|
+
return (index.h(index.Host, { key: '96bfe5772085b0355180e0a5529ee02826958de1', onKeydown: this.onKeydown }, index.h("span", { key: 'b3a26fc2aabd2446a460e3e57e869d3c53e94df1', class: className }, index.h("span", { key: '16e9df7f2d679688ef70811871a96a7f2f0de121', class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.onFocusOut, onClick: this.hide, onFocusin: this.onFocusIn }, index.h("slot", { key: 'e8f975020ccf67878b639fe9f81d8db972b105ed' })), index.h("span", { key: '308db04b1ee01609715fd9402525ff800c400ce1', class: "tooltip__popper", ref: (el) => (this.popperEl = el), style: {
|
|
146
146
|
top: Boolean(this.actualPosition)
|
|
147
147
|
? `${this.actualPosition?.y}px`
|
|
148
148
|
: "",
|
|
@@ -151,7 +151,7 @@ const SwirlTooltip = class {
|
|
|
151
151
|
: "",
|
|
152
152
|
position: this.positioning,
|
|
153
153
|
maxWidth: this.maxWidth,
|
|
154
|
-
} }, this.visible && (index.h("span", { key: '
|
|
154
|
+
} }, this.visible && (index.h("span", { key: 'aac57d3834798bb48566e23911c810237342d18c', class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, index.h("span", { key: 'ac370eaeca8aa321ee1785f557bf0bb0db2103bb', class: "tooltip__content", innerHTML: this.content }))), index.h("span", { key: 'c60fb13d7681cd5de23d9d8ccfc17068f9201468', class: "tooltip__arrow", ref: (el) => (this.arrowElement = el), style: {
|
|
155
155
|
...this.arrowStyles,
|
|
156
156
|
visibility: this.visible ? "visible" : "hidden",
|
|
157
157
|
} })))));
|
|
@@ -337,17 +337,17 @@ const SwirlTreeViewItem = class {
|
|
|
337
337
|
"tree-view-item--disable-drag": this.disableDrag,
|
|
338
338
|
"tree-view-item--has-tags": hasTags,
|
|
339
339
|
});
|
|
340
|
-
return (index.h(index.Host, { key: '
|
|
340
|
+
return (index.h(index.Host, { key: '85e75eb2f59216e51173b3be1bbd5ee7c77e4d5e', id: this.itemId, role: semantics === "tree" ? "none" : "listitem" }, index.h(Tag, { key: '873f1009d2fc31ca6405ba8680eb9c7ed52e6237', class: className, role: semantics === "tree" ? "none" : undefined }, index.h("a", { key: 'ddadb7672ced5d49a1889c207ed5414fe843166e', "aria-current": this.active ? "page" : undefined, "aria-expanded": !hasChildren || semantics !== "tree"
|
|
341
341
|
? undefined
|
|
342
342
|
: String(expanded), "aria-level": semantics === "tree" ? this.level + 1 : undefined, "aria-owns": hasChildren && semantics === "tree"
|
|
343
343
|
? `${this.itemId}-children`
|
|
344
|
-
: undefined, "aria-selected": semantics === "tree" ? String(this.selected) : undefined, class: "tree-view-item__link", href: this.href, onFocus: this.onFocus, onKeyDown: this.onKeyDown, ref: (el) => (this.link = el), role: semantics === "tree" ? "treeitem" : undefined, tabIndex: tabIndex }, !this.disableDrag && this.enableDragDrop && (index.h("span", { key: '
|
|
344
|
+
: undefined, "aria-selected": semantics === "tree" ? String(this.selected) : undefined, class: "tree-view-item__link", href: this.href, onFocus: this.onFocus, onKeyDown: this.onKeyDown, ref: (el) => (this.link = el), role: semantics === "tree" ? "treeitem" : undefined, tabIndex: tabIndex }, !this.disableDrag && this.enableDragDrop && (index.h("span", { key: '4a19b915e35d9792020eeaae8f6c3c1541683a75', class: "tree-view-item__drag-handle" }, index.h("swirl-icon-drag-handle", { key: '6a439888a065b56dbead1a59b88fff795797e8b2', size: 20 }))), this.expandable && semantics === "tree" && (index.h("span", { key: '316317a5c271899435f34345d262cf585d2f5f50', class: "tree-view-item__toggle-icon" }, hasChildren && (index.h(index.Fragment, { key: '0b4577f22f88f402c6dc408f1cd77e4bd7c5f769' }, expanded ? (index.h("swirl-icon-expand-more", { onClick: this.onClickCollapse, size: 24 })) : (index.h("swirl-icon-chevron-right", { onClick: this.onClickExpand, size: 24 })))))), Boolean(this.icon) && (index.h(index.Fragment, { key: 'ad5645282c3699345a4c286e989b17f81312663b' }, index.h("span", { key: '3549def1d7f07c0ae74957be4ae884a867ecdfe7', class: "tree-view-item__icon" }, iconIsEmoji ? (this.icon) : (index.h("swirl-icon", { glyph: this.icon, size: 24, color: this.iconColor }))))), index.h("span", { key: 'b4754d092b4cd2772ef5469dbe16b03b8417c022', class: "tree-view-item__label" }, this.label), index.h("span", { key: '942a98ae9ddaf1996ae7dbfc86cdef867a562cdc', class: "tree-view-item__tags" }, index.h("slot", { key: 'ac063ace7e68e1eaa9139fd2bed11872475888db', name: "tags" }))), index.h("ul", { key: '6e68c5bb3011f85db3194d1ce2ffb59696e108de', "aria-label": this.label, class: `tree-view-item__children ${shouldShowChildrenDropZone
|
|
345
345
|
? "tree-view-item__children--drop-zone"
|
|
346
346
|
: ""}`, id: `${this.itemId}-children`, ref: (el) => (this.childList = el), role: semantics === "tree" ? "group" : undefined, style: {
|
|
347
347
|
display: (!expanded || !hasChildren) && !shouldShowChildrenDropZone
|
|
348
348
|
? "none"
|
|
349
349
|
: undefined,
|
|
350
|
-
} }, index.h("slot", { key: '
|
|
350
|
+
} }, index.h("slot", { key: 'f85be0b35de0af062619dd7d2503b9a167122102' })))));
|
|
351
351
|
}
|
|
352
352
|
get el() { return index.getElement(this); }
|
|
353
353
|
};
|
|
@@ -332,7 +332,7 @@ const SwirlTreeView = class {
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
render() {
|
|
335
|
-
return (index.h(index.Host, { key: '
|
|
335
|
+
return (index.h(index.Host, { key: 'af212560933d4d25aed5c8c6ab29dfbf099191b0' }, this.enableDragDrop && (index.h("swirl-visually-hidden", { key: '3fda34a2bbed2db99dbc4093305c7e97fc11decb' }, index.h("span", { key: '7ce4fd8428123b8ef3ebef6d0866fa20a6b6d068', "aria-live": "assertive" }, this.liveRegionText))), index.h("ul", { key: '341bf102916bdb27bff6b93cd70318035660897c', "aria-label": this.label, class: "tree-view", onFocusin: this.onFocus, onFocusout: this.onBlur, role: this.semantics === "tree" ? "tree" : undefined, ref: (el) => (this.listElement = el), tabIndex: -1 }, index.h("slot", { key: '6fbcdae5396114941da4ed4d69427925926d3e6b', onSlotchange: this.onSlotChange }))));
|
|
336
336
|
}
|
|
337
337
|
get el() { return index.getElement(this); }
|
|
338
338
|
static get watchers() { return {
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
+
"components/swirl-heading/swirl-heading.js",
|
|
3
4
|
"components/swirl-action-list-item/swirl-action-list-item.js",
|
|
5
|
+
"components/swirl-separator/swirl-separator.js",
|
|
6
|
+
"components/swirl-stack/swirl-stack.js",
|
|
4
7
|
"components/swirl-app-bar/swirl-app-bar.js",
|
|
5
8
|
"components/swirl-app-layout/swirl-app-layout.js",
|
|
6
9
|
"components/swirl-text-input/swirl-text-input.js",
|
|
7
10
|
"components/swirl-autocomplete/swirl-autocomplete.js",
|
|
8
|
-
"components/swirl-avatar-group/swirl-avatar-group.js",
|
|
9
11
|
"components/swirl-avatar/swirl-avatar.js",
|
|
12
|
+
"components/swirl-avatar-group/swirl-avatar-group.js",
|
|
10
13
|
"components/swirl-badge/swirl-badge.js",
|
|
11
14
|
"components/swirl-banner/swirl-banner.js",
|
|
12
15
|
"components/swirl-box/swirl-box.js",
|
|
13
|
-
"components/swirl-stack/swirl-stack.js",
|
|
14
|
-
"components/swirl-button-group/swirl-button-group.js",
|
|
15
16
|
"components/swirl-button/swirl-button.js",
|
|
17
|
+
"components/swirl-button-group/swirl-button-group.js",
|
|
16
18
|
"components/swirl-card/swirl-card.js",
|
|
17
19
|
"components/swirl-carousel/swirl-carousel.js",
|
|
18
20
|
"components/swirl-checkbox/swirl-checkbox.js",
|
|
@@ -22,10 +24,9 @@
|
|
|
22
24
|
"components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf.js",
|
|
23
25
|
"components/swirl-form-control/swirl-form-control.js",
|
|
24
26
|
"components/swirl-form-group/swirl-form-group.js",
|
|
25
|
-
"components/swirl-heading/swirl-heading.js",
|
|
26
27
|
"components/swirl-icon/swirl-icon.js",
|
|
27
|
-
"components/swirl-image-grid-item/swirl-image-grid-item.js",
|
|
28
28
|
"components/swirl-image-grid/swirl-image-grid.js",
|
|
29
|
+
"components/swirl-image-grid-item/swirl-image-grid-item.js",
|
|
29
30
|
"components/swirl-inline-error/swirl-inline-error.js",
|
|
30
31
|
"components/swirl-inline-notification/swirl-inline-notification.js",
|
|
31
32
|
"components/swirl-inline-status/swirl-inline-status.js",
|
|
@@ -41,7 +42,6 @@
|
|
|
41
42
|
"components/swirl-tooltip/swirl-tooltip.js",
|
|
42
43
|
"components/swirl-resource-list-item/swirl-resource-list-item.js",
|
|
43
44
|
"components/swirl-search/swirl-search.js",
|
|
44
|
-
"components/swirl-separator/swirl-separator.js",
|
|
45
45
|
"components/swirl-shell-navigation-item/swirl-shell-navigation-item.js",
|
|
46
46
|
"components/swirl-shell-layout/swirl-shell-layout.js",
|
|
47
47
|
"components/swirl-skeleton-box/swirl-skeleton-box.js",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"components/swirl-spinner/swirl-spinner.js",
|
|
50
50
|
"components/swirl-status-indicator/swirl-status-indicator.js",
|
|
51
51
|
"components/swirl-switch/swirl-switch.js",
|
|
52
|
-
"components/swirl-tab-bar/swirl-tab-bar.js",
|
|
53
52
|
"components/swirl-tab/swirl-tab.js",
|
|
54
|
-
"components/swirl-
|
|
53
|
+
"components/swirl-tab-bar/swirl-tab-bar.js",
|
|
55
54
|
"components/swirl-table/swirl-table.js",
|
|
55
|
+
"components/swirl-table-column/swirl-table-column.js",
|
|
56
56
|
"components/swirl-tag/swirl-tag.js",
|
|
57
57
|
"components/swirl-text/swirl-text.js",
|
|
58
58
|
"components/swirl-thumbnail/swirl-thumbnail.js",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"components/swirl-toast-provider/swirl-toast-provider.js",
|
|
61
61
|
"components/swirl-toggle-group/swirl-toggle-group.js",
|
|
62
62
|
"components/swirl-toolbar/swirl-toolbar.js",
|
|
63
|
-
"components/swirl-tree-view/swirl-tree-view.js",
|
|
64
63
|
"components/swirl-tree-view-item/swirl-tree-view-item.js",
|
|
64
|
+
"components/swirl-tree-view/swirl-tree-view.js",
|
|
65
65
|
"components/swirl-accordion/swirl-accordion.js",
|
|
66
66
|
"components/swirl-accordion-item/swirl-accordion-item.js",
|
|
67
67
|
"components/swirl-action-list/swirl-action-list.js",
|
|
@@ -36,7 +36,7 @@ export class SwirlActionListItem {
|
|
|
36
36
|
const showSuffixSlot = Boolean(this.el.querySelector('[slot="suffix"]'));
|
|
37
37
|
const showSuffix = (Boolean(this.suffix) || showSuffixSlot) && !this.disabled;
|
|
38
38
|
const className = classnames("action-list-item", `action-list-item--intent-${this.intent}`, `action-list-item--size-${this.size}`);
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '6e0ba3475bbabc4b456d23070aada4ad73a7bef7' }, h("button", { key: '568753980452f56f6305573cfacc1540728f8a64', "aria-expanded": this.swirlAriaExpanded, "aria-haspopup": this.swirlAriaHaspopup, class: className, disabled: this.disabled, part: "action-list-item", role: "menuitem", tabIndex: -1, type: "button" }, h("slot", { key: '90c23d6a829bdb2903ff76eda7852101b174b198', name: "avatar" }), this.icon && (h("span", { key: '1855b294b64760c5399cfb9b371715399ed2e985', class: "action-list-item__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) }, showIconBadge && (h("span", { key: '1db1f001b6a4e9d40d4e11dddb5f2a45c8c81106', class: "action-list-item__icon-badge", innerHTML: this.iconBadge, ref: (el) => (this.iconBadgeEl = el) })))), h("span", { key: 'a55df1b640cb5c5109dc632c39dca728fce290da', class: "action-list-item__label-container" }, h("span", { key: 'ae479a05bbfd854b8472d3977d7489df73e611cb', class: "action-list-item__label" }, this.label), this.description && (h("span", { key: '959761897cc5c8d4d2474795460b66bb5d22475b', class: "action-list-item__description" }, this.description))), showBadge && (h("span", { key: 'cd679c3648c86d6d7f5c9c37f1d02e8b14cd2bfe', class: "action-list-item__badge", innerHTML: this.badge })), showSuffix && (h("span", { key: '88754ec73e17680ebdc939f42df996dace73fdce', class: "action-list-item__suffix", innerHTML: !showSuffixSlot ? this.suffix : undefined, ref: (el) => (this.suffixEl = el) }, h("slot", { key: '37b5c4659a5ff5c1e36e9dd47292180e9b9a5dac', name: "suffix" }))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "swirl-action-list-item"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class SwirlAppBar {
|
|
|
57
57
|
paddingInlineEnd: `var(--s-space-${this.paddingInlineEnd})`,
|
|
58
58
|
paddingInlineStart: `var(--s-space-${this.paddingInlineStart})`,
|
|
59
59
|
};
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '2fc2dc7672ca8ab6c3ea4a2bea33d52730eaea3f' }, h("div", { key: '853eac25f0092f4e3c9159bcb928f953026c6e87', class: className, style: styles }, showLeftControls && (h("div", { key: '272353acea74c10e90d43d894fb535d65fcb1af3', class: "app-bar__left-controls" }, (this.showBackButton || this.showCloseButton) && (h("div", { key: '04b34c7a362ca98d02e4692da4e11196122e4d2a', class: "app-bar__main-navigation-control" }, this.showBackButton && (h("swirl-button", { key: '82188c1a465798ef652ee7a642bf038ccdd21d5a', hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButtonLabel, onClick: this.onBackButtonClick })), this.showCloseButton && (h("swirl-button", { key: '9a31265626092d9079b4b4a27461b483e489fff9', hideLabel: true, icon: this.closeButtonIcon, label: this.closeButtonLabel, onClick: this.onCloseButtonClick })))), this.showStepperControls && (h("div", { key: '0b089aedecaf8f42a9d656174fc93dd5837dbe7c', class: "app-bar__stepper-controls" }, h("swirl-button", { key: '8a5a2de50ae5c53e2b9af7ab9597f9988d476863', hideLabel: true, icon: "<swirl-icon-arrow-upward></swirl-icon-arrow-upward>", label: this.stepUpButtonLabel, onClick: this.onStepUpButtonClick }), h("swirl-button", { key: '090451b7e112346d617018aae45782af57924276', hideLabel: true, icon: "<swirl-icon-arrow-downward></swirl-icon-arrow-downward>", label: this.stepDownButtonLabel, onClick: this.onStepDownButtonClick }))))), h("div", { key: 'caf1b7b3e2d6a9f3fd45080b47200ba23f06de2f', class: "app-bar__cta" }, h("slot", { key: 'f8a5d105b77db1f107dac0364e56f8fc498d22b5', name: "cta" })), h("div", { key: 'a3d5e082c9c2957791fc5aa1fd767d466acf70dc', class: "app-bar__heading" }, h("slot", { key: 'a3188a9e1ab5b93d645293074ba6930e8a88df32', name: "heading" })), h("div", { key: '0466ef640baf9d738f48c221ceb99446f3dcb352', class: "app-bar__center-controls" }, h("slot", { key: '56cf69f32c293072015f45bfe017627bf61706c7', name: "center-controls" })), h("div", { key: 'd24c3205c5c6f6b8cee93590694c71fb87a9307b', class: "app-bar__right-controls" }, h("slot", { key: 'bc29b52f8e205b03e48449cfb05f57b5b348766d', name: "right-controls" })))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "swirl-app-bar"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -330,14 +330,14 @@ export class SwirlAppLayout {
|
|
|
330
330
|
"app-layout--sidebar-scrollable": this.sidebarScrollState.scrollable,
|
|
331
331
|
"app-layout--sidebar-scrolled-to-top": this.sidebarScrollState.scrolledToTop,
|
|
332
332
|
});
|
|
333
|
-
return (h(Host, { key: '
|
|
333
|
+
return (h(Host, { key: '0970730a8b11319c50969d6d6e7f217dcf56e2f0' }, h("section", { key: '06d420b7d6bfe12422b52e2cdcb8fa8a2ed0fbac', "aria-labelledby": "app-name", class: className }, h("div", { key: 'b50a9beffae3145861ed4b71705fe673f5d10043', class: "app-layout__grid" }, h("header", { key: '04c3f7e4b7cb227cca2e9a15e262ddc9874032e1', class: "app-layout__header", ref: (el) => (this.headerEl = el) }, h("span", { key: '67ba8ba5394d42ba1f96ccb3258aefb8acce87c9', class: "app-layout__navigation-mobile-menu-button" }, h("slot", { key: '8795a4b7ac5a63bdd1f838c6ba1d0314cfa33dc9', name: "navigation-mobile-menu-button" })), this.collapsibleNavigation && (h("span", { key: '0a11ae6739ed9863837da26a60a5f524ca2215ea', class: "app-layout__nav-overlay-toggle" }, h("swirl-button", { key: 'e0670ebab68aaefd7342a31b0a2c139f181c4cf1', hideLabel: true, icon: this.navExpansionState !== "expanded"
|
|
334
334
|
? "<swirl-icon-dock-left-expand></swirl-icon-dock-left-expand>"
|
|
335
|
-
: "<swirl-icon-dock-left-collapse></swirl-icon-dock-left-collapse>", label: this.navigationToggleLabel, onClick: this.toggleNavigation }))), this.showNavigationBackButton && (h("span", { key: '
|
|
335
|
+
: "<swirl-icon-dock-left-collapse></swirl-icon-dock-left-collapse>", label: this.navigationToggleLabel, onClick: this.toggleNavigation }))), this.showNavigationBackButton && (h("span", { key: 'df74e59b27c2e15ffc532826ac69794df187ece9', class: "app-layout__navigation-back-button" }, h("swirl-button", { key: 'ca4e1610d7566b66ebe6958f8ec6f89d4a84554c', hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.navigationBackButtonLabel, onClick: this.onNavigationBackButtonClick }))), h("swirl-heading", { key: '7ca7f6ca8a69fead26966a6b224966f4404351da', as: "h1", class: "app-layout__app-name", headingId: "app-name", level: 3, text: this.appName }), navigationActive && (h("span", { key: '3d1205492f28588558a5e1d1c1948c4da7870c46', class: "app-layout__navigation-controls" }, h("slot", { key: 'f97090b47f524589e4d86e293e92ce2e001503dd', name: "navigation-controls" })))), h("nav", { key: '9b2f944843bcee7c5322b728ea26fcc7d8ed990f', "aria-label": this.navigationLabel, class: "app-layout__navigation", onScroll: this.onNavScroll, ref: (el) => (this.navEl = el), inert: this.isDesktop &&
|
|
336
336
|
this.collapsibleNavigation &&
|
|
337
|
-
this.navExpansionState === "collapsed" }, h("slot", { key: '
|
|
337
|
+
this.navExpansionState === "collapsed" }, h("slot", { key: 'a3fa785458acf70951cf209062e9f91bfec49db4', name: "navigation" })), h("section", { key: '3649f14cce3bdf275bc7325680b4c193085272f7', "aria-labelledby": "app-name", class: "app-layout__body" }, !this.hideAppBar && (h("header", { key: '401b6adeda9ed569d8a6c37f381fed0623a34701', class: "app-layout__app-bar" }, h("span", { key: '7b60e9abca35a3c6ab900e8d882116e8b22ce730', class: "app-layout__app-bar-mobile-menu-button" }, h("slot", { key: '44c01881cb2c4799942609ca43f2ead4de855859', name: "app-bar-mobile-menu-button" })), showBackToNavigationButton && (h("span", { key: '63a89ec584fa6a21a5cf4be3fdf15e84df01b03a', class: "app-layout__back-to-navigation-button" }, h("swirl-button", { key: '5d05136bb74adcc5a404bdb74533636777f3b598', hideLabel: true, icon: this.transitionStyle === "dialog"
|
|
338
338
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
339
339
|
: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backToNavigationViewButtonLabel, onClick: this.onBackToNavigationViewButtonClick }))), this.collapsibleNavigation &&
|
|
340
|
-
this.navExpansionState !== "expanded" && (h("span", { key: '
|
|
340
|
+
this.navExpansionState !== "expanded" && (h("span", { key: '0426043d85f25bd9581b2046215dba5cc50ee24c', class: "app-layout__nav-expansion-toggle" }, h("swirl-button", { key: '5b64b49937d180b23de6435351a0b7498562b2f7', hideLabel: true, icon: "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", label: this.navigationOverlayLabel, onClick: this.overlayNavigation }))), h("span", { key: 'eaa0172b442211086532a15fae6bb99b70dafab6', class: "app-layout__custom-app-bar-back-button" }, h("slot", { key: '86177f0040e21c020b2d88a2e11cc1f2045d9bcf', name: "custom-app-bar-back-button" })), h("div", { key: 'ff317fc8d6a4f75b81db2f4c6867d1259a9e2cc6', class: "app-layout__app-bar-content" }, h("slot", { key: '59a8e892b40e1b56acc3f33cb956d1a588670a5e', name: "app-bar" })), h("div", { key: '2244b236929f9de30d18f886b2992187b1f9baf8', class: "app-layout__app-bar-controls" }, h("slot", { key: 'c5fae8b152e14275cb09b7db637ea8ca64932648', name: "app-bar-controls" })))), h("div", { key: '85a6875e28ec691f659cbee27e299bca2048ff67', class: "app-layout__banner" }, h("slot", { key: '9790312e956f47faca3c1c4b04a6b1422a889498', name: "banner" })), h("div", { key: 'd33ae32d0644d24027423eb9dc9ba94c54b0070b', class: "app-layout__content", onScroll: this.onContentScroll, ref: (el) => (this.contentEl = el) }, h("slot", { key: '9e615a708ac9ae2817a680e868c70d4a9ec3d075', name: "content" })), h("div", { key: 'd173a40d98a1d8cd6b93135d9a6984afc6487813', class: "app-layout__bottom-bar" }, h("slot", { key: '10a8422834710d9b15dea188d0f8b24dab14887e', name: "bottom-bar" }))), h("aside", { key: '0da3e8a8bf7be2c6ae12ebf89b6fc91f4d9a27a2', class: "app-layout__sidebar" }, h("header", { key: 'da7303d27a7c9d65a3d3dd7ec9799f7ea8b63dd8', class: "app-layout__custom-sidebar-header" }, h("slot", { key: 'fd8fc8403066c85dd26ed414afded579928da657', name: "custom-sidebar-header" })), h("header", { key: 'addfa87cef788f272e586e3a02b0f47be414cc58', class: "app-layout__sidebar-header" }, h("swirl-button", { key: '7daf54726d77b5a9656dd888d32d4c111746e59e', 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: 'c743c2b1049f87a5c81b99ddc836f4a2b9b08561', as: "h3", class: "app-layout__sidebar-heading", headingId: "sidebar-heading", level: 3, text: this.sidebarHeading })), h("div", { key: '9443e3843d55af79d62c949b8df53a6a1f27a4e9', class: "app-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (el) => (this.sidebarEl = el) }, h("slot", { key: '0b5eff0be0d4e98ed2755b412d8783fe25d8d809', name: "sidebar" }))), h("span", { key: 'a1487ea686f593c4b117a9eb74fe61fe8b516336', class: "app-layout__floating-action-button" }, this.ctaLabel && (h("swirl-button", { key: '02d61ee5b96263295218ed0b99cb8b93d1e06df0', hideLabel: Boolean(this.ctaIcon), icon: this.ctaIcon, intent: "primary", label: this.ctaLabel, onClick: this.onCtaClick, variant: "floating" })), h("slot", { key: '7f1e9ae5a5cbf12e28b12d8e7227fee017f6f532', name: "floating-action-button" }))))));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "swirl-app-layout"; }
|
|
343
343
|
static get encapsulation() { return "shadow"; }
|
|
@@ -187,17 +187,17 @@ export class SwirlAutocomplete {
|
|
|
187
187
|
const className = classnames("autocomplete", {
|
|
188
188
|
"autocomplete--inactive": !this.active,
|
|
189
189
|
});
|
|
190
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: '36f37cea5fdd7151673aa5c8ad30f652a1769609' }, h("div", { key: 'f1457ce0ea13ea7a769cd1de3eb3bf4cf2b9549b', class: className, onKeyDown: this.onKeyDown }, this.multiSelect &&
|
|
191
191
|
Array.isArray(this.value) &&
|
|
192
|
-
this.value.length > 0 && (h("div", { key: '
|
|
192
|
+
this.value.length > 0 && (h("div", { key: '7b5b831a06dd7270386f857d198178a92e118580', class: "autocomplete__multi-select-tags" }, h("swirl-stack", { key: 'c5bf0b5bf1252f9bd8368917a27d9927e3b2c7c0', orientation: "horizontal", spacing: "8", wrap: true }, this.value.map((item) => {
|
|
193
193
|
return (h("swirl-tag", { key: item.id, label: item.label,
|
|
194
194
|
// eslint-disable-next-line react/jsx-no-bind
|
|
195
195
|
onRemove: () => this.onRemoveValue(item.id), removable: !this.disabled }));
|
|
196
|
-
})))), h("swirl-text-input", { key: '
|
|
196
|
+
})))), h("swirl-text-input", { key: 'f41ec2b57444ff45d75e039dad609d7b2ebf6d17', 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: 'a940d9511351d965da89de983885eb0d8819f977', class: "autocomplete__listbox-container", onFocusout: this.onFocusOut, ref: (el) => (this.listboxContainerEl = el), style: {
|
|
197
197
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
198
198
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
199
199
|
width: `${this.inputEl?.getBoundingClientRect().width + 32}px`,
|
|
200
|
-
} }, this.loading && (h("div", { key: '
|
|
200
|
+
} }, this.loading && (h("div", { key: 'bdcc2ec3441fa97915ac8d1ed4348a0c59101708', class: "autocomplete__spinner" }, h("swirl-spinner", { key: '08a8eeb925fcc515f76ae0d7edae2c5fc01f409f' }))), this.suggestions.length > 0 && (h("swirl-option-list", { key: '79b71e2f6aaabef56558d95229dc24ee26cb4056', 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)
|
|
201
201
|
? this.value.some((item) => item.id === suggestion.id)
|
|
202
202
|
: this.value?.id === suggestion.id, key: suggestion.id, disabled: suggestion.disabled, label: suggestion.label, value: suggestion.id })))))))));
|
|
203
203
|
}
|
|
@@ -113,7 +113,7 @@ export class SwirlAvatar {
|
|
|
113
113
|
});
|
|
114
114
|
const badgeClassName = classnames("avatar__badge", `avatar__badge--position-${this.badgePosition}`);
|
|
115
115
|
const toolClassName = classnames("avatar__tool", `avatar__tool--position-${this.toolPosition}`);
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '42c11df526248247b9cb2bee6b2d58bc70aafa65', "aria-label": this.interactive ? this.label : undefined, onKeydown: this.interactive ? this.onKeydown : undefined, onKeyup: this.interactive ? this.onKeyup : undefined, role: role, tabIndex: this.interactive ? 0 : undefined }, h("span", { key: '96a01925f8c723fca2dbb17263152b1d56d26027', class: className, part: "avatar" }, showImage && (h("span", { key: '896d136ab3094a2f583b938c2b91d04e78f0d10f', class: "avatar__image" }, h("img", { key: 'fde4999892611a1634223519cbccf76130cdb51c', alt: "", height: swirlAvatarSizeMappings[this.size], loading: this.loading !== "intersecting" ? this.loading : undefined, ref: this.onImageElementUpdate, src: this.src, width: swirlAvatarSizeMappings[this.size] }))), showInitials && (h("span", { key: '4e1e6d7539ef10c696292cbb9f8a1a9dd492a97a', class: "avatar__initials" }, h("span", { key: '866a9aaaa0b2e2ef114cc992be91b503160aac69' }, this.initials))), showIcon && h("span", { key: '1cb19789413ef94288b19c209f80b9ccab454baa', class: "avatar__icon", innerHTML: this.icon }), showFallbackIcon && (h("span", { key: '36dee103b6406e226e48183c4376a978a6ecedc9', class: "avatar__icon" }, h("swirl-icon-person", { key: 'b992b47b9baa52c05193fff33e9b57211c23a51e' }))), showBadge && (h("span", { key: '6134b435fa2572c24dd3d8be7ca3f02b51e6ea3c', class: badgeClassName, innerHTML: this.badge })), h("span", { key: '20e4112658cd486eb49d7e2543f13678b4d7a5fd', class: toolClassName }, h("slot", { key: 'f03881df79fb42c911c2895cd787f706c9529a9f', name: "tool" }))), this.showLabel && (h("span", { key: 'beeb327bbc2a05443d756dea01be85e0a885e507', "aria-hidden": true, class: "avatar__label" }, this.label))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "swirl-avatar"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class SwirlAvatarGroup {
|
|
|
45
45
|
"avatar-group--has-badge": Boolean(this.badge),
|
|
46
46
|
});
|
|
47
47
|
const badgeClassName = classnames("avatar-group__badge");
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'ecb3e29c9099096fa82191e661f08223bf2a3137' }, h("div", { key: '6850ef790d715e45dc36ef60c9739398ada1e903', "aria-label": this.label, class: className, role: this.semantics }, h("slot", { key: '6d80247f5e0eae13ea4a2864e15c850178d190b8', onSlotchange: this.onSlotChange }), this.badge && (h("span", { key: 'cf23f016b1548812fca69315100479aad2563056', class: badgeClassName, innerHTML: this.badge, ref: (el) => (this.badgeEl = el) })))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "swirl-avatar-group"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class SwirlBadge {
|
|
|
10
10
|
const className = classnames("badge", `badge--intent-${this.intent}`, `badge--size-${this.size}`, `badge--variant-${this.variant}`, {
|
|
11
11
|
"badge--has-icon": this.icon,
|
|
12
12
|
});
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '3d64f76fe54264451a966d8bb9aa044efd744939', role: "status" }, h("span", { key: '918618864bcfd9cd017aecb390608a8d454218a4', class: className, part: "badge" }, this.icon && h("span", { key: '5488528c85b4851f98cfb6a6f61f0030f4dfab3c', 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))))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "swirl-badge"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class SwirlBanner {
|
|
|
48
48
|
const className = classnames("banner", `banner--intent-${this.intent}`, `banner--size-${this.size}`, {
|
|
49
49
|
"banner--has-icon": showIcon,
|
|
50
50
|
});
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '11ecf5b273bb2636d5d3e779fc91df1f7b10a8e0' }, h("div", { key: 'bc5e53f04ad5e80defe407340d191d1951a10123', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, h("div", { key: '86b3950336dca8b1d28994d1fb18113a4b4c421a', class: "banner__content", id: "content", part: "banner__content" }, showIcon && (h("span", { key: '5716e25d171cc28861459258e257c8a821ebc56d', "aria-hidden": "true", class: "banner__icon", innerHTML: icon, ref: (el) => (this.iconEl = el) })), h("span", { key: 'a5a5019667573c14dde87041e475481a7edf6d5e', class: "banner__text" }, this.content)), showControls && (h("div", { key: 'cf8632f83dc502caba7f10710a353d1a34f30493', class: "banner__controls" }, this.actionLabel && (h("button", { key: '166c562828b381640c29783ac8b275f49b088cad', class: "banner__action-button", onClick: this.onAction, part: "banner__action-button", type: "button" }, this.actionLabel)), this.dismissable && (h("button", { key: 'b1247a38ea5f7592d7c12f0919360041ea9061b8', "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: '12524ce0998e451f9260924e2a5226ddee4ade43' }))))))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "swirl-banner"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class SwirlBox {
|
|
|
87
87
|
"box--scrolled-to-top": this.scrollState.scrolledToTop,
|
|
88
88
|
"box--scrolled-to-bottom": this.scrollState.scrolledToBottom,
|
|
89
89
|
});
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'e9eeaa11b7a04b59744d8cf369855874fb8eab02', class: className, onScroll: this.onScroll, style: styles }, h("slot", { key: '0d5e86f34e2efb3dd7f9bfaf24a3a18578e6f507' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "swirl-box"; }
|
|
93
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,13 +77,13 @@ export class SwirlButton {
|
|
|
77
77
|
"button--pressed": this.pressed,
|
|
78
78
|
});
|
|
79
79
|
const Tag = isLink ? "a" : "button";
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '45ecb09b0608bb62c759dfe09a4f17629a843e66', style: { pointerEvents: this.disabled ? "none" : "" } }, 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: {
|
|
81
81
|
cursor: !this.disabled && this.cursor !== "pointer"
|
|
82
82
|
? this.cursor
|
|
83
83
|
: undefined,
|
|
84
84
|
fontSize: this.inheritFontSize ? "inherit" : undefined,
|
|
85
85
|
lineHeight: this.inheritFontSize ? "inherit" : undefined,
|
|
86
|
-
} }, Boolean(this.icon) && (h("span", { key: '
|
|
86
|
+
} }, Boolean(this.icon) && (h("span", { key: '85c7e12f44561c7754296fac3b6c74be06b93c22', class: "button__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !Boolean(this.icon) && (h("span", { key: '082e271c1ca38212e61f9d62aed60b016ac588f6', class: "button__icon", ref: (el) => (this.iconEl = el) }, h("slot", { key: 'bf24edbe91d4590049429b27da601ba5cd51e9a5', name: "icon" }))), !hideLabel && h("span", { key: '06cd510bb5617fec59496d64b32fc19bf59ba026', class: "button__label" }, this.label), hasTag && (h("span", { key: '95f4b84ae32def5b1fbf1ba1963382343dac4279', class: "button__tag" }, h("slot", { key: '9d778088353420c933a1e22089568c690909026c', name: "tag" }))), hasTrailingSlot && (h("div", { key: '1f5b393f4da411b312220673611a016e96b0d218', class: "button__trailing-slot" }, h("slot", { key: '635deb01ac5dbad192f64c79155a944f1c8b4716', name: "trailing" }))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "swirl-button"; }
|
|
89
89
|
static get encapsulation() { return "scoped"; }
|
|
@@ -105,7 +105,7 @@ export class SwirlButton {
|
|
|
105
105
|
"mutable": false,
|
|
106
106
|
"complexType": {
|
|
107
107
|
"original": "SwirlButtonCursor",
|
|
108
|
-
"resolved": "\"
|
|
108
|
+
"resolved": "\"text\" | \"copy\" | \"progress\" | \"default\" | \"none\" | \"auto\" | \"context-menu\" | \"help\" | \"pointer\" | \"wait\" | \"cell\" | \"crosshair\" | \"vertical-text\" | \"alias\" | \"move\" | \"no-drop\" | \"not-allowed\" | \"grab\" | \"grabbing\" | \"e-resize\" | \"n-resize\" | \"ne-resize\" | \"nw-resize\" | \"s-resize\" | \"se-resize\" | \"sw-resize\" | \"w-resize\" | \"ew-resize\" | \"ns-resize\" | \"nesw-resize\" | \"nwse-resize\" | \"col-resize\" | \"row-resize\" | \"all-scroll\" | \"zoom-in\" | \"zoom-out\"",
|
|
109
109
|
"references": {
|
|
110
110
|
"SwirlButtonCursor": {
|
|
111
111
|
"location": "local",
|
|
@@ -10,11 +10,11 @@ export class SwirlButtonGroup {
|
|
|
10
10
|
const className = classnames("button-group", {
|
|
11
11
|
"button-group--segmented": this.segmented,
|
|
12
12
|
});
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '1c5dcaf521e8ee19f572f03e428f6f6297106ae0' }, h("swirl-stack", { key: '78073a9c28c55e16c68c9f32f4573e18f08d8822', align: this.orientation === "vertical" && this.stretch
|
|
14
14
|
? "stretch"
|
|
15
15
|
: "start", class: className, justify: this.orientation === "horizontal" && this.stretch
|
|
16
16
|
? "stretch"
|
|
17
|
-
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '
|
|
17
|
+
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '4936fecbd49610aec18174458b1cd7ef42723eba' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "swirl-button-group"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,9 +73,9 @@ export class SwirlCard {
|
|
|
73
73
|
"card--interactive": this.interactive || this.href,
|
|
74
74
|
"card--is--borderless": this.isBorderless,
|
|
75
75
|
});
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '83b6b355f012cfb088f2611c426f0bf77ca5104e', styles: { height: this.height } }, 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"
|
|
77
77
|
? "noreferrer"
|
|
78
|
-
: undefined, style: styles, target: this.linkTarget }, h("div", { key: '
|
|
78
|
+
: undefined, style: styles, target: this.linkTarget }, h("div", { key: '49987e8063c4f113c38af82928a4893baf86b441', class: "card__image", style: { aspectRatio: this.imageAspectRatio } }, h("slot", { key: '742d2b19d695b930a3feb266f62d91ffea350fe4', name: "image" })), h("div", { key: '0805793c5a6da79d98155d13893d5b415688baee', class: "card__floating-controls" }, h("slot", { key: '748164f9d7554595e817cd94b0d3894f32470945', name: "floating-controls" })), h("div", { key: '86e1aa40d1ac5d0dd78dcb193a706dea9535ad35', class: "card__body", style: bodyStyles }, h("div", { key: 'be6764afd0710adf51eb46ef1d482de3e1595681', class: "card__content" }, h("slot", { key: '5a14b8fff905b77645a85cc60b21cdf5bc68627f', name: "content" }))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "swirl-card"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,7 +154,7 @@ export class SwirlCarousel {
|
|
|
154
154
|
"carousel--is-at-start": this.isAtStart,
|
|
155
155
|
"carousel--is-at-end": this.isAtEnd,
|
|
156
156
|
});
|
|
157
|
-
return (h(Host, { key: '
|
|
157
|
+
return (h(Host, { key: 'c5903f0c46a1eaa6129e2a1b73abee0db5bcd9ed', "aria-label": this.label, "aria-roledescription": "carousel", role: "group" }, h("div", { key: 'a1dfb1a45c399559d25df72add7723b231b5e6b8', class: className }, this.isScrollable && !this.isAtStart && (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 && (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" })), h("div", { key: 'cb596e62b8517b2d6ff791032b41608c6a5b25be', "aria-live": "polite", class: "carousel__slides", style: slidesStyles, onScroll: this.onScroll, ref: (el) => (this.slidesContainer = el) }, h("slot", { key: '0fab582bd3650e63d512e934d03183b3ae9b5901', onSlotchange: this.onSlotChange })))));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "swirl-carousel"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class SwirlCheckbox {
|
|
|
37
37
|
"checkbox--invalid": this.invalid,
|
|
38
38
|
"checkbox--unchecked": unchecked,
|
|
39
39
|
});
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'acf777ca7224f41f607bf84f193ecb05881f1fc1', style: { width: this.variant === "card" ? "100%" : undefined } }, h("label", { key: 'c3a3abc5f9e87d3665ad7c797d44a2acd34c8ee5', class: className, htmlFor: this.inputId }, h("span", { key: '5e49492e10519c0f2f4f6ed187b318bca8316dab', class: "checkbox__control" }, h("swirl-visually-hidden", { key: '06217d12dbc1ea25117e421d8e0e1cebd392f599' }, 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 })), h("span", { key: '8b69f9ae79e957c52066cd80cf0da11fe5613ed2', "aria-hidden": "true", class: "checkbox__box" }, h("span", { key: 'cca029718dd23f8c2e0637ce4f44c24b4fb0b289', class: "checkbox__icon" }, checked && h("swirl-icon-check-strong", { key: 'f3bab31db3d5ab5a6fdc78610abb42763f51154b' }), indeterminate && (h("span", { key: '7002b8fffbb15b73d84fae98761196bbe6af3347', class: "checkbox__indeterminate-icon" }))))), showLabelContainer && (h("span", { key: '082ac434bc4dd0c98d983650aab5208a760063e7', class: "checkbox__label-container" }, this.label && h("span", { key: '62737cd8068a70eb10e722c2ff91ae4dc9917f7d', class: "checkbox__label" }, this.label), this.description && (h("span", { key: '3e7f891b80511b9a4d811db31b594f2a0429d8b0', class: "checkbox__description" }, this.description)))))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "swirl-checkbox"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -42,7 +42,7 @@ export class SwirlChip {
|
|
|
42
42
|
"chip--interactive": this.interactive || this.pressed !== undefined,
|
|
43
43
|
"chip--removable": this.removable,
|
|
44
44
|
});
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'b0e65c521dcde5335f3bcd7daaf7359ba5bbe3ec' }, h(Tag, { key: 'a5198b26f19750bd4c8372acdc21e26f3ed8cfe1', "aria-pressed": this.pressed !== undefined ? String(this.pressed) : undefined, class: className, onClick: this.chipClick.emit, type: this.interactive ? "button" : undefined }, h("span", { key: '2ed93ce33faf8a1bdc4b07e4f866a10650ae8395', class: "chip__inner" }, showAvatar && (h("span", { key: 'ec44e6a99988aa14dcf330098de8593a1deeaed8', class: "chip__avatar" }, h("slot", { key: '880a8c96422c0f31cbf603676ffecef66c6bff21', name: "avatar" }))), showIcon && (h("span", { key: 'b5ba3f75080b5452fce8886c513eaa6abcd58009', class: "chip__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '808fe136faee7570c2329a300fafba4e0efcbed8', class: "chip__label" }, this.label)), this.progress !== undefined && (h("span", { key: '50b4eb47a59290e9c21570e0b2d91a8aa7a97723', class: "chip__progress-indicator" }, h("swirl-progress-indicator", { key: 'e0d54da0d2c6a325f6068740bba0c72b0837fb87', label: this.progressBarLabel, value: this.progress })))), this.removable && (h("button", { key: 'ec75adbbf28bf1df36d7532d832137f795973dab', "aria-label": this.removeButtonLabel, class: "chip__remove-button", onClick: this.removeChip.emit, type: "button" }, h("swirl-icon-close", { key: '85c241bc56caaf410421b102607f902f1c4b33ef', size: 20 })))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "swirl-chip"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,10 +4,10 @@ export class SwirlColumns {
|
|
|
4
4
|
this.columns = "repeat(3, minmax(0, 1fr))";
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '779371e7d28640a71aaad2d2de8d91b5b8d63e88' }, h("div", { key: 'de846647d2b436277cd2765f9814796320af071d', class: "columns", style: {
|
|
8
8
|
gridTemplateColumns: this.columns,
|
|
9
9
|
gap: `var(--s-space-${this.spacing})`,
|
|
10
|
-
} }, h("slot", { key: '
|
|
10
|
+
} }, h("slot", { key: 'ca510de4dae9c7055d2db6e02020cdfca95e58c6' }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "swirl-columns"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,7 +62,7 @@ export class SwirlDialog {
|
|
|
62
62
|
render() {
|
|
63
63
|
const className = classnames("dialog", { "dialog--closing": this.closing });
|
|
64
64
|
const hasLeftControls = Boolean(this.el.querySelector('[slot="left-controls"]'));
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '61ba06cee740b1bf21b246aeba14996b002a5aab' }, 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" }, h("div", { key: 'a1dbf13fe86dec8256c06393c4abd6c6c59382c1', class: "dialog__backdrop", onClick: this.onBackdropClick }), h("div", { key: 'f0b9dd2f2d722bf050081b2bc7fed3552c8a457c', class: "dialog__body", part: "dialog__body", role: "document" }, !this.hideLabel && (h("h2", { key: '18eceaee59d9184ace51898fe73c603af383387d', class: "dialog__heading", part: "dialog__heading", id: "label" }, this.label)), h("div", { key: '612edee73bee789b7ec2f8fd2e16cd3c3a9370aa', class: "dialog__content", part: "dialog__content", id: "content" }, h("slot", { key: '9d482392bce3c82df30c166fc99577c036da49a8' })), h("div", { key: '3306d185ed549fc6470a2fbbaf649cdc33b98189', class: "dialog__controls", ref: (el) => (this.controlsContainerEl = el) }, hasLeftControls && (h("div", { key: '0a7eb43c0f7f3e016767a8364334bd5f9d3cdf86', class: "dialog__left_controls" }, h("slot", { key: 'eb39f26ed1ff0a7931a899c8b9f70b3f22bba2d5', name: "left-controls" }))), this.secondaryActionLabel && (h("swirl-button", { key: '70cc4de12878fdb5f123a23a42d9c6cba67ddee7', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (h("swirl-button", { key: 'f02577b4cad57daea316f66b61ee3eec6844666a', intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "swirl-dialog"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|