@primer/components 0.0.0-2021104155729 → 0.0.0-20211081215

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 (54) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/lib/ActionList2/Item.d.ts +1 -1
  3. package/lib/ActionList2/Item.js +16 -5
  4. package/lib/ActionList2/List.js +14 -6
  5. package/lib/Autocomplete/Autocomplete.d.ts +4 -4
  6. package/lib/Autocomplete/AutocompleteInput.d.ts +4 -4
  7. package/lib/Button/Button.d.ts +2 -2
  8. package/lib/Button/ButtonClose.d.ts +3 -3
  9. package/lib/Button/ButtonDanger.d.ts +2 -2
  10. package/lib/Button/ButtonInvisible.d.ts +2 -2
  11. package/lib/Button/ButtonOutline.d.ts +2 -2
  12. package/lib/Button/ButtonPrimary.d.ts +2 -2
  13. package/lib/CircleOcticon.d.ts +2 -2
  14. package/lib/Dialog.d.ts +4 -4
  15. package/lib/Dropdown.d.ts +10 -10
  16. package/lib/DropdownMenu/DropdownButton.d.ts +4 -4
  17. package/lib/FilterList.d.ts +2 -2
  18. package/lib/Position.d.ts +4 -4
  19. package/lib/SelectMenu/SelectMenu.d.ts +17 -17
  20. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  21. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  22. package/lib/TextInputWithTokens.d.ts +4 -4
  23. package/lib/Timeline.d.ts +2 -2
  24. package/lib/Token/AvatarToken.d.ts +1 -1
  25. package/lib/Token/IssueLabelToken.d.ts +1 -1
  26. package/lib/Token/Token.d.ts +1 -1
  27. package/lib/utils/create-slots.d.ts +1 -1
  28. package/lib-esm/ActionList2/Item.d.ts +1 -1
  29. package/lib-esm/ActionList2/Item.js +9 -5
  30. package/lib-esm/ActionList2/List.js +9 -6
  31. package/lib-esm/Autocomplete/Autocomplete.d.ts +4 -4
  32. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +4 -4
  33. package/lib-esm/Button/Button.d.ts +2 -2
  34. package/lib-esm/Button/ButtonClose.d.ts +3 -3
  35. package/lib-esm/Button/ButtonDanger.d.ts +2 -2
  36. package/lib-esm/Button/ButtonInvisible.d.ts +2 -2
  37. package/lib-esm/Button/ButtonOutline.d.ts +2 -2
  38. package/lib-esm/Button/ButtonPrimary.d.ts +2 -2
  39. package/lib-esm/CircleOcticon.d.ts +2 -2
  40. package/lib-esm/Dialog.d.ts +4 -4
  41. package/lib-esm/Dropdown.d.ts +10 -10
  42. package/lib-esm/DropdownMenu/DropdownButton.d.ts +4 -4
  43. package/lib-esm/FilterList.d.ts +2 -2
  44. package/lib-esm/Position.d.ts +4 -4
  45. package/lib-esm/SelectMenu/SelectMenu.d.ts +17 -17
  46. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  47. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  48. package/lib-esm/TextInputWithTokens.d.ts +4 -4
  49. package/lib-esm/Timeline.d.ts +2 -2
  50. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  51. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  52. package/lib-esm/Token/Token.d.ts +1 -1
  53. package/lib-esm/utils/create-slots.d.ts +1 -1
  54. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-2021104155729
3
+ ## 0.0.0-20211081215
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -60,7 +60,7 @@ export declare type ItemProps = {
60
60
  } & SxProp;
61
61
  declare const Slot: React.FC<{
62
62
  name: "LeadingVisual" | "InlineDescription" | "BlockDescription" | "TrailingVisual";
63
- children: React.ReactNode | ((context: Record<string, unknown>) => React.ReactNode);
63
+ children: React.ReactNode;
64
64
  }>;
65
65
  export { Slot };
