@oracle/oraclejet-preact 18.0.13 → 18.0.14

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 (638) hide show
  1. package/amd/TextArea-6b4e1847.js +2 -0
  2. package/amd/TextArea-6b4e1847.js.map +1 -0
  3. package/amd/TextAreaAutosize-be8b4682.js +2 -0
  4. package/amd/{TextAreaAutosize-ac99cd39.js.map → TextAreaAutosize-be8b4682.js.map} +1 -1
  5. package/amd/Theme-redwood/theme.css +216 -216
  6. package/amd/Theme-stable/theme.css +262 -262
  7. package/amd/UNSAFE_TextArea.js +1 -1
  8. package/amd/UNSAFE_TextAreaAutosize.js +1 -1
  9. package/cjs/{BaseCardView-ade994f5.js → BaseCardView-5a45e588.js} +2 -2
  10. package/cjs/{BaseCardView-ade994f5.js.map → BaseCardView-5a45e588.js.map} +1 -1
  11. package/cjs/{CardFlexView-6492d995.js → CardFlexView-58228ce4.js} +2 -2
  12. package/cjs/{CardFlexView-6492d995.js.map → CardFlexView-58228ce4.js.map} +1 -1
  13. package/cjs/{CardGridView-d98aa089.js → CardGridView-17683602.js} +2 -2
  14. package/cjs/{CardGridView-d98aa089.js.map → CardGridView-17683602.js.map} +1 -1
  15. package/cjs/ExpandableList-eb37ee5c.js +1 -1
  16. package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
  17. package/cjs/{Indexer-72430806.js → Indexer-b5ca1d0c.js} +2 -2
  18. package/cjs/{Indexer-72430806.js.map → Indexer-b5ca1d0c.js.map} +1 -1
  19. package/cjs/{List-0dc2c4c4.js → List-877077ab.js} +3 -4
  20. package/cjs/{List-0dc2c4c4.js.map → List-877077ab.js.map} +1 -1
  21. package/cjs/{ListView-17b8250d.js → ListView-98983aa2.js} +2 -2
  22. package/cjs/{ListView-17b8250d.js.map → ListView-98983aa2.js.map} +1 -1
  23. package/cjs/{LoadMoreCollection-73112ff0.js → LoadMoreCollection-69bc038c.js} +2 -2
  24. package/cjs/{LoadMoreCollection-73112ff0.js.map → LoadMoreCollection-69bc038c.js.map} +1 -1
  25. package/cjs/PRIVATE_BaseCardView.js +3 -3
  26. package/cjs/PRIVATE_List.js +4 -4
  27. package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
  28. package/cjs/PRIVATE_SelectCommon.js +5 -5
  29. package/cjs/PRIVATE_Table.js +3 -3
  30. package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
  31. package/cjs/{SelectMultiple-12261f4a.js → SelectMultiple-85f954ab.js} +2 -2
  32. package/cjs/{SelectMultiple-12261f4a.js.map → SelectMultiple-85f954ab.js.map} +1 -1
  33. package/cjs/{SelectSingle-382b9a03.js → SelectSingle-7665d165.js} +2 -2
  34. package/cjs/{SelectSingle-382b9a03.js.map → SelectSingle-7665d165.js.map} +1 -1
  35. package/cjs/{Table-42e84ff0.js → Table-c45cdb79.js} +2 -2
  36. package/cjs/{Table-42e84ff0.js.map → Table-c45cdb79.js.map} +1 -1
  37. package/cjs/{TableView-9e8d90d5.js → TableView-be307426.js} +2 -2
  38. package/cjs/{TableView-9e8d90d5.js.map → TableView-be307426.js.map} +1 -1
  39. package/cjs/{TextArea-aea6ecae.js → TextArea-3309d931.js} +22 -4
  40. package/cjs/TextArea-3309d931.js.map +1 -0
  41. package/cjs/{TextAreaAutosize-c01d61dc.js → TextAreaAutosize-ecd40b10.js} +3 -3
  42. package/cjs/{TextAreaAutosize-c01d61dc.js.map → TextAreaAutosize-ecd40b10.js.map} +1 -1
  43. package/cjs/Theme-redwood/theme.css +143 -143
  44. package/cjs/Theme-stable/theme.css +235 -235
  45. package/cjs/UNSAFE_CardFlexView.js +4 -4
  46. package/cjs/UNSAFE_CardGridView.js +4 -4
  47. package/cjs/UNSAFE_ExpandableList.js +3 -3
  48. package/cjs/UNSAFE_Indexer.js +2 -2
  49. package/cjs/UNSAFE_ListView.js +5 -5
  50. package/cjs/UNSAFE_SelectMultiple.js +6 -6
  51. package/cjs/UNSAFE_SelectSingle.js +6 -6
  52. package/cjs/UNSAFE_TableView.js +4 -4
  53. package/cjs/UNSAFE_TextArea.js +3 -4
  54. package/cjs/UNSAFE_TextArea.js.map +1 -1
  55. package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
  56. package/cjs/UNSAFE_VirtualizedListView.js +5 -5
  57. package/cjs/{VirtualizedCollection-00aedb8b.js → VirtualizedCollection-9e8c48b9.js} +2 -2
  58. package/cjs/{VirtualizedCollection-00aedb8b.js.map → VirtualizedCollection-9e8c48b9.js.map} +1 -1
  59. package/cjs/{VirtualizedListView-9bfaf4e2.js → VirtualizedListView-03fa4758.js} +2 -2
  60. package/cjs/{VirtualizedListView-9bfaf4e2.js.map → VirtualizedListView-03fa4758.js.map} +1 -1
  61. package/cjs/{useSelectCommon-7f7b44d1.js → useSelectCommon-99197baf.js} +2 -2
  62. package/cjs/{useSelectCommon-7f7b44d1.js.map → useSelectCommon-99197baf.js.map} +1 -1
  63. package/es/ActionCard-e64b1771.js +1 -1
  64. package/es/{BarChart-e8909233.js → BarChart-2a994aa9.js} +3 -3
  65. package/es/{BarChart-e8909233.js.map → BarChart-2a994aa9.js.map} +1 -1
  66. package/es/BarGroup-740cd159.js +1 -1
  67. package/es/BaseButton-685bec17.js +2 -2
  68. package/es/{BaseCardView-c5a8ee6a.js → BaseCardView-229fa119.js} +9 -9
  69. package/es/{BaseCardView-c5a8ee6a.js.map → BaseCardView-229fa119.js.map} +1 -1
  70. package/es/{BaseCardViewSelectionTest-39113af4.js → BaseCardViewSelectionTest-0b9dd4c7.js} +7 -7
  71. package/es/{BaseCardViewSelectionTest-39113af4.js.map → BaseCardViewSelectionTest-0b9dd4c7.js.map} +1 -1
  72. package/es/BaseNavigationListItem-530bc3df.js +1 -1
  73. package/es/BaseRichSelection-1aaeab44.js +8 -8
  74. package/es/ButtonSet-51dcff96.js +2 -2
  75. package/es/ButtonSetIconButton-ead6566c.js +3 -3
  76. package/es/{Card-de0aef24.js → Card-44b7de2f.js} +2 -2
  77. package/es/{Card-de0aef24.js.map → Card-44b7de2f.js.map} +1 -1
  78. package/es/{CardFlexView-529906e0.js → CardFlexView-3ef6bf4d.js} +2 -2
  79. package/es/{CardFlexView-529906e0.js.map → CardFlexView-3ef6bf4d.js.map} +1 -1
  80. package/es/{CardGridView-ec18c929.js → CardGridView-e15226c9.js} +2 -2
  81. package/es/{CardGridView-ec18c929.js.map → CardGridView-e15226c9.js.map} +1 -1
  82. package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
  83. package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
  84. package/es/{Chart-000730bb.js → Chart-9dc97d8d.js} +10 -10
  85. package/es/{Chart-000730bb.js.map → Chart-9dc97d8d.js.map} +1 -1
  86. package/es/CheckboxControl-1692a8d6.js +6 -6
  87. package/es/CheckboxRadioField-99df3ba3.js +6 -6
  88. package/es/CheckboxSetContext-1be56556.js +9 -0
  89. package/es/CheckboxSetContext-1be56556.js.map +1 -0
  90. package/es/Chip-8554d3ff.js +1 -1
  91. package/es/ClearIcon-7af86099.js +1 -1
  92. package/es/CollapseIcon-4e943f42.js +1 -1
  93. package/es/Collapsible-cb2ba356.js +2 -2
  94. package/es/{ComboChart-7ea6cadd.js → ComboChart-59ad85f7.js} +4 -4
  95. package/es/{ComboChart-7ea6cadd.js.map → ComboChart-59ad85f7.js.map} +1 -1
  96. package/es/CompactHelpSource-9c0d4cb4.js +2 -2
  97. package/es/{CompactLabelAssistance-7912767d.js → CompactLabelAssistance-6a627bbb.js} +5 -5
  98. package/es/{CompactLabelAssistance-7912767d.js.map → CompactLabelAssistance-6a627bbb.js.map} +1 -1
  99. package/es/CompactUserAssistance-23347994.js +4 -4
  100. package/es/ComponentMessageContainer-35005056.js +4 -4
  101. package/es/ConveyorBeltItem-9ae80a84.js +2 -2
  102. package/es/ConveyorBeltVariants.styles.css +6 -6
  103. package/es/ConveyorBeltVariants.styles2.css +6 -6
  104. package/es/{DatePicker-54a2c9ee.js → DatePicker-32a62e73.js} +6 -6
  105. package/es/{DatePicker-54a2c9ee.js.map → DatePicker-32a62e73.js.map} +1 -1
  106. package/es/DatePickerHeader-1710c19d.js +3 -3
  107. package/es/{Diagram-9510ff87.js → Diagram-02d6a0e9.js} +5 -5
  108. package/es/{Diagram-9510ff87.js.map → Diagram-02d6a0e9.js.map} +1 -1
  109. package/es/{Dialog-c927bba0.js → Dialog-ded776a5.js} +8 -8
  110. package/es/{Dialog-c927bba0.js.map → Dialog-ded776a5.js.map} +1 -1
  111. package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
  112. package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
  113. package/es/{DragHandle-5cba8c4b.js → DragHandle-d3a739f5.js} +2 -2
  114. package/es/{DragHandle-5cba8c4b.js.map → DragHandle-d3a739f5.js.map} +1 -1
  115. package/es/{Dropdown-f7fbfa81.js → Dropdown-f0cdaeae.js} +5 -5
  116. package/es/{Dropdown-f7fbfa81.js.map → Dropdown-f0cdaeae.js.map} +1 -1
  117. package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
  118. package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
  119. package/es/ExpandableList-2ff828d0.js +4 -4
  120. package/es/FilePicker-ecfad7d4.js +2 -2
  121. package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
  122. package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
  123. package/es/{Floating-c13f9f62.js → Floating-9bf456f9.js} +4 -4
  124. package/es/{Floating-c13f9f62.js.map → Floating-9bf456f9.js.map} +1 -1
  125. package/es/FormLayout-2efb00f6.js +1 -1
  126. package/es/Gantt-8b4d8f6e.js +9 -9
  127. package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
  128. package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
  129. package/es/{Gridlines-89b5506f.js → Gridlines-5ac89a84.js} +2 -2
  130. package/es/{Gridlines-89b5506f.js.map → Gridlines-5ac89a84.js.map} +1 -1
  131. package/es/GroupLoadingIndicator-63035d08.js +2 -2
  132. package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
  133. package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
  134. package/es/Icon-bdd49f29.js +3 -3
  135. package/es/IconButton-aed90302.js +3 -3
  136. package/es/IconMenuButton-772bdb3a.js +3 -3
  137. package/es/IconProgressButton-68f9bf65.js +3 -3
  138. package/es/IconSwitchButton-a8ccf655.js +3 -3
  139. package/es/IconToggleButton-a61a7d3c.js +3 -3
  140. package/es/{IconUserAssistance-2b494a2e.js → IconUserAssistance-627f9d18.js} +3 -3
  141. package/es/{IconUserAssistance-2b494a2e.js.map → IconUserAssistance-627f9d18.js.map} +1 -1
  142. package/es/{Indexer-ba2c7593.js → Indexer-eb00ba0b.js} +6 -6
  143. package/es/{Indexer-ba2c7593.js.map → Indexer-eb00ba0b.js.map} +1 -1
  144. package/es/InlineHelpSource-fcdcd122.js +1 -1
  145. package/es/InlineUserAssistance-87a0bc0e.js +5 -5
  146. package/es/InputDateMask-4b69db8b.js +7 -7
  147. package/es/{InputDatePicker-b2a89782.js → InputDatePicker-bf961886.js} +10 -10
  148. package/es/{InputDatePicker-b2a89782.js.map → InputDatePicker-bf961886.js.map} +1 -1
  149. package/es/InputPassword-4cc85d0a.js +4 -4
  150. package/es/InputText-224403da.js +6 -6
  151. package/es/Label-4f24dcde.js +5 -5
  152. package/es/LabelValueLayout-cc11e8ca.js +1 -1
  153. package/es/LabelledLinkVariants.styles.css +3 -3
  154. package/es/LabelledLinkVariants.styles2.css +3 -3
  155. package/es/{Layer-7497a324.js → Layer-12a734d1.js} +3 -3
  156. package/es/{Layer-7497a324.js.map → Layer-12a734d1.js.map} +1 -1
  157. package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
  158. package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
  159. package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
  160. package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
  161. package/es/Legend-588633b2.js +3 -3
  162. package/es/{LineAreaChart-a0393c8c.js → LineAreaChart-5ca41d3b.js} +4 -4
  163. package/es/{LineAreaChart-a0393c8c.js.map → LineAreaChart-5ca41d3b.js.map} +1 -1
  164. package/es/{LineSeries-00fa2ab7.js → LineSeries-ca5836e7.js} +2 -2
  165. package/es/{LineSeries-00fa2ab7.js.map → LineSeries-ca5836e7.js.map} +1 -1
  166. package/es/Link-e405608b.js +1 -1
  167. package/es/{List-97b7be70.js → List-e6886091.js} +8 -9
  168. package/es/{List-97b7be70.js.map → List-e6886091.js.map} +1 -1
  169. package/es/{ListItemLayout-b3d899d6.js → ListItemLayout-e87958e3.js} +2 -2
  170. package/es/{ListItemLayout-b3d899d6.js.map → ListItemLayout-e87958e3.js.map} +1 -1
  171. package/es/{ListView-936d8a4f.js → ListView-137e31fd.js} +5 -5
  172. package/es/{ListView-936d8a4f.js.map → ListView-137e31fd.js.map} +1 -1
  173. package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
  174. package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
  175. package/es/{LoadMoreCollection-95a49d2a.js → LoadMoreCollection-7df1be36.js} +2 -2
  176. package/es/{LoadMoreCollection-95a49d2a.js.map → LoadMoreCollection-7df1be36.js.map} +1 -1
  177. package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
  178. package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
  179. package/es/Menu-a37635b8.js +6 -6
  180. package/es/MenuButton-93a1b6b0.js +2 -2
  181. package/es/MenuItem-831dfd05.js +1 -1
  182. package/es/Message-dd158e41.js +2 -2
  183. package/es/{MessageLayer-9ea7cf82.js → MessageLayer-8bed437a.js} +6 -6
  184. package/es/{MessageLayer-9ea7cf82.js.map → MessageLayer-8bed437a.js.map} +1 -1
  185. package/es/MessageToast-73458c48.js +8 -8
  186. package/es/MessagesManager-9dd3eb3d.js +3 -3
  187. package/es/MeterBar-551d32db.js +5 -5
  188. package/es/MeterCircle-5e2ee267.js +5 -5
  189. package/es/MeterCircleVariants.styles.css +8 -8
  190. package/es/MeterCircleVariants.styles2.css +8 -8
  191. package/es/{Modal-1710fdd2.js → Modal-103da2aa.js} +3 -3
  192. package/es/{Modal-1710fdd2.js.map → Modal-103da2aa.js.map} +1 -1
  193. package/es/{MonthView-31d5ae25.js → MonthView-395c5a6a.js} +4 -4
  194. package/es/{MonthView-31d5ae25.js.map → MonthView-395c5a6a.js.map} +1 -1
  195. package/es/{NavigationListItem-57a7cf4b.js → NavigationListItem-5b25b2f5.js} +16 -3
  196. package/es/{NavigationListItem-57a7cf4b.js.map → NavigationListItem-5b25b2f5.js.map} +1 -1
  197. package/es/NavigationListItemVariants.styles.css +5 -5
  198. package/es/NavigationListItemVariants.styles2.css +5 -5
  199. package/es/NumberInputText-c74048e0.js +6 -6
  200. package/es/{OverflowTabBar-c7b52525.js → OverflowTabBar-3ddfd662.js} +2 -2
  201. package/es/{OverflowTabBar-c7b52525.js.map → OverflowTabBar-3ddfd662.js.map} +1 -1
  202. package/es/{OverflowTabBarItem-6ee5e024.js → OverflowTabBarItem-b18631ad.js} +5 -5
  203. package/es/{OverflowTabBarItem-6ee5e024.js.map → OverflowTabBarItem-b18631ad.js.map} +1 -1
  204. package/es/PRIVATE_BaseCardView.js +25 -25
  205. package/es/PRIVATE_Chart.js +36 -36
  206. package/es/PRIVATE_CheckboxControl.js +23 -23
  207. package/es/PRIVATE_CheckboxRadioField.js +25 -25
  208. package/es/PRIVATE_ClearIcon.js +18 -18
  209. package/es/PRIVATE_DatePickerHeader.js +19 -19
  210. package/es/PRIVATE_DatePickerLayout.js +4 -4
  211. package/es/PRIVATE_EmbeddedIconButton.js +3 -3
  212. package/es/PRIVATE_FormControls.js +20 -20
  213. package/es/PRIVATE_IconSwitchButton.js +16 -16
  214. package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
  215. package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
  216. package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
  217. package/es/PRIVATE_Icons/DragV.js +16 -16
  218. package/es/PRIVATE_Icons/WarningS.js +16 -16
  219. package/es/PRIVATE_List.js +24 -24
  220. package/es/PRIVATE_LoadMoreCollection.js +2 -2
  221. package/es/PRIVATE_Message.js +19 -19
  222. package/es/PRIVATE_MessageLayer.js +12 -12
  223. package/es/PRIVATE_MonthView.js +7 -7
  224. package/es/PRIVATE_MonthYearGridView.js +7 -7
  225. package/es/PRIVATE_PlotArea.js +4 -4
  226. package/es/PRIVATE_RevealToggleIcon.js +17 -17
  227. package/es/PRIVATE_RichSelectionCommon.js +26 -26
  228. package/es/PRIVATE_SelectCommon/themes/dropdownStyles.css.js +1 -1
  229. package/es/PRIVATE_SelectCommon.js +34 -34
  230. package/es/PRIVATE_StyledCard.js +4 -4
  231. package/es/PRIVATE_StyledCheckbox.js +16 -16
  232. package/es/PRIVATE_Table.js +28 -28
  233. package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
  234. package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
  235. package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
  236. package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
  237. package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
  238. package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
  239. package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
  240. package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
  241. package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
  242. package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
  243. package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
  244. package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
  245. package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
  246. package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
  247. package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
  248. package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
  249. package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
  250. package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
  251. package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
  252. package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
  253. package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
  254. package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
  255. package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
  256. package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
  257. package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
  258. package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
  259. package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
  260. package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
  261. package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
  262. package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
  263. package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
  264. package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
  265. package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
  266. package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
  267. package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
  268. package/es/PRIVATE_TimeComponent.js +18 -18
  269. package/es/PRIVATE_VirtualizedCollection.js +2 -2
  270. package/es/PRIVATE_VisOverview.js +16 -16
  271. package/es/PRIVATE_VisTabularDatatip.js +4 -4
  272. package/es/PictoChart-9d78c57d.js +6 -6
  273. package/es/PieChart-ca02932e.js +6 -6
  274. package/es/{Popup-a4be2769.js → Popup-6c3f0839.js} +9 -9
  275. package/es/{Popup-a4be2769.js.map → Popup-6c3f0839.js.map} +1 -1
  276. package/es/{ProgressBar-4fbb27ab.js → ProgressBar-95461222.js} +3 -3
  277. package/es/{ProgressBar-4fbb27ab.js.map → ProgressBar-95461222.js.map} +1 -1
  278. package/es/ProgressButton-30ae971f.js +3 -3
  279. package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
  280. package/es/{ProgressCircle-2d3833fa.js → ProgressCircle-93c309cb.js} +2 -2
  281. package/es/{ProgressCircle-2d3833fa.js.map → ProgressCircle-93c309cb.js.map} +1 -1
  282. package/es/ProgressCircleVariants.styles.css +4 -4
  283. package/es/ProgressCircleVariants.styles2.css +4 -4
  284. package/es/RadioItem-4196378c.js +6 -6
  285. package/es/RatingGauge-5346d0bf.js +7 -7
  286. package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
  287. package/es/RemovableNavigationListItem-5a558e58.js +1 -1
  288. package/es/RemovableTabBarItem-2250a150.js +2 -2
  289. package/es/ReorderableTabBar-b9019d0a.js +3 -3
  290. package/es/RevealToggleIcon-c76245fd.js +1 -1
  291. package/es/{ScatterChart-22a6b15a.js → ScatterChart-829b9755.js} +4 -4
  292. package/es/{ScatterChart-22a6b15a.js.map → ScatterChart-829b9755.js.map} +1 -1
  293. package/es/SectionalLegend-c71d48a3.js +4 -4
  294. package/es/{SectionedContent-2d0a744d.js → SectionedContent-3fd063af.js} +5 -5
  295. package/es/{SectionedContent-2d0a744d.js.map → SectionedContent-3fd063af.js.map} +1 -1
  296. package/es/SegmentStyles.styles.css +8 -8
  297. package/es/SegmentStyles.styles2.css +8 -8
  298. package/es/{SelectMultiple-0b1a66db.js → SelectMultiple-f00b3232.js} +10 -10
  299. package/es/{SelectMultiple-0b1a66db.js.map → SelectMultiple-f00b3232.js.map} +1 -1
  300. package/es/{SelectSingle-c4761455.js → SelectSingle-375ef72f.js} +9 -9
  301. package/es/{SelectSingle-c4761455.js.map → SelectSingle-375ef72f.js.map} +1 -1
  302. package/es/{SelectionCard-792c249d.js → SelectionCard-1f8585cb.js} +2 -2
  303. package/es/{SelectionCard-792c249d.js.map → SelectionCard-1f8585cb.js.map} +1 -1
  304. package/es/Selector-5892544f.js +1 -1
  305. package/es/{SelectorAll-ab748274.js → SelectorAll-e833da6d.js} +7 -7
  306. package/es/{SelectorAll-ab748274.js.map → SelectorAll-e833da6d.js.map} +1 -1
  307. package/es/{Sheet-31e6970c.js → Sheet-0861fcc0.js} +3 -3
  308. package/es/{Sheet-31e6970c.js.map → Sheet-0861fcc0.js.map} +1 -1
  309. package/es/SplitMenuButton-afa523a8.js +2 -2
  310. package/es/SplitMenuButtonTheme.styles.css +4 -4
  311. package/es/SplitMenuButtonTheme.styles2.css +4 -4
  312. package/es/{StyledCard-6913b45c.js → StyledCard-f5965d6d.js} +2 -2
  313. package/es/{StyledCard-6913b45c.js.map → StyledCard-f5965d6d.js.map} +1 -1
  314. package/es/StyledTextField-fba62818.js +3 -3
  315. package/es/TabBar-fb7f97d2.js +6 -6
  316. package/es/TabBarItem-252cba76.js +3 -3
  317. package/es/TabBarLayout-8caaa060.js +1 -1
  318. package/es/TabBarMixed-f60c2c7a.js +6 -6
  319. package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
  320. package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
  321. package/es/{Table-39429460.js → Table-424db6b2.js} +11 -11
  322. package/es/{Table-39429460.js.map → Table-424db6b2.js.map} +1 -1
  323. package/es/{TableView-fef873d4.js → TableView-1f193c4a.js} +2 -2
  324. package/es/{TableView-fef873d4.js.map → TableView-1f193c4a.js.map} +1 -1
  325. package/es/TagCloud-ef087101.js +8 -8
  326. package/es/{TextArea-e9bcb623.js → TextArea-f8a4620b.js} +30 -13
  327. package/es/TextArea-f8a4620b.js.map +1 -0
  328. package/es/{TextAreaAutosize-3b559450.js → TextAreaAutosize-6ff9bddb.js} +7 -7
  329. package/es/{TextAreaAutosize-3b559450.js.map → TextAreaAutosize-6ff9bddb.js.map} +1 -1
  330. package/es/TextField-1120a3c4.js +3 -3
  331. package/es/TextFieldInput-3c2e920d.js +1 -1
  332. package/es/TextFieldVariants.styles.css +29 -29
  333. package/es/TextFieldVariants.styles2.css +29 -29
  334. package/es/Theme-redwood/theme.css +582 -582
  335. package/es/Theme-stable/theme.css +522 -522
  336. package/es/TimeComponentCanvas2D-73b0b592.js +5 -5
  337. package/es/Toolbar-7676795b.js +1 -1
  338. package/es/{TruncatingBadge-0f04b894.js → TruncatingBadge-b69c1ceb.js} +4 -4
  339. package/es/{TruncatingBadge-0f04b894.js.map → TruncatingBadge-b69c1ceb.js.map} +1 -1
  340. package/es/{TruncatingText-ccad557f.js → TruncatingText-68acfafd.js} +4 -4
  341. package/es/{TruncatingText-ccad557f.js.map → TruncatingText-68acfafd.js.map} +1 -1
  342. package/es/UNSAFE_ActionCard.js +3 -3
  343. package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +37 -37
  344. package/es/UNSAFE_BarChart.js +37 -37
  345. package/es/UNSAFE_BaseButton.js +3 -3
  346. package/es/UNSAFE_Button.js +3 -3
  347. package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +23 -23
  348. package/es/UNSAFE_ButtonSet.js +4 -4
  349. package/es/UNSAFE_ButtonSetButton.js +3 -3
  350. package/es/UNSAFE_ButtonSetIconButton.js +16 -16
  351. package/es/UNSAFE_ButtonSetItem.js +16 -16
  352. package/es/UNSAFE_ButtonSetMultiple.js +4 -4
  353. package/es/UNSAFE_ButtonSetSingle.js +4 -4
  354. package/es/UNSAFE_Card.js +5 -5
  355. package/es/UNSAFE_CardFlexView.js +26 -26
  356. package/es/UNSAFE_CardGridView.js +26 -26
  357. package/es/UNSAFE_Center.js +5 -5
  358. package/es/UNSAFE_ChartWithLegend.js +4 -4
  359. package/es/UNSAFE_Checkbox.js +23 -23
  360. package/es/UNSAFE_CheckboxItem.js +53 -104
  361. package/es/UNSAFE_CheckboxItem.js.map +1 -1
  362. package/es/UNSAFE_CheckboxSet.js +68 -34
  363. package/es/UNSAFE_CheckboxSet.js.map +1 -1
  364. package/es/UNSAFE_Chip.js +2 -2
  365. package/es/UNSAFE_Collapsible.js +18 -18
  366. package/es/UNSAFE_ComboChart.js +39 -39
  367. package/es/UNSAFE_ComponentMessage.js +19 -19
  368. package/es/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltTheme.js +1 -1
  369. package/es/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltVariants.css.js +1 -1
  370. package/es/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltTheme.js +1 -1
  371. package/es/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltVariants.css.js +1 -1
  372. package/es/UNSAFE_ConveyorBelt.js +17 -17
  373. package/es/UNSAFE_DatePicker.js +24 -24
  374. package/es/UNSAFE_Diagram.js +21 -21
  375. package/es/UNSAFE_Dialog.js +21 -21
  376. package/es/UNSAFE_DragHandle.js +18 -18
  377. package/es/UNSAFE_DrawerLayout.js +12 -12
  378. package/es/UNSAFE_DrawerPopup.js +11 -11
  379. package/es/UNSAFE_Dropdown/themes/dropdownStyles.css.js +1 -1
  380. package/es/UNSAFE_Dropdown.js +14 -14
  381. package/es/UNSAFE_Environment.js +4 -4
  382. package/es/UNSAFE_ExpandableList.js +26 -26
  383. package/es/UNSAFE_FilePicker.js +4 -4
  384. package/es/UNSAFE_Flex.js +4 -4
  385. package/es/UNSAFE_Floating.js +11 -11
  386. package/es/UNSAFE_FormLayout.js +2 -2
  387. package/es/UNSAFE_Gantt.js +23 -23
  388. package/es/UNSAFE_Grid.js +4 -4
  389. package/es/UNSAFE_HighlightText.js +4 -4
  390. package/es/UNSAFE_Icon.js +16 -16
  391. package/es/UNSAFE_IconButton.js +16 -16
  392. package/es/UNSAFE_IconMenuButton.js +22 -22
  393. package/es/UNSAFE_IconProgressButton.js +20 -20
  394. package/es/UNSAFE_IconToggleButton.js +16 -16
  395. package/es/UNSAFE_Indexer.js +8 -8
  396. package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
  397. package/es/UNSAFE_InputDateMask.js +26 -26
  398. package/es/UNSAFE_InputDatePicker.js +115 -115
  399. package/es/UNSAFE_InputPassword.js +24 -24
  400. package/es/UNSAFE_InputSensitiveText.js +26 -26
  401. package/es/UNSAFE_InputText.js +27 -27
  402. package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
  403. package/es/UNSAFE_InputTimeMask.js +26 -26
  404. package/es/UNSAFE_Label.js +24 -24
  405. package/es/UNSAFE_LabelValueLayout.js +5 -5
  406. package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkTheme.js +1 -1
  407. package/es/UNSAFE_LabelledLink/themes/redwood/LabelledLinkVariants.css.js +1 -1
  408. package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkTheme.js +1 -1
  409. package/es/UNSAFE_LabelledLink/themes/stable/LabelledLinkVariants.css.js +1 -1
  410. package/es/UNSAFE_LabelledLink.js +26 -26
  411. package/es/UNSAFE_Layer.js +8 -8
  412. package/es/UNSAFE_Legend.js +25 -25
  413. package/es/UNSAFE_LineAreaChart.js +39 -39
  414. package/es/UNSAFE_Link.js +2 -2
  415. package/es/UNSAFE_ListItemLayout.js +5 -5
  416. package/es/UNSAFE_ListView.js +34 -34
  417. package/es/UNSAFE_LiveRegion.js +4 -4
  418. package/es/UNSAFE_Menu.js +24 -24
  419. package/es/UNSAFE_MenuButton.js +22 -22
  420. package/es/UNSAFE_MessageBanner.js +19 -19
  421. package/es/UNSAFE_MessageToast.js +22 -22
  422. package/es/UNSAFE_MeterBar.js +16 -16
  423. package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleTheme.js +1 -1
  424. package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleVariants.css.js +1 -1
  425. package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleTheme.js +1 -1
  426. package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleVariants.css.js +1 -1
  427. package/es/UNSAFE_MeterCircle.js +18 -18
  428. package/es/UNSAFE_Modal.js +8 -8
  429. package/es/UNSAFE_NavigationList/themes/redwood/NavigationListItemVariants.css.js +1 -1
  430. package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemTheme.js +1 -1
  431. package/es/UNSAFE_NavigationList/themes/stable/NavigationListItemVariants.css.js +1 -1
  432. package/es/UNSAFE_NavigationList.js +25 -25
  433. package/es/UNSAFE_NavigationListCommon/themes/redwood/NavigationListItemTheme.js +1 -1
  434. package/es/UNSAFE_NavigationListCommon.js +19 -19
  435. package/es/UNSAFE_NumberInputText.js +26 -26
  436. package/es/UNSAFE_OverflowTabBar.js +29 -29
  437. package/es/UNSAFE_PictoChart.js +14 -14
  438. package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
  439. package/es/UNSAFE_PieChart.js +22 -22
  440. package/es/UNSAFE_Popup.js +16 -16
  441. package/es/UNSAFE_ProgressBar.js +5 -5
  442. package/es/UNSAFE_ProgressButton.js +20 -20
  443. package/es/UNSAFE_ProgressButtonLabelLayout.js +11 -11
  444. package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme.js +1 -1
  445. package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleVariants.css.js +1 -1
  446. package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js +1 -1
  447. package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleVariants.css.js +1 -1
  448. package/es/UNSAFE_ProgressCircle.js +5 -5
  449. package/es/UNSAFE_RadioItem.js +23 -23
  450. package/es/UNSAFE_RadioSet.js +24 -24
  451. package/es/UNSAFE_RatingGauge.js +17 -17
  452. package/es/UNSAFE_ReorderableTabBar.js +25 -25
  453. package/es/UNSAFE_RichCheckboxSet.js +37 -39
  454. package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
  455. package/es/UNSAFE_RichRadioSet.js +26 -26
  456. package/es/UNSAFE_RichSelectionItem.js +57 -195
  457. package/es/UNSAFE_RichSelectionItem.js.map +1 -1
  458. package/es/UNSAFE_ScatterChart.js +39 -39
  459. package/es/UNSAFE_SectionalLegend.js +26 -26
  460. package/es/UNSAFE_SelectMultiple.js +38 -38
  461. package/es/UNSAFE_SelectSingle.js +38 -38
  462. package/es/UNSAFE_SelectionCard.js +5 -5
  463. package/es/UNSAFE_Selector.js +16 -16
  464. package/es/UNSAFE_SelectorAll.js +20 -20
  465. package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
  466. package/es/UNSAFE_Sheet.js +11 -11
  467. package/es/UNSAFE_SplitMenuButton/themes/redwood/SplitMenuButtonTheme.css.js +1 -1
  468. package/es/UNSAFE_SplitMenuButton/themes/stable/SplitMenuButtonTheme.css.js +1 -1
  469. package/es/UNSAFE_SplitMenuButton.js +23 -23
  470. package/es/UNSAFE_TabBar.js +29 -29
  471. package/es/UNSAFE_TabBarCommon.js +29 -29
  472. package/es/UNSAFE_TabBarMixed.js +30 -30
  473. package/es/UNSAFE_TableView.js +29 -29
  474. package/es/UNSAFE_TagCloud.js +24 -24
  475. package/es/UNSAFE_TextArea.js +28 -29
  476. package/es/UNSAFE_TextArea.js.map +1 -1
  477. package/es/UNSAFE_TextAreaAutosize.js +29 -29
  478. package/es/UNSAFE_TextField/themes/redwood/TextFieldTheme.js +1 -1
  479. package/es/UNSAFE_TextField/themes/redwood/TextFieldVariants.css.js +1 -1
  480. package/es/UNSAFE_TextField/themes/stable/TextFieldTheme.js +1 -1
  481. package/es/UNSAFE_TextField/themes/stable/TextFieldVariants.css.js +1 -1
  482. package/es/UNSAFE_TextField.js +8 -8
  483. package/es/UNSAFE_ToggleButton.js +3 -3
  484. package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +25 -25
  485. package/es/UNSAFE_Toolbar.js +4 -4
  486. package/es/UNSAFE_Train.js +17 -17
  487. package/es/UNSAFE_TruncatingBadge.js +18 -18
  488. package/es/UNSAFE_TruncatingText.js +17 -17
  489. package/es/UNSAFE_UserAssistance.js +24 -24
  490. package/es/UNSAFE_View.js +7 -7
  491. package/es/UNSAFE_VirtualizedListView.js +25 -25
  492. package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
  493. package/es/UNSAFE_VisProgressiveLoader.js +6 -6
  494. package/es/UNSAFE_VisStatusMessage.js +6 -6
  495. package/es/UNSAFE_WindowOverlay.js +4 -4
  496. package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
  497. package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
  498. package/es/{VirtualizedCollection-e73890a1.js → VirtualizedCollection-f048fbb8.js} +2 -2
  499. package/es/{VirtualizedCollection-e73890a1.js.map → VirtualizedCollection-f048fbb8.js.map} +1 -1
  500. package/es/{VirtualizedListView-3ef40bde.js → VirtualizedListView-0532e46c.js} +2 -2
  501. package/es/{VirtualizedListView-3ef40bde.js.map → VirtualizedListView-0532e46c.js.map} +1 -1
  502. package/es/{VisNoData-794ddc21.js → VisNoData-02cab8f6.js} +3 -3
  503. package/es/{VisNoData-794ddc21.js.map → VisNoData-02cab8f6.js.map} +1 -1
  504. package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
  505. package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
  506. package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
  507. package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
  508. package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
  509. package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
  510. package/es/{YearsGridView-d1bb65cf.js → YearsGridView-23ef4ced.js} +4 -4
  511. package/es/{YearsGridView-d1bb65cf.js.map → YearsGridView-23ef4ced.js.map} +1 -1
  512. package/es/dropdownStyles.styles.css +6 -90
  513. package/es/dropdownStyles.styles2.css +90 -6
  514. package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
  515. package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
  516. package/es/hoc/UNSAFE_withThemeProps.js +3 -3
  517. package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
  518. package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
  519. package/es/hooks/PRIVATE_useChartEvents.js +18 -18
  520. package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
  521. package/es/hooks/PRIVATE_useCssVars.js +7 -7
  522. package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
  523. package/es/hooks/PRIVATE_useDatatip.js +12 -12
  524. package/es/hooks/PRIVATE_useFloating.js +4 -4
  525. package/es/hooks/PRIVATE_useReorderable.js +5 -5
  526. package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
  527. package/es/hooks/PRIVATE_useSelection.js +4 -4
  528. package/es/hooks/PRIVATE_useTabBar.js +4 -4
  529. package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
  530. package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
  531. package/es/hooks/PRIVATE_useVisEvents.js +4 -4
  532. package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
  533. package/es/hooks/PRIVATE_useVisSelection.js +13 -13
  534. package/es/hooks/UNSAFE_useColorScheme.js +3 -3
  535. package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
  536. package/es/hooks/UNSAFE_useDensity.js +3 -3
  537. package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
  538. package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
  539. package/es/hooks/UNSAFE_useScale.js +3 -3
  540. package/es/hooks/UNSAFE_useTestId.js +3 -3
  541. package/es/hooks/UNSAFE_useTheme.js +3 -3
  542. package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
  543. package/es/hooks/UNSAFE_useTooltip.js +17 -17
  544. package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
  545. package/es/hooks/UNSAFE_useUser.js +3 -3
  546. package/es/{index-f4c1d6de.js → index-20f848bc.js} +2 -2
  547. package/es/index-20f848bc.js.map +1 -0
  548. package/es/listViewSelectionTests-79aa17b2.js +3 -3
  549. package/es/{render-9dce082a.js → render-2b908d4f.js} +3 -3
  550. package/es/{render-9dce082a.js.map → render-2b908d4f.js.map} +1 -1
  551. package/es/{tabbableUtils-93a7cd6f.js → tabbableUtils-20bbaf8d.js} +3 -3
  552. package/es/{tabbableUtils-93a7cd6f.js.map → tabbableUtils-20bbaf8d.js.map} +1 -1
  553. package/es/{testData-a9ced8ec.js → testData-70bebfae.js} +3 -3
  554. package/es/{testData-a9ced8ec.js.map → testData-70bebfae.js.map} +1 -1
  555. package/es/{tooltipUtils-fcfd7dbb.js → tooltipUtils-38192add.js} +5 -5
  556. package/es/{tooltipUtils-fcfd7dbb.js.map → tooltipUtils-38192add.js.map} +1 -1
  557. package/es/useCellNavigation-75c62516.js +1 -1
  558. package/es/useChartContextMenu-121a5f6d.js +2 -2
  559. package/es/{useChartDatatip-c929f857.js → useChartDatatip-977bc33d.js} +4 -4
  560. package/es/{useChartDatatip-c929f857.js.map → useChartDatatip-977bc33d.js.map} +1 -1
  561. package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
  562. package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
  563. package/es/useContextMenu-8c47333e.js +2 -2
  564. package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
  565. package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
  566. package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
  567. package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
  568. package/es/{useCurrentKey-aa75ec92.js → useCurrentKey-63f6afcc.js} +2 -2
  569. package/es/{useCurrentKey-aa75ec92.js.map → useCurrentKey-63f6afcc.js.map} +1 -1
  570. package/es/{useDatatip-40475371.js → useDatatip-bce558e2.js} +4 -4
  571. package/es/{useDatatip-40475371.js.map → useDatatip-bce558e2.js.map} +1 -1
  572. package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
  573. package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
  574. package/es/{useFloating-dad3f791.js → useFloating-41d21e7d.js} +2 -2
  575. package/es/{useFloating-dad3f791.js.map → useFloating-41d21e7d.js.map} +1 -1
  576. package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
  577. package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
  578. package/es/useLegendContextMenu-1043d63c.js +4 -4
  579. package/es/{useMeterDatatip-4adf64f2.js → useMeterDatatip-5268869e.js} +3 -3
  580. package/es/{useMeterDatatip-4adf64f2.js.map → useMeterDatatip-5268869e.js.map} +1 -1
  581. package/es/{useOutsideClick-c19a8d7f.js → useOutsideClick-8a582d08.js} +2 -2
  582. package/es/{useOutsideClick-c19a8d7f.js.map → useOutsideClick-8a582d08.js.map} +1 -1
  583. package/es/{usePopupAnimation-267b444c.js → usePopupAnimation-e2e6a2ca.js} +2 -2
  584. package/es/{usePopupAnimation-267b444c.js.map → usePopupAnimation-e2e6a2ca.js.map} +1 -1
  585. package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
  586. package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
  587. package/es/{useReorderableItem-7f7c13b5.js → useReorderableItem-96616318.js} +3 -3
  588. package/es/{useReorderableItem-7f7c13b5.js.map → useReorderableItem-96616318.js.map} +1 -1
  589. package/es/{useRovingTabIndexContainer-7ec9f36f.js → useRovingTabIndexContainer-9afe3ee0.js} +2 -2
  590. package/es/{useRovingTabIndexContainer-7ec9f36f.js.map → useRovingTabIndexContainer-9afe3ee0.js.map} +1 -1
  591. package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
  592. package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
  593. package/es/{useSelectCommon-573611ca.js → useSelectCommon-98d8d2dc.js} +13 -13
  594. package/es/{useSelectCommon-573611ca.js.map → useSelectCommon-98d8d2dc.js.map} +1 -1
  595. package/es/{useSelectDrill-14789a5e.js → useSelectDrill-776e616b.js} +3 -3
  596. package/es/{useSelectDrill-14789a5e.js.map → useSelectDrill-776e616b.js.map} +1 -1
  597. package/es/{useSelection-ffee622f.js → useSelection-40f44970.js} +5 -5
  598. package/es/{useSelection-ffee622f.js.map → useSelection-40f44970.js.map} +1 -1
  599. package/es/{useSelection-c46ba985.js → useSelection-879c64aa.js} +2 -2
  600. package/es/{useSelection-c46ba985.js.map → useSelection-879c64aa.js.map} +1 -1
  601. package/es/useTabBar-efad9075.js +1 -1
  602. package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
  603. package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
  604. package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
  605. package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
  606. package/es/{useThemeInterpolations-242b30ed.js → useThemeInterpolations-8bee52ac.js} +5 -5
  607. package/es/{useThemeInterpolations-242b30ed.js.map → useThemeInterpolations-8bee52ac.js.map} +1 -1
  608. package/es/{useTooltip-72f5cf2e.js → useTooltip-98b6d3b5.js} +2 -2
  609. package/es/{useTooltip-72f5cf2e.js.map → useTooltip-98b6d3b5.js.map} +1 -1
  610. package/es/{useTooltipControlled-97142fd1.js → useTooltipControlled-b565c75b.js} +5 -5
  611. package/es/{useTooltipControlled-97142fd1.js.map → useTooltipControlled-b565c75b.js.map} +1 -1
  612. package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
  613. package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
  614. package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
  615. package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
  616. package/es/useVisDragModeControls-228408bf.js +1 -1
  617. package/es/{useVisEvents-37c78cfe.js → useVisEvents-7d4753c4.js} +2 -2
  618. package/es/{useVisEvents-37c78cfe.js.map → useVisEvents-7d4753c4.js.map} +1 -1
  619. package/es/utils/PRIVATE_tooltipUtils.js +14 -14
  620. package/es/utils/PRIVATE_visTestUtils.js +6 -6
  621. package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
  622. package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
  623. package/es/withThemeProps-6545df54.js +2 -2
  624. package/package.json +2 -2
  625. package/amd/MaxLengthCounter-9a95922c.js +0 -2
  626. package/amd/MaxLengthCounter-9a95922c.js.map +0 -1
  627. package/amd/TextArea-5bee11c8.js +0 -2
  628. package/amd/TextArea-5bee11c8.js.map +0 -1
  629. package/amd/TextAreaAutosize-ac99cd39.js +0 -2
  630. package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
  631. package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
  632. package/cjs/TextArea-aea6ecae.js.map +0 -1
  633. package/es/CheckboxSet-86252618.js +0 -49
  634. package/es/CheckboxSet-86252618.js.map +0 -1
  635. package/es/MaxLengthCounter-181b4fc9.js +0 -25
  636. package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
  637. package/es/TextArea-e9bcb623.js.map +0 -1
  638. package/es/index-f4c1d6de.js.map +0 -1
