@prismicio/editor-fields 0.4.84 → 0.4.85

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 (134) hide show
  1. package/dist/DocumentEditor.d.ts +0 -1
  2. package/dist/EditorConfig.d.ts +15 -3
  3. package/dist/GroupAndNestableWidgetSwitch.d.ts +0 -1
  4. package/dist/GroupEditor.d.ts +0 -1
  5. package/dist/NestableWidgetSwitch.d.ts +0 -1
  6. package/dist/SectionEditor.d.ts +0 -1
  7. package/dist/SliceSelection.d.ts +0 -1
  8. package/dist/core/APIExplorer/APIExplorer.d.ts +0 -1
  9. package/dist/core/APIExplorer/components/APIExplorerRequest.d.ts +0 -1
  10. package/dist/core/APIExplorer/components/APIExplorerResponse.d.ts +0 -1
  11. package/dist/core/APIExplorer/components/Request/components/RequestAPIPathFieldset.d.ts +0 -1
  12. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigDialog.d.ts +0 -1
  13. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/RequestFiltersFieldset.d.ts +0 -1
  14. package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +0 -1
  15. package/dist/core/APIExplorer/components/Request/components/RequestFormInputBase.d.ts +0 -1
  16. package/dist/core/APIExplorer/components/Request/components/RequestFormMultiInput.d.ts +0 -1
  17. package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +0 -1
  18. package/dist/core/APIExplorer/components/Request/components/RequestLangFieldset.d.ts +0 -1
  19. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/OrderingConfigDialog.d.ts +0 -1
  20. package/dist/core/APIExplorer/components/Request/components/RequestOrderingsFieldset/RequestOrderingsFieldset.d.ts +0 -1
  21. package/dist/core/APIExplorer/components/Request/components/RequestPaginationFieldset.d.ts +0 -1
  22. package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +0 -1
  23. package/dist/core/APIExplorer/components/Request/components/RequestTagFieldset.d.ts +0 -1
  24. package/dist/core/APIExplorer/components/Request/components/RequestTagsFieldset.d.ts +0 -1
  25. package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +0 -1
  26. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +0 -1
  27. package/dist/core/EditorErrorBoundary.d.ts +0 -1
  28. package/dist/core/MediaLibrary/MediaLibrary.d.ts +0 -1
  29. package/dist/core/MediaLibrary/components/EmptyMediaList.d.ts +0 -1
  30. package/dist/core/MediaLibrary/components/MediaLibraryRenderError.d.ts +0 -1
  31. package/dist/core/MediaLibrary/components/MediaLibrarySkeleton.d.ts +0 -1
  32. package/dist/core/MediaLibrary/components/Sidepane/DefaultSidepaneContent.d.ts +0 -1
  33. package/dist/core/MediaLibrary/components/Sidepane/Sidepane.d.ts +0 -1
  34. package/dist/core/MediaLibrary/components/Sidepane/SidepaneContent.d.ts +0 -1
  35. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneHeader.d.ts +0 -1
  36. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneImage.d.ts +0 -1
  37. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadata.d.ts +0 -1
  38. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/MultiMediaMetadataTags.d.ts +0 -1
  39. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/SingleMediaMetadataTags.d.ts +0 -1
  40. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneMetadataTags/Tags.d.ts +0 -1
  41. package/dist/core/MediaLibrary/components/Sidepane/components/SidepaneTagManager.d.ts +0 -1
  42. package/dist/core/MediaLibrary/components/Toolbar/AssetCount.d.ts +0 -1
  43. package/dist/core/MediaLibrary/components/Toolbar/Toolbar.d.ts +0 -1
  44. package/dist/core/MediaLibrary/components/Toolbar/filters/AssetTypeFilter.d.ts +0 -1
  45. package/dist/core/MediaLibrary/components/Toolbar/filters/TagsFilter.d.ts +0 -1
  46. package/dist/core/MediaLibrary/components/Toolbar/filters/UploaderFilter.d.ts +0 -1
  47. package/dist/core/OnboardingGuide/components/OnboardingCard.d.ts +0 -1
  48. package/dist/core/OnboardingGuide/components/OnboardingProgressStepper.d.ts +0 -1
  49. package/dist/core/OnboardingGuide/components/OnboardingTutorial.d.ts +0 -1
  50. package/dist/core/SelectionManager/SelectionManager.d.ts +0 -1
  51. package/dist/core/SeoMetadata/components/MetadataBadge.d.ts +0 -1
  52. package/dist/core/SeoMetadata/components/MetadataPreview.d.ts +0 -1
  53. package/dist/core/UnsplashLibrary/UnsplashLibrary.d.ts +0 -1
  54. package/dist/core/service/onboarding.d.ts +0 -1
  55. package/dist/fields/BooleanField.d.ts +0 -1
  56. package/dist/fields/ColorField/ColorField.d.ts +0 -1
  57. package/dist/fields/DateField.d.ts +0 -1
  58. package/dist/fields/EmbedField/EmbedField.d.ts +0 -1
  59. package/dist/fields/EmbedField/EmbedFooter.d.ts +4 -1
  60. package/dist/fields/FieldTextInput.d.ts +0 -1
  61. package/dist/fields/GeoPointField/GeoPointField.d.ts +2 -5
  62. package/dist/fields/ImageField/Components/EmptyCardContent.d.ts +0 -1
  63. package/dist/fields/ImageField/Components/ImageAltControl.d.ts +0 -1
  64. package/dist/fields/ImageField/Components/ImageFieldHeader.d.ts +0 -1
  65. package/dist/fields/ImageField/Components/ImageFieldTitle.d.ts +0 -1
  66. package/dist/fields/ImageField/Components/ImageLinkControl.d.ts +0 -1
  67. package/dist/fields/ImageField/Components/NonEmptyCardContent.d.ts +0 -1
  68. package/dist/fields/ImageField/CropperDialog/CropperControls.d.ts +1 -2
  69. package/dist/fields/ImageField/CropperDialog/CropperDialog.d.ts +1 -1
  70. package/dist/fields/ImageField/CropperDialog/croppedImage.d.ts +1 -27
  71. package/dist/fields/ImageField/ImageField.d.ts +0 -1
  72. package/dist/fields/ImageField/MediaDialog/MediaDialog.d.ts +0 -1
  73. package/dist/fields/IntegrationField/IntegrationDialog.d.ts +0 -1
  74. package/dist/fields/IntegrationField/IntegrationField.d.ts +0 -1
  75. package/dist/fields/IntegrationField/IntegrationInput.d.ts +0 -1
  76. package/dist/fields/IntegrationField/IntegrationPreviewCard.d.ts +0 -1
  77. package/dist/fields/KeyTextField.d.ts +0 -1
  78. package/dist/fields/LinkField/Documents/DocumentCard.d.ts +0 -1
  79. package/dist/fields/LinkField/Documents/DocumentsModal.d.ts +0 -1
  80. package/dist/fields/LinkField/Documents/Filters.d.ts +0 -1
  81. package/dist/fields/LinkField/Documents/useFilters.d.ts +0 -1
  82. package/dist/fields/LinkField/LinkDescriptionCard.d.ts +0 -1
  83. package/dist/fields/LinkField/LinkField.d.ts +0 -1
  84. package/dist/fields/LinkField/LinkFieldActions.d.ts +0 -1
  85. package/dist/fields/LinkField/LinkImageCard.d.ts +0 -1
  86. package/dist/fields/LinkField/LinkOrRepeatableLinkField.d.ts +0 -1
  87. package/dist/fields/LinkField/RepeatableLinkField/RepeatableLinkField.d.ts +0 -1
  88. package/dist/fields/LinkField/RepeatableLinkField/RepeatableLinkFieldActions.d.ts +0 -1
  89. package/dist/fields/LinkField/WebLinks/WebLinkModal.d.ts +0 -1
  90. package/dist/fields/LinkField/useLinkField.d.ts +0 -1
  91. package/dist/fields/MetadataTextField.d.ts +0 -1
  92. package/dist/fields/RichTextField/BubbleMenu/BubbleMenu.d.ts +0 -1
  93. package/dist/fields/RichTextField/BubbleMenu/ExtraItems.d.ts +0 -1
  94. package/dist/fields/RichTextField/BubbleMenu/Label/LabelItems.d.ts +0 -1
  95. package/dist/fields/RichTextField/BubbleMenu/Label/LabelPopover.d.ts +0 -1
  96. package/dist/fields/RichTextField/BubbleMenu/Link/DocumentDescriptionCard.d.ts +0 -1
  97. package/dist/fields/RichTextField/BubbleMenu/Link/LinkItems.d.ts +0 -1
  98. package/dist/fields/RichTextField/BubbleMenu/Link/LinkPopover.d.ts +0 -1
  99. package/dist/fields/RichTextField/BubbleMenu/Link/SetDocumentLinkModal.d.ts +0 -1
  100. package/dist/fields/RichTextField/BubbleMenu/Link/SetMediaLinkModal.d.ts +0 -1
  101. package/dist/fields/RichTextField/BubbleMenu/Link/SetWebLinkModal.d.ts +0 -1
  102. package/dist/fields/RichTextField/BubbleMenu/MarkItems.d.ts +0 -1
  103. package/dist/fields/RichTextField/BubbleMenu/NodeItems.d.ts +0 -1
  104. package/dist/fields/RichTextField/RichTextField.d.ts +3 -2
  105. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +1 -1
  106. package/dist/fields/RichTextField/coreExtensions/Text.d.ts +1 -1
  107. package/dist/fields/RichTextField/extensions/Embed/EmbedView.d.ts +0 -1
  108. package/dist/fields/RichTextField/extensions/Embed/useEmbedView.d.ts +10 -2
  109. package/dist/fields/RichTextField/extensions/Image/ImageView.d.ts +0 -1
  110. package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +1 -1
  111. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +1 -1
  112. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +1 -1
  113. package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +0 -1
  114. package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +1 -1
  115. package/dist/fields/RichTextField/extensions/Table/menus/TableFloatingMenus.d.ts +0 -1
  116. package/dist/fields/RichTextField/extensions/Table/plugins/tableCellFocusPlugin.d.ts +1 -1
  117. package/dist/fields/RichTextField/extensions/Table/plugins/tableHandles/utils.d.ts +1 -1
  118. package/dist/fields/RichTextField/extensions/Table/utils.d.ts +1 -1
  119. package/dist/fields/RichTextField/models/EditorExtension.d.ts +1 -1
  120. package/dist/fields/SelectField.d.ts +0 -1
  121. package/dist/fields/TableField/TableField.d.ts +0 -1
  122. package/dist/fields/TimestampField.d.ts +0 -1
  123. package/dist/fields/UIDField.d.ts +0 -1
  124. package/dist/index.cjs.js +50 -43
  125. package/dist/index.es.js +33693 -25601
  126. package/dist/slices/SharedSliceEditor.d.ts +0 -1
  127. package/dist/zones/Components/LegacyCustomLabelSelect.d.ts +0 -1
  128. package/dist/zones/NonRepeatableZoneEditor.d.ts +0 -1
  129. package/dist/zones/RepeatableZoneEditor.d.ts +0 -1
  130. package/dist/zones/SlicePrimaryZoneEditor.d.ts +0 -1
  131. package/dist/zones/SliceZoneEditor.d.ts +0 -1
  132. package/dist/zones/StaticZoneEditor.d.ts +0 -1
  133. package/package.json +10 -65
  134. package/dist/core/Collaboration/CollaborationPresence.d.ts +0 -7
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LinkImageCardProps {
3
2
  url: string;
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type NestableContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { Link } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface LinkOrRepeatableLinkFieldProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RepeatableContent } from "@prismicio/types-internal/lib/content";
3
2
  import { type Link } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface RepeatableLinkFieldProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface RepeatableLinkFieldActionsProps {
3
2
  onDelete: () => void;
4
3
  onMoveUp: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface WebLinkOptions {
3
2
  newTab: boolean;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ErrorBoundary } from "@prismicio/editor-ui";
3
2
  import { type LinkContent } from "@prismicio/types-internal/lib/content";
4
3
  import type { Link } from "@prismicio/types-internal/lib/customtypes";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Document, type TextContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { StaticCustomType, Text } from "@prismicio/types-internal/lib/customtypes";
4
3
  import { type MetadataType } from "../core/service";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface BubbleMenuProps {
4
3
  editor: Editor;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  import type { MenuItem } from "../models/MenuItems";
4
3
  interface ExtraItemsProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface NodeItemsProps {
4
3
  labels: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface LabelPopoverProps {
4
3
  editor: Editor;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface DocumentDescriptionCardProps {
3
2
  docId: string;
4
3
  onEdit: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  import type { Modal } from "../BubbleMenu";
4
3
  interface LinkItemsProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface LinkPopoverProps {
4
3
  editor: Editor;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface SetDocumentLinkModalProps {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface SetMediaLinkModalProps {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface SetWebLinkModalProps {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  import type { MenuItem } from "../models/MenuItems";
4
3
  interface MarkItemsProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  import type { MenuItem } from "../models/MenuItems";
4
3
  interface NodeItemsProps {
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { type IconName } from "@prismicio/editor-ui";
3
2
  import type { RichText } from "@prismicio/types-internal/lib/customtypes";
3
+ import { Transaction } from "@tiptap/pm/state";
4
4
  import type { ExtendedRichTextContent } from "./types";
5
5
  interface Props<TContent extends ExtendedRichTextContent> {
6
6
  id: string;
@@ -19,5 +19,6 @@ interface Props<TContent extends ExtendedRichTextContent> {
19
19
  shouldReturnEmptyContent?: boolean;
20
20
  icon?: IconName;
21
21
  }
22
- export declare function RichTextField<TContent extends ExtendedRichTextContent>(props: Props<TContent>): JSX.Element | null;
22
+ export declare function RichTextField<TContent extends ExtendedRichTextContent>(props: Props<TContent>): JSX.Element;
23
+ export declare function isTransactionFromExternalUpdate(transaction: Transaction): boolean;
23
24
  export {};
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import type { Node as ProsemirrorNode, Schema } from "@tiptap/pm/model";
3
3
  declare const _default: {
4
4
  component: import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>;
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import type { TextBlock } from "@prismicio/types-internal/lib/content";
3
3
  import type { RichTextNodeType } from "@prismicio/types-internal/lib/customtypes";
4
4
  import type { Node as ProsemirrorNode, Schema } from "@tiptap/pm/model";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { EmbedContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
4
3
  import { type NodeViewProps } from "@tiptap/react";
@@ -1,3 +1,4 @@
1
+ import type { ErrorBoundary } from "@prismicio/editor-ui";
1
2
  import type { EmbedContent } from "@prismicio/types-internal/lib/content";
2
3
  import { type KeyboardEvent, type RefObject } from "react";
3
4
  import type { EmbedViewProps } from "./EmbedView";
@@ -5,10 +6,13 @@ export declare function useEmbedView(props: EmbedViewProps, inputRef: RefObject<
5
6
  inputRef: RefObject<HTMLInputElement>;
6
7
  containerRef: RefObject<HTMLDivElement>;
7
8
  onKeyDown: (event: KeyboardEvent<Element>) => void;
8
- url: string;
9
+ url: {
10
+ debouncedValue: string;
11
+ set: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ value: string;
13
+ };
9
14
  urlChanged: (newUrl: string) => void;
10
15
  onContentChange: (content?: EmbedContent) => void;
11
- debouncedUrl: string;
12
16
  content: ({
13
17
  embed_url: string;
14
18
  type: string;
@@ -28,4 +32,8 @@ export declare function useEmbedView(props: EmbedViewProps, inputRef: RefObject<
28
32
  __TYPE__: "EmbedContent";
29
33
  all: unknown;
30
34
  }) | undefined;
35
+ setIsFocused: import("react").Dispatch<import("react").SetStateAction<boolean>>;
36
+ errorBoundary: RefObject<ErrorBoundary>;
37
+ onError: () => void;
38
+ clearField: () => void;
31
39
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
3
2
  import { type NodeViewProps } from "@tiptap/react";
4
3
  import { type ImageBlockData } from "../../../../core/imageUtils";
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import { TableContent } from "@prismicio/types-internal/lib/content";
3
3
  import { Node as ProseMirrorNode, type Schema } from "@tiptap/pm/model";
4
4
  type TableRowBlock = TableContent["content"][number];
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import { TableContent } from "@prismicio/types-internal/lib/content";
3
3
  import type { Node as ProseMirrorNode, Schema } from "@tiptap/pm/model";
4
4
  type TableRowBlock = TableContent["content"][number];
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import type { Block } from "@prismicio/types-internal/lib/content";
3
3
  import type { Node as ProseMirrorNode, Schema } from "@tiptap/pm/model";
4
4
  export declare function mapTableCellToParagraph(id: string, schema: Schema, block: Block, threads?: ThreadData<BaseMetadata>[]): ProseMirrorNode | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface LimitModalProps {
4
3
  editor: Editor;
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import { TableContent } from "@prismicio/types-internal/lib/content";
3
3
  import type { Node as ProseMirrorNode, Schema } from "@tiptap/pm/model";
4
4
  type TableRowBlock = TableContent["content"][number];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Editor } from "@tiptap/core";
3
2
  interface TableHandlesMenusProps {
4
3
  editor: Editor;
@@ -1,4 +1,4 @@
1
- import { Editor } from "@tiptap/core";
1
+ import type { Editor } from "@tiptap/core";
2
2
  import { Plugin } from "@tiptap/pm/state";
3
3
  /**
4
4
  * Focus plugin based on `extension-focus`, but only for table cells and with
@@ -1,4 +1,4 @@
1
- import { type Editor } from "@tiptap/core";
1
+ import type { Editor } from "@tiptap/core";
2
2
  import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
3
3
  import type { Selection } from "@tiptap/pm/state";
4
4
  interface NodePos {
@@ -1,4 +1,4 @@
1
- import { Editor } from "@tiptap/core";
1
+ import { type Editor } from "@tiptap/core";
2
2
  import { type Schema } from "@tiptap/pm/model";
3
3
  import type { EditorState, Selection, Transaction } from "@tiptap/pm/state";
4
4
  export declare function getNodeFromSchema(schema: Schema, name: string): import("prosemirror-model").NodeType;
@@ -1,4 +1,4 @@
1
- import type { BaseMetadata, ThreadData } from "@liveblocks/core";
1
+ import type { BaseMetadata, ThreadData } from "@liveblocks/client";
2
2
  import type { EmbedBlock, ImageBlock, TextBlock } from "@prismicio/types-internal/lib/content";
3
3
  import type { Node } from "@tiptap/core";
4
4
  import type { Node as ProsemirrorNode, Schema } from "@tiptap/pm/model";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { Select as SelectT } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface Props {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableContent } from "@prismicio/types-internal/lib/content";
3
2
  import { type Table } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface Props {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { TimestampContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { Timestamp } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface Props {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UIDContent } from "@prismicio/types-internal/lib/content";
3
2
  import type { UID as UIDType } from "@prismicio/types-internal/lib/customtypes";
4
3
  interface UIDFieldProps {