@sanity/ui 0.38.3-next.30 → 0.38.3-next.36

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.
@@ -2,11 +2,14 @@
2
2
 
3
3
  import {Component} from 'react'
4
4
  import {CSSObject} from 'styled-components'
5
+ import {ElementType} from 'react'
5
6
  import {ForwardRefExoticComponent} from 'react'
6
7
  import {HTMLProps} from 'react'
7
8
  import {MemoExoticComponent} from 'react'
8
9
  import {NamedExoticComponent} from 'react'
9
10
  import {PropsWithChildren} from 'react'
11
+ import {ReactElement} from 'react'
12
+ import {ReactNode} from 'react'
10
13
  import {Ref} from 'react'
11
14
  import {RefAttributes} from 'react'
12
15
  import {StyledComponent} from 'styled-components'
@@ -47,7 +50,7 @@ export declare const Autocomplete: <Option extends BaseAutocompleteOption>(
47
50
  > & {
48
51
  ref?: Ref<HTMLInputElement> | undefined
49
52
  }
50
- ) => React.ReactElement
53
+ ) => ReactElement
51
54
 
52
55
  /**
53
56
  * @internal
@@ -94,46 +97,38 @@ export declare interface AutocompleteProps<
94
97
  customValidity?: string
95
98
  filterOption?: (query: string, option: Option) => boolean
96
99
  fontSize?: number | number[]
97
- icon?: React.ElementType | React.ReactNode
100
+ icon?: ElementType | ReactNode
98
101
  id: string
99
- /**
100
- * @beta
101
- */
102
+ /** @beta */
102
103
  listBox?: BoxProps
103
104
  loading?: boolean
104
105
  onChange?: (value: string) => void
105
106
  onQueryChange?: (query: string | null) => void
106
107
  onSelect?: (value: string) => void
107
- /**
108
- * @beta
109
- */
108
+ /** @beta */
110
109
  openButton?: boolean | AutocompleteOpenButtonProps
111
110
  options?: Option[]
112
111
  padding?: number | number[]
113
112
  popover?: Omit<PopoverProps, 'content' | 'onMouseEnter' | 'onMouseLeave' | 'open'> &
114
- Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content' | 'ref' | 'width'>
115
- prefix?: React.ReactNode
113
+ Omit<HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content' | 'ref' | 'width'>
114
+ prefix?: ReactNode
116
115
  radius?: number | number[]
117
- /**
118
- * @beta
119
- */
116
+ /** @beta */
120
117
  relatedElements?: HTMLElement[]
121
- renderOption?: (option: Option) => React.ReactElement
122
- /**
123
- * @beta
124
- */
118
+ renderOption?: (option: Option) => ReactElement
119
+ /** @beta */
125
120
  renderPopover?: (
126
121
  props: {
127
- content: React.ReactElement | null
122
+ content: ReactElement | null
128
123
  hidden: boolean
129
124
  inputElement: HTMLInputElement | null
130
125
  onMouseEnter: () => void
131
126
  onMouseLeave: () => void
132
127
  },
133
- ref: React.Ref<HTMLDivElement>
134
- ) => React.ReactNode
128
+ ref: Ref<HTMLDivElement>
129
+ ) => ReactNode
135
130
  renderValue?: (value: string, option?: Option) => string
136
- suffix?: React.ReactNode
131
+ suffix?: ReactNode
137
132
  value?: string
138
133
  }
139
134
 
@@ -8215,369 +8210,369 @@ export declare type Placement =
8215
8210
  | 'left-start'
8216
8211
  | 'left-end'
8217
8212
 
