@primer/components 0.0.0-2021104155230 → 0.0.0-2021104181937

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 (158) hide show
  1. package/CHANGELOG.md +1 -3
  2. package/dist/browser.esm.js +474 -473
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +98 -97
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/AnchoredOverlay/AnchoredOverlay.d.ts +4 -2
  7. package/lib/Autocomplete/Autocomplete.d.ts +30 -28
  8. package/lib/Autocomplete/AutocompleteInput.d.ts +30 -28
  9. package/lib/Button/Button.d.ts +24 -24
  10. package/lib/Button/Button.js +1 -1
  11. package/lib/Button/ButtonClose.d.ts +43 -43
  12. package/lib/Button/ButtonDanger.d.ts +24 -24
  13. package/lib/Button/ButtonInvisible.d.ts +24 -24
  14. package/lib/Button/ButtonOutline.d.ts +24 -24
  15. package/lib/Button/ButtonPrimary.d.ts +24 -24
  16. package/lib/CircleOcticon.d.ts +40 -40
  17. package/lib/DatePicker/DatePicker.d.ts +52 -0
  18. package/lib/DatePicker/DatePicker.js +109 -0
  19. package/lib/DatePicker/DatePickerAnchor.d.ts +5 -0
  20. package/lib/DatePicker/DatePickerAnchor.js +202 -0
  21. package/lib/DatePicker/DatePickerOverlay.d.ts +3 -0
  22. package/lib/DatePicker/DatePickerOverlay.js +55 -0
  23. package/lib/DatePicker/DatePickerPanel.d.ts +2 -0
  24. package/lib/DatePicker/DatePickerPanel.js +363 -0
  25. package/lib/DatePicker/Day.d.ts +15 -0
  26. package/lib/DatePicker/Day.js +204 -0
  27. package/lib/DatePicker/Month.d.ts +8 -0
  28. package/lib/DatePicker/Month.js +122 -0
  29. package/lib/DatePicker/dateParser.d.ts +12 -0
  30. package/lib/DatePicker/dateParser.js +193 -0
  31. package/lib/DatePicker/index.d.ts +2 -0
  32. package/lib/DatePicker/index.js +13 -0
  33. package/lib/DatePicker/useDatePicker.d.ts +107 -0
  34. package/lib/DatePicker/useDatePicker.js +561 -0
  35. package/lib/Dialog.d.ts +43 -43
  36. package/lib/Dropdown.d.ts +168 -168
  37. package/lib/DropdownMenu/DropdownButton.d.ts +44 -44
  38. package/lib/FilterList.d.ts +40 -40
  39. package/lib/Position.d.ts +4 -4
  40. package/lib/SelectMenu/SelectMenu.d.ts +239 -237
  41. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  42. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  43. package/lib/TextInputWithTokens.d.ts +30 -28
  44. package/lib/Timeline.d.ts +41 -41
  45. package/lib/Token/AvatarToken.d.ts +1 -1
  46. package/lib/Token/IssueLabelToken.d.ts +1 -1
  47. package/lib/Token/Token.d.ts +1 -1
  48. package/lib/hooks/useDebounce.d.ts +2 -0
  49. package/lib/hooks/useDebounce.js +24 -0
  50. package/lib/hooks/useResizeObserver.d.ts +1 -1
  51. package/lib/hooks/useResizeObserver.js +1 -1
  52. package/lib/sx.d.ts +0 -2
  53. package/lib/sx.js +0 -8
  54. package/lib/theme-preval.js +0 -79
  55. package/lib/utils/testing.d.ts +0 -13
  56. package/lib-esm/AnchoredOverlay/AnchoredOverlay.d.ts +4 -2
  57. package/lib-esm/Autocomplete/Autocomplete.d.ts +30 -28
  58. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +30 -28
  59. package/lib-esm/Button/Button.d.ts +24 -24
  60. package/lib-esm/Button/Button.js +1 -1
  61. package/lib-esm/Button/ButtonClose.d.ts +43 -43
  62. package/lib-esm/Button/ButtonDanger.d.ts +24 -24
  63. package/lib-esm/Button/ButtonInvisible.d.ts +24 -24
  64. package/lib-esm/Button/ButtonOutline.d.ts +24 -24
  65. package/lib-esm/Button/ButtonPrimary.d.ts +24 -24
  66. package/lib-esm/CircleOcticon.d.ts +40 -40
  67. package/lib-esm/DatePicker/DatePicker.d.ts +52 -0
  68. package/lib-esm/DatePicker/DatePicker.js +92 -0
  69. package/lib-esm/DatePicker/DatePickerAnchor.d.ts +5 -0
  70. package/lib-esm/DatePicker/DatePickerAnchor.js +174 -0
  71. package/lib-esm/DatePicker/DatePickerOverlay.d.ts +3 -0
  72. package/lib-esm/DatePicker/DatePickerOverlay.js +40 -0
  73. package/lib-esm/DatePicker/DatePickerPanel.d.ts +2 -0
  74. package/lib-esm/DatePicker/DatePickerPanel.js +332 -0
  75. package/lib-esm/DatePicker/Day.d.ts +15 -0
  76. package/lib-esm/DatePicker/Day.js +180 -0
  77. package/lib-esm/DatePicker/Month.d.ts +8 -0
  78. package/lib-esm/DatePicker/Month.js +98 -0
  79. package/lib-esm/DatePicker/dateParser.d.ts +12 -0
  80. package/lib-esm/DatePicker/dateParser.js +179 -0
  81. package/lib-esm/DatePicker/index.d.ts +2 -0
  82. package/lib-esm/DatePicker/index.js +1 -0
  83. package/lib-esm/DatePicker/useDatePicker.d.ts +107 -0
  84. package/lib-esm/DatePicker/useDatePicker.js +526 -0
  85. package/lib-esm/Dialog.d.ts +43 -43
  86. package/lib-esm/Dropdown.d.ts +168 -168
  87. package/lib-esm/DropdownMenu/DropdownButton.d.ts +44 -44
  88. package/lib-esm/FilterList.d.ts +40 -40
  89. package/lib-esm/Position.d.ts +4 -4
  90. package/lib-esm/SelectMenu/SelectMenu.d.ts +239 -237
  91. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  92. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  93. package/lib-esm/TextInputWithTokens.d.ts +30 -28
  94. package/lib-esm/Timeline.d.ts +41 -41
  95. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  96. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  97. package/lib-esm/Token/Token.d.ts +1 -1
  98. package/lib-esm/hooks/useDebounce.d.ts +2 -0
  99. package/lib-esm/hooks/useDebounce.js +16 -0
  100. package/lib-esm/hooks/useResizeObserver.d.ts +1 -1
  101. package/lib-esm/hooks/useResizeObserver.js +1 -1
  102. package/lib-esm/sx.d.ts +0 -2
  103. package/lib-esm/sx.js +1 -3
  104. package/lib-esm/theme-preval.js +0 -79
  105. package/lib-esm/utils/testing.d.ts +0 -13
  106. package/package.json +9 -10
  107. package/lib/ActionList2/Description.d.ts +0 -12
  108. package/lib/ActionList2/Description.js +0 -53
  109. package/lib/ActionList2/Divider.d.ts +0 -5
  110. package/lib/ActionList2/Divider.js +0 -35
  111. package/lib/ActionList2/Group.d.ts +0 -11
  112. package/lib/ActionList2/Group.js +0 -57
  113. package/lib/ActionList2/Header.d.ts +0 -26
  114. package/lib/ActionList2/Header.js +0 -55
  115. package/lib/ActionList2/Item.d.ts +0 -71
  116. package/lib/ActionList2/Item.js +0 -223
  117. package/lib/ActionList2/LinkItem.d.ts +0 -17
  118. package/lib/ActionList2/LinkItem.js +0 -57
  119. package/lib/ActionList2/List.d.ts +0 -26
  120. package/lib/ActionList2/List.js +0 -51
  121. package/lib/ActionList2/Selection.d.ts +0 -5
  122. package/lib/ActionList2/Selection.js +0 -70
  123. package/lib/ActionList2/Visuals.d.ts +0 -11
  124. package/lib/ActionList2/Visuals.js +0 -90
  125. package/lib/ActionList2/index.d.ts +0 -40
  126. package/lib/ActionList2/index.js +0 -47
  127. package/lib/experiments.d.ts +0 -1
  128. package/lib/experiments.js +0 -18
  129. package/lib/utils/create-slots.d.ts +0 -17
  130. package/lib/utils/create-slots.js +0 -105
  131. package/lib/utils/use-force-update.d.ts +0 -1
  132. package/lib/utils/use-force-update.js +0 -19
  133. package/lib-esm/ActionList2/Description.d.ts +0 -12
  134. package/lib-esm/ActionList2/Description.js +0 -37
  135. package/lib-esm/ActionList2/Divider.d.ts +0 -5
  136. package/lib-esm/ActionList2/Divider.js +0 -23
  137. package/lib-esm/ActionList2/Group.d.ts +0 -11
  138. package/lib-esm/ActionList2/Group.js +0 -40
  139. package/lib-esm/ActionList2/Header.d.ts +0 -26
  140. package/lib-esm/ActionList2/Header.js +0 -44
  141. package/lib-esm/ActionList2/Item.d.ts +0 -71
  142. package/lib-esm/ActionList2/Item.js +0 -197
  143. package/lib-esm/ActionList2/LinkItem.d.ts +0 -17
  144. package/lib-esm/ActionList2/LinkItem.js +0 -43
  145. package/lib-esm/ActionList2/List.d.ts +0 -26
  146. package/lib-esm/ActionList2/List.js +0 -34
  147. package/lib-esm/ActionList2/Selection.d.ts +0 -5
  148. package/lib-esm/ActionList2/Selection.js +0 -52
  149. package/lib-esm/ActionList2/Visuals.d.ts +0 -11
  150. package/lib-esm/ActionList2/Visuals.js +0 -68
  151. package/lib-esm/ActionList2/index.d.ts +0 -40
  152. package/lib-esm/ActionList2/index.js +0 -33
  153. package/lib-esm/experiments.d.ts +0 -1
  154. package/lib-esm/experiments.js +0 -2
  155. package/lib-esm/utils/create-slots.d.ts +0 -17
  156. package/lib-esm/utils/create-slots.js +0 -84
  157. package/lib-esm/utils/use-force-update.d.ts +0 -1
  158. package/lib-esm/utils/use-force-update.js +0 -6
