@oracle/oraclejet-preact 17.1.7 → 17.1.8

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 (1022) hide show
  1. package/amd/ActionCard-01322111.js +1 -1
  2. package/amd/AvatarVariants.styles.css +25 -25
  3. package/amd/AvatarVariants.styles2.css +25 -25
  4. package/amd/{BarChart-b75423c1.js → BarChart-aba4a793.js} +2 -2
  5. package/amd/{BarChart-b75423c1.js.map → BarChart-aba4a793.js.map} +1 -1
  6. package/amd/BaseButton-51e50f77.js +1 -1
  7. package/amd/BaseCardView-c5624c8a.js +1 -1
  8. package/amd/{BaseCardViewSelectionTest-9627e4ab.js → BaseCardViewSelectionTest-b80dd91b.js} +2 -2
  9. package/amd/{BaseCardViewSelectionTest-9627e4ab.js.map → BaseCardViewSelectionTest-b80dd91b.js.map} +1 -1
  10. package/amd/BaseNavigationListItem-368284be.js +1 -1
  11. package/amd/ButtonSet-c389d5c7.js +1 -1
  12. package/amd/ButtonSetIconButton-141a8745.js +1 -1
  13. package/amd/{Center-b449a95c.js → Center-9ec5524e.js} +2 -2
  14. package/amd/{Center-b449a95c.js.map → Center-9ec5524e.js.map} +1 -1
  15. package/amd/{Chart-96ea9fed.js → Chart-1046ac5b.js} +2 -2
  16. package/amd/{Chart-96ea9fed.js.map → Chart-1046ac5b.js.map} +1 -1
  17. package/amd/CheckboxControl-74a7fead.js +1 -1
  18. package/amd/CheckboxRadioField-005a110c.js +1 -1
  19. package/amd/CheckboxSet-e523552e.js +2 -0
  20. package/amd/CheckboxSet-e523552e.js.map +1 -0
  21. package/amd/Chip-3062b3d3.js +1 -1
  22. package/amd/ClearIcon-c13664cd.js +1 -1
  23. package/amd/CollapseIcon-38899da0.js +1 -1
  24. package/amd/Collapsible-ba4eef8f.js +1 -1
  25. package/amd/CompactHelpSource-be790e15.js +1 -1
  26. package/amd/CompactLabelAssistance-bc14e060.js +2 -0
  27. package/amd/{CompactLabelAssistance-7db2fde2.js.map → CompactLabelAssistance-bc14e060.js.map} +1 -1
  28. package/amd/CompactUserAssistance-a7b3ffc0.js +1 -1
  29. package/amd/ComponentMessageContainer-3b691959.js +1 -1
  30. package/amd/ConveyorBeltItem-bc128f62.js +1 -1
  31. package/amd/{DatePicker-d7802b3e.js → DatePicker-dd358026.js} +2 -2
  32. package/amd/{DatePicker-d7802b3e.js.map → DatePicker-dd358026.js.map} +1 -1
  33. package/amd/DatePickerHeader-c03ca6b4.js +1 -1
  34. package/amd/{Diagram-14fd94c3.js → Diagram-1b48168a.js} +2 -2
  35. package/amd/{Diagram-14fd94c3.js.map → Diagram-1b48168a.js.map} +1 -1
  36. package/amd/{Dialog-f6da299c.js → Dialog-c34f9e89.js} +2 -2
  37. package/amd/{Dialog-f6da299c.js.map → Dialog-c34f9e89.js.map} +1 -1
  38. package/amd/DirectionalCollapseArrowIcon-1c72e459.js +1 -1
  39. package/amd/DirectionalExpandArrowIcon-198cec2b.js +1 -1
  40. package/amd/DragHandle-e4959d2b.js +1 -1
  41. package/amd/{Dropdown-5f68516d.js → Dropdown-b36aa071.js} +2 -2
  42. package/amd/{Dropdown-5f68516d.js.map → Dropdown-b36aa071.js.map} +1 -1
  43. package/amd/{EnvironmentProvider-8f6fc388.js → EnvironmentProvider-c0e1e39b.js} +2 -2
  44. package/amd/{EnvironmentProvider-8f6fc388.js.map → EnvironmentProvider-c0e1e39b.js.map} +1 -1
  45. package/amd/FilePicker-e13f405f.js +1 -1
  46. package/amd/Flex-3421f0df.js +2 -0
  47. package/amd/{Flex-56ecdf4c.js.map → Flex-3421f0df.js.map} +1 -1
  48. package/amd/{Floating-a658b79c.js → Floating-25e0092b.js} +2 -2
  49. package/amd/{Floating-a658b79c.js.map → Floating-25e0092b.js.map} +1 -1
  50. package/amd/FormLayout-c6f1fdff.js +1 -1
  51. package/amd/Gantt-7be8d8bc.js +1 -1
  52. package/amd/{Grid-160f4885.js → Grid-8911aa0f.js} +2 -2
  53. package/amd/{Grid-160f4885.js.map → Grid-8911aa0f.js.map} +1 -1
  54. package/amd/{Gridlines-b1d59999.js → Gridlines-071ff524.js} +2 -2
  55. package/amd/{Gridlines-b1d59999.js.map → Gridlines-071ff524.js.map} +1 -1
  56. package/amd/GroupLoadingIndicator-cd9192c9.js +1 -1
  57. package/amd/HighlightText-644bc74e.js +2 -0
  58. package/amd/{HighlightText-bd4c0101.js.map → HighlightText-644bc74e.js.map} +1 -1
  59. package/amd/Icon-2d805acb.js +1 -1
  60. package/amd/IconButton-81c8463f.js +1 -1
  61. package/amd/IconMenuButton-3e3db121.js +1 -1
  62. package/amd/IconProgressButton-04979469.js +1 -1
  63. package/amd/IconSwitchButton-bc007cbd.js +1 -1
  64. package/amd/IconToggleButton-28960894.js +1 -1
  65. package/amd/{IconUserAssistance-2f809060.js → IconUserAssistance-dda606e6.js} +2 -2
  66. package/amd/{IconUserAssistance-2f809060.js.map → IconUserAssistance-dda606e6.js.map} +1 -1
  67. package/amd/Indexer-74c989ce.js +1 -1
  68. package/amd/InlineHelpSource-85961e81.js +1 -1
  69. package/amd/InlineUserAssistance-2a480664.js +1 -1
  70. package/amd/InputDateMask-9aba967d.js +1 -1
  71. package/amd/InputDatePicker-97756bcd.js +2 -0
  72. package/amd/{InputDatePicker-6167ff45.js.map → InputDatePicker-97756bcd.js.map} +1 -1
  73. package/amd/InputPassword-bf533999.js +1 -1
  74. package/amd/InputText-a4234d1f.js +1 -1
  75. package/amd/Label-a4172af7.js +1 -1
  76. package/amd/LabelValueLayout-194e64d9.js +1 -1
  77. package/amd/{Layer-276d62e8.js → Layer-e835aed8.js} +2 -2
  78. package/amd/{Layer-276d62e8.js.map → Layer-e835aed8.js.map} +1 -1
  79. package/amd/{LayerHost-e95c5f30.js → LayerHost-639b3284.js} +2 -2
  80. package/amd/{LayerHost-e95c5f30.js.map → LayerHost-639b3284.js.map} +1 -1
  81. package/amd/{LayerManager-76fcfb58.js → LayerManager-2972de92.js} +2 -2
  82. package/amd/{LayerManager-76fcfb58.js.map → LayerManager-2972de92.js.map} +1 -1
  83. package/amd/Legend-cd2f78b2.js +1 -1
  84. package/amd/{LineAreaChart-47b01e9e.js → LineAreaChart-5224fce6.js} +2 -2
  85. package/amd/{LineAreaChart-47b01e9e.js.map → LineAreaChart-5224fce6.js.map} +1 -1
  86. package/amd/Link-cb232696.js +1 -1
  87. package/amd/List-61d64cd6.js +1 -1
  88. package/amd/{ListItemLayout-90873fb8.js → ListItemLayout-1d8f166a.js} +2 -2
  89. package/amd/{ListItemLayout-90873fb8.js.map → ListItemLayout-1d8f166a.js.map} +1 -1
  90. package/amd/ListView-a49e52c3.js +1 -1
  91. package/amd/LiveRegion-9a362373.js +2 -0
  92. package/amd/{LiveRegion-8142ed0d.js.map → LiveRegion-9a362373.js.map} +1 -1
  93. package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
  94. package/amd/{MaxLengthLiveRegion-8954fc30.js.map → MaxLengthLiveRegion-bb956138.js.map} +1 -1
  95. package/amd/{Menu-8f3a1e8c.js → Menu-e682ccb9.js} +2 -2
  96. package/amd/{Menu-8f3a1e8c.js.map → Menu-e682ccb9.js.map} +1 -1
  97. package/amd/MenuButton-e4d7ec34.js +1 -1
  98. package/amd/MenuItem-44b2547b.js +1 -1
  99. package/amd/Message-1b166e4f.js +1 -1
  100. package/amd/{MessageLayer-cf9265e0.js → MessageLayer-3742e608.js} +2 -2
  101. package/amd/{MessageLayer-cf9265e0.js.map → MessageLayer-3742e608.js.map} +1 -1
  102. package/amd/MessageToast-7aba4a66.js +1 -1
  103. package/amd/MessagesManager-d6d43884.js +1 -1
  104. package/amd/MeterBar-90569d10.js +1 -1
  105. package/amd/MeterCircle-b14ff590.js +1 -1
  106. package/amd/{Modal-36acfc12.js → Modal-2b6ce101.js} +2 -2
  107. package/amd/{Modal-36acfc12.js.map → Modal-2b6ce101.js.map} +1 -1
  108. package/amd/{MonthView-ac27389f.js → MonthView-8a1fde80.js} +2 -2
  109. package/amd/{MonthView-ac27389f.js.map → MonthView-8a1fde80.js.map} +1 -1
  110. package/amd/NavigationListItem-1742f912.js +1 -1
  111. package/amd/NumberInputText-83ba7a58.js +1 -1
  112. package/amd/OverflowTabBarItem-4c4b75e0.js +1 -1
  113. package/amd/PRIVATE_BaseCardView.js +1 -1
  114. package/amd/PRIVATE_Chart.js +1 -1
  115. package/amd/PRIVATE_CheckboxControl.js +1 -1
  116. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  117. package/amd/PRIVATE_ClearIcon.js +1 -1
  118. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  119. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  120. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  121. package/amd/PRIVATE_FormControls.js +1 -1
  122. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  123. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  124. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  125. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  126. package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
  127. package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
  128. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  129. package/amd/PRIVATE_List.js +1 -1
  130. package/amd/PRIVATE_Message.js +1 -1
  131. package/amd/PRIVATE_MessageLayer.js +1 -1
  132. package/amd/PRIVATE_MonthView.js +1 -1
  133. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  134. package/amd/PRIVATE_PlotArea.js +1 -1
  135. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  136. package/amd/PRIVATE_SelectCommon.js +1 -1
  137. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  138. package/amd/PRIVATE_Table.js +1 -1
  139. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  140. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  141. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  142. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  143. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  144. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  145. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  146. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  147. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  148. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  149. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  150. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  173. package/amd/PRIVATE_TimeComponent.js +1 -1
  174. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  175. package/amd/PictoChart-98b54953.js +1 -1
  176. package/amd/{PieChart-cbe2806f.js → PieChart-45cc3798.js} +2 -2
  177. package/amd/{PieChart-cbe2806f.js.map → PieChart-45cc3798.js.map} +1 -1
  178. package/amd/{Popup-956e6d7d.js → Popup-059eb48a.js} +2 -2
  179. package/amd/{Popup-956e6d7d.js.map → Popup-059eb48a.js.map} +1 -1
  180. package/amd/{ProgressBar-d7cfdb63.js → ProgressBar-479b35e5.js} +2 -2
  181. package/amd/{ProgressBar-d7cfdb63.js.map → ProgressBar-479b35e5.js.map} +1 -1
  182. package/amd/ProgressButton-c98e276b.js +1 -1
  183. package/amd/ProgressButtonLabelLayout-3a78ba61.js +1 -1
  184. package/amd/{ProgressCircle-1e4cefde.js → ProgressCircle-365c4568.js} +2 -2
  185. package/amd/{ProgressCircle-1e4cefde.js.map → ProgressCircle-365c4568.js.map} +1 -1
  186. package/amd/RadioIconVariants.styles.css +1 -1
  187. package/amd/RadioIconVariants.styles2.css +1 -1
  188. package/amd/RadioItem-ce699d94.js +1 -1
  189. package/amd/RatingGauge-138a7d8b.js +1 -1
  190. package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
  191. package/amd/RemovableNavigationListItem-dd14305f.js +1 -1
  192. package/amd/RemovableTabBarItem-6a25d890.js +1 -1
  193. package/amd/ReorderableTabBar-e40ffae9.js +1 -1
  194. package/amd/RevealToggleIcon-c5b17f49.js +1 -1
  195. package/amd/SectionalLegend-5d4afed4.js +1 -1
  196. package/amd/SectionedContent-2b89af7b.js +2 -0
  197. package/amd/{SectionedContent-6031f8f7.js.map → SectionedContent-2b89af7b.js.map} +1 -1
  198. package/amd/SelectMultiple-1ff92cc3.js +1 -1
  199. package/amd/SelectSingle-641a4cac.js +1 -1
  200. package/amd/{SelectionCard-062e1c6f.js → SelectionCard-3973de1b.js} +2 -2
  201. package/amd/{SelectionCard-062e1c6f.js.map → SelectionCard-3973de1b.js.map} +1 -1
  202. package/amd/Selector-039f7481.js +1 -1
  203. package/amd/SelectorAll-7288e923.js +2 -0
  204. package/amd/{SelectorAll-53efae22.js.map → SelectorAll-7288e923.js.map} +1 -1
  205. package/amd/{Sheet-e6308643.js → Sheet-c6fc15b2.js} +2 -2
  206. package/amd/{Sheet-e6308643.js.map → Sheet-c6fc15b2.js.map} +1 -1
  207. package/amd/SplitMenuButton-09d7b66f.js +1 -1
  208. package/amd/StyledTextField-a51060bb.js +1 -1
  209. package/amd/Submenu-8cb31b61.js +1 -1
  210. package/amd/TabBar-1c002b5b.js +1 -1
  211. package/amd/TabBarItem-16383a92.js +1 -1
  212. package/amd/TabBarLayout-685ac295.js +1 -1
  213. package/amd/TabBarMixed-4e0326f5.js +1 -1
  214. package/amd/TabBarMixedSeparator-ed764207.js +2 -0
  215. package/amd/{TabBarMixedSeparator-8c278254.js.map → TabBarMixedSeparator-ed764207.js.map} +1 -1
  216. package/amd/Table-986ae70c.js +1 -1
  217. package/amd/TagCloud-58b4a81b.js +1 -1
  218. package/amd/TextArea-916c5bb1.js +2 -0
  219. package/{es/TextArea-ea6aaf32.js.map → amd/TextArea-916c5bb1.js.map} +1 -1
  220. package/amd/TextAreaAutosize-1f47b470.js +2 -0
  221. package/amd/{TextAreaAutosize-e8dc13b4.js.map → TextAreaAutosize-1f47b470.js.map} +1 -1
  222. package/amd/TextField-51daf13e.js +1 -1
  223. package/amd/TextFieldInput-d6645f5b.js +1 -1
  224. package/amd/Theme-redwood/theme.css +391 -391
  225. package/amd/Theme-stable/theme.css +335 -335
  226. package/amd/TimeComponentCanvas2D-2f1cede4.js +1 -1
  227. package/amd/Toolbar-e84c90ac.js +1 -1
  228. package/amd/{TruncatingBadge-5b720ad3.js → TruncatingBadge-b6a271ea.js} +2 -2
  229. package/amd/{TruncatingBadge-5b720ad3.js.map → TruncatingBadge-b6a271ea.js.map} +1 -1
  230. package/amd/TruncatingText-e1aceee7.js +2 -0
  231. package/amd/{TruncatingText-17a6d4b6.js.map → TruncatingText-e1aceee7.js.map} +1 -1
  232. package/amd/UNSAFE_ActionCard.js +1 -1
  233. package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
  234. package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js.map +1 -1
  235. package/amd/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
  236. package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
  237. package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js.map +1 -1
  238. package/amd/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
  239. package/amd/UNSAFE_Avatar.js +1 -1
  240. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  241. package/amd/UNSAFE_BarChart.js +1 -1
  242. package/amd/UNSAFE_BaseButton.js +1 -1
  243. package/amd/UNSAFE_Button.js +1 -1
  244. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  245. package/amd/UNSAFE_ButtonSet.js +1 -1
  246. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  247. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  248. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  249. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  250. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  251. package/amd/UNSAFE_CardFlexView.js +1 -1
  252. package/amd/UNSAFE_CardGridView.js +1 -1
  253. package/amd/UNSAFE_Center.js +1 -1
  254. package/amd/UNSAFE_ChartWithLegend.js +1 -1
  255. package/amd/UNSAFE_Checkbox.js +1 -1
  256. package/amd/UNSAFE_CheckboxItem.js +1 -1
  257. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  258. package/amd/UNSAFE_CheckboxSet.js +1 -1
  259. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  260. package/amd/UNSAFE_Chip.js +1 -1
  261. package/amd/UNSAFE_Collapsible.js +1 -1
  262. package/amd/UNSAFE_ComponentMessage.js +1 -1
  263. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  264. package/amd/UNSAFE_DatePicker.js +1 -1
  265. package/amd/UNSAFE_Diagram.js +1 -1
  266. package/amd/UNSAFE_Dialog.js +1 -1
  267. package/amd/UNSAFE_DragHandle.js +1 -1
  268. package/amd/UNSAFE_DrawerLayout.js +1 -1
  269. package/amd/UNSAFE_DrawerPopup.js +1 -1
  270. package/amd/UNSAFE_Dropdown.js +1 -1
  271. package/amd/UNSAFE_Environment.js +1 -1
  272. package/amd/UNSAFE_ExpandableList.js +1 -1
  273. package/amd/UNSAFE_FilePicker.js +1 -1
  274. package/amd/UNSAFE_Flex.js +1 -1
  275. package/amd/UNSAFE_Floating.js +1 -1
  276. package/amd/UNSAFE_FormLayout.js +1 -1
  277. package/amd/UNSAFE_Gantt.js +1 -1
  278. package/amd/UNSAFE_Grid.js +1 -1
  279. package/amd/UNSAFE_HighlightText.js +1 -1
  280. package/amd/UNSAFE_Icon.js +1 -1
  281. package/amd/UNSAFE_IconButton.js +1 -1
  282. package/amd/UNSAFE_IconMenuButton.js +1 -1
  283. package/amd/UNSAFE_IconProgressButton.js +1 -1
  284. package/amd/UNSAFE_IconToggleButton.js +1 -1
  285. package/amd/UNSAFE_Indexer.js +1 -1
  286. package/amd/UNSAFE_InputDateMask.js +1 -1
  287. package/amd/UNSAFE_InputDatePicker.js +1 -1
  288. package/amd/UNSAFE_InputPassword.js +1 -1
  289. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  290. package/amd/UNSAFE_InputText.js +1 -1
  291. package/amd/UNSAFE_Label.js +1 -1
  292. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  293. package/amd/UNSAFE_LabelledLink.js +1 -1
  294. package/amd/UNSAFE_Layer.js +1 -1
  295. package/amd/UNSAFE_Legend.js +1 -1
  296. package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
  297. package/amd/UNSAFE_LineAreaChart.js +1 -1
  298. package/amd/UNSAFE_Link.js +1 -1
  299. package/amd/UNSAFE_ListItemLayout.js +1 -1
  300. package/amd/UNSAFE_ListView.js +1 -1
  301. package/amd/UNSAFE_LiveRegion.js +1 -1
  302. package/amd/UNSAFE_Menu.js +1 -1
  303. package/amd/UNSAFE_MenuButton.js +1 -1
  304. package/amd/UNSAFE_MessageBanner.js +1 -1
  305. package/amd/UNSAFE_MessageToast.js +1 -1
  306. package/amd/UNSAFE_MeterBar.js +1 -1
  307. package/amd/UNSAFE_MeterCircle.js +1 -1
  308. package/amd/UNSAFE_Modal.js +1 -1
  309. package/amd/UNSAFE_NavigationList.js +1 -1
  310. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  311. package/amd/UNSAFE_NumberInputText.js +1 -1
  312. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  313. package/amd/UNSAFE_PictoChart.js +1 -1
  314. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  315. package/amd/UNSAFE_PieChart.js +1 -1
  316. package/amd/UNSAFE_Popup.js +1 -1
  317. package/amd/UNSAFE_ProgressBar.js +1 -1
  318. package/amd/UNSAFE_ProgressButton.js +1 -1
  319. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  320. package/amd/UNSAFE_ProgressCircle.js +1 -1
  321. package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js +1 -1
  322. package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js.map +1 -1
  323. package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconVariants.css.js +1 -1
  324. package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js +1 -1
  325. package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js.map +1 -1
  326. package/amd/UNSAFE_RadioItem/themes/stable/RadioIconVariants.css.js +1 -1
  327. package/amd/UNSAFE_RadioItem.js +1 -1
  328. package/amd/UNSAFE_RadioSet.js +1 -1
  329. package/amd/UNSAFE_RatingGauge.js +1 -1
  330. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  331. package/amd/UNSAFE_SectionalLegend.js +1 -1
  332. package/amd/UNSAFE_SelectMultiple.js +1 -1
  333. package/amd/UNSAFE_SelectSingle.js +1 -1
  334. package/amd/UNSAFE_SelectionCard.js +1 -1
  335. package/amd/UNSAFE_Selector.js +1 -1
  336. package/amd/UNSAFE_SelectorAll.js +1 -1
  337. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  338. package/amd/UNSAFE_Sheet.js +1 -1
  339. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  340. package/amd/UNSAFE_TabBar.js +1 -1
  341. package/amd/UNSAFE_TabBarCommon.js +1 -1
  342. package/amd/UNSAFE_TabBarMixed.js +1 -1
  343. package/amd/UNSAFE_TableView.js +1 -1
  344. package/amd/UNSAFE_TagCloud.js +1 -1
  345. package/amd/UNSAFE_TextArea.js +1 -1
  346. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  347. package/amd/UNSAFE_TextField.js +1 -1
  348. package/amd/UNSAFE_ToggleButton.js +1 -1
  349. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  350. package/amd/UNSAFE_Toolbar.js +1 -1
  351. package/amd/UNSAFE_Train.js +1 -1
  352. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  353. package/amd/UNSAFE_TruncatingText.js +1 -1
  354. package/amd/UNSAFE_UserAssistance.js +1 -1
  355. package/amd/UNSAFE_View.js +1 -1
  356. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  357. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  358. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  359. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  360. package/amd/UNSAFE_WindowOverlay.js +1 -1
  361. package/amd/{View-ce970ed7.js → View-bd5c7fa7.js} +2 -2
  362. package/amd/{View-ce970ed7.js.map → View-bd5c7fa7.js.map} +1 -1
  363. package/amd/{VisNoData-7d5f77c3.js → VisNoData-ed2bd5cf.js} +2 -2
  364. package/amd/{VisNoData-7d5f77c3.js.map → VisNoData-ed2bd5cf.js.map} +1 -1
  365. package/amd/{VisProgressiveLoader-68d8d8b3.js → VisProgressiveLoader-06a60c8f.js} +2 -2
  366. package/amd/{VisProgressiveLoader-68d8d8b3.js.map → VisProgressiveLoader-06a60c8f.js.map} +1 -1
  367. package/amd/{VisTabularDatatip-1051eaca.js → VisTabularDatatip-55bbd19f.js} +2 -2
  368. package/amd/{VisTabularDatatip-1051eaca.js.map → VisTabularDatatip-55bbd19f.js.map} +1 -1
  369. package/amd/{WindowOverlay-a2d80d55.js → WindowOverlay-43c10424.js} +2 -2
  370. package/amd/{WindowOverlay-a2d80d55.js.map → WindowOverlay-43c10424.js.map} +1 -1
  371. package/amd/{YearsGridView-e758c73a.js → YearsGridView-ddc90c36.js} +2 -2
  372. package/amd/{YearsGridView-e758c73a.js.map → YearsGridView-ddc90c36.js.map} +1 -1
  373. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  374. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  375. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  376. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  377. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  378. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  379. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  380. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  381. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  382. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  383. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  384. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  385. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  386. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  387. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  388. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  389. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  390. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  391. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  392. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  393. package/amd/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  394. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  395. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  396. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  397. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  398. package/amd/hooks/UNSAFE_useScale.js +1 -1
  399. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  400. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  401. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  402. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  403. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  404. package/amd/hooks/UNSAFE_useUser.js +1 -1
  405. package/amd/{index-735cad6d.js → index-a444ef75.js} +2 -2
  406. package/amd/index-a444ef75.js.map +1 -0
  407. package/amd/listViewSelectionTests-a8209843.js +1 -1
  408. package/amd/render-a1ae323f.js +2 -0
  409. package/amd/{render-4250c759.js.map → render-a1ae323f.js.map} +1 -1
  410. package/amd/{tabbableUtils-9887f50b.js → tabbableUtils-f5e521c8.js} +2 -2
  411. package/amd/{tabbableUtils-9887f50b.js.map → tabbableUtils-f5e521c8.js.map} +1 -1
  412. package/amd/{testData-71364772.js → testData-b22c8f34.js} +2 -2
  413. package/amd/{testData-71364772.js.map → testData-b22c8f34.js.map} +1 -1
  414. package/amd/tooltipUtils-79293e46.js +2 -0
  415. package/amd/{tooltipUtils-3b34c2bc.js.map → tooltipUtils-79293e46.js.map} +1 -1
  416. package/amd/useCellNavigation-1feec094.js +1 -1
  417. package/amd/useChartContextMenu-673e3de0.js +1 -1
  418. package/amd/{useChartDatatip-c702890c.js → useChartDatatip-04fa72c7.js} +2 -2
  419. package/amd/{useChartDatatip-c702890c.js.map → useChartDatatip-04fa72c7.js.map} +1 -1
  420. package/amd/useChartMarquee-62e7676c.js +1 -1
  421. package/amd/{useColorScheme-10dc88de.js → useColorScheme-443e7cc7.js} +2 -2
  422. package/amd/{useColorScheme-10dc88de.js.map → useColorScheme-443e7cc7.js.map} +1 -1
  423. package/amd/useContextMenu-57f18e97.js +1 -1
  424. package/amd/{useCssVars-c043f8da.js → useCssVars-dc52806c.js} +2 -2
  425. package/amd/{useCssVars-c043f8da.js.map → useCssVars-dc52806c.js.map} +1 -1
  426. package/amd/{useCurrentBgColor-2426ee24.js → useCurrentBgColor-50142bd8.js} +2 -2
  427. package/amd/{useCurrentBgColor-2426ee24.js.map → useCurrentBgColor-50142bd8.js.map} +1 -1
  428. package/amd/useCurrentKey-db6f418a.js +2 -0
  429. package/amd/{useCurrentKey-1d869ff4.js.map → useCurrentKey-db6f418a.js.map} +1 -1
  430. package/amd/{useDatatip-87792500.js → useDatatip-748e233f.js} +2 -2
  431. package/amd/{useDatatip-87792500.js.map → useDatatip-748e233f.js.map} +1 -1
  432. package/amd/{useDensity-c83df7b4.js → useDensity-f0f7ae9a.js} +2 -2
  433. package/amd/{useDensity-c83df7b4.js.map → useDensity-f0f7ae9a.js.map} +1 -1
  434. package/amd/{useFloating-8726c4bb.js → useFloating-a2399a51.js} +2 -2
  435. package/amd/{useFloating-8726c4bb.js.map → useFloating-a2399a51.js.map} +1 -1
  436. package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
  437. package/amd/{useKeyboardEvents-d87e3587.js.map → useKeyboardEvents-8ada7a1f.js.map} +1 -1
  438. package/amd/useLegendContextMenu-09c7a5a9.js +1 -1
  439. package/amd/useMeterDatatip-3b5a5112.js +2 -0
  440. package/amd/{useMeterDatatip-3abdf66a.js.map → useMeterDatatip-3b5a5112.js.map} +1 -1
  441. package/amd/{useOutsideClick-5c2a47be.js → useOutsideClick-476e0577.js} +2 -2
  442. package/amd/{useOutsideClick-5c2a47be.js.map → useOutsideClick-476e0577.js.map} +1 -1
  443. package/amd/usePopupAnimation-6445a247.js +2 -0
  444. package/amd/{usePopupAnimation-916ff96d.js.map → usePopupAnimation-6445a247.js.map} +1 -1
  445. package/amd/usePrefixSuffix-f7544e05.js +2 -0
  446. package/amd/{usePrefixSuffix-09bd5925.js.map → usePrefixSuffix-f7544e05.js.map} +1 -1
  447. package/amd/useReorderableItem-7fd4d629.js +1 -1
  448. package/amd/{useRovingTabIndexContainer-05e87912.js → useRovingTabIndexContainer-94cc3710.js} +2 -2
  449. package/amd/{useRovingTabIndexContainer-05e87912.js.map → useRovingTabIndexContainer-94cc3710.js.map} +1 -1
  450. package/amd/useScale-e311d35f.js +2 -0
  451. package/amd/{useScale-37d42c9d.js.map → useScale-e311d35f.js.map} +1 -1
  452. package/amd/useSelectCommon-4e256cf0.js +1 -1
  453. package/amd/{useSelectDrill-a7d833b6.js → useSelectDrill-65d98139.js} +2 -2
  454. package/amd/{useSelectDrill-a7d833b6.js.map → useSelectDrill-65d98139.js.map} +1 -1
  455. package/amd/{useSelection-396ce75f.js → useSelection-4d3a1ea8.js} +2 -2
  456. package/amd/{useSelection-396ce75f.js.map → useSelection-4d3a1ea8.js.map} +1 -1
  457. package/amd/useSelection-a6fd13cf.js +2 -0
  458. package/amd/{useSelection-e2791513.js.map → useSelection-a6fd13cf.js.map} +1 -1
  459. package/amd/{useTabBar-423a0c03.js → useTabBar-40842fb9.js} +2 -2
  460. package/amd/{useTabBar-423a0c03.js.map → useTabBar-40842fb9.js.map} +1 -1
  461. package/amd/{useTestId-3a316499.js → useTestId-b5cd4766.js} +2 -2
  462. package/amd/{useTestId-3a316499.js.map → useTestId-b5cd4766.js.map} +1 -1
  463. package/amd/{useTheme-ac980f9a.js → useTheme-a8334e06.js} +2 -2
  464. package/amd/{useTheme-ac980f9a.js.map → useTheme-a8334e06.js.map} +1 -1
  465. package/amd/useThemeInterpolations-e20f8cfa.js +2 -0
  466. package/amd/{useThemeInterpolations-b1d98ea4.js.map → useThemeInterpolations-e20f8cfa.js.map} +1 -1
  467. package/amd/useTooltip-e4089d1a.js +2 -0
  468. package/amd/{useTooltip-6a5fedfa.js.map → useTooltip-e4089d1a.js.map} +1 -1
  469. package/amd/{useTooltipControlled-fb57eb02.js → useTooltipControlled-fafb2f01.js} +2 -2
  470. package/amd/{useTooltipControlled-fb57eb02.js.map → useTooltipControlled-fafb2f01.js.map} +1 -1
  471. package/amd/{useTranslationBundle-516b1b83.js → useTranslationBundle-d07d4b20.js} +2 -2
  472. package/amd/{useTranslationBundle-516b1b83.js.map → useTranslationBundle-d07d4b20.js.map} +1 -1
  473. package/amd/{useUser-85c781ea.js → useUser-3ef25571.js} +2 -2
  474. package/amd/{useUser-85c781ea.js.map → useUser-3ef25571.js.map} +1 -1
  475. package/amd/{useVisEvents-954dcd88.js → useVisEvents-48144382.js} +2 -2
  476. package/amd/{useVisEvents-954dcd88.js.map → useVisEvents-48144382.js.map} +1 -1
  477. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  478. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  479. package/amd/{withDirectionIcon-ce0c7432.js → withDirectionIcon-74c39ee3.js} +2 -2
  480. package/amd/{withDirectionIcon-ce0c7432.js.map → withDirectionIcon-74c39ee3.js.map} +1 -1
  481. package/amd/withThemeProps-4c23997e.js +1 -1
  482. package/cjs/BaseNavigationListItem-62f24d1b.js +49 -0
  483. package/cjs/BaseNavigationListItem-62f24d1b.js.map +1 -0
  484. package/cjs/CheckboxSet-368b907b.js +53 -0
  485. package/cjs/CheckboxSet-368b907b.js.map +1 -0
  486. package/cjs/{NavigationListItem-7550547a.js → NavigationList-9e2a1115.js} +3 -21
  487. package/cjs/NavigationList-9e2a1115.js.map +1 -0
  488. package/cjs/NavigationListItem-4f5dc28a.js +12 -0
  489. package/cjs/NavigationListItem-4f5dc28a.js.map +1 -0
  490. package/cjs/{OverflowTabBar-76c75781.js → OverflowTabBar-0122125c.js} +3 -3
  491. package/cjs/{OverflowTabBar-76c75781.js.map → OverflowTabBar-0122125c.js.map} +1 -1
  492. package/cjs/{OverflowTabBarItem-76059bad.js → OverflowTabBarItem-7e4a284a.js} +5 -4
  493. package/cjs/{OverflowTabBarItem-76059bad.js.map → OverflowTabBarItem-7e4a284a.js.map} +1 -1
  494. package/cjs/{RemovableNavigationListItem-727e53e8.js → RemovableNavigationListItem-1235bf1c.js} +4 -3
  495. package/cjs/{RemovableNavigationListItem-727e53e8.js.map → RemovableNavigationListItem-1235bf1c.js.map} +1 -1
  496. package/cjs/{ReorderableTabBar-ded69f11.js → ReorderableTabBar-49f32413.js} +2 -2
  497. package/cjs/{ReorderableTabBar-ded69f11.js.map → ReorderableTabBar-49f32413.js.map} +1 -1
  498. package/cjs/{TabBar-c13ce35f.js → TabBar-d9f6d3c3.js} +6 -1
  499. package/cjs/{TabBar-c13ce35f.js.map → TabBar-d9f6d3c3.js.map} +1 -1
  500. package/cjs/{TabBarMixed-81309400.js → TabBarMixed-13a02a56.js} +6 -1
  501. package/cjs/{TabBarMixed-81309400.js.map → TabBarMixed-13a02a56.js.map} +1 -1
  502. package/cjs/Theme-redwood/theme.css +295 -295
  503. package/cjs/Theme-stable/theme.css +163 -163
  504. package/cjs/UNSAFE_CheckboxItem.js +80 -30
  505. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  506. package/cjs/UNSAFE_CheckboxSet.js +15 -44
  507. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  508. package/cjs/UNSAFE_NavigationList.js +16 -14
  509. package/cjs/UNSAFE_NavigationList.js.map +1 -1
  510. package/cjs/UNSAFE_NavigationListCommon.js +55 -54
  511. package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
  512. package/cjs/UNSAFE_OverflowTabBar.js +29 -27
  513. package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
  514. package/cjs/UNSAFE_ReorderableTabBar.js +25 -9
  515. package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
  516. package/cjs/UNSAFE_TabBar.js +28 -26
  517. package/cjs/UNSAFE_TabBar.js.map +1 -1
  518. package/cjs/UNSAFE_TabBarCommon.js +20 -18
  519. package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
  520. package/cjs/UNSAFE_TabBarMixed.js +28 -26
  521. package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
  522. package/cjs/{BaseNavigationListItem-4b28f14e.js → useNavigationListItem-0a5c6a11.js} +2 -40
  523. package/cjs/useNavigationListItem-0a5c6a11.js.map +1 -0
  524. package/es/ActionCard-ba1c946e.js +1 -1
  525. package/es/BarChart-c68a559c.js +2 -2
  526. package/es/BaseButton-5a3335d9.js +2 -2
  527. package/es/BaseCardView-e0e8a69b.js +6 -6
  528. package/es/{BaseCardViewSelectionTest-2159b609.js → BaseCardViewSelectionTest-120542e8.js} +6 -6
  529. package/es/{BaseCardViewSelectionTest-2159b609.js.map → BaseCardViewSelectionTest-120542e8.js.map} +1 -1
  530. package/es/BaseNavigationListItem-ac7ef3c3.js +1 -1
  531. package/es/ButtonSet-ac76e6e2.js +2 -2
  532. package/es/ButtonSetIconButton-9241b9fb.js +3 -3
  533. package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
  534. package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
  535. package/es/Chart-f2438968.js +9 -9
  536. package/es/CheckboxControl-f5e36d0d.js +6 -6
  537. package/es/CheckboxRadioField-bdda2573.js +6 -6
  538. package/es/CheckboxSet-569683fe.js +49 -0
  539. package/es/CheckboxSet-569683fe.js.map +1 -0
  540. package/es/Chip-f2df2078.js +1 -1
  541. package/es/ClearIcon-b5083cc8.js +1 -1
  542. package/es/CollapseIcon-de129943.js +1 -1
  543. package/es/Collapsible-09cc493a.js +2 -2
  544. package/es/CompactHelpSource-1686edf6.js +2 -2
  545. package/es/{CompactLabelAssistance-61df6dbf.js → CompactLabelAssistance-fa8264fa.js} +5 -5
  546. package/es/{CompactLabelAssistance-61df6dbf.js.map → CompactLabelAssistance-fa8264fa.js.map} +1 -1
  547. package/es/CompactUserAssistance-3a10afd4.js +4 -4
  548. package/es/ComponentMessageContainer-18e7fe34.js +4 -4
  549. package/es/ConveyorBeltItem-c8d4ba1b.js +2 -2
  550. package/es/{DatePicker-d4e027c2.js → DatePicker-4fb6d86d.js} +6 -6
  551. package/es/{DatePicker-d4e027c2.js.map → DatePicker-4fb6d86d.js.map} +1 -1
  552. package/es/DatePickerHeader-79f0b61b.js +3 -3
  553. package/es/{Diagram-d7fdc75f.js → Diagram-6f1ad2ea.js} +5 -5
  554. package/es/{Diagram-d7fdc75f.js.map → Diagram-6f1ad2ea.js.map} +1 -1
  555. package/es/{Dialog-cf69547f.js → Dialog-5e92dcd1.js} +6 -6
  556. package/es/{Dialog-cf69547f.js.map → Dialog-5e92dcd1.js.map} +1 -1
  557. package/es/DirectionalCollapseArrowIcon-20259aab.js +1 -1
  558. package/es/DirectionalExpandArrowIcon-36ba273c.js +1 -1
  559. package/es/DragHandle-3b768189.js +1 -1
  560. package/es/{Dropdown-d017dd0a.js → Dropdown-f45f823c.js} +5 -5
  561. package/es/{Dropdown-d017dd0a.js.map → Dropdown-f45f823c.js.map} +1 -1
  562. package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
  563. package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
  564. package/es/FilePicker-f4582615.js +2 -2
  565. package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
  566. package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
  567. package/es/{Floating-aebc0f85.js → Floating-f9bbd276.js} +4 -4
  568. package/es/{Floating-aebc0f85.js.map → Floating-f9bbd276.js.map} +1 -1
  569. package/es/FormLayout-221e1aa8.js +1 -1
  570. package/es/Gantt-46f5f954.js +9 -9
  571. package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
  572. package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
  573. package/es/{Gridlines-0e7b33f5.js → Gridlines-dcdc34bc.js} +2 -2
  574. package/es/{Gridlines-0e7b33f5.js.map → Gridlines-dcdc34bc.js.map} +1 -1
  575. package/es/GroupLoadingIndicator-2bfdba44.js +1 -1
  576. package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
  577. package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
  578. package/es/Icon-4171c0d7.js +3 -3
  579. package/es/IconButton-451a225c.js +3 -3
  580. package/es/IconMenuButton-e46f8d54.js +4 -4
  581. package/es/IconProgressButton-8f2f6b27.js +3 -3
  582. package/es/IconSwitchButton-5ff7b0fe.js +3 -3
  583. package/es/IconToggleButton-375f006f.js +3 -3
  584. package/es/{IconUserAssistance-7cfd1ed2.js → IconUserAssistance-dd56b812.js} +3 -3
  585. package/es/{IconUserAssistance-7cfd1ed2.js.map → IconUserAssistance-dd56b812.js.map} +1 -1
  586. package/es/Indexer-658cee69.js +4 -4
  587. package/es/InlineHelpSource-fcdcd122.js +1 -1
  588. package/es/InlineUserAssistance-e6deb149.js +5 -5
  589. package/es/InputDateMask-3d511e39.js +7 -7
  590. package/es/InputDatePicker-fe26a952.js +8 -8
  591. package/es/InputPassword-47130b3c.js +4 -4
  592. package/es/InputText-4799b2ed.js +6 -6
  593. package/es/Label-ab276ca9.js +5 -5
  594. package/es/LabelValueLayout-bcf482be.js +1 -1
  595. package/es/{Layer-915d986a.js → Layer-71fc666f.js} +3 -3
  596. package/es/{Layer-915d986a.js.map → Layer-71fc666f.js.map} +1 -1
  597. package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
  598. package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
  599. package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
  600. package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
  601. package/es/Legend-ae0296f0.js +3 -3
  602. package/es/{LineAreaChart-e2e762e8.js → LineAreaChart-3a7bc509.js} +3 -3
  603. package/es/{LineAreaChart-e2e762e8.js.map → LineAreaChart-3a7bc509.js.map} +1 -1
  604. package/es/Link-9072aa54.js +1 -1
  605. package/es/List-1d23e84f.js +5 -5
  606. package/es/{ListItemLayout-01286b56.js → ListItemLayout-32895900.js} +2 -2
  607. package/es/{ListItemLayout-01286b56.js.map → ListItemLayout-32895900.js.map} +1 -1
  608. package/es/ListView-8eba90e8.js +3 -3
  609. package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
  610. package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
  611. package/es/MaxLengthCounter-cead2dac.js +25 -0
  612. package/{amd/MaxLengthCounter-caafceef.js.map → es/MaxLengthCounter-cead2dac.js.map} +1 -1
  613. package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
  614. package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
  615. package/es/{Menu-e44a3e0b.js → Menu-b5deea24.js} +8 -8
  616. package/es/{Menu-e44a3e0b.js.map → Menu-b5deea24.js.map} +1 -1
  617. package/es/MenuButton-49b7965d.js +3 -3
  618. package/es/MenuItem-be46866f.js +1 -1
  619. package/es/Message-322f8d63.js +2 -2
  620. package/es/{MessageLayer-f09b0a1b.js → MessageLayer-34a390eb.js} +6 -6
  621. package/es/{MessageLayer-f09b0a1b.js.map → MessageLayer-34a390eb.js.map} +1 -1
  622. package/es/MessageToast-66bdffe6.js +8 -8
  623. package/es/MessagesManager-a1c3e92e.js +3 -3
  624. package/es/MeterBar-9ad34b98.js +5 -5
  625. package/es/MeterCircle-6bd257c8.js +5 -5
  626. package/es/{Modal-862b8167.js → Modal-3fd86d5a.js} +3 -3
  627. package/es/{Modal-862b8167.js.map → Modal-3fd86d5a.js.map} +1 -1
  628. package/es/{MonthView-3d90f424.js → MonthView-c3b82ace.js} +4 -4
  629. package/es/{MonthView-3d90f424.js.map → MonthView-c3b82ace.js.map} +1 -1
  630. package/es/NavigationListItem-a336f06f.js +5 -5
  631. package/es/NumberInputText-eca11601.js +6 -6
  632. package/es/OverflowTabBarItem-12249753.js +3 -3
  633. package/es/PRIVATE_BaseCardView.js +20 -20
  634. package/es/PRIVATE_Chart.js +30 -30
  635. package/es/PRIVATE_CheckboxControl.js +22 -22
  636. package/es/PRIVATE_CheckboxRadioField.js +23 -23
  637. package/es/PRIVATE_ClearIcon.js +17 -17
  638. package/es/PRIVATE_DatePickerHeader.js +19 -19
  639. package/es/PRIVATE_DatePickerLayout.js +4 -4
  640. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  641. package/es/PRIVATE_FormControls.js +19 -19
  642. package/es/PRIVATE_IconSwitchButton.js +15 -15
  643. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  644. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  645. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  646. package/es/PRIVATE_Icons/RadiobuttonOff.js +15 -15
  647. package/es/PRIVATE_Icons/RadiobuttonOn.js +15 -15
  648. package/es/PRIVATE_Icons/WarningS.js +15 -15
  649. package/es/PRIVATE_List.js +19 -19
  650. package/es/PRIVATE_Message.js +18 -18
  651. package/es/PRIVATE_MessageLayer.js +11 -11
  652. package/es/PRIVATE_MonthView.js +7 -7
  653. package/es/PRIVATE_MonthYearGridView.js +7 -7
  654. package/es/PRIVATE_PlotArea.js +4 -4
  655. package/es/PRIVATE_RevealToggleIcon.js +16 -16
  656. package/es/PRIVATE_SelectCommon.js +27 -27
  657. package/es/PRIVATE_StyledCheckbox.js +15 -15
  658. package/es/PRIVATE_Table.js +18 -18
  659. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  660. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  661. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  662. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  663. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  664. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  665. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  666. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  667. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  668. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  669. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  670. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  671. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  672. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  673. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  674. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  675. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  676. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  677. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  678. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  679. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  680. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  681. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  682. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  683. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  684. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  685. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  686. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  687. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  688. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  689. package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
  690. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  691. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  692. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  693. package/es/PRIVATE_TimeComponent.js +18 -18
  694. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  695. package/es/PictoChart-3dd90503.js +6 -6
  696. package/es/{PieChart-d4f63bd8.js → PieChart-cdb56906.js} +5 -5
  697. package/es/{PieChart-d4f63bd8.js.map → PieChart-cdb56906.js.map} +1 -1
  698. package/es/{Popup-7cc4028b.js → Popup-8becd87a.js} +9 -9
  699. package/es/{Popup-7cc4028b.js.map → Popup-8becd87a.js.map} +1 -1
  700. package/es/{ProgressBar-d647bba4.js → ProgressBar-2565d814.js} +3 -3
  701. package/es/{ProgressBar-d647bba4.js.map → ProgressBar-2565d814.js.map} +1 -1
  702. package/es/ProgressButton-645ce827.js +3 -3
  703. package/es/ProgressButtonLabelLayout-6cf150e0.js +3 -3
  704. package/es/{ProgressCircle-13dc0e4f.js → ProgressCircle-c7f945c0.js} +2 -2
  705. package/es/{ProgressCircle-13dc0e4f.js.map → ProgressCircle-c7f945c0.js.map} +1 -1
  706. package/es/RadioItem-af1bbece.js +6 -6
  707. package/es/RatingGauge-82a6a416.js +7 -7
  708. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  709. package/es/RemovableNavigationListItem-7032ce3e.js +1 -1
  710. package/es/RemovableTabBarItem-16d04210.js +2 -2
  711. package/es/ReorderableTabBar-981af0f2.js +2 -2
  712. package/es/RevealToggleIcon-563c241c.js +1 -1
  713. package/es/SectionalLegend-a9b719ff.js +4 -4
  714. package/es/{SectionedContent-7e36073f.js → SectionedContent-237bf539.js} +5 -5
  715. package/es/{SectionedContent-7e36073f.js.map → SectionedContent-237bf539.js.map} +1 -1
  716. package/es/SelectMultiple-c1264885.js +8 -8
  717. package/es/SelectSingle-8336ec24.js +7 -7
  718. package/es/{SelectionCard-a27bce15.js → SelectionCard-1711aae6.js} +2 -2
  719. package/es/{SelectionCard-a27bce15.js.map → SelectionCard-1711aae6.js.map} +1 -1
  720. package/es/Selector-9f40e909.js +1 -1
  721. package/es/{SelectorAll-40c76f0b.js → SelectorAll-42ce8707.js} +7 -7
  722. package/es/{SelectorAll-40c76f0b.js.map → SelectorAll-42ce8707.js.map} +1 -1
  723. package/es/{Sheet-34f3bcb4.js → Sheet-f7117b12.js} +3 -3
  724. package/es/{Sheet-34f3bcb4.js.map → Sheet-f7117b12.js.map} +1 -1
  725. package/es/SplitMenuButton-74913bcc.js +3 -3
  726. package/es/StyledTextField-9df27ab4.js +3 -3
  727. package/es/Submenu-c6663c1d.js +1 -1
  728. package/es/TabBar-90cea652.js +6 -6
  729. package/es/TabBarItem-ba695c75.js +3 -3
  730. package/es/TabBarLayout-8caaa060.js +1 -1
  731. package/es/TabBarMixed-52ac388e.js +6 -6
  732. package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
  733. package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
  734. package/es/Table-3d484e2c.js +8 -8
  735. package/es/TagCloud-823b3d82.js +9 -9
  736. package/es/{TextArea-ea6aaf32.js → TextArea-6f18b955.js} +13 -30
  737. package/{amd/TextArea-259d741c.js.map → es/TextArea-6f18b955.js.map} +1 -1
  738. package/es/{TextAreaAutosize-edc7dde7.js → TextAreaAutosize-4cf2754b.js} +7 -7
  739. package/es/{TextAreaAutosize-edc7dde7.js.map → TextAreaAutosize-4cf2754b.js.map} +1 -1
  740. package/es/TextField-d4b4661d.js +3 -3
  741. package/es/TextFieldInput-84280715.js +1 -1
  742. package/es/Theme-redwood/theme.css +413 -413
  743. package/es/Theme-stable/theme.css +405 -405
  744. package/es/TimeComponentCanvas2D-72f4af98.js +5 -5
  745. package/es/Toolbar-85379f64.js +1 -1
  746. package/es/{TruncatingBadge-e5f38bc8.js → TruncatingBadge-7eb77ed3.js} +4 -4
  747. package/es/{TruncatingBadge-e5f38bc8.js.map → TruncatingBadge-7eb77ed3.js.map} +1 -1
  748. package/es/{TruncatingText-c3719839.js → TruncatingText-93807530.js} +4 -4
  749. package/es/{TruncatingText-c3719839.js.map → TruncatingText-93807530.js.map} +1 -1
  750. package/es/UNSAFE_ActionCard.js +2 -2
  751. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
  752. package/es/UNSAFE_BarChart.js +30 -30
  753. package/es/UNSAFE_BaseButton.js +3 -3
  754. package/es/UNSAFE_Button.js +3 -3
  755. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
  756. package/es/UNSAFE_ButtonSet.js +4 -4
  757. package/es/UNSAFE_ButtonSetButton.js +3 -3
  758. package/es/UNSAFE_ButtonSetIconButton.js +15 -15
  759. package/es/UNSAFE_ButtonSetItem.js +15 -15
  760. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  761. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  762. package/es/UNSAFE_CardFlexView.js +20 -20
  763. package/es/UNSAFE_CardGridView.js +20 -20
  764. package/es/UNSAFE_Center.js +5 -5
  765. package/es/UNSAFE_ChartWithLegend.js +4 -4
  766. package/es/UNSAFE_Checkbox.js +22 -22
  767. package/es/UNSAFE_CheckboxItem.js +101 -51
  768. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  769. package/es/UNSAFE_CheckboxSet.js +32 -66
  770. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  771. package/es/UNSAFE_Chip.js +2 -2
  772. package/es/UNSAFE_Collapsible.js +17 -17
  773. package/es/UNSAFE_ComponentMessage.js +18 -18
  774. package/es/UNSAFE_ConveyorBelt.js +15 -15
  775. package/es/UNSAFE_DatePicker.js +24 -24
  776. package/es/UNSAFE_Diagram.js +15 -15
  777. package/es/UNSAFE_Dialog.js +11 -11
  778. package/es/UNSAFE_DragHandle.js +16 -16
  779. package/es/UNSAFE_DrawerLayout.js +11 -11
  780. package/es/UNSAFE_DrawerPopup.js +10 -10
  781. package/es/UNSAFE_Dropdown.js +12 -12
  782. package/es/UNSAFE_Environment.js +4 -4
  783. package/es/UNSAFE_ExpandableList.js +22 -22
  784. package/es/UNSAFE_FilePicker.js +4 -4
  785. package/es/UNSAFE_Flex.js +4 -4
  786. package/es/UNSAFE_Floating.js +10 -10
  787. package/es/UNSAFE_FormLayout.js +2 -2
  788. package/es/UNSAFE_Gantt.js +22 -22
  789. package/es/UNSAFE_Grid.js +4 -4
  790. package/es/UNSAFE_HighlightText.js +4 -4
  791. package/es/UNSAFE_Icon.js +15 -15
  792. package/es/UNSAFE_IconButton.js +15 -15
  793. package/es/UNSAFE_IconMenuButton.js +19 -19
  794. package/es/UNSAFE_IconProgressButton.js +19 -19
  795. package/es/UNSAFE_IconToggleButton.js +15 -15
  796. package/es/UNSAFE_Indexer.js +6 -6
  797. package/es/UNSAFE_InputDateMask.js +23 -23
  798. package/es/UNSAFE_InputDatePicker.js +32 -32
  799. package/es/UNSAFE_InputPassword.js +22 -22
  800. package/es/UNSAFE_InputSensitiveText.js +24 -24
  801. package/es/UNSAFE_InputText.js +25 -25
  802. package/es/UNSAFE_Label.js +22 -22
  803. package/es/UNSAFE_LabelValueLayout.js +4 -4
  804. package/es/UNSAFE_LabelledLink.js +24 -24
  805. package/es/UNSAFE_Layer.js +7 -7
  806. package/es/UNSAFE_Legend.js +22 -22
  807. package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
  808. package/es/UNSAFE_LineAreaChart.js +31 -31
  809. package/es/UNSAFE_Link.js +2 -2
  810. package/es/UNSAFE_ListItemLayout.js +5 -5
  811. package/es/UNSAFE_ListView.js +25 -25
  812. package/es/UNSAFE_LiveRegion.js +4 -4
  813. package/es/UNSAFE_Menu.js +21 -21
  814. package/es/UNSAFE_MenuButton.js +19 -19
  815. package/es/UNSAFE_MessageBanner.js +18 -18
  816. package/es/UNSAFE_MessageToast.js +21 -21
  817. package/es/UNSAFE_MeterBar.js +16 -16
  818. package/es/UNSAFE_MeterCircle.js +16 -16
  819. package/es/UNSAFE_Modal.js +7 -7
  820. package/es/UNSAFE_NavigationList.js +19 -19
  821. package/es/UNSAFE_NavigationListCommon.js +17 -17
  822. package/es/UNSAFE_NumberInputText.js +24 -24
  823. package/es/UNSAFE_OverflowTabBar.js +24 -24
  824. package/es/UNSAFE_PictoChart.js +13 -13
  825. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
  826. package/es/UNSAFE_PieChart.js +14 -14
  827. package/es/UNSAFE_Popup.js +15 -15
  828. package/es/UNSAFE_ProgressBar.js +5 -5
  829. package/es/UNSAFE_ProgressButton.js +19 -19
  830. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  831. package/es/UNSAFE_ProgressCircle.js +4 -4
  832. package/es/UNSAFE_RadioItem.js +22 -22
  833. package/es/UNSAFE_RadioSet.js +22 -22
  834. package/es/UNSAFE_RatingGauge.js +16 -16
  835. package/es/UNSAFE_ReorderableTabBar.js +21 -21
  836. package/es/UNSAFE_SectionalLegend.js +23 -23
  837. package/es/UNSAFE_SelectMultiple.js +30 -30
  838. package/es/UNSAFE_SelectSingle.js +30 -30
  839. package/es/UNSAFE_SelectionCard.js +4 -4
  840. package/es/UNSAFE_Selector.js +15 -15
  841. package/es/UNSAFE_SelectorAll.js +19 -19
  842. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
  843. package/es/UNSAFE_Sheet.js +10 -10
  844. package/es/UNSAFE_SplitMenuButton.js +19 -19
  845. package/es/UNSAFE_TabBar.js +25 -25
  846. package/es/UNSAFE_TabBarCommon.js +24 -24
  847. package/es/UNSAFE_TabBarMixed.js +28 -28
  848. package/es/UNSAFE_TableView.js +18 -18
  849. package/es/UNSAFE_TagCloud.js +22 -22
  850. package/es/UNSAFE_TextArea.js +27 -26
  851. package/es/UNSAFE_TextArea.js.map +1 -1
  852. package/es/UNSAFE_TextAreaAutosize.js +27 -27
  853. package/es/UNSAFE_TextField.js +7 -7
  854. package/es/UNSAFE_ToggleButton.js +3 -3
  855. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
  856. package/es/UNSAFE_Toolbar.js +4 -4
  857. package/es/UNSAFE_Train.js +16 -16
  858. package/es/UNSAFE_TruncatingBadge.js +17 -17
  859. package/es/UNSAFE_TruncatingText.js +17 -17
  860. package/es/UNSAFE_UserAssistance.js +23 -23
  861. package/es/UNSAFE_View.js +7 -7
  862. package/es/UNSAFE_VirtualizedListView.js +19 -19
  863. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  864. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  865. package/es/UNSAFE_VisStatusMessage.js +6 -6
  866. package/es/UNSAFE_WindowOverlay.js +4 -4
  867. package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
  868. package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
  869. package/es/{VisNoData-673b58e9.js → VisNoData-da540cbd.js} +3 -3
  870. package/es/{VisNoData-673b58e9.js.map → VisNoData-da540cbd.js.map} +1 -1
  871. package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
  872. package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
  873. package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
  874. package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
  875. package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
  876. package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
  877. package/es/{YearsGridView-5b5c1746.js → YearsGridView-37dfce0c.js} +4 -4
  878. package/es/{YearsGridView-5b5c1746.js.map → YearsGridView-37dfce0c.js.map} +1 -1
  879. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  880. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  881. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  882. package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
  883. package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
  884. package/es/hooks/PRIVATE_useChartEvents.js +17 -17
  885. package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
  886. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  887. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  888. package/es/hooks/PRIVATE_useDatatip.js +11 -11
  889. package/es/hooks/PRIVATE_useFloating.js +4 -4
  890. package/es/hooks/PRIVATE_useReorderable.js +4 -4
  891. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  892. package/es/hooks/PRIVATE_useSelection.js +4 -4
  893. package/es/hooks/PRIVATE_useTabBar.js +5 -5
  894. package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
  895. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  896. package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
  897. package/es/hooks/PRIVATE_useVisSelection.js +12 -12
  898. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  899. package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
  900. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  901. package/es/hooks/UNSAFE_useDensity.js +3 -3
  902. package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
  903. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  904. package/es/hooks/UNSAFE_useScale.js +3 -3
  905. package/es/hooks/UNSAFE_useTestId.js +3 -3
  906. package/es/hooks/UNSAFE_useTheme.js +3 -3
  907. package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
  908. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  909. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  910. package/es/hooks/UNSAFE_useUser.js +3 -3
  911. package/es/{index-fee93bf9.js → index-e65c9009.js} +2 -2
  912. package/es/index-e65c9009.js.map +1 -0
  913. package/es/listViewSelectionTests-0dfdcc5d.js +4 -4
  914. package/es/{render-d92a7051.js → render-ff141a3d.js} +3 -3
  915. package/es/{render-d92a7051.js.map → render-ff141a3d.js.map} +1 -1
  916. package/es/{tabbableUtils-1b4c2eea.js → tabbableUtils-375a33ee.js} +3 -3
  917. package/es/{tabbableUtils-1b4c2eea.js.map → tabbableUtils-375a33ee.js.map} +1 -1
  918. package/es/{testData-ca9503e6.js → testData-748c19ef.js} +3 -3
  919. package/es/{testData-ca9503e6.js.map → testData-748c19ef.js.map} +1 -1
  920. package/es/{tooltipUtils-06c93436.js → tooltipUtils-1131b3ca.js} +5 -5
  921. package/es/{tooltipUtils-06c93436.js.map → tooltipUtils-1131b3ca.js.map} +1 -1
  922. package/es/useCellNavigation-00d575ca.js +1 -1
  923. package/es/useChartContextMenu-8c49f584.js +3 -3
  924. package/es/{useChartDatatip-82dba484.js → useChartDatatip-25f6bc69.js} +4 -4
  925. package/es/{useChartDatatip-82dba484.js.map → useChartDatatip-25f6bc69.js.map} +1 -1
  926. package/es/useChartMarquee-08025a83.js +1 -1
  927. package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
  928. package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
  929. package/es/useContextMenu-12845847.js +3 -3
  930. package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
  931. package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
  932. package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
  933. package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
  934. package/es/{useCurrentKey-55123e83.js → useCurrentKey-76e7d7b1.js} +2 -2
  935. package/es/{useCurrentKey-55123e83.js.map → useCurrentKey-76e7d7b1.js.map} +1 -1
  936. package/es/{useDatatip-01d7ddeb.js → useDatatip-73566627.js} +4 -4
  937. package/es/{useDatatip-01d7ddeb.js.map → useDatatip-73566627.js.map} +1 -1
  938. package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
  939. package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
  940. package/es/{useFloating-c9278755.js → useFloating-d60cc8b4.js} +2 -2
  941. package/es/{useFloating-c9278755.js.map → useFloating-d60cc8b4.js.map} +1 -1
  942. package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
  943. package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
  944. package/es/useLegendContextMenu-926aca66.js +5 -5
  945. package/es/{useMeterDatatip-43e31c05.js → useMeterDatatip-2cedbd5c.js} +3 -3
  946. package/es/{useMeterDatatip-43e31c05.js.map → useMeterDatatip-2cedbd5c.js.map} +1 -1
  947. package/es/{useOutsideClick-388c62bd.js → useOutsideClick-725542a2.js} +2 -2
  948. package/es/{useOutsideClick-388c62bd.js.map → useOutsideClick-725542a2.js.map} +1 -1
  949. package/es/{usePopupAnimation-b4577940.js → usePopupAnimation-340f04b6.js} +2 -2
  950. package/es/{usePopupAnimation-b4577940.js.map → usePopupAnimation-340f04b6.js.map} +1 -1
  951. package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
  952. package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
  953. package/es/useReorderableItem-c715c504.js +2 -2
  954. package/es/{useRovingTabIndexContainer-097f96a6.js → useRovingTabIndexContainer-b9833086.js} +2 -2
  955. package/es/{useRovingTabIndexContainer-097f96a6.js.map → useRovingTabIndexContainer-b9833086.js.map} +1 -1
  956. package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
  957. package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
  958. package/es/useSelectCommon-7ebc86eb.js +11 -11
  959. package/es/{useSelectDrill-8b53d932.js → useSelectDrill-fbe57d95.js} +3 -3
  960. package/es/{useSelectDrill-8b53d932.js.map → useSelectDrill-fbe57d95.js.map} +1 -1
  961. package/es/{useSelection-7c94a24f.js → useSelection-1e1e89df.js} +2 -2
  962. package/es/{useSelection-7c94a24f.js.map → useSelection-1e1e89df.js.map} +1 -1
  963. package/es/{useSelection-b7c3e75e.js → useSelection-dfbd140d.js} +5 -5
  964. package/es/{useSelection-b7c3e75e.js.map → useSelection-dfbd140d.js.map} +1 -1
  965. package/es/{useTabBar-6c6847ef.js → useTabBar-b826570d.js} +2 -2
  966. package/es/{useTabBar-6c6847ef.js.map → useTabBar-b826570d.js.map} +1 -1
  967. package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
  968. package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
  969. package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
  970. package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
  971. package/es/{useThemeInterpolations-4f6cc83c.js → useThemeInterpolations-41ac870d.js} +4 -4
  972. package/es/{useThemeInterpolations-4f6cc83c.js.map → useThemeInterpolations-41ac870d.js.map} +1 -1
  973. package/es/{useTooltip-e258ea41.js → useTooltip-227887ea.js} +2 -2
  974. package/es/{useTooltip-e258ea41.js.map → useTooltip-227887ea.js.map} +1 -1
  975. package/es/{useTooltipControlled-50d5dac9.js → useTooltipControlled-7ccb5919.js} +5 -5
  976. package/es/{useTooltipControlled-50d5dac9.js.map → useTooltipControlled-7ccb5919.js.map} +1 -1
  977. package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
  978. package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
  979. package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
  980. package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
  981. package/es/{useVisEvents-cd3616aa.js → useVisEvents-ff4204b5.js} +2 -2
  982. package/es/{useVisEvents-cd3616aa.js.map → useVisEvents-ff4204b5.js.map} +1 -1
  983. package/es/utils/PRIVATE_tooltipUtils.js +13 -13
  984. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  985. package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
  986. package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
  987. package/es/withThemeProps-6545df54.js +2 -2
  988. package/package.json +2 -2
  989. package/amd/CheckboxSetContext-2e486ea8.js +0 -2
  990. package/amd/CheckboxSetContext-2e486ea8.js.map +0 -1
  991. package/amd/CompactLabelAssistance-7db2fde2.js +0 -2
  992. package/amd/Flex-56ecdf4c.js +0 -2
  993. package/amd/HighlightText-bd4c0101.js +0 -2
  994. package/amd/InputDatePicker-6167ff45.js +0 -2
  995. package/amd/LiveRegion-8142ed0d.js +0 -2
  996. package/amd/MaxLengthCounter-caafceef.js +0 -2
  997. package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
  998. package/amd/SectionedContent-6031f8f7.js +0 -2
  999. package/amd/SelectorAll-53efae22.js +0 -2
  1000. package/amd/TabBarMixedSeparator-8c278254.js +0 -2
  1001. package/amd/TextArea-259d741c.js +0 -2
  1002. package/amd/TextAreaAutosize-e8dc13b4.js +0 -2
  1003. package/amd/TruncatingText-17a6d4b6.js +0 -2
  1004. package/amd/index-735cad6d.js.map +0 -1
  1005. package/amd/render-4250c759.js +0 -2
  1006. package/amd/tooltipUtils-3b34c2bc.js +0 -2
  1007. package/amd/useCurrentKey-1d869ff4.js +0 -2
  1008. package/amd/useKeyboardEvents-d87e3587.js +0 -2
  1009. package/amd/useMeterDatatip-3abdf66a.js +0 -2
  1010. package/amd/usePopupAnimation-916ff96d.js +0 -2
  1011. package/amd/usePrefixSuffix-09bd5925.js +0 -2
  1012. package/amd/useScale-37d42c9d.js +0 -2
  1013. package/amd/useSelection-e2791513.js +0 -2
  1014. package/amd/useThemeInterpolations-b1d98ea4.js +0 -2
  1015. package/amd/useTooltip-6a5fedfa.js +0 -2
  1016. package/cjs/BaseNavigationListItem-4b28f14e.js.map +0 -1
  1017. package/cjs/CheckboxSetContext-c62db26d.js +0 -12
  1018. package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
  1019. package/cjs/NavigationListItem-7550547a.js.map +0 -1
  1020. package/es/CheckboxSetContext-1be56556.js +0 -9
  1021. package/es/CheckboxSetContext-1be56556.js.map +0 -1
  1022. package/es/index-fee93bf9.js.map +0 -1
