@oracle/oraclejet-preact 19.0.0 → 19.0.2

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 (1621) hide show
  1. package/amd/ActionCard-eb924a00.js +1 -1
  2. package/amd/BarChart-8521c53a.js +2 -0
  3. package/amd/BarChart-8521c53a.js.map +1 -0
  4. package/amd/BareButton-7b68bbbf.js +2 -0
  5. package/amd/BareButton-7b68bbbf.js.map +1 -0
  6. package/amd/BaseButton-d69319ea.js +2 -0
  7. package/amd/BaseButton-d69319ea.js.map +1 -0
  8. package/amd/BaseCardView-bc694015.js +1 -1
  9. package/amd/BaseCardViewSelectionTest-4fae7370.js +2 -0
  10. package/amd/BaseCardViewSelectionTest-4fae7370.js.map +1 -0
  11. package/amd/BaseNavigationListItem-cb5c260b.js +1 -1
  12. package/amd/BaseRichSelection-7f20b3af.js +2 -0
  13. package/amd/BaseRichSelection-7f20b3af.js.map +1 -0
  14. package/amd/BaseSwatchView-4d204ce0.js +1 -1
  15. package/amd/BaseTabBarItem-cdec0e90.js +1 -1
  16. package/amd/Button-d6bbc57f.js +2 -0
  17. package/amd/Button-d6bbc57f.js.map +1 -0
  18. package/amd/ButtonSet-ce95318d.js +1 -1
  19. package/amd/ButtonSetButton-af5f14b6.js +2 -0
  20. package/amd/ButtonSetButton-af5f14b6.js.map +1 -0
  21. package/amd/ButtonSetIconButton-f3c6a05e.js +2 -0
  22. package/amd/ButtonSetIconButton-f3c6a05e.js.map +1 -0
  23. package/amd/ButtonSetItem-0f8f7660.js +2 -0
  24. package/amd/ButtonSetItem-0f8f7660.js.map +1 -0
  25. package/amd/Card-6e7189a3.js +2 -0
  26. package/amd/Card-6e7189a3.js.map +1 -0
  27. package/amd/Center-50b6397c.js +2 -0
  28. package/amd/Center-50b6397c.js.map +1 -0
  29. package/amd/Chart-061335fe.js +2 -0
  30. package/amd/Chart-061335fe.js.map +1 -0
  31. package/amd/Checkbox-8160d2e6.js +2 -0
  32. package/amd/Checkbox-8160d2e6.js.map +1 -0
  33. package/amd/CheckboxControl-c5240f9a.js +2 -0
  34. package/amd/CheckboxControl-c5240f9a.js.map +1 -0
  35. package/amd/CheckboxRadioField-18bf3cc2.js +2 -0
  36. package/amd/CheckboxRadioField-18bf3cc2.js.map +1 -0
  37. package/amd/CheckboxRadioLabelValueLayout-edb44215.js +2 -0
  38. package/amd/CheckboxRadioLabelValueLayout-edb44215.js.map +1 -0
  39. package/amd/CheckboxSet-678ea1d4.js +2 -0
  40. package/amd/CheckboxSet-678ea1d4.js.map +1 -0
  41. package/amd/CheckboxStyles.styles.css +6 -0
  42. package/amd/Chip-b62a8126.js +1 -1
  43. package/amd/ClearIcon-13bd61d3.js +2 -0
  44. package/amd/ClearIcon-13bd61d3.js.map +1 -0
  45. package/amd/CollapseIcon-8d26ba2a.js +1 -1
  46. package/amd/Collapsible-bf6945f6.js +1 -1
  47. package/amd/ColorPalette-b26f3861.js +2 -0
  48. package/amd/ColorPalette-b26f3861.js.map +1 -0
  49. package/amd/ColorPicker-d578df9c.js +2 -0
  50. package/amd/ColorPicker-d578df9c.js.map +1 -0
  51. package/amd/ColorSwatch-57d78771.js +2 -0
  52. package/amd/ColorSwatch-57d78771.js.map +1 -0
  53. package/amd/ComboChart-f3876b51.js +2 -0
  54. package/amd/ComboChart-f3876b51.js.map +1 -0
  55. package/amd/CompactHelpSource-103a8263.js +1 -1
  56. package/amd/CompactLabelAssistance-deb90940.js +2 -0
  57. package/amd/CompactLabelAssistance-deb90940.js.map +1 -0
  58. package/amd/CompactUserAssistance-5ef03b0a.js +2 -0
  59. package/amd/CompactUserAssistance-5ef03b0a.js.map +1 -0
  60. package/amd/ComponentMessageContainer-7d775a43.js +2 -0
  61. package/amd/ComponentMessageContainer-7d775a43.js.map +1 -0
  62. package/amd/ConveyorBelt-b9ab13cc.js +2 -0
  63. package/amd/ConveyorBelt-b9ab13cc.js.map +1 -0
  64. package/amd/DatePicker-a07542a8.js +2 -0
  65. package/amd/DatePicker-a07542a8.js.map +1 -0
  66. package/amd/DatePickerHeader-25b87f04.js +2 -0
  67. package/amd/DatePickerHeader-25b87f04.js.map +1 -0
  68. package/amd/Diagram-461719eb.js +2 -0
  69. package/amd/Diagram-461719eb.js.map +1 -0
  70. package/amd/Dialog-304ce274.js +2 -0
  71. package/amd/Dialog-304ce274.js.map +1 -0
  72. package/amd/DirectionalCollapseArrowIcon-6777ae07.js +1 -1
  73. package/amd/DirectionalExpandArrowIcon-21d0b1d5.js +1 -1
  74. package/amd/DragHandle-9d141cf3.js +2 -0
  75. package/amd/DragHandle-9d141cf3.js.map +1 -0
  76. package/amd/DrawerPopup-2b59d7f3.js +2 -0
  77. package/amd/DrawerPopup-2b59d7f3.js.map +1 -0
  78. package/amd/Dropdown-c119d072.js +2 -0
  79. package/amd/Dropdown-c119d072.js.map +1 -0
  80. package/amd/EmbeddedIconButton-23c53268.js +2 -0
  81. package/amd/EmbeddedIconButton-23c53268.js.map +1 -0
  82. package/amd/EnvironmentProvider-d538fcb2.js +2 -0
  83. package/amd/EnvironmentProvider-d538fcb2.js.map +1 -0
  84. package/amd/ExpandableList-08269646.js +2 -0
  85. package/amd/ExpandableList-08269646.js.map +1 -0
  86. package/amd/Expander-9efeb845.js +2 -0
  87. package/amd/Expander-9efeb845.js.map +1 -0
  88. package/amd/FilePicker-e5a20eaa.js +1 -1
  89. package/amd/FlatTreeView-6545afce.js +2 -0
  90. package/amd/FlatTreeView-6545afce.js.map +1 -0
  91. package/amd/Flex-07d2aa5b.js +2 -0
  92. package/amd/Flex-07d2aa5b.js.map +1 -0
  93. package/amd/Floating-8192acb2.js +2 -0
  94. package/amd/Floating-8192acb2.js.map +1 -0
  95. package/amd/FormLayout-ce4e956c.js +1 -1
  96. package/amd/Gantt-ad770490.js +2 -0
  97. package/amd/Gantt-ad770490.js.map +1 -0
  98. package/amd/Grid-d415ba8d.js +2 -0
  99. package/amd/Grid-d415ba8d.js.map +1 -0
  100. package/amd/Gridlines-c6c1fbb5.js +2 -0
  101. package/amd/Gridlines-c6c1fbb5.js.map +1 -0
  102. package/amd/GroupLoadingIndicator-87f32efc.js +1 -1
  103. package/amd/HighlightText-ecd2e5ce.js +2 -0
  104. package/amd/HighlightText-ecd2e5ce.js.map +1 -0
  105. package/amd/Icon-865b3c78.js +1 -1
  106. package/amd/IconButton-232d63fc.js +2 -0
  107. package/amd/IconButton-232d63fc.js.map +1 -0
  108. package/amd/IconMenuButton-eef4b2da.js +2 -0
  109. package/amd/IconMenuButton-eef4b2da.js.map +1 -0
  110. package/amd/IconProgressButton-f9cdb23a.js +2 -0
  111. package/amd/IconProgressButton-f9cdb23a.js.map +1 -0
  112. package/amd/IconSwitchButton-5be99684.js +2 -0
  113. package/amd/IconSwitchButton-5be99684.js.map +1 -0
  114. package/amd/IconToggleButton-b783604a.js +2 -0
  115. package/amd/IconToggleButton-b783604a.js.map +1 -0
  116. package/amd/IconUserAssistance-0c55d53f.js +2 -0
  117. package/amd/IconUserAssistance-0c55d53f.js.map +1 -0
  118. package/amd/Indexer-bbb763a7.js +1 -1
  119. package/amd/InlineHelpSource-34ec0779.js +1 -1
  120. package/amd/InlineSelectSingle-bebf92d3.js +2 -0
  121. package/amd/InlineSelectSingle-bebf92d3.js.map +1 -0
  122. package/amd/InlineUserAssistance-e406e352.js +2 -0
  123. package/amd/InlineUserAssistance-e406e352.js.map +1 -0
  124. package/amd/InputColor-192a309b.js +2 -0
  125. package/amd/InputColor-192a309b.js.map +1 -0
  126. package/amd/InputDateMask-2fdb6f26.js +2 -0
  127. package/amd/InputDateMask-2fdb6f26.js.map +1 -0
  128. package/amd/InputDatePicker-a1eea599.js +2 -0
  129. package/amd/InputDatePicker-a1eea599.js.map +1 -0
  130. package/amd/InputPassword-72147893.js +2 -0
  131. package/amd/InputPassword-72147893.js.map +1 -0
  132. package/amd/InputSensitiveText-28cebe14.js +2 -0
  133. package/amd/InputSensitiveText-28cebe14.js.map +1 -0
  134. package/amd/InputText-83b55089.js +2 -0
  135. package/amd/InputText-83b55089.js.map +1 -0
  136. package/amd/Label-3c17bcc9.js +2 -0
  137. package/amd/Label-3c17bcc9.js.map +1 -0
  138. package/amd/LabelValueLayout-39dc1be3.js +1 -1
  139. package/amd/Layer-c91c7141.js +2 -0
  140. package/amd/Layer-c91c7141.js.map +1 -0
  141. package/amd/LayerHost-daf96749.js +2 -0
  142. package/amd/LayerHost-daf96749.js.map +1 -0
  143. package/amd/LayerManager-8bad71b0.js +2 -0
  144. package/amd/LayerManager-8bad71b0.js.map +1 -0
  145. package/amd/Legend-a8e9f523.js +1 -1
  146. package/amd/LineAreaChart-07848f77.js +2 -0
  147. package/amd/LineAreaChart-07848f77.js.map +1 -0
  148. package/amd/Link-c772dbef.js +2 -0
  149. package/amd/Link-c772dbef.js.map +1 -0
  150. package/amd/LinkVariants.styles.css +2 -1
  151. package/amd/LinkVariants.styles2.css +2 -1
  152. package/amd/List-5b5b3bd7.js +1 -1
  153. package/amd/ListItemLayout-50d0c8fa.js +2 -0
  154. package/amd/ListItemLayout-50d0c8fa.js.map +1 -0
  155. package/amd/ListItemLayoutStyles.styles.css +13 -18
  156. package/amd/ListItemTextLayout-9667dc64.js +2 -0
  157. package/amd/ListItemTextLayout-9667dc64.js.map +1 -0
  158. package/amd/ListView-02b5ba6d.js +1 -1
  159. package/amd/LiveRegion-ef77cf92.js +2 -0
  160. package/amd/LiveRegion-ef77cf92.js.map +1 -0
  161. package/amd/MaxLengthLiveRegion-04832e9d.js +2 -0
  162. package/amd/MaxLengthLiveRegion-04832e9d.js.map +1 -0
  163. package/amd/Menu-45a26116.js +1 -1
  164. package/amd/MenuButton-0a9c6e8e.js +2 -0
  165. package/amd/MenuButton-0a9c6e8e.js.map +1 -0
  166. package/amd/MenuItem-ff1cd14d.js +1 -1
  167. package/amd/Message-d715942d.js +2 -0
  168. package/amd/Message-d715942d.js.map +1 -0
  169. package/amd/MessageLayer-5a8ba5af.js +2 -0
  170. package/amd/MessageLayer-5a8ba5af.js.map +1 -0
  171. package/amd/MessageToast-44f7b49d.js +2 -0
  172. package/amd/MessageToast-44f7b49d.js.map +1 -0
  173. package/amd/MessagesManager-1a6283c1.js +1 -1
  174. package/amd/MeterBar-e417440c.js +1 -1
  175. package/amd/MeterCircle-d2ac0a67.js +1 -1
  176. package/amd/Modal-1b3cd230.js +2 -0
  177. package/amd/Modal-1b3cd230.js.map +1 -0
  178. package/amd/MonthView-e2744696.js +2 -0
  179. package/amd/MonthView-e2744696.js.map +1 -0
  180. package/amd/NavigationListItem-73686e95.js +1 -1
  181. package/amd/NavigationListLinkItem-87d5ca3d.js +2 -0
  182. package/amd/NavigationListLinkItem-87d5ca3d.js.map +1 -0
  183. package/amd/NumberInputText-01c1859f.js +2 -0
  184. package/amd/NumberInputText-01c1859f.js.map +1 -0
  185. package/amd/OverflowTabBar-b43ccbc1.js +2 -0
  186. package/amd/OverflowTabBar-b43ccbc1.js.map +1 -0
  187. package/amd/OverflowTabBarItem-b75ebe9b.js +2 -0
  188. package/amd/OverflowTabBarItem-b75ebe9b.js.map +1 -0
  189. package/amd/PRIVATE_BaseCardView.js +1 -1
  190. package/amd/PRIVATE_BaseSwatchView.js +1 -1
  191. package/amd/PRIVATE_Chart.js +1 -1
  192. package/amd/PRIVATE_CheckboxControl.js +1 -1
  193. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  194. package/amd/PRIVATE_ClearIcon.js +1 -1
  195. package/amd/PRIVATE_ContainerDiagram.js +1 -1
  196. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  197. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  198. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  199. package/amd/PRIVATE_Expander.js +1 -1
  200. package/amd/PRIVATE_FormControls.js +1 -1
  201. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  202. package/amd/PRIVATE_Icons/CheckboxCrossed.js +1 -1
  203. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  204. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  205. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  206. package/amd/PRIVATE_Icons/DragV.js +1 -1
  207. package/amd/PRIVATE_Icons/None.js +1 -1
  208. package/amd/PRIVATE_List.js +1 -1
  209. package/amd/PRIVATE_Message.js +1 -1
  210. package/amd/PRIVATE_MessageLayer.js +1 -1
  211. package/amd/PRIVATE_MonthView.js +1 -1
  212. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  213. package/amd/PRIVATE_PlotArea.js +1 -1
  214. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  215. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  216. package/amd/PRIVATE_SelectCommon.js +1 -1
  217. package/amd/PRIVATE_StyledCard.js +1 -1
  218. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  219. package/amd/PRIVATE_SwatchFlexView.js +1 -1
  220. package/amd/PRIVATE_Table.js +1 -1
  221. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  222. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  223. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  224. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  225. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  226. package/amd/PRIVATE_ThemedIcons/CheckboxCrossedIcon.js +1 -1
  227. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  228. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  229. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  230. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  231. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  232. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  233. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  234. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  235. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  236. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  237. package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
  238. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  239. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  240. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  241. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  242. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  243. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  244. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  245. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  246. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  247. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  248. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  249. package/amd/PRIVATE_ThemedIcons/None.js +1 -1
  250. package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
  251. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  252. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  253. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  254. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  255. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  256. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  257. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  258. package/amd/PRIVATE_TimeComponent.js +1 -1
  259. package/amd/PRIVATE_VisOverview.js +1 -1
  260. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  261. package/amd/PictoChart-34f56e1c.js +2 -0
  262. package/amd/PictoChart-34f56e1c.js.map +1 -0
  263. package/amd/PieChart-c934e8f0.js +1 -1
  264. package/amd/Popup-695781d6.js +2 -0
  265. package/amd/Popup-695781d6.js.map +1 -0
  266. package/amd/ProgressBar-70983add.js +2 -0
  267. package/amd/ProgressBar-70983add.js.map +1 -0
  268. package/amd/ProgressButton-e6a1d457.js +2 -0
  269. package/amd/ProgressButton-e6a1d457.js.map +1 -0
  270. package/amd/ProgressButtonLabelLayout-0931b1d5.js +1 -1
  271. package/amd/ProgressCircle-551b98ed.js +2 -0
  272. package/amd/ProgressCircle-551b98ed.js.map +1 -0
  273. package/amd/RadioItem-49626d64.js +2 -0
  274. package/amd/RadioItem-49626d64.js.map +1 -0
  275. package/amd/RadioSet-8b525038.js +2 -0
  276. package/amd/RadioSet-8b525038.js.map +1 -0
  277. package/amd/RatingGauge-e7a36731.js +1 -1
  278. package/amd/ReadonlyTextFieldInput-e5723c48.js +1 -1
  279. package/amd/RemovableTabBarItem-c7dd457b.js +2 -0
  280. package/amd/RemovableTabBarItem-c7dd457b.js.map +1 -0
  281. package/amd/ReorderableTabBar-5d664f67.js +1 -1
  282. package/amd/RevealToggleIcon-28c5efc5.js +2 -0
  283. package/amd/RevealToggleIcon-28c5efc5.js.map +1 -0
  284. package/amd/ScatterChart-292935ff.js +2 -0
  285. package/amd/ScatterChart-292935ff.js.map +1 -0
  286. package/amd/SectionalLegend-a37ee0ec.js +1 -1
  287. package/amd/SectionedContent-054e2fc2.js +2 -0
  288. package/amd/SectionedContent-054e2fc2.js.map +1 -0
  289. package/amd/SelectMobileFieldInput-3650e1fe.js +2 -0
  290. package/amd/SelectMobileFieldInput-3650e1fe.js.map +1 -0
  291. package/amd/SelectMultiple-8dce10da.js +2 -0
  292. package/amd/SelectMultiple-8dce10da.js.map +1 -0
  293. package/amd/SelectSingle-6d1f640f.js +2 -0
  294. package/amd/SelectSingle-6d1f640f.js.map +1 -0
  295. package/amd/SelectionCard-601660df.js +2 -0
  296. package/amd/SelectionCard-601660df.js.map +1 -0
  297. package/amd/Selector-470f114d.js +1 -1
  298. package/amd/SelectorAll-82589ce2.js +2 -0
  299. package/amd/SelectorAll-82589ce2.js.map +1 -0
  300. package/amd/Sheet-c7f3fe2d.js +2 -0
  301. package/amd/Sheet-c7f3fe2d.js.map +1 -0
  302. package/amd/SortControl-6d8e62c0.js +2 -0
  303. package/amd/SortControl-6d8e62c0.js.map +1 -0
  304. package/amd/SplitMenuButton-ba7fc113.js +2 -0
  305. package/amd/SplitMenuButton-ba7fc113.js.map +1 -0
  306. package/amd/StyledCard-8dbd5d58.js +2 -0
  307. package/amd/StyledCard-8dbd5d58.js.map +1 -0
  308. package/amd/StyledLabelValueLayout-5737d116.js +2 -0
  309. package/amd/StyledLabelValueLayout-5737d116.js.map +1 -0
  310. package/amd/StyledTextField-5e554e5b.js +1 -1
  311. package/amd/Submenu-d0c548f0.js +1 -1
  312. package/amd/TabBar-fa06f492.js +1 -1
  313. package/amd/TabBarContextMenu-cad0a362.js +1 -1
  314. package/amd/TabBarLayout-9f802535.js +1 -1
  315. package/amd/TabBarMixed-2d5bc172.js +1 -1
  316. package/amd/TabBarMixedSeparator-07022bdc.js +2 -0
  317. package/amd/TabBarMixedSeparator-07022bdc.js.map +1 -0
  318. package/amd/Table-d0cc2468.js +2 -0
  319. package/amd/Table-d0cc2468.js.map +1 -0
  320. package/amd/TableView-610de105.js +2 -0
  321. package/amd/TableView-610de105.js.map +1 -0
  322. package/amd/TagCloud-ccd75f37.js +2 -0
  323. package/amd/TagCloud-ccd75f37.js.map +1 -0
  324. package/amd/TextArea-ddd1d6b9.js +2 -0
  325. package/amd/TextArea-ddd1d6b9.js.map +1 -0
  326. package/amd/TextAreaAutosize-3cf8e06c.js +2 -0
  327. package/amd/TextAreaAutosize-3cf8e06c.js.map +1 -0
  328. package/amd/TextField-51b63f5f.js +1 -1
  329. package/amd/TextFieldInput-eb40adaa.js +1 -1
  330. package/amd/Theme-redwood/theme.css +105 -105
  331. package/amd/Theme-stable/theme.css +214 -214
  332. package/amd/TimeComponentCanvas2D-02d13a18.js +2 -0
  333. package/amd/TimeComponentCanvas2D-02d13a18.js.map +1 -0
  334. package/amd/ToggleButton-9201e07b.js +2 -0
  335. package/amd/ToggleButton-9201e07b.js.map +1 -0
  336. package/amd/Toolbar-4b2c5d5e.js +1 -1
  337. package/amd/TruncatingBadge-2d00ef48.js +1 -1
  338. package/amd/TruncatingText-459021db.js +1 -1
  339. package/amd/UNSAFE_ActionCard.js +1 -1
  340. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  341. package/amd/UNSAFE_BarChart.js +1 -1
  342. package/amd/UNSAFE_BareButton.js +1 -1
  343. package/amd/UNSAFE_BaseButton.js +1 -1
  344. package/amd/UNSAFE_Button.js +1 -1
  345. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  346. package/amd/UNSAFE_ButtonSet.js +1 -1
  347. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  348. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  349. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  350. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  351. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  352. package/amd/UNSAFE_Card.js +1 -1
  353. package/amd/UNSAFE_CardFlexView.js +1 -1
  354. package/amd/UNSAFE_CardGridView.js +1 -1
  355. package/amd/UNSAFE_Center.js +1 -1
  356. package/amd/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -1
  357. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -1
  358. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  359. package/amd/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -1
  360. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -1
  361. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  362. package/amd/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -1
  363. package/amd/UNSAFE_Checkbox.js +1 -1
  364. package/amd/UNSAFE_CheckboxItem.js +1 -1
  365. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  366. package/amd/UNSAFE_CheckboxRadioField.js +1 -1
  367. package/amd/UNSAFE_CheckboxSet.js +1 -1
  368. package/amd/UNSAFE_Chip.js +1 -1
  369. package/amd/UNSAFE_Collapsible.js +1 -1
  370. package/amd/UNSAFE_ColorPalette.js +1 -1
  371. package/amd/UNSAFE_ColorPicker.js +1 -1
  372. package/amd/UNSAFE_ColorSwatch.js +1 -1
  373. package/amd/UNSAFE_ComboChart.js +1 -1
  374. package/amd/UNSAFE_ComponentMessage.js +1 -1
  375. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  376. package/amd/UNSAFE_DatePicker.js +1 -1
  377. package/amd/UNSAFE_Diagram.js +1 -1
  378. package/amd/UNSAFE_Dialog.js +1 -1
  379. package/amd/UNSAFE_DragHandle.js +1 -1
  380. package/amd/UNSAFE_DrawerLayout.js +1 -1
  381. package/amd/UNSAFE_DrawerPopup.js +1 -1
  382. package/amd/UNSAFE_Dropdown.js +1 -1
  383. package/amd/UNSAFE_Environment.js +1 -1
  384. package/amd/UNSAFE_ExpandableList.js +1 -1
  385. package/amd/UNSAFE_FilePicker.js +1 -1
  386. package/amd/UNSAFE_FlatTreeView.js +1 -1
  387. package/amd/UNSAFE_Flex.js +1 -1
  388. package/amd/UNSAFE_Floating.js +1 -1
  389. package/amd/UNSAFE_FormLayout.js +1 -1
  390. package/amd/UNSAFE_Gantt.js +1 -1
  391. package/amd/UNSAFE_Grid.js +1 -1
  392. package/amd/UNSAFE_HighlightText.js +1 -1
  393. package/amd/UNSAFE_Icon.js +1 -1
  394. package/amd/UNSAFE_IconButton.js +1 -1
  395. package/amd/UNSAFE_IconMenuButton.js +1 -1
  396. package/amd/UNSAFE_IconProgressButton.js +1 -1
  397. package/amd/UNSAFE_IconToggleButton.js +1 -1
  398. package/amd/UNSAFE_Indexer.js +1 -1
  399. package/amd/UNSAFE_InlineSelectSingle.js +1 -1
  400. package/amd/UNSAFE_InputColor.js +1 -1
  401. package/amd/UNSAFE_InputDateMask.js +1 -1
  402. package/amd/UNSAFE_InputDatePicker.js +1 -1
  403. package/amd/UNSAFE_InputPassword.js +1 -1
  404. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  405. package/amd/UNSAFE_InputText.js +1 -1
  406. package/amd/UNSAFE_InputTimeMask.js +1 -1
  407. package/amd/UNSAFE_Label.js +1 -1
  408. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  409. package/amd/UNSAFE_LabelledLink.js +1 -1
  410. package/amd/UNSAFE_Layer.js +1 -1
  411. package/amd/UNSAFE_Legend.js +1 -1
  412. package/amd/UNSAFE_LineAreaChart.js +1 -1
  413. package/amd/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  414. package/amd/UNSAFE_Link.js +1 -1
  415. package/amd/UNSAFE_ListItemLayout/themes/ListItemLayoutStyles.css.js +1 -1
  416. package/amd/UNSAFE_ListItemLayout.js +1 -1
  417. package/amd/UNSAFE_ListView.js +1 -1
  418. package/amd/UNSAFE_LiveRegion.js +1 -1
  419. package/amd/UNSAFE_Menu.js +1 -1
  420. package/amd/UNSAFE_MenuButton.js +1 -1
  421. package/amd/UNSAFE_MessageBanner.js +1 -1
  422. package/amd/UNSAFE_MessageToast.js +1 -1
  423. package/amd/UNSAFE_MeterBar.js +1 -1
  424. package/amd/UNSAFE_MeterCircle.js +1 -1
  425. package/amd/UNSAFE_Modal.js +1 -1
  426. package/amd/UNSAFE_NavigationList.js +1 -1
  427. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  428. package/amd/UNSAFE_NumberInputText.js +1 -1
  429. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  430. package/amd/UNSAFE_PictoChart.js +1 -1
  431. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  432. package/amd/UNSAFE_PieChart.js +1 -1
  433. package/amd/UNSAFE_Popup.js +1 -1
  434. package/amd/UNSAFE_ProgressBar.js +1 -1
  435. package/amd/UNSAFE_ProgressButton.js +1 -1
  436. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  437. package/amd/UNSAFE_ProgressCircle.js +1 -1
  438. package/amd/UNSAFE_RadioItem.js +1 -1
  439. package/amd/UNSAFE_RadioSet.js +1 -1
  440. package/amd/UNSAFE_RatingGauge.js +1 -1
  441. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  442. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  443. package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
  444. package/amd/UNSAFE_RichRadioSet.js +1 -1
  445. package/amd/UNSAFE_RichRadioSet.js.map +1 -1
  446. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  447. package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
  448. package/amd/UNSAFE_ScatterChart.js +1 -1
  449. package/amd/UNSAFE_SectionalLegend.js +1 -1
  450. package/amd/UNSAFE_SelectMultiple.js +1 -1
  451. package/amd/UNSAFE_SelectSingle.js +1 -1
  452. package/amd/UNSAFE_SelectionCard.js +1 -1
  453. package/amd/UNSAFE_Selector.js +1 -1
  454. package/amd/UNSAFE_SelectorAll.js +1 -1
  455. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  456. package/amd/UNSAFE_Sheet.js +1 -1
  457. package/amd/UNSAFE_SortControl.js +1 -1
  458. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  459. package/amd/UNSAFE_TabBar.js +1 -1
  460. package/amd/UNSAFE_TabBarCommon.js +1 -1
  461. package/amd/UNSAFE_TabBarMixed.js +1 -1
  462. package/amd/UNSAFE_TableView.js +1 -1
  463. package/amd/UNSAFE_TagCloud.js +1 -1
  464. package/amd/UNSAFE_TextArea.js +1 -1
  465. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  466. package/amd/UNSAFE_TextField.js +1 -1
  467. package/amd/UNSAFE_ToggleButton.js +1 -1
  468. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  469. package/amd/UNSAFE_Toolbar.js +1 -1
  470. package/amd/UNSAFE_Train.js +1 -1
  471. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  472. package/amd/UNSAFE_TruncatingText.js +1 -1
  473. package/amd/UNSAFE_UserAssistance.js +1 -1
  474. package/amd/UNSAFE_View.js +1 -1
  475. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  476. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  477. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  478. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  479. package/amd/UNSAFE_WindowOverlay.js +1 -1
  480. package/amd/View-ab4d3a33.js +2 -0
  481. package/amd/View-ab4d3a33.js.map +1 -0
  482. package/amd/VisNoData-adbb8750.js +2 -0
  483. package/amd/VisNoData-adbb8750.js.map +1 -0
  484. package/amd/VisProgressiveLoader-e5f7abe1.js +2 -0
  485. package/amd/VisProgressiveLoader-e5f7abe1.js.map +1 -0
  486. package/amd/VisTabularDatatip-e95bbf79.js +2 -0
  487. package/amd/VisTabularDatatip-e95bbf79.js.map +1 -0
  488. package/amd/WindowOverlay-69da5337.js +2 -0
  489. package/amd/WindowOverlay-69da5337.js.map +1 -0
  490. package/amd/YearsGridView-855ba9af.js +2 -0
  491. package/amd/YearsGridView-855ba9af.js.map +1 -0
  492. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  493. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  494. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  495. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  496. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  497. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  498. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  499. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  500. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  501. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  502. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  503. package/amd/hooks/PRIVATE_useListCommon.js +1 -1
  504. package/amd/hooks/PRIVATE_useOutsideMousedown.js +1 -1
  505. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  506. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  507. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  508. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  509. package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
  510. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  511. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  512. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  513. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  514. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  515. package/amd/hooks/UNSAFE_useBareButton.js +1 -1
  516. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  517. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  518. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  519. package/amd/hooks/UNSAFE_useHiddenTestMethod.js +1 -1
  520. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  521. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  522. package/amd/hooks/UNSAFE_usePressClick.js +1 -1
  523. package/amd/hooks/UNSAFE_useScale.js +1 -1
  524. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  525. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  526. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  527. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  528. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  529. package/amd/hooks/UNSAFE_useUser.js +1 -1
  530. package/amd/index-c11efa38.js +2 -0
  531. package/amd/index-c11efa38.js.map +1 -0
  532. package/amd/listViewSelectionTests-a58ee4c0.js +1 -1
  533. package/amd/popupUtils-019ff48f.js +2 -0
  534. package/amd/popupUtils-019ff48f.js.map +1 -0
  535. package/amd/render-7cdd2fd1.js +2 -0
  536. package/amd/render-7cdd2fd1.js.map +1 -0
  537. package/amd/tabbableUtils-b1a61a1b.js +2 -0
  538. package/amd/tabbableUtils-b1a61a1b.js.map +1 -0
  539. package/amd/testData-c9985c4d.js +2 -0
  540. package/amd/testData-c9985c4d.js.map +1 -0
  541. package/amd/tooltipUtils-ae57629b.js +2 -0
  542. package/amd/tooltipUtils-ae57629b.js.map +1 -0
  543. package/amd/useBareButton-3f7e0c0c.js +2 -0
  544. package/amd/useBareButton-3f7e0c0c.js.map +1 -0
  545. package/amd/useCellNavigation-43a992b6.js +2 -0
  546. package/amd/useCellNavigation-43a992b6.js.map +1 -0
  547. package/amd/useChartContextMenu-59688a67.js +1 -1
  548. package/amd/useChartDatatip-7beb4b24.js +2 -0
  549. package/amd/useChartDatatip-7beb4b24.js.map +1 -0
  550. package/amd/useChartMarquee-33a329da.js +2 -0
  551. package/amd/useChartMarquee-33a329da.js.map +1 -0
  552. package/amd/useColorScheme-3022ec9a.js +2 -0
  553. package/amd/useColorScheme-3022ec9a.js.map +1 -0
  554. package/amd/useContextMenu-4bd1c23a.js +1 -1
  555. package/amd/useCssVars-5b3bc31e.js +2 -0
  556. package/amd/useCssVars-5b3bc31e.js.map +1 -0
  557. package/amd/useCurrentBgColor-11b82a49.js +2 -0
  558. package/amd/useCurrentBgColor-11b82a49.js.map +1 -0
  559. package/amd/useCurrentKey-8e979c7a.js +2 -0
  560. package/amd/useCurrentKey-8e979c7a.js.map +1 -0
  561. package/amd/useDatatip-be0adcf0.js +2 -0
  562. package/amd/useDatatip-be0adcf0.js.map +1 -0
  563. package/amd/useDensity-cb21e58e.js +2 -0
  564. package/amd/useDensity-cb21e58e.js.map +1 -0
  565. package/amd/useDisplayValue-fa0fbc23.js +2 -0
  566. package/amd/useDisplayValue-fa0fbc23.js.map +1 -0
  567. package/amd/useExpandCollapse-99ff9bec.js +2 -0
  568. package/amd/useExpandCollapse-99ff9bec.js.map +1 -0
  569. package/amd/useFloating-25daefd7.js +2 -0
  570. package/amd/useFloating-25daefd7.js.map +1 -0
  571. package/amd/useHiddenTestMethod-90b5bff5.js +2 -0
  572. package/amd/useHiddenTestMethod-90b5bff5.js.map +1 -0
  573. package/amd/useKeyboardEvents-e4599671.js +2 -0
  574. package/amd/useKeyboardEvents-e4599671.js.map +1 -0
  575. package/amd/useLegendContextMenu-acabb503.js +1 -1
  576. package/amd/useMeterDatatip-934d034d.js +2 -0
  577. package/amd/useMeterDatatip-934d034d.js.map +1 -0
  578. package/amd/useNavigation-a6a2218f.js +1 -1
  579. package/amd/useOutsideClick-1b59c507.js +2 -0
  580. package/amd/useOutsideClick-1b59c507.js.map +1 -0
  581. package/amd/useOutsideMousedown-ce3f7207.js +2 -0
  582. package/amd/useOutsideMousedown-ce3f7207.js.map +1 -0
  583. package/amd/usePopupAnimation-f8e212f7.js +2 -0
  584. package/amd/usePopupAnimation-f8e212f7.js.map +1 -0
  585. package/amd/usePrefixSuffix-b26030fe.js +2 -0
  586. package/amd/usePrefixSuffix-b26030fe.js.map +1 -0
  587. package/amd/usePressClick-b5bf4243.js +2 -0
  588. package/amd/usePressClick-b5bf4243.js.map +1 -0
  589. package/amd/useReorderableItem-13c24764.js +2 -0
  590. package/amd/useReorderableItem-13c24764.js.map +1 -0
  591. package/amd/useRovingTabIndexContainer-be2d51cf.js +2 -0
  592. package/amd/useRovingTabIndexContainer-be2d51cf.js.map +1 -0
  593. package/amd/useScale-fa445112.js +2 -0
  594. package/amd/useScale-fa445112.js.map +1 -0
  595. package/amd/useSelectCommon-f04454d2.js +1 -1
  596. package/amd/useSelectDrill-3b31318e.js +2 -0
  597. package/amd/useSelectDrill-3b31318e.js.map +1 -0
  598. package/amd/useSelection-7638353f.js +2 -0
  599. package/amd/useSelection-7638353f.js.map +1 -0
  600. package/amd/useSelection-d2a32b37.js +2 -0
  601. package/amd/useSelection-d2a32b37.js.map +1 -0
  602. package/amd/useTabBar-ce36c510.js +1 -1
  603. package/amd/useTestId-9afc201a.js +2 -0
  604. package/amd/useTestId-9afc201a.js.map +1 -0
  605. package/amd/useTheme-0ee6fb01.js +2 -0
  606. package/amd/useTheme-0ee6fb01.js.map +1 -0
  607. package/amd/useThemeInterpolations-14ffb628.js +2 -0
  608. package/amd/useThemeInterpolations-14ffb628.js.map +1 -0
  609. package/amd/useTooltip-75a63697.js +2 -0
  610. package/amd/useTooltip-75a63697.js.map +1 -0
  611. package/amd/useTooltipControlled-558b2a13.js +2 -0
  612. package/amd/useTooltipControlled-558b2a13.js.map +1 -0
  613. package/amd/useTooltipOnTruncation-7c9b6e6b.js +2 -0
  614. package/amd/useTooltipOnTruncation-7c9b6e6b.js.map +1 -0
  615. package/amd/useTranslationBundle-8e42d505.js +2 -0
  616. package/amd/useTranslationBundle-8e42d505.js.map +1 -0
  617. package/amd/useUser-12ec03f1.js +2 -0
  618. package/amd/useUser-12ec03f1.js.map +1 -0
  619. package/amd/useVisDragModeControls-4fcf2261.js +2 -0
  620. package/amd/useVisDragModeControls-4fcf2261.js.map +1 -0
  621. package/amd/useVisEvents-e7b8669b.js +2 -0
  622. package/amd/useVisEvents-e7b8669b.js.map +1 -0
  623. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  624. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  625. package/amd/utils/UNSAFE_popupUtils.js +1 -1
  626. package/amd/withDirectionIcon-170ce869.js +2 -0
  627. package/amd/withDirectionIcon-170ce869.js.map +1 -0
  628. package/amd/withThemeProps-0ef51fd1.js +1 -1
  629. package/cjs/BareButton-5a989b01.js +36 -0
  630. package/cjs/BareButton-5a989b01.js.map +1 -0
  631. package/cjs/BaseButton-acda944a.js +85 -0
  632. package/cjs/BaseButton-acda944a.js.map +1 -0
  633. package/cjs/BaseRichSelection-9b1ada4d.js +345 -0
  634. package/cjs/BaseRichSelection-9b1ada4d.js.map +1 -0
  635. package/cjs/Button-170bea0b.js +24 -0
  636. package/cjs/Button-170bea0b.js.map +1 -0
  637. package/cjs/ButtonSetButton-97ceb927.js +35 -0
  638. package/cjs/ButtonSetButton-97ceb927.js.map +1 -0
  639. package/cjs/ButtonSetIconButton-5bad7aa5.js +40 -0
  640. package/cjs/ButtonSetIconButton-5bad7aa5.js.map +1 -0
  641. package/cjs/ButtonSetItem-9a4b42a1.js +67 -0
  642. package/cjs/ButtonSetItem-9a4b42a1.js.map +1 -0
  643. package/cjs/Chart-55c4cd8f.js +617 -0
  644. package/cjs/Chart-55c4cd8f.js.map +1 -0
  645. package/cjs/CheckboxControl-45f11f7e.js +117 -0
  646. package/cjs/CheckboxControl-45f11f7e.js.map +1 -0
  647. package/cjs/CheckboxRadioField-c707f81f.js +111 -0
  648. package/cjs/CheckboxRadioField-c707f81f.js.map +1 -0
  649. package/cjs/CheckboxRadioLabelValueLayout-e9110e5f.js +84 -0
  650. package/cjs/CheckboxRadioLabelValueLayout-e9110e5f.js.map +1 -0
  651. package/cjs/CheckboxSet-ee5f6850.js +53 -0
  652. package/cjs/CheckboxSet-ee5f6850.js.map +1 -0
  653. package/cjs/CheckboxStyles.styles.css +6 -0
  654. package/cjs/ClearIcon-d2d959a1.js +23 -0
  655. package/cjs/ClearIcon-d2d959a1.js.map +1 -0
  656. package/cjs/ColorPalette-ea5e1bed.js +83 -0
  657. package/cjs/ColorPalette-ea5e1bed.js.map +1 -0
  658. package/cjs/ColorPicker-30ee6033.js +25 -0
  659. package/cjs/ColorPicker-30ee6033.js.map +1 -0
  660. package/cjs/ColorSwatch-590183e3.js +129 -0
  661. package/cjs/ColorSwatch-590183e3.js.map +1 -0
  662. package/cjs/CompactUserAssistance-58a6899d.js +49 -0
  663. package/cjs/CompactUserAssistance-58a6899d.js.map +1 -0
  664. package/cjs/ComponentMessageContainer-1b9e8036.js +84 -0
  665. package/cjs/ComponentMessageContainer-1b9e8036.js.map +1 -0
  666. package/cjs/DatePicker-0e143849.js +601 -0
  667. package/cjs/DatePicker-0e143849.js.map +1 -0
  668. package/cjs/DatePickerHeader-305234ff.js +47 -0
  669. package/cjs/DatePickerHeader-305234ff.js.map +1 -0
  670. package/cjs/Dialog-152ab89d.js +363 -0
  671. package/cjs/Dialog-152ab89d.js.map +1 -0
  672. package/cjs/EmbeddedIconButton-88b1a5cd.js +13 -0
  673. package/cjs/EmbeddedIconButton-88b1a5cd.js.map +1 -0
  674. package/cjs/Expander-96ce2888.js +31 -0
  675. package/cjs/Expander-96ce2888.js.map +1 -0
  676. package/cjs/IconButton-7ebfcb64.js +38 -0
  677. package/cjs/IconButton-7ebfcb64.js.map +1 -0
  678. package/cjs/IconSwitchButton-84e07848.js +44 -0
  679. package/cjs/IconSwitchButton-84e07848.js.map +1 -0
  680. package/cjs/IconToggleButton-5cb32026.js +43 -0
  681. package/cjs/IconToggleButton-5cb32026.js.map +1 -0
  682. package/cjs/InlineUserAssistance-74680664.js +85 -0
  683. package/cjs/InlineUserAssistance-74680664.js.map +1 -0
  684. package/cjs/InputDateMask-8a4b2660.js +1142 -0
  685. package/cjs/InputDateMask-8a4b2660.js.map +1 -0
  686. package/cjs/Label-670472a7.js +158 -0
  687. package/cjs/Label-670472a7.js.map +1 -0
  688. package/cjs/Link-33dcecc2.js +35 -0
  689. package/cjs/Link-33dcecc2.js.map +1 -0
  690. package/cjs/LinkVariants.styles.css +2 -1
  691. package/cjs/LinkVariants.styles2.css +2 -1
  692. package/cjs/ListItemLayoutStyles.styles.css +13 -18
  693. package/cjs/Message-4dfcf417.js +208 -0
  694. package/cjs/Message-4dfcf417.js.map +1 -0
  695. package/cjs/MonthView-cd65e44a.js +210 -0
  696. package/cjs/MonthView-cd65e44a.js.map +1 -0
  697. package/cjs/NavigationListItem-24abe2ab.js +302 -0
  698. package/cjs/NavigationListItem-24abe2ab.js.map +1 -0
  699. package/cjs/NavigationListLinkItem-35f33123.js +170 -0
  700. package/cjs/NavigationListLinkItem-35f33123.js.map +1 -0
  701. package/cjs/NumberInputText-565c84b9.js +230 -0
  702. package/cjs/NumberInputText-565c84b9.js.map +1 -0
  703. package/cjs/OverflowTabBarItem-c8809159.js +268 -0
  704. package/cjs/OverflowTabBarItem-c8809159.js.map +1 -0
  705. package/cjs/PRIVATE_Chart.js +13 -13
  706. package/cjs/PRIVATE_CheckboxControl.js +7 -6
  707. package/cjs/PRIVATE_CheckboxControl.js.map +1 -1
  708. package/cjs/PRIVATE_CheckboxRadioField.js +11 -10
  709. package/cjs/PRIVATE_CheckboxRadioField.js.map +1 -1
  710. package/cjs/PRIVATE_ClearIcon.js +6 -6
  711. package/cjs/PRIVATE_ContainerDiagram.js +10 -10
  712. package/cjs/PRIVATE_DatePickerHeader.js +7 -7
  713. package/cjs/PRIVATE_EmbeddedIconButton.js +5 -5
  714. package/cjs/PRIVATE_Expander.js +6 -6
  715. package/cjs/PRIVATE_IconSwitchButton.js +5 -5
  716. package/cjs/PRIVATE_Message.js +6 -6
  717. package/cjs/PRIVATE_MonthView.js +2 -2
  718. package/cjs/PRIVATE_MonthYearGridView.js +2 -2
  719. package/cjs/PRIVATE_RevealToggleIcon.js +6 -6
  720. package/cjs/PRIVATE_RichSelectionCommon.js +10 -9
  721. package/cjs/PRIVATE_RichSelectionCommon.js.map +1 -1
  722. package/cjs/PRIVATE_SelectCommon.js +9 -9
  723. package/cjs/PRIVATE_Table.js +15 -15
  724. package/cjs/PRIVATE_TimeComponent.js +5 -5
  725. package/cjs/RevealToggleIcon-98b44cc6.js +28 -0
  726. package/cjs/RevealToggleIcon-98b44cc6.js.map +1 -0
  727. package/cjs/SelectMobileFieldInput-33427c18.js +246 -0
  728. package/cjs/SelectMobileFieldInput-33427c18.js.map +1 -0
  729. package/cjs/SortControl-7be650eb.js +35 -0
  730. package/cjs/SortControl-7be650eb.js.map +1 -0
  731. package/cjs/TabBarLinkItem-4e4f8da0.js +15 -0
  732. package/cjs/TabBarLinkItem-4e4f8da0.js.map +1 -0
  733. package/cjs/Table-0bca32d4.js +6069 -0
  734. package/cjs/Table-0bca32d4.js.map +1 -0
  735. package/cjs/Theme-redwood/theme.css +153 -153
  736. package/cjs/Theme-stable/theme.css +178 -178
  737. package/cjs/TimeComponentCanvas2D-471abe04.js +591 -0
  738. package/cjs/TimeComponentCanvas2D-471abe04.js.map +1 -0
  739. package/cjs/ToggleButton-14cd62ef.js +30 -0
  740. package/cjs/ToggleButton-14cd62ef.js.map +1 -0
  741. package/cjs/UNSAFE_BarChart.js +13 -13
  742. package/cjs/UNSAFE_BareButton.js +3 -3
  743. package/cjs/UNSAFE_BaseButton.js +4 -4
  744. package/cjs/UNSAFE_Button.js +5 -5
  745. package/cjs/UNSAFE_ButtonSetButton.js +5 -5
  746. package/cjs/UNSAFE_ButtonSetIconButton.js +5 -5
  747. package/cjs/UNSAFE_ButtonSetItem.js +7 -7
  748. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  749. package/cjs/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  750. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  751. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  752. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  753. package/cjs/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  754. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  755. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  756. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  757. package/cjs/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  758. package/cjs/UNSAFE_Checkbox.js +9 -8
  759. package/cjs/UNSAFE_Checkbox.js.map +1 -1
  760. package/cjs/UNSAFE_CheckboxItem.js +13 -12
  761. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  762. package/cjs/UNSAFE_CheckboxRadioField.js +2 -1
  763. package/cjs/UNSAFE_CheckboxRadioField.js.map +1 -1
  764. package/cjs/UNSAFE_CheckboxSet.js +12 -11
  765. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  766. package/cjs/UNSAFE_ColorPalette.js +69 -69
  767. package/cjs/UNSAFE_ColorPicker.js +44 -44
  768. package/cjs/UNSAFE_ColorSwatch.js +6 -6
  769. package/cjs/UNSAFE_ComboChart.js +13 -13
  770. package/cjs/UNSAFE_ComponentMessage.js +6 -6
  771. package/cjs/UNSAFE_ConveyorBelt.js +4 -4
  772. package/cjs/UNSAFE_DatePicker.js +12 -12
  773. package/cjs/UNSAFE_Diagram.js +10 -10
  774. package/cjs/UNSAFE_Dialog.js +6 -6
  775. package/cjs/UNSAFE_ExpandableList.js +5 -5
  776. package/cjs/UNSAFE_FlatTreeView.js +6 -6
  777. package/cjs/UNSAFE_Gantt.js +6 -6
  778. package/cjs/UNSAFE_IconButton.js +5 -5
  779. package/cjs/UNSAFE_IconMenuButton.js +4 -4
  780. package/cjs/UNSAFE_IconProgressButton.js +4 -4
  781. package/cjs/UNSAFE_IconToggleButton.js +5 -5
  782. package/cjs/UNSAFE_InlineSelectSingle.js +9 -9
  783. package/cjs/UNSAFE_InputColor.js +21 -21
  784. package/cjs/UNSAFE_InputDateMask.js +10 -10
  785. package/cjs/UNSAFE_InputDatePicker.js +105 -105
  786. package/cjs/UNSAFE_InputDatePicker.js.map +1 -1
  787. package/cjs/UNSAFE_InputPassword.js +12 -12
  788. package/cjs/UNSAFE_InputSensitiveText.js +12 -12
  789. package/cjs/UNSAFE_InputText.js +10 -10
  790. package/cjs/UNSAFE_InputTimeMask.js +9 -9
  791. package/cjs/UNSAFE_Label.js +6 -6
  792. package/cjs/UNSAFE_LabelledLink.js +9 -9
  793. package/cjs/UNSAFE_LineAreaChart.js +13 -13
  794. package/cjs/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  795. package/cjs/UNSAFE_Link.js +2 -2
  796. package/cjs/UNSAFE_ListItemLayout/themes/ListItemLayoutStyles.css.js +1 -1
  797. package/cjs/UNSAFE_ListItemLayout.js +2 -2
  798. package/cjs/UNSAFE_ListItemLayout.js.map +1 -1
  799. package/cjs/UNSAFE_MenuButton.js +4 -4
  800. package/cjs/UNSAFE_MessageBanner.js +6 -6
  801. package/cjs/UNSAFE_MessageToast.js +6 -6
  802. package/cjs/UNSAFE_NavigationList.js +7 -7
  803. package/cjs/UNSAFE_NavigationListCommon.js +6 -6
  804. package/cjs/UNSAFE_NumberInputText.js +10 -10
  805. package/cjs/UNSAFE_OverflowTabBar.js +9 -9
  806. package/cjs/UNSAFE_PictoChart.js +5 -5
  807. package/cjs/UNSAFE_ProgressButton.js +4 -4
  808. package/cjs/UNSAFE_RadioItem.js +5 -5
  809. package/cjs/UNSAFE_RadioSet.js +11 -10
  810. package/cjs/UNSAFE_RadioSet.js.map +1 -1
  811. package/cjs/UNSAFE_RichCheckboxSet.js +13 -12
  812. package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
  813. package/cjs/UNSAFE_RichRadioSet.js +10 -9
  814. package/cjs/UNSAFE_RichRadioSet.js.map +1 -1
  815. package/cjs/UNSAFE_RichSelectionItem.js +12 -11
  816. package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
  817. package/cjs/UNSAFE_ScatterChart.js +13 -13
  818. package/cjs/UNSAFE_SelectMultiple.js +12 -12
  819. package/cjs/UNSAFE_SelectSingle.js +12 -12
  820. package/cjs/UNSAFE_SortControl.js +6 -6
  821. package/cjs/UNSAFE_SplitMenuButton.js +4 -4
  822. package/cjs/UNSAFE_TabBar.js +9 -9
  823. package/cjs/UNSAFE_TabBarCommon.js +9 -9
  824. package/cjs/UNSAFE_TabBarMixed.js +8 -8
  825. package/cjs/UNSAFE_TableView.js +15 -15
  826. package/cjs/UNSAFE_TagCloud.js +5 -5
  827. package/cjs/UNSAFE_TextArea.js +9 -9
  828. package/cjs/UNSAFE_TextAreaAutosize.js +9 -9
  829. package/cjs/UNSAFE_ToggleButton.js +5 -5
  830. package/cjs/UNSAFE_UserAssistance.js +8 -8
  831. package/cjs/YearsGridView-804c9377.js +190 -0
  832. package/cjs/YearsGridView-804c9377.js.map +1 -0
  833. package/cjs/hooks/PRIVATE_useChartEvents.js +6 -6
  834. package/cjs/hooks/PRIVATE_useChartMarquee.js +10 -10
  835. package/cjs/hooks/PRIVATE_useVisDragModeControls.js +9 -9
  836. package/cjs/hooks/PRIVATE_useVisSelection.js +5 -5
  837. package/cjs/hooks/UNSAFE_useBareButton.js +2 -2
  838. package/cjs/hooks/UNSAFE_usePressClick.js +1 -1
  839. package/cjs/useBareButton-3c8d1a5d.js +94 -0
  840. package/cjs/useBareButton-3c8d1a5d.js.map +1 -0
  841. package/cjs/useCellNavigation-d5b07844.js +125 -0
  842. package/cjs/useCellNavigation-d5b07844.js.map +1 -0
  843. package/cjs/useChartMarquee-41c7ea4e.js +302 -0
  844. package/cjs/useChartMarquee-41c7ea4e.js.map +1 -0
  845. package/cjs/useDisplayValue-981e83e0.js +81 -0
  846. package/cjs/useDisplayValue-981e83e0.js.map +1 -0
  847. package/cjs/usePressClick-7a34624a.js +41 -0
  848. package/cjs/usePressClick-7a34624a.js.map +1 -0
  849. package/cjs/useSelectDrill-97935ff4.js +111 -0
  850. package/cjs/useSelectDrill-97935ff4.js.map +1 -0
  851. package/cjs/useSelection-1ffadc6e.js +188 -0
  852. package/cjs/useSelection-1ffadc6e.js.map +1 -0
  853. package/cjs/useVisDragModeControls-6acfca25.js +89 -0
  854. package/cjs/useVisDragModeControls-6acfca25.js.map +1 -0
  855. package/es/BareButton-2df3f3eb.js +34 -0
  856. package/es/BareButton-2df3f3eb.js.map +1 -0
  857. package/es/BaseButton-93d2f16c.js +83 -0
  858. package/es/BaseButton-93d2f16c.js.map +1 -0
  859. package/es/BaseRichSelection-533f2231.js +343 -0
  860. package/es/BaseRichSelection-533f2231.js.map +1 -0
  861. package/es/Button-daabfd1b.js +22 -0
  862. package/es/Button-daabfd1b.js.map +1 -0
  863. package/es/ButtonSetButton-a7b01fb2.js +33 -0
  864. package/es/ButtonSetButton-a7b01fb2.js.map +1 -0
  865. package/es/ButtonSetIconButton-6c171897.js +38 -0
  866. package/es/ButtonSetIconButton-6c171897.js.map +1 -0
  867. package/es/ButtonSetItem-b3dc082a.js +65 -0
  868. package/es/ButtonSetItem-b3dc082a.js.map +1 -0
  869. package/es/Chart-9aec139e.js +615 -0
  870. package/es/Chart-9aec139e.js.map +1 -0
  871. package/es/CheckboxControl-6fb2836d.js +115 -0
  872. package/es/CheckboxControl-6fb2836d.js.map +1 -0
  873. package/es/CheckboxRadioField-4ca01498.js +109 -0
  874. package/es/CheckboxRadioField-4ca01498.js.map +1 -0
  875. package/es/CheckboxRadioLabelValueLayout-1af018de.js +82 -0
  876. package/es/CheckboxRadioLabelValueLayout-1af018de.js.map +1 -0
  877. package/es/CheckboxStyles.styles.css +6 -0
  878. package/es/ClearIcon-112c6200.js +21 -0
  879. package/es/ClearIcon-112c6200.js.map +1 -0
  880. package/es/ColorPalette-765bbe22.js +81 -0
  881. package/es/ColorPalette-765bbe22.js.map +1 -0
  882. package/es/ColorPicker-94212b50.js +23 -0
  883. package/es/ColorPicker-94212b50.js.map +1 -0
  884. package/es/ColorSwatch-e98ed8ec.js +127 -0
  885. package/es/ColorSwatch-e98ed8ec.js.map +1 -0
  886. package/es/CompactUserAssistance-308c2ad3.js +47 -0
  887. package/es/CompactUserAssistance-308c2ad3.js.map +1 -0
  888. package/es/ComponentMessageContainer-dc2b5f81.js +81 -0
  889. package/es/ComponentMessageContainer-dc2b5f81.js.map +1 -0
  890. package/es/DatePicker-86c5eebd.js +599 -0
  891. package/es/DatePicker-86c5eebd.js.map +1 -0
  892. package/es/DatePickerHeader-cd95c0f1.js +45 -0
  893. package/es/DatePickerHeader-cd95c0f1.js.map +1 -0
  894. package/es/DiagramStyles.styles.css +10 -16
  895. package/es/DiagramStyles.styles2.css +16 -10
  896. package/es/Dialog-1b1a87ff.js +361 -0
  897. package/es/Dialog-1b1a87ff.js.map +1 -0
  898. package/es/EmbeddedIconButton-9027fc97.js +11 -0
  899. package/es/EmbeddedIconButton-9027fc97.js.map +1 -0
  900. package/es/Expander-f035d214.js +27 -0
  901. package/es/Expander-f035d214.js.map +1 -0
  902. package/es/IconButton-e7787aeb.js +36 -0
  903. package/es/IconButton-e7787aeb.js.map +1 -0
  904. package/es/IconSwitchButton-2b69f5c2.js +42 -0
  905. package/es/IconSwitchButton-2b69f5c2.js.map +1 -0
  906. package/es/IconToggleButton-f2a9d54a.js +41 -0
  907. package/es/IconToggleButton-f2a9d54a.js.map +1 -0
  908. package/es/InlineUserAssistance-af01b717.js +81 -0
  909. package/es/InlineUserAssistance-af01b717.js.map +1 -0
  910. package/es/InputDateMask-840db1a2.js +1138 -0
  911. package/es/InputDateMask-840db1a2.js.map +1 -0
  912. package/es/Label-17e1d221.js +156 -0
  913. package/es/Label-17e1d221.js.map +1 -0
  914. package/es/Link-d7ad7267.js +33 -0
  915. package/es/Link-d7ad7267.js.map +1 -0
  916. package/es/LinkVariants.styles.css +2 -1
  917. package/es/LinkVariants.styles2.css +2 -1
  918. package/es/ListItemLayoutStyles.styles.css +13 -18
  919. package/es/MaxLengthCounter-d622f964.js +25 -0
  920. package/es/MaxLengthCounter-d622f964.js.map +1 -0
  921. package/es/Message-b2ab3a28.js +203 -0
  922. package/es/Message-b2ab3a28.js.map +1 -0
  923. package/es/MonthView-04900992.js +208 -0
  924. package/es/MonthView-04900992.js.map +1 -0
  925. package/es/NavigationListItem-70f70367.js +301 -0
  926. package/es/NavigationListItem-70f70367.js.map +1 -0
  927. package/es/NavigationListLinkItem-8a575042.js +165 -0
  928. package/es/NavigationListLinkItem-8a575042.js.map +1 -0
  929. package/es/NumberInputText-4a0cff76.js +227 -0
  930. package/es/NumberInputText-4a0cff76.js.map +1 -0
  931. package/es/OverflowTabBarItem-187bd359.js +263 -0
  932. package/es/OverflowTabBarItem-187bd359.js.map +1 -0
  933. package/es/PRIVATE_Chart.js +16 -16
  934. package/es/PRIVATE_CheckboxControl.js +7 -6
  935. package/es/PRIVATE_CheckboxControl.js.map +1 -1
  936. package/es/PRIVATE_CheckboxRadioField.js +11 -10
  937. package/es/PRIVATE_CheckboxRadioField.js.map +1 -1
  938. package/es/PRIVATE_ClearIcon.js +6 -6
  939. package/es/PRIVATE_ContainerDiagram/themes/DiagramStyles.css.js +1 -1
  940. package/es/PRIVATE_ContainerDiagram.js +11 -11
  941. package/es/PRIVATE_DatePickerHeader.js +7 -7
  942. package/es/PRIVATE_EmbeddedIconButton.js +5 -5
  943. package/es/PRIVATE_Expander.js +6 -6
  944. package/es/PRIVATE_IconSwitchButton.js +5 -5
  945. package/es/PRIVATE_Message.js +6 -6
  946. package/es/PRIVATE_MonthView.js +2 -2
  947. package/es/PRIVATE_MonthYearGridView.js +2 -2
  948. package/es/PRIVATE_RevealToggleIcon.js +6 -6
  949. package/es/PRIVATE_RichSelectionCommon.js +10 -9
  950. package/es/PRIVATE_RichSelectionCommon.js.map +1 -1
  951. package/es/PRIVATE_SelectCommon.js +9 -9
  952. package/es/PRIVATE_Table.js +15 -15
  953. package/es/PRIVATE_TimeComponent.js +5 -5
  954. package/es/RevealToggleIcon-0cc8250a.js +26 -0
  955. package/es/RevealToggleIcon-0cc8250a.js.map +1 -0
  956. package/es/SelectMobileFieldInput-373047db.js +239 -0
  957. package/es/SelectMobileFieldInput-373047db.js.map +1 -0
  958. package/es/SortControl-36062682.js +33 -0
  959. package/es/SortControl-36062682.js.map +1 -0
  960. package/es/TabBar-218d6e96.js +66 -0
  961. package/es/TabBar-218d6e96.js.map +1 -0
  962. package/es/TabBarLinkItem-574d7229.js +13 -0
  963. package/es/TabBarLinkItem-574d7229.js.map +1 -0
  964. package/es/Table-3f93cee3.js +6067 -0
  965. package/es/Table-3f93cee3.js.map +1 -0
  966. package/es/Theme-redwood/theme.css +361 -361
  967. package/es/Theme-stable/theme.css +486 -486
  968. package/es/TimeComponentCanvas2D-9336e008.js +568 -0
  969. package/es/TimeComponentCanvas2D-9336e008.js.map +1 -0
  970. package/es/ToggleButton-0253034c.js +28 -0
  971. package/es/ToggleButton-0253034c.js.map +1 -0
  972. package/es/UNSAFE_BarChart.js +16 -16
  973. package/es/UNSAFE_BareButton.js +3 -3
  974. package/es/UNSAFE_BaseButton.js +4 -4
  975. package/es/UNSAFE_Button.js +5 -5
  976. package/es/UNSAFE_ButtonSetButton.js +5 -5
  977. package/es/UNSAFE_ButtonSetIconButton.js +5 -5
  978. package/es/UNSAFE_ButtonSetItem.js +7 -7
  979. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js +1 -0
  980. package/es/UNSAFE_Checkbox/themes/CheckboxStyles.css.js.map +1 -1
  981. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js +1 -0
  982. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxTheme.js.map +1 -1
  983. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js +1 -0
  984. package/es/UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js.map +1 -1
  985. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js +1 -0
  986. package/es/UNSAFE_Checkbox/themes/stable/CheckboxTheme.js.map +1 -1
  987. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js +1 -0
  988. package/es/UNSAFE_Checkbox/themes/stable/CheckboxVariants.css.js.map +1 -1
  989. package/es/UNSAFE_Checkbox.js +9 -8
  990. package/es/UNSAFE_Checkbox.js.map +1 -1
  991. package/es/UNSAFE_CheckboxItem.js +7 -6
  992. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  993. package/es/UNSAFE_CheckboxRadioField.js +2 -1
  994. package/es/UNSAFE_CheckboxRadioField.js.map +1 -1
  995. package/es/UNSAFE_CheckboxSet.js +11 -10
  996. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  997. package/es/UNSAFE_ColorPalette.js +7 -7
  998. package/es/UNSAFE_ColorPicker.js +32 -32
  999. package/es/UNSAFE_ColorSwatch.js +6 -6
  1000. package/es/UNSAFE_ComboChart.js +16 -16
  1001. package/es/UNSAFE_ComponentMessage.js +6 -6
  1002. package/es/UNSAFE_ConveyorBelt.js +4 -4
  1003. package/es/UNSAFE_DatePicker.js +12 -12
  1004. package/es/UNSAFE_Diagram/themes/DiagramStyles.css.js +1 -1
  1005. package/es/UNSAFE_Diagram.js +11 -11
  1006. package/es/UNSAFE_Dialog.js +6 -6
  1007. package/es/UNSAFE_ExpandableList.js +5 -5
  1008. package/es/UNSAFE_FlatTreeView.js +6 -6
  1009. package/es/UNSAFE_Gantt.js +6 -6
  1010. package/es/UNSAFE_IconButton.js +5 -5
  1011. package/es/UNSAFE_IconMenuButton.js +4 -4
  1012. package/es/UNSAFE_IconProgressButton.js +4 -4
  1013. package/es/UNSAFE_IconToggleButton.js +5 -5
  1014. package/es/UNSAFE_InlineSelectSingle.js +9 -9
  1015. package/es/UNSAFE_InputColor.js +14 -14
  1016. package/es/UNSAFE_InputDateMask.js +10 -10
  1017. package/es/UNSAFE_InputDatePicker.js +105 -105
  1018. package/es/UNSAFE_InputDatePicker.js.map +1 -1
  1019. package/es/UNSAFE_InputPassword.js +12 -12
  1020. package/es/UNSAFE_InputSensitiveText.js +12 -12
  1021. package/es/UNSAFE_InputText.js +10 -10
  1022. package/es/UNSAFE_InputTimeMask.js +9 -9
  1023. package/es/UNSAFE_Label.js +6 -6
  1024. package/es/UNSAFE_LabelledLink.js +9 -9
  1025. package/es/UNSAFE_LineAreaChart.js +16 -16
  1026. package/es/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
  1027. package/es/UNSAFE_Link.js +2 -2
  1028. package/es/UNSAFE_ListItemLayout/themes/ListItemLayoutStyles.css.js +1 -1
  1029. package/es/UNSAFE_ListItemLayout.js +2 -2
  1030. package/es/UNSAFE_ListItemLayout.js.map +1 -1
  1031. package/es/UNSAFE_MenuButton.js +4 -4
  1032. package/es/UNSAFE_MessageBanner.js +6 -6
  1033. package/es/UNSAFE_MessageToast.js +6 -6
  1034. package/es/UNSAFE_NavigationList.js +7 -7
  1035. package/es/UNSAFE_NavigationListCommon.js +6 -6
  1036. package/es/UNSAFE_NumberInputText.js +10 -10
  1037. package/es/UNSAFE_OverflowTabBar.js +10 -10
  1038. package/es/UNSAFE_PictoChart.js +5 -5
  1039. package/es/UNSAFE_ProgressButton.js +4 -4
  1040. package/es/UNSAFE_RadioItem.js +5 -5
  1041. package/es/UNSAFE_RadioSet.js +11 -10
  1042. package/es/UNSAFE_RadioSet.js.map +1 -1
  1043. package/es/UNSAFE_ReorderableTabBar.js +5 -5
  1044. package/es/UNSAFE_RichCheckboxSet.js +10 -9
  1045. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  1046. package/es/UNSAFE_RichRadioSet.js +10 -9
  1047. package/es/UNSAFE_RichRadioSet.js.map +1 -1
  1048. package/es/UNSAFE_ScatterChart.js +16 -16
  1049. package/es/UNSAFE_SelectMultiple.js +12 -12
  1050. package/es/UNSAFE_SelectSingle.js +12 -12
  1051. package/es/UNSAFE_SortControl.js +6 -6
  1052. package/es/UNSAFE_SplitMenuButton.js +4 -4
  1053. package/es/UNSAFE_TabBar.js +10 -10
  1054. package/es/UNSAFE_TabBarCommon.js +9 -9
  1055. package/es/UNSAFE_TabBarMixed.js +8 -8
  1056. package/es/UNSAFE_TableView.js +15 -15
  1057. package/es/UNSAFE_TagCloud.js +5 -5
  1058. package/es/UNSAFE_TextArea.js +225 -110
  1059. package/es/UNSAFE_TextArea.js.map +1 -1
  1060. package/es/UNSAFE_TextAreaAutosize.js +10 -10
  1061. package/es/UNSAFE_ToggleButton.js +5 -5
  1062. package/es/UNSAFE_UserAssistance.js +8 -8
  1063. package/es/YearsGridView-3858303c.js +187 -0
  1064. package/es/YearsGridView-3858303c.js.map +1 -0
  1065. package/es/hooks/PRIVATE_useChartEvents.js +6 -6
  1066. package/es/hooks/PRIVATE_useChartMarquee.js +10 -10
  1067. package/es/hooks/PRIVATE_useVisDragModeControls.js +9 -9
  1068. package/es/hooks/PRIVATE_useVisSelection.js +5 -5
  1069. package/es/hooks/UNSAFE_useBareButton.js +2 -2
  1070. package/es/hooks/UNSAFE_usePressClick.js +1 -1
  1071. package/es/useBareButton-31066c02.js +92 -0
  1072. package/es/useBareButton-31066c02.js.map +1 -0
  1073. package/es/useCellNavigation-260b7166.js +122 -0
  1074. package/es/useCellNavigation-260b7166.js.map +1 -0
  1075. package/es/useChartMarquee-35d0b6ed.js +300 -0
  1076. package/es/useChartMarquee-35d0b6ed.js.map +1 -0
  1077. package/es/useDisplayValue-a5e6601d.js +77 -0
  1078. package/es/useDisplayValue-a5e6601d.js.map +1 -0
  1079. package/es/usePressClick-945cc43b.js +39 -0
  1080. package/es/usePressClick-945cc43b.js.map +1 -0
  1081. package/es/useSelectDrill-7cd3819f.js +108 -0
  1082. package/es/useSelectDrill-7cd3819f.js.map +1 -0
  1083. package/es/useSelection-a3c695f6.js +186 -0
  1084. package/es/useSelection-a3c695f6.js.map +1 -0
  1085. package/es/useVisDragModeControls-a6c518c5.js +87 -0
  1086. package/es/useVisDragModeControls-a6c518c5.js.map +1 -0
  1087. package/package.json +4 -3
  1088. package/types/UNSAFE_DatePicker/useCellNavigation.d.ts +0 -1
  1089. package/types/UNSAFE_DatePicker/useDatePicker.d.ts +0 -22
  1090. package/types/UNSAFE_DatePicker/useDatePickerState.d.ts +1 -2
  1091. package/types/UNSAFE_Link/themes/LinkStyles.css.d.ts +2 -1
  1092. package/types/UNSAFE_Link/themes/redwood/LinkVariants.css.d.ts +2 -1
  1093. package/types/UNSAFE_Link/themes/stable/LinkVariants.css.d.ts +2 -1
  1094. package/types/UNSAFE_ListItemLayout/themes/ListItemLayoutStyles.css.d.ts +0 -1
  1095. package/types/hooks/UNSAFE_usePressClick/usePressClick.d.ts +1 -0
  1096. package/amd/BarChart-ed6364d0.js +0 -2
  1097. package/amd/BarChart-ed6364d0.js.map +0 -1
  1098. package/amd/BareButton-6152c7c2.js +0 -2
  1099. package/amd/BareButton-6152c7c2.js.map +0 -1
  1100. package/amd/BaseButton-d2266b25.js +0 -2
  1101. package/amd/BaseButton-d2266b25.js.map +0 -1
  1102. package/amd/BaseCardViewSelectionTest-7f4c1ca1.js +0 -2
  1103. package/amd/BaseCardViewSelectionTest-7f4c1ca1.js.map +0 -1
  1104. package/amd/BaseRichSelection-0fdc29a8.js +0 -2
  1105. package/amd/BaseRichSelection-0fdc29a8.js.map +0 -1
  1106. package/amd/Button-29507a64.js +0 -2
  1107. package/amd/Button-29507a64.js.map +0 -1
  1108. package/amd/ButtonSetButton-722af7d2.js +0 -2
  1109. package/amd/ButtonSetButton-722af7d2.js.map +0 -1
  1110. package/amd/ButtonSetIconButton-e65f43db.js +0 -2
  1111. package/amd/ButtonSetIconButton-e65f43db.js.map +0 -1
  1112. package/amd/ButtonSetItem-1f7c8a9f.js +0 -2
  1113. package/amd/ButtonSetItem-1f7c8a9f.js.map +0 -1
  1114. package/amd/Card-b62c2442.js +0 -2
  1115. package/amd/Card-b62c2442.js.map +0 -1
  1116. package/amd/Center-45b0c778.js +0 -2
  1117. package/amd/Center-45b0c778.js.map +0 -1
  1118. package/amd/Chart-eda7af0e.js +0 -2
  1119. package/amd/Chart-eda7af0e.js.map +0 -1
  1120. package/amd/Checkbox-dd283124.js +0 -2
  1121. package/amd/Checkbox-dd283124.js.map +0 -1
  1122. package/amd/CheckboxControl-3b7f3843.js +0 -2
  1123. package/amd/CheckboxControl-3b7f3843.js.map +0 -1
  1124. package/amd/CheckboxRadioField-c014b79b.js +0 -2
  1125. package/amd/CheckboxRadioField-c014b79b.js.map +0 -1
  1126. package/amd/CheckboxRadioLabelValueLayout-073b18d4.js +0 -2
  1127. package/amd/CheckboxRadioLabelValueLayout-073b18d4.js.map +0 -1
  1128. package/amd/CheckboxSet-d8b81a91.js +0 -2
  1129. package/amd/CheckboxSet-d8b81a91.js.map +0 -1
  1130. package/amd/ClearIcon-06fd3b05.js +0 -2
  1131. package/amd/ClearIcon-06fd3b05.js.map +0 -1
  1132. package/amd/ColorPalette-ecd83e4b.js +0 -2
  1133. package/amd/ColorPalette-ecd83e4b.js.map +0 -1
  1134. package/amd/ColorPicker-31f8e75b.js +0 -2
  1135. package/amd/ColorPicker-31f8e75b.js.map +0 -1
  1136. package/amd/ColorSwatch-393ad564.js +0 -2
  1137. package/amd/ColorSwatch-393ad564.js.map +0 -1
  1138. package/amd/ComboChart-09c90d6d.js +0 -2
  1139. package/amd/ComboChart-09c90d6d.js.map +0 -1
  1140. package/amd/CompactLabelAssistance-7ec99e08.js +0 -2
  1141. package/amd/CompactLabelAssistance-7ec99e08.js.map +0 -1
  1142. package/amd/CompactUserAssistance-e2f42bce.js +0 -2
  1143. package/amd/CompactUserAssistance-e2f42bce.js.map +0 -1
  1144. package/amd/ComponentMessageContainer-4d5cfe71.js +0 -2
  1145. package/amd/ComponentMessageContainer-4d5cfe71.js.map +0 -1
  1146. package/amd/ConveyorBelt-9982a911.js +0 -2
  1147. package/amd/ConveyorBelt-9982a911.js.map +0 -1
  1148. package/amd/DatePicker-26834e69.js +0 -2
  1149. package/amd/DatePicker-26834e69.js.map +0 -1
  1150. package/amd/DatePickerHeader-0572351a.js +0 -2
  1151. package/amd/DatePickerHeader-0572351a.js.map +0 -1
  1152. package/amd/Diagram-c8ca8f7a.js +0 -2
  1153. package/amd/Diagram-c8ca8f7a.js.map +0 -1
  1154. package/amd/Dialog-b6be33fd.js +0 -2
  1155. package/amd/Dialog-b6be33fd.js.map +0 -1
  1156. package/amd/DragHandle-68918f40.js +0 -2
  1157. package/amd/DragHandle-68918f40.js.map +0 -1
  1158. package/amd/DrawerPopup-8d62ed90.js +0 -2
  1159. package/amd/DrawerPopup-8d62ed90.js.map +0 -1
  1160. package/amd/Dropdown-9d52501e.js +0 -2
  1161. package/amd/Dropdown-9d52501e.js.map +0 -1
  1162. package/amd/EmbeddedIconButton-f15114e8.js +0 -2
  1163. package/amd/EmbeddedIconButton-f15114e8.js.map +0 -1
  1164. package/amd/EnvironmentProvider-fb09fcfb.js +0 -2
  1165. package/amd/EnvironmentProvider-fb09fcfb.js.map +0 -1
  1166. package/amd/ExpandableList-6f79ec92.js +0 -2
  1167. package/amd/ExpandableList-6f79ec92.js.map +0 -1
  1168. package/amd/Expander-8209c6c7.js +0 -2
  1169. package/amd/Expander-8209c6c7.js.map +0 -1
  1170. package/amd/FlatTreeView-537ceabc.js +0 -2
  1171. package/amd/FlatTreeView-537ceabc.js.map +0 -1
  1172. package/amd/Flex-4bc3a394.js +0 -2
  1173. package/amd/Flex-4bc3a394.js.map +0 -1
  1174. package/amd/Floating-366a30f8.js +0 -2
  1175. package/amd/Floating-366a30f8.js.map +0 -1
  1176. package/amd/Gantt-844026a4.js +0 -2
  1177. package/amd/Gantt-844026a4.js.map +0 -1
  1178. package/amd/Grid-2ddec30a.js +0 -2
  1179. package/amd/Grid-2ddec30a.js.map +0 -1
  1180. package/amd/Gridlines-545ae30a.js +0 -2
  1181. package/amd/Gridlines-545ae30a.js.map +0 -1
  1182. package/amd/HighlightText-ace1b6c4.js +0 -2
  1183. package/amd/HighlightText-ace1b6c4.js.map +0 -1
  1184. package/amd/IconButton-b4b83d00.js +0 -2
  1185. package/amd/IconButton-b4b83d00.js.map +0 -1
  1186. package/amd/IconMenuButton-d43de0e2.js +0 -2
  1187. package/amd/IconMenuButton-d43de0e2.js.map +0 -1
  1188. package/amd/IconProgressButton-264e5118.js +0 -2
  1189. package/amd/IconProgressButton-264e5118.js.map +0 -1
  1190. package/amd/IconSwitchButton-6453dcf0.js +0 -2
  1191. package/amd/IconSwitchButton-6453dcf0.js.map +0 -1
  1192. package/amd/IconToggleButton-f6dc5222.js +0 -2
  1193. package/amd/IconToggleButton-f6dc5222.js.map +0 -1
  1194. package/amd/IconUserAssistance-af9839fb.js +0 -2
  1195. package/amd/IconUserAssistance-af9839fb.js.map +0 -1
  1196. package/amd/InlineSelectSingle-c8a5cba5.js +0 -2
  1197. package/amd/InlineSelectSingle-c8a5cba5.js.map +0 -1
  1198. package/amd/InlineUserAssistance-b485c235.js +0 -2
  1199. package/amd/InlineUserAssistance-b485c235.js.map +0 -1
  1200. package/amd/InputColor-ba95f9f3.js +0 -2
  1201. package/amd/InputColor-ba95f9f3.js.map +0 -1
  1202. package/amd/InputDateMask-81cd129f.js +0 -2
  1203. package/amd/InputDateMask-81cd129f.js.map +0 -1
  1204. package/amd/InputDatePicker-a2f74124.js +0 -2
  1205. package/amd/InputDatePicker-a2f74124.js.map +0 -1
  1206. package/amd/InputPassword-204ab4f5.js +0 -2
  1207. package/amd/InputPassword-204ab4f5.js.map +0 -1
  1208. package/amd/InputSensitiveText-6627f003.js +0 -2
  1209. package/amd/InputSensitiveText-6627f003.js.map +0 -1
  1210. package/amd/InputText-676f6608.js +0 -2
  1211. package/amd/InputText-676f6608.js.map +0 -1
  1212. package/amd/Label-46fd3625.js +0 -2
  1213. package/amd/Label-46fd3625.js.map +0 -1
  1214. package/amd/Layer-dc3c1ac9.js +0 -2
  1215. package/amd/Layer-dc3c1ac9.js.map +0 -1
  1216. package/amd/LayerHost-7d4aa6d3.js +0 -2
  1217. package/amd/LayerHost-7d4aa6d3.js.map +0 -1
  1218. package/amd/LayerManager-4983f21c.js +0 -2
  1219. package/amd/LayerManager-4983f21c.js.map +0 -1
  1220. package/amd/LineAreaChart-2c71d134.js +0 -2
  1221. package/amd/LineAreaChart-2c71d134.js.map +0 -1
  1222. package/amd/Link-0392b449.js +0 -2
  1223. package/amd/Link-0392b449.js.map +0 -1
  1224. package/amd/ListItemLayout-0a2977b3.js +0 -2
  1225. package/amd/ListItemLayout-0a2977b3.js.map +0 -1
  1226. package/amd/ListItemTextLayout-eee36c04.js +0 -2
  1227. package/amd/ListItemTextLayout-eee36c04.js.map +0 -1
  1228. package/amd/LiveRegion-4b9317e5.js +0 -2
  1229. package/amd/LiveRegion-4b9317e5.js.map +0 -1
  1230. package/amd/MaxLengthCounter-cadff1c7.js +0 -2
  1231. package/amd/MaxLengthCounter-cadff1c7.js.map +0 -1
  1232. package/amd/MaxLengthLiveRegion-1f30f975.js +0 -2
  1233. package/amd/MaxLengthLiveRegion-1f30f975.js.map +0 -1
  1234. package/amd/MenuButton-35e80b87.js +0 -2
  1235. package/amd/MenuButton-35e80b87.js.map +0 -1
  1236. package/amd/Message-0c5fa65f.js +0 -2
  1237. package/amd/Message-0c5fa65f.js.map +0 -1
  1238. package/amd/MessageLayer-8df59ea9.js +0 -2
  1239. package/amd/MessageLayer-8df59ea9.js.map +0 -1
  1240. package/amd/MessageToast-8cb4ca1e.js +0 -2
  1241. package/amd/MessageToast-8cb4ca1e.js.map +0 -1
  1242. package/amd/Modal-8d647f76.js +0 -2
  1243. package/amd/Modal-8d647f76.js.map +0 -1
  1244. package/amd/MonthView-03070f25.js +0 -2
  1245. package/amd/MonthView-03070f25.js.map +0 -1
  1246. package/amd/NavigationListLinkItem-c2e2709c.js +0 -2
  1247. package/amd/NavigationListLinkItem-c2e2709c.js.map +0 -1
  1248. package/amd/NumberInputText-fd006d16.js +0 -2
  1249. package/amd/NumberInputText-fd006d16.js.map +0 -1
  1250. package/amd/OverflowTabBar-25824baa.js +0 -2
  1251. package/amd/OverflowTabBar-25824baa.js.map +0 -1
  1252. package/amd/OverflowTabBarItem-70c4684c.js +0 -2
  1253. package/amd/OverflowTabBarItem-70c4684c.js.map +0 -1
  1254. package/amd/PictoChart-a85dfa1b.js +0 -2
  1255. package/amd/PictoChart-a85dfa1b.js.map +0 -1
  1256. package/amd/Popup-062b66ff.js +0 -2
  1257. package/amd/Popup-062b66ff.js.map +0 -1
  1258. package/amd/ProgressBar-9aed0a47.js +0 -2
  1259. package/amd/ProgressBar-9aed0a47.js.map +0 -1
  1260. package/amd/ProgressButton-b317a3e5.js +0 -2
  1261. package/amd/ProgressButton-b317a3e5.js.map +0 -1
  1262. package/amd/ProgressCircle-0001dec1.js +0 -2
  1263. package/amd/ProgressCircle-0001dec1.js.map +0 -1
  1264. package/amd/RadioItem-e0bf1ae8.js +0 -2
  1265. package/amd/RadioItem-e0bf1ae8.js.map +0 -1
  1266. package/amd/RadioSet-ab50c3fd.js +0 -2
  1267. package/amd/RadioSet-ab50c3fd.js.map +0 -1
  1268. package/amd/RemovableTabBarItem-83d0c52b.js +0 -2
  1269. package/amd/RemovableTabBarItem-83d0c52b.js.map +0 -1
  1270. package/amd/RevealToggleIcon-81410b46.js +0 -2
  1271. package/amd/RevealToggleIcon-81410b46.js.map +0 -1
  1272. package/amd/ScatterChart-208763f2.js +0 -2
  1273. package/amd/ScatterChart-208763f2.js.map +0 -1
  1274. package/amd/SectionedContent-bae8af88.js +0 -2
  1275. package/amd/SectionedContent-bae8af88.js.map +0 -1
  1276. package/amd/SelectMobileFieldInput-094c2a5e.js +0 -2
  1277. package/amd/SelectMobileFieldInput-094c2a5e.js.map +0 -1
  1278. package/amd/SelectMultiple-15c9c741.js +0 -2
  1279. package/amd/SelectMultiple-15c9c741.js.map +0 -1
  1280. package/amd/SelectSingle-c336458e.js +0 -2
  1281. package/amd/SelectSingle-c336458e.js.map +0 -1
  1282. package/amd/SelectionCard-e5665725.js +0 -2
  1283. package/amd/SelectionCard-e5665725.js.map +0 -1
  1284. package/amd/SelectorAll-ac6005c5.js +0 -2
  1285. package/amd/SelectorAll-ac6005c5.js.map +0 -1
  1286. package/amd/Sheet-fdd314ac.js +0 -2
  1287. package/amd/Sheet-fdd314ac.js.map +0 -1
  1288. package/amd/SortControl-542ddc7d.js +0 -2
  1289. package/amd/SortControl-542ddc7d.js.map +0 -1
  1290. package/amd/SplitMenuButton-1cc37777.js +0 -2
  1291. package/amd/SplitMenuButton-1cc37777.js.map +0 -1
  1292. package/amd/StyledCard-f72bdcc4.js +0 -2
  1293. package/amd/StyledCard-f72bdcc4.js.map +0 -1
  1294. package/amd/StyledLabelValueLayout-5a476d38.js +0 -2
  1295. package/amd/StyledLabelValueLayout-5a476d38.js.map +0 -1
  1296. package/amd/TabBarMixedSeparator-4c6ad368.js +0 -2
  1297. package/amd/TabBarMixedSeparator-4c6ad368.js.map +0 -1
  1298. package/amd/Table-77cabff4.js +0 -2
  1299. package/amd/Table-77cabff4.js.map +0 -1
  1300. package/amd/TableView-65a3dc6c.js +0 -2
  1301. package/amd/TableView-65a3dc6c.js.map +0 -1
  1302. package/amd/TagCloud-f8ce653b.js +0 -2
  1303. package/amd/TagCloud-f8ce653b.js.map +0 -1
  1304. package/amd/TextArea-da8547eb.js +0 -2
  1305. package/amd/TextArea-da8547eb.js.map +0 -1
  1306. package/amd/TextAreaAutosize-2725467a.js +0 -2
  1307. package/amd/TextAreaAutosize-2725467a.js.map +0 -1
  1308. package/amd/TimeComponentCanvas2D-d563bdbb.js +0 -2
  1309. package/amd/TimeComponentCanvas2D-d563bdbb.js.map +0 -1
  1310. package/amd/ToggleButton-627f7646.js +0 -2
  1311. package/amd/ToggleButton-627f7646.js.map +0 -1
  1312. package/amd/View-5520bcf5.js +0 -2
  1313. package/amd/View-5520bcf5.js.map +0 -1
  1314. package/amd/VisNoData-d70d0d82.js +0 -2
  1315. package/amd/VisNoData-d70d0d82.js.map +0 -1
  1316. package/amd/VisProgressiveLoader-07978120.js +0 -2
  1317. package/amd/VisProgressiveLoader-07978120.js.map +0 -1
  1318. package/amd/VisTabularDatatip-ab3b0b91.js +0 -2
  1319. package/amd/VisTabularDatatip-ab3b0b91.js.map +0 -1
  1320. package/amd/WindowOverlay-bd810e3b.js +0 -2
  1321. package/amd/WindowOverlay-bd810e3b.js.map +0 -1
  1322. package/amd/YearsGridView-325ea5c8.js +0 -2
  1323. package/amd/YearsGridView-325ea5c8.js.map +0 -1
  1324. package/amd/index-89934afc.js +0 -2
  1325. package/amd/index-89934afc.js.map +0 -1
  1326. package/amd/popupUtils-e19b93b5.js +0 -2
  1327. package/amd/popupUtils-e19b93b5.js.map +0 -1
  1328. package/amd/render-88108768.js +0 -2
  1329. package/amd/render-88108768.js.map +0 -1
  1330. package/amd/tabbableUtils-147c1073.js +0 -2
  1331. package/amd/tabbableUtils-147c1073.js.map +0 -1
  1332. package/amd/testData-845e2489.js +0 -2
  1333. package/amd/testData-845e2489.js.map +0 -1
  1334. package/amd/tooltipUtils-3c8a0253.js +0 -2
  1335. package/amd/tooltipUtils-3c8a0253.js.map +0 -1
  1336. package/amd/useBareButton-98f047f8.js +0 -2
  1337. package/amd/useBareButton-98f047f8.js.map +0 -1
  1338. package/amd/useCellNavigation-403623a8.js +0 -2
  1339. package/amd/useCellNavigation-403623a8.js.map +0 -1
  1340. package/amd/useChartDatatip-cdfc4089.js +0 -2
  1341. package/amd/useChartDatatip-cdfc4089.js.map +0 -1
  1342. package/amd/useChartMarquee-84054198.js +0 -2
  1343. package/amd/useChartMarquee-84054198.js.map +0 -1
  1344. package/amd/useColorScheme-f2a81610.js +0 -2
  1345. package/amd/useColorScheme-f2a81610.js.map +0 -1
  1346. package/amd/useCssVars-d782da3d.js +0 -2
  1347. package/amd/useCssVars-d782da3d.js.map +0 -1
  1348. package/amd/useCurrentBgColor-4326d3d6.js +0 -2
  1349. package/amd/useCurrentBgColor-4326d3d6.js.map +0 -1
  1350. package/amd/useCurrentKey-2f1ca19e.js +0 -2
  1351. package/amd/useCurrentKey-2f1ca19e.js.map +0 -1
  1352. package/amd/useDatatip-36aa820b.js +0 -2
  1353. package/amd/useDatatip-36aa820b.js.map +0 -1
  1354. package/amd/useDensity-bee3cef4.js +0 -2
  1355. package/amd/useDensity-bee3cef4.js.map +0 -1
  1356. package/amd/useDisplayValue-2d2e6206.js +0 -2
  1357. package/amd/useDisplayValue-2d2e6206.js.map +0 -1
  1358. package/amd/useExpandCollapse-4478c2eb.js +0 -2
  1359. package/amd/useExpandCollapse-4478c2eb.js.map +0 -1
  1360. package/amd/useFloating-0df4b3d3.js +0 -2
  1361. package/amd/useFloating-0df4b3d3.js.map +0 -1
  1362. package/amd/useHiddenTestMethod-2f1d2e7e.js +0 -2
  1363. package/amd/useHiddenTestMethod-2f1d2e7e.js.map +0 -1
  1364. package/amd/useKeyboardEvents-a684ba76.js +0 -2
  1365. package/amd/useKeyboardEvents-a684ba76.js.map +0 -1
  1366. package/amd/useMeterDatatip-b7dc96a3.js +0 -2
  1367. package/amd/useMeterDatatip-b7dc96a3.js.map +0 -1
  1368. package/amd/useOutsideClick-9c4ceb18.js +0 -2
  1369. package/amd/useOutsideClick-9c4ceb18.js.map +0 -1
  1370. package/amd/useOutsideMousedown-b0021878.js +0 -2
  1371. package/amd/useOutsideMousedown-b0021878.js.map +0 -1
  1372. package/amd/usePopupAnimation-9f80595b.js +0 -2
  1373. package/amd/usePopupAnimation-9f80595b.js.map +0 -1
  1374. package/amd/usePrefixSuffix-66563417.js +0 -2
  1375. package/amd/usePrefixSuffix-66563417.js.map +0 -1
  1376. package/amd/usePressClick-b7b38da2.js +0 -2
  1377. package/amd/usePressClick-b7b38da2.js.map +0 -1
  1378. package/amd/useReorderableItem-013ac2e8.js +0 -2
  1379. package/amd/useReorderableItem-013ac2e8.js.map +0 -1
  1380. package/amd/useRovingTabIndexContainer-b11a404b.js +0 -2
  1381. package/amd/useRovingTabIndexContainer-b11a404b.js.map +0 -1
  1382. package/amd/useScale-5d246769.js +0 -2
  1383. package/amd/useScale-5d246769.js.map +0 -1
  1384. package/amd/useSelectDrill-d58a7229.js +0 -2
  1385. package/amd/useSelectDrill-d58a7229.js.map +0 -1
  1386. package/amd/useSelection-205a2bda.js +0 -2
  1387. package/amd/useSelection-205a2bda.js.map +0 -1
  1388. package/amd/useSelection-87a6bea9.js +0 -2
  1389. package/amd/useSelection-87a6bea9.js.map +0 -1
  1390. package/amd/useTestId-a2e433c2.js +0 -2
  1391. package/amd/useTestId-a2e433c2.js.map +0 -1
  1392. package/amd/useTheme-af7bfac1.js +0 -2
  1393. package/amd/useTheme-af7bfac1.js.map +0 -1
  1394. package/amd/useThemeInterpolations-1dff2f9d.js +0 -2
  1395. package/amd/useThemeInterpolations-1dff2f9d.js.map +0 -1
  1396. package/amd/useTooltip-e14d62f1.js +0 -2
  1397. package/amd/useTooltip-e14d62f1.js.map +0 -1
  1398. package/amd/useTooltipControlled-f7e07ed4.js +0 -2
  1399. package/amd/useTooltipControlled-f7e07ed4.js.map +0 -1
  1400. package/amd/useTooltipOnTruncation-e6d20cc0.js +0 -2
  1401. package/amd/useTooltipOnTruncation-e6d20cc0.js.map +0 -1
  1402. package/amd/useTranslationBundle-27bf6340.js +0 -2
  1403. package/amd/useTranslationBundle-27bf6340.js.map +0 -1
  1404. package/amd/useUser-988f7da2.js +0 -2
  1405. package/amd/useUser-988f7da2.js.map +0 -1
  1406. package/amd/useVisDragModeControls-f3a420dc.js +0 -2
  1407. package/amd/useVisDragModeControls-f3a420dc.js.map +0 -1
  1408. package/amd/useVisEvents-3839d74f.js +0 -2
  1409. package/amd/useVisEvents-3839d74f.js.map +0 -1
  1410. package/amd/withDirectionIcon-2bb38763.js +0 -2
  1411. package/amd/withDirectionIcon-2bb38763.js.map +0 -1
  1412. package/cjs/BareButton-814ae4b7.js +0 -36
  1413. package/cjs/BareButton-814ae4b7.js.map +0 -1
  1414. package/cjs/BaseButton-eadd18ed.js +0 -85
  1415. package/cjs/BaseButton-eadd18ed.js.map +0 -1
  1416. package/cjs/BaseRichSelection-1d4ef67b.js +0 -345
  1417. package/cjs/BaseRichSelection-1d4ef67b.js.map +0 -1
  1418. package/cjs/Button-110731d5.js +0 -24
  1419. package/cjs/Button-110731d5.js.map +0 -1
  1420. package/cjs/ButtonSetButton-9106a899.js +0 -35
  1421. package/cjs/ButtonSetButton-9106a899.js.map +0 -1
  1422. package/cjs/ButtonSetIconButton-8c52036a.js +0 -40
  1423. package/cjs/ButtonSetIconButton-8c52036a.js.map +0 -1
  1424. package/cjs/ButtonSetItem-7c81cf63.js +0 -67
  1425. package/cjs/ButtonSetItem-7c81cf63.js.map +0 -1
  1426. package/cjs/Chart-376785c5.js +0 -617
  1427. package/cjs/Chart-376785c5.js.map +0 -1
  1428. package/cjs/CheckboxControl-3334a89b.js +0 -117
  1429. package/cjs/CheckboxControl-3334a89b.js.map +0 -1
  1430. package/cjs/CheckboxRadioField-0a6614cc.js +0 -111
  1431. package/cjs/CheckboxRadioField-0a6614cc.js.map +0 -1
  1432. package/cjs/CheckboxRadioLabelValueLayout-20d3187e.js +0 -84
  1433. package/cjs/CheckboxRadioLabelValueLayout-20d3187e.js.map +0 -1
  1434. package/cjs/CheckboxSet-65fb2139.js +0 -53
  1435. package/cjs/CheckboxSet-65fb2139.js.map +0 -1
  1436. package/cjs/ClearIcon-dc495fdb.js +0 -23
  1437. package/cjs/ClearIcon-dc495fdb.js.map +0 -1
  1438. package/cjs/ColorPalette-68945111.js +0 -83
  1439. package/cjs/ColorPalette-68945111.js.map +0 -1
  1440. package/cjs/ColorPicker-e6097318.js +0 -25
  1441. package/cjs/ColorPicker-e6097318.js.map +0 -1
  1442. package/cjs/ColorSwatch-8410a4cd.js +0 -129
  1443. package/cjs/ColorSwatch-8410a4cd.js.map +0 -1
  1444. package/cjs/CompactUserAssistance-aaa774e8.js +0 -49
  1445. package/cjs/CompactUserAssistance-aaa774e8.js.map +0 -1
  1446. package/cjs/ComponentMessageContainer-0a029bed.js +0 -84
  1447. package/cjs/ComponentMessageContainer-0a029bed.js.map +0 -1
  1448. package/cjs/DatePicker-bfda90da.js +0 -622
  1449. package/cjs/DatePicker-bfda90da.js.map +0 -1
  1450. package/cjs/DatePickerHeader-52ee0e9e.js +0 -47
  1451. package/cjs/DatePickerHeader-52ee0e9e.js.map +0 -1
  1452. package/cjs/Dialog-b46f321b.js +0 -363
  1453. package/cjs/Dialog-b46f321b.js.map +0 -1
  1454. package/cjs/EmbeddedIconButton-acd640d1.js +0 -13
  1455. package/cjs/EmbeddedIconButton-acd640d1.js.map +0 -1
  1456. package/cjs/Expander-8dab69bc.js +0 -31
  1457. package/cjs/Expander-8dab69bc.js.map +0 -1
  1458. package/cjs/IconButton-217314e6.js +0 -38
  1459. package/cjs/IconButton-217314e6.js.map +0 -1
  1460. package/cjs/IconSwitchButton-92922dad.js +0 -44
  1461. package/cjs/IconSwitchButton-92922dad.js.map +0 -1
  1462. package/cjs/IconToggleButton-52c12187.js +0 -43
  1463. package/cjs/IconToggleButton-52c12187.js.map +0 -1
  1464. package/cjs/InlineUserAssistance-2fba4481.js +0 -85
  1465. package/cjs/InlineUserAssistance-2fba4481.js.map +0 -1
  1466. package/cjs/InputDateMask-caf79f8d.js +0 -1142
  1467. package/cjs/InputDateMask-caf79f8d.js.map +0 -1
  1468. package/cjs/Label-afee809f.js +0 -158
  1469. package/cjs/Label-afee809f.js.map +0 -1
  1470. package/cjs/Link-c066941c.js +0 -35
  1471. package/cjs/Link-c066941c.js.map +0 -1
  1472. package/cjs/Message-1153fc51.js +0 -208
  1473. package/cjs/Message-1153fc51.js.map +0 -1
  1474. package/cjs/MonthView-2e74479d.js +0 -221
  1475. package/cjs/MonthView-2e74479d.js.map +0 -1
  1476. package/cjs/NavigationListItem-e4be63fc.js +0 -302
  1477. package/cjs/NavigationListItem-e4be63fc.js.map +0 -1
  1478. package/cjs/NavigationListLinkItem-a06a8a6a.js +0 -170
  1479. package/cjs/NavigationListLinkItem-a06a8a6a.js.map +0 -1
  1480. package/cjs/NumberInputText-d187704a.js +0 -230
  1481. package/cjs/NumberInputText-d187704a.js.map +0 -1
  1482. package/cjs/OverflowTabBarItem-7bff3461.js +0 -268
  1483. package/cjs/OverflowTabBarItem-7bff3461.js.map +0 -1
  1484. package/cjs/RevealToggleIcon-1717c2be.js +0 -28
  1485. package/cjs/RevealToggleIcon-1717c2be.js.map +0 -1
  1486. package/cjs/SelectMobileFieldInput-cd6ee053.js +0 -246
  1487. package/cjs/SelectMobileFieldInput-cd6ee053.js.map +0 -1
  1488. package/cjs/SortControl-72e4f04e.js +0 -35
  1489. package/cjs/SortControl-72e4f04e.js.map +0 -1
  1490. package/cjs/TabBarLinkItem-bc212b10.js +0 -15
  1491. package/cjs/TabBarLinkItem-bc212b10.js.map +0 -1
  1492. package/cjs/Table-d4dd9535.js +0 -6069
  1493. package/cjs/Table-d4dd9535.js.map +0 -1
  1494. package/cjs/TimeComponentCanvas2D-98d4fd81.js +0 -591
  1495. package/cjs/TimeComponentCanvas2D-98d4fd81.js.map +0 -1
  1496. package/cjs/ToggleButton-79e06472.js +0 -30
  1497. package/cjs/ToggleButton-79e06472.js.map +0 -1
  1498. package/cjs/YearsGridView-c023c408.js +0 -208
  1499. package/cjs/YearsGridView-c023c408.js.map +0 -1
  1500. package/cjs/useBareButton-8c4f3b41.js +0 -94
  1501. package/cjs/useBareButton-8c4f3b41.js.map +0 -1
  1502. package/cjs/useCellNavigation-24305f7b.js +0 -130
  1503. package/cjs/useCellNavigation-24305f7b.js.map +0 -1
  1504. package/cjs/useChartMarquee-02a04456.js +0 -302
  1505. package/cjs/useChartMarquee-02a04456.js.map +0 -1
  1506. package/cjs/useDisplayValue-633a13f9.js +0 -81
  1507. package/cjs/useDisplayValue-633a13f9.js.map +0 -1
  1508. package/cjs/usePressClick-421494df.js +0 -33
  1509. package/cjs/usePressClick-421494df.js.map +0 -1
  1510. package/cjs/useSelectDrill-fb3f1255.js +0 -111
  1511. package/cjs/useSelectDrill-fb3f1255.js.map +0 -1
  1512. package/cjs/useSelection-3a9071fe.js +0 -188
  1513. package/cjs/useSelection-3a9071fe.js.map +0 -1
  1514. package/cjs/useVisDragModeControls-56c2f3c3.js +0 -89
  1515. package/cjs/useVisDragModeControls-56c2f3c3.js.map +0 -1
  1516. package/es/BareButton-0954f33d.js +0 -34
  1517. package/es/BareButton-0954f33d.js.map +0 -1
  1518. package/es/BaseButton-c9db8d61.js +0 -83
  1519. package/es/BaseButton-c9db8d61.js.map +0 -1
  1520. package/es/BaseRichSelection-253b1661.js +0 -343
  1521. package/es/BaseRichSelection-253b1661.js.map +0 -1
  1522. package/es/Button-e9718a5b.js +0 -22
  1523. package/es/Button-e9718a5b.js.map +0 -1
  1524. package/es/ButtonSetButton-a34aeeb0.js +0 -33
  1525. package/es/ButtonSetButton-a34aeeb0.js.map +0 -1
  1526. package/es/ButtonSetIconButton-1beb1197.js +0 -38
  1527. package/es/ButtonSetIconButton-1beb1197.js.map +0 -1
  1528. package/es/ButtonSetItem-6ef8402d.js +0 -65
  1529. package/es/ButtonSetItem-6ef8402d.js.map +0 -1
  1530. package/es/Chart-a834358f.js +0 -615
  1531. package/es/Chart-a834358f.js.map +0 -1
  1532. package/es/CheckboxControl-f2d72b06.js +0 -115
  1533. package/es/CheckboxControl-f2d72b06.js.map +0 -1
  1534. package/es/CheckboxRadioField-9684d0a0.js +0 -109
  1535. package/es/CheckboxRadioField-9684d0a0.js.map +0 -1
  1536. package/es/CheckboxRadioLabelValueLayout-6e130aa4.js +0 -82
  1537. package/es/CheckboxRadioLabelValueLayout-6e130aa4.js.map +0 -1
  1538. package/es/ClearIcon-07365168.js +0 -21
  1539. package/es/ClearIcon-07365168.js.map +0 -1
  1540. package/es/ColorPalette-76ede708.js +0 -81
  1541. package/es/ColorPalette-76ede708.js.map +0 -1
  1542. package/es/ColorPicker-728b1d99.js +0 -23
  1543. package/es/ColorPicker-728b1d99.js.map +0 -1
  1544. package/es/ColorSwatch-52f47316.js +0 -127
  1545. package/es/ColorSwatch-52f47316.js.map +0 -1
  1546. package/es/CompactUserAssistance-935892f2.js +0 -47
  1547. package/es/CompactUserAssistance-935892f2.js.map +0 -1
  1548. package/es/ComponentMessageContainer-6149c829.js +0 -81
  1549. package/es/ComponentMessageContainer-6149c829.js.map +0 -1
  1550. package/es/DatePicker-010bccd8.js +0 -620
  1551. package/es/DatePicker-010bccd8.js.map +0 -1
  1552. package/es/DatePickerHeader-efb0c3dc.js +0 -45
  1553. package/es/DatePickerHeader-efb0c3dc.js.map +0 -1
  1554. package/es/Dialog-177999ab.js +0 -361
  1555. package/es/Dialog-177999ab.js.map +0 -1
  1556. package/es/EmbeddedIconButton-3734542e.js +0 -11
  1557. package/es/EmbeddedIconButton-3734542e.js.map +0 -1
  1558. package/es/Expander-26f2b92c.js +0 -27
  1559. package/es/Expander-26f2b92c.js.map +0 -1
  1560. package/es/IconButton-c91faa06.js +0 -36
  1561. package/es/IconButton-c91faa06.js.map +0 -1
  1562. package/es/IconSwitchButton-7bd22adc.js +0 -42
  1563. package/es/IconSwitchButton-7bd22adc.js.map +0 -1
  1564. package/es/IconToggleButton-2ac4cd72.js +0 -41
  1565. package/es/IconToggleButton-2ac4cd72.js.map +0 -1
  1566. package/es/InlineUserAssistance-f57a9043.js +0 -81
  1567. package/es/InlineUserAssistance-f57a9043.js.map +0 -1
  1568. package/es/InputDateMask-46cd7a7c.js +0 -1138
  1569. package/es/InputDateMask-46cd7a7c.js.map +0 -1
  1570. package/es/Label-5c64c52d.js +0 -156
  1571. package/es/Label-5c64c52d.js.map +0 -1
  1572. package/es/Link-8f4968d6.js +0 -33
  1573. package/es/Link-8f4968d6.js.map +0 -1
  1574. package/es/Message-9727fbd1.js +0 -203
  1575. package/es/Message-9727fbd1.js.map +0 -1
  1576. package/es/MonthView-667f34b4.js +0 -219
  1577. package/es/MonthView-667f34b4.js.map +0 -1
  1578. package/es/NavigationListItem-d4657cbc.js +0 -301
  1579. package/es/NavigationListItem-d4657cbc.js.map +0 -1
  1580. package/es/NavigationListLinkItem-19da4fa3.js +0 -165
  1581. package/es/NavigationListLinkItem-19da4fa3.js.map +0 -1
  1582. package/es/NumberInputText-9c8015e1.js +0 -227
  1583. package/es/NumberInputText-9c8015e1.js.map +0 -1
  1584. package/es/OverflowTabBarItem-3b712670.js +0 -263
  1585. package/es/OverflowTabBarItem-3b712670.js.map +0 -1
  1586. package/es/RevealToggleIcon-cc88f0d7.js +0 -26
  1587. package/es/RevealToggleIcon-cc88f0d7.js.map +0 -1
  1588. package/es/SelectMobileFieldInput-3f7d2156.js +0 -239
  1589. package/es/SelectMobileFieldInput-3f7d2156.js.map +0 -1
  1590. package/es/SortControl-9b6f598d.js +0 -33
  1591. package/es/SortControl-9b6f598d.js.map +0 -1
  1592. package/es/TabBar-e40838e4.js +0 -66
  1593. package/es/TabBar-e40838e4.js.map +0 -1
  1594. package/es/TabBarLinkItem-3b446d5f.js +0 -13
  1595. package/es/TabBarLinkItem-3b446d5f.js.map +0 -1
  1596. package/es/Table-e2d60706.js +0 -6067
  1597. package/es/Table-e2d60706.js.map +0 -1
  1598. package/es/TextArea-2293815b.js +0 -184
  1599. package/es/TextArea-2293815b.js.map +0 -1
  1600. package/es/TimeComponentCanvas2D-d936eaa0.js +0 -568
  1601. package/es/TimeComponentCanvas2D-d936eaa0.js.map +0 -1
  1602. package/es/ToggleButton-5741d15b.js +0 -28
  1603. package/es/ToggleButton-5741d15b.js.map +0 -1
  1604. package/es/YearsGridView-a5eb83cd.js +0 -205
  1605. package/es/YearsGridView-a5eb83cd.js.map +0 -1
  1606. package/es/useBareButton-07a3eef9.js +0 -92
  1607. package/es/useBareButton-07a3eef9.js.map +0 -1
  1608. package/es/useCellNavigation-aabee5c0.js +0 -127
  1609. package/es/useCellNavigation-aabee5c0.js.map +0 -1
  1610. package/es/useChartMarquee-2d60324d.js +0 -300
  1611. package/es/useChartMarquee-2d60324d.js.map +0 -1
  1612. package/es/useDisplayValue-13d53b0b.js +0 -77
  1613. package/es/useDisplayValue-13d53b0b.js.map +0 -1
  1614. package/es/usePressClick-2ec8e098.js +0 -31
  1615. package/es/usePressClick-2ec8e098.js.map +0 -1
  1616. package/es/useSelectDrill-9d9cda7e.js +0 -108
  1617. package/es/useSelectDrill-9d9cda7e.js.map +0 -1
  1618. package/es/useSelection-7f6d51eb.js +0 -186
  1619. package/es/useSelection-7f6d51eb.js.map +0 -1
  1620. package/es/useVisDragModeControls-92ddac92.js +0 -87
  1621. package/es/useVisDragModeControls-92ddac92.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', './grid-767b4587', './boxalignment-6cee1ef3', './mergeInterpolations-9ede4cf7', 'css!./GridStyles.styles.css', './useTestId-9afc201a'], (function(e,s,t,r,i,n,a){"use strict";const l=[...Object.values(t.gridInterpolations),...Object.values(r.boxAlignmentInterpolations)],d=i.mergeInterpolations(l);e.Grid=({"aria-label":e,"aria-hidden":t,children:r,testId:i,role:n,...l})=>{const{class:o,...c}=d(l),b=a.useTestId(i),u={...c};return s.jsx("div",{class:`GridStyles_baseStyles__11rn47i0 ${o||""}`,style:u,role:n,"aria-label":e,"aria-hidden":t,...b,children:r})}}));
