@okta/odyssey-react-mui 1.36.1 → 1.37.1

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 (280) hide show
  1. package/README.md +8 -3
  2. package/dist/cjs/Pagination/Pagination.cjs +2 -1
  3. package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
  4. package/dist/cjs/Pagination/usePagination.cjs +3 -1
  5. package/dist/cjs/Pagination/usePagination.cjs.map +1 -1
  6. package/dist/cjs/labs/DataView/TableLayoutContent.cjs +3 -3
  7. package/dist/cjs/labs/DataView/TableLayoutContent.cjs.map +1 -1
  8. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +2 -0
  9. package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs.map +1 -1
  10. package/dist/cjs/labs/OdysseyPickers/Picker.cjs +21 -27
  11. package/dist/cjs/labs/OdysseyPickers/Picker.cjs.map +1 -1
  12. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +11 -10
  13. package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs.map +1 -1
  14. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +41 -0
  15. package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs.map +1 -0
  16. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +22 -8
  17. package/dist/cjs/labs/PageTemplate/PageTemplate.cjs.map +1 -1
  18. package/dist/cjs/properties/ts/odyssey-react-mui.cjs +1 -0
  19. package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
  20. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +1 -0
  21. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
  22. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +1 -0
  23. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
  24. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +1 -0
  25. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
  26. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +1 -0
  27. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
  28. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +1 -0
  29. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
  30. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +1 -0
  31. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
  32. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +1 -0
  33. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
  34. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +1 -0
  35. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
  36. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +1 -0
  37. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
  38. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +1 -0
  39. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
  40. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +1 -0
  41. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
  42. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +1 -0
  43. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
  44. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +1 -0
  45. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
  46. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +1 -0
  47. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
  48. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +1 -0
  49. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
  50. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +1 -0
  51. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
  52. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +1 -0
  53. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
  54. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +1 -0
  55. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
  56. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +1 -0
  57. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
  58. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +1 -0
  59. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
  60. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +1 -0
  61. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
  62. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +1 -0
  63. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
  64. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +1 -0
  65. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
  66. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +1 -0
  67. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
  68. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +1 -0
  69. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
  70. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +1 -0
  71. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
  72. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +1 -0
  73. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
  74. package/dist/cjs/test-selectors/getByQuerySelector.cjs +2 -2
  75. package/dist/cjs/test-selectors/getByQuerySelector.cjs.map +1 -1
  76. package/dist/cjs/test-selectors/testSelector.cjs.map +1 -1
  77. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +5 -3
  78. package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
  79. package/dist/cjs/ui-shell/SideNav/SideNav.cjs +14 -6
  80. package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
  81. package/dist/cjs/ui-shell/SideNav/types.cjs.map +1 -1
  82. package/dist/cjs/ui-shell/UiShell.cjs +5 -2
  83. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  84. package/dist/cjs/ui-shell/WideUiShellContent.cjs +3 -3
  85. package/dist/cjs/ui-shell/WideUiShellContent.cjs.map +1 -1
  86. package/dist/cjs/ui-shell/renderUiShell.cjs +12 -0
  87. package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
  88. package/dist/cjs/ui-shell/uiShellContentTypes.cjs.map +1 -1
  89. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  90. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  91. package/dist/cjs/web-component/renderReactInWebComponent.cjs.map +1 -1
  92. package/dist/esm/Pagination/Pagination.js +2 -1
  93. package/dist/esm/Pagination/Pagination.js.map +1 -1
  94. package/dist/esm/Pagination/usePagination.js +3 -1
  95. package/dist/esm/Pagination/usePagination.js.map +1 -1
  96. package/dist/esm/labs/DataView/TableLayoutContent.js +3 -3
  97. package/dist/esm/labs/DataView/TableLayoutContent.js.map +1 -1
  98. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +2 -0
  99. package/dist/esm/labs/OdysseyPickers/ComposablePicker.js.map +1 -1
  100. package/dist/esm/labs/OdysseyPickers/Picker.js +23 -29
  101. package/dist/esm/labs/OdysseyPickers/Picker.js.map +1 -1
  102. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +12 -11
  103. package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js.map +1 -1
  104. package/dist/esm/labs/PageTemplate/DocumentationLink.js +35 -0
  105. package/dist/esm/labs/PageTemplate/DocumentationLink.js.map +1 -0
  106. package/dist/esm/labs/PageTemplate/PageTemplate.js +22 -8
  107. package/dist/esm/labs/PageTemplate/PageTemplate.js.map +1 -1
  108. package/dist/esm/properties/ts/odyssey-react-mui.js +1 -0
  109. package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
  110. package/dist/esm/properties/ts/odyssey-react-mui_cs.js +1 -0
  111. package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
  112. package/dist/esm/properties/ts/odyssey-react-mui_da.js +1 -0
  113. package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
  114. package/dist/esm/properties/ts/odyssey-react-mui_de.js +1 -0
  115. package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
  116. package/dist/esm/properties/ts/odyssey-react-mui_el.js +1 -0
  117. package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
  118. package/dist/esm/properties/ts/odyssey-react-mui_es.js +1 -0
  119. package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
  120. package/dist/esm/properties/ts/odyssey-react-mui_fi.js +1 -0
  121. package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
  122. package/dist/esm/properties/ts/odyssey-react-mui_fr.js +1 -0
  123. package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
  124. package/dist/esm/properties/ts/odyssey-react-mui_ht.js +1 -0
  125. package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
  126. package/dist/esm/properties/ts/odyssey-react-mui_hu.js +1 -0
  127. package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
  128. package/dist/esm/properties/ts/odyssey-react-mui_id.js +1 -0
  129. package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
  130. package/dist/esm/properties/ts/odyssey-react-mui_it.js +1 -0
  131. package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
  132. package/dist/esm/properties/ts/odyssey-react-mui_ja.js +1 -0
  133. package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
  134. package/dist/esm/properties/ts/odyssey-react-mui_ko.js +1 -0
  135. package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
  136. package/dist/esm/properties/ts/odyssey-react-mui_ms.js +1 -0
  137. package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
  138. package/dist/esm/properties/ts/odyssey-react-mui_nb.js +1 -0
  139. package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
  140. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +1 -0
  141. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
  142. package/dist/esm/properties/ts/odyssey-react-mui_pl.js +1 -0
  143. package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
  144. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +1 -0
  145. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
  146. package/dist/esm/properties/ts/odyssey-react-mui_ro.js +1 -0
  147. package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
  148. package/dist/esm/properties/ts/odyssey-react-mui_ru.js +1 -0
  149. package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
  150. package/dist/esm/properties/ts/odyssey-react-mui_sv.js +1 -0
  151. package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
  152. package/dist/esm/properties/ts/odyssey-react-mui_th.js +1 -0
  153. package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
  154. package/dist/esm/properties/ts/odyssey-react-mui_tr.js +1 -0
  155. package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
  156. package/dist/esm/properties/ts/odyssey-react-mui_uk.js +1 -0
  157. package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
  158. package/dist/esm/properties/ts/odyssey-react-mui_vi.js +1 -0
  159. package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
  160. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +1 -0
  161. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
  162. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +1 -0
  163. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
  164. package/dist/esm/test-selectors/getByQuerySelector.js +1 -1
  165. package/dist/esm/test-selectors/getByQuerySelector.js.map +1 -1
  166. package/dist/esm/test-selectors/testSelector.js.map +1 -1
  167. package/dist/esm/ui-shell/NarrowUiShellContent.js +5 -3
  168. package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
  169. package/dist/esm/ui-shell/SideNav/SideNav.js +14 -6
  170. package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
  171. package/dist/esm/ui-shell/SideNav/types.js.map +1 -1
  172. package/dist/esm/ui-shell/UiShell.js +5 -2
  173. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  174. package/dist/esm/ui-shell/WideUiShellContent.js +3 -3
  175. package/dist/esm/ui-shell/WideUiShellContent.js.map +1 -1
  176. package/dist/esm/ui-shell/renderUiShell.js +12 -0
  177. package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
  178. package/dist/esm/ui-shell/uiShellContentTypes.js.map +1 -1
  179. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  180. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  181. package/dist/esm/web-component/renderReactInWebComponent.js.map +1 -1
  182. package/dist/index.cjs +231 -0
  183. package/dist/index.d.ts +233 -0
  184. package/dist/index.d.ts.map +1 -0
  185. package/dist/index.js +25 -0
  186. package/dist/index.mjs +229 -0
  187. package/dist/index.scss +549 -0
  188. package/dist/tsconfig.production.tsbuildinfo +1 -1
  189. package/dist/tsconfig.tsbuildinfo +1 -0
  190. package/dist/types/OdysseyTranslationProvider.d.ts +1 -1
  191. package/dist/types/OdysseyTranslationProvider.d.ts.map +1 -1
  192. package/dist/types/Pagination/Pagination.d.ts +1 -0
  193. package/dist/types/Pagination/Pagination.d.ts.map +1 -1
  194. package/dist/types/Pagination/usePagination.d.ts.map +1 -1
  195. package/dist/types/i18n.d.ts +28 -0
  196. package/dist/types/i18n.d.ts.map +1 -1
  197. package/dist/types/labs/OdysseyPickers/ComposablePicker.d.ts +2 -1
  198. package/dist/types/labs/OdysseyPickers/ComposablePicker.d.ts.map +1 -1
  199. package/dist/types/labs/OdysseyPickers/Picker.d.ts +6 -7
  200. package/dist/types/labs/OdysseyPickers/Picker.d.ts.map +1 -1
  201. package/dist/types/labs/OdysseyPickers/PickerWithOptionAdornment.d.ts.map +1 -1
  202. package/dist/types/labs/PageTemplate/DocumentationLink.d.ts +34 -0
  203. package/dist/types/labs/PageTemplate/DocumentationLink.d.ts.map +1 -0
  204. package/dist/types/labs/PageTemplate/PageTemplate.d.ts.map +1 -1
  205. package/dist/types/properties/ts/odyssey-react-mui.d.ts +1 -0
  206. package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  207. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +1 -0
  208. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
  209. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +1 -0
  210. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
  211. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +1 -0
  212. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
  213. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +1 -0
  214. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
  215. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +1 -0
  216. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
  217. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +1 -0
  218. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
  219. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +1 -0
  220. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
  221. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +1 -0
  222. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
  223. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +1 -0
  224. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
  225. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +1 -0
  226. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
  227. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +1 -0
  228. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
  229. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +1 -0
  230. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
  231. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +1 -0
  232. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
  233. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +1 -0
  234. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
  235. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +1 -0
  236. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
  237. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +1 -0
  238. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
  239. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +1 -0
  240. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
  241. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +1 -0
  242. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
  243. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +1 -0
  244. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
  245. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +1 -0
  246. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
  247. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +1 -0
  248. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
  249. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +1 -0
  250. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
  251. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +1 -0
  252. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
  253. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +1 -0
  254. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
  255. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +1 -0
  256. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
  257. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +1 -0
  258. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
  259. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -0
  260. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
  261. package/dist/types/test-selectors/getByQuerySelector.d.ts +73 -73
  262. package/dist/types/test-selectors/getByQuerySelector.d.ts.map +1 -1
  263. package/dist/types/test-selectors/testSelector.d.ts +1 -1
  264. package/dist/types/test-selectors/testSelector.d.ts.map +1 -1
  265. package/dist/types/ui-shell/NarrowUiShellContent.d.ts +1 -1
  266. package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
  267. package/dist/types/ui-shell/SideNav/SideNav.d.ts +1 -1
  268. package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
  269. package/dist/types/ui-shell/SideNav/types.d.ts +5 -1
  270. package/dist/types/ui-shell/SideNav/types.d.ts.map +1 -1
  271. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  272. package/dist/types/ui-shell/WideUiShellContent.d.ts +1 -1
  273. package/dist/types/ui-shell/WideUiShellContent.d.ts.map +1 -1
  274. package/dist/types/ui-shell/renderUiShell.d.ts +19 -4
  275. package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
  276. package/dist/types/ui-shell/uiShellContentTypes.d.ts +4 -0
  277. package/dist/types/ui-shell/uiShellContentTypes.d.ts.map +1 -1
  278. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  279. package/dist/types/web-component/renderReactInWebComponent.d.ts.map +1 -1
  280. package/package.json +15 -15
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- import { queries, type BoundFunctions, type ByRoleMatcher, type ByRoleOptions, type Matcher, type SelectorMatcherOptions } from "@testing-library/dom";
12
+ import { queries, type BoundFunctions, type ByRoleMatcher, type ByRoleOptions, type Matcher, type SelectorMatcherOptions } from "@testing-library/react";
13
13
  export type RoleSelectorMethod = "ByRole";
