@oracle/oraclejet-preact 18.1.5 → 18.1.6

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 (1758) hide show
  1. package/amd/BarChart-0ad4ca6d.js +2 -0
  2. package/amd/BarChart-0ad4ca6d.js.map +1 -0
  3. package/amd/BaseButton-c86afd54.js +2 -0
  4. package/amd/BaseButton-c86afd54.js.map +1 -0
  5. package/amd/BaseCardView-a1c5a21d.js +2 -0
  6. package/amd/BaseCardView-a1c5a21d.js.map +1 -0
  7. package/amd/BaseCardViewSelectionTest-36a03079.js +2 -0
  8. package/amd/BaseCardViewSelectionTest-36a03079.js.map +1 -0
  9. package/amd/BaseRichSelection-33a97275.js +2 -0
  10. package/amd/BaseRichSelection-33a97275.js.map +1 -0
  11. package/amd/Button-cb88d20f.js +2 -0
  12. package/amd/Button-cb88d20f.js.map +1 -0
  13. package/amd/ButtonSetButton-819e99a8.js +2 -0
  14. package/amd/ButtonSetButton-819e99a8.js.map +1 -0
  15. package/amd/ButtonSetIconButton-9f171b1e.js +2 -0
  16. package/amd/ButtonSetIconButton-9f171b1e.js.map +1 -0
  17. package/amd/ButtonSetItem-8a51cd2a.js +2 -0
  18. package/amd/ButtonSetItem-8a51cd2a.js.map +1 -0
  19. package/amd/CardFlexView-f7fdfac8.js +2 -0
  20. package/amd/CardFlexView-f7fdfac8.js.map +1 -0
  21. package/amd/CardGridView-b8a60fae.js +2 -0
  22. package/amd/CardGridView-b8a60fae.js.map +1 -0
  23. package/amd/Chart-79cfc878.js +2 -0
  24. package/amd/Chart-79cfc878.js.map +1 -0
  25. package/amd/Checkbox-49753599.js +2 -0
  26. package/amd/Checkbox-49753599.js.map +1 -0
  27. package/amd/CheckboxControl-c6a380b3.js +2 -0
  28. package/amd/CheckboxControl-c6a380b3.js.map +1 -0
  29. package/amd/CheckboxRadioField-1987c75d.js +2 -0
  30. package/amd/CheckboxRadioField-1987c75d.js.map +1 -0
  31. package/amd/CheckboxSet-05423d28.js +2 -0
  32. package/amd/CheckboxSet-05423d28.js.map +1 -0
  33. package/amd/CheckboxStyles.styles.css +6 -0
  34. package/amd/ClearIcon-d73689cc.js +2 -0
  35. package/amd/ClearIcon-d73689cc.js.map +1 -0
  36. package/amd/ComboChart-72eda15f.js +2 -0
  37. package/amd/ComboChart-72eda15f.js.map +1 -0
  38. package/amd/CompactUserAssistance-3799998f.js +2 -0
  39. package/amd/CompactUserAssistance-3799998f.js.map +1 -0
  40. package/amd/ComponentMessageContainer-cf186eeb.js +2 -0
  41. package/amd/ComponentMessageContainer-cf186eeb.js.map +1 -0
  42. package/amd/ConveyorBeltItem-e3002f4a.js +2 -0
  43. package/amd/ConveyorBeltItem-e3002f4a.js.map +1 -0
  44. package/amd/DatePicker-9115226e.js +2 -0
  45. package/amd/DatePicker-9115226e.js.map +1 -0
  46. package/amd/DatePickerHeader-a0da70a0.js +2 -0
  47. package/amd/DatePickerHeader-a0da70a0.js.map +1 -0
  48. package/amd/Diagram-14fa4924.js +2 -0
  49. package/amd/Diagram-14fa4924.js.map +1 -0
  50. package/amd/Dialog-896c0bfd.js +2 -0
  51. package/amd/Dialog-896c0bfd.js.map +1 -0
  52. package/amd/EmbeddedIconButton-3608bfb4.js +2 -0
  53. package/amd/EmbeddedIconButton-3608bfb4.js.map +1 -0
  54. package/amd/ExpandableList-daabc548.js +2 -0
  55. package/amd/ExpandableList-daabc548.js.map +1 -0
  56. package/amd/Gantt-7265d4ce.js +2 -0
  57. package/amd/Gantt-7265d4ce.js.map +1 -0
  58. package/amd/GroupLoadingIndicator-9fd33355.js +1 -1
  59. package/amd/IconButton-368fba34.js +2 -0
  60. package/amd/IconButton-368fba34.js.map +1 -0
  61. package/amd/IconMenuButton-3f3c2386.js +2 -0
  62. package/amd/IconMenuButton-3f3c2386.js.map +1 -0
  63. package/amd/IconProgressButton-11c44c28.js +2 -0
  64. package/amd/IconProgressButton-11c44c28.js.map +1 -0
  65. package/amd/IconSwitchButton-1a400cdf.js +2 -0
  66. package/amd/IconSwitchButton-1a400cdf.js.map +1 -0
  67. package/amd/IconToggleButton-ea46b246.js +2 -0
  68. package/amd/IconToggleButton-ea46b246.js.map +1 -0
  69. package/amd/Indexer-5df524f2.js +2 -0
  70. package/amd/Indexer-5df524f2.js.map +1 -0
  71. package/amd/InlineUserAssistance-a97e0011.js +2 -0
  72. package/amd/InlineUserAssistance-a97e0011.js.map +1 -0
  73. package/amd/InputDateMask-09989b51.js +2 -0
  74. package/amd/InputDateMask-09989b51.js.map +1 -0
  75. package/amd/InputDatePicker-03bdeb95.js +2 -0
  76. package/amd/InputDatePicker-03bdeb95.js.map +1 -0
  77. package/amd/InputPassword-57a5e072.js +2 -0
  78. package/amd/InputPassword-57a5e072.js.map +1 -0
  79. package/amd/InputText-a72eb1c3.js +2 -0
  80. package/amd/InputText-a72eb1c3.js.map +1 -0
  81. package/amd/Label-41b672b4.js +2 -0
  82. package/amd/Label-41b672b4.js.map +1 -0
  83. package/amd/LineAreaChart-3aff0c1a.js +2 -0
  84. package/amd/LineAreaChart-3aff0c1a.js.map +1 -0
  85. package/amd/Link-1f126248.js +2 -0
  86. package/amd/Link-1f126248.js.map +1 -0
  87. package/amd/LinkVariants.styles.css +2 -1
  88. package/amd/LinkVariants.styles2.css +2 -1
  89. package/amd/List-0da6ee9c.js +2 -0
  90. package/amd/List-0da6ee9c.js.map +1 -0
  91. package/amd/ListView-cdfac903.js +2 -0
  92. package/amd/ListView-cdfac903.js.map +1 -0
  93. package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
  94. package/amd/LoadMoreCollection-a6adbc3f.js.map +1 -0
  95. package/amd/MenuButton-66e5430a.js +2 -0
  96. package/amd/MenuButton-66e5430a.js.map +1 -0
  97. package/amd/Message-d66cc7e9.js +2 -0
  98. package/amd/Message-d66cc7e9.js.map +1 -0
  99. package/amd/MessageToast-19703f73.js +2 -0
  100. package/amd/MessageToast-19703f73.js.map +1 -0
  101. package/amd/MonthView-67179db3.js +2 -0
  102. package/amd/MonthView-67179db3.js.map +1 -0
  103. package/amd/NumberInputText-e2cf1795.js +2 -0
  104. package/amd/NumberInputText-e2cf1795.js.map +1 -0
  105. package/amd/OverflowTabBar-1dd5c327.js +2 -0
  106. package/amd/OverflowTabBar-1dd5c327.js.map +1 -0
  107. package/amd/OverflowTabBarItem-f8128e3d.js +2 -0
  108. package/amd/OverflowTabBarItem-f8128e3d.js.map +1 -0
  109. package/amd/PRIVATE_BaseCardView.js +1 -1
  110. package/amd/PRIVATE_Chart.js +1 -1
  111. package/amd/PRIVATE_CheckboxControl.js +1 -1
  112. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  113. package/amd/PRIVATE_ClearIcon.js +1 -1
  114. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  115. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  116. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  117. package/amd/PRIVATE_List.js +1 -1
  118. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  119. package/amd/PRIVATE_Message.js +1 -1
  120. package/amd/PRIVATE_MonthView.js +1 -1
  121. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  122. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  123. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  124. package/amd/PRIVATE_SelectCommon.js +1 -1
  125. package/amd/PRIVATE_Table.js +1 -1
  126. package/amd/PRIVATE_TimeComponent.js +1 -1
  127. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  128. package/amd/PictoChart-98b892fb.js +2 -0
  129. package/amd/PictoChart-98b892fb.js.map +1 -0
  130. package/amd/ProgressButton-cd0c21df.js +2 -0
  131. package/amd/ProgressButton-cd0c21df.js.map +1 -0
  132. package/amd/RadioItem-1a02d3dc.js +2 -0
  133. package/amd/RadioItem-1a02d3dc.js.map +1 -0
  134. package/amd/RadioSet-94d12876.js +2 -0
  135. package/amd/RadioSet-94d12876.js.map +1 -0
  136. package/amd/RemovableNavigationListItem-1f69907c.js +2 -0
  137. package/amd/RemovableNavigationListItem-1f69907c.js.map +1 -0
  138. package/amd/RemovableTabBarItem-5c240801.js +2 -0
  139. package/amd/RemovableTabBarItem-5c240801.js.map +1 -0
  140. package/amd/RevealToggleIcon-c22626da.js +2 -0
  141. package/amd/RevealToggleIcon-c22626da.js.map +1 -0
  142. package/amd/ScatterChart-e6f8d49a.js +2 -0
  143. package/amd/ScatterChart-e6f8d49a.js.map +1 -0
  144. package/amd/SelectMultiple-a159ccbf.js +2 -0
  145. package/amd/SelectMultiple-a159ccbf.js.map +1 -0
  146. package/amd/SelectSingle-e3d0d8d2.js +2 -0
  147. package/amd/SelectSingle-e3d0d8d2.js.map +1 -0
  148. package/amd/SplitMenuButton-a2001b04.js +2 -0
  149. package/amd/SplitMenuButton-a2001b04.js.map +1 -0
  150. package/amd/Table-f5ebf3d4.js +2 -0
  151. package/amd/Table-f5ebf3d4.js.map +1 -0
  152. package/amd/TableView-e8cab364.js +2 -0
  153. package/amd/TableView-e8cab364.js.map +1 -0
  154. package/amd/TagCloud-39552a78.js +2 -0
  155. package/amd/TagCloud-39552a78.js.map +1 -0
  156. package/amd/TextArea-0ec1a311.js +2 -0
  157. package/amd/TextArea-0ec1a311.js.map +1 -0
  158. package/amd/TextAreaAutosize-8cac0a54.js +2 -0
  159. package/amd/TextAreaAutosize-8cac0a54.js.map +1 -0
  160. package/amd/Theme-redwood/theme.css +209 -209
  161. package/amd/Theme-stable/theme.css +415 -415
  162. package/amd/TimeComponentCanvas2D-82ebf0c7.js +2 -0
  163. package/amd/TimeComponentCanvas2D-82ebf0c7.js.map +1 -0
  164. package/amd/ToggleButton-f8845804.js +2 -0
  165. package/amd/ToggleButton-f8845804.js.map +1 -0
  166. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  167. package/amd/UNSAFE_BarChart.js +1 -1
  168. package/amd/UNSAFE_BaseButton.js +1 -1
  169. package/amd/UNSAFE_Button.js +1 -1
  170. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  171. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  172. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  173. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  174. package/amd/UNSAFE_CardFlexView.js +1 -1
  175. package/amd/UNSAFE_CardGridView.js +1 -1
  176. package/amd/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -1
  177. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -1
  178. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  179. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -1
  180. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -1
  181. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  182. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -1
  183. package/amd/UNSAFE_Checkbox.js +1 -1
  184. package/amd/UNSAFE_CheckboxItem.js +1 -1
  185. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  186. package/amd/UNSAFE_CheckboxSet.js +1 -1
  187. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  188. package/amd/UNSAFE_ComboChart.js +1 -1
  189. package/amd/UNSAFE_ComponentMessage.js +1 -1
  190. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  191. package/amd/UNSAFE_DatePicker.js +1 -1
  192. package/amd/UNSAFE_Diagram.js +1 -1
  193. package/amd/UNSAFE_Dialog.js +1 -1
  194. package/amd/UNSAFE_ExpandableList.js +1 -1
  195. package/amd/UNSAFE_Gantt.js +1 -1
  196. package/amd/UNSAFE_IconButton.js +1 -1
  197. package/amd/UNSAFE_IconMenuButton.js +1 -1
  198. package/amd/UNSAFE_IconProgressButton.js +1 -1
  199. package/amd/UNSAFE_IconToggleButton.js +1 -1
  200. package/amd/UNSAFE_Indexer.js +1 -1
  201. package/amd/UNSAFE_InputDateMask.js +1 -1
  202. package/amd/UNSAFE_InputDatePicker.js +1 -1
  203. package/amd/UNSAFE_InputPassword.js +1 -1
  204. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  205. package/amd/UNSAFE_InputText.js +1 -1
  206. package/amd/UNSAFE_InputTimeMask.js +1 -1
  207. package/amd/UNSAFE_Label.js +1 -1
  208. package/amd/UNSAFE_LabelledLink.js +1 -1
  209. package/amd/UNSAFE_LineAreaChart.js +1 -1
  210. package/amd/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  211. package/amd/UNSAFE_Link.js +1 -1
  212. package/amd/UNSAFE_ListView.js +1 -1
  213. package/amd/UNSAFE_MenuButton.js +1 -1
  214. package/amd/UNSAFE_MessageBanner.js +1 -1
  215. package/amd/UNSAFE_MessageToast.js +1 -1
  216. package/amd/UNSAFE_NavigationList.js +1 -1
  217. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  218. package/amd/UNSAFE_NumberInputText.js +1 -1
  219. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  220. package/amd/UNSAFE_PictoChart.js +1 -1
  221. package/amd/UNSAFE_ProgressButton.js +1 -1
  222. package/amd/UNSAFE_RadioItem.js +1 -1
  223. package/amd/UNSAFE_RadioSet.js +1 -1
  224. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  225. package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
  226. package/amd/UNSAFE_RichRadioSet.js +1 -1
  227. package/amd/UNSAFE_RichRadioSet.js.map +1 -1
  228. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  229. package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
  230. package/amd/UNSAFE_ScatterChart.js +1 -1
  231. package/amd/UNSAFE_SelectMultiple.js +1 -1
  232. package/amd/UNSAFE_SelectSingle.js +1 -1
  233. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  234. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  235. package/amd/UNSAFE_TabBar.js +1 -1
  236. package/amd/UNSAFE_TabBarCommon.js +1 -1
  237. package/amd/UNSAFE_TabBarMixed.js +1 -1
  238. package/amd/UNSAFE_TableView.js +1 -1
  239. package/amd/UNSAFE_TagCloud.js +1 -1
  240. package/amd/UNSAFE_TextArea.js +1 -1
  241. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  242. package/amd/UNSAFE_ToggleButton.js +1 -1
  243. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  244. package/amd/UNSAFE_UserAssistance.js +1 -1
  245. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  246. package/amd/VirtualizedCollection-63223f5e.js +2 -0
  247. package/amd/VirtualizedCollection-63223f5e.js.map +1 -0
  248. package/amd/VirtualizedListView-d353d174.js +2 -0
  249. package/amd/VirtualizedListView-d353d174.js.map +1 -0
  250. package/amd/YearsGridView-e645d5de.js +2 -0
  251. package/amd/YearsGridView-e645d5de.js.map +1 -0
  252. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  253. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  254. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  255. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  256. package/amd/hooks/UNSAFE_usePressClick.js +1 -1
  257. package/amd/useCellNavigation-4138513e.js +2 -0
  258. package/amd/useCellNavigation-4138513e.js.map +1 -0
  259. package/amd/useChartMarquee-2f7d51c4.js +2 -0
  260. package/amd/useChartMarquee-2f7d51c4.js.map +1 -0
  261. package/amd/usePressClick-b5bf4243.js +2 -0
  262. package/amd/usePressClick-b5bf4243.js.map +1 -0
  263. package/amd/useSelectCommon-380baecd.js +2 -0
  264. package/amd/useSelectCommon-380baecd.js.map +1 -0
  265. package/amd/useSelectDrill-113ae3ae.js +2 -0
  266. package/amd/useSelectDrill-113ae3ae.js.map +1 -0
  267. package/amd/useSelection-80e262f2.js +2 -0
  268. package/amd/useSelection-80e262f2.js.map +1 -0
  269. package/amd/useVisDragModeControls-f187d8b2.js +2 -0
  270. package/amd/useVisDragModeControls-f187d8b2.js.map +1 -0
  271. package/cjs/BarChart-66dbe5be.js +181 -0
  272. package/cjs/BarChart-66dbe5be.js.map +1 -0
  273. package/cjs/BaseButton-590432e4.js +174 -0
  274. package/cjs/BaseButton-590432e4.js.map +1 -0
  275. package/cjs/BaseCardView-5c483f52.js +687 -0
  276. package/cjs/BaseCardView-5c483f52.js.map +1 -0
  277. package/cjs/BaseCardViewSelectionTest-f29b3ecf.js +734 -0
  278. package/cjs/BaseCardViewSelectionTest-f29b3ecf.js.map +1 -0
  279. package/cjs/BaseRichSelection-07d33b2a.js +344 -0
  280. package/cjs/BaseRichSelection-07d33b2a.js.map +1 -0
  281. package/cjs/Button-2427b7df.js +24 -0
  282. package/cjs/Button-2427b7df.js.map +1 -0
  283. package/cjs/ButtonSetButton-a23b6b7d.js +35 -0
  284. package/cjs/ButtonSetButton-a23b6b7d.js.map +1 -0
  285. package/cjs/ButtonSetIconButton-c632a294.js +42 -0
  286. package/cjs/ButtonSetIconButton-c632a294.js.map +1 -0
  287. package/cjs/ButtonSetItem-b260b6a5.js +67 -0
  288. package/cjs/ButtonSetItem-b260b6a5.js.map +1 -0
  289. package/cjs/CardFlexView-385f1b2d.js +29 -0
  290. package/cjs/CardFlexView-385f1b2d.js.map +1 -0
  291. package/cjs/CardGridView-d337b9f4.js +17 -0
  292. package/cjs/CardGridView-d337b9f4.js.map +1 -0
  293. package/cjs/Chart-13ccd345.js +493 -0
  294. package/cjs/Chart-13ccd345.js.map +1 -0
  295. package/cjs/Checkbox-07e4794b.js +106 -0
  296. package/cjs/Checkbox-07e4794b.js.map +1 -0
  297. package/cjs/CheckboxControl-697725cb.js +111 -0
  298. package/cjs/CheckboxControl-697725cb.js.map +1 -0
  299. package/cjs/CheckboxRadioField-1bb0d57d.js +185 -0
  300. package/cjs/CheckboxRadioField-1bb0d57d.js.map +1 -0
  301. package/cjs/CheckboxStyles.styles.css +6 -0
  302. package/cjs/ClearIcon-22a24975.js +23 -0
  303. package/cjs/ClearIcon-22a24975.js.map +1 -0
  304. package/cjs/ComboChart-7188af92.js +174 -0
  305. package/cjs/ComboChart-7188af92.js.map +1 -0
  306. package/cjs/CompactUserAssistance-54247e7e.js +49 -0
  307. package/cjs/CompactUserAssistance-54247e7e.js.map +1 -0
  308. package/cjs/ComponentMessageContainer-f8dc57aa.js +71 -0
  309. package/cjs/ComponentMessageContainer-f8dc57aa.js.map +1 -0
  310. package/cjs/ConveyorBeltItem-324014ba.js +641 -0
  311. package/cjs/ConveyorBeltItem-324014ba.js.map +1 -0
  312. package/cjs/DatePicker-9c362a68.js +566 -0
  313. package/cjs/DatePicker-9c362a68.js.map +1 -0
  314. package/cjs/DatePickerHeader-4223c919.js +46 -0
  315. package/cjs/DatePickerHeader-4223c919.js.map +1 -0
  316. package/cjs/Diagram-151103ac.js +2037 -0
  317. package/cjs/Diagram-151103ac.js.map +1 -0
  318. package/cjs/Dialog-40a1b708.js +346 -0
  319. package/cjs/Dialog-40a1b708.js.map +1 -0
  320. package/cjs/EmbeddedIconButton-f3f6e8f6.js +13 -0
  321. package/cjs/EmbeddedIconButton-f3f6e8f6.js.map +1 -0
  322. package/cjs/ExpandableList-0a0d75b3.js +169 -0
  323. package/cjs/ExpandableList-0a0d75b3.js.map +1 -0
  324. package/cjs/Gantt-aa6f41d6.js +3819 -0
  325. package/cjs/Gantt-aa6f41d6.js.map +1 -0
  326. package/cjs/GroupLoadingIndicator-824d658f.js +1 -1
  327. package/cjs/IconButton-fad4e4b2.js +39 -0
  328. package/cjs/IconButton-fad4e4b2.js.map +1 -0
  329. package/cjs/IconMenuButton-70ef4775.js +58 -0
  330. package/cjs/IconMenuButton-70ef4775.js.map +1 -0
  331. package/cjs/IconProgressButton-b4116a09.js +49 -0
  332. package/cjs/IconProgressButton-b4116a09.js.map +1 -0
  333. package/cjs/IconSwitchButton-2f946274.js +46 -0
  334. package/cjs/IconSwitchButton-2f946274.js.map +1 -0
  335. package/cjs/IconToggleButton-493cf27c.js +45 -0
  336. package/cjs/IconToggleButton-493cf27c.js.map +1 -0
  337. package/cjs/Indexer-a4a2d6b8.js +339 -0
  338. package/cjs/Indexer-a4a2d6b8.js.map +1 -0
  339. package/cjs/InlineUserAssistance-6c6d3250.js +85 -0
  340. package/cjs/InlineUserAssistance-6c6d3250.js.map +1 -0
  341. package/cjs/InputDateMask-d6b1a660.js +1060 -0
  342. package/cjs/InputDateMask-d6b1a660.js.map +1 -0
  343. package/cjs/InputDatePicker-7eb5931a.js +309 -0
  344. package/cjs/InputDatePicker-7eb5931a.js.map +1 -0
  345. package/cjs/InputPassword-e15aa37b.js +157 -0
  346. package/cjs/InputPassword-e15aa37b.js.map +1 -0
  347. package/cjs/InputText-6a6ae7e5.js +199 -0
  348. package/cjs/InputText-6a6ae7e5.js.map +1 -0
  349. package/cjs/Label-c51bd5de.js +85 -0
  350. package/cjs/Label-c51bd5de.js.map +1 -0
  351. package/cjs/LineAreaChart-05a58ac5.js +172 -0
  352. package/cjs/LineAreaChart-05a58ac5.js.map +1 -0
  353. package/cjs/Link-c928d5f1.js +35 -0
  354. package/cjs/Link-c928d5f1.js.map +1 -0
  355. package/cjs/LinkVariants.styles.css +2 -1
  356. package/cjs/LinkVariants.styles2.css +2 -1
  357. package/cjs/List-bad74e43.js +723 -0
  358. package/cjs/List-bad74e43.js.map +1 -0
  359. package/cjs/ListView-80a9c725.js +430 -0
  360. package/cjs/ListView-80a9c725.js.map +1 -0
  361. package/cjs/LoadMoreCollection-73112ff0.js +34 -0
  362. package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
  363. package/cjs/MenuButton-e6eb6e3e.js +63 -0
  364. package/cjs/MenuButton-e6eb6e3e.js.map +1 -0
  365. package/cjs/Message-20bc90cd.js +208 -0
  366. package/cjs/Message-20bc90cd.js.map +1 -0
  367. package/cjs/MessageToast-c0730ed5.js +243 -0
  368. package/cjs/MessageToast-c0730ed5.js.map +1 -0
  369. package/cjs/MonthView-03da0bd2.js +210 -0
  370. package/cjs/MonthView-03da0bd2.js.map +1 -0
  371. package/cjs/NavigationListItem-0a49d6b5.js +166 -0
  372. package/cjs/NavigationListItem-0a49d6b5.js.map +1 -0
  373. package/cjs/NumberInputText-c58f78da.js +223 -0
  374. package/cjs/NumberInputText-c58f78da.js.map +1 -0
  375. package/cjs/OverflowTabBar-c70fb3bf.js +71 -0
  376. package/cjs/OverflowTabBar-c70fb3bf.js.map +1 -0
  377. package/cjs/OverflowTabBarItem-70484f54.js +88 -0
  378. package/cjs/OverflowTabBarItem-70484f54.js.map +1 -0
  379. package/cjs/PRIVATE_BaseCardView.js +3 -3
  380. package/cjs/PRIVATE_Chart.js +14 -14
  381. package/cjs/PRIVATE_CheckboxControl.js +5 -4
  382. package/cjs/PRIVATE_CheckboxControl.js.map +1 -1
  383. package/cjs/PRIVATE_CheckboxRadioField.js +8 -7
  384. package/cjs/PRIVATE_CheckboxRadioField.js.map +1 -1
  385. package/cjs/PRIVATE_ClearIcon.js +4 -4
  386. package/cjs/PRIVATE_DatePickerHeader.js +5 -5
  387. package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
  388. package/cjs/PRIVATE_IconSwitchButton.js +3 -3
  389. package/cjs/PRIVATE_List.js +4 -4
  390. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  391. package/cjs/PRIVATE_Message.js +4 -4
  392. package/cjs/PRIVATE_MonthView.js +2 -2
  393. package/cjs/PRIVATE_MonthYearGridView.js +2 -2
  394. package/cjs/PRIVATE_RevealToggleIcon.js +4 -4
  395. package/cjs/PRIVATE_RichSelectionCommon.js +8 -7
  396. package/cjs/PRIVATE_RichSelectionCommon.js.map +1 -1
  397. package/cjs/PRIVATE_SelectCommon.js +11 -11
  398. package/cjs/PRIVATE_Table.js +6 -6
  399. package/cjs/PRIVATE_TimeComponent.js +3 -3
  400. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  401. package/cjs/PictoChart-fd613c80.js +747 -0
  402. package/cjs/PictoChart-fd613c80.js.map +1 -0
  403. package/cjs/ProgressButton-81474622.js +58 -0
  404. package/cjs/ProgressButton-81474622.js.map +1 -0
  405. package/cjs/RadioItem-3cc743ff.js +115 -0
  406. package/cjs/RadioItem-3cc743ff.js.map +1 -0
  407. package/cjs/RadioSet-f4ee4f80.js +45 -0
  408. package/cjs/RadioSet-f4ee4f80.js.map +1 -0
  409. package/cjs/RemovableNavigationListItem-f3ad6e8e.js +26 -0
  410. package/cjs/RemovableNavigationListItem-f3ad6e8e.js.map +1 -0
  411. package/cjs/RemovableTabBarItem-5c05fa32.js +38 -0
  412. package/cjs/RemovableTabBarItem-5c05fa32.js.map +1 -0
  413. package/cjs/RevealToggleIcon-4ec10dbe.js +28 -0
  414. package/cjs/RevealToggleIcon-4ec10dbe.js.map +1 -0
  415. package/cjs/ScatterChart-9226c20d.js +105 -0
  416. package/cjs/ScatterChart-9226c20d.js.map +1 -0
  417. package/cjs/SelectMultiple-3569988d.js +1299 -0
  418. package/cjs/SelectMultiple-3569988d.js.map +1 -0
  419. package/cjs/SelectSingle-43d6953e.js +732 -0
  420. package/cjs/SelectSingle-43d6953e.js.map +1 -0
  421. package/cjs/SplitMenuButton-9c1b081c.js +141 -0
  422. package/cjs/SplitMenuButton-9c1b081c.js.map +1 -0
  423. package/cjs/Table-6987731e.js +5499 -0
  424. package/cjs/Table-6987731e.js.map +1 -0
  425. package/cjs/TableView-1bed3e0b.js +33 -0
  426. package/cjs/TableView-1bed3e0b.js.map +1 -0
  427. package/cjs/TagCloud-2715c0e8.js +826 -0
  428. package/cjs/TagCloud-2715c0e8.js.map +1 -0
  429. package/cjs/TextArea-d8516f11.js +162 -0
  430. package/cjs/TextArea-d8516f11.js.map +1 -0
  431. package/cjs/TextAreaAutosize-1797d5b7.js +246 -0
  432. package/cjs/TextAreaAutosize-1797d5b7.js.map +1 -0
  433. package/cjs/Theme-redwood/theme.css +157 -157
  434. package/cjs/Theme-stable/theme.css +252 -252
  435. package/cjs/TimeComponentCanvas2D-13c06086.js +591 -0
  436. package/cjs/TimeComponentCanvas2D-13c06086.js.map +1 -0
  437. package/cjs/ToggleButton-c614bbec.js +30 -0
  438. package/cjs/ToggleButton-c614bbec.js.map +1 -0
  439. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +15 -15
  440. package/cjs/UNSAFE_BarChart.js +15 -15
  441. package/cjs/UNSAFE_BaseButton.js +2 -2
  442. package/cjs/UNSAFE_Button.js +3 -3
  443. package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +5 -5
  444. package/cjs/UNSAFE_ButtonSetButton.js +3 -3
  445. package/cjs/UNSAFE_ButtonSetIconButton.js +3 -3
  446. package/cjs/UNSAFE_ButtonSetItem.js +5 -5
  447. package/cjs/UNSAFE_CardFlexView.js +4 -4
  448. package/cjs/UNSAFE_CardGridView.js +4 -4
  449. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  450. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  451. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  452. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  453. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  454. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  455. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  456. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  457. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  458. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  459. package/cjs/UNSAFE_Checkbox.js +8 -7
  460. package/cjs/UNSAFE_Checkbox.js.map +1 -1
  461. package/cjs/UNSAFE_CheckboxItem.js +5 -4
  462. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  463. package/cjs/UNSAFE_CheckboxSet.js +8 -7
  464. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  465. package/cjs/UNSAFE_ComboChart.js +15 -15
  466. package/cjs/UNSAFE_ComponentMessage.js +4 -4
  467. package/cjs/UNSAFE_ConveyorBelt.js +3 -3
  468. package/cjs/UNSAFE_DatePicker.js +10 -10
  469. package/cjs/UNSAFE_Diagram.js +9 -9
  470. package/cjs/UNSAFE_Dialog.js +4 -4
  471. package/cjs/UNSAFE_ExpandableList.js +7 -7
  472. package/cjs/UNSAFE_Gantt.js +5 -5
  473. package/cjs/UNSAFE_IconButton.js +3 -3
  474. package/cjs/UNSAFE_IconMenuButton.js +3 -3
  475. package/cjs/UNSAFE_IconProgressButton.js +3 -3
  476. package/cjs/UNSAFE_IconToggleButton.js +3 -3
  477. package/cjs/UNSAFE_Indexer.js +2 -2
  478. package/cjs/UNSAFE_InputDateMask.js +8 -8
  479. package/cjs/UNSAFE_InputDatePicker.js +95 -95
  480. package/cjs/UNSAFE_InputPassword.js +11 -11
  481. package/cjs/UNSAFE_InputSensitiveText.js +10 -10
  482. package/cjs/UNSAFE_InputText.js +9 -9
  483. package/cjs/UNSAFE_InputTimeMask.js +7 -7
  484. package/cjs/UNSAFE_Label.js +4 -4
  485. package/cjs/UNSAFE_LabelledLink.js +7 -7
  486. package/cjs/UNSAFE_LineAreaChart.js +15 -15
  487. package/cjs/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  488. package/cjs/UNSAFE_Link.js +2 -2
  489. package/cjs/UNSAFE_ListView.js +5 -5
  490. package/cjs/UNSAFE_MenuButton.js +3 -3
  491. package/cjs/UNSAFE_MessageBanner.js +4 -4
  492. package/cjs/UNSAFE_MessageToast.js +5 -5
  493. package/cjs/UNSAFE_NavigationList.js +8 -8
  494. package/cjs/UNSAFE_NavigationListCommon.js +4 -4
  495. package/cjs/UNSAFE_NumberInputText.js +8 -8
  496. package/cjs/UNSAFE_OverflowTabBar.js +8 -8
  497. package/cjs/UNSAFE_PictoChart.js +4 -4
  498. package/cjs/UNSAFE_ProgressButton.js +3 -3
  499. package/cjs/UNSAFE_RadioItem.js +4 -4
  500. package/cjs/UNSAFE_RadioSet.js +9 -8
  501. package/cjs/UNSAFE_RadioSet.js.map +1 -1
  502. package/cjs/UNSAFE_RichCheckboxSet.js +8 -7
  503. package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
  504. package/cjs/UNSAFE_RichRadioSet.js +8 -7
  505. package/cjs/UNSAFE_RichRadioSet.js.map +1 -1
  506. package/cjs/UNSAFE_ScatterChart.js +15 -15
  507. package/cjs/UNSAFE_SelectMultiple.js +15 -15
  508. package/cjs/UNSAFE_SelectSingle.js +14 -14
  509. package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +3 -3
  510. package/cjs/UNSAFE_SplitMenuButton.js +3 -3
  511. package/cjs/UNSAFE_TabBar.js +7 -7
  512. package/cjs/UNSAFE_TabBarCommon.js +7 -7
  513. package/cjs/UNSAFE_TabBarMixed.js +7 -7
  514. package/cjs/UNSAFE_TableView.js +7 -7
  515. package/cjs/UNSAFE_TagCloud.js +4 -4
  516. package/cjs/UNSAFE_TextArea.js +8 -8
  517. package/cjs/UNSAFE_TextAreaAutosize.js +8 -8
  518. package/cjs/UNSAFE_ToggleButton.js +3 -3
  519. package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +5 -5
  520. package/cjs/UNSAFE_UserAssistance.js +6 -6
  521. package/cjs/UNSAFE_VirtualizedListView.js +5 -5
  522. package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
  523. package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
  524. package/cjs/VirtualizedListView-ad3219ba.js +16 -0
  525. package/cjs/VirtualizedListView-ad3219ba.js.map +1 -0
  526. package/cjs/YearsGridView-67ce0a3a.js +190 -0
  527. package/cjs/YearsGridView-67ce0a3a.js.map +1 -0
  528. package/cjs/hooks/PRIVATE_useChartEvents.js +4 -4
  529. package/cjs/hooks/PRIVATE_useChartMarquee.js +8 -8
  530. package/cjs/hooks/PRIVATE_useVisDragModeControls.js +7 -7
  531. package/cjs/hooks/PRIVATE_useVisSelection.js +3 -3
  532. package/cjs/hooks/UNSAFE_usePressClick.js +1 -1
  533. package/cjs/useCellNavigation-d503e35f.js +124 -0
  534. package/cjs/useCellNavigation-d503e35f.js.map +1 -0
  535. package/cjs/useChartMarquee-7ffcda9e.js +295 -0
  536. package/cjs/useChartMarquee-7ffcda9e.js.map +1 -0
  537. package/cjs/usePressClick-7a34624a.js +41 -0
  538. package/cjs/usePressClick-7a34624a.js.map +1 -0
  539. package/cjs/useSelectCommon-38a38427.js +709 -0
  540. package/cjs/useSelectCommon-38a38427.js.map +1 -0
  541. package/cjs/useSelectDrill-ad5864fd.js +107 -0
  542. package/cjs/useSelectDrill-ad5864fd.js.map +1 -0
  543. package/cjs/useSelection-8f68a23a.js +188 -0
  544. package/cjs/useSelection-8f68a23a.js.map +1 -0
  545. package/cjs/useVisDragModeControls-d3a7aa57.js +89 -0
  546. package/cjs/useVisDragModeControls-d3a7aa57.js.map +1 -0
  547. package/es/ActionCard-bac27bb9.js +1 -1
  548. package/es/BarChart-43dec3b7.js +179 -0
  549. package/es/BarChart-43dec3b7.js.map +1 -0
  550. package/es/BarGroup-dbf70e2c.js +1 -1
  551. package/es/BaseButton-61f6baa8.js +172 -0
  552. package/es/BaseButton-61f6baa8.js.map +1 -0
  553. package/es/BaseCardView-724422f3.js +7 -7
  554. package/es/BaseCardViewSelectionTest-ef070684.js +721 -0
  555. package/es/BaseCardViewSelectionTest-ef070684.js.map +1 -0
  556. package/es/BaseNavigationListItem-1c75c13f.js +47 -0
  557. package/es/BaseNavigationListItem-1c75c13f.js.map +1 -0
  558. package/es/BaseRichSelection-72edca7c.js +342 -0
  559. package/es/BaseRichSelection-72edca7c.js.map +1 -0
  560. package/es/Button-f90514b2.js +22 -0
  561. package/es/Button-f90514b2.js.map +1 -0
  562. package/es/ButtonSet-9b2c41be.js +2 -2
  563. package/es/ButtonSetButton-974fc462.js +33 -0
  564. package/es/ButtonSetButton-974fc462.js.map +1 -0
  565. package/es/ButtonSetIconButton-0081167a.js +40 -0
  566. package/es/ButtonSetIconButton-0081167a.js.map +1 -0
  567. package/es/ButtonSetItem-eb2d43d4.js +65 -0
  568. package/es/ButtonSetItem-eb2d43d4.js.map +1 -0
  569. package/es/Card-31dc8dc2.js +15 -0
  570. package/es/Card-31dc8dc2.js.map +1 -0
  571. package/es/Center-2be68188.js +16 -0
  572. package/es/Center-2be68188.js.map +1 -0
  573. package/es/Chart-4ec13697.js +491 -0
  574. package/es/Chart-4ec13697.js.map +1 -0
  575. package/es/Checkbox-74259575.js +104 -0
  576. package/es/Checkbox-74259575.js.map +1 -0
  577. package/es/CheckboxControl-c3c34028.js +109 -0
  578. package/es/CheckboxControl-c3c34028.js.map +1 -0
  579. package/es/CheckboxRadioField-294463ba.js +183 -0
  580. package/es/CheckboxRadioField-294463ba.js.map +1 -0
  581. package/es/CheckboxSetContext-1be56556.js +9 -0
  582. package/es/CheckboxSetContext-1be56556.js.map +1 -0
  583. package/es/CheckboxStyles.styles.css +6 -0
  584. package/es/Chip-8fd813ce.js +1 -1
  585. package/es/ClearIcon-acca9670.js +21 -0
  586. package/es/ClearIcon-acca9670.js.map +1 -0
  587. package/es/CollapseIcon-152e59b4.js +1 -1
  588. package/es/Collapsible-4dddc4f7.js +2 -2
  589. package/es/ComboChart-d1c3e17a.js +172 -0
  590. package/es/ComboChart-d1c3e17a.js.map +1 -0
  591. package/es/CompactHelpSource-c3044924.js +2 -2
  592. package/es/CompactLabelAssistance-0d70fceb.js +34 -0
  593. package/es/CompactLabelAssistance-0d70fceb.js.map +1 -0
  594. package/es/CompactUserAssistance-4f0ff3fc.js +47 -0
  595. package/es/CompactUserAssistance-4f0ff3fc.js.map +1 -0
  596. package/es/ComponentMessageContainer-13005c12.js +68 -0
  597. package/es/ComponentMessageContainer-13005c12.js.map +1 -0
  598. package/es/ConveyorBeltItem-53f383e1.js +638 -0
  599. package/es/ConveyorBeltItem-53f383e1.js.map +1 -0
  600. package/es/DatePicker-a57b08b1.js +564 -0
  601. package/es/DatePicker-a57b08b1.js.map +1 -0
  602. package/es/DatePickerHeader-8eee60aa.js +44 -0
  603. package/es/DatePickerHeader-8eee60aa.js.map +1 -0
  604. package/es/Diagram-29d78c10.js +2035 -0
  605. package/es/Diagram-29d78c10.js.map +1 -0
  606. package/es/Dialog-8a9a90a2.js +344 -0
  607. package/es/Dialog-8a9a90a2.js.map +1 -0
  608. package/es/DirectionalCollapseArrowIcon-e1b04846.js +1 -1
  609. package/es/DirectionalExpandArrowIcon-c9218fa7.js +1 -1
  610. package/es/DragHandle-198c3118.js +22 -0
  611. package/es/DragHandle-198c3118.js.map +1 -0
  612. package/es/DrawerPopup-5292bdfc.js +381 -0
  613. package/es/DrawerPopup-5292bdfc.js.map +1 -0
  614. package/es/Dropdown-698afbc6.js +80 -0
  615. package/es/Dropdown-698afbc6.js.map +1 -0
  616. package/es/EmbeddedIconButton-7215a912.js +11 -0
  617. package/es/EmbeddedIconButton-7215a912.js.map +1 -0
  618. package/es/EnvironmentProvider-713d0dec.js +58 -0
  619. package/es/EnvironmentProvider-713d0dec.js.map +1 -0
  620. package/es/ExpandableList-27f4f0d4.js +167 -0
  621. package/es/ExpandableList-27f4f0d4.js.map +1 -0
  622. package/es/FilePicker-c3f06d6f.js +2 -2
  623. package/es/Flex-2d9ebee9.js +30 -0
  624. package/es/Flex-2d9ebee9.js.map +1 -0
  625. package/es/Floating-5191a9e6.js +462 -0
  626. package/es/Floating-5191a9e6.js.map +1 -0
  627. package/es/FormLayout-b2993e0c.js +1 -1
  628. package/es/Gantt-e156bd33.js +3817 -0
  629. package/es/Gantt-e156bd33.js.map +1 -0
  630. package/es/Grid-238d8757.js +27 -0
  631. package/es/Grid-238d8757.js.map +1 -0
  632. package/es/Gridlines-d37f55d2.js +168 -0
  633. package/es/Gridlines-d37f55d2.js.map +1 -0
  634. package/es/GroupLoadingIndicator-93bcf33f.js +1 -1
  635. package/es/HighlightText-fef35694.js +31 -0
  636. package/es/HighlightText-fef35694.js.map +1 -0
  637. package/es/Icon-030b6dd4.js +3 -3
  638. package/es/IconButton-19fcf0a8.js +37 -0
  639. package/es/IconButton-19fcf0a8.js.map +1 -0
  640. package/es/IconMenuButton-4118bde6.js +56 -0
  641. package/es/IconMenuButton-4118bde6.js.map +1 -0
  642. package/es/IconProgressButton-a595c052.js +47 -0
  643. package/es/IconProgressButton-a595c052.js.map +1 -0
  644. package/es/IconSwitchButton-dcafa86c.js +44 -0
  645. package/es/IconSwitchButton-dcafa86c.js.map +1 -0
  646. package/es/IconToggleButton-94cbea2b.js +43 -0
  647. package/es/IconToggleButton-94cbea2b.js.map +1 -0
  648. package/es/IconUserAssistance-d9bc82d4.js +73 -0
  649. package/es/IconUserAssistance-d9bc82d4.js.map +1 -0
  650. package/es/Indexer-18ec7af3.js +4 -4
  651. package/es/InlineHelpSource-5ed4bb7d.js +1 -1
  652. package/es/InlineUserAssistance-65ca8810.js +81 -0
  653. package/es/InlineUserAssistance-65ca8810.js.map +1 -0
  654. package/es/InputDateMask-8258be53.js +1056 -0
  655. package/es/InputDateMask-8258be53.js.map +1 -0
  656. package/es/InputDatePicker-a659ed3a.js +307 -0
  657. package/es/InputDatePicker-a659ed3a.js.map +1 -0
  658. package/es/InputPassword-65336899.js +155 -0
  659. package/es/InputPassword-65336899.js.map +1 -0
  660. package/es/InputText-21591785.js +197 -0
  661. package/es/InputText-21591785.js.map +1 -0
  662. package/es/Label-25eba25e.js +83 -0
  663. package/es/Label-25eba25e.js.map +1 -0
  664. package/es/LabelValueLayout-1db91391.js +1 -1
  665. package/es/Layer-1eb18747.js +91 -0
  666. package/es/Layer-1eb18747.js.map +1 -0
  667. package/es/LayerHost-8b98d97d.js +41 -0
  668. package/es/LayerHost-8b98d97d.js.map +1 -0
  669. package/es/LayerManager-221afe20.js +34 -0
  670. package/es/LayerManager-221afe20.js.map +1 -0
  671. package/es/Legend-0e274097.js +3 -3
  672. package/es/LineAreaChart-6fabda31.js +170 -0
  673. package/es/LineAreaChart-6fabda31.js.map +1 -0
  674. package/es/LineSeries-139bda1a.js +109 -0
  675. package/es/LineSeries-139bda1a.js.map +1 -0
  676. package/es/Link-c7061441.js +33 -0
  677. package/es/Link-c7061441.js.map +1 -0
  678. package/es/LinkVariants.styles.css +2 -1
  679. package/es/LinkVariants.styles2.css +2 -1
  680. package/es/List-58b8d3c9.js +5 -5
  681. package/es/ListItemLayout-af86b17d.js +110 -0
  682. package/es/ListItemLayout-af86b17d.js.map +1 -0
  683. package/es/ListView-be2e2736.js +3 -3
  684. package/es/LiveRegion-c7bf2f21.js +39 -0
  685. package/es/LiveRegion-c7bf2f21.js.map +1 -0
  686. package/es/MaxLengthLiveRegion-d790e55c.js +23 -0
  687. package/es/MaxLengthLiveRegion-d790e55c.js.map +1 -0
  688. package/es/Menu-a5bf756f.js +6 -6
  689. package/es/MenuButton-e012a909.js +61 -0
  690. package/es/MenuButton-e012a909.js.map +1 -0
  691. package/es/MenuItem-54015ca3.js +1 -1
  692. package/es/Message-b0150c6f.js +203 -0
  693. package/es/Message-b0150c6f.js.map +1 -0
  694. package/es/MessageLayer-d9129e22.js +58 -0
  695. package/es/MessageLayer-d9129e22.js.map +1 -0
  696. package/es/MessageToast-933a0339.js +241 -0
  697. package/es/MessageToast-933a0339.js.map +1 -0
  698. package/es/MessagesManager-91ade5dc.js +3 -3
  699. package/es/MeterBar-732e3b2c.js +5 -5
  700. package/es/MeterCircle-2156d7ff.js +5 -5
  701. package/es/Modal-9980f6d1.js +288 -0
  702. package/es/Modal-9980f6d1.js.map +1 -0
  703. package/es/MonthView-d60a5df7.js +208 -0
  704. package/es/MonthView-d60a5df7.js.map +1 -0
  705. package/es/NavigationList-fb05e081.js +159 -0
  706. package/es/NavigationList-fb05e081.js.map +1 -0
  707. package/es/NavigationListItem-193a315a.js +10 -0
  708. package/es/NavigationListItem-193a315a.js.map +1 -0
  709. package/es/NumberInputText-2d1aef12.js +220 -0
  710. package/es/NumberInputText-2d1aef12.js.map +1 -0
  711. package/es/OverflowTabBar-894c7cd9.js +69 -0
  712. package/es/OverflowTabBar-894c7cd9.js.map +1 -0
  713. package/es/OverflowTabBarItem-a578401b.js +87 -0
  714. package/es/OverflowTabBarItem-a578401b.js.map +1 -0
  715. package/es/PRIVATE_BaseCardView.js +21 -21
  716. package/es/PRIVATE_Chart.js +43 -43
  717. package/es/PRIVATE_CheckboxControl.js +28 -27
  718. package/es/PRIVATE_CheckboxControl.js.map +1 -1
  719. package/es/PRIVATE_CheckboxRadioField.js +33 -32
  720. package/es/PRIVATE_CheckboxRadioField.js.map +1 -1
  721. package/es/PRIVATE_ClearIcon.js +21 -21
  722. package/es/PRIVATE_DatePickerHeader.js +23 -23
  723. package/es/PRIVATE_DatePickerLayout.js +4 -4
  724. package/es/PRIVATE_EmbeddedIconButton.js +6 -6
  725. package/es/PRIVATE_FormControls.js +19 -19
  726. package/es/PRIVATE_IconSwitchButton.js +18 -18
  727. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  728. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  729. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  730. package/es/PRIVATE_Icons/DragV.js +15 -15
  731. package/es/PRIVATE_Icons/WarningS.js +15 -15
  732. package/es/PRIVATE_List.js +19 -19
  733. package/es/PRIVATE_Message.js +22 -22
  734. package/es/PRIVATE_MessageLayer.js +12 -12
  735. package/es/PRIVATE_MonthView.js +8 -8
  736. package/es/PRIVATE_MonthYearGridView.js +8 -8
  737. package/es/PRIVATE_PlotArea.js +4 -4
  738. package/es/PRIVATE_RevealToggleIcon.js +20 -20
  739. package/es/PRIVATE_RichSelectionCommon.js +34 -33
  740. package/es/PRIVATE_RichSelectionCommon.js.map +1 -1
  741. package/es/PRIVATE_SelectCommon.js +35 -35
  742. package/es/PRIVATE_StyledCard.js +4 -4
  743. package/es/PRIVATE_StyledCheckbox.js +15 -15
  744. package/es/PRIVATE_Table.js +28 -28
  745. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  746. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  747. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  748. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  749. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  750. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  751. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  752. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  753. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  754. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  755. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  756. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  757. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  758. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  759. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  760. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
  761. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  762. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  763. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  764. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  765. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  766. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  767. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  768. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  769. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  770. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  771. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  772. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
  773. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  774. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  775. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  776. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  777. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  778. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  779. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  780. package/es/PRIVATE_TimeComponent.js +20 -20
  781. package/es/PRIVATE_VisOverview.js +15 -15
  782. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  783. package/es/PictoChart-9624c62e.js +744 -0
  784. package/es/PictoChart-9624c62e.js.map +1 -0
  785. package/es/PieChart-87a2913f.js +6 -6
  786. package/es/Popup-f6774b40.js +258 -0
  787. package/es/Popup-f6774b40.js.map +1 -0
  788. package/es/ProgressBar-6d816723.js +62 -0
  789. package/es/ProgressBar-6d816723.js.map +1 -0
  790. package/es/ProgressButton-bb52347a.js +56 -0
  791. package/es/ProgressButton-bb52347a.js.map +1 -0
  792. package/es/ProgressButtonLabelLayout-f1d097d6.js +3 -3
  793. package/es/ProgressCircle-bbcf67fd.js +48 -0
  794. package/es/ProgressCircle-bbcf67fd.js.map +1 -0
  795. package/es/RadioItem-81e9e082.js +113 -0
  796. package/es/RadioItem-81e9e082.js.map +1 -0
  797. package/es/RadioSet-d2820846.js +43 -0
  798. package/es/RadioSet-d2820846.js.map +1 -0
  799. package/es/RatingGauge-5e1e75b4.js +8 -8
  800. package/es/ReadonlyTextFieldInput-f407b86c.js +1 -1
  801. package/es/RemovableNavigationListItem-21cd36b7.js +25 -0
  802. package/es/RemovableNavigationListItem-21cd36b7.js.map +1 -0
  803. package/es/RemovableTabBarItem-60574a52.js +36 -0
  804. package/es/RemovableTabBarItem-60574a52.js.map +1 -0
  805. package/es/ReorderableTabBar-c280e7d4.js +77 -0
  806. package/es/ReorderableTabBar-c280e7d4.js.map +1 -0
  807. package/es/RevealToggleIcon-8e650973.js +26 -0
  808. package/es/RevealToggleIcon-8e650973.js.map +1 -0
  809. package/es/ScatterChart-1f818935.js +103 -0
  810. package/es/ScatterChart-1f818935.js.map +1 -0
  811. package/es/SectionalLegend-64670096.js +4 -4
  812. package/es/SectionedContent-48fa242f.js +64 -0
  813. package/es/SectionedContent-48fa242f.js.map +1 -0
  814. package/es/SelectMultiple-c7f9e747.js +1297 -0
  815. package/es/SelectMultiple-c7f9e747.js.map +1 -0
  816. package/es/SelectSingle-75270526.js +730 -0
  817. package/es/SelectSingle-75270526.js.map +1 -0
  818. package/es/SelectionCard-ce3012e8.js +16 -0
  819. package/es/SelectionCard-ce3012e8.js.map +1 -0
  820. package/es/Selector-41618991.js +1 -1
  821. package/es/SelectorAll-27744634.js +69 -0
  822. package/es/SelectorAll-27744634.js.map +1 -0
  823. package/es/Sheet-924cfdab.js +158 -0
  824. package/es/Sheet-924cfdab.js.map +1 -0
  825. package/es/SplitMenuButton-5cb6e8db.js +139 -0
  826. package/es/SplitMenuButton-5cb6e8db.js.map +1 -0
  827. package/es/StyledCard-c8d9836f.js +105 -0
  828. package/es/StyledCard-c8d9836f.js.map +1 -0
  829. package/es/StyledLabelValueLayout-5b9a731a.js +18 -0
  830. package/es/StyledLabelValueLayout-5b9a731a.js.map +1 -0
  831. package/es/StyledTextField-6d6dd43e.js +3 -3
  832. package/es/TabBar-4d7054f7.js +82 -0
  833. package/es/TabBar-4d7054f7.js.map +1 -0
  834. package/es/TabBarItem-b97091e4.js +3 -3
  835. package/es/TabBarLayout-bb3f9f69.js +1 -1
  836. package/es/TabBarMixed-b8e2427c.js +83 -0
  837. package/es/TabBarMixed-b8e2427c.js.map +1 -0
  838. package/es/TabBarMixedSeparator-7669e2f0.js +19 -0
  839. package/es/TabBarMixedSeparator-7669e2f0.js.map +1 -0
  840. package/es/Table-b8c41429.js +5497 -0
  841. package/es/Table-b8c41429.js.map +1 -0
  842. package/es/TableView-2261b9de.js +31 -0
  843. package/es/TableView-2261b9de.js.map +1 -0
  844. package/es/TagCloud-0fe9b648.js +824 -0
  845. package/es/TagCloud-0fe9b648.js.map +1 -0
  846. package/es/TextArea-6584935d.js +177 -0
  847. package/es/TextArea-6584935d.js.map +1 -0
  848. package/es/TextAreaAutosize-2ca5256e.js +244 -0
  849. package/es/TextAreaAutosize-2ca5256e.js.map +1 -0
  850. package/es/TextField-500c0227.js +3 -3
  851. package/es/TextFieldInput-cb551f4e.js +1 -1
  852. package/es/Theme-redwood/theme.css +590 -590
  853. package/es/Theme-stable/theme.css +476 -476
  854. package/es/TimeComponentCanvas2D-a5baa5f6.js +568 -0
  855. package/es/TimeComponentCanvas2D-a5baa5f6.js.map +1 -0
  856. package/es/ToggleButton-c50ac048.js +28 -0
  857. package/es/ToggleButton-c50ac048.js.map +1 -0
  858. package/es/Toolbar-35426a1b.js +1 -1
  859. package/es/TruncatingBadge-69621d89.js +1 -1
  860. package/es/TruncatingText-fd66e0e0.js +1 -1
  861. package/es/UNSAFE_ActionCard.js +3 -3
  862. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +44 -44
  863. package/es/UNSAFE_BarChart.js +44 -44
  864. package/es/UNSAFE_BaseButton.js +5 -5
  865. package/es/UNSAFE_Button.js +6 -6
  866. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +26 -26
  867. package/es/UNSAFE_ButtonSet.js +4 -4
  868. package/es/UNSAFE_ButtonSetButton.js +6 -6
  869. package/es/UNSAFE_ButtonSetIconButton.js +18 -18
  870. package/es/UNSAFE_ButtonSetItem.js +20 -20
  871. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  872. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  873. package/es/UNSAFE_Card.js +5 -5
  874. package/es/UNSAFE_CardFlexView.js +21 -21
  875. package/es/UNSAFE_CardGridView.js +21 -21
  876. package/es/UNSAFE_Center.js +5 -5
  877. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  878. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  879. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  880. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  881. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  882. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  883. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  884. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  885. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  886. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  887. package/es/UNSAFE_Checkbox.js +31 -30
  888. package/es/UNSAFE_Checkbox.js.map +1 -1
  889. package/es/UNSAFE_CheckboxItem.js +57 -108
  890. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  891. package/es/UNSAFE_CheckboxSet.js +75 -40
  892. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  893. package/es/UNSAFE_Chip.js +2 -2
  894. package/es/UNSAFE_Collapsible.js +17 -17
  895. package/es/UNSAFE_ComboChart.js +46 -46
  896. package/es/UNSAFE_ComponentMessage.js +22 -22
  897. package/es/UNSAFE_ConveyorBelt.js +18 -18
  898. package/es/UNSAFE_DatePicker.js +30 -30
  899. package/es/UNSAFE_Diagram.js +27 -27
  900. package/es/UNSAFE_Dialog.js +24 -24
  901. package/es/UNSAFE_DragHandle.js +17 -17
  902. package/es/UNSAFE_DrawerLayout.js +12 -12
  903. package/es/UNSAFE_DrawerPopup.js +13 -13
  904. package/es/UNSAFE_Dropdown.js +13 -13
  905. package/es/UNSAFE_Environment.js +4 -4
  906. package/es/UNSAFE_ExpandableList.js +26 -26
  907. package/es/UNSAFE_FilePicker.js +4 -4
  908. package/es/UNSAFE_Flex.js +4 -4
  909. package/es/UNSAFE_Floating.js +11 -11
  910. package/es/UNSAFE_FormLayout.js +2 -2
  911. package/es/UNSAFE_Gantt.js +26 -26
  912. package/es/UNSAFE_Grid.js +4 -4
  913. package/es/UNSAFE_HighlightText.js +4 -4
  914. package/es/UNSAFE_Icon.js +15 -15
  915. package/es/UNSAFE_IconButton.js +18 -18
  916. package/es/UNSAFE_IconMenuButton.js +24 -24
  917. package/es/UNSAFE_IconProgressButton.js +21 -21
  918. package/es/UNSAFE_IconToggleButton.js +18 -18
  919. package/es/UNSAFE_Indexer.js +6 -6
  920. package/es/UNSAFE_InputDateMask.js +33 -33
  921. package/es/UNSAFE_InputDatePicker.js +119 -119
  922. package/es/UNSAFE_InputPassword.js +35 -35
  923. package/es/UNSAFE_InputSensitiveText.js +36 -36
  924. package/es/UNSAFE_InputText.js +36 -36
  925. package/es/UNSAFE_InputTimeMask.js +32 -32
  926. package/es/UNSAFE_Label.js +27 -27
  927. package/es/UNSAFE_LabelValueLayout.js +4 -4
  928. package/es/UNSAFE_LabelledLink.js +32 -32
  929. package/es/UNSAFE_Layer.js +8 -8
  930. package/es/UNSAFE_Legend.js +25 -25
  931. package/es/UNSAFE_LineAreaChart.js +46 -46
  932. package/es/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  933. package/es/UNSAFE_Link.js +4 -4
  934. package/es/UNSAFE_ListItemLayout.js +5 -5
  935. package/es/UNSAFE_ListView.js +28 -28
  936. package/es/UNSAFE_LiveRegion.js +4 -4
  937. package/es/UNSAFE_Menu.js +23 -23
  938. package/es/UNSAFE_MenuButton.js +24 -24
  939. package/es/UNSAFE_MessageBanner.js +22 -22
  940. package/es/UNSAFE_MessageToast.js +26 -26
  941. package/es/UNSAFE_MeterBar.js +16 -16
  942. package/es/UNSAFE_MeterCircle.js +17 -17
  943. package/es/UNSAFE_Modal.js +9 -9
  944. package/es/UNSAFE_NavigationList.js +45 -43
  945. package/es/UNSAFE_NavigationList.js.map +1 -1
  946. package/es/UNSAFE_NavigationListCommon.js +74 -73
  947. package/es/UNSAFE_NavigationListCommon.js.map +1 -1
  948. package/es/UNSAFE_NumberInputText.js +34 -34
  949. package/es/UNSAFE_OverflowTabBar.js +56 -54
  950. package/es/UNSAFE_OverflowTabBar.js.map +1 -1
  951. package/es/UNSAFE_PictoChart.js +17 -17
  952. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
  953. package/es/UNSAFE_PieChart.js +22 -22
  954. package/es/UNSAFE_Popup.js +17 -17
  955. package/es/UNSAFE_ProgressBar.js +5 -5
  956. package/es/UNSAFE_ProgressButton.js +21 -21
  957. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  958. package/es/UNSAFE_ProgressCircle.js +4 -4
  959. package/es/UNSAFE_RadioItem.js +27 -27
  960. package/es/UNSAFE_RadioSet.js +33 -32
  961. package/es/UNSAFE_RadioSet.js.map +1 -1
  962. package/es/UNSAFE_RatingGauge.js +17 -17
  963. package/es/UNSAFE_ReorderableTabBar.js +49 -38
  964. package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
  965. package/es/UNSAFE_RichCheckboxSet.js +54 -56
  966. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  967. package/es/UNSAFE_RichRadioSet.js +34 -33
  968. package/es/UNSAFE_RichRadioSet.js.map +1 -1
  969. package/es/UNSAFE_RichSelectionItem.js +58 -196
  970. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  971. package/es/UNSAFE_ScatterChart.js +46 -46
  972. package/es/UNSAFE_SectionalLegend.js +26 -26
  973. package/es/UNSAFE_SelectMultiple.js +42 -42
  974. package/es/UNSAFE_SelectSingle.js +41 -41
  975. package/es/UNSAFE_SelectionCard.js +5 -5
  976. package/es/UNSAFE_Selector.js +15 -15
  977. package/es/UNSAFE_SelectorAll.js +19 -19
  978. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +18 -18
  979. package/es/UNSAFE_Sheet.js +12 -12
  980. package/es/UNSAFE_SplitMenuButton.js +24 -24
  981. package/es/UNSAFE_TabBar.js +56 -54
  982. package/es/UNSAFE_TabBar.js.map +1 -1
  983. package/es/UNSAFE_TabBarCommon.js +48 -46
  984. package/es/UNSAFE_TabBarCommon.js.map +1 -1
  985. package/es/UNSAFE_TabBarMixed.js +66 -64
  986. package/es/UNSAFE_TabBarMixed.js.map +1 -1
  987. package/es/UNSAFE_TableView.js +29 -29
  988. package/es/UNSAFE_TagCloud.js +27 -27
  989. package/es/UNSAFE_TextArea.js +35 -36
  990. package/es/UNSAFE_TextArea.js.map +1 -1
  991. package/es/UNSAFE_TextAreaAutosize.js +36 -36
  992. package/es/UNSAFE_TextField.js +8 -8
  993. package/es/UNSAFE_ToggleButton.js +6 -6
  994. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +28 -28
  995. package/es/UNSAFE_Toolbar.js +4 -4
  996. package/es/UNSAFE_Train.js +16 -16
  997. package/es/UNSAFE_TruncatingBadge.js +16 -16
  998. package/es/UNSAFE_TruncatingText.js +16 -16
  999. package/es/UNSAFE_UserAssistance.js +30 -30
  1000. package/es/UNSAFE_View.js +7 -7
  1001. package/es/UNSAFE_VirtualizedListView.js +19 -19
  1002. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  1003. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  1004. package/es/UNSAFE_VisStatusMessage.js +6 -6
  1005. package/es/UNSAFE_WindowOverlay.js +4 -4
  1006. package/es/View-cf6dfd8e.js +167 -0
  1007. package/es/View-cf6dfd8e.js.map +1 -0
  1008. package/es/VisNoData-d6e475d8.js +32 -0
  1009. package/es/VisNoData-d6e475d8.js.map +1 -0
  1010. package/es/VisProgressiveLoader-36053d5a.js +51 -0
  1011. package/es/VisProgressiveLoader-36053d5a.js.map +1 -0
  1012. package/es/VisTabularDatatip-3497f5ff.js +24 -0
  1013. package/es/VisTabularDatatip-3497f5ff.js.map +1 -0
  1014. package/es/WindowOverlay-ca2baa48.js +110 -0
  1015. package/es/WindowOverlay-ca2baa48.js.map +1 -0
  1016. package/es/YearsGridView-2c978d9f.js +187 -0
  1017. package/es/YearsGridView-2c978d9f.js.map +1 -0
  1018. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  1019. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  1020. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  1021. package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
  1022. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  1023. package/es/hooks/PRIVATE_useChartEvents.js +20 -20
  1024. package/es/hooks/PRIVATE_useChartMarquee.js +25 -25
  1025. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  1026. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  1027. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  1028. package/es/hooks/PRIVATE_useFloating.js +4 -4
  1029. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  1030. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  1031. package/es/hooks/PRIVATE_useSelection.js +4 -4
  1032. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  1033. package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
  1034. package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
  1035. package/es/hooks/PRIVATE_useVisDragModeControls.js +24 -24
  1036. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  1037. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  1038. package/es/hooks/PRIVATE_useVisSelection.js +15 -15
  1039. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  1040. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  1041. package/es/hooks/UNSAFE_useDensity.js +3 -3
  1042. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  1043. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  1044. package/es/hooks/UNSAFE_usePressClick.js +1 -1
  1045. package/es/hooks/UNSAFE_useScale.js +3 -3
  1046. package/es/hooks/UNSAFE_useTestId.js +3 -3
  1047. package/es/hooks/UNSAFE_useTheme.js +3 -3
  1048. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  1049. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  1050. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  1051. package/es/hooks/UNSAFE_useUser.js +3 -3
  1052. package/es/index-3fdaba9a.js +11 -0
  1053. package/es/index-3fdaba9a.js.map +1 -0
  1054. package/es/listViewSelectionTests-d1f64e6f.js +3 -3
  1055. package/es/popupUtils-24a723a0.js +29 -0
  1056. package/es/popupUtils-24a723a0.js.map +1 -0
  1057. package/es/render-4d96f0d2.js +34 -0
  1058. package/es/render-4d96f0d2.js.map +1 -0
  1059. package/es/tabbableUtils-070beeed.js +79 -0
  1060. package/es/tabbableUtils-070beeed.js.map +1 -0
  1061. package/es/testData-e1df8616.js +256 -0
  1062. package/es/testData-e1df8616.js.map +1 -0
  1063. package/es/tooltipUtils-35655bd6.js +93 -0
  1064. package/es/tooltipUtils-35655bd6.js.map +1 -0
  1065. package/es/useCellNavigation-bdb3248d.js +121 -0
  1066. package/es/useCellNavigation-bdb3248d.js.map +1 -0
  1067. package/es/useChartContextMenu-61fe46b8.js +2 -2
  1068. package/es/useChartDatatip-b0d35cfe.js +165 -0
  1069. package/es/useChartDatatip-b0d35cfe.js.map +1 -0
  1070. package/es/useChartMarquee-7cd47205.js +293 -0
  1071. package/es/useChartMarquee-7cd47205.js.map +1 -0
  1072. package/es/useColorScheme-8e5e458d.js +19 -0
  1073. package/es/useColorScheme-8e5e458d.js.map +1 -0
  1074. package/es/useContextMenu-3c62d9eb.js +2 -2
  1075. package/es/useCssVars-608cb842.js +58 -0
  1076. package/es/useCssVars-608cb842.js.map +1 -0
  1077. package/es/useCurrentBgColor-ee671513.js +19 -0
  1078. package/es/useCurrentBgColor-ee671513.js.map +1 -0
  1079. package/es/useCurrentKey-b8e62707.js +81 -0
  1080. package/es/useCurrentKey-b8e62707.js.map +1 -0
  1081. package/es/useDatatip-daec4346.js +90 -0
  1082. package/es/useDatatip-daec4346.js.map +1 -0
  1083. package/es/useDensity-556ca8b2.js +19 -0
  1084. package/es/useDensity-556ca8b2.js.map +1 -0
  1085. package/es/useFloating-abfd69eb.js +1916 -0
  1086. package/es/useFloating-abfd69eb.js.map +1 -0
  1087. package/es/useKeyboardEvents-7202253d.js +78 -0
  1088. package/es/useKeyboardEvents-7202253d.js.map +1 -0
  1089. package/es/useLegendContextMenu-66d6eb7e.js +4 -4
  1090. package/es/useMeterDatatip-dcd2a05e.js +73 -0
  1091. package/es/useMeterDatatip-dcd2a05e.js.map +1 -0
  1092. package/es/useNavigationListItem-a28f2c34.js +81 -0
  1093. package/es/useNavigationListItem-a28f2c34.js.map +1 -0
  1094. package/es/useOutsideClick-817bf098.js +101 -0
  1095. package/es/useOutsideClick-817bf098.js.map +1 -0
  1096. package/es/usePopupAnimation-6e0781b5.js +85 -0
  1097. package/es/usePopupAnimation-6e0781b5.js.map +1 -0
  1098. package/es/usePrefixSuffix-0874343c.js +70 -0
  1099. package/es/usePrefixSuffix-0874343c.js.map +1 -0
  1100. package/es/usePressClick-945cc43b.js +39 -0
  1101. package/es/usePressClick-945cc43b.js.map +1 -0
  1102. package/es/useReorderableItem-99a9dbce.js +268 -0
  1103. package/es/useReorderableItem-99a9dbce.js.map +1 -0
  1104. package/es/useRovingTabIndexContainer-f7972085.js +98 -0
  1105. package/es/useRovingTabIndexContainer-f7972085.js.map +1 -0
  1106. package/es/useScale-1cdb639e.js +19 -0
  1107. package/es/useScale-1cdb639e.js.map +1 -0
  1108. package/es/useSelectCommon-896b594a.js +686 -0
  1109. package/es/useSelectCommon-896b594a.js.map +1 -0
  1110. package/es/useSelectDrill-5525e5a3.js +104 -0
  1111. package/es/useSelectDrill-5525e5a3.js.map +1 -0
  1112. package/es/useSelection-2d26ab04.js +239 -0
  1113. package/es/useSelection-2d26ab04.js.map +1 -0
  1114. package/es/useSelection-8be05a70.js +186 -0
  1115. package/es/useSelection-8be05a70.js.map +1 -0
  1116. package/es/useTabBar-cbac0c2e.js +1 -1
  1117. package/es/useTestId-474ac6ca.js +21 -0
  1118. package/es/useTestId-474ac6ca.js.map +1 -0
  1119. package/es/useTheme-5aa36f52.js +19 -0
  1120. package/es/useTheme-5aa36f52.js.map +1 -0
  1121. package/es/useThemeInterpolations-05e58770.js +57 -0
  1122. package/es/useThemeInterpolations-05e58770.js.map +1 -0
  1123. package/es/useTooltip-138c94ee.js +424 -0
  1124. package/es/useTooltip-138c94ee.js.map +1 -0
  1125. package/es/useTooltipOnTruncation-a97211b6.js +27 -0
  1126. package/es/useTooltipOnTruncation-a97211b6.js.map +1 -0
  1127. package/es/useTranslationBundle-2df40edf.js +29 -0
  1128. package/es/useTranslationBundle-2df40edf.js.map +1 -0
  1129. package/es/useUser-6b2e271a.js +19 -0
  1130. package/es/useUser-6b2e271a.js.map +1 -0
  1131. package/es/useVisDragModeControls-ed260d12.js +87 -0
  1132. package/es/useVisDragModeControls-ed260d12.js.map +1 -0
  1133. package/es/useVisEvents-d8652100.js +153 -0
  1134. package/es/useVisEvents-d8652100.js.map +1 -0
  1135. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  1136. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1137. package/es/utils/UNSAFE_popupUtils.js +8 -8
  1138. package/es/withDirectionIcon-fe0b69a7.js +14 -0
  1139. package/es/withDirectionIcon-fe0b69a7.js.map +1 -0
  1140. package/es/withThemeProps-1621f692.js +2 -2
  1141. package/package.json +2 -2
  1142. package/types/UNSAFE_DatePicker/useCellNavigation.d.ts +0 -1
  1143. package/types/UNSAFE_Link/themes/LinkStyles.css.d.ts +2 -1
  1144. package/types/UNSAFE_Link/themes/redwood/LinkVariants.css.d.ts +2 -1
  1145. package/types/UNSAFE_Link/themes/stable/LinkVariants.css.d.ts +2 -1
  1146. package/types/hooks/UNSAFE_usePressClick/usePressClick.d.ts +1 -0
  1147. package/amd/BarChart-1be56919.js +0 -2
  1148. package/amd/BarChart-1be56919.js.map +0 -1
  1149. package/amd/BaseButton-771c5db8.js +0 -2
  1150. package/amd/BaseButton-771c5db8.js.map +0 -1
  1151. package/amd/BaseCardView-4f88499c.js +0 -2
  1152. package/amd/BaseCardView-4f88499c.js.map +0 -1
  1153. package/amd/BaseCardViewSelectionTest-adaca8ca.js +0 -2
  1154. package/amd/BaseCardViewSelectionTest-adaca8ca.js.map +0 -1
  1155. package/amd/BaseRichSelection-eb93f0e2.js +0 -2
  1156. package/amd/BaseRichSelection-eb93f0e2.js.map +0 -1
  1157. package/amd/Button-af88bb81.js +0 -2
  1158. package/amd/Button-af88bb81.js.map +0 -1
  1159. package/amd/ButtonSetButton-00612cdd.js +0 -2
  1160. package/amd/ButtonSetButton-00612cdd.js.map +0 -1
  1161. package/amd/ButtonSetIconButton-d0684966.js +0 -2
  1162. package/amd/ButtonSetIconButton-d0684966.js.map +0 -1
  1163. package/amd/ButtonSetItem-1d88a72d.js +0 -2
  1164. package/amd/ButtonSetItem-1d88a72d.js.map +0 -1
  1165. package/amd/CardFlexView-86cb369a.js +0 -2
  1166. package/amd/CardFlexView-86cb369a.js.map +0 -1
  1167. package/amd/CardGridView-b3f11290.js +0 -2
  1168. package/amd/CardGridView-b3f11290.js.map +0 -1
  1169. package/amd/Chart-0a3205dd.js +0 -2
  1170. package/amd/Chart-0a3205dd.js.map +0 -1
  1171. package/amd/Checkbox-3a25138e.js +0 -2
  1172. package/amd/Checkbox-3a25138e.js.map +0 -1
  1173. package/amd/CheckboxControl-232e227d.js +0 -2
  1174. package/amd/CheckboxControl-232e227d.js.map +0 -1
  1175. package/amd/CheckboxRadioField-9b73f66b.js +0 -2
  1176. package/amd/CheckboxRadioField-9b73f66b.js.map +0 -1
  1177. package/amd/CheckboxSetContext-2e486ea8.js +0 -2
  1178. package/amd/CheckboxSetContext-2e486ea8.js.map +0 -1
  1179. package/amd/ClearIcon-f1befe37.js +0 -2
  1180. package/amd/ClearIcon-f1befe37.js.map +0 -1
  1181. package/amd/ComboChart-5dba7db4.js +0 -2
  1182. package/amd/ComboChart-5dba7db4.js.map +0 -1
  1183. package/amd/CompactUserAssistance-f962b357.js +0 -2
  1184. package/amd/CompactUserAssistance-f962b357.js.map +0 -1
  1185. package/amd/ComponentMessageContainer-13e53260.js +0 -2
  1186. package/amd/ComponentMessageContainer-13e53260.js.map +0 -1
  1187. package/amd/ConveyorBeltItem-1dfb412e.js +0 -2
  1188. package/amd/ConveyorBeltItem-1dfb412e.js.map +0 -1
  1189. package/amd/DatePicker-b907fb97.js +0 -2
  1190. package/amd/DatePicker-b907fb97.js.map +0 -1
  1191. package/amd/DatePickerHeader-d95959a6.js +0 -2
  1192. package/amd/DatePickerHeader-d95959a6.js.map +0 -1
  1193. package/amd/Diagram-92f409e0.js +0 -2
  1194. package/amd/Diagram-92f409e0.js.map +0 -1
  1195. package/amd/Dialog-b9dd8533.js +0 -2
  1196. package/amd/Dialog-b9dd8533.js.map +0 -1
  1197. package/amd/EmbeddedIconButton-8635fed8.js +0 -2
  1198. package/amd/EmbeddedIconButton-8635fed8.js.map +0 -1
  1199. package/amd/ExpandableList-c372fe68.js +0 -2
  1200. package/amd/ExpandableList-c372fe68.js.map +0 -1
  1201. package/amd/Gantt-f6a53a90.js +0 -2
  1202. package/amd/Gantt-f6a53a90.js.map +0 -1
  1203. package/amd/IconButton-05c6b793.js +0 -2
  1204. package/amd/IconButton-05c6b793.js.map +0 -1
  1205. package/amd/IconMenuButton-82a7258c.js +0 -2
  1206. package/amd/IconMenuButton-82a7258c.js.map +0 -1
  1207. package/amd/IconProgressButton-3bff5384.js +0 -2
  1208. package/amd/IconProgressButton-3bff5384.js.map +0 -1
  1209. package/amd/IconSwitchButton-faf2b405.js +0 -2
  1210. package/amd/IconSwitchButton-faf2b405.js.map +0 -1
  1211. package/amd/IconToggleButton-d5112634.js +0 -2
  1212. package/amd/IconToggleButton-d5112634.js.map +0 -1
  1213. package/amd/Indexer-510aaf3a.js +0 -2
  1214. package/amd/Indexer-510aaf3a.js.map +0 -1
  1215. package/amd/InlineUserAssistance-3d3e72a9.js +0 -2
  1216. package/amd/InlineUserAssistance-3d3e72a9.js.map +0 -1
  1217. package/amd/InputDateMask-55fcbf50.js +0 -2
  1218. package/amd/InputDateMask-55fcbf50.js.map +0 -1
  1219. package/amd/InputDatePicker-ecd4a7ce.js +0 -2
  1220. package/amd/InputDatePicker-ecd4a7ce.js.map +0 -1
  1221. package/amd/InputPassword-61090b77.js +0 -2
  1222. package/amd/InputPassword-61090b77.js.map +0 -1
  1223. package/amd/InputText-32954a14.js +0 -2
  1224. package/amd/InputText-32954a14.js.map +0 -1
  1225. package/amd/Label-7cbbe3b7.js +0 -2
  1226. package/amd/Label-7cbbe3b7.js.map +0 -1
  1227. package/amd/LineAreaChart-190b3d46.js +0 -2
  1228. package/amd/LineAreaChart-190b3d46.js.map +0 -1
  1229. package/amd/Link-2dae4de2.js +0 -2
  1230. package/amd/Link-2dae4de2.js.map +0 -1
  1231. package/amd/List-37e37948.js +0 -2
  1232. package/amd/List-37e37948.js.map +0 -1
  1233. package/amd/ListView-325e1814.js +0 -2
  1234. package/amd/ListView-325e1814.js.map +0 -1
  1235. package/amd/LoadMoreCollection-83413a59.js +0 -2
  1236. package/amd/LoadMoreCollection-83413a59.js.map +0 -1
  1237. package/amd/MenuButton-233a631a.js +0 -2
  1238. package/amd/MenuButton-233a631a.js.map +0 -1
  1239. package/amd/Message-40182dfc.js +0 -2
  1240. package/amd/Message-40182dfc.js.map +0 -1
  1241. package/amd/MessageToast-236687bd.js +0 -2
  1242. package/amd/MessageToast-236687bd.js.map +0 -1
  1243. package/amd/MonthView-c8a6ab15.js +0 -2
  1244. package/amd/MonthView-c8a6ab15.js.map +0 -1
  1245. package/amd/NumberInputText-91b73dcb.js +0 -2
  1246. package/amd/NumberInputText-91b73dcb.js.map +0 -1
  1247. package/amd/OverflowTabBar-ef21bcd3.js +0 -2
  1248. package/amd/OverflowTabBar-ef21bcd3.js.map +0 -1
  1249. package/amd/OverflowTabBarItem-db77f3d3.js +0 -2
  1250. package/amd/OverflowTabBarItem-db77f3d3.js.map +0 -1
  1251. package/amd/PictoChart-d5bedf82.js +0 -2
  1252. package/amd/PictoChart-d5bedf82.js.map +0 -1
  1253. package/amd/ProgressButton-e30c909b.js +0 -2
  1254. package/amd/ProgressButton-e30c909b.js.map +0 -1
  1255. package/amd/RadioItem-7ebada33.js +0 -2
  1256. package/amd/RadioItem-7ebada33.js.map +0 -1
  1257. package/amd/RadioSet-5e4b6669.js +0 -2
  1258. package/amd/RadioSet-5e4b6669.js.map +0 -1
  1259. package/amd/RemovableNavigationListItem-9950c473.js +0 -2
  1260. package/amd/RemovableNavigationListItem-9950c473.js.map +0 -1
  1261. package/amd/RemovableTabBarItem-fcada993.js +0 -2
  1262. package/amd/RemovableTabBarItem-fcada993.js.map +0 -1
  1263. package/amd/RevealToggleIcon-411d7a73.js +0 -2
  1264. package/amd/RevealToggleIcon-411d7a73.js.map +0 -1
  1265. package/amd/ScatterChart-3f6024a2.js +0 -2
  1266. package/amd/ScatterChart-3f6024a2.js.map +0 -1
  1267. package/amd/SelectMultiple-d3196bcd.js +0 -2
  1268. package/amd/SelectMultiple-d3196bcd.js.map +0 -1
  1269. package/amd/SelectSingle-007ab01c.js +0 -2
  1270. package/amd/SelectSingle-007ab01c.js.map +0 -1
  1271. package/amd/SplitMenuButton-65acf4d4.js +0 -2
  1272. package/amd/SplitMenuButton-65acf4d4.js.map +0 -1
  1273. package/amd/Table-52c72d48.js +0 -2
  1274. package/amd/Table-52c72d48.js.map +0 -1
  1275. package/amd/TableView-dc0766a7.js +0 -2
  1276. package/amd/TableView-dc0766a7.js.map +0 -1
  1277. package/amd/TagCloud-6afc73f7.js +0 -2
  1278. package/amd/TagCloud-6afc73f7.js.map +0 -1
  1279. package/amd/TextArea-f6b13c73.js +0 -2
  1280. package/amd/TextArea-f6b13c73.js.map +0 -1
  1281. package/amd/TextAreaAutosize-af350c32.js +0 -2
  1282. package/amd/TextAreaAutosize-af350c32.js.map +0 -1
  1283. package/amd/TimeComponentCanvas2D-27e55de9.js +0 -2
  1284. package/amd/TimeComponentCanvas2D-27e55de9.js.map +0 -1
  1285. package/amd/ToggleButton-a999647d.js +0 -2
  1286. package/amd/ToggleButton-a999647d.js.map +0 -1
  1287. package/amd/VirtualizedCollection-897516a5.js +0 -2
  1288. package/amd/VirtualizedCollection-897516a5.js.map +0 -1
  1289. package/amd/VirtualizedListView-0b9e1c53.js +0 -2
  1290. package/amd/VirtualizedListView-0b9e1c53.js.map +0 -1
  1291. package/amd/YearsGridView-c09d1d19.js +0 -2
  1292. package/amd/YearsGridView-c09d1d19.js.map +0 -1
  1293. package/amd/useCellNavigation-47060bc3.js +0 -2
  1294. package/amd/useCellNavigation-47060bc3.js.map +0 -1
  1295. package/amd/useChartMarquee-8ce16d57.js +0 -2
  1296. package/amd/useChartMarquee-8ce16d57.js.map +0 -1
  1297. package/amd/usePressClick-b7b38da2.js +0 -2
  1298. package/amd/usePressClick-b7b38da2.js.map +0 -1
  1299. package/amd/useSelectCommon-fd0e7664.js +0 -2
  1300. package/amd/useSelectCommon-fd0e7664.js.map +0 -1
  1301. package/amd/useSelectDrill-332195a7.js +0 -2
  1302. package/amd/useSelectDrill-332195a7.js.map +0 -1
  1303. package/amd/useSelection-04d131fa.js +0 -2
  1304. package/amd/useSelection-04d131fa.js.map +0 -1
  1305. package/amd/useVisDragModeControls-69001c64.js +0 -2
  1306. package/amd/useVisDragModeControls-69001c64.js.map +0 -1
  1307. package/cjs/BarChart-fae84003.js +0 -181
  1308. package/cjs/BarChart-fae84003.js.map +0 -1
  1309. package/cjs/BaseButton-97ec7696.js +0 -174
  1310. package/cjs/BaseButton-97ec7696.js.map +0 -1
  1311. package/cjs/BaseCardView-0be36db0.js +0 -687
  1312. package/cjs/BaseCardView-0be36db0.js.map +0 -1
  1313. package/cjs/BaseCardViewSelectionTest-d91b3015.js +0 -734
  1314. package/cjs/BaseCardViewSelectionTest-d91b3015.js.map +0 -1
  1315. package/cjs/BaseRichSelection-e2a38380.js +0 -344
  1316. package/cjs/BaseRichSelection-e2a38380.js.map +0 -1
  1317. package/cjs/Button-371573d5.js +0 -24
  1318. package/cjs/Button-371573d5.js.map +0 -1
  1319. package/cjs/ButtonSetButton-c6621073.js +0 -35
  1320. package/cjs/ButtonSetButton-c6621073.js.map +0 -1
  1321. package/cjs/ButtonSetIconButton-8645f3a5.js +0 -42
  1322. package/cjs/ButtonSetIconButton-8645f3a5.js.map +0 -1
  1323. package/cjs/ButtonSetItem-aa4211b4.js +0 -67
  1324. package/cjs/ButtonSetItem-aa4211b4.js.map +0 -1
  1325. package/cjs/CardFlexView-2547fc13.js +0 -29
  1326. package/cjs/CardFlexView-2547fc13.js.map +0 -1
  1327. package/cjs/CardGridView-c355e9d4.js +0 -17
  1328. package/cjs/CardGridView-c355e9d4.js.map +0 -1
  1329. package/cjs/Chart-b79289a8.js +0 -493
  1330. package/cjs/Chart-b79289a8.js.map +0 -1
  1331. package/cjs/Checkbox-5bfd221f.js +0 -106
  1332. package/cjs/Checkbox-5bfd221f.js.map +0 -1
  1333. package/cjs/CheckboxControl-3be46530.js +0 -111
  1334. package/cjs/CheckboxControl-3be46530.js.map +0 -1
  1335. package/cjs/CheckboxRadioField-037cddb9.js +0 -185
  1336. package/cjs/CheckboxRadioField-037cddb9.js.map +0 -1
  1337. package/cjs/ClearIcon-02e093be.js +0 -23
  1338. package/cjs/ClearIcon-02e093be.js.map +0 -1
  1339. package/cjs/ComboChart-e17d5863.js +0 -174
  1340. package/cjs/ComboChart-e17d5863.js.map +0 -1
  1341. package/cjs/CompactUserAssistance-b3c3929e.js +0 -49
  1342. package/cjs/CompactUserAssistance-b3c3929e.js.map +0 -1
  1343. package/cjs/ComponentMessageContainer-1cea67f6.js +0 -71
  1344. package/cjs/ComponentMessageContainer-1cea67f6.js.map +0 -1
  1345. package/cjs/ConveyorBeltItem-2577c86d.js +0 -641
  1346. package/cjs/ConveyorBeltItem-2577c86d.js.map +0 -1
  1347. package/cjs/DatePicker-c770df48.js +0 -566
  1348. package/cjs/DatePicker-c770df48.js.map +0 -1
  1349. package/cjs/DatePickerHeader-da8173f7.js +0 -46
  1350. package/cjs/DatePickerHeader-da8173f7.js.map +0 -1
  1351. package/cjs/Diagram-c4064fd7.js +0 -2037
  1352. package/cjs/Diagram-c4064fd7.js.map +0 -1
  1353. package/cjs/Dialog-c6c8024c.js +0 -346
  1354. package/cjs/Dialog-c6c8024c.js.map +0 -1
  1355. package/cjs/EmbeddedIconButton-89616e5f.js +0 -13
  1356. package/cjs/EmbeddedIconButton-89616e5f.js.map +0 -1
  1357. package/cjs/ExpandableList-d1823448.js +0 -169
  1358. package/cjs/ExpandableList-d1823448.js.map +0 -1
  1359. package/cjs/Gantt-674a89f8.js +0 -3819
  1360. package/cjs/Gantt-674a89f8.js.map +0 -1
  1361. package/cjs/IconButton-e7a68b4b.js +0 -39
  1362. package/cjs/IconButton-e7a68b4b.js.map +0 -1
  1363. package/cjs/IconMenuButton-3e540f38.js +0 -58
  1364. package/cjs/IconMenuButton-3e540f38.js.map +0 -1
  1365. package/cjs/IconProgressButton-3aa70c31.js +0 -49
  1366. package/cjs/IconProgressButton-3aa70c31.js.map +0 -1
  1367. package/cjs/IconSwitchButton-6bab813f.js +0 -46
  1368. package/cjs/IconSwitchButton-6bab813f.js.map +0 -1
  1369. package/cjs/IconToggleButton-7ec8c084.js +0 -45
  1370. package/cjs/IconToggleButton-7ec8c084.js.map +0 -1
  1371. package/cjs/Indexer-099ecbad.js +0 -339
  1372. package/cjs/Indexer-099ecbad.js.map +0 -1
  1373. package/cjs/InlineUserAssistance-5d6bac7a.js +0 -85
  1374. package/cjs/InlineUserAssistance-5d6bac7a.js.map +0 -1
  1375. package/cjs/InputDateMask-946f6dfa.js +0 -1060
  1376. package/cjs/InputDateMask-946f6dfa.js.map +0 -1
  1377. package/cjs/InputDatePicker-3dace90c.js +0 -309
  1378. package/cjs/InputDatePicker-3dace90c.js.map +0 -1
  1379. package/cjs/InputPassword-564260d2.js +0 -157
  1380. package/cjs/InputPassword-564260d2.js.map +0 -1
  1381. package/cjs/InputText-a9d46813.js +0 -199
  1382. package/cjs/InputText-a9d46813.js.map +0 -1
  1383. package/cjs/Label-2e05c87f.js +0 -85
  1384. package/cjs/Label-2e05c87f.js.map +0 -1
  1385. package/cjs/LineAreaChart-523ae108.js +0 -172
  1386. package/cjs/LineAreaChart-523ae108.js.map +0 -1
  1387. package/cjs/Link-a829e7f1.js +0 -35
  1388. package/cjs/Link-a829e7f1.js.map +0 -1
  1389. package/cjs/List-24abb3df.js +0 -722
  1390. package/cjs/List-24abb3df.js.map +0 -1
  1391. package/cjs/ListView-7e894199.js +0 -430
  1392. package/cjs/ListView-7e894199.js.map +0 -1
  1393. package/cjs/LoadMoreCollection-69bc038c.js +0 -34
  1394. package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
  1395. package/cjs/MenuButton-b811e5e4.js +0 -63
  1396. package/cjs/MenuButton-b811e5e4.js.map +0 -1
  1397. package/cjs/Message-d1d5538e.js +0 -208
  1398. package/cjs/Message-d1d5538e.js.map +0 -1
  1399. package/cjs/MessageToast-9154f05f.js +0 -243
  1400. package/cjs/MessageToast-9154f05f.js.map +0 -1
  1401. package/cjs/MonthView-35623a0e.js +0 -210
  1402. package/cjs/MonthView-35623a0e.js.map +0 -1
  1403. package/cjs/NavigationListItem-9b3d3258.js +0 -153
  1404. package/cjs/NavigationListItem-9b3d3258.js.map +0 -1
  1405. package/cjs/NumberInputText-6032717d.js +0 -223
  1406. package/cjs/NumberInputText-6032717d.js.map +0 -1
  1407. package/cjs/OverflowTabBar-794b4c93.js +0 -71
  1408. package/cjs/OverflowTabBar-794b4c93.js.map +0 -1
  1409. package/cjs/OverflowTabBarItem-43956479.js +0 -88
  1410. package/cjs/OverflowTabBarItem-43956479.js.map +0 -1
  1411. package/cjs/PictoChart-b650c050.js +0 -747
  1412. package/cjs/PictoChart-b650c050.js.map +0 -1
  1413. package/cjs/ProgressButton-1a01d49b.js +0 -58
  1414. package/cjs/ProgressButton-1a01d49b.js.map +0 -1
  1415. package/cjs/RadioItem-68304596.js +0 -115
  1416. package/cjs/RadioItem-68304596.js.map +0 -1
  1417. package/cjs/RadioSet-a16f664b.js +0 -45
  1418. package/cjs/RadioSet-a16f664b.js.map +0 -1
  1419. package/cjs/RemovableNavigationListItem-b13b3516.js +0 -26
  1420. package/cjs/RemovableNavigationListItem-b13b3516.js.map +0 -1
  1421. package/cjs/RemovableTabBarItem-e71b7be3.js +0 -38
  1422. package/cjs/RemovableTabBarItem-e71b7be3.js.map +0 -1
  1423. package/cjs/RevealToggleIcon-06b0b035.js +0 -28
  1424. package/cjs/RevealToggleIcon-06b0b035.js.map +0 -1
  1425. package/cjs/ScatterChart-bd2e0ebb.js +0 -105
  1426. package/cjs/ScatterChart-bd2e0ebb.js.map +0 -1
  1427. package/cjs/SelectMultiple-0d809f25.js +0 -1299
  1428. package/cjs/SelectMultiple-0d809f25.js.map +0 -1
  1429. package/cjs/SelectSingle-f5dd375a.js +0 -732
  1430. package/cjs/SelectSingle-f5dd375a.js.map +0 -1
  1431. package/cjs/SplitMenuButton-e7fd9b79.js +0 -141
  1432. package/cjs/SplitMenuButton-e7fd9b79.js.map +0 -1
  1433. package/cjs/Table-65e94df9.js +0 -5499
  1434. package/cjs/Table-65e94df9.js.map +0 -1
  1435. package/cjs/TableView-dfc37f9f.js +0 -33
  1436. package/cjs/TableView-dfc37f9f.js.map +0 -1
  1437. package/cjs/TagCloud-0aee2c72.js +0 -826
  1438. package/cjs/TagCloud-0aee2c72.js.map +0 -1
  1439. package/cjs/TextArea-a11875f3.js +0 -162
  1440. package/cjs/TextArea-a11875f3.js.map +0 -1
  1441. package/cjs/TextAreaAutosize-5a8e8335.js +0 -246
  1442. package/cjs/TextAreaAutosize-5a8e8335.js.map +0 -1
  1443. package/cjs/TimeComponentCanvas2D-e6be22d4.js +0 -591
  1444. package/cjs/TimeComponentCanvas2D-e6be22d4.js.map +0 -1
  1445. package/cjs/ToggleButton-8ac0ff29.js +0 -30
  1446. package/cjs/ToggleButton-8ac0ff29.js.map +0 -1
  1447. package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
  1448. package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
  1449. package/cjs/VirtualizedListView-0a4f07ca.js +0 -16
  1450. package/cjs/VirtualizedListView-0a4f07ca.js.map +0 -1
  1451. package/cjs/YearsGridView-83c7e684.js +0 -190
  1452. package/cjs/YearsGridView-83c7e684.js.map +0 -1
  1453. package/cjs/useCellNavigation-7a24d0c0.js +0 -129
  1454. package/cjs/useCellNavigation-7a24d0c0.js.map +0 -1
  1455. package/cjs/useChartMarquee-7c09d6ef.js +0 -295
  1456. package/cjs/useChartMarquee-7c09d6ef.js.map +0 -1
  1457. package/cjs/usePressClick-421494df.js +0 -33
  1458. package/cjs/usePressClick-421494df.js.map +0 -1
  1459. package/cjs/useSelectCommon-d593ef26.js +0 -709
  1460. package/cjs/useSelectCommon-d593ef26.js.map +0 -1
  1461. package/cjs/useSelectDrill-ddca7003.js +0 -107
  1462. package/cjs/useSelectDrill-ddca7003.js.map +0 -1
  1463. package/cjs/useSelection-810ecdc6.js +0 -188
  1464. package/cjs/useSelection-810ecdc6.js.map +0 -1
  1465. package/cjs/useVisDragModeControls-388926ea.js +0 -89
  1466. package/cjs/useVisDragModeControls-388926ea.js.map +0 -1
  1467. package/es/BarChart-bbc688ef.js +0 -179
  1468. package/es/BarChart-bbc688ef.js.map +0 -1
  1469. package/es/BaseButton-a0534b4d.js +0 -172
  1470. package/es/BaseButton-a0534b4d.js.map +0 -1
  1471. package/es/BaseCardViewSelectionTest-2e5f019a.js +0 -721
  1472. package/es/BaseCardViewSelectionTest-2e5f019a.js.map +0 -1
  1473. package/es/BaseNavigationListItem-af84a9ee.js +0 -119
  1474. package/es/BaseNavigationListItem-af84a9ee.js.map +0 -1
  1475. package/es/BaseRichSelection-9f2f2b59.js +0 -342
  1476. package/es/BaseRichSelection-9f2f2b59.js.map +0 -1
  1477. package/es/Button-f55c264d.js +0 -22
  1478. package/es/Button-f55c264d.js.map +0 -1
  1479. package/es/ButtonSetButton-226c9e73.js +0 -33
  1480. package/es/ButtonSetButton-226c9e73.js.map +0 -1
  1481. package/es/ButtonSetIconButton-2a046c9c.js +0 -40
  1482. package/es/ButtonSetIconButton-2a046c9c.js.map +0 -1
  1483. package/es/ButtonSetItem-43ef9553.js +0 -65
  1484. package/es/ButtonSetItem-43ef9553.js.map +0 -1
  1485. package/es/Card-f3b7c723.js +0 -15
  1486. package/es/Card-f3b7c723.js.map +0 -1
  1487. package/es/Center-76b761ea.js +0 -16
  1488. package/es/Center-76b761ea.js.map +0 -1
  1489. package/es/Chart-6291ad48.js +0 -491
  1490. package/es/Chart-6291ad48.js.map +0 -1
  1491. package/es/Checkbox-34816a7d.js +0 -104
  1492. package/es/Checkbox-34816a7d.js.map +0 -1
  1493. package/es/CheckboxControl-a9d4d9d5.js +0 -109
  1494. package/es/CheckboxControl-a9d4d9d5.js.map +0 -1
  1495. package/es/CheckboxRadioField-922ab9ff.js +0 -183
  1496. package/es/CheckboxRadioField-922ab9ff.js.map +0 -1
  1497. package/es/CheckboxSet-28953b25.js +0 -49
  1498. package/es/CheckboxSet-28953b25.js.map +0 -1
  1499. package/es/ClearIcon-29781882.js +0 -21
  1500. package/es/ClearIcon-29781882.js.map +0 -1
  1501. package/es/ComboChart-4738f936.js +0 -172
  1502. package/es/ComboChart-4738f936.js.map +0 -1
  1503. package/es/CompactLabelAssistance-fd3fb481.js +0 -34
  1504. package/es/CompactLabelAssistance-fd3fb481.js.map +0 -1
  1505. package/es/CompactUserAssistance-bd24e31a.js +0 -47
  1506. package/es/CompactUserAssistance-bd24e31a.js.map +0 -1
  1507. package/es/ComponentMessageContainer-6c106a09.js +0 -68
  1508. package/es/ComponentMessageContainer-6c106a09.js.map +0 -1
  1509. package/es/ConveyorBeltItem-ce67a451.js +0 -638
  1510. package/es/ConveyorBeltItem-ce67a451.js.map +0 -1
  1511. package/es/DatePicker-e7f2ef3c.js +0 -564
  1512. package/es/DatePicker-e7f2ef3c.js.map +0 -1
  1513. package/es/DatePickerHeader-9c0d4332.js +0 -44
  1514. package/es/DatePickerHeader-9c0d4332.js.map +0 -1
  1515. package/es/Diagram-b1f6a590.js +0 -2035
  1516. package/es/Diagram-b1f6a590.js.map +0 -1
  1517. package/es/Dialog-0ca362cc.js +0 -344
  1518. package/es/Dialog-0ca362cc.js.map +0 -1
  1519. package/es/DragHandle-99d4c921.js +0 -22
  1520. package/es/DragHandle-99d4c921.js.map +0 -1
  1521. package/es/DrawerPopup-9cdb203a.js +0 -381
  1522. package/es/DrawerPopup-9cdb203a.js.map +0 -1
  1523. package/es/Dropdown-60833900.js +0 -80
  1524. package/es/Dropdown-60833900.js.map +0 -1
  1525. package/es/EmbeddedIconButton-0c3562a1.js +0 -11
  1526. package/es/EmbeddedIconButton-0c3562a1.js.map +0 -1
  1527. package/es/EnvironmentProvider-bada8909.js +0 -58
  1528. package/es/EnvironmentProvider-bada8909.js.map +0 -1
  1529. package/es/ExpandableList-cbf9ae2c.js +0 -167
  1530. package/es/ExpandableList-cbf9ae2c.js.map +0 -1
  1531. package/es/Flex-ce31b351.js +0 -30
  1532. package/es/Flex-ce31b351.js.map +0 -1
  1533. package/es/Floating-f02677ba.js +0 -462
  1534. package/es/Floating-f02677ba.js.map +0 -1
  1535. package/es/Gantt-5a395647.js +0 -3817
  1536. package/es/Gantt-5a395647.js.map +0 -1
  1537. package/es/Grid-421eb560.js +0 -27
  1538. package/es/Grid-421eb560.js.map +0 -1
  1539. package/es/Gridlines-6098cb5b.js +0 -168
  1540. package/es/Gridlines-6098cb5b.js.map +0 -1
  1541. package/es/HighlightText-86d92552.js +0 -31
  1542. package/es/HighlightText-86d92552.js.map +0 -1
  1543. package/es/IconButton-f3f7af21.js +0 -37
  1544. package/es/IconButton-f3f7af21.js.map +0 -1
  1545. package/es/IconMenuButton-48909b85.js +0 -56
  1546. package/es/IconMenuButton-48909b85.js.map +0 -1
  1547. package/es/IconProgressButton-1c4d65c3.js +0 -47
  1548. package/es/IconProgressButton-1c4d65c3.js.map +0 -1
  1549. package/es/IconSwitchButton-5db4ae26.js +0 -44
  1550. package/es/IconSwitchButton-5db4ae26.js.map +0 -1
  1551. package/es/IconToggleButton-be6c0ba1.js +0 -43
  1552. package/es/IconToggleButton-be6c0ba1.js.map +0 -1
  1553. package/es/IconUserAssistance-92be9618.js +0 -73
  1554. package/es/IconUserAssistance-92be9618.js.map +0 -1
  1555. package/es/InlineUserAssistance-2677a1eb.js +0 -81
  1556. package/es/InlineUserAssistance-2677a1eb.js.map +0 -1
  1557. package/es/InputDateMask-76493bee.js +0 -1056
  1558. package/es/InputDateMask-76493bee.js.map +0 -1
  1559. package/es/InputDatePicker-836ee6f7.js +0 -307
  1560. package/es/InputDatePicker-836ee6f7.js.map +0 -1
  1561. package/es/InputPassword-fa63ac17.js +0 -155
  1562. package/es/InputPassword-fa63ac17.js.map +0 -1
  1563. package/es/InputText-ce2272a8.js +0 -197
  1564. package/es/InputText-ce2272a8.js.map +0 -1
  1565. package/es/Label-56ca049f.js +0 -83
  1566. package/es/Label-56ca049f.js.map +0 -1
  1567. package/es/Layer-446bf21e.js +0 -91
  1568. package/es/Layer-446bf21e.js.map +0 -1
  1569. package/es/LayerHost-e6402730.js +0 -41
  1570. package/es/LayerHost-e6402730.js.map +0 -1
  1571. package/es/LayerManager-fa745cec.js +0 -34
  1572. package/es/LayerManager-fa745cec.js.map +0 -1
  1573. package/es/LineAreaChart-d3586935.js +0 -170
  1574. package/es/LineAreaChart-d3586935.js.map +0 -1
  1575. package/es/LineSeries-fc167ea2.js +0 -109
  1576. package/es/LineSeries-fc167ea2.js.map +0 -1
  1577. package/es/Link-98742013.js +0 -33
  1578. package/es/Link-98742013.js.map +0 -1
  1579. package/es/ListItemLayout-e9854821.js +0 -110
  1580. package/es/ListItemLayout-e9854821.js.map +0 -1
  1581. package/es/LiveRegion-b56a1aa2.js +0 -39
  1582. package/es/LiveRegion-b56a1aa2.js.map +0 -1
  1583. package/es/MaxLengthCounter-181b4fc9.js +0 -25
  1584. package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
  1585. package/es/MaxLengthLiveRegion-2f3d34cf.js +0 -23
  1586. package/es/MaxLengthLiveRegion-2f3d34cf.js.map +0 -1
  1587. package/es/MenuButton-c00e269e.js +0 -61
  1588. package/es/MenuButton-c00e269e.js.map +0 -1
  1589. package/es/Message-b9e16c1c.js +0 -203
  1590. package/es/Message-b9e16c1c.js.map +0 -1
  1591. package/es/MessageLayer-7e3184aa.js +0 -58
  1592. package/es/MessageLayer-7e3184aa.js.map +0 -1
  1593. package/es/MessageToast-f9b0a234.js +0 -241
  1594. package/es/MessageToast-f9b0a234.js.map +0 -1
  1595. package/es/Modal-24a0bf4b.js +0 -288
  1596. package/es/Modal-24a0bf4b.js.map +0 -1
  1597. package/es/MonthView-5e633194.js +0 -208
  1598. package/es/MonthView-5e633194.js.map +0 -1
  1599. package/es/NavigationListItem-37edc23b.js +0 -150
  1600. package/es/NavigationListItem-37edc23b.js.map +0 -1
  1601. package/es/NumberInputText-f5d01daa.js +0 -220
  1602. package/es/NumberInputText-f5d01daa.js.map +0 -1
  1603. package/es/OverflowTabBar-87b36877.js +0 -69
  1604. package/es/OverflowTabBar-87b36877.js.map +0 -1
  1605. package/es/OverflowTabBarItem-a2684d2b.js +0 -86
  1606. package/es/OverflowTabBarItem-a2684d2b.js.map +0 -1
  1607. package/es/PictoChart-5b71908b.js +0 -744
  1608. package/es/PictoChart-5b71908b.js.map +0 -1
  1609. package/es/Popup-d8bf7f4d.js +0 -258
  1610. package/es/Popup-d8bf7f4d.js.map +0 -1
  1611. package/es/ProgressBar-2fa99d6f.js +0 -62
  1612. package/es/ProgressBar-2fa99d6f.js.map +0 -1
  1613. package/es/ProgressButton-9390070e.js +0 -56
  1614. package/es/ProgressButton-9390070e.js.map +0 -1
  1615. package/es/ProgressCircle-faf79b79.js +0 -48
  1616. package/es/ProgressCircle-faf79b79.js.map +0 -1
  1617. package/es/RadioItem-96cbf0ed.js +0 -113
  1618. package/es/RadioItem-96cbf0ed.js.map +0 -1
  1619. package/es/RadioSet-c51b3d56.js +0 -43
  1620. package/es/RadioSet-c51b3d56.js.map +0 -1
  1621. package/es/RemovableNavigationListItem-517d59b0.js +0 -24
  1622. package/es/RemovableNavigationListItem-517d59b0.js.map +0 -1
  1623. package/es/RemovableTabBarItem-87ba87ca.js +0 -36
  1624. package/es/RemovableTabBarItem-87ba87ca.js.map +0 -1
  1625. package/es/ReorderableTabBar-fc76a33b.js +0 -77
  1626. package/es/ReorderableTabBar-fc76a33b.js.map +0 -1
  1627. package/es/RevealToggleIcon-35baaadf.js +0 -26
  1628. package/es/RevealToggleIcon-35baaadf.js.map +0 -1
  1629. package/es/ScatterChart-449ec029.js +0 -103
  1630. package/es/ScatterChart-449ec029.js.map +0 -1
  1631. package/es/SectionedContent-3274d8f9.js +0 -64
  1632. package/es/SectionedContent-3274d8f9.js.map +0 -1
  1633. package/es/SelectMultiple-50995ef7.js +0 -1297
  1634. package/es/SelectMultiple-50995ef7.js.map +0 -1
  1635. package/es/SelectSingle-dcf0e9b1.js +0 -730
  1636. package/es/SelectSingle-dcf0e9b1.js.map +0 -1
  1637. package/es/SelectionCard-1ed9cf08.js +0 -16
  1638. package/es/SelectionCard-1ed9cf08.js.map +0 -1
  1639. package/es/SelectorAll-f52550a6.js +0 -69
  1640. package/es/SelectorAll-f52550a6.js.map +0 -1
  1641. package/es/Sheet-da412baf.js +0 -158
  1642. package/es/Sheet-da412baf.js.map +0 -1
  1643. package/es/SplitMenuButton-f44064de.js +0 -139
  1644. package/es/SplitMenuButton-f44064de.js.map +0 -1
  1645. package/es/StyledCard-362bd74b.js +0 -105
  1646. package/es/StyledCard-362bd74b.js.map +0 -1
  1647. package/es/StyledLabelValueLayout-d4881d3b.js +0 -18
  1648. package/es/StyledLabelValueLayout-d4881d3b.js.map +0 -1
  1649. package/es/TabBar-2858ff9c.js +0 -77
  1650. package/es/TabBar-2858ff9c.js.map +0 -1
  1651. package/es/TabBarMixed-a4beabce.js +0 -78
  1652. package/es/TabBarMixed-a4beabce.js.map +0 -1
  1653. package/es/TabBarMixedSeparator-51c518a1.js +0 -19
  1654. package/es/TabBarMixedSeparator-51c518a1.js.map +0 -1
  1655. package/es/Table-9919625b.js +0 -5497
  1656. package/es/Table-9919625b.js.map +0 -1
  1657. package/es/TableView-c97ef8ee.js +0 -31
  1658. package/es/TableView-c97ef8ee.js.map +0 -1
  1659. package/es/TagCloud-3f81d651.js +0 -824
  1660. package/es/TagCloud-3f81d651.js.map +0 -1
  1661. package/es/TextArea-2eb362ec.js +0 -160
  1662. package/es/TextArea-2eb362ec.js.map +0 -1
  1663. package/es/TextAreaAutosize-35a923c3.js +0 -244
  1664. package/es/TextAreaAutosize-35a923c3.js.map +0 -1
  1665. package/es/TimeComponentCanvas2D-9fd1f811.js +0 -568
  1666. package/es/TimeComponentCanvas2D-9fd1f811.js.map +0 -1
  1667. package/es/ToggleButton-cf8226d9.js +0 -28
  1668. package/es/ToggleButton-cf8226d9.js.map +0 -1
  1669. package/es/View-afe98b65.js +0 -167
  1670. package/es/View-afe98b65.js.map +0 -1
  1671. package/es/VisNoData-9ceb58f4.js +0 -32
  1672. package/es/VisNoData-9ceb58f4.js.map +0 -1
  1673. package/es/VisProgressiveLoader-36c728ac.js +0 -51
  1674. package/es/VisProgressiveLoader-36c728ac.js.map +0 -1
  1675. package/es/VisTabularDatatip-59629377.js +0 -24
  1676. package/es/VisTabularDatatip-59629377.js.map +0 -1
  1677. package/es/WindowOverlay-a07b2e24.js +0 -110
  1678. package/es/WindowOverlay-a07b2e24.js.map +0 -1
  1679. package/es/YearsGridView-d859edba.js +0 -187
  1680. package/es/YearsGridView-d859edba.js.map +0 -1
  1681. package/es/index-e33bcd96.js +0 -11
  1682. package/es/index-e33bcd96.js.map +0 -1
  1683. package/es/popupUtils-58411a98.js +0 -29
  1684. package/es/popupUtils-58411a98.js.map +0 -1
  1685. package/es/render-343557e9.js +0 -34
  1686. package/es/render-343557e9.js.map +0 -1
  1687. package/es/tabbableUtils-d6485f5e.js +0 -79
  1688. package/es/tabbableUtils-d6485f5e.js.map +0 -1
  1689. package/es/testData-d5181e9f.js +0 -256
  1690. package/es/testData-d5181e9f.js.map +0 -1
  1691. package/es/tooltipUtils-768450a7.js +0 -93
  1692. package/es/tooltipUtils-768450a7.js.map +0 -1
  1693. package/es/useCellNavigation-88a1754f.js +0 -126
  1694. package/es/useCellNavigation-88a1754f.js.map +0 -1
  1695. package/es/useChartDatatip-d6a6c5e1.js +0 -165
  1696. package/es/useChartDatatip-d6a6c5e1.js.map +0 -1
  1697. package/es/useChartMarquee-6587dbec.js +0 -293
  1698. package/es/useChartMarquee-6587dbec.js.map +0 -1
  1699. package/es/useColorScheme-c4e237ad.js +0 -19
  1700. package/es/useColorScheme-c4e237ad.js.map +0 -1
  1701. package/es/useCssVars-d72a8439.js +0 -58
  1702. package/es/useCssVars-d72a8439.js.map +0 -1
  1703. package/es/useCurrentBgColor-14745af3.js +0 -19
  1704. package/es/useCurrentBgColor-14745af3.js.map +0 -1
  1705. package/es/useCurrentKey-7287061f.js +0 -81
  1706. package/es/useCurrentKey-7287061f.js.map +0 -1
  1707. package/es/useDatatip-9635bc2f.js +0 -90
  1708. package/es/useDatatip-9635bc2f.js.map +0 -1
  1709. package/es/useDensity-c17603b2.js +0 -19
  1710. package/es/useDensity-c17603b2.js.map +0 -1
  1711. package/es/useFloating-953362cf.js +0 -1916
  1712. package/es/useFloating-953362cf.js.map +0 -1
  1713. package/es/useKeyboardEvents-2378a650.js +0 -78
  1714. package/es/useKeyboardEvents-2378a650.js.map +0 -1
  1715. package/es/useMeterDatatip-834e67e1.js +0 -73
  1716. package/es/useMeterDatatip-834e67e1.js.map +0 -1
  1717. package/es/useOutsideClick-fd9ad806.js +0 -101
  1718. package/es/useOutsideClick-fd9ad806.js.map +0 -1
  1719. package/es/usePopupAnimation-f017bc43.js +0 -85
  1720. package/es/usePopupAnimation-f017bc43.js.map +0 -1
  1721. package/es/usePrefixSuffix-5a74f2c4.js +0 -70
  1722. package/es/usePrefixSuffix-5a74f2c4.js.map +0 -1
  1723. package/es/usePressClick-2ec8e098.js +0 -31
  1724. package/es/usePressClick-2ec8e098.js.map +0 -1
  1725. package/es/useReorderableItem-22ea4c46.js +0 -268
  1726. package/es/useReorderableItem-22ea4c46.js.map +0 -1
  1727. package/es/useRovingTabIndexContainer-bc7ae447.js +0 -98
  1728. package/es/useRovingTabIndexContainer-bc7ae447.js.map +0 -1
  1729. package/es/useScale-83881775.js +0 -19
  1730. package/es/useScale-83881775.js.map +0 -1
  1731. package/es/useSelectCommon-34645d9a.js +0 -686
  1732. package/es/useSelectCommon-34645d9a.js.map +0 -1
  1733. package/es/useSelectDrill-88337c1a.js +0 -104
  1734. package/es/useSelectDrill-88337c1a.js.map +0 -1
  1735. package/es/useSelection-01b28be6.js +0 -186
  1736. package/es/useSelection-01b28be6.js.map +0 -1
  1737. package/es/useSelection-649fd4f1.js +0 -239
  1738. package/es/useSelection-649fd4f1.js.map +0 -1
  1739. package/es/useTestId-9b504481.js +0 -21
  1740. package/es/useTestId-9b504481.js.map +0 -1
  1741. package/es/useTheme-93c07059.js +0 -19
  1742. package/es/useTheme-93c07059.js.map +0 -1
  1743. package/es/useThemeInterpolations-8dd8029f.js +0 -57
  1744. package/es/useThemeInterpolations-8dd8029f.js.map +0 -1
  1745. package/es/useTooltip-89ca3f3e.js +0 -424
  1746. package/es/useTooltip-89ca3f3e.js.map +0 -1
  1747. package/es/useTooltipOnTruncation-175bf8a6.js +0 -27
  1748. package/es/useTooltipOnTruncation-175bf8a6.js.map +0 -1
  1749. package/es/useTranslationBundle-09302c20.js +0 -29
  1750. package/es/useTranslationBundle-09302c20.js.map +0 -1
  1751. package/es/useUser-1cd223a9.js +0 -19
  1752. package/es/useUser-1cd223a9.js.map +0 -1
  1753. package/es/useVisDragModeControls-40fc83b5.js +0 -87
  1754. package/es/useVisDragModeControls-40fc83b5.js.map +0 -1
  1755. package/es/useVisEvents-8877743b.js +0 -153
  1756. package/es/useVisEvents-8877743b.js.map +0 -1
  1757. package/es/withDirectionIcon-19a1d777.js +0 -14
  1758. package/es/withDirectionIcon-19a1d777.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputDateMask-55fcbf50.js","sources":["../../src/UNSAFE_InputDateMask/DateSegment.tsx","../../src/UNSAFE_InputDateMask/LiteralSegment.tsx","../../src/UNSAFE_InputDateMask/dateReducer.ts","../../src/UNSAFE_InputDateMask/useDateFieldHandlers.ts","../../src/UNSAFE_InputDateMask/DateField.tsx","../../src/UNSAFE_InputDateMask/useDateField.ts","../../src/UNSAFE_InputDateMask/InputDateMaskContext.ts","../../src/UNSAFE_InputDateMask/InputDateMask.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 */\nimport type { RefObject } from 'preact';\nimport { useCallback, useEffect, useRef } from 'preact/hooks';\nimport { AriaAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { BundleType } from '#resources/nls/bundle';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { DateFieldAction } from './dateReducer';\nimport { getClientHints } from '#utils/PRIVATE_clientHints';\nimport { EditableDateSegment } from './types';\nimport { isBackspaceOrDelete, isSelectAll } from '#utils/PRIVATE_keyboardUtils';\nimport { isNumberOnlyString } from '#utils/PRIVATE_dayUtils';\nimport { segmentStyles } from './themes/SegmentStyles.css';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\n\ntype AriaProps = Pick<\n AriaAttributesSignalExcluded,\n 'aria-label' | 'aria-valuemax' | 'aria-valuemin' | 'aria-valuenow' | 'aria-valuetext'\n>;\n\ntype Props = AriaProps & {\n /** A ref that is provided for the first segment in a date field. */\n inputRef?: RefObject<HTMLDivElement>;\n\n /**\n * True if the segment is complete in the sense that it contains a complete valid value.\n * For instance, entering '0' and then '1-9' is considered a complete value for month and day.\n * Also true if typing any additional digit would cause the segment value to exceed the max.\n */\n isComplete?: boolean;\n\n /**\n * True if the segment is disabled.\n */\n isDisabled?: boolean;\n\n /**\n * True if the segment should be hidden.\n */\n isHidden?: boolean;\n\n /**\n * True if the segment is highlighted.\n */\n isHighlighted?: boolean;\n\n /**\n * True if the segment is invalid.\n */\n isInvalid?: boolean;\n\n /**\n * Specifies for accessibility purposes whether a value is required.\n */\n isRequired?: boolean;\n\n /**\n * True if the segment is selected.\n */\n isSelected?: boolean;\n\n /**\n * Placeholder displayed when the segment has no display value.\n */\n placeholder?: string;\n\n /**\n * The text to display for this segment.\n */\n text?: string;\n\n /**\n * The segment of a calendar date which is being represented, i.e. the month, day, or year.\n */\n type: EditableDateSegment;\n\n /**\n * Callback invoked when a change to the segment is requested via user action, such as typing\n * a new value or pressing the Backspace or Delete keys.\n */\n onChange?: (action: DateFieldAction) => void;\n};\n\n// Used to disable browser cut and paste, which don't really work with segments (copy is fine).\nconst preventDefaultHandler = (e: Event) => {\n e.preventDefault();\n};\n\nconst isIos = () => getClientHints().platform === 'ios';\n\n/**\n * A DateSegment renders a part of a calendar date, e.g. the day, month, or year.\n * It can be used as a spinbutton to step or spin its value.\n */\nexport const DateSegment = ({\n 'aria-label': ariaLabel,\n 'aria-valuemax': ariaValueMax,\n 'aria-valuemin': ariaValueMin,\n 'aria-valuenow': ariaValueNow,\n 'aria-valuetext': ariaValueText,\n inputRef,\n isComplete,\n isDisabled,\n isHidden,\n isHighlighted,\n isInvalid,\n isRequired,\n isSelected,\n onChange,\n placeholder,\n text,\n type\n}: Props) => {\n const hasDisplayValue = text && text.length > 0;\n const rootClasses = classNames([\n segmentStyles.base,\n isSelected && segmentStyles.selected,\n isHighlighted && segmentStyles.highlighted\n ]);\n const placeholderClasses = classNames([\n segmentStyles.placeholder,\n isHidden || hasDisplayValue ? segmentStyles.hidden : segmentStyles.notHidden\n ]);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const emptySegmentValueText = translations.inputDateMask_empty_segment();\n\n // If a ref was passed in, use it, otherwise get a ref.\n const sRef = useRef<HTMLDivElement>(null);\n const segmentRef = inputRef ?? sRef;\n\n const hasLeadingZero = useRef<boolean>(false);\n const { locale } = useUser();\n\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (\n isDisabled ||\n event.key === 'Tab' ||\n event.key === 'ArrowLeft' ||\n event.key === 'ArrowRight' ||\n event.key === 'Enter' ||\n isSelectAll(event)\n ) {\n // Let the event pass through.\n return;\n }\n\n if (isHighlighted) {\n // If date is selected, ignore edits and let backspace/delete pass through to clear.\n if (isBackspaceOrDelete(event) || event.key === 'Backspace') {\n return;\n }\n } else if (event.key === '0' && (isComplete || text === undefined)) {\n // Typing '0' is considered a leading zero if the segment is complete, in which case\n // the user is typing a new value, or if there is no current value.\n hasLeadingZero.current = true;\n } else if (isNumberOnlyString(event.key)) {\n onChange?.({\n actionType: 'updateSegment',\n data: { type, text: event.key, hasLeadingZero: hasLeadingZero.current, locale }\n });\n hasLeadingZero.current = false;\n } else if (isBackspaceOrDelete(event) || event.key === 'Backspace') {\n // Android sends Backspace as event.key, not event.code, so check for it.\n onChange?.({ actionType: 'clearSegment', data: { type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'ArrowUp') {\n onChange?.({ actionType: 'step', data: { direction: 'increase', locale, type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'ArrowDown') {\n onChange?.({ actionType: 'step', data: { direction: 'decrease', locale, type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'PageUp') {\n onChange?.({ actionType: 'page', data: { direction: 'increase', locale, type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'PageDown') {\n onChange?.({ actionType: 'page', data: { direction: 'decrease', locale, type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'Home') {\n onChange?.({ actionType: 'goToHome', data: { locale, type } });\n hasLeadingZero.current = false;\n } else if (event.key === 'End') {\n onChange?.({ actionType: 'goToEnd', data: { locale, type } });\n hasLeadingZero.current = false;\n }\n event.preventDefault();\n event.stopPropagation();\n },\n [isComplete, isDisabled, isHighlighted, locale, onChange, text, type]\n );\n\n // Used to focus the segment when isSelected is true.\n useEffect(() => {\n if (isSelected) {\n segmentRef.current?.focus();\n }\n }, [isSelected, segmentRef]);\n\n // This attribute is used to distinguish between segments when clicked (see DateField.tsx).\n const customDataAttribute = { 'data-segment': [type] };\n\n // If ariaValueText is undefined, substitute a string that indicates the segment is empty.\n // If ariaValueNow and ariaValueText represent the same value, omit the value text; this\n // is the same as what we do in NumberInputText.\n const valueText =\n ariaValueText === undefined\n ? emptySegmentValueText\n : ariaValueNow?.toString() === ariaValueText\n ? undefined\n : ariaValueText;\n\n return (\n // Introduce a div wrapper around the contentEditable element to prevent it from grabbing focus.\n // https://stackoverflow.com/questions/34354085/clicking-outside-a-contenteditable-div-stills-give-focus-to-it\n // JET-64874: We change the segment's role to \"textbox\" on iOS to work around a VoiceOver bug.\n <div>\n <div\n ref={segmentRef}\n role={isIos() ? 'textbox' : 'spinbutton'}\n aria-disabled={isDisabled}\n aria-invalid={isInvalid || undefined}\n aria-label={ariaLabel}\n aria-required={isRequired}\n aria-valuemin={isIos() ? undefined : ariaValueMin}\n aria-valuemax={isIos() ? undefined : ariaValueMax}\n aria-valuenow={isIos() ? undefined : ariaValueNow}\n aria-valuetext={isIos() ? undefined : valueText}\n autocapitalize=\"off\"\n autocorrect=\"off\"\n class={rootClasses}\n contentEditable={!isDisabled}\n {...customDataAttribute}\n enterkeyhint={isDisabled ? undefined : 'done'}\n inputMode={isDisabled ? 'none' : 'numeric'}\n onCut={preventDefaultHandler}\n onKeyDown={onKeyDown}\n onPaste={preventDefaultHandler}\n spellcheck={false}\n tabIndex={isSelected ? 0 : -1}>\n <span aria-hidden=\"true\" class={placeholderClasses} {...customDataAttribute}>\n {placeholder}\n </span>\n {text}\n </div>\n </div>\n );\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { segmentStyles } from './themes/SegmentStyles.css';\n\ntype Props = {\n /**\n * True if the segment should be hidden.\n */\n isHidden?: boolean;\n\n /**\n * True if the segment should be highlighted.\n */\n isHighlighted?: boolean;\n\n /**\n * True if the literal is part of a date placeholder, such as mm/dd/yyyy.\n * If the date is partially specified or complete, this is false.\n */\n isPlaceholder?: boolean;\n\n /**\n * The text to display for this segment.\n */\n text: string;\n};\n\n/**\n * LiteralSegment is used to represent a literal separator in a calendar date,\n * such as the '/' in 11/29/2023.\n */\nexport const LiteralSegment = ({ isHidden, isHighlighted, isPlaceholder, text }: Props) => {\n const spanClasses = classNames([\n segmentStyles.literalBase,\n isPlaceholder && segmentStyles.placeholder,\n isHighlighted && segmentStyles.highlighted,\n isHidden ? segmentStyles.hidden : segmentStyles.notHidden\n ]);\n\n return (\n <span aria-hidden=\"true\" class={spanClasses}>\n {text}\n </span>\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 type { DateFieldState, DateSegmentState } from './useDateField';\nimport { BCP47Locale } from '#UNSAFE_IntlDateTime';\nimport { CalendarDate, EditableDateSegment, IsoMonth } from './types';\nimport { getMonthName, getTodayAsCalendarDate } from '#utils/PRIVATE_dayUtils';\nimport { getDaysInMonth, getMonthsInYear, MAX_ISO_YEAR } from '#utils/UNSAFE_calendarDateUtils';\n\ntype DateFieldActionData = Partial<DateSegmentState> & {\n direction?: 'increase' | 'decrease';\n hasLeadingZero?: boolean;\n locale?: BCP47Locale;\n};\n\ntype DateFieldAction = {\n actionType:\n | 'clearDate'\n | 'clearSegment'\n | 'commit'\n | 'goToEnd'\n | 'goToHome'\n | 'page'\n | 'selectDateOrSegment'\n | 'selectFirst'\n | 'selectNext'\n | 'selectPrevious'\n | 'selectSegment'\n | 'step'\n | 'updateSegment';\n data?: DateFieldActionData;\n};\n\ntype ResetAction = {\n actionType: 'reset';\n data: DateFieldState;\n};\n\ntype DateReducerAction = DateFieldAction | ResetAction;\n\n/**\n * Reducer function for updating DateFieldState per the specified DateFieldAction.\n * @param state\n * @param action\n */\nconst dateReducer = (state: DateFieldState, action: DateReducerAction) => {\n // On mount, the reducer is initialized with initial state derived from the DateField's value.\n // If that value is changed programmatically afterwards, the only way to push that update\n // into the reducer is to define a \"reset\" action.\n if (action.actionType === 'reset') {\n return action.data;\n }\n\n const segmentType = action.data?.type!;\n const segmentState = findSegment(state.segments, segmentType);\n\n switch (action.actionType) {\n case 'clearDate': {\n const updatedSegments = selectFirst(clearDate(state.segments), state.orderedSegments);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'clearSegment': {\n const updatedSegment = clearSegment(segmentState);\n return createDateFieldState(state, segmentType, updatedSegment);\n }\n case 'commit': {\n const updatedSegments = clearSelectionAndComplete(state.segments);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'goToEnd': {\n const updatedSegment = goToEnd(\n segmentType,\n segmentState,\n state.segments,\n action.data?.locale!\n );\n return createDateFieldState(state, segmentType, updatedSegment, false);\n }\n case 'goToHome': {\n const updatedSegment = goToHome(\n segmentType,\n segmentState,\n state.segments,\n action.data?.locale!\n );\n return createDateFieldState(state, segmentType, updatedSegment, false);\n }\n case 'page': {\n const direction = action.data?.direction;\n const locale = action.data?.locale!;\n const updatedSegment = doStepOrPage(\n segmentType,\n segmentState,\n state.segments,\n 'page',\n direction,\n locale\n );\n return createDateFieldState(state, segmentType, updatedSegment, false);\n }\n case 'selectDateOrSegment': {\n return selectDateOrSegment(state);\n }\n case 'selectFirst': {\n const updatedSegments = selectFirst(state.segments, state.orderedSegments);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'selectNext': {\n const updatedSegments = selectNext(state.segments, state.orderedSegments);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'selectPrevious': {\n const updatedSegments = selectPrevious(state.segments, state.orderedSegments);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'selectSegment': {\n const updatedSegments = selectSegment(state.segments, segmentType);\n return createDateFieldStateWithSelectedDate(state, updatedSegments, false);\n }\n case 'step': {\n const direction = action.data?.direction;\n const locale = action.data?.locale!;\n const updatedSegment = doStepOrPage(\n segmentType,\n segmentState,\n state.segments,\n 'step',\n direction,\n locale\n );\n return createDateFieldState(state, segmentType, updatedSegment, false);\n }\n case 'updateSegment': {\n const updatedSegment = updateSegment(segmentType, segmentState, action, state.segments);\n return createDateFieldState(state, segmentType, updatedSegment);\n }\n default: {\n throw new Error('Unknown action type');\n }\n }\n};\n\nconst stringToNumber = (s: string) => +s;\nconst numberToString = (n: number) => n.toString();\nconst withinRange = (n: number, min: number, max: number) => n >= min && n <= max;\n\nconst findSegment = (segments: DateSegmentState[], type: EditableDateSegment): DateSegmentState => {\n return segments.find((segment) => segment.type === type)!;\n};\n\n// A segment is considered complete if appending a zero to the current value causes it\n// to exceed the max. For instance, if you type 2-9 into month or 4-9 into day, the\n// segment is complete because you can't type any more digits and have it be a valid value.\nconst isSegmentComplete = (val: number, max: number) => {\n const num = stringToNumber(numberToString(val) + '0');\n return num > max;\n};\n\n// A date is considered complete if all of its segments have values.\nconst isDateComplete = (allSegments: DateSegmentState[]) => {\n return allSegments.every((seg) => seg.text && seg.text.length > 0);\n};\n\n// A date is considered a partial date if at least one segment has a value.\nconst isPartialDate = (allSegments: DateSegmentState[]) => {\n return allSegments.some((seg) => seg['aria-valuenow'] !== undefined);\n};\n\n// Construct a calendar date that reflects the values of each segment.\n// If none of the segments have a value, return undefined.\nconst createCalendarDateFromSegments = (segments: DateSegmentState[]) => {\n const hasAnySegmentWithAValue = isPartialDate(segments);\n if (!hasAnySegmentWithAValue) {\n return undefined;\n }\n\n // This returns something that looks like [ {month: 12}, {day: 25}, {year: 2020} ].\n // Note: we use the aria-valuenow to get the current value as a number (not string).\n const segmentValues = segments.map((seg) => {\n return { [seg.type]: seg['aria-valuenow'] };\n });\n\n // Iterate over segmentValues and spread each value to get {month: 12, day:25, year: 2020}.\n const iterator = segmentValues.values();\n let cd: CalendarDate = {};\n for (const segValue of iterator) {\n cd = { ...cd, ...segValue };\n }\n return cd;\n};\n\n// Find the current value for year.\nconst getYearValue = (segments: DateSegmentState[]) => {\n const yearState = findSegment(segments, 'year');\n return yearState['aria-valuenow'];\n};\n\n// Find the current value for month.\nconst getMonthValue = (segments: DateSegmentState[]) => {\n const monthState = findSegment(segments, 'month');\n return monthState['aria-valuenow'] as IsoMonth;\n};\n\n// Determine the aria-valuetext for the given month, which includes the month name.\nconst getMonthAria = (locale: BCP47Locale, month: IsoMonth, year: number | undefined) => {\n const monthName = getMonthName(locale, month, year ?? '*', 'long');\n return `${month} - ${monthName}`;\n};\n\n// Return a copy of the ordered segments array.\nconst getOrderedSegments = (currentState: DateFieldState) => {\n return [...currentState.orderedSegments];\n};\n\n// Replace the updated segment and return a new DateSegmentState[].\nconst replaceDateSegment = (\n existingSegments: DateSegmentState[],\n updatedSegmentType: EditableDateSegment,\n updatedSegment: DateSegmentState\n) => {\n return existingSegments.map((seg) => (seg.type === updatedSegmentType ? updatedSegment : seg));\n};\n\n// Return a new DateSegmentState[] that reflects changes across all segments.\n// When you change the month this can affect the day, for instance.\nconst createDateSegmentStates = (\n existingSegments: DateSegmentState[],\n orderedSegments: EditableDateSegment[],\n updatedSegmentType: EditableDateSegment,\n updatedSegment: DateSegmentState,\n autoAdvance: boolean\n) => {\n const modifiedSegments = replaceDateSegment(existingSegments, updatedSegmentType, updatedSegment);\n let updatedSegments = modifiedSegments;\n\n if (updatedSegmentType === 'month' || updatedSegmentType === 'year') {\n // If month was changed, update the day as needed; this includes adjusting the\n // day value if it now exceeds the max number of days in the month.\n // If year was changed, that can also affect the max number of days (if month is February).\n const daySeg = findSegment(modifiedSegments, 'day');\n if (daySeg) {\n const monthValue =\n updatedSegmentType == 'month'\n ? (updatedSegment['aria-valuenow'] as IsoMonth)\n : getMonthValue(modifiedSegments);\n const yearValue =\n updatedSegmentType === 'year'\n ? updatedSegment['aria-valuenow']\n : getYearValue(modifiedSegments);\n const dayMax = getDaysInMonth(monthValue ?? '*', yearValue ?? '*');\n const currentDay = daySeg['aria-valuenow'];\n const dayValue = !!currentDay && currentDay > dayMax ? dayMax : currentDay;\n const dayValueStr = !!dayValue ? numberToString(dayValue) : undefined;\n const updatedDaySeg = {\n ...daySeg,\n 'aria-valuemax': dayMax,\n 'aria-valuenow': dayValue,\n 'aria-valuetext': dayValueStr,\n text: dayValueStr\n };\n updatedSegments = replaceDateSegment(modifiedSegments, 'day', updatedDaySeg);\n }\n }\n\n // If the updatedSegment is complete, automatically select the next segment.\n updatedSegments =\n updatedSegment.isComplete && autoAdvance\n ? selectNext(updatedSegments, orderedSegments)\n : updatedSegments;\n\n return updatedSegments;\n};\n\n// Construct a new DateFieldState from a set of updated segments.\nconst createDateFieldStateFromSegments = (\n currentState: DateFieldState,\n updatedSegments: DateSegmentState[]\n) => {\n return {\n currentDate: createCalendarDateFromSegments(updatedSegments),\n isCompleteDate: isDateComplete(updatedSegments),\n isDateSelected: currentState.isDateSelected,\n isPartialDate: isPartialDate(updatedSegments),\n orderedSegments: getOrderedSegments(currentState),\n segments: updatedSegments\n };\n};\n\n// Construct a new DateFieldState given an updated segment, which may affect other segments.\nconst createDateFieldState = (\n currentState: DateFieldState,\n updatedSegmentType: EditableDateSegment,\n updatedSegment: DateSegmentState,\n autoAdvance = true\n): DateFieldState => {\n const updatedSegments = createDateSegmentStates(\n currentState.segments,\n currentState.orderedSegments,\n updatedSegmentType,\n updatedSegment,\n autoAdvance\n );\n\n return createDateFieldStateFromSegments(currentState, updatedSegments);\n};\n\n// Return a new copy of the segment with the value cleared.\nconst clearSegment = (segmentState: DateSegmentState) => {\n return {\n ...segmentState,\n 'aria-valuetext': undefined,\n 'aria-valuenow': undefined,\n text: undefined,\n isComplete: false\n };\n};\n\n// Return a new copy of segments with all values cleared and aria-valuemax adjusted.\nconst clearDate = (segments: DateSegmentState[]) => {\n return segments.map((segmentState) => {\n const cleared = clearSegment(segmentState);\n const valueMax =\n cleared.type === 'year'\n ? MAX_ISO_YEAR\n : cleared.type === 'month'\n ? getMonthsInYear('*')\n : getDaysInMonth('*', '*');\n return { ...cleared, 'aria-valuemax': valueMax };\n });\n};\n\n// Return a new copy of the segment with updated values.\nconst updateSegment = (\n segmentType: EditableDateSegment,\n segmentState: DateSegmentState,\n action: DateFieldAction,\n segments: DateSegmentState[]\n) => {\n const actionText = action.data?.text!;\n const hasLeadingZero = action.data?.hasLeadingZero;\n const locale = action.data?.locale!;\n const minValue = segmentState['aria-valuemin']!;\n const maxValue = segmentState['aria-valuemax']!;\n const wasComplete = segmentState.isComplete;\n\n // If the segment was already complete, replace any existing text with actionText.\n // Otherwise append actionText onto existing text to get the requested string.\n // For instance if the existing text is '1' and actionText (i.e. that the user typed)\n // is '2' then requestedValStr is '12'.\n const requestedValStr = wasComplete ? actionText : segmentState.text + actionText;\n\n // If the requested value is out of range, discard the existing text/value and only\n // keep the new one. Check if the segment is complete.\n const requestedVal = stringToNumber(requestedValStr);\n const inRange = withinRange(requestedVal, minValue, maxValue);\n const newValStr = inRange ? requestedValStr : actionText;\n const newVal = inRange ? requestedVal : stringToNumber(actionText);\n const isComplete =\n isSegmentComplete(newVal, maxValue) || (!!hasLeadingZero && segmentType !== 'year');\n\n // For month changes, aria-valuetext includes the month name.\n const ariaValueText =\n segmentType === 'month'\n ? getMonthAria(locale, newVal as IsoMonth, getYearValue(segments))\n : newValStr;\n\n // Create a new segment state that reflects the updated value.\n return {\n ...segmentState,\n 'aria-valuetext': ariaValueText,\n 'aria-valuenow': newVal,\n text: newValStr,\n isComplete\n };\n};\n\n// Return a new DateSegmentState[] where the specified segment is selected, all others cleared.\nconst selectSegment = (segments: DateSegmentState[], segmentType: EditableDateSegment) => {\n return segments.map((seg) => {\n return { ...seg, isSelected: seg.type === segmentType ? true : false };\n });\n};\n\n// Return a new DateSegmentState[] where the first segment is selected.\nconst selectFirst = (segments: DateSegmentState[], orderedSegments: EditableDateSegment[]) => {\n return selectSegment(segments, orderedSegments[0]);\n};\n\n// Find the index of the selected segment in the ordered list; return -1 if there is no selection.\nconst getSelectedSegmentIndex = (\n segments: DateSegmentState[],\n orderedSegments: EditableDateSegment[]\n) => {\n const sel = segments.find((seg) => seg.isSelected === true);\n return sel === undefined ? -1 : orderedSegments.findIndex((type) => type === sel.type);\n};\n\n// Convenience function to mark the selected segment complete.\nconst markSelectedSegmentComplete = (segments: DateSegmentState[]) => {\n return segments.map((seg) => (seg.isSelected ? { ...seg, isComplete: true } : seg));\n};\n\n// Select the segment following the one that is currently selected.\nconst selectNext = (segments: DateSegmentState[], orderedSegments: EditableDateSegment[]) => {\n const selectedIndex = getSelectedSegmentIndex(segments, orderedSegments);\n const max = orderedSegments.length - 1;\n\n // If we're already at the last position, do nothing. Note if nothing was currently selected\n // then selectedIndex is -1. The first segment will be selected.\n return selectedIndex === max\n ? segments\n : selectSegment(markSelectedSegmentComplete(segments), orderedSegments[selectedIndex + 1]);\n};\n\n// Select the segment prior to the one that is currently selected.\nconst selectPrevious = (segments: DateSegmentState[], orderedSegments: EditableDateSegment[]) => {\n const selectedIndex = getSelectedSegmentIndex(segments, orderedSegments);\n return selectedIndex === 0\n ? segments\n : selectedIndex === -1\n ? selectFirst(segments, orderedSegments)\n : selectSegment(markSelectedSegmentComplete(segments), orderedSegments[selectedIndex - 1]);\n};\n\n// Return a new DateSegmentState[] where all segments are unselected and any values are\n// marked complete. We want to do this when the user commits the DateField value (on blur).\nconst clearSelectionAndComplete = (segments: DateSegmentState[]) => {\n return segments.map((seg) => {\n return { ...seg, isSelected: false, isComplete: !!seg.text };\n });\n};\n\n// Return a new DateSegmentState[] where all segments are unselected.\nconst clearSelection = (segments: DateSegmentState[]) => {\n return segments.map((seg) => {\n return { ...seg, isSelected: false };\n });\n};\n\n// Return a new DateFieldState where the entire date is selected if the date is complete,\n// or the first segment is selected.\nconst selectDateOrSegment = (currentState: DateFieldState) => {\n if (currentState.isCompleteDate) {\n return createDateFieldStateWithSelectedDate(\n currentState,\n clearSelection(currentState.segments),\n true\n );\n } else {\n const updatedSegments = selectFirst(currentState.segments, currentState.orderedSegments);\n return createDateFieldStateFromSegments(currentState, updatedSegments);\n }\n};\n\n// Create a new DateFieldState from the updatedSegments and isDateSelected params.\nconst createDateFieldStateWithSelectedDate = (\n currentState: DateFieldState,\n updatedSegments: DateSegmentState[],\n isDateSelected: boolean\n) => {\n return {\n currentDate: createCalendarDateFromSegments(updatedSegments),\n isCompleteDate: isDateComplete(updatedSegments),\n isDateSelected,\n isPartialDate: isPartialDate(updatedSegments),\n orderedSegments: getOrderedSegments(currentState),\n segments: updatedSegments\n };\n};\n\nconst YEAR_HOME_VALUE = 1900;\nconst YEAR_END_VALUE = 2100;\n\n// If a segment is empty, use today's date as a starting point for any step or page action.\nconst getDefaultSegmentValue = (segmentType: EditableDateSegment) => {\n const { year: yearDefault, month: monthDefault, day: dayDefault } = getTodayAsCalendarDate();\n const defaults = { year: yearDefault, month: monthDefault, day: dayDefault };\n return defaults[segmentType];\n};\n\n// Get the minimum value for the segment.\nconst getHomeSegmentValue = (segmentType: EditableDateSegment, segmentState: DateSegmentState) => {\n return segmentType === 'year' ? YEAR_HOME_VALUE : segmentState['aria-valuemin']!;\n};\n\n// Get the maximum value for the segment (for year, this is YEAR_END_VALUE).\nconst getEndSegmentValue = (segmentType: EditableDateSegment, segmentState: DateSegmentState) => {\n return segmentType === 'year' ? YEAR_END_VALUE : segmentState['aria-valuemax']!;\n};\n\n// Return the result of stepping currentValue in the requested direction, taking into account min and max.\nconst getSteppedSegmentValue = (\n currentValue: number,\n direction: DateFieldActionData['direction'],\n min: number,\n max: number\n) => {\n const newValue =\n direction === 'increase'\n ? currentValue + 1 > max\n ? min\n : currentValue + 1\n : currentValue - 1 < min\n ? max\n : currentValue - 1;\n return newValue;\n};\n\n// Return the result of paging the value up or down, taking into account min and max.\nconst getPagedSegmentValue = (\n currentValue: number,\n direction: DateFieldActionData['direction'],\n min: number,\n max: number,\n segmentType: EditableDateSegment\n) => {\n const step = segmentType === 'month' ? 2 : segmentType === 'year' ? 5 : 7;\n const newValue =\n direction === 'increase'\n ? currentValue + step > max\n ? (currentValue + step) % max\n : currentValue + step\n : currentValue - step < min\n ? currentValue - step + max\n : currentValue - step;\n return newValue;\n};\n\n// Create a new segment with an updated value from a keyboard action such as step, page, Home, or End.\nconst createSegmentFromKeyboardAction = (\n newVal: number,\n locale: BCP47Locale,\n segmentType: EditableDateSegment,\n segmentState: DateSegmentState,\n segments: DateSegmentState[]\n) => {\n const newValStr = numberToString(newVal);\n // For month changes, aria-valuetext includes the month name.\n const ariaValueText =\n segmentType === 'month'\n ? getMonthAria(locale, newVal as IsoMonth, getYearValue(segments))\n : newValStr;\n\n // Create a new segment state that reflects the updated value.\n // After any keyboard action, the value is complete so that if the user types anything,\n // it will replace the stepped value.\n return {\n ...segmentState,\n 'aria-valuetext': ariaValueText,\n 'aria-valuenow': newVal,\n text: newValStr,\n isComplete: true\n };\n};\n\n// Set the segment to its minimum value.\nconst goToHome = (\n segmentType: EditableDateSegment,\n segmentState: DateSegmentState,\n segments: DateSegmentState[],\n locale: BCP47Locale\n) => {\n const newValue = getHomeSegmentValue(segmentType, segmentState);\n return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);\n};\n\n// Set the segment to its maximum value.\nconst goToEnd = (\n segmentType: EditableDateSegment,\n segmentState: DateSegmentState,\n segments: DateSegmentState[],\n locale: BCP47Locale\n) => {\n const newValue = getEndSegmentValue(segmentType, segmentState);\n return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);\n};\n\n// Step or page a segment's value.\nconst doStepOrPage = (\n segmentType: EditableDateSegment,\n segmentState: DateSegmentState,\n segments: DateSegmentState[],\n type: 'step' | 'page',\n direction: DateFieldActionData['direction'],\n locale: BCP47Locale\n) => {\n const valueNow = segmentState['aria-valuenow'];\n const min = segmentState['aria-valuemin']!;\n const max = segmentState['aria-valuemax']!;\n const newValue =\n valueNow === undefined\n ? getDefaultSegmentValue(segmentType)\n : type === 'page'\n ? getPagedSegmentValue(valueNow, direction, min, max, segmentType)\n : getSteppedSegmentValue(valueNow, direction, min, max);\n\n return createSegmentFromKeyboardAction(newValue, locale, segmentType, segmentState, segments);\n};\n\nexport { dateReducer, getMonthAria, numberToString, stringToNumber };\nexport type { DateFieldAction, DateFieldActionData };\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 type { ComponentProps, RefObject } from 'preact';\nimport { Dispatch, MutableRef, useCallback, useEffect, useRef } from 'preact/hooks';\nimport { calendarDatesAreDifferent } from '#utils/PRIVATE_dayUtils';\nimport { DateFieldAction } from './dateReducer';\nimport { DateFieldState } from './useDateField';\nimport { CalendarDate, EditableDateSegment } from './types';\nimport { getClientHints } from '#utils/PRIVATE_clientHints';\nimport { isBackspaceOrDelete, isSelectAll } from '#utils/PRIVATE_keyboardUtils';\nimport { InputDateMask } from './InputDateMask';\nimport { useDoubleTap } from '#hooks/UNSAFE_useDoubleTap';\nimport { useTabbableMode } from '#hooks/UNSAFE_useTabbableMode';\n\ntype InputDateMaskProps = ComponentProps<typeof InputDateMask>;\n\ntype Props = {\n dateResetRef: MutableRef<boolean>;\n direction: 'ltr' | 'rtl';\n dispatch: Dispatch<DateFieldAction>;\n groupRef?: RefObject<HTMLDivElement>;\n isDisabled?: boolean;\n isFocused?: boolean;\n isInputFocused?: boolean;\n onCommit: InputDateMaskProps['onCommit'];\n onInput: InputDateMaskProps['onInput'];\n state: DateFieldState;\n value?: CalendarDate;\n};\n\nfunction isMobile() {\n const deviceType = getClientHints().deviceType;\n return deviceType === 'phone' || deviceType === 'tablet';\n}\n\n/**\n * A hook that creates various handlers and manages effects for a DateField.\n */\nconst useDateFieldHandlers = ({\n dateResetRef,\n direction,\n dispatch,\n groupRef,\n isDisabled,\n isFocused,\n isInputFocused,\n onCommit,\n onInput,\n state,\n value: currentValue\n}: Props) => {\n const { tabbableModeProps } = useTabbableMode();\n const { tabIndex: tabbableModeIndex } = tabbableModeProps;\n const anySegmentSelected = state.segments.some((segment) => !!segment.isSelected);\n\n // If any segment is selected, it is contenteditable=true and it has the focus. If you shift-Tab, you will\n // land on the outer div (DateField) first meaning it takes 2 shift-tab keys to get the previous element.\n // To prevent this, if any segment is selected the tabindex on the div is set to -1.\n // We also need to set tabindex to -1 for the disabled case, since we are dealing with a div instead\n // of an intrinsic input and have to handle it directly.\n const updatedTabIndex = tabbableModeIndex === -1 || anySegmentSelected || isDisabled ? -1 : 0;\n\n // Keep track of the last changed and last committed date values.\n const lastDateRef = useRef<CalendarDate | undefined>(state.currentDate);\n const lastCommittedDateRef = useRef<CalendarDate | undefined>(state.currentDate);\n // Keep track whether the date was cleared.\n const dateClearedRef = useRef<boolean>(false);\n const lastFocusedRef = useRef<boolean>(!!isFocused);\n\n // If the value was programmatically changed (see useDateField.ts), then update the\n // last changed and last committed date refs to stay in sync.\n // currentValue is the controlled value passed from the parent.\n if (dateResetRef.current) {\n lastDateRef.current = currentValue;\n lastCommittedDateRef.current = currentValue;\n }\n\n // Handle requested segment changes by calling the reducer dispatch function.\n const onChange = useCallback(\n (action: DateFieldAction) => {\n dispatch(action);\n },\n [dispatch]\n );\n\n // If the user clicked on a segment, dispatch a request to select it.\n // If they clicked on the date field itself, select the first segment.\n const onClick = useCallback(\n (e: Event) => {\n const segmentType = (e.target as HTMLElement).getAttribute(\n 'data-segment'\n ) as EditableDateSegment;\n !!segmentType\n ? dispatch({ actionType: 'selectSegment', data: { type: segmentType } })\n : dispatch({ actionType: 'selectFirst' });\n },\n [dispatch]\n );\n\n // If complete, select the date.\n const selectAll = useCallback(\n (isGroupFocus = true) => {\n if (state.isCompleteDate) {\n dispatch({ actionType: 'selectDateOrSegment' });\n // Focus can end up in different places depending on if the user selected a segment\n // first (via click or arrow key), and then did select all. To make shift-tabbing\n // consistent in all cases, set focus to the group when selecting the date.\n isGroupFocus && groupRef?.current?.focus();\n }\n },\n [dispatch, groupRef, state.isCompleteDate]\n );\n\n const onDoubleClick = useCallback(() => {\n selectAll();\n }, [selectAll]);\n\n const onDoubleTap = useCallback(\n (e: Event) => {\n const segmentType = (e.target as HTMLElement).getAttribute(\n 'data-segment'\n ) as EditableDateSegment;\n\n // Only do select all if a segment was double tapped, which means the\n // mobile keyboard will stay up.\n !!segmentType && selectAll(false);\n },\n [selectAll]\n );\n\n const doubleTapHandlers = useDoubleTap({ onDoubleTap: onDoubleTap, onSingleTap: onClick });\n\n // Handle arrow key navigation between segments. If no segment is currently selected, then select the first one.\n const onKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (\n (direction === 'ltr' && event.key === 'ArrowLeft') ||\n (direction === 'rtl' && event.key === 'ArrowRight')\n ) {\n // Select the previous segment when pressing Left arrow (or Right arrow in rtl).\n dispatch({ actionType: 'selectPrevious' });\n event.stopPropagation();\n } else if (\n (direction === 'ltr' && event.key === 'ArrowRight') ||\n (direction === 'rtl' && event.key === 'ArrowLeft')\n ) {\n // Select the next segment when pressing Right arrow (or Left arrow in rtl).\n dispatch({ actionType: 'selectNext' });\n event.stopPropagation();\n } else if (\n (isBackspaceOrDelete(event) || event.key === 'Backspace') &&\n state.isDateSelected\n ) {\n // Clear the entire date.\n dispatch({ actionType: 'clearDate' });\n dateClearedRef.current = true;\n // Kill the event to prevent weird issue with placeholders getting deleted on iOS only.\n event.preventDefault();\n event.stopPropagation();\n event.stopImmediatePropagation();\n } else if (isSelectAll(event)) {\n selectAll();\n event.preventDefault();\n event.stopPropagation();\n } else if (event.key === 'Enter') {\n // Hitting Enter commits any changes.\n if (calendarDatesAreDifferent(lastCommittedDateRef.current, lastDateRef.current)) {\n // Call onCommit only if the value is different.\n onCommit?.({ value: lastDateRef.current });\n lastCommittedDateRef.current = lastDateRef.current;\n }\n event.preventDefault();\n event.stopPropagation();\n }\n },\n [direction, dispatch, onCommit, selectAll, state.isDateSelected]\n );\n\n // Blurring commits the date value; clear any selected segments and mark non-empty segments as complete.\n useEffect(() => {\n if (lastFocusedRef.current && !isFocused) {\n dispatch({ actionType: 'commit' });\n if (calendarDatesAreDifferent(lastCommittedDateRef.current, lastDateRef.current)) {\n // Call onCommit only if the value is different.\n onCommit?.({ value: lastDateRef.current });\n lastCommittedDateRef.current = lastDateRef.current;\n }\n }\n lastFocusedRef.current = !!isFocused;\n }, [dispatch, isFocused, onCommit]);\n\n // If you try to call onInput from onChange directly it doesn't work. The value of\n // state.currentDate is from the current render, not the render *after* the dispatch.\n // So wait for the state to finish updating.\n useEffect(() => {\n if (\n calendarDatesAreDifferent(lastDateRef.current, state.currentDate) &&\n !dateResetRef.current\n ) {\n const frozenDate =\n state.currentDate !== undefined\n ? Object.freeze({ ...state.currentDate })\n : state.currentDate;\n onInput({ value: frozenDate });\n lastDateRef.current = frozenDate;\n }\n dateResetRef.current = false;\n }, [onInput, state.currentDate, dateResetRef]);\n\n // The following is a simplified version of how we detect keyboard vs. mouse focus\n // in the useCollectionFocusRing hook. If the user tabs onto the field, we want to\n // automatically select the first segment.\n const recentPointerRef = useRef<boolean>(false);\n const pointerDownTimerRef = useRef<ReturnType<typeof setTimeout> | undefined>();\n const onPointerDown = () => {\n recentPointerRef.current = true;\n clearTimeout(pointerDownTimerRef.current);\n\n pointerDownTimerRef.current = setTimeout(() => {\n recentPointerRef.current = false;\n }, 200);\n };\n\n useEffect(() => {\n // If we receive focus that is *not* due to the user clicking in the field, i.e. the user\n // tabbed onto the field, then select the first segment.\n // Note: we cannot check isFocused because it includes the ? icon in compact UAD, and we don't\n // want the date selected when the help icon is focused.\n isInputFocused && !recentPointerRef.current && dispatch({ actionType: 'selectFirst' });\n\n // If we lose focus due to the keyboard, i.e. shift-tabbing onto the compact UAD help icon,\n // then 'commit' which will clear any selected segments.\n !isInputFocused && !recentPointerRef.current && dispatch({ actionType: 'commit' });\n recentPointerRef.current = false;\n }, [dispatch, isInputFocused]);\n\n const handlers = isMobile()\n ? { ...doubleTapHandlers, onKeyDown }\n : { onClick, onDoubleClick, onKeyDown, onPointerDown };\n\n return {\n dateClearedRef,\n dateFieldHandlers: isDisabled ? {} : handlers,\n segmentHandlers: isDisabled ? {} : { onChange },\n tabIndex: updatedTabIndex\n };\n};\n\nexport { useDateFieldHandlers };\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 type { ComponentProps, RefObject } from 'preact';\nimport { useRef } from 'preact/hooks';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\nimport { BundleType } from '#resources/nls/bundle';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { DateSegment } from './DateSegment';\nimport { DateSegmentState } from './useDateField';\nimport { Flex } from '#UNSAFE_Flex';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { InputDateMask } from './InputDateMask';\nimport { LiteralSegment } from './LiteralSegment';\nimport { LiveRegion } from '#UNSAFE_LiveRegion';\nimport { merge } from '#utils/UNSAFE_stringUtils';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport { useDateField } from './useDateField';\nimport { useDateFieldHandlers } from './useDateFieldHandlers';\nimport { useFormFieldContext } from '#hooks/UNSAFE_useFormFieldContext';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { TextFieldInputVariantOptions } from '#UNSAFE_TextField/themes/TextFieldInputStyles.css';\nimport { TextFieldInputRedwoodTheme } from '#UNSAFE_TextField/themes/redwood/TextFieldInputTheme';\nimport type { DatePlaceholders, EditableDateSegment } from './types';\nimport { formatFullCalendarDate } from '#utils/UNSAFE_calendarDateUtils';\n\ntype InputDateMaskProps = ComponentProps<typeof InputDateMask>;\n\ntype AriaProps = Pick<\n AriaAttributesSignalExcluded,\n 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby'\n>;\n\ntype HTMLElementProps = Pick<HTMLAttributesSignalExcluded<HTMLElement>, 'onBlur' | 'onFocus'>;\n\nexport type Props = AriaProps &\n HTMLElementProps & {\n /**\n * A base id prefix.\n */\n baseId: string;\n\n /**\n * A ref to the element that receives focus when the field's label is clicked,\n * or when the component is toggled between readonly and enabled. This is the\n * first segment in the field.\n */\n fieldRef?: RefObject<HTMLDivElement>;\n\n /**\n * Specifies the smallest date unit that is displayed by the component.\n * If set to month, only month and year are shown.\n * If set to day then month, day, and year are shown.\n */\n granularity?: InputDateMaskProps['granularity'];\n\n /**\n * True if the component has an inside label.\n */\n hasInsideLabel?: boolean;\n\n /**\n * Specifies for accessibility purposes whether a value is required.\n */\n isRequired?: InputDateMaskProps['isRequired'];\n\n /**\n * The placeholder masks used by the date field.\n */\n masks: DatePlaceholders;\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: InputDateMaskProps['textAlign'];\n\n /**\n * The current display value of the component.\n */\n value?: InputDateMaskProps['value'];\n\n /**\n * The style variant of the component.\n */\n variant?: InputDateMaskProps['variant'];\n\n /**\n * Callback invoked each time the user changes the value of a segment For example, if the user\n * types '12' into the month segment, this callback will be called twice to change the month\n * first to '1' and then '12'.\n */\n onInput: InputDateMaskProps['onInput'];\n\n /**\n * Callback invoked when the user commits the entered value by blurring or hitting the enter key.\n */\n onCommit: InputDateMaskProps['onCommit'];\n };\n\nconst findSegment = (segments: DateSegmentState[], type: EditableDateSegment): DateSegmentState => {\n return segments.find((segment) => segment.type === type)!;\n};\n\n/**\n * Container for Segment children that represent different parts of a date with no time.\n */\nconst DateField = ({\n 'aria-describedby': describedBy,\n 'aria-invalid': ariaInvalid,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n baseId,\n fieldRef,\n granularity = 'day',\n hasInsideLabel,\n isRequired,\n masks: dateMasks,\n onBlur,\n onCommit,\n onFocus,\n onInput,\n textAlign,\n value,\n variant = 'default'\n}: Props) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const announceDateCleared = translations.inputDateMask_date_cleared();\n const labels = {\n month: translations.formControl_month(),\n day: translations.formControl_day(),\n year: translations.formControl_year()\n };\n\n const { direction, locale } = useUser();\n\n const { isDisabled, isFocused, isInputFocused } = useFormFieldContext();\n const hasValue = value !== undefined;\n\n // DateField is similar to TextFieldInput for styling. The main difference\n // is TextFieldInput renders a textarea or input and DateField renders a div, so the positioning with\n // padding is different. DateField and TextFieldInput are both the mainContent\n // of a TextField component.\n const { classes } = useComponentTheme<TextFieldInputVariantOptions>(TextFieldInputRedwoodTheme, {\n type: 'notPassword',\n styleVariant: variant,\n textarea: 'notTextArea',\n input: 'notInput',\n div: 'isDiv',\n prefix: 'noPrefix',\n suffix: 'noSuffix',\n startContent: 'noStartContent',\n endContent: 'noEndContent',\n insideLabel: hasInsideLabel ? 'hasInsideLabel' : 'noInsideLabel',\n value: hasValue ? 'hasValue' : 'noValue',\n focused: isFocused ? 'isFocused' : 'notFocused',\n disabled: isDisabled ? 'isDisabled' : 'notDisabled'\n });\n\n const compClasses = classNames([classes]);\n\n const { state, dispatch, dateResetRef } = useDateField({\n ariaLabels: labels,\n dateMasks,\n granularity,\n locale,\n value\n });\n const { isDateSelected, isPartialDate, segments: editableSegments } = state;\n const yearSegment = findSegment(editableSegments, 'year');\n const monthSegment = findSegment(editableSegments, 'month');\n const daySegment = granularity === 'day' ? findSegment(editableSegments, 'day') : undefined;\n const segmentsMap = {\n year: yearSegment,\n month: monthSegment,\n day: daySegment\n };\n\n const groupRef = useRef<HTMLDivElement>(null);\n const { dateClearedRef, dateFieldHandlers, segmentHandlers, tabIndex } = useDateFieldHandlers({\n dateResetRef,\n direction,\n dispatch,\n groupRef,\n isDisabled,\n isFocused,\n isInputFocused,\n onCommit,\n onInput,\n state,\n value\n });\n\n // Like other form components, don't show placeholders for inside labels unless focused.\n // This flag causes the segment placeholders to be hidden.\n const isHidden = value === undefined && hasInsideLabel && !isFocused;\n\n // If the date is complete, create a hidden accessible region with the full formatted date.\n const formattedDateStr = !state.isCompleteDate\n ? ''\n : formatFullCalendarDate(locale, state.currentDate!, granularity);\n\n const formattedDateAriaId = `${baseId}-date`;\n const formattedDateAria = state.isCompleteDate ? (\n <HiddenAccessible id={formattedDateAriaId}>{formattedDateStr}</HiddenAccessible>\n ) : undefined;\n const ariaDescribedBy = state.isCompleteDate\n ? merge([describedBy, formattedDateAriaId])\n : describedBy;\n\n // Add an announcement to the live region if the date was cleared.\n // Note: we deliberately do not reset dateClearedRef because there are multiple\n // rerenders after clearing the date and we want to make sure the announcement\n // has time to be heard.\n const announceText = dateClearedRef.current ? announceDateCleared : '';\n\n // firstSegmentType is 'day', 'month', or 'year' and is used to determine\n // where to put the fieldRef.\n const firstSegmentType = state.orderedSegments[0];\n\n return (\n <div\n aria-describedby={ariaDescribedBy}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n class={compClasses}\n onFocusIn={onFocus}\n onFocusOut={onBlur}\n ref={groupRef}\n role=\"group\"\n tabIndex={tabIndex}\n {...dateFieldHandlers}>\n <Flex direction=\"row\" wrap=\"nowrap\" justify={textAlign}>\n {dateMasks.map(({ type, value: placeholder }) => {\n const segmentProps = type !== 'literal' ? segmentsMap[type] : {};\n if (type === 'literal') {\n return (\n <LiteralSegment\n isHidden={isHidden}\n isHighlighted={isDateSelected}\n isPlaceholder={!isPartialDate}\n text={placeholder}></LiteralSegment>\n );\n } else {\n return (\n <DateSegment\n inputRef={type === firstSegmentType ? fieldRef : undefined}\n isDisabled={isDisabled}\n isInvalid={!!ariaInvalid}\n isHidden={isHidden}\n isHighlighted={isDateSelected}\n isRequired={isRequired}\n placeholder={placeholder}\n type={type}\n {...segmentHandlers}\n {...segmentProps}></DateSegment>\n );\n }\n })}\n </Flex>\n {formattedDateAria}\n <LiveRegion>{announceText}</LiveRegion>\n </div>\n );\n};\n\nexport { DateField, findSegment };\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 } from 'preact';\nimport { useReducer, useRef } from 'preact/hooks';\nimport { BCP47Locale } from '#UNSAFE_IntlDateTime';\nimport { DateField } from './DateField';\nimport { CalendarDate, DateGranularity, DatePlaceholders, EditableDateSegment } from './types';\nimport { DateSegment } from './DateSegment';\nimport { dateReducer, getMonthAria, numberToString } from './dateReducer';\nimport { calendarDatesAreDifferent } from '../utils/PRIVATE_dayUtils';\nimport {\n getDaysInMonth,\n getMonthsInYear,\n MIN_ISO_YEAR,\n MAX_ISO_YEAR,\n MIN_ISO_DAY,\n MIN_ISO_MONTH\n} from '../utils/UNSAFE_calendarDateUtils';\n\ntype DateFieldType = ComponentProps<typeof DateField>;\n\ntype useDateFieldProps = {\n ariaLabels: Record<EditableDateSegment, string>;\n dateMasks: DatePlaceholders;\n granularity: DateGranularity;\n locale: BCP47Locale;\n value: DateFieldType['value'];\n};\n\ntype DateSegmentState = Readonly<ComponentProps<typeof DateSegment>>;\n\ntype DateFieldState = {\n readonly currentDate: CalendarDate | undefined;\n readonly isCompleteDate: boolean;\n readonly isDateSelected: boolean;\n readonly isPartialDate: boolean;\n readonly orderedSegments: EditableDateSegment[];\n readonly segments: DateSegmentState[];\n};\n\n/**\n * Hook that returns a DateFieldState and a dispatch method to request changes to that state.\n */\nconst useDateField = ({\n ariaLabels,\n dateMasks,\n granularity,\n locale,\n value: currentValue\n}: useDateFieldProps) => {\n // Construct an ordered list of the editable segments, i.e. ['month', 'day', 'year'].\n const fdm = dateMasks.filter(({ type }) => type !== 'literal');\n const orderedSegments = fdm.map(({ type }) => type) as EditableDateSegment[];\n\n // Derive some data from currentValue that will become part of our initial state.\n const yearValue = currentValue?.year;\n const monthValue = currentValue?.month;\n const dayValue = currentValue?.day;\n const monthMax = getMonthsInYear(yearValue ?? '*');\n const dayMax = getDaysInMonth(monthValue ?? '*', yearValue ?? '*');\n const isCompleteDate = !!yearValue && !!monthValue && (granularity === 'month' || !!dayValue);\n const isPartialDate = !!yearValue || !!monthValue || !!dayValue;\n const yearValueStr = yearValue ? numberToString(yearValue) : undefined;\n const monthValueStr = monthValue ? numberToString(monthValue) : undefined;\n const dayValueStr = dayValue ? numberToString(dayValue) : undefined;\n const monthAria = monthValue ? getMonthAria(locale, monthValue, yearValue) : undefined;\n\n const daySeg = [\n {\n type: 'day' as EditableDateSegment,\n 'aria-label': ariaLabels.day,\n 'aria-valuemin': MIN_ISO_DAY,\n 'aria-valuemax': dayMax,\n 'aria-valuenow': dayValue,\n 'aria-valuetext': dayValueStr,\n isComplete: !!dayValue,\n isSelected: false,\n text: dayValueStr\n }\n ];\n\n // Create state for each editable segment of a date, i.e. year, month, or day.\n const editableSegments = [\n {\n type: 'year' as EditableDateSegment,\n 'aria-label': ariaLabels.year,\n 'aria-valuemin': MIN_ISO_YEAR,\n 'aria-valuemax': MAX_ISO_YEAR,\n 'aria-valuenow': yearValue,\n 'aria-valuetext': yearValueStr,\n isComplete: !!yearValue,\n isSelected: false,\n text: yearValueStr\n },\n {\n type: 'month' as EditableDateSegment,\n 'aria-label': ariaLabels.month,\n 'aria-valuemin': MIN_ISO_MONTH,\n 'aria-valuemax': monthMax,\n 'aria-valuenow': monthValue,\n 'aria-valuetext': monthAria,\n isComplete: !!monthValue,\n isSelected: false,\n text: monthValueStr\n },\n ...(granularity === 'day' ? daySeg : [])\n ];\n\n // Create the initial state to pass to our reducer.\n const initialState: DateFieldState = {\n currentDate: currentValue,\n isCompleteDate,\n isDateSelected: false,\n isPartialDate,\n orderedSegments,\n segments: editableSegments\n };\n\n const [state, dispatch] = useReducer(dateReducer, initialState);\n\n // currentValue is the controlled value passed from the parent.\n const lastValueFromParentRef = useRef<CalendarDate | undefined>(currentValue);\n const dateResetRef = useRef<boolean>(false);\n\n // If a new value is being pushed from the parent, and that value differs from\n // the current value of the reducer, then this is a programmatic update\n // and we need to call 'reset' to update the reducer state. Otherwise, the only\n // time the reducer state is updated from the value is on mount.\n if (calendarDatesAreDifferent(lastValueFromParentRef.current, currentValue)) {\n lastValueFromParentRef.current = currentValue;\n if (calendarDatesAreDifferent(currentValue, state.currentDate)) {\n dispatch({ actionType: 'reset', data: initialState });\n dateResetRef.current = true;\n }\n }\n\n return { dateResetRef, dispatch, state };\n};\n\nexport { useDateField };\nexport type { DateFieldState, DateSegmentState };\n","import { createContext } from 'preact';\nimport { useContext } from 'preact/hooks';\n\ntype InputDateMaskContextProps = {\n isInputDatePickerParent: boolean;\n isDropdownOpen: boolean;\n};\n\n/**\n * Context used to indicate when the component is being used in\n * composition within some parent, such as InputDatePicker.\n */\nconst InputDateMaskContext = createContext<InputDateMaskContextProps>({\n isInputDatePickerParent: false,\n isDropdownOpen: false\n});\n\nconst useInputDateMaskContext = () => useContext(InputDateMaskContext);\n\nexport { InputDateMaskContext, useInputDateMaskContext };\nexport type { InputDateMaskContextProps };\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 type { ComponentProps, Ref, RefObject } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback, useImperativeHandle, useMemo, useRef } from 'preact/hooks';\n\nimport { AriaAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { BundleType } from '#resources/nls/bundle';\nimport type { CalendarDate, DatePlaceholders } from './types';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '#UNSAFE_UserAssistance';\nimport { DateField } from './DateField';\nimport { FormFieldContext } from '#hooks/UNSAFE_useFormFieldContext';\nimport { getDatePlaceholderMasks, formatShortCalendarDate } from '#utils/UNSAFE_calendarDateUtils';\nimport { translateCustomMasks } from '#utils/PRIVATE_dayUtils';\nimport { Label } from '#UNSAFE_Label';\nimport { ReadonlyTextField, ReadonlyTextFieldInput, TextField } from '#UNSAFE_TextField';\nimport { Size } from '#utils/UNSAFE_size';\nimport { TextFieldContent } from '#UNSAFE_TextField/TextFieldContent';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport type { TextProps } from '#utils/UNSAFE_interpolations/text';\nimport { useFocusableTextField, FocusableHandle } from '#hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { useInputDateMaskContext } from './InputDateMaskContext';\nimport { useTextField } from '#hooks/UNSAFE_useTextField';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { useUser } from '#hooks/UNSAFE_useUser';\nimport { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\nimport { LayoutColumnSpan } from '../utils/UNSAFE_styles/Layout';\n\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype TextFieldContentProps = ComponentProps<typeof TextFieldContent>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: AriaAttributesSignalExcluded['aria-describedby'];\n\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n\n /**\n * Use this property to provide content for the end slot, such as a calendar icon.\n */\n endContent?: TextFieldContentProps['endContent'];\n\n /**\n * Specifies the smallest date unit that is displayed by the component.\n * If set to month, only month and year are shown.\n * If set to day then month, day, and year are shown.\n */\n granularity?: 'month' | 'day';\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?: boolean;\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 * A ref to the component field. This can be used when you are composing with InputDateMask\n * and need to provide an anchor ref to a floating component.\n */\n mainFieldRef?: RefObject<HTMLDivElement>;\n\n /**\n * If specified, overrides the locale specific order of the individual date segments as\n * well as the locale specific separator. The value of each placeholder is only used\n * when the type is 'literal', otherwise it is replaced with a translated placeholder\n * for month, day, or year. If masks are specified and granularity = day, then the\n * placeholders must include month, day, and year. If granularity = month, then the\n * placeholders must include month and year, but not day.\n */\n masks?: DatePlaceholders;\n\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextProps['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 * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n\n /**\n * The current display value of the component.\n */\n value?: CalendarDate;\n\n /**\n * The style variant of the component.\n */\n variant?: 'default' | 'embedded';\n\n /**\n * Callback invoked when the user commits the entered value by blurring or hitting the enter key.\n */\n onCommit?: (detail: ValueUpdateDetail<CalendarDate>) => void;\n\n /**\n * Callback invoked each time the user changes the value of a segment For example, if the user\n * types '12' into the month segment, this callback will be called twice to change the month\n * first to '1' and then '12'.\n */\n onInput: (detail: ValueUpdateDetail<CalendarDate>) => void;\n};\n\n/**\n * An InputDateMask allows you to edit the month, day, and year fields of a calendar date.\n */\nexport const InputDateMask = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n columnSpan,\n endContent,\n granularity = 'day',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n mainFieldRef,\n messages,\n masks,\n testId,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant,\n onCommit,\n onInput\n }: Props,\n ref?: Ref<FocusableHandle>\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 enabledElementRef = useRef<HTMLDivElement>(null);\n const readonlyElementRef = useRef<HTMLDivElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLDivElement, HTMLDivElement>({\n isDisabled,\n isReadonly,\n enabledElementRef,\n readonlyElementRef\n });\n\n useImperativeHandle(ref!, () => focusMethods, [focusMethods]);\n\n const { isDropdownOpen, isInputDatePickerParent } = useInputDateMaskContext();\n const isComponentFocused = isFocused || (isInputDatePickerParent && isDropdownOpen);\n\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps: origLabelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy,\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused: isComponentFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages,\n styleVariant: variant,\n userAssistanceDensity,\n value\n });\n\n // When using a div with role=group (i.e. DateField), you need aria-labelledby instead of a\n // for-id association with a label. Remove forId and id and use aria-labelledby instead.\n const { forId, ...labelProps } = origLabelProps;\n const { id, ...dateFieldProps } = inputProps;\n const ariaLabelledBy = labelProps.id;\n // Because we don't use for-id, clicking the label does not automatically focus the field.\n // We have to do it manually.\n const onClick = useCallback(() => {\n enabledElementRef.current?.focus();\n }, [enabledElementRef]);\n\n const labelComp =\n labelEdge !== 'none' ? (\n <Label {...(!isDisabled && !isReadonly ? { onClick } : {})} {...labelProps}>\n {label}\n </Label>\n ) : 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 const hasInsideLabel = label !== undefined && labelEdge === 'inside';\n const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\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 ) : undefined;\n\n const aRef = useRef<HTMLDivElement>(null);\n const anchorRef = mainFieldRef ?? aRef;\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={messages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\n\n const { locale } = useUser();\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const monthPlaceholder = translations.inputDateMask_monthPlaceholder();\n const dayPlaceholder = translations.inputDateMask_dayPlaceholder();\n const yearPlaceholder = translations.inputDateMask_yearPlaceholder();\n\n // The DatePlaceholders type already ensures the masks contain the right placeholders,\n // for either full calendar dates or month-year dates. This check ensures the masks,\n // if provided, match the granularity. E.g. for granularity=month, you should pass\n // month and year placeholders, and a separator.\n if (\n masks &&\n ((granularity === 'day' && masks.length !== 5) ||\n (granularity === 'month' && masks.length !== 3))\n ) {\n throw new Error('Specified masks must match the granularity');\n }\n\n const dateMasks = useMemo(() => {\n // Determine the locale specific placeholder masks and separators in the correct order\n // for the locale, unless a custom set of masks was passed in. Each mask represents a\n // placeholder for a segment of a date (i.e. mm/dd/yyyy). Memoize because we shouldn't\n // need to recreate this data often.\n const placeholderMasks = masks\n ? translateCustomMasks(masks, monthPlaceholder, dayPlaceholder, yearPlaceholder)\n : getDatePlaceholderMasks(\n locale,\n granularity,\n monthPlaceholder,\n dayPlaceholder,\n yearPlaceholder\n );\n\n return placeholderMasks;\n }, [masks, locale, granularity, dayPlaceholder, monthPlaceholder, yearPlaceholder]);\n\n if (isReadonly) {\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps.onFocusOut}\n onFocus={focusProps.onFocusIn}\n ref={anchorRef}\n testId={testId}\n mainContent={\n <ReadonlyTextFieldInput\n aria-describedby={dateFieldProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n as=\"div\"\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={\n value === undefined ? '' : formatShortCalendarDate(value, granularity, dateMasks)\n }\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n />\n }\n {...fieldLabelProps}></ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n // The main content inside TextField is a DateField (not TextFieldInput) in this case.\n // We reuse the TextField building blocks and hooks, but recompose them.\n const mainContent = (\n <DateField\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n baseId={baseId}\n fieldRef={enabledElementRef}\n granularity={granularity}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n masks={dateMasks}\n onCommit={onCommit}\n onInput={onInput}\n textAlign={textAlign}\n value={value}\n {...dateFieldProps}\n />\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n endContent={endContent}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onFocusOut}\n onFocus={focusProps.onFocusIn}\n mainFieldRef={anchorRef}\n testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["preventDefaultHandler","e","preventDefault","isIos","getClientHints","platform","DateSegment","ariaLabel","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","inputRef","isComplete","isDisabled","isHidden","isHighlighted","isInvalid","isRequired","isSelected","onChange","placeholder","text","type","hasDisplayValue","length","rootClasses","classNames","segmentStyles","base","selected","highlighted","placeholderClasses","hidden","notHidden","emptySegmentValueText","useTranslationBundle","inputDateMask_empty_segment","sRef","useRef","segmentRef","hasLeadingZero","locale","useUser","onKeyDown","useCallback","event","key","isSelectAll","isBackspaceOrDelete","undefined","isNumberOnlyString","actionType","data","current","direction","stopPropagation","useEffect","focus","customDataAttribute","valueText","toString","_jsx","children","_jsxs","ref","role","autocapitalize","autocorrect","class","contentEditable","enterkeyhint","inputMode","onCut","onPaste","spellcheck","tabIndex","jsx","LiteralSegment","isPlaceholder","spanClasses","literalBase","dateReducer","state","action","segmentType","segmentState","findSegment","segments","updatedSegments","selectFirst","clearDate","orderedSegments","createDateFieldStateWithSelectedDate","updatedSegment","clearSegment","createDateFieldState","clearSelectionAndComplete","goToEnd","goToHome","doStepOrPage","selectDateOrSegment","selectNext","selectPrevious","selectSegment","updateSegment","Error","stringToNumber","s","numberToString","n","find","segment","isDateComplete","allSegments","every","seg","isPartialDate","some","createCalendarDateFromSegments","iterator","map","values","cd","segValue","getYearValue","getMonthAria","month","year","getMonthName","getOrderedSegments","currentState","replaceDateSegment","existingSegments","updatedSegmentType","createDateSegmentStates","autoAdvance","modifiedSegments","daySeg","monthValue","yearValue","dayMax","getDaysInMonth","currentDay","dayValue","dayValueStr","updatedDaySeg","createDateFieldStateFromSegments","currentDate","isCompleteDate","isDateSelected","cleared","valueMax","MAX_ISO_YEAR","getMonthsInYear","actionText","minValue","maxValue","requestedValStr","requestedVal","inRange","max","newValStr","newVal","val","isSegmentComplete","getSelectedSegmentIndex","sel","findIndex","markSelectedSegmentComplete","selectedIndex","createSegmentFromKeyboardAction","newValue","getHomeSegmentValue","getEndSegmentValue","valueNow","min","yearDefault","monthDefault","day","dayDefault","getTodayAsCalendarDate","getDefaultSegmentValue","currentValue","step","getPagedSegmentValue","getSteppedSegmentValue","useDateFieldHandlers","dateResetRef","dispatch","groupRef","isFocused","isInputFocused","onCommit","onInput","value","tabbableModeProps","useTabbableMode","tabbableModeIndex","anySegmentSelected","updatedTabIndex","lastDateRef","lastCommittedDateRef","dateClearedRef","lastFocusedRef","onClick","target","getAttribute","selectAll","isGroupFocus","onDoubleClick","onDoubleTap","doubleTapHandlers","useDoubleTap","onSingleTap","stopImmediatePropagation","calendarDatesAreDifferent","frozenDate","Object","freeze","recentPointerRef","pointerDownTimerRef","handlers","deviceType","isMobile","onPointerDown","clearTimeout","setTimeout","dateFieldHandlers","segmentHandlers","DateField","describedBy","ariaInvalid","ariaLabelledBy","baseId","fieldRef","granularity","hasInsideLabel","masks","dateMasks","onBlur","onFocus","textAlign","variant","translations","announceDateCleared","inputDateMask_date_cleared","labels","formControl_month","formControl_day","formControl_year","useFormFieldContext","hasValue","classes","useComponentTheme","TextFieldInputRedwoodTheme","styleVariant","textarea","input","div","prefix","suffix","startContent","endContent","insideLabel","focused","disabled","compClasses","ariaLabels","filter","monthMax","yearValueStr","monthValueStr","monthAria","MIN_ISO_DAY","initialState","MIN_ISO_YEAR","MIN_ISO_MONTH","useReducer","lastValueFromParentRef","useDateField","editableSegments","segmentsMap","formattedDateStr","formatFullCalendarDate","formattedDateAriaId","formattedDateAria","HiddenAccessible","id","ariaDescribedBy","merge","announceText","firstSegmentType","jsxs","onFocusIn","onFocusOut","Flex","wrap","justify","segmentProps","LiveRegion","InputDateMaskContext","createContext","isInputDatePickerParent","isDropdownOpen","useInputDateMaskContext","useContext","InputDateMask","forwardRef","assistiveText","columnSpan","helpSourceLink","helpSourceText","propIsDisabled","isReadonly","propIsReadonly","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","mainFieldRef","messages","testId","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","enabledElementRef","readonlyElementRef","focusProps","methods","focusMethods","useFocusableTextField","useImperativeHandle","isComponentFocused","formFieldContext","inputProps","labelProps","origLabelProps","textFieldProps","userAssistanceProps","useTextField","forId","dateFieldProps","labelComp","Label","fieldLabelProps","inlineUserAssistance","InlineUserAssistance","fieldLabel","aRef","anchorRef","compactUserAssistance","CompactUserAssistance","monthPlaceholder","inputDateMask_monthPlaceholder","dayPlaceholder","inputDateMask_dayPlaceholder","yearPlaceholder","inputDateMask_yearPlaceholder","useMemo","translateCustomMasks","getDatePlaceholderMasks","FormFieldContext","Provider","ReadonlyTextField","mainContent","ReadonlyTextFieldInput","as","elementRef","formatShortCalendarDate","hasEmptyLabel","TextField"],"mappings":"i9DA0FA,MAAMA,GAAyBC,IAC7BA,EAAEC,gBAAgB,EAGdC,GAAQ,IAAoC,QAA9BC,EAAAA,iBAAiBC,SAMxBC,GAAc,EACzB,aAAcC,EACd,gBAAiBC,EACjB,gBAAiBC,EACjB,gBAAiBC,EACjB,iBAAkBC,EAClBC,WACAC,aACAC,aACAC,WACAC,gBACAC,YACAC,aACAC,aACAC,WACAC,cACAC,OACAC,WAEA,MAAMC,EAAkBF,GAAQA,EAAKG,OAAS,EACxCC,EAAcC,EAAAA,WAAW,CAC7BC,EAAAA,cAAcC,KACdV,GAAcS,EAAaA,cAACE,SAC5Bd,GAAiBY,EAAaA,cAACG,cAE3BC,EAAqBL,EAAAA,WAAW,CACpCC,EAAAA,cAAcP,YACdN,GAAYS,EAAkBI,EAAAA,cAAcK,OAASL,EAAaA,cAACM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I,KAElE,GAAIpD,EACF,OACE5P,EAAAA,IAACqT,EAAAA,iBAAiBC,SAAS,CAAAjL,MAAOoJ,GAChCxR,SAAAD,EAAAe,IAACwS,EAAiBA,kBAAA,CAChBnT,KAAK,eACLoP,WAAYA,EACZkD,sBAAuBA,GACvBL,qBAAsBA,GACtBnH,OAAQiG,EAAW1C,WACnBtD,QAASgG,EAAW3C,UACpBrO,IAAKsS,GACLnC,OAAQA,EACRkD,YACExT,EAAAA,IAACyT,EAAAA,uBAAsB,CAAA,mBACHxB,GAAe,iCACrBxV,GAAS,kBACJkV,GAAWzD,GAC5BwF,GAAG,MACHC,WAAYzC,EACZ9F,UAAWA,EACX/C,WACYjJ,IAAViJ,EAAsB,GAAKuL,EAAAA,wBAAwBvL,EAAOyC,EAAaG,IAEzE4I,cAAyB,KAAV9D,GAA8B,SAAdC,EAC/BjF,eAAgBA,QAGhBqH,OAOZ,MAAMoB,GACJxT,EAAAA,IAACwK,GACa,CAAA,aAAA/N,GACK,kBAAAkO,GACjBC,OAAQA,GACRC,SAAUoG,EACVnG,YAAaA,EACbC,oBAA8B3L,IAAd8S,IAAyC,WAAdlC,EAC3C5S,WAAYA,EACZ4N,MAAOC,GACP9C,SAAUA,EACVC,QAASA,EACTgD,UAAWA,EACX/C,MAAOA,KACH4J,KAIR,OACEjS,EAAAA,IAACqT,EAAAA,iBAAiBC,SAAS,CAAAjL,MAAOoJ,GAChCxR,SAAAD,EAAAe,IAAC+S,EAASA,UAAA,CACRtE,WAAYA,EACZkD,sBAAuBA,GACvBjG,WAAYA,EACZ4F,qBAAsBA,GACtBmB,YAAaA,GACbtI,OAAQiG,EAAW1C,WACnBtD,QAASgG,EAAW3C,UACpB4B,aAAcqC,GACdnC,OAAQA,KACJuB,MACAO,MAGR"}
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', 'preact/hooks', './Calendar-0e2eb66f', './HiddenAccessible-037ef42d', './IconButton-05c6b793', './clientHints-fff66be9', './FormFieldContext-3c44aaaa', './logger-0f873e29', './TabbableModeContext-a9c97640', './useTranslationBundle-7c40cb58', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-3d3e72a9', './Flex-590160eb', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './LayerHost-733ade2f', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'css!./IconStyle.styles.css', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './Popup-3e2566da', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './UNSAFE_InputDatePicker/themes/InputDatePickerDropdownStyles.css', './Sheet-404b38fa', './DatePicker-b907fb97', './SectionedContent-ef1f844c', './stringUtils-0ae982c2', './FormContext-5130e198', './useFormContext-30acdd33', './useId-c9578d26', './getFormatParse-3d7186b3', './maskUtils-9370948f', './calendarDateUtils-5e25297c', './InputDateMask-55fcbf50'], (function(e,s,t,a,n,o,r,i,l,d,c,u,m,p,h,y,f,b,C,D,S,k,x,A,v,g,F,T,V,I,w,P,U,M,R,j,_,B,H,E,N,L,O,Y,Z,W,z,G,q,J,K,Q,X,$,ee){"use strict";const se=({anchorRef:e,assistiveText:t,dayFormatter:n,daysOutsideMonth:o,helpSourceLink:r,helpSourceText:i,isDisabled:d,isOpen:c,isReadonly:m,label:p,onClose:h,onCommit:f,max:b,messages:C,min:D,monthAndYearPicker:S,testId:k,todayButton:x,todayTimeZone:A,userAssistanceDensity:v,value:g,weekDisplay:F})=>{const[T,V]=a.useState(!1),[I,w]=a.useState(c),P=a.useCallback((e=>{V(e.placement.startsWith("top"))}),[]);I!==c&&(w(c),c||V(!1));const U=te(),{datePicker_label:M}=u.useTranslationBundle("@oracle/oraclejet-preact"),R=M(),j=s.jsx(W.DatePicker,{dayFormatter:n,daysOutsideMonth:o,height:U?void 0:"auto",onCommit:f,max:b,min:D,maxWidth:U?"100%":void 0,width:"100%",monthAndYearPicker:S,testId:k,todayTimeZone:A,todayButton:x,value:g,weekDisplay:F}),_=!c||T&&!U||d||m||!(t||r||C&&C.length>0)||"efficient"!==v&&"reflow"!==v?void 0:s.jsx(l.FormFieldContext.Provider,{value:{isFocused:!0},children:s.jsx("div",{class:Y.userAssistanceStyles,children:s.jsx(y.InlineUserAssistance,{assistiveText:t,fieldLabel:p,helpSourceLink:r,helpSourceText:i,messages:C,userAssistanceDensity:v})})}),B=k?k+(U?"_sheet":"_dropdown"):void 0,H=s.jsx("div",{class:Y.dropdownStyles,children:s.jsx(z.SectionedContent,{"aria-label":R,footer:_,hasFocusTrap:!0,main:j,role:"dialog",testId:B})});return U?s.jsx(Z.Sheet,{initialFocus:"firstFocusable",isOpen:c,onClose:h,children:s.jsx(z.SectionedContent,{"aria-label":R,footer:_,hasFocusTrap:!0,main:j,role:"dialog",testId:B})}):s.jsx(z.StickyPositioningDropdown,{anchorRef:e,initialFocus:"firstFocusable",isOpen:c,onClose:h,onPosition:P,sizeOptions:{isMaxWidthAdjusted:!1,isMaxHeightAdjusted:!0},children:H})},te=()=>"phone"===i.getClientHints().deviceType,ae=e=>e&&$.isCompleteCalendarDate(e)?e:void 0,ne=(e,s)=>{switch(s.type){case"dateChanged":return{...e,dateValue:s.data,completeDateValue:ae(s.data)};case"dateSelected":return{...e,dateValue:s.data,completeDateValue:s.data};case"reset":return{completeDateValue:ae(s.data),dateValue:s.data};default:return e}},oe=({onCommit:e,onInput:s,value:t})=>{const[n,o]=a.useState(!1),r=a.useRef(null),i=a.useRef(null),l=a.useRef(!1),d=a.useRef(),c=a.useRef(t),u=a.useRef(t),m=a.useRef(t),p=a.useRef(!1),{state:h,dispatch:y}=(({value:e})=>{const[s,t]=a.useReducer(ne,{completeDateValue:ae(e),dateValue:e});return{state:s,dispatch:t}})({value:t});X.calendarDatesAreDifferent(m.current,t)&&(m.current=t,X.calendarDatesAreDifferent(t,h.dateValue)&&(y({type:"reset",data:t}),u.current=t,c.current=t)),a.useEffect((()=>{X.calendarDatesAreDifferent(h.dateValue,u.current)&&(s({previousValue:u.current,value:h.dateValue}),u.current=h.dateValue),p.current&&X.calendarDatesAreDifferent(h.dateValue,c.current)&&(e?.({previousValue:c.current,value:h.dateValue}),c.current=h.dateValue,p.current=!1)}),[e,s,h.dateValue]);const f=a.useCallback((e=>{y({type:"dateChanged",data:e.value})}),[y]),b=a.useCallback((()=>{X.calendarDatesAreDifferent(c.current,h.dateValue)&&(e?.({value:h.dateValue,previousValue:c.current}),c.current=h.dateValue)}),[e,h.dateValue]),C=a.useCallback((()=>{l.current||o((e=>!e)),l.current=!1}),[]),D=a.useCallback((e=>{"outsideMousedown"===e.reason?(l.current=!0,clearTimeout(d.current),d.current=setTimeout((()=>{l.current=!1}),200)):"dismissed"!==e.reason&&"keyboardDismissed"!==e.reason||r.current?.focus(),o(!1)}),[]);return{calendarIconActionHandler:C,datePickerCommitHandler:a.useCallback((e=>{r.current?.focus(),p.current=!0,y({type:"dateSelected",data:e.value}),o(!1)}),[y]),dropdownCloseHandler:D,completeDateValue:h.completeDateValue,dateValue:h.dateValue,iconRef:r,isOpen:n,maskCommitHandler:b,maskInputHandler:f,maskRef:i}},re=t.forwardRef((({"aria-describedby":e,assistiveText:t,dayFormatter:i,daysOutsideMonth:l,helpSourceLink:d,helpSourceText:c,isDisabled:m,isReadonly:p,label:h,max:y,messages:f,min:b,monthAndYearPicker:C,todayTimeZone:D,todayButton:S,value:k,onCommit:x,onInput:A,testId:v,userAssistanceDensity:g,weekDisplay:F,...T},V)=>{const{calendarIconActionHandler:I,datePickerCommitHandler:w,completeDateValue:P,dateValue:U,dropdownCloseHandler:M,iconRef:R,isOpen:j,maskCommitHandler:_,maskInputHandler:B,maskRef:H}=oe({onCommit:x,onInput:A,value:k}),E=a.useRef(null),{inputDatePicker_selectDate:N,inputDatePicker_instruction:L}=u.useTranslationBundle("@oracle/oraclejet-preact"),O=N(),{userAssistanceDensity:Y}=J.useFormContext(),Z=g??Y;a.useImperativeHandle(V,(()=>({focus:()=>{H.current?.focus()},blur:()=>{H.current?.blur()}})));const W=K.useId(),z=L(),q=m||p?void 0:s.jsx(o.HiddenAccessible,{id:W,isHidden:!0,children:z}),Q=m||p?e:G.merge([e,W]),X=s.jsx(r.IconButton,{"aria-haspopup":"dialog","aria-label":O,isDisabled:m,ref:R,size:"sm",testId:v?v+"_calendarIcon":void 0,variant:"ghost",onAction:I,children:s.jsx(n.SvgCalendar,{})}),$=j;return s.jsxs(s.Fragment,{children:[s.jsx(ee.InputDateMaskContext.Provider,{value:{isDropdownOpen:j,isInputDatePickerParent:!0},children:s.jsx(ee.InputDateMask,{"aria-describedby":Q,assistiveText:t,endContent:X,helpSourceLink:d,helpSourceText:c,isDisabled:m,isReadonly:p,label:h,onCommit:_,onInput:B,mainFieldRef:E,messages:f,testId:v,ref:H,userAssistanceDensity:g,value:U,...T})}),q,$&&s.jsx(se,{anchorRef:E,assistiveText:t,dayFormatter:i,daysOutsideMonth:l,helpSourceLink:d,helpSourceText:c,isDisabled:m,isReadonly:p,isOpen:j,label:h,onClose:M,onCommit:w,max:y,messages:f,min:b,monthAndYearPicker:C,testId:v?v+"_datePicker":void 0,todayTimeZone:D,todayButton:S,userAssistanceDensity:Z,value:P,weekDisplay:F})]})}));e.InputDatePicker=re}));
2
- //# sourceMappingURL=InputDatePicker-ecd4a7ce.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputDatePicker-ecd4a7ce.js","sources":["../../src/UNSAFE_InputDatePicker/InputDatePickerDropdown.tsx","../../src/UNSAFE_InputDatePicker/useInputDatePickerState.ts","../../src/UNSAFE_InputDatePicker/useInputDatePicker.ts","../../src/UNSAFE_InputDatePicker/InputDatePicker.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 } from 'preact';\nimport { useCallback, useState } from 'preact/hooks';\nimport { BundleType } from '../resources/nls/bundle';\nimport { DatePicker } from '#UNSAFE_DatePicker';\nimport { type CloseDetail as DropdownCloseDetail } from '#UNSAFE_Dropdown';\nimport { getClientHints } from '#utils/PRIVATE_clientHints';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { InlineUserAssistance } from '../UNSAFE_UserAssistance';\nimport { InputDatePicker } from './InputDatePicker';\nimport { dropdownStyles, userAssistanceStyles } from './themes/InputDatePickerDropdownStyles.css';\nimport { PositionData } from '../UNSAFE_Floating';\nimport { StickyPositioningDropdown } from '#PRIVATE_FormControls';\nimport { SectionedContent } from '#PRIVATE_FormControls';\nimport { type CloseDetail as SheetCloseDetail, Sheet } from '#UNSAFE_Sheet';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { SizeOptions } from '#UNSAFE_Floating/Floating'; \n\ntype StickyPositioningDropdownProps = ComponentProps<typeof StickyPositioningDropdown>;\ntype InputDatePickerProps = ComponentProps<typeof InputDatePicker>;\ntype PickedPropsFromInputDatePicker = Pick<\n InputDatePickerProps,\n | 'assistiveText'\n | 'dayFormatter'\n | 'daysOutsideMonth'\n | 'helpSourceLink'\n | 'helpSourceText'\n | 'isDisabled'\n | 'isReadonly'\n | 'label'\n | 'messages'\n | 'min'\n | 'max'\n | 'monthAndYearPicker'\n | 'todayButton'\n | 'todayTimeZone'\n | 'userAssistanceDensity'\n | 'value'\n | 'weekDisplay'\n>;\ntype DatePickerProps = ComponentProps<typeof DatePicker>;\ntype PickedPropsFromDatePicker = Pick<DatePickerProps, 'value' | 'onCommit'>;\ntype PickedPropsFromDropdown = Omit<StickyPositioningDropdownProps, 'onClose'>;\ntype CloseDetail = SheetCloseDetail | DropdownCloseDetail;\n\ntype Props = PickedPropsFromDatePicker &\n PickedPropsFromInputDatePicker &\n PickedPropsFromDropdown &\n TestIdProps & {\n /**\n * Called when the dropdown or sheet is supposed to be closed.\n */\n onClose?: (detail: CloseDetail) => void;\n };\n\n/**\n * Component that renders DatePicker either inside a dropdown or sheet; at small screen\n * widths, it renders inside a sheet. Additionally, when a dropdown is being shown beneath\n * the component, we also show any user assistance text or messages below the picker\n * because otherwise that information would be obscured from view. When a sheet is being\n * shown, it will always display UA and messages at the bottom of the sheet.\n */\nconst InputDatePickerDropdown = ({\n anchorRef,\n assistiveText,\n dayFormatter,\n daysOutsideMonth,\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isOpen,\n isReadonly,\n label,\n onClose,\n onCommit,\n max,\n messages,\n min,\n monthAndYearPicker,\n testId,\n todayButton,\n todayTimeZone,\n userAssistanceDensity,\n value,\n weekDisplay\n}: Props) => {\n // If the dropdown opens above the component, we don't want to show UA or messages.\n const [isDropdownAbove, setDropdownAbove] = useState(false);\n const [prevIsOpen, setPrevIsOpen] = useState(isOpen);\n const handleDropdownPosition = useCallback<\n NonNullable<StickyPositioningDropdownProps['onPosition']>\n >((data: PositionData) => {\n setDropdownAbove(data.placement.startsWith('top'));\n }, []);\n // Reset the flag when the dropdown is closed.\n if (prevIsOpen !== isOpen) {\n setPrevIsOpen(isOpen);\n if (!isOpen) {\n setDropdownAbove(false);\n }\n }\n\n const sizeOptions: SizeOptions = {\n isMaxWidthAdjusted: false,\n isMaxHeightAdjusted: true\n };\n\n // On mobile phones, the dropdown becomes a sheet.\n const shouldShowSheet = isPhone();\n\n const { datePicker_label } = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const datePickerAriaLabel = datePicker_label();\n\n const datePickerMainContent = (\n <DatePicker\n dayFormatter={dayFormatter}\n daysOutsideMonth={daysOutsideMonth}\n height={!shouldShowSheet ? 'auto' : undefined}\n onCommit={onCommit}\n max={max}\n min={min}\n // for sheet, we want the width to grow to the width of the sheet, otherwise it will use the theme default.\n maxWidth={shouldShowSheet ? '100%' : undefined}\n width=\"100%\"\n monthAndYearPicker={monthAndYearPicker}\n testId={testId}\n todayTimeZone={todayTimeZone}\n todayButton={todayButton}\n value={value}\n weekDisplay={weekDisplay}\n />\n );\n\n const inlineUserAssistanceFooter =\n isOpen &&\n (!isDropdownAbove || shouldShowSheet) &&\n !isDisabled &&\n !isReadonly &&\n (assistiveText || helpSourceLink || (messages && messages.length > 0)) &&\n (userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow') ? (\n <FormFieldContext.Provider value={{ isFocused: true }}>\n <div class={userAssistanceStyles}>\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={messages}\n userAssistanceDensity={userAssistanceDensity}\n />\n </div>\n </FormFieldContext.Provider>\n ) : undefined;\n\n const contentTestId = testId ? testId + (shouldShowSheet ? '_sheet' : '_dropdown') : undefined;\n\n // The same content is displayed either in a dropdown or sheet: date picker and inline UA.\n // Add styling to the dropdown to enforce a fixed width.\n const dropdownContent = (\n <div class={dropdownStyles}>\n <SectionedContent\n aria-label={datePickerAriaLabel}\n footer={inlineUserAssistanceFooter}\n hasFocusTrap={true}\n main={datePickerMainContent}\n role=\"dialog\"\n testId={contentTestId}\n />\n </div>\n );\n\n const dropdown = shouldShowSheet ? (\n <Sheet initialFocus=\"firstFocusable\" isOpen={isOpen} onClose={onClose}>\n <SectionedContent\n aria-label={datePickerAriaLabel}\n footer={inlineUserAssistanceFooter}\n hasFocusTrap={true}\n main={datePickerMainContent}\n role=\"dialog\"\n testId={contentTestId}\n />\n </Sheet>\n ) : (\n <StickyPositioningDropdown\n anchorRef={anchorRef}\n initialFocus=\"firstFocusable\"\n isOpen={isOpen}\n onClose={onClose}\n onPosition={handleDropdownPosition}\n sizeOptions={sizeOptions}>\n {dropdownContent}\n </StickyPositioningDropdown>\n );\n\n return dropdown;\n};\n\nconst isPhone = () => {\n return getClientHints().deviceType === 'phone';\n};\n\nexport { InputDatePickerDropdown, type CloseDetail };\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 { useReducer } from 'preact/hooks';\nimport type { CalendarDate, CalendarDateRequired } from '#utils/UNSAFE_calendarDateUtils';\nimport { isCompleteCalendarDate } from '#utils/UNSAFE_calendarDateUtils';\n\ntype InputDatePickerState = {\n /**\n * If dateValue is a complete date, then completeDateValue is the same as dateValue\n * otherwise is is undefined. We need to maintain separate states because\n * InputDateMask uses CalendarDate, but DatePicker uses CalendarDateRequired.\n * If the user types a partial date then opens the picker, we treat that as\n * no selection. The picker opens to the current month showing today.\n */\n completeDateValue?: CalendarDateRequired;\n\n /**\n * Represents the current date value of the component. The user either selected\n * the date in the picker, or typed it into the date field.\n */\n dateValue?: CalendarDate;\n};\n\ntype DateChangedAction = { type: 'dateChanged'; data?: CalendarDate };\ntype DateResetAction = { type: 'reset'; data?: CalendarDate };\ntype DateSelectedAction = { type: 'dateSelected'; data?: CalendarDateRequired };\ntype InputDatePickerReducerAction = DateChangedAction | DateResetAction | DateSelectedAction;\n\n// If dateVal is a complete date, return it as a CalendarDateRequired\n// otherwise return undefined.\nconst convertToCalendarDateRequired = (dateVal?: CalendarDate) => {\n return !dateVal || !isCompleteCalendarDate(dateVal)\n ? undefined\n : (dateVal as CalendarDateRequired);\n};\n\n// Use a reducer function to manage InputDatePickerState.\nconst inputDatePickerReducer = (\n state: InputDatePickerState,\n action: InputDatePickerReducerAction\n): InputDatePickerState => {\n switch (action.type) {\n case 'dateChanged': {\n return {\n ...state,\n dateValue: action.data,\n completeDateValue: convertToCalendarDateRequired(action.data)\n };\n }\n case 'dateSelected': {\n return { ...state, dateValue: action.data, completeDateValue: action.data };\n }\n case 'reset': {\n return {\n completeDateValue: convertToCalendarDateRequired(action.data),\n dateValue: action.data\n };\n }\n default:\n return state;\n }\n};\n\ntype Props = {\n /**\n * The value of the InputDatePicker, or undefined.\n */\n value?: CalendarDate;\n};\n\n/**\n * useInputDatePickerState calls useReducer to determine the initial state. Any changes to that state\n * are managed by dispatching actions to the reducer function.\n */\nconst useInputDatePickerState = ({ value }: Props) => {\n const [state, dispatch] = useReducer(inputDatePickerReducer, {\n completeDateValue: convertToCalendarDateRequired(value),\n dateValue: value\n });\n\n return { state, dispatch };\n};\n\nexport { useInputDatePickerState };\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 type { ComponentProps, RefObject } from 'preact';\nimport { useCallback, useEffect, useRef, useState } from 'preact/hooks';\nimport type { CalendarDate, CalendarDateRequired } from '#utils/UNSAFE_calendarDateUtils';\nimport { calendarDatesAreDifferent } from '#utils/PRIVATE_dayUtils';\nimport { DatePicker } from '#UNSAFE_DatePicker';\nimport { CloseDetail, InputDatePickerDropdown } from './InputDatePickerDropdown';\nimport { IconButton } from '#UNSAFE_IconButton';\nimport { InputDateMask } from '#UNSAFE_InputDateMask';\nimport { InputDatePicker } from './InputDatePicker';\nimport { useInputDatePickerState } from './useInputDatePickerState';\nimport type { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\n\ntype InputDatePickerProps = ComponentProps<typeof InputDatePicker>;\ntype InputDateMaskProps = ComponentProps<typeof InputDateMask>;\ntype DatePickerProps = ComponentProps<typeof DatePicker>;\ntype IconButtonProps = ComponentProps<typeof IconButton>;\ntype DropdownProps = ComponentProps<typeof InputDatePickerDropdown>;\n\ntype Props = {\n onCommit: InputDatePickerProps['onCommit'];\n onInput: InputDatePickerProps['onInput'];\n value: InputDatePickerProps['value'];\n};\n\n/**\n * Hook that provides handlers and other functionality for InputDatePicker.\n */\nconst useInputDatePicker = ({ onCommit, onInput, value: currentValue }: Props) => {\n // Whether the dropdown is open.\n const [isOpen, setIsOpen] = useState(false);\n\n // Ref to the calendar icon button.\n const iconRef: RefObject<HTMLButtonElement> = useRef<HTMLButtonElement>(null);\n\n // Ref to the InputDateMask component.\n const maskRef: RefObject<HTMLElement> = useRef<HTMLElement>(null);\n\n // Keep track of whether the dropdown was just dismissed from an outside mousedown event.\n const outsideMousedownRef = useRef<boolean>(false);\n const outsideMousedownTimerRef = useRef<ReturnType<typeof setTimeout> | undefined>();\n\n // Keep track of the last date values passed to onInput and onCommit.\n const lastCommittedDateRef = useRef<CalendarDate | undefined>(currentValue);\n const lastDateRef = useRef<CalendarDate | undefined>(currentValue);\n\n // Keep track of the last controlled value passed from the parent, so we can detect a programmatic change.\n const lastValueFromParentRef = useRef<CalendarDate | undefined>(currentValue);\n\n // Keep track of whether a date was selected in the date picker.\n const dateSelectedRef = useRef<boolean>(false);\n\n const { state, dispatch } = useInputDatePickerState({ value: currentValue });\n\n // If a new value is being pushed from the parent, and that value differs from\n // the current value of the reducer, then this is a programmatic update\n // and we need to call 'reset' to update the reducer state. Otherwise, the only\n // time the reducer state is updated from the value is on mount.\n if (calendarDatesAreDifferent(lastValueFromParentRef.current, currentValue)) {\n lastValueFromParentRef.current = currentValue;\n if (calendarDatesAreDifferent(currentValue, state.dateValue)) {\n dispatch({ type: 'reset', data: currentValue });\n lastDateRef.current = currentValue;\n lastCommittedDateRef.current = currentValue;\n }\n }\n\n // Reducer updates are async, so wait until the state updates and then call our callbacks.\n useEffect(() => {\n if (calendarDatesAreDifferent(state.dateValue, lastDateRef.current)) {\n onInput({ previousValue: lastDateRef.current, value: state.dateValue });\n lastDateRef.current = state.dateValue;\n }\n if (\n dateSelectedRef.current &&\n calendarDatesAreDifferent(state.dateValue, lastCommittedDateRef.current)\n ) {\n onCommit?.({ previousValue: lastCommittedDateRef.current, value: state.dateValue });\n lastCommittedDateRef.current = state.dateValue;\n dateSelectedRef.current = false;\n }\n }, [onCommit, onInput, state.dateValue]);\n\n // Handle onInput from InputDateMask as segment values are being added or changed in the input field.\n // We wait for the state to update before calling onInput.\n const maskInputHandler = useCallback<InputDateMaskProps['onInput']>(\n (detail: ValueUpdateDetail<CalendarDate>) => {\n dispatch({ type: 'dateChanged', data: detail.value });\n },\n [dispatch]\n );\n\n // Handle onCommit from InputDateMask, which is called when the user presses Enter or the field is blurred.\n const maskCommitHandler = useCallback<NonNullable<InputDateMaskProps['onCommit']>>(() => {\n // If the current date value differs from the last committed value, then call onCommit.\n if (calendarDatesAreDifferent(lastCommittedDateRef.current, state.dateValue)) {\n onCommit?.({ value: state.dateValue, previousValue: lastCommittedDateRef.current });\n lastCommittedDateRef.current = state.dateValue;\n }\n }, [onCommit, state.dateValue]);\n\n // Respond to onAction event from the calendar icon button. Toggles the date picker dropdown.\n const calendarIconActionHandler = useCallback<NonNullable<IconButtonProps['onAction']>>(() => {\n // Only toggle the value of isOpen if we didn't just dismiss the dropdown.\n if (!outsideMousedownRef.current) {\n setIsOpen((prevIsOpen) => !prevIsOpen);\n }\n outsideMousedownRef.current = false;\n }, []);\n\n const dropdownCloseHandler = useCallback<NonNullable<DropdownProps['onClose']>>(\n (detail: CloseDetail) => {\n // Keep track of when the dropdown is closed via outside mousedown, including when the calendar icon\n // is clicked. We need this in order to toggle visibility of the picker and dropdown.\n if (detail.reason === 'outsideMousedown') {\n outsideMousedownRef.current = true;\n clearTimeout(outsideMousedownTimerRef.current);\n\n // Clear the flag after a short delay to ensure the dropdown can be opened again.\n outsideMousedownTimerRef.current = setTimeout(() => {\n outsideMousedownRef.current = false;\n }, 200);\n } else if (detail.reason === 'dismissed' || detail.reason === 'keyboardDismissed') {\n // Focus the calendar icon when the dropdown is closed.\n iconRef.current?.focus();\n }\n setIsOpen(false);\n },\n []\n );\n\n // Handle date selection in the picker.\n // - Updates the value in state.\n // - Closes the dropdown.\n // - Sets focus to the date field.\n const datePickerCommitHandler = useCallback<DatePickerProps['onCommit']>(\n (detail: ValueUpdateDetail<CalendarDateRequired>) => {\n // Set focus to the calendar icon when a date is selected.\n iconRef.current?.focus();\n\n // Set a ref indicating a date was selected.\n dateSelectedRef.current = true;\n dispatch({ type: 'dateSelected', data: detail.value });\n setIsOpen(false);\n },\n [dispatch]\n );\n\n return {\n calendarIconActionHandler,\n datePickerCommitHandler,\n dropdownCloseHandler,\n completeDateValue: state.completeDateValue,\n dateValue: state.dateValue,\n iconRef,\n isOpen,\n maskCommitHandler,\n maskInputHandler,\n maskRef\n };\n};\n\nexport { useInputDatePicker };\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useImperativeHandle, useRef } from 'preact/hooks';\nimport { BundleType } from '../resources/nls/bundle';\nimport { CalendarIcon } from '#PRIVATE_ThemedIcons/CalendarIcon';\nimport {\n CalendarDate,\n CalendarDatePlaceholders,\n InputDateMask,\n InputDateMaskContext\n} from '#UNSAFE_InputDateMask';\nimport { DatePicker } from '#UNSAFE_DatePicker';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { IconButton } from '#UNSAFE_IconButton';\nimport { InputDatePickerDropdown } from './InputDatePickerDropdown';\nimport { FocusableHandle } from '#hooks/UNSAFE_useFocusableTextField';\nimport { merge } from '#utils/UNSAFE_stringUtils';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { useInputDatePicker } from './useInputDatePicker';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\n\ntype InputDateMaskProps = ComponentProps<typeof InputDateMask>;\ntype PickedPropsFromInputDateMask = Pick<\n InputDateMaskProps,\n | 'aria-describedby'\n | 'assistiveText'\n | 'columnSpan'\n | 'helpSourceLink'\n | 'helpSourceText'\n | 'isDisabled'\n | 'isReadonly'\n | 'isRequired'\n | 'isRequiredShown'\n | 'label'\n | 'labelEdge'\n | 'labelStartWidth'\n | 'messages'\n | 'textAlign'\n | 'testId'\n | 'userAssistanceDensity'\n | 'variant'\n>;\n\ntype DatePickerProps = ComponentProps<typeof DatePicker>;\ntype PickedPropsFromDatePicker = Pick<\n DatePickerProps,\n | 'dayFormatter'\n | 'daysOutsideMonth'\n | 'max'\n | 'min'\n | 'monthAndYearPicker'\n | 'todayTimeZone'\n | 'todayButton'\n | 'weekDisplay'\n>;\n\ntype Props = PickedPropsFromInputDateMask &\n PickedPropsFromDatePicker & {\n /**\n * If specified, overrides the locale specific order of the individual date segments\n * in the date field as well as the locale specific separator. The value of each placeholder\n * is only used when the type is 'literal', otherwise it is replaced with a translated\n * placeholder for month, day, or year. The placeholders must include month, day, and year.\n */\n masks?: CalendarDatePlaceholders;\n\n /**\n * The current display value of the component.\n * This is a CalendarDate, not CalendarDateRequired, because this is a controlled component and\n * the user may type the month, day, and year separately. If a selection is made in the date\n * picker, then the value is a complete date.\n */\n value?: CalendarDate;\n\n /**\n * Callback invoked when the user commits the entered value by blurring or hitting the enter key.\n * It is also called when a selection is made in the date picker.\n */\n onCommit?: (detail: ValueUpdateDetail<CalendarDate>) => void;\n\n /**\n * Callback invoked each time the user changes the value of a segment. For example, if the user\n * types '12' into the month segment, this callback will be called twice to change the month\n * first to '1' and then '12'.\n */\n onInput: (detail: ValueUpdateDetail<CalendarDate>) => void;\n };\n\n/**\n * InputDatePicker allows users to enter or select a single date using a calendar interface.\n */\nexport const InputDatePicker = forwardRef(\n (\n {\n 'aria-describedby': propDescribedBy,\n assistiveText,\n dayFormatter,\n daysOutsideMonth,\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isReadonly,\n label,\n max,\n messages,\n min,\n monthAndYearPicker,\n todayTimeZone,\n todayButton,\n value,\n onCommit,\n onInput,\n testId,\n userAssistanceDensity: propUserAssistanceDensity,\n weekDisplay,\n ...dateMaskProps\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const {\n calendarIconActionHandler,\n datePickerCommitHandler,\n completeDateValue,\n dateValue,\n dropdownCloseHandler,\n iconRef,\n isOpen,\n maskCommitHandler,\n maskInputHandler,\n maskRef\n } = useInputDatePicker({\n onCommit,\n onInput,\n value\n });\n\n const mainFieldRef = useRef<HTMLDivElement>(null);\n const { inputDatePicker_selectDate, inputDatePicker_instruction } =\n useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const calendarIconAriaLabel = inputDatePicker_selectDate();\n\n // We need this to determine if UA/messaging should be shown in the dropdown.\n const { userAssistanceDensity: formUserAssistanceDensity } = useFormContext();\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n useImperativeHandle(ref!, () => ({\n focus: () => {\n maskRef.current?.focus();\n },\n blur: () => {\n maskRef.current?.blur();\n }\n }));\n\n const maskFieldInstructionId = useId();\n const maskFieldInstructionText = inputDatePicker_instruction();\n const maskFieldInstruction =\n !isDisabled && !isReadonly ? (\n <HiddenAccessible id={maskFieldInstructionId} isHidden={true}>\n {maskFieldInstructionText}\n </HiddenAccessible>\n ) : undefined;\n const ariaDescribedBy =\n !isDisabled && !isReadonly\n ? merge([propDescribedBy, maskFieldInstructionId])\n : propDescribedBy;\n\n const endContent = (\n <IconButton\n aria-haspopup=\"dialog\"\n aria-label={calendarIconAriaLabel}\n isDisabled={isDisabled}\n ref={iconRef}\n size=\"sm\"\n testId={testId ? testId + '_calendarIcon' : undefined}\n variant=\"ghost\"\n onAction={calendarIconActionHandler}>\n <CalendarIcon />\n </IconButton>\n );\n\n const shouldShowDropdown = isOpen as boolean;\n\n return (\n <>\n <InputDateMaskContext.Provider\n value={{ isDropdownOpen: isOpen, isInputDatePickerParent: true }}>\n <InputDateMask\n aria-describedby={ariaDescribedBy}\n assistiveText={assistiveText}\n endContent={endContent}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n isDisabled={isDisabled}\n isReadonly={isReadonly}\n label={label}\n onCommit={maskCommitHandler}\n onInput={maskInputHandler}\n mainFieldRef={mainFieldRef}\n messages={messages}\n testId={testId}\n ref={maskRef}\n userAssistanceDensity={propUserAssistanceDensity}\n value={dateValue}\n {...dateMaskProps}\n />\n </InputDateMaskContext.Provider>\n\n {maskFieldInstruction}\n\n {shouldShowDropdown && (\n <InputDatePickerDropdown\n anchorRef={mainFieldRef}\n assistiveText={assistiveText}\n dayFormatter={dayFormatter}\n daysOutsideMonth={daysOutsideMonth}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n isDisabled={isDisabled}\n isReadonly={isReadonly}\n isOpen={isOpen}\n label={label}\n onClose={dropdownCloseHandler}\n onCommit={datePickerCommitHandler}\n max={max}\n messages={messages}\n min={min}\n monthAndYearPicker={monthAndYearPicker}\n testId={testId ? testId + '_datePicker' : undefined}\n todayTimeZone={todayTimeZone}\n todayButton={todayButton}\n userAssistanceDensity={userAssistanceDensity}\n value={completeDateValue}\n weekDisplay={weekDisplay}\n />\n )}\n </>\n );\n }\n);\n"],"names":["InputDatePickerDropdown","anchorRef","assistiveText","dayFormatter","daysOutsideMonth","helpSourceLink","helpSourceText","isDisabled","isOpen","isReadonly","label","onClose","onCommit","max","messages","min","monthAndYearPicker","testId","todayButton","todayTimeZone","userAssistanceDensity","value","weekDisplay","isDropdownAbove","setDropdownAbove","useState","prevIsOpen","setPrevIsOpen","handleDropdownPosition","useCallback","data","placement","startsWith","shouldShowSheet","isPhone","datePicker_label","useTranslationBundle","datePickerAriaLabel","datePickerMainContent","_jsx","DatePicker","height","undefined","maxWidth","width","inlineUserAssistanceFooter","length","FormFieldContext","Provider","isFocused","children","jsx","class","userAssistanceStyles","InlineUserAssistance","fieldLabel","contentTestId","dropdownContent","dropdownStyles","SectionedContent","footer","hasFocusTrap","main","role","Sheet","initialFocus","StickyPositioningDropdown","onPosition","sizeOptions","isMaxWidthAdjusted","isMaxHeightAdjusted","getClientHints","deviceType","convertToCalendarDateRequired","dateVal","isCompleteCalendarDate","inputDatePickerReducer","state","action","type","dateValue","completeDateValue","useInputDatePicker","onInput","currentValue","setIsOpen","iconRef","useRef","maskRef","outsideMousedownRef","outsideMousedownTimerRef","lastCommittedDateRef","lastDateRef","lastValueFromParentRef","dateSelectedRef","dispatch","useReducer","useInputDatePickerState","calendarDatesAreDifferent","current","useEffect","previousValue","maskInputHandler","detail","maskCommitHandler","calendarIconActionHandler","dropdownCloseHandler","reason","clearTimeout","setTimeout","focus","datePickerCommitHandler","InputDatePicker","forwardRef","propDescribedBy","propUserAssistanceDensity","dateMaskProps","ref","mainFieldRef","inputDatePicker_selectDate","inputDatePicker_instruction","calendarIconAriaLabel","formUserAssistanceDensity","useFormContext","useImperativeHandle","blur","maskFieldInstructionId","useId","maskFieldInstructionText","maskFieldInstruction","HiddenAccessible","id","isHidden","ariaDescribedBy","merge","endContent","IconButton","size","variant","onAction","CalendarIcon","shouldShowDropdown","_jsxs","InputDateMaskContext","isDropdownOpen","isInputDatePickerParent","InputDateMask"],"mappings":"ylEAsEA,MAAMA,GAA0B,EAC9BC,YACAC,gBACAC,eACAC,mBACAC,iBACAC,iBACAC,aACAC,SACAC,aACAC,QACAC,UACAC,WACAC,MACAC,WACAC,MACAC,qBACAC,SACAC,cACAC,gBACAC,wBACAC,QACAC,kBAGA,MAAOC,EAAiBC,GAAoBC,EAAQA,UAAC,IAC9CC,EAAYC,GAAiBF,EAAQA,SAACjB,GACvCoB,EAAyBC,eAE5BC,IACDN,EAAiBM,EAAKC,UAAUC,WAAW,OAAO,GACjD,IAECN,IAAelB,IACjB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EAAAA,IAACqG,EAAAA,YAAY,CAAA,KAIXC,EAAqBrI,EAE3B,OACEsI,6BACEvG,EAACY,IAAA4F,wBAAqB/F,SAAQ,CAC5B3B,MAAO,CAAE2H,eAAgBxI,EAAQyI,yBAAyB,GAAM/F,SAChEX,EAAAA,IAAC2G,GAAaA,cACM,CAAA,mBAAAb,EAClBnI,cAAeA,EACfqI,WAAYA,EACZlI,eAAgBA,EAChBC,eAAgBA,EAChBC,WAAYA,EACZE,WAAYA,EACZC,MAAOA,EACPE,SAAU4F,EACVrB,QAASmB,EACTgB,aAAcA,EACdxG,SAAUA,EACVG,OAAQA,EACRoG,IAAK7B,EACLpE,sBAAuB+F,EACvB9F,MAAO2D,KACHoC,MAIPa,EAEAY,GACCtG,MAACvC,GAAuB,CACtBC,UAAWqH,EACXpH,cAAeA,EACfC,aAAcA,EACdC,iBAAkBA,EAClBC,eAAgBA,EAChBC,eAAgBA,EAChBC,WAAYA,EACZE,WAAYA,EACZD,OAAQA,EACRE,MAAOA,EACPC,QAAS+F,EACT9F,SAAUmG,EACVlG,IAAKA,EACLC,SAAUA,EACVC,IAAKA,EACLC,mBAAoBA,EACpBC,OAAQA,EAASA,EAAS,mBAAgByB,EAC1CvB,cAAeA,EACfD,YAAaA,EACbE,sBAAuBA,EACvBC,MAAO4D,EACP3D,YAAaA,MAInB"}
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', 'preact/hooks', './useFocusableTextField-8b755b15', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', './useTextField-e6877c79', './useHover-7964884c', './Label-7cbbe3b7', './keyboardUtils-71bc5d84', './TextFieldInput-e86a1d08', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-d6c6dbc4', './StyledTextField-5dcd2ff4', './TextField-c16917d8', './useTranslationBundle-7c40cb58', 'css!./LiveRegionStyles.styles.css', './LayerHost-733ade2f', './logger-0f873e29', './TabbableModeContext-a9c97640', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-3d3e72a9', './CompactUserAssistance-f962b357', './useToggle-a29f97af', './mergeProps-bcfa6a92', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'preact', 'css!./IconStyle.styles.css', './Popup-3e2566da', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'css!./HiddenAccessibleStyles.styles.css', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './useClearIcon-05225968', './componentUtils-c14d7fce', './ClearIcon-f1befe37', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860', './RevealToggleIcon-411d7a73'], (function(e,s,t,a,o,l,n,i,d,r,c,u,p,b,m,h,y,x,F,f,T,v,C,S,A,g,I,R,U,w,P,E,L,j,V,_,k,D,B,N,H,q,W,O,$,G,M,z,J){"use strict";const K=t.forwardRef((({"aria-describedby":e,assistiveText:t,autoComplete:l="off",autoFocus:u=!1,columnSpan:b,hasClearIcon:F,hasRevealToggle:f="always",helpSourceLink:T,helpSourceText:v,isDisabled:C,isReadonly:S,isRequired:A=!1,isRequiredShown:w,label:P,labelEdge:E,labelStartWidth:L,messages:j,placeholder:V,textAlign:_,userAssistanceDensity:k,value:D,variant:B="default",onInput:N,onCommit:H,testId:q},W)=>{const{currentCommitValue:K,dispatch:Q}=M.useCurrentValueReducer({value:D}),X=a.useCallback((e=>{Q({type:"input",payload:e.value}),N?.(e)}),[N,Q]),Y=a.useCallback((e=>{Q({type:"commit",payload:e.value}),H?.(e)}),[H,Q]),{isDisabled:Z,isReadonly:ee,labelEdge:se,labelStartWidth:te,textAlign:ae,userAssistanceDensity:oe}=n.useFormContext(),le=C??Z,ne=S??ee,ie=E??se,de=L??te,re=_??ae,ce=k??oe,{bool:ue,setFalse:pe,setTrue:be}=R.useToggle(!1),me=a.useRef(null),he=a.useRef(null),{focusProps:ye,isFocused:xe,methods:Fe}=o.useFocusableTextField({enabledElementRef:me,readonlyElementRef:he,isDisabled:le,isReadonly:ne,onBlurWithin:pe}),{methods:fe}=z.useSelectableTextField(me);a.useImperativeHandle(W,(()=>U.mergeProps(Fe,fe)),[Fe,fe]);const{hoverProps:Te,isHover:ve}=r.useHover({isDisabled:ne||le||!1}),{formFieldContext:Ce,inputProps:Se,labelProps:Ae,textFieldProps:ge,userAssistanceProps:Ie}=d.useTextField({ariaDescribedBy:e,helpSourceLink:T,helpSourceText:v,isDisabled:le,isFocused:xe,isReadonly:ne,isRequiredShown:w,labelEdge:ie,messages:j,styleVariant:B,userAssistanceDensity:ce,value:D}),Re=a.useCallback((()=>{ue?pe():be()}),[ue,pe,be]),Ue=x.useTranslationBundle("@oracle/oraclejet-preact"),we=Ue.inputPassword_hidden(),Pe=Ue.inputPassword_show(),Ee=Ue.inputPassword_hide(),Le=le||"always"!==f?null:s.jsx(J.RevealToggleIcon,{accessibleLabel:we,isRevealed:ue,onToggle:Re,tooltipHide:Ee,tooltipShow:Pe,testId:`${q}_toggleicon`}),je=a.useCallback((()=>{me.current?.focus(),X?.({previousValue:D,value:""})}),[X,D,me]),Ve=O.useClearIcon({clearIcon:s.jsx(G.ClearIcon,{onClick:je,testId:`${q}_clearicon`}),display:F,hasValue:Ce.hasValue,isFocused:xe,isEnabled:!ne&&!le,isHover:ve}),_e=$.beforeVNode(Le,Ve),ke="none"!==ie?s.jsx(c.Label,{...Ae,children:P}):void 0,De={label:"none"!==ie?ke:void 0,labelEdge:"none"!==ie?ie:void 0,labelStartWidth:"none"!==ie?de:void 0},Be="none"===ie?P:void 0,Ne="efficient"===ce||"reflow"===ce?le||ne?"efficient"!==ce?void 0:s.jsx(g.InlineUserAssistance,{userAssistanceDensity:ce,...Ie}):s.jsx(g.InlineUserAssistance,{assistiveText:t,helpSourceLink:T,helpSourceText:v,messages:j,isRequiredShown:w,userAssistanceDensity:ce,...Ie}):void 0,He=a.useRef(null),qe="compact"===ce?s.jsx(I.CompactUserAssistance,{anchorRef:He,messages:j,assistiveText:t,...Ie}):void 0;if(ne){const e=s.jsx(m.ReadonlyTextFieldInput,{"aria-describedby":Se["aria-describedby"],"aria-label":Be,"aria-labelledby":Ae.id,as:"input",autoFocus:u,elementRef:he,textAlign:re,type:"password",value:D,hasEmptyLabel:""===P&&"none"===ie,hasInsideLabel:void 0!==P&&"inside"===ie});return s.jsx(i.FormFieldContext.Provider,{value:Ce,children:s.jsx(h.ReadonlyTextField,{role:"presentation",columnSpan:b,compactUserAssistance:qe,inlineUserAssistance:Ne,ref:He,mainContent:e,testId:q,...De})})}const We=s.jsx(p.TextFieldInput,{"aria-label":Be,autoComplete:l,autoFocus:u,currentCommitValue:K,hasEndContent:!(!Ve&&!Le),hasEmptyLabel:""===P&&"none"===ie,hasInsideLabel:void 0!==ke&&"inside"===ie,inputRef:me,isRequired:A,onInput:X,onCommit:Y,placeholder:V,textAlign:re,value:D,type:ue?"text":"password",...Se});return s.jsx(i.FormFieldContext.Provider,{value:Ce,children:s.jsx(y.TextField,{columnSpan:b,endContent:_e,inlineUserAssistance:Ne,compactUserAssistance:qe,mainContent:We,onBlur:ye.onFocusOut,onFocus:ye.onFocusIn,mainFieldRef:He,testId:q,...ge,...De,...Te})})}));e.InputPassword=K}));
2
- //# sourceMappingURL=InputPassword-61090b77.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputPassword-61090b77.js","sources":["../../src/UNSAFE_InputPassword/InputPassword.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, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback, useImperativeHandle, useRef } from 'preact/hooks';\n\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 {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '#UNSAFE_UserAssistance';\nimport { RevealToggleIcon } from '#PRIVATE_RevealToggleIcon';\nimport { useClearIcon } from '#hooks/UNSAFE_useClearIcon';\nimport { beforeVNode } from '#utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '#PRIVATE_ClearIcon/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';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { LayoutColumnSpan } from '#utils/UNSAFE_styles/Layout';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { SelectableHandle, useSelectableTextField } from '#hooks/UNSAFE_useSelectableTextField';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\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 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\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 how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\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 * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\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} & TestIdProps;\n\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n\n// One way InputPassword differs from InputText is InputPassword's readonly\n// is implemented with an <input> and not a <div>.\n/**\n * An InputPassword is a password input field with a reveal icon.\n */\nexport const InputPassword = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n columnSpan,\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 testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\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 = useRef<HTMLInputElement>(null);\n const readonlyElementRef = useRef<HTMLInputElement>(null);\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLInputElement, HTMLInputElement>({\n enabledElementRef,\n readonlyElementRef,\n isDisabled,\n isReadonly,\n onBlurWithin: setRevealedFalse\n });\n\n const { methods: selectMethods } = useSelectableTextField<HTMLInputElement>(enabledElementRef);\n\n useImperativeHandle(ref!, () => mergeProps(focusMethods, selectMethods), [\n focusMethods,\n selectMethods\n ]);\n\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy,\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages,\n styleVariant: variant,\n userAssistanceDensity,\n value\n });\n\n // Callback on the RevealToggleButton.\n // When the user clicks on the reveal button,\n // toggle revealing/masking password\n const onRevealIconToggle = useCallback(() => {\n isRevealed ? setRevealedFalse() : setRevealedTrue();\n }, [isRevealed, setRevealedFalse, setRevealedTrue]);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const passwordMaskedStr = translations.inputPassword_hidden();\n const passwordShowStr = translations.inputPassword_show();\n const passwordHideStr = translations.inputPassword_hide();\n\n const revealToggleIcon =\n !isDisabled && hasRevealToggle === 'always' ? (\n <RevealToggleIcon\n accessibleLabel={passwordMaskedStr}\n isRevealed={isRevealed}\n onToggle={onRevealIconToggle}\n tooltipHide={passwordHideStr}\n tooltipShow={passwordShowStr}\n testId={`${testId}_toggleicon`}\n />\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 }, [onInputAndDispatch, value, enabledElementRef]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} testId={`${testId}_clearicon`} />,\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 const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\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 ) : undefined;\n\n const anchorRef = useRef<HTMLDivElement>(null);\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={messages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\n\n if (isReadonly) {\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n as=\"input\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n type=\"password\"\n value={value}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n );\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n ref={anchorRef}\n mainContent={mainContent}\n testId={testId}\n {...fieldLabelProps}></ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n\n const mainContent = (\n <TextFieldInput\n aria-label={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEndContent={!!(maybeClearIcon || revealToggleIcon)}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\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 columnSpan={columnSpan}\n endContent={endContentCombined}\n inlineUserAssistance={inlineUserAssistance}\n compactUserAssistance={compactUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onFocusOut}\n onFocus={focusProps.onFocusIn}\n mainFieldRef={anchorRef}\n testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}\n {...hoverProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["InputPassword","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","columnSpan","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","testId","ref","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","bool","isRevealed","setFalse","setRevealedFalse","setTrue","setRevealedTrue","useToggle","enabledElementRef","useRef","readonlyElementRef","focusProps","isFocused","methods","focusMethods","useFocusableTextField","onBlurWithin","selectMethods","useSelectableTextField","useImperativeHandle","mergeProps","hoverProps","isHover","useHover","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onRevealIconToggle","translations","useTranslationBundle","passwordMaskedStr","inputPassword_hidden","passwordShowStr","inputPassword_show","passwordHideStr","inputPassword_hide","revealToggleIcon","_jsx","RevealToggleIcon","accessibleLabel","onToggle","tooltipHide","tooltipShow","onClickClearIcon","current","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","labelComp","Label","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","anchorRef","compactUserAssistance","CompactUserAssistance","mainContent","ReadonlyTextFieldInput","id","as","elementRef","hasEmptyLabel","hasInsideLabel","FormFieldContext","Provider","children","ReadonlyTextField","role","TextFieldInput","hasEndContent","inputRef","TextField","endContent","onBlur","onFocusOut","onFocus","onFocusIn","mainFieldRef"],"mappings":"+tDA4La,MAAAA,EAAgBC,EAAAA,YAC3B,EAEI,mBAAoBC,EACpBC,gBACAC,eAAe,MACfC,aAAY,EACZC,aACAC,eACAC,kBAAkB,SAClBC,iBACAC,iBACAC,WAAYC,EACZC,WAAYC,EACZC,cAAa,EACbC,kBACAC,QACAC,UAAWC,EACXC,gBAAiBC,EACjBC,WACAC,cACAC,UAAWC,EACXC,sBAAuBC,EACvBC,QACAC,UAAU,UACVC,UACAC,WACAC,UAEFC,KAEA,MAAMC,mBAAEA,EAAkBC,SAAEA,GAAaC,EAAAA,uBAAuB,CAAER,UAC5DS,EAAqBC,eACxBC,IAECJ,EAAS,CAAEK,KAAM,QAASC,QAASF,EAAOX,QAC1CE,IAAUS,EAAO,GAEnB,CAACT,EAASK,IAENO,EAAsBJ,eACzBC,IAECJ,EAAS,CAAEK,KAAM,SAAUC,QAASF,EAAOX,QAC3CG,IAAWQ,EAAO,GAEpB,CAACR,EAAUI,KAGXxB,WAAYgC,EACZ9B,WAAY+B,GACZ1B,UAAW2B,G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cAAyB,KAAV7G,GAA8B,SAAdC,GAC/B6G,oBAA0Bd,IAAVhG,GAAqC,WAAdC,KAG3C,OACEwE,MAACsC,EAAgBA,iBAACC,SAAS,CAAArG,MAAO6C,GAAgByD,SAChDxC,EAAAA,IAACyC,EAAAA,kBAAiB,CAChBC,KAAK,eACL9H,WAAYA,EACZiH,sBAAuBA,GACvBH,qBAAsBA,GACtBnF,IAAKqF,GACLG,YAAaA,EACbzF,OAAQA,KACJkF,MAGX,CAED,MAAMO,GACJ/B,EAAAA,IAAC2C,EAAcA,eACD,CAAA,aAAAlB,GACZ/G,aAAcA,EACdC,UAAWA,EACX6B,mBAAoBA,EACpBoG,iBAAkBlC,KAAkBX,IACpCqC,cAAyB,KAAV7G,GAA8B,SAAdC,GAC/B6G,oBAA8Bd,IAAdF,IAAyC,WAAd7F,GAC3CqH,SAAU9E,GACV1C,WAAYA,EACZe,QAASO,EACTN,SAAUW,EACVnB,YAAaA,EACbC,UAAWA,GACXI,MAAOA,EACPY,KAAMW,GAAa,OAAS,cACxBuB,KAIR,OACEgB,EAAAA,IAACsC,EAAAA,iBAAiBC,SAAQ,CAACrG,MAAO6C,GAAgByD,SAChDxC,EAACa,IAAAiC,EAASA,UACR,CAAAlI,WAAYA,EACZmI,WAAY5B,GACZO,qBAAsBA,GACtBG,sBAAuBA,GACvBE,YAAaA,GACbiB,OAAQ9E,GAAW+E,WACnBC,QAAShF,GAAWiF,UACpBC,aAAcxB,GACdtF,OAAQA,KACJ4C,MACAsC,MACA5C,MAGR"}
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', 'preact/hooks', './useClearIcon-05225968', './useFocusableTextField-8b755b15', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', './useHover-7964884c', './useLengthFilter-ed8959a4', './useTextField-e6877c79', './Label-7cbbe3b7', './PrefixSuffix-0efb3bc6', './usePrefixSuffix-5147bdc9', './HiddenAccessible-037ef42d', './useId-c9578d26', './keyboardUtils-71bc5d84', './TextFieldInput-e86a1d08', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-d6c6dbc4', './StyledTextField-5dcd2ff4', './TextField-c16917d8', './MaxLengthLiveRegion-46bb45da', './logger-0f873e29', './TabbableModeContext-a9c97640', './useTranslationBundle-7c40cb58', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-3d3e72a9', './CompactUserAssistance-f962b357', './mergeProps-bcfa6a92', './LayerHost-733ade2f', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'preact', 'css!./IconStyle.styles.css', './Popup-3e2566da', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './clientHints-fff66be9', './componentUtils-c14d7fce', './ClearIcon-f1befe37', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860'], (function(e,s,t,a,i,n,o,l,r,d,u,c,x,p,f,b,h,m,v,F,y,C,S,I,T,A,L,g,R,U,P,E,j,V,_,w,D,H,k,B,N,M,q,$,O,W,G,K,X,z,J,Q){"use strict";const Y=t.forwardRef((({"aria-describedby":e,assistiveText:t,autoComplete:o="off",autoFocus:m=!1,columnSpan:F,hasClearIcon:T="never",endContent:A,helpSourceLink:g,helpSourceText:R,isDisabled:U,isReadonly:V,isRequired:_=!1,isRequiredShown:w,label:D,labelEdge:H,labelStartWidth:k,maxLength:B,maxLengthUnit:N,messages:M,placeholder:q,prefix:$,role:O,startContent:W,suffix:G,textAlign:K,userAssistanceDensity:Y,value:ee,variant:se="default",virtualKeyboard:te,onInput:ae,onCommit:ie,testId:ne},oe)=>{const le=L.useTranslationBundle("@oracle/oraclejet-preact"),re=B?le.formControl_limitReached({CHARACTER_LIMIT:B}):"",{currentCommitValue:de,dispatch:ue}=J.useCurrentValueReducer({value:ee}),ce=a.useCallback((e=>{ue({type:"input",payload:e.value}),ae?.(e)}),[ae,ue]),xe=a.useCallback((e=>{ue({type:"commit",payload:e.value}),ie?.(e)}),[ie,ue]),{isDisabled:pe,isReadonly:fe,labelEdge:be,labelStartWidth:he,textAlign:me,userAssistanceDensity:ve}=l.useFormContext(),Fe=U??pe,ye=V??fe,Ce=H??be,Se=k??he,Ie=K??me,Te=Y??ve,Ae=a.useRef(h.useId()),Le=e?`${e} ${Ae.current}`:Ae.current,ge=[{detail:re,severity:"info"}],{isMaxLengthReached:Re,valueLength:Ue,onFilteredInput:Pe}=u.useLengthFilter({maxLength:B,maxLengthUnit:N,value:ee,onInput:ce,onCommit:xe}),Ee=[...M??[],...Re?ge:[]],je=a.useRef(null),Ve=a.useRef(null),{focusProps:_e,isFocused:we,methods:De}=n.useFocusableTextField({isDisabled:Fe,isReadonly:ye,enabledElementRef:je,readonlyElementRef:Ve}),{methods:He}=Q.useSelectableTextField(je);a.useImperativeHandle(oe,(()=>j.mergeProps(De,He)),[De,He]);const{hoverProps:ke,isHover:Be}=d.useHover({isDisabled:ye||Fe||!1}),{baseId:Ne,formFieldContext:Me,inputProps:qe,labelProps:$e,textFieldProps:Oe,userAssistanceProps:We}=c.useTextField({ariaDescribedBy:ye||Fe?e:Le,helpSourceLink:g,helpSourceText:R,isDisabled:Fe,isFocused:we,isReadonly:ye,isRequiredShown:w,labelEdge:Ce,messages:Ee,styleVariant:se,userAssistanceDensity:Te,value:ee}),Ge=a.useCallback((()=>{je.current?.focus(),ce?.({previousValue:ee,value:""})}),[ce,ee,je]),Ke=i.useClearIcon({clearIcon:s.jsx(z.ClearIcon,{onClick:Ge,testId:`${ne}_clearicon`}),display:T,hasValue:Me.hasValue,isFocused:we,isEnabled:!ye&&!Fe,isHover:Be}),Xe=X.beforeVNode(A,Ke),ze=void 0!==D&&"inside"===Ce,{shouldRenderPrefix:Je,shouldRenderSuffix:Qe,prefixProps:Ye,suffixProps:Ze,valuePrefixSuffix:es,ariaLabelledBy:ss}=f.usePrefixSuffix({baseId:Ne,hasEndContent:void 0!==A,hasInsideLabel:ze,hasStartContent:void 0!==W,hasValue:Me.hasValue,isDisabled:Fe,isFocused:we,labelId:$e.id,prefix:$,suffix:G,value:ee}),ts=Je?s.jsx(p.PrefixSuffix,{...Ye}):void 0,as=Qe?s.jsx(p.PrefixSuffix,{...Ze}):void 0,is="none"!==Ce?s.jsx(x.Label,{...$e,children:D}):void 0,ns={label:"none"!==Ce?is:void 0,labelEdge:"none"!==Ce?Ce:void 0,labelStartWidth:"none"!==Ce?Se:void 0},os="none"===Ce?D:void 0,ls="efficient"===Te||"reflow"===Te?Fe||ye?"efficient"!==Te?void 0:s.jsx(P.InlineUserAssistance,{userAssistanceDensity:Te,...We}):s.jsx(P.InlineUserAssistance,{assistiveText:t,fieldLabel:D,helpSourceLink:g,helpSourceText:R,messages:Ee,isRequiredShown:w,userAssistanceDensity:Te,...We}):void 0,rs=a.useRef(null),ds="compact"===Te?s.jsx(E.CompactUserAssistance,{anchorRef:rs,messages:Ee,assistiveText:t,...We}):void 0;if(ye){const e=s.jsx(y.ReadonlyTextFieldInput,{"aria-describedby":qe["aria-describedby"],"aria-label":os,"aria-labelledby":$e.id,as:"div",autoFocus:m,elementRef:Ve,textAlign:Ie,value:es,hasEmptyLabel:""===D&&"none"===Ce,hasInsideLabel:ze});return s.jsx(r.FormFieldContext.Provider,{value:Me,children:s.jsx(C.ReadonlyTextField,{role:"presentation",columnSpan:F,compactUserAssistance:ds,inlineUserAssistance:ls,onBlur:_e.onFocusOut,onFocus:_e.onFocusIn,ref:rs,mainContent:e,testId:ne,...ns})})}const us=void 0!==B,cs=s.jsxs(s.Fragment,{children:[ts,s.jsx(v.TextFieldInput,{"aria-labelledby":ss,"aria-label":os,autoComplete:o,autoFocus:m,currentCommitValue:de,hasEmptyLabel:""===D&&"none"===Ce,hasEndContent:void 0!==A,hasInsideLabel:void 0!==is&&"inside"===Ce,hasPrefix:void 0!==ts,hasStartContent:void 0!==W,hasSuffix:void 0!==as,inputRef:je,isRequired:_,placeholder:q,role:O,textAlign:Ie,type:Z()?te:void 0,value:Fe?es:ee,onCommit:xe,onInput:Pe,...qe}),as,us&&s.jsx(b.HiddenAccessible,{id:Ae.current,children:le.formControl_maxLength({MAX_LENGTH:`${B}`})}),us&&we&&s.jsx(I.MaxLengthLiveRegion,{maxLength:B,valueLength:Ue,testId:ne+"_remainingChars"})]});return s.jsx(r.FormFieldContext.Provider,{value:Me,children:s.jsx(S.TextField,{endContent:Xe,columnSpan:F,compactUserAssistance:ds,inlineUserAssistance:ls,mainContent:cs,onBlur:_e.onFocusOut,onFocus:_e.onFocusIn,startContent:W,mainFieldRef:rs,testId:ne,...Oe,...ns,...ke})})}));function Z(){const e=K.getClientHints().deviceType;return"phone"===e||"tablet"===e}e.InputText=Y}));
2
- //# sourceMappingURL=InputText-32954a14.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputText-32954a14.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, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback, useImperativeHandle, useRef } from 'preact/hooks';\n\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 { PrefixSuffix } from '../UNSAFE_PrefixSuffix';\nimport { usePrefixSuffix } from '../hooks/UNSAFE_usePrefixSuffix';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { useId } from '../hooks/UNSAFE_useId';\n\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\nimport { beforeVNode } from '../utils/UNSAFE_componentUtils';\nimport { ClearIcon } from '../PRIVATE_ClearIcon/ClearIcon';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { Size } from '../utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { LayoutColumnSpan } from '../utils/UNSAFE_styles/Layout';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\nimport { SelectableHandle, useSelectableTextField } from '#hooks/UNSAFE_useSelectableTextField';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\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 * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\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 * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\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};\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n/**\n * An input text displays a field that allows a user to enter a text value.\n */\nexport const InputText = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n columnSpan,\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 testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\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 maxLengthDescribedByIdRef = useRef<string>(useId());\n // The enabledAriaDescribedBy includes the maxLengthDescribedById in addition to what was passed in to aria-describedby.\n // We don't need to announce the max length message for readonly, as it only applies when editing the value.\n const enabledAriaDescribedBy = ariaDescribedBy\n ? `${ariaDescribedBy} ${maxLengthDescribedByIdRef.current}`\n : maxLengthDescribedByIdRef.current;\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthReached, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const allMessages = [\n ...(messages ?? []),\n ...(isMaxLengthReached ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n const enabledElementRef = useRef<HTMLInputElement>(null);\n const readonlyElementRef = useRef<HTMLDivElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLInputElement, HTMLDivElement>({\n isDisabled,\n isReadonly,\n enabledElementRef,\n readonlyElementRef\n });\n\n const { methods: selectMethods } = useSelectableTextField<HTMLInputElement>(enabledElementRef);\n\n useImperativeHandle(ref!, () => mergeProps(focusMethods, selectMethods), [\n focusMethods,\n selectMethods\n ]);\n\n const { hoverProps, isHover } = useHover({ isDisabled: isReadonly || isDisabled || false });\n\n const {\n baseId,\n formFieldContext,\n inputProps,\n labelProps,\n textFieldProps,\n userAssistanceProps\n } = useTextField({\n ariaDescribedBy: isReadonly || isDisabled ? ariaDescribedBy : enabledAriaDescribedBy,\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages: allMessages,\n styleVariant: variant,\n userAssistanceDensity,\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, enabledElementRef]);\n\n const maybeClearIcon = useClearIcon({\n clearIcon: <ClearIcon onClick={onClickClearIcon} testId={`${testId}_clearicon`} />,\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 hasInsideLabel = label !== undefined && labelEdge === 'inside';\n\n const {\n shouldRenderPrefix,\n shouldRenderSuffix,\n prefixProps,\n suffixProps,\n valuePrefixSuffix,\n ariaLabelledBy\n } = usePrefixSuffix({\n baseId,\n hasEndContent: endContent !== undefined,\n hasInsideLabel,\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 const renderedPrefix = shouldRenderPrefix ? <PrefixSuffix {...prefixProps} /> : undefined;\n\n const renderedSuffix = shouldRenderSuffix ? <PrefixSuffix {...suffixProps} /> : undefined;\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 const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\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={allMessages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : undefined;\n\n const anchorRef = useRef<HTMLDivElement>(null);\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={allMessages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\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 const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n as=\"div\"\n autoFocus={autoFocus}\n elementRef={readonlyElementRef}\n textAlign={textAlign}\n value={valuePrefixSuffix}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n />\n );\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps.onFocusOut}\n onFocus={focusProps.onFocusIn}\n ref={anchorRef}\n mainContent={mainContent}\n testId={testId}\n {...fieldLabelProps}></ReadonlyTextField>\n </FormFieldContext.Provider>\n );\n }\n const hasMaxLength = maxLength !== undefined;\n\n const mainContent = (\n <>\n {renderedPrefix}\n <TextFieldInput\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\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 {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedByIdRef.current}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && isFocused && (\n <MaxLengthLiveRegion\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId + '_remainingChars'}\n />\n )}\n </>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n endContent={endContentCombined}\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n mainContent={mainContent}\n onBlur={focusProps.onFocusOut}\n onFocus={focusProps.onFocusIn}\n startContent={startContent}\n mainFieldRef={anchorRef}\n testId={testId}\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 running 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","columnSpan","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","testId","ref","translations","useTranslationBundle","formControl_limitReached","CHARACTER_LIMIT","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","maxLengthDescribedByIdRef","useRef","useId","enabledAriaDescribedBy","current","limitMessage","severity","isMaxLengthReached","valueLength","onFilteredInput","useLengthFilter","allMessages","enabledElementRef","readonlyElementRef","focusProps","isFocused","methods","focusMethods","useFocusableTextField","selectMethods","useSelectableTextField","useImperativeHandle","mergeProps","hoverProps","isHover","useHover","baseId","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","styleVariant","onClickClearIcon","focus","previousValue","maybeClearIcon","useClearIcon","clearIcon","_jsx","jsx","ClearIcon","onClick","display","hasValue","isEnabled","endContentCombined","beforeVNode","hasInsideLabel","undefined","shouldRenderPrefix","shouldRenderSuffix","prefixProps","suffixProps","valuePrefixSuffix","ariaLabelledBy","usePrefixSuffix","hasEndContent","hasStartContent","labelId","id","renderedPrefix","PrefixSuffix","renderedSuffix","labelComp","Label","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","anchorRef","compactUserAssistance","CompactUserAssistance","mainContent","ReadonlyTextFieldInput","as","elementRef","hasEmptyLabel","FormFieldContext","Provider","children","ReadonlyTextField","onBlur","onFocusOut","onFocus","onFocusIn","hasMaxLength","_jsxs","_Fragment","Fragment","TextFieldInput","hasPrefix","hasSuffix","inputRef","isMobile","HiddenAccessible","formControl_maxLength","MAX_LENGTH","MaxLengthLiveRegion","TextField","mainFieldRef","deviceType","getClientHints"],"mappings":"yyDAkPa,MAAAA,EAAYC,EAAUA,YACjC,EAEI,mBAAoBC,EACpBC,gBACAC,eAAe,MACfC,aAAY,EACZC,aACAC,eAAe,QACfC,aACAC,iBACAC,iBACAC,WAAYC,EACZC,WAAYC,EACZC,cAAa,EACbC,kBACAC,QACAC,UAAWC,EACXC,gBAAiBC,EACjBC,YACAC,gB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 'preact/jsx-runtime', './FormFieldContext-3c44aaaa', './useFormFieldContext-8196183c', './classNames-08d99695', './FormContext-5130e198', './useFormContext-30acdd33', './useComponentTheme-5aa41a8f', './TabbableModeContext-a9c97640', 'preact/hooks', './LayerHost-733ade2f', 'preact/compat', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './Flex-590160eb', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-30886397', 'css!./IconStyle.styles.css', './IconButton-05c6b793', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-2e19d8de', './logger-0f873e29', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './InputGroupContext-372087af', './Popup-3e2566da', './UNSAFE_Separator/themes/SeparatorStyles.css', './CompactLabelAssistance-9f9f658d', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './UNSAFE_TextField/themes/redwood/TextFieldTheme', './UNSAFE_Label/themes/redwood/LabelTheme'], (function(e,s,o,t,a,n,l,d,i,r,c,m,p,u,F,h,y,b,S,T,x,C,A,U,g,w,E,N,L,I,M,f,V,_,B,R,D,j,k,P,v,O,W){"use strict";const q=({hasValue:e,readonly:o,disabled:t,isFocused:n,isRequiredShown:i,helpIconId:r,helpSourceLink:c,helpSourceText:m,userAssistanceDensity:p="reflow",variant:u="inside",parentComponentVariant:F="textField",...h})=>{const{isFormLayout:y,isReadonly:b,labelWrapping:S}=l.useFormContext(),T="inside"===u,x="textField"===F,{classes:C,styles:{uaDensityCompactLabel:A,uaDensityCompactLabelStart:U,uaDensityCompactLabelTopInside:g}}=d.useComponentTheme(W.LabelRedwoodTheme,{labelWrapping:S,position:u,inside:T?"isInside":"notInside",inEnabledForm:y&&!b?"isInEnabledForm":"notInEnabledForm",readonly:o?"isReadonly":"notReadonly",focused:n?"isFocused":"nonFocused",formLayout:y?"isFormLayout":"nonFormLayout",readonlyForm:b?"isReadonlyForm":"notReadonlyForm",textField:x?"isTextField":"notTextField",value:e?"hasValue":"noValue",valueOrFocus:e||n?"hasValueOrFocus":"noValueOrFocus",animatedWhenInside:x?"isAnimated":"notAnimated",disabled:x&&t?"isDisabled":"nonDisabled",userAssistanceDensity:p}),{baseTheme:w}=d.useComponentTheme(O.TextFieldRedwoodTheme),E=a.classNames([A,"start"===u?U:g]),N=s.jsx("label",{...h,class:E});return"compact"===p?s.jsxs("div",{class:a.classNames([C,w]),children:["start"!==u&&N,s.jsx(k.CompactLabelAssistance,{isRequiredShown:i,helpIconId:r,helpSourceLink:c,helpSourceText:m,labelEdge:"top"===u||"start"===u?u:"inside"}),"start"===u&&N]}):s.jsx("label",{...h,class:a.classNames([C,w])})};e.Label=({forId:e,...o})=>{const{hasValue:a,isDisabled:n,isFocused:l,isReadonly:d}=t.useFormFieldContext();return s.jsx(q,{for:e,hasValue:a,disabled:n,isFocused:l,readonly:d,...o})}}));
2
- //# sourceMappingURL=Label-7cbbe3b7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label-7cbbe3b7.js","sources":["../../src/UNSAFE_Label/Label.tsx"],"sourcesContent":["import { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { StyledComponentProps } from '../utils/UNSAFE_typeUtils';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { CompactLabelAssistance } from '../UNSAFE_UserAssistance';\n\nimport { LabelStyles, LabelVariantOptions } from './themes/LabelStyles.css';\nimport { TextFieldRedwoodTheme } from '../UNSAFE_TextField/themes/redwood/TextFieldTheme';\nimport { LabelRedwoodTheme } from './themes/redwood/LabelTheme';\n\ntype StyleProps = Exclude<Props, 'children' | 'forId' | 'id'> & {\n hasValue?: boolean;\n isFocused?: boolean;\n readonly?: boolean;\n disabled?: boolean;\n};\n\ntype StyledLabelProps = StyledComponentProps<'label', StyleProps> & {\n onClick?: (e: MouseEvent) => void;\n};\n\nconst StyledLabel = ({\n hasValue,\n readonly,\n disabled,\n isFocused,\n isRequiredShown,\n helpIconId,\n helpSourceLink,\n helpSourceText,\n userAssistanceDensity = 'reflow',\n variant = 'inside',\n parentComponentVariant = 'textField',\n ...props\n}: StyledLabelProps) => {\n const { isFormLayout, isReadonly: isReadonlyForm, labelWrapping } = useFormContext();\n\n const isInside = variant === 'inside';\n const isTextField = parentComponentVariant === 'textField';\n\n // because variants have to match strings, we have to take any boolean props and convert\n // them to a string value, (ie prefixed with \"is\" or \"non\")\n const {\n classes,\n styles: { uaDensityCompactLabel, uaDensityCompactLabelStart, uaDensityCompactLabelTopInside }\n } = useComponentTheme<LabelVariantOptions, LabelStyles>(LabelRedwoodTheme, {\n labelWrapping,\n position: variant,\n inside: isInside ? 'isInside' : 'notInside',\n inEnabledForm: isFormLayout && !isReadonlyForm ? 'isInEnabledForm' : 'notInEnabledForm',\n readonly: readonly ? 'isReadonly' : 'notReadonly',\n focused: isFocused ? 'isFocused' : 'nonFocused',\n formLayout: isFormLayout ? 'isFormLayout' : 'nonFormLayout',\n readonlyForm: isReadonlyForm ? 'isReadonlyForm' : 'notReadonlyForm',\n textField: isTextField ? 'isTextField' : 'notTextField',\n value: hasValue ? 'hasValue' : 'noValue',\n valueOrFocus: hasValue || isFocused ? 'hasValueOrFocus' : 'noValueOrFocus',\n animatedWhenInside: isTextField ? 'isAnimated' : 'notAnimated',\n disabled: isTextField && disabled ? 'isDisabled' : 'nonDisabled',\n userAssistanceDensity\n });\n\n const { baseTheme: textFieldTheme } = useComponentTheme(TextFieldRedwoodTheme);\n\n // TODO: We need to decide whether to standardize on 'class' or 'className'. Otherwise, we'll\n // run into issues destructuring style interpolations, for example having to concatenate both.\n\n const compactLabelStyles = classNames([\n uaDensityCompactLabel,\n variant === 'start' ? uaDensityCompactLabelStart : uaDensityCompactLabelTopInside\n ]);\n const compactUADLabel = <label {...props} class={compactLabelStyles} />;\n\n return userAssistanceDensity === 'compact' ? (\n <div class={classNames([classes, textFieldTheme])}>\n {variant !== 'start' && compactUADLabel}\n <CompactLabelAssistance\n isRequiredShown={isRequiredShown}\n helpIconId={helpIconId}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n labelEdge={variant === 'top' || variant === 'start' ? variant : 'inside'}\n />\n {variant === 'start' && compactUADLabel}\n </div>\n ) : (\n <label {...props} class={classNames([classes, textFieldTheme])} />\n );\n};\n\ntype Props = {\n /**\n * Specifies how messages and assistive text are shown.\n */\n userAssistanceDensity?: 'reflow' | 'efficient' | 'compact';\n /**\n * Id to use for the help icon in compact user assistance density.\n */\n helpIconId?: string;\n /**\n * Help source link for compact user assistance density.\n */\n helpSourceLink?: string;\n /**\n * Help source text for compact user assistance density.\n */\n helpSourceText?: string;\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?: boolean;\n /**\n * The text to be used for the label\n */\n children?: string;\n /**\n * The id to set on the label\n */\n id?: string;\n /**\n * The id of the form control for which this label will be used\n */\n forId?: string;\n /**\n * Determines how the label is going to be styled\n */\n variant?: 'inside' | 'start' | 'top';\n /**\n * Determines how the label is going to be styled in based on parent component.\n */\n parentComponentVariant?:\n | 'textField'\n | 'radioSet'\n | 'checkboxSet'\n | 'richRadioSet'\n | 'richCheckboxSet'\n | 'formComponentWrapper';\n /**\n * Handler called when the label is clicked.\n */\n onClick?: (e: MouseEvent) => void;\n};\n\nexport const Label = ({ forId, ...props }: Props) => {\n const { hasValue, isDisabled, isFocused, isReadonly } = useFormFieldContext();\n return (\n <StyledLabel\n for={forId}\n hasValue={hasValue}\n disabled={isDisabled}\n isFocused={isFocused}\n readonly={isReadonly}\n {...props}\n />\n );\n};\n"],"names":["StyledLabel","hasValue","readonly","disabled","isFocused","isRequiredShown","helpIconId","helpSourceLink","helpSourceText","userAssistanceDensity","variant","parentComponentVariant","props","isFormLayout","isReadonly","isReadonlyForm","labelWrapping","useFormContext","isInside","isTextField","classes","styles","uaDensityCompactLabel","uaDensityCompactLabelStart","uaDensityCompactLabelTopInside","useComponentTheme","LabelRedwoodTheme","position","inside","inEnabledForm","focused","formLayout","readonlyForm","textField","value","valueOrFocus","animatedWhenInside","baseTheme","textFieldTheme","TextFieldRedwoodTheme","compactLabelStyles","classNames","compactUADLabel","_jsx","jsx","class","_jsxs","jsxs","CompactLabelAssistance","labelEdge","forId","isDisabled","useFormFieldContext","for"],"mappings":"4tDAsBA,MAAMA,EAAc,EAClBC,WACAC,WACAC,WACAC,YACAC,kBACAC,aACAC,iBACAC,iBACAC,wBAAwB,SACxBC,UAAU,SACVC,yBAAyB,eACtBC,MAEH,MAAMC,aAAEA,EAAcC,WAAYC,EAAcC,cAAEA,GAAkBC,EAAAA,iBAE9DC,EAAuB,WAAZR,EACXS,EAAyC,cAA3BR,GAIdS,QACJA,EACAC,QAAQC,sBAAEA,EAAqBC,2BAAEA,EAA0BC,+BAAEA,IAC3DC,EAAiBA,kBAAmCC,oBAAmB,CACzEV,gBACAW,SAAUjB,EACVkB,OAAQV,EAAW,WAAa,YAChCW,cAAehB,IAAiBE,EAAiB,kBAAoB,mBACrEb,SAAUA,EAAW,aAAe,cACpC4B,QAAS1B,EAAY,YAAc,aACnC2B,WAAYlB,EAAe,eAAiB,gBAC5CmB,aAAcjB,EAAiB,iBAAmB,kBAClDkB,UAAWd,EAAc,cAAgB,eACzCe,MAAOjC,EAAW,WAAa,UAC/BkC,aAAclC,GAAYG,EAAY,kBAAoB,iBAC1DgC,mBAAoBjB,EAAc,aAAe,cACjDhB,SAAUgB,GAAehB,EAAW,aAAe,cACnDM,2BAGM4B,UAAWC,GAAmBb,EAAiBA,kBAACc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