@portabletext/toolbar 8.0.25 → 8.0.27
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/dist/index.d.ts +13 -15
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
AnnotationSchemaType,
|
|
5
|
-
BlockObjectSchemaType,
|
|
6
|
-
BlockPath,
|
|
7
|
-
ChildPath,
|
|
8
|
-
DecoratorDefinition,
|
|
9
|
-
DecoratorSchemaType,
|
|
10
|
-
InlineObjectSchemaType,
|
|
11
|
-
ListSchemaType,
|
|
12
|
-
PortableTextObject,
|
|
13
|
-
StyleSchemaType,
|
|
14
|
-
} from '@portabletext/editor'
|
|
15
|
-
import {InsertPlacement} from '@portabletext/editor/behaviors'
|
|
1
|
+
import {AnnotationDefinition} from '@portabletext/editor'
|
|
2
|
+
import {AnnotationPath} from '@portabletext/editor'
|
|
3
|
+
import {AnnotationSchemaType} from '@portabletext/editor'
|
|
16
4
|
import {ApplicableSchema} from '@portabletext/editor/selectors'
|
|
5
|
+
import {BlockObjectSchemaType} from '@portabletext/editor'
|
|
6
|
+
import {BlockPath} from '@portabletext/editor'
|
|
7
|
+
import {ChildPath} from '@portabletext/editor'
|
|
8
|
+
import {DecoratorDefinition} from '@portabletext/editor'
|
|
9
|
+
import {DecoratorSchemaType} from '@portabletext/editor'
|
|
10
|
+
import {InlineObjectSchemaType} from '@portabletext/editor'
|
|
11
|
+
import {InsertPlacement} from '@portabletext/editor/behaviors'
|
|
17
12
|
import type {KeyboardShortcut} from '@portabletext/keyboard-shortcuts'
|
|
13
|
+
import {ListSchemaType} from '@portabletext/editor'
|
|
14
|
+
import {PortableTextObject} from '@portabletext/editor'
|
|
18
15
|
import type {RefObject} from 'react'
|
|
16
|
+
import {StyleSchemaType} from '@portabletext/editor'
|
|
19
17
|
|
|
20
18
|
declare type ActiveContext = {
|
|
21
19
|
annotations: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/toolbar",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.27",
|
|
4
4
|
"description": "Utilities for building a toolbar for the Portable Text Editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portabletext",
|
|
@@ -10,49 +10,49 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/portabletext/editor/issues"
|
|
12
12
|
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Sanity.io <hello@sanity.io>",
|
|
13
15
|
"repository": {
|
|
14
16
|
"type": "git",
|
|
15
17
|
"url": "https://github.com/portabletext/editor.git",
|
|
16
18
|
"directory": "packages/toolbar"
|
|
17
19
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
21
23
|
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
22
27
|
"exports": {
|
|
23
28
|
".": "./dist/index.js",
|
|
24
29
|
"./package.json": "./package.json"
|
|
25
30
|
},
|
|
26
|
-
"main": "./dist/index.js",
|
|
27
|
-
"types": "./dist/index.d.ts",
|
|
28
|
-
"files": [
|
|
29
|
-
"dist"
|
|
30
|
-
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@xstate/react": "^6.1.0",
|
|
33
33
|
"xstate": "^5.32.2",
|
|
34
34
|
"@portabletext/keyboard-shortcuts": "^2.1.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@sanity/pkg-utils": "^10.2
|
|
37
|
+
"@sanity/pkg-utils": "^10.8.2",
|
|
38
38
|
"@sanity/tsconfig": "^2.1.0",
|
|
39
39
|
"@types/react": "^19.2.17",
|
|
40
40
|
"@vitejs/plugin-react": "^5.2.0",
|
|
41
41
|
"@vitest/browser": "^4.1.9",
|
|
42
42
|
"@vitest/browser-playwright": "^4.1.9",
|
|
43
43
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
44
|
-
"eslint": "^9.39.
|
|
44
|
+
"eslint": "^9.39.4",
|
|
45
45
|
"eslint-formatter-gha": "^1.6.0",
|
|
46
46
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
47
47
|
"react": "^19.2.7",
|
|
48
|
-
"typescript": "
|
|
49
|
-
"typescript-eslint": "^8.
|
|
48
|
+
"typescript": "6.0.3",
|
|
49
|
+
"typescript-eslint": "^8.62.0",
|
|
50
50
|
"vitest": "^4.1.9",
|
|
51
|
-
"@portabletext/editor": "^7.
|
|
51
|
+
"@portabletext/editor": "^7.10.0",
|
|
52
52
|
"@portabletext/schema": "2.2.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@portabletext/editor": "^7.
|
|
55
|
+
"@portabletext/editor": "^7.10.0",
|
|
56
56
|
"react": "^19.2.7"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|