@getflip/swirl-components 0.284.0 → 0.285.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 +1 -1
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +2 -2
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-resource-list/swirl-resource-list.js +2 -2
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-resource-list2.js +2 -2
- package/dist/esm/swirl-app-layout_5.entry.js +2 -2
- package/dist/swirl-components/{p-75b1cd84.entry.js → p-972e00dd.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
package/components.json
CHANGED
|
@@ -471,7 +471,7 @@ const SwirlResourceList = class {
|
|
|
471
471
|
event.preventDefault();
|
|
472
472
|
this.stopDrag(this.dragging);
|
|
473
473
|
}
|
|
474
|
-
else if (Boolean(this.controllingElement)) {
|
|
474
|
+
else if (Boolean(this.controllingElement) && event.code === "Enter") {
|
|
475
475
|
const item = this.items[this.focusedIndex];
|
|
476
476
|
if (!Boolean(item) || !item.isConnected) {
|
|
477
477
|
return;
|
|
@@ -662,7 +662,7 @@ const SwirlResourceList = class {
|
|
|
662
662
|
});
|
|
663
663
|
}
|
|
664
664
|
render() {
|
|
665
|
-
return (index.h(index.Host, { key: '
|
|
665
|
+
return (index.h(index.Host, { key: '24ef8717e06eaa5e2c8dff08d50bd8c7582b89af', onKeyDown: this.onKeyDown }, index.h("swirl-visually-hidden", { key: '4ea549d10ec775e1851efc2a86c101f99fb094a8', role: "alert" }, this.assistiveText), index.h("swirl-box", { key: '5c40504ad7d017f9271db414d065b3d4fc756e53', paddingInlineEnd: "8", paddingInlineStart: "8" }, index.h("swirl-stack", { key: '3a913c951fef4f788536068ce572f2131d203322', "aria-label": this.label, class: "resource-list", id: this.listId, ref: (el) => (this.gridEl = el), role: "grid", spacing: this.spacing }, index.h("slot", { key: 'bd026e40cf0cd5067eb3d2b6c2d6b5da2e044859' })))));
|
|
666
666
|
}
|
|
667
667
|
get el() { return index.getElement(this); }
|
|
668
668
|
static get watchers() { return {
|