66
66
  export declare type ItemContext = Pick<ItemProps, 'variant' | 'disabled'> & {
@@ -9,11 +9,13 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _ssr = require("@react-aria/ssr");
11
11
 
12
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
13
+
12
14
  var _ThemeProvider = require("../ThemeProvider");
13
15
 
14
16
  var _Box = _interopRequireDefault(require("../Box"));
15
17
 
16
- var _sx = require("../sx");
18
+ var _sx = _interopRequireWildcard(require("../sx"));
17
19
 
18
20
  var _createSlots = _interopRequireDefault(require("../utils/create-slots"));
19
21
 
@@ -21,6 +23,10 @@ var _List = require("./List");
21
23
 
22
24
  var _Selection = require("./Selection");
23
25
 
26
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
27
+
28
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
+
24
30
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
31
 
26
32
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -60,6 +66,12 @@ const {
60
66
  Slot
61
67
  } = (0, _createSlots.default)(['LeadingVisual', 'InlineDescription', 'BlockDescription', 'TrailingVisual']);
62
68
  exports.Slot = Slot;
69
+
70
+ const LiBox = _styledComponents.default.li.withConfig({
71
+ displayName: "Item__LiBox",
72
+ componentId: "c3scat-0"
73
+ })(_sx.default);
74
+
63
75
  const TEXT_ROW_HEIGHT = '20px'; // custom value off the scale
64
76
 
65
77
  exports.TEXT_ROW_HEIGHT = TEXT_ROW_HEIGHT;
@@ -69,7 +81,7 @@ const Item = /*#__PURE__*/_react.default.forwardRef(({
69
81
  disabled = false,
70
82
  selected = undefined,
71
83
  onSelect = () => null,
72
- sx = {},
84
+ sx: propsSx = {},
73
85
  id,
74
86
  _PrivateItemWrapper = ({
75
87
  children
@@ -167,10 +179,9 @@ const Item = /*#__PURE__*/_react.default.forwardRef(({
167
179
  inlineDescriptionId,
168
180
  blockDescriptionId
169
181
  }
170
- }, slots => /*#__PURE__*/_react.default.createElement(_Box.default, _extends({
171
- as: "li",
182
+ }, slots => /*#__PURE__*/_react.default.createElement(LiBox, _extends({
172
183
  ref: forwardedRef,
173
- sx: (0, _sx.merge)(styles, sx),
184
+ sx: (0, _sx.merge)(styles, propsSx),
174
185
  onClick: clickHandler,
175
186
  "aria-selected": selected,
176
187
  "aria-disabled": disabled ? true : undefined,
@@ -7,9 +7,13 @@ exports.List = exports.ListContext = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _Box = _interopRequireDefault(require("../Box"));
10
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
11
11
 
12
- var _sx = require("../sx");
12
+ var _sx = _interopRequireWildcard(require("../sx"));
13
+
14
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
+
16
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
17
 
14
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
19
 
@@ -19,11 +23,16 @@ const ListContext = /*#__PURE__*/_react.default.createContext({});
19
23
 
20
24
  exports.ListContext = ListContext;
21
25
 
26
+ const ListBox = _styledComponents.default.ul.withConfig({
27
+ displayName: "List__ListBox",
28
+ componentId: "cvbq60-0"
29
+ })(_sx.default);
30
+
22
31
  const List = /*#__PURE__*/_react.default.forwardRef(({
23
32
  variant = 'inset',
24
33
  selectionVariant,
25
34
  showDividers = false,
26
- sx = {},
35
+ sx: propsSx = {},
27
36
  ...props
28
37
  }, forwardedRef) => {
29
38
  const styles = {
@@ -32,9 +41,8 @@ const List = /*#__PURE__*/_react.default.forwardRef(({
32
41
  // reset ul styles
33
42
  paddingY: variant === 'inset' ? 2 : 0
34
43
  };
35
- return /*#__PURE__*/_react.default.createElement(_Box.default, _extends({
36
- as: "ul",
37
- sx: (0, _sx.merge)(styles, sx),
44
+ return /*#__PURE__*/_react.default.createElement(ListBox, _extends({
45
+ sx: (0, _sx.merge)(styles, propsSx),
38
46
  "aria-multiselectable": selectionVariant === 'multiple' ? true : undefined
39
47
  }, props, {
40
48
  ref: forwardedRef
@@ -20,7 +20,7 @@ declare const _default: React.FC<{
20
20
  } & {
21
21
  as?: string | React.ComponentType<any> | undefined;
22
22
  forwardedAs?: string | React.ComponentType<any> | undefined;
23
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "className" | "sx" | "variant" | "disabled" | "contrast"> & {
23
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "sx" | "variant" | "className" | "disabled" | "contrast"> & {
24
24
  className?: string | undefined;
25
25
  icon?: React.ComponentType<{
26
26
  className?: string | undefined;
@@ -38,6 +38,9 @@ declare const _default: React.FC<{
38
38
  style?: React.CSSProperties | undefined;
39
39
  title?: string | undefined;
40
40
  block?: boolean | undefined;
41
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
42
+ variant?: "small" | "large" | undefined;
43
+ role?: React.AriaRole | undefined;
41
44
  key?: React.Key | null | undefined;
42
45
  defaultChecked?: boolean | undefined;
43
46
  defaultValue?: string | number | readonly string[] | undefined;
@@ -55,7 +58,6 @@ declare const _default: React.FC<{
55
58
  spellCheck?: (boolean | "false" | "true") | undefined;
56
59
  tabIndex?: number | undefined;
57
60
  radioGroup?: string | undefined;
58
- role?: React.AriaRole | undefined;
59
61
  about?: string | undefined;
60
62
  datatype?: string | undefined;
61
63
  inlist?: any;
@@ -288,8 +290,6 @@ declare const _default: React.FC<{
288
290
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
289
291
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
290
292
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
291
- sx?: import("../sx").BetterSystemStyleObject | undefined;
292
- variant?: "small" | "large" | undefined;
293
293
  disabled?: boolean | undefined;
294
294
  hasIcon?: boolean | undefined;
295
295
  contrast?: boolean | undefined;
@@ -12,7 +12,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
12
12
  } & {
13
13
  as?: string | React.ComponentType<any> | undefined;
14
14
  forwardedAs?: string | React.ComponentType<any> | undefined;
15
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "className" | "sx" | "variant" | "disabled" | "contrast"> & {
15
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "sx" | "variant" | "className" | "disabled" | "contrast"> & {
16
16
  className?: string | undefined;
17
17
  icon?: React.ComponentType<{
18
18
  className?: string | undefined;
@@ -30,6 +30,9 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
30
30
  style?: React.CSSProperties | undefined;
31
31
  title?: string | undefined;
32
32
  block?: boolean | undefined;
33
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
34
+ variant?: "small" | "large" | undefined;
35
+ role?: React.AriaRole | undefined;
33
36
  key?: React.Key | null | undefined;
34
37
  defaultChecked?: boolean | undefined;
35
38
  defaultValue?: string | number | readonly string[] | undefined;
@@ -47,7 +50,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
47
50
  spellCheck?: (boolean | "false" | "true") | undefined;
48
51
  tabIndex?: number | undefined;
49
52
  radioGroup?: string | undefined;
50
- role?: React.AriaRole | undefined;
51
53
  about?: string | undefined;
52
54
  datatype?: string | undefined;
53
55
  inlist?: any;
@@ -280,8 +282,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
280
282
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
281
283
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
282
284
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
283
- sx?: import("../sx").BetterSystemStyleObject | undefined;
284
- variant?: "small" | "large" | undefined;
285
285
  disabled?: boolean | undefined;
286
286
  hasIcon?: boolean | undefined;
287
287
  contrast?: boolean | undefined;
@@ -16,6 +16,8 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
16
16
  slot?: string | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
18
  title?: string | undefined;
19
+ variant?: "small" | "medium" | "large" | undefined;
20
+ role?: import("react").AriaRole | undefined;
19
21
  type?: "button" | "reset" | "submit" | undefined;
20
22
  name?: string | undefined;
21
23
  key?: import("react").Key | null | undefined;
@@ -35,7 +37,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
35
37
  spellCheck?: (boolean | "false" | "true") | undefined;
36
38
  tabIndex?: number | undefined;
37
39
  radioGroup?: string | undefined;
38
- role?: import("react").AriaRole | undefined;
39
40
  about?: string | undefined;
40
41
  datatype?: string | undefined;
41
42
  inlist?: any;
@@ -268,7 +269,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
268
269
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
270
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
271
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
272
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
273
  disabled?: boolean | undefined;
274
274
  autoFocus?: boolean | undefined;
@@ -54,6 +54,8 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
54
54
  py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
55
  paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
56
56
  size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
57
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
58
+ role?: React.AriaRole | undefined;
57
59
  type?: "button" | "reset" | "submit" | undefined;
58
60
  name?: string | undefined;
59
61
  key?: React.Key | null | undefined;
@@ -73,7 +75,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
73
75
  spellCheck?: (boolean | "false" | "true") | undefined;
74
76
  tabIndex?: number | undefined;
75
77
  radioGroup?: string | undefined;
76
- role?: React.AriaRole | undefined;
77
78
  about?: string | undefined;
78
79
  datatype?: string | undefined;
79
80
  inlist?: any;
@@ -306,7 +307,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
306
307
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
307
308
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
308
309
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
309
- sx?: import("../sx").BetterSystemStyleObject | undefined;
310
310
  disabled?: boolean | undefined;
311
311
  autoFocus?: boolean | undefined;
312
312
  formAction?: string | undefined;
@@ -316,6 +316,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
316
316
  formTarget?: string | undefined;
317
317
  } & {
318
318
  theme?: any;
319
- }, "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" | "value" | "form" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "type" | "name" | "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" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
319
+ }, "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" | "value" | "form" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
320
320
  export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
321
321
  export default ButtonClose;
@@ -16,6 +16,8 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
16
16
  slot?: string | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
18
  title?: string | undefined;
19
+ variant?: "small" | "medium" | "large" | undefined;
20
+ role?: import("react").AriaRole | undefined;
19
21
  type?: "button" | "reset" | "submit" | undefined;
20
22
  name?: string | undefined;
21
23
  key?: import("react").Key | null | undefined;
@@ -35,7 +37,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
35
37
  spellCheck?: (boolean | "false" | "true") | undefined;
36
38
  tabIndex?: number | undefined;
37
39
  radioGroup?: string | undefined;
38
- role?: import("react").AriaRole | undefined;
39
40
  about?: string | undefined;
40
41
  datatype?: string | undefined;
41
42
  inlist?: any;
@@ -268,7 +269,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
268
269
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
270
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
271
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
272
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
273
  disabled?: boolean | undefined;
274
274
  autoFocus?: boolean | undefined;
@@ -16,6 +16,8 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
16
16
  slot?: string | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
18
  title?: string | undefined;
19
+ variant?: "small" | "medium" | "large" | undefined;
20
+ role?: import("react").AriaRole | undefined;
19
21
  type?: "button" | "reset" | "submit" | undefined;
20
22
  name?: string | undefined;
21
23
  key?: import("react").Key | null | undefined;
@@ -35,7 +37,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
35
37
  spellCheck?: (boolean | "false" | "true") | undefined;
36
38
  tabIndex?: number | undefined;
37
39
  radioGroup?: string | undefined;
38
- role?: import("react").AriaRole | undefined;
39
40
  about?: string | undefined;
40
41
  datatype?: string | undefined;
41
42
  inlist?: any;
@@ -268,7 +269,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
268
269
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
270
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
271
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
272
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
273
  disabled?: boolean | undefined;
274
274
  autoFocus?: boolean | undefined;
@@ -16,6 +16,8 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
16
16
  slot?: string | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
18
  title?: string | undefined;
19
+ variant?: "small" | "medium" | "large" | undefined;
20
+ role?: import("react").AriaRole | undefined;
19
21
  type?: "button" | "reset" | "submit" | undefined;
20
22
  name?: string | undefined;
21
23
  key?: import("react").Key | null | undefined;
@@ -35,7 +37,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
35
37
  spellCheck?: (boolean | "false" | "true") | undefined;
36
38
  tabIndex?: number | undefined;
37
39
  radioGroup?: string | undefined;
38
- role?: import("react").AriaRole | undefined;
39
40
  about?: string | undefined;
40
41
  datatype?: string | undefined;
41
42
  inlist?: any;
@@ -268,7 +269,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
268
269
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
270
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
271
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
272
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
273
  disabled?: boolean | undefined;
274
274
  autoFocus?: boolean | undefined;
@@ -16,6 +16,8 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
16
16
  slot?: string | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
18
  title?: string | undefined;
19
+ variant?: "small" | "medium" | "large" | undefined;
20
+ role?: import("react").AriaRole | undefined;
19
21
  type?: "button" | "reset" | "submit" | undefined;
20
22
  name?: string | undefined;
21
23
  key?: import("react").Key | null | undefined;
@@ -35,7 +37,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
35
37
  spellCheck?: (boolean | "false" | "true") | undefined;
36
38
  tabIndex?: number | undefined;
37
39
  radioGroup?: string | undefined;
38
- role?: import("react").AriaRole | undefined;
39
40
  about?: string | undefined;
40
41
  datatype?: string | undefined;
41
42
  inlist?: any;
@@ -268,7 +269,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
268
269
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
270
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
271
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
272
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
273
  disabled?: boolean | undefined;
274
274
  autoFocus?: boolean | undefined;
@@ -132,6 +132,8 @@ declare namespace CircleOcticon {
132
132
  paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
133
133
  py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
134
134
  paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
135
+ sx?: import("./sx").BetterSystemStyleObject | undefined;
136
+ role?: React.AriaRole | undefined;
135
137
  key?: React.Key | null | undefined;
136
138
  defaultChecked?: boolean | undefined;
137
139
  defaultValue?: string | number | readonly string[] | undefined;
@@ -149,7 +151,6 @@ declare namespace CircleOcticon {
149
151
  spellCheck?: (boolean | "false" | "true") | undefined;
150
152
  tabIndex?: number | undefined;
151
153
  radioGroup?: string | undefined;
152
- role?: React.AriaRole | undefined;
153
154
  about?: string | undefined;
154
155
  datatype?: string | undefined;
155
156
  inlist?: any;
@@ -384,7 +385,6 @@ declare namespace CircleOcticon {
384
385
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
385
386
  borderX?: import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
386
387
  borderY?: import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
387
- sx?: import("./sx").BetterSystemStyleObject | undefined;
388
388
  theme?: any;
389
389
  };
390
390
  }
package/lib/Dialog.d.ts CHANGED
@@ -135,6 +135,8 @@ declare namespace DialogHeader {
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
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;
138
+ sx?: React.Validator<import("./sx").BetterSystemStyleObject | undefined> | undefined;
139
+ role?: React.Validator<React.AriaRole | null | undefined> | undefined;
138
140
  key?: React.Validator<React.Key | null | undefined> | undefined;
139
141
  defaultChecked?: React.Validator<boolean | null | undefined> | undefined;
140
142
  defaultValue?: React.Validator<string | number | readonly string[] | null | undefined> | undefined;
@@ -152,7 +154,6 @@ declare namespace DialogHeader {
152
154
  spellCheck?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined;
153
155
  tabIndex?: React.Validator<number | null | undefined> | undefined;
154
156
  radioGroup?: React.Validator<string | null | undefined> | undefined;
155
- role?: React.Validator<React.AriaRole | null | undefined> | undefined;
156
157
  about?: React.Validator<string | null | undefined> | undefined;
157
158
  datatype?: React.Validator<string | null | undefined> | undefined;
158
159
  inlist?: React.Validator<any> | undefined;
@@ -387,7 +388,6 @@ declare namespace DialogHeader {
387
388
  onTransitionEndCapture?: React.Validator<React.TransitionEventHandler<HTMLDivElement> | null | undefined> | undefined;
388
389
  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
390
  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("./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" | "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>>;
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" | "sx" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "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" | "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>> & {
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" | "sx" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>> & {
404
404
  Header: typeof DialogHeader;
405
405
  };
406
406
  export default _default;