@primer/components 0.0.0-2021929142717 → 0.0.0-2021929153151

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +4 -2
  2. package/dist/browser.esm.js.map +1 -1
  3. package/dist/browser.umd.js.map +1 -1
  4. package/lib/Autocomplete/Autocomplete.d.ts +27 -27
  5. package/lib/Autocomplete/AutocompleteInput.d.ts +27 -27
  6. package/lib/Button/Button.d.ts +25 -25
  7. package/lib/Button/ButtonBase.d.ts +1 -1
  8. package/lib/Button/ButtonClose.d.ts +26 -26
  9. package/lib/Button/ButtonDanger.d.ts +25 -25
  10. package/lib/Button/ButtonInvisible.d.ts +25 -25
  11. package/lib/Button/ButtonOutline.d.ts +25 -25
  12. package/lib/Button/ButtonPrimary.d.ts +25 -25
  13. package/lib/CircleBadge.d.ts +2 -2
  14. package/lib/CircleOcticon.d.ts +25 -25
  15. package/lib/Dialog.d.ts +28 -28
  16. package/lib/Dropdown.d.ts +102 -102
  17. package/lib/DropdownMenu/DropdownButton.d.ts +27 -27
  18. package/lib/FilterList.d.ts +24 -24
  19. package/lib/Flash.d.ts +1 -1
  20. package/lib/Label.d.ts +1 -1
  21. package/lib/Position.d.ts +4 -4
  22. package/lib/ProgressBar.d.ts +1 -1
  23. package/lib/SelectMenu/SelectMenu.d.ts +152 -152
  24. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  25. package/lib/TextInputWithTokens.d.ts +27 -27
  26. package/lib/Timeline.d.ts +26 -26
  27. package/lib/Token/AvatarToken.d.ts +1 -1
  28. package/lib/Token/IssueLabelToken.d.ts +1 -1
  29. package/lib/Token/Token.d.ts +1 -1
  30. package/lib/_TextInputWrapper.d.ts +1 -1
  31. package/lib/sx.d.ts +8 -2
  32. package/lib/theme.d.ts +78 -0
  33. package/lib/theme.js +3 -1
  34. package/lib/utils/types/KeyPaths.d.ts +3 -0
  35. package/lib/utils/types/KeyPaths.js +1 -0
  36. package/lib-esm/Autocomplete/Autocomplete.d.ts +27 -27
  37. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +27 -27
  38. package/lib-esm/Button/Button.d.ts +25 -25
  39. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  40. package/lib-esm/Button/ButtonClose.d.ts +26 -26
  41. package/lib-esm/Button/ButtonDanger.d.ts +25 -25
  42. package/lib-esm/Button/ButtonInvisible.d.ts +25 -25
  43. package/lib-esm/Button/ButtonOutline.d.ts +25 -25
  44. package/lib-esm/Button/ButtonPrimary.d.ts +25 -25
  45. package/lib-esm/CircleBadge.d.ts +2 -2
  46. package/lib-esm/CircleOcticon.d.ts +25 -25
  47. package/lib-esm/Dialog.d.ts +28 -28
  48. package/lib-esm/Dropdown.d.ts +102 -102
  49. package/lib-esm/DropdownMenu/DropdownButton.d.ts +27 -27
  50. package/lib-esm/FilterList.d.ts +24 -24
  51. package/lib-esm/Flash.d.ts +1 -1
  52. package/lib-esm/Label.d.ts +1 -1
  53. package/lib-esm/Position.d.ts +4 -4
  54. package/lib-esm/ProgressBar.d.ts +1 -1
  55. package/lib-esm/SelectMenu/SelectMenu.d.ts +152 -152
  56. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  57. package/lib-esm/TextInputWithTokens.d.ts +27 -27
  58. package/lib-esm/Timeline.d.ts +26 -26
  59. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  60. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  61. package/lib-esm/Token/Token.d.ts +1 -1
  62. package/lib-esm/_TextInputWrapper.d.ts +1 -1
  63. package/lib-esm/sx.d.ts +8 -2
  64. package/lib-esm/theme.d.ts +78 -0
  65. package/lib-esm/theme.js +2 -1
  66. package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
  67. package/lib-esm/utils/types/KeyPaths.js +1 -0
  68. package/package.json +1 -1
package/lib/Dialog.d.ts CHANGED
@@ -15,6 +15,7 @@ declare namespace DialogHeader {
15
15
  };