@@ -1,19 +1,19 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
- import { s as setupTabbableComponent } from '../tabbableUtils-93a7cd6f.js';
3
- export { s as default } from '../tabbableUtils-93a7cd6f.js';
2
+ import { s as setupTabbableComponent } from '../tabbableUtils-20bbaf8d.js';
3
+ export { s as default } from '../tabbableUtils-20bbaf8d.js';
4
4
  export { c as checkTooltipText, a as queryAllBy, q as queryById } from '../domUtil-90e55ab7.js';
5
5
  export { m as mockMouseEventPageXYOffsetXY, r as restoreMouseEventPageXYOffsetXY } from '../eventUtils-447f1bf1.js';
6
6
  import 'preact/jsx-runtime';
7
7
  import '@testing-library/preact';
8
8
  import '../matchTranslationBundle-d9e64706.js';
9
- import '../LayerHost-7a2149f5.js';
10
- import 'preact';
9
+ import '../LayerHost-15b42a3e.js';
11
10
  import '../Common/themes/redwood/theme.js';
12
11
  import '../Common/themes/themeContract.css.js';
12
+ import 'preact';
13
13
  import 'preact/compat';
14
- import '../EnvironmentProvider-a3819bde.js';
14
+ import '../EnvironmentProvider-0fc2fd0c.js';
15
15
  import 'preact/hooks';
