sanity 5.8.1 → 5.8.2-next.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.
@@ -1,5 +1,5 @@
1
1
  import { A as StructureToolOptions, E as StructureResolver, O as StructureToolContextValue, _t as DefaultDocumentNodeResolver, f as DocumentPaneNode, i as PaneRouterContextValue, s as DocumentPaneContextValue, v as PaneNode } from "./types.js";
2
- import * as react633 from "react";
2
+ import * as react577 from "react";
3
3
  import { ComponentProps, ComponentType, ElementType, HTMLProps, ReactNode } from "react";
4
4
  import { Path, PreviewValue, SanityDocument, SanityDocumentLike, SchemaType, SortOrdering } from "@sanity/types";
5
5
  import { BoxOverflow, CardProps, SelectableTone } from "@sanity/ui";
@@ -54,7 +54,7 @@ interface ConfirmDeleteDialogProps {
54
54
  onConfirm: (versions: string[]) => void;
55
55
  }
56
56
  /** @internal */
57
- declare function ConfirmDeleteDialogContainer(props: ConfirmDeleteDialogProps): react633.JSX.Element;
57
+ declare function ConfirmDeleteDialogContainer(props: ConfirmDeleteDialogProps): react577.JSX.Element;
58
58
  interface PaneProps {
59
59
  children?: ReactNode;
60
60
  currentMinWidth?: number;
@@ -69,7 +69,7 @@ interface PaneProps {
69
69
  * @hidden
70
70
  * @internal
71
71
  */
72
- declare const Pane: react633.ForwardRefExoticComponent<Omit<PaneProps & Omit<CardProps, "as" | "overflow"> & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "hidden" | "id" | "style">, "ref"> & react633.RefAttributes<HTMLDivElement>>;
72
+ declare const Pane: react577.ForwardRefExoticComponent<Omit<PaneProps & Omit<CardProps, "as" | "overflow"> & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "hidden" | "id" | "style">, "ref"> & react577.RefAttributes<HTMLDivElement>>;
73
73
  interface PaneContentProps {
74
74
  as?: ElementType | keyof React.JSX.IntrinsicElements;
75
75
  overflow?: BoxOverflow;
@@ -79,7 +79,7 @@ interface PaneContentProps {
79
79
  * @hidden
80
80
  * @internal
81
81
  */
82
- declare const PaneContent: react633.ForwardRefExoticComponent<PaneContentProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref"> & react633.RefAttributes<HTMLDivElement>>;
82
+ declare const PaneContent: react577.ForwardRefExoticComponent<PaneContentProps & Omit<HTMLProps<HTMLDivElement>, "as" | "height" | "ref"> & react577.RefAttributes<HTMLDivElement>>;
83
83
  /**
84
84
  *
85
85
  * @hidden
@@ -95,7 +95,7 @@ interface PaneLayoutProps {
95
95
  * @hidden
96
96
  * @beta This API will change. DO NOT USE IN PRODUCTION.
97
97
  */
98
- declare function PaneLayout(props: PaneLayoutProps & CardProps & Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'wrap'>): react633.JSX.Element;
98
+ declare function PaneLayout(props: PaneLayoutProps & CardProps & Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'wrap'>): react577.JSX.Element;
99
99
  /**
100
100
  *
101
101
  * @hidden
@@ -663,7 +663,7 @@ type DocumentPaneOptions = DocumentPaneNode['options'];
663
663
  /**
664
664
  * @internal
665
665
  */
666
- declare const DocumentPane: react633.NamedExoticComponent<DocumentPaneProviderProps>;
666
+ declare const DocumentPane: react577.NamedExoticComponent<DocumentPaneProviderProps>;
667
667
  /**
668
668
  * @internal
669
669
  */
@@ -671,7 +671,7 @@ declare function usePaneOptions(options: DocumentPaneOptions, params?: Record<st
671
671
  /**
672
672
  * @internal
673
673
  */
674
- declare const DocumentPaneProviderWrapper: react633.MemoExoticComponent<(props: DocumentPaneProviderProps) => react633.JSX.Element>;
674
+ declare const DocumentPaneProviderWrapper: react577.MemoExoticComponent<(props: DocumentPaneProviderProps) => react577.JSX.Element>;
675
675
  /**
676
676
  * useDocumentTitle hook return type.
677
677
  *
@@ -699,13 +699,13 @@ interface DocumentInspectorHeaderProps {
699
699
  title: ReactNode;
700
700
  }
701
701
  /** @internal */
702
- declare function DocumentInspectorHeader(props: DocumentInspectorHeaderProps & Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref'>): react633.JSX.Element;
702
+ declare function DocumentInspectorHeader(props: DocumentInspectorHeaderProps & Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref'>): react577.JSX.Element;
703
703
  /** @internal */
704
704
  declare function useDocumentPane(): DocumentPaneContextValue;
705
705
  /**
706
706
  * @internal
707
707
  */
708
- declare const PaneContainer: react633.NamedExoticComponent<BaseStructureToolPaneProps<"documentList">>;
708
+ declare const PaneContainer: react577.NamedExoticComponent<BaseStructureToolPaneProps<"documentList">>;
709
709
  /**
710
710
  * @internal
711
711
  */
@@ -1,4 +1,4 @@
1
- var version = "5.8.1", peerDependencies = {
1
+ var version = "5.8.2-next.1+7a166946ce", peerDependencies = {
2
2
  "styled-components": "^6.1.15"
3
3
  };
4
4
  export {
@@ -7,7 +7,7 @@ try {
7
7
  try {
8
8
  buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
9
9
  // and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
10
- "5.8.1";
10
+ "5.8.2-next.1+7a166946ce";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;