@portabletext/plugin-list-index 1.0.10 → 1.0.12

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