2
+ //# sourceMappingURL=Grid-d415ba8d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid-d415ba8d.js","sources":["../../src/UNSAFE_Grid/Grid.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport type { ComponentChildren, JSX } from 'preact';\n\nimport { gridInterpolations } from '../utils/UNSAFE_interpolations/grid';\nimport type { GridProps } from '../utils/UNSAFE_interpolations/grid';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { baseStyles } from './GridStyles.css';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport type { UnpackSignals } from '@oracle/oraclejet-internal-utilities/attributeUtils';\n\ntype Props = GridProps &\n BoxAlignmentProps &\n TestIdProps & {\n /**\n * The aria role for the Grid\n */\n role?: UnpackSignals<JSX.HTMLAttributes>['role'];\n /**\n * aria-label for this Grid\n */\n 'aria-label'?: UnpackSignals<JSX.AriaAttributes>['aria-label'];\n /**\n * aria-hidden for this Grid\n */\n 'aria-hidden'?: UnpackSignals<JSX.AriaAttributes>['aria-hidden'];\n /**\n * The children to put in the grid.\n */\n children?: ComponentChildren;\n };\n\nconst interpolations = [\n ...Object.values(gridInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * An implicit grid. Resize your browser to see how items reflow.\n */\nexport const Grid = ({\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n children,\n testId,\n role,\n ...props\n}: Props) => {\n const { class: cls, ...styles } = styleInterpolations(props);\n const testIdProps = useTestId(testId);\n const allStyles = { ...styles };\n return (\n <div\n class={`${baseStyles} ${cls ? cls : ''}`}\n style={allStyles}\n role={role}\n aria-label={ariaLabel}\n aria-hidden={ariaHidden}\n {...testIdProps}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","gridInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","ariaLabel","ariaHidden","children","testId","role","props","class","cls","styles","testIdProps","useTestId","allStyles","_jsx","style"],"mappings":"4MAuCA,MAAMA,EAAiB,IAClBC,OAAOC,OAAOC,yBACdF,OAAOC,OAAOE,+BAGbC,EAAsBC,EAAAA,oBAA2BN,UAKnC,EAClB,aAAcO,EACd,cAAeC,EACfC,WACAC,SACAC,UACGC,MAEH,MAAQC,MAAOC,KAAQC,GAAWV,EAAoBO,GAChDI,EAAcC,YAAUP,GACxBQ,EAAY,IAAKH,GACvB,OACEI,MAAA,MAAA,CACEN,MAAO,mCAAiBC,GAAY,KACpCM,MAAOF,EACPP,KAAMA,EACM,aAAAJ,EACC,cAAAC,KACTQ,EAAWP,SACdA,GAEH"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', './PRIVATE_PlotArea/themes/PlotAreaStyles.css', './hooks/PRIVATE_useVisDnd/themes/VisDndStyles.css', './classNames-08d99695', './useColorScheme-3022ec9a'], (function(e,s,t,i,l,n){"use strict";function o(e,s,t,i){let l,n,o,r;return"bottom"===s?(l=t?e.x+e.width:e.x,n=t?e.x+e.width:e.x,o=e.y,r=e.y+e.height):(l=e.x,n=e.x+e.width,o=t?e.y:e.y+e.height,r=t?e.y:e.y+e.height),{x1:l,x2:n,y1:o,y2:r,stroke:i?.lineColor,strokeWidth:i?.lineWidth}}function r(e,s,t,i){let l,n,o,r;return"bottom"===s?(l=t?e.x:e.x+e.width,n=t?e.x:e.x+e.width,o=e.y,r=e.y+e.height):(l=e.x,n=e.x+e.width,o=t?e.y+e.height:e.y,r=t?e.y+e.height:e.y),{x1:l,x2:n,y1:o,y2:r,stroke:i?.lineColor,strokeWidth:i?.lineWidth}}function d(e,s,t,i,l){let n,o,r,d;return e?l?(n=s,o=s,r=t,d=i):(n=t,o=i,r=s,d=s):l?(n=t,o=i,r=s,d=s):(n=s,o=s,r=t,d=i),{x1:n,x2:o,y1:r,y2:d}}const y={isRendered:!0},a={isRendered:!1},c={isRendered:!1},h={isRendered:!1},x={isRendered:!1},k={isRendered:!1};e.Gridlines=function({plotArea:e,yMinorTicks:i,xMinorTicks:L,xScale:$,yScale:S,y2Scale:m,isLog:g,yTicks:f,y2Ticks:M,xTicks:T,yAxisPosition:j,isDataXAxis:W,xAxis:R,yAxis:u,y2Axis:A,availSpace:v,xAxisPosition:p,isRtl:C,hasAxisLine:N,y2MinorTicks:P,isSplitDualY:b}){const w="top"===j||"bottom"===j,E=!!A?.isRendered,[D,V]=$.range(),[F,I]=E?m.range():S.range(),O={stroke:W?e?.xMajorTick?.baselineColor:e?.xMajorTick?.lineColor,strokeWidth:W?e?.xMajorTick?.baselineWidth:e?.xMajorTick?.lineWidth},_={stroke:e?.yMajorTick?.baselineColor,strokeWidth:e?.yMajorTick?.baselineWidth},G={stroke:e?.y2MajorTick?.baselineColor,strokeWidth:e?.y2MajorTick?.baselineWidth};let X="",Y="",q="",z="",B="",H="";const J={...y,...e?.yMajorTick},K={...c,...e?.yMinorTick},Q={...h,...e?.y2MinorTick},U={...k,...e?.xMinorTick},Z={...x,...e?.xMajorTick},ee={...a,isRendered:b,...e?.y2MajorTick},se=!0===K?.isRendered||g,te=!0===Q?.isRendered||g,ie=!0===Z?.isRendered||!1===e?.xMajorTick?.isRendered&&W,le=function(e,s,t){return{x1:"right"===s?e.x+e.width:e.x,x2:"left"===s?e.x:e.x+e.width,y1:"bottom"===s?e.y+e.height:e.y,y2:"top"===s?e.y:e.y+e.height,stroke:t?.lineColor,strokeWidth:t?.lineWidth}}(v,p),ne={stroke:e?.xAxisLine?.lineColor,strokeWidth:e?.xAxisLine?.lineWidth},oe={stroke:e?.yAxisLine?.lineColor,strokeWidth:e?.yAxisLine?.lineWidth},re={stroke:e?.y2AxisLine?.lineColor,strokeWidth:e?.y2AxisLine?.lineWidth},de="log"===u?.scale?f[0]:0,ye=d(w,S.transform(de),D,V,!0),ae="log"===A?.scale?M[0]:0,ce=d(w,m.transform(ae),D,V,!0),he="log"===R?.scale?T[0]:0,xe=d(w,$.transform(he),F,I,!1);if(J?.isRendered)for(let e=0;e<f.length;e++){if(0===f[e])continue;let s=S.transform(f[e]);e===f.length-1&&(s+=w?-1:1),X+=w?`M${s},${D}L${s},${V}`:`M${D},${s}L${V},${s}`}if(ee?.isRendered)for(let e=0;e<M.length;e++){if(0===f[e])continue;let s=m.transform(M[e]);e===M.length-1&&(s+=w?-1:1),Y+=w?`M${s},${D}L${s},${V}`:`M${D},${s}L${V},${s}`}if(ie&&T)for(let e=0;e<T.length;e++){const s=$.transform(T[e]);q+=w?`M${F},${s}L${I},${s}`:`M${s},${F}L${s},${I}`}if(se||te)for(let e=0;e<i.length;e++){const s=S.transform(i[e]);z+=w?`M${s},${D}L${s},${V}`:`M${D},${s}L${V},${s}`}if(te)for(let e=0;e<P.length;e++){const s=m.transform(P[e]);H+=w?`M${s},${D}L${s},${V}`:`M${D},${s}L${V},${s}`}if(U.isRendered&&L)for(let e=0;e<L.length;e++){const s=$.transform(L[e]);B+=w?`M${F},${s}L${I},${s}`:`M${s},${F}L${s},${I}`}const ke=n.useColorScheme();let Le;if(b){const e=w?f[f.length-1]:f[0],s=w?M[0]:M[M.length-1];Le=d(w,(S.transform(e)+m.transform(s))/2+.5*(w?-1:1),D,V,!0)}return s.jsxs(s.Fragment,{children:[J?.isRendered&&s.jsx("path",{d:X,className:l.classNames([t.styles.noPointerEvents,t.styles.majorTickLineStyles,"dashed"===J?.lineStyle?t.styles.dashedLine:void 0,"dotted"===J?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:E?ee.lineColor:J.lineColor,strokeWidth:E?ee.lineWidth:J.lineWidth}}),ee?.isRendered&&s.jsx("path",{d:Y,className:l.classNames([t.styles.noPointerEvents,t.styles.majorTickLineStyles,"dashed"===ee?.lineStyle?t.styles.dashedLine:void 0,"dotted"===ee?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:ee.lineColor,strokeWidth:ee.lineWidth}}),ie&&s.jsx("path",{d:q,className:l.classNames([t.styles.noPointerEvents,t.styles.majorTickLineStyles,"dashed"===Z?.lineStyle?t.styles.dashedLine:void 0,"dotted"===Z?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:Z.lineColor,strokeWidth:Z.lineWidth}}),se&&s.jsx("path",{d:z,className:l.classNames([t.styles.noPointerEvents,t.styles.minorTickLineStyles,"light"===ke?t.styles.lightMinorTickLineStroke:t.styles.darkMinorTickLineStroke,"dashed"===K?.lineStyle?t.styles.dashedLine:void 0,"dotted"===K?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:E?Q.lineColor:K?.lineColor,strokeWidth:E?Q.lineWidth:K?.lineWidth}}),te&&s.jsx("path",{d:H,className:l.classNames([t.styles.noPointerEvents,t.styles.minorTickLineStyles,"light"===ke?t.styles.lightMinorTickLineStroke:t.styles.darkMinorTickLineStroke,"dashed"===Q?.lineStyle?t.styles.dashedLine:void 0,"dotted"===Q?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:Q?.lineColor,strokeWidth:Q?.lineWidth}}),U.isRendered&&s.jsx("path",{d:B,className:l.classNames([t.styles.noPointerEvents,t.styles.minorTickLineStyles,"light"===ke?t.styles.lightMinorTickLineStroke:t.styles.darkMinorTickLineStroke,"dashed"===U?.lineStyle?t.styles.dashedLine:void 0,"dotted"===U?.lineStyle?t.styles.dottedLine:void 0]),style:{stroke:U?.lineColor,strokeWidth:U?.lineWidth}}),(W&&!1!==e?.y2AxisLine?.isRendered||e?.y2AxisLine?.isRendered)&&s.jsx("line",{...r(v,p,C),class:t.styles.axisLineStyle,style:re}),(W&&!1!==e?.yAxisLine?.isRendered||e?.yAxisLine?.isRendered)&&s.jsx("line",{...o(v,p,C),class:t.styles.axisLineStyle,style:oe}),N&&!1!==e?.xAxisLine?.isRendered&&s.jsx("line",{...le,class:t.styles.axisLineStyle,style:ne}),ee?.isRendered&&s.jsx("line",{...ce,class:t.styles.axisLineStyle,style:G}),J?.isRendered&&s.jsx("line",{...ye,class:t.styles.axisLineStyle,style:_}),Z?.isRendered&&s.jsx("line",{...xe,class:t.styles.axisLineStyle,style:O}),b&&Le?s.jsx("line",{...Le,class:t.styles.axisLineStyle,style:_}):null]})},e.PlotArea=function({color:e,availSpace:n,cursor:o,dragOverStyle:r}){const d=[];switch(r){case"accept":d.push(i.styles.dndDragOverSvgStyle);break;case"reject":d.push(i.styles.dndRejectedStyle),d.push(t.styles.plotAreaStyle);break;case"none":d.push(t.styles.plotAreaStyle)}return s.jsx(s.Fragment,{children:s.jsx("rect",{...n,className:l.classNames(d),style:{fill:"accept"===r?void 0:e,cursor:o}})})}}));
2
+ //# sourceMappingURL=Gridlines-c6c1fbb5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gridlines-c6c1fbb5.js","sources":["../../src/PRIVATE_PlotArea/utils.ts","../../src/PRIVATE_PlotArea/Gridlines.tsx","../../src/PRIVATE_PlotArea/PlotArea.tsx"],"sourcesContent":["import { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { Dimension } from '../utils/UNSAFE_visTypes/common';\n\nexport function getXAxisLineProps(\n availSpace: Dimension,\n axisPosition: 'left' | 'right' | 'top' | 'bottom',\n axisLine?: {\n lineColor?: ColorProps['color'];\n lineWidth?: number;\n isRendered: boolean;\n }\n) {\n return {\n x1: axisPosition === 'right' ? availSpace.x + availSpace.width : availSpace.x,\n x2: axisPosition === 'left' ? availSpace.x : availSpace.x + availSpace.width,\n y1: axisPosition === 'bottom' ? availSpace.y + availSpace.height : availSpace.y,\n y2: axisPosition === 'top' ? availSpace.y : availSpace.y + availSpace.height,\n stroke: axisLine?.lineColor,\n strokeWidth: axisLine?.lineWidth\n };\n}\n\nexport function getYAxisLineProps(\n availSpace: Dimension,\n axisPosition: 'left' | 'right' | 'top' | 'bottom',\n isRtl?: boolean,\n axisLine?: {\n lineColor?: ColorProps['color'];\n lineWidth?: number;\n isRendered: boolean;\n }\n) {\n let x1, x2, y1, y2: number;\n if (axisPosition === 'bottom') {\n x1 = isRtl ? availSpace.x + availSpace.width : availSpace.x;\n x2 = isRtl ? availSpace.x + availSpace.width : availSpace.x;\n y1 = availSpace.y;\n y2 = availSpace.y + availSpace.height;\n } else {\n x1 = availSpace.x;\n x2 = availSpace.x + availSpace.width;\n y1 = isRtl ? availSpace.y : availSpace.y + availSpace.height;\n y2 = isRtl ? availSpace.y : availSpace.y + availSpace.height;\n }\n return {\n x1,\n x2,\n y1,\n y2,\n stroke: axisLine?.lineColor,\n strokeWidth: axisLine?.lineWidth\n };\n}\n\nexport function getY2AxisLineProps(\n availSpace: Dimension,\n axisPosition: 'left' | 'right' | 'top' | 'bottom',\n isRtl?: boolean,\n axisLine?: {\n lineColor?: ColorProps['color'];\n lineWidth?: number;\n isRendered: boolean;\n }\n) {\n let x1, x2, y1, y2: number;\n if (axisPosition === 'bottom') {\n x1 = isRtl ? availSpace.x : availSpace.x + availSpace.width;\n x2 = isRtl ? availSpace.x : availSpace.x + availSpace.width;\n y1 = availSpace.y;\n y2 = availSpace.y + availSpace.height;\n } else {\n x1 = availSpace.x;\n x2 = availSpace.x + availSpace.width;\n y1 = isRtl ? availSpace.y + availSpace.height : availSpace.y;\n y2 = isRtl ? availSpace.y + availSpace.height : availSpace.y;\n }\n return {\n x1,\n x2,\n y1,\n y2,\n stroke: axisLine?.lineColor,\n strokeWidth: axisLine?.lineWidth\n };\n}\n\nexport function getBaseLineProps(\n availSpace: Dimension,\n coord: number,\n axisPosition: 'left' | 'right' | 'top' | 'bottom'\n) {\n let x1, x2, y1, y2: number;\n if (axisPosition === 'bottom') {\n x1 = availSpace.x;\n x2 = availSpace.x + availSpace.width;\n y1 = coord;\n y2 = coord;\n } else {\n x1 = coord;\n x2 = coord;\n y1 = availSpace.y;\n y2 = availSpace.y + availSpace.height;\n }\n\n return { x1, x2, y1, y2 };\n}\n\nexport function getBaseLineCoords(\n isHoriz: boolean,\n coord: number,\n range1: number,\n range2: number,\n isYAxis: boolean\n) {\n let x1, x2, y1, y2: number;\n if (isHoriz) {\n if (isYAxis) {\n x1 = coord;\n x2 = coord;\n y1 = range1;\n y2 = range2;\n } else {\n x1 = range1;\n x2 = range2;\n y1 = coord;\n y2 = coord;\n }\n } else {\n if (isYAxis) {\n x1 = range1;\n x2 = range2;\n y1 = coord;\n y2 = coord;\n } else {\n x1 = coord;\n x2 = coord;\n y1 = range1;\n y2 = range2;\n }\n }\n\n return { x1, x2, y1, y2 };\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { styles } from './themes/PlotAreaStyles.css';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { ChartPlotArea, DataAxisProps, Scale } from '../utils/UNSAFE_visTypes/chart';\nimport { useColorScheme } from '../hooks/UNSAFE_useColorScheme';\nimport {\n getBaseLineCoords,\n getXAxisLineProps,\n getY2AxisLineProps,\n getYAxisLineProps\n} from './utils';\nimport { Dimension } from '#utils/UNSAFE_visTypes/common';\n\ntype Props = {\n availSpace: Dimension;\n xAxisPosition: 'left' | 'right' | 'top' | 'bottom';\n isRtl?: boolean;\n hasAxisLine: boolean;\n xScale: Scale;\n yScale: Scale;\n y2Scale: Scale;\n isLog: boolean;\n yTicks: number[];\n y2Ticks: number[];\n xTicks: number[];\n yMinorTicks: number[];\n y2MinorTicks: number[];\n xMinorTicks?: number[];\n plotArea?: ChartPlotArea;\n yAxisPosition: 'left' | 'right' | 'top' | 'bottom';\n isDataXAxis?: boolean;\n xAxis?: DataAxisProps;\n yAxis?: DataAxisProps;\n y2Axis?: DataAxisProps;\n isSplitDualY: boolean;\n};\n\nconst TICK_DEFAULT = {\n yMajorTick: {\n isRendered: true\n },\n y2MajorTick: {\n isRendered: false\n },\n yMinorTick: {\n isRendered: false\n },\n y2MinorTick: {\n isRendered: false\n },\n xMajorTick: {\n isRendered: false\n },\n xMinorTick: {\n isRendered: false\n }\n};\n\nexport function Gridlines({\n plotArea,\n yMinorTicks,\n xMinorTicks,\n xScale,\n yScale,\n y2Scale,\n isLog,\n yTicks,\n y2Ticks,\n xTicks,\n yAxisPosition,\n isDataXAxis,\n xAxis,\n yAxis,\n y2Axis,\n availSpace,\n xAxisPosition,\n isRtl,\n hasAxisLine,\n y2MinorTicks,\n isSplitDualY\n}: Props) {\n const isHoriz = yAxisPosition === 'top' || yAxisPosition === 'bottom';\n const hasY2 = !!y2Axis?.isRendered;\n const [x1, x2] = xScale.range();\n const [y1, y2] = hasY2 ? y2Scale.range() : yScale.range();\n\n const xAxisBaselineStyle = {\n stroke: isDataXAxis ? plotArea?.xMajorTick?.baselineColor : plotArea?.xMajorTick?.lineColor,\n strokeWidth: isDataXAxis ? plotArea?.xMajorTick?.baselineWidth : plotArea?.xMajorTick?.lineWidth\n };\n const yAxisBaselineStyle = {\n stroke: plotArea?.yMajorTick?.baselineColor,\n strokeWidth: plotArea?.yMajorTick?.baselineWidth\n };\n const y2AxisBaselineStyle = {\n stroke: plotArea?.y2MajorTick?.baselineColor,\n strokeWidth: plotArea?.y2MajorTick?.baselineWidth\n };\n let yLinesPath = '';\n let y2LinesPath = '';\n let xLinesPath = '';\n let yMinorPath = '';\n let xMinorPath = '';\n let y2MinorPath = '';\n\n const yMajorTick = { ...TICK_DEFAULT.yMajorTick, ...plotArea?.yMajorTick };\n const yMinorTick = { ...TICK_DEFAULT.yMinorTick, ...plotArea?.yMinorTick };\n const y2MinorTick = { ...TICK_DEFAULT.y2MinorTick, ...plotArea?.y2MinorTick };\n const xMinorTick = { ...TICK_DEFAULT.xMinorTick, ...plotArea?.xMinorTick };\n const xMajorTick = { ...TICK_DEFAULT.xMajorTick, ...plotArea?.xMajorTick };\n const y2MajorTick = {\n ...TICK_DEFAULT.y2MajorTick,\n isRendered: isSplitDualY,\n ...plotArea?.y2MajorTick\n };\n const isYMinorRendered = yMinorTick?.isRendered === true || isLog;\n const isY2MinorRendered = y2MinorTick?.isRendered === true || isLog;\n const isXMajorRendered =\n xMajorTick?.isRendered === true || (plotArea?.xMajorTick?.isRendered === false && isDataXAxis);\n\n const xAxisLineProps = getXAxisLineProps(availSpace, xAxisPosition);\n\n const xAxisLineStyle = {\n stroke: plotArea?.xAxisLine?.lineColor,\n strokeWidth: plotArea?.xAxisLine?.lineWidth\n };\n const yAxisLineStyle = {\n stroke: plotArea?.yAxisLine?.lineColor,\n strokeWidth: plotArea?.yAxisLine?.lineWidth\n };\n const y2AxisLineStyle = {\n stroke: plotArea?.y2AxisLine?.lineColor,\n strokeWidth: plotArea?.y2AxisLine?.lineWidth\n };\n\n const yBaseLine = yAxis?.scale === 'log' ? yTicks[0] : 0;\n const yBaseLineCoords = getBaseLineCoords(isHoriz, yScale.transform(yBaseLine), x1, x2, true);\n\n const y2BaseLine = y2Axis?.scale === 'log' ? y2Ticks[0] : 0;\n const y2BaseLineCoords = getBaseLineCoords(isHoriz, y2Scale.transform(y2BaseLine), x1, x2, true);\n\n const xBaseLine = xAxis?.scale === 'log' ? xTicks[0] : 0;\n const xBaseLineCoords = getBaseLineCoords(isHoriz, xScale.transform(xBaseLine), y1, y2, false);\n\n if (yMajorTick?.isRendered) {\n for (let i = 0; i < yTicks.length; i++) {\n if (yTicks[i] === 0) {\n // zero is skipped for majorTick. baseline is rendered at 0\n continue;\n }\n let y = yScale.transform(yTicks[i]);\n // last grid line get's clipped due to plot area clippath. Slightly adjust\n // coord so that it's not clipped.\n if (i === yTicks.length - 1) {\n y += isHoriz ? -1 : 1;\n }\n yLinesPath += isHoriz ? `M${y},${x1}L${y},${x2}` : `M${x1},${y}L${x2},${y}`;\n }\n }\n\n if (y2MajorTick?.isRendered) {\n for (let i = 0; i < y2Ticks.length; i++) {\n if (yTicks[i] === 0) {\n // zero is skipped for majorTick. baseline is rendered at 0\n continue;\n }\n let y = y2Scale.transform(y2Ticks[i]);\n // last grid line get's clipped due to plot area clippath. Slightly adjust\n // coord so that it's not clipped.\n if (i === y2Ticks.length - 1) {\n y += isHoriz ? -1 : 1;\n }\n y2LinesPath += isHoriz ? `M${y},${x1}L${y},${x2}` : `M${x1},${y}L${x2},${y}`;\n }\n }\n\n if (isXMajorRendered) {\n if (xTicks) {\n for (let i = 0; i < xTicks.length; i++) {\n const x = xScale.transform(xTicks[i]);\n xLinesPath += isHoriz ? `M${y1},${x}L${y2},${x}` : `M${x},${y1}L${x},${y2}`;\n }\n }\n }\n\n if (isYMinorRendered || isY2MinorRendered) {\n for (let i = 0; i < yMinorTicks.length; i++) {\n const y = yScale.transform(yMinorTicks[i]);\n yMinorPath += isHoriz ? `M${y},${x1}L${y},${x2}` : `M${x1},${y}L${x2},${y}`;\n }\n }\n\n if (isY2MinorRendered) {\n for (let i = 0; i < y2MinorTicks.length; i++) {\n const y = y2Scale.transform(y2MinorTicks[i]);\n y2MinorPath += isHoriz ? `M${y},${x1}L${y},${x2}` : `M${x1},${y}L${x2},${y}`;\n }\n }\n\n if (xMinorTick.isRendered && xMinorTicks) {\n for (let i = 0; i < xMinorTicks.length; i++) {\n const x = xScale.transform(xMinorTicks[i]);\n xMinorPath += isHoriz ? `M${y1},${x}L${y2},${x}` : `M${x},${y1}L${x},${y2}`;\n }\n }\n\n const colorScheme = useColorScheme();\n\n let splitCoords:\n | {\n x1: number;\n x2: number;\n y1: number;\n y2: number;\n }\n | undefined = undefined;\n if (isSplitDualY) {\n const ySplitCoord = !isHoriz ? yTicks[0] : yTicks[yTicks.length - 1];\n const y2SplitCoord = !isHoriz ? y2Ticks[y2Ticks.length - 1] : y2Ticks[0];\n const splitCoord = (yScale.transform(ySplitCoord) + y2Scale.transform(y2SplitCoord)) / 2;\n splitCoords = getBaseLineCoords(isHoriz, splitCoord + (isHoriz ? -1 : 1) * 0.5, x1, x2, true);\n }\n\n /*\n Render order: \n 1. Gridlines: y and y2 are same because of aligned ticks.\n a. majorTick: y -> x\n b. minorTick y -> x\n 2. Axislines → Baselines, with each in the order: y2 → y → x\n*/\n return (\n <>\n {yMajorTick?.isRendered && (\n <path\n d={yLinesPath}\n className={classNames([\n styles.noPointerEvents,\n styles.majorTickLineStyles,\n yMajorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n yMajorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: hasY2 ? y2MajorTick.lineColor : yMajorTick.lineColor,\n strokeWidth: hasY2 ? y2MajorTick.lineWidth : yMajorTick.lineWidth\n }}\n />\n )}\n {y2MajorTick?.isRendered && (\n <path\n d={y2LinesPath}\n className={classNames([\n styles.noPointerEvents,\n styles.majorTickLineStyles,\n y2MajorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n y2MajorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: y2MajorTick.lineColor,\n strokeWidth: y2MajorTick.lineWidth\n }}\n />\n )}\n {isXMajorRendered && (\n <path\n d={xLinesPath}\n className={classNames([\n styles.noPointerEvents,\n styles.majorTickLineStyles,\n xMajorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n xMajorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: xMajorTick.lineColor,\n strokeWidth: xMajorTick.lineWidth\n }}\n />\n )}\n {isYMinorRendered && (\n <path\n d={yMinorPath}\n className={classNames([\n styles.noPointerEvents,\n styles.minorTickLineStyles,\n colorScheme === 'light'\n ? styles.lightMinorTickLineStroke\n : styles.darkMinorTickLineStroke,\n yMinorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n yMinorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: hasY2 ? y2MinorTick.lineColor : yMinorTick?.lineColor,\n strokeWidth: hasY2 ? y2MinorTick.lineWidth : yMinorTick?.lineWidth\n }}\n />\n )}\n {isY2MinorRendered && (\n <path\n d={y2MinorPath}\n className={classNames([\n styles.noPointerEvents,\n styles.minorTickLineStyles,\n colorScheme === 'light'\n ? styles.lightMinorTickLineStroke\n : styles.darkMinorTickLineStroke,\n y2MinorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n y2MinorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: y2MinorTick?.lineColor,\n strokeWidth: y2MinorTick?.lineWidth\n }}\n />\n )}\n {xMinorTick.isRendered && (\n <path\n d={xMinorPath}\n className={classNames([\n styles.noPointerEvents,\n styles.minorTickLineStyles,\n colorScheme === 'light'\n ? styles.lightMinorTickLineStroke\n : styles.darkMinorTickLineStroke,\n xMinorTick?.lineStyle === 'dashed' ? styles.dashedLine : undefined,\n xMinorTick?.lineStyle === 'dotted' ? styles.dottedLine : undefined\n ])}\n style={{\n stroke: xMinorTick?.lineColor,\n strokeWidth: xMinorTick?.lineWidth\n }}\n />\n )}\n {((isDataXAxis && plotArea?.y2AxisLine?.isRendered !== false) ||\n plotArea?.y2AxisLine?.isRendered) && (\n <line\n {...getY2AxisLineProps(availSpace, xAxisPosition, isRtl)}\n class={styles.axisLineStyle}\n style={y2AxisLineStyle}\n />\n )}\n {((isDataXAxis && plotArea?.yAxisLine?.isRendered !== false) ||\n plotArea?.yAxisLine?.isRendered) && (\n <line\n {...getYAxisLineProps(availSpace, xAxisPosition, isRtl)}\n class={styles.axisLineStyle}\n style={yAxisLineStyle}\n />\n )}\n {hasAxisLine && plotArea?.xAxisLine?.isRendered !== false && (\n <line {...xAxisLineProps} class={styles.axisLineStyle} style={xAxisLineStyle} />\n )}\n {y2MajorTick?.isRendered && (\n <line {...y2BaseLineCoords} class={styles.axisLineStyle} style={y2AxisBaselineStyle} />\n )}\n {yMajorTick?.isRendered && (\n <line {...yBaseLineCoords} class={styles.axisLineStyle} style={yAxisBaselineStyle} />\n )}\n {xMajorTick?.isRendered && (\n <line {...xBaseLineCoords} class={styles.axisLineStyle} style={xAxisBaselineStyle} />\n )}\n {isSplitDualY && splitCoords ? (\n <line {...splitCoords} class={styles.axisLineStyle} style={yAxisBaselineStyle} />\n ) : null}\n </>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { styles } from './themes/PlotAreaStyles.css';\nimport { Dimension } from '../utils/UNSAFE_visTypes/common';\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { styles as VisStyles } from '#hooks/PRIVATE_useVisDnd/themes/VisDndStyles.css';\nimport { classNames } from '#utils/UNSAFE_classNames';\n\ntype Props = {\n color?: ColorProps['color'];\n availSpace: Dimension;\n cursor?: string;\n dragOverStyle: 'accept' | 'reject' | 'none';\n};\n\nexport function PlotArea({ color, availSpace, cursor, dragOverStyle }: Props) {\n const dragClass = [];\n switch (dragOverStyle) {\n case 'accept':\n dragClass.push(VisStyles.dndDragOverSvgStyle);\n break;\n case 'reject':\n dragClass.push(VisStyles.dndRejectedStyle);\n dragClass.push(styles.plotAreaStyle);\n break;\n case 'none':\n dragClass.push(styles.plotAreaStyle);\n break;\n }\n return (\n <>\n <rect\n {...availSpace}\n className={classNames(dragClass)}\n style={{ fill: dragOverStyle === 'accept' ? undefined : color, cursor }}></rect>\n </>\n );\n}\n"],"names":["getYAxisLineProps","availSpace","axisPosition","isRtl","axisLine","x1","x2","y1","y2","x","width","y","height","stroke","lineColor","strokeWidth","lineWidth","getY2AxisLineProps","getBaseLineCoords","isHoriz","coord","range1","range2","isYAxis","TICK_DEFAULT","isRendered","plotArea","yMinorTicks","xMinorTicks","xScale","yScale","y2Scale","isLog","yTicks","y2Ticks","xTicks","yAxisPosition","isDataXAxis","xAxis","yAxis","y2Axis","xAxisPosition","hasAxisLine","y2MinorTicks","isSplitDualY","hasY2","range","xAxisBaselineStyle","xMajorTick","baselineColor","baselineWidth","yAxisBaselineStyle","yMajorTick","y2AxisBaselineStyle","y2MajorTick","yLinesPath","y2LinesPath","xLinesPath","yMinorPath","xMinorPath","y2MinorPath","yMinorTick","y2MinorTick","xMinorTick","isYMinorRendered","isY2MinorRendered","isXMajorRendered","xAxisLineProps","getXAxisLineProps","xAxisLineStyle","xAxisLine","yAxisLineStyle","yAxisLine","y2AxisLineStyle","y2AxisLine","yBaseLine","scale","yBaseLineCoords","transform","y2BaseLine","y2BaseLineCoords","xBaseLine","xBaseLineCoords","i","length","colorScheme","useColorScheme","splitCoords","ySplitCoord","y2SplitCoord","_jsxs","jsxs","_Fragment","Fragment","children","_jsx","jsx","d","className","classNames","styles","noPointerEvents","majorTickLineStyles","lineStyle","dashedLine","undefined","dottedLine","style","minorTickLineStyles","lightMinorTickLineStroke","darkMinorTickLineStroke","class","axisLineStyle","color","cursor","dragOverStyle","dragClass","push","VisStyles","dndDragOverSvgStyle","dndRejectedStyle","plotAreaStyle","fill"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './classNames-08d99695', './keys-4755c121', './useId-c9578d26', './useViewportIntersect-ec96c12e', './TabbableModeContext-a9c97640', './useComponentTheme-5aa41a8f', './useInteractionStyle-15a2bdd0', './mergeInterpolations-9ede4cf7', './flexitem-5db48325', './PRIVATE_List/themes/ListStyles.css', './UNSAFE_GroupedList/themes/redwood/GroupedListTheme', './Flex-4bc3a394', './Skeleton-a7e166a0', './List-5b5b3bd7'], (function(e,i,t,s,o,n,a,r,d,l,c,u,p,b,v,x,y){"use strict";e.GROUP_SELECTOR="[data-oj-listview-group]",e.GroupLoadingIndicator=()=>i.jsx(y.SkeletonContainer,{minimumCount:3,children:e=>{const t={paddingLeft:10*e+"px"};return i.jsxs(v.Flex,{height:"12x",align:"center",children:[i.jsx("span",{style:t}),i.jsx(x.Skeleton,{height:"4x"})]})}}),e.ListGroupHeader=function({ariaDescribedBy:e,children:v,itemKey:x,itemIndex:y,itemDepth:m,isFocused:h,isFocusRingVisible:g,isActive:S,isGridlineVisible:j,isExpandable:I,expandedKeys:f,viewportConfig:E}){const[T,C]=t.useState(!1),{classes:H,styles:L}=d.useComponentTheme(b.GroupedListRedwoodTheme),{interactionProps:R,applyHoverStyle:k,applyPseudoHoverStyle:w,applyActiveStyle:V}=l.useInteractionStyle(),G=[p.listGroupHeaderMultiVariantStyles({expandable:I?"isExpandable":"notExpandable",needsEventsHover:k?"isNeedsEventsHover":"notNeedsEventsHover",pseudoHover:w?"isPseudoHover":"notPseudoHover",active:V||S?"isActive":"notActive",focusRingVisible:g&&h?"isFocusRingVisible":"notFocusRingVisible",gridlineTop:y>0?"visible":"hidden",gridlineBottom:j?"visible":"hidden"})];T&&(G.push(H),G.push(L.stuckHeader));const F=s.classNames(G),N=c.mergeInterpolations([...Object.values(u.flexitemInterpolations)]),{class:P,...A}=N({alignSelf:"center",flex:"1 0 auto"});return a.useViewportIntersect({scroller:()=>I?null:null==E?document.body:E.scroller()},0,1,"[data-oj-key="+x+"]",(()=>{C(!1)}),(e=>{e.boundingClientRect.y!==e.intersectionRect.y&&C(!0)})),i.jsx("div",{id:n.useId(),role:"row","aria-rowindex":y+1,"aria-level":isNaN(m)?void 0:m+1,"data-oj-key":x,"data-oj-listview-group":"",class:F,..."number"==typeof x&&{"data-oj-key-type":"number"},...R,children:i.jsx("div",{id:n.useId(),role:"gridcell","aria-describedby":e,"aria-colindex":1,"aria-expanded":o.containsKey(f,x),style:A,children:i.jsx(r.TabbableModeContext.Provider,{value:{isTabbable:!1},children:v})})})},e.STICKY_SELECTOR="[data-oj-listview-sticky]"}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './classNames-08d99695', './keys-4755c121', './useId-c9578d26', './useViewportIntersect-ec96c12e', './TabbableModeContext-a9c97640', './useComponentTheme-5aa41a8f', './useInteractionStyle-15a2bdd0', './mergeInterpolations-9ede4cf7', './flexitem-5db48325', './PRIVATE_List/themes/ListStyles.css', './UNSAFE_GroupedList/themes/redwood/GroupedListTheme', './Flex-07d2aa5b', './Skeleton-a7e166a0', './List-5b5b3bd7'], (function(e,i,t,s,o,n,a,d,r,l,c,u,p,b,v,x,y){"use strict";e.GROUP_SELECTOR="[data-oj-listview-group]",e.GroupLoadingIndicator=()=>i.jsx(y.SkeletonContainer,{minimumCount:3,children:e=>{const t={paddingLeft:10*e+"px"};return i.jsxs(v.Flex,{height:"12x",align:"center",children:[i.jsx("span",{style:t}),i.jsx(x.Skeleton,{height:"4x"})]})}}),e.ListGroupHeader=function({ariaDescribedBy:e,children:v,itemKey:x,itemIndex:y,itemDepth:m,isFocused:h,isFocusRingVisible:g,isActive:S,isGridlineVisible:j,isExpandable:I,expandedKeys:f,viewportConfig:E}){const[T,C]=t.useState(!1),{classes:H,styles:L}=r.useComponentTheme(b.GroupedListRedwoodTheme),{interactionProps:R,applyHoverStyle:k,applyPseudoHoverStyle:w,applyActiveStyle:V}=l.useInteractionStyle(),G=[p.listGroupHeaderMultiVariantStyles({expandable:I?"isExpandable":"notExpandable",needsEventsHover:k?"isNeedsEventsHover":"notNeedsEventsHover",pseudoHover:w?"isPseudoHover":"notPseudoHover",active:V||S?"isActive":"notActive",focusRingVisible:g&&h?"isFocusRingVisible":"notFocusRingVisible",gridlineTop:y>0?"visible":"hidden",gridlineBottom:j?"visible":"hidden"})];T&&(G.push(H),G.push(L.stuckHeader));const F=s.classNames(G),N=c.mergeInterpolations([...Object.values(u.flexitemInterpolations)]),{class:P,...A}=N({alignSelf:"center",flex:"1 0 auto"});return a.useViewportIntersect({scroller:()=>I?null:null==E?document.body:E.scroller()},0,1,"[data-oj-key="+x+"]",(()=>{C(!1)}),(e=>{e.boundingClientRect.y!==e.intersectionRect.y&&C(!0)})),i.jsx("div",{id:n.useId(),role:"row","aria-rowindex":y+1,"aria-level":isNaN(m)?void 0:m+1,"data-oj-key":x,"data-oj-listview-group":"",class:F,..."number"==typeof x&&{"data-oj-key-type":"number"},...R,children:i.jsx("div",{id:n.useId(),role:"gridcell","aria-describedby":e,"aria-colindex":1,"aria-expanded":o.containsKey(f,x),style:A,children:i.jsx(d.TabbableModeContext.Provider,{value:{isTabbable:!1},children:v})})})},e.STICKY_SELECTOR="[data-oj-listview-sticky]"}));
2
2
  //# sourceMappingURL=GroupLoadingIndicator-87f32efc.js.map
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'css!./HighlightTextStyles.styles.css', './useTestId-9afc201a'], (function(e,t,s,n){"use strict";const i="__@@__",c=`${i}$&${i}`;e.HighlightText=function({children:e="",matchText:s="",testId:l}){const h=n.useTestId(l);if(s.length>0&&e.length>0){const n=s.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),l=e.replace(new RegExp(n,"gi"),c).split(i).map(((e,s)=>s%2==0?e:t.jsx("span",{class:"HighlightTextStyles_highlightStyles__6s5c4p0",children:e})));return t.jsx("span",{...h,children:l})}return t.jsx("span",{...h,children:e})}}));
2
+ //# sourceMappingURL=HighlightText-ecd2e5ce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighlightText-ecd2e5ce.js","sources":["../../src/UNSAFE_HighlightText/HighlightText.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 { highlightStyles } from './HighlightTextStyles.css';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\n\ntype Props = TestIdProps & {\n /**\n * The text string to apply highlighting to.\n */\n children?: string;\n /**\n * The text string to match.\n */\n matchText?: string;\n};\n\nconst HIGHLIGHT_TOKEN = '__@@__';\nconst HIGHLIGHT_PATTERN = `${HIGHLIGHT_TOKEN}$&${HIGHLIGHT_TOKEN}`;\n\n/**\n * Renders a text string with highlighting applied to the given text to match.\n */\nexport function HighlightText({ children = '', matchText = '', testId }: Props) {\n const testIdProps = useTestId(testId);\n if (matchText.length > 0 && children.length > 0) {\n const escapedMatchText = escapeRegExp(matchText);\n const highlightedText = children.replace(new RegExp(escapedMatchText, 'gi'), HIGHLIGHT_PATTERN);\n const tokens = highlightedText.split(HIGHLIGHT_TOKEN);\n const nodes = tokens.map((current, index) =>\n index % 2 == 0 ? current : <span class={highlightStyles}>{current}</span>\n );\n\n return <span {...testIdProps}>{nodes}</span>;\n }\n return <span {...testIdProps}>{children}</span>;\n}\n\nfunction escapeRegExp(str: string) {\n // copied from:\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping\n return str.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n}\n"],"names":["HIGHLIGHT_TOKEN","HIGHLIGHT_PATTERN","children","matchText","testId","testIdProps","useTestId","length","escapedMatchText","replace","nodes","RegExp","split","map","current","index","_jsx","jsx","class"],"mappings":"kIAsBA,MAAMA,EAAkB,SAClBC,EAAoB,GAAGD,MAAoBA,oBAKjC,UAAcE,SAAEA,EAAW,GAAEC,UAAEA,EAAY,GAAEC,OAAEA,IAC7D,MAAMC,EAAcC,YAAUF,GAC9B,GAAID,EAAUI,OAAS,GAAKL,EAASK,OAAS,EAAG,CAC/C,MAAMC,EAAgCL,EAe7BM,QAAQ,wBAAyB,QAZpCC,EAFkBR,EAASO,QAAQ,IAAIE,OAAOH,EAAkB,MAAOP,GAC9CW,MAAMZ,GAChBa,KAAI,CAACC,EAASC,IACjCA,EAAQ,GAAK,EAAID,EAAUE,EAAMC,IAAA,OAAA,CAAAC,qDAAsBhB,SAAGY,MAG5D,OAAOE,EAAAA,IAAU,OAAA,IAAAX,EAAcH,SAAAQ,GAChC,CACD,OAAOM,EAAAA,IAAU,OAAA,IAAAX,EAAcH,SAAAA,GACjC"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact', './size-0127b66b', './useTooltip-e14d62f1', 'preact/hooks', './logger-0f873e29', './LayerHost-7d4aa6d3', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-3c8a0253', './UNSAFE_Icon/themes/IconStyle.css', './clientHints-6d361eaa'], (function(e,s,t,o,l,i,c,n,r,a,h,d,p,b,m){"use strict";const x=({accessibleLabel:e,...t})=>e?s.jsx(y,{accessibleLabel:e,...t}):s.jsx(u,{...t}),u=e=>s.jsx("svg",{...e}),y=({accessibleLabel:e,children:o,...i})=>{const{tooltipContent:c,tooltipProps:{onFocus:n,onBlur:r,...a}}=l.useTooltip({text:e,anchor:{x:"element",y:"element"}});return s.jsxs(t.Fragment,{children:[s.jsx("svg",{role:"img",...i,...a,"aria-label":e,children:o}),c]})};e.Icon=({size:e="1em",color:t="currentColor",accessibleLabel:l="",viewBox:i="none",children:c})=>{if("safari"===m.getClientHints().browser){const n="1em"===e?e:`${o.sizeToCSS(e)}`;return s.jsx(x,{viewBox:i,accessibleLabel:l,class:b.styles[t],style:{width:n,height:n},children:c})}return s.jsx(x,{height:"1em",width:"1em",viewBox:i,accessibleLabel:l,class:b.styles[t],style:{fontSize:"1em"===e?e:`${o.sizeToCSS(e)}`},children:c})}}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact', './size-0127b66b', './useTooltip-75a63697', 'preact/hooks', './logger-0f873e29', './LayerHost-daf96749', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', './UNSAFE_Icon/themes/IconStyle.css', './clientHints-6d361eaa'], (function(e,s,t,o,l,i,c,n,r,a,h,b,p,d,m){"use strict";const x=({accessibleLabel:e,...t})=>e?s.jsx(y,{accessibleLabel:e,...t}):s.jsx(u,{...t}),u=e=>s.jsx("svg",{...e}),y=({accessibleLabel:e,children:o,...i})=>{const{tooltipContent:c,tooltipProps:{onFocus:n,onBlur:r,...a}}=l.useTooltip({text:e,anchor:{x:"element",y:"element"}});return s.jsxs(t.Fragment,{children:[s.jsx("svg",{role:"img",...i,...a,"aria-label":e,children:o}),c]})};e.Icon=({size:e="1em",color:t="currentColor",accessibleLabel:l="",viewBox:i="none",children:c})=>{if("safari"===m.getClientHints().browser){const n="1em"===e?e:`${o.sizeToCSS(e)}`;return s.jsx(x,{viewBox:i,accessibleLabel:l,class:d.styles[t],style:{width:n,height:n},children:c})}return s.jsx(x,{height:"1em",width:"1em",viewBox:i,accessibleLabel:l,class:d.styles[t],style:{fontSize:"1em"===e?e:`${o.sizeToCSS(e)}`},children:c})}}));
2
2
  //# sourceMappingURL=Icon-865b3c78.js.map
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact', './BaseButton-d69319ea', './ButtonLabelLayout-9cc087dc', 'preact/compat', './useTooltip-75a63697', 'preact/hooks', './mergeProps-bcfa6a92', './logger-0f873e29', './LayerHost-daf96749', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', './buttonUtils-cbbb0130'], (function(t,o,e,s,a,i,n,l,r,p,c,u,d,b,m,y){"use strict";const h=i.forwardRef((({variant:t="outlined",isDisabled:i=!1,isRepeat:l=!1,size:p="md",type:c="button",autofocus:u,onAction:d,width:b,tooltip:m,testId:h,...f},B)=>{const{globalEventProps:T,ariaProps:{"aria-label":g,...x}}=y.processGlobals(f),{tooltipContent:w,tooltipProps:I}=n.useTooltip({text:m||g,isDisabled:i}),L={type:"button",buttonType:c};return o.jsxs(e.Fragment,{children:[o.jsx(s.BaseButton,{...r.mergeProps(I,T,x),ref:B,elementDetails:L,isDisabled:i,isRepeat:l,size:p,autofocus:u,variant:t,width:b,styling:["min"],onAction:d,"aria-label":g??m,testId:h,children:o.jsx(a.ButtonLabelLayout,{display:"icons",startIcon:f.children,size:p})}),w]})}));h.displayName="IconButton",t.IconButton=h}));
2
+ //# sourceMappingURL=IconButton-232d63fc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton-232d63fc.js","sources":["../../src/UNSAFE_IconButton/IconButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChild, ComponentProps, Fragment, JSX } from 'preact';\nimport { BaseButton } from '../UNSAFE_BaseButton';\nimport { ButtonLabelLayout } from '../UNSAFE_ButtonLabelLayout';\nimport { forwardRef, ForwardedRef, ElementRef } from 'preact/compat';\nimport type { UnpackSignals } from '@oracle/oraclejet-internal-utilities/attributeUtils';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { useTooltip } from '../hooks/UNSAFE_useTooltip';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport type { ButtonIntrinsicProps } from '../utils/UNSAFE_buttonUtils';\nimport { processGlobals } from '../utils/UNSAFE_buttonUtils';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\ntype ButtonHandle = ElementRef<typeof BaseButton>;\n\ntype IntrinsicProps = Pick<UnpackSignals<JSX.IntrinsicElements['button']>, 'autofocus'>;\ntype WidthInterpolationProps = Pick<DimensionProps, 'width'>;\ntype BaseButtonProps = ComponentProps<typeof BaseButton>;\n\ntype BaseProps = IntrinsicProps &\n ButtonIntrinsicProps &\n Pick<BaseButtonProps, 'aria-haspopup'> &\n WidthInterpolationProps & {\n /**\n * Specifies the icon for the button.\n */\n children?: ComponentChild;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies if repeated events are dispatched for key or pointer held down\n */\n isRepeat?: boolean;\n\n /**\n * Specifes the button type\n */\n type?: 'button' | 'submit';\n\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the button.\n */\n 'aria-describedby'?: string;\n\n /**\n * Triggered when a button is clicked, whether by keyboard, mouse, or touch events.\n */\n onAction?: () => void | null;\n\n /**\n * Indicates in what states the button has chrome (background and border).\n * \"ghost\": \"Ghost buttons are the least prominent variant. Ghost buttons are\n * useful for performing low-priority tasks, such as manipulating the UI.\",\n * \"borderless\"': \"Borderless buttons are a more prominent variant. Borderless\n * buttons are useful for supplemental actions that require minimal emphasis.\",\n * \"outlined\"': \"Outlined buttons are salient, but lighter weight than\n * solid buttons. Outlined buttons are useful for secondary actions.\",\n * \"solid\"': \"Solid buttons stand out, and direct the user's attention to the\n * most important actions in the UI.\",\n * \"callToAction\"': \"A Call To Action (CTA) button guides the user to take or\n * complete the action that is the main goal of the page or page section. There\n * should only be one CTA button on a page at any given time.\",\n * \"danger\"': \"A Danger button alerts the user to a dangerous situation.\"\n */\n variant?: 'ghost' | 'borderless' | 'outlined' | 'solid' | 'callToAction' | 'danger';\n /**\n * The size indicates how large the button is rendered.\n */\n size?: 'xs' | 'sm' | 'md' | 'lg';\n };\n\n/**\n * Note that either an aria-label or tooltip must be specified.\n */\ntype VariationAccessibleLabelProps =\n | {\n /**\n * aria-label - the aria label\n */\n 'aria-label': string;\n\n /**\n * tooltip - overrides the aria-label for the tooltip\n */\n tooltip?: string;\n }\n | {\n 'aria-label'?: string;\n\n tooltip: string;\n };\n/**\n * Icon buttons are buttons that only show an icon and no label. They direct users to initiate or take actions and work with a single tap, click, or keystroke.\n */\nexport const IconButton = forwardRef(\n (\n {\n variant = 'outlined',\n isDisabled = false,\n isRepeat = false,\n size = 'md',\n type: buttonType = 'button',\n autofocus,\n onAction,\n width,\n tooltip,\n testId,\n ...props\n }: BaseProps & VariationAccessibleLabelProps & TestIdProps,\n ref: ForwardedRef<ButtonHandle>\n ) => {\n const {\n globalEventProps,\n ariaProps: { 'aria-label': accessibleLabel, ...otherAriaProps }\n } = processGlobals(props);\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltip ? tooltip : accessibleLabel,\n isDisabled\n });\n\n const elementDetails = {\n type: 'button' as const,\n buttonType: buttonType\n };\n\n return (\n <Fragment>\n <BaseButton\n {...mergeProps(tooltipProps, globalEventProps, otherAriaProps)}\n ref={ref}\n elementDetails={elementDetails}\n isDisabled={isDisabled}\n isRepeat={isRepeat}\n size={size}\n autofocus={autofocus}\n variant={variant}\n width={width}\n styling={['min']}\n onAction={onAction}\n aria-label={accessibleLabel ?? tooltip}\n testId={testId}>\n <ButtonLabelLayout\n display={'icons'}\n startIcon={props.children}\n size={size}></ButtonLabelLayout>\n </BaseButton>\n {tooltipContent}\n </Fragment>\n );\n }\n);\n\nIconButton.displayName = 'IconButton';\n"],"names":["IconButton","forwardRef","variant","isDisabled","isRepeat","size","type","buttonType","autofocus","onAction","width","tooltip","testId","props","ref","globalEventProps","ariaProps","accessibleLabel","otherAriaProps","processGlobals","tooltipContent","tooltipProps","useTooltip","text","elementDetails","_jsxs","Fragment","_jsx","jsx","BaseButton","mergeProps","styling","children","ButtonLabelLayout","display","startIcon","displayName"],"mappings":"2gBAyGaA,EAAaC,EAAAA,YACxB,EAEIC,UAAU,WACVC,cAAa,EACbC,YAAW,EACXC,OAAO,KACPC,KAAMC,EAAa,SACnBC,YACAC,WACAC,QACAC,UACAC,YACGC,GAELC,KAEA,MAAMC,iBACJA,EACAC,WAAa,aAAcC,KAAoBC,IAC7CC,iBAAeN,IAEbO,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMZ,GAAoBM,EAC1Bd,eAGIqB,EAAiB,CACrBlB,KAAM,SACNC,WAAYA,GAGd,OACEkB,OAACC,EAAAA,oBACCC,EAACC,IAAAC,iBACKC,EAAAA,WAAWT,EAAcN,EAAkBG,GAC/CJ,IAAKA,EACLU,eAAgBA,EAChBrB,WAAYA,EACZC,SAAUA,EACVC,KAAMA,EACNG,UAAWA,EACXN,QAASA,EACTQ,MAAOA,EACPqB,QAAS,CAAC,OACVtB,SAAUA,EAAQ,aACNQ,GAAmBN,EAC/BC,OAAQA,EACRoB,SAAAL,EAAAA,IAACM,EAAiBA,kBAAA,CAChBC,QAAS,QACTC,UAAWtB,EAAMmB,SACjB3B,KAAMA,MAETe,IAEH,IAINpB,EAAWoC,YAAc"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', './ButtonLabelLayout-9cc087dc', './ChevronDown-1d01f028', './Menu-45a26116', './MenuItem-ff1cd14d', 'preact/hooks', 'preact', './useTooltip-75a63697', './mergeProps-bcfa6a92', './logger-0f873e29', './LayerHost-daf96749', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', 'css!./IconStyle.styles.css', './SelectMenuGroupContext-67f24a8f', './UNSAFE_Menu/themes/MenuItemStyles.css', './UNSAFE_Separator/themes/SeparatorStyles.css', 'css!./MenuSeparatorStyles.styles.css', 'module', './UNSAFE_Menu/themes/redwood/MenuSeparatorVariants.css', 'css!./MenuStyles.styles.css', './useMenuAction-26df747b', './BaseButton-d69319ea'], (function(e,t,s,o,n,a,i,r,l,u,c,d,p,y,m,h,b,M,S,f,g,T,I,x,B,w,A){"use strict";const F=p.forwardRef((({children:e,tooltip:a,accessibleLabel:c,variant:d="outlined",isDisabled:p=!1,isMenuOpen:y=!1,isIconOnly:m=!1,onToggleMenu:h,size:b="md",type:M="button",testId:S,width:f,icon:g,"aria-describedby":T},I)=>{const x=i.useRef(null);i.useImperativeHandle(I,(()=>x.current),[x]);const{triggerProps:B,menuProps:F}=w.useMenuAction({isDisabled:p,onToggleMenu:h,isMenuOpen:y,anchorRef:x}),{tooltipContent:j,tooltipProps:v}=l.useTooltip({text:a||c,isDisabled:y||p}),C={type:"button",buttonType:M},D={"aria-describedby":T},N=t.jsx(r.Fragment,{children:t.jsxs(A.BaseButton,{...u.mergeProps(v,B,D),styling:y?["min","active"]:["min"],elementDetails:C,isDisabled:p,variant:d,width:f,size:b,ref:x,"aria-label":c??a,testId:S,children:[t.jsx(s.ButtonLabelLayout,{display:"icons",startIcon:g,endIcon:m?null:t.jsx(o.SvgChevronDown,{}),size:b}),j]})});return p?N:t.jsxs(r.Fragment,{children:[N,t.jsx(n.Menu,{...F,offsetValue:4,"aria-label":c??a,children:e})]})}));F.displayName="IconMenuButton",e.IconMenuButton=F}));
2
+ //# sourceMappingURL=IconMenuButton-eef4b2da.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconMenuButton-eef4b2da.js","sources":["../../src/UNSAFE_IconMenuButton/IconMenuButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ButtonLabelLayout } from '../UNSAFE_ButtonLabelLayout';\n\nimport { MenuButtonDropdownIcon } from '../PRIVATE_ThemedIcons/MenuButtonDropdownIcon';\n\nimport { Menu } from '../UNSAFE_Menu';\nimport { useMenuAction, MenuToggleDetail } from '../hooks/UNSAFE_useMenuAction';\nimport { useTooltip } from '../hooks/UNSAFE_useTooltip';\n\nimport { BaseButton } from '../UNSAFE_BaseButton';\n\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\n\nimport { ComponentChildren, ComponentChild, Fragment } from 'preact';\nimport { forwardRef, ForwardedRef, ElementRef } from 'preact/compat';\nimport { useRef, useImperativeHandle } from 'preact/hooks';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\n\ntype ButtonHandle = ElementRef<typeof BaseButton>;\n\ntype WidthInterpolationProps = Pick<DimensionProps, 'width'>;\n\nexport type BaseProps = WidthInterpolationProps & {\n /**\n * children - One or more MenuItems, dividers, or Menu groups\n */\n children?: ComponentChildren;\n\n /**\n * The icon is the button's icon. Note that this is not the menu\n * expand icon shown on the right (or to the left in right to left mode).\n */\n icon?: ComponentChild;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifies if only the icon is shown, and no down chevron.\n */\n isIconOnly?: boolean;\n\n /**\n * Specifes the button type\n */\n type?: 'button' | 'submit';\n\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the button.\n */\n 'aria-describedby'?: string;\n\n /**\n * Specifies if the menu is open\n */\n isMenuOpen?: boolean;\n\n /**\n * Indicates in what states the button has chrome (background and border).\n * \"ghost\": \"Ghost buttons are the least prominent variant. Ghost buttons are\n * useful for performing low-priority tasks, such as manipulating the UI.\",\n * \"borderless\"': \"Borderless buttons are a more prominent variant. Borderless\n * buttons are useful for supplemental actions that require minimal emphasis.\",\n * \"outlined\"': \"Outlined buttons are salient, but lighter weight than\n * solid buttons. Outlined buttons are useful for secondary actions.\",\n * \"solid\"': \"Solid buttons stand out, and direct the user's attention to the\n * most important actions in the UI.\",\n */\n variant?: 'ghost' | 'borderless' | 'outlined' | 'solid';\n\n /**\n * The size indicates how large the button is rendered.\n */\n size?: 'xs' | 'sm' | 'md' | 'lg';\n\n /**\n * Property that triggers a callback immediately when toggle happens and value of expanded property should be updated\n */\n onToggleMenu?: (details: MenuToggleDetail) => void;\n};\n\n/**\n * Note that either an accessibleLabel or tooltip must be specified.\n */\ntype VariationAccessibleLabelProps =\n | {\n /**\n * accessibleLabel - the aria label\n */\n accessibleLabel: string;\n\n /**\n * tooltip - overrides the accessibleLabel for the tooltip\n */\n tooltip?: string;\n }\n | {\n accessibleLabel?: string;\n\n tooltip: string;\n };\n\n/**\n * A IconMenuButton is a combined action and menu button.\n */\nexport const IconMenuButton = forwardRef(\n (\n {\n children,\n tooltip,\n accessibleLabel,\n variant = 'outlined',\n isDisabled = false,\n isMenuOpen = false,\n isIconOnly = false,\n onToggleMenu,\n size = 'md',\n type: buttonType = 'button',\n testId,\n width,\n icon,\n 'aria-describedby': ariaDescribedBy\n }: BaseProps & VariationAccessibleLabelProps & TestIdProps,\n ref: ForwardedRef<ButtonHandle>\n ) => {\n const buttonRef = useRef<ButtonHandle>(null);\n useImperativeHandle(ref, () => buttonRef.current!, [buttonRef]);\n\n const { triggerProps, menuProps } = useMenuAction({\n isDisabled: isDisabled,\n onToggleMenu: onToggleMenu,\n isMenuOpen: isMenuOpen,\n anchorRef: buttonRef\n });\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltip ? tooltip : accessibleLabel,\n isDisabled: isMenuOpen || isDisabled\n });\n\n const elementDetails = {\n type: 'button' as const,\n buttonType: buttonType\n };\n\n const ariaProps = { 'aria-describedby': ariaDescribedBy };\n\n const rootButton = (\n <Fragment>\n <BaseButton\n {...mergeProps(tooltipProps, triggerProps, ariaProps)}\n styling={isMenuOpen ? ['min', 'active'] : ['min']}\n elementDetails={elementDetails}\n isDisabled={isDisabled}\n variant={variant}\n width={width}\n size={size}\n ref={buttonRef}\n aria-label={accessibleLabel ?? tooltip}\n testId={testId}>\n <ButtonLabelLayout\n display={'icons'}\n startIcon={icon}\n endIcon={isIconOnly ? null : <MenuButtonDropdownIcon />}\n size={size}></ButtonLabelLayout>\n {tooltipContent}\n </BaseButton>\n </Fragment>\n );\n\n /*TODO: Remove this hardcoded offsetValue so we have dropdown offset only set on one single place.\n Could be done via menu props or having a dropdownMenu component. JET-60595*/\n return isDisabled ? (\n rootButton\n ) : (\n <Fragment>\n {rootButton}\n <Menu {...menuProps} offsetValue={4} aria-label={accessibleLabel ?? tooltip}>\n {children}\n </Menu>\n </Fragment>\n );\n }\n);\n\nIconMenuButton.displayName = 'IconMenuButton';\n"],"names":["IconMenuButton","forwardRef","children","tooltip","accessibleLabel","variant","isDisabled","isMenuOpen","isIconOnly","onToggleMenu","size","type","buttonType","testId","width","icon","ariaDescribedBy","ref","buttonRef","useRef","useImperativeHandle","current","triggerProps","menuProps","useMenuAction","anchorRef","tooltipContent","tooltipProps","useTooltip","text","elementDetails","ariaProps","rootButton","_jsx","jsx","Fragment","_jsxs","jsxs","BaseButton","mergeProps","styling","ButtonLabelLayout","display","startIcon","endIcon","MenuButtonDropdownIcon","Menu","offsetValue","displayName"],"mappings":"46BAmHa,MAAAA,EAAiBC,EAAAA,YAC5B,EAEIC,WACAC,UACAC,kBACAC,UAAU,WACVC,cAAa,EACbC,cAAa,EACbC,cAAa,EACbC,eACAC,OAAO,KACPC,KAAMC,EAAa,SACnBC,SACAC,QACAC,OACA,mBAAoBC,GAEtBC,KAEA,MAAMC,EAAYC,SAAqB,MACvCC,EAAmBA,oBAACH,GAAK,IAAMC,EAAUG,SAAU,CAACH,IAEpD,MAAMI,aAAEA,EAAYC,UAAEA,GAAcC,gBAAc,CAChDlB,WAAYA,EACZG,aAAcA,EACdF,WAAYA,EACZkB,UAAWP,KAGPQ,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAM1B,GAAoBC,EAC1BE,WAAYC,GAAcD,IAGtBwB,EAAiB,CACrBnB,KAAM,SACNC,WAAYA,GAGRmB,EAAY,CAAE,mBAAoBf,GAElCgB,EACJC,EAAAC,IAACC,WACC,CAAAjC,SAAAkC,EAAAC,KAACC,aAAU,IACLC,EAAAA,WAAWZ,EAAcL,EAAcS,GAC3CS,QAASjC,EAAa,CAAC,MAAO,UAAY,CAAC,OAC3CuB,eAAgBA,EAChBxB,WAAYA,EACZD,QAASA,EACTS,MAAOA,EACPJ,KAAMA,EACNO,IAAKC,EAAS,aACFd,GAAmBD,EAC/BU,OAAQA,YACRoB,EAAAA,IAACQ,EAAAA,mBACCC,QAAS,QACTC,UAAW5B,EACX6B,QAASpC,EAAa,KAAOyB,EAAAA,IAACY,EAAAA,eAAyB,CAAA,GACvDnC,KAAMA,IACPgB,OAOP,OAAOpB,EAAU,EAGf8B,EAAAA,KAACD,EAAQA,oBACNH,EACDC,MAACa,EAAAA,KAAS,IAAAvB,EAAWwB,YAAa,EAAC,aAAc3C,GAAmBD,EACjED,SAAAA,MAGN,IAILF,EAAegD,YAAc"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact', './BaseButton-d69319ea', './ProgressButtonLabelLayout-0931b1d5', 'preact/compat', './useTooltip-75a63697', 'preact/hooks', './mergeProps-bcfa6a92', './logger-0f873e29', './LayerHost-daf96749', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', './buttonUtils-cbbb0130', './resources/nls/en/bundle'], (function(t,e,o,s,a,i,n,l,r,c,d,b,p,u,g,m,y){"use strict";const L=i.forwardRef((({variant:t="outlined",isLoading:i=!1,isDisabled:l=!1,size:c="md",type:d="button",onAction:b,width:p,tooltip:u,testId:g,...L},h)=>{const{globalEventProps:B}=m.processGlobals(L),f=!l&&i,P=y.default.accButtonProgressStatus({label:u}),T=y.default.accButtonProgressComplete({label:u}),x={type:"button",buttonType:d},A=u,{tooltipContent:C,tooltipProps:v}=n.useTooltip({text:A,isDisabled:l}),{"aria-describedby":w,...I}=v;return e.jsxs(o.Fragment,{children:[e.jsx(s.BaseButton,{...r.mergeProps(I,B),ref:h,elementDetails:x,isReadOnly:f,isDisabled:l,size:c,variant:t,width:p,styling:f?["min","hiddenLabel","noHoverActive"]:["min"],onAction:b,"aria-label":u,testId:g,children:e.jsx(a.ProgressButtonLabelLayout,{display:"icons",isLoading:f,accessibleLoadedLabel:T,accessibleLoadingLabel:P,isLoadingContrast:"callToAction"===t,startIcon:L.children,size:c})}),C]})}));L.displayName="IconProgressButton",t.IconProgressButton=L}));
2
+ //# sourceMappingURL=IconProgressButton-f9cdb23a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconProgressButton-f9cdb23a.js","sources":["../../src/UNSAFE_IconProgressButton/IconProgressButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChild, Fragment, Ref } from 'preact';\nimport { BaseButton } from '../UNSAFE_BaseButton';\nimport { ProgressButtonLabelLayout } from '../UNSAFE_ProgressButtonLabelLayout';\nimport { forwardRef, ElementRef } from 'preact/compat';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { useTooltip } from '../hooks/UNSAFE_useTooltip';\nimport { TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport type { ButtonIntrinsicProps } from '../utils/UNSAFE_buttonUtils';\nimport { processGlobals } from '../utils/UNSAFE_buttonUtils';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport translations from '#resources/nls/en/bundle';\n\ntype ButtonHandle = ElementRef<typeof BaseButton>;\n\ntype WidthInterpolationProps = Pick<DimensionProps, 'width'>;\n\ntype BaseProps = ButtonIntrinsicProps &\n WidthInterpolationProps &\n TestIdProps & {\n /**\n * Specifies the icon for the button.\n */\n children?: ComponentChild;\n\n /**\n * Specifies that a quick indeterminate action is taking place, making the button read-only.\n */\n isLoading?: boolean;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * Specifes the button type\n */\n type?: 'button' | 'submit';\n\n /**\n * Triggered when a button is clicked, whether by keyboard, mouse, or touch events.\n */\n onAction?: () => void | null;\n\n /**\n * Indicates in what states the button has chrome (background and border).\n * \"borderless\"': \"Borderless buttons are a more prominent variant. Borderless\n * buttons are useful for supplemental actions that require minimal emphasis.\",\n * \"outlined\"': \"Outlined buttons are salient, but lighter weight than\n * solid buttons. Outlined buttons are useful for secondary actions.\",\n * \"solid\"': \"Solid buttons stand out, and direct the user's attention to the\n * most important actions in the UI.\",\n * \"callToAction\"': \"A Call To Action (CTA) button guides the user to take or\n * complete the action that is the main goal of the page or page section. There\n * should only be one CTA button on a page at any given time.\",\n */\n variant?: 'borderless' | 'outlined' | 'solid' | 'callToAction';\n /**\n * The size indicates how large the button is rendered.\n */\n size?: 'sm' | 'md' | 'lg';\n\n /**\n * tooltip - used for tooltip and aria-label\n */\n tooltip: string;\n };\n\n/**\n * An Icon Progress button is an icon push button that can show progress.\n */\nexport const IconProgressButton = forwardRef(\n (\n {\n variant = 'outlined',\n isLoading = false,\n isDisabled = false,\n size = 'md',\n type: buttonType = 'button',\n onAction,\n width,\n tooltip,\n testId,\n ...props\n }: BaseProps & TestIdProps,\n ref: Ref<ButtonHandle>\n ) => {\n const { globalEventProps } = processGlobals(props);\n const isAdjustedLoading = isDisabled ? false : isLoading;\n const progressStatus = translations.accButtonProgressStatus({\n label: tooltip\n });\n const progressComplete = translations.accButtonProgressComplete({\n label: tooltip\n });\n\n const elementDetails = {\n type: 'button' as const,\n buttonType: buttonType\n };\n\n const tooltipLabel = tooltip;\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltipLabel,\n isDisabled\n });\n\n /* For a11y, we use ignore aria-label during loading time */\n const { 'aria-describedby': adb, ...ttProps } = tooltipProps;\n\n return (\n <Fragment>\n <BaseButton\n {...mergeProps(ttProps, globalEventProps)}\n ref={ref}\n elementDetails={elementDetails}\n isReadOnly={isAdjustedLoading}\n isDisabled={isDisabled}\n size={size}\n variant={variant}\n width={width}\n styling={isAdjustedLoading ? ['min', 'hiddenLabel', 'noHoverActive'] : ['min']}\n onAction={onAction}\n aria-label={tooltip}\n testId={testId}>\n <ProgressButtonLabelLayout\n display={'icons'}\n isLoading={isAdjustedLoading}\n accessibleLoadedLabel={progressComplete}\n accessibleLoadingLabel={progressStatus}\n isLoadingContrast={variant === 'callToAction'}\n startIcon={props.children}\n size={size}></ProgressButtonLabelLayout>\n </BaseButton>\n {tooltipContent}\n </Fragment>\n );\n }\n);\n\nIconProgressButton.displayName = 'IconProgressButton';\n"],"names":["IconProgressButton","forwardRef","variant","isLoading","isDisabled","size","type","buttonType","onAction","width","tooltip","testId","props","ref","globalEventProps","processGlobals","isAdjustedLoading","progressStatus","translations","accButtonProgressStatus","label","progressComplete","accButtonProgressComplete","elementDetails","tooltipLabel","tooltipContent","tooltipProps","useTooltip","text","adb","ttProps","_jsxs","Fragment","children","_jsx","BaseButton","mergeProps","isReadOnly","styling","jsx","ProgressButtonLabelLayout","display","accessibleLoadedLabel","accessibleLoadingLabel","isLoadingContrast","startIcon","displayName"],"mappings":"ijBA8EaA,EAAqBC,EAAAA,YAChC,EAEIC,UAAU,WACVC,aAAY,EACZC,cAAa,EACbC,OAAO,KACPC,KAAMC,EAAa,SACnBC,WACAC,QACAC,UACAC,YACGC,GAELC,KAEA,MAAMC,iBAAEA,GAAqBC,EAAcA,eAACH,GACtCI,GAAoBZ,GAAqBD,EACzCc,EAAiBC,EAAY,QAACC,wBAAwB,CAC1DC,MAAOV,IAEHW,EAAmBH,EAAY,QAACI,0BAA0B,CAC9DF,MAAOV,IAGHa,EAAiB,CACrBjB,KAAM,SACNC,WAAYA,GAGRiB,EAAed,GAEfe,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMJ,EACNpB,gBAIM,mBAAoByB,KAAQC,GAAYJ,EAEhD,OACEK,EAAAA,KAACC,EAAAA,SACC,CAAAC,SAAA,CAAAC,EAAAA,IAACC,EAAAA,WACK,IAAAC,EAAAA,WAAWN,EAAShB,GACxBD,IAAKA,EACLU,eAAgBA,EAChBc,WAAYrB,EACZZ,WAAYA,EACZC,KAAMA,EACNH,QAASA,EACTO,MAAOA,EACP6B,QAAStB,EAAoB,CAAC,MAAO,cAAe,iBAAmB,CAAC,OACxER,SAAUA,EAAQ,aACNE,EACZC,OAAQA,EACRsB,SAAAC,EAAAK,IAACC,EAAyBA,0BAAA,CACxBC,QAAS,QACTtC,UAAWa,EACX0B,sBAAuBrB,EACvBsB,uBAAwB1B,EACxB2B,kBAA+B,iBAAZ1C,EACnB2C,UAAWjC,EAAMqB,SACjB5B,KAAMA,MAEToB,IAEH,IAINzB,EAAmB8C,YAAc"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact', 'preact/compat', './BaseButton-d69319ea', './useToggleAction-59741954', './useTooltip-75a63697', 'preact/hooks', './useId-c9578d26', './mergeProps-bcfa6a92', './logger-0f873e29', './LayerHost-daf96749', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', './toggleButtonUtils-0ebe4c56', './ToggleButtonLabel-03111248'], (function(e,t,o,s,i,l,a,n,c,r,d,g,p,u,b,h,T,m){"use strict";const y=s.forwardRef((({children:e,tooltip:s,size:n="md",isDisabled:d=!1,accessibleLabel:g,isSelected:p=!1,onToggle:u,testId:b,width:h,"aria-describedby":y},B)=>{const{triggerProps:w}=l.useToggleAction({isDisabled:d,onToggle:u}),{tooltipContent:S,tooltipProps:f}=a.useTooltip({text:s??g,isDisabled:d}),I=T.toggleStyling("auto",p,!0,!1,!1,void 0,void 0,!0),x={"aria-describedby":y};return t.jsxs(o.Fragment,{children:[t.jsx(i.BaseButton,{...r.mergeProps(f,w,x),elementDetails:{type:"button",isSwitch:!0},"aria-checked":p,variant:"ghost",size:n,isDisabled:d,styling:I,width:h,ref:B,"aria-label":g??s,testId:b,children:t.jsx(m.ToggleButtonLabel,{isDisabled:d,label:g??s,isToggle:!0,inputName:c.useId(),inputType:"switch",onAction:()=>u?.({value:p}),isSelected:p,display:"icons",startIcon:e,size:n})}),S]})}));y.displayName="IconSwitchButton",e.IconSwitchButton=y}));
2
+ //# sourceMappingURL=IconSwitchButton-5be99684.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSwitchButton-5be99684.js","sources":["../../src/PRIVATE_IconSwitchButton/IconSwitchButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChild, Fragment } from 'preact';\nimport { forwardRef, ForwardedRef, ElementRef } from 'preact/compat';\n\nimport { BaseButton } from '#UNSAFE_BaseButton';\nimport { useToggleAction, ToggleDetail } from '#hooks/UNSAFE_useToggleAction';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport type { DimensionProps } from '#utils/UNSAFE_interpolations/dimensions';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\nimport { toggleStyling } from '#utils/UNSAFE_buttonUtils';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { ToggleButtonLabel } from '#UNSAFE_ToggleButtonLabel';\nimport type { ToggleButtonLabelProps } from '#UNSAFE_ToggleButtonLabel/ToggleButtonLabel';\n\ntype ButtonHandle = ElementRef<typeof BaseButton>;\n\ntype WidthInterpolationProps = Pick<DimensionProps, 'width'>;\n\nexport type IconSwitchButtonProps = WidthInterpolationProps &\n TestIdProps & {\n /**\n * icon - the icon for the button\n */\n children?: ComponentChild;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the button.\n */\n 'aria-describedby'?: string;\n\n /**\n * Specifies if the toggle button is selected\n */\n isSelected?: boolean;\n\n /**\n * Property that triggers a callback immediately when toggle happens and value of isSelected property should be updated\n */\n onToggle?: (details: ToggleDetail) => void;\n\n /**\n * The size indicates how large the button is rendered: \"xs\", \"sm\", \"md\" (default), \"lg\".\n */\n size?: 'xs' | 'sm' | 'md' | 'lg';\n };\n\n/**\n * Note that either an accessibleLabel or tooltip must be specified.\n */\ntype VariationAccessibleLabelProps =\n | {\n /**\n * accessibleLabel - the aria label\n */\n accessibleLabel: string;\n\n /**\n * tooltip - overrides the accessibleLabel for the tooltip\n */\n tooltip?: string;\n }\n | {\n accessibleLabel?: string;\n\n tooltip: string;\n };\n\n/**\n * A IconSwitchButton is an icon button that allows users to switch\n * between states when pressed. It differs from a toggle button in not\n * providing any visual indication of the state; instead, switch the\n * icon to provide the state indication.\n */\nexport const IconSwitchButton = forwardRef(\n (\n {\n children,\n tooltip,\n size = 'md',\n isDisabled = false,\n accessibleLabel,\n isSelected = false,\n onToggle,\n testId,\n width,\n 'aria-describedby': ariaDescribedBy\n }: IconSwitchButtonProps & VariationAccessibleLabelProps & TestIdProps,\n ref: ForwardedRef<ButtonHandle>\n ) => {\n const { triggerProps } = useToggleAction({\n isDisabled: isDisabled,\n onToggle: onToggle\n });\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltip ?? accessibleLabel,\n isDisabled: isDisabled\n });\n\n const styling = toggleStyling(\n 'auto',\n isSelected,\n true,\n false,\n false,\n undefined,\n undefined,\n true\n );\n\n const ariaProps = { 'aria-describedby': ariaDescribedBy };\n\n return (\n <Fragment>\n <BaseButton\n {...mergeProps(tooltipProps, triggerProps, ariaProps)}\n elementDetails={{ type: 'button', isSwitch: true }}\n aria-checked={isSelected}\n variant=\"ghost\"\n size={size}\n isDisabled={isDisabled}\n styling={styling}\n width={width}\n ref={ref}\n aria-label={accessibleLabel ?? tooltip}\n testId={testId}>\n <ToggleButtonLabel\n isDisabled={isDisabled}\n label={accessibleLabel ?? tooltip}\n isToggle={true}\n inputName={useId()}\n inputType={'switch'}\n onAction={() => onToggle?.({ value: isSelected })}\n isSelected={isSelected}\n display={'icons'}\n startIcon={children}\n size={size as ToggleButtonLabelProps['size']}\n />\n </BaseButton>\n {tooltipContent}\n </Fragment>\n );\n }\n);\n\nIconSwitchButton.displayName = 'IconSwitchButton';\n"],"names":["IconSwitchButton","forwardRef","children","tooltip","size","isDisabled","accessibleLabel","isSelected","onToggle","testId","width","ariaDescribedBy","ref","triggerProps","useToggleAction","tooltipContent","tooltipProps","useTooltip","text","styling","toggleStyling","undefined","ariaProps","_jsxs","Fragment","_jsx","jsx","BaseButton","mergeProps","elementDetails","type","isSwitch","variant","ToggleButtonLabel","label","isToggle","inputName","useId","inputType","onAction","value","display","startIcon","displayName"],"mappings":"+jBAuFa,MAAAA,EAAmBC,EAAAA,YAC9B,EAEIC,WACAC,UACAC,OAAO,KACPC,cAAa,EACbC,kBACAC,cAAa,EACbC,WACAC,SACAC,QACA,mBAAoBC,GAEtBC,KAEA,MAAMC,aAAEA,GAAiBC,kBAAgB,CACvCT,WAAYA,EACZG,SAAUA,KAGNO,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMf,GAAWG,EACjBD,WAAYA,IAGRc,EAAUC,EAAAA,cACd,OACAb,GACA,GACA,GACA,OACAc,OACAA,GACA,GAGIC,EAAY,CAAE,mBAAoBX,GAExC,OACEY,EAAAA,KAACC,EAAAA,SAAQ,CAAAtB,SAAA,CACPuB,EAACC,IAAAC,EAAUA,WACL,IAAAC,EAAAA,WAAWZ,EAAcH,EAAcS,GAC3CO,eAAgB,CAAEC,KAAM,SAAUC,UAAU,GAAM,eACpCxB,EACdyB,QAAQ,QACR5B,KAAMA,EACNC,WAAYA,EACZc,QAASA,EACTT,MAAOA,EACPE,IAAKA,EAAG,aACIN,GAAmBH,EAC/BM,OAAQA,EAAMP,SACduB,MAACQ,EAAAA,kBACC,CAAA5B,WAAYA,EACZ6B,MAAO5B,GAAmBH,EAC1BgC,UAAU,EACVC,UAAWC,EAAKA,QAChBC,UAAW,SACXC,SAAU,IAAM/B,IAAW,CAAEgC,MAAOjC,IACpCA,WAAYA,EACZkC,QAAS,QACTC,UAAWxC,EACXE,KAAMA,MAGTW,IAEH,IAINf,EAAiB2C,YAAc"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact', 'preact/compat', './BaseButton-d69319ea', './useToggleAction-59741954', './useTooltip-75a63697', 'preact/hooks', './mergeProps-bcfa6a92', './logger-0f873e29', './LayerHost-daf96749', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', './toggleButtonUtils-0ebe4c56', './buttonUtils-cbbb0130', './ToggleButtonLabel-03111248'], (function(e,t,o,s,i,l,a,n,r,d,c,g,p,b,u,T,h,m){"use strict";const y=s.forwardRef((({children:e,variant:s="outlined",size:n="md",isDisabled:d=!1,tooltip:c,accessibleLabel:g,isSelected:p=!1,onToggle:b,testId:u,"aria-describedby":y,width:B,...f},v)=>{const{globalEventProps:x}=h.processGlobals(f),{triggerProps:w}=l.useToggleAction({isDisabled:d,onToggle:b}),{tooltipContent:A,tooltipProps:D}=a.useTooltip({text:c??g,isDisabled:d}),I=T.toggleStyling("auto",p,!1,!1,"outlined"===s,void 0,void 0,!0,!0),P={"aria-describedby":y};return t.jsxs(o.Fragment,{children:[t.jsx(i.BaseButton,{...r.mergeProps(D,w,x,P),variant:s,isDisabled:d,size:n,width:B,"aria-pressed":p,styling:I,ref:v,"aria-label":g??c,testId:u,children:t.jsx(m.ToggleButtonLabel,{onAction:()=>b?.({value:p}),isDisabled:d,display:"icons",startIcon:e})}),A]})}));y.displayName="IconToggleButton",e.IconToggleButton=y}));
2
+ //# sourceMappingURL=IconToggleButton-b783604a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconToggleButton-b783604a.js","sources":["../../src/UNSAFE_IconToggleButton/IconToggleButton.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChild, Fragment } from 'preact';\nimport { forwardRef, ForwardedRef, ElementRef } from 'preact/compat';\n\nimport { BaseButton } from '#UNSAFE_BaseButton';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { useToggleAction, ToggleDetail } from '#hooks/UNSAFE_useToggleAction';\nimport { useTooltip } from '#hooks/UNSAFE_useTooltip';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\nimport { toggleStyling, processGlobals } from '#utils/UNSAFE_buttonUtils';\nimport { ToggleButtonLabel } from '#UNSAFE_ToggleButtonLabel';\nimport type { ButtonIntrinsicProps } from '#utils/UNSAFE_buttonUtils';\n\ntype ButtonHandle = ElementRef<typeof BaseButton>;\n\ntype WidthProps = Pick<DimensionProps, 'width'>;\n\nexport type IconToggleButtonProps = ButtonIntrinsicProps &\n WidthProps &\n TestIdProps & {\n /**\n * Specifies the icon for the button. This should not vary depending on state.\n */\n children?: ComponentChild;\n\n /**\n * Specifies that the button element should be disabled.\n */\n isDisabled?: boolean;\n\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the button.\n */\n 'aria-describedby'?: string;\n\n /**\n * Specifies if the toggle button is selected\n */\n isSelected?: boolean;\n\n /**\n * Property that triggers a callback immediately when toggle happens and value of isSelected property should be updated\n */\n onToggle?: (details: ToggleDetail) => void;\n\n /**\n * Indicates in what states the button has chrome (background and border).\n * \"borderless\"': \"Borderless buttons are a more prominent variation. Borderless\n * buttons are useful for supplemental actions that require minimal emphasis.\",\n * \"outlined\"': \"Outlined buttons are salient, but lighter weight than\n * solid buttons. Outlined buttons are useful for secondary actions.\",\n */\n variant?: 'borderless' | 'outlined';\n\n /**\n * The size indicates how large the button is rendered: \"sm\", \"md\" (default), \"lg\".\n */\n size?: 'sm' | 'md' | 'lg';\n };\n\n/**\n * Note that either an accessibleLabel or tooltip must be specified.\n */\ntype VariationAccessibleLabelProps =\n | {\n /**\n * accessibleLabel - the aria label\n */\n accessibleLabel: string;\n\n /**\n * tooltip - overrides the accessibleLabel for the tooltip\n */\n tooltip?: string;\n }\n | {\n accessibleLabel?: string;\n\n tooltip: string;\n };\n\n/**\n * IconToggleButtons direct users to toggle a state with\n * a single tap, click, or keystroke.\n */\nexport const IconToggleButton = forwardRef(\n (\n {\n children,\n variant = 'outlined',\n size = 'md',\n isDisabled = false,\n tooltip,\n accessibleLabel,\n isSelected = false,\n onToggle,\n testId,\n 'aria-describedby': ariaDescribedBy,\n width,\n ...props\n }: IconToggleButtonProps & VariationAccessibleLabelProps & TestIdProps,\n ref: ForwardedRef<ButtonHandle>\n ) => {\n const { globalEventProps } = processGlobals(props);\n\n const { triggerProps } = useToggleAction({\n isDisabled: isDisabled,\n onToggle: onToggle\n });\n\n const { tooltipContent, tooltipProps } = useTooltip({\n text: tooltip ?? accessibleLabel,\n isDisabled: isDisabled\n });\n\n const styling = toggleStyling(\n 'auto',\n isSelected,\n false,\n false,\n variant === 'outlined',\n undefined,\n undefined,\n true,\n true\n );\n\n const ariaProps = { 'aria-describedby': ariaDescribedBy };\n\n return (\n <Fragment>\n <BaseButton\n {...mergeProps(tooltipProps, triggerProps, globalEventProps, ariaProps)}\n variant={variant}\n isDisabled={isDisabled}\n size={size}\n width={width}\n aria-pressed={isSelected}\n styling={styling}\n ref={ref}\n aria-label={accessibleLabel ?? tooltip}\n testId={testId}>\n <ToggleButtonLabel\n onAction={() => onToggle?.({ value: isSelected })}\n isDisabled={isDisabled}\n display={'icons'}\n startIcon={children}></ToggleButtonLabel>\n </BaseButton>\n {tooltipContent}\n </Fragment>\n );\n }\n);\n\nIconToggleButton.displayName = 'IconToggleButton';\n"],"names":["IconToggleButton","forwardRef","children","variant","size","isDisabled","tooltip","accessibleLabel","isSelected","onToggle","testId","ariaDescribedBy","width","props","ref","globalEventProps","processGlobals","triggerProps","useToggleAction","tooltipContent","tooltipProps","useTooltip","text","styling","toggleStyling","undefined","ariaProps","_jsxs","Fragment","_jsx","jsx","BaseButton","mergeProps","ToggleButtonLabel","onAction","value","display","startIcon","displayName"],"mappings":"2kBA6FaA,EAAmBC,EAAAA,YAC9B,EAEIC,WACAC,UAAU,WACVC,OAAO,KACPC,cAAa,EACbC,UACAC,kBACAC,cAAa,EACbC,WACAC,SACA,mBAAoBC,EACpBC,WACGC,GAELC,KAEA,MAAMC,iBAAEA,GAAqBC,EAAcA,eAACH,IAEtCI,aAAEA,GAAiBC,kBAAgB,CACvCb,WAAYA,EACZI,SAAUA,KAGNU,eAAEA,EAAcC,aAAEA,GAAiBC,aAAW,CAClDC,KAAMhB,GAAWC,EACjBF,WAAYA,IAGRkB,EAAUC,EAAaA,cAC3B,OACAhB,GACA,GACA,EACY,aAAZL,OACAsB,OACAA,GACA,GACA,GAGIC,EAAY,CAAE,mBAAoBf,GAExC,OACEgB,OAACC,EAAAA,oBACCC,EAACC,IAAAC,iBACKC,EAAUA,WAACZ,EAAcH,EAAcF,EAAkBW,GAC7DvB,QAASA,EACTE,WAAYA,EACZD,KAAMA,EACNQ,MAAOA,EAAK,eACEJ,EACde,QAASA,EACTT,IAAKA,EACO,aAAAP,GAAmBD,EAC/BI,OAAQA,WACRmB,EAAAA,IAACI,EAAAA,mBACCC,SAAU,IAAMzB,IAAW,CAAE0B,MAAO3B,IACpCH,WAAYA,EACZ+B,QAAS,QACTC,UAAWnC,MAEdiB,IAEH,IAINnB,EAAiBsC,YAAc"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './useTranslationBundle-8e42d505', './Help-99314e05', './Popup-695781d6', './HiddenAccessible-037ef42d', './InlineHelp-1fc7b3a9', './UNSAFE_UserAssistance/themes/UserAssistanceStyles.css', './useComponentTheme-5aa41a8f', './classNames-08d99695', './UNSAFE_Popup/themes/redwood/PopupTheme', './useToggle-a29f97af'], (function(e,s,n,o,a,t,i,c,l,r,u,p,d){"use strict";e.IconUserAssistance=({assistiveText:e,helpSourceLink:h,helpSourceText:m,isTabbable:x=!0,id:b})=>{const{bool:f,setFalse:T,toggle:g}=d.useToggle(!1),A=o.useTranslationBundle("@oracle/oraclejet-preact"),k=A.userAssistance_learnMore(),C=h&&(m||k),j=A.radio_helpForRadio(),U=`${b}-help-string`,H=n.useRef(null),S=n.useCallback((e=>{const s=e?.target;(s instanceof Element||s instanceof Document)&&!H.current?.contains(s)&&f&&T()}),[f,T]),v=n.useCallback((e=>{const{key:s}=e;if(s&&"Enter"!==s)return;const{tagName:n}=e.target;"a"===n?.toLowerCase()&&(T(),setTimeout((()=>H.current?.focus())))}),[T]),E=n.useCallback((e=>{["Tab","Escape"].includes(e.code)&&f&&T(),["Space","Enter"].includes(e.code)&&(e.preventDefault(),g())}),[f,T,g]),F=n.useCallback((e=>{e.preventDefault(),g()}),[g]),{baseTheme:I}=r.useComponentTheme(p.PopupRedwoodTheme),P=u.classNames([I,l.iconUserAssistancePopupFocus]);return h||e?s.jsxs(s.Fragment,{children:[s.jsx("span",{onKeyDown:E,onClick:F,role:"link","aria-describedby":U,"aria-haspopup":"dialog",ref:H,tabIndex:x?0:-1,class:l.iconUserAssistanceIcon,id:`${b}-help-icon`,children:s.jsx(a.SvgHelp,{})}),s.jsx(i.HiddenAccessible,{id:U,isHidden:!0,children:j}),s.jsx(t.Popup,{placement:"top",isOpen:f,anchorRef:H,onClose:T,onClickOutside:S,shiftOptions:{mainAxis:!0,crossAxis:!1},role:"tooltip",maxWidth:"296px",children:s.jsx("div",{id:b,tabIndex:0,class:P,onMouseUp:v,onKeyDown:v,children:s.jsx(c.InlineHelp,{assistiveText:e,sourceLink:h,sourceText:C})})})]}):null}}));
2
+ //# sourceMappingURL=IconUserAssistance-0c55d53f.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconUserAssistance-0c55d53f.js","sources":["../../src/UNSAFE_UserAssistance/IconUserAssistance.tsx"],"sourcesContent":["import { useCallback, useRef } from 'preact/hooks';\n\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\n\nimport { HelpIcon } from '#PRIVATE_ThemedIcons/HelpIcon';\nimport { Popup } from '#UNSAFE_Popup';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { InlineHelp } from './InlineHelp';\nimport {\n iconUserAssistanceIcon,\n iconUserAssistancePopupFocus\n} from './themes/UserAssistanceStyles.css';\nimport { useComponentTheme } from '#hooks/UNSAFE_useComponentTheme';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from '#UNSAFE_Popup/themes/redwood/PopupTheme';\nimport { useToggle } from '#hooks/UNSAFE_useToggle';\n\ntype Props = {\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: string;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: string;\n /**\n * Custom text to be rendered for the `helpSourceLink`. \"Learn more\" will be used if no custom text is provided.\n */\n helpSourceText?: string;\n /**\n * Whether the trigger element is in tab sequence\n */\n isTabbable?: boolean;\n /**\n * ID of the pop up content that can be used for aria-describedby\n */\n id?: string;\n};\n\n/**\n * Created to match icon user assistance spec for use with radio option, pending design review\n * of inline UA assistance.\n */\nconst IconUserAssistance = ({\n assistiveText,\n helpSourceLink,\n helpSourceText,\n isTabbable = true,\n id\n}: Props) => {\n const { bool: isOpen, setFalse: setIsOpenFalse, toggle } = useToggle(false);\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const userAssistance_learnMoreStr = translations.userAssistance_learnMore();\n const sourceText = helpSourceLink && (helpSourceText || userAssistance_learnMoreStr);\n const helpForRadioString = translations.radio_helpForRadio();\n const helpStringId = `${id}-help-string`;\n const anchorRef = useRef<HTMLSpanElement>(null);\n\n const handleOutsideClick = useCallback(\n (event: MouseEvent) => {\n const target = event?.target;\n // We need to filter out anchor click events, because anchor is responsible for the toggling\n if (\n (target instanceof Element || target instanceof Document) &&\n !anchorRef.current?.contains(target) &&\n isOpen\n ) {\n setIsOpenFalse();\n }\n },\n [isOpen, setIsOpenFalse]\n );\n\n const handleLinkEvent = useCallback(\n (e: Event) => {\n // if it's a key event that is not \"enter\", return early\n const { key } = e as KeyboardEvent;\n if (key && key !== 'Enter') {\n return;\n }\n\n // We want to close the pop up if a link is triggered with mouse or keyboard\n const { tagName } = e.target as Element;\n\n if (tagName?.toLowerCase() === 'a') {\n setIsOpenFalse();\n\n // we want to refocus to the help icon after the browser has launched the link\n // prematurely doing so prevents keyboard events from firing\n setTimeout(() => anchorRef.current?.focus());\n }\n },\n [setIsOpenFalse]\n );\n\n const handleOnKeyDown = useCallback(\n (e: KeyboardEvent) => {\n // allow user to close popup without having to focus it\n if (['Tab', 'Escape'].includes(e.code) && isOpen) {\n setIsOpenFalse();\n }\n\n // toggle and prevent scroll jump\n if (['Space', 'Enter'].includes(e.code)) {\n e.preventDefault();\n toggle();\n }\n },\n [isOpen, setIsOpenFalse, toggle]\n );\n\n const onClickHandler = useCallback(\n (e: Event) => {\n e.preventDefault();\n toggle();\n },\n [toggle]\n );\n\n // We are referencing popup vars, so we need to bring in the baseTheme for popup\n const { baseTheme: popupBaseTheme } = useComponentTheme(PopupRedwoodTheme);\n const iconUserAssistanceClasses = classNames([popupBaseTheme, iconUserAssistancePopupFocus]);\n\n return helpSourceLink || assistiveText ? (\n <>\n <span\n onKeyDown={handleOnKeyDown}\n onClick={onClickHandler}\n role=\"link\"\n aria-describedby={helpStringId}\n aria-haspopup=\"dialog\"\n ref={anchorRef}\n tabIndex={isTabbable ? 0 : -1}\n class={iconUserAssistanceIcon}\n id={`${id}-help-icon`}>\n <HelpIcon />\n </span>\n <HiddenAccessible id={helpStringId} isHidden={true}>\n {helpForRadioString}\n </HiddenAccessible>\n <Popup\n placement=\"top\"\n isOpen={isOpen}\n anchorRef={anchorRef}\n onClose={setIsOpenFalse}\n onClickOutside={handleOutsideClick}\n shiftOptions={{ mainAxis: true, crossAxis: false }}\n role=\"tooltip\"\n maxWidth={'296px'}>\n <div\n id={id}\n tabIndex={0}\n class={iconUserAssistanceClasses}\n onMouseUp={handleLinkEvent}\n onKeyDown={handleLinkEvent}>\n <InlineHelp\n assistiveText={assistiveText}\n sourceLink={helpSourceLink}\n sourceText={sourceText}\n />\n </div>\n </Popup>\n </>\n ) : null;\n};\n\nexport { IconUserAssistance };\n"],"names":["assistiveText","helpSourceLink","helpSourceText","isTabbable","id","bool","isOpen","setFalse","setIsOpenFalse","toggle","useToggle","translations","useTranslationBundle","userAssistance_learnMoreStr","userAssistance_learnMore","sourceText","helpForRadioString","radio_helpForRadio","helpStringId","anchorRef","useRef","handleOutsideClick","useCallback","event","target","Element","Document","current","contains","handleLinkEvent","e","key","tagName","toLowerCase","setTimeout","focus","handleOnKeyDown","includes","code","preventDefault","onClickHandler","baseTheme","popupBaseTheme","useComponentTheme","PopupRedwoodTheme","iconUserAssistanceClasses","classNames","iconUserAssistancePopupFocus","_jsxs","jsxs","_Fragment","children","_jsx","onKeyDown","onClick","role","ref","tabIndex","class","iconUserAssistanceIcon","jsx","HelpIcon","SvgHelp","HiddenAccessible","isHidden","Popup","placement","onClose","onClickOutside","shiftOptions","mainAxis","crossAxis","maxWidth","onMouseUp","InlineHelp","sourceLink"],"mappings":"8aA6C2B,EACzBA,gBACAC,iBACAC,iBACAC,cAAa,EACbC,SAEA,MAAQC,KAAMC,EAAQC,SAAUC,EAAcC,OAAEA,GAAWC,aAAU,GAE/DC,EAAeC,uBAAiC,4BAChDC,EAA8BF,EAAaG,2BAC3CC,EAAad,IAAmBC,GAAkBW,GAClDG,EAAqBL,EAAaM,qBAClCC,EAAe,GAAGd,gBAClBe,EAAYC,SAAwB,MAEpCC,EAAqBC,eACxBC,IACC,MAAMC,EAASD,GAAOC,QAGnBA,aAAkBC,SAAWD,aAAkBE,YAC/CP,EAAUQ,SAASC,SAASJ,IAC7BlB,GAEAE,GACD,GAEH,CAACF,EAAQE,IAGLqB,EAAkBP,eACrBQ,IAEC,MAAMC,IAAEA,GAAQD,EAChB,GAAIC,GAAe,UAARA,EACT,OAIF,MAAMC,QAAEA,GAAYF,EAAEN,OAES,MAA3BQ,GAASC,gBACXzB,IAIA0B,YAAW,IAAMf,EAAUQ,SAASQ,UACrC,GAEH,CAAC3B,IAGG4B,EAAkBd,eACrBQ,IAEK,CAAC,MAAO,UAAUO,SAASP,EAAEQ,OAAShC,GACxCE,IAIE,CAAC,QAAS,SAAS6B,SAASP,EAAEQ,QAChCR,EAAES,iBACF9B,IACD,GAEH,CAACH,EAAQE,EAAgBC,IAGrB+B,EAAiBlB,eACpBQ,IACCA,EAAES,iBACF9B,GAAQ,GAEV,CAACA,KAIKgC,UAAWC,GAAmBC,EAAiBA,kBAACC,EAAiBA,mBACnEC,EAA4BC,EAAUA,WAAC,CAACJ,EAAgBK,EAAAA,+BAE9D,OAAO9C,GAAkBD,EACvBgD,EAAAC,KAAAC,WAAA,CAAAC,SAAA,CACEC,MACE,OAAA,CAAAC,UAAWjB,EACXkB,QAASd,EACTe,KAAK,0BACarC,EAAY,gBAChB,SACdsC,IAAKrC,EACLsC,SAAUtD,EAAa,GAAK,EAC5BuD,MAAOC,yBACPvD,GAAI,GAAGA,cACP+C,SAAAC,EAAAQ,IAACC,EAAQC,QAAA,CAAA,KAEXV,MAACW,EAAAA,iBAAgB,CAAC3D,GAAIc,EAAc8C,UAAU,EAAIb,SAC/CnC,IAEHoC,EAAAA,IAACa,EAAAA,OACCC,UAAU,MACV5D,OAAQA,EACRa,UAAWA,EACXgD,QAAS3D,EACT4D,eAAgB/C,EAChBgD,aAAc,CAAEC,UAAU,EAAMC,WAAW,GAC3ChB,KAAK,UACLiB,SAAU,QAAOrB,SACjBC,EACEQ,IAAA,MAAA,CAAAxD,GAAIA,EACJqD,SAAU,EACVC,MAAOb,EACP4B,UAAW5C,EACXwB,UAAWxB,EACXsB,SAAAC,EAAAQ,IAACc,EAAUA,WACT,CAAA1E,cAAeA,EACf2E,WAAY1E,EACZc,WAAYA,WAKlB,IAAI"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact', 'preact/hooks', './Flex-4bc3a394', './mergeProps-bcfa6a92', './useSingleSelection-c1bd8b03', './useCurrentKey-2f1ca19e', './useCollectionFocusRing-35d278f5', './collectionUtils-26e6c87c', './useId-c9578d26', './useTranslationBundle-27bf6340', './HiddenAccessible-037ef42d', './Collection-46cfa244', './classNames-08d99695', 'preact/compat', './useComponentTheme-5aa41a8f', './UNSAFE_Indexer/themes/redwood/IndexerTheme', './useTestId-a2e433c2'], (function(e,t,s,n,r,o,a,c,l,i,u,d,y,f,x,k,b,h,j){"use strict";const m=Object.freeze({key:"__others__",label:"#"}),v="[data-oj-key]",T=k.forwardRef(((e,s)=>{const n=d.useTranslationBundle("@oracle/oraclejet-preact"),{context:r,selectedKey:o}=e,a=r.data.key===o,c=R(e,s),{classes:l}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:c.ref&&c.isFocusRingVisible?"isFocused":"notFocused",disabled:r.data.isDisabled?"isDisabled":"notDisabled",selected:a?"isSelected":"notSelected"}),i=x.classNames([l]),u=r.data.label||r.data.key,y=r.data.isDisabled?n.indexer_disabledLabel({SECTION:`${u}`}):`${u}`;return t.jsx("li",{...c,class:i,"data-oj-valuetext":y,"data-oj-disabled":r.data.isDisabled,children:r.data.label||r.data.key})}));function R({context:e,currentKey:t,valueNow:s,isFocusRingVisible:n},r){return{...e.data.key===t&&{ref:r},key:e.data.key,"data-oj-key":e.data.key,"data-oj-key-type":typeof e.data.key,"data-oj-valuenow":s,isFocusRingVisible:!!n}}const g=k.forwardRef((({lastValueNow:e,...n},r)=>{const o={...n,ref:r};return t.jsxs(s.Fragment,{children:[t.jsx(T,{...o}),t.jsx(p,{...o,ref:r,context:{index:-1,data:m},valueNow:e})]})})),p=k.forwardRef(((e,s)=>{const{context:n,selectedKey:r}=e,o=R(e,s),a=n.data.key===r,{classes:c}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:o.ref&&o.isFocusRingVisible?"isFocused":"notFocused",selected:a?"isSelected":"notSelected"}),l=x.classNames([c]),i=m.label;return t.jsx("li",{...o,class:l,"data-oj-valuetext":i,children:n.data.label})})),w=k.forwardRef(((e,s)=>{const n=d.useTranslationBundle("@oracle/oraclejet-preact"),{context:o,sections:a}=e,c=R(e,s),{from:l,to:i}=F(e),{classes:u,styles:{dotStyle:y}}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:c.ref&&c.isFocusRingVisible?"isFocused":"notFocused"});if(!I(o.index,l,i))return null;const f=a[l].label||a[l].key,k=a[i].label||a[i].key,j=x.classNames([u]),m=n.indexer_separatorLabel({FROM_SECTION:`${f}`,TO_SECTION:`${k}`});return t.jsx("li",{...c,class:j,"data-oj-valuetext":m,children:t.jsx(r.Flex,{align:"center",justify:"center",children:t.jsx("div",{class:y})})})}));function F({context:e,sectionsPerTruncation:t,last:s}){const n=e.index-e.index%t+1;let r=n+t-2;return r=r>=s?s-1:r,{from:n,to:r}}function I(e,t,s){return e===Math.floor((t+s)/2)}const S=[{key:"A"},{key:"B"},{key:"C"},{key:"D"},{key:"E"},{key:"F"},{key:"G"},{key:"H"},{key:"I"},{key:"J"},{key:"K"},{key:"L"},{key:"M"},{key:"N"},{key:"O"},{key:"P"},{key:"Q"},{key:"R"},{key:"S"},{key:"T"},{key:"U"},{key:"V"},{key:"W"},{key:"X"},{key:"Y"},{key:"Z"}];const C=(e,t,s)=>e===t.current?void 0===s?null:s:i.keyExtractor(e,v),N=(e,t,s)=>{if(e.value===m.key)t({value:m.key});else{t({value:s.find((t=>t.key===e.value)).key})}},E=(e,t,s,n,r,o,a)=>{if(0===e||0===t)return;const c=e/t,l=s-1;if(c<2)r!==l&&(o(l),a(n));else if(c>s||s-c<.01)r>1&&(o(1),a(n));else{const e=_(c,l);e!==r&&e<s&&(o(e),a(n))}},_=(e,t)=>{e-=2,e/=2;const s=Math.round(t/e)+1,n=t%s,r=Math.floor(t/s)+(n>1?1:0);let o=t-(r-1)*s,a=s;for(;a>o;)a-=1,o=t-(r-1)*a;return a!=s&&(a+=1),a};function K(e){return i.isMobile()?e.indexer_touchInstructionText():e.indexer_keyboardInstructionText()}e.Indexer=function({sections:e=S,value:x,onCommit:k=()=>{},testId:m}){const R=n.useRef(null),p=n.useRef(null),_=s.createRef(),[V,O]=n.useState(e[0]?.key),[A,P]=n.useState(-1),D=n.useRef(-1),H=n.useRef(0),M=u.useId(),[B,U]=l.useCollectionFocusRing(R,["ArrowUp","ArrowDown"]),{currentKeyProps:$}=c.useCurrentKey((e=>i.keyExtractor(e,v)),!0,i.getPrevNextKey(R.current,V,!0,v),i.getPrevNextKey(R.current,V,!1,v),void 0,void 0,V,(e=>O(e.value))),{selectionProps:L}=a.useSingleSelection((e=>C(e,p,V)),void 0,(t=>N(t,k,e))),z=n.useCallback((t=>{for(const s of t)E(s.contentRect.height,H.current,e.length,e[0]?.key,A,P,O)}),[e,A]);n.useEffect((()=>{p.current&&(p.current.setAttribute("aria-valuemax",D.current+1+""),p.current.setAttribute("aria-valuetext",_.current?.dataset?.ojValuetext||""),p.current.setAttribute("aria-valuenow",_.current?.dataset?.ojValuenow||"")),D.current=-1})),n.useEffect((()=>{const t=R.current;t&&(H.current=t.querySelector("li")?.offsetHeight||0,E(t.offsetHeight,H.current,e.length,e[0]?.key,A,P,O))}),[e,A]),n.useEffect((()=>{const e=R.current;if(e){const t=new ResizeObserver((e=>{z(e)}));return t.observe(e),()=>{t.unobserve(e)}}}),[A,z]);const q=d.useTranslationBundle("@oracle/oraclejet-preact"),{styles:{baseStyle:G,innerStyle:J}}=b.useComponentTheme(h.IndexerRedwoodTheme),Q=j.useTestId(m);return t.jsxs("div",{ref:R,class:G,...Q,children:[t.jsx(r.Flex,{align:"center",width:"6x",height:"100%",children:t.jsx("ul",{...o.mergeProps($,U,L),ref:p,tabIndex:0,"aria-label":"Indexer","aria-orientation":"vertical","aria-valuemin":0,"aria-describedby":M,role:"slider",class:J,children:t.jsx(f.Collection,{items:e,children:s=>{const n=e.length-1;D.current+=1;const r={context:s,ref:_,currentKey:V,selectedKey:x,valueNow:D.current,isFocusRingVisible:!!B};if(s.index===n)return t.jsx(g,{...r,lastValueNow:D.current+1});if(A<=1||s.index%A==0)return t.jsx(T,{...r});const o={...r,sectionsPerTruncation:A,last:n,sections:e};return function(e){const{from:t,to:s}=F(e);return I(e.context.index,t,s)}(o)?t.jsx(w,{...o}):(D.current-=1,null)}})})}),t.jsx(y.HiddenAccessible,{children:t.jsx("span",{id:M,children:K(q)})})]})},e.SECTION_OTHERS=m}));
1
+ define(['exports', 'preact/jsx-runtime', 'preact', 'preact/hooks', './Flex-07d2aa5b', './mergeProps-bcfa6a92', './useSingleSelection-c1bd8b03', './useCurrentKey-8e979c7a', './useCollectionFocusRing-35d278f5', './collectionUtils-26e6c87c', './useId-c9578d26', './useTranslationBundle-8e42d505', './HiddenAccessible-037ef42d', './Collection-46cfa244', './classNames-08d99695', 'preact/compat', './useComponentTheme-5aa41a8f', './UNSAFE_Indexer/themes/redwood/IndexerTheme', './useTestId-9afc201a'], (function(e,t,s,n,r,a,o,c,l,i,u,d,y,f,x,k,b,h,j){"use strict";const m=Object.freeze({key:"__others__",label:"#"}),v="[data-oj-key]",T=k.forwardRef(((e,s)=>{const n=d.useTranslationBundle("@oracle/oraclejet-preact"),{context:r,selectedKey:a}=e,o=r.data.key===a,c=R(e,s),{classes:l}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:c.ref&&c.isFocusRingVisible?"isFocused":"notFocused",disabled:r.data.isDisabled?"isDisabled":"notDisabled",selected:o?"isSelected":"notSelected"}),i=x.classNames([l]),u=r.data.label||r.data.key,y=r.data.isDisabled?n.indexer_disabledLabel({SECTION:`${u}`}):`${u}`;return t.jsx("li",{...c,class:i,"data-oj-valuetext":y,"data-oj-disabled":r.data.isDisabled,children:r.data.label||r.data.key})}));function R({context:e,currentKey:t,valueNow:s,isFocusRingVisible:n},r){return{...e.data.key===t&&{ref:r},key:e.data.key,"data-oj-key":e.data.key,"data-oj-key-type":typeof e.data.key,"data-oj-valuenow":s,isFocusRingVisible:!!n}}const g=k.forwardRef((({lastValueNow:e,...n},r)=>{const a={...n,ref:r};return t.jsxs(s.Fragment,{children:[t.jsx(T,{...a}),t.jsx(p,{...a,ref:r,context:{index:-1,data:m},valueNow:e})]})})),p=k.forwardRef(((e,s)=>{const{context:n,selectedKey:r}=e,a=R(e,s),o=n.data.key===r,{classes:c}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:a.ref&&a.isFocusRingVisible?"isFocused":"notFocused",selected:o?"isSelected":"notSelected"}),l=x.classNames([c]),i=m.label;return t.jsx("li",{...a,class:l,"data-oj-valuetext":i,children:n.data.label})})),w=k.forwardRef(((e,s)=>{const n=d.useTranslationBundle("@oracle/oraclejet-preact"),{context:a,sections:o}=e,c=R(e,s),{from:l,to:i}=F(e),{classes:u,styles:{dotStyle:y}}=b.useComponentTheme(h.IndexerRedwoodTheme,{focused:c.ref&&c.isFocusRingVisible?"isFocused":"notFocused"});if(!I(a.index,l,i))return null;const f=o[l].label||o[l].key,k=o[i].label||o[i].key,j=x.classNames([u]),m=n.indexer_separatorLabel({FROM_SECTION:`${f}`,TO_SECTION:`${k}`});return t.jsx("li",{...c,class:j,"data-oj-valuetext":m,children:t.jsx(r.Flex,{align:"center",justify:"center",children:t.jsx("div",{class:y})})})}));function F({context:e,sectionsPerTruncation:t,last:s}){const n=e.index-e.index%t+1;let r=n+t-2;return r=r>=s?s-1:r,{from:n,to:r}}function I(e,t,s){return e===Math.floor((t+s)/2)}const S=[{key:"A"},{key:"B"},{key:"C"},{key:"D"},{key:"E"},{key:"F"},{key:"G"},{key:"H"},{key:"I"},{key:"J"},{key:"K"},{key:"L"},{key:"M"},{key:"N"},{key:"O"},{key:"P"},{key:"Q"},{key:"R"},{key:"S"},{key:"T"},{key:"U"},{key:"V"},{key:"W"},{key:"X"},{key:"Y"},{key:"Z"}];const C=(e,t,s)=>e===t.current?void 0===s?null:s:i.keyExtractor(e,v),N=(e,t,s)=>{if(e.value===m.key)t({value:m.key});else{t({value:s.find((t=>t.key===e.value)).key})}},E=(e,t,s,n,r,a,o)=>{if(0===e||0===t)return;const c=e/t,l=s-1;if(c<2)r!==l&&(a(l),o(n));else if(c>s||s-c<.01)r>1&&(a(1),o(n));else{const e=_(c,l);e!==r&&e<s&&(a(e),o(n))}},_=(e,t)=>{e-=2,e/=2;const s=Math.round(t/e)+1,n=t%s,r=Math.floor(t/s)+(n>1?1:0);let a=t-(r-1)*s,o=s;for(;o>a;)o-=1,a=t-(r-1)*o;return o!=s&&(o+=1),o};function K(e){return i.isMobile()?e.indexer_touchInstructionText():e.indexer_keyboardInstructionText()}e.Indexer=function({sections:e=S,value:x,onCommit:k=()=>{},testId:m}){const R=n.useRef(null),p=n.useRef(null),_=s.createRef(),[V,O]=n.useState(e[0]?.key),[A,P]=n.useState(-1),D=n.useRef(-1),H=n.useRef(0),M=u.useId(),[B,U]=l.useCollectionFocusRing(R,["ArrowUp","ArrowDown"]),{currentKeyProps:$}=c.useCurrentKey((e=>i.keyExtractor(e,v)),!0,i.getPrevNextKey(R.current,V,!0,v),i.getPrevNextKey(R.current,V,!1,v),void 0,void 0,V,(e=>O(e.value))),{selectionProps:L}=o.useSingleSelection((e=>C(e,p,V)),void 0,(t=>N(t,k,e))),z=n.useCallback((t=>{for(const s of t)E(s.contentRect.height,H.current,e.length,e[0]?.key,A,P,O)}),[e,A]);n.useEffect((()=>{p.current&&(p.current.setAttribute("aria-valuemax",D.current+1+""),p.current.setAttribute("aria-valuetext",_.current?.dataset?.ojValuetext||""),p.current.setAttribute("aria-valuenow",_.current?.dataset?.ojValuenow||"")),D.current=-1})),n.useEffect((()=>{const t=R.current;t&&(H.current=t.querySelector("li")?.offsetHeight||0,E(t.offsetHeight,H.current,e.length,e[0]?.key,A,P,O))}),[e,A]),n.useEffect((()=>{const e=R.current;if(e){const t=new ResizeObserver((e=>{z(e)}));return t.observe(e),()=>{t.unobserve(e)}}}),[A,z]);const q=d.useTranslationBundle("@oracle/oraclejet-preact"),{styles:{baseStyle:G,innerStyle:J}}=b.useComponentTheme(h.IndexerRedwoodTheme),Q=j.useTestId(m);return t.jsxs("div",{ref:R,class:G,...Q,children:[t.jsx(r.Flex,{align:"center",width:"6x",height:"100%",children:t.jsx("ul",{...a.mergeProps($,U,L),ref:p,tabIndex:0,"aria-label":"Indexer","aria-orientation":"vertical","aria-valuemin":0,"aria-describedby":M,role:"slider",class:J,children:t.jsx(f.Collection,{items:e,children:s=>{const n=e.length-1;D.current+=1;const r={context:s,ref:_,currentKey:V,selectedKey:x,valueNow:D.current,isFocusRingVisible:!!B};if(s.index===n)return t.jsx(g,{...r,lastValueNow:D.current+1});if(A<=1||s.index%A==0)return t.jsx(T,{...r});const a={...r,sectionsPerTruncation:A,last:n,sections:e};return function(e){const{from:t,to:s}=F(e);return I(e.context.index,t,s)}(a)?t.jsx(w,{...a}):(D.current-=1,null)}})})}),t.jsx(y.HiddenAccessible,{children:t.jsx("span",{id:M,children:K(q)})})]})},e.SECTION_OTHERS=m}));
2
2
  //# sourceMappingURL=Indexer-bbb763a7.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './useComponentTheme-5aa41a8f', './TabbableModeContext-a9c97640', './useTabbableMode-df433329', './useTranslationBundle-27bf6340', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme'], (function(e,s,a,n,t,o,r,l){"use strict";e.InlineHelpSource=function({children:e,source:t}){const c=r.useTranslationBundle("@oracle/oraclejet-preact").userAssistance_learnMore(),b=e||c,{isTabbable:u,tabbableModeProps:d}=o.useTabbableMode(),{classes:i,styles:m}=n.useComponentTheme(l.UserAssistanceRedwoodTheme);return s.jsx("a",{class:a.classNames([i,m.helpSourceStyles]),target:"_blank",href:t,...!u&&d,children:b})}}));
