@portabletext/plugin-typeahead-picker 7.0.5 → 7.0.6
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/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -361,7 +361,7 @@ The error is cleared when the picker returns to idle (e.g., via Escape or cursor
|
|
|
361
361
|
|
|
362
362
|
## onDismiss
|
|
363
363
|
|
|
364
|
-
The optional `onDismiss` callback runs when the picker is dismissed (Escape, Enter/Tab with no matches, or programmatically). Without `onDismiss`, dismissing
|
|
364
|
+
The optional `onDismiss` callback runs when the picker is dismissed (Escape, Enter/Tab with no matches, or programmatically). Without `onDismiss`, dismissing closes the picker and leaves the typed text in place.
|
|
365
365
|
|
|
366
366
|
For most pickers, you should **not** use `onDismiss` to delete text. If a user types `@` and dismisses, they likely wanted to type a literal `@`.
|
|
367
367
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/plugin-typeahead-picker",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Build typeahead pickers (emoji, mentions, slash commands) for the Portable Text Editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"autocomplete",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@xstate/react": "^6.1.0",
|
|
35
35
|
"xstate": "^5.32.5",
|
|
36
36
|
"@portabletext/keyboard-shortcuts": "^3.0.0",
|
|
37
|
-
"@portabletext/plugin-input-rule": "^7.0.
|
|
37
|
+
"@portabletext/plugin-input-rule": "^7.0.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sanity/pkg-utils": "^12.3.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typescript": "^7.0.2",
|
|
49
49
|
"vite": "^8.2.0",
|
|
50
50
|
"vitest": "^4.1.11",
|
|
51
|
-
"@portabletext/editor": "^8.1.
|
|
51
|
+
"@portabletext/editor": "^8.1.2",
|
|
52
52
|
"@portabletext/schema": "3.0.0",
|
|
53
53
|
"racejar": "3.0.0"
|
|
54
54
|
},
|