@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,1916 @@
|
|
|
1
|
+
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
+
import { useMemo, useRef, useState, useCallback, useLayoutEffect } from 'preact/hooks';
|
|
3
|
+
import { u as useUser } from './useUser-99920e02.js';
|
|
4
|
+
import { n as normalizePosition, r as reverseNormalizePosition } from './positionUtils-1ec41fd0.js';
|
|
5
|
+
|
|
6
|
+
const min = Math.min;
|
|
7
|
+
const max = Math.max;
|
|
8
|
+
const round = Math.round;
|
|
9
|
+
const floor = Math.floor;
|
|
10
|
+
const createCoords = v => ({
|
|
11
|
+
x: v,
|
|
12
|
+
y: v
|
|
13
|
+
});
|
|
14
|
+
const oppositeSideMap = {
|
|
15
|
+
left: 'right',
|
|
16
|
+
right: 'left',
|
|
17
|
+
bottom: 'top',
|
|
18
|
+
top: 'bottom'
|
|
19
|
+
};
|
|
20
|
+
const oppositeAlignmentMap = {
|
|
21
|
+
start: 'end',
|
|
22
|
+
end: 'start'
|
|
23
|
+
};
|
|
24
|
+
function clamp(start, value, end) {
|
|
25
|
+
return max(start, min(value, end));
|
|
26
|
+
}
|
|
27
|
+
function evaluate(value, param) {
|
|
28
|
+
return typeof value === 'function' ? value(param) : value;
|
|
29
|
+
}
|
|
30
|
+
function getSide(placement) {
|
|
31
|
+
return placement.split('-')[0];
|
|
32
|
+
}
|
|
33
|
+
function getAlignment(placement) {
|
|
34
|
+
return placement.split('-')[1];
|
|
35
|
+
}
|
|
36
|
+
function getOppositeAxis(axis) {
|
|
37
|
+
return axis === 'x' ? 'y' : 'x';
|
|
38
|
+
}
|
|
39
|
+
function getAxisLength(axis) {
|
|
40
|
+
return axis === 'y' ? 'height' : 'width';
|
|
41
|
+
}
|
|
42
|
+
function getSideAxis(placement) {
|
|
43
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
44
|
+
}
|
|
45
|
+
function getAlignmentAxis(placement) {
|
|
46
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
47
|
+
}
|
|
48
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
49
|
+
if (rtl === void 0) {
|
|
50
|
+
rtl = false;
|
|
51
|
+
}
|
|
52
|
+
const alignment = getAlignment(placement);
|
|
53
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
54
|
+
const length = getAxisLength(alignmentAxis);
|
|
55
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
56
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
57
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
58
|
+
}
|
|
59
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
60
|
+
}
|
|
61
|
+
function getExpandedPlacements(placement) {
|
|
62
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
63
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
64
|
+
}
|
|
65
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
66
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
67
|
+
}
|
|
68
|
+
function getSideList(side, isStart, rtl) {
|
|
69
|
+
const lr = ['left', 'right'];
|
|
70
|
+
const rl = ['right', 'left'];
|
|
71
|
+
const tb = ['top', 'bottom'];
|
|
72
|
+
const bt = ['bottom', 'top'];
|
|
73
|
+
switch (side) {
|
|
74
|
+
case 'top':
|
|
75
|
+
case 'bottom':
|
|
76
|
+
if (rtl) return isStart ? rl : lr;
|
|
77
|
+
return isStart ? lr : rl;
|
|
78
|
+
case 'left':
|
|
79
|
+
case 'right':
|
|
80
|
+
return isStart ? tb : bt;
|
|
81
|
+
default:
|
|
82
|
+
return [];
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
86
|
+
const alignment = getAlignment(placement);
|
|
87
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
88
|
+
if (alignment) {
|
|
89
|
+
list = list.map(side => side + "-" + alignment);
|
|
90
|
+
if (flipAlignment) {
|
|
91
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return list;
|
|
95
|
+
}
|
|
96
|
+
function getOppositePlacement(placement) {
|
|
97
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
98
|
+
}
|
|
99
|
+
function expandPaddingObject(padding) {
|
|
100
|
+
return {
|
|
101
|
+
top: 0,
|
|
102
|
+
right: 0,
|
|
103
|
+
bottom: 0,
|
|
104
|
+
left: 0,
|
|
105
|
+
...padding
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function getPaddingObject(padding) {
|
|
109
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
110
|
+
top: padding,
|
|
111
|
+
right: padding,
|
|
112
|
+
bottom: padding,
|
|
113
|
+
left: padding
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function rectToClientRect(rect) {
|
|
117
|
+
return {
|
|
118
|
+
...rect,
|
|
119
|
+
top: rect.y,
|
|
120
|
+
left: rect.x,
|
|
121
|
+
right: rect.x + rect.width,
|
|
122
|
+
bottom: rect.y + rect.height
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
127
|
+
let {
|
|
128
|
+
reference,
|
|
129
|
+
floating
|
|
130
|
+
} = _ref;
|
|
131
|
+
const sideAxis = getSideAxis(placement);
|
|
132
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
133
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
134
|
+
const side = getSide(placement);
|
|
135
|
+
const isVertical = sideAxis === 'y';
|
|
136
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
137
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
138
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
139
|
+
let coords;
|
|
140
|
+
switch (side) {
|
|
141
|
+
case 'top':
|
|
142
|
+
coords = {
|
|
143
|
+
x: commonX,
|
|
144
|
+
y: reference.y - floating.height
|
|
145
|
+
};
|
|
146
|
+
break;
|
|
147
|
+
case 'bottom':
|
|
148
|
+
coords = {
|
|
149
|
+
x: commonX,
|
|
150
|
+
y: reference.y + reference.height
|
|
151
|
+
};
|
|
152
|
+
break;
|
|
153
|
+
case 'right':
|
|
154
|
+
coords = {
|
|
155
|
+
x: reference.x + reference.width,
|
|
156
|
+
y: commonY
|
|
157
|
+
};
|
|
158
|
+
break;
|
|
159
|
+
case 'left':
|
|
160
|
+
coords = {
|
|
161
|
+
x: reference.x - floating.width,
|
|
162
|
+
y: commonY
|
|
163
|
+
};
|
|
164
|
+
break;
|
|
165
|
+
default:
|
|
166
|
+
coords = {
|
|
167
|
+
x: reference.x,
|
|
168
|
+
y: reference.y
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
switch (getAlignment(placement)) {
|
|
172
|
+
case 'start':
|
|
173
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
174
|
+
break;
|
|
175
|
+
case 'end':
|
|
176
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
return coords;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
184
|
+
* next to a reference element when it is given a certain positioning strategy.
|
|
185
|
+
*
|
|
186
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
187
|
+
* write one for the platform you are using Floating UI with.
|
|
188
|
+
*/
|
|
189
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
190
|
+
const {
|
|
191
|
+
placement = 'bottom',
|
|
192
|
+
strategy = 'absolute',
|
|
193
|
+
middleware = [],
|
|
194
|
+
platform
|
|
195
|
+
} = config;
|
|
196
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
197
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
198
|
+
let rects = await platform.getElementRects({
|
|
199
|
+
reference,
|
|
200
|
+
floating,
|
|
201
|
+
strategy
|
|
202
|
+
});
|
|
203
|
+
let {
|
|
204
|
+
x,
|
|
205
|
+
y
|
|
206
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
207
|
+
let statefulPlacement = placement;
|
|
208
|
+
let middlewareData = {};
|
|
209
|
+
let resetCount = 0;
|
|
210
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
211
|
+
const {
|
|
212
|
+
name,
|
|
213
|
+
fn
|
|
214
|
+
} = validMiddleware[i];
|
|
215
|
+
const {
|
|
216
|
+
x: nextX,
|
|
217
|
+
y: nextY,
|
|
218
|
+
data,
|
|
219
|
+
reset
|
|
220
|
+
} = await fn({
|
|
221
|
+
x,
|
|
222
|
+
y,
|
|
223
|
+
initialPlacement: placement,
|
|
224
|
+
placement: statefulPlacement,
|
|
225
|
+
strategy,
|
|
226
|
+
middlewareData,
|
|
227
|
+
rects,
|
|
228
|
+
platform,
|
|
229
|
+
elements: {
|
|
230
|
+
reference,
|
|
231
|
+
floating
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
x = nextX != null ? nextX : x;
|
|
235
|
+
y = nextY != null ? nextY : y;
|
|
236
|
+
middlewareData = {
|
|
237
|
+
...middlewareData,
|
|
238
|
+
[name]: {
|
|
239
|
+
...middlewareData[name],
|
|
240
|
+
...data
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
if (reset && resetCount <= 50) {
|
|
244
|
+
resetCount++;
|
|
245
|
+
if (typeof reset === 'object') {
|
|
246
|
+
if (reset.placement) {
|
|
247
|
+
statefulPlacement = reset.placement;
|
|
248
|
+
}
|
|
249
|
+
if (reset.rects) {
|
|
250
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
251
|
+
reference,
|
|
252
|
+
floating,
|
|
253
|
+
strategy
|
|
254
|
+
}) : reset.rects;
|
|
255
|
+
}
|
|
256
|
+
({
|
|
257
|
+
x,
|
|
258
|
+
y
|
|
259
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
260
|
+
}
|
|
261
|
+
i = -1;
|
|
262
|
+
continue;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return {
|
|
266
|
+
x,
|
|
267
|
+
y,
|
|
268
|
+
placement: statefulPlacement,
|
|
269
|
+
strategy,
|
|
270
|
+
middlewareData
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
276
|
+
* element is overflowing a given clipping boundary on each side.
|
|
277
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
278
|
+
* - negative = how many pixels left before it will overflow
|
|
279
|
+
* - 0 = lies flush with the boundary
|
|
280
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
281
|
+
*/
|
|
282
|
+
async function detectOverflow(state, options) {
|
|
283
|
+
var _await$platform$isEle;
|
|
284
|
+
if (options === void 0) {
|
|
285
|
+
options = {};
|
|
286
|
+
}
|
|
287
|
+
const {
|
|
288
|
+
x,
|
|
289
|
+
y,
|
|
290
|
+
platform,
|
|
291
|
+
rects,
|
|
292
|
+
elements,
|
|
293
|
+
strategy
|
|
294
|
+
} = state;
|
|
295
|
+
const {
|
|
296
|
+
boundary = 'clippingAncestors',
|
|
297
|
+
rootBoundary = 'viewport',
|
|
298
|
+
elementContext = 'floating',
|
|
299
|
+
altBoundary = false,
|
|
300
|
+
padding = 0
|
|
301
|
+
} = evaluate(options, state);
|
|
302
|
+
const paddingObject = getPaddingObject(padding);
|
|
303
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
304
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
305
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
306
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
307
|
+
boundary,
|
|
308
|
+
rootBoundary,
|
|
309
|
+
strategy
|
|
310
|
+
}));
|
|
311
|
+
const rect = elementContext === 'floating' ? {
|
|
312
|
+
...rects.floating,
|
|
313
|
+
x,
|
|
314
|
+
y
|
|
315
|
+
} : rects.reference;
|
|
316
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
317
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
318
|
+
x: 1,
|
|
319
|
+
y: 1
|
|
320
|
+
} : {
|
|
321
|
+
x: 1,
|
|
322
|
+
y: 1
|
|
323
|
+
};
|
|
324
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
325
|
+
rect,
|
|
326
|
+
offsetParent,
|
|
327
|
+
strategy
|
|
328
|
+
}) : rect);
|
|
329
|
+
return {
|
|
330
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
331
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
332
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
333
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Provides data to position an inner element of the floating element so that it
|
|
339
|
+
* appears centered to the reference element.
|
|
340
|
+
* @see https://floating-ui.com/docs/arrow
|
|
341
|
+
*/
|
|
342
|
+
const arrow = options => ({
|
|
343
|
+
name: 'arrow',
|
|
344
|
+
options,
|
|
345
|
+
async fn(state) {
|
|
346
|
+
const {
|
|
347
|
+
x,
|
|
348
|
+
y,
|
|
349
|
+
placement,
|
|
350
|
+
rects,
|
|
351
|
+
platform,
|
|
352
|
+
elements
|
|
353
|
+
} = state;
|
|
354
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
355
|
+
const {
|
|
356
|
+
element,
|
|
357
|
+
padding = 0
|
|
358
|
+
} = evaluate(options, state) || {};
|
|
359
|
+
if (element == null) {
|
|
360
|
+
return {};
|
|
361
|
+
}
|
|
362
|
+
const paddingObject = getPaddingObject(padding);
|
|
363
|
+
const coords = {
|
|
364
|
+
x,
|
|
365
|
+
y
|
|
366
|
+
};
|
|
367
|
+
const axis = getAlignmentAxis(placement);
|
|
368
|
+
const length = getAxisLength(axis);
|
|
369
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
370
|
+
const isYAxis = axis === 'y';
|
|
371
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
372
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
373
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
374
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
375
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
376
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
377
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
378
|
+
|
|
379
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
380
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
381
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
382
|
+
}
|
|
383
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
384
|
+
|
|
385
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
386
|
+
// centered, modify the padding so that it is centered.
|
|
387
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
388
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
389
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
390
|
+
|
|
391
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
392
|
+
// point is outside the floating element's bounds.
|
|
393
|
+
const min$1 = minPadding;
|
|
394
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
395
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
396
|
+
const offset = clamp(min$1, center, max);
|
|
397
|
+
|
|
398
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
399
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
400
|
+
// floating element itself. This stops `shift()` from taking action, but can
|
|
401
|
+
// be worked around by calling it again after the `arrow()` if desired.
|
|
402
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
403
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
404
|
+
return {
|
|
405
|
+
[axis]: coords[axis] - alignmentOffset,
|
|
406
|
+
data: {
|
|
407
|
+
[axis]: offset,
|
|
408
|
+
centerOffset: center - offset + alignmentOffset
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
416
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
417
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
418
|
+
* @see https://floating-ui.com/docs/flip
|
|
419
|
+
*/
|
|
420
|
+
const flip = function (options) {
|
|
421
|
+
if (options === void 0) {
|
|
422
|
+
options = {};
|
|
423
|
+
}
|
|
424
|
+
return {
|
|
425
|
+
name: 'flip',
|
|
426
|
+
options,
|
|
427
|
+
async fn(state) {
|
|
428
|
+
var _middlewareData$flip;
|
|
429
|
+
const {
|
|
430
|
+
placement,
|
|
431
|
+
middlewareData,
|
|
432
|
+
rects,
|
|
433
|
+
initialPlacement,
|
|
434
|
+
platform,
|
|
435
|
+
elements
|
|
436
|
+
} = state;
|
|
437
|
+
const {
|
|
438
|
+
mainAxis: checkMainAxis = true,
|
|
439
|
+
crossAxis: checkCrossAxis = true,
|
|
440
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
441
|
+
fallbackStrategy = 'bestFit',
|
|
442
|
+
fallbackAxisSideDirection = 'none',
|
|
443
|
+
flipAlignment = true,
|
|
444
|
+
...detectOverflowOptions
|
|
445
|
+
} = evaluate(options, state);
|
|
446
|
+
const side = getSide(placement);
|
|
447
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
448
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
449
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
450
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
451
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
452
|
+
}
|
|
453
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
454
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
455
|
+
const overflows = [];
|
|
456
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
457
|
+
if (checkMainAxis) {
|
|
458
|
+
overflows.push(overflow[side]);
|
|
459
|
+
}
|
|
460
|
+
if (checkCrossAxis) {
|
|
461
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
462
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
463
|
+
}
|
|
464
|
+
overflowsData = [...overflowsData, {
|
|
465
|
+
placement,
|
|
466
|
+
overflows
|
|
467
|
+
}];
|
|
468
|
+
|
|
469
|
+
// One or more sides is overflowing.
|
|
470
|
+
if (!overflows.every(side => side <= 0)) {
|
|
471
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
472
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
473
|
+
const nextPlacement = placements[nextIndex];
|
|
474
|
+
if (nextPlacement) {
|
|
475
|
+
// Try next placement and re-run the lifecycle.
|
|
476
|
+
return {
|
|
477
|
+
data: {
|
|
478
|
+
index: nextIndex,
|
|
479
|
+
overflows: overflowsData
|
|
480
|
+
},
|
|
481
|
+
reset: {
|
|
482
|
+
placement: nextPlacement
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
488
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
489
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
490
|
+
|
|
491
|
+
// Otherwise fallback.
|
|
492
|
+
if (!resetPlacement) {
|
|
493
|
+
switch (fallbackStrategy) {
|
|
494
|
+
case 'bestFit':
|
|
495
|
+
{
|
|
496
|
+
var _overflowsData$map$so;
|
|
497
|
+
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
|
498
|
+
if (placement) {
|
|
499
|
+
resetPlacement = placement;
|
|
500
|
+
}
|
|
501
|
+
break;
|
|
502
|
+
}
|
|
503
|
+
case 'initialPlacement':
|
|
504
|
+
resetPlacement = initialPlacement;
|
|
505
|
+
break;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
if (placement !== resetPlacement) {
|
|
509
|
+
return {
|
|
510
|
+
reset: {
|
|
511
|
+
placement: resetPlacement
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return {};
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
522
|
+
// Derivable.
|
|
523
|
+
async function convertValueToCoords(state, options) {
|
|
524
|
+
const {
|
|
525
|
+
placement,
|
|
526
|
+
platform,
|
|
527
|
+
elements
|
|
528
|
+
} = state;
|
|
529
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
530
|
+
const side = getSide(placement);
|
|
531
|
+
const alignment = getAlignment(placement);
|
|
532
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
533
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
534
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
535
|
+
const rawValue = evaluate(options, state);
|
|
536
|
+
|
|
537
|
+
// eslint-disable-next-line prefer-const
|
|
538
|
+
let {
|
|
539
|
+
mainAxis,
|
|
540
|
+
crossAxis,
|
|
541
|
+
alignmentAxis
|
|
542
|
+
} = typeof rawValue === 'number' ? {
|
|
543
|
+
mainAxis: rawValue,
|
|
544
|
+
crossAxis: 0,
|
|
545
|
+
alignmentAxis: null
|
|
546
|
+
} : {
|
|
547
|
+
mainAxis: 0,
|
|
548
|
+
crossAxis: 0,
|
|
549
|
+
alignmentAxis: null,
|
|
550
|
+
...rawValue
|
|
551
|
+
};
|
|
552
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
553
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
554
|
+
}
|
|
555
|
+
return isVertical ? {
|
|
556
|
+
x: crossAxis * crossAxisMulti,
|
|
557
|
+
y: mainAxis * mainAxisMulti
|
|
558
|
+
} : {
|
|
559
|
+
x: mainAxis * mainAxisMulti,
|
|
560
|
+
y: crossAxis * crossAxisMulti
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Modifies the placement by translating the floating element along the
|
|
566
|
+
* specified axes.
|
|
567
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
568
|
+
* object may be passed.
|
|
569
|
+
* @see https://floating-ui.com/docs/offset
|
|
570
|
+
*/
|
|
571
|
+
const offset$1 = function (options) {
|
|
572
|
+
if (options === void 0) {
|
|
573
|
+
options = 0;
|
|
574
|
+
}
|
|
575
|
+
return {
|
|
576
|
+
name: 'offset',
|
|
577
|
+
options,
|
|
578
|
+
async fn(state) {
|
|
579
|
+
const {
|
|
580
|
+
x,
|
|
581
|
+
y
|
|
582
|
+
} = state;
|
|
583
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
584
|
+
return {
|
|
585
|
+
x: x + diffCoords.x,
|
|
586
|
+
y: y + diffCoords.y,
|
|
587
|
+
data: diffCoords
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
595
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
596
|
+
* @see https://floating-ui.com/docs/shift
|
|
597
|
+
*/
|
|
598
|
+
const shift = function (options) {
|
|
599
|
+
if (options === void 0) {
|
|
600
|
+
options = {};
|
|
601
|
+
}
|
|
602
|
+
return {
|
|
603
|
+
name: 'shift',
|
|
604
|
+
options,
|
|
605
|
+
async fn(state) {
|
|
606
|
+
const {
|
|
607
|
+
x,
|
|
608
|
+
y,
|
|
609
|
+
placement
|
|
610
|
+
} = state;
|
|
611
|
+
const {
|
|
612
|
+
mainAxis: checkMainAxis = true,
|
|
613
|
+
crossAxis: checkCrossAxis = false,
|
|
614
|
+
limiter = {
|
|
615
|
+
fn: _ref => {
|
|
616
|
+
let {
|
|
617
|
+
x,
|
|
618
|
+
y
|
|
619
|
+
} = _ref;
|
|
620
|
+
return {
|
|
621
|
+
x,
|
|
622
|
+
y
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
...detectOverflowOptions
|
|
627
|
+
} = evaluate(options, state);
|
|
628
|
+
const coords = {
|
|
629
|
+
x,
|
|
630
|
+
y
|
|
631
|
+
};
|
|
632
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
633
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
634
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
635
|
+
let mainAxisCoord = coords[mainAxis];
|
|
636
|
+
let crossAxisCoord = coords[crossAxis];
|
|
637
|
+
if (checkMainAxis) {
|
|
638
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
639
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
640
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
641
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
642
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
643
|
+
}
|
|
644
|
+
if (checkCrossAxis) {
|
|
645
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
646
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
647
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
648
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
649
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
650
|
+
}
|
|
651
|
+
const limitedCoords = limiter.fn({
|
|
652
|
+
...state,
|
|
653
|
+
[mainAxis]: mainAxisCoord,
|
|
654
|
+
[crossAxis]: crossAxisCoord
|
|
655
|
+
});
|
|
656
|
+
return {
|
|
657
|
+
...limitedCoords,
|
|
658
|
+
data: {
|
|
659
|
+
x: limitedCoords.x - x,
|
|
660
|
+
y: limitedCoords.y - y
|
|
661
|
+
}
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
668
|
+
*/
|
|
669
|
+
const limitShift = function (options) {
|
|
670
|
+
if (options === void 0) {
|
|
671
|
+
options = {};
|
|
672
|
+
}
|
|
673
|
+
return {
|
|
674
|
+
options,
|
|
675
|
+
fn(state) {
|
|
676
|
+
const {
|
|
677
|
+
x,
|
|
678
|
+
y,
|
|
679
|
+
placement,
|
|
680
|
+
rects,
|
|
681
|
+
middlewareData
|
|
682
|
+
} = state;
|
|
683
|
+
const {
|
|
684
|
+
offset = 0,
|
|
685
|
+
mainAxis: checkMainAxis = true,
|
|
686
|
+
crossAxis: checkCrossAxis = true
|
|
687
|
+
} = evaluate(options, state);
|
|
688
|
+
const coords = {
|
|
689
|
+
x,
|
|
690
|
+
y
|
|
691
|
+
};
|
|
692
|
+
const crossAxis = getSideAxis(placement);
|
|
693
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
694
|
+
let mainAxisCoord = coords[mainAxis];
|
|
695
|
+
let crossAxisCoord = coords[crossAxis];
|
|
696
|
+
const rawOffset = evaluate(offset, state);
|
|
697
|
+
const computedOffset = typeof rawOffset === 'number' ? {
|
|
698
|
+
mainAxis: rawOffset,
|
|
699
|
+
crossAxis: 0
|
|
700
|
+
} : {
|
|
701
|
+
mainAxis: 0,
|
|
702
|
+
crossAxis: 0,
|
|
703
|
+
...rawOffset
|
|
704
|
+
};
|
|
705
|
+
if (checkMainAxis) {
|
|
706
|
+
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
707
|
+
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
708
|
+
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
709
|
+
if (mainAxisCoord < limitMin) {
|
|
710
|
+
mainAxisCoord = limitMin;
|
|
711
|
+
} else if (mainAxisCoord > limitMax) {
|
|
712
|
+
mainAxisCoord = limitMax;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
if (checkCrossAxis) {
|
|
716
|
+
var _middlewareData$offse, _middlewareData$offse2;
|
|
717
|
+
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
718
|
+
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
|
719
|
+
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
720
|
+
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
721
|
+
if (crossAxisCoord < limitMin) {
|
|
722
|
+
crossAxisCoord = limitMin;
|
|
723
|
+
} else if (crossAxisCoord > limitMax) {
|
|
724
|
+
crossAxisCoord = limitMax;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
return {
|
|
728
|
+
[mainAxis]: mainAxisCoord,
|
|
729
|
+
[crossAxis]: crossAxisCoord
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Provides data that allows you to change the size of the floating element —
|
|
737
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
738
|
+
* width of the reference element.
|
|
739
|
+
* @see https://floating-ui.com/docs/size
|
|
740
|
+
*/
|
|
741
|
+
const size = function (options) {
|
|
742
|
+
if (options === void 0) {
|
|
743
|
+
options = {};
|
|
744
|
+
}
|
|
745
|
+
return {
|
|
746
|
+
name: 'size',
|
|
747
|
+
options,
|
|
748
|
+
async fn(state) {
|
|
749
|
+
const {
|
|
750
|
+
placement,
|
|
751
|
+
rects,
|
|
752
|
+
platform,
|
|
753
|
+
elements
|
|
754
|
+
} = state;
|
|
755
|
+
const {
|
|
756
|
+
apply = () => {},
|
|
757
|
+
...detectOverflowOptions
|
|
758
|
+
} = evaluate(options, state);
|
|
759
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
760
|
+
const side = getSide(placement);
|
|
761
|
+
const alignment = getAlignment(placement);
|
|
762
|
+
const isYAxis = getSideAxis(placement) === 'y';
|
|
763
|
+
const {
|
|
764
|
+
width,
|
|
765
|
+
height
|
|
766
|
+
} = rects.floating;
|
|
767
|
+
let heightSide;
|
|
768
|
+
let widthSide;
|
|
769
|
+
if (side === 'top' || side === 'bottom') {
|
|
770
|
+
heightSide = side;
|
|
771
|
+
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
772
|
+
} else {
|
|
773
|
+
widthSide = side;
|
|
774
|
+
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
775
|
+
}
|
|
776
|
+
const overflowAvailableHeight = height - overflow[heightSide];
|
|
777
|
+
const overflowAvailableWidth = width - overflow[widthSide];
|
|
778
|
+
const noShift = !state.middlewareData.shift;
|
|
779
|
+
let availableHeight = overflowAvailableHeight;
|
|
780
|
+
let availableWidth = overflowAvailableWidth;
|
|
781
|
+
if (isYAxis) {
|
|
782
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
783
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
784
|
+
} else {
|
|
785
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
786
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
787
|
+
}
|
|
788
|
+
if (noShift && !alignment) {
|
|
789
|
+
const xMin = max(overflow.left, 0);
|
|
790
|
+
const xMax = max(overflow.right, 0);
|
|
791
|
+
const yMin = max(overflow.top, 0);
|
|
792
|
+
const yMax = max(overflow.bottom, 0);
|
|
793
|
+
if (isYAxis) {
|
|
794
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
795
|
+
} else {
|
|
796
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
await apply({
|
|
800
|
+
...state,
|
|
801
|
+
availableWidth,
|
|
802
|
+
availableHeight
|
|
803
|
+
});
|
|
804
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
805
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
806
|
+
return {
|
|
807
|
+
reset: {
|
|
808
|
+
rects: true
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
return {};
|
|
813
|
+
}
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
function getNodeName(node) {
|
|
818
|
+
if (isNode(node)) {
|
|
819
|
+
return (node.nodeName || '').toLowerCase();
|
|
820
|
+
}
|
|
821
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
822
|
+
// returning `#document` an infinite loop won't occur.
|
|
823
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
824
|
+
return '#document';
|
|
825
|
+
}
|
|
826
|
+
function getWindow(node) {
|
|
827
|
+
var _node$ownerDocument;
|
|
828
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
829
|
+
}
|
|
830
|
+
function getDocumentElement(node) {
|
|
831
|
+
var _ref;
|
|
832
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
833
|
+
}
|
|
834
|
+
function isNode(value) {
|
|
835
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
836
|
+
}
|
|
837
|
+
function isElement(value) {
|
|
838
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
839
|
+
}
|
|
840
|
+
function isHTMLElement(value) {
|
|
841
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
842
|
+
}
|
|
843
|
+
function isShadowRoot(value) {
|
|
844
|
+
// Browsers without `ShadowRoot` support.
|
|
845
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
846
|
+
return false;
|
|
847
|
+
}
|
|
848
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
849
|
+
}
|
|
850
|
+
function isOverflowElement(element) {
|
|
851
|
+
const {
|
|
852
|
+
overflow,
|
|
853
|
+
overflowX,
|
|
854
|
+
overflowY,
|
|
855
|
+
display
|
|
856
|
+
} = getComputedStyle(element);
|
|
857
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
858
|
+
}
|
|
859
|
+
function isTableElement(element) {
|
|
860
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
861
|
+
}
|
|
862
|
+
function isContainingBlock(element) {
|
|
863
|
+
const webkit = isWebKit();
|
|
864
|
+
const css = getComputedStyle(element);
|
|
865
|
+
|
|
866
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
867
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
868
|
+
}
|
|
869
|
+
function getContainingBlock(element) {
|
|
870
|
+
let currentNode = getParentNode(element);
|
|
871
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
872
|
+
if (isContainingBlock(currentNode)) {
|
|
873
|
+
return currentNode;
|
|
874
|
+
} else {
|
|
875
|
+
currentNode = getParentNode(currentNode);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
return null;
|
|
879
|
+
}
|
|
880
|
+
function isWebKit() {
|
|
881
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
882
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
883
|
+
}
|
|
884
|
+
function isLastTraversableNode(node) {
|
|
885
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
886
|
+
}
|
|
887
|
+
function getComputedStyle(element) {
|
|
888
|
+
return getWindow(element).getComputedStyle(element);
|
|
889
|
+
}
|
|
890
|
+
function getNodeScroll(element) {
|
|
891
|
+
if (isElement(element)) {
|
|
892
|
+
return {
|
|
893
|
+
scrollLeft: element.scrollLeft,
|
|
894
|
+
scrollTop: element.scrollTop
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
return {
|
|
898
|
+
scrollLeft: element.pageXOffset,
|
|
899
|
+
scrollTop: element.pageYOffset
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
function getParentNode(node) {
|
|
903
|
+
if (getNodeName(node) === 'html') {
|
|
904
|
+
return node;
|
|
905
|
+
}
|
|
906
|
+
const result =
|
|
907
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
908
|
+
node.assignedSlot ||
|
|
909
|
+
// DOM Element detected.
|
|
910
|
+
node.parentNode ||
|
|
911
|
+
// ShadowRoot detected.
|
|
912
|
+
isShadowRoot(node) && node.host ||
|
|
913
|
+
// Fallback.
|
|
914
|
+
getDocumentElement(node);
|
|
915
|
+
return isShadowRoot(result) ? result.host : result;
|
|
916
|
+
}
|
|
917
|
+
function getNearestOverflowAncestor(node) {
|
|
918
|
+
const parentNode = getParentNode(node);
|
|
919
|
+
if (isLastTraversableNode(parentNode)) {
|
|
920
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
921
|
+
}
|
|
922
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
923
|
+
return parentNode;
|
|
924
|
+
}
|
|
925
|
+
return getNearestOverflowAncestor(parentNode);
|
|
926
|
+
}
|
|
927
|
+
function getOverflowAncestors(node, list) {
|
|
928
|
+
var _node$ownerDocument2;
|
|
929
|
+
if (list === void 0) {
|
|
930
|
+
list = [];
|
|
931
|
+
}
|
|
932
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
933
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
934
|
+
const win = getWindow(scrollableAncestor);
|
|
935
|
+
if (isBody) {
|
|
936
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
937
|
+
}
|
|
938
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
function getCssDimensions(element) {
|
|
942
|
+
const css = getComputedStyle(element);
|
|
943
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
944
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
945
|
+
let width = parseFloat(css.width) || 0;
|
|
946
|
+
let height = parseFloat(css.height) || 0;
|
|
947
|
+
const hasOffset = isHTMLElement(element);
|
|
948
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
949
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
950
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
951
|
+
if (shouldFallback) {
|
|
952
|
+
width = offsetWidth;
|
|
953
|
+
height = offsetHeight;
|
|
954
|
+
}
|
|
955
|
+
return {
|
|
956
|
+
width,
|
|
957
|
+
height,
|
|
958
|
+
$: shouldFallback
|
|
959
|
+
};
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
function unwrapElement(element) {
|
|
963
|
+
return !isElement(element) ? element.contextElement : element;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
function getScale(element) {
|
|
967
|
+
const domElement = unwrapElement(element);
|
|
968
|
+
if (!isHTMLElement(domElement)) {
|
|
969
|
+
return createCoords(1);
|
|
970
|
+
}
|
|
971
|
+
const rect = domElement.getBoundingClientRect();
|
|
972
|
+
const {
|
|
973
|
+
width,
|
|
974
|
+
height,
|
|
975
|
+
$
|
|
976
|
+
} = getCssDimensions(domElement);
|
|
977
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
978
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
979
|
+
|
|
980
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
981
|
+
|
|
982
|
+
if (!x || !Number.isFinite(x)) {
|
|
983
|
+
x = 1;
|
|
984
|
+
}
|
|
985
|
+
if (!y || !Number.isFinite(y)) {
|
|
986
|
+
y = 1;
|
|
987
|
+
}
|
|
988
|
+
return {
|
|
989
|
+
x,
|
|
990
|
+
y
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
995
|
+
function getVisualOffsets(element) {
|
|
996
|
+
const win = getWindow(element);
|
|
997
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
998
|
+
return noOffsets;
|
|
999
|
+
}
|
|
1000
|
+
return {
|
|
1001
|
+
x: win.visualViewport.offsetLeft,
|
|
1002
|
+
y: win.visualViewport.offsetTop
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1006
|
+
if (isFixed === void 0) {
|
|
1007
|
+
isFixed = false;
|
|
1008
|
+
}
|
|
1009
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
return isFixed;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1016
|
+
if (includeScale === void 0) {
|
|
1017
|
+
includeScale = false;
|
|
1018
|
+
}
|
|
1019
|
+
if (isFixedStrategy === void 0) {
|
|
1020
|
+
isFixedStrategy = false;
|
|
1021
|
+
}
|
|
1022
|
+
const clientRect = element.getBoundingClientRect();
|
|
1023
|
+
const domElement = unwrapElement(element);
|
|
1024
|
+
let scale = createCoords(1);
|
|
1025
|
+
if (includeScale) {
|
|
1026
|
+
if (offsetParent) {
|
|
1027
|
+
if (isElement(offsetParent)) {
|
|
1028
|
+
scale = getScale(offsetParent);
|
|
1029
|
+
}
|
|
1030
|
+
} else {
|
|
1031
|
+
scale = getScale(element);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1035
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1036
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1037
|
+
let width = clientRect.width / scale.x;
|
|
1038
|
+
let height = clientRect.height / scale.y;
|
|
1039
|
+
if (domElement) {
|
|
1040
|
+
const win = getWindow(domElement);
|
|
1041
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1042
|
+
let currentIFrame = win.frameElement;
|
|
1043
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1044
|
+
const iframeScale = getScale(currentIFrame);
|
|
1045
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1046
|
+
const css = getComputedStyle(currentIFrame);
|
|
1047
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1048
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1049
|
+
x *= iframeScale.x;
|
|
1050
|
+
y *= iframeScale.y;
|
|
1051
|
+
width *= iframeScale.x;
|
|
1052
|
+
height *= iframeScale.y;
|
|
1053
|
+
x += left;
|
|
1054
|
+
y += top;
|
|
1055
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
return rectToClientRect({
|
|
1059
|
+
width,
|
|
1060
|
+
height,
|
|
1061
|
+
x,
|
|
1062
|
+
y
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1067
|
+
let {
|
|
1068
|
+
rect,
|
|
1069
|
+
offsetParent,
|
|
1070
|
+
strategy
|
|
1071
|
+
} = _ref;
|
|
1072
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1073
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1074
|
+
if (offsetParent === documentElement) {
|
|
1075
|
+
return rect;
|
|
1076
|
+
}
|
|
1077
|
+
let scroll = {
|
|
1078
|
+
scrollLeft: 0,
|
|
1079
|
+
scrollTop: 0
|
|
1080
|
+
};
|
|
1081
|
+
let scale = createCoords(1);
|
|
1082
|
+
const offsets = createCoords(0);
|
|
1083
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1084
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1085
|
+
scroll = getNodeScroll(offsetParent);
|
|
1086
|
+
}
|
|
1087
|
+
if (isHTMLElement(offsetParent)) {
|
|
1088
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1089
|
+
scale = getScale(offsetParent);
|
|
1090
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1091
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
return {
|
|
1095
|
+
width: rect.width * scale.x,
|
|
1096
|
+
height: rect.height * scale.y,
|
|
1097
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1098
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
function getClientRects(element) {
|
|
1103
|
+
return Array.from(element.getClientRects());
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
function getWindowScrollBarX(element) {
|
|
1107
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1108
|
+
// incorrect for RTL.
|
|
1109
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1113
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1114
|
+
function getDocumentRect(element) {
|
|
1115
|
+
const html = getDocumentElement(element);
|
|
1116
|
+
const scroll = getNodeScroll(element);
|
|
1117
|
+
const body = element.ownerDocument.body;
|
|
1118
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1119
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1120
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1121
|
+
const y = -scroll.scrollTop;
|
|
1122
|
+
if (getComputedStyle(body).direction === 'rtl') {
|
|
1123
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1124
|
+
}
|
|
1125
|
+
return {
|
|
1126
|
+
width,
|
|
1127
|
+
height,
|
|
1128
|
+
x,
|
|
1129
|
+
y
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
function getViewportRect(element, strategy) {
|
|
1134
|
+
const win = getWindow(element);
|
|
1135
|
+
const html = getDocumentElement(element);
|
|
1136
|
+
const visualViewport = win.visualViewport;
|
|
1137
|
+
let width = html.clientWidth;
|
|
1138
|
+
let height = html.clientHeight;
|
|
1139
|
+
let x = 0;
|
|
1140
|
+
let y = 0;
|
|
1141
|
+
if (visualViewport) {
|
|
1142
|
+
width = visualViewport.width;
|
|
1143
|
+
height = visualViewport.height;
|
|
1144
|
+
const visualViewportBased = isWebKit();
|
|
1145
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1146
|
+
x = visualViewport.offsetLeft;
|
|
1147
|
+
y = visualViewport.offsetTop;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
return {
|
|
1151
|
+
width,
|
|
1152
|
+
height,
|
|
1153
|
+
x,
|
|
1154
|
+
y
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1159
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1160
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1161
|
+
const top = clientRect.top + element.clientTop;
|
|
1162
|
+
const left = clientRect.left + element.clientLeft;
|
|
1163
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1164
|
+
const width = element.clientWidth * scale.x;
|
|
1165
|
+
const height = element.clientHeight * scale.y;
|
|
1166
|
+
const x = left * scale.x;
|
|
1167
|
+
const y = top * scale.y;
|
|
1168
|
+
return {
|
|
1169
|
+
width,
|
|
1170
|
+
height,
|
|
1171
|
+
x,
|
|
1172
|
+
y
|
|
1173
|
+
};
|
|
1174
|
+
}
|
|
1175
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1176
|
+
let rect;
|
|
1177
|
+
if (clippingAncestor === 'viewport') {
|
|
1178
|
+
rect = getViewportRect(element, strategy);
|
|
1179
|
+
} else if (clippingAncestor === 'document') {
|
|
1180
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1181
|
+
} else if (isElement(clippingAncestor)) {
|
|
1182
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1183
|
+
} else {
|
|
1184
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1185
|
+
rect = {
|
|
1186
|
+
...clippingAncestor,
|
|
1187
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1188
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
return rectToClientRect(rect);
|
|
1192
|
+
}
|
|
1193
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1194
|
+
const parentNode = getParentNode(element);
|
|
1195
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1196
|
+
return false;
|
|
1197
|
+
}
|
|
1198
|
+
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1202
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1203
|
+
// of the given element up the tree.
|
|
1204
|
+
function getClippingElementAncestors(element, cache) {
|
|
1205
|
+
const cachedResult = cache.get(element);
|
|
1206
|
+
if (cachedResult) {
|
|
1207
|
+
return cachedResult;
|
|
1208
|
+
}
|
|
1209
|
+
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1210
|
+
let currentContainingBlockComputedStyle = null;
|
|
1211
|
+
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1212
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1213
|
+
|
|
1214
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1215
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1216
|
+
const computedStyle = getComputedStyle(currentNode);
|
|
1217
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1218
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1219
|
+
currentContainingBlockComputedStyle = null;
|
|
1220
|
+
}
|
|
1221
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1222
|
+
if (shouldDropCurrentNode) {
|
|
1223
|
+
// Drop non-containing blocks.
|
|
1224
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1225
|
+
} else {
|
|
1226
|
+
// Record last containing block for next iteration.
|
|
1227
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1228
|
+
}
|
|
1229
|
+
currentNode = getParentNode(currentNode);
|
|
1230
|
+
}
|
|
1231
|
+
cache.set(element, result);
|
|
1232
|
+
return result;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1236
|
+
// clipping ancestors.
|
|
1237
|
+
function getClippingRect(_ref) {
|
|
1238
|
+
let {
|
|
1239
|
+
element,
|
|
1240
|
+
boundary,
|
|
1241
|
+
rootBoundary,
|
|
1242
|
+
strategy
|
|
1243
|
+
} = _ref;
|
|
1244
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1245
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1246
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1247
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1248
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1249
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1250
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1251
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1252
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1253
|
+
return accRect;
|
|
1254
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1255
|
+
return {
|
|
1256
|
+
width: clippingRect.right - clippingRect.left,
|
|
1257
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1258
|
+
x: clippingRect.left,
|
|
1259
|
+
y: clippingRect.top
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
function getDimensions(element) {
|
|
1264
|
+
return getCssDimensions(element);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1268
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1269
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1270
|
+
const isFixed = strategy === 'fixed';
|
|
1271
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1272
|
+
let scroll = {
|
|
1273
|
+
scrollLeft: 0,
|
|
1274
|
+
scrollTop: 0
|
|
1275
|
+
};
|
|
1276
|
+
const offsets = createCoords(0);
|
|
1277
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1278
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1279
|
+
scroll = getNodeScroll(offsetParent);
|
|
1280
|
+
}
|
|
1281
|
+
if (isOffsetParentAnElement) {
|
|
1282
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1283
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1284
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1285
|
+
} else if (documentElement) {
|
|
1286
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
return {
|
|
1290
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1291
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1292
|
+
width: rect.width,
|
|
1293
|
+
height: rect.height
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1298
|
+
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1299
|
+
return null;
|
|
1300
|
+
}
|
|
1301
|
+
if (polyfill) {
|
|
1302
|
+
return polyfill(element);
|
|
1303
|
+
}
|
|
1304
|
+
return element.offsetParent;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1308
|
+
// such as table ancestors and cross browser bugs.
|
|
1309
|
+
function getOffsetParent(element, polyfill) {
|
|
1310
|
+
const window = getWindow(element);
|
|
1311
|
+
if (!isHTMLElement(element)) {
|
|
1312
|
+
return window;
|
|
1313
|
+
}
|
|
1314
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1315
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
1316
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1317
|
+
}
|
|
1318
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1319
|
+
return window;
|
|
1320
|
+
}
|
|
1321
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
const getElementRects = async function (_ref) {
|
|
1325
|
+
let {
|
|
1326
|
+
reference,
|
|
1327
|
+
floating,
|
|
1328
|
+
strategy
|
|
1329
|
+
} = _ref;
|
|
1330
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1331
|
+
const getDimensionsFn = this.getDimensions;
|
|
1332
|
+
return {
|
|
1333
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1334
|
+
floating: {
|
|
1335
|
+
x: 0,
|
|
1336
|
+
y: 0,
|
|
1337
|
+
...(await getDimensionsFn(floating))
|
|
1338
|
+
}
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
function isRTL(element) {
|
|
1343
|
+
return getComputedStyle(element).direction === 'rtl';
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
const platform = {
|
|
1347
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1348
|
+
getDocumentElement,
|
|
1349
|
+
getClippingRect,
|
|
1350
|
+
getOffsetParent,
|
|
1351
|
+
getElementRects,
|
|
1352
|
+
getClientRects,
|
|
1353
|
+
getDimensions,
|
|
1354
|
+
getScale,
|
|
1355
|
+
isElement,
|
|
1356
|
+
isRTL
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
// https://samthor.au/2021/observing-dom/
|
|
1360
|
+
function observeMove(element, onMove) {
|
|
1361
|
+
let io = null;
|
|
1362
|
+
let timeoutId;
|
|
1363
|
+
const root = getDocumentElement(element);
|
|
1364
|
+
function cleanup() {
|
|
1365
|
+
clearTimeout(timeoutId);
|
|
1366
|
+
io && io.disconnect();
|
|
1367
|
+
io = null;
|
|
1368
|
+
}
|
|
1369
|
+
function refresh(skip, threshold) {
|
|
1370
|
+
if (skip === void 0) {
|
|
1371
|
+
skip = false;
|
|
1372
|
+
}
|
|
1373
|
+
if (threshold === void 0) {
|
|
1374
|
+
threshold = 1;
|
|
1375
|
+
}
|
|
1376
|
+
cleanup();
|
|
1377
|
+
const {
|
|
1378
|
+
left,
|
|
1379
|
+
top,
|
|
1380
|
+
width,
|
|
1381
|
+
height
|
|
1382
|
+
} = element.getBoundingClientRect();
|
|
1383
|
+
if (!skip) {
|
|
1384
|
+
onMove();
|
|
1385
|
+
}
|
|
1386
|
+
if (!width || !height) {
|
|
1387
|
+
return;
|
|
1388
|
+
}
|
|
1389
|
+
const insetTop = floor(top);
|
|
1390
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1391
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1392
|
+
const insetLeft = floor(left);
|
|
1393
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1394
|
+
const options = {
|
|
1395
|
+
rootMargin,
|
|
1396
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1397
|
+
};
|
|
1398
|
+
let isFirstUpdate = true;
|
|
1399
|
+
function handleObserve(entries) {
|
|
1400
|
+
const ratio = entries[0].intersectionRatio;
|
|
1401
|
+
if (ratio !== threshold) {
|
|
1402
|
+
if (!isFirstUpdate) {
|
|
1403
|
+
return refresh();
|
|
1404
|
+
}
|
|
1405
|
+
if (!ratio) {
|
|
1406
|
+
timeoutId = setTimeout(() => {
|
|
1407
|
+
refresh(false, 1e-7);
|
|
1408
|
+
}, 100);
|
|
1409
|
+
} else {
|
|
1410
|
+
refresh(false, ratio);
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
isFirstUpdate = false;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1417
|
+
// error.
|
|
1418
|
+
try {
|
|
1419
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1420
|
+
...options,
|
|
1421
|
+
// Handle <iframe>s
|
|
1422
|
+
root: root.ownerDocument
|
|
1423
|
+
});
|
|
1424
|
+
} catch (e) {
|
|
1425
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1426
|
+
}
|
|
1427
|
+
io.observe(element);
|
|
1428
|
+
}
|
|
1429
|
+
refresh(true);
|
|
1430
|
+
return cleanup;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1435
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1436
|
+
* visible on the screen.
|
|
1437
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1438
|
+
* removed from the DOM or hidden from the screen.
|
|
1439
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1440
|
+
*/
|
|
1441
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1442
|
+
if (options === void 0) {
|
|
1443
|
+
options = {};
|
|
1444
|
+
}
|
|
1445
|
+
const {
|
|
1446
|
+
ancestorScroll = true,
|
|
1447
|
+
ancestorResize = true,
|
|
1448
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1449
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1450
|
+
animationFrame = false
|
|
1451
|
+
} = options;
|
|
1452
|
+
const referenceEl = unwrapElement(reference);
|
|
1453
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1454
|
+
ancestors.forEach(ancestor => {
|
|
1455
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1456
|
+
passive: true
|
|
1457
|
+
});
|
|
1458
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1459
|
+
});
|
|
1460
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1461
|
+
let reobserveFrame = -1;
|
|
1462
|
+
let resizeObserver = null;
|
|
1463
|
+
if (elementResize) {
|
|
1464
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1465
|
+
let [firstEntry] = _ref;
|
|
1466
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1467
|
+
// Prevent update loops when using the `size` middleware.
|
|
1468
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1469
|
+
resizeObserver.unobserve(floating);
|
|
1470
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1471
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1472
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
update();
|
|
1476
|
+
});
|
|
1477
|
+
if (referenceEl && !animationFrame) {
|
|
1478
|
+
resizeObserver.observe(referenceEl);
|
|
1479
|
+
}
|
|
1480
|
+
resizeObserver.observe(floating);
|
|
1481
|
+
}
|
|
1482
|
+
let frameId;
|
|
1483
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1484
|
+
if (animationFrame) {
|
|
1485
|
+
frameLoop();
|
|
1486
|
+
}
|
|
1487
|
+
function frameLoop() {
|
|
1488
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1489
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1490
|
+
update();
|
|
1491
|
+
}
|
|
1492
|
+
prevRefRect = nextRefRect;
|
|
1493
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1494
|
+
}
|
|
1495
|
+
update();
|
|
1496
|
+
return () => {
|
|
1497
|
+
ancestors.forEach(ancestor => {
|
|
1498
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1499
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1500
|
+
});
|
|
1501
|
+
cleanupIo && cleanupIo();
|
|
1502
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1503
|
+
resizeObserver = null;
|
|
1504
|
+
if (animationFrame) {
|
|
1505
|
+
cancelAnimationFrame(frameId);
|
|
1506
|
+
}
|
|
1507
|
+
};
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1512
|
+
* next to a reference element when it is given a certain CSS positioning
|
|
1513
|
+
* strategy.
|
|
1514
|
+
*/
|
|
1515
|
+
const computePosition = (reference, floating, options) => {
|
|
1516
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1517
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1518
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1519
|
+
const cache = new Map();
|
|
1520
|
+
const mergedOptions = {
|
|
1521
|
+
platform,
|
|
1522
|
+
...options
|
|
1523
|
+
};
|
|
1524
|
+
const platformWithCache = {
|
|
1525
|
+
...mergedOptions.platform,
|
|
1526
|
+
_c: cache
|
|
1527
|
+
};
|
|
1528
|
+
return computePosition$1(reference, floating, {
|
|
1529
|
+
...mergedOptions,
|
|
1530
|
+
platform: platformWithCache
|
|
1531
|
+
});
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* @license
|
|
1536
|
+
* MIT License
|
|
1537
|
+
*
|
|
1538
|
+
* Copyright (c) 2021 Floating UI contributors
|
|
1539
|
+
*
|
|
1540
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1541
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
1542
|
+
* in the Software without restriction, including without limitation the rights
|
|
1543
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1544
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
1545
|
+
* furnished to do so, subject to the following conditions:
|
|
1546
|
+
*
|
|
1547
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
1548
|
+
* copies or substantial portions of the Software.
|
|
1549
|
+
*
|
|
1550
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1551
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1552
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1553
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1554
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1555
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1556
|
+
* SOFTWARE.
|
|
1557
|
+
*/
|
|
1558
|
+
const offset = (value) => {
|
|
1559
|
+
return {
|
|
1560
|
+
name: 'offset',
|
|
1561
|
+
options: value,
|
|
1562
|
+
async fn(middlewareArguments) {
|
|
1563
|
+
const newFn = (args) => {
|
|
1564
|
+
// flip middleware could be called several times, until the right space is found.
|
|
1565
|
+
// Every time flip is called and overflow is detected, a possible next placement
|
|
1566
|
+
// is chosen and the array of middleware (including the offset middleware) is called again
|
|
1567
|
+
// with the chosen next placement.
|
|
1568
|
+
// Here we detect that flip is needed and we should change the offset sign if needed.
|
|
1569
|
+
const overflowsData = args.middlewareData.flip?.overflows != undefined
|
|
1570
|
+
? args.middlewareData.flip?.overflows[0]
|
|
1571
|
+
: null;
|
|
1572
|
+
let offset;
|
|
1573
|
+
if (overflowsData != null && value != null && typeof value === 'object') {
|
|
1574
|
+
offset = flippedOffset(args.placement, args.initialPlacement, value);
|
|
1575
|
+
}
|
|
1576
|
+
if (!value) {
|
|
1577
|
+
return 0;
|
|
1578
|
+
}
|
|
1579
|
+
const rawValue = offset ?? value;
|
|
1580
|
+
return rawValue;
|
|
1581
|
+
};
|
|
1582
|
+
return offset$1(newFn).fn(middlewareArguments);
|
|
1583
|
+
}
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
const flippedOffset = (placement, initialPlacement, offset) => {
|
|
1587
|
+
const initialSide = initialPlacement.split('-')[0];
|
|
1588
|
+
const side = placement.split('-')[0];
|
|
1589
|
+
const initialAlignment = initialPlacement.split('-')[1];
|
|
1590
|
+
const alignment = placement.split('-')[1];
|
|
1591
|
+
// if flipped around crossAxis
|
|
1592
|
+
if (((initialSide === 'right' || initialSide === 'left') &&
|
|
1593
|
+
initialSide === side &&
|
|
1594
|
+
initialAlignment !== alignment) ||
|
|
1595
|
+
((initialSide === 'top' || initialSide === 'bottom') &&
|
|
1596
|
+
initialSide === side &&
|
|
1597
|
+
initialAlignment !== alignment)) {
|
|
1598
|
+
return {
|
|
1599
|
+
mainAxis: offset && typeof offset === 'object' && offset.mainAxis ? offset.mainAxis : 0,
|
|
1600
|
+
crossAxis: offset && typeof offset === 'object' && offset.crossAxis ? -offset.crossAxis : 0
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
else {
|
|
1604
|
+
return offset;
|
|
1605
|
+
}
|
|
1606
|
+
};
|
|
1607
|
+
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
1608
|
+
// functions
|
|
1609
|
+
function deepEqual(a, b) {
|
|
1610
|
+
if (a === b) {
|
|
1611
|
+
return true;
|
|
1612
|
+
}
|
|
1613
|
+
if (typeof a !== typeof b) {
|
|
1614
|
+
return false;
|
|
1615
|
+
}
|
|
1616
|
+
if (typeof a === 'function' && a.toString() === b.toString()) {
|
|
1617
|
+
return true;
|
|
1618
|
+
}
|
|
1619
|
+
let length, i, keys;
|
|
1620
|
+
if (a && b && typeof a == 'object') {
|
|
1621
|
+
if (Array.isArray(a)) {
|
|
1622
|
+
length = a.length;
|
|
1623
|
+
if (length != b.length)
|
|
1624
|
+
return false;
|
|
1625
|
+
for (i = length; i-- !== 0;) {
|
|
1626
|
+
if (!deepEqual(a[i], b[i])) {
|
|
1627
|
+
return false;
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
return true;
|
|
1631
|
+
}
|
|
1632
|
+
keys = Object.keys(a);
|
|
1633
|
+
length = keys.length;
|
|
1634
|
+
if (length !== Object.keys(b).length) {
|
|
1635
|
+
return false;
|
|
1636
|
+
}
|
|
1637
|
+
for (i = length; i-- !== 0;) {
|
|
1638
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {
|
|
1639
|
+
return false;
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
for (i = length; i-- !== 0;) {
|
|
1643
|
+
const key = keys[i];
|
|
1644
|
+
if (key === '_owner' && a.$$typeof) {
|
|
1645
|
+
continue;
|
|
1646
|
+
}
|
|
1647
|
+
if (!deepEqual(a[key], b[key])) {
|
|
1648
|
+
return false;
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
return true;
|
|
1652
|
+
}
|
|
1653
|
+
return a !== a && b !== b;
|
|
1654
|
+
}
|
|
1655
|
+
function useLatestRef(value) {
|
|
1656
|
+
const ref = useRef(value);
|
|
1657
|
+
useLayoutEffect(() => {
|
|
1658
|
+
ref.current = value;
|
|
1659
|
+
});
|
|
1660
|
+
return ref;
|
|
1661
|
+
}
|
|
1662
|
+
const reverseLogicalSide = (placement, direction) => {
|
|
1663
|
+
const side = placement.split('-')[0];
|
|
1664
|
+
if (side === 'top' || side === 'bottom') {
|
|
1665
|
+
return placement;
|
|
1666
|
+
}
|
|
1667
|
+
const alignment = placement.split('-')[1];
|
|
1668
|
+
const reversedPhysicalSide = reverseNormalizePosition(side, direction);
|
|
1669
|
+
const alignmentSideHash = {
|
|
1670
|
+
start: 'top',
|
|
1671
|
+
end: 'bottom'
|
|
1672
|
+
};
|
|
1673
|
+
const alignmentMappedSide = alignment != null
|
|
1674
|
+
? alignment.replace(/start|end/g, (matched) => alignmentSideHash[matched])
|
|
1675
|
+
: null;
|
|
1676
|
+
const placements = [
|
|
1677
|
+
'top',
|
|
1678
|
+
'top-start',
|
|
1679
|
+
'top-end',
|
|
1680
|
+
'end',
|
|
1681
|
+
'end-top',
|
|
1682
|
+
'end-bottom',
|
|
1683
|
+
'bottom-start',
|
|
1684
|
+
'bottom-end',
|
|
1685
|
+
'bottom',
|
|
1686
|
+
'start',
|
|
1687
|
+
'start-top',
|
|
1688
|
+
'start-bottom'
|
|
1689
|
+
];
|
|
1690
|
+
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${reversedPhysicalSide}-${alignmentMappedSide}`) ||
|
|
1691
|
+
(!alignmentMappedSide && placement === `${reversedPhysicalSide}`))[0];
|
|
1692
|
+
if (!newPlacement) {
|
|
1693
|
+
return 'bottom';
|
|
1694
|
+
}
|
|
1695
|
+
return newPlacement;
|
|
1696
|
+
};
|
|
1697
|
+
const logicalSide = (placement, direction) => {
|
|
1698
|
+
const side = placement.split('-')[0];
|
|
1699
|
+
const alignment = placement.split('-')[1];
|
|
1700
|
+
const physicalSide = normalizePosition(side, direction);
|
|
1701
|
+
let alignmentSideHash;
|
|
1702
|
+
let alignmentMappedSide;
|
|
1703
|
+
if (alignment) {
|
|
1704
|
+
alignmentSideHash = {
|
|
1705
|
+
top: 'start',
|
|
1706
|
+
bottom: 'end'
|
|
1707
|
+
};
|
|
1708
|
+
alignmentMappedSide = alignment.replace(/top|bottom/g, (matched) => alignmentSideHash[matched]);
|
|
1709
|
+
}
|
|
1710
|
+
const placements = [
|
|
1711
|
+
'top',
|
|
1712
|
+
'right',
|
|
1713
|
+
'bottom',
|
|
1714
|
+
'left',
|
|
1715
|
+
'top-start',
|
|
1716
|
+
'right-start',
|
|
1717
|
+
'bottom-start',
|
|
1718
|
+
'left-start',
|
|
1719
|
+
'top-end',
|
|
1720
|
+
'right-end',
|
|
1721
|
+
'bottom-end',
|
|
1722
|
+
'left-end'
|
|
1723
|
+
];
|
|
1724
|
+
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${physicalSide}-${alignmentMappedSide}`) ||
|
|
1725
|
+
(!alignmentMappedSide && placement === `${physicalSide}`))[0];
|
|
1726
|
+
if (!newPlacement) {
|
|
1727
|
+
return 'bottom';
|
|
1728
|
+
}
|
|
1729
|
+
return newPlacement;
|
|
1730
|
+
};
|
|
1731
|
+
const cornerPlacement = (placement, floating) => {
|
|
1732
|
+
const side = placement.split('-')[0];
|
|
1733
|
+
const alignment = placement.split('-')[1];
|
|
1734
|
+
const corner = placement.split('-')[2];
|
|
1735
|
+
if (corner == null) {
|
|
1736
|
+
return { placement: placement, offset: undefined };
|
|
1737
|
+
}
|
|
1738
|
+
const placements = [
|
|
1739
|
+
'top-start',
|
|
1740
|
+
'start-top',
|
|
1741
|
+
'bottom-start',
|
|
1742
|
+
'start-bottom',
|
|
1743
|
+
'top-end',
|
|
1744
|
+
'end-top',
|
|
1745
|
+
'bottom-end',
|
|
1746
|
+
'end-bottom'
|
|
1747
|
+
];
|
|
1748
|
+
const newPlacement = placements.filter((placement) => placement === `${side}-${alignment}`)[0];
|
|
1749
|
+
if (alignment == 'start') {
|
|
1750
|
+
return { placement: newPlacement, offset: { crossAxis: -floating.offsetWidth } };
|
|
1751
|
+
}
|
|
1752
|
+
if (alignment == 'end') {
|
|
1753
|
+
return { placement: newPlacement, offset: { crossAxis: floating.offsetWidth } };
|
|
1754
|
+
}
|
|
1755
|
+
if (alignment == 'top') {
|
|
1756
|
+
return { placement: newPlacement, offset: { crossAxis: -floating.offsetHeight } };
|
|
1757
|
+
}
|
|
1758
|
+
// the last option should always be alignment == 'bottom'
|
|
1759
|
+
return { placement: newPlacement, offset: { crossAxis: floating.offsetHeight } };
|
|
1760
|
+
};
|
|
1761
|
+
const isOfPlacementType = (value) => {
|
|
1762
|
+
const placementTypeValues = [
|
|
1763
|
+
'top',
|
|
1764
|
+
'top-start',
|
|
1765
|
+
'top-end',
|
|
1766
|
+
'top-start-corner',
|
|
1767
|
+
'top-end-corner',
|
|
1768
|
+
'start',
|
|
1769
|
+
'start-top',
|
|
1770
|
+
'start-bottom',
|
|
1771
|
+
'start-top-corner',
|
|
1772
|
+
'start-bottom-corner',
|
|
1773
|
+
'bottom',
|
|
1774
|
+
'bottom-start',
|
|
1775
|
+
'bottom-end',
|
|
1776
|
+
'bottom-start-corner',
|
|
1777
|
+
'bottom-end-corner',
|
|
1778
|
+
'end',
|
|
1779
|
+
'end-top',
|
|
1780
|
+
'end-bottom',
|
|
1781
|
+
'end-top-corner',
|
|
1782
|
+
'end-bottom-corner'
|
|
1783
|
+
];
|
|
1784
|
+
return placementTypeValues.includes(value);
|
|
1785
|
+
};
|
|
1786
|
+
function useFloating({ middleware, placement, strategy, onPosition, whileElementsMounted }) {
|
|
1787
|
+
//this should not happen, checking to just to be safe
|
|
1788
|
+
if (!isOfPlacementType(placement)) {
|
|
1789
|
+
placement = 'bottom';
|
|
1790
|
+
}
|
|
1791
|
+
const referenceRef = useRef(null);
|
|
1792
|
+
const floatingRef = useRef(null);
|
|
1793
|
+
const [reference, _setReference] = useState(null);
|
|
1794
|
+
const [floating, _setFloating] = useState(null);
|
|
1795
|
+
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
1796
|
+
const isMountedRef = useRef(false);
|
|
1797
|
+
const { direction } = useUser();
|
|
1798
|
+
const [data, _setData] = useState({
|
|
1799
|
+
// Setting these to `null` will allow the consumer to determine if
|
|
1800
|
+
// `computePosition()` has run yet
|
|
1801
|
+
x: null,
|
|
1802
|
+
y: null,
|
|
1803
|
+
strategy: strategy ?? 'absolute',
|
|
1804
|
+
placement: 'bottom',
|
|
1805
|
+
middlewareData: {}
|
|
1806
|
+
});
|
|
1807
|
+
const dataRef = useRef(data);
|
|
1808
|
+
const setData = (data) => {
|
|
1809
|
+
dataRef.current = data;
|
|
1810
|
+
_setData(data);
|
|
1811
|
+
};
|
|
1812
|
+
const [latestMiddleware, setLatestMiddleware] = useState(middleware);
|
|
1813
|
+
if (!deepEqual(latestMiddleware, middleware)) {
|
|
1814
|
+
setLatestMiddleware(middleware);
|
|
1815
|
+
}
|
|
1816
|
+
const update = useCallback(() => {
|
|
1817
|
+
if (!referenceRef.current || !floatingRef.current) {
|
|
1818
|
+
return;
|
|
1819
|
+
}
|
|
1820
|
+
// map *-corner placement to normalized placement and offset
|
|
1821
|
+
const floatingCornerPlacement = cornerPlacement(placement, floatingRef.current);
|
|
1822
|
+
// map start/end placements to right/left depending on the reading direction
|
|
1823
|
+
const floatingUiPlacement = logicalSide(floatingCornerPlacement.placement, direction);
|
|
1824
|
+
// we need a summarized offset middleware
|
|
1825
|
+
const newMiddlewareArray = latestMiddleware?.map((m) => {
|
|
1826
|
+
if (m && m?.name === 'offset') {
|
|
1827
|
+
if (typeof m.options === 'function') {
|
|
1828
|
+
// ignore function if there are *-corner placements
|
|
1829
|
+
return floatingCornerPlacement.offset == null
|
|
1830
|
+
? m
|
|
1831
|
+
: offset(floatingCornerPlacement.offset);
|
|
1832
|
+
}
|
|
1833
|
+
const currentOffset = typeof m.options === 'number' ? { mainAxis: m.options, crossAxis: 0 } : m.options;
|
|
1834
|
+
return offset({
|
|
1835
|
+
mainAxis: (currentOffset && currentOffset.mainAxis) ?? 0,
|
|
1836
|
+
crossAxis: ((floatingCornerPlacement.offset && floatingCornerPlacement.offset.crossAxis) ?? 0) +
|
|
1837
|
+
((currentOffset && currentOffset.crossAxis) ?? 0)
|
|
1838
|
+
});
|
|
1839
|
+
}
|
|
1840
|
+
else {
|
|
1841
|
+
return m;
|
|
1842
|
+
}
|
|
1843
|
+
});
|
|
1844
|
+
computePosition(referenceRef.current, floatingRef.current, {
|
|
1845
|
+
middleware: newMiddlewareArray,
|
|
1846
|
+
placement: floatingUiPlacement,
|
|
1847
|
+
strategy
|
|
1848
|
+
}).then((newData) => {
|
|
1849
|
+
if (isMountedRef.current) {
|
|
1850
|
+
if (newData.placement !== dataRef.current.placement ||
|
|
1851
|
+
newData.x !== dataRef.current.x ||
|
|
1852
|
+
newData.y !== dataRef.current.y ||
|
|
1853
|
+
newData.middlewareData.arrow?.x != dataRef.current.middlewareData.arrow?.x ||
|
|
1854
|
+
newData.middlewareData.arrow?.y != dataRef.current.middlewareData.arrow?.y ||
|
|
1855
|
+
newData.middlewareData.arrow?.centerOffset !=
|
|
1856
|
+
dataRef.current.middlewareData.arrow?.centerOffset) {
|
|
1857
|
+
const newMiddleware = newMiddlewareArray?.find((m) => m && m?.name === 'offset');
|
|
1858
|
+
const origOffset = newMiddleware?.options;
|
|
1859
|
+
const reversedNewPlacement = reverseLogicalSide(newData.placement, direction);
|
|
1860
|
+
const offset = newData.middlewareData.offset;
|
|
1861
|
+
const mappedData = {
|
|
1862
|
+
// we need to map right/left, returned from the computePosition, to start/end
|
|
1863
|
+
placement: reversedNewPlacement,
|
|
1864
|
+
origPlacement: placement,
|
|
1865
|
+
x: newData.x,
|
|
1866
|
+
y: newData.y,
|
|
1867
|
+
arrow: newData.middlewareData.arrow,
|
|
1868
|
+
offset: offset,
|
|
1869
|
+
origOffset: origOffset
|
|
1870
|
+
};
|
|
1871
|
+
onPosition?.(mappedData);
|
|
1872
|
+
}
|
|
1873
|
+
setData(newData);
|
|
1874
|
+
}
|
|
1875
|
+
});
|
|
1876
|
+
}, [latestMiddleware, placement, direction, strategy, onPosition]);
|
|
1877
|
+
useLayoutEffect(() => {
|
|
1878
|
+
isMountedRef.current = true;
|
|
1879
|
+
return () => {
|
|
1880
|
+
isMountedRef.current = false;
|
|
1881
|
+
};
|
|
1882
|
+
}, []);
|
|
1883
|
+
useLayoutEffect(() => {
|
|
1884
|
+
if (reference && floating) {
|
|
1885
|
+
if (whileElementsMountedRef.current) {
|
|
1886
|
+
return whileElementsMountedRef.current(reference, floating, update);
|
|
1887
|
+
}
|
|
1888
|
+
else {
|
|
1889
|
+
update();
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
}, [reference, floating, update, whileElementsMountedRef]);
|
|
1893
|
+
const setReference = useCallback((node) => {
|
|
1894
|
+
if (referenceRef.current !== node) {
|
|
1895
|
+
referenceRef.current = node;
|
|
1896
|
+
_setReference(node);
|
|
1897
|
+
}
|
|
1898
|
+
}, []);
|
|
1899
|
+
const setFloating = useCallback((node) => {
|
|
1900
|
+
if (floatingRef.current !== node) {
|
|
1901
|
+
floatingRef.current = node;
|
|
1902
|
+
_setFloating(node);
|
|
1903
|
+
}
|
|
1904
|
+
}, []);
|
|
1905
|
+
const refs = useMemo(() => ({ reference: referenceRef, floating: floatingRef }), []);
|
|
1906
|
+
return useMemo(() => ({
|
|
1907
|
+
...data,
|
|
1908
|
+
update,
|
|
1909
|
+
refs,
|
|
1910
|
+
reference: setReference,
|
|
1911
|
+
floating: setFloating
|
|
1912
|
+
}), [data, update, refs, setReference, setFloating]);
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
export { limitShift as a, arrow as b, size as c, autoUpdate as d, flip as f, logicalSide as l, offset as o, shift as s, useFloating as u };
|
|
1916
|
+
//# sourceMappingURL=useFloating-c99976f8.js.map
|