@primer/components 0.0.0-202192925146 → 0.0.0-20219296335

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 (92) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/dist/browser.esm.js +147 -143
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +147 -143
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/Autocomplete/Autocomplete.d.ts +28 -28
  7. package/lib/Autocomplete/AutocompleteInput.d.ts +28 -28
  8. package/lib/Button/Button.d.ts +26 -26
  9. package/lib/Button/ButtonBase.d.ts +1 -1
  10. package/lib/Button/ButtonClose.d.ts +27 -27
  11. package/lib/Button/ButtonDanger.d.ts +26 -26
  12. package/lib/Button/ButtonInvisible.d.ts +26 -26
  13. package/lib/Button/ButtonOutline.d.ts +26 -26
  14. package/lib/Button/ButtonPrimary.d.ts +26 -26
  15. package/lib/Button/ButtonStyles.js +1 -1
  16. package/lib/CircleBadge.d.ts +2 -2
  17. package/lib/CircleOcticon.d.ts +30 -30
  18. package/lib/Dialog.d.ts +33 -33
  19. package/lib/Dropdown.d.ts +114 -112
  20. package/lib/DropdownMenu/DropdownButton.d.ts +28 -28
  21. package/lib/FilterList.d.ts +25 -25
  22. package/lib/Flash.d.ts +1 -1
  23. package/lib/Label.d.ts +1 -1
  24. package/lib/NewButton/button.d.ts +60 -58
  25. package/lib/NewButton/button.js +61 -27
  26. package/lib/NewButton/buttonStyles.d.ts +2 -0
  27. package/lib/NewButton/buttonStyles.js +14 -0
  28. package/lib/NewButton/counter.js +2 -1
  29. package/lib/Position.d.ts +4 -4
  30. package/lib/SelectMenu/SelectMenu.d.ts +159 -159
  31. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  32. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  33. package/lib/TextInputWithTokens.d.ts +32 -28
  34. package/lib/TextInputWithTokens.js +102 -29
  35. package/lib/Timeline.d.ts +31 -31
  36. package/lib/Token/AvatarToken.d.ts +1 -1
  37. package/lib/Token/IssueLabelToken.d.ts +1 -1
  38. package/lib/Token/Token.d.ts +1 -1
  39. package/lib/Token/Token.js +13 -2
  40. package/lib/Token/TokenBase.js +0 -4
  41. package/lib/Token/_RemoveTokenButton.js +15 -2
  42. package/lib/_TextInputWrapper.js +1 -1
  43. package/lib/sx.d.ts +8 -2
  44. package/lib/theme.d.ts +78 -0
  45. package/lib/theme.js +3 -1
  46. package/lib/utils/testing.d.ts +1 -1
  47. package/lib/utils/types/KeyPaths.d.ts +3 -0
  48. package/lib/utils/types/KeyPaths.js +1 -0
  49. package/lib-esm/Autocomplete/Autocomplete.d.ts +28 -28
  50. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +28 -28
  51. package/lib-esm/Button/Button.d.ts +26 -26
  52. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  53. package/lib-esm/Button/ButtonClose.d.ts +27 -27
  54. package/lib-esm/Button/ButtonDanger.d.ts +26 -26
  55. package/lib-esm/Button/ButtonInvisible.d.ts +26 -26
  56. package/lib-esm/Button/ButtonOutline.d.ts +26 -26
  57. package/lib-esm/Button/ButtonPrimary.d.ts +26 -26
  58. package/lib-esm/Button/ButtonStyles.js +1 -1
  59. package/lib-esm/CircleBadge.d.ts +2 -2
  60. package/lib-esm/CircleOcticon.d.ts +30 -30
  61. package/lib-esm/Dialog.d.ts +33 -33
  62. package/lib-esm/Dropdown.d.ts +114 -112
  63. package/lib-esm/DropdownMenu/DropdownButton.d.ts +28 -28
  64. package/lib-esm/FilterList.d.ts +25 -25
  65. package/lib-esm/Flash.d.ts +1 -1
  66. package/lib-esm/Label.d.ts +1 -1
  67. package/lib-esm/NewButton/button.d.ts +60 -58
  68. package/lib-esm/NewButton/button.js +61 -27
  69. package/lib-esm/NewButton/buttonStyles.d.ts +2 -0
  70. package/lib-esm/NewButton/buttonStyles.js +3 -0
  71. package/lib-esm/NewButton/counter.js +2 -1
  72. package/lib-esm/Position.d.ts +4 -4
  73. package/lib-esm/SelectMenu/SelectMenu.d.ts +159 -159
  74. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  75. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  76. package/lib-esm/TextInputWithTokens.d.ts +32 -28
  77. package/lib-esm/TextInputWithTokens.js +101 -30
  78. package/lib-esm/Timeline.d.ts +31 -31
  79. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  80. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  81. package/lib-esm/Token/Token.d.ts +1 -1
  82. package/lib-esm/Token/Token.js +13 -2
  83. package/lib-esm/Token/TokenBase.js +0 -4
  84. package/lib-esm/Token/_RemoveTokenButton.js +11 -2
  85. package/lib-esm/_TextInputWrapper.js +1 -1
  86. package/lib-esm/sx.d.ts +8 -2
  87. package/lib-esm/theme.d.ts +78 -0
  88. package/lib-esm/theme.js +2 -1
  89. package/lib-esm/utils/testing.d.ts +1 -1
  90. package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
  91. package/lib-esm/utils/types/KeyPaths.js +1 -0
  92. package/package.json +2 -1