14
14
  export type TextSelectorMethod = "ByLabelText" | "ByPlaceholderText" | "ByText" | "ByAltText" | "ByTitle";
15
15
  export type QueryMethod = "find" | "get" | "query";
@@ -24,99 +24,99 @@ export declare const executeTestingLibraryMethod: <CanvasMethods extends keyof B
24
24
  getAllByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
25
25
  queryByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.QueryByText<T>>;
26
26
  queryAllByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
27
- findByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
28
- findAllByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
29
- getByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
30
- getAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
31
- queryByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
32
- queryAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
33
- findByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
34
- findAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
27
+ findByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
28
+ findAllByLabelText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
29
+ getByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
30
+ getAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
31
+ queryByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
32
+ queryAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
33
+ findByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
34
+ findAllByPlaceholderText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
35
35
  getByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.GetByText<T>>;
36
36
  getAllByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
37
37
  queryByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.QueryByText<T>>;
38
38
  queryAllByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined): ReturnType<queries.AllByText<T>>;
39
- findByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
40
- findAllByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
41
- getByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
42
- getAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
43
- queryByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
44
- queryAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
45
- findByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
46
- findAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
47
- getByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
48
- getAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
49
- queryByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
50
- queryAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
51
- findByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
52
- findAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
53
- getByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
54
- getAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
55
- queryByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
56
- queryAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
57
- findByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
58
- findAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
39
+ findByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByText<T>>;
40
+ findAllByText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByText<T>>;
41
+ getByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
42
+ getAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
43
+ queryByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
44
+ queryAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
45
+ findByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
46
+ findAllByAltText<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
47
+ getByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
48
+ getAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
49
+ queryByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
50
+ queryAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
51
+ findByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
52
+ findAllByTitle<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
53
+ getByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
54
+ getAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
55
+ queryByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
56
+ queryAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
57
+ findByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
58
+ findAllByDisplayValue<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
59
59
  getByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.GetByRole<T>>;
