@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-01-27T13:46:50",
2
+ "timestamp": "2025-01-28T12:16:56",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.18.1",
@@ -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: '46b3453bffde76bfa8186b450b586c76b8800e8a', onKeyDown: this.onKeyDown }, index.h("swirl-visually-hidden", { key: '85f441caf8eb1d6befc6962a8a7573daead8cd5a', role: "alert" }, this.assistiveText), index.h("swirl-box", { key: '995d67dbfe73d5b4ccd925807b596ee27cb4b7dd', paddingInlineEnd: "8", paddingInlineStart: "8" }, index.h("swirl-stack", { key: '75630b05ff8c83bc09afa60913cdcc878fb9327d', "aria-label": this.label, class: "resource-list", id: this.listId, ref: (el) => (this.gridEl = el), role: "grid", spacing: this.spacing }, index.h("slot", { key: '61350cd93a62b4593f115b32383976366adbfe34' })))));
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 {