@oracle/oraclejet-preact 18.0.3 → 18.0.5

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 (624) hide show
  1. package/amd/{BaseCardView-ab799b69.js → BaseCardView-70b177ed.js} +2 -2
  2. package/amd/{BaseCardView-ab799b69.js.map → BaseCardView-70b177ed.js.map} +1 -1
  3. package/amd/CardFlexView-bb5c4369.js +2 -0
  4. package/amd/{CardFlexView-296f97f5.js.map → CardFlexView-bb5c4369.js.map} +1 -1
  5. package/amd/{CardGridView-054ffc3f.js → CardGridView-c28ff2f7.js} +2 -2
  6. package/amd/{CardGridView-054ffc3f.js.map → CardGridView-c28ff2f7.js.map} +1 -1
  7. package/amd/CheckboxSetContext-2e486ea8.js +2 -0
  8. package/amd/CheckboxSetContext-2e486ea8.js.map +1 -0
  9. package/amd/ExpandableList-dd3a05b4.js +1 -1
  10. package/amd/GroupLoadingIndicator-6b2ab709.js +1 -1
  11. package/amd/{Indexer-1531dbc3.js → Indexer-357554c4.js} +2 -2
  12. package/amd/{Indexer-1531dbc3.js.map → Indexer-357554c4.js.map} +1 -1
  13. package/amd/{LineAreaChart-2f4be408.js → LineAreaChart-b4acee62.js} +2 -2
  14. package/amd/{LineAreaChart-2f4be408.js.map → LineAreaChart-b4acee62.js.map} +1 -1
  15. package/amd/List-04c4fed0.js +2 -0
  16. package/amd/{List-0b764e84.js.map → List-04c4fed0.js.map} +1 -1
  17. package/amd/{ListView-5bb45f81.js → ListView-bf740071.js} +2 -2
  18. package/amd/{ListView-5bb45f81.js.map → ListView-bf740071.js.map} +1 -1
  19. package/amd/LoadMoreCollection-a6adbc3f.js +2 -0
  20. package/amd/{LoadMoreCollection-83413a59.js.map → LoadMoreCollection-a6adbc3f.js.map} +1 -1
  21. package/amd/NavigationListItem-021b2d58.js +2 -0
  22. package/amd/{NavigationListItem-044a79fd.js.map → NavigationListItem-021b2d58.js.map} +1 -1
  23. package/amd/{OverflowTabBar-339f34cf.js → OverflowTabBar-ea3a4742.js} +2 -2
  24. package/amd/{OverflowTabBar-339f34cf.js.map → OverflowTabBar-ea3a4742.js.map} +1 -1
  25. package/amd/{OverflowTabBarItem-c59db4a2.js → OverflowTabBarItem-763773c9.js} +2 -2
  26. package/amd/{OverflowTabBarItem-c59db4a2.js.map → OverflowTabBarItem-763773c9.js.map} +1 -1
  27. package/amd/PRIVATE_BaseCardView.js +1 -1
  28. package/amd/PRIVATE_List.js +1 -1
  29. package/amd/PRIVATE_LoadMoreCollection.js +1 -1
  30. package/amd/PRIVATE_SelectCommon.js +1 -1
  31. package/amd/PRIVATE_Table.js +1 -1
  32. package/amd/PRIVATE_VirtualizedCollection.js +1 -1
  33. package/amd/{SelectMultiple-7e9bd455.js → SelectMultiple-e3a6732b.js} +2 -2
  34. package/amd/{SelectMultiple-7e9bd455.js.map → SelectMultiple-e3a6732b.js.map} +1 -1
  35. package/amd/{SelectSingle-466bcd67.js → SelectSingle-9d0dca8f.js} +2 -2
  36. package/amd/{SelectSingle-466bcd67.js.map → SelectSingle-9d0dca8f.js.map} +1 -1
  37. package/amd/{Table-87f7e3c4.js → Table-31cc83c6.js} +2 -2
  38. package/amd/{Table-87f7e3c4.js.map → Table-31cc83c6.js.map} +1 -1
  39. package/amd/{TableView-2b884e2c.js → TableView-ab5d0c12.js} +2 -2
  40. package/amd/{TableView-2b884e2c.js.map → TableView-ab5d0c12.js.map} +1 -1
  41. package/amd/TextArea-a7a3d82f.js +2 -0
  42. package/amd/TextArea-a7a3d82f.js.map +1 -0
  43. package/amd/TextAreaAutosize-9cd2c1e8.js +2 -0
  44. package/amd/{TextAreaAutosize-81449e46.js.map → TextAreaAutosize-9cd2c1e8.js.map} +1 -1
  45. package/amd/Theme-redwood/theme.css +225 -225
  46. package/amd/Theme-stable/theme.css +161 -161
  47. package/amd/UNSAFE_CardFlexView.js +1 -1
  48. package/amd/UNSAFE_CardGridView.js +1 -1
  49. package/amd/UNSAFE_CheckboxItem.js +1 -1
  50. package/amd/UNSAFE_CheckboxItem.js.map +1 -1
  51. package/amd/UNSAFE_CheckboxSet.js +1 -1
  52. package/amd/UNSAFE_CheckboxSet.js.map +1 -1
  53. package/amd/UNSAFE_ExpandableList.js +1 -1
  54. package/amd/UNSAFE_Indexer.js +1 -1
  55. package/amd/UNSAFE_LineAreaChart.js +1 -1
  56. package/amd/UNSAFE_ListView.js +1 -1
  57. package/amd/UNSAFE_NavigationList.js +1 -1
  58. package/amd/UNSAFE_OverflowTabBar.js +1 -1
  59. package/amd/UNSAFE_RichCheckboxSet.js +1 -1
  60. package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
  61. package/amd/UNSAFE_RichSelectionItem.js +1 -1
  62. package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
  63. package/amd/UNSAFE_SelectMultiple.js +1 -1
  64. package/amd/UNSAFE_SelectSingle.js +1 -1
  65. package/amd/UNSAFE_TabBar.js +1 -1
  66. package/amd/UNSAFE_TabBarCommon.js +1 -1
  67. package/amd/UNSAFE_TabBarMixed.js +1 -1
  68. package/amd/UNSAFE_TableView.js +1 -1
  69. package/amd/UNSAFE_TextArea.js +1 -1
  70. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  71. package/amd/UNSAFE_VirtualizedListView.js +1 -1
  72. package/amd/{VirtualizedCollection-897516a5.js → VirtualizedCollection-63223f5e.js} +2 -2
  73. package/amd/{VirtualizedCollection-897516a5.js.map → VirtualizedCollection-63223f5e.js.map} +1 -1
  74. package/amd/{VirtualizedListView-cbe87ec2.js → VirtualizedListView-554eaee6.js} +2 -2
  75. package/amd/{VirtualizedListView-cbe87ec2.js.map → VirtualizedListView-554eaee6.js.map} +1 -1
  76. package/amd/{useSelectCommon-d9c4a7bd.js → useSelectCommon-e7f123ce.js} +2 -2
  77. package/amd/{useSelectCommon-d9c4a7bd.js.map → useSelectCommon-e7f123ce.js.map} +1 -1
  78. package/cjs/{BarChart-93a3813c.js → BarChart-ca7f8ed5.js} +2 -2
  79. package/cjs/{BarChart-93a3813c.js.map → BarChart-ca7f8ed5.js.map} +1 -1
  80. package/cjs/{Chart-40d95d14.js → Chart-fbbd3329.js} +2 -2
  81. package/cjs/{Chart-40d95d14.js.map → Chart-fbbd3329.js.map} +1 -1
  82. package/cjs/{ComboChart-cffd0759.js → ComboChart-95863e7a.js} +2 -2
  83. package/cjs/{ComboChart-cffd0759.js.map → ComboChart-95863e7a.js.map} +1 -1
  84. package/cjs/{InputDatePicker-4d36637f.js → InputDatePicker-bc2c534a.js} +2 -2
  85. package/cjs/{InputDatePicker-4d36637f.js.map → InputDatePicker-bc2c534a.js.map} +1 -1
  86. package/cjs/{LineAreaChart-53aa461c.js → LineAreaChart-506308c1.js} +3 -3
  87. package/cjs/{LineAreaChart-53aa461c.js.map → LineAreaChart-506308c1.js.map} +1 -1
  88. package/cjs/{NavigationListItem-7947af0e.js → NavigationListItem-4c4e804d.js} +14 -1
  89. package/cjs/{NavigationListItem-7947af0e.js.map → NavigationListItem-4c4e804d.js.map} +1 -1
  90. package/cjs/{OverflowTabBar-27ad6d1f.js → OverflowTabBar-428798a0.js} +2 -2
  91. package/cjs/{OverflowTabBar-27ad6d1f.js.map → OverflowTabBar-428798a0.js.map} +1 -1
  92. package/cjs/{OverflowTabBarItem-57537ebe.js → OverflowTabBarItem-3c7adb01.js} +2 -2
  93. package/cjs/{OverflowTabBarItem-57537ebe.js.map → OverflowTabBarItem-3c7adb01.js.map} +1 -1
  94. package/cjs/PRIVATE_Chart.js +4 -4
  95. package/cjs/{ScatterChart-9c748a81.js → ScatterChart-80ef4bee.js} +2 -2
  96. package/cjs/{ScatterChart-9c748a81.js.map → ScatterChart-80ef4bee.js.map} +1 -1
  97. package/cjs/{TextArea-e7f98e9f.js → TextArea-4c8f0284.js} +22 -4
  98. package/cjs/TextArea-4c8f0284.js.map +1 -0
  99. package/cjs/{TextAreaAutosize-d96c7038.js → TextAreaAutosize-466a21cc.js} +3 -3
  100. package/cjs/{TextAreaAutosize-d96c7038.js.map → TextAreaAutosize-466a21cc.js.map} +1 -1
  101. package/cjs/Theme-redwood/theme.css +163 -163
  102. package/cjs/Theme-stable/theme.css +149 -149
  103. package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +5 -5
  104. package/cjs/UNSAFE_BarChart.js +5 -5
  105. package/cjs/UNSAFE_ComboChart.js +5 -5
  106. package/cjs/UNSAFE_InputDatePicker.js +90 -90
  107. package/cjs/UNSAFE_LineAreaChart.js +5 -5
  108. package/cjs/UNSAFE_NavigationList.js +4 -4
  109. package/cjs/UNSAFE_OverflowTabBar.js +3 -3
  110. package/cjs/UNSAFE_ScatterChart.js +5 -5
  111. package/cjs/UNSAFE_TabBar.js +2 -2
  112. package/cjs/UNSAFE_TabBarCommon.js +2 -2
  113. package/cjs/UNSAFE_TabBarMixed.js +2 -2
  114. package/cjs/UNSAFE_TextArea.js +3 -4
  115. package/cjs/UNSAFE_TextArea.js.map +1 -1
  116. package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
  117. package/es/ActionCard-e64b1771.js +1 -1
  118. package/es/AvatarVariants.styles.css +25 -25
  119. package/es/AvatarVariants.styles2.css +25 -25
  120. package/es/BarChart-a3209793.js +1 -1
  121. package/es/BarGroup-740cd159.js +1 -1
  122. package/es/BaseButton-3ce1f027.js +2 -2
  123. package/es/BaseCardView-c5a8ee6a.js +7 -7
  124. package/es/{BaseCardViewSelectionTest-cf72be09.js → BaseCardViewSelectionTest-1a6585af.js} +7 -7
  125. package/es/{BaseCardViewSelectionTest-cf72be09.js.map → BaseCardViewSelectionTest-1a6585af.js.map} +1 -1
  126. package/es/BaseNavigationListItem-530bc3df.js +1 -1
  127. package/es/BaseRichSelection-9fa49816.js +8 -8
  128. package/es/ButtonSet-51dcff96.js +2 -2
  129. package/es/ButtonSetIconButton-536c1045.js +3 -3
  130. package/es/{Card-de0aef24.js → Card-44b7de2f.js} +2 -2
  131. package/es/{Card-de0aef24.js.map → Card-44b7de2f.js.map} +1 -1
  132. package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
  133. package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
  134. package/es/Chart-b97e00f1.js +8 -8
  135. package/es/CheckboxControl-ee327a6d.js +6 -6
  136. package/es/CheckboxRadioField-a4db2c10.js +6 -6
  137. package/es/Chip-8554d3ff.js +1 -1
  138. package/es/ClearIcon-95064ad6.js +1 -1
  139. package/es/CollapseIcon-4e943f42.js +1 -1
  140. package/es/Collapsible-cb2ba356.js +2 -2
  141. package/es/ComboChart-b8c2be4d.js +2 -2
  142. package/es/CompactHelpSource-9c0d4cb4.js +2 -2
  143. package/es/{CompactLabelAssistance-7912767d.js → CompactLabelAssistance-6a627bbb.js} +5 -5
  144. package/es/{CompactLabelAssistance-7912767d.js.map → CompactLabelAssistance-6a627bbb.js.map} +1 -1
  145. package/es/CompactUserAssistance-12950e48.js +4 -4
  146. package/es/ComponentMessageContainer-f2837e7f.js +4 -4
  147. package/es/ConveyorBeltItem-188fcaf0.js +2 -2
  148. package/es/{DatePicker-38a71007.js → DatePicker-d4c3ec06.js} +6 -6
  149. package/es/{DatePicker-38a71007.js.map → DatePicker-d4c3ec06.js.map} +1 -1
  150. package/es/DatePickerHeader-5806fbea.js +3 -3
  151. package/es/{Diagram-ee9ec4a9.js → Diagram-a6348a41.js} +5 -5
  152. package/es/{Diagram-ee9ec4a9.js.map → Diagram-a6348a41.js.map} +1 -1
  153. package/es/{Dialog-2248109e.js → Dialog-d64dd573.js} +8 -8
  154. package/es/{Dialog-2248109e.js.map → Dialog-d64dd573.js.map} +1 -1
  155. package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
  156. package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
  157. package/es/{DragHandle-5cba8c4b.js → DragHandle-d3a739f5.js} +2 -2
  158. package/es/{DragHandle-5cba8c4b.js.map → DragHandle-d3a739f5.js.map} +1 -1
  159. package/es/{Dropdown-f7fbfa81.js → Dropdown-f0cdaeae.js} +5 -5
  160. package/es/{Dropdown-f7fbfa81.js.map → Dropdown-f0cdaeae.js.map} +1 -1
  161. package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
  162. package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
  163. package/es/ExpandableList-478db30a.js +3 -3
  164. package/es/FilePicker-ecfad7d4.js +2 -2
  165. package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
  166. package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
  167. package/es/{Floating-c13f9f62.js → Floating-9bf456f9.js} +4 -4
  168. package/es/{Floating-c13f9f62.js.map → Floating-9bf456f9.js.map} +1 -1
  169. package/es/FormLayout-2efb00f6.js +1 -1
  170. package/es/Gantt-0adf9527.js +9 -9
  171. package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
  172. package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
  173. package/es/{Gridlines-89b5506f.js → Gridlines-5ac89a84.js} +2 -2
  174. package/es/{Gridlines-89b5506f.js.map → Gridlines-5ac89a84.js.map} +1 -1
  175. package/es/GroupLoadingIndicator-63035d08.js +1 -1
  176. package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
  177. package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
  178. package/es/Icon-bdd49f29.js +3 -3
  179. package/es/IconButton-62cd1cf9.js +3 -3
  180. package/es/IconMenuButton-242dc102.js +3 -3
  181. package/es/IconProgressButton-193d58bf.js +3 -3
  182. package/es/IconSwitchButton-a92911d0.js +3 -3
  183. package/es/IconToggleButton-fb7ccce9.js +3 -3
  184. package/es/{IconUserAssistance-2b494a2e.js → IconUserAssistance-627f9d18.js} +3 -3
  185. package/es/{IconUserAssistance-2b494a2e.js.map → IconUserAssistance-627f9d18.js.map} +1 -1
  186. package/es/Indexer-ba2c7593.js +4 -4
  187. package/es/InlineHelpSource-fcdcd122.js +1 -1
  188. package/es/InlineUserAssistance-04cce83e.js +5 -5
  189. package/es/InputDateMask-23aef570.js +7 -7
  190. package/es/{InputDatePicker-59bbd31d.js → InputDatePicker-dd3b6c89.js} +10 -10
  191. package/es/{InputDatePicker-59bbd31d.js.map → InputDatePicker-dd3b6c89.js.map} +1 -1
  192. package/es/InputPassword-2c87ceb9.js +4 -4
  193. package/es/InputText-3701adf8.js +6 -6
  194. package/es/Label-6d90e627.js +5 -5
  195. package/es/LabelValueLayout-bcf482be.js +1 -1
  196. package/es/{Layer-7497a324.js → Layer-12a734d1.js} +3 -3
  197. package/es/{Layer-7497a324.js.map → Layer-12a734d1.js.map} +1 -1
  198. package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
  199. package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
  200. package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
  201. package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
  202. package/es/Legend-588633b2.js +3 -3
  203. package/es/{LineAreaChart-d4ed8c0d.js → LineAreaChart-94387b8b.js} +4 -4
  204. package/es/{LineAreaChart-d4ed8c0d.js.map → LineAreaChart-94387b8b.js.map} +1 -1
  205. package/es/{LineSeries-00fa2ab7.js → LineSeries-ca5836e7.js} +2 -2
  206. package/es/{LineSeries-00fa2ab7.js.map → LineSeries-ca5836e7.js.map} +1 -1
  207. package/es/Link-9f8b5c41.js +1 -1
  208. package/es/List-97b7be70.js +5 -5
  209. package/es/{ListItemLayout-b3d899d6.js → ListItemLayout-e87958e3.js} +2 -2
  210. package/es/{ListItemLayout-b3d899d6.js.map → ListItemLayout-e87958e3.js.map} +1 -1
  211. package/es/ListView-936d8a4f.js +3 -3
  212. package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
  213. package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
  214. package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
  215. package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
  216. package/es/Menu-a37635b8.js +6 -6
  217. package/es/MenuButton-422a74de.js +2 -2
  218. package/es/MenuItem-831dfd05.js +1 -1
  219. package/es/Message-9d1504b6.js +2 -2
  220. package/es/{MessageLayer-9ea7cf82.js → MessageLayer-8bed437a.js} +6 -6
  221. package/es/{MessageLayer-9ea7cf82.js.map → MessageLayer-8bed437a.js.map} +1 -1
  222. package/es/MessageToast-7058b181.js +8 -8
  223. package/es/MessagesManager-9dd3eb3d.js +3 -3
  224. package/es/MeterBar-551d32db.js +5 -5
  225. package/es/MeterCircle-5e2ee267.js +5 -5
  226. package/es/{Modal-1710fdd2.js → Modal-103da2aa.js} +3 -3
  227. package/es/{Modal-1710fdd2.js.map → Modal-103da2aa.js.map} +1 -1
  228. package/es/{MonthView-9c0b40f1.js → MonthView-3f86e858.js} +4 -4
  229. package/es/{MonthView-9c0b40f1.js.map → MonthView-3f86e858.js.map} +1 -1
  230. package/es/NavigationListItem-5b25b2f5.js +5 -5
  231. package/es/NumberInputText-58e80ab7.js +6 -6
  232. package/es/OverflowTabBarItem-08625093.js +3 -3
  233. package/es/PRIVATE_BaseCardView.js +22 -22
  234. package/es/PRIVATE_Chart.js +31 -31
  235. package/es/PRIVATE_CheckboxControl.js +23 -23
  236. package/es/PRIVATE_CheckboxRadioField.js +24 -24
  237. package/es/PRIVATE_ClearIcon.js +18 -18
  238. package/es/PRIVATE_DatePickerHeader.js +19 -19
  239. package/es/PRIVATE_DatePickerLayout.js +4 -4
  240. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  241. package/es/PRIVATE_FormControls.js +19 -19
  242. package/es/PRIVATE_IconSwitchButton.js +16 -16
  243. package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
  244. package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
  245. package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
  246. package/es/PRIVATE_Icons/DragV.js +16 -16
  247. package/es/PRIVATE_Icons/WarningS.js +16 -16
  248. package/es/PRIVATE_List.js +20 -20
  249. package/es/PRIVATE_Message.js +19 -19
  250. package/es/PRIVATE_MessageLayer.js +12 -12
  251. package/es/PRIVATE_MonthView.js +7 -7
  252. package/es/PRIVATE_MonthYearGridView.js +7 -7
  253. package/es/PRIVATE_PlotArea.js +4 -4
  254. package/es/PRIVATE_RevealToggleIcon.js +17 -17
  255. package/es/PRIVATE_RichSelectionCommon.js +25 -25
  256. package/es/PRIVATE_SelectCommon.js +28 -28
  257. package/es/PRIVATE_StyledCard.js +4 -4
  258. package/es/PRIVATE_StyledCheckbox.js +16 -16
  259. package/es/PRIVATE_Table.js +24 -24
  260. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
  261. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
  262. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
  263. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
  264. package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
  265. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
  266. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
  267. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
  268. package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
  269. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
  270. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
  271. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
  272. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
  273. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
  274. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
  275. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
  276. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
  277. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
  278. package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
  279. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
  280. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
  281. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
  282. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
  283. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
  284. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
  285. package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
  286. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
  287. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
  288. package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
  289. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
  290. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
  291. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
  292. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
  293. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
  294. package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
  295. package/es/PRIVATE_TimeComponent.js +18 -18
  296. package/es/PRIVATE_VisOverview.js +16 -16
  297. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  298. package/es/PictoChart-3f059ad1.js +6 -6
  299. package/es/PieChart-ca02932e.js +6 -6
  300. package/es/{Popup-a4be2769.js → Popup-6c3f0839.js} +9 -9
  301. package/es/{Popup-a4be2769.js.map → Popup-6c3f0839.js.map} +1 -1
  302. package/es/{ProgressBar-4fbb27ab.js → ProgressBar-95461222.js} +3 -3
  303. package/es/{ProgressBar-4fbb27ab.js.map → ProgressBar-95461222.js.map} +1 -1
  304. package/es/ProgressButton-2497c81b.js +3 -3
  305. package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
  306. package/es/{ProgressCircle-2d3833fa.js → ProgressCircle-93c309cb.js} +2 -2
  307. package/es/{ProgressCircle-2d3833fa.js.map → ProgressCircle-93c309cb.js.map} +1 -1
  308. package/es/RadioItem-35f68420.js +6 -6
  309. package/es/RatingGauge-5346d0bf.js +7 -7
  310. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  311. package/es/RemovableNavigationListItem-29fdaddc.js +1 -1
  312. package/es/RemovableTabBarItem-1cc7a0ca.js +2 -2
  313. package/es/ReorderableTabBar-b9019d0a.js +3 -3
  314. package/es/RevealToggleIcon-51514e37.js +1 -1
  315. package/es/{ScatterChart-d26d4ea9.js → ScatterChart-739a9ec0.js} +3 -3
  316. package/es/{ScatterChart-d26d4ea9.js.map → ScatterChart-739a9ec0.js.map} +1 -1
  317. package/es/SectionalLegend-c71d48a3.js +4 -4
  318. package/es/{SectionedContent-2d0a744d.js → SectionedContent-3fd063af.js} +5 -5
  319. package/es/{SectionedContent-2d0a744d.js.map → SectionedContent-3fd063af.js.map} +1 -1
  320. package/es/SegmentStyles.styles.css +8 -8
  321. package/es/SegmentStyles.styles2.css +8 -8
  322. package/es/SelectMultiple-ad8fc99a.js +8 -8
  323. package/es/SelectSingle-abaf271c.js +7 -7
  324. package/es/{SelectionCard-792c249d.js → SelectionCard-1f8585cb.js} +2 -2
  325. package/es/{SelectionCard-792c249d.js.map → SelectionCard-1f8585cb.js.map} +1 -1
  326. package/es/Selector-5892544f.js +1 -1
  327. package/es/{SelectorAll-ab748274.js → SelectorAll-e833da6d.js} +7 -7
  328. package/es/{SelectorAll-ab748274.js.map → SelectorAll-e833da6d.js.map} +1 -1
  329. package/es/{Sheet-31e6970c.js → Sheet-0861fcc0.js} +3 -3
  330. package/es/{Sheet-31e6970c.js.map → Sheet-0861fcc0.js.map} +1 -1
  331. package/es/SplitMenuButton-3dbd83b7.js +2 -2
  332. package/es/{StyledCard-6913b45c.js → StyledCard-f5965d6d.js} +2 -2
  333. package/es/{StyledCard-6913b45c.js.map → StyledCard-f5965d6d.js.map} +1 -1
  334. package/es/StyledTextField-ebb5409d.js +3 -3
  335. package/es/TabBar-fb7f97d2.js +5 -5
  336. package/es/TabBarItem-252cba76.js +3 -3
  337. package/es/TabBarLayout-8caaa060.js +1 -1
  338. package/es/TabBarMixed-f60c2c7a.js +5 -5
  339. package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
  340. package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
  341. package/es/Table-1ba124ec.js +9 -9
  342. package/es/TagCloud-f7e50ac4.js +8 -8
  343. package/es/{TextArea-7230675f.js → TextArea-64b4e972.js} +30 -13
  344. package/es/TextArea-64b4e972.js.map +1 -0
  345. package/es/{TextAreaAutosize-0d293016.js → TextAreaAutosize-4e0f60ef.js} +7 -7
  346. package/es/{TextAreaAutosize-0d293016.js.map → TextAreaAutosize-4e0f60ef.js.map} +1 -1
  347. package/es/TextField-cb494638.js +3 -3
  348. package/es/TextFieldInput-3c2e920d.js +1 -1
  349. package/es/Theme-redwood/theme.css +472 -472
  350. package/es/Theme-stable/theme.css +370 -370
  351. package/es/TimeComponentCanvas2D-2a4a0c94.js +5 -5
  352. package/es/Toolbar-7676795b.js +1 -1
  353. package/es/{TruncatingBadge-0f04b894.js → TruncatingBadge-b69c1ceb.js} +4 -4
  354. package/es/{TruncatingBadge-0f04b894.js.map → TruncatingBadge-b69c1ceb.js.map} +1 -1
  355. package/es/{TruncatingText-ccad557f.js → TruncatingText-68acfafd.js} +4 -4
  356. package/es/{TruncatingText-ccad557f.js.map → TruncatingText-68acfafd.js.map} +1 -1
  357. package/es/UNSAFE_ActionCard.js +3 -3
  358. package/es/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
  359. package/es/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
  360. package/es/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
  361. package/es/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
  362. package/es/UNSAFE_Avatar.js +1 -1
  363. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +31 -31
  364. package/es/UNSAFE_BarChart.js +31 -31
  365. package/es/UNSAFE_BaseButton.js +3 -3
  366. package/es/UNSAFE_Button.js +3 -3
  367. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
  368. package/es/UNSAFE_ButtonSet.js +4 -4
  369. package/es/UNSAFE_ButtonSetButton.js +3 -3
  370. package/es/UNSAFE_ButtonSetIconButton.js +16 -16
  371. package/es/UNSAFE_ButtonSetItem.js +16 -16
  372. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  373. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  374. package/es/UNSAFE_Card.js +5 -5
  375. package/es/UNSAFE_CardFlexView.js +22 -22
  376. package/es/UNSAFE_CardGridView.js +22 -22
  377. package/es/UNSAFE_Center.js +5 -5
  378. package/es/UNSAFE_ChartWithLegend.js +4 -4
  379. package/es/UNSAFE_Checkbox.js +23 -23
  380. package/es/UNSAFE_CheckboxItem.js +23 -23
  381. package/es/UNSAFE_CheckboxSet.js +23 -23
  382. package/es/UNSAFE_Chip.js +2 -2
  383. package/es/UNSAFE_Collapsible.js +18 -18
  384. package/es/UNSAFE_ComboChart.js +33 -33
  385. package/es/UNSAFE_ComponentMessage.js +19 -19
  386. package/es/UNSAFE_ConveyorBelt.js +16 -16
  387. package/es/UNSAFE_DatePicker.js +24 -24
  388. package/es/UNSAFE_Diagram.js +21 -21
  389. package/es/UNSAFE_Dialog.js +21 -21
  390. package/es/UNSAFE_DragHandle.js +18 -18
  391. package/es/UNSAFE_DrawerLayout.js +12 -12
  392. package/es/UNSAFE_DrawerPopup.js +11 -11
  393. package/es/UNSAFE_Dropdown.js +13 -13
  394. package/es/UNSAFE_Environment.js +4 -4
  395. package/es/UNSAFE_ExpandableList.js +23 -23
  396. package/es/UNSAFE_FilePicker.js +4 -4
  397. package/es/UNSAFE_Flex.js +4 -4
  398. package/es/UNSAFE_Floating.js +11 -11
  399. package/es/UNSAFE_FormLayout.js +2 -2
  400. package/es/UNSAFE_Gantt.js +23 -23
  401. package/es/UNSAFE_Grid.js +4 -4
  402. package/es/UNSAFE_HighlightText.js +4 -4
  403. package/es/UNSAFE_Icon.js +16 -16
  404. package/es/UNSAFE_IconButton.js +16 -16
  405. package/es/UNSAFE_IconMenuButton.js +21 -21
  406. package/es/UNSAFE_IconProgressButton.js +19 -19
  407. package/es/UNSAFE_IconToggleButton.js +16 -16
  408. package/es/UNSAFE_Indexer.js +6 -6
  409. package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
  410. package/es/UNSAFE_InputDateMask.js +25 -25
  411. package/es/UNSAFE_InputDatePicker.js +114 -114
  412. package/es/UNSAFE_InputPassword.js +23 -23
  413. package/es/UNSAFE_InputSensitiveText.js +25 -25
  414. package/es/UNSAFE_InputText.js +26 -26
  415. package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
  416. package/es/UNSAFE_InputTimeMask.js +25 -25
  417. package/es/UNSAFE_Label.js +23 -23
  418. package/es/UNSAFE_LabelValueLayout.js +4 -4
  419. package/es/UNSAFE_LabelledLink.js +24 -24
  420. package/es/UNSAFE_Layer.js +8 -8
  421. package/es/UNSAFE_Legend.js +24 -24
  422. package/es/UNSAFE_LineAreaChart.js +34 -34
  423. package/es/UNSAFE_Link.js +2 -2
  424. package/es/UNSAFE_ListItemLayout.js +5 -5
  425. package/es/UNSAFE_ListView.js +28 -28
  426. package/es/UNSAFE_LiveRegion.js +4 -4
  427. package/es/UNSAFE_Menu.js +23 -23
  428. package/es/UNSAFE_MenuButton.js +21 -21
  429. package/es/UNSAFE_MessageBanner.js +19 -19
  430. package/es/UNSAFE_MessageToast.js +22 -22
  431. package/es/UNSAFE_MeterBar.js +16 -16
  432. package/es/UNSAFE_MeterCircle.js +17 -17
  433. package/es/UNSAFE_Modal.js +8 -8
  434. package/es/UNSAFE_NavigationList.js +20 -20
  435. package/es/UNSAFE_NavigationListCommon.js +18 -18
  436. package/es/UNSAFE_NumberInputText.js +25 -25
  437. package/es/UNSAFE_OverflowTabBar.js +24 -24
  438. package/es/UNSAFE_PictoChart.js +14 -14
  439. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
  440. package/es/UNSAFE_PieChart.js +21 -21
  441. package/es/UNSAFE_Popup.js +16 -16
  442. package/es/UNSAFE_ProgressBar.js +5 -5
  443. package/es/UNSAFE_ProgressButton.js +19 -19
  444. package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
  445. package/es/UNSAFE_ProgressCircle.js +4 -4
  446. package/es/UNSAFE_RadioItem.js +23 -23
  447. package/es/UNSAFE_RadioSet.js +23 -23
  448. package/es/UNSAFE_RatingGauge.js +17 -17
  449. package/es/UNSAFE_ReorderableTabBar.js +24 -24
  450. package/es/UNSAFE_RichCheckboxSet.js +25 -25
  451. package/es/UNSAFE_RichRadioSet.js +25 -25
  452. package/es/UNSAFE_RichSelectionItem.js +22 -22
  453. package/es/UNSAFE_ScatterChart.js +34 -34
  454. package/es/UNSAFE_SectionalLegend.js +25 -25
  455. package/es/UNSAFE_SelectMultiple.js +30 -30
  456. package/es/UNSAFE_SelectSingle.js +30 -30
  457. package/es/UNSAFE_SelectionCard.js +5 -5
  458. package/es/UNSAFE_Selector.js +16 -16
  459. package/es/UNSAFE_SelectorAll.js +20 -20
  460. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
  461. package/es/UNSAFE_Sheet.js +11 -11
  462. package/es/UNSAFE_SplitMenuButton.js +21 -21
  463. package/es/UNSAFE_TabBar.js +25 -25
  464. package/es/UNSAFE_TabBarCommon.js +25 -25
  465. package/es/UNSAFE_TabBarMixed.js +26 -26
  466. package/es/UNSAFE_TableView.js +24 -24
  467. package/es/UNSAFE_TagCloud.js +23 -23
  468. package/es/UNSAFE_TextArea.js +27 -28
  469. package/es/UNSAFE_TextArea.js.map +1 -1
  470. package/es/UNSAFE_TextAreaAutosize.js +28 -28
  471. package/es/UNSAFE_TextField.js +7 -7
  472. package/es/UNSAFE_ToggleButton.js +3 -3
  473. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
  474. package/es/UNSAFE_Toolbar.js +4 -4
  475. package/es/UNSAFE_Train.js +17 -17
  476. package/es/UNSAFE_TruncatingBadge.js +18 -18
  477. package/es/UNSAFE_TruncatingText.js +17 -17
  478. package/es/UNSAFE_UserAssistance.js +24 -24
  479. package/es/UNSAFE_View.js +7 -7
  480. package/es/UNSAFE_VirtualizedListView.js +20 -20
  481. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  482. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  483. package/es/UNSAFE_VisStatusMessage.js +6 -6
  484. package/es/UNSAFE_WindowOverlay.js +4 -4
  485. package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
  486. package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
  487. package/es/{VisNoData-794ddc21.js → VisNoData-02cab8f6.js} +3 -3
  488. package/es/{VisNoData-794ddc21.js.map → VisNoData-02cab8f6.js.map} +1 -1
  489. package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
  490. package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
  491. package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
  492. package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
  493. package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
  494. package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
  495. package/es/{YearsGridView-cb510d1e.js → YearsGridView-cc0574f2.js} +4 -4
  496. package/es/{YearsGridView-cb510d1e.js.map → YearsGridView-cc0574f2.js.map} +1 -1
  497. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  498. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  499. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  500. package/es/hooks/PRIVATE_useChartContextMenu.js +20 -20
  501. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  502. package/es/hooks/PRIVATE_useChartEvents.js +18 -18
  503. package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
  504. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  505. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  506. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  507. package/es/hooks/PRIVATE_useFloating.js +4 -4
  508. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  509. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  510. package/es/hooks/PRIVATE_useSelection.js +4 -4
  511. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  512. package/es/hooks/PRIVATE_useVisContextMenu.js +20 -20
  513. package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
  514. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  515. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  516. package/es/hooks/PRIVATE_useVisSelection.js +13 -13
  517. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  518. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  519. package/es/hooks/UNSAFE_useDensity.js +3 -3
  520. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  521. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  522. package/es/hooks/UNSAFE_useScale.js +3 -3
  523. package/es/hooks/UNSAFE_useTestId.js +3 -3
  524. package/es/hooks/UNSAFE_useTheme.js +3 -3
  525. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  526. package/es/hooks/UNSAFE_useTooltip.js +17 -17
  527. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  528. package/es/hooks/UNSAFE_useUser.js +3 -3
  529. package/es/{index-f4c1d6de.js → index-20f848bc.js} +2 -2
  530. package/es/index-20f848bc.js.map +1 -0
  531. package/es/listViewSelectionTests-79aa17b2.js +3 -3
  532. package/es/{render-9dce082a.js → render-2b908d4f.js} +3 -3
  533. package/es/{render-9dce082a.js.map → render-2b908d4f.js.map} +1 -1
  534. package/es/{tabbableUtils-93a7cd6f.js → tabbableUtils-20bbaf8d.js} +3 -3
  535. package/es/{tabbableUtils-93a7cd6f.js.map → tabbableUtils-20bbaf8d.js.map} +1 -1
  536. package/es/{testData-a9ced8ec.js → testData-70bebfae.js} +3 -3
  537. package/es/{testData-a9ced8ec.js.map → testData-70bebfae.js.map} +1 -1
  538. package/es/{tooltipUtils-fcfd7dbb.js → tooltipUtils-38192add.js} +5 -5
  539. package/es/{tooltipUtils-fcfd7dbb.js.map → tooltipUtils-38192add.js.map} +1 -1
  540. package/es/useCellNavigation-00d575ca.js +1 -1
  541. package/es/useChartContextMenu-121a5f6d.js +2 -2
  542. package/es/{useChartDatatip-c929f857.js → useChartDatatip-977bc33d.js} +4 -4
  543. package/es/{useChartDatatip-c929f857.js.map → useChartDatatip-977bc33d.js.map} +1 -1
  544. package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
  545. package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
  546. package/es/useContextMenu-8c47333e.js +2 -2
  547. package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
  548. package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
  549. package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
  550. package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
  551. package/es/{useCurrentKey-aa75ec92.js → useCurrentKey-63f6afcc.js} +2 -2
  552. package/es/{useCurrentKey-aa75ec92.js.map → useCurrentKey-63f6afcc.js.map} +1 -1
  553. package/es/{useDatatip-40475371.js → useDatatip-bce558e2.js} +4 -4
  554. package/es/{useDatatip-40475371.js.map → useDatatip-bce558e2.js.map} +1 -1
  555. package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
  556. package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
  557. package/es/{useFloating-dad3f791.js → useFloating-41d21e7d.js} +2 -2
  558. package/es/{useFloating-dad3f791.js.map → useFloating-41d21e7d.js.map} +1 -1
  559. package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
  560. package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
  561. package/es/useLegendContextMenu-1043d63c.js +4 -4
  562. package/es/{useMeterDatatip-4adf64f2.js → useMeterDatatip-5268869e.js} +3 -3
  563. package/es/{useMeterDatatip-4adf64f2.js.map → useMeterDatatip-5268869e.js.map} +1 -1
  564. package/es/{useOutsideClick-c19a8d7f.js → useOutsideClick-8a582d08.js} +2 -2
  565. package/es/{useOutsideClick-c19a8d7f.js.map → useOutsideClick-8a582d08.js.map} +1 -1
  566. package/es/{usePopupAnimation-267b444c.js → usePopupAnimation-e2e6a2ca.js} +2 -2
  567. package/es/{usePopupAnimation-267b444c.js.map → usePopupAnimation-e2e6a2ca.js.map} +1 -1
  568. package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
  569. package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
  570. package/es/{useReorderableItem-7f7c13b5.js → useReorderableItem-96616318.js} +3 -3
  571. package/es/{useReorderableItem-7f7c13b5.js.map → useReorderableItem-96616318.js.map} +1 -1
  572. package/es/{useRovingTabIndexContainer-7ec9f36f.js → useRovingTabIndexContainer-9afe3ee0.js} +2 -2
  573. package/es/{useRovingTabIndexContainer-7ec9f36f.js.map → useRovingTabIndexContainer-9afe3ee0.js.map} +1 -1
  574. package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
  575. package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
  576. package/es/useSelectCommon-1dafa6f9.js +11 -11
  577. package/es/{useSelectDrill-232b571c.js → useSelectDrill-24264e6b.js} +3 -3
  578. package/es/{useSelectDrill-232b571c.js.map → useSelectDrill-24264e6b.js.map} +1 -1
  579. package/es/{useSelection-bbd2320f.js → useSelection-1b256f77.js} +5 -5
  580. package/es/{useSelection-bbd2320f.js.map → useSelection-1b256f77.js.map} +1 -1
  581. package/es/{useSelection-c46ba985.js → useSelection-879c64aa.js} +2 -2
  582. package/es/{useSelection-c46ba985.js.map → useSelection-879c64aa.js.map} +1 -1
  583. package/es/useTabBar-efad9075.js +1 -1
  584. package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
  585. package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
  586. package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
  587. package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
  588. package/es/{useThemeInterpolations-242b30ed.js → useThemeInterpolations-8bee52ac.js} +5 -5
  589. package/es/{useThemeInterpolations-242b30ed.js.map → useThemeInterpolations-8bee52ac.js.map} +1 -1
  590. package/es/{useTooltip-72f5cf2e.js → useTooltip-98b6d3b5.js} +2 -2
  591. package/es/{useTooltip-72f5cf2e.js.map → useTooltip-98b6d3b5.js.map} +1 -1
  592. package/es/{useTooltipControlled-97142fd1.js → useTooltipControlled-b565c75b.js} +5 -5
  593. package/es/{useTooltipControlled-97142fd1.js.map → useTooltipControlled-b565c75b.js.map} +1 -1
  594. package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
  595. package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
  596. package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
  597. package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
  598. package/es/useVisDragModeControls-4d8d8a3b.js +1 -1
  599. package/es/{useVisEvents-37c78cfe.js → useVisEvents-7d4753c4.js} +2 -2
  600. package/es/{useVisEvents-37c78cfe.js.map → useVisEvents-7d4753c4.js.map} +1 -1
  601. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  602. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  603. package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
  604. package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
  605. package/es/withThemeProps-6545df54.js +2 -2
  606. package/package.json +2 -2
  607. package/amd/CardFlexView-296f97f5.js +0 -2
  608. package/amd/CheckboxSet-4582f29e.js +0 -2
  609. package/amd/CheckboxSet-4582f29e.js.map +0 -1
  610. package/amd/List-0b764e84.js +0 -2
  611. package/amd/LoadMoreCollection-83413a59.js +0 -2
  612. package/amd/MaxLengthCounter-9a95922c.js +0 -2
  613. package/amd/MaxLengthCounter-9a95922c.js.map +0 -1
  614. package/amd/NavigationListItem-044a79fd.js +0 -2
  615. package/amd/TextArea-89b9ed65.js +0 -2
  616. package/amd/TextArea-89b9ed65.js.map +0 -1
  617. package/amd/TextAreaAutosize-81449e46.js +0 -2
  618. package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
  619. package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
  620. package/cjs/TextArea-e7f98e9f.js.map +0 -1
  621. package/es/MaxLengthCounter-181b4fc9.js +0 -25
  622. package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
  623. package/es/TextArea-7230675f.js.map +0 -1
  624. package/es/index-f4c1d6de.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet-31e6970c.js","sources":["../../src/UNSAFE_Sheet/useSheetSwipe.ts","../../src/UNSAFE_Sheet/Sheet.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useRef, useCallback } from 'preact/hooks';\n\n/*\n threshold: Minimal threshold required before recognizing\n tolerance: A tolerance value which allows the user to move their finger about a length measured in pixels.\n This allows the swipe gesture to be triggered more easily since a User might not move their finger\n in a straight line.\n*/\ntype SwipeOptions = {\n threshold?: number;\n maximumTime?: number;\n tolerance?: number;\n isDisabled?: boolean;\n};\n\ntype SwipeInfo = {\n direction: 'down';\n};\n\ntype SwipeState = {\n pointerDownId: number | null;\n startTime: number | null;\n prevpageX: number;\n prevpageY: number;\n elementScrollTop: number;\n};\n/*This \"private\" hook will live until we end up stating a final decision on useSwipe hook.\nFor that hook to work, element that use it has to set touch-action:none;, since pointer events\nare canceled once a touch action is going to be handled by the browser. This works for most\nof the components that don't scroll. But if the component scroll, there is a need for the browser to \nhandle scroll which is imposible with a hook just using pointer events.\n\nUpdate 11/6/23:\nNishad's team is going to confirm if other comps that will use useSwipe need mouse interactions. If they need it,\nwe can either have a flag to use pointer or touch events or two separated hooks. If they don't need mouse interactions,\nwe could start using useSwipe with touch events instead.\n*/\nexport function useSheetSwipe(\n onSwipe: (e: SwipeInfo) => void,\n { threshold = 10, maximumTime = 300, tolerance = 50, isDisabled = false }: SwipeOptions = {\n threshold: 10,\n maximumTime: 300,\n tolerance: 50,\n isDisabled: false\n }\n): { swipeProps: Record<string, any> } {\n const ref = useRef<SwipeState>({\n pointerDownId: 0,\n startTime: null,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n });\n\n const clearSwipe = useCallback(() => {\n ref.current = {\n pointerDownId: null,\n startTime: 0,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n };\n }, []);\n\n const onTouchStart = useCallback(\n (e: TouchEvent) => {\n const touchobj = e.changedTouches[0];\n if (!ref.current.pointerDownId) {\n ref.current = {\n pointerDownId: touchobj.identifier,\n startTime: e.timeStamp,\n prevpageX: touchobj.pageX,\n prevpageY: touchobj.pageY,\n elementScrollTop: (e.currentTarget as HTMLElement).scrollTop\n };\n } else {\n clearSwipe();\n }\n },\n [clearSwipe]\n );\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n const touchobj = ev.changedTouches[0];\n if (touchobj.identifier === ref.current.pointerDownId) {\n if (ref.current.startTime && ev.timeStamp - ref.current.startTime < maximumTime) {\n if (\n touchobj.pageY - ref.current.prevpageY > threshold &&\n Math.abs(touchobj.pageX - ref.current.prevpageX) <= tolerance &&\n ref.current.elementScrollTop === 0\n ) {\n onSwipe?.({ direction: 'down' });\n }\n }\n }\n // state would be reset to its original state whether swipe is completed or cancelled\n clearSwipe();\n },\n [threshold, onSwipe, clearSwipe, maximumTime, tolerance]\n );\n\n const swipeProps = isDisabled\n ? {}\n : {\n /** event handlers to spread on the target element. */\n onTouchStart,\n onTouchEnd,\n ontouchcancel: clearSwipe\n };\n\n return {\n swipeProps\n };\n}\n","import { JSX } from 'preact';\nimport { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\n\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay } from '../UNSAFE_WindowOverlay';\n//Temporal import.\nimport { useSheetSwipe } from './useSheetSwipe';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\n\nimport { sheetMenuStyles } from './themes/SheetStyles.css';\nimport { mergeRefs } from '#utils/PRIVATE_refUtils';\nimport { AnimationStates, useAnimationStatus } from '#hooks/PRIVATE_useAnimationStatus';\nimport { SLIDE_DOWN_XLARGE, SLIDE_UP_XLARGE, DURATION_LARGE } from '#utils/PRIVATE_animationUtils';\n\n/*\n pointerDismissed: Swipedown and tapScrim\n keyboardDismissed: \"Escape\" | \"Tab\"\n*/\nexport type CloseDetail = { reason: 'pointerDismissed' | 'keyboardDismissed' };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype SheetProps = IntrinsicProps & {\n onClose?: (detail: CloseDetail) => void;\n isOpen?: boolean;\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst animationStates: AnimationStates = {\n opening: {\n ...SLIDE_UP_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n },\n closing: {\n ...SLIDE_DOWN_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n }\n};\n\nexport const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }: SheetProps) => {\n const sheetRef = useRef<HTMLDivElement>(null);\n\n // Initial focus going to be set after animation once opening animation is added\n useEffect(() => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const sheetElement = sheetRef.current;\n if (sheetElement) {\n focusWithin(sheetElement);\n }\n }\n }, [isOpen, initialFocus]);\n const handlePointerDismissed = useCallback(() => {\n onClose?.({ reason: 'pointerDismissed' });\n }, [onClose]);\n\n // TODO: Use useSwipe when it works on components that could scroll. Important to notice all components that have a\n // sheet will use this comp and this comp is going to use useSwipe. So comps that have their own impl (menu right now),\n // will stop having its own implementation\n const { swipeProps } = useSheetSwipe(handlePointerDismissed);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case 'Tab':\n case 'Escape':\n onClose?.({ reason: 'keyboardDismissed' });\n default:\n break;\n }\n },\n [onClose]\n );\n const { setAnimationElementRef, status } = useAnimationStatus<HTMLElement>({\n isOpen,\n isAnimatedOnMount: false,\n animationStates\n });\n\n useEffect(() => {\n if (status === 'opening') {\n if (initialFocus === 'firstFocusable') {\n const dropdownElement = sheetRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n }\n }, [status, initialFocus]);\n\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, sheetRef),\n [setAnimationElementRef]\n );\n\n const isMounted = status !== 'unmounted';\n\n return (\n <>\n {isMounted ? (\n <Modal isOpen={isMounted} onBackdropClick={handlePointerDismissed}>\n <WindowOverlay placement=\"bottom\">\n <div\n {...swipeProps}\n ref={stableRef}\n class={sheetMenuStyles.sheetMenuContainerWrapper}\n style={{ maxHeight: `calc(100vh - ${TOP_OFFSET}px)` }}\n onKeyDown={handleKeyDown}>\n {children}\n </div>\n </WindowOverlay>\n </Modal>\n ) : null}\n </>\n );\n};\n\nconst TOP_OFFSET = 96;\n"],"names":["_jsx","_Fragment"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAMG;AA4BH;;;;;;;;;;AAUE;AACI,SAAU,aAAa,CAC3B,OAA+B,EAC/B,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,GAAG,GAAG,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,GAAG,KAAK,EAAmB,GAAA;AACxF,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,WAAW,EAAE,GAAG;AAChB,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,UAAU,EAAE,KAAK;AAClB,CAAA,EAAA;IAED,MAAM,GAAG,GAAG,MAAM,CAAa;AAC7B,QAAA,aAAa,EAAE,CAAC;AAChB,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,gBAAgB,EAAE,CAAC;AACpB,KAAA,CAAC,CAAC;AAEH,IAAA,MAAM,UAAU,GAAG,WAAW,CAAC,MAAK;QAClC,GAAG,CAAC,OAAO,GAAG;AACZ,YAAA,aAAa,EAAE,IAAI;AACnB,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,SAAS,EAAE,CAAC;AACZ,YAAA,gBAAgB,EAAE,CAAC;SACpB,CAAC;KACH,EAAE,EAAE,CAAC,CAAC;AAEP,IAAA,M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ACd,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,eAAe,CAAC,yBAAyB,EAChD,KAAK,EAAE,EAAE,SAAS,EAAE,CAAgB,aAAA,EAAA,UAAU,KAAK,EAAE,EACrD,SAAS,EAAE,aAAa,EAAA,QAAA,EACvB,QAAQ,EAAA,CACL,EACQ,CAAA,EAAA,CACV,IACN,IAAI,EAAA,CACP,EACH;AACJ,EAAE;AAEF,MAAM,UAAU,GAAG,EAAE;;;;"}
1
+ {"version":3,"file":"Sheet-0861fcc0.js","sources":["../../src/UNSAFE_Sheet/useSheetSwipe.ts","../../src/UNSAFE_Sheet/Sheet.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { useRef, useCallback } from 'preact/hooks';\n\n/*\n threshold: Minimal threshold required before recognizing\n tolerance: A tolerance value which allows the user to move their finger about a length measured in pixels.\n This allows the swipe gesture to be triggered more easily since a User might not move their finger\n in a straight line.\n*/\ntype SwipeOptions = {\n threshold?: number;\n maximumTime?: number;\n tolerance?: number;\n isDisabled?: boolean;\n};\n\ntype SwipeInfo = {\n direction: 'down';\n};\n\ntype SwipeState = {\n pointerDownId: number | null;\n startTime: number | null;\n prevpageX: number;\n prevpageY: number;\n elementScrollTop: number;\n};\n/*This \"private\" hook will live until we end up stating a final decision on useSwipe hook.\nFor that hook to work, element that use it has to set touch-action:none;, since pointer events\nare canceled once a touch action is going to be handled by the browser. This works for most\nof the components that don't scroll. But if the component scroll, there is a need for the browser to \nhandle scroll which is imposible with a hook just using pointer events.\n\nUpdate 11/6/23:\nNishad's team is going to confirm if other comps that will use useSwipe need mouse interactions. If they need it,\nwe can either have a flag to use pointer or touch events or two separated hooks. If they don't need mouse interactions,\nwe could start using useSwipe with touch events instead.\n*/\nexport function useSheetSwipe(\n onSwipe: (e: SwipeInfo) => void,\n { threshold = 10, maximumTime = 300, tolerance = 50, isDisabled = false }: SwipeOptions = {\n threshold: 10,\n maximumTime: 300,\n tolerance: 50,\n isDisabled: false\n }\n): { swipeProps: Record<string, any> } {\n const ref = useRef<SwipeState>({\n pointerDownId: 0,\n startTime: null,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n });\n\n const clearSwipe = useCallback(() => {\n ref.current = {\n pointerDownId: null,\n startTime: 0,\n prevpageX: 0,\n prevpageY: 0,\n elementScrollTop: 0\n };\n }, []);\n\n const onTouchStart = useCallback(\n (e: TouchEvent) => {\n const touchobj = e.changedTouches[0];\n if (!ref.current.pointerDownId) {\n ref.current = {\n pointerDownId: touchobj.identifier,\n startTime: e.timeStamp,\n prevpageX: touchobj.pageX,\n prevpageY: touchobj.pageY,\n elementScrollTop: (e.currentTarget as HTMLElement).scrollTop\n };\n } else {\n clearSwipe();\n }\n },\n [clearSwipe]\n );\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n const touchobj = ev.changedTouches[0];\n if (touchobj.identifier === ref.current.pointerDownId) {\n if (ref.current.startTime && ev.timeStamp - ref.current.startTime < maximumTime) {\n if (\n touchobj.pageY - ref.current.prevpageY > threshold &&\n Math.abs(touchobj.pageX - ref.current.prevpageX) <= tolerance &&\n ref.current.elementScrollTop === 0\n ) {\n onSwipe?.({ direction: 'down' });\n }\n }\n }\n // state would be reset to its original state whether swipe is completed or cancelled\n clearSwipe();\n },\n [threshold, onSwipe, clearSwipe, maximumTime, tolerance]\n );\n\n const swipeProps = isDisabled\n ? {}\n : {\n /** event handlers to spread on the target element. */\n onTouchStart,\n onTouchEnd,\n ontouchcancel: clearSwipe\n };\n\n return {\n swipeProps\n };\n}\n","import { JSX } from 'preact';\nimport { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';\n\nimport { Modal } from '../UNSAFE_Modal';\nimport { WindowOverlay } from '../UNSAFE_WindowOverlay';\n//Temporal import.\nimport { useSheetSwipe } from './useSheetSwipe';\nimport { focusWithin } from '../utils/PRIVATE_tabbableUtils';\n\nimport { sheetMenuStyles } from './themes/SheetStyles.css';\nimport { mergeRefs } from '#utils/PRIVATE_refUtils';\nimport { AnimationStates, useAnimationStatus } from '#hooks/PRIVATE_useAnimationStatus';\nimport { SLIDE_DOWN_XLARGE, SLIDE_UP_XLARGE, DURATION_LARGE } from '#utils/PRIVATE_animationUtils';\n\n/*\n pointerDismissed: Swipedown and tapScrim\n keyboardDismissed: \"Escape\" | \"Tab\"\n*/\nexport type CloseDetail = { reason: 'pointerDismissed' | 'keyboardDismissed' };\n\ntype IntrinsicProps = Pick<JSX.HTMLAttributes<HTMLDivElement>, 'children'>;\n\ntype SheetProps = IntrinsicProps & {\n onClose?: (detail: CloseDetail) => void;\n isOpen?: boolean;\n initialFocus?: 'none' | 'firstFocusable';\n};\n\nconst animationStates: AnimationStates = {\n opening: {\n ...SLIDE_UP_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n },\n closing: {\n ...SLIDE_DOWN_XLARGE,\n options: {\n duration: DURATION_LARGE\n }\n }\n};\n\nexport const Sheet = ({ children, onClose, isOpen = false, initialFocus = 'none' }: SheetProps) => {\n const sheetRef = useRef<HTMLDivElement>(null);\n\n // Initial focus going to be set after animation once opening animation is added\n useEffect(() => {\n if (isOpen && initialFocus === 'firstFocusable') {\n const sheetElement = sheetRef.current;\n if (sheetElement) {\n focusWithin(sheetElement);\n }\n }\n }, [isOpen, initialFocus]);\n const handlePointerDismissed = useCallback(() => {\n onClose?.({ reason: 'pointerDismissed' });\n }, [onClose]);\n\n // TODO: Use useSwipe when it works on components that could scroll. Important to notice all components that have a\n // sheet will use this comp and this comp is going to use useSwipe. So comps that have their own impl (menu right now),\n // will stop having its own implementation\n const { swipeProps } = useSheetSwipe(handlePointerDismissed);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.defaultPrevented) {\n return;\n }\n switch (event.code) {\n case 'Tab':\n case 'Escape':\n onClose?.({ reason: 'keyboardDismissed' });\n default:\n break;\n }\n },\n [onClose]\n );\n const { setAnimationElementRef, status } = useAnimationStatus<HTMLElement>({\n isOpen,\n isAnimatedOnMount: false,\n animationStates\n });\n\n useEffect(() => {\n if (status === 'opening') {\n if (initialFocus === 'firstFocusable') {\n const dropdownElement = sheetRef.current;\n if (dropdownElement) {\n focusWithin(dropdownElement);\n }\n }\n }\n }, [status, initialFocus]);\n\n const stableRef = useMemo(\n () => mergeRefs(setAnimationElementRef, sheetRef),\n [setAnimationElementRef]\n );\n\n const isMounted = status !== 'unmounted';\n\n return (\n <>\n {isMounted ? (\n <Modal isOpen={isMounted} onBackdropClick={handlePointerDismissed}>\n <WindowOverlay placement=\"bottom\">\n <div\n {...swipeProps}\n ref={stableRef}\n class={sheetMenuStyles.sheetMenuContainerWrapper}\n style={{ maxHeight: `calc(100vh - ${TOP_OFFSET}px)` }}\n onKeyDown={handleKeyDown}>\n {children}\n </div>\n </WindowOverlay>\n </Modal>\n ) : null}\n </>\n );\n};\n\nconst TOP_OFFSET = 96;\n"],"names":["_jsx","_Fragment"],"mappings":";;;;;;;;;;;AAAA;;;;;;AAMG;AA4BH;;;;;;;;;;AAUE;AACI,SAAU,aAAa,CAC3B,OAA+B,EAC/B,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,GAAG,GAAG,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,GAAG,KAAK,EAAmB,GAAA;AACxF,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,WAAW,EAAE,GAAG;AAChB,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,UAAU,EAAE,KAAK;AAClB,CAAA,EAAA;IAED,MAAM,GAAG,GAAG,MAAM,CAAa;AAC7B,QAAA,aAAa,EAAE,CAAC;AAChB,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,gBAAgB,EAAE,CAAC;AACpB,KAAA,CAAC,CAAC;AAEH,IA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zC,IAAA,QACEA,GAAA,CAAAC,QAAA,EAAA,EAAA,QAAA,EACG,SAAS,IACRD,GAAA,CAAC,KAAK,EAAA,EAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,sBAAsB,EAAA,QAAA,EAC/DA,GAAC,CAAA,aAAa,EAAC,EAAA,SAAS,EAAC,QAAQ,EAC/B,QAAA,EAAAA,GAAA,CAAA,KAAA,EAAA,EAAA,GACM,UAAU,EACd,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,eAAe,CAAC,yBAAyB,EAChD,KAAK,EAAE,EAAE,SAAS,EAAE,CAAgB,aAAA,EAAA,UAAU,KAAK,EAAE,EACrD,SAAS,EAAE,aAAa,EAAA,QAAA,EACvB,QAAQ,EAAA,CACL,EACQ,CAAA,EAAA,CACV,IACN,IAAI,EAAA,CACP,EACH;AACJ,EAAE;AAEF,MAAM,UAAU,GAAG,EAAE;;;;"}
@@ -8,14 +8,14 @@ import { useState, useCallback, useRef, useImperativeHandle } from 'preact/hooks
8
8
  import 'preact';
9
9
  import { m as mergeProps } from './mergeProps-88ea8306.js';
10
10
  import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
11
- import './LayerHost-7a2149f5.js';
11
+ import './LayerHost-15b42a3e.js';
12
12
  import { forwardRef } from 'preact/compat';
13
13
  import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
14
14
  import { c as classNames } from './classNames-4e12b00d.js';
15
15
  import './TooltipContentStyles.styles.css';
16
16
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
17
17
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
18
- import './tooltipUtils-fcfd7dbb.js';
18
+ import './tooltipUtils-38192add.js';
19
19
  import './IconStyle.styles.css';
20
20
  import './SelectMenuGroupContext-b56cf5d4.js';
21
21
  import './UNSAFE_Separator/themes/SeparatorStyles.css.js';
@@ -8,7 +8,7 @@ import { a as ariaInterpolations } from './aria-efa0582c.js';
8
8
  import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
9
9
  import { multiVariantStyles } from './PRIVATE_StyledCard/themes/StyledCardStyles.css.js';
10
10
  import { c as classNames } from './classNames-4e12b00d.js';
11
- import { u as useTestId } from './useTestId-af32a9eb.js';
11
+ import { u as useTestId } from './useTestId-3bc3958c.js';
12
12
  import { _ as _curry2 } from './_curry2-34316bcf.js';
13
13
 
14
14
  /**
@@ -102,4 +102,4 @@ const StyledCard = forwardRef(({ ['aria-describedby']: ariaDescribedBy, children
102
102
  });
103
103
 
104
104
  export { StyledCard as S };
105
- //# sourceMappingURL=StyledCard-6913b45c.js.map
105
+ //# sourceMappingURL=StyledCard-f5965d6d.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StyledCard-6913b45c.js","sources":["../../../../node_modules/ramda/es/pick.js","../../src/PRIVATE_StyledCard/StyledCard.tsx"],"sourcesContent":["import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { pick } from 'ramda';\n\nimport { dimensionInterpolations, DimensionProps } from '#utils/UNSAFE_interpolations/dimensions';\nimport { paddingInterpolations, PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { colorInterpolations, ColorProps } from '#utils/UNSAFE_interpolations/colors';\nimport { AriaProps, ariaInterpolations } from '#utils/UNSAFE_interpolations/aria';\nimport { mergeInterpolations } from '#utils/UNSAFE_mergeInterpolations';\nimport { multiVariantStyles } from './themes/StyledCardStyles.css';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { Role } from '#utils/UNSAFE_roles';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLElement>, EventHandlers>;\n\ntype EventHandlers = (typeof eventHandlers)[number];\n\ntype StyleProps = DimensionProps & PaddingProps & ColorProps & AriaProps;\ntype Props = StyleProps &\n IntrinsicProps &\n TestIdProps & {\n children?: ComponentChildren;\n /**\n * Specifies if the card uses the pointer cursor.\n */\n cursor?: 'pointer';\n /**\n * Specifies the card element display type.\n */\n display?: 'inlineBlock' | 'inlineFlex';\n /**\n * Specifies if the card is in an active state.\n */\n isActive?: boolean;\n /**\n * Specifies if the card is in a disabled state.\n */\n isDisabled?: boolean;\n /**\n * Specifies if the card is in a hover state.\n */\n isHover?: boolean;\n /**\n * Specifies if the card as selected within a collection.\n */\n isSelected?: boolean;\n /**\n * Specifies the parent component variant\n */\n parentComponentVariant?: (typeof parentComponentVariants)[number];\n /**\n * Specifies aria role for the card element.\n */\n role?: Role;\n /**\n * Specifies the chroming of the card element\n */\n styleVariant?: 'danger';\n } & (\n | {\n /**\n * Specifies if the card has a focused input within.\n */\n isFocusWithin?: boolean;\n tabIndex?: never;\n }\n | {\n /**\n * Specifies the tab index of the card element.\n */\n tabIndex?: number;\n isFocusWithin?: never;\n }\n ) &\n Pick<AriaAttributesSignalExcluded, 'aria-describedby'>;\n\nconst parentComponentVariants = [\n 'default',\n 'actionCard',\n 'selectionCard',\n 'richSelectionItemCard'\n] as const;\n\nconst eventHandlers = [\n 'onBlur',\n 'onClick',\n 'onContextMenu',\n 'onFocus',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseUp',\n 'onPointerCancel',\n 'onPointerDown',\n 'onPointerOut',\n 'onPointerUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchStart'\n] as const;\n\nconst interpolations = [\n ...Object.values(dimensionInterpolations),\n ...Object.values(colorInterpolations),\n ...Object.values(paddingInterpolations),\n ...Object.values(ariaInterpolations)\n];\n\nconst mergedInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * A StyledCard is a simple container that renders a group of related information in a styled rectangular area.\n * Width, height, padding, and background color are set through props.\n * This component is used by Card, SelectionCard, ActionCard, and RichSelectionItem.\n */\nconst StyledCard = forwardRef(\n (\n {\n ['aria-describedby']: ariaDescribedBy,\n children,\n cursor,\n display = 'inlineBlock',\n isActive,\n isDisabled,\n isFocusWithin,\n isHover,\n isSelected,\n parentComponentVariant = 'default',\n role,\n styleVariant,\n tabIndex,\n testId,\n ...rest\n }: Props,\n ref: Ref<HTMLDivElement>\n ) => {\n const testIdProps = useTestId(testId);\n\n // we want to pick all the event handlers only to spread over the div element\n const eventHandlersProps = pick(eventHandlers, rest);\n\n const {\n class: mergedClasses,\n ariaLabel,\n ariaLabelledBy,\n ...mergedStyles\n } = mergedInterpolations(rest);\n\n const variantClasses = multiVariantStyles({\n active: isActive ? 'isActive' : undefined,\n cursor,\n display,\n disabled: isDisabled ? 'isDisabled' : undefined,\n focusRing: tabIndex !== undefined && tabIndex >= 0 ? 'hasFocusRing' : undefined,\n focusWithin: isFocusWithin ? 'hasFocusWithin' : undefined,\n hover: isHover ? 'isHover' : 'notHover',\n parentComponentVariant,\n selected: isSelected ? 'isSelected' : 'notSelected',\n styleVariant\n });\n\n const classes = classNames([variantClasses, mergedClasses]);\n\n return (\n <div\n {...eventHandlersProps}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n className={classes}\n tabIndex={tabIndex}\n ref={ref}\n role={role}\n style={mergedStyles}\n {...testIdProps}>\n {children}\n </div>\n );\n }\n);\n\nexport { StyledCard, parentComponentVariants };\n"],"names":["pick","_jsx"],"mappings":";;;;;;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;AACA,OAAO,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;AAClC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,GAAG,GAAG,CAAC,CAAC;AACd;AACA,EAAE,OAAO,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE;AAC7B,IAAI,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE;AAC3B,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC3C,KAAK;AACL;AACA,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC,CAAC;AACH;AACA,aAAe,IAAI;;AC0DnB,MAAM,aAAa,GAAG;IACpB,QAAQ;IACR,SAAS;IACT,eAAe;IACf,SAAS;IACT,WAAW;IACX,SAAS;IACT,aAAa;IACb,cAAc;IACd,cAAc;IACd,WAAW;IACX,iBAAiB;IACjB,eAAe;IACf,cAAc;IACd,aAAa;IACb,eAAe;IACf,YAAY;IACZ,cAAc;C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AS,GAAG,UAAU;QACvC,sBAAsB;QACtB,QAAQ,EAAE,UAAU,GAAG,YAAY,GAAG,aAAa;QACnD,YAAY;AACb,KAAA,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC;AAE5D,IAAA,QACEC,GAAA,CAAA,KAAA,EAAA,EAAA,GACM,kBAAkB,EAAA,YAAA,EACV,SAAS,EACJ,iBAAA,EAAA,cAAc,EACb,kBAAA,EAAA,eAAe,EACjC,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,YAAY,KACf,WAAW,EAAA,QAAA,EACd,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
1
+ {"version":3,"file":"StyledCard-f5965d6d.js","sources":["../../../../node_modules/ramda/es/pick.js","../../src/PRIVATE_StyledCard/StyledCard.tsx"],"sourcesContent":["import _curry2 from \"./internal/_curry2.js\";\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentChildren, Ref } from 'preact';\nimport { forwardRef } from 'preact/compat';\nimport { pick } from 'ramda';\n\nimport { dimensionInterpolations, DimensionProps } from '#utils/UNSAFE_interpolations/dimensions';\nimport { paddingInterpolations, PaddingProps } from '#utils/UNSAFE_interpolations/padding';\nimport { colorInterpolations, ColorProps } from '#utils/UNSAFE_interpolations/colors';\nimport { AriaProps, ariaInterpolations } from '#utils/UNSAFE_interpolations/aria';\nimport { mergeInterpolations } from '#utils/UNSAFE_mergeInterpolations';\nimport { multiVariantStyles } from './themes/StyledCardStyles.css';\nimport { classNames } from '#utils/UNSAFE_classNames';\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { Role } from '#utils/UNSAFE_roles';\nimport {\n AriaAttributesSignalExcluded,\n HTMLAttributesSignalExcluded\n} from '#utils/UNSAFE_attributeUtils';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLElement>, EventHandlers>;\n\ntype EventHandlers = (typeof eventHandlers)[number];\n\ntype StyleProps = DimensionProps & PaddingProps & ColorProps & AriaProps;\ntype Props = StyleProps &\n IntrinsicProps &\n TestIdProps & {\n children?: ComponentChildren;\n /**\n * Specifies if the card uses the pointer cursor.\n */\n cursor?: 'pointer';\n /**\n * Specifies the card element display type.\n */\n display?: 'inlineBlock' | 'inlineFlex';\n /**\n * Specifies if the card is in an active state.\n */\n isActive?: boolean;\n /**\n * Specifies if the card is in a disabled state.\n */\n isDisabled?: boolean;\n /**\n * Specifies if the card is in a hover state.\n */\n isHover?: boolean;\n /**\n * Specifies if the card as selected within a collection.\n */\n isSelected?: boolean;\n /**\n * Specifies the parent component variant\n */\n parentComponentVariant?: (typeof parentComponentVariants)[number];\n /**\n * Specifies aria role for the card element.\n */\n role?: Role;\n /**\n * Specifies the chroming of the card element\n */\n styleVariant?: 'danger';\n } & (\n | {\n /**\n * Specifies if the card has a focused input within.\n */\n isFocusWithin?: boolean;\n tabIndex?: never;\n }\n | {\n /**\n * Specifies the tab index of the card element.\n */\n tabIndex?: number;\n isFocusWithin?: never;\n }\n ) &\n Pick<AriaAttributesSignalExcluded, 'aria-describedby'>;\n\nconst parentComponentVariants = [\n 'default',\n 'actionCard',\n 'selectionCard',\n 'richSelectionItemCard'\n] as const;\n\nconst eventHandlers = [\n 'onBlur',\n 'onClick',\n 'onContextMenu',\n 'onFocus',\n 'onKeyDown',\n 'onKeyUp',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseUp',\n 'onPointerCancel',\n 'onPointerDown',\n 'onPointerOut',\n 'onPointerUp',\n 'onTouchCancel',\n 'onTouchEnd',\n 'onTouchStart'\n] as const;\n\nconst interpolations = [\n ...Object.values(dimensionInterpolations),\n ...Object.values(colorInterpolations),\n ...Object.values(paddingInterpolations),\n ...Object.values(ariaInterpolations)\n];\n\nconst mergedInterpolations = mergeInterpolations<Props>(interpolations);\n\n/**\n * A StyledCard is a simple container that renders a group of related information in a styled rectangular area.\n * Width, height, padding, and background color are set through props.\n * This component is used by Card, SelectionCard, ActionCard, and RichSelectionItem.\n */\nconst StyledCard = forwardRef(\n (\n {\n ['aria-describedby']: ariaDescribedBy,\n children,\n cursor,\n display = 'inlineBlock',\n isActive,\n isDisabled,\n isFocusWithin,\n isHover,\n isSelected,\n parentComponentVariant = 'default',\n role,\n styleVariant,\n tabIndex,\n testId,\n ...rest\n }: Props,\n ref: Ref<HTMLDivElement>\n ) => {\n const testIdProps = useTestId(testId);\n\n // we want to pick all the event handlers only to spread over the div element\n const eventHandlersProps = pick(eventHandlers, rest);\n\n const {\n class: mergedClasses,\n ariaLabel,\n ariaLabelledBy,\n ...mergedStyles\n } = mergedInterpolations(rest);\n\n const variantClasses = multiVariantStyles({\n active: isActive ? 'isActive' : undefined,\n cursor,\n display,\n disabled: isDisabled ? 'isDisabled' : undefined,\n focusRing: tabIndex !== undefined && tabIndex >= 0 ? 'hasFocusRing' : undefined,\n focusWithin: isFocusWithin ? 'hasFocusWithin' : undefined,\n hover: isHover ? 'isHover' : 'notHover',\n parentComponentVariant,\n selected: isSelected ? 'isSelected' : 'notSelected',\n styleVariant\n });\n\n const classes = classNames([variantClasses, mergedClasses]);\n\n return (\n <div\n {...eventHandlersProps}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-describedby={ariaDescribedBy}\n className={classes}\n tabIndex={tabIndex}\n ref={ref}\n role={role}\n style={mergedStyles}\n {...testIdProps}>\n {children}\n </div>\n );\n }\n);\n\nexport { StyledCard, parentComponentVariants };\n"],"names":["pick","_jsx"],"mappings":";;;;;;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;AACA,OAAO,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;AAClC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC;AAClB,EAAE,IAAI,GAAG,GAAG,CAAC,CAAC;AACd;AACA,EAAE,OAAO,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE;AAC7B,IAAI,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE;AAC3B,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAC3C,KAAK;AACL;AACA,IAAI,GAAG,IAAI,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC,CAAC;AACH;AACA,aAAe,IAAI;;AC0DnB,MAAM,aAAa,GAAG;IACpB,QAAQ;IACR,SAAS;IACT,eAAe;IACf,SAAS;IACT,WAAW;IACX,SAAS;IACT,aAAa;IACb,cAAc;IACd,cAAc;IACd,WAAW;IACX,iBAAiB;IACjB,eA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,GAAG,gBAAgB,GAAG,SAAS;QACzD,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU;QACvC,sBAAsB;QACtB,QAAQ,EAAE,UAAU,GAAG,YAAY,GAAG,aAAa;QACnD,YAAY;AACb,KAAA,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC;AAE5D,IAAA,QACEC,GAAA,CAAA,KAAA,EAAA,EAAA,GACM,kBAAkB,EAAA,YAAA,EACV,SAAS,EACJ,iBAAA,EAAA,cAAc,EACb,kBAAA,EAAA,eAAe,EACjC,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,YAAY,KACf,WAAW,EAAA,QAAA,EACd,QAAQ,EAAA,CACL,EACN;AACJ,CAAC;;;;"}
@@ -4,7 +4,7 @@ import { LabelRedwoodTheme } from './UNSAFE_Label/themes/redwood/LabelTheme.js';
4
4
  import { L as LabelValueLayout } from './LabelValueLayout-bcf482be.js';
5
5
  import { SkeletonRedwoodTheme } from './UNSAFE_Skeleton/themes/redwood/SkeletonTheme.js';
6
6
  import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
7
- import { u as useTestId } from './useTestId-af32a9eb.js';
7
+ import { u as useTestId } from './useTestId-3bc3958c.js';
8
8
  import { c as classNames } from './classNames-4e12b00d.js';
9
9
  import { l as layoutSpanStyles } from './LayoutStyles.css-8a60c28c.js';
10
10
  import { forwardRef } from 'preact/compat';
@@ -12,10 +12,10 @@ import './FormContext-4d71f9c7.js';
12
12
  import { u as useFormContext } from './useFormContext-875cacd7.js';
13
13
  import './FormFieldContext-68eb5946.js';
14
14
  import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
15
- import { F as Flex } from './Flex-2d51e914.js';
15
+ import { F as Flex } from './Flex-8696b27b.js';
16
16
  import './InputGroupContext-20bdbd6e.js';
17
17
  import { u as useInputGroupContext } from './useInputGroupContext-1d19411e.js';
18
- import { u as useUser } from './useUser-bca8cf2d.js';
18
+ import { u as useUser } from './useUser-a15426fc.js';
19
19
  import { TextFieldRedwoodTheme } from './UNSAFE_TextField/themes/redwood/TextFieldTheme.js';
20
20
  import { ReadonlyTextFieldRedwoodTheme } from './UNSAFE_TextField/themes/redwood/ReadonlyTextFieldTheme.js';
21
21
  import { FormLayoutRedwoodTheme } from './UNSAFE_TextField/themes/redwood/FormLayoutTheme.js';
@@ -1,10 +1,10 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
2
  import { jsx, Fragment, jsxs } from 'preact/jsx-runtime';
3
3
  import 'preact/hooks';
4
- import './LayerHost-7a2149f5.js';
4
+ import './LayerHost-15b42a3e.js';
5
5
  import { forwardRef } from 'preact/compat';
6
6
  import './UNSAFE_Text/themes/TextStyles.css.js';
7
- import './Flex-2d51e914.js';
7
+ import './Flex-8696b27b.js';
8
8
  import { T as TabBarContext } from './useTabBarContext-0071d2a7.js';
9
9
  import './flexitem-7b7f7920.js';
10
10
  import './dimensions-e4b8a67e.js';
@@ -19,15 +19,15 @@ import 'preact';
19
19
  import './TooltipContentStyles.styles.css';
20
20
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
21
21
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
22
- import './tooltipUtils-fcfd7dbb.js';
22
+ import './tooltipUtils-38192add.js';
23
23
  import './IconStyle.styles.css';
24
- import './Floating-c13f9f62.js';
24
+ import './Floating-9bf456f9.js';
25
25
  import './LayerStyles.styles.css';
26
26
  import './keyboardUtils-40eea0a6.js';
27
27
  import './tabbableUtils-b4fa6fe6.js';
28
28
  import './CollectionInteractionContext-7cf19abc.js';
29
29
  import './dropdownStyles.styles.css';
30
- import './Sheet-31e6970c.js';
30
+ import './Sheet-0861fcc0.js';
31
31
  import './OverflowTabBarItemStyles.styles.css';
32
32
  import { T as TabBarLayout } from './TabBarLayout-8caaa060.js';
33
33
  import { styles } from './UNSAFE_TabBar/themes/TabBarStyles.css.js';
@@ -3,9 +3,9 @@ import { jsxs, jsx, Fragment } from 'preact/jsx-runtime';
3
3
  import { useState, useCallback } from 'preact/hooks';
4
4
  import { c as classNames } from './classNames-4e12b00d.js';
5
5
  import { u as usePress } from './usePress-051f5adb.js';
6
- import { u as useUser } from './useUser-bca8cf2d.js';
6
+ import { u as useUser } from './useUser-a15426fc.js';
7
7
  import { T as Text } from './Text-fab01b91.js';
8
- import { F as Flex } from './Flex-2d51e914.js';
8
+ import { F as Flex } from './Flex-8696b27b.js';
9
9
  import { u as useTabBarContext } from './useTabBarContext-0071d2a7.js';
10
10
  import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
11
11
  import { f as flexitemInterpolations } from './flexitem-7b7f7920.js';
@@ -20,7 +20,7 @@ import { S as SvgErrorS } from './ErrorS-1b265055.js';
20
20
  import { S as SvgInformationS } from './InformationS-6ffd5758.js';
21
21
  import { S as SvgSuccessS } from './SuccessS-c96aad00.js';
22
22
  import { m as mergeProps } from './mergeProps-88ea8306.js';
23
- import { u as useTooltipControlled } from './useTooltipControlled-97142fd1.js';
23
+ import { u as useTooltipControlled } from './useTooltipControlled-b565c75b.js';
24
24
  import { tabBarItemVars } from './UNSAFE_TabBarCommon/themes/TabBarItemContract.css.js';
25
25
  import { B as Badge } from './Badge-a458c469.js';
26
26
 
@@ -1,6 +1,6 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
2
  import { jsx } from 'preact/jsx-runtime';
3
- import { F as Flex } from './Flex-2d51e914.js';
3
+ import { F as Flex } from './Flex-8696b27b.js';
4
4
  import { u as useTabBarContext, T as TabBarContext } from './useTabBarContext-0071d2a7.js';
5
5
 
6
6
  /**
@@ -2,9 +2,9 @@
2
2
  import { jsx } from 'preact/jsx-runtime';
3
3
  import { useRef } from 'preact/hooks';
4
4
  import { forwardRef, useImperativeHandle } from 'preact/compat';
5
- import './LayerHost-7a2149f5.js';
5
+ import './LayerHost-15b42a3e.js';
6
6
  import './UNSAFE_Text/themes/TextStyles.css.js';
7
- import './Flex-2d51e914.js';
7
+ import './Flex-8696b27b.js';
8
8
  import { T as TabBarContext } from './useTabBarContext-0071d2a7.js';
9
9
  import './flexitem-7b7f7920.js';
10
10
  import './dimensions-e4b8a67e.js';
@@ -19,15 +19,15 @@ import 'preact';
19
19
  import './TooltipContentStyles.styles.css';
20
20
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
21
21
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
22
- import './tooltipUtils-fcfd7dbb.js';
22
+ import './tooltipUtils-38192add.js';
23
23
  import './IconStyle.styles.css';
24
- import './Floating-c13f9f62.js';
24
+ import './Floating-9bf456f9.js';
25
25
  import './LayerStyles.styles.css';
26
26
  import './keyboardUtils-40eea0a6.js';
27
27
  import './tabbableUtils-b4fa6fe6.js';
28
28
  import './CollectionInteractionContext-7cf19abc.js';
29
29
  import './dropdownStyles.styles.css';
30
- import './Sheet-31e6970c.js';
30
+ import './Sheet-0861fcc0.js';
31
31
  import './OverflowTabBarItemStyles.styles.css';
32
32
  import { styles } from './UNSAFE_TabBarMixed/themes/TabBarMixedStyles.css.js';
33
33
  import { u as useTabBar } from './useTabBar-efad9075.js';
@@ -1,6 +1,6 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
2
  import { jsx } from 'preact/jsx-runtime';
3
- import { V as View } from './View-a8a64eb1.js';
3
+ import { V as View } from './View-63980a9b.js';
4
4
  import { styles } from './UNSAFE_TabBarMixed/themes/TabBarMixedSeparator.css.js';
5
5
 
6
6
  /**
@@ -16,4 +16,4 @@ function TabBarMixedSeparator(props) {
16
16
  }
17
17
 
18
18
  export { TabBarMixedSeparator as T };
19
- //# sourceMappingURL=TabBarMixedSeparator-16c88691.js.map
19
+ //# sourceMappingURL=TabBarMixedSeparator-da56f4c0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabBarMixedSeparator-16c88691.js","sources":["../../src/UNSAFE_TabBarMixed/TabBarMixedSeparator.tsx"],"sourcesContent":["import { View } from '../UNSAFE_View';\nimport { styles } from './themes/TabBarMixedSeparator.css';\n\nimport type { Size } from '../utils/UNSAFE_size';\n\ntype TabBarMixedSeparatorProps = {\n /**\n * Padding around the visual Separator line.\n */\n padding?: Size;\n};\n\n/**\n * TabBarMixedSeparator is a component that renders a visual separator (displayed\n * as a vertical line) between collections of tabs within TabBarMixed.\n *\n * @param {TabBarMixedSeparatorProps} props Component props for TabBarMixedSeparator.\n * @returns {JSX.Element} Component element for TabBarMixedSeparator.\n */\nexport function TabBarMixedSeparator(props: TabBarMixedSeparatorProps) {\n const { padding = 0 } = props;\n\n return (\n <View padding={[0, padding, 0, padding]}>\n <div class={styles.separator} role=\"presentation\" />\n </View>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;;AAYA;;;;;;AAMG;AACG,SAAU,oBAAoB,CAAC,KAAgC,EAAA;AACnE,IAAA,MAAM,EAAE,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;AAE9B,IAAA,QACEA,GAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,EAAA,QAAA,EACrCA,GAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,EAAC,cAAc,EAAG,CAAA,EAAA,CAC/C,EACP;AACJ;;;;"}
1
+ {"version":3,"file":"TabBarMixedSeparator-da56f4c0.js","sources":["../../src/UNSAFE_TabBarMixed/TabBarMixedSeparator.tsx"],"sourcesContent":["import { View } from '../UNSAFE_View';\nimport { styles } from './themes/TabBarMixedSeparator.css';\n\nimport type { Size } from '../utils/UNSAFE_size';\n\ntype TabBarMixedSeparatorProps = {\n /**\n * Padding around the visual Separator line.\n */\n padding?: Size;\n};\n\n/**\n * TabBarMixedSeparator is a component that renders a visual separator (displayed\n * as a vertical line) between collections of tabs within TabBarMixed.\n *\n * @param {TabBarMixedSeparatorProps} props Component props for TabBarMixedSeparator.\n * @returns {JSX.Element} Component element for TabBarMixedSeparator.\n */\nexport function TabBarMixedSeparator(props: TabBarMixedSeparatorProps) {\n const { padding = 0 } = props;\n\n return (\n <View padding={[0, padding, 0, padding]}>\n <div class={styles.separator} role=\"presentation\" />\n </View>\n );\n}\n"],"names":["_jsx"],"mappings":";;;;;AAYA;;;;;;AAMG;AACG,SAAU,oBAAoB,CAAC,KAAgC,EAAA;AACnE,IAAA,MAAM,EAAE,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;AAE9B,IAAA,QACEA,GAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,EAAA,QAAA,EACrCA,GAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,EAAC,cAAc,EAAG,CAAA,EAAA,CAC/C,EACP;AACJ;;;;"}
@@ -5,10 +5,10 @@ import { memo, forwardRef } from 'preact/compat';
5
5
  import { c as classNames } from './classNames-4e12b00d.js';
6
6
  import { u as useId } from './useId-03dbfdf0.js';
7
7
  import { T as TabbableModeContext } from './TabbableModeContext-7d8ad946.js';
8
- import { u as useUser } from './useUser-bca8cf2d.js';
8
+ import { u as useUser } from './useUser-a15426fc.js';
9
9
  import { Fragment } from 'preact';
10
10
  import { L as LOADMORE_STYLE_CLASS, a as LoadMoreCollection } from './LoadMoreCollection-95a49d2a.js';
11
- import { u as useTranslationBundle } from './useTranslationBundle-6da03e52.js';
11
+ import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
12
12
  import { tableSkeletonStylesHC, tableSkeletonStyles } from './PRIVATE_Table/themes/TableSkeletonStyles.css.js';
13
13
  import { d as dimensionInterpolations } from './dimensions-e4b8a67e.js';
14
14
  import { m as mergeInterpolations } from './mergeInterpolations-e2db2a66.js';
@@ -24,18 +24,18 @@ import { k as keyExtractor, f as findElementByKey, g as getElementContainsFunc,
24
24
  import { u as useInteractionStyle } from './useInteractionStyle-1faefed7.js';
25
25
  import { TableNoDataRedwoodTheme } from './PRIVATE_Table/themes/redwood/TableNoDataTheme.js';
26
26
  import { u as useComponentTheme } from './useComponentTheme-d2f9e47f.js';
27
- import { S as SelectorAll } from './SelectorAll-ab748274.js';
27
+ import { S as SelectorAll } from './SelectorAll-e833da6d.js';
28
28
  import { S as SvgUpParent } from './UpParent-1fd91294.js';
29
29
  import { S as SvgDownParent } from './DownParent-d1414724.js';
30
30
  import { E as EmbeddedIconButton } from './EmbeddedIconButton-10f5fb5b.js';
31
31
  import { M as Menu } from './Menu-a37635b8.js';
32
32
  import './MenuItem-831dfd05.js';
33
33
  import './logger-c92f309c.js';
34
- import './LayerHost-7a2149f5.js';
34
+ import './LayerHost-15b42a3e.js';
35
35
  import './TooltipContentStyles.styles.css';
36
36
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
37
37
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
38
- import { S as SHOW_TOOLTIP_DELAY, g as getWrappedTooltipContent, H as HIDE_TOOLTIP_DELAY, a as getGlobalTooltipManager } from './tooltipUtils-fcfd7dbb.js';
38
+ import { S as SHOW_TOOLTIP_DELAY, g as getWrappedTooltipContent, H as HIDE_TOOLTIP_DELAY, a as getGlobalTooltipManager } from './tooltipUtils-38192add.js';
39
39
  import './IconStyle.styles.css';
40
40
  import './SelectMenuGroupContext-b56cf5d4.js';
41
41
  import './UNSAFE_Separator/themes/SeparatorStyles.css.js';
@@ -47,14 +47,14 @@ import './CollectionInteractionContext-7cf19abc.js';
47
47
  import { u as useCollectionInteractionContext } from './useCollectionInteractionContext-3895c632.js';
48
48
  import { m as mergeProps } from './mergeProps-88ea8306.js';
49
49
  import { u as useContextMenuGesture } from './useContextMenuGesture-61215bf1.js';
50
- import { u as useColorScheme } from './useColorScheme-f69d53b5.js';
51
- import { u as useScale } from './useScale-3b323ab2.js';
52
- import { T as TooltipContent } from './useTooltipControlled-97142fd1.js';
50
+ import { u as useColorScheme } from './useColorScheme-d8a80e2b.js';
51
+ import { u as useScale } from './useScale-c86ecc6e.js';
52
+ import { T as TooltipContent } from './useTooltipControlled-b565c75b.js';
53
53
  import { a as allTabbableElements, g as getActiveElement, c as getBodyElement, i as isTabbableElement } from './tabbableUtils-b4fa6fe6.js';
54
54
  import { g as getIsSelectionPending } from './textSelectionUtils-a6554a42.js';
55
55
  import { u as useResizeObserver } from './useResizeObserver-838164c1.js';
56
56
  import { TableRedwoodTheme } from './PRIVATE_Table/themes/redwood/TableTheme.js';
57
- import { u as useTestId } from './useTestId-af32a9eb.js';
57
+ import { u as useTestId } from './useTestId-3bc3958c.js';
58
58
 
59
59
  /**
60
60
  * The internal component used to render a single colgroup in Table.
@@ -7,26 +7,26 @@ import { i as intersects, a as getUnion, c as calculateOffset } from './layoutUt
7
7
  import { c as cancelEvent } from './eventsUtils-e5fc62d5.js';
8
8
  import { g as generateAriaLabel } from './accUtils-60925ab1.js';
9
9
  import { styles, baseStyles, dimensionStyle } from './UNSAFE_TagCloud/themes/TagCloudStyles.css.js';
10
- import { u as useVisEvent } from './useVisEvents-37c78cfe.js';
10
+ import { u as useVisEvent } from './useVisEvents-7d4753c4.js';
11
11
  import { useState, useLayoutEffect, useRef, useMemo } from 'preact/hooks';
12
- import { u as useUser } from './useUser-bca8cf2d.js';
13
- import { u as useDatatip } from './useDatatip-40475371.js';
12
+ import { u as useUser } from './useUser-a15426fc.js';
13
+ import { u as useDatatip } from './useDatatip-bce558e2.js';
14
14
  import { m as mergeProps } from './mergeProps-88ea8306.js';
15
- import { u as useTranslationBundle } from './useTranslationBundle-6da03e52.js';
15
+ import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
16
16
  import { u as useTextDimensions } from './useTextDimensions-d73a1bf9.js';
17
- import { u as useSelection } from './useSelection-bbd2320f.js';
18
- import { u as useTestId } from './useTestId-af32a9eb.js';
17
+ import { u as useSelection } from './useSelection-1b256f77.js';
18
+ import { u as useTestId } from './useTestId-3bc3958c.js';
19
19
  import { u as useContextMenu } from './useContextMenu-8c47333e.js';
20
20
  import './Menu-a37635b8.js';
21
21
  import './MenuItem-831dfd05.js';
22
22
  import 'preact';
23
23
  import './logger-c92f309c.js';
24
- import './LayerHost-7a2149f5.js';
24
+ import './LayerHost-15b42a3e.js';
25
25
  import 'preact/compat';
26
26
  import './TooltipContentStyles.styles.css';
27
27
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
28
28
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
29
- import './tooltipUtils-fcfd7dbb.js';
29
+ import './tooltipUtils-38192add.js';
30
30
  import './IconStyle.styles.css';
31
31
  import './SelectMenuGroupContext-b56cf5d4.js';
32
32
  import './UNSAFE_Separator/themes/SeparatorStyles.css.js';
@@ -1,10 +1,10 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
2
  import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
3
- import { forwardRef, useCallback, useRef, useImperativeHandle } from 'preact/compat';
3
+ import { forwardRef, useCallback as useCallback$1, useRef, useImperativeHandle } from 'preact/compat';
4
4
  import './FormContext-4d71f9c7.js';
5
5
  import { u as useFormContext } from './useFormContext-875cacd7.js';
6
6
  import { F as FormFieldContext } from './FormFieldContext-68eb5946.js';
7
- import 'preact/hooks';
7
+ import { useCallback } from 'preact/hooks';
8
8
  import { u as useFocusableTextField } from './useFocusableTextField-8fe41cd4.js';
9
9
  import { L as Label } from './Label-6d90e627.js';
10
10
  import './keyboardUtils-40eea0a6.js';
@@ -13,26 +13,26 @@ import './ObfuscatedTextFieldInputStyles.styles.css';
13
13
  import { R as ReadonlyTextFieldInput } from './ReadonlyTextFieldInput-a15badb6.js';
14
14
  import { R as ReadonlyTextField } from './StyledTextField-ebb5409d.js';
15
15
  import { T as TextField } from './TextField-cb494638.js';
16
- import { M as MaxLengthLiveRegion } from './MaxLengthLiveRegion-9b386b63.js';
16
+ import { M as MaxLengthLiveRegion } from './MaxLengthLiveRegion-59087064.js';
17
17
  import { u as useTextField } from './useTextField-f57cfb8d.js';
18
18
  import './logger-c92f309c.js';
19
19
  import './TabbableModeContext-7d8ad946.js';
20
20
  import { u as useId } from './useId-03dbfdf0.js';
21
- import { u as useTranslationBundle } from './useTranslationBundle-6da03e52.js';
21
+ import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
22
22
  import './UserAssistanceStyles.styles.css';
23
23
  import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.css';
24
24
  import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
25
25
  import { a as InlineUserAssistance } from './InlineUserAssistance-04cce83e.js';
26
26
  import { C as CompactUserAssistance } from './CompactUserAssistance-12950e48.js';
27
27
  import { m as mergeProps } from './mergeProps-88ea8306.js';
28
- import './LayerHost-7a2149f5.js';
28
+ import './LayerHost-15b42a3e.js';
29
29
  import './TooltipContentStyles.styles.css';
30
30
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
31
31
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
32
- import './tooltipUtils-fcfd7dbb.js';
32
+ import './tooltipUtils-38192add.js';
33
33
  import 'preact';
34
34
  import './IconStyle.styles.css';
35
- import './Popup-a4be2769.js';
35
+ import './Popup-6c3f0839.js';
36
36
  import './LabelStyles.styles.css';
37
37
  import './UNSAFE_Label/themes/redwood/LabelBaseTheme.styles.css';
38
38
  import './UNSAFE_Label/themes/redwood/LabelVariants.css.js';
@@ -41,10 +41,27 @@ import { H as HiddenAccessible } from './HiddenAccessible-61197e7c.js';
41
41
  import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
42
42
  import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
43
43
  import { u as useLengthFilter } from './useLengthFilter-f72f45ac.js';
44
- import { M as MaxLengthCounter } from './MaxLengthCounter-181b4fc9.js';
44
+ import { c as classNames } from './classNames-4e12b00d.js';
45
+ import { u as usePress } from './usePress-051f5adb.js';
46
+ import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
47
+ import './MaxLengthCounterStyles.styles.css';
45
48
  import { u as useCurrentValueReducer } from './useCurrentValueReducer-bdf796fa.js';
46
49
  import { u as useSelectableTextField } from './useSelectableTextField-949184a5.js';
47
50
 
51
+ var hide = 'MaxLengthCounterStyles_hide__7dy9j71';
52
+ var maxLengthCounterBase = 'MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70';
53
+ var spanStyles = 'MaxLengthCounterStyles_spanStyles__7dy9j72';
54
+
55
+ const noop = () => { };
56
+ function MaxLengthCounter({ maxLength, valueLength = 0, onClick }) {
57
+ const { isFocused } = useFormFieldContext();
58
+ // We don't want mousedown on this component to do anything, so prevent the default behavior.
59
+ const killEvent = useCallback((event) => event.preventDefault(), []);
60
+ const textClasses = classNames([!isFocused && hide]);
61
+ const { pressProps } = usePress(onClick ?? noop);
62
+ return (jsx("div", { class: maxLengthCounterBase, onMouseDown: killEvent, ...pressProps, children: jsxs("span", { class: textClasses, children: [jsx("span", { class: spanStyles, children: valueLength }), jsx("span", { class: spanStyles, children: "/" }), jsx("span", { class: spanStyles, children: maxLength })] }) }));
63
+ }
64
+
48
65
  /**
49
66
  * A text area displays a field that allows a user to enter a multi-line text value.
50
67
  */
@@ -56,12 +73,12 @@ const TextArea = forwardRef(({ 'aria-describedby': ariaDescribedBy, assistiveTex
56
73
  })
57
74
  : '';
58
75
  const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });
59
- const onInputAndDispatch = useCallback((detail) => {
76
+ const onInputAndDispatch = useCallback$1((detail) => {
60
77
  // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)
61
78
  dispatch({ type: 'input', payload: detail.value });
62
79
  onInput?.(detail);
63
80
  }, [onInput, dispatch]);
64
- const onCommitAndDispatch = useCallback((detail) => {
81
+ const onCommitAndDispatch = useCallback$1((detail) => {
65
82
  // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)
66
83
  dispatch({ type: 'commit', payload: detail.value });
67
84
  onCommit?.(detail);
@@ -121,7 +138,7 @@ const TextArea = forwardRef(({ 'aria-describedby': ariaDescribedBy, assistiveTex
121
138
  userAssistanceDensity,
122
139
  value
123
140
  });
124
- const onClickCounter = useCallback(() => {
141
+ const onClickCounter = useCallback$1(() => {
125
142
  const elm = enabledElementRef.current;
126
143
  // for setSelectionRange(), len needs to be a number or null.
127
144
  const len = elm ? elm.value.length : null;
@@ -156,5 +173,5 @@ const TextArea = forwardRef(({ 'aria-describedby': ariaDescribedBy, assistiveTex
156
173
  return (jsx(FormFieldContext.Provider, { value: formFieldContext, children: jsx(TextField, { mainContent: mainContent, columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, onBlur: focusProps?.onFocusOut, onFocus: focusProps?.onFocusIn, mainFieldRef: anchorRef, resize: resize, testId: testId, ...textFieldProps, ...fieldLabelProps }) }));
157
174
  });
158
175
 
159
- export { TextArea as T };
160
- //# sourceMappingURL=TextArea-7230675f.js.map
176
+ export { MaxLengthCounter as M, TextArea as T };
177
+ //# sourceMappingURL=TextArea-64b4e972.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextArea-64b4e972.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.tsx","../../src/UNSAFE_TextArea/TextArea.tsx"],"sourcesContent":["import { useCallback } from 'preact/hooks';\n\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { usePress } from '../hooks/UNSAFE_usePress';\nimport { useFormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { hide, maxLengthCounterBase, spanStyles } from './MaxLengthCounterStyles.css';\n\ntype Props = {\n maxLength: number;\n valueLength?: number;\n onClick?: () => void; // the calling component should focus on the appropriate element when clicked.\n};\n\nconst noop = () => {};\n\nexport function MaxLengthCounter({ maxLength, valueLength = 0, onClick }: Props) {\n const { isFocused } = useFormFieldContext();\n // We don't want mousedown on this component to do anything, so prevent the default behavior.\n const killEvent = useCallback((event: Event) => event.preventDefault(), []);\n const textClasses = classNames([!isFocused && hide]);\n const { pressProps } = usePress(onClick ?? noop);\n return (\n <div class={maxLengthCounterBase} onMouseDown={killEvent} {...pressProps}>\n <span class={textClasses}>\n <span class={spanStyles}>{valueLength}</span>\n <span class={spanStyles}>/</span>\n <span class={spanStyles}>{maxLength}</span>\n </span>\n </div>\n );\n}\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { MaxLengthCounter } from './MaxLengthCounter';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { LayoutColumnSpan } from '../utils/UNSAFE_styles/Layout';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { HiddenAccessible } from '../UNSAFE_HiddenAccessible';\nimport { useId } from '../hooks/UNSAFE_useId';\nimport { SelectableHandle, useSelectableTextField } from '#hooks/UNSAFE_useSelectableTextField';\nimport { mergeProps } from '#utils/UNSAFE_mergeProps';\n\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\n\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n resize?: TextFieldProps['resize'];\n /**\n * Specifies the ARIA role type.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n rows?: TextFieldInputProps['rows'];\n /**\n * Specifies how to align text within the field.\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n */\n onCommit?: TextFieldInputProps['onCommit'];\n /**\n * Callback invoked each time the user changes the value of the field. For example, if the user\n * types 'abcd', this callback will be called four times with the value as 'a', 'ab', 'abc' and 'abcd'\n * respectively.\n */\n onInput: TextFieldInputProps['onInput'];\n};\n\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n\n/**\n * A text area displays a field that allows a user to enter a multi-line text value.\n */\nexport const TextArea = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n columnSpan,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n messages,\n placeholder,\n resize,\n role,\n rows,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit,\n testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\n\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\n textAlign: formTextAlign,\n userAssistanceDensity: formUserAssistanceDensity\n } = useFormContext();\n\n // default to FormContext values if component properties are not specified\n const isDisabled = propIsDisabled ?? isFormDisabled;\n const isReadonly = propIsReadonly ?? isFormReadonly;\n const labelEdge = propLabelEdge ?? formLabelEdge;\n const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;\n const textAlign = propTextAlign ?? formTextAlign;\n const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n const maxLengthDescribedByIdRef = useRef<string>(useId());\n // The enabledAriaDescribedBy includes the maxLengthDescribedById in addition to what was passed in to aria-describedby.\n // We don't need to announce the max length message for readonly, as it only applies when editing the value.\n const enabledAriaDescribedBy = ariaDescribedBy\n ? `${ariaDescribedBy} ${maxLengthDescribedByIdRef.current}`\n : maxLengthDescribedByIdRef.current;\n\n const enabledElementRef = useRef<HTMLTextAreaElement>(null);\n const readonlyElementRef = useRef<HTMLTextAreaElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLTextAreaElement, HTMLTextAreaElement>({\n isDisabled,\n isReadonly,\n enabledElementRef,\n readonlyElementRef\n });\n\n const { methods: selectMethods } =\n useSelectableTextField<HTMLTextAreaElement>(enabledElementRef);\n\n useImperativeHandle(ref!, () => mergeProps(focusMethods, selectMethods), [\n focusMethods,\n selectMethods\n ]);\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthReached, valueLength, onFilteredInput } = useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n const allMessages = [\n ...(messages ?? []),\n ...(isMaxLengthReached ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n const { formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } =\n useTextField({\n ariaDescribedBy: isReadonly || isDisabled ? ariaDescribedBy : enabledAriaDescribedBy,\n contentVariant: 'textarea',\n helpSourceLink,\n helpSourceText,\n isDisabled,\n isFocused,\n isReadonly,\n isRequiredShown,\n labelEdge,\n messages: allMessages,\n styleVariant: variant,\n userAssistanceDensity,\n value\n });\n\n const onClickCounter = useCallback(() => {\n const elm = enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n enabledElementRef.current?.focus();\n }, [enabledElementRef]);\n\n const labelComp = labelEdge !== 'none' ? <Label {...labelProps}>{label}</Label> : undefined;\n\n const fieldLabelProps = {\n label: labelEdge !== 'none' ? labelComp : undefined,\n labelEdge: labelEdge !== 'none' ? labelEdge : undefined,\n labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined\n };\n\n const ariaLabel = labelEdge === 'none' ? label : undefined;\n const isInlineDensity =\n userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';\n\n const inlineUserAssistance = isInlineDensity ? (\n isDisabled || isReadonly ? (\n // save space for user assistance if density is 'efficient', even though we don't\n // render user assistance for disabled or readonly fields\n userAssistanceDensity !== 'efficient' ? undefined : (\n <InlineUserAssistance\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : (\n <InlineUserAssistance\n assistiveText={assistiveText}\n fieldLabel={label}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n messages={allMessages}\n isRequiredShown={isRequiredShown}\n userAssistanceDensity={userAssistanceDensity}\n {...userAssistanceProps}\n />\n )\n ) : undefined;\n\n const anchorRef = useRef<HTMLDivElement>(null);\n\n const compactUserAssistance =\n userAssistanceDensity === 'compact' ? (\n <CompactUserAssistance\n anchorRef={anchorRef}\n messages={allMessages}\n assistiveText={assistiveText}\n {...userAssistanceProps}\n />\n ) : undefined;\n\n if (isReadonly) {\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n as=\"textarea\"\n elementRef={readonlyElementRef}\n rows={rows}\n autoFocus={autoFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={label !== undefined && labelEdge === 'inside'}\n />\n );\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <ReadonlyTextField\n role=\"presentation\"\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n ref={anchorRef}\n testId={testId}\n variant=\"textarea\"\n mainContent={mainContent}\n resize={resize}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n const hasMaxLength = maxLength !== undefined;\n const mainContent = (\n <>\n <TextFieldInput\n as=\"textarea\"\n aria-label={ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={labelComp !== undefined && labelEdge === 'inside'}\n isRequired={isRequired}\n inputRef={enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n placeholder={placeholder}\n role={role}\n rows={rows}\n textAlign={textAlign}\n value={value}\n {...inputProps}\n />\n {maxLengthCounter === 'remaining' && hasMaxLength && (\n <MaxLengthCounter\n maxLength={maxLength}\n valueLength={valueLength}\n onClick={onClickCounter}\n />\n )}\n {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedByIdRef.current} isHidden={true}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && isFocused && (\n <MaxLengthLiveRegion\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId + '_remainingChars'}\n />\n )}\n </>\n );\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <TextField\n mainContent={mainContent}\n columnSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n onBlur={focusProps?.onFocusOut}\n onFocus={focusProps?.onFocusIn}\n mainFieldRef={anchorRef}\n resize={resize}\n testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}></TextField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["_jsx","_jsxs","useCallback","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAM,IAAI,GAAG,MAAK,GAAG,CAAC;AAEhB,SAAU,gBAAgB,CAAC,EAAE,SAAS,EAAE,WAAW,GAAG,CAAC,EAAE,OAAO,EAAS,EAAA;AAC7E,IAAA,MAAM,EAAE,SAAS,EAAE,GAAG,mBAAmB,EAAE,CAAC;;AAE5C,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,KAAY,KAAK,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AACjD,IAAA,QACEA,GAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAM,GAAA,UAAU,YACtEC,IAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,WAAW,EAAA,QAAA,EAAA,CACtBD,cAAM,KAAK,EAAE,UAAU,EAAA,QAAA,EAAG,WAAW,EAAQ,CAAA,EAC7CA,cAAM,KAAK,EAAE,UAAU,EAAU,QAAA,EAAA,GAAA,EAAA,CAAA,EACjCA,cAAM,KAAK,EAAE,UAAU,EAAG,QAAA,EAAA,SAAS,GAAQ,CACtC,EAAA,CAAA,EAAA,CACH,EACN;AACJ;;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SAAS,EAAA,EACR,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,EAC1C,MAAM,EAAE,UAAU,EAAE,UAAU,EAC9B,OAAO,EAAE,UAAU,EAAE,SAAS,EAC9B,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EAAA,GACV,cAAc,EAAA,GACd,eAAe,EAAA,CAAc,EACT,CAAA,EAC5B;AACJ,CAAC;;;;"}
@@ -13,26 +13,26 @@ import './ObfuscatedTextFieldInputStyles.styles.css';
13
13
  import { R as ReadonlyTextFieldInput } from './ReadonlyTextFieldInput-a15badb6.js';
14
14
  import { R as ReadonlyTextField } from './StyledTextField-ebb5409d.js';
15
15
  import { T as TextField } from './TextField-cb494638.js';
16
- import { M as MaxLengthLiveRegion } from './MaxLengthLiveRegion-9b386b63.js';
16
+ import { M as MaxLengthLiveRegion } from './MaxLengthLiveRegion-59087064.js';
17
17
  import { u as useTextField } from './useTextField-f57cfb8d.js';
18
18
  import './logger-c92f309c.js';
19
19
  import './TabbableModeContext-7d8ad946.js';
20
20
  import { u as useId } from './useId-03dbfdf0.js';
21
- import { u as useTranslationBundle } from './useTranslationBundle-6da03e52.js';
21
+ import { u as useTranslationBundle } from './useTranslationBundle-98df6291.js';
22
22
  import './UserAssistanceStyles.styles.css';
23
23
  import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceBaseTheme.styles.css';
24
24
  import './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js';
25
25
  import { a as InlineUserAssistance } from './InlineUserAssistance-04cce83e.js';
26
26
  import { C as CompactUserAssistance } from './CompactUserAssistance-12950e48.js';
27
27
  import { m as mergeProps } from './mergeProps-88ea8306.js';
28
- import './LayerHost-7a2149f5.js';
28
+ import './LayerHost-15b42a3e.js';
29
29
  import './TooltipContentStyles.styles.css';
30
30
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentBaseTheme.styles.css';
31
31
  import './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css.js';
32
- import './tooltipUtils-fcfd7dbb.js';
32
+ import './tooltipUtils-38192add.js';
33
33
  import 'preact';
34
34
  import './IconStyle.styles.css';
35
- import './Popup-a4be2769.js';
35
+ import './Popup-6c3f0839.js';
36
36
  import './LabelStyles.styles.css';
37
37
  import './UNSAFE_Label/themes/redwood/LabelBaseTheme.styles.css';
38
38
  import './UNSAFE_Label/themes/redwood/LabelVariants.css.js';
@@ -42,8 +42,8 @@ import './UNSAFE_Popup/themes/redwood/PopupBaseTheme.styles.css';
42
42
  import './UNSAFE_Popup/themes/redwood/PopupVariants.css.js';
43
43
  import { u as useLengthFilter } from './useLengthFilter-f72f45ac.js';
44
44
  import { u as useCurrentValueReducer } from './useCurrentValueReducer-bdf796fa.js';
45
+ import { M as MaxLengthCounter } from './TextArea-64b4e972.js';
45
46
  import { u as useSelectableTextField } from './useSelectableTextField-949184a5.js';
46
- import { M as MaxLengthCounter } from './MaxLengthCounter-181b4fc9.js';
47
47
 
48
48
  // returns the lineHeight as a number of pixels.
49
49
  const calculateLineHeight = (textarea) => {
@@ -241,4 +241,4 @@ textAlign: propTextAlign, userAssistanceDensity: propUserAssistanceDensity, valu
241
241
  });
242
242
 
243
243
  export { TextAreaAutosize as T };
244
- //# sourceMappingURL=TextAreaAutosize-0d293016.js.map
244
+ //# sourceMappingURL=TextAreaAutosize-4e0f60ef.js.map