@stacksjs/components 0.2.922 → 0.2.923

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/components",
3
3
  "type": "module",
4
- "version": "0.2.922",
4
+ "version": "0.2.923",
5
5
  "description": "A modern component library built with STX, featuring headwind utility classes and TypeScript syntax highlighting.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -139,8 +139,8 @@
139
139
  "dependencies": {
140
140
  "@iconify-json/f7": "^1.2.2",
141
141
  "@stacksjs/ts-css": "^0.3.11",
142
- "@stacksjs/stx": "0.2.922",
143
- "bun-plugin-stx": "0.2.922",
142
+ "@stacksjs/stx": "0.2.923",
143
+ "bun-plugin-stx": "0.2.923",
144
144
  "ts-syntax-highlighter": "^0.2.20",
145
145
  "ts-video-player": "^0.1.11"
146
146
  },
@@ -51,7 +51,11 @@ onMount(() => close)
51
51
  <div class="relative overflow-hidden {{ className }}" :testID="testId()"
52
52
  :swipeEnabled="nativeHost && !disabled() && actions().length > 0"
53
53
  :swipeDirection="opened() ? 'right' : 'left'"
54
- @swipe="swipe($event.direction)" @keydown.escape="opened() && close()">
54
+ @swipe="swipe($event.direction)"
55
+ @if(!nativeHost)
56
+ @keydown.escape="opened() && close()"
57
+ @endif
58
+ >
55
59
  <div class="flex flex-row items-center"
56
60
  :style="nativeHost ? { transform: [{ translateX: -offset() }] } : { transform: 'translateX(' + -offset() + 'px)' }">
57
61
  <div class="flex flex-1 flex-col min-w-0"><slot /></div>