16
- import '../LayerManager-be34be40.js';
16
+ import '../LayerManager-af39e736.js';
17
17
  import '../TabbableModeContext-7d8ad946.js';
18
18
  import 'chai';
19
19
  //# sourceMappingURL=PRIVATE_visTestUtils.js.map
@@ -1,6 +1,6 @@
1
1
  /* @oracle/oraclejet-preact: undefined */
2
2
  import { jsx } from 'preact/jsx-runtime';
3
- import { u as useUser } from './useUser-bca8cf2d.js';
3
+ import { u as useUser } from './useUser-a15426fc.js';
4
4
 
5
5
  // Returns a component that renders one of the given icon components based on reading direction
6
6
  const withDirectionIcon = (LtrIcon, RtlIcon) => {
@@ -11,4 +11,4 @@ const withDirectionIcon = (LtrIcon, RtlIcon) => {
11
11
  };
12
12
 
13
13
  export { withDirectionIcon as w };
14
- //# sourceMappingURL=withDirectionIcon-389870a2.js.map
14
+ //# sourceMappingURL=withDirectionIcon-90d7c798.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"withDirectionIcon-389870a2.js","sources":["../../src/hoc/PRIVATE_withDirectionIcon/withDirectionIcon.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentProps } from 'preact';\nimport { Icon } from '#UNSAFE_Icon/Icon';\nimport { useUser } from '#hooks/UNSAFE_useUser';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\n// Returns a component that renders one of the given icon components based on reading direction\nexport const withDirectionIcon = (LtrIcon: typeof Icon, RtlIcon: typeof Icon) => {\n return (props: Props) => {\n const { direction } = useUser();\n return direction === 'ltr' ? <LtrIcon {...props} /> : <RtlIcon {...props} />;\n };\n};\n"],"names":["_jsx"],"mappings":";;;;AAaA;MACa,iBAAiB,GAAG,CAAC,OAAoB,EAAE,OAAoB,KAAI;IAC9E,OAAO,CAAC,KAAY,KAAI;AACtB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC;AAChC,QAAA,OAAO,SAAS,KAAK,KAAK,GAAGA,IAAC,OAAO,EAAA,EAAA,GAAK,KAAK,EAAI,CAAA,GAAGA,GAAA,CAAC,OAAO,EAAK,EAAA,GAAA,KAAK,GAAI,CAAC;AAC/E,KAAC,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"withDirectionIcon-90d7c798.js","sources":["../../src/hoc/PRIVATE_withDirectionIcon/withDirectionIcon.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { ComponentProps } from 'preact';\nimport { Icon } from '#UNSAFE_Icon/Icon';\nimport { useUser } from '#hooks/UNSAFE_useUser';\n\ntype Props = Omit<ComponentProps<typeof Icon>, 'viewBox'>;\n\n// Returns a component that renders one of the given icon components based on reading direction\nexport const withDirectionIcon = (LtrIcon: typeof Icon, RtlIcon: typeof Icon) => {\n return (props: Props) => {\n const { direction } = useUser();\n return direction === 'ltr' ? <LtrIcon {...props} /> : <RtlIcon {...props} />;\n };\n};\n"],"names":["_jsx"],"mappings":";;;;AAaA;MACa,iBAAiB,GAAG,CAAC,OAAoB,EAAE,OAAoB,KAAI;IAC9E,OAAO,CAAC,KAAY,KAAI;AACtB,QAAA,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC;AAChC,QAAA,OAAO,SAAS,KAAK,KAAK,GAAGA,IAAC,OAAO,EAAA,EAAA,GAAK,KAAK,EAAI,CAAA,GAAGA,GAAA,CAAC,OAAO,EAAK,EAAA,GAAA,KAAK,GAAI,CAAC;AAC/E,KAAC,CAAC;AACJ;;;;"}
@@ -2,8 +2,8 @@
2
2
  import { jsx } from 'preact/jsx-runtime';
3
3
  import { createRef } from 'preact';
4
4
  import { forwardRef, useEffect } from 'preact/compat';
5
- import './LayerHost-7a2149f5.js';
6
- import { E as EnvironmentProvider } from './EnvironmentProvider-a3819bde.js';
5
+ import './LayerHost-15b42a3e.js';
6
+ import { E as EnvironmentProvider } from './EnvironmentProvider-0fc2fd0c.js';
7
7
  import { D as DARK_CLASS, I as INVERT_CLASS, L as LIGHT_CLASS, C as COLORSCHEME_DEPENDENT_CLASS, S as SCALE_SM_CLASS, a as SCALE_MD_CLASS, b as SCALE_LG_CLASS, c as SCALE_DEPENDENT_CLASS, d as DENSITY_COMPACT_CLASS, e as DENSITY_STANDARD_CLASS, f as DENSITY_DEPENDENT_CLASS } from './Theme-e6dec6db.js';
8
8
 
9
9
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "scripts": {},
6
6
  "devDependencies": {},
7
7
  "dependencies": {
8
- "@oracle/oraclejet-testing": "18.0.13",
8
+ "@oracle/oraclejet-testing": "18.0.14",
9
9
  "csstype": "3.1.1"
10
10
  },
11
11
  "peerDependencies": {
@@ -38,5 +38,5 @@
38
38
  ]
39
39
  }
