@orfium/ictinus 5.43.0 → 5.43.2

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 (838) hide show
  1. package/.turbo/turbo-build.log +601 -899
  2. package/CHANGELOG.md +12 -0
  3. package/dist/components/Avatar/Avatar.js +5 -5
  4. package/dist/components/Avatar/UserAvatar.js +11 -0
  5. package/dist/components/Button/Button.js +23 -23
  6. package/dist/components/ButtonBase/ButtonBase.js +31 -18
  7. package/dist/components/ButtonBase/ButtonBase.style.js +23 -21
  8. package/dist/components/ButtonBase/constants.js +7 -1
  9. package/dist/components/Controls/CheckBox/CheckBox.js +27 -28
  10. package/dist/components/Controls/CheckBox/CheckBox.style.js +3 -3
  11. package/dist/components/DatePicker/constants.js +8 -11
  12. package/dist/components/DatePicker/utils.js +3 -4
  13. package/dist/components/Filter/components/FilterButton/FilterButton.js +1 -1
  14. package/dist/components/IconButton/IconButton.js +13 -14
  15. package/dist/components/Table/constants.js +4 -5
  16. package/dist/components/TextField/TextField.js +14 -21
  17. package/dist/icon/Icon.js +309 -0
  18. package/dist/icons/AccountIcon.js +8 -0
  19. package/dist/icons/AlbumIcon.js +8 -0
  20. package/dist/icons/AnalyticsIcon.js +8 -0
  21. package/dist/icons/AppsIcon.js +8 -0
  22. package/dist/icons/ArrowDownIcon.js +8 -0
  23. package/dist/icons/ArrowLeftIcon.js +8 -0
  24. package/dist/icons/ArrowRightIcon.js +8 -0
  25. package/dist/icons/ArrowUpIcon.js +8 -0
  26. package/dist/icons/ArtistIcon.js +8 -0
  27. package/dist/icons/AssetIcon.js +8 -0
  28. package/dist/icons/AudioIcon.js +8 -0
  29. package/dist/icons/AudioOffIcon.js +13 -0
  30. package/dist/icons/BookmarkIcon.js +8 -0
  31. package/dist/icons/BookmarkOffIcon.js +8 -0
  32. package/dist/icons/BroadcastIcon.js +8 -0
  33. package/dist/icons/CalendarIcon.js +8 -0
  34. package/dist/icons/CatalogIcon.js +8 -0
  35. package/dist/icons/ChannelIcon.js +12 -0
  36. package/dist/icons/ChatIcon.js +8 -0
  37. package/dist/icons/CheckIcon.js +8 -0
  38. package/dist/icons/ChevronDownIcon.js +8 -0
  39. package/dist/icons/ChevronLeftIcon.js +8 -0
  40. package/dist/icons/ChevronRightIcon.js +8 -0
  41. package/dist/icons/ChevronUpIcon.js +8 -0
  42. package/dist/icons/CinemaIcon.js +8 -0
  43. package/dist/icons/ClaimIcon.js +8 -0
  44. package/dist/icons/CloseIcon.js +8 -0
  45. package/dist/icons/ColumnChooserIcon.js +8 -0
  46. package/dist/icons/CompositionIcon.js +8 -0
  47. package/dist/icons/ConcertIcon.js +8 -0
  48. package/dist/icons/ConflictIcon.js +8 -0
  49. package/dist/icons/ConvertIcon.js +8 -0
  50. package/dist/icons/CopyIcon.js +8 -0
  51. package/dist/icons/CueSheetIcon.js +8 -0
  52. package/dist/icons/DashboardIcon.js +8 -0
  53. package/dist/icons/DatasetIcon.js +8 -0
  54. package/dist/icons/DeleteIcon.js +8 -0
  55. package/dist/icons/DeliveryIcon.js +8 -0
  56. package/dist/icons/DetailsIcon.js +8 -0
  57. package/dist/icons/DigitalIcon.js +8 -0
  58. package/dist/icons/DistributionIcon.js +8 -0
  59. package/dist/icons/DownloadIcon.js +8 -0
  60. package/dist/icons/EarningsIcon.js +8 -0
  61. package/dist/icons/EditIcon.js +8 -0
  62. package/dist/icons/EntitiesIcon.js +8 -0
  63. package/dist/icons/ErrorIcon.js +8 -0
  64. package/dist/icons/ExternalLinkIcon.js +8 -0
  65. package/dist/icons/EyeIcon.js +8 -0
  66. package/dist/icons/EyeOffIcon.js +8 -0
  67. package/dist/icons/FavoriteIcon.js +8 -0
  68. package/dist/icons/FavoriteOffIcon.js +8 -0
  69. package/dist/icons/FileIcon.js +8 -0
  70. package/dist/icons/FilterIcon.js +8 -0
  71. package/dist/icons/FlagIcon.js +8 -0
  72. package/dist/icons/FlagOffIcon.js +8 -0
  73. package/dist/icons/ForwardIcon.js +8 -0
  74. package/dist/icons/FreezeIcon.js +8 -0
  75. package/dist/icons/HelpIcon.js +8 -0
  76. package/dist/icons/ImageIcon.js +8 -0
  77. package/dist/icons/ImageOffIcon.js +11 -0
  78. package/dist/icons/IncomeIcon.js +8 -0
  79. package/dist/icons/InformationalIcon.js +8 -0
  80. package/dist/icons/InsightIcon.js +8 -0
  81. package/dist/icons/InvoiceIcon.js +8 -0
  82. package/dist/icons/IssueIcon.js +8 -0
  83. package/dist/icons/KeywordIcon.js +8 -0
  84. package/dist/icons/LanguageIcon.js +8 -0
  85. package/dist/icons/LegalIcon.js +8 -0
  86. package/dist/icons/LicenseIcon.js +8 -0
  87. package/dist/icons/LinkIcon.js +8 -0
  88. package/dist/icons/LocationIcon.js +8 -0
  89. package/dist/icons/LockIcon.js +8 -0
  90. package/dist/icons/LoginIcon.js +8 -0
  91. package/dist/icons/LogoutIcon.js +8 -0
  92. package/dist/icons/MailIcon.js +8 -0
  93. package/dist/icons/ManualIcon.js +8 -0
  94. package/dist/icons/MediaFileIcon.js +8 -0
  95. package/dist/icons/MenuIcon.js +8 -0
  96. package/dist/icons/MinusIcon.js +8 -0
  97. package/dist/icons/MoreOptionsIcon.js +12 -0
  98. package/dist/icons/NextIcon.js +8 -0
  99. package/dist/icons/NotificationIcon.js +8 -0
  100. package/dist/icons/OrganizationIcon.js +8 -0
  101. package/dist/icons/PageFirstIcon.js +8 -0
  102. package/dist/icons/PageLastIcon.js +8 -0
  103. package/dist/icons/PairIcon.js +8 -0
  104. package/dist/icons/PauseIcon.js +8 -0
  105. package/dist/icons/PendingIcon.js +8 -0
  106. package/dist/icons/PlayIcon.js +8 -0
  107. package/dist/icons/PlaycountIcon.js +8 -0
  108. package/dist/icons/PlusIcon.js +8 -0
  109. package/dist/icons/PolicyIcon.js +8 -0
  110. package/dist/icons/PreviousIcon.js +8 -0
  111. package/dist/icons/PublicPerformanceIcon.js +8 -0
  112. package/dist/icons/PublisherIcon.js +11 -0
  113. package/dist/icons/RadioIcon.js +8 -0
  114. package/dist/icons/RecordLabelIcon.js +8 -0
  115. package/dist/icons/RecordingIcon.js +8 -0
  116. package/dist/icons/RedoIcon.js +8 -0
  117. package/dist/icons/RefreshIcon.js +8 -0
  118. package/dist/icons/ReportIcon.js +8 -0
  119. package/dist/icons/RestoreIcon.js +11 -0
  120. package/dist/icons/ResumeIcon.js +11 -0
  121. package/dist/icons/ReviewIcon.js +8 -0
  122. package/dist/icons/RewindIcon.js +8 -0
  123. package/dist/icons/RoleIcon.js +8 -0
  124. package/dist/icons/SearchFilledIcon.js +8 -0
  125. package/dist/icons/SearchIcon.js +8 -0
  126. package/dist/icons/SettingsIcon.js +8 -0
  127. package/dist/icons/ShareIcon.js +8 -0
  128. package/dist/icons/SortAscendingIcon.js +12 -0
  129. package/dist/icons/SortDescendingIcon.js +12 -0
  130. package/dist/icons/SortIcon.js +11 -0
  131. package/dist/icons/StatusIndicatorIcon.js +8 -0
  132. package/dist/icons/StopIcon.js +8 -0
  133. package/dist/icons/SuccessIcon.js +8 -0
  134. package/dist/icons/TagIcon.js +8 -0
  135. package/dist/icons/TelevisionIcon.js +8 -0
  136. package/dist/icons/ThumbsDownIcon.js +8 -0
  137. package/dist/icons/ThumbsUpIcon.js +8 -0
  138. package/dist/icons/TrendingDownIcon.js +8 -0
  139. package/dist/icons/TrendingUpIcon.js +8 -0
  140. package/dist/icons/TriangleDownIcon.js +8 -0
  141. package/dist/icons/TriangleLeftIcon.js +8 -0
  142. package/dist/icons/TriangleRightIcon.js +8 -0
  143. package/dist/icons/TriangleUpIcon.js +8 -0
  144. package/dist/icons/UndoIcon.js +8 -0
  145. package/dist/icons/UnfreezeIcon.js +11 -0
  146. package/dist/icons/UnlinkIcon.js +8 -0
  147. package/dist/icons/UnlockIcon.js +8 -0
  148. package/dist/icons/UnpairIcon.js +8 -0
  149. package/dist/icons/UnverifiedIcon.js +11 -0
  150. package/dist/icons/UpdateIcon.js +11 -0
  151. package/dist/icons/UploadIcon.js +8 -0
  152. package/dist/icons/UsageIcon.js +8 -0
  153. package/dist/icons/UserIcon.js +8 -0
  154. package/dist/icons/UsersIcon.js +13 -0
  155. package/dist/icons/VerifiedIcon.js +8 -0
  156. package/dist/icons/VideoIcon.js +8 -0
  157. package/dist/icons/VideoOffIcon.js +11 -0
  158. package/dist/icons/WarningIcon.js +8 -0
  159. package/dist/icons/WorkIcon.js +8 -0
  160. package/dist/icons/WriterIcon.js +12 -0
  161. package/dist/icons/YouTubeIcon.js +8 -0
  162. package/dist/index.js +240 -246
  163. package/dist/package.json.d.ts +24 -18
  164. package/dist/{packages/ictinus/package.json.js → package.json.js} +1 -1
  165. package/dist/sprinkles/properties.css.js +1 -1
  166. package/dist/sprinkles/properties.css.ts.vanilla.css +1 -1
  167. package/dist/src/actions/ActionsContent.css.d.ts +11 -0
  168. package/dist/src/actions/ActionsContent.d.ts +420 -0
  169. package/dist/src/actions/ActionsRoot.css.d.ts +6 -0
  170. package/dist/src/actions/ActionsRoot.d.ts +417 -0
  171. package/dist/src/actions/index.d.ts +2 -0
  172. package/dist/src/components/Avatar/UserAvatar.d.ts +2 -0
  173. package/dist/src/components/ButtonBase/ButtonBase.style.d.ts +0 -7
  174. package/dist/src/components/ButtonBase/constants.d.ts +6 -0
  175. package/dist/src/components/DatePicker/DatePicker.test.d.ts +3 -1
  176. package/dist/src/components/DatePicker/constants.d.ts +0 -40
  177. package/dist/src/components/DatePicker/utils.d.ts +0 -3
  178. package/dist/src/components/ExpandCollapse/ExpandCollapse.types.d.ts +6 -7
  179. package/dist/src/components/IconButton/IconButton.d.ts +3 -3
  180. package/dist/src/components/Link/Link.d.ts +1 -1
  181. package/dist/src/components/Link/Link.types.d.ts +2 -3
  182. package/dist/src/components/Table/constants.d.ts +0 -28
  183. package/dist/src/data-table/DataTable.d.ts +428 -0
  184. package/dist/src/data-table/DataTableBody.css.d.ts +20 -0
  185. package/dist/src/data-table/DataTableBody.d.ts +425 -0
  186. package/dist/src/data-table/DataTableCheckbox.d.ts +14 -0
  187. package/dist/src/data-table/DataTableContext.d.ts +12 -0
  188. package/dist/src/data-table/DataTableEditColumns.d.ts +1 -0
  189. package/dist/src/data-table/DataTableHeader.d.ts +417 -0
  190. package/dist/src/data-table/DataTableHeaderCell.css.d.ts +20 -0
  191. package/dist/src/data-table/DataTableHeaderCell.d.ts +10 -0
  192. package/dist/src/data-table/DataTableRow.d.ts +851 -0
  193. package/dist/src/data-table/DataTableRowContext.d.ts +17 -0
  194. package/dist/src/data-table/index.d.ts +5 -0
  195. package/dist/src/index.d.ts +1 -5
  196. package/dist/src/sprinkles/properties.css.d.ts +356 -340
  197. package/dist/src/sprinkles/sprinkles.d.ts +738 -706
  198. package/dist/src/test/utils.d.ts +1 -2
  199. package/dist/src/utils/common.d.ts +0 -7
  200. package/dist/src/vanilla/Box/Box.d.ts +287 -281
  201. package/dist/src/vanilla/Box/extractBoxProps.d.ts +2 -2
  202. package/dist/src/vanilla/Dropdown/Dropdown.css.d.ts +5 -0
  203. package/dist/src/vanilla/Table/Table.d.ts +287 -281
  204. package/dist/src/vanilla/Table/TableBody.d.ts +287 -281
  205. package/dist/src/vanilla/Table/TableCell.d.ts +287 -281
  206. package/dist/src/vanilla/Table/TableFooter.d.ts +287 -281
  207. package/dist/src/vanilla/Table/TableHeader.d.ts +287 -281
  208. package/dist/src/vanilla/Table/TableHeaderCell.css.d.ts +1 -0
  209. package/dist/src/vanilla/Table/TableHeaderCell.d.ts +287 -281
  210. package/dist/src/vanilla/Table/TableRow.d.ts +287 -281
  211. package/dist/src/vanilla/Text/Text.d.ts +287 -281
  212. package/dist/src/vanilla/index.d.ts +1 -0
  213. package/dist/src/vanilla-extract/index.d.ts +1 -0
  214. package/dist/src/version/index.d.ts +1 -0
  215. package/dist/src/version/version.d.ts +1 -0
  216. package/dist/vanilla/Box/Box.js +1 -1
  217. package/dist/vanilla/Dropdown/Dropdown-css.js +8 -0
  218. package/dist/vanilla/Dropdown/Dropdown.js +4 -2
  219. package/dist/vanilla/Menu/Menu-css.js +4 -4
  220. package/dist/vanilla/Menu/Menu.js +2 -2
  221. package/dist/vanilla/Popover/Popover-css.js +3 -3
  222. package/dist/vanilla/Popover/Popover.js +1 -1
  223. package/dist/vanilla/Table/Table-css.js +4 -4
  224. package/dist/vanilla/Table/Table.js +2 -3
  225. package/dist/vanilla/Table/TableCell-css.js +4 -4
  226. package/dist/vanilla/Table/TableCell.js +0 -2
  227. package/dist/vanilla/Table/TableHeaderCell-css.js +6 -6
  228. package/dist/vanilla/Table/TableRow-css.js +4 -4
  229. package/dist/vanilla/ThemeProvider/ThemeProvider.js +1 -1
  230. package/dist/vanilla/Tooltip/Tooltip-css.js +3 -3
  231. package/dist/vanilla/Tooltip/Tooltip.js +1 -1
  232. package/dist/vanilla/assets/src/actions/ActionsContent.css.ts.vanilla-BVxWvGVF.css +22 -0
  233. package/dist/vanilla/assets/src/actions/ActionsRoot.css.ts.vanilla-B5JvX1-v.css +4 -0
  234. package/dist/vanilla/assets/src/data-table/DataTableBody.css.ts.vanilla-B8JRxzQ8.css +70 -0
  235. package/dist/vanilla/assets/src/data-table/DataTableHeaderCell.css.ts.vanilla-B2HJ86a7.css +36 -0
  236. package/dist/vanilla/assets/src/sprinkles/{properties.css.ts.vanilla-CFXZ9U7a.css → properties.css.ts.vanilla-C8hqLKur.css} +3196 -3181
  237. package/dist/vanilla/assets/src/vanilla/Table/{TableHeaderCell.css.ts.vanilla-DHGpcMTl.css → TableHeaderCell.css.ts.vanilla-CZtubUTB.css} +7 -13
  238. package/dist/vanilla/assets/src/vanilla/Table/TableRow.css.ts.vanilla-B1NNK8v8.css +18 -0
  239. package/dist/vanilla/assets/src/vanilla-extract/{global.css.ts.vanilla-yNiirHQ2.css → global.css.ts.vanilla-BHTgxO8_.css} +1 -1
  240. package/dist/vanilla/index.d.ts +1381 -41
  241. package/dist/vanilla/index.js +5 -0
  242. package/dist/vanilla/package.json.js +1 -1
  243. package/dist/vanilla/src/actions/ActionsContent-css.js +10 -0
  244. package/dist/vanilla/src/actions/ActionsContent.js +15 -0
  245. package/dist/vanilla/src/actions/ActionsRoot-css.js +7 -0
  246. package/dist/vanilla/src/actions/ActionsRoot.js +15 -0
  247. package/dist/vanilla/src/components/Avatar/Avatar.js +34 -0
  248. package/dist/vanilla/src/components/Avatar/Avatar.style.js +116 -0
  249. package/dist/vanilla/src/components/Avatar/UserAvatar.js +24 -0
  250. package/dist/vanilla/src/components/Box/Box.js +42 -0
  251. package/dist/vanilla/src/components/Box/Box.style.js +5 -0
  252. package/dist/vanilla/src/components/Box/Box.utilities.js +132 -0
  253. package/dist/vanilla/src/components/Button/Button.js +32 -0
  254. package/dist/vanilla/src/components/Button/ButtonLoader/ButtonLoader.js +9 -0
  255. package/dist/vanilla/src/components/Button/ButtonLoader/ButtonLoader.style.js +46 -0
  256. package/dist/vanilla/src/components/ButtonBase/ButtonBase.js +62 -0
  257. package/dist/vanilla/src/components/ButtonBase/ButtonBase.style.js +74 -0
  258. package/dist/vanilla/src/components/ButtonBase/constants.js +40 -0
  259. package/dist/vanilla/src/components/Controls/CheckBox/CheckBox.js +79 -0
  260. package/dist/vanilla/src/components/Controls/CheckBox/CheckBox.style.js +77 -0
  261. package/dist/vanilla/src/components/Controls/ControlLabel/ControlHelpText.js +8 -0
  262. package/dist/vanilla/src/components/Controls/ControlLabel/ControlLabel.style.js +23 -0
  263. package/dist/vanilla/src/components/Controls/ControlLabel/ControlLabelText.js +8 -0
  264. package/dist/vanilla/src/components/Controls/Radio/Radio.js +52 -0
  265. package/dist/vanilla/src/components/Controls/Radio/Radio.style.js +91 -0
  266. package/dist/vanilla/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js +25 -0
  267. package/dist/vanilla/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.js +6 -0
  268. package/dist/vanilla/src/components/Controls/Switch/Switch.js +71 -0
  269. package/dist/vanilla/src/components/Controls/Switch/Switch.style.js +82 -0
  270. package/dist/vanilla/src/components/IconButton/IconButton.js +30 -0
  271. package/dist/vanilla/src/components/Typography/utils.js +13 -0
  272. package/dist/vanilla/src/components/utils/Slots.js +12 -0
  273. package/dist/vanilla/src/components/utils/useDOMRef.js +12 -0
  274. package/dist/vanilla/src/data-table/DataTable.js +23 -0
  275. package/dist/vanilla/src/data-table/DataTableBody-css.js +16 -0
  276. package/dist/vanilla/src/data-table/DataTableBody.js +235 -0
  277. package/dist/vanilla/src/data-table/DataTableCheckbox.js +48 -0
  278. package/dist/vanilla/src/data-table/DataTableContext.js +19 -0
  279. package/dist/vanilla/src/data-table/DataTableEditColumns.js +82 -0
  280. package/dist/vanilla/src/data-table/DataTableHeader.js +33 -0
  281. package/dist/vanilla/src/data-table/DataTableHeaderCell-css.js +14 -0
  282. package/dist/vanilla/src/data-table/DataTableHeaderCell.js +197 -0
  283. package/dist/vanilla/src/data-table/DataTableRow.js +159 -0
  284. package/dist/vanilla/src/data-table/DataTableRowContext.js +22 -0
  285. package/dist/vanilla/src/hooks/useCombinedRefs.js +20 -0
  286. package/dist/vanilla/src/hooks/useTheme.js +7 -0
  287. package/dist/vanilla/src/sprinkles/properties-css.js +5 -5
  288. package/dist/vanilla/src/theme/functions.js +64 -0
  289. package/dist/vanilla/src/utils/date.js +13 -0
  290. package/dist/vanilla/src/utils/helpers.js +7 -0
  291. package/dist/vanilla-extract/global.css.ts.vanilla.css +1 -1
  292. package/package.json +23 -17
  293. package/src/actions/ActionsContent.css.ts +52 -0
  294. package/src/actions/ActionsContent.tsx +19 -0
  295. package/src/actions/ActionsRoot.css.ts +8 -0
  296. package/src/actions/ActionsRoot.tsx +19 -0
  297. package/src/actions/index.ts +2 -0
  298. package/src/components/Avatar/Avatar.tsx +1 -1
  299. package/src/components/Avatar/UserAvatar.tsx +18 -0
  300. package/src/components/Button/Button.tsx +13 -17
  301. package/src/components/ButtonBase/ButtonBase.style.ts +3 -12
  302. package/src/components/ButtonBase/ButtonBase.tsx +3 -2
  303. package/src/components/ButtonBase/constants.ts +7 -0
  304. package/src/components/Controls/CheckBox/CheckBox.style.ts +1 -0
  305. package/src/components/Controls/CheckBox/CheckBox.tsx +11 -10
  306. package/src/components/Controls/CheckBox/__snapshots__/CheckBox.test.tsx.snap +9 -27
  307. package/src/components/DatePicker/DatePicker.test.tsx +29 -1
  308. package/src/components/DatePicker/OverlayComponent/__snapshots__/OverlayComponent.test.tsx.snap +432 -505
  309. package/src/components/DatePicker/OverlayComponent/components/MonthWrapper/__snapshots__/MonthWrapper.test.tsx.snap +152 -190
  310. package/src/components/DatePicker/constants.ts +0 -41
  311. package/src/components/DatePicker/utils.ts +0 -30
  312. package/src/components/ExpandCollapse/ExpandCollapse.types.ts +7 -7
  313. package/src/components/Filter/components/FilterButton/FilterButton.tsx +1 -1
  314. package/src/components/IconButton/IconButton.tsx +8 -8
  315. package/src/components/Link/Link.types.ts +3 -3
  316. package/src/components/Table/constants.tsx +0 -342
  317. package/src/components/TextField/TextField.tsx +4 -8
  318. package/src/components/TopAppBar/__snapshots__/TopAppBar.test.tsx.snap +54 -128
  319. package/src/data-table/DataTable.tsx +36 -0
  320. package/src/data-table/DataTableBody.css.ts +127 -0
  321. package/src/data-table/DataTableBody.tsx +282 -0
  322. package/src/data-table/DataTableCheckbox.tsx +68 -0
  323. package/src/data-table/DataTableContext.tsx +27 -0
  324. package/src/data-table/DataTableEditColumns.tsx +88 -0
  325. package/src/data-table/DataTableHeader.tsx +32 -0
  326. package/src/data-table/DataTableHeaderCell.css.ts +90 -0
  327. package/src/data-table/DataTableHeaderCell.tsx +214 -0
  328. package/src/data-table/DataTableRow.tsx +216 -0
  329. package/src/data-table/DataTableRowContext.tsx +38 -0
  330. package/src/data-table/index.ts +5 -0
  331. package/src/data-table/react-table.d.ts +12 -0
  332. package/src/hooks/useBreakpoints.test.ts +1 -1
  333. package/src/index.ts +1 -5
  334. package/src/sprinkles/properties.css.ts +2 -1
  335. package/src/test/setup.ts +8 -0
  336. package/src/test/utils.tsx +1 -2
  337. package/src/utils/common.ts +0 -106
  338. package/src/vanilla/Box/Box.tsx +1 -1
  339. package/src/vanilla/Dropdown/Dropdown.css.ts +11 -0
  340. package/src/vanilla/Dropdown/Dropdown.tsx +3 -1
  341. package/src/vanilla/Table/Table.tsx +3 -5
  342. package/src/vanilla/Table/TableCell.css.ts +1 -0
  343. package/src/vanilla/Table/TableCell.tsx +0 -2
  344. package/src/vanilla/Table/TableHeaderCell.css.ts +3 -9
  345. package/src/vanilla/Table/TableRow.css.ts +10 -1
  346. package/src/vanilla/ThemeProvider/ThemeProvider.tsx +1 -1
  347. package/src/vanilla/index.ts +1 -0
  348. package/src/vanilla-extract/global.css.ts +1 -1
  349. package/src/vanilla-extract/index.ts +9 -0
  350. package/src/version/index.ts +1 -0
  351. package/src/version/version.ts +1 -0
  352. package/dist/_virtual/AsymmetricMatcher.js +0 -4
  353. package/dist/_virtual/ConvertAnsi.js +0 -4
  354. package/dist/_virtual/DOMCollection.js +0 -4
  355. package/dist/_virtual/DOMElement.js +0 -4
  356. package/dist/_virtual/Immutable.js +0 -4
  357. package/dist/_virtual/ReactElement.js +0 -4
  358. package/dist/_virtual/ReactTestComponent.js +0 -4
  359. package/dist/_virtual/___vite-browser-external.js +0 -6
  360. package/dist/_virtual/__vite-browser-external.js +0 -4
  361. package/dist/_virtual/_commonjsHelpers.js +0 -33
  362. package/dist/_virtual/alertRole.js +0 -4
  363. package/dist/_virtual/alertdialogRole.js +0 -4
  364. package/dist/_virtual/applicationRole.js +0 -4
  365. package/dist/_virtual/ariaAbstractRoles.js +0 -4
  366. package/dist/_virtual/ariaDpubRoles.js +0 -4
  367. package/dist/_virtual/ariaGraphicsRoles.js +0 -4
  368. package/dist/_virtual/ariaLiteralRoles.js +0 -4
  369. package/dist/_virtual/ariaPropsMap.js +0 -4
  370. package/dist/_virtual/articleRole.js +0 -4
  371. package/dist/_virtual/bannerRole.js +0 -4
  372. package/dist/_virtual/blockquoteRole.js +0 -4
  373. package/dist/_virtual/buttonRole.js +0 -4
  374. package/dist/_virtual/captionRole.js +0 -4
  375. package/dist/_virtual/cellRole.js +0 -4
  376. package/dist/_virtual/checkboxRole.js +0 -4
  377. package/dist/_virtual/codeRole.js +0 -4
  378. package/dist/_virtual/collections.js +0 -4
  379. package/dist/_virtual/columnheaderRole.js +0 -4
  380. package/dist/_virtual/comboboxRole.js +0 -4
  381. package/dist/_virtual/commandRole.js +0 -4
  382. package/dist/_virtual/complementaryRole.js +0 -4
  383. package/dist/_virtual/compositeRole.js +0 -4
  384. package/dist/_virtual/contentinfoRole.js +0 -4
  385. package/dist/_virtual/definitionRole.js +0 -4
  386. package/dist/_virtual/deletionRole.js +0 -4
  387. package/dist/_virtual/dialogRole.js +0 -4
  388. package/dist/_virtual/directoryRole.js +0 -4
  389. package/dist/_virtual/docAbstractRole.js +0 -4
  390. package/dist/_virtual/docAcknowledgmentsRole.js +0 -4
  391. package/dist/_virtual/docAfterwordRole.js +0 -4
  392. package/dist/_virtual/docAppendixRole.js +0 -4
  393. package/dist/_virtual/docBacklinkRole.js +0 -4
  394. package/dist/_virtual/docBiblioentryRole.js +0 -4
  395. package/dist/_virtual/docBibliographyRole.js +0 -4
  396. package/dist/_virtual/docBibliorefRole.js +0 -4
  397. package/dist/_virtual/docChapterRole.js +0 -4
  398. package/dist/_virtual/docColophonRole.js +0 -4
  399. package/dist/_virtual/docConclusionRole.js +0 -4
  400. package/dist/_virtual/docCoverRole.js +0 -4
  401. package/dist/_virtual/docCreditRole.js +0 -4
  402. package/dist/_virtual/docCreditsRole.js +0 -4
  403. package/dist/_virtual/docDedicationRole.js +0 -4
  404. package/dist/_virtual/docEndnoteRole.js +0 -4
  405. package/dist/_virtual/docEndnotesRole.js +0 -4
  406. package/dist/_virtual/docEpigraphRole.js +0 -4
  407. package/dist/_virtual/docEpilogueRole.js +0 -4
  408. package/dist/_virtual/docErrataRole.js +0 -4
  409. package/dist/_virtual/docExampleRole.js +0 -4
  410. package/dist/_virtual/docFootnoteRole.js +0 -4
  411. package/dist/_virtual/docForewordRole.js +0 -4
  412. package/dist/_virtual/docGlossaryRole.js +0 -4
  413. package/dist/_virtual/docGlossrefRole.js +0 -4
  414. package/dist/_virtual/docIndexRole.js +0 -4
  415. package/dist/_virtual/docIntroductionRole.js +0 -4
  416. package/dist/_virtual/docNoterefRole.js +0 -4
  417. package/dist/_virtual/docNoticeRole.js +0 -4
  418. package/dist/_virtual/docPagebreakRole.js +0 -4
  419. package/dist/_virtual/docPagelistRole.js +0 -4
  420. package/dist/_virtual/docPartRole.js +0 -4
  421. package/dist/_virtual/docPrefaceRole.js +0 -4
  422. package/dist/_virtual/docPrologueRole.js +0 -4
  423. package/dist/_virtual/docPullquoteRole.js +0 -4
  424. package/dist/_virtual/docQnaRole.js +0 -4
  425. package/dist/_virtual/docSubtitleRole.js +0 -4
  426. package/dist/_virtual/docTipRole.js +0 -4
  427. package/dist/_virtual/docTocRole.js +0 -4
  428. package/dist/_virtual/documentRole.js +0 -4
  429. package/dist/_virtual/domMap.js +0 -4
  430. package/dist/_virtual/elementRoleMap.js +0 -4
  431. package/dist/_virtual/emphasisRole.js +0 -4
  432. package/dist/_virtual/escapeHTML.js +0 -4
  433. package/dist/_virtual/feedRole.js +0 -4
  434. package/dist/_virtual/figureRole.js +0 -4
  435. package/dist/_virtual/formRole.js +0 -4
  436. package/dist/_virtual/genericRole.js +0 -4
  437. package/dist/_virtual/graphicsDocumentRole.js +0 -4
  438. package/dist/_virtual/graphicsObjectRole.js +0 -4
  439. package/dist/_virtual/graphicsSymbolRole.js +0 -4
  440. package/dist/_virtual/gridRole.js +0 -4
  441. package/dist/_virtual/gridcellRole.js +0 -4
  442. package/dist/_virtual/groupRole.js +0 -4
  443. package/dist/_virtual/headingRole.js +0 -4
  444. package/dist/_virtual/imgRole.js +0 -4
  445. package/dist/_virtual/index.js +0 -5
  446. package/dist/_virtual/index10.js +0 -4
  447. package/dist/_virtual/index2.js +0 -5
  448. package/dist/_virtual/index3.js +0 -4
  449. package/dist/_virtual/index4.js +0 -4
  450. package/dist/_virtual/index5.js +0 -4
  451. package/dist/_virtual/index6.js +0 -4
  452. package/dist/_virtual/index7.js +0 -4
  453. package/dist/_virtual/index8.js +0 -4
  454. package/dist/_virtual/index9.js +0 -4
  455. package/dist/_virtual/inputRole.js +0 -4
  456. package/dist/_virtual/insertionRole.js +0 -4
  457. package/dist/_virtual/iterationDecorator.js +0 -4
  458. package/dist/_virtual/iteratorProxy.js +0 -4
  459. package/dist/_virtual/landmarkRole.js +0 -4
  460. package/dist/_virtual/linkRole.js +0 -4
  461. package/dist/_virtual/listRole.js +0 -4
  462. package/dist/_virtual/listboxRole.js +0 -4
  463. package/dist/_virtual/listitemRole.js +0 -4
  464. package/dist/_virtual/logRole.js +0 -4
  465. package/dist/_virtual/lz-string.js +0 -7
  466. package/dist/_virtual/lz-string2.js +0 -4
  467. package/dist/_virtual/mainRole.js +0 -4
  468. package/dist/_virtual/markup.js +0 -4
  469. package/dist/_virtual/marqueeRole.js +0 -4
  470. package/dist/_virtual/mathRole.js +0 -4
  471. package/dist/_virtual/menuRole.js +0 -4
  472. package/dist/_virtual/menubarRole.js +0 -4
  473. package/dist/_virtual/menuitemRole.js +0 -4
  474. package/dist/_virtual/menuitemcheckboxRole.js +0 -4
  475. package/dist/_virtual/menuitemradioRole.js +0 -4
  476. package/dist/_virtual/meterRole.js +0 -4
  477. package/dist/_virtual/navigationRole.js +0 -4
  478. package/dist/_virtual/noneRole.js +0 -4
  479. package/dist/_virtual/noteRole.js +0 -4
  480. package/dist/_virtual/optionRole.js +0 -4
  481. package/dist/_virtual/paragraphRole.js +0 -4
  482. package/dist/_virtual/presentationRole.js +0 -4
  483. package/dist/_virtual/progressbarRole.js +0 -4
  484. package/dist/_virtual/radioRole.js +0 -4
  485. package/dist/_virtual/radiogroupRole.js +0 -4
  486. package/dist/_virtual/rangeRole.js +0 -4
  487. package/dist/_virtual/regionRole.js +0 -4
  488. package/dist/_virtual/roleElementMap.js +0 -4
  489. package/dist/_virtual/rolesMap.js +0 -4
  490. package/dist/_virtual/roletypeRole.js +0 -4
  491. package/dist/_virtual/rowRole.js +0 -4
  492. package/dist/_virtual/rowgroupRole.js +0 -4
  493. package/dist/_virtual/rowheaderRole.js +0 -4
  494. package/dist/_virtual/scrollbarRole.js +0 -4
  495. package/dist/_virtual/searchRole.js +0 -4
  496. package/dist/_virtual/searchboxRole.js +0 -4
  497. package/dist/_virtual/sectionRole.js +0 -4
  498. package/dist/_virtual/sectionheadRole.js +0 -4
  499. package/dist/_virtual/selectRole.js +0 -4
  500. package/dist/_virtual/separatorRole.js +0 -4
  501. package/dist/_virtual/sliderRole.js +0 -4
  502. package/dist/_virtual/spinbuttonRole.js +0 -4
  503. package/dist/_virtual/statusRole.js +0 -4
  504. package/dist/_virtual/strongRole.js +0 -4
  505. package/dist/_virtual/structureRole.js +0 -4
  506. package/dist/_virtual/subscriptRole.js +0 -4
  507. package/dist/_virtual/superscriptRole.js +0 -4
  508. package/dist/_virtual/switchRole.js +0 -4
  509. package/dist/_virtual/tabRole.js +0 -4
  510. package/dist/_virtual/tableRole.js +0 -4
  511. package/dist/_virtual/tablistRole.js +0 -4
  512. package/dist/_virtual/tabpanelRole.js +0 -4
  513. package/dist/_virtual/termRole.js +0 -4
  514. package/dist/_virtual/textboxRole.js +0 -4
  515. package/dist/_virtual/timeRole.js +0 -4
  516. package/dist/_virtual/timerRole.js +0 -4
  517. package/dist/_virtual/toolbarRole.js +0 -4
  518. package/dist/_virtual/tooltipRole.js +0 -4
  519. package/dist/_virtual/treeRole.js +0 -4
  520. package/dist/_virtual/treegridRole.js +0 -4
  521. package/dist/_virtual/treeitemRole.js +0 -4
  522. package/dist/_virtual/widgetRole.js +0 -4
  523. package/dist/_virtual/windowRole.js +0 -4
  524. package/dist/components/Avatar/assets/user-avatar.svg.js +0 -5
  525. package/dist/components/Button/Button.style.js +0 -10
  526. package/dist/components/Navigation/Directory/Directory.js +0 -17
  527. package/dist/components/Navigation/Directory/Directory.style.js +0 -16
  528. package/dist/components/Navigation/Directory/MenuItem/MenuItem.js +0 -45
  529. package/dist/components/Navigation/Navigation.js +0 -15
  530. package/dist/components/Navigation/Navigation.style.js +0 -7
  531. package/dist/hooks/useLocationToGetCurrentMenuItem.js +0 -13
  532. package/dist/hooks/useSearchQueryParams.js +0 -13
  533. package/dist/node_modules/.pnpm/@testing-library_dom@9.3.4/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js +0 -2034
  534. package/dist/node_modules/.pnpm/@testing-library_react@14.3.1_@types_react@18.3.24_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +0 -186
  535. package/dist/node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js +0 -13
  536. package/dist/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js +0 -110
  537. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/ariaPropsMap.js +0 -240
  538. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/domMap.js +0 -389
  539. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/elementRoleMap.js +0 -155
  540. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +0 -32
  541. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +0 -30
  542. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +0 -34
  543. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +0 -27
  544. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +0 -31
  545. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +0 -60
  546. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +0 -42
  547. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +0 -27
  548. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +0 -29
  549. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +0 -27
  550. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +0 -27
  551. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +0 -29
  552. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +0 -29
  553. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +0 -56
  554. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +0 -20
  555. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +0 -99
  556. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +0 -38
  557. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +0 -38
  558. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +0 -38
  559. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +0 -38
  560. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +0 -35
  561. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +0 -38
  562. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +0 -38
  563. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +0 -35
  564. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +0 -38
  565. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +0 -38
  566. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +0 -38
  567. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +0 -38
  568. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +0 -38
  569. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +0 -38
  570. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +0 -38
  571. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +0 -38
  572. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +0 -38
  573. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +0 -38
  574. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +0 -38
  575. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +0 -38
  576. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +0 -33
  577. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +0 -38
  578. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +0 -38
  579. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +0 -38
  580. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +0 -35
  581. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +0 -38
  582. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +0 -38
  583. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +0 -35
  584. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +0 -38
  585. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +0 -37
  586. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +0 -38
  587. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +0 -38
  588. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +0 -38
  589. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +0 -38
  590. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +0 -32
  591. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +0 -38
  592. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +0 -38
  593. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +0 -38
  594. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +0 -38
  595. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +0 -48
  596. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +0 -52
  597. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +0 -33
  598. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/alertRole.js +0 -35
  599. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +0 -32
  600. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +0 -38
  601. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/articleRole.js +0 -35
  602. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +0 -33
  603. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +0 -27
  604. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +0 -109
  605. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +0 -27
  606. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +0 -38
  607. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +0 -50
  608. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +0 -27
  609. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +0 -38
  610. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +0 -140
  611. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +0 -32
  612. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +0 -33
  613. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +0 -32
  614. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +0 -27
  615. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +0 -32
  616. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +0 -29
  617. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +0 -36
  618. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +0 -27
  619. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/feedRole.js +0 -27
  620. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/figureRole.js +0 -32
  621. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/formRole.js +0 -54
  622. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +0 -37
  623. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +0 -39
  624. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +0 -45
  625. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +0 -45
  626. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/headingRole.js +0 -61
  627. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/imgRole.js +0 -50
  628. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +0 -27
  629. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +0 -55
  630. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/listRole.js +0 -42
  631. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +0 -78
  632. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +0 -42
  633. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/logRole.js +0 -29
  634. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/mainRole.js +0 -32
  635. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +0 -27
  636. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/mathRole.js +0 -32
  637. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/menuRole.js +0 -49
  638. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +0 -34
  639. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +0 -53
  640. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +0 -34
  641. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +0 -34
  642. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +0 -33
  643. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +0 -32
  644. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/noneRole.js +0 -27
  645. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/noteRole.js +0 -27
  646. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/optionRole.js +0 -49
  647. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +0 -27
  648. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +0 -27
  649. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +0 -39
  650. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/radioRole.js +0 -42
  651. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +0 -37
  652. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +0 -54
  653. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/rowRole.js +0 -40
  654. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +0 -42
  655. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +0 -47
  656. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +0 -36
  657. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/searchRole.js +0 -27
  658. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +0 -39
  659. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +0 -39
  660. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +0 -47
  661. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +0 -43
  662. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/statusRole.js +0 -35
  663. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +0 -27
  664. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +0 -27
  665. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +0 -27
  666. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/switchRole.js +0 -34
  667. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/tabRole.js +0 -34
  668. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/tableRole.js +0 -35
  669. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +0 -36
  670. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +0 -27
  671. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/termRole.js +0 -37
  672. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +0 -107
  673. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +0 -27
  674. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/timerRole.js +0 -27
  675. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +0 -34
  676. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +0 -27
  677. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/treeRole.js +0 -33
  678. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +0 -27
  679. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +0 -32
  680. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/index.js +0 -30
  681. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/roleElementMap.js +0 -149
  682. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/rolesMap.js +0 -170
  683. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/util/iterationDecorator.js +0 -30
  684. package/dist/node_modules/.pnpm/aria-query@5.1.3/node_modules/aria-query/lib/util/iteratorProxy.js +0 -33
  685. package/dist/node_modules/.pnpm/array-buffer-byte-length@1.0.2/node_modules/array-buffer-byte-length/index.js +0 -14
  686. package/dist/node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js +0 -16
  687. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js +0 -14
  688. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js +0 -15
  689. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js +0 -7
  690. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js +0 -7
  691. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js +0 -18
  692. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js +0 -7
  693. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js +0 -15
  694. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js +0 -22
  695. package/dist/node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js +0 -21
  696. package/dist/node_modules/.pnpm/deep-equal@2.2.3/node_modules/deep-equal/index.js +0 -186
  697. package/dist/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js +0 -39
  698. package/dist/node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js +0 -29
  699. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-description.js +0 -63
  700. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js +0 -271
  701. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name.js +0 -12
  702. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/getRole.js +0 -168
  703. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/SetLike.js +0 -85
  704. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/array.from.js +0 -24
  705. package/dist/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/util.js +0 -82
  706. package/dist/node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +0 -29
  707. package/dist/node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js +0 -16
  708. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js +0 -7
  709. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js +0 -7
  710. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js +0 -7
  711. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js +0 -7
  712. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js +0 -7
  713. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js +0 -7
  714. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js +0 -7
  715. package/dist/node_modules/.pnpm/es-get-iterator@1.1.3/node_modules/es-get-iterator/index.js +0 -108
  716. package/dist/node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js +0 -7
  717. package/dist/node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js +0 -28
  718. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js +0 -48
  719. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js +0 -11
  720. package/dist/node_modules/.pnpm/functions-have-names@1.2.3/node_modules/functions-have-names/index.js +0 -30
  721. package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +0 -265
  722. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js +0 -11
  723. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -7
  724. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js +0 -21
  725. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js +0 -7
  726. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js +0 -17
  727. package/dist/node_modules/.pnpm/has-bigints@1.1.0/node_modules/has-bigints/index.js +0 -12
  728. package/dist/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js +0 -21
  729. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js +0 -13
  730. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js +0 -33
  731. package/dist/node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js +0 -13
  732. package/dist/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js +0 -11
  733. package/dist/node_modules/.pnpm/internal-slot@1.1.0/node_modules/internal-slot/index.js +0 -56
  734. package/dist/node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js +0 -18
  735. package/dist/node_modules/.pnpm/is-array-buffer@3.0.5/node_modules/is-array-buffer/index.js +0 -25
  736. package/dist/node_modules/.pnpm/is-bigint@1.1.0/node_modules/is-bigint/index.js +0 -27
  737. package/dist/node_modules/.pnpm/is-boolean-object@1.2.2/node_modules/is-boolean-object/index.js +0 -20
  738. package/dist/node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js +0 -75
  739. package/dist/node_modules/.pnpm/is-date-object@1.1.0/node_modules/is-date-object/index.js +0 -20
  740. package/dist/node_modules/.pnpm/is-map@2.0.3/node_modules/is-map/index.js +0 -30
  741. package/dist/node_modules/.pnpm/is-number-object@1.1.1/node_modules/is-number-object/index.js +0 -20
  742. package/dist/node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js +0 -51
  743. package/dist/node_modules/.pnpm/is-set@2.0.3/node_modules/is-set/index.js +0 -30
  744. package/dist/node_modules/.pnpm/is-shared-array-buffer@1.0.4/node_modules/is-shared-array-buffer/index.js +0 -21
  745. package/dist/node_modules/.pnpm/is-string@1.1.1/node_modules/is-string/index.js +0 -20
  746. package/dist/node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js +0 -33
  747. package/dist/node_modules/.pnpm/is-weakmap@2.0.2/node_modules/is-weakmap/index.js +0 -30
  748. package/dist/node_modules/.pnpm/is-weakset@2.0.4/node_modules/is-weakset/index.js +0 -34
  749. package/dist/node_modules/.pnpm/isarray@2.0.5/node_modules/isarray/index.js +0 -12
  750. package/dist/node_modules/.pnpm/lz-string@1.5.0/node_modules/lz-string/libs/lz-string.js +0 -202
  751. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +0 -7
  752. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +0 -7
  753. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js +0 -9
  754. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +0 -7
  755. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +0 -7
  756. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +0 -7
  757. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js +0 -7
  758. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js +0 -13
  759. package/dist/node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js +0 -376
  760. package/dist/node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/implementation.js +0 -14
  761. package/dist/node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/index.js +0 -19
  762. package/dist/node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js +0 -13
  763. package/dist/node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/shim.js +0 -19
  764. package/dist/node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js +0 -92
  765. package/dist/node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js +0 -26
  766. package/dist/node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js +0 -13
  767. package/dist/node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/implementation.js +0 -36
  768. package/dist/node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/index.js +0 -21
  769. package/dist/node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/polyfill.js +0 -32
  770. package/dist/node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/shim.js +0 -21
  771. package/dist/node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js +0 -20
  772. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/collections.js +0 -79
  773. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.js +0 -279
  774. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +0 -41
  775. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ConvertAnsi.js +0 -70
  776. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMCollection.js +0 -39
  777. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMElement.js +0 -71
  778. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/Immutable.js +0 -118
  779. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactElement.js +0 -99
  780. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactTestComponent.js +0 -48
  781. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +0 -15
  782. package/dist/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/markup.js +0 -50
  783. package/dist/node_modules/.pnpm/regexp.prototype.flags@1.5.4/node_modules/regexp.prototype.flags/implementation.js +0 -17
  784. package/dist/node_modules/.pnpm/regexp.prototype.flags@1.5.4/node_modules/regexp.prototype.flags/index.js +0 -19
  785. package/dist/node_modules/.pnpm/regexp.prototype.flags@1.5.4/node_modules/regexp.prototype.flags/polyfill.js +0 -30
  786. package/dist/node_modules/.pnpm/regexp.prototype.flags@1.5.4/node_modules/regexp.prototype.flags/shim.js +0 -24
  787. package/dist/node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js +0 -19
  788. package/dist/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js +0 -38
  789. package/dist/node_modules/.pnpm/set-function-name@2.0.2/node_modules/set-function-name/index.js +0 -31
  790. package/dist/node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js +0 -64
  791. package/dist/node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js +0 -40
  792. package/dist/node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js +0 -43
  793. package/dist/node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js +0 -35
  794. package/dist/node_modules/.pnpm/stop-iteration-iterator@1.1.0/node_modules/stop-iteration-iterator/index.js +0 -45
  795. package/dist/node_modules/.pnpm/which-boxed-primitive@1.1.1/node_modules/which-boxed-primitive/index.js +0 -28
  796. package/dist/node_modules/.pnpm/which-collection@1.0.2/node_modules/which-collection/index.js +0 -26
  797. package/dist/node_modules/.pnpm/which-typed-array@1.1.19/node_modules/which-typed-array/index.js +0 -81
  798. package/dist/src/components/Button/Button.style.d.ts +0 -6
  799. package/dist/src/components/Navigation/Directory/Directory.d.ts +0 -5
  800. package/dist/src/components/Navigation/Directory/Directory.style.d.ts +0 -10
  801. package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.d.ts +0 -11
  802. package/dist/src/components/Navigation/Directory/index.d.ts +0 -1
  803. package/dist/src/components/Navigation/Navigation.d.ts +0 -14
  804. package/dist/src/components/Navigation/Navigation.style.d.ts +0 -2
  805. package/dist/src/components/Navigation/Navigation.test.d.ts +0 -1
  806. package/dist/src/components/Navigation/index.d.ts +0 -3
  807. package/dist/src/components/Navigation/types.d.ts +0 -12
  808. package/dist/src/components/Select/storyUtils.d.ts +0 -5
  809. package/dist/src/components/TabStepper/constants.d.ts +0 -2
  810. package/dist/src/components/Tabs/constants.d.ts +0 -17
  811. package/dist/src/components/Tooltip/utils.d.ts +0 -3
  812. package/dist/src/hooks/__tests__/useSearchQueryParams.test.d.ts +0 -1
  813. package/dist/src/hooks/index.d.ts +0 -1
  814. package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.d.ts +0 -6
  815. package/dist/src/hooks/useLocationToGetCurrentMenuItem.d.ts +0 -4
  816. package/dist/src/hooks/useSearchQueryParams.d.ts +0 -2
  817. package/dist/utils/common.js +0 -6
  818. package/dist/vanilla/assets/src/vanilla/Table/TableRow.css.ts.vanilla-CZN81sTW.css +0 -10
  819. package/src/components/Avatar/assets/user-avatar.svg +0 -4
  820. package/src/components/Button/Button.style.ts +0 -10
  821. package/src/components/Navigation/Directory/Directory.style.ts +0 -123
  822. package/src/components/Navigation/Directory/Directory.tsx +0 -36
  823. package/src/components/Navigation/Directory/MenuItem/MenuItem.tsx +0 -115
  824. package/src/components/Navigation/Directory/index.ts +0 -1
  825. package/src/components/Navigation/Navigation.style.ts +0 -22
  826. package/src/components/Navigation/Navigation.test.tsx +0 -53
  827. package/src/components/Navigation/Navigation.tsx +0 -37
  828. package/src/components/Navigation/index.ts +0 -3
  829. package/src/components/Navigation/types.ts +0 -17
  830. package/src/components/Select/storyUtils.ts +0 -48
  831. package/src/components/TabStepper/constants.tsx +0 -46
  832. package/src/components/Tabs/constants.tsx +0 -54
  833. package/src/components/Tooltip/utils.ts +0 -11
  834. package/src/hooks/__tests__/useSearchQueryParams.test.ts +0 -29
  835. package/src/hooks/index.ts +0 -1
  836. package/src/hooks/storyUtils/DemoUseSearchQueryParams.tsx +0 -30
  837. package/src/hooks/useLocationToGetCurrentMenuItem.ts +0 -29
  838. package/src/hooks/useSearchQueryParams.ts +0 -16
