@oracle/oraclejet-preact 14.0.2 → 14.0.4

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 (1146) hide show
  1. package/amd/Badge-654c1034.js +2 -0
  2. package/amd/{Badge-0beeb09e.js.map → Badge-654c1034.js.map} +1 -1
  3. package/amd/BaseButton-f6b56c16.js +2 -0
  4. package/amd/{BaseButton-a31275cc.js.map → BaseButton-f6b56c16.js.map} +1 -1
  5. package/amd/Button-dc28bc46.js +2 -0
  6. package/amd/{Button-26513e96.js.map → Button-dc28bc46.js.map} +1 -1
  7. package/amd/Chip-d51425d5.js +2 -0
  8. package/amd/{Chip-a71f9224.js.map → Chip-d51425d5.js.map} +1 -1
  9. package/amd/ClearIcon-8fc1ea23.js +2 -0
  10. package/amd/{ClearIcon-ee6994a4.js.map → ClearIcon-8fc1ea23.js.map} +1 -1
  11. package/amd/{Collection-805cf4b4.js → Collection-8a961897.js} +1 -1
  12. package/amd/{Collection-805cf4b4.js.map → Collection-8a961897.js.map} +1 -1
  13. package/amd/ComponentMessage-08ded24e.js +2 -0
  14. package/amd/{ComponentMessage-9e802f39.js.map → ComponentMessage-08ded24e.js.map} +1 -1
  15. package/amd/{ComponentMessageContainer-2bfa2078.js → ComponentMessageContainer-d309a605.js} +2 -2
  16. package/amd/{ComponentMessageContainer-2bfa2078.js.map → ComponentMessageContainer-d309a605.js.map} +1 -1
  17. package/amd/Divider-9f2d3a19.js +2 -0
  18. package/amd/{Divider-9262e69a.js.map → Divider-9f2d3a19.js.map} +1 -1
  19. package/amd/{FilePicker-18a92512.js → FilePicker-6887d5e2.js} +2 -2
  20. package/amd/{FilePicker-18a92512.js.map → FilePicker-6887d5e2.js.map} +1 -1
  21. package/amd/Flex-f922bd14.js +2 -0
  22. package/amd/{Flex-bfc6c229.js.map → Flex-f922bd14.js.map} +1 -1
  23. package/amd/Floating-f23a546d.js +2 -0
  24. package/amd/{Floating-863a4a52.js.map → Floating-f23a546d.js.map} +1 -1
  25. package/amd/FocusTrap-38127371.js +2 -0
  26. package/amd/{FocusTrap-4796ed88.js.map → FocusTrap-38127371.js.map} +1 -1
  27. package/amd/FormControlUtils-4342d13b.js +2 -0
  28. package/amd/{FormControlUtils-4236f687.js.map → FormControlUtils-4342d13b.js.map} +1 -1
  29. package/amd/Heading-92940027.js +2 -0
  30. package/amd/{Heading-2a0e8b5d.js.map → Heading-92940027.js.map} +1 -1
  31. package/amd/{HiddenAccessible-4801c573.js → HiddenAccessible-3afe5d7e.js} +2 -2
  32. package/amd/{HiddenAccessible-4801c573.js.map → HiddenAccessible-3afe5d7e.js.map} +1 -1
  33. package/amd/HighlightText-691a0697.js +2 -0
  34. package/amd/{HighlightText-1bbd084b.js.map → HighlightText-691a0697.js.map} +1 -1
  35. package/amd/Icon-4325e74f.js +2 -0
  36. package/amd/{Icon-66acac47.js.map → Icon-4325e74f.js.map} +1 -1
  37. package/amd/Indexer-c86699cc.js +2 -0
  38. package/amd/{Indexer-88e5debf.js.map → Indexer-c86699cc.js.map} +1 -1
  39. package/amd/{InlineHelpSource-87132e33.js → InlineHelpSource-0da64d0a.js} +2 -2
  40. package/amd/{InlineHelpSource-87132e33.js.map → InlineHelpSource-0da64d0a.js.map} +1 -1
  41. package/amd/Link-ca890659.js +2 -0
  42. package/amd/{Link-f42b6199.js.map → Link-ca890659.js.map} +1 -1
  43. package/amd/List-7b05e54e.js +2 -0
  44. package/amd/{List-468ffcb6.js.map → List-7b05e54e.js.map} +1 -1
  45. package/amd/ListItemTextLayout-700c1594.js +2 -0
  46. package/amd/{ListItemTextLayout-44f494ea.js.map → ListItemTextLayout-700c1594.js.map} +1 -1
  47. package/amd/ListView-9c35502a.js +2 -0
  48. package/amd/{ListView-a4690952.js.map → ListView-9c35502a.js.map} +1 -1
  49. package/amd/{LoadMoreCollection-b395a4ad.js → LoadMoreCollection-c0a38d55.js} +2 -2
  50. package/amd/{LoadMoreCollection-b395a4ad.js.map → LoadMoreCollection-c0a38d55.js.map} +1 -1
  51. package/amd/{Menu-5a5220fc.js → Menu-437af256.js} +2 -2
  52. package/amd/{Menu-5a5220fc.js.map → Menu-437af256.js.map} +1 -1
  53. package/amd/MenuDivider-dd7e5fe0.js +2 -0
  54. package/amd/{MenuDivider-a325668f.js.map → MenuDivider-dd7e5fe0.js.map} +1 -1
  55. package/amd/MenuItem-4710370c.js +2 -0
  56. package/amd/{MenuItem-884f0dd4.js.map → MenuItem-4710370c.js.map} +1 -1
  57. package/amd/{Message.types-eb760bd7.js → Message.types-97d3e7a4.js} +1 -1
  58. package/amd/{Message.types-eb760bd7.js.map → Message.types-97d3e7a4.js.map} +1 -1
  59. package/amd/MessageCloseButton-fc804358.js +2 -0
  60. package/amd/{MessageCloseButton-8366a158.js.map → MessageCloseButton-fc804358.js.map} +1 -1
  61. package/amd/MessageDetail-c1e0cdc2.js +2 -0
  62. package/amd/{MessageDetail-d500a9a3.js.map → MessageDetail-c1e0cdc2.js.map} +1 -1
  63. package/amd/{MessageFormattingUtils-bdfaac26.js → MessageFormattingUtils-95f48c88.js} +2 -2
  64. package/amd/{MessageFormattingUtils-bdfaac26.js.map → MessageFormattingUtils-95f48c88.js.map} +1 -1
  65. package/amd/MessageLayer-6e18bb81.js +2 -0
  66. package/amd/{MessageLayer-21a1fac3.js.map → MessageLayer-6e18bb81.js.map} +1 -1
  67. package/amd/MessageStartIcon-665f54bc.js +2 -0
  68. package/amd/{MessageStartIcon-20e17ea1.js.map → MessageStartIcon-665f54bc.js.map} +1 -1
  69. package/amd/MessageSummary-4bfdff83.js +2 -0
  70. package/amd/{MessageSummary-c91f9b00.js.map → MessageSummary-4bfdff83.js.map} +1 -1
  71. package/amd/MessageTimestamp-7b2ca246.js +2 -0
  72. package/amd/{MessageTimestamp-de77475d.js.map → MessageTimestamp-7b2ca246.js.map} +1 -1
  73. package/amd/{MessageToast-c1228272.js → MessageToast-3e32e2a0.js} +2 -2
  74. package/amd/{MessageToast-c1228272.js.map → MessageToast-3e32e2a0.js.map} +1 -1
  75. package/amd/{MessageUtils-8216ac4e.js → MessageUtils-e1daf68f.js} +2 -2
  76. package/amd/{MessageUtils-8216ac4e.js.map → MessageUtils-e1daf68f.js.map} +1 -1
  77. package/amd/{MessagesManager-615b69fb.js → MessagesManager-815876b7.js} +2 -2
  78. package/amd/{MessagesManager-615b69fb.js.map → MessagesManager-815876b7.js.map} +1 -1
  79. package/amd/MeterCircle-df387369.js +2 -0
  80. package/amd/{MeterCircle-f142cd7b.js.map → MeterCircle-df387369.js.map} +1 -1
  81. package/amd/Modal-fd412c92.js +2 -0
  82. package/amd/{Modal-ce6f32c7.js.map → Modal-fd412c92.js.map} +1 -1
  83. package/amd/{NumberInputText-7d1a99a2.js → NumberInputText-a96d332d.js} +2 -2
  84. package/amd/{NumberInputText-7d1a99a2.js.map → NumberInputText-a96d332d.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_Meter.js.map +1 -1
  95. package/amd/PRIVATE_SelectCommon.css +13 -13
  96. package/amd/PRIVATE_SelectCommon.js +1 -1
  97. package/amd/PRIVATE_SelectCommon.js.map +1 -1
  98. package/amd/PRIVATE_TransitionGroup.js +1 -1
  99. package/amd/PRIVATE_TransitionGroup.js.map +1 -1
  100. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  101. package/amd/ReadonlyTextFieldInput-a0801f52.js +2 -0
  102. package/amd/{ReadonlyTextFieldInput-55011079.js.map → ReadonlyTextFieldInput-a0801f52.js.map} +1 -1
  103. package/amd/SelectMenuItem-6221f2c2.js +2 -0
  104. package/amd/{SelectMenuItem-0dccca8f.js.map → SelectMenuItem-6221f2c2.js.map} +1 -1
  105. package/amd/SelectMultiple-e389fa94.js +2 -0
  106. package/amd/{SelectMultiple-19081cd1.js.map → SelectMultiple-e389fa94.js.map} +1 -1
  107. package/amd/{SelectSingle-fdcd29a7.js → SelectSingle-5d0d1dac.js} +2 -2
  108. package/amd/{SelectSingle-fdcd29a7.js.map → SelectSingle-5d0d1dac.js.map} +1 -1
  109. package/amd/Skeleton-212f1c06.js +2 -0
  110. package/amd/{Skeleton-3ccbc4fc.js.map → Skeleton-212f1c06.js.map} +1 -1
  111. package/amd/Spacer-db6d0be9.js +2 -0
  112. package/amd/{Spacer-da4de41b.js.map → Spacer-db6d0be9.js.map} +1 -1
  113. package/amd/SplitMenuButton-4424a532.js +2 -0
  114. package/amd/{SplitMenuButton-3ba67def.js.map → SplitMenuButton-4424a532.js.map} +1 -1
  115. package/amd/Text-e56a259a.js +2 -0
  116. package/amd/{Text-0f26039f.js.map → Text-e56a259a.js.map} +1 -1
  117. package/amd/TextArea-789d819d.js +2 -0
  118. package/amd/{TextArea-5c9e42d9.js.map → TextArea-789d819d.js.map} +1 -1
  119. package/amd/{TextAreaAutosize-5e616225.js → TextAreaAutosize-4ff7c1b8.js} +2 -2
  120. package/amd/{TextAreaAutosize-5e616225.js.map → TextAreaAutosize-4ff7c1b8.js.map} +1 -1
  121. package/amd/TextFieldInput-f9e605d9.js +2 -0
  122. package/amd/{TextFieldInput-bc03d412.js.map → TextFieldInput-f9e605d9.js.map} +1 -1
  123. package/amd/UNSAFE_AspectRatio.css +1 -1
  124. package/amd/UNSAFE_AspectRatio.js +1 -1
  125. package/amd/UNSAFE_Avatar.css +8 -8
  126. package/amd/UNSAFE_Avatar.js +1 -1
  127. package/amd/UNSAFE_Avatar.js.map +1 -1
  128. package/amd/UNSAFE_Badge.css +13 -13
  129. package/amd/UNSAFE_Badge.js +1 -1
  130. package/amd/UNSAFE_BaseButton.css +15 -15
  131. package/amd/UNSAFE_BaseButton.js +1 -1
  132. package/amd/UNSAFE_Button.css +8 -8
  133. package/amd/UNSAFE_Button.js +1 -1
  134. package/amd/UNSAFE_Center.js +1 -1
  135. package/amd/UNSAFE_Center.js.map +1 -1
  136. package/amd/UNSAFE_Chip.css +7 -7
  137. package/amd/UNSAFE_Chip.js +1 -1
  138. package/amd/UNSAFE_Collapsible.css +8 -8
  139. package/amd/UNSAFE_Collapsible.js +1 -1
  140. package/amd/UNSAFE_Collapsible.js.map +1 -1
  141. package/amd/UNSAFE_ComponentMessage.css +2 -2
  142. package/amd/UNSAFE_ComponentMessage.js +1 -1
  143. package/amd/UNSAFE_Divider.css +1 -1
  144. package/amd/UNSAFE_Divider.js +1 -1
  145. package/amd/UNSAFE_Environment.js.map +1 -1
  146. package/amd/UNSAFE_FilePicker.css +6 -6
  147. package/amd/UNSAFE_FilePicker.js +1 -1
  148. package/amd/UNSAFE_Flex.css +2 -2
  149. package/amd/UNSAFE_Flex.js +1 -1
  150. package/amd/UNSAFE_Floating.js +1 -1
  151. package/amd/UNSAFE_FocusTrap.css +2 -2
  152. package/amd/UNSAFE_FocusTrap.js +1 -1
  153. package/amd/UNSAFE_Grid.css +1 -1
  154. package/amd/UNSAFE_Grid.js +1 -1
  155. package/amd/UNSAFE_Grid.js.map +1 -1
  156. package/amd/UNSAFE_Heading.css +9 -9
  157. package/amd/UNSAFE_Heading.js +1 -1
  158. package/amd/UNSAFE_HiddenAccessible.css +1 -1
  159. package/amd/UNSAFE_HiddenAccessible.js +1 -1
  160. package/amd/UNSAFE_HighlightText.css +1 -1
  161. package/amd/UNSAFE_HighlightText.js +1 -1
  162. package/amd/UNSAFE_Icon.css +21 -21
  163. package/amd/UNSAFE_Icon.js +1 -1
  164. package/amd/UNSAFE_Icons.js +1 -1
  165. package/amd/UNSAFE_Indexer.css +7 -7
  166. package/amd/UNSAFE_Indexer.js +1 -1
  167. package/amd/UNSAFE_InputPassword.css +1 -1
  168. package/amd/UNSAFE_InputPassword.js +1 -1
  169. package/amd/UNSAFE_InputPassword.js.map +1 -1
  170. package/amd/UNSAFE_InputText.css +1 -1
  171. package/amd/UNSAFE_InputText.js +1 -1
  172. package/amd/UNSAFE_InputText.js.map +1 -1
  173. package/amd/UNSAFE_Label.css +13 -13
  174. package/amd/UNSAFE_Label.js +1 -1
  175. package/amd/UNSAFE_Label.js.map +1 -1
  176. package/amd/UNSAFE_LabelValueLayout.css +9 -9
  177. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  178. package/amd/UNSAFE_LabelValueLayout.js.map +1 -1
  179. package/amd/UNSAFE_Link.css +5 -5
  180. package/amd/UNSAFE_Link.js +1 -1
  181. package/amd/UNSAFE_ListItemLayout.css +9 -9
  182. package/amd/UNSAFE_ListItemLayout.js +1 -1
  183. package/amd/UNSAFE_ListView.js +1 -1
  184. package/amd/UNSAFE_LiveRegion.css +1 -1
  185. package/amd/UNSAFE_LiveRegion.js +1 -1
  186. package/amd/UNSAFE_LiveRegion.js.map +1 -1
  187. package/amd/UNSAFE_LoadMoreCollection.js +1 -1
  188. package/amd/UNSAFE_Menu.css +17 -17
  189. package/amd/UNSAFE_Menu.js +1 -1
  190. package/amd/UNSAFE_MessageBanner.js +1 -1
  191. package/amd/UNSAFE_MessageBanner.js.map +1 -1
  192. package/amd/UNSAFE_MessageToast.css +1 -1
  193. package/amd/UNSAFE_MessageToast.js +1 -1
  194. package/amd/UNSAFE_MeterBar.css +43 -43
  195. package/amd/UNSAFE_MeterBar.js +1 -1
  196. package/amd/UNSAFE_MeterBar.js.map +1 -1
  197. package/amd/UNSAFE_MeterCircle.css +46 -46
  198. package/amd/UNSAFE_MeterCircle.js +1 -1
  199. package/amd/UNSAFE_Modal.css +3 -3
  200. package/amd/UNSAFE_Modal.js +1 -1
  201. package/amd/UNSAFE_NumberInputText.js +1 -1
  202. package/amd/UNSAFE_PrefixSuffix.css +8 -8
  203. package/amd/UNSAFE_PrefixSuffix.js +1 -1
  204. package/amd/UNSAFE_PrefixSuffix.js.map +1 -1
  205. package/amd/UNSAFE_ProgressBar.css +6 -6
  206. package/amd/UNSAFE_ProgressBar.js +1 -1
  207. package/amd/UNSAFE_ProgressBar.js.map +1 -1
  208. package/amd/UNSAFE_ProgressCircle.css +6 -6
  209. package/amd/UNSAFE_ProgressCircle.js +1 -1
  210. package/amd/UNSAFE_ProgressCircle.js.map +1 -1
  211. package/amd/UNSAFE_RatingGauge.css +20 -20
  212. package/amd/UNSAFE_RatingGauge.js +1 -1
  213. package/amd/UNSAFE_RatingGauge.js.map +1 -1
  214. package/amd/UNSAFE_SelectMultiple.css +1 -1
  215. package/amd/UNSAFE_SelectMultiple.js +1 -1
  216. package/amd/UNSAFE_SelectSingle.js +1 -1
  217. package/amd/UNSAFE_Selector.css +5 -5
  218. package/amd/UNSAFE_Selector.js +1 -1
  219. package/amd/UNSAFE_Selector.js.map +1 -1
  220. package/amd/UNSAFE_Skeleton.css +1 -1
  221. package/amd/UNSAFE_Skeleton.js +1 -1
  222. package/amd/UNSAFE_Spacer.js +1 -1
  223. package/amd/UNSAFE_SplitMenuButton.css +5 -5
  224. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  225. package/amd/UNSAFE_Text.css +25 -25
  226. package/amd/UNSAFE_Text.js +1 -1
  227. package/amd/UNSAFE_TextArea.css +3 -3
  228. package/amd/UNSAFE_TextArea.js +1 -1
  229. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  230. package/amd/UNSAFE_TextField.css +58 -58
  231. package/amd/UNSAFE_TextField.js +1 -1
  232. package/amd/UNSAFE_TextField.js.map +1 -1
  233. package/amd/UNSAFE_ThemedIcons.js +1 -1
  234. package/amd/UNSAFE_UserAssistance.css +8 -8
  235. package/amd/UNSAFE_UserAssistance.js +1 -1
  236. package/amd/UNSAFE_UserAssistance.js.map +1 -1
  237. package/amd/UNSAFE_View.js +1 -1
  238. package/amd/UNSAFE_View.js.map +1 -1
  239. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  240. package/amd/{VirtualizedCollection-83b0641b.js → VirtualizedCollection-54fac538.js} +2 -2
  241. package/amd/{VirtualizedCollection-83b0641b.js.map → VirtualizedCollection-54fac538.js.map} +1 -1
  242. package/amd/VirtualizedListView-0b17561c.js +2 -0
  243. package/amd/{VirtualizedListView-c12f7343.js.map → VirtualizedListView-0b17561c.js.map} +1 -1
  244. package/amd/{_curry1-9eeaf6ed.js → _curry1-9cbf463f.js} +1 -1
  245. package/amd/{_curry1-9eeaf6ed.js.map → _curry1-9cbf463f.js.map} +1 -1
  246. package/amd/_curry2-37583590.js +2 -0
  247. package/amd/{_curry2-466cc994.js.map → _curry2-37583590.js.map} +1 -1
  248. package/amd/_curry3-2cf14b96.js +2 -0
  249. package/amd/{_curry3-167fa665.js.map → _curry3-2cf14b96.js.map} +1 -1
  250. package/amd/_has-b679fc56.js +2 -0
  251. package/amd/{_has-aa07e02d.js.map → _has-b679fc56.js.map} +1 -1
  252. package/amd/{classNames-e580c7c7.js → classNames-2ba58777.js} +1 -1
  253. package/amd/{classNames-e580c7c7.js.map → classNames-2ba58777.js.map} +1 -1
  254. package/amd/{clientHints-914fecb1.js → clientHints-4aaefa1c.js} +1 -1
  255. package/amd/{clientHints-914fecb1.js.map → clientHints-4aaefa1c.js.map} +1 -1
  256. package/amd/flexbox-f0221a64.js +2 -0
  257. package/amd/{flexbox-37da5c1b.js.map → flexbox-f0221a64.js.map} +1 -1
  258. package/amd/flexitem-4580af77.js +2 -0
  259. package/amd/{flexitem-f592cd81.js.map → flexitem-4580af77.js.map} +1 -1
  260. package/amd/hooks/PRIVATE_useDvtMeterEvents.js +1 -1
  261. package/amd/hooks/PRIVATE_useDvtMeterEvents.js.map +1 -1
  262. package/amd/hooks/PRIVATE_useMessagesFocusManager.js.map +1 -1
  263. package/amd/hooks/PRIVATE_useSingleSelection.js +1 -1
  264. package/amd/hooks/UNSAFE_useActionable.js.map +1 -1
  265. package/amd/hooks/UNSAFE_useActive.js.map +1 -1
  266. package/amd/hooks/UNSAFE_useAnimation.js +1 -1
  267. package/amd/hooks/UNSAFE_useClearIcon.js.map +1 -1
  268. package/amd/hooks/UNSAFE_useContainerBreakpointValues.js.map +1 -1
  269. package/amd/hooks/UNSAFE_useCurrentValueReducer.js.map +1 -1
  270. package/amd/hooks/UNSAFE_useFloating.js +1 -1
  271. package/amd/hooks/UNSAFE_useFocus.js.map +1 -1
  272. package/amd/hooks/UNSAFE_useFocusWithin.js +1 -1
  273. package/amd/hooks/UNSAFE_useFocusableTextField.js +1 -1
  274. package/amd/hooks/UNSAFE_useFocusableTextField.js.map +1 -1
  275. package/amd/hooks/UNSAFE_useHover.js.map +1 -1
  276. package/amd/hooks/UNSAFE_useLengthFilter.js.map +1 -1
  277. package/amd/hooks/UNSAFE_useLongPress.js.map +1 -1
  278. package/amd/hooks/UNSAFE_usePan.js.map +1 -1
  279. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  280. package/amd/hooks/UNSAFE_usePrefixSuffix.js.map +1 -1
  281. package/amd/hooks/UNSAFE_useSwipe.js.map +1 -1
  282. package/amd/hooks/UNSAFE_useTextField.js.map +1 -1
  283. package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  284. package/amd/hooks/UNSAFE_useTextFieldInputHandlers.js.map +1 -1
  285. package/amd/hooks/UNSAFE_useTimer.js.map +1 -1
  286. package/amd/hooks/UNSAFE_useTooltip.css +4 -4
  287. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  288. package/amd/hooks/UNSAFE_useTooltip.js.map +1 -1
  289. package/amd/hooks/UNSAFE_useTouch.js.map +1 -1
  290. package/amd/hooks/UNSAFE_useTranslationBundle.js.map +1 -1
  291. package/amd/hooks/UNSAFE_useUncontrolledState.js +1 -1
  292. package/amd/hooks/UNSAFE_useUncontrolledState.js.map +1 -1
  293. package/amd/hooks/UNSAFE_useViewportIntersect.js.map +1 -1
  294. package/amd/{index-03ab344e.js → index-16862ac7.js} +2 -2
  295. package/amd/{index-03ab344e.js.map → index-16862ac7.js.map} +1 -1
  296. package/amd/index-b6f31c6c.js +2 -0
  297. package/amd/{index-17cde748.js.map → index-b6f31c6c.js.map} +1 -1
  298. package/amd/{index-4d399da7.js → index-cf988fc7.js} +2 -2
  299. package/amd/{index-4d399da7.js.map → index-cf988fc7.js.map} +1 -1
  300. package/amd/keys-ac292f2b.js +2 -0
  301. package/amd/{keys-992a0824.js.map → keys-ac292f2b.js.map} +1 -1
  302. package/amd/listViewSelectionTests-cd7ced2c.js +2 -0
  303. package/amd/{listViewSelectionTests-27c184ae.js.map → listViewSelectionTests-cd7ced2c.js.map} +1 -1
  304. package/amd/{listViewTabbableModeTests-b40466e1.js → listViewTabbableModeTests-c51b69c1.js} +2 -2
  305. package/amd/{listViewTabbableModeTests-b40466e1.js.map → listViewTabbableModeTests-c51b69c1.js.map} +1 -1
  306. package/amd/{listViewTestFixtures-fb5fc936.js → listViewTestFixtures-a4b0de2f.js} +1 -1
  307. package/amd/{listViewTestFixtures-fb5fc936.js.map → listViewTestFixtures-a4b0de2f.js.map} +1 -1
  308. package/amd/{menuTestsUtils-22bd8f7b.js → menuTestsUtils-594e921a.js} +1 -1
  309. package/amd/{menuTestsUtils-22bd8f7b.js.map → menuTestsUtils-594e921a.js.map} +1 -1
  310. package/amd/resources/nls/ar/bundle.js.map +1 -1
  311. package/amd/resources/nls/ar-XB/bundle.js.map +1 -1
  312. package/amd/resources/nls/bg/bundle.js.map +1 -1
  313. package/amd/resources/nls/bs/bundle.js.map +1 -1
  314. package/amd/resources/nls/bs-Cyrl/bundle.js.map +1 -1
  315. package/amd/resources/nls/bundle.js.map +1 -1
  316. package/amd/resources/nls/cs/bundle.js.map +1 -1
  317. package/amd/resources/nls/da/bundle.js.map +1 -1
  318. package/amd/resources/nls/de/bundle.js.map +1 -1
  319. package/amd/resources/nls/el/bundle.js.map +1 -1
  320. package/amd/resources/nls/en/bundle.js.map +1 -1
  321. package/amd/resources/nls/en-XA/bundle.js.map +1 -1
  322. package/amd/resources/nls/en-XC/bundle.js.map +1 -1
  323. package/amd/resources/nls/es/bundle.js.map +1 -1
  324. package/amd/resources/nls/et/bundle.js.map +1 -1
  325. package/amd/resources/nls/fi/bundle.js.map +1 -1
  326. package/amd/resources/nls/fr/bundle.js.map +1 -1
  327. package/amd/resources/nls/fr-CA/bundle.js.map +1 -1
  328. package/amd/resources/nls/he/bundle.js.map +1 -1
  329. package/amd/resources/nls/hr/bundle.js.map +1 -1
  330. package/amd/resources/nls/hu/bundle.js.map +1 -1
  331. package/amd/resources/nls/is/bundle.js.map +1 -1
  332. package/amd/resources/nls/it/bundle.js.map +1 -1
  333. package/amd/resources/nls/ja/bundle.js.map +1 -1
  334. package/amd/resources/nls/ko/bundle.js.map +1 -1
  335. package/amd/resources/nls/lt/bundle.js.map +1 -1
  336. package/amd/resources/nls/lv/bundle.js.map +1 -1
  337. package/amd/resources/nls/ms/bundle.js.map +1 -1
  338. package/amd/resources/nls/nl/bundle.js.map +1 -1
  339. package/amd/resources/nls/no/bundle.js.map +1 -1
  340. package/amd/resources/nls/pl/bundle.js.map +1 -1
  341. package/amd/resources/nls/pt/bundle.js.map +1 -1
  342. package/amd/resources/nls/pt-PT/bundle.js.map +1 -1
  343. package/amd/resources/nls/ro/bundle.js.map +1 -1
  344. package/amd/resources/nls/ru/bundle.js.map +1 -1
  345. package/amd/resources/nls/sk/bundle.js.map +1 -1
  346. package/amd/resources/nls/sl/bundle.js.map +1 -1
  347. package/amd/resources/nls/sr/bundle.js.map +1 -1
  348. package/amd/resources/nls/sr-Latn/bundle.js.map +1 -1
  349. package/amd/resources/nls/sv/bundle.js.map +1 -1
  350. package/amd/resources/nls/th/bundle.js.map +1 -1
  351. package/amd/resources/nls/tr/bundle.js.map +1 -1
  352. package/amd/resources/nls/uk/bundle.js.map +1 -1
  353. package/amd/resources/nls/vi/bundle.js.map +1 -1
  354. package/amd/resources/nls/zh-Hans/bundle.js.map +1 -1
  355. package/amd/resources/nls/zh-Hant/bundle.js.map +1 -1
  356. package/amd/{stringUtils-e3a47803.js → stringUtils-1ad4f59d.js} +1 -1
  357. package/amd/{stringUtils-e3a47803.js.map → stringUtils-1ad4f59d.js.map} +1 -1
  358. package/amd/{testHelpers-5a1300a8.js → testHelpers-7a807b9e.js} +1 -1
  359. package/amd/{testHelpers-5a1300a8.js.map → testHelpers-7a807b9e.js.map} +1 -1
  360. package/amd/{tslib.es6-fa3971d7.js → tslib.es6-d9d2f5d6.js} +1 -1
  361. package/amd/{tslib.es6-fa3971d7.js.map → tslib.es6-d9d2f5d6.js.map} +1 -1
  362. package/amd/{useAnimation-215b2be2.js → useAnimation-c8511df4.js} +2 -2
  363. package/amd/{useAnimation-215b2be2.js.map → useAnimation-c8511df4.js.map} +1 -1
  364. package/amd/{useFocusWithin-d77d235f.js → useFocusWithin-8f27a1c8.js} +1 -1
  365. package/amd/{useFocusWithin-d77d235f.js.map → useFocusWithin-8f27a1c8.js.map} +1 -1
  366. package/amd/{useSingleSelection-11aca1fe.js → useSingleSelection-bd1208cf.js} +1 -1
  367. package/amd/{useSingleSelection-11aca1fe.js.map → useSingleSelection-bd1208cf.js.map} +1 -1
  368. package/amd/utils/PRIVATE_clientHints.js +1 -1
  369. package/amd/utils/PRIVATE_collectionUtils.js.map +1 -1
  370. package/amd/utils/PRIVATE_meterUtils.js.map +1 -1
  371. package/amd/utils/PRIVATE_tabbableUtils.js +1 -1
  372. package/amd/utils/PRIVATE_tabbableUtils.js.map +1 -1
  373. package/amd/utils/UNSAFE_classNames.js +1 -1
  374. package/amd/utils/UNSAFE_componentUtils.js +1 -1
  375. package/amd/utils/UNSAFE_componentUtils.js.map +1 -1
  376. package/amd/utils/UNSAFE_filePickerUtils.js.map +1 -1
  377. package/amd/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  378. package/amd/utils/UNSAFE_interpolations/boxalignment.js +1 -1
  379. package/amd/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  380. package/amd/utils/UNSAFE_interpolations/dimensions.js +1 -1
  381. package/amd/utils/UNSAFE_interpolations/flexbox.css +7 -7
  382. package/amd/utils/UNSAFE_interpolations/flexbox.js +1 -1
  383. package/amd/utils/UNSAFE_interpolations/flexitem.css +7 -7
  384. package/amd/utils/UNSAFE_interpolations/flexitem.js +1 -1
  385. package/amd/utils/UNSAFE_interpolations/padding.js.map +1 -1
  386. package/amd/utils/UNSAFE_interpolations/text.css +3 -3
  387. package/amd/utils/UNSAFE_interpolations/text.js +1 -1
  388. package/amd/utils/UNSAFE_interpolations/text.js.map +1 -1
  389. package/amd/utils/UNSAFE_lengthFilter.js.map +1 -1
  390. package/amd/utils/UNSAFE_logger.js +1 -1
  391. package/amd/utils/UNSAFE_mergeInterpolations.js +1 -1
  392. package/amd/utils/UNSAFE_mergeInterpolations.js.map +1 -1
  393. package/amd/utils/UNSAFE_mergeProps.js +1 -1
  394. package/amd/utils/UNSAFE_mergeProps.js.map +1 -1
  395. package/amd/utils/UNSAFE_size.js.map +1 -1
  396. package/amd/utils/UNSAFE_stringUtils.js +1 -1
  397. package/amd/utils/UNSAFE_units.js +1 -1
  398. package/amd/utils/UNSAFE_units.js.map +1 -1
  399. package/cjs/{Badge-d9c4a8ba.js → Badge-13351533.js} +16 -16
  400. package/cjs/{Badge-d9c4a8ba.js.map → Badge-13351533.js.map} +1 -1
  401. package/cjs/{BaseButton-0ce055c6.js → BaseButton-1c38289b.js} +20 -20
  402. package/cjs/{BaseButton-0ce055c6.js.map → BaseButton-1c38289b.js.map} +1 -1
  403. package/cjs/{Button-b654ca4f.js → Button-fe40b39e.js} +13 -13
  404. package/cjs/{Button-b654ca4f.js.map → Button-fe40b39e.js.map} +1 -1
  405. package/cjs/{Chip-d1e3870e.js → Chip-67746a23.js} +10 -10
  406. package/cjs/{Chip-d1e3870e.js.map → Chip-67746a23.js.map} +1 -1
  407. package/cjs/{ClearIcon-b0e427ef.js → ClearIcon-2d70a092.js} +3 -3
  408. package/cjs/{ClearIcon-b0e427ef.js.map → ClearIcon-2d70a092.js.map} +1 -1
  409. package/cjs/{Collection-2344ca28.js → Collection-0f2bdea0.js} +2 -2
  410. package/cjs/{Collection-2344ca28.js.map → Collection-0f2bdea0.js.map} +1 -1
  411. package/cjs/{ComponentMessage-e7f71599.js → ComponentMessage-1905b2ad.js} +8 -8
  412. package/cjs/{ComponentMessage-e7f71599.js.map → ComponentMessage-1905b2ad.js.map} +1 -1
  413. package/cjs/{ComponentMessageContainer-57ba740f.js → ComponentMessageContainer-8a5a2ea4.js} +5 -5
  414. package/cjs/{ComponentMessageContainer-57ba740f.js.map → ComponentMessageContainer-8a5a2ea4.js.map} +1 -1
  415. package/cjs/{Divider-128e7986.js → Divider-f89689d0.js} +3 -3
  416. package/cjs/{Divider-128e7986.js.map → Divider-f89689d0.js.map} +1 -1
  417. package/cjs/{FilePicker-1e7c4f54.js → FilePicker-3faeacec.js} +14 -14
  418. package/cjs/{FilePicker-1e7c4f54.js.map → FilePicker-3faeacec.js.map} +1 -1
  419. package/cjs/{Flex-d2368fa3.js → Flex-70f45c1b.js} +8 -8
  420. package/cjs/{Flex-d2368fa3.js.map → Flex-70f45c1b.js.map} +1 -1
  421. package/cjs/{Floating-55a84bdd.js → Floating-cea8b705.js} +3 -3
  422. package/cjs/{Floating-55a84bdd.js.map → Floating-cea8b705.js.map} +1 -1
  423. package/cjs/{FocusTrap-8c2da94b.js → FocusTrap-0c3e0eaf.js} +5 -5
  424. package/cjs/{FocusTrap-8c2da94b.js.map → FocusTrap-0c3e0eaf.js.map} +1 -1
  425. package/cjs/{FormControlUtils-47865359.js → FormControlUtils-d37ad806.js} +5 -5
  426. package/cjs/{FormControlUtils-47865359.js.map → FormControlUtils-d37ad806.js.map} +1 -1
  427. package/cjs/{Heading-0786cfb3.js → Heading-97004a9b.js} +13 -13
  428. package/cjs/{Heading-0786cfb3.js.map → Heading-97004a9b.js.map} +1 -1
  429. package/cjs/{HiddenAccessible-e18c325a.js → HiddenAccessible-4269453d.js} +3 -3
  430. package/cjs/{HiddenAccessible-e18c325a.js.map → HiddenAccessible-4269453d.js.map} +1 -1
  431. package/cjs/{HighlightText-8b9be0b1.js → HighlightText-2acbf1a8.js} +3 -3
  432. package/cjs/{HighlightText-8b9be0b1.js.map → HighlightText-2acbf1a8.js.map} +1 -1
  433. package/cjs/{Icon-a2aa2ed8.js → Icon-837976e5.js} +25 -25
  434. package/cjs/{Icon-a2aa2ed8.js.map → Icon-837976e5.js.map} +1 -1
  435. package/cjs/{Indexer-f445ef4a.js → Indexer-1e9adc2c.js} +16 -16
  436. package/cjs/{Indexer-f445ef4a.js.map → Indexer-1e9adc2c.js.map} +1 -1
  437. package/cjs/{InlineHelpSource-960e2a27.js → InlineHelpSource-a08875c6.js} +3 -3
  438. package/cjs/{InlineHelpSource-960e2a27.js.map → InlineHelpSource-a08875c6.js.map} +1 -1
  439. package/cjs/{Link-0d8e7193.js → Link-e254783b.js} +8 -8
  440. package/cjs/{Link-0d8e7193.js.map → Link-e254783b.js.map} +1 -1
  441. package/cjs/{List-d11db60b.js → List-bdcd89ef.js} +23 -23
  442. package/cjs/{List-d11db60b.js.map → List-bdcd89ef.js.map} +1 -1
  443. package/cjs/{ListItemTextLayout-f9b59d80.js → ListItemTextLayout-22ace1d2.js} +13 -13
  444. package/cjs/{ListItemTextLayout-f9b59d80.js.map → ListItemTextLayout-22ace1d2.js.map} +1 -1
  445. package/cjs/{ListView-0aa87d3e.js → ListView-f5023717.js} +3 -3
  446. package/cjs/{ListView-0aa87d3e.js.map → ListView-f5023717.js.map} +1 -1
  447. package/cjs/{LoadMoreCollection-2d77ac1d.js → LoadMoreCollection-1cb3b927.js} +3 -3
  448. package/cjs/{LoadMoreCollection-2d77ac1d.js.map → LoadMoreCollection-1cb3b927.js.map} +1 -1
  449. package/cjs/{Menu-88ab3ec5.js → Menu-7bc3a21d.js} +6 -6
  450. package/cjs/{Menu-88ab3ec5.js.map → Menu-7bc3a21d.js.map} +1 -1
  451. package/cjs/{MenuDivider-8c74ab59.js → MenuDivider-cbd36036.js} +4 -4
  452. package/cjs/{MenuDivider-8c74ab59.js.map → MenuDivider-cbd36036.js.map} +1 -1
  453. package/cjs/{MenuItem-673c72fb.js → MenuItem-2928619f.js} +19 -19
  454. package/cjs/{MenuItem-673c72fb.js.map → MenuItem-2928619f.js.map} +1 -1
  455. package/cjs/{Message.types-b9106e5b.js → Message.types-927ccb0d.js} +2 -2
  456. package/cjs/{Message.types-b9106e5b.js.map → Message.types-927ccb0d.js.map} +1 -1
  457. package/cjs/{MessageCloseButton-1f5f7aac.js → MessageCloseButton-a750b114.js} +9 -9
  458. package/cjs/{MessageCloseButton-1f5f7aac.js.map → MessageCloseButton-a750b114.js.map} +1 -1
  459. package/cjs/{MessageDetail-d732615a.js → MessageDetail-7665d979.js} +7 -7
  460. package/cjs/{MessageDetail-d732615a.js.map → MessageDetail-7665d979.js.map} +1 -1
  461. package/cjs/{MessageFormattingUtils-a7183286.js → MessageFormattingUtils-55602416.js} +4 -4
  462. package/cjs/{MessageFormattingUtils-a7183286.js.map → MessageFormattingUtils-55602416.js.map} +1 -1
  463. package/cjs/{MessageLayer-aee920a7.js → MessageLayer-12cbabd5.js} +11 -11
  464. package/cjs/{MessageLayer-aee920a7.js.map → MessageLayer-12cbabd5.js.map} +1 -1
  465. package/cjs/{MessageStartIcon-9ecadda6.js → MessageStartIcon-69d47882.js} +11 -11
  466. package/cjs/{MessageStartIcon-9ecadda6.js.map → MessageStartIcon-69d47882.js.map} +1 -1
  467. package/cjs/{MessageSummary-9eb64a8d.js → MessageSummary-b3abe0a3.js} +7 -7
  468. package/cjs/{MessageSummary-9eb64a8d.js.map → MessageSummary-b3abe0a3.js.map} +1 -1
  469. package/cjs/{MessageTimestamp-4d51dee5.js → MessageTimestamp-bcf4ac8d.js} +5 -5
  470. package/cjs/{MessageTimestamp-4d51dee5.js.map → MessageTimestamp-bcf4ac8d.js.map} +1 -1
  471. package/cjs/{MessageToast-648cd3bf.js → MessageToast-dd5f9cef.js} +9 -9
  472. package/cjs/{MessageToast-648cd3bf.js.map → MessageToast-dd5f9cef.js.map} +1 -1
  473. package/cjs/{MessageUtils-88bfa995.js → MessageUtils-8466a219.js} +3 -3
  474. package/cjs/{MessageUtils-88bfa995.js.map → MessageUtils-8466a219.js.map} +1 -1
  475. package/cjs/{MessagesManager-f03aad11.js → MessagesManager-ebefea19.js} +4 -4
  476. package/cjs/{MessagesManager-f03aad11.js.map → MessagesManager-ebefea19.js.map} +1 -1
  477. package/cjs/{MeterCircle-92cf7f9c.js → MeterCircle-b4bb48bc.js} +50 -50
  478. package/cjs/{MeterCircle-92cf7f9c.js.map → MeterCircle-b4bb48bc.js.map} +1 -1
  479. package/cjs/{Modal-26fe663b.js → Modal-3c05f90a.js} +6 -6
  480. package/cjs/{Modal-26fe663b.js.map → Modal-3c05f90a.js.map} +1 -1
  481. package/cjs/{NumberInputText-199739fd.js → NumberInputText-6a2c8cc3.js} +7 -7
  482. package/cjs/{NumberInputText-199739fd.js.map → NumberInputText-6a2c8cc3.js.map} +1 -1
  483. package/cjs/PRIVATE_Collection.js +2 -2
  484. package/cjs/PRIVATE_List.js +23 -23
  485. package/cjs/PRIVATE_Message.js +41 -41
  486. package/cjs/PRIVATE_Message.js.map +1 -1
  487. package/cjs/PRIVATE_MessageLayer.js +12 -12
  488. package/cjs/PRIVATE_Meter.js +2 -2
  489. package/cjs/PRIVATE_SelectCommon.js +54 -54
  490. package/cjs/PRIVATE_SelectCommon.js.map +1 -1
  491. package/cjs/PRIVATE_TransitionGroup.js +1 -1
  492. package/cjs/PRIVATE_VirtualizedCollection.js +3 -3
  493. package/cjs/{ReadonlyTextFieldInput-4da477c8.js → ReadonlyTextFieldInput-b98e7e48.js} +13 -13
  494. package/cjs/{ReadonlyTextFieldInput-4da477c8.js.map → ReadonlyTextFieldInput-b98e7e48.js.map} +1 -1
  495. package/cjs/{SelectMenuItem-01396e5a.js → SelectMenuItem-ac10e379.js} +5 -5
  496. package/cjs/{SelectMenuItem-01396e5a.js.map → SelectMenuItem-ac10e379.js.map} +1 -1
  497. package/cjs/{SelectMultiple-489290e0.js → SelectMultiple-6ecaf7a0.js} +8 -8
  498. package/cjs/{SelectMultiple-489290e0.js.map → SelectMultiple-6ecaf7a0.js.map} +1 -1
  499. package/cjs/{SelectSingle-db2cfafc.js → SelectSingle-4a77aa62.js} +4 -4
  500. package/cjs/{SelectSingle-db2cfafc.js.map → SelectSingle-4a77aa62.js.map} +1 -1
  501. package/cjs/{Skeleton-58492cd2.js → Skeleton-30e757ff.js} +5 -5
  502. package/cjs/{Skeleton-58492cd2.js.map → Skeleton-30e757ff.js.map} +1 -1
  503. package/cjs/{Spacer-20952f09.js → Spacer-eaa3e99c.js} +4 -4
  504. package/cjs/{Spacer-20952f09.js.map → Spacer-eaa3e99c.js.map} +1 -1
  505. package/cjs/{SplitMenuButton-539d2d2f.js → SplitMenuButton-8c71339c.js} +14 -14
  506. package/cjs/{SplitMenuButton-539d2d2f.js.map → SplitMenuButton-8c71339c.js.map} +1 -1
  507. package/cjs/{Text-d4c94edb.js → Text-4b71357e.js} +28 -28
  508. package/cjs/{Text-d4c94edb.js.map → Text-4b71357e.js.map} +1 -1
  509. package/cjs/{TextArea-a8edca00.js → TextArea-5eafa6db.js} +8 -8
  510. package/cjs/{TextArea-a8edca00.js.map → TextArea-5eafa6db.js.map} +1 -1
  511. package/cjs/{TextAreaAutosize-bbf4974e.js → TextAreaAutosize-b53399cb.js} +5 -5
  512. package/cjs/{TextAreaAutosize-bbf4974e.js.map → TextAreaAutosize-b53399cb.js.map} +1 -1
  513. package/cjs/{TextFieldInput-8118ca3c.js → TextFieldInput-6db2cca1.js} +33 -33
  514. package/cjs/{TextFieldInput-8118ca3c.js.map → TextFieldInput-6db2cca1.js.map} +1 -1
  515. package/cjs/UNSAFE_AspectRatio.js +8 -8
  516. package/cjs/UNSAFE_AspectRatio.js.map +1 -1
  517. package/cjs/UNSAFE_Avatar.js +11 -11
  518. package/cjs/UNSAFE_Avatar.js.map +1 -1
  519. package/cjs/UNSAFE_Badge.js +3 -3
  520. package/cjs/UNSAFE_BaseButton.js +9 -9
  521. package/cjs/UNSAFE_Button.js +10 -10
  522. package/cjs/UNSAFE_Center.js +11 -11
  523. package/cjs/UNSAFE_Chip.js +3 -3
  524. package/cjs/UNSAFE_Collapsible.js +26 -26
  525. package/cjs/UNSAFE_Collapsible.js.map +1 -1
  526. package/cjs/UNSAFE_Collection.js +1 -1
  527. package/cjs/UNSAFE_ComponentMessage.js +33 -33
  528. package/cjs/UNSAFE_Divider.js +7 -7
  529. package/cjs/UNSAFE_EmptyList.js +1 -1
  530. package/cjs/UNSAFE_Environment.js +1 -1
  531. package/cjs/UNSAFE_FilePicker.js +14 -14
  532. package/cjs/UNSAFE_Flex.js +11 -11
  533. package/cjs/UNSAFE_Floating.js +3 -3
  534. package/cjs/UNSAFE_FocusTrap.js +6 -6
  535. package/cjs/UNSAFE_Grid.js +9 -9
  536. package/cjs/UNSAFE_Grid.js.map +1 -1
  537. package/cjs/UNSAFE_Heading.js +9 -9
  538. package/cjs/UNSAFE_HiddenAccessible.js +2 -2
  539. package/cjs/UNSAFE_HighlightText.js +2 -2
  540. package/cjs/UNSAFE_Icon.js +7 -7
  541. package/cjs/UNSAFE_Icons.js +8 -8
  542. package/cjs/UNSAFE_Indexer.js +16 -16
  543. package/cjs/UNSAFE_InputPassword.js +40 -40
  544. package/cjs/UNSAFE_InputText.js +39 -39
  545. package/cjs/UNSAFE_Label.js +16 -16
  546. package/cjs/UNSAFE_Label.js.map +1 -1
  547. package/cjs/UNSAFE_LabelValueLayout.js +20 -20
  548. package/cjs/UNSAFE_LabelValueLayout.js.map +1 -1
  549. package/cjs/UNSAFE_Layer.js +1 -1
  550. package/cjs/UNSAFE_Link.js +3 -3
  551. package/cjs/UNSAFE_ListItemLayout.js +10 -10
  552. package/cjs/UNSAFE_ListView.js +24 -24
  553. package/cjs/UNSAFE_LiveRegion.js +2 -2
  554. package/cjs/UNSAFE_LiveRegion.js.map +1 -1
  555. package/cjs/UNSAFE_LoadMoreCollection.js +3 -3
  556. package/cjs/UNSAFE_Menu.js +15 -15
  557. package/cjs/UNSAFE_MessageBanner.js +30 -30
  558. package/cjs/UNSAFE_MessageToast.js +33 -33
  559. package/cjs/UNSAFE_MeterBar.js +49 -49
  560. package/cjs/UNSAFE_MeterBar.js.map +1 -1
  561. package/cjs/UNSAFE_MeterCircle.js +7 -7
  562. package/cjs/UNSAFE_Modal.js +7 -7
  563. package/cjs/UNSAFE_NumberInputText.js +39 -39
  564. package/cjs/UNSAFE_PrefixSuffix.js +10 -10
  565. package/cjs/UNSAFE_PrefixSuffix.js.map +1 -1
  566. package/cjs/UNSAFE_ProgressBar.js +9 -9
  567. package/cjs/UNSAFE_ProgressBar.js.map +1 -1
  568. package/cjs/UNSAFE_ProgressCircle.js +9 -9
  569. package/cjs/UNSAFE_ProgressCircle.js.map +1 -1
  570. package/cjs/UNSAFE_RatingGauge.js +26 -26
  571. package/cjs/UNSAFE_RatingGauge.js.map +1 -1
  572. package/cjs/UNSAFE_SelectMultiple.js +47 -47
  573. package/cjs/UNSAFE_SelectSingle.js +46 -46
  574. package/cjs/UNSAFE_Selector.js +22 -22
  575. package/cjs/UNSAFE_Selector.js.map +1 -1
  576. package/cjs/UNSAFE_Skeleton.js +8 -8
  577. package/cjs/UNSAFE_Spacer.js +10 -10
  578. package/cjs/UNSAFE_SplitMenuButton.js +22 -22
  579. package/cjs/UNSAFE_Text.js +8 -8
  580. package/cjs/UNSAFE_TextArea.js +39 -39
  581. package/cjs/UNSAFE_TextAreaAutosize.js +40 -40
  582. package/cjs/UNSAFE_TextField.js +35 -35
  583. package/cjs/UNSAFE_TextField.js.map +1 -1
  584. package/cjs/UNSAFE_ThemedIcons.js +9 -9
  585. package/cjs/UNSAFE_UserAssistance.js +41 -41
  586. package/cjs/UNSAFE_UserAssistance.js.map +1 -1
  587. package/cjs/UNSAFE_View.js +9 -9
  588. package/cjs/UNSAFE_VirtualizedListView.js +24 -24
  589. package/cjs/UNSAFE_WindowOverlay.js +1 -1
  590. package/cjs/{VirtualizedCollection-c655faa9.js → VirtualizedCollection-2be7c973.js} +3 -3
  591. package/cjs/{VirtualizedCollection-c655faa9.js.map → VirtualizedCollection-2be7c973.js.map} +1 -1
  592. package/cjs/{VirtualizedListView-04c6993e.js → VirtualizedListView-f0a3bbf0.js} +3 -3
  593. package/cjs/{VirtualizedListView-04c6993e.js.map → VirtualizedListView-f0a3bbf0.js.map} +1 -1
  594. package/cjs/{_curry1-6aa6ebe1.js → _curry1-8dba47c0.js} +2 -2
  595. package/cjs/{_curry1-6aa6ebe1.js.map → _curry1-8dba47c0.js.map} +1 -1
  596. package/cjs/{_curry2-48faf280.js → _curry2-35fe759b.js} +3 -3
  597. package/cjs/{_curry2-48faf280.js.map → _curry2-35fe759b.js.map} +1 -1
  598. package/cjs/{_curry3-7f3edffe.js → _curry3-a11ae74a.js} +4 -4
  599. package/cjs/{_curry3-7f3edffe.js.map → _curry3-a11ae74a.js.map} +1 -1
  600. package/cjs/{_has-b546cb6d.js → _has-f646b7fa.js} +3 -3
  601. package/cjs/{_has-b546cb6d.js.map → _has-f646b7fa.js.map} +1 -1
  602. package/cjs/{classNames-fba7d551.js → classNames-fe0c9b44.js} +2 -2
  603. package/cjs/{classNames-fba7d551.js.map → classNames-fe0c9b44.js.map} +1 -1
  604. package/cjs/{clientHints-c6decdec.js → clientHints-6f362777.js} +2 -2
  605. package/cjs/{clientHints-c6decdec.js.map → clientHints-6f362777.js.map} +1 -1
  606. package/cjs/{flexbox-b42577ea.js → flexbox-e7360e12.js} +10 -10
  607. package/cjs/{flexbox-b42577ea.js.map → flexbox-e7360e12.js.map} +1 -1
  608. package/cjs/{flexitem-f78aa910.js → flexitem-21bb492c.js} +10 -10
  609. package/cjs/{flexitem-f78aa910.js.map → flexitem-21bb492c.js.map} +1 -1
  610. package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  611. package/cjs/hooks/PRIVATE_useCurrentKey.js +1 -1
  612. package/cjs/hooks/PRIVATE_useDvtMeterEvents.js +6 -6
  613. package/cjs/hooks/PRIVATE_useItemAction.js +1 -1
  614. package/cjs/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  615. package/cjs/hooks/PRIVATE_useSelection.js +1 -1
  616. package/cjs/hooks/PRIVATE_useSingleSelection.js +2 -2
  617. package/cjs/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  618. package/cjs/hooks/UNSAFE_useActionable.js +1 -1
  619. package/cjs/hooks/UNSAFE_useActive.js +1 -1
  620. package/cjs/hooks/UNSAFE_useAnimation.js +3 -3
  621. package/cjs/hooks/UNSAFE_useBreakpointValues.js +1 -1
  622. package/cjs/hooks/UNSAFE_useBreakpoints.js +1 -1
  623. package/cjs/hooks/UNSAFE_useClearIcon.js +1 -1
  624. package/cjs/hooks/UNSAFE_useColorScheme.js +1 -1
  625. package/cjs/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  626. package/cjs/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  627. package/cjs/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  628. package/cjs/hooks/UNSAFE_useDebounce.js +1 -1
  629. package/cjs/hooks/UNSAFE_useFloating.js +2 -2
  630. package/cjs/hooks/UNSAFE_useFocus.js +1 -1
  631. package/cjs/hooks/UNSAFE_useFocusWithin.js +2 -2
  632. package/cjs/hooks/UNSAFE_useFocusableTextField.js +3 -3
  633. package/cjs/hooks/UNSAFE_useFormContext.js +1 -1
  634. package/cjs/hooks/UNSAFE_useFormFieldContext.js +1 -1
  635. package/cjs/hooks/UNSAFE_useFormVariantContext.js +1 -1
  636. package/cjs/hooks/UNSAFE_useHover.js +1 -1
  637. package/cjs/hooks/UNSAFE_useId.js +1 -1
  638. package/cjs/hooks/UNSAFE_useLengthFilter.js +1 -1
  639. package/cjs/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  640. package/cjs/hooks/UNSAFE_useLongPress.js +1 -1
  641. package/cjs/hooks/UNSAFE_useMessagesContext.js +1 -1
  642. package/cjs/hooks/UNSAFE_useOutsideClick.js +1 -1
  643. package/cjs/hooks/UNSAFE_usePan.js +1 -1
  644. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +2 -2
  645. package/cjs/hooks/UNSAFE_usePress.js +1 -1
  646. package/cjs/hooks/UNSAFE_useScale.js +1 -1
  647. package/cjs/hooks/UNSAFE_useSwipe.js +1 -1
  648. package/cjs/hooks/UNSAFE_useTabbableMode.js +1 -1
  649. package/cjs/hooks/UNSAFE_useTap.js +1 -1
  650. package/cjs/hooks/UNSAFE_useTextField.js +1 -1
  651. package/cjs/hooks/UNSAFE_useTextFieldInputHandlers.js +2 -2
  652. package/cjs/hooks/UNSAFE_useTheme.js +1 -1
  653. package/cjs/hooks/UNSAFE_useTimer.js +1 -1
  654. package/cjs/hooks/UNSAFE_useToggle.js +1 -1
  655. package/cjs/hooks/UNSAFE_useTooltip.js +10 -10
  656. package/cjs/hooks/UNSAFE_useTooltip.js.map +1 -1
  657. package/cjs/hooks/UNSAFE_useTouch.js +1 -1
  658. package/cjs/hooks/UNSAFE_useTranslationBundle.js +1 -1
  659. package/cjs/hooks/UNSAFE_useUncontrolledState.js +1 -1
  660. package/cjs/hooks/UNSAFE_useUser.js +1 -1
  661. package/cjs/hooks/UNSAFE_useViewportIntersect.js +1 -1
  662. package/cjs/{index-4f69022d.js → index-7cf551b0.js} +3 -3
  663. package/cjs/{index-4f69022d.js.map → index-7cf551b0.js.map} +1 -1
  664. package/cjs/{index-26367197.js → index-b2f63b8c.js} +2 -2
  665. package/cjs/{index-26367197.js.map → index-b2f63b8c.js.map} +1 -1
  666. package/cjs/{index-4e39f445.js → index-fbc2a690.js} +3 -3
  667. package/cjs/{index-4e39f445.js.map → index-fbc2a690.js.map} +1 -1
  668. package/cjs/{keys-4eba1653.js → keys-fcc45418.js} +4 -4
  669. package/cjs/{keys-4eba1653.js.map → keys-fcc45418.js.map} +1 -1
  670. package/cjs/{listViewSelectionTests-2d57d5bb.js → listViewSelectionTests-addb99e1.js} +4 -4
  671. package/cjs/{listViewSelectionTests-2d57d5bb.js.map → listViewSelectionTests-addb99e1.js.map} +1 -1
  672. package/cjs/{listViewTabbableModeTests-a6b386b0.js → listViewTabbableModeTests-10ef642d.js} +4 -4
  673. package/cjs/{listViewTabbableModeTests-a6b386b0.js.map → listViewTabbableModeTests-10ef642d.js.map} +1 -1
  674. package/cjs/{listViewTestFixtures-5d40a413.js → listViewTestFixtures-4b64e69e.js} +2 -2
  675. package/cjs/{listViewTestFixtures-5d40a413.js.map → listViewTestFixtures-4b64e69e.js.map} +1 -1
  676. package/cjs/{menuTestsUtils-753f11db.js → menuTestsUtils-14e6da0f.js} +2 -2
  677. package/cjs/{menuTestsUtils-753f11db.js.map → menuTestsUtils-14e6da0f.js.map} +1 -1
  678. package/cjs/resources/nls/ar/bundle.js +1 -1
  679. package/cjs/resources/nls/ar-XB/bundle.js +1 -1
  680. package/cjs/resources/nls/bg/bundle.js +1 -1
  681. package/cjs/resources/nls/bs/bundle.js +1 -1
  682. package/cjs/resources/nls/bs-Cyrl/bundle.js +1 -1
  683. package/cjs/resources/nls/bundle.js +1 -1
  684. package/cjs/resources/nls/cs/bundle.js +1 -1
  685. package/cjs/resources/nls/da/bundle.js +1 -1
  686. package/cjs/resources/nls/de/bundle.js +1 -1
  687. package/cjs/resources/nls/el/bundle.js +1 -1
  688. package/cjs/resources/nls/en/bundle.js +1 -1
  689. package/cjs/resources/nls/en-XA/bundle.js +1 -1
  690. package/cjs/resources/nls/en-XC/bundle.js +1 -1
  691. package/cjs/resources/nls/es/bundle.js +1 -1
  692. package/cjs/resources/nls/et/bundle.js +1 -1
  693. package/cjs/resources/nls/fi/bundle.js +1 -1
  694. package/cjs/resources/nls/fr/bundle.js +1 -1
  695. package/cjs/resources/nls/fr-CA/bundle.js +1 -1
  696. package/cjs/resources/nls/he/bundle.js +1 -1
  697. package/cjs/resources/nls/hr/bundle.js +1 -1
  698. package/cjs/resources/nls/hu/bundle.js +1 -1
  699. package/cjs/resources/nls/is/bundle.js +1 -1
  700. package/cjs/resources/nls/it/bundle.js +1 -1
  701. package/cjs/resources/nls/ja/bundle.js +1 -1
  702. package/cjs/resources/nls/ko/bundle.js +1 -1
  703. package/cjs/resources/nls/lt/bundle.js +1 -1
  704. package/cjs/resources/nls/lv/bundle.js +1 -1
  705. package/cjs/resources/nls/ms/bundle.js +1 -1
  706. package/cjs/resources/nls/nl/bundle.js +1 -1
  707. package/cjs/resources/nls/no/bundle.js +1 -1
  708. package/cjs/resources/nls/pl/bundle.js +1 -1
  709. package/cjs/resources/nls/pt/bundle.js +1 -1
  710. package/cjs/resources/nls/pt-PT/bundle.js +1 -1
  711. package/cjs/resources/nls/ro/bundle.js +1 -1
  712. package/cjs/resources/nls/ru/bundle.js +1 -1
  713. package/cjs/resources/nls/sk/bundle.js +1 -1
  714. package/cjs/resources/nls/sl/bundle.js +1 -1
  715. package/cjs/resources/nls/sr/bundle.js +1 -1
  716. package/cjs/resources/nls/sr-Latn/bundle.js +1 -1
  717. package/cjs/resources/nls/supportedLocales.js +1 -1
  718. package/cjs/resources/nls/sv/bundle.js +1 -1
  719. package/cjs/resources/nls/th/bundle.js +1 -1
  720. package/cjs/resources/nls/tr/bundle.js +1 -1
  721. package/cjs/resources/nls/uk/bundle.js +1 -1
  722. package/cjs/resources/nls/vi/bundle.js +1 -1
  723. package/cjs/resources/nls/zh-Hans/bundle.js +1 -1
  724. package/cjs/resources/nls/zh-Hant/bundle.js +1 -1
  725. package/cjs/{stringUtils-b6a5ad2c.js → stringUtils-1981a409.js} +2 -2
  726. package/cjs/{stringUtils-b6a5ad2c.js.map → stringUtils-1981a409.js.map} +1 -1
  727. package/cjs/{testHelpers-f56e69f0.js → testHelpers-1ff56b8c.js} +2 -2
  728. package/cjs/{testHelpers-f56e69f0.js.map → testHelpers-1ff56b8c.js.map} +1 -1
  729. package/cjs/translationBundle.js +1 -1
  730. package/cjs/{tslib.es6-17ec4332.js → tslib.es6-e79a0c43.js} +2 -2
  731. package/cjs/{tslib.es6-17ec4332.js.map → tslib.es6-e79a0c43.js.map} +1 -1
  732. package/cjs/{useAnimation-17cb54a5.js → useAnimation-694a2e01.js} +3 -3
  733. package/cjs/{useAnimation-17cb54a5.js.map → useAnimation-694a2e01.js.map} +1 -1
  734. package/cjs/{useFocusWithin-0b6e818e.js → useFocusWithin-69dca42b.js} +2 -2
  735. package/cjs/{useFocusWithin-0b6e818e.js.map → useFocusWithin-69dca42b.js.map} +1 -1
  736. package/cjs/{useSingleSelection-9e6238f0.js → useSingleSelection-0f3c0a39.js} +2 -2
  737. package/cjs/{useSingleSelection-9e6238f0.js.map → useSingleSelection-0f3c0a39.js.map} +1 -1
  738. package/cjs/utils/PRIVATE_clientHints.js +2 -2
  739. package/cjs/utils/PRIVATE_collectionUtils.js +1 -1
  740. package/cjs/utils/PRIVATE_dvtTestUtils.js +1 -1
  741. package/cjs/utils/PRIVATE_floatingUtils.js +1 -1
  742. package/cjs/utils/PRIVATE_meterUtils.js +1 -1
  743. package/cjs/utils/PRIVATE_refUtils.js +1 -1
  744. package/cjs/utils/PRIVATE_tabbableUtils.js +4 -4
  745. package/cjs/utils/PRIVATE_timer.js +1 -1
  746. package/cjs/utils/UNSAFE_arrayUtils.js +1 -1
  747. package/cjs/utils/UNSAFE_attributeUtils.js +1 -1
  748. package/cjs/utils/UNSAFE_classNames.js +2 -2
  749. package/cjs/utils/UNSAFE_componentUtils.js +1 -1
  750. package/cjs/utils/UNSAFE_dataProvider.js +1 -1
  751. package/cjs/utils/UNSAFE_filePickerUtils.js +1 -1
  752. package/cjs/utils/UNSAFE_getLocale.js +1 -1
  753. package/cjs/utils/UNSAFE_interpolations/aria.js +1 -1
  754. package/cjs/utils/UNSAFE_interpolations/borders.js +1 -1
  755. package/cjs/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  756. package/cjs/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  757. package/cjs/utils/UNSAFE_interpolations/colors.js +1 -1
  758. package/cjs/utils/UNSAFE_interpolations/dimensions.js +2 -2
  759. package/cjs/utils/UNSAFE_interpolations/flexbox.js +5 -5
  760. package/cjs/utils/UNSAFE_interpolations/flexitem.js +5 -5
  761. package/cjs/utils/UNSAFE_interpolations/grid.js +1 -1
  762. package/cjs/utils/UNSAFE_interpolations/griditem.js +1 -1
  763. package/cjs/utils/UNSAFE_interpolations/padding.js +1 -1
  764. package/cjs/utils/UNSAFE_interpolations/text.js +7 -7
  765. package/cjs/utils/UNSAFE_interpolations/text.js.map +1 -1
  766. package/cjs/utils/UNSAFE_keys.js +1 -1
  767. package/cjs/utils/UNSAFE_lengthFilter.js +1 -1
  768. package/cjs/utils/UNSAFE_logger.js +3 -3
  769. package/cjs/utils/UNSAFE_matchTranslationBundle.js +1 -1
  770. package/cjs/utils/UNSAFE_mergeInterpolations.js +6 -6
  771. package/cjs/utils/UNSAFE_mergeProps.js +1 -1
  772. package/cjs/utils/UNSAFE_meterTypes.js +1 -1
  773. package/cjs/utils/UNSAFE_roles.js +1 -1
  774. package/cjs/utils/UNSAFE_selectUtils.js +1 -1
  775. package/cjs/utils/UNSAFE_size.js +1 -1
  776. package/cjs/utils/UNSAFE_soundUtils.js +1 -1
  777. package/cjs/utils/UNSAFE_stringUtils.js +2 -2
  778. package/cjs/utils/UNSAFE_typeUtils.js +1 -1
  779. package/cjs/utils/UNSAFE_units.js +2 -2
  780. package/cjs/utils/UNSAFE_valueUpdateDetail.js +1 -1
  781. package/es/{ClearIcon-87cf07a3.js → ClearIcon-c58270b1.js} +3 -3
  782. package/es/{ClearIcon-87cf07a3.js.map → ClearIcon-c58270b1.js.map} +1 -1
  783. package/es/{LoadMoreCollection-d7ef9429.js → LoadMoreCollection-69d25dfc.js} +2 -2
  784. package/es/{LoadMoreCollection-d7ef9429.js.map → LoadMoreCollection-69d25dfc.js.map} +1 -1
  785. package/es/PRIVATE_Collection.js +1 -1
  786. package/es/PRIVATE_List.css +15 -15
  787. package/es/PRIVATE_List.js +24 -24
  788. package/es/PRIVATE_List.js.map +1 -1
  789. package/es/PRIVATE_Message.css +27 -27
  790. package/es/PRIVATE_Message.js +35 -35
  791. package/es/PRIVATE_Message.js.map +1 -1
  792. package/es/PRIVATE_MessageLayer.css +7 -7
  793. package/es/PRIVATE_MessageLayer.js +14 -14
  794. package/es/PRIVATE_MessageLayer.js.map +1 -1
  795. package/es/PRIVATE_Meter.js +2 -2
  796. package/es/PRIVATE_SelectCommon.css +13 -13
  797. package/es/PRIVATE_SelectCommon.js +22 -22
  798. package/es/PRIVATE_SelectCommon.js.map +1 -1
  799. package/es/PRIVATE_TransitionGroup.js +1 -1
  800. package/es/PRIVATE_VirtualizedCollection.js +1 -1
  801. package/es/UNSAFE_AspectRatio.css +1 -1
  802. package/es/UNSAFE_AspectRatio.js +7 -7
  803. package/es/UNSAFE_AspectRatio.js.map +1 -1
  804. package/es/UNSAFE_Avatar.css +8 -8
  805. package/es/UNSAFE_Avatar.js +10 -10
  806. package/es/UNSAFE_Avatar.js.map +1 -1
  807. package/es/UNSAFE_Badge.css +13 -13
  808. package/es/UNSAFE_Badge.js +14 -14
  809. package/es/UNSAFE_Badge.js.map +1 -1
  810. package/es/UNSAFE_BaseButton.css +15 -15
  811. package/es/UNSAFE_BaseButton.js +21 -21
  812. package/es/UNSAFE_BaseButton.js.map +1 -1
  813. package/es/UNSAFE_Button.css +8 -8
  814. package/es/UNSAFE_Button.js +14 -14
  815. package/es/UNSAFE_Button.js.map +1 -1
  816. package/es/UNSAFE_Center.js +7 -7
  817. package/es/UNSAFE_Chip.css +7 -7
  818. package/es/UNSAFE_Chip.js +8 -8
  819. package/es/UNSAFE_Chip.js.map +1 -1
  820. package/es/UNSAFE_Collapsible.css +8 -8
  821. package/es/UNSAFE_Collapsible.js +16 -16
  822. package/es/UNSAFE_Collapsible.js.map +1 -1
  823. package/es/UNSAFE_Collection.js +1 -1
  824. package/es/UNSAFE_ComponentMessage.css +2 -2
  825. package/es/UNSAFE_ComponentMessage.js +10 -10
  826. package/es/UNSAFE_Divider.css +1 -1
  827. package/es/UNSAFE_Divider.js +6 -6
  828. package/es/UNSAFE_EmptyList.js +1 -1
  829. package/es/UNSAFE_Environment.js +1 -1
  830. package/es/UNSAFE_FilePicker.css +6 -6
  831. package/es/UNSAFE_FilePicker.js +13 -13
  832. package/es/UNSAFE_FilePicker.js.map +1 -1
  833. package/es/UNSAFE_Flex.css +2 -2
  834. package/es/UNSAFE_Flex.js +9 -9
  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_Grid.css +1 -1
  839. package/es/UNSAFE_Grid.js +8 -8
  840. package/es/UNSAFE_Grid.js.map +1 -1
  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_HighlightText.js.map +1 -1
  850. package/es/UNSAFE_Icon.css +21 -21
  851. package/es/UNSAFE_Icon.js +24 -24
  852. package/es/UNSAFE_Icon.js.map +1 -1
  853. package/es/UNSAFE_Icons.js +3 -3
  854. package/es/UNSAFE_Indexer.css +7 -7
  855. package/es/UNSAFE_Indexer.js +15 -15
  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_SelectSingle.js +9 -9
  908. package/es/UNSAFE_Selector.css +5 -5
  909. package/es/UNSAFE_Selector.js +13 -13
  910. package/es/UNSAFE_Selector.js.map +1 -1
  911. package/es/UNSAFE_Skeleton.css +1 -1
  912. package/es/UNSAFE_Skeleton.js +7 -7
  913. package/es/UNSAFE_Spacer.js +7 -7
  914. package/es/UNSAFE_SplitMenuButton.css +5 -5
  915. package/es/UNSAFE_SplitMenuButton.js +12 -12
  916. package/es/UNSAFE_SplitMenuButton.js.map +1 -1
  917. package/es/UNSAFE_Text.css +25 -25
  918. package/es/UNSAFE_Text.js +31 -31
  919. package/es/UNSAFE_Text.js.map +1 -1
  920. package/es/UNSAFE_TextArea.css +3 -3
  921. package/es/UNSAFE_TextArea.js +11 -11
  922. package/es/UNSAFE_TextAreaAutosize.js +8 -8
  923. package/es/UNSAFE_TextField.css +58 -58
  924. package/es/UNSAFE_TextField.js +65 -65
  925. package/es/UNSAFE_TextField.js.map +1 -1
  926. package/es/UNSAFE_ThemedIcons.js +3 -3
  927. package/es/UNSAFE_UserAssistance.css +8 -8
  928. package/es/UNSAFE_UserAssistance.js +16 -16
  929. package/es/UNSAFE_UserAssistance.js.map +1 -1
  930. package/es/UNSAFE_View.js +7 -7
  931. package/es/UNSAFE_VirtualizedListView.js +9 -9
  932. package/es/UNSAFE_WindowOverlay.js +1 -1
  933. package/es/{_curry1-97ad07b6.js → _curry1-f2673bab.js} +2 -2
  934. package/es/{_curry1-97ad07b6.js.map → _curry1-f2673bab.js.map} +1 -1
  935. package/es/{_curry2-6b260916.js → _curry2-d7587d88.js} +3 -3
  936. package/es/{_curry2-6b260916.js.map → _curry2-d7587d88.js.map} +1 -1
  937. package/es/{_curry3-9fad4075.js → _curry3-6b8e8079.js} +4 -4
  938. package/es/{_curry3-9fad4075.js.map → _curry3-6b8e8079.js.map} +1 -1
  939. package/es/{_has-c6212bd0.js → _has-cbbf4e16.js} +3 -3
  940. package/es/{_has-c6212bd0.js.map → _has-cbbf4e16.js.map} +1 -1
  941. package/es/hooks/PRIVATE_useCollectionFocusRing.js +1 -1
  942. package/es/hooks/PRIVATE_useCurrentKey.js +1 -1
  943. package/es/hooks/PRIVATE_useDvtMeterEvents.js +3 -3
  944. package/es/hooks/PRIVATE_useItemAction.js +1 -1
  945. package/es/hooks/PRIVATE_useMessagesFocusManager.js +1 -1
  946. package/es/hooks/PRIVATE_useSelection.js +1 -1
  947. package/es/hooks/PRIVATE_useSingleSelection.js +2 -2
  948. package/es/hooks/PRIVATE_useTabbableModeSet.js +1 -1
  949. package/es/hooks/UNSAFE_useActionable.js +1 -1
  950. package/es/hooks/UNSAFE_useActive.js +1 -1
  951. package/es/hooks/UNSAFE_useAnimation.js +2 -2
  952. package/es/hooks/UNSAFE_useBreakpointValues.js +1 -1
  953. package/es/hooks/UNSAFE_useBreakpoints.js +1 -1
  954. package/es/hooks/UNSAFE_useClearIcon.js +1 -1
  955. package/es/hooks/UNSAFE_useColorScheme.js +1 -1
  956. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  957. package/es/hooks/UNSAFE_useContainerBreakpoints.js +1 -1
  958. package/es/hooks/UNSAFE_useCurrentValueReducer.js +1 -1
  959. package/es/hooks/UNSAFE_useDebounce.js +1 -1
  960. package/es/hooks/UNSAFE_useFloating.js +2 -2
  961. package/es/hooks/UNSAFE_useFocus.js +1 -1
  962. package/es/hooks/UNSAFE_useFocusWithin.js +1 -1
  963. package/es/hooks/UNSAFE_useFocusableTextField.js +2 -2
  964. package/es/hooks/UNSAFE_useFormContext.js +1 -1
  965. package/es/hooks/UNSAFE_useFormFieldContext.js +1 -1
  966. package/es/hooks/UNSAFE_useFormVariantContext.js +1 -1
  967. package/es/hooks/UNSAFE_useHover.js +1 -1
  968. package/es/hooks/UNSAFE_useId.js +1 -1
  969. package/es/hooks/UNSAFE_useLengthFilter.js +1 -1
  970. package/es/hooks/UNSAFE_useLoadingIndicatorTimer.js +1 -1
  971. package/es/hooks/UNSAFE_useLongPress.js +1 -1
  972. package/es/hooks/UNSAFE_useMessagesContext.js +1 -1
  973. package/es/hooks/UNSAFE_useOutsideClick.js +1 -1
  974. package/es/hooks/UNSAFE_usePan.js +1 -1
  975. package/es/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  976. package/es/hooks/UNSAFE_usePress.js +1 -1
  977. package/es/hooks/UNSAFE_useScale.js +1 -1
  978. package/es/hooks/UNSAFE_useSwipe.js +1 -1
  979. package/es/hooks/UNSAFE_useTabbableMode.js +1 -1
  980. package/es/hooks/UNSAFE_useTap.js +1 -1
  981. package/es/hooks/UNSAFE_useTextField.js +1 -1
  982. package/es/hooks/UNSAFE_useTextFieldInputHandlers.js +1 -1
  983. package/es/hooks/UNSAFE_useTheme.js +1 -1
  984. package/es/hooks/UNSAFE_useTimer.js +1 -1
  985. package/es/hooks/UNSAFE_useToggle.js +1 -1
  986. package/es/hooks/UNSAFE_useTooltip.css +4 -4
  987. package/es/hooks/UNSAFE_useTooltip.js +7 -7
  988. package/es/hooks/UNSAFE_useTooltip.js.map +1 -1
  989. package/es/hooks/UNSAFE_useTouch.js +1 -1
  990. package/es/hooks/UNSAFE_useTranslationBundle.js +1 -1
  991. package/es/hooks/UNSAFE_useUncontrolledState.js +1 -1
  992. package/es/hooks/UNSAFE_useUser.js +1 -1
  993. package/es/hooks/UNSAFE_useViewportIntersect.js +1 -1
  994. package/es/{index-5584e60f.js → index-35a194f0.js} +2 -2
  995. package/es/{index-5584e60f.js.map → index-35a194f0.js.map} +1 -1
  996. package/es/{keys-72a008ef.js → keys-c1c34836.js} +4 -4
  997. package/es/{keys-72a008ef.js.map → keys-c1c34836.js.map} +1 -1
  998. package/es/resources/nls/ar/bundle.js +1 -1
  999. package/es/resources/nls/ar-XB/bundle.js +1 -1
  1000. package/es/resources/nls/bg/bundle.js +1 -1
  1001. package/es/resources/nls/bs/bundle.js +1 -1
  1002. package/es/resources/nls/bs-Cyrl/bundle.js +1 -1
  1003. package/es/resources/nls/bundle.js +1 -1
  1004. package/es/resources/nls/cs/bundle.js +1 -1
  1005. package/es/resources/nls/da/bundle.js +1 -1
  1006. package/es/resources/nls/de/bundle.js +1 -1
  1007. package/es/resources/nls/el/bundle.js +1 -1
  1008. package/es/resources/nls/en/bundle.js +1 -1
  1009. package/es/resources/nls/en-XA/bundle.js +1 -1
  1010. package/es/resources/nls/en-XC/bundle.js +1 -1
  1011. package/es/resources/nls/es/bundle.js +1 -1
  1012. package/es/resources/nls/et/bundle.js +1 -1
  1013. package/es/resources/nls/fi/bundle.js +1 -1
  1014. package/es/resources/nls/fr/bundle.js +1 -1
  1015. package/es/resources/nls/fr-CA/bundle.js +1 -1
  1016. package/es/resources/nls/he/bundle.js +1 -1
  1017. package/es/resources/nls/hr/bundle.js +1 -1
  1018. package/es/resources/nls/hu/bundle.js +1 -1
  1019. package/es/resources/nls/is/bundle.js +1 -1
  1020. package/es/resources/nls/it/bundle.js +1 -1
  1021. package/es/resources/nls/ja/bundle.js +1 -1
  1022. package/es/resources/nls/ko/bundle.js +1 -1
  1023. package/es/resources/nls/lt/bundle.js +1 -1
  1024. package/es/resources/nls/lv/bundle.js +1 -1
  1025. package/es/resources/nls/ms/bundle.js +1 -1
  1026. package/es/resources/nls/nl/bundle.js +1 -1
  1027. package/es/resources/nls/no/bundle.js +1 -1
  1028. package/es/resources/nls/pl/bundle.js +1 -1
  1029. package/es/resources/nls/pt/bundle.js +1 -1
  1030. package/es/resources/nls/pt-PT/bundle.js +1 -1
  1031. package/es/resources/nls/ro/bundle.js +1 -1
  1032. package/es/resources/nls/ru/bundle.js +1 -1
  1033. package/es/resources/nls/sk/bundle.js +1 -1
  1034. package/es/resources/nls/sl/bundle.js +1 -1
  1035. package/es/resources/nls/sr/bundle.js +1 -1
  1036. package/es/resources/nls/sr-Latn/bundle.js +1 -1
  1037. package/es/resources/nls/supportedLocales.js +1 -1
  1038. package/es/resources/nls/sv/bundle.js +1 -1
  1039. package/es/resources/nls/th/bundle.js +1 -1
  1040. package/es/resources/nls/tr/bundle.js +1 -1
  1041. package/es/resources/nls/uk/bundle.js +1 -1
  1042. package/es/resources/nls/vi/bundle.js +1 -1
  1043. package/es/resources/nls/zh-Hans/bundle.js +1 -1
  1044. package/es/resources/nls/zh-Hant/bundle.js +1 -1
  1045. package/es/translationBundle.js +1 -1
  1046. package/es/{tslib.es6-b7e8fd27.js → tslib.es6-5eaa88c2.js} +2 -2
  1047. package/es/{tslib.es6-b7e8fd27.js.map → tslib.es6-5eaa88c2.js.map} +1 -1
  1048. package/es/{useSingleSelection-d3312458.js → useSingleSelection-66d4935c.js} +2 -2
  1049. package/es/{useSingleSelection-d3312458.js.map → useSingleSelection-66d4935c.js.map} +1 -1
  1050. package/es/utils/PRIVATE_clientHints.js +1 -1
  1051. package/es/utils/PRIVATE_collectionUtils.js +1 -1
  1052. package/es/utils/PRIVATE_dvtTestUtils.js +1 -1
  1053. package/es/utils/PRIVATE_floatingUtils.js +1 -1
  1054. package/es/utils/PRIVATE_meterUtils.js +1 -1
  1055. package/es/utils/PRIVATE_refUtils.js +1 -1
  1056. package/es/utils/PRIVATE_tabbableUtils.js +4 -4
  1057. package/es/utils/PRIVATE_timer.js +1 -1
  1058. package/es/utils/UNSAFE_arrayUtils.js +1 -1
  1059. package/es/utils/UNSAFE_attributeUtils.js +1 -1
  1060. package/es/utils/UNSAFE_classNames.js +1 -1
  1061. package/es/utils/UNSAFE_componentUtils.js +1 -1
  1062. package/es/utils/UNSAFE_dataProvider.js +1 -1
  1063. package/es/utils/UNSAFE_filePickerUtils.js +1 -1
  1064. package/es/utils/UNSAFE_getLocale.js +1 -1
  1065. package/es/utils/UNSAFE_interpolations/aria.js +1 -1
  1066. package/es/utils/UNSAFE_interpolations/borders.js +1 -1
  1067. package/es/utils/UNSAFE_interpolations/boxalignment.css +15 -15
  1068. package/es/utils/UNSAFE_interpolations/boxalignment.js +19 -19
  1069. package/es/utils/UNSAFE_interpolations/boxalignment.js.map +1 -1
  1070. package/es/utils/UNSAFE_interpolations/colors.js +1 -1
  1071. package/es/utils/UNSAFE_interpolations/dimensions.js +2 -2
  1072. package/es/utils/UNSAFE_interpolations/flexbox.css +7 -7
  1073. package/es/utils/UNSAFE_interpolations/flexbox.js +11 -11
  1074. package/es/utils/UNSAFE_interpolations/flexbox.js.map +1 -1
  1075. package/es/utils/UNSAFE_interpolations/flexitem.css +7 -7
  1076. package/es/utils/UNSAFE_interpolations/flexitem.js +11 -11
  1077. package/es/utils/UNSAFE_interpolations/flexitem.js.map +1 -1
  1078. package/es/utils/UNSAFE_interpolations/grid.js +1 -1
  1079. package/es/utils/UNSAFE_interpolations/griditem.js +1 -1
  1080. package/es/utils/UNSAFE_interpolations/padding.js +1 -1
  1081. package/es/utils/UNSAFE_interpolations/text.css +3 -3
  1082. package/es/utils/UNSAFE_interpolations/text.js +7 -7
  1083. package/es/utils/UNSAFE_interpolations/text.js.map +1 -1
  1084. package/es/utils/UNSAFE_keys.js +1 -1
  1085. package/es/utils/UNSAFE_lengthFilter.js +1 -1
  1086. package/es/utils/UNSAFE_logger.js +3 -3
  1087. package/es/utils/UNSAFE_matchTranslationBundle.js +1 -1
  1088. package/es/utils/UNSAFE_mergeInterpolations.js +5 -5
  1089. package/es/utils/UNSAFE_mergeProps.js +1 -1
  1090. package/es/utils/UNSAFE_meterTypes.js +1 -1
  1091. package/es/utils/UNSAFE_roles.js +1 -1
  1092. package/es/utils/UNSAFE_selectUtils.js +1 -1
  1093. package/es/utils/UNSAFE_size.js +1 -1
  1094. package/es/utils/UNSAFE_soundUtils.js +1 -1
  1095. package/es/utils/UNSAFE_stringUtils.js +1 -1
  1096. package/es/utils/UNSAFE_typeUtils.js +1 -1
  1097. package/es/utils/UNSAFE_units.js +1 -1
  1098. package/es/utils/UNSAFE_valueUpdateDetail.js +1 -1
  1099. package/package.json +1 -1
  1100. package/amd/Badge-0beeb09e.js +0 -2
  1101. package/amd/BaseButton-a31275cc.js +0 -2
  1102. package/amd/Button-26513e96.js +0 -2
  1103. package/amd/Chip-a71f9224.js +0 -2
  1104. package/amd/ClearIcon-ee6994a4.js +0 -2
  1105. package/amd/ComponentMessage-9e802f39.js +0 -2
  1106. package/amd/Divider-9262e69a.js +0 -2
  1107. package/amd/Flex-bfc6c229.js +0 -2
  1108. package/amd/Floating-863a4a52.js +0 -2
  1109. package/amd/FocusTrap-4796ed88.js +0 -2
  1110. package/amd/FormControlUtils-4236f687.js +0 -2
  1111. package/amd/Heading-2a0e8b5d.js +0 -2
  1112. package/amd/HighlightText-1bbd084b.js +0 -2
  1113. package/amd/Icon-66acac47.js +0 -2
  1114. package/amd/Indexer-88e5debf.js +0 -2
  1115. package/amd/Link-f42b6199.js +0 -2
  1116. package/amd/List-468ffcb6.js +0 -2
  1117. package/amd/ListItemTextLayout-44f494ea.js +0 -2
  1118. package/amd/ListView-a4690952.js +0 -2
  1119. package/amd/MenuDivider-a325668f.js +0 -2
  1120. package/amd/MenuItem-884f0dd4.js +0 -2
  1121. package/amd/MessageCloseButton-8366a158.js +0 -2
  1122. package/amd/MessageDetail-d500a9a3.js +0 -2
  1123. package/amd/MessageLayer-21a1fac3.js +0 -2
  1124. package/amd/MessageStartIcon-20e17ea1.js +0 -2
  1125. package/amd/MessageSummary-c91f9b00.js +0 -2
  1126. package/amd/MessageTimestamp-de77475d.js +0 -2
  1127. package/amd/MeterCircle-f142cd7b.js +0 -2
  1128. package/amd/Modal-ce6f32c7.js +0 -2
  1129. package/amd/ReadonlyTextFieldInput-55011079.js +0 -2
  1130. package/amd/SelectMenuItem-0dccca8f.js +0 -2
  1131. package/amd/SelectMultiple-19081cd1.js +0 -2
  1132. package/amd/Skeleton-3ccbc4fc.js +0 -2
  1133. package/amd/Spacer-da4de41b.js +0 -2
  1134. package/amd/SplitMenuButton-3ba67def.js +0 -2
  1135. package/amd/Text-0f26039f.js +0 -2
  1136. package/amd/TextArea-5c9e42d9.js +0 -2
  1137. package/amd/TextFieldInput-bc03d412.js +0 -2
  1138. package/amd/VirtualizedListView-c12f7343.js +0 -2
  1139. package/amd/_curry2-466cc994.js +0 -2
  1140. package/amd/_curry3-167fa665.js +0 -2
  1141. package/amd/_has-aa07e02d.js +0 -2
  1142. package/amd/flexbox-37da5c1b.js +0 -2
  1143. package/amd/flexitem-f592cd81.js +0 -2
  1144. package/amd/index-17cde748.js +0 -2
  1145. package/amd/keys-992a0824.js +0 -2
  1146. package/amd/listViewSelectionTests-27c184ae.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"UNSAFE_Grid.js","sources":["../../src/UNSAFE_Grid/Grid.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 */\nimport { ComponentChildren } from 'preact';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { gridInterpolations } from '../utils/UNSAFE_interpolations/grid';\nimport type { GridProps } from '../utils/UNSAFE_interpolations/grid';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype Props = GridProps &\n BoxAlignmentProps & {\n /**\n * The children to put in the grid.\n */\n children?: ComponentChildren;\n };\n\nconst baseStyles = cssProps`${{ display: 'grid' }}`;\n\nconst interpolations = [\n ...Object.values(gridInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * An implicit grid. Resize your browser to see how items reflow.\n */\nexport const Grid = ({ children, ...props }: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n const allStyles = { ...styles };\n return (\n <div class={`${baseStyles} ${cls}`} style={allStyles}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","gridInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","_a","children","props","__rest","_b","class","cls","styles","allStyles","assign","_jsx","style"],"mappings":"m6CAuBA,MAEAA,EACEC,GAAAA,OAAAA,mBAAAA,OAAAC,OAAAC,EAAAA,qBACAF,mBAAAA,OAAAC,OAAAE,EAAAA,8BAGFC,EAAAC,EAAAA,oBAAAN,UAKAO,IAAqB,IAAAC,SAAAA,GAAAD,EAAAE,EAAAC,EAAAA,OAAAH,EAAA,CAAA,aACnB,MAAAI,EAAAN,EAAAI,IAAAG,MAAAC,GAAAF,EAAAG,EAAAJ,EAAAA,OAAAC,EAAA,CAAA,UACAI,EAAAd,OAAAe,OAAA,GAAAF,GACA,OAAAG,MAAA,MAAAhB,OAAAe,OAAA,CAAAJ,MAAA,UAAAC,IAAAK,MAAAH,GAAA,CAAAP,SAAAA"}
