@oracle/oraclejet-preact 18.1.0 → 18.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1479) hide show
  1. package/amd/ActionCard-e560d08b.js +1 -1
  2. package/amd/BarChart-c0ba5b12.js +1 -1
  3. package/amd/BarGroup-b02506a8.js +1 -1
  4. package/amd/BaseButton-c6563bf2.js +1 -1
  5. package/amd/BaseCardView-e75594df.js +1 -1
  6. package/amd/BaseCardViewSelectionTest-b3d54b34.js +2 -0
  7. package/amd/BaseCardViewSelectionTest-b3d54b34.js.map +1 -0
  8. package/amd/BaseNavigationListItem-f2b9ae77.js +2 -0
  9. package/amd/BaseNavigationListItem-f2b9ae77.js.map +1 -0
  10. package/amd/BaseRichSelection-65bb6f89.js +1 -1
  11. package/amd/ButtonSet-3459b0e6.js +1 -1
  12. package/amd/ButtonSetIconButton-5b13a4c9.js +1 -1
  13. package/amd/Card-8fd9b2c8.js +2 -0
  14. package/amd/Card-8fd9b2c8.js.map +1 -0
  15. package/amd/Center-567b111f.js +2 -0
  16. package/amd/Center-567b111f.js.map +1 -0
  17. package/amd/Chart-c3a5a93d.js +1 -1
  18. package/amd/CheckboxControl-f3a606fe.js +1 -1
  19. package/amd/CheckboxRadioField-48d4dc4e.js +1 -1
  20. package/amd/Chip-e007a488.js +1 -1
  21. package/amd/ClearIcon-d0412ffa.js +1 -1
  22. package/amd/CollapseIcon-6d62b080.js +1 -1
  23. package/amd/Collapsible-8608500c.js +1 -1
  24. package/amd/ComboChart-cec2713a.js +1 -1
  25. package/amd/CompactHelpSource-e5b889f6.js +1 -1
  26. package/amd/CompactLabelAssistance-cd404d92.js +2 -0
  27. package/amd/CompactLabelAssistance-cd404d92.js.map +1 -0
  28. package/amd/CompactUserAssistance-eb849bc5.js +1 -1
  29. package/amd/ComponentMessageContainer-8198785a.js +1 -1
  30. package/amd/ConveyorBeltItem-297444a1.js +1 -1
  31. package/amd/DatePicker-e0e728f9.js +2 -0
  32. package/amd/DatePicker-e0e728f9.js.map +1 -0
  33. package/amd/DatePickerHeader-1f419e06.js +1 -1
  34. package/amd/Diagram-eb0ab8fb.js +2 -0
  35. package/amd/Diagram-eb0ab8fb.js.map +1 -0
  36. package/amd/Dialog-cd6713a4.js +2 -0
  37. package/amd/Dialog-cd6713a4.js.map +1 -0
  38. package/amd/DirectionalCollapseArrowIcon-58352e0f.js +1 -1
  39. package/amd/DirectionalExpandArrowIcon-56420acb.js +1 -1
  40. package/amd/DragHandle-0798a29c.js +2 -0
  41. package/amd/DragHandle-0798a29c.js.map +1 -0
  42. package/amd/DrawerPopup-439787de.js +2 -0
  43. package/amd/DrawerPopup-439787de.js.map +1 -0
  44. package/amd/Dropdown-fb803c67.js +2 -0
  45. package/amd/Dropdown-fb803c67.js.map +1 -0
  46. package/amd/EnvironmentProvider-d423bca9.js +2 -0
  47. package/amd/EnvironmentProvider-d423bca9.js.map +1 -0
  48. package/amd/ExpandableList-81f7f34d.js +1 -1
  49. package/amd/FilePicker-e0b7a348.js +1 -1
  50. package/amd/Flex-a208520e.js +2 -0
  51. package/amd/Flex-a208520e.js.map +1 -0
  52. package/amd/Floating-043a207a.js +2 -0
  53. package/amd/Floating-043a207a.js.map +1 -0
  54. package/amd/FormLayout-d7998ba5.js +1 -1
  55. package/amd/Gantt-a286e1a6.js +1 -1
  56. package/amd/Grid-3dd364a1.js +2 -0
  57. package/amd/Grid-3dd364a1.js.map +1 -0
  58. package/amd/Gridlines-3c00961a.js +2 -0
  59. package/amd/Gridlines-3c00961a.js.map +1 -0
  60. package/amd/GroupLoadingIndicator-6c6743b0.js +1 -1
  61. package/amd/HighlightText-b3c31e12.js +2 -0
  62. package/amd/HighlightText-b3c31e12.js.map +1 -0
  63. package/amd/Icon-906e4e3c.js +1 -1
  64. package/amd/IconButton-c2e5c1c5.js +1 -1
  65. package/amd/IconMenuButton-caf797c1.js +1 -1
  66. package/amd/IconProgressButton-d8c0c306.js +1 -1
  67. package/amd/IconSwitchButton-e6c5b20f.js +1 -1
  68. package/amd/IconToggleButton-e6c77f31.js +1 -1
  69. package/amd/IconUserAssistance-456f4b11.js +2 -0
  70. package/amd/IconUserAssistance-456f4b11.js.map +1 -0
  71. package/amd/Indexer-21549baf.js +1 -1
  72. package/amd/InlineHelpSource-80327d99.js +1 -1
  73. package/amd/InlineUserAssistance-d208ce7b.js +1 -1
  74. package/amd/InputDateMask-4157ef60.js +1 -1
  75. package/amd/InputDatePicker-84b302ea.js +2 -0
  76. package/amd/InputDatePicker-84b302ea.js.map +1 -0
  77. package/amd/InputPassword-868ad3bb.js +1 -1
  78. package/amd/InputText-2cd1e067.js +1 -1
  79. package/amd/Label-a53aabb9.js +1 -1
  80. package/amd/LabelValueLayout-6da5829a.js +1 -1
  81. package/amd/Layer-2ca542c2.js +2 -0
  82. package/amd/Layer-2ca542c2.js.map +1 -0
  83. package/amd/LayerHost-a36b1781.js +2 -0
  84. package/amd/LayerHost-a36b1781.js.map +1 -0
  85. package/amd/LayerManager-543c0bce.js +2 -0
  86. package/amd/LayerManager-543c0bce.js.map +1 -0
  87. package/amd/Legend-75b03ff3.js +1 -1
  88. package/amd/LineAreaChart-a6914d16.js +2 -0
  89. package/amd/LineAreaChart-a6914d16.js.map +1 -0
  90. package/amd/LineSeries-9ddf061e.js +2 -0
  91. package/amd/LineSeries-9ddf061e.js.map +1 -0
  92. package/amd/Link-ded379d9.js +1 -1
  93. package/amd/List-5797be06.js +1 -1
  94. package/amd/ListItemLayout-853acaaf.js +2 -0
  95. package/amd/ListItemLayout-853acaaf.js.map +1 -0
  96. package/amd/ListView-51898222.js +1 -1
  97. package/amd/LiveRegion-38fa0df8.js +2 -0
  98. package/amd/LiveRegion-38fa0df8.js.map +1 -0
  99. package/amd/MaxLengthLiveRegion-40be44ee.js +2 -0
  100. package/amd/MaxLengthLiveRegion-40be44ee.js.map +1 -0
  101. package/amd/Menu-bdd771bf.js +1 -1
  102. package/amd/MenuButton-da59eed0.js +1 -1
  103. package/amd/MenuItem-dc85fcad.js +1 -1
  104. package/amd/Message-d34eaeb6.js +1 -1
  105. package/amd/MessageLayer-4d17f62f.js +2 -0
  106. package/amd/MessageLayer-4d17f62f.js.map +1 -0
  107. package/amd/MessageToast-39315d42.js +1 -1
  108. package/amd/MessagesManager-8af1b1ee.js +1 -1
  109. package/amd/MeterBar-10ec0c50.js +1 -1
  110. package/amd/MeterCircle-cce2cb51.js +1 -1
  111. package/amd/Modal-21aed044.js +2 -0
  112. package/amd/Modal-21aed044.js.map +1 -0
  113. package/amd/MonthView-d4c06203.js +2 -0
  114. package/amd/MonthView-d4c06203.js.map +1 -0
  115. package/amd/NavigationList-6ca9cfba.js +2 -0
  116. package/amd/NavigationList-6ca9cfba.js.map +1 -0
  117. package/amd/NavigationListItem-43b6130b.js +2 -0
  118. package/amd/NavigationListItem-43b6130b.js.map +1 -0
  119. package/amd/NumberInputText-66e2d7d1.js +1 -1
  120. package/amd/OverflowTabBar-127659f1.js +2 -0
  121. package/amd/OverflowTabBar-127659f1.js.map +1 -0
  122. package/amd/OverflowTabBarItem-5404d133.js +2 -0
  123. package/amd/OverflowTabBarItem-5404d133.js.map +1 -0
  124. package/amd/PRIVATE_BaseCardView.js +1 -1
  125. package/amd/PRIVATE_Chart.js +1 -1
  126. package/amd/PRIVATE_CheckboxControl.js +1 -1
  127. package/amd/PRIVATE_CheckboxRadioField.js +1 -1
  128. package/amd/PRIVATE_ClearIcon.js +1 -1
  129. package/amd/PRIVATE_DatePickerHeader.js +1 -1
  130. package/amd/PRIVATE_DatePickerLayout.js +1 -1
  131. package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
  132. package/amd/PRIVATE_FormControls.js +1 -1
  133. package/amd/PRIVATE_IconSwitchButton.js +1 -1
  134. package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
  135. package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
  136. package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
  137. package/amd/PRIVATE_Icons/DragV.js +1 -1
  138. package/amd/PRIVATE_Icons/WarningS.js +1 -1
  139. package/amd/PRIVATE_List.js +1 -1
  140. package/amd/PRIVATE_Message.js +1 -1
  141. package/amd/PRIVATE_MessageLayer.js +1 -1
  142. package/amd/PRIVATE_MonthView.js +1 -1
  143. package/amd/PRIVATE_MonthYearGridView.js +1 -1
  144. package/amd/PRIVATE_PlotArea.js +1 -1
  145. package/amd/PRIVATE_RevealToggleIcon.js +1 -1
  146. package/amd/PRIVATE_RichSelectionCommon.js +1 -1
  147. package/amd/PRIVATE_SelectCommon.js +1 -1
  148. package/amd/PRIVATE_StyledCard.js +1 -1
  149. package/amd/PRIVATE_StyledCheckbox.js +1 -1
  150. package/amd/PRIVATE_Table.js +1 -1
  151. package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
  152. package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
  153. package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
  154. package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
  155. package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
  156. package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
  157. package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
  158. package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
  159. package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
  160. package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
  161. package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
  162. package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
  163. package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
  164. package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
  165. package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
  166. package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
  167. package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
  168. package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
  169. package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
  170. package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
  171. package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
  172. package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
  173. package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
  174. package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
  175. package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
  176. package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
  177. package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
  178. package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
  179. package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
  180. package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
  181. package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
  182. package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
  183. package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
  184. package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
  185. package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
  186. package/amd/PRIVATE_TimeComponent.js +1 -1
  187. package/amd/PRIVATE_VisOverview.js +1 -1
  188. package/amd/PRIVATE_VisTabularDatatip.js +1 -1
  189. package/amd/PictoChart-952582dd.js +1 -1
  190. package/amd/PieChart-7826bf45.js +1 -1
  191. package/amd/Popup-92dfc51f.js +2 -0
  192. package/amd/Popup-92dfc51f.js.map +1 -0
  193. package/amd/ProgressBar-2087dde3.js +2 -0
  194. package/amd/ProgressBar-2087dde3.js.map +1 -0
  195. package/amd/ProgressButton-b830eead.js +1 -1
  196. package/amd/ProgressButtonLabelLayout-5404f190.js +1 -1
  197. package/amd/ProgressCircle-5709a095.js +2 -0
  198. package/amd/ProgressCircle-5709a095.js.map +1 -0
  199. package/amd/RadioItem-b159fce3.js +1 -1
  200. package/amd/RatingGauge-27c01e2c.js +1 -1
  201. package/amd/ReadonlyTextFieldInput-b8ee28da.js +1 -1
  202. package/amd/RemovableNavigationListItem-110f19ed.js +2 -0
  203. package/amd/RemovableNavigationListItem-110f19ed.js.map +1 -0
  204. package/amd/RemovableTabBarItem-3792c8fd.js +1 -1
  205. package/amd/ReorderableTabBar-d6720955.js +2 -0
  206. package/amd/ReorderableTabBar-d6720955.js.map +1 -0
  207. package/amd/RevealToggleIcon-e5bc966f.js +1 -1
  208. package/amd/ScatterChart-a7d49c89.js +2 -0
  209. package/amd/ScatterChart-a7d49c89.js.map +1 -0
  210. package/amd/SectionalLegend-e9c72ba8.js +1 -1
  211. package/amd/SectionedContent-5d5ff5b9.js +2 -0
  212. package/amd/SectionedContent-5d5ff5b9.js.map +1 -0
  213. package/amd/SelectMultiple-05de2e07.js +1 -1
  214. package/amd/SelectSingle-9e6bde58.js +1 -1
  215. package/amd/SelectionCard-977be789.js +2 -0
  216. package/amd/SelectionCard-977be789.js.map +1 -0
  217. package/amd/Selector-b67fe1ef.js +1 -1
  218. package/amd/SelectorAll-face9708.js +2 -0
  219. package/amd/SelectorAll-face9708.js.map +1 -0
  220. package/amd/Sheet-23307184.js +2 -0
  221. package/amd/Sheet-23307184.js.map +1 -0
  222. package/amd/SplitMenuButton-8d873373.js +1 -1
  223. package/amd/StyledCard-5c9cee13.js +2 -0
  224. package/amd/StyledCard-5c9cee13.js.map +1 -0
  225. package/amd/StyledLabelValueLayout-ddf48667.js +2 -0
  226. package/amd/StyledLabelValueLayout-ddf48667.js.map +1 -0
  227. package/amd/StyledTextField-3398bf94.js +1 -1
  228. package/amd/TabBar-3a35b525.js +2 -0
  229. package/amd/TabBar-3a35b525.js.map +1 -0
  230. package/amd/TabBarItem-04031938.js +1 -1
  231. package/amd/TabBarLayout-de1e43f5.js +1 -1
  232. package/amd/TabBarMixed-28b62328.js +2 -0
  233. package/amd/TabBarMixed-28b62328.js.map +1 -0
  234. package/amd/TabBarMixedSeparator-bd0668c3.js +2 -0
  235. package/amd/TabBarMixedSeparator-bd0668c3.js.map +1 -0
  236. package/amd/Table-d8edded4.js +1 -1
  237. package/amd/TagCloud-057fa603.js +1 -1
  238. package/amd/TextArea-8dcf6809.js +1 -1
  239. package/amd/TextAreaAutosize-97aba344.js +1 -1
  240. package/amd/TextField-80908a0d.js +1 -1
  241. package/amd/TextFieldInput-ca306ad6.js +1 -1
  242. package/amd/Theme-redwood/theme.css +249 -249
  243. package/amd/Theme-stable/theme.css +369 -369
  244. package/amd/TimeComponentCanvas2D-9a091053.js +1 -1
  245. package/amd/Toolbar-250d0ce7.js +1 -1
  246. package/amd/TruncatingBadge-6c7674e0.js +1 -1
  247. package/amd/TruncatingText-24914f42.js +1 -1
  248. package/amd/UNSAFE_ActionCard.js +1 -1
  249. package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
  250. package/amd/UNSAFE_BarChart.js +1 -1
  251. package/amd/UNSAFE_BaseButton.js +1 -1
  252. package/amd/UNSAFE_Button.js +1 -1
  253. package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
  254. package/amd/UNSAFE_ButtonSet.js +1 -1
  255. package/amd/UNSAFE_ButtonSetButton.js +1 -1
  256. package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
  257. package/amd/UNSAFE_ButtonSetItem.js +1 -1
  258. package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
  259. package/amd/UNSAFE_ButtonSetSingle.js +1 -1
  260. package/amd/UNSAFE_Card.js +1 -1
  261. package/amd/UNSAFE_CardFlexView.js +1 -1
  262. package/amd/UNSAFE_CardGridView.js +1 -1
  263. package/amd/UNSAFE_Center.js +1 -1
  264. package/amd/UNSAFE_Checkbox.js +1 -1
  265. package/amd/UNSAFE_CheckboxItem.js +1 -1
  266. package/amd/UNSAFE_CheckboxSet.js +1 -1
  267. package/amd/UNSAFE_Chip.js +1 -1
  268. package/amd/UNSAFE_Collapsible.js +1 -1
  269. package/amd/UNSAFE_ComboChart.js +1 -1
  270. package/amd/UNSAFE_ComponentMessage.js +1 -1
  271. package/amd/UNSAFE_ConveyorBelt.js +1 -1
  272. package/amd/UNSAFE_DatePicker.js +1 -1
  273. package/amd/UNSAFE_Diagram.js +1 -1
  274. package/amd/UNSAFE_Dialog.js +1 -1
  275. package/amd/UNSAFE_DragHandle.js +1 -1
  276. package/amd/UNSAFE_DrawerLayout.js +1 -1
  277. package/amd/UNSAFE_DrawerPopup.js +1 -1
  278. package/amd/UNSAFE_Dropdown.js +1 -1
  279. package/amd/UNSAFE_Environment.js +1 -1
  280. package/amd/UNSAFE_ExpandableList.js +1 -1
  281. package/amd/UNSAFE_FilePicker.js +1 -1
  282. package/amd/UNSAFE_Flex.js +1 -1
  283. package/amd/UNSAFE_Floating.js +1 -1
  284. package/amd/UNSAFE_FormLayout.js +1 -1
  285. package/amd/UNSAFE_Gantt.js +1 -1
  286. package/amd/UNSAFE_Grid.js +1 -1
  287. package/amd/UNSAFE_HighlightText.js +1 -1
  288. package/amd/UNSAFE_Icon.js +1 -1
  289. package/amd/UNSAFE_IconButton.js +1 -1
  290. package/amd/UNSAFE_IconMenuButton.js +1 -1
  291. package/amd/UNSAFE_IconProgressButton.js +1 -1
  292. package/amd/UNSAFE_IconToggleButton.js +1 -1
  293. package/amd/UNSAFE_Indexer.js +1 -1
  294. package/amd/UNSAFE_InputDateMask.js +1 -1
  295. package/amd/UNSAFE_InputDatePicker.js +1 -1
  296. package/amd/UNSAFE_InputPassword.js +1 -1
  297. package/amd/UNSAFE_InputSensitiveText.js +1 -1
  298. package/amd/UNSAFE_InputText.js +1 -1
  299. package/amd/UNSAFE_InputTimeMask.js +1 -1
  300. package/amd/UNSAFE_Label.js +1 -1
  301. package/amd/UNSAFE_LabelValueLayout.js +1 -1
  302. package/amd/UNSAFE_LabelledLink.js +1 -1
  303. package/amd/UNSAFE_Layer.js +1 -1
  304. package/amd/UNSAFE_Legend.js +1 -1
  305. package/amd/UNSAFE_LineAreaChart.js +1 -1
  306. package/amd/UNSAFE_Link.js +1 -1
  307. package/amd/UNSAFE_ListItemLayout.js +1 -1
  308. package/amd/UNSAFE_ListView.js +1 -1
  309. package/amd/UNSAFE_LiveRegion.js +1 -1
  310. package/amd/UNSAFE_Menu.js +1 -1
  311. package/amd/UNSAFE_MenuButton.js +1 -1
  312. package/amd/UNSAFE_MessageBanner.js +1 -1
  313. package/amd/UNSAFE_MessageToast.js +1 -1
  314. package/amd/UNSAFE_MeterBar.js +1 -1
  315. package/amd/UNSAFE_MeterCircle.js +1 -1
  316. package/amd/UNSAFE_Modal.js +1 -1
  317. package/amd/UNSAFE_NavigationList.js +1 -1
  318. package/amd/UNSAFE_NavigationListCommon.js +1 -1
  319. package/amd/UNSAFE_NumberInputText.js +1 -1
  320. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  321. package/amd/UNSAFE_PictoChart.js +1 -1
  322. package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
  323. package/amd/UNSAFE_PieChart.js +1 -1
  324. package/amd/UNSAFE_Popup.js +1 -1
  325. package/amd/UNSAFE_ProgressBar.js +1 -1
  326. package/amd/UNSAFE_ProgressButton.js +1 -1
  327. package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
  328. package/amd/UNSAFE_ProgressCircle.js +1 -1
  329. package/amd/UNSAFE_RadioItem.js +1 -1
  330. package/amd/UNSAFE_RadioSet.js +1 -1
  331. package/amd/UNSAFE_RatingGauge.js +1 -1
  332. package/amd/UNSAFE_ReorderableTabBar.js +1 -1
  333. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  334. package/amd/UNSAFE_RichRadioSet.js +1 -1
  335. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  336. package/amd/UNSAFE_ScatterChart.js +1 -1
  337. package/amd/UNSAFE_SectionalLegend.js +1 -1
  338. package/amd/UNSAFE_SelectMultiple.js +1 -1
  339. package/amd/UNSAFE_SelectSingle.js +1 -1
  340. package/amd/UNSAFE_SelectionCard.js +1 -1
  341. package/amd/UNSAFE_Selector.js +1 -1
  342. package/amd/UNSAFE_SelectorAll.js +1 -1
  343. package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
  344. package/amd/UNSAFE_Sheet.js +1 -1
  345. package/amd/UNSAFE_SplitMenuButton.js +1 -1
  346. package/amd/UNSAFE_TabBar.js +1 -1
  347. package/amd/UNSAFE_TabBarCommon.js +1 -1
  348. package/amd/UNSAFE_TabBarMixed.js +1 -1
  349. package/amd/UNSAFE_TableView.js +1 -1
  350. package/amd/UNSAFE_TagCloud.js +1 -1
  351. package/amd/UNSAFE_TextArea.js +1 -1
  352. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  353. package/amd/UNSAFE_TextField.js +1 -1
  354. package/amd/UNSAFE_ToggleButton.js +1 -1
  355. package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
  356. package/amd/UNSAFE_Toolbar.js +1 -1
  357. package/amd/UNSAFE_Train.js +1 -1
  358. package/amd/UNSAFE_TruncatingBadge.js +1 -1
  359. package/amd/UNSAFE_TruncatingText.js +1 -1
  360. package/amd/UNSAFE_UserAssistance.js +1 -1
  361. package/amd/UNSAFE_View.js +1 -1
  362. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  363. package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
  364. package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
  365. package/amd/UNSAFE_VisStatusMessage.js +1 -1
  366. package/amd/UNSAFE_WindowOverlay.js +1 -1
  367. package/amd/View-e15784b7.js +2 -0
  368. package/amd/View-e15784b7.js.map +1 -0
  369. package/amd/VisNoData-ac5880b9.js +2 -0
  370. package/amd/VisNoData-ac5880b9.js.map +1 -0
  371. package/amd/VisProgressiveLoader-01e7a1a8.js +2 -0
  372. package/amd/VisProgressiveLoader-01e7a1a8.js.map +1 -0
  373. package/amd/VisTabularDatatip-8e572ce2.js +2 -0
  374. package/amd/VisTabularDatatip-8e572ce2.js.map +1 -0
  375. package/amd/WindowOverlay-3d31f35a.js +2 -0
  376. package/amd/WindowOverlay-3d31f35a.js.map +1 -0
  377. package/amd/YearsGridView-f7ae554d.js +2 -0
  378. package/amd/YearsGridView-f7ae554d.js.map +1 -0
  379. package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
  380. package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
  381. package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
  382. package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
  383. package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
  384. package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
  385. package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
  386. package/amd/hooks/PRIVATE_useCssVars.js +1 -1
  387. package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
  388. package/amd/hooks/PRIVATE_useDatatip.js +1 -1
  389. package/amd/hooks/PRIVATE_useFloating.js +1 -1
  390. package/amd/hooks/PRIVATE_useReorderable.js +1 -1
  391. package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
  392. package/amd/hooks/PRIVATE_useSelection.js +1 -1
  393. package/amd/hooks/PRIVATE_useTabBar.js +1 -1
  394. package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
  395. package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
  396. package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
  397. package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
  398. package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
  399. package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
  400. package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
  401. package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
  402. package/amd/hooks/UNSAFE_useDensity.js +1 -1
  403. package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
  404. package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
  405. package/amd/hooks/UNSAFE_useScale.js +1 -1
  406. package/amd/hooks/UNSAFE_useTestId.js +1 -1
  407. package/amd/hooks/UNSAFE_useTheme.js +1 -1
  408. package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
  409. package/amd/hooks/UNSAFE_useTooltip.js +1 -1
  410. package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
  411. package/amd/hooks/UNSAFE_useUser.js +1 -1
  412. package/amd/index-191c944d.js +2 -0
  413. package/amd/index-191c944d.js.map +1 -0
  414. package/amd/listViewSelectionTests-338c9a81.js +1 -1
  415. package/amd/popupUtils-2308a848.js +2 -0
  416. package/amd/popupUtils-2308a848.js.map +1 -0
  417. package/amd/render-436a0489.js +2 -0
  418. package/amd/render-436a0489.js.map +1 -0
  419. package/amd/tabbableUtils-dcf7c977.js +2 -0
  420. package/amd/tabbableUtils-dcf7c977.js.map +1 -0
  421. package/amd/testData-69541e84.js +2 -0
  422. package/amd/testData-69541e84.js.map +1 -0
  423. package/amd/tooltipUtils-cf586837.js +2 -0
  424. package/amd/tooltipUtils-cf586837.js.map +1 -0
  425. package/amd/useCellNavigation-dcf1584f.js +1 -1
  426. package/amd/useChartContextMenu-79ff2c41.js +1 -1
  427. package/amd/useChartDatatip-f3574090.js +2 -0
  428. package/amd/useChartDatatip-f3574090.js.map +1 -0
  429. package/amd/useColorScheme-47c8be99.js +2 -0
  430. package/amd/useColorScheme-47c8be99.js.map +1 -0
  431. package/amd/useContextMenu-599ada89.js +1 -1
  432. package/amd/useCssVars-0b95ef7d.js +2 -0
  433. package/amd/useCssVars-0b95ef7d.js.map +1 -0
  434. package/amd/useCurrentBgColor-7e1d99fb.js +2 -0
  435. package/amd/useCurrentBgColor-7e1d99fb.js.map +1 -0
  436. package/amd/useCurrentKey-6e7057d0.js +2 -0
  437. package/amd/useCurrentKey-6e7057d0.js.map +1 -0
  438. package/amd/useDatatip-0c425460.js +2 -0
  439. package/amd/useDatatip-0c425460.js.map +1 -0
  440. package/amd/useDensity-5cfdc56a.js +2 -0
  441. package/amd/useDensity-5cfdc56a.js.map +1 -0
  442. package/amd/useFloating-3f7a017b.js +2 -0
  443. package/amd/useFloating-3f7a017b.js.map +1 -0
  444. package/amd/useKeyboardEvents-f1abb59c.js +2 -0
  445. package/amd/useKeyboardEvents-f1abb59c.js.map +1 -0
  446. package/amd/useLegendContextMenu-e050a6ec.js +1 -1
  447. package/amd/useMeterDatatip-d4ac4181.js +2 -0
  448. package/amd/useMeterDatatip-d4ac4181.js.map +1 -0
  449. package/amd/useNavigationListItem-d79484b7.js +2 -0
  450. package/amd/useNavigationListItem-d79484b7.js.map +1 -0
  451. package/amd/useOutsideClick-fc4dc457.js +2 -0
  452. package/amd/useOutsideClick-fc4dc457.js.map +1 -0
  453. package/amd/usePopupAnimation-b6303252.js +2 -0
  454. package/amd/usePopupAnimation-b6303252.js.map +1 -0
  455. package/amd/usePrefixSuffix-582e16a2.js +2 -0
  456. package/amd/usePrefixSuffix-582e16a2.js.map +1 -0
  457. package/amd/useReorderableItem-fd5a7b07.js +2 -0
  458. package/amd/useReorderableItem-fd5a7b07.js.map +1 -0
  459. package/amd/useRovingTabIndexContainer-f72b17ab.js +2 -0
  460. package/amd/useRovingTabIndexContainer-f72b17ab.js.map +1 -0
  461. package/amd/useScale-b2f29348.js +2 -0
  462. package/amd/useScale-b2f29348.js.map +1 -0
  463. package/amd/useSelectCommon-736de0ee.js +1 -1
  464. package/amd/useSelectDrill-6b0b6da7.js +2 -0
  465. package/amd/useSelectDrill-6b0b6da7.js.map +1 -0
  466. package/amd/useSelection-02c4c0c0.js +2 -0
  467. package/amd/useSelection-02c4c0c0.js.map +1 -0
  468. package/amd/useSelection-5128f1e7.js +2 -0
  469. package/amd/useSelection-5128f1e7.js.map +1 -0
  470. package/amd/useTabBar-b1536c9a.js +1 -1
  471. package/amd/useTestId-efb1c8f9.js +2 -0
  472. package/amd/useTestId-efb1c8f9.js.map +1 -0
  473. package/amd/useTheme-a99513fe.js +2 -0
  474. package/amd/useTheme-a99513fe.js.map +1 -0
  475. package/amd/useThemeInterpolations-93c8c4c0.js +2 -0
  476. package/amd/useThemeInterpolations-93c8c4c0.js.map +1 -0
  477. package/amd/useTooltip-c10bcc4e.js +2 -0
  478. package/amd/useTooltip-c10bcc4e.js.map +1 -0
  479. package/amd/useTooltipOnTruncation-a913ba8a.js +2 -0
  480. package/amd/useTooltipOnTruncation-a913ba8a.js.map +1 -0
  481. package/amd/useTranslationBundle-33399171.js +2 -0
  482. package/amd/useTranslationBundle-33399171.js.map +1 -0
  483. package/amd/useUser-33136570.js +2 -0
  484. package/amd/useUser-33136570.js.map +1 -0
  485. package/amd/useVisDragModeControls-120076e9.js +1 -1
  486. package/amd/useVisEvents-bc470edf.js +2 -0
  487. package/amd/useVisEvents-bc470edf.js.map +1 -0
  488. package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
  489. package/amd/utils/PRIVATE_visTestUtils.js +1 -1
  490. package/amd/utils/UNSAFE_popupUtils.js +1 -1
  491. package/amd/withDirectionIcon-56788c71.js +2 -0
  492. package/amd/withDirectionIcon-56788c71.js.map +1 -0
  493. package/amd/withThemeProps-5ba8f3bc.js +1 -1
  494. package/cjs/BaseCardView-dc51267e.js +687 -0
  495. package/cjs/BaseCardView-dc51267e.js.map +1 -0
  496. package/cjs/CardFlexView-9393e48c.js +29 -0
  497. package/cjs/CardFlexView-9393e48c.js.map +1 -0
  498. package/cjs/CardGridView-e796ff9d.js +17 -0
  499. package/cjs/CardGridView-e796ff9d.js.map +1 -0
  500. package/cjs/CheckboxSetContext-c62db26d.js +12 -0
  501. package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
  502. package/cjs/ExpandableList-2182c2f3.js +1 -1
  503. package/cjs/GroupLoadingIndicator-eea4bd1d.js +1 -1
  504. package/cjs/Indexer-034ba277.js +339 -0
  505. package/cjs/Indexer-034ba277.js.map +1 -0
  506. package/cjs/List-46cdf470.js +723 -0
  507. package/cjs/List-46cdf470.js.map +1 -0
  508. package/cjs/ListView-0ec2afbc.js +430 -0
  509. package/cjs/ListView-0ec2afbc.js.map +1 -0
  510. package/cjs/LoadMoreCollection-73112ff0.js +34 -0
  511. package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
  512. package/cjs/PRIVATE_BaseCardView.js +3 -3
  513. package/cjs/PRIVATE_List.js +4 -4
  514. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  515. package/cjs/PRIVATE_SelectCommon.js +5 -5
  516. package/cjs/PRIVATE_Table.js +3 -3
  517. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  518. package/cjs/SelectMultiple-f12df023.js +1299 -0
  519. package/cjs/SelectMultiple-f12df023.js.map +1 -0
  520. package/cjs/SelectSingle-244f066d.js +732 -0
  521. package/cjs/SelectSingle-244f066d.js.map +1 -0
  522. package/cjs/Table-687c28a1.js +5499 -0
  523. package/cjs/Table-687c28a1.js.map +1 -0
  524. package/cjs/TableView-8a2c3a0a.js +33 -0
  525. package/cjs/TableView-8a2c3a0a.js.map +1 -0
  526. package/cjs/TextArea-dcfbeab0.js +180 -0
  527. package/cjs/TextArea-dcfbeab0.js.map +1 -0
  528. package/cjs/TextAreaAutosize-fa21ae31.js +246 -0
  529. package/cjs/TextAreaAutosize-fa21ae31.js.map +1 -0
  530. package/cjs/Theme-redwood/theme.css +186 -186
  531. package/cjs/Theme-stable/theme.css +380 -380
  532. package/cjs/UNSAFE_CardFlexView.js +4 -4
  533. package/cjs/UNSAFE_CardGridView.js +4 -4
  534. package/cjs/UNSAFE_CheckboxItem.js +30 -82
  535. package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
  536. package/cjs/UNSAFE_CheckboxSet.js +44 -15
  537. package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
  538. package/cjs/UNSAFE_ExpandableList.js +3 -3
  539. package/cjs/UNSAFE_Indexer.js +2 -2
  540. package/cjs/UNSAFE_ListView.js +5 -5
  541. package/cjs/UNSAFE_RichCheckboxSet.js +26 -29
  542. package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
  543. package/cjs/UNSAFE_RichSelectionItem.js +46 -184
  544. package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
  545. package/cjs/UNSAFE_SelectMultiple.js +6 -6
  546. package/cjs/UNSAFE_SelectSingle.js +6 -6
  547. package/cjs/UNSAFE_TableView.js +4 -4
  548. package/cjs/UNSAFE_TextArea.js +3 -4
  549. package/cjs/UNSAFE_TextArea.js.map +1 -1
  550. package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
  551. package/cjs/UNSAFE_VirtualizedListView.js +5 -5
  552. package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
  553. package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
  554. package/cjs/VirtualizedListView-c5df76ea.js +16 -0
  555. package/cjs/VirtualizedListView-c5df76ea.js.map +1 -0
  556. package/cjs/useSelectCommon-a00fdf8e.js +709 -0
  557. package/cjs/useSelectCommon-a00fdf8e.js.map +1 -0
  558. package/es/ActionCard-9f4e3613.js +1 -1
  559. package/es/BarChart-49c7f6bb.js +179 -0
  560. package/es/BarChart-49c7f6bb.js.map +1 -0
  561. package/es/BarGroup-ac152c88.js +1 -1
  562. package/es/BaseButton-b5fc41a8.js +2 -2
  563. package/es/BaseCardView-5e0a327f.js +683 -0
  564. package/es/BaseCardView-5e0a327f.js.map +1 -0
  565. package/es/BaseCardViewSelectionTest-b3b001e6.js +721 -0
  566. package/es/BaseCardViewSelectionTest-b3b001e6.js.map +1 -0
  567. package/es/BaseNavigationListItem-44157da8.js +1 -1
  568. package/es/BaseRichSelection-908a6bc3.js +9 -9
  569. package/es/ButtonSet-474e170e.js +2 -2
  570. package/es/ButtonSetIconButton-34b24ad4.js +3 -3
  571. package/es/Card-31a1cb19.js +15 -0
  572. package/es/Card-31a1cb19.js.map +1 -0
  573. package/es/CardFlexView-36492791.js +27 -0
  574. package/es/CardFlexView-36492791.js.map +1 -0
  575. package/es/CardGridView-64f31130.js +15 -0
  576. package/es/CardGridView-64f31130.js.map +1 -0
  577. package/es/Center-903e6ea1.js +16 -0
  578. package/es/Center-903e6ea1.js.map +1 -0
  579. package/es/Chart-649fdf1c.js +491 -0
  580. package/es/Chart-649fdf1c.js.map +1 -0
  581. package/es/CheckboxControl-1e686657.js +6 -6
  582. package/es/CheckboxRadioField-201ef340.js +7 -7
  583. package/es/Chip-9540ef60.js +1 -1
  584. package/es/ClearIcon-215c5c34.js +1 -1
  585. package/es/CollapseIcon-43663109.js +1 -1
  586. package/es/Collapsible-757eaed6.js +2 -2
  587. package/es/ComboChart-8ca6f857.js +172 -0
  588. package/es/ComboChart-8ca6f857.js.map +1 -0
  589. package/es/CompactHelpSource-20f20c17.js +2 -2
  590. package/es/CompactLabelAssistance-d92b17d1.js +34 -0
  591. package/es/CompactLabelAssistance-d92b17d1.js.map +1 -0
  592. package/es/CompactUserAssistance-c2fafab0.js +4 -4
  593. package/es/ComponentMessageContainer-a06ceb16.js +4 -4
  594. package/es/ConveyorBeltItem-2a7cfd15.js +2 -2
  595. package/es/DatePicker-2838c573.js +564 -0
  596. package/es/DatePicker-2838c573.js.map +1 -0
  597. package/es/DatePickerHeader-151355b3.js +3 -3
  598. package/es/Diagram-7236c495.js +2035 -0
  599. package/es/Diagram-7236c495.js.map +1 -0
  600. package/es/Dialog-4a0cb90c.js +344 -0
  601. package/es/Dialog-4a0cb90c.js.map +1 -0
  602. package/es/DirectionalCollapseArrowIcon-24020989.js +1 -1
  603. package/es/DirectionalExpandArrowIcon-28f288ca.js +1 -1
  604. package/es/DragHandle-f9b35377.js +22 -0
  605. package/es/DragHandle-f9b35377.js.map +1 -0
  606. package/es/DrawerPopup-dd60ef68.js +381 -0
  607. package/es/DrawerPopup-dd60ef68.js.map +1 -0
  608. package/es/Dropdown-ab7ecd4b.js +80 -0
  609. package/es/Dropdown-ab7ecd4b.js.map +1 -0
  610. package/es/EnvironmentProvider-1580c879.js +58 -0
  611. package/es/EnvironmentProvider-1580c879.js.map +1 -0
  612. package/es/ExpandableList-84f08709.js +4 -4
  613. package/es/FilePicker-74669308.js +2 -2
  614. package/es/Flex-ba379500.js +30 -0
  615. package/es/Flex-ba379500.js.map +1 -0
  616. package/es/Floating-94a06a14.js +462 -0
  617. package/es/Floating-94a06a14.js.map +1 -0
  618. package/es/FormLayout-2fba104e.js +1 -1
  619. package/es/Gantt-f95290cd.js +9 -9
  620. package/es/Grid-48e5c78c.js +27 -0
  621. package/es/Grid-48e5c78c.js.map +1 -0
  622. package/es/Gridlines-bb3b92f4.js +168 -0
  623. package/es/Gridlines-bb3b92f4.js.map +1 -0
  624. package/es/GroupLoadingIndicator-2a294121.js +2 -2
  625. package/es/HighlightText-a2f81a44.js +31 -0
  626. package/es/HighlightText-a2f81a44.js.map +1 -0
  627. package/es/Icon-43d05084.js +3 -3
  628. package/es/IconButton-b78b5ace.js +3 -3
  629. package/es/IconMenuButton-441b34f8.js +3 -3
  630. package/es/IconProgressButton-cb75faa2.js +3 -3
  631. package/es/IconSwitchButton-4febde18.js +3 -3
  632. package/es/IconToggleButton-299d5d98.js +3 -3
  633. package/es/IconUserAssistance-264032b1.js +73 -0
  634. package/es/IconUserAssistance-264032b1.js.map +1 -0
  635. package/es/Indexer-6c39ddf3.js +336 -0
  636. package/es/Indexer-6c39ddf3.js.map +1 -0
  637. package/es/InlineHelpSource-e0c901ba.js +1 -1
  638. package/es/InlineUserAssistance-9b70db5b.js +5 -5
  639. package/es/InputDateMask-0b2a46b5.js +7 -7
  640. package/es/InputDatePicker-60465b12.js +8 -8
  641. package/es/InputPassword-106c544f.js +4 -4
  642. package/es/InputText-2bf2ce27.js +6 -6
  643. package/es/Label-4503b935.js +5 -5
  644. package/es/LabelValueLayout-fa08943c.js +1 -1
  645. package/es/Layer-d4aca92e.js +91 -0
  646. package/es/Layer-d4aca92e.js.map +1 -0
  647. package/es/LayerHost-f7ef254c.js +40 -0
  648. package/es/LayerHost-f7ef254c.js.map +1 -0
  649. package/es/LayerManager-4ad387dc.js +34 -0
  650. package/es/LayerManager-4ad387dc.js.map +1 -0
  651. package/es/Legend-449e7201.js +3 -3
  652. package/es/LineAreaChart-9a46dce5.js +170 -0
  653. package/es/LineAreaChart-9a46dce5.js.map +1 -0
  654. package/es/LineSeries-e71ae377.js +109 -0
  655. package/es/LineSeries-e71ae377.js.map +1 -0
  656. package/es/Link-9803ca5b.js +1 -1
  657. package/es/List-da0ce081.js +718 -0
  658. package/es/List-da0ce081.js.map +1 -0
  659. package/es/ListItemLayout-1207112f.js +110 -0
  660. package/es/ListItemLayout-1207112f.js.map +1 -0
  661. package/es/ListView-5cada8e6.js +428 -0
  662. package/es/ListView-5cada8e6.js.map +1 -0
  663. package/es/LiveRegion-d9f2bbdb.js +39 -0
  664. package/es/LiveRegion-d9f2bbdb.js.map +1 -0
  665. package/es/LoadMoreCollection-95a49d2a.js +31 -0
  666. package/es/LoadMoreCollection-95a49d2a.js.map +1 -0
  667. package/es/MaxLengthLiveRegion-db713260.js +23 -0
  668. package/es/MaxLengthLiveRegion-db713260.js.map +1 -0
  669. package/es/Menu-aa21f75f.js +6 -6
  670. package/es/MenuButton-fe7e2d06.js +2 -2
  671. package/es/MenuItem-01343558.js +1 -1
  672. package/es/Message-98038159.js +2 -2
  673. package/es/MessageLayer-7650c582.js +58 -0
  674. package/es/MessageLayer-7650c582.js.map +1 -0
  675. package/es/MessageToast-2b7922be.js +8 -8
  676. package/es/MessagesManager-9efc5d44.js +3 -3
  677. package/es/MeterBar-1319327c.js +5 -5
  678. package/es/MeterCircle-b52c28b1.js +5 -5
  679. package/es/Modal-7efd2f81.js +274 -0
  680. package/es/Modal-7efd2f81.js.map +1 -0
  681. package/es/MonthView-df043775.js +208 -0
  682. package/es/MonthView-df043775.js.map +1 -0
  683. package/es/NavigationListItem-bdf7a2ab.js +5 -5
  684. package/es/NumberInputText-c71b0b51.js +6 -6
  685. package/es/OverflowTabBarItem-b643a574.js +3 -3
  686. package/es/PRIVATE_BaseCardView.js +24 -24
  687. package/es/PRIVATE_Chart.js +35 -35
  688. package/es/PRIVATE_CheckboxControl.js +23 -23
  689. package/es/PRIVATE_CheckboxRadioField.js +25 -25
  690. package/es/PRIVATE_ClearIcon.js +17 -17
  691. package/es/PRIVATE_DatePickerHeader.js +18 -18
  692. package/es/PRIVATE_DatePickerLayout.js +4 -4
  693. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  694. package/es/PRIVATE_FormControls.js +19 -19
  695. package/es/PRIVATE_IconSwitchButton.js +15 -15
  696. package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
  697. package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
  698. package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
  699. package/es/PRIVATE_Icons/DragV.js +15 -15
  700. package/es/PRIVATE_Icons/WarningS.js +15 -15
  701. package/es/PRIVATE_List.js +23 -23
  702. package/es/PRIVATE_LoadMoreCollection.js +2 -2
  703. package/es/PRIVATE_Message.js +18 -18
  704. package/es/PRIVATE_MessageLayer.js +12 -12
  705. package/es/PRIVATE_MonthView.js +7 -7
  706. package/es/PRIVATE_MonthYearGridView.js +7 -7
  707. package/es/PRIVATE_PlotArea.js +4 -4
  708. package/es/PRIVATE_RevealToggleIcon.js +16 -16
  709. package/es/PRIVATE_RichSelectionCommon.js +26 -26
  710. package/es/PRIVATE_SelectCommon.js +33 -33
  711. package/es/PRIVATE_StyledCard.js +4 -4
  712. package/es/PRIVATE_StyledCheckbox.js +15 -15
  713. package/es/PRIVATE_Table.js +27 -27
  714. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
  715. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
  716. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
  717. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
  718. package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
  719. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
  720. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
  721. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
  722. package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
  723. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
  724. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
  725. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
  726. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
  727. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
  728. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
  729. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
  730. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
  731. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
  732. package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
  733. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
  734. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
  735. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
  736. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
  737. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
  738. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
  739. package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
  740. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
  741. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
  742. package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
  743. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
  744. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
  745. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
  746. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
  747. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
  748. package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
  749. package/es/PRIVATE_TimeComponent.js +17 -17
  750. package/es/PRIVATE_VirtualizedCollection.js +2 -2
  751. package/es/PRIVATE_VisOverview.js +15 -15
  752. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  753. package/es/PictoChart-b3fc22fd.js +6 -6
  754. package/es/PieChart-b54696a5.js +6 -6
  755. package/es/Popup-67ec4db2.js +258 -0
  756. package/es/Popup-67ec4db2.js.map +1 -0
  757. package/es/ProgressBar-cad7d04b.js +62 -0
  758. package/es/ProgressBar-cad7d04b.js.map +1 -0
  759. package/es/ProgressButton-40c3b504.js +3 -3
  760. package/es/ProgressButtonLabelLayout-8c64cece.js +3 -3
  761. package/es/ProgressCircle-7d883146.js +48 -0
  762. package/es/ProgressCircle-7d883146.js.map +1 -0
  763. package/es/RadioItem-a1599b77.js +6 -6
  764. package/es/RatingGauge-6c13b141.js +8 -8
  765. package/es/ReadonlyTextFieldInput-d6b1fac1.js +1 -1
  766. package/es/RemovableNavigationListItem-84fad399.js +1 -1
  767. package/es/RemovableTabBarItem-42735820.js +2 -2
  768. package/es/ReorderableTabBar-1b2c9ebe.js +3 -3
  769. package/es/RevealToggleIcon-abf5f233.js +1 -1
  770. package/es/ScatterChart-59c7f1d7.js +103 -0
  771. package/es/ScatterChart-59c7f1d7.js.map +1 -0
  772. package/es/SectionalLegend-fb0128ae.js +4 -4
  773. package/es/SectionedContent-db1b2e44.js +64 -0
  774. package/es/SectionedContent-db1b2e44.js.map +1 -0
  775. package/es/SegmentStyles.styles.css +11 -8
  776. package/es/SegmentStyles.styles2.css +8 -11
  777. package/es/SelectMultiple-48af2264.js +1297 -0
  778. package/es/SelectMultiple-48af2264.js.map +1 -0
  779. package/es/SelectSingle-56ff2907.js +730 -0
  780. package/es/SelectSingle-56ff2907.js.map +1 -0
  781. package/es/SelectionCard-f4e6f6f4.js +16 -0
  782. package/es/SelectionCard-f4e6f6f4.js.map +1 -0
  783. package/es/Selector-cc435916.js +1 -1
  784. package/es/SelectorAll-fb5a5a47.js +69 -0
  785. package/es/SelectorAll-fb5a5a47.js.map +1 -0
  786. package/es/Sheet-2d9c641b.js +158 -0
  787. package/es/Sheet-2d9c641b.js.map +1 -0
  788. package/es/SplitMenuButton-1c556d1d.js +2 -2
  789. package/es/StyledCard-75bcdad7.js +105 -0
  790. package/es/StyledCard-75bcdad7.js.map +1 -0
  791. package/es/StyledLabelValueLayout-1b0b4a96.js +18 -0
  792. package/es/StyledLabelValueLayout-1b0b4a96.js.map +1 -0
  793. package/es/StyledTextField-21e8afef.js +3 -3
  794. package/es/TabBar-ef456a2c.js +5 -5
  795. package/es/TabBarItem-af8b903f.js +3 -3
  796. package/es/TabBarLayout-d7d27c34.js +1 -1
  797. package/es/TabBarMixed-71314dd9.js +5 -5
  798. package/es/TabBarMixedSeparator-1aacc254.js +19 -0
  799. package/es/TabBarMixedSeparator-1aacc254.js.map +1 -0
  800. package/es/Table-895c20ae.js +5497 -0
  801. package/es/Table-895c20ae.js.map +1 -0
  802. package/es/TableView-7eaa6c96.js +31 -0
  803. package/es/TableView-7eaa6c96.js.map +1 -0
  804. package/es/TagCloud-ed095030.js +8 -8
  805. package/es/TextArea-f411ff47.js +177 -0
  806. package/es/TextArea-f411ff47.js.map +1 -0
  807. package/es/TextAreaAutosize-163b776f.js +244 -0
  808. package/es/TextAreaAutosize-163b776f.js.map +1 -0
  809. package/es/TextField-28d425d6.js +3 -3
  810. package/es/TextFieldInput-c9239b1e.js +1 -1
  811. package/es/Theme-redwood/theme.css +488 -488
  812. package/es/Theme-stable/theme.css +316 -316
  813. package/es/TimeComponentCanvas2D-70d21419.js +5 -5
  814. package/es/Toolbar-4fe755d3.js +1 -1
  815. package/es/TruncatingBadge-a6ead29d.js +1 -1
  816. package/es/TruncatingText-107fcc48.js +1 -1
  817. package/es/UNSAFE_ActionCard.js +3 -3
  818. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
  819. package/es/UNSAFE_BarChart.js +36 -36
  820. package/es/UNSAFE_BaseButton.js +3 -3
  821. package/es/UNSAFE_Button.js +3 -3
  822. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
  823. package/es/UNSAFE_ButtonSet.js +4 -4
  824. package/es/UNSAFE_ButtonSetButton.js +3 -3
  825. package/es/UNSAFE_ButtonSetIconButton.js +15 -15
  826. package/es/UNSAFE_ButtonSetItem.js +15 -15
  827. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  828. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  829. package/es/UNSAFE_Card.js +5 -5
  830. package/es/UNSAFE_CardFlexView.js +25 -25
  831. package/es/UNSAFE_CardGridView.js +25 -25
  832. package/es/UNSAFE_Center.js +5 -5
  833. package/es/UNSAFE_Checkbox.js +23 -23
  834. package/es/UNSAFE_CheckboxItem.js +23 -23
  835. package/es/UNSAFE_CheckboxSet.js +24 -24
  836. package/es/UNSAFE_Chip.js +2 -2
  837. package/es/UNSAFE_Collapsible.js +17 -17
  838. package/es/UNSAFE_ComboChart.js +38 -38
  839. package/es/UNSAFE_ComponentMessage.js +18 -18
  840. package/es/UNSAFE_ConveyorBelt.js +15 -15
  841. package/es/UNSAFE_DatePicker.js +23 -23
  842. package/es/UNSAFE_Diagram.js +20 -20
  843. package/es/UNSAFE_Dialog.js +21 -21
  844. package/es/UNSAFE_DragHandle.js +17 -17
  845. package/es/UNSAFE_DrawerLayout.js +12 -12
  846. package/es/UNSAFE_DrawerPopup.js +13 -13
  847. package/es/UNSAFE_Dropdown.js +13 -13
  848. package/es/UNSAFE_Environment.js +4 -4
  849. package/es/UNSAFE_ExpandableList.js +25 -25
  850. package/es/UNSAFE_FilePicker.js +4 -4
  851. package/es/UNSAFE_Flex.js +4 -4
  852. package/es/UNSAFE_Floating.js +11 -11
  853. package/es/UNSAFE_FormLayout.js +2 -2
  854. package/es/UNSAFE_Gantt.js +22 -22
  855. package/es/UNSAFE_Grid.js +4 -4
  856. package/es/UNSAFE_HighlightText.js +4 -4
  857. package/es/UNSAFE_Icon.js +15 -15
  858. package/es/UNSAFE_IconButton.js +15 -15
  859. package/es/UNSAFE_IconMenuButton.js +21 -21
  860. package/es/UNSAFE_IconProgressButton.js +18 -18
  861. package/es/UNSAFE_IconToggleButton.js +15 -15
  862. package/es/UNSAFE_Indexer.js +8 -8
  863. package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
  864. package/es/UNSAFE_InputDateMask.js +26 -26
  865. package/es/UNSAFE_InputDatePicker.js +34 -34
  866. package/es/UNSAFE_InputPassword.js +24 -24
  867. package/es/UNSAFE_InputSensitiveText.js +26 -26
  868. package/es/UNSAFE_InputText.js +27 -27
  869. package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
  870. package/es/UNSAFE_InputTimeMask.js +26 -26
  871. package/es/UNSAFE_Label.js +23 -23
  872. package/es/UNSAFE_LabelValueLayout.js +4 -4
  873. package/es/UNSAFE_LabelledLink.js +25 -25
  874. package/es/UNSAFE_Layer.js +8 -8
  875. package/es/UNSAFE_Legend.js +25 -25
  876. package/es/UNSAFE_LineAreaChart.js +38 -38
  877. package/es/UNSAFE_Link.js +2 -2
  878. package/es/UNSAFE_ListItemLayout.js +5 -5
  879. package/es/UNSAFE_ListView.js +33 -33
  880. package/es/UNSAFE_LiveRegion.js +4 -4
  881. package/es/UNSAFE_Menu.js +23 -23
  882. package/es/UNSAFE_MenuButton.js +21 -21
  883. package/es/UNSAFE_MessageBanner.js +18 -18
  884. package/es/UNSAFE_MessageToast.js +21 -21
  885. package/es/UNSAFE_MeterBar.js +16 -16
  886. package/es/UNSAFE_MeterCircle.js +17 -17
  887. package/es/UNSAFE_Modal.js +9 -9
  888. package/es/UNSAFE_NavigationList.js +19 -19
  889. package/es/UNSAFE_NavigationListCommon.js +17 -17
  890. package/es/UNSAFE_NumberInputText.js +26 -26
  891. package/es/UNSAFE_OverflowTabBar.js +24 -24
  892. package/es/UNSAFE_PictoChart.js +14 -14
  893. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
  894. package/es/UNSAFE_PieChart.js +22 -22
  895. package/es/UNSAFE_Popup.js +17 -17
  896. package/es/UNSAFE_ProgressBar.js +5 -5
  897. package/es/UNSAFE_ProgressButton.js +18 -18
  898. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  899. package/es/UNSAFE_ProgressCircle.js +4 -4
  900. package/es/UNSAFE_RadioItem.js +23 -23
  901. package/es/UNSAFE_RadioSet.js +24 -24
  902. package/es/UNSAFE_RatingGauge.js +17 -17
  903. package/es/UNSAFE_ReorderableTabBar.js +25 -25
  904. package/es/UNSAFE_RichCheckboxSet.js +26 -26
  905. package/es/UNSAFE_RichRadioSet.js +26 -26
  906. package/es/UNSAFE_RichSelectionItem.js +20 -20
  907. package/es/UNSAFE_ScatterChart.js +38 -38
  908. package/es/UNSAFE_SectionalLegend.js +26 -26
  909. package/es/UNSAFE_SelectMultiple.js +37 -37
  910. package/es/UNSAFE_SelectSingle.js +37 -37
  911. package/es/UNSAFE_SelectionCard.js +5 -5
  912. package/es/UNSAFE_Selector.js +15 -15
  913. package/es/UNSAFE_SelectorAll.js +19 -19
  914. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +15 -15
  915. package/es/UNSAFE_Sheet.js +12 -12
  916. package/es/UNSAFE_SplitMenuButton.js +21 -21
  917. package/es/UNSAFE_TabBar.js +25 -25
  918. package/es/UNSAFE_TabBarCommon.js +25 -25
  919. package/es/UNSAFE_TabBarMixed.js +26 -26
  920. package/es/UNSAFE_TableView.js +28 -28
  921. package/es/UNSAFE_TagCloud.js +24 -24
  922. package/es/UNSAFE_TextArea.js +28 -29
  923. package/es/UNSAFE_TextArea.js.map +1 -1
  924. package/es/UNSAFE_TextAreaAutosize.js +29 -29
  925. package/es/UNSAFE_TextField.js +8 -8
  926. package/es/UNSAFE_ToggleButton.js +3 -3
  927. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
  928. package/es/UNSAFE_Toolbar.js +4 -4
  929. package/es/UNSAFE_Train.js +16 -16
  930. package/es/UNSAFE_TruncatingBadge.js +16 -16
  931. package/es/UNSAFE_TruncatingText.js +16 -16
  932. package/es/UNSAFE_UserAssistance.js +24 -24
  933. package/es/UNSAFE_View.js +7 -7
  934. package/es/UNSAFE_VirtualizedListView.js +24 -24
  935. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  936. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  937. package/es/UNSAFE_VisStatusMessage.js +6 -6
  938. package/es/UNSAFE_WindowOverlay.js +4 -4
  939. package/es/View-79162397.js +167 -0
  940. package/es/View-79162397.js.map +1 -0
  941. package/es/VirtualizedCollection-e73890a1.js +176 -0
  942. package/es/VirtualizedCollection-e73890a1.js.map +1 -0
  943. package/es/VirtualizedListView-d9cb25e1.js +14 -0
  944. package/es/VirtualizedListView-d9cb25e1.js.map +1 -0
  945. package/es/VisNoData-f70e7c57.js +32 -0
  946. package/es/VisNoData-f70e7c57.js.map +1 -0
  947. package/es/VisProgressiveLoader-4fe41bcb.js +51 -0
  948. package/es/VisProgressiveLoader-4fe41bcb.js.map +1 -0
  949. package/es/VisTabularDatatip-24b65098.js +24 -0
  950. package/es/VisTabularDatatip-24b65098.js.map +1 -0
  951. package/es/WindowOverlay-8fbe3e1c.js +110 -0
  952. package/es/WindowOverlay-8fbe3e1c.js.map +1 -0
  953. package/es/YearsGridView-52c0d22c.js +187 -0
  954. package/es/YearsGridView-52c0d22c.js.map +1 -0
  955. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  956. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  957. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  958. package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
  959. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  960. package/es/hooks/PRIVATE_useChartEvents.js +18 -18
  961. package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
  962. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  963. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  964. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  965. package/es/hooks/PRIVATE_useFloating.js +4 -4
  966. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  967. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  968. package/es/hooks/PRIVATE_useSelection.js +4 -4
  969. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  970. package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
  971. package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
  972. package/es/hooks/PRIVATE_useVisDragModeControls.js +17 -17
  973. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  974. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  975. package/es/hooks/PRIVATE_useVisSelection.js +13 -13
  976. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  977. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  978. package/es/hooks/UNSAFE_useDensity.js +3 -3
  979. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  980. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  981. package/es/hooks/UNSAFE_useScale.js +3 -3
  982. package/es/hooks/UNSAFE_useTestId.js +3 -3
  983. package/es/hooks/UNSAFE_useTheme.js +3 -3
  984. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  985. package/es/hooks/UNSAFE_useTooltip.js +16 -16
  986. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  987. package/es/hooks/UNSAFE_useUser.js +3 -3
  988. package/es/index-5d0fe60d.js +11 -0
  989. package/es/index-5d0fe60d.js.map +1 -0
  990. package/es/listViewSelectionTests-cd66d645.js +3 -3
  991. package/es/popupUtils-a7caf5e4.js +29 -0
  992. package/es/popupUtils-a7caf5e4.js.map +1 -0
  993. package/es/render-c7ce760e.js +34 -0
  994. package/es/render-c7ce760e.js.map +1 -0
  995. package/es/tabbableUtils-b22dbd92.js +79 -0
  996. package/es/tabbableUtils-b22dbd92.js.map +1 -0
  997. package/es/testData-a52937d8.js +256 -0
  998. package/es/testData-a52937d8.js.map +1 -0
  999. package/es/tooltipUtils-179de68d.js +93 -0
  1000. package/es/tooltipUtils-179de68d.js.map +1 -0
  1001. package/es/useCellNavigation-1a33b90e.js +1 -1
  1002. package/es/useChartContextMenu-bedf2f88.js +2 -2
  1003. package/es/useChartDatatip-652d9595.js +165 -0
  1004. package/es/useChartDatatip-652d9595.js.map +1 -0
  1005. package/es/useColorScheme-4414c0b2.js +19 -0
  1006. package/es/useColorScheme-4414c0b2.js.map +1 -0
  1007. package/es/useContextMenu-006e82dd.js +2 -2
  1008. package/es/useCssVars-0788f28c.js +58 -0
  1009. package/es/useCssVars-0788f28c.js.map +1 -0
  1010. package/es/useCurrentBgColor-cc39a2b0.js +19 -0
  1011. package/es/useCurrentBgColor-cc39a2b0.js.map +1 -0
  1012. package/es/useCurrentKey-b88513bf.js +81 -0
  1013. package/es/useCurrentKey-b88513bf.js.map +1 -0
  1014. package/es/useDatatip-f80a8b4e.js +90 -0
  1015. package/es/useDatatip-f80a8b4e.js.map +1 -0
  1016. package/es/useDensity-575ebaf2.js +19 -0
  1017. package/es/useDensity-575ebaf2.js.map +1 -0
  1018. package/es/useFloating-85ac3a8e.js +1916 -0
  1019. package/es/useFloating-85ac3a8e.js.map +1 -0
  1020. package/es/useKeyboardEvents-8d2a44b1.js +78 -0
  1021. package/es/useKeyboardEvents-8d2a44b1.js.map +1 -0
  1022. package/es/useLegendContextMenu-30eaa291.js +4 -4
  1023. package/es/useMeterDatatip-ea50f0f1.js +73 -0
  1024. package/es/useMeterDatatip-ea50f0f1.js.map +1 -0
  1025. package/es/useOutsideClick-866db9b2.js +101 -0
  1026. package/es/useOutsideClick-866db9b2.js.map +1 -0
  1027. package/es/usePopupAnimation-93950404.js +85 -0
  1028. package/es/usePopupAnimation-93950404.js.map +1 -0
  1029. package/es/usePrefixSuffix-2741adb3.js +70 -0
  1030. package/es/usePrefixSuffix-2741adb3.js.map +1 -0
  1031. package/es/useReorderableItem-2a361fd4.js +268 -0
  1032. package/es/useReorderableItem-2a361fd4.js.map +1 -0
  1033. package/es/useRovingTabIndexContainer-7b1d563b.js +98 -0
  1034. package/es/useRovingTabIndexContainer-7b1d563b.js.map +1 -0
  1035. package/es/useScale-54f14cdc.js +19 -0
  1036. package/es/useScale-54f14cdc.js.map +1 -0
  1037. package/es/useSelectCommon-b5028a6e.js +686 -0
  1038. package/es/useSelectCommon-b5028a6e.js.map +1 -0
  1039. package/es/useSelectDrill-9f0f793e.js +104 -0
  1040. package/es/useSelectDrill-9f0f793e.js.map +1 -0
  1041. package/es/useSelection-3c8cd738.js +239 -0
  1042. package/es/useSelection-3c8cd738.js.map +1 -0
  1043. package/es/useSelection-82fe842d.js +186 -0
  1044. package/es/useSelection-82fe842d.js.map +1 -0
  1045. package/es/useTabBar-d9412667.js +1 -1
  1046. package/es/useTestId-8b32167f.js +21 -0
  1047. package/es/useTestId-8b32167f.js.map +1 -0
  1048. package/es/useTheme-858b119b.js +19 -0
  1049. package/es/useTheme-858b119b.js.map +1 -0
  1050. package/es/useThemeInterpolations-2531ab6d.js +57 -0
  1051. package/es/useThemeInterpolations-2531ab6d.js.map +1 -0
  1052. package/es/useTooltip-0a3e4842.js +424 -0
  1053. package/es/useTooltip-0a3e4842.js.map +1 -0
  1054. package/es/useTooltipOnTruncation-f5d75b1b.js +27 -0
  1055. package/es/useTooltipOnTruncation-f5d75b1b.js.map +1 -0
  1056. package/es/useTranslationBundle-0dff3ab2.js +29 -0
  1057. package/es/useTranslationBundle-0dff3ab2.js.map +1 -0
  1058. package/es/useUser-6a7f6df3.js +19 -0
  1059. package/es/useUser-6a7f6df3.js.map +1 -0
  1060. package/es/useVisDragModeControls-13a8e826.js +1 -1
  1061. package/es/useVisEvents-8d888727.js +153 -0
  1062. package/es/useVisEvents-8d888727.js.map +1 -0
  1063. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  1064. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  1065. package/es/utils/UNSAFE_popupUtils.js +8 -8
  1066. package/es/withDirectionIcon-938d7cdf.js +14 -0
  1067. package/es/withDirectionIcon-938d7cdf.js.map +1 -0
  1068. package/es/withThemeProps-49e8a2b5.js +2 -2
  1069. package/package.json +2 -2
  1070. package/amd/BaseCardViewSelectionTest-e0356b8b.js +0 -2
  1071. package/amd/BaseCardViewSelectionTest-e0356b8b.js.map +0 -1
  1072. package/amd/BaseNavigationListItem-ef8bf611.js +0 -2
  1073. package/amd/BaseNavigationListItem-ef8bf611.js.map +0 -1
  1074. package/amd/Card-7acfbca5.js +0 -2
  1075. package/amd/Card-7acfbca5.js.map +0 -1
  1076. package/amd/Center-5d2e4d34.js +0 -2
  1077. package/amd/Center-5d2e4d34.js.map +0 -1
  1078. package/amd/CompactLabelAssistance-82361ea6.js +0 -2
  1079. package/amd/CompactLabelAssistance-82361ea6.js.map +0 -1
  1080. package/amd/DatePicker-20e9a255.js +0 -2
  1081. package/amd/DatePicker-20e9a255.js.map +0 -1
  1082. package/amd/Diagram-03be2ca5.js +0 -2
  1083. package/amd/Diagram-03be2ca5.js.map +0 -1
  1084. package/amd/Dialog-dc55a669.js +0 -2
  1085. package/amd/Dialog-dc55a669.js.map +0 -1
  1086. package/amd/DragHandle-d89ea5fd.js +0 -2
  1087. package/amd/DragHandle-d89ea5fd.js.map +0 -1
  1088. package/amd/DrawerPopup-772c8c22.js +0 -2
  1089. package/amd/DrawerPopup-772c8c22.js.map +0 -1
  1090. package/amd/Dropdown-37339c89.js +0 -2
  1091. package/amd/Dropdown-37339c89.js.map +0 -1
  1092. package/amd/EnvironmentProvider-4597f540.js +0 -2
  1093. package/amd/EnvironmentProvider-4597f540.js.map +0 -1
  1094. package/amd/Flex-69dc7af4.js +0 -2
  1095. package/amd/Flex-69dc7af4.js.map +0 -1
  1096. package/amd/Floating-28ad0903.js +0 -2
  1097. package/amd/Floating-28ad0903.js.map +0 -1
  1098. package/amd/Grid-49beb801.js +0 -2
  1099. package/amd/Grid-49beb801.js.map +0 -1
  1100. package/amd/Gridlines-9ec65953.js +0 -2
  1101. package/amd/Gridlines-9ec65953.js.map +0 -1
  1102. package/amd/HighlightText-b020d84d.js +0 -2
  1103. package/amd/HighlightText-b020d84d.js.map +0 -1
  1104. package/amd/IconUserAssistance-b5075ca1.js +0 -2
  1105. package/amd/IconUserAssistance-b5075ca1.js.map +0 -1
  1106. package/amd/InputDatePicker-6af2a6a4.js +0 -2
  1107. package/amd/InputDatePicker-6af2a6a4.js.map +0 -1
  1108. package/amd/Layer-9fb9ca67.js +0 -2
  1109. package/amd/Layer-9fb9ca67.js.map +0 -1
  1110. package/amd/LayerHost-1b4d03f0.js +0 -2
  1111. package/amd/LayerHost-1b4d03f0.js.map +0 -1
  1112. package/amd/LayerManager-6c0b0eed.js +0 -2
  1113. package/amd/LayerManager-6c0b0eed.js.map +0 -1
  1114. package/amd/LineAreaChart-d6300aad.js +0 -2
  1115. package/amd/LineAreaChart-d6300aad.js.map +0 -1
  1116. package/amd/LineSeries-6b2d5fc5.js +0 -2
  1117. package/amd/LineSeries-6b2d5fc5.js.map +0 -1
  1118. package/amd/ListItemLayout-51e98343.js +0 -2
  1119. package/amd/ListItemLayout-51e98343.js.map +0 -1
  1120. package/amd/LiveRegion-345ac2a4.js +0 -2
  1121. package/amd/LiveRegion-345ac2a4.js.map +0 -1
  1122. package/amd/MaxLengthLiveRegion-7723b0df.js +0 -2
  1123. package/amd/MaxLengthLiveRegion-7723b0df.js.map +0 -1
  1124. package/amd/MessageLayer-4238a197.js +0 -2
  1125. package/amd/MessageLayer-4238a197.js.map +0 -1
  1126. package/amd/Modal-991f1310.js +0 -2
  1127. package/amd/Modal-991f1310.js.map +0 -1
  1128. package/amd/MonthView-1a60836e.js +0 -2
  1129. package/amd/MonthView-1a60836e.js.map +0 -1
  1130. package/amd/NavigationListItem-4a6857ae.js +0 -2
  1131. package/amd/NavigationListItem-4a6857ae.js.map +0 -1
  1132. package/amd/OverflowTabBar-d465fab5.js +0 -2
  1133. package/amd/OverflowTabBar-d465fab5.js.map +0 -1
  1134. package/amd/OverflowTabBarItem-e8bb4c0f.js +0 -2
  1135. package/amd/OverflowTabBarItem-e8bb4c0f.js.map +0 -1
  1136. package/amd/Popup-bba2ea15.js +0 -2
  1137. package/amd/Popup-bba2ea15.js.map +0 -1
  1138. package/amd/ProgressBar-4c24733e.js +0 -2
  1139. package/amd/ProgressBar-4c24733e.js.map +0 -1
  1140. package/amd/ProgressCircle-57ce7b94.js +0 -2
  1141. package/amd/ProgressCircle-57ce7b94.js.map +0 -1
  1142. package/amd/RemovableNavigationListItem-87e208e1.js +0 -2
  1143. package/amd/RemovableNavigationListItem-87e208e1.js.map +0 -1
  1144. package/amd/ReorderableTabBar-cdafd5b2.js +0 -2
  1145. package/amd/ReorderableTabBar-cdafd5b2.js.map +0 -1
  1146. package/amd/ScatterChart-de870222.js +0 -2
  1147. package/amd/ScatterChart-de870222.js.map +0 -1
  1148. package/amd/SectionedContent-d75017a3.js +0 -2
  1149. package/amd/SectionedContent-d75017a3.js.map +0 -1
  1150. package/amd/SelectionCard-baeadf9f.js +0 -2
  1151. package/amd/SelectionCard-baeadf9f.js.map +0 -1
  1152. package/amd/SelectorAll-344e3366.js +0 -2
  1153. package/amd/SelectorAll-344e3366.js.map +0 -1
  1154. package/amd/Sheet-f4665056.js +0 -2
  1155. package/amd/Sheet-f4665056.js.map +0 -1
  1156. package/amd/StyledCard-420ef03c.js +0 -2
  1157. package/amd/StyledCard-420ef03c.js.map +0 -1
  1158. package/amd/StyledLabelValueLayout-16380e6b.js +0 -2
  1159. package/amd/StyledLabelValueLayout-16380e6b.js.map +0 -1
  1160. package/amd/TabBar-8a0cbff2.js +0 -2
  1161. package/amd/TabBar-8a0cbff2.js.map +0 -1
  1162. package/amd/TabBarMixed-d4482b12.js +0 -2
  1163. package/amd/TabBarMixed-d4482b12.js.map +0 -1
  1164. package/amd/TabBarMixedSeparator-84722127.js +0 -2
  1165. package/amd/TabBarMixedSeparator-84722127.js.map +0 -1
  1166. package/amd/View-59fe568d.js +0 -2
  1167. package/amd/View-59fe568d.js.map +0 -1
  1168. package/amd/VisNoData-b60000bf.js +0 -2
  1169. package/amd/VisNoData-b60000bf.js.map +0 -1
  1170. package/amd/VisProgressiveLoader-c90f62c3.js +0 -2
  1171. package/amd/VisProgressiveLoader-c90f62c3.js.map +0 -1
  1172. package/amd/VisTabularDatatip-23cf3cfc.js +0 -2
  1173. package/amd/VisTabularDatatip-23cf3cfc.js.map +0 -1
  1174. package/amd/WindowOverlay-00523782.js +0 -2
  1175. package/amd/WindowOverlay-00523782.js.map +0 -1
  1176. package/amd/YearsGridView-b0b18b18.js +0 -2
  1177. package/amd/YearsGridView-b0b18b18.js.map +0 -1
  1178. package/amd/index-32a870a0.js +0 -2
  1179. package/amd/index-32a870a0.js.map +0 -1
  1180. package/amd/popupUtils-710dc910.js +0 -2
  1181. package/amd/popupUtils-710dc910.js.map +0 -1
  1182. package/amd/render-6d2dc229.js +0 -2
  1183. package/amd/render-6d2dc229.js.map +0 -1
  1184. package/amd/tabbableUtils-140cad66.js +0 -2
  1185. package/amd/tabbableUtils-140cad66.js.map +0 -1
  1186. package/amd/testData-bd34f137.js +0 -2
  1187. package/amd/testData-bd34f137.js.map +0 -1
  1188. package/amd/tooltipUtils-304eef18.js +0 -2
  1189. package/amd/tooltipUtils-304eef18.js.map +0 -1
  1190. package/amd/useChartDatatip-1f138781.js +0 -2
  1191. package/amd/useChartDatatip-1f138781.js.map +0 -1
  1192. package/amd/useColorScheme-8358a6c9.js +0 -2
  1193. package/amd/useColorScheme-8358a6c9.js.map +0 -1
  1194. package/amd/useCssVars-4d0eeaa3.js +0 -2
  1195. package/amd/useCssVars-4d0eeaa3.js.map +0 -1
  1196. package/amd/useCurrentBgColor-24e98c84.js +0 -2
  1197. package/amd/useCurrentBgColor-24e98c84.js.map +0 -1
  1198. package/amd/useCurrentKey-5a5ffb1e.js +0 -2
  1199. package/amd/useCurrentKey-5a5ffb1e.js.map +0 -1
  1200. package/amd/useDatatip-db874c22.js +0 -2
  1201. package/amd/useDatatip-db874c22.js.map +0 -1
  1202. package/amd/useDensity-2b757d02.js +0 -2
  1203. package/amd/useDensity-2b757d02.js.map +0 -1
  1204. package/amd/useFloating-c8c92f6f.js +0 -2
  1205. package/amd/useFloating-c8c92f6f.js.map +0 -1
  1206. package/amd/useKeyboardEvents-e66373bb.js +0 -2
  1207. package/amd/useKeyboardEvents-e66373bb.js.map +0 -1
  1208. package/amd/useMeterDatatip-8702ee6e.js +0 -2
  1209. package/amd/useMeterDatatip-8702ee6e.js.map +0 -1
  1210. package/amd/useOutsideClick-39a81428.js +0 -2
  1211. package/amd/useOutsideClick-39a81428.js.map +0 -1
  1212. package/amd/usePopupAnimation-7023407f.js +0 -2
  1213. package/amd/usePopupAnimation-7023407f.js.map +0 -1
  1214. package/amd/usePrefixSuffix-19a86824.js +0 -2
  1215. package/amd/usePrefixSuffix-19a86824.js.map +0 -1
  1216. package/amd/useReorderableItem-fa5fd0f4.js +0 -2
  1217. package/amd/useReorderableItem-fa5fd0f4.js.map +0 -1
  1218. package/amd/useRovingTabIndexContainer-6b89c886.js +0 -2
  1219. package/amd/useRovingTabIndexContainer-6b89c886.js.map +0 -1
  1220. package/amd/useScale-0fb08a15.js +0 -2
  1221. package/amd/useScale-0fb08a15.js.map +0 -1
  1222. package/amd/useSelectDrill-03c65602.js +0 -2
  1223. package/amd/useSelectDrill-03c65602.js.map +0 -1
  1224. package/amd/useSelection-4c8e905b.js +0 -2
  1225. package/amd/useSelection-4c8e905b.js.map +0 -1
  1226. package/amd/useSelection-569188b3.js +0 -2
  1227. package/amd/useSelection-569188b3.js.map +0 -1
  1228. package/amd/useTestId-d0c49456.js +0 -2
  1229. package/amd/useTestId-d0c49456.js.map +0 -1
  1230. package/amd/useTheme-915016ef.js +0 -2
  1231. package/amd/useTheme-915016ef.js.map +0 -1
  1232. package/amd/useThemeInterpolations-95e6f849.js +0 -2
  1233. package/amd/useThemeInterpolations-95e6f849.js.map +0 -1
  1234. package/amd/useTooltip-f7c1ad5c.js +0 -2
  1235. package/amd/useTooltip-f7c1ad5c.js.map +0 -1
  1236. package/amd/useTooltipOnTruncation-7a2a7106.js +0 -2
  1237. package/amd/useTooltipOnTruncation-7a2a7106.js.map +0 -1
  1238. package/amd/useTranslationBundle-652e08a6.js +0 -2
  1239. package/amd/useTranslationBundle-652e08a6.js.map +0 -1
  1240. package/amd/useUser-abae2493.js +0 -2
  1241. package/amd/useUser-abae2493.js.map +0 -1
  1242. package/amd/useVisEvents-a2e7394b.js +0 -2
  1243. package/amd/useVisEvents-a2e7394b.js.map +0 -1
  1244. package/amd/withDirectionIcon-194f3242.js +0 -2
  1245. package/amd/withDirectionIcon-194f3242.js.map +0 -1
  1246. package/cjs/BaseCardView-5ce88700.js +0 -687
  1247. package/cjs/BaseCardView-5ce88700.js.map +0 -1
  1248. package/cjs/CardFlexView-7cb060a4.js +0 -29
  1249. package/cjs/CardFlexView-7cb060a4.js.map +0 -1
  1250. package/cjs/CardGridView-619b8576.js +0 -17
  1251. package/cjs/CardGridView-619b8576.js.map +0 -1
  1252. package/cjs/CheckboxSet-3509aa56.js +0 -53
  1253. package/cjs/CheckboxSet-3509aa56.js.map +0 -1
  1254. package/cjs/Indexer-6f687670.js +0 -339
  1255. package/cjs/Indexer-6f687670.js.map +0 -1
  1256. package/cjs/List-9cf30b46.js +0 -722
  1257. package/cjs/List-9cf30b46.js.map +0 -1
  1258. package/cjs/ListView-1c7cb647.js +0 -430
  1259. package/cjs/ListView-1c7cb647.js.map +0 -1
  1260. package/cjs/LoadMoreCollection-69bc038c.js +0 -34
  1261. package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
  1262. package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
  1263. package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
  1264. package/cjs/SelectMultiple-bc3a3333.js +0 -1299
  1265. package/cjs/SelectMultiple-bc3a3333.js.map +0 -1
  1266. package/cjs/SelectSingle-0292841f.js +0 -732
  1267. package/cjs/SelectSingle-0292841f.js.map +0 -1
  1268. package/cjs/Table-cac0f4b6.js +0 -5499
  1269. package/cjs/Table-cac0f4b6.js.map +0 -1
  1270. package/cjs/TableView-edd7e48c.js +0 -33
  1271. package/cjs/TableView-edd7e48c.js.map +0 -1
  1272. package/cjs/TextArea-43ba72b8.js +0 -162
  1273. package/cjs/TextArea-43ba72b8.js.map +0 -1
  1274. package/cjs/TextAreaAutosize-05e6644a.js +0 -246
  1275. package/cjs/TextAreaAutosize-05e6644a.js.map +0 -1
  1276. package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
  1277. package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
  1278. package/cjs/VirtualizedListView-d9fce8ed.js +0 -16
  1279. package/cjs/VirtualizedListView-d9fce8ed.js.map +0 -1
  1280. package/cjs/useSelectCommon-78871095.js +0 -709
  1281. package/cjs/useSelectCommon-78871095.js.map +0 -1
  1282. package/es/BarChart-a39136c2.js +0 -179
  1283. package/es/BarChart-a39136c2.js.map +0 -1
  1284. package/es/BaseCardView-87a16541.js +0 -683
  1285. package/es/BaseCardView-87a16541.js.map +0 -1
  1286. package/es/BaseCardViewSelectionTest-639276bd.js +0 -721
  1287. package/es/BaseCardViewSelectionTest-639276bd.js.map +0 -1
  1288. package/es/Card-48705b23.js +0 -15
  1289. package/es/Card-48705b23.js.map +0 -1
  1290. package/es/CardFlexView-8149a998.js +0 -27
  1291. package/es/CardFlexView-8149a998.js.map +0 -1
  1292. package/es/CardGridView-4e967eaa.js +0 -15
  1293. package/es/CardGridView-4e967eaa.js.map +0 -1
  1294. package/es/Center-f5a074ea.js +0 -16
  1295. package/es/Center-f5a074ea.js.map +0 -1
  1296. package/es/Chart-cd1c9eb2.js +0 -491
  1297. package/es/Chart-cd1c9eb2.js.map +0 -1
  1298. package/es/ComboChart-1d1d46cc.js +0 -172
  1299. package/es/ComboChart-1d1d46cc.js.map +0 -1
  1300. package/es/CompactLabelAssistance-e6df8b6f.js +0 -34
  1301. package/es/CompactLabelAssistance-e6df8b6f.js.map +0 -1
  1302. package/es/DatePicker-f149bde7.js +0 -564
  1303. package/es/DatePicker-f149bde7.js.map +0 -1
  1304. package/es/Diagram-32842af8.js +0 -2035
  1305. package/es/Diagram-32842af8.js.map +0 -1
  1306. package/es/Dialog-dbd00dbd.js +0 -344
  1307. package/es/Dialog-dbd00dbd.js.map +0 -1
  1308. package/es/DragHandle-3010d22c.js +0 -22
  1309. package/es/DragHandle-3010d22c.js.map +0 -1
  1310. package/es/DrawerPopup-90be1472.js +0 -381
  1311. package/es/DrawerPopup-90be1472.js.map +0 -1
  1312. package/es/Dropdown-8936afb0.js +0 -80
  1313. package/es/Dropdown-8936afb0.js.map +0 -1
  1314. package/es/EnvironmentProvider-e6ce326b.js +0 -58
  1315. package/es/EnvironmentProvider-e6ce326b.js.map +0 -1
  1316. package/es/Flex-dce7c423.js +0 -30
  1317. package/es/Flex-dce7c423.js.map +0 -1
  1318. package/es/Floating-bd10e1bb.js +0 -462
  1319. package/es/Floating-bd10e1bb.js.map +0 -1
  1320. package/es/Grid-a92f6ff7.js +0 -27
  1321. package/es/Grid-a92f6ff7.js.map +0 -1
  1322. package/es/Gridlines-14e60b77.js +0 -168
  1323. package/es/Gridlines-14e60b77.js.map +0 -1
  1324. package/es/HighlightText-6fb192ee.js +0 -31
  1325. package/es/HighlightText-6fb192ee.js.map +0 -1
  1326. package/es/IconUserAssistance-bb4f169d.js +0 -73
  1327. package/es/IconUserAssistance-bb4f169d.js.map +0 -1
  1328. package/es/Indexer-80254b3c.js +0 -336
  1329. package/es/Indexer-80254b3c.js.map +0 -1
  1330. package/es/Layer-f309effc.js +0 -91
  1331. package/es/Layer-f309effc.js.map +0 -1
  1332. package/es/LayerHost-ca080d9a.js +0 -40
  1333. package/es/LayerHost-ca080d9a.js.map +0 -1
  1334. package/es/LayerManager-3e4e8d1a.js +0 -34
  1335. package/es/LayerManager-3e4e8d1a.js.map +0 -1
  1336. package/es/LineAreaChart-16cf6356.js +0 -170
  1337. package/es/LineAreaChart-16cf6356.js.map +0 -1
  1338. package/es/LineSeries-89d507a5.js +0 -109
  1339. package/es/LineSeries-89d507a5.js.map +0 -1
  1340. package/es/List-4e5ab994.js +0 -717
  1341. package/es/List-4e5ab994.js.map +0 -1
  1342. package/es/ListItemLayout-b580a2cb.js +0 -110
  1343. package/es/ListItemLayout-b580a2cb.js.map +0 -1
  1344. package/es/ListView-c8de746b.js +0 -428
  1345. package/es/ListView-c8de746b.js.map +0 -1
  1346. package/es/LiveRegion-7d6e9b93.js +0 -39
  1347. package/es/LiveRegion-7d6e9b93.js.map +0 -1
  1348. package/es/LoadMoreCollection-7df1be36.js +0 -31
  1349. package/es/LoadMoreCollection-7df1be36.js.map +0 -1
  1350. package/es/MaxLengthCounter-181b4fc9.js +0 -25
  1351. package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
  1352. package/es/MaxLengthLiveRegion-3d6867c3.js +0 -23
  1353. package/es/MaxLengthLiveRegion-3d6867c3.js.map +0 -1
  1354. package/es/MessageLayer-707a3302.js +0 -58
  1355. package/es/MessageLayer-707a3302.js.map +0 -1
  1356. package/es/Modal-9bdb87a4.js +0 -274
  1357. package/es/Modal-9bdb87a4.js.map +0 -1
  1358. package/es/MonthView-7f913bb2.js +0 -208
  1359. package/es/MonthView-7f913bb2.js.map +0 -1
  1360. package/es/Popup-0b60095e.js +0 -258
  1361. package/es/Popup-0b60095e.js.map +0 -1
  1362. package/es/ProgressBar-717be5e8.js +0 -62
  1363. package/es/ProgressBar-717be5e8.js.map +0 -1
  1364. package/es/ProgressCircle-d75b0848.js +0 -48
  1365. package/es/ProgressCircle-d75b0848.js.map +0 -1
  1366. package/es/ScatterChart-8fa8ea38.js +0 -103
  1367. package/es/ScatterChart-8fa8ea38.js.map +0 -1
  1368. package/es/SectionedContent-89fd6108.js +0 -64
  1369. package/es/SectionedContent-89fd6108.js.map +0 -1
  1370. package/es/SelectMultiple-1e8a183a.js +0 -1297
  1371. package/es/SelectMultiple-1e8a183a.js.map +0 -1
  1372. package/es/SelectSingle-b66c3ae5.js +0 -730
  1373. package/es/SelectSingle-b66c3ae5.js.map +0 -1
  1374. package/es/SelectionCard-4cf71979.js +0 -16
  1375. package/es/SelectionCard-4cf71979.js.map +0 -1
  1376. package/es/SelectorAll-401564d3.js +0 -69
  1377. package/es/SelectorAll-401564d3.js.map +0 -1
  1378. package/es/Sheet-754bd0f0.js +0 -158
  1379. package/es/Sheet-754bd0f0.js.map +0 -1
  1380. package/es/StyledCard-2dc6d348.js +0 -105
  1381. package/es/StyledCard-2dc6d348.js.map +0 -1
  1382. package/es/StyledLabelValueLayout-f3d69ee8.js +0 -18
  1383. package/es/StyledLabelValueLayout-f3d69ee8.js.map +0 -1
  1384. package/es/TabBarMixedSeparator-dd80c7f2.js +0 -19
  1385. package/es/TabBarMixedSeparator-dd80c7f2.js.map +0 -1
  1386. package/es/Table-970adc38.js +0 -5497
  1387. package/es/Table-970adc38.js.map +0 -1
  1388. package/es/TableView-28ac0166.js +0 -31
  1389. package/es/TableView-28ac0166.js.map +0 -1
  1390. package/es/TextArea-9da8decd.js +0 -160
  1391. package/es/TextArea-9da8decd.js.map +0 -1
  1392. package/es/TextAreaAutosize-2e043744.js +0 -244
  1393. package/es/TextAreaAutosize-2e043744.js.map +0 -1
  1394. package/es/View-6941c4ec.js +0 -167
  1395. package/es/View-6941c4ec.js.map +0 -1
  1396. package/es/VirtualizedCollection-f048fbb8.js +0 -176
  1397. package/es/VirtualizedCollection-f048fbb8.js.map +0 -1
  1398. package/es/VirtualizedListView-aa8e6003.js +0 -14
  1399. package/es/VirtualizedListView-aa8e6003.js.map +0 -1
  1400. package/es/VisNoData-6c9dff1d.js +0 -32
  1401. package/es/VisNoData-6c9dff1d.js.map +0 -1
  1402. package/es/VisProgressiveLoader-af51c524.js +0 -51
  1403. package/es/VisProgressiveLoader-af51c524.js.map +0 -1
  1404. package/es/VisTabularDatatip-1aba2c3f.js +0 -24
  1405. package/es/VisTabularDatatip-1aba2c3f.js.map +0 -1
  1406. package/es/WindowOverlay-77a01a5a.js +0 -110
  1407. package/es/WindowOverlay-77a01a5a.js.map +0 -1
  1408. package/es/YearsGridView-38b7d276.js +0 -187
  1409. package/es/YearsGridView-38b7d276.js.map +0 -1
  1410. package/es/index-b52817d6.js +0 -11
  1411. package/es/index-b52817d6.js.map +0 -1
  1412. package/es/popupUtils-0d643529.js +0 -29
  1413. package/es/popupUtils-0d643529.js.map +0 -1
  1414. package/es/render-f43f5632.js +0 -34
  1415. package/es/render-f43f5632.js.map +0 -1
  1416. package/es/tabbableUtils-07dfa9ce.js +0 -79
  1417. package/es/tabbableUtils-07dfa9ce.js.map +0 -1
  1418. package/es/testData-75eb4f26.js +0 -256
  1419. package/es/testData-75eb4f26.js.map +0 -1
  1420. package/es/tooltipUtils-ae6aba72.js +0 -93
  1421. package/es/tooltipUtils-ae6aba72.js.map +0 -1
  1422. package/es/useChartDatatip-ae7cffcb.js +0 -165
  1423. package/es/useChartDatatip-ae7cffcb.js.map +0 -1
  1424. package/es/useColorScheme-831abf37.js +0 -19
  1425. package/es/useColorScheme-831abf37.js.map +0 -1
  1426. package/es/useCssVars-6295c03a.js +0 -58
  1427. package/es/useCssVars-6295c03a.js.map +0 -1
  1428. package/es/useCurrentBgColor-93b70106.js +0 -19
  1429. package/es/useCurrentBgColor-93b70106.js.map +0 -1
  1430. package/es/useCurrentKey-30089ba4.js +0 -81
  1431. package/es/useCurrentKey-30089ba4.js.map +0 -1
  1432. package/es/useDatatip-3f284ad3.js +0 -90
  1433. package/es/useDatatip-3f284ad3.js.map +0 -1
  1434. package/es/useDensity-2ca5177c.js +0 -19
  1435. package/es/useDensity-2ca5177c.js.map +0 -1
  1436. package/es/useFloating-b1378797.js +0 -1916
  1437. package/es/useFloating-b1378797.js.map +0 -1
  1438. package/es/useKeyboardEvents-7a19700e.js +0 -78
  1439. package/es/useKeyboardEvents-7a19700e.js.map +0 -1
  1440. package/es/useMeterDatatip-814ca87d.js +0 -73
  1441. package/es/useMeterDatatip-814ca87d.js.map +0 -1
  1442. package/es/useOutsideClick-d0b44256.js +0 -101
  1443. package/es/useOutsideClick-d0b44256.js.map +0 -1
  1444. package/es/usePopupAnimation-0c5517c7.js +0 -85
  1445. package/es/usePopupAnimation-0c5517c7.js.map +0 -1
  1446. package/es/usePrefixSuffix-28d8172f.js +0 -70
  1447. package/es/usePrefixSuffix-28d8172f.js.map +0 -1
  1448. package/es/useReorderableItem-abc9c68c.js +0 -268
  1449. package/es/useReorderableItem-abc9c68c.js.map +0 -1
  1450. package/es/useRovingTabIndexContainer-d8dcffff.js +0 -98
  1451. package/es/useRovingTabIndexContainer-d8dcffff.js.map +0 -1
  1452. package/es/useScale-c315e304.js +0 -19
  1453. package/es/useScale-c315e304.js.map +0 -1
  1454. package/es/useSelectCommon-410eeffd.js +0 -686
  1455. package/es/useSelectCommon-410eeffd.js.map +0 -1
  1456. package/es/useSelectDrill-9eb9b7fa.js +0 -104
  1457. package/es/useSelectDrill-9eb9b7fa.js.map +0 -1
  1458. package/es/useSelection-534b1fa0.js +0 -186
  1459. package/es/useSelection-534b1fa0.js.map +0 -1
  1460. package/es/useSelection-5375aa2e.js +0 -239
  1461. package/es/useSelection-5375aa2e.js.map +0 -1
  1462. package/es/useTestId-014cca7c.js +0 -21
  1463. package/es/useTestId-014cca7c.js.map +0 -1
  1464. package/es/useTheme-a4243428.js +0 -19
  1465. package/es/useTheme-a4243428.js.map +0 -1
  1466. package/es/useThemeInterpolations-93048af6.js +0 -57
  1467. package/es/useThemeInterpolations-93048af6.js.map +0 -1
  1468. package/es/useTooltip-d4dfd848.js +0 -424
  1469. package/es/useTooltip-d4dfd848.js.map +0 -1
  1470. package/es/useTooltipOnTruncation-82d93e22.js +0 -27
  1471. package/es/useTooltipOnTruncation-82d93e22.js.map +0 -1
  1472. package/es/useTranslationBundle-29a1abb3.js +0 -29
  1473. package/es/useTranslationBundle-29a1abb3.js.map +0 -1
  1474. package/es/useUser-9c8d0e57.js +0 -19
  1475. package/es/useUser-9c8d0e57.js.map +0 -1
  1476. package/es/useVisEvents-45115f09.js +0 -153
  1477. package/es/useVisEvents-45115f09.js.map +0 -1
  1478. package/es/withDirectionIcon-70ce263c.js +0 -14
  1479. package/es/withDirectionIcon-70ce263c.js.map +0 -1