@@ -26,6 +26,8 @@ interface AnchoredOverlayPropsWithoutAnchor {
26
26
  */
27
27
  anchorRef: React.RefObject<HTMLElement>;
28
28
  }
29
+ export declare type OverlayOpenGesture = 'anchor-click' | 'anchor-key-press';
30
+ export declare type OverlayCloseGesture = 'anchor-click' | 'click-outside' | 'escape';
29
31
  export declare type AnchoredOverlayWrapperAnchorProps = Partial<AnchoredOverlayPropsWithAnchor> | AnchoredOverlayPropsWithoutAnchor;
30
32
  interface AnchoredOverlayBaseProps extends Pick<OverlayProps, 'height' | 'width'> {
31
33
  /**
@@ -35,11 +37,11 @@ interface AnchoredOverlayBaseProps extends Pick<OverlayProps, 'height' | 'width'
35
37
  /**
36
38
  * A callback which is called whenever the overlay is currently closed and an "open gesture" is detected.
37
39
  */
38
- onOpen?: (gesture: 'anchor-click' | 'anchor-key-press') => unknown;
40
+ onOpen?: (gesture: OverlayOpenGesture) => unknown;
39
41
  /**
40
42
  * A callback which is called whenever the overlay is currently open and a "close gesture" is detected.
41
43
  */
42
- onClose?: (gesture: 'anchor-click' | 'click-outside' | 'escape') => unknown;
44
+ onClose?: (gesture: OverlayCloseGesture) => unknown;
43
45
  /**
44
46
  * Props to be spread on the internal `Overlay` component.
45
47
  */
@@ -12,15 +12,17 @@ export type { AutocompleteOverlayProps } from './AutocompleteOverlay';
12
12
  declare const _default: React.FC<{
13
13
  id?: string | undefined;
14
14
  }> & {
15
- Input: import("@radix-ui/react-polymorphic").ForwardRefComponent<React.ForwardRefExoticComponent<Pick<Omit<Pick<{
15
+ Input: import("@radix-ui/react-polymorphic").ForwardRefComponent<React.ForwardRefExoticComponent<Pick<Omit<Pick<({
16
16
  [x: string]: any;
17
17
  [x: number]: any;
18
18
  } & {
19
19
  theme?: any;
20
- } & {
20
+ } & ({} | {
21
+ children?: React.ReactNode;
22
+ })) & {
21
23
  as?: string | React.ComponentType<any> | undefined;
22
24
  forwardedAs?: string | React.ComponentType<any> | undefined;
23
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "className" | "sx" | "variant" | "disabled" | "contrast"> & {
25
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
24
26
  className?: string | undefined;
25
27
  icon?: React.ComponentType<{
26
28
  className?: string | undefined;
@@ -37,7 +39,6 @@ declare const _default: React.FC<{
37
39
  slot?: string | undefined;
38
40
  style?: React.CSSProperties | undefined;
39
41
  title?: string | undefined;
40
- block?: boolean | undefined;
41
42
  key?: React.Key | null | undefined;
42
43
  defaultChecked?: boolean | undefined;
43
44
  defaultValue?: string | number | readonly string[] | undefined;
@@ -45,14 +46,14 @@ declare const _default: React.FC<{
45
46
  suppressHydrationWarning?: boolean | undefined;
46
47
  accessKey?: string | undefined;
47
48
  className?: string | undefined;
48
- contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
49
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
49
50
  contextMenu?: string | undefined;
50
51
  dir?: string | undefined;
51
- draggable?: (boolean | "false" | "true") | undefined;
52
+ draggable?: (boolean | "true" | "false") | undefined;
52
53
  id?: string | undefined;
53
54
  lang?: string | undefined;
54
55
  placeholder?: string | undefined;
55
- spellCheck?: (boolean | "false" | "true") | undefined;
56
+ spellCheck?: (boolean | "true" | "false") | undefined;
56
57
  tabIndex?: number | undefined;
57
58
  radioGroup?: string | undefined;
58
59
  role?: React.AriaRole | undefined;
@@ -78,47 +79,47 @@ declare const _default: React.FC<{
78
79
  inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
79
80
  is?: string | undefined;
80
81
  'aria-activedescendant'?: string | undefined;
81
- 'aria-atomic'?: boolean | "false" | "true" | undefined;
82
- 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
83
- 'aria-busy'?: boolean | "false" | "true" | undefined;
84
- 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
82
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
83
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
84
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
85
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
85
86
  'aria-colcount'?: number | undefined;
86
87
  'aria-colindex'?: number | undefined;
87
88
  'aria-colspan'?: number | undefined;
88
89
  'aria-controls'?: string | undefined;
89
- 'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
90
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
90
91
  'aria-describedby'?: string | undefined;
91
92
  'aria-details'?: string | undefined;
92
- 'aria-disabled'?: boolean | "false" | "true" | undefined;
93
- 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
93
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
94
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
94
95
  'aria-errormessage'?: string | undefined;
95
- 'aria-expanded'?: boolean | "false" | "true" | undefined;
96
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
96
97
  'aria-flowto'?: string | undefined;
97
- 'aria-grabbed'?: boolean | "false" | "true" | undefined;
98
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
99
- 'aria-hidden'?: boolean | "false" | "true" | undefined;
100
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
98
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
99
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
100
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
101
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
101
102
  'aria-keyshortcuts'?: string | undefined;
102
103
  'aria-label'?: string | undefined;
103
104
  'aria-labelledby'?: string | undefined;
104
105
  'aria-level'?: number | undefined;
105
106
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
106
- 'aria-modal'?: boolean | "false" | "true" | undefined;
107
- 'aria-multiline'?: boolean | "false" | "true" | undefined;
108
- 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
107
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
108
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
109
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
109
110
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
110
111
  'aria-owns'?: string | undefined;
111
112
  'aria-placeholder'?: string | undefined;
112
113
  'aria-posinset'?: number | undefined;
113
- 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
114
- 'aria-readonly'?: boolean | "false" | "true" | undefined;
114
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
115
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
115
116
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
116
- 'aria-required'?: boolean | "false" | "true" | undefined;
117
+ 'aria-required'?: boolean | "true" | "false" | undefined;
117
118
  'aria-roledescription'?: string | undefined;
118
119
  'aria-rowcount'?: number | undefined;
119
120
  'aria-rowindex'?: number | undefined;
120
121
  'aria-rowspan'?: number | undefined;
121
- 'aria-selected'?: boolean | "false" | "true" | undefined;
122
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
122
123
  'aria-setsize'?: number | undefined;
123
124
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
124
125
  'aria-valuemax'?: number | undefined;
@@ -288,14 +289,15 @@ declare const _default: React.FC<{
288
289
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
289
290
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
290
291
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
292
+ block?: boolean | undefined;
291
293
  sx?: import("../sx").BetterSystemStyleObject | undefined;
292
- variant?: "small" | "large" | undefined;
293
294
  disabled?: boolean | undefined;
295
+ variant?: "small" | "large" | undefined;
294
296
  hasIcon?: boolean | undefined;
295
297
  contrast?: boolean | undefined;
296
298
  } & {
297
299
  theme?: any;
298
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "variant" | "disabled" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
300
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
299
301
  as?: React.ComponentType<any> | undefined;
300
302
  }>;
301
303
  Menu: typeof AutocompleteMenu;
@@ -4,15 +4,17 @@ import { ComponentProps } from '../utils/types';
4
4
  declare type InternalAutocompleteInputProps = {
5
5
  as?: React.ComponentType<any>;
6
6
  };
7
- declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRefExoticComponent<Pick<Omit<Pick<{
7
+ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRefExoticComponent<Pick<Omit<Pick<({
8
8
  [x: string]: any;
9
9
  [x: number]: any;
10
10
  } & {
11
11
  theme?: any;
12
- } & {
12
+ } & ({} | {
13
+ children?: React.ReactNode;
14
+ })) & {
13
15
  as?: string | React.ComponentType<any> | undefined;
14
16
  forwardedAs?: string | React.ComponentType<any> | undefined;
15
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "className" | "sx" | "variant" | "disabled" | "contrast"> & {
17
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
16
18
  className?: string | undefined;
17
19
  icon?: React.ComponentType<{
18
20
  className?: string | undefined;
@@ -29,7 +31,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
29
31
  slot?: string | undefined;
30
32
  style?: React.CSSProperties | undefined;
31
33
  title?: string | undefined;
32
- block?: boolean | undefined;
33
34
  key?: React.Key | null | undefined;
34
35
  defaultChecked?: boolean | undefined;
35
36
  defaultValue?: string | number | readonly string[] | undefined;
@@ -37,14 +38,14 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
37
38
  suppressHydrationWarning?: boolean | undefined;
38
39
  accessKey?: string | undefined;
39
40
  className?: string | undefined;
40
- contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
41
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
41
42
  contextMenu?: string | undefined;
42
43
  dir?: string | undefined;
43
- draggable?: (boolean | "false" | "true") | undefined;
44
+ draggable?: (boolean | "true" | "false") | undefined;
44
45
  id?: string | undefined;
45
46
  lang?: string | undefined;
46
47
  placeholder?: string | undefined;
47
- spellCheck?: (boolean | "false" | "true") | undefined;
48
+ spellCheck?: (boolean | "true" | "false") | undefined;
48
49
  tabIndex?: number | undefined;
49
50
  radioGroup?: string | undefined;
50
51
  role?: React.AriaRole | undefined;
@@ -70,47 +71,47 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
70
71
  inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
71
72
  is?: string | undefined;
72
73
  'aria-activedescendant'?: string | undefined;
73
- 'aria-atomic'?: boolean | "false" | "true" | undefined;
74
- 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
75
- 'aria-busy'?: boolean | "false" | "true" | undefined;
76
- 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
74
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
75
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
76
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
77
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
77
78
  'aria-colcount'?: number | undefined;
78
79
  'aria-colindex'?: number | undefined;
79
80
  'aria-colspan'?: number | undefined;
80
81
  'aria-controls'?: string | undefined;
81
- 'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
82
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
82
83
  'aria-describedby'?: string | undefined;
83
84
  'aria-details'?: string | undefined;
84
- 'aria-disabled'?: boolean | "false" | "true" | undefined;
85
- 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
85
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
86
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
86
87
  'aria-errormessage'?: string | undefined;
87
- 'aria-expanded'?: boolean | "false" | "true" | undefined;
88
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
88
89
  'aria-flowto'?: string | undefined;
89
- 'aria-grabbed'?: boolean | "false" | "true" | undefined;
90
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
91
- 'aria-hidden'?: boolean | "false" | "true" | undefined;
92
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
90
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
91
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
92
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
93
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
93
94
  'aria-keyshortcuts'?: string | undefined;
94
95
  'aria-label'?: string | undefined;
95
96
  'aria-labelledby'?: string | undefined;
96
97
  'aria-level'?: number | undefined;
97
98
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
98
- 'aria-modal'?: boolean | "false" | "true" | undefined;
99
- 'aria-multiline'?: boolean | "false" | "true" | undefined;
100
- 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
99
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
100
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
101
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
101
102
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
102
103
  'aria-owns'?: string | undefined;
103
104
  'aria-placeholder'?: string | undefined;
104
105
  'aria-posinset'?: number | undefined;
105
- 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
106
- 'aria-readonly'?: boolean | "false" | "true" | undefined;
106
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
107
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
107
108
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
108
- 'aria-required'?: boolean | "false" | "true" | undefined;
109
+ 'aria-required'?: boolean | "true" | "false" | undefined;
109
110
  'aria-roledescription'?: string | undefined;
110
111
  'aria-rowcount'?: number | undefined;
111
112
  'aria-rowindex'?: number | undefined;
112
113
  'aria-rowspan'?: number | undefined;
113
- 'aria-selected'?: boolean | "false" | "true" | undefined;
114
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
114
115
  'aria-setsize'?: number | undefined;
115
116
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
116
117
  'aria-valuemax'?: number | undefined;
@@ -280,13 +281,14 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
280
281
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
281
282
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
282
283
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
284
+ block?: boolean | undefined;
283
285
  sx?: import("../sx").BetterSystemStyleObject | undefined;
284
- variant?: "small" | "large" | undefined;
285
286
  disabled?: boolean | undefined;
287
+ variant?: "small" | "large" | undefined;
286
288
  hasIcon?: boolean | undefined;
287
289
  contrast?: boolean | undefined;
288
290
  } & {
289
291
  theme?: any;
290
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "variant" | "disabled" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
292
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
291
293
  export declare type AutocompleteInputProps = ComponentProps<typeof AutocompleteInput>;
292
294
  export default AutocompleteInput;
@@ -25,14 +25,14 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
25
25
  suppressHydrationWarning?: boolean | undefined;
26
26
  accessKey?: string | undefined;
27
27
  className?: string | undefined;
28
- contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
28
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
29
29
  contextMenu?: string | undefined;
30
30
  dir?: string | undefined;
31
- draggable?: (boolean | "false" | "true") | undefined;
31
+ draggable?: (boolean | "true" | "false") | undefined;
32
32
  id?: string | undefined;
33
33
  lang?: string | undefined;
34
34
  placeholder?: string | undefined;
35
- spellCheck?: (boolean | "false" | "true") | undefined;
35
+ spellCheck?: (boolean | "true" | "false") | undefined;
36
36
  tabIndex?: number | undefined;
37
37
  radioGroup?: string | undefined;
38
38
  role?: import("react").AriaRole | undefined;
@@ -58,47 +58,47 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
58
58
  inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
59
  is?: string | undefined;
60
60
  'aria-activedescendant'?: string | undefined;
61
- 'aria-atomic'?: boolean | "false" | "true" | undefined;
62
- 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
63
- 'aria-busy'?: boolean | "false" | "true" | undefined;
64
- 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
61
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
62
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
63
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
64
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
65
65
  'aria-colcount'?: number | undefined;
66
66
  'aria-colindex'?: number | undefined;
67
67
  'aria-colspan'?: number | undefined;
68
68
  'aria-controls'?: string | undefined;
69
- 'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
69
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
70
70
  'aria-describedby'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
- 'aria-disabled'?: boolean | "false" | "true" | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
72
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
73
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
- 'aria-expanded'?: boolean | "false" | "true" | undefined;
75
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
76
76
  'aria-flowto'?: string | undefined;
77
- 'aria-grabbed'?: boolean | "false" | "true" | undefined;
78
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
79
- 'aria-hidden'?: boolean | "false" | "true" | undefined;
80
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
77
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
78
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
79
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
80
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
81
81
  'aria-keyshortcuts'?: string | undefined;
82
82
  'aria-label'?: string | undefined;
83
83
  'aria-labelledby'?: string | undefined;
84
84
  'aria-level'?: number | undefined;
85
85
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
86
- 'aria-modal'?: boolean | "false" | "true" | undefined;
87
- 'aria-multiline'?: boolean | "false" | "true" | undefined;
88
- 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
86
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
87
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
88
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
89
89
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
90
90
  'aria-owns'?: string | undefined;
91
91
  'aria-placeholder'?: string | undefined;
92
92
  'aria-posinset'?: number | undefined;
93
- 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
94
- 'aria-readonly'?: boolean | "false" | "true" | undefined;
93
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
94
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
95
95
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
96
- 'aria-required'?: boolean | "false" | "true" | undefined;
96
+ 'aria-required'?: boolean | "true" | "false" | undefined;
97
97
  'aria-roledescription'?: string | undefined;
98
98
  'aria-rowcount'?: number | undefined;
99
99
  'aria-rowindex'?: number | undefined;
100
100
  'aria-rowspan'?: number | undefined;
101
- 'aria-selected'?: boolean | "false" | "true" | undefined;
101
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
102
102
  'aria-setsize'?: number | undefined;
103
103
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
104
104
  'aria-valuemax'?: number | undefined;
@@ -268,15 +268,15 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
268
268
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
269
269
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
270
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
- variant?: "small" | "medium" | "large" | undefined;
272
271
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
273
- disabled?: boolean | undefined;
274
272
  autoFocus?: boolean | undefined;
273
+ disabled?: boolean | undefined;
275
274
  formAction?: string | undefined;
276
275
  formEncType?: string | undefined;
277
276
  formMethod?: string | undefined;
278
277
  formNoValidate?: boolean | undefined;
279
278
  formTarget?: string | undefined;
279
+ variant?: "small" | "medium" | "large" | undefined;
280
280
  } & {
281
281
  theme?: any;
282
282
  } & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("../constants").SystemCommonProps & import("../constants").SystemLayoutProps & SxProp, never>;
@@ -22,6 +22,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
22
22
  const Button = (0, _styledComponents.default)(_ButtonBase.default).withConfig({
23
23
  displayName: "Button",
24
24
  componentId: "xjtz72-0"
25
- })(["color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ",", "};&:hover{background-color:", ";border-color:", ";}&:focus{border-color:", ";box-shadow:", ";}&:active{background-color:", ";box-shadow:", ";}&:disabled{color:", ";background-color:", ";border-color:", ";}", ";", ";"], (0, _constants.get)('colors.btn.text'), (0, _constants.get)('colors.btn.bg'), (0, _constants.get)('colors.btn.border'), (0, _constants.get)('shadows.btn.shadow'), (0, _constants.get)('shadows.btn.insetShadow'), (0, _constants.get)('colors.btn.hoverBg'), (0, _constants.get)('colors.btn.hoverBorder'), (0, _constants.get)('colors.btn.focusBorder'), (0, _constants.get)('shadows.btn.focusShadow'), (0, _constants.get)('colors.btn.selectedBg'), (0, _constants.get)('shadows.btn.shadowActive'), (0, _constants.get)('colors.primer.fg.disabled'), (0, _constants.get)('colors.btn.bg'), (0, _constants.get)('colors.btn.border'), _ButtonBase.buttonSystemProps, _sx.default);
25
+ })(["color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ",", ";&:hover{background-color:", ";border-color:", ";}&:focus{border-color:", ";box-shadow:", ";}&:active{background-color:", ";box-shadow:", ";}&:disabled{color:", ";background-color:", ";border-color:", ";box-shadow:", ",", ";}", ";", ";"], (0, _constants.get)('colors.btn.text'), (0, _constants.get)('colors.btn.bg'), (0, _constants.get)('colors.btn.border'), (0, _constants.get)('shadows.btn.shadow'), (0, _constants.get)('shadows.btn.insetShadow'), (0, _constants.get)('colors.btn.hoverBg'), (0, _constants.get)('colors.btn.hoverBorder'), (0, _constants.get)('colors.btn.focusBorder'), (0, _constants.get)('shadows.btn.focusShadow'), (0, _constants.get)('colors.btn.selectedBg'), (0, _constants.get)('shadows.btn.shadowActive'), (0, _constants.get)('colors.primer.fg.disabled'), (0, _constants.get)('colors.btn.bg'), (0, _constants.get)('colors.btn.border'), (0, _constants.get)('shadows.btn.shadow'), (0, _constants.get)('shadows.btn.insetShadow'), _ButtonBase.buttonSystemProps, _sx.default);
26
26
  var _default = Button;
27
27
  exports.default = _default;
@@ -35,25 +35,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
35
35
  slot?: string | undefined;
36
36
  style?: React.CSSProperties | undefined;
37
37
  title?: string | undefined;
38
- bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
39
- m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
40
- mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
41
- mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
42
- mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
43
- ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
44
- mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
45
- marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
- my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
- marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
48
- pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
49
- pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
- pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
51
- pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
52
- px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
53
- paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
54
- py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
- paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
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
38
  type?: "button" | "reset" | "submit" | undefined;
58
39
  name?: string | undefined;
59
40
  key?: React.Key | null | undefined;
@@ -63,14 +44,14 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
63
44
  suppressHydrationWarning?: boolean | undefined;
64
45
  accessKey?: string | undefined;
65
46
  className?: string | undefined;
66
- contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
47
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
67
48
  contextMenu?: string | undefined;
68
49
  dir?: string | undefined;
69
- draggable?: (boolean | "false" | "true") | undefined;
50
+ draggable?: (boolean | "true" | "false") | undefined;
70
51
  id?: string | undefined;
71
52
  lang?: string | undefined;
72
53
  placeholder?: string | undefined;
73
- spellCheck?: (boolean | "false" | "true") | undefined;
54
+ spellCheck?: (boolean | "true" | "false") | undefined;
74
55
  tabIndex?: number | undefined;
75
56
  radioGroup?: string | undefined;
76
57
  role?: React.AriaRole | undefined;
@@ -96,47 +77,47 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
96
77
  inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
97
78
  is?: string | undefined;
98
79
  'aria-activedescendant'?: string | undefined;
99
- 'aria-atomic'?: boolean | "false" | "true" | undefined;
100
- 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
101
- 'aria-busy'?: boolean | "false" | "true" | undefined;
102
- 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
80
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
81
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
82
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
83
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
103
84
  'aria-colcount'?: number | undefined;
104
85
  'aria-colindex'?: number | undefined;
105
86
  'aria-colspan'?: number | undefined;
106
87
  'aria-controls'?: string | undefined;
107
- 'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
88
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
108
89
  'aria-describedby'?: string | undefined;
109
90
  'aria-details'?: string | undefined;
110
- 'aria-disabled'?: boolean | "false" | "true" | undefined;
111
- 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
91
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
92
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
112
93
  'aria-errormessage'?: string | undefined;
113
- 'aria-expanded'?: boolean | "false" | "true" | undefined;
94
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
114
95
  'aria-flowto'?: string | undefined;
115
- 'aria-grabbed'?: boolean | "false" | "true" | undefined;
116
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
117
- 'aria-hidden'?: boolean | "false" | "true" | undefined;
118
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
96
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
97
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
98
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
99
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
119
100
  'aria-keyshortcuts'?: string | undefined;
120
101
  'aria-label'?: string | undefined;
121
102
  'aria-labelledby'?: string | undefined;
122
103
  'aria-level'?: number | undefined;
123
104
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
124
- 'aria-modal'?: boolean | "false" | "true" | undefined;
125
- 'aria-multiline'?: boolean | "false" | "true" | undefined;
126
- 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
105
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
106
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
107
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
127
108
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
128
109
  'aria-owns'?: string | undefined;
129
110
  'aria-placeholder'?: string | undefined;
130
111
  'aria-posinset'?: number | undefined;
131
- 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
132
- 'aria-readonly'?: boolean | "false" | "true" | undefined;
112
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
113
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
133
114
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
134
- 'aria-required'?: boolean | "false" | "true" | undefined;
115
+ 'aria-required'?: boolean | "true" | "false" | undefined;
135
116
  'aria-roledescription'?: string | undefined;
136
117
  'aria-rowcount'?: number | undefined;
137
118
  'aria-rowindex'?: number | undefined;
138
119
  'aria-rowspan'?: number | undefined;
139
- 'aria-selected'?: boolean | "false" | "true" | undefined;
120
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
140
121
  'aria-setsize'?: number | undefined;
141
122
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
142
123
  'aria-valuemax'?: number | undefined;
@@ -306,9 +287,28 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
306
287
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
307
288
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
308
289
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
290
+ bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
291
+ m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
292
+ mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
293
+ mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
294
+ mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
295
+ ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
296
+ mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
297
+ marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
298
+ my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
299
+ marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
300
+ pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
301
+ pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
302
+ pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
303
+ pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
304
+ px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
305
+ paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
306
+ py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
307
+ paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
308
+ size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
309
309
  sx?: import("../sx").BetterSystemStyleObject | undefined;
310
- disabled?: boolean | undefined;
311
310
  autoFocus?: boolean | undefined;
311
+ disabled?: boolean | undefined;
312
312
  formAction?: string | undefined;
313
313
  formEncType?: string | undefined;
314
314
  formMethod?: 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" | "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" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
320
320
  export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
321
321
  export default ButtonClose;