1
+ {"version":3,"file":"UNSAFE_Grid.js","sources":["../../src/UNSAFE_Grid/Grid.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 */\nimport { ComponentChildren } from 'preact';\nimport { cssProps } from '@oracle/oraclejet-cssprops';\nimport { gridInterpolations } from '../utils/UNSAFE_interpolations/grid';\nimport type { GridProps } from '../utils/UNSAFE_interpolations/grid';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype Props = GridProps &\n BoxAlignmentProps & {\n /**\n * The children to put in the grid.\n */\n children?: ComponentChildren;\n };\n\nconst baseStyles = cssProps`${{ display: 'grid' }}`;\n\nconst interpolations = [\n ...Object.values(gridInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * An implicit grid. Resize your browser to see how items reflow.\n */\nexport const Grid = ({ children, ...props }: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n const allStyles = { ...styles };\n return (\n <div class={`${baseStyles} ${cls}`} style={allStyles}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","gridInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","_a","children","props","__rest","_b","class","cls","styles","allStyles","assign","_jsx","style"],"mappings":"gcAuBA,MAEAA,EAAA,IACEC,OAAAC,OAAAC,EAAAA,uBACAF,OAAAC,OAAAE,EAAAA,6BAGFC,EAAAC,EAAAA,oBAAAN,UAKAO,IAAqB,IAAAC,SAAAA,GAAAD,EAAAE,EAAAC,EAAAA,OAAAH,EAAA,CAAA,aACnB,MAAAI,EAAAN,EAAAI,IAAAG,MAAAC,GAAAF,EAAAG,EAAAJ,EAAAA,OAAAC,EAAA,CAAA,UACAI,EAAAd,OAAAe,OAAA,GAAAF,GACA,OAAAG,MAAA,MAAAhB,OAAAe,OAAA,CAAAJ,MAAA,WAAAC,IAAAK,MAAAH,GAAA,CAAAP,SAAAA"}
@@ -1,9 +1,9 @@
1
- .ufv1r{margin:0;}
2
- ._3ezr7b{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-line-height);}
3
- .dkgjhu{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-line-height);}
4
- ._151qyoj{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-line-height);}
5
- ._17ai2s4{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-line-height);}
6
- ._1dzn165{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-line-height);}
7
- .lea0a9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-line-height);}
8
- ._1t10a3d{font-size:inherit;font-weight:inherit;line-height:inherit;}
9
- ._1f6sh20 > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
1
+ .c8jr8v{margin:0;}
2
+ .docxw7{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xs-line-height);}
3
+ ._1jk617g{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-sm-line-height);}
4
+ ._1npq3ly{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-md-line-height);}
5
+ .na8ijt{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-lg-line-height);}
6
+ .p35uav{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-xl-line-height);}
7
+ .m8728u{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-typography-heading-2xl-line-height);}
8
+ .e6hy59{font-size:inherit;font-weight:inherit;line-height:inherit;}
9
+ ._1ey2ixr > *{margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;}
@@ -1,2 +1,2 @@
1
- define(["exports","./Heading-2a0e8b5d","./tslib.es6-fa3971d7","preact/jsx-runtime","./keys-992a0824","./_curry1-9eeaf6ed","./_has-aa07e02d","./utils/UNSAFE_arrayUtils","css!./UNSAFE_Heading.css","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-e580c7c7","./_curry3-167fa665","./_curry2-466cc994"],function(e,s,a,i,t,n,r,c,l,d,u,_,o,p){"use strict";e.Heading=s.Heading,e.headingElementTypes=s.headingElementTypes,e.sizeOptions=s.sizeOptions,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./Heading-92940027","./tslib.es6-d9d2f5d6","preact/jsx-runtime","./keys-ac292f2b","./_curry1-9cbf463f","./_has-b679fc56","./utils/UNSAFE_arrayUtils","css!./UNSAFE_Heading.css","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-2ba58777","./_curry3-2cf14b96","./_curry2-37583590"],function(e,s,i,a,t,n,r,c,l,d,u,f,_,o){"use strict";e.Heading=s.Heading,e.headingElementTypes=s.headingElementTypes,e.sizeOptions=s.sizeOptions,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_Heading.js.map
@@ -1 +1 @@
1
- ._1wo9d5j{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow-x:hidden;overflow-y:hidden;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;width:1px;position:absolute;}
1
+ .g55jcy{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow-x:hidden;overflow-y:hidden;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;width:1px;position:absolute;}
@@ -1,2 +1,2 @@
1
- define(["exports","./HiddenAccessible-4801c573","preact/jsx-runtime","css!./UNSAFE_HiddenAccessible.css"],function(e,i,c,s){"use strict";e.HiddenAccessible=i.HiddenAccessible,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./HiddenAccessible-3afe5d7e","preact/jsx-runtime","css!./UNSAFE_HiddenAccessible.css"],function(e,i,s,c){"use strict";e.HiddenAccessible=i.HiddenAccessible,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_HiddenAccessible.js.map
@@ -1 +1 @@
1
- ._1a36wil{font-weight:700;}
1
+ .yhr9ql{font-weight:700;}
@@ -1,2 +1,2 @@
1
- define(["exports","./HighlightText-1bbd084b","preact/jsx-runtime","preact","css!./UNSAFE_HighlightText.css"],function(e,t,i,r,g){"use strict";e.HighlightText=t.HighlightText,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./HighlightText-691a0697","preact/jsx-runtime","preact","css!./UNSAFE_HighlightText.css"],function(e,t,i,r,a){"use strict";e.HighlightText=t.HighlightText,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_HighlightText.js.map
@@ -1,21 +1,21 @@
1
- ._1urbwh7{font-size:1em;}
2
- ._1pciyqk{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);}
3
- ._141so4c{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
4
- ._1vdgpe9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
5
- ._1h6lcya{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
6
- ._171gjb1{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
7
- ._2sj2we{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-6x);}
8
- ._472z0t{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-7x);}
9
- .mqru6j{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-8x);}
10
- .nw0g0i{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-9x);}
11
- ._1riytym{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-10x);}
12
- .m5e779{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-11x);}
13
- ._1fxq9as{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-12x);}
14
- .xohdz1{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);}
15
- ._1mkwg64{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary);}
16
- ._1eko833{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
17
- ._1brrs4p{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3);}
18
- ._1ryxrxo{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3);}
19
- ._1en4izp{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-success-3);}
20
- ._1flfyqt{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-info-3);}
21
- ._1815tm9{color:currentColor;}
1
+ .stpeao{font-size:1em;}
2
+ ._10t9et9{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-1x);}
3
+ ._1jl741{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-2x);}
4
+ .dyxnv{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-3x);}
5
+ .p51eya{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-4x);}
6
+ .ish6tn{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-5x);}
7
+ .jziuoy{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-6x);}
8
+ .lsp8sp{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-7x);}
9
+ ._15f910y{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-8x);}
10
+ .miy7mr{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-9x);}
11
+ .cweser{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-10x);}
12
+ ._1soh8sl{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-11x);}
13
+ ._79ut0a{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-spacing-12x);}
14
+ ._1383adx{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary);}
15
+ ._2o4m1q{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-secondary);}
16
+ .ibe2wa{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
17
+ ._1guxabd{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3);}
18
+ ._1j3xk5j{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3);}
19
+ ._1ik2r0a{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-success-3);}
20
+ ._1dxvn5o{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-info-3);}
21
+ ._6herao{color:currentColor;}
@@ -1,2 +1,2 @@
1
- define(["exports","./Icon-66acac47","preact/jsx-runtime","./hooks/UNSAFE_useUser","./hooks/UNSAFE_useTheme","./tslib.es6-fa3971d7","preact","css!./UNSAFE_Icon.css","./utils/UNSAFE_classNames","./classNames-e580c7c7","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-863a4a52","preact/compat","./index-17cde748","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./UNSAFE_Environment","./UNSAFE_Layer","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-215b2be2"],function(s,e,o,t,i,n,c,a,u,r,l,U,A,_,E,F,N,h,S,k,m,d,g,p,j,I,T,b,f,x){"use strict";s.Icon=e.Icon,s.withDirectionIcon=(s,e)=>i=>{const{direction:n}=t.useUser();return"ltr"===n?o.jsx(s,Object.assign({},i)):o.jsx(e,Object.assign({},i))},s.withThemeIcon=s=>e=>{const{name:t}=i.useTheme(),n=s[t];return o.jsx(n,Object.assign({},e))},Object.defineProperty(s,"__esModule",{value:!0})});
1
+ define(["exports","./Icon-4325e74f","preact/jsx-runtime","./hooks/UNSAFE_useUser","./hooks/UNSAFE_useTheme","./tslib.es6-d9d2f5d6","preact","css!./UNSAFE_Icon.css","./utils/UNSAFE_classNames","./classNames-2ba58777","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-f23a546d","preact/compat","./index-b6f31c6c","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./UNSAFE_Environment","./UNSAFE_Layer","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-c8511df4"],function(s,e,o,t,i,n,c,u,r,a,l,U,A,_,E,F,N,h,S,d,k,m,f,g,p,j,I,T,b,x){"use strict";s.Icon=e.Icon,s.withDirectionIcon=(s,e)=>i=>{const{direction:n}=t.useUser();return"ltr"===n?o.jsx(s,Object.assign({},i)):o.jsx(e,Object.assign({},i))},s.withThemeIcon=s=>e=>{const{name:t}=i.useTheme(),n=s[t];return o.jsx(n,Object.assign({},e))},Object.defineProperty(s,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_Icon.js.map
@@ -1,2 +1,2 @@
1
- define(["exports","./index-4d399da7","preact/jsx-runtime","./UNSAFE_Icon","./Icon-66acac47","./tslib.es6-fa3971d7","preact",'module',"./utils/UNSAFE_classNames","./classNames-e580c7c7","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-863a4a52","preact/compat","./index-17cde748","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-215b2be2","./hooks/UNSAFE_useTheme"],function(o,e,c,s,n,S,i,r,t,I,a,h,v,g,u,U,l,E,A,N,_,F,C,k,f,d,m,p,w,b,x,D){"use strict";o.CheckboxOff=e.SvgCheckboxOff,o.CheckboxOn=e.SvgCheckboxOn,o.IcoCaretDown=e.SvgIcoCaretDown,o.IcoCheck=e.SvgIcoCheck,o.IcoChevronDown=e.SvgIcoChevronDown,o.IcoChevronLeft=e.SvgIcoChevronLeft,o.IcoChevronRight=e.SvgIcoChevronRight,o.IcoChevronUp=e.SvgIcoChevronUp,o.IcoClose=e.SvgIcoClose,o.IcoErrorS=e.SvgIcoErrorS,o.IcoInformationS=e.SvgIcoInformationS,o.IcoNavDown=e.SvgIcoNavDown,o.IcoSuccessS=e.SvgIcoSuccessS,o.IcoView=e.SvgIcoView,o.IcoViewHide=e.SvgIcoViewHide,o.IcoWarningS=e.SvgIcoWarningS,Object.defineProperty(o,"__esModule",{value:!0})});
1
+ define(["exports","./index-cf988fc7","preact/jsx-runtime","./UNSAFE_Icon","./Icon-4325e74f","./tslib.es6-d9d2f5d6","preact",'module',"./utils/UNSAFE_classNames","./classNames-2ba58777","./hooks/UNSAFE_useTooltip","preact/hooks","./hooks/UNSAFE_useId","./UNSAFE_Floating","./Floating-f23a546d","preact/compat","./index-b6f31c6c","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./utils/UNSAFE_arrayUtils","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./utils/UNSAFE_mergeProps","./hooks/UNSAFE_useAnimation","./useAnimation-c8511df4","./hooks/UNSAFE_useTheme"],function(o,e,c,s,n,S,i,r,t,I,a,h,v,g,u,U,l,E,A,N,_,f,F,C,k,d,m,p,w,b,x,D){"use strict";o.CheckboxOff=e.SvgCheckboxOff,o.CheckboxOn=e.SvgCheckboxOn,o.IcoCaretDown=e.SvgIcoCaretDown,o.IcoCheck=e.SvgIcoCheck,o.IcoChevronDown=e.SvgIcoChevronDown,o.IcoChevronLeft=e.SvgIcoChevronLeft,o.IcoChevronRight=e.SvgIcoChevronRight,o.IcoChevronUp=e.SvgIcoChevronUp,o.IcoClose=e.SvgIcoClose,o.IcoErrorS=e.SvgIcoErrorS,o.IcoInformationS=e.SvgIcoInformationS,o.IcoNavDown=e.SvgIcoNavDown,o.IcoSuccessS=e.SvgIcoSuccessS,o.IcoView=e.SvgIcoView,o.IcoViewHide=e.SvgIcoViewHide,o.IcoWarningS=e.SvgIcoWarningS,Object.defineProperty(o,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_Icons.js.map
@@ -1,8 +1,8 @@
1
- ._18fh5kg{height:100%;}
2
- ._1bi5a6a{list-style-type:none;margin:0px;margin-top:auto;margin-bottom:auto;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;outline-style:none;}
1
+ ._557oxf{height:100%;}
2
+ ._19n8u75{list-style-type:none;margin:0px;margin-top:auto;margin-bottom:auto;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;outline-style:none;}
3
3
 
4
- ._1tg6ov3{text-align:center;height:1rem;width:1.5rem;color:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-text-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-font-size);line-height:1rem;}
5
- ._1b67wpm{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
6
- ._1kjb2uv{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
7
- .qo5u38{font-weight:bold;}
8
- .wb2n5q::after{content:"●";}
4
+ ._1p5hlru{text-align:center;height:1rem;width:1.5rem;color:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-text-color);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-indexer-font-size);line-height:1rem;}
5
+ ._10gfkax{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-disabled);}
6
+ ._1ocvbkm{outline-style:dotted;outline-width:1px;outline-color:var(--oj-c-PRIVATE-DO-NOT-USE-core-focus-border-color);outline-offset:-1px;}
7
+ ._1sdkias{font-weight:bold;}
8
+ ._1h2nq41::after{content:"●";}
@@ -1,2 +1,2 @@
1
- define(["exports","./Indexer-88e5debf","preact/jsx-runtime","preact","preact/hooks","./UNSAFE_Flex","./Flex-bfc6c229","./tslib.es6-fa3971d7","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9eeaf6ed","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-e580c7c7","./_curry3-167fa665","./_curry2-466cc994","./_has-aa07e02d","css!./UNSAFE_Indexer.css","./utils/UNSAFE_interpolations/boxalignment","./keys-992a0824","./utils/UNSAFE_interpolations/flexbox","./flexbox-37da5c1b","./utils/UNSAFE_interpolations/flexitem","./flexitem-f592cd81","./utils/UNSAFE_mergeProps","./useSingleSelection-11aca1fe","./hooks/PRIVATE_useCurrentKey","./utils/UNSAFE_keys","./hooks/PRIVATE_useCollectionFocusRing","./utils/PRIVATE_collectionUtils","./utils/PRIVATE_clientHints","./clientHints-914fecb1","./hooks/UNSAFE_useId","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_Environment","./UNSAFE_Layer","preact/compat","./UNSAFE_HiddenAccessible","./HiddenAccessible-4801c573","./PRIVATE_Collection","./Collection-805cf4b4"],function(e,s,i,t,l,n,o,c,r,a,_,u,E,A,S,N,d,F,U,f,x,p,b,I,m,T,y,R,k,P,h,C,H,g,O,V,j,v,z,B,K,L){"use strict";e.Indexer=s.Indexer,e.SECTION_OTHERS=s.SECTION_OTHERS,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./Indexer-c86699cc","preact/jsx-runtime","preact","preact/hooks","./UNSAFE_Flex","./Flex-f922bd14","./tslib.es6-d9d2f5d6","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9cbf463f","./utils/UNSAFE_mergeInterpolations","./utils/UNSAFE_classNames","./classNames-2ba58777","./_curry3-2cf14b96","./_curry2-37583590","./_has-b679fc56","css!./UNSAFE_Indexer.css","./utils/UNSAFE_interpolations/boxalignment","./keys-ac292f2b","./utils/UNSAFE_interpolations/flexbox","./flexbox-f0221a64","./utils/UNSAFE_interpolations/flexitem","./flexitem-4580af77","./utils/UNSAFE_mergeProps","./useSingleSelection-bd1208cf","./hooks/PRIVATE_useCurrentKey","./utils/UNSAFE_keys","./hooks/PRIVATE_useCollectionFocusRing","./utils/PRIVATE_collectionUtils","./utils/PRIVATE_clientHints","./clientHints-4aaefa1c","./hooks/UNSAFE_useId","./hooks/UNSAFE_useTranslationBundle","./UNSAFE_Environment","./UNSAFE_Layer","preact/compat","./UNSAFE_HiddenAccessible","./HiddenAccessible-3afe5d7e","./PRIVATE_Collection","./Collection-8a961897"],function(e,s,i,t,l,n,o,c,r,a,_,u,E,A,S,N,d,f,F,U,b,x,p,I,m,T,y,R,k,P,h,C,H,g,O,V,j,v,z,B,K,L){"use strict";e.Indexer=s.Indexer,e.SECTION_OTHERS=s.SECTION_OTHERS,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_Indexer.js.map
@@ -1 +1 @@
1
- ._1klqxzo{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);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);border-color:transparent;background-color:transparent;width:2.75rem;height:2.75rem;line-height:2.75rem;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg);}._1klqxzo: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;}
1
+ ._5ic6xe{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);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);border-color:transparent;background-color:transparent;width:2.75rem;height:2.75rem;line-height:2.75rem;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg);}._5ic6xe: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;}
@@ -1,2 +1,2 @@
1
- define(["exports","preact/jsx-runtime","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useHover","./UNSAFE_Label","./UNSAFE_TextField","./UNSAFE_UserAssistance","css!./UNSAFE_InputPassword.css","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_usePress","./index-03ab344e","./index-4d399da7","./hooks/UNSAFE_useClearIcon","./utils/UNSAFE_componentUtils","./ClearIcon-ee6994a4","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-55011079","./TextFieldInput-bc03d412","./tslib.es6-fa3971d7","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-d77d235f","preact","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-e580c7c7","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-bfc6c229","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9eeaf6ed","./utils/UNSAFE_mergeInterpolations","./_curry3-167fa665","./_curry2-466cc994","./_has-aa07e02d","./utils/UNSAFE_interpolations/boxalignment","./keys-992a0824","./utils/UNSAFE_interpolations/flexbox","./flexbox-37da5c1b","./utils/UNSAFE_interpolations/flexitem","./flexitem-f592cd81","./FormControlUtils-4236f687","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./InlineHelpSource-87132e33","./hooks/UNSAFE_useTabbableMode","./UNSAFE_ComponentMessage","./ComponentMessage-9e802f39","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-8366a158","./UNSAFE_Button","./Button-26513e96","./UNSAFE_BaseButton","./BaseButton-a31275cc","./hooks/UNSAFE_useActive","./utils/PRIVATE_clientHints","./clientHints-914fecb1","./utils/UNSAFE_mergeProps","./MessageDetail-d500a9a3","./MessageFormattingUtils-bdfaac26","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-e3a47803","./Message.types-eb760bd7","./MessageStartIcon-20e17ea1","./MessageSummary-c91f9b00","./MessageTimestamp-de77475d","./MessageUtils-8216ac4e","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-615b69fb","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useAnimation","./useAnimation-215b2be2","./hooks/UNSAFE_useMessagesContext","./UNSAFE_Icon","./Icon-66acac47","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-863a4a52","./index-17cde748","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useTheme","./UNSAFE_HiddenAccessible","./HiddenAccessible-4801c573","./ComponentMessageContainer-2bfa2078","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers"],function(e,s,o,t,i,a,l,n,u,r,c,d,F,A,b,U,E,S,_,p,x,h,g,N,m,f,v,k,y,C,T,I,R,j,P,V,M,B,D,L,w,H,O,W,q,z,G,J,K,Q,X,Y,Z,$,ee,se,oe,te,ie,ae,le,ne,ue,re,ce,de,Fe,Ae,be,Ue,Ee,Se,_e,pe,xe,he,ge,Ne,me,fe,ve,ke,ye,Ce,Te,Ie,Re,je,Pe,Ve,Me,Be,De,Le,we,He,Oe,We,qe,ze,Ge,Je,Ke){"use strict";const Qe="_1klqxzo";function Xe({isRevealed:e,onPress:o}){const{pressProps:t}=b.usePress(o),i=A.useTranslationBundle("@oracle/oraclejet-preact").inputPassword_hidden();return s.jsx("button",Object.assign({"aria-label":i,role:"switch","aria-checked":!e,class:Qe,tabIndex:0},t,{children:e?s.jsx(E.SvgIcoViewHide,{}):s.jsx(E.SvgIcoView,{})}))}const Ye=o.forwardRef(({ariaDescribedBy:e,assistiveText:o,autoComplete:F="off",autoFocus:A=!1,hasClearIcon:b,hasRevealToggle:U="always",helpSourceLink:E,helpSourceText:m,isDisabled:f,isReadonly:v,isRequired:k=!1,isRequiredShown:y,label:C,labelEdge:T,labelStartWidth:I,messages:R,placeholder:j,textAlign:P,userAssistanceDensity:V,value:M,variant:B="default",onInput:D,onCommit:L},w)=>{const{currentCommitValue:H,dispatch:O}=h.useCurrentValueReducer({value:M}),W=t.useCallback(e=>{O({type:"input",payload:e.value}),null==D||D(e)},[D,O]),q=t.useCallback(e=>{O({type:"commit",payload:e.value}),null==L||L(e)},[L,O]),{isDisabled:z,isReadonly:G,labelEdge:J,labelStartWidth:K,textAlign:Q,userAssistanceDensity:X}=a.useFormContext(),Y=null!=f?f:z,Z=null!=v?v:G,$=null!=T?T:J,ee=null!=I?I:K,se=null!=P?P:Q,oe=null!=V?V:X,{bool:te,setFalse:ie,setTrue:ae}=x.useToggle(!1),{enabledElementRef:le,focusProps:ne,isFocused:ue,readonlyElementRef:re}=i.useFocusableTextField({isDisabled:Y,isReadonly:Z,ref:w,onBlurWithin:ie}),{hoverProps:ce,isHover:de}=u.useHover({isDisabled:Z||Y||!1}),{formFieldContext:Fe,inputProps:Ae,labelProps:be,textFieldProps:Ue,userAssistanceProps:Ee}=n.useTextField({ariaDescribedBy:e,isDisabled:Y,isFocused:ue,isReadonly:Z,labelEdge:$,messages:R,styleVariant:B,value:M}),Se=t.useCallback(()=>{te?ie():ae()},[te]),_e=Y||"always"!==U?null:s.jsx(Xe,{onPress:Se,isRevealed:te}),pe=t.useCallback(()=>{var e;null===(e=le.current)||void 0===e||e.focus(),null==W||W({previousValue:M,value:""})},[D,M]),xe=S.useClearIcon({clearIcon:s.jsx(p.ClearIcon,{onClick:pe}),display:b,hasValue:Fe.hasValue,isFocused:ue,isEnabled:!Z&&!Y,isHover:de}),he=_.beforeVNode(_e,xe),ge="none"!==$?s.jsx(r.Label,Object.assign({},be,{children:C})):void 0,Ne={label:"none"!==$?ge:void 0,labelEdge:"none"!==$?$:void 0,labelStartWidth:"none"!==$?ee:void 0},me="none"===$?C:void 0,fe=Y||Z?"efficient"!==oe?void 0:s.jsx(d.InlineUserAssistance,Object.assign({userAssistanceDensity:oe},Ee)):s.jsx(d.InlineUserAssistance,Object.assign({assistiveText:o,helpSourceLink:E,helpSourceText:m,messages:R,isRequiredShown:y,userAssistanceDensity:oe},Ee));if(Z)return s.jsx(l.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(c.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:fe},Ne,{children:s.jsx(g.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:me,ariaLabelledBy:be.id,as:"input",autoFocus:A,elementRef:re,textAlign:se,type:"password",value:M,hasInsideLabel:void 0!==C&&"inside"===$})}))}));const ve=s.jsx(N.TextFieldInput,Object.assign({ariaLabel:me,autoComplete:F,autoFocus:A,currentCommitValue:H,hasInsideLabel:void 0!==ge&&"inside"===$,inputRef:le,isRequired:k,onInput:W,onCommit:q,placeholder:j,textAlign:se,value:M,type:te?"text":"password"},Ae));return s.jsx(l.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(c.TextField,Object.assign({endContent:he,inlineUserAssistance:fe,mainContent:ve,onBlur:ne.onfocusout,onFocus:ne.onfocusin},Ue,Ne,ce))}))});e.InputPassword=Ye,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","preact/jsx-runtime","preact/compat","preact/hooks","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useTextField","./hooks/UNSAFE_useHover","./UNSAFE_Label","./UNSAFE_TextField","./UNSAFE_UserAssistance","css!./UNSAFE_InputPassword.css","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_usePress","./index-16862ac7","./index-cf988fc7","./hooks/UNSAFE_useClearIcon","./utils/UNSAFE_componentUtils","./ClearIcon-8fc1ea23","./hooks/UNSAFE_useToggle","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-a0801f52","./TextFieldInput-f9e605d9","./tslib.es6-d9d2f5d6","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-8f27a1c8","preact","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-2ba58777","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-f922bd14","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9cbf463f","./utils/UNSAFE_mergeInterpolations","./_curry3-2cf14b96","./_curry2-37583590","./_has-b679fc56","./utils/UNSAFE_interpolations/boxalignment","./keys-ac292f2b","./utils/UNSAFE_interpolations/flexbox","./flexbox-f0221a64","./utils/UNSAFE_interpolations/flexitem","./flexitem-4580af77","./FormControlUtils-4342d13b","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./InlineHelpSource-0da64d0a","./hooks/UNSAFE_useTabbableMode","./UNSAFE_ComponentMessage","./ComponentMessage-08ded24e","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-fc804358","./UNSAFE_Button","./Button-dc28bc46","./UNSAFE_BaseButton","./BaseButton-f6b56c16","./hooks/UNSAFE_useActive","./utils/PRIVATE_clientHints","./clientHints-4aaefa1c","./utils/UNSAFE_mergeProps","./MessageDetail-c1e0cdc2","./MessageFormattingUtils-95f48c88","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-1ad4f59d","./Message.types-97d3e7a4","./MessageStartIcon-665f54bc","./MessageSummary-4bfdff83","./MessageTimestamp-7b2ca246","./MessageUtils-e1daf68f","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-815876b7","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useAnimation","./useAnimation-c8511df4","./hooks/UNSAFE_useMessagesContext","./UNSAFE_Icon","./Icon-4325e74f","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-f23a546d","./index-b6f31c6c","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useTheme","./UNSAFE_HiddenAccessible","./HiddenAccessible-3afe5d7e","./ComponentMessageContainer-d309a605","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers"],function(e,s,o,i,t,a,l,n,u,r,c,d,F,A,b,U,E,S,_,p,f,x,h,g,N,m,v,y,k,C,T,I,R,j,P,V,M,B,D,L,w,H,O,W,q,z,G,J,K,Q,X,Y,Z,$,ee,se,oe,ie,te,ae,le,ne,ue,re,ce,de,Fe,Ae,be,Ue,Ee,Se,_e,pe,fe,xe,he,ge,Ne,me,ve,ye,ke,Ce,Te,Ie,Re,je,Pe,Ve,Me,Be,De,Le,we,He,Oe,We,qe,ze,Ge,Je,Ke){"use strict";const Qe="_5ic6xe";function Xe({isRevealed:e,onPress:o}){const{pressProps:i}=b.usePress(o),t=A.useTranslationBundle("@oracle/oraclejet-preact").inputPassword_hidden();return s.jsx("button",Object.assign({"aria-label":t,role:"switch","aria-checked":!e,class:Qe,tabIndex:0},i,{children:e?s.jsx(E.SvgIcoViewHide,{}):s.jsx(E.SvgIcoView,{})}))}const Ye=o.forwardRef(({ariaDescribedBy:e,assistiveText:o,autoComplete:F="off",autoFocus:A=!1,hasClearIcon:b,hasRevealToggle:U="always",helpSourceLink:E,helpSourceText:N,isDisabled:m,isReadonly:v,isRequired:y=!1,isRequiredShown:k,label:C,labelEdge:T,labelStartWidth:I,messages:R,placeholder:j,textAlign:P,userAssistanceDensity:V,value:M,variant:B="default",onInput:D,onCommit:L},w)=>{const{currentCommitValue:H,dispatch:O}=x.useCurrentValueReducer({value:M}),W=i.useCallback(e=>{O({type:"input",payload:e.value}),null==D||D(e)},[D,O]),q=i.useCallback(e=>{O({type:"commit",payload:e.value}),null==L||L(e)},[L,O]),{isDisabled:z,isReadonly:G,labelEdge:J,labelStartWidth:K,textAlign:Q,userAssistanceDensity:X}=a.useFormContext(),Y=null!=m?m:z,Z=null!=v?v:G,$=null!=T?T:J,ee=null!=I?I:K,se=null!=P?P:Q,oe=null!=V?V:X,{bool:ie,setFalse:te,setTrue:ae}=f.useToggle(!1),{enabledElementRef:le,focusProps:ne,isFocused:ue,readonlyElementRef:re}=t.useFocusableTextField({isDisabled:Y,isReadonly:Z,ref:w,onBlurWithin:te}),{hoverProps:ce,isHover:de}=u.useHover({isDisabled:Z||Y||!1}),{formFieldContext:Fe,inputProps:Ae,labelProps:be,textFieldProps:Ue,userAssistanceProps:Ee}=n.useTextField({ariaDescribedBy:e,isDisabled:Y,isFocused:ue,isReadonly:Z,labelEdge:$,messages:R,styleVariant:B,value:M}),Se=i.useCallback(()=>{ie?te():ae()},[ie]),_e=Y||"always"!==U?null:s.jsx(Xe,{onPress:Se,isRevealed:ie}),pe=i.useCallback(()=>{var e;null===(e=le.current)||void 0===e||e.focus(),null==W||W({previousValue:M,value:""})},[D,M]),fe=S.useClearIcon({clearIcon:s.jsx(p.ClearIcon,{onClick:pe}),display:b,hasValue:Fe.hasValue,isFocused:ue,isEnabled:!Z&&!Y,isHover:de}),xe=_.beforeVNode(_e,fe),he="none"!==$?s.jsx(r.Label,Object.assign({},be,{children:C})):void 0,ge={label:"none"!==$?he:void 0,labelEdge:"none"!==$?$:void 0,labelStartWidth:"none"!==$?ee:void 0},Ne="none"===$?C:void 0,me=Y||Z?"efficient"!==oe?void 0:s.jsx(d.InlineUserAssistance,Object.assign({userAssistanceDensity:oe},Ee)):s.jsx(d.InlineUserAssistance,Object.assign({assistiveText:o,helpSourceLink:E,helpSourceText:N,messages:R,isRequiredShown:k,userAssistanceDensity:oe},Ee));if(Z)return s.jsx(l.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(c.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:me},ge,{children:s.jsx(h.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:Ne,ariaLabelledBy:be.id,as:"input",autoFocus:A,elementRef:re,textAlign:se,type:"password",value:M,hasInsideLabel:void 0!==C&&"inside"===$})}))}));const ve=s.jsx(g.TextFieldInput,Object.assign({ariaLabel:Ne,autoComplete:F,autoFocus:A,currentCommitValue:H,hasInsideLabel:void 0!==he&&"inside"===$,inputRef:le,isRequired:y,onInput:W,onCommit:q,placeholder:j,textAlign:se,value:M,type:ie?"text":"password"},Ae));return s.jsx(l.FormFieldContext.Provider,Object.assign({value:Fe},{children:s.jsx(c.TextField,Object.assign({endContent:xe,inlineUserAssistance:me,mainContent:ve,onBlur:ne.onfocusout,onFocus:ne.onfocusin},Ue,ge,ce))}))});e.InputPassword=Ye,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_InputPassword.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UNSAFE_InputPassword.js","sources":["../../src/UNSAFE_InputPassword/RevealToggleIcon.tsx","../../src/UNSAFE_InputPassword/InputPassword.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { ViewHideIcon, ViewIcon } from '../UNSAFE_ThemedIcons';\n\ntype RevealToogleIconProps = {\n onPress: (event: Event) => void;\n isRevealed?: boolean;\n};\n\n// TODO: This was copied from ClearIcon. When we have a preact <Button> component we\n// will need to refactor to use that.\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-height) once it is available\nconst ojButtonHeight = '2.75rem';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-border-radius) once it is available\nconst ojButtonBorderRadius = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color) once it is available\nconst ojButtonBorderlessChromeTextColor = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color-hover) once it is available\nconst ojButtonBorderlessChromeTextColorHover =\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-bg-color-hover) once it is available\nconst ojButtonBorderlessChromeBgColorHover = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-border-color-hover) once it is available\nconst ojButtonBorderlessChromeBorderColorHover = 'transparent';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-icon-size) once it is available\nconst ojButtonIconSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg)';\n\nconst revealToggleIconStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable)',\n\n paddingInline: 0,\n paddingBlock: 0,\n borderRadius: ojButtonBorderRadius,\n color: ojButtonBorderlessChromeTextColor,\n borderColor: 'transparent',\n backgroundColor: 'transparent',\n\n width: ojButtonHeight,\n height: ojButtonHeight,\n lineHeight: ojButtonHeight,\n fontSize: ojButtonIconSize,\n\n '&:hover': {\n color: ojButtonBorderlessChromeTextColorHover,\n backgroundColor: ojButtonBorderlessChromeBgColorHover,\n borderColor: ojButtonBorderlessChromeBorderColorHover\n }\n }}`\n};\n\nexport function RevealToggleIcon({ isRevealed, onPress }: RevealToogleIconProps) {\n const { pressProps } = usePress(onPress);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n // title attribute. We removed these because title is taking precedence over aria-label and this\n // is messing up the screen readers. To be accessible we are removing title and will implement\n // this as a <Tooltip> component when we have one.\n // TODO JET-51517 implement reveal icon title as a Tooltip\n // const hidePasswordStr = translations.inputPassword_hide();\n // const showPasswordStr = translations.inputPassword_show();\n const passwordMaskedStr = translations.inputPassword_hidden();\n // TODO: Use toggle <Button> when that is available, JET-49207\n return (\n <button\n aria-label={passwordMaskedStr}\n role=\"switch\"\n aria-checked={isRevealed ? false : true}\n class={revealToggleIconStyles.base}\n tabIndex={0}\n {...pressProps}>\n {isRevealed ? <ViewHideIcon /> : <ViewIcon />}\n </button>\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 { ComponentProps, 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 { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { RevealToggleIcon } from './RevealToggleIcon';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '../UNSAFE_InputText/ClearIcon';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\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 * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\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 * 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 * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n /**\n * Specifies whether the reveal toggle should be shown.\n * <ul>\n * <li><code>'always'</code>: The reveal toggle is always visible and the user can click on it to reveal the password in plain text.\n * When the user leaves the field, the password is automatically masked.</li>\n * <li><code>'never'</code>: The reveal toggle is never visible and the user can never reveal the password in plain text.</li>\n * </ul>\n */\n hasRevealToggle?: 'always' | 'never';\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\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 * 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 * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field. If the labelEdge is 'none',\n * the labelHint is hidden from the user but is still accessible.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\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 * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n *\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\n// One way InputPassword differs from InputText is InputPassword's readonly\n// is implemented with an <input> and not a <div>.\nexport const InputPassword = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon,\n hasRevealToggle = 'always',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\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 const {\n bool: isRevealed,\n setFalse: setRevealedFalse,\n setTrue: setRevealedTrue\n } = useToggle(false);\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLInputElement\n >({ isDisabled, isReadonly, ref, onBlurWithin: setRevealedFalse });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Callback on the RevealToggleButton.\n // When the user clicks on the reveal buttton,\n // toggle revealing/masking password\n const onRevealIconPress = useCallback(() => {\n isRevealed ? setRevealedFalse() : setRevealedTrue();\n }, [isRevealed]);\n\n const revealToggleIcon =\n !isDisabled && hasRevealToggle === 'always' ? (\n <RevealToggleIcon onPress={onRevealIconPress} isRevealed={isRevealed} />\n ) : null;\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInput, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(revealToggleIcon, maybeClearIcon);\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 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 {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"input\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n type=\"password\"\n value={value}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <TextFieldInput\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n onInput={onInputAndDispatch}\n onCommit={onCommitAndDispatch}\n placeholder={placeholder}\n textAlign={textAlign}\n value={value}\n type={isRevealed ? 'text' : 'password'}\n {...inputProps}\n />\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["revealToggleIconStyles","RevealToggleIcon","isRevealed","onPress","passwordMaskedStr","useTranslationBundle","inputPassword_hidden","InputPassword","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","hasRevealToggle","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","bool","setFalse","setRevealedFalse","setTrue","setRevealedTrue","useToggle","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","onBlurWithin","hoverProps","isHover","useHover","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onRevealIconPress","revealToggleIcon","_jsx","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","labelComp","Label","Object","assign","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","FormFieldContext","Provider","children","ReadonlyTextField","role","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","mainContent","TextFieldInput","inputRef","TextField","endContent","onBlur","onfocusout","onFocus","onfocusin"],"mappings":"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"}
1
+ {"version":3,"file":"UNSAFE_InputPassword.js","sources":["../../src/UNSAFE_InputPassword/RevealToggleIcon.tsx","../../src/UNSAFE_InputPassword/InputPassword.tsx"],"sourcesContent":["import { cssProps } from '@oracle/oraclejet-cssprops';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { ViewHideIcon, ViewIcon } from '../UNSAFE_ThemedIcons';\n\ntype RevealToogleIconProps = {\n onPress: (event: Event) => void;\n isRevealed?: boolean;\n};\n\n// TODO: This was copied from ClearIcon. When we have a preact <Button> component we\n// will need to refactor to use that.\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-height) once it is available\nconst ojButtonHeight = '2.75rem';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-border-radius) once it is available\nconst ojButtonBorderRadius = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-border-radius-md)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color) once it is available\nconst ojButtonBorderlessChromeTextColor = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-text-color-hover) once it is available\nconst ojButtonBorderlessChromeTextColorHover =\n 'var(--oj-c-PRIVATE-DO-NOT-USE-core-text-color-primary)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-bg-color-hover) once it is available\nconst ojButtonBorderlessChromeBgColorHover = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-bg-color-hover)';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-borderless-chrome-border-color-hover) once it is available\nconst ojButtonBorderlessChromeBorderColorHover = 'transparent';\n// TODO: replace this with var(--oj-c-PRIVATE-DO-NOT-USE-button-icon-size) once it is available\nconst ojButtonIconSize = 'var(--oj-c-PRIVATE-DO-NOT-USE-core-icon-size-lg)';\n\nconst revealToggleIconStyles = {\n base: cssProps`${{\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n cursor: 'var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable)',\n\n paddingInline: 0,\n paddingBlock: 0,\n borderRadius: ojButtonBorderRadius,\n color: ojButtonBorderlessChromeTextColor,\n borderColor: 'transparent',\n backgroundColor: 'transparent',\n\n width: ojButtonHeight,\n height: ojButtonHeight,\n lineHeight: ojButtonHeight,\n fontSize: ojButtonIconSize,\n\n '&:hover': {\n color: ojButtonBorderlessChromeTextColorHover,\n backgroundColor: ojButtonBorderlessChromeBgColorHover,\n borderColor: ojButtonBorderlessChromeBorderColorHover\n }\n }}`\n};\n\nexport function RevealToggleIcon({ isRevealed, onPress }: RevealToogleIconProps) {\n const { pressProps } = usePress(onPress);\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n // title attribute. We removed these because title is taking precedence over aria-label and this\n // is messing up the screen readers. To be accessible we are removing title and will implement\n // this as a <Tooltip> component when we have one.\n // TODO JET-51517 implement reveal icon title as a Tooltip\n // const hidePasswordStr = translations.inputPassword_hide();\n // const showPasswordStr = translations.inputPassword_show();\n const passwordMaskedStr = translations.inputPassword_hidden();\n // TODO: Use toggle <Button> when that is available, JET-49207\n return (\n <button\n aria-label={passwordMaskedStr}\n role=\"switch\"\n aria-checked={isRevealed ? false : true}\n class={revealToggleIconStyles.base}\n tabIndex={0}\n {...pressProps}>\n {isRevealed ? <ViewHideIcon /> : <ViewIcon />}\n </button>\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 { ComponentProps, 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 { useTextField } from '../hooks/UNSAFE_useTextField';\nimport { useHover } from '../hooks/UNSAFE_useHover';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { RevealToggleIcon } from './RevealToggleIcon';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '../UNSAFE_InputText/ClearIcon';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useToggle } from '../hooks/UNSAFE_useToggle';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\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 * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\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 * 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 * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\n /**\n * Specifies whether the reveal toggle should be shown.\n * <ul>\n * <li><code>'always'</code>: The reveal toggle is always visible and the user can click on it to reveal the password in plain text.\n * When the user leaves the field, the password is automatically masked.</li>\n * <li><code>'never'</code>: The reveal toggle is never visible and the user can never reveal the password in plain text.</li>\n * </ul>\n */\n hasRevealToggle?: 'always' | 'never';\n\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\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 * 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 * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field. If the labelEdge is 'none',\n * the labelHint is hidden from the user but is still accessible.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\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 * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by either blurring or pressing Enter.\n *\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\n// One way InputPassword differs from InputText is InputPassword's readonly\n// is implemented with an <input> and not a <div>.\nexport const InputPassword = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon,\n hasRevealToggle = 'always',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n placeholder,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\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 const {\n bool: isRevealed,\n setFalse: setRevealedFalse,\n setTrue: setRevealedTrue\n } = useToggle(false);\n const { enabledElementRef, focusProps, isFocused, readonlyElementRef } = useFocusableTextField<\n HTMLInputElement,\n HTMLInputElement\n >({ isDisabled, isReadonly, ref, onBlurWithin: setRevealedFalse });\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n isDisabled,\n isFocused,\n isReadonly,\n labelEdge,\n messages,\n styleVariant: variant,\n value\n });\n\n // Callback on the RevealToggleButton.\n // When the user clicks on the reveal buttton,\n // toggle revealing/masking password\n const onRevealIconPress = useCallback(() => {\n isRevealed ? setRevealedFalse() : setRevealedTrue();\n }, [isRevealed]);\n\n const revealToggleIcon =\n !isDisabled && hasRevealToggle === 'always' ? (\n <RevealToggleIcon onPress={onRevealIconPress} isRevealed={isRevealed} />\n ) : null;\n const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInput, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(revealToggleIcon, maybeClearIcon);\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 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 {...fieldLabelProps}>\n <ReadonlyTextFieldInput\n ariaDescribedBy={ariaDescribedBy}\n ariaLabel={ariaLabel}\n ariaLabelledBy={labelProps.id}\n as=\"input\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n type=\"password\"\n value={value}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n </ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <TextFieldInput\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n onInput={onInputAndDispatch}\n onCommit={onCommitAndDispatch}\n placeholder={placeholder}\n textAlign={textAlign}\n value={value}\n type={isRevealed ? 'text' : 'password'}\n {...inputProps}\n />\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["revealToggleIconStyles","RevealToggleIcon","isRevealed","onPress","passwordMaskedStr","useTranslationBundle","inputPassword_hidden","InputPassword","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","hasRevealToggle","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","messages","placeholder","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","bool","setFalse","setRevealedFalse","setTrue","setRevealedTrue","useToggle","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","onBlurWithin","hoverProps","isHover","useHover","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onRevealIconPress","revealToggleIcon","_jsx","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","labelComp","Label","Object","assign","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","FormFieldContext","Provider","children","ReadonlyTextField","role","ReadonlyTextFieldInput","ariaLabelledBy","id","as","elementRef","hasInsideLabel","mainContent","TextFieldInput","inputRef","TextField","endContent","onBlur","onfocusout","onFocus","onfocusin"],"mappings":"i9FAcA,MAeAA,aA2BA,SAAAC,IAAAC,WAAAA,EAAAC,QAAAA,sCASEC,EAPAC,uBAAA,4BAOAC,mMCsGW,MAAAC,GAAgBC,EAAAA,WAC3B,EAEIC,gBAAAA,EACAC,cAAAA,EACAC,aAAAA,EAAe,MACfC,UAAAA,GAAY,EACZC,aAAAA,EACAC,gBAAAA,EAAkB,SAClBC,eAAAA,EACAC,eAAAA,EACAC,WAAYC,EACZC,WAAYC,EACZC,WAAAA,GAAa,EACbC,gBAAAA,EACAC,MAAAA,EACAC,UAAWC,EACXC,gBAAiBC,EACjBC,SAAAA,EACAC,YAAAA,EACAC,UAAWC,EACXC,sBAAuBC,EACvBC,MAAAA,EACAC,QAAAA,EAAU,UACVC,QAAAA,EACAC,SAAAA,GAEFC,KAEA,MAAMC,mBAAEA,EAAkBC,SAAEA,GAAaC,EAAAA,uBAAuB,CAAEP,MAAAA,IAC5DQ,EAAqBC,cACxBC,IAECJ,EAAS,CAAEK,KAAM,QAASC,QAASF,EAAOV,QAC1CE,MAAAA,GAAAA,EAAUQ,IAEZ,CAACR,EAASI,IAENO,EAAsBJ,cACzBC,IAECJ,EAAS,CAAEK,KAAM,SAAUC,QAASF,EAAOV,QAC3CG,MAAAA,GAAAA,EAAWO,IAEb,CAACP,EAAUG,KAGXvB,WAAY+B,EACZ7B,WAAY8B,EACZzB,UAAW0B,EACXxB,gBAAiByB,EACjBrB,UAAWsB,EACXpB,sBAAuBqB,GACrBC,EAAAA,iBAEErC,EAAaC,MAAAA,EAAAA,EAAkB8B,EAC/B7B,EAAaC,MAAAA,EAAAA,EAAkB6B,EAC/BzB,EAAYC,MAAAA,EAAAA,EAAiByB,EAC7BxB,GAAkBC,MAAAA,EAAAA,EAAuBwB,EACzCrB,GAAYC,MAAAA,EAAAA,EAAiBqB,EAC7BpB,GAAwBC,MAAAA,EAAAA,EAA6BoB,GAEzDE,KAAMrD,GACNsD,SAAUC,GACVC,QAASC,IACPC,aAAU,IACRC,kBAAEA,GAAiBC,WAAEA,GAAUC,UAAEA,GAASC,mBAAEA,IAAuBC,EAAAA,sBAGvE,CAAEhD,WAAAA,EAAYE,WAAAA,EAAYmB,IAAAA,EAAK4B,aAAcT,MACzCU,WAAEA,GAAUC,QAAEA,IAAYC,EAAQA,SAAC,CAAEpD,WAAYE,GAAcF,IAAc,KAC7EqD,iBAAEA,GAAgBC,WAAEA,GAAUC,WAAEA,GAAUC,eAAEA,GAAcC,oBAAEA,IAChEC,eAAa,CACXlE,gBAAAA,EACAQ,WAAAA,EACA8C,UAAAA,GACA5C,WAAAA,EACAK,UAAAA,EACAI,SAAAA,EACAgD,aAAczC,EACdD,MAAAA,IAME2C,GAAoBlC,EAAAA,YAAY,KACpCzC,GAAauD,KAAqBE,MACjC,CAACzD,KAEE4E,GACH7D,GAAkC,WAApBH,EAEX,KADFiE,EAAAA,IAAC9E,GAAiB,CAAAE,QAAS0E,GAAmB3E,WAAYA,KAExD8E,GAAmBrC,EAAAA,YAAY,WAER,QAA3BsC,EAAApB,GAAkBqB,eAAS,IAAAD,GAAAA,EAAAE,QAE3BzC,MAAAA,GAAAA,EAAqB,CAAE0C,cAAelD,EAAOA,MAAO,MACnD,CAACE,EAASF,IAEPmD,GAAiBC,EAAAA,aAAa,CAClCC,UAAWR,EAAAA,IAACS,EAAAA,WAAUC,QAAST,KAC/BU,QAAS7E,EACT8E,SAAUrB,GAAiBqB,SAC3B5B,UAAAA,GACA6B,WAAYzE,IAAeF,EAC3BmD,QAAAA,KAEIyB,GAAqBC,EAAAA,YAAYhB,GAAkBO,IAEnDU,GAA0B,SAAdvE,EAAuBuD,EAAAA,IAACiB,EAAAA,MAAUC,OAAAC,OAAA,GAAA1B,aAAajD,UAAiB4E,EAE5EC,GAAkB,CACtB7E,MAAqB,SAAdC,EAAuBuE,QAAYI,EAC1C3E,UAAyB,SAAdA,EAAuBA,OAAY2E,EAC9CzE,gBAA+B,SAAdF,EAAuBE,QAAkByE,GAGtDE,GAA0B,SAAd7E,EAAuBD,OAAQ4E,EAE3CG,GACJrF,GAAcE,EAGc,cAA1Ba,QAAwCmE,EACtCpB,EAACwB,IAAAC,EAAoBA,oCACnBxE,sBAAuBA,IACnB0C,KAIRK,EAAAA,IAACyB,EAAAA,oCACC9F,cAAeA,EACfK,eAAgBA,EAChBC,eAAgBA,EAChBY,SAAUA,EACVN,gBAAiBA,EACjBU,sBAAuBA,IACnB0C,KAIV,GAAIvD,EACF,OACE4D,MAAC0B,EAAAA,iBAAiBC,wBAASxE,MAAOoC,IAAgB,CAAAqC,SAChD5B,MAAC6B,EAAiBA,kBAAAX,OAAAC,OAAA,CAChBW,KAAK,eACLP,qBAAsBA,IAClBF,GAAe,CAAAO,SACnB5B,EAAAA,IAAC+B,EAAsBA,wBACrBrG,gBAAiBA,EACjB4F,UAAWA,GACXU,eAAgBvC,GAAWwC,GAC3BC,GAAG,QACHrG,UAAWA,EACXsG,WAAYlD,GACZlC,UAAWA,GACXe,KAAK,WACLX,MAAOA,EACPiF,oBAA0BhB,IAAV5E,GAAqC,WAAdC,UAOjD,MAAM4F,GACJrC,EAAAwB,IAACc,iBACCpB,OAAAC,OAAA,CAAAG,UAAWA,GACX1F,aAAcA,EACdC,UAAWA,EACX2B,mBAAoBA,EACpB4E,oBAA8BhB,IAAdJ,IAAyC,WAAdvE,EAC3C8F,SAAUzD,GACVxC,WAAYA,EACZe,QAASM,EACTL,SAAUU,EACVlB,YAAaA,EACbC,UAAWA,GACXI,MAAOA,EACPW,KAAM3C,GAAa,OAAS,YACxBqE,KAIR,OACEQ,EAAAA,IAAC0B,EAAAA,iBAAiBC,SAAST,OAAAC,OAAA,CAAAhE,MAAOoC,IAAgB,CAAAqC,SAChD5B,EAAAA,IAACwC,EAAAA,UAAStB,OAAAC,OAAA,CACRsB,WAAY3B,GACZS,qBAAsBA,GACtBc,YAAaA,GACbK,OAAQ3D,GAAW4D,WACnBC,QAAS7D,GAAW8D,WAChBnD,GACA2B,GACAjC"}
@@ -1 +1 @@
1
- ._1pf9uld{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);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);width:2.75rem;height:2.75rem;line-height:2.75rem;}._1pf9uld: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;}
1
+ .xet4h{display:inline-flex;align-items:center;justify-content:center;cursor:var(--oj-c-PRIVATE-DO-NOT-USE-core-cursor-clickable);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);width:2.75rem;height:2.75rem;line-height:2.75rem;}.xet4h: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;}
@@ -1,2 +1,2 @@
1
- define(["exports","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useClearIcon","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useLengthFilter","./hooks/UNSAFE_useTextField","./UNSAFE_Label","./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_TextField","./UNSAFE_UserAssistance","./utils/PRIVATE_clientHints","./utils/UNSAFE_componentUtils","./ClearIcon-ee6994a4","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-55011079","./TextFieldInput-bc03d412","./clientHints-914fecb1","./hooks/UNSAFE_useToggle","./tslib.es6-fa3971d7","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-d77d235f","./utils/UNSAFE_lengthFilter","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-e580c7c7","css!./UNSAFE_InputText.css","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-bfc6c229","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9eeaf6ed","./utils/UNSAFE_mergeInterpolations","./_curry3-167fa665","./_curry2-466cc994","./_has-aa07e02d","./utils/UNSAFE_interpolations/boxalignment","./keys-992a0824","./utils/UNSAFE_interpolations/flexbox","./flexbox-37da5c1b","./utils/UNSAFE_interpolations/flexitem","./flexitem-f592cd81","./FormControlUtils-4236f687","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers","./InlineHelpSource-87132e33","./UNSAFE_ComponentMessage","./ComponentMessage-9e802f39","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-8366a158","./UNSAFE_Button","./Button-26513e96","./UNSAFE_BaseButton","./BaseButton-a31275cc","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-03ab344e","./index-4d399da7","./UNSAFE_Icon","./Icon-66acac47","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-863a4a52","./index-17cde748","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-215b2be2","./hooks/UNSAFE_useTheme","./MessageDetail-d500a9a3","./MessageFormattingUtils-bdfaac26","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-e3a47803","./Message.types-eb760bd7","./MessageStartIcon-20e17ea1","./MessageSummary-c91f9b00","./MessageTimestamp-de77475d","./MessageUtils-8216ac4e","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-615b69fb","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-4801c573","./ComponentMessageContainer-2bfa2078"],function(e,s,t,i,n,o,a,l,u,r,d,c,F,A,x,b,h,S,E,U,_,f,g,p,N,m,v,C,y,I,k,T,L,R,j,P,M,V,B,D,H,O,W,q,w,z,G,K,J,Q,X,Y,Z,$,ee,se,te,ie,ne,oe,ae,le,ue,re,de,ce,Fe,Ae,xe,be,he,Se,Ee,Ue,_e,fe,ge,pe,Ne,me,ve,Ce,ye,Ie,ke,Te,Le,Re,je,Pe,Me,Ve,Be,De,He,Oe,We,qe,we,ze,Ge,Ke,Je,Qe,Xe,Ye,Ze){"use strict";const $e=i.forwardRef(({ariaDescribedBy:e,assistiveText:i,autoComplete:h="off",autoFocus:g=!1,hasClearIcon:p="never",endContent:N,helpSourceLink:m,helpSourceText:v,isDisabled:C,isReadonly:y,isRequired:I=!1,isRequiredShown:k,label:T,labelEdge:L,labelStartWidth:R,maxLength:j,maxLengthUnit:P,messages:M,placeholder:V,prefix:B,role:D,startContent:H,suffix:O,textAlign:W,userAssistanceDensity:q,value:w,variant:z="default",virtualKeyboard:G,onInput:K,onCommit:J},Q)=>{const{currentCommitValue:X,dispatch:Y}=U.useCurrentValueReducer({value:w}),Z=n.useCallback(e=>{Y({type:"input",payload:e.value}),null==K||K(e)},[K,Y]),$=n.useCallback(e=>{Y({type:"commit",payload:e.value}),null==J||J(e)},[J,Y]),{isDisabled:ee,isReadonly:se,labelEdge:te,labelStartWidth:ie,textAlign:ne,userAssistanceDensity:oe}=l.useFormContext(),ae=null!=C?C:ee,le=null!=y?y:se,ue=null!=L?L:te,re=null!=R?R:ie,de=null!=W?W:ne,ce=null!=q?q:oe,{enabledElementRef:Fe,focusProps:Ae,isFocused:xe,readonlyElementRef:be}=a.useFocusableTextField({isDisabled:ae,isReadonly:le,ref:Q}),{hoverProps:he,isHover:Se}=r.useHover({isDisabled:le||ae||!1}),{baseId:Ee,formFieldContext:Ue,inputProps:_e,labelProps:fe,textFieldProps:ge,userAssistanceProps:pe}=c.useTextField({ariaDescribedBy:e,isDisabled:ae,isFocused:xe,isReadonly:le,labelEdge:ue,messages:M,styleVariant:z,value:w}),Ne=n.useCallback(()=>{var e;null===(e=Fe.current)||void 0===e||e.focus(),null==Z||Z({previousValue:w,value:""})},[Z,w]),me=o.useClearIcon({clearIcon:s.jsx(E.ClearIcon,{onClick:Ne}),display:p,hasValue:Ue.hasValue,isFocused:xe,isEnabled:!le&&!ae,isHover:Se}),ve=S.beforeVNode(N,me),{renderedPrefix:Ce,renderedSuffix:ye,text:Ie,ariaLabelledBy:ke}=A.usePrefixSuffix({baseId:Ee,hasEndContent:void 0!==N,hasInsideLabel:void 0!==T&&"inside"===ue,hasStartContent:void 0!==H,hasValue:Ue.hasValue,isDisabled:ae,isFocused:xe,labelId:fe.id,prefix:B,suffix:O,value:w}),{isMaxLengthExceeded:Te,valueLength:Le,onFilteredInput:Re}=d.useLengthFilter({maxLength:j,maxLengthUnit:P,value:w,onInput:Z,onCommit:$}),je="none"!==ue?s.jsx(F.Label,Object.assign({},fe,{children:T})):void 0,Pe={label:"none"!==ue?je:void 0,labelEdge:"none"!==ue?ue:void 0,labelStartWidth:"none"!==ue?re:void 0},Me="none"===ue?T:void 0,Ve=ae||le?"efficient"!==ce?void 0:s.jsx(b.InlineUserAssistance,Object.assign({userAssistanceDensity:ce},pe)):s.jsx(b.InlineUserAssistance,Object.assign({assistiveText:i,fieldLabel:T,helpSourceLink:m,helpSourceText:v,messages:M,isRequiredShown:k,userAssistanceDensity:ce},pe));if(le)return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ue},{children:s.jsx(x.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:Ve,onBlur:Ae.onfocusout,onFocus:Ae.onfocusin},Pe,{children:s.jsx(_.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:Me,ariaLabelledBy:fe.id,as:"div",autoFocus:g,elementRef:be,textAlign:de,value:Ie,hasInsideLabel:void 0!==T&&"inside"===ue})}))}));const Be=s.jsxs(t.Fragment,{children:[Ce,s.jsx(f.TextFieldInput,Object.assign({ariaLabelledBy:ke,ariaLabel:Me,autoComplete:h,autoFocus:g,currentCommitValue:X,hasEndContent:void 0!==N,hasInsideLabel:void 0!==je&&"inside"===ue,hasPrefix:void 0!==Ce,hasStartContent:void 0!==H,hasSuffix:void 0!==ye,inputRef:Fe,isRequired:I,placeholder:V,role:D,textAlign:de,type:es()?G:void 0,value:ae?Ie:w,onCommit:$,onInput:Re},_e)),ye,void 0!==j&&s.jsx(x.MaxLengthLiveRegion,Object.assign({},{isMaxLengthExceeded:Te,maxLength:j,valueLength:Le}))]});return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ue},{children:s.jsx(x.TextField,Object.assign({endContent:ve,inlineUserAssistance:Ve,mainContent:Be,onBlur:Ae.onfocusout,onFocus:Ae.onfocusin,startContent:H},ge,Pe,he))}))});function es(){const e=g.getClientHints().deviceType;return"phone"===e||"tablet"===e}e.InputText=$e,Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","preact/jsx-runtime","preact","preact/compat","preact/hooks","./hooks/UNSAFE_useClearIcon","./hooks/UNSAFE_useFocusableTextField","./hooks/UNSAFE_useFormContext","./hooks/UNSAFE_useFormFieldContext","./hooks/UNSAFE_useHover","./hooks/UNSAFE_useLengthFilter","./hooks/UNSAFE_useTextField","./UNSAFE_Label","./hooks/UNSAFE_usePrefixSuffix","./UNSAFE_TextField","./UNSAFE_UserAssistance","./utils/PRIVATE_clientHints","./utils/UNSAFE_componentUtils","./ClearIcon-8fc1ea23","./hooks/UNSAFE_useCurrentValueReducer","./ReadonlyTextFieldInput-a0801f52","./TextFieldInput-f9e605d9","./clientHints-4aaefa1c","./hooks/UNSAFE_useToggle","./tslib.es6-d9d2f5d6","./hooks/UNSAFE_useFocusWithin","./useFocusWithin-8f27a1c8","./utils/UNSAFE_lengthFilter","./hooks/UNSAFE_useId","./utils/UNSAFE_classNames","./classNames-2ba58777","css!./UNSAFE_InputText.css","./UNSAFE_PrefixSuffix","./hooks/UNSAFE_useUser","./UNSAFE_Environment","./UNSAFE_Layer","./UNSAFE_LabelValueLayout","./UNSAFE_Flex","./Flex-f922bd14","./utils/UNSAFE_interpolations/dimensions","./utils/UNSAFE_arrayUtils","./utils/UNSAFE_size","./_curry1-9cbf463f","./utils/UNSAFE_mergeInterpolations","./_curry3-2cf14b96","./_curry2-37583590","./_has-b679fc56","./utils/UNSAFE_interpolations/boxalignment","./keys-ac292f2b","./utils/UNSAFE_interpolations/flexbox","./flexbox-f0221a64","./utils/UNSAFE_interpolations/flexitem","./flexitem-4580af77","./FormControlUtils-4342d13b","./hooks/UNSAFE_useTranslationBundle","./hooks/UNSAFE_useDebounce","./UNSAFE_LiveRegion","./hooks/UNSAFE_useTabbableMode","./utils/UNSAFE_interpolations/text","./hooks/UNSAFE_useTextFieldInputHandlers","./InlineHelpSource-0da64d0a","./UNSAFE_ComponentMessage","./ComponentMessage-08ded24e","./PRIVATE_Message","./utils/PRIVATE_timer","./MessageCloseButton-fc804358","./UNSAFE_Button","./Button-dc28bc46","./UNSAFE_BaseButton","./BaseButton-f6b56c16","./hooks/UNSAFE_usePress","./hooks/UNSAFE_useActive","./utils/UNSAFE_mergeProps","./index-16862ac7","./index-cf988fc7","./UNSAFE_Icon","./Icon-4325e74f","./hooks/UNSAFE_useTooltip","./UNSAFE_Floating","./Floating-f23a546d","./index-b6f31c6c","./utils/PRIVATE_floatingUtils","./utils/PRIVATE_refUtils","./hooks/UNSAFE_useOutsideClick","./hooks/UNSAFE_useFocus","./hooks/UNSAFE_useTouch","./hooks/UNSAFE_useAnimation","./useAnimation-c8511df4","./hooks/UNSAFE_useTheme","./MessageDetail-c1e0cdc2","./MessageFormattingUtils-95f48c88","./utils/UNSAFE_getLocale","./utils/UNSAFE_stringUtils","./stringUtils-1ad4f59d","./Message.types-97d3e7a4","./MessageStartIcon-665f54bc","./MessageSummary-4bfdff83","./MessageTimestamp-7b2ca246","./MessageUtils-e1daf68f","./utils/UNSAFE_logger","./utils/UNSAFE_soundUtils","./MessagesManager-815876b7","./PRIVATE_TransitionGroup","./hooks/UNSAFE_useMessagesContext","./UNSAFE_HiddenAccessible","./HiddenAccessible-3afe5d7e","./ComponentMessageContainer-d309a605"],function(e,s,t,i,n,o,a,l,u,r,d,c,F,f,A,x,b,h,S,E,U,_,g,p,N,m,v,C,y,I,k,T,L,R,j,P,M,V,B,D,H,O,W,q,w,z,G,K,J,Q,X,Y,Z,$,ee,se,te,ie,ne,oe,ae,le,ue,re,de,ce,Fe,fe,Ae,xe,be,he,Se,Ee,Ue,_e,ge,pe,Ne,me,ve,Ce,ye,Ie,ke,Te,Le,Re,je,Pe,Me,Ve,Be,De,He,Oe,We,qe,we,ze,Ge,Ke,Je,Qe,Xe,Ye,Ze){"use strict";const $e=i.forwardRef(({ariaDescribedBy:e,assistiveText:i,autoComplete:b="off",autoFocus:g=!1,hasClearIcon:p="never",endContent:N,helpSourceLink:m,helpSourceText:v,isDisabled:C,isReadonly:y,isRequired:I=!1,isRequiredShown:k,label:T,labelEdge:L,labelStartWidth:R,maxLength:j,maxLengthUnit:P,messages:M,placeholder:V,prefix:B,role:D,startContent:H,suffix:O,textAlign:W,userAssistanceDensity:q,value:w,variant:z="default",virtualKeyboard:G,onInput:K,onCommit:J},Q)=>{const{currentCommitValue:X,dispatch:Y}=E.useCurrentValueReducer({value:w}),Z=n.useCallback(e=>{Y({type:"input",payload:e.value}),null==K||K(e)},[K,Y]),$=n.useCallback(e=>{Y({type:"commit",payload:e.value}),null==J||J(e)},[J,Y]),{isDisabled:ee,isReadonly:se,labelEdge:te,labelStartWidth:ie,textAlign:ne,userAssistanceDensity:oe}=l.useFormContext(),ae=null!=C?C:ee,le=null!=y?y:se,ue=null!=L?L:te,re=null!=R?R:ie,de=null!=W?W:ne,ce=null!=q?q:oe,{enabledElementRef:Fe,focusProps:fe,isFocused:Ae,readonlyElementRef:xe}=a.useFocusableTextField({isDisabled:ae,isReadonly:le,ref:Q}),{hoverProps:be,isHover:he}=r.useHover({isDisabled:le||ae||!1}),{baseId:Se,formFieldContext:Ee,inputProps:Ue,labelProps:_e,textFieldProps:ge,userAssistanceProps:pe}=c.useTextField({ariaDescribedBy:e,isDisabled:ae,isFocused:Ae,isReadonly:le,labelEdge:ue,messages:M,styleVariant:z,value:w}),Ne=n.useCallback(()=>{var e;null===(e=Fe.current)||void 0===e||e.focus(),null==Z||Z({previousValue:w,value:""})},[Z,w]),me=o.useClearIcon({clearIcon:s.jsx(S.ClearIcon,{onClick:Ne}),display:p,hasValue:Ee.hasValue,isFocused:Ae,isEnabled:!le&&!ae,isHover:he}),ve=h.beforeVNode(N,me),{renderedPrefix:Ce,renderedSuffix:ye,text:Ie,ariaLabelledBy:ke}=f.usePrefixSuffix({baseId:Se,hasEndContent:void 0!==N,hasInsideLabel:void 0!==T&&"inside"===ue,hasStartContent:void 0!==H,hasValue:Ee.hasValue,isDisabled:ae,isFocused:Ae,labelId:_e.id,prefix:B,suffix:O,value:w}),{isMaxLengthExceeded:Te,valueLength:Le,onFilteredInput:Re}=d.useLengthFilter({maxLength:j,maxLengthUnit:P,value:w,onInput:Z,onCommit:$}),je="none"!==ue?s.jsx(F.Label,Object.assign({},_e,{children:T})):void 0,Pe={label:"none"!==ue?je:void 0,labelEdge:"none"!==ue?ue:void 0,labelStartWidth:"none"!==ue?re:void 0},Me="none"===ue?T:void 0,Ve=ae||le?"efficient"!==ce?void 0:s.jsx(x.InlineUserAssistance,Object.assign({userAssistanceDensity:ce},pe)):s.jsx(x.InlineUserAssistance,Object.assign({assistiveText:i,fieldLabel:T,helpSourceLink:m,helpSourceText:v,messages:M,isRequiredShown:k,userAssistanceDensity:ce},pe));if(le)return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ee},{children:s.jsx(A.ReadonlyTextField,Object.assign({role:"presentation",inlineUserAssistance:Ve,onBlur:fe.onfocusout,onFocus:fe.onfocusin},Pe,{children:s.jsx(U.ReadonlyTextFieldInput,{ariaDescribedBy:e,ariaLabel:Me,ariaLabelledBy:_e.id,as:"div",autoFocus:g,elementRef:xe,textAlign:de,value:Ie,hasInsideLabel:void 0!==T&&"inside"===ue})}))}));const Be=s.jsxs(t.Fragment,{children:[Ce,s.jsx(_.TextFieldInput,Object.assign({ariaLabelledBy:ke,ariaLabel:Me,autoComplete:b,autoFocus:g,currentCommitValue:X,hasEndContent:void 0!==N,hasInsideLabel:void 0!==je&&"inside"===ue,hasPrefix:void 0!==Ce,hasStartContent:void 0!==H,hasSuffix:void 0!==ye,inputRef:Fe,isRequired:I,placeholder:V,role:D,textAlign:de,type:es()?G:void 0,value:ae?Ie:w,onCommit:$,onInput:Re},Ue)),ye,void 0!==j&&s.jsx(A.MaxLengthLiveRegion,Object.assign({},{isMaxLengthExceeded:Te,maxLength:j,valueLength:Le}))]});return s.jsx(u.FormFieldContext.Provider,Object.assign({value:Ee},{children:s.jsx(A.TextField,Object.assign({endContent:ve,inlineUserAssistance:Ve,mainContent:Be,onBlur:fe.onfocusout,onFocus:fe.onfocusin,startContent:H},ge,Pe,be))}))});function es(){const e=g.getClientHints().deviceType;return"phone"===e||"tablet"===e}e.InputText=$e,Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_InputText.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UNSAFE_InputText.js","sources":["../../src/UNSAFE_InputText/InputText.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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\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 { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\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 { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from './ClearIcon';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\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 * 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 * The content to be rendered after the input field, typically a button.\n */\n endContent?: TextFieldProps['endContent'];\n\n /**\n * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\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 * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n\n /**\n * Specifies how the input text characters are to be counted when `maxLength` is specified.\n */\n maxLengthUnit?: CountUnit;\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.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * Specifies the role attribute for the input field.\n */\n role?: TextFieldInputProps['role'];\n\n /**\n * The content to be rendered before the input field, typically an icon.\n */\n startContent?: TextFieldProps['startContent'];\n\n /**\n * The suffix displays as regular text after the input text.\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 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' | 'email' | 'number' | 'search' | 'tel' | 'text' | 'url';\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 InputText = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon = 'never',\n endContent,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthUnit,\n messages,\n placeholder,\n prefix,\n role,\n startContent,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\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, isHover } = 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 const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInputAndDispatch, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(endContent, maybeClearIcon);\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: endContent !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: startContent !== undefined,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\n value\n });\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\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 // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\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 const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={endContent !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={startContent !== undefined}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={role}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n {...inputProps}\n />\n {renderedSuffix}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n startContent={startContent}\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":["InputText","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","endContent","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthUnit","messages","placeholder","prefix","role","startContent","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","virtualKeyboard","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","isHover","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","_jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","undefined","hasInsideLabel","hasStartContent","labelId","id","isMaxLengthExceeded","valueLength","onFilteredInput","useLengthFilter","labelComp","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","children","ReadonlyTextField","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","mainContent","_jsxs","jsxs","Fragment","TextFieldInput","hasPrefix","hasSuffix","inputRef","isMobile","MaxLengthLiveRegion","TextField","deviceType","getClientHints"],"mappings":"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"}
1
+ {"version":3,"file":"UNSAFE_InputText.js","sources":["../../src/UNSAFE_InputText/InputText.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 { ComponentProps, Fragment, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\nimport { useClearIcon } from '../hooks/UNSAFE_useClearIcon';\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 { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\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 { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from './ClearIcon';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\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 * 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 * The content to be rendered after the input field, typically a button.\n */\n endContent?: TextFieldProps['endContent'];\n\n /**\n * Specifies whether the clear icon should be shown.\n * <ul>\n * <li><code>'always'</code>: The clear icon is always visible.</li>\n * <li><code>'conditionally'</code>: The clear icon is visible under the following conditions:\n * if the component has a non-empty value, and it either has focus or the mouse is over the field.</li>\n * <li><code>'never'</code>: The clear icon is never visible.</li>\n * </ul>\n */\n hasClearIcon?: 'always' | 'conditionally' | 'never';\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 * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n\n /**\n * Specifies how the input text characters are to be counted when `maxLength` is specified.\n */\n maxLengthUnit?: CountUnit;\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.\n * The prefix is not editable or focusable.\n */\n prefix?: string;\n\n /**\n * Specifies the role attribute for the input field.\n */\n role?: TextFieldInputProps['role'];\n\n /**\n * The content to be rendered before the input field, typically an icon.\n */\n startContent?: TextFieldProps['startContent'];\n\n /**\n * The suffix displays as regular text after the input text.\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 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' | 'email' | 'number' | 'search' | 'tel' | 'text' | 'url';\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 InputText = forwardRef(\n (\n {\n ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n hasClearIcon = 'never',\n endContent,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthUnit,\n messages,\n placeholder,\n prefix,\n role,\n startContent,\n suffix,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n virtualKeyboard,\n onInput,\n onCommit\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\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, isHover } = 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 const onClickClearIcon = useCallback(() => {\n // Clicking the clear icon should put the focus on the input field\n enabledElementRef.current?.focus();\n // Send an event to clear the field's value\n onInputAndDispatch?.({ previousValue: value, value: '' });\n }, [onInputAndDispatch, value]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} />,\n display: hasClearIcon,\n hasValue: formFieldContext.hasValue,\n isFocused,\n isEnabled: !isReadonly && !isDisabled,\n isHover\n });\n const endContentCombined = beforeVNode(endContent, maybeClearIcon);\n\n const {\n renderedPrefix,\n renderedSuffix,\n text: valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: endContent !== undefined,\n hasInsideLabel: label !== undefined && labelEdge === 'inside',\n hasStartContent: startContent !== undefined,\n hasValue: formFieldContext.hasValue,\n isDisabled,\n isFocused,\n labelId: labelProps.id,\n prefix,\n suffix,\n value\n });\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\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 // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\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 const mainContent = (\n <Fragment>\n {renderedPrefix}\n <TextFieldInput\n ariaLabelledBy={ariaLabelledBy}\n ariaLabel={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={endContent !== undefined}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n hasPrefix={renderedPrefix !== undefined}\n hasStartContent={startContent !== undefined}\n hasSuffix={renderedSuffix !== undefined}\n inputRef={enabledElementRef}\n isRequired={isRequired}\n placeholder={placeholder}\n role={role}\n textAlign={textAlign}\n type={isMobile() ? virtualKeyboard : undefined}\n value={isDisabled ? valuePrefixSuffix : value}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n {...inputProps}\n />\n {renderedSuffix}\n {maxLength !== undefined && (\n <MaxLengthLiveRegion {...{ isMaxLengthExceeded, maxLength, valueLength }} />\n )}\n </Fragment>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onfocusout}\n onFocus={focusProps.onfocusin}\n startContent={startContent}\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":["InputText","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","hasClearIcon","endContent","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthUnit","messages","placeholder","prefix","role","startContent","suffix","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","virtualKeyboard","onInput","onCommit","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","focusProps","isFocused","readonlyElementRef","useFocusableTextField","hoverProps","isHover","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onClickClearIcon","_a","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","_jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","renderedPrefix","renderedSuffix","text","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","undefined","hasInsideLabel","hasStartContent","labelId","id","isMaxLengthExceeded","valueLength","onFilteredInput","useLengthFilter","labelComp","Label","Object","assign","fieldLabelProps","ariaLabel","inlineUserAssistance","jsx","InlineUserAssistance","fieldLabel","FormFieldContext","Provider","children","ReadonlyTextField","onBlur","onfocusout","onFocus","onfocusin","ReadonlyTextFieldInput","as","elementRef","mainContent","_jsxs","jsxs","Fragment","TextFieldInput","hasPrefix","hasSuffix","inputRef","isMobile","MaxLengthLiveRegion","TextField","deviceType","getClientHints"],"mappings":"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"}
@@ -1,13 +1,13 @@
1
- .vfvuqg{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-line-height);word-break:break-word;}
2
- ._1sy1200{color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color);text-align:var(--oj-c-PRIVATE-DO-NOT-USE-form-layout-start-edge-label-text-align);width:100%;}
3
- .zgd0p4{color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color);}
4
- .vlc7c7{display:block;box-sizing:border-box;padding-inline-end:calc(2 * var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding));color:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-color);max-width:100%;}
5
- ._9wl3eq{inset-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);top:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-position-top);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);transition-property:none;transform:none;background-color:transparent;position:absolute;margin-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-form-layout-top-edge-label-to-value-padding);white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
6
- .t4wx64{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);}
7
- ._9qbhwv{position:absolute;inset-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)/ 2);transform:translateY(-50%);transition-property:all;transition-duration:.25s;transition-timing-function:ease;transition-delay:.1s;white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
8
- ._15qbxlw{transition-property:top,font-weight,font-size,transform;transition-duration:.25s;transition-timing-function:ease;transition-delay:.1s;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);transform:none;top:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-position-top);}
9
- .b8w04y{transition-property:none;color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color-disabled);}
10
- ._2aa2jw{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-label-color-focus);}
11
- ._1r8oj6k{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3);}
12
- ._9bpxth{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3);}
13
- ._14mwsue{white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
1
+ .cx2le4{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-line-height);word-break:break-word;}
2
+ ._8g0i7h{color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color);text-align:var(--oj-c-PRIVATE-DO-NOT-USE-form-layout-start-edge-label-text-align);width:100%;}
3
+ ._1qea10i{color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color);}
4
+ .bkjbn7{display:block;box-sizing:border-box;padding-inline-end:calc(2 * var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding));color:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-color);max-width:100%;}
5
+ ._1y562h{inset-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);top:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-position-top);font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);transition-property:none;transform:none;background-color:transparent;position:absolute;margin-bottom:var(--oj-c-PRIVATE-DO-NOT-USE-form-layout-top-edge-label-to-value-padding);white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
6
+ .x3m8dg{font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);}
7
+ .s6omgl{position:absolute;inset-inline-start:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-text-to-edge-padding);top:calc(var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-height)/ 2);transform:translateY(-50%);transition-property:all;transition-duration:.25s;transition-timing-function:ease;transition-delay:.1s;white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
8
+ ._194slpv{transition-property:top,font-weight,font-size,transform;transition-duration:.25s;transition-timing-function:ease;transition-delay:.1s;font-size:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-size);font-weight:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-font-weight);line-height:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-line-height);transform:none;top:var(--oj-c-PRIVATE-DO-NOT-USE-label-inside-edge-position-top);}
9
+ ._98bf7y{transition-property:none;color:var(--oj-c-PRIVATE-DO-NOT-USE-label-color-disabled);}
10
+ ._1ee91c{color:var(--oj-c-PRIVATE-DO-NOT-USE-text-field-inside-edge-label-color-focus);}
11
+ .nxgyma{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-danger-3);}
12
+ ._1einnx3{color:var(--oj-c-PRIVATE-DO-NOT-USE-core-warning-3);}
13
+ ._1t39xdx{white-space:nowrap;overflow-x:hidden;overflow-y:hidden;text-overflow:ellipsis;}
@@ -1,2 +1,2 @@
1
- define(["exports","./tslib.es6-fa3971d7","preact/jsx-runtime","./hooks/UNSAFE_useFormFieldContext","./utils/UNSAFE_classNames","css!./UNSAFE_Label.css","./hooks/UNSAFE_useFormContext","./classNames-e580c7c7","preact","preact/hooks"],function(e,s,a,i,n,o,d,r,l,t){"use strict";const c={base:"vfvuqg",startBase:"_1sy1200",topBase:"zgd0p4",insideBase:"vlc7c7",insideReadonlyInEnabledForm:"_9wl3eq",insideReadonlyNotInEnabledForm:"t4wx64",insideNonReadonly:"_9qbhwv",insideNonReadonlyHasValue:"_15qbxlw",insideDisabled:"b8w04y",insideFocused:"_2aa2jw",insideError:"_1r8oj6k",insideWarning:"_9bpxth",noWrap:"_14mwsue"},u=e=>{var{hasValue:i,readonly:n,disabled:o,isFocused:l,variant:t="inside"}=e,u=s.__rest(e,["hasValue","readonly","disabled","isFocused","variant"]);const{isFormLayout:b,isReadonly:F,labelWrapping:y}=d.useFormContext(),_="inside"===t||"insideError"===t||"insideWarning"===t?r.classNames([c.base,c.insideBase,n&&(b&&!F?c.insideReadonlyInEnabledForm:c.insideReadonlyNotInEnabledForm),!n&&c.insideNonReadonly,!n&&(i||l)&&c.insideNonReadonlyHasValue,!n&&l&&c.insideFocused,o&&c.insideDisabled,!o&&!n&&("insideError"===t||"insideWarning"===t)&&c[t]]):"start"===t?r.classNames([c.base,c.startBase,"truncate"===y&&c.noWrap]):"top"===t?r.classNames([c.base,c.topBase,"truncate"===y&&c.noWrap]):void 0;return a.jsx("label",Object.assign({},u,{class:_}))};e.Label=e=>{var{forId:n}=e,o=s.__rest(e,["forId"]);const{hasValue:d,isDisabled:r,isFocused:l,isReadonly:t}=i.useFormFieldContext();return a.jsx(u,Object.assign({for:n,hasValue:d,disabled:r,isFocused:l,readonly:t},o))},Object.defineProperty(e,"__esModule",{value:!0})});
1
+ define(["exports","./tslib.es6-d9d2f5d6","preact/jsx-runtime","./hooks/UNSAFE_useFormFieldContext","./utils/UNSAFE_classNames","css!./UNSAFE_Label.css","./hooks/UNSAFE_useFormContext","./classNames-2ba58777","preact","preact/hooks"],function(e,s,a,n,i,d,o,r,l,t){"use strict";const c={base:"cx2le4",startBase:"_8g0i7h",topBase:"_1qea10i",insideBase:"bkjbn7",insideReadonlyInEnabledForm:"_1y562h",insideReadonlyNotInEnabledForm:"x3m8dg",insideNonReadonly:"s6omgl",insideNonReadonlyHasValue:"_194slpv",insideDisabled:"_98bf7y",insideFocused:"_1ee91c",insideError:"nxgyma",insideWarning:"_1einnx3",noWrap:"_1t39xdx"},u=e=>{var{hasValue:n,readonly:i,disabled:d,isFocused:l,variant:t="inside"}=e,u=s.__rest(e,["hasValue","readonly","disabled","isFocused","variant"]);const{isFormLayout:b,isReadonly:F,labelWrapping:m}=o.useFormContext(),y="inside"===t||"insideError"===t||"insideWarning"===t?r.classNames([c.base,c.insideBase,i&&(b&&!F?c.insideReadonlyInEnabledForm:c.insideReadonlyNotInEnabledForm),!i&&c.insideNonReadonly,!i&&(n||l)&&c.insideNonReadonlyHasValue,!i&&l&&c.insideFocused,d&&c.insideDisabled,!d&&!i&&("insideError"===t||"insideWarning"===t)&&c[t]]):"start"===t?r.classNames([c.base,c.startBase,"truncate"===m&&c.noWrap]):"top"===t?r.classNames([c.base,c.topBase,"truncate"===m&&c.noWrap]):void 0;return a.jsx("label",Object.assign({},u,{class:y}))};e.Label=e=>{var{forId:i}=e,d=s.__rest(e,["forId"]);const{hasValue:o,isDisabled:r,isFocused:l,isReadonly:t}=n.useFormFieldContext();return a.jsx(u,Object.assign({for:i,hasValue:o,disabled:r,isFocused:l,readonly:t},d))},Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=UNSAFE_Label.js.map