@sanity/ui 3.4.0 → 3.4.2

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.
@@ -964,7 +964,7 @@ interface VirtualListProps<Item = any> {
964
964
  /**
965
965
  * @beta
966
966
  */
967
- declare const VirtualList: import("react").ForwardRefExoticComponent<VirtualListProps<any> & StackOwnProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "onChange" | "ref"> & import("react").RefAttributes<HTMLDivElement>>;
967
+ declare const VirtualList: import("react").ForwardRefExoticComponent<VirtualListProps<any> & StackOwnProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "ref" | "children" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
968
968
  /** @beta */
969
969
  type PopoverUpdateCallback = () => void;
970
970
  /** @public */
@@ -1050,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
1050
1050
  *
1051
1051
  * @public
1052
1052
  */
1053
- declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "width" | "content">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1053
+ declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "width" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1054
1054
  /**
1055
1055
  * @public
1056
1056
  */
@@ -1241,7 +1241,7 @@ interface TooltipProps extends Omit<LayerProps, 'as'> {
1241
1241
  *
1242
1242
  * @public
1243
1243
  */
1244
- declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "content">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1244
+ declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1245
1245
  /**
1246
1246
  * @public
1247
1247
  * */
@@ -964,7 +964,7 @@ interface VirtualListProps<Item = any> {
964
964
  /**
965
965
  * @beta
966
966
  */
967
- declare const VirtualList: import("react").ForwardRefExoticComponent<VirtualListProps<any> & StackOwnProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "onChange" | "ref"> & import("react").RefAttributes<HTMLDivElement>>;
967
+ declare const VirtualList: import("react").ForwardRefExoticComponent<VirtualListProps<any> & StackOwnProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "ref" | "children" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
968
968
  /** @beta */
969
969
  type PopoverUpdateCallback = () => void;
970
970
  /** @public */
@@ -1050,7 +1050,7 @@ interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, Re
1050
1050
  *
1051
1051
  * @public
1052
1052
  */
1053
- declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "width" | "content">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1053
+ declare const Popover: import("react").ForwardRefExoticComponent<Omit<PopoverProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "width" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1054
1054
  /**
1055
1055
  * @public
1056
1056
  */
@@ -1241,7 +1241,7 @@ interface TooltipProps extends Omit<LayerProps, 'as'> {
1241
1241
  *
1242
1242
  * @public
1243
1243
  */
1244
- declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "content">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1244
+ declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "content" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
1245
1245
  /**
1246
1246
  * @public
1247
1247
  * */
package/dist/index.d.mts CHANGED
@@ -473,22 +473,22 @@ interface CodeSkeletonProps extends SkeletonProps {
473
473
  * This API might change. DO NOT USE IN PRODUCTION.
474
474
  * @beta
475
475
  */
476
- declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
476
+ declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
477
477
  /**
478
478
  * This API might change. DO NOT USE IN PRODUCTION.
479
479
  * @beta
480
480
  */
481
- declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
481
+ declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
482
482
  /**
483
483
  * This API might change. DO NOT USE IN PRODUCTION.
484
484
  * @beta
485
485
  */
486
- declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
486
+ declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
487
487
  /**
488
488
  * This API might change. DO NOT USE IN PRODUCTION.
489
489
  * @beta
490
490
  */
491
- declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
491
+ declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
492
492
  /**
493
493
  * @public
494
494
  */
package/dist/index.d.ts CHANGED
@@ -473,22 +473,22 @@ interface CodeSkeletonProps extends SkeletonProps {
473
473
  * This API might change. DO NOT USE IN PRODUCTION.
474
474
  * @beta
475
475
  */
476
- declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
476
+ declare const TextSkeleton: import("react").ForwardRefExoticComponent<Omit<TextSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
477
477
  /**
478
478
  * This API might change. DO NOT USE IN PRODUCTION.
479
479
  * @beta
480
480
  */
481
- declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
481
+ declare const LabelSkeleton: import("react").ForwardRefExoticComponent<Omit<LabelSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
482
482
  /**
483
483
  * This API might change. DO NOT USE IN PRODUCTION.
484
484
  * @beta
485
485
  */
486
- declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
486
+ declare const HeadingSkeleton: import("react").ForwardRefExoticComponent<Omit<HeadingSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
487
487
  /**
488
488
  * This API might change. DO NOT USE IN PRODUCTION.
489
489
  * @beta
490
490
  */
491
- declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "children" | "height" | "size">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
491
+ declare const CodeSkeleton: import("react").ForwardRefExoticComponent<Omit<CodeSkeletonProps & Omit<import("react").HTMLProps<HTMLDivElement>, "as" | "size" | "height" | "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
492
492
  /**
493
493
  * @public
494
494
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ui",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "keywords": [
5
5
  "components",
6
6
  "design-system",
@@ -55,13 +55,13 @@
55
55
  "dependencies": {
56
56
  "@floating-ui/react-dom": "^2.1.9",
57
57
  "@juggle/resize-observer": "^3.4.0",
58
- "@sanity/color": "^3.0.6",
59
- "@sanity/icons": "^5.2.0",
60
58
  "csstype": "^3.2.3",
61
59
  "motion": "^12.42.2",
62
60
  "react-compiler-runtime": "1.0.0",
63
61
  "react-refractor": "^4.0.0",
64
- "use-effect-event": "^2.0.3"
62
+ "use-effect-event": "^2.0.3",
63
+ "@sanity/color": "^3.0.7",
64
+ "@sanity/icons": "^5.2.1"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@rolldown/plugin-babel": "^0.2.3",