@prismicio/editor-fields 0.2.0 → 0.2.1

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.
@@ -1,5 +1,5 @@
1
- import type { SimpleSliceContent } from "@prismicio/types-internal/lib/content";
2
- import type { LegacySlice } from "@prismicio/types-internal/lib/customtypes/widgets/slices";
1
+ import { type SimpleSliceContent } from "@prismicio/types-internal/lib/content";
2
+ import type { LegacySlice } from "@prismicio/types-internal/lib/customtypes";
3
3
  import type { FC } from "react";
4
4
  declare type LegacySliceEditorProps = Readonly<{
5
5
  content: SimpleSliceContent | undefined;
@@ -1,4 +1,4 @@
1
- import type { GroupItemContent } from "@prismicio/types-internal/lib/content";
1
+ import { GroupItemContent } from "@prismicio/types-internal/lib/content";
2
2
  import { type FC } from "react";
3
3
  import { type RepeatableZone } from "../domain/zones/RepeatableZone";
4
4
  declare type RepeatableZoneEditorProps = Readonly<{
@@ -1,4 +1,4 @@
1
- import type { SlicesContent as SliceZoneContent } from "@prismicio/types-internal/lib/content";
1
+ import { SlicesContent as SliceZoneContent } from "@prismicio/types-internal/lib/content";
2
2
  import type { StaticSlices as SliceZone } from "@prismicio/types-internal/lib/customtypes/widgets/slices/Slices";
3
3
  import type { FC } from "react";
4
4
  declare type SliceZoneEditorProps = Readonly<{
package/package.json CHANGED
@@ -3,49 +3,47 @@
3
3
  "@floating-ui/react-dom-interactions": "0.9.3",
4
4
  "@prismicio/editor-support": "0.2.0",
5
5
  "@prismicio/richtext": "2.1.1",
6
- "@prismicio/types-internal": "1.5.1",
7
- "@tiptap/core": "2.0.0-beta.183",
8
- "@tiptap/extension-bold": "2.0.0-beta.28",
9
- "@tiptap/extension-bullet-list": "2.0.0-beta.29",
10
- "@tiptap/extension-code-block": "2.0.0-beta.42",
11
- "@tiptap/extension-document": "2.0.0-beta.17",
12
- "@tiptap/extension-hard-break": "2.0.0-beta.33",
13
- "@tiptap/extension-heading": "2.0.0-beta.29",
14
- "@tiptap/extension-italic": "2.0.0-beta.28",
15
- "@tiptap/extension-link": "2.0.0-beta.43",
16
- "@tiptap/extension-list-item": "2.0.0-beta.23",
17
- "@tiptap/extension-ordered-list": "2.0.0-beta.30",
18
- "@tiptap/extension-paragraph": "2.0.0-beta.26",
19
- "@tiptap/extension-placeholder": "2.0.0-beta.53",
20
- "@tiptap/extension-text": "2.0.0-beta.17",
21
- "@tiptap/react": "2.0.0-beta.115",
22
- "@tiptap/suggestion": "2.0.0-beta.98",
6
+ "@prismicio/types-internal": "2.0.0-alpha.4",
7
+ "@tiptap/core": "2.0.0-beta.217",
8
+ "@tiptap/extension-bold": "2.0.0-beta.217",
9
+ "@tiptap/extension-bullet-list": "2.0.0-beta.217",
10
+ "@tiptap/extension-code-block": "2.0.0-beta.217",
11
+ "@tiptap/extension-document": "2.0.0-beta.217",
12
+ "@tiptap/extension-hard-break": "2.0.0-beta.217",
13
+ "@tiptap/extension-heading": "2.0.0-beta.217",
14
+ "@tiptap/extension-italic": "2.0.0-beta.217",
15
+ "@tiptap/extension-link": "2.0.0-beta.217",
16
+ "@tiptap/extension-list-item": "2.0.0-beta.217",
17
+ "@tiptap/extension-ordered-list": "2.0.0-beta.217",
18
+ "@tiptap/extension-paragraph": "2.0.0-beta.217",
19
+ "@tiptap/extension-placeholder": "2.0.0-beta.217",
20
+ "@tiptap/extension-text": "2.0.0-beta.217",
21
+ "@tiptap/pm": "2.0.0-beta.217",
22
+ "@tiptap/react": "2.0.0-beta.217",
23
+ "@tiptap/suggestion": "2.0.0-beta.217",
23
24
  "clsx": "1.2.1",
24
25
  "fp-ts": "2.12.3",
25
26
  "io-ts": "2.2.18",
26
27
  "io-ts-types": "0.5.16",
27
28
  "monocle-ts": "",
28
29
  "newtype-ts": "",
29
- "prosemirror-model": "1.18.1",
30
+ "prosemirror-model": "1.19.0",
30
31
  "tslib": "2.4.0",
31
32
  "zod": "3.19.1"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@types/react": "18.0.18",
35
- "@vitejs/plugin-react": "2.1.0",
36
- "@vitest/coverage-c8": "0.23.4",
36
+ "@vitejs/plugin-react-swc": "3.1.0",
37
37
  "eslint": "8.23.0",
38
38
  "eslint-config-prettier": "8.5.0",
39
- "eslint-plugin-jest-dom": "4.0.2",
40
39
  "eslint-plugin-jsx-a11y": "6.6.1",
41
40
  "eslint-plugin-react": "7.31.7",
42
41
  "eslint-plugin-react-hooks": "4.6.0",
43
- "eslint-plugin-testing-library": "5.6.2",
44
42
  "happy-dom": "6.0.4",
45
43
  "react": "18.2.0",
46
44
  "typescript": "4.8.2",
47
- "vite": "3.1.3",
48
- "vitest": "0.23.4"
45
+ "vite": "4.0.4",
46
+ "vitest": "0.28.5"
49
47
  },
50
48
  "exports": {
51
49
  ".": {
@@ -75,11 +73,10 @@
75
73
  "scripts": {
76
74
  "prepack": "$npm_execpath run vite-build",
77
75
  "vite-build": "vite build && tsc --build tsconfig-dist.json",
78
- "vitest": "vitest",
79
- "vitest-coverage": "vitest run --coverage"
76
+ "vitest": "vitest"
80
77
  },
81
78
  "sideEffects": false,
82
79
  "stableVersion": "0.0.0",
83
80
  "types": "./dist/index.d.ts",
84
- "version": "0.2.0"
81
+ "version": "0.2.1"
85
82
  }