@portabletext/plugin-dnd 1.0.11 → 1.0.13

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +18 -18
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import {JSX} from 'react'
1
2
  import type {Path} from '@portabletext/editor'
2
- import {JSX, ReactNode} from 'react'
3
+ import {ReactNode} from 'react'
3
4
 
4
5
  /**
5
6
  * Tracks the drop position during drag and drop and serves it through
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
1
  {
2
2
  "name": "@portabletext/plugin-dnd",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Track the drop position during drag and drop for custom drop indicators",
5
5
  "keywords": [
6
- "portabletext",
7
- "plugin",
8
6
  "dnd",
9
7
  "drag-and-drop",
10
- "drop-indicator"
8
+ "drop-indicator",
9
+ "plugin",
10
+ "portabletext"
11
11
  ],
12
12
  "homepage": "https://portabletext.org",
13
13
  "bugs": {
14
14
  "url": "https://github.com/portabletext/editor/issues"
15
15
  },
16
+ "license": "MIT",
17
+ "author": "Sanity.io <hello@sanity.io>",
16
18
  "repository": {
17
19
  "type": "git",
18
20
  "url": "https://github.com/portabletext/editor.git",
19
21
  "directory": "packages/plugin-dnd"
20
22
  },
21
- "license": "MIT",
22
- "author": "Sanity.io <hello@sanity.io>",
23
- "sideEffects": false,
23
+ "files": [
24
+ "dist"
25
+ ],
24
26
  "type": "module",
27
+ "sideEffects": false,
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
25
30
  "exports": {
26
31
  ".": "./dist/index.js",
27
32
  "./package.json": "./package.json"
28
33
  },
29
- "main": "./dist/index.js",
30
- "types": "./dist/index.d.ts",
31
- "files": [
32
- "dist"
33
- ],
34
34
  "devDependencies": {
35
- "@sanity/pkg-utils": "^10.2.1",
35
+ "@sanity/pkg-utils": "^10.8.2",
36
36
  "@sanity/tsconfig": "^2.1.0",
37
37
  "@types/react": "^19.2.17",
38
38
  "@types/react-dom": "^19.2.3",
@@ -40,19 +40,19 @@
40
40
  "@vitest/browser": "^4.1.9",
41
41
  "@vitest/browser-playwright": "^4.1.9",
42
42
  "babel-plugin-react-compiler": "^1.0.0",
43
- "eslint": "^9.39.1",
43
+ "eslint": "^9.39.4",
44
44
  "eslint-plugin-react-hooks": "^7.1.1",
45
45
  "react": "^19.2.7",
46
- "typescript": "5.9.3",
47
- "typescript-eslint": "^8.48.0",
46
+ "typescript": "6.0.3",
47
+ "typescript-eslint": "^8.62.0",
48
48
  "vitest": "^4.1.9",
49
- "@portabletext/editor": "^7.9.0",
49
+ "@portabletext/editor": "^7.10.1",
50
50
  "@portabletext/schema": "^2.2.2",
51
51
  "@portabletext/test": "^1.0.4"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^19.2",
55
- "@portabletext/editor": "^7.9.0"
55
+ "@portabletext/editor": "^7.10.1"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=20.19 <22 || >=22.12"