@oracle/oraclejet-preact 14.1.8 → 14.1.9

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 (1213) hide show
  1. package/amd/Badge-f3f28cc8.js +2 -0
  2. package/amd/{Badge-3c1f7f8b.js.map → Badge-f3f28cc8.js.map} +1 -1
  3. package/amd/BaseButton-7d5eb39d.js +2 -0
  4. package/amd/{BaseButton-0f25e403.js.map → BaseButton-7d5eb39d.js.map} +1 -1
  5. package/amd/Button-0d9421fc.js +2 -0
  6. package/amd/{Button-315621e2.js.map → Button-0d9421fc.js.map} +1 -1
  7. package/amd/Chip-125d2062.js +2 -0
  8. package/amd/{Chip-69627ba2.js.map → Chip-125d2062.js.map} +1 -1
  9. package/amd/ClearIcon-b7d8b7e2.js +2 -0
  10. package/amd/{ClearIcon-a009d82d.js.map → ClearIcon-b7d8b7e2.js.map} +1 -1
  11. package/amd/{Collection-d3ef1b6f.js → Collection-71e6f090.js} +1 -1
  12. package/amd/{Collection-d3ef1b6f.js.map → Collection-71e6f090.js.map} +1 -1
  13. package/amd/ComponentMessage-955a6a54.js +2 -0
  14. package/amd/{ComponentMessage-b39def70.js.map → ComponentMessage-955a6a54.js.map} +1 -1
  15. package/amd/{ComponentMessageContainer-151ad7a2.js → ComponentMessageContainer-6bd115d9.js} +2 -2
  16. package/amd/{ComponentMessageContainer-151ad7a2.js.map → ComponentMessageContainer-6bd115d9.js.map} +1 -1
  17. package/amd/Divider-7f552636.js +2 -0
  18. package/amd/{Divider-139aab12.js.map → Divider-7f552636.js.map} +1 -1
  19. package/amd/{FilePicker-df6e5ba2.js → FilePicker-f45e24e1.js} +2 -2
  20. package/amd/{FilePicker-df6e5ba2.js.map → FilePicker-f45e24e1.js.map} +1 -1
  21. package/amd/Flex-56ca361c.js +2 -0
  22. package/amd/{Flex-49ae9d40.js.map → Flex-56ca361c.js.map} +1 -1
  23. package/amd/{Floating-0d08c31b.js → Floating-e8dc5fb7.js} +2 -2
  24. package/amd/{Floating-0d08c31b.js.map → Floating-e8dc5fb7.js.map} +1 -1
  25. package/amd/FocusTrap-b2f97301.js +2 -0
  26. package/amd/{FocusTrap-36eb14b3.js.map → FocusTrap-b2f97301.js.map} +1 -1
  27. package/amd/FormControlUtils-fb5ac7a9.js +2 -0
  28. package/amd/{FormControlUtils-9dc2f278.js.map → FormControlUtils-fb5ac7a9.js.map} +1 -1
  29. package/amd/Heading-4affeb24.js +2 -0
  30. package/amd/{Heading-1940acfa.js.map → Heading-4affeb24.js.map} +1 -1
  31. package/amd/{HiddenAccessible-75a88dca.js → HiddenAccessible-5ecb1534.js} +2 -2
  32. package/amd/{HiddenAccessible-75a88dca.js.map → HiddenAccessible-5ecb1534.js.map} +1 -1
  33. package/amd/{HighlightText-98c703c0.js → HighlightText-dca4bc80.js} +2 -2
  34. package/amd/{HighlightText-98c703c0.js.map → HighlightText-dca4bc80.js.map} +1 -1
  35. package/amd/Icon-104b91f5.js +2 -0
  36. package/amd/{Icon-09d9aaef.js.map → Icon-104b91f5.js.map} +1 -1
  37. package/amd/Indexer-5164af46.js +2 -0
  38. package/amd/{Indexer-0d377bbe.js.map → Indexer-5164af46.js.map} +1 -1
  39. package/amd/InlineHelpSource-f4277abb.js +2 -0
  40. package/amd/{InlineHelpSource-ee7d0235.js.map → InlineHelpSource-f4277abb.js.map} +1 -1
  41. package/amd/Link-c9f60353.js +2 -0
  42. package/amd/{Link-60e402da.js.map → Link-c9f60353.js.map} +1 -1
  43. package/amd/List-08dda157.js +2 -0
  44. package/amd/{List-60513105.js.map → List-08dda157.js.map} +1 -1
  45. package/amd/ListItemTextLayout-c31891d9.js +2 -0
  46. package/amd/{ListItemTextLayout-a6d9f3f9.js.map → ListItemTextLayout-c31891d9.js.map} +1 -1
  47. package/amd/{ListView-aa70a216.js → ListView-8ed99629.js} +2 -2
  48. package/amd/{ListView-aa70a216.js.map → ListView-8ed99629.js.map} +1 -1
  49. package/amd/{LoadMoreCollection-2a7397a6.js → LoadMoreCollection-dcb5a382.js} +2 -2
  50. package/amd/{LoadMoreCollection-2a7397a6.js.map → LoadMoreCollection-dcb5a382.js.map} +1 -1
  51. package/amd/Menu-2f3e4383.js +2 -0
  52. package/amd/{Menu-dc7eb813.js.map → Menu-2f3e4383.js.map} +1 -1
  53. package/amd/MenuDivider-cfc70768.js +2 -0
  54. package/amd/{MenuDivider-0746142f.js.map → MenuDivider-cfc70768.js.map} +1 -1
  55. package/amd/MenuItem-da29862d.js +2 -0
  56. package/amd/{MenuItem-558c427d.js.map → MenuItem-da29862d.js.map} +1 -1
  57. package/amd/{Message.types-36b055bd.js → Message.types-cdf49a64.js} +1 -1
  58. package/amd/{Message.types-36b055bd.js.map → Message.types-cdf49a64.js.map} +1 -1
  59. package/amd/MessageCloseButton-c0436a6d.js +2 -0
  60. package/amd/{MessageCloseButton-9115578a.js.map → MessageCloseButton-c0436a6d.js.map} +1 -1
  61. package/amd/MessageDetail-3e492e42.js +2 -0
  62. package/amd/{MessageDetail-bca5d0e6.js.map → MessageDetail-3e492e42.js.map} +1 -1
  63. package/amd/{MessageFormattingUtils-2f6ea3d7.js → MessageFormattingUtils-36ba3a21.js} +2 -2
  64. package/amd/{MessageFormattingUtils-2f6ea3d7.js.map → MessageFormattingUtils-36ba3a21.js.map} +1 -1
  65. package/amd/MessageLayer-6302264b.js +2 -0
  66. package/amd/{MessageLayer-6345dea9.js.map → MessageLayer-6302264b.js.map} +1 -1
  67. package/amd/MessageStartIcon-c7c14eb3.js +2 -0
  68. package/amd/{MessageStartIcon-a7b50582.js.map → MessageStartIcon-c7c14eb3.js.map} +1 -1
  69. package/amd/MessageSummary-2e35809c.js +2 -0
  70. package/amd/{MessageSummary-8871a900.js.map → MessageSummary-2e35809c.js.map} +1 -1
  71. package/amd/MessageTimestamp-5a7d95b4.js +2 -0
  72. package/amd/{MessageTimestamp-0b535a61.js.map → MessageTimestamp-5a7d95b4.js.map} +1 -1
  73. package/amd/MessageToast-ae288e5f.js +2 -0
  74. package/amd/{MessageToast-973879f6.js.map → MessageToast-ae288e5f.js.map} +1 -1
  75. package/amd/{MessageUtils-fc40878e.js → MessageUtils-f508120a.js} +2 -2
  76. package/amd/{MessageUtils-fc40878e.js.map → MessageUtils-f508120a.js.map} +1 -1
  77. package/amd/{MessagesManager-43519abe.js → MessagesManager-2c73161c.js} +2 -2
  78. package/amd/{MessagesManager-43519abe.js.map → MessagesManager-2c73161c.js.map} +1 -1
  79. package/amd/MeterCircle-4dfb5d15.js +2 -0
  80. package/amd/{MeterCircle-99d0ae85.js.map → MeterCircle-4dfb5d15.js.map} +1 -1
  81. package/amd/Modal-6e4f35b4.js +2 -0
  82. package/amd/{Modal-4ef84a44.js.map → Modal-6e4f35b4.js.map} +1 -1
  83. package/amd/{NumberInputText-8ae0414b.js → NumberInputText-33d397cf.js} +2 -2
  84. package/amd/{NumberInputText-8ae0414b.js.map → NumberInputText-33d397cf.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-5d75bcc4.js +2 -0
  111. package/amd/{ReadonlyTextFieldInput-2ff54b4e.js.map → ReadonlyTextFieldInput-5d75bcc4.js.map} +1 -1
  112. package/amd/SelectMenuItem-e0141bcc.js +2 -0
  113. package/amd/{SelectMenuItem-70865f13.js.map → SelectMenuItem-e0141bcc.js.map} +1 -1
  114. package/amd/{SelectMultiple-70f2dc35.js → SelectMultiple-a779290c.js} +2 -2
  115. package/amd/{SelectMultiple-70f2dc35.js.map → SelectMultiple-a779290c.js.map} +1 -1
  116. package/amd/{SelectSingle-0d194190.js → SelectSingle-523b86ea.js} +2 -2
  117. package/amd/{SelectSingle-0d194190.js.map → SelectSingle-523b86ea.js.map} +1 -1
  118. package/amd/Skeleton-972c8df8.js +2 -0
  119. package/amd/{Skeleton-13c57283.js.map → Skeleton-972c8df8.js.map} +1 -1
  120. package/amd/{Spacer-60e84b7d.js → Spacer-98305ba6.js} +2 -2
  121. package/amd/{Spacer-60e84b7d.js.map → Spacer-98305ba6.js.map} +1 -1
  122. package/amd/SplitMenuButton-6a9b4999.js +2 -0
  123. package/amd/{SplitMenuButton-34bda460.js.map → SplitMenuButton-6a9b4999.js.map} +1 -1
  124. package/amd/Subheading-e8f08bb9.js +2 -0
  125. package/amd/{Subheading-53920c82.js.map → Subheading-e8f08bb9.js.map} +1 -1
  126. package/amd/Text-4a544722.js +2 -0
  127. package/amd/{Text-dd98aad8.js.map → Text-4a544722.js.map} +1 -1
  128. package/amd/TextArea-62a72051.js +2 -0
  129. package/amd/{TextArea-f5ceacdf.js.map → TextArea-62a72051.js.map} +1 -1
  130. package/amd/{TextAreaAutosize-8fd80df5.js → TextAreaAutosize-3607c1cb.js} +2 -2
  131. package/amd/{TextAreaAutosize-8fd80df5.js.map → TextAreaAutosize-3607c1cb.js.map} +1 -1
  132. package/amd/TextFieldInput-89b3ad37.js +2 -0
  133. package/amd/{TextFieldInput-e8475857.js.map → TextFieldInput-89b3ad37.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_InputText.css +1 -1
  197. package/amd/UNSAFE_InputText.js +1 -1
  198. package/amd/UNSAFE_Label.css +13 -13
  199. package/amd/UNSAFE_Label.js +1 -1
  200. package/amd/UNSAFE_Label.js.map +1 -1
  201. package/amd/UNSAFE_LabelValueLayout.css +9 -9
  202. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  203. package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
  204. package/amd/UNSAFE_Link/__tests__/Link.spec.js +1 -1
  205. package/amd/UNSAFE_Link.css +5 -5
  206. package/amd/UNSAFE_Link.js +1 -1
  207. package/amd/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +1 -1
  208. package/amd/UNSAFE_ListItemLayout.css +9 -9
  209. package/amd/UNSAFE_ListItemLayout.js +1 -1
  210. package/amd/UNSAFE_ListView/__tests__/ListView.spec.js +1 -1
  211. package/amd/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +1 -1
  212. package/amd/UNSAFE_ListView.js +1 -1
  213. package/amd/UNSAFE_LiveRegion.css +1 -1
  214. package/amd/UNSAFE_LiveRegion.js +1 -1
  215. package/amd/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +1 -1
  216. package/amd/UNSAFE_LoadMoreCollection.js +1 -1
  217. package/amd/UNSAFE_Menu/__tests__/Menu.spec.js +1 -1
  218. package/amd/UNSAFE_Menu/__tests__/MenuItem.spec.js +1 -1
  219. package/amd/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +1 -1
  220. package/amd/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +1 -1
  221. package/amd/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +1 -1
  222. package/amd/UNSAFE_Menu.css +23 -23
  223. package/amd/UNSAFE_Menu.js +1 -1
  224. package/amd/UNSAFE_MessageBanner.js +1 -1
  225. package/amd/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +1 -1
  226. package/amd/UNSAFE_MessageToast.css +1 -1
  227. package/amd/UNSAFE_MessageToast.js +1 -1
  228. package/amd/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +1 -1
  229. package/amd/UNSAFE_MeterBar.css +44 -44
  230. package/amd/UNSAFE_MeterBar.js +1 -1
  231. package/amd/UNSAFE_MeterBar.js.map +1 -1
  232. package/amd/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +1 -1
  233. package/amd/UNSAFE_MeterCircle.css +46 -46
  234. package/amd/UNSAFE_MeterCircle.js +1 -1
  235. package/amd/UNSAFE_Modal/__tests__/Modal.spec.js +1 -1
  236. package/amd/UNSAFE_Modal.css +3 -3
  237. package/amd/UNSAFE_Modal.js +1 -1
  238. package/amd/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +1 -1
  239. package/amd/UNSAFE_NumberInputText.js +1 -1
  240. package/amd/UNSAFE_PrefixSuffix.css +8 -8
  241. package/amd/UNSAFE_PrefixSuffix.js +1 -1
  242. package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
  243. package/amd/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +1 -1
  244. package/amd/UNSAFE_ProgressBar.css +6 -6
  245. package/amd/UNSAFE_ProgressBar.js +1 -1
  246. package/amd/UNSAFE_ProgressBar.js.map +1 -1
  247. package/amd/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +1 -1
  248. package/amd/UNSAFE_ProgressCircle.css +6 -6
  249. package/amd/UNSAFE_ProgressCircle.js +1 -1
  250. package/amd/UNSAFE_ProgressCircle.js.map +1 -1
  251. package/amd/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +1 -1
  252. package/amd/UNSAFE_RatingGauge.css +20 -20
  253. package/amd/UNSAFE_RatingGauge.js +1 -1
  254. package/amd/UNSAFE_RatingGauge.js.map +1 -1
  255. package/amd/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +1 -1
  256. package/amd/UNSAFE_SelectMultiple.css +1 -1
  257. package/amd/UNSAFE_SelectMultiple.js +1 -1
  258. package/amd/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +1 -1
  259. package/amd/UNSAFE_SelectSingle.js +1 -1
  260. package/amd/UNSAFE_Selector.css +5 -5
  261. package/amd/UNSAFE_Selector.js +1 -1
  262. package/amd/UNSAFE_Selector.js.map +1 -1
  263. package/amd/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +1 -1
  264. package/amd/UNSAFE_Skeleton.css +1 -1
  265. package/amd/UNSAFE_Skeleton.js +1 -1
  266. package/amd/UNSAFE_Spacer/__tests__/Spacer.spec.js +1 -1
  267. package/amd/UNSAFE_Spacer.js +1 -1
  268. package/amd/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +1 -1
  269. package/amd/UNSAFE_SplitMenuButton.css +5 -5
  270. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  271. package/amd/UNSAFE_Subheading/__test__/Subheading.spec.js +1 -1
  272. package/amd/UNSAFE_Subheading.css +8 -8
  273. package/amd/UNSAFE_Subheading.js +1 -1
  274. package/amd/UNSAFE_Text/__tests__/Text.spec.js +1 -1
  275. package/amd/UNSAFE_Text.css +25 -25
  276. package/amd/UNSAFE_Text.js +1 -1
  277. package/amd/UNSAFE_TextArea/__tests__/TextArea.spec.js +1 -1
  278. package/amd/UNSAFE_TextArea.css +3 -3
  279. package/amd/UNSAFE_TextArea.js +1 -1
  280. package/amd/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +1 -1
  281. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  282. package/amd/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +1 -1
  283. package/amd/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +1 -1
  284. package/amd/UNSAFE_TextField.css +58 -58
  285. package/amd/UNSAFE_TextField.js +1 -1
  286. package/amd/UNSAFE_TextField.js.map +1 -1
  287. package/amd/UNSAFE_ThemedIcons.js +1 -1
  288. package/amd/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +1 -1
  289. package/amd/UNSAFE_UserAssistance.css +8 -8
  290. package/amd/UNSAFE_UserAssistance.js +1 -1
  291. package/amd/UNSAFE_UserAssistance.js.map +1 -1
  292. package/amd/UNSAFE_View/__tests__/View.spec.js +1 -1
  293. package/amd/UNSAFE_View.js +1 -1
  294. package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +1 -1
  295. package/amd/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +1 -1
  296. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  297. package/amd/{VirtualizedCollection-ecf14228.js → VirtualizedCollection-f35e8f07.js} +2 -2
  298. package/amd/{VirtualizedCollection-ecf14228.js.map → VirtualizedCollection-f35e8f07.js.map} +1 -1
  299. package/amd/{VirtualizedListView-226cdec3.js → VirtualizedListView-d202b367.js} +2 -2
  300. package/amd/{VirtualizedListView-226cdec3.js.map → VirtualizedListView-d202b367.js.map} +1 -1
  301. package/amd/__tests__/FormControls/FormControlAria.spec.js +1 -1
  302. package/amd/__tests__/FormControls/FormControlClearIcon.spec.js +1 -1
  303. package/amd/__tests__/FormControls/FormControlCommit.spec.js +1 -1
  304. package/amd/__tests__/FormControls/FormControlPrefixSuffix.spec.js +1 -1
  305. package/amd/{_curry1-4bc24d07.js → _curry1-5e7b060f.js} +1 -1
  306. package/amd/{_curry1-4bc24d07.js.map → _curry1-5e7b060f.js.map} +1 -1
  307. package/amd/_curry2-a7eb1217.js +2 -0
  308. package/amd/{_curry2-b282d372.js.map → _curry2-a7eb1217.js.map} +1 -1
  309. package/amd/{_curry3-d85ab9e3.js → _curry3-5f6cc6b4.js} +2 -2
  310. package/amd/{_curry3-d85ab9e3.js.map → _curry3-5f6cc6b4.js.map} +1 -1
  311. package/amd/_has-ec8331b9.js +2 -0
  312. package/amd/{_has-d6e072c4.js.map → _has-ec8331b9.js.map} +1 -1
  313. package/amd/{classNames-7ef49daf.js → classNames-62e37972.js} +1 -1
  314. package/amd/{classNames-7ef49daf.js.map → classNames-62e37972.js.map} +1 -1
  315. package/amd/{clientHints-421618b0.js → clientHints-2e828dd3.js} +1 -1
  316. package/amd/{clientHints-421618b0.js.map → clientHints-2e828dd3.js.map} +1 -1
  317. package/amd/flexbox-495ba219.js +2 -0
  318. package/amd/{flexbox-af3b62ca.js.map → flexbox-495ba219.js.map} +1 -1
  319. package/amd/flexitem-2a478c7f.js +2 -0
  320. package/amd/{flexitem-7f1eca3f.js.map → flexitem-2a478c7f.js.map} +1 -1
  321. package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
  322. package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
  323. package/amd/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +1 -1
  324. package/amd/hooks/UNSAFE_useAnimation.js +1 -1
  325. package/amd/hooks/UNSAFE_useFloating.js +1 -1
  326. package/amd/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +1 -1
  327. package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
  328. package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
  329. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  330. package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  331. package/amd/hooks/UNSAFE_useTooltip.css +4 -4
  332. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  333. package/amd/hooks/UNSAFE_useTooltip.js.map +1 -1
  334. package/amd/{index-03c10d8e.js → index-359cad62.js} +2 -2
  335. package/amd/{index-03c10d8e.js.map → index-359cad62.js.map} +1 -1
  336. package/amd/{index-c150ed6e.js → index-8aa44d16.js} +2 -2
  337. package/amd/{index-c150ed6e.js.map → index-8aa44d16.js.map} +1 -1
  338. package/amd/{index-fbf288d8.js → index-f9c35a81.js} +1 -1
  339. package/amd/{index-fbf288d8.js.map → index-f9c35a81.js.map} +1 -1
  340. package/amd/{keys-2f73271e.js → keys-f1cf2c8a.js} +2 -2
  341. package/amd/{keys-2f73271e.js.map → keys-f1cf2c8a.js.map} +1 -1
  342. package/amd/{listViewSelectionTests-fe15066f.js → listViewSelectionTests-8ba3e5c2.js} +2 -2
  343. package/amd/{listViewSelectionTests-fe15066f.js.map → listViewSelectionTests-8ba3e5c2.js.map} +1 -1
  344. package/amd/{listViewTabbableModeTests-4b57a2aa.js → listViewTabbableModeTests-29e284bc.js} +2 -2
  345. package/amd/{listViewTabbableModeTests-4b57a2aa.js.map → listViewTabbableModeTests-29e284bc.js.map} +1 -1
  346. package/amd/{listViewTestFixtures-9b03a7ed.js → listViewTestFixtures-7ce26238.js} +1 -1
  347. package/amd/{listViewTestFixtures-9b03a7ed.js.map → listViewTestFixtures-7ce26238.js.map} +1 -1
  348. package/amd/{menuTestsUtils-313bea22.js → menuTestsUtils-b3b40e43.js} +1 -1
  349. package/amd/{menuTestsUtils-313bea22.js.map → menuTestsUtils-b3b40e43.js.map} +1 -1
  350. package/amd/{stringUtils-3b45cc82.js → stringUtils-91d77e3d.js} +1 -1
  351. package/amd/{stringUtils-3b45cc82.js.map → stringUtils-91d77e3d.js.map} +1 -1
  352. package/amd/{testHelpers-de821fa4.js → testHelpers-5cfe8465.js} +1 -1
  353. package/amd/{testHelpers-de821fa4.js.map → testHelpers-5cfe8465.js.map} +1 -1
  354. package/amd/{tslib.es6-01aa33b9.js → tslib.es6-0026d2ad.js} +1 -1
  355. package/amd/{tslib.es6-01aa33b9.js.map → tslib.es6-0026d2ad.js.map} +1 -1
  356. package/amd/{useAnimation-ce597b9d.js → useAnimation-979626b0.js} +2 -2
  357. package/amd/{useAnimation-ce597b9d.js.map → useAnimation-979626b0.js.map} +1 -1
  358. package/amd/{useFocusWithin-3cf07e58.js → useFocusWithin-4141423e.js} +1 -1
  359. package/amd/{useFocusWithin-3cf07e58.js.map → useFocusWithin-4141423e.js.map} +1 -1
  360. package/amd/{useModal-9f8b312e.js → useModal-e73d78f1.js} +1 -1
  361. package/amd/{useModal-9f8b312e.js.map → useModal-e73d78f1.js.map} +1 -1
  362. package/amd/{useSingleSelection-7205bfde.js → useSingleSelection-ee28feda.js} +1 -1
  363. package/amd/{useSingleSelection-7205bfde.js.map → useSingleSelection-ee28feda.js.map} +1 -1
  364. package/amd/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +1 -1
  365. package/amd/utils/PRIVATE_clientHints.js +1 -1
  366. package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
  367. package/amd/utils/UNSAFE_classNames/classNames.spec.js +1 -1
  368. package/amd/utils/UNSAFE_classNames.js +1 -1
  369. package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  370. package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
  371. package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  372. package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
  373. package/amd/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +1 -1
  374. package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
  375. package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
  376. package/amd/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +1 -1
  377. package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
  378. package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
  379. package/amd/utils/UNSAFE_interpolations/text.css +3 -3
  380. package/amd/utils/UNSAFE_interpolations/text.js +1 -1
  381. package/amd/utils/UNSAFE_interpolations/text.js.map +1 -1
  382. package/amd/utils/UNSAFE_logger.js +1 -1
  383. package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
  384. package/amd/utils/UNSAFE_stringUtils/stringUtils.spec.js +1 -1
  385. package/amd/utils/UNSAFE_stringUtils.js +1 -1
  386. package/amd/utils/UNSAFE_units.js +1 -1
  387. package/cjs/{Badge-60e75793.js → Badge-57a2f21b.js} +16 -16
  388. package/cjs/{Badge-60e75793.js.map → Badge-57a2f21b.js.map} +1 -1
  389. package/cjs/{BaseButton-c9febcfe.js → BaseButton-c585019d.js} +20 -20
  390. package/cjs/{BaseButton-c9febcfe.js.map → BaseButton-c585019d.js.map} +1 -1
  391. package/cjs/{Button-998e7e41.js → Button-6fcec8fc.js} +12 -12
  392. package/cjs/{Button-998e7e41.js.map → Button-6fcec8fc.js.map} +1 -1
  393. package/cjs/{Chip-b09858e9.js → Chip-ffb7a867.js} +10 -10
  394. package/cjs/{Chip-b09858e9.js.map → Chip-ffb7a867.js.map} +1 -1
  395. package/cjs/{ClearIcon-dc802e98.js → ClearIcon-90265f8b.js} +3 -3
  396. package/cjs/{ClearIcon-dc802e98.js.map → ClearIcon-90265f8b.js.map} +1 -1
  397. package/cjs/{Collection-3ee653eb.js → Collection-ccfc3e5f.js} +2 -2
  398. package/cjs/{Collection-3ee653eb.js.map → Collection-ccfc3e5f.js.map} +1 -1
  399. package/cjs/{ComponentMessage-56bf6c2e.js → ComponentMessage-d3c98ff4.js} +8 -8
  400. package/cjs/{ComponentMessage-56bf6c2e.js.map → ComponentMessage-d3c98ff4.js.map} +1 -1
  401. package/cjs/{ComponentMessageContainer-a13a49ee.js → ComponentMessageContainer-5bfa8ad2.js} +5 -5
  402. package/cjs/{ComponentMessageContainer-a13a49ee.js.map → ComponentMessageContainer-5bfa8ad2.js.map} +1 -1
  403. package/cjs/{Divider-68e33eab.js → Divider-a34b4122.js} +3 -3
  404. package/cjs/{Divider-68e33eab.js.map → Divider-a34b4122.js.map} +1 -1
  405. package/cjs/{FilePicker-01193392.js → FilePicker-ad5751e2.js} +14 -14
  406. package/cjs/{FilePicker-01193392.js.map → FilePicker-ad5751e2.js.map} +1 -1
  407. package/cjs/{Flex-45046adf.js → Flex-74900484.js} +8 -8
  408. package/cjs/{Flex-45046adf.js.map → Flex-74900484.js.map} +1 -1
  409. package/cjs/{Floating-87d6d5bb.js → Floating-aef15596.js} +3 -3
  410. package/cjs/{Floating-87d6d5bb.js.map → Floating-aef15596.js.map} +1 -1
  411. package/cjs/{FocusTrap-39aa9458.js → FocusTrap-551739fd.js} +5 -5
  412. package/cjs/{FocusTrap-39aa9458.js.map → FocusTrap-551739fd.js.map} +1 -1
  413. package/cjs/{FormControlUtils-00721d61.js → FormControlUtils-401c7d6f.js} +5 -5
  414. package/cjs/{FormControlUtils-00721d61.js.map → FormControlUtils-401c7d6f.js.map} +1 -1
  415. package/cjs/{Heading-15175e2e.js → Heading-cb5e6c2a.js} +13 -13
  416. package/cjs/{Heading-15175e2e.js.map → Heading-cb5e6c2a.js.map} +1 -1
  417. package/cjs/{HiddenAccessible-77dd0361.js → HiddenAccessible-4f79adaf.js} +3 -3
  418. package/cjs/{HiddenAccessible-77dd0361.js.map → HiddenAccessible-4f79adaf.js.map} +1 -1
  419. package/cjs/{HighlightText-f73893fa.js → HighlightText-3af353e5.js} +3 -3
  420. package/cjs/{HighlightText-f73893fa.js.map → HighlightText-3af353e5.js.map} +1 -1
  421. package/cjs/{Icon-95ea0e53.js → Icon-a84eff17.js} +11 -11
  422. package/cjs/{Icon-95ea0e53.js.map → Icon-a84eff17.js.map} +1 -1
  423. package/cjs/{Indexer-e9f810de.js → Indexer-714d21f8.js} +16 -16
  424. package/cjs/{Indexer-e9f810de.js.map → Indexer-714d21f8.js.map} +1 -1
  425. package/cjs/{InlineHelpSource-dcd9c8c8.js → InlineHelpSource-4166cbb4.js} +3 -3
  426. package/cjs/{InlineHelpSource-dcd9c8c8.js.map → InlineHelpSource-4166cbb4.js.map} +1 -1
  427. package/cjs/{Link-235756e5.js → Link-bb3a67e8.js} +8 -8
  428. package/cjs/{Link-235756e5.js.map → Link-bb3a67e8.js.map} +1 -1
  429. package/cjs/{List-865d6221.js → List-dfb94772.js} +23 -23
  430. package/cjs/{List-865d6221.js.map → List-dfb94772.js.map} +1 -1
  431. package/cjs/{ListItemTextLayout-392eb227.js → ListItemTextLayout-7d35f4ac.js} +13 -13
  432. package/cjs/{ListItemTextLayout-392eb227.js.map → ListItemTextLayout-7d35f4ac.js.map} +1 -1
  433. package/cjs/{ListView-c00dfc4e.js → ListView-40c1e88c.js} +3 -3
  434. package/cjs/{ListView-c00dfc4e.js.map → ListView-40c1e88c.js.map} +1 -1
  435. package/cjs/{LoadMoreCollection-5092e58d.js → LoadMoreCollection-57fb6336.js} +3 -3
  436. package/cjs/{LoadMoreCollection-5092e58d.js.map → LoadMoreCollection-57fb6336.js.map} +1 -1
  437. package/cjs/{Menu-2559a0b2.js → Menu-da873636.js} +16 -16
  438. package/cjs/{Menu-2559a0b2.js.map → Menu-da873636.js.map} +1 -1
  439. package/cjs/{MenuDivider-6b694520.js → MenuDivider-5536729a.js} +4 -4
  440. package/cjs/{MenuDivider-6b694520.js.map → MenuDivider-5536729a.js.map} +1 -1
  441. package/cjs/{MenuItem-c8023341.js → MenuItem-ebd4209f.js} +19 -19
  442. package/cjs/{MenuItem-c8023341.js.map → MenuItem-ebd4209f.js.map} +1 -1
  443. package/cjs/{Message.types-611ea674.js → Message.types-642ff5b5.js} +2 -2
  444. package/cjs/{Message.types-611ea674.js.map → Message.types-642ff5b5.js.map} +1 -1
  445. package/cjs/{MessageCloseButton-91419edb.js → MessageCloseButton-f2511ad1.js} +9 -9
  446. package/cjs/{MessageCloseButton-91419edb.js.map → MessageCloseButton-f2511ad1.js.map} +1 -1
  447. package/cjs/{MessageDetail-197338d7.js → MessageDetail-5f9ae99c.js} +7 -7
  448. package/cjs/{MessageDetail-197338d7.js.map → MessageDetail-5f9ae99c.js.map} +1 -1
  449. package/cjs/{MessageFormattingUtils-8e89d508.js → MessageFormattingUtils-987ad2b0.js} +4 -4
  450. package/cjs/{MessageFormattingUtils-8e89d508.js.map → MessageFormattingUtils-987ad2b0.js.map} +1 -1
  451. package/cjs/{MessageLayer-3b89c815.js → MessageLayer-850bf507.js} +11 -11
  452. package/cjs/{MessageLayer-3b89c815.js.map → MessageLayer-850bf507.js.map} +1 -1
  453. package/cjs/{MessageStartIcon-94b702ff.js → MessageStartIcon-63365e89.js} +11 -11
  454. package/cjs/{MessageStartIcon-94b702ff.js.map → MessageStartIcon-63365e89.js.map} +1 -1
  455. package/cjs/{MessageSummary-121a7665.js → MessageSummary-94cbc940.js} +7 -7
  456. package/cjs/{MessageSummary-121a7665.js.map → MessageSummary-94cbc940.js.map} +1 -1
  457. package/cjs/{MessageTimestamp-b3fddcc0.js → MessageTimestamp-20cb77b7.js} +5 -5
  458. package/cjs/{MessageTimestamp-b3fddcc0.js.map → MessageTimestamp-20cb77b7.js.map} +1 -1
  459. package/cjs/{MessageToast-91261767.js → MessageToast-f2b7fdc0.js} +9 -9
  460. package/cjs/{MessageToast-91261767.js.map → MessageToast-f2b7fdc0.js.map} +1 -1
  461. package/cjs/{MessageUtils-ad3d83e8.js → MessageUtils-4c98a190.js} +3 -3
  462. package/cjs/{MessageUtils-ad3d83e8.js.map → MessageUtils-4c98a190.js.map} +1 -1
  463. package/cjs/{MessagesManager-c5cf35f8.js → MessagesManager-7787d6b3.js} +4 -4
  464. package/cjs/{MessagesManager-c5cf35f8.js.map → MessagesManager-7787d6b3.js.map} +1 -1
  465. package/cjs/{MeterCircle-858a9094.js → MeterCircle-60b67dc9.js} +50 -50
  466. package/cjs/{MeterCircle-858a9094.js.map → MeterCircle-60b67dc9.js.map} +1 -1
  467. package/cjs/{Modal-f80212da.js → Modal-da92e38f.js} +7 -7
  468. package/cjs/{Modal-f80212da.js.map → Modal-da92e38f.js.map} +1 -1
  469. package/cjs/{NumberInputText-10d0e09c.js → NumberInputText-f7dcebcd.js} +7 -7
  470. package/cjs/{NumberInputText-10d0e09c.js.map → NumberInputText-f7dcebcd.js.map} +1 -1
  471. package/cjs/PRIVATE_Collection/__tests__/Collection.spec.js +2 -2
  472. package/cjs/PRIVATE_Collection.js +2 -2
  473. package/cjs/PRIVATE_List/__tests__/List.spec.js +24 -24
  474. package/cjs/PRIVATE_List.js +23 -23
  475. package/cjs/PRIVATE_Message/__tests__/MessageCloseButton.spec.js +17 -17
  476. package/cjs/PRIVATE_Message/__tests__/MessageDetail.spec.js +6 -6
  477. package/cjs/PRIVATE_Message/__tests__/MessageFormattingUtils.spec.js +4 -4
  478. package/cjs/PRIVATE_Message/__tests__/MessageStartIcon.spec.js +19 -19
  479. package/cjs/PRIVATE_Message/__tests__/MessageSummary.spec.js +3 -3
  480. package/cjs/PRIVATE_Message/__tests__/MessageTimestamp.spec.js +6 -6
  481. package/cjs/PRIVATE_Message/__tests__/MessageUtils.spec.js +7 -7
  482. package/cjs/PRIVATE_Message/__tests__/MessagesManager.spec.js +4 -4
  483. package/cjs/PRIVATE_Message.js +41 -41
  484. package/cjs/PRIVATE_Message.js.map +1 -1
  485. package/cjs/PRIVATE_MessageLayer/__tests__/MessageLayer.spec.js +12 -12
  486. package/cjs/PRIVATE_MessageLayer.js +12 -12
  487. package/cjs/PRIVATE_Meter.js +2 -2
  488. package/cjs/PRIVATE_SelectCommon.js +54 -54
  489. package/cjs/PRIVATE_SelectCommon.js.map +1 -1
  490. package/cjs/PRIVATE_TransitionGroup.js +1 -1
  491. package/cjs/PRIVATE_VirtualizedCollection/__tests__/VirtualizedCollection.spec.js +3 -3
  492. package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
  493. package/cjs/{ReadonlyTextFieldInput-1fe8a8c7.js → ReadonlyTextFieldInput-5f258014.js} +13 -13
  494. package/cjs/{ReadonlyTextFieldInput-1fe8a8c7.js.map → ReadonlyTextFieldInput-5f258014.js.map} +1 -1
  495. package/cjs/{SelectMenuItem-e323972a.js → SelectMenuItem-3a308c94.js} +5 -5
  496. package/cjs/{SelectMenuItem-e323972a.js.map → SelectMenuItem-3a308c94.js.map} +1 -1
  497. package/cjs/{SelectMultiple-5a403f5c.js → SelectMultiple-3aa3a17c.js} +8 -8
  498. package/cjs/{SelectMultiple-5a403f5c.js.map → SelectMultiple-3aa3a17c.js.map} +1 -1
  499. package/cjs/{SelectSingle-94c24387.js → SelectSingle-2841da0b.js} +4 -4
  500. package/cjs/{SelectSingle-94c24387.js.map → SelectSingle-2841da0b.js.map} +1 -1
  501. package/cjs/{Skeleton-8d2cfece.js → Skeleton-f6ce8f11.js} +5 -5
  502. package/cjs/{Skeleton-8d2cfece.js.map → Skeleton-f6ce8f11.js.map} +1 -1
  503. package/cjs/{Spacer-cd18b349.js → Spacer-699110fa.js} +4 -4
  504. package/cjs/{Spacer-cd18b349.js.map → Spacer-699110fa.js.map} +1 -1
  505. package/cjs/{SplitMenuButton-881945ad.js → SplitMenuButton-94d9bbf4.js} +14 -14
  506. package/cjs/{SplitMenuButton-881945ad.js.map → SplitMenuButton-94d9bbf4.js.map} +1 -1
  507. package/cjs/{Subheading-a41fb88e.js → Subheading-14ba019a.js} +11 -11
  508. package/cjs/{Subheading-a41fb88e.js.map → Subheading-14ba019a.js.map} +1 -1
  509. package/cjs/{Text-6a8f1ecc.js → Text-4177117f.js} +28 -28
  510. package/cjs/{Text-6a8f1ecc.js.map → Text-4177117f.js.map} +1 -1
  511. package/cjs/{TextArea-96bc5e5e.js → TextArea-92a64883.js} +8 -8
  512. package/cjs/{TextArea-96bc5e5e.js.map → TextArea-92a64883.js.map} +1 -1
  513. package/cjs/{TextAreaAutosize-ba9b3a21.js → TextAreaAutosize-35dd9a08.js} +5 -5
  514. package/cjs/{TextAreaAutosize-ba9b3a21.js.map → TextAreaAutosize-35dd9a08.js.map} +1 -1
  515. package/cjs/{TextFieldInput-16c69441.js → TextFieldInput-d82564cd.js} +33 -33
  516. package/cjs/{TextFieldInput-16c69441.js.map → TextFieldInput-d82564cd.js.map} +1 -1
  517. package/cjs/UNSAFE_AspectRatio.js +8 -8
  518. package/cjs/UNSAFE_Avatar/__tests__/Avatar.spec.js +3 -3
  519. package/cjs/UNSAFE_Avatar.js +11 -11
  520. package/cjs/UNSAFE_Avatar.js.map +1 -1
  521. package/cjs/UNSAFE_Badge/__tests__/Badge.spec.js +3 -3
  522. package/cjs/UNSAFE_Badge.js +3 -3
  523. package/cjs/UNSAFE_BaseButton/__tests__/BaseButton.spec.js +9 -9
  524. package/cjs/UNSAFE_BaseButton.js +9 -9
  525. package/cjs/UNSAFE_Button/__tests__/Button.spec.js +10 -10
  526. package/cjs/UNSAFE_Button.js +10 -10
  527. package/cjs/UNSAFE_Center.js +11 -11
  528. package/cjs/UNSAFE_Chip/__tests__/Chip.spec.js +3 -3
  529. package/cjs/UNSAFE_Chip.js +3 -3
  530. package/cjs/UNSAFE_Collapsible.js +26 -26
  531. package/cjs/UNSAFE_Collapsible.js.map +1 -1
  532. package/cjs/UNSAFE_Collection.js +1 -1
  533. package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessage.spec.js +32 -32
  534. package/cjs/UNSAFE_ComponentMessage/__tests__/ComponentMessageContainer.spec.js +33 -33
  535. package/cjs/UNSAFE_ComponentMessage.js +33 -33
  536. package/cjs/UNSAFE_Divider/__tests__/Divider.spec.js +7 -7
  537. package/cjs/UNSAFE_Divider.js +7 -7
  538. package/cjs/UNSAFE_EmptyList.js +1 -1
  539. package/cjs/UNSAFE_Environment/__tests__/Environment.spec.js +1 -1
  540. package/cjs/UNSAFE_Environment.js +1 -1
  541. package/cjs/UNSAFE_FilePicker/__tests__/FilePicker.spec.js +14 -14
  542. package/cjs/UNSAFE_FilePicker.js +14 -14
  543. package/cjs/UNSAFE_Flex/__tests__/Flex.spec.js +11 -11
  544. package/cjs/UNSAFE_Flex.js +11 -11
  545. package/cjs/UNSAFE_Floating/__tests__/Floating.spec.js +3 -3
  546. package/cjs/UNSAFE_Floating.js +3 -3
  547. package/cjs/UNSAFE_FocusTrap/__tests__/FocusTrap.spec.js +6 -6
  548. package/cjs/UNSAFE_FocusTrap.js +6 -6
  549. package/cjs/UNSAFE_Grid.js +9 -9
  550. package/cjs/UNSAFE_Heading/__test__/Heading.spec.js +11 -11
  551. package/cjs/UNSAFE_Heading.js +9 -9
  552. package/cjs/UNSAFE_HiddenAccessible/__tests__/HiddenAccessible.spec.js +12 -12
  553. package/cjs/UNSAFE_HiddenAccessible.js +2 -2
  554. package/cjs/UNSAFE_HighlightText/__tests__/HighlightText.spec.js +2 -2
  555. package/cjs/UNSAFE_HighlightText.js +2 -2
  556. package/cjs/UNSAFE_Icon/__tests__/Icon.spec.js +8 -8
  557. package/cjs/UNSAFE_Icon/__tests__/Icons.spec.js +9 -9
  558. package/cjs/UNSAFE_Icon.js +7 -7
  559. package/cjs/UNSAFE_Icons.js +8 -8
  560. package/cjs/UNSAFE_Indexer/__tests__/Indexer.spec.js +16 -16
  561. package/cjs/UNSAFE_Indexer.js +16 -16
  562. package/cjs/UNSAFE_InputPassword/__tests__/InputPassword.spec.js +39 -39
  563. package/cjs/UNSAFE_InputPassword.js +40 -40
  564. package/cjs/UNSAFE_InputText.js +39 -39
  565. package/cjs/UNSAFE_Label.js +16 -16
  566. package/cjs/UNSAFE_Label.js.map +1 -1
  567. package/cjs/UNSAFE_LabelValueLayout.js +20 -20
  568. package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
  569. package/cjs/UNSAFE_Layer.js +1 -1
  570. package/cjs/UNSAFE_Link/__tests__/Link.spec.js +3 -3
  571. package/cjs/UNSAFE_Link.js +3 -3
  572. package/cjs/UNSAFE_ListItemLayout/__tests__/ListItemLayout.spec.js +10 -10
  573. package/cjs/UNSAFE_ListItemLayout.js +10 -10
  574. package/cjs/UNSAFE_ListView/__tests__/ListView.spec.js +27 -27
  575. package/cjs/UNSAFE_ListView/__tests__/ListViewTabbableMode.spec.js +27 -27
  576. package/cjs/UNSAFE_ListView.js +24 -24
  577. package/cjs/UNSAFE_LiveRegion.js +2 -2
  578. package/cjs/UNSAFE_LoadMoreCollection/__tests__/LoadMoreCollection.spec.js +3 -3
  579. package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
  580. package/cjs/UNSAFE_Menu/__tests__/Menu.spec.js +19 -19
  581. package/cjs/UNSAFE_Menu/__tests__/MenuItem.spec.js +11 -11
  582. package/cjs/UNSAFE_Menu/__tests__/SelectMenuItem.spec.js +18 -18
  583. package/cjs/UNSAFE_Menu/__tests__/SelectMultipleMenuGroup.spec.js +22 -22
  584. package/cjs/UNSAFE_Menu/__tests__/SelectSingleMenuGroup.spec.js +22 -22
  585. package/cjs/UNSAFE_Menu.js +16 -16
  586. package/cjs/UNSAFE_MessageBanner.js +30 -30
  587. package/cjs/UNSAFE_MessageToast/__tests__/MessageToast.spec.js +33 -33
  588. package/cjs/UNSAFE_MessageToast.js +33 -33
  589. package/cjs/UNSAFE_MeterBar/__tests__/MeterBar.spec.js +7 -7
  590. package/cjs/UNSAFE_MeterBar.js +50 -50
  591. package/cjs/UNSAFE_MeterBar.js.map +1 -1
  592. package/cjs/UNSAFE_MeterCircle/__tests__/MeterCircle.spec.js +8 -8
  593. package/cjs/UNSAFE_MeterCircle.js +7 -7
  594. package/cjs/UNSAFE_Modal/__tests__/Modal.spec.js +8 -8
  595. package/cjs/UNSAFE_Modal.js +8 -8
  596. package/cjs/UNSAFE_NumberInputText/__tests__/NumberInputText.spec.js +39 -39
  597. package/cjs/UNSAFE_NumberInputText.js +39 -39
  598. package/cjs/UNSAFE_PrefixSuffix.js +10 -10
  599. package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
  600. package/cjs/UNSAFE_ProgressBar/__tests__/ProgressBar.spec.js +3 -3
  601. package/cjs/UNSAFE_ProgressBar.js +9 -9
  602. package/cjs/UNSAFE_ProgressBar.js.map +1 -1
  603. package/cjs/UNSAFE_ProgressCircle/__tests__/ProgressCircle.spec.js +3 -3
  604. package/cjs/UNSAFE_ProgressCircle.js +9 -9
  605. package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
  606. package/cjs/UNSAFE_RatingGauge/__tests__/RatingGauge.spec.js +7 -7
  607. package/cjs/UNSAFE_RatingGauge.js +26 -26
  608. package/cjs/UNSAFE_RatingGauge.js.map +1 -1
  609. package/cjs/UNSAFE_SelectMultiple/__tests__/SelectMultiple.spec.js +47 -47
  610. package/cjs/UNSAFE_SelectMultiple.js +47 -47
  611. package/cjs/UNSAFE_SelectSingle/__tests__/SelectSingle.spec.js +46 -46
  612. package/cjs/UNSAFE_SelectSingle.js +46 -46
  613. package/cjs/UNSAFE_Selector.js +22 -22
  614. package/cjs/UNSAFE_Selector.js.map +1 -1
  615. package/cjs/UNSAFE_Skeleton/__tests__/Skeleton.spec.js +8 -8
  616. package/cjs/UNSAFE_Skeleton.js +8 -8
  617. package/cjs/UNSAFE_Spacer/__tests__/Spacer.spec.js +10 -10
  618. package/cjs/UNSAFE_Spacer.js +10 -10
  619. package/cjs/UNSAFE_SplitMenuButton/__tests__/SplitMenuButton.spec.js +23 -23
  620. package/cjs/UNSAFE_SplitMenuButton.js +23 -23
  621. package/cjs/UNSAFE_Subheading/__test__/Subheading.spec.js +10 -10
  622. package/cjs/UNSAFE_Subheading.js +8 -8
  623. package/cjs/UNSAFE_Text/__tests__/Text.spec.js +8 -8
  624. package/cjs/UNSAFE_Text.js +8 -8
  625. package/cjs/UNSAFE_TextArea/__tests__/TextArea.spec.js +39 -39
  626. package/cjs/UNSAFE_TextArea.js +39 -39
  627. package/cjs/UNSAFE_TextAreaAutosize/__tests__/TextAreaAutosize.spec.js +40 -40
  628. package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
  629. package/cjs/UNSAFE_TextField/__tests__/ReadonlyTextFieldInput.spec.js +10 -10
  630. package/cjs/UNSAFE_TextField/__tests__/TextFieldInput.spec.js +11 -11
  631. package/cjs/UNSAFE_TextField.js +35 -35
  632. package/cjs/UNSAFE_TextField.js.map +1 -1
  633. package/cjs/UNSAFE_ThemedIcons.js +9 -9
  634. package/cjs/UNSAFE_UserAssistance/__tests__/InlineHelpSource.spec.js +2 -2
  635. package/cjs/UNSAFE_UserAssistance.js +41 -41
  636. package/cjs/UNSAFE_UserAssistance.js.map +1 -1
  637. package/cjs/UNSAFE_View/__tests__/View.spec.js +9 -9
  638. package/cjs/UNSAFE_View.js +9 -9
  639. package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListView.spec.js +27 -27
  640. package/cjs/UNSAFE_VirtualizedListView/__tests__/VirtualizedListViewTabbableMode.spec.js +27 -27
  641. package/cjs/UNSAFE_VirtualizedListView.js +24 -24
  642. package/cjs/UNSAFE_WindowOverlay.js +1 -1
  643. package/cjs/{VirtualizedCollection-98eb94b8.js → VirtualizedCollection-af6e25d0.js} +3 -3
  644. package/cjs/{VirtualizedCollection-98eb94b8.js.map → VirtualizedCollection-af6e25d0.js.map} +1 -1
  645. package/cjs/{VirtualizedListView-3214cbca.js → VirtualizedListView-e2a957e5.js} +3 -3
  646. package/cjs/{VirtualizedListView-3214cbca.js.map → VirtualizedListView-e2a957e5.js.map} +1 -1
  647. package/cjs/__tests__/FormControls/FormControlAria.spec.js +52 -52
  648. package/cjs/__tests__/FormControls/FormControlClearIcon.spec.js +39 -39
  649. package/cjs/__tests__/FormControls/FormControlCommit.spec.js +42 -42
  650. package/cjs/__tests__/FormControls/FormControlPrefixSuffix.spec.js +40 -40
  651. package/cjs/{_curry1-92f728e8.js → _curry1-2c88f0ff.js} +2 -2
  652. package/cjs/{_curry1-92f728e8.js.map → _curry1-2c88f0ff.js.map} +1 -1
  653. package/cjs/{_curry2-a3a9dc87.js → _curry2-be33e552.js} +3 -3
  654. package/cjs/{_curry2-a3a9dc87.js.map → _curry2-be33e552.js.map} +1 -1
  655. package/cjs/{_curry3-1b9a049f.js → _curry3-bab61d2b.js} +4 -4
  656. package/cjs/{_curry3-1b9a049f.js.map → _curry3-bab61d2b.js.map} +1 -1
  657. package/cjs/{_has-be98f312.js → _has-8140eef8.js} +3 -3
  658. package/cjs/{_has-be98f312.js.map → _has-8140eef8.js.map} +1 -1
  659. package/cjs/{classNames-aad02aff.js → classNames-9314d0f7.js} +2 -2
  660. package/cjs/{classNames-aad02aff.js.map → classNames-9314d0f7.js.map} +1 -1
  661. package/cjs/{clientHints-304675d3.js → clientHints-408ec09a.js} +2 -2
  662. package/cjs/{clientHints-304675d3.js.map → clientHints-408ec09a.js.map} +1 -1
  663. package/cjs/{flexbox-28fb45b7.js → flexbox-63e4b5b3.js} +10 -10
  664. package/cjs/{flexbox-28fb45b7.js.map → flexbox-63e4b5b3.js.map} +1 -1
  665. package/cjs/{flexitem-72653edf.js → flexitem-6070146c.js} +10 -10
  666. package/cjs/{flexitem-72653edf.js.map → flexitem-6070146c.js.map} +1 -1
  667. package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  668. package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
  669. package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
  670. package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
  671. package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  672. package/cjs/hooks/PRIVATE_useSelection.js +1 -1
  673. package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
  674. package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  675. package/cjs/hooks/UNSAFE_useActionable.js +1 -1
  676. package/cjs/hooks/UNSAFE_useActive.js +1 -1
  677. package/cjs/hooks/UNSAFE_useAnimation/__tests__/useAnimation.spec.js +3 -3
  678. package/cjs/hooks/UNSAFE_useAnimation.js +3 -3
  679. package/cjs/hooks/UNSAFE_useBreakpointValues.js +1 -1
  680. package/cjs/hooks/UNSAFE_useBreakpoints.js +1 -1
  681. package/cjs/hooks/UNSAFE_useClearIcon.js +1 -1
  682. package/cjs/hooks/UNSAFE_useColorScheme.js +1 -1
  683. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  684. package/cjs/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  685. package/cjs/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  686. package/cjs/hooks/UNSAFE_useDebounce.js +1 -1
  687. package/cjs/hooks/UNSAFE_useFloating.js +2 -2
  688. package/cjs/hooks/UNSAFE_useFocus.js +1 -1
  689. package/cjs/hooks/UNSAFE_useFocusWithin/__tests__/useFocusWithin.spec.js +2 -2
  690. package/cjs/hooks/UNSAFE_useFocusWithin.js +2 -2
  691. package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
  692. package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
  693. package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
  694. package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
  695. package/cjs/hooks/UNSAFE_useHover.js +1 -1
  696. package/cjs/hooks/UNSAFE_useId.js +1 -1
  697. package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
  698. package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  699. package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
  700. package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
  701. package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
  702. package/cjs/hooks/UNSAFE_usePan.js +1 -1
  703. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
  704. package/cjs/hooks/UNSAFE_usePress.js +1 -1
  705. package/cjs/hooks/UNSAFE_useScale.js +1 -1
  706. package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
  707. package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
  708. package/cjs/hooks/UNSAFE_useTap.js +1 -1
  709. package/cjs/hooks/UNSAFE_useTextField.js +1 -1
  710. package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
  711. package/cjs/hooks/UNSAFE_useTheme.js +1 -1
  712. package/cjs/hooks/UNSAFE_useTimer.js +1 -1
  713. package/cjs/hooks/UNSAFE_useToggle.js +1 -1
  714. package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
  715. package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
  716. package/cjs/hooks/UNSAFE_useTouch.js +1 -1
  717. package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
  718. package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
  719. package/cjs/hooks/UNSAFE_useUser.js +1 -1
  720. package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
  721. package/cjs/{index-1f7c328e.js → index-87a2d48e.js} +3 -3
  722. package/cjs/{index-1f7c328e.js.map → index-87a2d48e.js.map} +1 -1
  723. package/cjs/{index-d65f7e75.js → index-9925070f.js} +3 -3
  724. package/cjs/{index-d65f7e75.js.map → index-9925070f.js.map} +1 -1
  725. package/cjs/{index-3f8d5bb1.js → index-b42514c2.js} +2 -2
  726. package/cjs/{index-3f8d5bb1.js.map → index-b42514c2.js.map} +1 -1
  727. package/cjs/{keys-37f64206.js → keys-80bbe342.js} +4 -4
  728. package/cjs/{keys-37f64206.js.map → keys-80bbe342.js.map} +1 -1
  729. package/cjs/{listViewSelectionTests-d4b27c65.js → listViewSelectionTests-aac2955c.js} +4 -4
  730. package/cjs/{listViewSelectionTests-d4b27c65.js.map → listViewSelectionTests-aac2955c.js.map} +1 -1
  731. package/cjs/{listViewTabbableModeTests-78640dbe.js → listViewTabbableModeTests-139f963b.js} +4 -4
  732. package/cjs/{listViewTabbableModeTests-78640dbe.js.map → listViewTabbableModeTests-139f963b.js.map} +1 -1
  733. package/cjs/{listViewTestFixtures-be920c78.js → listViewTestFixtures-b3580dd3.js} +2 -2
  734. package/cjs/{listViewTestFixtures-be920c78.js.map → listViewTestFixtures-b3580dd3.js.map} +1 -1
  735. package/cjs/{menuTestsUtils-6a2d46c9.js → menuTestsUtils-e3bbef57.js} +2 -2
  736. package/cjs/{menuTestsUtils-6a2d46c9.js.map → menuTestsUtils-e3bbef57.js.map} +1 -1
  737. package/cjs/resources/nls/ar/bundle.js +1 -1
  738. package/cjs/resources/nls/ar-XB/bundle.js +1 -1
  739. package/cjs/resources/nls/bg/bundle.js +1 -1
  740. package/cjs/resources/nls/bs/bundle.js +1 -1
  741. package/cjs/resources/nls/bs-Cyrl/bundle.js +1 -1
  742. package/cjs/resources/nls/bundle.js +1 -1
  743. package/cjs/resources/nls/cs/bundle.js +1 -1
  744. package/cjs/resources/nls/da/bundle.js +1 -1
  745. package/cjs/resources/nls/de/bundle.js +1 -1
  746. package/cjs/resources/nls/el/bundle.js +1 -1
  747. package/cjs/resources/nls/en/bundle.js +1 -1
  748. package/cjs/resources/nls/en-XA/bundle.js +1 -1
  749. package/cjs/resources/nls/en-XC/bundle.js +1 -1
  750. package/cjs/resources/nls/es/bundle.js +1 -1
  751. package/cjs/resources/nls/et/bundle.js +1 -1
  752. package/cjs/resources/nls/fi/bundle.js +1 -1
  753. package/cjs/resources/nls/fr/bundle.js +1 -1
  754. package/cjs/resources/nls/fr-CA/bundle.js +1 -1
  755. package/cjs/resources/nls/he/bundle.js +1 -1
  756. package/cjs/resources/nls/hr/bundle.js +1 -1
  757. package/cjs/resources/nls/hu/bundle.js +1 -1
  758. package/cjs/resources/nls/is/bundle.js +1 -1
  759. package/cjs/resources/nls/it/bundle.js +1 -1
  760. package/cjs/resources/nls/ja/bundle.js +1 -1
  761. package/cjs/resources/nls/ko/bundle.js +1 -1
  762. package/cjs/resources/nls/lt/bundle.js +1 -1
  763. package/cjs/resources/nls/lv/bundle.js +1 -1
  764. package/cjs/resources/nls/ms/bundle.js +1 -1
  765. package/cjs/resources/nls/nl/bundle.js +1 -1
  766. package/cjs/resources/nls/no/bundle.js +1 -1
  767. package/cjs/resources/nls/pl/bundle.js +1 -1
  768. package/cjs/resources/nls/pt/bundle.js +1 -1
  769. package/cjs/resources/nls/pt-PT/bundle.js +1 -1
  770. package/cjs/resources/nls/ro/bundle.js +1 -1
  771. package/cjs/resources/nls/ru/bundle.js +1 -1
  772. package/cjs/resources/nls/sk/bundle.js +1 -1
  773. package/cjs/resources/nls/sl/bundle.js +1 -1
  774. package/cjs/resources/nls/sr/bundle.js +1 -1
  775. package/cjs/resources/nls/sr-Latn/bundle.js +1 -1
  776. package/cjs/resources/nls/supportedLocales.js +1 -1
  777. package/cjs/resources/nls/sv/bundle.js +1 -1
  778. package/cjs/resources/nls/th/bundle.js +1 -1
  779. package/cjs/resources/nls/tr/bundle.js +1 -1
  780. package/cjs/resources/nls/uk/bundle.js +1 -1
  781. package/cjs/resources/nls/vi/bundle.js +1 -1
  782. package/cjs/resources/nls/zh-Hans/bundle.js +1 -1
  783. package/cjs/resources/nls/zh-Hant/bundle.js +1 -1
  784. package/cjs/{stringUtils-3a14a8ae.js → stringUtils-f5751559.js} +2 -2
  785. package/cjs/{stringUtils-3a14a8ae.js.map → stringUtils-f5751559.js.map} +1 -1
  786. package/cjs/{testHelpers-d82fa365.js → testHelpers-306cb44a.js} +2 -2
  787. package/cjs/{testHelpers-d82fa365.js.map → testHelpers-306cb44a.js.map} +1 -1
  788. package/cjs/translationBundle/__tests__/translationBundle.spec.js +1 -1
  789. package/cjs/translationBundle.js +1 -1
  790. package/cjs/{tslib.es6-cc468494.js → tslib.es6-ac889636.js} +2 -2
  791. package/cjs/{tslib.es6-cc468494.js.map → tslib.es6-ac889636.js.map} +1 -1
  792. package/cjs/{useAnimation-0d01f108.js → useAnimation-6093457f.js} +3 -3
  793. package/cjs/{useAnimation-0d01f108.js.map → useAnimation-6093457f.js.map} +1 -1
  794. package/cjs/{useFocusWithin-5d288535.js → useFocusWithin-d6e3e0d5.js} +2 -2
  795. package/cjs/{useFocusWithin-5d288535.js.map → useFocusWithin-d6e3e0d5.js.map} +1 -1
  796. package/cjs/{useModal-6b58468c.js → useModal-e0aa3f76.js} +2 -2
  797. package/cjs/{useModal-6b58468c.js.map → useModal-e0aa3f76.js.map} +1 -1
  798. package/cjs/{useSingleSelection-1cf3868b.js → useSingleSelection-8cba5c67.js} +2 -2
  799. package/cjs/{useSingleSelection-1cf3868b.js.map → useSingleSelection-8cba5c67.js.map} +1 -1
  800. package/cjs/utils/PRIVATE_clientHints/__tests__/clientHints.spec.js +2 -2
  801. package/cjs/utils/PRIVATE_clientHints.js +2 -2
  802. package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
  803. package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
  804. package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
  805. package/cjs/utils/PRIVATE_meterUtils.js +1 -1
  806. package/cjs/utils/PRIVATE_refUtils.js +1 -1
  807. package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
  808. package/cjs/utils/PRIVATE_timer.js +1 -1
  809. package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
  810. package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
  811. package/cjs/utils/UNSAFE_classNames/classNames.spec.js +2 -2
  812. package/cjs/utils/UNSAFE_classNames.js +2 -2
  813. package/cjs/utils/UNSAFE_componentUtils.js +1 -1
  814. package/cjs/utils/UNSAFE_dataProvider.js +1 -1
  815. package/cjs/utils/UNSAFE_dvtCommonUtils.js +1 -1
  816. package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
  817. package/cjs/utils/UNSAFE_getLocale.js +1 -1
  818. package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
  819. package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
  820. package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  821. package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  822. package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
  823. package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
  824. package/cjs/utils/UNSAFE_interpolations/flexbox/flexbox.spec.js +5 -5
  825. package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
  826. package/cjs/utils/UNSAFE_interpolations/flexitem/flexitem.spec.js +5 -5
  827. package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
  828. package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
  829. package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
  830. package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
  831. package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
  832. package/cjs/utils/UNSAFE_interpolations/text.js.map +1 -1
  833. package/cjs/utils/UNSAFE_keys.js +1 -1
  834. package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
  835. package/cjs/utils/UNSAFE_logger.js +3 -3
  836. package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
  837. package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
  838. package/cjs/utils/UNSAFE_mergeProps.js +1 -1
  839. package/cjs/utils/UNSAFE_meterTypes.js +1 -1
  840. package/cjs/utils/UNSAFE_roles.js +1 -1
  841. package/cjs/utils/UNSAFE_selectUtils.js +1 -1
  842. package/cjs/utils/UNSAFE_size.js +1 -1
  843. package/cjs/utils/UNSAFE_soundUtils.js +1 -1
  844. package/cjs/utils/UNSAFE_stringUtils/stringUtils.spec.js +2 -2
  845. package/cjs/utils/UNSAFE_stringUtils.js +2 -2
  846. package/cjs/utils/UNSAFE_typeUtils.js +1 -1
  847. package/cjs/utils/UNSAFE_units.js +2 -2
  848. package/cjs/utils/UNSAFE_valueUpdateDetail.js +1 -1
  849. package/es/{ClearIcon-65b94e3e.js → ClearIcon-14323e86.js} +3 -3
  850. package/es/{ClearIcon-65b94e3e.js.map → ClearIcon-14323e86.js.map} +1 -1
  851. package/es/{LoadMoreCollection-ae0cfa2a.js → LoadMoreCollection-ad461554.js} +2 -2
  852. package/es/{LoadMoreCollection-ae0cfa2a.js.map → LoadMoreCollection-ad461554.js.map} +1 -1
  853. package/es/PRIVATE_Collection.js +1 -1
  854. package/es/PRIVATE_List.css +15 -15
  855. package/es/PRIVATE_List.js +24 -24
  856. package/es/PRIVATE_List.js.map +1 -1
  857. package/es/PRIVATE_Message.css +27 -27
  858. package/es/PRIVATE_Message.js +35 -35
  859. package/es/PRIVATE_Message.js.map +1 -1
  860. package/es/PRIVATE_MessageLayer.css +7 -7
  861. package/es/PRIVATE_MessageLayer.js +14 -14
  862. package/es/PRIVATE_MessageLayer.js.map +1 -1
  863. package/es/PRIVATE_Meter.js +2 -2
  864. package/es/PRIVATE_SelectCommon.css +13 -13
  865. package/es/PRIVATE_SelectCommon.js +22 -22
  866. package/es/PRIVATE_SelectCommon.js.map +1 -1
  867. package/es/PRIVATE_TransitionGroup.js +1 -1
  868. package/es/PRIVATE_VirtualizedCollection.js +1 -1
  869. package/es/UNSAFE_AspectRatio.css +1 -1
  870. package/es/UNSAFE_AspectRatio.js +7 -7
  871. package/es/UNSAFE_Avatar.css +8 -8
  872. package/es/UNSAFE_Avatar.js +10 -10
  873. package/es/UNSAFE_Avatar.js.map +1 -1
  874. package/es/UNSAFE_Badge.css +13 -13
  875. package/es/UNSAFE_Badge.js +14 -14
  876. package/es/UNSAFE_Badge.js.map +1 -1
  877. package/es/UNSAFE_BaseButton.css +15 -15
  878. package/es/UNSAFE_BaseButton.js +21 -21
  879. package/es/UNSAFE_BaseButton.js.map +1 -1
  880. package/es/UNSAFE_Button.css +7 -7
  881. package/es/UNSAFE_Button.js +13 -13
  882. package/es/UNSAFE_Button.js.map +1 -1
  883. package/es/UNSAFE_Center.js +7 -7
  884. package/es/UNSAFE_Chip.css +7 -7
  885. package/es/UNSAFE_Chip.js +8 -8
  886. package/es/UNSAFE_Chip.js.map +1 -1
  887. package/es/UNSAFE_Collapsible.css +8 -8
  888. package/es/UNSAFE_Collapsible.js +16 -16
  889. package/es/UNSAFE_Collapsible.js.map +1 -1
  890. package/es/UNSAFE_Collection.js +1 -1
  891. package/es/UNSAFE_ComponentMessage.css +2 -2
  892. package/es/UNSAFE_ComponentMessage.js +10 -10
  893. package/es/UNSAFE_Divider.css +1 -1
  894. package/es/UNSAFE_Divider.js +6 -6
  895. package/es/UNSAFE_EmptyList.js +1 -1
  896. package/es/UNSAFE_Environment.js +1 -1
  897. package/es/UNSAFE_FilePicker.css +6 -6
  898. package/es/UNSAFE_FilePicker.js +13 -13
  899. package/es/UNSAFE_FilePicker.js.map +1 -1
  900. package/es/UNSAFE_Flex.css +2 -2
  901. package/es/UNSAFE_Flex.js +9 -9
  902. package/es/UNSAFE_Floating.js +2 -2
  903. package/es/UNSAFE_FocusTrap.css +2 -2
  904. package/es/UNSAFE_FocusTrap.js +6 -6
  905. package/es/UNSAFE_FocusTrap.js.map +1 -1
  906. package/es/UNSAFE_Grid.css +1 -1
  907. package/es/UNSAFE_Grid.js +8 -8
  908. package/es/UNSAFE_Heading.css +9 -9
  909. package/es/UNSAFE_Heading.js +16 -16
  910. package/es/UNSAFE_Heading.js.map +1 -1
  911. package/es/UNSAFE_HiddenAccessible.css +1 -1
  912. package/es/UNSAFE_HiddenAccessible.js +2 -2
  913. package/es/UNSAFE_HiddenAccessible.js.map +1 -1
  914. package/es/UNSAFE_HighlightText.css +1 -1
  915. package/es/UNSAFE_HighlightText.js +2 -2
  916. package/es/UNSAFE_Icon.css +8 -8
  917. package/es/UNSAFE_Icon.js +11 -11
  918. package/es/UNSAFE_Icon.js.map +1 -1
  919. package/es/UNSAFE_Icons.js +3 -3
  920. package/es/UNSAFE_Indexer.css +7 -7
  921. package/es/UNSAFE_Indexer.js +15 -15
  922. package/es/UNSAFE_Indexer.js.map +1 -1
  923. package/es/UNSAFE_InputPassword.css +1 -1
  924. package/es/UNSAFE_InputPassword.js +10 -10
  925. package/es/UNSAFE_InputText.css +1 -1
  926. package/es/UNSAFE_InputText.js +9 -9
  927. package/es/UNSAFE_Label.css +13 -13
  928. package/es/UNSAFE_Label.js +15 -15
  929. package/es/UNSAFE_Label.js.map +1 -1
  930. package/es/UNSAFE_LabelValueLayout.css +9 -9
  931. package/es/UNSAFE_LabelValueLayout.js +16 -16
  932. package/es/UNSAFE_LabelValueLayout.js.map +1 -1
  933. package/es/UNSAFE_Layer.js +1 -1
  934. package/es/UNSAFE_Link.css +5 -5
  935. package/es/UNSAFE_Link.js +6 -6
  936. package/es/UNSAFE_Link.js.map +1 -1
  937. package/es/UNSAFE_ListItemLayout.css +9 -9
  938. package/es/UNSAFE_ListItemLayout.js +16 -16
  939. package/es/UNSAFE_ListItemLayout.js.map +1 -1
  940. package/es/UNSAFE_ListView.js +9 -9
  941. package/es/UNSAFE_LiveRegion.css +1 -1
  942. package/es/UNSAFE_LiveRegion.js +2 -2
  943. package/es/UNSAFE_LoadMoreCollection.js +2 -2
  944. package/es/UNSAFE_Menu.css +23 -23
  945. package/es/UNSAFE_Menu.js +31 -31
  946. package/es/UNSAFE_Menu.js.map +1 -1
  947. package/es/UNSAFE_MessageBanner.js +8 -8
  948. package/es/UNSAFE_MessageToast.css +1 -1
  949. package/es/UNSAFE_MessageToast.js +9 -9
  950. package/es/UNSAFE_MeterBar.css +44 -44
  951. package/es/UNSAFE_MeterBar.js +47 -47
  952. package/es/UNSAFE_MeterBar.js.map +1 -1
  953. package/es/UNSAFE_MeterCircle.css +46 -46
  954. package/es/UNSAFE_MeterCircle.js +49 -49
  955. package/es/UNSAFE_MeterCircle.js.map +1 -1
  956. package/es/UNSAFE_Modal.css +3 -3
  957. package/es/UNSAFE_Modal.js +8 -8
  958. package/es/UNSAFE_NumberInputText.js +8 -8
  959. package/es/UNSAFE_PrefixSuffix.css +8 -8
  960. package/es/UNSAFE_PrefixSuffix.js +9 -9
  961. package/es/UNSAFE_PrefixSuffix.js.map +1 -1
  962. package/es/UNSAFE_ProgressBar.css +6 -6
  963. package/es/UNSAFE_ProgressBar.js +8 -8
  964. package/es/UNSAFE_ProgressBar.js.map +1 -1
  965. package/es/UNSAFE_ProgressCircle.css +6 -6
  966. package/es/UNSAFE_ProgressCircle.js +8 -8
  967. package/es/UNSAFE_ProgressCircle.js.map +1 -1
  968. package/es/UNSAFE_RatingGauge.css +20 -20
  969. package/es/UNSAFE_RatingGauge.js +23 -23
  970. package/es/UNSAFE_RatingGauge.js.map +1 -1
  971. package/es/UNSAFE_SelectMultiple.css +1 -1
  972. package/es/UNSAFE_SelectMultiple.js +10 -10
  973. package/es/UNSAFE_SelectSingle.js +9 -9
  974. package/es/UNSAFE_Selector.css +5 -5
  975. package/es/UNSAFE_Selector.js +13 -13
  976. package/es/UNSAFE_Selector.js.map +1 -1
  977. package/es/UNSAFE_Skeleton.css +1 -1
  978. package/es/UNSAFE_Skeleton.js +7 -7
  979. package/es/UNSAFE_Spacer.js +7 -7
  980. package/es/UNSAFE_SplitMenuButton.css +5 -5
  981. package/es/UNSAFE_SplitMenuButton.js +13 -13
  982. package/es/UNSAFE_SplitMenuButton.js.map +1 -1
  983. package/es/UNSAFE_Subheading.css +8 -8
  984. package/es/UNSAFE_Subheading.js +14 -14
  985. package/es/UNSAFE_Subheading.js.map +1 -1
  986. package/es/UNSAFE_Text.css +25 -25
  987. package/es/UNSAFE_Text.js +31 -31
  988. package/es/UNSAFE_Text.js.map +1 -1
  989. package/es/UNSAFE_TextArea.css +3 -3
  990. package/es/UNSAFE_TextArea.js +11 -11
  991. package/es/UNSAFE_TextArea.js.map +1 -1
  992. package/es/UNSAFE_TextAreaAutosize.js +8 -8
  993. package/es/UNSAFE_TextField.css +58 -58
  994. package/es/UNSAFE_TextField.js +65 -65
  995. package/es/UNSAFE_TextField.js.map +1 -1
  996. package/es/UNSAFE_ThemedIcons.js +3 -3
  997. package/es/UNSAFE_UserAssistance.css +8 -8
  998. package/es/UNSAFE_UserAssistance.js +16 -16
  999. package/es/UNSAFE_UserAssistance.js.map +1 -1
  1000. package/es/UNSAFE_View.js +7 -7
  1001. package/es/UNSAFE_VirtualizedListView.js +9 -9
  1002. package/es/UNSAFE_WindowOverlay.js +1 -1
  1003. package/es/{_curry1-be86fde3.js → _curry1-e7441421.js} +2 -2
  1004. package/es/{_curry1-be86fde3.js.map → _curry1-e7441421.js.map} +1 -1
  1005. package/es/{_curry2-2c3644b9.js → _curry2-b8fd2b44.js} +3 -3
  1006. package/es/{_curry2-2c3644b9.js.map → _curry2-b8fd2b44.js.map} +1 -1
  1007. package/es/{_curry3-a06acc85.js → _curry3-70d01d2d.js} +4 -4
  1008. package/es/{_curry3-a06acc85.js.map → _curry3-70d01d2d.js.map} +1 -1
  1009. package/es/{_has-ab12001b.js → _has-4556d6e5.js} +3 -3
  1010. package/es/{_has-ab12001b.js.map → _has-4556d6e5.js.map} +1 -1
  1011. package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  1012. package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
  1013. package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
  1014. package/es/hooks/PRIVATE_useItemAction.js +1 -1
  1015. package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  1016. package/es/hooks/PRIVATE_useSelection.js +1 -1
  1017. package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
  1018. package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  1019. package/es/hooks/UNSAFE_useActionable.js +1 -1
  1020. package/es/hooks/UNSAFE_useActive.js +1 -1
  1021. package/es/hooks/UNSAFE_useAnimation.js +2 -2
  1022. package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
  1023. package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
  1024. package/es/hooks/UNSAFE_useClearIcon.js +1 -1
  1025. package/es/hooks/UNSAFE_useColorScheme.js +1 -1
  1026. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  1027. package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  1028. package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  1029. package/es/hooks/UNSAFE_useDebounce.js +1 -1
  1030. package/es/hooks/UNSAFE_useFloating.js +2 -2
  1031. package/es/hooks/UNSAFE_useFocus.js +1 -1
  1032. package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
  1033. package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
  1034. package/es/hooks/UNSAFE_useFormContext.js +1 -1
  1035. package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
  1036. package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
  1037. package/es/hooks/UNSAFE_useHover.js +1 -1
  1038. package/es/hooks/UNSAFE_useId.js +1 -1
  1039. package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
  1040. package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  1041. package/es/hooks/UNSAFE_useLongPress.js +1 -1
  1042. package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
  1043. package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
  1044. package/es/hooks/UNSAFE_usePan.js +1 -1
  1045. package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  1046. package/es/hooks/UNSAFE_usePress.js +1 -1
  1047. package/es/hooks/UNSAFE_useScale.js +1 -1
  1048. package/es/hooks/UNSAFE_useSwipe.js +1 -1
  1049. package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
  1050. package/es/hooks/UNSAFE_useTap.js +1 -1
  1051. package/es/hooks/UNSAFE_useTextField.js +1 -1
  1052. package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  1053. package/es/hooks/UNSAFE_useTheme.js +1 -1
  1054. package/es/hooks/UNSAFE_useTimer.js +1 -1
  1055. package/es/hooks/UNSAFE_useToggle.js +1 -1
  1056. package/es/hooks/UNSAFE_useTooltip.css +4 -4
  1057. package/es/hooks/UNSAFE_useTooltip.js +7 -7
  1058. package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
  1059. package/es/hooks/UNSAFE_useTouch.js +1 -1
  1060. package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
  1061. package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
  1062. package/es/hooks/UNSAFE_useUser.js +1 -1
  1063. package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
  1064. package/es/{index-ffca3da2.js → index-92ea6415.js} +2 -2
  1065. package/es/{index-ffca3da2.js.map → index-92ea6415.js.map} +1 -1
  1066. package/es/{keys-55f70933.js → keys-ac066128.js} +4 -4
  1067. package/es/{keys-55f70933.js.map → keys-ac066128.js.map} +1 -1
  1068. package/es/resources/nls/ar/bundle.js +1 -1
  1069. package/es/resources/nls/ar-XB/bundle.js +1 -1
  1070. package/es/resources/nls/bg/bundle.js +1 -1
  1071. package/es/resources/nls/bs/bundle.js +1 -1
  1072. package/es/resources/nls/bs-Cyrl/bundle.js +1 -1
  1073. package/es/resources/nls/bundle.js +1 -1
  1074. package/es/resources/nls/cs/bundle.js +1 -1
  1075. package/es/resources/nls/da/bundle.js +1 -1
  1076. package/es/resources/nls/de/bundle.js +1 -1
  1077. package/es/resources/nls/el/bundle.js +1 -1
  1078. package/es/resources/nls/en/bundle.js +1 -1
  1079. package/es/resources/nls/en-XA/bundle.js +1 -1
  1080. package/es/resources/nls/en-XC/bundle.js +1 -1
  1081. package/es/resources/nls/es/bundle.js +1 -1
  1082. package/es/resources/nls/et/bundle.js +1 -1
  1083. package/es/resources/nls/fi/bundle.js +1 -1
  1084. package/es/resources/nls/fr/bundle.js +1 -1
  1085. package/es/resources/nls/fr-CA/bundle.js +1 -1
  1086. package/es/resources/nls/he/bundle.js +1 -1
  1087. package/es/resources/nls/hr/bundle.js +1 -1
  1088. package/es/resources/nls/hu/bundle.js +1 -1
  1089. package/es/resources/nls/is/bundle.js +1 -1
  1090. package/es/resources/nls/it/bundle.js +1 -1
  1091. package/es/resources/nls/ja/bundle.js +1 -1
  1092. package/es/resources/nls/ko/bundle.js +1 -1
  1093. package/es/resources/nls/lt/bundle.js +1 -1
  1094. package/es/resources/nls/lv/bundle.js +1 -1
  1095. package/es/resources/nls/ms/bundle.js +1 -1
  1096. package/es/resources/nls/nl/bundle.js +1 -1
  1097. package/es/resources/nls/no/bundle.js +1 -1
  1098. package/es/resources/nls/pl/bundle.js +1 -1
  1099. package/es/resources/nls/pt/bundle.js +1 -1
  1100. package/es/resources/nls/pt-PT/bundle.js +1 -1
  1101. package/es/resources/nls/ro/bundle.js +1 -1
  1102. package/es/resources/nls/ru/bundle.js +1 -1
  1103. package/es/resources/nls/sk/bundle.js +1 -1
  1104. package/es/resources/nls/sl/bundle.js +1 -1
  1105. package/es/resources/nls/sr/bundle.js +1 -1
  1106. package/es/resources/nls/sr-Latn/bundle.js +1 -1
  1107. package/es/resources/nls/supportedLocales.js +1 -1
  1108. package/es/resources/nls/sv/bundle.js +1 -1
  1109. package/es/resources/nls/th/bundle.js +1 -1
  1110. package/es/resources/nls/tr/bundle.js +1 -1
  1111. package/es/resources/nls/uk/bundle.js +1 -1
  1112. package/es/resources/nls/vi/bundle.js +1 -1
  1113. package/es/resources/nls/zh-Hans/bundle.js +1 -1
  1114. package/es/resources/nls/zh-Hant/bundle.js +1 -1
  1115. package/es/translationBundle.js +1 -1
  1116. package/es/{tslib.es6-c822dcaf.js → tslib.es6-7f3f0941.js} +2 -2
  1117. package/es/{tslib.es6-c822dcaf.js.map → tslib.es6-7f3f0941.js.map} +1 -1
  1118. package/es/{useModal-ef9f23b8.js → useModal-b58bbb15.js} +2 -2
  1119. package/es/{useModal-ef9f23b8.js.map → useModal-b58bbb15.js.map} +1 -1
  1120. package/es/{useSingleSelection-407604a7.js → useSingleSelection-24cde7db.js} +2 -2
  1121. package/es/{useSingleSelection-407604a7.js.map → useSingleSelection-24cde7db.js.map} +1 -1
  1122. package/es/utils/PRIVATE_clientHints.js +1 -1
  1123. package/es/utils/PRIVATE_collectionUtils.js +1 -1
  1124. package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
  1125. package/es/utils/PRIVATE_floatingUtils.js +1 -1
  1126. package/es/utils/PRIVATE_meterUtils.js +1 -1
  1127. package/es/utils/PRIVATE_refUtils.js +1 -1
  1128. package/es/utils/PRIVATE_tabbableUtils.js +4 -4
  1129. package/es/utils/PRIVATE_timer.js +1 -1
  1130. package/es/utils/UNSAFE_arrayUtils.js +1 -1
  1131. package/es/utils/UNSAFE_attributeUtils.js +1 -1
  1132. package/es/utils/UNSAFE_classNames.js +1 -1
  1133. package/es/utils/UNSAFE_componentUtils.js +1 -1
  1134. package/es/utils/UNSAFE_dataProvider.js +1 -1
  1135. package/es/utils/UNSAFE_dvtCommonUtils.js +1 -1
  1136. package/es/utils/UNSAFE_filePickerUtils.js +1 -1
  1137. package/es/utils/UNSAFE_getLocale.js +1 -1
  1138. package/es/utils/UNSAFE_interpolations/aria.js +1 -1
  1139. package/es/utils/UNSAFE_interpolations/borders.js +1 -1
  1140. package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  1141. package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  1142. package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  1143. package/es/utils/UNSAFE_interpolations/colors.js +1 -1
  1144. package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
  1145. package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
  1146. package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
  1147. package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
  1148. package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
  1149. package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
  1150. package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
  1151. package/es/utils/UNSAFE_interpolations/grid.js +1 -1
  1152. package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
  1153. package/es/utils/UNSAFE_interpolations/padding.js +1 -1
  1154. package/es/utils/UNSAFE_interpolations/text.css +3 -3
  1155. package/es/utils/UNSAFE_interpolations/text.js +7 -7
  1156. package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
  1157. package/es/utils/UNSAFE_keys.js +1 -1
  1158. package/es/utils/UNSAFE_lengthFilter.js +1 -1
  1159. package/es/utils/UNSAFE_logger.js +3 -3
  1160. package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
  1161. package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
  1162. package/es/utils/UNSAFE_mergeProps.js +1 -1
  1163. package/es/utils/UNSAFE_meterTypes.js +1 -1
  1164. package/es/utils/UNSAFE_roles.js +1 -1
  1165. package/es/utils/UNSAFE_selectUtils.js +1 -1
  1166. package/es/utils/UNSAFE_size.js +1 -1
  1167. package/es/utils/UNSAFE_soundUtils.js +1 -1
  1168. package/es/utils/UNSAFE_stringUtils.js +1 -1
  1169. package/es/utils/UNSAFE_typeUtils.js +1 -1
  1170. package/es/utils/UNSAFE_units.js +1 -1
  1171. package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
  1172. package/package.json +1 -1
  1173. package/amd/Badge-3c1f7f8b.js +0 -2
  1174. package/amd/BaseButton-0f25e403.js +0 -2
  1175. package/amd/Button-315621e2.js +0 -2
  1176. package/amd/Chip-69627ba2.js +0 -2
  1177. package/amd/ClearIcon-a009d82d.js +0 -2
  1178. package/amd/ComponentMessage-b39def70.js +0 -2
  1179. package/amd/Divider-139aab12.js +0 -2
  1180. package/amd/Flex-49ae9d40.js +0 -2
  1181. package/amd/FocusTrap-36eb14b3.js +0 -2
  1182. package/amd/FormControlUtils-9dc2f278.js +0 -2
  1183. package/amd/Heading-1940acfa.js +0 -2
  1184. package/amd/Icon-09d9aaef.js +0 -2
  1185. package/amd/Indexer-0d377bbe.js +0 -2
  1186. package/amd/InlineHelpSource-ee7d0235.js +0 -2
  1187. package/amd/Link-60e402da.js +0 -2
  1188. package/amd/List-60513105.js +0 -2
  1189. package/amd/ListItemTextLayout-a6d9f3f9.js +0 -2
  1190. package/amd/Menu-dc7eb813.js +0 -2
  1191. package/amd/MenuDivider-0746142f.js +0 -2
  1192. package/amd/MenuItem-558c427d.js +0 -2
  1193. package/amd/MessageCloseButton-9115578a.js +0 -2
  1194. package/amd/MessageDetail-bca5d0e6.js +0 -2
  1195. package/amd/MessageLayer-6345dea9.js +0 -2
  1196. package/amd/MessageStartIcon-a7b50582.js +0 -2
  1197. package/amd/MessageSummary-8871a900.js +0 -2
  1198. package/amd/MessageTimestamp-0b535a61.js +0 -2
  1199. package/amd/MessageToast-973879f6.js +0 -2
  1200. package/amd/MeterCircle-99d0ae85.js +0 -2
  1201. package/amd/Modal-4ef84a44.js +0 -2
  1202. package/amd/ReadonlyTextFieldInput-2ff54b4e.js +0 -2
  1203. package/amd/SelectMenuItem-70865f13.js +0 -2
  1204. package/amd/Skeleton-13c57283.js +0 -2
  1205. package/amd/SplitMenuButton-34bda460.js +0 -2
  1206. package/amd/Subheading-53920c82.js +0 -2
  1207. package/amd/Text-dd98aad8.js +0 -2
  1208. package/amd/TextArea-f5ceacdf.js +0 -2
  1209. package/amd/TextFieldInput-e8475857.js +0 -2
  1210. package/amd/_curry2-b282d372.js +0 -2
  1211. package/amd/_has-d6e072c4.js +0 -2
  1212. package/amd/flexbox-af3b62ca.js +0 -2
  1213. package/amd/flexitem-7f1eca3f.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInputText-8ae0414b.js","sources":["../../src/UNSAFE_NumberInputText/StepButton.tsx","../../src/UNSAFE_NumberInputText/Steppers.tsx","../../src/UNSAFE_NumberInputText/useSteppers.tsx","../../src/UNSAFE_NumberInputText/NumberInputText.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { Button } from '../UNSAFE_Button';\nimport { BundleType } from '../resources/nls/bundle';\nimport { IcoChevronDown, IcoChevronUp } from '../UNSAFE_Icons';\nimport { StepDirection, StepEvent } from './useSteppers';\nimport { TabbableModeContext } from '../hooks/UNSAFE_useTabbableMode';\nimport { useCallback } from 'preact/hooks';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\n\ntype Props = {\n /**\n * The direction of the step.\n */\n direction: StepDirection;\n\n /**\n * Whether the button is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Called when a step request is made by clicking the button.\n */\n onStep?: (event: StepEvent) => void;\n\n /**\n * Variants representing different icons for the button.\n */\n variant: 'arrowup' | 'arrowdown';\n};\n\n/**\n * A StepButton is used to request a \"step up\" or \"step down\" to a value in NumberInputText.\n * @param direction The direction of the step\n * @param isDisabled Whether the button should be disabled\n * @param onStep Handler called when the button is clicked\n * @param variant Represents different visual variants for the button\n */\nexport function StepButton({ direction, isDisabled, onStep, variant }: Props) {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const labelIncrease = translations.inputNumber_increase();\n const labelDecrease = translations.inputNumber_decrease();\n const label = direction === 'increase' ? labelIncrease : labelDecrease;\n\n const handleClick = useCallback(() => {\n onStep?.({ direction });\n }, [onStep, direction]);\n\n const icon = variant === 'arrowup' ? <IcoChevronUp /> : <IcoChevronDown />;\n\n return (\n <TabbableModeContext.Provider value={{ isTabbable: false }}>\n <Button\n display=\"icons\"\n isDisabled={isDisabled}\n title={label}\n onAction={handleClick}\n startIcon={icon}\n variant=\"borderless\"></Button>\n </TabbableModeContext.Provider>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentChildren } from 'preact';\nimport { Grid } from '../UNSAFE_Grid';\n\nexport type Props = {\n /**\n *The children are StepButtons.\n */\n children: ComponentChildren;\n};\n\n// TODO: Replace Steppers with Buttonset when it becomes available\nexport function Steppers({ children }: Props) {\n return (\n <Grid align=\"center\" gap=\"1x\" gridTemplateColumns=\"1fr 1fr\">\n {children}\n </Grid>\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 { Ref, useCallback, useEffect, useRef } from 'preact/hooks';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { StepButton } from './StepButton';\nimport { Steppers } from './Steppers';\n\nconst SPIN_DELAY = 500;\nconst SPIN_INTERVAL = 40;\n\nexport type StepDirection = 'increase' | 'decrease';\n\nexport type StepEvent = {\n /**\n * The direction of the requested step.\n */\n direction: StepDirection;\n};\n\ntype Props = {\n /**\n * Controls whether the step buttons are shown.\n */\n hasSteppers?: boolean;\n\n /**\n * A ref to the input element.\n */\n inputRef: Ref<HTMLInputElement>;\n\n /**\n * Controls whether the step down button is disabled.\n */\n isStepDownDisabled?: boolean;\n\n /**\n * Controls whether the step up button is disabled.\n */\n isStepUpDisabled?: boolean;\n\n /**\n * Called when a continuous step is requested (aka \"spin\")\n * by holding down the arrow up or arrow down keys, or\n * by pressing and holding down a step button.\n */\n onSpin?: (event: StepEvent) => void;\n\n /**\n * Called when spinning is complete and the user has\n * released the arrow key or step button.\n */\n onSpinComplete?: () => void;\n\n /**\n * Called when a single step is requested by clicking a step button\n * or by pressing the arrow up or arrow down keys.\n */\n onStep?: (event: StepEvent) => void;\n};\n\n/**\n * A hook for using stepping functionality with NumberInputText. Stepping can\n * be accomplished using the step up or down buttons or by pressing the arrow\n * up or arrow down keys. Holding down the buttons or keys produces continuous\n * step events.\n *\n * @param hasSteppers Controls whether the step buttons are shown\n * @param inputRef A ref to the input element\n * @param isStepDownDisabled Controls whether stepping down is disabled\n * @param isStepUpDisabled Controls whether stepping up is disabled\n * @param onSpin Called when a continuous step (aka spin) is requested\n * @param onSpinComplete Called when spinning is complete\n * @param onStep Called when a single step is requested\n * @returns A JSX element which can be placed in the endContent of NumberInputText.\n */\nexport const useSteppers = ({\n hasSteppers,\n inputRef,\n isStepDownDisabled,\n isStepUpDisabled,\n onSpin,\n onSpinComplete,\n onStep\n}: Props) => {\n const { bool: isStarted, setTrue: setStartedTrue, setFalse: setStartedFalse } = useToggle(false);\n const {\n bool: isSpinning,\n setTrue: setSpinningTrue,\n setFalse: setSpinningFalse\n } = useToggle(false);\n const startTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const spinTimerRef = useRef<ReturnType<typeof setInterval> | null>(null);\n const directionRef = useRef<StepDirection>('increase');\n const spinCompleteRef = useRef(false);\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (!(event.key === 'ArrowDown' || event.key === 'ArrowUp')) {\n return;\n }\n // By default, pressing the arrow keys moves the cursor to the\n // beginning or end which we don't want, so call preventDefault.\n // We also want to stop propagation of handled events.\n event.preventDefault();\n event.stopPropagation();\n\n if (isStarted) {\n // If already started, ignore repeated key down events.\n return;\n }\n if (\n (event.key === 'ArrowDown' && isStepDownDisabled) ||\n (event.key === 'ArrowUp' && isStepUpDisabled)\n ) {\n // If requested step is disabled, return.\n return;\n }\n directionRef.current = event.key === 'ArrowDown' ? 'decrease' : 'increase';\n setStartedTrue();\n // Do an initial step, which is what oj-input-number did as well.\n onStep?.({ direction: directionRef.current });\n },\n [isStarted, onStep, isStepDownDisabled, isStepUpDisabled, setStartedTrue]\n );\n\n const onKeyUp = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n if (isSpinning) {\n // Only want to call onSpinComplete if we were actually spinning.\n spinCompleteRef.current = true;\n }\n setStartedFalse();\n setSpinningFalse();\n event.stopPropagation();\n }\n },\n [isSpinning, setStartedFalse, setSpinningFalse]\n );\n\n useEffect(() => {\n if (isStarted && !startTimerRef.current) {\n startTimerRef.current = setTimeout(() => {\n setSpinningTrue();\n }, SPIN_DELAY);\n }\n return () => {\n // Clean up between renders.\n if (startTimerRef.current) {\n clearTimeout(startTimerRef.current);\n startTimerRef.current = null;\n }\n };\n }, [isStarted, setSpinningTrue]);\n\n useEffect(() => {\n if (!isSpinning) {\n if (spinTimerRef.current) {\n clearInterval(spinTimerRef.current);\n spinTimerRef.current = null;\n }\n } else {\n if (!spinTimerRef.current) {\n spinTimerRef.current = setInterval(() => {\n // If further spinning is disabled, call setSpinningFalse to\n // clean up the timer otherwise repeat the step.\n if (\n (directionRef.current === 'increase' && isStepUpDisabled) ||\n (directionRef.current === 'decrease' && isStepDownDisabled)\n ) {\n setSpinningFalse();\n spinCompleteRef.current = true;\n } else {\n onSpin?.({ direction: directionRef.current });\n }\n }, SPIN_INTERVAL);\n }\n }\n return () => {\n // Clean up between renders.\n if (spinTimerRef.current) {\n clearInterval(spinTimerRef.current);\n spinTimerRef.current = null;\n }\n };\n }, [isSpinning, isStepDownDisabled, isStepUpDisabled, onSpin, setSpinningFalse]);\n\n // Only want to run this effect when isSpinning is false and our ref is true.\n // This helps guarantee onSpinComplete is only called once after spinning stops,\n // even if onSpinComplete's identity is changing.\n useEffect(() => {\n if (!isSpinning && spinCompleteRef.current) {\n spinCompleteRef.current = false;\n onSpinComplete?.();\n }\n }, [isSpinning, onSpinComplete]);\n\n const handleClick = useCallback(\n (event: StepEvent) => {\n // When a step button is clicked, set focus to the input.\n inputRef.current?.focus();\n onStep?.(event);\n },\n [onStep, inputRef]\n );\n\n const handleDisabledMouseDown = useCallback((event: Event) => {\n // Using preventDefault prevents focus from moving to the body when a disabled stepper is clicked.\n // FIXME: can we handle this use case more generally at the startContent/endContent level in TextFieldContent?\n event.preventDefault();\n event.stopPropagation();\n }, []);\n\n const steppers = hasSteppers ? (\n <Steppers>\n <div onMouseDown={(e) => isStepDownDisabled && handleDisabledMouseDown(e)} aria-hidden=\"true\">\n <StepButton\n direction=\"decrease\"\n isDisabled={isStepDownDisabled}\n onStep={handleClick}\n variant=\"arrowdown\"\n />\n </div>\n\n <div onMouseDown={(e) => isStepUpDisabled && handleDisabledMouseDown(e)} aria-hidden=\"true\">\n <StepButton\n direction=\"increase\"\n isDisabled={isStepUpDisabled}\n onStep={handleClick}\n variant=\"arrowup\"\n />\n </div>\n </Steppers>\n ) : undefined;\n\n // stepHandlerProps will be spread onto the parent to handle\n // stepping functionality via the arrow up or down keys.\n const stepHandlerProps = hasSteppers ? { onKeyDown, onKeyUp } : {};\n\n return { steppers, stepHandlerProps };\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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { Label } from '../UNSAFE_Label';\nimport { usePrefixSuffix } from '../hooks/UNSAFE_usePrefixSuffix';\n\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\nimport { Size } from '../utils/UNSAFE_size';\nimport { StepEvent, useSteppers } from './useSteppers';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\n\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype NumberInputTextProps = {\n /**\n * Controls whether the step buttons are shown.\n */\n hasSteppers?: boolean;\n\n /**\n * Controls whether the step down button is disabled.\n */\n isStepDownDisabled?: boolean;\n\n /**\n * Controls whether the step up button is disabled.\n */\n isStepUpDisabled?: boolean;\n\n /**\n * Called when a continuous step is requested (aka \"spin\")\n * by holding down the arrow up or arrow down keys, or\n * by pressing and holding down a step button.\n */\n onSpin?: (event: StepEvent) => void;\n\n /**\n * Called when spinning is complete and the user has\n * released the arrow key or step button.\n */\n onSpinComplete?: () => void;\n\n /**\n * Called when a step is requested by clicking a step button\n * or by pressing the arrow up or arrow down keys.\n */\n onStep?: (event: StepEvent) => void;\n};\n\ntype Props = NumberInputTextProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n ariaDescribedBy?: TextFieldInputProps['ariaDescribedBy'];\n\n /**\n * The maximum allowed value. Used for the aria-valuemax attribute.\n */\n ariaValueMax?: TextFieldInputProps['ariaValueMax'];\n\n /**\n * The minimum allowed value. Used for the aria-valuemin attribute.\n */\n ariaValueMin?: TextFieldInputProps['ariaValueMin'];\n\n /**\n * The number value of the component. Used for the aria-valuenow attribute.\n */\n ariaValueNow?: TextFieldInputProps['ariaValueNow'];\n\n /**\n * The formatted value of the component. Used for the aria-valueText\n * attribute to provide a more human readable text alternative for\n * ariaValueNow.\n */\n ariaValueText?: TextFieldInputProps['ariaValueText'];\n\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component: it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>.\n */\n labelStartWidth?: Size;\n\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n\n /**\n * The prefix displays as regular text before the input text, and inline with it.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * The suffix displays as regular text after the input text, and inline with it.\n * The suffix is not editable or focusable.\n */\n suffix?: string;\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: InlineUserAssistanceProps['userAssistanceDensity'];\n\n /**\n * The current possibly formatted display value of the component.\n */\n value?: TextFieldInputProps['value'];\n\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n\n /**\n * The type of virtual keyboard to display for entering a value on mobile browsers.\n * This property has no effect on desktop browsers.\n */\n virtualKeyboard?: 'auto' | 'number' | 'text';\n\n /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked each time the user changes the value of the field. For example, if the user\n * types 'abcd', this callback will be called four times with the value as 'a', 'ab', 'abc' and 'abcd'\n * respectively.\n */\n onInput: TextFieldInputProps['onInput'];\n};\n\nexport const NumberInputText = forwardRef(\n (\n {\n ariaDescribedBy,\n ariaValueMax,\n ariaValueMin,\n ariaValueNow,\n ariaValueText,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n isStepDownDisabled: propIsStepDownDisabled,\n isStepUpDisabled: propIsStepUpDisabled,\n hasSteppers = false,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\n prefix,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\n onInput,\n onCommit,\n onSpin,\n onSpinComplete,\n onStep\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLDivElement\n >({ isDisabled, isReadonly, ref });\n const { hoverProps } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Disable the steppers if the number input is disabled.\n const isStepDownDisabled = isDisabled || propIsStepDownDisabled;\n const isStepUpDisabled = isDisabled || propIsStepUpDisabled;\n // stepHandlerProps contains keyup and keydown handlers\n // for stepping using the arrow up and down keys.\n const { steppers, stepHandlerProps } = useSteppers({\n hasSteppers,\n inputRef: enabledElementRef,\n isStepDownDisabled,\n isStepUpDisabled,\n onSpin,\n onSpinComplete,\n onStep\n });\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: steppers !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: false,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\n value\n });\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n\n const inlineUserAssistance =\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"div\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={valuePrefixSuffix}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n // If ariaValueText is the same as ariaValueNow.toString, no need to show it.\n const valueText =\n ariaValueNow === undefined\n ? ariaValueText\n : ariaValueNow.toString() !== ariaValueText\n ? ariaValueText\n : undefined;\n\n const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n ariaValueMax={ariaValueMax}\n ariaValueMin={ariaValueMin}\n ariaValueNow={ariaValueNow}\n ariaValueText={valueText}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={steppers !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={false}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={hasSteppers ? 'spinbutton' : undefined}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onInputAndDispatch}\n {...inputProps}\n {...stepHandlerProps}\n />\n {renderedSuffix}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={steppers}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n\n/**\n * Helper function to determine whether the current device is a mobile device\n * @returns true if runnning on a mobile device, false otherwise\n */\nfunction isMobile() {\n const deviceType = getClientHints().deviceType;\n return deviceType === 'phone' || deviceType === 'tablet';\n}\n"],"names":["StepButton","direction","isDisabled","onStep","variant","translations","useTranslationBundle","labelIncrease","inputNumber_increase","labelDecrease","inputNumber_decrease","label","handleClick","useCallback","icon","_jsx","IcoChevronUp","jsx","IcoChevronDown","TabbableModeContext","Provider","Object","assign","value","isTabbable","children","Button","display","title","onAction","startIcon","Steppers","Grid","align","gap","gridTemplateColumns","NumberInputText","forwardRef","ariaDescribedBy","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","assistiveText","autoComplete","autoFocus","helpSourceLink","helpSourceText","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","isStepDownDisabled","propIsStepDownDisabled","isStepUpDisabled","propIsStepUpDisabled","hasSteppers","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","prefix","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","virtualKeyboard","onInput","onCommit","onSpin","onSpinComplete","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","steppers","stepHandlerProps","inputRef","bool","isStarted","setTrue","setStartedTrue","setFalse","setStartedFalse","useToggle","isSpinning","setSpinningTrue","setSpinningFalse","startTimerRef","useRef","spinTimerRef","directionRef","spinCompleteRef","onKeyDown","event","key","preventDefault","stopPropagation","current","onKeyUp","useEffect","setTimeout","clearTimeout","setInterval","clearInterval","_a","focus","handleDisabledMouseDown","_jsxs","onMouseDown","e","undefined","useSteppers","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","hasInsideLabel","hasStartContent","hasValue","labelId","id","labelComp","Label","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","FormFieldContext","ReadonlyTextField","role","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","valueText","toString","mainContent","Fragment","TextFieldInput","hasPrefix","hasSuffix","isMobile","TextField","endContent","deviceType","getClientHints"],"mappings":"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"}
1
+ {"version":3,"file":"NumberInputText-33d397cf.js","sources":["../../src/UNSAFE_NumberInputText/StepButton.tsx","../../src/UNSAFE_NumberInputText/Steppers.tsx","../../src/UNSAFE_NumberInputText/useSteppers.tsx","../../src/UNSAFE_NumberInputText/NumberInputText.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { Button } from '../UNSAFE_Button';\nimport { BundleType } from '../resources/nls/bundle';\nimport { IcoChevronDown, IcoChevronUp } from '../UNSAFE_Icons';\nimport { StepDirection, StepEvent } from './useSteppers';\nimport { TabbableModeContext } from '../hooks/UNSAFE_useTabbableMode';\nimport { useCallback } from 'preact/hooks';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\n\ntype Props = {\n /**\n * The direction of the step.\n */\n direction: StepDirection;\n\n /**\n * Whether the button is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Called when a step request is made by clicking the button.\n */\n onStep?: (event: StepEvent) => void;\n\n /**\n * Variants representing different icons for the button.\n */\n variant: 'arrowup' | 'arrowdown';\n};\n\n/**\n * A StepButton is used to request a \"step up\" or \"step down\" to a value in NumberInputText.\n * @param direction The direction of the step\n * @param isDisabled Whether the button should be disabled\n * @param onStep Handler called when the button is clicked\n * @param variant Represents different visual variants for the button\n */\nexport function StepButton({ direction, isDisabled, onStep, variant }: Props) {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const labelIncrease = translations.inputNumber_increase();\n const labelDecrease = translations.inputNumber_decrease();\n const label = direction === 'increase' ? labelIncrease : labelDecrease;\n\n const handleClick = useCallback(() => {\n onStep?.({ direction });\n }, [onStep, direction]);\n\n const icon = variant === 'arrowup' ? <IcoChevronUp /> : <IcoChevronDown />;\n\n return (\n <TabbableModeContext.Provider value={{ isTabbable: false }}>\n <Button\n display=\"icons\"\n isDisabled={isDisabled}\n title={label}\n onAction={handleClick}\n startIcon={icon}\n variant=\"borderless\"></Button>\n </TabbableModeContext.Provider>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentChildren } from 'preact';\nimport { Grid } from '../UNSAFE_Grid';\n\nexport type Props = {\n /**\n *The children are StepButtons.\n */\n children: ComponentChildren;\n};\n\n// TODO: Replace Steppers with Buttonset when it becomes available\nexport function Steppers({ children }: Props) {\n return (\n <Grid align=\"center\" gap=\"1x\" gridTemplateColumns=\"1fr 1fr\">\n {children}\n </Grid>\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 { Ref, useCallback, useEffect, useRef } from 'preact/hooks';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { StepButton } from './StepButton';\nimport { Steppers } from './Steppers';\n\nconst SPIN_DELAY = 500;\nconst SPIN_INTERVAL = 40;\n\nexport type StepDirection = 'increase' | 'decrease';\n\nexport type StepEvent = {\n /**\n * The direction of the requested step.\n */\n direction: StepDirection;\n};\n\ntype Props = {\n /**\n * Controls whether the step buttons are shown.\n */\n hasSteppers?: boolean;\n\n /**\n * A ref to the input element.\n */\n inputRef: Ref<HTMLInputElement>;\n\n /**\n * Controls whether the step down button is disabled.\n */\n isStepDownDisabled?: boolean;\n\n /**\n * Controls whether the step up button is disabled.\n */\n isStepUpDisabled?: boolean;\n\n /**\n * Called when a continuous step is requested (aka \"spin\")\n * by holding down the arrow up or arrow down keys, or\n * by pressing and holding down a step button.\n */\n onSpin?: (event: StepEvent) => void;\n\n /**\n * Called when spinning is complete and the user has\n * released the arrow key or step button.\n */\n onSpinComplete?: () => void;\n\n /**\n * Called when a single step is requested by clicking a step button\n * or by pressing the arrow up or arrow down keys.\n */\n onStep?: (event: StepEvent) => void;\n};\n\n/**\n * A hook for using stepping functionality with NumberInputText. Stepping can\n * be accomplished using the step up or down buttons or by pressing the arrow\n * up or arrow down keys. Holding down the buttons or keys produces continuous\n * step events.\n *\n * @param hasSteppers Controls whether the step buttons are shown\n * @param inputRef A ref to the input element\n * @param isStepDownDisabled Controls whether stepping down is disabled\n * @param isStepUpDisabled Controls whether stepping up is disabled\n * @param onSpin Called when a continuous step (aka spin) is requested\n * @param onSpinComplete Called when spinning is complete\n * @param onStep Called when a single step is requested\n * @returns A JSX element which can be placed in the endContent of NumberInputText.\n */\nexport const useSteppers = ({\n hasSteppers,\n inputRef,\n isStepDownDisabled,\n isStepUpDisabled,\n onSpin,\n onSpinComplete,\n onStep\n}: Props) => {\n const { bool: isStarted, setTrue: setStartedTrue, setFalse: setStartedFalse } = useToggle(false);\n const {\n bool: isSpinning,\n setTrue: setSpinningTrue,\n setFalse: setSpinningFalse\n } = useToggle(false);\n const startTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const spinTimerRef = useRef<ReturnType<typeof setInterval> | null>(null);\n const directionRef = useRef<StepDirection>('increase');\n const spinCompleteRef = useRef(false);\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (!(event.key === 'ArrowDown' || event.key === 'ArrowUp')) {\n return;\n }\n // By default, pressing the arrow keys moves the cursor to the\n // beginning or end which we don't want, so call preventDefault.\n // We also want to stop propagation of handled events.\n event.preventDefault();\n event.stopPropagation();\n\n if (isStarted) {\n // If already started, ignore repeated key down events.\n return;\n }\n if (\n (event.key === 'ArrowDown' && isStepDownDisabled) ||\n (event.key === 'ArrowUp' && isStepUpDisabled)\n ) {\n // If requested step is disabled, return.\n return;\n }\n directionRef.current = event.key === 'ArrowDown' ? 'decrease' : 'increase';\n setStartedTrue();\n // Do an initial step, which is what oj-input-number did as well.\n onStep?.({ direction: directionRef.current });\n },\n [isStarted, onStep, isStepDownDisabled, isStepUpDisabled, setStartedTrue]\n );\n\n const onKeyUp = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n if (isSpinning) {\n // Only want to call onSpinComplete if we were actually spinning.\n spinCompleteRef.current = true;\n }\n setStartedFalse();\n setSpinningFalse();\n event.stopPropagation();\n }\n },\n [isSpinning, setStartedFalse, setSpinningFalse]\n );\n\n useEffect(() => {\n if (isStarted && !startTimerRef.current) {\n startTimerRef.current = setTimeout(() => {\n setSpinningTrue();\n }, SPIN_DELAY);\n }\n return () => {\n // Clean up between renders.\n if (startTimerRef.current) {\n clearTimeout(startTimerRef.current);\n startTimerRef.current = null;\n }\n };\n }, [isStarted, setSpinningTrue]);\n\n useEffect(() => {\n if (!isSpinning) {\n if (spinTimerRef.current) {\n clearInterval(spinTimerRef.current);\n spinTimerRef.current = null;\n }\n } else {\n if (!spinTimerRef.current) {\n spinTimerRef.current = setInterval(() => {\n // If further spinning is disabled, call setSpinningFalse to\n // clean up the timer otherwise repeat the step.\n if (\n (directionRef.current === 'increase' && isStepUpDisabled) ||\n (directionRef.current === 'decrease' && isStepDownDisabled)\n ) {\n setSpinningFalse();\n spinCompleteRef.current = true;\n } else {\n onSpin?.({ direction: directionRef.current });\n }\n }, SPIN_INTERVAL);\n }\n }\n return () => {\n // Clean up between renders.\n if (spinTimerRef.current) {\n clearInterval(spinTimerRef.current);\n spinTimerRef.current = null;\n }\n };\n }, [isSpinning, isStepDownDisabled, isStepUpDisabled, onSpin, setSpinningFalse]);\n\n // Only want to run this effect when isSpinning is false and our ref is true.\n // This helps guarantee onSpinComplete is only called once after spinning stops,\n // even if onSpinComplete's identity is changing.\n useEffect(() => {\n if (!isSpinning && spinCompleteRef.current) {\n spinCompleteRef.current = false;\n onSpinComplete?.();\n }\n }, [isSpinning, onSpinComplete]);\n\n const handleClick = useCallback(\n (event: StepEvent) => {\n // When a step button is clicked, set focus to the input.\n inputRef.current?.focus();\n onStep?.(event);\n },\n [onStep, inputRef]\n );\n\n const handleDisabledMouseDown = useCallback((event: Event) => {\n // Using preventDefault prevents focus from moving to the body when a disabled stepper is clicked.\n // FIXME: can we handle this use case more generally at the startContent/endContent level in TextFieldContent?\n event.preventDefault();\n event.stopPropagation();\n }, []);\n\n const steppers = hasSteppers ? (\n <Steppers>\n <div onMouseDown={(e) => isStepDownDisabled && handleDisabledMouseDown(e)} aria-hidden=\"true\">\n <StepButton\n direction=\"decrease\"\n isDisabled={isStepDownDisabled}\n onStep={handleClick}\n variant=\"arrowdown\"\n />\n </div>\n\n <div onMouseDown={(e) => isStepUpDisabled && handleDisabledMouseDown(e)} aria-hidden=\"true\">\n <StepButton\n direction=\"increase\"\n isDisabled={isStepUpDisabled}\n onStep={handleClick}\n variant=\"arrowup\"\n />\n </div>\n </Steppers>\n ) : undefined;\n\n // stepHandlerProps will be spread onto the parent to handle\n // stepping functionality via the arrow up or down keys.\n const stepHandlerProps = hasSteppers ? { onKeyDown, onKeyUp } : {};\n\n return { steppers, stepHandlerProps };\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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { Label } from '../UNSAFE_Label';\nimport { usePrefixSuffix } from '../hooks/UNSAFE_usePrefixSuffix';\n\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\nimport { Size } from '../utils/UNSAFE_size';\nimport { StepEvent, useSteppers } from './useSteppers';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\n\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype NumberInputTextProps = {\n /**\n * Controls whether the step buttons are shown.\n */\n hasSteppers?: boolean;\n\n /**\n * Controls whether the step down button is disabled.\n */\n isStepDownDisabled?: boolean;\n\n /**\n * Controls whether the step up button is disabled.\n */\n isStepUpDisabled?: boolean;\n\n /**\n * Called when a continuous step is requested (aka \"spin\")\n * by holding down the arrow up or arrow down keys, or\n * by pressing and holding down a step button.\n */\n onSpin?: (event: StepEvent) => void;\n\n /**\n * Called when spinning is complete and the user has\n * released the arrow key or step button.\n */\n onSpinComplete?: () => void;\n\n /**\n * Called when a step is requested by clicking a step button\n * or by pressing the arrow up or arrow down keys.\n */\n onStep?: (event: StepEvent) => void;\n};\n\ntype Props = NumberInputTextProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n ariaDescribedBy?: TextFieldInputProps['ariaDescribedBy'];\n\n /**\n * The maximum allowed value. Used for the aria-valuemax attribute.\n */\n ariaValueMax?: TextFieldInputProps['ariaValueMax'];\n\n /**\n * The minimum allowed value. Used for the aria-valuemin attribute.\n */\n ariaValueMin?: TextFieldInputProps['ariaValueMin'];\n\n /**\n * The number value of the component. Used for the aria-valuenow attribute.\n */\n ariaValueNow?: TextFieldInputProps['ariaValueNow'];\n\n /**\n * The formatted value of the component. Used for the aria-valueText\n * attribute to provide a more human readable text alternative for\n * ariaValueNow.\n */\n ariaValueText?: TextFieldInputProps['ariaValueText'];\n\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component: it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>.\n */\n labelStartWidth?: Size;\n\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n\n /**\n * The prefix displays as regular text before the input text, and inline with it.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * The suffix displays as regular text after the input text, and inline with it.\n * The suffix is not editable or focusable.\n */\n suffix?: string;\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: InlineUserAssistanceProps['userAssistanceDensity'];\n\n /**\n * The current possibly formatted display value of the component.\n */\n value?: TextFieldInputProps['value'];\n\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n\n /**\n * The type of virtual keyboard to display for entering a value on mobile browsers.\n * This property has no effect on desktop browsers.\n */\n virtualKeyboard?: 'auto' | 'number' | 'text';\n\n /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked each time the user changes the value of the field. For example, if the user\n * types 'abcd', this callback will be called four times with the value as 'a', 'ab', 'abc' and 'abcd'\n * respectively.\n */\n onInput: TextFieldInputProps['onInput'];\n};\n\nexport const NumberInputText = forwardRef(\n (\n {\n ariaDescribedBy,\n ariaValueMax,\n ariaValueMin,\n ariaValueNow,\n ariaValueText,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n isStepDownDisabled: propIsStepDownDisabled,\n isStepUpDisabled: propIsStepUpDisabled,\n hasSteppers = false,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\n prefix,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\n onInput,\n onCommit,\n onSpin,\n onSpinComplete,\n onStep\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLDivElement\n >({ isDisabled, isReadonly, ref });\n const { hoverProps } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Disable the steppers if the number input is disabled.\n const isStepDownDisabled = isDisabled || propIsStepDownDisabled;\n const isStepUpDisabled = isDisabled || propIsStepUpDisabled;\n // stepHandlerProps contains keyup and keydown handlers\n // for stepping using the arrow up and down keys.\n const { steppers, stepHandlerProps } = useSteppers({\n hasSteppers,\n inputRef: enabledElementRef,\n isStepDownDisabled,\n isStepUpDisabled,\n onSpin,\n onSpinComplete,\n onStep\n });\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: steppers !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: false,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\n value\n });\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n\n const inlineUserAssistance =\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n );\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"div\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={valuePrefixSuffix}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n // If ariaValueText is the same as ariaValueNow.toString, no need to show it.\n const valueText =\n ariaValueNow === undefined\n ? ariaValueText\n : ariaValueNow.toString() !== ariaValueText\n ? ariaValueText\n : undefined;\n\n const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n ariaValueMax={ariaValueMax}\n ariaValueMin={ariaValueMin}\n ariaValueNow={ariaValueNow}\n ariaValueText={valueText}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={steppers !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={false}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={hasSteppers ? 'spinbutton' : undefined}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onInputAndDispatch}\n {...inputProps}\n {...stepHandlerProps}\n />\n {renderedSuffix}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={steppers}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n\n/**\n * Helper function to determine whether the current device is a mobile device\n * @returns true if runnning on a mobile device, false otherwise\n */\nfunction isMobile() {\n const deviceType = getClientHints().deviceType;\n return deviceType === 'phone' || deviceType === 'tablet';\n}\n"],"names":["StepButton","direction","isDisabled","onStep","variant","translations","useTranslationBundle","labelIncrease","inputNumber_increase","labelDecrease","inputNumber_decrease","label","handleClick","useCallback","icon","_jsx","IcoChevronUp","jsx","IcoChevronDown","TabbableModeContext","Provider","Object","assign","value","isTabbable","children","Button","display","title","onAction","startIcon","Steppers","Grid","align","gap","gridTemplateColumns","NumberInputText","forwardRef","ariaDescribedBy","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","assistiveText","autoComplete","autoFocus","helpSourceLink","helpSourceText","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","isStepDownDisabled","propIsStepDownDisabled","isStepUpDisabled","propIsStepUpDisabled","hasSteppers","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","prefix","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","virtualKeyboard","onInput","onCommit","onSpin","onSpinComplete","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","steppers","stepHandlerProps","inputRef","bool","isStarted","setTrue","setStartedTrue","setFalse","setStartedFalse","useToggle","isSpinning","setSpinningTrue","setSpinningFalse","startTimerRef","useRef","spinTimerRef","directionRef","spinCompleteRef","onKeyDown","event","key","preventDefault","stopPropagation","current","onKeyUp","useEffect","setTimeout","clearTimeout","setInterval","clearInterval","_a","focus","handleDisabledMouseDown","_jsxs","onMouseDown","e","undefined","useSteppers","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","hasInsideLabel","hasStartContent","hasValue","labelId","id","labelComp","Label","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","FormFieldContext","ReadonlyTextField","role","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","valueText","toString","mainContent","Fragment","TextFieldInput","hasPrefix","hasSuffix","isMobile","TextField","endContent","deviceType","getClientHints"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../Collection-d3ef1b6f","preact"],function(e,t,n,i,c){"use strict";describe("Test Collection component",()=>{it("render",async function(){const c=t.render(e.jsx("ul",{children:e.jsx(i.Collection,Object.assign({items:[{id:"e1",name:"Employee 1"},{id:"e2",name:"Employee 2"}]},{children:t=>e.jsx("li",{children:t.data.name})}))})),l=await c.queryAllByText("Employee",{exact:!1});n.expect(l.length).eq(2)})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../Collection-71e6f090","preact"],function(e,t,n,i,c){"use strict";describe("Test Collection component",()=>{it("render",async function(){const c=t.render(e.jsx("ul",{children:e.jsx(i.Collection,Object.assign({items:[{id:"e1",name:"Employee 1"},{id:"e2",name:"Employee 2"}]},{children:t=>e.jsx("li",{children:t.data.name})}))})),l=await c.queryAllByText("Employee",{exact:!1});n.expect(l.length).eq(2)})})});
2
2
  //# sourceMappingURL=Collection.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["exports","./Collection-d3ef1b6f","preact/jsx-runtime","preact"],function(e,t,o,c){"use strict";e.Collection=t.Collection,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./Collection-71e6f090","preact/jsx-runtime","preact"],function(e,t,o,c){"use strict";e.Collection=t.Collection,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_Collection.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","preact/hooks","@testing-library/preact","@testing-library/user-event","chai","../../testHelpers-de821fa4","../../hooks/UNSAFE_useTabbableMode","../../List-60513105","../../UNSAFE_Flex","../../Flex-49ae9d40","preact","css!./../../PRIVATE_List.css","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_keys","../../LoadMoreCollection-2a7397a6","../../PRIVATE_Collection","../../Collection-d3ef1b6f","../../hooks/UNSAFE_useViewportIntersect","../../PRIVATE_VirtualizedCollection","../../VirtualizedCollection-ecf14228","../../utils/UNSAFE_arrayUtils","../../UNSAFE_FocusTrap","../../FocusTrap-36eb14b3","preact/compat","../../utils/PRIVATE_tabbableUtils","../../_curry1-4bc24d07","../../_curry2-b282d372","../../_curry3-d85ab9e3","../../hooks/UNSAFE_useId","../../hooks/PRIVATE_useSelection","../../hooks/PRIVATE_useCurrentKey","../../hooks/PRIVATE_useCollectionFocusRing","../../hooks/PRIVATE_useTabbableModeSet","../../hooks/PRIVATE_useItemAction","../../utils/PRIVATE_collectionUtils","../../UNSAFE_Skeleton","../../Skeleton-13c57283","../../tslib.es6-01aa33b9","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_size","../../utils/UNSAFE_mergeInterpolations","../../_has-d6e072c4","../../utils/UNSAFE_interpolations/borders","../../UNSAFE_Selector","../../index-03c10d8e","../../index-c150ed6e","../../UNSAFE_Icon","../../Icon-09d9aaef","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-0d08c31b","../../index-fbf288d8","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-ce597b9d","../../hooks/UNSAFE_useTheme","../../hooks/UNSAFE_useTranslationBundle","../../utils/UNSAFE_interpolations/boxalignment","../../keys-2f73271e","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-af3b62ca","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-7f1eca3f"],function(e,t,o,a,s,i,n,l,r,c,d,u,b,g,p,A,x,E,h,_,m,f,S,F,U,N,T,I,k,y,w,j,R,v,P,V,O,q,C,M,L,z,B,D,K,H,G,J,Q,W,X,Y,Z,$,ee,te,oe,ae,se,ie,ne,le,re,ce,de,ue,be,ge,pe,Ae,xe,Ee,he,_e){"use strict";function me(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var fe=me(a);function Se({allowTabbableMode:o,data:a,loadingIndicator:s,role:i}){const n=t.useRef(null),[r,d]=t.useState(void 0),[u,b]=t.useState(a?{offset:0,data:a.slice(0,25),totalSize:a.length,sizePrecision:"exact"}:null);return e.jsx("div",Object.assign({style:"height: calc(10 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x));overflow: auto",ref:n},{children:e.jsx(l.List,Object.assign({accessibleSummary:"Basic list",allowTabbableMode:o,currentKey:r,data:u,loadingIndicator:s,onCurrentKeyChange:e=>d(e.value),onLoadRange:()=>{},role:i,viewportConfig:{scroller:()=>n.current}},{children:t=>e.jsxs(c.Flex,{children:[t.selector&&t.selector(),e.jsx(Ue,{"data-testid":"input-"+t.data.id}),e.jsx("div",Object.assign({className:"item",style:{height:"calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x))",padding:"var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x)"}},{children:t.data.name}))]})}))}))}function Fe(e,t){const o=[];for(let a=0;a<e;a++)t?o.push({id:a,name:"Employee "+a}):o.push({id:"i"+a,name:"Employee "+a});return o}describe("Test List component",()=>{beforeEach(()=>{if(!window.IntersectionObserver){const e=jest.fn();e.mockReturnValue({observe:()=>null,unobserve:()=>null,disconnect:()=>null}),Object.defineProperty(global,"IntersectionObserver",{writable:!0,configurable:!0,value:e})}}),it("renders with custom loader",()=>{const t=e.jsx("div",Object.assign({"data-testid":"load-more-component"},{children:"Loading"})),{getAllByTestId:a,queryByTestId:i,rerender:n}=o.render(e.jsx(Se,{data:null}));s.expect(i("load-more-component")).to.be.null,n(e.jsx(Se,{data:null,loadingIndicator:t})),s.expect(a("load-more-component").length).eq(1)}),it("renders with default roles",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t})),n=await i.getRoot(a);s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a);s.expect(l.length).eq(25);const r=await i.getContents(a);s.expect(r.length).eq(25)}),it("renders with listbox rows",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t,role:"listbox"})),n=await i.getRoot(a,"listbox");s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a,"presentation");s.expect(l.length).eq(25);const r=await i.getContents(a,"option");s.expect(r.length).eq(25)}),it("renders with treegrid rows",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t,role:"treegrid"})),n=await i.getRoot(a,"treegrid");s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a,"row");s.expect(l.length).eq(25);const r=await i.getContents(a,"gridcell");s.expect(r.length).eq(25)}),it("allows toggling off F2 mode",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),{getByTestId:a,rerender:i}=o.render(e.jsx(Se,{data:t})),n=a("input-i0");s.expect(n.getAttribute("tabindex")).equals("-1"),fe.default.click(n),i(e.jsx(Se,{data:t})),s.expect(n.getAttribute("tabindex")).equals("0"),i(e.jsx(Se,{allowTabbableMode:!1,data:t})),fe.default.click(n),s.expect(n.getAttribute("tabindex")).equals("-1")})});const Ue=t=>{const{tabbableModeProps:o}=n.useTabbableMode();return e.jsx("input",Object.assign({tabIndex:o.tabIndex},t))}});
1
+ define(["preact/jsx-runtime","preact/hooks","@testing-library/preact","@testing-library/user-event","chai","../../testHelpers-5cfe8465","../../hooks/UNSAFE_useTabbableMode","../../List-08dda157","../../UNSAFE_Flex","../../Flex-56ca361c","preact","css!./../../PRIVATE_List.css","../../utils/UNSAFE_classNames","../../classNames-62e37972","../../utils/UNSAFE_mergeProps","../../utils/UNSAFE_keys","../../LoadMoreCollection-dcb5a382","../../PRIVATE_Collection","../../Collection-71e6f090","../../hooks/UNSAFE_useViewportIntersect","../../PRIVATE_VirtualizedCollection","../../VirtualizedCollection-f35e8f07","../../utils/UNSAFE_arrayUtils","../../UNSAFE_FocusTrap","../../FocusTrap-b2f97301","preact/compat","../../utils/PRIVATE_tabbableUtils","../../_curry1-5e7b060f","../../_curry2-a7eb1217","../../_curry3-5f6cc6b4","../../hooks/UNSAFE_useId","../../hooks/PRIVATE_useSelection","../../hooks/PRIVATE_useCurrentKey","../../hooks/PRIVATE_useCollectionFocusRing","../../hooks/PRIVATE_useTabbableModeSet","../../hooks/PRIVATE_useItemAction","../../utils/PRIVATE_collectionUtils","../../UNSAFE_Skeleton","../../Skeleton-972c8df8","../../tslib.es6-0026d2ad","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_size","../../utils/UNSAFE_mergeInterpolations","../../_has-ec8331b9","../../utils/UNSAFE_interpolations/borders","../../UNSAFE_Selector","../../index-359cad62","../../index-8aa44d16","../../UNSAFE_Icon","../../Icon-104b91f5","../../hooks/UNSAFE_useTooltip","../../UNSAFE_Floating","../../Floating-e8dc5fb7","../../index-f9c35a81","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-979626b0","../../hooks/UNSAFE_useTheme","../../hooks/UNSAFE_useTranslationBundle","../../utils/UNSAFE_interpolations/boxalignment","../../keys-f1cf2c8a","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-495ba219","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-2a478c7f"],function(e,t,o,a,s,i,n,l,r,c,d,u,b,g,p,A,x,E,h,_,f,m,S,F,U,N,T,I,k,y,w,j,R,v,P,V,O,q,C,M,L,z,B,D,K,H,G,J,Q,W,X,Y,Z,$,ee,te,oe,ae,se,ie,ne,le,re,ce,de,ue,be,ge,pe,Ae,xe,Ee,he,_e){"use strict";function fe(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var me=fe(a);function Se({allowTabbableMode:o,data:a,loadingIndicator:s,role:i}){const n=t.useRef(null),[r,d]=t.useState(void 0),[u,b]=t.useState(a?{offset:0,data:a.slice(0,25),totalSize:a.length,sizePrecision:"exact"}:null);return e.jsx("div",Object.assign({style:"height: calc(10 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x));overflow: auto",ref:n},{children:e.jsx(l.List,Object.assign({accessibleSummary:"Basic list",allowTabbableMode:o,currentKey:r,data:u,loadingIndicator:s,onCurrentKeyChange:e=>d(e.value),onLoadRange:()=>{},role:i,viewportConfig:{scroller:()=>n.current}},{children:t=>e.jsxs(c.Flex,{children:[t.selector&&t.selector(),e.jsx(Ue,{"data-testid":"input-"+t.data.id}),e.jsx("div",Object.assign({className:"item",style:{height:"calc(var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x))",padding:"var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x)"}},{children:t.data.name}))]})}))}))}function Fe(e,t){const o=[];for(let a=0;a<e;a++)t?o.push({id:a,name:"Employee "+a}):o.push({id:"i"+a,name:"Employee "+a});return o}describe("Test List component",()=>{beforeEach(()=>{if(!window.IntersectionObserver){const e=jest.fn();e.mockReturnValue({observe:()=>null,unobserve:()=>null,disconnect:()=>null}),Object.defineProperty(global,"IntersectionObserver",{writable:!0,configurable:!0,value:e})}}),it("renders with custom loader",()=>{const t=e.jsx("div",Object.assign({"data-testid":"load-more-component"},{children:"Loading"})),{getAllByTestId:a,queryByTestId:i,rerender:n}=o.render(e.jsx(Se,{data:null}));s.expect(i("load-more-component")).to.be.null,n(e.jsx(Se,{data:null,loadingIndicator:t})),s.expect(a("load-more-component").length).eq(1)}),it("renders with default roles",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t})),n=await i.getRoot(a);s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a);s.expect(l.length).eq(25);const r=await i.getContents(a);s.expect(r.length).eq(25)}),it("renders with listbox rows",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t,role:"listbox"})),n=await i.getRoot(a,"listbox");s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a,"presentation");s.expect(l.length).eq(25);const r=await i.getContents(a,"option");s.expect(r.length).eq(25)}),it("renders with treegrid rows",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),a=o.render(e.jsx(Se,{data:t,role:"treegrid"})),n=await i.getRoot(a,"treegrid");s.expect(n.getAttribute("aria-rowcount")).eq("100");const l=await i.getItems(a,"row");s.expect(l.length).eq(25);const r=await i.getContents(a,"gridcell");s.expect(r.length).eq(25)}),it("allows toggling off F2 mode",async()=>{const t=Fe(100).map(e=>({data:e,metadata:{key:e.id}})),{getByTestId:a,rerender:i}=o.render(e.jsx(Se,{data:t})),n=a("input-i0");s.expect(n.getAttribute("tabindex")).equals("-1"),me.default.click(n),i(e.jsx(Se,{data:t})),s.expect(n.getAttribute("tabindex")).equals("0"),i(e.jsx(Se,{allowTabbableMode:!1,data:t})),me.default.click(n),s.expect(n.getAttribute("tabindex")).equals("-1")})});const Ue=t=>{const{tabbableModeProps:o}=n.useTabbableMode();return e.jsx("input",Object.assign({tabIndex:o.tabIndex},t))}});
2
2
  //# sourceMappingURL=List.spec.js.map
