@oracle/oraclejet-preact 14.0.12 → 14.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1188) hide show
  1. package/amd/Badge-0be84246.js +2 -0
  2. package/amd/{Badge-b61e842b.js.map → Badge-0be84246.js.map} +1 -1
  3. package/amd/BaseButton-c0bee435.js +2 -0
  4. package/amd/{BaseButton-a9f0399e.js.map → BaseButton-c0bee435.js.map} +1 -1
  5. package/amd/Button-88e2683c.js +2 -0
  6. package/amd/{Button-d740fe69.js.map → Button-88e2683c.js.map} +1 -1
  7. package/amd/Chip-5f3711bc.js +2 -0
  8. package/amd/{Chip-e0cd5cb0.js.map → Chip-5f3711bc.js.map} +1 -1
  9. package/amd/ClearIcon-6ec20bda.js +2 -0
  10. package/amd/{ClearIcon-a0129581.js.map → ClearIcon-6ec20bda.js.map} +1 -1
  11. package/amd/{Collection-74a3195b.js → Collection-0cf06a50.js} +1 -1
  12. package/amd/{Collection-74a3195b.js.map → Collection-0cf06a50.js.map} +1 -1
  13. package/amd/ComponentMessage-3628eb9f.js +2 -0
  14. package/amd/{ComponentMessage-239291da.js.map → ComponentMessage-3628eb9f.js.map} +1 -1
  15. package/amd/ComponentMessageContainer-a1d1e15e.js +2 -0
  16. package/amd/{ComponentMessageContainer-dc9a906c.js.map → ComponentMessageContainer-a1d1e15e.js.map} +1 -1
  17. package/amd/Divider-778cfef6.js +2 -0
  18. package/amd/{Divider-4ce7fe23.js.map → Divider-778cfef6.js.map} +1 -1
  19. package/amd/{FilePicker-77d68174.js → FilePicker-f364c3c4.js} +2 -2
  20. package/amd/{FilePicker-77d68174.js.map → FilePicker-f364c3c4.js.map} +1 -1
  21. package/amd/Flex-f59e8f9a.js +2 -0
  22. package/amd/{Flex-ad2aa2ba.js.map → Flex-f59e8f9a.js.map} +1 -1
  23. package/amd/{Floating-32c0b2cb.js → Floating-2283f974.js} +2 -2
  24. package/amd/{Floating-32c0b2cb.js.map → Floating-2283f974.js.map} +1 -1
  25. package/amd/FocusTrap-1a3d4176.js +2 -0
  26. package/amd/{FocusTrap-3f302175.js.map → FocusTrap-1a3d4176.js.map} +1 -1
  27. package/amd/FormControlUtils-a5f8e972.js +2 -0
  28. package/amd/{FormControlUtils-6750191c.js.map → FormControlUtils-a5f8e972.js.map} +1 -1
  29. package/amd/Heading-ab2bcb42.js +2 -0
  30. package/amd/{Heading-aa02030b.js.map → Heading-ab2bcb42.js.map} +1 -1
  31. package/amd/HiddenAccessible-fcfef48f.js +2 -0
  32. package/amd/{HiddenAccessible-194cd810.js.map → HiddenAccessible-fcfef48f.js.map} +1 -1
  33. package/amd/{HighlightText-e24ddb35.js → HighlightText-0c90bb28.js} +2 -2
  34. package/amd/{HighlightText-e24ddb35.js.map → HighlightText-0c90bb28.js.map} +1 -1
  35. package/amd/Icon-f239bdd4.js +2 -0
  36. package/amd/{Icon-b22fc5cc.js.map → Icon-f239bdd4.js.map} +1 -1
  37. package/amd/Indexer-0c3bb8b6.js +2 -0
  38. package/amd/{Indexer-2d2f23ad.js.map → Indexer-0c3bb8b6.js.map} +1 -1
  39. package/amd/{InlineHelpSource-772983c8.js → InlineHelpSource-60143cb9.js} +2 -2
  40. package/amd/{InlineHelpSource-772983c8.js.map → InlineHelpSource-60143cb9.js.map} +1 -1
  41. package/amd/Link-c804eabd.js +2 -0
  42. package/amd/{Link-b00323b8.js.map → Link-c804eabd.js.map} +1 -1
  43. package/amd/List-ef2d7cb3.js +2 -0
  44. package/amd/{List-77be7558.js.map → List-ef2d7cb3.js.map} +1 -1
  45. package/amd/ListItemTextLayout-e4b8ff9d.js +2 -0
  46. package/amd/{ListItemTextLayout-bcc20be8.js.map → ListItemTextLayout-e4b8ff9d.js.map} +1 -1
  47. package/amd/{ListView-9e0e604d.js → ListView-d08cd060.js} +2 -2
  48. package/amd/{ListView-9e0e604d.js.map → ListView-d08cd060.js.map} +1 -1
  49. package/amd/{LoadMoreCollection-5a9bbd3f.js → LoadMoreCollection-8378a9b8.js} +2 -2
  50. package/amd/{LoadMoreCollection-5a9bbd3f.js.map → LoadMoreCollection-8378a9b8.js.map} +1 -1
  51. package/amd/Menu-668ba0c6.js +2 -0
  52. package/amd/{Menu-4d4706b2.js.map → Menu-668ba0c6.js.map} +1 -1
  53. package/amd/MenuDivider-3d042815.js +2 -0
  54. package/amd/{MenuDivider-f72df4ce.js.map → MenuDivider-3d042815.js.map} +1 -1
  55. package/amd/MenuItem-f609dd6c.js +2 -0
  56. package/amd/{MenuItem-79f0a128.js.map → MenuItem-f609dd6c.js.map} +1 -1
  57. package/amd/{Message.types-a3e5fb46.js → Message.types-2bd652fe.js} +1 -1
  58. package/amd/{Message.types-a3e5fb46.js.map → Message.types-2bd652fe.js.map} +1 -1
  59. package/amd/MessageCloseButton-81de07b6.js +2 -0
  60. package/amd/{MessageCloseButton-1665fa36.js.map → MessageCloseButton-81de07b6.js.map} +1 -1
  61. package/amd/MessageDetail-6d596f28.js +2 -0
  62. package/amd/{MessageDetail-4c0bec0b.js.map → MessageDetail-6d596f28.js.map} +1 -1
  63. package/amd/{MessageFormattingUtils-a91ab6bf.js → MessageFormattingUtils-c720f198.js} +2 -2
  64. package/amd/{MessageFormattingUtils-a91ab6bf.js.map → MessageFormattingUtils-c720f198.js.map} +1 -1
  65. package/amd/MessageLayer-07b03424.js +2 -0
  66. package/amd/{MessageLayer-0a59c457.js.map → MessageLayer-07b03424.js.map} +1 -1
  67. package/amd/MessageStartIcon-35715e60.js +2 -0
  68. package/amd/{MessageStartIcon-25c6e9ad.js.map → MessageStartIcon-35715e60.js.map} +1 -1
  69. package/amd/MessageSummary-eb8190eb.js +2 -0
  70. package/amd/{MessageSummary-f0ca6a98.js.map → MessageSummary-eb8190eb.js.map} +1 -1
  71. package/amd/MessageTimestamp-c7dc22d9.js +2 -0
  72. package/amd/{MessageTimestamp-418e51f2.js.map → MessageTimestamp-c7dc22d9.js.map} +1 -1
  73. package/amd/MessageToast-f87f4808.js +2 -0
  74. package/amd/{MessageToast-617ec7f0.js.map → MessageToast-f87f4808.js.map} +1 -1
  75. package/amd/{MessageUtils-3a532c2b.js → MessageUtils-6a8ba9de.js} +2 -2
  76. package/amd/{MessageUtils-3a532c2b.js.map → MessageUtils-6a8ba9de.js.map} +1 -1
  77. package/amd/{MessagesManager-206a1555.js → MessagesManager-af292003.js} +2 -2
  78. package/amd/{MessagesManager-206a1555.js.map → MessagesManager-af292003.js.map} +1 -1
  79. package/amd/MeterCircle-2c036469.js +2 -0
  80. package/amd/{MeterCircle-12eb3e15.js.map → MeterCircle-2c036469.js.map} +1 -1
  81. package/amd/Modal-57512b69.js +2 -0
  82. package/amd/{Modal-09752cfe.js.map → Modal-57512b69.js.map} +1 -1
  83. package/amd/{NumberInputText-51c15f67.js → NumberInputText-9d8b9bf1.js} +2 -2
  84. package/amd/{NumberInputText-51c15f67.js.map → NumberInputText-9d8b9bf1.js.map} +1 -1
  85. package/amd/PRIVATE_Collection.js +1 -1
  86. package/amd/PRIVATE_List.css +15 -15
  87. package/amd/PRIVATE_List.js +1 -1
  88. package/amd/PRIVATE_Message.css +27 -27
  89. package/amd/PRIVATE_Message.js +1 -1
  90. package/amd/PRIVATE_Message.js.map +1 -1
  91. package/amd/PRIVATE_MessageLayer.css +7 -7
  92. package/amd/PRIVATE_MessageLayer.js +1 -1
  93. package/amd/PRIVATE_Meter.js +1 -1
  94. package/amd/PRIVATE_SelectCommon.css +13 -13
  95. package/amd/PRIVATE_SelectCommon.js +1 -1
  96. package/amd/PRIVATE_SelectCommon.js.map +1 -1
  97. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  98. package/amd/ReadonlyTextFieldInput-d60fe78e.js +2 -0
  99. package/amd/{ReadonlyTextFieldInput-9be66d63.js.map → ReadonlyTextFieldInput-d60fe78e.js.map} +1 -1
  100. package/amd/{SelectMenuItem-855a04a4.js → SelectMenuItem-521e29a5.js} +2 -2
  101. package/amd/{SelectMenuItem-855a04a4.js.map → SelectMenuItem-521e29a5.js.map} +1 -1
  102. package/amd/SelectMultiple-112aec1d.js +2 -0
  103. package/amd/{SelectMultiple-bd5d8100.js.map → SelectMultiple-112aec1d.js.map} +1 -1
  104. package/amd/{SelectSingle-5f6b39d6.js → SelectSingle-3114dcb1.js} +2 -2
  105. package/amd/{SelectSingle-5f6b39d6.js.map → SelectSingle-3114dcb1.js.map} +1 -1
  106. package/amd/Skeleton-e36a6a22.js +2 -0
  107. package/amd/{Skeleton-99392a6e.js.map → Skeleton-e36a6a22.js.map} +1 -1
  108. package/amd/{Spacer-333f664e.js → Spacer-65814616.js} +2 -2
  109. package/amd/{Spacer-333f664e.js.map → Spacer-65814616.js.map} +1 -1
  110. package/amd/SplitMenuButton-746cd46d.js +2 -0
  111. package/amd/{SplitMenuButton-65a2f4b0.js.map → SplitMenuButton-746cd46d.js.map} +1 -1
  112. package/amd/Text-b8786e25.js +2 -0
  113. package/amd/{Text-502bd83e.js.map → Text-b8786e25.js.map} +1 -1
  114. package/amd/TextArea-f47777d2.js +2 -0
  115. package/amd/{TextArea-0b759818.js.map → TextArea-f47777d2.js.map} +1 -1
  116. package/amd/{TextAreaAutosize-d31f8e2f.js → TextAreaAutosize-79717122.js} +2 -2
  117. package/amd/{TextAreaAutosize-d31f8e2f.js.map → TextAreaAutosize-79717122.js.map} +1 -1
  118. package/amd/TextFieldInput-a4cae09b.js +2 -0
  119. package/amd/{TextFieldInput-feab2bdd.js.map → TextFieldInput-a4cae09b.js.map} +1 -1
  120. package/amd/UNSAFE_AspectRatio.css +1 -1
  121. package/amd/UNSAFE_AspectRatio.js +1 -1
  122. package/amd/UNSAFE_Avatar.css +8 -8
  123. package/amd/UNSAFE_Avatar.js +1 -1
  124. package/amd/UNSAFE_Avatar.js.map +1 -1
  125. package/amd/UNSAFE_Badge.css +13 -13
  126. package/amd/UNSAFE_Badge.js +1 -1
  127. package/amd/UNSAFE_BaseButton.css +15 -15
  128. package/amd/UNSAFE_BaseButton.js +1 -1
  129. package/amd/UNSAFE_Button.css +8 -8
  130. package/amd/UNSAFE_Button.js +1 -1
  131. package/amd/UNSAFE_Center.js +1 -1
  132. package/amd/UNSAFE_Chip.css +7 -7
  133. package/amd/UNSAFE_Chip.js +1 -1
  134. package/amd/UNSAFE_Collapsible.css +8 -8
  135. package/amd/UNSAFE_Collapsible.js +1 -1
  136. package/amd/UNSAFE_Collapsible.js.map +1 -1
  137. package/amd/UNSAFE_ComponentMessage.css +2 -2
  138. package/amd/UNSAFE_ComponentMessage.js +1 -1
  139. package/amd/UNSAFE_Divider.css +1 -1
  140. package/amd/UNSAFE_Divider.js +1 -1
  141. package/amd/UNSAFE_FilePicker.css +6 -6
  142. package/amd/UNSAFE_FilePicker.js +1 -1
  143. package/amd/UNSAFE_Flex.css +2 -2
  144. package/amd/UNSAFE_Flex.js +1 -1
  145. package/amd/UNSAFE_Floating.js +1 -1
  146. package/amd/UNSAFE_FocusTrap.css +2 -2
  147. package/amd/UNSAFE_FocusTrap.js +1 -1
  148. package/amd/UNSAFE_Grid.css +1 -1
  149. package/amd/UNSAFE_Grid.js +1 -1
  150. package/amd/UNSAFE_Heading.css +9 -9
  151. package/amd/UNSAFE_Heading.js +1 -1
  152. package/amd/UNSAFE_HiddenAccessible.css +1 -1
  153. package/amd/UNSAFE_HiddenAccessible.js +1 -1
  154. package/amd/UNSAFE_HighlightText.css +1 -1
  155. package/amd/UNSAFE_HighlightText.js +1 -1
  156. package/amd/UNSAFE_Icon.css +21 -21
  157. package/amd/UNSAFE_Icon.js +1 -1
  158. package/amd/UNSAFE_Icons.js +1 -1
  159. package/amd/UNSAFE_Indexer.css +7 -7
  160. package/amd/UNSAFE_Indexer.js +1 -1
  161. package/amd/UNSAFE_InputPassword.css +1 -1
  162. package/amd/UNSAFE_InputPassword.js +1 -1
  163. package/amd/UNSAFE_InputText.css +1 -1
  164. package/amd/UNSAFE_InputText.js +1 -1
  165. package/amd/UNSAFE_Label.css +13 -13
  166. package/amd/UNSAFE_Label.js +1 -1
  167. package/amd/UNSAFE_Label.js.map +1 -1
  168. package/amd/UNSAFE_LabelValueLayout.css +9 -9
  169. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  170. package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
  171. package/amd/UNSAFE_Link.css +5 -5
  172. package/amd/UNSAFE_Link.js +1 -1
  173. package/amd/UNSAFE_ListItemLayout.css +9 -9
  174. package/amd/UNSAFE_ListItemLayout.js +1 -1
  175. package/amd/UNSAFE_ListView.js +1 -1
  176. package/amd/UNSAFE_LiveRegion.css +1 -1
  177. package/amd/UNSAFE_LiveRegion.js +1 -1
  178. package/amd/UNSAFE_LiveRegion.js.map +1 -1
  179. package/amd/UNSAFE_LoadMoreCollection.js +1 -1
  180. package/amd/UNSAFE_Menu.css +17 -17
  181. package/amd/UNSAFE_Menu.js +1 -1
  182. package/amd/UNSAFE_MessageBanner.js +1 -1
  183. package/amd/UNSAFE_MessageToast.css +1 -1
  184. package/amd/UNSAFE_MessageToast.js +1 -1
  185. package/amd/UNSAFE_MeterBar.css +43 -43
  186. package/amd/UNSAFE_MeterBar.js +1 -1
  187. package/amd/UNSAFE_MeterBar.js.map +1 -1
  188. package/amd/UNSAFE_MeterCircle.css +46 -46
  189. package/amd/UNSAFE_MeterCircle.js +1 -1
  190. package/amd/UNSAFE_Modal.css +3 -3
  191. package/amd/UNSAFE_Modal.js +1 -1
  192. package/amd/UNSAFE_NumberInputText.js +1 -1
  193. package/amd/UNSAFE_PrefixSuffix.css +8 -8
  194. package/amd/UNSAFE_PrefixSuffix.js +1 -1
  195. package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
  196. package/amd/UNSAFE_ProgressBar.css +6 -6
  197. package/amd/UNSAFE_ProgressBar.js +1 -1
  198. package/amd/UNSAFE_ProgressBar.js.map +1 -1
  199. package/amd/UNSAFE_ProgressCircle.css +6 -6
  200. package/amd/UNSAFE_ProgressCircle.js +1 -1
  201. package/amd/UNSAFE_ProgressCircle.js.map +1 -1
  202. package/amd/UNSAFE_RatingGauge.css +20 -20
  203. package/amd/UNSAFE_RatingGauge.js +1 -1
  204. package/amd/UNSAFE_RatingGauge.js.map +1 -1
  205. package/amd/UNSAFE_SelectMultiple.css +1 -1
  206. package/amd/UNSAFE_SelectMultiple.js +1 -1
  207. package/amd/UNSAFE_SelectSingle.js +1 -1
  208. package/amd/UNSAFE_Selector.css +5 -5
  209. package/amd/UNSAFE_Selector.js +1 -1
  210. package/amd/UNSAFE_Selector.js.map +1 -1
  211. package/amd/UNSAFE_Skeleton.css +1 -1
  212. package/amd/UNSAFE_Skeleton.js +1 -1
  213. package/amd/UNSAFE_Spacer.js +1 -1
  214. package/amd/UNSAFE_SplitMenuButton.css +5 -5
  215. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  216. package/amd/UNSAFE_Text.css +25 -25
  217. package/amd/UNSAFE_Text.js +1 -1
  218. package/amd/UNSAFE_TextArea.css +3 -3
  219. package/amd/UNSAFE_TextArea.js +1 -1
  220. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  221. package/amd/UNSAFE_TextField.css +58 -58
  222. package/amd/UNSAFE_TextField.js +1 -1
  223. package/amd/UNSAFE_TextField.js.map +1 -1
  224. package/amd/UNSAFE_ThemedIcons.js +1 -1
  225. package/amd/UNSAFE_UserAssistance.css +8 -8
  226. package/amd/UNSAFE_UserAssistance.js +1 -1
  227. package/amd/UNSAFE_UserAssistance.js.map +1 -1
  228. package/amd/UNSAFE_View.js +1 -1
  229. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  230. package/amd/{VirtualizedCollection-5fbe4caf.js → VirtualizedCollection-6f661aad.js} +2 -2
  231. package/amd/{VirtualizedCollection-5fbe4caf.js.map → VirtualizedCollection-6f661aad.js.map} +1 -1
  232. package/amd/{VirtualizedListView-6b8d2340.js → VirtualizedListView-4e250a9b.js} +2 -2
  233. package/amd/{VirtualizedListView-6b8d2340.js.map → VirtualizedListView-4e250a9b.js.map} +1 -1
  234. package/amd/{_curry1-09e867d1.js → _curry1-dae9baa7.js} +1 -1
  235. package/amd/{_curry1-09e867d1.js.map → _curry1-dae9baa7.js.map} +1 -1
  236. package/amd/{_curry2-1eb1b543.js → _curry2-be3541de.js} +2 -2
  237. package/amd/{_curry2-1eb1b543.js.map → _curry2-be3541de.js.map} +1 -1
  238. package/amd/{_curry3-a0ce6913.js → _curry3-092c8c32.js} +2 -2
  239. package/amd/{_curry3-a0ce6913.js.map → _curry3-092c8c32.js.map} +1 -1
  240. package/amd/_has-0f123a68.js +2 -0
  241. package/amd/{_has-2e2dd4e6.js.map → _has-0f123a68.js.map} +1 -1
  242. package/amd/{classNames-d5d12bff.js → classNames-745408c7.js} +1 -1
  243. package/amd/{classNames-d5d12bff.js.map → classNames-745408c7.js.map} +1 -1
  244. package/amd/{clientHints-1b249278.js → clientHints-a61109c7.js} +1 -1
  245. package/amd/{clientHints-1b249278.js.map → clientHints-a61109c7.js.map} +1 -1
  246. package/amd/flexbox-1e550203.js +2 -0
  247. package/amd/{flexbox-173f4592.js.map → flexbox-1e550203.js.map} +1 -1
  248. package/amd/flexitem-c8b9198a.js +2 -0
  249. package/amd/{flexitem-63382eaa.js.map → flexitem-c8b9198a.js.map} +1 -1
  250. package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
  251. package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
  252. package/amd/hooks/UNSAFE_useAnimation.js +1 -1
  253. package/amd/hooks/UNSAFE_useFloating.js +1 -1
  254. package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
  255. package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
  256. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  257. package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  258. package/amd/hooks/UNSAFE_useTooltip.css +4 -4
  259. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  260. package/amd/hooks/UNSAFE_useTooltip.js.map +1 -1
  261. package/amd/{index-abc0a1d9.js → index-42ae4639.js} +2 -2
  262. package/amd/{index-abc0a1d9.js.map → index-42ae4639.js.map} +1 -1
  263. package/amd/{index-f5139f5e.js → index-862af5af.js} +1 -1
  264. package/amd/{index-f5139f5e.js.map → index-862af5af.js.map} +1 -1
  265. package/amd/{index-7386ed78.js → index-a8197f60.js} +2 -2
  266. package/amd/{index-7386ed78.js.map → index-a8197f60.js.map} +1 -1
  267. package/amd/{keys-a14c56a7.js → keys-6ad0ac73.js} +2 -2
  268. package/amd/{keys-a14c56a7.js.map → keys-6ad0ac73.js.map} +1 -1
  269. package/amd/{listViewSelectionTests-7a9a5ebc.js → listViewSelectionTests-4a3bfa18.js} +2 -2
  270. package/amd/{listViewSelectionTests-7a9a5ebc.js.map → listViewSelectionTests-4a3bfa18.js.map} +1 -1
  271. package/amd/{listViewTabbableModeTests-008fd935.js → listViewTabbableModeTests-c57e90b3.js} +2 -2
  272. package/amd/{listViewTabbableModeTests-008fd935.js.map → listViewTabbableModeTests-c57e90b3.js.map} +1 -1
  273. package/amd/{listViewTestFixtures-d988fa97.js → listViewTestFixtures-987dcfd9.js} +1 -1
  274. package/amd/{listViewTestFixtures-d988fa97.js.map → listViewTestFixtures-987dcfd9.js.map} +1 -1
  275. package/amd/{menuTestsUtils-1908272a.js → menuTestsUtils-b8d91a4d.js} +1 -1
  276. package/amd/{menuTestsUtils-1908272a.js.map → menuTestsUtils-b8d91a4d.js.map} +1 -1
  277. package/amd/resources/nls/ar/bundle.js.map +1 -1
  278. package/amd/resources/nls/ar-XB/bundle.js.map +1 -1
  279. package/amd/resources/nls/bg/bundle.js.map +1 -1
  280. package/amd/resources/nls/bs/bundle.js.map +1 -1
  281. package/amd/resources/nls/bs-Cyrl/bundle.js.map +1 -1
  282. package/amd/resources/nls/bundle.js.map +1 -1
  283. package/amd/resources/nls/cs/bundle.js.map +1 -1
  284. package/amd/resources/nls/da/bundle.js.map +1 -1
  285. package/amd/resources/nls/de/bundle.js.map +1 -1
  286. package/amd/resources/nls/el/bundle.js.map +1 -1
  287. package/amd/resources/nls/en/bundle.js.map +1 -1
  288. package/amd/resources/nls/en-XA/bundle.js.map +1 -1
  289. package/amd/resources/nls/en-XC/bundle.js.map +1 -1
  290. package/amd/resources/nls/es/bundle.js.map +1 -1
  291. package/amd/resources/nls/et/bundle.js.map +1 -1
  292. package/amd/resources/nls/fi/bundle.js.map +1 -1
  293. package/amd/resources/nls/fr/bundle.js.map +1 -1
  294. package/amd/resources/nls/fr-CA/bundle.js.map +1 -1
  295. package/amd/resources/nls/he/bundle.js.map +1 -1
  296. package/amd/resources/nls/hr/bundle.js.map +1 -1
  297. package/amd/resources/nls/hu/bundle.js.map +1 -1
  298. package/amd/resources/nls/is/bundle.js.map +1 -1
  299. package/amd/resources/nls/it/bundle.js.map +1 -1
  300. package/amd/resources/nls/ja/bundle.js.map +1 -1
  301. package/amd/resources/nls/ko/bundle.js.map +1 -1
  302. package/amd/resources/nls/lt/bundle.js.map +1 -1
  303. package/amd/resources/nls/lv/bundle.js.map +1 -1
  304. package/amd/resources/nls/ms/bundle.js.map +1 -1
  305. package/amd/resources/nls/nl/bundle.js.map +1 -1
  306. package/amd/resources/nls/no/bundle.js.map +1 -1
  307. package/amd/resources/nls/pl/bundle.js.map +1 -1
  308. package/amd/resources/nls/pt/bundle.js.map +1 -1
  309. package/amd/resources/nls/pt-PT/bundle.js.map +1 -1
  310. package/amd/resources/nls/ro/bundle.js.map +1 -1
  311. package/amd/resources/nls/ru/bundle.js.map +1 -1
  312. package/amd/resources/nls/sk/bundle.js.map +1 -1
  313. package/amd/resources/nls/sl/bundle.js.map +1 -1
  314. package/amd/resources/nls/sr/bundle.js.map +1 -1
  315. package/amd/resources/nls/sr-Latn/bundle.js.map +1 -1
  316. package/amd/resources/nls/sv/bundle.js.map +1 -1
  317. package/amd/resources/nls/th/bundle.js.map +1 -1
  318. package/amd/resources/nls/tr/bundle.js.map +1 -1
  319. package/amd/resources/nls/uk/bundle.js.map +1 -1
  320. package/amd/resources/nls/vi/bundle.js.map +1 -1
  321. package/amd/resources/nls/zh-Hans/bundle.js.map +1 -1
  322. package/amd/resources/nls/zh-Hant/bundle.js.map +1 -1
  323. package/amd/{stringUtils-0dad61f0.js → stringUtils-d817053c.js} +1 -1
  324. package/amd/{stringUtils-0dad61f0.js.map → stringUtils-d817053c.js.map} +1 -1
  325. package/amd/{testHelpers-ca9a2d70.js → testHelpers-8c3bb20d.js} +1 -1
  326. package/amd/{testHelpers-ca9a2d70.js.map → testHelpers-8c3bb20d.js.map} +1 -1
  327. package/amd/{tslib.es6-4be59e45.js → tslib.es6-30a906db.js} +1 -1
  328. package/amd/{tslib.es6-4be59e45.js.map → tslib.es6-30a906db.js.map} +1 -1
  329. package/amd/useAnimation-af00e362.js +2 -0
  330. package/amd/{useAnimation-c3973fa7.js.map → useAnimation-af00e362.js.map} +1 -1
  331. package/amd/{useFocusWithin-9e2e7a4d.js → useFocusWithin-f1d5b8eb.js} +1 -1
  332. package/amd/{useFocusWithin-9e2e7a4d.js.map → useFocusWithin-f1d5b8eb.js.map} +1 -1
  333. package/amd/{useSingleSelection-6286405a.js → useSingleSelection-d5187708.js} +1 -1
  334. package/amd/{useSingleSelection-6286405a.js.map → useSingleSelection-d5187708.js.map} +1 -1
  335. package/amd/utils/PRIVATE_clientHints.js +1 -1
  336. package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
  337. package/amd/utils/UNSAFE_classNames.js +1 -1
  338. package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  339. package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
  340. package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  341. package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
  342. package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
  343. package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
  344. package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
  345. package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
  346. package/amd/utils/UNSAFE_interpolations/text.css +3 -3
  347. package/amd/utils/UNSAFE_interpolations/text.js +1 -1
  348. package/amd/utils/UNSAFE_logger.js +1 -1
  349. package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
  350. package/amd/utils/UNSAFE_stringUtils.js +1 -1
  351. package/amd/utils/UNSAFE_units.js +1 -1
  352. package/cjs/{Badge-9c539d9b.js → Badge-89fac227.js} +16 -16
  353. package/cjs/{Badge-9c539d9b.js.map → Badge-89fac227.js.map} +1 -1
  354. package/cjs/{BaseButton-8a6255fe.js → BaseButton-feee8469.js} +20 -20
  355. package/cjs/{BaseButton-8a6255fe.js.map → BaseButton-feee8469.js.map} +1 -1
  356. package/cjs/{Button-11c818c7.js → Button-b053de2d.js} +13 -13
  357. package/cjs/{Button-11c818c7.js.map → Button-b053de2d.js.map} +1 -1
  358. package/cjs/{Chip-76e9f138.js → Chip-63a6a53f.js} +10 -10
  359. package/cjs/{Chip-76e9f138.js.map → Chip-63a6a53f.js.map} +1 -1
  360. package/cjs/{ClearIcon-87fabc6e.js → ClearIcon-ea06ed2b.js} +3 -3
  361. package/cjs/{ClearIcon-87fabc6e.js.map → ClearIcon-ea06ed2b.js.map} +1 -1
  362. package/cjs/{Collection-d3b3bce6.js → Collection-4fa01799.js} +2 -2
  363. package/cjs/{Collection-d3b3bce6.js.map → Collection-4fa01799.js.map} +1 -1
  364. package/cjs/{ComponentMessage-95b8f9fe.js → ComponentMessage-33d8263e.js} +8 -8
  365. package/cjs/{ComponentMessage-95b8f9fe.js.map → ComponentMessage-33d8263e.js.map} +1 -1
  366. package/cjs/{ComponentMessageContainer-17d09cf4.js → ComponentMessageContainer-bc1ae022.js} +5 -5
  367. package/cjs/{ComponentMessageContainer-17d09cf4.js.map → ComponentMessageContainer-bc1ae022.js.map} +1 -1
  368. package/cjs/{Divider-c2906bf7.js → Divider-c8cf7389.js} +3 -3
  369. package/cjs/{Divider-c2906bf7.js.map → Divider-c8cf7389.js.map} +1 -1
  370. package/cjs/{FilePicker-f92fad3b.js → FilePicker-bb0ea408.js} +14 -14
  371. package/cjs/{FilePicker-f92fad3b.js.map → FilePicker-bb0ea408.js.map} +1 -1
  372. package/cjs/{Flex-e97fcf61.js → Flex-3c1d155f.js} +8 -8
  373. package/cjs/{Flex-e97fcf61.js.map → Flex-3c1d155f.js.map} +1 -1
  374. package/cjs/{Floating-90ed02ef.js → Floating-543a7b40.js} +3 -3
  375. package/cjs/{Floating-90ed02ef.js.map → Floating-543a7b40.js.map} +1 -1
  376. package/cjs/{FocusTrap-db4811f4.js → FocusTrap-0b8c7406.js} +5 -5
  377. package/cjs/{FocusTrap-db4811f4.js.map → FocusTrap-0b8c7406.js.map} +1 -1
  378. package/cjs/{FormControlUtils-67a74016.js → FormControlUtils-17832e47.js} +5 -5
  379. package/cjs/{FormControlUtils-67a74016.js.map → FormControlUtils-17832e47.js.map} +1 -1
  380. package/cjs/{Heading-239b067a.js → Heading-9e2e484f.js} +13 -13
  381. package/cjs/{Heading-239b067a.js.map → Heading-9e2e484f.js.map} +1 -1
  382. package/cjs/{HiddenAccessible-032c3a01.js → HiddenAccessible-a1be40c8.js} +3 -3
  383. package/cjs/{HiddenAccessible-032c3a01.js.map → HiddenAccessible-a1be40c8.js.map} +1 -1
  384. package/cjs/{HighlightText-7e90cf95.js → HighlightText-44c34d0f.js} +3 -3
  385. package/cjs/{HighlightText-7e90cf95.js.map → HighlightText-44c34d0f.js.map} +1 -1
  386. package/cjs/{Icon-12ceb9f7.js → Icon-8499d3bb.js} +25 -25
  387. package/cjs/{Icon-12ceb9f7.js.map → Icon-8499d3bb.js.map} +1 -1
  388. package/cjs/{Indexer-78fae776.js → Indexer-45713b8a.js} +16 -16
  389. package/cjs/{Indexer-78fae776.js.map → Indexer-45713b8a.js.map} +1 -1
  390. package/cjs/{InlineHelpSource-188b3e76.js → InlineHelpSource-50a43912.js} +3 -3
  391. package/cjs/{InlineHelpSource-188b3e76.js.map → InlineHelpSource-50a43912.js.map} +1 -1
  392. package/cjs/{Link-b2bb7549.js → Link-353cc8fa.js} +8 -8
  393. package/cjs/{Link-b2bb7549.js.map → Link-353cc8fa.js.map} +1 -1
  394. package/cjs/{List-f99f686b.js → List-2ab9faf6.js} +23 -23
  395. package/cjs/{List-f99f686b.js.map → List-2ab9faf6.js.map} +1 -1
  396. package/cjs/{ListItemTextLayout-9db369a8.js → ListItemTextLayout-61648289.js} +13 -13
  397. package/cjs/{ListItemTextLayout-9db369a8.js.map → ListItemTextLayout-61648289.js.map} +1 -1
  398. package/cjs/{ListView-cc445326.js → ListView-1a38e148.js} +3 -3
  399. package/cjs/{ListView-cc445326.js.map → ListView-1a38e148.js.map} +1 -1
  400. package/cjs/{LoadMoreCollection-c28c3f93.js → LoadMoreCollection-ce9bcc14.js} +3 -3
  401. package/cjs/{LoadMoreCollection-c28c3f93.js.map → LoadMoreCollection-ce9bcc14.js.map} +1 -1
  402. package/cjs/{Menu-e0498161.js → Menu-7021c0be.js} +6 -6
  403. package/cjs/{Menu-e0498161.js.map → Menu-7021c0be.js.map} +1 -1
  404. package/cjs/{MenuDivider-1ea8a0ea.js → MenuDivider-d4843040.js} +4 -4
  405. package/cjs/{MenuDivider-1ea8a0ea.js.map → MenuDivider-d4843040.js.map} +1 -1
  406. package/cjs/{MenuItem-ca7c3031.js → MenuItem-c3779680.js} +19 -19
  407. package/cjs/{MenuItem-ca7c3031.js.map → MenuItem-c3779680.js.map} +1 -1
  408. package/cjs/{Message.types-c4a698c9.js → Message.types-5c8f1be2.js} +2 -2
  409. package/cjs/{Message.types-c4a698c9.js.map → Message.types-5c8f1be2.js.map} +1 -1
  410. package/cjs/{MessageCloseButton-f6800ac3.js → MessageCloseButton-e90c2d37.js} +9 -9
  411. package/cjs/{MessageCloseButton-f6800ac3.js.map → MessageCloseButton-e90c2d37.js.map} +1 -1
  412. package/cjs/{MessageDetail-1f4c6371.js → MessageDetail-3e18947e.js} +7 -7
  413. package/cjs/{MessageDetail-1f4c6371.js.map → MessageDetail-3e18947e.js.map} +1 -1
  414. package/cjs/{MessageFormattingUtils-7f535881.js → MessageFormattingUtils-80cc74a6.js} +4 -4
  415. package/cjs/{MessageFormattingUtils-7f535881.js.map → MessageFormattingUtils-80cc74a6.js.map} +1 -1
  416. package/cjs/{MessageLayer-6c2570a5.js → MessageLayer-4e959a67.js} +11 -11
  417. package/cjs/{MessageLayer-6c2570a5.js.map → MessageLayer-4e959a67.js.map} +1 -1
  418. package/cjs/{MessageStartIcon-1bf30ed8.js → MessageStartIcon-89755479.js} +11 -11
  419. package/cjs/{MessageStartIcon-1bf30ed8.js.map → MessageStartIcon-89755479.js.map} +1 -1
  420. package/cjs/{MessageSummary-8ea6ef13.js → MessageSummary-8e8d93ad.js} +7 -7
  421. package/cjs/{MessageSummary-8ea6ef13.js.map → MessageSummary-8e8d93ad.js.map} +1 -1
  422. package/cjs/{MessageTimestamp-e242e20c.js → MessageTimestamp-35ff3932.js} +5 -5
  423. package/cjs/{MessageTimestamp-e242e20c.js.map → MessageTimestamp-35ff3932.js.map} +1 -1
  424. package/cjs/{MessageToast-22eedcae.js → MessageToast-183f4b0a.js} +9 -9
  425. package/cjs/{MessageToast-22eedcae.js.map → MessageToast-183f4b0a.js.map} +1 -1
  426. package/cjs/{MessageUtils-87844fb6.js → MessageUtils-9f6976ca.js} +3 -3
  427. package/cjs/{MessageUtils-87844fb6.js.map → MessageUtils-9f6976ca.js.map} +1 -1
  428. package/cjs/{MessagesManager-fc1af157.js → MessagesManager-dc384390.js} +4 -4
  429. package/cjs/{MessagesManager-fc1af157.js.map → MessagesManager-dc384390.js.map} +1 -1
  430. package/cjs/{MeterCircle-470d762c.js → MeterCircle-f319ddc0.js} +50 -50
  431. package/cjs/{MeterCircle-470d762c.js.map → MeterCircle-f319ddc0.js.map} +1 -1
  432. package/cjs/{Modal-6ebef5f5.js → Modal-52f2aae3.js} +6 -6
  433. package/cjs/{Modal-6ebef5f5.js.map → Modal-52f2aae3.js.map} +1 -1
  434. package/cjs/{NumberInputText-0c628887.js → NumberInputText-0e652062.js} +7 -7
  435. package/cjs/{NumberInputText-0c628887.js.map → NumberInputText-0e652062.js.map} +1 -1
  436. package/cjs/PRIVATE_Collection.js +2 -2
  437. package/cjs/PRIVATE_List.js +23 -23
  438. package/cjs/PRIVATE_Message.js +41 -41
  439. package/cjs/PRIVATE_Message.js.map +1 -1
  440. package/cjs/PRIVATE_MessageLayer.js +12 -12
  441. package/cjs/PRIVATE_Meter.js +2 -2
  442. package/cjs/PRIVATE_SelectCommon.js +54 -54
  443. package/cjs/PRIVATE_SelectCommon.js.map +1 -1
  444. package/cjs/PRIVATE_TransitionGroup.js +1 -1
  445. package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
  446. package/cjs/{ReadonlyTextFieldInput-c894b013.js → ReadonlyTextFieldInput-ac526b40.js} +13 -13
  447. package/cjs/{ReadonlyTextFieldInput-c894b013.js.map → ReadonlyTextFieldInput-ac526b40.js.map} +1 -1
  448. package/cjs/{SelectMenuItem-aba5b230.js → SelectMenuItem-8b4d978c.js} +5 -5
  449. package/cjs/{SelectMenuItem-aba5b230.js.map → SelectMenuItem-8b4d978c.js.map} +1 -1
  450. package/cjs/{SelectMultiple-04878bad.js → SelectMultiple-23751744.js} +8 -8
  451. package/cjs/{SelectMultiple-04878bad.js.map → SelectMultiple-23751744.js.map} +1 -1
  452. package/cjs/{SelectSingle-78f4ad34.js → SelectSingle-fb8692c8.js} +4 -4
  453. package/cjs/{SelectSingle-78f4ad34.js.map → SelectSingle-fb8692c8.js.map} +1 -1
  454. package/cjs/{Skeleton-845dbcaf.js → Skeleton-6265b202.js} +5 -5
  455. package/cjs/{Skeleton-845dbcaf.js.map → Skeleton-6265b202.js.map} +1 -1
  456. package/cjs/{Spacer-a69a60c2.js → Spacer-b25a14ce.js} +4 -4
  457. package/cjs/{Spacer-a69a60c2.js.map → Spacer-b25a14ce.js.map} +1 -1
  458. package/cjs/{SplitMenuButton-58cd0d72.js → SplitMenuButton-26087160.js} +14 -14
  459. package/cjs/{SplitMenuButton-58cd0d72.js.map → SplitMenuButton-26087160.js.map} +1 -1
  460. package/cjs/{Text-edba1d3e.js → Text-1afd9ceb.js} +28 -28
  461. package/cjs/{Text-edba1d3e.js.map → Text-1afd9ceb.js.map} +1 -1
  462. package/cjs/{TextArea-5cae5d12.js → TextArea-5d470fc8.js} +8 -8
  463. package/cjs/{TextArea-5cae5d12.js.map → TextArea-5d470fc8.js.map} +1 -1
  464. package/cjs/{TextAreaAutosize-6edfe429.js → TextAreaAutosize-97916b75.js} +5 -5
  465. package/cjs/{TextAreaAutosize-6edfe429.js.map → TextAreaAutosize-97916b75.js.map} +1 -1
  466. package/cjs/{TextFieldInput-232676d1.js → TextFieldInput-a96befea.js} +33 -33
  467. package/cjs/{TextFieldInput-232676d1.js.map → TextFieldInput-a96befea.js.map} +1 -1
  468. package/cjs/UNSAFE_AspectRatio.js +8 -8
  469. package/cjs/UNSAFE_AspectRatio.js.map +1 -1
  470. package/cjs/UNSAFE_Avatar.js +11 -11
  471. package/cjs/UNSAFE_Avatar.js.map +1 -1
  472. package/cjs/UNSAFE_Badge.js +3 -3
  473. package/cjs/UNSAFE_BaseButton.js +9 -9
  474. package/cjs/UNSAFE_Button.js +10 -10
  475. package/cjs/UNSAFE_Center.js +11 -11
  476. package/cjs/UNSAFE_Chip.js +3 -3
  477. package/cjs/UNSAFE_Collapsible.js +26 -26
  478. package/cjs/UNSAFE_Collapsible.js.map +1 -1
  479. package/cjs/UNSAFE_Collection.js +1 -1
  480. package/cjs/UNSAFE_ComponentMessage.js +33 -33
  481. package/cjs/UNSAFE_Divider.js +7 -7
  482. package/cjs/UNSAFE_EmptyList.js +1 -1
  483. package/cjs/UNSAFE_Environment.js +1 -1
  484. package/cjs/UNSAFE_FilePicker.js +14 -14
  485. package/cjs/UNSAFE_Flex.js +11 -11
  486. package/cjs/UNSAFE_Floating.js +3 -3
  487. package/cjs/UNSAFE_FocusTrap.js +6 -6
  488. package/cjs/UNSAFE_Grid.js +9 -9
  489. package/cjs/UNSAFE_Heading.js +9 -9
  490. package/cjs/UNSAFE_HiddenAccessible.js +2 -2
  491. package/cjs/UNSAFE_HighlightText.js +2 -2
  492. package/cjs/UNSAFE_Icon.js +7 -7
  493. package/cjs/UNSAFE_Icons.js +8 -8
  494. package/cjs/UNSAFE_Indexer.js +16 -16
  495. package/cjs/UNSAFE_InputPassword.js +40 -40
  496. package/cjs/UNSAFE_InputText.js +39 -39
  497. package/cjs/UNSAFE_Label.js +16 -16
  498. package/cjs/UNSAFE_Label.js.map +1 -1
  499. package/cjs/UNSAFE_LabelValueLayout.js +20 -20
  500. package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
  501. package/cjs/UNSAFE_Layer.js +1 -1
  502. package/cjs/UNSAFE_Link.js +3 -3
  503. package/cjs/UNSAFE_ListItemLayout.js +10 -10
  504. package/cjs/UNSAFE_ListView.js +24 -24
  505. package/cjs/UNSAFE_LiveRegion.js +2 -2
  506. package/cjs/UNSAFE_LiveRegion.js.map +1 -1
  507. package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
  508. package/cjs/UNSAFE_Menu.js +15 -15
  509. package/cjs/UNSAFE_MessageBanner.js +30 -30
  510. package/cjs/UNSAFE_MessageToast.js +33 -33
  511. package/cjs/UNSAFE_MeterBar.js +49 -49
  512. package/cjs/UNSAFE_MeterBar.js.map +1 -1
  513. package/cjs/UNSAFE_MeterCircle.js +7 -7
  514. package/cjs/UNSAFE_Modal.js +7 -7
  515. package/cjs/UNSAFE_NumberInputText.js +39 -39
  516. package/cjs/UNSAFE_PrefixSuffix.js +10 -10
  517. package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
  518. package/cjs/UNSAFE_ProgressBar.js +9 -9
  519. package/cjs/UNSAFE_ProgressBar.js.map +1 -1
  520. package/cjs/UNSAFE_ProgressCircle.js +9 -9
  521. package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
  522. package/cjs/UNSAFE_RatingGauge.js +26 -26
  523. package/cjs/UNSAFE_RatingGauge.js.map +1 -1
  524. package/cjs/UNSAFE_SelectMultiple.js +47 -47
  525. package/cjs/UNSAFE_SelectSingle.js +46 -46
  526. package/cjs/UNSAFE_Selector.js +22 -22
  527. package/cjs/UNSAFE_Selector.js.map +1 -1
  528. package/cjs/UNSAFE_Skeleton.js +8 -8
  529. package/cjs/UNSAFE_Spacer.js +10 -10
  530. package/cjs/UNSAFE_SplitMenuButton.js +22 -22
  531. package/cjs/UNSAFE_Text.js +8 -8
  532. package/cjs/UNSAFE_TextArea.js +39 -39
  533. package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
  534. package/cjs/UNSAFE_TextField.js +35 -35
  535. package/cjs/UNSAFE_TextField.js.map +1 -1
  536. package/cjs/UNSAFE_ThemedIcons.js +9 -9
  537. package/cjs/UNSAFE_UserAssistance.js +41 -41
  538. package/cjs/UNSAFE_UserAssistance.js.map +1 -1
  539. package/cjs/UNSAFE_View.js +9 -9
  540. package/cjs/UNSAFE_VirtualizedListView.js +24 -24
  541. package/cjs/UNSAFE_WindowOverlay.js +1 -1
  542. package/cjs/{VirtualizedCollection-dc8e7990.js → VirtualizedCollection-d2afe62f.js} +3 -3
  543. package/cjs/{VirtualizedCollection-dc8e7990.js.map → VirtualizedCollection-d2afe62f.js.map} +1 -1
  544. package/cjs/{VirtualizedListView-8c4e4dc1.js → VirtualizedListView-27d825ca.js} +3 -3
  545. package/cjs/{VirtualizedListView-8c4e4dc1.js.map → VirtualizedListView-27d825ca.js.map} +1 -1
  546. package/cjs/{_curry1-f9c3180c.js → _curry1-2ca42ac1.js} +2 -2
  547. package/cjs/{_curry1-f9c3180c.js.map → _curry1-2ca42ac1.js.map} +1 -1
  548. package/cjs/{_curry2-ad00fb4c.js → _curry2-0ce9dfd3.js} +3 -3
  549. package/cjs/{_curry2-ad00fb4c.js.map → _curry2-0ce9dfd3.js.map} +1 -1
  550. package/cjs/{_curry3-b8e1c014.js → _curry3-20134a4d.js} +4 -4
  551. package/cjs/{_curry3-b8e1c014.js.map → _curry3-20134a4d.js.map} +1 -1
  552. package/cjs/{_has-fc4b8585.js → _has-44378853.js} +3 -3
  553. package/cjs/{_has-fc4b8585.js.map → _has-44378853.js.map} +1 -1
  554. package/cjs/{classNames-fb6466b2.js → classNames-c23b5e17.js} +2 -2
  555. package/cjs/{classNames-fb6466b2.js.map → classNames-c23b5e17.js.map} +1 -1
  556. package/cjs/{clientHints-e4650c83.js → clientHints-49087a7e.js} +2 -2
  557. package/cjs/{clientHints-e4650c83.js.map → clientHints-49087a7e.js.map} +1 -1
  558. package/cjs/{flexbox-b0d057b5.js → flexbox-4478de27.js} +10 -10
  559. package/cjs/{flexbox-b0d057b5.js.map → flexbox-4478de27.js.map} +1 -1
  560. package/cjs/{flexitem-4d8ef097.js → flexitem-113e0240.js} +10 -10
  561. package/cjs/{flexitem-4d8ef097.js.map → flexitem-113e0240.js.map} +1 -1
  562. package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  563. package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
  564. package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
  565. package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
  566. package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  567. package/cjs/hooks/PRIVATE_useSelection.js +1 -1
  568. package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
  569. package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  570. package/cjs/hooks/UNSAFE_useActionable.js +1 -1
  571. package/cjs/hooks/UNSAFE_useActive.js +1 -1
  572. package/cjs/hooks/UNSAFE_useAnimation.js +3 -3
  573. package/cjs/hooks/UNSAFE_useBreakpointValues.js +1 -1
  574. package/cjs/hooks/UNSAFE_useBreakpoints.js +1 -1
  575. package/cjs/hooks/UNSAFE_useClearIcon.js +1 -1
  576. package/cjs/hooks/UNSAFE_useColorScheme.js +1 -1
  577. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  578. package/cjs/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  579. package/cjs/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  580. package/cjs/hooks/UNSAFE_useDebounce.js +1 -1
  581. package/cjs/hooks/UNSAFE_useFloating.js +2 -2
  582. package/cjs/hooks/UNSAFE_useFocus.js +1 -1
  583. package/cjs/hooks/UNSAFE_useFocusWithin.js +2 -2
  584. package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
  585. package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
  586. package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
  587. package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
  588. package/cjs/hooks/UNSAFE_useHover.js +1 -1
  589. package/cjs/hooks/UNSAFE_useId.js +1 -1
  590. package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
  591. package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  592. package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
  593. package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
  594. package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
  595. package/cjs/hooks/UNSAFE_usePan.js +1 -1
  596. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
  597. package/cjs/hooks/UNSAFE_usePress.js +1 -1
  598. package/cjs/hooks/UNSAFE_useScale.js +1 -1
  599. package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
  600. package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
  601. package/cjs/hooks/UNSAFE_useTap.js +1 -1
  602. package/cjs/hooks/UNSAFE_useTextField.js +1 -1
  603. package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
  604. package/cjs/hooks/UNSAFE_useTheme.js +1 -1
  605. package/cjs/hooks/UNSAFE_useTimer.js +1 -1
  606. package/cjs/hooks/UNSAFE_useToggle.js +1 -1
  607. package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
  608. package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
  609. package/cjs/hooks/UNSAFE_useTouch.js +1 -1
  610. package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
  611. package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
  612. package/cjs/hooks/UNSAFE_useUser.js +1 -1
  613. package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
  614. package/cjs/{index-dc7f0a72.js → index-1b96b86a.js} +3 -3
  615. package/cjs/{index-dc7f0a72.js.map → index-1b96b86a.js.map} +1 -1
  616. package/cjs/{index-2c74eb4c.js → index-26cc7695.js} +2 -2
  617. package/cjs/{index-2c74eb4c.js.map → index-26cc7695.js.map} +1 -1
  618. package/cjs/{index-274b0c88.js → index-fa18fd05.js} +3 -3
  619. package/cjs/{index-274b0c88.js.map → index-fa18fd05.js.map} +1 -1
  620. package/cjs/{keys-1af91f94.js → keys-f8953f38.js} +4 -4
  621. package/cjs/{keys-1af91f94.js.map → keys-f8953f38.js.map} +1 -1
  622. package/cjs/{listViewSelectionTests-d3711736.js → listViewSelectionTests-dec29806.js} +4 -4
  623. package/cjs/{listViewSelectionTests-d3711736.js.map → listViewSelectionTests-dec29806.js.map} +1 -1
  624. package/cjs/{listViewTabbableModeTests-706a5c64.js → listViewTabbableModeTests-50c3a770.js} +4 -4
  625. package/cjs/{listViewTabbableModeTests-706a5c64.js.map → listViewTabbableModeTests-50c3a770.js.map} +1 -1
  626. package/cjs/{listViewTestFixtures-f00755fd.js → listViewTestFixtures-4f67a8b4.js} +2 -2
  627. package/cjs/{listViewTestFixtures-f00755fd.js.map → listViewTestFixtures-4f67a8b4.js.map} +1 -1
  628. package/cjs/{menuTestsUtils-500ba880.js → menuTestsUtils-65ffd0ea.js} +2 -2
  629. package/cjs/{menuTestsUtils-500ba880.js.map → menuTestsUtils-65ffd0ea.js.map} +1 -1
  630. package/cjs/resources/nls/ar/bundle.js +2 -2
  631. package/cjs/resources/nls/ar/bundle.js.map +1 -1
  632. package/cjs/resources/nls/ar-XB/bundle.js +2 -2
  633. package/cjs/resources/nls/ar-XB/bundle.js.map +1 -1
  634. package/cjs/resources/nls/bg/bundle.js +2 -2
  635. package/cjs/resources/nls/bg/bundle.js.map +1 -1
  636. package/cjs/resources/nls/bs/bundle.js +2 -2
  637. package/cjs/resources/nls/bs/bundle.js.map +1 -1
  638. package/cjs/resources/nls/bs-Cyrl/bundle.js +2 -2
  639. package/cjs/resources/nls/bs-Cyrl/bundle.js.map +1 -1
  640. package/cjs/resources/nls/bundle.js +2 -2
  641. package/cjs/resources/nls/bundle.js.map +1 -1
  642. package/cjs/resources/nls/cs/bundle.js +2 -2
  643. package/cjs/resources/nls/cs/bundle.js.map +1 -1
  644. package/cjs/resources/nls/da/bundle.js +2 -2
  645. package/cjs/resources/nls/da/bundle.js.map +1 -1
  646. package/cjs/resources/nls/de/bundle.js +2 -2
  647. package/cjs/resources/nls/de/bundle.js.map +1 -1
  648. package/cjs/resources/nls/el/bundle.js +2 -2
  649. package/cjs/resources/nls/el/bundle.js.map +1 -1
  650. package/cjs/resources/nls/en/bundle.js +2 -2
  651. package/cjs/resources/nls/en/bundle.js.map +1 -1
  652. package/cjs/resources/nls/en-XA/bundle.js +2 -2
  653. package/cjs/resources/nls/en-XA/bundle.js.map +1 -1
  654. package/cjs/resources/nls/en-XC/bundle.js +2 -2
  655. package/cjs/resources/nls/en-XC/bundle.js.map +1 -1
  656. package/cjs/resources/nls/es/bundle.js +2 -2
  657. package/cjs/resources/nls/es/bundle.js.map +1 -1
  658. package/cjs/resources/nls/et/bundle.js +2 -2
  659. package/cjs/resources/nls/et/bundle.js.map +1 -1
  660. package/cjs/resources/nls/fi/bundle.js +2 -2
  661. package/cjs/resources/nls/fi/bundle.js.map +1 -1
  662. package/cjs/resources/nls/fr/bundle.js +2 -2
  663. package/cjs/resources/nls/fr/bundle.js.map +1 -1
  664. package/cjs/resources/nls/fr-CA/bundle.js +2 -2
  665. package/cjs/resources/nls/fr-CA/bundle.js.map +1 -1
  666. package/cjs/resources/nls/he/bundle.js +2 -2
  667. package/cjs/resources/nls/he/bundle.js.map +1 -1
  668. package/cjs/resources/nls/hr/bundle.js +2 -2
  669. package/cjs/resources/nls/hr/bundle.js.map +1 -1
  670. package/cjs/resources/nls/hu/bundle.js +2 -2
  671. package/cjs/resources/nls/hu/bundle.js.map +1 -1
  672. package/cjs/resources/nls/is/bundle.js +2 -2
  673. package/cjs/resources/nls/is/bundle.js.map +1 -1
  674. package/cjs/resources/nls/it/bundle.js +2 -2
  675. package/cjs/resources/nls/it/bundle.js.map +1 -1
  676. package/cjs/resources/nls/ja/bundle.js +2 -2
  677. package/cjs/resources/nls/ja/bundle.js.map +1 -1
  678. package/cjs/resources/nls/ko/bundle.js +2 -2
  679. package/cjs/resources/nls/ko/bundle.js.map +1 -1
  680. package/cjs/resources/nls/lt/bundle.js +2 -2
  681. package/cjs/resources/nls/lt/bundle.js.map +1 -1
  682. package/cjs/resources/nls/lv/bundle.js +2 -2
  683. package/cjs/resources/nls/lv/bundle.js.map +1 -1
  684. package/cjs/resources/nls/ms/bundle.js +2 -2
  685. package/cjs/resources/nls/ms/bundle.js.map +1 -1
  686. package/cjs/resources/nls/nl/bundle.js +2 -2
  687. package/cjs/resources/nls/nl/bundle.js.map +1 -1
  688. package/cjs/resources/nls/no/bundle.js +2 -2
  689. package/cjs/resources/nls/no/bundle.js.map +1 -1
  690. package/cjs/resources/nls/pl/bundle.js +2 -2
  691. package/cjs/resources/nls/pl/bundle.js.map +1 -1
  692. package/cjs/resources/nls/pt/bundle.js +2 -2
  693. package/cjs/resources/nls/pt/bundle.js.map +1 -1
  694. package/cjs/resources/nls/pt-PT/bundle.js +2 -2
  695. package/cjs/resources/nls/pt-PT/bundle.js.map +1 -1
  696. package/cjs/resources/nls/ro/bundle.js +2 -2
  697. package/cjs/resources/nls/ro/bundle.js.map +1 -1
  698. package/cjs/resources/nls/ru/bundle.js +2 -2
  699. package/cjs/resources/nls/ru/bundle.js.map +1 -1
  700. package/cjs/resources/nls/sk/bundle.js +2 -2
  701. package/cjs/resources/nls/sk/bundle.js.map +1 -1
  702. package/cjs/resources/nls/sl/bundle.js +2 -2
  703. package/cjs/resources/nls/sl/bundle.js.map +1 -1
  704. package/cjs/resources/nls/sr/bundle.js +2 -2
  705. package/cjs/resources/nls/sr/bundle.js.map +1 -1
  706. package/cjs/resources/nls/sr-Latn/bundle.js +2 -2
  707. package/cjs/resources/nls/sr-Latn/bundle.js.map +1 -1
  708. package/cjs/resources/nls/supportedLocales.js +1 -1
  709. package/cjs/resources/nls/sv/bundle.js +2 -2
  710. package/cjs/resources/nls/sv/bundle.js.map +1 -1
  711. package/cjs/resources/nls/th/bundle.js +2 -2
  712. package/cjs/resources/nls/th/bundle.js.map +1 -1
  713. package/cjs/resources/nls/tr/bundle.js +2 -2
  714. package/cjs/resources/nls/tr/bundle.js.map +1 -1
  715. package/cjs/resources/nls/uk/bundle.js +2 -2
  716. package/cjs/resources/nls/uk/bundle.js.map +1 -1
  717. package/cjs/resources/nls/vi/bundle.js +2 -2
  718. package/cjs/resources/nls/vi/bundle.js.map +1 -1
  719. package/cjs/resources/nls/zh-Hans/bundle.js +2 -2
  720. package/cjs/resources/nls/zh-Hans/bundle.js.map +1 -1
  721. package/cjs/resources/nls/zh-Hant/bundle.js +2 -2
  722. package/cjs/resources/nls/zh-Hant/bundle.js.map +1 -1
  723. package/cjs/{stringUtils-70baaa12.js → stringUtils-7911a543.js} +2 -2
  724. package/cjs/{stringUtils-70baaa12.js.map → stringUtils-7911a543.js.map} +1 -1
  725. package/cjs/{testHelpers-8af26f7c.js → testHelpers-b383f2e1.js} +2 -2
  726. package/cjs/{testHelpers-8af26f7c.js.map → testHelpers-b383f2e1.js.map} +1 -1
  727. package/cjs/translationBundle.js +1 -1
  728. package/cjs/{tslib.es6-632e7763.js → tslib.es6-de390ce8.js} +2 -2
  729. package/cjs/{tslib.es6-632e7763.js.map → tslib.es6-de390ce8.js.map} +1 -1
  730. package/cjs/{useAnimation-49ceba8b.js → useAnimation-a037a900.js} +3 -3
  731. package/cjs/{useAnimation-49ceba8b.js.map → useAnimation-a037a900.js.map} +1 -1
  732. package/cjs/{useFocusWithin-775c0a95.js → useFocusWithin-3562eae5.js} +2 -2
  733. package/cjs/{useFocusWithin-775c0a95.js.map → useFocusWithin-3562eae5.js.map} +1 -1
  734. package/cjs/{useSingleSelection-81d80a96.js → useSingleSelection-93c4f7d2.js} +2 -2
  735. package/cjs/{useSingleSelection-81d80a96.js.map → useSingleSelection-93c4f7d2.js.map} +1 -1
  736. package/cjs/utils/PRIVATE_clientHints.js +2 -2
  737. package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
  738. package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
  739. package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
  740. package/cjs/utils/PRIVATE_meterUtils.js +1 -1
  741. package/cjs/utils/PRIVATE_refUtils.js +1 -1
  742. package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
  743. package/cjs/utils/PRIVATE_timer.js +1 -1
  744. package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
  745. package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
  746. package/cjs/utils/UNSAFE_classNames.js +2 -2
  747. package/cjs/utils/UNSAFE_componentUtils.js +1 -1
  748. package/cjs/utils/UNSAFE_dataProvider.js +1 -1
  749. package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
  750. package/cjs/utils/UNSAFE_getLocale.js +1 -1
  751. package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
  752. package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
  753. package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  754. package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  755. package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
  756. package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
  757. package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
  758. package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
  759. package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
  760. package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
  761. package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
  762. package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
  763. package/cjs/utils/UNSAFE_interpolations/text.js.map +1 -1
  764. package/cjs/utils/UNSAFE_keys.js +1 -1
  765. package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
  766. package/cjs/utils/UNSAFE_logger.js +3 -3
  767. package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
  768. package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
  769. package/cjs/utils/UNSAFE_mergeProps.js +1 -1
  770. package/cjs/utils/UNSAFE_meterTypes.js +1 -1
  771. package/cjs/utils/UNSAFE_roles.js +1 -1
  772. package/cjs/utils/UNSAFE_selectUtils.js +1 -1
  773. package/cjs/utils/UNSAFE_size.js +1 -1
  774. package/cjs/utils/UNSAFE_soundUtils.js +1 -1
  775. package/cjs/utils/UNSAFE_stringUtils.js +2 -2
  776. package/cjs/utils/UNSAFE_typeUtils.js +1 -1
  777. package/cjs/utils/UNSAFE_units.js +2 -2
  778. package/cjs/utils/UNSAFE_valueUpdateDetail.js +1 -1
  779. package/es/{ClearIcon-982510c9.js → ClearIcon-e16a82c6.js} +3 -3
  780. package/es/{ClearIcon-982510c9.js.map → ClearIcon-e16a82c6.js.map} +1 -1
  781. package/es/{LoadMoreCollection-211117fc.js → LoadMoreCollection-c4f1754c.js} +2 -2
  782. package/es/{LoadMoreCollection-211117fc.js.map → LoadMoreCollection-c4f1754c.js.map} +1 -1
  783. package/es/PRIVATE_Collection.js +1 -1
  784. package/es/PRIVATE_List.css +15 -15
  785. package/es/PRIVATE_List.js +24 -24
  786. package/es/PRIVATE_List.js.map +1 -1
  787. package/es/PRIVATE_Message.css +27 -27
  788. package/es/PRIVATE_Message.js +35 -35
  789. package/es/PRIVATE_Message.js.map +1 -1
  790. package/es/PRIVATE_MessageLayer.css +7 -7
  791. package/es/PRIVATE_MessageLayer.js +14 -14
  792. package/es/PRIVATE_MessageLayer.js.map +1 -1
  793. package/es/PRIVATE_Meter.js +2 -2
  794. package/es/PRIVATE_SelectCommon.css +13 -13
  795. package/es/PRIVATE_SelectCommon.js +22 -22
  796. package/es/PRIVATE_SelectCommon.js.map +1 -1
  797. package/es/PRIVATE_TransitionGroup.js +1 -1
  798. package/es/PRIVATE_VirtualizedCollection.js +1 -1
  799. package/es/UNSAFE_AspectRatio.css +1 -1
  800. package/es/UNSAFE_AspectRatio.js +7 -7
  801. package/es/UNSAFE_AspectRatio.js.map +1 -1
  802. package/es/UNSAFE_Avatar.css +8 -8
  803. package/es/UNSAFE_Avatar.js +10 -10
  804. package/es/UNSAFE_Avatar.js.map +1 -1
  805. package/es/UNSAFE_Badge.css +13 -13
  806. package/es/UNSAFE_Badge.js +14 -14
  807. package/es/UNSAFE_Badge.js.map +1 -1
  808. package/es/UNSAFE_BaseButton.css +15 -15
  809. package/es/UNSAFE_BaseButton.js +21 -21
  810. package/es/UNSAFE_BaseButton.js.map +1 -1
  811. package/es/UNSAFE_Button.css +8 -8
  812. package/es/UNSAFE_Button.js +14 -14
  813. package/es/UNSAFE_Button.js.map +1 -1
  814. package/es/UNSAFE_Center.js +7 -7
  815. package/es/UNSAFE_Chip.css +7 -7
  816. package/es/UNSAFE_Chip.js +8 -8
  817. package/es/UNSAFE_Chip.js.map +1 -1
  818. package/es/UNSAFE_Collapsible.css +8 -8
  819. package/es/UNSAFE_Collapsible.js +16 -16
  820. package/es/UNSAFE_Collapsible.js.map +1 -1
  821. package/es/UNSAFE_Collection.js +1 -1
  822. package/es/UNSAFE_ComponentMessage.css +2 -2
  823. package/es/UNSAFE_ComponentMessage.js +10 -10
  824. package/es/UNSAFE_ComponentMessage.js.map +1 -1
  825. package/es/UNSAFE_Divider.css +1 -1
  826. package/es/UNSAFE_Divider.js +6 -6
  827. package/es/UNSAFE_EmptyList.js +1 -1
  828. package/es/UNSAFE_Environment.js +1 -1
  829. package/es/UNSAFE_FilePicker.css +6 -6
  830. package/es/UNSAFE_FilePicker.js +13 -13
  831. package/es/UNSAFE_FilePicker.js.map +1 -1
  832. package/es/UNSAFE_Flex.css +2 -2
  833. package/es/UNSAFE_Flex.js +9 -9
  834. package/es/UNSAFE_Flex.js.map +1 -1
  835. package/es/UNSAFE_Floating.js +2 -2
  836. package/es/UNSAFE_FocusTrap.css +2 -2
  837. package/es/UNSAFE_FocusTrap.js +6 -6
  838. package/es/UNSAFE_FocusTrap.js.map +1 -1
  839. package/es/UNSAFE_Grid.css +1 -1
  840. package/es/UNSAFE_Grid.js +8 -8
  841. package/es/UNSAFE_Heading.css +9 -9
  842. package/es/UNSAFE_Heading.js +16 -16
  843. package/es/UNSAFE_Heading.js.map +1 -1
  844. package/es/UNSAFE_HiddenAccessible.css +1 -1
  845. package/es/UNSAFE_HiddenAccessible.js +2 -2
  846. package/es/UNSAFE_HiddenAccessible.js.map +1 -1
  847. package/es/UNSAFE_HighlightText.css +1 -1
  848. package/es/UNSAFE_HighlightText.js +2 -2
  849. package/es/UNSAFE_Icon.css +21 -21
  850. package/es/UNSAFE_Icon.js +24 -24
  851. package/es/UNSAFE_Icon.js.map +1 -1
  852. package/es/UNSAFE_Icons.js +3 -3
  853. package/es/UNSAFE_Indexer.css +7 -7
  854. package/es/UNSAFE_Indexer.js +15 -15
  855. package/es/UNSAFE_Indexer.js.map +1 -1
  856. package/es/UNSAFE_InputPassword.css +1 -1
  857. package/es/UNSAFE_InputPassword.js +10 -10
  858. package/es/UNSAFE_InputText.css +1 -1
  859. package/es/UNSAFE_InputText.js +9 -9
  860. package/es/UNSAFE_Label.css +13 -13
  861. package/es/UNSAFE_Label.js +15 -15
  862. package/es/UNSAFE_Label.js.map +1 -1
  863. package/es/UNSAFE_LabelValueLayout.css +9 -9
  864. package/es/UNSAFE_LabelValueLayout.js +16 -16
  865. package/es/UNSAFE_LabelValueLayout.js.map +1 -1
  866. package/es/UNSAFE_Layer.js +1 -1
  867. package/es/UNSAFE_Link.css +5 -5
  868. package/es/UNSAFE_Link.js +6 -6
  869. package/es/UNSAFE_Link.js.map +1 -1
  870. package/es/UNSAFE_ListItemLayout.css +9 -9
  871. package/es/UNSAFE_ListItemLayout.js +16 -16
  872. package/es/UNSAFE_ListItemLayout.js.map +1 -1
  873. package/es/UNSAFE_ListView.js +9 -9
  874. package/es/UNSAFE_LiveRegion.css +1 -1
  875. package/es/UNSAFE_LiveRegion.js +2 -2
  876. package/es/UNSAFE_LiveRegion.js.map +1 -1
  877. package/es/UNSAFE_LoadMoreCollection.js +2 -2
  878. package/es/UNSAFE_Menu.css +17 -17
  879. package/es/UNSAFE_Menu.js +24 -24
  880. package/es/UNSAFE_Menu.js.map +1 -1
  881. package/es/UNSAFE_MessageBanner.js +8 -8
  882. package/es/UNSAFE_MessageToast.css +1 -1
  883. package/es/UNSAFE_MessageToast.js +9 -9
  884. package/es/UNSAFE_MeterBar.css +43 -43
  885. package/es/UNSAFE_MeterBar.js +46 -46
  886. package/es/UNSAFE_MeterBar.js.map +1 -1
  887. package/es/UNSAFE_MeterCircle.css +46 -46
  888. package/es/UNSAFE_MeterCircle.js +49 -49
  889. package/es/UNSAFE_MeterCircle.js.map +1 -1
  890. package/es/UNSAFE_Modal.css +3 -3
  891. package/es/UNSAFE_Modal.js +7 -7
  892. package/es/UNSAFE_NumberInputText.js +8 -8
  893. package/es/UNSAFE_PrefixSuffix.css +8 -8
  894. package/es/UNSAFE_PrefixSuffix.js +9 -9
  895. package/es/UNSAFE_PrefixSuffix.js.map +1 -1
  896. package/es/UNSAFE_ProgressBar.css +6 -6
  897. package/es/UNSAFE_ProgressBar.js +8 -8
  898. package/es/UNSAFE_ProgressBar.js.map +1 -1
  899. package/es/UNSAFE_ProgressCircle.css +6 -6
  900. package/es/UNSAFE_ProgressCircle.js +8 -8
  901. package/es/UNSAFE_ProgressCircle.js.map +1 -1
  902. package/es/UNSAFE_RatingGauge.css +20 -20
  903. package/es/UNSAFE_RatingGauge.js +23 -23
  904. package/es/UNSAFE_RatingGauge.js.map +1 -1
  905. package/es/UNSAFE_SelectMultiple.css +1 -1
  906. package/es/UNSAFE_SelectMultiple.js +10 -10
  907. package/es/UNSAFE_SelectMultiple.js.map +1 -1
  908. package/es/UNSAFE_SelectSingle.js +9 -9
  909. package/es/UNSAFE_Selector.css +5 -5
  910. package/es/UNSAFE_Selector.js +13 -13
  911. package/es/UNSAFE_Selector.js.map +1 -1
  912. package/es/UNSAFE_Skeleton.css +1 -1
  913. package/es/UNSAFE_Skeleton.js +7 -7
  914. package/es/UNSAFE_Spacer.js +7 -7
  915. package/es/UNSAFE_SplitMenuButton.css +5 -5
  916. package/es/UNSAFE_SplitMenuButton.js +12 -12
  917. package/es/UNSAFE_SplitMenuButton.js.map +1 -1
  918. package/es/UNSAFE_Text.css +25 -25
  919. package/es/UNSAFE_Text.js +31 -31
  920. package/es/UNSAFE_Text.js.map +1 -1
  921. package/es/UNSAFE_TextArea.css +3 -3
  922. package/es/UNSAFE_TextArea.js +11 -11
  923. package/es/UNSAFE_TextArea.js.map +1 -1
  924. package/es/UNSAFE_TextAreaAutosize.js +8 -8
  925. package/es/UNSAFE_TextField.css +58 -58
  926. package/es/UNSAFE_TextField.js +65 -65
  927. package/es/UNSAFE_TextField.js.map +1 -1
  928. package/es/UNSAFE_ThemedIcons.js +3 -3
  929. package/es/UNSAFE_UserAssistance.css +8 -8
  930. package/es/UNSAFE_UserAssistance.js +16 -16
  931. package/es/UNSAFE_UserAssistance.js.map +1 -1
  932. package/es/UNSAFE_View.js +7 -7
  933. package/es/UNSAFE_VirtualizedListView.js +9 -9
  934. package/es/UNSAFE_WindowOverlay.js +1 -1
  935. package/es/{_curry1-741e4bea.js → _curry1-2f301bdb.js} +2 -2
  936. package/es/{_curry1-741e4bea.js.map → _curry1-2f301bdb.js.map} +1 -1
  937. package/es/{_curry2-17784d2a.js → _curry2-4e43dbab.js} +3 -3
  938. package/es/{_curry2-17784d2a.js.map → _curry2-4e43dbab.js.map} +1 -1
  939. package/es/{_curry3-38b39c78.js → _curry3-aa76d681.js} +4 -4
  940. package/es/{_curry3-38b39c78.js.map → _curry3-aa76d681.js.map} +1 -1
  941. package/es/{_has-236af835.js → _has-b63da983.js} +3 -3
  942. package/es/{_has-236af835.js.map → _has-b63da983.js.map} +1 -1
  943. package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  944. package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
  945. package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
  946. package/es/hooks/PRIVATE_useItemAction.js +1 -1
  947. package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  948. package/es/hooks/PRIVATE_useSelection.js +1 -1
  949. package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
  950. package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  951. package/es/hooks/UNSAFE_useActionable.js +1 -1
  952. package/es/hooks/UNSAFE_useActive.js +1 -1
  953. package/es/hooks/UNSAFE_useAnimation.js +2 -2
  954. package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
  955. package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
  956. package/es/hooks/UNSAFE_useClearIcon.js +1 -1
  957. package/es/hooks/UNSAFE_useColorScheme.js +1 -1
  958. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  959. package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  960. package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  961. package/es/hooks/UNSAFE_useDebounce.js +1 -1
  962. package/es/hooks/UNSAFE_useFloating.js +2 -2
  963. package/es/hooks/UNSAFE_useFocus.js +1 -1
  964. package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
  965. package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
  966. package/es/hooks/UNSAFE_useFormContext.js +1 -1
  967. package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
  968. package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
  969. package/es/hooks/UNSAFE_useHover.js +1 -1
  970. package/es/hooks/UNSAFE_useId.js +1 -1
  971. package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
  972. package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  973. package/es/hooks/UNSAFE_useLongPress.js +1 -1
  974. package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
  975. package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
  976. package/es/hooks/UNSAFE_usePan.js +1 -1
  977. package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  978. package/es/hooks/UNSAFE_usePress.js +1 -1
  979. package/es/hooks/UNSAFE_useScale.js +1 -1
  980. package/es/hooks/UNSAFE_useSwipe.js +1 -1
  981. package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
  982. package/es/hooks/UNSAFE_useTap.js +1 -1
  983. package/es/hooks/UNSAFE_useTextField.js +1 -1
  984. package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  985. package/es/hooks/UNSAFE_useTheme.js +1 -1
  986. package/es/hooks/UNSAFE_useTimer.js +1 -1
  987. package/es/hooks/UNSAFE_useToggle.js +1 -1
  988. package/es/hooks/UNSAFE_useTooltip.css +4 -4
  989. package/es/hooks/UNSAFE_useTooltip.js +7 -7
  990. package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
  991. package/es/hooks/UNSAFE_useTouch.js +1 -1
  992. package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
  993. package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
  994. package/es/hooks/UNSAFE_useUser.js +1 -1
  995. package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
  996. package/es/{index-6eadec6f.js → index-472e8b43.js} +2 -2
  997. package/es/{index-6eadec6f.js.map → index-472e8b43.js.map} +1 -1
  998. package/es/{keys-1671d3fe.js → keys-0966af01.js} +4 -4
  999. package/es/{keys-1671d3fe.js.map → keys-0966af01.js.map} +1 -1
  1000. package/es/resources/nls/ar/bundle.js +2 -2
  1001. package/es/resources/nls/ar/bundle.js.map +1 -1
  1002. package/es/resources/nls/ar-XB/bundle.js +2 -2
  1003. package/es/resources/nls/ar-XB/bundle.js.map +1 -1
  1004. package/es/resources/nls/bg/bundle.js +2 -2
  1005. package/es/resources/nls/bg/bundle.js.map +1 -1
  1006. package/es/resources/nls/bs/bundle.js +2 -2
  1007. package/es/resources/nls/bs/bundle.js.map +1 -1
  1008. package/es/resources/nls/bs-Cyrl/bundle.js +2 -2
  1009. package/es/resources/nls/bs-Cyrl/bundle.js.map +1 -1
  1010. package/es/resources/nls/bundle.js +2 -2
  1011. package/es/resources/nls/bundle.js.map +1 -1
  1012. package/es/resources/nls/cs/bundle.js +2 -2
  1013. package/es/resources/nls/cs/bundle.js.map +1 -1
  1014. package/es/resources/nls/da/bundle.js +2 -2
  1015. package/es/resources/nls/da/bundle.js.map +1 -1
  1016. package/es/resources/nls/de/bundle.js +2 -2
  1017. package/es/resources/nls/de/bundle.js.map +1 -1
  1018. package/es/resources/nls/el/bundle.js +2 -2
  1019. package/es/resources/nls/el/bundle.js.map +1 -1
  1020. package/es/resources/nls/en/bundle.js +2 -2
  1021. package/es/resources/nls/en/bundle.js.map +1 -1
  1022. package/es/resources/nls/en-XA/bundle.js +2 -2
  1023. package/es/resources/nls/en-XA/bundle.js.map +1 -1
  1024. package/es/resources/nls/en-XC/bundle.js +2 -2
  1025. package/es/resources/nls/en-XC/bundle.js.map +1 -1
  1026. package/es/resources/nls/es/bundle.js +2 -2
  1027. package/es/resources/nls/es/bundle.js.map +1 -1
  1028. package/es/resources/nls/et/bundle.js +2 -2
  1029. package/es/resources/nls/et/bundle.js.map +1 -1
  1030. package/es/resources/nls/fi/bundle.js +2 -2
  1031. package/es/resources/nls/fi/bundle.js.map +1 -1
  1032. package/es/resources/nls/fr/bundle.js +2 -2
  1033. package/es/resources/nls/fr/bundle.js.map +1 -1
  1034. package/es/resources/nls/fr-CA/bundle.js +2 -2
  1035. package/es/resources/nls/fr-CA/bundle.js.map +1 -1
  1036. package/es/resources/nls/he/bundle.js +2 -2
  1037. package/es/resources/nls/he/bundle.js.map +1 -1
  1038. package/es/resources/nls/hr/bundle.js +2 -2
  1039. package/es/resources/nls/hr/bundle.js.map +1 -1
  1040. package/es/resources/nls/hu/bundle.js +2 -2
  1041. package/es/resources/nls/hu/bundle.js.map +1 -1
  1042. package/es/resources/nls/is/bundle.js +2 -2
  1043. package/es/resources/nls/is/bundle.js.map +1 -1
  1044. package/es/resources/nls/it/bundle.js +2 -2
  1045. package/es/resources/nls/it/bundle.js.map +1 -1
  1046. package/es/resources/nls/ja/bundle.js +2 -2
  1047. package/es/resources/nls/ja/bundle.js.map +1 -1
  1048. package/es/resources/nls/ko/bundle.js +2 -2
  1049. package/es/resources/nls/ko/bundle.js.map +1 -1
  1050. package/es/resources/nls/lt/bundle.js +2 -2
  1051. package/es/resources/nls/lt/bundle.js.map +1 -1
  1052. package/es/resources/nls/lv/bundle.js +2 -2
  1053. package/es/resources/nls/lv/bundle.js.map +1 -1
  1054. package/es/resources/nls/ms/bundle.js +2 -2
  1055. package/es/resources/nls/ms/bundle.js.map +1 -1
  1056. package/es/resources/nls/nl/bundle.js +2 -2
  1057. package/es/resources/nls/nl/bundle.js.map +1 -1
  1058. package/es/resources/nls/no/bundle.js +2 -2
  1059. package/es/resources/nls/no/bundle.js.map +1 -1
  1060. package/es/resources/nls/pl/bundle.js +2 -2
  1061. package/es/resources/nls/pl/bundle.js.map +1 -1
  1062. package/es/resources/nls/pt/bundle.js +2 -2
  1063. package/es/resources/nls/pt/bundle.js.map +1 -1
  1064. package/es/resources/nls/pt-PT/bundle.js +2 -2
  1065. package/es/resources/nls/pt-PT/bundle.js.map +1 -1
  1066. package/es/resources/nls/ro/bundle.js +2 -2
  1067. package/es/resources/nls/ro/bundle.js.map +1 -1
  1068. package/es/resources/nls/ru/bundle.js +2 -2
  1069. package/es/resources/nls/ru/bundle.js.map +1 -1
  1070. package/es/resources/nls/sk/bundle.js +2 -2
  1071. package/es/resources/nls/sk/bundle.js.map +1 -1
  1072. package/es/resources/nls/sl/bundle.js +2 -2
  1073. package/es/resources/nls/sl/bundle.js.map +1 -1
  1074. package/es/resources/nls/sr/bundle.js +2 -2
  1075. package/es/resources/nls/sr/bundle.js.map +1 -1
  1076. package/es/resources/nls/sr-Latn/bundle.js +2 -2
  1077. package/es/resources/nls/sr-Latn/bundle.js.map +1 -1
  1078. package/es/resources/nls/supportedLocales.js +1 -1
  1079. package/es/resources/nls/sv/bundle.js +2 -2
  1080. package/es/resources/nls/sv/bundle.js.map +1 -1
  1081. package/es/resources/nls/th/bundle.js +2 -2
  1082. package/es/resources/nls/th/bundle.js.map +1 -1
  1083. package/es/resources/nls/tr/bundle.js +2 -2
  1084. package/es/resources/nls/tr/bundle.js.map +1 -1
  1085. package/es/resources/nls/uk/bundle.js +2 -2
  1086. package/es/resources/nls/uk/bundle.js.map +1 -1
  1087. package/es/resources/nls/vi/bundle.js +2 -2
  1088. package/es/resources/nls/vi/bundle.js.map +1 -1
  1089. package/es/resources/nls/zh-Hans/bundle.js +2 -2
  1090. package/es/resources/nls/zh-Hans/bundle.js.map +1 -1
  1091. package/es/resources/nls/zh-Hant/bundle.js +2 -2
  1092. package/es/resources/nls/zh-Hant/bundle.js.map +1 -1
  1093. package/es/translationBundle.js +1 -1
  1094. package/es/{tslib.es6-d3abf634.js → tslib.es6-d865de5b.js} +2 -2
  1095. package/es/{tslib.es6-d3abf634.js.map → tslib.es6-d865de5b.js.map} +1 -1
  1096. package/es/{useSingleSelection-f16aaf27.js → useSingleSelection-a03d3f4a.js} +2 -2
  1097. package/es/{useSingleSelection-f16aaf27.js.map → useSingleSelection-a03d3f4a.js.map} +1 -1
  1098. package/es/utils/PRIVATE_clientHints.js +1 -1
  1099. package/es/utils/PRIVATE_collectionUtils.js +1 -1
  1100. package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
  1101. package/es/utils/PRIVATE_floatingUtils.js +1 -1
  1102. package/es/utils/PRIVATE_meterUtils.js +1 -1
  1103. package/es/utils/PRIVATE_refUtils.js +1 -1
  1104. package/es/utils/PRIVATE_tabbableUtils.js +4 -4
  1105. package/es/utils/PRIVATE_timer.js +1 -1
  1106. package/es/utils/UNSAFE_arrayUtils.js +1 -1
  1107. package/es/utils/UNSAFE_attributeUtils.js +1 -1
  1108. package/es/utils/UNSAFE_classNames.js +1 -1
  1109. package/es/utils/UNSAFE_componentUtils.js +1 -1
  1110. package/es/utils/UNSAFE_dataProvider.js +1 -1
  1111. package/es/utils/UNSAFE_filePickerUtils.js +1 -1
  1112. package/es/utils/UNSAFE_getLocale.js +1 -1
  1113. package/es/utils/UNSAFE_interpolations/aria.js +1 -1
  1114. package/es/utils/UNSAFE_interpolations/borders.js +1 -1
  1115. package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  1116. package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  1117. package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  1118. package/es/utils/UNSAFE_interpolations/colors.js +1 -1
  1119. package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
  1120. package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
  1121. package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
  1122. package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
  1123. package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
  1124. package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
  1125. package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
  1126. package/es/utils/UNSAFE_interpolations/grid.js +1 -1
  1127. package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
  1128. package/es/utils/UNSAFE_interpolations/padding.js +1 -1
  1129. package/es/utils/UNSAFE_interpolations/text.css +3 -3
  1130. package/es/utils/UNSAFE_interpolations/text.js +7 -7
  1131. package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
  1132. package/es/utils/UNSAFE_keys.js +1 -1
  1133. package/es/utils/UNSAFE_lengthFilter.js +1 -1
  1134. package/es/utils/UNSAFE_logger.js +3 -3
  1135. package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
  1136. package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
  1137. package/es/utils/UNSAFE_mergeProps.js +1 -1
  1138. package/es/utils/UNSAFE_meterTypes.js +1 -1
  1139. package/es/utils/UNSAFE_roles.js +1 -1
  1140. package/es/utils/UNSAFE_selectUtils.js +1 -1
  1141. package/es/utils/UNSAFE_size.js +1 -1
  1142. package/es/utils/UNSAFE_soundUtils.js +1 -1
  1143. package/es/utils/UNSAFE_stringUtils.js +1 -1
  1144. package/es/utils/UNSAFE_typeUtils.js +1 -1
  1145. package/es/utils/UNSAFE_units.js +1 -1
  1146. package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
  1147. package/package.json +1 -1
  1148. package/amd/Badge-b61e842b.js +0 -2
  1149. package/amd/BaseButton-a9f0399e.js +0 -2
  1150. package/amd/Button-d740fe69.js +0 -2
  1151. package/amd/Chip-e0cd5cb0.js +0 -2
  1152. package/amd/ClearIcon-a0129581.js +0 -2
  1153. package/amd/ComponentMessage-239291da.js +0 -2
  1154. package/amd/ComponentMessageContainer-dc9a906c.js +0 -2
  1155. package/amd/Divider-4ce7fe23.js +0 -2
  1156. package/amd/Flex-ad2aa2ba.js +0 -2
  1157. package/amd/FocusTrap-3f302175.js +0 -2
  1158. package/amd/FormControlUtils-6750191c.js +0 -2
  1159. package/amd/Heading-aa02030b.js +0 -2
  1160. package/amd/HiddenAccessible-194cd810.js +0 -2
  1161. package/amd/Icon-b22fc5cc.js +0 -2
  1162. package/amd/Indexer-2d2f23ad.js +0 -2
  1163. package/amd/Link-b00323b8.js +0 -2
  1164. package/amd/List-77be7558.js +0 -2
  1165. package/amd/ListItemTextLayout-bcc20be8.js +0 -2
  1166. package/amd/Menu-4d4706b2.js +0 -2
  1167. package/amd/MenuDivider-f72df4ce.js +0 -2
  1168. package/amd/MenuItem-79f0a128.js +0 -2
  1169. package/amd/MessageCloseButton-1665fa36.js +0 -2
  1170. package/amd/MessageDetail-4c0bec0b.js +0 -2
  1171. package/amd/MessageLayer-0a59c457.js +0 -2
  1172. package/amd/MessageStartIcon-25c6e9ad.js +0 -2
  1173. package/amd/MessageSummary-f0ca6a98.js +0 -2
  1174. package/amd/MessageTimestamp-418e51f2.js +0 -2
  1175. package/amd/MessageToast-617ec7f0.js +0 -2
  1176. package/amd/MeterCircle-12eb3e15.js +0 -2
  1177. package/amd/Modal-09752cfe.js +0 -2
  1178. package/amd/ReadonlyTextFieldInput-9be66d63.js +0 -2
  1179. package/amd/SelectMultiple-bd5d8100.js +0 -2
  1180. package/amd/Skeleton-99392a6e.js +0 -2
  1181. package/amd/SplitMenuButton-65a2f4b0.js +0 -2
  1182. package/amd/Text-502bd83e.js +0 -2
  1183. package/amd/TextArea-0b759818.js +0 -2
  1184. package/amd/TextFieldInput-feab2bdd.js +0 -2
  1185. package/amd/_has-2e2dd4e6.js +0 -2
  1186. package/amd/flexbox-173f4592.js +0 -2
  1187. package/amd/flexitem-63382eaa.js +0 -2
  1188. package/amd/useAnimation-c3973fa7.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInputText-51c15f67.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-9d8b9bf1.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(["exports","./Collection-74a3195b","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-0cf06a50","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,17 +1,17 @@
1
- ._1e9ngx3{height:100%;overflow-x:hidden;overflow-y:hidden;}
1
+ ._1n29h1f{height:100%;user-select:none;overflow-y:inherit;}._1n29h1f:focus{outline-style:none;}
2
+ .l3wqox{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
+ .v7qnqk{position:relative;}
2
4
 
3
- .vtidfu{height:100%;user-select:none;overflow-y:inherit;}.vtidfu:focus{outline-style:none;}
4
- .t386pk{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%;}
5
- .m7a9n{position:relative;}
5
+ ._168jdon{height:100%;overflow-x:hidden;overflow-y:hidden;}
6
6
 
7
- ._1ccarxg{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
- .km68ep{background-size:100% 1px;}
9
- ._1td52u2{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
- .sexp2g:hover{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
11
- ._19hpest{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-selected);}
12
- ._1j7iets{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
- ._1vtztmc{background-size:100% 1px;}
14
- ._57rtk7{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
15
- .gmg2bf{outline-style:dotted;outline-width:1px;outline-color:var(---oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
16
- ._1hbdjzn{flex-grow:1;}
17
- ._1u1lohm{display:flex;}
7
+ .qkguey{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
+ .claejc{background-size:100% 1px;}
9
+ ._18osny4{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
+ ._15l0chj:hover{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
11
+ ._19wrxmz{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-selected);}
12
+ ._14dxgmr{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
+ ._1mj7osc{background-size:100% 1px;}
14
+ ._1v31z7m{background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);}
15
+ .gvnw13{outline-style:dotted;outline-width:1px;outline-color:var(---oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
16
+ ._1p0rg9k{flex-grow:1;}
17
+ ._1weitij{display:flex;}
@@ -1,2 +1,2 @@
1
- define(["exports","./List-77be7558","preact/jsx-runtime","preact/hooks","css!./PRIVATE_List.css","./utils/UNSAFE_classNames","./classNames-d5d12bff","./utils/UNSAFE_mergeProps","./utils/UNSAFE_keys","./LoadMoreCollection-5a9bbd3f","./PRIVATE_Collection","./Collection-74a3195b","preact","./hooks/UNSAFE_useViewportIntersect","./PRIVATE_VirtualizedCollection","./VirtualizedCollection-5fbe4caf","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useTabbableMode","./UNSAFE_FocusTrap","./FocusTrap-3f302175","preact/compat","./utils/PRIVATE_tabbableUtils","./_curry1-09e867d1","./_curry2-1eb1b543","./_curry3-a0ce6913","./hooks/UNSAFE_useId","./hooks/PRIVATE_useSelection","./hooks/PRIVATE_useCurrentKey","./hooks/PRIVATE_useCollectionFocusRing","./hooks/PRIVATE_useTabbableModeSet","./hooks/PRIVATE_useItemAction","./utils/PRIVATE_collectionUtils","./UNSAFE_Skeleton","./Skeleton-99392a6e","./tslib.es6-4be59e45","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./utils/UNSAFE_mergeInterpolations","./_has-2e2dd4e6","./utils/UNSAFE_interpolations/borders","./UNSAFE_Flex","./Flex-ad2aa2ba","./utils/UNSAFE_interpolations/boxalignment","./keys-a14c56a7","./utils/UNSAFE_interpolations/flexbox","./flexbox-173f4592","./utils/UNSAFE_interpolations/flexitem","./flexitem-63382eaa","./UNSAFE_Selector","./index-7386ed78","./index-abc0a1d9","./UNSAFE_Icon","./Icon-b22fc5cc","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-32c0b2cb","./index-f5139f5e","./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-c3973fa7","./hooks/UNSAFE_useTheme","./hooks/UNSAFE_useTranslationBundle"],function(e,o,s,t,i,l,n,a,u,_,r,A,E,c,F,S,U,N,b,k,d,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-ef2d7cb3","preact/jsx-runtime","preact/hooks","css!./PRIVATE_List.css","./utils/UNSAFE_classNames","./classNames-745408c7","./utils/UNSAFE_mergeProps","./utils/UNSAFE_keys","./LoadMoreCollection-8378a9b8","./PRIVATE_Collection","./Collection-0cf06a50","preact","./hooks/UNSAFE_useViewportIntersect","./PRIVATE_VirtualizedCollection","./VirtualizedCollection-6f661aad","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useTabbableMode","./UNSAFE_FocusTrap","./FocusTrap-1a3d4176","preact/compat","./utils/PRIVATE_tabbableUtils","./_curry1-dae9baa7","./_curry2-be3541de","./_curry3-092c8c32","./hooks/UNSAFE_useId","./hooks/PRIVATE_useSelection","./hooks/PRIVATE_useCurrentKey","./hooks/PRIVATE_useCollectionFocusRing","./hooks/PRIVATE_useTabbableModeSet","./hooks/PRIVATE_useItemAction","./utils/PRIVATE_collectionUtils","./UNSAFE_Skeleton","./Skeleton-e36a6a22","./tslib.es6-30a906db","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./utils/UNSAFE_mergeInterpolations","./_has-0f123a68","./utils/UNSAFE_interpolations/borders","./UNSAFE_Flex","./Flex-f59e8f9a","./utils/UNSAFE_interpolations/boxalignment","./keys-6ad0ac73","./utils/UNSAFE_interpolations/flexbox","./flexbox-1e550203","./utils/UNSAFE_interpolations/flexitem","./flexitem-c8b9198a","./UNSAFE_Selector","./index-a8197f60","./index-42ae4639","./UNSAFE_Icon","./Icon-f239bdd4","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-2283f974","./index-862af5af","./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-af00e362","./hooks/UNSAFE_useTheme","./hooks/UNSAFE_useTranslationBundle"],function(e,o,s,t,i,l,a,n,u,_,r,A,E,c,F,S,U,N,k,d,b,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,ae,ne,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})});
2
2
  //# sourceMappingURL=PRIVATE_List.js.map
@@ -1,34 +1,34 @@
1
- .xe7cug{align-self:flex-start;display:flex;}
2
- ._11t17wp{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
- .d1prr6{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);}
1
+ .euvybf{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);}.euvybf: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
+ ._13wv2f2{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;}._13wv2f2: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
+ ._1r28fyv{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
+ ._1o5omr2{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
+ .clt325{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
+ .mdn5mt{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);}
4
7
 
5
- .ed5cjx{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);}.ed5cjx: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
- ._1bap0ds{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;}._1bap0ds: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
- ._1n263sr{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
- ._19j44q1{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
- .gfyaga{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
- ._1og2va3{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);}
8
+ ._1q1exnw{overflow-wrap:anywhere;}
9
+ .vvqgn0{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);}
10
+ ._1pl5drj{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);}
11
11
 
12
- .ijxivl{overflow-wrap:anywhere;}
13
- ._10r6koe{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
- ._1ars436{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
+ ._113i5u2{align-self:flex-start;display:flex;}
13
+ ._1clthxd{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));}
14
+ ._1sevye4{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);}
15
15
 
16
- ._121x2g8{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);display:flex;align-self:flex-start;}
17
- ._1pzixa6{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
- .m5q5uo{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-inline-start-icon-color);font-size:1rem;}
19
- ._1bqsyrn{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
- ._6099pe{height:100%;}
16
+ ._1hfm17g{flex:1;overflow-wrap:anywhere;}
17
+ .knkayt{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);}
18
+ ._1sitjkj{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;}
19
+ .px7ang{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);}
21
20
 
22
- .yowhah{flex:1;overflow-wrap:anywhere;}
23
- ._104y902{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
- ._1lo33ve{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
- ._1j60f85{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);}
21
+ .hc31s4{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);display:flex;align-self:flex-start;}
22
+ ._1oo81mj{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);}
23
+ ._1hxr5hd{color:var(--oj-c-PRIVATE-DO-NOT-USE-message-inline-start-icon-color);font-size:1rem;}
24
+ ._1drkiw2{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);}
25
+ .svt2bs{height:100%;}
26
26
 
27
- ._19moslk{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);}
27
+ ._1f9dhlf{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);}
28
28
 
29
- .t65knb{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);align-self:flex-start;display:flex;}
30
- ._1qy1oea{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
+ .ux3bg1{margin-inline-end:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);align-self:flex-start;display:flex;}
30
+ ._1jidzor{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);}
31
31
 
32
- .gvhsxb{box-sizing:border-box;display:flex;flex-wrap:wrap;flex-direction:row;}@media screen and (max-width:599.9px){.gvhsxb{flex-direction:column;}}
33
- .oa0qgj{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
34
- .l35b65{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size);}
32
+ ._11moe8x{box-sizing:border-box;display:flex;flex-wrap:wrap;flex-direction:row;}@media screen and (max-width:599.9px){._11moe8x{flex-direction:column;}}
33
+ ._1ln7c77{line-height:var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height);}
34
+ .wa0us5{line-height: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-1665fa36","./classNames-d5d12bff","./MessageDetail-4c0bec0b","./MessageFormattingUtils-a91ab6bf","./MessageStartIcon-25c6e9ad","./MessageSummary-f0ca6a98","./MessageTimestamp-418e51f2","./MessageUtils-3a532c2b","./Flex-ad2aa2ba","./MessagesManager-206a1555","./Message.types-a3e5fb46","./tslib.es6-4be59e45","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-09e867d1","./utils/UNSAFE_mergeInterpolations","./_curry3-a0ce6913","./_curry2-1eb1b543","./_has-2e2dd4e6","./utils/UNSAFE_interpolations/boxalignment","./keys-a14c56a7","./utils/UNSAFE_interpolations/flexbox","./flexbox-173f4592","./utils/UNSAFE_interpolations/flexitem","./flexitem-63382eaa","./UNSAFE_Button","./Button-d740fe69","./UNSAFE_BaseButton","./BaseButton-a9f0399e","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useActive","preact/compat","./utils/PRIVATE_clientHints","./clientHints-1b249278","./hooks/UNSAFE_useTabbableMode","preact","./utils/UNSAFE_mergeProps","./index-7386ed78","./index-abc0a1d9","./UNSAFE_Icon","./Icon-b22fc5cc","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-32c0b2cb","./index-f5139f5e","./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-c3973fa7","./hooks/UNSAFE_useTheme","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-0dad61f0","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext"],function(e,s,a,t,n,o,i,r,l,c,u,d,g,m,b,S,_,f,E,F,A,U,p,N,x,v,M,y,h,j,k,T,I,B,C,R,V,O,P,D,q,w,H,L,W,z,G,K,J,Q,X,Y,Z,$,ee,se,ae,te,ne,oe,ie,re,le,ce,ue,de,ge,me,be,Se,_e,fe,Ee,Fe){"use strict";const Ae="t65knb",Ue="_1qy1oea";function pe({item:e,renderer:a}){const t=l.classNames([Ae,Ue]);return s.jsx("div",Object.assign({class:t,role:"presentation"},{children:a(e)}))}const Ne={base:"gvhsxb",banner:"oa0qgj",inline:void 0,toast:"l35b65"};function xe({children:e,variant:a="banner"}){const t=l.classNames([Ne.base,Ne[a]]);return s.jsx("div",Object.assign({role:"presentation",class:t},{children:e}))}function ve(e){return u.isValidValueForProp(e,"severity")&&"none"!==e}const Me={base:{banner:"ed5cjx",toast:"_1bap0ds"},section:"_1n263sr",content:{base:"_19j44q1",banner:"gfyaga",toast:"_1og2va3"}};e.MessageCloseButton=r.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=f.severities,e.Message=function({closeButtonRenderer:e,detailRenderer:a,iconRenderer:n,index:i=-1,item:_,onClose:f,messageRef:E=(()=>{}),variant:F="pageBanner",translations:A}){const{closeAffordance:U="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"}(F),h=t.useCallback(()=>{null==f||f(_)},[_,f]),j=t.useCallback(e=>{"Escape"===e.key&&"on"===U&&(null==f||f(_))},[U,_,f]),k="toast"===y&&"off"!==M,T=t.useRef(),I="on"===M?5e3:"number"==typeof M?M:5e3,B=t.useCallback(()=>{T.current||(T.current=new o.Timer(h,I))},[h,I]),C=t.useCallback(()=>{T.current&&(T.current.clear(),T.current=void 0)},[]),R=t.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.pause()},[]),V=t.useCallback(()=>{var e;null===(e=T.current)||void 0===e||e.resume()},[]);t.useEffect(()=>(u.isValidValueForProp(N)&&b.playSound(N),k&&B(),()=>{C()}),[]);const O=l.classNames([Me.base[y],"toast"!==F&&b.severityBasedStyleClass(p,y),"sectionBanner"===F&&Me.section]),P=l.classNames([Me.content.base,Me.content[y]]);return s.jsx("div",Object.assign({ref:E,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: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:y},{children:[s.jsx(g.MessageSummary,{variant:y,text:x}),u.isValidValueForProp(v,"timestamp")&&"toast"!==F&&s.jsx(m.MessageTimestamp,{variant:y,value:v})]})),s.jsx(c.MessageDetail,{variant:y,item:Object.assign(Object.assign({},_),{index:i}),renderer:a})]})),"on"===U&&s.jsx(r.MessageCloseButton,{buttonRenderer:e,title:null==A?void 0:A.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-81de07b6","./classNames-745408c7","./MessageDetail-6d596f28","./MessageFormattingUtils-c720f198","./MessageStartIcon-35715e60","./MessageSummary-eb8190eb","./MessageTimestamp-c7dc22d9","./MessageUtils-6a8ba9de","./Flex-f59e8f9a","./MessagesManager-af292003","./Message.types-2bd652fe","./tslib.es6-30a906db","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-dae9baa7","./utils/UNSAFE_mergeInterpolations","./_curry3-092c8c32","./_curry2-be3541de","./_has-0f123a68","./utils/UNSAFE_interpolations/boxalignment","./keys-6ad0ac73","./utils/UNSAFE_interpolations/flexbox","./flexbox-1e550203","./utils/UNSAFE_interpolations/flexitem","./flexitem-c8b9198a","./UNSAFE_Button","./Button-88e2683c","./UNSAFE_BaseButton","./BaseButton-c0bee435","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useActive","preact/compat","./utils/PRIVATE_clientHints","./clientHints-a61109c7","./hooks/UNSAFE_useTabbableMode","preact","./utils/UNSAFE_mergeProps","./index-a8197f60","./index-42ae4639","./UNSAFE_Icon","./Icon-f239bdd4","./hooks/UNSAFE_useTooltip","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-2283f974","./index-862af5af","./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-af00e362","./hooks/UNSAFE_useTheme","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-d817053c","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext"],function(e,s,t,a,n,o,i,r,l,c,u,d,g,m,b,S,_,f,E,F,A,U,N,p,x,v,M,y,h,j,k,T,I,B,C,R,V,O,P,w,D,H,z,L,W,G,K,q,J,Q,X,Y,Z,$,ee,se,te,ae,ne,oe,ie,re,le,ce,ue,de,ge,me,be,Se,_e,fe,Ee,Fe){"use strict";const Ae="ux3bg1",Ue="_1jidzor";function Ne({item:e,renderer:t}){const a=l.classNames([Ae,Ue]);return s.jsx("div",Object.assign({class:a,role:"presentation"},{children:t(e)}))}const pe={base:"_11moe8x",banner:"_1ln7c77",inline:void 0,toast:"wa0us5"};function xe({children:e,variant:t="banner"}){const a=l.classNames([pe.base,pe[t]]);return s.jsx("div",Object.assign({role:"presentation",class:a},{children:e}))}function ve(e){return u.isValidValueForProp(e,"severity")&&"none"!==e}const Me={base:{banner:"euvybf",toast:"_13wv2f2"},section:"_1r28fyv",content:{base:"_1o5omr2",banner:"clt325",toast:"mdn5mt"}};e.MessageCloseButton=r.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=f.severities,e.Message=function({closeButtonRenderer:e,detailRenderer:t,iconRenderer:n,index:i=-1,item:_,onClose:f,messageRef:E=(()=>{}),variant:F="pageBanner",translations:A}){const{closeAffordance:U="on",severity:N="error",sound:p,summary:x,timestamp:v}=_.data,{autoTimeout:M="off"}=_.data,y=function(e){return"pageBanner"===e||"sectionBanner"===e?"banner":"toast"}(F),h=a.useCallback(()=>{null==f||f(_)},[_,f]),j=a.useCallback(e=>{"Escape"===e.key&&"on"===U&&(null==f||f(_))},[U,_,f]),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(()=>(u.isValidValueForProp(p)&&b.playSound(p),k&&B(),()=>{C()}),[]);const O=l.classNames([Me.base[y],"toast"!==F&&b.severityBasedStyleClass(N,y),"sectionBanner"===F&&Me.section]),P=l.classNames([Me.content.base,Me.content[y]]);return s.jsx("div",Object.assign({ref:E,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(Ne,{item:Object.assign(Object.assign({},_),{index:i}),renderer:n}):ve(N)?s.jsx(d.MessageStartIcon,{severity:N,variant:y,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:y},{children:[s.jsx(g.MessageSummary,{variant:y,text:x}),u.isValidValueForProp(v,"timestamp")&&"toast"!==F&&s.jsx(m.MessageTimestamp,{variant:y,value:v})]})),s.jsx(c.MessageDetail,{variant:y,item:Object.assign(Object.assign({},_),{index:i}),renderer:t})]})),"on"===U&&s.jsx(r.MessageCloseButton,{buttonRenderer:e,title:null==A?void 0:A.close,variant:y,onAction:h})]}))}))},Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_Message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PRIVATE_Message.js","sources":["../../src/PRIVATE_Message/MessageCustomStartIcon.tsx","../../src/PRIVATE_Message/MessageHeader.tsx","../../src/PRIVATE_Message/Message.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { MessageRendererDataItem } from './Message.types';\n\nconst messageStartIconStyles = {\n base: cssProps`${{\n marginInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x)',\n alignSelf: 'flex-start',\n display: 'flex'\n }}`,\n toast: cssProps`${{\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)',\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)'\n }}`\n};\n\n/**\n * Props for the StartIcon component\n */\ntype Props<K, D> = {\n /**\n * The data item for rendering the start icon\n */\n item: MessageRendererDataItem<K, D>;\n\n /**\n * A custom renderer for rendering the start icon\n */\n renderer: (item: MessageRendererDataItem<K, D>) => ComponentChildren;\n};\n\n/**\n * Component for rendering custom icon/content for start icon in Message\n */\nfunction MessageCustomStartIcon<K, D>({ item, renderer }: Props<K, D>) {\n const classes = classNames([\n messageStartIconStyles.base,\n // for now only toast has support for custom icon\n messageStartIconStyles.toast\n ]);\n return (\n <div class={classes} role=\"presentation\">\n {renderer(item)}\n </div>\n );\n}\n\nexport { MessageCustomStartIcon };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { MessageVariant } from './Message.types';\n\nconst messageHeaderStyles = {\n base: cssProps`${{\n boxSizing: 'border-box',\n\n // TODO: Replace with Flex and ResponsiveProps when creating oj-c-message-banner\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n '@media screen and (max-width: 599.9px)': {\n flexDirection: 'column'\n }\n }}`,\n banner: cssProps`${{\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height)'\n }}`,\n inline: undefined,\n toast: cssProps`${{\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)'\n }}`\n};\n\n/**\n * Props for the MessageHeader component\n */\ntype MessageHeaderProps = {\n variant?: MessageVariant;\n children?: ComponentChildren;\n};\n/**\n * A component that styles the header for the message component\n * @param param0 Props\n * @returns MessageHeader component instance\n */\nexport function MessageHeader({ children, variant = 'banner' }: MessageHeaderProps) {\n const rootClasses = classNames([messageHeaderStyles.base, messageHeaderStyles[variant]]);\n return (\n <div role=\"presentation\" class={rootClasses}>\n {children}\n </div>\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 */\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren, Ref, VNode } from 'preact';\nimport { useCallback, useEffect, useRef } from 'preact/hooks';\nimport { Flex } from '../UNSAFE_Flex';\nimport { MessageToastItem } from '../UNSAFE_MessageToast';\nimport { Timer } from '../utils/PRIVATE_timer';\nimport { classNames as cx } from '../utils/UNSAFE_classNames';\nimport { Item } from '../utils/UNSAFE_dataProvider';\nimport { MessageRendererDataItem, MessageSeverity } from './Message.types';\nimport { MessageCloseButton } from './MessageCloseButton';\nimport { MessageCustomStartIcon } from './MessageCustomStartIcon';\nimport { MessageDetail } from './MessageDetail';\nimport { isValidValueForProp } from './MessageFormattingUtils';\nimport { MessageHeader } from './MessageHeader';\nimport { MessageStartIcon } from './MessageStartIcon';\nimport { MessageSummary } from './MessageSummary';\nimport { MessageTimestamp } from './MessageTimestamp';\nimport { playSound, severityBasedStyleClass } from './MessageUtils';\n\n// TODO: Refactor Message Item types\n// https://jira.oraclecorp.com/jira/browse/JET-54215\n\n/**\n * An object representing a single message in Message component.\n */\nexport type MessageItem = {\n /**\n * Defines whether or not to include the close icon for the message\n *\n * @default 'on'\n */\n closeAffordance?: 'on' | 'off';\n\n /**\n * Defines the detail text of the message\n */\n detail?: string;\n\n /**\n * Defines the severity of the message\n */\n severity?: MessageSeverity;\n\n /**\n * Defines the sound to be played when opening the message\n */\n sound?: 'default' | 'none' | string;\n\n /**\n * Defines the primary text of the message\n */\n summary?: string;\n\n /**\n * Defines the timestamp for the message in ISO format\n */\n timestamp?: string;\n};\n\n/**\n * Props for the Message Component\n */\ntype Props<Key, Data> = {\n /**\n * A ref object for holding reference to this component\n */\n messageRef?: Ref<HTMLDivElement>;\n\n /**\n * The index of the current message instance\n */\n index?: number;\n\n /**\n * The message item with all the necessary data in it\n */\n item: Item<Key, Data>;\n\n /**\n * A renderer that renders the close button in the message.\n */\n closeButtonRenderer?: (title: string, onAction: (event?: Event) => void) => VNode;\n\n /**\n * A custom renderer for rendering the detail content\n */\n detailRenderer?: (item: MessageRendererDataItem<Key, Data>) => ComponentChildren;\n\n /**\n * A custom renderer for rendering the start icon\n */\n iconRenderer?: (item: MessageRendererDataItem<Key, Data>) => ComponentChildren;\n\n /**\n * Triggered when a user tries to close a message through UI interaction. The parent\n * should listen to this event and remove the corresponding message item from the data\n * which would then result in the message to be removed from the DOM. If the parent\n * fails to remove the message item from the data, then no change will be done in the\n * UI by the component.\n */\n onClose?: (item: Item<Key, Data>) => void;\n\n /**\n * A message can be a Banner message or Toast message.\n *\n * Furthermore, a Banner message can have a different look and feel. For example, when using page-level\n * messaging the messages need to be rendered from edge to edge without any outline. On the other\n * hand, when they are being used in a section of a page or a dialog, they need to be rendered\n * with an outline. This attribute can be used to specify where the component is being used so that\n * it will render the messages accordingly.\n */\n variant?: 'pageBanner' | 'sectionBanner' | 'toast';\n\n /**\n * Translations resources\n */\n translations?: {\n /**\n * Label for the message close button\n */\n close?: string;\n\n /**\n * Text for 'error' severity level\n */\n error?: string;\n\n /**\n * Text for 'warning' severity level\n */\n warning?: string;\n\n /**\n * Text for 'info' severity level\n */\n info?: string;\n\n /**\n * Text for 'confirmation' severity level\n */\n confirmation?: string;\n };\n};\n\n/**\n * Determines the base variant of the message - banner or toast\n *\n * @param variant The message variant\n * @returns The base variant\n */\nfunction getBaseVariant(variant: 'pageBanner' | 'sectionBanner' | 'toast') {\n if (variant === 'pageBanner' || variant === 'sectionBanner') {\n return 'banner';\n }\n return 'toast';\n}\n\n/**\n * Determines if a severity icon is needed based on the component severity\n *\n * @param severity The component severity\n * @returns Whether or not to render the severity icon\n */\nfunction isSeverityIconNeeded(\n severity: MessageSeverity\n): severity is Exclude<MessageSeverity, 'none'> {\n const isValidSeverity = isValidValueForProp(severity, 'severity');\n return isValidSeverity && severity !== 'none';\n}\n\n/**\n * CSS styles for various components\n */\nconst messageStyles = {\n base: {\n banner: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-background-color)',\n borderBottom: '1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)',\n\n '&:focus-visible': {\n outlineStyle: 'dotted',\n outlineWidth: '1px',\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineOffset: '1px'\n }\n }}`,\n toast: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-background-color)',\n borderRadius: '6px',\n boxShadow: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-box-shadow-sm)',\n width: 'fit-content',\n\n '&:focus-visible': {\n outlineStyle: 'dotted',\n outlineWidth: '1px',\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineOffset: '1px'\n }\n }}`\n },\n section: cssProps`${{\n border: '1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-lg)'\n }}`,\n // TODO: Replace with Flex and View components to handle padding and flex\n content: {\n base: cssProps`${{\n alignItems: 'center',\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)',\n paddingBottom: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)'\n }}`,\n banner: cssProps`${{\n paddingInlineStart:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-start, var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x))',\n paddingInlineEnd:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-end, var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x))'\n }}`,\n toast: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)',\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)'\n }}`\n }\n} as const;\n\n/**\n * Default timeout duration for autoTimeout in milliseconds\n */\nconst MIN_SECONDS = 5;\nconst DEFAULT_TIMEOUT = MIN_SECONDS * 1000;\n\n/**\n * Component that renders an individual message\n */\nfunction Message<K extends string | number = string | number, D extends MessageItem = MessageItem>({\n closeButtonRenderer,\n detailRenderer,\n iconRenderer,\n index = -1,\n item,\n onClose,\n messageRef = () => {},\n variant = 'pageBanner',\n translations\n}: Props<K, D>) {\n const { closeAffordance = 'on', severity = 'error', sound, summary, timestamp } = item.data;\n const { autoTimeout = 'off' } = item.data as MessageToastItem;\n const baseVariant = getBaseVariant(variant);\n\n /**\n * Handles clicking on the close icon of the message\n */\n const handleClose = useCallback(() => {\n onClose?.(item);\n }, [item, onClose]);\n\n /**\n * Handles closing the message on pressing Esc\n */\n const handleCloseOnEsc = useCallback(\n (event: KeyboardEvent) => {\n // Close the message only when closeAffordance is on\n if (event.key === 'Escape' && closeAffordance === 'on') {\n onClose?.(item);\n }\n },\n [closeAffordance, item, onClose]\n );\n\n /**\n * Set auto timeout for toast messages\n */\n const shouldTimeout = baseVariant === 'toast' && autoTimeout !== 'off';\n const currentTimerRef = useRef<Timer>();\n const timeout = typeof autoTimeout === 'number' ? autoTimeout : DEFAULT_TIMEOUT;\n const timeoutDuration = autoTimeout === 'on' ? DEFAULT_TIMEOUT : timeout;\n\n const startTimer = useCallback(() => {\n if (currentTimerRef.current) return;\n\n currentTimerRef.current = new Timer(handleClose, timeoutDuration);\n }, [handleClose, timeoutDuration]);\n\n const clearTimer = useCallback(() => {\n if (!currentTimerRef.current) return;\n\n currentTimerRef.current.clear();\n currentTimerRef.current = undefined;\n }, []);\n\n const pauseTimer = useCallback(() => {\n currentTimerRef.current?.pause();\n }, []);\n\n const resumeTimer = useCallback(() => {\n currentTimerRef.current?.resume();\n }, []);\n\n useEffect(() => {\n if (isValidValueForProp(sound)) {\n // It is sufficient to check for the value to be a\n // non-empty string. The playSound method takes care of the rest.\n playSound(sound);\n }\n\n // on mount, start timer for toast messages if needed\n if (shouldTimeout) {\n startTimer();\n }\n\n return () => {\n // clear out any pending timer\n clearTimer();\n };\n // eslint-disable-next-line\n }, []); // No deps to run this only on mount\n\n const rootClasses = cx([\n messageStyles.base[baseVariant],\n // for now, we do not have severity based styling on toast. So, we ignore this class for toasts\n variant !== 'toast' && severityBasedStyleClass(severity, baseVariant),\n variant === 'sectionBanner' && messageStyles.section\n ]);\n\n const contentClasses = cx([messageStyles.content.base, messageStyles.content[baseVariant]]);\n\n // We will be animating the root div, so add padding to an inner wrapper div so that\n // when animating height looks smooth. If padding were to be added to the root\n // div, the animation will not be smooth as height will never reach 0 due to the\n // padding.\n return (\n <div\n ref={messageRef}\n class={rootClasses}\n role=\"alert\"\n aria-atomic=\"true\"\n tabIndex={0}\n onKeyUp={handleCloseOnEsc}\n onfocusin={pauseTimer}\n onfocusout={resumeTimer}>\n <div class={contentClasses}>\n {iconRenderer ? (\n <MessageCustomStartIcon item={{ ...item, index }} renderer={iconRenderer} />\n ) : isSeverityIconNeeded(severity) ? (\n <MessageStartIcon severity={severity} variant={baseVariant} translations={translations} />\n ) : null}\n <Flex direction=\"column\" flex=\"1\" gap=\"--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x\">\n <MessageHeader variant={baseVariant}>\n <MessageSummary variant={baseVariant} text={summary} />\n {isValidValueForProp(timestamp, 'timestamp') && variant !== 'toast' && (\n <MessageTimestamp variant={baseVariant} value={timestamp!} />\n )}\n </MessageHeader>\n <MessageDetail\n variant={baseVariant}\n item={{ ...item, index }}\n renderer={detailRenderer}\n />\n </Flex>\n {closeAffordance === 'on' && (\n <MessageCloseButton\n buttonRenderer={closeButtonRenderer}\n title={translations?.close}\n variant={baseVariant}\n onAction={handleClose}\n />\n )}\n </div>\n </div>\n );\n}\n\nexport { Message };\n"],"names":["messageStartIconStyles","MessageCustomStartIcon","item","renderer","_jsx","Object","assign","class","classes","role","children","messageHeaderStyles","inline","undefined","MessageHeader","variant","rootClasses","classNames","base","isSeverityIconNeeded","severity","messageStyles","content","closeButtonRenderer","detailRenderer","iconRenderer","index","onClose","messageRef","translations","closeAffordance","sound","summary","timestamp","data","baseVariant","getBaseVariant","handleClose","useCallback","handleCloseOnEsc","event","currentTimerRef","useRef","timeoutDuration","autoTimeout","MIN_SECONDS","startTimer","clearTimer","current","clear","pauseTimer","_a","pause","resumeTimer","resume","isValidValueForProp","shouldTimeout","section","contentClasses","cx"],"mappings":"ugEAaA,MAAAA,GAAA,SAAAA,cA8BA,SAAAC,IAAAC,KAAAA,EAAAC,SAAAA,0BAEIH,GAEAA,KAEF,OAAAI,MAAA,MAAAC,OAAAC,OAAA,CAAAC,MAAAC,EAAAC,KAAA,gBAAA,CAAAC,SAAAP,EAAAD,MCpCF,MAAAS,GAAA,MAAA,gBAAA,SAeEC,YAAAC,kBAkBF,SAAAC,IAAAJ,SAAAA,EAAAK,QAAAA,EAAA,WACE,MAAAC,EAAAC,EAAAA,WAAA,CAAAN,GAAAO,KAAAP,GAAAI,KACA,OAAAX,MAAA,MAAAC,OAAAC,OAAA,CAAAG,KAAA,eAAAF,MAAAS,GAAA,CAAAN,SAAAA,KC0HF,SAAAS,GAAAC,GAIE,4CAAA,SAAAA,EAMF,MAAAC,GAAA,CACEH,KAAA,QAAA,mCADF,WAgCEI,QAAA,MAAA,kBAAA,glBA+BF,UAAAC,oBAAAA,EAAAC,eAAAA,EAAAC,aAAAA,EAAAC,MAAAA,GAAA,EAAAxB,KAAAA,EAAAyB,QAAAA,EAAAC,WAAAA,EAAA,SAAAb,QAAAA,EAAA,aAAAc,aAAAA,IAWE,MAAAC,gBAAAA,EAAA,KAAAV,SAAAA,EAAA,QAAAW,MAAAA,EAAAC,QAAAA,EAAAC,UAAAA,GAAA/B,EAAAgC,kCAEAC,EAnGF,SAAApB,GACE,MAAA,eAAAA,GAAA,kBAAAA,EACE,SAEF,QA+FAqB,CAAArB,GAKAsB,EAAAC,EAAAA,YAAA,KACEX,MAAAA,GAAAA,EAAAzB,IACF,CAAAA,EAAAyB,IAKAY,EAAAD,EAAAA,YAAAE,iCAIMb,MAAAA,GAAAA,EAAAzB,uCAUNuC,EAAAC,EAAAA,SAEAC,EAAA,OAAAC,EA9CFC,IA6CE,iBAAAD,EAAAA,EA7CFC,IAgDEC,EAAAR,EAAAA,YAAA,8CAIA,CAAAD,EAAAM,IAEAI,EAAAT,EAAAA,YAAA,iBAGEG,EAAAO,QAAAC,QACAR,EAAAO,aAAAnC,QAGFqC,EAAAZ,EAAAA,YAAA,WACE,QAAAa,EAAAV,EAAAO,eAAA,IAAAG,GAAAA,EAAAC,aAGFC,EAAAf,EAAAA,YAAA,WACE,QAAAa,EAAAV,EAAAO,eAAA,IAAAG,GAAAA,EAAAG,+BAIAC,EAAAA,oBAAAxB,mBAOAyB,GACEV,IAGF,KAEEC,MAGJ,0BAGE1B,GAAAH,KAAAiB,+CAGA,kBAAApB,GAAAM,GAAAoC,UAGFC,EAAAC,EAAAA,WAAA,CAAAtC,GAAAC,QAAAJ,KAAAG,GAAAC,QAAAa"}
1
+ {"version":3,"file":"PRIVATE_Message.js","sources":["../../src/PRIVATE_Message/MessageCustomStartIcon.tsx","../../src/PRIVATE_Message/MessageHeader.tsx","../../src/PRIVATE_Message/Message.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { MessageRendererDataItem } from './Message.types';\n\nconst messageStartIconStyles = {\n base: cssProps`${{\n marginInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x)',\n alignSelf: 'flex-start',\n display: 'flex'\n }}`,\n toast: cssProps`${{\n height: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)',\n width: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)'\n }}`\n};\n\n/**\n * Props for the StartIcon component\n */\ntype Props<K, D> = {\n /**\n * The data item for rendering the start icon\n */\n item: MessageRendererDataItem<K, D>;\n\n /**\n * A custom renderer for rendering the start icon\n */\n renderer: (item: MessageRendererDataItem<K, D>) => ComponentChildren;\n};\n\n/**\n * Component for rendering custom icon/content for start icon in Message\n */\nfunction MessageCustomStartIcon<K, D>({ item, renderer }: Props<K, D>) {\n const classes = classNames([\n messageStartIconStyles.base,\n // for now only toast has support for custom icon\n messageStartIconStyles.toast\n ]);\n return (\n <div class={classes} role=\"presentation\">\n {renderer(item)}\n </div>\n );\n}\n\nexport { MessageCustomStartIcon };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { MessageVariant } from './Message.types';\n\nconst messageHeaderStyles = {\n base: cssProps`${{\n boxSizing: 'border-box',\n\n // TODO: Replace with Flex and ResponsiveProps when creating oj-c-message-banner\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n '@media screen and (max-width: 599.9px)': {\n flexDirection: 'column'\n }\n }}`,\n banner: cssProps`${{\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-summary-line-height)'\n }}`,\n inline: undefined,\n toast: cssProps`${{\n lineHeight: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-start-icon-size)'\n }}`\n};\n\n/**\n * Props for the MessageHeader component\n */\ntype MessageHeaderProps = {\n variant?: MessageVariant;\n children?: ComponentChildren;\n};\n/**\n * A component that styles the header for the message component\n * @param param0 Props\n * @returns MessageHeader component instance\n */\nexport function MessageHeader({ children, variant = 'banner' }: MessageHeaderProps) {\n const rootClasses = classNames([messageHeaderStyles.base, messageHeaderStyles[variant]]);\n return (\n <div role=\"presentation\" class={rootClasses}>\n {children}\n </div>\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 */\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { ComponentChildren, Ref, VNode } from 'preact';\nimport { useCallback, useEffect, useRef } from 'preact/hooks';\nimport { Flex } from '../UNSAFE_Flex';\nimport { MessageToastItem } from '../UNSAFE_MessageToast';\nimport { Timer } from '../utils/PRIVATE_timer';\nimport { classNames as cx } from '../utils/UNSAFE_classNames';\nimport { Item } from '../utils/UNSAFE_dataProvider';\nimport { MessageRendererDataItem, MessageSeverity } from './Message.types';\nimport { MessageCloseButton } from './MessageCloseButton';\nimport { MessageCustomStartIcon } from './MessageCustomStartIcon';\nimport { MessageDetail } from './MessageDetail';\nimport { isValidValueForProp } from './MessageFormattingUtils';\nimport { MessageHeader } from './MessageHeader';\nimport { MessageStartIcon } from './MessageStartIcon';\nimport { MessageSummary } from './MessageSummary';\nimport { MessageTimestamp } from './MessageTimestamp';\nimport { playSound, severityBasedStyleClass } from './MessageUtils';\n\n// TODO: Refactor Message Item types\n// https://jira.oraclecorp.com/jira/browse/JET-54215\n\n/**\n * An object representing a single message in Message component.\n */\nexport type MessageItem = {\n /**\n * Defines whether or not to include the close icon for the message\n *\n * @default 'on'\n */\n closeAffordance?: 'on' | 'off';\n\n /**\n * Defines the detail text of the message\n */\n detail?: string;\n\n /**\n * Defines the severity of the message\n */\n severity?: MessageSeverity;\n\n /**\n * Defines the sound to be played when opening the message\n */\n sound?: 'default' | 'none' | string;\n\n /**\n * Defines the primary text of the message\n */\n summary?: string;\n\n /**\n * Defines the timestamp for the message in ISO format\n */\n timestamp?: string;\n};\n\n/**\n * Props for the Message Component\n */\ntype Props<Key, Data> = {\n /**\n * A ref object for holding reference to this component\n */\n messageRef?: Ref<HTMLDivElement>;\n\n /**\n * The index of the current message instance\n */\n index?: number;\n\n /**\n * The message item with all the necessary data in it\n */\n item: Item<Key, Data>;\n\n /**\n * A renderer that renders the close button in the message.\n */\n closeButtonRenderer?: (title: string, onAction: (event?: Event) => void) => VNode;\n\n /**\n * A custom renderer for rendering the detail content\n */\n detailRenderer?: (item: MessageRendererDataItem<Key, Data>) => ComponentChildren;\n\n /**\n * A custom renderer for rendering the start icon\n */\n iconRenderer?: (item: MessageRendererDataItem<Key, Data>) => ComponentChildren;\n\n /**\n * Triggered when a user tries to close a message through UI interaction. The parent\n * should listen to this event and remove the corresponding message item from the data\n * which would then result in the message to be removed from the DOM. If the parent\n * fails to remove the message item from the data, then no change will be done in the\n * UI by the component.\n */\n onClose?: (item: Item<Key, Data>) => void;\n\n /**\n * A message can be a Banner message or Toast message.\n *\n * Furthermore, a Banner message can have a different look and feel. For example, when using page-level\n * messaging the messages need to be rendered from edge to edge without any outline. On the other\n * hand, when they are being used in a section of a page or a dialog, they need to be rendered\n * with an outline. This attribute can be used to specify where the component is being used so that\n * it will render the messages accordingly.\n */\n variant?: 'pageBanner' | 'sectionBanner' | 'toast';\n\n /**\n * Translations resources\n */\n translations?: {\n /**\n * Label for the message close button\n */\n close?: string;\n\n /**\n * Text for 'error' severity level\n */\n error?: string;\n\n /**\n * Text for 'warning' severity level\n */\n warning?: string;\n\n /**\n * Text for 'info' severity level\n */\n info?: string;\n\n /**\n * Text for 'confirmation' severity level\n */\n confirmation?: string;\n };\n};\n\n/**\n * Determines the base variant of the message - banner or toast\n *\n * @param variant The message variant\n * @returns The base variant\n */\nfunction getBaseVariant(variant: 'pageBanner' | 'sectionBanner' | 'toast') {\n if (variant === 'pageBanner' || variant === 'sectionBanner') {\n return 'banner';\n }\n return 'toast';\n}\n\n/**\n * Determines if a severity icon is needed based on the component severity\n *\n * @param severity The component severity\n * @returns Whether or not to render the severity icon\n */\nfunction isSeverityIconNeeded(\n severity: MessageSeverity\n): severity is Exclude<MessageSeverity, 'none'> {\n const isValidSeverity = isValidValueForProp(severity, 'severity');\n return isValidSeverity && severity !== 'none';\n}\n\n/**\n * CSS styles for various components\n */\nconst messageStyles = {\n base: {\n banner: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-banner-background-color)',\n borderBottom: '1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)',\n\n '&:focus-visible': {\n outlineStyle: 'dotted',\n outlineWidth: '1px',\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineOffset: '1px'\n }\n }}`,\n toast: cssProps`${{\n backgroundColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-message-toast-background-color)',\n borderRadius: '6px',\n boxShadow: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-box-shadow-sm)',\n width: 'fit-content',\n\n '&:focus-visible': {\n outlineStyle: 'dotted',\n outlineWidth: '1px',\n outlineColor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color)',\n outlineOffset: '1px'\n }\n }}`\n },\n section: cssProps`${{\n border: '1px solid var(--oj-c-PRIVATE-DO-NOT-USE-core-divider-color)',\n borderRadius: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-lg)'\n }}`,\n // TODO: Replace with Flex and View components to handle padding and flex\n content: {\n base: cssProps`${{\n alignItems: 'center',\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n paddingTop: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)',\n paddingBottom: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)'\n }}`,\n banner: cssProps`${{\n paddingInlineStart:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-start, var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x))',\n paddingInlineEnd:\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-gutter-end, var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x))'\n }}`,\n toast: cssProps`${{\n paddingInlineStart: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)',\n paddingInlineEnd: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x)'\n }}`\n }\n} as const;\n\n/**\n * Default timeout duration for autoTimeout in milliseconds\n */\nconst MIN_SECONDS = 5;\nconst DEFAULT_TIMEOUT = MIN_SECONDS * 1000;\n\n/**\n * Component that renders an individual message\n */\nfunction Message<K extends string | number = string | number, D extends MessageItem = MessageItem>({\n closeButtonRenderer,\n detailRenderer,\n iconRenderer,\n index = -1,\n item,\n onClose,\n messageRef = () => {},\n variant = 'pageBanner',\n translations\n}: Props<K, D>) {\n const { closeAffordance = 'on', severity = 'error', sound, summary, timestamp } = item.data;\n const { autoTimeout = 'off' } = item.data as MessageToastItem;\n const baseVariant = getBaseVariant(variant);\n\n /**\n * Handles clicking on the close icon of the message\n */\n const handleClose = useCallback(() => {\n onClose?.(item);\n }, [item, onClose]);\n\n /**\n * Handles closing the message on pressing Esc\n */\n const handleCloseOnEsc = useCallback(\n (event: KeyboardEvent) => {\n // Close the message only when closeAffordance is on\n if (event.key === 'Escape' && closeAffordance === 'on') {\n onClose?.(item);\n }\n },\n [closeAffordance, item, onClose]\n );\n\n /**\n * Set auto timeout for toast messages\n */\n const shouldTimeout = baseVariant === 'toast' && autoTimeout !== 'off';\n const currentTimerRef = useRef<Timer>();\n const timeout = typeof autoTimeout === 'number' ? autoTimeout : DEFAULT_TIMEOUT;\n const timeoutDuration = autoTimeout === 'on' ? DEFAULT_TIMEOUT : timeout;\n\n const startTimer = useCallback(() => {\n if (currentTimerRef.current) return;\n\n currentTimerRef.current = new Timer(handleClose, timeoutDuration);\n }, [handleClose, timeoutDuration]);\n\n const clearTimer = useCallback(() => {\n if (!currentTimerRef.current) return;\n\n currentTimerRef.current.clear();\n currentTimerRef.current = undefined;\n }, []);\n\n const pauseTimer = useCallback(() => {\n currentTimerRef.current?.pause();\n }, []);\n\n const resumeTimer = useCallback(() => {\n currentTimerRef.current?.resume();\n }, []);\n\n useEffect(() => {\n if (isValidValueForProp(sound)) {\n // It is sufficient to check for the value to be a\n // non-empty string. The playSound method takes care of the rest.\n playSound(sound);\n }\n\n // on mount, start timer for toast messages if needed\n if (shouldTimeout) {\n startTimer();\n }\n\n return () => {\n // clear out any pending timer\n clearTimer();\n };\n // eslint-disable-next-line\n }, []); // No deps to run this only on mount\n\n const rootClasses = cx([\n messageStyles.base[baseVariant],\n // for now, we do not have severity based styling on toast. So, we ignore this class for toasts\n variant !== 'toast' && severityBasedStyleClass(severity, baseVariant),\n variant === 'sectionBanner' && messageStyles.section\n ]);\n\n const contentClasses = cx([messageStyles.content.base, messageStyles.content[baseVariant]]);\n\n // We will be animating the root div, so add padding to an inner wrapper div so that\n // when animating height looks smooth. If padding were to be added to the root\n // div, the animation will not be smooth as height will never reach 0 due to the\n // padding.\n return (\n <div\n ref={messageRef}\n class={rootClasses}\n role=\"alert\"\n aria-atomic=\"true\"\n tabIndex={0}\n onKeyUp={handleCloseOnEsc}\n onfocusin={pauseTimer}\n onfocusout={resumeTimer}>\n <div class={contentClasses}>\n {iconRenderer ? (\n <MessageCustomStartIcon item={{ ...item, index }} renderer={iconRenderer} />\n ) : isSeverityIconNeeded(severity) ? (\n <MessageStartIcon severity={severity} variant={baseVariant} translations={translations} />\n ) : null}\n <Flex direction=\"column\" flex=\"1\" gap=\"--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x\">\n <MessageHeader variant={baseVariant}>\n <MessageSummary variant={baseVariant} text={summary} />\n {isValidValueForProp(timestamp, 'timestamp') && variant !== 'toast' && (\n <MessageTimestamp variant={baseVariant} value={timestamp!} />\n )}\n </MessageHeader>\n <MessageDetail\n variant={baseVariant}\n item={{ ...item, index }}\n renderer={detailRenderer}\n />\n </Flex>\n {closeAffordance === 'on' && (\n <MessageCloseButton\n buttonRenderer={closeButtonRenderer}\n title={translations?.close}\n variant={baseVariant}\n onAction={handleClose}\n />\n )}\n </div>\n </div>\n );\n}\n\nexport { Message };\n"],"names":["messageStartIconStyles","MessageCustomStartIcon","item","renderer","_jsx","Object","assign","class","classes","role","children","messageHeaderStyles","inline","undefined","MessageHeader","variant","rootClasses","classNames","base","isSeverityIconNeeded","severity","messageStyles","content","closeButtonRenderer","detailRenderer","iconRenderer","index","onClose","messageRef","translations","closeAffordance","sound","summary","timestamp","data","baseVariant","getBaseVariant","handleClose","useCallback","handleCloseOnEsc","event","currentTimerRef","useRef","timeoutDuration","autoTimeout","MIN_SECONDS","startTimer","clearTimer","current","clear","pauseTimer","_a","pause","resumeTimer","resume","isValidValueForProp","shouldTimeout","section","contentClasses","cx"],"mappings":"ugEAaA,MAAAA,GAAA,SAAAA,cA8BA,SAAAC,IAAAC,KAAAA,EAAAC,SAAAA,0BAEIH,GAEAA,KAEF,OAAAI,MAAA,MAAAC,OAAAC,OAAA,CAAAC,MAAAC,EAAAC,KAAA,gBAAA,CAAAC,SAAAP,EAAAD,MCpCF,MAAAS,GAAA,MAAA,kBAAA,WAeEC,YAAAC,kBAkBF,SAAAC,IAAAJ,SAAAA,EAAAK,QAAAA,EAAA,WACE,MAAAC,EAAAC,EAAAA,WAAA,CAAAN,GAAAO,KAAAP,GAAAI,KACA,OAAAX,MAAA,MAAAC,OAAAC,OAAA,CAAAG,KAAA,eAAAF,MAAAS,GAAA,CAAAN,SAAAA,KC0HF,SAAAS,GAAAC,GAIE,4CAAA,SAAAA,EAMF,MAAAC,GAAA,CACEH,KAAA,QAAA,mCADF,WAgCEI,QAAA,MAAA,kBAAA,8kBA+BF,UAAAC,oBAAAA,EAAAC,eAAAA,EAAAC,aAAAA,EAAAC,MAAAA,GAAA,EAAAxB,KAAAA,EAAAyB,QAAAA,EAAAC,WAAAA,EAAA,SAAAb,QAAAA,EAAA,aAAAc,aAAAA,IAWE,MAAAC,gBAAAA,EAAA,KAAAV,SAAAA,EAAA,QAAAW,MAAAA,EAAAC,QAAAA,EAAAC,UAAAA,GAAA/B,EAAAgC,kCAEAC,EAnGF,SAAApB,GACE,MAAA,eAAAA,GAAA,kBAAAA,EACE,SAEF,QA+FAqB,CAAArB,GAKAsB,EAAAC,EAAAA,YAAA,KACEX,MAAAA,GAAAA,EAAAzB,IACF,CAAAA,EAAAyB,IAKAY,EAAAD,EAAAA,YAAAE,iCAIMb,MAAAA,GAAAA,EAAAzB,uCAUNuC,EAAAC,EAAAA,SAEAC,EAAA,OAAAC,EA9CFC,IA6CE,iBAAAD,EAAAA,EA7CFC,IAgDEC,EAAAR,EAAAA,YAAA,8CAIA,CAAAD,EAAAM,IAEAI,EAAAT,EAAAA,YAAA,iBAGEG,EAAAO,QAAAC,QACAR,EAAAO,aAAAnC,QAGFqC,EAAAZ,EAAAA,YAAA,WACE,QAAAa,EAAAV,EAAAO,eAAA,IAAAG,GAAAA,EAAAC,aAGFC,EAAAf,EAAAA,YAAA,WACE,QAAAa,EAAAV,EAAAO,eAAA,IAAAG,GAAAA,EAAAG,+BAIAC,EAAAA,oBAAAxB,mBAOAyB,GACEV,IAGF,KAEEC,MAGJ,0BAGE1B,GAAAH,KAAAiB,+CAGA,kBAAApB,GAAAM,GAAAoC,UAGFC,EAAAC,EAAAA,WAAA,CAAAtC,GAAAC,QAAAJ,KAAAG,GAAAC,QAAAa"}
@@ -1,7 +1,7 @@
1
- ._176n4q{position:absolute;pointer-events:initial;width:max-content;}
2
- ._1oxdtr7{left:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
3
- .nlar7n{left:calc(50% + var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset));top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);transform:translateX(-50%);}
4
- ._22mztz{right:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
5
- ._1fixxdi{left:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
6
- .at3q08{left:calc(50% + var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset));bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);transform:translateX(-50%);}
7
- ._13m6h7n{right:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
1
+ .ynhr9l{position:absolute;pointer-events:initial;width:max-content;}
2
+ .mq6j0j{left:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
3
+ ._1q765t7{left:calc(50% + var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset));top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);transform:translateX(-50%);}
4
+ ._1e7y9f1{right:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);top:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
5
+ ._1fey8lx{left:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
6
+ ._1n7wff3{left:calc(50% + var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset));bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);transform:translateX(-50%);}
7
+ .clgr1w{right:var(--oj-c-PRIVATE-DO-NOT-USE-notification-horizontal-offset);bottom:var(--oj-c-PRIVATE-DO-NOT-USE-notification-vertical-offset);}
@@ -1,2 +1,2 @@
1
- define(["exports","./MessageLayer-0a59c457","preact/jsx-runtime","css!./PRIVATE_MessageLayer.css","./hooks/UNSAFE_useUser","preact/hooks","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_classNames","./classNames-d5d12bff","./UNSAFE_Flex","./Flex-ad2aa2ba","./tslib.es6-4be59e45","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./_curry1-09e867d1","./utils/UNSAFE_mergeInterpolations","./_curry3-a0ce6913","./_curry2-1eb1b543","./_has-2e2dd4e6","./utils/UNSAFE_interpolations/boxalignment","./keys-a14c56a7","./utils/UNSAFE_interpolations/flexbox","./flexbox-173f4592","./utils/UNSAFE_interpolations/flexitem","./flexitem-63382eaa","./UNSAFE_WindowOverlay"],function(e,s,a,i,t,r,o,l,n,_,u,c,F,N,U,p,E,A,S,d,x,y,b,f,m,g,L,M,h,k){"use strict";e.MessageLayer=s.MessageLayer,e.positions=s.positions,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./MessageLayer-07b03424","preact/jsx-runtime","css!./PRIVATE_MessageLayer.css","./hooks/UNSAFE_useUser","preact/hooks","./UNSAFE_Environment","preact","./UNSAFE_Layer","preact/compat","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_classNames","./classNames-745408c7","./UNSAFE_Flex","./Flex-f59e8f9a","./tslib.es6-30a906db","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_size","./_curry1-dae9baa7","./utils/UNSAFE_mergeInterpolations","./_curry3-092c8c32","./_curry2-be3541de","./_has-0f123a68","./utils/UNSAFE_interpolations/boxalignment","./keys-6ad0ac73","./utils/UNSAFE_interpolations/flexbox","./flexbox-1e550203","./utils/UNSAFE_interpolations/flexitem","./flexitem-c8b9198a","./UNSAFE_WindowOverlay"],function(e,s,a,i,t,r,o,l,n,_,c,u,F,N,U,p,E,A,S,x,y,b,f,m,d,g,L,M,h,k){"use strict";e.MessageLayer=s.MessageLayer,e.positions=s.positions,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_MessageLayer.js.map
@@ -1,2 +1,2 @@
1
- define(["exports","./tslib.es6-4be59e45","preact/jsx-runtime","preact/compat"],function(r,t,o,i){"use strict";const e=i.forwardRef((r,i)=>{var{id:e,length:d="100%",children:s,color:l,orientation:a="horizontal",ariaProps:c}=r,h=t.__rest(r,["id","length","children","color","orientation","ariaProps"]);const n="horizontal"===a;return o.jsx("div",Object.assign({id:e,ref:i,class:h.class},c,{style:{width:n?d:void 0,height:n?void 0:d,backgroundColor:l}},{children:s}))}),d=i.forwardRef((r,i)=>{var{id:e,children:d,color:s,clipPath:l,borderWidth:a,ariaProps:c}=r,h=t.__rest(r,["id","children","color","clipPath","borderWidth","ariaProps"]);return o.jsx("div",Object.assign({id:e,ref:i},c,{class:h.class,style:{borderColor:s,borderWidth:a,clipPath:l}},{children:d}))});r.BarTrack=e,r.BarValue=r=>{var{length:i="100%",size:e="100%",orientation:d="horizontal",color:s}=r,l=t.__rest(r,["length","size","orientation","color"]);const a="horizontal"===d;return o.jsx("div",{class:l.class,style:{width:a?i:e,height:a?e:i,backgroundColor:s}})},r.CircleInner=r=>{var{clipPath:i,color:e,height:d,width:s,size:l,section:a="full"}=r,c=t.__rest(r,["clipPath","color","height","width","size","section"]);const h=function(r,t){const o={borderTopWidth:t,borderBottomWidth:t,borderRightWidth:t,borderLeftWidth:t};return"top"===r&&(o.borderBottomWidth=void 0),"bottom"===r&&(o.borderTopWidth=void 0),"left"===r&&(o.borderRightWidth=void 0),"right"===r&&(o.borderLeftWidth=void 0),o}(a,l);return o.jsx("div",{class:c.class,style:Object.assign({clipPath:i,borderColor:e,height:d,width:s},h)})},r.CircleWrapper=d,Object.defineProperty(r,"__esModule",{value:!0})});
1
+ define(["exports","./tslib.es6-30a906db","preact/jsx-runtime","preact/compat"],function(r,t,o,i){"use strict";const e=i.forwardRef((r,i)=>{var{id:e,length:d="100%",children:s,color:l,orientation:a="horizontal",ariaProps:c}=r,h=t.__rest(r,["id","length","children","color","orientation","ariaProps"]);const n="horizontal"===a;return o.jsx("div",Object.assign({id:e,ref:i,class:h.class},c,{style:{width:n?d:void 0,height:n?void 0:d,backgroundColor:l}},{children:s}))}),d=i.forwardRef((r,i)=>{var{id:e,children:d,color:s,clipPath:l,borderWidth:a,ariaProps:c}=r,h=t.__rest(r,["id","children","color","clipPath","borderWidth","ariaProps"]);return o.jsx("div",Object.assign({id:e,ref:i},c,{class:h.class,style:{borderColor:s,borderWidth:a,clipPath:l}},{children:d}))});r.BarTrack=e,r.BarValue=r=>{var{length:i="100%",size:e="100%",orientation:d="horizontal",color:s}=r,l=t.__rest(r,["length","size","orientation","color"]);const a="horizontal"===d;return o.jsx("div",{class:l.class,style:{width:a?i:e,height:a?e:i,backgroundColor:s}})},r.CircleInner=r=>{var{clipPath:i,color:e,height:d,width:s,size:l,section:a="full"}=r,c=t.__rest(r,["clipPath","color","height","width","size","section"]);const h=function(r,t){const o={borderTopWidth:t,borderBottomWidth:t,borderRightWidth:t,borderLeftWidth:t};return"top"===r&&(o.borderBottomWidth=void 0),"bottom"===r&&(o.borderTopWidth=void 0),"left"===r&&(o.borderRightWidth=void 0),"right"===r&&(o.borderLeftWidth=void 0),o}(a,l);return o.jsx("div",{class:c.class,style:Object.assign({clipPath:i,borderColor:e,height:d,width:s},h)})},r.CircleWrapper=d,Object.defineProperty(r,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=PRIVATE_Meter.js.map
@@ -1,18 +1,18 @@
1
- ._114lwt8{box-sizing:border-box;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-popup-bg-color);border:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-popup-border-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);box-shadow:var(--oj-c-PRIVATE-DO-NOT-USE-core-dropdown-box-shadow);display:flex;flex-direction:column;max-height:400px;}
1
+ ._2y3muy{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
2
2
 
3
- .p2338r{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
3
+ ._8u58su{box-sizing:border-box;background-color:var(--oj-c-PRIVATE-DO-NOT-USE-popup-bg-color);border:1px solid var(--oj-c-PRIVATE-DO-NOT-USE-popup-border-color);border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);box-shadow:var(--oj-c-PRIVATE-DO-NOT-USE-core-dropdown-box-shadow);display:flex;flex-direction:column;max-height:400px;}
4
4
 
5
- ._1c1z2gm{padding-left:0;padding-right:0;margin:1px 0 2px 0;position:relative;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;}
6
- ._1mao8bt{padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
7
- .lt4yng{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
8
- .a0tj7w{min-height:calc(10 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));}
5
+ ._12pyzpb{padding-left:0;padding-right:0;margin:1px 0 2px 0;position:relative;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;}
6
+ .b4qih{padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
7
+ ._1qtloqm{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
8
+ .pj0so5{min-height:calc(10 * var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x));}
9
9
 
10
- .ffnfen{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
10
+ ._16uklao{padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
11
11
 
12
- ._15bjeyy{display:inline-flex;align-items:center;justify-content:center;padding-inline:0;padding-block:0;border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg);}
13
- .yk262v{width:2.75rem;height:2.75rem;line-height:2.75rem;}
14
- ._13xik4q{width:2.25rem;height:2.25rem;line-height:2.25rem;}
15
- .yqn33b{cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);}.yqn33b:hover{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);border-color:transparent;}
16
- .vfy7jy{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
12
+ .u6a2bl{display:inline-flex;align-items:center;justify-content:center;padding-inline:0;padding-block:0;border-radius:var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md);color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg);}
13
+ .d3q0b6{width:2.75rem;height:2.75rem;line-height:2.75rem;}
14
+ ._1kl3gqx{width:2.25rem;height:2.25rem;line-height:2.25rem;}
15
+ ._65pzxb{cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);}._65pzxb:hover{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);background-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover);border-color:transparent;}
16
+ ._11m0fv3{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
17
17
 
18
- .o3uxfr{border-top-color:rgba(var(--oj-c-PRIVATE-DO-NOT-USE-palette-neutral-rgb-190),0.1);border-top-style:solid;border-top-width:1px;padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
18
+ ._34u7ig{border-top-color:rgba(var(--oj-c-PRIVATE-DO-NOT-USE-palette-neutral-rgb-190),0.1);border-top-style:solid;border-top-width:1px;padding-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-left:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-right:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);padding-top:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}