@oracle/oraclejet-preact 18.0.5 → 18.0.7

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 (2054) hide show
  1. package/amd/ActionCard-3f86f73f.js +1 -1
  2. package/amd/BarChart-5e9f46b4.js +1 -1
  3. package/amd/BarGroup-76ef0839.js +1 -1
  4. package/amd/BaseButton-19a622bc.js +1 -1
  5. package/amd/BaseCardView-ab799b69.js +2 -0
  6. package/amd/BaseCardView-ab799b69.js.map +1 -0
  7. package/amd/BaseCardViewSelectionTest-d026d26c.js +2 -0
  8. package/amd/BaseCardViewSelectionTest-d026d26c.js.map +1 -0
  9. package/amd/BaseNavigationListItem-fe9cb691.js +1 -1
  10. package/amd/BaseRichSelection-9d8f3ee4.js +1 -1
  11. package/amd/ButtonSet-d95872cc.js +1 -1
  12. package/amd/ButtonSetIconButton-7a2c113c.js +1 -1
  13. package/amd/Card-8e081def.js +2 -0
  14. package/amd/Card-8e081def.js.map +1 -0
  15. package/amd/CardFlexView-296f97f5.js +2 -0
  16. package/amd/CardFlexView-296f97f5.js.map +1 -0
  17. package/amd/CardGridView-054ffc3f.js +2 -0
  18. package/amd/CardGridView-054ffc3f.js.map +1 -0
  19. package/amd/Center-9ec5524e.js +2 -0
  20. package/amd/Center-9ec5524e.js.map +1 -0
  21. package/amd/Chart-e2807ff7.js +1 -1
  22. package/amd/CheckboxControl-83484a5a.js +1 -1
  23. package/amd/CheckboxRadioField-9733dd24.js +1 -1
  24. package/amd/Chip-cd210507.js +1 -1
  25. package/amd/ClearIcon-de20285c.js +1 -1
  26. package/amd/CollapseIcon-e030531c.js +1 -1
  27. package/amd/Collapsible-924afd71.js +1 -1
  28. package/amd/ComboChart-71c0f51f.js +1 -1
  29. package/amd/CompactHelpSource-74498e92.js +1 -1
  30. package/amd/CompactLabelAssistance-c6928282.js +2 -0
  31. package/amd/CompactLabelAssistance-c6928282.js.map +1 -0
  32. package/amd/CompactUserAssistance-3370a318.js +1 -1
  33. package/amd/ComponentMessageContainer-8028ba70.js +1 -1
  34. package/amd/ConveyorBeltItem-08720127.js +1 -1
  35. package/amd/DatePicker-bf0e0c69.js +2 -0
  36. package/amd/DatePicker-bf0e0c69.js.map +1 -0
  37. package/amd/DatePickerHeader-f21e020d.js +1 -1
  38. package/amd/Diagram-04db0931.js +2 -0
  39. package/amd/Diagram-04db0931.js.map +1 -0
  40. package/amd/Dialog-5f36f8aa.js +2 -0
  41. package/amd/Dialog-5f36f8aa.js.map +1 -0
  42. package/amd/DirectionalCollapseArrowIcon-20cef34d.js +1 -1
  43. package/amd/DirectionalExpandArrowIcon-e9bdb06e.js +1 -1
  44. package/amd/DragHandle-406d7f9a.js +2 -0
  45. package/amd/DragHandle-406d7f9a.js.map +1 -0
  46. package/amd/Dropdown-abcacf49.js +2 -0
  47. package/amd/Dropdown-abcacf49.js.map +1 -0
  48. package/amd/EnvironmentProvider-c0e1e39b.js +2 -0
  49. package/amd/EnvironmentProvider-c0e1e39b.js.map +1 -0
  50. package/amd/ExpandableList-dd3a05b4.js +1 -1
  51. package/amd/FilePicker-4636b49b.js +1 -1
  52. package/amd/Flex-3421f0df.js +2 -0
  53. package/amd/Flex-3421f0df.js.map +1 -0
  54. package/amd/Floating-5d98c1ca.js +2 -0
  55. package/amd/Floating-5d98c1ca.js.map +1 -0
  56. package/amd/FormLayout-a4a29a2d.js +1 -1
  57. package/amd/Gantt-d94af58e.js +1 -1
  58. package/amd/Grid-8911aa0f.js +2 -0
  59. package/amd/Grid-8911aa0f.js.map +1 -0
  60. package/amd/Gridlines-bef7bbfc.js +2 -0
  61. package/amd/Gridlines-bef7bbfc.js.map +1 -0
  62. package/amd/GroupLoadingIndicator-6b2ab709.js +1 -1
  63. package/amd/HighlightText-644bc74e.js +2 -0
  64. package/amd/HighlightText-644bc74e.js.map +1 -0
  65. package/amd/Icon-2d38c876.js +1 -1
  66. package/amd/IconButton-ae9a01ce.js +1 -1
  67. package/amd/IconMenuButton-b0468fa8.js +1 -1
  68. package/amd/IconProgressButton-ff5372eb.js +1 -1
  69. package/amd/IconSwitchButton-22f907e7.js +1 -1
  70. package/amd/IconToggleButton-20d411e6.js +1 -1
  71. package/amd/IconUserAssistance-37107cea.js +2 -0
  72. package/amd/IconUserAssistance-37107cea.js.map +1 -0
  73. package/amd/Indexer-1531dbc3.js +2 -0
  74. package/amd/Indexer-1531dbc3.js.map +1 -0
  75. package/amd/InlineHelpSource-85961e81.js +1 -1
  76. package/amd/InlineUserAssistance-4656c2a6.js +1 -1
  77. package/amd/InputDateMask-6d54c3e6.js +1 -1
  78. package/amd/InputDatePicker-fc39f0a6.js +1 -1
  79. package/amd/InputPassword-f6ea728a.js +1 -1
  80. package/amd/InputText-57f60b6f.js +1 -1
  81. package/amd/Label-3912beb2.js +1 -1
  82. package/amd/LabelValueLayout-194e64d9.js +1 -1
  83. package/amd/Layer-6f29b67f.js +2 -0
  84. package/amd/Layer-6f29b67f.js.map +1 -0
  85. package/amd/LayerHost-639b3284.js +2 -0
  86. package/amd/LayerHost-639b3284.js.map +1 -0
  87. package/amd/LayerManager-2972de92.js +2 -0
  88. package/amd/LayerManager-2972de92.js.map +1 -0
  89. package/amd/Legend-e4949499.js +1 -1
  90. package/amd/LineAreaChart-2ba275ab.js +2 -0
  91. package/amd/LineAreaChart-2ba275ab.js.map +1 -0
  92. package/amd/LineSeries-797d8d16.js +2 -0
  93. package/amd/LineSeries-797d8d16.js.map +1 -0
  94. package/amd/Link-c4a57187.js +1 -1
  95. package/amd/List-0b764e84.js +2 -0
  96. package/amd/List-0b764e84.js.map +1 -0
  97. package/amd/ListItemLayout-e0b2c71e.js +2 -0
  98. package/amd/ListItemLayout-e0b2c71e.js.map +1 -0
  99. package/amd/ListView-5bb45f81.js +2 -0
  100. package/amd/ListView-5bb45f81.js.map +1 -0
  101. package/amd/LiveRegion-9a362373.js +2 -0
  102. package/amd/LiveRegion-9a362373.js.map +1 -0
  103. package/amd/LoadMoreCollection-83413a59.js +2 -0
  104. package/amd/LoadMoreCollection-83413a59.js.map +1 -0
  105. package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
  106. package/amd/MaxLengthLiveRegion-bb956138.js.map +1 -0
  107. package/amd/Menu-5d447084.js +1 -1
  108. package/amd/MenuButton-410aa4e1.js +1 -1
  109. package/amd/MenuItem-87cd59b8.js +1 -1
  110. package/amd/Message-621fb578.js +1 -1
  111. package/amd/MessageLayer-8bac8c50.js +2 -0
  112. package/amd/MessageLayer-8bac8c50.js.map +1 -0
  113. package/amd/MessageToast-06773c79.js +1 -1
  114. package/amd/MessagesManager-d5686336.js +1 -1
  115. package/amd/MeterBar-e1b4a93b.js +1 -1
  116. package/amd/MeterCircle-9887cf28.js +1 -1
  117. package/amd/Modal-7bece8d5.js +2 -0
  118. package/amd/Modal-7bece8d5.js.map +1 -0
  119. package/amd/MonthView-3d0968a1.js +2 -0
  120. package/amd/MonthView-3d0968a1.js.map +1 -0
  121. package/amd/NavigationListItem-044a79fd.js +2 -0
  122. package/amd/NavigationListItem-044a79fd.js.map +1 -0
  123. package/amd/NumberInputText-cac12eb3.js +1 -1
  124. package/amd/OverflowTabBar-339f34cf.js +2 -0
  125. package/amd/OverflowTabBar-339f34cf.js.map +1 -0
  126. package/amd/OverflowTabBarItem-c59db4a2.js +2 -0
  127. package/amd/OverflowTabBarItem-c59db4a2.js.map +1 -0
  128. package/amd/PRIVATE_BaseCardView.js +1 -1
  129. package/amd/PRIVATE_Chart.js +1 -1
  130. package/amd/PRIVATE_CheckboxControl.js +1 -1
  131. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  132. package/amd/PRIVATE_ClearIcon.js +1 -1
  133. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  134. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  135. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  136. package/amd/PRIVATE_FormControls.js +1 -1
  137. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  138. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  139. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  140. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  141. package/amd/PRIVATE_Icons/DragV.js +1 -1
  142. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  143. package/amd/PRIVATE_List.js +1 -1
  144. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  145. package/amd/PRIVATE_Message.js +1 -1
  146. package/amd/PRIVATE_MessageLayer.js +1 -1
  147. package/amd/PRIVATE_MonthView.js +1 -1
  148. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  149. package/amd/PRIVATE_PlotArea.js +1 -1
  150. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  151. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  152. package/amd/PRIVATE_SelectCommon.js +1 -1
  153. package/amd/PRIVATE_StyledCard.js +1 -1
  154. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  155. package/amd/PRIVATE_Table.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  180. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  181. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  182. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  183. package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
  184. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  185. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  186. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  187. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  188. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  189. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  190. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  191. package/amd/PRIVATE_TimeComponent.js +1 -1
  192. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  193. package/amd/PRIVATE_VisOverview.js +1 -1
  194. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  195. package/amd/PictoChart-48a25c75.js +1 -1
  196. package/amd/PieChart-2197746d.js +1 -1
  197. package/amd/Popup-66e79afa.js +2 -0
  198. package/amd/Popup-66e79afa.js.map +1 -0
  199. package/amd/ProgressBar-e72c5a67.js +2 -0
  200. package/amd/ProgressBar-e72c5a67.js.map +1 -0
  201. package/amd/ProgressButton-f1d27773.js +1 -1
  202. package/amd/ProgressButtonLabelLayout-6df4290e.js +1 -1
  203. package/amd/ProgressCircle-2b4ba9cd.js +2 -0
  204. package/amd/ProgressCircle-2b4ba9cd.js.map +1 -0
  205. package/amd/RadioItem-b17c346c.js +1 -1
  206. package/amd/RatingGauge-539ede8e.js +1 -1
  207. package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
  208. package/amd/RemovableNavigationListItem-e01b6693.js +1 -1
  209. package/amd/RemovableTabBarItem-29b54206.js +1 -1
  210. package/amd/ReorderableTabBar-462d357c.js +1 -1
  211. package/amd/RevealToggleIcon-f975229d.js +1 -1
  212. package/amd/ScatterChart-7f0b817b.js +2 -0
  213. package/amd/ScatterChart-7f0b817b.js.map +1 -0
  214. package/amd/SectionalLegend-8f203cac.js +1 -1
  215. package/amd/SectionedContent-19bef3cc.js +2 -0
  216. package/amd/SectionedContent-19bef3cc.js.map +1 -0
  217. package/amd/SelectMultiple-7e9bd455.js +2 -0
  218. package/amd/SelectMultiple-7e9bd455.js.map +1 -0
  219. package/amd/SelectSingle-466bcd67.js +2 -0
  220. package/amd/SelectSingle-466bcd67.js.map +1 -0
  221. package/amd/SelectionCard-13aac54a.js +2 -0
  222. package/amd/SelectionCard-13aac54a.js.map +1 -0
  223. package/amd/Selector-2b0c34a7.js +1 -1
  224. package/amd/SelectorAll-1c889a9c.js +2 -0
  225. package/amd/SelectorAll-1c889a9c.js.map +1 -0
  226. package/amd/Sheet-0b58b0a5.js +2 -0
  227. package/amd/Sheet-0b58b0a5.js.map +1 -0
  228. package/amd/SplitMenuButton-031ae5e3.js +1 -1
  229. package/amd/StyledCard-0da6f6b5.js +2 -0
  230. package/amd/StyledCard-0da6f6b5.js.map +1 -0
  231. package/amd/StyledTextField-b4278437.js +1 -1
  232. package/amd/TabBar-d8890a47.js +1 -1
  233. package/amd/TabBarItem-547825e2.js +1 -1
  234. package/amd/TabBarLayout-685ac295.js +1 -1
  235. package/amd/TabBarMixed-a75796a6.js +1 -1
  236. package/amd/TabBarMixedSeparator-ed764207.js +2 -0
  237. package/amd/TabBarMixedSeparator-ed764207.js.map +1 -0
  238. package/amd/Table-87f7e3c4.js +2 -0
  239. package/amd/Table-87f7e3c4.js.map +1 -0
  240. package/amd/TableView-2b884e2c.js +2 -0
  241. package/amd/TableView-2b884e2c.js.map +1 -0
  242. package/amd/TagCloud-5dc4b5ff.js +1 -1
  243. package/amd/TextArea-a7a3d82f.js +1 -1
  244. package/amd/TextAreaAutosize-9cd2c1e8.js +1 -1
  245. package/amd/TextField-1021f00b.js +1 -1
  246. package/amd/TextFieldInput-ba4e508c.js +1 -1
  247. package/amd/Theme-redwood/theme.css +143 -143
  248. package/amd/Theme-stable/theme.css +389 -389
  249. package/amd/TimeComponentCanvas2D-6b4e6ead.js +1 -1
  250. package/amd/Toolbar-05d42276.js +1 -1
  251. package/amd/TruncatingBadge-7f66faaf.js +2 -0
  252. package/amd/TruncatingBadge-7f66faaf.js.map +1 -0
  253. package/amd/TruncatingText-69770aa9.js +2 -0
  254. package/amd/TruncatingText-69770aa9.js.map +1 -0
  255. package/amd/UNSAFE_ActionCard.js +1 -1
  256. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  257. package/amd/UNSAFE_BarChart.js +1 -1
  258. package/amd/UNSAFE_BaseButton.js +1 -1
  259. package/amd/UNSAFE_Button.js +1 -1
  260. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  261. package/amd/UNSAFE_ButtonSet.js +1 -1
  262. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  263. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  264. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  265. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  266. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  267. package/amd/UNSAFE_Card.js +1 -1
  268. package/amd/UNSAFE_CardFlexView.js +1 -1
  269. package/amd/UNSAFE_CardGridView.js +1 -1
  270. package/amd/UNSAFE_Center.js +1 -1
  271. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  272. package/amd/UNSAFE_Checkbox.js +1 -1
  273. package/amd/UNSAFE_CheckboxItem.js +1 -1
  274. package/amd/UNSAFE_CheckboxSet.js +1 -1
  275. package/amd/UNSAFE_Chip.js +1 -1
  276. package/amd/UNSAFE_Collapsible.js +1 -1
  277. package/amd/UNSAFE_ComboChart.js +1 -1
  278. package/amd/UNSAFE_ComponentMessage.js +1 -1
  279. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  280. package/amd/UNSAFE_DatePicker.js +1 -1
  281. package/amd/UNSAFE_Diagram.js +1 -1
  282. package/amd/UNSAFE_Dialog.js +1 -1
  283. package/amd/UNSAFE_DragHandle.js +1 -1
  284. package/amd/UNSAFE_DrawerLayout.js +1 -1
  285. package/amd/UNSAFE_DrawerPopup.js +1 -1
  286. package/amd/UNSAFE_Dropdown.js +1 -1
  287. package/amd/UNSAFE_Environment.js +1 -1
  288. package/amd/UNSAFE_ExpandableList.js +1 -1
  289. package/amd/UNSAFE_FilePicker.js +1 -1
  290. package/amd/UNSAFE_Flex.js +1 -1
  291. package/amd/UNSAFE_Floating.js +1 -1
  292. package/amd/UNSAFE_FormLayout.js +1 -1
  293. package/amd/UNSAFE_Gantt.js +1 -1
  294. package/amd/UNSAFE_Grid.js +1 -1
  295. package/amd/UNSAFE_HighlightText.js +1 -1
  296. package/amd/UNSAFE_Icon.js +1 -1
  297. package/amd/UNSAFE_IconButton.js +1 -1
  298. package/amd/UNSAFE_IconMenuButton.js +1 -1
  299. package/amd/UNSAFE_IconProgressButton.js +1 -1
  300. package/amd/UNSAFE_IconToggleButton.js +1 -1
  301. package/amd/UNSAFE_Indexer.js +1 -1
  302. package/amd/UNSAFE_InputDateMask.js +1 -1
  303. package/amd/UNSAFE_InputDatePicker.js +1 -1
  304. package/amd/UNSAFE_InputPassword.js +1 -1
  305. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  306. package/amd/UNSAFE_InputText.js +1 -1
  307. package/amd/UNSAFE_InputTimeMask.js +1 -1
  308. package/amd/UNSAFE_Label.js +1 -1
  309. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  310. package/amd/UNSAFE_LabelledLink.js +1 -1
  311. package/amd/UNSAFE_Layer.js +1 -1
  312. package/amd/UNSAFE_Legend.js +1 -1
  313. package/amd/UNSAFE_LineAreaChart.js +1 -1
  314. package/amd/UNSAFE_Link.js +1 -1
  315. package/amd/UNSAFE_ListItemLayout.js +1 -1
  316. package/amd/UNSAFE_ListView.js +1 -1
  317. package/amd/UNSAFE_LiveRegion.js +1 -1
  318. package/amd/UNSAFE_Menu.js +1 -1
  319. package/amd/UNSAFE_MenuButton.js +1 -1
  320. package/amd/UNSAFE_MessageBanner.js +1 -1
  321. package/amd/UNSAFE_MessageToast.js +1 -1
  322. package/amd/UNSAFE_MeterBar.js +1 -1
  323. package/amd/UNSAFE_MeterCircle.js +1 -1
  324. package/amd/UNSAFE_Modal.js +1 -1
  325. package/amd/UNSAFE_NavigationList.js +1 -1
  326. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  327. package/amd/UNSAFE_NumberInputText.js +1 -1
  328. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  329. package/amd/UNSAFE_PictoChart.js +1 -1
  330. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  331. package/amd/UNSAFE_PieChart.js +1 -1
  332. package/amd/UNSAFE_Popup.js +1 -1
  333. package/amd/UNSAFE_ProgressBar.js +1 -1
  334. package/amd/UNSAFE_ProgressButton.js +1 -1
  335. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  336. package/amd/UNSAFE_ProgressCircle.js +1 -1
  337. package/amd/UNSAFE_RadioItem.js +1 -1
  338. package/amd/UNSAFE_RadioSet.js +1 -1
  339. package/amd/UNSAFE_RatingGauge.js +1 -1
  340. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  341. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  342. package/amd/UNSAFE_RichRadioSet.js +1 -1
  343. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  344. package/amd/UNSAFE_ScatterChart.js +1 -1
  345. package/amd/UNSAFE_SectionalLegend.js +1 -1
  346. package/amd/UNSAFE_SelectMultiple.js +1 -1
  347. package/amd/UNSAFE_SelectSingle.js +1 -1
  348. package/amd/UNSAFE_SelectionCard.js +1 -1
  349. package/amd/UNSAFE_Selector.js +1 -1
  350. package/amd/UNSAFE_SelectorAll.js +1 -1
  351. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  352. package/amd/UNSAFE_Sheet.js +1 -1
  353. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  354. package/amd/UNSAFE_TabBar.js +1 -1
  355. package/amd/UNSAFE_TabBarCommon.js +1 -1
  356. package/amd/UNSAFE_TabBarMixed.js +1 -1
  357. package/amd/UNSAFE_TableView.js +1 -1
  358. package/amd/UNSAFE_TagCloud.js +1 -1
  359. package/amd/UNSAFE_TextArea.js +1 -1
  360. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  361. package/amd/UNSAFE_TextField.js +1 -1
  362. package/amd/UNSAFE_ToggleButton.js +1 -1
  363. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  364. package/amd/UNSAFE_Toolbar.js +1 -1
  365. package/amd/UNSAFE_Train.js +1 -1
  366. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  367. package/amd/UNSAFE_TruncatingText.js +1 -1
  368. package/amd/UNSAFE_UserAssistance.js +1 -1
  369. package/amd/UNSAFE_View.js +1 -1
  370. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  371. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  372. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  373. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  374. package/amd/UNSAFE_WindowOverlay.js +1 -1
  375. package/amd/View-bd5c7fa7.js +2 -0
  376. package/amd/View-bd5c7fa7.js.map +1 -0
  377. package/amd/VirtualizedCollection-897516a5.js +2 -0
  378. package/amd/VirtualizedCollection-897516a5.js.map +1 -0
  379. package/amd/VirtualizedListView-cbe87ec2.js +2 -0
  380. package/amd/VirtualizedListView-cbe87ec2.js.map +1 -0
  381. package/amd/VisNoData-10983ace.js +2 -0
  382. package/amd/VisNoData-10983ace.js.map +1 -0
  383. package/amd/VisProgressiveLoader-06a60c8f.js +2 -0
  384. package/amd/VisProgressiveLoader-06a60c8f.js.map +1 -0
  385. package/amd/VisTabularDatatip-55bbd19f.js +2 -0
  386. package/amd/VisTabularDatatip-55bbd19f.js.map +1 -0
  387. package/amd/WindowOverlay-43c10424.js +2 -0
  388. package/amd/WindowOverlay-43c10424.js.map +1 -0
  389. package/amd/YearsGridView-d7b2184e.js +2 -0
  390. package/amd/YearsGridView-d7b2184e.js.map +1 -0
  391. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  392. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  393. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  394. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  395. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  396. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  397. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  398. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  399. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  400. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  401. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  402. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  403. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  404. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  405. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  406. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  407. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  408. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  409. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  410. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  411. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  412. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  413. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  414. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  415. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  416. package/amd/hooks/UNSAFE_useScale.js +1 -1
  417. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  418. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  419. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  420. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  421. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  422. package/amd/hooks/UNSAFE_useUser.js +1 -1
  423. package/amd/index-95227deb.js +2 -0
  424. package/amd/index-95227deb.js.map +1 -0
  425. package/amd/listViewSelectionTests-c9777ea8.js +1 -1
  426. package/amd/render-85c034d7.js +2 -0
  427. package/amd/render-85c034d7.js.map +1 -0
  428. package/amd/tabbableUtils-591fdc8d.js +2 -0
  429. package/amd/tabbableUtils-591fdc8d.js.map +1 -0
  430. package/amd/testData-02652eda.js +2 -0
  431. package/amd/testData-02652eda.js.map +1 -0
  432. package/amd/tooltipUtils-e5bdb734.js +2 -0
  433. package/amd/tooltipUtils-e5bdb734.js.map +1 -0
  434. package/amd/useCellNavigation-1feec094.js +1 -1
  435. package/amd/useChartContextMenu-8606bfa2.js +1 -1
  436. package/amd/useChartDatatip-947eeffe.js +2 -0
  437. package/amd/useChartDatatip-947eeffe.js.map +1 -0
  438. package/amd/useColorScheme-443e7cc7.js +2 -0
  439. package/amd/useColorScheme-443e7cc7.js.map +1 -0
  440. package/amd/useContextMenu-e08aad46.js +1 -1
  441. package/amd/useCssVars-dc52806c.js +2 -0
  442. package/amd/useCssVars-dc52806c.js.map +1 -0
  443. package/amd/useCurrentBgColor-50142bd8.js +2 -0
  444. package/amd/useCurrentBgColor-50142bd8.js.map +1 -0
  445. package/amd/useCurrentKey-a993db56.js +2 -0
  446. package/amd/useCurrentKey-a993db56.js.map +1 -0
  447. package/amd/useDatatip-9942601b.js +2 -0
  448. package/amd/useDatatip-9942601b.js.map +1 -0
  449. package/amd/useDensity-f0f7ae9a.js +2 -0
  450. package/amd/useDensity-f0f7ae9a.js.map +1 -0
  451. package/amd/useFloating-bf8ed6cb.js +2 -0
  452. package/amd/useFloating-bf8ed6cb.js.map +1 -0
  453. package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
  454. package/amd/useKeyboardEvents-8ada7a1f.js.map +1 -0
  455. package/amd/useLegendContextMenu-e629139a.js +1 -1
  456. package/amd/useMeterDatatip-173593b4.js +2 -0
  457. package/amd/useMeterDatatip-173593b4.js.map +1 -0
  458. package/amd/useOutsideClick-76c1ff6e.js +2 -0
  459. package/amd/useOutsideClick-76c1ff6e.js.map +1 -0
  460. package/amd/usePopupAnimation-6e53a0fe.js +2 -0
  461. package/amd/usePopupAnimation-6e53a0fe.js.map +1 -0
  462. package/amd/usePrefixSuffix-f7544e05.js +2 -0
  463. package/amd/usePrefixSuffix-f7544e05.js.map +1 -0
  464. package/amd/useReorderableItem-726c3c03.js +2 -0
  465. package/amd/useReorderableItem-726c3c03.js.map +1 -0
  466. package/amd/useRovingTabIndexContainer-473f7e43.js +2 -0
  467. package/amd/useRovingTabIndexContainer-473f7e43.js.map +1 -0
  468. package/amd/useScale-e311d35f.js +2 -0
  469. package/amd/useScale-e311d35f.js.map +1 -0
  470. package/amd/useSelectCommon-d9c4a7bd.js +2 -0
  471. package/amd/useSelectCommon-d9c4a7bd.js.map +1 -0
  472. package/amd/useSelectDrill-216c007c.js +2 -0
  473. package/amd/useSelectDrill-216c007c.js.map +1 -0
  474. package/amd/useSelection-01203394.js +2 -0
  475. package/amd/useSelection-01203394.js.map +1 -0
  476. package/amd/useSelection-4249360e.js +2 -0
  477. package/amd/useSelection-4249360e.js.map +1 -0
  478. package/amd/useTabBar-2c4573fe.js +1 -1
  479. package/amd/useTestId-b5cd4766.js +2 -0
  480. package/amd/useTestId-b5cd4766.js.map +1 -0
  481. package/amd/useTheme-a8334e06.js +2 -0
  482. package/amd/useTheme-a8334e06.js.map +1 -0
  483. package/amd/useThemeInterpolations-ab618dee.js +2 -0
  484. package/amd/useThemeInterpolations-ab618dee.js.map +1 -0
  485. package/amd/useTooltip-b43ad881.js +2 -0
  486. package/amd/useTooltip-b43ad881.js.map +1 -0
  487. package/amd/useTooltipControlled-ee3276de.js +2 -0
  488. package/amd/useTooltipControlled-ee3276de.js.map +1 -0
  489. package/amd/useTranslationBundle-d07d4b20.js +2 -0
  490. package/amd/useTranslationBundle-d07d4b20.js.map +1 -0
  491. package/amd/useUser-3ef25571.js +2 -0
  492. package/amd/useUser-3ef25571.js.map +1 -0
  493. package/amd/useVisDragModeControls-a5685835.js +1 -1
  494. package/amd/useVisEvents-dc86164f.js +2 -0
  495. package/amd/useVisEvents-dc86164f.js.map +1 -0
  496. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  497. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  498. package/amd/withDirectionIcon-74c39ee3.js +2 -0
  499. package/amd/withDirectionIcon-74c39ee3.js.map +1 -0
  500. package/amd/withThemeProps-4c23997e.js +1 -1
  501. package/cjs/ActionCard-61b21d6c.js +1 -1
  502. package/cjs/BarChart-93a3813c.js +181 -0
  503. package/cjs/BarChart-93a3813c.js.map +1 -0
  504. package/cjs/BarGroup-4a24a995.js +1 -1
  505. package/cjs/BaseButton-3a0bf8e4.js +2 -2
  506. package/cjs/BaseCardView-ade994f5.js +7 -7
  507. package/cjs/BaseCardViewSelectionTest-c6f05079.js +734 -0
  508. package/cjs/BaseCardViewSelectionTest-c6f05079.js.map +1 -0
  509. package/cjs/BaseNavigationListItem-50e4c603.js +1 -1
  510. package/cjs/BaseRichSelection-e73cac1d.js +8 -8
  511. package/cjs/ButtonSet-90db1168.js +2 -2
  512. package/cjs/ButtonSetIconButton-f3b4a721.js +3 -3
  513. package/cjs/Card-a0dadf5f.js +17 -0
  514. package/cjs/Card-a0dadf5f.js.map +1 -0
  515. package/cjs/Center-9f407cb2.js +18 -0
  516. package/cjs/Center-9f407cb2.js.map +1 -0
  517. package/cjs/Chart-40d95d14.js +451 -0
  518. package/cjs/Chart-40d95d14.js.map +1 -0
  519. package/cjs/CheckboxControl-5beb656d.js +6 -6
  520. package/cjs/CheckboxRadioField-0d5c9def.js +6 -6
  521. package/cjs/CheckboxSet-1bdbc419.js +53 -0
  522. package/cjs/CheckboxSet-1bdbc419.js.map +1 -0
  523. package/cjs/Chip-f12bb8cd.js +1 -1
  524. package/cjs/ClearIcon-edcc3f6e.js +1 -1
  525. package/cjs/CollapseIcon-2394e7ea.js +1 -1
  526. package/cjs/Collapsible-41311eb0.js +2 -2
  527. package/cjs/ComboChart-cffd0759.js +174 -0
  528. package/cjs/ComboChart-cffd0759.js.map +1 -0
  529. package/cjs/CompactHelpSource-61ead0c7.js +2 -2
  530. package/cjs/CompactLabelAssistance-ec1e72af.js +36 -0
  531. package/cjs/CompactLabelAssistance-ec1e72af.js.map +1 -0
  532. package/cjs/CompactUserAssistance-391bf7ca.js +4 -4
  533. package/cjs/ComponentMessageContainer-24e79106.js +4 -4
  534. package/cjs/ConveyorBeltItem-ac146ef0.js +2 -2
  535. package/cjs/DatePicker-d99097e4.js +566 -0
  536. package/cjs/DatePicker-d99097e4.js.map +1 -0
  537. package/cjs/DatePickerHeader-0938a3aa.js +3 -3
  538. package/cjs/Diagram-aceccb23.js +2028 -0
  539. package/cjs/Diagram-aceccb23.js.map +1 -0
  540. package/cjs/Dialog-2219a24f.js +318 -0
  541. package/cjs/Dialog-2219a24f.js.map +1 -0
  542. package/cjs/DirectionalCollapseArrowIcon-0cf2279a.js +1 -1
  543. package/cjs/DirectionalExpandArrowIcon-a362cb2f.js +1 -1
  544. package/cjs/DragHandle-951c36ef.js +24 -0
  545. package/cjs/DragHandle-951c36ef.js.map +1 -0
  546. package/cjs/Dropdown-00e73e4d.js +82 -0
  547. package/cjs/Dropdown-00e73e4d.js.map +1 -0
  548. package/cjs/EnvironmentProvider-bfd5febc.js +61 -0
  549. package/cjs/EnvironmentProvider-bfd5febc.js.map +1 -0
  550. package/cjs/ExpandableList-be84ca8e.js +3 -3
  551. package/cjs/FilePicker-f93470cf.js +2 -2
  552. package/cjs/Flex-ce16a2fa.js +33 -0
  553. package/cjs/Flex-ce16a2fa.js.map +1 -0
  554. package/cjs/Floating-3a80c067.js +464 -0
  555. package/cjs/Floating-3a80c067.js.map +1 -0
  556. package/cjs/FormLayout-86e60b6c.js +1 -1
  557. package/cjs/Gantt-7b6b99a0.js +9 -9
  558. package/cjs/Grid-b8fadf4a.js +29 -0
  559. package/cjs/Grid-b8fadf4a.js.map +1 -0
  560. package/cjs/Gridlines-22c46764.js +171 -0
  561. package/cjs/Gridlines-22c46764.js.map +1 -0
  562. package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
  563. package/cjs/HighlightText-2061d12d.js +33 -0
  564. package/cjs/HighlightText-2061d12d.js.map +1 -0
  565. package/cjs/Icon-c024b93c.js +3 -3
  566. package/cjs/IconButton-28559efb.js +3 -3
  567. package/cjs/IconMenuButton-2a108d43.js +3 -3
  568. package/cjs/IconProgressButton-01d95e57.js +3 -3
  569. package/cjs/IconSwitchButton-a1016218.js +3 -3
  570. package/cjs/IconToggleButton-52f6f126.js +3 -3
  571. package/cjs/IconUserAssistance-3faf6a09.js +75 -0
  572. package/cjs/IconUserAssistance-3faf6a09.js.map +1 -0
  573. package/cjs/Indexer-72430806.js +4 -4
  574. package/cjs/InlineHelpSource-0549100d.js +1 -1
  575. package/cjs/InlineUserAssistance-820162f4.js +5 -5
  576. package/cjs/InputDateMask-a7575cef.js +7 -7
  577. package/cjs/InputDatePicker-bc2c534a.js +8 -8
  578. package/cjs/InputPassword-eb6d227b.js +4 -4
  579. package/cjs/InputText-a9c423c3.js +6 -6
  580. package/cjs/Label-e0d15892.js +5 -5
  581. package/cjs/LabelValueLayout-4049c1a1.js +1 -1
  582. package/cjs/Layer-49394ca6.js +91 -0
  583. package/cjs/Layer-49394ca6.js.map +1 -0
  584. package/cjs/LayerHost-7182bfaf.js +45 -0
  585. package/cjs/LayerHost-7182bfaf.js.map +1 -0
  586. package/cjs/LayerManager-db087520.js +36 -0
  587. package/cjs/LayerManager-db087520.js.map +1 -0
  588. package/cjs/Legend-33a7824e.js +3 -3
  589. package/cjs/LineAreaChart-bb1350fa.js +172 -0
  590. package/cjs/LineAreaChart-bb1350fa.js.map +1 -0
  591. package/cjs/LineSeries-995be81c.js +112 -0
  592. package/cjs/LineSeries-995be81c.js.map +1 -0
  593. package/cjs/Link-b8435440.js +1 -1
  594. package/cjs/List-0dc2c4c4.js +5 -5
  595. package/cjs/ListItemLayout-bc581097.js +112 -0
  596. package/cjs/ListItemLayout-bc581097.js.map +1 -0
  597. package/cjs/ListView-17b8250d.js +3 -3
  598. package/cjs/LiveRegion-3bc583c6.js +41 -0
  599. package/cjs/LiveRegion-3bc583c6.js.map +1 -0
  600. package/cjs/MaxLengthCounter-9ab3f74b.js +27 -0
  601. package/cjs/MaxLengthCounter-9ab3f74b.js.map +1 -0
  602. package/cjs/MaxLengthLiveRegion-5e31c44e.js +25 -0
  603. package/cjs/MaxLengthLiveRegion-5e31c44e.js.map +1 -0
  604. package/cjs/Menu-658212ed.js +6 -6
  605. package/cjs/MenuButton-1599ce50.js +2 -2
  606. package/cjs/MenuItem-c459d748.js +1 -1
  607. package/cjs/Message-33a66325.js +2 -2
  608. package/cjs/MessageLayer-fc21a223.js +61 -0
  609. package/cjs/MessageLayer-fc21a223.js.map +1 -0
  610. package/cjs/MessageToast-0b1d66ed.js +8 -8
  611. package/cjs/MessagesManager-1ae749bf.js +3 -3
  612. package/cjs/MeterBar-0adbe81a.js +5 -5
  613. package/cjs/MeterCircle-97a75b35.js +5 -5
  614. package/cjs/Modal-76b3a4d9.js +264 -0
  615. package/cjs/Modal-76b3a4d9.js.map +1 -0
  616. package/cjs/MonthView-458d3d61.js +210 -0
  617. package/cjs/MonthView-458d3d61.js.map +1 -0
  618. package/cjs/NavigationListItem-4c4e804d.js +5 -5
  619. package/cjs/NumberInputText-3f25f408.js +6 -6
  620. package/cjs/OverflowTabBarItem-3c7adb01.js +3 -3
  621. package/cjs/PRIVATE_BaseCardView.js +22 -22
  622. package/cjs/PRIVATE_Chart.js +35 -35
  623. package/cjs/PRIVATE_CheckboxControl.js +23 -23
  624. package/cjs/PRIVATE_CheckboxRadioField.js +24 -24
  625. package/cjs/PRIVATE_ClearIcon.js +18 -18
  626. package/cjs/PRIVATE_DatePickerHeader.js +19 -19
  627. package/cjs/PRIVATE_DatePickerLayout.js +4 -4
  628. package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
  629. package/cjs/PRIVATE_FormControls.js +19 -19
  630. package/cjs/PRIVATE_IconSwitchButton.js +16 -16
  631. package/cjs/PRIVATE_Icons/CheckboxMixed.js +16 -16
  632. package/cjs/PRIVATE_Icons/CheckboxOff.js +16 -16
  633. package/cjs/PRIVATE_Icons/CheckboxOn.js +16 -16
  634. package/cjs/PRIVATE_Icons/DragV.js +16 -16
  635. package/cjs/PRIVATE_Icons/WarningS.js +16 -16
  636. package/cjs/PRIVATE_List.js +20 -20
  637. package/cjs/PRIVATE_Message.js +19 -19
  638. package/cjs/PRIVATE_MessageLayer.js +12 -12
  639. package/cjs/PRIVATE_MonthView.js +7 -7
  640. package/cjs/PRIVATE_MonthYearGridView.js +7 -7
  641. package/cjs/PRIVATE_PlotArea.js +4 -4
  642. package/cjs/PRIVATE_RevealToggleIcon.js +17 -17
  643. package/cjs/PRIVATE_RichSelectionCommon.js +25 -25
  644. package/cjs/PRIVATE_SelectCommon.js +28 -28
  645. package/cjs/PRIVATE_StyledCard.js +4 -4
  646. package/cjs/PRIVATE_StyledCheckbox.js +16 -16
  647. package/cjs/PRIVATE_Table.js +24 -24
  648. package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
  649. package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
  650. package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
  651. package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
  652. package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
  653. package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
  654. package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
  655. package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
  656. package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
  657. package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
  658. package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
  659. package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
  660. package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
  661. package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
  662. package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
  663. package/cjs/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
  664. package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
  665. package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
  666. package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
  667. package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
  668. package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
  669. package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
  670. package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
  671. package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
  672. package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
  673. package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
  674. package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
  675. package/cjs/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
  676. package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
  677. package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
  678. package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
  679. package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
  680. package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
  681. package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
  682. package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
  683. package/cjs/PRIVATE_TimeComponent.js +18 -18
  684. package/cjs/PRIVATE_VisOverview.js +16 -16
  685. package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
  686. package/cjs/PictoChart-292f6c54.js +6 -6
  687. package/cjs/PieChart-411377a1.js +6 -6
  688. package/cjs/Popup-3e6b37ba.js +249 -0
  689. package/cjs/Popup-3e6b37ba.js.map +1 -0
  690. package/cjs/ProgressBar-ee008afc.js +64 -0
  691. package/cjs/ProgressBar-ee008afc.js.map +1 -0
  692. package/cjs/ProgressButton-433a67b5.js +3 -3
  693. package/cjs/ProgressButtonLabelLayout-13908869.js +3 -3
  694. package/cjs/ProgressCircle-e91f65f3.js +50 -0
  695. package/cjs/ProgressCircle-e91f65f3.js.map +1 -0
  696. package/cjs/RadioItem-c6ada23a.js +6 -6
  697. package/cjs/RatingGauge-4f129f42.js +7 -7
  698. package/cjs/ReadonlyTextFieldInput-af4ddced.js +1 -1
  699. package/cjs/RemovableNavigationListItem-0eea31bc.js +1 -1
  700. package/cjs/RemovableTabBarItem-ff408dff.js +2 -2
  701. package/cjs/ReorderableTabBar-344938e7.js +3 -3
  702. package/cjs/RevealToggleIcon-2e88a00a.js +1 -1
  703. package/cjs/ScatterChart-763e1f3e.js +105 -0
  704. package/cjs/ScatterChart-763e1f3e.js.map +1 -0
  705. package/cjs/SectionalLegend-da9d7dc4.js +4 -4
  706. package/cjs/SectionedContent-2210037c.js +67 -0
  707. package/cjs/SectionedContent-2210037c.js.map +1 -0
  708. package/cjs/SelectMultiple-b1f05b9f.js +8 -8
  709. package/cjs/SelectSingle-84b0b3eb.js +7 -7
  710. package/cjs/SelectionCard-e26feb4d.js +18 -0
  711. package/cjs/SelectionCard-e26feb4d.js.map +1 -0
  712. package/cjs/Selector-565b3810.js +1 -1
  713. package/cjs/SelectorAll-e81b943f.js +71 -0
  714. package/cjs/SelectorAll-e81b943f.js.map +1 -0
  715. package/cjs/Sheet-73cb51b2.js +161 -0
  716. package/cjs/Sheet-73cb51b2.js.map +1 -0
  717. package/cjs/SplitMenuButton-de680884.js +2 -2
  718. package/cjs/StyledCard-f6b7f046.js +107 -0
  719. package/cjs/StyledCard-f6b7f046.js.map +1 -0
  720. package/cjs/StyledTextField-3289e35c.js +3 -3
  721. package/cjs/TabBar-bf94b95a.js +5 -5
  722. package/cjs/TabBarItem-00fcf601.js +3 -3
  723. package/cjs/TabBarLayout-846a4d9a.js +1 -1
  724. package/cjs/TabBarMixed-975141a6.js +5 -5
  725. package/cjs/TabBarMixedSeparator-0f55c6f6.js +21 -0
  726. package/cjs/TabBarMixedSeparator-0f55c6f6.js.map +1 -0
  727. package/cjs/Table-90fe7ad8.js +9 -9
  728. package/cjs/TagCloud-ff6f5158.js +8 -8
  729. package/cjs/TextArea-e7f98e9f.js +162 -0
  730. package/cjs/TextArea-e7f98e9f.js.map +1 -0
  731. package/cjs/TextAreaAutosize-d96c7038.js +246 -0
  732. package/cjs/TextAreaAutosize-d96c7038.js.map +1 -0
  733. package/cjs/TextField-976ee745.js +3 -3
  734. package/cjs/TextFieldInput-e83921a4.js +1 -1
  735. package/cjs/Theme-redwood/theme.css +189 -189
  736. package/cjs/Theme-stable/theme.css +269 -269
  737. package/cjs/TimeComponentCanvas2D-952a80c3.js +5 -5
  738. package/cjs/Toolbar-f94296cb.js +1 -1
  739. package/cjs/TruncatingBadge-3a82f13b.js +36 -0
  740. package/cjs/TruncatingBadge-3a82f13b.js.map +1 -0
  741. package/cjs/TruncatingText-df3db482.js +50 -0
  742. package/cjs/TruncatingText-df3db482.js.map +1 -0
  743. package/cjs/UNSAFE_ActionCard.js +3 -3
  744. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
  745. package/cjs/UNSAFE_BarChart.js +36 -36
  746. package/cjs/UNSAFE_BaseButton.js +3 -3
  747. package/cjs/UNSAFE_Button.js +3 -3
  748. package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
  749. package/cjs/UNSAFE_ButtonSet.js +4 -4
  750. package/cjs/UNSAFE_ButtonSetButton.js +3 -3
  751. package/cjs/UNSAFE_ButtonSetIconButton.js +16 -16
  752. package/cjs/UNSAFE_ButtonSetItem.js +16 -16
  753. package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
  754. package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
  755. package/cjs/UNSAFE_Card.js +5 -5
  756. package/cjs/UNSAFE_CardFlexView.js +22 -22
  757. package/cjs/UNSAFE_CardGridView.js +22 -22
  758. package/cjs/UNSAFE_Center.js +5 -5
  759. package/cjs/UNSAFE_ChartWithLegend.js +4 -4
  760. package/cjs/UNSAFE_Checkbox.js +23 -23
  761. package/cjs/UNSAFE_CheckboxItem.js +103 -52
  762. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  763. package/cjs/UNSAFE_CheckboxSet.js +38 -67
  764. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  765. package/cjs/UNSAFE_Chip.js +2 -2
  766. package/cjs/UNSAFE_Collapsible.js +18 -18
  767. package/cjs/UNSAFE_ComboChart.js +38 -38
  768. package/cjs/UNSAFE_ComponentMessage.js +19 -19
  769. package/cjs/UNSAFE_ConveyorBelt.js +16 -16
  770. package/cjs/UNSAFE_DatePicker.js +24 -24
  771. package/cjs/UNSAFE_Diagram.js +21 -21
  772. package/cjs/UNSAFE_Dialog.js +21 -21
  773. package/cjs/UNSAFE_DragHandle.js +18 -18
  774. package/cjs/UNSAFE_DrawerLayout.js +12 -12
  775. package/cjs/UNSAFE_DrawerPopup.js +11 -11
  776. package/cjs/UNSAFE_Dropdown.js +13 -13
  777. package/cjs/UNSAFE_Environment.js +4 -4
  778. package/cjs/UNSAFE_ExpandableList.js +23 -23
  779. package/cjs/UNSAFE_FilePicker.js +4 -4
  780. package/cjs/UNSAFE_Flex.js +4 -4
  781. package/cjs/UNSAFE_Floating.js +11 -11
  782. package/cjs/UNSAFE_FormLayout.js +2 -2
  783. package/cjs/UNSAFE_Gantt.js +23 -23
  784. package/cjs/UNSAFE_Grid.js +4 -4
  785. package/cjs/UNSAFE_HighlightText.js +4 -4
  786. package/cjs/UNSAFE_Icon.js +16 -16
  787. package/cjs/UNSAFE_IconButton.js +16 -16
  788. package/cjs/UNSAFE_IconMenuButton.js +21 -21
  789. package/cjs/UNSAFE_IconProgressButton.js +19 -19
  790. package/cjs/UNSAFE_IconToggleButton.js +16 -16
  791. package/cjs/UNSAFE_Indexer.js +6 -6
  792. package/cjs/UNSAFE_InputDateMask.js +24 -24
  793. package/cjs/UNSAFE_InputDatePicker.js +32 -32
  794. package/cjs/UNSAFE_InputPassword.js +23 -23
  795. package/cjs/UNSAFE_InputSensitiveText.js +25 -25
  796. package/cjs/UNSAFE_InputText.js +26 -26
  797. package/cjs/UNSAFE_InputTimeMask.js +24 -24
  798. package/cjs/UNSAFE_Label.js +23 -23
  799. package/cjs/UNSAFE_LabelValueLayout.js +4 -4
  800. package/cjs/UNSAFE_LabelledLink.js +24 -24
  801. package/cjs/UNSAFE_Layer.js +8 -8
  802. package/cjs/UNSAFE_Legend.js +24 -24
  803. package/cjs/UNSAFE_LineAreaChart.js +38 -38
  804. package/cjs/UNSAFE_Link.js +2 -2
  805. package/cjs/UNSAFE_ListItemLayout.js +5 -5
  806. package/cjs/UNSAFE_ListView.js +28 -28
  807. package/cjs/UNSAFE_LiveRegion.js +4 -4
  808. package/cjs/UNSAFE_Menu.js +23 -23
  809. package/cjs/UNSAFE_MenuButton.js +21 -21
  810. package/cjs/UNSAFE_MessageBanner.js +19 -19
  811. package/cjs/UNSAFE_MessageToast.js +22 -22
  812. package/cjs/UNSAFE_MeterBar.js +16 -16
  813. package/cjs/UNSAFE_MeterCircle.js +17 -17
  814. package/cjs/UNSAFE_Modal.js +8 -8
  815. package/cjs/UNSAFE_NavigationList.js +20 -20
  816. package/cjs/UNSAFE_NavigationListCommon.js +18 -18
  817. package/cjs/UNSAFE_NumberInputText.js +25 -25
  818. package/cjs/UNSAFE_OverflowTabBar.js +24 -24
  819. package/cjs/UNSAFE_PictoChart.js +14 -14
  820. package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
  821. package/cjs/UNSAFE_PieChart.js +21 -21
  822. package/cjs/UNSAFE_Popup.js +16 -16
  823. package/cjs/UNSAFE_ProgressBar.js +5 -5
  824. package/cjs/UNSAFE_ProgressButton.js +19 -19
  825. package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  826. package/cjs/UNSAFE_ProgressCircle.js +4 -4
  827. package/cjs/UNSAFE_RadioItem.js +23 -23
  828. package/cjs/UNSAFE_RadioSet.js +23 -23
  829. package/cjs/UNSAFE_RatingGauge.js +17 -17
  830. package/cjs/UNSAFE_ReorderableTabBar.js +24 -24
  831. package/cjs/UNSAFE_RichCheckboxSet.js +39 -37
  832. package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
  833. package/cjs/UNSAFE_RichRadioSet.js +25 -25
  834. package/cjs/UNSAFE_RichSelectionItem.js +196 -59
  835. package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
  836. package/cjs/UNSAFE_ScatterChart.js +38 -38
  837. package/cjs/UNSAFE_SectionalLegend.js +25 -25
  838. package/cjs/UNSAFE_SelectMultiple.js +30 -30
  839. package/cjs/UNSAFE_SelectSingle.js +30 -30
  840. package/cjs/UNSAFE_SelectionCard.js +5 -5
  841. package/cjs/UNSAFE_Selector.js +16 -16
  842. package/cjs/UNSAFE_SelectorAll.js +20 -20
  843. package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
  844. package/cjs/UNSAFE_Sheet.js +11 -11
  845. package/cjs/UNSAFE_SplitMenuButton.js +21 -21
  846. package/cjs/UNSAFE_TabBar.js +25 -25
  847. package/cjs/UNSAFE_TabBarCommon.js +25 -25
  848. package/cjs/UNSAFE_TabBarMixed.js +26 -26
  849. package/cjs/UNSAFE_TableView.js +24 -24
  850. package/cjs/UNSAFE_TagCloud.js +23 -23
  851. package/cjs/UNSAFE_TextArea.js +29 -28
  852. package/cjs/UNSAFE_TextArea.js.map +1 -1
  853. package/cjs/UNSAFE_TextAreaAutosize.js +28 -28
  854. package/cjs/UNSAFE_TextField.js +7 -7
  855. package/cjs/UNSAFE_ToggleButton.js +3 -3
  856. package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
  857. package/cjs/UNSAFE_Toolbar.js +4 -4
  858. package/cjs/UNSAFE_Train.js +17 -17
  859. package/cjs/UNSAFE_TruncatingBadge.js +18 -18
  860. package/cjs/UNSAFE_TruncatingText.js +17 -17
  861. package/cjs/UNSAFE_UserAssistance.js +24 -24
  862. package/cjs/UNSAFE_View.js +7 -7
  863. package/cjs/UNSAFE_VirtualizedListView.js +20 -20
  864. package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  865. package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
  866. package/cjs/UNSAFE_VisStatusMessage.js +6 -6
  867. package/cjs/UNSAFE_WindowOverlay.js +4 -4
  868. package/cjs/View-145a402d.js +170 -0
  869. package/cjs/View-145a402d.js.map +1 -0
  870. package/cjs/VisNoData-210b0385.js +35 -0
  871. package/cjs/VisNoData-210b0385.js.map +1 -0
  872. package/cjs/VisProgressiveLoader-5ed4eb9d.js +53 -0
  873. package/cjs/VisProgressiveLoader-5ed4eb9d.js.map +1 -0
  874. package/cjs/VisTabularDatatip-a06f4ca3.js +26 -0
  875. package/cjs/VisTabularDatatip-a06f4ca3.js.map +1 -0
  876. package/cjs/WindowOverlay-de3bd373.js +112 -0
  877. package/cjs/WindowOverlay-de3bd373.js.map +1 -0
  878. package/cjs/YearsGridView-e8d7a02c.js +190 -0
  879. package/cjs/YearsGridView-e8d7a02c.js.map +1 -0
  880. package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
  881. package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
  882. package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
  883. package/cjs/hooks/PRIVATE_useChartContextMenu.js +20 -20
  884. package/cjs/hooks/PRIVATE_useChartDatatip.js +14 -14
  885. package/cjs/hooks/PRIVATE_useChartEvents.js +18 -18
  886. package/cjs/hooks/PRIVATE_useChartMarquee.js +18 -18
  887. package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
  888. package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
  889. package/cjs/hooks/PRIVATE_useDatatip.js +12 -12
  890. package/cjs/hooks/PRIVATE_useFloating.js +4 -4
  891. package/cjs/hooks/PRIVATE_useReorderable.js +5 -5
  892. package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  893. package/cjs/hooks/PRIVATE_useSelection.js +4 -4
  894. package/cjs/hooks/PRIVATE_useTabBar.js +4 -4
  895. package/cjs/hooks/PRIVATE_useVisContextMenu.js +20 -20
  896. package/cjs/hooks/PRIVATE_useVisDragModeControls.js +18 -18
  897. package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
  898. package/cjs/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  899. package/cjs/hooks/PRIVATE_useVisSelection.js +13 -13
  900. package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
  901. package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  902. package/cjs/hooks/UNSAFE_useDensity.js +3 -3
  903. package/cjs/hooks/UNSAFE_useOutsideClick.js +8 -8
  904. package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  905. package/cjs/hooks/UNSAFE_useScale.js +3 -3
  906. package/cjs/hooks/UNSAFE_useTestId.js +3 -3
  907. package/cjs/hooks/UNSAFE_useTheme.js +3 -3
  908. package/cjs/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  909. package/cjs/hooks/UNSAFE_useTooltip.js +17 -17
  910. package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
  911. package/cjs/hooks/UNSAFE_useUser.js +3 -3
  912. package/cjs/index-8c93d858.js +13 -0
  913. package/cjs/index-8c93d858.js.map +1 -0
  914. package/cjs/listViewSelectionTests-858bb12a.js +3 -3
  915. package/cjs/render-bc47fc7e.js +41 -0
  916. package/cjs/render-bc47fc7e.js.map +1 -0
  917. package/cjs/tabbableUtils-b14a04ea.js +81 -0
  918. package/cjs/tabbableUtils-b14a04ea.js.map +1 -0
  919. package/cjs/testData-c996c33b.js +271 -0
  920. package/cjs/testData-c996c33b.js.map +1 -0
  921. package/cjs/tooltipUtils-2228b0f7.js +97 -0
  922. package/cjs/tooltipUtils-2228b0f7.js.map +1 -0
  923. package/cjs/useCellNavigation-6f7cd4c8.js +1 -1
  924. package/cjs/useChartContextMenu-d114824a.js +2 -2
  925. package/cjs/useChartDatatip-538a4577.js +166 -0
  926. package/cjs/useChartDatatip-538a4577.js.map +1 -0
  927. package/cjs/useColorScheme-e6bef5a4.js +21 -0
  928. package/cjs/useColorScheme-e6bef5a4.js.map +1 -0
  929. package/cjs/useContextMenu-3ebf8f80.js +2 -2
  930. package/cjs/useCssVars-9bea15a9.js +60 -0
  931. package/cjs/useCssVars-9bea15a9.js.map +1 -0
  932. package/cjs/useCurrentBgColor-6835bf45.js +21 -0
  933. package/cjs/useCurrentBgColor-6835bf45.js.map +1 -0
  934. package/cjs/useCurrentKey-d8d41864.js +83 -0
  935. package/cjs/useCurrentKey-d8d41864.js.map +1 -0
  936. package/cjs/useDatatip-1dda9a86.js +89 -0
  937. package/cjs/useDatatip-1dda9a86.js.map +1 -0
  938. package/cjs/useDensity-38283c57.js +21 -0
  939. package/cjs/useDensity-38283c57.js.map +1 -0
  940. package/cjs/useFloating-c9e127d3.js +1926 -0
  941. package/cjs/useFloating-c9e127d3.js.map +1 -0
  942. package/cjs/useKeyboardEvents-7ab0d8ee.js +81 -0
  943. package/cjs/useKeyboardEvents-7ab0d8ee.js.map +1 -0
  944. package/cjs/useLegendContextMenu-82be007a.js +4 -4
  945. package/cjs/useMeterDatatip-945883f5.js +77 -0
  946. package/cjs/useMeterDatatip-945883f5.js.map +1 -0
  947. package/cjs/useOutsideClick-ad999b14.js +103 -0
  948. package/cjs/useOutsideClick-ad999b14.js.map +1 -0
  949. package/cjs/usePopupAnimation-b911e9ed.js +87 -0
  950. package/cjs/usePopupAnimation-b911e9ed.js.map +1 -0
  951. package/cjs/usePrefixSuffix-1de3a724.js +72 -0
  952. package/cjs/usePrefixSuffix-1de3a724.js.map +1 -0
  953. package/cjs/useReorderableItem-5fc4d599.js +271 -0
  954. package/cjs/useReorderableItem-5fc4d599.js.map +1 -0
  955. package/cjs/useRovingTabIndexContainer-bbdf3acd.js +100 -0
  956. package/cjs/useRovingTabIndexContainer-bbdf3acd.js.map +1 -0
  957. package/cjs/useScale-a47864b4.js +21 -0
  958. package/cjs/useScale-a47864b4.js.map +1 -0
  959. package/cjs/useSelectCommon-5b46ac60.js +11 -11
  960. package/cjs/useSelectDrill-51fdccac.js +106 -0
  961. package/cjs/useSelectDrill-51fdccac.js.map +1 -0
  962. package/cjs/useSelection-0dbc2f40.js +241 -0
  963. package/cjs/useSelection-0dbc2f40.js.map +1 -0
  964. package/cjs/useSelection-8362b6c6.js +187 -0
  965. package/cjs/useSelection-8362b6c6.js.map +1 -0
  966. package/cjs/useTabBar-048ffd9f.js +1 -1
  967. package/cjs/useTestId-e267a39d.js +23 -0
  968. package/cjs/useTestId-e267a39d.js.map +1 -0
  969. package/cjs/useTheme-6cedf9c8.js +21 -0
  970. package/cjs/useTheme-6cedf9c8.js.map +1 -0
  971. package/cjs/useThemeInterpolations-316c1636.js +59 -0
  972. package/cjs/useThemeInterpolations-316c1636.js.map +1 -0
  973. package/cjs/useTooltip-ea036f82.js +51 -0
  974. package/cjs/useTooltip-ea036f82.js.map +1 -0
  975. package/cjs/useTooltipControlled-61581889.js +371 -0
  976. package/cjs/useTooltipControlled-61581889.js.map +1 -0
  977. package/cjs/useTranslationBundle-6b0281a9.js +31 -0
  978. package/cjs/useTranslationBundle-6b0281a9.js.map +1 -0
  979. package/cjs/useUser-8aaad5a7.js +21 -0
  980. package/cjs/useUser-8aaad5a7.js.map +1 -0
  981. package/cjs/useVisDragModeControls-95caebc9.js +1 -1
  982. package/cjs/useVisEvents-99f1bf51.js +155 -0
  983. package/cjs/useVisEvents-99f1bf51.js.map +1 -0
  984. package/cjs/utils/PRIVATE_tooltipUtils.js +14 -14
  985. package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
  986. package/cjs/withDirectionIcon-7f758093.js +16 -0
  987. package/cjs/withDirectionIcon-7f758093.js.map +1 -0
  988. package/cjs/withThemeProps-6e15f1c3.js +2 -2
  989. package/es/ActionCard-e64b1771.js +1 -1
  990. package/es/AvatarVariants.styles.css +25 -25
  991. package/es/AvatarVariants.styles2.css +25 -25
  992. package/es/BarChart-a3209793.js +1 -1
  993. package/es/BarGroup-740cd159.js +1 -1
  994. package/es/BaseButton-3ce1f027.js +2 -2
  995. package/es/BaseCardView-229fa119.js +683 -0
  996. package/es/BaseCardView-229fa119.js.map +1 -0
  997. package/es/BaseCardViewSelectionTest-cf72be09.js +721 -0
  998. package/es/BaseCardViewSelectionTest-cf72be09.js.map +1 -0
  999. package/es/BaseNavigationListItem-530bc3df.js +1 -1
  1000. package/es/BaseRichSelection-9fa49816.js +8 -8
  1001. package/es/ButtonSet-51dcff96.js +2 -2
  1002. package/es/ButtonSetIconButton-536c1045.js +3 -3
  1003. package/es/Card-de0aef24.js +15 -0
  1004. package/es/Card-de0aef24.js.map +1 -0
  1005. package/es/CardFlexView-3ef6bf4d.js +27 -0
  1006. package/es/CardFlexView-3ef6bf4d.js.map +1 -0
  1007. package/es/CardGridView-e15226c9.js +15 -0
  1008. package/es/CardGridView-e15226c9.js.map +1 -0
  1009. package/es/Center-9f355d44.js +16 -0
  1010. package/es/Center-9f355d44.js.map +1 -0
  1011. package/es/Chart-b97e00f1.js +8 -8
  1012. package/es/CheckboxControl-ee327a6d.js +6 -6
  1013. package/es/CheckboxRadioField-a4db2c10.js +6 -6
  1014. package/es/CheckboxSet-3c3b7c71.js +49 -0
  1015. package/es/CheckboxSet-3c3b7c71.js.map +1 -0
  1016. package/es/Chip-8554d3ff.js +1 -1
  1017. package/es/ClearIcon-95064ad6.js +1 -1
  1018. package/es/CollapseIcon-4e943f42.js +1 -1
  1019. package/es/Collapsible-cb2ba356.js +2 -2
  1020. package/es/ComboChart-b8c2be4d.js +2 -2
  1021. package/es/CompactHelpSource-9c0d4cb4.js +2 -2
  1022. package/es/CompactLabelAssistance-7912767d.js +34 -0
  1023. package/es/CompactLabelAssistance-7912767d.js.map +1 -0
  1024. package/es/CompactUserAssistance-12950e48.js +4 -4
  1025. package/es/ComponentMessageContainer-f2837e7f.js +4 -4
  1026. package/es/ConveyorBeltItem-188fcaf0.js +2 -2
  1027. package/es/DatePicker-38a71007.js +564 -0
  1028. package/es/DatePicker-38a71007.js.map +1 -0
  1029. package/es/DatePickerHeader-5806fbea.js +3 -3
  1030. package/es/Diagram-ee9ec4a9.js +2026 -0
  1031. package/es/Diagram-ee9ec4a9.js.map +1 -0
  1032. package/es/Dialog-2248109e.js +316 -0
  1033. package/es/Dialog-2248109e.js.map +1 -0
  1034. package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
  1035. package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
  1036. package/es/DragHandle-5cba8c4b.js +22 -0
  1037. package/es/DragHandle-5cba8c4b.js.map +1 -0
  1038. package/es/Dropdown-f7fbfa81.js +80 -0
  1039. package/es/Dropdown-f7fbfa81.js.map +1 -0
  1040. package/es/EnvironmentProvider-a3819bde.js +58 -0
  1041. package/es/EnvironmentProvider-a3819bde.js.map +1 -0
  1042. package/es/ExpandableList-478db30a.js +4 -4
  1043. package/es/FilePicker-ecfad7d4.js +2 -2
  1044. package/es/Flex-2d51e914.js +30 -0
  1045. package/es/Flex-2d51e914.js.map +1 -0
  1046. package/es/Floating-c13f9f62.js +462 -0
  1047. package/es/Floating-c13f9f62.js.map +1 -0
  1048. package/es/FormLayout-2efb00f6.js +1 -1
  1049. package/es/Gantt-0adf9527.js +9 -9
  1050. package/es/Grid-c2385b22.js +27 -0
  1051. package/es/Grid-c2385b22.js.map +1 -0
  1052. package/es/Gridlines-89b5506f.js +168 -0
  1053. package/es/Gridlines-89b5506f.js.map +1 -0
  1054. package/es/GroupLoadingIndicator-63035d08.js +2 -2
  1055. package/es/HighlightText-d505bf35.js +31 -0
  1056. package/es/HighlightText-d505bf35.js.map +1 -0
  1057. package/es/Icon-bdd49f29.js +3 -3
  1058. package/es/IconButton-62cd1cf9.js +3 -3
  1059. package/es/IconMenuButton-242dc102.js +3 -3
  1060. package/es/IconProgressButton-193d58bf.js +3 -3
  1061. package/es/IconSwitchButton-a92911d0.js +3 -3
  1062. package/es/IconToggleButton-fb7ccce9.js +3 -3
  1063. package/es/IconUserAssistance-2b494a2e.js +73 -0
  1064. package/es/IconUserAssistance-2b494a2e.js.map +1 -0
  1065. package/es/Indexer-eb00ba0b.js +336 -0
  1066. package/es/Indexer-eb00ba0b.js.map +1 -0
  1067. package/es/InlineHelpSource-fcdcd122.js +1 -1
  1068. package/es/InlineUserAssistance-04cce83e.js +5 -5
  1069. package/es/InputDateMask-23aef570.js +7 -7
  1070. package/es/InputDatePicker-59bbd31d.js +307 -0
  1071. package/es/InputDatePicker-59bbd31d.js.map +1 -0
  1072. package/es/InputPassword-2c87ceb9.js +4 -4
  1073. package/es/InputText-3701adf8.js +6 -6
  1074. package/es/Label-6d90e627.js +5 -5
  1075. package/es/LabelValueLayout-bcf482be.js +1 -1
  1076. package/es/Layer-7497a324.js +88 -0
  1077. package/es/Layer-7497a324.js.map +1 -0
  1078. package/es/LayerHost-7a2149f5.js +40 -0
  1079. package/es/LayerHost-7a2149f5.js.map +1 -0
  1080. package/es/LayerManager-be34be40.js +34 -0
  1081. package/es/LayerManager-be34be40.js.map +1 -0
  1082. package/es/Legend-588633b2.js +3 -3
  1083. package/es/LineAreaChart-d6924882.js +170 -0
  1084. package/es/LineAreaChart-d6924882.js.map +1 -0
  1085. package/es/LineSeries-00fa2ab7.js +109 -0
  1086. package/es/LineSeries-00fa2ab7.js.map +1 -0
  1087. package/es/Link-9f8b5c41.js +1 -1
  1088. package/es/List-e6886091.js +717 -0
  1089. package/es/List-e6886091.js.map +1 -0
  1090. package/es/ListItemLayout-b3d899d6.js +110 -0
  1091. package/es/ListItemLayout-b3d899d6.js.map +1 -0
  1092. package/es/ListView-137e31fd.js +428 -0
  1093. package/es/ListView-137e31fd.js.map +1 -0
  1094. package/es/LiveRegion-5302331c.js +39 -0
  1095. package/es/LiveRegion-5302331c.js.map +1 -0
  1096. package/es/LoadMoreCollection-7df1be36.js +31 -0
  1097. package/es/LoadMoreCollection-7df1be36.js.map +1 -0
  1098. package/es/MaxLengthCounter-181b4fc9.js +25 -0
  1099. package/es/MaxLengthCounter-181b4fc9.js.map +1 -0
  1100. package/es/MaxLengthLiveRegion-9b386b63.js +23 -0
  1101. package/es/MaxLengthLiveRegion-9b386b63.js.map +1 -0
  1102. package/es/Menu-a37635b8.js +6 -6
  1103. package/es/MenuButton-422a74de.js +2 -2
  1104. package/es/MenuItem-831dfd05.js +1 -1
  1105. package/es/Message-9d1504b6.js +2 -2
  1106. package/es/MessageLayer-9ea7cf82.js +58 -0
  1107. package/es/MessageLayer-9ea7cf82.js.map +1 -0
  1108. package/es/MessageToast-7058b181.js +8 -8
  1109. package/es/MessagesManager-9dd3eb3d.js +3 -3
  1110. package/es/MeterBar-551d32db.js +5 -5
  1111. package/es/MeterCircle-5e2ee267.js +5 -5
  1112. package/es/Modal-1710fdd2.js +262 -0
  1113. package/es/Modal-1710fdd2.js.map +1 -0
  1114. package/es/MonthView-9c0b40f1.js +208 -0
  1115. package/es/MonthView-9c0b40f1.js.map +1 -0
  1116. package/es/NavigationListItem-5b25b2f5.js +5 -5
  1117. package/es/NumberInputText-58e80ab7.js +6 -6
  1118. package/es/OverflowTabBarItem-08625093.js +3 -3
  1119. package/es/PRIVATE_BaseCardView.js +25 -25
  1120. package/es/PRIVATE_Chart.js +31 -31
  1121. package/es/PRIVATE_CheckboxControl.js +23 -23
  1122. package/es/PRIVATE_CheckboxRadioField.js +24 -24
  1123. package/es/PRIVATE_ClearIcon.js +18 -18
  1124. package/es/PRIVATE_DatePickerHeader.js +19 -19
  1125. package/es/PRIVATE_DatePickerLayout.js +4 -4
  1126. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  1127. package/es/PRIVATE_FormControls.js +19 -19
  1128. package/es/PRIVATE_IconSwitchButton.js +16 -16
  1129. package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
  1130. package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
  1131. package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
  1132. package/es/PRIVATE_Icons/DragV.js +16 -16
  1133. package/es/PRIVATE_Icons/WarningS.js +16 -16
  1134. package/es/PRIVATE_List.js +24 -24
  1135. package/es/PRIVATE_LoadMoreCollection.js +2 -2
  1136. package/es/PRIVATE_Message.js +19 -19
  1137. package/es/PRIVATE_MessageLayer.js +12 -12
  1138. package/es/PRIVATE_MonthView.js +7 -7
  1139. package/es/PRIVATE_MonthYearGridView.js +7 -7
  1140. package/es/PRIVATE_PlotArea.js +4 -4
  1141. package/es/PRIVATE_RevealToggleIcon.js +17 -17
  1142. package/es/PRIVATE_RichSelectionCommon.js +25 -25
  1143. package/es/PRIVATE_SelectCommon.js +33 -33
  1144. package/es/PRIVATE_StyledCard.js +4 -4
  1145. package/es/PRIVATE_StyledCheckbox.js +16 -16
  1146. package/es/PRIVATE_Table.js +27 -27
  1147. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
  1148. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
  1149. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
  1150. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
  1151. package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
  1152. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
  1153. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
  1154. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
  1155. package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
  1156. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
  1157. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
  1158. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
  1159. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
  1160. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
  1161. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
  1162. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
  1163. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
  1164. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
  1165. package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
  1166. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
  1167. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
  1168. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
  1169. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
  1170. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
  1171. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
  1172. package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
  1173. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
  1174. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
  1175. package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
  1176. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
  1177. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
  1178. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
  1179. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
  1180. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
  1181. package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
  1182. package/es/PRIVATE_TimeComponent.js +18 -18
  1183. package/es/PRIVATE_VirtualizedCollection.js +2 -2
  1184. package/es/PRIVATE_VisOverview.js +16 -16
  1185. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  1186. package/es/PictoChart-3f059ad1.js +6 -6
  1187. package/es/PieChart-ca02932e.js +6 -6
  1188. package/es/Popup-a4be2769.js +247 -0
  1189. package/es/Popup-a4be2769.js.map +1 -0
  1190. package/es/ProgressBar-4fbb27ab.js +62 -0
  1191. package/es/ProgressBar-4fbb27ab.js.map +1 -0
  1192. package/es/ProgressButton-2497c81b.js +3 -3
  1193. package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
  1194. package/es/ProgressCircle-2d3833fa.js +48 -0
  1195. package/es/ProgressCircle-2d3833fa.js.map +1 -0
  1196. package/es/RadioItem-35f68420.js +6 -6
  1197. package/es/RatingGauge-5346d0bf.js +7 -7
  1198. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  1199. package/es/RemovableNavigationListItem-29fdaddc.js +1 -1
  1200. package/es/RemovableTabBarItem-1cc7a0ca.js +2 -2
  1201. package/es/ReorderableTabBar-b9019d0a.js +3 -3
  1202. package/es/RevealToggleIcon-51514e37.js +1 -1
  1203. package/es/ScatterChart-d26d4ea9.js +103 -0
  1204. package/es/ScatterChart-d26d4ea9.js.map +1 -0
  1205. package/es/SectionalLegend-c71d48a3.js +4 -4
  1206. package/es/SectionedContent-2d0a744d.js +64 -0
  1207. package/es/SectionedContent-2d0a744d.js.map +1 -0
  1208. package/es/SelectMultiple-488a49d1.js +1303 -0
  1209. package/es/SelectMultiple-488a49d1.js.map +1 -0
  1210. package/es/SelectSingle-e8b9a33a.js +736 -0
  1211. package/es/SelectSingle-e8b9a33a.js.map +1 -0
  1212. package/es/SelectionCard-792c249d.js +16 -0
  1213. package/es/SelectionCard-792c249d.js.map +1 -0
  1214. package/es/Selector-5892544f.js +1 -1
  1215. package/es/SelectorAll-ab748274.js +69 -0
  1216. package/es/SelectorAll-ab748274.js.map +1 -0
  1217. package/es/Sheet-31e6970c.js +158 -0
  1218. package/es/Sheet-31e6970c.js.map +1 -0
  1219. package/es/SplitMenuButton-3dbd83b7.js +2 -2
  1220. package/es/StyledCard-6913b45c.js +105 -0
  1221. package/es/StyledCard-6913b45c.js.map +1 -0
  1222. package/es/StyledTextField-ebb5409d.js +3 -3
  1223. package/es/TabBar-fb7f97d2.js +5 -5
  1224. package/es/TabBarItem-252cba76.js +3 -3
  1225. package/es/TabBarLayout-8caaa060.js +1 -1
  1226. package/es/TabBarMixed-f60c2c7a.js +5 -5
  1227. package/es/TabBarMixedSeparator-16c88691.js +19 -0
  1228. package/es/TabBarMixedSeparator-16c88691.js.map +1 -0
  1229. package/es/Table-3cfb9443.js +5509 -0
  1230. package/es/Table-3cfb9443.js.map +1 -0
  1231. package/es/TableView-fd5104cd.js +31 -0
  1232. package/es/TableView-fd5104cd.js.map +1 -0
  1233. package/es/TagCloud-f7e50ac4.js +8 -8
  1234. package/es/TextArea-7230675f.js +160 -0
  1235. package/es/TextArea-7230675f.js.map +1 -0
  1236. package/es/TextAreaAutosize-0d293016.js +244 -0
  1237. package/es/TextAreaAutosize-0d293016.js.map +1 -0
  1238. package/es/TextField-cb494638.js +3 -3
  1239. package/es/TextFieldInput-3c2e920d.js +1 -1
  1240. package/es/Theme-redwood/theme.css +1151 -1151
  1241. package/es/Theme-stable/theme.css +404 -404
  1242. package/es/TimeComponentCanvas2D-2a4a0c94.js +5 -5
  1243. package/es/Toolbar-7676795b.js +1 -1
  1244. package/es/TruncatingBadge-0f04b894.js +34 -0
  1245. package/es/TruncatingBadge-0f04b894.js.map +1 -0
  1246. package/es/TruncatingText-ccad557f.js +48 -0
  1247. package/es/TruncatingText-ccad557f.js.map +1 -0
  1248. package/es/UNSAFE_ActionCard.js +3 -3
  1249. package/es/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
  1250. package/es/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
  1251. package/es/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
  1252. package/es/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
  1253. package/es/UNSAFE_Avatar.js +1 -1
  1254. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +31 -31
  1255. package/es/UNSAFE_BarChart.js +31 -31
  1256. package/es/UNSAFE_BaseButton.js +3 -3
  1257. package/es/UNSAFE_Button.js +3 -3
  1258. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
  1259. package/es/UNSAFE_ButtonSet.js +4 -4
  1260. package/es/UNSAFE_ButtonSetButton.js +3 -3
  1261. package/es/UNSAFE_ButtonSetIconButton.js +16 -16
  1262. package/es/UNSAFE_ButtonSetItem.js +16 -16
  1263. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  1264. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  1265. package/es/UNSAFE_Card.js +5 -5
  1266. package/es/UNSAFE_CardFlexView.js +26 -26
  1267. package/es/UNSAFE_CardGridView.js +26 -26
  1268. package/es/UNSAFE_Center.js +5 -5
  1269. package/es/UNSAFE_ChartWithLegend.js +4 -4
  1270. package/es/UNSAFE_Checkbox.js +23 -23
  1271. package/es/UNSAFE_CheckboxItem.js +103 -52
  1272. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  1273. package/es/UNSAFE_CheckboxSet.js +33 -67
  1274. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  1275. package/es/UNSAFE_Chip.js +2 -2
  1276. package/es/UNSAFE_Collapsible.js +18 -18
  1277. package/es/UNSAFE_ComboChart.js +33 -33
  1278. package/es/UNSAFE_ComponentMessage.js +19 -19
  1279. package/es/UNSAFE_ConveyorBelt.js +16 -16
  1280. package/es/UNSAFE_DatePicker.js +24 -24
  1281. package/es/UNSAFE_Diagram.js +21 -21
  1282. package/es/UNSAFE_Dialog.js +21 -21
  1283. package/es/UNSAFE_DragHandle.js +18 -18
  1284. package/es/UNSAFE_DrawerLayout.js +12 -12
  1285. package/es/UNSAFE_DrawerPopup.js +11 -11
  1286. package/es/UNSAFE_Dropdown.js +13 -13
  1287. package/es/UNSAFE_Environment.js +4 -4
  1288. package/es/UNSAFE_ExpandableList.js +26 -26
  1289. package/es/UNSAFE_FilePicker.js +4 -4
  1290. package/es/UNSAFE_Flex.js +4 -4
  1291. package/es/UNSAFE_Floating.js +11 -11
  1292. package/es/UNSAFE_FormLayout.js +2 -2
  1293. package/es/UNSAFE_Gantt.js +23 -23
  1294. package/es/UNSAFE_Grid.js +4 -4
  1295. package/es/UNSAFE_HighlightText.js +4 -4
  1296. package/es/UNSAFE_Icon.js +16 -16
  1297. package/es/UNSAFE_IconButton.js +16 -16
  1298. package/es/UNSAFE_IconMenuButton.js +21 -21
  1299. package/es/UNSAFE_IconProgressButton.js +19 -19
  1300. package/es/UNSAFE_IconToggleButton.js +16 -16
  1301. package/es/UNSAFE_Indexer.js +8 -8
  1302. package/es/UNSAFE_InputDateMask.js +24 -24
  1303. package/es/UNSAFE_InputDatePicker.js +113 -113
  1304. package/es/UNSAFE_InputPassword.js +23 -23
  1305. package/es/UNSAFE_InputSensitiveText.js +25 -25
  1306. package/es/UNSAFE_InputText.js +26 -26
  1307. package/es/UNSAFE_InputTimeMask.js +24 -24
  1308. package/es/UNSAFE_Label.js +23 -23
  1309. package/es/UNSAFE_LabelValueLayout.js +4 -4
  1310. package/es/UNSAFE_LabelledLink.js +24 -24
  1311. package/es/UNSAFE_Layer.js +8 -8
  1312. package/es/UNSAFE_Legend.js +24 -24
  1313. package/es/UNSAFE_LineAreaChart.js +34 -34
  1314. package/es/UNSAFE_Link.js +2 -2
  1315. package/es/UNSAFE_ListItemLayout.js +5 -5
  1316. package/es/UNSAFE_ListView.js +33 -33
  1317. package/es/UNSAFE_LiveRegion.js +4 -4
  1318. package/es/UNSAFE_Menu.js +23 -23
  1319. package/es/UNSAFE_MenuButton.js +21 -21
  1320. package/es/UNSAFE_MessageBanner.js +19 -19
  1321. package/es/UNSAFE_MessageToast.js +22 -22
  1322. package/es/UNSAFE_MeterBar.js +16 -16
  1323. package/es/UNSAFE_MeterCircle.js +17 -17
  1324. package/es/UNSAFE_Modal.js +8 -8
  1325. package/es/UNSAFE_NavigationList.js +20 -20
  1326. package/es/UNSAFE_NavigationListCommon.js +18 -18
  1327. package/es/UNSAFE_NumberInputText.js +25 -25
  1328. package/es/UNSAFE_OverflowTabBar.js +24 -24
  1329. package/es/UNSAFE_PictoChart.js +14 -14
  1330. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
  1331. package/es/UNSAFE_PieChart.js +21 -21
  1332. package/es/UNSAFE_Popup.js +16 -16
  1333. package/es/UNSAFE_ProgressBar.js +5 -5
  1334. package/es/UNSAFE_ProgressButton.js +19 -19
  1335. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  1336. package/es/UNSAFE_ProgressCircle.js +4 -4
  1337. package/es/UNSAFE_RadioItem.js +23 -23
  1338. package/es/UNSAFE_RadioSet.js +23 -23
  1339. package/es/UNSAFE_RatingGauge.js +17 -17
  1340. package/es/UNSAFE_ReorderableTabBar.js +24 -24
  1341. package/es/UNSAFE_RichCheckboxSet.js +38 -36
  1342. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  1343. package/es/UNSAFE_RichRadioSet.js +25 -25
  1344. package/es/UNSAFE_RichSelectionItem.js +195 -58
  1345. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  1346. package/es/UNSAFE_ScatterChart.js +34 -34
  1347. package/es/UNSAFE_SectionalLegend.js +25 -25
  1348. package/es/UNSAFE_SelectMultiple.js +36 -36
  1349. package/es/UNSAFE_SelectSingle.js +36 -36
  1350. package/es/UNSAFE_SelectionCard.js +5 -5
  1351. package/es/UNSAFE_Selector.js +16 -16
  1352. package/es/UNSAFE_SelectorAll.js +20 -20
  1353. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
  1354. package/es/UNSAFE_Sheet.js +11 -11
  1355. package/es/UNSAFE_SplitMenuButton.js +21 -21
  1356. package/es/UNSAFE_TabBar.js +25 -25
  1357. package/es/UNSAFE_TabBarCommon.js +25 -25
  1358. package/es/UNSAFE_TabBarMixed.js +26 -26
  1359. package/es/UNSAFE_TableView.js +28 -28
  1360. package/es/UNSAFE_TagCloud.js +23 -23
  1361. package/es/UNSAFE_TextArea.js +28 -27
  1362. package/es/UNSAFE_TextArea.js.map +1 -1
  1363. package/es/UNSAFE_TextAreaAutosize.js +28 -28
  1364. package/es/UNSAFE_TextField.js +7 -7
  1365. package/es/UNSAFE_ToggleButton.js +3 -3
  1366. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
  1367. package/es/UNSAFE_Toolbar.js +4 -4
  1368. package/es/UNSAFE_Train.js +17 -17
  1369. package/es/UNSAFE_TruncatingBadge.js +18 -18
  1370. package/es/UNSAFE_TruncatingText.js +17 -17
  1371. package/es/UNSAFE_UserAssistance.js +24 -24
  1372. package/es/UNSAFE_View.js +7 -7
  1373. package/es/UNSAFE_VirtualizedListView.js +25 -25
  1374. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  1375. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  1376. package/es/UNSAFE_VisStatusMessage.js +6 -6
  1377. package/es/UNSAFE_WindowOverlay.js +4 -4
  1378. package/es/View-a8a64eb1.js +167 -0
  1379. package/es/View-a8a64eb1.js.map +1 -0
  1380. package/es/VirtualizedCollection-f048fbb8.js +176 -0
  1381. package/es/VirtualizedCollection-f048fbb8.js.map +1 -0
  1382. package/es/VirtualizedListView-0532e46c.js +14 -0
  1383. package/es/VirtualizedListView-0532e46c.js.map +1 -0
  1384. package/es/VisNoData-794ddc21.js +32 -0
  1385. package/es/VisNoData-794ddc21.js.map +1 -0
  1386. package/es/VisProgressiveLoader-66dde1ff.js +51 -0
  1387. package/es/VisProgressiveLoader-66dde1ff.js.map +1 -0
  1388. package/es/VisTabularDatatip-6aa607bb.js +24 -0
  1389. package/es/VisTabularDatatip-6aa607bb.js.map +1 -0
  1390. package/es/WindowOverlay-de5d0819.js +110 -0
  1391. package/es/WindowOverlay-de5d0819.js.map +1 -0
  1392. package/es/YearsGridView-cb510d1e.js +187 -0
  1393. package/es/YearsGridView-cb510d1e.js.map +1 -0
  1394. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  1395. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  1396. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  1397. package/es/hooks/PRIVATE_useChartContextMenu.js +20 -20
  1398. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  1399. package/es/hooks/PRIVATE_useChartEvents.js +18 -18
  1400. package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
  1401. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  1402. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  1403. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  1404. package/es/hooks/PRIVATE_useFloating.js +4 -4
  1405. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  1406. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  1407. package/es/hooks/PRIVATE_useSelection.js +4 -4
  1408. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  1409. package/es/hooks/PRIVATE_useVisContextMenu.js +20 -20
  1410. package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
  1411. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  1412. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  1413. package/es/hooks/PRIVATE_useVisSelection.js +13 -13
  1414. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  1415. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  1416. package/es/hooks/UNSAFE_useDensity.js +3 -3
  1417. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  1418. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  1419. package/es/hooks/UNSAFE_useScale.js +3 -3
  1420. package/es/hooks/UNSAFE_useTestId.js +3 -3
  1421. package/es/hooks/UNSAFE_useTheme.js +3 -3
  1422. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  1423. package/es/hooks/UNSAFE_useTooltip.js +17 -17
  1424. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  1425. package/es/hooks/UNSAFE_useUser.js +3 -3
  1426. package/es/index-f4c1d6de.js +11 -0
  1427. package/es/index-f4c1d6de.js.map +1 -0
  1428. package/es/listViewSelectionTests-79aa17b2.js +3 -3
  1429. package/es/render-9dce082a.js +34 -0
  1430. package/es/render-9dce082a.js.map +1 -0
  1431. package/es/tabbableUtils-93a7cd6f.js +79 -0
  1432. package/es/tabbableUtils-93a7cd6f.js.map +1 -0
  1433. package/es/testData-a9ced8ec.js +256 -0
  1434. package/es/testData-a9ced8ec.js.map +1 -0
  1435. package/es/tooltipUtils-fcfd7dbb.js +92 -0
  1436. package/es/tooltipUtils-fcfd7dbb.js.map +1 -0
  1437. package/es/useCellNavigation-00d575ca.js +1 -1
  1438. package/es/useChartContextMenu-121a5f6d.js +2 -2
  1439. package/es/useChartDatatip-c929f857.js +164 -0
  1440. package/es/useChartDatatip-c929f857.js.map +1 -0
  1441. package/es/useColorScheme-f69d53b5.js +19 -0
  1442. package/es/useColorScheme-f69d53b5.js.map +1 -0
  1443. package/es/useContextMenu-8c47333e.js +2 -2
  1444. package/es/useCssVars-48595cd2.js +58 -0
  1445. package/es/useCssVars-48595cd2.js.map +1 -0
  1446. package/es/useCurrentBgColor-894d059b.js +19 -0
  1447. package/es/useCurrentBgColor-894d059b.js.map +1 -0
  1448. package/es/useCurrentKey-aa75ec92.js +81 -0
  1449. package/es/useCurrentKey-aa75ec92.js.map +1 -0
  1450. package/es/useDatatip-40475371.js +87 -0
  1451. package/es/useDatatip-40475371.js.map +1 -0
  1452. package/es/useDensity-04a01caf.js +19 -0
  1453. package/es/useDensity-04a01caf.js.map +1 -0
  1454. package/es/useFloating-dad3f791.js +1916 -0
  1455. package/es/useFloating-dad3f791.js.map +1 -0
  1456. package/es/useKeyboardEvents-b02e5fda.js +78 -0
  1457. package/es/useKeyboardEvents-b02e5fda.js.map +1 -0
  1458. package/es/useLegendContextMenu-1043d63c.js +4 -4
  1459. package/es/useMeterDatatip-4adf64f2.js +74 -0
  1460. package/es/useMeterDatatip-4adf64f2.js.map +1 -0
  1461. package/es/useOutsideClick-c19a8d7f.js +101 -0
  1462. package/es/useOutsideClick-c19a8d7f.js.map +1 -0
  1463. package/es/usePopupAnimation-267b444c.js +85 -0
  1464. package/es/usePopupAnimation-267b444c.js.map +1 -0
  1465. package/es/usePrefixSuffix-995d4cda.js +70 -0
  1466. package/es/usePrefixSuffix-995d4cda.js.map +1 -0
  1467. package/es/useReorderableItem-7f7c13b5.js +268 -0
  1468. package/es/useReorderableItem-7f7c13b5.js.map +1 -0
  1469. package/es/useRovingTabIndexContainer-7ec9f36f.js +98 -0
  1470. package/es/useRovingTabIndexContainer-7ec9f36f.js.map +1 -0
  1471. package/es/useScale-3b323ab2.js +19 -0
  1472. package/es/useScale-3b323ab2.js.map +1 -0
  1473. package/es/useSelectCommon-af8e715e.js +686 -0
  1474. package/es/useSelectCommon-af8e715e.js.map +1 -0
  1475. package/es/useSelectDrill-232b571c.js +103 -0
  1476. package/es/useSelectDrill-232b571c.js.map +1 -0
  1477. package/es/useSelection-bbd2320f.js +185 -0
  1478. package/es/useSelection-bbd2320f.js.map +1 -0
  1479. package/es/useSelection-c46ba985.js +239 -0
  1480. package/es/useSelection-c46ba985.js.map +1 -0
  1481. package/es/useTabBar-efad9075.js +1 -1
  1482. package/es/useTestId-af32a9eb.js +21 -0
  1483. package/es/useTestId-af32a9eb.js.map +1 -0
  1484. package/es/useTheme-73aca0e4.js +19 -0
  1485. package/es/useTheme-73aca0e4.js.map +1 -0
  1486. package/es/useThemeInterpolations-242b30ed.js +57 -0
  1487. package/es/useThemeInterpolations-242b30ed.js.map +1 -0
  1488. package/es/useTooltip-72f5cf2e.js +49 -0
  1489. package/es/useTooltip-72f5cf2e.js.map +1 -0
  1490. package/es/useTooltipControlled-97142fd1.js +368 -0
  1491. package/es/useTooltipControlled-97142fd1.js.map +1 -0
  1492. package/es/useTranslationBundle-6da03e52.js +29 -0
  1493. package/es/useTranslationBundle-6da03e52.js.map +1 -0
  1494. package/es/useUser-bca8cf2d.js +19 -0
  1495. package/es/useUser-bca8cf2d.js.map +1 -0
  1496. package/es/useVisDragModeControls-4d8d8a3b.js +1 -1
  1497. package/es/useVisEvents-37c78cfe.js +153 -0
  1498. package/es/useVisEvents-37c78cfe.js.map +1 -0
  1499. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  1500. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1501. package/es/withDirectionIcon-389870a2.js +14 -0
  1502. package/es/withDirectionIcon-389870a2.js.map +1 -0
  1503. package/es/withThemeProps-6545df54.js +2 -2
  1504. package/package.json +2 -2
  1505. package/amd/BaseCardView-70b177ed.js +0 -2
  1506. package/amd/BaseCardView-70b177ed.js.map +0 -1
  1507. package/amd/BaseCardViewSelectionTest-0ec52156.js +0 -2
  1508. package/amd/BaseCardViewSelectionTest-0ec52156.js.map +0 -1
  1509. package/amd/Card-f6f2dc90.js +0 -2
  1510. package/amd/Card-f6f2dc90.js.map +0 -1
  1511. package/amd/CardFlexView-bb5c4369.js +0 -2
  1512. package/amd/CardFlexView-bb5c4369.js.map +0 -1
  1513. package/amd/CardGridView-c28ff2f7.js +0 -2
  1514. package/amd/CardGridView-c28ff2f7.js.map +0 -1
  1515. package/amd/Center-b449a95c.js +0 -2
  1516. package/amd/Center-b449a95c.js.map +0 -1
  1517. package/amd/CompactLabelAssistance-44ba87b0.js +0 -2
  1518. package/amd/CompactLabelAssistance-44ba87b0.js.map +0 -1
  1519. package/amd/DatePicker-2c94a3bb.js +0 -2
  1520. package/amd/DatePicker-2c94a3bb.js.map +0 -1
  1521. package/amd/Diagram-c3afb211.js +0 -2
  1522. package/amd/Diagram-c3afb211.js.map +0 -1
  1523. package/amd/Dialog-53f92591.js +0 -2
  1524. package/amd/Dialog-53f92591.js.map +0 -1
  1525. package/amd/DragHandle-699fefd6.js +0 -2
  1526. package/amd/DragHandle-699fefd6.js.map +0 -1
  1527. package/amd/Dropdown-4b421eff.js +0 -2
  1528. package/amd/Dropdown-4b421eff.js.map +0 -1
  1529. package/amd/EnvironmentProvider-8f6fc388.js +0 -2
  1530. package/amd/EnvironmentProvider-8f6fc388.js.map +0 -1
  1531. package/amd/Flex-56ecdf4c.js +0 -2
  1532. package/amd/Flex-56ecdf4c.js.map +0 -1
  1533. package/amd/Floating-1ec5ec2a.js +0 -2
  1534. package/amd/Floating-1ec5ec2a.js.map +0 -1
  1535. package/amd/Grid-160f4885.js +0 -2
  1536. package/amd/Grid-160f4885.js.map +0 -1
  1537. package/amd/Gridlines-7851bb20.js +0 -2
  1538. package/amd/Gridlines-7851bb20.js.map +0 -1
  1539. package/amd/HighlightText-bd4c0101.js +0 -2
  1540. package/amd/HighlightText-bd4c0101.js.map +0 -1
  1541. package/amd/IconUserAssistance-d2bd2691.js +0 -2
  1542. package/amd/IconUserAssistance-d2bd2691.js.map +0 -1
  1543. package/amd/Indexer-357554c4.js +0 -2
  1544. package/amd/Indexer-357554c4.js.map +0 -1
  1545. package/amd/Layer-447c68e6.js +0 -2
  1546. package/amd/Layer-447c68e6.js.map +0 -1
  1547. package/amd/LayerHost-e95c5f30.js +0 -2
  1548. package/amd/LayerHost-e95c5f30.js.map +0 -1
  1549. package/amd/LayerManager-76fcfb58.js +0 -2
  1550. package/amd/LayerManager-76fcfb58.js.map +0 -1
  1551. package/amd/LineAreaChart-b4acee62.js +0 -2
  1552. package/amd/LineAreaChart-b4acee62.js.map +0 -1
  1553. package/amd/LineSeries-a549e727.js +0 -2
  1554. package/amd/LineSeries-a549e727.js.map +0 -1
  1555. package/amd/List-04c4fed0.js +0 -2
  1556. package/amd/List-04c4fed0.js.map +0 -1
  1557. package/amd/ListItemLayout-4208363c.js +0 -2
  1558. package/amd/ListItemLayout-4208363c.js.map +0 -1
  1559. package/amd/ListView-bf740071.js +0 -2
  1560. package/amd/ListView-bf740071.js.map +0 -1
  1561. package/amd/LiveRegion-8142ed0d.js +0 -2
  1562. package/amd/LiveRegion-8142ed0d.js.map +0 -1
  1563. package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
  1564. package/amd/LoadMoreCollection-a6adbc3f.js.map +0 -1
  1565. package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
  1566. package/amd/MaxLengthLiveRegion-8954fc30.js.map +0 -1
  1567. package/amd/MessageLayer-ba56f7e2.js +0 -2
  1568. package/amd/MessageLayer-ba56f7e2.js.map +0 -1
  1569. package/amd/Modal-d6b2e905.js +0 -2
  1570. package/amd/Modal-d6b2e905.js.map +0 -1
  1571. package/amd/MonthView-4a0401cd.js +0 -2
  1572. package/amd/MonthView-4a0401cd.js.map +0 -1
  1573. package/amd/NavigationListItem-021b2d58.js +0 -2
  1574. package/amd/NavigationListItem-021b2d58.js.map +0 -1
  1575. package/amd/OverflowTabBar-ea3a4742.js +0 -2
  1576. package/amd/OverflowTabBar-ea3a4742.js.map +0 -1
  1577. package/amd/OverflowTabBarItem-763773c9.js +0 -2
  1578. package/amd/OverflowTabBarItem-763773c9.js.map +0 -1
  1579. package/amd/Popup-d51bf3f4.js +0 -2
  1580. package/amd/Popup-d51bf3f4.js.map +0 -1
  1581. package/amd/ProgressBar-3f4cd8d6.js +0 -2
  1582. package/amd/ProgressBar-3f4cd8d6.js.map +0 -1
  1583. package/amd/ProgressCircle-74b6fc89.js +0 -2
  1584. package/amd/ProgressCircle-74b6fc89.js.map +0 -1
  1585. package/amd/ScatterChart-0ca7c658.js +0 -2
  1586. package/amd/ScatterChart-0ca7c658.js.map +0 -1
  1587. package/amd/SectionedContent-2a261004.js +0 -2
  1588. package/amd/SectionedContent-2a261004.js.map +0 -1
  1589. package/amd/SelectMultiple-e3a6732b.js +0 -2
  1590. package/amd/SelectMultiple-e3a6732b.js.map +0 -1
  1591. package/amd/SelectSingle-9d0dca8f.js +0 -2
  1592. package/amd/SelectSingle-9d0dca8f.js.map +0 -1
  1593. package/amd/SelectionCard-895b014d.js +0 -2
  1594. package/amd/SelectionCard-895b014d.js.map +0 -1
  1595. package/amd/SelectorAll-e884a225.js +0 -2
  1596. package/amd/SelectorAll-e884a225.js.map +0 -1
  1597. package/amd/Sheet-46782f99.js +0 -2
  1598. package/amd/Sheet-46782f99.js.map +0 -1
  1599. package/amd/StyledCard-c4d0324d.js +0 -2
  1600. package/amd/StyledCard-c4d0324d.js.map +0 -1
  1601. package/amd/TabBarMixedSeparator-8c278254.js +0 -2
  1602. package/amd/TabBarMixedSeparator-8c278254.js.map +0 -1
  1603. package/amd/Table-31cc83c6.js +0 -2
  1604. package/amd/Table-31cc83c6.js.map +0 -1
  1605. package/amd/TableView-ab5d0c12.js +0 -2
  1606. package/amd/TableView-ab5d0c12.js.map +0 -1
  1607. package/amd/TruncatingBadge-04f9ef4c.js +0 -2
  1608. package/amd/TruncatingBadge-04f9ef4c.js.map +0 -1
  1609. package/amd/TruncatingText-d18d41c5.js +0 -2
  1610. package/amd/TruncatingText-d18d41c5.js.map +0 -1
  1611. package/amd/View-ce970ed7.js +0 -2
  1612. package/amd/View-ce970ed7.js.map +0 -1
  1613. package/amd/VirtualizedCollection-63223f5e.js +0 -2
  1614. package/amd/VirtualizedCollection-63223f5e.js.map +0 -1
  1615. package/amd/VirtualizedListView-554eaee6.js +0 -2
  1616. package/amd/VirtualizedListView-554eaee6.js.map +0 -1
  1617. package/amd/VisNoData-6fa39277.js +0 -2
  1618. package/amd/VisNoData-6fa39277.js.map +0 -1
  1619. package/amd/VisProgressiveLoader-68d8d8b3.js +0 -2
  1620. package/amd/VisProgressiveLoader-68d8d8b3.js.map +0 -1
  1621. package/amd/VisTabularDatatip-1051eaca.js +0 -2
  1622. package/amd/VisTabularDatatip-1051eaca.js.map +0 -1
  1623. package/amd/WindowOverlay-a2d80d55.js +0 -2
  1624. package/amd/WindowOverlay-a2d80d55.js.map +0 -1
  1625. package/amd/YearsGridView-d799dc5c.js +0 -2
  1626. package/amd/YearsGridView-d799dc5c.js.map +0 -1
  1627. package/amd/index-b7b9300d.js +0 -2
  1628. package/amd/index-b7b9300d.js.map +0 -1
  1629. package/amd/render-366c27ff.js +0 -2
  1630. package/amd/render-366c27ff.js.map +0 -1
  1631. package/amd/tabbableUtils-88d4fa35.js +0 -2
  1632. package/amd/tabbableUtils-88d4fa35.js.map +0 -1
  1633. package/amd/testData-783b8823.js +0 -2
  1634. package/amd/testData-783b8823.js.map +0 -1
  1635. package/amd/tooltipUtils-69ce0a2d.js +0 -2
  1636. package/amd/tooltipUtils-69ce0a2d.js.map +0 -1
  1637. package/amd/useChartDatatip-ee3783af.js +0 -2
  1638. package/amd/useChartDatatip-ee3783af.js.map +0 -1
  1639. package/amd/useColorScheme-10dc88de.js +0 -2
  1640. package/amd/useColorScheme-10dc88de.js.map +0 -1
  1641. package/amd/useCssVars-c043f8da.js +0 -2
  1642. package/amd/useCssVars-c043f8da.js.map +0 -1
  1643. package/amd/useCurrentBgColor-2426ee24.js +0 -2
  1644. package/amd/useCurrentBgColor-2426ee24.js.map +0 -1
  1645. package/amd/useCurrentKey-31c18053.js +0 -2
  1646. package/amd/useCurrentKey-31c18053.js.map +0 -1
  1647. package/amd/useDatatip-ac26447a.js +0 -2
  1648. package/amd/useDatatip-ac26447a.js.map +0 -1
  1649. package/amd/useDensity-c83df7b4.js +0 -2
  1650. package/amd/useDensity-c83df7b4.js.map +0 -1
  1651. package/amd/useFloating-acd30a55.js +0 -2
  1652. package/amd/useFloating-acd30a55.js.map +0 -1
  1653. package/amd/useKeyboardEvents-d87e3587.js +0 -2
  1654. package/amd/useKeyboardEvents-d87e3587.js.map +0 -1
  1655. package/amd/useMeterDatatip-fff3c329.js +0 -2
  1656. package/amd/useMeterDatatip-fff3c329.js.map +0 -1
  1657. package/amd/useOutsideClick-f99b7a84.js +0 -2
  1658. package/amd/useOutsideClick-f99b7a84.js.map +0 -1
  1659. package/amd/usePopupAnimation-f679a4b0.js +0 -2
  1660. package/amd/usePopupAnimation-f679a4b0.js.map +0 -1
  1661. package/amd/usePrefixSuffix-09bd5925.js +0 -2
  1662. package/amd/usePrefixSuffix-09bd5925.js.map +0 -1
  1663. package/amd/useReorderableItem-4c4779f7.js +0 -2
  1664. package/amd/useReorderableItem-4c4779f7.js.map +0 -1
  1665. package/amd/useRovingTabIndexContainer-955e23a8.js +0 -2
  1666. package/amd/useRovingTabIndexContainer-955e23a8.js.map +0 -1
  1667. package/amd/useScale-37d42c9d.js +0 -2
  1668. package/amd/useScale-37d42c9d.js.map +0 -1
  1669. package/amd/useSelectCommon-e7f123ce.js +0 -2
  1670. package/amd/useSelectCommon-e7f123ce.js.map +0 -1
  1671. package/amd/useSelectDrill-6361116b.js +0 -2
  1672. package/amd/useSelectDrill-6361116b.js.map +0 -1
  1673. package/amd/useSelection-af7b4b52.js +0 -2
  1674. package/amd/useSelection-af7b4b52.js.map +0 -1
  1675. package/amd/useSelection-f0c7d74d.js +0 -2
  1676. package/amd/useSelection-f0c7d74d.js.map +0 -1
  1677. package/amd/useTestId-3a316499.js +0 -2
  1678. package/amd/useTestId-3a316499.js.map +0 -1
  1679. package/amd/useTheme-ac980f9a.js +0 -2
  1680. package/amd/useTheme-ac980f9a.js.map +0 -1
  1681. package/amd/useThemeInterpolations-6b2de213.js +0 -2
  1682. package/amd/useThemeInterpolations-6b2de213.js.map +0 -1
  1683. package/amd/useTooltip-7b11fd35.js +0 -2
  1684. package/amd/useTooltip-7b11fd35.js.map +0 -1
  1685. package/amd/useTooltipControlled-52183a08.js +0 -2
  1686. package/amd/useTooltipControlled-52183a08.js.map +0 -1
  1687. package/amd/useTranslationBundle-516b1b83.js +0 -2
  1688. package/amd/useTranslationBundle-516b1b83.js.map +0 -1
  1689. package/amd/useUser-85c781ea.js +0 -2
  1690. package/amd/useUser-85c781ea.js.map +0 -1
  1691. package/amd/useVisEvents-0166e4cc.js +0 -2
  1692. package/amd/useVisEvents-0166e4cc.js.map +0 -1
  1693. package/amd/withDirectionIcon-ce0c7432.js +0 -2
  1694. package/amd/withDirectionIcon-ce0c7432.js.map +0 -1
  1695. package/cjs/BarChart-ca7f8ed5.js +0 -181
  1696. package/cjs/BarChart-ca7f8ed5.js.map +0 -1
  1697. package/cjs/BaseCardViewSelectionTest-df948f2c.js +0 -734
  1698. package/cjs/BaseCardViewSelectionTest-df948f2c.js.map +0 -1
  1699. package/cjs/Card-a6693442.js +0 -17
  1700. package/cjs/Card-a6693442.js.map +0 -1
  1701. package/cjs/Center-c0baccb0.js +0 -18
  1702. package/cjs/Center-c0baccb0.js.map +0 -1
  1703. package/cjs/Chart-fbbd3329.js +0 -451
  1704. package/cjs/Chart-fbbd3329.js.map +0 -1
  1705. package/cjs/CheckboxSetContext-c62db26d.js +0 -12
  1706. package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
  1707. package/cjs/ComboChart-95863e7a.js +0 -174
  1708. package/cjs/ComboChart-95863e7a.js.map +0 -1
  1709. package/cjs/CompactLabelAssistance-fd841834.js +0 -36
  1710. package/cjs/CompactLabelAssistance-fd841834.js.map +0 -1
  1711. package/cjs/DatePicker-65b047ad.js +0 -566
  1712. package/cjs/DatePicker-65b047ad.js.map +0 -1
  1713. package/cjs/Diagram-2e66a8cb.js +0 -2028
  1714. package/cjs/Diagram-2e66a8cb.js.map +0 -1
  1715. package/cjs/Dialog-4160338c.js +0 -318
  1716. package/cjs/Dialog-4160338c.js.map +0 -1
  1717. package/cjs/DragHandle-67b6118b.js +0 -24
  1718. package/cjs/DragHandle-67b6118b.js.map +0 -1
  1719. package/cjs/Dropdown-34b8f141.js +0 -82
  1720. package/cjs/Dropdown-34b8f141.js.map +0 -1
  1721. package/cjs/EnvironmentProvider-75eb79f3.js +0 -61
  1722. package/cjs/EnvironmentProvider-75eb79f3.js.map +0 -1
  1723. package/cjs/Flex-e7a85bef.js +0 -33
  1724. package/cjs/Flex-e7a85bef.js.map +0 -1
  1725. package/cjs/Floating-56621d20.js +0 -464
  1726. package/cjs/Floating-56621d20.js.map +0 -1
  1727. package/cjs/Grid-a7316edd.js +0 -29
  1728. package/cjs/Grid-a7316edd.js.map +0 -1
  1729. package/cjs/Gridlines-ef3af190.js +0 -171
  1730. package/cjs/Gridlines-ef3af190.js.map +0 -1
  1731. package/cjs/HighlightText-dd11dd32.js +0 -33
  1732. package/cjs/HighlightText-dd11dd32.js.map +0 -1
  1733. package/cjs/IconUserAssistance-52208fde.js +0 -75
  1734. package/cjs/IconUserAssistance-52208fde.js.map +0 -1
  1735. package/cjs/Layer-0053053a.js +0 -91
  1736. package/cjs/Layer-0053053a.js.map +0 -1
  1737. package/cjs/LayerHost-a8c7f182.js +0 -45
  1738. package/cjs/LayerHost-a8c7f182.js.map +0 -1
  1739. package/cjs/LayerManager-2d0b83ac.js +0 -36
  1740. package/cjs/LayerManager-2d0b83ac.js.map +0 -1
  1741. package/cjs/LineAreaChart-506308c1.js +0 -172
  1742. package/cjs/LineAreaChart-506308c1.js.map +0 -1
  1743. package/cjs/LineSeries-0e984080.js +0 -112
  1744. package/cjs/LineSeries-0e984080.js.map +0 -1
  1745. package/cjs/ListItemLayout-ec53f199.js +0 -112
  1746. package/cjs/ListItemLayout-ec53f199.js.map +0 -1
  1747. package/cjs/LiveRegion-567427c5.js +0 -41
  1748. package/cjs/LiveRegion-567427c5.js.map +0 -1
  1749. package/cjs/MaxLengthLiveRegion-f03f07c6.js +0 -25
  1750. package/cjs/MaxLengthLiveRegion-f03f07c6.js.map +0 -1
  1751. package/cjs/MessageLayer-f9aa9828.js +0 -61
  1752. package/cjs/MessageLayer-f9aa9828.js.map +0 -1
  1753. package/cjs/Modal-b9987f2d.js +0 -264
  1754. package/cjs/Modal-b9987f2d.js.map +0 -1
  1755. package/cjs/MonthView-9c2819f0.js +0 -210
  1756. package/cjs/MonthView-9c2819f0.js.map +0 -1
  1757. package/cjs/Popup-84ce41d3.js +0 -249
  1758. package/cjs/Popup-84ce41d3.js.map +0 -1
  1759. package/cjs/ProgressBar-aa9edb7a.js +0 -64
  1760. package/cjs/ProgressBar-aa9edb7a.js.map +0 -1
  1761. package/cjs/ProgressCircle-1d9fbade.js +0 -50
  1762. package/cjs/ProgressCircle-1d9fbade.js.map +0 -1
  1763. package/cjs/ScatterChart-80ef4bee.js +0 -105
  1764. package/cjs/ScatterChart-80ef4bee.js.map +0 -1
  1765. package/cjs/SectionedContent-06dc071c.js +0 -67
  1766. package/cjs/SectionedContent-06dc071c.js.map +0 -1
  1767. package/cjs/SelectionCard-67f7003e.js +0 -18
  1768. package/cjs/SelectionCard-67f7003e.js.map +0 -1
  1769. package/cjs/SelectorAll-b55e1b61.js +0 -71
  1770. package/cjs/SelectorAll-b55e1b61.js.map +0 -1
  1771. package/cjs/Sheet-86989265.js +0 -161
  1772. package/cjs/Sheet-86989265.js.map +0 -1
  1773. package/cjs/StyledCard-a0496c88.js +0 -107
  1774. package/cjs/StyledCard-a0496c88.js.map +0 -1
  1775. package/cjs/TabBarMixedSeparator-0e258647.js +0 -21
  1776. package/cjs/TabBarMixedSeparator-0e258647.js.map +0 -1
  1777. package/cjs/TextArea-4c8f0284.js +0 -180
  1778. package/cjs/TextArea-4c8f0284.js.map +0 -1
  1779. package/cjs/TextAreaAutosize-466a21cc.js +0 -246
  1780. package/cjs/TextAreaAutosize-466a21cc.js.map +0 -1
  1781. package/cjs/TruncatingBadge-efe34bb7.js +0 -36
  1782. package/cjs/TruncatingBadge-efe34bb7.js.map +0 -1
  1783. package/cjs/TruncatingText-33c06a6c.js +0 -50
  1784. package/cjs/TruncatingText-33c06a6c.js.map +0 -1
  1785. package/cjs/View-5930179e.js +0 -170
  1786. package/cjs/View-5930179e.js.map +0 -1
  1787. package/cjs/VisNoData-5b2aa6a2.js +0 -35
  1788. package/cjs/VisNoData-5b2aa6a2.js.map +0 -1
  1789. package/cjs/VisProgressiveLoader-dacfe618.js +0 -53
  1790. package/cjs/VisProgressiveLoader-dacfe618.js.map +0 -1
  1791. package/cjs/VisTabularDatatip-eca8aa8f.js +0 -26
  1792. package/cjs/VisTabularDatatip-eca8aa8f.js.map +0 -1
  1793. package/cjs/WindowOverlay-06408f56.js +0 -112
  1794. package/cjs/WindowOverlay-06408f56.js.map +0 -1
  1795. package/cjs/YearsGridView-09f2f6c4.js +0 -190
  1796. package/cjs/YearsGridView-09f2f6c4.js.map +0 -1
  1797. package/cjs/index-ce6f9627.js +0 -13
  1798. package/cjs/index-ce6f9627.js.map +0 -1
  1799. package/cjs/render-9767e967.js +0 -41
  1800. package/cjs/render-9767e967.js.map +0 -1
  1801. package/cjs/tabbableUtils-a38b7148.js +0 -81
  1802. package/cjs/tabbableUtils-a38b7148.js.map +0 -1
  1803. package/cjs/testData-7439df49.js +0 -271
  1804. package/cjs/testData-7439df49.js.map +0 -1
  1805. package/cjs/tooltipUtils-669c2ae0.js +0 -97
  1806. package/cjs/tooltipUtils-669c2ae0.js.map +0 -1
  1807. package/cjs/useChartDatatip-c6107d63.js +0 -166
  1808. package/cjs/useChartDatatip-c6107d63.js.map +0 -1
  1809. package/cjs/useColorScheme-ce2a88b1.js +0 -21
  1810. package/cjs/useColorScheme-ce2a88b1.js.map +0 -1
  1811. package/cjs/useCssVars-bd95e715.js +0 -60
  1812. package/cjs/useCssVars-bd95e715.js.map +0 -1
  1813. package/cjs/useCurrentBgColor-6e39eb3a.js +0 -21
  1814. package/cjs/useCurrentBgColor-6e39eb3a.js.map +0 -1
  1815. package/cjs/useCurrentKey-88495da2.js +0 -83
  1816. package/cjs/useCurrentKey-88495da2.js.map +0 -1
  1817. package/cjs/useDatatip-83ab0540.js +0 -89
  1818. package/cjs/useDatatip-83ab0540.js.map +0 -1
  1819. package/cjs/useDensity-1f8cc921.js +0 -21
  1820. package/cjs/useDensity-1f8cc921.js.map +0 -1
  1821. package/cjs/useFloating-480d365a.js +0 -1926
  1822. package/cjs/useFloating-480d365a.js.map +0 -1
  1823. package/cjs/useKeyboardEvents-5e808fe3.js +0 -81
  1824. package/cjs/useKeyboardEvents-5e808fe3.js.map +0 -1
  1825. package/cjs/useMeterDatatip-641afcc6.js +0 -77
  1826. package/cjs/useMeterDatatip-641afcc6.js.map +0 -1
  1827. package/cjs/useOutsideClick-03a6c38c.js +0 -103
  1828. package/cjs/useOutsideClick-03a6c38c.js.map +0 -1
  1829. package/cjs/usePopupAnimation-2afacc4b.js +0 -87
  1830. package/cjs/usePopupAnimation-2afacc4b.js.map +0 -1
  1831. package/cjs/usePrefixSuffix-23341de3.js +0 -72
  1832. package/cjs/usePrefixSuffix-23341de3.js.map +0 -1
  1833. package/cjs/useReorderableItem-0dbb8843.js +0 -271
  1834. package/cjs/useReorderableItem-0dbb8843.js.map +0 -1
  1835. package/cjs/useRovingTabIndexContainer-dc12b802.js +0 -100
  1836. package/cjs/useRovingTabIndexContainer-dc12b802.js.map +0 -1
  1837. package/cjs/useScale-a681a5cb.js +0 -21
  1838. package/cjs/useScale-a681a5cb.js.map +0 -1
  1839. package/cjs/useSelectDrill-c95b1a51.js +0 -106
  1840. package/cjs/useSelectDrill-c95b1a51.js.map +0 -1
  1841. package/cjs/useSelection-228ef3ce.js +0 -241
  1842. package/cjs/useSelection-228ef3ce.js.map +0 -1
  1843. package/cjs/useSelection-efdf0e84.js +0 -187
  1844. package/cjs/useSelection-efdf0e84.js.map +0 -1
  1845. package/cjs/useTestId-5e6af45d.js +0 -23
  1846. package/cjs/useTestId-5e6af45d.js.map +0 -1
  1847. package/cjs/useTheme-8fb5546b.js +0 -21
  1848. package/cjs/useTheme-8fb5546b.js.map +0 -1
  1849. package/cjs/useThemeInterpolations-28ca9a13.js +0 -59
  1850. package/cjs/useThemeInterpolations-28ca9a13.js.map +0 -1
  1851. package/cjs/useTooltip-81b7b753.js +0 -51
  1852. package/cjs/useTooltip-81b7b753.js.map +0 -1
  1853. package/cjs/useTooltipControlled-33832163.js +0 -371
  1854. package/cjs/useTooltipControlled-33832163.js.map +0 -1
  1855. package/cjs/useTranslationBundle-51f4c22c.js +0 -31
  1856. package/cjs/useTranslationBundle-51f4c22c.js.map +0 -1
  1857. package/cjs/useUser-a4bfc560.js +0 -21
  1858. package/cjs/useUser-a4bfc560.js.map +0 -1
  1859. package/cjs/useVisEvents-e48065f4.js +0 -155
  1860. package/cjs/useVisEvents-e48065f4.js.map +0 -1
  1861. package/cjs/withDirectionIcon-1affce30.js +0 -16
  1862. package/cjs/withDirectionIcon-1affce30.js.map +0 -1
  1863. package/es/BaseCardView-c5a8ee6a.js +0 -683
  1864. package/es/BaseCardView-c5a8ee6a.js.map +0 -1
  1865. package/es/BaseCardViewSelectionTest-1a6585af.js +0 -721
  1866. package/es/BaseCardViewSelectionTest-1a6585af.js.map +0 -1
  1867. package/es/Card-44b7de2f.js +0 -15
  1868. package/es/Card-44b7de2f.js.map +0 -1
  1869. package/es/CardFlexView-529906e0.js +0 -27
  1870. package/es/CardFlexView-529906e0.js.map +0 -1
  1871. package/es/CardGridView-ec18c929.js +0 -15
  1872. package/es/CardGridView-ec18c929.js.map +0 -1
  1873. package/es/Center-8b48ab02.js +0 -16
  1874. package/es/Center-8b48ab02.js.map +0 -1
  1875. package/es/CheckboxSetContext-1be56556.js +0 -9
  1876. package/es/CheckboxSetContext-1be56556.js.map +0 -1
  1877. package/es/CompactLabelAssistance-6a627bbb.js +0 -34
  1878. package/es/CompactLabelAssistance-6a627bbb.js.map +0 -1
  1879. package/es/DatePicker-d4c3ec06.js +0 -564
  1880. package/es/DatePicker-d4c3ec06.js.map +0 -1
  1881. package/es/Diagram-a6348a41.js +0 -2026
  1882. package/es/Diagram-a6348a41.js.map +0 -1
  1883. package/es/Dialog-d64dd573.js +0 -316
  1884. package/es/Dialog-d64dd573.js.map +0 -1
  1885. package/es/DragHandle-d3a739f5.js +0 -22
  1886. package/es/DragHandle-d3a739f5.js.map +0 -1
  1887. package/es/Dropdown-f0cdaeae.js +0 -80
  1888. package/es/Dropdown-f0cdaeae.js.map +0 -1
  1889. package/es/EnvironmentProvider-0fc2fd0c.js +0 -58
  1890. package/es/EnvironmentProvider-0fc2fd0c.js.map +0 -1
  1891. package/es/Flex-8696b27b.js +0 -30
  1892. package/es/Flex-8696b27b.js.map +0 -1
  1893. package/es/Floating-9bf456f9.js +0 -462
  1894. package/es/Floating-9bf456f9.js.map +0 -1
  1895. package/es/Grid-7fd29a9e.js +0 -27
  1896. package/es/Grid-7fd29a9e.js.map +0 -1
  1897. package/es/Gridlines-5ac89a84.js +0 -168
  1898. package/es/Gridlines-5ac89a84.js.map +0 -1
  1899. package/es/HighlightText-cc043982.js +0 -31
  1900. package/es/HighlightText-cc043982.js.map +0 -1
  1901. package/es/IconUserAssistance-627f9d18.js +0 -73
  1902. package/es/IconUserAssistance-627f9d18.js.map +0 -1
  1903. package/es/Indexer-ba2c7593.js +0 -336
  1904. package/es/Indexer-ba2c7593.js.map +0 -1
  1905. package/es/InputDatePicker-dd3b6c89.js +0 -307
  1906. package/es/InputDatePicker-dd3b6c89.js.map +0 -1
  1907. package/es/Layer-12a734d1.js +0 -88
  1908. package/es/Layer-12a734d1.js.map +0 -1
  1909. package/es/LayerHost-15b42a3e.js +0 -40
  1910. package/es/LayerHost-15b42a3e.js.map +0 -1
  1911. package/es/LayerManager-af39e736.js +0 -34
  1912. package/es/LayerManager-af39e736.js.map +0 -1
  1913. package/es/LineAreaChart-94387b8b.js +0 -170
  1914. package/es/LineAreaChart-94387b8b.js.map +0 -1
  1915. package/es/LineSeries-ca5836e7.js +0 -109
  1916. package/es/LineSeries-ca5836e7.js.map +0 -1
  1917. package/es/List-97b7be70.js +0 -718
  1918. package/es/List-97b7be70.js.map +0 -1
  1919. package/es/ListItemLayout-e87958e3.js +0 -110
  1920. package/es/ListItemLayout-e87958e3.js.map +0 -1
  1921. package/es/ListView-936d8a4f.js +0 -428
  1922. package/es/ListView-936d8a4f.js.map +0 -1
  1923. package/es/LiveRegion-cb4f8a54.js +0 -39
  1924. package/es/LiveRegion-cb4f8a54.js.map +0 -1
  1925. package/es/LoadMoreCollection-95a49d2a.js +0 -31
  1926. package/es/LoadMoreCollection-95a49d2a.js.map +0 -1
  1927. package/es/MaxLengthLiveRegion-59087064.js +0 -23
  1928. package/es/MaxLengthLiveRegion-59087064.js.map +0 -1
  1929. package/es/MessageLayer-8bed437a.js +0 -58
  1930. package/es/MessageLayer-8bed437a.js.map +0 -1
  1931. package/es/Modal-103da2aa.js +0 -262
  1932. package/es/Modal-103da2aa.js.map +0 -1
  1933. package/es/MonthView-3f86e858.js +0 -208
  1934. package/es/MonthView-3f86e858.js.map +0 -1
  1935. package/es/Popup-6c3f0839.js +0 -247
  1936. package/es/Popup-6c3f0839.js.map +0 -1
  1937. package/es/ProgressBar-95461222.js +0 -62
  1938. package/es/ProgressBar-95461222.js.map +0 -1
  1939. package/es/ProgressCircle-93c309cb.js +0 -48
  1940. package/es/ProgressCircle-93c309cb.js.map +0 -1
  1941. package/es/ScatterChart-739a9ec0.js +0 -103
  1942. package/es/ScatterChart-739a9ec0.js.map +0 -1
  1943. package/es/SectionedContent-3fd063af.js +0 -64
  1944. package/es/SectionedContent-3fd063af.js.map +0 -1
  1945. package/es/SelectMultiple-ad8fc99a.js +0 -1303
  1946. package/es/SelectMultiple-ad8fc99a.js.map +0 -1
  1947. package/es/SelectSingle-abaf271c.js +0 -736
  1948. package/es/SelectSingle-abaf271c.js.map +0 -1
  1949. package/es/SelectionCard-1f8585cb.js +0 -16
  1950. package/es/SelectionCard-1f8585cb.js.map +0 -1
  1951. package/es/SelectorAll-e833da6d.js +0 -69
  1952. package/es/SelectorAll-e833da6d.js.map +0 -1
  1953. package/es/Sheet-0861fcc0.js +0 -158
  1954. package/es/Sheet-0861fcc0.js.map +0 -1
  1955. package/es/StyledCard-f5965d6d.js +0 -105
  1956. package/es/StyledCard-f5965d6d.js.map +0 -1
  1957. package/es/TabBarMixedSeparator-da56f4c0.js +0 -19
  1958. package/es/TabBarMixedSeparator-da56f4c0.js.map +0 -1
  1959. package/es/Table-1ba124ec.js +0 -5509
  1960. package/es/Table-1ba124ec.js.map +0 -1
  1961. package/es/TableView-20223ba6.js +0 -31
  1962. package/es/TableView-20223ba6.js.map +0 -1
  1963. package/es/TextArea-64b4e972.js +0 -177
  1964. package/es/TextArea-64b4e972.js.map +0 -1
  1965. package/es/TextAreaAutosize-4e0f60ef.js +0 -244
  1966. package/es/TextAreaAutosize-4e0f60ef.js.map +0 -1
  1967. package/es/TruncatingBadge-b69c1ceb.js +0 -34
  1968. package/es/TruncatingBadge-b69c1ceb.js.map +0 -1
  1969. package/es/TruncatingText-68acfafd.js +0 -48
  1970. package/es/TruncatingText-68acfafd.js.map +0 -1
  1971. package/es/View-63980a9b.js +0 -167
  1972. package/es/View-63980a9b.js.map +0 -1
  1973. package/es/VirtualizedCollection-e73890a1.js +0 -176
  1974. package/es/VirtualizedCollection-e73890a1.js.map +0 -1
  1975. package/es/VirtualizedListView-3ef40bde.js +0 -14
  1976. package/es/VirtualizedListView-3ef40bde.js.map +0 -1
  1977. package/es/VisNoData-02cab8f6.js +0 -32
  1978. package/es/VisNoData-02cab8f6.js.map +0 -1
  1979. package/es/VisProgressiveLoader-2b2103c8.js +0 -51
  1980. package/es/VisProgressiveLoader-2b2103c8.js.map +0 -1
  1981. package/es/VisTabularDatatip-2ae7ee48.js +0 -24
  1982. package/es/VisTabularDatatip-2ae7ee48.js.map +0 -1
  1983. package/es/WindowOverlay-9b43e658.js +0 -110
  1984. package/es/WindowOverlay-9b43e658.js.map +0 -1
  1985. package/es/YearsGridView-cc0574f2.js +0 -187
  1986. package/es/YearsGridView-cc0574f2.js.map +0 -1
  1987. package/es/index-20f848bc.js +0 -11
  1988. package/es/index-20f848bc.js.map +0 -1
  1989. package/es/render-2b908d4f.js +0 -34
  1990. package/es/render-2b908d4f.js.map +0 -1
  1991. package/es/tabbableUtils-20bbaf8d.js +0 -79
  1992. package/es/tabbableUtils-20bbaf8d.js.map +0 -1
  1993. package/es/testData-70bebfae.js +0 -256
  1994. package/es/testData-70bebfae.js.map +0 -1
  1995. package/es/tooltipUtils-38192add.js +0 -92
  1996. package/es/tooltipUtils-38192add.js.map +0 -1
  1997. package/es/useChartDatatip-977bc33d.js +0 -164
  1998. package/es/useChartDatatip-977bc33d.js.map +0 -1
  1999. package/es/useColorScheme-d8a80e2b.js +0 -19
  2000. package/es/useColorScheme-d8a80e2b.js.map +0 -1
  2001. package/es/useCssVars-8e6932f8.js +0 -58
  2002. package/es/useCssVars-8e6932f8.js.map +0 -1
  2003. package/es/useCurrentBgColor-5418492b.js +0 -19
  2004. package/es/useCurrentBgColor-5418492b.js.map +0 -1
  2005. package/es/useCurrentKey-63f6afcc.js +0 -81
  2006. package/es/useCurrentKey-63f6afcc.js.map +0 -1
  2007. package/es/useDatatip-bce558e2.js +0 -87
  2008. package/es/useDatatip-bce558e2.js.map +0 -1
  2009. package/es/useDensity-64ecb649.js +0 -19
  2010. package/es/useDensity-64ecb649.js.map +0 -1
  2011. package/es/useFloating-41d21e7d.js +0 -1916
  2012. package/es/useFloating-41d21e7d.js.map +0 -1
  2013. package/es/useKeyboardEvents-5c311766.js +0 -78
  2014. package/es/useKeyboardEvents-5c311766.js.map +0 -1
  2015. package/es/useMeterDatatip-5268869e.js +0 -74
  2016. package/es/useMeterDatatip-5268869e.js.map +0 -1
  2017. package/es/useOutsideClick-8a582d08.js +0 -101
  2018. package/es/useOutsideClick-8a582d08.js.map +0 -1
  2019. package/es/usePopupAnimation-e2e6a2ca.js +0 -85
  2020. package/es/usePopupAnimation-e2e6a2ca.js.map +0 -1
  2021. package/es/usePrefixSuffix-435a9c59.js +0 -70
  2022. package/es/usePrefixSuffix-435a9c59.js.map +0 -1
  2023. package/es/useReorderableItem-96616318.js +0 -268
  2024. package/es/useReorderableItem-96616318.js.map +0 -1
  2025. package/es/useRovingTabIndexContainer-9afe3ee0.js +0 -98
  2026. package/es/useRovingTabIndexContainer-9afe3ee0.js.map +0 -1
  2027. package/es/useScale-c86ecc6e.js +0 -19
  2028. package/es/useScale-c86ecc6e.js.map +0 -1
  2029. package/es/useSelectCommon-1dafa6f9.js +0 -686
  2030. package/es/useSelectCommon-1dafa6f9.js.map +0 -1
  2031. package/es/useSelectDrill-24264e6b.js +0 -103
  2032. package/es/useSelectDrill-24264e6b.js.map +0 -1
  2033. package/es/useSelection-1b256f77.js +0 -185
  2034. package/es/useSelection-1b256f77.js.map +0 -1
  2035. package/es/useSelection-879c64aa.js +0 -239
  2036. package/es/useSelection-879c64aa.js.map +0 -1
  2037. package/es/useTestId-3bc3958c.js +0 -21
  2038. package/es/useTestId-3bc3958c.js.map +0 -1
  2039. package/es/useTheme-4b0f211c.js +0 -19
  2040. package/es/useTheme-4b0f211c.js.map +0 -1
  2041. package/es/useThemeInterpolations-8bee52ac.js +0 -57
  2042. package/es/useThemeInterpolations-8bee52ac.js.map +0 -1
  2043. package/es/useTooltip-98b6d3b5.js +0 -49
  2044. package/es/useTooltip-98b6d3b5.js.map +0 -1
  2045. package/es/useTooltipControlled-b565c75b.js +0 -368
  2046. package/es/useTooltipControlled-b565c75b.js.map +0 -1
  2047. package/es/useTranslationBundle-98df6291.js +0 -29
  2048. package/es/useTranslationBundle-98df6291.js.map +0 -1
  2049. package/es/useUser-a15426fc.js +0 -19
  2050. package/es/useUser-a15426fc.js.map +0 -1
  2051. package/es/useVisEvents-7d4753c4.js +0 -153
  2052. package/es/useVisEvents-7d4753c4.js.map +0 -1
  2053. package/es/withDirectionIcon-90d7c798.js +0 -14
  2054. package/es/withDirectionIcon-90d7c798.js.map +0 -1
