@sanity/ui 2.8.20 → 2.8.21

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.mts CHANGED
@@ -1463,19 +1463,21 @@ export declare interface MenuProps extends ResponsivePaddingProps {
1463
1463
  /**
1464
1464
  * @deprecated Use `shouldFocus="first"` instead.
1465
1465
  */
1466
- focusFirst?: boolean
1466
+ 'focusFirst'?: boolean
1467
1467
  /**
1468
1468
  * @deprecated Use `shouldFocus="last"` instead.
1469
1469
  */
1470
- focusLast?: boolean
1471
- onClickOutside?: (event: MouseEvent) => void
1472
- onEscape?: () => void
1473
- onItemClick?: () => void
1474
- onItemSelect?: (index: number) => void
1475
- originElement?: HTMLElement | null
1476
- registerElement?: (el: HTMLElement) => () => void
1477
- shouldFocus?: 'first' | 'last' | null
1478
- space?: number | number[]
1470
+ 'focusLast'?: boolean
1471
+ 'onClickOutside'?: (event: MouseEvent) => void
1472
+ 'onEscape'?: () => void
1473
+ 'onItemClick'?: () => void
1474
+ 'onItemSelect'?: (index: number) => void
1475
+ 'originElement'?: HTMLElement | null
1476
+ 'registerElement'?: (el: HTMLElement) => () => void
1477
+ 'shouldFocus'?: 'first' | 'last' | null
1478
+ 'space'?: number | number[]
1479
+ 'aria-labelledby'?: string
1480
+ 'onBlurCapture'?: (event: FocusEvent) => void
1479
1481
  }
1480
1482
 
1481
1483
  /**
package/dist/index.d.ts CHANGED
@@ -1463,19 +1463,21 @@ export declare interface MenuProps extends ResponsivePaddingProps {
1463
1463
  /**
1464
1464
  * @deprecated Use `shouldFocus="first"` instead.
1465
1465
  */
1466
- focusFirst?: boolean
1466
+ 'focusFirst'?: boolean
1467
1467
  /**
1468
1468
  * @deprecated Use `shouldFocus="last"` instead.
1469
1469
  */
1470
- focusLast?: boolean
1471
- onClickOutside?: (event: MouseEvent) => void
1472
- onEscape?: () => void
1473
- onItemClick?: () => void
1474
- onItemSelect?: (index: number) => void
1475
- originElement?: HTMLElement | null
1476
- registerElement?: (el: HTMLElement) => () => void
1477
- shouldFocus?: 'first' | 'last' | null
1478
- space?: number | number[]
1470
+ 'focusLast'?: boolean
1471
+ 'onClickOutside'?: (event: MouseEvent) => void
1472
+ 'onEscape'?: () => void
1473
+ 'onItemClick'?: () => void
1474
+ 'onItemSelect'?: (index: number) => void
1475
+ 'originElement'?: HTMLElement | null
1476
+ 'registerElement'?: (el: HTMLElement) => () => void
1477
+ 'shouldFocus'?: 'first' | 'last' | null
1478
+ 'space'?: number | number[]
1479
+ 'aria-labelledby'?: string
1480
+ 'onBlurCapture'?: (event: FocusEvent) => void
1479
1481
  }
1480
1482
 
1481
1483
  /**