@sanity/ui 2.0.0-alpha.24 → 2.0.0-alpha.26

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.
package/dist/index.d.ts CHANGED
@@ -917,6 +917,13 @@ export declare interface DialogProps extends ResponsivePaddingProps, ResponsiveW
917
917
  position?: DialogPosition | DialogPosition[]
918
918
  scheme?: ThemeColorSchemeKey
919
919
  zOffset?: number | number[]
920
+ /**
921
+ * Whether the dialog should animate in on mount.
922
+ *
923
+ * @beta
924
+ * @defaultValue false
925
+ */
926
+ animate?: boolean
920
927
  }
921
928
 
922
929
  /**
@@ -3527,11 +3534,13 @@ export declare function TooltipDelayGroupProvider(
3527
3534
  export declare interface TooltipDelayGroupProviderProps {
3528
3535
  children?: React.ReactNode
3529
3536
  /**
3530
- * @public Handles the delays to open or close a tooltip inside a group
3537
+ * Handles the delays to open or close a tooltip inside a group
3531
3538
  *
3532
3539
  * If only a `number` is passed, it will be used for both opening and closing.
3533
3540
  *
3534
3541
  * If an object `{open: number; close:number}` is passed, it can be used to set different delays for each action.
3542
+ *
3543
+ * @public
3535
3544
  */
3536
3545
  delay: Delay
3537
3546
  }
@@ -3555,13 +3564,23 @@ export declare interface TooltipProps extends Omit<LayerProps, 'as'> {
3555
3564
  scheme?: ThemeColorSchemeKey
3556
3565
  shadow?: number | number[]
3557
3566
  /**
3558
- * @public Adds a delay to open or close the tooltip. Defaults to 0.
3567
+ * Adds a delay to open or close the tooltip.
3559
3568
  *
3560
3569
  * If only a `number` is passed, it will be used for both opening and closing.
3561
3570
  *
3562
3571
  * If an object `{open: number; close:number}` is passed, it can be used to set different delays for each action.
3572
+ *
3573
+ * @public
3574
+ * @defaultValue 0
3563
3575
  */
3564
3576
  delay?: Delay
3577
+ /**
3578
+ * Whether the tooltip should animate in and out.
3579
+ *
3580
+ * @beta
3581
+ * @defaultValue false
3582
+ */
3583
+ animate?: boolean
3565
3584
  }
3566
3585
 
3567
3586
  /**