luna-plus 0.0.10 → 0.0.11

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.
@@ -67,14 +67,6 @@
67
67
  }
68
68
  };
69
69
 
70
- /** 键盘事件 */
71
- const handleKeyDown = (e: KeyboardEvent): void => {
72
- if (e.key === "Enter" || e.key === " ") {
73
- e.preventDefault();
74
- handleClose();
75
- }
76
- };
77
-
78
70
  /** ESC 键处理 */
79
71
  const handleEscKey = (e: KeyboardEvent): void => {
80
72
  if (closeOnEsc && e.key === "Escape") {
@@ -99,7 +91,6 @@
99
91
  <div
100
92
  class="lm-dialog-wrapper"
101
93
  onclick={handleModalClick}
102
- onkeydown={handleKeyDown}
103
94
  role="presentation"
104
95
  >
105
96
  {#if modal}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-plus",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "A modern Svelte 5 component library with 60+ components",
5
5
  "type": "module",
6
6
  "svelte": "./dist/index.js",