@prosekit/lit
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -519,3 +519,3 @@ import { AutoUpdateOptions } from '@floating-ui/dom'; | ||
onDismiss: () => void; | ||
onSelect: (item?: Item | null) => void; | ||
onSelect: (item?: Item | null) => boolean; | ||
}); | ||
@@ -522,0 +522,0 @@ get items(): Item[]; |
import { | ||
AutocompleteList, | ||
propNames | ||
} from "./chunk-JMZWTLTD.js"; | ||
} from "./chunk-CPC45JQ7.js"; | ||
import "./chunk-I5EMQRE4.js"; | ||
import "./chunk-5CI65R73.js"; | ||
import "./chunk-GZRUCYLP.js"; | ||
import "./chunk-MZAHIYA5.js"; | ||
import "./chunk-3AZDRLDR.js"; | ||
@@ -9,0 +9,0 @@ export { |
import { | ||
autocompletePopoverContext | ||
} from "./chunk-JMZWTLTD.js"; | ||
} from "./chunk-CPC45JQ7.js"; | ||
import "./chunk-I5EMQRE4.js"; | ||
@@ -9,3 +9,3 @@ import "./chunk-5CI65R73.js"; | ||
} from "./chunk-YOZJWJGG.js"; | ||
import "./chunk-GZRUCYLP.js"; | ||
import "./chunk-MZAHIYA5.js"; | ||
import { | ||
@@ -12,0 +12,0 @@ defineCustomElement |
@@ -6,3 +6,3 @@ import { | ||
ListManager | ||
} from "./chunk-GZRUCYLP.js"; | ||
} from "./chunk-MZAHIYA5.js"; | ||
import "./chunk-3TPE2GKD.js"; | ||
@@ -67,5 +67,9 @@ import { | ||
var _a; | ||
this.setSelectedValue("", "keyboard"); | ||
(_a = item == null ? void 0 : item.onSelect) == null ? void 0 : _a.call(item); | ||
this.hide(); | ||
if (item == null ? void 0 : item.onSelect) { | ||
this.setSelectedValue("", "keyboard"); | ||
(_a = item == null ? void 0 : item.onSelect) == null ? void 0 : _a.call(item); | ||
this.hide(); | ||
return true; | ||
} | ||
return false; | ||
} | ||
@@ -72,0 +76,0 @@ }); |
{ | ||
"name": "@prosekit/lit", | ||
"type": "module", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"private": false, | ||
@@ -101,3 +101,3 @@ "author": { | ||
"@prosekit/core": "^0.3.0", | ||
"@prosekit/extensions": "^0.3.0", | ||
"@prosekit/extensions": "^0.3.1", | ||
"@prosekit/pm": "^0.1.1", | ||
@@ -104,0 +104,0 @@ "@superhuman/command-score": "^0.5.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85393
2755
Updated@prosekit/extensions@^0.3.1