@@ -0,0 +1,381 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ import { jsx } from 'preact/jsx-runtime';
3
+ import { useState, useRef, useMemo, useCallback, useEffect } from 'preact/hooks';
4
+ import { forwardRef } from 'preact/compat';
5
+ import { m as mergeRefs } from './refUtils-b9d8d91a.js';
6
+ import { L as Layer } from './Layer-d4aca92e.js';
7
+ import './LayerHost-f7ef254c.js';
8
+ import { M as Modal } from './Modal-7efd2f81.js';
9
+ import { F as FocusTrap } from './FocusTrap-9e80c124.js';
10
+ import { g as getActiveElement, e as focusOnElementOrNearestAncestor, f as focusWithin, b as focusOn, d as getAutofocusFocusables } from './tabbableUtils-6ceb767f.js';
11
+ import { n as normalizePosition } from './positionUtils-f26caad9.js';
12
+ import { g as getClientHints } from './clientHints-f850225e.js';
13
+ import { u as useOutsideClick } from './useOutsideClick-866db9b2.js';
14
+ import { u as useAnimation } from './useAnimation-a5eb7604.js';
15
+ import { u as useUser } from './useUser-6a7f6df3.js';
16
+ import { u as useTestId } from './useTestId-8b32167f.js';
17
+ import { u as useSwipe } from './useSwipe-b5c1b9ad.js';
18
+ import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
19
+ import { c as colorInterpolations } from './colors-170180bf.js';
20
+ import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
21
+ import { DrawerPopupRedwoodTheme } from './UNSAFE_DrawerPopup/themes/redwood/DrawerPopupTheme.js';
22
+
23
+ // Constants
24
+ const displayModefullWidthThreshold = 600;
25
+ const zero = '0px';
26
+ const duration = 250;
27
+ const getElementHeight = (element) => {
28
+ return Math.round(element.offsetHeight);
29
+ };
30
+ const getElementWidth = (element) => {
31
+ return Math.round(element.getBoundingClientRect().width);
32
+ };
33
+ /**
34
+ * A drawer popup adds a single slide-in side content alongside some primary content to an application window.
35
+ *
36
+ * This drawer always overlays the page and can be placed at the 'start', 'end' or 'bottom' edge.
37
+ */
38
+ const DrawerPopup = forwardRef(({ children, isOpen = false, autoFocusRef, placement = 'start', modality = 'modal', onClose, onTransitionEnd, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, testId, ...props }, ref) => {
39
+ // Initialize states
40
+ const [status, setStatus] = useState(isOpen ? 'initial' : 'unmounted');
41
+ const [visibility, setVisibility] = useState('hidden');
42
+ const [isOutsideClickDisabled, setIsOutsideClickDisabled] = useState(!isOpen);
43
+ const [displayModeHorizontal, setDisplayModeHorizontal] = useState('overlay');
44
+ const prevStatusRef = useRef('unmounted');
45
+ const rootRef = useRef(null);
46
+ const launcherRef = useRef(null);
47
+ const mergedRef = useMemo(() => mergeRefs(rootRef, ref), [rootRef, ref]);
48
+ const isBottomPlacement = placement === 'bottom';
49
+ const shouldReturnFocus = useRef(false);
50
+ // Animation config
51
+ const animationStates = {
52
+ opening: () => {
53
+ if (isBottomPlacement) {
54
+ return {
55
+ from: {
56
+ translateY: getTranslateY()
57
+ },
58
+ to: {
59
+ translateY: zero
60
+ },
61
+ options: {
62
+ duration: duration
63
+ }
64
+ };
65
+ }
66
+ else {
67
+ return {
68
+ from: {
69
+ translateX: getTranslateX()
70
+ },
71
+ to: {
72
+ translateX: zero
73
+ },
74
+ options: {
75
+ duration: duration
76
+ }
77
+ };
78
+ }
79
+ },
80
+ closing: () => {
81
+ if (isBottomPlacement) {
82
+ return {
83
+ from: {
84
+ translateY: zero
85
+ },
86
+ to: {
87
+ translateY: getTranslateY()
88
+ },
89
+ options: {
90
+ duration: duration
91
+ }
92
+ };
93
+ }
94
+ else {
95
+ return {
96
+ from: {
97
+ translateX: zero
98
+ },
99
+ to: {
100
+ translateX: getTranslateX()
101
+ },
102
+ options: {
103
+ duration: duration
104
+ }
105
+ };
106
+ }
107
+ }
108
+ };
109
+ // testId support
110
+ const testIdProps = useTestId(testId);
111
+ // Normalizing position
112
+ const { direction } = useUser();
113
+ const getNormalizedPlacement = () => {
114
+ return normalizePosition(placement, direction);
115
+ };
116
+ const getTranslateX = () => {
117
+ return `${getNormalizedPlacement() === 'right' ? '' : '-'}${getElementWidth(rootRef.current)}px`;
118
+ };
119
+ const getTranslateY = () => {
120
+ return `${getElementHeight(rootRef.current)}px`;
121
+ };
122
+ const setInitialFocus = () => {
123
+ // Set focus to the first match:
124
+ // 1. First element inside the drawer matching [autofocus]
125
+ const autofocusItems = getAutofocusFocusables(rootRef.current);
126
+ if (autofocusItems.length > 0) {
127
+ focusOn(autofocusItems[0]);
128
+ return;
129
+ }
130
+ // 2. Tabbable element inside the content element
131
+ // 3. The drawer itself
132
+ focusWithin(rootRef.current);
133
+ };
134
+ const returnFocusToLauncher = () => {
135
+ if (shouldReturnFocus.current) {
136
+ focusOnElementOrNearestAncestor(launcherRef.current);
137
+ shouldReturnFocus.current = false;
138
+ }
139
+ };
140
+ // Remove style attribute left on the element by the Animation util
141
+ const removeAnimationInlineStyles = useCallback(() => {
142
+ rootRef.current?.style?.removeProperty('transform');
143
+ }, []);
144
+ // Animation
145
+ const { nodeRef } = useAnimation(status, {
146
+ animationStates,
147
+ isAnimatedOnMount: true,
148
+ onAnimationEnd: () => {
149
+ if (status === 'opening') {
150
+ removeAnimationInlineStyles();
151
+ setInitialFocus();
152
+ onTransitionEnd?.(true);
153
+ }
154
+ else if (!isOpen) {
155
+ shouldReturnFocus.current =
156
+ rootRef.current?.contains(getActiveElement()) || false;
157
+ nodeRef(null);
158
+ setVisibility('hidden');
159
+ setStatus('unmounted');
160
+ onTransitionEnd?.(false);
161
+ }
162
+ }
163
+ });
164
+ useEffect(() => {
165
+ // 1. Ignore status update on initial render
166
+ if (status === 'unmounted' && !isOpen && status !== prevStatusRef.current) {
167
+ returnFocusToLauncher();
168
+ }
169
+ // 2. Mount visually hidden component
170
+ // Component gets mounted, but will be visually hidden to avoid flickering
171
+ // Flickering happens because it gets rendered before animation hook repositions
172
+ // it in next render cycle
173
+ else if (status === 'unmounted' && isOpen) {
174
+ setStatus('initial');
175
+ }
176
+ // 3. Setup animation
177
+ // Component has been mounted.
178
+ // We will kick out animation as node is already present in DOM.
179
+ // To avoid flickering, we still keep it visually hidden until the next render cycle.
180
+ else if (status === 'initial' && isOpen) {
181
+ nodeRef(rootRef.current);
182
+ setIsOutsideClickDisabled(false);
183
+ setStatus('opening');
184
+ }
185
+ // 3. Unhide component. It becomes visible.
186
+ else if (status === 'opening' && isOpen) {
187
+ setVisibility('visible');
188
+ }
189
+ // 4. Closing
190
+ else if (!isOpen && status !== 'unmounted') {
191
+ setIsOutsideClickDisabled(true);
192
+ setStatus('closing');
193
+ }
194
+ return () => {
195
+ // remember the previous status
196
+ prevStatusRef.current = status;
197
+ };
198
+ }, [isOpen, status, nodeRef]);
199
+ // Destroy case handler
200
+ useEffect(() => {
201
+ return () => {
202
+ // eslint-disable-next-line react-hooks/exhaustive-deps
203
+ if (rootRef.current?.contains(getActiveElement()) || false) {
204
+ // In destroy case ModalManager is blocking returning of the focus.
205
+ // We need to reschedule it to workaround that
206
+ setTimeout(() => {
207
+ focusOnElementOrNearestAncestor(launcherRef.current);
208
+ }, 0);
209
+ }
210
+ };
211
+ }, []);
212
+ // Launcher handler
213
+ useEffect(() => {
214
+ if (status === 'opening') {
215
+ // Remember launcher
216
+ launcherRef.current = getActiveElement();
217
+ // Register F6 key handler. It is modeless only feature.
218
+ if (modality === 'modeless') {
219
+ launcherRef.current?.addEventListener('keydown', launcherKeyDownCallback);
220
+ }
221
+ }
222
+ if (status === 'closing' && modality === 'modeless') {
223
+ return () => {
224
+ // Deregister F6 key handler
225
+ launcherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);
226
+ };
227
+ }
228
+ return;
229
+ }, [modality, status]);
230
+ const launcherKeyDownCallback = (event) => {
231
+ // Moves focus from launcher (must have focus) back to the Drawer
232
+ if (launcherRef.current === getActiveElement() && event.code === 'F6') {
233
+ // Prevent default F6 handlers.
234
+ // F6 is a standard Chrome address bar shortcut on Windows.
235
+ event.preventDefault();
236
+ event.stopPropagation();
237
+ // Focus on first tabbable in a container or container itself if there is none
238
+ focusWithin(rootRef.current);
239
+ }
240
+ };
241
+ const handleKeyDown = useCallback((event) => {
242
+ const launcherEl = launcherRef.current;
243
+ switch (event.code) {
244
+ case 'Escape': {
245
+ onClose?.({ reason: 'escapeKey' });
246
+ break;
247
+ }
248
+ case 'F6':
249
+ if (modality === 'modeless') {
250
+ // Prevent default F6 handlers.
251
+ // F6 is a standard Chrome address bar shortcut on Windows.
252
+ event.preventDefault();
253
+ event.stopPropagation();
254
+ // Focus launcher
255
+ if (launcherEl) {
256
+ focusOn(launcherEl);
257
+ }
258
+ break;
259
+ }
260
+ }
261
+ }, [onClose, modality]);
262
+ // OutsideClick handler
263
+ const handleOutsideClick = useCallback(() => {
264
+ // Trigger onClose event with outside click detail
265
+ onClose?.({ reason: 'outsideClick' });
266
+ }, [onClose]);
267
+ const insideRefs = [rootRef];
268
+ // launcher should be considered an "inside" element
269
+ if (launcherRef.current && launcherRef.current !== document.body) {
270
+ insideRefs.push(launcherRef);
271
+ }
272
+ useOutsideClick({
273
+ isDisabled: isOutsideClickDisabled,
274
+ ref: insideRefs,
275
+ handler: handleOutsideClick
276
+ });
277
+ // Drawer placement
278
+ const getDrawerPlacement = () => {
279
+ if (isBottomPlacement) {
280
+ return placement;
281
+ }
282
+ else {
283
+ if (direction === 'rtl') {
284
+ return placement === 'start' ? 'right' : 'left';
285
+ }
286
+ else {
287
+ return placement === 'start' ? 'left' : 'right';
288
+ }
289
+ }
290
+ };
291
+ const clientHints = getClientHints();
292
+ const getViewportWidth = useCallback(() => {
293
+ if (clientHints.platform === 'ios') {
294
+ // On ios window.innerWidth is not recommended way of measuring the viewport
295
+ return document.documentElement.clientWidth;
296
+ }
297
+ return window.innerWidth;
298
+ }, [clientHints.platform]);
299
+ // Window resize handler
300
+ // Handles display mode: Overlay <> Full overlay (full width side drawers)
301
+ const handleResize = useCallback(() => {
302
+ const viewportWidth = getViewportWidth();
303
+ if (displayModeHorizontal === 'overlay' && viewportWidth < displayModefullWidthThreshold) {
304
+ setDisplayModeHorizontal('fullOverlay');
305
+ }
306
+ if (displayModeHorizontal === 'fullOverlay' &&
307
+ viewportWidth > displayModefullWidthThreshold) {
308
+ setDisplayModeHorizontal('overlay');
309
+ }
310
+ }, [getViewportWidth, displayModeHorizontal]);
311
+ useEffect(() => {
312
+ const root = rootRef.current;
313
+ if (root && status === 'opening') {
314
+ const resizeObserver = new ResizeObserver(() => {
315
+ handleResize();
316
+ });
317
+ resizeObserver.observe(document.body);
318
+ return () => {
319
+ resizeObserver.unobserve(document.body);
320
+ };
321
+ }
322
+ return undefined;
323
+ }, [status, handleResize]);
324
+ const dispatchSwipeOnClose = useCallback(() => {
325
+ onClose?.({ reason: 'swipe' });
326
+ }, [onClose]);
327
+ // OutsideClick handler
328
+ const swipeHandler = useCallback((event) => {
329
+ const swipeDir = event.direction;
330
+ // LTR
331
+ if (direction === 'ltr') {
332
+ if ((placement === 'start' && swipeDir === 'left') ||
333
+ (placement === 'end' && swipeDir === 'right')) {
334
+ dispatchSwipeOnClose();
335
+ }
336
+ }
337
+ // RTL
338
+ if (direction === 'rtl') {
339
+ if ((placement === 'start' && swipeDir === 'right') ||
340
+ (placement === 'end' && swipeDir === 'left')) {
341
+ dispatchSwipeOnClose();
342
+ }
343
+ }
344
+ // Bottom
345
+ if (placement === 'bottom' && swipeDir === 'down') {
346
+ dispatchSwipeOnClose();
347
+ }
348
+ }, [direction, placement, dispatchSwipeOnClose]);
349
+ const swipeOptions = {
350
+ threshold: 50,
351
+ maximumTime: 750,
352
+ tolerance: 40
353
+ };
354
+ const { swipeProps } = useSwipe(swipeHandler, swipeOptions);
355
+ // Styles
356
+ const { classes } = useComponentTheme(DrawerPopupRedwoodTheme, {
357
+ placement: getDrawerPlacement(),
358
+ visibility,
359
+ displayModeHorizontal: ['start', 'end'].indexOf(placement) > -1 ? displayModeHorizontal : undefined
360
+ });
361
+ const interpolations = [...Object.values(colorInterpolations)];
362
+ const styleInterpolations = mergeInterpolations(interpolations);
363
+ const { ...styles } = styleInterpolations(props);
364
+ const renderDrawer = () => {
365
+ return (jsx(FocusTrap, { autoFocusRef: autoFocusRef, restoreFocusRef: false, children: jsx("div", { ref: mergedRef, className: classes, style: styles, tabIndex: -1, role: "dialog", onKeyDown: handleKeyDown, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...swipeProps, ...testIdProps, children: children }) }));
366
+ };
367
+ const isMounted = status !== 'unmounted';
368
+ if (isMounted) {
369
+ // Modal vs. modelss upper wrapper
370
+ if (modality === 'modal') {
371
+ return jsx(Modal, { isOpen: isMounted, children: renderDrawer() });
372
+ }
373
+ else {
374
+ return jsx(Layer, { children: renderDrawer() });
375
+ }
376
+ }
377
+ return null;
378
+ });
379
+
380
+ export { DrawerPopup as D };
381
+ //# sourceMappingURL=DrawerPopup-dd60ef68.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerPopup-dd60ef68.js","sources":["../../src/UNSAFE_DrawerPopup/DrawerPopup.tsx"],"sourcesContent":["import { JSX, RefObject } from 'preact';\nimport { useState, useRef, useEffect, useCallback, useMemo } from 'preact/hooks';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { Layer } from '../UNSAFE_Layer';\nimport { Modal } from '../UNSAFE_Modal';\nimport { FocusTrap } from '../UNSAFE_FocusTrap';\nimport {\n getAutofocusFocusables,\n focusOn,\n focusWithin,\n getActiveElement,\n focusOnElementOrNearestAncestor\n} from '../utils/PRIVATE_tabbableUtils';\nimport { normalizePosition } from '../utils/PRIVATE_floatingUtils';\nimport { RtlSide } from '../UNSAFE_Floating';\nimport { getClientHints } from '../utils/PRIVATE_clientHints';\n\n// Hooks\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\nimport { useAnimation } from '../hooks/UNSAFE_useAnimation';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { useTestId, TestIdProps } from '../hooks/UNSAFE_useTestId';\nimport { useSwipe } from '../hooks/UNSAFE_useSwipe';\n\n// Style imports\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { DrawerPopupVariantOptions } from './themes/DrawerPopupStyles.css';\nimport { colorInterpolations, ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { DrawerPopupRedwoodTheme } from './themes/redwood/DrawerPopupTheme';\n\n// Types\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\ntype Placement = 'start' | 'end' | 'bottom';\ntype NormalizedPlacement = 'left' | 'right' | 'bottom';\ntype Status = 'unmounted' | 'initial' | 'opening' | 'closing';\ntype VisibilityStatus = 'hidden' | 'visible';\ntype DisplayModeHorizontal = 'overlay' | 'fullOverlay';\ntype OnCloseDetail = {\n reason: 'outsideClick' | 'escapeKey' | 'swipe';\n};\n\ntype Props = IntrinsicProps &\n Pick<ColorProps, 'backgroundColor'> & {\n /**\n * Specifies whether the Drawer is open.\n */\n isOpen: boolean;\n /**\n * Specifies at what edge the Drawer opens.\n * Supported values are:\n * <p><code>start</code>, <code>end</code>, <code>bottom</code></p>\n * Default is <code>start</code>.\n */\n placement?: Placement;\n /**\n * Specifies modality of the Darwer.\n * Supported values are:\n * <p><code>modal</code>, <code>modeless</code></p>\n * Default is <code>modal</code>.\n */\n modality?: 'modal' | 'modeless';\n /**\n * Specifies callback triggered when a user tries to close a Drawer through UI interaction.\n * The parent should listen to this event and close the Drawer. If the parent fails to remove\n * the Popup, then no change will be done in the UI by the component.\n * Supported detail values are:\n * <p><code>outsideClick</code>, <code>escapeKey</code></p>, <code>swipe</code>\n */\n onClose?: (detail: OnCloseDetail) => void;\n /**\n * Specifies callback triggered after the animation ends.\n */\n onTransitionEnd?: (value: boolean) => void;\n /**\n * Optional ref for an element to focus on when component mounts.\n */\n autoFocusRef?: RefObject<HTMLElement>;\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 } & TestIdProps;\n\n// Constants\nconst displayModefullWidthThreshold = 600;\nconst zero = '0px';\nconst duration = 250;\n\nconst getElementHeight = (element: HTMLDivElement): number => {\n return Math.round(element.offsetHeight);\n};\n\nconst getElementWidth = (element: HTMLDivElement): number => {\n return Math.round(element.getBoundingClientRect().width);\n};\n\n/**\n * A drawer popup adds a single slide-in side content alongside some primary content to an application window.\n *\n * This drawer always overlays the page and can be placed at the 'start', 'end' or 'bottom' edge.\n */\nexport const DrawerPopup = forwardRef(\n (\n {\n children,\n isOpen = false,\n autoFocusRef,\n placement = 'start',\n modality = 'modal',\n onClose,\n onTransitionEnd,\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 // Initialize states\n const [status, setStatus] = useState<Status>(isOpen ? 'initial' : 'unmounted');\n const [visibility, setVisibility] = useState<VisibilityStatus>('hidden');\n const [isOutsideClickDisabled, setIsOutsideClickDisabled] = useState<boolean>(!isOpen);\n const [displayModeHorizontal, setDisplayModeHorizontal] =\n useState<DisplayModeHorizontal>('overlay');\n\n const prevStatusRef = useRef<Status>('unmounted');\n\n const rootRef = useRef<HTMLDivElement>(null);\n const launcherRef = useRef<HTMLElement | null>(null);\n\n const mergedRef = useMemo(() => mergeRefs(rootRef, ref), [rootRef, ref]);\n\n const isBottomPlacement = placement === 'bottom';\n const shouldReturnFocus = useRef<boolean>(false);\n\n // Animation config\n const animationStates = {\n opening: () => {\n if (isBottomPlacement) {\n return {\n from: {\n translateY: getTranslateY()\n },\n to: {\n translateY: zero\n },\n options: {\n duration: duration\n }\n };\n } else {\n return {\n from: {\n translateX: getTranslateX()\n },\n to: {\n translateX: zero\n },\n options: {\n duration: duration\n }\n };\n }\n },\n closing: () => {\n if (isBottomPlacement) {\n return {\n from: {\n translateY: zero\n },\n to: {\n translateY: getTranslateY()\n },\n options: {\n duration: duration\n }\n };\n } else {\n return {\n from: {\n translateX: zero\n },\n to: {\n translateX: getTranslateX()\n },\n options: {\n duration: duration\n }\n };\n }\n }\n };\n\n // testId support\n const testIdProps = useTestId(testId);\n\n // Normalizing position\n const { direction } = useUser();\n const getNormalizedPlacement = (): RtlSide => {\n return normalizePosition(placement, direction);\n };\n\n const getTranslateX = (): string => {\n return `${getNormalizedPlacement() === 'right' ? '' : '-'}${getElementWidth(\n rootRef.current as HTMLDivElement\n )}px`;\n };\n\n const getTranslateY = (): string => {\n return `${getElementHeight(rootRef.current as HTMLDivElement)}px`;\n };\n\n const setInitialFocus = () => {\n // Set focus to the first match:\n // 1. First element inside the drawer matching [autofocus]\n const autofocusItems: HTMLElement[] = getAutofocusFocusables(rootRef.current as HTMLElement);\n if (autofocusItems.length > 0) {\n focusOn(autofocusItems[0]);\n return;\n }\n // 2. Tabbable element inside the content element\n // 3. The drawer itself\n focusWithin(rootRef.current as HTMLElement);\n };\n\n const returnFocusToLauncher = (): void => {\n if (shouldReturnFocus.current) {\n focusOnElementOrNearestAncestor(launcherRef.current as HTMLElement);\n shouldReturnFocus.current = false;\n }\n };\n\n // Remove style attribute left on the element by the Animation util\n const removeAnimationInlineStyles = useCallback(() => {\n rootRef.current?.style?.removeProperty('transform');\n }, []);\n\n // Animation\n const { nodeRef } = useAnimation<Status, HTMLDivElement>(status, {\n animationStates,\n isAnimatedOnMount: true,\n onAnimationEnd: () => {\n if (status === 'opening') {\n removeAnimationInlineStyles();\n setInitialFocus();\n onTransitionEnd?.(true);\n } else if (!isOpen) {\n shouldReturnFocus.current =\n rootRef.current?.contains(getActiveElement() as HTMLElement) || false;\n nodeRef(null);\n setVisibility('hidden');\n setStatus('unmounted');\n onTransitionEnd?.(false);\n }\n }\n });\n\n useEffect(() => {\n // 1. Ignore status update on initial render\n if (status === 'unmounted' && !isOpen && status !== prevStatusRef.current) {\n returnFocusToLauncher();\n }\n\n // 2. Mount visually hidden component\n // Component gets mounted, but will be visually hidden to avoid flickering\n // Flickering happens because it gets rendered before animation hook repositions\n // it in next render cycle\n else if (status === 'unmounted' && isOpen) {\n setStatus('initial');\n }\n\n // 3. Setup animation\n // Component has been mounted.\n // We will kick out animation as node is already present in DOM.\n // To avoid flickering, we still keep it visually hidden until the next render cycle.\n else if (status === 'initial' && isOpen) {\n nodeRef(rootRef.current);\n setIsOutsideClickDisabled(false);\n setStatus('opening');\n }\n\n // 3. Unhide component. It becomes visible.\n else if (status === 'opening' && isOpen) {\n setVisibility('visible');\n }\n\n // 4. Closing\n else if (!isOpen && status !== 'unmounted') {\n setIsOutsideClickDisabled(true);\n setStatus('closing');\n }\n\n return () => {\n // remember the previous status\n prevStatusRef.current = status;\n };\n }, [isOpen, status, nodeRef]);\n\n // Destroy case handler\n useEffect(() => {\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n if (rootRef.current?.contains(getActiveElement() as HTMLElement) || false) {\n // In destroy case ModalManager is blocking returning of the focus.\n // We need to reschedule it to workaround that\n setTimeout(() => {\n focusOnElementOrNearestAncestor(launcherRef.current as HTMLElement);\n }, 0);\n }\n };\n }, []);\n\n // Launcher handler\n useEffect(() => {\n if (status === 'opening') {\n // Remember launcher\n launcherRef.current = getActiveElement() as HTMLElement;\n\n // Register F6 key handler. It is modeless only feature.\n if (modality === 'modeless') {\n launcherRef.current?.addEventListener('keydown', launcherKeyDownCallback);\n }\n }\n if (status === 'closing' && modality === 'modeless') {\n return () => {\n // Deregister F6 key handler\n launcherRef.current?.removeEventListener('keydown', launcherKeyDownCallback);\n };\n }\n return;\n }, [modality, status]);\n\n const launcherKeyDownCallback = (event: KeyboardEvent): void => {\n // Moves focus from launcher (must have focus) back to the Drawer\n if (launcherRef.current === getActiveElement() && event.code === '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 on first tabbable in a container or container itself if there is none\n focusWithin(rootRef.current as HTMLElement);\n }\n };\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n const launcherEl = launcherRef.current;\n switch (event.code) {\n case 'Escape': {\n onClose?.({ reason: 'escapeKey' });\n break;\n }\n case 'F6':\n if (modality === 'modeless') {\n // Prevent default F6 handlers.\n // F6 is a standard Chrome address bar shortcut on Windows.\n event.preventDefault();\n event.stopPropagation();\n // Focus launcher\n if (launcherEl) {\n focusOn(launcherEl);\n }\n break;\n }\n }\n },\n [onClose, modality]\n );\n\n // OutsideClick handler\n const handleOutsideClick = useCallback(() => {\n // Trigger onClose event with outside click detail\n onClose?.({ reason: 'outsideClick' });\n }, [onClose]);\n\n const insideRefs: RefObject<HTMLElement>[] = [rootRef];\n // launcher should be considered an \"inside\" element\n if (launcherRef.current && launcherRef.current !== document.body) {\n insideRefs.push(launcherRef);\n }\n\n useOutsideClick({\n isDisabled: isOutsideClickDisabled,\n ref: insideRefs,\n handler: handleOutsideClick\n });\n\n // Drawer placement\n const getDrawerPlacement = (): NormalizedPlacement => {\n if (isBottomPlacement) {\n return placement;\n } else {\n if (direction === 'rtl') {\n return placement === 'start' ? 'right' : 'left';\n } else {\n return placement === 'start' ? 'left' : 'right';\n }\n }\n };\n\n const clientHints = getClientHints();\n\n const getViewportWidth = useCallback((): number => {\n if (clientHints.platform === 'ios') {\n // On ios window.innerWidth is not recommended way of measuring the viewport\n return document.documentElement.clientWidth;\n }\n return window.innerWidth;\n }, [clientHints.platform]);\n\n // Window resize handler\n // Handles display mode: Overlay <> Full overlay (full width side drawers)\n const handleResize = useCallback(() => {\n const viewportWidth = getViewportWidth();\n if (displayModeHorizontal === 'overlay' && viewportWidth < displayModefullWidthThreshold) {\n setDisplayModeHorizontal('fullOverlay');\n }\n if (\n displayModeHorizontal === 'fullOverlay' &&\n viewportWidth > displayModefullWidthThreshold\n ) {\n setDisplayModeHorizontal('overlay');\n }\n }, [getViewportWidth, displayModeHorizontal]);\n\n useEffect(() => {\n const root = rootRef.current;\n if (root && status === 'opening') {\n const resizeObserver = new ResizeObserver(() => {\n handleResize();\n });\n resizeObserver.observe(document.body);\n return () => {\n resizeObserver.unobserve(document.body);\n };\n }\n return undefined;\n }, [status, handleResize]);\n\n const dispatchSwipeOnClose = useCallback(() => {\n onClose?.({ reason: 'swipe' });\n }, [onClose]);\n\n // OutsideClick handler\n const swipeHandler = useCallback(\n (event: any): void => {\n const swipeDir = event.direction;\n // LTR\n if (direction === 'ltr') {\n if (\n (placement === 'start' && swipeDir === 'left') ||\n (placement === 'end' && swipeDir === 'right')\n ) {\n dispatchSwipeOnClose();\n }\n }\n // RTL\n if (direction === 'rtl') {\n if (\n (placement === 'start' && swipeDir === 'right') ||\n (placement === 'end' && swipeDir === 'left')\n ) {\n dispatchSwipeOnClose();\n }\n }\n // Bottom\n if (placement === 'bottom' && swipeDir === 'down') {\n dispatchSwipeOnClose();\n }\n },\n [direction, placement, dispatchSwipeOnClose]\n );\n\n const swipeOptions = {\n threshold: 50,\n maximumTime: 750,\n tolerance: 40\n };\n const { swipeProps } = useSwipe(swipeHandler, swipeOptions);\n\n // Styles\n const { classes } = useComponentTheme<DrawerPopupVariantOptions>(DrawerPopupRedwoodTheme, {\n placement: getDrawerPlacement(),\n visibility,\n displayModeHorizontal:\n ['start', 'end'].indexOf(placement) > -1 ? displayModeHorizontal : undefined\n });\n\n const interpolations = [...Object.values(colorInterpolations)];\n const styleInterpolations = mergeInterpolations<ColorProps>(interpolations);\n const { ...styles } = styleInterpolations(props);\n\n const renderDrawer = () => {\n return (\n <FocusTrap autoFocusRef={autoFocusRef} restoreFocusRef={false}>\n <div\n ref={mergedRef}\n className={classes}\n style={styles}\n tabIndex={-1}\n role=\"dialog\"\n onKeyDown={handleKeyDown}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n {...swipeProps}\n {...testIdProps}>\n {children}\n </div>\n </FocusTrap>\n );\n };\n\n const isMounted = status !== 'unmounted';\n if (isMounted) {\n // Modal vs. modelss upper wrapper\n if (modality === 'modal') {\n return <Modal isOpen={isMounted}>{renderDrawer()}</Modal>;\n } else {\n return <Layer>{renderDrawer()}</Layer>;\n }\n }\n\n return null;\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA8FA;AACA,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAC1C,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,QAAQ,GAAG,GAAG,CAAC;AAErB,MAAM,gBAAgB,GAAG,CAAC,OAAuB,KAAY;IAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,OAAuB,KAAY;IAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC,CAAC;AAEF;;;;AAIG;MACU,WAAW,GAAG,UAAU,CACnC,CACE,EACE,QAAQ,EACR,MAAM,GAAG,KAAK,EACd,Y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preact/hooks';
4
+ import { F as Floating } from './Floating-94a06a14.js';
5
+ import { L as Layer } from './Layer-d4aca92e.js';
6
+ import 'preact/compat';
7
+ import './LayerHost-f7ef254c.js';
8
+ import { K as KEYS } from './keyboardUtils-38854729.js';
9
+ import { f as focusWithin } from './tabbableUtils-6ceb767f.js';
10
+ import { u as usePopupAnimation } from './usePopupAnimation-93950404.js';
11
+ import { g as getTransformOrigin } from './popupAnimationUtils-175151d9.js';
12
+ import { C as CollectionInteractionContext } from './CollectionInteractionContext-7cf19abc.js';
13
+ import { dropdownStyles } from './UNSAFE_Dropdown/themes/dropdownStyles.css.js';
14
+ import { u as useOutsideMousedown } from './useOutsideMousedown-7307de8b.js';
15
+ import { m as mergeAnimationStateObjects, D as DURATION_LARGE, S as SCALE_UP_FULL } from './animationUtils-e6081007.js';
16
+
17
+ const DEFAULT_PLACEMENT = 'bottom-start';
18
+ const DEFAULT_OFFSET = { mainAxis: 4, crossAxis: 0 };
19
+ const DEFAULT_SIZE_OPTIONS = { isMaxWidthAdjusted: true, isMaxHeightAdjusted: true };
20
+ const DEFAULT_FLIP_OPTIONS = { mainAxis: true, crossAxis: true };
21
+ const animationStates = {
22
+ opening: (node) => {
23
+ return mergeAnimationStateObjects([
24
+ SCALE_UP_FULL,
25
+ {
26
+ from: { transformOrigin: getTransformOrigin(node.placement, node.direction) },
27
+ to: { transformOrigin: getTransformOrigin(node.placement, node.direction) }
28
+ }
29
+ ], {
30
+ duration: DURATION_LARGE
31
+ });
32
+ }
33
+ };
34
+ //TODO: Add animation to dropdown. JET-62628
35
+ //TODO: Investigate best approach to have different virtual padding depending on the position and implement it.JET-57950
36
+ function Dropdown({ isOpen = false, anchorRef, children, id, onClose, minWidth, placement = DEFAULT_PLACEMENT, offset = DEFAULT_OFFSET, onPosition, flipOptions = DEFAULT_FLIP_OPTIONS, sizeOptions = DEFAULT_SIZE_OPTIONS, shiftOptions, initialFocus = 'none' }) {
37
+ const dropdownRef = useRef(null);
38
+ const onTransitionEnd = useCallback((isOpen) => {
39
+ if (isOpen && initialFocus === 'firstFocusable') {
40
+ const dropdownElement = dropdownRef.current;
41
+ if (dropdownElement) {
42
+ focusWithin(dropdownElement);
43
+ }
44
+ }
45
+ }, [initialFocus]);
46
+ const { status, setAnimationElementRef, onPosition: onPositionAnimated } = usePopupAnimation({
47
+ isOpen,
48
+ placement,
49
+ isAnimatedOnMount: true,
50
+ animationStates,
51
+ onPosition,
52
+ onTransitionEnd
53
+ });
54
+ const handleMousedownClose = useCallback((event) => {
55
+ onClose?.({ reason: 'outsideMousedown', target: event.target });
56
+ }, [onClose]);
57
+ const handleKeyDown = useCallback((event) => {
58
+ if (event.defaultPrevented) {
59
+ return;
60
+ }
61
+ switch (event.code) {
62
+ case KEYS.ESC:
63
+ onClose?.({ reason: 'dismissed' });
64
+ break;
65
+ case KEYS.TAB:
66
+ onClose?.({ reason: 'dismissed' });
67
+ break;
68
+ }
69
+ }, [onClose]);
70
+ // use the mousedown event to be consistent with legacy JET
71
+ useOutsideMousedown({
72
+ isDisabled: false,
73
+ ref: [dropdownRef],
74
+ handler: handleMousedownClose
75
+ });
76
+ return (jsx(Fragment, { children: status !== 'unmounted' ? (jsx(Layer, { logicalParentRef: anchorRef, children: jsx(Floating, { anchorRef: anchorRef, ref: setAnimationElementRef, placement: placement, flipOptions: flipOptions, shiftOptions: shiftOptions, sizeOptions: sizeOptions, offsetValue: offset, onPosition: onPositionAnimated, boundaryOptions: { padding: { top: 8, bottom: 8, left: 0, right: 0 } }, children: jsx("div", { ref: dropdownRef, id: id, class: dropdownStyles.base, style: { minWidth: `${minWidth || 0}px` }, onKeyDown: handleKeyDown, children: jsx(CollectionInteractionContext.Provider, { value: 'embedded', children: children }) }) }) })) : null }));
77
+ }
78
+
79
+ export { Dropdown as D };
80
+ //# sourceMappingURL=Dropdown-ab7ecd4b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown-ab7ecd4b.js","sources":["../../src/UNSAFE_Dropdown/Dropdown.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, RefObject, JSX } from 'preact';\nimport { useCallback, useRef } from 'preact/hooks';\n\nimport { Floating } from '../UNSAFE_Floating';\nimport { Layer } from '../UNSAFE_Layer';\nimport { KEYS } from '../utils/PRIVATE_keyboardUtils';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\nimport { usePopupAnimation } from '#UNSAFE_Popup/usePopupAnimation';\nimport { getTransformOrigin } from '#utils/PRIVATE_popupAnimationUtils';\nimport { AnimationPopupElement } from '../UNSAFE_Popup/usePopupAnimation';\nimport { CollectionInteractionContext } from '#hooks/UNSAFE_useCollectionInteractionContext';\n\nimport { dropdownStyles } from './themes/dropdownStyles.css';\nimport { useOutsideMousedown } from '../hooks/PRIVATE_useOutsideMousedown';\nimport {\n DURATION_LARGE,\n SCALE_UP_FULL,\n mergeAnimationStateObjects\n} from '#utils/PRIVATE_animationUtils';\n\ntype FloatingProps = ComponentProps<typeof Floating>;\n\n//Same as Menu onClose, only difference is mouseDown instead of outside click\n//Once menu consumes dropdown is going to start using mouseDown\nexport type CloseDetail = { reason: 'dismissed' } | { reason: 'outsideMousedown'; target: Element };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype Props = IntrinsicProps & {\n /**\n *Specifies whether Dropdown is open.\n */\n isOpen?: boolean;\n /**\n * Trigger element reference.\n */\n anchorRef: FloatingProps['anchorRef'];\n /**\n * Id of the dropdown container.\n * Used usually for accesibility reasons.\n */\n id?: string;\n /**\n * Called when dropdown is supposed to be closed.\n * Called when user tab/esc or mouseDown outside the dropdown.\n */\n onClose?: (detail: CloseDetail) => void;\n /**\n *Min width represented in pixels of the dropdown container.\n */\n minWidth?: number;\n /**\n * Placement of the floating element relative to its reference element.\n */\n placement?: FloatingProps['placement'];\n /**\n * Offset displaces the floating element from its core placement along the specified axes.\n */\n offset?: FloatingProps['offsetValue'];\n /**\n * Triggered when placement or coordinates are changed after collision is detected.\n */\n onPosition?: FloatingProps['onPosition'];\n /**\n * Specifies the flipping behavior along the respective axis.\n */\n flipOptions?: FloatingProps['flipOptions'];\n /**\n * Specifies the resizing behaviour for max-height and max-width of the floating component.\n */\n sizeOptions?: FloatingProps['sizeOptions'];\n\n /**\n * Specifies the shift behavior along the respective axis\n */\n shiftOptions?: FloatingProps['shiftOptions'];\n /**\n * Specifies initial focus.\n */\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst DEFAULT_PLACEMENT = 'bottom-start';\nconst DEFAULT_OFFSET = { mainAxis: 4, crossAxis: 0 };\nconst DEFAULT_SIZE_OPTIONS = { isMaxWidthAdjusted: true, isMaxHeightAdjusted: true };\nconst DEFAULT_FLIP_OPTIONS = { mainAxis: true, crossAxis: true };\n\nconst animationStates: Parameters<typeof usePopupAnimation>[0]['animationStates'] = {\n opening: (node: AnimationPopupElement) => {\n return mergeAnimationStateObjects(\n [\n SCALE_UP_FULL,\n {\n from: { transformOrigin: getTransformOrigin(node.placement, node.direction) },\n to: { transformOrigin: getTransformOrigin(node.placement, node.direction) }\n }\n ],\n {\n duration: DURATION_LARGE\n }\n );\n }\n};\n\n//TODO: Add animation to dropdown. JET-62628\n//TODO: Investigate best approach to have different virtual padding depending on the position and implement it.JET-57950\nexport function Dropdown({\n isOpen = false,\n anchorRef,\n children,\n id,\n onClose,\n minWidth,\n placement = DEFAULT_PLACEMENT,\n offset = DEFAULT_OFFSET,\n onPosition,\n flipOptions = DEFAULT_FLIP_OPTIONS,\n sizeOptions = DEFAULT_SIZE_OPTIONS,\n shiftOptions,\n initialFocus = 'none'\n}: Props) {\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const onTransitionEnd = useCallback(\n (isOpen: boolean) => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const dropdownElement = dropdownRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n },\n [initialFocus]\n );\n\n const {\n status,\n setAnimationElementRef,\n onPosition: onPositionAnimated\n } = usePopupAnimation({\n isOpen,\n placement,\n isAnimatedOnMount: true,\n animationStates,\n onPosition,\n onTransitionEnd\n });\n\n const handleMousedownClose = useCallback(\n (event: MouseEvent) => {\n onClose?.({ reason: 'outsideMousedown', target: event.target as Element });\n },\n [onClose]\n );\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case KEYS.ESC:\n onClose?.({ reason: 'dismissed' });\n break;\n case KEYS.TAB:\n onClose?.({ reason: 'dismissed' });\n break;\n default:\n break;\n }\n },\n [onClose]\n );\n\n // use the mousedown event to be consistent with legacy JET\n useOutsideMousedown({\n isDisabled: false,\n ref: [dropdownRef],\n handler: handleMousedownClose\n });\n\n return (\n <>\n {status !== 'unmounted' ? (\n <Layer logicalParentRef={anchorRef as RefObject<Element>}>\n <Floating\n anchorRef={anchorRef}\n ref={setAnimationElementRef}\n placement={placement}\n flipOptions={flipOptions}\n shiftOptions={shiftOptions}\n sizeOptions={sizeOptions}\n offsetValue={offset}\n onPosition={onPositionAnimated}\n boundaryOptions={{ padding: { top: 8, bottom: 8, left: 0, right: 0 } }}>\n <div\n ref={dropdownRef}\n id={id}\n class={dropdownStyles.base}\n style={{ minWidth: `${minWidth || 0}px` }}\n onKeyDown={handleKeyDown}>\n <CollectionInteractionContext.Provider value={'embedded'}>\n {children}\n </CollectionInteractionContext.Provider>\n </div>\n </Floating>\n </Layer>\n ) : null}\n </>\n );\n}\n"],"names":["_jsx","_Fragment"],"mappings":";;;;;;;;;;;;;;;;AA0FA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,cAAc,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;AACrD,MAAM,oBAAoB,GAAG,EAA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,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,kBAAkB,EAC9B,eAAe,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAA,QAAA,EACtEA,GACE,CAAA,KAAA,EAAA,EAAA,GAAG,EAAE,WAAW,EAChB,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,cAAc,CAAC,IAAI,EAC1B,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAA,EAAG,QAAQ,IAAI,CAAC,CAAA,EAAA,CAAI,EAAE,EACzC,SAAS,EAAE,aAAa,EAAA,QAAA,EACxBA,GAAC,CAAA,4BAA4B,CAAC,QAAQ,EAAC,EAAA,KAAK,EAAE,UAAU,EACrD,QAAA,EAAA,QAAQ,EAC6B,CAAA,EAAA,CACpC,EACG,CAAA,EAAA,CACL,IACN,IAAI,EAAA,CACP,EACH;AACJ;;;;"}
@@ -0,0 +1,58 @@
1
+ /* @oracle/oraclejet-preact: undefined */
2
+ import { jsx } from 'preact/jsx-runtime';
3
+ import { E as EnvironmentContext, D as DefaultEnvironment } from './LayerHost-f7ef254c.js';
4
+ import { useMemo, useContext } from 'preact/hooks';
5
+ import { L as LayerManager } from './LayerManager-4ad387dc.js';
6
+
7
+ // Custom merge function
8
+ function mergeEnvironment(env1, env2) {
9
+ const userValue = Object.assign({}, env1.user, env2?.user);
10
+ const themeValue = Object.assign({}, env1.theme, env2?.theme);
11
+ // Merge translation values - one level merge
12
+ const targetTranslations = Object.assign({}, env1.translations);
13
+ const sourceTranslations = env2?.translations || {};
14
+ Object.keys(sourceTranslations).forEach((key) => {
15
+ let newVal = sourceTranslations[key];
16
+ if (targetTranslations[key]) {
17
+ // merge is needed
18
+ newVal = Object.assign({}, targetTranslations[key], newVal);
19
+ }
20
+ targetTranslations[key] = newVal;
21
+ });
22
+ return {
23
+ user: userValue,
24
+ theme: themeValue,
25
+ translations: targetTranslations,
26
+ colorScheme: env2?.colorScheme ?? env1.colorScheme,
27
+ scale: env2?.scale ?? env1.scale,
28
+ currentBgColor: env2?.currentBgColor ?? env1.currentBgColor,
29
+ mode: env2?.mode ?? env1.mode,
30
+ density: env2?.density ?? env1.density
31
+ };
32
+ }
33
+ /**
34
+ * The RootEnvironmentProvider component bootstraps essential services and
35
+ * must be placed at the root of any application using components from '@oracle/oraclejet-preact'.
36
+ * Minimally, the application must load the appropriate translation bundle for the user's locale
37
+ * and set it on the RootEnvironmentProvider.
38
+ */
39
+ function RootEnvironmentProvider({ children, environment }) {
40
+ const mergedEnvironment = useMemo(() => mergeEnvironment(DefaultEnvironment, environment), [environment]);
41
+ return (jsx(EnvironmentContext.Provider, { value: mergedEnvironment, children: jsx(LayerManager, { children: children }) }));
42
+ }
43
+ /**
44
+ * The EnvironmentProvider is a component that should be used by the application when there is a need to overwrite
45
+ * environment values for a subtree.
46
+ * The component receives an Environment object that will be merged into the values provided by the nearest ancestor Provider.
47
+ * The new environment will be passed to the component's children.
48
+ * Note that some environment values cannot be overwritten. See the description of the Environment type for the list of values
49
+ * that can be replaced.
50
+ */
51
+ function EnvironmentProvider({ children, environment }) {
52
+ const consumerEnv = useContext(EnvironmentContext);
53
+ const mergedEnvironment = useMemo(() => mergeEnvironment(consumerEnv, environment), [consumerEnv, environment]);
54
+ return (jsx(EnvironmentContext.Provider, { value: mergedEnvironment, children: children }));
55
+ }
56
+
57
+ export { EnvironmentProvider as E, RootEnvironmentProvider as R };
58
+ //# sourceMappingURL=EnvironmentProvider-1580c879.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentProvider-1580c879.js","sources":["../../src/UNSAFE_Environment/EnvironmentProvider.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport {\n CompleteEnvironmentType,\n DefaultEnvironment,\n Environment,\n EnvironmentContext,\n RootEnvironment\n} from './EnvironmentContext';\nimport { useContext, useMemo } from 'preact/hooks';\n\nimport { ComponentChildren } from 'preact';\nimport { LayerManager } from '../UNSAFE_Layer/LayerManager';\n\n// EnvironmentProvider properties\nexport declare type ProviderProperties<Env extends RootEnvironment | Environment> = {\n environment?: Env;\n children?: ComponentChildren;\n};\n\n// Custom merge function\nfunction mergeEnvironment(\n env1: CompleteEnvironmentType,\n env2: Partial<RootEnvironment> | undefined\n) {\n const userValue = Object.assign({}, env1.user, env2?.user);\n const themeValue = Object.assign({}, env1.theme, env2?.theme);\n\n // Merge translation values - one level merge\n const targetTranslations = Object.assign({}, env1.translations);\n const sourceTranslations = env2?.translations || {};\n Object.keys(sourceTranslations).forEach((key) => {\n let newVal = sourceTranslations[key];\n if (targetTranslations[key]) {\n // merge is needed\n newVal = Object.assign({}, targetTranslations[key], newVal);\n }\n targetTranslations[key] = newVal;\n });\n\n return {\n user: userValue,\n theme: themeValue,\n translations: targetTranslations,\n colorScheme: env2?.colorScheme ?? env1.colorScheme,\n scale: env2?.scale ?? env1.scale,\n currentBgColor: env2?.currentBgColor ?? env1.currentBgColor,\n mode: env2?.mode ?? env1.mode,\n density: env2?.density ?? env1.density\n };\n}\n\n/**\n * The RootEnvironmentProvider component bootstraps essential services and\n * must be placed at the root of any application using components from '@oracle/oraclejet-preact'.\n * Minimally, the application must load the appropriate translation bundle for the user's locale\n * and set it on the RootEnvironmentProvider.\n */\nexport function RootEnvironmentProvider({\n children,\n environment\n}: ProviderProperties<RootEnvironment>) {\n const mergedEnvironment = useMemo(\n () => mergeEnvironment(DefaultEnvironment, environment),\n [environment]\n );\n return (\n <EnvironmentContext.Provider value={mergedEnvironment}>\n <LayerManager>{children}</LayerManager>\n </EnvironmentContext.Provider>\n );\n}\n\n/**\n * The EnvironmentProvider is a component that should be used by the application when there is a need to overwrite\n * environment values for a subtree.\n * The component receives an Environment object that will be merged into the values provided by the nearest ancestor Provider.\n * The new environment will be passed to the component's children.\n * Note that some environment values cannot be overwritten. See the description of the Environment type for the list of values\n * that can be replaced.\n */\nexport function EnvironmentProvider({ children, environment }: ProviderProperties<Environment>) {\n const consumerEnv = useContext(EnvironmentContext);\n const mergedEnvironment = useMemo(\n () => mergeEnvironment(consumerEnv, environment),\n [consumerEnv, environment]\n );\n\n return (\n <EnvironmentContext.Provider value={mergedEnvironment}>{children}</EnvironmentContext.Provider>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;;;AA0BA;AACA,SAAS,gBAAgB,CACvB,IAA6B,EAC7B,IAA0C,EAAA;AAE1C,IAAA,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAC3D,IAAA,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;;AAG9D,IAAA,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;AAChE,IAAA,MAAM,kBAAkB,GAAG,IAAI,EAAE,YAAY,IAAI,EAAE,CAAC;IACpD,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AAC9C,QAAA,IAAI,MAAM,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACrC,QAAA,IAAI,kBAAkB,CAAC,GAAG,CAAC,EAAE;;AAE3B,YAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,kBAAkB,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC;SAC7D;AACD,QAAA,kBAAkB,CAAC,GAAG,C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AAE,iBAAiB,EAAA,QAAA,EAAG,QAAQ,EAAA,CAA+B,EAC/F;AACJ;;;;"}
@@ -5,17 +5,17 @@ import { useCallback, useState, useRef } from 'preact/hooks';
5
5
  import { memo } from 'preact/compat';
