@oracle/oraclejet-preact 14.1.12 → 14.1.14

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 (1225) hide show
  1. package/amd/Badge-1314e17b.js +2 -0
  2. package/amd/{Badge-8ff2cf94.js.map → Badge-1314e17b.js.map} +1 -1
  3. package/amd/BaseButton-6b15cf96.js +2 -0
  4. package/amd/{BaseButton-ad209065.js.map → BaseButton-6b15cf96.js.map} +1 -1
  5. package/amd/Button-6236e6b9.js +2 -0
  6. package/amd/{Button-91d1d81d.js.map → Button-6236e6b9.js.map} +1 -1
  7. package/amd/Chip-affe03d5.js +2 -0
  8. package/amd/{Chip-95103689.js.map → Chip-affe03d5.js.map} +1 -1
  9. package/amd/ClearIcon-af60dbf1.js +2 -0
  10. package/amd/{ClearIcon-c3d6d99c.js.map → ClearIcon-af60dbf1.js.map} +1 -1
  11. package/amd/{Collection-4c905202.js → Collection-0700cc46.js} +1 -1
  12. package/amd/{Collection-4c905202.js.map → Collection-0700cc46.js.map} +1 -1
  13. package/amd/ComponentMessage-998dad2a.js +2 -0
  14. package/amd/{ComponentMessage-fae17309.js.map → ComponentMessage-998dad2a.js.map} +1 -1
  15. package/amd/ComponentMessageContainer-329000c3.js +2 -0
  16. package/amd/{ComponentMessageContainer-76688ce8.js.map → ComponentMessageContainer-329000c3.js.map} +1 -1
  17. package/amd/Divider-b379301f.js +2 -0
  18. package/amd/{Divider-f5cadc49.js.map → Divider-b379301f.js.map} +1 -1
  19. package/amd/{FilePicker-ef0aba79.js → FilePicker-ad26067d.js} +2 -2
  20. package/amd/{FilePicker-ef0aba79.js.map → FilePicker-ad26067d.js.map} +1 -1
  21. package/amd/Flex-e3a46a36.js +2 -0
  22. package/amd/{Flex-6371a66e.js.map → Flex-e3a46a36.js.map} +1 -1
  23. package/amd/{Floating-fd3596ba.js → Floating-1e70bca1.js} +2 -2
  24. package/amd/{Floating-fd3596ba.js.map → Floating-1e70bca1.js.map} +1 -1
  25. package/amd/FocusTrap-5a3a8c7d.js +2 -0
  26. package/amd/{FocusTrap-fc22ca7f.js.map → FocusTrap-5a3a8c7d.js.map} +1 -1
  27. package/amd/FormControlUtils-9994f9d8.js +2 -0
  28. package/amd/{FormControlUtils-89bbec0e.js.map → FormControlUtils-9994f9d8.js.map} +1 -1
  29. package/amd/Heading-e3c38ed8.js +2 -0
  30. package/amd/{Heading-8a696583.js.map → Heading-e3c38ed8.js.map} +1 -1
  31. package/amd/{HiddenAccessible-5d3d6af2.js → HiddenAccessible-cc2e72c9.js} +2 -2
  32. package/amd/{HiddenAccessible-5d3d6af2.js.map → HiddenAccessible-cc2e72c9.js.map} +1 -1
  33. package/amd/HighlightText-f5e447be.js +2 -0
  34. package/amd/{HighlightText-de1bf4e2.js.map → HighlightText-f5e447be.js.map} +1 -1
  35. package/amd/Icon-7291b5d0.js +2 -0
  36. package/amd/{Icon-74af3581.js.map → Icon-7291b5d0.js.map} +1 -1
  37. package/amd/Indexer-48f2ffaf.js +2 -0
  38. package/amd/{Indexer-8127ab0b.js.map → Indexer-48f2ffaf.js.map} +1 -1
  39. package/amd/InlineHelpSource-64823c0a.js +2 -0
  40. package/amd/{InlineHelpSource-875a4918.js.map → InlineHelpSource-64823c0a.js.map} +1 -1
  41. package/amd/Link-6b540e26.js +2 -0
  42. package/amd/{Link-5791e5d2.js.map → Link-6b540e26.js.map} +1 -1
  43. package/amd/List-24031444.js +2 -0
  44. package/amd/{List-96b73e43.js.map → List-24031444.js.map} +1 -1
  45. package/amd/ListItemTextLayout-c07cfa97.js +2 -0
  46. package/amd/{ListItemTextLayout-13f774d7.js.map → ListItemTextLayout-c07cfa97.js.map} +1 -1
  47. package/amd/{ListView-e4ca850e.js → ListView-7bdb2a90.js} +2 -2
  48. package/amd/{ListView-e4ca850e.js.map → ListView-7bdb2a90.js.map} +1 -1
  49. package/amd/{LoadMoreCollection-5a3b8603.js → LoadMoreCollection-d53c66bf.js} +2 -2
  50. package/amd/{LoadMoreCollection-5a3b8603.js.map → LoadMoreCollection-d53c66bf.js.map} +1 -1
  51. package/amd/Menu-34c29ef1.js +2 -0
  52. package/amd/{Menu-e2d86969.js.map → Menu-34c29ef1.js.map} +1 -1
  53. package/amd/MenuDivider-a8b35c07.js +2 -0
  54. package/amd/{MenuDivider-4be95253.js.map → MenuDivider-a8b35c07.js.map} +1 -1
  55. package/amd/MenuItem-792282d6.js +2 -0
  56. package/amd/{MenuItem-bfe0ea61.js.map → MenuItem-792282d6.js.map} +1 -1
  57. package/amd/{Message.types-dc4dcc2b.js → Message.types-7cf67e6b.js} +1 -1
  58. package/amd/{Message.types-dc4dcc2b.js.map → Message.types-7cf67e6b.js.map} +1 -1
  59. package/amd/MessageCloseButton-80019999.js +2 -0
  60. package/amd/{MessageCloseButton-9761b231.js.map → MessageCloseButton-80019999.js.map} +1 -1
  61. package/amd/MessageDetail-520bf217.js +2 -0
  62. package/amd/{MessageDetail-231e34ef.js.map → MessageDetail-520bf217.js.map} +1 -1
  63. package/amd/{MessageFormattingUtils-daf0e8f9.js → MessageFormattingUtils-522eafdf.js} +2 -2
  64. package/amd/{MessageFormattingUtils-daf0e8f9.js.map → MessageFormattingUtils-522eafdf.js.map} +1 -1
  65. package/amd/MessageLayer-0bf829da.js +2 -0
  66. package/amd/{MessageLayer-12ae4390.js.map → MessageLayer-0bf829da.js.map} +1 -1
  67. package/amd/MessageStartIcon-f0caac42.js +2 -0
  68. package/amd/{MessageStartIcon-8c35d9bf.js.map → MessageStartIcon-f0caac42.js.map} +1 -1
  69. package/amd/MessageSummary-1fe58d25.js +2 -0
  70. package/amd/{MessageSummary-65ddf192.js.map → MessageSummary-1fe58d25.js.map} +1 -1
  71. package/amd/MessageTimestamp-0324ebac.js +2 -0
  72. package/amd/{MessageTimestamp-28a44775.js.map → MessageTimestamp-0324ebac.js.map} +1 -1
  73. package/amd/MessageToast-445ace90.js +2 -0
  74. package/amd/{MessageToast-4091d475.js.map → MessageToast-445ace90.js.map} +1 -1
  75. package/amd/{MessageUtils-2a44c5f1.js → MessageUtils-83d741c6.js} +2 -2
  76. package/amd/{MessageUtils-2a44c5f1.js.map → MessageUtils-83d741c6.js.map} +1 -1
  77. package/amd/{MessagesManager-3038f8bc.js → MessagesManager-92a31926.js} +2 -2
  78. package/amd/{MessagesManager-3038f8bc.js.map → MessagesManager-92a31926.js.map} +1 -1
  79. package/amd/MeterCircle-5b84fd3d.js +2 -0
  80. package/amd/{MeterCircle-74c0eff3.js.map → MeterCircle-5b84fd3d.js.map} +1 -1
  81. package/amd/Modal-2ffa504c.js +2 -0
  82. package/amd/{Modal-f2d86779.js.map → Modal-2ffa504c.js.map} +1 -1
  83. package/amd/{NumberInputText-10cb34fe.js → NumberInputText-05cc2405.js} +2 -2
  84. package/amd/{NumberInputText-10cb34fe.js.map → NumberInputText-05cc2405.js.map} +1 -1
  85. package/amd/PRIVATE_Collection/__tests__/Collection.spec.js +1 -1
  86. package/amd/PRIVATE_Collection.js +1 -1
  87. package/amd/PRIVATE_List/__tests__/List.spec.js +1 -1
  88. package/amd/PRIVATE_List.css +15 -15
  89. package/amd/PRIVATE_List.js +1 -1
  90. package/amd/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +1 -1
  91. package/amd/PRIVATE_Message/__tests__/MessageDetail.spec.js +1 -1
  92. package/amd/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +1 -1
  93. package/amd/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +1 -1
  94. package/amd/PRIVATE_Message/__tests__/MessageSummary.spec.js +1 -1
  95. package/amd/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +1 -1
  96. package/amd/PRIVATE_Message/__tests__/MessageUtils.spec.js +1 -1
  97. package/amd/PRIVATE_Message/__tests__/MessagesManager.spec.js +1 -1
  98. package/amd/PRIVATE_Message.css +27 -27
  99. package/amd/PRIVATE_Message.js +1 -1
  100. package/amd/PRIVATE_Message.js.map +1 -1
  101. package/amd/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +1 -1
  102. package/amd/PRIVATE_MessageLayer.css +7 -7
  103. package/amd/PRIVATE_MessageLayer.js +1 -1
  104. package/amd/PRIVATE_Meter.js +1 -1
  105. package/amd/PRIVATE_SelectCommon.css +13 -13
  106. package/amd/PRIVATE_SelectCommon.js +1 -1
  107. package/amd/PRIVATE_SelectCommon.js.map +1 -1
  108. package/amd/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +1 -1
  109. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  110. package/amd/ReadonlyTextFieldInput-35c69ee9.js +2 -0
  111. package/amd/{ReadonlyTextFieldInput-11f5ee65.js.map → ReadonlyTextFieldInput-35c69ee9.js.map} +1 -1
  112. package/amd/SelectMenuItem-127bc6db.js +2 -0
  113. package/amd/{SelectMenuItem-4d6d9a13.js.map → SelectMenuItem-127bc6db.js.map} +1 -1
  114. package/amd/SelectMultiple-dbf78e8a.js +2 -0
  115. package/amd/{SelectMultiple-190f6a20.js.map → SelectMultiple-dbf78e8a.js.map} +1 -1
  116. package/amd/{SelectSingle-21dc4cbc.js → SelectSingle-23b59c0d.js} +2 -2
  117. package/amd/{SelectSingle-21dc4cbc.js.map → SelectSingle-23b59c0d.js.map} +1 -1
  118. package/amd/Skeleton-65cc3876.js +2 -0
  119. package/amd/{Skeleton-68cdd7b6.js.map → Skeleton-65cc3876.js.map} +1 -1
  120. package/amd/{Spacer-c92d6c6a.js → Spacer-404a0362.js} +2 -2
  121. package/amd/{Spacer-c92d6c6a.js.map → Spacer-404a0362.js.map} +1 -1
  122. package/amd/SplitMenuButton-92604c77.js +2 -0
  123. package/amd/{SplitMenuButton-09096b77.js.map → SplitMenuButton-92604c77.js.map} +1 -1
  124. package/amd/{Subheading-c7304287.js → Subheading-892dfa1f.js} +2 -2
  125. package/amd/{Subheading-c7304287.js.map → Subheading-892dfa1f.js.map} +1 -1
  126. package/amd/Text-6ee93c22.js +2 -0
  127. package/amd/{Text-ab6d74dc.js.map → Text-6ee93c22.js.map} +1 -1
  128. package/amd/TextArea-34a5b07c.js +2 -0
  129. package/amd/{TextArea-dc934b4c.js.map → TextArea-34a5b07c.js.map} +1 -1
  130. package/amd/{TextAreaAutosize-900a808e.js → TextAreaAutosize-db3c4619.js} +2 -2
  131. package/amd/{TextAreaAutosize-900a808e.js.map → TextAreaAutosize-db3c4619.js.map} +1 -1
  132. package/amd/TextFieldInput-9e3759b7.js +2 -0
  133. package/amd/{TextFieldInput-f500e158.js.map → TextFieldInput-9e3759b7.js.map} +1 -1
  134. package/amd/UNSAFE_AspectRatio.css +1 -1
  135. package/amd/UNSAFE_AspectRatio.js +1 -1
  136. package/amd/UNSAFE_Avatar/__tests__/Avatar.spec.js +1 -1
  137. package/amd/UNSAFE_Avatar.css +8 -8
  138. package/amd/UNSAFE_Avatar.js +1 -1
  139. package/amd/UNSAFE_Avatar.js.map +1 -1
  140. package/amd/UNSAFE_Badge/__tests__/Badge.spec.js +1 -1
  141. package/amd/UNSAFE_Badge.css +13 -13
  142. package/amd/UNSAFE_Badge.js +1 -1
  143. package/amd/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +1 -1
  144. package/amd/UNSAFE_BaseButton.css +15 -15
  145. package/amd/UNSAFE_BaseButton.js +1 -1
  146. package/amd/UNSAFE_Button/__tests__/Button.spec.js +1 -1
  147. package/amd/UNSAFE_Button.css +7 -7
  148. package/amd/UNSAFE_Button.js +1 -1
  149. package/amd/UNSAFE_Center.js +1 -1
  150. package/amd/UNSAFE_Chip/__tests__/Chip.spec.js +1 -1
  151. package/amd/UNSAFE_Chip.css +7 -7
  152. package/amd/UNSAFE_Chip.js +1 -1
  153. package/amd/UNSAFE_Collapsible.css +8 -8
  154. package/amd/UNSAFE_Collapsible.js +1 -1
  155. package/amd/UNSAFE_Collapsible.js.map +1 -1
  156. package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +1 -1
  157. package/amd/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +1 -1
  158. package/amd/UNSAFE_ComponentMessage.css +2 -2
  159. package/amd/UNSAFE_ComponentMessage.js +1 -1
  160. package/amd/UNSAFE_Divider/__tests__/Divider.spec.js +1 -1
  161. package/amd/UNSAFE_Divider.css +1 -1
  162. package/amd/UNSAFE_Divider.js +1 -1
  163. package/amd/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +1 -1
  164. package/amd/UNSAFE_FilePicker.css +6 -6
  165. package/amd/UNSAFE_FilePicker.js +1 -1
  166. package/amd/UNSAFE_Flex/__tests__/Flex.spec.js +1 -1
  167. package/amd/UNSAFE_Flex.css +2 -2
  168. package/amd/UNSAFE_Flex.js +1 -1
  169. package/amd/UNSAFE_Floating/__tests__/Floating.spec.js +1 -1
  170. package/amd/UNSAFE_Floating.js +1 -1
  171. package/amd/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +1 -1
  172. package/amd/UNSAFE_FocusTrap.css +2 -2
  173. package/amd/UNSAFE_FocusTrap.js +1 -1
  174. package/amd/UNSAFE_Grid.css +1 -1
  175. package/amd/UNSAFE_Grid.js +1 -1
  176. package/amd/UNSAFE_Heading/__test__/Heading.spec.js +1 -1
  177. package/amd/UNSAFE_Heading.css +9 -9
  178. package/amd/UNSAFE_Heading.js +1 -1
  179. package/amd/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +1 -1
  180. package/amd/UNSAFE_HiddenAccessible.css +1 -1
  181. package/amd/UNSAFE_HiddenAccessible.js +1 -1
  182. package/amd/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +1 -1
  183. package/amd/UNSAFE_HighlightText.css +1 -1
  184. package/amd/UNSAFE_HighlightText.js +1 -1
  185. package/amd/UNSAFE_Icon/__tests__/Icon.spec.js +1 -1
  186. package/amd/UNSAFE_Icon/__tests__/Icons.spec.js +1 -1
  187. package/amd/UNSAFE_Icon.css +8 -8
  188. package/amd/UNSAFE_Icon.js +1 -1
  189. package/amd/UNSAFE_Icons.js +1 -1
  190. package/amd/UNSAFE_Indexer/__tests__/Indexer.spec.js +1 -1
  191. package/amd/UNSAFE_Indexer.css +7 -7
  192. package/amd/UNSAFE_Indexer.js +1 -1
  193. package/amd/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +1 -1
  194. package/amd/UNSAFE_InputPassword.css +1 -1
  195. package/amd/UNSAFE_InputPassword.js +1 -1
  196. package/amd/UNSAFE_InputPassword.js.map +1 -1
  197. package/amd/UNSAFE_InputText.css +1 -1
  198. package/amd/UNSAFE_InputText.js +1 -1
  199. package/amd/UNSAFE_Label.css +13 -13
  200. package/amd/UNSAFE_Label.js +1 -1
  201. package/amd/UNSAFE_Label.js.map +1 -1
  202. package/amd/UNSAFE_LabelValueLayout.css +9 -9
  203. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  204. package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
  205. package/amd/UNSAFE_Link/__tests__/Link.spec.js +1 -1
  206. package/amd/UNSAFE_Link.css +5 -5
  207. package/amd/UNSAFE_Link.js +1 -1
  208. package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +1 -1
  209. package/amd/UNSAFE_ListItemLayout.css +9 -9
  210. package/amd/UNSAFE_ListItemLayout.js +1 -1
  211. package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +1 -1
  212. package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +1 -1
  213. package/amd/UNSAFE_ListView.js +1 -1
  214. package/amd/UNSAFE_LiveRegion.css +1 -1
  215. package/amd/UNSAFE_LiveRegion.js +1 -1
  216. package/amd/UNSAFE_LiveRegion.js.map +1 -1
  217. package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
  218. package/amd/UNSAFE_LoadMoreCollection.js +1 -1
  219. package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
  220. package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
  221. package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
  222. package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
  223. package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
  224. package/amd/UNSAFE_Menu.css +23 -23
  225. package/amd/UNSAFE_Menu.js +1 -1
  226. package/amd/UNSAFE_MessageBanner.js +1 -1
  227. package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
  228. package/amd/UNSAFE_MessageToast.css +1 -1
  229. package/amd/UNSAFE_MessageToast.js +1 -1
  230. package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
  231. package/amd/UNSAFE_MeterBar.css +44 -44
  232. package/amd/UNSAFE_MeterBar.js +1 -1
  233. package/amd/UNSAFE_MeterBar.js.map +1 -1
  234. package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
  235. package/amd/UNSAFE_MeterCircle.css +46 -46
  236. package/amd/UNSAFE_MeterCircle.js +1 -1
  237. package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
  238. package/amd/UNSAFE_Modal.css +3 -3
  239. package/amd/UNSAFE_Modal.js +1 -1
  240. package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
  241. package/amd/UNSAFE_NumberInputText.js +1 -1
  242. package/amd/UNSAFE_PrefixSuffix.css +8 -8
  243. package/amd/UNSAFE_PrefixSuffix.js +1 -1
  244. package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
  245. package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
  246. package/amd/UNSAFE_ProgressBar.css +6 -6
  247. package/amd/UNSAFE_ProgressBar.js +1 -1
  248. package/amd/UNSAFE_ProgressBar.js.map +1 -1
  249. package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
  250. package/amd/UNSAFE_ProgressCircle.css +6 -6
  251. package/amd/UNSAFE_ProgressCircle.js +1 -1
  252. package/amd/UNSAFE_ProgressCircle.js.map +1 -1
  253. package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
  254. package/amd/UNSAFE_RatingGauge.css +20 -20
  255. package/amd/UNSAFE_RatingGauge.js +1 -1
  256. package/amd/UNSAFE_RatingGauge.js.map +1 -1
  257. package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
  258. package/amd/UNSAFE_SelectMultiple.css +1 -1
  259. package/amd/UNSAFE_SelectMultiple.js +1 -1
  260. package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
  261. package/amd/UNSAFE_SelectSingle.js +1 -1
  262. package/amd/UNSAFE_Selector.css +5 -5
  263. package/amd/UNSAFE_Selector.js +1 -1
  264. package/amd/UNSAFE_Selector.js.map +1 -1
  265. package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
  266. package/amd/UNSAFE_Skeleton.css +1 -1
  267. package/amd/UNSAFE_Skeleton.js +1 -1
  268. package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
  269. package/amd/UNSAFE_Spacer.js +1 -1
  270. package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
  271. package/amd/UNSAFE_SplitMenuButton.css +5 -5
  272. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  273. package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
  274. package/amd/UNSAFE_Subheading.css +8 -8
  275. package/amd/UNSAFE_Subheading.js +1 -1
  276. package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
  277. package/amd/UNSAFE_Text.css +25 -25
  278. package/amd/UNSAFE_Text.js +1 -1
  279. package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
  280. package/amd/UNSAFE_TextArea.css +3 -3
  281. package/amd/UNSAFE_TextArea.js +1 -1
  282. package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
  283. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  284. package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
  285. package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
  286. package/amd/UNSAFE_TextField.css +58 -58
  287. package/amd/UNSAFE_TextField.js +1 -1
  288. package/amd/UNSAFE_TextField.js.map +1 -1
  289. package/amd/UNSAFE_ThemedIcons.js +1 -1
  290. package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
  291. package/amd/UNSAFE_UserAssistance.css +8 -8
  292. package/amd/UNSAFE_UserAssistance.js +1 -1
  293. package/amd/UNSAFE_UserAssistance.js.map +1 -1
  294. package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
  295. package/amd/UNSAFE_View.js +1 -1
  296. package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
  297. package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
  298. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  299. package/amd/{VirtualizedCollection-ed812ab7.js → VirtualizedCollection-8523118a.js} +2 -2
  300. package/amd/{VirtualizedCollection-ed812ab7.js.map → VirtualizedCollection-8523118a.js.map} +1 -1
  301. package/amd/{VirtualizedListView-99c88eb4.js → VirtualizedListView-90d5d505.js} +2 -2
  302. package/amd/{VirtualizedListView-99c88eb4.js.map → VirtualizedListView-90d5d505.js.map} +1 -1
  303. package/amd/__tests__/FormControls/FormControlAria.spec.js +1 -1
  304. package/amd/__tests__/FormControls/FormControlClearIcon.spec.js +1 -1
  305. package/amd/__tests__/FormControls/FormControlCommit.spec.js +1 -1
  306. package/amd/__tests__/FormControls/FormControlPrefixSuffix.spec.js +1 -1
  307. package/amd/{_curry1-b656408f.js → _curry1-f9717f1c.js} +1 -1
  308. package/amd/{_curry1-b656408f.js.map → _curry1-f9717f1c.js.map} +1 -1
  309. package/amd/{_curry2-a9053ee8.js → _curry2-c4648b65.js} +2 -2
  310. package/amd/{_curry2-a9053ee8.js.map → _curry2-c4648b65.js.map} +1 -1
  311. package/amd/_curry3-01167a7d.js +2 -0
  312. package/amd/{_curry3-451f0a36.js.map → _curry3-01167a7d.js.map} +1 -1
  313. package/amd/_has-6f4fa2af.js +2 -0
  314. package/amd/{_has-a3b0d688.js.map → _has-6f4fa2af.js.map} +1 -1
  315. package/amd/{classNames-e23e522a.js → classNames-f11010a7.js} +1 -1
  316. package/amd/{classNames-e23e522a.js.map → classNames-f11010a7.js.map} +1 -1
  317. package/amd/{clientHints-cbf4b34f.js → clientHints-33be1380.js} +1 -1
  318. package/amd/{clientHints-cbf4b34f.js.map → clientHints-33be1380.js.map} +1 -1
  319. package/amd/flexbox-b6c222f9.js +2 -0
  320. package/amd/{flexbox-1fede399.js.map → flexbox-b6c222f9.js.map} +1 -1
  321. package/amd/flexitem-1405ebe5.js +2 -0
  322. package/amd/{flexitem-88bf97c7.js.map → flexitem-1405ebe5.js.map} +1 -1
  323. package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
  324. package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
  325. package/amd/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +1 -1
  326. package/amd/hooks/UNSAFE_useAnimation.js +1 -1
  327. package/amd/hooks/UNSAFE_useFloating.js +1 -1
  328. package/amd/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +1 -1
  329. package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
  330. package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
  331. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  332. package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  333. package/amd/hooks/UNSAFE_useTooltip.css +4 -4
  334. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  335. package/amd/hooks/UNSAFE_useTooltip.js.map +1 -1
  336. package/amd/{index-d7a7f3a5.js → index-66b69d43.js} +1 -1
  337. package/amd/{index-d7a7f3a5.js.map → index-66b69d43.js.map} +1 -1
  338. package/amd/{index-8c322165.js → index-72f6069b.js} +2 -2
  339. package/amd/{index-8c322165.js.map → index-72f6069b.js.map} +1 -1
  340. package/amd/{index-365ddeb3.js → index-c7f647a1.js} +2 -2
  341. package/amd/{index-365ddeb3.js.map → index-c7f647a1.js.map} +1 -1
  342. package/amd/keys-6231193b.js +2 -0
  343. package/amd/{keys-c17276c4.js.map → keys-6231193b.js.map} +1 -1
  344. package/amd/{listViewSelectionTests-26f9efcc.js → listViewSelectionTests-0b13290d.js} +2 -2
  345. package/amd/{listViewSelectionTests-26f9efcc.js.map → listViewSelectionTests-0b13290d.js.map} +1 -1
  346. package/amd/{listViewTabbableModeTests-0b178c7e.js → listViewTabbableModeTests-b0269dd8.js} +2 -2
  347. package/amd/{listViewTabbableModeTests-0b178c7e.js.map → listViewTabbableModeTests-b0269dd8.js.map} +1 -1
  348. package/amd/{listViewTestFixtures-2e6127dc.js → listViewTestFixtures-b0f629d1.js} +1 -1
  349. package/amd/{listViewTestFixtures-2e6127dc.js.map → listViewTestFixtures-b0f629d1.js.map} +1 -1
  350. package/amd/{menuTestsUtils-b4a0008a.js → menuTestsUtils-83c9272c.js} +1 -1
  351. package/amd/{menuTestsUtils-b4a0008a.js.map → menuTestsUtils-83c9272c.js.map} +1 -1
  352. package/amd/{stringUtils-dfe8de67.js → stringUtils-b9c2724c.js} +1 -1
  353. package/amd/{stringUtils-dfe8de67.js.map → stringUtils-b9c2724c.js.map} +1 -1
  354. package/amd/{testHelpers-6511117b.js → testHelpers-d5c11a32.js} +1 -1
  355. package/amd/{testHelpers-6511117b.js.map → testHelpers-d5c11a32.js.map} +1 -1
  356. package/amd/{tslib.es6-7e0f14ee.js → tslib.es6-24bf3861.js} +1 -1
  357. package/amd/{tslib.es6-7e0f14ee.js.map → tslib.es6-24bf3861.js.map} +1 -1
  358. package/amd/useAnimation-19a01c68.js +2 -0
  359. package/amd/{useAnimation-ed7baee1.js.map → useAnimation-19a01c68.js.map} +1 -1
  360. package/amd/{useFocusWithin-9d11afb5.js → useFocusWithin-35862d6c.js} +1 -1
  361. package/amd/{useFocusWithin-9d11afb5.js.map → useFocusWithin-35862d6c.js.map} +1 -1
  362. package/amd/{useModal-53e3795c.js → useModal-b9882031.js} +1 -1
  363. package/amd/{useModal-53e3795c.js.map → useModal-b9882031.js.map} +1 -1
  364. package/amd/{useSingleSelection-fc18dcb9.js → useSingleSelection-f1f97662.js} +1 -1
  365. package/amd/{useSingleSelection-fc18dcb9.js.map → useSingleSelection-f1f97662.js.map} +1 -1
  366. package/amd/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +1 -1
  367. package/amd/utils/PRIVATE_clientHints.js +1 -1
  368. package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
  369. package/amd/utils/UNSAFE_classNames/classNames.spec.js +1 -1
  370. package/amd/utils/UNSAFE_classNames.js +1 -1
  371. package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  372. package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
  373. package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  374. package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
  375. package/amd/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +1 -1
  376. package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
  377. package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
  378. package/amd/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +1 -1
  379. package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
  380. package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
  381. package/amd/utils/UNSAFE_interpolations/text.css +3 -3
  382. package/amd/utils/UNSAFE_interpolations/text.js +1 -1
  383. package/amd/utils/UNSAFE_interpolations/text.js.map +1 -1
  384. package/amd/utils/UNSAFE_logger.js +1 -1
  385. package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
  386. package/amd/utils/UNSAFE_stringUtils/stringUtils.spec.js +1 -1
  387. package/amd/utils/UNSAFE_stringUtils.js +1 -1
  388. package/amd/utils/UNSAFE_units.js +1 -1
  389. package/cjs/{Badge-516eaf24.js → Badge-86b92084.js} +16 -16
  390. package/cjs/{Badge-516eaf24.js.map → Badge-86b92084.js.map} +1 -1
  391. package/cjs/{BaseButton-67685195.js → BaseButton-7e1b4b25.js} +20 -20
  392. package/cjs/{BaseButton-67685195.js.map → BaseButton-7e1b4b25.js.map} +1 -1
  393. package/cjs/{Button-60642ec0.js → Button-c86db2a4.js} +12 -12
  394. package/cjs/{Button-60642ec0.js.map → Button-c86db2a4.js.map} +1 -1
  395. package/cjs/{Chip-bf56ca63.js → Chip-90db4044.js} +10 -10
  396. package/cjs/{Chip-bf56ca63.js.map → Chip-90db4044.js.map} +1 -1
  397. package/cjs/{ClearIcon-76905041.js → ClearIcon-bd901988.js} +3 -3
  398. package/cjs/{ClearIcon-76905041.js.map → ClearIcon-bd901988.js.map} +1 -1
  399. package/cjs/{Collection-d90d6c02.js → Collection-461f1be2.js} +2 -2
  400. package/cjs/{Collection-d90d6c02.js.map → Collection-461f1be2.js.map} +1 -1
  401. package/cjs/{ComponentMessage-a31bfdd9.js → ComponentMessage-edce854c.js} +8 -8
  402. package/cjs/{ComponentMessage-a31bfdd9.js.map → ComponentMessage-edce854c.js.map} +1 -1
  403. package/cjs/{ComponentMessageContainer-0f867714.js → ComponentMessageContainer-c64450e5.js} +5 -5
  404. package/cjs/{ComponentMessageContainer-0f867714.js.map → ComponentMessageContainer-c64450e5.js.map} +1 -1
  405. package/cjs/{Divider-b4713277.js → Divider-141425db.js} +3 -3
  406. package/cjs/{Divider-b4713277.js.map → Divider-141425db.js.map} +1 -1
  407. package/cjs/{FilePicker-a21799d2.js → FilePicker-fb3d45ea.js} +14 -14
  408. package/cjs/{FilePicker-a21799d2.js.map → FilePicker-fb3d45ea.js.map} +1 -1
  409. package/cjs/{Flex-8adcefda.js → Flex-abc8df47.js} +8 -8
  410. package/cjs/{Flex-8adcefda.js.map → Flex-abc8df47.js.map} +1 -1
  411. package/cjs/{Floating-e4fd32d0.js → Floating-80c1f802.js} +3 -3
  412. package/cjs/{Floating-e4fd32d0.js.map → Floating-80c1f802.js.map} +1 -1
  413. package/cjs/{FocusTrap-3f3194b4.js → FocusTrap-07ea381a.js} +5 -5
  414. package/cjs/{FocusTrap-3f3194b4.js.map → FocusTrap-07ea381a.js.map} +1 -1
  415. package/cjs/{FormControlUtils-99854aca.js → FormControlUtils-0ea20780.js} +5 -5
  416. package/cjs/{FormControlUtils-99854aca.js.map → FormControlUtils-0ea20780.js.map} +1 -1
  417. package/cjs/{Heading-328346ad.js → Heading-90151ed6.js} +13 -13
  418. package/cjs/{Heading-328346ad.js.map → Heading-90151ed6.js.map} +1 -1
  419. package/cjs/{HiddenAccessible-8748e172.js → HiddenAccessible-fec4bd46.js} +3 -3
  420. package/cjs/{HiddenAccessible-8748e172.js.map → HiddenAccessible-fec4bd46.js.map} +1 -1
  421. package/cjs/{HighlightText-22bb41c3.js → HighlightText-fbdea496.js} +3 -3
  422. package/cjs/{HighlightText-22bb41c3.js.map → HighlightText-fbdea496.js.map} +1 -1
  423. package/cjs/{Icon-b9883d7d.js → Icon-e9b45fec.js} +11 -11
  424. package/cjs/{Icon-b9883d7d.js.map → Icon-e9b45fec.js.map} +1 -1
  425. package/cjs/{Indexer-05feba96.js → Indexer-c45cdc6a.js} +16 -16
  426. package/cjs/{Indexer-05feba96.js.map → Indexer-c45cdc6a.js.map} +1 -1
  427. package/cjs/{InlineHelpSource-14cab1d7.js → InlineHelpSource-4a4176fd.js} +3 -3
  428. package/cjs/{InlineHelpSource-14cab1d7.js.map → InlineHelpSource-4a4176fd.js.map} +1 -1
  429. package/cjs/{Link-e9a2c06a.js → Link-9bc77a8d.js} +8 -8
  430. package/cjs/{Link-e9a2c06a.js.map → Link-9bc77a8d.js.map} +1 -1
  431. package/cjs/{List-e6572a1a.js → List-bb075c7f.js} +23 -23
  432. package/cjs/{List-e6572a1a.js.map → List-bb075c7f.js.map} +1 -1
  433. package/cjs/{ListItemTextLayout-38ab9290.js → ListItemTextLayout-8b55d581.js} +13 -13
  434. package/cjs/{ListItemTextLayout-38ab9290.js.map → ListItemTextLayout-8b55d581.js.map} +1 -1
  435. package/cjs/{ListView-72350e40.js → ListView-d6b70851.js} +3 -3
  436. package/cjs/{ListView-72350e40.js.map → ListView-d6b70851.js.map} +1 -1
  437. package/cjs/{LoadMoreCollection-d41b2ef1.js → LoadMoreCollection-b0a2e2be.js} +3 -3
  438. package/cjs/{LoadMoreCollection-d41b2ef1.js.map → LoadMoreCollection-b0a2e2be.js.map} +1 -1
  439. package/cjs/{Menu-a18328d2.js → Menu-d278ccc8.js} +16 -16
  440. package/cjs/{Menu-a18328d2.js.map → Menu-d278ccc8.js.map} +1 -1
  441. package/cjs/{MenuDivider-30f8193f.js → MenuDivider-00c43339.js} +4 -4
  442. package/cjs/{MenuDivider-30f8193f.js.map → MenuDivider-00c43339.js.map} +1 -1
  443. package/cjs/{MenuItem-783fb134.js → MenuItem-21cec233.js} +19 -19
  444. package/cjs/{MenuItem-783fb134.js.map → MenuItem-21cec233.js.map} +1 -1
  445. package/cjs/{Message.types-26712e09.js → Message.types-6e393079.js} +2 -2
  446. package/cjs/{Message.types-26712e09.js.map → Message.types-6e393079.js.map} +1 -1
  447. package/cjs/{MessageCloseButton-5b583db5.js → MessageCloseButton-c9c1489b.js} +9 -9
  448. package/cjs/{MessageCloseButton-5b583db5.js.map → MessageCloseButton-c9c1489b.js.map} +1 -1
  449. package/cjs/{MessageDetail-1597d54c.js → MessageDetail-ad6384c9.js} +7 -7
  450. package/cjs/{MessageDetail-1597d54c.js.map → MessageDetail-ad6384c9.js.map} +1 -1
  451. package/cjs/{MessageFormattingUtils-4f6f379b.js → MessageFormattingUtils-7c2e00a0.js} +4 -4
  452. package/cjs/{MessageFormattingUtils-4f6f379b.js.map → MessageFormattingUtils-7c2e00a0.js.map} +1 -1
  453. package/cjs/{MessageLayer-a7099973.js → MessageLayer-17b3d41e.js} +11 -11
  454. package/cjs/{MessageLayer-a7099973.js.map → MessageLayer-17b3d41e.js.map} +1 -1
  455. package/cjs/{MessageStartIcon-332290c5.js → MessageStartIcon-8cdd83d6.js} +11 -11
  456. package/cjs/{MessageStartIcon-332290c5.js.map → MessageStartIcon-8cdd83d6.js.map} +1 -1
  457. package/cjs/{MessageSummary-f208a247.js → MessageSummary-fce38c49.js} +7 -7
  458. package/cjs/{MessageSummary-f208a247.js.map → MessageSummary-fce38c49.js.map} +1 -1
  459. package/cjs/{MessageTimestamp-8acc7447.js → MessageTimestamp-99b76c68.js} +5 -5
  460. package/cjs/{MessageTimestamp-8acc7447.js.map → MessageTimestamp-99b76c68.js.map} +1 -1
  461. package/cjs/{MessageToast-0452dfca.js → MessageToast-782252fe.js} +9 -9
  462. package/cjs/{MessageToast-0452dfca.js.map → MessageToast-782252fe.js.map} +1 -1
  463. package/cjs/{MessageUtils-059664ee.js → MessageUtils-22e1ec65.js} +3 -3
  464. package/cjs/{MessageUtils-059664ee.js.map → MessageUtils-22e1ec65.js.map} +1 -1
  465. package/cjs/{MessagesManager-d21e1b72.js → MessagesManager-8346222a.js} +4 -4
  466. package/cjs/{MessagesManager-d21e1b72.js.map → MessagesManager-8346222a.js.map} +1 -1
  467. package/cjs/{MeterCircle-ed7ab4c1.js → MeterCircle-84ccdd94.js} +50 -50
  468. package/cjs/{MeterCircle-ed7ab4c1.js.map → MeterCircle-84ccdd94.js.map} +1 -1
  469. package/cjs/{Modal-89af3015.js → Modal-4e69131b.js} +7 -7
  470. package/cjs/{Modal-89af3015.js.map → Modal-4e69131b.js.map} +1 -1
  471. package/cjs/{NumberInputText-61ace138.js → NumberInputText-5260e746.js} +7 -7
  472. package/cjs/{NumberInputText-61ace138.js.map → NumberInputText-5260e746.js.map} +1 -1
  473. package/cjs/PRIVATE_Collection/__tests__/Collection.spec.js +2 -2
  474. package/cjs/PRIVATE_Collection.js +2 -2
  475. package/cjs/PRIVATE_List/__tests__/List.spec.js +24 -24
  476. package/cjs/PRIVATE_List.js +23 -23
  477. package/cjs/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +17 -17
  478. package/cjs/PRIVATE_Message/__tests__/MessageDetail.spec.js +6 -6
  479. package/cjs/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +4 -4
  480. package/cjs/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +19 -19
  481. package/cjs/PRIVATE_Message/__tests__/MessageSummary.spec.js +3 -3
  482. package/cjs/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +6 -6
  483. package/cjs/PRIVATE_Message/__tests__/MessageUtils.spec.js +7 -7
  484. package/cjs/PRIVATE_Message/__tests__/MessagesManager.spec.js +4 -4
  485. package/cjs/PRIVATE_Message.js +41 -41
  486. package/cjs/PRIVATE_Message.js.map +1 -1
  487. package/cjs/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +12 -12
  488. package/cjs/PRIVATE_MessageLayer.js +12 -12
  489. package/cjs/PRIVATE_Meter.js +2 -2
  490. package/cjs/PRIVATE_SelectCommon.js +54 -54
  491. package/cjs/PRIVATE_SelectCommon.js.map +1 -1
  492. package/cjs/PRIVATE_TransitionGroup.js +1 -1
  493. package/cjs/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +3 -3
  494. package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
  495. package/cjs/{ReadonlyTextFieldInput-bd51f0be.js → ReadonlyTextFieldInput-e56b6845.js} +13 -13
  496. package/cjs/{ReadonlyTextFieldInput-bd51f0be.js.map → ReadonlyTextFieldInput-e56b6845.js.map} +1 -1
  497. package/cjs/{SelectMenuItem-fedc3a76.js → SelectMenuItem-d3bf2aba.js} +5 -5
  498. package/cjs/{SelectMenuItem-fedc3a76.js.map → SelectMenuItem-d3bf2aba.js.map} +1 -1
  499. package/cjs/{SelectMultiple-95f8d102.js → SelectMultiple-a4f95656.js} +8 -8
  500. package/cjs/{SelectMultiple-95f8d102.js.map → SelectMultiple-a4f95656.js.map} +1 -1
  501. package/cjs/{SelectSingle-e6022adb.js → SelectSingle-d010fbd3.js} +4 -4
  502. package/cjs/{SelectSingle-e6022adb.js.map → SelectSingle-d010fbd3.js.map} +1 -1
  503. package/cjs/{Skeleton-293b3946.js → Skeleton-02ed41de.js} +5 -5
  504. package/cjs/{Skeleton-293b3946.js.map → Skeleton-02ed41de.js.map} +1 -1
  505. package/cjs/{Spacer-54cee856.js → Spacer-9efbec87.js} +4 -4
  506. package/cjs/{Spacer-54cee856.js.map → Spacer-9efbec87.js.map} +1 -1
  507. package/cjs/{SplitMenuButton-18ee5f22.js → SplitMenuButton-1684e842.js} +14 -14
  508. package/cjs/{SplitMenuButton-18ee5f22.js.map → SplitMenuButton-1684e842.js.map} +1 -1
  509. package/cjs/{Subheading-1f3c82c5.js → Subheading-b37b33b3.js} +11 -11
  510. package/cjs/{Subheading-1f3c82c5.js.map → Subheading-b37b33b3.js.map} +1 -1
  511. package/cjs/{Text-429263d2.js → Text-9ddf7825.js} +28 -28
  512. package/cjs/{Text-429263d2.js.map → Text-9ddf7825.js.map} +1 -1
  513. package/cjs/{TextArea-d7110c6e.js → TextArea-5e4165d0.js} +8 -8
  514. package/cjs/{TextArea-d7110c6e.js.map → TextArea-5e4165d0.js.map} +1 -1
  515. package/cjs/{TextAreaAutosize-b7129c54.js → TextAreaAutosize-21cc597b.js} +5 -5
  516. package/cjs/{TextAreaAutosize-b7129c54.js.map → TextAreaAutosize-21cc597b.js.map} +1 -1
  517. package/cjs/{TextFieldInput-a8226638.js → TextFieldInput-1beff7e3.js} +33 -33
  518. package/cjs/{TextFieldInput-a8226638.js.map → TextFieldInput-1beff7e3.js.map} +1 -1
  519. package/cjs/UNSAFE_AspectRatio.js +8 -8
  520. package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +3 -3
  521. package/cjs/UNSAFE_Avatar.js +11 -11
  522. package/cjs/UNSAFE_Avatar.js.map +1 -1
  523. package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +3 -3
  524. package/cjs/UNSAFE_Badge.js +3 -3
  525. package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +9 -9
  526. package/cjs/UNSAFE_BaseButton.js +9 -9
  527. package/cjs/UNSAFE_Button/__tests__/Button.spec.js +10 -10
  528. package/cjs/UNSAFE_Button.js +10 -10
  529. package/cjs/UNSAFE_Center.js +11 -11
  530. package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +3 -3
  531. package/cjs/UNSAFE_Chip.js +3 -3
  532. package/cjs/UNSAFE_Collapsible.js +26 -26
  533. package/cjs/UNSAFE_Collapsible.js.map +1 -1
  534. package/cjs/UNSAFE_Collection.js +1 -1
  535. package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +32 -32
  536. package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +33 -33
  537. package/cjs/UNSAFE_ComponentMessage.js +33 -33
  538. package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +7 -7
  539. package/cjs/UNSAFE_Divider.js +7 -7
  540. package/cjs/UNSAFE_EmptyList.js +1 -1
  541. package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +1 -1
  542. package/cjs/UNSAFE_Environment.js +1 -1
  543. package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +14 -14
  544. package/cjs/UNSAFE_FilePicker.js +14 -14
  545. package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +11 -11
  546. package/cjs/UNSAFE_Flex.js +11 -11
  547. package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +3 -3
  548. package/cjs/UNSAFE_Floating.js +3 -3
  549. package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +6 -6
  550. package/cjs/UNSAFE_FocusTrap.js +6 -6
  551. package/cjs/UNSAFE_Grid.js +9 -9
  552. package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +11 -11
  553. package/cjs/UNSAFE_Heading.js +9 -9
  554. package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +12 -12
  555. package/cjs/UNSAFE_HiddenAccessible.js +2 -2
  556. package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -2
  557. package/cjs/UNSAFE_HighlightText.js +2 -2
  558. package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +8 -8
  559. package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +9 -9
  560. package/cjs/UNSAFE_Icon.js +7 -7
  561. package/cjs/UNSAFE_Icons.js +8 -8
  562. package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +16 -16
  563. package/cjs/UNSAFE_Indexer.js +16 -16
  564. package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +39 -39
  565. package/cjs/UNSAFE_InputPassword.js +40 -40
  566. package/cjs/UNSAFE_InputText.js +39 -39
  567. package/cjs/UNSAFE_Label.js +16 -16
  568. package/cjs/UNSAFE_Label.js.map +1 -1
  569. package/cjs/UNSAFE_LabelValueLayout.js +20 -20
  570. package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
  571. package/cjs/UNSAFE_Layer.js +1 -1
  572. package/cjs/UNSAFE_Link/__tests__/Link.spec.js +3 -3
  573. package/cjs/UNSAFE_Link.js +3 -3
  574. package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +10 -10
  575. package/cjs/UNSAFE_ListItemLayout.js +10 -10
  576. package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +27 -27
  577. package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +27 -27
  578. package/cjs/UNSAFE_ListView.js +24 -24
  579. package/cjs/UNSAFE_LiveRegion.js +2 -2
  580. package/cjs/UNSAFE_LiveRegion.js.map +1 -1
  581. package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
  582. package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
  583. package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
  584. package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
  585. package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
  586. package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
  587. package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
  588. package/cjs/UNSAFE_Menu.js +16 -16
  589. package/cjs/UNSAFE_MessageBanner.js +30 -30
  590. package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
  591. package/cjs/UNSAFE_MessageToast.js +33 -33
  592. package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
  593. package/cjs/UNSAFE_MeterBar.js +50 -50
  594. package/cjs/UNSAFE_MeterBar.js.map +1 -1
  595. package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
  596. package/cjs/UNSAFE_MeterCircle.js +7 -7
  597. package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
  598. package/cjs/UNSAFE_Modal.js +8 -8
  599. package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
  600. package/cjs/UNSAFE_NumberInputText.js +39 -39
  601. package/cjs/UNSAFE_PrefixSuffix.js +10 -10
  602. package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
  603. package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
  604. package/cjs/UNSAFE_ProgressBar.js +9 -9
  605. package/cjs/UNSAFE_ProgressBar.js.map +1 -1
  606. package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
  607. package/cjs/UNSAFE_ProgressCircle.js +9 -9
  608. package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
  609. package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
  610. package/cjs/UNSAFE_RatingGauge.js +26 -26
  611. package/cjs/UNSAFE_RatingGauge.js.map +1 -1
  612. package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
  613. package/cjs/UNSAFE_SelectMultiple.js +47 -47
  614. package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
  615. package/cjs/UNSAFE_SelectSingle.js +46 -46
  616. package/cjs/UNSAFE_Selector.js +22 -22
  617. package/cjs/UNSAFE_Selector.js.map +1 -1
  618. package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
  619. package/cjs/UNSAFE_Skeleton.js +8 -8
  620. package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
  621. package/cjs/UNSAFE_Spacer.js +10 -10
  622. package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
  623. package/cjs/UNSAFE_SplitMenuButton.js +23 -23
  624. package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
  625. package/cjs/UNSAFE_Subheading.js +8 -8
  626. package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
  627. package/cjs/UNSAFE_Text.js +8 -8
  628. package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
  629. package/cjs/UNSAFE_TextArea.js +39 -39
  630. package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
  631. package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
  632. package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
  633. package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
  634. package/cjs/UNSAFE_TextField.js +35 -35
  635. package/cjs/UNSAFE_TextField.js.map +1 -1
  636. package/cjs/UNSAFE_ThemedIcons.js +9 -9
  637. package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
  638. package/cjs/UNSAFE_UserAssistance.js +41 -41
  639. package/cjs/UNSAFE_UserAssistance.js.map +1 -1
  640. package/cjs/UNSAFE_View/__tests__/View.spec.js +9 -9
  641. package/cjs/UNSAFE_View.js +9 -9
  642. package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +27 -27
  643. package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +27 -27
  644. package/cjs/UNSAFE_VirtualizedListView.js +24 -24
  645. package/cjs/UNSAFE_WindowOverlay.js +1 -1
  646. package/cjs/{VirtualizedCollection-b4ff9efe.js → VirtualizedCollection-e8b04cee.js} +3 -3
  647. package/cjs/{VirtualizedCollection-b4ff9efe.js.map → VirtualizedCollection-e8b04cee.js.map} +1 -1
  648. package/cjs/{VirtualizedListView-5e391573.js → VirtualizedListView-e5fb6ffd.js} +3 -3
  649. package/cjs/{VirtualizedListView-5e391573.js.map → VirtualizedListView-e5fb6ffd.js.map} +1 -1
  650. package/cjs/__tests__/FormControls/FormControlAria.spec.js +52 -52
  651. package/cjs/__tests__/FormControls/FormControlClearIcon.spec.js +39 -39
  652. package/cjs/__tests__/FormControls/FormControlCommit.spec.js +42 -42
  653. package/cjs/__tests__/FormControls/FormControlPrefixSuffix.spec.js +40 -40
  654. package/cjs/{_curry1-35039e54.js → _curry1-f474d217.js} +2 -2
  655. package/cjs/{_curry1-35039e54.js.map → _curry1-f474d217.js.map} +1 -1
  656. package/cjs/{_curry2-76e523bc.js → _curry2-d9a7c1b6.js} +3 -3
  657. package/cjs/{_curry2-76e523bc.js.map → _curry2-d9a7c1b6.js.map} +1 -1
  658. package/cjs/{_curry3-e72b63d8.js → _curry3-bb64ee3f.js} +4 -4
  659. package/cjs/{_curry3-e72b63d8.js.map → _curry3-bb64ee3f.js.map} +1 -1
  660. package/cjs/{_has-75b68b14.js → _has-35a13c89.js} +3 -3
  661. package/cjs/{_has-75b68b14.js.map → _has-35a13c89.js.map} +1 -1
  662. package/cjs/{classNames-627e416b.js → classNames-91b1a4c2.js} +2 -2
  663. package/cjs/{classNames-627e416b.js.map → classNames-91b1a4c2.js.map} +1 -1
  664. package/cjs/{clientHints-12b76025.js → clientHints-f1b68e49.js} +2 -2
  665. package/cjs/{clientHints-12b76025.js.map → clientHints-f1b68e49.js.map} +1 -1
  666. package/cjs/{flexbox-344a4b6d.js → flexbox-7eddc8d8.js} +10 -10
  667. package/cjs/{flexbox-344a4b6d.js.map → flexbox-7eddc8d8.js.map} +1 -1
  668. package/cjs/{flexitem-79359f72.js → flexitem-59dc8b40.js} +10 -10
  669. package/cjs/{flexitem-79359f72.js.map → flexitem-59dc8b40.js.map} +1 -1
  670. package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  671. package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
  672. package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
  673. package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
  674. package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  675. package/cjs/hooks/PRIVATE_useSelection.js +1 -1
  676. package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
  677. package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  678. package/cjs/hooks/UNSAFE_useActionable.js +1 -1
  679. package/cjs/hooks/UNSAFE_useActive.js +1 -1
  680. package/cjs/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +3 -3
  681. package/cjs/hooks/UNSAFE_useAnimation.js +3 -3
  682. package/cjs/hooks/UNSAFE_useBreakpointValues.js +1 -1
  683. package/cjs/hooks/UNSAFE_useBreakpoints.js +1 -1
  684. package/cjs/hooks/UNSAFE_useClearIcon.js +1 -1
  685. package/cjs/hooks/UNSAFE_useColorScheme.js +1 -1
  686. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  687. package/cjs/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  688. package/cjs/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  689. package/cjs/hooks/UNSAFE_useDebounce.js +1 -1
  690. package/cjs/hooks/UNSAFE_useFloating.js +2 -2
  691. package/cjs/hooks/UNSAFE_useFocus.js +1 -1
  692. package/cjs/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +2 -2
  693. package/cjs/hooks/UNSAFE_useFocusWithin.js +2 -2
  694. package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
  695. package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
  696. package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
  697. package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
  698. package/cjs/hooks/UNSAFE_useHover.js +1 -1
  699. package/cjs/hooks/UNSAFE_useId.js +1 -1
  700. package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
  701. package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  702. package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
  703. package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
  704. package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
  705. package/cjs/hooks/UNSAFE_usePan.js +1 -1
  706. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
  707. package/cjs/hooks/UNSAFE_usePress.js +1 -1
  708. package/cjs/hooks/UNSAFE_useScale.js +1 -1
  709. package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
  710. package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
  711. package/cjs/hooks/UNSAFE_useTap.js +1 -1
  712. package/cjs/hooks/UNSAFE_useTextField.js +1 -1
  713. package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
  714. package/cjs/hooks/UNSAFE_useTheme.js +1 -1
  715. package/cjs/hooks/UNSAFE_useTimer.js +1 -1
  716. package/cjs/hooks/UNSAFE_useToggle.js +1 -1
  717. package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
  718. package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
  719. package/cjs/hooks/UNSAFE_useTouch.js +1 -1
  720. package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
  721. package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
  722. package/cjs/hooks/UNSAFE_useUser.js +1 -1
  723. package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
  724. package/cjs/{index-8716aaf0.js → index-28bd107b.js} +3 -3
  725. package/cjs/{index-8716aaf0.js.map → index-28bd107b.js.map} +1 -1
  726. package/cjs/{index-d1c91ef7.js → index-681a4e95.js} +2 -2
  727. package/cjs/{index-d1c91ef7.js.map → index-681a4e95.js.map} +1 -1
  728. package/cjs/{index-f0719a25.js → index-bb397696.js} +3 -3
  729. package/cjs/{index-f0719a25.js.map → index-bb397696.js.map} +1 -1
  730. package/cjs/{keys-ba04e49a.js → keys-2e26a8bd.js} +4 -4
  731. package/cjs/{keys-ba04e49a.js.map → keys-2e26a8bd.js.map} +1 -1
  732. package/cjs/{listViewSelectionTests-f28facbe.js → listViewSelectionTests-1763e9d7.js} +4 -4
  733. package/cjs/{listViewSelectionTests-f28facbe.js.map → listViewSelectionTests-1763e9d7.js.map} +1 -1
  734. package/cjs/{listViewTabbableModeTests-ecc6a1d6.js → listViewTabbableModeTests-ef0e83da.js} +4 -4
  735. package/cjs/{listViewTabbableModeTests-ecc6a1d6.js.map → listViewTabbableModeTests-ef0e83da.js.map} +1 -1
  736. package/cjs/{listViewTestFixtures-d77529d2.js → listViewTestFixtures-689db549.js} +2 -2
  737. package/cjs/{listViewTestFixtures-d77529d2.js.map → listViewTestFixtures-689db549.js.map} +1 -1
  738. package/cjs/{menuTestsUtils-4c537616.js → menuTestsUtils-2e148d67.js} +2 -2
  739. package/cjs/{menuTestsUtils-4c537616.js.map → menuTestsUtils-2e148d67.js.map} +1 -1
  740. package/cjs/resources/nls/ar/bundle.js +1 -1
  741. package/cjs/resources/nls/ar-XB/bundle.js +1 -1
  742. package/cjs/resources/nls/bg/bundle.js +1 -1
  743. package/cjs/resources/nls/bs/bundle.js +1 -1
  744. package/cjs/resources/nls/bs-Cyrl/bundle.js +1 -1
  745. package/cjs/resources/nls/bundle.js +1 -1
  746. package/cjs/resources/nls/cs/bundle.js +1 -1
  747. package/cjs/resources/nls/da/bundle.js +1 -1
  748. package/cjs/resources/nls/de/bundle.js +1 -1
  749. package/cjs/resources/nls/el/bundle.js +1 -1
  750. package/cjs/resources/nls/en/bundle.js +1 -1
  751. package/cjs/resources/nls/en-XA/bundle.js +1 -1
  752. package/cjs/resources/nls/en-XC/bundle.js +1 -1
  753. package/cjs/resources/nls/es/bundle.js +1 -1
  754. package/cjs/resources/nls/et/bundle.js +1 -1
  755. package/cjs/resources/nls/fi/bundle.js +1 -1
  756. package/cjs/resources/nls/fr/bundle.js +1 -1
  757. package/cjs/resources/nls/fr-CA/bundle.js +1 -1
  758. package/cjs/resources/nls/he/bundle.js +1 -1
  759. package/cjs/resources/nls/hr/bundle.js +1 -1
  760. package/cjs/resources/nls/hu/bundle.js +1 -1
  761. package/cjs/resources/nls/is/bundle.js +1 -1
  762. package/cjs/resources/nls/it/bundle.js +1 -1
  763. package/cjs/resources/nls/ja/bundle.js +1 -1
  764. package/cjs/resources/nls/ko/bundle.js +1 -1
  765. package/cjs/resources/nls/lt/bundle.js +1 -1
  766. package/cjs/resources/nls/lv/bundle.js +1 -1
  767. package/cjs/resources/nls/ms/bundle.js +1 -1
  768. package/cjs/resources/nls/nl/bundle.js +1 -1
  769. package/cjs/resources/nls/no/bundle.js +1 -1
  770. package/cjs/resources/nls/pl/bundle.js +1 -1
  771. package/cjs/resources/nls/pt/bundle.js +1 -1
  772. package/cjs/resources/nls/pt-PT/bundle.js +1 -1
  773. package/cjs/resources/nls/ro/bundle.js +1 -1
  774. package/cjs/resources/nls/ru/bundle.js +1 -1
  775. package/cjs/resources/nls/sk/bundle.js +1 -1
  776. package/cjs/resources/nls/sl/bundle.js +1 -1
  777. package/cjs/resources/nls/sr/bundle.js +1 -1
  778. package/cjs/resources/nls/sr-Latn/bundle.js +1 -1
  779. package/cjs/resources/nls/supportedLocales.js +1 -1
  780. package/cjs/resources/nls/sv/bundle.js +1 -1
  781. package/cjs/resources/nls/th/bundle.js +1 -1
  782. package/cjs/resources/nls/tr/bundle.js +1 -1
  783. package/cjs/resources/nls/uk/bundle.js +1 -1
  784. package/cjs/resources/nls/vi/bundle.js +1 -1
  785. package/cjs/resources/nls/zh-Hans/bundle.js +1 -1
  786. package/cjs/resources/nls/zh-Hant/bundle.js +1 -1
  787. package/cjs/{stringUtils-f686952b.js → stringUtils-df1f541d.js} +2 -2
  788. package/cjs/{stringUtils-f686952b.js.map → stringUtils-df1f541d.js.map} +1 -1
  789. package/cjs/{testHelpers-2de1fdf9.js → testHelpers-8a43f55a.js} +2 -2
  790. package/cjs/{testHelpers-2de1fdf9.js.map → testHelpers-8a43f55a.js.map} +1 -1
  791. package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
  792. package/cjs/translationBundle.js +1 -1
  793. package/cjs/{tslib.es6-6bcecd0b.js → tslib.es6-0959d395.js} +2 -2
  794. package/cjs/{tslib.es6-6bcecd0b.js.map → tslib.es6-0959d395.js.map} +1 -1
  795. package/cjs/{useAnimation-f159e7c6.js → useAnimation-4f399615.js} +3 -3
  796. package/cjs/{useAnimation-f159e7c6.js.map → useAnimation-4f399615.js.map} +1 -1
  797. package/cjs/{useFocusWithin-1337b63d.js → useFocusWithin-fb08429c.js} +2 -2
  798. package/cjs/{useFocusWithin-1337b63d.js.map → useFocusWithin-fb08429c.js.map} +1 -1
  799. package/cjs/{useModal-a71a6750.js → useModal-5f8e61e7.js} +2 -2
  800. package/cjs/{useModal-a71a6750.js.map → useModal-5f8e61e7.js.map} +1 -1
  801. package/cjs/{useSingleSelection-1abf7fcd.js → useSingleSelection-0d9d3af4.js} +2 -2
  802. package/cjs/{useSingleSelection-1abf7fcd.js.map → useSingleSelection-0d9d3af4.js.map} +1 -1
  803. package/cjs/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +2 -2
  804. package/cjs/utils/PRIVATE_clientHints.js +2 -2
  805. package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
  806. package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
  807. package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
  808. package/cjs/utils/PRIVATE_meterUtils.js +1 -1
  809. package/cjs/utils/PRIVATE_refUtils.js +1 -1
  810. package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
  811. package/cjs/utils/PRIVATE_timer.js +1 -1
  812. package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
  813. package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
  814. package/cjs/utils/UNSAFE_classNames/classNames.spec.js +2 -2
  815. package/cjs/utils/UNSAFE_classNames.js +2 -2
  816. package/cjs/utils/UNSAFE_componentUtils.js +1 -1
  817. package/cjs/utils/UNSAFE_dataProvider.js +1 -1
  818. package/cjs/utils/UNSAFE_dvtCommonUtils.js +1 -1
  819. package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
  820. package/cjs/utils/UNSAFE_getLocale.js +1 -1
  821. package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
  822. package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
  823. package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  824. package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  825. package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
  826. package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
  827. package/cjs/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +5 -5
  828. package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
  829. package/cjs/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +5 -5
  830. package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
  831. package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
  832. package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
  833. package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
  834. package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
  835. package/cjs/utils/UNSAFE_interpolations/text.js.map +1 -1
  836. package/cjs/utils/UNSAFE_keys.js +1 -1
  837. package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
  838. package/cjs/utils/UNSAFE_logger.js +3 -3
  839. package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
  840. package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
  841. package/cjs/utils/UNSAFE_mergeProps.js +1 -1
  842. package/cjs/utils/UNSAFE_meterTypes.js +1 -1
  843. package/cjs/utils/UNSAFE_roles.js +1 -1
  844. package/cjs/utils/UNSAFE_selectUtils.js +1 -1
  845. package/cjs/utils/UNSAFE_size.js +1 -1
  846. package/cjs/utils/UNSAFE_soundUtils.js +1 -1
  847. package/cjs/utils/UNSAFE_stringUtils/stringUtils.spec.js +2 -2
  848. package/cjs/utils/UNSAFE_stringUtils.js +2 -2
  849. package/cjs/utils/UNSAFE_typeUtils.js +1 -1
  850. package/cjs/utils/UNSAFE_units.js +2 -2
  851. package/cjs/utils/UNSAFE_valueUpdateDetail.js +1 -1
  852. package/es/{ClearIcon-c7a7df6d.js → ClearIcon-e72d4a9c.js} +3 -3
  853. package/es/{ClearIcon-c7a7df6d.js.map → ClearIcon-e72d4a9c.js.map} +1 -1
  854. package/es/{LoadMoreCollection-b3269ff4.js → LoadMoreCollection-945e29df.js} +2 -2
  855. package/es/{LoadMoreCollection-b3269ff4.js.map → LoadMoreCollection-945e29df.js.map} +1 -1
  856. package/es/PRIVATE_Collection.js +1 -1
  857. package/es/PRIVATE_List.css +15 -15
  858. package/es/PRIVATE_List.js +24 -24
  859. package/es/PRIVATE_List.js.map +1 -1
  860. package/es/PRIVATE_Message.css +27 -27
  861. package/es/PRIVATE_Message.js +35 -35
  862. package/es/PRIVATE_Message.js.map +1 -1
  863. package/es/PRIVATE_MessageLayer.css +7 -7
  864. package/es/PRIVATE_MessageLayer.js +14 -14
  865. package/es/PRIVATE_MessageLayer.js.map +1 -1
  866. package/es/PRIVATE_Meter.js +2 -2
  867. package/es/PRIVATE_SelectCommon.css +13 -13
  868. package/es/PRIVATE_SelectCommon.js +22 -22
  869. package/es/PRIVATE_SelectCommon.js.map +1 -1
  870. package/es/PRIVATE_TransitionGroup.js +1 -1
  871. package/es/PRIVATE_VirtualizedCollection.js +1 -1
  872. package/es/UNSAFE_AspectRatio.css +1 -1
  873. package/es/UNSAFE_AspectRatio.js +7 -7
  874. package/es/UNSAFE_Avatar.css +8 -8
  875. package/es/UNSAFE_Avatar.js +10 -10
  876. package/es/UNSAFE_Avatar.js.map +1 -1
  877. package/es/UNSAFE_Badge.css +13 -13
  878. package/es/UNSAFE_Badge.js +14 -14
  879. package/es/UNSAFE_Badge.js.map +1 -1
  880. package/es/UNSAFE_BaseButton.css +15 -15
  881. package/es/UNSAFE_BaseButton.js +21 -21
  882. package/es/UNSAFE_BaseButton.js.map +1 -1
  883. package/es/UNSAFE_Button.css +7 -7
  884. package/es/UNSAFE_Button.js +13 -13
  885. package/es/UNSAFE_Button.js.map +1 -1
  886. package/es/UNSAFE_Center.js +7 -7
  887. package/es/UNSAFE_Chip.css +7 -7
  888. package/es/UNSAFE_Chip.js +8 -8
  889. package/es/UNSAFE_Chip.js.map +1 -1
  890. package/es/UNSAFE_Collapsible.css +8 -8
  891. package/es/UNSAFE_Collapsible.js +16 -16
  892. package/es/UNSAFE_Collapsible.js.map +1 -1
  893. package/es/UNSAFE_Collection.js +1 -1
  894. package/es/UNSAFE_ComponentMessage.css +2 -2
  895. package/es/UNSAFE_ComponentMessage.js +10 -10
  896. package/es/UNSAFE_ComponentMessage.js.map +1 -1
  897. package/es/UNSAFE_Divider.css +1 -1
  898. package/es/UNSAFE_Divider.js +6 -6
  899. package/es/UNSAFE_EmptyList.js +1 -1
  900. package/es/UNSAFE_Environment.js +1 -1
  901. package/es/UNSAFE_FilePicker.css +6 -6
  902. package/es/UNSAFE_FilePicker.js +13 -13
  903. package/es/UNSAFE_FilePicker.js.map +1 -1
  904. package/es/UNSAFE_Flex.css +2 -2
  905. package/es/UNSAFE_Flex.js +9 -9
  906. package/es/UNSAFE_Flex.js.map +1 -1
  907. package/es/UNSAFE_Floating.js +2 -2
  908. package/es/UNSAFE_FocusTrap.css +2 -2
  909. package/es/UNSAFE_FocusTrap.js +6 -6
  910. package/es/UNSAFE_FocusTrap.js.map +1 -1
  911. package/es/UNSAFE_Grid.css +1 -1
  912. package/es/UNSAFE_Grid.js +8 -8
  913. package/es/UNSAFE_Heading.css +9 -9
  914. package/es/UNSAFE_Heading.js +16 -16
  915. package/es/UNSAFE_Heading.js.map +1 -1
  916. package/es/UNSAFE_HiddenAccessible.css +1 -1
  917. package/es/UNSAFE_HiddenAccessible.js +2 -2
  918. package/es/UNSAFE_HiddenAccessible.js.map +1 -1
  919. package/es/UNSAFE_HighlightText.css +1 -1
  920. package/es/UNSAFE_HighlightText.js +2 -2
  921. package/es/UNSAFE_HighlightText.js.map +1 -1
  922. package/es/UNSAFE_Icon.css +8 -8
  923. package/es/UNSAFE_Icon.js +11 -11
  924. package/es/UNSAFE_Icon.js.map +1 -1
  925. package/es/UNSAFE_Icons.js +3 -3
  926. package/es/UNSAFE_Indexer.css +7 -7
  927. package/es/UNSAFE_Indexer.js +15 -15
  928. package/es/UNSAFE_Indexer.js.map +1 -1
  929. package/es/UNSAFE_InputPassword.css +1 -1
  930. package/es/UNSAFE_InputPassword.js +10 -10
  931. package/es/UNSAFE_InputText.css +1 -1
  932. package/es/UNSAFE_InputText.js +9 -9
  933. package/es/UNSAFE_Label.css +13 -13
  934. package/es/UNSAFE_Label.js +15 -15
  935. package/es/UNSAFE_Label.js.map +1 -1
  936. package/es/UNSAFE_LabelValueLayout.css +9 -9
  937. package/es/UNSAFE_LabelValueLayout.js +16 -16
  938. package/es/UNSAFE_LabelValueLayout.js.map +1 -1
  939. package/es/UNSAFE_Layer.js +1 -1
  940. package/es/UNSAFE_Link.css +5 -5
  941. package/es/UNSAFE_Link.js +6 -6
  942. package/es/UNSAFE_Link.js.map +1 -1
  943. package/es/UNSAFE_ListItemLayout.css +9 -9
  944. package/es/UNSAFE_ListItemLayout.js +16 -16
  945. package/es/UNSAFE_ListItemLayout.js.map +1 -1
  946. package/es/UNSAFE_ListView.js +9 -9
  947. package/es/UNSAFE_LiveRegion.css +1 -1
  948. package/es/UNSAFE_LiveRegion.js +2 -2
  949. package/es/UNSAFE_LiveRegion.js.map +1 -1
  950. package/es/UNSAFE_LoadMoreCollection.js +2 -2
  951. package/es/UNSAFE_Menu.css +23 -23
  952. package/es/UNSAFE_Menu.js +31 -31
  953. package/es/UNSAFE_Menu.js.map +1 -1
  954. package/es/UNSAFE_MessageBanner.js +8 -8
  955. package/es/UNSAFE_MessageToast.css +1 -1
  956. package/es/UNSAFE_MessageToast.js +9 -9
  957. package/es/UNSAFE_MeterBar.css +44 -44
  958. package/es/UNSAFE_MeterBar.js +47 -47
  959. package/es/UNSAFE_MeterBar.js.map +1 -1
  960. package/es/UNSAFE_MeterCircle.css +46 -46
  961. package/es/UNSAFE_MeterCircle.js +49 -49
  962. package/es/UNSAFE_MeterCircle.js.map +1 -1
  963. package/es/UNSAFE_Modal.css +3 -3
  964. package/es/UNSAFE_Modal.js +8 -8
  965. package/es/UNSAFE_NumberInputText.js +8 -8
  966. package/es/UNSAFE_PrefixSuffix.css +8 -8
  967. package/es/UNSAFE_PrefixSuffix.js +9 -9
  968. package/es/UNSAFE_PrefixSuffix.js.map +1 -1
  969. package/es/UNSAFE_ProgressBar.css +6 -6
  970. package/es/UNSAFE_ProgressBar.js +8 -8
  971. package/es/UNSAFE_ProgressBar.js.map +1 -1
  972. package/es/UNSAFE_ProgressCircle.css +6 -6
  973. package/es/UNSAFE_ProgressCircle.js +8 -8
  974. package/es/UNSAFE_ProgressCircle.js.map +1 -1
  975. package/es/UNSAFE_RatingGauge.css +20 -20
  976. package/es/UNSAFE_RatingGauge.js +23 -23
  977. package/es/UNSAFE_RatingGauge.js.map +1 -1
  978. package/es/UNSAFE_SelectMultiple.css +1 -1
  979. package/es/UNSAFE_SelectMultiple.js +10 -10
  980. package/es/UNSAFE_SelectMultiple.js.map +1 -1
  981. package/es/UNSAFE_SelectSingle.js +9 -9
  982. package/es/UNSAFE_Selector.css +5 -5
  983. package/es/UNSAFE_Selector.js +13 -13
  984. package/es/UNSAFE_Selector.js.map +1 -1
  985. package/es/UNSAFE_Skeleton.css +1 -1
  986. package/es/UNSAFE_Skeleton.js +7 -7
  987. package/es/UNSAFE_Spacer.js +7 -7
  988. package/es/UNSAFE_SplitMenuButton.css +5 -5
  989. package/es/UNSAFE_SplitMenuButton.js +13 -13
  990. package/es/UNSAFE_SplitMenuButton.js.map +1 -1
  991. package/es/UNSAFE_Subheading.css +8 -8
  992. package/es/UNSAFE_Subheading.js +14 -14
  993. package/es/UNSAFE_Subheading.js.map +1 -1
  994. package/es/UNSAFE_Text.css +25 -25
  995. package/es/UNSAFE_Text.js +31 -31
  996. package/es/UNSAFE_Text.js.map +1 -1
  997. package/es/UNSAFE_TextArea.css +3 -3
  998. package/es/UNSAFE_TextArea.js +11 -11
  999. package/es/UNSAFE_TextArea.js.map +1 -1
  1000. package/es/UNSAFE_TextAreaAutosize.js +8 -8
  1001. package/es/UNSAFE_TextField.css +58 -58
  1002. package/es/UNSAFE_TextField.js +65 -65
  1003. package/es/UNSAFE_TextField.js.map +1 -1
  1004. package/es/UNSAFE_ThemedIcons.js +3 -3
  1005. package/es/UNSAFE_UserAssistance.css +8 -8
  1006. package/es/UNSAFE_UserAssistance.js +16 -16
  1007. package/es/UNSAFE_UserAssistance.js.map +1 -1
  1008. package/es/UNSAFE_View.js +7 -7
  1009. package/es/UNSAFE_VirtualizedListView.js +9 -9
  1010. package/es/UNSAFE_WindowOverlay.js +1 -1
  1011. package/es/{_curry1-0c5ef247.js → _curry1-2a9333ec.js} +2 -2
  1012. package/es/{_curry1-0c5ef247.js.map → _curry1-2a9333ec.js.map} +1 -1
  1013. package/es/{_curry2-4aba9981.js → _curry2-07c02247.js} +3 -3
  1014. package/es/{_curry2-4aba9981.js.map → _curry2-07c02247.js.map} +1 -1
  1015. package/es/{_curry3-4ba62816.js → _curry3-aa3c73cf.js} +4 -4
  1016. package/es/{_curry3-4ba62816.js.map → _curry3-aa3c73cf.js.map} +1 -1
  1017. package/es/{_has-6b23f721.js → _has-eab86c92.js} +3 -3
  1018. package/es/{_has-6b23f721.js.map → _has-eab86c92.js.map} +1 -1
  1019. package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  1020. package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
  1021. package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
  1022. package/es/hooks/PRIVATE_useItemAction.js +1 -1
  1023. package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  1024. package/es/hooks/PRIVATE_useSelection.js +1 -1
  1025. package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
  1026. package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  1027. package/es/hooks/UNSAFE_useActionable.js +1 -1
  1028. package/es/hooks/UNSAFE_useActive.js +1 -1
  1029. package/es/hooks/UNSAFE_useAnimation.js +2 -2
  1030. package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
  1031. package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
  1032. package/es/hooks/UNSAFE_useClearIcon.js +1 -1
  1033. package/es/hooks/UNSAFE_useColorScheme.js +1 -1
  1034. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  1035. package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  1036. package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  1037. package/es/hooks/UNSAFE_useDebounce.js +1 -1
  1038. package/es/hooks/UNSAFE_useFloating.js +2 -2
  1039. package/es/hooks/UNSAFE_useFocus.js +1 -1
  1040. package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
  1041. package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
  1042. package/es/hooks/UNSAFE_useFormContext.js +1 -1
  1043. package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
  1044. package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
  1045. package/es/hooks/UNSAFE_useHover.js +1 -1
  1046. package/es/hooks/UNSAFE_useId.js +1 -1
  1047. package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
  1048. package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  1049. package/es/hooks/UNSAFE_useLongPress.js +1 -1
  1050. package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
  1051. package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
  1052. package/es/hooks/UNSAFE_usePan.js +1 -1
  1053. package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  1054. package/es/hooks/UNSAFE_usePress.js +1 -1
  1055. package/es/hooks/UNSAFE_useScale.js +1 -1
  1056. package/es/hooks/UNSAFE_useSwipe.js +1 -1
  1057. package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
  1058. package/es/hooks/UNSAFE_useTap.js +1 -1
  1059. package/es/hooks/UNSAFE_useTextField.js +1 -1
  1060. package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  1061. package/es/hooks/UNSAFE_useTheme.js +1 -1
  1062. package/es/hooks/UNSAFE_useTimer.js +1 -1
  1063. package/es/hooks/UNSAFE_useToggle.js +1 -1
  1064. package/es/hooks/UNSAFE_useTooltip.css +4 -4
  1065. package/es/hooks/UNSAFE_useTooltip.js +7 -7
  1066. package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
  1067. package/es/hooks/UNSAFE_useTouch.js +1 -1
  1068. package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
  1069. package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
  1070. package/es/hooks/UNSAFE_useUser.js +1 -1
  1071. package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
  1072. package/es/{index-3b1fe1db.js → index-d05c2960.js} +2 -2
  1073. package/es/{index-3b1fe1db.js.map → index-d05c2960.js.map} +1 -1
  1074. package/es/{keys-59f06777.js → keys-f592c2a6.js} +4 -4
  1075. package/es/{keys-59f06777.js.map → keys-f592c2a6.js.map} +1 -1
  1076. package/es/resources/nls/ar/bundle.js +1 -1
  1077. package/es/resources/nls/ar-XB/bundle.js +1 -1
  1078. package/es/resources/nls/bg/bundle.js +1 -1
  1079. package/es/resources/nls/bs/bundle.js +1 -1
  1080. package/es/resources/nls/bs-Cyrl/bundle.js +1 -1
  1081. package/es/resources/nls/bundle.js +1 -1
  1082. package/es/resources/nls/cs/bundle.js +1 -1
  1083. package/es/resources/nls/da/bundle.js +1 -1
  1084. package/es/resources/nls/de/bundle.js +1 -1
  1085. package/es/resources/nls/el/bundle.js +1 -1
  1086. package/es/resources/nls/en/bundle.js +1 -1
  1087. package/es/resources/nls/en-XA/bundle.js +1 -1
  1088. package/es/resources/nls/en-XC/bundle.js +1 -1
  1089. package/es/resources/nls/es/bundle.js +1 -1
  1090. package/es/resources/nls/et/bundle.js +1 -1
  1091. package/es/resources/nls/fi/bundle.js +1 -1
  1092. package/es/resources/nls/fr/bundle.js +1 -1
  1093. package/es/resources/nls/fr-CA/bundle.js +1 -1
  1094. package/es/resources/nls/he/bundle.js +1 -1
  1095. package/es/resources/nls/hr/bundle.js +1 -1
  1096. package/es/resources/nls/hu/bundle.js +1 -1
  1097. package/es/resources/nls/is/bundle.js +1 -1
  1098. package/es/resources/nls/it/bundle.js +1 -1
  1099. package/es/resources/nls/ja/bundle.js +1 -1
  1100. package/es/resources/nls/ko/bundle.js +1 -1
  1101. package/es/resources/nls/lt/bundle.js +1 -1
  1102. package/es/resources/nls/lv/bundle.js +1 -1
  1103. package/es/resources/nls/ms/bundle.js +1 -1
  1104. package/es/resources/nls/nl/bundle.js +1 -1
  1105. package/es/resources/nls/no/bundle.js +1 -1
  1106. package/es/resources/nls/pl/bundle.js +1 -1
  1107. package/es/resources/nls/pt/bundle.js +1 -1
  1108. package/es/resources/nls/pt-PT/bundle.js +1 -1
  1109. package/es/resources/nls/ro/bundle.js +1 -1
  1110. package/es/resources/nls/ru/bundle.js +1 -1
  1111. package/es/resources/nls/sk/bundle.js +1 -1
  1112. package/es/resources/nls/sl/bundle.js +1 -1
  1113. package/es/resources/nls/sr/bundle.js +1 -1
  1114. package/es/resources/nls/sr-Latn/bundle.js +1 -1
  1115. package/es/resources/nls/supportedLocales.js +1 -1
  1116. package/es/resources/nls/sv/bundle.js +1 -1
  1117. package/es/resources/nls/th/bundle.js +1 -1
  1118. package/es/resources/nls/tr/bundle.js +1 -1
  1119. package/es/resources/nls/uk/bundle.js +1 -1
  1120. package/es/resources/nls/vi/bundle.js +1 -1
  1121. package/es/resources/nls/zh-Hans/bundle.js +1 -1
  1122. package/es/resources/nls/zh-Hant/bundle.js +1 -1
  1123. package/es/translationBundle.js +1 -1
  1124. package/es/{tslib.es6-5dbdc1a2.js → tslib.es6-9b64a31a.js} +2 -2
  1125. package/es/{tslib.es6-5dbdc1a2.js.map → tslib.es6-9b64a31a.js.map} +1 -1
  1126. package/es/{useModal-77510702.js → useModal-733c53cc.js} +2 -2
  1127. package/es/{useModal-77510702.js.map → useModal-733c53cc.js.map} +1 -1
  1128. package/es/{useSingleSelection-66e46058.js → useSingleSelection-f2b8ada3.js} +2 -2
  1129. package/es/{useSingleSelection-66e46058.js.map → useSingleSelection-f2b8ada3.js.map} +1 -1
  1130. package/es/utils/PRIVATE_clientHints.js +1 -1
  1131. package/es/utils/PRIVATE_collectionUtils.js +1 -1
  1132. package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
  1133. package/es/utils/PRIVATE_floatingUtils.js +1 -1
  1134. package/es/utils/PRIVATE_meterUtils.js +1 -1
  1135. package/es/utils/PRIVATE_refUtils.js +1 -1
  1136. package/es/utils/PRIVATE_tabbableUtils.js +4 -4
  1137. package/es/utils/PRIVATE_timer.js +1 -1
  1138. package/es/utils/UNSAFE_arrayUtils.js +1 -1
  1139. package/es/utils/UNSAFE_attributeUtils.js +1 -1
  1140. package/es/utils/UNSAFE_classNames.js +1 -1
  1141. package/es/utils/UNSAFE_componentUtils.js +1 -1
  1142. package/es/utils/UNSAFE_dataProvider.js +1 -1
  1143. package/es/utils/UNSAFE_dvtCommonUtils.js +1 -1
  1144. package/es/utils/UNSAFE_filePickerUtils.js +1 -1
  1145. package/es/utils/UNSAFE_getLocale.js +1 -1
  1146. package/es/utils/UNSAFE_interpolations/aria.js +1 -1
  1147. package/es/utils/UNSAFE_interpolations/borders.js +1 -1
  1148. package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  1149. package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  1150. package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  1151. package/es/utils/UNSAFE_interpolations/colors.js +1 -1
  1152. package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
  1153. package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
  1154. package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
  1155. package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
  1156. package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
  1157. package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
  1158. package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
  1159. package/es/utils/UNSAFE_interpolations/grid.js +1 -1
  1160. package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
  1161. package/es/utils/UNSAFE_interpolations/padding.js +1 -1
  1162. package/es/utils/UNSAFE_interpolations/text.css +3 -3
  1163. package/es/utils/UNSAFE_interpolations/text.js +7 -7
  1164. package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
  1165. package/es/utils/UNSAFE_keys.js +1 -1
  1166. package/es/utils/UNSAFE_lengthFilter.js +1 -1
  1167. package/es/utils/UNSAFE_logger.js +3 -3
  1168. package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
  1169. package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
  1170. package/es/utils/UNSAFE_mergeProps.js +1 -1
  1171. package/es/utils/UNSAFE_meterTypes.js +1 -1
  1172. package/es/utils/UNSAFE_roles.js +1 -1
  1173. package/es/utils/UNSAFE_selectUtils.js +1 -1
  1174. package/es/utils/UNSAFE_size.js +1 -1
  1175. package/es/utils/UNSAFE_soundUtils.js +1 -1
  1176. package/es/utils/UNSAFE_stringUtils.js +1 -1
  1177. package/es/utils/UNSAFE_typeUtils.js +1 -1
  1178. package/es/utils/UNSAFE_units.js +1 -1
  1179. package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
  1180. package/package.json +1 -1
  1181. package/amd/Badge-8ff2cf94.js +0 -2
  1182. package/amd/BaseButton-ad209065.js +0 -2
  1183. package/amd/Button-91d1d81d.js +0 -2
  1184. package/amd/Chip-95103689.js +0 -2
  1185. package/amd/ClearIcon-c3d6d99c.js +0 -2
  1186. package/amd/ComponentMessage-fae17309.js +0 -2
  1187. package/amd/ComponentMessageContainer-76688ce8.js +0 -2
  1188. package/amd/Divider-f5cadc49.js +0 -2
  1189. package/amd/Flex-6371a66e.js +0 -2
  1190. package/amd/FocusTrap-fc22ca7f.js +0 -2
  1191. package/amd/FormControlUtils-89bbec0e.js +0 -2
  1192. package/amd/Heading-8a696583.js +0 -2
  1193. package/amd/HighlightText-de1bf4e2.js +0 -2
  1194. package/amd/Icon-74af3581.js +0 -2
  1195. package/amd/Indexer-8127ab0b.js +0 -2
  1196. package/amd/InlineHelpSource-875a4918.js +0 -2
  1197. package/amd/Link-5791e5d2.js +0 -2
  1198. package/amd/List-96b73e43.js +0 -2
  1199. package/amd/ListItemTextLayout-13f774d7.js +0 -2
  1200. package/amd/Menu-e2d86969.js +0 -2
  1201. package/amd/MenuDivider-4be95253.js +0 -2
  1202. package/amd/MenuItem-bfe0ea61.js +0 -2
  1203. package/amd/MessageCloseButton-9761b231.js +0 -2
  1204. package/amd/MessageDetail-231e34ef.js +0 -2
  1205. package/amd/MessageLayer-12ae4390.js +0 -2
  1206. package/amd/MessageStartIcon-8c35d9bf.js +0 -2
  1207. package/amd/MessageSummary-65ddf192.js +0 -2
  1208. package/amd/MessageTimestamp-28a44775.js +0 -2
  1209. package/amd/MessageToast-4091d475.js +0 -2
  1210. package/amd/MeterCircle-74c0eff3.js +0 -2
  1211. package/amd/Modal-f2d86779.js +0 -2
  1212. package/amd/ReadonlyTextFieldInput-11f5ee65.js +0 -2
  1213. package/amd/SelectMenuItem-4d6d9a13.js +0 -2
  1214. package/amd/SelectMultiple-190f6a20.js +0 -2
  1215. package/amd/Skeleton-68cdd7b6.js +0 -2
  1216. package/amd/SplitMenuButton-09096b77.js +0 -2
  1217. package/amd/Text-ab6d74dc.js +0 -2
  1218. package/amd/TextArea-dc934b4c.js +0 -2
  1219. package/amd/TextFieldInput-f500e158.js +0 -2
  1220. package/amd/_curry3-451f0a36.js +0 -2
  1221. package/amd/_has-a3b0d688.js +0 -2
  1222. package/amd/flexbox-1fede399.js +0 -2
  1223. package/amd/flexitem-88bf97c7.js +0 -2
  1224. package/amd/keys-c17276c4.js +0 -2
  1225. package/amd/useAnimation-ed7baee1.js +0 -2
