@prismicio/editor-fields 0.4.72 → 0.4.73

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 (29) hide show
  1. package/dist/EditorConfig.d.ts +2 -10
  2. package/dist/core/APIExplorer/APIExplorer.d.ts +4 -1
  3. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +36 -8
  4. package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
  5. package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +12 -3
  6. package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
  7. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
  8. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +6 -0
  9. package/dist/core/APIExplorer/hooks/useRequestRepository.d.ts +1 -1
  10. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +31 -31
  11. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +3 -3
  12. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +3 -3
  13. package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
  14. package/dist/core/service/customType.d.ts +9 -9
  15. package/dist/core/service/document.d.ts +151 -151
  16. package/dist/core/service/documentSearch.d.ts +40 -40
  17. package/dist/core/service/repository.d.ts +12 -12
  18. package/dist/fields/ImageField/useImageField.d.ts +3 -3
  19. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +3 -3
  20. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  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/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  24. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +3 -3
  25. package/dist/index.cjs.js +42 -42
  26. package/dist/index.es.js +12451 -12397
  27. package/dist/slices/utils.d.ts +4 -4
  28. package/package.json +4 -4
  29. package/dist/core/APIExplorer/hooks/useRequestRepositoryCustomTypes.d.ts +0 -6
@@ -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: "em" | "embed" | "strong" | "image" | "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
  } & {
@@ -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: "em" | "embed" | "strong" | "image" | "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,7 +2,7 @@
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.72",
5
+ "@prismicio/editor-support": "0.4.73",
6
6
  "@prismicio/richtext": "2.1.1",
7
7
  "@prismicio/types-internal": "3.8.0",
8
8
  "@tiptap/core": "2.11.5",
@@ -38,7 +38,7 @@
38
38
  "zod": "3.23.8"
39
39
  },
40
40
  "devDependencies": {
41
- "@prismicio/editor-ui": "^0.4.72",
41
+ "@prismicio/editor-ui": "^0.4.73",
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.72",
75
+ "@prismicio/editor-ui": "^0.4.73",
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.72"
93
+ "version": "0.4.73"
94
94
  }
@@ -1,6 +0,0 @@
1
- export declare function useRequestRepositoryCustomTypes(nonRepeatableOnly?: boolean): {
2
- status: boolean;
3
- id: string;
4
- label: string;
5
- repeatable: boolean;
6
- }[];