@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.
- package/dist/GroupEditor.d.ts +1 -1
- package/dist/domain/Field.d.ts +3 -3
- package/dist/domain/Group.d.ts +1 -1
- package/dist/domain/StaticWidget.d.ts +0 -4
- package/dist/domain/Widget.d.ts +1 -2
- package/dist/domain/fields/ImageField/CroppedImage.d.ts +2 -2
- package/dist/domain/zones/SliceZone.d.ts +1 -4
- package/dist/fields/DateField.d.ts +4 -4
- package/dist/fields/ImageField/CropperDialog.d.ts +1 -1
- package/dist/fields/KeyTextField.d.ts +5 -5
- package/dist/fields/NumberField.d.ts +2 -2
- package/dist/fields/RichTextField/coreExtensions/Text.d.ts +1 -1
- package/dist/fields/RichTextField/extensions/Link.d.ts +2 -1
- package/dist/fields/RichTextField/models/Span.d.ts +1 -1
- package/dist/fields/SelectField.d.ts +2 -2
- package/dist/index.es.js +30834 -28603
- package/dist/index.umd.js +39 -39
- package/dist/slices/LegacySliceEditor.d.ts +2 -2
- package/dist/zones/RepeatableZoneEditor.d.ts +1 -1
- package/dist/zones/SliceZoneEditor.d.ts +1 -1
- package/package.json +24 -27
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { LegacySlice } from "@prismicio/types-internal/lib/customtypes
|
|
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
|
|
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
|
|
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": "
|
|
7
|
-
"@tiptap/core": "2.0.0-beta.
|
|
8
|
-
"@tiptap/extension-bold": "2.0.0-beta.
|
|
9
|
-
"@tiptap/extension-bullet-list": "2.0.0-beta.
|
|
10
|
-
"@tiptap/extension-code-block": "2.0.0-beta.
|
|
11
|
-
"@tiptap/extension-document": "2.0.0-beta.
|
|
12
|
-
"@tiptap/extension-hard-break": "2.0.0-beta.
|
|
13
|
-
"@tiptap/extension-heading": "2.0.0-beta.
|
|
14
|
-
"@tiptap/extension-italic": "2.0.0-beta.
|
|
15
|
-
"@tiptap/extension-link": "2.0.0-beta.
|
|
16
|
-
"@tiptap/extension-list-item": "2.0.0-beta.
|
|
17
|
-
"@tiptap/extension-ordered-list": "2.0.0-beta.
|
|
18
|
-
"@tiptap/extension-paragraph": "2.0.0-beta.
|
|
19
|
-
"@tiptap/extension-placeholder": "2.0.0-beta.
|
|
20
|
-
"@tiptap/extension-text": "2.0.0-beta.
|
|
21
|
-
"@tiptap/
|
|
22
|
-
"@tiptap/
|
|
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.
|
|
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": "
|
|
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": "
|
|
48
|
-
"vitest": "0.
|
|
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.
|
|
81
|
+
"version": "0.2.1"
|
|
85
82
|
}
|