16
16
  var propTypes: {
17
17
  lineHeight?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
18
+ border?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
18
19
  alignContent?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.AlignContent, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
19
20
  alignItems?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.AlignItems, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
20
21
  alignSelf?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.AlignSelf, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
@@ -90,7 +91,6 @@ declare namespace DialogHeader {
90
91
  zIndex?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.ZIndex, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
91
92
  background?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
92
93
  backgroundPosition?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.BackgroundPosition<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
93
- border?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
94
94
  borderBottom?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.BorderBottom<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
95
95
  borderColor?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
96
96
  borderLeft?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.BorderLeft<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
@@ -134,6 +134,7 @@ declare namespace DialogHeader {
134
134
  paddingX?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
135
135
  py?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
136
136
  paddingY?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
137
+ size?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
137
138
  key?: React.Validator<React.Key | null | undefined> | undefined;
138
139
  defaultChecked?: React.Validator<boolean | null | undefined> | undefined;
139
140
  defaultValue?: React.Validator<string | number | readonly string[] | null | undefined> | undefined;
@@ -141,14 +142,14 @@ declare namespace DialogHeader {
141
142
  suppressHydrationWarning?: React.Validator<boolean | null | undefined> | undefined;
142
143
  accessKey?: React.Validator<string | null | undefined> | undefined;
143
144
  className?: React.Validator<string | null | undefined> | undefined;
144
- contentEditable?: React.Validator<"inherit" | (boolean | "true" | "false") | null | undefined> | undefined;
145
+ contentEditable?: React.Validator<"inherit" | (boolean | "false" | "true") | null | undefined> | undefined;
145
146
  contextMenu?: React.Validator<string | null | undefined> | undefined;
146
147
  dir?: React.Validator<string | null | undefined> | undefined;
147
- draggable?: React.Validator<(boolean | "true" | "false") | null | undefined> | undefined;
148
+ draggable?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined;
148
149
  id?: React.Validator<string | null | undefined> | undefined;
149
150
  lang?: React.Validator<string | null | undefined> | undefined;
150
151
  placeholder?: React.Validator<string | null | undefined> | undefined;
151
- spellCheck?: React.Validator<(boolean | "true" | "false") | null | undefined> | undefined;
152
+ spellCheck?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined;
152
153
  tabIndex?: React.Validator<number | null | undefined> | undefined;
153
154
  radioGroup?: React.Validator<string | null | undefined> | undefined;
154
155
  role?: React.Validator<React.AriaRole | null | undefined> | undefined;
@@ -171,50 +172,50 @@ declare namespace DialogHeader {
171
172
  results?: React.Validator<number | null | undefined> | undefined;
172
173
  security?: React.Validator<string | null | undefined> | undefined;
173
174
  unselectable?: React.Validator<"on" | "off" | null | undefined> | undefined;
174
- inputMode?: React.Validator<"none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | null | undefined> | undefined;
175
+ inputMode?: React.Validator<"search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | null | undefined> | undefined;
175
176
  is?: React.Validator<string | null | undefined> | undefined;
176
177
  'aria-activedescendant'?: React.Validator<string | null | undefined> | undefined;
177
- 'aria-atomic'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
178
- 'aria-autocomplete'?: React.Validator<"none" | "list" | "inline" | "both" | null | undefined> | undefined;
179
- 'aria-busy'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
180
- 'aria-checked'?: React.Validator<boolean | "true" | "false" | "mixed" | null | undefined> | undefined;
178
+ 'aria-atomic'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
179
+ 'aria-autocomplete'?: React.Validator<"none" | "both" | "inline" | "list" | null | undefined> | undefined;
180
+ 'aria-busy'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
181
+ 'aria-checked'?: React.Validator<boolean | "mixed" | "false" | "true" | null | undefined> | undefined;
181
182
  'aria-colcount'?: React.Validator<number | null | undefined> | undefined;
182
183
  'aria-colindex'?: React.Validator<number | null | undefined> | undefined;
183
184
  'aria-colspan'?: React.Validator<number | null | undefined> | undefined;
184
185
  'aria-controls'?: React.Validator<string | null | undefined> | undefined;
185
- 'aria-current'?: React.Validator<boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | null | undefined> | undefined;
186
+ 'aria-current'?: React.Validator<boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | null | undefined> | undefined;
186
187
  'aria-describedby'?: React.Validator<string | null | undefined> | undefined;
187
188
  'aria-details'?: React.Validator<string | null | undefined> | undefined;
188
- 'aria-disabled'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
189
- 'aria-dropeffect'?: React.Validator<"none" | "link" | "copy" | "move" | "execute" | "popup" | null | undefined> | undefined;
189
+ 'aria-disabled'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
190
+ 'aria-dropeffect'?: React.Validator<"link" | "none" | "copy" | "move" | "execute" | "popup" | null | undefined> | undefined;
190
191
  'aria-errormessage'?: React.Validator<string | null | undefined> | undefined;
191
- 'aria-expanded'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
192
+ 'aria-expanded'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
192
193
  'aria-flowto'?: React.Validator<string | null | undefined> | undefined;
193
- 'aria-grabbed'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
194
- 'aria-haspopup'?: React.Validator<boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | null | undefined> | undefined;
195
- 'aria-hidden'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
196
- 'aria-invalid'?: React.Validator<boolean | "true" | "false" | "grammar" | "spelling" | null | undefined> | undefined;
194
+ 'aria-grabbed'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
195
+ 'aria-haspopup'?: React.Validator<boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | null | undefined> | undefined;
196
+ 'aria-hidden'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
197
+ 'aria-invalid'?: React.Validator<boolean | "false" | "true" | "grammar" | "spelling" | null | undefined> | undefined;
197
198
  'aria-keyshortcuts'?: React.Validator<string | null | undefined> | undefined;
198
199
  'aria-label'?: React.Validator<string | null | undefined> | undefined;
199
200
  'aria-labelledby'?: React.Validator<string | null | undefined> | undefined;
200
201
  'aria-level'?: React.Validator<number | null | undefined> | undefined;
201
202
  'aria-live'?: React.Validator<"off" | "assertive" | "polite" | null | undefined> | undefined;
202
- 'aria-modal'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
203
- 'aria-multiline'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
204
- 'aria-multiselectable'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
203
+ 'aria-modal'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
204
+ 'aria-multiline'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
205
+ 'aria-multiselectable'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
205
206
  'aria-orientation'?: React.Validator<"horizontal" | "vertical" | null | undefined> | undefined;
206
207
  'aria-owns'?: React.Validator<string | null | undefined> | undefined;
207
208
  'aria-placeholder'?: React.Validator<string | null | undefined> | undefined;
208
209
  'aria-posinset'?: React.Validator<number | null | undefined> | undefined;
209
- 'aria-pressed'?: React.Validator<boolean | "true" | "false" | "mixed" | null | undefined> | undefined;
210
- 'aria-readonly'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
210
+ 'aria-pressed'?: React.Validator<boolean | "mixed" | "false" | "true" | null | undefined> | undefined;
211
+ 'aria-readonly'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
211
212
  'aria-relevant'?: React.Validator<"all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | null | undefined> | undefined;
212
- 'aria-required'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
213
+ 'aria-required'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
213
214
  'aria-roledescription'?: React.Validator<string | null | undefined> | undefined;
214
215
  'aria-rowcount'?: React.Validator<number | null | undefined> | undefined;
215
216
  'aria-rowindex'?: React.Validator<number | null | undefined> | undefined;
216
217
  'aria-rowspan'?: React.Validator<number | null | undefined> | undefined;
217
- 'aria-selected'?: React.Validator<boolean | "true" | "false" | null | undefined> | undefined;
218
+ 'aria-selected'?: React.Validator<boolean | "false" | "true" | null | undefined> | undefined;
218
219
  'aria-setsize'?: React.Validator<number | null | undefined> | undefined;
219
220
  'aria-sort'?: React.Validator<"none" | "ascending" | "descending" | "other" | null | undefined> | undefined;
220
221
  'aria-valuemax'?: React.Validator<number | null | undefined> | undefined;
@@ -384,10 +385,9 @@ declare namespace DialogHeader {
384
385
  onAnimationIterationCapture?: React.Validator<React.AnimationEventHandler<HTMLDivElement> | null | undefined> | undefined;
385
386
  onTransitionEnd?: React.Validator<React.TransitionEventHandler<HTMLDivElement> | null | undefined> | undefined;
386
387
  onTransitionEndCapture?: React.Validator<React.TransitionEventHandler<HTMLDivElement> | null | undefined> | undefined;
387
- size?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
388
388
  borderX?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
389
389
  borderY?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
390
- sx?: React.Validator<import("@styled-system/css").SystemStyleObject | undefined> | undefined;
390
+ sx?: React.Validator<import("./sx").BetterSystemStyleObject | undefined> | undefined;
391
391
  theme?: React.Validator<any> | undefined;
392
392
  };
393
393
  var displayName: string;
@@ -398,9 +398,9 @@ declare type InternalDialogProps = {
398
398
  initialFocusRef?: React.RefObject<HTMLElement>;
399
399
  returnFocusRef?: React.RefObject<HTMLElement>;
400
400
  } & ComponentProps<typeof DialogBase>;
401
- declare const Dialog: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "sx" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>>;
401
+ declare const Dialog: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>>;
402
402
  export declare type DialogProps = ComponentProps<typeof Dialog>;
403
- declare const _default: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "sx" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>> & {
403
+ declare const _default: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>> & {
404
404
  Header: typeof DialogHeader;
405
405
  };
406
406
  export default _default;