@@ -1,2 +1,2 @@
1
- define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../UNSAFE_MeterBar","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-cbf4b34f","../../tslib.es6-7e0f14ee","../../utils/UNSAFE_size","css!./../../UNSAFE_MeterBar.css","../../utils/UNSAFE_classNames","../../classNames-e23e522a","../../utils/UNSAFE_mergeProps","preact/hooks","../../hooks/UNSAFE_useUser","preact","../../UNSAFE_Layer","preact/compat","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-fd3596ba","../../index-d7a7f3a5","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-ed7baee1","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../PRIVATE_Meter","../../hooks/UNSAFE_useTabbableMode"],function(e,t,r,n,s,o,l,i,c,u,a,d,b,v,h,m,f,p,x,w,y,g,E,C,P,k,j,q,B,M,T,A,S,R,N,V,F,I,O,U,z){"use strict";function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var D=L(i);const _=3e3,H="datatip_text";describe("Test MeterBar component",()=>{it("render",async function(){const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(2)})}),describe("Test Meter Bar ARIA props",()=>{it("Test default aria properties of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.getAttribute("aria-valuemax")).equals("100"),n.expect(e.getAttribute("aria-valuenow")).equals("20"),n.expect(e.getAttribute("aria-valuemin")).equals("0"),n.expect(e.getAttribute("aria-valuetext")).equals("20 "),n.expect(e.getAttribute("aria-describedby")).not.null,n.expect(e.getAttribute("aria-labelledby")).null}),it("Test value, role, min and max property of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:100,max:150,min:50})).container.firstElementChild;n.expect(e.getAttribute("role")).equals("slider"),n.expect(e.getAttribute("aria-valuemax")).equals("150"),n.expect(e.getAttribute("aria-valuenow")).equals("100"),n.expect(e.getAttribute("aria-valuemin")).equals("50"),n.expect(e.getAttribute("aria-valuetext")).equals("100 ")}),it("Test accessiblelabel,describedBy,labelledby property of Meter Bar",async function(){const e="TEST-ACCESSIBLE-LABEL",o="TEST ARIA-LABELLED-BY",l=r.render(t.jsx(s.MeterBar,{value:20,accessibleLabel:e,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY",ariaLabelledBy:o})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e);const i=l.getAttribute("aria-describedby"),c=null==i?void 0:i.split(" ");n.expect(null==c?void 0:c.length).equals(3),n.expect(c?c[0]:"").equals("TEST"),n.expect(c?c[1]:"").equals("ARIA-DESCRIBED-BY"),n.expect(l.getAttribute("aria-labelledby")).equals(o)})}),describe('Test "Size" property of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=r.render(t.jsx(s.MeterBar,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("12px")}),it('Test "size = large"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("12px")}),it('Test "size = medium"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("8px")}),it('Test "size = small"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("4px")}))}),describe('Test "Length" attribute of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default length of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.style.width).equals("100%")}),it("Test length of Meter Bar when set in percentage (%)",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"25%"})).container.firstElementChild;n.expect(e.style.width).equals("25%")}),it("Test length of Meter Bar when set in x ",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"100x"})).container.firstElementChild;n.expect(e.style.width).equals("calc(100 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x))")}))}),describe("Test indicator APIs of Meter Bar ",()=>{it("Test default indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("100%")}),it("Test indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("50%")}),it("Test default indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("")}),it("Test indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("red")})}),describe('Test "Track" attribute of Meter Bar ',()=>{it("Test default Track of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("")}),it("Test Track not present in Meter Bar when isTrackRendered is set to false",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("transparent")}),it("Test isTrackRendered and track color attribute with value as true in Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("red")})}),"undefined"==typeof jest&&describe("Test Thresholds attribute of Meter Bar ",()=>{const e=[{max:33,color:"red",accessibleLabel:"accesibleLabel"},{max:65,color:"yellow"},{max:100,color:"green"}],o=[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}];it("Test threshold color in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("red");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("yellow");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("green")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to all",async function(){var e,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"all",thresholds:o})),b=null===(l=null===(e=d.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to track",async function(){var e;const l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"track",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(l.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"indicator",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test aria-valuetext for threshold color in Meter Bar",async function(){const o=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})).container.firstElementChild;n.expect(o.getAttribute("aria-valuetext")).equals("20 accesibleLabel")}),it("Test threshold for horizontal border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("2px 0px 0px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"horizontal order width is correct").to.be.equals("0px 1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px 2px 2px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e,orientation:"vertical"})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px 0px 2px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"vertical border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("2px 2px 0px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")}),it("Test threshold for horizontal border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"horizontal border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}],orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"vertical border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")})}),describe('Test "Orientation" attribute of Meter Bar ',()=>{it("Test default orientation of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.classList.length).equals(2)}),it("Test horizontal orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"horizontal"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(2)}),it("Test vertical orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(3)})}),"undefined"==typeof jest&&describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Lines to check color and value",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.backgroundColor).equals("red"),n.expect(v.style.left).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(h.style.left).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(m.style.left).equals("40%");const f=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(f.style.backgroundColor).equals(""),n.expect(f.style.left).equals("60%")}),it("Multiple Reference Lines to check color and value in Vertical Meter Bar",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.bottom).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.bottom).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.bottom).equals("40%");const f=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(f.style.bottom).equals("60%")}),it("Multiple Reference Lines to check color enums",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"danger",position:"start"},{value:50,color:"warning",position:"start"},{value:70,color:"success",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const f=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(window.getComputedStyle(f).backgroundColor).equals("rgba(22, 21, 19, 0.8)"),n.expect(window.getComputedStyle(f).borderRight).equals("1px solid rgba(245, 244, 242, 0.7)")}),it("Reference Lines position and colour in horizontal MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("bottom"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("bottom"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")}),it("Reference Lines position in vertical MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("right"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("right"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")})}),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction when value is not set",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{})})),D.default.tab(),await r.waitFor(()=>X("0"),{timeout:_})}),it("check datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWDOWN]"),await r.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWUP]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWLEFT]"),await r.waitFor(()=>n.expect(e).equals(1.5))}))}),describe("Keyboard Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))),D.default.tab(),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check step is correctly triggered with default value using right arrow by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(1))}),it("Test to set the attribute datatip , datatip is correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}))});const X=e=>{var t;const r=document.querySelectorAll('[role="tooltip"]').item(0),s=null==r?void 0:r.firstElementChild;n.expect(null==s?void 0:s.style.opacity).not.equals(""),n.expect(null==s?void 0:s.style.opacity).not.equals("0"),n.expect(null==s?void 0:s.style.maxHeight).not.equals(""),n.expect(null==s?void 0:s.style.maxHeight).not.equals("0");const o=null===(t=null==s?void 0:s.firstElementChild)||void 0===t?void 0:t.innerHTML;n.expect(o).equals(e)}});
1
+ define(["require","preact/jsx-runtime","@testing-library/preact","chai","../../UNSAFE_MeterBar","../../utils/UNSAFE_matchTranslationBundle","../../UNSAFE_Environment","@testing-library/user-event","../../utils/PRIVATE_clientHints","../../clientHints-33be1380","../../tslib.es6-24bf3861","../../utils/UNSAFE_size","css!./../../UNSAFE_MeterBar.css","../../utils/UNSAFE_classNames","../../classNames-f11010a7","../../utils/UNSAFE_mergeProps","preact/hooks","../../hooks/UNSAFE_useUser","preact","../../UNSAFE_Layer","preact/compat","../../hooks/PRIVATE_useDvtMeterEvents","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-1e70bca1","../../index-66b69d43","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-19a01c68","../../utils/PRIVATE_meterUtils","../../utils/UNSAFE_dvtCommonUtils","../../PRIVATE_Meter","../../hooks/UNSAFE_useTabbableMode"],function(e,t,r,n,s,o,l,i,c,u,a,d,b,v,h,m,p,f,x,w,y,g,E,C,P,k,j,q,B,M,T,A,S,R,N,V,F,I,O,U,z){"use strict";function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var D=L(i);const _=3e3,H="datatip_text";describe("Test MeterBar component",()=>{it("render",async function(){const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,accessibleLabel:"ariaText"})}))),d=await a.getAllByLabelText("ariaText");n.expect(d).not.null}),it("applies Linaria CSS classes",async()=>{const i=o.matchTranslationBundle(["en"],new Set(["en-US","en"])),{default:c}=await function(t){switch(t){case"../../resources/nls/ar/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar/bundle"],t,r)});case"../../resources/nls/ar-XB/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ar-XB/bundle"],t,r)});case"../../resources/nls/bg/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bg/bundle"],t,r)});case"../../resources/nls/bs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs/bundle"],t,r)});case"../../resources/nls/bs-Cyrl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/bs-Cyrl/bundle"],t,r)});case"../../resources/nls/cs/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/cs/bundle"],t,r)});case"../../resources/nls/da/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/da/bundle"],t,r)});case"../../resources/nls/de/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/de/bundle"],t,r)});case"../../resources/nls/el/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/el/bundle"],t,r)});case"../../resources/nls/en/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en/bundle"],t,r)});case"../../resources/nls/en-XA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XA/bundle"],t,r)});case"../../resources/nls/en-XC/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/en-XC/bundle"],t,r)});case"../../resources/nls/es/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/es/bundle"],t,r)});case"../../resources/nls/et/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/et/bundle"],t,r)});case"../../resources/nls/fi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fi/bundle"],t,r)});case"../../resources/nls/fr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr/bundle"],t,r)});case"../../resources/nls/fr-CA/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/fr-CA/bundle"],t,r)});case"../../resources/nls/he/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/he/bundle"],t,r)});case"../../resources/nls/hr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hr/bundle"],t,r)});case"../../resources/nls/hu/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/hu/bundle"],t,r)});case"../../resources/nls/is/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/is/bundle"],t,r)});case"../../resources/nls/it/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/it/bundle"],t,r)});case"../../resources/nls/ja/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ja/bundle"],t,r)});case"../../resources/nls/ko/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ko/bundle"],t,r)});case"../../resources/nls/lt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lt/bundle"],t,r)});case"../../resources/nls/lv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/lv/bundle"],t,r)});case"../../resources/nls/ms/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ms/bundle"],t,r)});case"../../resources/nls/nl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/nl/bundle"],t,r)});case"../../resources/nls/no/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/no/bundle"],t,r)});case"../../resources/nls/pl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pl/bundle"],t,r)});case"../../resources/nls/pt/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt/bundle"],t,r)});case"../../resources/nls/pt-PT/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/pt-PT/bundle"],t,r)});case"../../resources/nls/ro/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ro/bundle"],t,r)});case"../../resources/nls/ru/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/ru/bundle"],t,r)});case"../../resources/nls/sk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sk/bundle"],t,r)});case"../../resources/nls/sl/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sl/bundle"],t,r)});case"../../resources/nls/sr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr/bundle"],t,r)});case"../../resources/nls/sr-Latn/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sr-Latn/bundle"],t,r)});case"../../resources/nls/sv/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/sv/bundle"],t,r)});case"../../resources/nls/th/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/th/bundle"],t,r)});case"../../resources/nls/tr/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/tr/bundle"],t,r)});case"../../resources/nls/uk/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/uk/bundle"],t,r)});case"../../resources/nls/vi/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/vi/bundle"],t,r)});case"../../resources/nls/zh-Hans/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hans/bundle"],t,r)});case"../../resources/nls/zh-Hant/bundle.ts":return new Promise(function(t,r){e(["../../resources/nls/zh-Hant/bundle"],t,r)});default:return new Promise(function(e,r){("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})}}(`../../resources/nls/${i}/bundle.ts`),u={translations:{"@oracle/oraclejet-preact":c}},a=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:u},{children:t.jsx(s.MeterBar,{value:20,min:0,max:100})}))).container.firstElementChild.classList;n.expect(a.length).equals(2)})}),describe("Test Meter Bar ARIA props",()=>{it("Test default aria properties of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.getAttribute("aria-valuemax")).equals("100"),n.expect(e.getAttribute("aria-valuenow")).equals("20"),n.expect(e.getAttribute("aria-valuemin")).equals("0"),n.expect(e.getAttribute("aria-valuetext")).equals("20 "),n.expect(e.getAttribute("aria-describedby")).not.null,n.expect(e.getAttribute("aria-labelledby")).null}),it("Test value, role, min and max property of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:100,max:150,min:50})).container.firstElementChild;n.expect(e.getAttribute("role")).equals("slider"),n.expect(e.getAttribute("aria-valuemax")).equals("150"),n.expect(e.getAttribute("aria-valuenow")).equals("100"),n.expect(e.getAttribute("aria-valuemin")).equals("50"),n.expect(e.getAttribute("aria-valuetext")).equals("100 ")}),it("Test accessiblelabel,describedBy,labelledby property of Meter Bar",async function(){const e="TEST-ACCESSIBLE-LABEL",o="TEST ARIA-LABELLED-BY",l=r.render(t.jsx(s.MeterBar,{value:20,accessibleLabel:e,ariaDescribedBy:"TEST ARIA-DESCRIBED-BY",ariaLabelledBy:o})).container.firstElementChild;n.expect(l.getAttribute("aria-label")).equals(e);const i=l.getAttribute("aria-describedby"),c=null==i?void 0:i.split(" ");n.expect(null==c?void 0:c.length).equals(3),n.expect(c?c[0]:"").equals("TEST"),n.expect(c?c[1]:"").equals("ARIA-DESCRIBED-BY"),n.expect(l.getAttribute("aria-labelledby")).equals(o)})}),describe('Test "Size" property of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default size",async function(){const e=r.render(t.jsx(s.MeterBar,{value:5})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Default size is correct").to.be.equal("12px")}),it('Test "size = large"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:5,size:"lg"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Large size is correct").to.be.equal("12px")}),it('Test "size = medium"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"md"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Medium size is correct").to.be.equal("8px")}),it('Test "size = small"',async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,size:"sm"})).container.firstElementChild;n.expect(window.getComputedStyle(e).getPropertyValue("height"),"Small size is correct").to.be.equal("4px")}))}),describe('Test "Length" attribute of Meter Bar ',()=>{"undefined"==typeof jest&&(it("Test default length of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.style.width).equals("100%")}),it("Test length of Meter Bar when set in percentage (%)",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"25%"})).container.firstElementChild;n.expect(e.style.width).equals("25%")}),it("Test length of Meter Bar when set in x ",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20,length:"100x"})).container.firstElementChild;n.expect(e.style.width).equals("calc(100 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x))")}))}),describe("Test indicator APIs of Meter Bar ",()=>{it("Test default indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("100%")}),it("Test indicatorSize of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorSize:.5})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.height).equals("50%")}),it("Test default indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("")}),it("Test indicatorColor of Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,indicatorColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(l.style.backgroundColor).equals("red")})}),describe('Test "Track" attribute of Meter Bar ',()=>{it("Test default Track of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("")}),it("Test Track not present in Meter Bar when isTrackRendered is set to false",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!1,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("transparent")}),it("Test isTrackRendered and track color attribute with value as true in Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,isTrackRendered:!0,trackColor:"red"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.style.backgroundColor).equals("red")})}),"undefined"==typeof jest&&describe("Test Thresholds attribute of Meter Bar ",()=>{const e=[{max:33,color:"red",accessibleLabel:"accesibleLabel"},{max:65,color:"yellow"},{max:100,color:"green"}],o=[{max:33,color:"danger"},{max:65,color:"warning"},{max:100,color:"success"}];it("Test threshold color in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("red");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("yellow");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("green")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to all",async function(){var e,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"all",thresholds:o})),b=null===(l=null===(e=d.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(b.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to track",async function(){var e;const l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"track",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(l.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test threshold color enums in Meter Bar when thresholdDisplay is set to indicator",async function(){var e,l;const i=null===(l=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholdDisplay:"indicator",thresholds:o})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(i.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)")}),it("Test aria-valuetext for threshold color in Meter Bar",async function(){const o=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})).container.firstElementChild;n.expect(o.getAttribute("aria-valuetext")).equals("20 accesibleLabel")}),it("Test threshold for horizontal border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("2px 0px 0px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"horizontal order width is correct").to.be.equals("0px 1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"horizontal border radius is correct").to.be.equals("0px 2px 2px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class in Meter Bar",async function(){var o,l,i,c,u,a;const d=r.render(t.jsx(s.MeterBar,{value:20,thresholds:e,orientation:"vertical"})),b=null===(l=null===(o=d.container.firstElementChild)||void 0===o?void 0:o.firstElementChild)||void 0===l?void 0:l.childNodes[0];n.expect(window.getComputedStyle(b).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px 0px 2px 2px"),n.expect(window.getComputedStyle(b).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(b).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const v=null===(c=null===(i=d.container.firstElementChild)||void 0===i?void 0:i.firstElementChild)||void 0===c?void 0:c.childNodes[2];n.expect(window.getComputedStyle(v).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("0px"),n.expect(window.getComputedStyle(v).getPropertyValue("border-color"),"vertical border color is correct").to.be.equal("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(v).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px");const h=null===(a=null===(u=d.container.firstElementChild)||void 0===u?void 0:u.firstElementChild)||void 0===a?void 0:a.childNodes[4];n.expect(window.getComputedStyle(h).getPropertyValue("border-radius"),"vertical border radius is correct").to.be.equals("2px 2px 0px 0px"),n.expect(window.getComputedStyle(h).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(h).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")}),it("Test threshold for horizontal border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}]})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"horizontal border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"horizontal border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"horizontal border width is correct").to.be.equals("0px 1px 0px 0px")}),it("Test threshold for vertical border properties class when single threshold from min to max in Meter Bar",async function(){var e,o;const l=null===(o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,thresholds:[{max:100}],orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[0];n.expect(window.getComputedStyle(l).getPropertyValue("border-radius"),"vertical border width is correct").to.be.equals("2px"),n.expect(window.getComputedStyle(l).getPropertyValue("border-color"),"vertical border color is correct").to.be.equals("rgba(245, 244, 242, 0.7)"),n.expect(window.getComputedStyle(l).getPropertyValue("border-width"),"vertical border width is correct").to.be.equals("1px 0px 0px")})}),describe('Test "Orientation" attribute of Meter Bar ',()=>{it("Test default orientation of Meter Bar",async function(){const e=r.render(t.jsx(s.MeterBar,{value:20})).container.firstElementChild;n.expect(e.classList.length).equals(2)}),it("Test horizontal orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"horizontal"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(2)}),it("Test vertical orientation of Meter Bar",async function(){var e;const o=null===(e=r.render(t.jsx(s.MeterBar,{value:20,orientation:"vertical"})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;n.expect(o.classList.length).equals(3)})}),"undefined"==typeof jest&&describe("Test to check the rendering of reference lines",()=>{it("Multiple Reference Lines to check color and value",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.backgroundColor).equals("red"),n.expect(v.style.left).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(h.style.left).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.backgroundColor).equals("rgb(58, 110, 150)"),n.expect(m.style.left).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.backgroundColor).equals(""),n.expect(p.style.left).equals("60%")}),it("Multiple Reference Lines to check color and value in Vertical Meter Bar",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:50,color:"#3A6E96",position:"start"},{value:70,color:"red",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[3];n.expect(v.style.bottom).equals("70%");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.bottom).equals("50%");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[1];n.expect(m.style.bottom).equals("40%");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(p.style.bottom).equals("60%")}),it("Multiple Reference Lines to check color enums",async()=>{var e,o,l,i,c,u,a,d;const b=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"danger",position:"start"},{value:50,color:"warning",position:"start"},{value:70,color:"success",position:"start"},{value:60,position:"end"}]})),v=null===(o=null===(e=b.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(v.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-danger)");const h=null===(i=null===(l=b.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(h.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-warning)");const m=null===(u=null===(c=b.container.firstElementChild)||void 0===c?void 0:c.firstElementChild)||void 0===u?void 0:u.childNodes[3];n.expect(m.style.backgroundColor).equals("var(--oj-c-PRIVATE-DO-NOT-USE-dvt-threshold-success)");const p=null===(d=null===(a=b.container.firstElementChild)||void 0===a?void 0:a.firstElementChild)||void 0===d?void 0:d.childNodes[4];n.expect(window.getComputedStyle(p).backgroundColor).equals("rgba(22, 21, 19, 0.8)"),n.expect(window.getComputedStyle(p).borderRight).equals("1px solid rgba(245, 244, 242, 0.7)")}),it("Reference Lines position and colour in horizontal MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("bottom"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("bottom"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")}),it("Reference Lines position in vertical MeterBar",async()=>{var e,o,l,i;const c=r.render(t.jsx(s.MeterBar,{value:10,length:"100x",orientation:"vertical",referenceLines:[{value:40,color:"#3A6E96",position:"start"},{value:80,position:"end"}]})),u=null===(o=null===(e=c.container.firstElementChild)||void 0===e?void 0:e.firstElementChild)||void 0===o?void 0:o.childNodes[1];n.expect(u.classList.length).equals(4),n.expect(window.getComputedStyle(u).getPropertyValue("right"),"Position is correct").to.be.equal("0px");const a=null===(i=null===(l=c.container.firstElementChild)||void 0===l?void 0:l.firstElementChild)||void 0===i?void 0:i.childNodes[2];n.expect(window.getComputedStyle(a).getPropertyValue("right"),"Position is correct").to.be.equal("-8px"),n.expect(a.style.backgroundColor).equals("")})}),describe("Mouse Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:null})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})})).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Mouse Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check datatip correctly triggered with mouse interaction",async()=>{var e;const n=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(n),await r.waitFor(()=>X(H),{timeout:_})},_),it("check datatip when set to null, correctly triggered with mouse interaction",async()=>{var e;const o=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:null})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;D.default.hover(o);const i=document.querySelectorAll('[role="tooltip"]');n.expect(i.length).equals(0)}),it("check onCommit event is correctly triggered with mouse interaction",async()=>{var e;const o={clicked:!1},i=null===(e=r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:e=>{null!=e.value&&(o.clicked=!0)}})}))).container.firstElementChild)||void 0===e?void 0:e.firstElementChild;r.fireEvent.pointerUp(i),await r.waitFor(()=>n.expect(o.clicked).equals(!0))}))}),describe("Keyboard Interaction",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction when value is not set",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{})})),D.default.tab(),await r.waitFor(()=>X("0"),{timeout:_})}),it("check datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:30,datatip:H})})),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})})),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check step is correctly triggered using down arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWDOWN]"),await r.waitFor(()=>n.expect(e).equals(1.5))}),it("check step is correctly triggered using right arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using up arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWUP]"),await r.waitFor(()=>n.expect(e).equals(2.5))}),it("check step is correctly triggered using left arrow key with keyboard interaction",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,{children:t.jsx(s.MeterBar,{step:.5,value:e,onInput:t=>{e=t.value}})})),D.default.tab(),D.default.keyboard("[ARROWLEFT]"),await r.waitFor(()=>n.expect(e).equals(1.5))}))}),describe("Keyboard Interaction in RTL mode",()=>{const e=u.getClientHints();"undefined"==typeof jest&&"chrome"===e.browser&&(mocha.timeout(_),it("check default datatip correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30})}))),D.default.tab(),await r.waitFor(()=>X("30"),{timeout:_})},_),it("check step is correctly triggered with default value using right arrow by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[ARROWRIGHT]"),await r.waitFor(()=>n.expect(e).equals(1))}),it("Test to set the attribute datatip , datatip is correctly triggered with keyboard interaction",async()=>{r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:30,datatip:H})}))),D.default.tab(),await r.waitFor(()=>X(H),{timeout:_})},_),it("check onInput event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onInput:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),await r.waitFor(()=>n.expect(e.called).equals(!0))}),it("check onInput is correctly triggered with HOME key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[HOME]"),await r.waitFor(()=>n.expect(e).equals(0))}),it("check onInput is correctly triggered with END key by keyboard interaction ",async()=>{let e=2;r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:e,onInput:t=>{e=t.value}})}))),D.default.tab(),D.default.keyboard("[END]"),await r.waitFor(()=>n.expect(e).equals(100))}),it("check onCommit event is correctly triggered with keyboard interaction",async()=>{const e={called:!1};r.render(t.jsx(l.RootEnvironmentProvider,Object.assign({environment:{user:{direction:"rtl"}}},{children:t.jsx(s.MeterBar,{value:20,onCommit:t=>{null!=t.value&&(e.called=!0)}})}))),D.default.tab(),D.default.keyboard("[ENTER]"),await r.waitFor(()=>n.expect(e.called).equals(!0))}))});const X=e=>{var t;const r=document.querySelectorAll('[role="tooltip"]').item(0),s=null==r?void 0:r.firstElementChild;n.expect(null==s?void 0:s.style.opacity).not.equals(""),n.expect(null==s?void 0:s.style.opacity).not.equals("0"),n.expect(null==s?void 0:s.style.maxHeight).not.equals(""),n.expect(null==s?void 0:s.style.maxHeight).not.equals("0");const o=null===(t=null==s?void 0:s.firstElementChild)||void 0===t?void 0:t.innerHTML;n.expect(o).equals(e)}});
2
2
  //# sourceMappingURL=MeterBar.spec.js.map
@@ -1,46 +1,46 @@
1
- ._1rc07ze{display:inline-flex;pointer-events:none;}._1rc07ze:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
2
- ._511kll{width:100%;}
3
- ._14xo93s{height:100%;}
4
- ._3ujg5u{cursor:pointer;touch-action:none;}
5
- .s6jlg7{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);position:absolute;pointer-events:none;}
6
- ._1w50m24{bottom:0%;left:50%;transform:translate(-50%,0);}
7
- .n39k1x{top:50%;transform:translate(0,-50%);}
8
- ._8el2we{position:relative;display:flex;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);pointer-events:auto;}
9
- .pm4jl0{flex-direction:column-reverse;}
10
- ._1plrfp2{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);}
11
- .x1chl2{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);height:100%;}
12
- ._1pcj5f3{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);}
13
- ._1lpp7g9{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);height:100%;}
14
- .ti9qmg{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);}
15
- ._1wx6zd4{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);height:100%;}
16
- ._83f8t{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
17
- .ln4ty6{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
18
- .t1z7sk{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
19
- ._17cto9f{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
20
- ._8pupk1{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
21
- .ra0aco{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
22
- ._1pfjfb2{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
23
- .m30pnu{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
24
- ._19u3gwx{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
25
- ._3d70sy{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
26
- ._5orpu6{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
27
- ._1ang5ny{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
28
- ._1190wpk{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
29
- ._1rzw3ht{border-radius:0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0;border-width:0;}
30
- .vcopr0{border-radius:0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
31
- ._1vbj03g{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0;border-width:0;}
32
- ._1tbehij{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
1
+ ._13omcok{display:inline-flex;pointer-events:none;}._13omcok:focus-visible{outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-style:dotted;outline-width:1px;}
2
+ ._11xywx0{width:100%;}
3
+ ._156khvg{height:100%;}
4
+ .o75ou7{cursor:pointer;touch-action:none;}
5
+ .cl38v3{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);position:absolute;pointer-events:none;}
6
+ ._356rku{bottom:0%;left:50%;transform:translate(-50%,0);}
7
+ .xxtiqi{top:50%;transform:translate(0,-50%);}
8
+ ._1jtuf76{position:relative;display:flex;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);pointer-events:auto;}
9
+ .hsomda{flex-direction:column-reverse;}
10
+ ._1v2o9ld{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);}
11
+ .hybk64{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size);height:100%;}
12
+ .tgqrjr{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);}
13
+ ._1cof88b{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size);height:100%;}
14
+ ._1s61om3{width:100%;height:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);}
15
+ ._1mlid5r{width:var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size);height:100%;}
16
+ .fh37nf{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
17
+ ._1efv7v{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
18
+ ._18z9r8x{margin-top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
19
+ ._12ft60j{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
20
+ ._18wh74d{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
21
+ ._11i1lxw{margin-inline-start:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
22
+ .j1bpqm{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
23
+ ._1bdy5gk{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
24
+ ._18sj8uj{margin-inline-end:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
25
+ .v4yk0l{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size));}
26
+ ._1l1oe6{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size));}
27
+ ._3zcik6{margin-bottom:calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size));}
28
+ .nz01gi{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
29
+ .i0j9v9{border-radius:0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0;border-width:0;}
30
+ ._2x9ou8{border-radius:0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
31
+ ._18gajrp{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0;border-width:0;}
32
+ ._18dakeh{border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm);}
33
33
 
34
- .nh14ws{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color);background-clip:padding-box;position:absolute;pointer-events:none;}
35
- .tiq5yo{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 0 1px 0;}
36
- .loyoav{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 1px 0 0;}
37
- ._1uln34a{width:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);height:2px;translate:0 1px;}
38
- ._12z0tmx{translate:-1px 0;width:2px;height:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
39
- .f77l8r{bottom:0%;}
40
- .v2l8m5{right:0%;}
41
- ._1nqqi6i{left:0%;}
34
+ ._16armr3{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;box-sizing:border-box;pointer-events:none;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);background-clip:padding-box;}
35
+ ._1z0ps6i{border-width:1px 0 0 0;}
36
+ ._21e4tk{border-width:0 0 0 1px;}
37
+ .n0iq85{border-width:0 1px 0 0;}
42
38
 
43
- .wdum0{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;box-sizing:border-box;pointer-events:none;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color);background-clip:padding-box;}
44
- ._1jbaigg{border-width:1px 0 0 0;}
45
- ._1gretvc{border-width:0 0 0 1px;}
46
- ._1o31zdd{border-width:0 1px 0 0;}
39
+ .qtqkx1{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color);background-clip:padding-box;position:absolute;pointer-events:none;}
40
+ .zgi3jz{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 0 1px 0;}
41
+ ._127bib9{border-color:var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color);border-style:solid;border-width:0 1px 0 0;}
42
+ ._17tresi{width:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);height:2px;translate:0 1px;}
43
+ .v5sdzt{translate:-1px 0;width:2px;height:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
44
+ .deqfnw{bottom:0%;}
45
+ ._1i2mnn8{right:0%;}
46
+ .x7xsr3{left:0%;}
@@ -1,2 +1,2 @@
1
- define(["exports","./tslib.es6-7e0f14ee","preact/jsx-runtime","./utils/UNSAFE_size","css!./UNSAFE_MeterBar.css","./utils/UNSAFE_classNames","./utils/UNSAFE_mergeProps","preact/hooks","./hooks/UNSAFE_useUser","./hooks/PRIVATE_useDvtMeterEvents","./utils/PRIVATE_meterUtils","./PRIVATE_Meter","./utils/UNSAFE_dvtCommonUtils","./classNames-e23e522a","./hooks/UNSAFE_useTabbableMode","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-fd3596ba","./index-d7a7f3a5","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-ed7baee1"],function(t,e,o,r,a,i,n,s,l,c,d,h,u,m,g,_,p,v,f,b,S,x,z,E,k,T,A,M,U,F,N,j,C,B){"use strict";function w(t){if(!t)return{width:0,height:0};const e=t.getBoundingClientRect();return{width:e.width,height:e.height}}function y({orientation:t,percentage:e,color:r,position:a}){const i="horizontal"===t,{direction:n}=l.useUser(),s="rtl"===n,c="start"===a;return o.jsx("div",{class:m.classNames([R.base,R[`${t}Border`],R[`${t}`],c?i?R.horiontalStart:R["verticalStart"+(s?"Rtl":"Ltr")]:""]),style:{left:i&&!s?e:void 0,right:i&&s?e:void 0,bottom:i?void 0:e,backgroundColor:u.getDvtThresholdColor(r)}})}const R={base:"nh14ws",verticalBorder:"tiq5yo",horizontalBorder:"loyoav",vertical:"_1uln34a",horizontal:"_12z0tmx",horiontalStart:"f77l8r",verticalStartLtr:"v2l8m5",verticalStartRtl:"_1nqqi6i"};function I(t){var{color:r,length:a,orientation:i}=t,n=e.__rest(t,["color","length","orientation"]);const{direction:s}=l.useUser(),c="horizontal"===i,d="rtl"===s;return o.jsx("div",{class:m.classNames([L.base,c?L["horizontalBarTrackSection"+(d?"Rtl":"Ltr")]:L.verticalBarTrackSection,n.class]),style:{width:c?a:"100%",height:c?"100%":a,backgroundColor:u.getDvtThresholdColor(r)}})}const L={base:"wdum0",verticalBarTrackSection:"_1jbaigg",horizontalBarTrackSectionRtl:"_1gretvc",horizontalBarTrackSectionLtr:"_1o31zdd"};const $=function(t,e,o){const r=[];return t.start&&r.push(D[`${e}Margin${o?"Top":"Start"}`]),t.end&&r.push(D[`${e}Margin${o?"Bottom":"End"}`]),r},P={base:"_1rc07ze",horizontal:"_511kll",vertical:"_14xo93s",interactive:"_3ujg5u"},V={base:"s6jlg7",vertical:"_1w50m24",horizontal:"n39k1x"},D={base:"_8el2we",vertical:"pm4jl0",smHorizontal:"_1plrfp2",smVertical:"x1chl2",mdHorizontal:"_1pcj5f3",mdVertical:"_1lpp7g9",lgHorizontal:"ti9qmg",lgVertical:"_1wx6zd4",smMarginTop:"_83f8t",mdMarginTop:"ln4ty6",lgMarginTop:"t1z7sk",smMarginStart:"_17cto9f",mdMarginStart:"_8pupk1",lgMarginStart:"ra0aco",smMarginEnd:"_1pfjfb2",mdMarginEnd:"m30pnu",lgMarginEnd:"_19u3gwx",smMarginBottom:"_3d70sy",mdMarginBottom:"_5orpu6",lgMarginBottom:"_1ang5ny"},H={horizontalFirst:"_1190wpk",horizontalLast:"_1rzw3ht",verticalFirst:"vcopr0",verticalLast:"_1vbj03g",roundedCorners:"_1tbehij"};t.MeterBar=function(t){var a,i,{max:u=100,min:_=0,value:p=0,step:v=1,length:f="100%",size:b="lg",orientation:S="horizontal",isTrackRendered:x=!0,thresholdDisplay:z="all",indicatorSize:E=1}=t,k=e.__rest(t,["max","min","value","step","length","size","orientation","isTrackRendered","thresholdDisplay","indicatorSize"]);d.validateRange(_,u,p,v);const T="horizontal"===S,A=s.useRef(null),M=s.useRef(w(null)),{direction:U}=l.useUser(),F="rtl"===U;s.useEffect(()=>{(k.onCommit||k.onInput)&&(M.current=w(A.current))},[b,f,S,k.onCommit,k.onInput]);const N=c.usePointerEvents(p,t=>{if(t.target==A.current)return function(t,e,o,r,a,i,n){const s=e.current;if(!s||0===s.width)return;let l;if("horizontal"===i){const e=t.offsetX;l=o+(r-o)*(n?s.width-e:e)/s.width}else l=o+(r-o)*(s.height-t.offsetY)/s.height;return l=Math.round(l/a)*a,Math.max(o,Math.min(r,l))}(t,M,_,u,v,S,F)},A,k.onCommit,k.onInput),j=c.useKeyboardEvents(p,_,u,v,k.onCommit,k.onInput),{datatipContent:C,datatipProps:B}=c.useMeterDatatip(p,k.datatip,k.ariaDescribedBy),R=d.getMeterAriaProps(p,_,u,`${p}`,k.accessibleLabel,k.ariaLabelledBy,k.thresholds),L=n.mergeProps(N,j,B,R),q=Math.max(0,Math.min(1,E)),O=100*(p-_)/(u-_)+"%",K=100*q+"%",{trackColor:X,indicatorColor:Y}=d.getTrackAndIndicatorColor(p,z,k.trackColor,k.indicatorColor,k.thresholds),G=function(t){let e={start:!1,end:!1};return t&&(e=t.reduce((t,e)=>(t.start=t.start||"start"===e.position,t.end=t.end||"end"===e.position||null==e.position,t),e)),e}(k.referenceLines),J=k.onCommit||k.onInput,{isTabbable:Q}=g.useTabbableMode();return o.jsxs(o.Fragment,{children:[o.jsx("div",Object.assign({tabIndex:Q?0:-1,role:"slider"},L,{style:{width:T?r.sizeToCSS(f):void 0,height:T?void 0:r.sizeToCSS(f)},class:m.classNames([P.base,P[S]])},{children:o.jsxs(h.BarTrack,Object.assign({ref:A,orientation:S,color:!x||"all"===z&&k.thresholds?"transparent":X,class:m.classNames([D.base,J?P.interactive:"",T?"":D.vertical,T?D[`${b}Horizontal`]:D[`${b}Vertical`],...$(G,b,T)])},{children:["all"===z&&(null===(a=k.thresholds)||void 0===a?void 0:a.filter(t=>t.max>_&&t.max<=u).sort((t,e)=>t.max-e.max).map((t,e,r)=>{const a=0===e?t.max-_:t.max-r[e-1].max;let i=0===e?H[`${S}First`]:"";return t.max===u&&(i=0===e?H.roundedCorners:H[`${S}Last`]),o.jsxs(o.Fragment,{children:[o.jsx(I,{class:i,orientation:S,length:100*a/(u-_)+"%",color:t.color}),x&&e===r.length-1&&t.max<u?o.jsx(I,{class:H[`${S}Last`],color:X,orientation:S,length:100*(u-r[e].max)/(u-_)+"%"}):""]})})),o.jsx(h.BarValue,{length:O,size:K,orientation:S,class:m.classNames([V.base,V[S]]),color:Y}),null===(i=k.referenceLines)||void 0===i?void 0:i.map(t=>o.jsx(y,{color:t.color,orientation:S,percentage:100*(t.value-_)/(u-_)+"%",position:t.position}))]}))})),C]})},Object.defineProperty(t,"__esModule",{value:!0})});
1
+ define(["exports","./tslib.es6-24bf3861","preact/jsx-runtime","./utils/UNSAFE_size","css!./UNSAFE_MeterBar.css","./utils/UNSAFE_classNames","./utils/UNSAFE_mergeProps","preact/hooks","./hooks/UNSAFE_useUser","./hooks/PRIVATE_useDvtMeterEvents","./utils/PRIVATE_meterUtils","./PRIVATE_Meter","./utils/UNSAFE_dvtCommonUtils","./classNames-f11010a7","./hooks/UNSAFE_useTabbableMode","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-1e70bca1","./index-66b69d43","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-19a01c68"],function(t,e,o,r,i,a,s,n,l,c,d,h,u,m,g,_,v,p,b,f,x,S,k,z,E,T,A,M,U,F,N,j,C,B){"use strict";function y(t){if(!t)return{width:0,height:0};const e=t.getBoundingClientRect();return{width:e.width,height:e.height}}function R({orientation:t,percentage:e,color:r,position:i}){const a="horizontal"===t,{direction:s}=l.useUser(),n="rtl"===s,c="start"===i;return o.jsx("div",{class:m.classNames([I.base,I[`${t}Border`],I[`${t}`],c?a?I.horiontalStart:I["verticalStart"+(n?"Rtl":"Ltr")]:""]),style:{left:a&&!n?e:void 0,right:a&&n?e:void 0,bottom:a?void 0:e,backgroundColor:u.getDvtThresholdColor(r)}})}const I={base:"qtqkx1",verticalBorder:"zgi3jz",horizontalBorder:"_127bib9",vertical:"_17tresi",horizontal:"v5sdzt",horiontalStart:"deqfnw",verticalStartLtr:"_1i2mnn8",verticalStartRtl:"x7xsr3"};function L(t){var{color:r,length:i,orientation:a}=t,s=e.__rest(t,["color","length","orientation"]);const{direction:n}=l.useUser(),c="horizontal"===a,d="rtl"===n;return o.jsx("div",{class:m.classNames([w.base,c?w["horizontalBarTrackSection"+(d?"Rtl":"Ltr")]:w.verticalBarTrackSection,s.class]),style:{width:c?i:"100%",height:c?"100%":i,backgroundColor:u.getDvtThresholdColor(r)}})}const w={base:"_16armr3",verticalBarTrackSection:"_1z0ps6i",horizontalBarTrackSectionRtl:"_21e4tk",horizontalBarTrackSectionLtr:"n0iq85"};const $=function(t,e,o){const r=[];return t.start&&r.push(q[`${e}Margin${o?"Top":"Start"}`]),t.end&&r.push(q[`${e}Margin${o?"Bottom":"End"}`]),r},P={base:"_13omcok",horizontal:"_11xywx0",vertical:"_156khvg",interactive:"o75ou7"},V={base:"cl38v3",vertical:"_356rku",horizontal:"xxtiqi"},q={base:"_1jtuf76",vertical:"hsomda",smHorizontal:"_1v2o9ld",smVertical:"hybk64",mdHorizontal:"tgqrjr",mdVertical:"_1cof88b",lgHorizontal:"_1s61om3",lgVertical:"_1mlid5r",smMarginTop:"fh37nf",mdMarginTop:"_1efv7v",lgMarginTop:"_18z9r8x",smMarginStart:"_12ft60j",mdMarginStart:"_18wh74d",lgMarginStart:"_11i1lxw",smMarginEnd:"j1bpqm",mdMarginEnd:"_1bdy5gk",lgMarginEnd:"_18sj8uj",smMarginBottom:"v4yk0l",mdMarginBottom:"_1l1oe6",lgMarginBottom:"_3zcik6"},D={horizontalFirst:"nz01gi",horizontalLast:"i0j9v9",verticalFirst:"_2x9ou8",verticalLast:"_18gajrp",roundedCorners:"_18dakeh"};t.MeterBar=function(t){var i,a,{max:u=100,min:_=0,value:v=0,step:p=1,length:b="100%",size:f="lg",orientation:x="horizontal",isTrackRendered:S=!0,thresholdDisplay:k="all",indicatorSize:z=1}=t,E=e.__rest(t,["max","min","value","step","length","size","orientation","isTrackRendered","thresholdDisplay","indicatorSize"]);d.validateRange(_,u,v,p);const T="horizontal"===x,A=n.useRef(null),M=n.useRef(y(null)),{direction:U}=l.useUser(),F="rtl"===U;n.useEffect(()=>{(E.onCommit||E.onInput)&&(M.current=y(A.current))},[f,b,x,E.onCommit,E.onInput]);const N=c.usePointerEvents(v,t=>{if(t.target==A.current)return function(t,e,o,r,i,a,s){const n=e.current;if(!n||0===n.width)return;let l;if("horizontal"===a){const e=t.offsetX;l=o+(r-o)*(s?n.width-e:e)/n.width}else l=o+(r-o)*(n.height-t.offsetY)/n.height;return l=Math.round(l/i)*i,Math.max(o,Math.min(r,l))}(t,M,_,u,p,x,F)},A,E.onCommit,E.onInput),j=c.useKeyboardEvents(v,_,u,p,E.onCommit,E.onInput),{datatipContent:C,datatipProps:B}=c.useMeterDatatip(v,E.datatip,E.ariaDescribedBy),I=d.getMeterAriaProps(v,_,u,`${v}`,E.accessibleLabel,E.ariaLabelledBy,E.thresholds),w=s.mergeProps(N,j,B,I),H=Math.max(0,Math.min(1,z)),O=100*(v-_)/(u-_)+"%",K=100*H+"%",{trackColor:X,indicatorColor:Y}=d.getTrackAndIndicatorColor(v,k,E.trackColor,E.indicatorColor,E.thresholds),G=function(t){let e={start:!1,end:!1};return t&&(e=t.reduce((t,e)=>(t.start=t.start||"start"===e.position,t.end=t.end||"end"===e.position||null==e.position,t),e)),e}(E.referenceLines),J=E.onCommit||E.onInput,{isTabbable:Q}=g.useTabbableMode();return o.jsxs(o.Fragment,{children:[o.jsx("div",Object.assign({tabIndex:Q?0:-1,role:"slider"},w,{style:{width:T?r.sizeToCSS(b):void 0,height:T?void 0:r.sizeToCSS(b)},class:m.classNames([P.base,P[x]])},{children:o.jsxs(h.BarTrack,Object.assign({ref:A,orientation:x,color:!S||"all"===k&&E.thresholds?"transparent":X,class:m.classNames([q.base,J?P.interactive:"",T?"":q.vertical,T?q[`${f}Horizontal`]:q[`${f}Vertical`],...$(G,f,T)])},{children:["all"===k&&(null===(i=E.thresholds)||void 0===i?void 0:i.filter(t=>t.max>_&&t.max<=u).sort((t,e)=>t.max-e.max).map((t,e,r)=>{const i=0===e?t.max-_:t.max-r[e-1].max;let a=0===e?D[`${x}First`]:"";return t.max===u&&(a=0===e?D.roundedCorners:D[`${x}Last`]),o.jsxs(o.Fragment,{children:[o.jsx(L,{class:a,orientation:x,length:100*i/(u-_)+"%",color:t.color}),S&&e===r.length-1&&t.max<u?o.jsx(L,{class:D[`${x}Last`],color:X,orientation:x,length:100*(u-r[e].max)/(u-_)+"%"}):""]})})),o.jsx(h.BarValue,{length:O,size:K,orientation:x,class:m.classNames([V.base,V[x]]),color:Y}),null===(a=E.referenceLines)||void 0===a?void 0:a.map(t=>o.jsx(R,{color:t.color,orientation:x,percentage:100*(t.value-_)/(u-_)+"%",position:t.position}))]}))})),C]})},Object.defineProperty(t,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_MeterBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UNSAFE_MeterBar.js","sources":["../../src/UNSAFE_MeterBar/MeterUtils.ts","../../src/UNSAFE_MeterBar/ReferenceLines.tsx","../../src/UNSAFE_MeterBar/ThresholdBar.tsx","../../src/UNSAFE_MeterBar/MeterBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { Ref } from 'preact/hooks';\nimport { ReferenceLine } from '../utils/UNSAFE_meterTypes';\n\ntype Dimensions = {\n width: number;\n height: number;\n};\n\n/**\n * Returns the metric value of the clicked point.\n * @param event The PointerEvent\n * @param dimensionsRef Ref to stored dimensions of the meter bar.\n * @param min The minimum value of the meter bar.\n * @param max The maximum value of the meter bar.\n * @param step The step value of the meter bar.\n * @param orientation The orientation of the meter bar.\n * @param isRtl Whether the reading mode is 'rtl'\n * @returns The metric value of the clicked point.\n */\nexport function getValue(\n event: PointerEvent,\n dimensionsRef: Ref<Dimensions>,\n min: number,\n max: number,\n step: number,\n orientation?: 'horizontal' | 'vertical',\n isRtl?: boolean\n): number | undefined {\n const dims = dimensionsRef.current;\n if (!dims || dims.width === 0) {\n return undefined;\n }\n\n let val;\n\n if (orientation === 'horizontal') {\n const width = event.offsetX;\n val = min + ((max - min) * (isRtl ? dims.width - width : width)) / dims.width;\n } else {\n const height = dims.height - event.offsetY;\n val = min + ((max - min) * height) / dims.height;\n }\n val = Math.round(val / step) * step;\n return Math.max(min, Math.min(max, val));\n}\n\n/**\n * Returns the true dimension of the meter bar after first render. All dimensions are 0 for initial render.\n * @param element The meter bar track HTML element\n * @returns The dimension of the meter bar.\n */\nexport function getDimensions(element: HTMLElement | null): Dimensions {\n if (!element) {\n return {\n width: 0,\n height: 0\n };\n }\n const trackDims = element.getBoundingClientRect();\n\n return {\n width: trackDims.width,\n height: trackDims.height\n };\n}\n\n/**\n * Returns object with 'start' and 'end' keys. Value for each key will be true if at least one ref line with correposnding position is present in meter bar.\n * @param lines The array of reference lines.\n * @returns Returns object with start and end keys.\n */\nexport function getRefLinesInfo(lines?: ReferenceLine[]): { start: boolean; end: boolean } {\n let refLineInfo = { start: false, end: false };\n if (lines) {\n refLineInfo = lines.reduce((acc, cur) => {\n acc.start = acc.start || cur.position === 'start';\n acc.end = acc.end || cur.position === 'end' || cur.position == null;\n return acc;\n }, refLineInfo);\n }\n return refLineInfo;\n}\n\n/**\n * Returns the total component size taking into account the presence or absence of\n * reference line in either or both side of reference bar. This method assumes that reference line\n * is always larger than the track size.\n * @param refLineInfo Object sepecifying if ref lines with start, end or both position are present.\n * @param size The size of the meter bar.\n * @returns {string}\n */\nexport function getComponentSize(\n refLineInfo: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg'\n) {\n const barTrackSize = `var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-${size}-size)`;\n const refLineSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-refline-size)';\n if (refLineInfo.start && refLineInfo.end) {\n return `calc((2 * ${refLineSize}) - ${barTrackSize})`;\n }\n if (refLineInfo.start || refLineInfo.end) {\n return refLineSize;\n }\n return barTrackSize;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype ReferenceLineProps = {\n orientation: 'horizontal' | 'vertical';\n percentage: string;\n position?: 'start' | 'end';\n color?: ColorProps['color'] | DvtThresholdsColors;\n};\n\nexport function ReferenceLineBar({ orientation, percentage, color, position }: ReferenceLineProps) {\n const isHoriz = orientation === 'horizontal';\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const isStartPos = position === 'start';\n\n return (\n <div\n class={classNames([\n styles.base,\n styles[`${orientation}Border`],\n styles[`${orientation}`],\n isStartPos\n ? isHoriz\n ? styles.horiontalStart\n : styles[`verticalStart${isRtl ? 'Rtl' : 'Ltr'}`]\n : ''\n ])}\n style={{\n left: isHoriz && !isRtl ? percentage : undefined,\n right: isHoriz && isRtl ? percentage : undefined,\n bottom: isHoriz ? undefined : percentage,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)',\n backgroundClip: 'padding-box',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n verticalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 0 1px 0'\n }}`,\n horizontalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 1px 0 0'\n }}`,\n vertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)',\n height: '2px',\n translate: '0 1px'\n }}`,\n horizontal: cssProps`${{\n translate: '-1px 0',\n width: '2px',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)'\n }}`,\n horiontalStart: cssProps`${{\n bottom: '0%'\n }}`,\n verticalStartLtr: cssProps`${{\n right: '0%'\n }}`,\n verticalStartRtl: cssProps`${{\n left: '0%'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\ntype ThresholdBarProps = IntrinsicProps & {\n color?: ColorProps['color'] | DvtThresholdsColors;\n length: string;\n orientation: 'horizontal' | 'vertical';\n};\n\nexport function ThresholdBar({ color, length, orientation, ...otherProps }: ThresholdBarProps) {\n const { direction } = useUser();\n const isHoriz = orientation === 'horizontal';\n const isRtl = direction === 'rtl';\n return (\n <div\n class={classNames([\n styles.base,\n isHoriz\n ? styles[`horizontalBarTrackSection${isRtl ? 'Rtl' : 'Ltr'}`]\n : styles['verticalBarTrackSection'],\n otherProps.class\n ])}\n style={{\n width: isHoriz ? length : '100%',\n height: isHoriz ? '100%' : length,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n boxSizing: 'border-box',\n pointerEvents: 'none',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color)',\n backgroundClip: 'padding-box'\n }}`,\n verticalBarTrackSection: cssProps`${{\n borderWidth: '1px 0 0 0'\n }}`,\n horizontalBarTrackSectionRtl: cssProps`${{\n borderWidth: '0 0 0 1px'\n }}`,\n horizontalBarTrackSectionLtr: cssProps`${{\n borderWidth: '0 1px 0 0'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { sizeToCSS } from '../utils/UNSAFE_size';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useEffect, useRef } from 'preact/hooks';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport {\n usePointerEvents,\n useKeyboardEvents,\n useMeterDatatip\n} from '../hooks/PRIVATE_useDvtMeterEvents';\n\nimport {\n getMeterAriaProps,\n validateRange,\n getTrackAndIndicatorColor\n} from '../utils/PRIVATE_meterUtils';\n\nimport { Threshold } from '../utils/UNSAFE_meterTypes';\nimport { BarTrack, BarValue } from '../PRIVATE_Meter';\nimport { getDimensions, getRefLinesInfo, getValue } from './MeterUtils';\nimport { ReferenceLineBar } from './ReferenceLines';\nimport { ThresholdBar } from './ThresholdBar';\nimport { MeterBarProps } from './MeterBar.types';\nimport { useTabbableMode } from '../hooks/UNSAFE_useTabbableMode';\n/**\n * A Meter bar displays information graphically in a rectangular bar, highlighting a specific metric value's progress in relation to its min, max, or thresholds.\n */\nexport function MeterBar({\n max = 100,\n min = 0,\n value = 0,\n step = 1,\n length = '100%',\n size = 'lg',\n orientation = 'horizontal',\n isTrackRendered = true,\n thresholdDisplay = 'all',\n indicatorSize = 1,\n ...props\n}: MeterBarProps) {\n validateRange(min, max, value, step);\n\n const isHoriz = orientation === 'horizontal';\n const barTrackRef = useRef<HTMLDivElement>(null);\n const dimensionsRef = useRef(getDimensions(null));\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n useEffect(() => {\n if (props.onCommit || props.onInput) {\n dimensionsRef.current = getDimensions(barTrackRef.current);\n }\n }, [size, length, orientation, props.onCommit, props.onInput]);\n\n const getValueFromEvent = (event: PointerEvent): number | undefined => {\n // only evaluate value from bar track\n if (event.target == barTrackRef.current) {\n return getValue(event, dimensionsRef, min, max, step, orientation, isRtl);\n }\n return;\n };\n\n const pointerEventsProps = usePointerEvents(\n value,\n getValueFromEvent,\n barTrackRef,\n props.onCommit,\n props.onInput\n );\n\n const keyboardEventsProps = useKeyboardEvents(\n value,\n min,\n max,\n step,\n props.onCommit,\n props.onInput\n );\n\n const { datatipContent, datatipProps } = useMeterDatatip(\n value,\n props.datatip,\n props.ariaDescribedBy\n );\n\n const ariaLabelProps = getMeterAriaProps(\n value,\n min,\n max,\n `${value}`,\n props.accessibleLabel,\n props.ariaLabelledBy,\n props.thresholds\n );\n const mergedProps = mergeProps(\n pointerEventsProps,\n keyboardEventsProps,\n datatipProps,\n ariaLabelProps\n );\n\n const validIndicatorSize = Math.max(0, Math.min(1, indicatorSize));\n const valueBarLength = `${((value - min) * 100) / (max - min)}%`;\n const valueBarSize = `${validIndicatorSize * 100}%`;\n const { trackColor, indicatorColor } = getTrackAndIndicatorColor(\n value,\n thresholdDisplay,\n props.trackColor,\n props.indicatorColor,\n props.thresholds\n );\n\n const sizeStyle = getRefLinesInfo(props.referenceLines);\n const isInteractive = props.onCommit || props.onInput;\n const { isTabbable } = useTabbableMode();\n return (\n <>\n <div\n tabIndex={!isTabbable ? -1 : 0}\n role=\"slider\"\n {...mergedProps}\n style={{\n width: isHoriz ? sizeToCSS(length) : undefined,\n height: isHoriz ? undefined : sizeToCSS(length)\n }}\n class={classNames([componentStyles.base, componentStyles[orientation]])}>\n <BarTrack\n ref={barTrackRef}\n orientation={orientation}\n color={\n !isTrackRendered || (thresholdDisplay === 'all' && props.thresholds)\n ? 'transparent'\n : trackColor\n }\n class={classNames([\n barTrackStyles.base,\n isInteractive ? componentStyles.interactive : '',\n isHoriz ? '' : barTrackStyles.vertical,\n isHoriz ? barTrackStyles[`${size}Horizontal`] : barTrackStyles[`${size}Vertical`],\n ...getMarginClass(sizeStyle, size, isHoriz)\n ])}>\n {thresholdDisplay === 'all' &&\n props.thresholds\n ?.filter((threshold: Threshold) => threshold.max > min && threshold.max <= max)\n .sort((a, b) => a.max - b.max)\n .map((threshold: Threshold, index, thresholds) => {\n const diff =\n index === 0 ? threshold.max - min : threshold.max - thresholds[index - 1].max;\n let trackSectionStyleClass =\n index === 0 ? trackSectionStyle[`${orientation}First`] : '';\n if (threshold.max === max)\n trackSectionStyleClass =\n index === 0\n ? trackSectionStyle['roundedCorners'] // Single threshold from min to max\n : trackSectionStyle[`${orientation}Last`];\n return (\n <>\n <ThresholdBar\n class={trackSectionStyleClass}\n orientation={orientation}\n length={`${(diff * 100) / (max - min)}%`}\n color={threshold.color}\n />\n {isTrackRendered && index === thresholds.length - 1 && threshold.max < max ? (\n <ThresholdBar\n class={trackSectionStyle[`${orientation}Last`]}\n color={trackColor}\n orientation={orientation}\n length={`${((max - thresholds[index].max) * 100) / (max - min)}%`}\n />\n ) : (\n ''\n )}\n </>\n );\n })}\n <BarValue\n length={valueBarLength}\n size={valueBarSize}\n orientation={orientation}\n class={classNames([barValueStyles.base, barValueStyles[orientation]])}\n color={indicatorColor}\n />\n {props.referenceLines?.map((item) => (\n <ReferenceLineBar\n color={item.color}\n orientation={orientation}\n percentage={`${((item.value - min) * 100) / (max - min)}%`}\n position={item.position}\n />\n ))}\n </BarTrack>\n </div>\n {datatipContent}\n </>\n );\n}\n\nconst getMarginClass = function (\n info: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg',\n isHoriz: boolean\n) {\n const className = [];\n if (info.start) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Top' : 'Start'}`]);\n }\n\n if (info.end) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Bottom' : 'End'}`]);\n }\n return className;\n};\n\nconst componentStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n pointerEvents: 'none',\n '&:focus-visible': {\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineStyle: 'dotted',\n outlineWidth: '1px'\n }\n }}`,\n horizontal: cssProps`${{\n width: '100%'\n }}`,\n vertical: cssProps`${{\n height: '100%'\n }}`,\n interactive: cssProps`${{\n cursor: 'pointer',\n touchAction: 'none'\n }}`\n};\n\nconst barValueStyles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n vertical: cssProps`${{\n bottom: '0%',\n left: '50%',\n transform: 'translate(-50%, 0)'\n }}`,\n horizontal: cssProps`${{\n top: '50%',\n transform: 'translate(0, -50%)'\n }}`\n};\n\nconst barTrackStyles = {\n base: cssProps`${{\n position: 'relative',\n display: 'flex',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n pointerEvents: 'auto'\n }}`,\n vertical: cssProps`${{\n flexDirection: 'column-reverse'\n }}`,\n smHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)'\n }}`,\n smVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)',\n height: '100%'\n }}`,\n mdHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)'\n }}`,\n mdVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)',\n height: '100%'\n }}`,\n lgHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)'\n }}`,\n lgVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)',\n height: '100%'\n }}`,\n smMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`\n};\n\nconst trackSectionStyle = {\n horizontalFirst: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n horizontalLast: cssProps`${{\n borderRadius:\n '0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0',\n borderWidth: '0'\n }}`,\n verticalFirst: cssProps`${{\n borderRadius:\n '0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n verticalLast: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0',\n borderWidth: '0'\n }}`,\n roundedCorners: cssProps`${{\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`\n};\n"],"names":["getDimensions","element","width","height","trackDims","getBoundingClientRect","ReferenceLineBar","orientation","percentage","color","position","isHoriz","direction","useUser","isRtl","isStartPos","_jsx","class","classNames","styles","base","left","undefined","backgroundColor","getDvtThresholdColor","ThresholdBar","_a","otherProps","getMarginClass","info","size","className","componentStyles","barValueStyles","barTrackStyles","trackSectionStyle","barTrackRef","useRef","props","onCommit","onInput","length","pointerEventsProps","usePointerEvents","value","event","target","current","dimensionsRef","min","max","step","dims","val","offsetX","offsetY","Math","round","getValue","datatipContent","datatipProps","useMeterDatatip","datatip","ariaDescribedBy","mergedProps","mergeProps","keyboardEventsProps","ariaLabelProps","validIndicatorSize","indicatorSize","valueBarLength","valueBarSize","lines","refLineInfo","start","end","reduce","acc","cur","isTabbable","useTabbableMode","sizeToCSS","children","_jsxs","jsxs","BarTrack","Object","assign","ref","isTrackRendered","thresholdDisplay","thresholds","trackColor","sizeStyle","diff","index","threshold","trackSectionStyleClass"],"mappings":"g5BA2DM,SAAUA,EAAcC,GAC5B,IAAKA,EACH,MAAO,CACLC,MAAO,EACPC,OAAQ,GAGZ,MAAMC,EAAYH,EAAQI,wBAE1B,MAAO,CACLH,MAAOE,EAAUF,MACjBC,OAAQC,EAAUD,QCjDtB,SAAAG,GAAAC,YAAAA,EAAAC,WAAAA,EAAAC,MAAAA,EAAAC,SAAAA,IACE,MAAAC,EAAA,eAAAJ,GACAK,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,EACAG,EAAA,UAAAL,EAEA,OAAAM,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,KACAD,EAAA,GAAAZ,WACAY,EAAA,GAAAZ,OAEEI,mBAEEQ,EAAA,iBAAAL,EAAA,MAAA,QACF,YAGFO,KAAAV,IAAAG,EAAAN,OAAAc,wCAGAC,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,wBAAA,0BAAA,kBAAA,sBAAA,0BAAA,0BAAA,sCC1BA,SAAAM,EAAAC,wFACE,MAAAd,UAAAA,GAAAC,EAAAA,UACAF,EAAA,eAAAJ,EACAO,EAAA,QAAAF,EACA,OAAAI,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,OAEED,EAAA,6BAAAL,EAAA,MAAA,QACAK,EAAA,wBACFQ,EAAAV,kDAKAM,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,gCAAA,wCAAA,oDCoKA,MAAAS,EAAA,SAAAC,EAAAC,EAAAnB,cAaE,4GAAAoB,GAGFC,EAAA,MAAA,sBAAA,mBAAA,kCAsBAC,EAAA,MAAA,kBAAA,gCAkBAC,EAAA,MAAA,mBAAA,sBAAA,sBAAA,sBAAA,sBAAA,wBAAA,oBAAA,uBAAA,qBAAA,qBAAA,uBAAA,yBAAA,wBAAA,qBAAA,uBAAA,qBAAA,0BAAA,yBAAA,qCAqFAC,EAAA,iBAAA,0BAAA,yBAAA,sBAAA,iDAxTA,SAAAT,kUAeE,MAAAf,EAAA,eAAAJ,EACA6B,EAAAC,SAAA,2BAEAzB,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,oBAGE0B,EAAAC,UAAAD,EAAAE,oCAGF,CAAAV,EAAAW,EAAAlC,EAAA+B,EAAAC,SAAAD,EAAAE,UAEA,MAQAE,EAAAC,mBAAAC,EARAC,IAEE,GAAAA,EAAAC,QAAAV,EAAAW,QACE,OHvCU,SACdF,EACAG,EACAC,EACAC,EACAC,EACA5C,EACAO,GAEA,MAAMsC,EAAOJ,EAAcD,QAC3B,IAAKK,GAAuB,IAAfA,EAAKlD,MAChB,OAGF,IAAImD,EAEJ,GAAoB,eAAhB9C,EAA8B,CAChC,MAAML,EAAQ2C,EAAMS,QACpBD,EAAMJ,GAAQC,EAAMD,IAAQnC,EAAQsC,EAAKlD,MAAQA,EAAQA,GAAUkD,EAAKlD,WAGxEmD,EAAMJ,GAAQC,EAAMD,IADLG,EAAKjD,OAAS0C,EAAMU,SACEH,EAAKjD,OAG5C,OADAkD,EAAMG,KAAKC,MAAMJ,EAAMF,GAAQA,EACxBK,KAAKN,IAAID,EAAKO,KAAKP,IAAIC,EAAKG,IGe/BK,CAAAb,EAAAG,EAAAC,EAAAC,EAAAC,EAAA5C,EAAAO,IAKJsB,EAAAE,EAAAC,SAAAD,EAAAE,8DAiBAmB,eAAAA,EAAAC,aAAAA,GAAAC,EAAAA,gBAAAjB,EAAAN,EAAAwB,QAAAxB,EAAAyB,qGAeAC,EAAAC,EAAAA,WAAAvB,EAAAwB,EAAAN,EAAAO,GAOAC,EAAAZ,KAAAN,IAAA,EAAAM,KAAAP,IAAA,EAAAoB,IACAC,EAAA,KAAA1B,EAAAK,IAAAC,EAAAD,GAAA,IACAsB,EAAA,IAAAH,EAAA,kHHjCI,SAA0BI,GAC9B,IAAIC,EAAc,CAAEC,OAAO,EAAOC,KAAK,GAQvC,OAPIH,IACFC,EAAcD,EAAMI,OAAO,CAACC,EAAKC,KAC/BD,EAAIH,MAAQG,EAAIH,OAA0B,UAAjBI,EAAIpE,SAC7BmE,EAAIF,IAAME,EAAIF,KAAwB,QAAjBG,EAAIpE,UAAsC,MAAhBoE,EAAIpE,SAC5CmE,GACNJ,IAEEA,8CGmCPM,WAAAA,GAAAC,EAAAA,0HAQQ9E,MAAAS,EAAAsE,YAAAxC,QAAAnB,EACAnB,OAAAQ,OAAAW,EAAA2D,EAAAA,UAAAxC,IACDxB,MAAAC,EAAAA,WAAA,CAAAc,EAAAZ,KAAAY,EAAAzB,MAAA,CAAA2E,SAAAC,EAAAC,KAAAC,WAAAC,OAAAC,OAAA,CAAAC,IAAApD,EAAA7B,YAAAA,EAAAE,OAAAgF,GAAA,QAAAC,GAAApD,EAAAqD,WAOK,cACAC,EAAA3E,MAAAC,EAAAA,WAAA,CAGFgB,EAAAd,wCAGAT,EAAAuB,EAAA,GAAAJ,eAAAI,EAAA,GAAAJ,gBACAF,EAAAiE,EAAA/D,EAAAnB,8IAOI,MAAAmF,EAAA,IAAAC,EAAAC,EAAA9C,IAAAD,EAAA+C,EAAA9C,IAAAyC,EAAAI,EAAA,GAAA7C,IAEA,IAAA+C,EAAA,IAAAF,EAAA5D,EAAA,GAAA5B,UAAA,UAEAyF,EAAA9C,MAAAA,MAEI,IAAA6C,EACE5D,EAAA,eACAA,EAAA,GAAA5B"}
1
+ {"version":3,"file":"UNSAFE_MeterBar.js","sources":["../../src/UNSAFE_MeterBar/MeterUtils.ts","../../src/UNSAFE_MeterBar/ReferenceLines.tsx","../../src/UNSAFE_MeterBar/ThresholdBar.tsx","../../src/UNSAFE_MeterBar/MeterBar.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { Ref } from 'preact/hooks';\nimport { ReferenceLine } from '../utils/UNSAFE_meterTypes';\n\ntype Dimensions = {\n width: number;\n height: number;\n};\n\n/**\n * Returns the metric value of the clicked point.\n * @param event The PointerEvent\n * @param dimensionsRef Ref to stored dimensions of the meter bar.\n * @param min The minimum value of the meter bar.\n * @param max The maximum value of the meter bar.\n * @param step The step value of the meter bar.\n * @param orientation The orientation of the meter bar.\n * @param isRtl Whether the reading mode is 'rtl'\n * @returns The metric value of the clicked point.\n */\nexport function getValue(\n event: PointerEvent,\n dimensionsRef: Ref<Dimensions>,\n min: number,\n max: number,\n step: number,\n orientation?: 'horizontal' | 'vertical',\n isRtl?: boolean\n): number | undefined {\n const dims = dimensionsRef.current;\n if (!dims || dims.width === 0) {\n return undefined;\n }\n\n let val;\n\n if (orientation === 'horizontal') {\n const width = event.offsetX;\n val = min + ((max - min) * (isRtl ? dims.width - width : width)) / dims.width;\n } else {\n const height = dims.height - event.offsetY;\n val = min + ((max - min) * height) / dims.height;\n }\n val = Math.round(val / step) * step;\n return Math.max(min, Math.min(max, val));\n}\n\n/**\n * Returns the true dimension of the meter bar after first render. All dimensions are 0 for initial render.\n * @param element The meter bar track HTML element\n * @returns The dimension of the meter bar.\n */\nexport function getDimensions(element: HTMLElement | null): Dimensions {\n if (!element) {\n return {\n width: 0,\n height: 0\n };\n }\n const trackDims = element.getBoundingClientRect();\n\n return {\n width: trackDims.width,\n height: trackDims.height\n };\n}\n\n/**\n * Returns object with 'start' and 'end' keys. Value for each key will be true if at least one ref line with correposnding position is present in meter bar.\n * @param lines The array of reference lines.\n * @returns Returns object with start and end keys.\n */\nexport function getRefLinesInfo(lines?: ReferenceLine[]): { start: boolean; end: boolean } {\n let refLineInfo = { start: false, end: false };\n if (lines) {\n refLineInfo = lines.reduce((acc, cur) => {\n acc.start = acc.start || cur.position === 'start';\n acc.end = acc.end || cur.position === 'end' || cur.position == null;\n return acc;\n }, refLineInfo);\n }\n return refLineInfo;\n}\n\n/**\n * Returns the total component size taking into account the presence or absence of\n * reference line in either or both side of reference bar. This method assumes that reference line\n * is always larger than the track size.\n * @param refLineInfo Object sepecifying if ref lines with start, end or both position are present.\n * @param size The size of the meter bar.\n * @returns {string}\n */\nexport function getComponentSize(\n refLineInfo: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg'\n) {\n const barTrackSize = `var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-${size}-size)`;\n const refLineSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-refline-size)';\n if (refLineInfo.start && refLineInfo.end) {\n return `calc((2 * ${refLineSize}) - ${barTrackSize})`;\n }\n if (refLineInfo.start || refLineInfo.end) {\n return refLineSize;\n }\n return barTrackSize;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype ReferenceLineProps = {\n orientation: 'horizontal' | 'vertical';\n percentage: string;\n position?: 'start' | 'end';\n color?: ColorProps['color'] | DvtThresholdsColors;\n};\n\nexport function ReferenceLineBar({ orientation, percentage, color, position }: ReferenceLineProps) {\n const isHoriz = orientation === 'horizontal';\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n const isStartPos = position === 'start';\n\n return (\n <div\n class={classNames([\n styles.base,\n styles[`${orientation}Border`],\n styles[`${orientation}`],\n isStartPos\n ? isHoriz\n ? styles.horiontalStart\n : styles[`verticalStart${isRtl ? 'Rtl' : 'Ltr'}`]\n : ''\n ])}\n style={{\n left: isHoriz && !isRtl ? percentage : undefined,\n right: isHoriz && isRtl ? percentage : undefined,\n bottom: isHoriz ? undefined : percentage,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-reference-object-line-color)',\n backgroundClip: 'padding-box',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n verticalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 0 1px 0'\n }}`,\n horizontalBorder: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n borderWidth: '0 1px 0 0'\n }}`,\n vertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)',\n height: '2px',\n translate: '0 1px'\n }}`,\n horizontal: cssProps`${{\n translate: '-1px 0',\n width: '2px',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)'\n }}`,\n horiontalStart: cssProps`${{\n bottom: '0%'\n }}`,\n verticalStartLtr: cssProps`${{\n right: '0%'\n }}`,\n verticalStartRtl: cssProps`${{\n left: '0%'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { DvtThresholdsColors, getDvtThresholdColor } from '../utils/UNSAFE_dvtCommonUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'class'>;\ntype ThresholdBarProps = IntrinsicProps & {\n color?: ColorProps['color'] | DvtThresholdsColors;\n length: string;\n orientation: 'horizontal' | 'vertical';\n};\n\nexport function ThresholdBar({ color, length, orientation, ...otherProps }: ThresholdBarProps) {\n const { direction } = useUser();\n const isHoriz = orientation === 'horizontal';\n const isRtl = direction === 'rtl';\n return (\n <div\n class={classNames([\n styles.base,\n isHoriz\n ? styles[`horizontalBarTrackSection${isRtl ? 'Rtl' : 'Ltr'}`]\n : styles['verticalBarTrackSection'],\n otherProps.class\n ])}\n style={{\n width: isHoriz ? length : '100%',\n height: isHoriz ? '100%' : length,\n backgroundColor: getDvtThresholdColor(color)\n }}></div>\n );\n}\n\nconst styles = {\n base: cssProps`${{\n borderColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-dvt-contrast-line-color)',\n borderStyle: 'solid',\n boxSizing: 'border-box',\n pointerEvents: 'none',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-threshold-color)',\n backgroundClip: 'padding-box'\n }}`,\n verticalBarTrackSection: cssProps`${{\n borderWidth: '1px 0 0 0'\n }}`,\n horizontalBarTrackSectionRtl: cssProps`${{\n borderWidth: '0 0 0 1px'\n }}`,\n horizontalBarTrackSectionLtr: cssProps`${{\n borderWidth: '0 1px 0 0'\n }}`\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { sizeToCSS } from '../utils/UNSAFE_size';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { useEffect, useRef } from 'preact/hooks';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport {\n usePointerEvents,\n useKeyboardEvents,\n useMeterDatatip\n} from '../hooks/PRIVATE_useDvtMeterEvents';\n\nimport {\n getMeterAriaProps,\n validateRange,\n getTrackAndIndicatorColor\n} from '../utils/PRIVATE_meterUtils';\n\nimport { Threshold } from '../utils/UNSAFE_meterTypes';\nimport { BarTrack, BarValue } from '../PRIVATE_Meter';\nimport { getDimensions, getRefLinesInfo, getValue } from './MeterUtils';\nimport { ReferenceLineBar } from './ReferenceLines';\nimport { ThresholdBar } from './ThresholdBar';\nimport { MeterBarProps } from './MeterBar.types';\nimport { useTabbableMode } from '../hooks/UNSAFE_useTabbableMode';\n/**\n * A Meter bar displays information graphically in a rectangular bar, highlighting a specific metric value's progress in relation to its min, max, or thresholds.\n */\nexport function MeterBar({\n max = 100,\n min = 0,\n value = 0,\n step = 1,\n length = '100%',\n size = 'lg',\n orientation = 'horizontal',\n isTrackRendered = true,\n thresholdDisplay = 'all',\n indicatorSize = 1,\n ...props\n}: MeterBarProps) {\n validateRange(min, max, value, step);\n\n const isHoriz = orientation === 'horizontal';\n const barTrackRef = useRef<HTMLDivElement>(null);\n const dimensionsRef = useRef(getDimensions(null));\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n useEffect(() => {\n if (props.onCommit || props.onInput) {\n dimensionsRef.current = getDimensions(barTrackRef.current);\n }\n }, [size, length, orientation, props.onCommit, props.onInput]);\n\n const getValueFromEvent = (event: PointerEvent): number | undefined => {\n // only evaluate value from bar track\n if (event.target == barTrackRef.current) {\n return getValue(event, dimensionsRef, min, max, step, orientation, isRtl);\n }\n return;\n };\n\n const pointerEventsProps = usePointerEvents(\n value,\n getValueFromEvent,\n barTrackRef,\n props.onCommit,\n props.onInput\n );\n\n const keyboardEventsProps = useKeyboardEvents(\n value,\n min,\n max,\n step,\n props.onCommit,\n props.onInput\n );\n\n const { datatipContent, datatipProps } = useMeterDatatip(\n value,\n props.datatip,\n props.ariaDescribedBy\n );\n\n const ariaLabelProps = getMeterAriaProps(\n value,\n min,\n max,\n `${value}`,\n props.accessibleLabel,\n props.ariaLabelledBy,\n props.thresholds\n );\n const mergedProps = mergeProps(\n pointerEventsProps,\n keyboardEventsProps,\n datatipProps,\n ariaLabelProps\n );\n\n const validIndicatorSize = Math.max(0, Math.min(1, indicatorSize));\n const valueBarLength = `${((value - min) * 100) / (max - min)}%`;\n const valueBarSize = `${validIndicatorSize * 100}%`;\n const { trackColor, indicatorColor } = getTrackAndIndicatorColor(\n value,\n thresholdDisplay,\n props.trackColor,\n props.indicatorColor,\n props.thresholds\n );\n\n const sizeStyle = getRefLinesInfo(props.referenceLines);\n const isInteractive = props.onCommit || props.onInput;\n const { isTabbable } = useTabbableMode();\n return (\n <>\n <div\n tabIndex={!isTabbable ? -1 : 0}\n role=\"slider\"\n {...mergedProps}\n style={{\n width: isHoriz ? sizeToCSS(length) : undefined,\n height: isHoriz ? undefined : sizeToCSS(length)\n }}\n class={classNames([componentStyles.base, componentStyles[orientation]])}>\n <BarTrack\n ref={barTrackRef}\n orientation={orientation}\n color={\n !isTrackRendered || (thresholdDisplay === 'all' && props.thresholds)\n ? 'transparent'\n : trackColor\n }\n class={classNames([\n barTrackStyles.base,\n isInteractive ? componentStyles.interactive : '',\n isHoriz ? '' : barTrackStyles.vertical,\n isHoriz ? barTrackStyles[`${size}Horizontal`] : barTrackStyles[`${size}Vertical`],\n ...getMarginClass(sizeStyle, size, isHoriz)\n ])}>\n {thresholdDisplay === 'all' &&\n props.thresholds\n ?.filter((threshold: Threshold) => threshold.max > min && threshold.max <= max)\n .sort((a, b) => a.max - b.max)\n .map((threshold: Threshold, index, thresholds) => {\n const diff =\n index === 0 ? threshold.max - min : threshold.max - thresholds[index - 1].max;\n let trackSectionStyleClass =\n index === 0 ? trackSectionStyle[`${orientation}First`] : '';\n if (threshold.max === max)\n trackSectionStyleClass =\n index === 0\n ? trackSectionStyle['roundedCorners'] // Single threshold from min to max\n : trackSectionStyle[`${orientation}Last`];\n return (\n <>\n <ThresholdBar\n class={trackSectionStyleClass}\n orientation={orientation}\n length={`${(diff * 100) / (max - min)}%`}\n color={threshold.color}\n />\n {isTrackRendered && index === thresholds.length - 1 && threshold.max < max ? (\n <ThresholdBar\n class={trackSectionStyle[`${orientation}Last`]}\n color={trackColor}\n orientation={orientation}\n length={`${((max - thresholds[index].max) * 100) / (max - min)}%`}\n />\n ) : (\n ''\n )}\n </>\n );\n })}\n <BarValue\n length={valueBarLength}\n size={valueBarSize}\n orientation={orientation}\n class={classNames([barValueStyles.base, barValueStyles[orientation]])}\n color={indicatorColor}\n />\n {props.referenceLines?.map((item) => (\n <ReferenceLineBar\n color={item.color}\n orientation={orientation}\n percentage={`${((item.value - min) * 100) / (max - min)}%`}\n position={item.position}\n />\n ))}\n </BarTrack>\n </div>\n {datatipContent}\n </>\n );\n}\n\nconst getMarginClass = function (\n info: { start: boolean; end: boolean },\n size: 'sm' | 'md' | 'lg',\n isHoriz: boolean\n) {\n const className = [];\n if (info.start) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Top' : 'Start'}`]);\n }\n\n if (info.end) {\n className.push(barTrackStyles[`${size}Margin${isHoriz ? 'Bottom' : 'End'}`]);\n }\n return className;\n};\n\nconst componentStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n pointerEvents: 'none',\n '&:focus-visible': {\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineStyle: 'dotted',\n outlineWidth: '1px'\n }\n }}`,\n horizontal: cssProps`${{\n width: '100%'\n }}`,\n vertical: cssProps`${{\n height: '100%'\n }}`,\n interactive: cssProps`${{\n cursor: 'pointer',\n touchAction: 'none'\n }}`\n};\n\nconst barValueStyles = {\n base: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-value-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n position: 'absolute',\n pointerEvents: 'none'\n }}`,\n vertical: cssProps`${{\n bottom: '0%',\n left: '50%',\n transform: 'translate(-50%, 0)'\n }}`,\n horizontal: cssProps`${{\n top: '50%',\n transform: 'translate(0, -50%)'\n }}`\n};\n\nconst barTrackStyles = {\n base: cssProps`${{\n position: 'relative',\n display: 'flex',\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-track-bg-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)',\n pointerEvents: 'auto'\n }}`,\n vertical: cssProps`${{\n flexDirection: 'column-reverse'\n }}`,\n smHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)'\n }}`,\n smVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size)',\n height: '100%'\n }}`,\n mdHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)'\n }}`,\n mdVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size)',\n height: '100%'\n }}`,\n lgHorizontal: cssProps`${{\n width: '100%',\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)'\n }}`,\n lgVertical: cssProps`${{\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size)',\n height: '100%'\n }}`,\n smMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x)- var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginTop: cssProps`${{\n marginTop:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginStart: cssProps`${{\n marginInlineStart:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginEnd: cssProps`${{\n marginInlineEnd:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`,\n smMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-sm-size))'\n }}`,\n mdMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-md-size))'\n }}`,\n lgMarginBottom: cssProps`${{\n marginBottom:\n 'calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x) - var(--oj-c-PRIVATE-DO-NOT-USE-meter-bar-lg-size))'\n }}`\n};\n\nconst trackSectionStyle = {\n horizontalFirst: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n horizontalLast: cssProps`${{\n borderRadius:\n '0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0',\n borderWidth: '0'\n }}`,\n verticalFirst: cssProps`${{\n borderRadius:\n '0 0 var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`,\n verticalLast: cssProps`${{\n borderRadius:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm) 0 0',\n borderWidth: '0'\n }}`,\n roundedCorners: cssProps`${{\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-sm)'\n }}`\n};\n"],"names":["getDimensions","element","width","height","trackDims","getBoundingClientRect","ReferenceLineBar","orientation","percentage","color","position","isHoriz","direction","useUser","isRtl","isStartPos","_jsx","class","classNames","styles","base","left","undefined","backgroundColor","getDvtThresholdColor","ThresholdBar","_a","otherProps","getMarginClass","info","size","className","componentStyles","barValueStyles","barTrackStyles","trackSectionStyle","barTrackRef","useRef","props","onCommit","onInput","length","pointerEventsProps","usePointerEvents","value","event","target","current","dimensionsRef","min","max","step","dims","val","offsetX","offsetY","Math","round","getValue","datatipContent","datatipProps","useMeterDatatip","datatip","ariaDescribedBy","mergedProps","mergeProps","keyboardEventsProps","ariaLabelProps","validIndicatorSize","indicatorSize","valueBarLength","valueBarSize","lines","refLineInfo","start","end","reduce","acc","cur","isTabbable","useTabbableMode","sizeToCSS","children","_jsxs","jsxs","BarTrack","Object","assign","ref","isTrackRendered","thresholdDisplay","thresholds","trackColor","sizeStyle","diff","index","threshold","trackSectionStyleClass"],"mappings":"g5BA2DM,SAAUA,EAAcC,GAC5B,IAAKA,EACH,MAAO,CACLC,MAAO,EACPC,OAAQ,GAGZ,MAAMC,EAAYH,EAAQI,wBAE1B,MAAO,CACLH,MAAOE,EAAUF,MACjBC,OAAQC,EAAUD,QCjDtB,SAAAG,GAAAC,YAAAA,EAAAC,WAAAA,EAAAC,MAAAA,EAAAC,SAAAA,IACE,MAAAC,EAAA,eAAAJ,GACAK,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,EACAG,EAAA,UAAAL,EAEA,OAAAM,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,KACAD,EAAA,GAAAZ,WACAY,EAAA,GAAAZ,OAEEI,mBAEEQ,EAAA,iBAAAL,EAAA,MAAA,QACF,YAGFO,KAAAV,IAAAG,EAAAN,OAAAc,wCAGAC,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,wBAAA,0BAAA,oBAAA,sBAAA,wBAAA,0BAAA,sCC1BA,SAAAM,EAAAC,wFACE,MAAAd,UAAAA,GAAAC,EAAAA,UACAF,EAAA,eAAAJ,EACAO,EAAA,QAAAF,EACA,OAAAI,EAAAA,IAAA,MAAA,CAAAC,MAAAC,EAAAA,WAAA,CAGMC,EAAAC,OAEED,EAAA,6BAAAL,EAAA,MAAA,QACAK,EAAA,wBACFQ,EAAAV,kDAKAM,gBAAAC,EAAAA,qBAAAf,MAKR,MAAAU,EAAA,MAAA,mCAAA,wCAAA,iDCoKA,MAAAS,EAAA,SAAAC,EAAAC,EAAAnB,cAaE,4GAAAoB,GAGFC,EAAA,MAAA,sBAAA,oBAAA,iCAsBAC,EAAA,MAAA,kBAAA,+BAkBAC,EAAA,MAAA,oBAAA,sBAAA,sBAAA,sBAAA,oBAAA,wBAAA,sBAAA,uBAAA,qBAAA,sBAAA,yBAAA,yBAAA,yBAAA,uBAAA,qBAAA,uBAAA,0BAAA,wBAAA,oCAqFAC,EAAA,iBAAA,wBAAA,uBAAA,uBAAA,iDAxTA,SAAAT,kUAeE,MAAAf,EAAA,eAAAJ,EACA6B,EAAAC,SAAA,2BAEAzB,UAAAA,GAAAC,EAAAA,UACAC,EAAA,QAAAF,oBAGE0B,EAAAC,UAAAD,EAAAE,oCAGF,CAAAV,EAAAW,EAAAlC,EAAA+B,EAAAC,SAAAD,EAAAE,UAEA,MAQAE,EAAAC,mBAAAC,EARAC,IAEE,GAAAA,EAAAC,QAAAV,EAAAW,QACE,OHvCU,SACdF,EACAG,EACAC,EACAC,EACAC,EACA5C,EACAO,GAEA,MAAMsC,EAAOJ,EAAcD,QAC3B,IAAKK,GAAuB,IAAfA,EAAKlD,MAChB,OAGF,IAAImD,EAEJ,GAAoB,eAAhB9C,EAA8B,CAChC,MAAML,EAAQ2C,EAAMS,QACpBD,EAAMJ,GAAQC,EAAMD,IAAQnC,EAAQsC,EAAKlD,MAAQA,EAAQA,GAAUkD,EAAKlD,WAGxEmD,EAAMJ,GAAQC,EAAMD,IADLG,EAAKjD,OAAS0C,EAAMU,SACEH,EAAKjD,OAG5C,OADAkD,EAAMG,KAAKC,MAAMJ,EAAMF,GAAQA,EACxBK,KAAKN,IAAID,EAAKO,KAAKP,IAAIC,EAAKG,IGe/BK,CAAAb,EAAAG,EAAAC,EAAAC,EAAAC,EAAA5C,EAAAO,IAKJsB,EAAAE,EAAAC,SAAAD,EAAAE,8DAiBAmB,eAAAA,EAAAC,aAAAA,GAAAC,EAAAA,gBAAAjB,EAAAN,EAAAwB,QAAAxB,EAAAyB,qGAeAC,EAAAC,EAAAA,WAAAvB,EAAAwB,EAAAN,EAAAO,GAOAC,EAAAZ,KAAAN,IAAA,EAAAM,KAAAP,IAAA,EAAAoB,IACAC,EAAA,KAAA1B,EAAAK,IAAAC,EAAAD,GAAA,IACAsB,EAAA,IAAAH,EAAA,kHHjCI,SAA0BI,GAC9B,IAAIC,EAAc,CAAEC,OAAO,EAAOC,KAAK,GAQvC,OAPIH,IACFC,EAAcD,EAAMI,OAAO,CAACC,EAAKC,KAC/BD,EAAIH,MAAQG,EAAIH,OAA0B,UAAjBI,EAAIpE,SAC7BmE,EAAIF,IAAME,EAAIF,KAAwB,QAAjBG,EAAIpE,UAAsC,MAAhBoE,EAAIpE,SAC5CmE,GACNJ,IAEEA,8CGmCPM,WAAAA,GAAAC,EAAAA,0HAQQ9E,MAAAS,EAAAsE,YAAAxC,QAAAnB,EACAnB,OAAAQ,OAAAW,EAAA2D,EAAAA,UAAAxC,IACDxB,MAAAC,EAAAA,WAAA,CAAAc,EAAAZ,KAAAY,EAAAzB,MAAA,CAAA2E,SAAAC,EAAAC,KAAAC,WAAAC,OAAAC,OAAA,CAAAC,IAAApD,EAAA7B,YAAAA,EAAAE,OAAAgF,GAAA,QAAAC,GAAApD,EAAAqD,WAOK,cACAC,EAAA3E,MAAAC,EAAAA,WAAA,CAGFgB,EAAAd,wCAGAT,EAAAuB,EAAA,GAAAJ,eAAAI,EAAA,GAAAJ,gBACAF,EAAAiE,EAAA/D,EAAAnB,8IAOI,MAAAmF,EAAA,IAAAC,EAAAC,EAAA9C,IAAAD,EAAA+C,EAAA9C,IAAAyC,EAAAI,EAAA,GAAA7C,IAEA,IAAA+C,EAAA,IAAAF,EAAA5D,EAAA,GAAA5B,UAAA,UAEAyF,EAAA9C,MAAAA,MAEI,IAAA6C,EACE5D,EAAA,eACAA,EAAA,GAAA5B"}