@prismicio/editor-fields 0.4.74 → 0.4.75-alpha.support-new-cr-model.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.
Files changed (30) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +10 -10
  2. package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +1 -1
  3. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +6 -7
  4. package/dist/core/APIExplorer/constants.d.ts +1 -0
  5. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
  6. package/dist/core/APIExplorer/utils.d.ts +3 -0
  7. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +76 -76
  8. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +8 -8
  9. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +8 -8
  10. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  11. package/dist/core/document.d.ts +1 -1
  12. package/dist/core/service/customType.d.ts +153 -32
  13. package/dist/core/service/document.d.ts +146 -146
  14. package/dist/core/service/documentSearch.d.ts +37 -37
  15. package/dist/core/service/onboarding.d.ts +3 -3
  16. package/dist/core/service/repository.d.ts +6 -6
  17. package/dist/core/service/role.d.ts +64 -64
  18. package/dist/core/service/user.d.ts +8 -8
  19. package/dist/fields/ImageField/useImageField.d.ts +8 -8
  20. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
  21. package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
  22. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  23. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  24. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
  25. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
  26. package/dist/index.cjs.js +50 -61
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.es.js +15514 -15410
  29. package/dist/slices/utils.d.ts +5 -5
  30. package/package.json +5 -5
@@ -291,7 +291,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
291
291
  label?: string | null | undefined;
292
292
  direction?: string | null | undefined;
293
293
  }) | ({
294
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
294
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
295
295
  content: {
296
296
  text: string;
297
297
  } & {
@@ -344,7 +344,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
344
344
  } | {
345
345
  start: number;
346
346
  end: number;
347
- type: "strong" | "em" | "list-item";
347
+ type: "em" | "strong" | "list-item";
348
348
  })[] | undefined;
349
349
  };
350
350
  } & {
@@ -362,7 +362,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
362
362
  content: ({
363
363
  key: string;
364
364
  } & {
365
- type: "tableHeader" | "tableCell";
365
+ type: "tableCell" | "tableHeader";
366
366
  content: {
367
367
  __TYPE__: "StructuredTextContent";
368
368
  value: (({
@@ -456,7 +456,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
456
456
  label?: string | null | undefined;
457
457
  direction?: string | null | undefined;
458
458
  }) | ({
459
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
459
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
460
460
  content: {
461
461
  text: string;
462
462
  } & {
@@ -509,7 +509,7 @@ export declare function maybeResetSliceWidget(args: MaybeResetSliceWidgetArgs):
509
509
  } | {
510
510
  start: number;
511
511
  end: number;
512
- type: "strong" | "em" | "list-item";
512
+ type: "em" | "strong" | "list-item";
513
513
  })[] | undefined;
514
514
  };
515
515
  } & {
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "dependencies": {
3
3
  "@floating-ui/react-dom-interactions": "0.9.3",
4
4
  "@prismicio/client": "7.15.1",
5
- "@prismicio/editor-support": "0.4.74",
5
+ "@prismicio/editor-support": "0.4.75-alpha.support-new-cr-model.1",
6
6
  "@prismicio/richtext": "2.1.1",
7
- "@prismicio/types-internal": "3.8.0",
7
+ "@prismicio/types-internal": "3.9.0",
8
8
  "@tiptap/core": "2.11.5",
9
9
  "@tiptap/extension-bold": "2.11.5",
10
10
  "@tiptap/extension-bullet-list": "2.11.5",
@@ -38,7 +38,7 @@
38
38
  "zod": "3.23.8"
39
39
  },
40
40
  "devDependencies": {
41
- "@prismicio/editor-ui": "^0.4.74",
41
+ "@prismicio/editor-ui": "^0.4.75-alpha.support-new-cr-model.1",
42
42
  "@testing-library/react": "15.0.7",
43
43
  "@types/react": "18.0.18",
44
44
  "@types/react-dom": "18.3.0",
@@ -72,7 +72,7 @@
72
72
  "module": "./dist/index.es.js",
73
73
  "name": "@prismicio/editor-fields",
74
74
  "peerDependencies": {
75
- "@prismicio/editor-ui": "^0.4.74",
75
+ "@prismicio/editor-ui": "^0.4.75-alpha.support-new-cr-model.1",
76
76
  "@tanstack/react-query": "5.55.4",
77
77
  "react": "18",
78
78
  "react-dom": "18"
@@ -90,5 +90,5 @@
90
90
  "sideEffects": false,
91
91
  "stableVersion": "0.0.0",
92
92
  "types": "./dist/index.d.ts",
93
- "version": "0.4.74"
93
+ "version": "0.4.75-alpha.support-new-cr-model.1"
94
94
  }