@@ -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" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
23
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "block" | "icon" | "theme" | "className" | "sx" | "disabled" | "variant" | "contrast"> & {
24
24
  className?: string | undefined;
25
25
  icon?: React.ComponentType<{
26
26
  className?: string | undefined;
@@ -31,8 +31,10 @@ declare const _default: React.FC<{
31
31
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
32
32
  translate?: "yes" | "no" | undefined;
33
33
  width?: import("styled-system").ResponsiveValue<import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
34
- slot?: string | undefined;
34
+ hidden?: boolean | undefined;
35
35
  style?: React.CSSProperties | undefined;
36
+ block?: boolean | undefined;
37
+ slot?: string | undefined;
36
38
  title?: string | undefined;
37
39
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
38
40
  key?: React.Key | null | undefined;
@@ -42,15 +44,14 @@ declare const _default: React.FC<{
42
44
  suppressHydrationWarning?: boolean | undefined;
43
45
  accessKey?: string | undefined;
44
46
  className?: string | undefined;
45
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
47
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
46
48
  contextMenu?: string | undefined;
47
49
  dir?: string | undefined;
48
- draggable?: (boolean | "true" | "false") | undefined;
49
- hidden?: boolean | undefined;
50
+ draggable?: (boolean | "false" | "true") | undefined;
50
51
  id?: string | undefined;
51
52
  lang?: string | undefined;
52
53
  placeholder?: string | undefined;
53
- spellCheck?: (boolean | "true" | "false") | undefined;
54
+ spellCheck?: (boolean | "false" | "true") | undefined;
54
55
  tabIndex?: number | undefined;
55
56
  radioGroup?: string | undefined;
56
57
  role?: React.AriaRole | undefined;
@@ -73,50 +74,50 @@ declare const _default: React.FC<{
73
74
  results?: number | undefined;
74
75
  security?: string | undefined;
75
76
  unselectable?: "on" | "off" | undefined;
76
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
77
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
77
78
  is?: string | undefined;
78
79
  'aria-activedescendant'?: string | undefined;
79
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
80
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
81
- 'aria-busy'?: boolean | "true" | "false" | undefined;
82
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
80
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
81
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
82
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
83
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
83
84
  'aria-colcount'?: number | undefined;
84
85
  'aria-colindex'?: number | undefined;
85
86
  'aria-colspan'?: number | undefined;
86
87
  'aria-controls'?: string | undefined;
87
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
88
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
88
89
  'aria-describedby'?: string | undefined;
89
90
  'aria-details'?: string | undefined;
90
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
91
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
91
92
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
92
93
  'aria-errormessage'?: string | undefined;
93
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
94
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
94
95
  'aria-flowto'?: string | undefined;
95
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
96
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
97
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
98
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
96
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
97
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
98
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
99
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
99
100
  'aria-keyshortcuts'?: string | undefined;
100
101
  'aria-label'?: string | undefined;
101
102
  'aria-labelledby'?: string | undefined;
102
103
  'aria-level'?: number | undefined;
103
104
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
104
- 'aria-modal'?: boolean | "true" | "false" | undefined;
105
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
106
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
105
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
106
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
107
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
107
108
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
108
109
  'aria-owns'?: string | undefined;
109
110
  'aria-placeholder'?: string | undefined;
110
111
  'aria-posinset'?: number | undefined;
111
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
112
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
112
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
113
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
113
114
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
114
- 'aria-required'?: boolean | "true" | "false" | undefined;
115
+ 'aria-required'?: boolean | "false" | "true" | undefined;
115
116
  'aria-roledescription'?: string | undefined;
116
117
  'aria-rowcount'?: number | undefined;
117
118
  'aria-rowindex'?: number | undefined;
118
119
  'aria-rowspan'?: number | undefined;
119
- 'aria-selected'?: boolean | "true" | "false" | undefined;
120
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
120
121
  'aria-setsize'?: number | undefined;
121
122
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
122
123
  'aria-valuemax'?: number | undefined;
@@ -287,15 +288,14 @@ declare const _default: React.FC<{
287
288
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
288
289
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
289
290
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
290
- block?: boolean | undefined;
291
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
291
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
292
292
  disabled?: boolean | undefined;
293
293
  variant?: "small" | "large" | undefined;
294
294
  hasIcon?: boolean | undefined;
295
295
  contrast?: boolean | undefined;
296
296
  } & {
297
297
  theme?: any;
298
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
298
+ }, "maxWidth" | "minWidth" | "width" | "block" | "theme" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
299
299
  as?: React.ComponentType<any> | undefined;
300
300
  }>;
301
301
  Menu: typeof AutocompleteMenu;
@@ -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" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
15
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "block" | "icon" | "theme" | "className" | "sx" | "disabled" | "variant" | "contrast"> & {
16
16
  className?: string | undefined;
17
17
  icon?: React.ComponentType<{
18
18
  className?: string | undefined;
@@ -23,8 +23,10 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
23
23
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
24
24
  translate?: "yes" | "no" | undefined;
25
25
  width?: import("styled-system").ResponsiveValue<import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
26
- slot?: string | undefined;
26
+ hidden?: boolean | undefined;
27
27
  style?: React.CSSProperties | undefined;
28
+ block?: boolean | undefined;
29
+ slot?: string | undefined;
28
30
  title?: string | undefined;
29
31
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
30
32
  key?: React.Key | null | undefined;
@@ -34,15 +36,14 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
34
36
  suppressHydrationWarning?: boolean | undefined;
35
37
  accessKey?: string | undefined;
36
38
  className?: string | undefined;
37
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
39
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
38
40
  contextMenu?: string | undefined;
39
41
  dir?: string | undefined;
40
- draggable?: (boolean | "true" | "false") | undefined;
41
- hidden?: boolean | undefined;
42
+ draggable?: (boolean | "false" | "true") | undefined;
42
43
  id?: string | undefined;
43
44
  lang?: string | undefined;
44
45
  placeholder?: string | undefined;
45
- spellCheck?: (boolean | "true" | "false") | undefined;
46
+ spellCheck?: (boolean | "false" | "true") | undefined;
46
47
  tabIndex?: number | undefined;
47
48
  radioGroup?: string | undefined;
48
49
  role?: React.AriaRole | undefined;
@@ -65,50 +66,50 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
65
66
  results?: number | undefined;
66
67
  security?: string | undefined;
67
68
  unselectable?: "on" | "off" | undefined;
68
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
69
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
69
70
  is?: string | undefined;
70
71
  'aria-activedescendant'?: string | undefined;
71
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
72
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
73
- 'aria-busy'?: boolean | "true" | "false" | undefined;
74
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
72
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
73
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
74
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
75
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
75
76
  'aria-colcount'?: number | undefined;
76
77
  'aria-colindex'?: number | undefined;
77
78
  'aria-colspan'?: number | undefined;
78
79
  'aria-controls'?: string | undefined;
79
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
80
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
80
81
  'aria-describedby'?: string | undefined;
81
82
  'aria-details'?: string | undefined;
82
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
83
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
83
84
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
84
85
  'aria-errormessage'?: string | undefined;
85
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
86
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
86
87
  'aria-flowto'?: string | undefined;
87
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
88
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
89
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
90
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
88
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
89
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
90
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
91
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
91
92
  'aria-keyshortcuts'?: string | undefined;
92
93
  'aria-label'?: string | undefined;
93
94
  'aria-labelledby'?: string | undefined;
94
95
  'aria-level'?: number | undefined;
95
96
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
96
- 'aria-modal'?: boolean | "true" | "false" | undefined;
97
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
98
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
97
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
98
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
99
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
99
100
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
100
101
  'aria-owns'?: string | undefined;
101
102
  'aria-placeholder'?: string | undefined;
102
103
  'aria-posinset'?: number | undefined;
103
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
104
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
104
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
105
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
105
106
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
106
- 'aria-required'?: boolean | "true" | "false" | undefined;
107
+ 'aria-required'?: boolean | "false" | "true" | undefined;
107
108
  'aria-roledescription'?: string | undefined;
108
109
  'aria-rowcount'?: number | undefined;
109
110
  'aria-rowindex'?: number | undefined;
110
111
  'aria-rowspan'?: number | undefined;
111
- 'aria-selected'?: boolean | "true" | "false" | undefined;
112
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
112
113
  'aria-setsize'?: number | undefined;
113
114
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
114
115
  'aria-valuemax'?: number | undefined;
@@ -279,14 +280,13 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
279
280
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
280
281
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
281
282
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
282
- block?: boolean | undefined;
283
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
283
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
284
284
  disabled?: boolean | undefined;
285
285
  variant?: "small" | "large" | undefined;
286
286
  hasIcon?: boolean | undefined;
287
287
  contrast?: boolean | undefined;
288
288
  } & {
289
289
  theme?: any;
290
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
290
+ }, "maxWidth" | "minWidth" | "width" | "block" | "theme" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
291
291
  export declare type AutocompleteInputProps = ComponentProps<typeof AutocompleteInput>;
292
292
  export default AutocompleteInput;
@@ -3,14 +3,15 @@ import { SxProp } from '../sx';
3
3
  import { ComponentProps } from '../utils/types';
4
4
  declare const Button: import("styled-components").StyledComponent<"button", any, {
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
- variant?: "small" | "large" | "medium" | undefined;
6
+ variant?: "small" | "medium" | "large" | undefined;
7
7
  } & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
8
8
  color?: string | undefined;
9
9
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
10
10
  translate?: "yes" | "no" | undefined;
11
+ hidden?: boolean | undefined;
12
+ style?: import("react").CSSProperties | undefined;
11
13
  form?: string | undefined;
12
14
  slot?: string | undefined;
13
- style?: import("react").CSSProperties | undefined;
14
15
  title?: string | undefined;
15
16
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
16
17
  type?: "button" | "reset" | "submit" | undefined;
@@ -22,15 +23,14 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
22
23
  suppressHydrationWarning?: boolean | undefined;
23
24
  accessKey?: string | undefined;
24
25
  className?: string | undefined;
25
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
26
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
26
27
  contextMenu?: string | undefined;
27
28
  dir?: string | undefined;
28
- draggable?: (boolean | "true" | "false") | undefined;
29
- hidden?: boolean | undefined;
29
+ draggable?: (boolean | "false" | "true") | undefined;
30
30
  id?: string | undefined;
31
31
  lang?: string | undefined;
32
32
  placeholder?: string | undefined;
33
- spellCheck?: (boolean | "true" | "false") | undefined;
33
+ spellCheck?: (boolean | "false" | "true") | undefined;
34
34
  tabIndex?: number | undefined;
35
35
  radioGroup?: string | undefined;
36
36
  role?: import("react").AriaRole | undefined;
@@ -53,50 +53,50 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  'aria-activedescendant'?: string | undefined;
59
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
60
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
61
- 'aria-busy'?: boolean | "true" | "false" | undefined;
62
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
59
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
60
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
61
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
62
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
63
63
  'aria-colcount'?: number | undefined;
64
64
  'aria-colindex'?: number | undefined;
65
65
  'aria-colspan'?: number | undefined;
66
66
  'aria-controls'?: string | undefined;
67
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
67
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
68
68
  'aria-describedby'?: string | undefined;
69
69
  'aria-details'?: string | undefined;
70
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
70
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
71
71
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
72
72
  'aria-errormessage'?: string | undefined;
73
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
73
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
74
74
  'aria-flowto'?: string | undefined;
75
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
76
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
77
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
78
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
75
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
76
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
77
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
78
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
79
79
  'aria-keyshortcuts'?: string | undefined;
80
80
  'aria-label'?: string | undefined;
81
81
  'aria-labelledby'?: string | undefined;
82
82
  'aria-level'?: number | undefined;
83
83
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
84
- 'aria-modal'?: boolean | "true" | "false" | undefined;
85
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
86
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
84
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
85
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
86
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
87
87
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
88
88
  'aria-owns'?: string | undefined;
89
89
  'aria-placeholder'?: string | undefined;
90
90
  'aria-posinset'?: number | undefined;
91
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
92
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
91
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
92
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
93
93
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
94
- 'aria-required'?: boolean | "true" | "false" | undefined;
94
+ 'aria-required'?: boolean | "false" | "true" | undefined;
95
95
  'aria-roledescription'?: string | undefined;
96
96
  'aria-rowcount'?: number | undefined;
97
97
  'aria-rowindex'?: number | undefined;
98
98
  'aria-rowspan'?: number | undefined;
99
- 'aria-selected'?: boolean | "true" | "false" | undefined;
99
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
100
100
  'aria-setsize'?: number | undefined;
101
101
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
102
102
  'aria-valuemax'?: number | undefined;
@@ -275,7 +275,7 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
275
275
  formMethod?: string | undefined;
276
276
  formNoValidate?: boolean | undefined;
277
277
  formTarget?: string | undefined;
278
- variant?: "small" | "large" | "medium" | undefined;
278
+ variant?: "small" | "medium" | "large" | undefined;
279
279
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
280
280
  } & {
281
281
  theme?: any;
@@ -6,7 +6,7 @@ export declare const buttonSystemProps: import("styled-system").styleFn;
6
6
  export declare type ButtonSystemProps = FontSizeProps & SystemCommonProps & SystemLayoutProps;
7
7
  declare const ButtonBase: import("styled-components").StyledComponent<"button", any, {
8
8
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
9
- variant?: "small" | "large" | "medium" | undefined;
9
+ variant?: "small" | "medium" | "large" | undefined;
10
10
  } & FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
11
11
  export declare type ButtonBaseProps = ComponentProps<typeof ButtonBase>;
12
12
  export default ButtonBase;
@@ -45,9 +45,11 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
45
45
  paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
46
  py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
47
  paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
48
+ hidden?: boolean | undefined;
49
+ size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
+ style?: React.CSSProperties | undefined;
48
51
  form?: string | undefined;
49
52
  slot?: string | undefined;
50
- style?: React.CSSProperties | undefined;
51
53
  title?: string | undefined;
52
54
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
53
55
  type?: "button" | "reset" | "submit" | undefined;
@@ -59,15 +61,14 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
59
61
  suppressHydrationWarning?: boolean | undefined;
60
62
  accessKey?: string | undefined;
61
63
  className?: string | undefined;
62
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
64
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
63
65
  contextMenu?: string | undefined;
64
66
  dir?: string | undefined;
65
- draggable?: (boolean | "true" | "false") | undefined;
66
- hidden?: boolean | undefined;
67
+ draggable?: (boolean | "false" | "true") | undefined;
67
68
  id?: string | undefined;
68
69
  lang?: string | undefined;
69
70
  placeholder?: string | undefined;
70
- spellCheck?: (boolean | "true" | "false") | undefined;
71
+ spellCheck?: (boolean | "false" | "true") | undefined;
71
72
  tabIndex?: number | undefined;
72
73
  radioGroup?: string | undefined;
73
74
  role?: React.AriaRole | undefined;
@@ -90,50 +91,50 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
90
91
  results?: number | undefined;
91
92
  security?: string | undefined;
92
93
  unselectable?: "on" | "off" | undefined;
93
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
94
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
94
95
  is?: string | undefined;
95
96
  'aria-activedescendant'?: string | undefined;
96
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
97
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
98
- 'aria-busy'?: boolean | "true" | "false" | undefined;
99
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
97
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
98
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
99
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
100
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
100
101
  'aria-colcount'?: number | undefined;
101
102
  'aria-colindex'?: number | undefined;
102
103
  'aria-colspan'?: number | undefined;
103
104
  'aria-controls'?: string | undefined;
104
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
105
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
105
106
  'aria-describedby'?: string | undefined;
106
107
  'aria-details'?: string | undefined;
107
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
108
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
108
109
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
109
110
  'aria-errormessage'?: string | undefined;
110
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
111
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
111
112
  'aria-flowto'?: string | undefined;
112
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
113
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
114
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
115
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
113
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
114
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
115
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
116
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
116
117
  'aria-keyshortcuts'?: string | undefined;
117
118
  'aria-label'?: string | undefined;
118
119
  'aria-labelledby'?: string | undefined;
119
120
  'aria-level'?: number | undefined;
120
121
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
121
- 'aria-modal'?: boolean | "true" | "false" | undefined;
122
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
123
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
122
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
123
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
124
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
124
125
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
125
126
  'aria-owns'?: string | undefined;
126
127
  'aria-placeholder'?: string | undefined;
127
128
  'aria-posinset'?: number | undefined;
128
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
129
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
129
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
130
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
130
131
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
131
- 'aria-required'?: boolean | "true" | "false" | undefined;
132
+ 'aria-required'?: boolean | "false" | "true" | undefined;
132
133
  'aria-roledescription'?: string | undefined;
133
134
  'aria-rowcount'?: number | undefined;
134
135
  'aria-rowindex'?: number | undefined;
135
136
  'aria-rowspan'?: number | undefined;
136
- 'aria-selected'?: boolean | "true" | "false" | undefined;
137
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
137
138
  'aria-setsize'?: number | undefined;
138
139
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
139
140
  'aria-valuemax'?: number | undefined;
@@ -304,8 +305,7 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
304
305
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
305
306
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
306
307
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
307
- size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
308
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
308
+ sx?: import("../sx").BetterSystemStyleObject | undefined;
309
309
  value?: string | number | readonly string[] | undefined;
310
310
  autoFocus?: boolean | undefined;
311
311
  disabled?: boolean | 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" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "form" | "slot" | "style" | "title" | "theme" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "children" | "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" | "value" | "autoFocus" | "disabled" | "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" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "hidden" | "size" | "style" | "form" | "slot" | "title" | "theme" | "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" | "children" | "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" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
320
320
  export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
321
321
  export default ButtonClose;