@sproutsocial/racine 22.5.1 → 23.1.0

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 (246) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +3 -3
  3. package/__flow__/Toast/Toast.flow.js +4 -0
  4. package/commonjs/Avatar/Avatar.js +24 -16
  5. package/commonjs/Badge/Badge.js +20 -13
  6. package/commonjs/Banner/Banner.js +35 -25
  7. package/commonjs/Box/Box.js +7 -2
  8. package/commonjs/Breadcrumb/Breadcrumb.js +36 -23
  9. package/commonjs/Button/Button.js +11 -3
  10. package/commonjs/Card/Card.js +25 -18
  11. package/commonjs/Card/subComponents.js +32 -15
  12. package/commonjs/CharacterCounter/CharacterCounter.js +7 -3
  13. package/commonjs/ChartLegend/ChartLegend.js +10 -3
  14. package/commonjs/ChartLegend/useChartLabels.js +12 -10
  15. package/commonjs/Checkbox/Checkbox.js +55 -45
  16. package/commonjs/Checkbox/styles.js +20 -17
  17. package/commonjs/Collapsible/Collapsible.js +22 -16
  18. package/commonjs/DatePicker/DateRangePicker/DateRangePicker.js +26 -16
  19. package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.js +7 -2
  20. package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.js +24 -14
  21. package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +7 -2
  22. package/commonjs/DatePicker/common.js +8 -6
  23. package/commonjs/Drawer/Drawer.js +160 -113
  24. package/commonjs/EmptyState/EmptyState.js +44 -31
  25. package/commonjs/Fieldset/Fieldset.js +31 -14
  26. package/commonjs/FormField/FormField.js +37 -31
  27. package/commonjs/Icon/Icon.js +35 -30
  28. package/commonjs/Image/Image.js +5 -3
  29. package/commonjs/Indicator/Indicator.js +12 -6
  30. package/commonjs/Input/Input.js +57 -51
  31. package/commonjs/KeyboardKey/KeyboardKey.js +12 -3
  32. package/commonjs/Label/Label.js +15 -9
  33. package/commonjs/Link/Link.js +10 -3
  34. package/commonjs/Listbox/Listbox.js +16 -13
  35. package/commonjs/Loader/Loader.js +9 -3
  36. package/commonjs/LoaderButton/LoaderButton.js +28 -18
  37. package/commonjs/Menu/Menu.js +128 -107
  38. package/commonjs/Menu/utils/descendants.js +6 -6
  39. package/commonjs/Message/Message.js +79 -59
  40. package/commonjs/Modal/Modal.js +54 -31
  41. package/commonjs/Modal/styles.js +8 -4
  42. package/commonjs/Numeral/Numeral.js +46 -13
  43. package/commonjs/Numeral/index.js +12 -3
  44. package/commonjs/PartnerLogo/PartnerLogo.js +22 -12
  45. package/commonjs/Radio/Radio.js +28 -22
  46. package/commonjs/SegmentedControl/SegmentedControl.js +38 -24
  47. package/commonjs/Select/Select.js +32 -25
  48. package/commonjs/SpotIllustration/SpotIllustration.js +13 -5
  49. package/commonjs/Stack/Stack.js +15 -8
  50. package/commonjs/Switch/Switch.js +14 -7
  51. package/commonjs/Table/Table.js +65 -45
  52. package/commonjs/TableCell/TableCell.js +6 -3
  53. package/commonjs/TableHeaderCell/TableHeaderCell.js +20 -12
  54. package/commonjs/TableRowAccordion/TableRowAccordion.js +35 -29
  55. package/commonjs/Tabs/Tabs.js +37 -30
  56. package/commonjs/Text/Text.js +10 -3
  57. package/commonjs/Textarea/Textarea.js +37 -32
  58. package/commonjs/ThemeProvider/index.js +8 -5
  59. package/commonjs/Toast/Toast.js +127 -91
  60. package/commonjs/Toast/index.js +15 -15
  61. package/commonjs/Toast/styles.js +56 -30
  62. package/commonjs/ToggleHint/ToggleHint.js +11 -5
  63. package/commonjs/Token/Token.js +39 -25
  64. package/commonjs/TokenInput/TokenInput.js +55 -47
  65. package/commonjs/TokenInput/TokenScreenReaderStatus.js +5 -3
  66. package/commonjs/Tooltip/Tooltip.js +34 -27
  67. package/dist/types/Avatar/Avatar.d.ts.map +1 -1
  68. package/dist/types/Badge/BadgeTypes.d.ts +0 -1
  69. package/dist/types/Badge/BadgeTypes.d.ts.map +1 -1
  70. package/dist/types/Badge/styles.d.ts +1 -1
  71. package/dist/types/Badge/styles.d.ts.map +1 -1
  72. package/dist/types/Box/BoxTypes.d.ts +0 -1
  73. package/dist/types/Box/BoxTypes.d.ts.map +1 -1
  74. package/dist/types/Box/styles.d.ts +1 -1
  75. package/dist/types/Box/styles.d.ts.map +1 -1
  76. package/dist/types/Button/Button.d.ts +1 -1
  77. package/dist/types/Button/Button.d.ts.map +1 -1
  78. package/dist/types/Card/subComponents.d.ts.map +1 -1
  79. package/dist/types/Card/utils.d.ts +0 -2
  80. package/dist/types/Card/utils.d.ts.map +1 -1
  81. package/dist/types/Checkbox/Checkbox.d.ts.map +1 -1
  82. package/dist/types/Collapsible/styles.d.ts +2 -3
  83. package/dist/types/Collapsible/styles.d.ts.map +1 -1
  84. package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts +0 -1
  85. package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts.map +1 -1
  86. package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts +0 -1
  87. package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts.map +1 -1
  88. package/dist/types/DatePicker/common.d.ts.map +1 -1
  89. package/dist/types/DatePicker/styles.d.ts +0 -1
  90. package/dist/types/DatePicker/styles.d.ts.map +1 -1
  91. package/dist/types/Drawer/Drawer.d.ts.map +1 -1
  92. package/dist/types/Drawer/DrawerTypes.d.ts +6 -3
  93. package/dist/types/Drawer/DrawerTypes.d.ts.map +1 -1
  94. package/dist/types/Drawer/styles.d.ts +0 -1
  95. package/dist/types/Drawer/styles.d.ts.map +1 -1
  96. package/dist/types/Fieldset/styles.d.ts +0 -1
  97. package/dist/types/Fieldset/styles.d.ts.map +1 -1
  98. package/dist/types/Icon/styles.d.ts +1 -1
  99. package/dist/types/Icon/styles.d.ts.map +1 -1
  100. package/dist/types/Image/Image.d.ts.map +1 -1
  101. package/dist/types/Input/Input.d.ts.map +1 -1
  102. package/dist/types/Input/styles.d.ts +3 -3
  103. package/dist/types/Input/styles.d.ts.map +1 -1
  104. package/dist/types/Listbox/ListboxTypes.d.ts +1 -1
  105. package/dist/types/Listbox/ListboxTypes.d.ts.map +1 -1
  106. package/dist/types/Loader/LoaderTypes.d.ts +0 -1
  107. package/dist/types/Loader/LoaderTypes.d.ts.map +1 -1
  108. package/dist/types/Menu/MenuTypes.d.ts +4 -4
  109. package/dist/types/Menu/MenuTypes.d.ts.map +1 -1
  110. package/dist/types/Menu/styles.d.ts +0 -1
  111. package/dist/types/Menu/styles.d.ts.map +1 -1
  112. package/dist/types/Menu/utils/descendants.d.ts.map +1 -1
  113. package/dist/types/Menu/utils/hooks.d.ts +0 -2
  114. package/dist/types/Menu/utils/hooks.d.ts.map +1 -1
  115. package/dist/types/Message/Message.d.ts +1 -1
  116. package/dist/types/Message/Message.d.ts.map +1 -1
  117. package/dist/types/Message/styles.d.ts +0 -2
  118. package/dist/types/Message/styles.d.ts.map +1 -1
  119. package/dist/types/Modal/styles.d.ts +3 -3
  120. package/dist/types/Modal/styles.d.ts.map +1 -1
  121. package/dist/types/Numeral/Numeral.d.ts +3 -1
  122. package/dist/types/Numeral/Numeral.d.ts.map +1 -1
  123. package/dist/types/Numeral/__tests__/features/testNumeral.d.ts.map +1 -1
  124. package/dist/types/Numeral/index.d.ts +2 -1
  125. package/dist/types/Numeral/index.d.ts.map +1 -1
  126. package/dist/types/Radio/Radio.d.ts.map +1 -1
  127. package/dist/types/Radio/styles.d.ts +3 -3
  128. package/dist/types/Radio/styles.d.ts.map +1 -1
  129. package/dist/types/SegmentedControl/styles.d.ts +0 -1
  130. package/dist/types/SegmentedControl/styles.d.ts.map +1 -1
  131. package/dist/types/Select/Select.d.ts.map +1 -1
  132. package/dist/types/Skeleton/Skeleton.d.ts +0 -1
  133. package/dist/types/Skeleton/Skeleton.d.ts.map +1 -1
  134. package/dist/types/StatefulStory.d.ts +0 -1
  135. package/dist/types/StatefulStory.d.ts.map +1 -1
  136. package/dist/types/TableHeaderCell/TableHeaderCell.d.ts.map +1 -1
  137. package/dist/types/TableHeaderCell/styles.d.ts +1 -1
  138. package/dist/types/TableHeaderCell/styles.d.ts.map +1 -1
  139. package/dist/types/Tabs/Tabs.d.ts.map +1 -1
  140. package/dist/types/Textarea/Textarea.d.ts.map +1 -1
  141. package/dist/types/ThemeProvider/index.d.ts +1 -1
  142. package/dist/types/ThemeProvider/index.d.ts.map +1 -1
  143. package/dist/types/Toast/Toast.d.ts +22 -2
  144. package/dist/types/Toast/Toast.d.ts.map +1 -1
  145. package/dist/types/Toast/ToastTypes.d.ts +27 -13
  146. package/dist/types/Toast/ToastTypes.d.ts.map +1 -1
  147. package/dist/types/Toast/index.d.ts +2 -4
  148. package/dist/types/Toast/index.d.ts.map +1 -1
  149. package/dist/types/Toast/styles.d.ts +10 -16
  150. package/dist/types/Toast/styles.d.ts.map +1 -1
  151. package/dist/types/TokenInput/TokenInput.d.ts +1 -1
  152. package/dist/types/TokenInput/TokenInput.d.ts.map +1 -1
  153. package/dist/types/Tooltip/TooltipTypes.d.ts +2 -2
  154. package/dist/types/Tooltip/TooltipTypes.d.ts.map +1 -1
  155. package/dist/types/Tooltip/styles.d.ts +0 -1
  156. package/dist/types/Tooltip/styles.d.ts.map +1 -1
  157. package/dist/types/themes/dark/theme.d.ts +2 -2
  158. package/dist/types/themes/dark/theme.d.ts.map +1 -1
  159. package/dist/types/utils/hooks.d.ts.map +1 -1
  160. package/dist/types/utils/react-testing-library.d.ts +109 -169
  161. package/dist/types/utils/react-testing-library.d.ts.map +1 -1
  162. package/dist/types/utils/responsiveProps/index.d.ts.map +1 -1
  163. package/lib/Avatar/Avatar.js +25 -16
  164. package/lib/Badge/Badge.js +22 -13
  165. package/lib/Banner/Banner.js +37 -25
  166. package/lib/Box/Box.js +8 -2
  167. package/lib/Breadcrumb/Breadcrumb.js +37 -23
  168. package/lib/Button/Button.js +11 -3
  169. package/lib/Card/Card.js +17 -8
  170. package/lib/Card/subComponents.js +35 -15
  171. package/lib/CharacterCounter/CharacterCounter.js +7 -3
  172. package/lib/ChartLegend/ChartLegend.js +11 -3
  173. package/lib/ChartLegend/useChartLabels.js +13 -10
  174. package/lib/Checkbox/Checkbox.js +56 -45
  175. package/lib/Checkbox/styles.js +20 -17
  176. package/lib/Collapsible/Collapsible.js +22 -16
  177. package/lib/DatePicker/DateRangePicker/DateRangePicker.js +29 -16
  178. package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.js +8 -2
  179. package/lib/DatePicker/SingleDatePicker/SingleDatePicker.js +27 -14
  180. package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +8 -2
  181. package/lib/DatePicker/common.js +8 -6
  182. package/lib/Drawer/Drawer.js +159 -111
  183. package/lib/EmptyState/EmptyState.js +46 -31
  184. package/lib/Fieldset/Fieldset.js +33 -14
  185. package/lib/FormField/FormField.js +38 -31
  186. package/lib/Icon/Icon.js +36 -30
  187. package/lib/Image/Image.js +5 -3
  188. package/lib/Indicator/Indicator.js +13 -6
  189. package/lib/Input/Input.js +57 -49
  190. package/lib/KeyboardKey/KeyboardKey.js +12 -3
  191. package/lib/Label/Label.js +16 -9
  192. package/lib/Link/Link.js +11 -3
  193. package/lib/Listbox/Listbox.js +17 -13
  194. package/lib/Loader/Loader.js +9 -3
  195. package/lib/LoaderButton/LoaderButton.js +30 -18
  196. package/lib/Menu/Menu.js +128 -104
  197. package/lib/Menu/utils/descendants.js +5 -4
  198. package/lib/Message/Message.js +80 -59
  199. package/lib/Modal/Modal.js +56 -31
  200. package/lib/Modal/styles.js +8 -2
  201. package/lib/Numeral/Numeral.js +48 -12
  202. package/lib/Numeral/index.js +2 -1
  203. package/lib/PartnerLogo/PartnerLogo.js +22 -12
  204. package/lib/Radio/Radio.js +29 -22
  205. package/lib/SegmentedControl/SegmentedControl.js +40 -24
  206. package/lib/Select/Select.js +33 -25
  207. package/lib/SpotIllustration/SpotIllustration.js +13 -5
  208. package/lib/Stack/Stack.js +17 -8
  209. package/lib/Switch/Switch.js +15 -7
  210. package/lib/Table/Table.js +65 -43
  211. package/lib/TableCell/TableCell.js +5 -2
  212. package/lib/TableHeaderCell/TableHeaderCell.js +20 -11
  213. package/lib/TableRowAccordion/TableRowAccordion.js +35 -28
  214. package/lib/Tabs/Tabs.js +37 -30
  215. package/lib/Text/Text.js +11 -3
  216. package/lib/Textarea/Textarea.js +37 -30
  217. package/lib/ThemeProvider/index.js +8 -3
  218. package/lib/Toast/Toast.js +130 -90
  219. package/lib/Toast/index.js +3 -5
  220. package/lib/Toast/styles.js +55 -26
  221. package/lib/ToggleHint/ToggleHint.js +12 -5
  222. package/lib/Token/Token.js +42 -25
  223. package/lib/TokenInput/TokenInput.js +56 -47
  224. package/lib/TokenInput/TokenScreenReaderStatus.js +5 -3
  225. package/lib/Tooltip/Tooltip.js +34 -27
  226. package/package.json +40 -36
  227. package/commonjs/Drawer/SlideTransition.js +0 -47
  228. package/commonjs/Popout/Popout.js +0 -313
  229. package/commonjs/Popout/PopoutTypes.js +0 -5
  230. package/commonjs/Popout/index.js +0 -30
  231. package/commonjs/Popout/styles.js +0 -13
  232. package/dist/types/Drawer/SlideTransition.d.ts +0 -15
  233. package/dist/types/Drawer/SlideTransition.d.ts.map +0 -1
  234. package/dist/types/Popout/Popout.d.ts +0 -14
  235. package/dist/types/Popout/Popout.d.ts.map +0 -1
  236. package/dist/types/Popout/PopoutTypes.d.ts +0 -90
  237. package/dist/types/Popout/PopoutTypes.d.ts.map +0 -1
  238. package/dist/types/Popout/index.d.ts +0 -5
  239. package/dist/types/Popout/index.d.ts.map +0 -1
  240. package/dist/types/Popout/styles.d.ts +0 -2
  241. package/dist/types/Popout/styles.d.ts.map +0 -1
  242. package/lib/Drawer/SlideTransition.js +0 -38
  243. package/lib/Popout/Popout.js +0 -303
  244. package/lib/Popout/PopoutTypes.js +0 -1
  245. package/lib/Popout/index.js +0 -4
  246. package/lib/Popout/styles.js +0 -6