@@ -1,2 +1,2 @@
1
- define(['exports', '../ChevronUp-affd8a52', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-6a5fedfa', 'preact/hooks', '../useTooltipControlled-fb57eb02', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-3a316499', '../LayerHost-e95c5f30', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-b1d98ea4', '../useColorScheme-10dc88de', '../useScale-37d42c9d', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-3b34c2bc', '../EnvironmentProvider-8f6fc388', '../LayerManager-76fcfb58', '../Floating-a658b79c', '../useFloating-8726c4bb', '../useUser-85c781ea', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-5c2a47be', '../arrayUtils-6ee96a35', '../Layer-276d62e8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,c,n,l,i,r,d,m,h,u,p,F,y,f,T,g,S,b,U,_,C,A,E,N,v,w,I,k,L,x,B,j,O,P,V,H,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,ce,ne,le,ie,re,de,me,he,ue){"use strict";e.SortAscendingIcon=s.SvgChevronUp,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', '../ChevronUp-affd8a52', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-e4089d1a', 'preact/hooks', '../useTooltipControlled-fafb2f01', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-b5cd4766', '../LayerHost-639b3284', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-e20f8cfa', '../useColorScheme-443e7cc7', '../useScale-e311d35f', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-79293e46', '../EnvironmentProvider-c0e1e39b', '../LayerManager-2972de92', '../Floating-25e0092b', '../useFloating-a2399a51', '../useUser-3ef25571', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-476e0577', '../arrayUtils-6ee96a35', '../Layer-e835aed8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,n,l,c,i,r,d,m,h,u,p,F,y,f,T,g,S,U,_,b,C,A,E,N,v,w,I,k,L,x,B,j,O,P,V,H,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,ne,le,ce,ie,re,de,me,he,ue){"use strict";e.SortAscendingIcon=s.SvgChevronUp,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=SortAscendingIcon.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', '../ChevronUpDown-1d13c6b5', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-6a5fedfa', 'preact/hooks', '../useTooltipControlled-fb57eb02', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-3a316499', '../LayerHost-e95c5f30', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-b1d98ea4', '../useColorScheme-10dc88de', '../useScale-37d42c9d', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-3b34c2bc', '../EnvironmentProvider-8f6fc388', '../LayerManager-76fcfb58', '../Floating-a658b79c', '../useFloating-8726c4bb', '../useUser-85c781ea', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-5c2a47be', '../arrayUtils-6ee96a35', '../Layer-276d62e8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,c,l,n,i,r,d,m,h,u,p,F,y,f,T,S,g,b,U,_,C,A,E,N,w,v,I,k,L,x,B,D,j,O,P,V,H,M,z,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,ce,le,ne,ie,re,de,me,he,ue){"use strict";e.SortDefaultIcon=s.SvgChevronUpDown,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', '../ChevronUpDown-1d13c6b5', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-e4089d1a', 'preact/hooks', '../useTooltipControlled-fafb2f01', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-b5cd4766', '../LayerHost-639b3284', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-e20f8cfa', '../useColorScheme-443e7cc7', '../useScale-e311d35f', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-79293e46', '../EnvironmentProvider-c0e1e39b', '../LayerManager-2972de92', '../Floating-25e0092b', '../useFloating-a2399a51', '../useUser-3ef25571', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-476e0577', '../arrayUtils-6ee96a35', '../Layer-e835aed8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,l,n,c,i,r,d,m,h,u,p,F,y,T,f,S,g,U,_,b,C,A,E,N,w,v,I,k,L,x,B,D,j,O,P,V,H,M,z,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,le,ne,ce,ie,re,de,me,he,ue){"use strict";e.SortDefaultIcon=s.SvgChevronUpDown,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=SortDefaultIcon.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', '../ChevronDown-62d49b8e', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-6a5fedfa', 'preact/hooks', '../useTooltipControlled-fb57eb02', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-3a316499', '../LayerHost-e95c5f30', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-b1d98ea4', '../useColorScheme-10dc88de', '../useScale-37d42c9d', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-3b34c2bc', '../EnvironmentProvider-8f6fc388', '../LayerManager-76fcfb58', '../Floating-a658b79c', '../useFloating-8726c4bb', '../useUser-85c781ea', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-5c2a47be', '../arrayUtils-6ee96a35', '../Layer-276d62e8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,c,n,l,i,r,d,m,h,u,F,p,y,T,f,g,S,b,U,_,C,A,E,N,w,v,I,k,L,x,B,D,j,O,P,V,H,M,z,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,ce,ne,le,ie,re,de,me,he,ue){"use strict";e.SortDescendingIcon=s.SvgChevronDown,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', '../ChevronDown-62d49b8e', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-e4089d1a', 'preact/hooks', '../useTooltipControlled-fafb2f01', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-b5cd4766', '../LayerHost-639b3284', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-e20f8cfa', '../useColorScheme-443e7cc7', '../useScale-e311d35f', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-79293e46', '../EnvironmentProvider-c0e1e39b', '../LayerManager-2972de92', '../Floating-25e0092b', '../useFloating-a2399a51', '../useUser-3ef25571', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-476e0577', '../arrayUtils-6ee96a35', '../Layer-e835aed8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,o,t,a,n,l,c,i,r,d,m,h,u,F,p,y,T,g,S,f,U,_,b,C,A,E,N,w,v,I,k,L,x,B,D,j,O,P,V,H,M,z,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,oe,te,ae,ne,le,ce,ie,re,de,me,he,ue){"use strict";e.SortDescendingIcon=s.SvgChevronDown,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=SortDescendingIcon.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', '../ViewHide-7b0ab76c', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-6a5fedfa', 'preact/hooks', '../useTooltipControlled-fb57eb02', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-3a316499', '../LayerHost-e95c5f30', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-b1d98ea4', '../useColorScheme-10dc88de', '../useScale-37d42c9d', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-3b34c2bc', '../EnvironmentProvider-8f6fc388', '../LayerManager-76fcfb58', '../Floating-a658b79c', '../useFloating-8726c4bb', '../useUser-85c781ea', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-5c2a47be', '../arrayUtils-6ee96a35', '../Layer-276d62e8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,t,o,a,c,i,l,n,r,d,m,h,u,F,p,y,T,f,b,g,S,U,_,C,A,E,N,w,I,k,v,L,V,H,x,B,j,O,P,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,te,oe,ae,ce,ie,le,ne,re,de,me,he,ue){"use strict";e.ViewHideIcon=s.SvgViewHide,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', '../ViewHide-7b0ab76c', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-e4089d1a', 'preact/hooks', '../useTooltipControlled-fafb2f01', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-b5cd4766', '../LayerHost-639b3284', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-e20f8cfa', '../useColorScheme-443e7cc7', '../useScale-e311d35f', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-79293e46', '../EnvironmentProvider-c0e1e39b', '../LayerManager-2972de92', '../Floating-25e0092b', '../useFloating-a2399a51', '../useUser-3ef25571', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-476e0577', '../arrayUtils-6ee96a35', '../Layer-e835aed8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,t,o,a,i,l,c,n,r,d,m,h,u,F,p,y,T,f,g,S,b,U,_,C,A,E,N,w,I,k,v,L,V,H,x,B,j,O,P,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,te,oe,ae,ie,le,ce,ne,re,de,me,he,ue){"use strict";e.ViewHideIcon=s.SvgViewHide,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=ViewHideIcon.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', '../View-86280022', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-6a5fedfa', 'preact/hooks', '../useTooltipControlled-fb57eb02', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-3a316499', '../LayerHost-e95c5f30', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-b1d98ea4', '../useColorScheme-10dc88de', '../useScale-37d42c9d', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-3b34c2bc', '../EnvironmentProvider-8f6fc388', '../LayerManager-76fcfb58', '../Floating-a658b79c', '../useFloating-8726c4bb', '../useUser-85c781ea', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-5c2a47be', '../arrayUtils-6ee96a35', '../Layer-276d62e8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,t,o,a,c,l,i,n,r,d,m,h,u,F,p,y,T,f,g,S,b,U,_,C,A,E,N,w,I,k,v,L,V,x,B,j,O,P,H,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,te,oe,ae,ce,le,ie,ne,re,de,me,he,ue){"use strict";e.ViewIcon=s.SvgView,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', '../View-86280022', 'preact/jsx-runtime', '../Icon-2d805acb', 'preact', '../size-a75b3f13', '../utils-5077c092', '../Common/themes/themeContract.css', '../colorUtils-7c069766', '../_curry1-df649359', '../useTooltip-e4089d1a', 'preact/hooks', '../useTooltipControlled-fafb2f01', '../useId-c9578d26', '../useHover-7964884c', '../useToggle-a29f97af', '../useFocus-4194fc59', '../useTouch-37489bb5', '../mergeProps-bcfa6a92', '../useAnimation-5bd3adfc', '../useComponentTheme-5aa41a8f', '../logger-0f873e29', '../useTestId-b5cd4766', '../LayerHost-639b3284', '../Common/themes/redwood/theme', 'preact/compat', '../useThemeInterpolations-e20f8cfa', '../useColorScheme-443e7cc7', '../useScale-e311d35f', '../theme-a8f3d819', '../Theme-d945adae', '../mergeInterpolations-9ede4cf7', '../classNames-08d99695', '../mergeDeepWithKey-aaab9019', '../_curry3-83878f86', '../_curry2-86c52b86', '../_isObject-42bafc94', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', '../hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./../TooltipContentStyles.styles.css', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', '../hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./../TooltipContentVariants.styles.css', '../vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', '../tooltipUtils-79293e46', '../EnvironmentProvider-c0e1e39b', '../LayerManager-2972de92', '../Floating-25e0092b', '../useFloating-a2399a51', '../useUser-3ef25571', '../positionUtils-3193ab54', '../refUtils-d354a169', '../useOutsideClick-476e0577', '../arrayUtils-6ee96a35', '../Layer-e835aed8', '../UNSAFE_Layer/themes/LayerStyles.css', 'css!./../LayerStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingTheme', '../UNSAFE_Floating/themes/FloatingStyles.css', 'css!./../FloatingStyles.styles.css', '../UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', '../UNSAFE_Floating/themes/redwood/FloatingVariants.css', '../vanilla-extract-dynamic.esm-eceadd82', '../UNSAFE_Floating/themes/FloatingContract.css', '../UNSAFE_Icon/themes/IconStyle.css', 'css!./../IconStyle.styles.css'], (function(e,s,t,o,a,l,c,i,n,r,d,m,h,u,F,p,y,T,f,g,S,U,_,b,C,A,E,N,w,I,k,v,L,V,x,B,j,O,P,H,M,z,D,K,R,W,q,G,J,Q,X,Y,Z,$,ee,se,te,oe,ae,le,ce,ie,ne,re,de,me,he,ue){"use strict";e.ViewIcon=s.SvgView,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=ViewIcon.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './TimeComponentCanvas2D-2f1cede4', 'preact/jsx-runtime', './PRIVATE_TimeComponent/themes/TimeComponentStyles.css', 'css!./TimeComponentStyles.styles.css', './classNames-08d99695', 'preact/hooks', './TrackResizeContainer-74ef32df', './useSize-535990b2', './useResizeObserver-c63865cc', './size-a75b3f13', './utils-5077c092', './Common/themes/themeContract.css', './colorUtils-7c069766', './_curry1-df649359', './Flex-56ecdf4c', './useTestId-3a316499', './LayerHost-e95c5f30', './Common/themes/redwood/theme', 'preact', 'preact/compat', './boxalignment-905057dc', './arrayUtils-6ee96a35', 'css!./boxalignment.styles.css', './vanilla-extract-sprinkles-createRuntimeSprinkles.esm-84d30764', './dimensions-60420dbb', './flexbox-8521f6aa', 'css!./flexbox.styles.css', './flexitem-5db48325', 'css!./flexitem.styles.css', './mergeInterpolations-9ede4cf7', './mergeDeepWithKey-aaab9019', './_curry3-83878f86', './_curry2-86c52b86', './_isObject-42bafc94', 'css!./FlexStyles.styles.css', './BaseButton-51e50f77', './usePress-a9ed1488', './useHover-7964884c', './useToggle-a29f97af', './useActive-7bb6fdc1', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './useId-c9578d26', './useColorScheme-10dc88de', './clientHints-030d25aa', './mergeProps-bcfa6a92', './UNSAFE_BaseButton/themes/redwood/BaseButtonTheme', './UNSAFE_BaseButton/themes/BaseButtonStyles.css', 'css!./BaseButtonStyles.styles.css', './UNSAFE_BaseButton/themes/redwood/BaseButtonVariants.css', './vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', 'module', './useComponentTheme-5aa41a8f', './logger-0f873e29', './ButtonLabelLayout-dd200d60', './Text-e132dec0', './UNSAFE_Text/themes/TextStyles.css', 'css!./TextStyles.styles.css', './useButtonLabelLayoutTheme-3237026f', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutTheme', './UNSAFE_ButtonLabelLayout/themes/ButtonLabelLayoutStyles.css', 'css!./ButtonLabelLayoutStyles.styles.css', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutBaseTheme.css', 'module', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutVariants.css', 'css!./ButtonLabelLayoutVariants.styles.css', './useTooltip-6a5fedfa', './useTooltipControlled-fb57eb02', './useFocus-4194fc59', './useTouch-37489bb5', './useAnimation-5bd3adfc', './useThemeInterpolations-b1d98ea4', './useScale-37d42c9d', './theme-a8f3d819', './Theme-d945adae', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', './hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./TooltipContentStyles.styles.css', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./TooltipContentVariants.styles.css', './tooltipUtils-3b34c2bc', './EnvironmentProvider-8f6fc388', './LayerManager-76fcfb58', './Floating-a658b79c', './useFloating-8726c4bb', './useUser-85c781ea', './positionUtils-3193ab54', './refUtils-d354a169', './useOutsideClick-5c2a47be', './Layer-276d62e8', './UNSAFE_Layer/themes/LayerStyles.css', 'css!./LayerStyles.styles.css', './UNSAFE_Floating/themes/redwood/FloatingTheme', './UNSAFE_Floating/themes/FloatingStyles.css', 'css!./FloatingStyles.styles.css', './UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', './UNSAFE_Floating/themes/redwood/FloatingVariants.css', './vanilla-extract-dynamic.esm-eceadd82', './UNSAFE_Floating/themes/FloatingContract.css', './Plus-b8b114d1', './Icon-2d805acb', './UNSAFE_Icon/themes/IconStyle.css', 'css!./IconStyle.styles.css', './getFormatParse-c1655d39', './types-2446783b', './useTranslationBundle-516b1b83', './Minus-6150a650', './usePointerGesture-0ef1dd89'], (function(e,t,o,s,a,n,l,i,m,r,c,d,u,y,T,b,p,C,S,h,F,B,f,L,_,U,A,g,E,N,x,w,v,V,k,z,P,H,I,O,M,R,D,Z,j,G,K,W,q,J,Q,X,Y,$,ee,te,oe,se,ae,ne,le,ie,me,re,ce,de,ue,ye,Te,be,pe,Ce,Se,he,Fe,Be,fe,Le,_e,Ue,Ae,ge,Ee,Ne,xe,we,ve,Ve,ke,ze,Pe,He,Ie,Oe,Me,Re,De,Ze,je,Ge,Ke,We,qe,Je,Qe,Xe,Ye,$e,et,tt,ot,st){"use strict";e.TimeComponentCanvas2D=t.TimeComponentCanvas2D,e.TimeComponentHorizontalScrollbar=t.TimeComponentHorizontalScrollbar,e.TimeComponentHorizontalScrollbarContainer=t.TimeComponentHorizontalScrollbarContainer,e.TimeComponentHorizontalTimeAxis=t.TimeComponentHorizontalTimeAxis,e.TimeComponentLayersStack=t.TimeComponentLayersStack,e.TimeComponentOverlayControlsContainer=t.TimeComponentOverlayControlsContainer,e.TimeComponentPanZoomLayout=t.TimeComponentPanZoomLayout,e.TimeComponentVerticalGridlines=t.TimeComponentVerticalGridlines,e.TimeComponentVerticalScrollbar=t.TimeComponentVerticalScrollbar,e.TimeComponentVerticalScrollbarContainer=t.TimeComponentVerticalScrollbarContainer,e.TimeComponentZoomControls=t.TimeComponentZoomControls,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ define(['exports', './TimeComponentCanvas2D-2f1cede4', 'preact/jsx-runtime', './PRIVATE_TimeComponent/themes/TimeComponentStyles.css', 'css!./TimeComponentStyles.styles.css', './classNames-08d99695', 'preact/hooks', './TrackResizeContainer-74ef32df', './useSize-535990b2', './useResizeObserver-c63865cc', './size-a75b3f13', './utils-5077c092', './Common/themes/themeContract.css', './colorUtils-7c069766', './_curry1-df649359', './Flex-3421f0df', './useTestId-b5cd4766', './LayerHost-639b3284', 'preact', './Common/themes/redwood/theme', 'preact/compat', './boxalignment-905057dc', './arrayUtils-6ee96a35', 'css!./boxalignment.styles.css', './vanilla-extract-sprinkles-createRuntimeSprinkles.esm-84d30764', './dimensions-60420dbb', './flexbox-8521f6aa', 'css!./flexbox.styles.css', './flexitem-5db48325', 'css!./flexitem.styles.css', './mergeInterpolations-9ede4cf7', './mergeDeepWithKey-aaab9019', './_curry3-83878f86', './_curry2-86c52b86', './_isObject-42bafc94', 'css!./FlexStyles.styles.css', './BaseButton-51e50f77', './usePress-a9ed1488', './useHover-7964884c', './useToggle-a29f97af', './useActive-7bb6fdc1', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './useId-c9578d26', './useColorScheme-443e7cc7', './clientHints-030d25aa', './mergeProps-bcfa6a92', './UNSAFE_BaseButton/themes/redwood/BaseButtonTheme', './UNSAFE_BaseButton/themes/BaseButtonStyles.css', 'css!./BaseButtonStyles.styles.css', './UNSAFE_BaseButton/themes/redwood/BaseButtonVariants.css', './vanilla-extract-recipes-createRuntimeFn.esm-d881c69a', 'module', './useComponentTheme-5aa41a8f', './logger-0f873e29', './ButtonLabelLayout-dd200d60', './Text-e132dec0', './UNSAFE_Text/themes/TextStyles.css', 'css!./TextStyles.styles.css', './useButtonLabelLayoutTheme-3237026f', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutTheme', './UNSAFE_ButtonLabelLayout/themes/ButtonLabelLayoutStyles.css', 'css!./ButtonLabelLayoutStyles.styles.css', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutBaseTheme.css', 'module', './UNSAFE_ButtonLabelLayout/themes/redwood/ButtonLabelLayoutVariants.css', 'css!./ButtonLabelLayoutVariants.styles.css', './useTooltip-e4089d1a', './useTooltipControlled-fafb2f01', './useFocus-4194fc59', './useTouch-37489bb5', './useAnimation-5bd3adfc', './useThemeInterpolations-e20f8cfa', './useScale-e311d35f', './theme-a8f3d819', './Theme-d945adae', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentTheme', './hooks/UNSAFE_useTooltip/themes/TooltipContentStyles.css', 'css!./TooltipContentStyles.styles.css', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', 'css!./TooltipContentVariants.styles.css', './tooltipUtils-79293e46', './EnvironmentProvider-c0e1e39b', './LayerManager-2972de92', './Floating-25e0092b', './useFloating-a2399a51', './useUser-3ef25571', './positionUtils-3193ab54', './refUtils-d354a169', './useOutsideClick-476e0577', './Layer-e835aed8', './UNSAFE_Layer/themes/LayerStyles.css', 'css!./LayerStyles.styles.css', './UNSAFE_Floating/themes/redwood/FloatingTheme', './UNSAFE_Floating/themes/FloatingStyles.css', 'css!./FloatingStyles.styles.css', './UNSAFE_Floating/themes/redwood/FloatingBaseTheme.css', 'module', './UNSAFE_Floating/themes/redwood/FloatingVariants.css', './vanilla-extract-dynamic.esm-eceadd82', './UNSAFE_Floating/themes/FloatingContract.css', './Plus-b8b114d1', './Icon-2d805acb', './UNSAFE_Icon/themes/IconStyle.css', 'css!./IconStyle.styles.css', './getFormatParse-c1655d39', './types-2446783b', './useTranslationBundle-d07d4b20', './Minus-6150a650', './usePointerGesture-0ef1dd89'], (function(e,t,o,s,a,n,l,i,m,r,c,d,u,y,T,b,p,C,S,h,F,B,f,L,_,U,A,g,E,N,x,w,v,V,k,z,P,H,I,O,M,R,D,Z,j,G,K,W,q,J,Q,X,Y,$,ee,te,oe,se,ae,ne,le,ie,me,re,ce,de,ue,ye,Te,be,pe,Ce,Se,he,Fe,Be,fe,Le,_e,Ue,Ae,ge,Ee,Ne,xe,we,ve,Ve,ke,ze,Pe,He,Ie,Oe,Me,Re,De,Ze,je,Ge,Ke,We,qe,Je,Qe,Xe,Ye,$e,et,tt,ot,st){"use strict";e.TimeComponentCanvas2D=t.TimeComponentCanvas2D,e.TimeComponentHorizontalScrollbar=t.TimeComponentHorizontalScrollbar,e.TimeComponentHorizontalScrollbarContainer=t.TimeComponentHorizontalScrollbarContainer,e.TimeComponentHorizontalTimeAxis=t.TimeComponentHorizontalTimeAxis,e.TimeComponentLayersStack=t.TimeComponentLayersStack,e.TimeComponentOverlayControlsContainer=t.TimeComponentOverlayControlsContainer,e.TimeComponentPanZoomLayout=t.TimeComponentPanZoomLayout,e.TimeComponentVerticalGridlines=t.TimeComponentVerticalGridlines,e.TimeComponentVerticalScrollbar=t.TimeComponentVerticalScrollbar,e.TimeComponentVerticalScrollbarContainer=t.TimeComponentVerticalScrollbarContainer,e.TimeComponentZoomControls=t.TimeComponentZoomControls,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=PRIVATE_TimeComponent.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', './VisTabularDatatip-1051eaca', 'preact/jsx-runtime', './classNames-08d99695', './PRIVATE_VisTabularDatatip/themes/VisTabularDatatipStyles.css', 'css!./VisTabularDatatipStyles.styles.css', './useUser-85c781ea', 'preact/hooks', './LayerHost-e95c5f30', './Common/themes/redwood/theme', './Common/themes/themeContract.css', 'preact', 'preact/compat'], (function(a,e,t,s,r,i,c,o,p,l,m,u,n){"use strict";a.VisTabularDatatip=e.VisTabularDatatip,Object.defineProperty(a,"__esModule",{value:!0})}));
1
+ define(['exports', './VisTabularDatatip-55bbd19f', 'preact/jsx-runtime', './classNames-08d99695', './PRIVATE_VisTabularDatatip/themes/VisTabularDatatipStyles.css', 'css!./VisTabularDatatipStyles.styles.css', './useUser-3ef25571', 'preact/hooks', './LayerHost-639b3284', 'preact', './Common/themes/redwood/theme', './Common/themes/themeContract.css', 'preact/compat'], (function(e,t,a,s,r,i,o,c,p,l,m,u,b){"use strict";e.VisTabularDatatip=t.VisTabularDatatip,Object.defineProperty(e,"__esModule",{value:!0})}));
2
2
  //# sourceMappingURL=PRIVATE_VisTabularDatatip.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './TrackResizeContainer-74ef32df', 'preact', 'preact/hooks', './UNSAFE_PictoChart/themes/PictoChartStyles.css', './classNames-08d99695', './useSelection-396ce75f', './useTranslationBundle-516b1b83', './mergeProps-bcfa6a92', './Common/themes/themeContract.css', './utils-5077c092', './SvgSymbol-d0266621', './accUtils-1557920a', './useUser-85c781ea', './layoutUtils-3c2d340e', './eventsUtils-5d567a9d', './useVisHover-28319fef', './useVisDrill-3cfa2c71', './useDatatip-87792500', './util-5bb1f200', './useItemFocus-75d6510d', './LayerHost-e95c5f30', 'preact/compat', './useTestId-3a316499', './useVisTouchResponse-36416652', './stringUtils-0ae982c2'], (function(e,t,o,n,r,i,s,c,a,l,d,u,m,f,h,p,g,I,C,b,x,v,S,w,y,R,F){"use strict";const P=n.createContext({}),k=.25;function M(e,t){return Math.ceil(e/t)*t}const D=e=>"bottomStart"===e||"bottomEnd"===e,T=e=>"topEnd"===e||"bottomEnd"===e,V=(e,t,o,n,r)=>{for(let i=0;i<r;i++)for(let r=0;r<n;r++)if(e[o+i][t+r])return!1;return!0},$=(e,t,o,n,r)=>{for(let i=0;i<r;i++)for(let r=0;r<n;r++)e[o+i][t+r]=!0},E=(e,t,o,n,r,i)=>{if(i){const i=E(e,o,t,r,n,!1);return i?{col:i.row,row:i.col}:void 0}for(let i=0;i<r-o+1;i++)for(let r=0;r<n-t+1;r++)if(V(e,r,i,t,o))return $(e,r,i,t,o),{col:r,row:i}};function H(e){const t=e.dataset.idx;if(void 0!==t)return{idx:Number(t)}}function U(e,t,o,n,r,i,s,c,a){let l=!1;if(!n){const e=!!s&&t===s.idx,o=!!r&&t===r.idx;l=!!(e&&s?.isCurrent||o&&r?.isCurrent)}const d=function(e,t){return!t||0===t.length||new Set(t).has(e)}(e.id,c),u=function(e,t){return!(!t||0===t.length)&&new Set(t).has(e)}(e.id,i);return{isCurrent:l,isHighlighted:d,isSelected:u,hasSelection:i&&0!==i.length,isFocused:!!s&&A(s,t),key:e.id,itemIdx:t,countIdx:o,activeId:l?a:void 0,isReadOnly:n,item:e}}function j(e,t){return e?.idx===t?.idx}function A(e,t){return!!e.isFocusVisible&&e.idx===t}function N(e,t,o){return`${o?.vis_labelCountWithTotal({itemCount:e.toString(),totalCount:t.toString()})}`}const B=({context:e,markerProps:o})=>{const{supportsSelection:n}=r.useContext(P),i=function(e,t,o,n,r,i){const s="human"===e,c=o||r&&i,a="ellipse"===e||"rectangle"===e;t=""!==t?t:u.rgba(d.colorSchemeVars.palette.neutral[190],.15);const l=n?d.colorSchemeVars.textIcon.primary:c?t:"";return{markerShape:e,tx:s?70:void 0,ty:s?60:void 0,markerColor:t,borderColor:n||c?u.rgb(d.colorSchemeVars.palette.neutral[0]):t,outerBorderColor:l,markerScale:a&&!l?1:.85,setAspectRatioNone:!!a}}(o.shape,o.color,e.state.focused,e.state.selected,e.state.hovered,n);return t.jsx(m.SvgSymbol,{...i})};function L(e,t){const{idx:o}=e;return t[o]}function W(e){return{getItem:t=>L(t,e),getDetailFromInfo:t=>{if(!t)return{id:void 0,data:void 0};const o=L(t,e);return{id:o?o.id:void 0,data:o}},getPrevItemInfo:e=>function(e){let t=e.idx;return t=Math.max(0,t-1),{idx:t}}(e),getNextItemInfo:t=>function(e,t){let o=e.idx;return o=Math.min(t.length-1,o+1),{idx:o}}(t,e)}}const q=({touchResponse:e,content:t,borderColor:o,width:n,focusedItemRef:r,focusedItemInfo:i})=>{const{direction:s}=h.useUser(),c="rtl"===s,a=r.current?.getBoundingClientRect(),{datatipContent:l,datatipProps:d}=b.useDatatip({content:t,placement:"top-start",offset:x.calculateOffset(c,n,i.isCurrent?a:void 0),borderColor:o,anchor:i?.isCurrent?"element":"pointer",touchResponse:e});return{datatipContent:l,datatipProps:d}},O=e=>{const o=e.supportsSelection||e.supportsDrill,{dimmedItemStyle:n,interactiveItemStyle:r}=i.styles,c=s.classNames([o&&r,!e.isHighlighted&&n]),a=0===e.countIdx,l=a&&function(e,t,o,n,r,i,s,c,a){const l=r?N(e,t,r):"";return c=c||`${n?n+": ":""}${l}`,{"aria-label":f.generateAriaLabel(r,c,{isSelected:o||s?i:void 0})||void 0,role:"img",id:a}}(e.item.count||1,e.totalCount,!!e.supportsSelection,e.item.label,e.translations,e.isSelected,e.hasSelection,e.item.accessibleLabel,e.activeId)||{};return t.jsx("div",{ref:a?e.focusedItemRef:void 0,id:e.activeId,"data-idx":e.itemIdx,"data-count-idx":e.countIdx,style:{gridRow:`${e.row+1} / span ${e.item.rowSpan||1}`,gridColumn:`${e.column+1} / span ${e.item.columnSpan||1}`},class:c,...l,children:e.children})};function _({width:e,height:o,columnWidth:n,rowHeight:m,items:f,columnCount:b,rowCount:x,layout:S,layoutOrigin:w="topStart",selectionMode:P="none",highlightedIds:V=[],selectedIds:$=[],drilling:A="off",onItemDrill:B,onItemHover:L,isFlowingWidth:_,isFlowingHeight:z,onItemFocus:G,...K}){const Z=0!==f.length,J=function(e){let t=0;for(let o=0;o<e.length;o++)t+=e[o].count||1;return t}(f),Q=a.useTranslationBundle("@oracle/oraclejet-preact"),X=!(!P||"none"===P),Y=null!=B,ee=!X&&!Y&&null===L&&null===G,te=y.useTestId(K.testId),oe=new Map(f.map((e=>[e.id,e]))),{getItem:ne,getDetailFromInfo:re,getPrevItemInfo:ie,getNextItemInfo:se}=W(f),{touchResponse:ce,touchResponseStyle:ae}=R.useVisTouchResponse({type:"touchStart"}),{hoveredItemInfo:le,focusedItemInfo:de,activeId:ue,eventsProps:me}=function(e,t,o,n,i,s,c,a,d,u){const[m,f]=r.useState({idx:0}),[b,x]=r.useState(),v=r.useRef(),{direction:S}=h.useUser(),w="rtl"===S,y=I.useVisHover((e=>{const o=H(e.target);j(o,b)||(x(o&&{...o,isCurrent:!0}),v.current=p.getRandomId(),t&&(f({...m,isCurrent:!1}),d?.(n(o))))}),void 0,(()=>{x(void 0),v.current=void 0,t&&d?.(n())}),e),R=r.useCallback((e=>{const{id:t,data:o}=n(e);null!=t&&o&&(a?.({id:t,data:o}),v.current=p.getRandomId())}),[n,a]),F=r.useCallback((e=>{"keydown"===e.type?"on"==c&&R(m):R(H(e.target))}),[c,m,R]),P=C.useVisDrill(o,F);if(!t)return{focusedItemInfo:m,hoveredItemInfo:b,eventsProps:y};function k(e){u?.(n(e)),v.current=p.getRandomId(),f(e)}function M(e){j(e,m)||(e.isCurrent=!0,e.isFocusVisible=!0,b&&x({...b,isCurrent:!1}),k(e))}return{focusedItemInfo:m,hoveredItemInfo:b,activeId:v.current,eventsProps:l.mergeProps(P,y,{onKeyUp:e=>{"Tab"===e.code&&(k({...m,isCurrent:!0,isFocusVisible:!0}),g.cancelEvent(e))},onKeyDown:e=>{switch(e.key){case"Tab":return;case"ArrowDown":M(s(m)),g.cancelEvent(e);break;case"ArrowUp":M(i(m)),g.cancelEvent(e);break;case"ArrowRight":M(w?i(m):s(m)),g.cancelEvent(e);break;case"ArrowLeft":M(w?s(m):i(m)),g.cancelEvent(e)}},onBlur:()=>{(null!=b||m.isCurrent)&&u?.(n(void 0));const e={...m,isCurrent:!1,isFocusVisible:!1};f(e)}})}}(ce,!ee&&Z,P,re,ie,se,A,B,L,G),{selectionContent:fe,selectionProps:he}=c.useSelection({idExtracter:e=>{const t="keyup"===e.type?de:H(e.target);return re(t).id},isDrillEnabled:"off"!=A,selection:$,selectionMode:P,getDataById:e=>oe.get(e),onChange:K.onSelectionChange}),pe=n&&parseFloat(n),ge=m&&parseFloat(m),Ie=s.classNames([i.baseStyles]),{focusedItemRef:Ce}=v.useItemFocus(de),{content:be,borderColor:xe}=function(e,t,o,n,r,i,s){let c;const a=r?.isCurrent;let l,m;a&&null!=e[r.idx].id&&(c=r),n&&n.isCurrent&&(c=n);let f=u.rgba(d.colorSchemeVars.palette.neutral[190],.15);const h=c&&t(c,e);if(h&&i){const e=h&&{data:h},{content:t,borderColor:n}=i(e);l=t,f=n||f,m=s?N(h.count||1,o,s):""}return{borderColor:f,content:l||c&&t(c,e)?.accessibleLabel||c&&t(c,e)?.label+": "+m||m}}(f,ne,J,de,le,K.datatip,Q),{calcColCount:ve,calcRowCount:Se,calcColWidth:we,calcRowHeight:ye,gridGap:Re}=function(e,t,o,n,r,s,c,a,l,d){let u=0,m=1,f=1,h=1/0;for(let t=0;t<e.length;t++){const o=e[t],n=o.columnSpan||1,r=o.rowSpan||1;n<=0||r<=0||(n>m&&(m=n),r>f&&(f=r),n<h&&(h=n),r<h&&(h=r),u+=n*r*(o.count||1))}if(0===u)return{};(r||s)&&(l||(l=d||i.DEFAULT_SIZE),d||(d=l)),c||a||(r||s?r?s?t?a=M(Math.sqrt(u),f):c=M(Math.sqrt(u),m):a=Math.max(Math.floor(n/(d||1)),1):c=Math.max(Math.floor(o/(l||1)),1):t?a=M(Math.sqrt(u*n/o),f):c=M(Math.sqrt(u*o/n),m)),c?a||(a=M(u/c,f)):c=M(u/(a||1),m);const p=k*h;return r||s||(l||(l=d||Math.min(o/c,n/(a||1))),d||(d=l)),c<=0||!a||a<=0||!l||l<=0||!d||d<=0?{}:{calcColCount:c,calcRowCount:a,calcColWidth:l?l-p:l,calcRowHeight:d?d-p:d,gridGap:p}}(f,"vertical"===S,e,o,_,z,b,x,pe,ge),{datatipContent:Fe,datatipProps:{"aria-describedby":Pe,...ke}}=q({touchResponse:ce,content:be,width:e,borderColor:xe,focusedItemRef:Ce,focusedItemInfo:de});if(!ve)return null;const Me=function(e,t,o,n,r){const i=t,s=o,c=D(n),a=T(n),l=[],d=new Array(i);for(let e=0;e<i;e++)d[e]=new Array(s).fill(!1);for(let t=0;t<e.length;t++){const o=e[t];let n=0;const u=o.rowSpan??1,m=o.columnSpan??1,f=o.count??1;for(;n<f;){const e=E(d,m,u,s,i,r);void 0!==e&&l.push({row:c?i-e.row-u:e.row,col:a?s-e.col-m:e.col,countIdx:n,itemIdx:t,item:o}),n+=1}}return l}(f,Se,ve,w,"vertical"===S),De=l.mergeProps(me,ke,he);return t.jsxs("div",{tabIndex:0,"aria-label":K["aria-label"],"aria-describedby":F.merge([K["aria-describedby"],Pe]),"aria-labelledby":K["aria-labelledby"],"aria-activedescendant":ue,role:"application",style:{width:_?"max-content":`${e}px`,height:z?"max-content":`${o}px`,gridTemplateRows:`repeat(${Se}, ${ye}px)`,gridTemplateColumns:`repeat(${ve}, ${we}px)`,gap:`${Re}px`,...ae},class:Ie,...te,...De,children:[Me.map((e=>{const o=de.idx===e.itemIdx,n=U(e.item,e.itemIdx,e.countIdx,ee,le,$,de,V,ue),r={data:e.item,state:{selected:n.isSelected,focused:n.isFocused,hovered:n.isCurrent}};return t.jsx(O,{focusedItemRef:o?Ce:void 0,row:e.row,column:e.col,supportsSelection:X,supportsDrill:Y,translations:Q,totalCount:J,...n,children:K.children(r)})})),Fe,fe]})}e.PictoChart=function({width:e,height:n,...r}){const i=!(!r.selectionMode||"none"===r.selectionMode),s=void 0===e,c=void 0===n;return t.jsx(P.Provider,{value:{supportsSelection:i},children:t.jsx(o.TrackResizeContainer,{width:s?"initial":e,height:c?"initial":n,children:(e,o)=>t.jsx(_,{width:e,height:o,isFlowingWidth:s,isFlowingHeight:c,...r})})})},e.getPictoDefaultRenderers=function(e){return{markerRenderer:o=>{const n=e(o.data);return t.jsx(B,{context:o,markerProps:n})},datatipRenderer:t=>({borderColor:e(t.data).color})}}}));
1
+ define(['exports', 'preact/jsx-runtime', './TrackResizeContainer-74ef32df', 'preact', 'preact/hooks', './UNSAFE_PictoChart/themes/PictoChartStyles.css', './classNames-08d99695', './useSelection-4d3a1ea8', './useTranslationBundle-d07d4b20', './mergeProps-bcfa6a92', './Common/themes/themeContract.css', './utils-5077c092', './SvgSymbol-d0266621', './accUtils-1557920a', './useUser-3ef25571', './layoutUtils-3c2d340e', './eventsUtils-5d567a9d', './useVisHover-28319fef', './useVisDrill-3cfa2c71', './useDatatip-748e233f', './util-5bb1f200', './useItemFocus-75d6510d', './LayerHost-639b3284', 'preact/compat', './useTestId-b5cd4766', './useVisTouchResponse-36416652', './stringUtils-0ae982c2'], (function(e,t,o,n,r,i,s,c,a,l,d,u,m,f,h,p,g,I,C,b,x,v,S,w,y,R,F){"use strict";const P=n.createContext({}),k=.25;function M(e,t){return Math.ceil(e/t)*t}const D=e=>"bottomStart"===e||"bottomEnd"===e,T=e=>"topEnd"===e||"bottomEnd"===e,V=(e,t,o,n,r)=>{for(let i=0;i<r;i++)for(let r=0;r<n;r++)if(e[o+i][t+r])return!1;return!0},$=(e,t,o,n,r)=>{for(let i=0;i<r;i++)for(let r=0;r<n;r++)e[o+i][t+r]=!0},E=(e,t,o,n,r,i)=>{if(i){const i=E(e,o,t,r,n,!1);return i?{col:i.row,row:i.col}:void 0}for(let i=0;i<r-o+1;i++)for(let r=0;r<n-t+1;r++)if(V(e,r,i,t,o))return $(e,r,i,t,o),{col:r,row:i}};function H(e){const t=e.dataset.idx;if(void 0!==t)return{idx:Number(t)}}function U(e,t,o,n,r,i,s,c,a){let l=!1;if(!n){const e=!!s&&t===s.idx,o=!!r&&t===r.idx;l=!!(e&&s?.isCurrent||o&&r?.isCurrent)}const d=function(e,t){return!t||0===t.length||new Set(t).has(e)}(e.id,c),u=function(e,t){return!(!t||0===t.length)&&new Set(t).has(e)}(e.id,i);return{isCurrent:l,isHighlighted:d,isSelected:u,hasSelection:i&&0!==i.length,isFocused:!!s&&A(s,t),key:e.id,itemIdx:t,countIdx:o,activeId:l?a:void 0,isReadOnly:n,item:e}}function j(e,t){return e?.idx===t?.idx}function A(e,t){return!!e.isFocusVisible&&e.idx===t}function N(e,t,o){return`${o?.vis_labelCountWithTotal({itemCount:e.toString(),totalCount:t.toString()})}`}const B=({context:e,markerProps:o})=>{const{supportsSelection:n}=r.useContext(P),i=function(e,t,o,n,r,i){const s="human"===e,c=o||r&&i,a="ellipse"===e||"rectangle"===e;t=""!==t?t:u.rgba(d.colorSchemeVars.palette.neutral[190],.15);const l=n?d.colorSchemeVars.textIcon.primary:c?t:"";return{markerShape:e,tx:s?70:void 0,ty:s?60:void 0,markerColor:t,borderColor:n||c?u.rgb(d.colorSchemeVars.palette.neutral[0]):t,outerBorderColor:l,markerScale:a&&!l?1:.85,setAspectRatioNone:!!a}}(o.shape,o.color,e.state.focused,e.state.selected,e.state.hovered,n);return t.jsx(m.SvgSymbol,{...i})};function L(e,t){const{idx:o}=e;return t[o]}function W(e){return{getItem:t=>L(t,e),getDetailFromInfo:t=>{if(!t)return{id:void 0,data:void 0};const o=L(t,e);return{id:o?o.id:void 0,data:o}},getPrevItemInfo:e=>function(e){let t=e.idx;return t=Math.max(0,t-1),{idx:t}}(e),getNextItemInfo:t=>function(e,t){let o=e.idx;return o=Math.min(t.length-1,o+1),{idx:o}}(t,e)}}const q=({touchResponse:e,content:t,borderColor:o,width:n,focusedItemRef:r,focusedItemInfo:i})=>{const{direction:s}=h.useUser(),c="rtl"===s,a=r.current?.getBoundingClientRect(),{datatipContent:l,datatipProps:d}=b.useDatatip({content:t,placement:"top-start",offset:x.calculateOffset(c,n,i.isCurrent?a:void 0),borderColor:o,anchor:i?.isCurrent?"element":"pointer",touchResponse:e});return{datatipContent:l,datatipProps:d}},O=e=>{const o=e.supportsSelection||e.supportsDrill,{dimmedItemStyle:n,interactiveItemStyle:r}=i.styles,c=s.classNames([o&&r,!e.isHighlighted&&n]),a=0===e.countIdx,l=a&&function(e,t,o,n,r,i,s,c,a){const l=r?N(e,t,r):"";return c=c||`${n?n+": ":""}${l}`,{"aria-label":f.generateAriaLabel(r,c,{isSelected:o||s?i:void 0})||void 0,role:"img",id:a}}(e.item.count||1,e.totalCount,!!e.supportsSelection,e.item.label,e.translations,e.isSelected,e.hasSelection,e.item.accessibleLabel,e.activeId)||{};return t.jsx("div",{ref:a?e.focusedItemRef:void 0,id:e.activeId,"data-idx":e.itemIdx,"data-count-idx":e.countIdx,style:{gridRow:`${e.row+1} / span ${e.item.rowSpan||1}`,gridColumn:`${e.column+1} / span ${e.item.columnSpan||1}`},class:c,...l,children:e.children})};function _({width:e,height:o,columnWidth:n,rowHeight:m,items:f,columnCount:b,rowCount:x,layout:S,layoutOrigin:w="topStart",selectionMode:P="none",highlightedIds:V=[],selectedIds:$=[],drilling:A="off",onItemDrill:B,onItemHover:L,isFlowingWidth:_,isFlowingHeight:z,onItemFocus:G,...K}){const Z=0!==f.length,J=function(e){let t=0;for(let o=0;o<e.length;o++)t+=e[o].count||1;return t}(f),Q=a.useTranslationBundle("@oracle/oraclejet-preact"),X=!(!P||"none"===P),Y=null!=B,ee=!X&&!Y&&null===L&&null===G,te=y.useTestId(K.testId),oe=new Map(f.map((e=>[e.id,e]))),{getItem:ne,getDetailFromInfo:re,getPrevItemInfo:ie,getNextItemInfo:se}=W(f),{touchResponse:ce,touchResponseStyle:ae}=R.useVisTouchResponse({type:"touchStart"}),{hoveredItemInfo:le,focusedItemInfo:de,activeId:ue,eventsProps:me}=function(e,t,o,n,i,s,c,a,d,u){const[m,f]=r.useState({idx:0}),[b,x]=r.useState(),v=r.useRef(),{direction:S}=h.useUser(),w="rtl"===S,y=I.useVisHover((e=>{const o=H(e.target);j(o,b)||(x(o&&{...o,isCurrent:!0}),v.current=p.getRandomId(),t&&(f({...m,isCurrent:!1}),d?.(n(o))))}),void 0,(()=>{x(void 0),v.current=void 0,t&&d?.(n())}),e),R=r.useCallback((e=>{const{id:t,data:o}=n(e);null!=t&&o&&(a?.({id:t,data:o}),v.current=p.getRandomId())}),[n,a]),F=r.useCallback((e=>{"keydown"===e.type?"on"==c&&R(m):R(H(e.target))}),[c,m,R]),P=C.useVisDrill(o,F);if(!t)return{focusedItemInfo:m,hoveredItemInfo:b,eventsProps:y};function k(e){u?.(n(e)),v.current=p.getRandomId(),f(e)}function M(e){j(e,m)||(e.isCurrent=!0,e.isFocusVisible=!0,b&&x({...b,isCurrent:!1}),k(e))}return{focusedItemInfo:m,hoveredItemInfo:b,activeId:v.current,eventsProps:l.mergeProps(P,y,{onKeyUp:e=>{"Tab"===e.code&&(k({...m,isCurrent:!0,isFocusVisible:!0}),g.cancelEvent(e))},onKeyDown:e=>{switch(e.key){case"Tab":return;case"ArrowDown":M(s(m)),g.cancelEvent(e);break;case"ArrowUp":M(i(m)),g.cancelEvent(e);break;case"ArrowRight":M(w?i(m):s(m)),g.cancelEvent(e);break;case"ArrowLeft":M(w?s(m):i(m)),g.cancelEvent(e)}},onBlur:()=>{(null!=b||m.isCurrent)&&u?.(n(void 0));const e={...m,isCurrent:!1,isFocusVisible:!1};f(e)}})}}(ce,!ee&&Z,P,re,ie,se,A,B,L,G),{selectionContent:fe,selectionProps:he}=c.useSelection({idExtracter:e=>{const t="keyup"===e.type?de:H(e.target);return re(t).id},isDrillEnabled:"off"!=A,selection:$,selectionMode:P,getDataById:e=>oe.get(e),onChange:K.onSelectionChange}),pe=n&&parseFloat(n),ge=m&&parseFloat(m),Ie=s.classNames([i.baseStyles]),{focusedItemRef:Ce}=v.useItemFocus(de),{content:be,borderColor:xe}=function(e,t,o,n,r,i,s){let c;const a=r?.isCurrent;let l,m;a&&null!=e[r.idx].id&&(c=r),n&&n.isCurrent&&(c=n);let f=u.rgba(d.colorSchemeVars.palette.neutral[190],.15);const h=c&&t(c,e);if(h&&i){const e=h&&{data:h},{content:t,borderColor:n}=i(e);l=t,f=n||f,m=s?N(h.count||1,o,s):""}return{borderColor:f,content:l||c&&t(c,e)?.accessibleLabel||c&&t(c,e)?.label+": "+m||m}}(f,ne,J,de,le,K.datatip,Q),{calcColCount:ve,calcRowCount:Se,calcColWidth:we,calcRowHeight:ye,gridGap:Re}=function(e,t,o,n,r,s,c,a,l,d){let u=0,m=1,f=1,h=1/0;for(let t=0;t<e.length;t++){const o=e[t],n=o.columnSpan||1,r=o.rowSpan||1;n<=0||r<=0||(n>m&&(m=n),r>f&&(f=r),n<h&&(h=n),r<h&&(h=r),u+=n*r*(o.count||1))}if(0===u)return{};(r||s)&&(l||(l=d||i.DEFAULT_SIZE),d||(d=l)),c||a||(r||s?r?s?t?a=M(Math.sqrt(u),f):c=M(Math.sqrt(u),m):a=Math.max(Math.floor(n/(d||1)),1):c=Math.max(Math.floor(o/(l||1)),1):t?a=M(Math.sqrt(u*n/o),f):c=M(Math.sqrt(u*o/n),m)),c?a||(a=M(u/c,f)):c=M(u/(a||1),m);const p=k*h;return r||s||(l||(l=d||Math.min(o/c,n/(a||1))),d||(d=l)),c<=0||!a||a<=0||!l||l<=0||!d||d<=0?{}:{calcColCount:c,calcRowCount:a,calcColWidth:l?l-p:l,calcRowHeight:d?d-p:d,gridGap:p}}(f,"vertical"===S,e,o,_,z,b,x,pe,ge),{datatipContent:Fe,datatipProps:{"aria-describedby":Pe,...ke}}=q({touchResponse:ce,content:be,width:e,borderColor:xe,focusedItemRef:Ce,focusedItemInfo:de});if(!ve)return null;const Me=function(e,t,o,n,r){const i=t,s=o,c=D(n),a=T(n),l=[],d=new Array(i);for(let e=0;e<i;e++)d[e]=new Array(s).fill(!1);for(let t=0;t<e.length;t++){const o=e[t];let n=0;const u=o.rowSpan??1,m=o.columnSpan??1,f=o.count??1;for(;n<f;){const e=E(d,m,u,s,i,r);void 0!==e&&l.push({row:c?i-e.row-u:e.row,col:a?s-e.col-m:e.col,countIdx:n,itemIdx:t,item:o}),n+=1}}return l}(f,Se,ve,w,"vertical"===S),De=l.mergeProps(me,ke,he);return t.jsxs("div",{tabIndex:0,"aria-label":K["aria-label"],"aria-describedby":F.merge([K["aria-describedby"],Pe]),"aria-labelledby":K["aria-labelledby"],"aria-activedescendant":ue,role:"application",style:{width:_?"max-content":`${e}px`,height:z?"max-content":`${o}px`,gridTemplateRows:`repeat(${Se}, ${ye}px)`,gridTemplateColumns:`repeat(${ve}, ${we}px)`,gap:`${Re}px`,...ae},class:Ie,...te,...De,children:[Me.map((e=>{const o=de.idx===e.itemIdx,n=U(e.item,e.itemIdx,e.countIdx,ee,le,$,de,V,ue),r={data:e.item,state:{selected:n.isSelected,focused:n.isFocused,hovered:n.isCurrent}};return t.jsx(O,{focusedItemRef:o?Ce:void 0,row:e.row,column:e.col,supportsSelection:X,supportsDrill:Y,translations:Q,totalCount:J,...n,children:K.children(r)})})),Fe,fe]})}e.PictoChart=function({width:e,height:n,...r}){const i=!(!r.selectionMode||"none"===r.selectionMode),s=void 0===e,c=void 0===n;return t.jsx(P.Provider,{value:{supportsSelection:i},children:t.jsx(o.TrackResizeContainer,{width:s?"initial":e,height:c?"initial":n,children:(e,o)=>t.jsx(_,{width:e,height:o,isFlowingWidth:s,isFlowingHeight:c,...r})})})},e.getPictoDefaultRenderers=function(e){return{markerRenderer:o=>{const n=e(o.data);return t.jsx(B,{context:o,markerProps:n})},datatipRenderer:t=>({borderColor:e(t.data).color})}}}));
2
2
  //# sourceMappingURL=PictoChart-98b54953.js.map
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './UNSAFE_PieChart/themes/PieChartStyles.css', './TrackResizeContainer-74ef32df', './pathUtils-ec75f879', './layoutUtils-ac40a238', './classNames-08d99695', './usePieChartNav-db1fd7a7', './useDatatip-87792500', './util-5bb1f200', './mergeProps-bcfa6a92', './VisTabularDatatip-1051eaca', './colorUtils-a785c4c4', './accUtils-1557920a', './useUser-85c781ea', './useTestId-3a316499', './useVisTouchResponse-36416652', 'preact/hooks', './stringUtils-0ae982c2'], (function(e,t,a,s,i,n,o,r,l,c,d,h,u,b,m,x,g,f,p){"use strict";const M=.45,v=.38,I=3,y=1.5,T=90;function j(e){return e*(Math.PI/180)}function w(e,t,a,s){const i=Math.atan2(s,a)-Math.atan2(t,e);return i<0?i+2*Math.PI:i}function C(e,t,a,s,n,o,r,l,c){const d=Math.max(s-e,0),h=Math.max(n-e,0),u=360==r||d<e?0:l+2*e,b=o?o+e:0,m=j(360==r?359.99:r),x=j(c),g=u/2,f=g<d?Math.asin(g/d):0,p=-m/2-x,M=Math.min(5*g,m>0?Math.abs(g/Math.sin(m/2)):0),v=0==d?M:M*h/d,I=t+Math.cos(p)*M,y=a+Math.sin(p)*v,T=t+Math.cos(-f-x)*d,C=a+Math.sin(-f-x)*h,R=t+Math.cos(-x-m+f)*d,P=a+Math.sin(-x-m+f)*h;let L,V=w(R-t,P-a,T-t,C-a);if(V=Math.min(V,m),b>0){const e=g<b?Math.asin(g/b):0,s=t+Math.cos(-e-x)*b,n=a+Math.sin(-e-x)*b,o=t+Math.cos(-x-m+e)*b,l=a+Math.sin(-x-m+e)*b;let c=w(o-t,l-a,s-t,n-a);c=Math.min(c,V,m),360==r?(L=i.moveTo(R,P),L+=i.arcTo(d,h,m,1,T,C),L+=i.lineTo(R,P),L+=i.moveTo(s,n),L+=i.arcTo(b,b,m,0,o,l)):(L=i.moveTo(o,l),L+=i.lineTo(R,P),L+=i.arcTo(d,h,V,1,T,C),L+=i.lineTo(s,n),L+=i.arcTo(b,b,c,0,o,l))}else 360==r?(L=i.moveTo(R,P),L+=i.arcTo(d,h,m,1,T,C)):(L=i.moveTo(I,y),L+=i.lineTo(R,P),L+=i.arcTo(d,h,V,1,T,C));return L+=i.closePath(),L}function R(e,t,a){return{innerBounds:{width:Math.sqrt(2)*a,height:Math.sqrt(2)*a,x:e-a/Math.sqrt(2),y:t-a/Math.sqrt(2)},outerBounds:{width:2*a,height:2*a,x:e-a,y:t-a}}}function P(e,t,a,s,i,n){return n?function(e,t,a,s,i,n){const o=(e+t/2)/180*Math.PI,r=(i+n)/2;return{x:a+r*Math.cos(o),y:s-r*Math.sin(o),width:0,height:0}}(e[n.itemIndex].startAngle,e[n.itemIndex].angleExtent,t,a,s,i):void 0}function L(e,t,a){return a?.color||null!=t?.itemIndex?e[t.itemIndex]:void 0}function V({cx:e,cy:s,r:i,startAngle:n,angleExtent:r,gap:l,innerRadius:c,color:d,id:h,itemIndex:u,isFocused:b=!1,isHovered:m=!1,...x}){const g=C(0,e,s,i,i,c,r,l,n);let f;return b?(f=C(2,e,s,i,i,c,r,l,n),t.jsxs("g",{id:h,role:x.accessibleLabel?"img":void 0,"data-oj-item-index":u,"data-oj-object":"pieSlice","aria-label":x.accessibleLabel,children:[t.jsx("path",{d:g,fill:d,stroke:d,className:a.styles.innerShapes}),t.jsx("path",{d:f,fill:d,className:o.classNames([a.styles.contrastBorder,a.styles.innerShapes])})]})):t.jsx("path",{role:x.accessibleLabel?"img":void 0,"aria-label":x.accessibleLabel,d:g,"data-oj-object":"pieSlice",fill:d,id:h,"data-oj-item-index":u})}const A=100;function N({width:e,height:s,testId:i,innerRadius:o=0,...b}){const j=f.useRef(null),w=u.getColorRamp(),{totalValue:C,isLabelOutside:N}=b.data.reduce((({totalValue:e,isLabelOutside:t},a)=>({totalValue:e+a.value,isLabelOutside:t})),{totalValue:0,isLabelOutside:!1});const S=function(e,t){let a,s=T;const i=[];for(let n=0;n<e.length;n++){const o=e[n],r=o.value;a=r===t?100:0===t?0:Math.min(r/t*100,99.99);const l=3.6*a;let c=s-l;c<0&&(c+=360),i.push({index:n,startAngle:c,angleExtent:l,...o}),s=c}return i}(b.data,C),U=function(e){return I*e}(.5),D=b.data.length>A,{direction:E}=m.useUser(),F=x.useTestId(i),k=n.getAvailSpace(e,s),{cx:O,cy:q}=function(e){return{cx:e.x+Math.floor(e.width/2),cy:e.y+Math.floor(e.height/2)}}(k),B=function(e,t){const a=t?v:M;return Math.floor(Math.min(e.width,e.height)*a)}(k,N),z=o*B,H=function(e,t,a){if(!t)return e;const s=2*Math.PI*a;let i=0;return e.filter((({startAngle:e,angleExtent:t})=>{const a=(t+e)/360*s;return!(t/360*s<y&&Math.abs(i-a)<y||(i=a,0))}))}(S,D,B),G=(_=H,J="rtl"===E,({itemIndex:e},t)=>{let a=e;return a=J&&("ArrowRight"===t||"ArrowUp"===t)||!J&&("ArrowLeft"===t||"ArrowDown"===t)?e-1:e+1,{itemIndex:(a%_.length+_.length)%_.length}});var _,J;const{touchResponse:K,touchResponseStyle:Q}=g.useVisTouchResponse({type:"auto",supportsTouchDragGestures:!1,rootRef:j}),{activeId:W,navProps:X,focusedItemInfo:Y,hoveredItemInfo:Z}=r.usePieChartNav({touchResponse:K,getNextChartItem:G}),$=Y.isFocusVisible?Y:Z,ee=$?b.data[H[$.itemIndex].index]:void 0,{content:te,borderColor:ae}=ee&&b.datatip?b.datatip({data:ee}):((e,a)=>e?e.accessibleLabel?{content:e.accessibleLabel,borderColor:L(w,a,e)}:{content:t.jsx(h.VisTabularDatatip,{tableData:[{key:"Value",value:e.value}]}),borderColor:L(w,a,e)}:{content:void 0,borderColor:void 0})(ee,$),se=Y.isFocusVisible?"element":"pointer",ie=$?.isFocusVisible?P(H,O,q,z,B,$):void 0,{datatipContent:ne,datatipProps:oe}=l.useDatatip({content:te,offset:c.calculateOffset("rtl"===E,e,ie),anchor:se,placement:"top-start",borderColor:ae,touchResponse:K});oe["aria-describedby"]=p.merge([b["aria-describedby"],oe["aria-describedby"]]);const re=d.mergeProps(X,oe);return t.jsxs("div",{ref:j,tabIndex:0,"aria-label":b["aria-label"],"aria-labelledby":b["aria-labelledby"],"aria-activedescendant":W,role:"application",...re,...F,className:a.styles.chart,style:{width:e,height:s,...Q},children:[H.length>0&&t.jsx("svg",{className:a.styles.svg,children:H.map(((e,a)=>t.jsx(V,{cx:O,cy:q,itemIndex:a,id:$?.itemIndex===a?W:void 0,isFocused:Y?.itemIndex===a&&Y?.isFocusVisible,isHovered:Z?.itemIndex===a,r:B,startAngle:e.startAngle,gap:U,innerRadius:z,angleExtent:e.angleExtent,color:e.color||w[a%w.length],accessibleLabel:e.accessibleLabel},e.id)))}),b.children?.(R(O,q,z)),ne]})}e.PieChart=function({width:e,height:i,...n}){return t.jsx(s.TrackResizeContainer,{width:e,height:i,class:a.dimensionStyle,children:(e,a)=>t.jsx(N,{width:e,height:a,...n})})}}));
2
- //# sourceMappingURL=PieChart-cbe2806f.js.map
1
+ define(['exports', 'preact/jsx-runtime', './UNSAFE_PieChart/themes/PieChartStyles.css', './TrackResizeContainer-74ef32df', './pathUtils-ec75f879', './layoutUtils-ac40a238', './classNames-08d99695', './usePieChartNav-db1fd7a7', './useDatatip-748e233f', './util-5bb1f200', './mergeProps-bcfa6a92', './VisTabularDatatip-55bbd19f', './colorUtils-a785c4c4', './accUtils-1557920a', './useUser-3ef25571', './useTestId-b5cd4766', './useVisTouchResponse-36416652', 'preact/hooks', './stringUtils-0ae982c2'], (function(e,t,a,s,i,n,o,r,l,c,d,h,u,b,f,m,x,g,p){"use strict";const M=.45,v=.38,I=3,y=1.5,T=90;function j(e){return e*(Math.PI/180)}function w(e,t,a,s){const i=Math.atan2(s,a)-Math.atan2(t,e);return i<0?i+2*Math.PI:i}function C(e,t,a,s,n,o,r,l,c){const d=Math.max(s-e,0),h=Math.max(n-e,0),u=360==r||d<e?0:l+2*e,b=o?o+e:0,f=j(360==r?359.99:r),m=j(c),x=u/2,g=x<d?Math.asin(x/d):0,p=-f/2-m,M=Math.min(5*x,f>0?Math.abs(x/Math.sin(f/2)):0),v=0==d?M:M*h/d,I=t+Math.cos(p)*M,y=a+Math.sin(p)*v,T=t+Math.cos(-g-m)*d,C=a+Math.sin(-g-m)*h,R=t+Math.cos(-m-f+g)*d,P=a+Math.sin(-m-f+g)*h;let L,V=w(R-t,P-a,T-t,C-a);if(V=Math.min(V,f),b>0){const e=x<b?Math.asin(x/b):0,s=t+Math.cos(-e-m)*b,n=a+Math.sin(-e-m)*b,o=t+Math.cos(-m-f+e)*b,l=a+Math.sin(-m-f+e)*b;let c=w(o-t,l-a,s-t,n-a);c=Math.min(c,V,f),360==r?(L=i.moveTo(R,P),L+=i.arcTo(d,h,f,1,T,C),L+=i.lineTo(R,P),L+=i.moveTo(s,n),L+=i.arcTo(b,b,f,0,o,l)):(L=i.moveTo(o,l),L+=i.lineTo(R,P),L+=i.arcTo(d,h,V,1,T,C),L+=i.lineTo(s,n),L+=i.arcTo(b,b,c,0,o,l))}else 360==r?(L=i.moveTo(R,P),L+=i.arcTo(d,h,f,1,T,C)):(L=i.moveTo(I,y),L+=i.lineTo(R,P),L+=i.arcTo(d,h,V,1,T,C));return L+=i.closePath(),L}function R(e,t,a){return{innerBounds:{width:Math.sqrt(2)*a,height:Math.sqrt(2)*a,x:e-a/Math.sqrt(2),y:t-a/Math.sqrt(2)},outerBounds:{width:2*a,height:2*a,x:e-a,y:t-a}}}function P(e,t,a,s,i,n){return n?function(e,t,a,s,i,n){const o=(e+t/2)/180*Math.PI,r=(i+n)/2;return{x:a+r*Math.cos(o),y:s-r*Math.sin(o),width:0,height:0}}(e[n.itemIndex].startAngle,e[n.itemIndex].angleExtent,t,a,s,i):void 0}function L(e,t,a){return a?.color||null!=t?.itemIndex?e[t.itemIndex]:void 0}function V({cx:e,cy:s,r:i,startAngle:n,angleExtent:r,gap:l,innerRadius:c,color:d,id:h,itemIndex:u,isFocused:b=!1,isHovered:f=!1,...m}){const x=C(0,e,s,i,i,c,r,l,n);let g;return b?(g=C(2,e,s,i,i,c,r,l,n),t.jsxs("g",{id:h,role:m.accessibleLabel?"img":void 0,"data-oj-item-index":u,"data-oj-object":"pieSlice","aria-label":m.accessibleLabel,children:[t.jsx("path",{d:x,fill:d,stroke:d,className:a.styles.innerShapes}),t.jsx("path",{d:g,fill:d,className:o.classNames([a.styles.contrastBorder,a.styles.innerShapes])})]})):t.jsx("path",{role:m.accessibleLabel?"img":void 0,"aria-label":m.accessibleLabel,d:x,"data-oj-object":"pieSlice",fill:d,id:h,"data-oj-item-index":u})}const A=100;function N({width:e,height:s,testId:i,innerRadius:o=0,...b}){const j=g.useRef(null),w=u.getColorRamp(),{totalValue:C,isLabelOutside:N}=b.data.reduce((({totalValue:e,isLabelOutside:t},a)=>({totalValue:e+a.value,isLabelOutside:t})),{totalValue:0,isLabelOutside:!1});const S=function(e,t){let a,s=T;const i=[];for(let n=0;n<e.length;n++){const o=e[n],r=o.value;a=r===t?100:0===t?0:Math.min(r/t*100,99.99);const l=3.6*a;let c=s-l;c<0&&(c+=360),i.push({index:n,startAngle:c,angleExtent:l,...o}),s=c}return i}(b.data,C),U=function(e){return I*e}(.5),D=b.data.length>A,{direction:E}=f.useUser(),F=m.useTestId(i),k=n.getAvailSpace(e,s),{cx:O,cy:q}=function(e){return{cx:e.x+Math.floor(e.width/2),cy:e.y+Math.floor(e.height/2)}}(k),B=function(e,t){const a=t?v:M;return Math.floor(Math.min(e.width,e.height)*a)}(k,N),z=o*B,H=function(e,t,a){if(!t)return e;const s=2*Math.PI*a;let i=0;return e.filter((({startAngle:e,angleExtent:t})=>{const a=(t+e)/360*s;return!(t/360*s<y&&Math.abs(i-a)<y||(i=a,0))}))}(S,D,B),G=(_=H,J="rtl"===E,({itemIndex:e},t)=>{let a=e;return a=J&&("ArrowRight"===t||"ArrowUp"===t)||!J&&("ArrowLeft"===t||"ArrowDown"===t)?e-1:e+1,{itemIndex:(a%_.length+_.length)%_.length}});var _,J;const{touchResponse:K,touchResponseStyle:Q}=x.useVisTouchResponse({type:"auto",supportsTouchDragGestures:!1,rootRef:j}),{activeId:W,navProps:X,focusedItemInfo:Y,hoveredItemInfo:Z}=r.usePieChartNav({touchResponse:K,getNextChartItem:G}),$=Y.isFocusVisible?Y:Z,ee=$?b.data[H[$.itemIndex].index]:void 0,{content:te,borderColor:ae}=ee&&b.datatip?b.datatip({data:ee}):((e,a)=>e?e.accessibleLabel?{content:e.accessibleLabel,borderColor:L(w,a,e)}:{content:t.jsx(h.VisTabularDatatip,{tableData:[{key:"Value",value:e.value}]}),borderColor:L(w,a,e)}:{content:void 0,borderColor:void 0})(ee,$),se=Y.isFocusVisible?"element":"pointer",ie=$?.isFocusVisible?P(H,O,q,z,B,$):void 0,{datatipContent:ne,datatipProps:oe}=l.useDatatip({content:te,offset:c.calculateOffset("rtl"===E,e,ie),anchor:se,placement:"top-start",borderColor:ae,touchResponse:K});oe["aria-describedby"]=p.merge([b["aria-describedby"],oe["aria-describedby"]]);const re=d.mergeProps(X,oe);return t.jsxs("div",{ref:j,tabIndex:0,"aria-label":b["aria-label"],"aria-labelledby":b["aria-labelledby"],"aria-activedescendant":W,role:"application",...re,...F,className:a.styles.chart,style:{width:e,height:s,...Q},children:[H.length>0&&t.jsx("svg",{className:a.styles.svg,children:H.map(((e,a)=>t.jsx(V,{cx:O,cy:q,itemIndex:a,id:$?.itemIndex===a?W:void 0,isFocused:Y?.itemIndex===a&&Y?.isFocusVisible,isHovered:Z?.itemIndex===a,r:B,startAngle:e.startAngle,gap:U,innerRadius:z,angleExtent:e.angleExtent,color:e.color||w[a%w.length],accessibleLabel:e.accessibleLabel},e.id)))}),b.children?.(R(O,q,z)),ne]})}e.PieChart=function({width:e,height:i,...n}){return t.jsx(s.TrackResizeContainer,{width:e,height:i,class:a.dimensionStyle,children:(e,a)=>t.jsx(N,{width:e,height:a,...n})})}}));
2
+ //# sourceMappingURL=PieChart-45cc3798.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PieChart-cbe2806f.js","sources":["../../src/UNSAFE_PieChart/utils.ts","../../src/UNSAFE_PieChart/PieSlice.tsx","../../src/UNSAFE_PieChart/PieChartWithDimensions.tsx","../../src/UNSAFE_PieChart/pieNavUtils.ts","../../src/UNSAFE_PieChart/PieChart.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { ItemInfo } from '../hooks/PRIVATE_usePieChartNav';\nimport { arcTo, closePath, lineTo, moveTo } from '../utils/PRIVATE_visSVGUtils';\nimport type { PieChartItemData, PieSliceInfo } from './pieChart.types';\n\ntype Bounds = {\n x: number;\n y: number;\n width: number;\n height: number;\n};\n\nconst RADIUS_RATIO = 0.45;\nconst RADIUS_RATIO_WITH_LABELS = 0.38;\nconst SLICE_GAP_RATIO = 3;\nconst MIN_ARC_LENGTH = 1.5;\nconst START_ANGLE = 90;\n\n/**\n * Converts the angle from degrees to radians.\n * @param degree The angle in degrees\n * @returns\n */\nexport function degreesToRads(degree: number) {\n return degree * (Math.PI / 180);\n}\n\n/**\n * Calculates the angle between two vectors.\n * @param vector1X The x component of first vector.\n * @param vector1Y The y component of first vector.\n * @param vector2X The x component of second vector.\n * @param vector2Y The y component of second vector.\n * @returns\n */\nexport function calculateAngleBetweenTwoVectors(\n vector1X: number,\n vector1Y: number,\n vector2X: number,\n vector2Y: number\n) {\n const angle = Math.atan2(vector2Y, vector2X) - Math.atan2(vector1Y, vector1X);\n return angle < 0 ? angle + 2 * Math.PI : angle;\n}\n\n/**\n * Get the center coord of the pie chart.\n * @param availSpace The available space.\n * @returns\n */\nexport function getPieCenter(availSpace: Bounds) {\n return {\n cx: availSpace.x + Math.floor(availSpace.width / 2),\n cy: availSpace.y + Math.floor(availSpace.height / 2)\n };\n}\n\n/**\n * Returns the radius of the pie chart.\n * @param availSpace The available space.\n * @param labelPosition The position of labels.\n * @returns\n */\nexport function getRadius(availSpace: Bounds, isLabelOutside: boolean) {\n const radiusScale = isLabelOutside ? RADIUS_RATIO_WITH_LABELS : RADIUS_RATIO;\n return Math.floor(Math.min(availSpace.width, availSpace.height) * radiusScale);\n}\n\n/**\n * Returns the total value of the pie chart.\n * @param items\n */\nexport function getPieChartInfo(items: PieChartItemData[]) {\n return items.reduce(\n ({ totalValue, isLabelOutside }, item) => {\n return {\n totalValue: totalValue + item.value,\n isLabelOutside\n };\n },\n { totalValue: 0, isLabelOutside: false }\n );\n}\n\n/**\n * Returns the startAngle and angleOffset for the rendered items.\n * @param items\n * @param totalValue\n */\nexport function getSliceInfo(items: PieChartItemData[], totalValue: number) {\n let anchorOffset = START_ANGLE;\n let percentage;\n const sliceInfo = [];\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const value = item.value;\n if (value === totalValue) {\n percentage = 100;\n } else if (totalValue === 0) {\n percentage = 0;\n } else {\n // if value is not 100%, cap it at 99.99%\n percentage = Math.min((value / totalValue) * 100, 99.99);\n }\n const arc = percentage * 3.6;\n let angle = anchorOffset - arc;\n if (angle < 0) angle += 360;\n sliceInfo.push({\n index: i,\n startAngle: angle,\n angleExtent: arc,\n ...item\n });\n\n anchorOffset = angle;\n }\n return sliceInfo;\n}\n\n/**\n * Returns the pie slice gaps.\n * @param pieSliceGap The ratio of maximum supported pie slice gap.\n * @returns\n */\nexport function getPieSliceGap(pieSliceGap: number) {\n return SLICE_GAP_RATIO * pieSliceGap;\n}\n\n/**\n * Returns the array of layouts to render without skipping.\n * @param layouts\n * @param hasLargeItemCount\n * @param radius\n * @returns\n */\nexport function getRenderedSlices(\n itemInfo: PieSliceInfo[],\n hasLargeItemCount: boolean,\n radius: number\n): PieSliceInfo[] {\n if (!hasLargeItemCount) {\n return itemInfo;\n }\n\n const perimeter = 2 * Math.PI * radius;\n let prevEndCoord = 0;\n\n return itemInfo.filter(({ startAngle, angleExtent }) => {\n const arcLength = (angleExtent / 360) * perimeter;\n const endCoord = ((angleExtent + startAngle) / 360) * perimeter;\n if (arcLength < MIN_ARC_LENGTH && Math.abs(prevEndCoord - endCoord) < MIN_ARC_LENGTH) {\n return false;\n } else {\n prevEndCoord = endCoord;\n return true;\n }\n });\n}\n\n/**\n * Returns the path of the pie slice wedge.\n * @param inset The inset.\n * @param cx The x coordinate of the center of the pie chart.\n * @param cy The y coordinate of the center of the pie chart.\n * @param radiusX The x radius of the slice.\n * @param radiusY The y radius of the slice.\n * @param innerRadius The inner radius.\n * @param angleExtent The angle extent.\n * @param wedgeGap The gap beteen the pie slices.\n * @param startAngle The start angle of the pie slice.\n * @returns\n */\nexport function makeWedgePath(\n inset: number,\n cx: number,\n cy: number,\n radiusX: number,\n radiusY: number,\n innerRadius: number,\n angleExtent: number,\n wedgeGap: number,\n startAngle: number\n) {\n const rx = Math.max(radiusX - inset, 0);\n const ry = Math.max(radiusY - inset, 0);\n const gap = angleExtent == 360 || rx < inset ? 0 : wedgeGap + 2 * inset;\n\n const ir = innerRadius ? innerRadius + inset : 0;\n // if angle extent is not 360, cap it at 359.99\n const angleExtentRads = angleExtent == 360 ? degreesToRads(359.99) : degreesToRads(angleExtent);\n\n const startAngleRads = degreesToRads(startAngle);\n const dataItemGaps = gap / 2;\n\n const gapAngle = dataItemGaps < rx ? Math.asin(dataItemGaps / rx) : 0;\n const centerLineAngle = -angleExtentRads / 2 - startAngleRads;\n\n // cap at 5* dataItemsGap. logic from legacy dvt toolkit\n const distanceToStartPointX = Math.min(\n dataItemGaps * 5,\n angleExtentRads > 0 ? Math.abs(dataItemGaps / Math.sin(angleExtentRads / 2)) : 0\n );\n const distanceToStartPointY = rx == 0 ? distanceToStartPointX : (distanceToStartPointX * ry) / rx;\n\n const startPointX = cx + Math.cos(centerLineAngle) * distanceToStartPointX;\n const startPointY = cy + Math.sin(centerLineAngle) * distanceToStartPointY;\n\n const arcPointX = cx + Math.cos(-gapAngle - startAngleRads) * rx;\n const arcPointY = cy + Math.sin(-gapAngle - startAngleRads) * ry;\n\n const arcPoint2X = cx + Math.cos(-startAngleRads - angleExtentRads + gapAngle) * rx;\n const arcPoint2Y = cy + Math.sin(-startAngleRads - angleExtentRads + gapAngle) * ry;\n\n let outerAngle = calculateAngleBetweenTwoVectors(\n arcPoint2X - cx,\n arcPoint2Y - cy,\n arcPointX - cx,\n arcPointY - cy\n );\n outerAngle = Math.min(outerAngle, angleExtentRads);\n let pathCommands: string;\n if (ir > 0) {\n const innerGapAngle = dataItemGaps < ir ? Math.asin(dataItemGaps / ir) : 0;\n const innerPointX = cx + Math.cos(-innerGapAngle - startAngleRads) * ir;\n const innerPointY = cy + Math.sin(-innerGapAngle - startAngleRads) * ir;\n\n const innerPoint2X = cx + Math.cos(-startAngleRads - angleExtentRads + innerGapAngle) * ir;\n const innerPoint2Y = cy + Math.sin(-startAngleRads - angleExtentRads + innerGapAngle) * ir;\n\n let innerAngle = calculateAngleBetweenTwoVectors(\n innerPoint2X - cx,\n innerPoint2Y - cy,\n innerPointX - cx,\n innerPointY - cy\n );\n innerAngle = Math.min(innerAngle, outerAngle, angleExtentRads);\n\n if (angleExtent == 360) {\n pathCommands = moveTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, angleExtentRads, 1, arcPointX, arcPointY);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += moveTo(innerPointX, innerPointY);\n pathCommands += arcTo(ir, ir, angleExtentRads, 0, innerPoint2X, innerPoint2Y);\n } else {\n pathCommands = moveTo(innerPoint2X, innerPoint2Y);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, outerAngle, 1, arcPointX, arcPointY);\n pathCommands += lineTo(innerPointX, innerPointY);\n pathCommands += arcTo(ir, ir, innerAngle, 0, innerPoint2X, innerPoint2Y);\n }\n } else {\n if (angleExtent == 360) {\n pathCommands = moveTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, angleExtentRads, 1, arcPointX, arcPointY);\n } else {\n pathCommands = moveTo(startPointX, startPointY);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, outerAngle, 1, arcPointX, arcPointY);\n }\n }\n\n pathCommands += closePath();\n return pathCommands;\n}\n\n/**\n * Returns the pie chart center context.\n * @param cx The x coordinate of the center of the pie chart.\n * @param cy The y coordinate of the center of the pie chart.\n * @param innerRadius The inner radius of the pie chart.\n * @returns\n */\nexport function getCenterContext(cx: number, cy: number, innerRadius: number) {\n return {\n innerBounds: {\n width: Math.sqrt(2) * innerRadius,\n height: Math.sqrt(2) * innerRadius,\n x: cx - innerRadius / Math.sqrt(2),\n y: cy - innerRadius / Math.sqrt(2)\n },\n outerBounds: {\n width: 2 * innerRadius,\n height: 2 * innerRadius,\n x: cx - innerRadius,\n y: cy - innerRadius\n }\n };\n}\n\n/**\n * Returns the position of the datatip for a given slice.\n * @param startAngle The start angle of the pie slice.\n * @param angleExtent The angle extent of the pie slice.\n * @param cx The x coordinate of the center of the pie slice.\n * @param cy The y coordinate of the center of the pie slice.\n * @param innerRadius The inner radius.\n * @param radius The radius of the pie slice.\n * @returns\n */\nexport function getPieItemCenterCoord(\n startAngle: number,\n angleExtent: number,\n cx: number,\n cy: number,\n innerRadius: number,\n radius: number\n) {\n const angle = startAngle + angleExtent / 2;\n const theta = (angle / 180) * Math.PI;\n const r = (innerRadius + radius) / 2;\n\n return {\n x: cx + r * Math.cos(theta),\n y: cy - r * Math.sin(theta),\n width: 0,\n height: 0\n };\n}\n\n/**\n * Returns the element bound for active item.\n * @param renderedSlices The array of info for rendered slices.\n * @param cx The x coordinate of pie chart center.\n * @param cy The y coordinate of pie chart center.\n * @param ir The inner radius of the pie chart.\n * @param radius The radius of the pie chart.\n * @param activeItem The active item.\n * @returns\n */\nexport function getElementBounds(\n renderedSlices: PieSliceInfo[],\n cx: number,\n cy: number,\n ir: number,\n radius: number,\n activeItem?: ItemInfo\n) {\n return activeItem\n ? getPieItemCenterCoord(\n renderedSlices[activeItem.itemIndex].startAngle,\n renderedSlices[activeItem.itemIndex].angleExtent,\n cx,\n cy,\n ir,\n radius\n )\n : undefined;\n}\n\n/**\n * Returns default border color for datatip.\n * @param colors The color ramp.\n * @param activeItem The active item info.\n * @param activeData The active pie chart data item.\n * @returns\n */\nexport function getDefaultBorderColor(\n colors: string[],\n activeItem?: ItemInfo,\n activeData?: PieChartItemData\n) {\n return activeData?.color || activeItem?.itemIndex != undefined\n ? colors[activeItem!.itemIndex]\n : undefined;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { makeWedgePath } from './utils';\nimport { styles } from './themes/PieChartStyles.css';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\n/**\n * The props for pie slice.\n */\ntype PieSliceProps = {\n /**\n * The x coordinate of the center of the slice.\n */\n cx: number;\n\n /**\n * The y coordinate of the center of the slice.\n */\n cy: number;\n\n /**\n * The radius of the pie slice.\n */\n r: number;\n\n /**\n * The start angle of the pie slice.\n */\n startAngle: number;\n\n /**\n * The angle extent of the pie slice.\n */\n angleExtent: number;\n\n /**\n * The gaps to keep between the pie slice items.\n */\n gap: number;\n\n /**\n * The inner radius of the pie slice.\n */\n innerRadius: number;\n\n /**\n * The color of the pie slice.\n */\n color: ColorProps['color'];\n\n /**\n * Whether the slice is focused.\n */\n isFocused?: boolean;\n\n /**\n * Whether the slice is hovered.\n */\n isHovered?: boolean;\n\n /**\n * The id of the pie slice.\n */\n id?: string;\n\n /**\n * The index of the item among rendered series.\n */\n itemIndex: number;\n\n /**\n * The aria label of the pie slice.\n */\n accessibleLabel?: string;\n};\n\n/**\n * The Pie Slice component.\n */\nexport function PieSlice({\n cx,\n cy,\n r,\n startAngle,\n angleExtent,\n gap,\n innerRadius,\n color,\n id,\n itemIndex,\n isFocused = false,\n isHovered = false,\n ...props\n}: PieSliceProps) {\n const path = makeWedgePath(0, cx, cy, r, r, innerRadius, angleExtent, gap, startAngle);\n let innerPath;\n if (isFocused) {\n innerPath = makeWedgePath(2, cx, cy, r, r, innerRadius, angleExtent, gap, startAngle);\n return (\n <g\n id={id}\n role={props.accessibleLabel ? 'img' : undefined}\n data-oj-item-index={itemIndex}\n data-oj-object=\"pieSlice\"\n aria-label={props.accessibleLabel}>\n <path d={path} fill={color} stroke={color} className={styles.innerShapes} />\n <path\n d={innerPath}\n fill={color}\n className={classNames([styles.contrastBorder, styles.innerShapes])}\n />\n </g>\n );\n }\n return (\n <path\n role={props.accessibleLabel ? 'img' : undefined}\n aria-label={props.accessibleLabel}\n d={path}\n data-oj-object=\"pieSlice\"\n fill={color}\n id={id}\n data-oj-item-index={itemIndex}\n />\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { styles } from './themes/PieChartStyles.css';\nimport {\n getDefaultBorderColor,\n getElementBounds,\n getPieCenter,\n getRadius,\n getRenderedSlices,\n getPieChartInfo,\n getPieSliceGap,\n getSliceInfo\n} from './utils';\nimport { getAvailSpace } from '../utils/PRIVATE_chartUtils/layoutUtils';\nimport { PieSlice } from './PieSlice';\nimport { getCenterContext } from './utils';\nimport { getPieChartNavUtils } from './pieNavUtils';\nimport { ItemInfo, usePieChartNav } from '../hooks/PRIVATE_usePieChartNav';\nimport { calculateOffset, useDatatip } from '../hooks/PRIVATE_useDatatip';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { VisTabularDatatip } from '../PRIVATE_VisTabularDatatip';\nimport type { PieChartProps, PieChartItemData } from './pieChart.types';\nimport { getColorRamp } from '../utils/UNSAFE_visUtils';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { useTestId } from '../hooks/UNSAFE_useTestId';\nimport { useVisTouchResponse } from '#hooks/PRIVATE_useVisTouchResponse';\nimport { useRef } from 'preact/hooks';\nimport { merge } from '#utils/UNSAFE_stringUtils';\n\ntype PieChartWithDimensionsProps = Omit<PieChartProps, 'width' | 'height'> & {\n width: number;\n height: number;\n data: PieChartItemData[];\n};\n\nconst NUM_PIE_SLICE_THRESHOLD = 100;\nexport function PieChartWithDimensions({\n width,\n height,\n testId,\n innerRadius = 0,\n ...props\n}: PieChartWithDimensionsProps) {\n const rootRef = useRef<HTMLDivElement>(null);\n const colors = getColorRamp();\n const { totalValue, isLabelOutside } = getPieChartInfo(props.data);\n const sliceInfos = getSliceInfo(props.data, totalValue);\n\n // default data item gaps is 0.5. TODO: replace 0.5 with pie dataItemGaps/pieSliceGaps\n const pieSliceGap = getPieSliceGap(0.5);\n const hasLargeSeriesCount = props.data.length > NUM_PIE_SLICE_THRESHOLD;\n const { direction } = useUser();\n const testIdProps = useTestId(testId);\n const availSpace = getAvailSpace(width, height);\n const { cx, cy } = getPieCenter(availSpace);\n const radius = getRadius(availSpace, isLabelOutside);\n const ir = innerRadius * radius;\n const renderedSlices = getRenderedSlices(sliceInfos, hasLargeSeriesCount, radius);\n const getNextChartItem = getPieChartNavUtils(renderedSlices, direction === 'rtl');\n\n const { touchResponse, touchResponseStyle } = useVisTouchResponse({\n type: 'auto',\n supportsTouchDragGestures: false,\n rootRef\n });\n const { activeId, navProps, focusedItemInfo, hoveredItemInfo } = usePieChartNav({\n touchResponse,\n getNextChartItem\n });\n const activeItem = focusedItemInfo.isFocusVisible ? focusedItemInfo : hoveredItemInfo;\n const activeData = activeItem\n ? props.data[renderedSlices[activeItem.itemIndex].index]\n : undefined;\n\n const defaultDatatip = (activeData?: PieChartItemData, activeItem?: ItemInfo) => {\n if (!activeData) {\n return {\n content: undefined,\n borderColor: undefined\n };\n }\n if (activeData.accessibleLabel) {\n return {\n content: activeData.accessibleLabel,\n borderColor: getDefaultBorderColor(colors, activeItem, activeData)\n };\n }\n return {\n content: (\n <VisTabularDatatip\n tableData={[\n {\n key: 'Value',\n value: activeData.value\n }\n ]}\n />\n ),\n borderColor: getDefaultBorderColor(colors, activeItem, activeData)\n };\n };\n\n const { content: datatipString, borderColor } =\n activeData && props.datatip\n ? props.datatip({ data: activeData })\n : defaultDatatip(activeData, activeItem);\n\n const anchor = focusedItemInfo.isFocusVisible ? 'element' : 'pointer';\n const elementBounds = activeItem?.isFocusVisible\n ? getElementBounds(renderedSlices, cx, cy, ir, radius, activeItem)\n : undefined;\n const { datatipContent, datatipProps } = useDatatip({\n content: datatipString,\n offset: calculateOffset(direction === 'rtl', width, elementBounds),\n anchor,\n placement: 'top-start',\n borderColor,\n touchResponse\n });\n\n datatipProps['aria-describedby'] = merge([\n props['aria-describedby'],\n datatipProps['aria-describedby']\n ]);\n\n const mergedProps = mergeProps(navProps, datatipProps);\n return (\n <div\n ref={rootRef}\n tabIndex={0}\n aria-label={props['aria-label']}\n aria-labelledby={props['aria-labelledby']}\n aria-activedescendant={activeId}\n role=\"application\"\n {...mergedProps}\n {...testIdProps}\n className={styles.chart}\n style={{\n width,\n height,\n ...touchResponseStyle\n }}>\n {renderedSlices.length > 0 && (\n <svg className={styles.svg}>\n {renderedSlices.map((item, index: number) => {\n return (\n <PieSlice\n cx={cx}\n cy={cy}\n itemIndex={index}\n id={activeItem?.itemIndex === index ? activeId : undefined}\n isFocused={focusedItemInfo?.itemIndex === index && focusedItemInfo?.isFocusVisible}\n isHovered={hoveredItemInfo?.itemIndex === index}\n r={radius}\n startAngle={item.startAngle}\n gap={pieSliceGap}\n innerRadius={ir}\n angleExtent={item.angleExtent}\n color={item.color || colors[index % colors.length]}\n key={item.id}\n accessibleLabel={item.accessibleLabel}\n />\n );\n })}\n </svg>\n )}\n {props.children?.(getCenterContext(cx, cy, ir))}\n {datatipContent}\n </div>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { PieChartItemData } from './pieChart.types';\n\n/**\n * Returns the nav util for pie chart.\n * @param data\n * @param isRtl\n * @returns\n */\nexport function getPieChartNavUtils(data: PieChartItemData[], isRtl: boolean) {\n const getNextChartItem = (\n { itemIndex }: { itemIndex: number },\n arrow: 'ArrowLeft' | 'ArrowRight' | 'ArrowDown' | 'ArrowUp'\n ): { itemIndex: number } => {\n let newItemIndex = itemIndex;\n\n if (\n (isRtl && (arrow === 'ArrowRight' || arrow === 'ArrowUp')) ||\n (!isRtl && (arrow === 'ArrowLeft' || arrow === 'ArrowDown'))\n ) {\n newItemIndex = itemIndex - 1;\n } else {\n newItemIndex = itemIndex + 1;\n }\n return {\n itemIndex: ((newItemIndex % data.length) + data.length) % data.length\n };\n };\n\n return getNextChartItem;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { dimensionStyle } from './themes/PieChartStyles.css';\nimport { TrackResizeContainer } from '../PRIVATE_TrackResizeContainer';\nimport { PieChartWithDimensions } from './PieChartWithDimensions';\nimport type { PieChartProps } from './pieChart.types';\n\n/**\n * Pie charts are useful for visualizing parts of a whole, but do not display zero or negative values so they are not recommended for data sets that may have negative or null data\n */\nexport function PieChart({ width, height, ...props }: PieChartProps) {\n return (\n <TrackResizeContainer width={width} height={height} class={dimensionStyle}>\n {(width, height) => <PieChartWithDimensions width={width} height={height} {...props} />}\n </TrackResizeContainer>\n );\n}\n"],"names":["RADIUS_RATIO","RADIUS_RATIO_WITH_LABELS","SLICE_GAP_RATIO","MIN_ARC_LENGTH","START_ANGLE","degreesToRads","degree","Math","PI","calculateAngleBetweenTwoVectors","vector1X","vector1Y","vector2X","vector2Y","angle","atan2","makeWedgePath","inset","cx","cy","radiusX","radiusY","innerRadius","angleExtent","wedgeGap","startAngle","rx","max","ry","gap","ir","angleExtentRads","startAngleRads","dataItemGaps","gapAngle","asin","centerLineAngle","distanceToStartPointX","min","abs","sin","distanceToStartPointY","startPointX","cos","startPointY","arcPointX","arcPointY","arcPoint2X","arcPoint2Y","pathCommands","outerAngle","innerGapAngle","innerPointX","innerPointY","innerPoint2X","innerPoint2Y","innerAngle","moveTo","arcTo","lineTo","closePath","getCenterContext","innerBounds","width","sqrt","height","x","y","outerBounds","getElementBounds","renderedSlices","radius","activeItem","theta","r","getPieItemCenterCoord","itemIndex","undefined","getDefaultBorderColor","colors","activeData","color","PieSlice","id","isFocused","isHovered","props","path","innerPath","_jsxs","role","accessibleLabel","children","_jsx","d","fill","stroke","className","styles","innerShapes","classNames","contrastBorder","jsx","NUM_PIE_SLICE_THRESHOLD","PieChartWithDimensions","testId","rootRef","useRef","getColorRamp","totalValue","isLabelOutside","data","reduce","item","value","sliceInfos","items","percentage","anchorOffset","sliceInfo","i","length","arc","push","index","getSliceInfo","pieSliceGap","getPieSliceGap","hasLargeSeriesCount","direction","useUser","testIdProps","useTestId","availSpace","getAvailSpace","floor","getPieCenter","radiusScale","getRadius","itemInfo","hasLargeItemCount","perimeter","prevEndCoord","filter","endCoord","getRenderedSlices","getNextChartItem","isRtl","arrow","newItemIndex","touchResponse","touchResponseStyle","useVisTouchResponse","type","supportsTouchDragGestures","activeId","navProps","focusedItemInfo","hoveredItemInfo","usePieChartNav","isFocusVisible","content","datatipString","borderColor","datatip","VisTabularDatatip","tableData","key","defaultDatatip","anchor","elementBounds","datatipContent","datatipProps","useDatatip","offset","calculateOffset","placement","merge","mergedProps","mergeProps","ref","tabIndex","chart","style","svg","map","TrackResizeContainer","class","dimensionStyle"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AOE,IAAW4B,MAACW,EAAsB,CAACzC,MAAOA,EAAOE,OAAQA,KAAYqB,KAGpF"}
1
+ {"version":3,"file":"PieChart-45cc3798.js","sources":["../../src/UNSAFE_PieChart/utils.ts","../../src/UNSAFE_PieChart/PieSlice.tsx","../../src/UNSAFE_PieChart/PieChartWithDimensions.tsx","../../src/UNSAFE_PieChart/pieNavUtils.ts","../../src/UNSAFE_PieChart/PieChart.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { ItemInfo } from '../hooks/PRIVATE_usePieChartNav';\nimport { arcTo, closePath, lineTo, moveTo } from '../utils/PRIVATE_visSVGUtils';\nimport type { PieChartItemData, PieSliceInfo } from './pieChart.types';\n\ntype Bounds = {\n x: number;\n y: number;\n width: number;\n height: number;\n};\n\nconst RADIUS_RATIO = 0.45;\nconst RADIUS_RATIO_WITH_LABELS = 0.38;\nconst SLICE_GAP_RATIO = 3;\nconst MIN_ARC_LENGTH = 1.5;\nconst START_ANGLE = 90;\n\n/**\n * Converts the angle from degrees to radians.\n * @param degree The angle in degrees\n * @returns\n */\nexport function degreesToRads(degree: number) {\n return degree * (Math.PI / 180);\n}\n\n/**\n * Calculates the angle between two vectors.\n * @param vector1X The x component of first vector.\n * @param vector1Y The y component of first vector.\n * @param vector2X The x component of second vector.\n * @param vector2Y The y component of second vector.\n * @returns\n */\nexport function calculateAngleBetweenTwoVectors(\n vector1X: number,\n vector1Y: number,\n vector2X: number,\n vector2Y: number\n) {\n const angle = Math.atan2(vector2Y, vector2X) - Math.atan2(vector1Y, vector1X);\n return angle < 0 ? angle + 2 * Math.PI : angle;\n}\n\n/**\n * Get the center coord of the pie chart.\n * @param availSpace The available space.\n * @returns\n */\nexport function getPieCenter(availSpace: Bounds) {\n return {\n cx: availSpace.x + Math.floor(availSpace.width / 2),\n cy: availSpace.y + Math.floor(availSpace.height / 2)\n };\n}\n\n/**\n * Returns the radius of the pie chart.\n * @param availSpace The available space.\n * @param labelPosition The position of labels.\n * @returns\n */\nexport function getRadius(availSpace: Bounds, isLabelOutside: boolean) {\n const radiusScale = isLabelOutside ? RADIUS_RATIO_WITH_LABELS : RADIUS_RATIO;\n return Math.floor(Math.min(availSpace.width, availSpace.height) * radiusScale);\n}\n\n/**\n * Returns the total value of the pie chart.\n * @param items\n */\nexport function getPieChartInfo(items: PieChartItemData[]) {\n return items.reduce(\n ({ totalValue, isLabelOutside }, item) => {\n return {\n totalValue: totalValue + item.value,\n isLabelOutside\n };\n },\n { totalValue: 0, isLabelOutside: false }\n );\n}\n\n/**\n * Returns the startAngle and angleOffset for the rendered items.\n * @param items\n * @param totalValue\n */\nexport function getSliceInfo(items: PieChartItemData[], totalValue: number) {\n let anchorOffset = START_ANGLE;\n let percentage;\n const sliceInfo = [];\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const value = item.value;\n if (value === totalValue) {\n percentage = 100;\n } else if (totalValue === 0) {\n percentage = 0;\n } else {\n // if value is not 100%, cap it at 99.99%\n percentage = Math.min((value / totalValue) * 100, 99.99);\n }\n const arc = percentage * 3.6;\n let angle = anchorOffset - arc;\n if (angle < 0) angle += 360;\n sliceInfo.push({\n index: i,\n startAngle: angle,\n angleExtent: arc,\n ...item\n });\n\n anchorOffset = angle;\n }\n return sliceInfo;\n}\n\n/**\n * Returns the pie slice gaps.\n * @param pieSliceGap The ratio of maximum supported pie slice gap.\n * @returns\n */\nexport function getPieSliceGap(pieSliceGap: number) {\n return SLICE_GAP_RATIO * pieSliceGap;\n}\n\n/**\n * Returns the array of layouts to render without skipping.\n * @param layouts\n * @param hasLargeItemCount\n * @param radius\n * @returns\n */\nexport function getRenderedSlices(\n itemInfo: PieSliceInfo[],\n hasLargeItemCount: boolean,\n radius: number\n): PieSliceInfo[] {\n if (!hasLargeItemCount) {\n return itemInfo;\n }\n\n const perimeter = 2 * Math.PI * radius;\n let prevEndCoord = 0;\n\n return itemInfo.filter(({ startAngle, angleExtent }) => {\n const arcLength = (angleExtent / 360) * perimeter;\n const endCoord = ((angleExtent + startAngle) / 360) * perimeter;\n if (arcLength < MIN_ARC_LENGTH && Math.abs(prevEndCoord - endCoord) < MIN_ARC_LENGTH) {\n return false;\n } else {\n prevEndCoord = endCoord;\n return true;\n }\n });\n}\n\n/**\n * Returns the path of the pie slice wedge.\n * @param inset The inset.\n * @param cx The x coordinate of the center of the pie chart.\n * @param cy The y coordinate of the center of the pie chart.\n * @param radiusX The x radius of the slice.\n * @param radiusY The y radius of the slice.\n * @param innerRadius The inner radius.\n * @param angleExtent The angle extent.\n * @param wedgeGap The gap beteen the pie slices.\n * @param startAngle The start angle of the pie slice.\n * @returns\n */\nexport function makeWedgePath(\n inset: number,\n cx: number,\n cy: number,\n radiusX: number,\n radiusY: number,\n innerRadius: number,\n angleExtent: number,\n wedgeGap: number,\n startAngle: number\n) {\n const rx = Math.max(radiusX - inset, 0);\n const ry = Math.max(radiusY - inset, 0);\n const gap = angleExtent == 360 || rx < inset ? 0 : wedgeGap + 2 * inset;\n\n const ir = innerRadius ? innerRadius + inset : 0;\n // if angle extent is not 360, cap it at 359.99\n const angleExtentRads = angleExtent == 360 ? degreesToRads(359.99) : degreesToRads(angleExtent);\n\n const startAngleRads = degreesToRads(startAngle);\n const dataItemGaps = gap / 2;\n\n const gapAngle = dataItemGaps < rx ? Math.asin(dataItemGaps / rx) : 0;\n const centerLineAngle = -angleExtentRads / 2 - startAngleRads;\n\n // cap at 5* dataItemsGap. logic from legacy dvt toolkit\n const distanceToStartPointX = Math.min(\n dataItemGaps * 5,\n angleExtentRads > 0 ? Math.abs(dataItemGaps / Math.sin(angleExtentRads / 2)) : 0\n );\n const distanceToStartPointY = rx == 0 ? distanceToStartPointX : (distanceToStartPointX * ry) / rx;\n\n const startPointX = cx + Math.cos(centerLineAngle) * distanceToStartPointX;\n const startPointY = cy + Math.sin(centerLineAngle) * distanceToStartPointY;\n\n const arcPointX = cx + Math.cos(-gapAngle - startAngleRads) * rx;\n const arcPointY = cy + Math.sin(-gapAngle - startAngleRads) * ry;\n\n const arcPoint2X = cx + Math.cos(-startAngleRads - angleExtentRads + gapAngle) * rx;\n const arcPoint2Y = cy + Math.sin(-startAngleRads - angleExtentRads + gapAngle) * ry;\n\n let outerAngle = calculateAngleBetweenTwoVectors(\n arcPoint2X - cx,\n arcPoint2Y - cy,\n arcPointX - cx,\n arcPointY - cy\n );\n outerAngle = Math.min(outerAngle, angleExtentRads);\n let pathCommands: string;\n if (ir > 0) {\n const innerGapAngle = dataItemGaps < ir ? Math.asin(dataItemGaps / ir) : 0;\n const innerPointX = cx + Math.cos(-innerGapAngle - startAngleRads) * ir;\n const innerPointY = cy + Math.sin(-innerGapAngle - startAngleRads) * ir;\n\n const innerPoint2X = cx + Math.cos(-startAngleRads - angleExtentRads + innerGapAngle) * ir;\n const innerPoint2Y = cy + Math.sin(-startAngleRads - angleExtentRads + innerGapAngle) * ir;\n\n let innerAngle = calculateAngleBetweenTwoVectors(\n innerPoint2X - cx,\n innerPoint2Y - cy,\n innerPointX - cx,\n innerPointY - cy\n );\n innerAngle = Math.min(innerAngle, outerAngle, angleExtentRads);\n\n if (angleExtent == 360) {\n pathCommands = moveTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, angleExtentRads, 1, arcPointX, arcPointY);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += moveTo(innerPointX, innerPointY);\n pathCommands += arcTo(ir, ir, angleExtentRads, 0, innerPoint2X, innerPoint2Y);\n } else {\n pathCommands = moveTo(innerPoint2X, innerPoint2Y);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, outerAngle, 1, arcPointX, arcPointY);\n pathCommands += lineTo(innerPointX, innerPointY);\n pathCommands += arcTo(ir, ir, innerAngle, 0, innerPoint2X, innerPoint2Y);\n }\n } else {\n if (angleExtent == 360) {\n pathCommands = moveTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, angleExtentRads, 1, arcPointX, arcPointY);\n } else {\n pathCommands = moveTo(startPointX, startPointY);\n pathCommands += lineTo(arcPoint2X, arcPoint2Y);\n pathCommands += arcTo(rx, ry, outerAngle, 1, arcPointX, arcPointY);\n }\n }\n\n pathCommands += closePath();\n return pathCommands;\n}\n\n/**\n * Returns the pie chart center context.\n * @param cx The x coordinate of the center of the pie chart.\n * @param cy The y coordinate of the center of the pie chart.\n * @param innerRadius The inner radius of the pie chart.\n * @returns\n */\nexport function getCenterContext(cx: number, cy: number, innerRadius: number) {\n return {\n innerBounds: {\n width: Math.sqrt(2) * innerRadius,\n height: Math.sqrt(2) * innerRadius,\n x: cx - innerRadius / Math.sqrt(2),\n y: cy - innerRadius / Math.sqrt(2)\n },\n outerBounds: {\n width: 2 * innerRadius,\n height: 2 * innerRadius,\n x: cx - innerRadius,\n y: cy - innerRadius\n }\n };\n}\n\n/**\n * Returns the position of the datatip for a given slice.\n * @param startAngle The start angle of the pie slice.\n * @param angleExtent The angle extent of the pie slice.\n * @param cx The x coordinate of the center of the pie slice.\n * @param cy The y coordinate of the center of the pie slice.\n * @param innerRadius The inner radius.\n * @param radius The radius of the pie slice.\n * @returns\n */\nexport function getPieItemCenterCoord(\n startAngle: number,\n angleExtent: number,\n cx: number,\n cy: number,\n innerRadius: number,\n radius: number\n) {\n const angle = startAngle + angleExtent / 2;\n const theta = (angle / 180) * Math.PI;\n const r = (innerRadius + radius) / 2;\n\n return {\n x: cx + r * Math.cos(theta),\n y: cy - r * Math.sin(theta),\n width: 0,\n height: 0\n };\n}\n\n/**\n * Returns the element bound for active item.\n * @param renderedSlices The array of info for rendered slices.\n * @param cx The x coordinate of pie chart center.\n * @param cy The y coordinate of pie chart center.\n * @param ir The inner radius of the pie chart.\n * @param radius The radius of the pie chart.\n * @param activeItem The active item.\n * @returns\n */\nexport function getElementBounds(\n renderedSlices: PieSliceInfo[],\n cx: number,\n cy: number,\n ir: number,\n radius: number,\n activeItem?: ItemInfo\n) {\n return activeItem\n ? getPieItemCenterCoord(\n renderedSlices[activeItem.itemIndex].startAngle,\n renderedSlices[activeItem.itemIndex].angleExtent,\n cx,\n cy,\n ir,\n radius\n )\n : undefined;\n}\n\n/**\n * Returns default border color for datatip.\n * @param colors The color ramp.\n * @param activeItem The active item info.\n * @param activeData The active pie chart data item.\n * @returns\n */\nexport function getDefaultBorderColor(\n colors: string[],\n activeItem?: ItemInfo,\n activeData?: PieChartItemData\n) {\n return activeData?.color || activeItem?.itemIndex != undefined\n ? colors[activeItem!.itemIndex]\n : undefined;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { makeWedgePath } from './utils';\nimport { styles } from './themes/PieChartStyles.css';\nimport { classNames } from '../utils/UNSAFE_classNames';\n\n/**\n * The props for pie slice.\n */\ntype PieSliceProps = {\n /**\n * The x coordinate of the center of the slice.\n */\n cx: number;\n\n /**\n * The y coordinate of the center of the slice.\n */\n cy: number;\n\n /**\n * The radius of the pie slice.\n */\n r: number;\n\n /**\n * The start angle of the pie slice.\n */\n startAngle: number;\n\n /**\n * The angle extent of the pie slice.\n */\n angleExtent: number;\n\n /**\n * The gaps to keep between the pie slice items.\n */\n gap: number;\n\n /**\n * The inner radius of the pie slice.\n */\n innerRadius: number;\n\n /**\n * The color of the pie slice.\n */\n color: ColorProps['color'];\n\n /**\n * Whether the slice is focused.\n */\n isFocused?: boolean;\n\n /**\n * Whether the slice is hovered.\n */\n isHovered?: boolean;\n\n /**\n * The id of the pie slice.\n */\n id?: string;\n\n /**\n * The index of the item among rendered series.\n */\n itemIndex: number;\n\n /**\n * The aria label of the pie slice.\n */\n accessibleLabel?: string;\n};\n\n/**\n * The Pie Slice component.\n */\nexport function PieSlice({\n cx,\n cy,\n r,\n startAngle,\n angleExtent,\n gap,\n innerRadius,\n color,\n id,\n itemIndex,\n isFocused = false,\n isHovered = false,\n ...props\n}: PieSliceProps) {\n const path = makeWedgePath(0, cx, cy, r, r, innerRadius, angleExtent, gap, startAngle);\n let innerPath;\n if (isFocused) {\n innerPath = makeWedgePath(2, cx, cy, r, r, innerRadius, angleExtent, gap, startAngle);\n return (\n <g\n id={id}\n role={props.accessibleLabel ? 'img' : undefined}\n data-oj-item-index={itemIndex}\n data-oj-object=\"pieSlice\"\n aria-label={props.accessibleLabel}>\n <path d={path} fill={color} stroke={color} className={styles.innerShapes} />\n <path\n d={innerPath}\n fill={color}\n className={classNames([styles.contrastBorder, styles.innerShapes])}\n />\n </g>\n );\n }\n return (\n <path\n role={props.accessibleLabel ? 'img' : undefined}\n aria-label={props.accessibleLabel}\n d={path}\n data-oj-object=\"pieSlice\"\n fill={color}\n id={id}\n data-oj-item-index={itemIndex}\n />\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { styles } from './themes/PieChartStyles.css';\nimport {\n getDefaultBorderColor,\n getElementBounds,\n getPieCenter,\n getRadius,\n getRenderedSlices,\n getPieChartInfo,\n getPieSliceGap,\n getSliceInfo\n} from './utils';\nimport { getAvailSpace } from '../utils/PRIVATE_chartUtils/layoutUtils';\nimport { PieSlice } from './PieSlice';\nimport { getCenterContext } from './utils';\nimport { getPieChartNavUtils } from './pieNavUtils';\nimport { ItemInfo, usePieChartNav } from '../hooks/PRIVATE_usePieChartNav';\nimport { calculateOffset, useDatatip } from '../hooks/PRIVATE_useDatatip';\nimport { mergeProps } from '../utils/UNSAFE_mergeProps';\nimport { VisTabularDatatip } from '../PRIVATE_VisTabularDatatip';\nimport type { PieChartProps, PieChartItemData } from './pieChart.types';\nimport { getColorRamp } from '../utils/UNSAFE_visUtils';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { useTestId } from '../hooks/UNSAFE_useTestId';\nimport { useVisTouchResponse } from '#hooks/PRIVATE_useVisTouchResponse';\nimport { useRef } from 'preact/hooks';\nimport { merge } from '#utils/UNSAFE_stringUtils';\n\ntype PieChartWithDimensionsProps = Omit<PieChartProps, 'width' | 'height'> & {\n width: number;\n height: number;\n data: PieChartItemData[];\n};\n\nconst NUM_PIE_SLICE_THRESHOLD = 100;\nexport function PieChartWithDimensions({\n width,\n height,\n testId,\n innerRadius = 0,\n ...props\n}: PieChartWithDimensionsProps) {\n const rootRef = useRef<HTMLDivElement>(null);\n const colors = getColorRamp();\n const { totalValue, isLabelOutside } = getPieChartInfo(props.data);\n const sliceInfos = getSliceInfo(props.data, totalValue);\n\n // default data item gaps is 0.5. TODO: replace 0.5 with pie dataItemGaps/pieSliceGaps\n const pieSliceGap = getPieSliceGap(0.5);\n const hasLargeSeriesCount = props.data.length > NUM_PIE_SLICE_THRESHOLD;\n const { direction } = useUser();\n const testIdProps = useTestId(testId);\n const availSpace = getAvailSpace(width, height);\n const { cx, cy } = getPieCenter(availSpace);\n const radius = getRadius(availSpace, isLabelOutside);\n const ir = innerRadius * radius;\n const renderedSlices = getRenderedSlices(sliceInfos, hasLargeSeriesCount, radius);\n const getNextChartItem = getPieChartNavUtils(renderedSlices, direction === 'rtl');\n\n const { touchResponse, touchResponseStyle } = useVisTouchResponse({\n type: 'auto',\n supportsTouchDragGestures: false,\n rootRef\n });\n const { activeId, navProps, focusedItemInfo, hoveredItemInfo } = usePieChartNav({\n touchResponse,\n getNextChartItem\n });\n const activeItem = focusedItemInfo.isFocusVisible ? focusedItemInfo : hoveredItemInfo;\n const activeData = activeItem\n ? props.data[renderedSlices[activeItem.itemIndex].index]\n : undefined;\n\n const defaultDatatip = (activeData?: PieChartItemData, activeItem?: ItemInfo) => {\n if (!activeData) {\n return {\n content: undefined,\n borderColor: undefined\n };\n }\n if (activeData.accessibleLabel) {\n return {\n content: activeData.accessibleLabel,\n borderColor: getDefaultBorderColor(colors, activeItem, activeData)\n };\n }\n return {\n content: (\n <VisTabularDatatip\n tableData={[\n {\n key: 'Value',\n value: activeData.value\n }\n ]}\n />\n ),\n borderColor: getDefaultBorderColor(colors, activeItem, activeData)\n };\n };\n\n const { content: datatipString, borderColor } =\n activeData && props.datatip\n ? props.datatip({ data: activeData })\n : defaultDatatip(activeData, activeItem);\n\n const anchor = focusedItemInfo.isFocusVisible ? 'element' : 'pointer';\n const elementBounds = activeItem?.isFocusVisible\n ? getElementBounds(renderedSlices, cx, cy, ir, radius, activeItem)\n : undefined;\n const { datatipContent, datatipProps } = useDatatip({\n content: datatipString,\n offset: calculateOffset(direction === 'rtl', width, elementBounds),\n anchor,\n placement: 'top-start',\n borderColor,\n touchResponse\n });\n\n datatipProps['aria-describedby'] = merge([\n props['aria-describedby'],\n datatipProps['aria-describedby']\n ]);\n\n const mergedProps = mergeProps(navProps, datatipProps);\n return (\n <div\n ref={rootRef}\n tabIndex={0}\n aria-label={props['aria-label']}\n aria-labelledby={props['aria-labelledby']}\n aria-activedescendant={activeId}\n role=\"application\"\n {...mergedProps}\n {...testIdProps}\n className={styles.chart}\n style={{\n width,\n height,\n ...touchResponseStyle\n }}>\n {renderedSlices.length > 0 && (\n <svg className={styles.svg}>\n {renderedSlices.map((item, index: number) => {\n return (\n <PieSlice\n cx={cx}\n cy={cy}\n itemIndex={index}\n id={activeItem?.itemIndex === index ? activeId : undefined}\n isFocused={focusedItemInfo?.itemIndex === index && focusedItemInfo?.isFocusVisible}\n isHovered={hoveredItemInfo?.itemIndex === index}\n r={radius}\n startAngle={item.startAngle}\n gap={pieSliceGap}\n innerRadius={ir}\n angleExtent={item.angleExtent}\n color={item.color || colors[index % colors.length]}\n key={item.id}\n accessibleLabel={item.accessibleLabel}\n />\n );\n })}\n </svg>\n )}\n {props.children?.(getCenterContext(cx, cy, ir))}\n {datatipContent}\n </div>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport type { PieChartItemData } from './pieChart.types';\n\n/**\n * Returns the nav util for pie chart.\n * @param data\n * @param isRtl\n * @returns\n */\nexport function getPieChartNavUtils(data: PieChartItemData[], isRtl: boolean) {\n const getNextChartItem = (\n { itemIndex }: { itemIndex: number },\n arrow: 'ArrowLeft' | 'ArrowRight' | 'ArrowDown' | 'ArrowUp'\n ): { itemIndex: number } => {\n let newItemIndex = itemIndex;\n\n if (\n (isRtl && (arrow === 'ArrowRight' || arrow === 'ArrowUp')) ||\n (!isRtl && (arrow === 'ArrowLeft' || arrow === 'ArrowDown'))\n ) {\n newItemIndex = itemIndex - 1;\n } else {\n newItemIndex = itemIndex + 1;\n }\n return {\n itemIndex: ((newItemIndex % data.length) + data.length) % data.length\n };\n };\n\n return getNextChartItem;\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { dimensionStyle } from './themes/PieChartStyles.css';\nimport { TrackResizeContainer } from '../PRIVATE_TrackResizeContainer';\nimport { PieChartWithDimensions } from './PieChartWithDimensions';\nimport type { PieChartProps } from './pieChart.types';\n\n/**\n * Pie charts are useful for visualizing parts of a whole, but do not display zero or negative values so they are not recommended for data sets that may have negative or null data\n */\nexport function PieChart({ width, height, ...props }: PieChartProps) {\n return (\n <TrackResizeContainer width={width} height={height} class={dimensionStyle}>\n {(width, height) => <PieChartWithDimensions width={width} height={height} {...props} />}\n </TrackResizeContainer>\n );\n}\n"],"names":["RADIUS_RATIO","RADIUS_RATIO_WITH_LABELS","SLICE_GAP_RATIO","MIN_ARC_LENGTH","START_ANGLE","degreesToRads","degree","Math","PI","calculateAngleBetweenTwoVectors","vector1X","vector1Y","vector2X","vector2Y","angle","atan2","makeWedgePath","inset","cx","cy","radiusX","radiusY","innerRadius","angleExtent","wedgeGap","startAngle","rx","max","ry","gap","ir","angleExtentRads","startAngleRads","dataItemGaps","gapAngle","asin","centerLineAngle","distanceToStartPointX","min","abs","sin","distanceToStartPointY","startPointX","cos","startPointY","arcPointX","arcPointY","arcPoint2X","arcPoint2Y","pathCommands","outerAngle","innerGapAngle","innerPointX","innerPointY","innerPoint2X","innerPoint2Y","innerAngle","moveTo","arcTo","lineTo","closePath","getCenterContext","innerBounds","width","sqrt","height","x","y","outerBounds","getElementBounds","renderedSlices","radius","activeItem","theta","r","getPieItemCenterCoord","itemIndex","undefined","getDefaultBorderColor","colors","activeData","color","PieSlice","id","isFocused","isHovered","props","path","innerPath","_jsxs","role","accessibleLabel","children","_jsx","d","fill","stroke","className","styles","innerShapes","classNames","contrastBorder","jsx","NUM_PIE_SLICE_THRESHOLD","PieChartWithDimensions","testId","rootRef","useRef","getColorRamp","totalValue","isLabelOutside","data","reduce","item","value","sliceInfos","items","percentage","anchorOffset","sliceInfo","i","length","arc","push","index","getSliceInfo","pieSliceGap","getPieSliceGap","hasLargeSeriesCount","direction","useUser","testIdProps","useTestId","availSpace","getAvailSpace","floor","getPieCenter","radiusScale","getRadius","itemInfo","hasLargeItemCount","perimeter","prevEndCoord","filter","endCoord","getRenderedSlices","getNextChartItem","isRtl","arrow","newItemIndex","touchResponse","touchResponseStyle","useVisTouchResponse","type","supportsTouchDragGestures","activeId","navProps","focusedItemInfo","hoveredItemInfo","usePieChartNav","isFocusVisible","content","datatipString","borderColor","datatip","VisTabularDatatip","tableData","key","defaultDatatip","anchor","elementBounds","datatipContent","datatipProps","useDatatip","offset","calculateOffset","placement","merge","mergedProps","mergeProps","ref","tabIndex","chart","style","svg","map","TrackResizeContainer","class","dimensionStyle"],"mappings":"8hBAm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AACW,EAAsB,CAACzC,MAAOA,EAAOE,OAAQA,KAAYqB,KAGpF"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Floating-a658b79c', './tabbableUtils-3f80fcf5', './refUtils-d354a169', './FocusTrap-eb7cc3d2', './Layer-276d62e8', 'preact/compat', './LayerHost-e95c5f30', './Modal-36acfc12', './WindowOverlay-a2d80d55', './usePopupAnimation-916ff96d', './useTestId-3a316499', './useOutsideClick-5c2a47be', './useComponentTheme-5aa41a8f', './UNSAFE_Popup/themes/PopupContract.css', './stringUtils-0ae982c2', './classNames-08d99695', './UNSAFE_Popup/themes/redwood/PopupTheme', './dimensions-60420dbb', './mergeInterpolations-9ede4cf7'], (function(e,n,t,s,o,r,i,a,c,u,l,d,p,f,m,b,h,y,A,g,x,E){"use strict";const O=c.forwardRef((({anchorRef:e,launcherRef:c,children:u,isOpen:O=!1,modality:v="modeless",offset:F={mainAxis:0,crossAxis:0},flipOptions:P={mainAxis:!0,crossAxis:!0},shiftOptions:C={mainAxis:!1,crossAxis:!1},onClickOutside:T,onClose:k,initialFocus:R="auto",placement:j=(e?"top":"center"),tail:w="none",onTransitionEnd:I,onFocusSet:L,role:N=("modeless"===v?"tooltip":"dialog"),"aria-label":S,"aria-labelledby":U,"aria-describedby":D,testId:M,...V},W)=>{const K=t.useRef(null),[_,H]=t.useState(),q=t.useRef(null),z=f.useTestId(M);function B(e){K.current===o.getActiveElement()&&"F6"===e.code&&"modeless"===v&&(e.preventDefault(),e.stopPropagation(),o.focusWithin(q.current),L?.())}m.useOutsideClick({isDisabled:!(O&&q.current),ref:q,handler:e=>{T?.(e)}});const{setAnimationElementRef:G,status:J,onPosition:Q}=p.usePopupAnimation({isOpen:O,isAnimatedOnMount:!0,onTransitionEnd:e=>{e?(Z(),I?.(!0)):I?.(!1)},placement:j}),X=t.useMemo((()=>r.mergeRefs(G,W)),[G,W]),Y=t.useCallback((()=>{const n=K.current,t=e?.current;n?o.focusOn(n):t&&t instanceof Element&&o.focusOn(t)}),[K,e?.current]);t.useEffect((()=>{O||"opening"!==J||q.current?.contains(o.getActiveElement())&&Y()}),[O,J,Y]),t.useEffect((()=>(O&&(c?.current&&c.current instanceof Element?K.current=document.body.contains(c.current)?c.current:o.getActiveElement():K.current=o.getActiveElement(),K.current?.addEventListener("keydown",B)),()=>{K.current?.removeEventListener("keydown",B)})),[O,c]);const Z=()=>{let e=R;"auto"===R&&(e="modal"===v?"firstFocusable":"none"),"popup"===e&&(o.focusOn(q.current),L?.(),I?.(!1)),"firstFocusable"===e&&(o.focusWithin(q.current),L?.())},$={mainAxis:(e=>{let n=0;return e&&(n="number"==typeof e?e:e.mainAxis||0,"simple"===w&&(n+=5)),n})(F),crossAxis:(e=>e?"number"==typeof e?0:e.crossAxis||0:0)(F)},ee=e=>{const n=o.getActiveElement(),t=q.current,s=K.current;if(t===n||t?.contains(n))switch(e.code){case"Escape":k?.({reason:"escapeKey"});break;case"F6":e.preventDefault(),e.stopPropagation(),s&&"modeless"===v&&o.focusOn(s)}};t.useLayoutEffect((()=>{if("unmounted"===J||null==q.current||null!=_||"none"===w)return;const e=y.getVarName(h.popupVars.backgroundColor),n=getComputedStyle(q.current);H(n.getPropertyValue(e))}),[J,q,_,w]);const{baseTheme:ne,classes:te}=b.useComponentTheme(g.PopupRedwoodTheme),se="unmounted"!==J,oe=[...Object.values(x.dimensionInterpolations)],re=E.mergeInterpolations(oe),{...ie}=re(V),ae=()=>n.jsx("div",{ref:q,tabIndex:-1,role:N,className:A.classNames([ne,te]),style:ie,onKeyDown:ee,"aria-label":S,"aria-labelledby":U,"aria-describedby":D,...z,children:n.jsx(i.FocusTrap,{restoreFocusRef:!1,children:u})}),ce=()=>e&&e.current?n.jsx(s.Floating,{ref:X,backgroundColor:_,anchorRef:e,placement:j,offsetValue:$,flipOptions:P,shiftOptions:C,tail:w,onPosition:Q,children:ae()}):n.jsx(d.WindowOverlay,{placement:j,offset:$,children:n.jsx("div",{ref:X,children:ae()})});return se?"modal"===v?n.jsx(l.Modal,{isOpen:se,children:ce()}):n.jsx(a.Layer,{children:ce()}):null}));e.Popup=O}));
2
- //# sourceMappingURL=Popup-956e6d7d.js.map
1
+ define(['exports', 'preact/jsx-runtime', 'preact/hooks', './Floating-25e0092b', './tabbableUtils-3f80fcf5', './refUtils-d354a169', './FocusTrap-eb7cc3d2', './Layer-e835aed8', 'preact/compat', './LayerHost-639b3284', './Modal-2b6ce101', './WindowOverlay-43c10424', './usePopupAnimation-6445a247', './useTestId-b5cd4766', './useOutsideClick-476e0577', './useComponentTheme-5aa41a8f', './UNSAFE_Popup/themes/PopupContract.css', './stringUtils-0ae982c2', './classNames-08d99695', './UNSAFE_Popup/themes/redwood/PopupTheme', './dimensions-60420dbb', './mergeInterpolations-9ede4cf7'], (function(e,n,t,s,o,r,i,a,c,u,l,d,p,m,f,b,h,y,A,g,x,E){"use strict";const O=c.forwardRef((({anchorRef:e,launcherRef:c,children:u,isOpen:O=!1,modality:v="modeless",offset:F={mainAxis:0,crossAxis:0},flipOptions:P={mainAxis:!0,crossAxis:!0},shiftOptions:C={mainAxis:!1,crossAxis:!1},onClickOutside:T,onClose:k,initialFocus:R="auto",placement:j=(e?"top":"center"),tail:w="none",onTransitionEnd:I,onFocusSet:L,role:N=("modeless"===v?"tooltip":"dialog"),"aria-label":S,"aria-labelledby":U,"aria-describedby":D,testId:M,...V},W)=>{const K=t.useRef(null),[_,H]=t.useState(),q=t.useRef(null),z=m.useTestId(M);function B(e){K.current===o.getActiveElement()&&"F6"===e.code&&"modeless"===v&&(e.preventDefault(),e.stopPropagation(),o.focusWithin(q.current),L?.())}f.useOutsideClick({isDisabled:!(O&&q.current),ref:q,handler:e=>{T?.(e)}});const{setAnimationElementRef:G,status:J,onPosition:Q}=p.usePopupAnimation({isOpen:O,isAnimatedOnMount:!0,onTransitionEnd:e=>{e?(Z(),I?.(!0)):I?.(!1)},placement:j}),X=t.useMemo((()=>r.mergeRefs(G,W)),[G,W]),Y=t.useCallback((()=>{const n=K.current,t=e?.current;n?o.focusOn(n):t&&t instanceof Element&&o.focusOn(t)}),[K,e?.current]);t.useEffect((()=>{O||"opening"!==J||q.current?.contains(o.getActiveElement())&&Y()}),[O,J,Y]),t.useEffect((()=>(O&&(c?.current&&c.current instanceof Element?K.current=document.body.contains(c.current)?c.current:o.getActiveElement():K.current=o.getActiveElement(),K.current?.addEventListener("keydown",B)),()=>{K.current?.removeEventListener("keydown",B)})),[O,c]);const Z=()=>{let e=R;"auto"===R&&(e="modal"===v?"firstFocusable":"none"),"popup"===e&&(o.focusOn(q.current),L?.(),I?.(!1)),"firstFocusable"===e&&(o.focusWithin(q.current),L?.())},$={mainAxis:(e=>{let n=0;return e&&(n="number"==typeof e?e:e.mainAxis||0,"simple"===w&&(n+=5)),n})(F),crossAxis:(e=>e?"number"==typeof e?0:e.crossAxis||0:0)(F)},ee=e=>{const n=o.getActiveElement(),t=q.current,s=K.current;if(t===n||t?.contains(n))switch(e.code){case"Escape":k?.({reason:"escapeKey"});break;case"F6":e.preventDefault(),e.stopPropagation(),s&&"modeless"===v&&o.focusOn(s)}};t.useLayoutEffect((()=>{if("unmounted"===J||null==q.current||null!=_||"none"===w)return;const e=y.getVarName(h.popupVars.backgroundColor),n=getComputedStyle(q.current);H(n.getPropertyValue(e))}),[J,q,_,w]);const{baseTheme:ne,classes:te}=b.useComponentTheme(g.PopupRedwoodTheme),se="unmounted"!==J,oe=[...Object.values(x.dimensionInterpolations)],re=E.mergeInterpolations(oe),{...ie}=re(V),ae=()=>n.jsx("div",{ref:q,tabIndex:-1,role:N,className:A.classNames([ne,te]),style:ie,onKeyDown:ee,"aria-label":S,"aria-labelledby":U,"aria-describedby":D,...z,children:n.jsx(i.FocusTrap,{restoreFocusRef:!1,children:u})}),ce=()=>e&&e.current?n.jsx(s.Floating,{ref:X,backgroundColor:_,anchorRef:e,placement:j,offsetValue:$,flipOptions:P,shiftOptions:C,tail:w,onPosition:Q,children:ae()}):n.jsx(d.WindowOverlay,{placement:j,offset:$,children:n.jsx("div",{ref:X,children:ae()})});return se?"modal"===v?n.jsx(l.Modal,{isOpen:se,children:ce()}):n.jsx(a.Layer,{children:ce()}):null}));e.Popup=O}));
2
+ //# sourceMappingURL=Popup-059eb48a.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popup-956e6d7d.js","sources":["../../src/UNSAFE_Popup/Popup.tsx"],"sourcesContent":["import { JSX, RefObject } from 'preact';\nimport { useState, useEffect, useLayoutEffect, useMemo, useRef, useCallback } from 'preact/hooks';\nimport { Floating, Offset, Placement, Coords, FlipOptions, ShiftOptions } from '../UNSAFE_Floating';\nimport {\n FocusableElement,\n focusOn,\n focusWithin,\n getActiveElement\n} from '../utils/PRIVATE_tabbableUtils';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { FocusTrap } from '../UNSAFE_FocusTrap';\nimport { Layer } from '../UNSAFE_Layer';\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay, WindowOverlayPlacement } from '../UNSAFE_WindowOverlay';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { usePopupAnimation } from './usePopupAnimation';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\n\n// Style imports\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { popupVars } from './themes/PopupContract.css';\nimport { getVarName } from '../utils/UNSAFE_stringUtils';\nimport { Property } from 'csstype';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from './themes/redwood/PopupTheme';\nimport { dimensionInterpolations, DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\nexport type PopupPlacement = Placement | WindowOverlayPlacement;\nexport type OnCloseDetail = {\n reason: 'escapeKey';\n};\nexport type InitialFocus = 'auto' | 'none' | 'popup' | 'firstFocusable';\nexport type Tail = 'none' | 'simple';\nexport type Modality = 'modal' | 'modeless';\n\ntype Props = IntrinsicProps &\n DimensionProps &\n TestIdProps & {\n /**\n * Specifies whether the Popup is open.\n */\n isOpen: boolean;\n /**\n * Specifies Popup's anchor. Popup is placed relatively to its anchor.\n */\n anchorRef?: RefObject<Element | Coords>;\n /**\n * Specifies Popup's launcher. After Popup closes, it returns focus to the launcher.\n */\n launcherRef?: RefObject<HTMLElement>;\n /**\n * Specifies placement of the Popup relative to the anchor.\n */\n placement?: PopupPlacement;\n /**\n * Specifies displacement of the Popup from the anchor element placement along the specified axes.\n * The offset object consists of mainAxis and crossAxis properties. The direction in which these properties\n * are applied depends on the current value of the position property.\n *\n * The <code>mainAxis</code> property represents the distance between the Popup and the anchor.\n * The <code>crossAxis</code> property represents the deviation in the opposite axis to the main axis - the skidding between the Popup and the anchor.\n */\n offset?: Offset;\n /**\n * Specifies modality of the Popup.\n */\n modality?: Modality;\n /**\n * Specifies whether a floating Popup changes placement to the opposite side to be kept in view when a collision is detected.\n *\n * The flipOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n flipOptions?: FlipOptions;\n /**\n * Specifies whether a floating Popup shifts along axis to be kept in view when a collision is detected.\n * Note that if both 'flip' and 'shift' are enabled on respective axis, the flip will take precedence.\n *\n * The shiftOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n shiftOptions?: ShiftOptions;\n /**\n * Specifies if the Popup sets focus to its content when initially open.\n * A value of none prevents the popup from setting focus when open.\n *\n * <code>auto</code> in modeless mode resolves to none.\n * <code>none</code> prevents the popup from setting focus when open.\n * <code>popup</code> sets focus to the root popup container (good choice for touch platforms).\n * <code>firstFocusable</code> defines that a popup should set focus to the first focusable element within the popup's content.\n */\n initialFocus?: InitialFocus;\n /**\n * Specifies callback triggered when a user clicks outside Popup.\n */\n onClickOutside?: (event: MouseEvent) => void;\n /**\n * Specifies callback triggered when a user tries to close a Popup through UI interaction.\n * The parent should listen to this event and close the Popup. If the parent fails to remove\n * the Popup, then no change will be done in the UI by the component.\n */\n onClose?: (detail: OnCloseDetail) => void;\n /**\n * Specifies callback triggered when initial focus is set or when Popup receives it via F6 key.\n */\n onFocusSet?: () => void;\n /**\n * Specifies Popup's tail. Simple tail is an arrow pointing to Popup's anchor.\n */\n tail?: Tail;\n /**\n * Specifies callback triggered after the animation ends.\n */\n onTransitionEnd?: (value: boolean) => void;\n /**\n * Specifies the ARIA role type. Depending on how the popup is used in the page, the page developer should choose from the following:\n * <code>tooltip</code> defines contextual popup that displays a description for an element. This is added automatically if not already specified.\n * <code>dialog</code> defines an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.\n * <code>alertdialog</code> defines type of dialog that contains an alert message, where initial focus goes to an element within the dialog.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n /**\n * Specifies guidance for screen readers.\n */\n 'aria-label'?: string;\n /**\n * Specifies ID of an element used for guidance for screen readers.\n */\n 'aria-labelledby'?: string;\n /**\n * Specifies ID of an element (or space separated IDs of multiple elements) that\n * describes the Drawer.\n */\n 'aria-describedby'?: string;\n };\n\n/**\n * A popup temporarily 'pops up' content in the foreground.\n */\nexport const Popup = forwardRef(\n (\n {\n anchorRef,\n launcherRef,\n children,\n isOpen = false,\n modality = 'modeless',\n offset = { mainAxis: 0, crossAxis: 0 },\n flipOptions = { mainAxis: true, crossAxis: true },\n shiftOptions = { mainAxis: false, crossAxis: false },\n onClickOutside,\n onClose,\n initialFocus = 'auto',\n placement = anchorRef ? 'top' : 'center',\n tail = 'none',\n onTransitionEnd,\n onFocusSet,\n role = modality === 'modeless' ? 'tooltip' : 'dialog',\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n testId,\n ...props\n }: Props,\n ref: ForwardedRef<HTMLElement | null>\n ) => {\n const localLauncherRef = useRef<HTMLElement | null>(null);\n const [popupBgColor, setPopupBgColor] = useState<Property.BackgroundColor>();\n\n const contentWrapperRef = useRef<HTMLDivElement | null>(null);\n\n // testId support\n const testIdProps = useTestId(testId);\n\n // We can not merge outsideClick to onClose event with {reason: 'outsideClick'} payload\n // The reason is that we allow outsideClick/autodismiss in modeless mode and\n // we need to detect outsideClick which is\n useOutsideClick({\n isDisabled: !(isOpen && contentWrapperRef.current),\n ref: contentWrapperRef,\n handler: (event) => {\n onClickOutside?.(event);\n }\n });\n\n function launcherKeyDownCallback(event: KeyboardEvent): void {\n if (\n localLauncherRef.current === getActiveElement() &&\n event.code === 'F6' &&\n modality === 'modeless'\n ) {\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n }\n\n const _onTransitionEnd = (isOpen: boolean) => {\n if (isOpen) {\n setInitialFocus();\n onTransitionEnd?.(true);\n } else {\n onTransitionEnd?.(false);\n }\n };\n\n // Animation\n const { setAnimationElementRef, status, onPosition } = usePopupAnimation({\n isOpen,\n isAnimatedOnMount: true,\n onTransitionEnd: _onTransitionEnd,\n placement: placement\n });\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, ref),\n [setAnimationElementRef, ref]\n );\n\n const returnFocus = useCallback((): void => {\n // Try to return focus to 1.launcher or 2.anchor\n const launcherEl = localLauncherRef.current;\n const anchorEl = anchorRef?.current;\n\n if (launcherEl) {\n focusOn(launcherEl);\n // Checking instanceof to avoid Coords type that can not be focused\n } else if (anchorEl && anchorEl instanceof Element) {\n focusOn(anchorEl as FocusableElement);\n }\n }, [localLauncherRef, anchorRef?.current]);\n\n useEffect(() => {\n // Init closing\n if (!isOpen && status === 'opening') {\n // Only actively return focus to the launcher or anchor if the popup contained focus.\n // Otherwise, focus is already elsewhere on the page and should not be forced back\n // because that could reopen the popup again, which essentially prevents the user from\n // moving focus out of the launcher.\n if (contentWrapperRef.current?.contains(getActiveElement())) {\n returnFocus();\n }\n }\n }, [isOpen, status, returnFocus]);\n\n // Initialize launcher\n useEffect(() => {\n if (isOpen) {\n if (!launcherRef?.current) {\n // 1. If launcher is not defined, most frequent scenario is,\n // that element, that has focus before opening a popup is considered launcher\n localLauncherRef.current = getActiveElement() as HTMLElement;\n } else if (launcherRef.current instanceof Element) {\n // 2. launcherRef element was provided.\n // Verify, if it exists in DOM, otherwise use the last active element\n localLauncherRef.current = document.body.contains(launcherRef.current)\n ? launcherRef.current\n : (getActiveElement() as HTMLElement);\n } else {\n localLauncherRef.current = getActiveElement() as HTMLElement;\n }\n // Register F6 key handler to enter the Popup\n localLauncherRef.current?.addEventListener('keydown', launcherKeyDownCallback);\n }\n return () => {\n // Deregister F6 key handler\n localLauncherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);\n };\n }, [isOpen, launcherRef]);\n // Note: unlike oj-c-popup we do not default anchorRef to launcherRef in Preact Popup\n // If anchorRef is undefined, we use WindowOverlay as anchor\n\n const setInitialFocus = () => {\n let derivedInitialFocus = initialFocus;\n if (initialFocus === 'auto') {\n if (modality === 'modal') {\n // modal mode - set focus to first focusable\n derivedInitialFocus = 'firstFocusable';\n } else {\n // modeless mode - do not steal focus by default\n derivedInitialFocus = 'none';\n }\n }\n\n // Case: 'popup'\n // Focus on Popup container\n if (derivedInitialFocus === 'popup') {\n focusOn(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n onTransitionEnd?.(false);\n }\n\n // Case: 'firstFocusable'\n // Focus on first tabbable in the Popup container or container itself if there is none\n if (derivedInitialFocus === 'firstFocusable') {\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n };\n\n const getMainAxisOffset = (offset?: Offset) => {\n let calcOffset = 0;\n if (offset) {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'mainAxis' does not exist on type 'OffsetFunction'.\n calcOffset = typeof offset === 'number' ? offset : offset.mainAxis || 0;\n if (tail === 'simple') {\n calcOffset += 5;\n }\n }\n return calcOffset;\n };\n\n const getCrossAxisOffset = (offset?: Offset) => {\n if (!offset) {\n return 0;\n } else {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'crossAxis' does not exist on type 'OffsetFunction'.\n return typeof offset === 'number' ? 0 : offset.crossAxis || 0;\n }\n };\n\n const finalOffset = {\n mainAxis: getMainAxisOffset(offset),\n crossAxis: getCrossAxisOffset(offset)\n };\n\n const handlePopupKeyDown = (event: KeyboardEvent) => {\n const currentlyFocusedEl = getActiveElement();\n const wrapperEl = contentWrapperRef.current;\n const launcherEl = localLauncherRef.current;\n if (wrapperEl === currentlyFocusedEl || wrapperEl?.contains(currentlyFocusedEl)) {\n switch (event.code) {\n case 'Escape': {\n // Trigger onClose event with outside click detail\n onClose?.({ reason: 'escapeKey' });\n break;\n }\n case 'F6':\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n // Focus launcher\n if (launcherEl && modality === 'modeless') {\n focusOn(launcherEl);\n }\n break;\n }\n }\n };\n\n useLayoutEffect(() => {\n if (\n status === 'unmounted' ||\n contentWrapperRef.current == null ||\n popupBgColor != null ||\n tail === 'none'\n )\n return;\n\n const backgroundColorVar = getVarName(popupVars.backgroundColor);\n const computedStyle = getComputedStyle(contentWrapperRef.current!);\n setPopupBgColor(computedStyle.getPropertyValue(backgroundColorVar));\n }, [status, contentWrapperRef, popupBgColor, tail]);\n\n // Styles\n const { baseTheme, classes } = useComponentTheme(PopupRedwoodTheme);\n const isMounted = status !== 'unmounted';\n\n const interpolations = [...Object.values(dimensionInterpolations)];\n const styleInterpolations = mergeInterpolations<DimensionProps>(interpolations);\n const { ...styles } = styleInterpolations(props);\n\n const renderPopup = () => {\n return (\n <div\n ref={contentWrapperRef}\n tabIndex={-1}\n role={role}\n className={classNames([baseTheme, classes])}\n style={styles}\n onKeyDown={handlePopupKeyDown}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...testIdProps}>\n {/*Setting restoreFocusRef to false because otherwise FocusTrap is stealing the focus back when :*/}\n {/*we click outside of modeless Popup (that keeps being open).*/}\n <FocusTrap restoreFocusRef={false}>{children}</FocusTrap>\n </div>\n );\n };\n\n const renderFloatingOrOverlayPopup = () => {\n if (!anchorRef || !anchorRef.current) {\n return (\n <WindowOverlay placement={placement as WindowOverlayPlacement} offset={finalOffset}>\n <div ref={stableRef}>{renderPopup()}</div>\n </WindowOverlay>\n );\n } else {\n return (\n <Floating\n ref={stableRef}\n backgroundColor={popupBgColor}\n anchorRef={anchorRef}\n placement={placement as Placement}\n offsetValue={finalOffset}\n flipOptions={flipOptions}\n shiftOptions={shiftOptions}\n tail={tail}\n onPosition={onPosition}>\n {renderPopup()}\n </Floating>\n );\n }\n };\n\n if (isMounted) {\n if (modality === 'modal') {\n return <Modal isOpen={isMounted}>{renderFloatingOrOverlayPopup()}</Modal>;\n } else {\n return <Layer>{renderFloatingOrOverlayPopup()}</Layer>;\n }\n } else return null;\n }\n);\n"],"names":["Popup","forwardRef","anchorRef","launcherRef","children","isOpen","modality","offset","mainAxis","crossAxis","flipOptions","shiftOptions","onClickOutside","onClose","initialFocus","placement","tail","onTransitionEnd","onFocusSet","role","ariaLabel","ariaLabelledBy","ariaDescribedBy","testId","props","ref","localLauncherRef","useRef","popupBgColor","setPopupBgColor","useState","contentWrapperRef","testIdProps","useTestId","launcherKeyDownCallback","event","current","getActiveElement","code","preventDefault","stopPropagation","focusWithin","useOutsideClick","isDisabled","handler","setAnimationElementRef","status","onPosition","usePopupAnimation","isAnimatedOnMount","setInitialFocus","stableRef","useMemo","mergeRefs","returnFocus","useCallback","launcherEl","anchorEl","focusOn","Element","useEffect","contains","document","body","addEventListener","removeEventListener","derivedInitialFocus","finalOffset","calcOffset","getMainAxisOffset","getCrossAxisOffset","handlePopupKeyDown","currentlyFocusedEl","wrapperEl","reason","useLayoutEffect","backgroundColorVar","getVarName","popupVars","backgroundColor","computedStyle","getComputedStyle","getPropertyValue","baseTheme","classes","useComponentTheme","PopupRedwoodTheme","isMounted","interpolations","Object","values","dimensionInterpolations","styleInterpolations","mergeInterpolations","styles","renderPopup","_jsx","tabIndex","className","classNames","style","onKeyDown","FocusTrap","restoreFocusRef","renderFloatingOrOverlayPopup","Floating","offsetValue","WindowOverlay","jsx","Modal","Layer"],"mappings":"knBAkJa,MAAAA,EAAQC,EAAAA,YACnB,EAEIC,YACAC,cACAC,WACAC,UAAS,EACTC,WAAW,WACXC,SAAS,CAAEC,SAAU,EAAGC,UAAW,GACnCC,cAAc,CAAEF,UAAU,EAAMC,WAAW,GAC3CE,eAAe,CAAEH,UAAU,EAAOC,WAAW,GAC7CG,iBACAC,UACAC,eAAe,OACfC,aAAYb,EAAY,MAAQ,UAChCc,OAAO,OACPC,kBACAC,aACAC,QAAoB,aAAbb,EAA0B,UAAY,UAC7C,aAAcc,EACd,kBAAmBC,EACnB,mBAAoBC,EACpBC,YACGC,GAELC,KAEA,MAAMC,EAAmBC,SAA2B,OAC7CC,EAAcC,GAAmBC,EAAQA,WAE1CC,EAAoBJ,SAA8B,MAGlDK,EAAcC,YAAUV,GAa9B,SAASW,EAAwBC,GAE7BT,EAAiBU,UAAYC,sBACd,OAAfF,EAAMG,MACO,aAAbhC,IAIA6B,EAAMI,iBACNJ,EAAMK,kBAENC,cAAYV,EAAkBK,SAC9BlB,MAEH,CAtBDwB,kBAAgB,CACdC,aAActC,GAAU0B,EAAkBK,SAC1CX,IAAKM,EACLa,QAAUT,IACRvB,IAAiBuB,EAAM,IAoB3B,MAUMU,uBAAEA,EAAsBC,OAAEA,EAAMC,WAAEA,GAAeC,EAAAA,kBAAkB,CACvE3C,SACA4C,mBAAmB,EACnBhC,gBAbwBZ,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C,aAAcA,EACdK,KAAMA,EACN+B,WAAYA,EAAU3C,SACrB2F,OAhBHC,EAAAA,IAACW,EAAAA,cAAa,CAAC5F,UAAWA,EAAqCR,OAAQ4D,WACrE6B,EAAKY,IAAA,MAAA,CAAAnF,IAAK0B,EAAS/C,SAAG2F,SAqB9B,OAAIR,GACe,UAAbjF,EACK0F,EAAAY,IAACC,EAAKA,MAAA,CAACxG,OAAQkF,GAAYnF,SAAAoG,OAE3BR,EAAAA,IAACc,EAAAA,MAAK,CAAA1G,SAAEoG,OAEL,IAAI"}
1
+ {"version":3,"file":"Popup-059eb48a.js","sources":["../../src/UNSAFE_Popup/Popup.tsx"],"sourcesContent":["import { JSX, RefObject } from 'preact';\nimport { useState, useEffect, useLayoutEffect, useMemo, useRef, useCallback } from 'preact/hooks';\nimport { Floating, Offset, Placement, Coords, FlipOptions, ShiftOptions } from '../UNSAFE_Floating';\nimport {\n FocusableElement,\n focusOn,\n focusWithin,\n getActiveElement\n} from '../utils/PRIVATE_tabbableUtils';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { FocusTrap } from '../UNSAFE_FocusTrap';\nimport { Layer } from '../UNSAFE_Layer';\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay, WindowOverlayPlacement } from '../UNSAFE_WindowOverlay';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { usePopupAnimation } from './usePopupAnimation';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\n\n// Style imports\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { popupVars } from './themes/PopupContract.css';\nimport { getVarName } from '../utils/UNSAFE_stringUtils';\nimport { Property } from 'csstype';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { PopupRedwoodTheme } from './themes/redwood/PopupTheme';\nimport { dimensionInterpolations, DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\nexport type PopupPlacement = Placement | WindowOverlayPlacement;\nexport type OnCloseDetail = {\n reason: 'escapeKey';\n};\nexport type InitialFocus = 'auto' | 'none' | 'popup' | 'firstFocusable';\nexport type Tail = 'none' | 'simple';\nexport type Modality = 'modal' | 'modeless';\n\ntype Props = IntrinsicProps &\n DimensionProps &\n TestIdProps & {\n /**\n * Specifies whether the Popup is open.\n */\n isOpen: boolean;\n /**\n * Specifies Popup's anchor. Popup is placed relatively to its anchor.\n */\n anchorRef?: RefObject<Element | Coords>;\n /**\n * Specifies Popup's launcher. After Popup closes, it returns focus to the launcher.\n */\n launcherRef?: RefObject<HTMLElement>;\n /**\n * Specifies placement of the Popup relative to the anchor.\n */\n placement?: PopupPlacement;\n /**\n * Specifies displacement of the Popup from the anchor element placement along the specified axes.\n * The offset object consists of mainAxis and crossAxis properties. The direction in which these properties\n * are applied depends on the current value of the position property.\n *\n * The <code>mainAxis</code> property represents the distance between the Popup and the anchor.\n * The <code>crossAxis</code> property represents the deviation in the opposite axis to the main axis - the skidding between the Popup and the anchor.\n */\n offset?: Offset;\n /**\n * Specifies modality of the Popup.\n */\n modality?: Modality;\n /**\n * Specifies whether a floating Popup changes placement to the opposite side to be kept in view when a collision is detected.\n *\n * The flipOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n flipOptions?: FlipOptions;\n /**\n * Specifies whether a floating Popup shifts along axis to be kept in view when a collision is detected.\n * Note that if both 'flip' and 'shift' are enabled on respective axis, the flip will take precedence.\n *\n * The shiftOptions object consists of mainAxis and crossAxis properties.\n * The <code>mainAxis</code> runs along the side of the Popup element.\n * The <code>crossAxis</code> runs along the alignment of the Popup element.\n */\n shiftOptions?: ShiftOptions;\n /**\n * Specifies if the Popup sets focus to its content when initially open.\n * A value of none prevents the popup from setting focus when open.\n *\n * <code>auto</code> in modeless mode resolves to none.\n * <code>none</code> prevents the popup from setting focus when open.\n * <code>popup</code> sets focus to the root popup container (good choice for touch platforms).\n * <code>firstFocusable</code> defines that a popup should set focus to the first focusable element within the popup's content.\n */\n initialFocus?: InitialFocus;\n /**\n * Specifies callback triggered when a user clicks outside Popup.\n */\n onClickOutside?: (event: MouseEvent) => void;\n /**\n * Specifies callback triggered when a user tries to close a Popup through UI interaction.\n * The parent should listen to this event and close the Popup. If the parent fails to remove\n * the Popup, then no change will be done in the UI by the component.\n */\n onClose?: (detail: OnCloseDetail) => void;\n /**\n * Specifies callback triggered when initial focus is set or when Popup receives it via F6 key.\n */\n onFocusSet?: () => void;\n /**\n * Specifies Popup's tail. Simple tail is an arrow pointing to Popup's anchor.\n */\n tail?: Tail;\n /**\n * Specifies callback triggered after the animation ends.\n */\n onTransitionEnd?: (value: boolean) => void;\n /**\n * Specifies the ARIA role type. Depending on how the popup is used in the page, the page developer should choose from the following:\n * <code>tooltip</code> defines contextual popup that displays a description for an element. This is added automatically if not already specified.\n * <code>dialog</code> defines an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.\n * <code>alertdialog</code> defines type of dialog that contains an alert message, where initial focus goes to an element within the dialog.\n */\n role?: HTMLAttributesSignalExcluded['role'];\n /**\n * Specifies guidance for screen readers.\n */\n 'aria-label'?: string;\n /**\n * Specifies ID of an element used for guidance for screen readers.\n */\n 'aria-labelledby'?: string;\n /**\n * Specifies ID of an element (or space separated IDs of multiple elements) that\n * describes the Drawer.\n */\n 'aria-describedby'?: string;\n };\n\n/**\n * A popup temporarily 'pops up' content in the foreground.\n */\nexport const Popup = forwardRef(\n (\n {\n anchorRef,\n launcherRef,\n children,\n isOpen = false,\n modality = 'modeless',\n offset = { mainAxis: 0, crossAxis: 0 },\n flipOptions = { mainAxis: true, crossAxis: true },\n shiftOptions = { mainAxis: false, crossAxis: false },\n onClickOutside,\n onClose,\n initialFocus = 'auto',\n placement = anchorRef ? 'top' : 'center',\n tail = 'none',\n onTransitionEnd,\n onFocusSet,\n role = modality === 'modeless' ? 'tooltip' : 'dialog',\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-describedby': ariaDescribedBy,\n testId,\n ...props\n }: Props,\n ref: ForwardedRef<HTMLElement | null>\n ) => {\n const localLauncherRef = useRef<HTMLElement | null>(null);\n const [popupBgColor, setPopupBgColor] = useState<Property.BackgroundColor>();\n\n const contentWrapperRef = useRef<HTMLDivElement | null>(null);\n\n // testId support\n const testIdProps = useTestId(testId);\n\n // We can not merge outsideClick to onClose event with {reason: 'outsideClick'} payload\n // The reason is that we allow outsideClick/autodismiss in modeless mode and\n // we need to detect outsideClick which is\n useOutsideClick({\n isDisabled: !(isOpen && contentWrapperRef.current),\n ref: contentWrapperRef,\n handler: (event) => {\n onClickOutside?.(event);\n }\n });\n\n function launcherKeyDownCallback(event: KeyboardEvent): void {\n if (\n localLauncherRef.current === getActiveElement() &&\n event.code === 'F6' &&\n modality === 'modeless'\n ) {\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n }\n\n const _onTransitionEnd = (isOpen: boolean) => {\n if (isOpen) {\n setInitialFocus();\n onTransitionEnd?.(true);\n } else {\n onTransitionEnd?.(false);\n }\n };\n\n // Animation\n const { setAnimationElementRef, status, onPosition } = usePopupAnimation({\n isOpen,\n isAnimatedOnMount: true,\n onTransitionEnd: _onTransitionEnd,\n placement: placement\n });\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, ref),\n [setAnimationElementRef, ref]\n );\n\n const returnFocus = useCallback((): void => {\n // Try to return focus to 1.launcher or 2.anchor\n const launcherEl = localLauncherRef.current;\n const anchorEl = anchorRef?.current;\n\n if (launcherEl) {\n focusOn(launcherEl);\n // Checking instanceof to avoid Coords type that can not be focused\n } else if (anchorEl && anchorEl instanceof Element) {\n focusOn(anchorEl as FocusableElement);\n }\n }, [localLauncherRef, anchorRef?.current]);\n\n useEffect(() => {\n // Init closing\n if (!isOpen && status === 'opening') {\n // Only actively return focus to the launcher or anchor if the popup contained focus.\n // Otherwise, focus is already elsewhere on the page and should not be forced back\n // because that could reopen the popup again, which essentially prevents the user from\n // moving focus out of the launcher.\n if (contentWrapperRef.current?.contains(getActiveElement())) {\n returnFocus();\n }\n }\n }, [isOpen, status, returnFocus]);\n\n // Initialize launcher\n useEffect(() => {\n if (isOpen) {\n if (!launcherRef?.current) {\n // 1. If launcher is not defined, most frequent scenario is,\n // that element, that has focus before opening a popup is considered launcher\n localLauncherRef.current = getActiveElement() as HTMLElement;\n } else if (launcherRef.current instanceof Element) {\n // 2. launcherRef element was provided.\n // Verify, if it exists in DOM, otherwise use the last active element\n localLauncherRef.current = document.body.contains(launcherRef.current)\n ? launcherRef.current\n : (getActiveElement() as HTMLElement);\n } else {\n localLauncherRef.current = getActiveElement() as HTMLElement;\n }\n // Register F6 key handler to enter the Popup\n localLauncherRef.current?.addEventListener('keydown', launcherKeyDownCallback);\n }\n return () => {\n // Deregister F6 key handler\n localLauncherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);\n };\n }, [isOpen, launcherRef]);\n // Note: unlike oj-c-popup we do not default anchorRef to launcherRef in Preact Popup\n // If anchorRef is undefined, we use WindowOverlay as anchor\n\n const setInitialFocus = () => {\n let derivedInitialFocus = initialFocus;\n if (initialFocus === 'auto') {\n if (modality === 'modal') {\n // modal mode - set focus to first focusable\n derivedInitialFocus = 'firstFocusable';\n } else {\n // modeless mode - do not steal focus by default\n derivedInitialFocus = 'none';\n }\n }\n\n // Case: 'popup'\n // Focus on Popup container\n if (derivedInitialFocus === 'popup') {\n focusOn(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n onTransitionEnd?.(false);\n }\n\n // Case: 'firstFocusable'\n // Focus on first tabbable in the Popup container or container itself if there is none\n if (derivedInitialFocus === 'firstFocusable') {\n focusWithin(contentWrapperRef.current as HTMLElement);\n onFocusSet?.();\n }\n };\n\n const getMainAxisOffset = (offset?: Offset) => {\n let calcOffset = 0;\n if (offset) {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'mainAxis' does not exist on type 'OffsetFunction'.\n calcOffset = typeof offset === 'number' ? offset : offset.mainAxis || 0;\n if (tail === 'simple') {\n calcOffset += 5;\n }\n }\n return calcOffset;\n };\n\n const getCrossAxisOffset = (offset?: Offset) => {\n if (!offset) {\n return 0;\n } else {\n // @ts-ignore as OffsetFunction is going to be removed\n // Property 'crossAxis' does not exist on type 'OffsetFunction'.\n return typeof offset === 'number' ? 0 : offset.crossAxis || 0;\n }\n };\n\n const finalOffset = {\n mainAxis: getMainAxisOffset(offset),\n crossAxis: getCrossAxisOffset(offset)\n };\n\n const handlePopupKeyDown = (event: KeyboardEvent) => {\n const currentlyFocusedEl = getActiveElement();\n const wrapperEl = contentWrapperRef.current;\n const launcherEl = localLauncherRef.current;\n if (wrapperEl === currentlyFocusedEl || wrapperEl?.contains(currentlyFocusedEl)) {\n switch (event.code) {\n case 'Escape': {\n // Trigger onClose event with outside click detail\n onClose?.({ reason: 'escapeKey' });\n break;\n }\n case 'F6':\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n\n // Focus launcher\n if (launcherEl && modality === 'modeless') {\n focusOn(launcherEl);\n }\n break;\n }\n }\n };\n\n useLayoutEffect(() => {\n if (\n status === 'unmounted' ||\n contentWrapperRef.current == null ||\n popupBgColor != null ||\n tail === 'none'\n )\n return;\n\n const backgroundColorVar = getVarName(popupVars.backgroundColor);\n const computedStyle = getComputedStyle(contentWrapperRef.current!);\n setPopupBgColor(computedStyle.getPropertyValue(backgroundColorVar));\n }, [status, contentWrapperRef, popupBgColor, tail]);\n\n // Styles\n const { baseTheme, classes } = useComponentTheme(PopupRedwoodTheme);\n const isMounted = status !== 'unmounted';\n\n const interpolations = [...Object.values(dimensionInterpolations)];\n const styleInterpolations = mergeInterpolations<DimensionProps>(interpolations);\n const { ...styles } = styleInterpolations(props);\n\n const renderPopup = () => {\n return (\n <div\n ref={contentWrapperRef}\n tabIndex={-1}\n role={role}\n className={classNames([baseTheme, classes])}\n style={styles}\n onKeyDown={handlePopupKeyDown}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...testIdProps}>\n {/*Setting restoreFocusRef to false because otherwise FocusTrap is stealing the focus back when :*/}\n {/*we click outside of modeless Popup (that keeps being open).*/}\n <FocusTrap restoreFocusRef={false}>{children}</FocusTrap>\n </div>\n );\n };\n\n const renderFloatingOrOverlayPopup = () => {\n if (!anchorRef || !anchorRef.current) {\n return (\n <WindowOverlay placement={placement as WindowOverlayPlacement} offset={finalOffset}>\n <div ref={stableRef}>{renderPopup()}</div>\n </WindowOverlay>\n );\n } else {\n return (\n <Floating\n ref={stableRef}\n backgroundColor={popupBgColor}\n anchorRef={anchorRef}\n placement={placement as Placement}\n offsetValue={finalOffset}\n flipOptions={flipOptions}\n shiftOptions={shiftOptions}\n tail={tail}\n onPosition={onPosition}>\n {renderPopup()}\n </Floating>\n );\n }\n };\n\n if (isMounted) {\n if (modality === 'modal') {\n return <Modal isOpen={isMounted}>{renderFloatingOrOverlayPopup()}</Modal>;\n } else {\n return <Layer>{renderFloatingOrOverlayPopup()}</Layer>;\n }\n } else return null;\n }\n);\n"],"names":["Popup","forwardRef","anchorRef","launcherRef","children","isOpen","modality","offset","mainAxis","crossAxis","flipOptions","shiftOptions","onClickOutside","onClose","initialFocus","placement","tail","onTransitionEnd","onFocusSet","role","ariaLabel","ariaLabelledBy","ariaDescribedBy","testId","props","ref","localLauncherRef","useRef","popupBgColor","setPopupBgColor","useState","contentWrapperRef","testIdProps","useTestId","launcherKeyDownCallback","event","current","getActiveElement","code","preventDefault","stopPropagation","focusWithin","useOutsideClick","isDisabled","handler","setAnimationElementRef","status","onPosition","usePopupAnimation","isAnimatedOnMount","setInitialFocus","stableRef","useMemo","mergeRefs","returnFocus","useCallback","launcherEl","anchorEl","focusOn","Element","useEffect","contains","document","body","addEventListener","removeEventListener","derivedInitialFocus","finalOffset","calcOffset","getMainAxisOffset","getCrossAxisOffset","handlePopupKeyDown","currentlyFocusedEl","wrapperEl","reason","useLayoutEffect","backgroundColorVar","getVarName","popupVars","backgroundColor","computedStyle","getComputedStyle","getPropertyValue","baseTheme","classes","useComponentTheme","PopupRedwoodTheme","isMounted","interpolations","Object","values","dimensionInterpolations","styleInterpolations","mergeInterpolations","styles","renderPopup","_jsx","tabIndex","className","classNames","style","onKeyDown","FocusTrap","restoreFocusRef","renderFloatingOrOverlayPopup","Floating","offsetValue","WindowOverlay","jsx","Modal","Layer"],"mappings":"knBAkJa,MAAAA,EAAQC,EAAAA,YACnB,EAEIC,YACAC,cACAC,WACAC,UAAS,EACTC,WAAW,WACXC,SAAS,CAAEC,SAAU,EAAGC,UAAW,GACnCC,cAAc,CAAEF,UAAU,EAAMC,WAAW,GAC3CE,eAAe,CAAEH,UAAU,EAAOC,WAAW,GAC7CG,iBACAC,UACAC,eAAe,OACfC,aAAYb,EAAY,MAAQ,UAChCc,OAAO,OACPC,kBACAC,aACAC,QAAoB,aAAbb,EAA0B,UAAY,UAC7C,aAAcc,EACd,kBAAmBC,EACnB,mBAAoBC,EACpBC,YACGC,GAELC,KAEA,MAAMC,EAAmBC,SAA2B,OAC7CC,EAAcC,GAAmBC,EAAQA,WAE1CC,EAAoBJ,SAA8B,MAGlDK,EAAcC,YAAUV,GAa9B,SAASW,EAAwBC,GAE7BT,EAAiBU,UAAYC,sBACd,OAAfF,EAAMG,MACO,aAAbhC,IAIA6B,EAAMI,iBACNJ,EAAMK,kBAENC,cAAYV,EAAkBK,SAC9BlB,MAEH,CAtBDwB,kBAAgB,CACdC,aAActC,GAAU0B,EAAkBK,SAC1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MAKpCoG,GAA+B,IAC9BtG,GAAcA,EAAUkC,QAQzB4D,MAACS,EAAAA,SAAQ,CACPhF,IAAK0B,EACL4B,gBAAiBnD,EACjB1B,UAAWA,EACXa,UAAWA,EACX2F,YAAavC,EACbzD,YAAaA,EACbC,aAAcA,EACdK,KAAMA,EACN+B,WAAYA,EAAU3C,SACrB2F,OAhBHC,EAAAA,IAACW,EAAAA,cAAa,CAAC5F,UAAWA,EAAqCR,OAAQ4D,WACrE6B,EAAKY,IAAA,MAAA,CAAAnF,IAAK0B,EAAS/C,SAAG2F,SAqB9B,OAAIR,GACe,UAAbjF,EACK0F,EAAAY,IAACC,EAAKA,MAAA,CAACxG,OAAQkF,GAAYnF,SAAAoG,OAE3BR,EAAAA,IAACc,EAAAA,MAAK,CAAA1G,SAAEoG,OAEL,IAAI"}
@@ -1,2 +1,2 @@
1
- define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './useUser-85c781ea', './useTranslationBundle-516b1b83', './useComponentTheme-5aa41a8f', './UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme', './LinearMeter-d1e744c1'], (function(e,a,r,s,o,n,t,l){"use strict";const i=({id:e,width:i,edge:d="none",...c})=>{const{classes:u,styles:{valueStyle:m,indeterminate:g,animationStyleLTR:h,animationStyleRTL:v,highContrastValueStyle:x,trackBorderEdgeNone:B,trackBorderEdgeTop:T}}=n.useComponentTheme(t.ProgressBarRedwoodTheme,{edge:"none"===d?d:void 0}),{direction:p,forcedColors:j}=s.useUser(),y=r.classNames([m,g,"rtl"===p?v:h,"active"===j?x:""]),N=o.useTranslationBundle("@oracle/oraclejet-preact"),C={"aria-valuetext":c["aria-valuetext"]||N.progressIndeterminate(),role:"progressbar"},P="active"===j?void 0:"none"===d?B:T;return a.jsx(l.BarTrack,{id:e,ariaProps:C,class:r.classNames([u,P]),length:i,children:a.jsx(l.BarValue,{class:y})})},d=({value:e=0,max:o=100,id:i,width:d,edge:c="none"})=>{const{forcedColors:u}=s.useUser(),{classes:m,styles:{valueStyle:g,highContrastValueStyle:h,trackBorderEdgeNone:v,trackBorderEdgeTop:x}}=n.useComponentTheme(t.ProgressBarRedwoodTheme,{edge:"none"===c?c:void 0}),B=r.classNames([g,"active"===u?h:""]),T=100*Math.min(Math.max(0,e/o),1)+"%",p={};return p["aria-valuemin"]=null!=e?0:void 0,p["aria-valuemax"]=null!=e?o:void 0,p["aria-valuenow"]=null!=e?e:void 0,p.role="progressbar",a.jsx(l.BarTrack,{ariaProps:p,id:i,length:d,class:r.classNames([m,"none"===c?v:x]),children:a.jsx(l.BarValue,{class:B,length:T})})};e.ProgressBar=function({value:e,max:r,...s}){return"indeterminate"===e?a.jsx(i,{...s}):a.jsx(d,{value:e,max:r,...s})}}));
2
- //# sourceMappingURL=ProgressBar-d7cfdb63.js.map
1
+ define(['exports', 'preact/jsx-runtime', './classNames-08d99695', './useUser-3ef25571', './useTranslationBundle-d07d4b20', './useComponentTheme-5aa41a8f', './UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme', './LinearMeter-d1e744c1'], (function(e,a,r,s,o,n,t,l){"use strict";const i=({id:e,width:i,edge:d="none",...c})=>{const{classes:u,styles:{valueStyle:m,indeterminate:g,animationStyleLTR:h,animationStyleRTL:v,highContrastValueStyle:x,trackBorderEdgeNone:B,trackBorderEdgeTop:T}}=n.useComponentTheme(t.ProgressBarRedwoodTheme,{edge:"none"===d?d:void 0}),{direction:p,forcedColors:j}=s.useUser(),y=r.classNames([m,g,"rtl"===p?v:h,"active"===j?x:""]),N=o.useTranslationBundle("@oracle/oraclejet-preact"),f={"aria-valuetext":c["aria-valuetext"]||N.progressIndeterminate(),role:"progressbar"},C="active"===j?void 0:"none"===d?B:T;return a.jsx(l.BarTrack,{id:e,ariaProps:f,class:r.classNames([u,C]),length:i,children:a.jsx(l.BarValue,{class:y})})},d=({value:e=0,max:o=100,id:i,width:d,edge:c="none"})=>{const{forcedColors:u}=s.useUser(),{classes:m,styles:{valueStyle:g,highContrastValueStyle:h,trackBorderEdgeNone:v,trackBorderEdgeTop:x}}=n.useComponentTheme(t.ProgressBarRedwoodTheme,{edge:"none"===c?c:void 0}),B=r.classNames([g,"active"===u?h:""]),T=100*Math.min(Math.max(0,e/o),1)+"%",p={};return p["aria-valuemin"]=null!=e?0:void 0,p["aria-valuemax"]=null!=e?o:void 0,p["aria-valuenow"]=null!=e?e:void 0,p.role="progressbar",a.jsx(l.BarTrack,{ariaProps:p,id:i,length:d,class:r.classNames([m,"none"===c?v:x]),children:a.jsx(l.BarValue,{class:B,length:T})})};e.ProgressBar=function({value:e,max:r,...s}){return"indeterminate"===e?a.jsx(i,{...s}):a.jsx(d,{value:e,max:r,...s})}}));
2
+ //# sourceMappingURL=ProgressBar-479b35e5.js.map