8218
- /**
8219
- * @public
8220
- */
8221
- export declare const Popover: ForwardRefExoticComponent<
8222
- Pick<
8223
- PopoverProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'content' | 'width' | 'as'>,
8224
- | 'default'
8225
- | 'selected'
8226
- | 'name'
8227
- | 'muted'
8228
- | 'key'
8229
- | 'readOnly'
8230
- | 'label'
8231
- | 'color'
8232
- | 'media'
8233
- | 'value'
8234
- | 'cite'
8235
- | 'data'
8236
- | 'form'
8237
- | 'slot'
8238
- | 'span'
8239
- | 'style'
8240
- | 'summary'
8241
- | 'title'
8242
- | 'pattern'
8243
- | 'start'
8244
- | 'hidden'
8245
- | 'size'
8246
- | 'wrap'
8247
- | 'multiple'
8248
- | 'min'
8249
- | 'max'
8250
- | 'sizes'
8251
- | 'height'
8252
- | 'type'
8253
- | 'defaultChecked'
8254
- | 'defaultValue'
8255
- | 'suppressContentEditableWarning'
8256
- | 'suppressHydrationWarning'
8257
- | 'accessKey'
8258
- | 'className'
8259
- | 'contentEditable'
8260
- | 'contextMenu'
8261
- | 'dir'
8262
- | 'draggable'
8263
- | 'id'
8264
- | 'lang'
8265
- | 'placeholder'
8266
- | 'spellCheck'
8267
- | 'tabIndex'
8268
- | 'translate'
8269
- | 'radioGroup'
8270
- | 'role'
8271
- | 'about'
8272
- | 'datatype'
8273
- | 'inlist'
8274
- | 'prefix'
8275
- | 'property'
8276
- | 'resource'
8277
- | 'typeof'
8278
- | 'vocab'
8279
- | 'autoCapitalize'
8280
- | 'autoCorrect'
8281
- | 'autoSave'
8282
- | 'itemProp'
8283
- | 'itemScope'
8284
- | 'itemType'
8285
- | 'itemID'
8286
- | 'itemRef'
8287
- | 'results'
8288
- | 'security'
8289
- | 'unselectable'
8290
- | 'inputMode'
8291
- | 'is'
8292
- | 'aria-activedescendant'
8293
- | 'aria-atomic'
8294
- | 'aria-autocomplete'
8295
- | 'aria-busy'
8296
- | 'aria-checked'
8297
- | 'aria-colcount'
8298
- | 'aria-colindex'
8299
- | 'aria-colspan'
8300
- | 'aria-controls'
8301
- | 'aria-current'
8302
- | 'aria-describedby'
8303
- | 'aria-details'
8304
- | 'aria-disabled'
8305
- | 'aria-dropeffect'
8306
- | 'aria-errormessage'
8307
- | 'aria-expanded'
8308
- | 'aria-flowto'
8309
- | 'aria-grabbed'
8310
- | 'aria-haspopup'
8311
- | 'aria-hidden'
8312
- | 'aria-invalid'
8313
- | 'aria-keyshortcuts'
8314
- | 'aria-label'
8315
- | 'aria-labelledby'
8316
- | 'aria-level'
8317
- | 'aria-live'
8318
- | 'aria-modal'
8319
- | 'aria-multiline'
8320
- | 'aria-multiselectable'
8321
- | 'aria-orientation'
8322
- | 'aria-owns'
8323
- | 'aria-placeholder'
8324
- | 'aria-posinset'
8325
- | 'aria-pressed'
8326
- | 'aria-readonly'
8327
- | 'aria-relevant'
8328
- | 'aria-required'
8329
- | 'aria-roledescription'
8330
- | 'aria-rowcount'
8331
- | 'aria-rowindex'
8332
- | 'aria-rowspan'
8333
- | 'aria-selected'
8334
- | 'aria-setsize'
8335
- | 'aria-sort'
8336
- | 'aria-valuemax'
8337
- | 'aria-valuemin'
8338
- | 'aria-valuenow'
8339
- | 'aria-valuetext'
8340
- | 'dangerouslySetInnerHTML'
8341
- | 'onCopy'
8342
- | 'onCopyCapture'
8343
- | 'onCut'
8344
- | 'onCutCapture'
8345
- | 'onPaste'
8346
- | 'onPasteCapture'
8347
- | 'onCompositionEnd'
8348
- | 'onCompositionEndCapture'
8349
- | 'onCompositionStart'
8350
- | 'onCompositionStartCapture'
8351
- | 'onCompositionUpdate'
8352
- | 'onCompositionUpdateCapture'
8353
- | 'onFocus'
8354
- | 'onFocusCapture'
8355
- | 'onBlur'
8356
- | 'onBlurCapture'
8357
- | 'onChange'
8358
- | 'onChangeCapture'
8359
- | 'onBeforeInput'
8360
- | 'onBeforeInputCapture'
8361
- | 'onInput'
8362
- | 'onInputCapture'
8363
- | 'onReset'
8364
- | 'onResetCapture'
8365
- | 'onSubmit'
8366
- | 'onSubmitCapture'
8367
- | 'onInvalid'
8368
- | 'onInvalidCapture'
8369
- | 'onLoad'
8370
- | 'onLoadCapture'
8371
- | 'onError'
8372
- | 'onErrorCapture'
8373
- | 'onKeyDown'
8374
- | 'onKeyDownCapture'
8375
- | 'onKeyPress'
8376
- | 'onKeyPressCapture'
8377
- | 'onKeyUp'
8378
- | 'onKeyUpCapture'
8379
- | 'onAbort'
8380
- | 'onAbortCapture'
8381
- | 'onCanPlay'
8382
- | 'onCanPlayCapture'
8383
- | 'onCanPlayThrough'
8384
- | 'onCanPlayThroughCapture'
8385
- | 'onDurationChange'
8386
- | 'onDurationChangeCapture'
8387
- | 'onEmptied'
8388
- | 'onEmptiedCapture'
8389
- | 'onEncrypted'
8390
- | 'onEncryptedCapture'
8391
- | 'onEnded'
8392
- | 'onEndedCapture'
8393
- | 'onLoadedData'
8394
- | 'onLoadedDataCapture'
8395
- | 'onLoadedMetadata'
8396
- | 'onLoadedMetadataCapture'
8397
- | 'onLoadStart'
8398
- | 'onLoadStartCapture'
8399
- | 'onPause'
8400
- | 'onPauseCapture'
8401
- | 'onPlay'
8402
- | 'onPlayCapture'
8403
- | 'onPlaying'
8404
- | 'onPlayingCapture'
8405
- | 'onProgress'
8406
- | 'onProgressCapture'
8407
- | 'onRateChange'
8408
- | 'onRateChangeCapture'
8409
- | 'onSeeked'
8410
- | 'onSeekedCapture'
8411
- | 'onSeeking'
8412
- | 'onSeekingCapture'
8413
- | 'onStalled'
8414
- | 'onStalledCapture'
8415
- | 'onSuspend'
8416
- | 'onSuspendCapture'
8417
- | 'onTimeUpdate'
8418
- | 'onTimeUpdateCapture'
8419
- | 'onVolumeChange'
8420
- | 'onVolumeChangeCapture'
8421
- | 'onWaiting'
8422
- | 'onWaitingCapture'
8423
- | 'onAuxClick'
8424
- | 'onAuxClickCapture'
8425
- | 'onClick'
8426
- | 'onClickCapture'
8427
- | 'onContextMenu'
8428
- | 'onContextMenuCapture'
8429
- | 'onDoubleClick'
8430
- | 'onDoubleClickCapture'
8431
- | 'onDrag'
8432
- | 'onDragCapture'
8433
- | 'onDragEnd'
8434
- | 'onDragEndCapture'
8435
- | 'onDragEnter'
8436
- | 'onDragEnterCapture'
8437
- | 'onDragExit'
8438
- | 'onDragExitCapture'
8439
- | 'onDragLeave'
8440
- | 'onDragLeaveCapture'
8441
- | 'onDragOver'
8442
- | 'onDragOverCapture'
8443
- | 'onDragStart'
8444
- | 'onDragStartCapture'
8445
- | 'onDrop'
8446
- | 'onDropCapture'
8447
- | 'onMouseDown'
8448
- | 'onMouseDownCapture'
8449
- | 'onMouseEnter'
8450
- | 'onMouseLeave'
8451
- | 'onMouseMove'
8452
- | 'onMouseMoveCapture'
8453
- | 'onMouseOut'
8454
- | 'onMouseOutCapture'
8455
- | 'onMouseOver'
8456
- | 'onMouseOverCapture'
8457
- | 'onMouseUp'
8458
- | 'onMouseUpCapture'
8459
- | 'onSelect'
8460
- | 'onSelectCapture'
8461
- | 'onTouchCancel'
8462
- | 'onTouchCancelCapture'
8463
- | 'onTouchEnd'
8464
- | 'onTouchEndCapture'
8465
- | 'onTouchMove'
8466
- | 'onTouchMoveCapture'
8467
- | 'onTouchStart'
8468
- | 'onTouchStartCapture'
8469
- | 'onPointerDown'
8470
- | 'onPointerDownCapture'
8471
- | 'onPointerMove'
8472
- | 'onPointerMoveCapture'
8473
- | 'onPointerUp'
8474
- | 'onPointerUpCapture'
8475
- | 'onPointerCancel'
8476
- | 'onPointerCancelCapture'
8477
- | 'onPointerEnter'
8478
- | 'onPointerEnterCapture'
8479
- | 'onPointerLeave'
8480
- | 'onPointerLeaveCapture'
8481
- | 'onPointerOver'
8482
- | 'onPointerOverCapture'
8483
- | 'onPointerOut'
8484
- | 'onPointerOutCapture'
8485
- | 'onGotPointerCapture'
8486
- | 'onGotPointerCaptureCapture'
8487
- | 'onLostPointerCapture'
8488
- | 'onLostPointerCaptureCapture'
8489
- | 'onScroll'
8490
- | 'onScrollCapture'
8491
- | 'onWheel'
8492
- | 'onWheelCapture'
8493
- | 'onAnimationStart'
8494
- | 'onAnimationStartCapture'
8495
- | 'onAnimationEnd'
8496
- | 'onAnimationEndCapture'
8497
- | 'onAnimationIteration'
8498
- | 'onAnimationIterationCapture'
8499
- | 'onTransitionEnd'
8500
- | 'onTransitionEndCapture'
8501
- | 'list'
8502
- | 'accept'
8503
- | 'acceptCharset'
8504
- | 'action'
8505
- | 'allowFullScreen'
8506
- | 'allowTransparency'
8507
- | 'alt'
8508
- | 'async'
8509
- | 'autoComplete'
8510
- | 'autoFocus'
8511
- | 'autoPlay'
8512
- | 'capture'
8513
- | 'cellPadding'
8514
- | 'cellSpacing'
8515
- | 'charSet'
8516
- | 'challenge'
8517
- | 'checked'
8518
- | 'classID'
8519
- | 'cols'
8520
- | 'colSpan'
8521
- | 'controls'
8522
- | 'coords'
8523
- | 'crossOrigin'
8524
- | 'dateTime'
8525
- | 'defer'
8526
- | 'download'
8527
- | 'encType'
8528
- | 'formAction'
8529
- | 'formEncType'
8530
- | 'formMethod'
8531
- | 'formNoValidate'
8532
- | 'formTarget'
8533
- | 'frameBorder'
8534
- | 'headers'
8535
- | 'high'
8536
- | 'href'
8537
- | 'hrefLang'
8538
- | 'htmlFor'
8539
- | 'httpEquiv'
8540
- | 'integrity'
8541
- | 'keyParams'
8542
- | 'keyType'
8543
- | 'kind'
8544
- | 'loop'
8545
- | 'low'
8546
- | 'manifest'
8547
- | 'marginHeight'
8548
- | 'marginWidth'
8549
- | 'maxLength'
8550
- | 'mediaGroup'
8551
- | 'method'
8552
- | 'minLength'
8553
- | 'nonce'
8554
- | 'noValidate'
8555
- | 'optimum'
8556
- | 'playsInline'
8557
- | 'poster'
8558
- | 'preload'
8559
- | 'rel'
8560
- | 'required'
8561
- | 'reversed'
8562
- | 'rows'
8563
- | 'rowSpan'
8564
- | 'sandbox'
8565
- | 'scope'
8566
- | 'scoped'
8567
- | 'scrolling'
8568
- | 'seamless'
8569
- | 'shape'
8570
- | 'src'
8571
- | 'srcDoc'
8572
- | 'srcLang'
8573
- | 'srcSet'
8574
- | 'step'
8575
- | 'target'
8576
- | 'useMap'
8577
- | 'wmode'
8578
- | keyof PopoverProps
8579
- > &
8580
- RefAttributes<HTMLDivElement>
8213
+ /** @public */
8214
+ export declare const Popover: MemoExoticComponent<
8215
+ ForwardRefExoticComponent<
8216
+ Pick<
8217
+ PopoverProps & Omit<HTMLProps<HTMLDivElement>, 'children' | 'content' | 'width' | 'as'>,
8218
+ | 'default'
8219
+ | 'selected'
8220
+ | 'name'
8221
+ | 'muted'
8222
+ | 'key'
8223
+ | 'readOnly'
8224
+ | 'label'
8225
+ | 'color'
8226
+ | 'media'
8227
+ | 'value'
8228
+ | 'cite'
8229
+ | 'data'
8230
+ | 'form'
8231
+ | 'slot'
8232
+ | 'span'
8233
+ | 'style'
8234
+ | 'summary'
8235
+ | 'title'
8236
+ | 'pattern'
8237
+ | 'start'
8238
+ | 'hidden'
8239
+ | 'size'
8240
+ | 'wrap'
8241
+ | 'multiple'
8242
+ | 'min'
8243
+ | 'max'
8244
+ | 'sizes'
8245
+ | 'height'
8246
+ | 'type'
8247
+ | 'defaultChecked'
8248
+ | 'defaultValue'
8249
+ | 'suppressContentEditableWarning'
8250
+ | 'suppressHydrationWarning'
8251
+ | 'accessKey'
8252
+ | 'className'
8253
+ | 'contentEditable'
8254
+ | 'contextMenu'
8255
+ | 'dir'
8256
+ | 'draggable'
8257
+ | 'id'
8258
+ | 'lang'
8259
+ | 'placeholder'
8260
+ | 'spellCheck'
8261
+ | 'tabIndex'
8262
+ | 'translate'
8263
+ | 'radioGroup'
8264
+ | 'role'
8265
+ | 'about'
8266
+ | 'datatype'
8267
+ | 'inlist'
8268
+ | 'prefix'
8269
+ | 'property'
8270
+ | 'resource'
8271
+ | 'typeof'
8272
+ | 'vocab'
8273
+ | 'autoCapitalize'
8274
+ | 'autoCorrect'
8275
+ | 'autoSave'
8276
+ | 'itemProp'
8277
+ | 'itemScope'
8278
+ | 'itemType'
8279
+ | 'itemID'
8280
+ | 'itemRef'
8281
+ | 'results'
8282
+ | 'security'
8283
+ | 'unselectable'
8284
+ | 'inputMode'
8285
+ | 'is'
8286
+ | 'aria-activedescendant'
8287
+ | 'aria-atomic'
8288
+ | 'aria-autocomplete'
8289
+ | 'aria-busy'
8290
+ | 'aria-checked'
8291
+ | 'aria-colcount'
8292
+ | 'aria-colindex'
8293
+ | 'aria-colspan'
8294
+ | 'aria-controls'
8295
+ | 'aria-current'
8296
+ | 'aria-describedby'
8297
+ | 'aria-details'
8298
+ | 'aria-disabled'
8299
+ | 'aria-dropeffect'
8300
+ | 'aria-errormessage'
8301
+ | 'aria-expanded'
8302
+ | 'aria-flowto'
8303
+ | 'aria-grabbed'
8304
+ | 'aria-haspopup'
8305
+ | 'aria-hidden'
8306
+ | 'aria-invalid'
8307
+ | 'aria-keyshortcuts'
8308
+ | 'aria-label'
8309
+ | 'aria-labelledby'
8310
+ | 'aria-level'
8311
+ | 'aria-live'
8312
+ | 'aria-modal'
8313
+ | 'aria-multiline'
8314
+ | 'aria-multiselectable'
8315
+ | 'aria-orientation'
8316
+ | 'aria-owns'
8317
+ | 'aria-placeholder'
8318
+ | 'aria-posinset'
8319
+ | 'aria-pressed'
8320
+ | 'aria-readonly'
8321
+ | 'aria-relevant'
8322
+ | 'aria-required'
8323
+ | 'aria-roledescription'
8324
+ | 'aria-rowcount'
8325
+ | 'aria-rowindex'
8326
+ | 'aria-rowspan'
8327
+ | 'aria-selected'
8328
+ | 'aria-setsize'
8329
+ | 'aria-sort'
8330
+ | 'aria-valuemax'
8331
+ | 'aria-valuemin'
8332
+ | 'aria-valuenow'
8333
+ | 'aria-valuetext'
8334
+ | 'dangerouslySetInnerHTML'
8335
+ | 'onCopy'
8336
+ | 'onCopyCapture'
8337
+ | 'onCut'
8338
+ | 'onCutCapture'
8339
+ | 'onPaste'
8340
+ | 'onPasteCapture'
8341
+ | 'onCompositionEnd'
8342
+ | 'onCompositionEndCapture'
8343
+ | 'onCompositionStart'
8344
+ | 'onCompositionStartCapture'
8345
+ | 'onCompositionUpdate'
8346
+ | 'onCompositionUpdateCapture'
8347
+ | 'onFocus'
8348
+ | 'onFocusCapture'
8349
+ | 'onBlur'
8350
+ | 'onBlurCapture'
8351
+ | 'onChange'
8352
+ | 'onChangeCapture'
8353
+ | 'onBeforeInput'
8354
+ | 'onBeforeInputCapture'
8355
+ | 'onInput'
8356
+ | 'onInputCapture'
8357
+ | 'onReset'
8358
+ | 'onResetCapture'
8359
+ | 'onSubmit'
8360
+ | 'onSubmitCapture'
8361
+ | 'onInvalid'
8362
+ | 'onInvalidCapture'
8363
+ | 'onLoad'
8364
+ | 'onLoadCapture'
8365
+ | 'onError'
8366
+ | 'onErrorCapture'
8367
+ | 'onKeyDown'
8368
+ | 'onKeyDownCapture'
8369
+ | 'onKeyPress'
8370
+ | 'onKeyPressCapture'
8371
+ | 'onKeyUp'
8372
+ | 'onKeyUpCapture'
8373
+ | 'onAbort'
8374
+ | 'onAbortCapture'
8375
+ | 'onCanPlay'
8376
+ | 'onCanPlayCapture'
8377
+ | 'onCanPlayThrough'
8378
+ | 'onCanPlayThroughCapture'
8379
+ | 'onDurationChange'
8380
+ | 'onDurationChangeCapture'
8381
+ | 'onEmptied'
8382
+ | 'onEmptiedCapture'
8383
+ | 'onEncrypted'
8384
+ | 'onEncryptedCapture'
8385
+ | 'onEnded'
8386
+ | 'onEndedCapture'
8387
+ | 'onLoadedData'
8388
+ | 'onLoadedDataCapture'
8389
+ | 'onLoadedMetadata'
8390
+ | 'onLoadedMetadataCapture'
8391
+ | 'onLoadStart'
8392
+ | 'onLoadStartCapture'
8393
+ | 'onPause'
8394
+ | 'onPauseCapture'
8395
+ | 'onPlay'
8396
+ | 'onPlayCapture'
8397
+ | 'onPlaying'
8398
+ | 'onPlayingCapture'
8399
+ | 'onProgress'
8400
+ | 'onProgressCapture'
8401
+ | 'onRateChange'
8402
+ | 'onRateChangeCapture'
8403
+ | 'onSeeked'
8404
+ | 'onSeekedCapture'
8405
+ | 'onSeeking'
8406
+ | 'onSeekingCapture'
8407
+ | 'onStalled'
8408
+ | 'onStalledCapture'
8409
+ | 'onSuspend'
8410
+ | 'onSuspendCapture'
8411
+ | 'onTimeUpdate'
8412
+ | 'onTimeUpdateCapture'
8413
+ | 'onVolumeChange'
8414
+ | 'onVolumeChangeCapture'
8415
+ | 'onWaiting'
8416
+ | 'onWaitingCapture'
8417
+ | 'onAuxClick'
8418
+ | 'onAuxClickCapture'
8419
+ | 'onClick'
8420
+ | 'onClickCapture'
8421
+ | 'onContextMenu'
8422
+ | 'onContextMenuCapture'
8423
+ | 'onDoubleClick'
8424
+ | 'onDoubleClickCapture'
8425
+ | 'onDrag'
8426
+ | 'onDragCapture'
8427
+ | 'onDragEnd'
8428
+ | 'onDragEndCapture'
8429
+ | 'onDragEnter'
8430
+ | 'onDragEnterCapture'
8431
+ | 'onDragExit'
8432
+ | 'onDragExitCapture'
8433
+ | 'onDragLeave'
8434
+ | 'onDragLeaveCapture'
8435
+ | 'onDragOver'
8436
+ | 'onDragOverCapture'
8437
+ | 'onDragStart'
8438
+ | 'onDragStartCapture'
8439
+ | 'onDrop'
8440
+ | 'onDropCapture'
8441
+ | 'onMouseDown'
8442
+ | 'onMouseDownCapture'
8443
+ | 'onMouseEnter'
8444
+ | 'onMouseLeave'
8445
+ | 'onMouseMove'
8446
+ | 'onMouseMoveCapture'
8447
+ | 'onMouseOut'
8448
+ | 'onMouseOutCapture'
8449
+ | 'onMouseOver'
8450
+ | 'onMouseOverCapture'
8451
+ | 'onMouseUp'
8452
+ | 'onMouseUpCapture'
8453
+ | 'onSelect'
8454
+ | 'onSelectCapture'
8455
+ | 'onTouchCancel'
8456
+ | 'onTouchCancelCapture'
8457
+ | 'onTouchEnd'
8458
+ | 'onTouchEndCapture'
8459
+ | 'onTouchMove'
8460
+ | 'onTouchMoveCapture'
8461
+ | 'onTouchStart'
8462
+ | 'onTouchStartCapture'
8463
+ | 'onPointerDown'
8464
+ | 'onPointerDownCapture'
8465
+ | 'onPointerMove'
8466
+ | 'onPointerMoveCapture'
8467
+ | 'onPointerUp'
8468
+ | 'onPointerUpCapture'
8469
+ | 'onPointerCancel'
8470
+ | 'onPointerCancelCapture'
8471
+ | 'onPointerEnter'
8472
+ | 'onPointerEnterCapture'
8473
+ | 'onPointerLeave'
8474
+ | 'onPointerLeaveCapture'
8475
+ | 'onPointerOver'
8476
+ | 'onPointerOverCapture'
8477
+ | 'onPointerOut'
8478
+ | 'onPointerOutCapture'
8479
+ | 'onGotPointerCapture'
8480
+ | 'onGotPointerCaptureCapture'
8481
+ | 'onLostPointerCapture'
8482
+ | 'onLostPointerCaptureCapture'
8483
+ | 'onScroll'
8484
+ | 'onScrollCapture'
8485
+ | 'onWheel'
8486
+ | 'onWheelCapture'
8487
+ | 'onAnimationStart'
8488
+ | 'onAnimationStartCapture'
8489
+ | 'onAnimationEnd'
8490
+ | 'onAnimationEndCapture'
8491
+ | 'onAnimationIteration'
8492
+ | 'onAnimationIterationCapture'
8493
+ | 'onTransitionEnd'
8494
+ | 'onTransitionEndCapture'
8495
+ | 'list'
8496
+ | 'accept'
8497
+ | 'acceptCharset'
8498
+ | 'action'
8499
+ | 'allowFullScreen'
8500
+ | 'allowTransparency'
8501
+ | 'alt'
8502
+ | 'async'
8503
+ | 'autoComplete'
8504
+ | 'autoFocus'
8505
+ | 'autoPlay'
8506
+ | 'capture'
8507
+ | 'cellPadding'
8508
+ | 'cellSpacing'
8509
+ | 'charSet'
8510
+ | 'challenge'
8511
+ | 'checked'
8512
+ | 'classID'
8513
+ | 'cols'
8514
+ | 'colSpan'
8515
+ | 'controls'
8516
+ | 'coords'
8517
+ | 'crossOrigin'
8518
+ | 'dateTime'
8519
+ | 'defer'
8520
+ | 'download'
8521
+ | 'encType'
8522
+ | 'formAction'
8523
+ | 'formEncType'
8524
+ | 'formMethod'
8525
+ | 'formNoValidate'
8526
+ | 'formTarget'
8527
+ | 'frameBorder'
8528
+ | 'headers'
8529
+ | 'high'
8530
+ | 'href'
8531
+ | 'hrefLang'
8532
+ | 'htmlFor'
8533
+ | 'httpEquiv'
8534
+ | 'integrity'
8535
+ | 'keyParams'
8536
+ | 'keyType'
8537
+ | 'kind'
8538
+ | 'loop'
8539
+ | 'low'
8540
+ | 'manifest'
8541
+ | 'marginHeight'
8542
+ | 'marginWidth'
8543
+ | 'maxLength'
8544
+ | 'mediaGroup'
8545
+ | 'method'
8546
+ | 'minLength'
8547
+ | 'nonce'
8548
+ | 'noValidate'
8549
+ | 'optimum'
8550
+ | 'playsInline'
8551
+ | 'poster'
8552
+ | 'preload'
8553
+ | 'rel'
8554
+ | 'required'
8555
+ | 'reversed'
8556
+ | 'rows'
8557
+ | 'rowSpan'
8558
+ | 'sandbox'
8559
+ | 'scope'
8560
+ | 'scoped'
8561
+ | 'scrolling'
8562
+ | 'seamless'
8563
+ | 'shape'
8564
+ | 'src'
8565
+ | 'srcDoc'
8566
+ | 'srcLang'
8567
+ | 'srcSet'
8568
+ | 'step'
8569
+ | 'target'
8570
+ | 'useMap'
8571
+ | 'wmode'
8572
+ | keyof PopoverProps
8573
+ > &
8574
+ RefAttributes<HTMLDivElement>
8575
+ >
8581
8576
  >