@@ -1,17 +1,17 @@
1
- ._1abhwno{height:100%;user-select:none;overflow-y:inherit;}._1abhwno:focus{outline-style:none;}
2
- ._1s6ipec{position:absolute;top:0;width:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);z-index:1;display:block;background-image:var(--oj-c-PRIVATE-DO-NOT-USE-collection-sparkle-img);background-repeat:no-repeat;background-size:100% 100%;}
3
- ._8ehp9o{position:relative;}
1
+ .l5s4i9{height:100%;user-select:none;overflow-y:inherit;}.l5s4i9:focus{outline-style:none;}
2
+ ._1b5t8h7{position:absolute;top:0;width:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);z-index:1;display:block;background-image:var(--oj-c-PRIVATE-DO-NOT-USE-collection-sparkle-img);background-repeat:no-repeat;background-size:100% 100%;}
3
+ .xxgxx0{position:relative;}
4
4
 
5
- .icvpo7{height:100%;overflow-x:hidden;overflow-y:hidden;}
5
+ ._1u72u2d{height:100%;overflow-x:hidden;overflow-y:hidden;}
6
6
 
7
- .jmi899{display:flex;align-items:center;min-height:var(--oj-collection-list-row-height);box-sizing:border-box;background-image:linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color));background-size:0;background-position:0 100%;background-repeat:no-repeat;border-top:1px solid transparent;}
8
- ._1wdvg6j{background-size:100% 1px;}
9
- ._1r0y6ip{background-image:linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)),linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color));background-position:0 100%,0 -1px;background-size:100% 1px,100% 1px;}
10
- ._14tjbnq:hover{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
11
- ._1onv8hl{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-selected);}
12
- .yji4nq{border-top:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-border-color-selected);box-shadow:inset 0 -1px var(--oj-c-PRIVATE-DO-NOT-USE-core-border-color-selected);}
13
- ._1mhhdx7{background-size:100% 1px;}
14
- .lkoqep{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
15
- .ejq7jw{outline-style:dotted;outline-width:1px;outline-color:var(---oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
16
- .tnlcn7{flex-grow:1;}
17
- ._1qa1n42{display:flex;}
7
+ ._43zrto{display:flex;align-items:center;min-height:var(--oj-collection-list-row-height);box-sizing:border-box;background-image:linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color));background-size:0;background-position:0 100%;background-repeat:no-repeat;border-top:1px solid transparent;}
8
+ .r6yuwf{background-size:100% 1px;}
9
+ ._1y3dnml{background-image:linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)),linear-gradient(var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color),var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color));background-position:0 100%,0 -1px;background-size:100% 1px,100% 1px;}
10
+ ._3m92ei:hover{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
11
+ ._1j29fb1{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-selected);}
12
+ .oucw7t{border-top:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-border-color-selected);box-shadow:inset 0 -1px var(--oj-c-PRIVATE-DO-NOT-USE-core-border-color-selected);}
13
+ ._1wijw8j{background-size:100% 1px;}
14
+ ._1sjamku{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
15
+ .gu7a2{outline-style:dotted;outline-width:1px;outline-color:var(---oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
16
+ .jmr9vm{flex-grow:1;}
17
+ ._1vhlj9i{display:flex;}
@@ -1,2 +1,2 @@
1
- define(["exports","./List-60513105","preact/jsx-runtime","preact/hooks","css!./PRIVATE_List.css","./utils/UNSAFE_classNames","./classNames-7ef49daf","./utils/UNSAFE_mergeProps","./utils/UNSAFE_keys","./LoadMoreCollection-2a7397a6","./PRIVATE_Collection","./Collection-d3ef1b6f","preact","./hooks/UNSAFE_useViewportIntersect","./PRIVATE_VirtualizedCollection","./VirtualizedCollection-ecf14228","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useTabbableMode","./UNSAFE_FocusTrap","./FocusTrap-36eb14b3","preact/compat","./utils/PRIVATE_tabbableUtils","./_curry1-4bc24d07","./_curry2-b282d372","./_curry3-d85ab9e3","./hooks/UNSAFE_useId","./hooks/PRIVATE_useSelection","./hooks/PRIVATE_useCurrentKey","./hooks/PRIVATE_useCollectionFocusRing","./hooks/PRIVATE_useTabbableModeSet","./hooks/PRIVATE_useItemAction","./utils/PRIVATE_collectionUtils","./UNSAFE_Skeleton","./Skeleton-13c57283","./tslib.es6-01aa33b9","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./utils/UNSAFE_mergeInterpolations","./_has-d6e072c4","./utils/UNSAFE_interpolations/borders","./UNSAFE_Flex","./Flex-49ae9d40","./utils/UNSAFE_interpolations/boxalignment","./keys-2f73271e","./utils/UNSAFE_interpolations/flexbox","./flexbox-af3b62ca","./utils/UNSAFE_interpolations/flexitem","./flexitem-7f1eca3f","./UNSAFE_Selector","./index-03c10d8e","./index-c150ed6e","./UNSAFE_Icon","./Icon-09d9aaef","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-0d08c31b","./index-fbf288d8","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-ce597b9d","./hooks/UNSAFE_useTheme","./hooks/UNSAFE_useTranslationBundle"],function(e,o,s,t,i,l,n,a,u,_,r,A,E,c,F,S,U,N,d,b,k,h,f,T,p,I,m,x,V,P,R,C,g,y,L,M,v,z,j,O,w,B,H,K,q,D,G,J,Q,W,X,Y,Z,$,ee,oe,se,te,ie,le,ne,ae,ue,_e,re,Ae,Ee,ce,Fe,Se,Ue){"use strict";e.List=o.List,e.SkeletonContainer=o.SkeletonContainer,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./List-08dda157","preact/jsx-runtime","preact/hooks","css!./PRIVATE_List.css","./utils/UNSAFE_classNames","./classNames-62e37972","./utils/UNSAFE_mergeProps","./utils/UNSAFE_keys","./LoadMoreCollection-dcb5a382","./PRIVATE_Collection","./Collection-71e6f090","preact","./hooks/UNSAFE_useViewportIntersect","./PRIVATE_VirtualizedCollection","./VirtualizedCollection-f35e8f07","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useTabbableMode","./UNSAFE_FocusTrap","./FocusTrap-b2f97301","preact/compat","./utils/PRIVATE_tabbableUtils","./_curry1-5e7b060f","./_curry2-a7eb1217","./_curry3-5f6cc6b4","./hooks/UNSAFE_useId","./hooks/PRIVATE_useSelection","./hooks/PRIVATE_useCurrentKey","./hooks/PRIVATE_useCollectionFocusRing","./hooks/PRIVATE_useTabbableModeSet","./hooks/PRIVATE_useItemAction","./utils/PRIVATE_collectionUtils","./UNSAFE_Skeleton","./Skeleton-972c8df8","./tslib.es6-0026d2ad","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./utils/UNSAFE_mergeInterpolations","./_has-ec8331b9","./utils/UNSAFE_interpolations/borders","./UNSAFE_Flex","./Flex-56ca361c","./utils/UNSAFE_interpolations/boxalignment","./keys-f1cf2c8a","./utils/UNSAFE_interpolations/flexbox","./flexbox-495ba219","./utils/UNSAFE_interpolations/flexitem","./flexitem-2a478c7f","./UNSAFE_Selector","./index-359cad62","./index-8aa44d16","./UNSAFE_Icon","./Icon-104b91f5","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-e8dc5fb7","./index-f9c35a81","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-979626b0","./hooks/UNSAFE_useTheme","./hooks/UNSAFE_useTranslationBundle"],function(e,o,s,t,i,l,n,a,u,_,r,c,A,E,F,S,U,N,k,b,d,f,h,T,p,I,m,x,V,P,R,C,g,y,L,M,v,z,j,O,w,B,H,K,q,D,G,J,Q,W,X,Y,Z,$,ee,oe,se,te,ie,le,ne,ae,ue,_e,re,ce,Ae,Ee,Fe,Se,Ue){"use strict";e.List=o.List,e.SkeletonContainer=o.SkeletonContainer,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_List.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","@testing-library/user-event","chai","../../MessageCloseButton-9115578a","css!./../../PRIVATE_Message.css","../../UNSAFE_Button","../../Button-315621e2","../../UNSAFE_BaseButton","../../BaseButton-0f25e403","../../tslib.es6-01aa33b9","../../hooks/UNSAFE_usePress","preact/hooks","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","preact/compat","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../_curry1-4bc24d07","../../utils/UNSAFE_mergeInterpolations","../../_curry3-d85ab9e3","../../_curry2-b282d372","../../_has-d6e072c4","../../utils/PRIVATE_clientHints","../../clientHints-421618b0","../../hooks/UNSAFE_useTabbableMode","preact","../../utils/UNSAFE_mergeProps","../../index-03c10d8e","../../index-c150ed6e","../../UNSAFE_Icon","../../Icon-09d9aaef","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-0d08c31b","../../index-fbf288d8","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-ce597b9d","../../hooks/UNSAFE_useTheme"],function(e,t,o,s,n,i,c,u,a,l,r,d,A,_,E,U,F,N,b,k,S,f,h,g,p,y,m,x,B,T,C,I,j,v,M,P,R,H,V,w,O,q,z,L,D,G,J,K,Q,W,X,Y){"use strict";function Z(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var $=Z(o);describe("Test MessageCloseButton component",()=>{it("default renderer",async function(){const o={clicked:!1},i=t.render(e.jsx(n.MessageCloseButton,{onAction:function(){o.clicked=!0}})),c=await i.findByRole("button");s.expect(c).not.null,$.default.click(c),s.expect(o.clicked).to.be.true}),it("custom button renderer",async function(){const o={clicked:!1},i=t.render(e.jsx(n.MessageCloseButton,{onAction:function(){o.clicked=!0},buttonRenderer:(t,o,s)=>e.jsx("button",Object.assign({style:"background-color: orange;","aria-label":t,onClick:o,title:t},{children:t}))})),c=await i.findByText("Close");s.expect(c).not.null,s.expect(c.style.backgroundColor).to.equal("orange"),$.default.click(c),s.expect(o.clicked).to.be.true})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","@testing-library/user-event","chai","../../MessageCloseButton-c0436a6d","css!./../../PRIVATE_Message.css","../../UNSAFE_Button","../../Button-0d9421fc","../../UNSAFE_BaseButton","../../BaseButton-7d5eb39d","../../tslib.es6-0026d2ad","../../hooks/UNSAFE_usePress","preact/hooks","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useActive","../../utils/UNSAFE_classNames","../../classNames-62e37972","preact/compat","../../utils/UNSAFE_interpolations/dimensions","../../utils/UNSAFE_arrayUtils","../../utils/UNSAFE_size","../../_curry1-5e7b060f","../../utils/UNSAFE_mergeInterpolations","../../_curry3-5f6cc6b4","../../_curry2-a7eb1217","../../_has-ec8331b9","../../utils/PRIVATE_clientHints","../../clientHints-2e828dd3","../../hooks/UNSAFE_useTabbableMode","preact","../../utils/UNSAFE_mergeProps","../../index-359cad62","../../index-8aa44d16","../../UNSAFE_Icon","../../Icon-104b91f5","../../hooks/UNSAFE_useTooltip","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-e8dc5fb7","../../index-f9c35a81","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../hooks/UNSAFE_useAnimation","../../useAnimation-979626b0","../../hooks/UNSAFE_useTheme"],function(e,t,o,s,n,i,c,u,a,l,r,d,A,_,E,U,F,N,b,k,S,f,h,g,p,y,m,x,B,T,C,I,j,v,M,P,R,H,V,w,O,q,z,L,D,G,J,K,Q,W,X,Y){"use strict";function Z(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var $=Z(o);describe("Test MessageCloseButton component",()=>{it("default renderer",async function(){const o={clicked:!1},i=t.render(e.jsx(n.MessageCloseButton,{onAction:function(){o.clicked=!0}})),c=await i.findByRole("button");s.expect(c).not.null,$.default.click(c),s.expect(o.clicked).to.be.true}),it("custom button renderer",async function(){const o={clicked:!1},i=t.render(e.jsx(n.MessageCloseButton,{onAction:function(){o.clicked=!0},buttonRenderer:(t,o,s)=>e.jsx("button",Object.assign({style:"background-color: orange;","aria-label":t,onClick:o,title:t},{children:t}))})),c=await i.findByText("Close");s.expect(c).not.null,s.expect(c.style.backgroundColor).to.equal("orange"),$.default.click(c),s.expect(o.clicked).to.be.true})})});
2
2
  //# sourceMappingURL=MessageCloseButton.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageDetail-bca5d0e6","css!./../../PRIVATE_Message.css","preact","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","../../MessageFormattingUtils-2f6ea3d7","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-3b45cc82","../../Message.types-36b055bd","../../utils/UNSAFE_arrayUtils"],function(e,t,i,s,n,a,d,r,l,o,c,y,m,u){"use strict";const p={data:{detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},index:0,key:"ConfirmationMessage",metadata:{key:"ConfirmationMessage"}};describe("Test MessageDetail component",()=>{it("default renderer",async function(){const n=t.render(e.jsx(s.MessageDetail,{item:p})),a=await n.findByText("Lorem Ipsum is simply dummy text of the printing and typesetting industry.");i.expect(a).not.null}),it("custom renderer",async function(){const n=t.render(e.jsx(s.MessageDetail,{item:p,renderer:({data:t,index:i,key:s,metadata:n})=>e.jsxs("div",Object.assign({style:"border: 1px solid gray; padding: 5px; background-color: orange;","data-testid":"customWrapper"},{children:[e.jsxs("div",{children:["index: ",i]}),e.jsxs("div",{children:["key: ",s]}),e.jsxs("div",{children:["detail: ",t.detail]}),e.jsxs("div",{children:["metadata key: ",null==n?void 0:n.key]})]}))})),a=await n.findByTestId("customWrapper");i.expect(a).not.null,i.expect(null==a?void 0:a.style.backgroundColor).to.equal("orange");const d=await n.findByText("index: 0");i.expect(d).not.null;const r=await n.findByText("key: ConfirmationMessage");i.expect(r).not.null;const l=await n.findByText("detail: Lorem Ipsum is simply dummy text of the printing and typesetting industry.");i.expect(l).not.null;const o=await n.findByText("metadata key: ConfirmationMessage");i.expect(o).not.null})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageDetail-3e492e42","css!./../../PRIVATE_Message.css","preact","../../utils/UNSAFE_classNames","../../classNames-62e37972","../../MessageFormattingUtils-36ba3a21","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-91d77e3d","../../Message.types-cdf49a64","../../utils/UNSAFE_arrayUtils"],function(e,t,i,s,n,a,d,r,l,o,c,y,m,u){"use strict";const p={data:{detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},index:0,key:"ConfirmationMessage",metadata:{key:"ConfirmationMessage"}};describe("Test MessageDetail component",()=>{it("default renderer",async function(){const n=t.render(e.jsx(s.MessageDetail,{item:p})),a=await n.findByText("Lorem Ipsum is simply dummy text of the printing and typesetting industry.");i.expect(a).not.null}),it("custom renderer",async function(){const n=t.render(e.jsx(s.MessageDetail,{item:p,renderer:({data:t,index:i,key:s,metadata:n})=>e.jsxs("div",Object.assign({style:"border: 1px solid gray; padding: 5px; background-color: orange;","data-testid":"customWrapper"},{children:[e.jsxs("div",{children:["index: ",i]}),e.jsxs("div",{children:["key: ",s]}),e.jsxs("div",{children:["detail: ",t.detail]}),e.jsxs("div",{children:["metadata key: ",null==n?void 0:n.key]})]}))})),a=await n.findByTestId("customWrapper");i.expect(a).not.null,i.expect(null==a?void 0:a.style.backgroundColor).to.equal("orange");const d=await n.findByText("index: 0");i.expect(d).not.null;const r=await n.findByText("key: ConfirmationMessage");i.expect(r).not.null;const l=await n.findByText("detail: Lorem Ipsum is simply dummy text of the printing and typesetting industry.");i.expect(l).not.null;const o=await n.findByText("metadata key: ConfirmationMessage");i.expect(o).not.null})})});
2
2
  //# sourceMappingURL=MessageDetail.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["chai","../../MessageFormattingUtils-2f6ea3d7","../../Message.types-36b055bd","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-3b45cc82","../../utils/UNSAFE_arrayUtils"],function(e,t,i,o,s,a,r){"use strict";describe("Test MessageFormattingUtils",()=>{it("isValidValueForProp",function(){i.severities.forEach(i=>{e.expect(t.isValidValueForProp(i,"severity")).to.be.true}),e.expect(t.isValidValueForProp("foo","severity")).to.be.false,e.expect(t.isValidValueForProp((new Date).toISOString(),"timestamp")).to.be.true,e.expect(t.isValidValueForProp("foo","timestamp")).to.be.false,e.expect(t.isValidValueForProp("foo","string")).to.be.true,e.expect(t.isValidValueForProp("","string")).to.be.false,e.expect(t.isValidValueForProp(null,"string")).to.be.false,e.expect(t.isValidValueForProp(void 0,"string")).to.be.false}),it("formatTimestamp",function(){const i=t.formatTimestamp((new Date).toISOString());e.expect(t.isValidValueForProp(i,"string")).to.be.true;try{const i=t.formatTimestamp("foo");e.expect(t.isValidValueForProp(i,"timestamp")).to.be.false}catch(t){e.expect(t).not.null}})})});
1
+ define(["chai","../../MessageFormattingUtils-36ba3a21","../../Message.types-cdf49a64","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-91d77e3d","../../utils/UNSAFE_arrayUtils"],function(e,t,i,o,s,a,r){"use strict";describe("Test MessageFormattingUtils",()=>{it("isValidValueForProp",function(){i.severities.forEach(i=>{e.expect(t.isValidValueForProp(i,"severity")).to.be.true}),e.expect(t.isValidValueForProp("foo","severity")).to.be.false,e.expect(t.isValidValueForProp((new Date).toISOString(),"timestamp")).to.be.true,e.expect(t.isValidValueForProp("foo","timestamp")).to.be.false,e.expect(t.isValidValueForProp("foo","string")).to.be.true,e.expect(t.isValidValueForProp("","string")).to.be.false,e.expect(t.isValidValueForProp(null,"string")).to.be.false,e.expect(t.isValidValueForProp(void 0,"string")).to.be.false}),it("formatTimestamp",function(){const i=t.formatTimestamp((new Date).toISOString());e.expect(t.isValidValueForProp(i,"string")).to.be.true;try{const i=t.formatTimestamp("foo");e.expect(t.isValidValueForProp(i,"timestamp")).to.be.false}catch(t){e.expect(t).not.null}})})});
2
2
  //# sourceMappingURL=MessageFormattingUtils.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageStartIcon-a7b50582","../../Message.types-36b055bd","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","../../index-03c10d8e","../../index-c150ed6e","../../UNSAFE_Icon","../../Icon-09d9aaef","../../tslib.es6-01aa33b9","preact","../../utils/UNSAFE_size","../../hooks/UNSAFE_useTooltip","preact/hooks","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-0d08c31b","preact/compat","../../index-fbf288d8","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../utils/UNSAFE_mergeProps","../../hooks/UNSAFE_useAnimation","../../useAnimation-ce597b9d","../../hooks/UNSAFE_useTheme","../../UNSAFE_Flex","../../Flex-49ae9d40","../../utils/UNSAFE_interpolations/dimensions","../../_curry1-4bc24d07","../../utils/UNSAFE_mergeInterpolations","../../_curry3-d85ab9e3","../../_curry2-b282d372","../../_has-d6e072c4","../../utils/UNSAFE_interpolations/boxalignment","../../keys-2f73271e","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-af3b62ca","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-7f1eca3f"],function(e,s,t,o,i,n,a,r,l,c,u,_,F,A,E,U,S,N,d,f,b,h,m,p,x,g,k,y,I,T,v,M,P,j,C,R,V,z,H,L,O,$,q,w,B,D,G,J,K,Q,W){"use strict";describe("Test MessageStartIcon component",()=>{for(const n in i.severities)"none"!==n&&it(`severity ${n}`,async function(){const i=s.render(e.jsx(o.MessageStartIcon,{severity:n})).container.firstElementChild;t.expect(i).not.null})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageStartIcon-c7c14eb3","../../Message.types-cdf49a64","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-62e37972","../../index-359cad62","../../index-8aa44d16","../../UNSAFE_Icon","../../Icon-104b91f5","../../tslib.es6-0026d2ad","preact","../../utils/UNSAFE_size","../../hooks/UNSAFE_useTooltip","preact/hooks","../../hooks/UNSAFE_useId","../../UNSAFE_Floating","../../Floating-e8dc5fb7","preact/compat","../../index-f9c35a81","../../hooks/UNSAFE_useUser","../../UNSAFE_Environment","../../UNSAFE_Layer","../../utils/PRIVATE_floatingUtils","../../utils/PRIVATE_refUtils","../../hooks/UNSAFE_useOutsideClick","../../utils/UNSAFE_arrayUtils","../../hooks/UNSAFE_useHover","../../hooks/UNSAFE_useToggle","../../hooks/UNSAFE_useFocus","../../hooks/UNSAFE_useTouch","../../utils/UNSAFE_mergeProps","../../hooks/UNSAFE_useAnimation","../../useAnimation-979626b0","../../hooks/UNSAFE_useTheme","../../UNSAFE_Flex","../../Flex-56ca361c","../../utils/UNSAFE_interpolations/dimensions","../../_curry1-5e7b060f","../../utils/UNSAFE_mergeInterpolations","../../_curry3-5f6cc6b4","../../_curry2-a7eb1217","../../_has-ec8331b9","../../utils/UNSAFE_interpolations/boxalignment","../../keys-f1cf2c8a","../../utils/UNSAFE_interpolations/flexbox","../../flexbox-495ba219","../../utils/UNSAFE_interpolations/flexitem","../../flexitem-2a478c7f"],function(e,s,t,o,i,n,a,c,r,l,u,_,F,A,E,U,S,N,f,d,h,m,p,b,x,g,k,y,I,T,v,M,P,j,C,R,V,z,H,L,O,$,q,w,B,D,G,J,K,Q,W){"use strict";describe("Test MessageStartIcon component",()=>{for(const n in i.severities)"none"!==n&&it(`severity ${n}`,async function(){const i=s.render(e.jsx(o.MessageStartIcon,{severity:n})).container.firstElementChild;t.expect(i).not.null})})});
2
2
  //# sourceMappingURL=MessageStartIcon.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageSummary-8871a900","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-7ef49daf"],function(e,s,a,t,n,i,r){"use strict";describe("Test MessageSummary component",()=>{it("text",async function(){const n=s.render(e.jsx(t.MessageSummary,{text:"My Message Summary"})),i=await n.findByText("My Message Summary");a.expect(i).not.null})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageSummary-2e35809c","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-62e37972"],function(e,s,a,t,n,i,r){"use strict";describe("Test MessageSummary component",()=>{it("text",async function(){const n=s.render(e.jsx(t.MessageSummary,{text:"My Message Summary"})),i=await n.findByText("My Message Summary");a.expect(i).not.null})})});
2
2
  //# sourceMappingURL=MessageSummary.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageTimestamp-0b535a61","../../MessageFormattingUtils-2f6ea3d7","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-7ef49daf","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-3b45cc82","../../Message.types-36b055bd","../../utils/UNSAFE_arrayUtils"],function(t,e,s,a,i,n,r,c,l,m,o,u,g){"use strict";const p=new Date,f=new Date(p);f.setUTCFullYear(2020);const d=/\u202f/g,T=function(t){return t.replace(d," ")};describe("Test MessageTimestamp component",()=>{it("today's date",async function(){const n=p.toISOString(),r=e.render(t.jsx(a.MessageTimestamp,{value:n})),c=T(i.formatTimestamp(n)),l=await r.findByText(c);s.expect(l).not.null}),it("past date",async function(){const n=f.toISOString(),r=e.render(t.jsx(a.MessageTimestamp,{value:n})),c=T(i.formatTimestamp(n)),l=await r.findByText(c);s.expect(l).not.null})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessageTimestamp-5a7d95b4","../../MessageFormattingUtils-36ba3a21","css!./../../PRIVATE_Message.css","../../utils/UNSAFE_classNames","../../classNames-62e37972","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-91d77e3d","../../Message.types-cdf49a64","../../utils/UNSAFE_arrayUtils"],function(t,e,s,a,i,n,r,c,l,m,o,u,g){"use strict";const p=new Date,d=new Date(p);d.setUTCFullYear(2020);const f=/\u202f/g,T=function(t){return t.replace(f," ")};describe("Test MessageTimestamp component",()=>{it("today's date",async function(){const n=p.toISOString(),r=e.render(t.jsx(a.MessageTimestamp,{value:n})),c=T(i.formatTimestamp(n)),l=await r.findByText(c);s.expect(l).not.null}),it("past date",async function(){const n=d.toISOString(),r=e.render(t.jsx(a.MessageTimestamp,{value:n})),c=T(i.formatTimestamp(n)),l=await r.findByText(c);s.expect(l).not.null})})});
2
2
  //# sourceMappingURL=MessageTimestamp.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","chai","../../MessageUtils-fc40878e","../../utils/UNSAFE_logger","../../_curry1-4bc24d07","../../_curry2-b282d372","../../utils/UNSAFE_soundUtils","../../MessageFormattingUtils-2f6ea3d7","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-3b45cc82","../../Message.types-36b055bd","../../utils/UNSAFE_arrayUtils"],function(e,t,r,n,s,i,c,o,d,l,a,u,g){"use strict";describe("Test MessageUtils",()=>{it("throwError",function(){try{r.throwError("foo"),t.expect(!0).to.be.false}catch(e){t.expect(e).not.null}}),it("getRenderer",function(){const n={data:{detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},index:0,key:"ConfirmationMessage",metadata:{key:"ConfirmationMessage"}},s={testRenderer:()=>e.jsx("div",{})},i=r.getRenderer(n,"testRenderer");t.expect(i).undefined;const c=r.getRenderer(n,"testRenderer",s);t.expect(c).to.equal(s.testRenderer);try{const e=r.getRenderer(n,"foo",s);t.expect(e).null}catch(e){t.expect(e).not.null}const o=r.getRenderer(n,void 0,s);t.expect(o).undefined;const d=r.getRenderer(n,()=>"testRenderer",s);t.expect(d).to.equal(s.testRenderer);try{const e=r.getRenderer(n,()=>"foo",s);t.expect(e).null}catch(e){t.expect(e).not.null}const l=r.getRenderer(n,()=>{},s);t.expect(l).undefined})})});
1
+ define(["preact/jsx-runtime","chai","../../MessageUtils-f508120a","../../utils/UNSAFE_logger","../../_curry1-5e7b060f","../../_curry2-a7eb1217","../../utils/UNSAFE_soundUtils","../../MessageFormattingUtils-36ba3a21","../../utils/UNSAFE_getLocale","../../utils/UNSAFE_stringUtils","../../stringUtils-91d77e3d","../../Message.types-cdf49a64","../../utils/UNSAFE_arrayUtils"],function(e,t,r,n,s,i,o,c,d,a,l,u,g){"use strict";describe("Test MessageUtils",()=>{it("throwError",function(){try{r.throwError("foo"),t.expect(!0).to.be.false}catch(e){t.expect(e).not.null}}),it("getRenderer",function(){const n={data:{detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},index:0,key:"ConfirmationMessage",metadata:{key:"ConfirmationMessage"}},s={testRenderer:()=>e.jsx("div",{})},i=r.getRenderer(n,"testRenderer");t.expect(i).undefined;const o=r.getRenderer(n,"testRenderer",s);t.expect(o).to.equal(s.testRenderer);try{const e=r.getRenderer(n,"foo",s);t.expect(e).null}catch(e){t.expect(e).not.null}const c=r.getRenderer(n,void 0,s);t.expect(c).undefined;const d=r.getRenderer(n,()=>"testRenderer",s);t.expect(d).to.equal(s.testRenderer);try{const e=r.getRenderer(n,()=>"foo",s);t.expect(e).null}catch(e){t.expect(e).not.null}const a=r.getRenderer(n,()=>{},s);t.expect(a).undefined})})});
2
2
  //# sourceMappingURL=MessageUtils.spec.js.map
@@ -1,2 +1,2 @@
1
- define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessagesManager-43519abe","preact","preact/hooks","../../PRIVATE_TransitionGroup","../../tslib.es6-01aa33b9","../../hooks/UNSAFE_useAnimation","../../useAnimation-ce597b9d","../../hooks/UNSAFE_useMessagesContext"],function(e,t,i,s,n,a,r,d,m,o,y){"use strict";const p=[{key:"ErrorMessage",data:{severity:"error",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"WarningMessage",data:{severity:"warning",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"ConfirmationMessage",data:{severity:"confirmation",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"InfoMessage",data:{severity:"info",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}}];describe("Test MessagesManager component",()=>{it("child renderer",async function(){const n=t.render(e.jsx(s.MessagesManager,Object.assign({data:p},{children:({index:t,item:i})=>e.jsxs("div",Object.assign({style:"border: 1px solid gray; padding: 5px; background-color: orange;","data-testid":i.key},{children:[e.jsxs("div",{children:["index: ",t]}),e.jsxs("div",{children:["key: ",i.key]}),e.jsxs("div",{children:["severity: ",i.data.severity]}),e.jsxs("div",{children:["summary: ",i.data.summary]}),e.jsxs("div",{children:["detail: ",i.data.detail]}),e.jsxs("div",{children:["timestamp: ",i.data.timestamp]})]}))})));await Promise.all(p.map(async e=>{const t=await n.findByTestId(e.key);i.expect(t).not.null,i.expect(t.style.backgroundColor).to.equal("orange");const s=await n.findByText(`severity: ${e.data.severity}`);i.expect(s).not.null}))})})});
1
+ define(["preact/jsx-runtime","@testing-library/preact","chai","../../MessagesManager-2c73161c","preact","preact/hooks","../../PRIVATE_TransitionGroup","../../tslib.es6-0026d2ad","../../hooks/UNSAFE_useAnimation","../../useAnimation-979626b0","../../hooks/UNSAFE_useMessagesContext"],function(e,t,i,s,n,a,r,d,m,o,y){"use strict";const p=[{key:"ErrorMessage",data:{severity:"error",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"WarningMessage",data:{severity:"warning",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"ConfirmationMessage",data:{severity:"confirmation",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}},{key:"InfoMessage",data:{severity:"info",summary:"Primary Text",detail:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.",closeAffordance:"on",timestamp:(new Date).toISOString()}}];describe("Test MessagesManager component",()=>{it("child renderer",async function(){const n=t.render(e.jsx(s.MessagesManager,Object.assign({data:p},{children:({index:t,item:i})=>e.jsxs("div",Object.assign({style:"border: 1px solid gray; padding: 5px; background-color: orange;","data-testid":i.key},{children:[e.jsxs("div",{children:["index: ",t]}),e.jsxs("div",{children:["key: ",i.key]}),e.jsxs("div",{children:["severity: ",i.data.severity]}),e.jsxs("div",{children:["summary: ",i.data.summary]}),e.jsxs("div",{children:["detail: ",i.data.detail]}),e.jsxs("div",{children:["timestamp: ",i.data.timestamp]})]}))})));await Promise.all(p.map(async e=>{const t=await n.findByTestId(e.key);i.expect(t).not.null,i.expect(t.style.backgroundColor).to.equal("orange");const s=await n.findByText(`severity: ${e.data.severity}`);i.expect(s).not.null}))})})});
2
2
  //# sourceMappingURL=MessagesManager.spec.js.map
@@ -1,34 +1,34 @@
1
- ._1blw68r{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-background-color);border-bottom:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color);}._1blw68r:focus-visible{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:1px;}
2
- ._57wria{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-background-color);border-radius:6px;box-shadow:var(--oj-c-PRIVATE-DO-NOT-USE-core-box-shadow-sm);width:fit-content;}._57wria:focus-visible{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:1px;}
3
- .ugvmqs{border:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-lg);}
4
- .nukqls{align-items:center;box-sizing:border-box;display:flex;flex-wrap:wrap;padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
5
- ._1bl9i86{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-start,var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-end,var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));}
6
- .anjj4v{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
1
+ .nxiykc{align-self:flex-start;display:flex;}
2
+ ._12kwytw{margin-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);margin-inline-end:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));margin-top:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));margin-bottom:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));}
3
+ .fo50jw{margin-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);margin-inline-end:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);margin-top:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);margin-bottom:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);}
7
4
 