6
6
  import { c as classNames } from './classNames-4e12b00d.js';
7
7
  import { u as useId } from './useId-03dbfdf0.js';
8
- import { u as useTranslationBundle } from './useTranslationBundle-29a1abb3.js';
8
+ import { u as useTranslationBundle } from './useTranslationBundle-0dff3ab2.js';
9
9
  import { c as containsKey, e as isSameKey } from './keys-49c92dbb.js';
10
10
  import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
11
11
  import { S as SvgChevronDown } from './ChevronDown-d86b96e5.js';
12
12
  import { C as CollapseIcon } from './CollapseIcon-43663109.js';
13
- import { L as LiveRegion } from './LiveRegion-7d6e9b93.js';
14
- import { u as useUser } from './useUser-9c8d0e57.js';
13
+ import { L as LiveRegion } from './LiveRegion-d9f2bbdb.js';
14
+ import { u as useUser } from './useUser-6a7f6df3.js';
15
15
  import { k as keyExtractor } from './collectionUtils-8a9d80a3.js';
16
16
  import { B as Button } from './Button-9737b653.js';
17
17
  import { G as GROUP_SELECTOR, a as GroupLoadingIndicator, L as ListGroupHeader } from './GroupLoadingIndicator-2a294121.js';
18
- import { e as excludeGroup, L as List } from './List-4e5ab994.js';
18
+ import { e as excludeGroup, L as List } from './List-da0ce081.js';
19
19
 
20
20
  /**
21
21
  * @license