@oracle/oraclejet-preact 18.1.0 → 18.1.2
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-e560d08b.js +1 -1
- package/amd/BarChart-c0ba5b12.js +1 -1
- package/amd/BarGroup-b02506a8.js +1 -1
- package/amd/BaseButton-c6563bf2.js +1 -1
- package/amd/BaseCardView-e75594df.js +1 -1
- package/amd/BaseCardViewSelectionTest-b3d54b34.js +2 -0
- package/amd/BaseCardViewSelectionTest-b3d54b34.js.map +1 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js +2 -0
- package/amd/BaseNavigationListItem-f2b9ae77.js.map +1 -0
- package/amd/BaseRichSelection-65bb6f89.js +1 -1
- package/amd/ButtonSet-3459b0e6.js +1 -1
- package/amd/ButtonSetIconButton-5b13a4c9.js +1 -1
- package/amd/Card-8fd9b2c8.js +2 -0
- package/amd/Card-8fd9b2c8.js.map +1 -0
- package/amd/Center-567b111f.js +2 -0
- package/amd/Center-567b111f.js.map +1 -0
- package/amd/Chart-c3a5a93d.js +1 -1
- package/amd/CheckboxControl-f3a606fe.js +1 -1
- package/amd/CheckboxRadioField-48d4dc4e.js +1 -1
- package/amd/Chip-e007a488.js +1 -1
- package/amd/ClearIcon-d0412ffa.js +1 -1
- package/amd/CollapseIcon-6d62b080.js +1 -1
- package/amd/Collapsible-8608500c.js +1 -1
- package/amd/ComboChart-cec2713a.js +1 -1
- package/amd/CompactHelpSource-e5b889f6.js +1 -1
- package/amd/CompactLabelAssistance-cd404d92.js +2 -0
- package/amd/CompactLabelAssistance-cd404d92.js.map +1 -0
- package/amd/CompactUserAssistance-eb849bc5.js +1 -1
- package/amd/ComponentMessageContainer-8198785a.js +1 -1
- package/amd/ConveyorBeltItem-297444a1.js +1 -1
- package/amd/DatePicker-e0e728f9.js +2 -0
- package/amd/DatePicker-e0e728f9.js.map +1 -0
- package/amd/DatePickerHeader-1f419e06.js +1 -1
- package/amd/Diagram-eb0ab8fb.js +2 -0
- package/amd/Diagram-eb0ab8fb.js.map +1 -0
- package/amd/Dialog-cd6713a4.js +2 -0
- package/amd/Dialog-cd6713a4.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-58352e0f.js +1 -1
- package/amd/DirectionalExpandArrowIcon-56420acb.js +1 -1
- package/amd/DragHandle-0798a29c.js +2 -0
- package/amd/DragHandle-0798a29c.js.map +1 -0
- package/amd/DrawerPopup-439787de.js +2 -0
- package/amd/DrawerPopup-439787de.js.map +1 -0
- package/amd/Dropdown-fb803c67.js +2 -0
- package/amd/Dropdown-fb803c67.js.map +1 -0
- package/amd/EnvironmentProvider-d423bca9.js +2 -0
- package/amd/EnvironmentProvider-d423bca9.js.map +1 -0
- package/amd/ExpandableList-81f7f34d.js +1 -1
- package/amd/FilePicker-e0b7a348.js +1 -1
- package/amd/Flex-a208520e.js +2 -0
- package/amd/Flex-a208520e.js.map +1 -0
- package/amd/Floating-043a207a.js +2 -0
- package/amd/Floating-043a207a.js.map +1 -0
- package/amd/FormLayout-d7998ba5.js +1 -1
- package/amd/Gantt-a286e1a6.js +1 -1
- package/amd/Grid-3dd364a1.js +2 -0
- package/amd/Grid-3dd364a1.js.map +1 -0
- package/amd/Gridlines-3c00961a.js +2 -0
- package/amd/Gridlines-3c00961a.js.map +1 -0
- package/amd/GroupLoadingIndicator-6c6743b0.js +1 -1
- package/amd/HighlightText-b3c31e12.js +2 -0
- package/amd/HighlightText-b3c31e12.js.map +1 -0
- package/amd/Icon-906e4e3c.js +1 -1
- package/amd/IconButton-c2e5c1c5.js +1 -1
- package/amd/IconMenuButton-caf797c1.js +1 -1
- package/amd/IconProgressButton-d8c0c306.js +1 -1
- package/amd/IconSwitchButton-e6c5b20f.js +1 -1
- package/amd/IconToggleButton-e6c77f31.js +1 -1
- package/amd/IconUserAssistance-456f4b11.js +2 -0
- package/amd/IconUserAssistance-456f4b11.js.map +1 -0
- package/amd/Indexer-21549baf.js +1 -1
- package/amd/InlineHelpSource-80327d99.js +1 -1
- package/amd/InlineUserAssistance-d208ce7b.js +1 -1
- package/amd/InputDateMask-4157ef60.js +1 -1
- package/amd/InputDatePicker-84b302ea.js +2 -0
- package/amd/InputDatePicker-84b302ea.js.map +1 -0
- package/amd/InputPassword-868ad3bb.js +1 -1
- package/amd/InputText-2cd1e067.js +1 -1
- package/amd/Label-a53aabb9.js +1 -1
- package/amd/LabelValueLayout-6da5829a.js +1 -1
- package/amd/Layer-2ca542c2.js +2 -0
- package/amd/Layer-2ca542c2.js.map +1 -0
- package/amd/LayerHost-a36b1781.js +2 -0
- package/amd/LayerHost-a36b1781.js.map +1 -0
- package/amd/LayerManager-543c0bce.js +2 -0
- package/amd/LayerManager-543c0bce.js.map +1 -0
- package/amd/Legend-75b03ff3.js +1 -1
- package/amd/LineAreaChart-a6914d16.js +2 -0
- package/amd/LineAreaChart-a6914d16.js.map +1 -0
- package/amd/LineSeries-9ddf061e.js +2 -0
- package/amd/LineSeries-9ddf061e.js.map +1 -0
- package/amd/Link-ded379d9.js +1 -1
- package/amd/List-5797be06.js +1 -1
- package/amd/ListItemLayout-853acaaf.js +2 -0
- package/amd/ListItemLayout-853acaaf.js.map +1 -0
- package/amd/ListView-51898222.js +1 -1
- package/amd/LiveRegion-38fa0df8.js +2 -0
- package/amd/LiveRegion-38fa0df8.js.map +1 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js +2 -0
- package/amd/MaxLengthLiveRegion-40be44ee.js.map +1 -0
- package/amd/Menu-bdd771bf.js +1 -1
- package/amd/MenuButton-da59eed0.js +1 -1
- package/amd/MenuItem-dc85fcad.js +1 -1
- package/amd/Message-d34eaeb6.js +1 -1
- package/amd/MessageLayer-4d17f62f.js +2 -0
- package/amd/MessageLayer-4d17f62f.js.map +1 -0
- package/amd/MessageToast-39315d42.js +1 -1
- package/amd/MessagesManager-8af1b1ee.js +1 -1
- package/amd/MeterBar-10ec0c50.js +1 -1
- package/amd/MeterCircle-cce2cb51.js +1 -1
- package/amd/Modal-21aed044.js +2 -0
- package/amd/Modal-21aed044.js.map +1 -0
- package/amd/MonthView-d4c06203.js +2 -0
- package/amd/MonthView-d4c06203.js.map +1 -0
- package/amd/NavigationList-6ca9cfba.js +2 -0
- package/amd/NavigationList-6ca9cfba.js.map +1 -0
- package/amd/NavigationListItem-43b6130b.js +2 -0
- package/amd/NavigationListItem-43b6130b.js.map +1 -0
- package/amd/NumberInputText-66e2d7d1.js +1 -1
- package/amd/OverflowTabBar-127659f1.js +2 -0
- package/amd/OverflowTabBar-127659f1.js.map +1 -0
- package/amd/OverflowTabBarItem-5404d133.js +2 -0
- package/amd/OverflowTabBarItem-5404d133.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_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_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-952582dd.js +1 -1
- package/amd/PieChart-7826bf45.js +1 -1
- package/amd/Popup-92dfc51f.js +2 -0
- package/amd/Popup-92dfc51f.js.map +1 -0
- package/amd/ProgressBar-2087dde3.js +2 -0
- package/amd/ProgressBar-2087dde3.js.map +1 -0
- package/amd/ProgressButton-b830eead.js +1 -1
- package/amd/ProgressButtonLabelLayout-5404f190.js +1 -1
- package/amd/ProgressCircle-5709a095.js +2 -0
- package/amd/ProgressCircle-5709a095.js.map +1 -0
- package/amd/RadioItem-b159fce3.js +1 -1
- package/amd/RatingGauge-27c01e2c.js +1 -1
- package/amd/ReadonlyTextFieldInput-b8ee28da.js +1 -1
- package/amd/RemovableNavigationListItem-110f19ed.js +2 -0
- package/amd/RemovableNavigationListItem-110f19ed.js.map +1 -0
- package/amd/RemovableTabBarItem-3792c8fd.js +1 -1
- package/amd/ReorderableTabBar-d6720955.js +2 -0
- package/amd/ReorderableTabBar-d6720955.js.map +1 -0
- package/amd/RevealToggleIcon-e5bc966f.js +1 -1
- package/amd/ScatterChart-a7d49c89.js +2 -0
- package/amd/ScatterChart-a7d49c89.js.map +1 -0
- package/amd/SectionalLegend-e9c72ba8.js +1 -1
- package/amd/SectionedContent-5d5ff5b9.js +2 -0
- package/amd/SectionedContent-5d5ff5b9.js.map +1 -0
- package/amd/SelectMultiple-05de2e07.js +1 -1
- package/amd/SelectSingle-9e6bde58.js +1 -1
- package/amd/SelectionCard-977be789.js +2 -0
- package/amd/SelectionCard-977be789.js.map +1 -0
- package/amd/Selector-b67fe1ef.js +1 -1
- package/amd/SelectorAll-face9708.js +2 -0
- package/amd/SelectorAll-face9708.js.map +1 -0
- package/amd/Sheet-23307184.js +2 -0
- package/amd/Sheet-23307184.js.map +1 -0
- package/amd/SplitMenuButton-8d873373.js +1 -1
- package/amd/StyledCard-5c9cee13.js +2 -0
- package/amd/StyledCard-5c9cee13.js.map +1 -0
- package/amd/StyledLabelValueLayout-ddf48667.js +2 -0
- package/amd/StyledLabelValueLayout-ddf48667.js.map +1 -0
- package/amd/StyledTextField-3398bf94.js +1 -1
- package/amd/TabBar-3a35b525.js +2 -0
- package/amd/TabBar-3a35b525.js.map +1 -0
- package/amd/TabBarItem-04031938.js +1 -1
- package/amd/TabBarLayout-de1e43f5.js +1 -1
- package/amd/TabBarMixed-28b62328.js +2 -0
- package/amd/TabBarMixed-28b62328.js.map +1 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js +2 -0
- package/amd/TabBarMixedSeparator-bd0668c3.js.map +1 -0
- package/amd/Table-d8edded4.js +1 -1
- package/amd/TagCloud-057fa603.js +1 -1
- package/amd/TextArea-8dcf6809.js +1 -1
- package/amd/TextAreaAutosize-97aba344.js +1 -1
- package/amd/TextField-80908a0d.js +1 -1
- package/amd/TextFieldInput-ca306ad6.js +1 -1
- package/amd/Theme-redwood/theme.css +249 -249
- package/amd/Theme-stable/theme.css +369 -369
- package/amd/TimeComponentCanvas2D-9a091053.js +1 -1
- package/amd/Toolbar-250d0ce7.js +1 -1
- package/amd/TruncatingBadge-6c7674e0.js +1 -1
- package/amd/TruncatingText-24914f42.js +1 -1
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_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_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-e15784b7.js +2 -0
- package/amd/View-e15784b7.js.map +1 -0
- package/amd/VisNoData-ac5880b9.js +2 -0
- package/amd/VisNoData-ac5880b9.js.map +1 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js +2 -0
- package/amd/VisProgressiveLoader-01e7a1a8.js.map +1 -0
- package/amd/VisTabularDatatip-8e572ce2.js +2 -0
- package/amd/VisTabularDatatip-8e572ce2.js.map +1 -0
- package/amd/WindowOverlay-3d31f35a.js +2 -0
- package/amd/WindowOverlay-3d31f35a.js.map +1 -0
- package/amd/YearsGridView-f7ae554d.js +2 -0
- package/amd/YearsGridView-f7ae554d.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_useTooltipOnTruncation.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-191c944d.js +2 -0
- package/amd/index-191c944d.js.map +1 -0
- package/amd/listViewSelectionTests-338c9a81.js +1 -1
- package/amd/popupUtils-2308a848.js +2 -0
- package/amd/popupUtils-2308a848.js.map +1 -0
- package/amd/render-436a0489.js +2 -0
- package/amd/render-436a0489.js.map +1 -0
- package/amd/tabbableUtils-dcf7c977.js +2 -0
- package/amd/tabbableUtils-dcf7c977.js.map +1 -0
- package/amd/testData-69541e84.js +2 -0
- package/amd/testData-69541e84.js.map +1 -0
- package/amd/tooltipUtils-cf586837.js +2 -0
- package/amd/tooltipUtils-cf586837.js.map +1 -0
- package/amd/useCellNavigation-dcf1584f.js +1 -1
- package/amd/useChartContextMenu-79ff2c41.js +1 -1
- package/amd/useChartDatatip-f3574090.js +2 -0
- package/amd/useChartDatatip-f3574090.js.map +1 -0
- package/amd/useColorScheme-47c8be99.js +2 -0
- package/amd/useColorScheme-47c8be99.js.map +1 -0
- package/amd/useContextMenu-599ada89.js +1 -1
- package/amd/useCssVars-0b95ef7d.js +2 -0
- package/amd/useCssVars-0b95ef7d.js.map +1 -0
- package/amd/useCurrentBgColor-7e1d99fb.js +2 -0
- package/amd/useCurrentBgColor-7e1d99fb.js.map +1 -0
- package/amd/useCurrentKey-6e7057d0.js +2 -0
- package/amd/useCurrentKey-6e7057d0.js.map +1 -0
- package/amd/useDatatip-0c425460.js +2 -0
- package/amd/useDatatip-0c425460.js.map +1 -0
- package/amd/useDensity-5cfdc56a.js +2 -0
- package/amd/useDensity-5cfdc56a.js.map +1 -0
- package/amd/useFloating-3f7a017b.js +2 -0
- package/amd/useFloating-3f7a017b.js.map +1 -0
- package/amd/useKeyboardEvents-f1abb59c.js +2 -0
- package/amd/useKeyboardEvents-f1abb59c.js.map +1 -0
- package/amd/useLegendContextMenu-e050a6ec.js +1 -1
- package/amd/useMeterDatatip-d4ac4181.js +2 -0
- package/amd/useMeterDatatip-d4ac4181.js.map +1 -0
- package/amd/useNavigationListItem-d79484b7.js +2 -0
- package/amd/useNavigationListItem-d79484b7.js.map +1 -0
- package/amd/useOutsideClick-fc4dc457.js +2 -0
- package/amd/useOutsideClick-fc4dc457.js.map +1 -0
- package/amd/usePopupAnimation-b6303252.js +2 -0
- package/amd/usePopupAnimation-b6303252.js.map +1 -0
- package/amd/usePrefixSuffix-582e16a2.js +2 -0
- package/amd/usePrefixSuffix-582e16a2.js.map +1 -0
- package/amd/useReorderableItem-fd5a7b07.js +2 -0
- package/amd/useReorderableItem-fd5a7b07.js.map +1 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js +2 -0
- package/amd/useRovingTabIndexContainer-f72b17ab.js.map +1 -0
- package/amd/useScale-b2f29348.js +2 -0
- package/amd/useScale-b2f29348.js.map +1 -0
- package/amd/useSelectCommon-736de0ee.js +1 -1
- package/amd/useSelectDrill-6b0b6da7.js +2 -0
- package/amd/useSelectDrill-6b0b6da7.js.map +1 -0
- package/amd/useSelection-02c4c0c0.js +2 -0
- package/amd/useSelection-02c4c0c0.js.map +1 -0
- package/amd/useSelection-5128f1e7.js +2 -0
- package/amd/useSelection-5128f1e7.js.map +1 -0
- package/amd/useTabBar-b1536c9a.js +1 -1
- package/amd/useTestId-efb1c8f9.js +2 -0
- package/amd/useTestId-efb1c8f9.js.map +1 -0
- package/amd/useTheme-a99513fe.js +2 -0
- package/amd/useTheme-a99513fe.js.map +1 -0
- package/amd/useThemeInterpolations-93c8c4c0.js +2 -0
- package/amd/useThemeInterpolations-93c8c4c0.js.map +1 -0
- package/amd/useTooltip-c10bcc4e.js +2 -0
- package/amd/useTooltip-c10bcc4e.js.map +1 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js +2 -0
- package/amd/useTooltipOnTruncation-a913ba8a.js.map +1 -0
- package/amd/useTranslationBundle-33399171.js +2 -0
- package/amd/useTranslationBundle-33399171.js.map +1 -0
- package/amd/useUser-33136570.js +2 -0
- package/amd/useUser-33136570.js.map +1 -0
- package/amd/useVisDragModeControls-120076e9.js +1 -1
- package/amd/useVisEvents-bc470edf.js +2 -0
- package/amd/useVisEvents-bc470edf.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/utils/UNSAFE_popupUtils.js +1 -1
- package/amd/withDirectionIcon-56788c71.js +2 -0
- package/amd/withDirectionIcon-56788c71.js.map +1 -0
- package/amd/withThemeProps-5ba8f3bc.js +1 -1
- package/cjs/BaseCardView-dc51267e.js +687 -0
- package/cjs/BaseCardView-dc51267e.js.map +1 -0
- package/cjs/CardFlexView-9393e48c.js +29 -0
- package/cjs/CardFlexView-9393e48c.js.map +1 -0
- package/cjs/CardGridView-e796ff9d.js +17 -0
- package/cjs/CardGridView-e796ff9d.js.map +1 -0
- package/cjs/CheckboxSetContext-c62db26d.js +12 -0
- package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
- package/cjs/ExpandableList-2182c2f3.js +1 -1
- package/cjs/GroupLoadingIndicator-eea4bd1d.js +1 -1
- package/cjs/Indexer-034ba277.js +339 -0
- package/cjs/Indexer-034ba277.js.map +1 -0
- package/cjs/List-46cdf470.js +723 -0
- package/cjs/List-46cdf470.js.map +1 -0
- package/cjs/ListView-0ec2afbc.js +430 -0
- package/cjs/ListView-0ec2afbc.js.map +1 -0
- package/cjs/LoadMoreCollection-73112ff0.js +34 -0
- package/cjs/LoadMoreCollection-73112ff0.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +3 -3
- package/cjs/PRIVATE_List.js +4 -4
- package/cjs/PRIVATE_LoadMoreCollection.js +2 -2
- package/cjs/PRIVATE_SelectCommon.js +5 -5
- package/cjs/PRIVATE_Table.js +3 -3
- package/cjs/PRIVATE_VirtualizedCollection.js +2 -2
- package/cjs/SelectMultiple-f12df023.js +1299 -0
- package/cjs/SelectMultiple-f12df023.js.map +1 -0
- package/cjs/SelectSingle-244f066d.js +732 -0
- package/cjs/SelectSingle-244f066d.js.map +1 -0
- package/cjs/Table-687c28a1.js +5499 -0
- package/cjs/Table-687c28a1.js.map +1 -0
- package/cjs/TableView-8a2c3a0a.js +33 -0
- package/cjs/TableView-8a2c3a0a.js.map +1 -0
- package/cjs/TextArea-dcfbeab0.js +180 -0
- package/cjs/TextArea-dcfbeab0.js.map +1 -0
- package/cjs/TextAreaAutosize-fa21ae31.js +246 -0
- package/cjs/TextAreaAutosize-fa21ae31.js.map +1 -0
- package/cjs/Theme-redwood/theme.css +186 -186
- package/cjs/Theme-stable/theme.css +380 -380
- package/cjs/UNSAFE_CardFlexView.js +4 -4
- package/cjs/UNSAFE_CardGridView.js +4 -4
- package/cjs/UNSAFE_CheckboxItem.js +30 -82
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +44 -15
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_ExpandableList.js +3 -3
- package/cjs/UNSAFE_Indexer.js +2 -2
- package/cjs/UNSAFE_ListView.js +5 -5
- package/cjs/UNSAFE_RichCheckboxSet.js +26 -29
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichSelectionItem.js +46 -184
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_SelectMultiple.js +6 -6
- package/cjs/UNSAFE_SelectSingle.js +6 -6
- package/cjs/UNSAFE_TableView.js +4 -4
- package/cjs/UNSAFE_TextArea.js +3 -4
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/UNSAFE_VirtualizedListView.js +5 -5
- package/cjs/VirtualizedCollection-00aedb8b.js +180 -0
- package/cjs/VirtualizedCollection-00aedb8b.js.map +1 -0
- package/cjs/VirtualizedListView-c5df76ea.js +16 -0
- package/cjs/VirtualizedListView-c5df76ea.js.map +1 -0
- package/cjs/useSelectCommon-a00fdf8e.js +709 -0
- package/cjs/useSelectCommon-a00fdf8e.js.map +1 -0
- package/es/ActionCard-9f4e3613.js +1 -1
- package/es/BarChart-49c7f6bb.js +179 -0
- package/es/BarChart-49c7f6bb.js.map +1 -0
- package/es/BarGroup-ac152c88.js +1 -1
- package/es/BaseButton-b5fc41a8.js +2 -2
- package/es/BaseCardView-5e0a327f.js +683 -0
- package/es/BaseCardView-5e0a327f.js.map +1 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js +721 -0
- package/es/BaseCardViewSelectionTest-b3b001e6.js.map +1 -0
- package/es/BaseNavigationListItem-44157da8.js +1 -1
- package/es/BaseRichSelection-908a6bc3.js +9 -9
- package/es/ButtonSet-474e170e.js +2 -2
- package/es/ButtonSetIconButton-34b24ad4.js +3 -3
- package/es/Card-31a1cb19.js +15 -0
- package/es/Card-31a1cb19.js.map +1 -0
- package/es/CardFlexView-36492791.js +27 -0
- package/es/CardFlexView-36492791.js.map +1 -0
- package/es/CardGridView-64f31130.js +15 -0
- package/es/CardGridView-64f31130.js.map +1 -0
- package/es/Center-903e6ea1.js +16 -0
- package/es/Center-903e6ea1.js.map +1 -0
- package/es/Chart-649fdf1c.js +491 -0
- package/es/Chart-649fdf1c.js.map +1 -0
- package/es/CheckboxControl-1e686657.js +6 -6
- package/es/CheckboxRadioField-201ef340.js +7 -7
- package/es/Chip-9540ef60.js +1 -1
- package/es/ClearIcon-215c5c34.js +1 -1
- package/es/CollapseIcon-43663109.js +1 -1
- package/es/Collapsible-757eaed6.js +2 -2
- package/es/ComboChart-8ca6f857.js +172 -0
- package/es/ComboChart-8ca6f857.js.map +1 -0
- package/es/CompactHelpSource-20f20c17.js +2 -2
- package/es/CompactLabelAssistance-d92b17d1.js +34 -0
- package/es/CompactLabelAssistance-d92b17d1.js.map +1 -0
- package/es/CompactUserAssistance-c2fafab0.js +4 -4
- package/es/ComponentMessageContainer-a06ceb16.js +4 -4
- package/es/ConveyorBeltItem-2a7cfd15.js +2 -2
- package/es/DatePicker-2838c573.js +564 -0
- package/es/DatePicker-2838c573.js.map +1 -0
- package/es/DatePickerHeader-151355b3.js +3 -3
- package/es/Diagram-7236c495.js +2035 -0
- package/es/Diagram-7236c495.js.map +1 -0
- package/es/Dialog-4a0cb90c.js +344 -0
- package/es/Dialog-4a0cb90c.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-24020989.js +1 -1
- package/es/DirectionalExpandArrowIcon-28f288ca.js +1 -1
- package/es/DragHandle-f9b35377.js +22 -0
- package/es/DragHandle-f9b35377.js.map +1 -0
- package/es/DrawerPopup-dd60ef68.js +381 -0
- package/es/DrawerPopup-dd60ef68.js.map +1 -0
- package/es/Dropdown-ab7ecd4b.js +80 -0
- package/es/Dropdown-ab7ecd4b.js.map +1 -0
- package/es/EnvironmentProvider-1580c879.js +58 -0
- package/es/EnvironmentProvider-1580c879.js.map +1 -0
- package/es/ExpandableList-84f08709.js +4 -4
- package/es/FilePicker-74669308.js +2 -2
- package/es/Flex-ba379500.js +30 -0
- package/es/Flex-ba379500.js.map +1 -0
- package/es/Floating-94a06a14.js +462 -0
- package/es/Floating-94a06a14.js.map +1 -0
- package/es/FormLayout-2fba104e.js +1 -1
- package/es/Gantt-f95290cd.js +9 -9
- package/es/Grid-48e5c78c.js +27 -0
- package/es/Grid-48e5c78c.js.map +1 -0
- package/es/Gridlines-bb3b92f4.js +168 -0
- package/es/Gridlines-bb3b92f4.js.map +1 -0
- package/es/GroupLoadingIndicator-2a294121.js +2 -2
- package/es/HighlightText-a2f81a44.js +31 -0
- package/es/HighlightText-a2f81a44.js.map +1 -0
- package/es/Icon-43d05084.js +3 -3
- package/es/IconButton-b78b5ace.js +3 -3
- package/es/IconMenuButton-441b34f8.js +3 -3
- package/es/IconProgressButton-cb75faa2.js +3 -3
- package/es/IconSwitchButton-4febde18.js +3 -3
- package/es/IconToggleButton-299d5d98.js +3 -3
- package/es/IconUserAssistance-264032b1.js +73 -0
- package/es/IconUserAssistance-264032b1.js.map +1 -0
- package/es/Indexer-6c39ddf3.js +336 -0
- package/es/Indexer-6c39ddf3.js.map +1 -0
- package/es/InlineHelpSource-e0c901ba.js +1 -1
- package/es/InlineUserAssistance-9b70db5b.js +5 -5
- package/es/InputDateMask-0b2a46b5.js +7 -7
- package/es/InputDatePicker-60465b12.js +8 -8
- package/es/InputPassword-106c544f.js +4 -4
- package/es/InputText-2bf2ce27.js +6 -6
- package/es/Label-4503b935.js +5 -5
- package/es/LabelValueLayout-fa08943c.js +1 -1
- package/es/Layer-d4aca92e.js +91 -0
- package/es/Layer-d4aca92e.js.map +1 -0
- package/es/LayerHost-f7ef254c.js +40 -0
- package/es/LayerHost-f7ef254c.js.map +1 -0
- package/es/LayerManager-4ad387dc.js +34 -0
- package/es/LayerManager-4ad387dc.js.map +1 -0
- package/es/Legend-449e7201.js +3 -3
- package/es/LineAreaChart-9a46dce5.js +170 -0
- package/es/LineAreaChart-9a46dce5.js.map +1 -0
- package/es/LineSeries-e71ae377.js +109 -0
- package/es/LineSeries-e71ae377.js.map +1 -0
- package/es/Link-9803ca5b.js +1 -1
- package/es/List-da0ce081.js +718 -0
- package/es/List-da0ce081.js.map +1 -0
- package/es/ListItemLayout-1207112f.js +110 -0
- package/es/ListItemLayout-1207112f.js.map +1 -0
- package/es/ListView-5cada8e6.js +428 -0
- package/es/ListView-5cada8e6.js.map +1 -0
- package/es/LiveRegion-d9f2bbdb.js +39 -0
- package/es/LiveRegion-d9f2bbdb.js.map +1 -0
- package/es/LoadMoreCollection-95a49d2a.js +31 -0
- package/es/LoadMoreCollection-95a49d2a.js.map +1 -0
- package/es/MaxLengthLiveRegion-db713260.js +23 -0
- package/es/MaxLengthLiveRegion-db713260.js.map +1 -0
- package/es/Menu-aa21f75f.js +6 -6
- package/es/MenuButton-fe7e2d06.js +2 -2
- package/es/MenuItem-01343558.js +1 -1
- package/es/Message-98038159.js +2 -2
- package/es/MessageLayer-7650c582.js +58 -0
- package/es/MessageLayer-7650c582.js.map +1 -0
- package/es/MessageToast-2b7922be.js +8 -8
- package/es/MessagesManager-9efc5d44.js +3 -3
- package/es/MeterBar-1319327c.js +5 -5
- package/es/MeterCircle-b52c28b1.js +5 -5
- package/es/Modal-7efd2f81.js +274 -0
- package/es/Modal-7efd2f81.js.map +1 -0
- package/es/MonthView-df043775.js +208 -0
- package/es/MonthView-df043775.js.map +1 -0
- package/es/NavigationListItem-bdf7a2ab.js +5 -5
- package/es/NumberInputText-c71b0b51.js +6 -6
- package/es/OverflowTabBarItem-b643a574.js +3 -3
- package/es/PRIVATE_BaseCardView.js +24 -24
- package/es/PRIVATE_Chart.js +35 -35
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +25 -25
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +15 -15
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/DragV.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +23 -23
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +18 -18
- 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 +16 -16
- package/es/PRIVATE_RichSelectionCommon.js +26 -26
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +27 -27
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +17 -17
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +15 -15
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-b3fc22fd.js +6 -6
- package/es/PieChart-b54696a5.js +6 -6
- package/es/Popup-67ec4db2.js +258 -0
- package/es/Popup-67ec4db2.js.map +1 -0
- package/es/ProgressBar-cad7d04b.js +62 -0
- package/es/ProgressBar-cad7d04b.js.map +1 -0
- package/es/ProgressButton-40c3b504.js +3 -3
- package/es/ProgressButtonLabelLayout-8c64cece.js +3 -3
- package/es/ProgressCircle-7d883146.js +48 -0
- package/es/ProgressCircle-7d883146.js.map +1 -0
- package/es/RadioItem-a1599b77.js +6 -6
- package/es/RatingGauge-6c13b141.js +8 -8
- package/es/ReadonlyTextFieldInput-d6b1fac1.js +1 -1
- package/es/RemovableNavigationListItem-84fad399.js +1 -1
- package/es/RemovableTabBarItem-42735820.js +2 -2
- package/es/ReorderableTabBar-1b2c9ebe.js +3 -3
- package/es/RevealToggleIcon-abf5f233.js +1 -1
- package/es/ScatterChart-59c7f1d7.js +103 -0
- package/es/ScatterChart-59c7f1d7.js.map +1 -0
- package/es/SectionalLegend-fb0128ae.js +4 -4
- package/es/SectionedContent-db1b2e44.js +64 -0
- package/es/SectionedContent-db1b2e44.js.map +1 -0
- package/es/SegmentStyles.styles.css +11 -8
- package/es/SegmentStyles.styles2.css +8 -11
- package/es/SelectMultiple-48af2264.js +1297 -0
- package/es/SelectMultiple-48af2264.js.map +1 -0
- package/es/SelectSingle-56ff2907.js +730 -0
- package/es/SelectSingle-56ff2907.js.map +1 -0
- package/es/SelectionCard-f4e6f6f4.js +16 -0
- package/es/SelectionCard-f4e6f6f4.js.map +1 -0
- package/es/Selector-cc435916.js +1 -1
- package/es/SelectorAll-fb5a5a47.js +69 -0
- package/es/SelectorAll-fb5a5a47.js.map +1 -0
- package/es/Sheet-2d9c641b.js +158 -0
- package/es/Sheet-2d9c641b.js.map +1 -0
- package/es/SplitMenuButton-1c556d1d.js +2 -2
- package/es/StyledCard-75bcdad7.js +105 -0
- package/es/StyledCard-75bcdad7.js.map +1 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js +18 -0
- package/es/StyledLabelValueLayout-1b0b4a96.js.map +1 -0
- package/es/StyledTextField-21e8afef.js +3 -3
- package/es/TabBar-ef456a2c.js +5 -5
- package/es/TabBarItem-af8b903f.js +3 -3
- package/es/TabBarLayout-d7d27c34.js +1 -1
- package/es/TabBarMixed-71314dd9.js +5 -5
- package/es/TabBarMixedSeparator-1aacc254.js +19 -0
- package/es/TabBarMixedSeparator-1aacc254.js.map +1 -0
- package/es/Table-895c20ae.js +5497 -0
- package/es/Table-895c20ae.js.map +1 -0
- package/es/TableView-7eaa6c96.js +31 -0
- package/es/TableView-7eaa6c96.js.map +1 -0
- package/es/TagCloud-ed095030.js +8 -8
- package/es/TextArea-f411ff47.js +177 -0
- package/es/TextArea-f411ff47.js.map +1 -0
- package/es/TextAreaAutosize-163b776f.js +244 -0
- package/es/TextAreaAutosize-163b776f.js.map +1 -0
- package/es/TextField-28d425d6.js +3 -3
- package/es/TextFieldInput-c9239b1e.js +1 -1
- package/es/Theme-redwood/theme.css +488 -488
- package/es/Theme-stable/theme.css +316 -316
- package/es/TimeComponentCanvas2D-70d21419.js +5 -5
- package/es/Toolbar-4fe755d3.js +1 -1
- package/es/TruncatingBadge-a6ead29d.js +1 -1
- package/es/TruncatingText-107fcc48.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/es/UNSAFE_BarChart.js +36 -36
- 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 +15 -15
- package/es/UNSAFE_ButtonSetItem.js +15 -15
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +25 -25
- package/es/UNSAFE_CardGridView.js +25 -25
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +23 -23
- package/es/UNSAFE_CheckboxSet.js +24 -24
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +20 -20
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +13 -13
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +25 -25
- 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 +22 -22
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +15 -15
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +15 -15
- package/es/UNSAFE_Indexer.js +8 -8
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +26 -26
- package/es/UNSAFE_InputDatePicker.js +34 -34
- package/es/UNSAFE_InputPassword.js +24 -24
- package/es/UNSAFE_InputSensitiveText.js +26 -26
- package/es/UNSAFE_InputText.js +27 -27
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +26 -26
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +25 -25
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +38 -38
- 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 +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +9 -9
- package/es/UNSAFE_NavigationList.js +19 -19
- package/es/UNSAFE_NavigationListCommon.js +17 -17
- package/es/UNSAFE_NumberInputText.js +26 -26
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
- package/es/UNSAFE_PieChart.js +22 -22
- package/es/UNSAFE_Popup.js +17 -17
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +18 -18
- 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 +24 -24
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +25 -25
- package/es/UNSAFE_RichCheckboxSet.js +26 -26
- package/es/UNSAFE_RichRadioSet.js +26 -26
- package/es/UNSAFE_RichSelectionItem.js +20 -20
- package/es/UNSAFE_ScatterChart.js +38 -38
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +37 -37
- package/es/UNSAFE_SelectSingle.js +37 -37
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +15 -15
- package/es/UNSAFE_Sheet.js +12 -12
- 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 +24 -24
- package/es/UNSAFE_TextArea.js +28 -29
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +29 -29
- package/es/UNSAFE_TextField.js +8 -8
- 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 +16 -16
- package/es/UNSAFE_TruncatingBadge.js +16 -16
- package/es/UNSAFE_TruncatingText.js +16 -16
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +24 -24
- 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-79162397.js +167 -0
- package/es/View-79162397.js.map +1 -0
- package/es/VirtualizedCollection-e73890a1.js +176 -0
- package/es/VirtualizedCollection-e73890a1.js.map +1 -0
- package/es/VirtualizedListView-d9cb25e1.js +14 -0
- package/es/VirtualizedListView-d9cb25e1.js.map +1 -0
- package/es/VisNoData-f70e7c57.js +32 -0
- package/es/VisNoData-f70e7c57.js.map +1 -0
- package/es/VisProgressiveLoader-4fe41bcb.js +51 -0
- package/es/VisProgressiveLoader-4fe41bcb.js.map +1 -0
- package/es/VisTabularDatatip-24b65098.js +24 -0
- package/es/VisTabularDatatip-24b65098.js.map +1 -0
- package/es/WindowOverlay-8fbe3e1c.js +110 -0
- package/es/WindowOverlay-8fbe3e1c.js.map +1 -0
- package/es/YearsGridView-52c0d22c.js +187 -0
- package/es/YearsGridView-52c0d22c.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 +21 -21
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +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_useTooltipOnTruncation.js +16 -16
- package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +17 -17
- 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 +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-5d0fe60d.js +11 -0
- package/es/index-5d0fe60d.js.map +1 -0
- package/es/listViewSelectionTests-cd66d645.js +3 -3
- package/es/popupUtils-a7caf5e4.js +29 -0
- package/es/popupUtils-a7caf5e4.js.map +1 -0
- package/es/render-c7ce760e.js +34 -0
- package/es/render-c7ce760e.js.map +1 -0
- package/es/tabbableUtils-b22dbd92.js +79 -0
- package/es/tabbableUtils-b22dbd92.js.map +1 -0
- package/es/testData-a52937d8.js +256 -0
- package/es/testData-a52937d8.js.map +1 -0
- package/es/tooltipUtils-179de68d.js +93 -0
- package/es/tooltipUtils-179de68d.js.map +1 -0
- package/es/useCellNavigation-1a33b90e.js +1 -1
- package/es/useChartContextMenu-bedf2f88.js +2 -2
- package/es/useChartDatatip-652d9595.js +165 -0
- package/es/useChartDatatip-652d9595.js.map +1 -0
- package/es/useColorScheme-4414c0b2.js +19 -0
- package/es/useColorScheme-4414c0b2.js.map +1 -0
- package/es/useContextMenu-006e82dd.js +2 -2
- package/es/useCssVars-0788f28c.js +58 -0
- package/es/useCssVars-0788f28c.js.map +1 -0
- package/es/useCurrentBgColor-cc39a2b0.js +19 -0
- package/es/useCurrentBgColor-cc39a2b0.js.map +1 -0
- package/es/useCurrentKey-b88513bf.js +81 -0
- package/es/useCurrentKey-b88513bf.js.map +1 -0
- package/es/useDatatip-f80a8b4e.js +90 -0
- package/es/useDatatip-f80a8b4e.js.map +1 -0
- package/es/useDensity-575ebaf2.js +19 -0
- package/es/useDensity-575ebaf2.js.map +1 -0
- package/es/useFloating-85ac3a8e.js +1916 -0
- package/es/useFloating-85ac3a8e.js.map +1 -0
- package/es/useKeyboardEvents-8d2a44b1.js +78 -0
- package/es/useKeyboardEvents-8d2a44b1.js.map +1 -0
- package/es/useLegendContextMenu-30eaa291.js +4 -4
- package/es/useMeterDatatip-ea50f0f1.js +73 -0
- package/es/useMeterDatatip-ea50f0f1.js.map +1 -0
- package/es/useOutsideClick-866db9b2.js +101 -0
- package/es/useOutsideClick-866db9b2.js.map +1 -0
- package/es/usePopupAnimation-93950404.js +85 -0
- package/es/usePopupAnimation-93950404.js.map +1 -0
- package/es/usePrefixSuffix-2741adb3.js +70 -0
- package/es/usePrefixSuffix-2741adb3.js.map +1 -0
- package/es/useReorderableItem-2a361fd4.js +268 -0
- package/es/useReorderableItem-2a361fd4.js.map +1 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js +98 -0
- package/es/useRovingTabIndexContainer-7b1d563b.js.map +1 -0
- package/es/useScale-54f14cdc.js +19 -0
- package/es/useScale-54f14cdc.js.map +1 -0
- package/es/useSelectCommon-b5028a6e.js +686 -0
- package/es/useSelectCommon-b5028a6e.js.map +1 -0
- package/es/useSelectDrill-9f0f793e.js +104 -0
- package/es/useSelectDrill-9f0f793e.js.map +1 -0
- package/es/useSelection-3c8cd738.js +239 -0
- package/es/useSelection-3c8cd738.js.map +1 -0
- package/es/useSelection-82fe842d.js +186 -0
- package/es/useSelection-82fe842d.js.map +1 -0
- package/es/useTabBar-d9412667.js +1 -1
- package/es/useTestId-8b32167f.js +21 -0
- package/es/useTestId-8b32167f.js.map +1 -0
- package/es/useTheme-858b119b.js +19 -0
- package/es/useTheme-858b119b.js.map +1 -0
- package/es/useThemeInterpolations-2531ab6d.js +57 -0
- package/es/useThemeInterpolations-2531ab6d.js.map +1 -0
- package/es/useTooltip-0a3e4842.js +424 -0
- package/es/useTooltip-0a3e4842.js.map +1 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js +27 -0
- package/es/useTooltipOnTruncation-f5d75b1b.js.map +1 -0
- package/es/useTranslationBundle-0dff3ab2.js +29 -0
- package/es/useTranslationBundle-0dff3ab2.js.map +1 -0
- package/es/useUser-6a7f6df3.js +19 -0
- package/es/useUser-6a7f6df3.js.map +1 -0
- package/es/useVisDragModeControls-13a8e826.js +1 -1
- package/es/useVisEvents-8d888727.js +153 -0
- package/es/useVisEvents-8d888727.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/withDirectionIcon-938d7cdf.js +14 -0
- package/es/withDirectionIcon-938d7cdf.js.map +1 -0
- package/es/withThemeProps-49e8a2b5.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js +0 -2
- package/amd/BaseCardViewSelectionTest-e0356b8b.js.map +0 -1
- package/amd/BaseNavigationListItem-ef8bf611.js +0 -2
- package/amd/BaseNavigationListItem-ef8bf611.js.map +0 -1
- package/amd/Card-7acfbca5.js +0 -2
- package/amd/Card-7acfbca5.js.map +0 -1
- package/amd/Center-5d2e4d34.js +0 -2
- package/amd/Center-5d2e4d34.js.map +0 -1
- package/amd/CompactLabelAssistance-82361ea6.js +0 -2
- package/amd/CompactLabelAssistance-82361ea6.js.map +0 -1
- package/amd/DatePicker-20e9a255.js +0 -2
- package/amd/DatePicker-20e9a255.js.map +0 -1
- package/amd/Diagram-03be2ca5.js +0 -2
- package/amd/Diagram-03be2ca5.js.map +0 -1
- package/amd/Dialog-dc55a669.js +0 -2
- package/amd/Dialog-dc55a669.js.map +0 -1
- package/amd/DragHandle-d89ea5fd.js +0 -2
- package/amd/DragHandle-d89ea5fd.js.map +0 -1
- package/amd/DrawerPopup-772c8c22.js +0 -2
- package/amd/DrawerPopup-772c8c22.js.map +0 -1
- package/amd/Dropdown-37339c89.js +0 -2
- package/amd/Dropdown-37339c89.js.map +0 -1
- package/amd/EnvironmentProvider-4597f540.js +0 -2
- package/amd/EnvironmentProvider-4597f540.js.map +0 -1
- package/amd/Flex-69dc7af4.js +0 -2
- package/amd/Flex-69dc7af4.js.map +0 -1
- package/amd/Floating-28ad0903.js +0 -2
- package/amd/Floating-28ad0903.js.map +0 -1
- package/amd/Grid-49beb801.js +0 -2
- package/amd/Grid-49beb801.js.map +0 -1
- package/amd/Gridlines-9ec65953.js +0 -2
- package/amd/Gridlines-9ec65953.js.map +0 -1
- package/amd/HighlightText-b020d84d.js +0 -2
- package/amd/HighlightText-b020d84d.js.map +0 -1
- package/amd/IconUserAssistance-b5075ca1.js +0 -2
- package/amd/IconUserAssistance-b5075ca1.js.map +0 -1
- package/amd/InputDatePicker-6af2a6a4.js +0 -2
- package/amd/InputDatePicker-6af2a6a4.js.map +0 -1
- package/amd/Layer-9fb9ca67.js +0 -2
- package/amd/Layer-9fb9ca67.js.map +0 -1
- package/amd/LayerHost-1b4d03f0.js +0 -2
- package/amd/LayerHost-1b4d03f0.js.map +0 -1
- package/amd/LayerManager-6c0b0eed.js +0 -2
- package/amd/LayerManager-6c0b0eed.js.map +0 -1
- package/amd/LineAreaChart-d6300aad.js +0 -2
- package/amd/LineAreaChart-d6300aad.js.map +0 -1
- package/amd/LineSeries-6b2d5fc5.js +0 -2
- package/amd/LineSeries-6b2d5fc5.js.map +0 -1
- package/amd/ListItemLayout-51e98343.js +0 -2
- package/amd/ListItemLayout-51e98343.js.map +0 -1
- package/amd/LiveRegion-345ac2a4.js +0 -2
- package/amd/LiveRegion-345ac2a4.js.map +0 -1
- package/amd/MaxLengthLiveRegion-7723b0df.js +0 -2
- package/amd/MaxLengthLiveRegion-7723b0df.js.map +0 -1
- package/amd/MessageLayer-4238a197.js +0 -2
- package/amd/MessageLayer-4238a197.js.map +0 -1
- package/amd/Modal-991f1310.js +0 -2
- package/amd/Modal-991f1310.js.map +0 -1
- package/amd/MonthView-1a60836e.js +0 -2
- package/amd/MonthView-1a60836e.js.map +0 -1
- package/amd/NavigationListItem-4a6857ae.js +0 -2
- package/amd/NavigationListItem-4a6857ae.js.map +0 -1
- package/amd/OverflowTabBar-d465fab5.js +0 -2
- package/amd/OverflowTabBar-d465fab5.js.map +0 -1
- package/amd/OverflowTabBarItem-e8bb4c0f.js +0 -2
- package/amd/OverflowTabBarItem-e8bb4c0f.js.map +0 -1
- package/amd/Popup-bba2ea15.js +0 -2
- package/amd/Popup-bba2ea15.js.map +0 -1
- package/amd/ProgressBar-4c24733e.js +0 -2
- package/amd/ProgressBar-4c24733e.js.map +0 -1
- package/amd/ProgressCircle-57ce7b94.js +0 -2
- package/amd/ProgressCircle-57ce7b94.js.map +0 -1
- package/amd/RemovableNavigationListItem-87e208e1.js +0 -2
- package/amd/RemovableNavigationListItem-87e208e1.js.map +0 -1
- package/amd/ReorderableTabBar-cdafd5b2.js +0 -2
- package/amd/ReorderableTabBar-cdafd5b2.js.map +0 -1
- package/amd/ScatterChart-de870222.js +0 -2
- package/amd/ScatterChart-de870222.js.map +0 -1
- package/amd/SectionedContent-d75017a3.js +0 -2
- package/amd/SectionedContent-d75017a3.js.map +0 -1
- package/amd/SelectionCard-baeadf9f.js +0 -2
- package/amd/SelectionCard-baeadf9f.js.map +0 -1
- package/amd/SelectorAll-344e3366.js +0 -2
- package/amd/SelectorAll-344e3366.js.map +0 -1
- package/amd/Sheet-f4665056.js +0 -2
- package/amd/Sheet-f4665056.js.map +0 -1
- package/amd/StyledCard-420ef03c.js +0 -2
- package/amd/StyledCard-420ef03c.js.map +0 -1
- package/amd/StyledLabelValueLayout-16380e6b.js +0 -2
- package/amd/StyledLabelValueLayout-16380e6b.js.map +0 -1
- package/amd/TabBar-8a0cbff2.js +0 -2
- package/amd/TabBar-8a0cbff2.js.map +0 -1
- package/amd/TabBarMixed-d4482b12.js +0 -2
- package/amd/TabBarMixed-d4482b12.js.map +0 -1
- package/amd/TabBarMixedSeparator-84722127.js +0 -2
- package/amd/TabBarMixedSeparator-84722127.js.map +0 -1
- package/amd/View-59fe568d.js +0 -2
- package/amd/View-59fe568d.js.map +0 -1
- package/amd/VisNoData-b60000bf.js +0 -2
- package/amd/VisNoData-b60000bf.js.map +0 -1
- package/amd/VisProgressiveLoader-c90f62c3.js +0 -2
- package/amd/VisProgressiveLoader-c90f62c3.js.map +0 -1
- package/amd/VisTabularDatatip-23cf3cfc.js +0 -2
- package/amd/VisTabularDatatip-23cf3cfc.js.map +0 -1
- package/amd/WindowOverlay-00523782.js +0 -2
- package/amd/WindowOverlay-00523782.js.map +0 -1
- package/amd/YearsGridView-b0b18b18.js +0 -2
- package/amd/YearsGridView-b0b18b18.js.map +0 -1
- package/amd/index-32a870a0.js +0 -2
- package/amd/index-32a870a0.js.map +0 -1
- package/amd/popupUtils-710dc910.js +0 -2
- package/amd/popupUtils-710dc910.js.map +0 -1
- package/amd/render-6d2dc229.js +0 -2
- package/amd/render-6d2dc229.js.map +0 -1
- package/amd/tabbableUtils-140cad66.js +0 -2
- package/amd/tabbableUtils-140cad66.js.map +0 -1
- package/amd/testData-bd34f137.js +0 -2
- package/amd/testData-bd34f137.js.map +0 -1
- package/amd/tooltipUtils-304eef18.js +0 -2
- package/amd/tooltipUtils-304eef18.js.map +0 -1
- package/amd/useChartDatatip-1f138781.js +0 -2
- package/amd/useChartDatatip-1f138781.js.map +0 -1
- package/amd/useColorScheme-8358a6c9.js +0 -2
- package/amd/useColorScheme-8358a6c9.js.map +0 -1
- package/amd/useCssVars-4d0eeaa3.js +0 -2
- package/amd/useCssVars-4d0eeaa3.js.map +0 -1
- package/amd/useCurrentBgColor-24e98c84.js +0 -2
- package/amd/useCurrentBgColor-24e98c84.js.map +0 -1
- package/amd/useCurrentKey-5a5ffb1e.js +0 -2
- package/amd/useCurrentKey-5a5ffb1e.js.map +0 -1
- package/amd/useDatatip-db874c22.js +0 -2
- package/amd/useDatatip-db874c22.js.map +0 -1
- package/amd/useDensity-2b757d02.js +0 -2
- package/amd/useDensity-2b757d02.js.map +0 -1
- package/amd/useFloating-c8c92f6f.js +0 -2
- package/amd/useFloating-c8c92f6f.js.map +0 -1
- package/amd/useKeyboardEvents-e66373bb.js +0 -2
- package/amd/useKeyboardEvents-e66373bb.js.map +0 -1
- package/amd/useMeterDatatip-8702ee6e.js +0 -2
- package/amd/useMeterDatatip-8702ee6e.js.map +0 -1
- package/amd/useOutsideClick-39a81428.js +0 -2
- package/amd/useOutsideClick-39a81428.js.map +0 -1
- package/amd/usePopupAnimation-7023407f.js +0 -2
- package/amd/usePopupAnimation-7023407f.js.map +0 -1
- package/amd/usePrefixSuffix-19a86824.js +0 -2
- package/amd/usePrefixSuffix-19a86824.js.map +0 -1
- package/amd/useReorderableItem-fa5fd0f4.js +0 -2
- package/amd/useReorderableItem-fa5fd0f4.js.map +0 -1
- package/amd/useRovingTabIndexContainer-6b89c886.js +0 -2
- package/amd/useRovingTabIndexContainer-6b89c886.js.map +0 -1
- package/amd/useScale-0fb08a15.js +0 -2
- package/amd/useScale-0fb08a15.js.map +0 -1
- package/amd/useSelectDrill-03c65602.js +0 -2
- package/amd/useSelectDrill-03c65602.js.map +0 -1
- package/amd/useSelection-4c8e905b.js +0 -2
- package/amd/useSelection-4c8e905b.js.map +0 -1
- package/amd/useSelection-569188b3.js +0 -2
- package/amd/useSelection-569188b3.js.map +0 -1
- package/amd/useTestId-d0c49456.js +0 -2
- package/amd/useTestId-d0c49456.js.map +0 -1
- package/amd/useTheme-915016ef.js +0 -2
- package/amd/useTheme-915016ef.js.map +0 -1
- package/amd/useThemeInterpolations-95e6f849.js +0 -2
- package/amd/useThemeInterpolations-95e6f849.js.map +0 -1
- package/amd/useTooltip-f7c1ad5c.js +0 -2
- package/amd/useTooltip-f7c1ad5c.js.map +0 -1
- package/amd/useTooltipOnTruncation-7a2a7106.js +0 -2
- package/amd/useTooltipOnTruncation-7a2a7106.js.map +0 -1
- package/amd/useTranslationBundle-652e08a6.js +0 -2
- package/amd/useTranslationBundle-652e08a6.js.map +0 -1
- package/amd/useUser-abae2493.js +0 -2
- package/amd/useUser-abae2493.js.map +0 -1
- package/amd/useVisEvents-a2e7394b.js +0 -2
- package/amd/useVisEvents-a2e7394b.js.map +0 -1
- package/amd/withDirectionIcon-194f3242.js +0 -2
- package/amd/withDirectionIcon-194f3242.js.map +0 -1
- package/cjs/BaseCardView-5ce88700.js +0 -687
- package/cjs/BaseCardView-5ce88700.js.map +0 -1
- package/cjs/CardFlexView-7cb060a4.js +0 -29
- package/cjs/CardFlexView-7cb060a4.js.map +0 -1
- package/cjs/CardGridView-619b8576.js +0 -17
- package/cjs/CardGridView-619b8576.js.map +0 -1
- package/cjs/CheckboxSet-3509aa56.js +0 -53
- package/cjs/CheckboxSet-3509aa56.js.map +0 -1
- package/cjs/Indexer-6f687670.js +0 -339
- package/cjs/Indexer-6f687670.js.map +0 -1
- package/cjs/List-9cf30b46.js +0 -722
- package/cjs/List-9cf30b46.js.map +0 -1
- package/cjs/ListView-1c7cb647.js +0 -430
- package/cjs/ListView-1c7cb647.js.map +0 -1
- package/cjs/LoadMoreCollection-69bc038c.js +0 -34
- package/cjs/LoadMoreCollection-69bc038c.js.map +0 -1
- package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +0 -1
- package/cjs/SelectMultiple-bc3a3333.js +0 -1299
- package/cjs/SelectMultiple-bc3a3333.js.map +0 -1
- package/cjs/SelectSingle-0292841f.js +0 -732
- package/cjs/SelectSingle-0292841f.js.map +0 -1
- package/cjs/Table-cac0f4b6.js +0 -5499
- package/cjs/Table-cac0f4b6.js.map +0 -1
- package/cjs/TableView-edd7e48c.js +0 -33
- package/cjs/TableView-edd7e48c.js.map +0 -1
- package/cjs/TextArea-43ba72b8.js +0 -162
- package/cjs/TextArea-43ba72b8.js.map +0 -1
- package/cjs/TextAreaAutosize-05e6644a.js +0 -246
- package/cjs/TextAreaAutosize-05e6644a.js.map +0 -1
- package/cjs/VirtualizedCollection-9e8c48b9.js +0 -180
- package/cjs/VirtualizedCollection-9e8c48b9.js.map +0 -1
- package/cjs/VirtualizedListView-d9fce8ed.js +0 -16
- package/cjs/VirtualizedListView-d9fce8ed.js.map +0 -1
- package/cjs/useSelectCommon-78871095.js +0 -709
- package/cjs/useSelectCommon-78871095.js.map +0 -1
- package/es/BarChart-a39136c2.js +0 -179
- package/es/BarChart-a39136c2.js.map +0 -1
- package/es/BaseCardView-87a16541.js +0 -683
- package/es/BaseCardView-87a16541.js.map +0 -1
- package/es/BaseCardViewSelectionTest-639276bd.js +0 -721
- package/es/BaseCardViewSelectionTest-639276bd.js.map +0 -1
- package/es/Card-48705b23.js +0 -15
- package/es/Card-48705b23.js.map +0 -1
- package/es/CardFlexView-8149a998.js +0 -27
- package/es/CardFlexView-8149a998.js.map +0 -1
- package/es/CardGridView-4e967eaa.js +0 -15
- package/es/CardGridView-4e967eaa.js.map +0 -1
- package/es/Center-f5a074ea.js +0 -16
- package/es/Center-f5a074ea.js.map +0 -1
- package/es/Chart-cd1c9eb2.js +0 -491
- package/es/Chart-cd1c9eb2.js.map +0 -1
- package/es/ComboChart-1d1d46cc.js +0 -172
- package/es/ComboChart-1d1d46cc.js.map +0 -1
- package/es/CompactLabelAssistance-e6df8b6f.js +0 -34
- package/es/CompactLabelAssistance-e6df8b6f.js.map +0 -1
- package/es/DatePicker-f149bde7.js +0 -564
- package/es/DatePicker-f149bde7.js.map +0 -1
- package/es/Diagram-32842af8.js +0 -2035
- package/es/Diagram-32842af8.js.map +0 -1
- package/es/Dialog-dbd00dbd.js +0 -344
- package/es/Dialog-dbd00dbd.js.map +0 -1
- package/es/DragHandle-3010d22c.js +0 -22
- package/es/DragHandle-3010d22c.js.map +0 -1
- package/es/DrawerPopup-90be1472.js +0 -381
- package/es/DrawerPopup-90be1472.js.map +0 -1
- package/es/Dropdown-8936afb0.js +0 -80
- package/es/Dropdown-8936afb0.js.map +0 -1
- package/es/EnvironmentProvider-e6ce326b.js +0 -58
- package/es/EnvironmentProvider-e6ce326b.js.map +0 -1
- package/es/Flex-dce7c423.js +0 -30
- package/es/Flex-dce7c423.js.map +0 -1
- package/es/Floating-bd10e1bb.js +0 -462
- package/es/Floating-bd10e1bb.js.map +0 -1
- package/es/Grid-a92f6ff7.js +0 -27
- package/es/Grid-a92f6ff7.js.map +0 -1
- package/es/Gridlines-14e60b77.js +0 -168
- package/es/Gridlines-14e60b77.js.map +0 -1
- package/es/HighlightText-6fb192ee.js +0 -31
- package/es/HighlightText-6fb192ee.js.map +0 -1
- package/es/IconUserAssistance-bb4f169d.js +0 -73
- package/es/IconUserAssistance-bb4f169d.js.map +0 -1
- package/es/Indexer-80254b3c.js +0 -336
- package/es/Indexer-80254b3c.js.map +0 -1
- package/es/Layer-f309effc.js +0 -91
- package/es/Layer-f309effc.js.map +0 -1
- package/es/LayerHost-ca080d9a.js +0 -40
- package/es/LayerHost-ca080d9a.js.map +0 -1
- package/es/LayerManager-3e4e8d1a.js +0 -34
- package/es/LayerManager-3e4e8d1a.js.map +0 -1
- package/es/LineAreaChart-16cf6356.js +0 -170
- package/es/LineAreaChart-16cf6356.js.map +0 -1
- package/es/LineSeries-89d507a5.js +0 -109
- package/es/LineSeries-89d507a5.js.map +0 -1
- package/es/List-4e5ab994.js +0 -717
- package/es/List-4e5ab994.js.map +0 -1
- package/es/ListItemLayout-b580a2cb.js +0 -110
- package/es/ListItemLayout-b580a2cb.js.map +0 -1
- package/es/ListView-c8de746b.js +0 -428
- package/es/ListView-c8de746b.js.map +0 -1
- package/es/LiveRegion-7d6e9b93.js +0 -39
- package/es/LiveRegion-7d6e9b93.js.map +0 -1
- package/es/LoadMoreCollection-7df1be36.js +0 -31
- package/es/LoadMoreCollection-7df1be36.js.map +0 -1
- package/es/MaxLengthCounter-181b4fc9.js +0 -25
- package/es/MaxLengthCounter-181b4fc9.js.map +0 -1
- package/es/MaxLengthLiveRegion-3d6867c3.js +0 -23
- package/es/MaxLengthLiveRegion-3d6867c3.js.map +0 -1
- package/es/MessageLayer-707a3302.js +0 -58
- package/es/MessageLayer-707a3302.js.map +0 -1
- package/es/Modal-9bdb87a4.js +0 -274
- package/es/Modal-9bdb87a4.js.map +0 -1
- package/es/MonthView-7f913bb2.js +0 -208
- package/es/MonthView-7f913bb2.js.map +0 -1
- package/es/Popup-0b60095e.js +0 -258
- package/es/Popup-0b60095e.js.map +0 -1
- package/es/ProgressBar-717be5e8.js +0 -62
- package/es/ProgressBar-717be5e8.js.map +0 -1
- package/es/ProgressCircle-d75b0848.js +0 -48
- package/es/ProgressCircle-d75b0848.js.map +0 -1
- package/es/ScatterChart-8fa8ea38.js +0 -103
- package/es/ScatterChart-8fa8ea38.js.map +0 -1
- package/es/SectionedContent-89fd6108.js +0 -64
- package/es/SectionedContent-89fd6108.js.map +0 -1
- package/es/SelectMultiple-1e8a183a.js +0 -1297
- package/es/SelectMultiple-1e8a183a.js.map +0 -1
- package/es/SelectSingle-b66c3ae5.js +0 -730
- package/es/SelectSingle-b66c3ae5.js.map +0 -1
- package/es/SelectionCard-4cf71979.js +0 -16
- package/es/SelectionCard-4cf71979.js.map +0 -1
- package/es/SelectorAll-401564d3.js +0 -69
- package/es/SelectorAll-401564d3.js.map +0 -1
- package/es/Sheet-754bd0f0.js +0 -158
- package/es/Sheet-754bd0f0.js.map +0 -1
- package/es/StyledCard-2dc6d348.js +0 -105
- package/es/StyledCard-2dc6d348.js.map +0 -1
- package/es/StyledLabelValueLayout-f3d69ee8.js +0 -18
- package/es/StyledLabelValueLayout-f3d69ee8.js.map +0 -1
- package/es/TabBarMixedSeparator-dd80c7f2.js +0 -19
- package/es/TabBarMixedSeparator-dd80c7f2.js.map +0 -1
- package/es/Table-970adc38.js +0 -5497
- package/es/Table-970adc38.js.map +0 -1
- package/es/TableView-28ac0166.js +0 -31
- package/es/TableView-28ac0166.js.map +0 -1
- package/es/TextArea-9da8decd.js +0 -160
- package/es/TextArea-9da8decd.js.map +0 -1
- package/es/TextAreaAutosize-2e043744.js +0 -244
- package/es/TextAreaAutosize-2e043744.js.map +0 -1
- package/es/View-6941c4ec.js +0 -167
- package/es/View-6941c4ec.js.map +0 -1
- package/es/VirtualizedCollection-f048fbb8.js +0 -176
- package/es/VirtualizedCollection-f048fbb8.js.map +0 -1
- package/es/VirtualizedListView-aa8e6003.js +0 -14
- package/es/VirtualizedListView-aa8e6003.js.map +0 -1
- package/es/VisNoData-6c9dff1d.js +0 -32
- package/es/VisNoData-6c9dff1d.js.map +0 -1
- package/es/VisProgressiveLoader-af51c524.js +0 -51
- package/es/VisProgressiveLoader-af51c524.js.map +0 -1
- package/es/VisTabularDatatip-1aba2c3f.js +0 -24
- package/es/VisTabularDatatip-1aba2c3f.js.map +0 -1
- package/es/WindowOverlay-77a01a5a.js +0 -110
- package/es/WindowOverlay-77a01a5a.js.map +0 -1
- package/es/YearsGridView-38b7d276.js +0 -187
- package/es/YearsGridView-38b7d276.js.map +0 -1
- package/es/index-b52817d6.js +0 -11
- package/es/index-b52817d6.js.map +0 -1
- package/es/popupUtils-0d643529.js +0 -29
- package/es/popupUtils-0d643529.js.map +0 -1
- package/es/render-f43f5632.js +0 -34
- package/es/render-f43f5632.js.map +0 -1
- package/es/tabbableUtils-07dfa9ce.js +0 -79
- package/es/tabbableUtils-07dfa9ce.js.map +0 -1
- package/es/testData-75eb4f26.js +0 -256
- package/es/testData-75eb4f26.js.map +0 -1
- package/es/tooltipUtils-ae6aba72.js +0 -93
- package/es/tooltipUtils-ae6aba72.js.map +0 -1
- package/es/useChartDatatip-ae7cffcb.js +0 -165
- package/es/useChartDatatip-ae7cffcb.js.map +0 -1
- package/es/useColorScheme-831abf37.js +0 -19
- package/es/useColorScheme-831abf37.js.map +0 -1
- package/es/useCssVars-6295c03a.js +0 -58
- package/es/useCssVars-6295c03a.js.map +0 -1
- package/es/useCurrentBgColor-93b70106.js +0 -19
- package/es/useCurrentBgColor-93b70106.js.map +0 -1
- package/es/useCurrentKey-30089ba4.js +0 -81
- package/es/useCurrentKey-30089ba4.js.map +0 -1
- package/es/useDatatip-3f284ad3.js +0 -90
- package/es/useDatatip-3f284ad3.js.map +0 -1
- package/es/useDensity-2ca5177c.js +0 -19
- package/es/useDensity-2ca5177c.js.map +0 -1
- package/es/useFloating-b1378797.js +0 -1916
- package/es/useFloating-b1378797.js.map +0 -1
- package/es/useKeyboardEvents-7a19700e.js +0 -78
- package/es/useKeyboardEvents-7a19700e.js.map +0 -1
- package/es/useMeterDatatip-814ca87d.js +0 -73
- package/es/useMeterDatatip-814ca87d.js.map +0 -1
- package/es/useOutsideClick-d0b44256.js +0 -101
- package/es/useOutsideClick-d0b44256.js.map +0 -1
- package/es/usePopupAnimation-0c5517c7.js +0 -85
- package/es/usePopupAnimation-0c5517c7.js.map +0 -1
- package/es/usePrefixSuffix-28d8172f.js +0 -70
- package/es/usePrefixSuffix-28d8172f.js.map +0 -1
- package/es/useReorderableItem-abc9c68c.js +0 -268
- package/es/useReorderableItem-abc9c68c.js.map +0 -1
- package/es/useRovingTabIndexContainer-d8dcffff.js +0 -98
- package/es/useRovingTabIndexContainer-d8dcffff.js.map +0 -1
- package/es/useScale-c315e304.js +0 -19
- package/es/useScale-c315e304.js.map +0 -1
- package/es/useSelectCommon-410eeffd.js +0 -686
- package/es/useSelectCommon-410eeffd.js.map +0 -1
- package/es/useSelectDrill-9eb9b7fa.js +0 -104
- package/es/useSelectDrill-9eb9b7fa.js.map +0 -1
- package/es/useSelection-534b1fa0.js +0 -186
- package/es/useSelection-534b1fa0.js.map +0 -1
- package/es/useSelection-5375aa2e.js +0 -239
- package/es/useSelection-5375aa2e.js.map +0 -1
- package/es/useTestId-014cca7c.js +0 -21
- package/es/useTestId-014cca7c.js.map +0 -1
- package/es/useTheme-a4243428.js +0 -19
- package/es/useTheme-a4243428.js.map +0 -1
- package/es/useThemeInterpolations-93048af6.js +0 -57
- package/es/useThemeInterpolations-93048af6.js.map +0 -1
- package/es/useTooltip-d4dfd848.js +0 -424
- package/es/useTooltip-d4dfd848.js.map +0 -1
- package/es/useTooltipOnTruncation-82d93e22.js +0 -27
- package/es/useTooltipOnTruncation-82d93e22.js.map +0 -1
- package/es/useTranslationBundle-29a1abb3.js +0 -29
- package/es/useTranslationBundle-29a1abb3.js.map +0 -1
- package/es/useUser-9c8d0e57.js +0 -19
- package/es/useUser-9c8d0e57.js.map +0 -1
- package/es/useVisEvents-45115f09.js +0 -153
- package/es/useVisEvents-45115f09.js.map +0 -1
- package/es/withDirectionIcon-70ce263c.js +0 -14
- package/es/withDirectionIcon-70ce263c.js.map +0 -1
|
@@ -1,1916 +0,0 @@
|
|
|
1
|
-
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
import { useMemo, useRef, useState, useCallback, useLayoutEffect } from 'preact/hooks';
|
|
3
|
-
import { u as useUser } from './useUser-9c8d0e57.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-b1378797.js.map
|