8
- ._4sp29l{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);display:flex;align-self:flex-start;}
9
- .kdymq9{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-start-icon-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-start-icon-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
10
- .dp9uqt{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-inline-start-icon-color);font-size:1rem;}
11
- ._1xs1ruc{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);width:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
12
- ._8pngvc{height:100%;}
5
+ .r1yt7h{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-background-color);border-bottom:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color);}.r1yt7h:focus-visible{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:1px;}
6
+ ._1jul8fc{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-background-color);border-radius:6px;box-shadow:var(--oj-c-PRIVATE-DO-NOT-USE-core-box-shadow-sm);width:fit-content;}._1jul8fc:focus-visible{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:1px;}
7
+ .zucrbx{border:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-lg);}
8
+ ._16ed52x{align-items:center;box-sizing:border-box;display:flex;flex-wrap:wrap;padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
9
+ .pikpiy{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-start,var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-end,var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));}
10
+ ._9sdrqr{padding-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);padding-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
13
11
 
14
- ._1dse3eb{overflow-wrap:anywhere;}
15
- .r3jcu9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);}
16
- .t2q84v{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-detail-text-color);}
12
+ .y7prhl{overflow-wrap:anywhere;}
13
+ .o9qghg{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);}
14
+ ._1c3ql4t{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-sm-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-detail-text-color);}
17
15
 
