armtek-uikit-react 1.0.268 → 1.0.270

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 (996) hide show
  1. package/lib/assets/styles.min.css +1 -5474
  2. package/lib/assets/styles.min.css.map +1 -1
  3. package/lib/cjs/_virtual/AsymmetricMatcher.cjs +4 -0
  4. package/lib/cjs/_virtual/ConvertAnsi.cjs +4 -0
  5. package/lib/cjs/_virtual/DOMCollection.cjs +4 -0
  6. package/lib/cjs/_virtual/DOMElement.cjs +4 -0
  7. package/lib/cjs/_virtual/Immutable.cjs +4 -0
  8. package/lib/cjs/_virtual/ReactElement.cjs +4 -0
  9. package/lib/cjs/_virtual/ReactTestComponent.cjs +4 -0
  10. package/lib/cjs/_virtual/___vite-browser-external.cjs +6 -0
  11. package/lib/cjs/_virtual/__vite-browser-external.cjs +4 -0
  12. package/lib/cjs/_virtual/_commonjsHelpers.cjs +38 -0
  13. package/lib/cjs/_virtual/alertRole.cjs +4 -0
  14. package/lib/cjs/_virtual/alertdialogRole.cjs +4 -0
  15. package/lib/cjs/_virtual/applicationRole.cjs +4 -0
  16. package/lib/cjs/_virtual/ariaAbstractRoles.cjs +4 -0
  17. package/lib/cjs/_virtual/ariaDpubRoles.cjs +4 -0
  18. package/lib/cjs/_virtual/ariaGraphicsRoles.cjs +4 -0
  19. package/lib/cjs/_virtual/ariaLiteralRoles.cjs +4 -0
  20. package/lib/cjs/_virtual/ariaPropsMap.cjs +4 -0
  21. package/lib/cjs/_virtual/articleRole.cjs +4 -0
  22. package/lib/cjs/_virtual/bannerRole.cjs +4 -0
  23. package/lib/cjs/_virtual/blockquoteRole.cjs +4 -0
  24. package/lib/cjs/_virtual/buttonRole.cjs +4 -0
  25. package/lib/cjs/_virtual/captionRole.cjs +4 -0
  26. package/lib/cjs/_virtual/cellRole.cjs +4 -0
  27. package/lib/cjs/_virtual/checkboxRole.cjs +4 -0
  28. package/lib/cjs/_virtual/codeRole.cjs +4 -0
  29. package/lib/cjs/_virtual/collections.cjs +4 -0
  30. package/lib/cjs/_virtual/columnheaderRole.cjs +4 -0
  31. package/lib/cjs/_virtual/comboboxRole.cjs +4 -0
  32. package/lib/cjs/_virtual/commandRole.cjs +4 -0
  33. package/lib/cjs/_virtual/complementaryRole.cjs +4 -0
  34. package/lib/cjs/_virtual/compositeRole.cjs +4 -0
  35. package/lib/cjs/_virtual/contentinfoRole.cjs +4 -0
  36. package/lib/cjs/_virtual/definitionRole.cjs +4 -0
  37. package/lib/cjs/_virtual/deletionRole.cjs +4 -0
  38. package/lib/cjs/_virtual/dialogRole.cjs +4 -0
  39. package/lib/cjs/_virtual/directoryRole.cjs +4 -0
  40. package/lib/cjs/_virtual/docAbstractRole.cjs +4 -0
  41. package/lib/cjs/_virtual/docAcknowledgmentsRole.cjs +4 -0
  42. package/lib/cjs/_virtual/docAfterwordRole.cjs +4 -0
  43. package/lib/cjs/_virtual/docAppendixRole.cjs +4 -0
  44. package/lib/cjs/_virtual/docBacklinkRole.cjs +4 -0
  45. package/lib/cjs/_virtual/docBiblioentryRole.cjs +4 -0
  46. package/lib/cjs/_virtual/docBibliographyRole.cjs +4 -0
  47. package/lib/cjs/_virtual/docBibliorefRole.cjs +4 -0
  48. package/lib/cjs/_virtual/docChapterRole.cjs +4 -0
  49. package/lib/cjs/_virtual/docColophonRole.cjs +4 -0
  50. package/lib/cjs/_virtual/docConclusionRole.cjs +4 -0
  51. package/lib/cjs/_virtual/docCoverRole.cjs +4 -0
  52. package/lib/cjs/_virtual/docCreditRole.cjs +4 -0
  53. package/lib/cjs/_virtual/docCreditsRole.cjs +4 -0
  54. package/lib/cjs/_virtual/docDedicationRole.cjs +4 -0
  55. package/lib/cjs/_virtual/docEndnoteRole.cjs +4 -0
  56. package/lib/cjs/_virtual/docEndnotesRole.cjs +4 -0
  57. package/lib/cjs/_virtual/docEpigraphRole.cjs +4 -0
  58. package/lib/cjs/_virtual/docEpilogueRole.cjs +4 -0
  59. package/lib/cjs/_virtual/docErrataRole.cjs +4 -0
  60. package/lib/cjs/_virtual/docExampleRole.cjs +4 -0
  61. package/lib/cjs/_virtual/docFootnoteRole.cjs +4 -0
  62. package/lib/cjs/_virtual/docForewordRole.cjs +4 -0
  63. package/lib/cjs/_virtual/docGlossaryRole.cjs +4 -0
  64. package/lib/cjs/_virtual/docGlossrefRole.cjs +4 -0
  65. package/lib/cjs/_virtual/docIndexRole.cjs +4 -0
  66. package/lib/cjs/_virtual/docIntroductionRole.cjs +4 -0
  67. package/lib/cjs/_virtual/docNoterefRole.cjs +4 -0
  68. package/lib/cjs/_virtual/docNoticeRole.cjs +4 -0
  69. package/lib/cjs/_virtual/docPagebreakRole.cjs +4 -0
  70. package/lib/cjs/_virtual/docPagelistRole.cjs +4 -0
  71. package/lib/cjs/_virtual/docPartRole.cjs +4 -0
  72. package/lib/cjs/_virtual/docPrefaceRole.cjs +4 -0
  73. package/lib/cjs/_virtual/docPrologueRole.cjs +4 -0
  74. package/lib/cjs/_virtual/docPullquoteRole.cjs +4 -0
  75. package/lib/cjs/_virtual/docQnaRole.cjs +4 -0
  76. package/lib/cjs/_virtual/docSubtitleRole.cjs +4 -0
  77. package/lib/cjs/_virtual/docTipRole.cjs +4 -0
  78. package/lib/cjs/_virtual/docTocRole.cjs +4 -0
  79. package/lib/cjs/_virtual/documentRole.cjs +4 -0
  80. package/lib/cjs/_virtual/domMap.cjs +4 -0
  81. package/lib/cjs/_virtual/elementRoleMap.cjs +4 -0
  82. package/lib/cjs/_virtual/emphasisRole.cjs +4 -0
  83. package/lib/cjs/_virtual/escapeHTML.cjs +4 -0
  84. package/lib/cjs/_virtual/feedRole.cjs +4 -0
  85. package/lib/cjs/_virtual/figureRole.cjs +4 -0
  86. package/lib/cjs/_virtual/formRole.cjs +4 -0
  87. package/lib/cjs/_virtual/genericRole.cjs +4 -0
  88. package/lib/cjs/_virtual/graphicsDocumentRole.cjs +4 -0
  89. package/lib/cjs/_virtual/graphicsObjectRole.cjs +4 -0
  90. package/lib/cjs/_virtual/graphicsSymbolRole.cjs +4 -0
  91. package/lib/cjs/_virtual/gridRole.cjs +4 -0
  92. package/lib/cjs/_virtual/gridcellRole.cjs +4 -0
  93. package/lib/cjs/_virtual/groupRole.cjs +4 -0
  94. package/lib/cjs/_virtual/headingRole.cjs +4 -0
  95. package/lib/cjs/_virtual/imgRole.cjs +4 -0
  96. package/lib/cjs/_virtual/index.cjs +5 -0
  97. package/lib/cjs/_virtual/index10.cjs +4 -0
  98. package/lib/cjs/_virtual/index11.cjs +4 -0
  99. package/lib/cjs/_virtual/index2.cjs +5 -0
  100. package/lib/cjs/_virtual/index3.cjs +4 -0
  101. package/lib/cjs/_virtual/index4.cjs +4 -0
  102. package/lib/cjs/_virtual/index5.cjs +4 -0
  103. package/lib/cjs/_virtual/index6.cjs +4 -0
  104. package/lib/cjs/_virtual/index7.cjs +4 -0
  105. package/lib/cjs/_virtual/index8.cjs +4 -0
  106. package/lib/cjs/_virtual/index9.cjs +4 -0
  107. package/lib/cjs/_virtual/inputRole.cjs +4 -0
  108. package/lib/cjs/_virtual/insertionRole.cjs +4 -0
  109. package/lib/cjs/_virtual/iterationDecorator.cjs +4 -0
  110. package/lib/cjs/_virtual/iteratorProxy.cjs +4 -0
  111. package/lib/cjs/_virtual/landmarkRole.cjs +4 -0
  112. package/lib/cjs/_virtual/linkRole.cjs +4 -0
  113. package/lib/cjs/_virtual/listRole.cjs +4 -0
  114. package/lib/cjs/_virtual/listboxRole.cjs +4 -0
  115. package/lib/cjs/_virtual/listitemRole.cjs +4 -0
  116. package/lib/cjs/_virtual/logRole.cjs +4 -0
  117. package/lib/cjs/_virtual/lz-string.cjs +7 -0
  118. package/lib/cjs/_virtual/lz-string2.cjs +4 -0
  119. package/lib/cjs/_virtual/mainRole.cjs +4 -0
  120. package/lib/cjs/_virtual/markup.cjs +4 -0
  121. package/lib/cjs/_virtual/marqueeRole.cjs +4 -0
  122. package/lib/cjs/_virtual/mathRole.cjs +4 -0
  123. package/lib/cjs/_virtual/menuRole.cjs +4 -0
  124. package/lib/cjs/_virtual/menubarRole.cjs +4 -0
  125. package/lib/cjs/_virtual/menuitemRole.cjs +4 -0
  126. package/lib/cjs/_virtual/menuitemcheckboxRole.cjs +4 -0
  127. package/lib/cjs/_virtual/menuitemradioRole.cjs +4 -0
  128. package/lib/cjs/_virtual/meterRole.cjs +4 -0
  129. package/lib/cjs/_virtual/navigationRole.cjs +4 -0
  130. package/lib/cjs/_virtual/noneRole.cjs +4 -0
  131. package/lib/cjs/_virtual/noteRole.cjs +4 -0
  132. package/lib/cjs/_virtual/optionRole.cjs +4 -0
  133. package/lib/cjs/_virtual/paragraphRole.cjs +4 -0
  134. package/lib/cjs/_virtual/presentationRole.cjs +4 -0
  135. package/lib/cjs/_virtual/progressbarRole.cjs +4 -0
  136. package/lib/cjs/_virtual/radioRole.cjs +4 -0
  137. package/lib/cjs/_virtual/radiogroupRole.cjs +4 -0
  138. package/lib/cjs/_virtual/rangeRole.cjs +4 -0
  139. package/lib/cjs/_virtual/react-is.development.cjs +4 -0
  140. package/lib/cjs/_virtual/react-is.production.min.cjs +4 -0
  141. package/lib/cjs/_virtual/regionRole.cjs +4 -0
  142. package/lib/cjs/_virtual/roleElementMap.cjs +4 -0
  143. package/lib/cjs/_virtual/rolesMap.cjs +4 -0
  144. package/lib/cjs/_virtual/roletypeRole.cjs +4 -0
  145. package/lib/cjs/_virtual/rowRole.cjs +4 -0
  146. package/lib/cjs/_virtual/rowgroupRole.cjs +4 -0
  147. package/lib/cjs/_virtual/rowheaderRole.cjs +4 -0
  148. package/lib/cjs/_virtual/scrollbarRole.cjs +4 -0
  149. package/lib/cjs/_virtual/searchRole.cjs +4 -0
  150. package/lib/cjs/_virtual/searchboxRole.cjs +4 -0
  151. package/lib/cjs/_virtual/sectionRole.cjs +4 -0
  152. package/lib/cjs/_virtual/sectionheadRole.cjs +4 -0
  153. package/lib/cjs/_virtual/selectRole.cjs +4 -0
  154. package/lib/cjs/_virtual/separatorRole.cjs +4 -0
  155. package/lib/cjs/_virtual/sliderRole.cjs +4 -0
  156. package/lib/cjs/_virtual/spinbuttonRole.cjs +4 -0
  157. package/lib/cjs/_virtual/statusRole.cjs +4 -0
  158. package/lib/cjs/_virtual/strongRole.cjs +4 -0
  159. package/lib/cjs/_virtual/structureRole.cjs +4 -0
  160. package/lib/cjs/_virtual/subscriptRole.cjs +4 -0
  161. package/lib/cjs/_virtual/superscriptRole.cjs +4 -0
  162. package/lib/cjs/_virtual/switchRole.cjs +4 -0
  163. package/lib/cjs/_virtual/tabRole.cjs +4 -0
  164. package/lib/cjs/_virtual/tableRole.cjs +4 -0
  165. package/lib/cjs/_virtual/tablistRole.cjs +4 -0
  166. package/lib/cjs/_virtual/tabpanelRole.cjs +4 -0
  167. package/lib/cjs/_virtual/termRole.cjs +4 -0
  168. package/lib/cjs/_virtual/textboxRole.cjs +4 -0
  169. package/lib/cjs/_virtual/timeRole.cjs +4 -0
  170. package/lib/cjs/_virtual/timerRole.cjs +4 -0
  171. package/lib/cjs/_virtual/toolbarRole.cjs +4 -0
  172. package/lib/cjs/_virtual/tooltipRole.cjs +4 -0
  173. package/lib/cjs/_virtual/treeRole.cjs +4 -0
  174. package/lib/cjs/_virtual/treegridRole.cjs +4 -0
  175. package/lib/cjs/_virtual/treeitemRole.cjs +4 -0
  176. package/lib/cjs/_virtual/widgetRole.cjs +4 -0
  177. package/lib/cjs/_virtual/windowRole.cjs +4 -0
  178. package/lib/cjs/lib/helpers/helpers.cjs +2 -2
  179. package/lib/cjs/lib/helpers/helpers.d.ts +1 -1
  180. package/lib/cjs/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.cjs +2504 -0
  181. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.cjs +254 -0
  182. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.cjs +403 -0
  183. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.cjs +188 -0
  184. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.cjs +36 -0
  185. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.cjs +34 -0
  186. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.cjs +38 -0
  187. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.cjs +31 -0
  188. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.cjs +35 -0
  189. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.cjs +64 -0
  190. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.cjs +46 -0
  191. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.cjs +31 -0
  192. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.cjs +33 -0
  193. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.cjs +31 -0
  194. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.cjs +31 -0
  195. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.cjs +33 -0
  196. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.cjs +44 -0
  197. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.cjs +98 -0
  198. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.cjs +26 -0
  199. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.cjs +184 -0
  200. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.cjs +42 -0
  201. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.cjs +42 -0
  202. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.cjs +42 -0
  203. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.cjs +42 -0
  204. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.cjs +39 -0
  205. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.cjs +42 -0
  206. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.cjs +42 -0
  207. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.cjs +39 -0
  208. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.cjs +42 -0
  209. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.cjs +42 -0
  210. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.cjs +42 -0
  211. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.cjs +42 -0
  212. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.cjs +42 -0
  213. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.cjs +42 -0
  214. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.cjs +42 -0
  215. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.cjs +42 -0
  216. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.cjs +42 -0
  217. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.cjs +42 -0
  218. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.cjs +42 -0
  219. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.cjs +42 -0
  220. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.cjs +37 -0
  221. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.cjs +42 -0
  222. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.cjs +42 -0
  223. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.cjs +42 -0
  224. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.cjs +39 -0
  225. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.cjs +42 -0
  226. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.cjs +42 -0
  227. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.cjs +39 -0
  228. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.cjs +42 -0
  229. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.cjs +41 -0
  230. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.cjs +42 -0
  231. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.cjs +42 -0
  232. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.cjs +42 -0
  233. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.cjs +42 -0
  234. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.cjs +36 -0
  235. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.cjs +42 -0
  236. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.cjs +42 -0
  237. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.cjs +42 -0
  238. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.cjs +42 -0
  239. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.cjs +52 -0
  240. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.cjs +56 -0
  241. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.cjs +37 -0
  242. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.cjs +39 -0
  243. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.cjs +36 -0
  244. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.cjs +42 -0
  245. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.cjs +39 -0
  246. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.cjs +37 -0
  247. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.cjs +31 -0
  248. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.cjs +113 -0
  249. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.cjs +31 -0
  250. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.cjs +42 -0
  251. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.cjs +54 -0
  252. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.cjs +31 -0
  253. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.cjs +42 -0
  254. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.cjs +144 -0
  255. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.cjs +36 -0
  256. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.cjs +37 -0
  257. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.cjs +36 -0
  258. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.cjs +31 -0
  259. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.cjs +36 -0
  260. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.cjs +33 -0
  261. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.cjs +40 -0
  262. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.cjs +31 -0
  263. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.cjs +31 -0
  264. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.cjs +36 -0
  265. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.cjs +58 -0
  266. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.cjs +41 -0
  267. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.cjs +43 -0
  268. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.cjs +49 -0
  269. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.cjs +49 -0
  270. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.cjs +65 -0
  271. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.cjs +54 -0
  272. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.cjs +31 -0
  273. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.cjs +59 -0
  274. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.cjs +46 -0
  275. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.cjs +82 -0
  276. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.cjs +46 -0
  277. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.cjs +33 -0
  278. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.cjs +36 -0
  279. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.cjs +31 -0
  280. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.cjs +36 -0
  281. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.cjs +53 -0
  282. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.cjs +38 -0
  283. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.cjs +57 -0
  284. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.cjs +38 -0
  285. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.cjs +38 -0
  286. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.cjs +37 -0
  287. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.cjs +36 -0
  288. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.cjs +31 -0
  289. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.cjs +31 -0
  290. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.cjs +53 -0
  291. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.cjs +31 -0
  292. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.cjs +31 -0
  293. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.cjs +43 -0
  294. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.cjs +46 -0
  295. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.cjs +41 -0
  296. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.cjs +58 -0
  297. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.cjs +44 -0
  298. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.cjs +46 -0
  299. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.cjs +51 -0
  300. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.cjs +40 -0
  301. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.cjs +31 -0
  302. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.cjs +43 -0
  303. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.cjs +43 -0
  304. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.cjs +51 -0
  305. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.cjs +47 -0
  306. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.cjs +39 -0
  307. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.cjs +31 -0
  308. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.cjs +31 -0
  309. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.cjs +31 -0
  310. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.cjs +38 -0
  311. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.cjs +38 -0
  312. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.cjs +39 -0
  313. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.cjs +40 -0
  314. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.cjs +31 -0
  315. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.cjs +41 -0
  316. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.cjs +111 -0
  317. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.cjs +31 -0
  318. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.cjs +31 -0
  319. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.cjs +38 -0
  320. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.cjs +31 -0
  321. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.cjs +37 -0
  322. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.cjs +31 -0
  323. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.cjs +36 -0
  324. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/index.cjs +37 -0
  325. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.cjs +177 -0
  326. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.cjs +203 -0
  327. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.cjs +35 -0
  328. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.cjs +40 -0
  329. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-description.cjs +70 -0
  330. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.cjs +371 -0
  331. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name.cjs +15 -0
  332. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/getRole.cjs +185 -0
  333. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.cjs +104 -0
  334. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.cjs +42 -0
  335. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/util.cjs +87 -0
  336. package/lib/cjs/node_modules/@testing-library/react/dist/@testing-library/react.esm.cjs +285 -0
  337. package/lib/cjs/node_modules/ansi-regex/index.cjs +17 -0
  338. package/lib/cjs/node_modules/array-buffer-byte-length/index.cjs +21 -0
  339. package/lib/cjs/node_modules/available-typed-arrays/index.cjs +23 -0
  340. package/lib/cjs/node_modules/call-bind/callBound.cjs +22 -0
  341. package/lib/cjs/node_modules/call-bind/index.cjs +34 -0
  342. package/lib/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs +19 -0
  343. package/lib/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs +19 -0
  344. package/lib/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs +11 -0
  345. package/lib/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs +11 -0
  346. package/lib/cjs/node_modules/call-bind-apply-helpers/index.cjs +24 -0
  347. package/lib/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs +11 -0
  348. package/lib/cjs/node_modules/call-bound/index.cjs +28 -0
  349. package/lib/cjs/node_modules/deep-equal/index.cjs +397 -0
  350. package/lib/cjs/node_modules/define-data-property/index.cjs +55 -0
  351. package/lib/cjs/node_modules/define-properties/index.cjs +50 -0
  352. package/lib/cjs/node_modules/dunder-proto/get.cjs +36 -0
  353. package/lib/cjs/node_modules/es-define-property/index.cjs +19 -0
  354. package/lib/cjs/node_modules/es-errors/eval.cjs +11 -0
  355. package/lib/cjs/node_modules/es-errors/index.cjs +11 -0
  356. package/lib/cjs/node_modules/es-errors/range.cjs +11 -0
  357. package/lib/cjs/node_modules/es-errors/ref.cjs +11 -0
  358. package/lib/cjs/node_modules/es-errors/syntax.cjs +11 -0
  359. package/lib/cjs/node_modules/es-errors/type.cjs +11 -0
  360. package/lib/cjs/node_modules/es-errors/uri.cjs +11 -0
  361. package/lib/cjs/node_modules/es-get-iterator/index.cjs +150 -0
  362. package/lib/cjs/node_modules/es-object-atoms/index.cjs +11 -0
  363. package/lib/cjs/node_modules/for-each/index.cjs +64 -0
  364. package/lib/cjs/node_modules/function-bind/implementation.cjs +79 -0
  365. package/lib/cjs/node_modules/function-bind/index.cjs +13 -0
  366. package/lib/cjs/node_modules/functions-have-names/index.cjs +36 -0
  367. package/lib/cjs/node_modules/get-intrinsic/index.cjs +358 -0
  368. package/lib/cjs/node_modules/get-proto/Object.getPrototypeOf.cjs +13 -0
  369. package/lib/cjs/node_modules/get-proto/Reflect.getPrototypeOf.cjs +11 -0
  370. package/lib/cjs/node_modules/get-proto/index.cjs +26 -0
  371. package/lib/cjs/node_modules/gopd/gOPD.cjs +11 -0
  372. package/lib/cjs/node_modules/gopd/index.cjs +20 -0
  373. package/lib/cjs/node_modules/has-bigints/index.cjs +14 -0
  374. package/lib/cjs/node_modules/has-property-descriptors/index.cjs +26 -0
  375. package/lib/cjs/node_modules/has-symbols/index.cjs +28 -0
  376. package/lib/cjs/node_modules/has-symbols/shams.cjs +58 -0
  377. package/lib/cjs/node_modules/has-tostringtag/shams.cjs +15 -0
  378. package/lib/cjs/node_modules/hasown/index.cjs +15 -0
  379. package/lib/cjs/node_modules/internal-slot/index.cjs +78 -0
  380. package/lib/cjs/node_modules/is-arguments/index.cjs +32 -0
  381. package/lib/cjs/node_modules/is-array-buffer/index.cjs +40 -0
  382. package/lib/cjs/node_modules/is-bigint/index.cjs +36 -0
  383. package/lib/cjs/node_modules/is-boolean-object/index.cjs +34 -0
  384. package/lib/cjs/node_modules/is-callable/index.cjs +120 -0
  385. package/lib/cjs/node_modules/is-date-object/index.cjs +31 -0
  386. package/lib/cjs/node_modules/is-map/index.cjs +43 -0
  387. package/lib/cjs/node_modules/is-number-object/index.cjs +34 -0
  388. package/lib/cjs/node_modules/is-regex/index.cjs +70 -0
  389. package/lib/cjs/node_modules/is-set/index.cjs +43 -0
  390. package/lib/cjs/node_modules/is-shared-array-buffer/index.cjs +26 -0
  391. package/lib/cjs/node_modules/is-string/index.cjs +34 -0
  392. package/lib/cjs/node_modules/is-symbol/index.cjs +44 -0
  393. package/lib/cjs/node_modules/is-weakmap/index.cjs +43 -0
  394. package/lib/cjs/node_modules/is-weakset/index.cjs +41 -0
  395. package/lib/cjs/node_modules/isarray/index.cjs +14 -0
  396. package/lib/cjs/node_modules/lz-string/libs/lz-string.cjs +458 -0
  397. package/lib/cjs/node_modules/math-intrinsics/abs.cjs +11 -0
  398. package/lib/cjs/node_modules/math-intrinsics/floor.cjs +11 -0
  399. package/lib/cjs/node_modules/math-intrinsics/isNaN.cjs +13 -0
  400. package/lib/cjs/node_modules/math-intrinsics/max.cjs +11 -0
  401. package/lib/cjs/node_modules/math-intrinsics/min.cjs +11 -0
  402. package/lib/cjs/node_modules/math-intrinsics/pow.cjs +11 -0
  403. package/lib/cjs/node_modules/math-intrinsics/round.cjs +11 -0
  404. package/lib/cjs/node_modules/math-intrinsics/sign.cjs +18 -0
  405. package/lib/cjs/node_modules/object-inspect/index.cjs +537 -0
  406. package/lib/cjs/node_modules/object-is/implementation.cjs +25 -0
  407. package/lib/cjs/node_modules/object-is/index.cjs +27 -0
  408. package/lib/cjs/node_modules/object-is/polyfill.cjs +15 -0
  409. package/lib/cjs/node_modules/object-is/shim.cjs +23 -0
  410. package/lib/cjs/node_modules/object-keys/implementation.cjs +125 -0
  411. package/lib/cjs/node_modules/object-keys/index.cjs +39 -0
  412. package/lib/cjs/node_modules/object-keys/isArguments.cjs +19 -0
  413. package/lib/cjs/node_modules/object.assign/implementation.cjs +52 -0
  414. package/lib/cjs/node_modules/object.assign/index.cjs +30 -0
  415. package/lib/cjs/node_modules/object.assign/polyfill.cjs +53 -0
  416. package/lib/cjs/node_modules/object.assign/shim.cjs +25 -0
  417. package/lib/cjs/node_modules/possible-typed-array-names/index.cjs +24 -0
  418. package/lib/cjs/node_modules/pretty-format/build/collections.cjs +121 -0
  419. package/lib/cjs/node_modules/pretty-format/build/index.cjs +386 -0
  420. package/lib/cjs/node_modules/pretty-format/build/plugins/AsymmetricMatcher.cjs +77 -0
  421. package/lib/cjs/node_modules/pretty-format/build/plugins/ConvertAnsi.cjs +76 -0
  422. package/lib/cjs/node_modules/pretty-format/build/plugins/DOMCollection.cjs +54 -0
  423. package/lib/cjs/node_modules/pretty-format/build/plugins/DOMElement.cjs +92 -0
  424. package/lib/cjs/node_modules/pretty-format/build/plugins/Immutable.cjs +161 -0
  425. package/lib/cjs/node_modules/pretty-format/build/plugins/ReactElement.cjs +135 -0
  426. package/lib/cjs/node_modules/pretty-format/build/plugins/ReactTestComponent.cjs +66 -0
  427. package/lib/cjs/node_modules/pretty-format/build/plugins/lib/escapeHTML.cjs +17 -0
  428. package/lib/cjs/node_modules/pretty-format/build/plugins/lib/markup.cjs +59 -0
  429. package/lib/cjs/node_modules/pretty-format/node_modules/ansi-styles/index.cjs +144 -0
  430. package/lib/cjs/node_modules/react-is/cjs/react-is.development.cjs +191 -0
  431. package/lib/cjs/node_modules/react-is/cjs/react-is.production.min.cjs +115 -0
  432. package/lib/cjs/node_modules/react-is/index.cjs +17 -0
  433. package/lib/cjs/node_modules/regexp.prototype.flags/implementation.cjs +46 -0
  434. package/lib/cjs/node_modules/regexp.prototype.flags/index.cjs +27 -0
  435. package/lib/cjs/node_modules/regexp.prototype.flags/polyfill.cjs +39 -0
  436. package/lib/cjs/node_modules/regexp.prototype.flags/shim.cjs +38 -0
  437. package/lib/cjs/node_modules/safe-regex-test/index.cjs +25 -0
  438. package/lib/cjs/node_modules/set-function-length/index.cjs +61 -0
  439. package/lib/cjs/node_modules/set-function-name/index.cjs +44 -0
  440. package/lib/cjs/node_modules/side-channel/index.cjs +47 -0
  441. package/lib/cjs/node_modules/side-channel-list/index.cjs +99 -0
  442. package/lib/cjs/node_modules/side-channel-map/index.cjs +63 -0
  443. package/lib/cjs/node_modules/side-channel-weakmap/index.cjs +81 -0
  444. package/lib/cjs/node_modules/stop-iteration-iterator/index.cjs +54 -0
  445. package/lib/cjs/node_modules/which-boxed-primitive/index.cjs +40 -0
  446. package/lib/cjs/node_modules/which-collection/index.cjs +35 -0
  447. package/lib/cjs/node_modules/which-typed-array/index.cjs +123 -0
  448. package/lib/cjs/ui/Accordion/Accordion.cjs +1 -0
  449. package/lib/cjs/ui/Avatar/Avatar.cjs +4 -3
  450. package/lib/cjs/ui/Avatar/Avatar.d.ts +10 -1
  451. package/lib/cjs/ui/BackDrop/BackDrop.cjs +2 -2
  452. package/lib/cjs/ui/Button/Button.d.ts +1 -1
  453. package/lib/cjs/ui/ButtonIcon/ButtonIcon.cjs +7 -5
  454. package/lib/cjs/ui/ButtonIcon/ButtonIcon.d.ts +1 -1
  455. package/lib/cjs/ui/Card/Card.cjs +4 -3
  456. package/lib/cjs/ui/Card/Card.d.ts +1 -1
  457. package/lib/cjs/ui/Chip/Chip.cjs +16 -5
  458. package/lib/cjs/ui/Chip/Chip.d.ts +5 -3
  459. package/lib/cjs/ui/Form/DateField/DateField.cjs +63 -1
  460. package/lib/cjs/ui/Form/DateField/DateField.d.ts +1 -0
  461. package/lib/cjs/ui/Form/DateField/testUtils.cjs +33 -0
  462. package/lib/cjs/ui/Form/DateField/testUtils.d.ts +1 -0
  463. package/lib/cjs/ui/Form/DatePicker/DatePicker.cjs +1 -0
  464. package/lib/cjs/ui/Form/Password/Password.d.ts +4 -0
  465. package/lib/cjs/ui/Form/Period/Period.cjs +112 -33
  466. package/lib/cjs/ui/Form/Period/Period.d.ts +1 -1
  467. package/lib/cjs/ui/Form/Select/Select.cjs +42 -4
  468. package/lib/cjs/ui/Form/Select/Select.d.ts +2 -2
  469. package/lib/cjs/ui/Form/Select/SelectSummary.d.ts +3 -3
  470. package/lib/cjs/ui/Form/TextArea/TextArea.cjs +13 -8
  471. package/lib/cjs/ui/Form/TextArea/TextArea.d.ts +11 -1
  472. package/lib/cjs/ui/Form/TextField/TextField.cjs +102 -4
  473. package/lib/cjs/ui/Form/TextField/TextField.d.ts +12 -0
  474. package/lib/cjs/ui/Form/TimeField/TimeField.cjs +1 -1
  475. package/lib/cjs/ui/Form/TimeField/TimeField.d.ts +3 -1
  476. package/lib/cjs/ui/Icon/Mi.cjs +4 -3
  477. package/lib/cjs/ui/Icon/Mi.d.ts +17 -1
  478. package/lib/cjs/ui/Icon/Mis.cjs +4 -3
  479. package/lib/cjs/ui/Icon/Mis.d.ts +1 -1
  480. package/lib/cjs/ui/Link/Link.cjs +4 -3
  481. package/lib/cjs/ui/Link/Link.d.ts +3 -2
  482. package/lib/cjs/ui/Pagination/Pagination.cjs +1 -0
  483. package/lib/cjs/ui/Popper/Popper.cjs +5 -4
  484. package/lib/cjs/ui/Popper/Popper.d.ts +1 -1
  485. package/lib/cjs/ui/Popper/PopperBase.cjs +5 -3
  486. package/lib/cjs/ui/Popper/PopperBase.d.ts +1 -1
  487. package/lib/cjs/ui/Stack/Stack.cjs +3 -3
  488. package/lib/cjs/ui/Stack/Stack.d.ts +1 -1
  489. package/lib/cjs/ui/Status/Status.cjs +4 -3
  490. package/lib/cjs/ui/Status/Status.d.ts +4 -3
  491. package/lib/cjs/ui/Tooltip/Tooltip.cjs +1 -1
  492. package/lib/esm/_virtual/AsymmetricMatcher.js +4 -0
  493. package/lib/esm/_virtual/ConvertAnsi.js +4 -0
  494. package/lib/esm/_virtual/DOMCollection.js +4 -0
  495. package/lib/esm/_virtual/DOMElement.js +4 -0
  496. package/lib/esm/_virtual/Immutable.js +4 -0
  497. package/lib/esm/_virtual/ReactElement.js +4 -0
  498. package/lib/esm/_virtual/ReactTestComponent.js +4 -0
  499. package/lib/esm/_virtual/___vite-browser-external.js +6 -0
  500. package/lib/esm/_virtual/__vite-browser-external.js +4 -0
  501. package/lib/esm/_virtual/_commonjsHelpers.js +38 -0
  502. package/lib/esm/_virtual/alertRole.js +4 -0
  503. package/lib/esm/_virtual/alertdialogRole.js +4 -0
  504. package/lib/esm/_virtual/applicationRole.js +4 -0
  505. package/lib/esm/_virtual/ariaAbstractRoles.js +4 -0
  506. package/lib/esm/_virtual/ariaDpubRoles.js +4 -0
  507. package/lib/esm/_virtual/ariaGraphicsRoles.js +4 -0
  508. package/lib/esm/_virtual/ariaLiteralRoles.js +4 -0
  509. package/lib/esm/_virtual/ariaPropsMap.js +4 -0
  510. package/lib/esm/_virtual/articleRole.js +4 -0
  511. package/lib/esm/_virtual/bannerRole.js +4 -0
  512. package/lib/esm/_virtual/blockquoteRole.js +4 -0
  513. package/lib/esm/_virtual/buttonRole.js +4 -0
  514. package/lib/esm/_virtual/captionRole.js +4 -0
  515. package/lib/esm/_virtual/cellRole.js +4 -0
  516. package/lib/esm/_virtual/checkboxRole.js +4 -0
  517. package/lib/esm/_virtual/codeRole.js +4 -0
  518. package/lib/esm/_virtual/collections.js +4 -0
  519. package/lib/esm/_virtual/columnheaderRole.js +4 -0
  520. package/lib/esm/_virtual/comboboxRole.js +4 -0
  521. package/lib/esm/_virtual/commandRole.js +4 -0
  522. package/lib/esm/_virtual/complementaryRole.js +4 -0
  523. package/lib/esm/_virtual/compositeRole.js +4 -0
  524. package/lib/esm/_virtual/contentinfoRole.js +4 -0
  525. package/lib/esm/_virtual/definitionRole.js +4 -0
  526. package/lib/esm/_virtual/deletionRole.js +4 -0
  527. package/lib/esm/_virtual/dialogRole.js +4 -0
  528. package/lib/esm/_virtual/directoryRole.js +4 -0
  529. package/lib/esm/_virtual/docAbstractRole.js +4 -0
  530. package/lib/esm/_virtual/docAcknowledgmentsRole.js +4 -0
  531. package/lib/esm/_virtual/docAfterwordRole.js +4 -0
  532. package/lib/esm/_virtual/docAppendixRole.js +4 -0
  533. package/lib/esm/_virtual/docBacklinkRole.js +4 -0
  534. package/lib/esm/_virtual/docBiblioentryRole.js +4 -0
  535. package/lib/esm/_virtual/docBibliographyRole.js +4 -0
  536. package/lib/esm/_virtual/docBibliorefRole.js +4 -0
  537. package/lib/esm/_virtual/docChapterRole.js +4 -0
  538. package/lib/esm/_virtual/docColophonRole.js +4 -0
  539. package/lib/esm/_virtual/docConclusionRole.js +4 -0
  540. package/lib/esm/_virtual/docCoverRole.js +4 -0
  541. package/lib/esm/_virtual/docCreditRole.js +4 -0
  542. package/lib/esm/_virtual/docCreditsRole.js +4 -0
  543. package/lib/esm/_virtual/docDedicationRole.js +4 -0
  544. package/lib/esm/_virtual/docEndnoteRole.js +4 -0
  545. package/lib/esm/_virtual/docEndnotesRole.js +4 -0
  546. package/lib/esm/_virtual/docEpigraphRole.js +4 -0
  547. package/lib/esm/_virtual/docEpilogueRole.js +4 -0
  548. package/lib/esm/_virtual/docErrataRole.js +4 -0
  549. package/lib/esm/_virtual/docExampleRole.js +4 -0
  550. package/lib/esm/_virtual/docFootnoteRole.js +4 -0
  551. package/lib/esm/_virtual/docForewordRole.js +4 -0
  552. package/lib/esm/_virtual/docGlossaryRole.js +4 -0
  553. package/lib/esm/_virtual/docGlossrefRole.js +4 -0
  554. package/lib/esm/_virtual/docIndexRole.js +4 -0
  555. package/lib/esm/_virtual/docIntroductionRole.js +4 -0
  556. package/lib/esm/_virtual/docNoterefRole.js +4 -0
  557. package/lib/esm/_virtual/docNoticeRole.js +4 -0
  558. package/lib/esm/_virtual/docPagebreakRole.js +4 -0
  559. package/lib/esm/_virtual/docPagelistRole.js +4 -0
  560. package/lib/esm/_virtual/docPartRole.js +4 -0
  561. package/lib/esm/_virtual/docPrefaceRole.js +4 -0
  562. package/lib/esm/_virtual/docPrologueRole.js +4 -0
  563. package/lib/esm/_virtual/docPullquoteRole.js +4 -0
  564. package/lib/esm/_virtual/docQnaRole.js +4 -0
  565. package/lib/esm/_virtual/docSubtitleRole.js +4 -0
  566. package/lib/esm/_virtual/docTipRole.js +4 -0
  567. package/lib/esm/_virtual/docTocRole.js +4 -0
  568. package/lib/esm/_virtual/documentRole.js +4 -0
  569. package/lib/esm/_virtual/domMap.js +4 -0
  570. package/lib/esm/_virtual/elementRoleMap.js +4 -0
  571. package/lib/esm/_virtual/emphasisRole.js +4 -0
  572. package/lib/esm/_virtual/escapeHTML.js +4 -0
  573. package/lib/esm/_virtual/feedRole.js +4 -0
  574. package/lib/esm/_virtual/figureRole.js +4 -0
  575. package/lib/esm/_virtual/formRole.js +4 -0
  576. package/lib/esm/_virtual/genericRole.js +4 -0
  577. package/lib/esm/_virtual/graphicsDocumentRole.js +4 -0
  578. package/lib/esm/_virtual/graphicsObjectRole.js +4 -0
  579. package/lib/esm/_virtual/graphicsSymbolRole.js +4 -0
  580. package/lib/esm/_virtual/gridRole.js +4 -0
  581. package/lib/esm/_virtual/gridcellRole.js +4 -0
  582. package/lib/esm/_virtual/groupRole.js +4 -0
  583. package/lib/esm/_virtual/headingRole.js +4 -0
  584. package/lib/esm/_virtual/imgRole.js +4 -0
  585. package/lib/esm/_virtual/index.js +5 -0
  586. package/lib/esm/_virtual/index10.js +4 -0
  587. package/lib/esm/_virtual/index11.js +4 -0
  588. package/lib/esm/_virtual/index2.js +5 -0
  589. package/lib/esm/_virtual/index3.js +4 -0
  590. package/lib/esm/_virtual/index4.js +4 -0
  591. package/lib/esm/_virtual/index5.js +4 -0
  592. package/lib/esm/_virtual/index6.js +4 -0
  593. package/lib/esm/_virtual/index7.js +4 -0
  594. package/lib/esm/_virtual/index8.js +4 -0
  595. package/lib/esm/_virtual/index9.js +4 -0
  596. package/lib/esm/_virtual/inputRole.js +4 -0
  597. package/lib/esm/_virtual/insertionRole.js +4 -0
  598. package/lib/esm/_virtual/iterationDecorator.js +4 -0
  599. package/lib/esm/_virtual/iteratorProxy.js +4 -0
  600. package/lib/esm/_virtual/landmarkRole.js +4 -0
  601. package/lib/esm/_virtual/linkRole.js +4 -0
  602. package/lib/esm/_virtual/listRole.js +4 -0
  603. package/lib/esm/_virtual/listboxRole.js +4 -0
  604. package/lib/esm/_virtual/listitemRole.js +4 -0
  605. package/lib/esm/_virtual/logRole.js +4 -0
  606. package/lib/esm/_virtual/lz-string.js +7 -0
  607. package/lib/esm/_virtual/lz-string2.js +4 -0
  608. package/lib/esm/_virtual/mainRole.js +4 -0
  609. package/lib/esm/_virtual/markup.js +4 -0
  610. package/lib/esm/_virtual/marqueeRole.js +4 -0
  611. package/lib/esm/_virtual/mathRole.js +4 -0
  612. package/lib/esm/_virtual/menuRole.js +4 -0
  613. package/lib/esm/_virtual/menubarRole.js +4 -0
  614. package/lib/esm/_virtual/menuitemRole.js +4 -0
  615. package/lib/esm/_virtual/menuitemcheckboxRole.js +4 -0
  616. package/lib/esm/_virtual/menuitemradioRole.js +4 -0
  617. package/lib/esm/_virtual/meterRole.js +4 -0
  618. package/lib/esm/_virtual/navigationRole.js +4 -0
  619. package/lib/esm/_virtual/noneRole.js +4 -0
  620. package/lib/esm/_virtual/noteRole.js +4 -0
  621. package/lib/esm/_virtual/optionRole.js +4 -0
  622. package/lib/esm/_virtual/paragraphRole.js +4 -0
  623. package/lib/esm/_virtual/presentationRole.js +4 -0
  624. package/lib/esm/_virtual/progressbarRole.js +4 -0
  625. package/lib/esm/_virtual/radioRole.js +4 -0
  626. package/lib/esm/_virtual/radiogroupRole.js +4 -0
  627. package/lib/esm/_virtual/rangeRole.js +4 -0
  628. package/lib/esm/_virtual/react-is.development.js +4 -0
  629. package/lib/esm/_virtual/react-is.production.min.js +4 -0
  630. package/lib/esm/_virtual/regionRole.js +4 -0
  631. package/lib/esm/_virtual/roleElementMap.js +4 -0
  632. package/lib/esm/_virtual/rolesMap.js +4 -0
  633. package/lib/esm/_virtual/roletypeRole.js +4 -0
  634. package/lib/esm/_virtual/rowRole.js +4 -0
  635. package/lib/esm/_virtual/rowgroupRole.js +4 -0
  636. package/lib/esm/_virtual/rowheaderRole.js +4 -0
  637. package/lib/esm/_virtual/scrollbarRole.js +4 -0
  638. package/lib/esm/_virtual/searchRole.js +4 -0
  639. package/lib/esm/_virtual/searchboxRole.js +4 -0
  640. package/lib/esm/_virtual/sectionRole.js +4 -0
  641. package/lib/esm/_virtual/sectionheadRole.js +4 -0
  642. package/lib/esm/_virtual/selectRole.js +4 -0
  643. package/lib/esm/_virtual/separatorRole.js +4 -0
  644. package/lib/esm/_virtual/sliderRole.js +4 -0
  645. package/lib/esm/_virtual/spinbuttonRole.js +4 -0
  646. package/lib/esm/_virtual/statusRole.js +4 -0
  647. package/lib/esm/_virtual/strongRole.js +4 -0
  648. package/lib/esm/_virtual/structureRole.js +4 -0
  649. package/lib/esm/_virtual/subscriptRole.js +4 -0
  650. package/lib/esm/_virtual/superscriptRole.js +4 -0
  651. package/lib/esm/_virtual/switchRole.js +4 -0
  652. package/lib/esm/_virtual/tabRole.js +4 -0
  653. package/lib/esm/_virtual/tableRole.js +4 -0
  654. package/lib/esm/_virtual/tablistRole.js +4 -0
  655. package/lib/esm/_virtual/tabpanelRole.js +4 -0
  656. package/lib/esm/_virtual/termRole.js +4 -0
  657. package/lib/esm/_virtual/textboxRole.js +4 -0
  658. package/lib/esm/_virtual/timeRole.js +4 -0
  659. package/lib/esm/_virtual/timerRole.js +4 -0
  660. package/lib/esm/_virtual/toolbarRole.js +4 -0
  661. package/lib/esm/_virtual/tooltipRole.js +4 -0
  662. package/lib/esm/_virtual/treeRole.js +4 -0
  663. package/lib/esm/_virtual/treegridRole.js +4 -0
  664. package/lib/esm/_virtual/treeitemRole.js +4 -0
  665. package/lib/esm/_virtual/widgetRole.js +4 -0
  666. package/lib/esm/_virtual/windowRole.js +4 -0
  667. package/lib/esm/lib/helpers/helpers.d.ts +1 -1
  668. package/lib/esm/lib/helpers/helpers.js +2 -2
  669. package/lib/esm/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js +2504 -0
  670. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js +254 -0
  671. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js +403 -0
  672. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js +188 -0
  673. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +36 -0
  674. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +34 -0
  675. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +38 -0
  676. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +31 -0
  677. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +35 -0
  678. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +64 -0
  679. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +46 -0
  680. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +31 -0
  681. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +33 -0
  682. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +31 -0
  683. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +31 -0
  684. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +33 -0
  685. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +44 -0
  686. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +98 -0
  687. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +26 -0
  688. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +184 -0
  689. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +42 -0
  690. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +42 -0
  691. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +42 -0
  692. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +42 -0
  693. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +39 -0
  694. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +42 -0
  695. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +42 -0
  696. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +39 -0
  697. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +42 -0
  698. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +42 -0
  699. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +42 -0
  700. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +42 -0
  701. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +42 -0
  702. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +42 -0
  703. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +42 -0
  704. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +42 -0
  705. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +42 -0
  706. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +42 -0
  707. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +42 -0
  708. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +42 -0
  709. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +37 -0
  710. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +42 -0
  711. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +42 -0
  712. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +42 -0
  713. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +39 -0
  714. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +42 -0
  715. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +42 -0
  716. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +39 -0
  717. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +42 -0
  718. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +41 -0
  719. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +42 -0
  720. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +42 -0
  721. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +42 -0
  722. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +42 -0
  723. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +36 -0
  724. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +42 -0
  725. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +42 -0
  726. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +42 -0
  727. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +42 -0
  728. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +52 -0
  729. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +56 -0
  730. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +37 -0
  731. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js +39 -0
  732. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +36 -0
  733. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +42 -0
  734. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js +39 -0
  735. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +37 -0
  736. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +31 -0
  737. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +113 -0
  738. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +31 -0
  739. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +42 -0
  740. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +54 -0
  741. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +31 -0
  742. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +42 -0
  743. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +144 -0
  744. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +36 -0
  745. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +37 -0
  746. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +36 -0
  747. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +31 -0
  748. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +36 -0
  749. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +33 -0
  750. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +40 -0
  751. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +31 -0
  752. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js +31 -0
  753. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js +36 -0
  754. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js +58 -0
  755. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +41 -0
  756. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +43 -0
  757. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +49 -0
  758. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +49 -0
  759. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js +65 -0
  760. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js +54 -0
  761. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +31 -0
  762. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +59 -0
  763. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js +46 -0
  764. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +82 -0
  765. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +46 -0
  766. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js +33 -0
  767. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js +36 -0
  768. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +31 -0
  769. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js +36 -0
  770. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js +53 -0
  771. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +38 -0
  772. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +57 -0
  773. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +38 -0
  774. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +38 -0
  775. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +37 -0
  776. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +36 -0
  777. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js +31 -0
  778. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js +31 -0
  779. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js +53 -0
  780. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +31 -0
  781. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +31 -0
  782. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +43 -0
  783. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js +46 -0
  784. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +41 -0
  785. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +58 -0
  786. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js +44 -0
  787. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +46 -0
  788. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +51 -0
  789. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +40 -0
  790. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js +31 -0
  791. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +43 -0
  792. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +43 -0
  793. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +51 -0
  794. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +47 -0
  795. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js +39 -0
  796. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +31 -0
  797. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +31 -0
  798. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +31 -0
  799. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js +38 -0
  800. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js +38 -0
  801. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js +39 -0
  802. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +40 -0
  803. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +31 -0
  804. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js +41 -0
  805. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +111 -0
  806. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +31 -0
  807. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js +31 -0
  808. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +38 -0
  809. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +31 -0
  810. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js +37 -0
  811. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +31 -0
  812. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +36 -0
  813. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js +37 -0
  814. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js +177 -0
  815. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js +203 -0
  816. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js +35 -0
  817. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js +40 -0
  818. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-description.js +70 -0
  819. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js +371 -0
  820. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name.js +15 -0
  821. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/getRole.js +185 -0
  822. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.js +104 -0
  823. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.js +42 -0
  824. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/util.js +87 -0
  825. package/lib/esm/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +268 -0
  826. package/lib/esm/node_modules/ansi-regex/index.js +17 -0
  827. package/lib/esm/node_modules/array-buffer-byte-length/index.js +21 -0
  828. package/lib/esm/node_modules/available-typed-arrays/index.js +23 -0
  829. package/lib/esm/node_modules/call-bind/callBound.js +22 -0
  830. package/lib/esm/node_modules/call-bind/index.js +34 -0
  831. package/lib/esm/node_modules/call-bind-apply-helpers/actualApply.js +19 -0
  832. package/lib/esm/node_modules/call-bind-apply-helpers/applyBind.js +19 -0
  833. package/lib/esm/node_modules/call-bind-apply-helpers/functionApply.js +11 -0
  834. package/lib/esm/node_modules/call-bind-apply-helpers/functionCall.js +11 -0
  835. package/lib/esm/node_modules/call-bind-apply-helpers/index.js +24 -0
  836. package/lib/esm/node_modules/call-bind-apply-helpers/reflectApply.js +11 -0
  837. package/lib/esm/node_modules/call-bound/index.js +28 -0
  838. package/lib/esm/node_modules/deep-equal/index.js +397 -0
  839. package/lib/esm/node_modules/define-data-property/index.js +55 -0
  840. package/lib/esm/node_modules/define-properties/index.js +50 -0
  841. package/lib/esm/node_modules/dunder-proto/get.js +36 -0
  842. package/lib/esm/node_modules/es-define-property/index.js +19 -0
  843. package/lib/esm/node_modules/es-errors/eval.js +11 -0
  844. package/lib/esm/node_modules/es-errors/index.js +11 -0
  845. package/lib/esm/node_modules/es-errors/range.js +11 -0
  846. package/lib/esm/node_modules/es-errors/ref.js +11 -0
  847. package/lib/esm/node_modules/es-errors/syntax.js +11 -0
  848. package/lib/esm/node_modules/es-errors/type.js +11 -0
  849. package/lib/esm/node_modules/es-errors/uri.js +11 -0
  850. package/lib/esm/node_modules/es-get-iterator/index.js +150 -0
  851. package/lib/esm/node_modules/es-object-atoms/index.js +11 -0
  852. package/lib/esm/node_modules/for-each/index.js +64 -0
  853. package/lib/esm/node_modules/function-bind/implementation.js +79 -0
  854. package/lib/esm/node_modules/function-bind/index.js +13 -0
  855. package/lib/esm/node_modules/functions-have-names/index.js +36 -0
  856. package/lib/esm/node_modules/get-intrinsic/index.js +358 -0
  857. package/lib/esm/node_modules/get-proto/Object.getPrototypeOf.js +13 -0
  858. package/lib/esm/node_modules/get-proto/Reflect.getPrototypeOf.js +11 -0
  859. package/lib/esm/node_modules/get-proto/index.js +26 -0
  860. package/lib/esm/node_modules/gopd/gOPD.js +11 -0
  861. package/lib/esm/node_modules/gopd/index.js +20 -0
  862. package/lib/esm/node_modules/has-bigints/index.js +14 -0
  863. package/lib/esm/node_modules/has-property-descriptors/index.js +26 -0
  864. package/lib/esm/node_modules/has-symbols/index.js +28 -0
  865. package/lib/esm/node_modules/has-symbols/shams.js +58 -0
  866. package/lib/esm/node_modules/has-tostringtag/shams.js +15 -0
  867. package/lib/esm/node_modules/hasown/index.js +15 -0
  868. package/lib/esm/node_modules/internal-slot/index.js +78 -0
  869. package/lib/esm/node_modules/is-arguments/index.js +32 -0
  870. package/lib/esm/node_modules/is-array-buffer/index.js +40 -0
  871. package/lib/esm/node_modules/is-bigint/index.js +36 -0
  872. package/lib/esm/node_modules/is-boolean-object/index.js +34 -0
  873. package/lib/esm/node_modules/is-callable/index.js +120 -0
  874. package/lib/esm/node_modules/is-date-object/index.js +31 -0
  875. package/lib/esm/node_modules/is-map/index.js +43 -0
  876. package/lib/esm/node_modules/is-number-object/index.js +34 -0
  877. package/lib/esm/node_modules/is-regex/index.js +70 -0
  878. package/lib/esm/node_modules/is-set/index.js +43 -0
  879. package/lib/esm/node_modules/is-shared-array-buffer/index.js +26 -0
  880. package/lib/esm/node_modules/is-string/index.js +34 -0
  881. package/lib/esm/node_modules/is-symbol/index.js +44 -0
  882. package/lib/esm/node_modules/is-weakmap/index.js +43 -0
  883. package/lib/esm/node_modules/is-weakset/index.js +41 -0
  884. package/lib/esm/node_modules/isarray/index.js +14 -0
  885. package/lib/esm/node_modules/lz-string/libs/lz-string.js +458 -0
  886. package/lib/esm/node_modules/math-intrinsics/abs.js +11 -0
  887. package/lib/esm/node_modules/math-intrinsics/floor.js +11 -0
  888. package/lib/esm/node_modules/math-intrinsics/isNaN.js +13 -0
  889. package/lib/esm/node_modules/math-intrinsics/max.js +11 -0
  890. package/lib/esm/node_modules/math-intrinsics/min.js +11 -0
  891. package/lib/esm/node_modules/math-intrinsics/pow.js +11 -0
  892. package/lib/esm/node_modules/math-intrinsics/round.js +11 -0
  893. package/lib/esm/node_modules/math-intrinsics/sign.js +18 -0
  894. package/lib/esm/node_modules/object-inspect/index.js +537 -0
  895. package/lib/esm/node_modules/object-is/implementation.js +25 -0
  896. package/lib/esm/node_modules/object-is/index.js +27 -0
  897. package/lib/esm/node_modules/object-is/polyfill.js +15 -0
  898. package/lib/esm/node_modules/object-is/shim.js +23 -0
  899. package/lib/esm/node_modules/object-keys/implementation.js +125 -0
  900. package/lib/esm/node_modules/object-keys/index.js +39 -0
  901. package/lib/esm/node_modules/object-keys/isArguments.js +19 -0
  902. package/lib/esm/node_modules/object.assign/implementation.js +52 -0
  903. package/lib/esm/node_modules/object.assign/index.js +30 -0
  904. package/lib/esm/node_modules/object.assign/polyfill.js +53 -0
  905. package/lib/esm/node_modules/object.assign/shim.js +25 -0
  906. package/lib/esm/node_modules/possible-typed-array-names/index.js +24 -0
  907. package/lib/esm/node_modules/pretty-format/build/collections.js +121 -0
  908. package/lib/esm/node_modules/pretty-format/build/index.js +386 -0
  909. package/lib/esm/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +77 -0
  910. package/lib/esm/node_modules/pretty-format/build/plugins/ConvertAnsi.js +76 -0
  911. package/lib/esm/node_modules/pretty-format/build/plugins/DOMCollection.js +54 -0
  912. package/lib/esm/node_modules/pretty-format/build/plugins/DOMElement.js +92 -0
  913. package/lib/esm/node_modules/pretty-format/build/plugins/Immutable.js +161 -0
  914. package/lib/esm/node_modules/pretty-format/build/plugins/ReactElement.js +135 -0
  915. package/lib/esm/node_modules/pretty-format/build/plugins/ReactTestComponent.js +66 -0
  916. package/lib/esm/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +17 -0
  917. package/lib/esm/node_modules/pretty-format/build/plugins/lib/markup.js +59 -0
  918. package/lib/esm/node_modules/pretty-format/node_modules/ansi-styles/index.js +144 -0
  919. package/lib/esm/node_modules/react-is/cjs/react-is.development.js +191 -0
  920. package/lib/esm/node_modules/react-is/cjs/react-is.production.min.js +115 -0
  921. package/lib/esm/node_modules/react-is/index.js +17 -0
  922. package/lib/esm/node_modules/regexp.prototype.flags/implementation.js +46 -0
  923. package/lib/esm/node_modules/regexp.prototype.flags/index.js +27 -0
  924. package/lib/esm/node_modules/regexp.prototype.flags/polyfill.js +39 -0
  925. package/lib/esm/node_modules/regexp.prototype.flags/shim.js +38 -0
  926. package/lib/esm/node_modules/safe-regex-test/index.js +25 -0
  927. package/lib/esm/node_modules/set-function-length/index.js +61 -0
  928. package/lib/esm/node_modules/set-function-name/index.js +44 -0
  929. package/lib/esm/node_modules/side-channel/index.js +47 -0
  930. package/lib/esm/node_modules/side-channel-list/index.js +99 -0
  931. package/lib/esm/node_modules/side-channel-map/index.js +63 -0
  932. package/lib/esm/node_modules/side-channel-weakmap/index.js +81 -0
  933. package/lib/esm/node_modules/stop-iteration-iterator/index.js +54 -0
  934. package/lib/esm/node_modules/which-boxed-primitive/index.js +40 -0
  935. package/lib/esm/node_modules/which-collection/index.js +35 -0
  936. package/lib/esm/node_modules/which-typed-array/index.js +123 -0
  937. package/lib/esm/ui/Accordion/Accordion.js +1 -0
  938. package/lib/esm/ui/Avatar/Avatar.d.ts +10 -1
  939. package/lib/esm/ui/Avatar/Avatar.js +4 -3
  940. package/lib/esm/ui/BackDrop.d.ts +2 -1
  941. package/lib/esm/ui/BackDrop.js +2 -1
  942. package/lib/esm/ui/Badge.d.ts +1 -2
  943. package/lib/esm/ui/Badge.js +1 -2
  944. package/lib/esm/ui/Button/Button.d.ts +1 -1
  945. package/lib/esm/ui/ButtonIcon/ButtonIcon.d.ts +1 -1
  946. package/lib/esm/ui/ButtonIcon/ButtonIcon.js +7 -5
  947. package/lib/esm/ui/Card/Card.d.ts +1 -1
  948. package/lib/esm/ui/Card/Card.js +4 -3
  949. package/lib/esm/ui/Chip/Chip.d.ts +5 -3
  950. package/lib/esm/ui/Chip/Chip.js +16 -5
  951. package/lib/esm/ui/Form/DateField/DateField.d.ts +1 -0
  952. package/lib/esm/ui/Form/DateField/DateField.js +64 -2
  953. package/lib/esm/ui/Form/DateField/testUtils.d.ts +1 -0
  954. package/lib/esm/ui/Form/DateField/testUtils.js +33 -0
  955. package/lib/esm/ui/Form/DatePicker/DatePicker.js +1 -0
  956. package/lib/esm/ui/Form/FormControls.d.ts +2 -1
  957. package/lib/esm/ui/Form/FormControls.js +2 -1
  958. package/lib/esm/ui/Form/Password/Password.d.ts +4 -0
  959. package/lib/esm/ui/Form/Period/Period.d.ts +1 -1
  960. package/lib/esm/ui/Form/Period/Period.js +112 -33
  961. package/lib/esm/ui/Form/Select/Select.d.ts +2 -2
  962. package/lib/esm/ui/Form/Select/Select.js +43 -5
  963. package/lib/esm/ui/Form/Select/SelectSummary.d.ts +3 -3
  964. package/lib/esm/ui/Form/TextArea/TextArea.d.ts +11 -1
  965. package/lib/esm/ui/Form/TextArea/TextArea.js +14 -9
  966. package/lib/esm/ui/Form/TextField/TextField.d.ts +12 -0
  967. package/lib/esm/ui/Form/TextField/TextField.js +103 -5
  968. package/lib/esm/ui/Form/TimeField/TimeField.d.ts +3 -1
  969. package/lib/esm/ui/Form/TimeField/TimeField.js +1 -1
  970. package/lib/esm/ui/Icon/Mi.d.ts +17 -1
  971. package/lib/esm/ui/Icon/Mi.js +4 -3
  972. package/lib/esm/ui/Icon/Mis.d.ts +1 -1
  973. package/lib/esm/ui/Icon/Mis.js +4 -3
  974. package/lib/esm/ui/Link/Link.d.ts +3 -2
  975. package/lib/esm/ui/Link/Link.js +4 -3
  976. package/lib/esm/ui/Modal.d.ts +2 -1
  977. package/lib/esm/ui/Modal.js +2 -1
  978. package/lib/esm/ui/Pagination/Pagination.js +1 -0
  979. package/lib/esm/ui/Pagination.d.ts +2 -1
  980. package/lib/esm/ui/Pagination.js +2 -1
  981. package/lib/esm/ui/Popover.d.ts +2 -1
  982. package/lib/esm/ui/Popover.js +2 -1
  983. package/lib/esm/ui/Popper/Popper.d.ts +1 -1
  984. package/lib/esm/ui/Popper/Popper.js +4 -3
  985. package/lib/esm/ui/Popper/PopperBase.d.ts +1 -1
  986. package/lib/esm/ui/Popper/PopperBase.js +6 -4
  987. package/lib/esm/ui/Popper.d.ts +2 -1
  988. package/lib/esm/ui/Popper.js +2 -1
  989. package/lib/esm/ui/Skeleton.d.ts +2 -1
  990. package/lib/esm/ui/Skeleton.js +2 -1
  991. package/lib/esm/ui/Stack/Stack.d.ts +1 -1
  992. package/lib/esm/ui/Stack/Stack.js +4 -4
  993. package/lib/esm/ui/Status/Status.d.ts +4 -3
  994. package/lib/esm/ui/Status/Status.js +4 -3
  995. package/lib/esm/ui/Tooltip/Tooltip.js +1 -1
  996. package/package.json +3 -3