8582
8577
 
8583
8578
  /**
@@ -8597,6 +8592,7 @@ export declare interface PopoverProps
8597
8592
  * @beta
8598
8593
  */
8599
8594
  __unstable_margins?: PopoverMargins
8595
+ /** @deprecated Use `fallbackPlacements` instead. */
8600
8596
  allowedAutoPlacements?: Placement[]
8601
8597
  arrow?: boolean
8602
8598
  boundaryElement?: HTMLElement | null
@@ -8606,6 +8602,7 @@ export declare interface PopoverProps
8606
8602
  disabled?: boolean
8607
8603
  fallbackPlacements?: Placement[]
8608
8604
  open?: boolean
8605
+ overflow?: BoxOverflow
8609
8606
  padding?: number | number[]
8610
8607
  placement?: Placement
8611
8608
  portal?: boolean | string
@@ -8613,7 +8610,9 @@ export declare interface PopoverProps
8613
8610
  referenceElement?: HTMLElement | null
8614
8611
  matchReferenceWidth?: boolean
8615
8612
  scheme?: ThemeColorSchemeKey
8613
+ /** @deprecated No longer supported. */
8616
8614
  tether?: boolean
8615
+ /** @deprecated No longer supported. */
8617
8616
  tetherOffset?: number | ((...args: any[]) => number)
8618
8617
  tone?: CardTone
8619
8618
  }
@@ -14945,15 +14944,18 @@ export declare const Tooltip: ForwardRefExoticComponent<
14945
14944
  * @public
14946
14945
  */
14947
14946
  export declare interface TooltipProps extends Omit<LayerProps, 'as'> {
14947
+ /** @deprecated Use `fallbackPlacements` instead. */
14948
14948
  allowedAutoPlacements?: Placement[]
14949
14949
  boundaryElement?: HTMLElement | null
14950
14950
  children?: React.ReactElement
14951
14951
  content?: React.ReactNode
14952
14952
  disabled?: boolean
14953
14953
  fallbackPlacements?: Placement[]
14954
+ padding?: number | number[]
14954
14955
  placement?: Placement
14955
14956
  portal?: boolean | string
14956
14957
  scheme?: ThemeColorSchemeKey
14958
+ shadow?: number | number[]
14957
14959
  }
14958
14960
 
14959
14961
  /**