60
60
  getAllByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.AllByRole<T>>;
61
61
  queryByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.QueryByRole<T>>;
62
62
  queryAllByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined): ReturnType<queries.AllByRole<T>>;
63
- findByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByRole<T>>;
64
- findAllByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByRole<T>>;
65
- getByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
66
- getAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
67
- queryByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
68
- queryAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
69
- findByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
70
- findAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
63
+ findByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByRole<T>>;
64
+ findAllByRole<T extends HTMLElement = HTMLElement>(role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByRole<T>>;
65
+ getByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.GetByBoundAttribute<T>>;
66
+ getAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
67
+ queryByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.QueryByBoundAttribute<T>>;
68
+ queryAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined): ReturnType<queries.AllByBoundAttribute<T>>;
69
+ findByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindByBoundAttribute<T>>;
70
+ findAllByTestId<T extends HTMLElement = HTMLElement>(id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined): ReturnType<queries.FindAllByBoundAttribute<T>>;
71
71
  } & {
72
72
  getByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement;
73
73
  getAllByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement[];
74
74
  queryByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement | null;
75
75
  queryAllByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement[];
76
- findByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
77
- findAllByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
78
- getByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement;
79
- getAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
80
- queryByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null;
81
- queryAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
82
- findByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
83
- findAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
76
+ findByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
77
+ findAllByLabelText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
78
+ getByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
79
+ getAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
80
+ queryByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
81
+ queryAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
82
+ findByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
83
+ findAllByPlaceholderText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
84
84
  getByText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement;
85
85
  getAllByText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement[];
86
86
  queryByText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement | null;
87
87
  queryAllByText: (id: Matcher, options?: SelectorMatcherOptions | undefined) => HTMLElement[];
88
- findByText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
89
- findAllByText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
90
- getByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement;
91
- getAllByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
92
- queryByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null;
93
- queryAllByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
94
- findByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
95
- findAllByAltText: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
96
- getByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement;
97
- getAllByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
98
- queryByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null;
99
- queryAllByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
100
- findByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
101
- findAllByTitle: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
102
- getByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement;
103
- getAllByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
104
- queryByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null;
105
- queryAllByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
106
- findByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
107
- findAllByDisplayValue: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
88
+ findByText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
89
+ findAllByText: (id: Matcher, options?: SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
90
+ getByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
91
+ getAllByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
92
+ queryByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
93
+ queryAllByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
94
+ findByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
95
+ findAllByAltText: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
96
+ getByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
97
+ getAllByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
98
+ queryByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
99
+ queryAllByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
100
+ findByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
101
+ findAllByTitle: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
102
+ getByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
103
+ getAllByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
104
+ queryByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
105
+ queryAllByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
106
+ findByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
107
+ findAllByDisplayValue: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
108
108
  getByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement;
109
109
  getAllByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[];
110
110
  queryByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement | null;
111
111
  queryAllByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined) => HTMLElement[];
112
- findByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
113
- findAllByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
114
- getByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement;
115
- getAllByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
116
- queryByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement | null;
117
- queryAllByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined) => HTMLElement[];
118
- findByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement>;
119
- findAllByTestId: (id: Matcher, options?: import("@testing-library/dom").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/dom").waitForOptions | undefined) => Promise<HTMLElement[]>;
112
+ findByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
113
+ findAllByRole: (role: ByRoleMatcher, options?: queries.ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
114
+ getByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
115
+ getAllByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
116
+ queryByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
117
+ queryAllByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
118
+ findByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
119
+ findAllByTestId: (id: Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
120
120
  }, CanvasMethods>[CanvasMethods];
121
121
  export declare const getByQuerySelector: <LocalQueryMethod extends QueryMethod = "get">({ element, queryMethod, queryOptions, role, selectionMethod, text, }: {
122
122
  element: HTMLElement;
@@ -1 +1 @@
1
- {"version":3,"file":"getByQuerySelector.d.ts","sourceRoot":"","sources":["../../../src/test-selectors/getByQuerySelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,OAAO,EAEP,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAC1B,aAAa,GACb,mBAAmB,GACnB,QAAQ,GACR,WAAW,GACX,SAAS,CAAC;AAEd,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;AAEnD,MAAM,MAAM,aAAa,GACrB,WAAW,GAEX,aAAa,CAAC;AAKlB,MAAM,MAAM,aAAa,GACrB,gBAAgB,GAEhB,kBAAkB,GAIlB,sBAAsB,GAEtB,wBAAwB,GAIxB,WAAW,GAEX,aAAa,GAIb,cAAc,GAEd,gBAAgB,GAIhB,YAAY,GAEZ,cAAc,CAAC;AAKnB,eAAO,MAAM,2BAA2B,GACtC,aAAa,SAAS,MAAM,cAAc,CAAC,OAAO,OAAO,CAAC,6CAKzD;IACD,MAAM,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,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BAAgB,SAAS,WAAW,gFAQnC;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;CAC/B,GAAG,CACA;IACE,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,aAAa,CAAC;IACpB,eAAe,EAAE,kBAAkB,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GACD;IACE,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,kBAAkB,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC;CACf,CACJ,KAgB2B,gBAAgB,SAAS,KAAK,GACpD,WAAW,GACX,WAAW,GAAG,IACnB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,SAAS,WAAW,iDAKxE;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,aAAa,CAAC;CACrB,sEAOG,CAAC;AAEL,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,SAAS,WAAW,kEAMxE;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,kBAAkB,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC;CACf,sEAOG,CAAC"}
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- import { type ByRoleOptions, type SelectorMatcherOptions } from "@testing-library/dom";
12
+ import { type ByRoleOptions, type SelectorMatcherOptions } from "@testing-library/react";
13
13
  import { type RoleSelectorMethod, type TextSelectorMethod } from "./getByQuerySelector.js";
14
14
  /**
15
15
  * We can't use React's `AriaRole` because it allows any string value. We want to be very specific. This is otherwise copied straight from React's code.
@@ -1 +1 @@
1
- {"version":3,"file":"testSelector.d.ts","sourceRoot":"","sources":["../../../src/test-selectors/testSelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,aAAa,GACb,aAAa,GACb,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,UAAU,GACV,cAAc,GACd,UAAU,GACV,eAAe,GACf,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,OAAO,GACP,SAAS,GACT,KAAK,GACL,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,KAAK,GACL,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,MAAM,GACN,MAAM,GACN,QAAQ,GACR,cAAc,GACd,aAAa,GACb,OAAO,GACP,YAAY,GACZ,QAAQ,GACR,KAAK,GACL,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,WAAW,GACX,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,OAAO,GACP,SAAS,GACT,UAAU,GACV,MAAM,GACN,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,MAAM,yBAAyB,GAAG;IAAE,mBAAmB,CAAC,EAAE,IAAI,CAAA;CAAE,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,OAAO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C,CAAC;IACtD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAE7E,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,oBAAoB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC5C,MAAM,EACN,YAAY,GAAG,yBAAyB,CACzC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GACnC,aAAa,GACb,cAAc,GACd,OAAO,CAAC;AAEZ,MAAM,MAAM,sBAAsB,GAAG;IACnC,sIAAsI;IACtI,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;CAC7D,CAAC;AAEF,MAAM,MAAM,YAAY,GACpB,oBAAoB,GACpB,eAAe,GACf,CAAC,oBAAoB,GAAG,eAAe,CAAC,GACxC,CAAC,sBAAsB,GAAG,eAAe,CAAC,GAC1C,CAAC,oBAAoB,GAAG,sBAAsB,GAAG,eAAe,CAAC,CAAC"}
@@ -12,6 +12,6 @@
12
12
  import type { HtmlProps } from "../HtmlProps.js";
13
13
  import { UiShellNavComponentProps, UiShellContentProps } from "./uiShellContentTypes.js";
14
14
  export type NarrowUiShellContentProps = Pick<HtmlProps, "testId"> & Pick<UiShellNavComponentProps, "sideNavProps" | "topNavProps"> & UiShellContentProps;
15
- declare const MemoizedNarrowUiShellContent: import("react").MemoExoticComponent<({ appElement, appElementScrollingMode, hasStandardAppContentPadding, initialVisibleSections, onError, optionalComponents, sideNavProps, topNavProps, }: NarrowUiShellContentProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
15
+ declare const MemoizedNarrowUiShellContent: import("react").MemoExoticComponent<({ appElement, appElementScrollingMode, hasStandardAppContentPadding, hasSideNavProps, initialVisibleSections, onError, optionalComponents, sideNavProps, topNavProps, }: NarrowUiShellContentProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
16
16
  export { MemoizedNarrowUiShellContent as NarrowUiShellContent };
17
17
  //# sourceMappingURL=NarrowUiShellContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NarrowUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/NarrowUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAYjD,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAwMlC,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,GAC/D,IAAI,CAAC,wBAAwB,EAAE,cAAc,GAAG,aAAa,CAAC,GAC9D,mBAAmB,CAAC;AA8MtB,QAAA,MAAM,4BAA4B,+LAnM/B,yBAAyB,sDAmMmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"NarrowUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/NarrowUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAYjD,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAwMlC,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,GAC/D,IAAI,CAAC,wBAAwB,EAAE,cAAc,GAAG,aAAa,CAAC,GAC9D,mBAAmB,CAAC;AAgNtB,QAAA,MAAM,4BAA4B,gNApM/B,yBAAyB,sDAoMmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
@@ -12,6 +12,6 @@
12
12
  import type { SideNavProps } from "./types.js";
13
13
  export declare const SIDE_NAV_COLLAPSED_PADDING_HIGHLIGHTED = 12;
14
14
  export declare const SIDE_NAV_COLLAPSED_PADDING_UNHIGHLIGHTED = 2;
15
- declare const MemoizedSideNav: import("react").MemoExoticComponent<({ appName, footerComponent, footerItems, hasCustomFooter, isCollapsible, isCollapsed, isCompact, isLoading, isObtrusive, logoProps, onCollapse, onExpand, onSort, sideNavItems, }: SideNavProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
15
+ declare const MemoizedSideNav: import("react").MemoExoticComponent<({ appName, footerComponent, footerItems, hasCustomFooter, hasSessionStorageState, isCollapsible, isCollapsed, isCompact, isLoading, isObtrusive, logoProps, onCollapse, onExpand, onSort, sideNavItems, }: SideNavProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
16
16
  export { MemoizedSideNav as SideNav };
17
17
  //# sourceMappingURL=SideNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6B/C,eAAO,MAAM,sCAAsC,KAAK,CAAC;AACzD,eAAO,MAAM,wCAAwC,IAAI,CAAC;AA24B1D,QAAA,MAAM,eAAe,0NAhiBlB,YAAY,sDAgiBsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6B/C,eAAO,MAAM,sCAAsC,KAAK,CAAC;AACzD,eAAO,MAAM,wCAAwC,IAAI,CAAC;AAm6B1D,QAAA,MAAM,eAAe,kPAvjBlB,YAAY,sDAujBsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
@@ -60,6 +60,10 @@ export type SideNavProps = {
60
60
  * Side Nav header text that is usually reserved to show the App name
61
61
  */
62
62
  appName?: string;
63
+ /**
64
+ * If we want the collapse state to be based on session storage, then this needs to be `true`.
65
+ */
66
+ hasSessionStorageState?: boolean;
63
67
  /**
64
68
  * Determines whether the side nav is collapsible
65
69
  */
@@ -101,7 +105,7 @@ export type SideNavProps = {
101
105
  /**
102
106
  * Nav items in the side nav
103
107
  */
104
- sideNavItems: SideNavItem[];
108
+ sideNavItems?: SideNavItem[];
105
109
  } & ({
106
110
  /**
107
111
  * The component to display as the footer; if present the `footerItems` are ignored and not rendered.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AACF,KAAK,cAAc,GAAG;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC3C,GAAG,CAAC,YAAY,GAAG,cAAc,CAAC,GACjC,CACI;IACE;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;IAC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AM,6CAA6C,CAAC;AAIrF,OAAO,EAAmB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,uBAAuB,EAExB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,wBAG1B,CAAC;AAIX,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;IAC3C;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC;;;;;OAKG;IACH,sBAAsB,EAAE,UAAU,CAChC,cAAc,CAAC,wBAAwB,CAAC,CACzC,CAAC,WAAW,CAAC,CAAC;IACf;;OAEG;IACH,iBAAiB,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACvD;;OAEG;IACH,oBAAoB,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;CAC9D,GAAG,oBAAoB,GACtB,IAAI,CACF,mBAAmB,EACjB,YAAY,GACZ,yBAAyB,GACzB,8BAA8B,GAC9B,wBAAwB,GACxB,SAAS,GACT,oBAAoB,CACvB,CAAC;AA+GJ,QAAA,MAAM,eAAe,0bAnFlB,YAAY,6DAmFsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
@@ -11,6 +11,6 @@
11
11
  */
12
12
  import { UiShellNavComponentProps, UiShellContentProps } from "./uiShellContentTypes.js";
13
13
  export type WideUiShellContentProps = UiShellNavComponentProps & UiShellContentProps;
14
- declare const MemoizedWideUiShellContent: import("react").MemoExoticComponent<({ appElement, appElementScrollingMode, appSwitcherProps, hasStandardAppContentPadding, initialVisibleSections, onError, optionalComponents, sideNavProps, topNavProps, }: WideUiShellContentProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
14
+ declare const MemoizedWideUiShellContent: import("react").MemoExoticComponent<({ appElement, appElementScrollingMode, appSwitcherProps, hasStandardAppContentPadding, hasSideNavProps, initialVisibleSections, onError, optionalComponents, sideNavProps, topNavProps, }: WideUiShellContentProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
15
15
  export { MemoizedWideUiShellContent as WideUiShellContent };
16
16
  //# sourceMappingURL=WideUiShellContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WideUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/WideUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiBH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAqDlC,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,GAC5D,mBAAmB,CAAC;AA6ItB,QAAA,MAAM,0BAA0B,iNA1H7B,uBAAuB,sDA0HiC,CAAC;AAG5D,OAAO,EAAE,0BAA0B,IAAI,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"WideUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/WideUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiBH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAoDlC,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,GAC5D,mBAAmB,CAAC;AA6ItB,QAAA,MAAM,0BAA0B,kOAzH7B,uBAAuB,sDAyHiC,CAAC;AAG5D,OAAO,EAAE,0BAA0B,IAAI,kBAAkB,EAAE,CAAC"}
@@ -10,9 +10,20 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { type SetStateAction } from "react";
13
+ import { bufferLatest } from "./bufferLatest.js";
14
+ import { PublishMessage } from "./createMessageBus.js";
13
15
  import { UiShellProps } from "./UiShell.js";
14
16
  import { UiShellNavComponentProps } from "./uiShellContentTypes.js";
17
+ import { renderReactInWebComponent } from "../web-component/renderReactInWebComponent.js";
15
18
  export declare const optionalComponentSlotNames: Record<keyof Required<UiShellProps>["optionalComponents"], string>;
19
+ export type SlottedElements = Record<keyof Required<UiShellProps>["optionalComponents"], HTMLDivElement>;
20
+ export type RenderedUiShell = {
21
+ closeRightSideMenu: PublishMessage<void>;
22
+ closeSideNavMenu: PublishMessage<void>;
23
+ setComponentProps: ReturnType<typeof bufferLatest<SetStateAction<UiShellNavComponentProps>>>;
24
+ slottedElements: SlottedElements;
25
+ uiShellElement: ReturnType<typeof renderReactInWebComponent>;
26
+ } & Partial<Pick<UiShellProps, "appElement">>;
16
27
  /**
17
28
  * This function renders UI Shell in a web component.
18
29
  * This function is agnostic to the UI framework for your app is using. Your application can be another web component, a React app, or even vanilla HTML.
@@ -22,21 +33,25 @@ export declare const optionalComponentSlotNames: Record<keyof Required<UiShellPr
22
33
  * It places your app's root element in a web component <slot> and ensures it remains rendered in the event of a UI Shell error.
23
34
  * It also provides you with other elements fitted to slots in the web component. **In React, you can portal to these components.**
24
35
  */
25
- export declare const renderUiShell: ({ appBackgroundColor, appBackgroundContrastMode, appElement: providedAppElement, appElementScrollingMode, breakpointConfig, hasStandardAppContentPadding, initialVisibleSections, onError, parentElement, sideNavBackgroundColor, topNavBackgroundColor, }: {
36
+ export declare const renderUiShell: ({ appBackgroundColor, appBackgroundContrastMode, appElement: providedAppElement, appElementScrollingMode, breakpointConfig, hasStandardAppContentPadding, initialVisibleSections, onError, onRender, parentElement, sideNavBackgroundColor, topNavBackgroundColor, }: {
26
37
  /**
27
38
  * Notifies when a React rendering error occurs. This could be useful for logging, reporting priority 0 issues, and recovering UI Shell when errors occur.
28
39
  */
29
40
  onError?: () => void;
41
+ /**
42
+ * Notify once when React has rendered UI Shell the first time.
43
+ */
44
+ onRender?: (renderedUiShell: RenderedUiShell) => void;
30
45
  /**
31
46
  * HTML element used as the container for UI Shell and the App. They're siblings inside this element.
32
47
  */
33
48
  parentElement: HTMLElement;
34
49
  } & Pick<UiShellProps, "appBackgroundColor" | "appBackgroundContrastMode" | "appElementScrollingMode" | "breakpointConfig" | "hasStandardAppContentPadding" | "initialVisibleSections" | "sideNavBackgroundColor" | "topNavBackgroundColor"> & Partial<Pick<UiShellProps, "appElement">>) => {
35
50
  appElement: HTMLDivElement;
36
- closeRightSideMenu: import("./createMessageBus.js").PublishMessage<void>;
37
- closeSideNavMenu: import("./createMessageBus.js").PublishMessage<void>;
51
+ closeRightSideMenu: PublishMessage<void>;
52
+ closeSideNavMenu: PublishMessage<void>;
38
53
  setComponentProps: (value: SetStateAction<UiShellNavComponentProps>) => void;
39
- slottedElements: Record<"banners" | "topNavLeftSide" | "sideNavFooter" | "rightSideMenu" | "topNavRightSide", HTMLDivElement>;
54
+ slottedElements: SlottedElements;
40
55
  uiShellElement: import("../web-component/renderReactInWebComponent.js").WebComponentClass;
41
56
  };
42
57
  //# sourceMappingURL=renderUiShell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderUiShell.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/renderUiShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,EAAW,YAAY,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAIpE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAC7C,MAAM,QAAQ,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,EAClD,MAAM,CAOP,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,+PAYvB;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,WAAW,CAAC;CAC5B,GAAG,IAAI,CACN,YAAY,EACV,oBAAoB,GACpB,2BAA2B,GAC3B,yBAAyB,GACzB,kBAAkB,GAClB,8BAA8B,GA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avB;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,IAAI,CAAC;IACtD;;OAEG;IACH,aAAa,EAAE,WAAW,CAAC;CAC5B,GAAG,IAAI,CACN,YAAY,EACV,oBAAoB,GACpB,2BAA2B,GAC3B,yBAAyB,GACzB,kBAAkB,GAClB,8BAA8B,GAC9B,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,CAC1B,GACC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;;;;;;CAuG1C,CAAC"}
@@ -51,6 +51,10 @@ export type UiShellContentProps = {
51
51
  * Most apps will want to use `"vertical"` and let UI Shell manage scrolling behavior.
52
52
  */
53
53
  appElementScrollingMode: "none" | "horizontal" | "vertical" | "both";
54
+ /**
55
+ * Says if `sideNavProps` has been passed in. This is important for rendering as we will override `sideNavProps` internally, but we need to know if they were passed in for showing the loading state.
56
+ */
57
+ hasSideNavProps: boolean;
54
58
  /**
55
59
  * Defaults to `true`.
56
60
  *
@@ -1 +1 @@
1
- {"version":3,"file":"uiShellContentTypes.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/uiShellContentTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,+CAAgD,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,MAAM,MAAM,w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C;QAClD;;WAEG;QACH,eAAe,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,CAAC;KACrD,CAAC;CACH,CAAC"}
@@ -14,6 +14,6 @@
14
14
  * This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten
15
15
  * This script only needs to be run during release, and shouldn't be used during local development.
16
16
  */
17
- declare const _default: "1-36-1";
17
+ declare const _default: "1-37-1";
18
18
  export default _default;
19
19
  //# sourceMappingURL=odysseyWebComponentVersion.generated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderReactInWebComponent.d.ts","sourceRoot":"","sources":["../../../src/web-component/renderReactInWebComponent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,8BAA8B,CAAC;AAEtC,UAAU,2BAA2B;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,SAAS,CAAC;CACxE;AAGD,eAAO,MAAM,6BAA6B,qCAAqC,CAAC;AAEhF,eAAO,MAAM,yBAAyB,QACkB,CAAC;AAEzD,QAAA,MAAM,2BAA2B;;;CAG2B,CAAC;AAE7D,qBAAa,iBAAkB,SAAQ,2BAA2B;;IAGhE,SAAgB,WAAW,EAAE,MAAM,CAAkB;IAE9C,gBAAgB,EAAE,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAyB;;IAuBtE;;;;;OAKG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,+BAA+B;IAcvE,iBAAiB;IA0BjB,oBAAoB;CAcrB;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,6CAG9B,2BAA2B,sBAc7B,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAC5C,iBAAiB,EAAE,iBAAiB,KACjC,SAAS,CAAC;AAEf,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,iBAAiB,EAAE,+BAA+B,CAAC;IACnD;;;;;;;OAOG;IACH,oBAAoB,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;CACpD,GAAG,CACA;IACE;;;;OAIG;IACH,yBAAyB,EAAE,WAAW,CAAC;IACvC,uBAAuB,CAAC,EAAE,KAAK,CAAC;CACjC,GACD;IACE,yBAAyB,CAAC,EAAE,WAAW,CAAC;IACxC;;OAEG;IACH,uBAAuB,EAAE,WAAW,CAAC;CACtC,CACJ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uHAMnC,8BAA8B,sBAwBhC,CAAC"}
1
+ {"version":3,"file":"renderReactInWebComponent.d.ts","sourceRoot":"","sources":["../../../src/web-component/renderReactInWebComponent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,8BAA8B,CAAC;AAEtC,UAAU,2BAA2B;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,SAAS,CAAC;CACxE;AAGD,eAAO,MAAM,6BAA6B,qCAAqC,CAAC;AAGhF,eAAO,MAAM,yBAAyB,QACkB,CAAC;AAEzD,QAAA,MAAM,2BAA2B;;;CAG2B,CAAC;AAE7D,qBAAa,iBAAkB,SAAQ,2BAA2B;;IAGhE,SAAgB,WAAW,EAAE,MAAM,CAAkB;IAE9C,gBAAgB,EAAE,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAyB;;IAuBtE;;;;;OAKG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,+BAA+B;IAcvE,iBAAiB;IA0BjB,oBAAoB;CAcrB;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,6CAG9B,2BAA2B,sBAc7B,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAC5C,iBAAiB,EAAE,iBAAiB,KACjC,SAAS,CAAC;AAEf,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,iBAAiB,EAAE,+BAA+B,CAAC;IACnD;;;;;;;OAOG;IACH,oBAAoB,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;CACpD,GAAG,CACA;IACE;;;;OAIG;IACH,yBAAyB,EAAE,WAAW,CAAC;IACvC,uBAAuB,CAAC,EAAE,KAAK,CAAC;CACjC,GACD;IACE,yBAAyB,CAAC,EAAE,WAAW,CAAC;IACxC;;OAEG;IACH,uBAAuB,EAAE,WAAW,CAAC;CACtC,CACJ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uHAMnC,8BAA8B,sBAwBhC,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@okta/odyssey-react-mui",
3
- "version": "1.36.1",
3
+ "version": "1.37.1",
4
4
  "description": "React MUI components for Odyssey, Okta's design system",
5
5
  "author": "Okta, Inc.",
6
6
  "license": "Apache-2.0",
7
- "sideEffects": false,
7
+ "sideEffects": [
8
+ "./src/i18n.ts"
9
+ ],
8
10
  "type": "module",
9
11
  "types": "dist/types/index.d.ts",
10
12
  "browser": "dist/cjs/index.cjs",
@@ -120,7 +122,7 @@
120
122
  "@mui/system": "^5.17.1",
121
123
  "@mui/utils": "^5.17.1",
122
124
  "@mui/x-date-pickers": "^7.2.0",
123
- "@okta/odyssey-design-tokens": "1.36.1",
125
+ "@okta/odyssey-design-tokens": "1.37.1",
124
126
  "@types/luxon": "^3.4.2",
125
127
  "date-fns": "^2.30.0",
126
128
  "dom-accessibility-api": "^0.7.0",
@@ -138,30 +140,28 @@
138
140
  "@babel/preset-env": "^7.26.0",
139
141
  "@babel/preset-react": "^7.26.3",
140
142
  "@babel/preset-typescript": "^7.26.0",
141
- "@okta/browserslist-config-odyssey": "1.36.1",
143
+ "@okta/browserslist-config-odyssey": "1.37.1",
142
144
  "@okta/odyssey-icons": "workspace:*",
143
145
  "@okta/odyssey-typescript": "workspace:*",
144
146
  "@svgr/cli": "^7.0.0",
145
- "@testing-library/dom": "^10.4.0",
146
147
  "@testing-library/jest-dom": "^6.6.3",
147
- "@testing-library/react": "^16.0.1",
148
- "@testing-library/user-event": "^14.5.2",
148
+ "@testing-library/react": "^16.3.0",
149
+ "@testing-library/user-event": "^14.6.1",
149
150
  "@types/jest-axe": "^3.5.9",
150
151
  "@types/react": "^18.3.12",
151
152
  "@types/react-dom": "^18.3.1",
152
153
  "@types/react-virtualized-auto-sizer": "^1.0.4",
153
154
  "@types/react-window": "^1.8.8",
154
- "@vitejs/plugin-react": "^4.3.4",
155
- "@vitest/browser": "^3.1.1",
156
- "@vitest/coverage-v8": "^3.1.1",
157
- "@vitest/ui": "^3.1.1",
155
+ "@vitest/browser": "^3.1.3",
156
+ "@vitest/coverage-v8": "^3.1.3",
157
+ "@vitest/ui": "^3.1.3",
158
158
  "babel-plugin-import": "^1.13.8",
159
159
  "babel-plugin-replace-import-extension": "^1.1.4",
160
160
  "chokidar-cli": "^3.0.0",
161
161
  "concurrently": "^8.2.2",
162
- "happy-dom": "^17.1.9",
163
162
  "jest-axe": "^5.0.1",
164
- "playwright": "^1.51.1",
163
+ "jsdom": "^26.1.0",
164
+ "playwright": "^1.52.0",
165
165
  "properties": "1.2.1",
166
166
  "react": "^18.3.1",
167
167
  "react-dom": "^18.3.1",
@@ -170,12 +170,12 @@
170
170
  "tsd": "^0.31.2",
171
171
  "tsx": "^4.7.3",
172
172
  "typescript": "^5.6.3",
173
- "vitest": "^3.1.1",
173
+ "vitest": "^3.1.3",
174
174
  "yargs": "^17.7.2"
175
175
  },
176
176
  "peerDependencies": {
177
177
  "react": "^18.3.1",
178
178
  "react-dom": "^18.3.1"
179
179
  },
180
- "gitHead": "b02afd7c90f3279d9dfc70225f31968f380ecda6"
180
+ "gitHead": "fab3300ee3e2215783c750f9567b5a8c632bb1e0"
181
181
  }