@prismicio/editor-fields 0.4.70 → 0.4.71

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 (28) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +70 -31
  2. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -2
  3. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
  4. package/dist/core/APIExplorer/components/Request/types.d.ts +1 -0
  5. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +44 -44
  6. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  7. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
  8. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
  9. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  10. package/dist/core/service/customType.d.ts +20 -20
  11. package/dist/core/service/document.d.ts +174 -174
  12. package/dist/core/service/documentSearch.d.ts +40 -40
  13. package/dist/core/service/repository.d.ts +6 -6
  14. package/dist/core/service/role.d.ts +10 -10
  15. package/dist/fields/ImageField/useImageField.d.ts +4 -4
  16. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
  17. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  18. package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
  19. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  20. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  21. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  22. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
  23. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +2 -0
  24. package/dist/fields/RichTextField/extensions/Table/plugins/index.d.ts +1 -0
  25. package/dist/fields/RichTextField/extensions/Table/plugins/tableCellFocusPlugin.d.ts +9 -0
  26. package/dist/index.cjs.js +46 -46
  27. package/dist/index.es.js +17886 -17511
  28. package/package.json +4 -4
@@ -12,9 +12,11 @@ export interface TableOptions extends TTTableOptions {
12
12
  * table content.
13
13
  */
14
14
  export declare class TableView extends TTTableView implements NodeView {
15
+ private selectionOverlay;
15
16
  constructor(args: {
16
17
  node: ProseMirrorNode;
17
18
  editor: Editor;
18
19
  }, options: TableOptions);
20
+ destroy(): void;
19
21
  ignoreMutation(mutation: ViewMutationRecord): boolean;
20
22
  }
@@ -1 +1,2 @@
1
+ export { tableCellFocusPlugin } from "./tableCellFocusPlugin";
1
2
  export { tableHandlesPlugin } from "./tableHandles";
@@ -0,0 +1,9 @@
1
+ import { Editor } from "@tiptap/core";
2
+ import { Plugin } from "@tiptap/pm/state";
3
+ /**
4
+ * Focus plugin based on `extension-focus`, but only for table cells and with
5
+ * a small fix to prevent focus jumping when it's a cell selection.
6
+ * Applies a className of `focusedCell` to the cell that is focused.
7
+ * See: https://github.com/ueberdosis/tiptap/blob/v2.11.5/packages/extension-focus/src/focus.ts
8
+ */
9
+ export declare function tableCellFocusPlugin(editor: Editor): Plugin<any>;