1
+ define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './useComponentTheme-5aa41a8f', './TabbableModeContext-a9c97640', './useTabbableMode-df433329', './useTranslationBundle-8e42d505', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme'], (function(e,s,a,n,t,o,r,l){"use strict";e.InlineHelpSource=function({children:e,source:t}){const c=r.useTranslationBundle("@oracle/oraclejet-preact").userAssistance_learnMore(),u=e||c,{isTabbable:b,tabbableModeProps:d}=o.useTabbableMode(),{classes:i,styles:m}=n.useComponentTheme(l.UserAssistanceRedwoodTheme);return s.jsx("a",{class:a.classNames([i,m.helpSourceStyles]),target:"_blank",href:t,...!b&&d,children:u})}}));
2
2
  //# sourceMappingURL=InlineHelpSource-34ec0779.js.map
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact/compat', 'preact/hooks', './Flex-07d2aa5b', './Label-3c17bcc9', './useDisplayValue-fa0fbc23', './Separator-181f7541', './logger-0f873e29', './TabbableModeContext-a9c97640', './LayerHost-daf96749', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-e406e352', '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-ae57629b', 'css!./IconStyle.styles.css', './IconButton-232d63fc', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-ea0be23e', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './FormFieldContext-a024b891', './Popup-695781d6', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './View-ab4d3a33', './FormContext-6b0879a0', './useFormContext-b8cbbb21', './useLoadingIndicatorTimer-20a3bf5f', './useTextField-3ab0a23b', './useTranslationBundle-8e42d505', './keyboardUtils-fb6219eb', './tabbableUtils-9101c0e5', './unsafeDomAccess-602c5dde', './useSelectCommon-f04454d2'], (function(e,s,t,o,n,a,r,i,l,c,d,u,p,b,h,S,m,y,x,C,F,f,g,v,w,A,T,U,E,L,k,K,I,B,R,P,M,_,j,V,N,D,O,z,Y,$,G,H,W,q,Z){"use strict";const J={isTabbable:!1};const Q=t.forwardRef((function(e,t){const{data:l,itemRenderer:d,itemText:u,label:p,onLoadRange:b,testId:S,userAssistancePosition:m="belowList"}=e,{collectionRendererContext:y,formFieldContext:x,hasUserAssistance:C,isEmptyResults:F,isUserFiltering:f,labelProps:g,listContainerProps:v,selectSingleFieldProps:w,selectFieldInputProps:A,userAssistanceProps:T}=function({"aria-describedby":e,assistiveText:s,data:t,hasBackIcon:n="never",hasClearIcon:a="never",helpSourceLink:i,helpSourceText:l,isLoading:c,itemText:d,label:u,onBackIconAction:p,onCommit:b,onFilter:h,placeholder:S,textAlign:m,valueItem:y,virtualKeyboard:x},C){const F=o.useRef(null),{textAlign:f}=z.useFormContext(),g=m??f??"start",v=null!=t&&!Z.isBeforeDataFetch(t),w=v&&0===t?.totalSize,A=o.useRef(t),T=o.useRef(y),U=o.useRef(!0),[E,L]=o.useState(void 0===y?void 0:new Set([y.key])),k=Y.useLoadingIndicatorTimer(c??!1),K=r.useDisplayValue(d,y);o.useImperativeHandle(C,(()=>({focus:()=>F.current?.focus(),blur:()=>F.current?.blur(),[q.UNSAFE_DOM_ACCESS]:F.current})),[]);const{currentRowKeyRef:I,currentRowOverride:B,dropdownRef:R,isFocused:P,isUserFiltering:M,onCurrentKeyChange:_,searchText:j,setCurrentRowOverride:V,stopFiltering:N,updateFiltering:D,userInput:O}=Z.useSelectCommon({data:t,inputRef:F,isFocused:!0,onFilter:h}),{baseId:J,formFieldContext:Q,inputProps:X,labelProps:ee,userAssistanceProps:se}=$.useTextField({ariaDescribedBy:e,helpSourceLink:i,helpSourceText:l,isFocused:P,isLoading:k,value:void 0!==y||void 0}),te=`${J}-list`;Q.hasValue=c||Q.hasValue;const oe=G.useTranslationBundle("@oracle/oraclejet-preact"),ne=v?0===t?.totalSize?oe.select_noMatchesFound():1===t?.totalSize?oe.select_oneMatchFound():"exact"===t?.sizePrecision?oe.select_sizeMatchesFound({TOTAL_SIZE:`${t?.totalSize}`}):oe.select_sizeOrMoreMatchesFound({TOTAL_SIZE:`${t?.totalSize}`}):"";T.current!==y&&(T.current=y,L(void 0===y?void 0:new Set([y.key]))),A.current!==t&&(A.current=t,M&&null!=t&&0===t.offset&&t.data.length>0&&V({rowKey:Z.isSearchTextEmptyOrUndefined(j)?void 0:t.data[0].metadata.key})),U.current&&(U.current=!1,V({rowKey:[...E??[void 0]][0]}));const ae=o.useCallback(((e,s)=>{b?.({value:e,previousValue:void 0!==y?y.key:void 0,reason:s.reason})}),[b,y]),re=o.useCallback((e=>{L(new Set),ae(void 0,e)}),[ae]),ie=o.useCallback((()=>M&&""===O&&void 0!==y),[M,O,y]),le=o.useCallback((e=>{N();const s=e.context.key;L(new Set([s])),ae(s,{reason:"itemAction"})}),[ae,N]),ce=o.useCallback((({value:e})=>{D(e),h?.({searchText:e})}),[h,D]),de=o.useCallback((e=>{if(!H.isControlOrFunctionKey(e))switch(e.code){case H.KEYS.UP:case H.KEYS.DOWN:e.preventDefault();break;case H.KEYS.ENTER:case H.KEYS.TAB:{if(Z.isPhone())return;const s={reason:e.code===H.KEYS.TAB?"tabKey":"itemAction"};if(ie())return void re(s);if(null==t||0===t.data.length)return;if(N(),void 0!==I.current&&null!=t&&t.data.length>0)return L(new Set([I.current])),void ae(I.current,s);ae(y?.key??void 0,s);break}}}),[re,I,t,ie,ae,N,y]),ue=o.useCallback((e=>{if(!H.isControlOrFunctionKey(e))switch(e.code){case H.KEYS.UP:case H.KEYS.DOWN:if(null!=t&&R.current){const e=W.allTabbableElements(R.current,void 0,!0)[0];e?.focus(),void 0===B.rowKey&&V({rowKey:t.data[0]?.metadata?.key})}e.preventDefault()}}),[B,t,R,V]),pe=o.useCallback((e=>{e.code===H.KEYS.TAB&&void 0!==I.current&&null!=t&&t.data.length>0&&(L(new Set([I.current])),ae(I.current,{reason:"tabKey"}))}),[I,t,ae]),be=o.useCallback((()=>{N(),re({reason:"itemAction"}),F.current?.focus(),h?.({searchText:void 0})}),[re,h,N]),he=Z.useCollectionRenderer({currentKey:B.rowKey,searchText:j,selectedKeys:E,onCurrentKeyChange:_,onItemAction:le});return o.useEffect((()=>{const e=R.current?.querySelector('div[role="listbox"][tabindex="0"]');e?.setAttribute("tabindex","-1")})),{collectionRendererContext:he,formFieldContext:Q,hasUserAssistance:Boolean(s||i),isEmptyResults:w,isUserFiltering:M,labelProps:{...ee,children:u},listContainerProps:{id:te,dropdownListRef:R,onKeyDown:pe},selectSingleFieldProps:{contentVariant:"input",hasInsideLabel:!0,isBackButtonShown:"always"===n,isClearButtonShown:"conditionally"===a&&void 0!==y,onBackButtonClick:p,onClearButtonClick:be,styleVariant:"embedded"},selectFieldInputProps:{...X,"aria-controls":te,"aria-expanded":!0,displayValue:K,hasEmptyLabel:!1,hasInsideLabel:!0,inputRef:F,isAddToListShown:!1,isAdvancedSearchShown:!1,isRequired:!1,isUserFiltering:M,liveRegionText:ne,onInput:ce,onKeyDown:de,onKeyUp:ue,placeholder:S,textAlign:g,userInput:O,variant:"embedded",virtualKeyboard:x},userAssistanceProps:{...se,assistiveText:s,fieldLabel:u,helpSourceLink:i,helpSourceText:l}}}(e,t),U=o.useCallback((({onPersistCurrentRowKey:e,onRowAction:t,selected:o,searchText:n,currentRowKeyOverride:a})=>s.jsx(Z.DefaultList,{"aria-label":p,currentItemVariant:"highlight",currentKey:a,data:l,itemRenderer:d,itemText:u,onCurrentKeyChange:e,onItemAction:t,onLoadRange:b,searchText:f?n:void 0,selectedKeys:o,selectionMode:"single"})),[l,f,d,u,p,b]),E=s.jsx(D.View,{minWidth:"100%",padding:"2x",children:s.jsx(h.InlineUserAssistance,{testId:S&&`${S}_userAssistance`,...T})});return s.jsx(n.Flex,{direction:"column",gap:"2x",maxHeight:"100%",width:"100%",children:s.jsxs(B.FormFieldContext.Provider,{value:x,children:[s.jsxs(D.View,{flex:0,children:[s.jsx(r.SelectSingleField,{...w,label:s.jsx(a.Label,{...g}),testId:S&&`${S}_selectSingleField`,children:s.jsx(r.SelectSingleFieldInput,{...A})}),"aboveList"===m&&s.jsx(i.Separator,{}),"aboveList"===m&&C&&s.jsxs(s.Fragment,{children:[E,s.jsx(i.Separator,{})]})]}),"aboveList"!==m&&s.jsx(i.Separator,{}),s.jsx(Z.DropdownList,{...v,hasBottomGap:"aboveList"===m,hasTopGap:!1,children:s.jsx(c.TabbableModeContext.Provider,{value:J,children:F?s.jsx(Z.EmptyResults,{}):U(y)})}),"belowList"===m&&C&&s.jsxs("div",{children:[s.jsx(i.Separator,{}),E]})]})})}));e.InlineSelectSingle=Q}));
2
+ //# sourceMappingURL=InlineSelectSingle-bebf92d3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InlineSelectSingle-bebf92d3.js","sources":["../../src/UNSAFE_InlineSelectSingle/InlineSelectSingle.tsx","../../src/UNSAFE_InlineSelectSingle/useInlineSelectSingle.ts"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { ContextType, JSX, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { useCallback } from 'preact/hooks';\n\nimport {\n DefaultList,\n DropdownList,\n EmptyResults,\n type SelectSingleCollectionRendererContext\n} from '#PRIVATE_SelectCommon';\nimport { Flex } from '#UNSAFE_Flex';\nimport { Label } from '#UNSAFE_Label';\nimport { SelectSingleField } from '#UNSAFE_SelectSingle/SelectSingleField';\nimport { SelectSingleFieldInput } from '#UNSAFE_SelectSingle/SelectSingleFieldInput';\nimport { Separator } from '#UNSAFE_Separator';\nimport { InlineUserAssistance } from '#UNSAFE_UserAssistance';\nimport { View } from '#UNSAFE_View';\nimport { FormFieldContext } from '#hooks/UNSAFE_useFormFieldContext';\nimport { TabbableModeContext } from '#hooks/UNSAFE_useTabbableMode';\nimport type { Data, InlineSelectHandle, InlineSelectSingleProps, Key } from './types';\nimport { useInlineSelectSingle } from './useInlineSelectSingle';\n\nconst PREVENT_TABBING = { isTabbable: false } satisfies ContextType<typeof TabbableModeContext>;\n\n/**\n * A InlineSelectSingle is a text field with an inline list that supports single selection and search filtering.\n * Note: This is only meant to be used by the Spectra Smart Search component. As such, it only has limited features\n * needed for the Smart Search component.\n */\nfunction InlineSelectSingleImpl<K extends Key, D extends Data>(\n props: InlineSelectSingleProps<K, D>,\n ref: Ref<InlineSelectHandle>\n) {\n const {\n data,\n itemRenderer,\n itemText,\n label,\n onLoadRange,\n testId,\n userAssistancePosition = 'belowList'\n } = props;\n const {\n collectionRendererContext,\n formFieldContext,\n hasUserAssistance,\n isEmptyResults,\n isUserFiltering,\n labelProps,\n listContainerProps,\n selectSingleFieldProps,\n selectFieldInputProps,\n userAssistanceProps\n } = useInlineSelectSingle(props, ref);\n\n const defaultCollectionRenderer = useCallback(\n ({\n onPersistCurrentRowKey,\n onRowAction,\n selected,\n searchText,\n currentRowKeyOverride\n }: SelectSingleCollectionRendererContext<K, D>) => (\n <DefaultList\n aria-label={label}\n currentItemVariant=\"highlight\"\n currentKey={currentRowKeyOverride}\n data={data}\n itemRenderer={itemRenderer}\n itemText={itemText}\n onCurrentKeyChange={onPersistCurrentRowKey}\n onItemAction={onRowAction}\n onLoadRange={onLoadRange}\n searchText={isUserFiltering ? searchText : undefined}\n selectedKeys={selected}\n selectionMode=\"single\"\n />\n ),\n [data, isUserFiltering, itemRenderer, itemText, label, onLoadRange]\n );\n\n const userAssistance = (\n <View minWidth=\"100%\" padding=\"2x\">\n <InlineUserAssistance\n testId={testId && `${testId}_userAssistance`}\n {...userAssistanceProps}\n />\n </View>\n );\n\n return (\n <Flex direction=\"column\" gap=\"2x\" maxHeight=\"100%\" width=\"100%\">\n <FormFieldContext.Provider value={formFieldContext}>\n <View flex={0}>\n <SelectSingleField\n {...selectSingleFieldProps}\n label={<Label {...labelProps} />}\n testId={testId && `${testId}_selectSingleField`}>\n <SelectSingleFieldInput {...selectFieldInputProps} />\n </SelectSingleField>\n {/* Render separator & UA without gaps when we are configured for UA between the field and the dropdown */}\n {userAssistancePosition === 'aboveList' && <Separator />}\n {userAssistancePosition === 'aboveList' && hasUserAssistance && (\n <>\n {userAssistance}\n <Separator />\n </>\n )}\n </View>\n {/* Render separator with gaps when we are not configured for UA between the field and the dropdown */}\n {userAssistancePosition !== 'aboveList' && <Separator />}\n <DropdownList\n {...listContainerProps}\n // Add bottom gap only when we are configured to show UA above the list\n hasBottomGap={userAssistancePosition === 'aboveList'}\n hasTopGap={false}>\n <TabbableModeContext.Provider value={PREVENT_TABBING}>\n {isEmptyResults ? (\n <EmptyResults />\n ) : (\n defaultCollectionRenderer(collectionRendererContext)\n )}\n </TabbableModeContext.Provider>\n </DropdownList>\n {userAssistancePosition === 'belowList' && hasUserAssistance && (\n <div>\n <Separator />\n {userAssistance}\n </div>\n )}\n </FormFieldContext.Provider>\n </Flex>\n );\n}\n\nexport const InlineSelectSingle = forwardRef(InlineSelectSingleImpl) as {\n <K extends Key, D extends Data>(\n props: InlineSelectSingleProps<K, D> & { ref?: Ref<InlineSelectHandle> }\n ): JSX.Element;\n}; // forwardRef will remove generics, so we cast it explicitly to preserve generics.;\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 } from 'preact';\nimport { useCallback, useEffect, useImperativeHandle, useRef, useState } from 'preact/hooks';\n\nimport {\n type DropdownList,\n isBeforeDataFetch,\n isPhone,\n isSearchTextEmptyOrUndefined,\n useCollectionRenderer,\n UseCollectionRendererSelectSingleParams,\n useSelectCommon\n} from '#PRIVATE_SelectCommon';\nimport type { Label } from '#UNSAFE_Label';\nimport type { SelectSingleField } from '#UNSAFE_SelectSingle/SelectSingleField';\nimport type { SelectSingleFieldInput } from '#UNSAFE_SelectSingle/SelectSingleFieldInput';\nimport { useDisplayValue } from '#UNSAFE_SelectSingle/useDisplayValue';\nimport type { InlineUserAssistance } from '#UNSAFE_UserAssistance';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { useLoadingIndicatorTimer } from '#hooks/UNSAFE_useLoadingIndicatorTimer';\nimport { useTextField } from '#hooks/UNSAFE_useTextField';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport type { BundleType } from '#resources/nls/bundle';\nimport { isControlOrFunctionKey, KEYS } from '#utils/PRIVATE_keyboardUtils';\nimport { allTabbableElements } from '#utils/PRIVATE_tabbableUtils';\nimport type { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\nimport type {\n CommitMetadata,\n Data,\n InlineSelectHandle,\n InlineSelectSingleProps,\n Key\n} from './types';\nimport { UNSAFE_DOM_ACCESS } from '#utils/UNSAFE_unsafeDomAccess';\n\ntype UseInlineSelectSingleOptions<K extends Key, D extends Data> = InlineSelectSingleProps<K, D>;\n\n/**\n * A custom hook for determining prop values for the InlineSelectSingle's child\n * components from its own props.\n * @param param0 options\n * @param ref The ref handle of the component.\n */\nexport function useInlineSelectSingle<K extends Key, D extends Data>(\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n data,\n hasBackIcon = 'never',\n hasClearIcon = 'never',\n helpSourceLink,\n helpSourceText,\n isLoading: propIsLoading,\n itemText,\n label,\n onBackIconAction,\n onCommit: propOnCommit,\n onFilter,\n placeholder,\n textAlign: propTextAlign,\n valueItem,\n virtualKeyboard\n }: UseInlineSelectSingleOptions<K, D>,\n ref: Ref<InlineSelectHandle>\n) {\n const inputRef = useRef<HTMLInputElement>(null);\n const { textAlign: formTextAlign } = useFormContext();\n const textAlign = propTextAlign ?? formTextAlign ?? 'start';\n const isDataFetched = data != null && !isBeforeDataFetch<K, D>(data);\n const isEmptyResults = isDataFetched && data?.totalSize === 0;\n\n // Refs to keep track of prop changes and sync internal state\n const prevDataRef = useRef(data);\n const prevValueItemRef = useRef(valueItem);\n const isInitialRender = useRef(true);\n\n // State for holding the selected keys in the list\n const [selectedKeys, setSelectedKeys] = useState(\n valueItem === undefined ? undefined : new Set([valueItem.key])\n );\n\n // The incoming propIsLoading tells us that we are in a loading state, but we don't want to\n // show the loading indicator until after a delay, because showing it immediately could result\n // in unwanted flashing. The isLoading var below will be set to true by useLoadingIndicatorTimer\n // after the delay, when the timer expires, at which point we should show the loading indicator.\n // If propIsLoading is set to false before the timer expires, then the timer will be cancelled\n // and no loading indicator will be shown.\n // (ListView detects its loading state by checking data === null. While it would be nice for\n // us to be consistent and check valueItems === null, we need to use a separate isLoading prop.\n // If valueItems === null triggers our loading state, then the selections in the dropdown\n // are cleared for that period of time, which is undesirable.)\n const isLoading = useLoadingIndicatorTimer(propIsLoading ?? false);\n const displayValue = useDisplayValue(itemText, valueItem);\n\n // add methods to the ref\n useImperativeHandle(\n ref,\n () => ({\n focus: () => inputRef.current?.focus(),\n blur: () => inputRef.current?.blur(),\n [UNSAFE_DOM_ACCESS]: inputRef.current!\n }),\n []\n );\n\n const {\n currentRowKeyRef,\n currentRowOverride,\n dropdownRef,\n isFocused,\n isUserFiltering,\n onCurrentKeyChange,\n searchText,\n setCurrentRowOverride,\n stopFiltering,\n updateFiltering,\n userInput\n } = useSelectCommon<K, D>({\n data,\n inputRef,\n // The component can only be in a focused visual state\n isFocused: true,\n onFilter\n });\n\n const { baseId, formFieldContext, inputProps, labelProps, userAssistanceProps } = useTextField({\n ariaDescribedBy,\n helpSourceLink,\n helpSourceText,\n isFocused,\n isLoading,\n value: valueItem !== undefined ? true : undefined\n });\n const listId = `${baseId}-list`;\n\n // If we're waiting for the selected values to load, the component should look like it\n // has a value in the meantime.\n // Use the original propIsLoading instead of isLoading because we don't want to delay\n // the inside label position by a timer like we do the progressive loading indicator.\n formFieldContext.hasValue = propIsLoading || formFieldContext.hasValue;\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const liveRegionText = isDataFetched\n ? data?.totalSize === 0\n ? translations.select_noMatchesFound()\n : data?.totalSize === 1\n ? translations.select_oneMatchFound()\n : data?.sizePrecision === 'exact'\n ? translations.select_sizeMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })\n : translations.select_sizeOrMoreMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })\n : '';\n\n /**\n * Lifecycle updates\n */\n // When the valueItem changes, save the new selectedKeys\n if (prevValueItemRef.current !== valueItem) {\n prevValueItemRef.current = valueItem;\n setSelectedKeys(valueItem === undefined ? undefined : new Set([valueItem.key]));\n }\n\n // When data changes, highlight the first result\n if (prevDataRef.current !== data) {\n prevDataRef.current = data;\n // when filtering, set the first result of the filtered data set to be the current item\n // (check the data offset so we don't try to highlight again if the user scrolls through\n // the list and more data is fetched)\n if (isUserFiltering && data != null && data.offset === 0 && data.data.length > 0) {\n // if there are results and search text, highlight the first row, otherwise clear\n // an existing highlight\n setCurrentRowOverride({\n rowKey: !isSearchTextEmptyOrUndefined(searchText) ? data.data[0].metadata.key : undefined\n });\n }\n }\n\n // During the initial render, set the current row override if we have selected values.\n // This way pressing DOWN arrow will start the navigation from the selected row.\n if (isInitialRender.current) {\n isInitialRender.current = false;\n setCurrentRowOverride({ rowKey: [...(selectedKeys ?? [undefined])][0] });\n }\n\n /**\n * A helper onCommit wrapper that consumes the metadata and calls the\n * propOnCommit with only the necessary information.\n * (Similar to onCommit in useSelectSingle.ts)\n */\n const onCommit = useCallback(\n (value: K | undefined, metadata: CommitMetadata) => {\n propOnCommit?.({\n value: value,\n previousValue: valueItem !== undefined ? valueItem.key : undefined,\n reason: metadata.reason\n });\n },\n [propOnCommit, valueItem]\n );\n\n /**\n * A helper function to clear the selectedKeys and commits empty value.\n * (Similar to clearValue in useSelectSingle.ts but without dropdown related logic)\n */\n const clearValue = useCallback(\n (metadata: CommitMetadata) => {\n setSelectedKeys(new Set<K>());\n // call the onCommit callback so that the consuming code can update the valueItem\n onCommit(undefined, metadata);\n },\n [onCommit]\n );\n\n /**\n * Determine if we need to clear the value because the user has deleted all the text.\n * (Similar to isClearValueNeeded in useSelectSingle.ts)\n */\n const isClearValueNeeded = useCallback(() => {\n return isUserFiltering && userInput === '' && valueItem !== undefined;\n }, [isUserFiltering, userInput, valueItem]);\n\n /**\n * Handler for List.onItemAction\n * (Similar to useSelectSingle.ts's onItemAction but without dropdown related logic)\n * This is used for handling:\n * - Commits value when one performs an action on the list\n */\n const handleItemAction = useCallback<\n UseCollectionRendererSelectSingleParams<K, D>['onItemAction']\n >(\n (detail) => {\n // after selecting a value, the user is no longer actively filtering, so update related\n // state accordingly so that the newly selected value appears in the field\n stopFiltering();\n\n const newKey = detail.context.key;\n // update the selectedKeys so that the selection visual state of the collection\n // updates immediately while waiting for a new valueItem to be set\n setSelectedKeys(new Set([newKey]));\n // call the onCommit callback so that the consuming code can update the valueItem\n onCommit(newKey, { reason: 'itemAction' });\n },\n [onCommit, stopFiltering]\n );\n\n /**\n * Handler for SelectSingleFieldInput.onInput\n * This is used for handling:\n * - Typing in text in the field should filter the results (i.e. invoke onFilter with the text)\n */\n const handleFieldInput = useCallback(\n ({ value }: ValueUpdateDetail<string>) => {\n updateFiltering(value);\n onFilter?.({ searchText: value });\n },\n [onFilter, updateFiltering]\n );\n\n /**\n * Handler for SelectSingleFieldInput.onKeyDown\n * This is used for handling:\n * - Prevents default browser behavior on UP/DOWN to avoid scrolling\n * - Clears value or selects current row on ENTER\n * - Clears value or selects current row on TAB\n */\n const handleFieldKeyDown = useCallback(\n (event: KeyboardEvent) => {\n // ignore ctrl and fn key events\n if (isControlOrFunctionKey(event)) return;\n\n switch (event.code) {\n case KEYS.UP:\n case KEYS.DOWN:\n // prevent the default action, since we do not want the page to scroll\n event.preventDefault();\n break;\n case KEYS.ENTER:\n case KEYS.TAB: {\n // if this is on a mobile device (only phone and not in tablet devices), do not do anything\n if (isPhone()) return;\n\n // Otherwise, proceed\n const commitMetadata: CommitMetadata = {\n reason: event.code === KEYS.TAB ? 'tabKey' : 'itemAction'\n };\n // check to see if we need to clear the value\n if (isClearValueNeeded()) {\n // in this case, clear the value and return.\n clearValue(commitMetadata);\n return;\n }\n\n // if there is no data to select, no need to handle this event\n if (data == null || data.data.length === 0) return;\n\n // If we will be making a selection, the user is no longer actively filtering,\n // so update related state accordingly so that the newly selected value appears in the field.\n stopFiltering();\n\n // Current design have this component in a dropdown/modal. So, pressing Tab from\n // the main field without doing any other interaction is still considered a selection\n // unlike SelectSingle (see JET-68215). So, we handle both Enter and Tab similarly.\n // If there is a currentRow in the dropdown (meaning a highlighted item that would\n // have keyboard focus if the dropdown list had physical focus, which may be different\n // from the currently selected item), select it and commit it.\n if (currentRowKeyRef.current !== undefined && data != null && data.data.length > 0) {\n setSelectedKeys(new Set<K>([currentRowKeyRef.current]));\n onCommit(currentRowKeyRef.current, commitMetadata);\n return;\n }\n // Otherwise commit the currently selected value again so that a valueAction event\n // can be fired from the core-pack side.\n onCommit(valueItem?.key ?? undefined, commitMetadata);\n break;\n }\n }\n },\n [clearValue, currentRowKeyRef, data, isClearValueNeeded, onCommit, stopFiltering, valueItem]\n );\n\n /**\n * Handler for SelectSingleFieldInput.onKeyUp\n * This is used for handling:\n * - Pressing UP/DOWN from the main field should move the focus to the list\n * - If Ctrl or Fn key is pressed, then ignore the event\n */\n const handleFieldKeyUp = useCallback(\n (event: KeyboardEvent) => {\n // ignore ctrl and fn key events\n if (isControlOrFunctionKey(event)) return;\n\n switch (event.code) {\n case KEYS.UP:\n case KEYS.DOWN:\n // Transfer physical focus into the dropdown only if the data is present and the dropdown\n // has rendered the data. Otherwise, keep the focus in the field.\n if (data != null && dropdownRef.current) {\n // get the focusable element from the dropdown.\n // consider element with tabindex=-1 as well.\n const firstFocusableElem = allTabbableElements(dropdownRef.current, undefined, true)[0];\n // focus the first element if it exists\n firstFocusableElem?.focus();\n\n // set the first row as current row if there is no current row at the moment\n if (currentRowOverride.rowKey === undefined) {\n setCurrentRowOverride({ rowKey: data.data[0]?.metadata?.key });\n }\n }\n // prevent the default action, since we are handling it\n event.preventDefault();\n break;\n }\n },\n [currentRowOverride, data, dropdownRef, setCurrentRowOverride]\n );\n\n /**\n * Handler for DropdownList.onKeyDown\n * This is used for handling:\n * - Pressing Tab when highlighted on a list item should select & commit that item as value\n */\n const handleListKeyDown = useCallback(\n (event: KeyboardEvent) => {\n switch (event.code) {\n case KEYS.TAB:\n // if there is a currentRow in the dropdown, select it and commit it\n if (currentRowKeyRef.current !== undefined && data != null && data.data.length > 0) {\n setSelectedKeys(new Set<K>([currentRowKeyRef.current]));\n onCommit(currentRowKeyRef.current, { reason: 'tabKey' });\n }\n break;\n }\n },\n [currentRowKeyRef, data, onCommit]\n );\n\n /**\n * Handler for ClearButton.onClick\n * This is for handling:\n * - on clicking the clear icon, the value & selection should be cleared.\n */\n const handleClearButtonClick = useCallback(() => {\n // reset the user filter and the value of the component\n stopFiltering();\n // clear the value\n clearValue({ reason: 'itemAction' });\n // set focus to the input\n inputRef.current?.focus();\n // call onFilter with undefined\n onFilter?.({ searchText: undefined });\n }, [clearValue, onFilter, stopFiltering]);\n\n /**\n * Create collection Renderer context. This will be used by the default\n * collectionRenderer.\n */\n const collectionRendererContext = useCollectionRenderer<K, D>({\n currentKey: currentRowOverride.rowKey,\n searchText,\n selectedKeys,\n onCurrentKeyChange,\n onItemAction: handleItemAction\n });\n\n // TODO: JET-73973 - ListView is not respecting TabbableMode\n // Currently List does not respect TabbableMode, so for now explicitly set tabindex=\"-1\".\n // When this bug is fixed, this useEffect can be removed.\n useEffect(() => {\n const list = dropdownRef.current?.querySelector('div[role=\"listbox\"][tabindex=\"0\"]');\n list?.setAttribute('tabindex', '-1');\n });\n\n return {\n collectionRendererContext,\n formFieldContext,\n hasUserAssistance: Boolean(assistiveText || helpSourceLink),\n isEmptyResults,\n isUserFiltering,\n labelProps: {\n ...labelProps,\n children: label\n } satisfies ComponentProps<typeof Label>,\n listContainerProps: {\n id: listId,\n dropdownListRef: dropdownRef,\n onKeyDown: handleListKeyDown\n } satisfies ComponentProps<typeof DropdownList>,\n selectSingleFieldProps: {\n contentVariant: 'input',\n // InlineSelectSingle currently only supports inside label.\n hasInsideLabel: true,\n isBackButtonShown: hasBackIcon === 'always',\n isClearButtonShown: hasClearIcon === 'conditionally' && valueItem !== undefined,\n onBackButtonClick: onBackIconAction,\n onClearButtonClick: handleClearButtonClick,\n styleVariant: 'embedded' as const\n } satisfies Omit<ComponentProps<typeof SelectSingleField>, 'children'>,\n selectFieldInputProps: {\n ...inputProps,\n 'aria-controls': listId,\n // InlineSelectSingle always have the list open, so it will always be in an expanded state.\n 'aria-expanded': true,\n displayValue,\n // InlineSelectSingle currently only supports inside label,\n // so it is expected to always have a label.\n hasEmptyLabel: false,\n // InlineSelectSingle currently only supports inside label.\n hasInsideLabel: true,\n inputRef,\n // InlineSelectSingle currently does not support Add to List.\n isAddToListShown: false,\n // InlineSelectSingle currently does not support Advanced Search.\n isAdvancedSearchShown: false,\n // InlineSelectSingle currently does not support Required.\n isRequired: false,\n isUserFiltering,\n liveRegionText,\n onInput: handleFieldInput,\n onKeyDown: handleFieldKeyDown,\n onKeyUp: handleFieldKeyUp,\n placeholder,\n textAlign,\n userInput,\n variant: 'embedded',\n virtualKeyboard\n } satisfies ComponentProps<typeof SelectSingleFieldInput>,\n userAssistanceProps: {\n ...userAssistanceProps,\n assistiveText,\n fieldLabel: label,\n helpSourceLink,\n helpSourceText\n } satisfies ComponentProps<typeof InlineUserAssistance>\n };\n}\n"],"names":["PREVENT_TABBING","isTabbable","InlineSelectSingle","forwardRef","props","ref","data","itemRenderer","itemText","label","onLoadRange","testId","userAssistancePosition","collectionRendererContext","formFieldContext","hasUserAssistance","isEmptyResults","isUserFiltering","labelProps","listContainerProps","selectSingleFieldProps","selectFieldInputProps","userAssistanceProps","ariaDescribedBy","assistiveText","hasBackIcon","hasClearIcon","helpSourceLink","helpSourceText","isLoading","propIsLoading","onBackIconAction","onCommit","propOnCommit","onFilter","placeholder","textAlign","propTextAlign","valueItem","virtualKeyboard","inputRef","useRef","formTextAlign","useFormContext","isDataFetched","isBeforeDataFetch","totalSize","prevDataRef","prevValueItemRef","isInitialRender","selectedKeys","setSelectedKeys","useState","undefined","Set","key","useLoadingIndicatorTimer","displayValue","useDisplayValue","useImperativeHandle","focus","current","blur","UNSAFE_DOM_ACCESS","currentRowKeyRef","currentRowOverride","dropdownRef","isFocused","onCurrentKeyChange","searchText","setCurrentRowOverride","stopFiltering","updateFiltering","userInput","useSelectCommon","baseId","inputProps","useTextField","value","listId","hasValue","translations","useTranslationBundle","liveRegionText","select_noMatchesFound","select_oneMatchFound","sizePrecision","select_sizeMatchesFound","TOTAL_SIZE","select_sizeOrMoreMatchesFound","offset","length","rowKey","isSearchTextEmptyOrUndefined","metadata","useCallback","previousValue","reason","clearValue","isClearValueNeeded","handleItemAction","detail","newKey","context","handleFieldInput","handleFieldKeyDown","event","isControlOrFunctionKey","code","KEYS","UP","DOWN","preventDefault","ENTER","TAB","isPhone","commitMetadata","handleFieldKeyUp","firstFocusableElem","allTabbableElements","handleListKeyDown","handleClearButtonClick","useCollectionRenderer","currentKey","onItemAction","useEffect","list","querySelector","setAttribute","Boolean","children","id","dropdownListRef","onKeyDown","contentVariant","hasInsideLabel","isBackButtonShown","isClearButtonShown","onBackButtonClick","onClearButtonClick","styleVariant","hasEmptyLabel","isAddToListShown","isAdvancedSearchShown","isRequired","onInput","onKeyUp","variant","fieldLabel","useInlineSelectSingle","defaultCollectionRenderer","onPersistCurrentRowKey","onRowAction","selected","currentRowKeyOverride","_jsx","DefaultList","currentItemVariant","selectionMode","userAssistance","View","minWidth","padding","jsx","InlineUserAssistance","Flex","direction","gap","maxHeight","width","_jsxs","FormFieldContext","Provider","flex","SelectSingleField","Label","SelectSingleFieldInput","Separator","DropdownList","hasBottomGap","hasTopGap","TabbableModeContext","EmptyResults","jsxs"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', './logger-0f873e29', 'preact/hooks', './Flex-07d2aa5b', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './LayerHost-daf96749', 'preact/compat', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', 'css!./IconStyle.styles.css', './IconButton-232d63fc', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-ea0be23e', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './ComponentMessageContainer-7d775a43', './FormContext-6b0879a0', './useFormContext-b8cbbb21', './FormFieldContext-a024b891', './useFormFieldContext-9260f081', './InlineHelp-1fc7b3a9', './useTranslationBundle-8e42d505', './useComponentTheme-5aa41a8f', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceTheme', './classNames-08d99695', './InputGroupContext-372087af', './useInputGroupContext-e6e19f4f', './useTestId-9afc201a'], (function(e,s,t,n,o,a,i,r,l,c,d,u,m,p,h,C,g,A,T,x,y,U,f,F,S,b,M,I,w,B,N,_,E,j,v,k,H,L,R,q,G){"use strict";function V({align:e="end",hasHelp:t=!1,hasMessages:n=!1}){const{classes:o}=k.useComponentTheme(H.UserAssistanceRedwoodTheme,{align:e,visible:t||n?"hide":"show"}),a=v.useTranslationBundle("@oracle/oraclejet-preact").userAssistance_required();return s.jsx("div",{class:o,children:a})}function D({variant:e="reflow",children:t,id:n,testId:o}){const{classes:a,styles:{inlineContainerBaseStyles:i}}=k.useComponentTheme(H.UserAssistanceRedwoodTheme,{container:e}),r=G.useTestId(o);if(null!==q.useInputGroupContext())return null;return s.jsx("div",{class:L.classNames([a,i]),id:n,...r,children:t})}e.InlineRequired=V,e.InlineUserAssistance=function({assistiveText:e,fieldLabel:t,helpSourceLink:n,helpSourceText:o,id:a,isRequiredShown:i,requiredAlignment:r,messages:l=[],userAssistanceDensity:c,testId:d}){const{isReadonly:u}=N.useFormContext(),m="efficient"===c&&!1===u,{isFocused:p}=E.useFormFieldContext(),h=l.length>0?s.jsx(w.ComponentMessageContainer,{fieldLabel:t,messages:l}):(e||n)&&p?s.jsx(j.InlineHelp,{assistiveText:e,sourceLink:n,sourceText:o}):i?s.jsx(V,{align:r}):null;return h||m?s.jsx(D,{id:a,variant:c,testId:d,children:h}):null},e.InlineUserAssistanceContainer=D}));
2
+ //# sourceMappingURL=InlineUserAssistance-e406e352.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InlineUserAssistance-e406e352.js","sources":["../../src/UNSAFE_UserAssistance/InlineRequired.tsx","../../src/UNSAFE_UserAssistance/InlineUserAssistanceContainer.tsx","../../src/UNSAFE_UserAssistance/InlineUserAssistance.tsx"],"sourcesContent":["import { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { UserAssistanceVariantOptions } from './themes/UserAssistanceStyles.css';\nimport { UserAssistanceRedwoodTheme } from './themes/redwood/UserAssistanceTheme';\n\ntype Props = {\n align?: 'start' | 'end';\n hasMessages?: boolean;\n hasHelp?: boolean;\n};\n\nexport function InlineRequired({ align = 'end', hasHelp = false, hasMessages = false }: Props) {\n const { classes } = useComponentTheme<UserAssistanceVariantOptions>(UserAssistanceRedwoodTheme, {\n align,\n visible: hasHelp || hasMessages ? 'hide' : 'show' // TODO: fix typing so that options autocomplete\n });\n\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const requiredStr = translations.userAssistance_required();\n\n return <div class={classes}>{requiredStr}</div>;\n}\n","import { ComponentChildren } from 'preact';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { UserAssistanceDensityType } from './InlineUserAssistance';\nimport {\n UserAssistanceStyles,\n UserAssistanceVariantOptions\n} from './themes/UserAssistanceStyles.css';\nimport { useInputGroupContext } from '../hooks/UNSAFE_useInputGroupContext';\nimport { UserAssistanceRedwoodTheme } from './themes/redwood/UserAssistanceTheme';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\n\ntype Props = {\n id?: string;\n children?: ComponentChildren;\n variant?: UserAssistanceDensityType;\n} & TestIdProps;\n\n// defaults to type='reflow'. If this is within an oj-form-layout, the o-f-l\n// will pass down its type which defaults to 'efficient' (TODO).\nexport function InlineUserAssistanceContainer({ variant = 'reflow', children, id, testId }: Props) {\n const {\n classes,\n styles: { inlineContainerBaseStyles }\n } = useComponentTheme<UserAssistanceVariantOptions, UserAssistanceStyles>(\n UserAssistanceRedwoodTheme,\n {\n container: variant\n }\n );\n\n const testIdProps = useTestId(testId);\n\n // we want to suppress the display of messages if it's in a group context\n const inputGroupContext = useInputGroupContext();\n if (inputGroupContext !== null) return null;\n\n const content = (\n <div class={classNames([classes, inlineContainerBaseStyles])} id={id} {...testIdProps}>\n {children}\n </div>\n );\n\n return content;\n}\n","import { ComponentProps } from 'preact';\nimport { ComponentMessageItem, ComponentMessageContainer } from '../UNSAFE_ComponentMessage';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { InlineHelp } from './InlineHelp';\nimport { InlineRequired } from './InlineRequired';\nimport { InlineUserAssistanceContainer } from './InlineUserAssistanceContainer';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\n\nexport type UserAssistanceDensityType = 'reflow' | 'efficient';\n\ntype Props = {\n assistiveText?: string;\n fieldLabel?: string;\n helpSourceLink?: string;\n helpSourceText?: string;\n id?: string;\n isRequiredShown?: boolean;\n requiredAlignment?: ComponentProps<typeof InlineRequired>['align'];\n messages?: ComponentMessageItem[];\n userAssistanceDensity?: UserAssistanceDensityType;\n} & TestIdProps;\n\n// This has the precedence rules for the user assistance.\nexport function InlineUserAssistance({\n assistiveText,\n fieldLabel,\n helpSourceLink,\n helpSourceText,\n id,\n isRequiredShown,\n requiredAlignment,\n messages = [],\n userAssistanceDensity,\n testId\n}: Props) {\n const { isReadonly: isFormReadonly } = useFormContext();\n const needsUserAssistanceIfNoContent =\n userAssistanceDensity === 'efficient' && isFormReadonly === false;\n const { isFocused } = useFormFieldContext();\n const uaInlineContent =\n messages.length > 0 ? (\n <ComponentMessageContainer fieldLabel={fieldLabel} messages={messages} />\n ) : (assistiveText || helpSourceLink) && isFocused ? (\n <InlineHelp\n assistiveText={assistiveText}\n sourceLink={helpSourceLink}\n sourceText={helpSourceText}\n />\n ) : isRequiredShown ? (\n <InlineRequired align={requiredAlignment} />\n ) : null;\n\n // when reflow we do not render unless it has content.\n // when efficient we render regardless of if it has content.\n // TODO: Get the userAssistanceDensity value from the FormContext\n return uaInlineContent || needsUserAssistanceIfNoContent ? (\n <InlineUserAssistanceContainer id={id} variant={userAssistanceDensity} testId={testId}>\n {uaInlineContent}\n </InlineUserAssistanceContainer>\n ) : null;\n}\n"],"names":["InlineRequired","align","hasHelp","hasMessages","classes","useComponentTheme","UserAssistanceRedwoodTheme","visible","requiredStr","useTranslationBundle","userAssistance_required","_jsx","class","children","InlineUserAssistanceContainer","variant","id","testId","styles","inlineContainerBaseStyles","container","testIdProps","useTestId","useInputGroupContext","classNames","assistiveText","fieldLabel","helpSourceLink","helpSourceText","isRequiredShown","requiredAlignment","messages","userAssistanceDensity","isReadonly","isFormReadonly","useFormContext","needsUserAssistanceIfNoContent","isFocused","useFormFieldContext","uaInlineContent","length","ComponentMessageContainer","InlineHelp","sourceLink","sourceText"],"mappings":"6lDAYgB,SAAAA,GAAeC,MAAEA,EAAQ,MAAKC,QAAEA,GAAU,EAAKC,YAAEA,GAAc,IAC7E,MAAMC,QAAEA,GAAYC,EAAiBA,kBAA+BC,6BAA4B,CAC9FL,QACAM,QAASL,GAAWC,EAAc,OAAS,SAIvCK,EADeC,uBAAiC,4BACrBC,0BAEjC,OAAOC,EAAAA,WAAKC,MAAOR,EAAUS,SAAAL,GAC/B,CCFgB,SAAAM,GAA8BC,QAAEA,EAAU,SAAQF,SAAEA,EAAQG,GAAEA,EAAEC,OAAEA,IAChF,MAAMb,QACJA,EACAc,QAAQC,0BAAEA,IACRd,EAAiBA,kBACnBC,6BACA,CACEc,UAAWL,IAITM,EAAcC,YAAUL,GAI9B,GAA0B,OADAM,EAAAA,uBACM,OAAO,KAQvC,OALEZ,EAAAA,IAAK,MAAA,CAAAC,MAAOY,EAAAA,WAAW,CAACpB,EAASe,IAA6BH,GAAIA,KAAQK,EACvER,SAAAA,GAKP,2CCpBM,UAA+BY,cACnCA,EAAaC,WACbA,EAAUC,eACVA,EAAcC,eACdA,EAAcZ,GACdA,EAAEa,gBACFA,EAAeC,kBACfA,EAAiBC,SACjBA,EAAW,GAAEC,sBACbA,EAAqBf,OACrBA,IAEA,MAAQgB,WAAYC,GAAmBC,EAAcA,iBAC/CC,EACsB,cAA1BJ,IAA4D,IAAnBE,GACrCG,UAAEA,GAAcC,EAAAA,sBAChBC,EACJR,EAASS,OAAS,EAChB7B,EAAAA,IAAC8B,EAAAA,0BAAyB,CAACf,WAAYA,EAAYK,SAAUA,KAC1DN,GAAiBE,IAAmBU,EACvC1B,EAAAA,IAAC+B,EAAAA,WAAU,CACTjB,cAAeA,EACfkB,WAAYhB,EACZiB,WAAYhB,IAEZC,EACFlB,EAAAA,IAACX,EAAe,CAAAC,MAAO6B,IACrB,KAKN,OAAOS,GAAmBH,EACxBzB,EAAAA,IAACG,EAA6B,CAACE,GAAIA,EAAID,QAASiB,EAAuBf,OAAQA,EAAMJ,SAClF0B,IAED,IACN"}
@@ -0,0 +1,2 @@
1
+ define(['exports', 'preact/jsx-runtime', 'preact/compat', 'preact/hooks', './swatchData-ef8329c2', './clientHints-6d361eaa', './FormFieldContext-a024b891', './logger-0f873e29', './TabbableModeContext-a9c97640', './useTranslationBundle-8e42d505', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-e406e352', './Flex-07d2aa5b', 'css!./MessageBannerStyles.styles.css', 'module', './UNSAFE_MessageBanner/themes/redwood/MessageBannerVariants.css', 'preact', './LayerHost-daf96749', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-ae57629b', 'css!./IconStyle.styles.css', './IconButton-232d63fc', 'css!./MessageStyles.styles.css', './MessageFormattingUtils-ea0be23e', './TransitionGroup-3b9d81b6', './MessagesContext-602a69a2', 'css!./HiddenAccessibleStyles.styles.css', 'css!./ComponentMessageStyles.styles.css', 'module', './UNSAFE_ComponentMessage/themes/redwood/ComponentMessageVariants.css', './Popup-695781d6', './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_InputColor/themes/InputColorPickerDropdownStyles.css', './Sheet-c7f3fe2d', './ColorPicker-d578df9c', './SectionedContent-054e2fc2', './ColorSwatch-57d78771', './useDownToggle-80b61b43', './useClearIcon-05225968', './useFocusableTextField-8b755b15', './FormContext-6b0879a0', './useFormContext-b8cbbb21', './useHover-8b8a1496', './useTextField-3ab0a23b', './Label-3c17bcc9', './keyboardUtils-fb6219eb', './TextFieldInput-eb40adaa', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-e5723c48', './StyledTextField-5e554e5b', './TextField-51b63f5f', 'css!./LiveRegionStyles.styles.css', './UNSAFE_TextField/themes/TextFieldStyles.css', 'css!./SkeletonStyles.styles.css', 'css!./TextFieldLoadingStyles.styles.css', 'css!./TextFieldStyles.styles.css', 'module', './UNSAFE_TextField/themes/redwood/TextFieldVariants.css', './CompactUserAssistance-5ef03b0a', './mergeProps-bcfa6a92', './ClearIcon-13bd61d3', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860'], (function(e,s,t,o,a,l,n,r,i,c,d,u,p,m,b,h,y,x,C,S,f,v,F,T,g,A,I,R,w,V,U,k,D,E,j,P,_,B,L,H,M,N,O,z,W,q,G,K,Z,$,J,Q,X,Y,ee,se,te,oe,ae,le,ne,re,ie,ce,de,ue,pe,me,be,he,ye,xe,Ce){"use strict";const Se=({anchorRef:e,assistiveText:t,swatchSize:a,palette:l,helpSourceLink:r,helpSourceText:i,isDisabled:d,isOpen:u,isReadonly:p,label:b,onClose:h,onCommit:y,messages:x,testId:C,userAssistanceDensity:S,value:f})=>{const[v,F]=o.useState(!1),[T,g]=o.useState(u),A=o.useCallback((e=>{F(e.placement.startsWith("top"))}),[]);T!==u&&(g(u),u||F(!1));const I=fe(),{colorPicker_label:R}=c.useTranslationBundle("@oracle/oraclejet-preact"),w=R(),V=s.jsx(W.ColorPicker,{height:I?void 0:"auto",onCommit:y,maxWidth:I?"100%":void 0,width:"100%",swatchSize:a,palette:l,testId:C,value:f}),U=!u||v&&!I||d||p||!(t||r||x&&x.length>0)||"efficient"!==S&&"reflow"!==S?void 0:s.jsx(n.FormFieldContext.Provider,{value:{isFocused:!0},children:s.jsx("div",{class:O.userAssistanceStyles,children:s.jsx(m.InlineUserAssistance,{assistiveText:t,fieldLabel:b,helpSourceLink:r,helpSourceText:i,messages:x,userAssistanceDensity:S})})}),k=C?C+(I?"_sheet":"_dropdown"):void 0,D=s.jsx("div",{class:O.dropdownStyles,children:s.jsx(q.SectionedContent,{paddingBlockEnd:"3.5x",paddingBlockStart:"3.5x",paddingInlineEnd:"3.5x",paddingInlineStart:"3.5x","aria-label":w,footer:U,hasFocusTrap:!0,main:V,role:"dialog",testId:k})});return I?s.jsx(z.Sheet,{isOpen:u,onClose:h,children:s.jsx(q.SectionedContent,{"aria-label":w,footer:U,hasFocusTrap:!0,main:V,role:"dialog",testId:k})}):s.jsx(q.StickyPositioningDropdown,{anchorRef:e,isOpen:u,onClose:h,onPosition:A,sizeOptions:{isMaxWidthAdjusted:!1,isMaxHeightAdjusted:!0},children:D})},fe=()=>"phone"===l.getClientHints().deviceType,ve=(e,s)=>{switch(s.type){case"colorChanged":case"colorSelected":return{...e,colorValue:s.data};case"reset":return{colorValue:s.data};default:return e}},Fe=({onCommit:e,onInput:s,value:t})=>{const[l,n]=o.useState(!1),r=o.useRef(null),i=o.useRef(null),c=o.useRef(!1),d=o.useRef(),u=o.useRef(t),p=o.useRef(t),m=o.useRef(t),b=o.useRef(!1),{state:h,dispatch:y}=(({value:e})=>{const[s,t]=o.useReducer(ve,{colorValue:e});return{state:s,dispatch:t}})({value:t});a.colorsAreDifferent(m.current,t)&&(m.current=t,a.colorsAreDifferent(t,h.colorValue)&&(y({type:"reset",data:t}),p.current=t,u.current=t)),o.useEffect((()=>{a.colorsAreDifferent(h.colorValue,p.current)&&(s({previousValue:p.current,value:h.colorValue}),p.current=h.colorValue),b.current&&a.colorsAreDifferent(h.colorValue,u.current)&&(e?.({previousValue:u.current,value:h.colorValue}),u.current=h.colorValue,b.current=!1)}),[e,s,h.colorValue]);const x=o.useCallback((e=>{y({type:"colorChanged",data:e.value})}),[y]),C=o.useCallback((()=>{a.colorsAreDifferent(u.current,h.colorValue)&&(e?.({value:h.colorValue,previousValue:u.current}),u.current=h.colorValue)}),[e,h.colorValue]),S=o.useCallback((()=>{c.current||n((e=>!e)),c.current=!1}),[]),f=o.useCallback((e=>{"outsideMousedown"===e.reason?(c.current=!0,clearTimeout(d.current),d.current=setTimeout((()=>{c.current=!1}),200)):"dismissed"!==e.reason&&"keyboardDismissed"!==e.reason||r.current?.focus(),n(!1)}),[]),v=o.useCallback((e=>{r.current?.focus(),b.current=!0,y({type:"colorSelected",data:e.value}),n(!1)}),[y]),F=o.useCallback((()=>{n(!0)}),[]),{triggerProps:T}=K.useDownToggle({isOpen:l,onToggle:F});return{colorIconActionHandler:S,colorPickerCommitHandler:v,dropdownCloseHandler:f,containerDropdownProps:T,colorValue:h.colorValue,iconRef:r,isOpen:l,colorCommitHandler:C,colorInputHandler:x,colorRef:i}},Te=t.forwardRef((({"aria-describedby":e,swatchSize:t,palette:l,value:r,isDisabled:i,isReadonly:d,labelEdge:u,labelStartWidth:p,isRequiredShown:b=!1,isRequired:h=!1,placeholder:y,hasClearIcon:x,columnSpan:C,textAlign:S,autoComplete:f,messages:v,assistiveText:F,helpSourceLink:T,helpSourceText:g,label:A,onCommit:I,onInput:R,testId:w,variant:V,userAssistanceDensity:U},k)=>{const{colorIconActionHandler:D,colorPickerCommitHandler:E,dropdownCloseHandler:j,colorValue:P,containerDropdownProps:_,iconRef:B,isOpen:L,colorCommitHandler:H,colorInputHandler:M,colorRef:N}=Fe({onCommit:I,onInput:R,value:r}),O=o.useRef(null),{inputColor_selectColor:z}=c.useTranslationBundle("@oracle/oraclejet-preact"),W=z(),{onKeyDown:q,...K}=_,{currentCommitValue:J,dispatch:se}=xe.useCurrentValueReducer({value:P}),oe=o.useCallback((e=>{se({type:"input",payload:e.value}),M?.(e)}),[M,se]),re=o.useCallback((e=>{se({type:"commit",payload:e.value}),H?.(e)}),[H,se]),{isDisabled:ie,isReadonly:ce,labelEdge:de,labelStartWidth:ue,textAlign:pe,userAssistanceDensity:me}=Q.useFormContext(),fe=i??ie,ve=d??ce,Te=u??de,Ae=p??ue,Ie=S??pe,Re=U??me,we=o.useRef(null),{focusProps:Ve,isFocused:Ue,methods:ke}=$.useFocusableTextField({isDisabled:fe,isReadonly:ve,enabledElementRef:N,readonlyElementRef:we}),{methods:De}=Ce.useSelectableTextField(N);o.useImperativeHandle(k,(()=>he.mergeProps(ke,De)),[ke,De]);const{hoverProps:Ee,isHover:je}=X.useHover({isDisabled:ve||fe||!1}),{formFieldContext:Pe,inputProps:_e,labelProps:Be,textFieldProps:Le,userAssistanceProps:He}=Y.useTextField({ariaDescribedBy:e,helpSourceLink:T,helpSourceText:g,isDisabled:fe,isFocused:Ue||L,isReadonly:ve,isRequiredShown:b,labelEdge:Te,messages:v,styleVariant:V,userAssistanceDensity:Re,value:P}),Me=o.useCallback((()=>{N.current?.focus(),oe?.({previousValue:P,value:void 0})}),[oe,P,N]),Ne=Z.useClearIcon({clearIcon:s.jsx(ye.ClearIcon,{onClick:Me,testId:`${w}_clearicon`}),display:x,hasValue:Pe.hasValue,isFocused:Ue,isEnabled:!ve&&!fe,isHover:je}),Oe=void 0!==A&&"inside"===Te,ze="none"!==Te?s.jsx(ee.Label,{...Be,children:A}):void 0,We={label:"none"!==Te?ze:void 0,labelEdge:"none"!==Te?Te:void 0,labelStartWidth:"none"!==Te?Ae:void 0},qe="none"===Te?A:void 0,Ge="efficient"===Re||"reflow"===Re?fe||ve?"efficient"!==Re?void 0:s.jsx(m.InlineUserAssistance,{userAssistanceDensity:Re,...He}):s.jsx(m.InlineUserAssistance,{assistiveText:F,fieldLabel:A,helpSourceLink:T,helpSourceText:g,messages:v,isRequiredShown:b,userAssistanceDensity:Re,...He}):void 0,Ke=o.useRef(null),Ze=O??Ke,$e="compact"===Re?s.jsx(be.CompactUserAssistance,{anchorRef:Ze,messages:v,assistiveText:F,...He}):void 0,Je=ve?s.jsx(ae.ReadonlyTextFieldInput,{"aria-describedby":_e["aria-describedby"],"aria-label":qe,"aria-labelledby":Be.id,as:"div",elementRef:we,textAlign:Ie,value:P,hasEmptyLabel:""===A&&"none"===Te,hasInsideLabel:Oe}):s.jsx(te.TextFieldInput,{"aria-labelledby":Be.id,"aria-label":qe,autoComplete:f,currentCommitValue:J,hasEmptyLabel:""===A&&"none"===Te,hasEndContent:!1,hasInsideLabel:void 0!==ze&&"inside"===Te,hasStartContent:!0,inputRef:N,isRequired:h,placeholder:y,textAlign:Ie,type:ge()?"text":void 0,value:P,onCommit:re,onInput:oe,onKeyDown:q,..._e});return s.jsxs(s.Fragment,{children:[s.jsx(n.FormFieldContext.Provider,{value:Pe,children:ve?s.jsx(le.ReadonlyTextField,{role:"presentation",columnSpan:C,compactUserAssistance:$e,inlineUserAssistance:Ge,onBlur:Ve.onFocusOut,onFocus:Ve.onFocusIn,ref:Ze,mainContent:Je,testId:w,...We}):s.jsx(ne.TextField,{endContent:Ne,columnSpan:C,compactUserAssistance:$e,inlineUserAssistance:Ge,mainContent:Je,onBlur:Ve.onFocusOut,onFocus:Ve.onFocusIn,startContent:s.jsx(G.ColorSwatch,{size:"xs","aria-haspopup":l?"grid":void 0,"aria-label":l?W:void 0,isDisabled:fe,isButton:!0,isTooltipDisabled:L,ref:B,testId:w?w+"_colorIcon":void 0,value:J,onToggle:fe||!l?void 0:D}),mainFieldRef:Ze,hasZeroStartMargin:!0,testId:w,...Le,...We,...Ee,...K})}),L&&!ve&&!fe&&s.jsx(Se,{anchorRef:O,assistiveText:F,helpSourceLink:T,helpSourceText:g,isDisabled:fe,isReadonly:ve,isOpen:L,label:A,onClose:j,onCommit:E,messages:v,testId:w?w+"_colorPicker":void 0,userAssistanceDensity:Re,value:P&&a.isValidColorValue(P)?P:void 0,palette:l,swatchSize:t})]})}));function ge(){const e=l.getClientHints().deviceType;return"phone"===e||"tablet"===e}Te.displayName="InputColor",e.InputColor=Te}));
2
+ //# sourceMappingURL=InputColor-192a309b.js.map