18
- ._1bon6g8{align-self:flex-start;display:flex;}
19
- .s562t{margin-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);margin-inline-end:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));margin-top:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));margin-bottom:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x));}
20
- .e39ucv{margin-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);margin-inline-end:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);margin-top:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);margin-bottom:calc(-1 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x) / 2);}
16
+ .qczl7f{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);display:flex;align-self:flex-start;}
17
+ .ko6jnl{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-start-icon-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-start-icon-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
18
+ ._1wxxqrb{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-inline-start-icon-color);font-size:1rem;}
19
+ .ydni2n{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);width:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
20
+ ._3bfayt{height:100%;}
21
21
 
22
- ._1mwk7gd{flex:1;overflow-wrap:anywhere;}
23
- ._1k4askc{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-weight);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-color);}
24
- ._1ad5yah{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-user-assistance-inline-font-size);font-weight:400;color:var(--oj-c-PRIVATE-DO-NOT-USE-user-assistance-inline-text-color);line-height:1.333;}
25
- .lpuv3d{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-summary-text-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-summary-text-color);}
22
+ ._6ax90m{flex-shrink:0;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary);}
26
23
 
27
- ._1mjtfzw{flex-shrink:0;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-body-xs-font-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary);}
24
+ .tss5hx{flex:1;overflow-wrap:anywhere;}
25
+ ._11h4inw{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-weight);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-text-color);}
26
+ ._18xi6st{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-user-assistance-inline-font-size);font-weight:400;color:var(--oj-c-PRIVATE-DO-NOT-USE-user-assistance-inline-text-color);line-height:1.333;}
27
+ .bajlzc{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-summary-text-size);color:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-summary-text-color);}
28
28
 