@@ -0,0 +1,2504 @@
1
+ import { b as buildExports } from "../../../../../_virtual/index.js";
2
+ import { computeAccessibleDescription } from "../../node_modules/dom-accessibility-api/dist/accessible-description.js";
3
+ import { computeAccessibleName } from "../../node_modules/dom-accessibility-api/dist/accessible-name.js";
4
+ import { l as libExports } from "../../../../../_virtual/index2.js";
5
+ import lzString from "../../../../../_virtual/lz-string.js";
6
+ function escapeHTML(str) {
7
+ return str.replace(/</g, "&lt;").replace(/>/g, "&gt;");
8
+ }
9
+ const printProps = (keys, props, config2, indentation, depth, refs, printer) => {
10
+ const indentationNext = indentation + config2.indent;
11
+ const colors = config2.colors;
12
+ return keys.map((key) => {
13
+ const value = props[key];
14
+ let printed = printer(value, config2, indentationNext, depth, refs);
15
+ if (typeof value !== "string") {
16
+ if (printed.indexOf("\n") !== -1) {
17
+ printed = config2.spacingOuter + indentationNext + printed + config2.spacingOuter + indentation;
18
+ }
19
+ printed = "{" + printed + "}";
20
+ }
21
+ return config2.spacingInner + indentation + colors.prop.open + key + colors.prop.close + "=" + colors.value.open + printed + colors.value.close;
22
+ }).join("");
23
+ };
24
+ const NodeTypeTextNode = 3;
25
+ const printChildren = (children, config2, indentation, depth, refs, printer) => children.map((child) => {
26
+ const printedChild = typeof child === "string" ? printText(child, config2) : printer(child, config2, indentation, depth, refs);
27
+ if (printedChild === "" && typeof child === "object" && child !== null && child.nodeType !== NodeTypeTextNode) {
28
+ return "";
29
+ }
30
+ return config2.spacingOuter + indentation + printedChild;
31
+ }).join("");
32
+ const printText = (text, config2) => {
33
+ const contentColor = config2.colors.content;
34
+ return contentColor.open + escapeHTML(text) + contentColor.close;
35
+ };
36
+ const printComment = (comment, config2) => {
37
+ const commentColor = config2.colors.comment;
38
+ return commentColor.open + "<!--" + escapeHTML(comment) + "-->" + commentColor.close;
39
+ };
40
+ const printElement = (type, printedProps, printedChildren, config2, indentation) => {
41
+ const tagColor = config2.colors.tag;
42
+ return tagColor.open + "<" + type + (printedProps && tagColor.close + printedProps + config2.spacingOuter + indentation + tagColor.open) + (printedChildren ? ">" + tagColor.close + printedChildren + config2.spacingOuter + indentation + tagColor.open + "</" + type : (printedProps && !config2.min ? "" : " ") + "/") + ">" + tagColor.close;
43
+ };
44
+ const printElementAsLeaf = (type, config2) => {
45
+ const tagColor = config2.colors.tag;
46
+ return tagColor.open + "<" + type + tagColor.close + " …" + tagColor.open + " />" + tagColor.close;
47
+ };
48
+ const ELEMENT_NODE$1 = 1;
49
+ const TEXT_NODE$1 = 3;
50
+ const COMMENT_NODE$1 = 8;
51
+ const FRAGMENT_NODE = 11;
52
+ const ELEMENT_REGEXP = /^((HTML|SVG)\w*)?Element$/;
53
+ const testNode = (val) => {
54
+ const constructorName = val.constructor.name;
55
+ const {
56
+ nodeType,
57
+ tagName
58
+ } = val;
59
+ const isCustomElement = typeof tagName === "string" && tagName.includes("-") || typeof val.hasAttribute === "function" && val.hasAttribute("is");
60
+ return nodeType === ELEMENT_NODE$1 && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE$1 && constructorName === "Text" || nodeType === COMMENT_NODE$1 && constructorName === "Comment" || nodeType === FRAGMENT_NODE && constructorName === "DocumentFragment";
61
+ };
62
+ function nodeIsText(node) {
63
+ return node.nodeType === TEXT_NODE$1;
64
+ }
65
+ function nodeIsComment(node) {
66
+ return node.nodeType === COMMENT_NODE$1;
67
+ }
68
+ function nodeIsFragment(node) {
69
+ return node.nodeType === FRAGMENT_NODE;
70
+ }
71
+ function createDOMElementFilter(filterNode) {
72
+ return {
73
+ test: (val) => {
74
+ var _val$constructor2;
75
+ return (val == null || (_val$constructor2 = val.constructor) == null ? void 0 : _val$constructor2.name) && testNode(val);
76
+ },
77
+ serialize: (node, config2, indentation, depth, refs, printer) => {
78
+ if (nodeIsText(node)) {
79
+ return printText(node.data, config2);
80
+ }
81
+ if (nodeIsComment(node)) {
82
+ return printComment(node.data, config2);
83
+ }
84
+ const type = nodeIsFragment(node) ? "DocumentFragment" : node.tagName.toLowerCase();
85
+ if (++depth > config2.maxDepth) {
86
+ return printElementAsLeaf(type, config2);
87
+ }
88
+ return printElement(type, printProps(nodeIsFragment(node) ? [] : Array.from(node.attributes).map((attr) => attr.name).sort(), nodeIsFragment(node) ? {} : Array.from(node.attributes).reduce((props, attribute) => {
89
+ props[attribute.name] = attribute.value;
90
+ return props;
91
+ }, {}), config2, indentation + config2.indent, depth, refs, printer), printChildren(Array.prototype.slice.call(node.childNodes || node.children).filter(filterNode), config2, indentation + config2.indent, depth, refs, printer), config2, indentation);
92
+ }
93
+ };
94
+ }
95
+ let chalk = null;
96
+ let readFileSync = null;
97
+ let codeFrameColumns = null;
98
+ try {
99
+ const nodeRequire = module && module.require;
100
+ readFileSync = nodeRequire.call(module, "fs").readFileSync;
101
+ codeFrameColumns = nodeRequire.call(module, "@babel/code-frame").codeFrameColumns;
102
+ chalk = nodeRequire.call(module, "chalk");
103
+ } catch (e) {
104
+ }
105
+ function getCodeFrame(frame) {
106
+ const locationStart = frame.indexOf("(") + 1;
107
+ const locationEnd = frame.indexOf(")");
108
+ const frameLocation = frame.slice(locationStart, locationEnd);
109
+ const frameLocationElements = frameLocation.split(":");
110
+ const [filename, line, column] = [frameLocationElements[0], parseInt(frameLocationElements[1], 10), parseInt(frameLocationElements[2], 10)];
111
+ let rawFileContents = "";
112
+ try {
113
+ rawFileContents = readFileSync(filename, "utf-8");
114
+ } catch (e) {
115
+ return "";
116
+ }
117
+ const codeFrame = codeFrameColumns(rawFileContents, {
118
+ start: {
119
+ line,
120
+ column
121
+ }
122
+ }, {
123
+ highlightCode: true,
124
+ linesBelow: 0
125
+ });
126
+ return chalk.dim(frameLocation) + "\n" + codeFrame + "\n";
127
+ }
128
+ function getUserCodeFrame() {
129
+ if (!readFileSync || !codeFrameColumns) {
130
+ return "";
131
+ }
132
+ const err = new Error();
133
+ const firstClientCodeFrame = err.stack.split("\n").slice(1).find((frame) => !frame.includes("node_modules/"));
134
+ return getCodeFrame(firstClientCodeFrame);
135
+ }
136
+ const TEXT_NODE = 3;
137
+ function jestFakeTimersAreEnabled() {
138
+ if (typeof jest !== "undefined" && jest !== null) {
139
+ return (
140
+ // legacy timers
141
+ setTimeout._isMockFunction === true || // modern timers
142
+ // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
143
+ Object.prototype.hasOwnProperty.call(setTimeout, "clock")
144
+ );
145
+ }
146
+ return false;
147
+ }
148
+ function getDocument() {
149
+ if (typeof window === "undefined") {
150
+ throw new Error("Could not find default container");
151
+ }
152
+ return window.document;
153
+ }
154
+ function getWindowFromNode(node) {
155
+ if (node.defaultView) {
156
+ return node.defaultView;
157
+ } else if (node.ownerDocument && node.ownerDocument.defaultView) {
158
+ return node.ownerDocument.defaultView;
159
+ } else if (node.window) {
160
+ return node.window;
161
+ } else if (node.ownerDocument && node.ownerDocument.defaultView === null) {
162
+ throw new Error("It looks like the window object is not available for the provided node.");
163
+ } else if (node.then instanceof Function) {
164
+ throw 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...`?");
165
+ } else if (Array.isArray(node)) {
166
+ throw 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...`?");
167
+ } else if (typeof node.debug === "function" && typeof node.logTestingPlaygroundURL === "function") {
168
+ throw 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..., `?");
169
+ } else {
170
+ throw new Error("The given node is not an Element, the node type is: " + typeof node + ".");
171
+ }
172
+ }
173
+ function checkContainerType(container) {
174
+ if (!container || !(typeof container.querySelector === "function") || !(typeof container.querySelectorAll === "function")) {
175
+ throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + getTypeName(container) + ".");
176
+ }
177
+ function getTypeName(object) {
178
+ if (typeof object === "object") {
179
+ return object === null ? "null" : object.constructor.name;
180
+ }
181
+ return typeof object;
182
+ }
183
+ }
184
+ const shouldHighlight = () => {
185
+ let colors;
186
+ try {
187
+ var _process;
188
+ colors = JSON.parse((_process = process) == null || (_process = _process.env) == null ? void 0 : _process.COLORS);
189
+ } catch (e) {
190
+ }
191
+ if (typeof colors === "boolean") {
192
+ return colors;
193
+ } else {
194
+ return typeof process !== "undefined" && process.versions !== void 0 && process.versions.node !== void 0;
195
+ }
196
+ };
197
+ const {
198
+ DOMCollection
199
+ } = buildExports.plugins;
200
+ const ELEMENT_NODE = 1;
201
+ const COMMENT_NODE = 8;
202
+ function filterCommentsAndDefaultIgnoreTagsTags(value) {
203
+ return value.nodeType !== COMMENT_NODE && (value.nodeType !== ELEMENT_NODE || !value.matches(getConfig().defaultIgnore));
204
+ }
205
+ function prettyDOM(dom, maxLength, options) {
206
+ if (options === void 0) {
207
+ options = {};
208
+ }
209
+ if (!dom) {
210
+ dom = getDocument().body;
211
+ }
212
+ if (typeof maxLength !== "number") {
213
+ maxLength = typeof process !== "undefined" && process.env.DEBUG_PRINT_LIMIT || 7e3;
214
+ }
215
+ if (maxLength === 0) {
216
+ return "";
217
+ }
218
+ if (dom.documentElement) {
219
+ dom = dom.documentElement;
220
+ }
221
+ let domTypeName = typeof dom;
222
+ if (domTypeName === "object") {
223
+ domTypeName = dom.constructor.name;
224
+ } else {
225
+ dom = {};
226
+ }
227
+ if (!("outerHTML" in dom)) {
228
+ throw new TypeError("Expected an element or document but got " + domTypeName);
229
+ }
230
+ const {
231
+ filterNode = filterCommentsAndDefaultIgnoreTagsTags,
232
+ ...prettyFormatOptions
233
+ } = options;
234
+ const debugContent = buildExports.format(dom, {
235
+ plugins: [createDOMElementFilter(filterNode), DOMCollection],
236
+ printFunctionName: false,
237
+ highlight: shouldHighlight(),
238
+ ...prettyFormatOptions
239
+ });
240
+ return maxLength !== void 0 && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + "..." : debugContent;
241
+ }
242
+ const logDOM = function() {
243
+ const userCodeFrame = getUserCodeFrame();
244
+ if (userCodeFrame) {
245
+ console.log(prettyDOM(...arguments) + "\n\n" + userCodeFrame);
246
+ } else {
247
+ console.log(prettyDOM(...arguments));
248
+ }
249
+ };
250
+ let config = {
251
+ testIdAttribute: "data-testid",
252
+ asyncUtilTimeout: 1e3,
253
+ // asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
254
+ // forcing react-testing-library to wrap all async functions would've been
255
+ // a total nightmare (consider wrapping every findBy* query and then also
256
+ // updating `within` so those would be wrapped too. Total nightmare).
257
+ // so we have this config option that's really only intended for
258
+ // react-testing-library to use. For that reason, this feature will remain
259
+ // undocumented.
260
+ asyncWrapper: (cb) => cb(),
261
+ unstable_advanceTimersWrapper: (cb) => cb(),
262
+ eventWrapper: (cb) => cb(),
263
+ // default value for the `hidden` option in `ByRole` queries
264
+ defaultHidden: false,
265
+ // default value for the `ignore` option in `ByText` queries
266
+ defaultIgnore: "script, style",
267
+ // showOriginalStackTrace flag to show the full error stack traces for async errors
268
+ showOriginalStackTrace: false,
269
+ // throw errors w/ suggestions for better queries. Opt in so off by default.
270
+ throwSuggestions: false,
271
+ // called when getBy* queries fail. (message, container) => Error
272
+ getElementError(message, container) {
273
+ const prettifiedDOM = prettyDOM(container);
274
+ const error = new Error([message, "Ignored nodes: comments, " + config.defaultIgnore + "\n" + prettifiedDOM].filter(Boolean).join("\n\n"));
275
+ error.name = "TestingLibraryElementError";
276
+ return error;
277
+ },
278
+ _disableExpensiveErrorDiagnostics: false,
279
+ computedStyleSupportsPseudoElements: false
280
+ };
281
+ function runWithExpensiveErrorDiagnosticsDisabled(callback) {
282
+ try {
283
+ config._disableExpensiveErrorDiagnostics = true;
284
+ return callback();
285
+ } finally {
286
+ config._disableExpensiveErrorDiagnostics = false;
287
+ }
288
+ }
289
+ function configure(newConfig) {
290
+ if (typeof newConfig === "function") {
291
+ newConfig = newConfig(config);
292
+ }
293
+ config = {
294
+ ...config,
295
+ ...newConfig
296
+ };
297
+ }
298
+ function getConfig() {
299
+ return config;
300
+ }
301
+ const labelledNodeNames = ["button", "meter", "output", "progress", "select", "textarea", "input"];
302
+ function getTextContent(node) {
303
+ if (labelledNodeNames.includes(node.nodeName.toLowerCase())) {
304
+ return "";
305
+ }
306
+ if (node.nodeType === TEXT_NODE) return node.textContent;
307
+ return Array.from(node.childNodes).map((childNode) => getTextContent(childNode)).join("");
308
+ }
309
+ function getLabelContent(element) {
310
+ let textContent;
311
+ if (element.tagName.toLowerCase() === "label") {
312
+ textContent = getTextContent(element);
313
+ } else {
314
+ textContent = element.value || element.textContent;
315
+ }
316
+ return textContent;
317
+ }
318
+ function getRealLabels(element) {
319
+ if (element.labels !== void 0) {
320
+ var _labels;
321
+ return (_labels = element.labels) != null ? _labels : [];
322
+ }
323
+ if (!isLabelable(element)) return [];
324
+ const labels = element.ownerDocument.querySelectorAll("label");
325
+ return Array.from(labels).filter((label) => label.control === element);
326
+ }
327
+ function isLabelable(element) {
328
+ return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName) || element.tagName === "INPUT" && element.getAttribute("type") !== "hidden";
329
+ }
330
+ function getLabels(container, element, _temp) {
331
+ let {
332
+ selector = "*"
333
+ } = _temp === void 0 ? {} : _temp;
334
+ const ariaLabelledBy = element.getAttribute("aria-labelledby");
335
+ const labelsId = ariaLabelledBy ? ariaLabelledBy.split(" ") : [];
336
+ return labelsId.length ? labelsId.map((labelId) => {
337
+ const labellingElement = container.querySelector('[id="' + labelId + '"]');
338
+ return labellingElement ? {
339
+ content: getLabelContent(labellingElement),
340
+ formControl: null
341
+ } : {
342
+ content: "",
343
+ formControl: null
344
+ };
345
+ }) : Array.from(getRealLabels(element)).map((label) => {
346
+ const textToMatch = getLabelContent(label);
347
+ const formControlSelector = "button, input, meter, output, progress, select, textarea";
348
+ const labelledFormControl = Array.from(label.querySelectorAll(formControlSelector)).filter((formControlElement) => formControlElement.matches(selector))[0];
349
+ return {
350
+ content: textToMatch,
351
+ formControl: labelledFormControl
352
+ };
353
+ });
354
+ }
355
+ function assertNotNullOrUndefined(matcher) {
356
+ if (matcher === null || matcher === void 0) {
357
+ throw new Error(
358
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
359
+ "It looks like " + matcher + " was passed instead of a matcher. Did you do something like getByText(" + matcher + ")?"
360
+ );
361
+ }
362
+ }
363
+ function fuzzyMatches(textToMatch, node, matcher, normalizer) {
364
+ if (typeof textToMatch !== "string") {
365
+ return false;
366
+ }
367
+ assertNotNullOrUndefined(matcher);
368
+ const normalizedText = normalizer(textToMatch);
369
+ if (typeof matcher === "string" || typeof matcher === "number") {
370
+ return normalizedText.toLowerCase().includes(matcher.toString().toLowerCase());
371
+ } else if (typeof matcher === "function") {
372
+ return matcher(normalizedText, node);
373
+ } else {
374
+ return matchRegExp(matcher, normalizedText);
375
+ }
376
+ }
377
+ function matches(textToMatch, node, matcher, normalizer) {
378
+ if (typeof textToMatch !== "string") {
379
+ return false;
380
+ }
381
+ assertNotNullOrUndefined(matcher);
382
+ const normalizedText = normalizer(textToMatch);
383
+ if (matcher instanceof Function) {
384
+ return matcher(normalizedText, node);
385
+ } else if (matcher instanceof RegExp) {
386
+ return matchRegExp(matcher, normalizedText);
387
+ } else {
388
+ return normalizedText === String(matcher);
389
+ }
390
+ }
391
+ function getDefaultNormalizer(_temp) {
392
+ let {
393
+ trim = true,
394
+ collapseWhitespace = true
395
+ } = _temp === void 0 ? {} : _temp;
396
+ return (text) => {
397
+ let normalizedText = text;
398
+ normalizedText = trim ? normalizedText.trim() : normalizedText;
399
+ normalizedText = collapseWhitespace ? normalizedText.replace(/\s+/g, " ") : normalizedText;
400
+ return normalizedText;
401
+ };
402
+ }
403
+ function makeNormalizer(_ref) {
404
+ let {
405
+ trim,
406
+ collapseWhitespace,
407
+ normalizer
408
+ } = _ref;
409
+ if (!normalizer) {
410
+ return getDefaultNormalizer({
411
+ trim,
412
+ collapseWhitespace
413
+ });
414
+ }
415
+ if (typeof trim !== "undefined" || typeof collapseWhitespace !== "undefined") {
416
+ 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');
417
+ }
418
+ return normalizer;
419
+ }
420
+ function matchRegExp(matcher, text) {
421
+ const match = matcher.test(text);
422
+ if (matcher.global && matcher.lastIndex !== 0) {
423
+ 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.");
424
+ matcher.lastIndex = 0;
425
+ }
426
+ return match;
427
+ }
428
+ function getNodeText(node) {
429
+ if (node.matches("input[type=submit], input[type=button], input[type=reset]")) {
430
+ return node.value;
431
+ }
432
+ return Array.from(node.childNodes).filter((child) => child.nodeType === TEXT_NODE && Boolean(child.textContent)).map((c) => c.textContent).join("");
433
+ }
434
+ const elementRoleList = buildElementRoleList(libExports.elementRoles);
435
+ function isSubtreeInaccessible(element) {
436
+ if (element.hidden === true) {
437
+ return true;
438
+ }
439
+ if (element.getAttribute("aria-hidden") === "true") {
440
+ return true;
441
+ }
442
+ const window2 = element.ownerDocument.defaultView;
443
+ if (window2.getComputedStyle(element).display === "none") {
444
+ return true;
445
+ }
446
+ return false;
447
+ }
448
+ function isInaccessible(element, options) {
449
+ if (options === void 0) {
450
+ options = {};
451
+ }
452
+ const {
453
+ isSubtreeInaccessible: isSubtreeInaccessibleImpl = isSubtreeInaccessible
454
+ } = options;
455
+ const window2 = element.ownerDocument.defaultView;
456
+ if (window2.getComputedStyle(element).visibility === "hidden") {
457
+ return true;
458
+ }
459
+ let currentElement = element;
460
+ while (currentElement) {
461
+ if (isSubtreeInaccessibleImpl(currentElement)) {
462
+ return true;
463
+ }
464
+ currentElement = currentElement.parentElement;
465
+ }
466
+ return false;
467
+ }
468
+ function getImplicitAriaRoles(currentNode) {
469
+ for (const {
470
+ match,
471
+ roles
472
+ } of elementRoleList) {
473
+ if (match(currentNode)) {
474
+ return [...roles];
475
+ }
476
+ }
477
+ return [];
478
+ }
479
+ function buildElementRoleList(elementRolesMap) {
480
+ function makeElementSelector(_ref) {
481
+ let {
482
+ name,
483
+ attributes
484
+ } = _ref;
485
+ return "" + name + attributes.map((_ref2) => {
486
+ let {
487
+ name: attributeName,
488
+ value,
489
+ constraints = []
490
+ } = _ref2;
491
+ const shouldNotExist = constraints.indexOf("undefined") !== -1;
492
+ if (shouldNotExist) {
493
+ return ":not([" + attributeName + "])";
494
+ } else if (value) {
495
+ return "[" + attributeName + '="' + value + '"]';
496
+ } else {
497
+ return "[" + attributeName + "]";
498
+ }
499
+ }).join("");
500
+ }
501
+ function getSelectorSpecificity(_ref3) {
502
+ let {
503
+ attributes = []
504
+ } = _ref3;
505
+ return attributes.length;
506
+ }
507
+ function bySelectorSpecificity(_ref4, _ref5) {
508
+ let {
509
+ specificity: leftSpecificity
510
+ } = _ref4;
511
+ let {
512
+ specificity: rightSpecificity
513
+ } = _ref5;
514
+ return rightSpecificity - leftSpecificity;
515
+ }
516
+ function match(element) {
517
+ let {
518
+ attributes = []
519
+ } = element;
520
+ const typeTextIndex = attributes.findIndex((attribute) => attribute.value && attribute.name === "type" && attribute.value === "text");
521
+ if (typeTextIndex >= 0) {
522
+ attributes = [...attributes.slice(0, typeTextIndex), ...attributes.slice(typeTextIndex + 1)];
523
+ }
524
+ const selector = makeElementSelector({
525
+ ...element,
526
+ attributes
527
+ });
528
+ return (node) => {
529
+ if (typeTextIndex >= 0 && node.type !== "text") {
530
+ return false;
531
+ }
532
+ return node.matches(selector);
533
+ };
534
+ }
535
+ let result = [];
536
+ for (const [element, roles] of elementRolesMap.entries()) {
537
+ result = [...result, {
538
+ match: match(element),
539
+ roles: Array.from(roles),
540
+ specificity: getSelectorSpecificity(element)
541
+ }];
542
+ }
543
+ return result.sort(bySelectorSpecificity);
544
+ }
545
+ function getRoles(container, _temp) {
546
+ let {
547
+ hidden = false
548
+ } = _temp === void 0 ? {} : _temp;
549
+ function flattenDOM(node) {
550
+ return [node, ...Array.from(node.children).reduce((acc, child) => [...acc, ...flattenDOM(child)], [])];
551
+ }
552
+ return flattenDOM(container).filter((element) => {
553
+ return hidden === false ? isInaccessible(element) === false : true;
554
+ }).reduce((acc, node) => {
555
+ let roles = [];
556
+ if (node.hasAttribute("role")) {
557
+ roles = node.getAttribute("role").split(" ").slice(0, 1);
558
+ } else {
559
+ roles = getImplicitAriaRoles(node);
560
+ }
561
+ return roles.reduce((rolesAcc, role) => Array.isArray(rolesAcc[role]) ? {
562
+ ...rolesAcc,
563
+ [role]: [...rolesAcc[role], node]
564
+ } : {
565
+ ...rolesAcc,
566
+ [role]: [node]
567
+ }, acc);
568
+ }, {});
569
+ }
570
+ function prettyRoles(dom, _ref6) {
571
+ let {
572
+ hidden,
573
+ includeDescription
574
+ } = _ref6;
575
+ const roles = getRoles(dom, {
576
+ hidden
577
+ });
578
+ return Object.entries(roles).filter((_ref7) => {
579
+ let [role] = _ref7;
580
+ return role !== "generic";
581
+ }).map((_ref8) => {
582
+ let [role, elements] = _ref8;
583
+ const delimiterBar = "-".repeat(50);
584
+ const elementsString = elements.map((el) => {
585
+ const nameString = 'Name "' + computeAccessibleName(el, {
586
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
587
+ }) + '":\n';
588
+ const domString = prettyDOM(el.cloneNode(false));
589
+ if (includeDescription) {
590
+ const descriptionString = 'Description "' + computeAccessibleDescription(el, {
591
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
592
+ }) + '":\n';
593
+ return "" + nameString + descriptionString + domString;
594
+ }
595
+ return "" + nameString + domString;
596
+ }).join("\n\n");
597
+ return role + ":\n\n" + elementsString + "\n\n" + delimiterBar;
598
+ }).join("\n");
599
+ }
600
+ function computeAriaSelected(element) {
601
+ if (element.tagName === "OPTION") {
602
+ return element.selected;
603
+ }
604
+ return checkBooleanAttribute(element, "aria-selected");
605
+ }
606
+ function computeAriaBusy(element) {
607
+ return element.getAttribute("aria-busy") === "true";
608
+ }
609
+ function computeAriaChecked(element) {
610
+ if ("indeterminate" in element && element.indeterminate) {
611
+ return void 0;
612
+ }
613
+ if ("checked" in element) {
614
+ return element.checked;
615
+ }
616
+ return checkBooleanAttribute(element, "aria-checked");
617
+ }
618
+ function computeAriaPressed(element) {
619
+ return checkBooleanAttribute(element, "aria-pressed");
620
+ }
621
+ function computeAriaCurrent(element) {
622
+ var _ref9, _checkBooleanAttribut;
623
+ return (_ref9 = (_checkBooleanAttribut = checkBooleanAttribute(element, "aria-current")) != null ? _checkBooleanAttribut : element.getAttribute("aria-current")) != null ? _ref9 : false;
624
+ }
625
+ function computeAriaExpanded(element) {
626
+ return checkBooleanAttribute(element, "aria-expanded");
627
+ }
628
+ function checkBooleanAttribute(element, attribute) {
629
+ const attributeValue = element.getAttribute(attribute);
630
+ if (attributeValue === "true") {
631
+ return true;
632
+ }
633
+ if (attributeValue === "false") {
634
+ return false;
635
+ }
636
+ return void 0;
637
+ }
638
+ function computeHeadingLevel(element) {
639
+ const implicitHeadingLevels = {
640
+ H1: 1,
641
+ H2: 2,
642
+ H3: 3,
643
+ H4: 4,
644
+ H5: 5,
645
+ H6: 6
646
+ };
647
+ const ariaLevelAttribute = element.getAttribute("aria-level") && Number(element.getAttribute("aria-level"));
648
+ return ariaLevelAttribute || implicitHeadingLevels[element.tagName];
649
+ }
650
+ function computeAriaValueNow(element) {
651
+ const valueNow = element.getAttribute("aria-valuenow");
652
+ return valueNow === null ? void 0 : +valueNow;
653
+ }
654
+ function computeAriaValueMax(element) {
655
+ const valueMax = element.getAttribute("aria-valuemax");
656
+ return valueMax === null ? void 0 : +valueMax;
657
+ }
658
+ function computeAriaValueMin(element) {
659
+ const valueMin = element.getAttribute("aria-valuemin");
660
+ return valueMin === null ? void 0 : +valueMin;
661
+ }
662
+ function computeAriaValueText(element) {
663
+ const valueText = element.getAttribute("aria-valuetext");
664
+ return valueText === null ? void 0 : valueText;
665
+ }
666
+ const normalize = getDefaultNormalizer();
667
+ function escapeRegExp(string) {
668
+ return string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
669
+ }
670
+ function getRegExpMatcher(string) {
671
+ return new RegExp(escapeRegExp(string.toLowerCase()), "i");
672
+ }
673
+ function makeSuggestion(queryName, element, content, _ref) {
674
+ let {
675
+ variant,
676
+ name
677
+ } = _ref;
678
+ let warning = "";
679
+ const queryOptions = {};
680
+ const queryArgs = [["Role", "TestId"].includes(queryName) ? content : getRegExpMatcher(content)];
681
+ if (name) {
682
+ queryOptions.name = getRegExpMatcher(name);
683
+ }
684
+ if (queryName === "Role" && isInaccessible(element)) {
685
+ queryOptions.hidden = true;
686
+ warning = "Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n ";
687
+ }
688
+ if (Object.keys(queryOptions).length > 0) {
689
+ queryArgs.push(queryOptions);
690
+ }
691
+ const queryMethod = variant + "By" + queryName;
692
+ return {
693
+ queryName,
694
+ queryMethod,
695
+ queryArgs,
696
+ variant,
697
+ warning,
698
+ toString() {
699
+ if (warning) {
700
+ console.warn(warning);
701
+ }
702
+ let [text, options] = queryArgs;
703
+ text = typeof text === "string" ? "'" + text + "'" : text;
704
+ options = options ? ", { " + Object.entries(options).map((_ref2) => {
705
+ let [k, v] = _ref2;
706
+ return k + ": " + v;
707
+ }).join(", ") + " }" : "";
708
+ return queryMethod + "(" + text + options + ")";
709
+ }
710
+ };
711
+ }
712
+ function canSuggest(currentMethod, requestedMethod, data) {
713
+ return data && true;
714
+ }
715
+ function getSuggestedQuery(element, variant, method) {
716
+ var _element$getAttribute, _getImplicitAriaRoles;
717
+ if (variant === void 0) {
718
+ variant = "get";
719
+ }
720
+ if (element.matches(getConfig().defaultIgnore)) {
721
+ return void 0;
722
+ }
723
+ const role = (_element$getAttribute = element.getAttribute("role")) != null ? _element$getAttribute : (_getImplicitAriaRoles = getImplicitAriaRoles(element)) == null ? void 0 : _getImplicitAriaRoles[0];
724
+ if (role !== "generic" && canSuggest("Role", method, role)) {
725
+ return makeSuggestion("Role", element, role, {
726
+ variant,
727
+ name: computeAccessibleName(element, {
728
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
729
+ })
730
+ });
731
+ }
732
+ const labelText = getLabels(document, element).map((label) => label.content).join(" ");
733
+ if (canSuggest("LabelText", method, labelText)) {
734
+ return makeSuggestion("LabelText", element, labelText, {
735
+ variant
736
+ });
737
+ }
738
+ const placeholderText = element.getAttribute("placeholder");
739
+ if (canSuggest("PlaceholderText", method, placeholderText)) {
740
+ return makeSuggestion("PlaceholderText", element, placeholderText, {
741
+ variant
742
+ });
743
+ }
744
+ const textContent = normalize(getNodeText(element));
745
+ if (canSuggest("Text", method, textContent)) {
746
+ return makeSuggestion("Text", element, textContent, {
747
+ variant
748
+ });
749
+ }
750
+ if (canSuggest("DisplayValue", method, element.value)) {
751
+ return makeSuggestion("DisplayValue", element, normalize(element.value), {
752
+ variant
753
+ });
754
+ }
755
+ const alt = element.getAttribute("alt");
756
+ if (canSuggest("AltText", method, alt)) {
757
+ return makeSuggestion("AltText", element, alt, {
758
+ variant
759
+ });
760
+ }
761
+ const title = element.getAttribute("title");
762
+ if (canSuggest("Title", method, title)) {
763
+ return makeSuggestion("Title", element, title, {
764
+ variant
765
+ });
766
+ }
767
+ const testId = element.getAttribute(getConfig().testIdAttribute);
768
+ if (canSuggest("TestId", method, testId)) {
769
+ return makeSuggestion("TestId", element, testId, {
770
+ variant
771
+ });
772
+ }
773
+ return void 0;
774
+ }
775
+ function copyStackTrace(target, source) {
776
+ target.stack = source.stack.replace(source.message, target.message);
777
+ }
778
+ function waitFor(callback, _ref) {
779
+ let {
780
+ container = getDocument(),
781
+ timeout = getConfig().asyncUtilTimeout,
782
+ showOriginalStackTrace = getConfig().showOriginalStackTrace,
783
+ stackTraceError,
784
+ interval = 50,
785
+ onTimeout = (error) => {
786
+ Object.defineProperty(error, "message", {
787
+ value: getConfig().getElementError(error.message, container).message
788
+ });
789
+ return error;
790
+ },
791
+ mutationObserverOptions = {
792
+ subtree: true,
793
+ childList: true,
794
+ attributes: true,
795
+ characterData: true
796
+ }
797
+ } = _ref;
798
+ if (typeof callback !== "function") {
799
+ throw new TypeError("Received `callback` arg must be a function");
800
+ }
801
+ return new Promise(async (resolve, reject) => {
802
+ let lastError, intervalId, observer;
803
+ let finished = false;
804
+ let promiseStatus = "idle";
805
+ const overallTimeoutTimer = setTimeout(handleTimeout, timeout);
806
+ const usingJestFakeTimers = jestFakeTimersAreEnabled();
807
+ if (usingJestFakeTimers) {
808
+ const {
809
+ unstable_advanceTimersWrapper: advanceTimersWrapper
810
+ } = getConfig();
811
+ checkCallback();
812
+ while (!finished) {
813
+ if (!jestFakeTimersAreEnabled()) {
814
+ const error = 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");
815
+ if (!showOriginalStackTrace) copyStackTrace(error, stackTraceError);
816
+ reject(error);
817
+ return;
818
+ }
819
+ await advanceTimersWrapper(async () => {
820
+ jest.advanceTimersByTime(interval);
821
+ });
822
+ if (finished) {
823
+ break;
824
+ }
825
+ checkCallback();
826
+ }
827
+ } else {
828
+ try {
829
+ checkContainerType(container);
830
+ } catch (e) {
831
+ reject(e);
832
+ return;
833
+ }
834
+ intervalId = setInterval(checkRealTimersCallback, interval);
835
+ const {
836
+ MutationObserver
837
+ } = getWindowFromNode(container);
838
+ observer = new MutationObserver(checkRealTimersCallback);
839
+ observer.observe(container, mutationObserverOptions);
840
+ checkCallback();
841
+ }
842
+ function onDone(error, result) {
843
+ finished = true;
844
+ clearTimeout(overallTimeoutTimer);
845
+ if (!usingJestFakeTimers) {
846
+ clearInterval(intervalId);
847
+ observer.disconnect();
848
+ }
849
+ if (error) {
850
+ reject(error);
851
+ } else {
852
+ resolve(result);
853
+ }
854
+ }
855
+ function checkRealTimersCallback() {
856
+ if (jestFakeTimersAreEnabled()) {
857
+ const error = 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");
858
+ if (!showOriginalStackTrace) copyStackTrace(error, stackTraceError);
859
+ return reject(error);
860
+ } else {
861
+ return checkCallback();
862
+ }
863
+ }
864
+ function checkCallback() {
865
+ if (promiseStatus === "pending") return;
866
+ try {
867
+ const result = runWithExpensiveErrorDiagnosticsDisabled(callback);
868
+ if (typeof (result == null ? void 0 : result.then) === "function") {
869
+ promiseStatus = "pending";
870
+ result.then((resolvedValue) => {
871
+ promiseStatus = "resolved";
872
+ onDone(null, resolvedValue);
873
+ }, (rejectedValue) => {
874
+ promiseStatus = "rejected";
875
+ lastError = rejectedValue;
876
+ });
877
+ } else {
878
+ onDone(null, result);
879
+ }
880
+ } catch (error) {
881
+ lastError = error;
882
+ }
883
+ }
884
+ function handleTimeout() {
885
+ let error;
886
+ if (lastError) {
887
+ error = lastError;
888
+ if (!showOriginalStackTrace && error.name === "TestingLibraryElementError") {
889
+ copyStackTrace(error, stackTraceError);
890
+ }
891
+ } else {
892
+ error = new Error("Timed out in waitFor.");
893
+ if (!showOriginalStackTrace) {
894
+ copyStackTrace(error, stackTraceError);
895
+ }
896
+ }
897
+ onDone(onTimeout(error), null);
898
+ }
899
+ });
900
+ }
901
+ function waitForWrapper(callback, options) {
902
+ const stackTraceError = new Error("STACK_TRACE_MESSAGE");
903
+ return getConfig().asyncWrapper(() => waitFor(callback, {
904
+ stackTraceError,
905
+ ...options
906
+ }));
907
+ }
908
+ function getElementError(message, container) {
909
+ return getConfig().getElementError(message, container);
910
+ }
911
+ function getMultipleElementsFoundError(message, container) {
912
+ return getElementError(message + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", container);
913
+ }
914
+ function queryAllByAttribute(attribute, container, text, _temp) {
915
+ let {
916
+ exact = true,
917
+ collapseWhitespace,
918
+ trim,
919
+ normalizer
920
+ } = _temp === void 0 ? {} : _temp;
921
+ const matcher = exact ? matches : fuzzyMatches;
922
+ const matchNormalizer = makeNormalizer({
923
+ collapseWhitespace,
924
+ trim,
925
+ normalizer
926
+ });
927
+ return Array.from(container.querySelectorAll("[" + attribute + "]")).filter((node) => matcher(node.getAttribute(attribute), node, text, matchNormalizer));
928
+ }
929
+ function makeSingleQuery(allQuery, getMultipleError2) {
930
+ return function(container) {
931
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
932
+ args[_key - 1] = arguments[_key];
933
+ }
934
+ const els = allQuery(container, ...args);
935
+ if (els.length > 1) {
936
+ const elementStrings = els.map((element) => getElementError(null, element).message).join("\n\n");
937
+ throw getMultipleElementsFoundError(getMultipleError2(container, ...args) + "\n\nHere are the matching elements:\n\n" + elementStrings, container);
938
+ }
939
+ return els[0] || null;
940
+ };
941
+ }
942
+ function getSuggestionError(suggestion, container) {
943
+ return getConfig().getElementError("A better query is available, try this:\n" + suggestion.toString() + "\n", container);
944
+ }
945
+ function makeGetAllQuery(allQuery, getMissingError2) {
946
+ return function(container) {
947
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
948
+ args[_key2 - 1] = arguments[_key2];
949
+ }
950
+ const els = allQuery(container, ...args);
951
+ if (!els.length) {
952
+ throw getConfig().getElementError(getMissingError2(container, ...args), container);
953
+ }
954
+ return els;
955
+ };
956
+ }
957
+ function makeFindQuery(getter) {
958
+ return (container, text, options, waitForOptions) => {
959
+ return waitForWrapper(() => {
960
+ return getter(container, text, options);
961
+ }, {
962
+ container,
963
+ ...waitForOptions
964
+ });
965
+ };
966
+ }
967
+ const wrapSingleQueryWithSuggestion = (query, queryAllByName, variant) => function(container) {
968
+ for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
969
+ args[_key3 - 1] = arguments[_key3];
970
+ }
971
+ const element = query(container, ...args);
972
+ const [{
973
+ suggest = getConfig().throwSuggestions
974
+ } = {}] = args.slice(-1);
975
+ if (element && suggest) {
976
+ const suggestion = getSuggestedQuery(element, variant);
977
+ if (suggestion && !queryAllByName.endsWith(suggestion.queryName)) {
978
+ throw getSuggestionError(suggestion.toString(), container);
979
+ }
980
+ }
981
+ return element;
982
+ };
983
+ const wrapAllByQueryWithSuggestion = (query, queryAllByName, variant) => function(container) {
984
+ for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
985
+ args[_key4 - 1] = arguments[_key4];
986
+ }
987
+ const els = query(container, ...args);
988
+ const [{
989
+ suggest = getConfig().throwSuggestions
990
+ } = {}] = args.slice(-1);
991
+ if (els.length && suggest) {
992
+ const uniqueSuggestionMessages = [...new Set(els.map((element) => {
993
+ var _getSuggestedQuery;
994
+ return (_getSuggestedQuery = getSuggestedQuery(element, variant)) == null ? void 0 : _getSuggestedQuery.toString();
995
+ }))];
996
+ if (
997
+ // only want to suggest if all the els have the same suggestion.
998
+ uniqueSuggestionMessages.length === 1 && !queryAllByName.endsWith(
999
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
1000
+ getSuggestedQuery(els[0], variant).queryName
1001
+ )
1002
+ ) {
1003
+ throw getSuggestionError(uniqueSuggestionMessages[0], container);
1004
+ }
1005
+ }
1006
+ return els;
1007
+ };
1008
+ function buildQueries(queryAllBy, getMultipleError2, getMissingError2) {
1009
+ const queryBy = wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy, getMultipleError2), queryAllBy.name, "query");
1010
+ const getAllBy = makeGetAllQuery(queryAllBy, getMissingError2);
1011
+ const getBy = makeSingleQuery(getAllBy, getMultipleError2);
1012
+ const getByWithSuggestions = wrapSingleQueryWithSuggestion(getBy, queryAllBy.name, "get");
1013
+ const getAllWithSuggestions = wrapAllByQueryWithSuggestion(getAllBy, queryAllBy.name.replace("query", "get"), "getAll");
1014
+ const findAllBy = makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy, queryAllBy.name, "findAll"));
1015
+ const findBy = makeFindQuery(wrapSingleQueryWithSuggestion(getBy, queryAllBy.name, "find"));
1016
+ return [queryBy, getAllWithSuggestions, getByWithSuggestions, findAllBy, findBy];
1017
+ }
1018
+ function queryAllLabels(container) {
1019
+ return Array.from(container.querySelectorAll("label,input")).map((node) => {
1020
+ return {
1021
+ node,
1022
+ textToMatch: getLabelContent(node)
1023
+ };
1024
+ }).filter((_ref) => {
1025
+ let {
1026
+ textToMatch
1027
+ } = _ref;
1028
+ return textToMatch !== null;
1029
+ });
1030
+ }
1031
+ const queryAllLabelsByText = function(container, text, _temp) {
1032
+ let {
1033
+ exact = true,
1034
+ trim,
1035
+ collapseWhitespace,
1036
+ normalizer
1037
+ } = _temp === void 0 ? {} : _temp;
1038
+ const matcher = exact ? matches : fuzzyMatches;
1039
+ const matchNormalizer = makeNormalizer({
1040
+ collapseWhitespace,
1041
+ trim,
1042
+ normalizer
1043
+ });
1044
+ const textToMatchByLabels = queryAllLabels(container);
1045
+ return textToMatchByLabels.filter((_ref2) => {
1046
+ let {
1047
+ node,
1048
+ textToMatch
1049
+ } = _ref2;
1050
+ return matcher(textToMatch, node, text, matchNormalizer);
1051
+ }).map((_ref3) => {
1052
+ let {
1053
+ node
1054
+ } = _ref3;
1055
+ return node;
1056
+ });
1057
+ };
1058
+ const queryAllByLabelText = function(container, text, _temp2) {
1059
+ let {
1060
+ selector = "*",
1061
+ exact = true,
1062
+ collapseWhitespace,
1063
+ trim,
1064
+ normalizer
1065
+ } = _temp2 === void 0 ? {} : _temp2;
1066
+ checkContainerType(container);
1067
+ const matcher = exact ? matches : fuzzyMatches;
1068
+ const matchNormalizer = makeNormalizer({
1069
+ collapseWhitespace,
1070
+ trim,
1071
+ normalizer
1072
+ });
1073
+ const matchingLabelledElements = Array.from(container.querySelectorAll("*")).filter((element) => {
1074
+ return getRealLabels(element).length || element.hasAttribute("aria-labelledby");
1075
+ }).reduce((labelledElements, labelledElement) => {
1076
+ const labelList = getLabels(container, labelledElement, {
1077
+ selector
1078
+ });
1079
+ labelList.filter((label) => Boolean(label.formControl)).forEach((label) => {
1080
+ if (matcher(label.content, label.formControl, text, matchNormalizer) && label.formControl) {
1081
+ labelledElements.push(label.formControl);
1082
+ }
1083
+ });
1084
+ const labelsValue = labelList.filter((label) => Boolean(label.content)).map((label) => label.content);
1085
+ if (matcher(labelsValue.join(" "), labelledElement, text, matchNormalizer)) {
1086
+ labelledElements.push(labelledElement);
1087
+ }
1088
+ if (labelsValue.length > 1) {
1089
+ labelsValue.forEach((labelValue, index) => {
1090
+ if (matcher(labelValue, labelledElement, text, matchNormalizer)) {
1091
+ labelledElements.push(labelledElement);
1092
+ }
1093
+ const labelsFiltered = [...labelsValue];
1094
+ labelsFiltered.splice(index, 1);
1095
+ if (labelsFiltered.length > 1) {
1096
+ if (matcher(labelsFiltered.join(" "), labelledElement, text, matchNormalizer)) {
1097
+ labelledElements.push(labelledElement);
1098
+ }
1099
+ }
1100
+ });
1101
+ }
1102
+ return labelledElements;
1103
+ }, []).concat(queryAllByAttribute("aria-label", container, text, {
1104
+ exact,
1105
+ normalizer: matchNormalizer
1106
+ }));
1107
+ return Array.from(new Set(matchingLabelledElements)).filter((element) => element.matches(selector));
1108
+ };
1109
+ const getAllByLabelText = function(container, text) {
1110
+ for (var _len = arguments.length, rest = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
1111
+ rest[_key - 2] = arguments[_key];
1112
+ }
1113
+ const els = queryAllByLabelText(container, text, ...rest);
1114
+ if (!els.length) {
1115
+ const labels = queryAllLabelsByText(container, text, ...rest);
1116
+ if (labels.length) {
1117
+ const tagNames = labels.map((label) => getTagNameOfElementAssociatedWithLabelViaFor(container, label)).filter((tagName) => !!tagName);
1118
+ if (tagNames.length) {
1119
+ throw getConfig().getElementError(tagNames.map((tagName) => "Found a label with the text of: " + text + ", however the element associated with this label (<" + tagName + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + tagName + " />, you can use aria-label or aria-labelledby instead.").join("\n\n"), container);
1120
+ } else {
1121
+ throw getConfig().getElementError("Found a label with the text of: " + text + `, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, container);
1122
+ }
1123
+ } else {
1124
+ throw getConfig().getElementError("Unable to find a label with the text of: " + text, container);
1125
+ }
1126
+ }
1127
+ return els;
1128
+ };
1129
+ function getTagNameOfElementAssociatedWithLabelViaFor(container, label) {
1130
+ const htmlFor = label.getAttribute("for");
1131
+ if (!htmlFor) {
1132
+ return null;
1133
+ }
1134
+ const element = container.querySelector('[id="' + htmlFor + '"]');
1135
+ return element ? element.tagName.toLowerCase() : null;
1136
+ }
1137
+ const getMultipleError$7 = (c, text) => "Found multiple elements with the text of: " + text;
1138
+ const queryByLabelText = wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText, getMultipleError$7), queryAllByLabelText.name, "query");
1139
+ const getByLabelText = makeSingleQuery(getAllByLabelText, getMultipleError$7);
1140
+ const findAllByLabelText = makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText, getAllByLabelText.name, "findAll"));
1141
+ const findByLabelText = makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText, getAllByLabelText.name, "find"));
1142
+ const getAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion(getAllByLabelText, getAllByLabelText.name, "getAll");
1143
+ const getByLabelTextWithSuggestions = wrapSingleQueryWithSuggestion(getByLabelText, getAllByLabelText.name, "get");
1144
+ const queryAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByLabelText, queryAllByLabelText.name, "queryAll");
1145
+ const queryAllByPlaceholderText = function() {
1146
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1147
+ args[_key] = arguments[_key];
1148
+ }
1149
+ checkContainerType(args[0]);
1150
+ return queryAllByAttribute("placeholder", ...args);
1151
+ };
1152
+ const getMultipleError$6 = (c, text) => "Found multiple elements with the placeholder text of: " + text;
1153
+ const getMissingError$6 = (c, text) => "Unable to find an element with the placeholder text of: " + text;
1154
+ const queryAllByPlaceholderTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByPlaceholderText, queryAllByPlaceholderText.name, "queryAll");
1155
+ const [queryByPlaceholderText, getAllByPlaceholderText, getByPlaceholderText, findAllByPlaceholderText, findByPlaceholderText] = buildQueries(queryAllByPlaceholderText, getMultipleError$6, getMissingError$6);
1156
+ const queryAllByText = function(container, text, _temp) {
1157
+ let {
1158
+ selector = "*",
1159
+ exact = true,
1160
+ collapseWhitespace,
1161
+ trim,
1162
+ ignore = getConfig().defaultIgnore,
1163
+ normalizer
1164
+ } = _temp === void 0 ? {} : _temp;
1165
+ checkContainerType(container);
1166
+ const matcher = exact ? matches : fuzzyMatches;
1167
+ const matchNormalizer = makeNormalizer({
1168
+ collapseWhitespace,
1169
+ trim,
1170
+ normalizer
1171
+ });
1172
+ let baseArray = [];
1173
+ if (typeof container.matches === "function" && container.matches(selector)) {
1174
+ baseArray = [container];
1175
+ }
1176
+ return [...baseArray, ...Array.from(container.querySelectorAll(selector))].filter((node) => !ignore || !node.matches(ignore)).filter((node) => matcher(getNodeText(node), node, text, matchNormalizer));
1177
+ };
1178
+ const getMultipleError$5 = (c, text) => "Found multiple elements with the text: " + text;
1179
+ const getMissingError$5 = function(c, text, options) {
1180
+ if (options === void 0) {
1181
+ options = {};
1182
+ }
1183
+ const {
1184
+ collapseWhitespace,
1185
+ trim,
1186
+ normalizer,
1187
+ selector
1188
+ } = options;
1189
+ const matchNormalizer = makeNormalizer({
1190
+ collapseWhitespace,
1191
+ trim,
1192
+ normalizer
1193
+ });
1194
+ const normalizedText = matchNormalizer(text.toString());
1195
+ const isNormalizedDifferent = normalizedText !== text.toString();
1196
+ const isCustomSelector = (selector != null ? selector : "*") !== "*";
1197
+ return "Unable to find an element with the text: " + (isNormalizedDifferent ? normalizedText + " (normalized from '" + text + "')" : text) + (isCustomSelector ? ", which matches selector '" + selector + "'" : "") + ". 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.";
1198
+ };
1199
+ const queryAllByTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByText, queryAllByText.name, "queryAll");
1200
+ const [queryByText, getAllByText, getByText, findAllByText, findByText] = buildQueries(queryAllByText, getMultipleError$5, getMissingError$5);
1201
+ const queryAllByDisplayValue = function(container, value, _temp) {
1202
+ let {
1203
+ exact = true,
1204
+ collapseWhitespace,
1205
+ trim,
1206
+ normalizer
1207
+ } = _temp === void 0 ? {} : _temp;
1208
+ checkContainerType(container);
1209
+ const matcher = exact ? matches : fuzzyMatches;
1210
+ const matchNormalizer = makeNormalizer({
1211
+ collapseWhitespace,
1212
+ trim,
1213
+ normalizer
1214
+ });
1215
+ return Array.from(container.querySelectorAll("input,textarea,select")).filter((node) => {
1216
+ if (node.tagName === "SELECT") {
1217
+ const selectedOptions = Array.from(node.options).filter((option) => option.selected);
1218
+ return selectedOptions.some((optionNode) => matcher(getNodeText(optionNode), optionNode, value, matchNormalizer));
1219
+ } else {
1220
+ return matcher(node.value, node, value, matchNormalizer);
1221
+ }
1222
+ });
1223
+ };
1224
+ const getMultipleError$4 = (c, value) => "Found multiple elements with the display value: " + value + ".";
1225
+ const getMissingError$4 = (c, value) => "Unable to find an element with the display value: " + value + ".";
1226
+ const queryAllByDisplayValueWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByDisplayValue, queryAllByDisplayValue.name, "queryAll");
1227
+ const [queryByDisplayValue, getAllByDisplayValue, getByDisplayValue, findAllByDisplayValue, findByDisplayValue] = buildQueries(queryAllByDisplayValue, getMultipleError$4, getMissingError$4);
1228
+ const VALID_TAG_REGEXP = /^(img|input|area|.+-.+)$/i;
1229
+ const queryAllByAltText = function(container, alt, options) {
1230
+ if (options === void 0) {
1231
+ options = {};
1232
+ }
1233
+ checkContainerType(container);
1234
+ return queryAllByAttribute("alt", container, alt, options).filter((node) => VALID_TAG_REGEXP.test(node.tagName));
1235
+ };
1236
+ const getMultipleError$3 = (c, alt) => "Found multiple elements with the alt text: " + alt;
1237
+ const getMissingError$3 = (c, alt) => "Unable to find an element with the alt text: " + alt;
1238
+ const queryAllByAltTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByAltText, queryAllByAltText.name, "queryAll");
1239
+ const [queryByAltText, getAllByAltText, getByAltText, findAllByAltText, findByAltText] = buildQueries(queryAllByAltText, getMultipleError$3, getMissingError$3);
1240
+ const isSvgTitle = (node) => {
1241
+ var _node$parentElement;
1242
+ return node.tagName.toLowerCase() === "title" && ((_node$parentElement = node.parentElement) == null ? void 0 : _node$parentElement.tagName.toLowerCase()) === "svg";
1243
+ };
1244
+ const queryAllByTitle = function(container, text, _temp) {
1245
+ let {
1246
+ exact = true,
1247
+ collapseWhitespace,
1248
+ trim,
1249
+ normalizer
1250
+ } = _temp === void 0 ? {} : _temp;
1251
+ checkContainerType(container);
1252
+ const matcher = exact ? matches : fuzzyMatches;
1253
+ const matchNormalizer = makeNormalizer({
1254
+ collapseWhitespace,
1255
+ trim,
1256
+ normalizer
1257
+ });
1258
+ return Array.from(container.querySelectorAll("[title], svg > title")).filter((node) => matcher(node.getAttribute("title"), node, text, matchNormalizer) || isSvgTitle(node) && matcher(getNodeText(node), node, text, matchNormalizer));
1259
+ };
1260
+ const getMultipleError$2 = (c, title) => "Found multiple elements with the title: " + title + ".";
1261
+ const getMissingError$2 = (c, title) => "Unable to find an element with the title: " + title + ".";
1262
+ const queryAllByTitleWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByTitle, queryAllByTitle.name, "queryAll");
1263
+ const [queryByTitle, getAllByTitle, getByTitle, findAllByTitle, findByTitle] = buildQueries(queryAllByTitle, getMultipleError$2, getMissingError$2);
1264
+ const queryAllByRole = function(container, role, _temp) {
1265
+ let {
1266
+ hidden = getConfig().defaultHidden,
1267
+ name,
1268
+ description,
1269
+ queryFallbacks = false,
1270
+ selected,
1271
+ busy,
1272
+ checked,
1273
+ pressed,
1274
+ current,
1275
+ level,
1276
+ expanded,
1277
+ value: {
1278
+ now: valueNow,
1279
+ min: valueMin,
1280
+ max: valueMax,
1281
+ text: valueText
1282
+ } = {}
1283
+ } = _temp === void 0 ? {} : _temp;
1284
+ checkContainerType(container);
1285
+ if (selected !== void 0) {
1286
+ var _allRoles$get;
1287
+ if (((_allRoles$get = libExports.roles.get(role)) == null ? void 0 : _allRoles$get.props["aria-selected"]) === void 0) {
1288
+ throw new Error('"aria-selected" is not supported on role "' + role + '".');
1289
+ }
1290
+ }
1291
+ if (busy !== void 0) {
1292
+ var _allRoles$get2;
1293
+ if (((_allRoles$get2 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get2.props["aria-busy"]) === void 0) {
1294
+ throw new Error('"aria-busy" is not supported on role "' + role + '".');
1295
+ }
1296
+ }
1297
+ if (checked !== void 0) {
1298
+ var _allRoles$get3;
1299
+ if (((_allRoles$get3 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get3.props["aria-checked"]) === void 0) {
1300
+ throw new Error('"aria-checked" is not supported on role "' + role + '".');
1301
+ }
1302
+ }
1303
+ if (pressed !== void 0) {
1304
+ var _allRoles$get4;
1305
+ if (((_allRoles$get4 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get4.props["aria-pressed"]) === void 0) {
1306
+ throw new Error('"aria-pressed" is not supported on role "' + role + '".');
1307
+ }
1308
+ }
1309
+ if (current !== void 0) {
1310
+ var _allRoles$get5;
1311
+ if (((_allRoles$get5 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get5.props["aria-current"]) === void 0) {
1312
+ throw new Error('"aria-current" is not supported on role "' + role + '".');
1313
+ }
1314
+ }
1315
+ if (level !== void 0) {
1316
+ if (role !== "heading") {
1317
+ throw new Error('Role "' + role + '" cannot have "level" property.');
1318
+ }
1319
+ }
1320
+ if (valueNow !== void 0) {
1321
+ var _allRoles$get6;
1322
+ if (((_allRoles$get6 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get6.props["aria-valuenow"]) === void 0) {
1323
+ throw new Error('"aria-valuenow" is not supported on role "' + role + '".');
1324
+ }
1325
+ }
1326
+ if (valueMax !== void 0) {
1327
+ var _allRoles$get7;
1328
+ if (((_allRoles$get7 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get7.props["aria-valuemax"]) === void 0) {
1329
+ throw new Error('"aria-valuemax" is not supported on role "' + role + '".');
1330
+ }
1331
+ }
1332
+ if (valueMin !== void 0) {
1333
+ var _allRoles$get8;
1334
+ if (((_allRoles$get8 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get8.props["aria-valuemin"]) === void 0) {
1335
+ throw new Error('"aria-valuemin" is not supported on role "' + role + '".');
1336
+ }
1337
+ }
1338
+ if (valueText !== void 0) {
1339
+ var _allRoles$get9;
1340
+ if (((_allRoles$get9 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get9.props["aria-valuetext"]) === void 0) {
1341
+ throw new Error('"aria-valuetext" is not supported on role "' + role + '".');
1342
+ }
1343
+ }
1344
+ if (expanded !== void 0) {
1345
+ var _allRoles$get10;
1346
+ if (((_allRoles$get10 = libExports.roles.get(role)) == null ? void 0 : _allRoles$get10.props["aria-expanded"]) === void 0) {
1347
+ throw new Error('"aria-expanded" is not supported on role "' + role + '".');
1348
+ }
1349
+ }
1350
+ const subtreeIsInaccessibleCache = /* @__PURE__ */ new WeakMap();
1351
+ function cachedIsSubtreeInaccessible(element) {
1352
+ if (!subtreeIsInaccessibleCache.has(element)) {
1353
+ subtreeIsInaccessibleCache.set(element, isSubtreeInaccessible(element));
1354
+ }
1355
+ return subtreeIsInaccessibleCache.get(element);
1356
+ }
1357
+ return Array.from(container.querySelectorAll(
1358
+ // Only query elements that can be matched by the following filters
1359
+ makeRoleSelector(role)
1360
+ )).filter((node) => {
1361
+ const isRoleSpecifiedExplicitly = node.hasAttribute("role");
1362
+ if (isRoleSpecifiedExplicitly) {
1363
+ const roleValue = node.getAttribute("role");
1364
+ if (queryFallbacks) {
1365
+ return roleValue.split(" ").filter(Boolean).some((roleAttributeToken) => roleAttributeToken === role);
1366
+ }
1367
+ const [firstRoleAttributeToken] = roleValue.split(" ");
1368
+ return firstRoleAttributeToken === role;
1369
+ }
1370
+ const implicitRoles = getImplicitAriaRoles(node);
1371
+ return implicitRoles.some((implicitRole) => {
1372
+ return implicitRole === role;
1373
+ });
1374
+ }).filter((element) => {
1375
+ if (selected !== void 0) {
1376
+ return selected === computeAriaSelected(element);
1377
+ }
1378
+ if (busy !== void 0) {
1379
+ return busy === computeAriaBusy(element);
1380
+ }
1381
+ if (checked !== void 0) {
1382
+ return checked === computeAriaChecked(element);
1383
+ }
1384
+ if (pressed !== void 0) {
1385
+ return pressed === computeAriaPressed(element);
1386
+ }
1387
+ if (current !== void 0) {
1388
+ return current === computeAriaCurrent(element);
1389
+ }
1390
+ if (expanded !== void 0) {
1391
+ return expanded === computeAriaExpanded(element);
1392
+ }
1393
+ if (level !== void 0) {
1394
+ return level === computeHeadingLevel(element);
1395
+ }
1396
+ if (valueNow !== void 0 || valueMax !== void 0 || valueMin !== void 0 || valueText !== void 0) {
1397
+ let valueMatches = true;
1398
+ if (valueNow !== void 0) {
1399
+ valueMatches && (valueMatches = valueNow === computeAriaValueNow(element));
1400
+ }
1401
+ if (valueMax !== void 0) {
1402
+ valueMatches && (valueMatches = valueMax === computeAriaValueMax(element));
1403
+ }
1404
+ if (valueMin !== void 0) {
1405
+ valueMatches && (valueMatches = valueMin === computeAriaValueMin(element));
1406
+ }
1407
+ if (valueText !== void 0) {
1408
+ var _computeAriaValueText;
1409
+ valueMatches && (valueMatches = matches((_computeAriaValueText = computeAriaValueText(element)) != null ? _computeAriaValueText : null, element, valueText, (text) => text));
1410
+ }
1411
+ return valueMatches;
1412
+ }
1413
+ return true;
1414
+ }).filter((element) => {
1415
+ if (name === void 0) {
1416
+ return true;
1417
+ }
1418
+ return matches(computeAccessibleName(element, {
1419
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
1420
+ }), element, name, (text) => text);
1421
+ }).filter((element) => {
1422
+ if (description === void 0) {
1423
+ return true;
1424
+ }
1425
+ return matches(computeAccessibleDescription(element, {
1426
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
1427
+ }), element, description, (text) => text);
1428
+ }).filter((element) => {
1429
+ return hidden === false ? isInaccessible(element, {
1430
+ isSubtreeInaccessible: cachedIsSubtreeInaccessible
1431
+ }) === false : true;
1432
+ });
1433
+ };
1434
+ function makeRoleSelector(role) {
1435
+ var _roleElements$get;
1436
+ const explicitRoleSelector = '*[role~="' + role + '"]';
1437
+ const roleRelations = (_roleElements$get = libExports.roleElements.get(role)) != null ? _roleElements$get : /* @__PURE__ */ new Set();
1438
+ const implicitRoleSelectors = new Set(Array.from(roleRelations).map((_ref) => {
1439
+ let {
1440
+ name
1441
+ } = _ref;
1442
+ return name;
1443
+ }));
1444
+ return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(",");
1445
+ }
1446
+ const getNameHint = (name) => {
1447
+ let nameHint = "";
1448
+ if (name === void 0) {
1449
+ nameHint = "";
1450
+ } else if (typeof name === "string") {
1451
+ nameHint = ' and name "' + name + '"';
1452
+ } else {
1453
+ nameHint = " and name `" + name + "`";
1454
+ }
1455
+ return nameHint;
1456
+ };
1457
+ const getMultipleError$1 = function(c, role, _temp2) {
1458
+ let {
1459
+ name
1460
+ } = _temp2 === void 0 ? {} : _temp2;
1461
+ return 'Found multiple elements with the role "' + role + '"' + getNameHint(name);
1462
+ };
1463
+ const getMissingError$1 = function(container, role, _temp3) {
1464
+ let {
1465
+ hidden = getConfig().defaultHidden,
1466
+ name,
1467
+ description
1468
+ } = _temp3 === void 0 ? {} : _temp3;
1469
+ if (getConfig()._disableExpensiveErrorDiagnostics) {
1470
+ return 'Unable to find role="' + role + '"' + getNameHint(name);
1471
+ }
1472
+ let roles = "";
1473
+ Array.from(container.children).forEach((childElement) => {
1474
+ roles += prettyRoles(childElement, {
1475
+ hidden,
1476
+ includeDescription: description !== void 0
1477
+ });
1478
+ });
1479
+ let roleMessage;
1480
+ if (roles.length === 0) {
1481
+ if (hidden === false) {
1482
+ roleMessage = "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";
1483
+ } else {
1484
+ roleMessage = "There are no available roles.";
1485
+ }
1486
+ } else {
1487
+ roleMessage = ("\nHere are the " + (hidden === false ? "accessible" : "available") + " roles:\n\n " + roles.replace(/\n/g, "\n ").replace(/\n\s\s\n/g, "\n\n") + "\n").trim();
1488
+ }
1489
+ let nameHint = "";
1490
+ if (name === void 0) {
1491
+ nameHint = "";
1492
+ } else if (typeof name === "string") {
1493
+ nameHint = ' and name "' + name + '"';
1494
+ } else {
1495
+ nameHint = " and name `" + name + "`";
1496
+ }
1497
+ let descriptionHint = "";
1498
+ if (description === void 0) {
1499
+ descriptionHint = "";
1500
+ } else if (typeof description === "string") {
1501
+ descriptionHint = ' and description "' + description + '"';
1502
+ } else {
1503
+ descriptionHint = " and description `" + description + "`";
1504
+ }
1505
+ return ("\nUnable to find an " + (hidden === false ? "accessible " : "") + 'element with the role "' + role + '"' + nameHint + descriptionHint + "\n\n" + roleMessage).trim();
1506
+ };
1507
+ const queryAllByRoleWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByRole, queryAllByRole.name, "queryAll");
1508
+ const [queryByRole, getAllByRole, getByRole, findAllByRole, findByRole] = buildQueries(queryAllByRole, getMultipleError$1, getMissingError$1);
1509
+ const getTestIdAttribute = () => getConfig().testIdAttribute;
1510
+ const queryAllByTestId = function() {
1511
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1512
+ args[_key] = arguments[_key];
1513
+ }
1514
+ checkContainerType(args[0]);
1515
+ return queryAllByAttribute(getTestIdAttribute(), ...args);
1516
+ };
1517
+ const getMultipleError = (c, id) => "Found multiple elements by: [" + getTestIdAttribute() + '="' + id + '"]';
1518
+ const getMissingError = (c, id) => "Unable to find an element by: [" + getTestIdAttribute() + '="' + id + '"]';
1519
+ const queryAllByTestIdWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByTestId, queryAllByTestId.name, "queryAll");
1520
+ const [queryByTestId, getAllByTestId, getByTestId, findAllByTestId, findByTestId] = buildQueries(queryAllByTestId, getMultipleError, getMissingError);
1521
+ var queries = /* @__PURE__ */ Object.freeze({
1522
+ __proto__: null,
1523
+ queryAllByLabelText: queryAllByLabelTextWithSuggestions,
1524
+ queryByLabelText,
1525
+ getAllByLabelText: getAllByLabelTextWithSuggestions,
1526
+ getByLabelText: getByLabelTextWithSuggestions,
1527
+ findAllByLabelText,
1528
+ findByLabelText,
1529
+ queryByPlaceholderText,
1530
+ queryAllByPlaceholderText: queryAllByPlaceholderTextWithSuggestions,
1531
+ getByPlaceholderText,
1532
+ getAllByPlaceholderText,
1533
+ findAllByPlaceholderText,
1534
+ findByPlaceholderText,
1535
+ queryByText,
1536
+ queryAllByText: queryAllByTextWithSuggestions,
1537
+ getByText,
1538
+ getAllByText,
1539
+ findAllByText,
1540
+ findByText,
1541
+ queryByDisplayValue,
1542
+ queryAllByDisplayValue: queryAllByDisplayValueWithSuggestions,
1543
+ getByDisplayValue,
1544
+ getAllByDisplayValue,
1545
+ findAllByDisplayValue,
1546
+ findByDisplayValue,
1547
+ queryByAltText,
1548
+ queryAllByAltText: queryAllByAltTextWithSuggestions,
1549
+ getByAltText,
1550
+ getAllByAltText,
1551
+ findAllByAltText,
1552
+ findByAltText,
1553
+ queryByTitle,
1554
+ queryAllByTitle: queryAllByTitleWithSuggestions,
1555
+ getByTitle,
1556
+ getAllByTitle,
1557
+ findAllByTitle,
1558
+ findByTitle,
1559
+ queryByRole,
1560
+ queryAllByRole: queryAllByRoleWithSuggestions,
1561
+ getAllByRole,
1562
+ getByRole,
1563
+ findAllByRole,
1564
+ findByRole,
1565
+ queryByTestId,
1566
+ queryAllByTestId: queryAllByTestIdWithSuggestions,
1567
+ getByTestId,
1568
+ getAllByTestId,
1569
+ findAllByTestId,
1570
+ findByTestId
1571
+ });
1572
+ function getQueriesForElement(element, queries$1, initialValue2) {
1573
+ if (queries$1 === void 0) {
1574
+ queries$1 = queries;
1575
+ }
1576
+ if (initialValue2 === void 0) {
1577
+ initialValue2 = {};
1578
+ }
1579
+ return Object.keys(queries$1).reduce((helpers, key) => {
1580
+ const fn = queries$1[key];
1581
+ helpers[key] = fn.bind(null, element);
1582
+ return helpers;
1583
+ }, initialValue2);
1584
+ }
1585
+ const eventMap = {
1586
+ // Clipboard Events
1587
+ copy: {
1588
+ EventType: "ClipboardEvent",
1589
+ defaultInit: {
1590
+ bubbles: true,
1591
+ cancelable: true,
1592
+ composed: true
1593
+ }
1594
+ },
1595
+ cut: {
1596
+ EventType: "ClipboardEvent",
1597
+ defaultInit: {
1598
+ bubbles: true,
1599
+ cancelable: true,
1600
+ composed: true
1601
+ }
1602
+ },
1603
+ paste: {
1604
+ EventType: "ClipboardEvent",
1605
+ defaultInit: {
1606
+ bubbles: true,
1607
+ cancelable: true,
1608
+ composed: true
1609
+ }
1610
+ },
1611
+ // Composition Events
1612
+ compositionEnd: {
1613
+ EventType: "CompositionEvent",
1614
+ defaultInit: {
1615
+ bubbles: true,
1616
+ cancelable: true,
1617
+ composed: true
1618
+ }
1619
+ },
1620
+ compositionStart: {
1621
+ EventType: "CompositionEvent",
1622
+ defaultInit: {
1623
+ bubbles: true,
1624
+ cancelable: true,
1625
+ composed: true
1626
+ }
1627
+ },
1628
+ compositionUpdate: {
1629
+ EventType: "CompositionEvent",
1630
+ defaultInit: {
1631
+ bubbles: true,
1632
+ cancelable: true,
1633
+ composed: true
1634
+ }
1635
+ },
1636
+ // Keyboard Events
1637
+ keyDown: {
1638
+ EventType: "KeyboardEvent",
1639
+ defaultInit: {
1640
+ bubbles: true,
1641
+ cancelable: true,
1642
+ charCode: 0,
1643
+ composed: true
1644
+ }
1645
+ },
1646
+ keyPress: {
1647
+ EventType: "KeyboardEvent",
1648
+ defaultInit: {
1649
+ bubbles: true,
1650
+ cancelable: true,
1651
+ charCode: 0,
1652
+ composed: true
1653
+ }
1654
+ },
1655
+ keyUp: {
1656
+ EventType: "KeyboardEvent",
1657
+ defaultInit: {
1658
+ bubbles: true,
1659
+ cancelable: true,
1660
+ charCode: 0,
1661
+ composed: true
1662
+ }
1663
+ },
1664
+ // Focus Events
1665
+ focus: {
1666
+ EventType: "FocusEvent",
1667
+ defaultInit: {
1668
+ bubbles: false,
1669
+ cancelable: false,
1670
+ composed: true
1671
+ }
1672
+ },
1673
+ blur: {
1674
+ EventType: "FocusEvent",
1675
+ defaultInit: {
1676
+ bubbles: false,
1677
+ cancelable: false,
1678
+ composed: true
1679
+ }
1680
+ },
1681
+ focusIn: {
1682
+ EventType: "FocusEvent",
1683
+ defaultInit: {
1684
+ bubbles: true,
1685
+ cancelable: false,
1686
+ composed: true
1687
+ }
1688
+ },
1689
+ focusOut: {
1690
+ EventType: "FocusEvent",
1691
+ defaultInit: {
1692
+ bubbles: true,
1693
+ cancelable: false,
1694
+ composed: true
1695
+ }
1696
+ },
1697
+ // Form Events
1698
+ change: {
1699
+ EventType: "Event",
1700
+ defaultInit: {
1701
+ bubbles: true,
1702
+ cancelable: false
1703
+ }
1704
+ },
1705
+ input: {
1706
+ EventType: "InputEvent",
1707
+ defaultInit: {
1708
+ bubbles: true,
1709
+ cancelable: false,
1710
+ composed: true
1711
+ }
1712
+ },
1713
+ invalid: {
1714
+ EventType: "Event",
1715
+ defaultInit: {
1716
+ bubbles: false,
1717
+ cancelable: true
1718
+ }
1719
+ },
1720
+ submit: {
1721
+ EventType: "Event",
1722
+ defaultInit: {
1723
+ bubbles: true,
1724
+ cancelable: true
1725
+ }
1726
+ },
1727
+ reset: {
1728
+ EventType: "Event",
1729
+ defaultInit: {
1730
+ bubbles: true,
1731
+ cancelable: true
1732
+ }
1733
+ },
1734
+ // Mouse Events
1735
+ click: {
1736
+ EventType: "MouseEvent",
1737
+ defaultInit: {
1738
+ bubbles: true,
1739
+ cancelable: true,
1740
+ button: 0,
1741
+ composed: true
1742
+ }
1743
+ },
1744
+ contextMenu: {
1745
+ EventType: "MouseEvent",
1746
+ defaultInit: {
1747
+ bubbles: true,
1748
+ cancelable: true,
1749
+ composed: true
1750
+ }
1751
+ },
1752
+ dblClick: {
1753
+ EventType: "MouseEvent",
1754
+ defaultInit: {
1755
+ bubbles: true,
1756
+ cancelable: true,
1757
+ composed: true
1758
+ }
1759
+ },
1760
+ drag: {
1761
+ EventType: "DragEvent",
1762
+ defaultInit: {
1763
+ bubbles: true,
1764
+ cancelable: true,
1765
+ composed: true
1766
+ }
1767
+ },
1768
+ dragEnd: {
1769
+ EventType: "DragEvent",
1770
+ defaultInit: {
1771
+ bubbles: true,
1772
+ cancelable: false,
1773
+ composed: true
1774
+ }
1775
+ },
1776
+ dragEnter: {
1777
+ EventType: "DragEvent",
1778
+ defaultInit: {
1779
+ bubbles: true,
1780
+ cancelable: true,
1781
+ composed: true
1782
+ }
1783
+ },
1784
+ dragExit: {
1785
+ EventType: "DragEvent",
1786
+ defaultInit: {
1787
+ bubbles: true,
1788
+ cancelable: false,
1789
+ composed: true
1790
+ }
1791
+ },
1792
+ dragLeave: {
1793
+ EventType: "DragEvent",
1794
+ defaultInit: {
1795
+ bubbles: true,
1796
+ cancelable: false,
1797
+ composed: true
1798
+ }
1799
+ },
1800
+ dragOver: {
1801
+ EventType: "DragEvent",
1802
+ defaultInit: {
1803
+ bubbles: true,
1804
+ cancelable: true,
1805
+ composed: true
1806
+ }
1807
+ },
1808
+ dragStart: {
1809
+ EventType: "DragEvent",
1810
+ defaultInit: {
1811
+ bubbles: true,
1812
+ cancelable: true,
1813
+ composed: true
1814
+ }
1815
+ },
1816
+ drop: {
1817
+ EventType: "DragEvent",
1818
+ defaultInit: {
1819
+ bubbles: true,
1820
+ cancelable: true,
1821
+ composed: true
1822
+ }
1823
+ },
1824
+ mouseDown: {
1825
+ EventType: "MouseEvent",
1826
+ defaultInit: {
1827
+ bubbles: true,
1828
+ cancelable: true,
1829
+ composed: true
1830
+ }
1831
+ },
1832
+ mouseEnter: {
1833
+ EventType: "MouseEvent",
1834
+ defaultInit: {
1835
+ bubbles: false,
1836
+ cancelable: false,
1837
+ composed: true
1838
+ }
1839
+ },
1840
+ mouseLeave: {
1841
+ EventType: "MouseEvent",
1842
+ defaultInit: {
1843
+ bubbles: false,
1844
+ cancelable: false,
1845
+ composed: true
1846
+ }
1847
+ },
1848
+ mouseMove: {
1849
+ EventType: "MouseEvent",
1850
+ defaultInit: {
1851
+ bubbles: true,
1852
+ cancelable: true,
1853
+ composed: true
1854
+ }
1855
+ },
1856
+ mouseOut: {
1857
+ EventType: "MouseEvent",
1858
+ defaultInit: {
1859
+ bubbles: true,
1860
+ cancelable: true,
1861
+ composed: true
1862
+ }
1863
+ },
1864
+ mouseOver: {
1865
+ EventType: "MouseEvent",
1866
+ defaultInit: {
1867
+ bubbles: true,
1868
+ cancelable: true,
1869
+ composed: true
1870
+ }
1871
+ },
1872
+ mouseUp: {
1873
+ EventType: "MouseEvent",
1874
+ defaultInit: {
1875
+ bubbles: true,
1876
+ cancelable: true,
1877
+ composed: true
1878
+ }
1879
+ },
1880
+ // Selection Events
1881
+ select: {
1882
+ EventType: "Event",
1883
+ defaultInit: {
1884
+ bubbles: true,
1885
+ cancelable: false
1886
+ }
1887
+ },
1888
+ // Touch Events
1889
+ touchCancel: {
1890
+ EventType: "TouchEvent",
1891
+ defaultInit: {
1892
+ bubbles: true,
1893
+ cancelable: false,
1894
+ composed: true
1895
+ }
1896
+ },
1897
+ touchEnd: {
1898
+ EventType: "TouchEvent",
1899
+ defaultInit: {
1900
+ bubbles: true,
1901
+ cancelable: true,
1902
+ composed: true
1903
+ }
1904
+ },
1905
+ touchMove: {
1906
+ EventType: "TouchEvent",
1907
+ defaultInit: {
1908
+ bubbles: true,
1909
+ cancelable: true,
1910
+ composed: true
1911
+ }
1912
+ },
1913
+ touchStart: {
1914
+ EventType: "TouchEvent",
1915
+ defaultInit: {
1916
+ bubbles: true,
1917
+ cancelable: true,
1918
+ composed: true
1919
+ }
1920
+ },
1921
+ // UI Events
1922
+ resize: {
1923
+ EventType: "UIEvent",
1924
+ defaultInit: {
1925
+ bubbles: false,
1926
+ cancelable: false
1927
+ }
1928
+ },
1929
+ scroll: {
1930
+ EventType: "UIEvent",
1931
+ defaultInit: {
1932
+ bubbles: false,
1933
+ cancelable: false
1934
+ }
1935
+ },
1936
+ // Wheel Events
1937
+ wheel: {
1938
+ EventType: "WheelEvent",
1939
+ defaultInit: {
1940
+ bubbles: true,
1941
+ cancelable: true,
1942
+ composed: true
1943
+ }
1944
+ },
1945
+ // Media Events
1946
+ abort: {
1947
+ EventType: "Event",
1948
+ defaultInit: {
1949
+ bubbles: false,
1950
+ cancelable: false
1951
+ }
1952
+ },
1953
+ canPlay: {
1954
+ EventType: "Event",
1955
+ defaultInit: {
1956
+ bubbles: false,
1957
+ cancelable: false
1958
+ }
1959
+ },
1960
+ canPlayThrough: {
1961
+ EventType: "Event",
1962
+ defaultInit: {
1963
+ bubbles: false,
1964
+ cancelable: false
1965
+ }
1966
+ },
1967
+ durationChange: {
1968
+ EventType: "Event",
1969
+ defaultInit: {
1970
+ bubbles: false,
1971
+ cancelable: false
1972
+ }
1973
+ },
1974
+ emptied: {
1975
+ EventType: "Event",
1976
+ defaultInit: {
1977
+ bubbles: false,
1978
+ cancelable: false
1979
+ }
1980
+ },
1981
+ encrypted: {
1982
+ EventType: "Event",
1983
+ defaultInit: {
1984
+ bubbles: false,
1985
+ cancelable: false
1986
+ }
1987
+ },
1988
+ ended: {
1989
+ EventType: "Event",
1990
+ defaultInit: {
1991
+ bubbles: false,
1992
+ cancelable: false
1993
+ }
1994
+ },
1995
+ loadedData: {
1996
+ EventType: "Event",
1997
+ defaultInit: {
1998
+ bubbles: false,
1999
+ cancelable: false
2000
+ }
2001
+ },
2002
+ loadedMetadata: {
2003
+ EventType: "Event",
2004
+ defaultInit: {
2005
+ bubbles: false,
2006
+ cancelable: false
2007
+ }
2008
+ },
2009
+ loadStart: {
2010
+ EventType: "ProgressEvent",
2011
+ defaultInit: {
2012
+ bubbles: false,
2013
+ cancelable: false
2014
+ }
2015
+ },
2016
+ pause: {
2017
+ EventType: "Event",
2018
+ defaultInit: {
2019
+ bubbles: false,
2020
+ cancelable: false
2021
+ }
2022
+ },
2023
+ play: {
2024
+ EventType: "Event",
2025
+ defaultInit: {
2026
+ bubbles: false,
2027
+ cancelable: false
2028
+ }
2029
+ },
2030
+ playing: {
2031
+ EventType: "Event",
2032
+ defaultInit: {
2033
+ bubbles: false,
2034
+ cancelable: false
2035
+ }
2036
+ },
2037
+ progress: {
2038
+ EventType: "ProgressEvent",
2039
+ defaultInit: {
2040
+ bubbles: false,
2041
+ cancelable: false
2042
+ }
2043
+ },
2044
+ rateChange: {
2045
+ EventType: "Event",
2046
+ defaultInit: {
2047
+ bubbles: false,
2048
+ cancelable: false
2049
+ }
2050
+ },
2051
+ seeked: {
2052
+ EventType: "Event",
2053
+ defaultInit: {
2054
+ bubbles: false,
2055
+ cancelable: false
2056
+ }
2057
+ },
2058
+ seeking: {
2059
+ EventType: "Event",
2060
+ defaultInit: {
2061
+ bubbles: false,
2062
+ cancelable: false
2063
+ }
2064
+ },
2065
+ stalled: {
2066
+ EventType: "Event",
2067
+ defaultInit: {
2068
+ bubbles: false,
2069
+ cancelable: false
2070
+ }
2071
+ },
2072
+ suspend: {
2073
+ EventType: "Event",
2074
+ defaultInit: {
2075
+ bubbles: false,
2076
+ cancelable: false
2077
+ }
2078
+ },
2079
+ timeUpdate: {
2080
+ EventType: "Event",
2081
+ defaultInit: {
2082
+ bubbles: false,
2083
+ cancelable: false
2084
+ }
2085
+ },
2086
+ volumeChange: {
2087
+ EventType: "Event",
2088
+ defaultInit: {
2089
+ bubbles: false,
2090
+ cancelable: false
2091
+ }
2092
+ },
2093
+ waiting: {
2094
+ EventType: "Event",
2095
+ defaultInit: {
2096
+ bubbles: false,
2097
+ cancelable: false
2098
+ }
2099
+ },
2100
+ // Events
2101
+ load: {
2102
+ // TODO: load events can be UIEvent or Event depending on what generated them
2103
+ // This is where this abstraction breaks down.
2104
+ // But the common targets are <img />, <script /> and window.
2105
+ // Neither of these targets receive a UIEvent
2106
+ EventType: "Event",
2107
+ defaultInit: {
2108
+ bubbles: false,
2109
+ cancelable: false
2110
+ }
2111
+ },
2112
+ error: {
2113
+ EventType: "Event",
2114
+ defaultInit: {
2115
+ bubbles: false,
2116
+ cancelable: false
2117
+ }
2118
+ },
2119
+ // Animation Events
2120
+ animationStart: {
2121
+ EventType: "AnimationEvent",
2122
+ defaultInit: {
2123
+ bubbles: true,
2124
+ cancelable: false
2125
+ }
2126
+ },
2127
+ animationEnd: {
2128
+ EventType: "AnimationEvent",
2129
+ defaultInit: {
2130
+ bubbles: true,
2131
+ cancelable: false
2132
+ }
2133
+ },
2134
+ animationIteration: {
2135
+ EventType: "AnimationEvent",
2136
+ defaultInit: {
2137
+ bubbles: true,
2138
+ cancelable: false
2139
+ }
2140
+ },
2141
+ // Transition Events
2142
+ transitionCancel: {
2143
+ EventType: "TransitionEvent",
2144
+ defaultInit: {
2145
+ bubbles: true,
2146
+ cancelable: false
2147
+ }
2148
+ },
2149
+ transitionEnd: {
2150
+ EventType: "TransitionEvent",
2151
+ defaultInit: {
2152
+ bubbles: true,
2153
+ cancelable: true
2154
+ }
2155
+ },
2156
+ transitionRun: {
2157
+ EventType: "TransitionEvent",
2158
+ defaultInit: {
2159
+ bubbles: true,
2160
+ cancelable: false
2161
+ }
2162
+ },
2163
+ transitionStart: {
2164
+ EventType: "TransitionEvent",
2165
+ defaultInit: {
2166
+ bubbles: true,
2167
+ cancelable: false
2168
+ }
2169
+ },
2170
+ // pointer events
2171
+ pointerOver: {
2172
+ EventType: "PointerEvent",
2173
+ defaultInit: {
2174
+ bubbles: true,
2175
+ cancelable: true,
2176
+ composed: true
2177
+ }
2178
+ },
2179
+ pointerEnter: {
2180
+ EventType: "PointerEvent",
2181
+ defaultInit: {
2182
+ bubbles: false,
2183
+ cancelable: false
2184
+ }
2185
+ },
2186
+ pointerDown: {
2187
+ EventType: "PointerEvent",
2188
+ defaultInit: {
2189
+ bubbles: true,
2190
+ cancelable: true,
2191
+ composed: true
2192
+ }
2193
+ },
2194
+ pointerMove: {
2195
+ EventType: "PointerEvent",
2196
+ defaultInit: {
2197
+ bubbles: true,
2198
+ cancelable: true,
2199
+ composed: true
2200
+ }
2201
+ },
2202
+ pointerUp: {
2203
+ EventType: "PointerEvent",
2204
+ defaultInit: {
2205
+ bubbles: true,
2206
+ cancelable: true,
2207
+ composed: true
2208
+ }
2209
+ },
2210
+ pointerCancel: {
2211
+ EventType: "PointerEvent",
2212
+ defaultInit: {
2213
+ bubbles: true,
2214
+ cancelable: false,
2215
+ composed: true
2216
+ }
2217
+ },
2218
+ pointerOut: {
2219
+ EventType: "PointerEvent",
2220
+ defaultInit: {
2221
+ bubbles: true,
2222
+ cancelable: true,
2223
+ composed: true
2224
+ }
2225
+ },
2226
+ pointerLeave: {
2227
+ EventType: "PointerEvent",
2228
+ defaultInit: {
2229
+ bubbles: false,
2230
+ cancelable: false
2231
+ }
2232
+ },
2233
+ gotPointerCapture: {
2234
+ EventType: "PointerEvent",
2235
+ defaultInit: {
2236
+ bubbles: true,
2237
+ cancelable: false,
2238
+ composed: true
2239
+ }
2240
+ },
2241
+ lostPointerCapture: {
2242
+ EventType: "PointerEvent",
2243
+ defaultInit: {
2244
+ bubbles: true,
2245
+ cancelable: false,
2246
+ composed: true
2247
+ }
2248
+ },
2249
+ // history events
2250
+ popState: {
2251
+ EventType: "PopStateEvent",
2252
+ defaultInit: {
2253
+ bubbles: true,
2254
+ cancelable: false
2255
+ }
2256
+ },
2257
+ // window events
2258
+ offline: {
2259
+ EventType: "Event",
2260
+ defaultInit: {
2261
+ bubbles: false,
2262
+ cancelable: false
2263
+ }
2264
+ },
2265
+ online: {
2266
+ EventType: "Event",
2267
+ defaultInit: {
2268
+ bubbles: false,
2269
+ cancelable: false
2270
+ }
2271
+ }
2272
+ };
2273
+ const eventAliasMap = {
2274
+ doubleClick: "dblClick"
2275
+ };
2276
+ function fireEvent(element, event) {
2277
+ return getConfig().eventWrapper(() => {
2278
+ if (!event) {
2279
+ throw new Error("Unable to fire an event - please provide an event object.");
2280
+ }
2281
+ if (!element) {
2282
+ throw new Error('Unable to fire a "' + event.type + '" event - please provide a DOM element.');
2283
+ }
2284
+ return element.dispatchEvent(event);
2285
+ });
2286
+ }
2287
+ function createEvent(eventName, node, init, _temp) {
2288
+ let {
2289
+ EventType = "Event",
2290
+ defaultInit = {}
2291
+ } = _temp === void 0 ? {} : _temp;
2292
+ if (!node) {
2293
+ throw new Error('Unable to fire a "' + eventName + '" event - please provide a DOM element.');
2294
+ }
2295
+ const eventInit = {
2296
+ ...defaultInit,
2297
+ ...init
2298
+ };
2299
+ const {
2300
+ target: {
2301
+ value,
2302
+ files,
2303
+ ...targetProperties
2304
+ } = {}
2305
+ } = eventInit;
2306
+ if (value !== void 0) {
2307
+ setNativeValue(node, value);
2308
+ }
2309
+ if (files !== void 0) {
2310
+ Object.defineProperty(node, "files", {
2311
+ configurable: true,
2312
+ enumerable: true,
2313
+ writable: true,
2314
+ value: files
2315
+ });
2316
+ }
2317
+ Object.assign(node, targetProperties);
2318
+ const window2 = getWindowFromNode(node);
2319
+ const EventConstructor = window2[EventType] || window2.Event;
2320
+ let event;
2321
+ if (typeof EventConstructor === "function") {
2322
+ event = new EventConstructor(eventName, eventInit);
2323
+ } else {
2324
+ event = window2.document.createEvent(EventType);
2325
+ const {
2326
+ bubbles,
2327
+ cancelable,
2328
+ detail,
2329
+ ...otherInit
2330
+ } = eventInit;
2331
+ event.initEvent(eventName, bubbles, cancelable, detail);
2332
+ Object.keys(otherInit).forEach((eventKey) => {
2333
+ event[eventKey] = otherInit[eventKey];
2334
+ });
2335
+ }
2336
+ const dataTransferProperties = ["dataTransfer", "clipboardData"];
2337
+ dataTransferProperties.forEach((dataTransferKey) => {
2338
+ const dataTransferValue = eventInit[dataTransferKey];
2339
+ if (typeof dataTransferValue === "object") {
2340
+ if (typeof window2.DataTransfer === "function") {
2341
+ Object.defineProperty(event, dataTransferKey, {
2342
+ value: Object.getOwnPropertyNames(dataTransferValue).reduce((acc, propName) => {
2343
+ Object.defineProperty(acc, propName, {
2344
+ value: dataTransferValue[propName]
2345
+ });
2346
+ return acc;
2347
+ }, new window2.DataTransfer())
2348
+ });
2349
+ } else {
2350
+ Object.defineProperty(event, dataTransferKey, {
2351
+ value: dataTransferValue
2352
+ });
2353
+ }
2354
+ }
2355
+ });
2356
+ return event;
2357
+ }
2358
+ Object.keys(eventMap).forEach((key) => {
2359
+ const {
2360
+ EventType,
2361
+ defaultInit
2362
+ } = eventMap[key];
2363
+ const eventName = key.toLowerCase();
2364
+ createEvent[key] = (node, init) => createEvent(eventName, node, init, {
2365
+ EventType,
2366
+ defaultInit
2367
+ });
2368
+ fireEvent[key] = (node, init) => fireEvent(node, createEvent[key](node, init));
2369
+ });
2370
+ function setNativeValue(element, value) {
2371
+ const {
2372
+ set: valueSetter
2373
+ } = Object.getOwnPropertyDescriptor(element, "value") || {};
2374
+ const prototype = Object.getPrototypeOf(element);
2375
+ const {
2376
+ set: prototypeValueSetter
2377
+ } = Object.getOwnPropertyDescriptor(prototype, "value") || {};
2378
+ if (prototypeValueSetter && valueSetter !== prototypeValueSetter) {
2379
+ prototypeValueSetter.call(element, value);
2380
+ } else {
2381
+ if (valueSetter) {
2382
+ valueSetter.call(element, value);
2383
+ } else {
2384
+ throw new Error("The given element does not have a value setter");
2385
+ }
2386
+ }
2387
+ }
2388
+ Object.keys(eventAliasMap).forEach((aliasKey) => {
2389
+ const key = eventAliasMap[aliasKey];
2390
+ fireEvent[aliasKey] = function() {
2391
+ return fireEvent[key](...arguments);
2392
+ };
2393
+ });
2394
+ function unindent(string) {
2395
+ return string.replace(/[ \t]*[\n][ \t]*/g, "\n");
2396
+ }
2397
+ function encode(value) {
2398
+ return lzString.compressToEncodedURIComponent(unindent(value));
2399
+ }
2400
+ function getPlaygroundUrl(markup) {
2401
+ return "https://testing-playground.com/#markup=" + encode(markup);
2402
+ }
2403
+ const debug = (element, maxLength, options) => Array.isArray(element) ? element.forEach((el) => logDOM(el, maxLength, options)) : logDOM(element, maxLength, options);
2404
+ const logTestingPlaygroundURL = function(element) {
2405
+ if (element === void 0) {
2406
+ element = getDocument().body;
2407
+ }
2408
+ if (!element || !("innerHTML" in element)) {
2409
+ console.log("The element you're providing isn't a valid DOM element.");
2410
+ return;
2411
+ }
2412
+ if (!element.innerHTML) {
2413
+ console.log("The provided element doesn't have any children.");
2414
+ return;
2415
+ }
2416
+ const playgroundUrl = getPlaygroundUrl(element.innerHTML);
2417
+ console.log("Open this URL in your browser\n\n" + playgroundUrl);
2418
+ return playgroundUrl;
2419
+ };
2420
+ const initialValue = {
2421
+ debug,
2422
+ logTestingPlaygroundURL
2423
+ };
2424
+ const screen = typeof document !== "undefined" && document.body ? getQueriesForElement(document.body, queries, initialValue) : Object.keys(queries).reduce((helpers, key) => {
2425
+ helpers[key] = () => {
2426
+ 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");
2427
+ };
2428
+ return helpers;
2429
+ }, initialValue);
2430
+ export {
2431
+ buildQueries,
2432
+ configure,
2433
+ createEvent,
2434
+ findAllByAltText,
2435
+ findAllByDisplayValue,
2436
+ findAllByLabelText,
2437
+ findAllByPlaceholderText,
2438
+ findAllByRole,
2439
+ findAllByTestId,
2440
+ findAllByText,
2441
+ findAllByTitle,
2442
+ findByAltText,
2443
+ findByDisplayValue,
2444
+ findByLabelText,
2445
+ findByPlaceholderText,
2446
+ findByRole,
2447
+ findByTestId,
2448
+ findByText,
2449
+ findByTitle,
2450
+ fireEvent,
2451
+ getAllByAltText,
2452
+ getAllByDisplayValue,
2453
+ getAllByLabelTextWithSuggestions as getAllByLabelText,
2454
+ getAllByPlaceholderText,
2455
+ getAllByRole,
2456
+ getAllByTestId,
2457
+ getAllByText,
2458
+ getAllByTitle,
2459
+ getByAltText,
2460
+ getByDisplayValue,
2461
+ getByLabelTextWithSuggestions as getByLabelText,
2462
+ getByPlaceholderText,
2463
+ getByRole,
2464
+ getByTestId,
2465
+ getByText,
2466
+ getByTitle,
2467
+ getConfig,
2468
+ getDefaultNormalizer,
2469
+ getElementError,
2470
+ getMultipleElementsFoundError,
2471
+ getNodeText,
2472
+ getQueriesForElement,
2473
+ getRoles,
2474
+ getSuggestedQuery,
2475
+ isInaccessible,
2476
+ logDOM,
2477
+ makeFindQuery,
2478
+ makeGetAllQuery,
2479
+ makeSingleQuery,
2480
+ prettyDOM,
2481
+ queries,
2482
+ queryAllByAltTextWithSuggestions as queryAllByAltText,
2483
+ queryAllByAttribute,
2484
+ queryAllByDisplayValueWithSuggestions as queryAllByDisplayValue,
2485
+ queryAllByLabelTextWithSuggestions as queryAllByLabelText,
2486
+ queryAllByPlaceholderTextWithSuggestions as queryAllByPlaceholderText,
2487
+ queryAllByRoleWithSuggestions as queryAllByRole,
2488
+ queryAllByTestIdWithSuggestions as queryAllByTestId,
2489
+ queryAllByTextWithSuggestions as queryAllByText,
2490
+ queryAllByTitleWithSuggestions as queryAllByTitle,
2491
+ queryByAltText,
2492
+ queryByDisplayValue,
2493
+ queryByLabelText,
2494
+ queryByPlaceholderText,
2495
+ queryByRole,
2496
+ queryByTestId,
2497
+ queryByText,
2498
+ queryByTitle,
2499
+ screen,
2500
+ waitForWrapper as waitFor,
2501
+ getQueriesForElement as within,
2502
+ wrapAllByQueryWithSuggestion,
2503
+ wrapSingleQueryWithSuggestion
2504
+ };