@oracle/oraclejet-preact 17.1.6 → 17.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/ActionCard-01322111.js +1 -1
- package/amd/AvatarVariants.styles.css +25 -25
- package/amd/AvatarVariants.styles2.css +25 -25
- package/amd/{BarChart-b75423c1.js → BarChart-aba4a793.js} +2 -2
- package/amd/{BarChart-b75423c1.js.map → BarChart-aba4a793.js.map} +1 -1
- package/amd/BaseButton-51e50f77.js +1 -1
- package/amd/BaseCardView-c5624c8a.js +1 -1
- package/amd/{BaseCardViewSelectionTest-9627e4ab.js → BaseCardViewSelectionTest-b80dd91b.js} +2 -2
- package/amd/{BaseCardViewSelectionTest-9627e4ab.js.map → BaseCardViewSelectionTest-b80dd91b.js.map} +1 -1
- package/amd/BaseNavigationListItem-368284be.js +1 -1
- package/amd/ButtonSet-c389d5c7.js +1 -1
- package/amd/ButtonSetIconButton-141a8745.js +1 -1
- package/amd/{Center-b449a95c.js → Center-9ec5524e.js} +2 -2
- package/amd/{Center-b449a95c.js.map → Center-9ec5524e.js.map} +1 -1
- package/amd/{Chart-96ea9fed.js → Chart-1046ac5b.js} +2 -2
- package/amd/{Chart-96ea9fed.js.map → Chart-1046ac5b.js.map} +1 -1
- package/amd/CheckboxControl-74a7fead.js +1 -1
- package/amd/CheckboxRadioField-005a110c.js +1 -1
- package/amd/Chip-3062b3d3.js +1 -1
- package/amd/ClearIcon-c13664cd.js +1 -1
- package/amd/CollapseIcon-38899da0.js +1 -1
- package/amd/Collapsible-ba4eef8f.js +1 -1
- package/amd/CompactHelpSource-be790e15.js +1 -1
- package/amd/CompactLabelAssistance-bc14e060.js +2 -0
- package/amd/{CompactLabelAssistance-7db2fde2.js.map → CompactLabelAssistance-bc14e060.js.map} +1 -1
- package/amd/CompactUserAssistance-a7b3ffc0.js +1 -1
- package/amd/ComponentMessageContainer-3b691959.js +1 -1
- package/amd/ConveyorBeltItem-bc128f62.js +1 -1
- package/amd/{DatePicker-d7802b3e.js → DatePicker-dd358026.js} +2 -2
- package/amd/{DatePicker-d7802b3e.js.map → DatePicker-dd358026.js.map} +1 -1
- package/amd/DatePickerHeader-c03ca6b4.js +1 -1
- package/amd/{Diagram-14fd94c3.js → Diagram-1b48168a.js} +2 -2
- package/amd/{Diagram-14fd94c3.js.map → Diagram-1b48168a.js.map} +1 -1
- package/amd/{Dialog-f6da299c.js → Dialog-c34f9e89.js} +2 -2
- package/amd/{Dialog-f6da299c.js.map → Dialog-c34f9e89.js.map} +1 -1
- package/amd/DirectionalCollapseArrowIcon-1c72e459.js +1 -1
- package/amd/DirectionalExpandArrowIcon-198cec2b.js +1 -1
- package/amd/DragHandle-e4959d2b.js +1 -1
- package/amd/{Dropdown-5f68516d.js → Dropdown-b36aa071.js} +2 -2
- package/amd/{Dropdown-5f68516d.js.map → Dropdown-b36aa071.js.map} +1 -1
- package/amd/{EnvironmentProvider-8f6fc388.js → EnvironmentProvider-c0e1e39b.js} +2 -2
- package/amd/{EnvironmentProvider-8f6fc388.js.map → EnvironmentProvider-c0e1e39b.js.map} +1 -1
- package/amd/FilePicker-e13f405f.js +1 -1
- package/amd/Flex-3421f0df.js +2 -0
- package/amd/{Flex-56ecdf4c.js.map → Flex-3421f0df.js.map} +1 -1
- package/amd/{Floating-a658b79c.js → Floating-25e0092b.js} +2 -2
- package/amd/{Floating-a658b79c.js.map → Floating-25e0092b.js.map} +1 -1
- package/amd/FormLayout-c6f1fdff.js +1 -1
- package/amd/Gantt-7be8d8bc.js +1 -1
- package/amd/{Grid-160f4885.js → Grid-8911aa0f.js} +2 -2
- package/amd/{Grid-160f4885.js.map → Grid-8911aa0f.js.map} +1 -1
- package/amd/{Gridlines-b1d59999.js → Gridlines-071ff524.js} +2 -2
- package/amd/{Gridlines-b1d59999.js.map → Gridlines-071ff524.js.map} +1 -1
- package/amd/GroupLoadingIndicator-cd9192c9.js +1 -1
- package/amd/HighlightText-644bc74e.js +2 -0
- package/amd/{HighlightText-bd4c0101.js.map → HighlightText-644bc74e.js.map} +1 -1
- package/amd/Icon-2d805acb.js +1 -1
- package/amd/IconButton-81c8463f.js +1 -1
- package/amd/IconMenuButton-3e3db121.js +1 -1
- package/amd/IconProgressButton-04979469.js +1 -1
- package/amd/IconSwitchButton-bc007cbd.js +1 -1
- package/amd/IconToggleButton-28960894.js +1 -1
- package/amd/{IconUserAssistance-2f809060.js → IconUserAssistance-dda606e6.js} +2 -2
- package/amd/{IconUserAssistance-2f809060.js.map → IconUserAssistance-dda606e6.js.map} +1 -1
- package/amd/Indexer-74c989ce.js +1 -1
- package/amd/InlineHelpSource-85961e81.js +1 -1
- package/amd/InlineUserAssistance-2a480664.js +1 -1
- package/amd/InputDateMask-9aba967d.js +1 -1
- package/amd/InputDatePicker-97756bcd.js +1 -1
- package/amd/InputPassword-bf533999.js +1 -1
- package/amd/InputText-a4234d1f.js +1 -1
- package/amd/Label-a4172af7.js +1 -1
- package/amd/LabelValueLayout-194e64d9.js +1 -1
- package/amd/{Layer-276d62e8.js → Layer-e835aed8.js} +2 -2
- package/amd/{Layer-276d62e8.js.map → Layer-e835aed8.js.map} +1 -1
- package/amd/{LayerHost-e95c5f30.js → LayerHost-639b3284.js} +2 -2
- package/amd/{LayerHost-e95c5f30.js.map → LayerHost-639b3284.js.map} +1 -1
- package/amd/{LayerManager-76fcfb58.js → LayerManager-2972de92.js} +2 -2
- package/amd/{LayerManager-76fcfb58.js.map → LayerManager-2972de92.js.map} +1 -1
- package/amd/Legend-cd2f78b2.js +1 -1
- package/amd/{LineAreaChart-47b01e9e.js → LineAreaChart-5224fce6.js} +2 -2
- package/amd/{LineAreaChart-47b01e9e.js.map → LineAreaChart-5224fce6.js.map} +1 -1
- package/amd/Link-cb232696.js +1 -1
- package/amd/List-61d64cd6.js +1 -1
- package/amd/{ListItemLayout-90873fb8.js → ListItemLayout-1d8f166a.js} +2 -2
- package/amd/{ListItemLayout-90873fb8.js.map → ListItemLayout-1d8f166a.js.map} +1 -1
- package/amd/ListView-a49e52c3.js +1 -1
- package/amd/LiveRegion-9a362373.js +2 -0
- package/amd/{LiveRegion-8142ed0d.js.map → LiveRegion-9a362373.js.map} +1 -1
- package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
- package/amd/{MaxLengthLiveRegion-8954fc30.js.map → MaxLengthLiveRegion-bb956138.js.map} +1 -1
- package/amd/{Menu-8f3a1e8c.js → Menu-e682ccb9.js} +2 -2
- package/amd/{Menu-8f3a1e8c.js.map → Menu-e682ccb9.js.map} +1 -1
- package/amd/MenuButton-e4d7ec34.js +1 -1
- package/amd/MenuItem-44b2547b.js +1 -1
- package/amd/Message-1b166e4f.js +1 -1
- package/amd/{MessageLayer-cf9265e0.js → MessageLayer-3742e608.js} +2 -2
- package/amd/{MessageLayer-cf9265e0.js.map → MessageLayer-3742e608.js.map} +1 -1
- package/amd/MessageToast-7aba4a66.js +1 -1
- package/amd/MessagesManager-d6d43884.js +1 -1
- package/amd/MeterBar-90569d10.js +1 -1
- package/amd/MeterCircle-b14ff590.js +1 -1
- package/amd/{Modal-36acfc12.js → Modal-2b6ce101.js} +2 -2
- package/amd/{Modal-36acfc12.js.map → Modal-2b6ce101.js.map} +1 -1
- package/amd/{MonthView-ac27389f.js → MonthView-8a1fde80.js} +2 -2
- package/amd/{MonthView-ac27389f.js.map → MonthView-8a1fde80.js.map} +1 -1
- package/amd/NavigationListItem-1742f912.js +1 -1
- package/amd/NumberInputText-83ba7a58.js +1 -1
- package/amd/OverflowTabBarItem-4c4b75e0.js +1 -1
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_DatePickerLayout.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
- package/amd/PRIVATE_Icons/RadiobuttonOff.js +1 -1
- package/amd/PRIVATE_Icons/RadiobuttonOn.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_PlotArea.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCheckbox.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDefaultIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-98b54953.js +1 -1
- package/amd/{PieChart-cbe2806f.js → PieChart-45cc3798.js} +2 -2
- package/amd/{PieChart-cbe2806f.js.map → PieChart-45cc3798.js.map} +1 -1
- package/amd/{Popup-956e6d7d.js → Popup-059eb48a.js} +2 -2
- package/amd/{Popup-956e6d7d.js.map → Popup-059eb48a.js.map} +1 -1
- package/amd/{ProgressBar-d7cfdb63.js → ProgressBar-479b35e5.js} +2 -2
- package/amd/{ProgressBar-d7cfdb63.js.map → ProgressBar-479b35e5.js.map} +1 -1
- package/amd/ProgressButton-c98e276b.js +1 -1
- package/amd/ProgressButtonLabelLayout-3a78ba61.js +1 -1
- package/amd/{ProgressCircle-1e4cefde.js → ProgressCircle-365c4568.js} +2 -2
- package/amd/{ProgressCircle-1e4cefde.js.map → ProgressCircle-365c4568.js.map} +1 -1
- package/amd/RadioIconVariants.styles.css +1 -1
- package/amd/RadioIconVariants.styles2.css +1 -1
- package/amd/RadioItem-ce699d94.js +1 -1
- package/amd/RatingGauge-138a7d8b.js +1 -1
- package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
- package/amd/RemovableNavigationListItem-dd14305f.js +1 -1
- package/amd/RemovableTabBarItem-6a25d890.js +1 -1
- package/amd/ReorderableTabBar-e40ffae9.js +1 -1
- package/amd/RevealToggleIcon-c5b17f49.js +1 -1
- package/amd/SectionalLegend-5d4afed4.js +1 -1
- package/amd/SectionedContent-2b89af7b.js +2 -0
- package/amd/{SectionedContent-6031f8f7.js.map → SectionedContent-2b89af7b.js.map} +1 -1
- package/amd/SelectMultiple-1ff92cc3.js +1 -1
- package/amd/SelectSingle-641a4cac.js +1 -1
- package/amd/{SelectionCard-062e1c6f.js → SelectionCard-3973de1b.js} +2 -2
- package/amd/{SelectionCard-062e1c6f.js.map → SelectionCard-3973de1b.js.map} +1 -1
- package/amd/Selector-039f7481.js +1 -1
- package/amd/SelectorAll-7288e923.js +2 -0
- package/amd/{SelectorAll-53efae22.js.map → SelectorAll-7288e923.js.map} +1 -1
- package/amd/{Sheet-e6308643.js → Sheet-c6fc15b2.js} +2 -2
- package/amd/{Sheet-e6308643.js.map → Sheet-c6fc15b2.js.map} +1 -1
- package/amd/SplitMenuButton-09d7b66f.js +1 -1
- package/amd/StyledTextField-a51060bb.js +1 -1
- package/amd/Submenu-8cb31b61.js +1 -1
- package/amd/TabBar-1c002b5b.js +1 -1
- package/amd/TabBarItem-16383a92.js +1 -1
- package/amd/TabBarLayout-685ac295.js +1 -1
- package/amd/TabBarMixed-4e0326f5.js +1 -1
- package/amd/TabBarMixedSeparator-ed764207.js +2 -0
- package/amd/{TabBarMixedSeparator-8c278254.js.map → TabBarMixedSeparator-ed764207.js.map} +1 -1
- package/amd/Table-986ae70c.js +1 -1
- package/amd/TagCloud-58b4a81b.js +1 -1
- package/amd/TextArea-916c5bb1.js +2 -0
- package/{cjs/TextArea-792069d7.js.map → amd/TextArea-916c5bb1.js.map} +1 -1
- package/amd/TextAreaAutosize-1f47b470.js +2 -0
- package/amd/{TextAreaAutosize-e8dc13b4.js.map → TextAreaAutosize-1f47b470.js.map} +1 -1
- package/amd/TextField-51daf13e.js +1 -1
- package/amd/TextFieldInput-d6645f5b.js +1 -1
- package/amd/Theme-redwood/theme.css +464 -464
- package/amd/Theme-stable/theme.css +435 -435
- package/amd/TimeComponentCanvas2D-2f1cede4.js +1 -1
- package/amd/Toolbar-e84c90ac.js +1 -1
- package/amd/{TruncatingBadge-5b720ad3.js → TruncatingBadge-b6a271ea.js} +2 -2
- package/amd/{TruncatingBadge-5b720ad3.js.map → TruncatingBadge-b6a271ea.js.map} +1 -1
- package/amd/TruncatingText-e1aceee7.js +2 -0
- package/amd/{TruncatingText-17a6d4b6.js.map → TruncatingText-e1aceee7.js.map} +1 -1
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarTheme.js.map +1 -1
- package/amd/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarTheme.js.map +1 -1
- package/amd/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
- package/amd/UNSAFE_Avatar.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_ChartWithLegend.js +1 -1
- package/amd/UNSAFE_Checkbox.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_Layer.js +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_SectionalLegend.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SelectionCard.js +1 -1
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_SelectorAll.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_Sheet.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_Toolbar.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TruncatingBadge.js +1 -1
- package/amd/UNSAFE_TruncatingText.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
- package/amd/UNSAFE_VisStatusMessage.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/{View-ce970ed7.js → View-bd5c7fa7.js} +2 -2
- package/amd/{View-ce970ed7.js.map → View-bd5c7fa7.js.map} +1 -1
- package/amd/{VisNoData-7d5f77c3.js → VisNoData-ed2bd5cf.js} +2 -2
- package/amd/{VisNoData-7d5f77c3.js.map → VisNoData-ed2bd5cf.js.map} +1 -1
- package/amd/{VisProgressiveLoader-68d8d8b3.js → VisProgressiveLoader-06a60c8f.js} +2 -2
- package/amd/{VisProgressiveLoader-68d8d8b3.js.map → VisProgressiveLoader-06a60c8f.js.map} +1 -1
- package/amd/{VisTabularDatatip-1051eaca.js → VisTabularDatatip-55bbd19f.js} +2 -2
- package/amd/{VisTabularDatatip-1051eaca.js.map → VisTabularDatatip-55bbd19f.js.map} +1 -1
- package/amd/{WindowOverlay-a2d80d55.js → WindowOverlay-43c10424.js} +2 -2
- package/amd/{WindowOverlay-a2d80d55.js.map → WindowOverlay-43c10424.js.map} +1 -1
- package/amd/{YearsGridView-e758c73a.js → YearsGridView-ddc90c36.js} +2 -2
- package/amd/{YearsGridView-e758c73a.js.map → YearsGridView-ddc90c36.js.map} +1 -1
- package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
- package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
- package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useCssVars.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useFloating.js +1 -1
- package/amd/hooks/PRIVATE_useReorderable.js +1 -1
- package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
- package/amd/hooks/UNSAFE_useDensity.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useTestId.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/{index-735cad6d.js → index-a444ef75.js} +2 -2
- package/amd/index-a444ef75.js.map +1 -0
- package/amd/listViewSelectionTests-a8209843.js +1 -1
- package/amd/render-a1ae323f.js +2 -0
- package/amd/{render-4250c759.js.map → render-a1ae323f.js.map} +1 -1
- package/amd/{tabbableUtils-9887f50b.js → tabbableUtils-f5e521c8.js} +2 -2
- package/amd/{tabbableUtils-9887f50b.js.map → tabbableUtils-f5e521c8.js.map} +1 -1
- package/amd/{testData-71364772.js → testData-b22c8f34.js} +2 -2
- package/amd/{testData-71364772.js.map → testData-b22c8f34.js.map} +1 -1
- package/amd/tooltipUtils-79293e46.js +2 -0
- package/amd/{tooltipUtils-3b34c2bc.js.map → tooltipUtils-79293e46.js.map} +1 -1
- package/amd/useCellNavigation-1feec094.js +1 -1
- package/amd/useChartContextMenu-673e3de0.js +1 -1
- package/amd/{useChartDatatip-c702890c.js → useChartDatatip-04fa72c7.js} +2 -2
- package/amd/{useChartDatatip-c702890c.js.map → useChartDatatip-04fa72c7.js.map} +1 -1
- package/amd/useChartMarquee-62e7676c.js +1 -1
- package/amd/{useColorScheme-10dc88de.js → useColorScheme-443e7cc7.js} +2 -2
- package/amd/{useColorScheme-10dc88de.js.map → useColorScheme-443e7cc7.js.map} +1 -1
- package/amd/useContextMenu-57f18e97.js +1 -1
- package/amd/{useCssVars-c043f8da.js → useCssVars-dc52806c.js} +2 -2
- package/amd/{useCssVars-c043f8da.js.map → useCssVars-dc52806c.js.map} +1 -1
- package/amd/{useCurrentBgColor-2426ee24.js → useCurrentBgColor-50142bd8.js} +2 -2
- package/amd/{useCurrentBgColor-2426ee24.js.map → useCurrentBgColor-50142bd8.js.map} +1 -1
- package/amd/useCurrentKey-db6f418a.js +2 -0
- package/amd/{useCurrentKey-1d869ff4.js.map → useCurrentKey-db6f418a.js.map} +1 -1
- package/amd/{useDatatip-87792500.js → useDatatip-748e233f.js} +2 -2
- package/amd/{useDatatip-87792500.js.map → useDatatip-748e233f.js.map} +1 -1
- package/amd/{useDensity-c83df7b4.js → useDensity-f0f7ae9a.js} +2 -2
- package/amd/{useDensity-c83df7b4.js.map → useDensity-f0f7ae9a.js.map} +1 -1
- package/amd/{useFloating-8726c4bb.js → useFloating-a2399a51.js} +2 -2
- package/amd/{useFloating-8726c4bb.js.map → useFloating-a2399a51.js.map} +1 -1
- package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
- package/amd/{useKeyboardEvents-d87e3587.js.map → useKeyboardEvents-8ada7a1f.js.map} +1 -1
- package/amd/useLegendContextMenu-09c7a5a9.js +1 -1
- package/amd/useMeterDatatip-3b5a5112.js +2 -0
- package/amd/{useMeterDatatip-3abdf66a.js.map → useMeterDatatip-3b5a5112.js.map} +1 -1
- package/amd/{useOutsideClick-5c2a47be.js → useOutsideClick-476e0577.js} +2 -2
- package/amd/{useOutsideClick-5c2a47be.js.map → useOutsideClick-476e0577.js.map} +1 -1
- package/amd/usePopupAnimation-6445a247.js +2 -0
- package/amd/{usePopupAnimation-916ff96d.js.map → usePopupAnimation-6445a247.js.map} +1 -1
- package/amd/usePrefixSuffix-f7544e05.js +2 -0
- package/amd/{usePrefixSuffix-09bd5925.js.map → usePrefixSuffix-f7544e05.js.map} +1 -1
- package/amd/useReorderableItem-7fd4d629.js +1 -1
- package/amd/{useRovingTabIndexContainer-05e87912.js → useRovingTabIndexContainer-94cc3710.js} +2 -2
- package/amd/{useRovingTabIndexContainer-05e87912.js.map → useRovingTabIndexContainer-94cc3710.js.map} +1 -1
- package/amd/useScale-e311d35f.js +2 -0
- package/amd/{useScale-37d42c9d.js.map → useScale-e311d35f.js.map} +1 -1
- package/amd/useSelectCommon-4e256cf0.js +1 -1
- package/amd/{useSelectDrill-a7d833b6.js → useSelectDrill-65d98139.js} +2 -2
- package/amd/{useSelectDrill-a7d833b6.js.map → useSelectDrill-65d98139.js.map} +1 -1
- package/amd/{useSelection-396ce75f.js → useSelection-4d3a1ea8.js} +2 -2
- package/amd/{useSelection-396ce75f.js.map → useSelection-4d3a1ea8.js.map} +1 -1
- package/amd/useSelection-a6fd13cf.js +2 -0
- package/amd/{useSelection-e2791513.js.map → useSelection-a6fd13cf.js.map} +1 -1
- package/amd/{useTabBar-423a0c03.js → useTabBar-40842fb9.js} +2 -2
- package/amd/{useTabBar-423a0c03.js.map → useTabBar-40842fb9.js.map} +1 -1
- package/amd/{useTestId-3a316499.js → useTestId-b5cd4766.js} +2 -2
- package/amd/{useTestId-3a316499.js.map → useTestId-b5cd4766.js.map} +1 -1
- package/amd/{useTheme-ac980f9a.js → useTheme-a8334e06.js} +2 -2
- package/amd/{useTheme-ac980f9a.js.map → useTheme-a8334e06.js.map} +1 -1
- package/amd/useThemeInterpolations-e20f8cfa.js +2 -0
- package/amd/{useThemeInterpolations-b1d98ea4.js.map → useThemeInterpolations-e20f8cfa.js.map} +1 -1
- package/amd/useTooltip-e4089d1a.js +2 -0
- package/amd/{useTooltip-6a5fedfa.js.map → useTooltip-e4089d1a.js.map} +1 -1
- package/amd/{useTooltipControlled-fb57eb02.js → useTooltipControlled-fafb2f01.js} +2 -2
- package/amd/{useTooltipControlled-fb57eb02.js.map → useTooltipControlled-fafb2f01.js.map} +1 -1
- package/amd/{useTranslationBundle-516b1b83.js → useTranslationBundle-d07d4b20.js} +2 -2
- package/amd/{useTranslationBundle-516b1b83.js.map → useTranslationBundle-d07d4b20.js.map} +1 -1
- package/amd/{useUser-85c781ea.js → useUser-3ef25571.js} +2 -2
- package/amd/{useUser-85c781ea.js.map → useUser-3ef25571.js.map} +1 -1
- package/amd/{useVisEvents-954dcd88.js → useVisEvents-48144382.js} +2 -2
- package/amd/{useVisEvents-954dcd88.js.map → useVisEvents-48144382.js.map} +1 -1
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/{withDirectionIcon-ce0c7432.js → withDirectionIcon-74c39ee3.js} +2 -2
- package/amd/{withDirectionIcon-ce0c7432.js.map → withDirectionIcon-74c39ee3.js.map} +1 -1
- package/amd/withThemeProps-4c23997e.js +1 -1
- package/cjs/BaseNavigationListItem-62f24d1b.js +49 -0
- package/cjs/BaseNavigationListItem-62f24d1b.js.map +1 -0
- package/cjs/MaxLengthCounter-a5370f66.js +27 -0
- package/{amd/MaxLengthCounter-caafceef.js.map → cjs/MaxLengthCounter-a5370f66.js.map} +1 -1
- package/cjs/{NavigationListItem-d9228979.js → NavigationList-9e2a1115.js} +3 -8
- package/cjs/NavigationList-9e2a1115.js.map +1 -0
- package/cjs/NavigationListItem-4f5dc28a.js +12 -0
- package/cjs/NavigationListItem-4f5dc28a.js.map +1 -0
- package/cjs/{OverflowTabBar-081cc41e.js → OverflowTabBar-0122125c.js} +3 -3
- package/cjs/{OverflowTabBar-081cc41e.js.map → OverflowTabBar-0122125c.js.map} +1 -1
- package/cjs/{OverflowTabBarItem-57899880.js → OverflowTabBarItem-7e4a284a.js} +5 -4
- package/cjs/{OverflowTabBarItem-57899880.js.map → OverflowTabBarItem-7e4a284a.js.map} +1 -1
- package/cjs/{RemovableNavigationListItem-727e53e8.js → RemovableNavigationListItem-1235bf1c.js} +4 -3
- package/cjs/{RemovableNavigationListItem-727e53e8.js.map → RemovableNavigationListItem-1235bf1c.js.map} +1 -1
- package/cjs/{ReorderableTabBar-ded69f11.js → ReorderableTabBar-49f32413.js} +2 -2
- package/cjs/{ReorderableTabBar-ded69f11.js.map → ReorderableTabBar-49f32413.js.map} +1 -1
- package/cjs/{TabBar-c13ce35f.js → TabBar-d9f6d3c3.js} +6 -1
- package/cjs/{TabBar-c13ce35f.js.map → TabBar-d9f6d3c3.js.map} +1 -1
- package/cjs/{TabBarMixed-81309400.js → TabBarMixed-13a02a56.js} +6 -1
- package/cjs/{TabBarMixed-81309400.js.map → TabBarMixed-13a02a56.js.map} +1 -1
- package/cjs/{TextArea-792069d7.js → TextArea-096f18ad.js} +4 -22
- package/{amd/TextArea-259d741c.js.map → cjs/TextArea-096f18ad.js.map} +1 -1
- package/cjs/{TextAreaAutosize-1989de68.js → TextAreaAutosize-4d30faec.js} +3 -3
- package/cjs/{TextAreaAutosize-1989de68.js.map → TextAreaAutosize-4d30faec.js.map} +1 -1
- package/cjs/Theme-redwood/theme.css +226 -226
- package/cjs/Theme-stable/theme.css +992 -992
- package/cjs/UNSAFE_BaseButton/themes/stable/BaseButtonTheme.js +0 -1
- package/cjs/UNSAFE_BaseButton/themes/stable/BaseButtonTheme.js.map +1 -1
- package/cjs/UNSAFE_NavigationList.js +16 -14
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +55 -54
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_OverflowTabBar.js +29 -27
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_ReorderableTabBar.js +25 -9
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBar.js +28 -26
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +20 -18
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +28 -26
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TextArea.js +4 -3
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/{BaseNavigationListItem-4b28f14e.js → useNavigationListItem-0a5c6a11.js} +2 -40
- package/cjs/useNavigationListItem-0a5c6a11.js.map +1 -0
- package/es/ActionCard-ba1c946e.js +1 -1
- package/es/BarChart-c68a559c.js +2 -2
- package/es/BaseButton-5a3335d9.js +2 -2
- package/es/BaseCardView-e0e8a69b.js +6 -6
- package/es/{BaseCardViewSelectionTest-2159b609.js → BaseCardViewSelectionTest-120542e8.js} +6 -6
- package/es/{BaseCardViewSelectionTest-2159b609.js.map → BaseCardViewSelectionTest-120542e8.js.map} +1 -1
- package/es/BaseNavigationListItem-ac7ef3c3.js +1 -1
- package/es/ButtonSet-ac76e6e2.js +2 -2
- package/es/ButtonSetIconButton-9241b9fb.js +3 -3
- package/es/{Center-9f355d44.js → Center-8b48ab02.js} +2 -2
- package/es/{Center-9f355d44.js.map → Center-8b48ab02.js.map} +1 -1
- package/es/Chart-f2438968.js +9 -9
- package/es/CheckboxControl-f5e36d0d.js +6 -6
- package/es/CheckboxRadioField-bdda2573.js +6 -6
- package/es/Chip-f2df2078.js +1 -1
- package/es/ClearIcon-b5083cc8.js +1 -1
- package/es/CollapseIcon-de129943.js +1 -1
- package/es/Collapsible-09cc493a.js +2 -2
- package/es/CompactHelpSource-1686edf6.js +2 -2
- package/es/{CompactLabelAssistance-61df6dbf.js → CompactLabelAssistance-fa8264fa.js} +5 -5
- package/es/{CompactLabelAssistance-61df6dbf.js.map → CompactLabelAssistance-fa8264fa.js.map} +1 -1
- package/es/CompactUserAssistance-3a10afd4.js +4 -4
- package/es/ComponentMessageContainer-18e7fe34.js +4 -4
- package/es/ConveyorBeltItem-c8d4ba1b.js +2 -2
- package/es/{DatePicker-d4e027c2.js → DatePicker-4fb6d86d.js} +6 -6
- package/es/{DatePicker-d4e027c2.js.map → DatePicker-4fb6d86d.js.map} +1 -1
- package/es/DatePickerHeader-79f0b61b.js +3 -3
- package/es/{Diagram-d7fdc75f.js → Diagram-6f1ad2ea.js} +5 -5
- package/es/{Diagram-d7fdc75f.js.map → Diagram-6f1ad2ea.js.map} +1 -1
- package/es/{Dialog-cf69547f.js → Dialog-5e92dcd1.js} +6 -6
- package/es/{Dialog-cf69547f.js.map → Dialog-5e92dcd1.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-20259aab.js +1 -1
- package/es/DirectionalExpandArrowIcon-36ba273c.js +1 -1
- package/es/DragHandle-3b768189.js +1 -1
- package/es/{Dropdown-d017dd0a.js → Dropdown-f45f823c.js} +5 -5
- package/es/{Dropdown-d017dd0a.js.map → Dropdown-f45f823c.js.map} +1 -1
- package/es/{EnvironmentProvider-a3819bde.js → EnvironmentProvider-0fc2fd0c.js} +3 -3
- package/es/{EnvironmentProvider-a3819bde.js.map → EnvironmentProvider-0fc2fd0c.js.map} +1 -1
- package/es/FilePicker-f4582615.js +2 -2
- package/es/{Flex-2d51e914.js → Flex-8696b27b.js} +2 -2
- package/es/{Flex-2d51e914.js.map → Flex-8696b27b.js.map} +1 -1
- package/es/{Floating-aebc0f85.js → Floating-f9bbd276.js} +4 -4
- package/es/{Floating-aebc0f85.js.map → Floating-f9bbd276.js.map} +1 -1
- package/es/FormLayout-221e1aa8.js +1 -1
- package/es/Gantt-46f5f954.js +9 -9
- package/es/{Grid-c2385b22.js → Grid-7fd29a9e.js} +2 -2
- package/es/{Grid-c2385b22.js.map → Grid-7fd29a9e.js.map} +1 -1
- package/es/{Gridlines-0e7b33f5.js → Gridlines-dcdc34bc.js} +2 -2
- package/es/{Gridlines-0e7b33f5.js.map → Gridlines-dcdc34bc.js.map} +1 -1
- package/es/GroupLoadingIndicator-2bfdba44.js +1 -1
- package/es/{HighlightText-d505bf35.js → HighlightText-cc043982.js} +2 -2
- package/es/{HighlightText-d505bf35.js.map → HighlightText-cc043982.js.map} +1 -1
- package/es/Icon-4171c0d7.js +3 -3
- package/es/IconButton-451a225c.js +3 -3
- package/es/IconMenuButton-e46f8d54.js +4 -4
- package/es/IconProgressButton-8f2f6b27.js +3 -3
- package/es/IconSwitchButton-5ff7b0fe.js +3 -3
- package/es/IconToggleButton-375f006f.js +3 -3
- package/es/{IconUserAssistance-7cfd1ed2.js → IconUserAssistance-dd56b812.js} +3 -3
- package/es/{IconUserAssistance-7cfd1ed2.js.map → IconUserAssistance-dd56b812.js.map} +1 -1
- package/es/Indexer-658cee69.js +4 -4
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-e6deb149.js +5 -5
- package/es/InputDateMask-3d511e39.js +7 -7
- package/es/InputDatePicker-fe26a952.js +8 -8
- package/es/InputPassword-47130b3c.js +4 -4
- package/es/InputText-4799b2ed.js +6 -6
- package/es/Label-ab276ca9.js +5 -5
- package/es/LabelValueLayout-bcf482be.js +1 -1
- package/es/{Layer-915d986a.js → Layer-71fc666f.js} +3 -3
- package/es/{Layer-915d986a.js.map → Layer-71fc666f.js.map} +1 -1
- package/es/{LayerHost-7a2149f5.js → LayerHost-15b42a3e.js} +2 -2
- package/es/{LayerHost-7a2149f5.js.map → LayerHost-15b42a3e.js.map} +1 -1
- package/es/{LayerManager-be34be40.js → LayerManager-af39e736.js} +2 -2
- package/es/{LayerManager-be34be40.js.map → LayerManager-af39e736.js.map} +1 -1
- package/es/Legend-ae0296f0.js +3 -3
- package/es/{LineAreaChart-e2e762e8.js → LineAreaChart-3a7bc509.js} +3 -3
- package/es/{LineAreaChart-e2e762e8.js.map → LineAreaChart-3a7bc509.js.map} +1 -1
- package/es/Link-9072aa54.js +1 -1
- package/es/List-1d23e84f.js +5 -5
- package/es/{ListItemLayout-01286b56.js → ListItemLayout-32895900.js} +2 -2
- package/es/{ListItemLayout-01286b56.js.map → ListItemLayout-32895900.js.map} +1 -1
- package/es/ListView-8eba90e8.js +3 -3
- package/es/{LiveRegion-5302331c.js → LiveRegion-cb4f8a54.js} +2 -2
- package/es/{LiveRegion-5302331c.js.map → LiveRegion-cb4f8a54.js.map} +1 -1
- package/es/{MaxLengthLiveRegion-9b386b63.js → MaxLengthLiveRegion-59087064.js} +3 -3
- package/es/{MaxLengthLiveRegion-9b386b63.js.map → MaxLengthLiveRegion-59087064.js.map} +1 -1
- package/es/{Menu-e44a3e0b.js → Menu-b5deea24.js} +8 -8
- package/es/{Menu-e44a3e0b.js.map → Menu-b5deea24.js.map} +1 -1
- package/es/MenuButton-49b7965d.js +3 -3
- package/es/MenuItem-be46866f.js +1 -1
- package/es/Message-322f8d63.js +2 -2
- package/es/{MessageLayer-f09b0a1b.js → MessageLayer-34a390eb.js} +6 -6
- package/es/{MessageLayer-f09b0a1b.js.map → MessageLayer-34a390eb.js.map} +1 -1
- package/es/MessageToast-66bdffe6.js +8 -8
- package/es/MessagesManager-a1c3e92e.js +3 -3
- package/es/MeterBar-9ad34b98.js +5 -5
- package/es/MeterCircle-6bd257c8.js +5 -5
- package/es/{Modal-862b8167.js → Modal-3fd86d5a.js} +3 -3
- package/es/{Modal-862b8167.js.map → Modal-3fd86d5a.js.map} +1 -1
- package/es/{MonthView-3d90f424.js → MonthView-c3b82ace.js} +4 -4
- package/es/{MonthView-3d90f424.js.map → MonthView-c3b82ace.js.map} +1 -1
- package/es/NavigationListItem-a336f06f.js +5 -5
- package/es/NumberInputText-eca11601.js +6 -6
- package/es/OverflowTabBarItem-12249753.js +3 -3
- package/es/PRIVATE_BaseCardView.js +20 -20
- package/es/PRIVATE_Chart.js +30 -30
- package/es/PRIVATE_CheckboxControl.js +22 -22
- package/es/PRIVATE_CheckboxRadioField.js +23 -23
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +15 -15
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/RadiobuttonOff.js +15 -15
- package/es/PRIVATE_Icons/RadiobuttonOn.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +19 -19
- package/es/PRIVATE_Message.js +18 -18
- package/es/PRIVATE_MessageLayer.js +11 -11
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +16 -16
- package/es/PRIVATE_SelectCommon.js +27 -27
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +18 -18
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-3dd90503.js +6 -6
- package/es/{PieChart-d4f63bd8.js → PieChart-cdb56906.js} +5 -5
- package/es/{PieChart-d4f63bd8.js.map → PieChart-cdb56906.js.map} +1 -1
- package/es/{Popup-7cc4028b.js → Popup-8becd87a.js} +9 -9
- package/es/{Popup-7cc4028b.js.map → Popup-8becd87a.js.map} +1 -1
- package/es/{ProgressBar-d647bba4.js → ProgressBar-2565d814.js} +3 -3
- package/es/{ProgressBar-d647bba4.js.map → ProgressBar-2565d814.js.map} +1 -1
- package/es/ProgressButton-645ce827.js +3 -3
- package/es/ProgressButtonLabelLayout-6cf150e0.js +3 -3
- package/es/{ProgressCircle-13dc0e4f.js → ProgressCircle-c7f945c0.js} +2 -2
- package/es/{ProgressCircle-13dc0e4f.js.map → ProgressCircle-c7f945c0.js.map} +1 -1
- package/es/RadioItem-af1bbece.js +6 -6
- package/es/RatingGauge-82a6a416.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-7032ce3e.js +1 -1
- package/es/RemovableTabBarItem-16d04210.js +2 -2
- package/es/ReorderableTabBar-981af0f2.js +2 -2
- package/es/RevealToggleIcon-563c241c.js +1 -1
- package/es/SectionalLegend-a9b719ff.js +4 -4
- package/es/{SectionedContent-7e36073f.js → SectionedContent-237bf539.js} +5 -5
- package/es/{SectionedContent-7e36073f.js.map → SectionedContent-237bf539.js.map} +1 -1
- package/es/SelectMultiple-c1264885.js +8 -8
- package/es/SelectSingle-8336ec24.js +7 -7
- package/es/{SelectionCard-a27bce15.js → SelectionCard-1711aae6.js} +2 -2
- package/es/{SelectionCard-a27bce15.js.map → SelectionCard-1711aae6.js.map} +1 -1
- package/es/Selector-9f40e909.js +1 -1
- package/es/{SelectorAll-40c76f0b.js → SelectorAll-42ce8707.js} +7 -7
- package/es/{SelectorAll-40c76f0b.js.map → SelectorAll-42ce8707.js.map} +1 -1
- package/es/{Sheet-34f3bcb4.js → Sheet-f7117b12.js} +3 -3
- package/es/{Sheet-34f3bcb4.js.map → Sheet-f7117b12.js.map} +1 -1
- package/es/SplitMenuButton-74913bcc.js +3 -3
- package/es/StyledTextField-9df27ab4.js +3 -3
- package/es/Submenu-c6663c1d.js +1 -1
- package/es/TabBar-90cea652.js +6 -6
- package/es/TabBarItem-ba695c75.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-52ac388e.js +6 -6
- package/es/{TabBarMixedSeparator-16c88691.js → TabBarMixedSeparator-da56f4c0.js} +2 -2
- package/es/{TabBarMixedSeparator-16c88691.js.map → TabBarMixedSeparator-da56f4c0.js.map} +1 -1
- package/es/Table-3d484e2c.js +8 -8
- package/es/TagCloud-823b3d82.js +9 -9
- package/es/TextArea-6f18b955.js +5 -5
- package/es/TextAreaAutosize-4cf2754b.js +5 -5
- package/es/TextField-d4b4661d.js +3 -3
- package/es/TextFieldInput-84280715.js +1 -1
- package/es/Theme-redwood/theme.css +575 -575
- package/es/Theme-stable/theme.css +495 -495
- package/es/TimeComponentCanvas2D-72f4af98.js +5 -5
- package/es/Toolbar-85379f64.js +1 -1
- package/es/{TruncatingBadge-e5f38bc8.js → TruncatingBadge-7eb77ed3.js} +4 -4
- package/es/{TruncatingBadge-e5f38bc8.js.map → TruncatingBadge-7eb77ed3.js.map} +1 -1
- package/es/{TruncatingText-c3719839.js → TruncatingText-93807530.js} +4 -4
- package/es/{TruncatingText-c3719839.js.map → TruncatingText-93807530.js.map} +1 -1
- package/es/UNSAFE_ActionCard.js +2 -2
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +30 -30
- package/es/UNSAFE_BarChart.js +30 -30
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +19 -19
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +15 -15
- package/es/UNSAFE_ButtonSetItem.js +15 -15
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_CardFlexView.js +20 -20
- package/es/UNSAFE_CardGridView.js +20 -20
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +22 -22
- package/es/UNSAFE_CheckboxItem.js +23 -23
- package/es/UNSAFE_CheckboxSet.js +22 -22
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +15 -15
- package/es/UNSAFE_Dialog.js +11 -11
- package/es/UNSAFE_DragHandle.js +16 -16
- package/es/UNSAFE_DrawerLayout.js +11 -11
- package/es/UNSAFE_DrawerPopup.js +10 -10
- package/es/UNSAFE_Dropdown.js +12 -12
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +22 -22
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +10 -10
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +22 -22
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +15 -15
- package/es/UNSAFE_IconMenuButton.js +19 -19
- package/es/UNSAFE_IconProgressButton.js +19 -19
- package/es/UNSAFE_IconToggleButton.js +15 -15
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +23 -23
- package/es/UNSAFE_InputDatePicker.js +32 -32
- package/es/UNSAFE_InputPassword.js +22 -22
- package/es/UNSAFE_InputSensitiveText.js +24 -24
- package/es/UNSAFE_InputText.js +25 -25
- package/es/UNSAFE_Label.js +22 -22
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +24 -24
- package/es/UNSAFE_Layer.js +7 -7
- package/es/UNSAFE_Legend.js +22 -22
- package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +30 -30
- package/es/UNSAFE_LineAreaChart.js +31 -31
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +25 -25
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +21 -21
- package/es/UNSAFE_MenuButton.js +19 -19
- package/es/UNSAFE_MessageBanner.js +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +16 -16
- package/es/UNSAFE_Modal.js +7 -7
- package/es/UNSAFE_NavigationList.js +19 -19
- package/es/UNSAFE_NavigationListCommon.js +17 -17
- package/es/UNSAFE_NumberInputText.js +24 -24
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +13 -13
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
- package/es/UNSAFE_PieChart.js +14 -14
- package/es/UNSAFE_Popup.js +15 -15
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +19 -19
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +22 -22
- package/es/UNSAFE_RadioSet.js +22 -22
- package/es/UNSAFE_RatingGauge.js +16 -16
- package/es/UNSAFE_ReorderableTabBar.js +21 -21
- package/es/UNSAFE_SectionalLegend.js +23 -23
- package/es/UNSAFE_SelectMultiple.js +30 -30
- package/es/UNSAFE_SelectSingle.js +30 -30
- package/es/UNSAFE_SelectionCard.js +4 -4
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
- package/es/UNSAFE_Sheet.js +10 -10
- package/es/UNSAFE_SplitMenuButton.js +19 -19
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +24 -24
- package/es/UNSAFE_TabBarMixed.js +28 -28
- package/es/UNSAFE_TableView.js +18 -18
- package/es/UNSAFE_TagCloud.js +22 -22
- package/es/UNSAFE_TextArea.js +24 -24
- package/es/UNSAFE_TextAreaAutosize.js +24 -24
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +21 -21
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +23 -23
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +19 -19
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-a8a64eb1.js → View-63980a9b.js} +5 -5
- package/es/{View-a8a64eb1.js.map → View-63980a9b.js.map} +1 -1
- package/es/{VisNoData-673b58e9.js → VisNoData-da540cbd.js} +3 -3
- package/es/{VisNoData-673b58e9.js.map → VisNoData-da540cbd.js.map} +1 -1
- package/es/{VisProgressiveLoader-66dde1ff.js → VisProgressiveLoader-2b2103c8.js} +3 -3
- package/es/{VisProgressiveLoader-66dde1ff.js.map → VisProgressiveLoader-2b2103c8.js.map} +1 -1
- package/es/{VisTabularDatatip-6aa607bb.js → VisTabularDatatip-2ae7ee48.js} +2 -2
- package/es/{VisTabularDatatip-6aa607bb.js.map → VisTabularDatatip-2ae7ee48.js.map} +1 -1
- package/es/{WindowOverlay-de5d0819.js → WindowOverlay-9b43e658.js} +2 -2
- package/es/{WindowOverlay-de5d0819.js.map → WindowOverlay-9b43e658.js.map} +1 -1
- package/es/{YearsGridView-5b5c1746.js → YearsGridView-37dfce0c.js} +4 -4
- package/es/{YearsGridView-5b5c1746.js.map → YearsGridView-37dfce0c.js.map} +1 -1
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useChartDatatip.js +13 -13
- package/es/hooks/PRIVATE_useChartEvents.js +17 -17
- package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +11 -11
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +4 -4
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +5 -5
- package/es/hooks/PRIVATE_useVisContextMenu.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +13 -13
- package/es/hooks/PRIVATE_useVisSelection.js +12 -12
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useContainerBreakpointValues.js +1 -1
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +7 -7
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +5 -5
- package/es/hooks/UNSAFE_useTooltip.js +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{index-fee93bf9.js → index-e65c9009.js} +2 -2
- package/es/index-e65c9009.js.map +1 -0
- package/es/listViewSelectionTests-0dfdcc5d.js +4 -4
- package/es/{render-d92a7051.js → render-ff141a3d.js} +3 -3
- package/es/{render-d92a7051.js.map → render-ff141a3d.js.map} +1 -1
- package/es/{tabbableUtils-1b4c2eea.js → tabbableUtils-375a33ee.js} +3 -3
- package/es/{tabbableUtils-1b4c2eea.js.map → tabbableUtils-375a33ee.js.map} +1 -1
- package/es/{testData-ca9503e6.js → testData-748c19ef.js} +3 -3
- package/es/{testData-ca9503e6.js.map → testData-748c19ef.js.map} +1 -1
- package/es/{tooltipUtils-06c93436.js → tooltipUtils-1131b3ca.js} +5 -5
- package/es/{tooltipUtils-06c93436.js.map → tooltipUtils-1131b3ca.js.map} +1 -1
- package/es/useCellNavigation-00d575ca.js +1 -1
- package/es/useChartContextMenu-8c49f584.js +3 -3
- package/es/{useChartDatatip-82dba484.js → useChartDatatip-25f6bc69.js} +4 -4
- package/es/{useChartDatatip-82dba484.js.map → useChartDatatip-25f6bc69.js.map} +1 -1
- package/es/useChartMarquee-08025a83.js +1 -1
- package/es/{useColorScheme-f69d53b5.js → useColorScheme-d8a80e2b.js} +2 -2
- package/es/{useColorScheme-f69d53b5.js.map → useColorScheme-d8a80e2b.js.map} +1 -1
- package/es/useContextMenu-12845847.js +3 -3
- package/es/{useCssVars-48595cd2.js → useCssVars-8e6932f8.js} +5 -5
- package/es/{useCssVars-48595cd2.js.map → useCssVars-8e6932f8.js.map} +1 -1
- package/es/{useCurrentBgColor-894d059b.js → useCurrentBgColor-5418492b.js} +2 -2
- package/es/{useCurrentBgColor-894d059b.js.map → useCurrentBgColor-5418492b.js.map} +1 -1
- package/es/{useCurrentKey-55123e83.js → useCurrentKey-76e7d7b1.js} +2 -2
- package/es/{useCurrentKey-55123e83.js.map → useCurrentKey-76e7d7b1.js.map} +1 -1
- package/es/{useDatatip-01d7ddeb.js → useDatatip-73566627.js} +4 -4
- package/es/{useDatatip-01d7ddeb.js.map → useDatatip-73566627.js.map} +1 -1
- package/es/{useDensity-04a01caf.js → useDensity-64ecb649.js} +2 -2
- package/es/{useDensity-04a01caf.js.map → useDensity-64ecb649.js.map} +1 -1
- package/es/{useFloating-c9278755.js → useFloating-d60cc8b4.js} +2 -2
- package/es/{useFloating-c9278755.js.map → useFloating-d60cc8b4.js.map} +1 -1
- package/es/{useKeyboardEvents-b02e5fda.js → useKeyboardEvents-5c311766.js} +2 -2
- package/es/{useKeyboardEvents-b02e5fda.js.map → useKeyboardEvents-5c311766.js.map} +1 -1
- package/es/useLegendContextMenu-926aca66.js +5 -5
- package/es/{useMeterDatatip-43e31c05.js → useMeterDatatip-2cedbd5c.js} +3 -3
- package/es/{useMeterDatatip-43e31c05.js.map → useMeterDatatip-2cedbd5c.js.map} +1 -1
- package/es/{useOutsideClick-388c62bd.js → useOutsideClick-725542a2.js} +2 -2
- package/es/{useOutsideClick-388c62bd.js.map → useOutsideClick-725542a2.js.map} +1 -1
- package/es/{usePopupAnimation-b4577940.js → usePopupAnimation-340f04b6.js} +2 -2
- package/es/{usePopupAnimation-b4577940.js.map → usePopupAnimation-340f04b6.js.map} +1 -1
- package/es/{usePrefixSuffix-995d4cda.js → usePrefixSuffix-435a9c59.js} +2 -2
- package/es/{usePrefixSuffix-995d4cda.js.map → usePrefixSuffix-435a9c59.js.map} +1 -1
- package/es/useReorderableItem-c715c504.js +2 -2
- package/es/{useRovingTabIndexContainer-097f96a6.js → useRovingTabIndexContainer-b9833086.js} +2 -2
- package/es/{useRovingTabIndexContainer-097f96a6.js.map → useRovingTabIndexContainer-b9833086.js.map} +1 -1
- package/es/{useScale-3b323ab2.js → useScale-c86ecc6e.js} +2 -2
- package/es/{useScale-3b323ab2.js.map → useScale-c86ecc6e.js.map} +1 -1
- package/es/useSelectCommon-7ebc86eb.js +11 -11
- package/es/{useSelectDrill-8b53d932.js → useSelectDrill-fbe57d95.js} +3 -3
- package/es/{useSelectDrill-8b53d932.js.map → useSelectDrill-fbe57d95.js.map} +1 -1
- package/es/{useSelection-7c94a24f.js → useSelection-1e1e89df.js} +2 -2
- package/es/{useSelection-7c94a24f.js.map → useSelection-1e1e89df.js.map} +1 -1
- package/es/{useSelection-b7c3e75e.js → useSelection-dfbd140d.js} +5 -5
- package/es/{useSelection-b7c3e75e.js.map → useSelection-dfbd140d.js.map} +1 -1
- package/es/{useTabBar-6c6847ef.js → useTabBar-b826570d.js} +2 -2
- package/es/{useTabBar-6c6847ef.js.map → useTabBar-b826570d.js.map} +1 -1
- package/es/{useTestId-af32a9eb.js → useTestId-3bc3958c.js} +2 -2
- package/es/{useTestId-af32a9eb.js.map → useTestId-3bc3958c.js.map} +1 -1
- package/es/{useTheme-73aca0e4.js → useTheme-4b0f211c.js} +2 -2
- package/es/{useTheme-73aca0e4.js.map → useTheme-4b0f211c.js.map} +1 -1
- package/es/{useThemeInterpolations-4f6cc83c.js → useThemeInterpolations-41ac870d.js} +4 -4
- package/es/{useThemeInterpolations-4f6cc83c.js.map → useThemeInterpolations-41ac870d.js.map} +1 -1
- package/es/{useTooltip-e258ea41.js → useTooltip-227887ea.js} +2 -2
- package/es/{useTooltip-e258ea41.js.map → useTooltip-227887ea.js.map} +1 -1
- package/es/{useTooltipControlled-50d5dac9.js → useTooltipControlled-7ccb5919.js} +5 -5
- package/es/{useTooltipControlled-50d5dac9.js.map → useTooltipControlled-7ccb5919.js.map} +1 -1
- package/es/{useTranslationBundle-6da03e52.js → useTranslationBundle-98df6291.js} +2 -2
- package/es/{useTranslationBundle-6da03e52.js.map → useTranslationBundle-98df6291.js.map} +1 -1
- package/es/{useUser-bca8cf2d.js → useUser-a15426fc.js} +2 -2
- package/es/{useUser-bca8cf2d.js.map → useUser-a15426fc.js.map} +1 -1
- package/es/{useVisEvents-cd3616aa.js → useVisEvents-ff4204b5.js} +2 -2
- package/es/{useVisEvents-cd3616aa.js.map → useVisEvents-ff4204b5.js.map} +1 -1
- package/es/utils/PRIVATE_tooltipUtils.js +13 -13
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/{withDirectionIcon-389870a2.js → withDirectionIcon-90d7c798.js} +2 -2
- package/es/{withDirectionIcon-389870a2.js.map → withDirectionIcon-90d7c798.js.map} +1 -1
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/CompactLabelAssistance-7db2fde2.js +0 -2
- package/amd/Flex-56ecdf4c.js +0 -2
- package/amd/HighlightText-bd4c0101.js +0 -2
- package/amd/LiveRegion-8142ed0d.js +0 -2
- package/amd/MaxLengthCounter-caafceef.js +0 -2
- package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
- package/amd/SectionedContent-6031f8f7.js +0 -2
- package/amd/SelectorAll-53efae22.js +0 -2
- package/amd/TabBarMixedSeparator-8c278254.js +0 -2
- package/amd/TextArea-259d741c.js +0 -2
- package/amd/TextAreaAutosize-e8dc13b4.js +0 -2
- package/amd/TruncatingText-17a6d4b6.js +0 -2
- package/amd/index-735cad6d.js.map +0 -1
- package/amd/render-4250c759.js +0 -2
- package/amd/tooltipUtils-3b34c2bc.js +0 -2
- package/amd/useCurrentKey-1d869ff4.js +0 -2
- package/amd/useKeyboardEvents-d87e3587.js +0 -2
- package/amd/useMeterDatatip-3abdf66a.js +0 -2
- package/amd/usePopupAnimation-916ff96d.js +0 -2
- package/amd/usePrefixSuffix-09bd5925.js +0 -2
- package/amd/useScale-37d42c9d.js +0 -2
- package/amd/useSelection-e2791513.js +0 -2
- package/amd/useThemeInterpolations-b1d98ea4.js +0 -2
- package/amd/useTooltip-6a5fedfa.js +0 -2
- package/cjs/BaseNavigationListItem-4b28f14e.js.map +0 -1
- package/cjs/NavigationListItem-d9228979.js.map +0 -1
- package/es/index-fee93bf9.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBarMixed-
|
|
1
|
+
{"version":3,"file":"TabBarMixed-13a02a56.js","sources":["../../src/UNSAFE_TabBarMixed/useTabBarMixed.ts","../../src/UNSAFE_TabBarMixed/TabBarMixed.tsx"],"sourcesContent":["import { ComponentProps, ContextType, RefObject } from 'preact';\nimport type { TabBarContext, TabBarLayout } from '../UNSAFE_TabBarCommon';\n\nimport { useTabBar } from '../hooks/PRIVATE_useTabBar';\n\ntype TabBarContextValue = ContextType<typeof TabBarContext>;\n\nexport type useTabBarOptions = {\n class?: string;\n display?: TabBarContextValue['display'];\n edge?: 'bottom' | 'top';\n onRemove?: TabBarContextValue['onRemove'];\n onSelect?: TabBarContextValue['onSelect'];\n ref?: RefObject<HTMLDivElement>;\n selection?: TabBarContextValue['selection'];\n size?: TabBarContextValue['size'];\n children?: ComponentProps<typeof TabBarLayout>['children'];\n};\n\n/**\n * A thin wrapper around useTabBar hook\n */\nexport function useTabBarMixed(options: useTabBarOptions) {\n return useTabBar(options);\n}\n","import type { ComponentChildren } from 'preact';\nimport { useRef } from 'preact/hooks';\nimport { Ref } from 'preact';\nimport { forwardRef, useImperativeHandle } from 'preact/compat';\nimport { TabBarContext } from '../UNSAFE_TabBarCommon';\nimport { styles } from './themes/TabBarMixedStyles.css';\nimport { useTabBarMixed as useTabBar } from './useTabBarMixed';\n\ntype UseTabBarOptions = Parameters<typeof useTabBar>[0];\n\n/**\n * Component props expected to be pased to **TabBarMixed**.\n *\n * @see {@link TabBarMixed}\n */\ntype TabBarMixedProps<K extends string | number> = {\n /**\n * Component children that will be rendered within the **TabBarMixed**\n * root element.\n *\n * It is expected that **TabBarLayout** and **ConveyorBelt** elements are\n * provided. The same **TabBarItem**, **RemovableTabBarItem**,\n * and **OverflowTabBarItem** elements should also be used.\n */\n children?: ComponentChildren;\n /**\n * Callback fired when a tab item is removed.\n */\n onRemove?: UseTabBarOptions['onRemove'];\n /**\n * Callback fired when a tab item is selected.\n */\n onSelect?: UseTabBarOptions['onSelect'];\n /**\n * The item key of the selected tab item.\n */\n selection?: K;\n /**\n * The height of the the tab bar.\n *\n * @default \"md\"\n */\n size?: UseTabBarOptions['size'];\n /**\n * An aria-label which defines a string value that labels this TabBarMixed.\n * Either aria-label or aria-labelledby should be specified in order to make TabBarMixed accessible.\n */\n 'aria-label'?: string;\n\n /**\n * An aria-labelledby which identifies the element(s) that labels this TabBarMixed.\n * Either aria-label or aria-labelledby should be specified in order to make TabBarMixed accessible.\n */\n 'aria-labelledby'?: string;\n};\n\nexport type FocusableHandle = {\n focus: () => void;\n blur: () => void;\n};\n\n/**\n * A navigation component that enables horizontal navigation between distinct content with a mixture of static and dynamic tabs.\n *\n * @param {TabBarMixedProps} props TabBarMixed component props.\n * @returns {JSX.Element} TabBarMixed component element.\n */\nexport const TabBarMixed = forwardRef(\n <K extends string | number>(\n props: TabBarMixedProps<K>,\n focusHandleRef?: Ref<FocusableHandle>\n ) => {\n const {\n children,\n onRemove,\n onSelect,\n selection,\n size,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledby\n } = props;\n\n const rootRef = useRef<HTMLDivElement>(null);\n\n const { rootProps, tabBarContext } = useTabBar({\n class: styles.tabBarBase,\n edge: 'bottom',\n onRemove,\n onSelect,\n ref: rootRef,\n selection,\n size,\n children\n });\n\n //Allows to call focus on rootRef without having to expose it\n useImperativeHandle(focusHandleRef!, () => ({\n focus: () => {\n if (rootRef.current) {\n rootRef.current.focus();\n }\n },\n blur: () => {\n if (rootRef.current) {\n rootRef.current.blur();\n }\n }\n }));\n\n return (\n <TabBarContext.Provider value={tabBarContext}>\n <div aria-label={ariaLabel} aria-labelledby={ariaLabelledby} {...rootProps}>\n {children}\n </div>\n </TabBarContext.Provider>\n );\n }\n);\n"],"names":["useTabBar","forwardRef","useRef","styles","useImperativeHandle","_jsx","TabBarContext"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA;;AAEG;AACG,SAAU,cAAc,CAAC,OAAyB,EAAA;AACtD,IAAA,OAAOA,mBAAS,CAAC,OAAO,CAAC,CAAC;AAC5B;;ACqCA;;;;;AAKG;AACU,MAAA,WAAW,GAAGC,iBAAU,CACnC,CACE,KAA0B,EAC1B,cAAqC,KACnC;IACF,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EAClC,GAAG,KAAK,CAAC;AAEV,IAAA,MAAM,OAAO,GAAGC,YAAM,CAAiB,IAAI,CAAC,CAAC;AAE7C,IAAA,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAGF,cAAS,CAAC;QAC7C,KAAK,EAAEG,sDAAM,CAAC,UAAU;AACxB,QAAA,IAAI,EAAE,QAAQ;QACd,QAAQ;QACR,QAAQ;AACR,QAAA,GAAG,EAAE,OAAO;QACZ,SAAS;QACT,IAAI;QACJ,QAAQ;AACT,KAAA,CAAC,CAAC;;AAGH,IAAAC,0BAAmB,CAAC,cAAe,EAAE,OAAO;QAC1C,KAAK,EAAE,MAAK;AACV,YAAA,IAAI,OAAO,CAAC,OAAO,EAAE;AACnB,gBAAA,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;aACzB;SACF;QACD,IAAI,EAAE,MAAK;AACT,YAAA,IAAI,OAAO,CAAC,OAAO,EAAE;AACnB,gBAAA,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;aACxB;SACF;AACF,KAAA,CAAC,CAAC,CAAC;IAEJ,QACEC,eAACC,8BAAa,CAAC,QAAQ,EAAC,EAAA,KAAK,EAAE,aAAa,EAAA,QAAA,EAC1CD,sCAAiB,SAAS,EAAA,iBAAA,EAAmB,cAAc,EAAM,GAAA,SAAS,YACvE,QAAQ,EAAA,CACL,EACiB,CAAA,EACzB;AACJ,CAAC;;;;"}
|
|
@@ -6,7 +6,7 @@ var compat = require('preact/compat');
|
|
|
6
6
|
require('./FormContext-9452bd30.js');
|
|
7
7
|
var useFormContext = require('./useFormContext-4c3091dc.js');
|
|
8
8
|
var FormFieldContext = require('./FormFieldContext-8418dc68.js');
|
|
9
|
-
|
|
9
|
+
require('preact/hooks');
|
|
10
10
|
var useFocusableTextField = require('./useFocusableTextField-2c36840d.js');
|
|
11
11
|
var Label = require('./Label-47446013.js');
|
|
12
12
|
var TextFieldInput = require('./TextFieldInput-a2e8dd01.js');
|
|
@@ -42,27 +42,10 @@ var HiddenAccessible = require('./HiddenAccessible-087eb49a.js');
|
|
|
42
42
|
|
|
43
43
|
require('./UNSAFE_Popup/themes/redwood/PopupVariants.css.js');
|
|
44
44
|
var useLengthFilter = require('./useLengthFilter-d4cb6f47.js');
|
|
45
|
-
var
|
|
46
|
-
var usePress = require('./usePress-00deca01.js');
|
|
47
|
-
var useFormFieldContext = require('./useFormFieldContext-20f419ef.js');
|
|
48
|
-
|
|
45
|
+
var MaxLengthCounter = require('./MaxLengthCounter-a5370f66.js');
|
|
49
46
|
var useCurrentValueReducer = require('./useCurrentValueReducer-f37ac024.js');
|
|
50
47
|
var useSelectableTextField = require('./useSelectableTextField-892b62db.js');
|
|
51
48
|
|
|
52
|
-
var hide = 'MaxLengthCounterStyles_hide__7dy9j71';
|
|
53
|
-
var maxLengthCounterBase = 'MaxLengthCounterStyles_maxLengthCounterBase__7dy9j70';
|
|
54
|
-
var spanStyles = 'MaxLengthCounterStyles_spanStyles__7dy9j72';
|
|
55
|
-
|
|
56
|
-
const noop = () => { };
|
|
57
|
-
function MaxLengthCounter({ maxLength, valueLength = 0, onClick }) {
|
|
58
|
-
const { isFocused } = useFormFieldContext.useFormFieldContext();
|
|
59
|
-
// We don't want mousedown on this component to do anything, so prevent the default behavior.
|
|
60
|
-
const killEvent = hooks.useCallback((event) => event.preventDefault(), []);
|
|
61
|
-
const textClasses = classNames.classNames([!isFocused && hide]);
|
|
62
|
-
const { pressProps } = usePress.usePress(onClick ?? noop);
|
|
63
|
-
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 })] }) }));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
49
|
/**
|
|
67
50
|
* A text area displays a field that allows a user to enter a multi-line text value.
|
|
68
51
|
*/
|
|
@@ -168,12 +151,11 @@ const TextArea = compat.forwardRef(({ 'aria-describedby': ariaDescribedBy, assis
|
|
|
168
151
|
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(StyledTextField.ReadonlyTextField, { role: "presentation", columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, ref: anchorRef, testId: testId, variant: "textarea", mainContent: mainContent, resize: resize, ...fieldLabelProps }) }));
|
|
169
152
|
}
|
|
170
153
|
const hasMaxLength = maxLength !== undefined;
|
|
171
|
-
const mainContent = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TextFieldInput.TextFieldInput, { as: "textarea", "aria-label": ariaLabel, autoComplete: autoComplete, autoFocus: autoFocus, currentCommitValue: currentCommitValue, hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: labelComp !== undefined && labelEdge === 'inside', isRequired: isRequired, inputRef: enabledElementRef, onCommit: onCommitAndDispatch, onInput: onFilteredInput, placeholder: placeholder, role: role, rows: rows, textAlign: textAlign, value: value, ...inputProps }), maxLengthCounter === 'remaining' && hasMaxLength && (jsxRuntime.jsx(MaxLengthCounter, { maxLength: maxLength, valueLength: valueLength, onClick: onClickCounter })), hasMaxLength && (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: maxLengthDescribedByIdRef.current, isHidden: true, children: translations.formControl_maxLength({
|
|
154
|
+
const mainContent = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TextFieldInput.TextFieldInput, { as: "textarea", "aria-label": ariaLabel, autoComplete: autoComplete, autoFocus: autoFocus, currentCommitValue: currentCommitValue, hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: labelComp !== undefined && labelEdge === 'inside', isRequired: isRequired, inputRef: enabledElementRef, onCommit: onCommitAndDispatch, onInput: onFilteredInput, placeholder: placeholder, role: role, rows: rows, textAlign: textAlign, value: value, ...inputProps }), maxLengthCounter === 'remaining' && hasMaxLength && (jsxRuntime.jsx(MaxLengthCounter.MaxLengthCounter, { maxLength: maxLength, valueLength: valueLength, onClick: onClickCounter })), hasMaxLength && (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: maxLengthDescribedByIdRef.current, isHidden: true, children: translations.formControl_maxLength({
|
|
172
155
|
MAX_LENGTH: `${maxLength}`
|
|
173
156
|
}) })), hasMaxLength && isFocused && (jsxRuntime.jsx(MaxLengthLiveRegion.MaxLengthLiveRegion, { maxLength: maxLength, valueLength: valueLength, testId: testId + '_remainingChars' }))] }));
|
|
174
157
|
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(TextField.TextField, { mainContent: mainContent, columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, onBlur: focusProps?.onFocusOut, onFocus: focusProps?.onFocusIn, mainFieldRef: anchorRef, resize: resize, testId: testId, ...textFieldProps, ...fieldLabelProps }) }));
|
|
175
158
|
});
|
|
176
159
|
|
|
177
|
-
exports.MaxLengthCounter = MaxLengthCounter;
|
|
178
160
|
exports.TextArea = TextArea;
|
|
179
|
-
//# sourceMappingURL=TextArea-
|
|
161
|
+
//# sourceMappingURL=TextArea-096f18ad.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea-259d741c.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 & Partial<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":"inDA0LaA,EAAWC,EAAAA,YACtB,EAEI,mBAAoBC,EACpBC,gBACAC,eAAe,MACfC,aAAY,EACZC,aACAC,iB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B,CAACjB,GAAInD,GAA0BI,QAASiE,UAAU,EAAIX,SACpE9E,EAAa0F,sBAAsB,CAClCC,WAAY,GAAG7G,QAIpBkG,IAAgBpD,IACf6B,MAACmC,EAAAA,oBACC,CAAA9G,UAAWA,EACXuD,YAAaA,GACbvC,OAAQA,EAAS,uBAMzB,OACE2D,EAAAA,IAACmB,EAAAA,iBAAiBC,SAAS,CAAAnF,MAAOgD,GAChCoC,SAAArB,EAAAC,IAACmC,EAASA,UAAA,CACRxB,YAAaA,GACbrG,WAAYA,EACZmG,sBAAuBA,GACvBJ,qBAAsBA,GACtB+B,OAAQnE,IAAYoE,WACpBC,QAASrE,IAAYsE,UACrBC,aAAchC,GACd/E,OAAQA,EACRW,OAAQA,KACJ+C,MACAgB,MAER"}
|
|
1
|
+
{"version":3,"file":"TextArea-096f18ad.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 & Partial<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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLA;;AAEG;MACU,QAAQ,GAAGA,iBAAU,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,S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
|
|
44
44
|
var useLengthFilter = require('./useLengthFilter-d4cb6f47.js');
|
|
45
45
|
var useCurrentValueReducer = require('./useCurrentValueReducer-f37ac024.js');
|
|
46
|
-
var TextArea = require('./TextArea-792069d7.js');
|
|
47
46
|
var useSelectableTextField = require('./useSelectableTextField-892b62db.js');
|
|
47
|
+
var MaxLengthCounter = require('./MaxLengthCounter-a5370f66.js');
|
|
48
48
|
|
|
49
49
|
// returns the lineHeight as a number of pixels.
|
|
50
50
|
const calculateLineHeight = (textarea) => {
|
|
@@ -235,11 +235,11 @@ textAlign: propTextAlign, userAssistanceDensity: propUserAssistanceDensity, valu
|
|
|
235
235
|
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(StyledTextField.ReadonlyTextField, { role: "presentation", colSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, variant: "textarea", mainContent: mainContent, ref: anchorRef, testId: testId, ...fieldLabelProps }) }));
|
|
236
236
|
}
|
|
237
237
|
const hasMaxLength = maxLength !== undefined;
|
|
238
|
-
const mainContent = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TextFieldInput.TextFieldInput, { as: "textarea", "aria-label": ariaLabel, autoComplete: autoComplete, autoFocus: autoFocus, currentCommitValue: currentCommitValue, hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: labelComp !== undefined && labelEdge === 'inside', isRequired: isRequired, inputRef: enabledElementRef, onCommit: onCommitAndDispatch, onInput: onFilteredInput, placeholder: placeholder, role: role, rows: minRows, textAlign: textAlign, value: value, ...inputProps }), maxLengthCounter === 'remaining' && hasMaxLength && (jsxRuntime.jsx(
|
|
238
|
+
const mainContent = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TextFieldInput.TextFieldInput, { as: "textarea", "aria-label": ariaLabel, autoComplete: autoComplete, autoFocus: autoFocus, currentCommitValue: currentCommitValue, hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: labelComp !== undefined && labelEdge === 'inside', isRequired: isRequired, inputRef: enabledElementRef, onCommit: onCommitAndDispatch, onInput: onFilteredInput, placeholder: placeholder, role: role, rows: minRows, textAlign: textAlign, value: value, ...inputProps }), maxLengthCounter === 'remaining' && hasMaxLength && (jsxRuntime.jsx(MaxLengthCounter.MaxLengthCounter, { maxLength: maxLength, valueLength: valueLength, onClick: onClickCounter })), hasMaxLength && (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: maxLengthDescribedByIdRef.current, children: translations.formControl_maxLength({
|
|
239
239
|
MAX_LENGTH: `${maxLength}`
|
|
240
240
|
}) })), hasMaxLength && isFocused && (jsxRuntime.jsx(MaxLengthLiveRegion.MaxLengthLiveRegion, { maxLength: maxLength, valueLength: valueLength, testId: testId + '_remainingChars' }))] }));
|
|
241
241
|
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(TextField.TextField, { mainContent: mainContent, columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, onBlur: focusProps?.onFocusOut, onFocus: focusProps?.onFocusIn, mainFieldRef: anchorRef, testId: testId, ...textFieldProps, ...fieldLabelProps }) }));
|
|
242
242
|
});
|
|
243
243
|
|
|
244
244
|
exports.TextAreaAutosize = TextAreaAutosize;
|
|
245
|
-
//# sourceMappingURL=TextAreaAutosize-
|
|
245
|
+
//# sourceMappingURL=TextAreaAutosize-4d30faec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaAutosize-1989de68.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import { ComponentProps } from 'preact';\nimport { useLayoutEffect, Ref } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: Ref<HTMLTextAreaElement>;\n readonlyElementRef: Ref<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly, enabledElementRef, readonlyElementRef]);\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { MaxLengthCounter } from '../UNSAFE_TextArea';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\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 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 * 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 * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\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 role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\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 */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\ntype FocusSelectHandle = FocusableHandle & Partial<SelectableHandle>;\n/**\n * A text area auto size displays a field that allows a user to enter a multi-line text value, and will adjust its height based on its content.\n */\nexport const TextAreaAutosize = 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 maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\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 // 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 | HTMLDivElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLTextAreaElement, HTMLTextAreaElement | HTMLDivElement>({\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 useTextAreaAutosizing({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n\n if (isReadonly) {\n // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n elementRef={readonlyElementRef}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\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 colSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n variant=\"textarea\"\n mainContent={mainContent}\n ref={anchorRef}\n testId={testId}\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={minRows}\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}>\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 testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["useLayoutEffect","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACO,MAAM,mBAAmB,GAAG,CAAC,QAA6B,KAAY;IAC3E,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AACxD,IAAA,MAAM,kBAAkB,GAAG,aAAa,CAAC,UAAU,CAA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EAAA,QAAA,EAChDL,cAAC,CAAAa,mBAAS,IACR,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,EAAA,GACV,cAAc,EAAA,GACd,eAAe,EAAA,CACnB,EACwB,CAAA,EAC5B;AACJ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"TextAreaAutosize-4d30faec.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import { ComponentProps } from 'preact';\nimport { useLayoutEffect, Ref } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: Ref<HTMLTextAreaElement>;\n readonlyElementRef: Ref<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly, enabledElementRef, readonlyElementRef]);\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback, useImperativeHandle, useRef } from 'preact/compat';\nimport { useFormContext } from '../hooks/UNSAFE_useFormContext';\nimport { FormFieldContext } from '../hooks/UNSAFE_useFormFieldContext';\nimport { FocusableHandle, useFocusableTextField } from '../hooks/UNSAFE_useFocusableTextField';\nimport { Label } from '../UNSAFE_Label';\nimport {\n ReadonlyTextField,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '../UNSAFE_TextField';\nimport { useTextField } from '../hooks/UNSAFE_useTextField';\nimport {\n CompactUserAssistance,\n InlineUserAssistance,\n UserAssistanceDensityType\n} from '../UNSAFE_UserAssistance';\nimport { CountUnit, useLengthFilter } from '../hooks/UNSAFE_useLengthFilter';\nimport { MaxLengthLiveRegion } from '../UNSAFE_TextField';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\nimport { Size } from '../utils/UNSAFE_size';\nimport { useCurrentValueReducer } from '../hooks/UNSAFE_useCurrentValueReducer';\nimport { ValueUpdateDetail } from '../utils/UNSAFE_valueUpdateDetail';\nimport { MaxLengthCounter } from '../UNSAFE_TextArea';\nimport { useTranslationBundle } from '../hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '../resources/nls/bundle';\nimport { ComponentMessageItem } from '../UNSAFE_ComponentMessage';\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 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 * 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 * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\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 role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\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 */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\ntype FocusSelectHandle = FocusableHandle & Partial<SelectableHandle>;\n/**\n * A text area auto size displays a field that allows a user to enter a multi-line text value, and will adjust its height based on its content.\n */\nexport const TextAreaAutosize = 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 maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\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 // 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 | HTMLDivElement>(null);\n\n const {\n focusProps,\n isFocused,\n methods: focusMethods\n } = useFocusableTextField<HTMLTextAreaElement, HTMLTextAreaElement | HTMLDivElement>({\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 useTextAreaAutosizing({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n\n if (isReadonly) {\n // TODO: should be able to configure whether start/end content is shown when readonly\n // JET-49916 - Preact InputText: show start/end content when readonly\n const mainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={inputProps['aria-describedby']}\n aria-label={ariaLabel}\n aria-labelledby={labelProps.id}\n elementRef={readonlyElementRef}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\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 colSpan={columnSpan}\n compactUserAssistance={compactUserAssistance}\n inlineUserAssistance={inlineUserAssistance}\n variant=\"textarea\"\n mainContent={mainContent}\n ref={anchorRef}\n testId={testId}\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={minRows}\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}>\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 testId={testId}\n {...textFieldProps}\n {...fieldLabelProps}\n />\n </FormFieldContext.Provider>\n );\n }\n);\n"],"names":["useLayoutEffect","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACO,MAAM,mBAAmB,GAAG,CAAC,QAA6B,KAAY;IAC3E,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AACxD,IAAA,MAAM,kBAAkB,GAAG,aAAa,CAAC,UAAU,CAAC;AACpD,IAAA,IAAI,kBAAkB,KAAK,QAAQ,EAAE;;;;;QAKnC,MAAM,QAAQ,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QACpD,OAAO,GAAG,GAAG,QAAQ,CAAC;KACvB;AACD,IAAA,OAAO,UAAU,CAAC,kBAAkB,CAAC,CAAC;AACxC,CAAC,CAAC;AACK,MAAM,gBAAgB,GAAG,CAAC,QAA6B,KAAI;IAChE,MAAM,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACnD,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,YAAY,GAAG,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAA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