@@ -1,118 +1,115 @@
1
1
  import * as React from "react";
2
- import { act, cleanup, createEvent, fireEvent, queries, waitFor, waitForElementToBeRemoved, RenderOptions } from "@testing-library/react";
2
+ import { act, cleanup, createEvent, fireEvent, queries, waitFor, waitForElementToBeRemoved, RenderOptions, RenderResult, Screen } from "@testing-library/react";
3
3
  import userEvent from "@testing-library/user-event";
4
- declare const customRender: (node: React.ReactElement, options?: RenderOptions<typeof queries, HTMLElement>) => {
5
- runA11yCheck: () => Promise<void>;
6
- container: HTMLElement;
7
- baseElement: HTMLElement;
8
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
9
- rerender: (ui: React.ReactNode) => void;
10
- unmount: () => void;
11
- asFragment: () => DocumentFragment;
12
- queryByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement | null;
13
- queryAllByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
14
- getAllByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement[];
15
- getByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement;
16
- findAllByDataQaLabel: (args_0: import("./dataQaLabelQueries").TypeQaObject, args_1?: undefined, args_2?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
17
- findByDataQaLabel: (args_0: import("./dataQaLabelQueries").TypeQaObject, args_1?: undefined, args_2?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
18
- getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
19
- getAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
20
- queryByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
21
- queryAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
22
- findByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
23
- findAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
24
- getByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
25
- getAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
26
- queryByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
27
- queryAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
28
- findByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
29
- findAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
30
- getByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
31
- getAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
32
- queryByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
33
- queryAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
34
- findByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
35
- findAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
36
- getByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
37
- getAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
38
- queryByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
39
- queryAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
40
- findByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
41
- findAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
42
- getByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
43
- getAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
44
- queryByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
45
- queryAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
46
- findByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
47
- findAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
48
- getByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
49
- getAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
50
- queryByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
51
- queryAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
52
- findByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
53
- findAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
54
- getByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement;
55
- getAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[];
56
- queryByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement | null;
57
- queryAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[];
58
- findByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
59
- findAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
60
- getByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
61
- getAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
62
- queryByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
63
- queryAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
64
- findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
65
- findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
4
+ declare const sproutQueries: {
5
+ readonly queryByDataQaLabel: import("@testing-library/react").QueryBy<[qaObject: import("./dataQaLabelQueries").TypeQaObject]>;
6
+ readonly queryAllByDataQaLabel: (container: HTMLElement, qaObject: import("./dataQaLabelQueries").TypeQaObject, options?: import("@testing-library/react").MatcherOptions) => HTMLElement[];
7
+ readonly getAllByDataQaLabel: import("@testing-library/react").GetAllBy<[qaObject: import("./dataQaLabelQueries").TypeQaObject]>;
8
+ readonly getByDataQaLabel: import("@testing-library/react").GetBy<[qaObject: import("./dataQaLabelQueries").TypeQaObject]>;
9
+ readonly findAllByDataQaLabel: import("@testing-library/react").FindAllBy<[qaObject: import("./dataQaLabelQueries").TypeQaObject]>;
10
+ readonly findByDataQaLabel: import("@testing-library/react").FindBy<[qaObject: import("./dataQaLabelQueries").TypeQaObject]>;
11
+ readonly getByLabelText: typeof queries.getByLabelText;
12
+ readonly getAllByLabelText: typeof queries.getAllByLabelText;
13
+ readonly queryByLabelText: typeof queries.queryByLabelText;
14
+ readonly queryAllByLabelText: typeof queries.queryAllByLabelText;
15
+ readonly findByLabelText: typeof queries.findByLabelText;
16
+ readonly findAllByLabelText: typeof queries.findAllByLabelText;
17
+ readonly getByPlaceholderText: typeof queries.getByPlaceholderText;
18
+ readonly getAllByPlaceholderText: typeof queries.getAllByPlaceholderText;
19
+ readonly queryByPlaceholderText: typeof queries.queryByPlaceholderText;
20
+ readonly queryAllByPlaceholderText: typeof queries.queryAllByPlaceholderText;
21
+ readonly findByPlaceholderText: typeof queries.findByPlaceholderText;
22
+ readonly findAllByPlaceholderText: typeof queries.findAllByPlaceholderText;
23
+ readonly getByText: typeof queries.getByText;
24
+ readonly getAllByText: typeof queries.getAllByText;
25
+ readonly queryByText: typeof queries.queryByText;
26
+ readonly queryAllByText: typeof queries.queryAllByText;
27
+ readonly findByText: typeof queries.findByText;
28
+ readonly findAllByText: typeof queries.findAllByText;
29
+ readonly getByAltText: typeof queries.getByAltText;
30
+ readonly getAllByAltText: typeof queries.getAllByAltText;
31
+ readonly queryByAltText: typeof queries.queryByAltText;
32
+ readonly queryAllByAltText: typeof queries.queryAllByAltText;
33
+ readonly findByAltText: typeof queries.findByAltText;
34
+ readonly findAllByAltText: typeof queries.findAllByAltText;
35
+ readonly getByTitle: typeof queries.getByTitle;
36
+ readonly getAllByTitle: typeof queries.getAllByTitle;
37
+ readonly queryByTitle: typeof queries.queryByTitle;
38
+ readonly queryAllByTitle: typeof queries.queryAllByTitle;
39
+ readonly findByTitle: typeof queries.findByTitle;
40
+ readonly findAllByTitle: typeof queries.findAllByTitle;
41
+ readonly getByDisplayValue: typeof queries.getByDisplayValue;
42
+ readonly getAllByDisplayValue: typeof queries.getAllByDisplayValue;
43
+ readonly queryByDisplayValue: typeof queries.queryByDisplayValue;
44
+ readonly queryAllByDisplayValue: typeof queries.queryAllByDisplayValue;
45
+ readonly findByDisplayValue: typeof queries.findByDisplayValue;
46
+ readonly findAllByDisplayValue: typeof queries.findAllByDisplayValue;
47
+ readonly getByRole: typeof queries.getByRole;
48
+ readonly getAllByRole: typeof queries.getAllByRole;
49
+ readonly queryByRole: typeof queries.queryByRole;
50
+ readonly queryAllByRole: typeof queries.queryAllByRole;
51
+ readonly findByRole: typeof queries.findByRole;
52
+ readonly findAllByRole: typeof queries.findAllByRole;
53
+ readonly getByTestId: typeof queries.getByTestId;
54
+ readonly getAllByTestId: typeof queries.getAllByTestId;
55
+ readonly queryByTestId: typeof queries.queryByTestId;
56
+ readonly queryAllByTestId: typeof queries.queryAllByTestId;
57
+ readonly findByTestId: typeof queries.findByTestId;
58
+ readonly findAllByTestId: typeof queries.findAllByTestId;
66
59
  };
60
+ interface CustomRenderResult extends RenderResult<typeof sproutQueries> {
61
+ runA11yCheck: () => Promise<void>;
62
+ }
63
+ declare const customRender: (node: React.ReactNode, options?: Omit<RenderOptions<typeof sproutQueries>, "queries" | "wrapper">) => CustomRenderResult;
67
64
  declare const customWithin: (element: HTMLElement) => {
68
- getByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T;
69
- getAllByLabelText<T_1 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_1[];
70
- queryByLabelText<T_2 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_2 | null;
71
- queryAllByLabelText<T_3 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_3[];
72
- findByLabelText<T_4 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_4>;
73
- findAllByLabelText<T_5 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_5[]>;
74
- getByPlaceholderText<T_6 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_6;
75
- getAllByPlaceholderText<T_7 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_7[];
76
- queryByPlaceholderText<T_8 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_8 | null;
77
- queryAllByPlaceholderText<T_9 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_9[];
78
- findByPlaceholderText<T_10 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_10>;
79
- findAllByPlaceholderText<T_11 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_11[]>;
80
- getByText<T_12 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_12;
81
- getAllByText<T_13 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_13[];
82
- queryByText<T_14 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_14 | null;
83
- queryAllByText<T_15 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): T_15[];
84
- findByText<T_16 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_16>;
85
- findAllByText<T_17 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_17[]>;
86
- getByAltText<T_18 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_18;
87
- getAllByAltText<T_19 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_19[];
88
- queryByAltText<T_20 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_20 | null;
89
- queryAllByAltText<T_21 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_21[];
90
- findByAltText<T_22 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_22>;
91
- findAllByAltText<T_23 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_23[]>;
92
- getByTitle<T_24 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_24;
93
- getAllByTitle<T_25 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_25[];
94
- queryByTitle<T_26 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_26 | null;
95
- queryAllByTitle<T_27 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_27[];
96
- findByTitle<T_28 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_28>;
97
- findAllByTitle<T_29 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_29[]>;
98
- getByDisplayValue<T_30 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_30;
99
- getAllByDisplayValue<T_31 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_31[];
100
- queryByDisplayValue<T_32 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_32 | null;
101
- queryAllByDisplayValue<T_33 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_33[];
102
- findByDisplayValue<T_34 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_34>;
103
- findAllByDisplayValue<T_35 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_35[]>;
104
- getByRole<T_36 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_36;
105
- getAllByRole<T_37 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_37[];
106
- queryByRole<T_38 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_38 | null;
107
- queryAllByRole<T_39 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): T_39[];
108
- findByRole<T_40 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_40>;
109
- findAllByRole<T_41 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_41[]>;
110
- getByTestId<T_42 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_42;
111
- getAllByTestId<T_43 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_43[];
112
- queryByTestId<T_44 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_44 | null;
113
- queryAllByTestId<T_45 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): T_45[];
114
- findByTestId<T_46 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_46>;
115
- findAllByTestId<T_47 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): Promise<T_47[]>;
65
+ getByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.GetByText<T>>;
66
+ getAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
67
+ queryByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.QueryByText<T>>;
68
+ queryAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
69
+ findByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
70
+ findAllByLabelText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
71
+ getByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
72
+ getAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
73
+ queryByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
74
+ queryAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
75
+ findByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
76
+ findAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
77
+ getByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.GetByText<T>>;
78
+ getAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
79
+ queryByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.QueryByText<T>>;
80
+ queryAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
81
+ findByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
82
+ findAllByText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
83
+ getByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
84
+ getAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
85
+ queryByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
86
+ queryAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
87
+ findByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
88
+ findAllByAltText<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
89
+ getByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
90
+ getAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
91
+ queryByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
92
+ queryAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
93
+ findByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
94
+ findAllByTitle<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
95
+ getByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
96
+ getAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
97
+ queryByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
98
+ queryAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
99
+ findByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
100
+ findAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
101
+ getByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.GetByRole<T>>;
102
+ getAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.AllByRole<T>>;
103
+ queryByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.QueryByRole<T>>;
104
+ queryAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.AllByRole<T>>;
105
+ findByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByRole<T>>;
106
+ findAllByRole<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByRole<T>>;
107
+ getByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
108
+ getAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
109
+ queryByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
110
+ queryAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
111
+ findByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
112
+ findAllByTestId<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
116
113
  } & {
117
114
  readonly queryByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement | null;
118
115
  readonly queryAllByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
@@ -169,63 +166,6 @@ declare const customWithin: (element: HTMLElement) => {
169
166
  readonly findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
170
167
  readonly findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
171
168
  };
172
- declare const customScreen: {
173
- readonly getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement);
174
- readonly getAllByLabelText: (<T_1 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_1[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
175
- readonly queryByLabelText: (<T_2 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_2 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null);
176
- readonly queryAllByLabelText: (<T_3 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_3[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
177
- readonly findByLabelText: (<T_4 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_4>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
178
- readonly findAllByLabelText: (<T_5 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_5[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
179
- readonly getByPlaceholderText: (<T_6 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_6) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
180
- readonly getAllByPlaceholderText: (<T_7 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_7[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
181
- readonly queryByPlaceholderText: (<T_8 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_8 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
182
- readonly queryAllByPlaceholderText: (<T_9 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_9[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
183
- readonly findByPlaceholderText: (<T_10 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_10>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
184
- readonly findAllByPlaceholderText: (<T_11 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_11[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
185
- readonly getByText: (<T_12 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_12) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement);
186
- readonly getAllByText: (<T_13 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_13[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
187
- readonly queryByText: (<T_14 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_14 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null);
188
- readonly queryAllByText: (<T_15 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T_15[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
189
- readonly findByText: (<T_16 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_16>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
190
- readonly findAllByText: (<T_17 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_17[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
191
- readonly getByAltText: (<T_18 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_18) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
192
- readonly getAllByAltText: (<T_19 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_19[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
193
- readonly queryByAltText: (<T_20 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_20 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
194
- readonly queryAllByAltText: (<T_21 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_21[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
195
- readonly findByAltText: (<T_22 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_22>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
196
- readonly findAllByAltText: (<T_23 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_23[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
197
- readonly getByTitle: (<T_24 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_24) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
198
- readonly getAllByTitle: (<T_25 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_25[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
199
- readonly queryByTitle: (<T_26 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_26 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
200
- readonly queryAllByTitle: (<T_27 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_27[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
201
- readonly findByTitle: (<T_28 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_28>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
202
- readonly findAllByTitle: (<T_29 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_29[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
203
- readonly getByDisplayValue: (<T_30 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_30) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
204
- readonly getAllByDisplayValue: (<T_31 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_31[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
205
- readonly queryByDisplayValue: (<T_32 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_32 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
206
- readonly queryAllByDisplayValue: (<T_33 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_33[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
207
- readonly findByDisplayValue: (<T_34 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_34>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
208
- readonly findAllByDisplayValue: (<T_35 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_35[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
209
- readonly getByRole: (<T_36 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => T_36) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement);
210
- readonly getAllByRole: (<T_37 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => T_37[]) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[]);
211
- readonly queryByRole: (<T_38 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => T_38 | null) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement | null);
212
- readonly queryAllByRole: (<T_39 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => T_39[]) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[]);
213
- readonly findByRole: (<T_40 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_40>) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
214
- readonly findAllByRole: (<T_41 extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_41[]>) & ((role: import("@testing-library/react").ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
215
- readonly getByTestId: (<T_42 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_42) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
216
- readonly getAllByTestId: (<T_43 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_43[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
217
- readonly queryByTestId: (<T_44 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_44 | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
218
- readonly queryAllByTestId: (<T_45 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T_45[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
219
- readonly findByTestId: (<T_46 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_46>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
220
- readonly findAllByTestId: (<T_47 extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T_47[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
221
- readonly queryByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement | null;
222
- readonly queryAllByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
223
- readonly getAllByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement[];
224
- readonly getByDataQaLabel: (qaObject: import("./dataQaLabelQueries").TypeQaObject) => HTMLElement;
225
- readonly findAllByDataQaLabel: (args_0: import("./dataQaLabelQueries").TypeQaObject, args_1?: undefined, args_2?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
226
- readonly findByDataQaLabel: (args_0: import("./dataQaLabelQueries").TypeQaObject, args_1?: undefined, args_2?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
227
- readonly debug: (element?: Element | HTMLDocument | (Element | HTMLDocument)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
228
- readonly logTestingPlaygroundURL: (element?: Element | HTMLDocument | undefined) => string;
229
- };
169
+ declare const customScreen: Screen<typeof sproutQueries>;
230
170
  export { act, cleanup, createEvent, customRender as render, customWithin as within, fireEvent, customScreen as screen, userEvent, waitFor, waitForElementToBeRemoved, };
231
171
  //# sourceMappingURL=react-testing-library.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-testing-library.d.ts","sourceRoot":"","sources":["../../../src/utils/react-testing-library.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,GAAG,EACH,OAAO,EACP,WAAW,EACX,SAAS,EACT,OAAO,EAGP,OAAO,EACP,yBAAyB,EAEzB,aAAa,EACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAUpD,QAAA,MAAM,YAAY,SACV,MAAM,YAAY,YACd,cAAc,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBrD,CAAC;AAEF,QAAA,MAAM,YAAY,YAAa,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAG9E,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGR,CAAC;AAEX,OAAO,EACL,GAAG,EACH,OAAO,EACP,WAAW,EACX,YAAY,IAAI,MAAM,EACtB,YAAY,IAAI,MAAM,EACtB,SAAS,EACT,YAAY,IAAI,MAAM,EACtB,SAAS,EACT,OAAO,EACP,yBAAyB,GAC1B,CAAC"}
1
+ {"version":3,"file":"react-testing-library.d.ts","sourceRoot":"","sources":["../../../src/utils/react-testing-library.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,GAAG,EACH,OAAO,EACP,WAAW,EACX,SAAS,EACT,OAAO,EAGP,OAAO,EACP,yBAAyB,EAEzB,aAAa,EACb,YAAY,EACZ,MAAM,EACP,MAAM,wBAAwB,CAAC;AAChC,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAKpD,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGT,CAAC;AAEX,UAAU,kBAAmB,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACrE,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC;AACD,QAAA,MAAM,YAAY,SACV,KAAK,CAAC,SAAS,YACX,IAAI,CAAC,aAAa,CAAC,OAAO,aAAa,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC,KACzE,kBAeF,CAAC;AAEF,QAAA,MAAM,YAAY,YAAa,WAAW;iMA/BzB,QAAS,SAAQ;oMAKjB,QACjB,SAAS;mMAMI,QAAQ,WACd;sMAIG,QAAQ,SAAS;uRAUlB,QACP,UAAO;0RAMA,QAAQ,aAAa;+LAUR,QAClB,mBACM;kMAKsF,QAAQ,mBAAmB;iMAAyK,QAAQ,qBAAqB;oMAA0K,QAAQ,mBAAmB;qRAAuK,QAAQ,oBAAoB;wRAA6K,QAAQ,uBAAuB;4LAAgJ,QAAQ,SAAS;+LAAmJ,QAAQ,SAAS;8LAAoJ,QAAQ,WAAW;iMAAqJ,QAAQ,SAAS;kRAAkJ,QAAQ,UAAU;qRAAwJ,QAAQ,aAAa;uLAA6J,QAAQ,mBAAmB;0LAAgK,QAAQ,mBAAmB;yLAAiK,QAAQ,qBAAqB;4LAAkK,QAAQ,mBAAmB;6QAA+J,QAAQ,oBAAoB;gRAAqK,QAAQ,uBAAuB;qLAA2J,QAAQ,mBAAmB;wLAA8J,QAAQ,mBAAmB;uLAA+J,QAAQ,qBAAqB;0LAAgK,QAAQ,mBAAmB;2QAA6J,QAAQ,oBAAoB;8QAAmK,QAAQ,uBAAuB;4LAAkK,QAAQ,mBAAmB;+LAAqK,QAAQ,mBAAmB;8LAAsK,QAAQ,qBAAqB;iMAAuK,QAAQ,mBAAmB;kRAAoK,QAAQ,oBAAoB;qRAA0K,QAAQ,uBAAuB;kKAAgJ,QAAQ,SAAS;qKAAmJ,QAAQ,SAAS;oKAAoJ,QAAQ,WAAW;uKAAqJ,QAAQ,SAAS;wPAAkJ,QAAQ,UAAU;2PAAwJ,QAAQ,aAAa;sLAA4J,QAAQ,mBAAmB;yLAA+J,QAAQ,mBAAmB;wLAAgK,QAAQ,qBAAqB;2LAAiK,QAAQ,mBAAmB;4QAA8J,QAAQ,oBAAoB;+QAAoK,QAAQ,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CApB9sO,CAAC;AAG9E,QAAA,MAAM,YAAY,EAAE,MAAM,CAAC,OAAO,aAAa,CAGrC,CAAC;AAEX,OAAO,EACL,GAAG,EACH,OAAO,EACP,WAAW,EACX,YAAY,IAAI,MAAM,EACtB,YAAY,IAAI,MAAM,EACtB,SAAS,EACT,YAAY,IAAI,MAAM,EACtB,SAAS,EACT,OAAO,EACP,yBAAyB,GAC1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/responsiveProps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAKxE,eAAO,MAAM,uBAAuB,UAE3B,eAAe,GAAG,CAAC,KAEzB,eAAe,GAAG,CA8BpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/responsiveProps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAKxE,eAAO,MAAM,uBAAuB,UAE3B,cAAc,CAAC,GAAG,CAAC,KAEzB,cAAc,CAAC,GAAG,CA8BpB,CAAC"}
@@ -1,12 +1,17 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1
2
  var _excluded = ["fontSize"],
2
3
  _excluded2 = ["appearance", "name", "src", "variant", "type", "size", "bg", "color"];
3
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
5
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
8
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
15
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
17
  import * as React from "react";
@@ -16,13 +21,14 @@ import classnames from "classnames";
16
21
  import Box from "../Box";
17
22
  import Image from "../Image";
18
23
  import Text from "../Text";
24
+ import { jsx as _jsx } from "react/jsx-runtime";
19
25
  var defaultType = "neutral";
20
26
 
21
27
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
28
  var AvatarText = styled(function (_ref) {
23
29
  var fontSize = _ref.fontSize,
24
30
  rest = _objectWithoutProperties(_ref, _excluded);
25
- return /*#__PURE__*/React.createElement(Text, rest);
31
+ return /*#__PURE__*/_jsx(Text, _objectSpread({}, rest));
26
32
  }).withConfig({
27
33
  displayName: "Avatar__AvatarText",
28
34
  componentId: "sc-1ffu253-0"
@@ -100,7 +106,7 @@ export var Avatar = function Avatar(_ref4) {
100
106
 
101
107
  // Font size for initials is half the size of the avatar, rounded down.
102
108
  var fontSize = Math.floor(Number(size.replace("px", "")) * 0.4);
103
- return /*#__PURE__*/React.createElement(Container, _extends({
109
+ return /*#__PURE__*/_jsx(Container, _objectSpread(_objectSpread({
104
110
  className: classnames(variant),
105
111
  size: size,
106
112
  overflow: "hidden",
@@ -117,19 +123,22 @@ export var Avatar = function Avatar(_ref4) {
117
123
  "data-qa-user-avatar": name,
118
124
  $src: src,
119
125
  imageFailedLoading: imageFailedLoading
120
- }, rest), !src || imageFailedLoading ? /*#__PURE__*/React.createElement(AvatarText, {
121
- lineHeight: size,
122
- fontWeight: "semibold",
123
- fontSize: fontSize,
124
- type: colorType,
125
- color: color
126
- }, initials) : /*#__PURE__*/React.createElement(Image, {
127
- alt: name,
128
- width: "auto",
129
- height: "100%",
130
- src: src,
131
- onError: handleError,
132
- m: 0
126
+ }, rest), {}, {
127
+ children: !src || imageFailedLoading ? /*#__PURE__*/_jsx(AvatarText, {
128
+ lineHeight: size,
129
+ fontWeight: "semibold",
130
+ fontSize: fontSize,
131
+ type: colorType,
132
+ color: color,
133
+ children: initials
134
+ }) : /*#__PURE__*/_jsx(Image, {
135
+ alt: name,
136
+ width: "auto",
137
+ height: "100%",
138
+ src: src,
139
+ onError: handleError,
140
+ m: 0
141
+ })
133
142
  }));
134
143
  };
135
144
  export default /*#__PURE__*/memo(Avatar);
@@ -1,11 +1,18 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1
2
  var _excluded = ["children", "text", "iconName", "type", "tip", "size", "badgeColor", "color"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
3
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
10
  import * as React from "react";
6
11
  import Box from "../Box";
7
12
  import Icon from "../Icon";
8
13
  import Container from "./styles";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
16
  var Badge = function Badge(_ref) {
10
17
  var children = _ref.children,
11
18
  text = _ref.text,
@@ -21,7 +28,7 @@ var Badge = function Badge(_ref) {
21
28
  if (children && text) {
22
29
  throw new Error("can't use both `children` and `text` props. Text is deprecated, consider using children.");
23
30
  }
24
- return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
31
+ return /*#__PURE__*/_jsx(Container, _objectSpread(_objectSpread({}, rest), {}, {
25
32
  // size previously included default, which currently maps to small. Once consumers have updated this can be simplified.
26
33
  size: size === "default" ? "large" : size,
27
34
  badgeColor: badgeColor,
@@ -34,16 +41,18 @@ var Badge = function Badge(_ref) {
34
41
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
35
42
  // @ts-ignore
36
43
  ,
37
- color: color
38
- }), /*#__PURE__*/React.createElement(Box, {
39
- display: "flex",
40
- alignItems: "center",
41
- justifyContent: "center"
42
- }, iconName ? /*#__PURE__*/React.createElement(Icon, {
43
- mr: 200,
44
- name: iconName,
45
- size: size === "small" ? "mini" : "small",
46
- "aria-hidden": true
47
- }) : null, children || text));
44
+ color: color,
45
+ children: /*#__PURE__*/_jsxs(Box, {
46
+ display: "flex",
47
+ alignItems: "center",
48
+ justifyContent: "center",
49
+ children: [iconName ? /*#__PURE__*/_jsx(Icon, {
50
+ mr: 200,
51
+ name: iconName,
52
+ size: size === "small" ? "mini" : "small",
53
+ "aria-hidden": true
54
+ }) : null, children || text]
55
+ })
56
+ }));
48
57
  };
49
58
  export default Badge;