29
- ._1u4bd6u{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);align-self:flex-start;display:flex;}
30
- ._1r6si85{height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);width:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
29
+ .vpryd8{box-sizing:border-box;display:flex;flex-wrap:wrap;flex-direction:row;}@media screen and (max-width:599.9px){.vpryd8{flex-direction:column;}}
30
+ .rxbvtj{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
31
+ ._1mjahx3{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
31
32
 
32
- .rkgk7q{box-sizing:border-box;display:flex;flex-wrap:wrap;flex-direction:row;}@media screen and (max-width:599.9px){.rkgk7q{flex-direction:column;}}
33
- .xsaxs9{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
34
- .dz8vpl{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
33
+ ._1g9tf41{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);align-self:flex-start;display:flex;}
34
+ .od93yg{height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);width:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
@@ -1,2 +1,2 @@
1
- define(["exports","preact/jsx-runtime","css!./PRIVATE_Message.css","preact/hooks","./UNSAFE_Flex","./utils/PRIVATE_timer","./utils/UNSAFE_classNames","./MessageCloseButton-9115578a","./classNames-7ef49daf","./MessageDetail-bca5d0e6","./MessageFormattingUtils-2f6ea3d7","./MessageStartIcon-a7b50582","./MessageSummary-8871a900","./MessageTimestamp-0b535a61","./MessageUtils-fc40878e","./Flex-49ae9d40","./MessagesManager-43519abe","./Message.types-36b055bd","./tslib.es6-01aa33b9","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-4bc24d07","./utils/UNSAFE_mergeInterpolations","./_curry3-d85ab9e3","./_curry2-b282d372","./_has-d6e072c4","./utils/UNSAFE_interpolations/boxalignment","./keys-2f73271e","./utils/UNSAFE_interpolations/flexbox","./flexbox-af3b62ca","./utils/UNSAFE_interpolations/flexitem","./flexitem-7f1eca3f","./UNSAFE_Button","./Button-315621e2","./UNSAFE_BaseButton","./BaseButton-0f25e403","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useActive","preact/compat","./utils/PRIVATE_clientHints","./clientHints-421618b0","./hooks/UNSAFE_useTabbableMode","preact","./utils/UNSAFE_mergeProps","./index-03c10d8e","./index-c150ed6e","./UNSAFE_Icon","./Icon-09d9aaef","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-0d08c31b","./index-fbf288d8","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-ce597b9d","./hooks/UNSAFE_useTheme","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-3b45cc82","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext"],function(e,s,t,a,n,o,i,r,l,u,c,d,g,m,b,S,_,E,F,A,U,f,p,N,x,v,M,y,h,j,k,T,I,B,C,R,V,O,P,w,D,q,H,z,L,W,G,K,J,Q,X,Y,Z,$,ee,se,te,ae,ne,oe,ie,re,le,ue,ce,de,ge,me,be,Se,_e,Ee,Fe,Ae){"use strict";const Ue="_1u4bd6u",fe="_1r6si85";function pe({item:e,renderer:t}){const a=l.classNames([Ue,fe]);return s.jsx("div",Object.assign({class:a,role:"presentation"},{children:t(e)}))}const Ne={base:"rkgk7q",banner:"xsaxs9",inline:void 0,toast:"dz8vpl"};function xe({children:e,variant:t="banner"}){const a=l.classNames([Ne.base,Ne[t]]);return s.jsx("div",Object.assign({role:"presentation",class:a},{children:e}))}function ve(e){return c.isValidValueForProp(e,"severity")&&"none"!==e}const Me={base:{banner:"_1blw68r",toast:"_57wria"},section:"ugvmqs",content:{base:"nukqls",banner:"_1bl9i86",toast:"anjj4v"}};e.MessageCloseButton=r.MessageCloseButton,e.MessageDetail=u.MessageDetail,e.formatTimestamp=c.formatTimestamp,e.isValidValueForProp=c.isValidValueForProp,e.MessageStartIcon=d.MessageStartIcon,e.MessageSummary=g.MessageSummary,e.MessageTimestamp=m.MessageTimestamp,e.getRenderer=b.getRenderer,e.getRendererWithoutIndex=b.getRendererWithoutIndex,e.isSeverityIconNeeded=b.isSeverityIconNeeded,e.playSound=b.playSound,e.severityBasedStyleClass=b.severityBasedStyleClass,e.throwError=b.throwError,e.MessagesManager=_.MessagesManager,e.severities=E.severities,e.Message=function({closeButtonRenderer:e,detailRenderer:t,iconRenderer:n,index:i=-1,item:_,onClose:E,messageRef:F=(()=>{}),variant:A="pageBanner",translations:U}){const{closeAffordance:f="on",severity:p="error",sound:N,summary:x,timestamp:v}=_.data,{autoTimeout:M="off"}=_.data,y=function(e){return"pageBanner"===e||"sectionBanner"===e?"banner":"toast"}(A),h=a.useCallback(()=>{null==E||E(_)},[_,E]),j=a.useCallback(e=>{"Escape"===e.key&&"on"===f&&(null==E||E(_))},[f,_,E]),k="toast"===y&&"off"!==M,T=a.useRef(),I="on"===M?5e3:"number"==typeof M?M:5e3,B=a.useCallback(()=>{T.current||(T.current=new o.Timer(h,I))},[h,I]),C=a.useCallback(()=>{T.current&&(T.current.clear(),T.current=void 0)},[]),R=a.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.pause()},[]),V=a.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.resume()},[]);a.useEffect(()=>(c.isValidValueForProp(N)&&b.playSound(N),k&&B(),()=>{C()}),[]);const O=l.classNames([Me.base[y],"toast"!==A&&b.severityBasedStyleClass(p,y),"sectionBanner"===A&&Me.section]),P=l.classNames([Me.content.base,Me.content[y]]);return s.jsx("div",Object.assign({ref:F,class:O,role:"alert","aria-atomic":"true",tabIndex:0,onKeyUp:j,onfocusin:R,onfocusout:V},{children:s.jsxs("div",Object.assign({class:P},{children:[n?s.jsx(pe,{item:Object.assign(Object.assign({},_),{index:i}),renderer:n}):ve(p)?s.jsx(d.MessageStartIcon,{severity:p,variant:y,translations:U}):null,s.jsxs(S.Flex,Object.assign({direction:"column",flex:"1",gap:"--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x"},{children:[s.jsxs(xe,Object.assign({variant:y},{children:[s.jsx(g.MessageSummary,{variant:y,text:x}),c.isValidValueForProp(v,"timestamp")&&"toast"!==A&&s.jsx(m.MessageTimestamp,{variant:y,value:v})]})),s.jsx(u.MessageDetail,{variant:y,item:Object.assign(Object.assign({},_),{index:i}),renderer:t})]})),"on"===f&&s.jsx(r.MessageCloseButton,{buttonRenderer:e,title:null==U?void 0:U.close,variant:y,onAction:h})]}))}))},Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","preact/jsx-runtime","css!./PRIVATE_Message.css","preact/hooks","./UNSAFE_Flex","./utils/PRIVATE_timer","./utils/UNSAFE_classNames","./MessageCloseButton-c0436a6d","./classNames-62e37972","./MessageDetail-3e492e42","./MessageFormattingUtils-36ba3a21","./MessageStartIcon-c7c14eb3","./MessageSummary-2e35809c","./MessageTimestamp-5a7d95b4","./MessageUtils-f508120a","./Flex-56ca361c","./MessagesManager-2c73161c","./Message.types-cdf49a64","./tslib.es6-0026d2ad","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-5e7b060f","./utils/UNSAFE_mergeInterpolations","./_curry3-5f6cc6b4","./_curry2-a7eb1217","./_has-ec8331b9","./utils/UNSAFE_interpolations/boxalignment","./keys-f1cf2c8a","./utils/UNSAFE_interpolations/flexbox","./flexbox-495ba219","./utils/UNSAFE_interpolations/flexitem","./flexitem-2a478c7f","./UNSAFE_Button","./Button-0d9421fc","./UNSAFE_BaseButton","./BaseButton-7d5eb39d","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useActive","preact/compat","./utils/PRIVATE_clientHints","./clientHints-2e828dd3","./hooks/UNSAFE_useTabbableMode","preact","./utils/UNSAFE_mergeProps","./index-359cad62","./index-8aa44d16","./UNSAFE_Icon","./Icon-104b91f5","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-e8dc5fb7","./index-f9c35a81","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-979626b0","./hooks/UNSAFE_useTheme","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-91d77e3d","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext"],function(e,s,t,a,n,o,r,i,l,c,u,d,g,m,b,S,_,E,F,p,A,U,f,N,x,v,y,M,h,j,k,T,I,B,C,R,V,O,P,D,w,H,z,L,W,q,G,K,J,Q,X,Y,Z,$,ee,se,te,ae,ne,oe,re,ie,le,ce,ue,de,ge,me,be,Se,_e,Ee,Fe,pe){"use strict";const Ae="_1g9tf41",Ue="od93yg";function fe({item:e,renderer:t}){const a=l.classNames([Ae,Ue]);return s.jsx("div",Object.assign({class:a,role:"presentation"},{children:t(e)}))}const Ne={base:"vpryd8",banner:"rxbvtj",inline:void 0,toast:"_1mjahx3"};function xe({children:e,variant:t="banner"}){const a=l.classNames([Ne.base,Ne[t]]);return s.jsx("div",Object.assign({role:"presentation",class:a},{children:e}))}function ve(e){return u.isValidValueForProp(e,"severity")&&"none"!==e}const ye={base:{banner:"r1yt7h",toast:"_1jul8fc"},section:"zucrbx",content:{base:"_16ed52x",banner:"pikpiy",toast:"_9sdrqr"}};e.MessageCloseButton=i.MessageCloseButton,e.MessageDetail=c.MessageDetail,e.formatTimestamp=u.formatTimestamp,e.isValidValueForProp=u.isValidValueForProp,e.MessageStartIcon=d.MessageStartIcon,e.MessageSummary=g.MessageSummary,e.MessageTimestamp=m.MessageTimestamp,e.getRenderer=b.getRenderer,e.getRendererWithoutIndex=b.getRendererWithoutIndex,e.isSeverityIconNeeded=b.isSeverityIconNeeded,e.playSound=b.playSound,e.severityBasedStyleClass=b.severityBasedStyleClass,e.throwError=b.throwError,e.MessagesManager=_.MessagesManager,e.severities=E.severities,e.Message=function({closeButtonRenderer:e,detailRenderer:t,iconRenderer:n,index:r=-1,item:_,onClose:E,messageRef:F=(()=>{}),variant:p="pageBanner",translations:A}){const{closeAffordance:U="on",severity:f="error",sound:N,summary:x,timestamp:v}=_.data,{autoTimeout:y="off"}=_.data,M=function(e){return"pageBanner"===e||"sectionBanner"===e?"banner":"toast"}(p),h=a.useCallback(()=>{null==E||E(_)},[_,E]),j=a.useCallback(e=>{"Escape"===e.key&&"on"===U&&(null==E||E(_))},[U,_,E]),k="toast"===M&&"off"!==y,T=a.useRef(),I="on"===y?5e3:"number"==typeof y?y:5e3,B=a.useCallback(()=>{T.current||(T.current=new o.Timer(h,I))},[h,I]),C=a.useCallback(()=>{T.current&&(T.current.clear(),T.current=void 0)},[]),R=a.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.pause()},[]),V=a.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.resume()},[]);a.useEffect(()=>(u.isValidValueForProp(N)&&b.playSound(N),k&&B(),()=>{C()}),[]);const O=l.classNames([ye.base[M],"toast"!==p&&b.severityBasedStyleClass(f,M),"sectionBanner"===p&&ye.section]),P=l.classNames([ye.content.base,ye.content[M]]);return s.jsx("div",Object.assign({ref:F,class:O,role:"alert","aria-atomic":"true",tabIndex:0,onKeyUp:j,onfocusin:R,onfocusout:V},{children:s.jsxs("div",Object.assign({class:P},{children:[n?s.jsx(fe,{item:Object.assign(Object.assign({},_),{index:r}),renderer:n}):ve(f)?s.jsx(d.MessageStartIcon,{severity:f,variant:M,translations:A}):null,s.jsxs(S.Flex,Object.assign({direction:"column",flex:"1",gap:"--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x"},{children:[s.jsxs(xe,Object.assign({variant:M},{children:[s.jsx(g.MessageSummary,{variant:M,text:x}),u.isValidValueForProp(v,"timestamp")&&"toast"!==p&&s.jsx(m.MessageTimestamp,{variant:M,value:v})]})),s.jsx(c.MessageDetail,{variant:M,item:Object.assign(Object.assign({},_),{index:r}),renderer:t})]})),"on"===U&&s.jsx(i.MessageCloseButton,{buttonRenderer:e,title:null==A?void 0:A.close,variant:M,onAction:h})]}))}))},Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_Message.js.map