40
40
  },
41
- "version": "18.0.13"
41
+ "version": "18.0.14"
42
42
  }
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/hooks', './classNames-08d99695', './usePress-949a0d03', './FormFieldContext-3c44aaaa', './useFormFieldContext-8196183c', 'css!./MaxLengthCounterStyles.styles.css'], (function(s,e,n,t,a,r,l,c){"use strict";var o="MaxLengthCounterStyles_spanStyles__7dy9j72";const u=()=>{};s.MaxLengthCounter=function({maxLength:s,valueLength:r=0,onClick:c}){const{isFocused:d}=l.useFormFieldContext(),i=n.useCallback((s=>s.preventDefault()),[]),x=t.classNames([!d&&"MaxLengthCounterStyles_hide__7dy9j71"]),{pressProps:h}=a.usePress(c??u);return e.jsx("div",{class:"MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70",onMouseDown:i,...h,children:e.jsxs("span",{class:x,children:[e.jsx("span",{class:o,children:r}),e.jsx("span",{class:o,children:"/"}),e.jsx("span",{class:o,children:s})]})})}}));
2
- //# sourceMappingURL=MaxLengthCounter-9a95922c.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MaxLengthCounter-9a95922c.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.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"],"names":["noop","maxLength","valueLength","onClick","isFocused","useFormFieldContext","killEvent","useCallback","event","preventDefault","textClasses","classNames","pressProps","usePress","_jsx","jsx","class","onMouseDown","_jsxs","jsxs","children","spanStyles"],"mappings":"qSAaA,MAAMA,EAAO,0BAEP,UAA2BC,UAAEA,EAASC,YAAEA,EAAc,EAACC,QAAEA,IAC7D,MAAMC,UAAEA,GAAcC,EAAAA,sBAEhBC,EAAYC,EAAAA,aAAaC,GAAiBA,EAAMC,kBAAkB,IAClEC,EAAcC,EAAAA,WAAW,EAAEP,6CAC3BQ,WAAEA,GAAeC,EAAQA,SAACV,GAAWH,GAC3C,OACEc,EAAKC,IAAA,MAAA,CAAAC,6DAA6BC,YAAaX,KAAeM,WAC5DM,EAAMC,KAAA,OAAA,CAAAH,MAAON,EAAWU,SAAA,CACtBN,cAAME,MAAOK,EAAUD,SAAGlB,IAC1BY,EAAAA,YAAME,MAAOK,EAAoBD,SAAA,MACjCN,cAAME,MAAOK,EAAaD,SAAAnB,QAIlC"}
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', 'preact/hooks', './useFocusableTextField-8b755b15', './Label-4601e8e6', './keyboardUtils-fbb389f8', './TextFieldInput-ba4e508c', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-608bddc1', './StyledTextField-e43cf892', './TextField-4a450d38', './MaxLengthLiveRegion-bb956138', './useTextField-e6877c79', './logger-0f873e29', './TabbableModeContext-a9c97640', './useId-c9578d26', './useTranslationBundle-d07d4b20', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a1ae959b', './CompactUserAssistance-26b284d4', './mergeProps-bcfa6a92', './LayerHost-639b3284', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', 'preact', 'css!./IconStyle.styles.css', './Popup-66e79afa', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', './HiddenAccessible-037ef42d', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './useLengthFilter-ed8959a4', './MaxLengthCounter-9a95922c', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860'], (function(e,s,t,a,n,i,o,l,r,d,c,u,m,p,x,b,h,F,y,g,f,A,L,v,C,T,R,S,I,U,E,j,w,P,_,k,D,V,N,B,M,H,q,z,W,$){"use strict";const G=t.forwardRef((({"aria-describedby":e,assistiveText:a,autoComplete:o="off",autoFocus:d=!1,columnSpan:u,helpSourceLink:F,helpSourceText:y,isDisabled:A,isReadonly:L,isRequired:v=!1,isRequiredShown:S,label:I,labelEdge:U,labelStartWidth:E,maxLength:j,maxLengthCounter:w="remaining",maxLengthUnit:P,messages:_,placeholder:k,resize:D,role:V,rows:N,textAlign:M,userAssistanceDensity:H,value:G,variant:O="default",onInput:X,onCommit:J,testId:K},Q)=>{const Y=f.useTranslationBundle("@oracle/oraclejet-preact"),Z=j?Y.formControl_limitReached({CHARACTER_LIMIT:j}):"",{currentCommitValue:ee,dispatch:se}=W.useCurrentValueReducer({value:G}),te=t.useCallback((e=>{se({type:"input",payload:e.value}),X?.(e)}),[X,se]),ae=t.useCallback((e=>{se({type:"commit",payload:e.value}),J?.(e)}),[J,se]),{isDisabled:ne,isReadonly:ie,labelEdge:oe,labelStartWidth:le,textAlign:re,userAssistanceDensity:de}=n.useFormContext(),ce=A??ne,ue=L??ie,me=U??oe,pe=E??le,xe=M??re,be=H??de,he=t.useRef(g.useId()),Fe=e?`${e} ${he.current}`:he.current,ye=t.useRef(null),ge=t.useRef(null),{focusProps:fe,isFocused:Ae,methods:Le}=l.useFocusableTextField({isDisabled:ce,isReadonly:ue,enabledElementRef:ye,readonlyElementRef:ge}),{methods:ve}=$.useSelectableTextField(ye);t.useImperativeHandle(Q,(()=>R.mergeProps(Le,ve)),[Le,ve]);const{isMaxLengthReached:Ce,valueLength:Te,onFilteredInput:Re}=q.useLengthFilter({maxLength:j,maxLengthUnit:P,value:G,onInput:te,onCommit:ae}),Se=[..._??[],...Ce?[{detail:Z,severity:"info"}]:[]],{formFieldContext:Ie,inputProps:Ue,labelProps:Ee,textFieldProps:je,userAssistanceProps:we}=h.useTextField({ariaDescribedBy:ue||ce?e:Fe,contentVariant:"textarea",helpSourceLink:F,helpSourceText:y,isDisabled:ce,isFocused:Ae,isReadonly:ue,isRequiredShown:S,labelEdge:me,messages:Se,styleVariant:O,userAssistanceDensity:be,value:G}),Pe=t.useCallback((()=>{const e=ye.current,s=e?e.value.length:null;ye.current?.setSelectionRange(s,s),ye.current?.focus()}),[ye]),_e="none"!==me?s.jsx(r.Label,{...Ee,children:I}):void 0,ke={label:"none"!==me?_e:void 0,labelEdge:"none"!==me?me:void 0,labelStartWidth:"none"!==me?pe:void 0},De="none"===me?I:void 0,Ve="efficient"===be||"reflow"===be?ce||ue?"efficient"!==be?void 0:s.jsx(C.InlineUserAssistance,{userAssistanceDensity:be,...we}):s.jsx(C.InlineUserAssistance,{assistiveText:a,fieldLabel:I,helpSourceLink:F,helpSourceText:y,messages:Se,isRequiredShown:S,userAssistanceDensity:be,...we}):void 0,Ne=t.useRef(null),Be="compact"===be?s.jsx(T.CompactUserAssistance,{anchorRef:Ne,messages:Se,assistiveText:a,...we}):void 0;if(ue){const e=s.jsx(m.ReadonlyTextFieldInput,{"aria-describedby":Ue["aria-describedby"],"aria-label":De,"aria-labelledby":Ee.id,as:"textarea",elementRef:ge,rows:N,autoFocus:d,textAlign:xe,value:G,variant:"textarea",hasEmptyLabel:""===I&&"none"===me,hasInsideLabel:void 0!==I&&"inside"===me});return s.jsx(i.FormFieldContext.Provider,{value:Ie,children:s.jsx(p.ReadonlyTextField,{role:"presentation",columnSpan:u,compactUserAssistance:Be,inlineUserAssistance:Ve,ref:Ne,testId:K,variant:"textarea",mainContent:e,resize:D,...ke})})}const Me=void 0!==j,He=s.jsxs(s.Fragment,{children:[s.jsx(c.TextFieldInput,{as:"textarea","aria-label":De,autoComplete:o,autoFocus:d,currentCommitValue:ee,hasEmptyLabel:""===I&&"none"===me,hasInsideLabel:void 0!==_e&&"inside"===me,isRequired:v,inputRef:ye,onCommit:ae,onInput:Re,placeholder:k,role:V,rows:N,textAlign:xe,value:G,...Ue}),"remaining"===w&&Me&&s.jsx(z.MaxLengthCounter,{maxLength:j,valueLength:Te,onClick:Pe}),Me&&s.jsx(B.HiddenAccessible,{id:he.current,isHidden:!0,children:Y.formControl_maxLength({MAX_LENGTH:`${j}`})}),Me&&Ae&&s.jsx(b.MaxLengthLiveRegion,{maxLength:j,valueLength:Te,testId:K+"_remainingChars"})]});return s.jsx(i.FormFieldContext.Provider,{value:Ie,children:s.jsx(x.TextField,{mainContent:He,columnSpan:u,compactUserAssistance:Be,inlineUserAssistance:Ve,onBlur:fe?.onFocusOut,onFocus:fe?.onFocusIn,mainFieldRef:Ne,resize:D,testId:K,...je,...ke})})}));e.TextArea=G}));
2
- //# sourceMappingURL=TextArea-5bee11c8.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea-5bee11c8.js","sources":["../../src/UNSAFE_TextArea/TextArea.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, 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":["TextArea","forwardRef","ariaDescribedBy","assistiveText","autoComplete","autoFocus","columnSpan","helpSourceLink","helpSourceText","isDisabled","propIsDisabled","isReadonly","propIsReadonly","isRequired","isRequiredShown","label","labelEdge","propLabelEdge","labelStartWidth","propLabelStartWidth","maxLength","maxLengthCounter","maxLengthUnit","messages","placeholder","resize","role","rows","textAlign","propTextAlign","userAssistanceDensity","propUserAssistanceDensity","value","variant","onInput","onCommit","testId","ref","translations","useTranslationBundle","formControl_limitReached","CHARACTER_LIMIT","currentCommitValue","dispatch","useCurrentValueReducer","onInputAndDispatch","useCallback","detail","type","payload","onCommitAndDispatch","isFormDisabled","isFormReadonly","formLabelEdge","formLabelStartWidth","formTextAlign","formUserAssistanceDensity","useFormContext","maxLengthDescribedByIdRef","useRef","useId","enabledAriaDescribedBy","current","enabledElementRef","readonlyElementRef","focusProps","isFocused","methods","focusMethods","useFocusableTextField","selectMethods","useSelectableTextField","useImperativeHandle","mergeProps","isMaxLengthReached","valueLength","onFilteredInput","useLengthFilter","allMessages","severity","formFieldContext","inputProps","labelProps","textFieldProps","userAssistanceProps","useTextField","contentVariant","styleVariant","onClickCounter","elm","len","length","setSelectionRange","focus","labelComp","_jsx","jsx","Label","undefined","fieldLabelProps","ariaLabel","inlineUserAssistance","InlineUserAssistance","fieldLabel","anchorRef","compactUserAssistance","CompactUserAssistance","mainContent","ReadonlyTextFieldInput","id","as","elementRef","hasEmptyLabel","hasInsideLabel","FormFieldContext","Provider","children","ReadonlyTextField","hasMaxLength","_jsxs","_Fragment","Fragment","TextFieldInput","inputRef","MaxLengthCounter","onClick","HiddenAccessible","isHidden","formControl_maxLength","MAX_LENGTH","MaxLengthLiveRegion","TextField","onBlur","onFocusOut","onFocus","onFocusIn","mainFieldRef"],"mappings":"8oDA0LaA,EAAWC,EAAAA,YACtB,EAEI,mBAAoBC,EACpBC,gBACAC,eAAe,MACfC,aAAY,EACZC,aACAC,iBACAC,iBACAC,WAAYC,EACZC,WAAYC,EACZC,cAAa,EACbC,kBACAC,QACAC,UAAWC,EACXC,gBAAiBC,EACjBC,YACAC,mBAAmB,YACnBC,gBACAC,WACAC,cACAC,SACAC,OACAC,OACAC,UAAWC,EACXC,sBAAuBC,EACvBC,QACAC,UAAU,UACVC,UACAC,WACAC,UAEFC,KAEA,MAAMC,EAAeC,uBAAiC,4BAChDC,EAA2BpB,EAC7BkB,EAAaE,yBAAyB,CACpCC,gBAAiBrB,IAEnB,IAEEsB,mBAAEA,GAAkBC,SAAEA,IAAaC,EAAAA,uBAA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B+B,OAAQnE,IAAYoE,WACpBC,QAASrE,IAAYsE,UACrBC,aAAchC,GACd/E,OAAQA,EACRW,OAAQA,KACJ+C,MACAgB,MAER"}
@@ -1,2 +0,0 @@
1
- define(['exports', 'preact/jsx-runtime', 'preact/compat', './FormContext-5130e198', './useFormContext-30acdd33', './FormFieldContext-3c44aaaa', 'preact/hooks', './useFocusableTextField-8b755b15', './Label-4601e8e6', './keyboardUtils-fbb389f8', './TextFieldInput-ba4e508c', 'css!./ObfuscatedTextFieldInputStyles.styles.css', './ReadonlyTextFieldInput-608bddc1', './StyledTextField-e43cf892', './TextField-4a450d38', './MaxLengthLiveRegion-bb956138', './useTextField-e6877c79', './logger-0f873e29', './TabbableModeContext-a9c97640', './useId-c9578d26', './useTranslationBundle-d07d4b20', 'css!./UserAssistanceStyles.styles.css', 'module', './UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css', './InlineUserAssistance-a1ae959b', './CompactUserAssistance-26b284d4', './mergeProps-bcfa6a92', './LayerHost-639b3284', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-e5bdb734', 'preact', 'css!./IconStyle.styles.css', './Popup-66e79afa', 'css!./LabelStyles.styles.css', 'module', './UNSAFE_Label/themes/redwood/LabelVariants.css', './InputGroupContext-372087af', './HiddenAccessible-037ef42d', 'module', './UNSAFE_Popup/themes/redwood/PopupVariants.css', './useLengthFilter-ed8959a4', './useCurrentValueReducer-faded381', './useSelectableTextField-900d2860', './MaxLengthCounter-9a95922c'], (function(e,s,t,a,n,o,i,l,r,d,u,c,m,p,h,x,b,g,F,f,y,R,v,L,T,A,C,S,I,U,w,E,j,P,H,_,k,D,B,V,M,N,q,W,$,z){"use strict";const G=({isReadonly:e,enabledElementRef:s,readonlyElementRef:t,minRows:a=2,maxRows:n,value:o})=>{i.useLayoutEffect((()=>{const o=e?t:s;if(null===o.current)return;if(o.current instanceof HTMLDivElement)return;const i=o.current,l=(e=>{const s=window.getComputedStyle(e),t=s.lineHeight;if("normal"===t)return 1.2*parseFloat(s.fontSize);return parseFloat(t)})(i);i.style.height="0";const{paddingHeight:r,borderHeight:d}=(e=>{const s=window.getComputedStyle(e);return{paddingHeight:parseFloat(s.paddingTop)+parseFloat(s.paddingBottom),borderHeight:parseFloat(s.borderTop)+parseFloat(s.borderBottom)}})(i),u=l*a+r+d,c=i.scrollHeight+d;let m=0;if(void 0===n)m=c<u?u:c;else if(n>a){const e=l*n+r+d;m=c>e?e:c<u?u:c}else m=u;i.style.height=m+.5+"px"}),[o,a,n,e,s,t])},O=t.forwardRef((({"aria-describedby":e,assistiveText:a,autoComplete:i="off",autoFocus:d=!1,columnSpan:c,helpSourceLink:g,helpSourceText:F,isDisabled:R,isReadonly:v,isRequired:L=!1,isRequiredShown:S,label:I,labelEdge:U,labelStartWidth:w,maxLength:E,maxLengthCounter:j="remaining",maxLengthUnit:P,maxRows:H,messages:_,minRows:k=2,placeholder:D,role:B,textAlign:M,userAssistanceDensity:N,value:O,variant:X="default",onInput:J,onCommit:K,testId:Q},Y)=>{const Z=y.useTranslationBundle("@oracle/oraclejet-preact"),ee=E?Z.formControl_limitReached({CHARACTER_LIMIT:E}):"",{currentCommitValue:se,dispatch:te}=W.useCurrentValueReducer({value:O}),ae=t.useCallback((e=>{te({type:"input",payload:e.value}),J?.(e)}),[J,te]),ne=t.useCallback((e=>{te({type:"commit",payload:e.value}),K?.(e)}),[K,te]),{isDisabled:oe,isReadonly:ie,labelEdge:le,labelStartWidth:re,textAlign:de,userAssistanceDensity:ue}=n.useFormContext(),ce=R??oe,me=v??ie,pe=U??le,he=w??re,xe=M??de,be=N??ue,ge=t.useRef(f.useId()),Fe=e?`${e} ${ge.current}`:ge.current,fe=t.useRef(null),ye=t.useRef(null),{focusProps:Re,isFocused:ve,methods:Le}=l.useFocusableTextField({isDisabled:ce,isReadonly:me,enabledElementRef:fe,readonlyElementRef:ye}),{methods:Te}=$.useSelectableTextField(fe);t.useImperativeHandle(Y,(()=>C.mergeProps(Le,Te)),[Le,Te]);const{isMaxLengthReached:Ae,valueLength:Ce,onFilteredInput:Se}=q.useLengthFilter({maxLength:E,maxLengthUnit:P,value:O,onInput:ae,onCommit:ne}),Ie=[..._??[],...Ae?[{detail:ee,severity:"info"}]:[]],{formFieldContext:Ue,inputProps:we,labelProps:Ee,textFieldProps:je,userAssistanceProps:Pe}=b.useTextField({ariaDescribedBy:me||ce?e:Fe,contentVariant:"textarea",helpSourceLink:g,helpSourceText:F,isDisabled:ce,isFocused:ve,isReadonly:me,isRequiredShown:S,labelEdge:pe,messages:Ie,styleVariant:X,userAssistanceDensity:be,value:O}),He=t.useCallback((()=>{const e=fe.current,s=e?e.value.length:null;fe.current?.setSelectionRange(s,s),fe.current?.focus()}),[fe]),_e="none"!==pe?s.jsx(r.Label,{...Ee,children:I}):void 0,ke={label:"none"!==pe?_e:void 0,labelEdge:"none"!==pe?pe:void 0,labelStartWidth:"none"!==pe?he:void 0},De="none"===pe?I:void 0,Be="efficient"===be||"reflow"===be?ce||me?"efficient"!==be?void 0:s.jsx(T.InlineUserAssistance,{userAssistanceDensity:be,...Pe}):s.jsx(T.InlineUserAssistance,{assistiveText:a,fieldLabel:I,helpSourceLink:g,helpSourceText:F,messages:Ie,isRequiredShown:S,userAssistanceDensity:be,...Pe}):void 0,Ve=t.useRef(null),Me="compact"===be?s.jsx(A.CompactUserAssistance,{anchorRef:Ve,messages:Ie,assistiveText:a,...Pe}):void 0;if(G({isReadonly:me,enabledElementRef:fe,readonlyElementRef:ye,minRows:k,maxRows:H,value:O}),me){const e=s.jsx(m.ReadonlyTextFieldInput,{"aria-describedby":we["aria-describedby"],"aria-label":De,"aria-labelledby":Ee.id,elementRef:ye,...H?{as:"textarea",rows:k}:{as:"div"},autoFocus:d,textAlign:xe,value:O,variant:"textarea",hasEmptyLabel:""===I&&"none"===pe,hasInsideLabel:void 0!==I&&"inside"===pe});return s.jsx(o.FormFieldContext.Provider,{value:Ue,children:s.jsx(p.ReadonlyTextField,{role:"presentation",columnSpan:c,compactUserAssistance:Me,inlineUserAssistance:Be,variant:"textarea",mainContent:e,ref:Ve,testId:Q,...ke})})}const Ne=void 0!==E,qe=s.jsxs(s.Fragment,{children:[s.jsx(u.TextFieldInput,{as:"textarea","aria-label":De,autoComplete:i,autoFocus:d,currentCommitValue:se,hasEmptyLabel:""===I&&"none"===pe,hasInsideLabel:void 0!==_e&&"inside"===pe,isRequired:L,inputRef:fe,onCommit:ne,onInput:Se,placeholder:D,role:B,rows:k,textAlign:xe,value:O,...we}),"remaining"===j&&Ne&&s.jsx(z.MaxLengthCounter,{maxLength:E,valueLength:Ce,onClick:He}),Ne&&s.jsx(V.HiddenAccessible,{id:ge.current,children:Z.formControl_maxLength({MAX_LENGTH:`${E}`})}),Ne&&ve&&s.jsx(x.MaxLengthLiveRegion,{maxLength:E,valueLength:Ce,testId:Q+"_remainingChars"})]});return s.jsx(o.FormFieldContext.Provider,{value:Ue,children:s.jsx(h.TextField,{mainContent:qe,columnSpan:c,compactUserAssistance:Me,inlineUserAssistance:Be,onBlur:Re?.onFocusOut,onFocus:Re?.onFocusIn,mainFieldRef:Ve,testId:Q,...je,...ke})})}));e.TextAreaAutosize=O}));
2
- //# sourceMappingURL=TextAreaAutosize-ac99cd39.js.map
@@ -1,27 +0,0 @@
1
- /* @oracle/oraclejet-preact: undefined */
2
- 'use strict';
3
-
4
- var jsxRuntime = require('preact/jsx-runtime');
5
- var hooks = require('preact/hooks');
6
- var classNames = require('./classNames-c14c6ef3.js');
7
- var usePress = require('./usePress-886180e4.js');
8
- require('./FormFieldContext-8418dc68.js');
9
- var useFormFieldContext = require('./useFormFieldContext-20f419ef.js');
10
-
11
-
12
- var hide = 'MaxLengthCounterStyles_hide__7dy9j71';
13
- var maxLengthCounterBase = 'MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70';
14
- var spanStyles = 'MaxLengthCounterStyles_spanStyles__7dy9j72';
15
-
16
- const noop = () => { };
17
- function MaxLengthCounter({ maxLength, valueLength = 0, onClick }) {
18
- const { isFocused } = useFormFieldContext.useFormFieldContext();
19
- // We don't want mousedown on this component to do anything, so prevent the default behavior.
20
- const killEvent = hooks.useCallback((event) => event.preventDefault(), []);
21
- const textClasses = classNames.classNames([!isFocused && hide]);
22
- const { pressProps } = usePress.usePress(onClick ?? noop);
23
- return (jsxRuntime.jsx("div", { class: maxLengthCounterBase, onMouseDown: killEvent, ...pressProps, children: jsxRuntime.jsxs("span", { class: textClasses, children: [jsxRuntime.jsx("span", { class: spanStyles, children: valueLength }), jsxRuntime.jsx("span", { class: spanStyles, children: "/" }), jsxRuntime.jsx("span", { class: spanStyles, children: maxLength })] }) }));
24
- }
25
-
26
- exports.MaxLengthCounter = MaxLengthCounter;
27
- //# sourceMappingURL=MaxLengthCounter-9ab3f74b.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MaxLengthCounter-9ab3f74b.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.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"],"names":["useFormFieldContext","useCallback","classNames","usePress","_jsx","_jsxs"],"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,GAAGA,uCAAmB,EAAE,CAAC;;AAE5C,IAAA,MAAM,SAAS,GAAGC,iBAAW,CAAC,CAAC,KAAY,KAAK,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,MAAM,WAAW,GAAGC,qBAAU,CAAC,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,GAAGC,iBAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AACjD,IAAA,QACEC,cAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAM,GAAA,UAAU,YACtEC,eAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,WAAW,EAAA,QAAA,EAAA,CACtBD,yBAAM,KAAK,EAAE,UAAU,EAAA,QAAA,EAAG,WAAW,EAAQ,CAAA,EAC7CA,yBAAM,KAAK,EAAE,UAAU,EAAU,QAAA,EAAA,GAAA,EAAA,CAAA,EACjCA,yBAAM,KAAK,EAAE,UAAU,EAAG,QAAA,EAAA,SAAS,GAAQ,CACtC,EAAA,CAAA,EAAA,CACH,EACN;AACJ;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea-aea6ecae.js","sources":["../../src/UNSAFE_TextArea/TextArea.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, 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":["forwardRef","useTranslationBundle","useCurrentValueReducer","useCallback","useFormContext","useRef","useId","useFocusableTextField","useSelectableTextField","useImperativeHandle","mergeProps","useLengthFilter","useTextField","_jsx","Label","InlineUserAssistance","CompactUserAssistance","ReadonlyTextFieldInput","FormFieldContext","ReadonlyTextField","_jsxs","_Fragment","TextFieldInput","MaxLengthCounter","HiddenAccessible","MaxLengthLiveRegion","TextField"],"mappings":";;;;;;;;;;;;;;;;;;;;;;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AC,QAAQ,EAAC,EAAA,KAAK,EAAE,gBAAgB,EAChD,QAAA,EAAAL,cAAA,CAACa,mBAAS,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;;;;"}
@@ -1,49 +0,0 @@
1
- /* @oracle/oraclejet-preact: undefined */
2
- import { jsx } from 'preact/jsx-runtime';
3
- import { createContext, toChildArray } from 'preact';
4
- import { useContext, useMemo } from 'preact/hooks';
5
- import { forwardRef } from 'preact/compat';
6
- import './FormContext-4d71f9c7.js';
7
- import { u as useFormContext } from './useFormContext-875cacd7.js';
8
- import { F as FormFieldContext } from './FormFieldContext-68eb5946.js';
9
- import { u as useFormFieldContextProps } from './useFormFieldContextProps-d07cd618.js';
10
- import './CheckboxSetStyles.styles.css';
11
- import { u as useId } from './useId-03dbfdf0.js';
12
- import { C as CheckboxRadioField } from './CheckboxRadioField-99df3ba3.js';
13
-
14
- const CheckboxSetContext = createContext({});
15
- const useCheckboxSetContext = () => useContext(CheckboxSetContext);
16
-
17
- var styles = {ul:'CheckboxSetStyles_styles_ul__68p6630'};
18
-
19
- /**
20
- * A CheckboxSet set allows the user to select one or more options from a set.
21
- */
22
- const CheckboxSet = forwardRef(({ 'aria-describedby': ariaDescribedBy, assistiveText, columnSpan, direction = 'column', helpSourceLink, helpSourceText, isDisabled: propIsDisabled, isReadonly: propIsReadonly, isRequired = false, label, labelEdge: propLabelEdge, labelStartWidth: propLabelStartWidth, messages, onCommit, userAssistanceDensity: propUserAssistanceDensity, value, children, testId }, ref) => {
23
- const hasValue = value !== undefined ? value.size > 0 : false;
24
- const baseId = useId();
25
- const { isDisabled: isFormDisabled, isReadonly: isFormReadonly, labelEdge: formLabelEdge, labelStartWidth: formLabelStartWidth, userAssistanceDensity: formUserAssistanceDensity } = useFormContext();
26
- // default to FormContext values if component properties are not specified
27
- const isDisabled = propIsDisabled ?? isFormDisabled;
28
- const isReadonly = propIsReadonly ?? isFormReadonly;
29
- const labelEdge = propLabelEdge ?? formLabelEdge;
30
- const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;
31
- const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;
32
- const formFieldContext = useFormFieldContextProps({
33
- hasValue,
34
- isDisabled,
35
- isReadonly
36
- });
37
- const checkboxSetContext = useMemo(() => ({
38
- name: baseId,
39
- value,
40
- onCommit
41
- }), [baseId, onCommit, value]);
42
- // wrap each CheckboxItem in an <li> tag and the entire set with <ul>
43
- const childrenArray = toChildArray(children).filter(Boolean);
44
- const wrappedChildren = childrenArray.map((item) => jsx("li", { children: item }));
45
- return (jsx(FormFieldContext.Provider, { value: formFieldContext, children: jsx(CheckboxRadioField, { "aria-describedby": ariaDescribedBy, assistiveText: assistiveText, baseId: baseId, columnSpan: columnSpan, direction: direction, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, isDisabled: isDisabled, isReadonly: isReadonly, isRequired: isRequired, label: label, labelEdge: labelEdge, labelStartWidth: labelStartWidth, parentComponentVariant: "checkboxSet", messages: messages, userAssistanceDensity: userAssistanceDensity, hasValue: hasValue, role: "group", testId: testId, ref: ref, children: jsx(CheckboxSetContext.Provider, { value: checkboxSetContext, children: jsx("ul", { className: styles.ul, children: wrappedChildren }) }) }) }));
46
- });
47
-
48
- export { CheckboxSet as C, CheckboxSetContext as a, useCheckboxSetContext as u };
49
- //# sourceMappingURL=CheckboxSet-86252618.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckboxSet-86252618.js","sources":["../../src/UNSAFE_CheckboxSet/CheckboxSetContext.ts","../../src/UNSAFE_CheckboxSet/CheckboxSet.tsx"],"sourcesContent":["import { createContext } from 'preact';\nimport { useContext } from 'preact/hooks';\n\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\n\ntype CheckboxSetContextValue = {\n name: string;\n value?: Set<string | number>;\n onCommit?: (detail: ValueUpdateDetail<Set<string | number>>) => void;\n};\n\nconst CheckboxSetContext = createContext<CheckboxSetContextValue>({} as CheckboxSetContextValue);\nconst useCheckboxSetContext = () => useContext(CheckboxSetContext);\n\nexport { CheckboxSetContext, useCheckboxSetContext };\n","import { ComponentChildren, ComponentProps, Ref, toChildArray } from 'preact';\nimport { useMemo } from 'preact/hooks';\nimport { forwardRef } from 'preact/compat';\n\nimport { CheckboxSetContext } from './CheckboxSetContext';\nimport { CheckboxRadioField } from '#PRIVATE_CheckboxRadioField';\nimport { InlineUserAssistance, UserAssistanceDensityType } from '#UNSAFE_UserAssistance';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '#hooks/UNSAFE_useFormFieldContext';\nimport { useFormFieldContextProps } from '#hooks/UNSAFE_useFormFieldContextProps';\nimport { FlexboxProps } from '#utils/UNSAFE_interpolations/flexbox';\nimport { Size } from '#utils/UNSAFE_size';\nimport { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\nimport { FocusableHandle } from '#hooks/UNSAFE_useFocusableTextField';\nimport { styles } from './CheckboxSetStyles.css';\nimport { AriaAttributesSignalExcluded } from '#utils/UNSAFE_attributeUtils';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { LayoutColumnSpan } from '#utils/UNSAFE_styles/Layout';\nimport { TestIdProps } from '#hooks/UNSAFE_useTestId';\n\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: AriaAttributesSignalExcluded['aria-describedby'];\n /**\n * Text to provide guidance to help the user understand what data to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * set of CheckboxItems\n */\n children: ComponentChildren;\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * layout direction of the children elements\n */\n direction?: FlexboxProps['direction'];\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 checkbox set requires a selection to be made.\n */\n isRequired?: boolean;\n /**\n * Specifies if the checkbox set is read-only.\n */\n isReadonly?: boolean;\n /**\n * Specifies if the checkbox set is disabled.\n */\n isDisabled?: boolean;\n /**\n * Label text for the group of checkbox items.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'none' | 'top' | 'start' | 'inside';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>.\n */\n labelStartWidth?: Size;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Callback invoked each time the user changes selected option.\n */\n onCommit: (detail: ValueUpdateDetail<Set<string | number>>) => void;\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\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>'compact'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * Value of the selected checkbox option.\n */\n value?: Set<string | number>;\n} & TestIdProps;\n/**\n * A CheckboxSet set allows the user to select one or more options from a set.\n */\nexport const CheckboxSet = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n columnSpan,\n direction = 'column',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages,\n onCommit,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n children,\n testId\n }: Props,\n ref?: Ref<FocusableHandle>\n ) => {\n const hasValue = value !== undefined ? value.size > 0 : false;\n const baseId = useId();\n\n const {\n isDisabled: isFormDisabled,\n isReadonly: isFormReadonly,\n labelEdge: formLabelEdge,\n labelStartWidth: formLabelStartWidth,\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 userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;\n\n const formFieldContext = useFormFieldContextProps({\n hasValue,\n isDisabled,\n isReadonly\n });\n\n const checkboxSetContext = useMemo(\n () => ({\n name: baseId,\n value,\n onCommit\n }),\n [baseId, onCommit, value]\n );\n\n // wrap each CheckboxItem in an <li> tag and the entire set with <ul>\n const childrenArray = toChildArray(children).filter(Boolean);\n const wrappedChildren = childrenArray.map((item) => <li>{item}</li>);\n\n return (\n <FormFieldContext.Provider value={formFieldContext}>\n <CheckboxRadioField\n aria-describedby={ariaDescribedBy}\n assistiveText={assistiveText}\n baseId={baseId}\n columnSpan={columnSpan}\n direction={direction}\n helpSourceLink={helpSourceLink}\n helpSourceText={helpSourceText}\n isDisabled={isDisabled}\n isReadonly={isReadonly}\n isRequired={isRequired}\n label={label}\n labelEdge={labelEdge}\n labelStartWidth={labelStartWidth}\n parentComponentVariant=\"checkboxSet\"\n messages={messages}\n userAssistanceDensity={userAssistanceDensity}\n hasValue={hasValue}\n role=\"group\"\n testId={testId}\n ref={ref}>\n <CheckboxSetContext.Provider value={checkboxSetContext}>\n <ul className={styles.ul}>{wrappedChildren}</ul>\n </CheckboxSetContext.Provider>\n </CheckboxRadioField>\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;AAWA,MAAM,kBAAkB,GAAG,aAAa,CAA0B,EAA6B,EAAE;AAC3F,MAAA,qBAAqB,GAAG,MAAM,UAAU,CAAC,kBAAkB;;;;ACwFjE;;AAEG;AACI,MAAM,WAAW,GAAG,UAAU,CACnC,CACE,EACE,kBAAkB,EAAE,eAAe,EACnC,aAAa,EACb,UAAU,EACV,SAAS,GAAG,QAAQ,EACpB,cAAc,EACd,cAAc,EACd,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,cAAc,EAC1B,UAAU,GAAG,KAAK,EAClB,KAAK,EACL,SAAS,EAAE,aAAa,EACxB,eAAe,EAAE,mBAAmB,EACpC,QAAQ,EACR,QAAQ,EACR,qBAAqB,EAAE,yBAAyB,EAChD,KAAK,EACL,QAAQ,EACR,MAAM,EACA,EACR,GAA0B,KACxB;AACF,IAAA,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,GAAG,KAAK,CAAC;AAC9D,IAAA,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IAEvB,MAAM,EACJ,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,cAAc,EAC1B,SAAS,EAAE,aAAa,EACxB,eAAe,EAAE,mBAAmB,EACpC,qBAAqB,EAAE,yBAAyB,EACjD,GAAG,cAAc,EAAE,CAAC;;AAGrB,IAAA,MAAM,UAAU,GAAG,cAAc,IAAI,cAAc,CAAC;AACpD,IAAA,MAAM,UAAU,GAAG,cAAc,IAAI,cAAc,CAAC;AACpD,IAAA,MAAM,SAAS,GAAG,aAAa,IAAI,aAAa,CAAC;AACjD,IAAA,MAAM,eAAe,GAAG,mBAAmB,IAAI,mBAAmB,CAAC;AACnE,IAAA,MAAM,qBAAqB,GAAG,yB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,YAAI,SAAS,EAAE,MAAM,CAAC,EAAE,EAAA,QAAA,EAAG,eAAe,EAAA,CAAM,EACpB,CAAA,EAAA,CACX,EACK,CAAA,EAC5B;AACJ,CAAC;;;;"}
@@ -1,25 +0,0 @@
1
- /* @oracle/oraclejet-preact: undefined */
2
- import { jsx, jsxs } from 'preact/jsx-runtime';
3
- import { useCallback } from 'preact/hooks';
4
- import { c as classNames } from './classNames-4e12b00d.js';
5
- import { u as usePress } from './usePress-051f5adb.js';
6
- import './FormFieldContext-68eb5946.js';
7
- import { u as useFormFieldContext } from './useFormFieldContext-626574fd.js';
8
- import './MaxLengthCounterStyles.styles.css';
9
-
10
- var hide = 'MaxLengthCounterStyles_hide__7dy9j71';
11
- var maxLengthCounterBase = 'MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70';
12
- var spanStyles = 'MaxLengthCounterStyles_spanStyles__7dy9j72';
13
-
14
- const noop = () => { };
15
- function MaxLengthCounter({ maxLength, valueLength = 0, onClick }) {
16
- const { isFocused } = useFormFieldContext();
17
- // We don't want mousedown on this component to do anything, so prevent the default behavior.
18
- const killEvent = useCallback((event) => event.preventDefault(), []);
19
- const textClasses = classNames([!isFocused && hide]);
20
- const { pressProps } = usePress(onClick ?? noop);
21
- 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 })] }) }));
22
- }
23
-
24
- export { MaxLengthCounter as M };
25
- //# sourceMappingURL=MaxLengthCounter-181b4fc9.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MaxLengthCounter-181b4fc9.js","sources":["../../src/UNSAFE_TextArea/MaxLengthCounter.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"],"names":["_jsx","_jsxs"],"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;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea-e9bcb623.js","sources":["../../src/UNSAFE_TextArea/TextArea.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, 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","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLA;;AAEG;MACU,QAAQ,GAAG,UAAU,CAChC,CACE,EACE,kBAAkB,EAAE,eAAe,EACnC,aAAa,EACb,YAAY,GAAG,KAAK,EACpB,SAAS,GAAG,KAAK,EACjB,UAAU,EACV,cAAc,EACd,cAAc,EACd,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,cAAc,EAC1B,UAAU,GAAG,KAAK,EAClB,eAAe,EACf,KAAK,EACL,SAAS,EAAE,aAAa,EACxB,eAAe,EAAE,mBAAmB,EACpC,SAAS,EACT,gBAAgB,GAAG,WAAW,EAC9B,aAAa,EACb,QAAQ,EACR,WAAW,EACX,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,SAAS,EAAE,aAAa,EACxB,qBAAqB,EAAE,yBAAyB,EAChD,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,OAAO,EACP,QAAQ,EACR,MAAM,EACA,EACR,GAA4B,KAC1B;AACF,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAa,0BAA0B,CAAC,CAAC;IAClF,MAAM,wBAAwB,GAAG,SAAS;AACxC,UAAE,YAAY,CAAC,wBAAwB,CAAC;AACpC,YAAA,eAAe,EAAE,SAAS;SAC3B,CAAC;UACF,EAAE,CAAC;AAEP,IAAA,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3E,IAAA,MAAM,kBAAkB,GAAG,WAAW,CACpC,CAAC,MAAiC,KAAI;;AAEpC,QAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EA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