@@ -1,2034 +0,0 @@
1
- import { b as Se } from "../../../../../../../../_virtual/index.js";
2
- import { computeAccessibleDescription as Ce } from "../../../../../../dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-description.js";
3
- import { computeAccessibleName as ce } from "../../../../../../dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name.js";
4
- import { l as A } from "../../../../../../../../_virtual/index2.js";
5
- import Ze from "../../../../../../../../_virtual/lz-string.js";
6
- function De(e) {
7
- return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
8
- }
9
- const _e = (e, t, n, l, r, o, i) => {
10
- const a = l + n.indent, u = n.colors;
11
- return e.map((s) => {
12
- const c = t[s];
13
- let f = i(c, n, a, r, o);
14
- return typeof c != "string" && (f.indexOf(`
15
- `) !== -1 && (f = n.spacingOuter + a + f + n.spacingOuter + l), f = "{" + f + "}"), n.spacingInner + l + u.prop.open + s + u.prop.close + "=" + u.value.open + f + u.value.close;
16
- }).join("");
17
- }, et = 3, tt = (e, t, n, l, r, o) => e.map((i) => {
18
- const a = typeof i == "string" ? qe(i, t) : o(i, t, n, l, r);
19
- return a === "" && typeof i == "object" && i !== null && i.nodeType !== et ? "" : t.spacingOuter + n + a;
20
- }).join(""), qe = (e, t) => {
21
- const n = t.colors.content;
22
- return n.open + De(e) + n.close;
23
- }, nt = (e, t) => {
24
- const n = t.colors.comment;
25
- return n.open + "<!--" + De(e) + "-->" + n.close;
26
- }, rt = (e, t, n, l, r) => {
27
- const o = l.colors.tag;
28
- return o.open + "<" + e + (t && o.close + t + l.spacingOuter + r + o.open) + (n ? ">" + o.close + n + l.spacingOuter + r + o.open + "</" + e : (t && !l.min ? "" : " ") + "/") + ">" + o.close;
29
- }, lt = (e, t) => {
30
- const n = t.colors.tag;
31
- return n.open + "<" + e + n.close + " …" + n.open + " />" + n.close;
32
- }, ot = 1, Me = 3, Oe = 8, Pe = 11, it = /^((HTML|SVG)\w*)?Element$/, at = (e) => {
33
- const t = e.constructor.name, {
34
- nodeType: n,
35
- tagName: l
36
- } = e, r = typeof l == "string" && l.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is");
37
- return n === ot && (it.test(t) || r) || n === Me && t === "Text" || n === Oe && t === "Comment" || n === Pe && t === "DocumentFragment";
38
- };
39
- function ut(e) {
40
- return e.nodeType === Me;
41
- }
42
- function st(e) {
43
- return e.nodeType === Oe;
44
- }
45
- function Y(e) {
46
- return e.nodeType === Pe;
47
- }
48
- function ct(e) {
49
- return {
50
- test: (t) => {
51
- var n;
52
- return (t == null || (n = t.constructor) == null ? void 0 : n.name) && at(t);
53
- },
54
- serialize: (t, n, l, r, o, i) => {
55
- if (ut(t))
56
- return qe(t.data, n);
57
- if (st(t))
58
- return nt(t.data, n);
59
- const a = Y(t) ? "DocumentFragment" : t.tagName.toLowerCase();
60
- return ++r > n.maxDepth ? lt(a, n) : rt(a, _e(Y(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), Y(t) ? {} : Array.from(t.attributes).reduce((u, s) => (u[s.name] = s.value, u), {}), n, l + n.indent, r, o, i), tt(Array.prototype.slice.call(t.childNodes || t.children).filter(e), n, l + n.indent, r, o, i), n, l);
61
- }
62
- };
63
- }
64
- let Le = null, fe = null, de = null;
65
- try {
66
- const e = module && module.require;
67
- fe = e.call(module, "fs").readFileSync, de = e.call(module, "@babel/code-frame").codeFrameColumns, Le = e.call(module, "chalk");
68
- } catch {
69
- }
70
- function ft(e) {
71
- const t = e.indexOf("(") + 1, n = e.indexOf(")"), l = e.slice(t, n), r = l.split(":"), [o, i, a] = [r[0], parseInt(r[1], 10), parseInt(r[2], 10)];
72
- let u = "";
73
- try {
74
- u = fe(o, "utf-8");
75
- } catch {
76
- return "";
77
- }
78
- const s = de(u, {
79
- start: {
80
- line: i,
81
- column: a
82
- }
83
- }, {
84
- highlightCode: !0,
85
- linesBelow: 0
86
- });
87
- return Le.dim(l) + `
88
- ` + s + `
89
- `;
90
- }
91
- function dt() {
92
- if (!fe || !de)
93
- return "";
94
- const t = new Error().stack.split(`
95
- `).slice(1).find((n) => !n.includes("node_modules/"));
96
- return ft(t);
97
- }
98
- const Ne = 3;
99
- function Z() {
100
- return typeof jest < "u" && jest !== null ? (
101
- // legacy timers
102
- setTimeout._isMockFunction === !0 || // modern timers
103
- // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
104
- Object.prototype.hasOwnProperty.call(setTimeout, "clock")
105
- ) : !1;
106
- }
107
- function be() {
108
- if (typeof window > "u")
109
- throw new Error("Could not find default container");
110
- return window.document;
111
- }
112
- function ke(e) {
113
- if (e.defaultView)
114
- return e.defaultView;
115
- if (e.ownerDocument && e.ownerDocument.defaultView)
116
- return e.ownerDocument.defaultView;
117
- if (e.window)
118
- return e.window;
119
- throw e.ownerDocument && e.ownerDocument.defaultView === null ? new Error("It looks like the window object is not available for the provided node.") : e.then instanceof Function ? new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e.debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : new Error("The given node is not an Element, the node type is: " + typeof e + ".");
120
- }
121
- function S(e) {
122
- if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function")
123
- throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + t(e) + ".");
124
- function t(n) {
125
- return typeof n == "object" ? n === null ? "null" : n.constructor.name : typeof n;
126
- }
127
- }
128
- const bt = () => {
129
- let e;
130
- try {
131
- var t;
132
- e = JSON.parse((t = process) == null || (t = t.env) == null ? void 0 : t.COLORS);
133
- } catch {
134
- }
135
- return typeof e == "boolean" ? e : typeof process < "u" && process.versions !== void 0 && process.versions.node !== void 0;
136
- }, {
137
- DOMCollection: pt
138
- } = Se.plugins, yt = 1, mt = 8;
139
- function gt(e) {
140
- return e.nodeType !== mt && (e.nodeType !== yt || !e.matches(y().defaultIgnore));
141
- }
142
- function H(e, t, n) {
143
- if (n === void 0 && (n = {}), e || (e = be().body), typeof t != "number" && (t = typeof process < "u" && process.env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
144
- return "";
145
- e.documentElement && (e = e.documentElement);
146
- let l = typeof e;
147
- if (l === "object" ? l = e.constructor.name : e = {}, !("outerHTML" in e))
148
- throw new TypeError("Expected an element or document but got " + l);
149
- const {
150
- filterNode: r = gt,
151
- ...o
152
- } = n, i = Se.format(e, {
153
- plugins: [ct(r), pt],
154
- printFunctionName: !1,
155
- highlight: bt(),
156
- ...o
157
- });
158
- return t !== void 0 && e.outerHTML.length > t ? i.slice(0, t) + "..." : i;
159
- }
160
- const Te = function() {
161
- const e = dt();
162
- console.log(e ? H(...arguments) + `
163
-
164
- ` + e : H(...arguments));
165
- };
166
- let O = {
167
- testIdAttribute: "data-testid",
168
- asyncUtilTimeout: 1e3,
169
- // asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
170
- // forcing react-testing-library to wrap all async functions would've been
171
- // a total nightmare (consider wrapping every findBy* query and then also
172
- // updating `within` so those would be wrapped too. Total nightmare).
173
- // so we have this config option that's really only intended for
174
- // react-testing-library to use. For that reason, this feature will remain
175
- // undocumented.
176
- asyncWrapper: (e) => e(),
177
- unstable_advanceTimersWrapper: (e) => e(),
178
- eventWrapper: (e) => e(),
179
- // default value for the `hidden` option in `ByRole` queries
180
- defaultHidden: !1,
181
- // default value for the `ignore` option in `ByText` queries
182
- defaultIgnore: "script, style",
183
- // showOriginalStackTrace flag to show the full error stack traces for async errors
184
- showOriginalStackTrace: !1,
185
- // throw errors w/ suggestions for better queries. Opt in so off by default.
186
- throwSuggestions: !1,
187
- // called when getBy* queries fail. (message, container) => Error
188
- getElementError(e, t) {
189
- const n = H(t), l = new Error([e, "Ignored nodes: comments, " + O.defaultIgnore + `
190
- ` + n].filter(Boolean).join(`
191
-
192
- `));
193
- return l.name = "TestingLibraryElementError", l;
194
- },
195
- _disableExpensiveErrorDiagnostics: !1,
196
- computedStyleSupportsPseudoElements: !1
197
- };
198
- function Et(e) {
199
- try {
200
- return O._disableExpensiveErrorDiagnostics = !0, e();
201
- } finally {
202
- O._disableExpensiveErrorDiagnostics = !1;
203
- }
204
- }
205
- function pr(e) {
206
- typeof e == "function" && (e = e(O)), O = {
207
- ...O,
208
- ...e
209
- };
210
- }
211
- function y() {
212
- return O;
213
- }
214
- const vt = ["button", "meter", "output", "progress", "select", "textarea", "input"];
215
- function Fe(e) {
216
- return vt.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === Ne ? e.textContent : Array.from(e.childNodes).map((t) => Fe(t)).join("");
217
- }
218
- function ee(e) {
219
- let t;
220
- return e.tagName.toLowerCase() === "label" ? t = Fe(e) : t = e.value || e.textContent, t;
221
- }
222
- function Re(e) {
223
- if (e.labels !== void 0) {
224
- var t;
225
- return (t = e.labels) != null ? t : [];
226
- }
227
- if (!ht(e)) return [];
228
- const n = e.ownerDocument.querySelectorAll("label");
229
- return Array.from(n).filter((l) => l.control === e);
230
- }
231
- function ht(e) {
232
- return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
233
- }
234
- function je(e, t, n) {
235
- let {
236
- selector: l = "*"
237
- } = n === void 0 ? {} : n;
238
- const r = t.getAttribute("aria-labelledby"), o = r ? r.split(" ") : [];
239
- return o.length ? o.map((i) => {
240
- const a = e.querySelector('[id="' + i + '"]');
241
- return a ? {
242
- content: ee(a),
243
- formControl: null
244
- } : {
245
- content: "",
246
- formControl: null
247
- };
248
- }) : Array.from(Re(t)).map((i) => {
249
- const a = ee(i), s = Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((c) => c.matches(l))[0];
250
- return {
251
- content: a,
252
- formControl: s
253
- };
254
- });
255
- }
256
- function We(e) {
257
- if (e == null)
258
- throw new Error(
259
- // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
260
- "It looks like " + e + " was passed instead of a matcher. Did you do something like getByText(" + e + ")?"
261
- );
262
- }
263
- function R(e, t, n, l) {
264
- if (typeof e != "string")
265
- return !1;
266
- We(n);
267
- const r = l(e);
268
- return typeof n == "string" || typeof n == "number" ? r.toLowerCase().includes(n.toString().toLowerCase()) : typeof n == "function" ? n(r, t) : Ue(n, r);
269
- }
270
- function B(e, t, n, l) {
271
- if (typeof e != "string")
272
- return !1;
273
- We(n);
274
- const r = l(e);
275
- return n instanceof Function ? n(r, t) : n instanceof RegExp ? Ue(n, r) : r === String(n);
276
- }
277
- function ze(e) {
278
- let {
279
- trim: t = !0,
280
- collapseWhitespace: n = !0
281
- } = e === void 0 ? {} : e;
282
- return (l) => {
283
- let r = l;
284
- return r = t ? r.trim() : r, r = n ? r.replace(/\s+/g, " ") : r, r;
285
- };
286
- }
287
- function L(e) {
288
- let {
289
- trim: t,
290
- collapseWhitespace: n,
291
- normalizer: l
292
- } = e;
293
- if (!l)
294
- return ze({
295
- trim: t,
296
- collapseWhitespace: n
297
- });
298
- if (typeof t < "u" || typeof n < "u")
299
- throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
300
- return l;
301
- }
302
- function Ue(e, t) {
303
- const n = e.test(t);
304
- return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), n;
305
- }
306
- function X(e) {
307
- return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType === Ne && !!t.textContent).map((t) => t.textContent).join("");
308
- }
309
- const Tt = At(A.elementRoles);
310
- function Ve(e) {
311
- return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
312
- }
313
- function pe(e, t) {
314
- t === void 0 && (t = {});
315
- const {
316
- isSubtreeInaccessible: n = Ve
317
- } = t;
318
- if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden")
319
- return !0;
320
- let r = e;
321
- for (; r; ) {
322
- if (n(r))
323
- return !0;
324
- r = r.parentElement;
325
- }
326
- return !1;
327
- }
328
- function ye(e) {
329
- for (const {
330
- match: t,
331
- roles: n
332
- } of Tt)
333
- if (t(e))
334
- return [...n];
335
- return [];
336
- }
337
- function At(e) {
338
- function t(i) {
339
- let {
340
- name: a,
341
- attributes: u
342
- } = i;
343
- return "" + a + u.map((s) => {
344
- let {
345
- name: c,
346
- value: f,
347
- constraints: d = []
348
- } = s;
349
- return d.indexOf("undefined") !== -1 ? ":not([" + c + "])" : f ? "[" + c + '="' + f + '"]' : "[" + c + "]";
350
- }).join("");
351
- }
352
- function n(i) {
353
- let {
354
- attributes: a = []
355
- } = i;
356
- return a.length;
357
- }
358
- function l(i, a) {
359
- let {
360
- specificity: u
361
- } = i, {
362
- specificity: s
363
- } = a;
364
- return s - u;
365
- }
366
- function r(i) {
367
- let {
368
- attributes: a = []
369
- } = i;
370
- const u = a.findIndex((c) => c.value && c.name === "type" && c.value === "text");
371
- u >= 0 && (a = [...a.slice(0, u), ...a.slice(u + 1)]);
372
- const s = t({
373
- ...i,
374
- attributes: a
375
- });
376
- return (c) => u >= 0 && c.type !== "text" ? !1 : c.matches(s);
377
- }
378
- let o = [];
379
- for (const [i, a] of e.entries())
380
- o = [...o, {
381
- match: r(i),
382
- roles: Array.from(a),
383
- specificity: n(i)
384
- }];
385
- return o.sort(l);
386
- }
387
- function wt(e, t) {
388
- let {
389
- hidden: n = !1
390
- } = t === void 0 ? {} : t;
391
- function l(r) {
392
- return [r, ...Array.from(r.children).reduce((o, i) => [...o, ...l(i)], [])];
393
- }
394
- return l(e).filter((r) => n === !1 ? pe(r) === !1 : !0).reduce((r, o) => {
395
- let i = [];
396
- return o.hasAttribute("role") ? i = o.getAttribute("role").split(" ").slice(0, 1) : i = ye(o), i.reduce((a, u) => Array.isArray(a[u]) ? {
397
- ...a,
398
- [u]: [...a[u], o]
399
- } : {
400
- ...a,
401
- [u]: [o]
402
- }, r);
403
- }, {});
404
- }
405
- function It(e, t) {
406
- let {
407
- hidden: n,
408
- includeDescription: l
409
- } = t;
410
- const r = wt(e, {
411
- hidden: n
412
- });
413
- return Object.entries(r).filter((o) => {
414
- let [i] = o;
415
- return i !== "generic";
416
- }).map((o) => {
417
- let [i, a] = o;
418
- const u = "-".repeat(50), s = a.map((c) => {
419
- const f = 'Name "' + ce(c, {
420
- computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
421
- }) + `":
422
- `, d = H(c.cloneNode(!1));
423
- if (l) {
424
- const v = 'Description "' + Ce(c, {
425
- computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
426
- }) + `":
427
- `;
428
- return "" + f + v + d;
429
- }
430
- return "" + f + d;
431
- }).join(`
432
-
433
- `);
434
- return i + `:
435
-
436
- ` + s + `
437
-
438
- ` + u;
439
- }).join(`
440
- `);
441
- }
442
- function xt(e) {
443
- return e.tagName === "OPTION" ? e.selected : z(e, "aria-selected");
444
- }
445
- function Bt(e) {
446
- return e.getAttribute("aria-busy") === "true";
447
- }
448
- function St(e) {
449
- if (!("indeterminate" in e && e.indeterminate))
450
- return "checked" in e ? e.checked : z(e, "aria-checked");
451
- }
452
- function Ct(e) {
453
- return z(e, "aria-pressed");
454
- }
455
- function Dt(e) {
456
- var t, n;
457
- return (t = (n = z(e, "aria-current")) != null ? n : e.getAttribute("aria-current")) != null ? t : !1;
458
- }
459
- function qt(e) {
460
- return z(e, "aria-expanded");
461
- }
462
- function z(e, t) {
463
- const n = e.getAttribute(t);
464
- if (n === "true")
465
- return !0;
466
- if (n === "false")
467
- return !1;
468
- }
469
- function Mt(e) {
470
- const t = {
471
- H1: 1,
472
- H2: 2,
473
- H3: 3,
474
- H4: 4,
475
- H5: 5,
476
- H6: 6
477
- };
478
- return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
479
- }
480
- function Ot(e) {
481
- const t = e.getAttribute("aria-valuenow");
482
- return t === null ? void 0 : +t;
483
- }
484
- function Pt(e) {
485
- const t = e.getAttribute("aria-valuemax");
486
- return t === null ? void 0 : +t;
487
- }
488
- function Lt(e) {
489
- const t = e.getAttribute("aria-valuemin");
490
- return t === null ? void 0 : +t;
491
- }
492
- function Nt(e) {
493
- const t = e.getAttribute("aria-valuetext");
494
- return t === null ? void 0 : t;
495
- }
496
- const Ae = ze();
497
- function kt(e) {
498
- return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
499
- }
500
- function we(e) {
501
- return new RegExp(kt(e.toLowerCase()), "i");
502
- }
503
- function C(e, t, n, l) {
504
- let {
505
- variant: r,
506
- name: o
507
- } = l, i = "";
508
- const a = {}, u = [["Role", "TestId"].includes(e) ? n : we(n)];
509
- o && (a.name = we(o)), e === "Role" && pe(t) && (a.hidden = !0, i = `Element is inaccessible. This means that the element and all its children are invisible to screen readers.
510
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
511
- `), Object.keys(a).length > 0 && u.push(a);
512
- const s = r + "By" + e;
513
- return {
514
- queryName: e,
515
- queryMethod: s,
516
- queryArgs: u,
517
- variant: r,
518
- warning: i,
519
- toString() {
520
- i && console.warn(i);
521
- let [c, f] = u;
522
- return c = typeof c == "string" ? "'" + c + "'" : c, f = f ? ", { " + Object.entries(f).map((d) => {
523
- let [v, g] = d;
524
- return v + ": " + g;
525
- }).join(", ") + " }" : "", s + "(" + c + f + ")";
526
- }
527
- };
528
- }
529
- function D(e, t, n) {
530
- return n && !0;
531
- }
532
- function te(e, t, n) {
533
- var l, r;
534
- if (t === void 0 && (t = "get"), e.matches(y().defaultIgnore))
535
- return;
536
- const o = (l = e.getAttribute("role")) != null ? l : (r = ye(e)) == null ? void 0 : r[0];
537
- if (o !== "generic" && D("Role", n, o))
538
- return C("Role", e, o, {
539
- variant: t,
540
- name: ce(e, {
541
- computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
542
- })
543
- });
544
- const i = je(document, e).map((d) => d.content).join(" ");
545
- if (D("LabelText", n, i))
546
- return C("LabelText", e, i, {
547
- variant: t
548
- });
549
- const a = e.getAttribute("placeholder");
550
- if (D("PlaceholderText", n, a))
551
- return C("PlaceholderText", e, a, {
552
- variant: t
553
- });
554
- const u = Ae(X(e));
555
- if (D("Text", n, u))
556
- return C("Text", e, u, {
557
- variant: t
558
- });
559
- if (D("DisplayValue", n, e.value))
560
- return C("DisplayValue", e, Ae(e.value), {
561
- variant: t
562
- });
563
- const s = e.getAttribute("alt");
564
- if (D("AltText", n, s))
565
- return C("AltText", e, s, {
566
- variant: t
567
- });
568
- const c = e.getAttribute("title");
569
- if (D("Title", n, c))
570
- return C("Title", e, c, {
571
- variant: t
572
- });
573
- const f = e.getAttribute(y().testIdAttribute);
574
- if (D("TestId", n, f))
575
- return C("TestId", e, f, {
576
- variant: t
577
- });
578
- }
579
- function V(e, t) {
580
- e.stack = t.stack.replace(t.message, e.message);
581
- }
582
- function Ft(e, t) {
583
- let {
584
- container: n = be(),
585
- timeout: l = y().asyncUtilTimeout,
586
- showOriginalStackTrace: r = y().showOriginalStackTrace,
587
- stackTraceError: o,
588
- interval: i = 50,
589
- onTimeout: a = (s) => (Object.defineProperty(s, "message", {
590
- value: y().getElementError(s.message, n).message
591
- }), s),
592
- mutationObserverOptions: u = {
593
- subtree: !0,
594
- childList: !0,
595
- attributes: !0,
596
- characterData: !0
597
- }
598
- } = t;
599
- if (typeof e != "function")
600
- throw new TypeError("Received `callback` arg must be a function");
601
- return new Promise(async (s, c) => {
602
- let f, d, v, g = !1, b = "idle";
603
- const h = setTimeout(U, l), E = Z();
604
- if (E) {
605
- const {
606
- unstable_advanceTimersWrapper: m
607
- } = y();
608
- for (q(); !g; ) {
609
- if (!Z()) {
610
- const T = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
611
- r || V(T, o), c(T);
612
- return;
613
- }
614
- if (await m(async () => {
615
- jest.advanceTimersByTime(i);
616
- }), g)
617
- break;
618
- q();
619
- }
620
- } else {
621
- try {
622
- S(n);
623
- } catch (T) {
624
- c(T);
625
- return;
626
- }
627
- d = setInterval(j, i);
628
- const {
629
- MutationObserver: m
630
- } = ke(n);
631
- v = new m(j), v.observe(n, u), q();
632
- }
633
- function x(m, T) {
634
- g = !0, clearTimeout(h), E || (clearInterval(d), v.disconnect()), m ? c(m) : s(T);
635
- }
636
- function j() {
637
- if (Z()) {
638
- const m = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
639
- return r || V(m, o), c(m);
640
- } else
641
- return q();
642
- }
643
- function q() {
644
- if (b !== "pending")
645
- try {
646
- const m = Et(e);
647
- typeof m?.then == "function" ? (b = "pending", m.then((T) => {
648
- b = "resolved", x(null, T);
649
- }, (T) => {
650
- b = "rejected", f = T;
651
- })) : x(null, m);
652
- } catch (m) {
653
- f = m;
654
- }
655
- }
656
- function U() {
657
- let m;
658
- f ? (m = f, !r && m.name === "TestingLibraryElementError" && V(m, o)) : (m = new Error("Timed out in waitFor."), r || V(m, o)), x(a(m), null);
659
- }
660
- });
661
- }
662
- function Rt(e, t) {
663
- const n = new Error("STACK_TRACE_MESSAGE");
664
- return y().asyncWrapper(() => Ft(e, {
665
- stackTraceError: n,
666
- ...t
667
- }));
668
- }
669
- function He(e, t) {
670
- return y().getElementError(e, t);
671
- }
672
- function jt(e, t) {
673
- return He(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", t);
674
- }
675
- function J(e, t, n, l) {
676
- let {
677
- exact: r = !0,
678
- collapseWhitespace: o,
679
- trim: i,
680
- normalizer: a
681
- } = l === void 0 ? {} : l;
682
- const u = r ? B : R, s = L({
683
- collapseWhitespace: o,
684
- trim: i,
685
- normalizer: a
686
- });
687
- return Array.from(t.querySelectorAll("[" + e + "]")).filter((c) => u(c.getAttribute(e), c, n, s));
688
- }
689
- function $(e, t) {
690
- return function(n) {
691
- for (var l = arguments.length, r = new Array(l > 1 ? l - 1 : 0), o = 1; o < l; o++)
692
- r[o - 1] = arguments[o];
693
- const i = e(n, ...r);
694
- if (i.length > 1) {
695
- const a = i.map((u) => He(null, u).message).join(`
696
-
697
- `);
698
- throw jt(t(n, ...r) + `
699
-
700
- Here are the matching elements:
701
-
702
- ` + a, n);
703
- }
704
- return i[0] || null;
705
- };
706
- }
707
- function $e(e, t) {
708
- return y().getElementError(`A better query is available, try this:
709
- ` + e.toString() + `
710
- `, t);
711
- }
712
- function Wt(e, t) {
713
- return function(n) {
714
- for (var l = arguments.length, r = new Array(l > 1 ? l - 1 : 0), o = 1; o < l; o++)
715
- r[o - 1] = arguments[o];
716
- const i = e(n, ...r);
717
- if (!i.length)
718
- throw y().getElementError(t(n, ...r), n);
719
- return i;
720
- };
721
- }
722
- function G(e) {
723
- return (t, n, l, r) => Rt(() => e(t, n, l), {
724
- container: t,
725
- ...r
726
- });
727
- }
728
- const F = (e, t, n) => function(l) {
729
- for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
730
- o[i - 1] = arguments[i];
731
- const a = e(l, ...o), [{
732
- suggest: u = y().throwSuggestions
733
- } = {}] = o.slice(-1);
734
- if (a && u) {
735
- const s = te(a, n);
736
- if (s && !t.endsWith(s.queryName))
737
- throw $e(s.toString(), l);
738
- }
739
- return a;
740
- }, w = (e, t, n) => function(l) {
741
- for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
742
- o[i - 1] = arguments[i];
743
- const a = e(l, ...o), [{
744
- suggest: u = y().throwSuggestions
745
- } = {}] = o.slice(-1);
746
- if (a.length && u) {
747
- const s = [...new Set(a.map((c) => {
748
- var f;
749
- return (f = te(c, n)) == null ? void 0 : f.toString();
750
- }))];
751
- if (
752
- // only want to suggest if all the els have the same suggestion.
753
- s.length === 1 && !t.endsWith(
754
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
755
- te(a[0], n).queryName
756
- )
757
- )
758
- throw $e(s[0], l);
759
- }
760
- return a;
761
- };
762
- function N(e, t, n) {
763
- const l = F($(e, t), e.name, "query"), r = Wt(e, n), o = $(r, t), i = F(o, e.name, "get"), a = w(r, e.name.replace("query", "get"), "getAll"), u = G(w(r, e.name, "findAll")), s = G(F(o, e.name, "find"));
764
- return [l, a, i, u, s];
765
- }
766
- function zt(e) {
767
- return Array.from(e.querySelectorAll("label,input")).map((t) => ({
768
- node: t,
769
- textToMatch: ee(t)
770
- })).filter((t) => {
771
- let {
772
- textToMatch: n
773
- } = t;
774
- return n !== null;
775
- });
776
- }
777
- const Ut = function(e, t, n) {
778
- let {
779
- exact: l = !0,
780
- trim: r,
781
- collapseWhitespace: o,
782
- normalizer: i
783
- } = n === void 0 ? {} : n;
784
- const a = l ? B : R, u = L({
785
- collapseWhitespace: o,
786
- trim: r,
787
- normalizer: i
788
- });
789
- return zt(e).filter((c) => {
790
- let {
791
- node: f,
792
- textToMatch: d
793
- } = c;
794
- return a(d, f, t, u);
795
- }).map((c) => {
796
- let {
797
- node: f
798
- } = c;
799
- return f;
800
- });
801
- }, W = function(e, t, n) {
802
- let {
803
- selector: l = "*",
804
- exact: r = !0,
805
- collapseWhitespace: o,
806
- trim: i,
807
- normalizer: a
808
- } = n === void 0 ? {} : n;
809
- S(e);
810
- const u = r ? B : R, s = L({
811
- collapseWhitespace: o,
812
- trim: i,
813
- normalizer: a
814
- }), c = Array.from(e.querySelectorAll("*")).filter((f) => Re(f).length || f.hasAttribute("aria-labelledby")).reduce((f, d) => {
815
- const v = je(e, d, {
816
- selector: l
817
- });
818
- v.filter((b) => !!b.formControl).forEach((b) => {
819
- u(b.content, b.formControl, t, s) && b.formControl && f.push(b.formControl);
820
- });
821
- const g = v.filter((b) => !!b.content).map((b) => b.content);
822
- return u(g.join(" "), d, t, s) && f.push(d), g.length > 1 && g.forEach((b, h) => {
823
- u(b, d, t, s) && f.push(d);
824
- const E = [...g];
825
- E.splice(h, 1), E.length > 1 && u(E.join(" "), d, t, s) && f.push(d);
826
- }), f;
827
- }, []).concat(J("aria-label", e, t, {
828
- exact: r,
829
- normalizer: s
830
- }));
831
- return Array.from(new Set(c)).filter((f) => f.matches(l));
832
- }, P = function(e, t) {
833
- for (var n = arguments.length, l = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
834
- l[r - 2] = arguments[r];
835
- const o = W(e, t, ...l);
836
- if (!o.length) {
837
- const i = Ut(e, t, ...l);
838
- if (i.length) {
839
- const a = i.map((u) => Vt(e, u)).filter((u) => !!u);
840
- throw a.length ? y().getElementError(a.map((u) => "Found a label with the text of: " + t + ", however the element associated with this label (<" + u + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + u + " />, you can use aria-label or aria-labelledby instead.").join(`
841
-
842
- `), e) : y().getElementError("Found a label with the text of: " + t + `, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e);
843
- } else
844
- throw y().getElementError("Unable to find a label with the text of: " + t, e);
845
- }
846
- return o;
847
- };
848
- function Vt(e, t) {
849
- const n = t.getAttribute("for");
850
- if (!n)
851
- return null;
852
- const l = e.querySelector('[id="' + n + '"]');
853
- return l ? l.tagName.toLowerCase() : null;
854
- }
855
- const Ge = (e, t) => "Found multiple elements with the text of: " + t, Ht = F($(W, Ge), W.name, "query"), Qe = $(P, Ge), $t = G(w(P, P.name, "findAll")), Gt = G(F(Qe, P.name, "find")), Qt = w(P, P.name, "getAll"), Xt = F(Qe, P.name, "get"), Jt = w(W, W.name, "queryAll"), ne = function() {
856
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
857
- t[n] = arguments[n];
858
- return S(t[0]), J("placeholder", ...t);
859
- }, Kt = (e, t) => "Found multiple elements with the placeholder text of: " + t, Yt = (e, t) => "Unable to find an element with the placeholder text of: " + t, Zt = w(ne, ne.name, "queryAll"), [_t, en, tn, nn, rn] = N(ne, Kt, Yt), re = function(e, t, n) {
860
- let {
861
- selector: l = "*",
862
- exact: r = !0,
863
- collapseWhitespace: o,
864
- trim: i,
865
- ignore: a = y().defaultIgnore,
866
- normalizer: u
867
- } = n === void 0 ? {} : n;
868
- S(e);
869
- const s = r ? B : R, c = L({
870
- collapseWhitespace: o,
871
- trim: i,
872
- normalizer: u
873
- });
874
- let f = [];
875
- return typeof e.matches == "function" && e.matches(l) && (f = [e]), [...f, ...Array.from(e.querySelectorAll(l))].filter((d) => !a || !d.matches(a)).filter((d) => s(X(d), d, t, c));
876
- }, ln = (e, t) => "Found multiple elements with the text: " + t, on = function(e, t, n) {
877
- n === void 0 && (n = {});
878
- const {
879
- collapseWhitespace: l,
880
- trim: r,
881
- normalizer: o,
882
- selector: i
883
- } = n, u = L({
884
- collapseWhitespace: l,
885
- trim: r,
886
- normalizer: o
887
- })(t.toString()), s = u !== t.toString(), c = (i ?? "*") !== "*";
888
- return "Unable to find an element with the text: " + (s ? u + " (normalized from '" + t + "')" : t) + (c ? ", which matches selector '" + i + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
889
- }, an = w(re, re.name, "queryAll"), [un, sn, cn, fn, dn] = N(re, ln, on), le = function(e, t, n) {
890
- let {
891
- exact: l = !0,
892
- collapseWhitespace: r,
893
- trim: o,
894
- normalizer: i
895
- } = n === void 0 ? {} : n;
896
- S(e);
897
- const a = l ? B : R, u = L({
898
- collapseWhitespace: r,
899
- trim: o,
900
- normalizer: i
901
- });
902
- return Array.from(e.querySelectorAll("input,textarea,select")).filter((s) => s.tagName === "SELECT" ? Array.from(s.options).filter((f) => f.selected).some((f) => a(X(f), f, t, u)) : a(s.value, s, t, u));
903
- }, bn = (e, t) => "Found multiple elements with the display value: " + t + ".", pn = (e, t) => "Unable to find an element with the display value: " + t + ".", yn = w(le, le.name, "queryAll"), [mn, gn, En, vn, hn] = N(le, bn, pn), Tn = /^(img|input|area|.+-.+)$/i, oe = function(e, t, n) {
904
- return n === void 0 && (n = {}), S(e), J("alt", e, t, n).filter((l) => Tn.test(l.tagName));
905
- }, An = (e, t) => "Found multiple elements with the alt text: " + t, wn = (e, t) => "Unable to find an element with the alt text: " + t, In = w(oe, oe.name, "queryAll"), [xn, Bn, Sn, Cn, Dn] = N(oe, An, wn), qn = (e) => {
906
- var t;
907
- return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
908
- }, ie = function(e, t, n) {
909
- let {
910
- exact: l = !0,
911
- collapseWhitespace: r,
912
- trim: o,
913
- normalizer: i
914
- } = n === void 0 ? {} : n;
915
- S(e);
916
- const a = l ? B : R, u = L({
917
- collapseWhitespace: r,
918
- trim: o,
919
- normalizer: i
920
- });
921
- return Array.from(e.querySelectorAll("[title], svg > title")).filter((s) => a(s.getAttribute("title"), s, t, u) || qn(s) && a(X(s), s, t, u));
922
- }, Mn = (e, t) => "Found multiple elements with the title: " + t + ".", On = (e, t) => "Unable to find an element with the title: " + t + ".", Pn = w(ie, ie.name, "queryAll"), [Ln, Nn, kn, Fn, Rn] = N(ie, Mn, On), ae = function(e, t, n) {
923
- let {
924
- hidden: l = y().defaultHidden,
925
- name: r,
926
- description: o,
927
- queryFallbacks: i = !1,
928
- selected: a,
929
- busy: u,
930
- checked: s,
931
- pressed: c,
932
- current: f,
933
- level: d,
934
- expanded: v,
935
- value: {
936
- now: g,
937
- min: b,
938
- max: h,
939
- text: E
940
- } = {}
941
- } = n === void 0 ? {} : n;
942
- if (S(e), a !== void 0) {
943
- var x;
944
- if (((x = A.roles.get(t)) == null ? void 0 : x.props["aria-selected"]) === void 0)
945
- throw new Error('"aria-selected" is not supported on role "' + t + '".');
946
- }
947
- if (u !== void 0) {
948
- var j;
949
- if (((j = A.roles.get(t)) == null ? void 0 : j.props["aria-busy"]) === void 0)
950
- throw new Error('"aria-busy" is not supported on role "' + t + '".');
951
- }
952
- if (s !== void 0) {
953
- var q;
954
- if (((q = A.roles.get(t)) == null ? void 0 : q.props["aria-checked"]) === void 0)
955
- throw new Error('"aria-checked" is not supported on role "' + t + '".');
956
- }
957
- if (c !== void 0) {
958
- var U;
959
- if (((U = A.roles.get(t)) == null ? void 0 : U.props["aria-pressed"]) === void 0)
960
- throw new Error('"aria-pressed" is not supported on role "' + t + '".');
961
- }
962
- if (f !== void 0) {
963
- var m;
964
- if (((m = A.roles.get(t)) == null ? void 0 : m.props["aria-current"]) === void 0)
965
- throw new Error('"aria-current" is not supported on role "' + t + '".');
966
- }
967
- if (d !== void 0 && t !== "heading")
968
- throw new Error('Role "' + t + '" cannot have "level" property.');
969
- if (g !== void 0) {
970
- var T;
971
- if (((T = A.roles.get(t)) == null ? void 0 : T.props["aria-valuenow"]) === void 0)
972
- throw new Error('"aria-valuenow" is not supported on role "' + t + '".');
973
- }
974
- if (h !== void 0) {
975
- var ge;
976
- if (((ge = A.roles.get(t)) == null ? void 0 : ge.props["aria-valuemax"]) === void 0)
977
- throw new Error('"aria-valuemax" is not supported on role "' + t + '".');
978
- }
979
- if (b !== void 0) {
980
- var Ee;
981
- if (((Ee = A.roles.get(t)) == null ? void 0 : Ee.props["aria-valuemin"]) === void 0)
982
- throw new Error('"aria-valuemin" is not supported on role "' + t + '".');
983
- }
984
- if (E !== void 0) {
985
- var ve;
986
- if (((ve = A.roles.get(t)) == null ? void 0 : ve.props["aria-valuetext"]) === void 0)
987
- throw new Error('"aria-valuetext" is not supported on role "' + t + '".');
988
- }
989
- if (v !== void 0) {
990
- var he;
991
- if (((he = A.roles.get(t)) == null ? void 0 : he.props["aria-expanded"]) === void 0)
992
- throw new Error('"aria-expanded" is not supported on role "' + t + '".');
993
- }
994
- const K = /* @__PURE__ */ new WeakMap();
995
- function Je(p) {
996
- return K.has(p) || K.set(p, Ve(p)), K.get(p);
997
- }
998
- return Array.from(e.querySelectorAll(
999
- // Only query elements that can be matched by the following filters
1000
- jn(t)
1001
- )).filter((p) => {
1002
- if (p.hasAttribute("role")) {
1003
- const k = p.getAttribute("role");
1004
- if (i)
1005
- return k.split(" ").filter(Boolean).some((Ye) => Ye === t);
1006
- const [Ke] = k.split(" ");
1007
- return Ke === t;
1008
- }
1009
- return ye(p).some((k) => k === t);
1010
- }).filter((p) => {
1011
- if (a !== void 0)
1012
- return a === xt(p);
1013
- if (u !== void 0)
1014
- return u === Bt(p);
1015
- if (s !== void 0)
1016
- return s === St(p);
1017
- if (c !== void 0)
1018
- return c === Ct(p);
1019
- if (f !== void 0)
1020
- return f === Dt(p);
1021
- if (v !== void 0)
1022
- return v === qt(p);
1023
- if (d !== void 0)
1024
- return d === Mt(p);
1025
- if (g !== void 0 || h !== void 0 || b !== void 0 || E !== void 0) {
1026
- let I = !0;
1027
- if (g !== void 0 && I && (I = g === Ot(p)), h !== void 0 && I && (I = h === Pt(p)), b !== void 0 && I && (I = b === Lt(p)), E !== void 0) {
1028
- var M;
1029
- I && (I = B((M = Nt(p)) != null ? M : null, p, E, (k) => k));
1030
- }
1031
- return I;
1032
- }
1033
- return !0;
1034
- }).filter((p) => r === void 0 ? !0 : B(ce(p, {
1035
- computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
1036
- }), p, r, (M) => M)).filter((p) => o === void 0 ? !0 : B(Ce(p, {
1037
- computedStyleSupportsPseudoElements: y().computedStyleSupportsPseudoElements
1038
- }), p, o, (M) => M)).filter((p) => l === !1 ? pe(p, {
1039
- isSubtreeInaccessible: Je
1040
- }) === !1 : !0);
1041
- };
1042
- function jn(e) {
1043
- var t;
1044
- const n = '*[role~="' + e + '"]', l = (t = A.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), r = new Set(Array.from(l).map((o) => {
1045
- let {
1046
- name: i
1047
- } = o;
1048
- return i;
1049
- }));
1050
- return [n].concat(Array.from(r)).join(",");
1051
- }
1052
- const Xe = (e) => {
1053
- let t = "";
1054
- return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
1055
- }, Wn = function(e, t, n) {
1056
- let {
1057
- name: l
1058
- } = n === void 0 ? {} : n;
1059
- return 'Found multiple elements with the role "' + t + '"' + Xe(l);
1060
- }, zn = function(e, t, n) {
1061
- let {
1062
- hidden: l = y().defaultHidden,
1063
- name: r,
1064
- description: o
1065
- } = n === void 0 ? {} : n;
1066
- if (y()._disableExpensiveErrorDiagnostics)
1067
- return 'Unable to find role="' + t + '"' + Xe(r);
1068
- let i = "";
1069
- Array.from(e.children).forEach((c) => {
1070
- i += It(c, {
1071
- hidden: l,
1072
- includeDescription: o !== void 0
1073
- });
1074
- });
1075
- let a;
1076
- i.length === 0 ? l === !1 ? a = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" : a = "There are no available roles." : a = (`
1077
- Here are the ` + (l === !1 ? "accessible" : "available") + ` roles:
1078
-
1079
- ` + i.replace(/\n/g, `
1080
- `).replace(/\n\s\s\n/g, `
1081
-
1082
- `) + `
1083
- `).trim();
1084
- let u = "";
1085
- r === void 0 ? u = "" : typeof r == "string" ? u = ' and name "' + r + '"' : u = " and name `" + r + "`";
1086
- let s = "";
1087
- return o === void 0 ? s = "" : typeof o == "string" ? s = ' and description "' + o + '"' : s = " and description `" + o + "`", (`
1088
- Unable to find an ` + (l === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + u + s + `
1089
-
1090
- ` + a).trim();
1091
- }, Un = w(ae, ae.name, "queryAll"), [Vn, Hn, $n, Gn, Qn] = N(ae, Wn, zn), me = () => y().testIdAttribute, ue = function() {
1092
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1093
- t[n] = arguments[n];
1094
- return S(t[0]), J(me(), ...t);
1095
- }, Xn = (e, t) => "Found multiple elements by: [" + me() + '="' + t + '"]', Jn = (e, t) => "Unable to find an element by: [" + me() + '="' + t + '"]', Kn = w(ue, ue.name, "queryAll"), [Yn, Zn, _n, er, tr] = N(ue, Xn, Jn);
1096
- var se = /* @__PURE__ */ Object.freeze({
1097
- __proto__: null,
1098
- queryAllByLabelText: Jt,
1099
- queryByLabelText: Ht,
1100
- getAllByLabelText: Qt,
1101
- getByLabelText: Xt,
1102
- findAllByLabelText: $t,
1103
- findByLabelText: Gt,
1104
- queryByPlaceholderText: _t,
1105
- queryAllByPlaceholderText: Zt,
1106
- getByPlaceholderText: tn,
1107
- getAllByPlaceholderText: en,
1108
- findAllByPlaceholderText: nn,
1109
- findByPlaceholderText: rn,
1110
- queryByText: un,
1111
- queryAllByText: an,
1112
- getByText: cn,
1113
- getAllByText: sn,
1114
- findAllByText: fn,
1115
- findByText: dn,
1116
- queryByDisplayValue: mn,
1117
- queryAllByDisplayValue: yn,
1118
- getByDisplayValue: En,
1119
- getAllByDisplayValue: gn,
1120
- findAllByDisplayValue: vn,
1121
- findByDisplayValue: hn,
1122
- queryByAltText: xn,
1123
- queryAllByAltText: In,
1124
- getByAltText: Sn,
1125
- getAllByAltText: Bn,
1126
- findAllByAltText: Cn,
1127
- findByAltText: Dn,
1128
- queryByTitle: Ln,
1129
- queryAllByTitle: Pn,
1130
- getByTitle: kn,
1131
- getAllByTitle: Nn,
1132
- findAllByTitle: Fn,
1133
- findByTitle: Rn,
1134
- queryByRole: Vn,
1135
- queryAllByRole: Un,
1136
- getAllByRole: Hn,
1137
- getByRole: $n,
1138
- findAllByRole: Gn,
1139
- findByRole: Qn,
1140
- queryByTestId: Yn,
1141
- queryAllByTestId: Kn,
1142
- getByTestId: _n,
1143
- getAllByTestId: Zn,
1144
- findAllByTestId: er,
1145
- findByTestId: tr
1146
- });
1147
- function nr(e, t, n) {
1148
- return t === void 0 && (t = se), n === void 0 && (n = {}), Object.keys(t).reduce((l, r) => {
1149
- const o = t[r];
1150
- return l[r] = o.bind(null, e), l;
1151
- }, n);
1152
- }
1153
- const Ie = {
1154
- // Clipboard Events
1155
- copy: {
1156
- EventType: "ClipboardEvent",
1157
- defaultInit: {
1158
- bubbles: !0,
1159
- cancelable: !0,
1160
- composed: !0
1161
- }
1162
- },
1163
- cut: {
1164
- EventType: "ClipboardEvent",
1165
- defaultInit: {
1166
- bubbles: !0,
1167
- cancelable: !0,
1168
- composed: !0
1169
- }
1170
- },
1171
- paste: {
1172
- EventType: "ClipboardEvent",
1173
- defaultInit: {
1174
- bubbles: !0,
1175
- cancelable: !0,
1176
- composed: !0
1177
- }
1178
- },
1179
- // Composition Events
1180
- compositionEnd: {
1181
- EventType: "CompositionEvent",
1182
- defaultInit: {
1183
- bubbles: !0,
1184
- cancelable: !0,
1185
- composed: !0
1186
- }
1187
- },
1188
- compositionStart: {
1189
- EventType: "CompositionEvent",
1190
- defaultInit: {
1191
- bubbles: !0,
1192
- cancelable: !0,
1193
- composed: !0
1194
- }
1195
- },
1196
- compositionUpdate: {
1197
- EventType: "CompositionEvent",
1198
- defaultInit: {
1199
- bubbles: !0,
1200
- cancelable: !0,
1201
- composed: !0
1202
- }
1203
- },
1204
- // Keyboard Events
1205
- keyDown: {
1206
- EventType: "KeyboardEvent",
1207
- defaultInit: {
1208
- bubbles: !0,
1209
- cancelable: !0,
1210
- charCode: 0,
1211
- composed: !0
1212
- }
1213
- },
1214
- keyPress: {
1215
- EventType: "KeyboardEvent",
1216
- defaultInit: {
1217
- bubbles: !0,
1218
- cancelable: !0,
1219
- charCode: 0,
1220
- composed: !0
1221
- }
1222
- },
1223
- keyUp: {
1224
- EventType: "KeyboardEvent",
1225
- defaultInit: {
1226
- bubbles: !0,
1227
- cancelable: !0,
1228
- charCode: 0,
1229
- composed: !0
1230
- }
1231
- },
1232
- // Focus Events
1233
- focus: {
1234
- EventType: "FocusEvent",
1235
- defaultInit: {
1236
- bubbles: !1,
1237
- cancelable: !1,
1238
- composed: !0
1239
- }
1240
- },
1241
- blur: {
1242
- EventType: "FocusEvent",
1243
- defaultInit: {
1244
- bubbles: !1,
1245
- cancelable: !1,
1246
- composed: !0
1247
- }
1248
- },
1249
- focusIn: {
1250
- EventType: "FocusEvent",
1251
- defaultInit: {
1252
- bubbles: !0,
1253
- cancelable: !1,
1254
- composed: !0
1255
- }
1256
- },
1257
- focusOut: {
1258
- EventType: "FocusEvent",
1259
- defaultInit: {
1260
- bubbles: !0,
1261
- cancelable: !1,
1262
- composed: !0
1263
- }
1264
- },
1265
- // Form Events
1266
- change: {
1267
- EventType: "Event",
1268
- defaultInit: {
1269
- bubbles: !0,
1270
- cancelable: !1
1271
- }
1272
- },
1273
- input: {
1274
- EventType: "InputEvent",
1275
- defaultInit: {
1276
- bubbles: !0,
1277
- cancelable: !1,
1278
- composed: !0
1279
- }
1280
- },
1281
- invalid: {
1282
- EventType: "Event",
1283
- defaultInit: {
1284
- bubbles: !1,
1285
- cancelable: !0
1286
- }
1287
- },
1288
- submit: {
1289
- EventType: "Event",
1290
- defaultInit: {
1291
- bubbles: !0,
1292
- cancelable: !0
1293
- }
1294
- },
1295
- reset: {
1296
- EventType: "Event",
1297
- defaultInit: {
1298
- bubbles: !0,
1299
- cancelable: !0
1300
- }
1301
- },
1302
- // Mouse Events
1303
- click: {
1304
- EventType: "MouseEvent",
1305
- defaultInit: {
1306
- bubbles: !0,
1307
- cancelable: !0,
1308
- button: 0,
1309
- composed: !0
1310
- }
1311
- },
1312
- contextMenu: {
1313
- EventType: "MouseEvent",
1314
- defaultInit: {
1315
- bubbles: !0,
1316
- cancelable: !0,
1317
- composed: !0
1318
- }
1319
- },
1320
- dblClick: {
1321
- EventType: "MouseEvent",
1322
- defaultInit: {
1323
- bubbles: !0,
1324
- cancelable: !0,
1325
- composed: !0
1326
- }
1327
- },
1328
- drag: {
1329
- EventType: "DragEvent",
1330
- defaultInit: {
1331
- bubbles: !0,
1332
- cancelable: !0,
1333
- composed: !0
1334
- }
1335
- },
1336
- dragEnd: {
1337
- EventType: "DragEvent",
1338
- defaultInit: {
1339
- bubbles: !0,
1340
- cancelable: !1,
1341
- composed: !0
1342
- }
1343
- },
1344
- dragEnter: {
1345
- EventType: "DragEvent",
1346
- defaultInit: {
1347
- bubbles: !0,
1348
- cancelable: !0,
1349
- composed: !0
1350
- }
1351
- },
1352
- dragExit: {
1353
- EventType: "DragEvent",
1354
- defaultInit: {
1355
- bubbles: !0,
1356
- cancelable: !1,
1357
- composed: !0
1358
- }
1359
- },
1360
- dragLeave: {
1361
- EventType: "DragEvent",
1362
- defaultInit: {
1363
- bubbles: !0,
1364
- cancelable: !1,
1365
- composed: !0
1366
- }
1367
- },
1368
- dragOver: {
1369
- EventType: "DragEvent",
1370
- defaultInit: {
1371
- bubbles: !0,
1372
- cancelable: !0,
1373
- composed: !0
1374
- }
1375
- },
1376
- dragStart: {
1377
- EventType: "DragEvent",
1378
- defaultInit: {
1379
- bubbles: !0,
1380
- cancelable: !0,
1381
- composed: !0
1382
- }
1383
- },
1384
- drop: {
1385
- EventType: "DragEvent",
1386
- defaultInit: {
1387
- bubbles: !0,
1388
- cancelable: !0,
1389
- composed: !0
1390
- }
1391
- },
1392
- mouseDown: {
1393
- EventType: "MouseEvent",
1394
- defaultInit: {
1395
- bubbles: !0,
1396
- cancelable: !0,
1397
- composed: !0
1398
- }
1399
- },
1400
- mouseEnter: {
1401
- EventType: "MouseEvent",
1402
- defaultInit: {
1403
- bubbles: !1,
1404
- cancelable: !1,
1405
- composed: !0
1406
- }
1407
- },
1408
- mouseLeave: {
1409
- EventType: "MouseEvent",
1410
- defaultInit: {
1411
- bubbles: !1,
1412
- cancelable: !1,
1413
- composed: !0
1414
- }
1415
- },
1416
- mouseMove: {
1417
- EventType: "MouseEvent",
1418
- defaultInit: {
1419
- bubbles: !0,
1420
- cancelable: !0,
1421
- composed: !0
1422
- }
1423
- },
1424
- mouseOut: {
1425
- EventType: "MouseEvent",
1426
- defaultInit: {
1427
- bubbles: !0,
1428
- cancelable: !0,
1429
- composed: !0
1430
- }
1431
- },
1432
- mouseOver: {
1433
- EventType: "MouseEvent",
1434
- defaultInit: {
1435
- bubbles: !0,
1436
- cancelable: !0,
1437
- composed: !0
1438
- }
1439
- },
1440
- mouseUp: {
1441
- EventType: "MouseEvent",
1442
- defaultInit: {
1443
- bubbles: !0,
1444
- cancelable: !0,
1445
- composed: !0
1446
- }
1447
- },
1448
- // Selection Events
1449
- select: {
1450
- EventType: "Event",
1451
- defaultInit: {
1452
- bubbles: !0,
1453
- cancelable: !1
1454
- }
1455
- },
1456
- // Touch Events
1457
- touchCancel: {
1458
- EventType: "TouchEvent",
1459
- defaultInit: {
1460
- bubbles: !0,
1461
- cancelable: !1,
1462
- composed: !0
1463
- }
1464
- },
1465
- touchEnd: {
1466
- EventType: "TouchEvent",
1467
- defaultInit: {
1468
- bubbles: !0,
1469
- cancelable: !0,
1470
- composed: !0
1471
- }
1472
- },
1473
- touchMove: {
1474
- EventType: "TouchEvent",
1475
- defaultInit: {
1476
- bubbles: !0,
1477
- cancelable: !0,
1478
- composed: !0
1479
- }
1480
- },
1481
- touchStart: {
1482
- EventType: "TouchEvent",
1483
- defaultInit: {
1484
- bubbles: !0,
1485
- cancelable: !0,
1486
- composed: !0
1487
- }
1488
- },
1489
- // UI Events
1490
- resize: {
1491
- EventType: "UIEvent",
1492
- defaultInit: {
1493
- bubbles: !1,
1494
- cancelable: !1
1495
- }
1496
- },
1497
- scroll: {
1498
- EventType: "UIEvent",
1499
- defaultInit: {
1500
- bubbles: !1,
1501
- cancelable: !1
1502
- }
1503
- },
1504
- // Wheel Events
1505
- wheel: {
1506
- EventType: "WheelEvent",
1507
- defaultInit: {
1508
- bubbles: !0,
1509
- cancelable: !0,
1510
- composed: !0
1511
- }
1512
- },
1513
- // Media Events
1514
- abort: {
1515
- EventType: "Event",
1516
- defaultInit: {
1517
- bubbles: !1,
1518
- cancelable: !1
1519
- }
1520
- },
1521
- canPlay: {
1522
- EventType: "Event",
1523
- defaultInit: {
1524
- bubbles: !1,
1525
- cancelable: !1
1526
- }
1527
- },
1528
- canPlayThrough: {
1529
- EventType: "Event",
1530
- defaultInit: {
1531
- bubbles: !1,
1532
- cancelable: !1
1533
- }
1534
- },
1535
- durationChange: {
1536
- EventType: "Event",
1537
- defaultInit: {
1538
- bubbles: !1,
1539
- cancelable: !1
1540
- }
1541
- },
1542
- emptied: {
1543
- EventType: "Event",
1544
- defaultInit: {
1545
- bubbles: !1,
1546
- cancelable: !1
1547
- }
1548
- },
1549
- encrypted: {
1550
- EventType: "Event",
1551
- defaultInit: {
1552
- bubbles: !1,
1553
- cancelable: !1
1554
- }
1555
- },
1556
- ended: {
1557
- EventType: "Event",
1558
- defaultInit: {
1559
- bubbles: !1,
1560
- cancelable: !1
1561
- }
1562
- },
1563
- loadedData: {
1564
- EventType: "Event",
1565
- defaultInit: {
1566
- bubbles: !1,
1567
- cancelable: !1
1568
- }
1569
- },
1570
- loadedMetadata: {
1571
- EventType: "Event",
1572
- defaultInit: {
1573
- bubbles: !1,
1574
- cancelable: !1
1575
- }
1576
- },
1577
- loadStart: {
1578
- EventType: "ProgressEvent",
1579
- defaultInit: {
1580
- bubbles: !1,
1581
- cancelable: !1
1582
- }
1583
- },
1584
- pause: {
1585
- EventType: "Event",
1586
- defaultInit: {
1587
- bubbles: !1,
1588
- cancelable: !1
1589
- }
1590
- },
1591
- play: {
1592
- EventType: "Event",
1593
- defaultInit: {
1594
- bubbles: !1,
1595
- cancelable: !1
1596
- }
1597
- },
1598
- playing: {
1599
- EventType: "Event",
1600
- defaultInit: {
1601
- bubbles: !1,
1602
- cancelable: !1
1603
- }
1604
- },
1605
- progress: {
1606
- EventType: "ProgressEvent",
1607
- defaultInit: {
1608
- bubbles: !1,
1609
- cancelable: !1
1610
- }
1611
- },
1612
- rateChange: {
1613
- EventType: "Event",
1614
- defaultInit: {
1615
- bubbles: !1,
1616
- cancelable: !1
1617
- }
1618
- },
1619
- seeked: {
1620
- EventType: "Event",
1621
- defaultInit: {
1622
- bubbles: !1,
1623
- cancelable: !1
1624
- }
1625
- },
1626
- seeking: {
1627
- EventType: "Event",
1628
- defaultInit: {
1629
- bubbles: !1,
1630
- cancelable: !1
1631
- }
1632
- },
1633
- stalled: {
1634
- EventType: "Event",
1635
- defaultInit: {
1636
- bubbles: !1,
1637
- cancelable: !1
1638
- }
1639
- },
1640
- suspend: {
1641
- EventType: "Event",
1642
- defaultInit: {
1643
- bubbles: !1,
1644
- cancelable: !1
1645
- }
1646
- },
1647
- timeUpdate: {
1648
- EventType: "Event",
1649
- defaultInit: {
1650
- bubbles: !1,
1651
- cancelable: !1
1652
- }
1653
- },
1654
- volumeChange: {
1655
- EventType: "Event",
1656
- defaultInit: {
1657
- bubbles: !1,
1658
- cancelable: !1
1659
- }
1660
- },
1661
- waiting: {
1662
- EventType: "Event",
1663
- defaultInit: {
1664
- bubbles: !1,
1665
- cancelable: !1
1666
- }
1667
- },
1668
- // Events
1669
- load: {
1670
- // TODO: load events can be UIEvent or Event depending on what generated them
1671
- // This is where this abstraction breaks down.
1672
- // But the common targets are <img />, <script /> and window.
1673
- // Neither of these targets receive a UIEvent
1674
- EventType: "Event",
1675
- defaultInit: {
1676
- bubbles: !1,
1677
- cancelable: !1
1678
- }
1679
- },
1680
- error: {
1681
- EventType: "Event",
1682
- defaultInit: {
1683
- bubbles: !1,
1684
- cancelable: !1
1685
- }
1686
- },
1687
- // Animation Events
1688
- animationStart: {
1689
- EventType: "AnimationEvent",
1690
- defaultInit: {
1691
- bubbles: !0,
1692
- cancelable: !1
1693
- }
1694
- },
1695
- animationEnd: {
1696
- EventType: "AnimationEvent",
1697
- defaultInit: {
1698
- bubbles: !0,
1699
- cancelable: !1
1700
- }
1701
- },
1702
- animationIteration: {
1703
- EventType: "AnimationEvent",
1704
- defaultInit: {
1705
- bubbles: !0,
1706
- cancelable: !1
1707
- }
1708
- },
1709
- // Transition Events
1710
- transitionCancel: {
1711
- EventType: "TransitionEvent",
1712
- defaultInit: {
1713
- bubbles: !0,
1714
- cancelable: !1
1715
- }
1716
- },
1717
- transitionEnd: {
1718
- EventType: "TransitionEvent",
1719
- defaultInit: {
1720
- bubbles: !0,
1721
- cancelable: !0
1722
- }
1723
- },
1724
- transitionRun: {
1725
- EventType: "TransitionEvent",
1726
- defaultInit: {
1727
- bubbles: !0,
1728
- cancelable: !1
1729
- }
1730
- },
1731
- transitionStart: {
1732
- EventType: "TransitionEvent",
1733
- defaultInit: {
1734
- bubbles: !0,
1735
- cancelable: !1
1736
- }
1737
- },
1738
- // pointer events
1739
- pointerOver: {
1740
- EventType: "PointerEvent",
1741
- defaultInit: {
1742
- bubbles: !0,
1743
- cancelable: !0,
1744
- composed: !0
1745
- }
1746
- },
1747
- pointerEnter: {
1748
- EventType: "PointerEvent",
1749
- defaultInit: {
1750
- bubbles: !1,
1751
- cancelable: !1
1752
- }
1753
- },
1754
- pointerDown: {
1755
- EventType: "PointerEvent",
1756
- defaultInit: {
1757
- bubbles: !0,
1758
- cancelable: !0,
1759
- composed: !0
1760
- }
1761
- },
1762
- pointerMove: {
1763
- EventType: "PointerEvent",
1764
- defaultInit: {
1765
- bubbles: !0,
1766
- cancelable: !0,
1767
- composed: !0
1768
- }
1769
- },
1770
- pointerUp: {
1771
- EventType: "PointerEvent",
1772
- defaultInit: {
1773
- bubbles: !0,
1774
- cancelable: !0,
1775
- composed: !0
1776
- }
1777
- },
1778
- pointerCancel: {
1779
- EventType: "PointerEvent",
1780
- defaultInit: {
1781
- bubbles: !0,
1782
- cancelable: !1,
1783
- composed: !0
1784
- }
1785
- },
1786
- pointerOut: {
1787
- EventType: "PointerEvent",
1788
- defaultInit: {
1789
- bubbles: !0,
1790
- cancelable: !0,
1791
- composed: !0
1792
- }
1793
- },
1794
- pointerLeave: {
1795
- EventType: "PointerEvent",
1796
- defaultInit: {
1797
- bubbles: !1,
1798
- cancelable: !1
1799
- }
1800
- },
1801
- gotPointerCapture: {
1802
- EventType: "PointerEvent",
1803
- defaultInit: {
1804
- bubbles: !0,
1805
- cancelable: !1,
1806
- composed: !0
1807
- }
1808
- },
1809
- lostPointerCapture: {
1810
- EventType: "PointerEvent",
1811
- defaultInit: {
1812
- bubbles: !0,
1813
- cancelable: !1,
1814
- composed: !0
1815
- }
1816
- },
1817
- // history events
1818
- popState: {
1819
- EventType: "PopStateEvent",
1820
- defaultInit: {
1821
- bubbles: !0,
1822
- cancelable: !1
1823
- }
1824
- },
1825
- // window events
1826
- offline: {
1827
- EventType: "Event",
1828
- defaultInit: {
1829
- bubbles: !1,
1830
- cancelable: !1
1831
- }
1832
- },
1833
- online: {
1834
- EventType: "Event",
1835
- defaultInit: {
1836
- bubbles: !1,
1837
- cancelable: !1
1838
- }
1839
- }
1840
- }, xe = {
1841
- doubleClick: "dblClick"
1842
- };
1843
- function Q(e, t) {
1844
- return y().eventWrapper(() => {
1845
- if (!t)
1846
- throw new Error("Unable to fire an event - please provide an event object.");
1847
- if (!e)
1848
- throw new Error('Unable to fire a "' + t.type + '" event - please provide a DOM element.');
1849
- return e.dispatchEvent(t);
1850
- });
1851
- }
1852
- function _(e, t, n, l) {
1853
- let {
1854
- EventType: r = "Event",
1855
- defaultInit: o = {}
1856
- } = l === void 0 ? {} : l;
1857
- if (!t)
1858
- throw new Error('Unable to fire a "' + e + '" event - please provide a DOM element.');
1859
- const i = {
1860
- ...o,
1861
- ...n
1862
- }, {
1863
- target: {
1864
- value: a,
1865
- files: u,
1866
- ...s
1867
- } = {}
1868
- } = i;
1869
- a !== void 0 && rr(t, a), u !== void 0 && Object.defineProperty(t, "files", {
1870
- configurable: !0,
1871
- enumerable: !0,
1872
- writable: !0,
1873
- value: u
1874
- }), Object.assign(t, s);
1875
- const c = ke(t), f = c[r] || c.Event;
1876
- let d;
1877
- if (typeof f == "function")
1878
- d = new f(e, i);
1879
- else {
1880
- d = c.document.createEvent(r);
1881
- const {
1882
- bubbles: g,
1883
- cancelable: b,
1884
- detail: h,
1885
- ...E
1886
- } = i;
1887
- d.initEvent(e, g, b, h), Object.keys(E).forEach((x) => {
1888
- d[x] = E[x];
1889
- });
1890
- }
1891
- return ["dataTransfer", "clipboardData"].forEach((g) => {
1892
- const b = i[g];
1893
- typeof b == "object" && (typeof c.DataTransfer == "function" ? Object.defineProperty(d, g, {
1894
- value: Object.getOwnPropertyNames(b).reduce((h, E) => (Object.defineProperty(h, E, {
1895
- value: b[E]
1896
- }), h), new c.DataTransfer())
1897
- }) : Object.defineProperty(d, g, {
1898
- value: b
1899
- }));
1900
- }), d;
1901
- }
1902
- Object.keys(Ie).forEach((e) => {
1903
- const {
1904
- EventType: t,
1905
- defaultInit: n
1906
- } = Ie[e], l = e.toLowerCase();
1907
- _[e] = (r, o) => _(l, r, o, {
1908
- EventType: t,
1909
- defaultInit: n
1910
- }), Q[e] = (r, o) => Q(r, _[e](r, o));
1911
- });
1912
- function rr(e, t) {
1913
- const {
1914
- set: n
1915
- } = Object.getOwnPropertyDescriptor(e, "value") || {}, l = Object.getPrototypeOf(e), {
1916
- set: r
1917
- } = Object.getOwnPropertyDescriptor(l, "value") || {};
1918
- if (r && n !== r)
1919
- r.call(e, t);
1920
- else if (n)
1921
- n.call(e, t);
1922
- else
1923
- throw new Error("The given element does not have a value setter");
1924
- }
1925
- Object.keys(xe).forEach((e) => {
1926
- const t = xe[e];
1927
- Q[e] = function() {
1928
- return Q[t](...arguments);
1929
- };
1930
- });
1931
- function lr(e) {
1932
- return e.replace(/[ \t]*[\n][ \t]*/g, `
1933
- `);
1934
- }
1935
- function or(e) {
1936
- return Ze.compressToEncodedURIComponent(lr(e));
1937
- }
1938
- function ir(e) {
1939
- return "https://testing-playground.com/#markup=" + or(e);
1940
- }
1941
- const ar = (e, t, n) => Array.isArray(e) ? e.forEach((l) => Te(l, t, n)) : Te(e, t, n), ur = function(e) {
1942
- if (e === void 0 && (e = be().body), !e || !("innerHTML" in e)) {
1943
- console.log("The element you're providing isn't a valid DOM element.");
1944
- return;
1945
- }
1946
- if (!e.innerHTML) {
1947
- console.log("The provided element doesn't have any children.");
1948
- return;
1949
- }
1950
- const t = ir(e.innerHTML);
1951
- return console.log(`Open this URL in your browser
1952
-
1953
- ` + t), t;
1954
- }, Be = {
1955
- debug: ar,
1956
- logTestingPlaygroundURL: ur
1957
- };
1958
- typeof document < "u" && document.body ? nr(document.body, se, Be) : Object.keys(se).reduce((e, t) => (e[t] = () => {
1959
- throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
1960
- }, e), Be);
1961
- export {
1962
- N as buildQueries,
1963
- pr as configure,
1964
- _ as createEvent,
1965
- Cn as findAllByAltText,
1966
- vn as findAllByDisplayValue,
1967
- $t as findAllByLabelText,
1968
- nn as findAllByPlaceholderText,
1969
- Gn as findAllByRole,
1970
- er as findAllByTestId,
1971
- fn as findAllByText,
1972
- Fn as findAllByTitle,
1973
- Dn as findByAltText,
1974
- hn as findByDisplayValue,
1975
- Gt as findByLabelText,
1976
- rn as findByPlaceholderText,
1977
- Qn as findByRole,
1978
- tr as findByTestId,
1979
- dn as findByText,
1980
- Rn as findByTitle,
1981
- Q as fireEvent,
1982
- Bn as getAllByAltText,
1983
- gn as getAllByDisplayValue,
1984
- Qt as getAllByLabelText,
1985
- en as getAllByPlaceholderText,
1986
- Hn as getAllByRole,
1987
- Zn as getAllByTestId,
1988
- sn as getAllByText,
1989
- Nn as getAllByTitle,
1990
- Sn as getByAltText,
1991
- En as getByDisplayValue,
1992
- Xt as getByLabelText,
1993
- tn as getByPlaceholderText,
1994
- $n as getByRole,
1995
- _n as getByTestId,
1996
- cn as getByText,
1997
- kn as getByTitle,
1998
- y as getConfig,
1999
- ze as getDefaultNormalizer,
2000
- He as getElementError,
2001
- jt as getMultipleElementsFoundError,
2002
- X as getNodeText,
2003
- nr as getQueriesForElement,
2004
- wt as getRoles,
2005
- te as getSuggestedQuery,
2006
- pe as isInaccessible,
2007
- Te as logDOM,
2008
- G as makeFindQuery,
2009
- Wt as makeGetAllQuery,
2010
- $ as makeSingleQuery,
2011
- H as prettyDOM,
2012
- se as queries,
2013
- In as queryAllByAltText,
2014
- J as queryAllByAttribute,
2015
- yn as queryAllByDisplayValue,
2016
- Jt as queryAllByLabelText,
2017
- Zt as queryAllByPlaceholderText,
2018
- Un as queryAllByRole,
2019
- Kn as queryAllByTestId,
2020
- an as queryAllByText,
2021
- Pn as queryAllByTitle,
2022
- xn as queryByAltText,
2023
- mn as queryByDisplayValue,
2024
- Ht as queryByLabelText,
2025
- _t as queryByPlaceholderText,
2026
- Vn as queryByRole,
2027
- Yn as queryByTestId,
2028
- un as queryByText,
2029
- Ln as queryByTitle,
2030
- Rt as waitFor,
2031
- nr as within,
2032
- w as wrapAllByQueryWithSuggestion,
2033
- F as wrapSingleQueryWithSuggestion
2034
- };