@sanity/ui 4.0.0-static.21 → 4.0.0-static.23

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
@@ -161,7 +161,7 @@ export declare type AutocompleteOwnProps<
161
161
  /** The options to render. */
162
162
  options?: O[]
163
163
  padding?: ResponsiveProp<Space>
164
- popover?: Omit<Props<PopoverProps, 'div'>, 'content' | 'onMouseEnter' | 'onMouseLeave' | 'open'>
164
+ popover?: Omit<PopoverProps<'div'>, 'content' | 'onMouseEnter' | 'onMouseLeave' | 'open'>
165
165
  prefix?: ReactNode
166
166
  radius?: Radius | Radius[]
167
167
  /** @beta */
@@ -1397,7 +1397,7 @@ export declare type MenuButtonProps = {
1397
1397
  menu?: ReactElement
1398
1398
  onClose?: () => void
1399
1399
  onOpen?: () => void
1400
- popover?: Omit<PopoverProps, 'content' | 'open'>
1400
+ popover?: Omit<PopoverProps<'div'>, 'content' | 'open'>
1401
1401
  ref?: ForwardedRef<HTMLButtonElement | null>
1402
1402
  }
1403
1403
 
@@ -1445,7 +1445,7 @@ export declare type MenuGroupOwnProps = RadiusStyleProps & {
1445
1445
  | 'onBlurCapture'
1446
1446
  >
1447
1447
  padding?: ResponsiveProp<Space>
1448
- popover?: Omit<PopoverProps, 'content' | 'open'>
1448
+ popover?: Omit<PopoverProps<'div'>, 'content' | 'open'>
1449
1449
  text?: ReactNode
1450
1450
  tone?: ElementTone
1451
1451
  }