@oracle/oraclejet-preact 17.0.5 → 17.0.7
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-c8070525.js +1 -1
- package/amd/BarChart-be1d51d4.js +1 -1
- package/amd/BaseButton-83ce1d00.js +1 -1
- package/amd/BaseCardView-1aa0d986.js +1 -1
- package/amd/BaseCardViewSelectionTest-28e25f08.js +2 -0
- package/amd/BaseCardViewSelectionTest-28e25f08.js.map +1 -0
- package/amd/BaseNavigationListItem-4a940426.js +1 -1
- package/amd/ButtonSet-d8cd5447.js +1 -1
- package/amd/ButtonSetIconButton-08612ca6.js +1 -1
- package/amd/Center-5f845605.js +2 -0
- package/amd/Center-5f845605.js.map +1 -0
- package/amd/Chart-4796be31.js +1 -1
- package/amd/CheckboxControl-7d539ab3.js +1 -1
- package/amd/CheckboxRadioField-da88bd6f.js +1 -1
- package/amd/Chip-26339152.js +1 -1
- package/amd/ClearIcon-a29e57fb.js +1 -1
- package/amd/CollapseIcon-c433fd3e.js +1 -1
- package/amd/Collapsible-8f15bec2.js +1 -1
- package/amd/CompactHelpSource-7de24d56.js +1 -1
- package/amd/CompactLabelAssistance-91aeaa2e.js +2 -0
- package/amd/CompactLabelAssistance-91aeaa2e.js.map +1 -0
- package/amd/CompactUserAssistance-b2cbdbad.js +1 -1
- package/amd/ComponentMessageContainer-dc4b7c7f.js +1 -1
- package/amd/ConveyorBeltItem-d398eaa6.js +1 -1
- package/amd/DatePicker-3996fc76.js +2 -0
- package/amd/DatePicker-3996fc76.js.map +1 -0
- package/amd/DatePickerHeader-52c085e6.js +1 -1
- package/amd/Diagram-737e9921.js +2 -0
- package/amd/Diagram-737e9921.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-09a24655.js +1 -1
- package/amd/DirectionalExpandArrowIcon-c8f2e596.js +1 -1
- package/amd/DragHandle-351a20be.js +1 -1
- package/amd/Dropdown-de472a1d.js +2 -0
- package/amd/Dropdown-de472a1d.js.map +1 -0
- package/amd/EnvironmentProvider-46d0a245.js +2 -0
- package/amd/EnvironmentProvider-46d0a245.js.map +1 -0
- package/amd/FilePicker-9b2fb661.js +1 -1
- package/amd/Flex-1f27b601.js +2 -0
- package/amd/Flex-1f27b601.js.map +1 -0
- package/amd/Floating-85851b1a.js +2 -0
- package/amd/Floating-85851b1a.js.map +1 -0
- package/amd/FormLayout-80b89e74.js +1 -1
- package/amd/Gantt-6fe34398.js +1 -1
- package/amd/Grid-85171367.js +2 -0
- package/amd/Grid-85171367.js.map +1 -0
- package/amd/Gridlines-11a94c28.js +2 -0
- package/amd/Gridlines-11a94c28.js.map +1 -0
- package/amd/GroupLoadingIndicator-e66ed431.js +1 -1
- package/amd/HighlightText-ad9bc1f8.js +2 -0
- package/amd/HighlightText-ad9bc1f8.js.map +1 -0
- package/amd/Icon-599f55f3.js +1 -1
- package/amd/IconButton-1b328b69.js +1 -1
- package/amd/IconMenuButton-c275cfbb.js +1 -1
- package/amd/IconSwitchButton-0e888503.js +1 -1
- package/amd/IconToggleButton-563a5127.js +1 -1
- package/amd/IconUserAssistance-5bdaa6bf.js +2 -0
- package/amd/IconUserAssistance-5bdaa6bf.js.map +1 -0
- package/amd/Indexer-204a6d88.js +1 -1
- package/amd/InlineHelpSource-359fd9df.js +1 -1
- package/amd/InlineUserAssistance-f4d1fa1b.js +1 -1
- package/amd/InputDateMask-b7a27faa.js +1 -1
- package/amd/InputDatePicker-0012b304.js +2 -0
- package/amd/InputDatePicker-0012b304.js.map +1 -0
- package/amd/InputPassword-03f24e78.js +1 -1
- package/amd/InputText-da0a5c0f.js +1 -1
- package/amd/Label-3f8fc274.js +1 -1
- package/amd/LabelValueLayout-89e9f1be.js +1 -1
- package/amd/Layer-3cc44164.js +2 -0
- package/amd/Layer-3cc44164.js.map +1 -0
- package/amd/LayerHost-eab40731.js +2 -0
- package/amd/LayerHost-eab40731.js.map +1 -0
- package/amd/LayerManager-d0836029.js +2 -0
- package/amd/LayerManager-d0836029.js.map +1 -0
- package/amd/Legend-42f8653b.js +1 -1
- package/amd/LineAreaChart-2057f8b4.js +2 -0
- package/amd/LineAreaChart-2057f8b4.js.map +1 -0
- package/amd/Link-6f583879.js +1 -1
- package/amd/List-5958c802.js +1 -1
- package/amd/ListItemLayout-dba9e24b.js +2 -0
- package/amd/ListItemLayout-dba9e24b.js.map +1 -0
- package/amd/ListView-27d10b67.js +1 -1
- package/amd/LiveRegion-be6f36d7.js +2 -0
- package/amd/LiveRegion-be6f36d7.js.map +1 -0
- package/amd/MaxLengthCounter-caafceef.js +2 -0
- package/amd/MaxLengthCounter-caafceef.js.map +1 -0
- package/amd/MaxLengthLiveRegion-23d7e335.js +2 -0
- package/amd/MaxLengthLiveRegion-23d7e335.js.map +1 -0
- package/amd/Menu-51409b28.js +2 -0
- package/amd/Menu-51409b28.js.map +1 -0
- package/amd/MenuButton-c8fb534d.js +1 -1
- package/amd/MenuItem-644f8619.js +1 -1
- package/amd/Message-51d787d0.js +1 -1
- package/amd/MessageLayer-d2c49999.js +2 -0
- package/amd/MessageLayer-d2c49999.js.map +1 -0
- package/amd/MessageToast-e0e07765.js +1 -1
- package/amd/MessagesManager-78a10f78.js +1 -1
- package/amd/MeterBar-38666619.js +1 -1
- package/amd/MeterCircle-f1561632.js +1 -1
- package/amd/Modal-8c095bea.js +2 -0
- package/amd/Modal-8c095bea.js.map +1 -0
- package/amd/MonthView-b5d1d69d.js +2 -0
- package/amd/MonthView-b5d1d69d.js.map +1 -0
- package/amd/NavigationListItem-c96ac144.js +1 -1
- package/amd/NumberInputText-0d8284f8.js +1 -1
- package/amd/OverflowTabBarItem-f781e527.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-4d70af90.js +1 -1
- package/amd/PieChart-ab4c95f7.js +2 -0
- package/amd/PieChart-ab4c95f7.js.map +1 -0
- package/amd/Popup-249d77c3.js +2 -0
- package/amd/Popup-249d77c3.js.map +1 -0
- package/amd/ProgressBar-f82d6b43.js +2 -0
- package/amd/ProgressBar-f82d6b43.js.map +1 -0
- package/amd/ProgressCircle-fc85cd7c.js +2 -0
- package/amd/ProgressCircle-fc85cd7c.js.map +1 -0
- package/amd/RadioItem-27c120ba.js +1 -1
- package/amd/RatingGauge-dfe9f698.js +1 -1
- package/amd/ReadonlyTextFieldInput-a5e85e5d.js +1 -1
- package/amd/RemovableNavigationListItem-87ecbae7.js +1 -1
- package/amd/RemovableTabBarItem-89287a9b.js +1 -1
- package/amd/ReorderableTabBar-05821909.js +1 -1
- package/amd/RevealToggleIcon-ef89d654.js +1 -1
- package/amd/SectionalLegend-798dbecb.js +1 -1
- package/amd/SectionedContent-655a773a.js +2 -0
- package/amd/SectionedContent-655a773a.js.map +1 -0
- package/amd/SelectMultiple-fabd883c.js +1 -1
- package/amd/SelectSingle-34d636a8.js +1 -1
- package/amd/SelectionCard-0ecc7773.js +2 -0
- package/amd/SelectionCard-0ecc7773.js.map +1 -0
- package/amd/Selector-ad2af152.js +1 -1
- package/amd/SelectorAll-879d186e.js +1 -1
- package/amd/Sheet-6447f399.js +2 -0
- package/amd/Sheet-6447f399.js.map +1 -0
- package/amd/SplitMenuButton-deb0fc04.js +1 -1
- package/amd/StyledTextField-8ac3bbb4.js +1 -1
- package/amd/Submenu-b20a55aa.js +1 -1
- package/amd/TabBar-10096a0c.js +1 -1
- package/amd/TabBarItem-7f4a5e0b.js +1 -1
- package/amd/TabBarLayout-f8e0fcad.js +1 -1
- package/amd/TabBarMixed-5adc54c4.js +1 -1
- package/amd/TabBarMixedSeparator-10a52b13.js +2 -0
- package/amd/TabBarMixedSeparator-10a52b13.js.map +1 -0
- package/amd/Table-fda0ad21.js +1 -1
- package/amd/TagCloud-a37fcea5.js +1 -1
- package/amd/TextArea-44c90bc4.js +2 -0
- package/amd/TextArea-44c90bc4.js.map +1 -0
- package/amd/TextAreaAutosize-0a023972.js +2 -0
- package/amd/TextAreaAutosize-0a023972.js.map +1 -0
- package/amd/TextField-0fc70892.js +1 -1
- package/amd/TextFieldInput-dfd9529f.js +1 -1
- package/amd/Theme-redwood/theme.css +251 -251
- package/amd/Theme-stable/theme.css +341 -341
- package/amd/TimeComponentCanvas2D-d4a5891c.js +1 -1
- package/amd/Toolbar-98c1d888.js +1 -1
- package/amd/TruncatingBadge-67192c05.js +1 -1
- package/amd/TruncatingText-27ffd8e4.js +1 -1
- package/amd/UNSAFE_ActionCard.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_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_ProgressCircle.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-8701dec6.js +2 -0
- package/amd/View-8701dec6.js.map +1 -0
- package/amd/VisNoData-bfb5065e.js +2 -0
- package/amd/VisNoData-bfb5065e.js.map +1 -0
- package/amd/VisProgressiveLoader-ef9de93a.js +2 -0
- package/amd/VisProgressiveLoader-ef9de93a.js.map +1 -0
- package/amd/VisTabularDatatip-5e43455b.js +2 -0
- package/amd/VisTabularDatatip-5e43455b.js.map +1 -0
- package/amd/WindowOverlay-c09fece2.js +2 -0
- package/amd/WindowOverlay-c09fece2.js.map +1 -0
- package/amd/YearsGridView-91e4744d.js +2 -0
- package/amd/YearsGridView-91e4744d.js.map +1 -0
- 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-17fdb080.js +2 -0
- package/amd/index-17fdb080.js.map +1 -0
- package/amd/listViewSelectionTests-a0132dcc.js +1 -1
- package/amd/render-9b32a558.js +2 -0
- package/amd/render-9b32a558.js.map +1 -0
- package/amd/tabbableUtils-5b5b70da.js +2 -0
- package/amd/tabbableUtils-5b5b70da.js.map +1 -0
- package/amd/testData-8e20304d.js +2 -0
- package/amd/testData-8e20304d.js.map +1 -0
- package/amd/useCellNavigation-37e0539a.js +1 -1
- package/amd/useChartContextMenu-c50617f2.js +1 -1
- package/amd/useChartDatatip-672232af.js +2 -0
- package/amd/useChartDatatip-672232af.js.map +1 -0
- package/amd/useChartMarquee-0e818e77.js +1 -1
- package/amd/useColorScheme-711c1e4b.js +2 -0
- package/amd/useColorScheme-711c1e4b.js.map +1 -0
- package/amd/useContextMenu-e6b10380.js +1 -1
- package/amd/useCssVars-948d1e7c.js +2 -0
- package/amd/useCssVars-948d1e7c.js.map +1 -0
- package/amd/useCurrentBgColor-40103ccc.js +2 -0
- package/amd/useCurrentBgColor-40103ccc.js.map +1 -0
- package/amd/useCurrentKey-00f81f0b.js +2 -0
- package/amd/useCurrentKey-00f81f0b.js.map +1 -0
- package/amd/useDatatip-d00735e9.js +2 -0
- package/amd/useDatatip-d00735e9.js.map +1 -0
- package/amd/useDensity-435224bb.js +2 -0
- package/amd/useDensity-435224bb.js.map +1 -0
- package/amd/useFloating-bbd3396b.js +2 -0
- package/amd/useFloating-bbd3396b.js.map +1 -0
- package/amd/useKeyboardEvents-e9a2b72b.js +2 -0
- package/amd/useKeyboardEvents-e9a2b72b.js.map +1 -0
- package/amd/useLegendContextMenu-5b1ca75b.js +1 -1
- package/amd/useMeterDatatip-60af9281.js +2 -0
- package/amd/useMeterDatatip-60af9281.js.map +1 -0
- package/amd/useOutsideClick-4519a64e.js +2 -0
- package/amd/useOutsideClick-4519a64e.js.map +1 -0
- package/amd/usePopupAnimation-273054a0.js +2 -0
- package/amd/usePopupAnimation-273054a0.js.map +1 -0
- package/amd/usePrefixSuffix-6ad5569e.js +2 -0
- package/amd/usePrefixSuffix-6ad5569e.js.map +1 -0
- package/amd/useReorderableItem-d977f935.js +1 -1
- package/amd/useRovingTabIndexContainer-12784fca.js +2 -0
- package/amd/useRovingTabIndexContainer-12784fca.js.map +1 -0
- package/amd/useScale-e6b83382.js +2 -0
- package/amd/useScale-e6b83382.js.map +1 -0
- package/amd/useSelectCommon-8657b927.js +1 -1
- package/amd/useSelectDrill-f2ae347c.js +2 -0
- package/amd/useSelectDrill-f2ae347c.js.map +1 -0
- package/amd/useSelection-0440840d.js +2 -0
- package/amd/useSelection-0440840d.js.map +1 -0
- package/amd/useSelection-f1d96ce9.js +2 -0
- package/amd/useSelection-f1d96ce9.js.map +1 -0
- package/amd/useTabBar-451e6953.js +2 -0
- package/amd/useTabBar-451e6953.js.map +1 -0
- package/amd/useTestId-82cf22a4.js +2 -0
- package/amd/useTestId-82cf22a4.js.map +1 -0
- package/amd/useTheme-1941efb7.js +2 -0
- package/amd/useTheme-1941efb7.js.map +1 -0
- package/amd/useThemeInterpolations-41cbd433.js +2 -0
- package/amd/useThemeInterpolations-41cbd433.js.map +1 -0
- package/amd/useTooltip-d28e9b0f.js +2 -0
- package/amd/useTooltip-d28e9b0f.js.map +1 -0
- package/amd/useTooltipControlled-abf886f2.js +2 -0
- package/amd/useTooltipControlled-abf886f2.js.map +1 -0
- package/amd/useTranslationBundle-6ef0dab6.js +2 -0
- package/amd/useTranslationBundle-6ef0dab6.js.map +1 -0
- package/amd/useUser-6dd85af9.js +2 -0
- package/amd/useUser-6dd85af9.js.map +1 -0
- package/amd/useVisEvents-75dbf576.js +2 -0
- package/amd/useVisEvents-75dbf576.js.map +1 -0
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/withDirectionIcon-c0ee0f7e.js +2 -0
- package/amd/withDirectionIcon-c0ee0f7e.js.map +1 -0
- package/cjs/ActionCard-aade4e40.js +1 -1
- package/cjs/BarChart-11c56b6a.js +2 -2
- package/cjs/BaseButton-ff6f39f2.js +2 -2
- package/cjs/BaseCardView-99f89fbf.js +619 -0
- package/cjs/BaseCardView-99f89fbf.js.map +1 -0
- package/cjs/BaseCardViewSelectionTest-1d3dd9f3.js +696 -0
- package/cjs/BaseCardViewSelectionTest-1d3dd9f3.js.map +1 -0
- package/cjs/BaseNavigationListItem-070d75bc.js +1 -1
- package/cjs/ButtonSet-dc50f9d4.js +2 -2
- package/cjs/ButtonSetIconButton-50543cd6.js +2 -2
- package/cjs/CardFlexView-48f39ef2.js +29 -0
- package/cjs/CardFlexView-48f39ef2.js.map +1 -0
- package/cjs/CardGridView-6bb427fe.js +17 -0
- package/cjs/CardGridView-6bb427fe.js.map +1 -0
- package/cjs/Center-a76dcdfe.js +18 -0
- package/cjs/Center-a76dcdfe.js.map +1 -0
- package/cjs/Chart-6684fa6d.js +9 -9
- package/cjs/CheckboxControl-24658cde.js +6 -6
- package/cjs/CheckboxRadioField-0d4b2c66.js +5 -5
- package/cjs/CheckboxSet-13a5c10c.js +53 -0
- package/cjs/CheckboxSet-13a5c10c.js.map +1 -0
- package/cjs/Chip-a24817e0.js +1 -1
- package/cjs/ClearIcon-50725213.js +1 -1
- package/cjs/CollapseIcon-a1da1523.js +1 -1
- package/cjs/Collapsible-95f66549.js +2 -2
- package/cjs/CompactHelpSource-f4e9198b.js +2 -2
- package/cjs/CompactLabelAssistance-7dd6ac2c.js +29 -0
- package/cjs/CompactLabelAssistance-7dd6ac2c.js.map +1 -0
- package/cjs/CompactUserAssistance-f88519f9.js +4 -4
- package/cjs/ComponentMessageContainer-a9195577.js +4 -4
- package/cjs/ConveyorBeltItem-a0d53a2f.js +2 -2
- package/cjs/DatePicker-3c46ec73.js +564 -0
- package/cjs/DatePicker-3c46ec73.js.map +1 -0
- package/cjs/DatePickerHeader-589e8b78.js +3 -3
- package/cjs/Diagram-5e7f1aec.js +2000 -0
- package/cjs/Diagram-5e7f1aec.js.map +1 -0
- package/cjs/DirectionalCollapseArrowIcon-d2b24ac3.js +1 -1
- package/cjs/DirectionalExpandArrowIcon-adf981f6.js +1 -1
- package/cjs/DragHandle-d35fc8ac.js +1 -1
- package/cjs/Dropdown-7baf2926.js +82 -0
- package/cjs/Dropdown-7baf2926.js.map +1 -0
- package/cjs/EnvironmentProvider-e5a93f24.js +61 -0
- package/cjs/EnvironmentProvider-e5a93f24.js.map +1 -0
- package/cjs/FilePicker-47c7bc3f.js +2 -2
- package/cjs/Flex-6529d995.js +33 -0
- package/cjs/Flex-6529d995.js.map +1 -0
- package/cjs/Floating-9e569e63.js +464 -0
- package/cjs/Floating-9e569e63.js.map +1 -0
- package/cjs/FormLayout-ab6f90b8.js +1 -1
- package/cjs/Gantt-912df32a.js +9 -9
- package/cjs/Grid-fe4fef40.js +29 -0
- package/cjs/Grid-fe4fef40.js.map +1 -0
- package/cjs/Gridlines-b31d8972.js +123 -0
- package/cjs/Gridlines-b31d8972.js.map +1 -0
- package/cjs/GroupLoadingIndicator-3c9d8341.js +2 -2
- package/cjs/HighlightText-da873ed3.js +33 -0
- package/cjs/HighlightText-da873ed3.js.map +1 -0
- package/cjs/Icon-3ffd13dc.js +2 -2
- package/cjs/IconButton-94f8ca5c.js +2 -2
- package/cjs/IconMenuButton-426f2aa8.js +4 -4
- package/cjs/IconSwitchButton-094ace3a.js +2 -2
- package/cjs/IconToggleButton-0c415743.js +2 -2
- package/cjs/IconUserAssistance-cee464a4.js +75 -0
- package/cjs/IconUserAssistance-cee464a4.js.map +1 -0
- package/cjs/Indexer-0663a593.js +339 -0
- package/cjs/Indexer-0663a593.js.map +1 -0
- package/cjs/InlineHelpSource-7b793104.js +1 -1
- package/cjs/InlineUserAssistance-ad3fa8cc.js +5 -5
- package/cjs/InputDateMask-f15d926d.js +7 -7
- package/cjs/InputDatePicker-005c03d0.js +8 -8
- package/cjs/InputPassword-16e31428.js +4 -4
- package/cjs/InputText-75ae1f44.js +6 -6
- package/cjs/Label-d9ad059f.js +5 -5
- package/cjs/LabelValueLayout-24937fa5.js +1 -1
- package/cjs/Layer-845cc772.js +87 -0
- package/cjs/Layer-845cc772.js.map +1 -0
- package/cjs/LayerHost-a6007465.js +45 -0
- package/cjs/LayerHost-a6007465.js.map +1 -0
- package/cjs/LayerManager-6fa20e12.js +36 -0
- package/cjs/LayerManager-6fa20e12.js.map +1 -0
- package/cjs/Legend-a03cbeb5.js +3 -3
- package/cjs/LineAreaChart-e8165e93.js +225 -0
- package/cjs/LineAreaChart-e8165e93.js.map +1 -0
- package/cjs/Link-98de6624.js +1 -1
- package/cjs/List-8802ce35.js +566 -0
- package/cjs/List-8802ce35.js.map +1 -0
- package/cjs/ListItemLayout-24a81393.js +60 -0
- package/cjs/ListItemLayout-24a81393.js.map +1 -0
- package/cjs/ListView-f7871b48.js +388 -0
- package/cjs/ListView-f7871b48.js.map +1 -0
- package/cjs/LiveRegion-fcb0bb37.js +41 -0
- package/cjs/LiveRegion-fcb0bb37.js.map +1 -0
- package/cjs/LoadMoreCollection-69bc038c.js +34 -0
- package/cjs/LoadMoreCollection-69bc038c.js.map +1 -0
- package/cjs/MaxLengthLiveRegion-2dba8c9c.js +25 -0
- package/cjs/MaxLengthLiveRegion-2dba8c9c.js.map +1 -0
- package/cjs/Menu-afcc3db8.js +317 -0
- package/cjs/Menu-afcc3db8.js.map +1 -0
- package/cjs/MenuButton-58fd9f46.js +3 -3
- package/cjs/MenuItem-9a73694f.js +1 -1
- package/cjs/Message-b703f9e4.js +2 -2
- package/cjs/MessageLayer-b2a48a1f.js +61 -0
- package/cjs/MessageLayer-b2a48a1f.js.map +1 -0
- package/cjs/MessageToast-4462ab8d.js +8 -8
- package/cjs/MessagesManager-9cc43d3a.js +3 -3
- package/cjs/MeterBar-97378f96.js +4 -4
- package/cjs/MeterCircle-71fd9b44.js +4 -4
- package/cjs/Modal-fd178291.js +258 -0
- package/cjs/Modal-fd178291.js.map +1 -0
- package/cjs/MonthView-de994aa0.js +154 -0
- package/cjs/MonthView-de994aa0.js.map +1 -0
- package/cjs/NavigationListItem-994a877b.js +153 -0
- package/cjs/NavigationListItem-994a877b.js.map +1 -0
- package/cjs/NumberInputText-8771fbad.js +6 -6
- package/cjs/OverflowTabBarItem-47fb81c4.js +88 -0
- package/cjs/OverflowTabBarItem-47fb81c4.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +22 -22
- package/cjs/PRIVATE_Chart.js +29 -29
- package/cjs/PRIVATE_CheckboxControl.js +21 -21
- package/cjs/PRIVATE_CheckboxRadioField.js +22 -22
- package/cjs/PRIVATE_ClearIcon.js +16 -16
- package/cjs/PRIVATE_DatePickerHeader.js +18 -18
- package/cjs/PRIVATE_DatePickerLayout.js +4 -4
- package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
- package/cjs/PRIVATE_FormControls.js +19 -19
- package/cjs/PRIVATE_IconSwitchButton.js +14 -14
- package/cjs/PRIVATE_Icons/CheckboxMixed.js +14 -14
- package/cjs/PRIVATE_Icons/CheckboxOff.js +14 -14
- package/cjs/PRIVATE_Icons/CheckboxOn.js +14 -14
- package/cjs/PRIVATE_Icons/RadiobuttonOff.js +14 -14
- package/cjs/PRIVATE_Icons/RadiobuttonOn.js +14 -14
- package/cjs/PRIVATE_Icons/WarningS.js +14 -14
- package/cjs/PRIVATE_List.js +22 -22
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_Message.js +17 -17
- package/cjs/PRIVATE_MessageLayer.js +11 -11
- package/cjs/PRIVATE_MonthView.js +7 -7
- package/cjs/PRIVATE_MonthYearGridView.js +7 -7
- package/cjs/PRIVATE_PlotArea.js +4 -4
- package/cjs/PRIVATE_RevealToggleIcon.js +15 -15
- package/cjs/PRIVATE_SelectCommon.js +31 -31
- package/cjs/PRIVATE_StyledCheckbox.js +14 -14
- package/cjs/PRIVATE_Table.js +19 -19
- package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
- package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
- package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
- package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
- package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
- package/cjs/PRIVATE_TimeComponent.js +17 -17
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
- package/cjs/PictoChart-bbd66c57.js +6 -6
- package/cjs/PieChart-af6fad17.js +435 -0
- package/cjs/PieChart-af6fad17.js.map +1 -0
- package/cjs/Popup-a793c4a2.js +242 -0
- package/cjs/Popup-a793c4a2.js.map +1 -0
- package/cjs/ProgressBar-c1bfc481.js +60 -0
- package/cjs/ProgressBar-c1bfc481.js.map +1 -0
- package/cjs/ProgressCircle-579da214.js +46 -0
- package/cjs/ProgressCircle-579da214.js.map +1 -0
- package/cjs/RadioItem-f53a057a.js +6 -6
- package/cjs/RatingGauge-bafed83c.js +7 -7
- package/cjs/ReadonlyTextFieldInput-fb7ffa5e.js +1 -1
- package/cjs/RemovableNavigationListItem-6231df42.js +1 -1
- package/cjs/RemovableTabBarItem-df8144f5.js +2 -2
- package/cjs/ReorderableTabBar-5743c66a.js +2 -2
- package/cjs/RevealToggleIcon-b5738e5e.js +1 -1
- package/cjs/SectionalLegend-959d7977.js +4 -4
- package/cjs/SectionedContent-5e956228.js +67 -0
- package/cjs/SectionedContent-5e956228.js.map +1 -0
- package/cjs/SelectMultiple-fcfb029a.js +1321 -0
- package/cjs/SelectMultiple-fcfb029a.js.map +1 -0
- package/cjs/SelectSingle-40cb868a.js +721 -0
- package/cjs/SelectSingle-40cb868a.js.map +1 -0
- package/cjs/SelectionCard-9a4f325f.js +40 -0
- package/cjs/SelectionCard-9a4f325f.js.map +1 -0
- package/cjs/Selector-cc35dbb1.js +1 -1
- package/cjs/SelectorAll-d8d3cb7b.js +5 -5
- package/cjs/Sheet-c3a675fc.js +161 -0
- package/cjs/Sheet-c3a675fc.js.map +1 -0
- package/cjs/SplitMenuButton-336bb8d6.js +3 -3
- package/cjs/StyledTextField-351ea57e.js +3 -3
- package/cjs/Submenu-b7daab71.js +1 -1
- package/cjs/TabBar-73bb6c97.js +6 -6
- package/cjs/TabBarItem-2b3039aa.js +3 -3
- package/cjs/TabBarLayout-c2efbeb3.js +1 -1
- package/cjs/TabBarMixed-426fcaf1.js +6 -6
- package/cjs/TabBarMixedSeparator-e949e3c9.js +21 -0
- package/cjs/TabBarMixedSeparator-e949e3c9.js.map +1 -0
- package/cjs/Table-17b3dbc3.js +3501 -0
- package/cjs/Table-17b3dbc3.js.map +1 -0
- package/cjs/TableView-26f85ff8.js +26 -0
- package/cjs/TableView-26f85ff8.js.map +1 -0
- package/cjs/TagCloud-26a38c04.js +9 -9
- package/cjs/TextArea-b2646d51.js +5 -5
- package/cjs/TextAreaAutosize-d8cad6ce.js +5 -5
- package/cjs/TextField-0f4e945f.js +3 -3
- package/cjs/TextFieldInput-4904c227.js +1 -1
- package/cjs/Theme-redwood/theme.css +170 -170
- package/cjs/Theme-stable/theme.css +204 -204
- package/cjs/TimeComponentCanvas2D-babbee35.js +4 -4
- package/cjs/Toolbar-415d636a.js +1 -1
- package/cjs/TruncatingBadge-7516b73e.js +2 -2
- package/cjs/TruncatingText-238fc336.js +2 -2
- package/cjs/UNSAFE_ActionCard.js +2 -2
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +29 -29
- package/cjs/UNSAFE_BarChart.js +29 -29
- package/cjs/UNSAFE_BaseButton.js +3 -3
- package/cjs/UNSAFE_Button.js +3 -3
- package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +18 -18
- package/cjs/UNSAFE_ButtonSet.js +4 -4
- package/cjs/UNSAFE_ButtonSetButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetIconButton.js +14 -14
- package/cjs/UNSAFE_ButtonSetItem.js +14 -14
- package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
- package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
- package/cjs/UNSAFE_CardFlexView.js +23 -23
- package/cjs/UNSAFE_CardGridView.js +23 -23
- package/cjs/UNSAFE_Center.js +5 -5
- package/cjs/UNSAFE_ChartWithLegend.js +4 -4
- package/cjs/UNSAFE_Checkbox.js +21 -21
- package/cjs/UNSAFE_CheckboxItem.js +100 -50
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +36 -65
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_Chip.js +2 -2
- package/cjs/UNSAFE_Collapsible.js +16 -16
- package/cjs/UNSAFE_ComponentMessage.js +17 -17
- package/cjs/UNSAFE_ConveyorBelt.js +14 -14
- package/cjs/UNSAFE_DatePicker.js +23 -23
- package/cjs/UNSAFE_Diagram.js +15 -15
- package/cjs/UNSAFE_Dialog.js +9 -9
- package/cjs/UNSAFE_DragHandle.js +15 -15
- package/cjs/UNSAFE_DrawerLayout.js +11 -11
- package/cjs/UNSAFE_DrawerPopup.js +10 -10
- package/cjs/UNSAFE_Dropdown.js +12 -12
- package/cjs/UNSAFE_Environment.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +24 -24
- package/cjs/UNSAFE_FilePicker.js +4 -4
- package/cjs/UNSAFE_Flex.js +4 -4
- package/cjs/UNSAFE_Floating.js +10 -10
- package/cjs/UNSAFE_FormLayout.js +2 -2
- package/cjs/UNSAFE_Gantt.js +21 -21
- package/cjs/UNSAFE_Grid.js +4 -4
- package/cjs/UNSAFE_HighlightText.js +4 -4
- package/cjs/UNSAFE_Icon.js +14 -14
- package/cjs/UNSAFE_IconButton.js +14 -14
- package/cjs/UNSAFE_IconMenuButton.js +18 -18
- package/cjs/UNSAFE_IconToggleButton.js +14 -14
- package/cjs/UNSAFE_Indexer.js +8 -8
- package/cjs/UNSAFE_InputDateMask.js +22 -22
- package/cjs/UNSAFE_InputDatePicker.js +31 -31
- package/cjs/UNSAFE_InputPassword.js +21 -21
- package/cjs/UNSAFE_InputSensitiveText.js +23 -23
- package/cjs/UNSAFE_InputText.js +24 -24
- package/cjs/UNSAFE_Label.js +21 -21
- package/cjs/UNSAFE_LabelValueLayout.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +23 -23
- package/cjs/UNSAFE_Layer.js +7 -7
- package/cjs/UNSAFE_Legend.js +22 -22
- package/cjs/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +29 -29
- package/cjs/UNSAFE_LineAreaChart.js +30 -30
- package/cjs/UNSAFE_Link.js +2 -2
- package/cjs/UNSAFE_ListItemLayout.js +5 -5
- package/cjs/UNSAFE_ListView.js +29 -29
- package/cjs/UNSAFE_LiveRegion.js +4 -4
- package/cjs/UNSAFE_Menu.js +20 -20
- package/cjs/UNSAFE_MenuButton.js +18 -18
- package/cjs/UNSAFE_MessageBanner.js +17 -17
- package/cjs/UNSAFE_MessageToast.js +20 -20
- package/cjs/UNSAFE_MeterBar.js +14 -14
- package/cjs/UNSAFE_MeterCircle.js +14 -14
- package/cjs/UNSAFE_Modal.js +7 -7
- package/cjs/UNSAFE_NavigationList.js +22 -22
- package/cjs/UNSAFE_NavigationListCommon.js +16 -16
- package/cjs/UNSAFE_NumberInputText.js +23 -23
- package/cjs/UNSAFE_OverflowTabBar.js +25 -25
- package/cjs/UNSAFE_PictoChart.js +13 -13
- package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +14 -14
- package/cjs/UNSAFE_PieChart.js +14 -14
- package/cjs/UNSAFE_Popup.js +15 -15
- package/cjs/UNSAFE_ProgressBar.js +5 -5
- package/cjs/UNSAFE_ProgressCircle.js +4 -4
- package/cjs/UNSAFE_RadioItem.js +21 -21
- package/cjs/UNSAFE_RadioSet.js +21 -21
- package/cjs/UNSAFE_RatingGauge.js +15 -15
- package/cjs/UNSAFE_ReorderableTabBar.js +21 -21
- package/cjs/UNSAFE_SectionalLegend.js +23 -23
- package/cjs/UNSAFE_SelectMultiple.js +35 -35
- package/cjs/UNSAFE_SelectSingle.js +35 -35
- package/cjs/UNSAFE_SelectionCard.js +4 -4
- package/cjs/UNSAFE_Selector.js +14 -14
- package/cjs/UNSAFE_SelectorAll.js +17 -17
- package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
- package/cjs/UNSAFE_Sheet.js +10 -10
- package/cjs/UNSAFE_SplitMenuButton.js +18 -18
- package/cjs/UNSAFE_TabBar.js +26 -26
- package/cjs/UNSAFE_TabBarCommon.js +25 -25
- package/cjs/UNSAFE_TabBarMixed.js +29 -29
- package/cjs/UNSAFE_TableView.js +20 -20
- package/cjs/UNSAFE_TagCloud.js +22 -22
- package/cjs/UNSAFE_TextArea.js +23 -23
- package/cjs/UNSAFE_TextAreaAutosize.js +23 -23
- package/cjs/UNSAFE_TextField.js +7 -7
- package/cjs/UNSAFE_ToggleButton.js +3 -3
- package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +20 -20
- package/cjs/UNSAFE_Toolbar.js +4 -4
- package/cjs/UNSAFE_Train.js +15 -15
- package/cjs/UNSAFE_TruncatingBadge.js +15 -15
- package/cjs/UNSAFE_TruncatingText.js +15 -15
- package/cjs/UNSAFE_UserAssistance.js +22 -22
- package/cjs/UNSAFE_View.js +7 -7
- package/cjs/UNSAFE_VirtualizedListView.js +23 -23
- package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
- package/cjs/UNSAFE_VisStatusMessage.js +6 -6
- package/cjs/UNSAFE_WindowOverlay.js +4 -4
- package/cjs/View-8f49d970.js +170 -0
- package/cjs/View-8f49d970.js.map +1 -0
- package/cjs/VirtualizedCollection-9e8c48b9.js +180 -0
- package/cjs/VirtualizedCollection-9e8c48b9.js.map +1 -0
- package/cjs/VirtualizedListView-b4147305.js +16 -0
- package/cjs/VirtualizedListView-b4147305.js.map +1 -0
- package/cjs/VisNoData-b3159e5a.js +35 -0
- package/cjs/VisNoData-b3159e5a.js.map +1 -0
- package/cjs/VisProgressiveLoader-2cf7074b.js +53 -0
- package/cjs/VisProgressiveLoader-2cf7074b.js.map +1 -0
- package/cjs/VisTabularDatatip-96e5fcf3.js +26 -0
- package/cjs/VisTabularDatatip-96e5fcf3.js.map +1 -0
- package/cjs/WindowOverlay-bb51c0ee.js +112 -0
- package/cjs/WindowOverlay-bb51c0ee.js.map +1 -0
- package/cjs/YearsGridView-6affda7f.js +190 -0
- package/cjs/YearsGridView-6affda7f.js.map +1 -0
- package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
- package/cjs/hooks/PRIVATE_useChartContextMenu.js +18 -18
- package/cjs/hooks/PRIVATE_useChartDatatip.js +13 -13
- package/cjs/hooks/PRIVATE_useChartEvents.js +17 -17
- package/cjs/hooks/PRIVATE_useChartMarquee.js +16 -16
- package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
- package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/cjs/hooks/PRIVATE_useDatatip.js +11 -11
- package/cjs/hooks/PRIVATE_useFloating.js +4 -4
- package/cjs/hooks/PRIVATE_useReorderable.js +4 -4
- package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/cjs/hooks/PRIVATE_useSelection.js +4 -4
- package/cjs/hooks/PRIVATE_useTabBar.js +5 -5
- package/cjs/hooks/PRIVATE_useVisContextMenu.js +18 -18
- package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useVisMeterEvents.js +13 -13
- package/cjs/hooks/PRIVATE_useVisSelection.js +12 -12
- package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
- package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/cjs/hooks/UNSAFE_useDensity.js +3 -3
- package/cjs/hooks/UNSAFE_useOutsideClick.js +7 -7
- package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/cjs/hooks/UNSAFE_useScale.js +3 -3
- package/cjs/hooks/UNSAFE_useTestId.js +3 -3
- package/cjs/hooks/UNSAFE_useTheme.js +3 -3
- package/cjs/hooks/UNSAFE_useThemeInterpolations.js +5 -5
- package/cjs/hooks/UNSAFE_useTooltip.js +15 -15
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/cjs/hooks/UNSAFE_useUser.js +3 -3
- package/cjs/index-5049ab6c.js +13 -0
- package/cjs/index-5049ab6c.js.map +1 -0
- package/cjs/listViewSelectionTests-3d07b4e3.js +4 -4
- package/cjs/render-7538ab25.js +41 -0
- package/cjs/render-7538ab25.js.map +1 -0
- package/cjs/tabbableUtils-5502f80e.js +81 -0
- package/cjs/tabbableUtils-5502f80e.js.map +1 -0
- package/cjs/testData-afbc1647.js +271 -0
- package/cjs/testData-afbc1647.js.map +1 -0
- package/cjs/useCellNavigation-24bff833.js +1 -1
- package/cjs/useChartContextMenu-d7ed939f.js +3 -3
- package/cjs/useChartDatatip-b838368c.js +137 -0
- package/cjs/useChartDatatip-b838368c.js.map +1 -0
- package/cjs/useChartMarquee-ab7c89ea.js +1 -1
- package/cjs/useColorScheme-b0ea4a49.js +21 -0
- package/cjs/useColorScheme-b0ea4a49.js.map +1 -0
- package/cjs/useContextMenu-f3cf0db8.js +3 -3
- package/cjs/useCssVars-839ce507.js +60 -0
- package/cjs/useCssVars-839ce507.js.map +1 -0
- package/cjs/useCurrentBgColor-2d0db090.js +21 -0
- package/cjs/useCurrentBgColor-2d0db090.js.map +1 -0
- package/cjs/useCurrentKey-9c158ccc.js +83 -0
- package/cjs/useCurrentKey-9c158ccc.js.map +1 -0
- package/cjs/useDatatip-1f5535bb.js +85 -0
- package/cjs/useDatatip-1f5535bb.js.map +1 -0
- package/cjs/useDensity-edb16927.js +21 -0
- package/cjs/useDensity-edb16927.js.map +1 -0
- package/cjs/useFloating-f4bbd8c4.js +1926 -0
- package/cjs/useFloating-f4bbd8c4.js.map +1 -0
- package/cjs/useKeyboardEvents-1b2187c2.js +81 -0
- package/cjs/useKeyboardEvents-1b2187c2.js.map +1 -0
- package/cjs/useLegendContextMenu-a10bd2fc.js +5 -5
- package/cjs/useMeterDatatip-93d199d6.js +81 -0
- package/cjs/useMeterDatatip-93d199d6.js.map +1 -0
- package/cjs/useOutsideClick-b22e1d4a.js +87 -0
- package/cjs/useOutsideClick-b22e1d4a.js.map +1 -0
- package/cjs/usePopupAnimation-d58b2664.js +87 -0
- package/cjs/usePopupAnimation-d58b2664.js.map +1 -0
- package/cjs/usePrefixSuffix-544b49ad.js +72 -0
- package/cjs/usePrefixSuffix-544b49ad.js.map +1 -0
- package/cjs/useReorderableItem-02ed8243.js +2 -2
- package/cjs/useRovingTabIndexContainer-c03da9ff.js +100 -0
- package/cjs/useRovingTabIndexContainer-c03da9ff.js.map +1 -0
- package/cjs/useScale-c5e9172c.js +21 -0
- package/cjs/useScale-c5e9172c.js.map +1 -0
- package/cjs/useSelectCommon-d39e90e2.js +633 -0
- package/cjs/useSelectCommon-d39e90e2.js.map +1 -0
- package/cjs/useSelectDrill-303b8cba.js +103 -0
- package/cjs/useSelectDrill-303b8cba.js.map +1 -0
- package/cjs/useSelection-05fa772e.js +243 -0
- package/cjs/useSelection-05fa772e.js.map +1 -0
- package/cjs/useSelection-1fe0f2c2.js +183 -0
- package/cjs/useSelection-1fe0f2c2.js.map +1 -0
- package/cjs/useTabBar-8bd94c1b.js +154 -0
- package/cjs/useTabBar-8bd94c1b.js.map +1 -0
- package/cjs/useTestId-71c3de70.js +23 -0
- package/cjs/useTestId-71c3de70.js.map +1 -0
- package/cjs/useTheme-f85b8938.js +21 -0
- package/cjs/useTheme-f85b8938.js.map +1 -0
- package/cjs/useThemeInterpolations-50ce3d68.js +33 -0
- package/cjs/useThemeInterpolations-50ce3d68.js.map +1 -0
- package/cjs/useTooltip-29b90247.js +53 -0
- package/cjs/useTooltip-29b90247.js.map +1 -0
- package/cjs/useTooltipControlled-a907e06c.js +456 -0
- package/cjs/useTooltipControlled-a907e06c.js.map +1 -0
- package/cjs/useTranslationBundle-7fcd8bd5.js +31 -0
- package/cjs/useTranslationBundle-7fcd8bd5.js.map +1 -0
- package/cjs/useUser-c8e9a94a.js +21 -0
- package/cjs/useUser-c8e9a94a.js.map +1 -0
- package/cjs/useVisEvents-b000a96f.js +155 -0
- package/cjs/useVisEvents-b000a96f.js.map +1 -0
- package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
- package/cjs/withDirectionIcon-b6772ee8.js +16 -0
- package/cjs/withDirectionIcon-b6772ee8.js.map +1 -0
- package/es/ActionCard-623c6191.js +1 -1
- package/es/BarChart-72948598.js +567 -0
- package/es/BarChart-72948598.js.map +1 -0
- package/es/BaseButton-5b2791b1.js +2 -2
- package/es/BaseCardView-59efba85.js +6 -6
- package/es/BaseCardViewSelectionTest-6796b2b4.js +683 -0
- package/es/BaseCardViewSelectionTest-6796b2b4.js.map +1 -0
- package/es/BaseNavigationListItem-3a377d46.js +119 -0
- package/es/BaseNavigationListItem-3a377d46.js.map +1 -0
- package/es/ButtonSet-fa7e8acd.js +2 -2
- package/es/ButtonSetIconButton-c5860cc1.js +2 -2
- package/es/Center-2ffc1dcc.js +16 -0
- package/es/Center-2ffc1dcc.js.map +1 -0
- package/es/Chart-304043b3.js +332 -0
- package/es/Chart-304043b3.js.map +1 -0
- package/es/CheckboxControl-7174e0b2.js +6 -6
- package/es/CheckboxRadioField-c7c4643e.js +5 -5
- package/es/Chip-2c86a76f.js +1 -1
- package/es/ClearIcon-f1f796b4.js +1 -1
- package/es/CollapseIcon-b6d7cfd6.js +1 -1
- package/es/Collapsible-4cdc17e3.js +2 -2
- package/es/CompactHelpSource-548938ff.js +2 -2
- package/es/CompactLabelAssistance-fc9478aa.js +27 -0
- package/es/CompactLabelAssistance-fc9478aa.js.map +1 -0
- package/es/CompactUserAssistance-41c32c6f.js +4 -4
- package/es/ComponentMessageContainer-7d9228a3.js +4 -4
- package/es/ConveyorBeltItem-3d1d7f3c.js +2 -2
- package/es/DatePicker-4356274b.js +562 -0
- package/es/DatePicker-4356274b.js.map +1 -0
- package/es/DatePickerHeader-7078d6e8.js +3 -3
- package/es/Diagram-214e374c.js +1998 -0
- package/es/Diagram-214e374c.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-0298f5ef.js +1 -1
- package/es/DirectionalExpandArrowIcon-cf8fd7a8.js +1 -1
- package/es/DragHandle-9514fcdc.js +1 -1
- package/es/Dropdown-717319bb.js +80 -0
- package/es/Dropdown-717319bb.js.map +1 -0
- package/es/EnvironmentProvider-f543a463.js +58 -0
- package/es/EnvironmentProvider-f543a463.js.map +1 -0
- package/es/FilePicker-d8a0ad3a.js +2 -2
- package/es/Flex-24628925.js +30 -0
- package/es/Flex-24628925.js.map +1 -0
- package/es/Floating-9703160e.js +462 -0
- package/es/Floating-9703160e.js.map +1 -0
- package/es/FormLayout-ecd0259b.js +1 -1
- package/es/Gantt-b21af627.js +9 -9
- package/es/Grid-cfeac922.js +27 -0
- package/es/Grid-cfeac922.js.map +1 -0
- package/es/Gridlines-428bf909.js +120 -0
- package/es/Gridlines-428bf909.js.map +1 -0
- package/es/GroupLoadingIndicator-9c995e99.js +1 -1
- package/es/HighlightText-180e29f6.js +31 -0
- package/es/HighlightText-180e29f6.js.map +1 -0
- package/es/Icon-90c3a630.js +2 -2
- package/es/IconButton-37310d21.js +2 -2
- package/es/IconMenuButton-9fe6cbf9.js +4 -4
- package/es/IconSwitchButton-61cabbfe.js +2 -2
- package/es/IconToggleButton-f57e5484.js +2 -2
- package/es/IconUserAssistance-c226cb4f.js +73 -0
- package/es/IconUserAssistance-c226cb4f.js.map +1 -0
- package/es/Indexer-a671092c.js +4 -4
- package/es/InlineHelpSource-b43def76.js +1 -1
- package/es/InlineUserAssistance-bb690d93.js +5 -5
- package/es/InputDateMask-7386adfe.js +7 -7
- package/es/InputDatePicker-7f9852d0.js +323 -0
- package/es/InputDatePicker-7f9852d0.js.map +1 -0
- package/es/InputPassword-1f1f80b3.js +4 -4
- package/es/InputText-5fb896e7.js +6 -6
- package/es/Label-6674b3f2.js +5 -5
- package/es/LabelValueLayout-23b74176.js +1 -1
- package/es/Layer-9b06412e.js +84 -0
- package/es/Layer-9b06412e.js.map +1 -0
- package/es/LayerHost-45f545d7.js +40 -0
- package/es/LayerHost-45f545d7.js.map +1 -0
- package/es/LayerManager-625d2503.js +34 -0
- package/es/LayerManager-625d2503.js.map +1 -0
- package/es/Legend-98a79c12.js +3 -3
- package/es/LineAreaChart-c6564934.js +223 -0
- package/es/LineAreaChart-c6564934.js.map +1 -0
- package/es/Link-bfa35319.js +1 -1
- package/es/List-9026206d.js +5 -5
- package/es/ListItemLayout-695ec1a5.js +58 -0
- package/es/ListItemLayout-695ec1a5.js.map +1 -0
- package/es/ListView-c508c3a4.js +3 -3
- package/es/LiveRegion-81216fe6.js +39 -0
- package/es/LiveRegion-81216fe6.js.map +1 -0
- package/es/MaxLengthLiveRegion-cd15b075.js +23 -0
- package/es/MaxLengthLiveRegion-cd15b075.js.map +1 -0
- package/es/Menu-c7ab8412.js +313 -0
- package/es/Menu-c7ab8412.js.map +1 -0
- package/es/MenuButton-39563941.js +3 -3
- package/es/MenuItem-a8f9c954.js +1 -1
- package/es/Message-be36b84a.js +2 -2
- package/es/MessageLayer-0946d6b7.js +58 -0
- package/es/MessageLayer-0946d6b7.js.map +1 -0
- package/es/MessageToast-2fa3c9d4.js +8 -8
- package/es/MessagesManager-0d60fea1.js +3 -3
- package/es/MeterBar-bdd7f9da.js +4 -4
- package/es/MeterCircle-fd10f18b.js +4 -4
- package/es/Modal-6b11d8cb.js +255 -0
- package/es/Modal-6b11d8cb.js.map +1 -0
- package/es/MonthView-cc017afe.js +152 -0
- package/es/MonthView-cc017afe.js.map +1 -0
- package/es/NavigationListItem-f44c1083.js +150 -0
- package/es/NavigationListItem-f44c1083.js.map +1 -0
- package/es/NumberInputText-21ded33a.js +6 -6
- package/es/OverflowTabBarItem-f4360269.js +86 -0
- package/es/OverflowTabBarItem-f4360269.js.map +1 -0
- package/es/PRIVATE_BaseCardView.js +19 -19
- package/es/PRIVATE_Chart.js +33 -33
- package/es/PRIVATE_CheckboxControl.js +21 -21
- package/es/PRIVATE_CheckboxRadioField.js +22 -22
- package/es/PRIVATE_ClearIcon.js +16 -16
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- 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 +14 -14
- package/es/PRIVATE_Icons/CheckboxMixed.js +14 -14
- package/es/PRIVATE_Icons/CheckboxOff.js +14 -14
- package/es/PRIVATE_Icons/CheckboxOn.js +14 -14
- package/es/PRIVATE_Icons/RadiobuttonOff.js +14 -14
- package/es/PRIVATE_Icons/RadiobuttonOn.js +14 -14
- package/es/PRIVATE_Icons/WarningS.js +14 -14
- package/es/PRIVATE_List.js +18 -18
- package/es/PRIVATE_Message.js +17 -17
- 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 +15 -15
- package/es/PRIVATE_SelectCommon.js +26 -26
- package/es/PRIVATE_StyledCheckbox.js +14 -14
- package/es/PRIVATE_Table.js +16 -16
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortDefaultIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +14 -14
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +14 -14
- package/es/PRIVATE_TimeComponent.js +17 -17
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-20c9a0c2.js +6 -6
- package/es/PieChart-f349498b.js +433 -0
- package/es/PieChart-f349498b.js.map +1 -0
- package/es/Popup-8889a781.js +240 -0
- package/es/Popup-8889a781.js.map +1 -0
- package/es/ProgressBar-afafe39a.js +58 -0
- package/es/ProgressBar-afafe39a.js.map +1 -0
- package/es/ProgressCircle-fa5866a3.js +44 -0
- package/es/ProgressCircle-fa5866a3.js.map +1 -0
- package/es/ProgressCircleVariants.styles.css +4 -4
- package/es/ProgressCircleVariants.styles2.css +4 -4
- package/es/RadioItem-e5b1f50b.js +6 -6
- package/es/RatingGauge-4d8a68df.js +7 -7
- package/es/RatingGaugeVariants.styles.css +15 -15
- package/es/RatingGaugeVariants.styles2.css +15 -15
- package/es/ReadonlyTextFieldInput-4392c7aa.js +1 -1
- package/es/RemovableNavigationListItem-4c86bec8.js +24 -0
- package/es/RemovableNavigationListItem-4c86bec8.js.map +1 -0
- package/es/RemovableTabBarItem-217d4a0b.js +2 -2
- package/es/ReorderableTabBar-84640a66.js +79 -0
- package/es/ReorderableTabBar-84640a66.js.map +1 -0
- package/es/RevealToggleIcon-9236963e.js +1 -1
- package/es/SectionalLegend-6ffb4255.js +4 -4
- package/es/SectionedContent-815e377a.js +64 -0
- package/es/SectionedContent-815e377a.js.map +1 -0
- package/es/SelectMultiple-fd3ea6f8.js +8 -8
- package/es/SelectSingle-8a8d1f5e.js +7 -7
- package/es/SelectionCard-79044c5f.js +38 -0
- package/es/SelectionCard-79044c5f.js.map +1 -0
- package/es/Selector-e56a73a8.js +1 -1
- package/es/SelectorAll-6f080f88.js +5 -5
- package/es/Sheet-e4121f4a.js +158 -0
- package/es/Sheet-e4121f4a.js.map +1 -0
- package/es/SplitMenuButton-79bdfe96.js +3 -3
- package/es/StyledTextField-c79f5438.js +3 -3
- package/es/Submenu-8b3fa593.js +1 -1
- package/es/TabBar-e39e8dbd.js +63 -0
- package/es/TabBar-e39e8dbd.js.map +1 -0
- package/es/TabBarItem-c681fa07.js +3 -3
- package/es/TabBarItemVariants.styles.css +3 -3
- package/es/TabBarItemVariants.styles2.css +3 -3
- package/es/TabBarLayout-a0d89ec4.js +1 -1
- package/es/TabBarMixed-3658d3d2.js +73 -0
- package/es/TabBarMixed-3658d3d2.js.map +1 -0
- package/es/TabBarMixedSeparator-8ab78880.js +19 -0
- package/es/TabBarMixedSeparator-8ab78880.js.map +1 -0
- package/es/Table-e3ef68ad.js +3 -3
- package/es/TagCloud-78991c29.js +9 -9
- package/es/TextArea-d97aac1f.js +5 -5
- package/es/TextAreaAutosize-68a4786d.js +5 -5
- package/es/TextField-323fe0e9.js +3 -3
- package/es/TextFieldInput-3c39cb7b.js +1 -1
- package/es/Theme-redwood/theme.css +405 -405
- package/es/Theme-stable/theme.css +480 -480
- package/es/TimeComponentCanvas2D-c2ab38ba.js +4 -4
- package/es/Toolbar-f0e57a9d.js +1 -1
- package/es/TruncatingBadge-084c6682.js +2 -2
- package/es/TruncatingText-780cbb19.js +2 -2
- package/es/UNSAFE_ActionCard.js +2 -2
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +34 -34
- package/es/UNSAFE_BarChart.js +34 -34
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +18 -18
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +14 -14
- package/es/UNSAFE_ButtonSetItem.js +14 -14
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_CardFlexView.js +19 -19
- package/es/UNSAFE_CardGridView.js +19 -19
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +21 -21
- package/es/UNSAFE_CheckboxItem.js +22 -22
- package/es/UNSAFE_CheckboxSet.js +21 -21
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +16 -16
- package/es/UNSAFE_ComponentMessage.js +17 -17
- package/es/UNSAFE_ConveyorBelt.js +14 -14
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +15 -15
- package/es/UNSAFE_Dialog.js +9 -9
- package/es/UNSAFE_DragHandle.js +15 -15
- 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 +21 -21
- 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 +21 -21
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +14 -14
- package/es/UNSAFE_IconButton.js +14 -14
- package/es/UNSAFE_IconMenuButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +14 -14
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask.js +22 -22
- package/es/UNSAFE_InputDatePicker.js +108 -108
- package/es/UNSAFE_InputPassword.js +21 -21
- package/es/UNSAFE_InputSensitiveText.js +23 -23
- package/es/UNSAFE_InputText.js +24 -24
- package/es/UNSAFE_Label.js +21 -21
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +23 -23
- package/es/UNSAFE_Layer.js +7 -7
- package/es/UNSAFE_Legend.js +22 -22
- package/es/UNSAFE_LineAreaChart/__test__/LineChart.spec.js +33 -33
- package/es/UNSAFE_LineAreaChart.js +34 -34
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +24 -24
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +20 -20
- package/es/UNSAFE_MenuButton.js +18 -18
- package/es/UNSAFE_MessageBanner.js +17 -17
- package/es/UNSAFE_MessageToast.js +20 -20
- package/es/UNSAFE_MeterBar.js +14 -14
- package/es/UNSAFE_MeterCircle.js +14 -14
- package/es/UNSAFE_Modal.js +7 -7
- package/es/UNSAFE_NavigationList.js +31 -33
- package/es/UNSAFE_NavigationList.js.map +1 -1
- package/es/UNSAFE_NavigationListCommon.js +66 -67
- package/es/UNSAFE_NavigationListCommon.js.map +1 -1
- package/es/UNSAFE_NumberInputText.js +23 -23
- package/es/UNSAFE_OverflowTabBar.js +44 -46
- package/es/UNSAFE_OverflowTabBar.js.map +1 -1
- 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_ProgressCircle/themes/redwood/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle.js +5 -5
- package/es/UNSAFE_RadioItem.js +21 -21
- package/es/UNSAFE_RadioSet.js +21 -21
- package/es/UNSAFE_RatingGauge/themes/redwood/RatingGaugeTheme.js +1 -1
- package/es/UNSAFE_RatingGauge/themes/redwood/RatingGaugeVariants.css.js +1 -1
- package/es/UNSAFE_RatingGauge/themes/stable/RatingGaugeTheme.js +1 -1
- package/es/UNSAFE_RatingGauge/themes/stable/RatingGaugeVariants.css.js +1 -1
- package/es/UNSAFE_RatingGauge.js +16 -16
- package/es/UNSAFE_ReorderableTabBar.js +28 -42
- package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/es/UNSAFE_SectionalLegend.js +23 -23
- package/es/UNSAFE_SelectMultiple.js +29 -29
- package/es/UNSAFE_SelectSingle.js +29 -29
- package/es/UNSAFE_SelectionCard.js +4 -4
- package/es/UNSAFE_Selector.js +14 -14
- package/es/UNSAFE_SelectorAll.js +17 -17
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +13 -13
- package/es/UNSAFE_Sheet.js +10 -10
- package/es/UNSAFE_SplitMenuButton.js +18 -18
- package/es/UNSAFE_TabBar.js +46 -48
- package/es/UNSAFE_TabBar.js.map +1 -1
- package/es/UNSAFE_TabBarCommon/themes/redwood/TabBarItemTheme.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/stable/TabBarItemTheme.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/stable/TabBarItemVariants.css.js +1 -1
- package/es/UNSAFE_TabBarCommon.js +41 -43
- package/es/UNSAFE_TabBarCommon.js.map +1 -1
- package/es/UNSAFE_TabBarMixed.js +49 -51
- package/es/UNSAFE_TabBarMixed.js.map +1 -1
- package/es/UNSAFE_TableView.js +16 -16
- package/es/UNSAFE_TagCloud.js +22 -22
- package/es/UNSAFE_TextArea.js +23 -23
- package/es/UNSAFE_TextAreaAutosize.js +23 -23
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +20 -20
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +15 -15
- package/es/UNSAFE_TruncatingBadge.js +15 -15
- package/es/UNSAFE_TruncatingText.js +15 -15
- package/es/UNSAFE_UserAssistance.js +22 -22
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +18 -18
- 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-6013acac.js +167 -0
- package/es/View-6013acac.js.map +1 -0
- package/es/VisNoData-8593beaa.js +32 -0
- package/es/VisNoData-8593beaa.js.map +1 -0
- package/es/VisProgressiveLoader-0d9a0dd0.js +51 -0
- package/es/VisProgressiveLoader-0d9a0dd0.js.map +1 -0
- package/es/VisTabularDatatip-1f16ca1f.js +24 -0
- package/es/VisTabularDatatip-1f16ca1f.js.map +1 -0
- package/es/WindowOverlay-e14f8324.js +110 -0
- package/es/WindowOverlay-e14f8324.js.map +1 -0
- package/es/YearsGridView-165e5eec.js +187 -0
- package/es/YearsGridView-165e5eec.js.map +1 -0
- 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 +16 -16
- 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 +15 -15
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-5f0f1501.js +11 -0
- package/es/index-5f0f1501.js.map +1 -0
- package/es/listViewSelectionTests-ebf987d2.js +4 -4
- package/es/render-c90e85c7.js +34 -0
- package/es/render-c90e85c7.js.map +1 -0
- package/es/tabbableUtils-e6193af2.js +79 -0
- package/es/tabbableUtils-e6193af2.js.map +1 -0
- package/es/testData-2998863b.js +256 -0
- package/es/testData-2998863b.js.map +1 -0
- package/es/useCellNavigation-006fbce0.js +1 -1
- package/es/useChartContextMenu-0014fc73.js +3 -3
- package/es/useChartDatatip-b6b2b00a.js +135 -0
- package/es/useChartDatatip-b6b2b00a.js.map +1 -0
- package/es/useChartMarquee-38dbb5f9.js +1 -1
- package/es/useColorScheme-e1b17324.js +19 -0
- package/es/useColorScheme-e1b17324.js.map +1 -0
- package/es/useContextMenu-81db2534.js +3 -3
- package/es/useCssVars-64d9b696.js +58 -0
- package/es/useCssVars-64d9b696.js.map +1 -0
- package/es/useCurrentBgColor-d89afadb.js +19 -0
- package/es/useCurrentBgColor-d89afadb.js.map +1 -0
- package/es/useCurrentKey-db7d3bb9.js +81 -0
- package/es/useCurrentKey-db7d3bb9.js.map +1 -0
- package/es/useDatatip-7c661980.js +83 -0
- package/es/useDatatip-7c661980.js.map +1 -0
- package/es/useDensity-60cfa748.js +19 -0
- package/es/useDensity-60cfa748.js.map +1 -0
- package/es/useFloating-c99976f8.js +1916 -0
- package/es/useFloating-c99976f8.js.map +1 -0
- package/es/useKeyboardEvents-102b4feb.js +78 -0
- package/es/useKeyboardEvents-102b4feb.js.map +1 -0
- package/es/useLegendContextMenu-d88be99d.js +5 -5
- package/es/useMeterDatatip-262c0e39.js +78 -0
- package/es/useMeterDatatip-262c0e39.js.map +1 -0
- package/es/useOutsideClick-eb8324f6.js +85 -0
- package/es/useOutsideClick-eb8324f6.js.map +1 -0
- package/es/usePopupAnimation-4be04290.js +85 -0
- package/es/usePopupAnimation-4be04290.js.map +1 -0
- package/es/usePrefixSuffix-71a410f4.js +70 -0
- package/es/usePrefixSuffix-71a410f4.js.map +1 -0
- package/es/useReorderableItem-25aa1c34.js +2 -2
- package/es/useRovingTabIndexContainer-e7926bd6.js +98 -0
- package/es/useRovingTabIndexContainer-e7926bd6.js.map +1 -0
- package/es/useScale-d64a1a28.js +19 -0
- package/es/useScale-d64a1a28.js.map +1 -0
- package/es/useSelectCommon-b6d67057.js +11 -11
- package/es/useSelectDrill-9ce5bccf.js +100 -0
- package/es/useSelectDrill-9ce5bccf.js.map +1 -0
- package/es/useSelection-c12f7802.js +181 -0
- package/es/useSelection-c12f7802.js.map +1 -0
- package/es/useSelection-ce0f9a43.js +241 -0
- package/es/useSelection-ce0f9a43.js.map +1 -0
- package/es/useTabBar-8af19c50.js +152 -0
- package/es/useTabBar-8af19c50.js.map +1 -0
- package/es/useTestId-adde554c.js +21 -0
- package/es/useTestId-adde554c.js.map +1 -0
- package/es/useTheme-1f6035d2.js +19 -0
- package/es/useTheme-1f6035d2.js.map +1 -0
- package/es/useThemeInterpolations-9bddc683.js +31 -0
- package/es/useThemeInterpolations-9bddc683.js.map +1 -0
- package/es/useTooltip-9dec25b3.js +51 -0
- package/es/useTooltip-9dec25b3.js.map +1 -0
- package/es/useTooltipControlled-2044f639.js +454 -0
- package/es/useTooltipControlled-2044f639.js.map +1 -0
- package/es/useTranslationBundle-cd815e10.js +29 -0
- package/es/useTranslationBundle-cd815e10.js.map +1 -0
- package/es/useUser-99920e02.js +19 -0
- package/es/useUser-99920e02.js.map +1 -0
- package/es/useVisEvents-4cfe354c.js +153 -0
- package/es/useVisEvents-4cfe354c.js.map +1 -0
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/withDirectionIcon-f8ff778c.js +14 -0
- package/es/withDirectionIcon-f8ff778c.js.map +1 -0
- package/package.json +2 -2
- package/amd/BaseCardViewSelectionTest-09799a11.js +0 -2
- package/amd/BaseCardViewSelectionTest-09799a11.js.map +0 -1
- package/amd/Center-ce88b58a.js +0 -2
- package/amd/Center-ce88b58a.js.map +0 -1
- package/amd/CompactLabelAssistance-9b6b3be2.js +0 -2
- package/amd/CompactLabelAssistance-9b6b3be2.js.map +0 -1
- package/amd/DatePicker-70b1aba4.js +0 -2
- package/amd/DatePicker-70b1aba4.js.map +0 -1
- package/amd/Diagram-9627b062.js +0 -2
- package/amd/Diagram-9627b062.js.map +0 -1
- package/amd/Dropdown-c62373dd.js +0 -2
- package/amd/Dropdown-c62373dd.js.map +0 -1
- package/amd/EnvironmentProvider-9e71b5c2.js +0 -2
- package/amd/EnvironmentProvider-9e71b5c2.js.map +0 -1
- package/amd/Flex-db3ddadb.js +0 -2
- package/amd/Flex-db3ddadb.js.map +0 -1
- package/amd/Floating-8f519f4d.js +0 -2
- package/amd/Floating-8f519f4d.js.map +0 -1
- package/amd/Grid-209ab070.js +0 -2
- package/amd/Grid-209ab070.js.map +0 -1
- package/amd/Gridlines-8ca4f9ee.js +0 -2
- package/amd/Gridlines-8ca4f9ee.js.map +0 -1
- package/amd/HighlightText-415dc14f.js +0 -2
- package/amd/HighlightText-415dc14f.js.map +0 -1
- package/amd/IconUserAssistance-f8928f19.js +0 -2
- package/amd/IconUserAssistance-f8928f19.js.map +0 -1
- package/amd/InputDatePicker-da5d8728.js +0 -2
- package/amd/InputDatePicker-da5d8728.js.map +0 -1
- package/amd/Layer-8d7bbd69.js +0 -2
- package/amd/Layer-8d7bbd69.js.map +0 -1
- package/amd/LayerHost-0a244de8.js +0 -2
- package/amd/LayerHost-0a244de8.js.map +0 -1
- package/amd/LayerManager-00983765.js +0 -2
- package/amd/LayerManager-00983765.js.map +0 -1
- package/amd/LineAreaChart-b68c4620.js +0 -2
- package/amd/LineAreaChart-b68c4620.js.map +0 -1
- package/amd/ListItemLayout-12aee4bd.js +0 -2
- package/amd/ListItemLayout-12aee4bd.js.map +0 -1
- package/amd/LiveRegion-09197914.js +0 -2
- package/amd/LiveRegion-09197914.js.map +0 -1
- package/amd/MaxLengthLiveRegion-e3856a98.js +0 -2
- package/amd/MaxLengthLiveRegion-e3856a98.js.map +0 -1
- package/amd/Menu-6a5d7fce.js +0 -2
- package/amd/Menu-6a5d7fce.js.map +0 -1
- package/amd/MessageLayer-cf2fbea9.js +0 -2
- package/amd/MessageLayer-cf2fbea9.js.map +0 -1
- package/amd/Modal-8f19889c.js +0 -2
- package/amd/Modal-8f19889c.js.map +0 -1
- package/amd/MonthView-297fceb8.js +0 -2
- package/amd/MonthView-297fceb8.js.map +0 -1
- package/amd/PieChart-295e2dbf.js +0 -2
- package/amd/PieChart-295e2dbf.js.map +0 -1
- package/amd/Popup-b5495d55.js +0 -2
- package/amd/Popup-b5495d55.js.map +0 -1
- package/amd/ProgressBar-e9b37565.js +0 -2
- package/amd/ProgressBar-e9b37565.js.map +0 -1
- package/amd/ProgressCircle-3b0d70d1.js +0 -2
- package/amd/ProgressCircle-3b0d70d1.js.map +0 -1
- package/amd/SectionedContent-d896b84f.js +0 -2
- package/amd/SectionedContent-d896b84f.js.map +0 -1
- package/amd/SelectionCard-ec3ee20d.js +0 -2
- package/amd/SelectionCard-ec3ee20d.js.map +0 -1
- package/amd/Sheet-a398d015.js +0 -2
- package/amd/Sheet-a398d015.js.map +0 -1
- package/amd/TabBarMixedSeparator-234c9a75.js +0 -2
- package/amd/TabBarMixedSeparator-234c9a75.js.map +0 -1
- package/amd/TextArea-2c7af40c.js +0 -2
- package/amd/TextArea-2c7af40c.js.map +0 -1
- package/amd/TextAreaAutosize-9dc5bffe.js +0 -2
- package/amd/TextAreaAutosize-9dc5bffe.js.map +0 -1
- package/amd/View-10a5769c.js +0 -2
- package/amd/View-10a5769c.js.map +0 -1
- package/amd/VisNoData-95d951c2.js +0 -2
- package/amd/VisNoData-95d951c2.js.map +0 -1
- package/amd/VisProgressiveLoader-39f1b4ef.js +0 -2
- package/amd/VisProgressiveLoader-39f1b4ef.js.map +0 -1
- package/amd/VisTabularDatatip-e945d6f6.js +0 -2
- package/amd/VisTabularDatatip-e945d6f6.js.map +0 -1
- package/amd/WindowOverlay-ad61cfea.js +0 -2
- package/amd/WindowOverlay-ad61cfea.js.map +0 -1
- package/amd/YearsGridView-c76bb4da.js +0 -2
- package/amd/YearsGridView-c76bb4da.js.map +0 -1
- package/amd/index-8d4da04e.js +0 -2
- package/amd/index-8d4da04e.js.map +0 -1
- package/amd/render-6de552e4.js +0 -2
- package/amd/render-6de552e4.js.map +0 -1
- package/amd/tabbableUtils-78cc49fd.js +0 -2
- package/amd/tabbableUtils-78cc49fd.js.map +0 -1
- package/amd/testData-6d873339.js +0 -2
- package/amd/testData-6d873339.js.map +0 -1
- package/amd/useChartDatatip-34e2636c.js +0 -2
- package/amd/useChartDatatip-34e2636c.js.map +0 -1
- package/amd/useColorScheme-3ffd80c4.js +0 -2
- package/amd/useColorScheme-3ffd80c4.js.map +0 -1
- package/amd/useCssVars-7efb591d.js +0 -2
- package/amd/useCssVars-7efb591d.js.map +0 -1
- package/amd/useCurrentBgColor-44e3f377.js +0 -2
- package/amd/useCurrentBgColor-44e3f377.js.map +0 -1
- package/amd/useCurrentKey-26170e5e.js +0 -2
- package/amd/useCurrentKey-26170e5e.js.map +0 -1
- package/amd/useDatatip-34fb67d2.js +0 -2
- package/amd/useDatatip-34fb67d2.js.map +0 -1
- package/amd/useDensity-be2ff874.js +0 -2
- package/amd/useDensity-be2ff874.js.map +0 -1
- package/amd/useFloating-30975c41.js +0 -2
- package/amd/useFloating-30975c41.js.map +0 -1
- package/amd/useKeyboardEvents-57008a1d.js +0 -2
- package/amd/useKeyboardEvents-57008a1d.js.map +0 -1
- package/amd/useMeterDatatip-1a3890aa.js +0 -2
- package/amd/useMeterDatatip-1a3890aa.js.map +0 -1
- package/amd/useOutsideClick-90052c27.js +0 -2
- package/amd/useOutsideClick-90052c27.js.map +0 -1
- package/amd/usePopupAnimation-a0193874.js +0 -2
- package/amd/usePopupAnimation-a0193874.js.map +0 -1
- package/amd/usePrefixSuffix-da47e340.js +0 -2
- package/amd/usePrefixSuffix-da47e340.js.map +0 -1
- package/amd/useRovingTabIndexContainer-079ed64f.js +0 -2
- package/amd/useRovingTabIndexContainer-079ed64f.js.map +0 -1
- package/amd/useScale-fe3420c6.js +0 -2
- package/amd/useScale-fe3420c6.js.map +0 -1
- package/amd/useSelectDrill-f69d15aa.js +0 -2
- package/amd/useSelectDrill-f69d15aa.js.map +0 -1
- package/amd/useSelection-2c9ff75a.js +0 -2
- package/amd/useSelection-2c9ff75a.js.map +0 -1
- package/amd/useSelection-91c04393.js +0 -2
- package/amd/useSelection-91c04393.js.map +0 -1
- package/amd/useTabBar-254fbf75.js +0 -2
- package/amd/useTabBar-254fbf75.js.map +0 -1
- package/amd/useTestId-f3b8b319.js +0 -2
- package/amd/useTestId-f3b8b319.js.map +0 -1
- package/amd/useTheme-45e3b0b3.js +0 -2
- package/amd/useTheme-45e3b0b3.js.map +0 -1
- package/amd/useThemeInterpolations-1f5fd8f3.js +0 -2
- package/amd/useThemeInterpolations-1f5fd8f3.js.map +0 -1
- package/amd/useTooltip-e965a559.js +0 -2
- package/amd/useTooltip-e965a559.js.map +0 -1
- package/amd/useTooltipControlled-18271c7a.js +0 -2
- package/amd/useTooltipControlled-18271c7a.js.map +0 -1
- package/amd/useTranslationBundle-20bfc0f3.js +0 -2
- package/amd/useTranslationBundle-20bfc0f3.js.map +0 -1
- package/amd/useUser-9b166ca3.js +0 -2
- package/amd/useUser-9b166ca3.js.map +0 -1
- package/amd/useVisEvents-ac97d087.js +0 -2
- package/amd/useVisEvents-ac97d087.js.map +0 -1
- package/amd/withDirectionIcon-9e4dae53.js +0 -2
- package/amd/withDirectionIcon-9e4dae53.js.map +0 -1
- package/cjs/BaseCardView-badf6df3.js +0 -619
- package/cjs/BaseCardView-badf6df3.js.map +0 -1
- package/cjs/BaseCardViewSelectionTest-fe6cdb4a.js +0 -696
- package/cjs/BaseCardViewSelectionTest-fe6cdb4a.js.map +0 -1
- package/cjs/CardFlexView-d44dfed5.js +0 -29
- package/cjs/CardFlexView-d44dfed5.js.map +0 -1
- package/cjs/CardGridView-dd7c777f.js +0 -17
- package/cjs/CardGridView-dd7c777f.js.map +0 -1
- package/cjs/Center-dce9d477.js +0 -18
- package/cjs/Center-dce9d477.js.map +0 -1
- package/cjs/CheckboxSetContext-c62db26d.js +0 -12
- package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
- package/cjs/CompactLabelAssistance-ae678fbd.js +0 -29
- package/cjs/CompactLabelAssistance-ae678fbd.js.map +0 -1
- package/cjs/DatePicker-3be1de5c.js +0 -564
- package/cjs/DatePicker-3be1de5c.js.map +0 -1
- package/cjs/Diagram-522fe974.js +0 -2000
- package/cjs/Diagram-522fe974.js.map +0 -1
- package/cjs/Dropdown-820dc3fe.js +0 -82
- package/cjs/Dropdown-820dc3fe.js.map +0 -1
- package/cjs/EnvironmentProvider-42b2b998.js +0 -61
- package/cjs/EnvironmentProvider-42b2b998.js.map +0 -1
- package/cjs/Flex-fbba4ad6.js +0 -33
- package/cjs/Flex-fbba4ad6.js.map +0 -1
- package/cjs/Floating-1280c2ce.js +0 -464
- package/cjs/Floating-1280c2ce.js.map +0 -1
- package/cjs/Grid-03d487e5.js +0 -29
- package/cjs/Grid-03d487e5.js.map +0 -1
- package/cjs/Gridlines-33618268.js +0 -123
- package/cjs/Gridlines-33618268.js.map +0 -1
- package/cjs/HighlightText-c76eb17a.js +0 -33
- package/cjs/HighlightText-c76eb17a.js.map +0 -1
- package/cjs/IconUserAssistance-c31c2875.js +0 -75
- package/cjs/IconUserAssistance-c31c2875.js.map +0 -1
- package/cjs/Indexer-563ea09d.js +0 -339
- package/cjs/Indexer-563ea09d.js.map +0 -1
- package/cjs/Layer-3700cd37.js +0 -87
- package/cjs/Layer-3700cd37.js.map +0 -1
- package/cjs/LayerHost-46e4d858.js +0 -45
- package/cjs/LayerHost-46e4d858.js.map +0 -1
- package/cjs/LayerManager-fa20a462.js +0 -36
- package/cjs/LayerManager-fa20a462.js.map +0 -1
- package/cjs/LineAreaChart-7e0e021f.js +0 -225
- package/cjs/LineAreaChart-7e0e021f.js.map +0 -1
- package/cjs/List-bd9ecebb.js +0 -567
- package/cjs/List-bd9ecebb.js.map +0 -1
- package/cjs/ListItemLayout-ba6c98cc.js +0 -60
- package/cjs/ListItemLayout-ba6c98cc.js.map +0 -1
- package/cjs/ListView-d67f49db.js +0 -388
- package/cjs/ListView-d67f49db.js.map +0 -1
- package/cjs/LiveRegion-1315adeb.js +0 -41
- package/cjs/LiveRegion-1315adeb.js.map +0 -1
- package/cjs/LoadMoreCollection-73112ff0.js +0 -34
- package/cjs/LoadMoreCollection-73112ff0.js.map +0 -1
- package/cjs/MaxLengthLiveRegion-85913361.js +0 -25
- package/cjs/MaxLengthLiveRegion-85913361.js.map +0 -1
- package/cjs/Menu-7f8ca235.js +0 -317
- package/cjs/Menu-7f8ca235.js.map +0 -1
- package/cjs/MessageLayer-40ccf675.js +0 -61
- package/cjs/MessageLayer-40ccf675.js.map +0 -1
- package/cjs/Modal-52fa4530.js +0 -258
- package/cjs/Modal-52fa4530.js.map +0 -1
- package/cjs/MonthView-94676cd6.js +0 -154
- package/cjs/MonthView-94676cd6.js.map +0 -1
- package/cjs/NavigationListItem-12a76e7d.js +0 -163
- package/cjs/NavigationListItem-12a76e7d.js.map +0 -1
- package/cjs/OverflowTabBarItem-c0a592fd.js +0 -88
- package/cjs/OverflowTabBarItem-c0a592fd.js.map +0 -1
- package/cjs/PieChart-bd68cc0d.js +0 -435
- package/cjs/PieChart-bd68cc0d.js.map +0 -1
- package/cjs/Popup-881aae20.js +0 -242
- package/cjs/Popup-881aae20.js.map +0 -1
- package/cjs/ProgressBar-4a4d56b0.js +0 -60
- package/cjs/ProgressBar-4a4d56b0.js.map +0 -1
- package/cjs/ProgressCircle-2524339b.js +0 -46
- package/cjs/ProgressCircle-2524339b.js.map +0 -1
- package/cjs/SectionedContent-0c0f96fb.js +0 -67
- package/cjs/SectionedContent-0c0f96fb.js.map +0 -1
- package/cjs/SelectMultiple-3af44d48.js +0 -1321
- package/cjs/SelectMultiple-3af44d48.js.map +0 -1
- package/cjs/SelectSingle-315c9871.js +0 -721
- package/cjs/SelectSingle-315c9871.js.map +0 -1
- package/cjs/SelectionCard-aa300118.js +0 -40
- package/cjs/SelectionCard-aa300118.js.map +0 -1
- package/cjs/Sheet-a6267b5f.js +0 -161
- package/cjs/Sheet-a6267b5f.js.map +0 -1
- package/cjs/TabBarMixedSeparator-6388ccda.js +0 -21
- package/cjs/TabBarMixedSeparator-6388ccda.js.map +0 -1
- package/cjs/Table-ecf57a09.js +0 -3501
- package/cjs/Table-ecf57a09.js.map +0 -1
- package/cjs/TableView-756b9d98.js +0 -26
- package/cjs/TableView-756b9d98.js.map +0 -1
- package/cjs/View-011404a7.js +0 -170
- package/cjs/View-011404a7.js.map +0 -1
- package/cjs/VirtualizedCollection-00aedb8b.js +0 -180
- package/cjs/VirtualizedCollection-00aedb8b.js.map +0 -1
- package/cjs/VirtualizedListView-a07fe73b.js +0 -16
- package/cjs/VirtualizedListView-a07fe73b.js.map +0 -1
- package/cjs/VisNoData-9afdc618.js +0 -35
- package/cjs/VisNoData-9afdc618.js.map +0 -1
- package/cjs/VisProgressiveLoader-ad546cec.js +0 -53
- package/cjs/VisProgressiveLoader-ad546cec.js.map +0 -1
- package/cjs/VisTabularDatatip-3b3341f9.js +0 -26
- package/cjs/VisTabularDatatip-3b3341f9.js.map +0 -1
- package/cjs/WindowOverlay-d255542f.js +0 -112
- package/cjs/WindowOverlay-d255542f.js.map +0 -1
- package/cjs/YearsGridView-95c9ae3d.js +0 -190
- package/cjs/YearsGridView-95c9ae3d.js.map +0 -1
- package/cjs/index-c679f28a.js +0 -13
- package/cjs/index-c679f28a.js.map +0 -1
- package/cjs/render-7a552b40.js +0 -41
- package/cjs/render-7a552b40.js.map +0 -1
- package/cjs/tabbableUtils-6d07309a.js +0 -81
- package/cjs/tabbableUtils-6d07309a.js.map +0 -1
- package/cjs/testData-f91dbc33.js +0 -271
- package/cjs/testData-f91dbc33.js.map +0 -1
- package/cjs/useChartDatatip-7b7f757f.js +0 -137
- package/cjs/useChartDatatip-7b7f757f.js.map +0 -1
- package/cjs/useColorScheme-d2c4adcc.js +0 -21
- package/cjs/useColorScheme-d2c4adcc.js.map +0 -1
- package/cjs/useCssVars-4f061513.js +0 -60
- package/cjs/useCssVars-4f061513.js.map +0 -1
- package/cjs/useCurrentBgColor-ccc9db95.js +0 -21
- package/cjs/useCurrentBgColor-ccc9db95.js.map +0 -1
- package/cjs/useCurrentKey-3b4c8a44.js +0 -83
- package/cjs/useCurrentKey-3b4c8a44.js.map +0 -1
- package/cjs/useDatatip-ff0c568c.js +0 -85
- package/cjs/useDatatip-ff0c568c.js.map +0 -1
- package/cjs/useDensity-6e80ddff.js +0 -21
- package/cjs/useDensity-6e80ddff.js.map +0 -1
- package/cjs/useFloating-7800fd56.js +0 -1926
- package/cjs/useFloating-7800fd56.js.map +0 -1
- package/cjs/useKeyboardEvents-f1a1dfef.js +0 -81
- package/cjs/useKeyboardEvents-f1a1dfef.js.map +0 -1
- package/cjs/useMeterDatatip-5db0b026.js +0 -81
- package/cjs/useMeterDatatip-5db0b026.js.map +0 -1
- package/cjs/useOutsideClick-7420644b.js +0 -87
- package/cjs/useOutsideClick-7420644b.js.map +0 -1
- package/cjs/usePopupAnimation-78a173e8.js +0 -87
- package/cjs/usePopupAnimation-78a173e8.js.map +0 -1
- package/cjs/usePrefixSuffix-edb21dad.js +0 -72
- package/cjs/usePrefixSuffix-edb21dad.js.map +0 -1
- package/cjs/useRovingTabIndexContainer-ff6fef9d.js +0 -100
- package/cjs/useRovingTabIndexContainer-ff6fef9d.js.map +0 -1
- package/cjs/useScale-74bd6456.js +0 -21
- package/cjs/useScale-74bd6456.js.map +0 -1
- package/cjs/useSelectCommon-8aaf62bd.js +0 -633
- package/cjs/useSelectCommon-8aaf62bd.js.map +0 -1
- package/cjs/useSelectDrill-64289234.js +0 -103
- package/cjs/useSelectDrill-64289234.js.map +0 -1
- package/cjs/useSelection-8f71759b.js +0 -183
- package/cjs/useSelection-8f71759b.js.map +0 -1
- package/cjs/useSelection-b53f8255.js +0 -243
- package/cjs/useSelection-b53f8255.js.map +0 -1
- package/cjs/useTabBar-35edcdb1.js +0 -154
- package/cjs/useTabBar-35edcdb1.js.map +0 -1
- package/cjs/useTestId-8234ec1e.js +0 -23
- package/cjs/useTestId-8234ec1e.js.map +0 -1
- package/cjs/useTheme-9b0dc066.js +0 -21
- package/cjs/useTheme-9b0dc066.js.map +0 -1
- package/cjs/useThemeInterpolations-25313f34.js +0 -33
- package/cjs/useThemeInterpolations-25313f34.js.map +0 -1
- package/cjs/useTooltip-468c1c92.js +0 -53
- package/cjs/useTooltip-468c1c92.js.map +0 -1
- package/cjs/useTooltipControlled-706a3651.js +0 -456
- package/cjs/useTooltipControlled-706a3651.js.map +0 -1
- package/cjs/useTranslationBundle-9da032d6.js +0 -31
- package/cjs/useTranslationBundle-9da032d6.js.map +0 -1
- package/cjs/useUser-a6d15333.js +0 -21
- package/cjs/useUser-a6d15333.js.map +0 -1
- package/cjs/useVisEvents-3d806e47.js +0 -155
- package/cjs/useVisEvents-3d806e47.js.map +0 -1
- package/cjs/withDirectionIcon-d9c7c79f.js +0 -16
- package/cjs/withDirectionIcon-d9c7c79f.js.map +0 -1
- package/es/BarChart-c8f78f4b.js +0 -567
- package/es/BarChart-c8f78f4b.js.map +0 -1
- package/es/BaseCardViewSelectionTest-ab83a0b0.js +0 -683
- package/es/BaseCardViewSelectionTest-ab83a0b0.js.map +0 -1
- package/es/BaseNavigationListItem-f3bf5d85.js +0 -47
- package/es/BaseNavigationListItem-f3bf5d85.js.map +0 -1
- package/es/Center-58d4b406.js +0 -16
- package/es/Center-58d4b406.js.map +0 -1
- package/es/Chart-793bd008.js +0 -332
- package/es/Chart-793bd008.js.map +0 -1
- package/es/CompactLabelAssistance-933d1d68.js +0 -27
- package/es/CompactLabelAssistance-933d1d68.js.map +0 -1
- package/es/DatePicker-e517dad2.js +0 -562
- package/es/DatePicker-e517dad2.js.map +0 -1
- package/es/Diagram-15e246b6.js +0 -1998
- package/es/Diagram-15e246b6.js.map +0 -1
- package/es/Dropdown-2a328b40.js +0 -80
- package/es/Dropdown-2a328b40.js.map +0 -1
- package/es/EnvironmentProvider-6846a7ff.js +0 -58
- package/es/EnvironmentProvider-6846a7ff.js.map +0 -1
- package/es/Flex-5ff5aa5e.js +0 -30
- package/es/Flex-5ff5aa5e.js.map +0 -1
- package/es/Floating-5b269acc.js +0 -462
- package/es/Floating-5b269acc.js.map +0 -1
- package/es/Grid-5d8f712b.js +0 -27
- package/es/Grid-5d8f712b.js.map +0 -1
- package/es/Gridlines-4b7301e7.js +0 -120
- package/es/Gridlines-4b7301e7.js.map +0 -1
- package/es/HighlightText-39781e79.js +0 -31
- package/es/HighlightText-39781e79.js.map +0 -1
- package/es/IconUserAssistance-744d71a4.js +0 -73
- package/es/IconUserAssistance-744d71a4.js.map +0 -1
- package/es/InputDatePicker-aa02a34c.js +0 -323
- package/es/InputDatePicker-aa02a34c.js.map +0 -1
- package/es/Layer-5d259d3a.js +0 -84
- package/es/Layer-5d259d3a.js.map +0 -1
- package/es/LayerHost-aaed41a1.js +0 -40
- package/es/LayerHost-aaed41a1.js.map +0 -1
- package/es/LayerManager-87beee1e.js +0 -34
- package/es/LayerManager-87beee1e.js.map +0 -1
- package/es/LineAreaChart-35327196.js +0 -223
- package/es/LineAreaChart-35327196.js.map +0 -1
- package/es/ListItemLayout-961c8443.js +0 -58
- package/es/ListItemLayout-961c8443.js.map +0 -1
- package/es/LiveRegion-4646cd7d.js +0 -39
- package/es/LiveRegion-4646cd7d.js.map +0 -1
- package/es/MaxLengthLiveRegion-1278e638.js +0 -23
- package/es/MaxLengthLiveRegion-1278e638.js.map +0 -1
- package/es/Menu-b0c28cfd.js +0 -313
- package/es/Menu-b0c28cfd.js.map +0 -1
- package/es/MessageLayer-322485df.js +0 -58
- package/es/MessageLayer-322485df.js.map +0 -1
- package/es/Modal-986872f3.js +0 -255
- package/es/Modal-986872f3.js.map +0 -1
- package/es/MonthView-99cc26ac.js +0 -152
- package/es/MonthView-99cc26ac.js.map +0 -1
- package/es/NavigationList-40cfa2f7.js +0 -156
- package/es/NavigationList-40cfa2f7.js.map +0 -1
- package/es/NavigationListItem-1efd88f0.js +0 -10
- package/es/NavigationListItem-1efd88f0.js.map +0 -1
- package/es/OverflowTabBarItem-d0a9dae6.js +0 -87
- package/es/OverflowTabBarItem-d0a9dae6.js.map +0 -1
- package/es/PieChart-e41e3463.js +0 -433
- package/es/PieChart-e41e3463.js.map +0 -1
- package/es/Popup-6288438d.js +0 -240
- package/es/Popup-6288438d.js.map +0 -1
- package/es/ProgressBar-ed0c5ba0.js +0 -58
- package/es/ProgressBar-ed0c5ba0.js.map +0 -1
- package/es/ProgressCircle-95a70910.js +0 -44
- package/es/ProgressCircle-95a70910.js.map +0 -1
- package/es/RemovableNavigationListItem-d55724ff.js +0 -25
- package/es/RemovableNavigationListItem-d55724ff.js.map +0 -1
- package/es/ReorderableTabBar-aae17355.js +0 -79
- package/es/ReorderableTabBar-aae17355.js.map +0 -1
- package/es/SectionedContent-13d72f4b.js +0 -64
- package/es/SectionedContent-13d72f4b.js.map +0 -1
- package/es/SelectionCard-8496e467.js +0 -38
- package/es/SelectionCard-8496e467.js.map +0 -1
- package/es/Sheet-8914df23.js +0 -158
- package/es/Sheet-8914df23.js.map +0 -1
- package/es/TabBar-935be8eb.js +0 -68
- package/es/TabBar-935be8eb.js.map +0 -1
- package/es/TabBarMixed-1742d71e.js +0 -78
- package/es/TabBarMixed-1742d71e.js.map +0 -1
- package/es/TabBarMixedSeparator-da2254c9.js +0 -19
- package/es/TabBarMixedSeparator-da2254c9.js.map +0 -1
- package/es/View-4dc6ce42.js +0 -167
- package/es/View-4dc6ce42.js.map +0 -1
- package/es/VisNoData-c69e8f5e.js +0 -32
- package/es/VisNoData-c69e8f5e.js.map +0 -1
- package/es/VisProgressiveLoader-cc1ab7cc.js +0 -51
- package/es/VisProgressiveLoader-cc1ab7cc.js.map +0 -1
- package/es/VisTabularDatatip-418525b0.js +0 -24
- package/es/VisTabularDatatip-418525b0.js.map +0 -1
- package/es/WindowOverlay-88b63ede.js +0 -110
- package/es/WindowOverlay-88b63ede.js.map +0 -1
- package/es/YearsGridView-76892288.js +0 -187
- package/es/YearsGridView-76892288.js.map +0 -1
- package/es/index-75f23286.js +0 -11
- package/es/index-75f23286.js.map +0 -1
- package/es/render-8e2a09d1.js +0 -34
- package/es/render-8e2a09d1.js.map +0 -1
- package/es/tabbableUtils-73a9ba14.js +0 -79
- package/es/tabbableUtils-73a9ba14.js.map +0 -1
- package/es/testData-0aee4d83.js +0 -256
- package/es/testData-0aee4d83.js.map +0 -1
- package/es/useChartDatatip-f7bacd9b.js +0 -135
- package/es/useChartDatatip-f7bacd9b.js.map +0 -1
- package/es/useColorScheme-bf110202.js +0 -19
- package/es/useColorScheme-bf110202.js.map +0 -1
- package/es/useCssVars-b3bf30fb.js +0 -58
- package/es/useCssVars-b3bf30fb.js.map +0 -1
- package/es/useCurrentBgColor-b3ebd7be.js +0 -19
- package/es/useCurrentBgColor-b3ebd7be.js.map +0 -1
- package/es/useCurrentKey-1f99b0f6.js +0 -81
- package/es/useCurrentKey-1f99b0f6.js.map +0 -1
- package/es/useDatatip-f9bcaab9.js +0 -83
- package/es/useDatatip-f9bcaab9.js.map +0 -1
- package/es/useDensity-9f6c6bf0.js +0 -19
- package/es/useDensity-9f6c6bf0.js.map +0 -1
- package/es/useFloating-1cca9e4f.js +0 -1916
- package/es/useFloating-1cca9e4f.js.map +0 -1
- package/es/useKeyboardEvents-11b26017.js +0 -78
- package/es/useKeyboardEvents-11b26017.js.map +0 -1
- package/es/useMeterDatatip-7366880d.js +0 -78
- package/es/useMeterDatatip-7366880d.js.map +0 -1
- package/es/useNavigationListItem-5f7cd66b.js +0 -81
- package/es/useNavigationListItem-5f7cd66b.js.map +0 -1
- package/es/useOutsideClick-ab98bfa3.js +0 -85
- package/es/useOutsideClick-ab98bfa3.js.map +0 -1
- package/es/usePopupAnimation-4969107b.js +0 -85
- package/es/usePopupAnimation-4969107b.js.map +0 -1
- package/es/usePrefixSuffix-a14dacb0.js +0 -70
- package/es/usePrefixSuffix-a14dacb0.js.map +0 -1
- package/es/useRovingTabIndexContainer-91fd85f3.js +0 -98
- package/es/useRovingTabIndexContainer-91fd85f3.js.map +0 -1
- package/es/useScale-42018695.js +0 -19
- package/es/useScale-42018695.js.map +0 -1
- package/es/useSelectDrill-333650bd.js +0 -100
- package/es/useSelectDrill-333650bd.js.map +0 -1
- package/es/useSelection-48f572e5.js +0 -181
- package/es/useSelection-48f572e5.js.map +0 -1
- package/es/useSelection-a098b3af.js +0 -241
- package/es/useSelection-a098b3af.js.map +0 -1
- package/es/useTabBar-4b318196.js +0 -152
- package/es/useTabBar-4b318196.js.map +0 -1
- package/es/useTestId-f5aed66c.js +0 -21
- package/es/useTestId-f5aed66c.js.map +0 -1
- package/es/useTheme-e7ea1253.js +0 -19
- package/es/useTheme-e7ea1253.js.map +0 -1
- package/es/useThemeInterpolations-66ce2e56.js +0 -31
- package/es/useThemeInterpolations-66ce2e56.js.map +0 -1
- package/es/useTooltip-30a4a4fc.js +0 -51
- package/es/useTooltip-30a4a4fc.js.map +0 -1
- package/es/useTooltipControlled-eafec36e.js +0 -454
- package/es/useTooltipControlled-eafec36e.js.map +0 -1
- package/es/useTranslationBundle-e8a8c4f3.js +0 -29
- package/es/useTranslationBundle-e8a8c4f3.js.map +0 -1
- package/es/useUser-fb09e212.js +0 -19
- package/es/useUser-fb09e212.js.map +0 -1
- package/es/useVisEvents-e31dcd17.js +0 -153
- package/es/useVisEvents-e31dcd17.js.map +0 -1
- package/es/withDirectionIcon-6eefb71a.js +0 -14
- package/es/withDirectionIcon-6eefb71a.js.map +0 -1
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('preact/jsx-runtime');
|
|
5
|
+
var Label = require('./Label-d9ad059f.js');
|
|
6
|
+
var hooks = require('preact/hooks');
|
|
7
|
+
var compat = require('preact/compat');
|
|
8
|
+
var TextFieldInput = require('./TextFieldInput-4904c227.js');
|
|
9
|
+
|
|
10
|
+
var ReadonlyTextFieldInput = require('./ReadonlyTextFieldInput-fb7ffa5e.js');
|
|
11
|
+
var StyledTextField = require('./StyledTextField-351ea57e.js');
|
|
12
|
+
var Flex = require('./Flex-6529d995.js');
|
|
13
|
+
require('./FormContext-9452bd30.js');
|
|
14
|
+
var useFormContext = require('./useFormContext-4c3091dc.js');
|
|
15
|
+
var FormFieldContext = require('./FormFieldContext-8418dc68.js');
|
|
16
|
+
|
|
17
|
+
require('./logger-2b636482.js');
|
|
18
|
+
require('./UNSAFE_TextField/themes/TextFieldStyles.css.js');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
require('./UNSAFE_TextField/themes/redwood/TextFieldVariants.css.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
require('./UNSAFE_RadioItem/themes/redwood/RadioVariants.css.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require('./UNSAFE_Label/themes/redwood/LabelVariants.css.js');
|
|
30
|
+
require('./UNSAFE_TextField/themes/FormLayoutStyles.css.js');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
require('./UNSAFE_Checkbox/themes/redwood/CheckboxVariants.css.js');
|
|
35
|
+
require('./InputGroupContext-05f2a46f.js');
|
|
36
|
+
require('./LayerHost-a6007465.js');
|
|
37
|
+
var useTranslationBundle = require('./useTranslationBundle-7fcd8bd5.js');
|
|
38
|
+
|
|
39
|
+
var TabbableModeContext = require('./TabbableModeContext-e99d527e.js');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
require('./UNSAFE_UserAssistance/themes/redwood/UserAssistanceVariants.css.js');
|
|
43
|
+
var InlineUserAssistance = require('./InlineUserAssistance-ad3fa8cc.js');
|
|
44
|
+
var CompactUserAssistance = require('./CompactUserAssistance-f88519f9.js');
|
|
45
|
+
require('./useTooltipControlled-a907e06c.js');
|
|
46
|
+
var preact = require('preact');
|
|
47
|
+
|
|
48
|
+
require('./Popup-a793c4a2.js');
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
require('./UNSAFE_Popup/themes/redwood/PopupVariants.css.js');
|
|
52
|
+
var useFocusableTextField = require('./useFocusableTextField-c18d39c2.js');
|
|
53
|
+
var useLoadingIndicatorTimer = require('./useLoadingIndicatorTimer-128b4b14.js');
|
|
54
|
+
var useTextField = require('./useTextField-3ce8f0d0.js');
|
|
55
|
+
var useSelectCommon = require('./useSelectCommon-d39e90e2.js');
|
|
56
|
+
require('./useAccessibleContext-c49d8d1b.js');
|
|
57
|
+
require('./textAlign-f41f49db.js');
|
|
58
|
+
var useFormFieldContext = require('./useFormFieldContext-20f419ef.js');
|
|
59
|
+
|
|
60
|
+
require('./UNSAFE_TextField/themes/redwood/ReadonlyTextFieldInputVariants.css.js');
|
|
61
|
+
var TextField = require('./TextField-0f4e945f.js');
|
|
62
|
+
var UNSAFE_SelectMultiple_themes_SelectedValuesCountStyles_css = require('./UNSAFE_SelectMultiple/themes/SelectedValuesCountStyles.css.js');
|
|
63
|
+
var Chip = require('./Chip-a24817e0.js');
|
|
64
|
+
var IconButton = require('./IconButton-94f8ca5c.js');
|
|
65
|
+
var CancelS = require('./CancelS-54815d5d.js');
|
|
66
|
+
var useFocusWithin = require('./useFocusWithin-eb7f956a.js');
|
|
67
|
+
var useUser = require('./useUser-c8e9a94a.js');
|
|
68
|
+
var keyboardUtils = require('./keyboardUtils-f835e1ee.js');
|
|
69
|
+
var classNames = require('./classNames-c14c6ef3.js');
|
|
70
|
+
var dimensions = require('./dimensions-b48bf1ab.js');
|
|
71
|
+
var mergeInterpolations = require('./mergeInterpolations-6727b536.js');
|
|
72
|
+
var HiddenAccessible = require('./HiddenAccessible-087eb49a.js');
|
|
73
|
+
var Text = require('./Text-aaacb6a0.js');
|
|
74
|
+
var Close = require('./Close-2adc0f0f.js');
|
|
75
|
+
var useId = require('./useId-6c0eeb27.js');
|
|
76
|
+
var UNSAFE_SelectMultiple_themes_TextTagStyles_css = require('./UNSAFE_SelectMultiple/themes/TextTagStyles.css.js');
|
|
77
|
+
var UNSAFE_SelectMultiple_themes_TextTagListStyles_css = require('./UNSAFE_SelectMultiple/themes/TextTagListStyles.css.js');
|
|
78
|
+
var LiveRegion = require('./LiveRegion-fcb0bb37.js');
|
|
79
|
+
var View = require('./View-8f49d970.js');
|
|
80
|
+
var UNSAFE_SelectMultiple_themes_MobileDropdownFooterStyles_css = require('./UNSAFE_SelectMultiple/themes/MobileDropdownFooterStyles.css.js');
|
|
81
|
+
var Button = require('./Button-b5af1b23.js');
|
|
82
|
+
var useEffectEvent = require('./useEffectEvent-9bf8acf6.js');
|
|
83
|
+
var equals = require('./equals-098f7781.js');
|
|
84
|
+
var mergeProps = require('./mergeProps-e3da7237.js');
|
|
85
|
+
var stringUtils = require('./stringUtils-4e4a6b2b.js');
|
|
86
|
+
|
|
87
|
+
function SelectMultipleDesktopDropdown({ assistiveText, currentKey, data, dropdownId, dropdownRef, helpSourceLink, helpSourceText, isAddToListShown, isDisabled, isDropdownAbove, isEmptyResults, isOpen, isReadonly, isSelectedOnlyView, isUserFiltering, itemRenderer, itemText, label, mainFieldRef, searchText, selectedKeys, userAssistanceDensity, onAddToListAction, onAutoDismiss, onCurrentKeyChange, onLoadRange, onPosition, onSelectionChange }) {
|
|
88
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
89
|
+
const dropdownInlineUserAssistance = isOpen &&
|
|
90
|
+
!isDropdownAbove &&
|
|
91
|
+
!isDisabled &&
|
|
92
|
+
!isReadonly &&
|
|
93
|
+
(assistiveText || helpSourceLink) &&
|
|
94
|
+
(userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow') ? (jsxRuntime.jsx(useSelectCommon.DropdownUserAssistance, { assistiveText: assistiveText, fieldLabel: label, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, userAssistanceDensity: userAssistanceDensity })) : undefined;
|
|
95
|
+
const dropdownListContent = isEmptyResults ? (isAddToListShown ? undefined : (jsxRuntime.jsx(useSelectCommon.EmptyResults, {}))) : (jsxRuntime.jsx(useSelectCommon.DefaultList, { "aria-label": label ?? '', currentItemVariant: "highlight", currentKey: currentKey, data: data, itemRenderer: itemRenderer, itemText: itemText, searchText: isSelectedOnlyView ? undefined : isUserFiltering ? searchText : undefined, selectedKeys: selectedKeys, selectionMode: "multiple", onCurrentKeyChange: onCurrentKeyChange, onLoadRange: onLoadRange, onSelectionChange: onSelectionChange }));
|
|
96
|
+
const addToListContent = isAddToListShown ? (jsxRuntime.jsx(useSelectCommon.LinkItem, { isHighlighted: isEmptyResults, onAction: onAddToListAction, children: translations.select_addToList() })) : undefined;
|
|
97
|
+
return (jsxRuntime.jsxs(useSelectCommon.Dropdown, { dropdownRef: dropdownRef, id: dropdownId, isOpen: isOpen, anchorRef: mainFieldRef, onAutoDismiss: onAutoDismiss, onPosition: onPosition, children: [jsxRuntime.jsxs(useSelectCommon.DropdownList, { hasBottomGap: dropdownInlineUserAssistance === undefined, isLoading: data === null, children: [dropdownListContent, addToListContent] }), dropdownInlineUserAssistance] }));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// This component renders a badge showing the number of selected values
|
|
101
|
+
function SelectedValuesCount({ 'aria-label': ariaLabel, count = 0, onKeyDown, onKeyUp, onMouseDown, ...passThroughProps }) {
|
|
102
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
103
|
+
const instructions = translations.selectMultiple_showSelectedValues();
|
|
104
|
+
const accLabel = ariaLabel ? `${ariaLabel}. ` : '';
|
|
105
|
+
const ninetyNinePlus = translations.selectMultiple_countPlus({ COUNT: `99` });
|
|
106
|
+
// The Chip shows the number of values selected or 99+ if the number is over 99.
|
|
107
|
+
const chipCount = count > 99 ? `${ninetyNinePlus}` : `${count}`;
|
|
108
|
+
// The screenreader will hear what the number of selected values is along with instructions
|
|
109
|
+
// like Click to see the full list.
|
|
110
|
+
const valuesSelectedText = translations.selectMultiple_valuesSelected({
|
|
111
|
+
VALUE_COUNT: `${count}`
|
|
112
|
+
});
|
|
113
|
+
const label = `${accLabel}${valuesSelectedText} ${instructions}`;
|
|
114
|
+
return (jsxRuntime.jsx("div", { class: UNSAFE_SelectMultiple_themes_SelectedValuesCountStyles_css.selectedValueCountStyles.base, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onMouseDown: onMouseDown, children: jsxRuntime.jsx(Chip.Chip, { "aria-label": label, ...passThroughProps, children: chipCount }) }));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function SelectMultipleField({ children, columnSpan, fieldLabel, hasInsideLabel, isBackButtonShown, isClearButtonShown, isDropdownArrowShown, isDropdownSelectedOnlyView, isSelectedValuesCountShown, selectedValuesCount, onBackButtonClick, onClearButtonClick, onDropdownArrowClick, onSelectedValuesCountKeyDown, onSelectedValuesCountKeyUp, onSelectedValuesCountMouseDown, onSelectedValuesCountToggle, ...passThroughTextFieldProps }) {
|
|
118
|
+
const { isDisabled, isLoading } = useFormFieldContext.useFormFieldContext();
|
|
119
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
120
|
+
const backButton = isBackButtonShown ? (jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translations.selectMultiple_back(), size: "xs", variant: "ghost", onAction: onBackButtonClick, children: jsxRuntime.jsx(CancelS.SvgNavLeft, {}) })) : null;
|
|
121
|
+
const clearButton = isClearButtonShown ? (jsxRuntime.jsx(IconButton.IconButton, { "aria-label": translations.formControl_clear(), size: "sm", variant: "ghost", onAction: onClearButtonClick, children: jsxRuntime.jsx(CancelS.SvgCancelS, {}) })) : null;
|
|
122
|
+
const dropdownArrow = isDropdownArrowShown ? (jsxRuntime.jsx(useSelectCommon.DropdownArrow, { isDisabled: isDisabled, onClick: onDropdownArrowClick, testId: `${passThroughTextFieldProps.testId}_dropdownarrow` })) : null;
|
|
123
|
+
const endContent = isLoading ? undefined : !isSelectedValuesCountShown ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isClearButtonShown && clearButton, isDropdownArrowShown && dropdownArrow] })) : (jsxRuntime.jsxs(Flex.Flex, { align: "center", justify: "center", gap: [0, '1x'], children: [jsxRuntime.jsx(SelectedValuesCount, { "aria-label": fieldLabel, count: selectedValuesCount, isDisabled: isDisabled, isSelected: isDropdownSelectedOnlyView, onKeyDown: onSelectedValuesCountKeyDown, onKeyUp: onSelectedValuesCountKeyUp, onMouseDown: onSelectedValuesCountMouseDown, onToggle: onSelectedValuesCountToggle }), isClearButtonShown && clearButton, isDropdownArrowShown && dropdownArrow] }));
|
|
124
|
+
return (jsxRuntime.jsx(TextField.TextField, { columnSpan: columnSpan, startContent: isBackButtonShown && backButton, mainContent: children, endContent: endContent, ...passThroughTextFieldProps }));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* The component for rendering selectable/removable TextTag
|
|
129
|
+
*
|
|
130
|
+
* @param param0 The props for the TextTag component
|
|
131
|
+
*/
|
|
132
|
+
function TextTag({ children, removeIcon = 'never', isSelected = false, onRemoveAction, onSelect, onRemoveIconClick, isFocused, value }) {
|
|
133
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
134
|
+
const spanRef = hooks.useRef(null);
|
|
135
|
+
const navigationTextId = useId.useId();
|
|
136
|
+
const rootClasses = classNames.classNames([UNSAFE_SelectMultiple_themes_TextTagStyles_css.textTagStyles.base, isSelected && UNSAFE_SelectMultiple_themes_TextTagStyles_css.textTagStyles.selected]);
|
|
137
|
+
const onRemoveActionCallback = hooks.useCallback(() => {
|
|
138
|
+
onRemoveAction?.(value);
|
|
139
|
+
}, [value, onRemoveAction]);
|
|
140
|
+
const onSelectCallback = hooks.useCallback(() => {
|
|
141
|
+
onSelect?.(value);
|
|
142
|
+
}, [value, onSelect]);
|
|
143
|
+
const onRemoveIconClickCallback = hooks.useCallback(() => {
|
|
144
|
+
onRemoveIconClick?.(value);
|
|
145
|
+
}, [value, onRemoveIconClick]);
|
|
146
|
+
const onKeyUp = hooks.useCallback((event) => {
|
|
147
|
+
if (keyboardUtils.isBackspaceOrDelete(event)) {
|
|
148
|
+
onRemoveActionCallback();
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
}, [onRemoveActionCallback]);
|
|
152
|
+
hooks.useEffect(() => {
|
|
153
|
+
if (isFocused && isSelected) {
|
|
154
|
+
spanRef.current?.focus();
|
|
155
|
+
spanRef.current?.scrollIntoView({ block: 'nearest' });
|
|
156
|
+
}
|
|
157
|
+
}, [isFocused, isSelected]);
|
|
158
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("span", { ref: spanRef, class: rootClasses, tabIndex: -1, onClick: onSelectCallback, onKeyUp: onKeyUp,
|
|
159
|
+
// Kill mouse down event to prevent focus transfer done by the parent container.
|
|
160
|
+
// We will programmatically take back focus in response to the onClick event.
|
|
161
|
+
onMouseDown: useSelectCommon.preventDefault, role: "option", "aria-describedby": navigationTextId, "aria-selected": isSelected ? 'true' : 'false', children: [jsxRuntime.jsx(Text.Text, { size: "md", variant: "inherit", children: children }), removeIcon === 'always' && (jsxRuntime.jsx(TabbableModeContext.TabbableModeContext.Provider, { value: { isTabbable: false }, children: jsxRuntime.jsx(IconButton.IconButton, { size: "xs", variant: "ghost", onAction: onRemoveIconClickCallback, children: jsxRuntime.jsx(Close.SvgClose, {}) }) }))] }), jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: navigationTextId, children: translations.selectMultiple_removeSelectedTagInstructionText() })] }));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Supported style props
|
|
166
|
+
*/
|
|
167
|
+
const supportedDimensions = ['maxWidth'];
|
|
168
|
+
/**
|
|
169
|
+
* Setting up interpolations
|
|
170
|
+
*/
|
|
171
|
+
const supportedInterpolations = Array.from(supportedDimensions, (x) => dimensions.dimensionInterpolations[x]);
|
|
172
|
+
const styleInterpolations = mergeInterpolations.mergeInterpolations(supportedInterpolations);
|
|
173
|
+
/**
|
|
174
|
+
* TextTagList component for rendering the collection of TextTags as well
|
|
175
|
+
* as managing the navigation.
|
|
176
|
+
*
|
|
177
|
+
* @param param0 The props for the TextTagList component
|
|
178
|
+
* @param ref The ref for the component
|
|
179
|
+
*/
|
|
180
|
+
function _TextTagList(props, ref = () => { }) {
|
|
181
|
+
// destructure props
|
|
182
|
+
const { 'aria-label': ariaLabel, data, hasInsideLabel = false, removeIcon = 'never', onExitNavigation, onRemove } = props;
|
|
183
|
+
// ref for setting the scroll position for the div
|
|
184
|
+
const divRef = hooks.useRef(null);
|
|
185
|
+
// Internal state for storing the current selected tags
|
|
186
|
+
const [selectedTags, setSelectedTags] = hooks.useState([]);
|
|
187
|
+
// The navigation of focus will depend on the reading direction, so we need to
|
|
188
|
+
// get the current reading direction
|
|
189
|
+
const { direction } = useUser.useUser();
|
|
190
|
+
// Create a ref for maintaining the current selected tag. This is used for
|
|
191
|
+
// determining which tag needs to be selected next when pressing ArrowLeft or
|
|
192
|
+
// ArrowRight.
|
|
193
|
+
const currentSelectedTagIndex = hooks.useRef(-1);
|
|
194
|
+
// Create a ref that holds the last tag which is needed when receiving focus
|
|
195
|
+
// programmatically.
|
|
196
|
+
const lastTag = data.at(-1)?.value;
|
|
197
|
+
const lastTagMeta = hooks.useRef({ value: lastTag, index: data.length - 1 });
|
|
198
|
+
lastTagMeta.current = { value: lastTag, index: data.length - 1 };
|
|
199
|
+
// A function to select the tag at the given index
|
|
200
|
+
const selectTagAtIndex = hooks.useCallback((index) => {
|
|
201
|
+
const key = data.at(index)?.value;
|
|
202
|
+
if (key == null)
|
|
203
|
+
return;
|
|
204
|
+
setSelectedTags([key]);
|
|
205
|
+
}, [data] // setSelectedTags is stable and not needed in dep array
|
|
206
|
+
);
|
|
207
|
+
// A function to clear the selection
|
|
208
|
+
const clearSelection = hooks.useCallback(() => {
|
|
209
|
+
setSelectedTags((previousSelectedTags) => {
|
|
210
|
+
currentSelectedTagIndex.current = -1;
|
|
211
|
+
return previousSelectedTags.length ? [] : previousSelectedTags;
|
|
212
|
+
});
|
|
213
|
+
}, []); // setSelectedTags is stable and not needed in dep array
|
|
214
|
+
// Handle the remove & delete events from the tags
|
|
215
|
+
const onTagRemoveIconClick = hooks.useCallback((value) => {
|
|
216
|
+
// on remove icon click we only need to remove the tag that
|
|
217
|
+
// invoked the event
|
|
218
|
+
onRemove?.([value]);
|
|
219
|
+
onExitNavigation?.();
|
|
220
|
+
// Firefox & Safari are not calling onBlur when focusing out of the
|
|
221
|
+
// tag list through onExitNavigation, so clear the selections explicitly
|
|
222
|
+
// here.
|
|
223
|
+
clearSelection();
|
|
224
|
+
}, [clearSelection, onExitNavigation, onRemove]);
|
|
225
|
+
const onTagRemoveAction = hooks.useCallback((value) => {
|
|
226
|
+
// on delete action we need to remove the tag that invoked the delete action
|
|
227
|
+
// as well as the selected tags.
|
|
228
|
+
const valuesToRemove = [...selectedTags];
|
|
229
|
+
if (!selectedTags.includes(value)) {
|
|
230
|
+
valuesToRemove.push(value);
|
|
231
|
+
}
|
|
232
|
+
onRemove?.(valuesToRemove);
|
|
233
|
+
onExitNavigation?.();
|
|
234
|
+
// Firefox & Safari are not calling onBlur when focusing out of the
|
|
235
|
+
// tag list through onExitNavigation, so clear the selections explicitly
|
|
236
|
+
// here.
|
|
237
|
+
clearSelection();
|
|
238
|
+
}, [selectedTags, clearSelection, onExitNavigation, onRemove]);
|
|
239
|
+
// Handle the select event from the tags
|
|
240
|
+
const onTagSelect = hooks.useCallback((value) => {
|
|
241
|
+
setSelectedTags([value]);
|
|
242
|
+
currentSelectedTagIndex.current = data.findIndex((tag) => tag.value === value);
|
|
243
|
+
}, [data, setSelectedTags]);
|
|
244
|
+
// Handle keyDown event on the tags container
|
|
245
|
+
const onTagKeyDown = hooks.useCallback((event) => {
|
|
246
|
+
if (data.length === 0)
|
|
247
|
+
return;
|
|
248
|
+
// Move towards the beginning of the list when pressing
|
|
249
|
+
// Left arrow (or Right arrow in rtl).
|
|
250
|
+
if ((direction === 'ltr' && event.code === 'ArrowLeft') ||
|
|
251
|
+
(direction === 'rtl' && event.code === 'ArrowRight')) {
|
|
252
|
+
if (currentSelectedTagIndex.current === 0)
|
|
253
|
+
return;
|
|
254
|
+
currentSelectedTagIndex.current -= 1;
|
|
255
|
+
selectTagAtIndex(currentSelectedTagIndex.current);
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
// Move towards the end of the list when pressing
|
|
259
|
+
// Right arrow (or Left arrow in rtl). If at the end,
|
|
260
|
+
// invoke onExitNavigation.
|
|
261
|
+
if ((direction === 'ltr' && event.code === 'ArrowRight') ||
|
|
262
|
+
(direction === 'rtl' && event.code === 'ArrowLeft')) {
|
|
263
|
+
if (currentSelectedTagIndex.current === data.length - 1) {
|
|
264
|
+
// We have reached the end, so exit navigation
|
|
265
|
+
onExitNavigation?.();
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
currentSelectedTagIndex.current += 1;
|
|
269
|
+
selectTagAtIndex(currentSelectedTagIndex.current);
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
// When pressing the Home key, move the focus to the first tag
|
|
273
|
+
if (event.code === 'Home') {
|
|
274
|
+
currentSelectedTagIndex.current = 0;
|
|
275
|
+
selectTagAtIndex(currentSelectedTagIndex.current);
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
// When pressing the End key, move the focus to the last tag
|
|
279
|
+
if (event.code === 'End') {
|
|
280
|
+
currentSelectedTagIndex.current = data.length - 1;
|
|
281
|
+
selectTagAtIndex(currentSelectedTagIndex.current);
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
// If it is a Select All event, then select all the tags and do
|
|
285
|
+
// not move the focus
|
|
286
|
+
if (keyboardUtils.isSelectAll(event)) {
|
|
287
|
+
setSelectedTags(data.map((tag) => tag.value));
|
|
288
|
+
// prevent default to prevent selection of the whole screen
|
|
289
|
+
event.preventDefault();
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
}, [data, direction, onExitNavigation, selectTagAtIndex, setSelectedTags]);
|
|
293
|
+
const handleOnFocus = hooks.useCallback(() => {
|
|
294
|
+
setSelectedTags((previousSelectedTags) => {
|
|
295
|
+
// select the tag only if there are no current selected tags
|
|
296
|
+
// and there is data
|
|
297
|
+
if (previousSelectedTags.length || lastTagMeta.current.value === undefined)
|
|
298
|
+
return previousSelectedTags;
|
|
299
|
+
currentSelectedTagIndex.current = lastTagMeta.current.index;
|
|
300
|
+
return [lastTagMeta.current.value];
|
|
301
|
+
});
|
|
302
|
+
}, []); // setSelectedTags is stable and not needed in the dep array
|
|
303
|
+
const handleOnBlur = hooks.useCallback(() => {
|
|
304
|
+
clearSelection();
|
|
305
|
+
}, [clearSelection]);
|
|
306
|
+
// When blurring out of the component, remove all selections
|
|
307
|
+
const { focusProps } = useFocusWithin.useFocusWithin({
|
|
308
|
+
onBlurWithin: handleOnBlur
|
|
309
|
+
});
|
|
310
|
+
// Update the ref to include the handler methods
|
|
311
|
+
hooks.useImperativeHandle(ref, () => ({
|
|
312
|
+
blur: handleOnBlur,
|
|
313
|
+
focus: handleOnFocus
|
|
314
|
+
}), [handleOnBlur, handleOnFocus]);
|
|
315
|
+
hooks.useEffect(() => {
|
|
316
|
+
// every time the data is changed, scroll to the end of the list to show the latest added
|
|
317
|
+
// pill
|
|
318
|
+
// In ltr we need to scroll to the right, so positive value should be passed and in rtl we
|
|
319
|
+
// need to scroll to the left, so negative value should be passed
|
|
320
|
+
divRef.current?.scrollTo({
|
|
321
|
+
left: divRef.current.scrollWidth * (direction === 'ltr' ? 1 : -1)
|
|
322
|
+
});
|
|
323
|
+
}, [data, direction]);
|
|
324
|
+
// the styles for the component
|
|
325
|
+
const styles = styleInterpolations(props);
|
|
326
|
+
// TODO: use theming and multi-variant styles
|
|
327
|
+
//
|
|
328
|
+
const rootClasses = classNames.classNames([
|
|
329
|
+
UNSAFE_SelectMultiple_themes_TextTagListStyles_css.textTagListStyles.textTagListBase,
|
|
330
|
+
hasInsideLabel && UNSAFE_SelectMultiple_themes_TextTagListStyles_css.textTagListStyles.textTagListInsideLabel
|
|
331
|
+
]);
|
|
332
|
+
return (jsxRuntime.jsx("div", { class: rootClasses, ref: divRef, tabIndex: -1, onKeyDown: onTagKeyDown, role: "listbox", "aria-label": ariaLabel, "aria-multiselectable": "true", style: styles, ...focusProps, children: data.map((tag, index) => (jsxRuntime.jsx(TextTag, { isFocused: currentSelectedTagIndex.current === index, isSelected: selectedTags.includes(tag.value), onRemoveAction: onTagRemoveAction, onSelect: onTagSelect, onRemoveIconClick: onTagRemoveIconClick, removeIcon: removeIcon, value: tag.value, children: tag.label }, tag.value))) }));
|
|
333
|
+
}
|
|
334
|
+
const TextTagList = compat.forwardRef(_TextTagList);
|
|
335
|
+
|
|
336
|
+
function SelectMultipleFieldInput({ displayValue, isAddToListShown, isKeyboardNavigable, isTextTagListShown, isUserFiltering, liveRegionText, onExitNavigation, onRemove, removeIcon, selectedValuesDescriptionId, selectedValuesKeyboardNavDescriptionId, textTagListData, textTagListRef, userInput, virtualKeyboard, ...passThroughTextFieldInputProps }) {
|
|
337
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
338
|
+
const addToListAccText = isAddToListShown ? translations.select_addToListAvailable() : undefined;
|
|
339
|
+
// Add the text tags navigation accessible text to the aria description for the input if there
|
|
340
|
+
// are any selected values and the component is keyboard navigable.
|
|
341
|
+
// Also add an aria live region if the status changes while the input already has focus because
|
|
342
|
+
// at that time the aria description will not be read out again. Remove the aria live region
|
|
343
|
+
// when the input loses focus.
|
|
344
|
+
const accTextTagsNav = isKeyboardNavigable && displayValue && displayValue.length > 0
|
|
345
|
+
? translations.selectMultiple_highlightSelectedTagsInstructionText()
|
|
346
|
+
: undefined;
|
|
347
|
+
const { isInputFocused } = useFormFieldContext.useFormFieldContext();
|
|
348
|
+
const [prevAccTextTagsNav, setPrevAccTextTagsNav] = hooks.useState(accTextTagsNav);
|
|
349
|
+
const [isAccTextTagsNavLive, setIsAccTextTagsNavLive] = hooks.useState(false);
|
|
350
|
+
isInputFocused &&
|
|
351
|
+
isTextTagListShown &&
|
|
352
|
+
!prevAccTextTagsNav &&
|
|
353
|
+
accTextTagsNav &&
|
|
354
|
+
!isAccTextTagsNavLive
|
|
355
|
+
? setIsAccTextTagsNavLive(true)
|
|
356
|
+
: !isInputFocused && isAccTextTagsNavLive
|
|
357
|
+
? setIsAccTextTagsNavLive(false)
|
|
358
|
+
: {};
|
|
359
|
+
if (prevAccTextTagsNav !== accTextTagsNav) {
|
|
360
|
+
setPrevAccTextTagsNav(accTextTagsNav);
|
|
361
|
+
}
|
|
362
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isTextTagListShown && (jsxRuntime.jsx(TextTagList, { "aria-label": translations.selectMultiple_selectedValues(), data: textTagListData, hasInsideLabel: passThroughTextFieldInputProps.hasInsideLabel, maxWidth: "50%", onExitNavigation: onExitNavigation, onRemove: onRemove, ref: textTagListRef, removeIcon: removeIcon })), jsxRuntime.jsx(Flex.Flex, { flex: 1, children: jsxRuntime.jsx(TextFieldInput.TextFieldInput, { "aria-autocomplete": "list", autoComplete: "off",
|
|
363
|
+
// When focused, we show the tag list, which can be treated as having prefix
|
|
364
|
+
hasPrefix: isTextTagListShown, role: "combobox", hasEndContent: true, spellcheck: false, type: virtualKeyboard === 'auto' ? 'search' : virtualKeyboard, value: isUserFiltering || isTextTagListShown ? userInput : displayValue, ...passThroughTextFieldInputProps }) }),
|
|
365
|
+
// Show description text when focused as we will not be
|
|
366
|
+
// showing display text in the input.
|
|
367
|
+
isTextTagListShown && (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: selectedValuesDescriptionId,
|
|
368
|
+
// We want the content to be hidden for screen readers too by default.
|
|
369
|
+
// But, it will be overridden when we link the aria-describedby attribute.
|
|
370
|
+
// Otherwise, the content here will be read twice.
|
|
371
|
+
isHidden: true, children: displayValue })),
|
|
372
|
+
// Add the text tags navigation accessible text to the aria description for the input
|
|
373
|
+
// if there are any selected values and the component is keyboard navigable.
|
|
374
|
+
// (Don't add it if we're adding a live region for the same text because then it
|
|
375
|
+
// gets read out twice by the screen reader, for some reason.)
|
|
376
|
+
isTextTagListShown && accTextTagsNav && !isAccTextTagsNavLive && (jsxRuntime.jsx(HiddenAccessible.HiddenAccessible, { id: selectedValuesKeyboardNavDescriptionId,
|
|
377
|
+
// We want the content to be hidden for screen readers too by default.
|
|
378
|
+
// But, it will be overridden when we link the aria-describedby attribute.
|
|
379
|
+
// Otherwise, the content here will be read twice.
|
|
380
|
+
isHidden: true, children: accTextTagsNav })), jsxRuntime.jsx(LiveRegion.LiveRegion, { children: liveRegionText }),
|
|
381
|
+
// Add an aria live region for the text tags navigation accessible text if the status
|
|
382
|
+
// changes while the input already has focus because at that time the aria description
|
|
383
|
+
// will not be read out again.
|
|
384
|
+
// (Add the region itself whenever the text tags are shown so that it's already in the
|
|
385
|
+
// DOM when we want to populate it with text. If we dynamically add the region itself
|
|
386
|
+
// at that time, the screen reader (JAWS) may not read it at all, for some reason.)
|
|
387
|
+
isTextTagListShown && (jsxRuntime.jsx(LiveRegion.LiveRegion, { children: isAccTextTagsNavLive ? accTextTagsNav : undefined })), isAddToListShown ? jsxRuntime.jsx(LiveRegion.LiveRegion, { children: addToListAccText }) : undefined] }));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function MobileDropdownFooter({ onApply }) {
|
|
391
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
392
|
+
return (jsxRuntime.jsx("div", { class: UNSAFE_SelectMultiple_themes_MobileDropdownFooterStyles_css.mobileDropdownFooterStyles.base, children: jsxRuntime.jsx(Button.Button, { display: "label", edge: "bottom", label: translations.selectMultiple_apply(), size: "sm", variant: "callToAction", onAction: onApply }) }));
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @license
|
|
397
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
398
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
399
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
400
|
+
* @ignore
|
|
401
|
+
*/
|
|
402
|
+
function useDisplayValues(itemText, valueItems) {
|
|
403
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
404
|
+
const separator = translations.plural_separator();
|
|
405
|
+
// create the text displayed in the field from the selected values
|
|
406
|
+
const concatenatedDisplayValues = hooks.useMemo(() => {
|
|
407
|
+
if (valueItems === undefined) {
|
|
408
|
+
return '';
|
|
409
|
+
}
|
|
410
|
+
const displayValues = createDisplayValues(itemText, valueItems);
|
|
411
|
+
const concatenatedDisplayValues = concatDisplayValues(displayValues, separator);
|
|
412
|
+
return concatenatedDisplayValues;
|
|
413
|
+
}, [itemText, separator, valueItems]);
|
|
414
|
+
// create the text tags to display when the component is focused
|
|
415
|
+
const textTags = hooks.useMemo(() => (valueItems === undefined ? [] : createTextTags(itemText, valueItems)), [itemText, valueItems]);
|
|
416
|
+
return {
|
|
417
|
+
displayValue: concatenatedDisplayValues,
|
|
418
|
+
textTags
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
function concatDisplayValues(displayValues, separator) {
|
|
422
|
+
return Array.from(displayValues.values()).join(separator);
|
|
423
|
+
}
|
|
424
|
+
function createDisplayValues(itemText, selectedItems) {
|
|
425
|
+
const arValues = selectedItems ? [...selectedItems?.values()] : [];
|
|
426
|
+
const mapFunc = (itemContext) => useSelectCommon.renderItemText(itemContext, itemText);
|
|
427
|
+
const mappedArray = arValues.map(mapFunc);
|
|
428
|
+
return new Set(mappedArray);
|
|
429
|
+
}
|
|
430
|
+
function createTextTags(itemText, selectedItems = []) {
|
|
431
|
+
return selectedItems.map((item) => ({
|
|
432
|
+
label: useSelectCommon.renderItemText(item, itemText) ?? '',
|
|
433
|
+
value: item.key
|
|
434
|
+
}));
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @license
|
|
439
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
440
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
441
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
442
|
+
* @ignore
|
|
443
|
+
*/
|
|
444
|
+
/**
|
|
445
|
+
* Get the data to show in the dropdown for the selected-only view.
|
|
446
|
+
* While the component is showing only selected values in the dropdown, that list of values should
|
|
447
|
+
* not change as the user deselects items within it. For example, if the list initially shows
|
|
448
|
+
* selected items "Item A" and "Item B", and the user deselects "Item B", we do not want to remove
|
|
449
|
+
* "Item B" from the list. The reason is that the user may want to reselect it again. So the
|
|
450
|
+
* list should remain static as of the time the user toggled the selected-only view on.
|
|
451
|
+
* If isDropdownSelectedOnlyView is false, then the data returned from this hook will be undefined.
|
|
452
|
+
* If isDropdownSelectedOnlyView is true, then the data returned from this hook will consist of
|
|
453
|
+
* all of the valueItems that were selected at the time isDropdownSelectedOnlyView was set to true.
|
|
454
|
+
* @param isDropdownSelectedOnlyView Whether the component is showing only selected
|
|
455
|
+
* values in the dropdown: true if so, false if not.
|
|
456
|
+
* @param valueItems The keys, data, and optional metadata for the selected values.
|
|
457
|
+
* @returns An object with data and onLoadRange properties that can be passed on to the
|
|
458
|
+
* list in the dropdown.
|
|
459
|
+
*/
|
|
460
|
+
function useSelectedOnlyData({ isDropdownSelectedOnlyView = false, valueItems }) {
|
|
461
|
+
const STABLE_dataStateFactory = useEffectEvent.useEffectEvent((isDropdownSelectedOnlyView) => !isDropdownSelectedOnlyView || !valueItems || valueItems.length === 0
|
|
462
|
+
? undefined
|
|
463
|
+
: {
|
|
464
|
+
offset: 0,
|
|
465
|
+
totalSize: valueItems.length,
|
|
466
|
+
sizePrecision: 'exact',
|
|
467
|
+
data: valueItems.map((valueItem) => {
|
|
468
|
+
return { data: valueItem.data, metadata: valueItem.metadata ?? { key: valueItem.key } };
|
|
469
|
+
})
|
|
470
|
+
// Need to specify type of useMemo here so that dependent code in SelectMultiple and
|
|
471
|
+
// useSelectMultiple doesn't show a type error related to the sizePrecision prop on DataState:
|
|
472
|
+
// Type 'string' is not assignable to type '"exact" | "atLeast"'.
|
|
473
|
+
});
|
|
474
|
+
// Note that useMemo here only depends on isDropdownSelectedOnlyView because we only want to
|
|
475
|
+
// recalculate when that value changes. While the selected only view is shown, we want the
|
|
476
|
+
// data set to remain static with the set of valueItems as of the time the view was changed to
|
|
477
|
+
// only show selected items so that the user can deselect and reselect items.
|
|
478
|
+
// If useMemo depended on the valueItems too, then the data set would change as the user
|
|
479
|
+
// deselected items, which means those items would disappear from the dropdown and the user
|
|
480
|
+
// could not reselect them.
|
|
481
|
+
// STABLE_dataStateFactory is guaranteed to be stable, so its reference will not change between
|
|
482
|
+
// renders.
|
|
483
|
+
const data = hooks.useMemo(() => {
|
|
484
|
+
return STABLE_dataStateFactory(isDropdownSelectedOnlyView);
|
|
485
|
+
}, [STABLE_dataStateFactory, isDropdownSelectedOnlyView]);
|
|
486
|
+
return {
|
|
487
|
+
data,
|
|
488
|
+
onLoadRange: undefined
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
// use const for default valueItems so that it doesn't create a new empty array on every render
|
|
493
|
+
const DEFAULT_VALUE_ITEMS = [];
|
|
494
|
+
function useMobileDropdown({ data, inputRef, isDropdownOpen, isDropdownSelectedOnlyView, itemText, textTagListRef, userInput, valueItems = DEFAULT_VALUE_ITEMS, onCommit, onLoadRange, setDropdownOpen, setUserInput, stopFiltering }) {
|
|
495
|
+
const [currentRow, setCurrentRow] = hooks.useState({
|
|
496
|
+
rowKey: undefined
|
|
497
|
+
});
|
|
498
|
+
const [dropdownSelectedKeys, setDropdownSelectedKeys] = hooks.useState(keysFromValueItems(valueItems));
|
|
499
|
+
const [isInternalSelectedOnlyView, setIsInternalSelectedOnlyView] = hooks.useState(isDropdownSelectedOnlyView);
|
|
500
|
+
const dataCache = hooks.useRef(new Map());
|
|
501
|
+
const currentValueItems = hooks.useMemo(() => {
|
|
502
|
+
const items = [];
|
|
503
|
+
dropdownSelectedKeys.forEach((key) => {
|
|
504
|
+
// Initially check if they are in valueItems
|
|
505
|
+
const item = valueItems.find((item) => item.key === key);
|
|
506
|
+
if (item) {
|
|
507
|
+
items.push(item);
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
// otherwise check if it is available in the dataCache
|
|
511
|
+
if (dataCache.current.has(key)) {
|
|
512
|
+
items.push(dataCache.current.get(key));
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
return items;
|
|
516
|
+
}, [dropdownSelectedKeys, valueItems]);
|
|
517
|
+
const { textTags, displayValue } = useDisplayValues(itemText, currentValueItems);
|
|
518
|
+
// Create a ref for the input in the dropdown
|
|
519
|
+
const dropdownInputRef = hooks.useRef(null);
|
|
520
|
+
// show only the selected values in the dropdown if isDropdownSelectedOnlyView is true,
|
|
521
|
+
// otherwise show the full data set
|
|
522
|
+
// TODO: We may need to revisit this for hierarchical data because the selected valueItems
|
|
523
|
+
// won't have any information about ancestor group nodes, and we should probably show selected
|
|
524
|
+
// items in context within the hierarchy. Also, the order of the items in the selected-only
|
|
525
|
+
// view right now follows the order in which they were selected, not the order in which they
|
|
526
|
+
// would appear in the full data set. This may be more of a problem for hierarchical data
|
|
527
|
+
// if items have to appear within the correct group ancestors. We may need to move
|
|
528
|
+
// construction of the selected-only DataState out of the component to the consuming code,
|
|
529
|
+
// and take a callback that we can call as a notification that the app should provide this
|
|
530
|
+
// special DataState to us (kind of like onLoadRange). Note that we may also need an
|
|
531
|
+
// enhancement on the DataProvider API to be able to specify a filterCriterion to filter by
|
|
532
|
+
// the selected keys through a fetchFirst call, because a regular fetchByKeys call would
|
|
533
|
+
// still return results in the order in which the keys were specified and would not return
|
|
534
|
+
// data for the ancestor group nodes.
|
|
535
|
+
const { data: selectedOnlyData, onLoadRange: selectedOnlyOnLoadRange } = useSelectedOnlyData({
|
|
536
|
+
isDropdownSelectedOnlyView: isInternalSelectedOnlyView,
|
|
537
|
+
valueItems: currentValueItems
|
|
538
|
+
});
|
|
539
|
+
const onCurrentKeyChange = hooks.useCallback((detail) => {
|
|
540
|
+
setCurrentRow({ rowKey: detail.value });
|
|
541
|
+
}, [setCurrentRow]);
|
|
542
|
+
const onSelectionChange = hooks.useCallback((detail) => {
|
|
543
|
+
const newKeys = new Set(detail.value.keys?.values());
|
|
544
|
+
// update the dropdownSelectedKeys so that the selection visual state of the collection
|
|
545
|
+
// updates immediately while waiting for new valueItems to be set
|
|
546
|
+
setDropdownSelectedKeys(newKeys);
|
|
547
|
+
// clear the filter text typed by the user, but do NOT clear the actual filter criterion
|
|
548
|
+
// or highlighting in the list
|
|
549
|
+
setUserInput('');
|
|
550
|
+
// update the data cache on each selection if data is present
|
|
551
|
+
if (data) {
|
|
552
|
+
updateCache(dataCache.current, data, newKeys);
|
|
553
|
+
}
|
|
554
|
+
}, [data, setDropdownSelectedKeys, setUserInput]);
|
|
555
|
+
const onSelectedValuesCountToggle = hooks.useCallback(({ value = false }) => {
|
|
556
|
+
setIsInternalSelectedOnlyView((currentIsInternalSelectedOnlyView) => {
|
|
557
|
+
// if the selected only toggle is enabled, we need to stop user filtering
|
|
558
|
+
if (currentIsInternalSelectedOnlyView !== value) {
|
|
559
|
+
stopFiltering();
|
|
560
|
+
}
|
|
561
|
+
return value;
|
|
562
|
+
});
|
|
563
|
+
}, [setIsInternalSelectedOnlyView, stopFiltering]);
|
|
564
|
+
const closeDropdown = hooks.useCallback(() => {
|
|
565
|
+
// reset dropdownSelectedKeys as you close the dropdown so that
|
|
566
|
+
// the next time the dropdown is opened, it will have the actual component's valueItems
|
|
567
|
+
setDropdownSelectedKeys(new Set(valueItems.map((v) => v.key)));
|
|
568
|
+
// Empty the cached map
|
|
569
|
+
dataCache.current.clear();
|
|
570
|
+
setDropdownOpen(false);
|
|
571
|
+
// stop filtering before closing the dropdown
|
|
572
|
+
stopFiltering();
|
|
573
|
+
// revert the focus back to the main field
|
|
574
|
+
inputRef.current?.focus();
|
|
575
|
+
}, [inputRef, setDropdownOpen, stopFiltering, valueItems]);
|
|
576
|
+
const onApply = hooks.useCallback(() => {
|
|
577
|
+
// Commit the current value items and close the dropdown
|
|
578
|
+
onCommit({
|
|
579
|
+
previousValue: keysFromValueItems(valueItems),
|
|
580
|
+
value: dropdownSelectedKeys
|
|
581
|
+
});
|
|
582
|
+
closeDropdown();
|
|
583
|
+
}, [dropdownSelectedKeys, valueItems, closeDropdown, onCommit]);
|
|
584
|
+
const onBackButtonClick = hooks.useCallback(() => {
|
|
585
|
+
closeDropdown();
|
|
586
|
+
}, [closeDropdown]);
|
|
587
|
+
const onClearButtonClick = hooks.useCallback(() => {
|
|
588
|
+
setDropdownSelectedKeys(new Set());
|
|
589
|
+
stopFiltering();
|
|
590
|
+
}, [stopFiltering]);
|
|
591
|
+
const onTextTagRemove = hooks.useCallback((keys) => {
|
|
592
|
+
const newSelectedKeys = new Set(dropdownSelectedKeys);
|
|
593
|
+
keys.forEach((key) => newSelectedKeys.delete(key));
|
|
594
|
+
setDropdownSelectedKeys(newSelectedKeys);
|
|
595
|
+
}, [dropdownSelectedKeys]);
|
|
596
|
+
const onTextTagExitNavigation = hooks.useCallback(() => {
|
|
597
|
+
// Focus the input on the next tick. Doing it in the same event cycle will
|
|
598
|
+
// trigger the key press on the input element which makes the caret move by
|
|
599
|
+
// one character.
|
|
600
|
+
setTimeout(() => dropdownInputRef.current?.focus(), 0);
|
|
601
|
+
}, []);
|
|
602
|
+
const wasDropdownOpen = hooks.useRef(isDropdownOpen);
|
|
603
|
+
hooks.useEffect(() => {
|
|
604
|
+
// if the dropdown is open, ignore any valueItems update
|
|
605
|
+
if (isDropdownOpen) {
|
|
606
|
+
// if it was open before, then this is a valueItems change, so no action
|
|
607
|
+
if (wasDropdownOpen.current)
|
|
608
|
+
return;
|
|
609
|
+
// otherwise this dropdown is opened now, so set the focus on the input field
|
|
610
|
+
setTimeout(() => dropdownInputRef.current?.focus(), 0);
|
|
611
|
+
wasDropdownOpen.current = true;
|
|
612
|
+
return;
|
|
613
|
+
}
|
|
614
|
+
wasDropdownOpen.current = false;
|
|
615
|
+
}, [isDropdownOpen]);
|
|
616
|
+
const [prevValueItems, setPrevValueItems] = hooks.useState(valueItems);
|
|
617
|
+
if (prevValueItems !== valueItems) {
|
|
618
|
+
// if dropdown is closed, keep the valueItems in sync with the dropdown selected keys
|
|
619
|
+
if (!isDropdownOpen) {
|
|
620
|
+
setDropdownSelectedKeys((prevDropdownSelectedKeys) => {
|
|
621
|
+
const nextDropdownSelectedKeys = keysFromValueItems(valueItems);
|
|
622
|
+
// since valueItems can be a different array with the same values and keysFromValueItems
|
|
623
|
+
// will create a new set every time, compare the value and update the set only if the
|
|
624
|
+
// values have changed
|
|
625
|
+
return equals.equals(prevDropdownSelectedKeys, nextDropdownSelectedKeys)
|
|
626
|
+
? prevDropdownSelectedKeys
|
|
627
|
+
: nextDropdownSelectedKeys;
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
setPrevValueItems(valueItems);
|
|
631
|
+
}
|
|
632
|
+
return {
|
|
633
|
+
collectionProps: {
|
|
634
|
+
currentKey: currentRow.rowKey,
|
|
635
|
+
data: isInternalSelectedOnlyView ? selectedOnlyData : data,
|
|
636
|
+
selectedKeys: dropdownSelectedKeys,
|
|
637
|
+
onCurrentKeyChange,
|
|
638
|
+
onLoadRange: isInternalSelectedOnlyView ? selectedOnlyOnLoadRange : onLoadRange,
|
|
639
|
+
onSelectionChange
|
|
640
|
+
},
|
|
641
|
+
footerProps: {
|
|
642
|
+
onApply
|
|
643
|
+
},
|
|
644
|
+
selectMultipleFieldInputProps: {
|
|
645
|
+
displayValue,
|
|
646
|
+
hasEmptyLabel: false,
|
|
647
|
+
hasInsideLabel: true,
|
|
648
|
+
inputRef: dropdownInputRef,
|
|
649
|
+
isTextTagListShown: textTags.length > 0,
|
|
650
|
+
isUserFiltering: true,
|
|
651
|
+
removeIcon: 'always',
|
|
652
|
+
userInput,
|
|
653
|
+
textTagListData: textTags,
|
|
654
|
+
textTagListRef: textTagListRef,
|
|
655
|
+
onExitNavigation: onTextTagExitNavigation,
|
|
656
|
+
onRemove: onTextTagRemove
|
|
657
|
+
},
|
|
658
|
+
selectMultipleFieldProps: {
|
|
659
|
+
hasInsideLabel: true,
|
|
660
|
+
isBackButtonShown: true,
|
|
661
|
+
isClearButtonShown: !useSelectCommon.isSearchTextEmptyOrUndefined(userInput) || textTags.length !== 0,
|
|
662
|
+
isDropdownArrowShown: false,
|
|
663
|
+
isDropdownSelectedOnlyView: isInternalSelectedOnlyView,
|
|
664
|
+
isSelectedValuesCountShown: dropdownSelectedKeys.size > 0 || isInternalSelectedOnlyView,
|
|
665
|
+
selectedValuesCount: dropdownSelectedKeys.size,
|
|
666
|
+
styleVariant: 'embedded',
|
|
667
|
+
onBackButtonClick,
|
|
668
|
+
onClearButtonClick
|
|
669
|
+
},
|
|
670
|
+
selectedValuesCountProps: {
|
|
671
|
+
onSelectedValuesCountToggle
|
|
672
|
+
},
|
|
673
|
+
isDropdownSelectedOnlyView: isInternalSelectedOnlyView
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* A function to cache the data for the current set of keys from the current data state
|
|
678
|
+
* and current set of keys.
|
|
679
|
+
*
|
|
680
|
+
* The idea is that, the data state might not contain all the selected keys. However, as
|
|
681
|
+
* a key is selected, if we update the cache, it will always contain the data for the selected
|
|
682
|
+
* keys. Reason is that, when a key is selected, at that moment it will be in the current data
|
|
683
|
+
* state. We will fetch that information and store it. While the current data state might not
|
|
684
|
+
* contain information about all the selected keys, it will always have the information about
|
|
685
|
+
* current selected key.
|
|
686
|
+
*
|
|
687
|
+
* @param cache The data cache
|
|
688
|
+
* @param data The current data state
|
|
689
|
+
* @param keys The current set of keys
|
|
690
|
+
*/
|
|
691
|
+
const updateCache = (cache, data, keys) =>
|
|
692
|
+
// iterate through the data and if a selected key's match is found, update the cache
|
|
693
|
+
data.data.forEach((item) => {
|
|
694
|
+
if (!keys.has(item.metadata.key))
|
|
695
|
+
return;
|
|
696
|
+
cache.set(item.metadata.key, {
|
|
697
|
+
data: item.data,
|
|
698
|
+
key: item.metadata.key,
|
|
699
|
+
metadata: item.metadata
|
|
700
|
+
});
|
|
701
|
+
});
|
|
702
|
+
/**
|
|
703
|
+
* Extract keys from a value items array.
|
|
704
|
+
*
|
|
705
|
+
* @param valueItems The value items from which the keys are to be extracted
|
|
706
|
+
* @returns The set of keys
|
|
707
|
+
*/
|
|
708
|
+
const keysFromValueItems = (valueItems) => new Set(valueItems.map((i) => i.key));
|
|
709
|
+
|
|
710
|
+
function SelectMultipleMobileDropdown({ 'aria-describedby': ariaDescribedBy, 'aria-label': ariaLabel, assistiveText, data, dropdownId, enabledElementRef, helpSourceLink, helpSourceText, isAddToListShown, isDisabled, isEmptyResults, isFocused, isLoading, isOpen, isReadonly, isRequired, isSelectedOnlyView: propIsSelectedOnlyView, isUserFiltering, itemRenderer, itemText, label, liveRegionText, placeholder, propIsLoading, searchText, selectedValuesDescriptionId, setDropdownOpen, setUserInput, stopFiltering, textAlign, textTagListRef, userAssistanceDensity, userInput, valueItems, virtualKeyboard, onAddToListAction, onCommit, onFieldBlur, onFieldFocus, onFieldInput, onFieldKeyDown, onFieldKeyUp, onLoadRange }) {
|
|
711
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
712
|
+
const { collectionProps: mobileDropdownCollectionProps, footerProps: mobileDropdownFooterProps, selectMultipleFieldInputProps: mobileDropdownSelectMultipleFieldInputProps, selectMultipleFieldProps: mobileDropdownSelectMultipleFieldProps, selectedValuesCountProps: mobileDropdownSelectedValueCountProps, isDropdownSelectedOnlyView } = useMobileDropdown({
|
|
713
|
+
data,
|
|
714
|
+
inputRef: enabledElementRef,
|
|
715
|
+
isDropdownOpen: isOpen,
|
|
716
|
+
isDropdownSelectedOnlyView: propIsSelectedOnlyView,
|
|
717
|
+
itemText,
|
|
718
|
+
textTagListRef,
|
|
719
|
+
userInput,
|
|
720
|
+
valueItems,
|
|
721
|
+
onCommit,
|
|
722
|
+
onLoadRange,
|
|
723
|
+
setDropdownOpen,
|
|
724
|
+
setUserInput,
|
|
725
|
+
stopFiltering
|
|
726
|
+
});
|
|
727
|
+
// for dropdown field
|
|
728
|
+
const { formFieldContext: mobileDropdownFormFieldContext, inputProps: mobileDropdownInputProps, labelProps: mobileDropdownLabelProps, textFieldProps: mobileDropdownTextFieldProps, userAssistanceProps: mobileDropdownUserAssistanceProps } = useTextField.useTextField({
|
|
729
|
+
ariaDescribedBy,
|
|
730
|
+
helpSourceLink,
|
|
731
|
+
helpSourceText,
|
|
732
|
+
isDisabled: false,
|
|
733
|
+
isFocused,
|
|
734
|
+
isLoading,
|
|
735
|
+
isReadonly: false,
|
|
736
|
+
isRequiredShown: false,
|
|
737
|
+
labelEdge: 'inside',
|
|
738
|
+
styleVariant: 'default',
|
|
739
|
+
value: mobileDropdownSelectMultipleFieldProps.selectedValuesCount > 0 ? true : undefined
|
|
740
|
+
});
|
|
741
|
+
// JET-54256 - inside label animates up on initial display with selected value
|
|
742
|
+
// If we're waiting for the selected values to load, the component should look like it
|
|
743
|
+
// has a value in the meantime.
|
|
744
|
+
// Use the original propIsLoading instead of isLoading because we don't want to delay
|
|
745
|
+
// the inside label position by a timer like we do the progressive loading indicator.
|
|
746
|
+
mobileDropdownFormFieldContext.hasValue =
|
|
747
|
+
propIsLoading || mobileDropdownFormFieldContext.hasValue;
|
|
748
|
+
const mobileDropdownFieldLabelProps = {
|
|
749
|
+
label: jsxRuntime.jsx(Label.Label, { ...mobileDropdownLabelProps, children: label }),
|
|
750
|
+
labelEdge: 'inside'
|
|
751
|
+
};
|
|
752
|
+
const dropdownInlineUserAssistance = isOpen &&
|
|
753
|
+
!isDisabled &&
|
|
754
|
+
!isReadonly &&
|
|
755
|
+
(assistiveText || helpSourceLink) &&
|
|
756
|
+
(userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow') ? (jsxRuntime.jsx(useSelectCommon.DropdownUserAssistance, { assistiveText: assistiveText, fieldLabel: label, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, userAssistanceDensity: userAssistanceDensity, ...mobileDropdownUserAssistanceProps })) : undefined;
|
|
757
|
+
const dropdownListContent = isEmptyResults ? (isAddToListShown ? undefined : (jsxRuntime.jsx(useSelectCommon.EmptyResults, {}))) : (jsxRuntime.jsx(useSelectCommon.DefaultList, { ...mobileDropdownCollectionProps, "aria-label": label ?? '', itemRenderer: itemRenderer, itemText: itemText, searchText: isDropdownSelectedOnlyView ? undefined : isUserFiltering ? searchText : undefined, selectionMode: "multiple" }));
|
|
758
|
+
const addToListContent = isAddToListShown ? (jsxRuntime.jsx(useSelectCommon.LinkItem, { onAction: onAddToListAction, children: translations.select_addToList() })) : undefined;
|
|
759
|
+
return (jsxRuntime.jsx(useSelectCommon.SelectMobileDropdown, { header: jsxRuntime.jsxs(FormFieldContext.FormFieldContext.Provider, { value: mobileDropdownFormFieldContext, children: [jsxRuntime.jsx(View.View, { children: jsxRuntime.jsx(SelectMultipleField, { fieldLabel: label, onBlur: onFieldBlur, onFocus: onFieldFocus, ...mobileDropdownFieldLabelProps, ...mobileDropdownTextFieldProps, ...mobileDropdownSelectMultipleFieldProps, ...mobileDropdownSelectedValueCountProps, children: jsxRuntime.jsx(SelectMultipleFieldInput, { "aria-controls": dropdownId, "aria-expanded": isOpen, "aria-label": ariaLabel, isAddToListShown: isAddToListShown, isRequired: isRequired, liveRegionText: liveRegionText, placeholder: placeholder, selectedValuesDescriptionId: selectedValuesDescriptionId, textAlign: textAlign, virtualKeyboard: virtualKeyboard, onInput: onFieldInput, onKeyDown: onFieldKeyDown, onKeyUp: onFieldKeyUp, ...mobileDropdownInputProps, ...mobileDropdownSelectMultipleFieldInputProps }) }) }), dropdownInlineUserAssistance] }), footer: jsxRuntime.jsx(MobileDropdownFooter, { ...mobileDropdownFooterProps }), id: dropdownId, isOpen: isOpen, children: jsxRuntime.jsxs(useSelectCommon.DropdownList, { hasTopGap: !addToListContent, hasBottomGap: true, isLoading: data === null, children: [dropdownListContent, addToListContent] }) }));
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* @license
|
|
764
|
+
* Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
|
|
765
|
+
* The Universal Permissive License (UPL), Version 1.0
|
|
766
|
+
* as shown at https://oss.oracle.com/licenses/upl/
|
|
767
|
+
* @ignore
|
|
768
|
+
*/
|
|
769
|
+
/**
|
|
770
|
+
* Hook that manages SelectMultiple state and behavior. This hook creates state variables and
|
|
771
|
+
* event listeners, returning properties to apply to components internally rendered by
|
|
772
|
+
* SelectMultiple, as well as state information.
|
|
773
|
+
*
|
|
774
|
+
* @param ariaDescribedBy Specifies the ID of elements that describe the input.
|
|
775
|
+
* @param data Specifies data for the dropdown list.
|
|
776
|
+
* @param inputRef Ref to the input element (this can be an input in desktop and a div in mobile).
|
|
777
|
+
* @param isDisabled Specifies whether the component is disabled.
|
|
778
|
+
* @param isFocused Specifies whether the component has focus.
|
|
779
|
+
* @param isReadonly Specifies whether the component is readonly.
|
|
780
|
+
* @param onCommit Callback invoked when the selected values are committed.
|
|
781
|
+
* @param onFilter Callback function to trigger loading data for the dropdown list,
|
|
782
|
+
* which may or may not be filtered by user entered text.
|
|
783
|
+
* @param onLoadRange Callback function to handle when the viewport of the dropdown list has
|
|
784
|
+
* changed, including the case where the user scrolls to the end of the list and there are more
|
|
785
|
+
* items to load. The function should set a new DataState on the component for the specified
|
|
786
|
+
* range.
|
|
787
|
+
* @param valueItems Specifies the keys, data, and optional metadata for the selected values.
|
|
788
|
+
*
|
|
789
|
+
* @returns Properties to apply to internal components that SelectMultiple renders, and component
|
|
790
|
+
* state.
|
|
791
|
+
*/
|
|
792
|
+
function useSelectMultiple({ addToList, ariaDescribedBy, data: propData, inputRef, isDisabled, isFocused: propIsFocused, isReadonly, onAddToListAction, onCommit, onFilter, onLoadRange: propOnLoadRange, valueItems }) {
|
|
793
|
+
const [isDropdownSelectedOnlyView, setDropdownSelectedOnlyView] = hooks.useState(false);
|
|
794
|
+
const selectedValuesCount = valueItems?.length;
|
|
795
|
+
const hasSelectedValuesCount = (selectedValuesCount !== undefined && selectedValuesCount > 0) || isDropdownSelectedOnlyView;
|
|
796
|
+
// show only the selected values in the dropdown if isDropdownSelectedOnlyView is true,
|
|
797
|
+
// otherwise show the full data set
|
|
798
|
+
// TODO: We may need to revisit this for hierarchical data because the selected valueItems
|
|
799
|
+
// won't have any information about ancestor group nodes, and we should probably show selected
|
|
800
|
+
// items in context within the hierarchy. Also, the order of the items in the selected-only
|
|
801
|
+
// view right now follows the order in which they were selected, not the order in which they
|
|
802
|
+
// would appear in the full data set. This may be more of a problem for hierarchical data
|
|
803
|
+
// if items have to appear within the correct group ancestors. We may need to move
|
|
804
|
+
// construction of the selected-only DataState out of the component to the consuming code,
|
|
805
|
+
// and take a callback that we can call as a notification that the app should provide this
|
|
806
|
+
// special DataState to us (kind of like onLoadRange). Note that we may also need an
|
|
807
|
+
// enhancement on the DataProvider API to be able to specify a filterCriterion to filter by
|
|
808
|
+
// the selected keys through a fetchFirst call, because a regular fetchByKeys call would
|
|
809
|
+
// still return results in the order in which the keys were specified and would not return
|
|
810
|
+
// data for the ancestor group nodes.
|
|
811
|
+
const selectedOnlyDataProps = useSelectedOnlyData({
|
|
812
|
+
isDropdownSelectedOnlyView,
|
|
813
|
+
valueItems
|
|
814
|
+
});
|
|
815
|
+
const data = isDropdownSelectedOnlyView ? selectedOnlyDataProps.data : propData;
|
|
816
|
+
const onLoadRange = isDropdownSelectedOnlyView
|
|
817
|
+
? selectedOnlyDataProps.onLoadRange
|
|
818
|
+
: propOnLoadRange;
|
|
819
|
+
const handleOnFilter = hooks.useCallback((args) => {
|
|
820
|
+
// when the user is filtering, we need to toggle out from selected only view
|
|
821
|
+
// we consider it filtering only if there is a non-empty filter text is present
|
|
822
|
+
if (!useSelectCommon.isSearchTextEmptyOrUndefined(args.searchText)) {
|
|
823
|
+
setDropdownSelectedOnlyView(false);
|
|
824
|
+
}
|
|
825
|
+
onFilter?.(args);
|
|
826
|
+
}, [onFilter]); // setDropdownSelectedOnlyView is stable so not needed in dep array
|
|
827
|
+
const { currentRow, dropdownRef, handleDropdownArrowClick, handleDropdownAutoDismiss: baseHandleDropdownAutoDismiss, handleDropdownPosition, handleInput, handleMainFieldKeyDown: baseHandleMainFieldKeyDown, handleMainFieldKeyUp, handleUpDownArrowKeys, isDropdownAbove, isDropdownOpen, isFocused, isUserFiltering, mainFieldRef, onCurrentKeyChange, onMouseDown, searchText, setCurrentRow, setDropdownOpen, setUserInput, stopFiltering, userInput } = useSelectCommon.useSelectCommon({
|
|
828
|
+
data,
|
|
829
|
+
inputRef,
|
|
830
|
+
isFocused: propIsFocused,
|
|
831
|
+
onFilter: handleOnFilter
|
|
832
|
+
});
|
|
833
|
+
const [prevIsDropdownOpen, setPrevIsDropdownOpen] = hooks.useState(isDropdownOpen);
|
|
834
|
+
const [prevValueItems, setPrevValueItems] = hooks.useState(valueItems);
|
|
835
|
+
const [selectedKeys, setSelectedKeys] = hooks.useState(createKeysFromValueItems(valueItems));
|
|
836
|
+
const isDataFetched = data !== undefined && data !== null && !useSelectCommon.isBeforeDataFetch(data);
|
|
837
|
+
const isEmptyResults = isDataFetched && data?.totalSize === 0;
|
|
838
|
+
const isAddToListShown = addToList === 'on' &&
|
|
839
|
+
isUserFiltering &&
|
|
840
|
+
searchText != null &&
|
|
841
|
+
searchText.length > 0 &&
|
|
842
|
+
isEmptyResults;
|
|
843
|
+
const handleAddToListAction = hooks.useCallback(() => {
|
|
844
|
+
setDropdownOpen(false);
|
|
845
|
+
stopFiltering();
|
|
846
|
+
onAddToListAction?.({ searchText: isUserFiltering ? searchText : undefined });
|
|
847
|
+
}, [isUserFiltering, onAddToListAction, searchText, setDropdownOpen, stopFiltering]);
|
|
848
|
+
const textTagListRef = hooks.useRef(null);
|
|
849
|
+
const { direction } = useUser.useUser();
|
|
850
|
+
const selectedValuesDescriptionId = useId.useId();
|
|
851
|
+
const selectedValuesKeyboardNavDescriptionId = useId.useId();
|
|
852
|
+
const combinedAriaDescribedBy = stringUtils.merge([
|
|
853
|
+
// when focused, we will show the text tag list.
|
|
854
|
+
// so, we need the screen readers to read them when focusing on the input.
|
|
855
|
+
isFocused && selectedValuesKeyboardNavDescriptionId,
|
|
856
|
+
isFocused && selectedValuesDescriptionId,
|
|
857
|
+
ariaDescribedBy
|
|
858
|
+
]);
|
|
859
|
+
const removeDropdown = hooks.useCallback(() => {
|
|
860
|
+
dropdownRef.current?.parentElement?.removeChild(dropdownRef.current);
|
|
861
|
+
}, [dropdownRef]);
|
|
862
|
+
const shouldSelectCurrentRow = hooks.useCallback((currentRowArg) => {
|
|
863
|
+
// current row needs to be selected if all the conditions below are satisfied
|
|
864
|
+
// 1. user is filtering
|
|
865
|
+
// 2. dropdown is open
|
|
866
|
+
// 3. user has entered a search text
|
|
867
|
+
// 4. current data state has data
|
|
868
|
+
// 5. currentRow exists
|
|
869
|
+
return (isUserFiltering &&
|
|
870
|
+
isDropdownOpen &&
|
|
871
|
+
!useSelectCommon.isSearchTextEmptyOrUndefined(userInput) &&
|
|
872
|
+
(data?.data.length ?? 0) > 0 &&
|
|
873
|
+
currentRowArg.rowKey !== undefined);
|
|
874
|
+
}, [data, isDropdownOpen, isUserFiltering, userInput]);
|
|
875
|
+
const selectRow = hooks.useCallback((key) => {
|
|
876
|
+
// If the key is already selected, do nothing
|
|
877
|
+
if (selectedKeys?.has(key))
|
|
878
|
+
return;
|
|
879
|
+
// If it is not already selected, add it to the selection
|
|
880
|
+
const newValue = selectedKeys === undefined ? new Set([key]) : new Set([...selectedKeys.values(), key]);
|
|
881
|
+
onCommit({ previousValue: selectedKeys, value: newValue });
|
|
882
|
+
setSelectedKeys(newValue);
|
|
883
|
+
}, [onCommit, selectedKeys, setSelectedKeys]);
|
|
884
|
+
const myHandleDropdownAutoDismiss = hooks.useCallback((event) => {
|
|
885
|
+
if (isDropdownOpen) {
|
|
886
|
+
if (event?.type === 'keydown') {
|
|
887
|
+
const keyboardEvent = event;
|
|
888
|
+
switch (keyboardEvent.code) {
|
|
889
|
+
case keyboardUtils.KEYS.TAB:
|
|
890
|
+
// Put focus on an element in the main field, but don't kill the event, so that
|
|
891
|
+
// the browser can naturally transfer focus to the next focusable item relative
|
|
892
|
+
// to the element in the main field.
|
|
893
|
+
if (keyboardEvent.shiftKey || !hasSelectedValuesCount) {
|
|
894
|
+
inputRef.current?.focus();
|
|
895
|
+
}
|
|
896
|
+
else {
|
|
897
|
+
chipRef.current?.focus();
|
|
898
|
+
}
|
|
899
|
+
// Remove the dropdown immediately, without waiting for a rerender based on changing
|
|
900
|
+
// state, so that the open dropdown cannot get focus when the browser handles the
|
|
901
|
+
// Tab key.
|
|
902
|
+
removeDropdown();
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}, [hasSelectedValuesCount, inputRef, isDropdownOpen, removeDropdown]);
|
|
908
|
+
const myHandleMainFieldKeyDown = hooks.useCallback((event) => {
|
|
909
|
+
// const target = event.target as HTMLElement;
|
|
910
|
+
// ignore control key and function key
|
|
911
|
+
if (keyboardUtils.isControlOrFunctionKey(event)) {
|
|
912
|
+
return;
|
|
913
|
+
}
|
|
914
|
+
switch (event.code) {
|
|
915
|
+
case keyboardUtils.KEYS.TAB:
|
|
916
|
+
if (isDropdownOpen && (event.shiftKey || (!hasSelectedValuesCount && !event.shiftKey))) {
|
|
917
|
+
// Remove the dropdown immediately, without waiting for a rerender based on changing
|
|
918
|
+
// state, so that the open dropdown cannot get focus when the browser handles the
|
|
919
|
+
// Tab key.
|
|
920
|
+
removeDropdown();
|
|
921
|
+
setDropdownOpen(false);
|
|
922
|
+
}
|
|
923
|
+
// JET-53183 - core pack compat: stop propagation of handled events
|
|
924
|
+
// we don't want a parent collection component to jump focus to the next cell and skip
|
|
925
|
+
// over the selected values count chip
|
|
926
|
+
if (hasSelectedValuesCount && !event.shiftKey) {
|
|
927
|
+
event.stopPropagation();
|
|
928
|
+
}
|
|
929
|
+
break;
|
|
930
|
+
case keyboardUtils.KEYS.LEFT:
|
|
931
|
+
// Move focus to the text tag if we are in LTR and the cursor is at the
|
|
932
|
+
// beginning of the text (and there is no selection)
|
|
933
|
+
if (direction === 'ltr' &&
|
|
934
|
+
inputRef.current instanceof HTMLInputElement &&
|
|
935
|
+
inputRef.current?.selectionStart === 0 &&
|
|
936
|
+
inputRef.current?.selectionEnd === 0) {
|
|
937
|
+
textTagListRef.current?.focus();
|
|
938
|
+
}
|
|
939
|
+
break;
|
|
940
|
+
case keyboardUtils.KEYS.RIGHT:
|
|
941
|
+
// Move focus to the text tag if we are in RTL and the cursor is at the
|
|
942
|
+
// beginning of the text (and there is no selection)
|
|
943
|
+
if (direction === 'rtl' &&
|
|
944
|
+
inputRef.current instanceof HTMLInputElement &&
|
|
945
|
+
inputRef.current?.selectionStart === 0 &&
|
|
946
|
+
inputRef.current?.selectionEnd === 0) {
|
|
947
|
+
textTagListRef.current?.focus();
|
|
948
|
+
}
|
|
949
|
+
break;
|
|
950
|
+
case keyboardUtils.KEYS.ENTER:
|
|
951
|
+
case keyboardUtils.KEYS.NUMPAD_ENTER:
|
|
952
|
+
// if this is on a mobile device (only phone and not a tablet device), do not do anything
|
|
953
|
+
if (useSelectCommon.isPhone()) {
|
|
954
|
+
return;
|
|
955
|
+
}
|
|
956
|
+
// if add to list is shown, there are no results, so trigger the add to list link
|
|
957
|
+
if (isAddToListShown) {
|
|
958
|
+
handleAddToListAction();
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
// if there is a currentRow in the dropdown (meaning a highlighted item that would
|
|
962
|
+
// have keyboard focus if the dropdown list had physical focus, which may be different
|
|
963
|
+
// from the currently selected item), select it and commit it;
|
|
964
|
+
if (shouldSelectCurrentRow(currentRow)) {
|
|
965
|
+
setDropdownOpen(false);
|
|
966
|
+
// after selecting a value, the user is no longer actively filtering, so update related
|
|
967
|
+
// state accordingly so that the newly selected value appears in the field
|
|
968
|
+
stopFiltering();
|
|
969
|
+
selectRow(currentRow.rowKey);
|
|
970
|
+
}
|
|
971
|
+
break;
|
|
972
|
+
}
|
|
973
|
+
}, [
|
|
974
|
+
currentRow,
|
|
975
|
+
direction,
|
|
976
|
+
handleAddToListAction,
|
|
977
|
+
hasSelectedValuesCount,
|
|
978
|
+
inputRef,
|
|
979
|
+
isAddToListShown,
|
|
980
|
+
isDropdownOpen,
|
|
981
|
+
removeDropdown,
|
|
982
|
+
selectRow,
|
|
983
|
+
setDropdownOpen,
|
|
984
|
+
shouldSelectCurrentRow,
|
|
985
|
+
stopFiltering
|
|
986
|
+
]);
|
|
987
|
+
// when the array of valueItems changes, pull out the new set of selectedKeys
|
|
988
|
+
// (don't need to set selectedKeys here on first render because the state was initialized with
|
|
989
|
+
// the correct value)
|
|
990
|
+
if (prevValueItems !== valueItems) {
|
|
991
|
+
const keys = createKeysFromValueItems(valueItems);
|
|
992
|
+
setSelectedKeys(keys);
|
|
993
|
+
}
|
|
994
|
+
const chipRef = hooks.useRef(null);
|
|
995
|
+
hooks.useEffect(() => {
|
|
996
|
+
chipRef.current =
|
|
997
|
+
hasSelectedValuesCount && mainFieldRef.current?.querySelector
|
|
998
|
+
? mainFieldRef.current.querySelector('[role="switch"]')
|
|
999
|
+
: null;
|
|
1000
|
+
}, [hasSelectedValuesCount, isDisabled, isReadonly, mainFieldRef]);
|
|
1001
|
+
const handleSelectedValuesCountKeyDown = hooks.useCallback((event) => {
|
|
1002
|
+
switch (event.code) {
|
|
1003
|
+
case keyboardUtils.KEYS.TAB:
|
|
1004
|
+
if (isDropdownOpen && !event.shiftKey) {
|
|
1005
|
+
// Remove the dropdown immediately, without waiting for a rerender based on changing
|
|
1006
|
+
// state, so that the open dropdown cannot get focus when the browser handles the
|
|
1007
|
+
// Tab key.
|
|
1008
|
+
removeDropdown();
|
|
1009
|
+
setDropdownOpen(false);
|
|
1010
|
+
}
|
|
1011
|
+
// JET-53183 - core pack compat: stop propagation of handled events
|
|
1012
|
+
// we don't want a parent collection component to jump focus to the next cell and skip
|
|
1013
|
+
// over the input
|
|
1014
|
+
if (event.shiftKey) {
|
|
1015
|
+
event.stopPropagation();
|
|
1016
|
+
}
|
|
1017
|
+
break;
|
|
1018
|
+
case keyboardUtils.KEYS.UP:
|
|
1019
|
+
case keyboardUtils.KEYS.DOWN:
|
|
1020
|
+
// prevent the page from scrolling
|
|
1021
|
+
event.preventDefault();
|
|
1022
|
+
break;
|
|
1023
|
+
case keyboardUtils.KEYS.ESC:
|
|
1024
|
+
if (isDropdownOpen) {
|
|
1025
|
+
setDropdownOpen(false);
|
|
1026
|
+
event.preventDefault();
|
|
1027
|
+
// JET-53183 - core pack compat: stop propagation of handled events
|
|
1028
|
+
// we don't want a parent collection component to stop editing the row when we close
|
|
1029
|
+
// the dropdown
|
|
1030
|
+
event.stopPropagation();
|
|
1031
|
+
}
|
|
1032
|
+
break;
|
|
1033
|
+
case keyboardUtils.KEYS.ENTER:
|
|
1034
|
+
// JET-53183 - core pack compat: stop propagation of handled events
|
|
1035
|
+
// we don't want a parent collection component to move focus to the next row when
|
|
1036
|
+
// we toggle between the full and selected only list in the dropdown
|
|
1037
|
+
event.stopPropagation();
|
|
1038
|
+
break;
|
|
1039
|
+
}
|
|
1040
|
+
}, [isDropdownOpen, removeDropdown, setDropdownOpen]);
|
|
1041
|
+
const handleSelectedValuesCountKeyUp = hooks.useCallback((event) => {
|
|
1042
|
+
switch (event.code) {
|
|
1043
|
+
case keyboardUtils.KEYS.UP:
|
|
1044
|
+
case keyboardUtils.KEYS.DOWN:
|
|
1045
|
+
handleUpDownArrowKeys(event);
|
|
1046
|
+
break;
|
|
1047
|
+
}
|
|
1048
|
+
}, [handleUpDownArrowKeys]);
|
|
1049
|
+
const handleSelectedValuesCountMouseDown = hooks.useCallback((event) => {
|
|
1050
|
+
// call preventDefault so that the dropdown doesn't open showing the full list on mousedown
|
|
1051
|
+
// on the chip before switching to show only the selected values on mouseup when the click
|
|
1052
|
+
// is handled
|
|
1053
|
+
event.preventDefault();
|
|
1054
|
+
// explicitly focus the input because it won't happen naturally due to preventDefault()
|
|
1055
|
+
inputRef.current?.focus();
|
|
1056
|
+
}, [inputRef]);
|
|
1057
|
+
const handleSelectedValuesCountToggle = hooks.useCallback((detail) => {
|
|
1058
|
+
if (!isDropdownOpen) {
|
|
1059
|
+
setDropdownOpen(true);
|
|
1060
|
+
}
|
|
1061
|
+
const value = detail.value ?? false;
|
|
1062
|
+
if (value !== isDropdownSelectedOnlyView) {
|
|
1063
|
+
setDropdownSelectedOnlyView(value);
|
|
1064
|
+
// if the selected only toggle is enabled, we need to stop user filtering
|
|
1065
|
+
if (value) {
|
|
1066
|
+
stopFiltering();
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}, [isDropdownOpen, isDropdownSelectedOnlyView, setDropdownOpen, stopFiltering]);
|
|
1070
|
+
// when the dropdown closes, automatically turn off isDropdownSelectedOnlyView
|
|
1071
|
+
if (!isDropdownOpen && isDropdownSelectedOnlyView) {
|
|
1072
|
+
setDropdownSelectedOnlyView(false);
|
|
1073
|
+
}
|
|
1074
|
+
const onSelectionChange = hooks.useCallback((detail) => {
|
|
1075
|
+
const newKeys = new Set(detail.value.keys?.values());
|
|
1076
|
+
// update the selectedKeys so that the selection visual state of the collection
|
|
1077
|
+
// updates immediately while waiting for new valueItems to be set
|
|
1078
|
+
setSelectedKeys(newKeys);
|
|
1079
|
+
// clear the filter text typed by the user, but do NOT clear the actual filter criterion
|
|
1080
|
+
// or highlighting in the list
|
|
1081
|
+
setUserInput('');
|
|
1082
|
+
// call the onCommit callback so that the consuming code can update the valueItems
|
|
1083
|
+
onCommit?.({ value: newKeys, previousValue: selectedKeys });
|
|
1084
|
+
}, [onCommit, selectedKeys, setSelectedKeys, setUserInput]);
|
|
1085
|
+
const onTextTagListExitNavigation = hooks.useCallback(() => {
|
|
1086
|
+
// Focus the input on the next tick. Doing it in the same event cycle will
|
|
1087
|
+
// trigger the key press on the input element which makes the caret move by
|
|
1088
|
+
// one character.
|
|
1089
|
+
setTimeout(() => inputRef.current?.focus(), 0);
|
|
1090
|
+
}, [inputRef]);
|
|
1091
|
+
const onTextTagListRemove = hooks.useCallback((keys) => {
|
|
1092
|
+
const previousValue = selectedKeys;
|
|
1093
|
+
const value = new Set(selectedKeys);
|
|
1094
|
+
keys.forEach((key) => value.delete(key));
|
|
1095
|
+
onCommit?.({ previousValue, value });
|
|
1096
|
+
}, [onCommit, selectedKeys]);
|
|
1097
|
+
const dropdownEventHandlers = hooks.useMemo(() => {
|
|
1098
|
+
return mergeProps.mergeProps({
|
|
1099
|
+
onAutoDismiss: baseHandleDropdownAutoDismiss,
|
|
1100
|
+
onPosition: handleDropdownPosition
|
|
1101
|
+
}, { onAutoDismiss: myHandleDropdownAutoDismiss });
|
|
1102
|
+
}, [baseHandleDropdownAutoDismiss, handleDropdownPosition, myHandleDropdownAutoDismiss]);
|
|
1103
|
+
const inputEventHandlers = hooks.useMemo(() => {
|
|
1104
|
+
return mergeProps.mergeProps({
|
|
1105
|
+
onInput: handleInput,
|
|
1106
|
+
onKeyDown: baseHandleMainFieldKeyDown,
|
|
1107
|
+
onKeyUp: handleMainFieldKeyUp
|
|
1108
|
+
}, { onKeyDown: myHandleMainFieldKeyDown });
|
|
1109
|
+
}, [baseHandleMainFieldKeyDown, handleInput, handleMainFieldKeyUp, myHandleMainFieldKeyDown]);
|
|
1110
|
+
const textTagListProps = hooks.useMemo(() => ({
|
|
1111
|
+
textTagListRef,
|
|
1112
|
+
onExitNavigation: onTextTagListExitNavigation,
|
|
1113
|
+
onRemove: onTextTagListRemove
|
|
1114
|
+
}), [onTextTagListExitNavigation, onTextTagListRemove]);
|
|
1115
|
+
// clear the current item when the dropdown opens
|
|
1116
|
+
if (isDropdownOpen && !prevIsDropdownOpen) {
|
|
1117
|
+
setCurrentRow({ rowKey: undefined });
|
|
1118
|
+
}
|
|
1119
|
+
// when the dropdown closes, if the user input is empty, reset filtering
|
|
1120
|
+
const isDropdownClosing = prevIsDropdownOpen && !isDropdownOpen;
|
|
1121
|
+
if (isDropdownClosing && !userInput) {
|
|
1122
|
+
stopFiltering();
|
|
1123
|
+
}
|
|
1124
|
+
// We need to highlight the first result whenever the data changes
|
|
1125
|
+
// We cannot use state for the prevData and update it during the render as it is
|
|
1126
|
+
// returned by a useMemo hook.
|
|
1127
|
+
// There is a bug in preact where if a return value of a useMemo is used for
|
|
1128
|
+
// updating a state during the render, it creates an infinite render cycle.
|
|
1129
|
+
// See https://github.com/preactjs/preact/issues/4422.
|
|
1130
|
+
// Till this issue is fixed, we need to use a ref for this use case.
|
|
1131
|
+
const prevData = hooks.useRef(data);
|
|
1132
|
+
if (prevData.current !== data) {
|
|
1133
|
+
// when filtering, set the first result of the filtered data set to be the current item
|
|
1134
|
+
// (check the data offset so we don't try to highlight again if the user scrolls through
|
|
1135
|
+
// the list and more data is fetched)
|
|
1136
|
+
const firstResultKey = data?.data[0]?.metadata.key;
|
|
1137
|
+
if (isDropdownOpen && isUserFiltering && firstResultKey != null && data?.offset === 0) {
|
|
1138
|
+
// if there are results and search text, highlight the first row, otherwise clear
|
|
1139
|
+
// an existing highlight
|
|
1140
|
+
setCurrentRow({
|
|
1141
|
+
rowKey: useSelectCommon.isSearchTextEmptyOrUndefined(searchText) ? undefined : firstResultKey
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
prevData.current = data;
|
|
1145
|
+
}
|
|
1146
|
+
if (prevIsDropdownOpen !== isDropdownOpen) {
|
|
1147
|
+
setPrevIsDropdownOpen(isDropdownOpen);
|
|
1148
|
+
}
|
|
1149
|
+
if (prevValueItems !== valueItems) {
|
|
1150
|
+
setPrevValueItems(valueItems);
|
|
1151
|
+
}
|
|
1152
|
+
return {
|
|
1153
|
+
addToListEventHandlers: {
|
|
1154
|
+
onAction: handleAddToListAction
|
|
1155
|
+
},
|
|
1156
|
+
ariaProps: {
|
|
1157
|
+
ariaDescribedBy: combinedAriaDescribedBy
|
|
1158
|
+
},
|
|
1159
|
+
collectionProps: {
|
|
1160
|
+
currentKey: currentRow.rowKey,
|
|
1161
|
+
data,
|
|
1162
|
+
onCurrentKeyChange,
|
|
1163
|
+
onSelectionChange,
|
|
1164
|
+
onLoadRange,
|
|
1165
|
+
selectedKeys
|
|
1166
|
+
},
|
|
1167
|
+
data,
|
|
1168
|
+
dropdownArrowEventHandlers: {
|
|
1169
|
+
onClick: handleDropdownArrowClick
|
|
1170
|
+
},
|
|
1171
|
+
dropdownEventHandlers,
|
|
1172
|
+
dropdownRef,
|
|
1173
|
+
hasSelectedValuesCount,
|
|
1174
|
+
inputEventHandlers,
|
|
1175
|
+
inputRef,
|
|
1176
|
+
isAddToListShown,
|
|
1177
|
+
isDataFetched,
|
|
1178
|
+
isDropdownAbove,
|
|
1179
|
+
isDropdownOpen,
|
|
1180
|
+
isDropdownSelectedOnlyView,
|
|
1181
|
+
isEmptyResults,
|
|
1182
|
+
isFocused,
|
|
1183
|
+
isUserFiltering,
|
|
1184
|
+
mainFieldRef,
|
|
1185
|
+
mouseProps: isDisabled || isReadonly ? {} : { onMouseDown },
|
|
1186
|
+
searchText,
|
|
1187
|
+
selectedValuesCountProps: {
|
|
1188
|
+
onKeyDown: handleSelectedValuesCountKeyDown,
|
|
1189
|
+
onKeyUp: handleSelectedValuesCountKeyUp,
|
|
1190
|
+
onMouseDown: handleSelectedValuesCountMouseDown,
|
|
1191
|
+
onToggle: handleSelectedValuesCountToggle
|
|
1192
|
+
},
|
|
1193
|
+
selectedValuesDescriptionId,
|
|
1194
|
+
selectedValuesKeyboardNavDescriptionId,
|
|
1195
|
+
setDropdownOpen,
|
|
1196
|
+
setUserInput,
|
|
1197
|
+
stopFiltering,
|
|
1198
|
+
textTagListProps,
|
|
1199
|
+
userInput
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
function createKeysFromValueItems(valueItems) {
|
|
1203
|
+
const keys = valueItems?.reduce((accumKeys, currentItem) => {
|
|
1204
|
+
accumKeys.add(currentItem.key);
|
|
1205
|
+
return accumKeys;
|
|
1206
|
+
}, new Set());
|
|
1207
|
+
return keys;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* A SelectMultiple is a dropdown list that supports multiple selection and search filtering.
|
|
1212
|
+
*/
|
|
1213
|
+
const SelectMultiple = compat.forwardRef(({ addToList = 'off', 'aria-describedby': propAriaDescribedBy, assistiveText, columnSpan, data: propData, helpSourceLink, helpSourceText, isDisabled: propIsDisabled, isLoading: propIsLoading, isReadonly: propIsReadonly, isRequired, isRequiredShown, itemRenderer, itemText, label, labelEdge: propLabelEdge, labelStartWidth: propLabelStartWidth, messages, onAddToListAction, onCommit, onFilter, onLoadRange: propOnLoadRange, placeholder, testId, textAlign: propTextAlign, userAssistanceDensity: propUserAssistanceDensity, valueItems, variant = 'default', virtualKeyboard }, ref) => {
|
|
1214
|
+
const { isDisabled: isFormDisabled, isReadonly: isFormReadonly, labelEdge: formLabelEdge, labelStartWidth: formLabelStartWidth, textAlign: formTextAlign, userAssistanceDensity: formUserAssistanceDensity } = useFormContext.useFormContext();
|
|
1215
|
+
// default to FormContext values if component properties are not specified
|
|
1216
|
+
const isDisabled = propIsDisabled ?? isFormDisabled;
|
|
1217
|
+
const isReadonly = propIsReadonly ?? isFormReadonly;
|
|
1218
|
+
const labelEdge = propLabelEdge ?? formLabelEdge;
|
|
1219
|
+
const labelStartWidth = propLabelStartWidth ?? formLabelStartWidth;
|
|
1220
|
+
const textAlign = propTextAlign ?? formTextAlign;
|
|
1221
|
+
const userAssistanceDensity = propUserAssistanceDensity ?? formUserAssistanceDensity;
|
|
1222
|
+
const { enabledElementRef, focusProps, isFocused: origIsFocused, readonlyElementRef } = useFocusableTextField.useFocusableTextField({ isDisabled, isReadonly, ref });
|
|
1223
|
+
const { addToListEventHandlers, ariaProps, collectionProps, data, dropdownArrowEventHandlers, dropdownEventHandlers, dropdownRef, hasSelectedValuesCount, inputEventHandlers, isAddToListShown, isDataFetched, isDropdownAbove, isDropdownOpen, isDropdownSelectedOnlyView, isEmptyResults, isFocused, isUserFiltering, mainFieldRef, mouseProps, searchText, selectedValuesCountProps, selectedValuesDescriptionId, selectedValuesKeyboardNavDescriptionId, setDropdownOpen, setUserInput, stopFiltering, textTagListProps, userInput } = useSelectMultiple({
|
|
1224
|
+
addToList,
|
|
1225
|
+
ariaDescribedBy: propAriaDescribedBy,
|
|
1226
|
+
data: propData,
|
|
1227
|
+
inputRef: enabledElementRef,
|
|
1228
|
+
isDisabled,
|
|
1229
|
+
isFocused: origIsFocused,
|
|
1230
|
+
isReadonly,
|
|
1231
|
+
onAddToListAction,
|
|
1232
|
+
onCommit,
|
|
1233
|
+
onFilter,
|
|
1234
|
+
onLoadRange: propOnLoadRange,
|
|
1235
|
+
valueItems
|
|
1236
|
+
});
|
|
1237
|
+
// The incoming propIsLoading tells us that we are in a loading state, but we don't want to
|
|
1238
|
+
// show the loading indicator until after a delay, because showing it immediately could result
|
|
1239
|
+
// in unwanted flashing. The isLoading var below will be set to true by useLoadingIndicatorTimer
|
|
1240
|
+
// after the delay, when the timer expires, at which point we should show the loading indicator.
|
|
1241
|
+
// If propIsLoading is set to false before the timer expires, then the timer will be cancelled
|
|
1242
|
+
// and no loading indicator will be shown.
|
|
1243
|
+
// (ListView detects its loading state by checking data === null. While it would be nice for
|
|
1244
|
+
// us to be consistent and check valueItems === null, we need to use a separate isLoading prop.
|
|
1245
|
+
// If valueItems === null triggers our loading state, then the selections in the dropdown
|
|
1246
|
+
// are cleared for that period of time, which is undesirable.)
|
|
1247
|
+
const isLoading = useLoadingIndicatorTimer.useLoadingIndicatorTimer(propIsLoading ?? false);
|
|
1248
|
+
const { baseId, formFieldContext, inputProps, labelProps, textFieldProps, userAssistanceProps } = useTextField.useTextField({
|
|
1249
|
+
ariaDescribedBy: ariaProps.ariaDescribedBy,
|
|
1250
|
+
helpSourceLink,
|
|
1251
|
+
helpSourceText,
|
|
1252
|
+
isDisabled,
|
|
1253
|
+
isFocused,
|
|
1254
|
+
isLoading,
|
|
1255
|
+
isReadonly,
|
|
1256
|
+
isRequiredShown,
|
|
1257
|
+
labelEdge,
|
|
1258
|
+
messages,
|
|
1259
|
+
styleVariant: variant,
|
|
1260
|
+
userAssistanceDensity,
|
|
1261
|
+
value: valueItems !== undefined && valueItems.length > 0 ? true : undefined
|
|
1262
|
+
});
|
|
1263
|
+
// JET-54256 - inside label animates up on initial display with selected value
|
|
1264
|
+
// If we're waiting for the selected values to load, the component should look like it
|
|
1265
|
+
// has a value in the meantime.
|
|
1266
|
+
// Use the original propIsLoading instead of isLoading because we don't want to delay
|
|
1267
|
+
// the inside label position by a timer like we do the progressive loading indicator.
|
|
1268
|
+
formFieldContext.hasValue = propIsLoading || formFieldContext.hasValue;
|
|
1269
|
+
const dropdownId = `${baseId}-dropdown`;
|
|
1270
|
+
const { displayValue, textTags } = useDisplayValues(itemText, valueItems);
|
|
1271
|
+
// Do not set a forId in phone as we will be using aria-labelledby instead.
|
|
1272
|
+
// This is because we will using a div and not input when rendering in a phone.
|
|
1273
|
+
const labelComp = labelEdge !== 'none' ? (jsxRuntime.jsx(Label.Label, { ...labelProps, ...(useSelectCommon.isPhone() ? { forId: undefined } : {}), children: label })) : undefined;
|
|
1274
|
+
const fieldLabelProps = {
|
|
1275
|
+
label: labelEdge !== 'none' ? labelComp : undefined,
|
|
1276
|
+
labelEdge: labelEdge !== 'none' ? labelEdge : undefined,
|
|
1277
|
+
labelStartWidth: labelEdge !== 'none' ? labelStartWidth : undefined
|
|
1278
|
+
};
|
|
1279
|
+
const ariaLabel = labelEdge === 'none' ? label : undefined;
|
|
1280
|
+
const isInlineDensity = userAssistanceDensity === 'efficient' || userAssistanceDensity === 'reflow';
|
|
1281
|
+
const inlineUserAssistance = isInlineDensity ? (isDisabled || isReadonly ? (
|
|
1282
|
+
// save space for user assistance if density is 'efficient', even though we don't
|
|
1283
|
+
// render user assistance for disabled or readonly fields
|
|
1284
|
+
userAssistanceDensity !== 'efficient' ? undefined : (jsxRuntime.jsx(InlineUserAssistance.InlineUserAssistance, { userAssistanceDensity: userAssistanceDensity, ...userAssistanceProps }))) : (jsxRuntime.jsx(InlineUserAssistance.InlineUserAssistance, { assistiveText: assistiveText, fieldLabel: label, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, messages: messages, isRequiredShown: isRequiredShown, userAssistanceDensity: userAssistanceDensity, ...userAssistanceProps }))) : undefined;
|
|
1285
|
+
const compactUserAssistance = userAssistanceDensity === 'compact' ? (jsxRuntime.jsx(CompactUserAssistance.CompactUserAssistance, { anchorRef: mainFieldRef, messages: messages, assistiveText: assistiveText, ...userAssistanceProps })) : undefined;
|
|
1286
|
+
const translations = useTranslationBundle.useTranslationBundle('@oracle/oraclejet-preact');
|
|
1287
|
+
if (isReadonly) {
|
|
1288
|
+
const mainContent = (jsxRuntime.jsx(ReadonlyTextFieldInput.ReadonlyTextFieldInput, { "aria-describedby": inputProps['aria-describedby'], "aria-label": ariaLabel, "aria-labelledby": labelProps.id, as: "div", elementRef: readonlyElementRef, hasEmptyLabel: label === '' && labelEdge === 'none', hasInsideLabel: label !== undefined && labelEdge === 'inside', textAlign: textAlign, value: displayValue }));
|
|
1289
|
+
return (jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(StyledTextField.ReadonlyTextField, { role: "presentation", columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, inlineUserAssistance: inlineUserAssistance, onBlur: focusProps.onFocusOut, onFocus: focusProps.onFocusIn, ref: mainFieldRef, mainContent: mainContent, testId: testId, ...fieldLabelProps }) }));
|
|
1290
|
+
}
|
|
1291
|
+
const hasInsideLabel = labelEdge === 'inside';
|
|
1292
|
+
const liveRegionText = isDropdownOpen && isDataFetched
|
|
1293
|
+
? data?.totalSize === 0
|
|
1294
|
+
? translations.select_noMatchesFound()
|
|
1295
|
+
: data?.totalSize === 1
|
|
1296
|
+
? translations.select_oneMatchFound()
|
|
1297
|
+
: data?.sizePrecision === 'exact'
|
|
1298
|
+
? translations.select_sizeMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })
|
|
1299
|
+
: translations.select_sizeOrMoreMatchesFound({ TOTAL_SIZE: `${data?.totalSize}` })
|
|
1300
|
+
: '';
|
|
1301
|
+
const shouldShowDropdown = isDropdownOpen &&
|
|
1302
|
+
data !== undefined &&
|
|
1303
|
+
(data === null || data.totalSize > 0 || useSelectCommon.isBeforeDataFetch(data) || isEmptyResults);
|
|
1304
|
+
const hasEmptyLabel = label === '' && labelEdge === 'none';
|
|
1305
|
+
// Use the mobile field if the component is being rendered in a phone
|
|
1306
|
+
// and it is not disabled.
|
|
1307
|
+
const isPhoneMainFieldInput = useSelectCommon.isPhone() && !isDisabled;
|
|
1308
|
+
const mainFieldInput = !isPhoneMainFieldInput ? (jsxRuntime.jsx(SelectMultipleFieldInput, { "aria-controls": dropdownId, "aria-expanded": isDropdownOpen, "aria-label": ariaLabel, displayValue: displayValue, hasEmptyLabel: hasEmptyLabel, hasInsideLabel: hasInsideLabel, inputRef: enabledElementRef, isAddToListShown: isAddToListShown, isKeyboardNavigable: !isDisabled && !useSelectCommon.isMobile(), isRequired: isRequired, isTextTagListShown: isFocused && textTags.length !== 0, isUserFiltering: isUserFiltering, liveRegionText: liveRegionText, placeholder: placeholder,
|
|
1309
|
+
// we only want the remove icon in the main field for tablets
|
|
1310
|
+
removeIcon: useSelectCommon.isTablet() ? 'always' : 'never', selectedValuesDescriptionId: selectedValuesDescriptionId, selectedValuesKeyboardNavDescriptionId: selectedValuesKeyboardNavDescriptionId, textAlign: textAlign, textTagListData: textTags, userInput: userInput,
|
|
1311
|
+
// In tablet, we would want to show the virtual keyboard
|
|
1312
|
+
virtualKeyboard: useSelectCommon.isTablet() ? virtualKeyboard : undefined, ...inputEventHandlers, ...inputProps, ...textTagListProps })) : (jsxRuntime.jsx(useSelectCommon.SelectMobileFieldInput, { "aria-controls": dropdownId, "aria-describedby": inputProps['aria-describedby'], "aria-expanded": isDropdownOpen, "aria-invalid": inputProps['aria-invalid'], "aria-label": ariaLabel, "aria-labelledby": labelProps.id, displayValue: displayValue, hasEmptyLabel: hasEmptyLabel, hasInsideLabel: hasInsideLabel, isRequired: isRequired, onBlur: inputProps.onBlur, onFocus: inputProps.onFocus, placeholder: placeholder, ref: enabledElementRef, textAlign: textAlign, variant: inputProps.variant }));
|
|
1313
|
+
const dropdown = !shouldShowDropdown ? null : useSelectCommon.isPhone() ? (jsxRuntime.jsx(SelectMultipleMobileDropdown, { "aria-describedby": ariaProps.ariaDescribedBy, "aria-label": ariaLabel, assistiveText: assistiveText,
|
|
1314
|
+
// We always pass the whole data here. As the change made in the mobile dropdown
|
|
1315
|
+
// exists only in the mobile dropdown, we let it decide how to render the data.
|
|
1316
|
+
data: propData, dropdownId: dropdownId, enabledElementRef: enabledElementRef, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, isAddToListShown: isAddToListShown, isDisabled: isDisabled, isEmptyResults: isEmptyResults, isFocused: isFocused, isLoading: isLoading, isOpen: shouldShowDropdown, isReadonly: isReadonly, isRequired: isRequired, isSelectedOnlyView: isDropdownSelectedOnlyView, isUserFiltering: isUserFiltering, itemRenderer: itemRenderer, itemText: itemText, label: label, liveRegionText: liveRegionText, placeholder: placeholder, propIsLoading: propIsLoading, searchText: searchText, selectedValuesDescriptionId: selectedValuesDescriptionId, setDropdownOpen: setDropdownOpen, setUserInput: setUserInput, stopFiltering: stopFiltering, textAlign: textAlign, textTagListRef: textTagListProps.textTagListRef, userAssistanceDensity: userAssistanceDensity, userInput: userInput, valueItems: valueItems, virtualKeyboard: virtualKeyboard, onAddToListAction: addToListEventHandlers.onAction, onCommit: onCommit, onFieldBlur: focusProps.onFocusOut, onFieldFocus: focusProps.onFocusIn, onFieldInput: inputEventHandlers.onInput, onFieldKeyDown: inputEventHandlers.onKeyDown, onFieldKeyUp: inputEventHandlers.onKeyUp, onLoadRange: propOnLoadRange })) : (jsxRuntime.jsx(SelectMultipleDesktopDropdown, { ...collectionProps, ...dropdownEventHandlers, assistiveText: assistiveText, dropdownId: dropdownId, dropdownRef: dropdownRef, helpSourceLink: helpSourceLink, helpSourceText: helpSourceText, isAddToListShown: isAddToListShown, isDisabled: isDisabled, isDropdownAbove: isDropdownAbove, isEmptyResults: isEmptyResults, isOpen: shouldShowDropdown, isReadonly: isReadonly, isSelectedOnlyView: isDropdownSelectedOnlyView, isUserFiltering: isUserFiltering, itemRenderer: itemRenderer, itemText: itemText, label: label, mainFieldRef: mainFieldRef, onAddToListAction: addToListEventHandlers.onAction, searchText: searchText, userAssistanceDensity: userAssistanceDensity }));
|
|
1317
|
+
return (jsxRuntime.jsxs(preact.Fragment, { children: [jsxRuntime.jsx(FormFieldContext.FormFieldContext.Provider, { value: formFieldContext, children: jsxRuntime.jsx(SelectMultipleField, { columnSpan: columnSpan, compactUserAssistance: compactUserAssistance, fieldLabel: label, hasInsideLabel: hasInsideLabel, inlineUserAssistance: inlineUserAssistance, isDropdownArrowShown: true, isDropdownSelectedOnlyView: isDropdownSelectedOnlyView, isSelectedValuesCountShown: hasSelectedValuesCount, mainFieldRef: mainFieldRef, onBlur: focusProps.onFocusOut, onFocus: focusProps.onFocusIn, onDropdownArrowClick: dropdownArrowEventHandlers.onClick, onSelectedValuesCountKeyDown: selectedValuesCountProps.onKeyDown, onSelectedValuesCountKeyUp: selectedValuesCountProps.onKeyUp, onSelectedValuesCountMouseDown: selectedValuesCountProps.onMouseDown, onSelectedValuesCountToggle: selectedValuesCountProps.onToggle, selectedValuesCount: valueItems?.length, testId: testId, ...fieldLabelProps, ...mouseProps, ...textFieldProps, children: mainFieldInput }) }), dropdown] }));
|
|
1318
|
+
});
|
|
1319
|
+
|
|
1320
|
+
exports.SelectMultiple = SelectMultiple;
|
|
1321
|
+
//# sourceMappingURL=SelectMultiple-fcfb029a.js.map
|