@portabletext/toolbar 9.0.5 → 9.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 +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# `@portabletext/toolbar`
|
|
2
2
|
|
|
3
|
-
Powered by [Behaviors](https://www.portabletext.org/editor/concepts/behavior/) and [State Machines](https://stately.ai/docs/xstate), `@portabletext/toolbar` is a collection of
|
|
3
|
+
Powered by [Behaviors](https://www.portabletext.org/editor/concepts/behavior/) and [State Machines](https://stately.ai/docs/xstate), `@portabletext/toolbar` is a collection of React hooks for building toolbars and related UI components
|
|
4
4
|
for the Portable Text editor.
|
|
5
5
|
|
|
6
|
-
Refer to the toolbar in the [Portable Text Playground](../../apps/playground/) for a
|
|
6
|
+
Refer to the toolbar in the [Portable Text Playground](../../apps/playground/) for a full example.
|
|
7
7
|
|
|
8
8
|
## Features
|
|
9
9
|
|
|
10
10
|
- **Schema Extension**: Extend the editor's schema with default values, icons, shortcuts and more. This makes it easier to use the schema to render toolbars, forms and other UI components.
|
|
11
11
|
- **Hooks**: Headless React hooks to help building UI components for toggle buttons, popovers and insert dialogs.
|
|
12
|
-
- **Keyboard Shortcuts**:
|
|
12
|
+
- **Keyboard Shortcuts**: Integrates with `@portabletext/keyboard-shortcuts` for platform-aware shortcuts.
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/toolbar",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
4
4
|
"description": "Utilities for building a toolbar for the Portable Text Editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portabletext",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"typescript": "^7.0.2",
|
|
45
45
|
"vite": "^8.2.0",
|
|
46
46
|
"vitest": "^4.1.11",
|
|
47
|
-
"@portabletext/editor": "^8.1.
|
|
47
|
+
"@portabletext/editor": "^8.1.2",
|
|
48
48
|
"@portabletext/schema": "3.0.0",
|
|
49
|
-
"@portabletext/test": "2.
|
|
49
|
+
"@portabletext/test": "2.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@portabletext/editor": "^8.0.2",
|