@oracle/oraclejet-preact 18.0.5 → 18.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-3f86f73f.js +1 -1
- package/amd/BarChart-5e9f46b4.js +1 -1
- package/amd/BarGroup-76ef0839.js +1 -1
- package/amd/BaseButton-19a622bc.js +1 -1
- package/amd/BaseCardView-ab799b69.js +2 -0
- package/amd/BaseCardView-ab799b69.js.map +1 -0
- package/amd/BaseCardViewSelectionTest-d026d26c.js +2 -0
- package/amd/BaseCardViewSelectionTest-d026d26c.js.map +1 -0
- package/amd/BaseNavigationListItem-fe9cb691.js +1 -1
- package/amd/BaseRichSelection-9d8f3ee4.js +1 -1
- package/amd/ButtonSet-d95872cc.js +1 -1
- package/amd/ButtonSetIconButton-7a2c113c.js +1 -1
- package/amd/Card-8e081def.js +2 -0
- package/amd/Card-8e081def.js.map +1 -0
- package/amd/CardFlexView-296f97f5.js +2 -0
- package/amd/CardFlexView-296f97f5.js.map +1 -0
- package/amd/CardGridView-054ffc3f.js +2 -0
- package/amd/CardGridView-054ffc3f.js.map +1 -0
- package/amd/Center-9ec5524e.js +2 -0
- package/amd/Center-9ec5524e.js.map +1 -0
- package/amd/Chart-e2807ff7.js +1 -1
- package/amd/CheckboxControl-83484a5a.js +1 -1
- package/amd/CheckboxRadioField-9733dd24.js +1 -1
- package/amd/Chip-cd210507.js +1 -1
- package/amd/ClearIcon-de20285c.js +1 -1
- package/amd/CollapseIcon-e030531c.js +1 -1
- package/amd/Collapsible-924afd71.js +1 -1
- package/amd/ComboChart-71c0f51f.js +1 -1
- package/amd/CompactHelpSource-74498e92.js +1 -1
- package/amd/CompactLabelAssistance-c6928282.js +2 -0
- package/amd/CompactLabelAssistance-c6928282.js.map +1 -0
- package/amd/CompactUserAssistance-3370a318.js +1 -1
- package/amd/ComponentMessageContainer-8028ba70.js +1 -1
- package/amd/ConveyorBeltItem-08720127.js +1 -1
- package/amd/DatePicker-bf0e0c69.js +2 -0
- package/amd/DatePicker-bf0e0c69.js.map +1 -0
- package/amd/DatePickerHeader-f21e020d.js +1 -1
- package/amd/Diagram-04db0931.js +2 -0
- package/amd/Diagram-04db0931.js.map +1 -0
- package/amd/Dialog-5f36f8aa.js +2 -0
- package/amd/Dialog-5f36f8aa.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-20cef34d.js +1 -1
- package/amd/DirectionalExpandArrowIcon-e9bdb06e.js +1 -1
- package/amd/DragHandle-406d7f9a.js +2 -0
- package/amd/DragHandle-406d7f9a.js.map +1 -0
- package/amd/Dropdown-abcacf49.js +2 -0
- package/amd/Dropdown-abcacf49.js.map +1 -0
- package/amd/EnvironmentProvider-c0e1e39b.js +2 -0
- package/amd/EnvironmentProvider-c0e1e39b.js.map +1 -0
- package/amd/ExpandableList-dd3a05b4.js +1 -1
- package/amd/FilePicker-4636b49b.js +1 -1
- package/amd/Flex-3421f0df.js +2 -0
- package/amd/Flex-3421f0df.js.map +1 -0
- package/amd/Floating-5d98c1ca.js +2 -0
- package/amd/Floating-5d98c1ca.js.map +1 -0
- package/amd/FormLayout-a4a29a2d.js +1 -1
- package/amd/Gantt-d94af58e.js +1 -1
- package/amd/Grid-8911aa0f.js +2 -0
- package/amd/Grid-8911aa0f.js.map +1 -0
- package/amd/Gridlines-bef7bbfc.js +2 -0
- package/amd/Gridlines-bef7bbfc.js.map +1 -0
- package/amd/GroupLoadingIndicator-6b2ab709.js +1 -1
- package/amd/HighlightText-644bc74e.js +2 -0
- package/amd/HighlightText-644bc74e.js.map +1 -0
- package/amd/Icon-2d38c876.js +1 -1
- package/amd/IconButton-ae9a01ce.js +1 -1
- package/amd/IconMenuButton-b0468fa8.js +1 -1
- package/amd/IconProgressButton-ff5372eb.js +1 -1
- package/amd/IconSwitchButton-22f907e7.js +1 -1
- package/amd/IconToggleButton-20d411e6.js +1 -1
- package/amd/IconUserAssistance-37107cea.js +2 -0
- package/amd/IconUserAssistance-37107cea.js.map +1 -0
- package/amd/Indexer-1531dbc3.js +2 -0
- package/amd/Indexer-1531dbc3.js.map +1 -0
- package/amd/InlineHelpSource-85961e81.js +1 -1
- package/amd/InlineUserAssistance-4656c2a6.js +1 -1
- package/amd/InputDateMask-6d54c3e6.js +1 -1
- package/amd/InputDatePicker-fc39f0a6.js +1 -1
- package/amd/InputPassword-f6ea728a.js +1 -1
- package/amd/InputText-57f60b6f.js +1 -1
- package/amd/Label-3912beb2.js +1 -1
- package/amd/LabelValueLayout-194e64d9.js +1 -1
- package/amd/Layer-6f29b67f.js +2 -0
- package/amd/Layer-6f29b67f.js.map +1 -0
- package/amd/LayerHost-639b3284.js +2 -0
- package/amd/LayerHost-639b3284.js.map +1 -0
- package/amd/LayerManager-2972de92.js +2 -0
- package/amd/LayerManager-2972de92.js.map +1 -0
- package/amd/Legend-e4949499.js +1 -1
- package/amd/LineAreaChart-2ba275ab.js +2 -0
- package/amd/LineAreaChart-2ba275ab.js.map +1 -0
- package/amd/LineSeries-797d8d16.js +2 -0
- package/amd/LineSeries-797d8d16.js.map +1 -0
- package/amd/Link-c4a57187.js +1 -1
- package/amd/List-0b764e84.js +2 -0
- package/amd/List-0b764e84.js.map +1 -0
- package/amd/ListItemLayout-e0b2c71e.js +2 -0
- package/amd/ListItemLayout-e0b2c71e.js.map +1 -0
- package/amd/ListView-5bb45f81.js +2 -0
- package/amd/ListView-5bb45f81.js.map +1 -0
- package/amd/LiveRegion-9a362373.js +2 -0
- package/amd/LiveRegion-9a362373.js.map +1 -0
- package/amd/LoadMoreCollection-83413a59.js +2 -0
- package/amd/LoadMoreCollection-83413a59.js.map +1 -0
- package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
- package/amd/MaxLengthLiveRegion-bb956138.js.map +1 -0
- package/amd/Menu-5d447084.js +1 -1
- package/amd/MenuButton-410aa4e1.js +1 -1
- package/amd/MenuItem-87cd59b8.js +1 -1
- package/amd/Message-621fb578.js +1 -1
- package/amd/MessageLayer-8bac8c50.js +2 -0
- package/amd/MessageLayer-8bac8c50.js.map +1 -0
- package/amd/MessageToast-06773c79.js +1 -1
- package/amd/MessagesManager-d5686336.js +1 -1
- package/amd/MeterBar-e1b4a93b.js +1 -1
- package/amd/MeterCircle-9887cf28.js +1 -1
- package/amd/Modal-7bece8d5.js +2 -0
- package/amd/Modal-7bece8d5.js.map +1 -0
- package/amd/MonthView-3d0968a1.js +2 -0
- package/amd/MonthView-3d0968a1.js.map +1 -0
- package/amd/NavigationListItem-044a79fd.js +2 -0
- package/amd/NavigationListItem-044a79fd.js.map +1 -0
- package/amd/NumberInputText-cac12eb3.js +1 -1
- package/amd/OverflowTabBar-339f34cf.js +2 -0
- package/amd/OverflowTabBar-339f34cf.js.map +1 -0
- package/amd/OverflowTabBarItem-c59db4a2.js +2 -0
- package/amd/OverflowTabBarItem-c59db4a2.js.map +1 -0
- 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/DragV.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_LoadMoreCollection.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_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCard.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/DragHandleIcon.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/OverviewHorizontalDragHandleIcon.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/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_VirtualizedCollection.js +1 -1
- package/amd/PRIVATE_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-48a25c75.js +1 -1
- package/amd/PieChart-2197746d.js +1 -1
- package/amd/Popup-66e79afa.js +2 -0
- package/amd/Popup-66e79afa.js.map +1 -0
- package/amd/ProgressBar-e72c5a67.js +2 -0
- package/amd/ProgressBar-e72c5a67.js.map +1 -0
- package/amd/ProgressButton-f1d27773.js +1 -1
- package/amd/ProgressButtonLabelLayout-6df4290e.js +1 -1
- package/amd/ProgressCircle-2b4ba9cd.js +2 -0
- package/amd/ProgressCircle-2b4ba9cd.js.map +1 -0
- package/amd/RadioItem-b17c346c.js +1 -1
- package/amd/RatingGauge-539ede8e.js +1 -1
- package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
- package/amd/RemovableNavigationListItem-e01b6693.js +1 -1
- package/amd/RemovableTabBarItem-29b54206.js +1 -1
- package/amd/ReorderableTabBar-462d357c.js +1 -1
- package/amd/RevealToggleIcon-f975229d.js +1 -1
- package/amd/ScatterChart-7f0b817b.js +2 -0
- package/amd/ScatterChart-7f0b817b.js.map +1 -0
- package/amd/SectionalLegend-8f203cac.js +1 -1
- package/amd/SectionedContent-19bef3cc.js +2 -0
- package/amd/SectionedContent-19bef3cc.js.map +1 -0
- package/amd/SelectMultiple-7e9bd455.js +2 -0
- package/amd/SelectMultiple-7e9bd455.js.map +1 -0
- package/amd/SelectSingle-466bcd67.js +2 -0
- package/amd/SelectSingle-466bcd67.js.map +1 -0
- package/amd/SelectionCard-13aac54a.js +2 -0
- package/amd/SelectionCard-13aac54a.js.map +1 -0
- package/amd/Selector-2b0c34a7.js +1 -1
- package/amd/SelectorAll-1c889a9c.js +2 -0
- package/amd/SelectorAll-1c889a9c.js.map +1 -0
- package/amd/Sheet-0b58b0a5.js +2 -0
- package/amd/Sheet-0b58b0a5.js.map +1 -0
- package/amd/SplitMenuButton-031ae5e3.js +1 -1
- package/amd/StyledCard-0da6f6b5.js +2 -0
- package/amd/StyledCard-0da6f6b5.js.map +1 -0
- package/amd/StyledTextField-b4278437.js +1 -1
- package/amd/TabBar-d8890a47.js +1 -1
- package/amd/TabBarItem-547825e2.js +1 -1
- package/amd/TabBarLayout-685ac295.js +1 -1
- package/amd/TabBarMixed-a75796a6.js +1 -1
- package/amd/TabBarMixedSeparator-ed764207.js +2 -0
- package/amd/TabBarMixedSeparator-ed764207.js.map +1 -0
- package/amd/Table-87f7e3c4.js +2 -0
- package/amd/Table-87f7e3c4.js.map +1 -0
- package/amd/TableView-2b884e2c.js +2 -0
- package/amd/TableView-2b884e2c.js.map +1 -0
- package/amd/TagCloud-5dc4b5ff.js +1 -1
- package/amd/TextArea-a7a3d82f.js +1 -1
- package/amd/TextAreaAutosize-9cd2c1e8.js +1 -1
- package/amd/TextField-1021f00b.js +1 -1
- package/amd/TextFieldInput-ba4e508c.js +1 -1
- package/amd/Theme-redwood/theme.css +143 -143
- package/amd/Theme-stable/theme.css +389 -389
- package/amd/TimeComponentCanvas2D-6b4e6ead.js +1 -1
- package/amd/Toolbar-05d42276.js +1 -1
- package/amd/TruncatingBadge-7f66faaf.js +2 -0
- package/amd/TruncatingBadge-7f66faaf.js.map +1 -0
- package/amd/TruncatingText-69770aa9.js +2 -0
- package/amd/TruncatingText-69770aa9.js.map +1 -0
- 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_Card.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_ComboChart.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputTimeMask.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.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem.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_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_ScatterChart.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-bd5c7fa7.js +2 -0
- package/amd/View-bd5c7fa7.js.map +1 -0
- package/amd/VirtualizedCollection-897516a5.js +2 -0
- package/amd/VirtualizedCollection-897516a5.js.map +1 -0
- package/amd/VirtualizedListView-cbe87ec2.js +2 -0
- package/amd/VirtualizedListView-cbe87ec2.js.map +1 -0
- package/amd/VisNoData-10983ace.js +2 -0
- package/amd/VisNoData-10983ace.js.map +1 -0
- package/amd/VisProgressiveLoader-06a60c8f.js +2 -0
- package/amd/VisProgressiveLoader-06a60c8f.js.map +1 -0
- package/amd/VisTabularDatatip-55bbd19f.js +2 -0
- package/amd/VisTabularDatatip-55bbd19f.js.map +1 -0
- package/amd/WindowOverlay-43c10424.js +2 -0
- package/amd/WindowOverlay-43c10424.js.map +1 -0
- package/amd/YearsGridView-d7b2184e.js +2 -0
- package/amd/YearsGridView-d7b2184e.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_useVisDragModeControls.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_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-95227deb.js +2 -0
- package/amd/index-95227deb.js.map +1 -0
- package/amd/listViewSelectionTests-c9777ea8.js +1 -1
- package/amd/render-85c034d7.js +2 -0
- package/amd/render-85c034d7.js.map +1 -0
- package/amd/tabbableUtils-591fdc8d.js +2 -0
- package/amd/tabbableUtils-591fdc8d.js.map +1 -0
- package/amd/testData-02652eda.js +2 -0
- package/amd/testData-02652eda.js.map +1 -0
- package/amd/tooltipUtils-e5bdb734.js +2 -0
- package/amd/tooltipUtils-e5bdb734.js.map +1 -0
- package/amd/useCellNavigation-1feec094.js +1 -1
- package/amd/useChartContextMenu-8606bfa2.js +1 -1
- package/amd/useChartDatatip-947eeffe.js +2 -0
- package/amd/useChartDatatip-947eeffe.js.map +1 -0
- package/amd/useColorScheme-443e7cc7.js +2 -0
- package/amd/useColorScheme-443e7cc7.js.map +1 -0
- package/amd/useContextMenu-e08aad46.js +1 -1
- package/amd/useCssVars-dc52806c.js +2 -0
- package/amd/useCssVars-dc52806c.js.map +1 -0
- package/amd/useCurrentBgColor-50142bd8.js +2 -0
- package/amd/useCurrentBgColor-50142bd8.js.map +1 -0
- package/amd/useCurrentKey-a993db56.js +2 -0
- package/amd/useCurrentKey-a993db56.js.map +1 -0
- package/amd/useDatatip-9942601b.js +2 -0
- package/amd/useDatatip-9942601b.js.map +1 -0
- package/amd/useDensity-f0f7ae9a.js +2 -0
- package/amd/useDensity-f0f7ae9a.js.map +1 -0
- package/amd/useFloating-bf8ed6cb.js +2 -0
- package/amd/useFloating-bf8ed6cb.js.map +1 -0
- package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
- package/amd/useKeyboardEvents-8ada7a1f.js.map +1 -0
- package/amd/useLegendContextMenu-e629139a.js +1 -1
- package/amd/useMeterDatatip-173593b4.js +2 -0
- package/amd/useMeterDatatip-173593b4.js.map +1 -0
- package/amd/useOutsideClick-76c1ff6e.js +2 -0
- package/amd/useOutsideClick-76c1ff6e.js.map +1 -0
- package/amd/usePopupAnimation-6e53a0fe.js +2 -0
- package/amd/usePopupAnimation-6e53a0fe.js.map +1 -0
- package/amd/usePrefixSuffix-f7544e05.js +2 -0
- package/amd/usePrefixSuffix-f7544e05.js.map +1 -0
- package/amd/useReorderableItem-726c3c03.js +2 -0
- package/amd/useReorderableItem-726c3c03.js.map +1 -0
- package/amd/useRovingTabIndexContainer-473f7e43.js +2 -0
- package/amd/useRovingTabIndexContainer-473f7e43.js.map +1 -0
- package/amd/useScale-e311d35f.js +2 -0
- package/amd/useScale-e311d35f.js.map +1 -0
- package/amd/useSelectCommon-d9c4a7bd.js +2 -0
- package/amd/useSelectCommon-d9c4a7bd.js.map +1 -0
- package/amd/useSelectDrill-216c007c.js +2 -0
- package/amd/useSelectDrill-216c007c.js.map +1 -0
- package/amd/useSelection-01203394.js +2 -0
- package/amd/useSelection-01203394.js.map +1 -0
- package/amd/useSelection-4249360e.js +2 -0
- package/amd/useSelection-4249360e.js.map +1 -0
- package/amd/useTabBar-2c4573fe.js +1 -1
- package/amd/useTestId-b5cd4766.js +2 -0
- package/amd/useTestId-b5cd4766.js.map +1 -0
- package/amd/useTheme-a8334e06.js +2 -0
- package/amd/useTheme-a8334e06.js.map +1 -0
- package/amd/useThemeInterpolations-ab618dee.js +2 -0
- package/amd/useThemeInterpolations-ab618dee.js.map +1 -0
- package/amd/useTooltip-b43ad881.js +2 -0
- package/amd/useTooltip-b43ad881.js.map +1 -0
- package/amd/useTooltipControlled-ee3276de.js +2 -0
- package/amd/useTooltipControlled-ee3276de.js.map +1 -0
- package/amd/useTranslationBundle-d07d4b20.js +2 -0
- package/amd/useTranslationBundle-d07d4b20.js.map +1 -0
- package/amd/useUser-3ef25571.js +2 -0
- package/amd/useUser-3ef25571.js.map +1 -0
- package/amd/useVisDragModeControls-a5685835.js +1 -1
- package/amd/useVisEvents-dc86164f.js +2 -0
- package/amd/useVisEvents-dc86164f.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/withDirectionIcon-74c39ee3.js +2 -0
- package/amd/withDirectionIcon-74c39ee3.js.map +1 -0
- package/amd/withThemeProps-4c23997e.js +1 -1
- package/cjs/ActionCard-61b21d6c.js +1 -1
- package/cjs/BarChart-93a3813c.js +181 -0
- package/cjs/BarChart-93a3813c.js.map +1 -0
- package/cjs/BarGroup-4a24a995.js +1 -1
- package/cjs/BaseButton-3a0bf8e4.js +2 -2
- package/cjs/BaseCardView-ade994f5.js +7 -7
- package/cjs/BaseCardViewSelectionTest-c6f05079.js +734 -0
- package/cjs/BaseCardViewSelectionTest-c6f05079.js.map +1 -0
- package/cjs/BaseNavigationListItem-50e4c603.js +1 -1
- package/cjs/BaseRichSelection-e73cac1d.js +8 -8
- package/cjs/ButtonSet-90db1168.js +2 -2
- package/cjs/ButtonSetIconButton-f3b4a721.js +3 -3
- package/cjs/Card-a0dadf5f.js +17 -0
- package/cjs/Card-a0dadf5f.js.map +1 -0
- package/cjs/Center-9f407cb2.js +18 -0
- package/cjs/Center-9f407cb2.js.map +1 -0
- package/cjs/Chart-40d95d14.js +451 -0
- package/cjs/Chart-40d95d14.js.map +1 -0
- package/cjs/CheckboxControl-5beb656d.js +6 -6
- package/cjs/CheckboxRadioField-0d5c9def.js +6 -6
- package/cjs/CheckboxSet-1bdbc419.js +53 -0
- package/cjs/CheckboxSet-1bdbc419.js.map +1 -0
- package/cjs/Chip-f12bb8cd.js +1 -1
- package/cjs/ClearIcon-edcc3f6e.js +1 -1
- package/cjs/CollapseIcon-2394e7ea.js +1 -1
- package/cjs/Collapsible-41311eb0.js +2 -2
- package/cjs/ComboChart-cffd0759.js +174 -0
- package/cjs/ComboChart-cffd0759.js.map +1 -0
- package/cjs/CompactHelpSource-61ead0c7.js +2 -2
- package/cjs/CompactLabelAssistance-ec1e72af.js +36 -0
- package/cjs/CompactLabelAssistance-ec1e72af.js.map +1 -0
- package/cjs/CompactUserAssistance-391bf7ca.js +4 -4
- package/cjs/ComponentMessageContainer-24e79106.js +4 -4
- package/cjs/ConveyorBeltItem-ac146ef0.js +2 -2
- package/cjs/DatePicker-d99097e4.js +566 -0
- package/cjs/DatePicker-d99097e4.js.map +1 -0
- package/cjs/DatePickerHeader-0938a3aa.js +3 -3
- package/cjs/Diagram-aceccb23.js +2028 -0
- package/cjs/Diagram-aceccb23.js.map +1 -0
- package/cjs/Dialog-2219a24f.js +318 -0
- package/cjs/Dialog-2219a24f.js.map +1 -0
- package/cjs/DirectionalCollapseArrowIcon-0cf2279a.js +1 -1
- package/cjs/DirectionalExpandArrowIcon-a362cb2f.js +1 -1
- package/cjs/DragHandle-951c36ef.js +24 -0
- package/cjs/DragHandle-951c36ef.js.map +1 -0
- package/cjs/Dropdown-00e73e4d.js +82 -0
- package/cjs/Dropdown-00e73e4d.js.map +1 -0
- package/cjs/EnvironmentProvider-bfd5febc.js +61 -0
- package/cjs/EnvironmentProvider-bfd5febc.js.map +1 -0
- package/cjs/ExpandableList-be84ca8e.js +3 -3
- package/cjs/FilePicker-f93470cf.js +2 -2
- package/cjs/Flex-ce16a2fa.js +33 -0
- package/cjs/Flex-ce16a2fa.js.map +1 -0
- package/cjs/Floating-3a80c067.js +464 -0
- package/cjs/Floating-3a80c067.js.map +1 -0
- package/cjs/FormLayout-86e60b6c.js +1 -1
- package/cjs/Gantt-7b6b99a0.js +9 -9
- package/cjs/Grid-b8fadf4a.js +29 -0
- package/cjs/Grid-b8fadf4a.js.map +1 -0
- package/cjs/Gridlines-22c46764.js +171 -0
- package/cjs/Gridlines-22c46764.js.map +1 -0
- package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
- package/cjs/HighlightText-2061d12d.js +33 -0
- package/cjs/HighlightText-2061d12d.js.map +1 -0
- package/cjs/Icon-c024b93c.js +3 -3
- package/cjs/IconButton-28559efb.js +3 -3
- package/cjs/IconMenuButton-2a108d43.js +3 -3
- package/cjs/IconProgressButton-01d95e57.js +3 -3
- package/cjs/IconSwitchButton-a1016218.js +3 -3
- package/cjs/IconToggleButton-52f6f126.js +3 -3
- package/cjs/IconUserAssistance-3faf6a09.js +75 -0
- package/cjs/IconUserAssistance-3faf6a09.js.map +1 -0
- package/cjs/Indexer-72430806.js +4 -4
- package/cjs/InlineHelpSource-0549100d.js +1 -1
- package/cjs/InlineUserAssistance-820162f4.js +5 -5
- package/cjs/InputDateMask-a7575cef.js +7 -7
- package/cjs/InputDatePicker-bc2c534a.js +8 -8
- package/cjs/InputPassword-eb6d227b.js +4 -4
- package/cjs/InputText-a9c423c3.js +6 -6
- package/cjs/Label-e0d15892.js +5 -5
- package/cjs/LabelValueLayout-4049c1a1.js +1 -1
- package/cjs/Layer-49394ca6.js +91 -0
- package/cjs/Layer-49394ca6.js.map +1 -0
- package/cjs/LayerHost-7182bfaf.js +45 -0
- package/cjs/LayerHost-7182bfaf.js.map +1 -0
- package/cjs/LayerManager-db087520.js +36 -0
- package/cjs/LayerManager-db087520.js.map +1 -0
- package/cjs/Legend-33a7824e.js +3 -3
- package/cjs/LineAreaChart-bb1350fa.js +172 -0
- package/cjs/LineAreaChart-bb1350fa.js.map +1 -0
- package/cjs/LineSeries-995be81c.js +112 -0
- package/cjs/LineSeries-995be81c.js.map +1 -0
- package/cjs/Link-b8435440.js +1 -1
- package/cjs/List-0dc2c4c4.js +5 -5
- package/cjs/ListItemLayout-bc581097.js +112 -0
- package/cjs/ListItemLayout-bc581097.js.map +1 -0
- package/cjs/ListView-17b8250d.js +3 -3
- package/cjs/LiveRegion-3bc583c6.js +41 -0
- package/cjs/LiveRegion-3bc583c6.js.map +1 -0
- package/cjs/MaxLengthCounter-9ab3f74b.js +27 -0
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +1 -0
- package/cjs/MaxLengthLiveRegion-5e31c44e.js +25 -0
- package/cjs/MaxLengthLiveRegion-5e31c44e.js.map +1 -0
- package/cjs/Menu-658212ed.js +6 -6
- package/cjs/MenuButton-1599ce50.js +2 -2
- package/cjs/MenuItem-c459d748.js +1 -1
- package/cjs/Message-33a66325.js +2 -2
- package/cjs/MessageLayer-fc21a223.js +61 -0
- package/cjs/MessageLayer-fc21a223.js.map +1 -0
- package/cjs/MessageToast-0b1d66ed.js +8 -8
- package/cjs/MessagesManager-1ae749bf.js +3 -3
- package/cjs/MeterBar-0adbe81a.js +5 -5
- package/cjs/MeterCircle-97a75b35.js +5 -5
- package/cjs/Modal-76b3a4d9.js +264 -0
- package/cjs/Modal-76b3a4d9.js.map +1 -0
- package/cjs/MonthView-458d3d61.js +210 -0
- package/cjs/MonthView-458d3d61.js.map +1 -0
- package/cjs/NavigationListItem-4c4e804d.js +5 -5
- package/cjs/NumberInputText-3f25f408.js +6 -6
- package/cjs/OverflowTabBarItem-3c7adb01.js +3 -3
- package/cjs/PRIVATE_BaseCardView.js +22 -22
- package/cjs/PRIVATE_Chart.js +35 -35
- package/cjs/PRIVATE_CheckboxControl.js +23 -23
- package/cjs/PRIVATE_CheckboxRadioField.js +24 -24
- package/cjs/PRIVATE_ClearIcon.js +18 -18
- package/cjs/PRIVATE_DatePickerHeader.js +19 -19
- 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 +16 -16
- package/cjs/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/cjs/PRIVATE_Icons/DragV.js +16 -16
- package/cjs/PRIVATE_Icons/WarningS.js +16 -16
- package/cjs/PRIVATE_List.js +20 -20
- package/cjs/PRIVATE_Message.js +19 -19
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- 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 +17 -17
- package/cjs/PRIVATE_RichSelectionCommon.js +25 -25
- package/cjs/PRIVATE_SelectCommon.js +28 -28
- package/cjs/PRIVATE_StyledCard.js +4 -4
- package/cjs/PRIVATE_StyledCheckbox.js +16 -16
- package/cjs/PRIVATE_Table.js +24 -24
- package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/cjs/PRIVATE_TimeComponent.js +18 -18
- package/cjs/PRIVATE_VisOverview.js +16 -16
- package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
- package/cjs/PictoChart-292f6c54.js +6 -6
- package/cjs/PieChart-411377a1.js +6 -6
- package/cjs/Popup-3e6b37ba.js +249 -0
- package/cjs/Popup-3e6b37ba.js.map +1 -0
- package/cjs/ProgressBar-ee008afc.js +64 -0
- package/cjs/ProgressBar-ee008afc.js.map +1 -0
- package/cjs/ProgressButton-433a67b5.js +3 -3
- package/cjs/ProgressButtonLabelLayout-13908869.js +3 -3
- package/cjs/ProgressCircle-e91f65f3.js +50 -0
- package/cjs/ProgressCircle-e91f65f3.js.map +1 -0
- package/cjs/RadioItem-c6ada23a.js +6 -6
- package/cjs/RatingGauge-4f129f42.js +7 -7
- package/cjs/ReadonlyTextFieldInput-af4ddced.js +1 -1
- package/cjs/RemovableNavigationListItem-0eea31bc.js +1 -1
- package/cjs/RemovableTabBarItem-ff408dff.js +2 -2
- package/cjs/ReorderableTabBar-344938e7.js +3 -3
- package/cjs/RevealToggleIcon-2e88a00a.js +1 -1
- package/cjs/ScatterChart-763e1f3e.js +105 -0
- package/cjs/ScatterChart-763e1f3e.js.map +1 -0
- package/cjs/SectionalLegend-da9d7dc4.js +4 -4
- package/cjs/SectionedContent-2210037c.js +67 -0
- package/cjs/SectionedContent-2210037c.js.map +1 -0
- package/cjs/SelectMultiple-b1f05b9f.js +8 -8
- package/cjs/SelectSingle-84b0b3eb.js +7 -7
- package/cjs/SelectionCard-e26feb4d.js +18 -0
- package/cjs/SelectionCard-e26feb4d.js.map +1 -0
- package/cjs/Selector-565b3810.js +1 -1
- package/cjs/SelectorAll-e81b943f.js +71 -0
- package/cjs/SelectorAll-e81b943f.js.map +1 -0
- package/cjs/Sheet-73cb51b2.js +161 -0
- package/cjs/Sheet-73cb51b2.js.map +1 -0
- package/cjs/SplitMenuButton-de680884.js +2 -2
- package/cjs/StyledCard-f6b7f046.js +107 -0
- package/cjs/StyledCard-f6b7f046.js.map +1 -0
- package/cjs/StyledTextField-3289e35c.js +3 -3
- package/cjs/TabBar-bf94b95a.js +5 -5
- package/cjs/TabBarItem-00fcf601.js +3 -3
- package/cjs/TabBarLayout-846a4d9a.js +1 -1
- package/cjs/TabBarMixed-975141a6.js +5 -5
- package/cjs/TabBarMixedSeparator-0f55c6f6.js +21 -0
- package/cjs/TabBarMixedSeparator-0f55c6f6.js.map +1 -0
- package/cjs/Table-90fe7ad8.js +9 -9
- package/cjs/TagCloud-ff6f5158.js +8 -8
- package/cjs/TextArea-e7f98e9f.js +162 -0
- package/cjs/TextArea-e7f98e9f.js.map +1 -0
- package/cjs/TextAreaAutosize-d96c7038.js +246 -0
- package/cjs/TextAreaAutosize-d96c7038.js.map +1 -0
- package/cjs/TextField-976ee745.js +3 -3
- package/cjs/TextFieldInput-e83921a4.js +1 -1
- package/cjs/Theme-redwood/theme.css +189 -189
- package/cjs/Theme-stable/theme.css +269 -269
- package/cjs/TimeComponentCanvas2D-952a80c3.js +5 -5
- package/cjs/Toolbar-f94296cb.js +1 -1
- package/cjs/TruncatingBadge-3a82f13b.js +36 -0
- package/cjs/TruncatingBadge-3a82f13b.js.map +1 -0
- package/cjs/TruncatingText-df3db482.js +50 -0
- package/cjs/TruncatingText-df3db482.js.map +1 -0
- package/cjs/UNSAFE_ActionCard.js +3 -3
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/cjs/UNSAFE_BarChart.js +36 -36
- package/cjs/UNSAFE_BaseButton.js +3 -3
- package/cjs/UNSAFE_Button.js +3 -3
- package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/cjs/UNSAFE_ButtonSet.js +4 -4
- package/cjs/UNSAFE_ButtonSetButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetIconButton.js +16 -16
- package/cjs/UNSAFE_ButtonSetItem.js +16 -16
- package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
- package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
- package/cjs/UNSAFE_Card.js +5 -5
- package/cjs/UNSAFE_CardFlexView.js +22 -22
- package/cjs/UNSAFE_CardGridView.js +22 -22
- package/cjs/UNSAFE_Center.js +5 -5
- package/cjs/UNSAFE_ChartWithLegend.js +4 -4
- package/cjs/UNSAFE_Checkbox.js +23 -23
- package/cjs/UNSAFE_CheckboxItem.js +103 -52
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +38 -67
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_Chip.js +2 -2
- package/cjs/UNSAFE_Collapsible.js +18 -18
- package/cjs/UNSAFE_ComboChart.js +38 -38
- package/cjs/UNSAFE_ComponentMessage.js +19 -19
- package/cjs/UNSAFE_ConveyorBelt.js +16 -16
- package/cjs/UNSAFE_DatePicker.js +24 -24
- package/cjs/UNSAFE_Diagram.js +21 -21
- package/cjs/UNSAFE_Dialog.js +21 -21
- package/cjs/UNSAFE_DragHandle.js +18 -18
- package/cjs/UNSAFE_DrawerLayout.js +12 -12
- package/cjs/UNSAFE_DrawerPopup.js +11 -11
- package/cjs/UNSAFE_Dropdown.js +13 -13
- package/cjs/UNSAFE_Environment.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +23 -23
- package/cjs/UNSAFE_FilePicker.js +4 -4
- package/cjs/UNSAFE_Flex.js +4 -4
- package/cjs/UNSAFE_Floating.js +11 -11
- package/cjs/UNSAFE_FormLayout.js +2 -2
- package/cjs/UNSAFE_Gantt.js +23 -23
- package/cjs/UNSAFE_Grid.js +4 -4
- package/cjs/UNSAFE_HighlightText.js +4 -4
- package/cjs/UNSAFE_Icon.js +16 -16
- package/cjs/UNSAFE_IconButton.js +16 -16
- package/cjs/UNSAFE_IconMenuButton.js +21 -21
- package/cjs/UNSAFE_IconProgressButton.js +19 -19
- package/cjs/UNSAFE_IconToggleButton.js +16 -16
- package/cjs/UNSAFE_Indexer.js +6 -6
- package/cjs/UNSAFE_InputDateMask.js +24 -24
- package/cjs/UNSAFE_InputDatePicker.js +32 -32
- package/cjs/UNSAFE_InputPassword.js +23 -23
- package/cjs/UNSAFE_InputSensitiveText.js +25 -25
- package/cjs/UNSAFE_InputText.js +26 -26
- package/cjs/UNSAFE_InputTimeMask.js +24 -24
- package/cjs/UNSAFE_Label.js +23 -23
- package/cjs/UNSAFE_LabelValueLayout.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +24 -24
- package/cjs/UNSAFE_Layer.js +8 -8
- package/cjs/UNSAFE_Legend.js +24 -24
- package/cjs/UNSAFE_LineAreaChart.js +38 -38
- package/cjs/UNSAFE_Link.js +2 -2
- package/cjs/UNSAFE_ListItemLayout.js +5 -5
- package/cjs/UNSAFE_ListView.js +28 -28
- package/cjs/UNSAFE_LiveRegion.js +4 -4
- package/cjs/UNSAFE_Menu.js +23 -23
- package/cjs/UNSAFE_MenuButton.js +21 -21
- package/cjs/UNSAFE_MessageBanner.js +19 -19
- package/cjs/UNSAFE_MessageToast.js +22 -22
- package/cjs/UNSAFE_MeterBar.js +16 -16
- package/cjs/UNSAFE_MeterCircle.js +17 -17
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NavigationList.js +20 -20
- package/cjs/UNSAFE_NavigationListCommon.js +18 -18
- package/cjs/UNSAFE_NumberInputText.js +25 -25
- package/cjs/UNSAFE_OverflowTabBar.js +24 -24
- package/cjs/UNSAFE_PictoChart.js +14 -14
- package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/cjs/UNSAFE_PieChart.js +21 -21
- package/cjs/UNSAFE_Popup.js +16 -16
- package/cjs/UNSAFE_ProgressBar.js +5 -5
- package/cjs/UNSAFE_ProgressButton.js +19 -19
- package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/cjs/UNSAFE_ProgressCircle.js +4 -4
- package/cjs/UNSAFE_RadioItem.js +23 -23
- package/cjs/UNSAFE_RadioSet.js +23 -23
- package/cjs/UNSAFE_RatingGauge.js +17 -17
- package/cjs/UNSAFE_ReorderableTabBar.js +24 -24
- package/cjs/UNSAFE_RichCheckboxSet.js +39 -37
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichRadioSet.js +25 -25
- package/cjs/UNSAFE_RichSelectionItem.js +196 -59
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_ScatterChart.js +38 -38
- package/cjs/UNSAFE_SectionalLegend.js +25 -25
- package/cjs/UNSAFE_SelectMultiple.js +30 -30
- package/cjs/UNSAFE_SelectSingle.js +30 -30
- package/cjs/UNSAFE_SelectionCard.js +5 -5
- package/cjs/UNSAFE_Selector.js +16 -16
- package/cjs/UNSAFE_SelectorAll.js +20 -20
- package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/cjs/UNSAFE_Sheet.js +11 -11
- package/cjs/UNSAFE_SplitMenuButton.js +21 -21
- package/cjs/UNSAFE_TabBar.js +25 -25
- package/cjs/UNSAFE_TabBarCommon.js +25 -25
- package/cjs/UNSAFE_TabBarMixed.js +26 -26
- package/cjs/UNSAFE_TableView.js +24 -24
- package/cjs/UNSAFE_TagCloud.js +23 -23
- package/cjs/UNSAFE_TextArea.js +29 -28
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +28 -28
- package/cjs/UNSAFE_TextField.js +7 -7
- package/cjs/UNSAFE_ToggleButton.js +3 -3
- package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/cjs/UNSAFE_Toolbar.js +4 -4
- package/cjs/UNSAFE_Train.js +17 -17
- package/cjs/UNSAFE_TruncatingBadge.js +18 -18
- package/cjs/UNSAFE_TruncatingText.js +17 -17
- package/cjs/UNSAFE_UserAssistance.js +24 -24
- package/cjs/UNSAFE_View.js +7 -7
- package/cjs/UNSAFE_VirtualizedListView.js +20 -20
- 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-145a402d.js +170 -0
- package/cjs/View-145a402d.js.map +1 -0
- package/cjs/VisNoData-210b0385.js +35 -0
- package/cjs/VisNoData-210b0385.js.map +1 -0
- package/cjs/VisProgressiveLoader-5ed4eb9d.js +53 -0
- package/cjs/VisProgressiveLoader-5ed4eb9d.js.map +1 -0
- package/cjs/VisTabularDatatip-a06f4ca3.js +26 -0
- package/cjs/VisTabularDatatip-a06f4ca3.js.map +1 -0
- package/cjs/WindowOverlay-de3bd373.js +112 -0
- package/cjs/WindowOverlay-de3bd373.js.map +1 -0
- package/cjs/YearsGridView-e8d7a02c.js +190 -0
- package/cjs/YearsGridView-e8d7a02c.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 +20 -20
- package/cjs/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/cjs/hooks/PRIVATE_useChartEvents.js +18 -18
- package/cjs/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
- package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/cjs/hooks/PRIVATE_useDatatip.js +12 -12
- package/cjs/hooks/PRIVATE_useFloating.js +4 -4
- package/cjs/hooks/PRIVATE_useReorderable.js +5 -5
- package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/cjs/hooks/PRIVATE_useSelection.js +4 -4
- package/cjs/hooks/PRIVATE_useTabBar.js +4 -4
- package/cjs/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/cjs/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/cjs/hooks/PRIVATE_useVisSelection.js +13 -13
- 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 +8 -8
- 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 +6 -6
- package/cjs/hooks/UNSAFE_useTooltip.js +17 -17
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/cjs/hooks/UNSAFE_useUser.js +3 -3
- package/cjs/index-8c93d858.js +13 -0
- package/cjs/index-8c93d858.js.map +1 -0
- package/cjs/listViewSelectionTests-858bb12a.js +3 -3
- package/cjs/render-bc47fc7e.js +41 -0
- package/cjs/render-bc47fc7e.js.map +1 -0
- package/cjs/tabbableUtils-b14a04ea.js +81 -0
- package/cjs/tabbableUtils-b14a04ea.js.map +1 -0
- package/cjs/testData-c996c33b.js +271 -0
- package/cjs/testData-c996c33b.js.map +1 -0
- package/cjs/tooltipUtils-2228b0f7.js +97 -0
- package/cjs/tooltipUtils-2228b0f7.js.map +1 -0
- package/cjs/useCellNavigation-6f7cd4c8.js +1 -1
- package/cjs/useChartContextMenu-d114824a.js +2 -2
- package/cjs/useChartDatatip-538a4577.js +166 -0
- package/cjs/useChartDatatip-538a4577.js.map +1 -0
- package/cjs/useColorScheme-e6bef5a4.js +21 -0
- package/cjs/useColorScheme-e6bef5a4.js.map +1 -0
- package/cjs/useContextMenu-3ebf8f80.js +2 -2
- package/cjs/useCssVars-9bea15a9.js +60 -0
- package/cjs/useCssVars-9bea15a9.js.map +1 -0
- package/cjs/useCurrentBgColor-6835bf45.js +21 -0
- package/cjs/useCurrentBgColor-6835bf45.js.map +1 -0
- package/cjs/useCurrentKey-d8d41864.js +83 -0
- package/cjs/useCurrentKey-d8d41864.js.map +1 -0
- package/cjs/useDatatip-1dda9a86.js +89 -0
- package/cjs/useDatatip-1dda9a86.js.map +1 -0
- package/cjs/useDensity-38283c57.js +21 -0
- package/cjs/useDensity-38283c57.js.map +1 -0
- package/cjs/useFloating-c9e127d3.js +1926 -0
- package/cjs/useFloating-c9e127d3.js.map +1 -0
- package/cjs/useKeyboardEvents-7ab0d8ee.js +81 -0
- package/cjs/useKeyboardEvents-7ab0d8ee.js.map +1 -0
- package/cjs/useLegendContextMenu-82be007a.js +4 -4
- package/cjs/useMeterDatatip-945883f5.js +77 -0
- package/cjs/useMeterDatatip-945883f5.js.map +1 -0
- package/cjs/useOutsideClick-ad999b14.js +103 -0
- package/cjs/useOutsideClick-ad999b14.js.map +1 -0
- package/cjs/usePopupAnimation-b911e9ed.js +87 -0
- package/cjs/usePopupAnimation-b911e9ed.js.map +1 -0
- package/cjs/usePrefixSuffix-1de3a724.js +72 -0
- package/cjs/usePrefixSuffix-1de3a724.js.map +1 -0
- package/cjs/useReorderableItem-5fc4d599.js +271 -0
- package/cjs/useReorderableItem-5fc4d599.js.map +1 -0
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js +100 -0
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js.map +1 -0
- package/cjs/useScale-a47864b4.js +21 -0
- package/cjs/useScale-a47864b4.js.map +1 -0
- package/cjs/useSelectCommon-5b46ac60.js +11 -11
- package/cjs/useSelectDrill-51fdccac.js +106 -0
- package/cjs/useSelectDrill-51fdccac.js.map +1 -0
- package/cjs/useSelection-0dbc2f40.js +241 -0
- package/cjs/useSelection-0dbc2f40.js.map +1 -0
- package/cjs/useSelection-8362b6c6.js +187 -0
- package/cjs/useSelection-8362b6c6.js.map +1 -0
- package/cjs/useTabBar-048ffd9f.js +1 -1
- package/cjs/useTestId-e267a39d.js +23 -0
- package/cjs/useTestId-e267a39d.js.map +1 -0
- package/cjs/useTheme-6cedf9c8.js +21 -0
- package/cjs/useTheme-6cedf9c8.js.map +1 -0
- package/cjs/useThemeInterpolations-316c1636.js +59 -0
- package/cjs/useThemeInterpolations-316c1636.js.map +1 -0
- package/cjs/useTooltip-ea036f82.js +51 -0
- package/cjs/useTooltip-ea036f82.js.map +1 -0
- package/cjs/useTooltipControlled-61581889.js +371 -0
- package/cjs/useTooltipControlled-61581889.js.map +1 -0
- package/cjs/useTranslationBundle-6b0281a9.js +31 -0
- package/cjs/useTranslationBundle-6b0281a9.js.map +1 -0
- package/cjs/useUser-8aaad5a7.js +21 -0
- package/cjs/useUser-8aaad5a7.js.map +1 -0
- package/cjs/useVisDragModeControls-95caebc9.js +1 -1
- package/cjs/useVisEvents-99f1bf51.js +155 -0
- package/cjs/useVisEvents-99f1bf51.js.map +1 -0
- package/cjs/utils/PRIVATE_tooltipUtils.js +14 -14
- package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
- package/cjs/withDirectionIcon-7f758093.js +16 -0
- package/cjs/withDirectionIcon-7f758093.js.map +1 -0
- package/cjs/withThemeProps-6e15f1c3.js +2 -2
- package/es/ActionCard-e64b1771.js +1 -1
- package/es/AvatarVariants.styles.css +25 -25
- package/es/AvatarVariants.styles2.css +25 -25
- package/es/BarChart-a3209793.js +1 -1
- package/es/BarGroup-740cd159.js +1 -1
- package/es/BaseButton-3ce1f027.js +2 -2
- package/es/BaseCardView-229fa119.js +683 -0
- package/es/BaseCardView-229fa119.js.map +1 -0
- package/es/BaseCardViewSelectionTest-cf72be09.js +721 -0
- package/es/BaseCardViewSelectionTest-cf72be09.js.map +1 -0
- package/es/BaseNavigationListItem-530bc3df.js +1 -1
- package/es/BaseRichSelection-9fa49816.js +8 -8
- package/es/ButtonSet-51dcff96.js +2 -2
- package/es/ButtonSetIconButton-536c1045.js +3 -3
- package/es/Card-de0aef24.js +15 -0
- package/es/Card-de0aef24.js.map +1 -0
- package/es/CardFlexView-3ef6bf4d.js +27 -0
- package/es/CardFlexView-3ef6bf4d.js.map +1 -0
- package/es/CardGridView-e15226c9.js +15 -0
- package/es/CardGridView-e15226c9.js.map +1 -0
- package/es/Center-9f355d44.js +16 -0
- package/es/Center-9f355d44.js.map +1 -0
- package/es/Chart-b97e00f1.js +8 -8
- package/es/CheckboxControl-ee327a6d.js +6 -6
- package/es/CheckboxRadioField-a4db2c10.js +6 -6
- package/es/CheckboxSet-3c3b7c71.js +49 -0
- package/es/CheckboxSet-3c3b7c71.js.map +1 -0
- package/es/Chip-8554d3ff.js +1 -1
- package/es/ClearIcon-95064ad6.js +1 -1
- package/es/CollapseIcon-4e943f42.js +1 -1
- package/es/Collapsible-cb2ba356.js +2 -2
- package/es/ComboChart-b8c2be4d.js +2 -2
- package/es/CompactHelpSource-9c0d4cb4.js +2 -2
- package/es/CompactLabelAssistance-7912767d.js +34 -0
- package/es/CompactLabelAssistance-7912767d.js.map +1 -0
- package/es/CompactUserAssistance-12950e48.js +4 -4
- package/es/ComponentMessageContainer-f2837e7f.js +4 -4
- package/es/ConveyorBeltItem-188fcaf0.js +2 -2
- package/es/DatePicker-38a71007.js +564 -0
- package/es/DatePicker-38a71007.js.map +1 -0
- package/es/DatePickerHeader-5806fbea.js +3 -3
- package/es/Diagram-ee9ec4a9.js +2026 -0
- package/es/Diagram-ee9ec4a9.js.map +1 -0
- package/es/Dialog-2248109e.js +316 -0
- package/es/Dialog-2248109e.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
- package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
- package/es/DragHandle-5cba8c4b.js +22 -0
- package/es/DragHandle-5cba8c4b.js.map +1 -0
- package/es/Dropdown-f7fbfa81.js +80 -0
- package/es/Dropdown-f7fbfa81.js.map +1 -0
- package/es/EnvironmentProvider-a3819bde.js +58 -0
- package/es/EnvironmentProvider-a3819bde.js.map +1 -0
- package/es/ExpandableList-478db30a.js +4 -4
- package/es/FilePicker-ecfad7d4.js +2 -2
- package/es/Flex-2d51e914.js +30 -0
- package/es/Flex-2d51e914.js.map +1 -0
- package/es/Floating-c13f9f62.js +462 -0
- package/es/Floating-c13f9f62.js.map +1 -0
- package/es/FormLayout-2efb00f6.js +1 -1
- package/es/Gantt-0adf9527.js +9 -9
- package/es/Grid-c2385b22.js +27 -0
- package/es/Grid-c2385b22.js.map +1 -0
- package/es/Gridlines-89b5506f.js +168 -0
- package/es/Gridlines-89b5506f.js.map +1 -0
- package/es/GroupLoadingIndicator-63035d08.js +2 -2
- package/es/HighlightText-d505bf35.js +31 -0
- package/es/HighlightText-d505bf35.js.map +1 -0
- package/es/Icon-bdd49f29.js +3 -3
- package/es/IconButton-62cd1cf9.js +3 -3
- package/es/IconMenuButton-242dc102.js +3 -3
- package/es/IconProgressButton-193d58bf.js +3 -3
- package/es/IconSwitchButton-a92911d0.js +3 -3
- package/es/IconToggleButton-fb7ccce9.js +3 -3
- package/es/IconUserAssistance-2b494a2e.js +73 -0
- package/es/IconUserAssistance-2b494a2e.js.map +1 -0
- package/es/Indexer-eb00ba0b.js +336 -0
- package/es/Indexer-eb00ba0b.js.map +1 -0
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-04cce83e.js +5 -5
- package/es/InputDateMask-23aef570.js +7 -7
- package/es/InputDatePicker-59bbd31d.js +307 -0
- package/es/InputDatePicker-59bbd31d.js.map +1 -0
- package/es/InputPassword-2c87ceb9.js +4 -4
- package/es/InputText-3701adf8.js +6 -6
- package/es/Label-6d90e627.js +5 -5
- package/es/LabelValueLayout-bcf482be.js +1 -1
- package/es/Layer-7497a324.js +88 -0
- package/es/Layer-7497a324.js.map +1 -0
- package/es/LayerHost-7a2149f5.js +40 -0
- package/es/LayerHost-7a2149f5.js.map +1 -0
- package/es/LayerManager-be34be40.js +34 -0
- package/es/LayerManager-be34be40.js.map +1 -0
- package/es/Legend-588633b2.js +3 -3
- package/es/LineAreaChart-d6924882.js +170 -0
- package/es/LineAreaChart-d6924882.js.map +1 -0
- package/es/LineSeries-00fa2ab7.js +109 -0
- package/es/LineSeries-00fa2ab7.js.map +1 -0
- package/es/Link-9f8b5c41.js +1 -1
- package/es/List-e6886091.js +717 -0
- package/es/List-e6886091.js.map +1 -0
- package/es/ListItemLayout-b3d899d6.js +110 -0
- package/es/ListItemLayout-b3d899d6.js.map +1 -0
- package/es/ListView-137e31fd.js +428 -0
- package/es/ListView-137e31fd.js.map +1 -0
- package/es/LiveRegion-5302331c.js +39 -0
- package/es/LiveRegion-5302331c.js.map +1 -0
- package/es/LoadMoreCollection-7df1be36.js +31 -0
- package/es/LoadMoreCollection-7df1be36.js.map +1 -0
- package/es/MaxLengthCounter-181b4fc9.js +25 -0
- package/es/MaxLengthCounter-181b4fc9.js.map +1 -0
- package/es/MaxLengthLiveRegion-9b386b63.js +23 -0
- package/es/MaxLengthLiveRegion-9b386b63.js.map +1 -0
- package/es/Menu-a37635b8.js +6 -6
- package/es/MenuButton-422a74de.js +2 -2
- package/es/MenuItem-831dfd05.js +1 -1
- package/es/Message-9d1504b6.js +2 -2
- package/es/MessageLayer-9ea7cf82.js +58 -0
- package/es/MessageLayer-9ea7cf82.js.map +1 -0
- package/es/MessageToast-7058b181.js +8 -8
- package/es/MessagesManager-9dd3eb3d.js +3 -3
- package/es/MeterBar-551d32db.js +5 -5
- package/es/MeterCircle-5e2ee267.js +5 -5
- package/es/Modal-1710fdd2.js +262 -0
- package/es/Modal-1710fdd2.js.map +1 -0
- package/es/MonthView-9c0b40f1.js +208 -0
- package/es/MonthView-9c0b40f1.js.map +1 -0
- package/es/NavigationListItem-5b25b2f5.js +5 -5
- package/es/NumberInputText-58e80ab7.js +6 -6
- package/es/OverflowTabBarItem-08625093.js +3 -3
- package/es/PRIVATE_BaseCardView.js +25 -25
- package/es/PRIVATE_Chart.js +31 -31
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +24 -24
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/DragV.js +16 -16
- package/es/PRIVATE_Icons/WarningS.js +16 -16
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +19 -19
- package/es/PRIVATE_MessageLayer.js +12 -12
- 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 +17 -17
- package/es/PRIVATE_RichSelectionCommon.js +25 -25
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_Table.js +27 -27
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-3f059ad1.js +6 -6
- package/es/PieChart-ca02932e.js +6 -6
- package/es/Popup-a4be2769.js +247 -0
- package/es/Popup-a4be2769.js.map +1 -0
- package/es/ProgressBar-4fbb27ab.js +62 -0
- package/es/ProgressBar-4fbb27ab.js.map +1 -0
- package/es/ProgressButton-2497c81b.js +3 -3
- package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
- package/es/ProgressCircle-2d3833fa.js +48 -0
- package/es/ProgressCircle-2d3833fa.js.map +1 -0
- package/es/RadioItem-35f68420.js +6 -6
- package/es/RatingGauge-5346d0bf.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-29fdaddc.js +1 -1
- package/es/RemovableTabBarItem-1cc7a0ca.js +2 -2
- package/es/ReorderableTabBar-b9019d0a.js +3 -3
- package/es/RevealToggleIcon-51514e37.js +1 -1
- package/es/ScatterChart-d26d4ea9.js +103 -0
- package/es/ScatterChart-d26d4ea9.js.map +1 -0
- package/es/SectionalLegend-c71d48a3.js +4 -4
- package/es/SectionedContent-2d0a744d.js +64 -0
- package/es/SectionedContent-2d0a744d.js.map +1 -0
- package/es/SelectMultiple-488a49d1.js +1303 -0
- package/es/SelectMultiple-488a49d1.js.map +1 -0
- package/es/SelectSingle-e8b9a33a.js +736 -0
- package/es/SelectSingle-e8b9a33a.js.map +1 -0
- package/es/SelectionCard-792c249d.js +16 -0
- package/es/SelectionCard-792c249d.js.map +1 -0
- package/es/Selector-5892544f.js +1 -1
- package/es/SelectorAll-ab748274.js +69 -0
- package/es/SelectorAll-ab748274.js.map +1 -0
- package/es/Sheet-31e6970c.js +158 -0
- package/es/Sheet-31e6970c.js.map +1 -0
- package/es/SplitMenuButton-3dbd83b7.js +2 -2
- package/es/StyledCard-6913b45c.js +105 -0
- package/es/StyledCard-6913b45c.js.map +1 -0
- package/es/StyledTextField-ebb5409d.js +3 -3
- package/es/TabBar-fb7f97d2.js +5 -5
- package/es/TabBarItem-252cba76.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-f60c2c7a.js +5 -5
- package/es/TabBarMixedSeparator-16c88691.js +19 -0
- package/es/TabBarMixedSeparator-16c88691.js.map +1 -0
- package/es/Table-3cfb9443.js +5509 -0
- package/es/Table-3cfb9443.js.map +1 -0
- package/es/TableView-fd5104cd.js +31 -0
- package/es/TableView-fd5104cd.js.map +1 -0
- package/es/TagCloud-f7e50ac4.js +8 -8
- package/es/TextArea-7230675f.js +160 -0
- package/es/TextArea-7230675f.js.map +1 -0
- package/es/TextAreaAutosize-0d293016.js +244 -0
- package/es/TextAreaAutosize-0d293016.js.map +1 -0
- package/es/TextField-cb494638.js +3 -3
- package/es/TextFieldInput-3c2e920d.js +1 -1
- package/es/Theme-redwood/theme.css +1151 -1151
- package/es/Theme-stable/theme.css +404 -404
- package/es/TimeComponentCanvas2D-2a4a0c94.js +5 -5
- package/es/Toolbar-7676795b.js +1 -1
- package/es/TruncatingBadge-0f04b894.js +34 -0
- package/es/TruncatingBadge-0f04b894.js.map +1 -0
- package/es/TruncatingText-ccad557f.js +48 -0
- package/es/TruncatingText-ccad557f.js.map +1 -0
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
- package/es/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
- package/es/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
- package/es/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
- package/es/UNSAFE_Avatar.js +1 -1
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +31 -31
- package/es/UNSAFE_BarChart.js +31 -31
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +16 -16
- package/es/UNSAFE_ButtonSetItem.js +16 -16
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +26 -26
- package/es/UNSAFE_CardGridView.js +26 -26
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +103 -52
- package/es/UNSAFE_CheckboxItem.js.map +1 -1
- package/es/UNSAFE_CheckboxSet.js +33 -67
- package/es/UNSAFE_CheckboxSet.js.map +1 -1
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ComboChart.js +33 -33
- package/es/UNSAFE_ComponentMessage.js +19 -19
- package/es/UNSAFE_ConveyorBelt.js +16 -16
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +21 -21
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +18 -18
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +26 -26
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +16 -16
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +19 -19
- package/es/UNSAFE_IconToggleButton.js +16 -16
- package/es/UNSAFE_Indexer.js +8 -8
- package/es/UNSAFE_InputDateMask.js +24 -24
- package/es/UNSAFE_InputDatePicker.js +113 -113
- package/es/UNSAFE_InputPassword.js +23 -23
- package/es/UNSAFE_InputSensitiveText.js +25 -25
- package/es/UNSAFE_InputText.js +26 -26
- package/es/UNSAFE_InputTimeMask.js +24 -24
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +24 -24
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +24 -24
- 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 +33 -33
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +21 -21
- package/es/UNSAFE_MessageBanner.js +19 -19
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NavigationList.js +20 -20
- package/es/UNSAFE_NavigationListCommon.js +18 -18
- package/es/UNSAFE_NumberInputText.js +25 -25
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/es/UNSAFE_PieChart.js +21 -21
- package/es/UNSAFE_Popup.js +16 -16
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +19 -19
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +23 -23
- package/es/UNSAFE_RadioSet.js +23 -23
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +24 -24
- package/es/UNSAFE_RichCheckboxSet.js +38 -36
- package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/es/UNSAFE_RichRadioSet.js +25 -25
- package/es/UNSAFE_RichSelectionItem.js +195 -58
- package/es/UNSAFE_RichSelectionItem.js.map +1 -1
- package/es/UNSAFE_ScatterChart.js +34 -34
- package/es/UNSAFE_SectionalLegend.js +25 -25
- package/es/UNSAFE_SelectMultiple.js +36 -36
- package/es/UNSAFE_SelectSingle.js +36 -36
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +16 -16
- package/es/UNSAFE_SelectorAll.js +20 -20
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_SplitMenuButton.js +21 -21
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +25 -25
- package/es/UNSAFE_TabBarMixed.js +26 -26
- package/es/UNSAFE_TableView.js +28 -28
- package/es/UNSAFE_TagCloud.js +23 -23
- package/es/UNSAFE_TextArea.js +28 -27
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +28 -28
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TruncatingBadge.js +18 -18
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +25 -25
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/View-a8a64eb1.js +167 -0
- package/es/View-a8a64eb1.js.map +1 -0
- package/es/VirtualizedCollection-f048fbb8.js +176 -0
- package/es/VirtualizedCollection-f048fbb8.js.map +1 -0
- package/es/VirtualizedListView-0532e46c.js +14 -0
- package/es/VirtualizedListView-0532e46c.js.map +1 -0
- package/es/VisNoData-794ddc21.js +32 -0
- package/es/VisNoData-794ddc21.js.map +1 -0
- package/es/VisProgressiveLoader-66dde1ff.js +51 -0
- package/es/VisProgressiveLoader-66dde1ff.js.map +1 -0
- package/es/VisTabularDatatip-6aa607bb.js +24 -0
- package/es/VisTabularDatatip-6aa607bb.js.map +1 -0
- package/es/WindowOverlay-de5d0819.js +110 -0
- package/es/WindowOverlay-de5d0819.js.map +1 -0
- package/es/YearsGridView-cb510d1e.js +187 -0
- package/es/YearsGridView-cb510d1e.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 +20 -20
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- 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 +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-f4c1d6de.js +11 -0
- package/es/index-f4c1d6de.js.map +1 -0
- package/es/listViewSelectionTests-79aa17b2.js +3 -3
- package/es/render-9dce082a.js +34 -0
- package/es/render-9dce082a.js.map +1 -0
- package/es/tabbableUtils-93a7cd6f.js +79 -0
- package/es/tabbableUtils-93a7cd6f.js.map +1 -0
- package/es/testData-a9ced8ec.js +256 -0
- package/es/testData-a9ced8ec.js.map +1 -0
- package/es/tooltipUtils-fcfd7dbb.js +92 -0
- package/es/tooltipUtils-fcfd7dbb.js.map +1 -0
- package/es/useCellNavigation-00d575ca.js +1 -1
- package/es/useChartContextMenu-121a5f6d.js +2 -2
- package/es/useChartDatatip-c929f857.js +164 -0
- package/es/useChartDatatip-c929f857.js.map +1 -0
- package/es/useColorScheme-f69d53b5.js +19 -0
- package/es/useColorScheme-f69d53b5.js.map +1 -0
- package/es/useContextMenu-8c47333e.js +2 -2
- package/es/useCssVars-48595cd2.js +58 -0
- package/es/useCssVars-48595cd2.js.map +1 -0
- package/es/useCurrentBgColor-894d059b.js +19 -0
- package/es/useCurrentBgColor-894d059b.js.map +1 -0
- package/es/useCurrentKey-aa75ec92.js +81 -0
- package/es/useCurrentKey-aa75ec92.js.map +1 -0
- package/es/useDatatip-40475371.js +87 -0
- package/es/useDatatip-40475371.js.map +1 -0
- package/es/useDensity-04a01caf.js +19 -0
- package/es/useDensity-04a01caf.js.map +1 -0
- package/es/useFloating-dad3f791.js +1916 -0
- package/es/useFloating-dad3f791.js.map +1 -0
- package/es/useKeyboardEvents-b02e5fda.js +78 -0
- package/es/useKeyboardEvents-b02e5fda.js.map +1 -0
- package/es/useLegendContextMenu-1043d63c.js +4 -4
- package/es/useMeterDatatip-4adf64f2.js +74 -0
- package/es/useMeterDatatip-4adf64f2.js.map +1 -0
- package/es/useOutsideClick-c19a8d7f.js +101 -0
- package/es/useOutsideClick-c19a8d7f.js.map +1 -0
- package/es/usePopupAnimation-267b444c.js +85 -0
- package/es/usePopupAnimation-267b444c.js.map +1 -0
- package/es/usePrefixSuffix-995d4cda.js +70 -0
- package/es/usePrefixSuffix-995d4cda.js.map +1 -0
- package/es/useReorderableItem-7f7c13b5.js +268 -0
- package/es/useReorderableItem-7f7c13b5.js.map +1 -0
- package/es/useRovingTabIndexContainer-7ec9f36f.js +98 -0
- package/es/useRovingTabIndexContainer-7ec9f36f.js.map +1 -0
- package/es/useScale-3b323ab2.js +19 -0
- package/es/useScale-3b323ab2.js.map +1 -0
- package/es/useSelectCommon-af8e715e.js +686 -0
- package/es/useSelectCommon-af8e715e.js.map +1 -0
- package/es/useSelectDrill-232b571c.js +103 -0
- package/es/useSelectDrill-232b571c.js.map +1 -0
- package/es/useSelection-bbd2320f.js +185 -0
- package/es/useSelection-bbd2320f.js.map +1 -0
- package/es/useSelection-c46ba985.js +239 -0
- package/es/useSelection-c46ba985.js.map +1 -0
- package/es/useTabBar-efad9075.js +1 -1
- package/es/useTestId-af32a9eb.js +21 -0
- package/es/useTestId-af32a9eb.js.map +1 -0
- package/es/useTheme-73aca0e4.js +19 -0
- package/es/useTheme-73aca0e4.js.map +1 -0
- package/es/useThemeInterpolations-242b30ed.js +57 -0
- package/es/useThemeInterpolations-242b30ed.js.map +1 -0
- package/es/useTooltip-72f5cf2e.js +49 -0
- package/es/useTooltip-72f5cf2e.js.map +1 -0
- package/es/useTooltipControlled-97142fd1.js +368 -0
- package/es/useTooltipControlled-97142fd1.js.map +1 -0
- package/es/useTranslationBundle-6da03e52.js +29 -0
- package/es/useTranslationBundle-6da03e52.js.map +1 -0
- package/es/useUser-bca8cf2d.js +19 -0
- package/es/useUser-bca8cf2d.js.map +1 -0
- package/es/useVisDragModeControls-4d8d8a3b.js +1 -1
- package/es/useVisEvents-37c78cfe.js +153 -0
- package/es/useVisEvents-37c78cfe.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/withDirectionIcon-389870a2.js +14 -0
- package/es/withDirectionIcon-389870a2.js.map +1 -0
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardView-70b177ed.js +0 -2
- package/amd/BaseCardView-70b177ed.js.map +0 -1
- package/amd/BaseCardViewSelectionTest-0ec52156.js +0 -2
- package/amd/BaseCardViewSelectionTest-0ec52156.js.map +0 -1
- package/amd/Card-f6f2dc90.js +0 -2
- package/amd/Card-f6f2dc90.js.map +0 -1
- package/amd/CardFlexView-bb5c4369.js +0 -2
- package/amd/CardFlexView-bb5c4369.js.map +0 -1
- package/amd/CardGridView-c28ff2f7.js +0 -2
- package/amd/CardGridView-c28ff2f7.js.map +0 -1
- package/amd/Center-b449a95c.js +0 -2
- package/amd/Center-b449a95c.js.map +0 -1
- package/amd/CompactLabelAssistance-44ba87b0.js +0 -2
- package/amd/CompactLabelAssistance-44ba87b0.js.map +0 -1
- package/amd/DatePicker-2c94a3bb.js +0 -2
- package/amd/DatePicker-2c94a3bb.js.map +0 -1
- package/amd/Diagram-c3afb211.js +0 -2
- package/amd/Diagram-c3afb211.js.map +0 -1
- package/amd/Dialog-53f92591.js +0 -2
- package/amd/Dialog-53f92591.js.map +0 -1
- package/amd/DragHandle-699fefd6.js +0 -2
- package/amd/DragHandle-699fefd6.js.map +0 -1
- package/amd/Dropdown-4b421eff.js +0 -2
- package/amd/Dropdown-4b421eff.js.map +0 -1
- package/amd/EnvironmentProvider-8f6fc388.js +0 -2
- package/amd/EnvironmentProvider-8f6fc388.js.map +0 -1
- package/amd/Flex-56ecdf4c.js +0 -2
- package/amd/Flex-56ecdf4c.js.map +0 -1
- package/amd/Floating-1ec5ec2a.js +0 -2
- package/amd/Floating-1ec5ec2a.js.map +0 -1
- package/amd/Grid-160f4885.js +0 -2
- package/amd/Grid-160f4885.js.map +0 -1
- package/amd/Gridlines-7851bb20.js +0 -2
- package/amd/Gridlines-7851bb20.js.map +0 -1
- package/amd/HighlightText-bd4c0101.js +0 -2
- package/amd/HighlightText-bd4c0101.js.map +0 -1
- package/amd/IconUserAssistance-d2bd2691.js +0 -2
- package/amd/IconUserAssistance-d2bd2691.js.map +0 -1
- package/amd/Indexer-357554c4.js +0 -2
- package/amd/Indexer-357554c4.js.map +0 -1
- package/amd/Layer-447c68e6.js +0 -2
- package/amd/Layer-447c68e6.js.map +0 -1
- package/amd/LayerHost-e95c5f30.js +0 -2
- package/amd/LayerHost-e95c5f30.js.map +0 -1
- package/amd/LayerManager-76fcfb58.js +0 -2
- package/amd/LayerManager-76fcfb58.js.map +0 -1
- package/amd/LineAreaChart-b4acee62.js +0 -2
- package/amd/LineAreaChart-b4acee62.js.map +0 -1
- package/amd/LineSeries-a549e727.js +0 -2
- package/amd/LineSeries-a549e727.js.map +0 -1
- package/amd/List-04c4fed0.js +0 -2
- package/amd/List-04c4fed0.js.map +0 -1
- package/amd/ListItemLayout-4208363c.js +0 -2
- package/amd/ListItemLayout-4208363c.js.map +0 -1
- package/amd/ListView-bf740071.js +0 -2
- package/amd/ListView-bf740071.js.map +0 -1
- package/amd/LiveRegion-8142ed0d.js +0 -2
- package/amd/LiveRegion-8142ed0d.js.map +0 -1
- package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
- package/amd/LoadMoreCollection-a6adbc3f.js.map +0 -1
- package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
- package/amd/MaxLengthLiveRegion-8954fc30.js.map +0 -1
- package/amd/MessageLayer-ba56f7e2.js +0 -2
- package/amd/MessageLayer-ba56f7e2.js.map +0 -1
- package/amd/Modal-d6b2e905.js +0 -2
- package/amd/Modal-d6b2e905.js.map +0 -1
- package/amd/MonthView-4a0401cd.js +0 -2
- package/amd/MonthView-4a0401cd.js.map +0 -1
- package/amd/NavigationListItem-021b2d58.js +0 -2
- package/amd/NavigationListItem-021b2d58.js.map +0 -1
- package/amd/OverflowTabBar-ea3a4742.js +0 -2
- package/amd/OverflowTabBar-ea3a4742.js.map +0 -1
- package/amd/OverflowTabBarItem-763773c9.js +0 -2
- package/amd/OverflowTabBarItem-763773c9.js.map +0 -1
- package/amd/Popup-d51bf3f4.js +0 -2
- package/amd/Popup-d51bf3f4.js.map +0 -1
- package/amd/ProgressBar-3f4cd8d6.js +0 -2
- package/amd/ProgressBar-3f4cd8d6.js.map +0 -1
- package/amd/ProgressCircle-74b6fc89.js +0 -2
- package/amd/ProgressCircle-74b6fc89.js.map +0 -1
- package/amd/ScatterChart-0ca7c658.js +0 -2
- package/amd/ScatterChart-0ca7c658.js.map +0 -1
- package/amd/SectionedContent-2a261004.js +0 -2
- package/amd/SectionedContent-2a261004.js.map +0 -1
- package/amd/SelectMultiple-e3a6732b.js +0 -2
- package/amd/SelectMultiple-e3a6732b.js.map +0 -1
- package/amd/SelectSingle-9d0dca8f.js +0 -2
- package/amd/SelectSingle-9d0dca8f.js.map +0 -1
- package/amd/SelectionCard-895b014d.js +0 -2
- package/amd/SelectionCard-895b014d.js.map +0 -1
- package/amd/SelectorAll-e884a225.js +0 -2
- package/amd/SelectorAll-e884a225.js.map +0 -1
- package/amd/Sheet-46782f99.js +0 -2
- package/amd/Sheet-46782f99.js.map +0 -1
- package/amd/StyledCard-c4d0324d.js +0 -2
- package/amd/StyledCard-c4d0324d.js.map +0 -1
- package/amd/TabBarMixedSeparator-8c278254.js +0 -2
- package/amd/TabBarMixedSeparator-8c278254.js.map +0 -1
- package/amd/Table-31cc83c6.js +0 -2
- package/amd/Table-31cc83c6.js.map +0 -1
- package/amd/TableView-ab5d0c12.js +0 -2
- package/amd/TableView-ab5d0c12.js.map +0 -1
- package/amd/TruncatingBadge-04f9ef4c.js +0 -2
- package/amd/TruncatingBadge-04f9ef4c.js.map +0 -1
- package/amd/TruncatingText-d18d41c5.js +0 -2
- package/amd/TruncatingText-d18d41c5.js.map +0 -1
- package/amd/View-ce970ed7.js +0 -2
- package/amd/View-ce970ed7.js.map +0 -1
- package/amd/VirtualizedCollection-63223f5e.js +0 -2
- package/amd/VirtualizedCollection-63223f5e.js.map +0 -1
- package/amd/VirtualizedListView-554eaee6.js +0 -2
- package/amd/VirtualizedListView-554eaee6.js.map +0 -1
- package/amd/VisNoData-6fa39277.js +0 -2
- package/amd/VisNoData-6fa39277.js.map +0 -1
- package/amd/VisProgressiveLoader-68d8d8b3.js +0 -2
- package/amd/VisProgressiveLoader-68d8d8b3.js.map +0 -1
- package/amd/VisTabularDatatip-1051eaca.js +0 -2
- package/amd/VisTabularDatatip-1051eaca.js.map +0 -1
- package/amd/WindowOverlay-a2d80d55.js +0 -2
- package/amd/WindowOverlay-a2d80d55.js.map +0 -1
- package/amd/YearsGridView-d799dc5c.js +0 -2
- package/amd/YearsGridView-d799dc5c.js.map +0 -1
- package/amd/index-b7b9300d.js +0 -2
- package/amd/index-b7b9300d.js.map +0 -1
- package/amd/render-366c27ff.js +0 -2
- package/amd/render-366c27ff.js.map +0 -1
- package/amd/tabbableUtils-88d4fa35.js +0 -2
- package/amd/tabbableUtils-88d4fa35.js.map +0 -1
- package/amd/testData-783b8823.js +0 -2
- package/amd/testData-783b8823.js.map +0 -1
- package/amd/tooltipUtils-69ce0a2d.js +0 -2
- package/amd/tooltipUtils-69ce0a2d.js.map +0 -1
- package/amd/useChartDatatip-ee3783af.js +0 -2
- package/amd/useChartDatatip-ee3783af.js.map +0 -1
- package/amd/useColorScheme-10dc88de.js +0 -2
- package/amd/useColorScheme-10dc88de.js.map +0 -1
- package/amd/useCssVars-c043f8da.js +0 -2
- package/amd/useCssVars-c043f8da.js.map +0 -1
- package/amd/useCurrentBgColor-2426ee24.js +0 -2
- package/amd/useCurrentBgColor-2426ee24.js.map +0 -1
- package/amd/useCurrentKey-31c18053.js +0 -2
- package/amd/useCurrentKey-31c18053.js.map +0 -1
- package/amd/useDatatip-ac26447a.js +0 -2
- package/amd/useDatatip-ac26447a.js.map +0 -1
- package/amd/useDensity-c83df7b4.js +0 -2
- package/amd/useDensity-c83df7b4.js.map +0 -1
- package/amd/useFloating-acd30a55.js +0 -2
- package/amd/useFloating-acd30a55.js.map +0 -1
- package/amd/useKeyboardEvents-d87e3587.js +0 -2
- package/amd/useKeyboardEvents-d87e3587.js.map +0 -1
- package/amd/useMeterDatatip-fff3c329.js +0 -2
- package/amd/useMeterDatatip-fff3c329.js.map +0 -1
- package/amd/useOutsideClick-f99b7a84.js +0 -2
- package/amd/useOutsideClick-f99b7a84.js.map +0 -1
- package/amd/usePopupAnimation-f679a4b0.js +0 -2
- package/amd/usePopupAnimation-f679a4b0.js.map +0 -1
- package/amd/usePrefixSuffix-09bd5925.js +0 -2
- package/amd/usePrefixSuffix-09bd5925.js.map +0 -1
- package/amd/useReorderableItem-4c4779f7.js +0 -2
- package/amd/useReorderableItem-4c4779f7.js.map +0 -1
- package/amd/useRovingTabIndexContainer-955e23a8.js +0 -2
- package/amd/useRovingTabIndexContainer-955e23a8.js.map +0 -1
- package/amd/useScale-37d42c9d.js +0 -2
- package/amd/useScale-37d42c9d.js.map +0 -1
- package/amd/useSelectCommon-e7f123ce.js +0 -2
- package/amd/useSelectCommon-e7f123ce.js.map +0 -1
- package/amd/useSelectDrill-6361116b.js +0 -2
- package/amd/useSelectDrill-6361116b.js.map +0 -1
- package/amd/useSelection-af7b4b52.js +0 -2
- package/amd/useSelection-af7b4b52.js.map +0 -1
- package/amd/useSelection-f0c7d74d.js +0 -2
- package/amd/useSelection-f0c7d74d.js.map +0 -1
- package/amd/useTestId-3a316499.js +0 -2
- package/amd/useTestId-3a316499.js.map +0 -1
- package/amd/useTheme-ac980f9a.js +0 -2
- package/amd/useTheme-ac980f9a.js.map +0 -1
- package/amd/useThemeInterpolations-6b2de213.js +0 -2
- package/amd/useThemeInterpolations-6b2de213.js.map +0 -1
- package/amd/useTooltip-7b11fd35.js +0 -2
- package/amd/useTooltip-7b11fd35.js.map +0 -1
- package/amd/useTooltipControlled-52183a08.js +0 -2
- package/amd/useTooltipControlled-52183a08.js.map +0 -1
- package/amd/useTranslationBundle-516b1b83.js +0 -2
- package/amd/useTranslationBundle-516b1b83.js.map +0 -1
- package/amd/useUser-85c781ea.js +0 -2
- package/amd/useUser-85c781ea.js.map +0 -1
- package/amd/useVisEvents-0166e4cc.js +0 -2
- package/amd/useVisEvents-0166e4cc.js.map +0 -1
- package/amd/withDirectionIcon-ce0c7432.js +0 -2
- package/amd/withDirectionIcon-ce0c7432.js.map +0 -1
- package/cjs/BarChart-ca7f8ed5.js +0 -181
- package/cjs/BarChart-ca7f8ed5.js.map +0 -1
- package/cjs/BaseCardViewSelectionTest-df948f2c.js +0 -734
- package/cjs/BaseCardViewSelectionTest-df948f2c.js.map +0 -1
- package/cjs/Card-a6693442.js +0 -17
- package/cjs/Card-a6693442.js.map +0 -1
- package/cjs/Center-c0baccb0.js +0 -18
- package/cjs/Center-c0baccb0.js.map +0 -1
- package/cjs/Chart-fbbd3329.js +0 -451
- package/cjs/Chart-fbbd3329.js.map +0 -1
- package/cjs/CheckboxSetContext-c62db26d.js +0 -12
- package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
- package/cjs/ComboChart-95863e7a.js +0 -174
- package/cjs/ComboChart-95863e7a.js.map +0 -1
- package/cjs/CompactLabelAssistance-fd841834.js +0 -36
- package/cjs/CompactLabelAssistance-fd841834.js.map +0 -1
- package/cjs/DatePicker-65b047ad.js +0 -566
- package/cjs/DatePicker-65b047ad.js.map +0 -1
- package/cjs/Diagram-2e66a8cb.js +0 -2028
- package/cjs/Diagram-2e66a8cb.js.map +0 -1
- package/cjs/Dialog-4160338c.js +0 -318
- package/cjs/Dialog-4160338c.js.map +0 -1
- package/cjs/DragHandle-67b6118b.js +0 -24
- package/cjs/DragHandle-67b6118b.js.map +0 -1
- package/cjs/Dropdown-34b8f141.js +0 -82
- package/cjs/Dropdown-34b8f141.js.map +0 -1
- package/cjs/EnvironmentProvider-75eb79f3.js +0 -61
- package/cjs/EnvironmentProvider-75eb79f3.js.map +0 -1
- package/cjs/Flex-e7a85bef.js +0 -33
- package/cjs/Flex-e7a85bef.js.map +0 -1
- package/cjs/Floating-56621d20.js +0 -464
- package/cjs/Floating-56621d20.js.map +0 -1
- package/cjs/Grid-a7316edd.js +0 -29
- package/cjs/Grid-a7316edd.js.map +0 -1
- package/cjs/Gridlines-ef3af190.js +0 -171
- package/cjs/Gridlines-ef3af190.js.map +0 -1
- package/cjs/HighlightText-dd11dd32.js +0 -33
- package/cjs/HighlightText-dd11dd32.js.map +0 -1
- package/cjs/IconUserAssistance-52208fde.js +0 -75
- package/cjs/IconUserAssistance-52208fde.js.map +0 -1
- package/cjs/Layer-0053053a.js +0 -91
- package/cjs/Layer-0053053a.js.map +0 -1
- package/cjs/LayerHost-a8c7f182.js +0 -45
- package/cjs/LayerHost-a8c7f182.js.map +0 -1
- package/cjs/LayerManager-2d0b83ac.js +0 -36
- package/cjs/LayerManager-2d0b83ac.js.map +0 -1
- package/cjs/LineAreaChart-506308c1.js +0 -172
- package/cjs/LineAreaChart-506308c1.js.map +0 -1
- package/cjs/LineSeries-0e984080.js +0 -112
- package/cjs/LineSeries-0e984080.js.map +0 -1
- package/cjs/ListItemLayout-ec53f199.js +0 -112
- package/cjs/ListItemLayout-ec53f199.js.map +0 -1
- package/cjs/LiveRegion-567427c5.js +0 -41
- package/cjs/LiveRegion-567427c5.js.map +0 -1
- package/cjs/MaxLengthLiveRegion-f03f07c6.js +0 -25
- package/cjs/MaxLengthLiveRegion-f03f07c6.js.map +0 -1
- package/cjs/MessageLayer-f9aa9828.js +0 -61
- package/cjs/MessageLayer-f9aa9828.js.map +0 -1
- package/cjs/Modal-b9987f2d.js +0 -264
- package/cjs/Modal-b9987f2d.js.map +0 -1
- package/cjs/MonthView-9c2819f0.js +0 -210
- package/cjs/MonthView-9c2819f0.js.map +0 -1
- package/cjs/Popup-84ce41d3.js +0 -249
- package/cjs/Popup-84ce41d3.js.map +0 -1
- package/cjs/ProgressBar-aa9edb7a.js +0 -64
- package/cjs/ProgressBar-aa9edb7a.js.map +0 -1
- package/cjs/ProgressCircle-1d9fbade.js +0 -50
- package/cjs/ProgressCircle-1d9fbade.js.map +0 -1
- package/cjs/ScatterChart-80ef4bee.js +0 -105
- package/cjs/ScatterChart-80ef4bee.js.map +0 -1
- package/cjs/SectionedContent-06dc071c.js +0 -67
- package/cjs/SectionedContent-06dc071c.js.map +0 -1
- package/cjs/SelectionCard-67f7003e.js +0 -18
- package/cjs/SelectionCard-67f7003e.js.map +0 -1
- package/cjs/SelectorAll-b55e1b61.js +0 -71
- package/cjs/SelectorAll-b55e1b61.js.map +0 -1
- package/cjs/Sheet-86989265.js +0 -161
- package/cjs/Sheet-86989265.js.map +0 -1
- package/cjs/StyledCard-a0496c88.js +0 -107
- package/cjs/StyledCard-a0496c88.js.map +0 -1
- package/cjs/TabBarMixedSeparator-0e258647.js +0 -21
- package/cjs/TabBarMixedSeparator-0e258647.js.map +0 -1
- package/cjs/TextArea-4c8f0284.js +0 -180
- package/cjs/TextArea-4c8f0284.js.map +0 -1
- package/cjs/TextAreaAutosize-466a21cc.js +0 -246
- package/cjs/TextAreaAutosize-466a21cc.js.map +0 -1
- package/cjs/TruncatingBadge-efe34bb7.js +0 -36
- package/cjs/TruncatingBadge-efe34bb7.js.map +0 -1
- package/cjs/TruncatingText-33c06a6c.js +0 -50
- package/cjs/TruncatingText-33c06a6c.js.map +0 -1
- package/cjs/View-5930179e.js +0 -170
- package/cjs/View-5930179e.js.map +0 -1
- package/cjs/VisNoData-5b2aa6a2.js +0 -35
- package/cjs/VisNoData-5b2aa6a2.js.map +0 -1
- package/cjs/VisProgressiveLoader-dacfe618.js +0 -53
- package/cjs/VisProgressiveLoader-dacfe618.js.map +0 -1
- package/cjs/VisTabularDatatip-eca8aa8f.js +0 -26
- package/cjs/VisTabularDatatip-eca8aa8f.js.map +0 -1
- package/cjs/WindowOverlay-06408f56.js +0 -112
- package/cjs/WindowOverlay-06408f56.js.map +0 -1
- package/cjs/YearsGridView-09f2f6c4.js +0 -190
- package/cjs/YearsGridView-09f2f6c4.js.map +0 -1
- package/cjs/index-ce6f9627.js +0 -13
- package/cjs/index-ce6f9627.js.map +0 -1
- package/cjs/render-9767e967.js +0 -41
- package/cjs/render-9767e967.js.map +0 -1
- package/cjs/tabbableUtils-a38b7148.js +0 -81
- package/cjs/tabbableUtils-a38b7148.js.map +0 -1
- package/cjs/testData-7439df49.js +0 -271
- package/cjs/testData-7439df49.js.map +0 -1
- package/cjs/tooltipUtils-669c2ae0.js +0 -97
- package/cjs/tooltipUtils-669c2ae0.js.map +0 -1
- package/cjs/useChartDatatip-c6107d63.js +0 -166
- package/cjs/useChartDatatip-c6107d63.js.map +0 -1
- package/cjs/useColorScheme-ce2a88b1.js +0 -21
- package/cjs/useColorScheme-ce2a88b1.js.map +0 -1
- package/cjs/useCssVars-bd95e715.js +0 -60
- package/cjs/useCssVars-bd95e715.js.map +0 -1
- package/cjs/useCurrentBgColor-6e39eb3a.js +0 -21
- package/cjs/useCurrentBgColor-6e39eb3a.js.map +0 -1
- package/cjs/useCurrentKey-88495da2.js +0 -83
- package/cjs/useCurrentKey-88495da2.js.map +0 -1
- package/cjs/useDatatip-83ab0540.js +0 -89
- package/cjs/useDatatip-83ab0540.js.map +0 -1
- package/cjs/useDensity-1f8cc921.js +0 -21
- package/cjs/useDensity-1f8cc921.js.map +0 -1
- package/cjs/useFloating-480d365a.js +0 -1926
- package/cjs/useFloating-480d365a.js.map +0 -1
- package/cjs/useKeyboardEvents-5e808fe3.js +0 -81
- package/cjs/useKeyboardEvents-5e808fe3.js.map +0 -1
- package/cjs/useMeterDatatip-641afcc6.js +0 -77
- package/cjs/useMeterDatatip-641afcc6.js.map +0 -1
- package/cjs/useOutsideClick-03a6c38c.js +0 -103
- package/cjs/useOutsideClick-03a6c38c.js.map +0 -1
- package/cjs/usePopupAnimation-2afacc4b.js +0 -87
- package/cjs/usePopupAnimation-2afacc4b.js.map +0 -1
- package/cjs/usePrefixSuffix-23341de3.js +0 -72
- package/cjs/usePrefixSuffix-23341de3.js.map +0 -1
- package/cjs/useReorderableItem-0dbb8843.js +0 -271
- package/cjs/useReorderableItem-0dbb8843.js.map +0 -1
- package/cjs/useRovingTabIndexContainer-dc12b802.js +0 -100
- package/cjs/useRovingTabIndexContainer-dc12b802.js.map +0 -1
- package/cjs/useScale-a681a5cb.js +0 -21
- package/cjs/useScale-a681a5cb.js.map +0 -1
- package/cjs/useSelectDrill-c95b1a51.js +0 -106
- package/cjs/useSelectDrill-c95b1a51.js.map +0 -1
- package/cjs/useSelection-228ef3ce.js +0 -241
- package/cjs/useSelection-228ef3ce.js.map +0 -1
- package/cjs/useSelection-efdf0e84.js +0 -187
- package/cjs/useSelection-efdf0e84.js.map +0 -1
- package/cjs/useTestId-5e6af45d.js +0 -23
- package/cjs/useTestId-5e6af45d.js.map +0 -1
- package/cjs/useTheme-8fb5546b.js +0 -21
- package/cjs/useTheme-8fb5546b.js.map +0 -1
- package/cjs/useThemeInterpolations-28ca9a13.js +0 -59
- package/cjs/useThemeInterpolations-28ca9a13.js.map +0 -1
- package/cjs/useTooltip-81b7b753.js +0 -51
- package/cjs/useTooltip-81b7b753.js.map +0 -1
- package/cjs/useTooltipControlled-33832163.js +0 -371
- package/cjs/useTooltipControlled-33832163.js.map +0 -1
- package/cjs/useTranslationBundle-51f4c22c.js +0 -31
- package/cjs/useTranslationBundle-51f4c22c.js.map +0 -1
- package/cjs/useUser-a4bfc560.js +0 -21
- package/cjs/useUser-a4bfc560.js.map +0 -1
- package/cjs/useVisEvents-e48065f4.js +0 -155
- package/cjs/useVisEvents-e48065f4.js.map +0 -1
- package/cjs/withDirectionIcon-1affce30.js +0 -16
- package/cjs/withDirectionIcon-1affce30.js.map +0 -1
- package/es/BaseCardView-c5a8ee6a.js +0 -683
- package/es/BaseCardView-c5a8ee6a.js.map +0 -1
- package/es/BaseCardViewSelectionTest-1a6585af.js +0 -721
- package/es/BaseCardViewSelectionTest-1a6585af.js.map +0 -1
- package/es/Card-44b7de2f.js +0 -15
- package/es/Card-44b7de2f.js.map +0 -1
- package/es/CardFlexView-529906e0.js +0 -27
- package/es/CardFlexView-529906e0.js.map +0 -1
- package/es/CardGridView-ec18c929.js +0 -15
- package/es/CardGridView-ec18c929.js.map +0 -1
- package/es/Center-8b48ab02.js +0 -16
- package/es/Center-8b48ab02.js.map +0 -1
- package/es/CheckboxSetContext-1be56556.js +0 -9
- package/es/CheckboxSetContext-1be56556.js.map +0 -1
- package/es/CompactLabelAssistance-6a627bbb.js +0 -34
- package/es/CompactLabelAssistance-6a627bbb.js.map +0 -1
- package/es/DatePicker-d4c3ec06.js +0 -564
- package/es/DatePicker-d4c3ec06.js.map +0 -1
- package/es/Diagram-a6348a41.js +0 -2026
- package/es/Diagram-a6348a41.js.map +0 -1
- package/es/Dialog-d64dd573.js +0 -316
- package/es/Dialog-d64dd573.js.map +0 -1
- package/es/DragHandle-d3a739f5.js +0 -22
- package/es/DragHandle-d3a739f5.js.map +0 -1
- package/es/Dropdown-f0cdaeae.js +0 -80
- package/es/Dropdown-f0cdaeae.js.map +0 -1
- package/es/EnvironmentProvider-0fc2fd0c.js +0 -58
- package/es/EnvironmentProvider-0fc2fd0c.js.map +0 -1
- package/es/Flex-8696b27b.js +0 -30
- package/es/Flex-8696b27b.js.map +0 -1
- package/es/Floating-9bf456f9.js +0 -462
- package/es/Floating-9bf456f9.js.map +0 -1
- package/es/Grid-7fd29a9e.js +0 -27
- package/es/Grid-7fd29a9e.js.map +0 -1
- package/es/Gridlines-5ac89a84.js +0 -168
- package/es/Gridlines-5ac89a84.js.map +0 -1
- package/es/HighlightText-cc043982.js +0 -31
- package/es/HighlightText-cc043982.js.map +0 -1
- package/es/IconUserAssistance-627f9d18.js +0 -73
- package/es/IconUserAssistance-627f9d18.js.map +0 -1
- package/es/Indexer-ba2c7593.js +0 -336
- package/es/Indexer-ba2c7593.js.map +0 -1
- package/es/InputDatePicker-dd3b6c89.js +0 -307
- package/es/InputDatePicker-dd3b6c89.js.map +0 -1
- package/es/Layer-12a734d1.js +0 -88
- package/es/Layer-12a734d1.js.map +0 -1
- package/es/LayerHost-15b42a3e.js +0 -40
- package/es/LayerHost-15b42a3e.js.map +0 -1
- package/es/LayerManager-af39e736.js +0 -34
- package/es/LayerManager-af39e736.js.map +0 -1
- package/es/LineAreaChart-94387b8b.js +0 -170
- package/es/LineAreaChart-94387b8b.js.map +0 -1
- package/es/LineSeries-ca5836e7.js +0 -109
- package/es/LineSeries-ca5836e7.js.map +0 -1
- package/es/List-97b7be70.js +0 -718
- package/es/List-97b7be70.js.map +0 -1
- package/es/ListItemLayout-e87958e3.js +0 -110
- package/es/ListItemLayout-e87958e3.js.map +0 -1
- package/es/ListView-936d8a4f.js +0 -428
- package/es/ListView-936d8a4f.js.map +0 -1
- package/es/LiveRegion-cb4f8a54.js +0 -39
- package/es/LiveRegion-cb4f8a54.js.map +0 -1
- package/es/LoadMoreCollection-95a49d2a.js +0 -31
- package/es/LoadMoreCollection-95a49d2a.js.map +0 -1
- package/es/MaxLengthLiveRegion-59087064.js +0 -23
- package/es/MaxLengthLiveRegion-59087064.js.map +0 -1
- package/es/MessageLayer-8bed437a.js +0 -58
- package/es/MessageLayer-8bed437a.js.map +0 -1
- package/es/Modal-103da2aa.js +0 -262
- package/es/Modal-103da2aa.js.map +0 -1
- package/es/MonthView-3f86e858.js +0 -208
- package/es/MonthView-3f86e858.js.map +0 -1
- package/es/Popup-6c3f0839.js +0 -247
- package/es/Popup-6c3f0839.js.map +0 -1
- package/es/ProgressBar-95461222.js +0 -62
- package/es/ProgressBar-95461222.js.map +0 -1
- package/es/ProgressCircle-93c309cb.js +0 -48
- package/es/ProgressCircle-93c309cb.js.map +0 -1
- package/es/ScatterChart-739a9ec0.js +0 -103
- package/es/ScatterChart-739a9ec0.js.map +0 -1
- package/es/SectionedContent-3fd063af.js +0 -64
- package/es/SectionedContent-3fd063af.js.map +0 -1
- package/es/SelectMultiple-ad8fc99a.js +0 -1303
- package/es/SelectMultiple-ad8fc99a.js.map +0 -1
- package/es/SelectSingle-abaf271c.js +0 -736
- package/es/SelectSingle-abaf271c.js.map +0 -1
- package/es/SelectionCard-1f8585cb.js +0 -16
- package/es/SelectionCard-1f8585cb.js.map +0 -1
- package/es/SelectorAll-e833da6d.js +0 -69
- package/es/SelectorAll-e833da6d.js.map +0 -1
- package/es/Sheet-0861fcc0.js +0 -158
- package/es/Sheet-0861fcc0.js.map +0 -1
- package/es/StyledCard-f5965d6d.js +0 -105
- package/es/StyledCard-f5965d6d.js.map +0 -1
- package/es/TabBarMixedSeparator-da56f4c0.js +0 -19
- package/es/TabBarMixedSeparator-da56f4c0.js.map +0 -1
- package/es/Table-1ba124ec.js +0 -5509
- package/es/Table-1ba124ec.js.map +0 -1
- package/es/TableView-20223ba6.js +0 -31
- package/es/TableView-20223ba6.js.map +0 -1
- package/es/TextArea-64b4e972.js +0 -177
- package/es/TextArea-64b4e972.js.map +0 -1
- package/es/TextAreaAutosize-4e0f60ef.js +0 -244
- package/es/TextAreaAutosize-4e0f60ef.js.map +0 -1
- package/es/TruncatingBadge-b69c1ceb.js +0 -34
- package/es/TruncatingBadge-b69c1ceb.js.map +0 -1
- package/es/TruncatingText-68acfafd.js +0 -48
- package/es/TruncatingText-68acfafd.js.map +0 -1
- package/es/View-63980a9b.js +0 -167
- package/es/View-63980a9b.js.map +0 -1
- package/es/VirtualizedCollection-e73890a1.js +0 -176
- package/es/VirtualizedCollection-e73890a1.js.map +0 -1
- package/es/VirtualizedListView-3ef40bde.js +0 -14
- package/es/VirtualizedListView-3ef40bde.js.map +0 -1
- package/es/VisNoData-02cab8f6.js +0 -32
- package/es/VisNoData-02cab8f6.js.map +0 -1
- package/es/VisProgressiveLoader-2b2103c8.js +0 -51
- package/es/VisProgressiveLoader-2b2103c8.js.map +0 -1
- package/es/VisTabularDatatip-2ae7ee48.js +0 -24
- package/es/VisTabularDatatip-2ae7ee48.js.map +0 -1
- package/es/WindowOverlay-9b43e658.js +0 -110
- package/es/WindowOverlay-9b43e658.js.map +0 -1
- package/es/YearsGridView-cc0574f2.js +0 -187
- package/es/YearsGridView-cc0574f2.js.map +0 -1
- package/es/index-20f848bc.js +0 -11
- package/es/index-20f848bc.js.map +0 -1
- package/es/render-2b908d4f.js +0 -34
- package/es/render-2b908d4f.js.map +0 -1
- package/es/tabbableUtils-20bbaf8d.js +0 -79
- package/es/tabbableUtils-20bbaf8d.js.map +0 -1
- package/es/testData-70bebfae.js +0 -256
- package/es/testData-70bebfae.js.map +0 -1
- package/es/tooltipUtils-38192add.js +0 -92
- package/es/tooltipUtils-38192add.js.map +0 -1
- package/es/useChartDatatip-977bc33d.js +0 -164
- package/es/useChartDatatip-977bc33d.js.map +0 -1
- package/es/useColorScheme-d8a80e2b.js +0 -19
- package/es/useColorScheme-d8a80e2b.js.map +0 -1
- package/es/useCssVars-8e6932f8.js +0 -58
- package/es/useCssVars-8e6932f8.js.map +0 -1
- package/es/useCurrentBgColor-5418492b.js +0 -19
- package/es/useCurrentBgColor-5418492b.js.map +0 -1
- package/es/useCurrentKey-63f6afcc.js +0 -81
- package/es/useCurrentKey-63f6afcc.js.map +0 -1
- package/es/useDatatip-bce558e2.js +0 -87
- package/es/useDatatip-bce558e2.js.map +0 -1
- package/es/useDensity-64ecb649.js +0 -19
- package/es/useDensity-64ecb649.js.map +0 -1
- package/es/useFloating-41d21e7d.js +0 -1916
- package/es/useFloating-41d21e7d.js.map +0 -1
- package/es/useKeyboardEvents-5c311766.js +0 -78
- package/es/useKeyboardEvents-5c311766.js.map +0 -1
- package/es/useMeterDatatip-5268869e.js +0 -74
- package/es/useMeterDatatip-5268869e.js.map +0 -1
- package/es/useOutsideClick-8a582d08.js +0 -101
- package/es/useOutsideClick-8a582d08.js.map +0 -1
- package/es/usePopupAnimation-e2e6a2ca.js +0 -85
- package/es/usePopupAnimation-e2e6a2ca.js.map +0 -1
- package/es/usePrefixSuffix-435a9c59.js +0 -70
- package/es/usePrefixSuffix-435a9c59.js.map +0 -1
- package/es/useReorderableItem-96616318.js +0 -268
- package/es/useReorderableItem-96616318.js.map +0 -1
- package/es/useRovingTabIndexContainer-9afe3ee0.js +0 -98
- package/es/useRovingTabIndexContainer-9afe3ee0.js.map +0 -1
- package/es/useScale-c86ecc6e.js +0 -19
- package/es/useScale-c86ecc6e.js.map +0 -1
- package/es/useSelectCommon-1dafa6f9.js +0 -686
- package/es/useSelectCommon-1dafa6f9.js.map +0 -1
- package/es/useSelectDrill-24264e6b.js +0 -103
- package/es/useSelectDrill-24264e6b.js.map +0 -1
- package/es/useSelection-1b256f77.js +0 -185
- package/es/useSelection-1b256f77.js.map +0 -1
- package/es/useSelection-879c64aa.js +0 -239
- package/es/useSelection-879c64aa.js.map +0 -1
- package/es/useTestId-3bc3958c.js +0 -21
- package/es/useTestId-3bc3958c.js.map +0 -1
- package/es/useTheme-4b0f211c.js +0 -19
- package/es/useTheme-4b0f211c.js.map +0 -1
- package/es/useThemeInterpolations-8bee52ac.js +0 -57
- package/es/useThemeInterpolations-8bee52ac.js.map +0 -1
- package/es/useTooltip-98b6d3b5.js +0 -49
- package/es/useTooltip-98b6d3b5.js.map +0 -1
- package/es/useTooltipControlled-b565c75b.js +0 -368
- package/es/useTooltipControlled-b565c75b.js.map +0 -1
- package/es/useTranslationBundle-98df6291.js +0 -29
- package/es/useTranslationBundle-98df6291.js.map +0 -1
- package/es/useUser-a15426fc.js +0 -19
- package/es/useUser-a15426fc.js.map +0 -1
- package/es/useVisEvents-7d4753c4.js +0 -153
- package/es/useVisEvents-7d4753c4.js.map +0 -1
- package/es/withDirectionIcon-90d7c798.js +0 -14
- package/es/withDirectionIcon-90d7c798.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-bca8cf2d.js';
|
|
4
|
+
import { n as normalizePosition, r as reverseNormalizePosition } from './positionUtils-f26caad9.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-dad3f791.js.map
|