@@ -0,0 +1,2028 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('preact/jsx-runtime');
5
+ var TrackResizeContainer = require('./TrackResizeContainer-261fcfa5.js');
6
+ var UNSAFE_Diagram_themes_DiagramStyles_css = require('./UNSAFE_Diagram/themes/DiagramStyles.css.js');
7
+ var useResizeObserver = require('./useResizeObserver-1597395f.js');
8
+ var hooks = require('preact/hooks');
9
+ var accUtils = require('./accUtils-113d6024.js');
10
+ var classNames = require('./classNames-c14c6ef3.js');
11
+ var useTranslationBundle = require('./useTranslationBundle-6b0281a9.js');
12
+ var useUser = require('./useUser-8aaad5a7.js');
13
+ var layoutUtils = require('./layoutUtils-4cfc9f05.js');
14
+ var useVisHover = require('./useVisHover-ad36112d.js');
15
+ var mergeProps = require('./mergeProps-e3da7237.js');
16
+ var useDatatip = require('./useDatatip-1dda9a86.js');
17
+ var useTextDimensions = require('./useTextDimensions-a651f0d4.js');
18
+ var clientUtils = require('./clientUtils-b5ec1142.js');
19
+ var useVisDragModeControls = require('./useVisDragModeControls-95caebc9.js');
20
+ var useSelection = require('./useSelection-8362b6c6.js');
21
+ var useVisTouchResponse = require('./useVisTouchResponse-376e11d5.js');
22
+ var stringUtils = require('./stringUtils-4e4a6b2b.js');
23
+
24
+ const ZOOM_TO_FIT_PADDING = 20;
25
+ /**
26
+ * Returns the pan properties for the diagram.
27
+ */
28
+ function getPanProps(props, contentBounds, userDragMode, isDeviceTouch) {
29
+ return {
30
+ panning: isDeviceTouch
31
+ ? userDragMode === 'pan' && props.panning
32
+ ? props.panning
33
+ : 'off'
34
+ : props.panning
35
+ ? props.panning
36
+ : 'off',
37
+ panDirection: props.panDirection ? props.panDirection : 'any',
38
+ centerX: props.centerX !== undefined ? props.centerX : contentBounds.w / 2 + contentBounds.x,
39
+ centerY: props.centerY !== undefined ? props.centerY : contentBounds.h / 2 + contentBounds.y,
40
+ onPan: props.onPan
41
+ };
42
+ }
43
+ /**
44
+ * Returns the zoom properties for the diagram.
45
+ */
46
+ function getZoomProps(props, width, height, contentBounds) {
47
+ const minZoom = props.minZoom ? props.minZoom : getZoomToFitZoom(width, height, contentBounds);
48
+ const maxZoom = props.maxZoom !== undefined ? props.maxZoom : 1;
49
+ const zoom = props.zoomValue ? props.zoomValue : getZoomToFitZoom(width, height, contentBounds);
50
+ return {
51
+ zooming: props.zooming ? props.zooming : 'off',
52
+ // default value of 0 indicates zoom-to-fit level
53
+ minZoom: minZoom,
54
+ maxZoom: maxZoom,
55
+ // zoom value of 0 will default to zoom to fit
56
+ zoomValue: constrainZoom(zoom, minZoom, maxZoom),
57
+ onZoom: props.onZoom
58
+ };
59
+ }
60
+ /**
61
+ * Constructs the json object to be passed into the layout function
62
+ */
63
+ function constructLayoutJSON(nodes, nodeItems, linkItems, dimensions, width, height, getTextDimensions) {
64
+ const labelDims = new Map();
65
+ const nodeKeys = Array.from(nodeItems.keys());
66
+ for (const id of nodeKeys) {
67
+ const item = nodeItems.get(id);
68
+ if (item && getTextDimensions && item.label) {
69
+ const label = item.label;
70
+ const fontProps = _getFontProps(item.labelStyle);
71
+ labelDims.set(id, getTextDimensions(label, fontProps));
72
+ }
73
+ }
74
+ const linkKeys = Array.from(linkItems.keys());
75
+ for (const id of linkKeys) {
76
+ const item = linkItems.get(id);
77
+ if (item && getTextDimensions && item.label) {
78
+ const label = item.label;
79
+ const fontProps = _getFontProps(item.labelStyle);
80
+ labelDims.set(id, getTextDimensions(label, fontProps));
81
+ }
82
+ }
83
+ const getLabelDimensions = function (data) {
84
+ return labelDims.get(data.id);
85
+ };
86
+ const getNodeDimensions = function (data) {
87
+ for (let i = 0; i < nodes.length; i++) {
88
+ if (data.id === nodes[i].id) {
89
+ return dimensions[i];
90
+ }
91
+ }
92
+ return dimensions[0];
93
+ };
94
+ return {
95
+ layoutJSON: {
96
+ getNodeDimensions: getNodeDimensions,
97
+ getLabelDimensions: getLabelDimensions,
98
+ componentSize: {
99
+ width: width,
100
+ height: height
101
+ }
102
+ },
103
+ labelDims: labelDims
104
+ };
105
+ }
106
+ /**
107
+ * Deconstructs the output of the layout function
108
+ */
109
+ function deconstructLayoutJSON(layoutJSON, nodeData, linkData) {
110
+ const nodes = layoutJSON.nodes;
111
+ const links = layoutJSON.links;
112
+ const positions = [];
113
+ const nodeLabelPos = [];
114
+ const linkLabelPos = [];
115
+ let hasNodeLabels = false;
116
+ let hasLinkLabels = false;
117
+ let node, link;
118
+ for (let i = 0; i < nodeData.length; i++) {
119
+ node = nodes[nodeData[i].id];
120
+ positions.push(node.position);
121
+ if (node.label)
122
+ hasNodeLabels = true;
123
+ nodeLabelPos.push(node.label);
124
+ }
125
+ if (links) {
126
+ for (let i = 0; i < linkData.length; i++) {
127
+ link = links[linkData[i].id];
128
+ if (link.label)
129
+ hasLinkLabels = true;
130
+ linkLabelPos.push(link.label);
131
+ }
132
+ }
133
+ return {
134
+ nodePoints: positions,
135
+ nodeLabelPos: hasNodeLabels ? nodeLabelPos : undefined,
136
+ linkLabelPos: hasLinkLabels ? linkLabelPos : undefined
137
+ };
138
+ }
139
+ /**
140
+ * Merges the node points into the dimensions
141
+ */
142
+ function mergeDimensions(dimensions, nodePoints) {
143
+ const newBounds = [];
144
+ for (let i = 0; i < dimensions.length; i++) {
145
+ const point = nodePoints[i];
146
+ const dim = dimensions[i];
147
+ newBounds.push({ x: point.x, y: point.y, w: dim.w, h: dim.h });
148
+ }
149
+ return newBounds;
150
+ }
151
+ /**
152
+ * Deep equality check for whether two arrays of bounds are the same
153
+ */
154
+ function isEqualBounds(bounds1, bounds2) {
155
+ if (bounds1.length !== bounds2.length)
156
+ return false;
157
+ return bounds1.every(({ x, y, w, h }, i) => bounds2[i].x === x && bounds2[i].y === y && bounds2[i].w === w && bounds2[i].h === h);
158
+ }
159
+ /**
160
+ * Returns the text for the diagram datatip.
161
+ */
162
+ function getDatatipContent(nodesMap, linksMap, focusedItem, hoveredItem, datatip) {
163
+ let itemInfo;
164
+ const isPointerActive = hoveredItem?.isCurrent;
165
+ if (isPointerActive && hoveredItem.id != null) {
166
+ itemInfo = hoveredItem;
167
+ }
168
+ if (focusedItem && focusedItem.isCurrent) {
169
+ itemInfo = focusedItem;
170
+ }
171
+ if (itemInfo && datatip) {
172
+ return datatip(itemInfo.isNode
173
+ ? { data: nodesMap.get(itemInfo.id), type: 'node' }
174
+ : { data: linksMap.get(itemInfo.id), type: 'link' });
175
+ }
176
+ if (itemInfo) {
177
+ const text = (itemInfo.isNode ? nodesMap.get(itemInfo.id) : linksMap.get(itemInfo.id))?.accessibleLabel;
178
+ return {
179
+ content: text
180
+ };
181
+ }
182
+ return;
183
+ }
184
+ /**
185
+ * Creates a map with key id and value node or link data
186
+ */
187
+ function createItemMap(items) {
188
+ const itemIdToDataMap = new Map();
189
+ const itemIdToIndexMap = new Map();
190
+ const itemIndexToIdMap = new Map();
191
+ for (let i = 0; i < items.length; i++) {
192
+ itemIdToDataMap.set(items[i].id, items[i]);
193
+ itemIdToIndexMap.set(items[i].id, i);
194
+ itemIndexToIdMap.set(i, items[i].id);
195
+ }
196
+ return {
197
+ itemIdToDataMap,
198
+ itemIdToIndexMap,
199
+ itemIndexToIdMap
200
+ };
201
+ }
202
+ /**
203
+ * Filter out links with no start or end nodes
204
+ */
205
+ function filterLinksWithNoEndNodes(links, nodesMap) {
206
+ const newLinks = [];
207
+ for (let i = 0; i < links.length; i++) {
208
+ const link = links[i];
209
+ if (nodesMap.get(link.startNode) && nodesMap.get(link.endNode)) {
210
+ newLinks.push(link);
211
+ }
212
+ }
213
+ return newLinks;
214
+ }
215
+ /**
216
+ * Pulls out the dimensions from an array of bounds
217
+ */
218
+ function getDimensionsFromBounds(bounds) {
219
+ const dims = [];
220
+ for (let i = 0; i < bounds.length; i++) {
221
+ dims.push({ w: bounds[i].w, h: bounds[i].h });
222
+ }
223
+ return dims;
224
+ }
225
+ /**
226
+ * Returns the center position of the node or link
227
+ * For links, draws a straight line between the centers of the start/end node
228
+ * and returns the center of that line
229
+ */
230
+ function getFocusedItemBounds(focusedItemInfo, bounds, links, nodeIdToIndexMap, linkIdToIndexMap) {
231
+ if (focusedItemInfo.isNode) {
232
+ const idx = nodeIdToIndexMap.get(focusedItemInfo.id);
233
+ // Return the first element if cannot find the Node index
234
+ return bounds[idx || 0];
235
+ }
236
+ else {
237
+ // Center of a straight line between start/end node centers
238
+ const link = links[linkIdToIndexMap.get(focusedItemInfo.id) || 0];
239
+ const startNB = bounds[nodeIdToIndexMap.get(link.startNode) || 0];
240
+ const endNB = bounds[nodeIdToIndexMap.get(link.endNode) || 0];
241
+ const startNCenter = { x: startNB.x + startNB.w / 2, y: startNB.y + startNB.h / 2 };
242
+ const endNCenter = { x: endNB.x + endNB.w / 2, y: endNB.y + endNB.h / 2 };
243
+ const minX = Math.min(startNCenter.x, endNCenter.x);
244
+ const minY = Math.min(startNCenter.y, endNCenter.y);
245
+ return {
246
+ x: minX,
247
+ y: minY,
248
+ w: Math.abs(startNCenter.x - endNCenter.x),
249
+ h: Math.abs(startNCenter.y - endNCenter.y)
250
+ };
251
+ }
252
+ }
253
+ /**
254
+ * Combines the node and link ids into one array
255
+ */
256
+ function combineIds(nodeIds, linkIds) {
257
+ const combinedIds = [];
258
+ if (nodeIds) {
259
+ for (let i = 0; i < nodeIds.length; i++) {
260
+ combinedIds.push(nodeIds[i]);
261
+ }
262
+ }
263
+ if (linkIds) {
264
+ for (let i = 0; i < linkIds.length; i++) {
265
+ combinedIds.push(linkIds[i]);
266
+ }
267
+ }
268
+ return combinedIds;
269
+ }
270
+ /**
271
+ * Returns the bounds of the diagram content
272
+ */
273
+ function getContentBounds(nodeBounds, labelBounds) {
274
+ if (nodeBounds.length === 0)
275
+ return { x: 0, w: Infinity, y: 0, h: Infinity };
276
+ let minX = Infinity;
277
+ let minY = Infinity;
278
+ let maxX = -Infinity;
279
+ let maxY = -Infinity;
280
+ let dims;
281
+ for (let i = 0; i < nodeBounds.length; i++) {
282
+ dims = nodeBounds[i];
283
+ minX = dims.x < minX ? dims.x : minX;
284
+ minY = dims.y < minY ? dims.y : minY;
285
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
286
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
287
+ }
288
+ if (labelBounds) {
289
+ minX = labelBounds.x < minX ? labelBounds.x : minX;
290
+ minY = labelBounds.y < minY ? labelBounds.y : minY;
291
+ maxX = labelBounds.x + labelBounds.w > maxX ? labelBounds.x + labelBounds.w : maxX;
292
+ maxY = labelBounds.y + labelBounds.h > maxY ? labelBounds.y + labelBounds.h : maxY;
293
+ }
294
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
295
+ }
296
+ /**
297
+ * Returns the label bounds
298
+ */
299
+ function getAllLabelBounds(labelDims, nodes, links, nodeLabelPos = [], linkLabelPos = [], isRTL) {
300
+ if (nodeLabelPos.length === 0 && linkLabelPos.length === 0)
301
+ return undefined;
302
+ let minX = Infinity;
303
+ let minY = Infinity;
304
+ let maxX = -Infinity;
305
+ let maxY = -Infinity;
306
+ let dims, label;
307
+ for (let i = 0; i < nodeLabelPos.length; i++) {
308
+ label = nodeLabelPos[i];
309
+ if (!label)
310
+ continue;
311
+ dims = getLabelBounds(label, labelDims.get(nodes[i].id), isRTL);
312
+ minX = dims.x < minX ? dims.x : minX;
313
+ minY = dims.y < minY ? dims.y : minY;
314
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
315
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
316
+ }
317
+ for (let i = 0; i < linkLabelPos.length; i++) {
318
+ label = linkLabelPos[i];
319
+ if (!label)
320
+ continue;
321
+ dims = getLabelBounds(label, labelDims.get(links[i].id), isRTL);
322
+ minX = dims.x < minX ? dims.x : minX;
323
+ minY = dims.y < minY ? dims.y : minY;
324
+ maxX = dims.x + dims.w > maxX ? dims.x + dims.w : maxX;
325
+ maxY = dims.y + dims.h > maxY ? dims.y + dims.h : maxY;
326
+ }
327
+ return { x: minX, w: maxX - minX, y: minY, h: maxY - minY };
328
+ }
329
+ function getLabelBounds(label, dims, isRTL) {
330
+ const labelPos = getLabelPosition(dims, label, isRTL);
331
+ const isRotating = label.rotationAngle;
332
+ if (!isRotating) {
333
+ return { x: labelPos.x, y: labelPos.y, w: dims.width, h: dims.height };
334
+ }
335
+ else {
336
+ // Find the 4 corners of the label bounds relative to the rotation point
337
+ const rotationPoint = label.rotationPoint
338
+ ? label.rotationPoint
339
+ : { x: dims.width / 2, y: dims.height / 2 };
340
+ const angle = label.rotationAngle;
341
+ const topLeft = getCoordsRelToRotPoint({ x: 0, y: 0 }, rotationPoint);
342
+ const topRight = getCoordsRelToRotPoint({ x: dims.width, y: 0 }, rotationPoint);
343
+ const bottomLeft = getCoordsRelToRotPoint({ x: 0, y: dims.height }, rotationPoint);
344
+ const bottomRight = getCoordsRelToRotPoint({ x: dims.width, y: dims.height }, rotationPoint);
345
+ const rotTopLeft = rotatePoint(topLeft, angle);
346
+ const rotBotLeft = rotatePoint(bottomLeft, angle);
347
+ const rotTopRight = rotatePoint(topRight, angle);
348
+ const rotBotRight = rotatePoint(bottomRight, angle);
349
+ const points = [rotTopLeft, rotBotLeft, rotTopRight, rotBotRight].map((pos) => {
350
+ return {
351
+ x: pos.x + labelPos.x + rotationPoint.x,
352
+ y: pos.y + labelPos.y + rotationPoint.y
353
+ };
354
+ });
355
+ return getBoundsFromPoints(points);
356
+ }
357
+ }
358
+ function getCoordsRelToRotPoint(labelPoint, rotPoint) {
359
+ return { x: labelPoint.x - rotPoint.x, y: labelPoint.y - rotPoint.y };
360
+ }
361
+ function rotatePoint(pos, angle) {
362
+ return {
363
+ x: pos.x * Math.cos(angle) - pos.y * Math.sin(angle),
364
+ y: pos.x * Math.sin(angle) + pos.y * Math.cos(angle)
365
+ };
366
+ }
367
+ function getBoundsFromPoints(points) {
368
+ let minX = points[0].x;
369
+ let minY = points[0].y;
370
+ let maxX = points[0].x;
371
+ let maxY = points[0].y;
372
+ for (let i = 1; i < points.length; i++) {
373
+ const point = points[i];
374
+ if (point.x < minX)
375
+ minX = point.x;
376
+ else if (point.x > maxX)
377
+ maxX = point.x;
378
+ if (point.y < minY)
379
+ minY = point.y;
380
+ else if (point.y > maxY)
381
+ maxY = point.y;
382
+ }
383
+ return {
384
+ x: minX,
385
+ y: minY,
386
+ w: maxX - minX,
387
+ h: maxY - minY
388
+ };
389
+ }
390
+ /**
391
+ * Returns the position of the label
392
+ * @param dimensions
393
+ * @param positionProps
394
+ * @returns position of the label
395
+ */
396
+ function getLabelPosition(dimensions, positionProps, isRTL) {
397
+ const position = positionProps.position;
398
+ const hAlign = positionProps.hAlign ? positionProps.hAlign : isRTL ? 'right' : 'left';
399
+ const vAlign = positionProps.vAlign;
400
+ let x, y;
401
+ if (hAlign === 'center') {
402
+ x = position.x - dimensions.width / 2;
403
+ }
404
+ else if (hAlign === 'right') {
405
+ x = position.x - dimensions.width;
406
+ }
407
+ else {
408
+ x = position.x;
409
+ }
410
+ if (vAlign === 'middle') {
411
+ y = position.y - dimensions.height / 2;
412
+ }
413
+ else if (vAlign === 'bottom') {
414
+ y = position.y - dimensions.height;
415
+ }
416
+ else if (vAlign === 'baseline') {
417
+ y = position.y + dimensions.y;
418
+ }
419
+ else {
420
+ y = position.y;
421
+ }
422
+ return {
423
+ x: x,
424
+ y: y
425
+ };
426
+ }
427
+ /**
428
+ * Converts centerX,Y coordinates to panX,Y coordinates
429
+ */
430
+ function centerXYToPanXY(centerX, centerY, zoom, width, height) {
431
+ return {
432
+ panX: width / 2 - centerX * zoom,
433
+ panY: height / 2 - centerY * zoom
434
+ };
435
+ }
436
+ /**
437
+ * Converts panX,Y coordinates to centerX,Y coordinates
438
+ */
439
+ function panXYToCenterXY(panX, panY, zoom, width, height) {
440
+ return {
441
+ centerX: (width / 2 - panX) / zoom,
442
+ centerY: (height / 2 - panY) / zoom
443
+ };
444
+ }
445
+ /**
446
+ * Compares if two ItemInfo are equal
447
+ */
448
+ function isEqualItem(item1, item2) {
449
+ return item1?.id === item2?.id && item1?.isNode === item2?.isNode;
450
+ }
451
+ /**
452
+ * Returns the item info of the data-oj-node or data-oj-link attribute for a given element.
453
+ */
454
+ function getNavigableInfo(element, rootElementRef) {
455
+ let isNode = false;
456
+ let elem = element;
457
+ let navigableId;
458
+ while (!navigableId) {
459
+ navigableId = elem.dataset['node'];
460
+ if (navigableId) {
461
+ isNode = true;
462
+ }
463
+ else {
464
+ navigableId = elem.dataset['link'];
465
+ }
466
+ if (!navigableId) {
467
+ if (elem.parentElement && elem.parentElement !== rootElementRef?.current) {
468
+ elem = elem.parentElement;
469
+ }
470
+ else {
471
+ break;
472
+ }
473
+ }
474
+ }
475
+ return {
476
+ id: navigableId,
477
+ isNode: isNode
478
+ };
479
+ }
480
+ /**
481
+ * Returns the aria label
482
+ */
483
+ function getItemAriaLabel(translations, supportsSelection, isSelected, accessibleLabel) {
484
+ return accUtils.generateAriaLabel(translations, accessibleLabel || '', {
485
+ isSelected: !supportsSelection ? undefined : isSelected
486
+ });
487
+ }
488
+ /**
489
+ * Returns the zoom to fit zoom level
490
+ */
491
+ function getZoomToFitZoom(width, height, contentBounds) {
492
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.w;
493
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / contentBounds.h;
494
+ return Math.min(zoomX, zoomY);
495
+ }
496
+ /**
497
+ * Constrains the zoom level
498
+ */
499
+ function constrainZoom(zoom, minZoom, maxZoom) {
500
+ let newZoom = Math.max(minZoom, zoom);
501
+ newZoom = Math.min(maxZoom, newZoom);
502
+ return newZoom;
503
+ }
504
+ /**
505
+ * Returns the font props for a node or link
506
+ */
507
+ function _getFontProps(styles) {
508
+ const fontProps = {};
509
+ if (!styles)
510
+ return fontProps;
511
+ if (styles.fontFamily)
512
+ fontProps.fontFamily = styles.fontFamily;
513
+ if (styles.fontSize)
514
+ fontProps.fontSize = styles.fontSize;
515
+ if (styles.fontStyle)
516
+ fontProps.fontStyle = styles.fontStyle;
517
+ if (styles.fontWeight)
518
+ fontProps.fontWeight = styles.fontWeight;
519
+ return fontProps;
520
+ }
521
+ /**
522
+ * Returns the panX, panY, and zoom when zooming and centering an item
523
+ */
524
+ function zoomAndCenterItemFromInfo(info, linkIdToDataMap, bounds, nodeIdToIndex, width, height, maxZoom) {
525
+ const isNode = info.isNode;
526
+ let totalBounds;
527
+ if (isNode) {
528
+ const nodeIndex = nodeIdToIndex.get(info.id);
529
+ totalBounds = bounds[nodeIndex];
530
+ }
531
+ else {
532
+ const link = linkIdToDataMap.get(info.id);
533
+ const startNodeBounds = bounds[nodeIdToIndex.get(link.startNode)];
534
+ const endNodeBounds = bounds[nodeIdToIndex.get(link.endNode)];
535
+ const minX = Math.min(startNodeBounds.x, endNodeBounds.x);
536
+ const minY = Math.min(startNodeBounds.y, endNodeBounds.y);
537
+ const maxX = Math.max(startNodeBounds.x + startNodeBounds.w, endNodeBounds.x + startNodeBounds.w);
538
+ const maxY = Math.max(startNodeBounds.y + startNodeBounds.h, endNodeBounds.y + endNodeBounds.h);
539
+ totalBounds = { x: minX, y: minY, w: maxX - minX, h: maxY - minY };
540
+ }
541
+ return getPanZoomToCenterNode(totalBounds, maxZoom, width, height);
542
+ }
543
+ /**
544
+ * Returns the pan and zoom values in order
545
+ * to center a node or link
546
+ */
547
+ function getPanZoomToCenterNode(bounds, maxZoom, width, height) {
548
+ const zoomX = (width - 2 * ZOOM_TO_FIT_PADDING) / bounds.w;
549
+ const zoomY = (height - 2 * ZOOM_TO_FIT_PADDING) / bounds.h;
550
+ const zoom = Math.min(zoomX, zoomY, maxZoom);
551
+ const cX = bounds.w / 2 + bounds.x;
552
+ const cY = bounds.h / 2 + bounds.y;
553
+ return { centerX: cX, centerY: cY, zoom: zoom };
554
+ }
555
+
556
+ const DiagramNodeElement = ({ id, state, previousState, position, activeId, nodeRenderer, onNodeSizeChanged, nodeIndex, data, accessibleLabel, isDimmed, supportsSelection }) => {
557
+ const { nodeStyles, dimmedItemStyle } = UNSAFE_Diagram_themes_DiagramStyles_css.itemStyles;
558
+ const context = {
559
+ state: state,
560
+ previousState: previousState,
561
+ data: data
562
+ };
563
+ const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
564
+ const ref = hooks.useRef(null);
565
+ // TODO JET-62472 change to one resize observer function
566
+ const optionsRef = hooks.useRef({ box: 'border-box' });
567
+ useResizeObserver.useResizeObserver(ref, hooks.useCallback((entry) => {
568
+ const boxSize = entry.borderBoxSize;
569
+ const width = boxSize[0].inlineSize;
570
+ const height = boxSize[0].blockSize;
571
+ onNodeSizeChanged(width, height, nodeIndex);
572
+ }, [nodeIndex, onNodeSizeChanged]), optionsRef.current);
573
+ return (jsxRuntime.jsx("div", { ref: ref, class: classNames.classNames([nodeStyles, isDimmed ? dimmedItemStyle : undefined]), "data-node": id, role: "img", "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), style: {
574
+ top: position.y,
575
+ left: position.x
576
+ }, id: state.focused || state.hovered ? activeId : undefined, children: nodeRenderer(context) }, id));
577
+ };
578
+
579
+ function DiagramNodeLayer({ nodes, states, previousStates, nodeRenderer, nodeBounds, onNodeSizeChanged, supportsSelection }) {
580
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, children: nodes.map((node, i) => {
581
+ // this is for initial render before the layout function so render all nodes at 0,0
582
+ const position = nodeBounds && nodeBounds[i] ? { x: nodeBounds[i].x, y: nodeBounds[i].y } : { x: 0, y: 0 };
583
+ const state = {
584
+ selected: states.selectedNodeIds.includes(node.id),
585
+ focused: states.focusedId === node.id,
586
+ hovered: states.hoveredId === node.id,
587
+ zoom: states.zoom
588
+ };
589
+ const previousState = {
590
+ selected: previousStates.selectedNodeIds.includes(node.id),
591
+ focused: previousStates.focusedId === node.id,
592
+ hovered: previousStates.hoveredId === node.id,
593
+ zoom: previousStates.zoom
594
+ };
595
+ return (jsxRuntime.jsx(DiagramNodeElement, { id: node.id, position: position, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(node.id), activeId: states.activeId, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, nodeIndex: i, accessibleLabel: node.accessibleLabel, data: node, supportsSelection: supportsSelection }));
596
+ }) }));
597
+ }
598
+
599
+ const DiagramLinkElement = ({ id, state, previousState, activeId, data, linkRenderer, accessibleLabel, isDimmed, supportsSelection, layoutOutput }) => {
600
+ const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
601
+ const { dimmedItemStyle, linkStyles } = UNSAFE_Diagram_themes_DiagramStyles_css.itemStyles;
602
+ const context = {
603
+ state: state,
604
+ previousState: previousState,
605
+ data: data,
606
+ layoutOutput: layoutOutput
607
+ };
608
+ return (jsxRuntime.jsx("g", { id: state.focused ? activeId : undefined, "aria-label": getItemAriaLabel(translations, supportsSelection, state.selected, accessibleLabel), "data-link": id, role: "img", class: classNames.classNames([linkStyles, isDimmed && dimmedItemStyle]), children: linkRenderer(context) }, id));
609
+ };
610
+
611
+ function DiagramLinkLayer({ links, states, previousStates, linkRenderer, width, height, supportsSelection, layoutOutput }) {
612
+ return (jsxRuntime.jsx("svg", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, width: width, height: height, children: links.map((link) => {
613
+ const state = {
614
+ selected: states.selectedLinkIds.includes(link.id),
615
+ focused: states.focusedId === link.id,
616
+ hovered: states.hoveredId === link.id,
617
+ zoom: states.zoom
618
+ };
619
+ const previousState = {
620
+ selected: previousStates.selectedLinkIds.includes(link.id),
621
+ focused: previousStates.focusedId === link.id,
622
+ hovered: previousStates.hoveredId === link.id,
623
+ zoom: previousStates.zoom
624
+ };
625
+ return (jsxRuntime.jsx(DiagramLinkElement, { id: link.id, label: link.label, state: state, previousState: previousState, isDimmed: states.highlightedIds.length !== 0 && !states.highlightedIds.includes(link.id), activeId: states.activeId, accessibleLabel: link.accessibleLabel, data: link, linkRenderer: linkRenderer, supportsSelection: supportsSelection, layoutOutput: layoutOutput }));
626
+ }) }));
627
+ }
628
+
629
+ const DiagramLabel = ({ text, position, styles, dimensions, isRTL }) => {
630
+ const { labelStyle, labelBorderStyle } = UNSAFE_Diagram_themes_DiagramStyles_css.labelStyles;
631
+ const labelPosition = getLabelPosition(dimensions, position, isRTL);
632
+ const labelRotation = getLabelRotation(position);
633
+ return (jsxRuntime.jsx("div", { class: classNames.classNames([labelStyle, styles && styles.borderColor && labelBorderStyle]), style: {
634
+ top: labelPosition.y,
635
+ left: labelPosition.x,
636
+ ...styles,
637
+ ...labelRotation
638
+ }, children: text }));
639
+ };
640
+ /**
641
+ * Returns the label rotation props
642
+ * @param position
643
+ * @returns rotation props
644
+ */
645
+ function getLabelRotation(position) {
646
+ const rotationAngle = position.rotationAngle;
647
+ const rotationPoint = position.rotationPoint;
648
+ const rotation = {};
649
+ if (rotationAngle) {
650
+ rotation['transform'] = `rotate(${rotationAngle}deg)`;
651
+ }
652
+ if (rotationPoint) {
653
+ rotation['transform-origin'] = `${rotationPoint.x}px ${rotationPoint.y}px`;
654
+ }
655
+ return rotation;
656
+ }
657
+
658
+ function DiagramLabelLayer({ labelPosition, itemProps, labelDimensions }) {
659
+ const { direction } = useUser.useUser();
660
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.layerStyles, children: itemProps.map((item, i) => {
661
+ if (item.label && labelPosition[i]) {
662
+ return (jsxRuntime.jsx(DiagramLabel, { styles: item.labelStyle, text: item.label, position: labelPosition[i], dimensions: labelDimensions.get(item.id), isRTL: direction === 'rtl' }));
663
+ }
664
+ return undefined;
665
+ }) }));
666
+ }
667
+
668
+ function DiagramLayers({ nodes, links, nodeRenderer, linkRenderer, states, previousStates, nodeBounds, onNodeSizeChanged, width, height, nodeLabelPositions, linkLabelPositions, labelDimensions, supportsSelection, layoutOutput }) {
669
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [links.length > 0 && layoutOutput && linkRenderer && width !== Infinity && (jsxRuntime.jsx(DiagramLinkLayer, { links: links, states: states, previousStates: previousStates, linkRenderer: linkRenderer, width: width, height: height, supportsSelection: supportsSelection, layoutOutput: layoutOutput })), jsxRuntime.jsx(DiagramNodeLayer, { nodes: nodes, nodeBounds: nodeBounds, states: states, previousStates: previousStates, nodeRenderer: nodeRenderer, onNodeSizeChanged: onNodeSizeChanged, supportsSelection: supportsSelection }), labelDimensions ? (jsxRuntime.jsxs("div", { children: [nodeLabelPositions ? (jsxRuntime.jsx(DiagramLabelLayer, { labelPosition: nodeLabelPositions, itemProps: nodes, labelDimensions: labelDimensions })) : undefined, links && linkLabelPositions ? (jsxRuntime.jsx(DiagramLabelLayer, { labelPosition: linkLabelPositions, itemProps: links, labelDimensions: labelDimensions })) : undefined] })) : undefined] }));
670
+ }
671
+
672
+ function DiagramPanZoomContainer({ centerX, centerY, children, zoom, width, height }) {
673
+ const panValues = centerXYToPanXY(centerX, centerY, zoom, width, height);
674
+ return (jsxRuntime.jsx("div", { class: UNSAFE_Diagram_themes_DiagramStyles_css.panZoomStyles, style: {
675
+ //TODO JET-62471 look at using matrices or both in transform instead
676
+ translate: `${panValues.panX}px ${panValues.panY}px`,
677
+ transform: `scale(${zoom})`
678
+ }, children: children }));
679
+ }
680
+
681
+ /**
682
+ * @license
683
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
684
+ * The Universal Permissive License (UPL), Version 1.0
685
+ * as shown at https://oss.oracle.com/licenses/upl/
686
+ * @ignore
687
+ */
688
+ /**
689
+ * Returns the node data based on node info in a diagram.
690
+ * @param itemInfo
691
+ * @returns
692
+ */
693
+ function getNodeDetailFromInfo(itemInfo, nodes) {
694
+ let node;
695
+ for (let i = 0; i < nodes.length; i++) {
696
+ node = nodes[i];
697
+ if (itemInfo.id === node.id) {
698
+ return node;
699
+ }
700
+ }
701
+ return undefined;
702
+ }
703
+ /**
704
+ * Returns the link data based on link info in a diagram.
705
+ * @param itemInfo
706
+ * @returns
707
+ */
708
+ function getLinkDetailFromInfo(itemInfo, links) {
709
+ let link;
710
+ for (let i = 0; i < links.length; i++) {
711
+ link = links[i];
712
+ if (itemInfo.id === link.id) {
713
+ return link;
714
+ }
715
+ }
716
+ return undefined;
717
+ }
718
+ /**
719
+ * Creates a map with key node id and value node bounds
720
+ */
721
+ function createNodeBoundsMap(nodes, bounds) {
722
+ const nodeBounds = new Map();
723
+ for (let i = 0; i < nodes.length; i++) {
724
+ nodeBounds.set(nodes[i].id, bounds[i]);
725
+ }
726
+ return nodeBounds;
727
+ }
728
+ /**
729
+ * Utility method that adds sorting attributes of each link to an array
730
+ */
731
+ function addSortingAttributes(node, listOfLinks, nodes, nodeBounds) {
732
+ let angle, distance, direction;
733
+ const linkDetail = [];
734
+ for (let i = 0; i < listOfLinks.length; i++) {
735
+ const link = listOfLinks[i];
736
+ angle = _getClockwiseAngle(node, link, nodes, nodeBounds);
737
+ distance = _getNodesDistance(link, nodes, nodeBounds);
738
+ direction = _getLinkDirection(node, link);
739
+ linkDetail.push({ id: link.id, angle: angle, distance: distance, direction: direction });
740
+ }
741
+ return linkDetail;
742
+ }
743
+ /**
744
+ * Returns a function that compares two link around a given node
745
+ * The links are analyzed by angle, distance from the node and direction. The sorting attributes are added to the links before sorting.
746
+ */
747
+ function getLinkComparator() {
748
+ return (link1, link2) => {
749
+ const { angle: linkAngle1, distance: linkDistance1, direction: linkDirection1 } = link1;
750
+ const { angle: linkAngle2, distance: linkDistance2, direction: linkDirection2 } = link2;
751
+ let res = -1;
752
+ if (!_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2) && linkAngle1 > linkAngle2) {
753
+ res = 1;
754
+ }
755
+ else if (_anglesAreEqualWithinTolerance(linkAngle1, linkAngle2)) {
756
+ //check distance and direction
757
+ if (linkDistance1 > linkDistance2) {
758
+ res = 1;
759
+ }
760
+ else if (linkDistance2 == linkDistance1 && linkDirection1 > linkDirection2) {
761
+ //outgoing to ingoing
762
+ res = 1;
763
+ }
764
+ else if (linkDistance2 == linkDistance1 && linkDirection1 == linkDirection2) {
765
+ res = 0;
766
+ }
767
+ }
768
+ return res;
769
+ };
770
+ }
771
+ /**
772
+ * Returns navigable links for a given node
773
+ */
774
+ function getNavigableLinksForNodeId(nodeId, listOfLinks) {
775
+ const links = [];
776
+ listOfLinks.forEach((link) => {
777
+ const startId = link.startNode;
778
+ const endId = link.endNode;
779
+ if (startId == nodeId || endId == nodeId)
780
+ links.push(link);
781
+ });
782
+ return links;
783
+ }
784
+ /**
785
+ * Get the clockwise angle for the link given node as a center
786
+ */
787
+ function _getClockwiseAngle(node, link, nodes, nodeBounds) {
788
+ //find opposite node
789
+ let currNode;
790
+ let startNode = nodes[0];
791
+ let endNode = nodes[0];
792
+ for (let i = 0; i < nodes.length; i++) {
793
+ currNode = nodes[i];
794
+ if (currNode.id === link.startNode) {
795
+ startNode = currNode;
796
+ }
797
+ else if (currNode.id === link.endNode) {
798
+ endNode = currNode;
799
+ }
800
+ }
801
+ const oppositeNode = node.id == startNode.id ? endNode : startNode;
802
+ const p1 = _getNodeCenter(node, nodeBounds);
803
+ const p2 = _getNodeCenter(oppositeNode, nodeBounds);
804
+ let angle = Math.atan2(p2.y - p1.y, p2.x - p1.x);
805
+ angle = angle < 0 ? angle + Math.PI * 2 : angle;
806
+ return angle;
807
+ }
808
+ /**
809
+ * Get the distance between start and end nodes for the given link
810
+ */
811
+ function _getNodesDistance(link, nodes, nodeBounds) {
812
+ let currNode;
813
+ let startNode = nodes[0];
814
+ let endNode = nodes[0];
815
+ for (let i = 0; i < nodes.length; i++) {
816
+ currNode = nodes[i];
817
+ if (currNode.id === link.startNode) {
818
+ startNode = currNode;
819
+ }
820
+ else if (currNode.id === link.endNode) {
821
+ endNode = currNode;
822
+ }
823
+ }
824
+ const p1 = _getNodeCenter(startNode, nodeBounds);
825
+ const p2 = _getNodeCenter(endNode, nodeBounds);
826
+ return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
827
+ }
828
+ /**
829
+ * Get link direction for the given node. 1 if the node is the end node
830
+ * and 0 if it is the start node
831
+ */
832
+ function _getLinkDirection(node, link) {
833
+ if (link.endNode === node.id) {
834
+ return 1;
835
+ }
836
+ return 0;
837
+ }
838
+ /**
839
+ * Get node center
840
+ */
841
+ function _getNodeCenter(node, nodeBounds) {
842
+ const nodeBB = nodeBounds.get(node.id);
843
+ return { x: nodeBB.x + nodeBB.w / 2, y: nodeBB.y + nodeBB.h / 2 };
844
+ }
845
+ /**
846
+ * Calculates the angle weighted by distance
847
+ */
848
+ function calcDistanceAngleWeighted(objectBB, currentBB, direction) {
849
+ // Variables used for calculating penalties when calculating distances between two navigables.
850
+ const optimalAngle1 = (15 / 180) * Math.PI;
851
+ const optimalAngle2 = (40 / 180) * Math.PI;
852
+ const suboptimalAnglePenalty1 = 2; // multiplier to the distance
853
+ const suboptimalAnglePenalty2 = 6; // multiplier to the distance
854
+ const objCenterX = objectBB.x + objectBB.w / 2;
855
+ const objCenterY = objectBB.y + objectBB.h / 2;
856
+ const curCenterX = currentBB.x + currentBB.w / 2;
857
+ const curCenterY = currentBB.y + currentBB.h / 2;
858
+ const x_dist = Math.abs(objCenterX - curCenterX);
859
+ const y_dist = Math.abs(objCenterY - curCenterY);
860
+ const angle = Math.atan2(y_dist, x_dist);
861
+ let distance = Math.sqrt(x_dist * x_dist + y_dist * y_dist);
862
+ // Angle penalty based on direction
863
+ if ((angle > optimalAngle1 && (direction == 'right' || direction == 'left')) ||
864
+ (angle < Math.PI / 2 - optimalAngle1 && (direction == 'up' || direction == 'down'))) {
865
+ if ((angle > optimalAngle2 && (direction == 'right' || direction == 'left')) ||
866
+ (angle < Math.PI / 2 - optimalAngle2 && (direction == 'up' || direction == 'down'))) {
867
+ distance *= suboptimalAnglePenalty2;
868
+ }
869
+ else {
870
+ distance *= suboptimalAnglePenalty1;
871
+ }
872
+ }
873
+ return distance;
874
+ }
875
+ /**
876
+ * Given a direction, is a certain node is a valid destination to navigate to
877
+ */
878
+ function isValidDestination(objBB, curBB, direction, compareCenters) {
879
+ // compare the centers of the navigable and to be valid, the navigable must be in the right direction
880
+ // without tolerance
881
+ if (compareCenters) {
882
+ const objCenterX = objBB.x + 0.5 * objBB.w;
883
+ const curCenterX = curBB.x + 0.5 * curBB.w;
884
+ const objCenterY = objBB.y + 0.5 * objBB.h;
885
+ const curCenterY = curBB.y + 0.5 * curBB.h;
886
+ switch (direction) {
887
+ case 'up':
888
+ return objCenterY < curCenterY;
889
+ case 'down':
890
+ return objBB.y > curCenterY;
891
+ case 'right':
892
+ return objCenterX > curCenterX;
893
+ case 'left':
894
+ return objCenterX < curCenterX;
895
+ }
896
+ return true;
897
+ }
898
+ switch (direction) {
899
+ case 'up':
900
+ return objBB.y < curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
901
+ case 'down':
902
+ return objBB.y > curBB.y || _areEqualWithinTolerance(objBB.y, curBB.y);
903
+ case 'right':
904
+ return objBB.x > curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
905
+ case 'left':
906
+ return objBB.x < curBB.x || _areEqualWithinTolerance(objBB.x, curBB.x);
907
+ }
908
+ return true;
909
+ }
910
+ /**
911
+ * Returns true if two nodes are in contact
912
+ */
913
+ function calcInContact(objRect, curRect, direction) {
914
+ switch (direction) {
915
+ case 'up':
916
+ return (_isVerticallyAligned(objRect, curRect) &&
917
+ (curRect.y <= objRect.y + objRect.h ||
918
+ _areEqualWithinTolerance(curRect.y, objRect.y + objRect.h)));
919
+ case 'down':
920
+ return (_isVerticallyAligned(objRect, curRect) &&
921
+ (objRect.y <= curRect.y + curRect.h ||
922
+ _areEqualWithinTolerance(objRect.y, curRect.y + curRect.h)));
923
+ case 'right':
924
+ return (_isHorizontallyAligned(objRect, curRect) &&
925
+ (objRect.x <= curRect.x + curRect.w ||
926
+ _areEqualWithinTolerance(objRect.x, curRect.x + curRect.w)));
927
+ case 'left':
928
+ return (_isHorizontallyAligned(objRect, curRect) &&
929
+ (curRect.x <= objRect.x + objRect.w ||
930
+ _areEqualWithinTolerance(curRect.x, objRect.x + objRect.w)));
931
+ }
932
+ return false;
933
+ }
934
+ function _isVerticallyAligned(rect1, rect2) {
935
+ return ((rect1.x >= rect2.x && rect1.x <= rect2.x + rect2.w) ||
936
+ (rect2.x >= rect1.x && rect2.x <= rect1.x + rect1.w));
937
+ }
938
+ function _isHorizontallyAligned(rect1, rect2) {
939
+ return ((rect1.y >= rect2.y && rect1.y <= rect2.y + rect2.h) ||
940
+ (rect2.y >= rect1.y && rect2.y <= rect1.y + rect1.h));
941
+ }
942
+ function _areEqualWithinTolerance(a, b) {
943
+ return Math.abs(a - b) <= 0.0000001;
944
+ }
945
+ function _anglesAreEqualWithinTolerance(a1, a2) {
946
+ let res = Math.abs(a1 - a2) <= 0.0000001;
947
+ if (!res) {
948
+ res = Math.abs(Math.PI * 2 + Math.min(a1, a2) - Math.max(a1, a2)) <= 0.0000001;
949
+ }
950
+ return res;
951
+ }
952
+
953
+ /**
954
+ * @license
955
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
956
+ * The Universal Permissive License (UPL), Version 1.0
957
+ * as shown at https://oss.oracle.com/licenses/upl/
958
+ * @ignore
959
+ */
960
+ function useDiagramNavigation(nodes, links, bounds, linkIdToDataMap) {
961
+ const currentKeyboardFocusNode = hooks.useRef();
962
+ const nodeBoundsById = createNodeBoundsMap(nodes, bounds);
963
+ function getNextNavigableNode(direction, compareCenters, current, listOfObjects) {
964
+ if (!listOfObjects)
965
+ return current;
966
+ if (!current)
967
+ return listOfObjects[0];
968
+ const currBB = nodeBoundsById.get(current.id);
969
+ if (!currBB)
970
+ return listOfObjects[0];
971
+ let nextObject = current; //init to current object
972
+ let nextDistance = Number.MAX_VALUE;
973
+ // If an object is in contact it overrules all other attributes
974
+ // Only another in contact object with better attributes will have higher precedence
975
+ let nextInContact = false;
976
+ // Whether or not the for loop has encountered the current object
977
+ let hasFoundCurrent = false;
978
+ let object, inContact, distance;
979
+ for (let i = 0; i < listOfObjects.length; i++) {
980
+ object = listOfObjects[i];
981
+ if (object === current) {
982
+ hasFoundCurrent = true;
983
+ continue;
984
+ }
985
+ const objBB = nodeBoundsById.get(object.id);
986
+ if (!objBB)
987
+ continue;
988
+ const objBounds = { x: objBB.x, y: objBB.y, w: objBB.w, h: objBB.h };
989
+ const currBounds = { x: currBB.x, y: currBB.y, w: currBB.w, h: currBB.h };
990
+ if (!isValidDestination(objBounds, currBounds, direction, compareCenters))
991
+ continue;
992
+ inContact = calcInContact(objBounds, currBounds, direction);
993
+ if (nextInContact && !inContact)
994
+ continue;
995
+ distance = calcDistanceAngleWeighted(objBounds, currBounds, direction);
996
+ if (distance == 0 && !hasFoundCurrent)
997
+ continue;
998
+ // Make sure incontact flag have highest precedence
999
+ if ((!nextInContact && inContact) ||
1000
+ (distance < nextDistance && ((nextInContact && inContact) || !nextInContact))) {
1001
+ nextDistance = distance;
1002
+ nextObject = object;
1003
+ nextInContact = inContact;
1004
+ }
1005
+ }
1006
+ return nextObject;
1007
+ }
1008
+ /**
1009
+ * Get next navigavle link depending on direction - clockwise or conter clockwise.
1010
+ * The decision is made based on location of nodes centers rather than link paths or link angles.
1011
+ */
1012
+ function getNextNavigableLink(direction, listOfNodes, currentLink, listOfLinks) {
1013
+ if (!listOfLinks)
1014
+ return currentLink;
1015
+ if (!currentLink)
1016
+ return listOfLinks[0];
1017
+ const keyboardFocusNode = currentKeyboardFocusNode.current;
1018
+ const nodeId = keyboardFocusNode ? keyboardFocusNode : currentLink.startNode;
1019
+ const node = getNodeDetailFromInfo({ id: nodeId, isNode: true }, listOfNodes);
1020
+ if (!node)
1021
+ return currentLink;
1022
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1023
+ listOfLinks = adjLinks;
1024
+ const linksWithSortingAttributes = addSortingAttributes(node, listOfLinks, listOfNodes, nodeBoundsById);
1025
+ linksWithSortingAttributes.sort(getLinkComparator());
1026
+ //clockwise direction
1027
+ const bForward = direction == 'down' ? true : false;
1028
+ let index = 0;
1029
+ for (let i = 0; i < linksWithSortingAttributes.length; i++) {
1030
+ const link = linksWithSortingAttributes[i];
1031
+ if (link.id === currentLink.id) {
1032
+ if (bForward)
1033
+ index = i == linksWithSortingAttributes.length - 1 ? 0 : i + 1;
1034
+ else
1035
+ index = i == 0 ? linksWithSortingAttributes.length - 1 : i - 1;
1036
+ break;
1037
+ }
1038
+ }
1039
+ return linksWithSortingAttributes[index];
1040
+ }
1041
+ /**
1042
+ * Returns the link detail when a node to link navigation occurs
1043
+ */
1044
+ function navigateFromNodeToLink(listOfLinks, event, node) {
1045
+ if (!node)
1046
+ return undefined;
1047
+ const adjLinks = getNavigableLinksForNodeId(node.id, listOfLinks);
1048
+ if (adjLinks.length < 1)
1049
+ return undefined;
1050
+ let link = adjLinks[0];
1051
+ const nodeBB = nodeBoundsById.get(node.id);
1052
+ let object, currNode, currNodeBB, currNodeBBCenterX;
1053
+ const nodeCenterX = nodeBB.x + nodeBB.w / 2;
1054
+ currentKeyboardFocusNode.current = node.id;
1055
+ for (let i = 0; i < adjLinks.length; i++) {
1056
+ object = adjLinks[i];
1057
+ currNode = object.startNode === node.id ? object.endNode : object.startNode;
1058
+ currNodeBB = nodeBoundsById.get(currNode);
1059
+ currNodeBBCenterX = currNodeBB.x + currNodeBB.w / 2;
1060
+ if (
1061
+ // equivalent of ≤ and ≥
1062
+ (event.altKey && event.code === 'Comma' && currNodeBBCenterX <= nodeCenterX) ||
1063
+ (event.altKey && event.code === 'Period' && currNodeBBCenterX >= nodeCenterX)) {
1064
+ link = object;
1065
+ break;
1066
+ }
1067
+ }
1068
+ return { id: link.id, isNode: false };
1069
+ }
1070
+ /**
1071
+ * Returns the node detail when a link to node navigation occurs
1072
+ */
1073
+ function navigateFromLinkToNode(linkId, event) {
1074
+ const key = event.key;
1075
+ const linkData = linkIdToDataMap.get(linkId);
1076
+ const startNodeBB = nodeBoundsById.get(linkData.startNode);
1077
+ const endNodeBB = nodeBoundsById.get(linkData.endNode);
1078
+ if (!startNodeBB || !endNodeBB)
1079
+ return undefined;
1080
+ const startNodeCenterX = startNodeBB.x + startNodeBB.w / 2;
1081
+ const endNodeCenterX = endNodeBB.x + endNodeBB.w / 2;
1082
+ const newNode = (endNodeCenterX > startNodeCenterX && key === 'ArrowRight') ||
1083
+ (endNodeCenterX < startNodeCenterX && key === 'ArrowLeft')
1084
+ ? linkData.endNode
1085
+ : linkData.startNode;
1086
+ return { id: newNode, isNode: true };
1087
+ }
1088
+ return {
1089
+ isNode: (itemInfo) => {
1090
+ let node, link;
1091
+ for (let i = 0; i < nodes.length; i++) {
1092
+ node = nodes[i];
1093
+ link = links[i];
1094
+ if (itemInfo.id === node.id) {
1095
+ return true;
1096
+ }
1097
+ if (itemInfo.id === link.id) {
1098
+ return true;
1099
+ }
1100
+ }
1101
+ return false;
1102
+ },
1103
+ getNextNavigableNode,
1104
+ getNextNavigableLink,
1105
+ navigateFromNodeToLink,
1106
+ navigateFromLinkToNode
1107
+ };
1108
+ }
1109
+
1110
+ const DEFAULT_KB_PAN = 15;
1111
+ const DEFAULT_KB_ZOOM = 0.15;
1112
+ function useEvents(touchResponse, initNode, nodes, links, nodeBounds, linkIdToDataMap, nodeIdToDataMap, nodeIdToIndexMap, width, height, maxZoom, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback) {
1113
+ const { getNextNavigableNode, getNextNavigableLink, navigateFromNodeToLink, navigateFromLinkToNode } = useDiagramNavigation(nodes, links, nodeBounds, linkIdToDataMap);
1114
+ const [focusedItemInfo, setfocusedItemInfo] = hooks.useState({
1115
+ id: initNode.id,
1116
+ isNode: true
1117
+ });
1118
+ const [hoveredItemInfo, sethoveredItemInfo] = hooks.useState();
1119
+ const activeId = hooks.useRef();
1120
+ const cancelEvent = (event) => {
1121
+ event.preventDefault();
1122
+ event.stopPropagation();
1123
+ };
1124
+ const keyDownHandler = (event) => {
1125
+ const key = event.key;
1126
+ let eventConsumed = false;
1127
+ // tabbing out of the diagram
1128
+ if (key === 'TAB') {
1129
+ return;
1130
+ }
1131
+ // if this a switch from node to link or vice versa
1132
+ if (isChangeItemType(event)) {
1133
+ const nextItemInfo = focusedItemInfo.isNode
1134
+ ? navigateFromNodeToLink(links, event, getNodeDetailFromInfo(focusedItemInfo, nodes))
1135
+ : navigateFromLinkToNode(focusedItemInfo.id, event);
1136
+ handleKeyboardInput(nextItemInfo);
1137
+ eventConsumed = true;
1138
+ }
1139
+ else if (isNavigationEvent(key)) {
1140
+ const nextItemInfo = handleKeyboardNavigationEvent(key);
1141
+ handleKeyboardInput(nextItemInfo);
1142
+ eventConsumed = true;
1143
+ }
1144
+ else {
1145
+ switch (key) {
1146
+ case 'PageUp': {
1147
+ kbPanCallback &&
1148
+ kbPanCallback({
1149
+ dPan: {
1150
+ dx: event.shiftKey ? -DEFAULT_KB_PAN : 0,
1151
+ dy: event.shiftKey ? 0 : -DEFAULT_KB_PAN
1152
+ }
1153
+ });
1154
+ eventConsumed = true;
1155
+ break;
1156
+ }
1157
+ case 'PageDown': {
1158
+ kbPanCallback &&
1159
+ kbPanCallback({
1160
+ dPan: {
1161
+ dx: event.shiftKey ? DEFAULT_KB_PAN : 0,
1162
+ dy: event.shiftKey ? 0 : DEFAULT_KB_PAN
1163
+ }
1164
+ });
1165
+ eventConsumed = true;
1166
+ eventConsumed = true;
1167
+ break;
1168
+ }
1169
+ case '+':
1170
+ case '=': {
1171
+ kbZoomCallback && kbZoomCallback({ dZoom: DEFAULT_KB_ZOOM });
1172
+ eventConsumed = true;
1173
+ break;
1174
+ }
1175
+ case '-':
1176
+ case '_': {
1177
+ kbZoomCallback && kbZoomCallback({ dZoom: -DEFAULT_KB_ZOOM });
1178
+ eventConsumed = true;
1179
+ break;
1180
+ }
1181
+ case '0': {
1182
+ if (event.ctrlKey && event.altKey) {
1183
+ const { centerX, centerY, zoom } = zoomAndCenterItemFromInfo(focusedItemInfo, linkIdToDataMap, nodeBounds, nodeIdToIndexMap, width, height, maxZoom);
1184
+ kbZoomCallback && kbZoomCallback({ nZoom: zoom });
1185
+ kbPanCallback && kbPanCallback({ nPan: { cx: centerX, cy: centerY } });
1186
+ }
1187
+ else {
1188
+ // zoom to fit
1189
+ kbZoomCallback && kbZoomCallback({});
1190
+ kbPanCallback && kbPanCallback({ center: true });
1191
+ }
1192
+ eventConsumed = true;
1193
+ }
1194
+ }
1195
+ }
1196
+ if (eventConsumed) {
1197
+ cancelEvent(event);
1198
+ }
1199
+ };
1200
+ const keyUpHandler = (event) => {
1201
+ const key = event.code;
1202
+ switch (key) {
1203
+ case 'Tab': {
1204
+ updatefocusedItemInfo({
1205
+ ...focusedItemInfo,
1206
+ isCurrent: true,
1207
+ isFocusVisible: true
1208
+ });
1209
+ break;
1210
+ }
1211
+ }
1212
+ };
1213
+ const blurHandler = () => {
1214
+ if (hoveredItemInfo != null || focusedItemInfo.isCurrent) {
1215
+ onItemFocus?.({ id: undefined, data: undefined });
1216
+ }
1217
+ const itemInfo = { ...focusedItemInfo, isCurrent: false, isFocusVisible: false };
1218
+ setfocusedItemInfo(itemInfo);
1219
+ };
1220
+ const onHover = (event) => {
1221
+ const itemInfo = getNavigableInfo(event.target);
1222
+ if (itemInfo && !isEqualItem(itemInfo, hoveredItemInfo)) {
1223
+ sethoveredItemInfo({ ...itemInfo, isCurrent: true });
1224
+ activeId.current = layoutUtils.getRandomId();
1225
+ setfocusedItemInfo({ ...focusedItemInfo, isCurrent: false });
1226
+ if (itemInfo.isNode) {
1227
+ onItemHover?.({
1228
+ id: itemInfo.id,
1229
+ type: 'node',
1230
+ data: nodeIdToDataMap.get(itemInfo.id)
1231
+ });
1232
+ }
1233
+ else {
1234
+ onItemHover?.({
1235
+ id: itemInfo.id,
1236
+ type: 'link',
1237
+ data: linkIdToDataMap.get(itemInfo.id)
1238
+ });
1239
+ }
1240
+ }
1241
+ };
1242
+ const onHoverLeave = () => {
1243
+ sethoveredItemInfo(undefined);
1244
+ activeId.current = undefined;
1245
+ onItemHover?.({ id: undefined, data: undefined });
1246
+ };
1247
+ const hoverHandlers = useVisHover.useVisHover(onHover, undefined, onHoverLeave, touchResponse);
1248
+ const pointerUpHandler = (event) => {
1249
+ const itemInfo = getNavigableInfo(event.target);
1250
+ if (itemInfo.id != null) {
1251
+ setfocusedItemInfo(itemInfo);
1252
+ activeId.current = layoutUtils.getRandomId();
1253
+ }
1254
+ };
1255
+ function updatefocusedItemInfo(itemInfo) {
1256
+ if (itemInfo.isNode) {
1257
+ onItemFocus?.({
1258
+ id: itemInfo.id,
1259
+ type: 'node',
1260
+ data: nodeIdToDataMap.get(itemInfo.id)
1261
+ });
1262
+ }
1263
+ else {
1264
+ onItemFocus?.({
1265
+ id: itemInfo.id,
1266
+ type: 'link',
1267
+ data: linkIdToDataMap.get(itemInfo.id)
1268
+ });
1269
+ }
1270
+ activeId.current = layoutUtils.getRandomId();
1271
+ setfocusedItemInfo(itemInfo);
1272
+ }
1273
+ function handleKeyboardInput(item) {
1274
+ if (!item)
1275
+ return;
1276
+ if (!isEqualItem(item, focusedItemInfo)) {
1277
+ item.isCurrent = true;
1278
+ item.isFocusVisible = true;
1279
+ if (hoveredItemInfo) {
1280
+ sethoveredItemInfo({ ...hoveredItemInfo, isCurrent: false });
1281
+ }
1282
+ updatefocusedItemInfo(item);
1283
+ }
1284
+ }
1285
+ function isNavigationEvent(key) {
1286
+ switch (key) {
1287
+ case 'ArrowDown':
1288
+ case 'ArrowUp':
1289
+ case 'ArrowRight':
1290
+ case 'ArrowLeft': {
1291
+ return true;
1292
+ }
1293
+ }
1294
+ return false;
1295
+ }
1296
+ function isChangeItemType(event) {
1297
+ const key = event.code;
1298
+ // check if switching from node to link
1299
+ // equivalent of ≤ and ≥
1300
+ if (focusedItemInfo.isNode && event.altKey && (key === 'Period' || key === 'Comma')) {
1301
+ return true;
1302
+ // check if switching from link to node
1303
+ }
1304
+ else if (!focusedItemInfo.isNode && (key === 'ArrowLeft' || key === 'ArrowRight')) {
1305
+ return true;
1306
+ }
1307
+ return false;
1308
+ }
1309
+ function handleKeyboardNavigationEvent(key) {
1310
+ let direction = 'down';
1311
+ switch (key) {
1312
+ case 'ArrowDown': {
1313
+ direction = 'down';
1314
+ break;
1315
+ }
1316
+ case 'ArrowUp': {
1317
+ direction = 'up';
1318
+ break;
1319
+ }
1320
+ case 'ArrowRight': {
1321
+ direction = 'right';
1322
+ break;
1323
+ }
1324
+ case 'ArrowLeft': {
1325
+ direction = 'left';
1326
+ break;
1327
+ }
1328
+ }
1329
+ if (focusedItemInfo.isNode) {
1330
+ const itemDetail = getNextNavigableNode(direction, true, getNodeDetailFromInfo(focusedItemInfo, nodes), nodes);
1331
+ return itemDetail ? { id: itemDetail.id, isNode: true } : focusedItemInfo;
1332
+ }
1333
+ else {
1334
+ const linkDetail = getLinkDetailFromInfo(focusedItemInfo, links);
1335
+ const itemDetail = getNextNavigableLink(direction, nodes, linkDetail, links);
1336
+ return itemDetail ? { id: itemDetail.id } : { id: focusedItemInfo.id };
1337
+ }
1338
+ }
1339
+ return {
1340
+ focusedItemInfo,
1341
+ hoveredItemInfo,
1342
+ activeId: activeId.current,
1343
+ eventsProps: mergeProps.mergeProps(hoverHandlers, {
1344
+ onKeyUp: keyUpHandler,
1345
+ onKeyDown: keyDownHandler,
1346
+ onBlur: blurHandler,
1347
+ onPointerUp: pointerUpHandler
1348
+ })
1349
+ };
1350
+ }
1351
+
1352
+ /**
1353
+ * Returns the datatip.
1354
+ * @param text The text string for the diagram item.
1355
+ * @param rootRef The ref for root of the diagram.
1356
+ * @param focusedItemBoundsRef The ref for focused item bounds.
1357
+ * @param focusedItemInfo The ItemInfo for focused item.
1358
+ * @returns
1359
+ */
1360
+ const useDiagramDatatip = ({ touchResponse, datatip, focusedItemBoundsRef, focusedItemInfo, panState, zoom, width, nodesMap, linksMap, hoveredItem }) => {
1361
+ const { direction } = useUser.useUser();
1362
+ const isRtl = direction === 'rtl';
1363
+ const datatipC = getDatatipContent(nodesMap, linksMap, focusedItemInfo, hoveredItem, datatip);
1364
+ const elementBounds = focusedItemBoundsRef.current
1365
+ ? {
1366
+ x: focusedItemBoundsRef.current.x * zoom + panState.panX,
1367
+ y: focusedItemBoundsRef.current.y * zoom + panState.panY,
1368
+ width: focusedItemBoundsRef.current.w * zoom,
1369
+ height: focusedItemBoundsRef.current.h * zoom
1370
+ }
1371
+ : undefined;
1372
+ const { datatipContent, datatipProps } = useDatatip.useDatatip({
1373
+ content: datatipC?.content,
1374
+ borderColor: datatipC?.borderColor,
1375
+ placement: 'top-start',
1376
+ offset: layoutUtils.calculateOffset(isRtl, width, elementBounds),
1377
+ anchor: focusedItemInfo?.isCurrent ? 'element' : 'pointer',
1378
+ touchResponse
1379
+ });
1380
+ return { datatipContent: datatipContent, datatipProps: datatipProps };
1381
+ };
1382
+
1383
+ const usePointerGesture = ({ captureTargetRef, numPointers = 1, onPointerGestureDown, onPointerGestureMove, onPointerGestureEnd, onExtraneousPointerDown, isDisabled = false }) => {
1384
+ const activePointers = hooks.useRef([]);
1385
+ if (isDisabled) {
1386
+ activePointers.current = [];
1387
+ }
1388
+ const onPointerDown = (e) => {
1389
+ activePointers.current.push(e);
1390
+ if (activePointers.current.length === numPointers) {
1391
+ onPointerGestureDown && onPointerGestureDown({ pointers: activePointers.current });
1392
+ }
1393
+ else if (activePointers.current.length > numPointers) {
1394
+ onExtraneousPointerDown && onExtraneousPointerDown({ pointers: activePointers.current });
1395
+ }
1396
+ };
1397
+ const onPointerMove = (e) => {
1398
+ if (activePointers.current.length === 0)
1399
+ return;
1400
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1401
+ if (index === -1)
1402
+ return;
1403
+ activePointers.current[index] = e;
1404
+ if (activePointers.current.length === numPointers) {
1405
+ activePointers.current.forEach((e) => captureTargetRef.current.setPointerCapture(e.pointerId));
1406
+ onPointerGestureMove && onPointerGestureMove({ pointers: activePointers.current });
1407
+ }
1408
+ };
1409
+ const onPointerUp = (e) => {
1410
+ const index = activePointers.current.findIndex((pointerEvent) => pointerEvent.pointerId === e.pointerId);
1411
+ if (index === -1)
1412
+ return;
1413
+ activePointers.current[index] = e;
1414
+ if (activePointers.current.length === numPointers) {
1415
+ onPointerGestureEnd && onPointerGestureEnd({ pointers: activePointers.current });
1416
+ }
1417
+ activePointers.current.splice(index, 1);
1418
+ };
1419
+ const onPointerCancel = onPointerUp;
1420
+ const onPointerLeave = onPointerUp;
1421
+ return isDisabled
1422
+ ? {}
1423
+ : {
1424
+ onPointerDown,
1425
+ onPointerMove,
1426
+ onPointerUp,
1427
+ onPointerCancel,
1428
+ onPointerLeave
1429
+ };
1430
+ };
1431
+
1432
+ /**
1433
+ * Whether point with coordinates are in the draggable region
1434
+ */
1435
+ const inDraggableRegion = (x, y, region) => {
1436
+ if (!region)
1437
+ return true;
1438
+ const { xMin, xMax, yMin, yMax } = region;
1439
+ return x >= xMin && x <= xMax && y >= yMin && y <= yMax;
1440
+ };
1441
+ /**
1442
+ * Returns region offset
1443
+ */
1444
+ const getRegionOffset = (x, y, region) => {
1445
+ if (!region)
1446
+ return { regionOffsetX: x, regionOffsetY: y };
1447
+ return { regionOffsetX: x - region.xMin, regionOffsetY: y - region.yMin };
1448
+ };
1449
+ const useDrag = ({ captureTargetRef, draggableRegion, onDragStart, onDragMove, onDragEnd, isDisabled = false }) => {
1450
+ const inactiveState = { isDragging: false, x0: -1, y0: -1, regionOffsetX: -1, regionOffsetY: -1 };
1451
+ const dragState = hooks.useRef(inactiveState);
1452
+ const handlePointerEvent = (e, cb) => {
1453
+ const { isDragging, x0, y0, regionOffsetX, regionOffsetY } = dragState.current;
1454
+ if (!isDragging)
1455
+ return;
1456
+ const x = e.pageX;
1457
+ const y = e.pageY;
1458
+ cb && cb({ x, y, dx: x - x0, dy: y - y0, regionOffsetX, regionOffsetY, originalEvent: e });
1459
+ };
1460
+ const dragProps = usePointerGesture({
1461
+ captureTargetRef,
1462
+ numPointers: 1, // Only allow 1 pointer dragging
1463
+ onExtraneousPointerDown: () => {
1464
+ dragState.current = inactiveState;
1465
+ },
1466
+ onPointerGestureDown: ({ pointers: [e] }) => {
1467
+ const x = e.pageX;
1468
+ const y = e.pageY;
1469
+ if (e.button !== 0 || !inDraggableRegion(x, y, draggableRegion))
1470
+ return;
1471
+ const { regionOffsetX, regionOffsetY } = getRegionOffset(x, y, draggableRegion);
1472
+ dragState.current = { isDragging: true, x0: x, y0: y, regionOffsetX, regionOffsetY };
1473
+ onDragStart && onDragStart({ x, y, regionOffsetX, regionOffsetY, originalEvent: e });
1474
+ },
1475
+ onPointerGestureMove: ({ pointers: [e] }) => {
1476
+ handlePointerEvent(e, onDragMove);
1477
+ },
1478
+ onPointerGestureEnd: ({ pointers: [e] }) => {
1479
+ handlePointerEvent(e, onDragEnd);
1480
+ dragState.current = inactiveState;
1481
+ }
1482
+ });
1483
+ return isDisabled ? {} : dragProps;
1484
+ };
1485
+
1486
+ const constrainPan = (previousPan, nextPan, panBounds, panDirection) => {
1487
+ const panX = panDirection !== 'y' ? nextPan.panX : previousPan.panX;
1488
+ const panY = panDirection !== 'x' ? nextPan.panY : previousPan.panY;
1489
+ return {
1490
+ panX: panX > panBounds.maxX ? panBounds.maxX : panX < panBounds.minX ? panBounds.minX : panX,
1491
+ panY: panY > panBounds.maxY ? panBounds.maxY : panY < panBounds.minY ? panBounds.minY : panY
1492
+ };
1493
+ };
1494
+ const pan = (previousPan, nextPan, panDirection, zoom, width, height, panBounds, onPanChange) => {
1495
+ if (!panBounds) {
1496
+ //On initial render before nodes are rendered
1497
+ return { newPan: { panX: 0, panY: 0 } };
1498
+ }
1499
+ const newPan = constrainPan(previousPan, nextPan, panBounds, panDirection);
1500
+ const isPanChanged = newPan.panX !== previousPan.panX || newPan.panY !== previousPan.panY;
1501
+ const center = panXYToCenterXY(newPan.panX, newPan.panY, zoom, width, height);
1502
+ isPanChanged &&
1503
+ onPanChange &&
1504
+ onPanChange({
1505
+ centerX: center.centerX,
1506
+ centerY: center.centerY
1507
+ });
1508
+ return { newPan };
1509
+ };
1510
+ const getPanBounds = (width, height, elemBounds, zoom, minZoom, initPanZoomState, panType) => {
1511
+ const { x, y, w, h } = elemBounds;
1512
+ let minX, maxX, minY, maxY;
1513
+ if (panType === 'centerContent') {
1514
+ minX = width / 2 - (w + x) * zoom;
1515
+ minY = height / 2 - (h + y) * zoom;
1516
+ maxX = width / 2 - x * zoom;
1517
+ maxY = height / 2 - y * zoom;
1518
+ }
1519
+ else {
1520
+ // panType equals fixed
1521
+ const zoomRatio = zoom / minZoom;
1522
+ // Find left corner of the content at min zoom and content is centered
1523
+ const minZoomX = (width - w * minZoom) / 2 - x * minZoom;
1524
+ const minZoomY = (height - h * minZoom) / 2 - y * minZoom;
1525
+ // When we pan all the way to the right, the left corner of displayable area is 0,0 as in min zoom.
1526
+ // When we pan all the way to the left, lets find the corner of the displayable area
1527
+ const leftCornerX = width - width * zoomRatio;
1528
+ const leftCornerY = height - height * zoomRatio;
1529
+ // Now we have everything to calculate pan zoom constraints
1530
+ minX = leftCornerX + minZoomX * zoomRatio;
1531
+ minY = leftCornerY + minZoomY * zoomRatio;
1532
+ maxX = minZoomX * zoomRatio;
1533
+ maxY = minZoomY * zoomRatio;
1534
+ }
1535
+ const initZoom = initPanZoomState.zoom;
1536
+ const initCenterX = initPanZoomState.centerX;
1537
+ const initCenterY = initPanZoomState.centerY;
1538
+ // If an initial panZoomState is set, should expand pan bounds to include it
1539
+ let dx, dy;
1540
+ if (initCenterX) {
1541
+ const boundsX = initCenterX * initZoom - width / 2;
1542
+ if (-boundsX * initZoom < minX) {
1543
+ dx = minX - boundsX * initZoom;
1544
+ minX -= dx;
1545
+ maxX += dx;
1546
+ }
1547
+ else if (-boundsX * initZoom > maxX) {
1548
+ dx = -boundsX * initZoom - maxX;
1549
+ minX -= dx;
1550
+ maxX += dx;
1551
+ }
1552
+ }
1553
+ if (initCenterY) {
1554
+ const boundsY = initCenterY * initZoom - height / 2;
1555
+ if (-boundsY * initZoom < minY) {
1556
+ dy = minY - boundsY * initZoom;
1557
+ minY -= dy;
1558
+ maxY += dy;
1559
+ }
1560
+ else if (-boundsY * initZoom > maxY) {
1561
+ dy = -boundsY * initZoom - maxY;
1562
+ minY -= dy;
1563
+ maxY += dy;
1564
+ }
1565
+ }
1566
+ return {
1567
+ minX: minX,
1568
+ maxX: maxX,
1569
+ minY: minY,
1570
+ maxY: maxY
1571
+ };
1572
+ };
1573
+
1574
+ const useDragPan = ({ panProps, captureTargetRef, panBounds, width, height, zoom, onDragPanStart, onDragPanEnd }) => {
1575
+ const prevPanState = hooks.useRef({ panX: 0, panY: 0 });
1576
+ const initialPanState = hooks.useRef({ panX: 0, panY: 0 });
1577
+ const dragProps = useDrag({
1578
+ captureTargetRef,
1579
+ onDragStart: () => {
1580
+ const panValues = centerXYToPanXY(panProps.centerX, panProps.centerY, zoom, width, height);
1581
+ initialPanState.current = {
1582
+ panX: panValues.panX,
1583
+ panY: panValues.panY
1584
+ };
1585
+ onDragPanStart && onDragPanStart();
1586
+ },
1587
+ onDragMove: ({ dx, dy }) => {
1588
+ const nextPan = {
1589
+ panX: initialPanState.current.panX + dx,
1590
+ panY: initialPanState.current.panY + dy
1591
+ };
1592
+ const { newPan } = pan(prevPanState.current, nextPan, panProps.panDirection, zoom, width, height, panBounds, panProps.onPan);
1593
+ prevPanState.current = newPan;
1594
+ },
1595
+ onDragEnd: ({ originalEvent }) => {
1596
+ // If panning occurred, call preventDefault to prevent selection from occurring
1597
+ if (initialPanState.current.panX !== prevPanState.current.panX ||
1598
+ initialPanState.current.panY !== prevPanState.current.panY)
1599
+ originalEvent.preventDefault();
1600
+ onDragPanEnd && onDragPanEnd();
1601
+ },
1602
+ isDisabled: panProps.panning === 'off'
1603
+ });
1604
+ return dragProps;
1605
+ };
1606
+
1607
+ const PX_FACTOR_PER_LINE = 15; // Value used in Toolkit
1608
+ const PX_FACTOR_PER_PAGE = 40; // Value copied from datagrid; this is not handled in Toolkit
1609
+ const getNormalizedDelta = (e) => {
1610
+ const { deltaX, deltaY, deltaMode } = e;
1611
+ switch (deltaMode) {
1612
+ case e.DOM_DELTA_PIXEL:
1613
+ return { deltaX: -deltaX, deltaY: -deltaY };
1614
+ case e.DOM_DELTA_LINE:
1615
+ return { deltaX: -deltaX * PX_FACTOR_PER_LINE, deltaY: -deltaY * PX_FACTOR_PER_LINE };
1616
+ case e.DOM_DELTA_PAGE:
1617
+ return { deltaX: -deltaX * PX_FACTOR_PER_PAGE, deltaY: -deltaY * PX_FACTOR_PER_PAGE };
1618
+ default:
1619
+ return { deltaX: -deltaX, deltaY: -deltaY };
1620
+ }
1621
+ };
1622
+ const useWheel = ({ onWheel: onWheelCallback, preventDefault = true, isDisabled = false }) => {
1623
+ const onWheel = (e) => {
1624
+ const { deltaX, deltaY } = getNormalizedDelta(e);
1625
+ if (preventDefault)
1626
+ e.preventDefault();
1627
+ onWheelCallback({
1628
+ x: e.offsetX,
1629
+ y: e.offsetY,
1630
+ deltaX,
1631
+ deltaY,
1632
+ ctrlKey: e.ctrlKey || e.metaKey
1633
+ });
1634
+ };
1635
+ return isDisabled ? {} : { onWheel };
1636
+ };
1637
+
1638
+ /**
1639
+ * @license
1640
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1641
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1642
+ * as shown at https://oss.oracle.com/licenses/upl/
1643
+ * @ignore
1644
+ */
1645
+ const ZOOM_INCREMENT = 0.05;
1646
+ const zoom = (nextZoom, zoom, minZoom, maxZoom, onZoomChange) => {
1647
+ const newZoom = nextZoom > maxZoom || nextZoom < minZoom ? zoom : nextZoom;
1648
+ const isZoomChanged = newZoom !== zoom;
1649
+ isZoomChanged &&
1650
+ onZoomChange &&
1651
+ onZoomChange({
1652
+ zoomValue: newZoom
1653
+ });
1654
+ };
1655
+
1656
+ /**
1657
+ * @license
1658
+ * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
1659
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
1660
+ * as shown at https://oss.oracle.com/licenses/upl/
1661
+ * @ignore
1662
+ */
1663
+ const useWheelZoom = ({ zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1664
+ const wheelProps = useWheel({
1665
+ onWheel: ({ deltaY }) => {
1666
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * deltaY);
1667
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1668
+ },
1669
+ isDisabled: zooming === 'off'
1670
+ });
1671
+ return wheelProps;
1672
+ };
1673
+
1674
+ const getMidpoint = (p1, p2) => ({ x: (p1.x + p2.x) / 2, y: (p1.y + p2.y) / 2 });
1675
+ const getDistance = (p1, p2) => Math.sqrt((p2.x - p1.x) ** 2 + (p2.y - p2.y) ** 2);
1676
+ const usePinch = ({ captureTargetRef, onPinchZoomStart, onPinchZoomChange, onPinchZoomEnd, isDisabled = false }) => {
1677
+ const origin = hooks.useRef({ x: -1, y: -1 });
1678
+ const prevDistance = hooks.useRef(-1);
1679
+ const reset = () => {
1680
+ origin.current = { x: -1, y: -1 };
1681
+ prevDistance.current = -1;
1682
+ };
1683
+ if (isDisabled)
1684
+ reset();
1685
+ const pinchProps = usePointerGesture({
1686
+ captureTargetRef,
1687
+ numPointers: 2, // Pinch gesture requires 2 pointers
1688
+ onPointerGestureDown: ({ pointers: [pointer1, pointer2] }) => {
1689
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1690
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1691
+ origin.current = getMidpoint(p1, p2);
1692
+ prevDistance.current = getDistance(p1, p2);
1693
+ onPinchZoomStart &&
1694
+ onPinchZoomStart({
1695
+ origin: origin.current,
1696
+ delta: 0
1697
+ });
1698
+ },
1699
+ onPointerGestureMove: ({ pointers: [pointer1, pointer2] }) => {
1700
+ const p1 = { x: pointer1.offsetX, y: pointer1.offsetY };
1701
+ const p2 = { x: pointer2.offsetX, y: pointer2.offsetY };
1702
+ const distance = getDistance(p1, p2);
1703
+ const delta = distance - prevDistance.current;
1704
+ prevDistance.current = distance;
1705
+ onPinchZoomChange &&
1706
+ onPinchZoomChange({
1707
+ origin: origin.current,
1708
+ delta
1709
+ });
1710
+ },
1711
+ onPointerGestureEnd: () => {
1712
+ reset();
1713
+ onPinchZoomEnd && onPinchZoomEnd();
1714
+ }
1715
+ });
1716
+ return isDisabled ? {} : pinchProps;
1717
+ };
1718
+
1719
+ const usePinchZoom = ({ captureTargetRef, zooming, minZoom, maxZoom, zoomValue, onZoom }) => {
1720
+ const pinchProps = usePinch({
1721
+ captureTargetRef,
1722
+ onPinchZoomChange: ({ delta }) => {
1723
+ const newZoom = zoomValue * (1 + ZOOM_INCREMENT * delta);
1724
+ zoom(newZoom, zoomValue, minZoom, maxZoom, onZoom);
1725
+ },
1726
+ isDisabled: zooming === 'off'
1727
+ });
1728
+ return pinchProps;
1729
+ };
1730
+
1731
+ const usePanZoom = ({ props, captureTargetRef, width, height, contentBounds, isRtl }) => {
1732
+ const [cursor, setCursor] = hooks.useState();
1733
+ const zoomProps = getZoomProps(props, width, height, contentBounds);
1734
+ const panBounds = hooks.useRef();
1735
+ const prevZoom = hooks.useRef();
1736
+ const panning = hooks.useRef();
1737
+ const initPanZoomState = hooks.useRef({
1738
+ zoom: props.zoomValue || 0,
1739
+ centerX: props.centerX,
1740
+ centerY: props.centerY
1741
+ });
1742
+ const isDeviceTouch = clientUtils.isTouch();
1743
+ const plotArea = {
1744
+ width: width,
1745
+ height: height,
1746
+ x: 0,
1747
+ y: 0
1748
+ };
1749
+ const showPanButton = isDeviceTouch ? props.panning && props.panning !== 'off' : undefined;
1750
+ const dragModeOptions = {
1751
+ isZoomScroll: true,
1752
+ plotAreaSpace: plotArea,
1753
+ componentWidth: width,
1754
+ isRtl,
1755
+ showPanButton: showPanButton ?? false,
1756
+ showZoomButton: false,
1757
+ showSelectButton: false,
1758
+ isDisabled: !isDeviceTouch
1759
+ };
1760
+ const { toggleButtonContent, userDragMode } = useVisDragModeControls.useVisDragModeControls(dragModeOptions);
1761
+ const panProps = getPanProps(props, contentBounds, userDragMode, isDeviceTouch);
1762
+ if (contentBounds.w !== Infinity &&
1763
+ (zoomProps.zoomValue !== prevZoom.current || panProps.panning !== panning.current)) {
1764
+ panBounds.current = getPanBounds(width, height, contentBounds, zoomProps.zoomValue, zoomProps.minZoom, initPanZoomState.current, panProps.panning);
1765
+ prevZoom.current = zoomProps.zoomValue;
1766
+ panning.current = panProps.panning;
1767
+ }
1768
+ const dragPanProps = useDragPan({
1769
+ panProps: panProps,
1770
+ captureTargetRef: captureTargetRef,
1771
+ panBounds: panBounds.current,
1772
+ zoom: zoomProps.zoomValue,
1773
+ width,
1774
+ height,
1775
+ onDragPanStart: () => setCursor('grabbing'),
1776
+ onDragPanEnd: () => setCursor('auto')
1777
+ });
1778
+ //dZoom or nZoom is required
1779
+ const kbZoomCallback = (props) => {
1780
+ const newZoom = props.dZoom
1781
+ ? zoomProps.zoomValue + props.dZoom
1782
+ : getZoomToFitZoom(width, height, contentBounds);
1783
+ zoom(props.nZoom ? props.nZoom : newZoom, zoomProps.zoomValue, zoomProps.minZoom, zoomProps.maxZoom, zoomProps.onZoom);
1784
+ };
1785
+ const prevPanState = hooks.useRef({ panX: 0, panY: 0 });
1786
+ // dPan or nPan is required
1787
+ const kbPanCallback = (props) => {
1788
+ let centerX;
1789
+ let centerY;
1790
+ if (props.center) {
1791
+ centerX = contentBounds.x + contentBounds.w / 2;
1792
+ centerY = contentBounds.y + contentBounds.h / 2;
1793
+ }
1794
+ else if (props.dPan) {
1795
+ centerX = panProps.centerX + props.dPan.dx;
1796
+ centerY = panProps.centerY + props.dPan.dy;
1797
+ }
1798
+ else {
1799
+ centerX = props.nPan.cx;
1800
+ centerY = props.nPan.cy;
1801
+ }
1802
+ const panValues = centerXYToPanXY(centerX, centerY, zoomProps.zoomValue, width, height);
1803
+ const { newPan } = pan(prevPanState.current, panValues, panProps.panDirection, zoomProps.zoomValue, width, height, panBounds.current, panProps.onPan);
1804
+ prevPanState.current = newPan;
1805
+ };
1806
+ const wheelZoomProps = useWheelZoom(zoomProps);
1807
+ const pinchZoomProps = usePinchZoom({
1808
+ captureTargetRef,
1809
+ zooming: zoomProps.zooming,
1810
+ minZoom: zoomProps.minZoom,
1811
+ maxZoom: zoomProps.maxZoom,
1812
+ zoomValue: zoomProps.zoomValue,
1813
+ onZoom: zoomProps.onZoom
1814
+ });
1815
+ const panZoomProps = mergeProps.mergeProps(dragPanProps, wheelZoomProps, pinchZoomProps);
1816
+ return {
1817
+ panZoomProps,
1818
+ panProps,
1819
+ zoomProps,
1820
+ toggleButtonContent,
1821
+ cursor,
1822
+ centerX: panProps.centerX,
1823
+ centerY: panProps.centerY,
1824
+ zoomValue: zoomProps.zoomValue,
1825
+ kbPanCallback: panProps.panning !== 'off' ? kbPanCallback : undefined,
1826
+ kbZoomCallback: zoomProps.zooming !== 'off' ? kbZoomCallback : undefined
1827
+ };
1828
+ };
1829
+
1830
+ function useDiagramSelection({ selectedIds, selectionMode, nodeMap, linkMap, focusedItemInfo, onSelectionChange, rootRef }) {
1831
+ const nodeIdToIndexMap = nodeMap.itemIdToIndexMap;
1832
+ const nodeIndexToIdMap = nodeMap.itemIndexToIdMap;
1833
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1834
+ const linkIdToIndexMap = linkMap.itemIdToIndexMap;
1835
+ const linkIndexToIdMap = linkMap.itemIndexToIdMap;
1836
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1837
+ const encodeNodeId = (id) => `N_${nodeIdToIndexMap.get(id)}`;
1838
+ const decodeNodeId = (id) => nodeIndexToIdMap.get(Number(id.slice(2)));
1839
+ const encodeLinkId = (id) => `L_${linkIdToIndexMap.get(id)}`;
1840
+ const decodeLinkId = (id) => linkIndexToIdMap.get(Number(id.slice(2)));
1841
+ const encodedNodesSelection = selectedIds.nodes ? selectedIds.nodes.map(encodeNodeId) : [];
1842
+ const encodedLinksSelection = selectedIds.links ? selectedIds.links.map(encodeLinkId) : [];
1843
+ const encodedSelection = [...encodedNodesSelection, ...encodedLinksSelection];
1844
+ const idExtracter = (event) => {
1845
+ // return encodeNodeId(id) or encodeLinkId(id) depending on node or link selection or undefined if clicked on empty space
1846
+ const info = event.type === 'keyup'
1847
+ ? focusedItemInfo
1848
+ : getNavigableInfo(event.target, rootRef);
1849
+ return info.id !== undefined
1850
+ ? info.isNode
1851
+ ? encodeNodeId(info.id)
1852
+ : encodeLinkId(info.id)
1853
+ : undefined;
1854
+ };
1855
+ const onEncodedSelectionChange = (detail) => {
1856
+ const newNodeIds = detail.ids
1857
+ .filter((encId) => encId[0] === 'N')
1858
+ .map((encId) => decodeNodeId(encId));
1859
+ const newLinkIds = detail.ids
1860
+ .filter((encId) => encId[0] === 'L')
1861
+ .map((encId) => decodeLinkId(encId));
1862
+ const newSelectedNodeIds = newNodeIds.filter((id) => nodeIdToDataMap.get(id)?.selectable !== 'off');
1863
+ const newSelectedLinkIds = newLinkIds.filter((id) => linkIdToDataMap.get(id)?.selectable !== 'off');
1864
+ const nodeData = newSelectedNodeIds.map((selectedId) => {
1865
+ return nodeIdToDataMap.get(selectedId);
1866
+ });
1867
+ const linkData = newSelectedLinkIds.map((selectedId) => {
1868
+ return linkIdToDataMap.get(selectedId);
1869
+ });
1870
+ return (onSelectionChange &&
1871
+ onSelectionChange({
1872
+ nodes: newSelectedNodeIds,
1873
+ links: newSelectedLinkIds,
1874
+ nodeData,
1875
+ linkData
1876
+ }));
1877
+ };
1878
+ const getDataById = (id) => {
1879
+ let data;
1880
+ if (id[0] === 'N') {
1881
+ const nodeId = decodeNodeId(id);
1882
+ data = nodeMap.itemIdToDataMap.get(nodeId);
1883
+ }
1884
+ else if (id[0] === 'L') {
1885
+ const linkId = decodeLinkId(id);
1886
+ data = linkMap.itemIdToDataMap.get(linkId);
1887
+ }
1888
+ return data;
1889
+ };
1890
+ const { selectionContent, selectionProps } = useSelection.useSelection({
1891
+ selection: encodedSelection,
1892
+ idExtracter,
1893
+ selectionMode,
1894
+ getDataById,
1895
+ onChange: onEncodedSelectionChange
1896
+ });
1897
+ return { selectionContent, selectionProps };
1898
+ }
1899
+
1900
+ function DiagramWithDimensions({ nodes = [], links = [], width, height, selectedIds = {}, selectionMode = 'none', layout, nodeRenderer, linkRenderer, onSelectionChange, onItemHover, onItemFocus, highlightedIds = {}, datatip, ...otherProps }) {
1901
+ const focusedItemBoundsRef = hooks.useRef(null);
1902
+ const rootRef = hooks.useRef(null);
1903
+ //TODO JET-62563 change bounds to a MAP
1904
+ const [bounds, setBounds] = hooks.useState([]);
1905
+ const [combinedLabelBounds, setCombinedLabelBounds] = hooks.useState();
1906
+ const { direction } = useUser.useUser();
1907
+ const isRtl = direction === 'rtl';
1908
+ const diagramNodes = nodes;
1909
+ const nodeMap = createItemMap(diagramNodes);
1910
+ const nodeIdToDataMap = nodeMap.itemIdToDataMap;
1911
+ const diagramLinks = filterLinksWithNoEndNodes(links, nodeIdToDataMap);
1912
+ const linkMap = createItemMap(diagramLinks);
1913
+ const linkIdToDataMap = linkMap.itemIdToDataMap;
1914
+ const resizeThrottling = hooks.useRef(false);
1915
+ const newDimensions = getDimensionsFromBounds(bounds);
1916
+ const { textMeasureContent, getTextDimensions } = useTextDimensions.useTextDimensions();
1917
+ const labelDimensions = hooks.useRef(new Map());
1918
+ const nodeLabelPosRef = hooks.useRef([]);
1919
+ const linkLabelPosRef = hooks.useRef([]);
1920
+ const layoutOutputRef = hooks.useRef();
1921
+ const contentBounds = getContentBounds(bounds, combinedLabelBounds);
1922
+ const { panZoomProps, panProps, zoomProps, toggleButtonContent, cursor, centerX, centerY, zoomValue, kbPanCallback, kbZoomCallback } = usePanZoom({
1923
+ props: otherProps,
1924
+ captureTargetRef: rootRef,
1925
+ width: width,
1926
+ height: height,
1927
+ contentBounds,
1928
+ isRtl
1929
+ });
1930
+ const { touchResponse, touchResponseStyle } = useVisTouchResponse.useVisTouchResponse({
1931
+ type: 'auto',
1932
+ supportsTouchDragGestures: zoomProps.zooming === 'on' || panProps.panning !== 'off',
1933
+ rootRef
1934
+ });
1935
+ const { focusedItemInfo, hoveredItemInfo, activeId, eventsProps } = useEvents(touchResponse, diagramNodes[0], diagramNodes, diagramLinks, bounds, linkIdToDataMap, nodeIdToDataMap, nodeMap.itemIdToIndexMap, width, height, otherProps.maxZoom || 1, onItemHover, onItemFocus, kbPanCallback, kbZoomCallback);
1936
+ const { selectionProps, selectionContent } = useDiagramSelection({
1937
+ selectedIds,
1938
+ selectionMode,
1939
+ nodeMap,
1940
+ linkMap,
1941
+ focusedItemInfo,
1942
+ onSelectionChange,
1943
+ rootRef
1944
+ });
1945
+ // This is for the datatip kb position
1946
+ if (focusedItemInfo && bounds.length > 0) {
1947
+ focusedItemBoundsRef.current = getFocusedItemBounds(focusedItemInfo, bounds, diagramLinks, nodeMap.itemIdToIndexMap, linkMap.itemIdToIndexMap);
1948
+ }
1949
+ const { datatipContent, datatipProps: { 'aria-describedby': datatipAriaDescribedby, ...datatipProps } } = useDiagramDatatip({
1950
+ touchResponse,
1951
+ datatip,
1952
+ focusedItemInfo,
1953
+ focusedItemBoundsRef,
1954
+ panState: centerXYToPanXY(centerX, centerY, zoomValue, width, height),
1955
+ zoom: zoomValue,
1956
+ width: width,
1957
+ nodesMap: nodeIdToDataMap,
1958
+ linksMap: linkIdToDataMap,
1959
+ hoveredItem: hoveredItemInfo
1960
+ });
1961
+ const style = {
1962
+ width: width,
1963
+ height: height,
1964
+ cursor: cursor,
1965
+ ...touchResponseStyle
1966
+ };
1967
+ const states = hooks.useRef();
1968
+ const previousState = states.current // states.current is previous state
1969
+ ? states.current
1970
+ : {
1971
+ selectedNodeIds: [],
1972
+ selectedLinkIds: [],
1973
+ focusedId: undefined,
1974
+ hoveredId: undefined,
1975
+ activeId: undefined,
1976
+ highlightedIds: [],
1977
+ zoom: 0
1978
+ };
1979
+ states.current = {
1980
+ // update states to new state
1981
+ selectedNodeIds: selectedIds.nodes ?? [],
1982
+ selectedLinkIds: selectedIds.links ?? [],
1983
+ focusedId: focusedItemInfo.isCurrent && focusedItemInfo.isFocusVisible ? focusedItemInfo.id : undefined,
1984
+ hoveredId: hoveredItemInfo?.isCurrent ? hoveredItemInfo.id : undefined,
1985
+ activeId,
1986
+ highlightedIds: combineIds(highlightedIds.nodes, highlightedIds.links),
1987
+ zoom: zoomValue
1988
+ };
1989
+ const mergedEventProps = mergeProps.mergeProps(panZoomProps, eventsProps, selectionProps, datatipProps);
1990
+ // Called anytime node changes size
1991
+ const onNodeSizeChanged = (nodeWidth, nodeHeight, idx) => {
1992
+ newDimensions[idx] = { w: nodeWidth, h: nodeHeight };
1993
+ if (resizeThrottling.current) {
1994
+ return;
1995
+ }
1996
+ resizeThrottling.current = true;
1997
+ // performs layout at the next available animation frame when all measurements should be ready
1998
+ window.requestAnimationFrame(() => {
1999
+ const { labelDims, layoutJSON } = constructLayoutJSON(diagramNodes, nodeIdToDataMap, linkIdToDataMap, newDimensions, width, height, getTextDimensions);
2000
+ labelDimensions.current = labelDims;
2001
+ const layoutOutput = layout(layoutJSON);
2002
+ const { nodePoints, nodeLabelPos, linkLabelPos } = deconstructLayoutJSON(layoutOutput, diagramNodes, diagramLinks);
2003
+ nodeLabelPosRef.current = nodeLabelPos;
2004
+ linkLabelPosRef.current = linkLabelPos;
2005
+ layoutOutputRef.current = layoutOutput;
2006
+ const nodeBounds = mergeDimensions(newDimensions, nodePoints);
2007
+ if (!isEqualBounds(nodeBounds, bounds)) {
2008
+ setBounds(nodeBounds);
2009
+ }
2010
+ const labelBounds = getAllLabelBounds(labelDims, diagramNodes, diagramLinks, nodeLabelPos, linkLabelPos, direction === 'rtl');
2011
+ setCombinedLabelBounds(labelBounds);
2012
+ resizeThrottling.current = false;
2013
+ });
2014
+ };
2015
+ return (jsxRuntime.jsxs("div", { ref: rootRef, class: UNSAFE_Diagram_themes_DiagramStyles_css.outerStyles, ...mergedEventProps, style: style, tabIndex: 0, role: "application", "aria-label": otherProps['aria-label'], "aria-labelledby": otherProps['aria-labelledby'], "aria-describedby": stringUtils.merge([otherProps['aria-describedby'], datatipAriaDescribedby]), "aria-activedescendant": activeId, children: [getTextDimensions ? (jsxRuntime.jsx(DiagramPanZoomContainer, { centerX: centerX, centerY: centerY, zoom: zoomValue, width: width, height: height, children: jsxRuntime.jsx(DiagramLayers, { nodes: diagramNodes, links: diagramLinks, nodeRenderer: nodeRenderer, linkRenderer: linkRenderer, width: width, height: height, nodeBounds: bounds, states: states.current, previousStates: previousState, onNodeSizeChanged: onNodeSizeChanged, nodeLabelPositions: nodeLabelPosRef.current, linkLabelPositions: linkLabelPosRef.current, labelDimensions: labelDimensions.current, supportsSelection: selectionMode !== 'none' ||
2016
+ !!(selectedIds?.nodes && selectedIds.nodes.length > 0) ||
2017
+ !!(selectedIds?.links && selectedIds.links.length > 0), layoutOutput: layoutOutputRef.current }) })) : undefined, textMeasureContent, datatipContent, selectionContent, toggleButtonContent] }));
2018
+ }
2019
+
2020
+ /**
2021
+ * Diagrams are used to display a set of nodes and the links between them.
2022
+ */
2023
+ function Diagram({ width, height, ...otherProps }) {
2024
+ return otherProps.nodes && otherProps.nodes.length > 0 ? (jsxRuntime.jsx(TrackResizeContainer.TrackResizeContainer, { width: width, height: height, class: UNSAFE_Diagram_themes_DiagramStyles_css.dimensionStyle, children: (width, height) => jsxRuntime.jsx(DiagramWithDimensions, { width: width, height: height, ...otherProps }) })) : null;
2025
+ }
2026
+
2027
+ exports.Diagram = Diagram;
2028
+ //# sourceMappingURL=Diagram-aceccb23.js.map