@oracle/oraclejet-preact 18.0.5 → 18.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/ActionCard-3f86f73f.js +1 -1
- package/amd/BarChart-5e9f46b4.js +1 -1
- package/amd/BarGroup-76ef0839.js +1 -1
- package/amd/BaseButton-19a622bc.js +1 -1
- package/amd/BaseCardView-ab799b69.js +2 -0
- package/amd/BaseCardView-ab799b69.js.map +1 -0
- package/amd/BaseCardViewSelectionTest-d026d26c.js +2 -0
- package/amd/BaseCardViewSelectionTest-d026d26c.js.map +1 -0
- package/amd/BaseNavigationListItem-fe9cb691.js +1 -1
- package/amd/BaseRichSelection-9d8f3ee4.js +1 -1
- package/amd/ButtonSet-d95872cc.js +1 -1
- package/amd/ButtonSetIconButton-7a2c113c.js +1 -1
- package/amd/Card-8e081def.js +2 -0
- package/amd/Card-8e081def.js.map +1 -0
- package/amd/CardFlexView-296f97f5.js +2 -0
- package/amd/CardFlexView-296f97f5.js.map +1 -0
- package/amd/CardGridView-054ffc3f.js +2 -0
- package/amd/CardGridView-054ffc3f.js.map +1 -0
- package/amd/Center-9ec5524e.js +2 -0
- package/amd/Center-9ec5524e.js.map +1 -0
- package/amd/Chart-e2807ff7.js +1 -1
- package/amd/CheckboxControl-83484a5a.js +1 -1
- package/amd/CheckboxRadioField-9733dd24.js +1 -1
- package/amd/Chip-cd210507.js +1 -1
- package/amd/ClearIcon-de20285c.js +1 -1
- package/amd/CollapseIcon-e030531c.js +1 -1
- package/amd/Collapsible-924afd71.js +1 -1
- package/amd/ComboChart-71c0f51f.js +1 -1
- package/amd/CompactHelpSource-74498e92.js +1 -1
- package/amd/CompactLabelAssistance-c6928282.js +2 -0
- package/amd/CompactLabelAssistance-c6928282.js.map +1 -0
- package/amd/CompactUserAssistance-3370a318.js +1 -1
- package/amd/ComponentMessageContainer-8028ba70.js +1 -1
- package/amd/ConveyorBeltItem-08720127.js +1 -1
- package/amd/DatePicker-bf0e0c69.js +2 -0
- package/amd/DatePicker-bf0e0c69.js.map +1 -0
- package/amd/DatePickerHeader-f21e020d.js +1 -1
- package/amd/Diagram-04db0931.js +2 -0
- package/amd/Diagram-04db0931.js.map +1 -0
- package/amd/Dialog-5f36f8aa.js +2 -0
- package/amd/Dialog-5f36f8aa.js.map +1 -0
- package/amd/DirectionalCollapseArrowIcon-20cef34d.js +1 -1
- package/amd/DirectionalExpandArrowIcon-e9bdb06e.js +1 -1
- package/amd/DragHandle-406d7f9a.js +2 -0
- package/amd/DragHandle-406d7f9a.js.map +1 -0
- package/amd/Dropdown-abcacf49.js +2 -0
- package/amd/Dropdown-abcacf49.js.map +1 -0
- package/amd/EnvironmentProvider-c0e1e39b.js +2 -0
- package/amd/EnvironmentProvider-c0e1e39b.js.map +1 -0
- package/amd/ExpandableList-dd3a05b4.js +1 -1
- package/amd/FilePicker-4636b49b.js +1 -1
- package/amd/Flex-3421f0df.js +2 -0
- package/amd/Flex-3421f0df.js.map +1 -0
- package/amd/Floating-5d98c1ca.js +2 -0
- package/amd/Floating-5d98c1ca.js.map +1 -0
- package/amd/FormLayout-a4a29a2d.js +1 -1
- package/amd/Gantt-d94af58e.js +1 -1
- package/amd/Grid-8911aa0f.js +2 -0
- package/amd/Grid-8911aa0f.js.map +1 -0
- package/amd/Gridlines-bef7bbfc.js +2 -0
- package/amd/Gridlines-bef7bbfc.js.map +1 -0
- package/amd/GroupLoadingIndicator-6b2ab709.js +1 -1
- package/amd/HighlightText-644bc74e.js +2 -0
- package/amd/HighlightText-644bc74e.js.map +1 -0
- package/amd/Icon-2d38c876.js +1 -1
- package/amd/IconButton-ae9a01ce.js +1 -1
- package/amd/IconMenuButton-b0468fa8.js +1 -1
- package/amd/IconProgressButton-ff5372eb.js +1 -1
- package/amd/IconSwitchButton-22f907e7.js +1 -1
- package/amd/IconToggleButton-20d411e6.js +1 -1
- package/amd/IconUserAssistance-37107cea.js +2 -0
- package/amd/IconUserAssistance-37107cea.js.map +1 -0
- package/amd/Indexer-1531dbc3.js +2 -0
- package/amd/Indexer-1531dbc3.js.map +1 -0
- package/amd/InlineHelpSource-85961e81.js +1 -1
- package/amd/InlineUserAssistance-4656c2a6.js +1 -1
- package/amd/InputDateMask-6d54c3e6.js +1 -1
- package/amd/InputDatePicker-fc39f0a6.js +1 -1
- package/amd/InputPassword-f6ea728a.js +1 -1
- package/amd/InputText-57f60b6f.js +1 -1
- package/amd/Label-3912beb2.js +1 -1
- package/amd/LabelValueLayout-194e64d9.js +1 -1
- package/amd/Layer-6f29b67f.js +2 -0
- package/amd/Layer-6f29b67f.js.map +1 -0
- package/amd/LayerHost-639b3284.js +2 -0
- package/amd/LayerHost-639b3284.js.map +1 -0
- package/amd/LayerManager-2972de92.js +2 -0
- package/amd/LayerManager-2972de92.js.map +1 -0
- package/amd/Legend-e4949499.js +1 -1
- package/amd/LineAreaChart-2ba275ab.js +2 -0
- package/amd/LineAreaChart-2ba275ab.js.map +1 -0
- package/amd/LineSeries-797d8d16.js +2 -0
- package/amd/LineSeries-797d8d16.js.map +1 -0
- package/amd/Link-c4a57187.js +1 -1
- package/amd/List-0b764e84.js +2 -0
- package/amd/List-0b764e84.js.map +1 -0
- package/amd/ListItemLayout-e0b2c71e.js +2 -0
- package/amd/ListItemLayout-e0b2c71e.js.map +1 -0
- package/amd/ListView-5bb45f81.js +2 -0
- package/amd/ListView-5bb45f81.js.map +1 -0
- package/amd/LiveRegion-9a362373.js +2 -0
- package/amd/LiveRegion-9a362373.js.map +1 -0
- package/amd/LoadMoreCollection-83413a59.js +2 -0
- package/amd/LoadMoreCollection-83413a59.js.map +1 -0
- package/amd/MaxLengthLiveRegion-bb956138.js +2 -0
- package/amd/MaxLengthLiveRegion-bb956138.js.map +1 -0
- package/amd/Menu-5d447084.js +1 -1
- package/amd/MenuButton-410aa4e1.js +1 -1
- package/amd/MenuItem-87cd59b8.js +1 -1
- package/amd/Message-621fb578.js +1 -1
- package/amd/MessageLayer-8bac8c50.js +2 -0
- package/amd/MessageLayer-8bac8c50.js.map +1 -0
- package/amd/MessageToast-06773c79.js +1 -1
- package/amd/MessagesManager-d5686336.js +1 -1
- package/amd/MeterBar-e1b4a93b.js +1 -1
- package/amd/MeterCircle-9887cf28.js +1 -1
- package/amd/Modal-7bece8d5.js +2 -0
- package/amd/Modal-7bece8d5.js.map +1 -0
- package/amd/MonthView-3d0968a1.js +2 -0
- package/amd/MonthView-3d0968a1.js.map +1 -0
- package/amd/NavigationListItem-044a79fd.js +2 -0
- package/amd/NavigationListItem-044a79fd.js.map +1 -0
- package/amd/NumberInputText-cac12eb3.js +1 -1
- package/amd/OverflowTabBar-339f34cf.js +2 -0
- package/amd/OverflowTabBar-339f34cf.js.map +1 -0
- package/amd/OverflowTabBarItem-c59db4a2.js +2 -0
- package/amd/OverflowTabBarItem-c59db4a2.js.map +1 -0
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_DatePickerLayout.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
- package/amd/PRIVATE_Icons/DragV.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_LoadMoreCollection.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_PlotArea.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCard.js +1 -1
- package/amd/PRIVATE_StyledCheckbox.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VirtualizedCollection.js +1 -1
- package/amd/PRIVATE_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-48a25c75.js +1 -1
- package/amd/PieChart-2197746d.js +1 -1
- package/amd/Popup-66e79afa.js +2 -0
- package/amd/Popup-66e79afa.js.map +1 -0
- package/amd/ProgressBar-e72c5a67.js +2 -0
- package/amd/ProgressBar-e72c5a67.js.map +1 -0
- package/amd/ProgressButton-f1d27773.js +1 -1
- package/amd/ProgressButtonLabelLayout-6df4290e.js +1 -1
- package/amd/ProgressCircle-2b4ba9cd.js +2 -0
- package/amd/ProgressCircle-2b4ba9cd.js.map +1 -0
- package/amd/RadioItem-b17c346c.js +1 -1
- package/amd/RatingGauge-539ede8e.js +1 -1
- package/amd/ReadonlyTextFieldInput-608bddc1.js +1 -1
- package/amd/RemovableNavigationListItem-e01b6693.js +1 -1
- package/amd/RemovableTabBarItem-29b54206.js +1 -1
- package/amd/ReorderableTabBar-462d357c.js +1 -1
- package/amd/RevealToggleIcon-f975229d.js +1 -1
- package/amd/ScatterChart-7f0b817b.js +2 -0
- package/amd/ScatterChart-7f0b817b.js.map +1 -0
- package/amd/SectionalLegend-8f203cac.js +1 -1
- package/amd/SectionedContent-19bef3cc.js +2 -0
- package/amd/SectionedContent-19bef3cc.js.map +1 -0
- package/amd/SelectMultiple-7e9bd455.js +2 -0
- package/amd/SelectMultiple-7e9bd455.js.map +1 -0
- package/amd/SelectSingle-466bcd67.js +2 -0
- package/amd/SelectSingle-466bcd67.js.map +1 -0
- package/amd/SelectionCard-13aac54a.js +2 -0
- package/amd/SelectionCard-13aac54a.js.map +1 -0
- package/amd/Selector-2b0c34a7.js +1 -1
- package/amd/SelectorAll-1c889a9c.js +2 -0
- package/amd/SelectorAll-1c889a9c.js.map +1 -0
- package/amd/Sheet-0b58b0a5.js +2 -0
- package/amd/Sheet-0b58b0a5.js.map +1 -0
- package/amd/SplitMenuButton-031ae5e3.js +1 -1
- package/amd/StyledCard-0da6f6b5.js +2 -0
- package/amd/StyledCard-0da6f6b5.js.map +1 -0
- package/amd/StyledTextField-b4278437.js +1 -1
- package/amd/TabBar-d8890a47.js +1 -1
- package/amd/TabBarItem-547825e2.js +1 -1
- package/amd/TabBarLayout-685ac295.js +1 -1
- package/amd/TabBarMixed-a75796a6.js +1 -1
- package/amd/TabBarMixedSeparator-ed764207.js +2 -0
- package/amd/TabBarMixedSeparator-ed764207.js.map +1 -0
- package/amd/Table-87f7e3c4.js +2 -0
- package/amd/Table-87f7e3c4.js.map +1 -0
- package/amd/TableView-2b884e2c.js +2 -0
- package/amd/TableView-2b884e2c.js.map +1 -0
- package/amd/TagCloud-5dc4b5ff.js +1 -1
- package/amd/TextArea-a7a3d82f.js +1 -1
- package/amd/TextAreaAutosize-9cd2c1e8.js +1 -1
- package/amd/TextField-1021f00b.js +1 -1
- package/amd/TextFieldInput-ba4e508c.js +1 -1
- package/amd/Theme-redwood/theme.css +143 -143
- package/amd/Theme-stable/theme.css +389 -389
- package/amd/TimeComponentCanvas2D-6b4e6ead.js +1 -1
- package/amd/Toolbar-05d42276.js +1 -1
- package/amd/TruncatingBadge-7f66faaf.js +2 -0
- package/amd/TruncatingBadge-7f66faaf.js.map +1 -0
- package/amd/TruncatingText-69770aa9.js +2 -0
- package/amd/TruncatingText-69770aa9.js.map +1 -0
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_Card.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_ChartWithLegend.js +1 -1
- package/amd/UNSAFE_Checkbox.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_ComboChart.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputTimeMask.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_Layer.js +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_ScatterChart.js +1 -1
- package/amd/UNSAFE_SectionalLegend.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SelectionCard.js +1 -1
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_SelectorAll.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_Sheet.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_Toolbar.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TruncatingBadge.js +1 -1
- package/amd/UNSAFE_TruncatingText.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
- package/amd/UNSAFE_VisStatusMessage.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/View-bd5c7fa7.js +2 -0
- package/amd/View-bd5c7fa7.js.map +1 -0
- package/amd/VirtualizedCollection-897516a5.js +2 -0
- package/amd/VirtualizedCollection-897516a5.js.map +1 -0
- package/amd/VirtualizedListView-cbe87ec2.js +2 -0
- package/amd/VirtualizedListView-cbe87ec2.js.map +1 -0
- package/amd/VisNoData-10983ace.js +2 -0
- package/amd/VisNoData-10983ace.js.map +1 -0
- package/amd/VisProgressiveLoader-06a60c8f.js +2 -0
- package/amd/VisProgressiveLoader-06a60c8f.js.map +1 -0
- package/amd/VisTabularDatatip-55bbd19f.js +2 -0
- package/amd/VisTabularDatatip-55bbd19f.js.map +1 -0
- package/amd/WindowOverlay-43c10424.js +2 -0
- package/amd/WindowOverlay-43c10424.js.map +1 -0
- package/amd/YearsGridView-d7b2184e.js +2 -0
- package/amd/YearsGridView-d7b2184e.js.map +1 -0
- package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
- package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
- package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useCssVars.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useFloating.js +1 -1
- package/amd/hooks/PRIVATE_useReorderable.js +1 -1
- package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
- package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
- package/amd/hooks/UNSAFE_useDensity.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useTestId.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/index-95227deb.js +2 -0
- package/amd/index-95227deb.js.map +1 -0
- package/amd/listViewSelectionTests-c9777ea8.js +1 -1
- package/amd/render-85c034d7.js +2 -0
- package/amd/render-85c034d7.js.map +1 -0
- package/amd/tabbableUtils-591fdc8d.js +2 -0
- package/amd/tabbableUtils-591fdc8d.js.map +1 -0
- package/amd/testData-02652eda.js +2 -0
- package/amd/testData-02652eda.js.map +1 -0
- package/amd/tooltipUtils-e5bdb734.js +2 -0
- package/amd/tooltipUtils-e5bdb734.js.map +1 -0
- package/amd/useCellNavigation-1feec094.js +1 -1
- package/amd/useChartContextMenu-8606bfa2.js +1 -1
- package/amd/useChartDatatip-947eeffe.js +2 -0
- package/amd/useChartDatatip-947eeffe.js.map +1 -0
- package/amd/useColorScheme-443e7cc7.js +2 -0
- package/amd/useColorScheme-443e7cc7.js.map +1 -0
- package/amd/useContextMenu-e08aad46.js +1 -1
- package/amd/useCssVars-dc52806c.js +2 -0
- package/amd/useCssVars-dc52806c.js.map +1 -0
- package/amd/useCurrentBgColor-50142bd8.js +2 -0
- package/amd/useCurrentBgColor-50142bd8.js.map +1 -0
- package/amd/useCurrentKey-a993db56.js +2 -0
- package/amd/useCurrentKey-a993db56.js.map +1 -0
- package/amd/useDatatip-9942601b.js +2 -0
- package/amd/useDatatip-9942601b.js.map +1 -0
- package/amd/useDensity-f0f7ae9a.js +2 -0
- package/amd/useDensity-f0f7ae9a.js.map +1 -0
- package/amd/useFloating-bf8ed6cb.js +2 -0
- package/amd/useFloating-bf8ed6cb.js.map +1 -0
- package/amd/useKeyboardEvents-8ada7a1f.js +2 -0
- package/amd/useKeyboardEvents-8ada7a1f.js.map +1 -0
- package/amd/useLegendContextMenu-e629139a.js +1 -1
- package/amd/useMeterDatatip-173593b4.js +2 -0
- package/amd/useMeterDatatip-173593b4.js.map +1 -0
- package/amd/useOutsideClick-76c1ff6e.js +2 -0
- package/amd/useOutsideClick-76c1ff6e.js.map +1 -0
- package/amd/usePopupAnimation-6e53a0fe.js +2 -0
- package/amd/usePopupAnimation-6e53a0fe.js.map +1 -0
- package/amd/usePrefixSuffix-f7544e05.js +2 -0
- package/amd/usePrefixSuffix-f7544e05.js.map +1 -0
- package/amd/useReorderableItem-726c3c03.js +2 -0
- package/amd/useReorderableItem-726c3c03.js.map +1 -0
- package/amd/useRovingTabIndexContainer-473f7e43.js +2 -0
- package/amd/useRovingTabIndexContainer-473f7e43.js.map +1 -0
- package/amd/useScale-e311d35f.js +2 -0
- package/amd/useScale-e311d35f.js.map +1 -0
- package/amd/useSelectCommon-d9c4a7bd.js +2 -0
- package/amd/useSelectCommon-d9c4a7bd.js.map +1 -0
- package/amd/useSelectDrill-216c007c.js +2 -0
- package/amd/useSelectDrill-216c007c.js.map +1 -0
- package/amd/useSelection-01203394.js +2 -0
- package/amd/useSelection-01203394.js.map +1 -0
- package/amd/useSelection-4249360e.js +2 -0
- package/amd/useSelection-4249360e.js.map +1 -0
- package/amd/useTabBar-2c4573fe.js +1 -1
- package/amd/useTestId-b5cd4766.js +2 -0
- package/amd/useTestId-b5cd4766.js.map +1 -0
- package/amd/useTheme-a8334e06.js +2 -0
- package/amd/useTheme-a8334e06.js.map +1 -0
- package/amd/useThemeInterpolations-ab618dee.js +2 -0
- package/amd/useThemeInterpolations-ab618dee.js.map +1 -0
- package/amd/useTooltip-b43ad881.js +2 -0
- package/amd/useTooltip-b43ad881.js.map +1 -0
- package/amd/useTooltipControlled-ee3276de.js +2 -0
- package/amd/useTooltipControlled-ee3276de.js.map +1 -0
- package/amd/useTranslationBundle-d07d4b20.js +2 -0
- package/amd/useTranslationBundle-d07d4b20.js.map +1 -0
- package/amd/useUser-3ef25571.js +2 -0
- package/amd/useUser-3ef25571.js.map +1 -0
- package/amd/useVisDragModeControls-a5685835.js +1 -1
- package/amd/useVisEvents-dc86164f.js +2 -0
- package/amd/useVisEvents-dc86164f.js.map +1 -0
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/withDirectionIcon-74c39ee3.js +2 -0
- package/amd/withDirectionIcon-74c39ee3.js.map +1 -0
- package/amd/withThemeProps-4c23997e.js +1 -1
- package/cjs/ActionCard-61b21d6c.js +1 -1
- package/cjs/BarChart-93a3813c.js +181 -0
- package/cjs/BarChart-93a3813c.js.map +1 -0
- package/cjs/BarGroup-4a24a995.js +1 -1
- package/cjs/BaseButton-3a0bf8e4.js +2 -2
- package/cjs/BaseCardView-ade994f5.js +7 -7
- package/cjs/BaseCardViewSelectionTest-c6f05079.js +734 -0
- package/cjs/BaseCardViewSelectionTest-c6f05079.js.map +1 -0
- package/cjs/BaseNavigationListItem-50e4c603.js +1 -1
- package/cjs/BaseRichSelection-e73cac1d.js +8 -8
- package/cjs/ButtonSet-90db1168.js +2 -2
- package/cjs/ButtonSetIconButton-f3b4a721.js +3 -3
- package/cjs/Card-a0dadf5f.js +17 -0
- package/cjs/Card-a0dadf5f.js.map +1 -0
- package/cjs/Center-9f407cb2.js +18 -0
- package/cjs/Center-9f407cb2.js.map +1 -0
- package/cjs/Chart-40d95d14.js +451 -0
- package/cjs/Chart-40d95d14.js.map +1 -0
- package/cjs/CheckboxControl-5beb656d.js +6 -6
- package/cjs/CheckboxRadioField-0d5c9def.js +6 -6
- package/cjs/CheckboxSet-1bdbc419.js +53 -0
- package/cjs/CheckboxSet-1bdbc419.js.map +1 -0
- package/cjs/Chip-f12bb8cd.js +1 -1
- package/cjs/ClearIcon-edcc3f6e.js +1 -1
- package/cjs/CollapseIcon-2394e7ea.js +1 -1
- package/cjs/Collapsible-41311eb0.js +2 -2
- package/cjs/ComboChart-cffd0759.js +174 -0
- package/cjs/ComboChart-cffd0759.js.map +1 -0
- package/cjs/CompactHelpSource-61ead0c7.js +2 -2
- package/cjs/CompactLabelAssistance-ec1e72af.js +36 -0
- package/cjs/CompactLabelAssistance-ec1e72af.js.map +1 -0
- package/cjs/CompactUserAssistance-391bf7ca.js +4 -4
- package/cjs/ComponentMessageContainer-24e79106.js +4 -4
- package/cjs/ConveyorBeltItem-ac146ef0.js +2 -2
- package/cjs/DatePicker-d99097e4.js +566 -0
- package/cjs/DatePicker-d99097e4.js.map +1 -0
- package/cjs/DatePickerHeader-0938a3aa.js +3 -3
- package/cjs/Diagram-aceccb23.js +2028 -0
- package/cjs/Diagram-aceccb23.js.map +1 -0
- package/cjs/Dialog-2219a24f.js +318 -0
- package/cjs/Dialog-2219a24f.js.map +1 -0
- package/cjs/DirectionalCollapseArrowIcon-0cf2279a.js +1 -1
- package/cjs/DirectionalExpandArrowIcon-a362cb2f.js +1 -1
- package/cjs/DragHandle-951c36ef.js +24 -0
- package/cjs/DragHandle-951c36ef.js.map +1 -0
- package/cjs/Dropdown-00e73e4d.js +82 -0
- package/cjs/Dropdown-00e73e4d.js.map +1 -0
- package/cjs/EnvironmentProvider-bfd5febc.js +61 -0
- package/cjs/EnvironmentProvider-bfd5febc.js.map +1 -0
- package/cjs/ExpandableList-be84ca8e.js +3 -3
- package/cjs/FilePicker-f93470cf.js +2 -2
- package/cjs/Flex-ce16a2fa.js +33 -0
- package/cjs/Flex-ce16a2fa.js.map +1 -0
- package/cjs/Floating-3a80c067.js +464 -0
- package/cjs/Floating-3a80c067.js.map +1 -0
- package/cjs/FormLayout-86e60b6c.js +1 -1
- package/cjs/Gantt-7b6b99a0.js +9 -9
- package/cjs/Grid-b8fadf4a.js +29 -0
- package/cjs/Grid-b8fadf4a.js.map +1 -0
- package/cjs/Gridlines-22c46764.js +171 -0
- package/cjs/Gridlines-22c46764.js.map +1 -0
- package/cjs/GroupLoadingIndicator-5940d185.js +1 -1
- package/cjs/HighlightText-2061d12d.js +33 -0
- package/cjs/HighlightText-2061d12d.js.map +1 -0
- package/cjs/Icon-c024b93c.js +3 -3
- package/cjs/IconButton-28559efb.js +3 -3
- package/cjs/IconMenuButton-2a108d43.js +3 -3
- package/cjs/IconProgressButton-01d95e57.js +3 -3
- package/cjs/IconSwitchButton-a1016218.js +3 -3
- package/cjs/IconToggleButton-52f6f126.js +3 -3
- package/cjs/IconUserAssistance-3faf6a09.js +75 -0
- package/cjs/IconUserAssistance-3faf6a09.js.map +1 -0
- package/cjs/Indexer-72430806.js +4 -4
- package/cjs/InlineHelpSource-0549100d.js +1 -1
- package/cjs/InlineUserAssistance-820162f4.js +5 -5
- package/cjs/InputDateMask-a7575cef.js +7 -7
- package/cjs/InputDatePicker-bc2c534a.js +8 -8
- package/cjs/InputPassword-eb6d227b.js +4 -4
- package/cjs/InputText-a9c423c3.js +6 -6
- package/cjs/Label-e0d15892.js +5 -5
- package/cjs/LabelValueLayout-4049c1a1.js +1 -1
- package/cjs/Layer-49394ca6.js +91 -0
- package/cjs/Layer-49394ca6.js.map +1 -0
- package/cjs/LayerHost-7182bfaf.js +45 -0
- package/cjs/LayerHost-7182bfaf.js.map +1 -0
- package/cjs/LayerManager-db087520.js +36 -0
- package/cjs/LayerManager-db087520.js.map +1 -0
- package/cjs/Legend-33a7824e.js +3 -3
- package/cjs/LineAreaChart-bb1350fa.js +172 -0
- package/cjs/LineAreaChart-bb1350fa.js.map +1 -0
- package/cjs/LineSeries-995be81c.js +112 -0
- package/cjs/LineSeries-995be81c.js.map +1 -0
- package/cjs/Link-b8435440.js +1 -1
- package/cjs/List-0dc2c4c4.js +5 -5
- package/cjs/ListItemLayout-bc581097.js +112 -0
- package/cjs/ListItemLayout-bc581097.js.map +1 -0
- package/cjs/ListView-17b8250d.js +3 -3
- package/cjs/LiveRegion-3bc583c6.js +41 -0
- package/cjs/LiveRegion-3bc583c6.js.map +1 -0
- package/cjs/MaxLengthCounter-9ab3f74b.js +27 -0
- package/cjs/MaxLengthCounter-9ab3f74b.js.map +1 -0
- package/cjs/MaxLengthLiveRegion-5e31c44e.js +25 -0
- package/cjs/MaxLengthLiveRegion-5e31c44e.js.map +1 -0
- package/cjs/Menu-658212ed.js +6 -6
- package/cjs/MenuButton-1599ce50.js +2 -2
- package/cjs/MenuItem-c459d748.js +1 -1
- package/cjs/Message-33a66325.js +2 -2
- package/cjs/MessageLayer-fc21a223.js +61 -0
- package/cjs/MessageLayer-fc21a223.js.map +1 -0
- package/cjs/MessageToast-0b1d66ed.js +8 -8
- package/cjs/MessagesManager-1ae749bf.js +3 -3
- package/cjs/MeterBar-0adbe81a.js +5 -5
- package/cjs/MeterCircle-97a75b35.js +5 -5
- package/cjs/Modal-76b3a4d9.js +264 -0
- package/cjs/Modal-76b3a4d9.js.map +1 -0
- package/cjs/MonthView-458d3d61.js +210 -0
- package/cjs/MonthView-458d3d61.js.map +1 -0
- package/cjs/NavigationListItem-4c4e804d.js +5 -5
- package/cjs/NumberInputText-3f25f408.js +6 -6
- package/cjs/OverflowTabBarItem-3c7adb01.js +3 -3
- package/cjs/PRIVATE_BaseCardView.js +22 -22
- package/cjs/PRIVATE_Chart.js +35 -35
- package/cjs/PRIVATE_CheckboxControl.js +23 -23
- package/cjs/PRIVATE_CheckboxRadioField.js +24 -24
- package/cjs/PRIVATE_ClearIcon.js +18 -18
- package/cjs/PRIVATE_DatePickerHeader.js +19 -19
- package/cjs/PRIVATE_DatePickerLayout.js +4 -4
- package/cjs/PRIVATE_EmbeddedIconButton.js +3 -3
- package/cjs/PRIVATE_FormControls.js +19 -19
- package/cjs/PRIVATE_IconSwitchButton.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/cjs/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/cjs/PRIVATE_Icons/DragV.js +16 -16
- package/cjs/PRIVATE_Icons/WarningS.js +16 -16
- package/cjs/PRIVATE_List.js +20 -20
- package/cjs/PRIVATE_Message.js +19 -19
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_MonthView.js +7 -7
- package/cjs/PRIVATE_MonthYearGridView.js +7 -7
- package/cjs/PRIVATE_PlotArea.js +4 -4
- package/cjs/PRIVATE_RevealToggleIcon.js +17 -17
- package/cjs/PRIVATE_RichSelectionCommon.js +25 -25
- package/cjs/PRIVATE_SelectCommon.js +28 -28
- package/cjs/PRIVATE_StyledCard.js +4 -4
- package/cjs/PRIVATE_StyledCheckbox.js +16 -16
- package/cjs/PRIVATE_Table.js +24 -24
- package/cjs/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/cjs/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/cjs/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/cjs/PRIVATE_TimeComponent.js +18 -18
- package/cjs/PRIVATE_VisOverview.js +16 -16
- package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
- package/cjs/PictoChart-292f6c54.js +6 -6
- package/cjs/PieChart-411377a1.js +6 -6
- package/cjs/Popup-3e6b37ba.js +249 -0
- package/cjs/Popup-3e6b37ba.js.map +1 -0
- package/cjs/ProgressBar-ee008afc.js +64 -0
- package/cjs/ProgressBar-ee008afc.js.map +1 -0
- package/cjs/ProgressButton-433a67b5.js +3 -3
- package/cjs/ProgressButtonLabelLayout-13908869.js +3 -3
- package/cjs/ProgressCircle-e91f65f3.js +50 -0
- package/cjs/ProgressCircle-e91f65f3.js.map +1 -0
- package/cjs/RadioItem-c6ada23a.js +6 -6
- package/cjs/RatingGauge-4f129f42.js +7 -7
- package/cjs/ReadonlyTextFieldInput-af4ddced.js +1 -1
- package/cjs/RemovableNavigationListItem-0eea31bc.js +1 -1
- package/cjs/RemovableTabBarItem-ff408dff.js +2 -2
- package/cjs/ReorderableTabBar-344938e7.js +3 -3
- package/cjs/RevealToggleIcon-2e88a00a.js +1 -1
- package/cjs/ScatterChart-763e1f3e.js +105 -0
- package/cjs/ScatterChart-763e1f3e.js.map +1 -0
- package/cjs/SectionalLegend-da9d7dc4.js +4 -4
- package/cjs/SectionedContent-2210037c.js +67 -0
- package/cjs/SectionedContent-2210037c.js.map +1 -0
- package/cjs/SelectMultiple-b1f05b9f.js +8 -8
- package/cjs/SelectSingle-84b0b3eb.js +7 -7
- package/cjs/SelectionCard-e26feb4d.js +18 -0
- package/cjs/SelectionCard-e26feb4d.js.map +1 -0
- package/cjs/Selector-565b3810.js +1 -1
- package/cjs/SelectorAll-e81b943f.js +71 -0
- package/cjs/SelectorAll-e81b943f.js.map +1 -0
- package/cjs/Sheet-73cb51b2.js +161 -0
- package/cjs/Sheet-73cb51b2.js.map +1 -0
- package/cjs/SplitMenuButton-de680884.js +2 -2
- package/cjs/StyledCard-f6b7f046.js +107 -0
- package/cjs/StyledCard-f6b7f046.js.map +1 -0
- package/cjs/StyledTextField-3289e35c.js +3 -3
- package/cjs/TabBar-bf94b95a.js +5 -5
- package/cjs/TabBarItem-00fcf601.js +3 -3
- package/cjs/TabBarLayout-846a4d9a.js +1 -1
- package/cjs/TabBarMixed-975141a6.js +5 -5
- package/cjs/TabBarMixedSeparator-0f55c6f6.js +21 -0
- package/cjs/TabBarMixedSeparator-0f55c6f6.js.map +1 -0
- package/cjs/Table-90fe7ad8.js +9 -9
- package/cjs/TagCloud-ff6f5158.js +8 -8
- package/cjs/TextArea-e7f98e9f.js +162 -0
- package/cjs/TextArea-e7f98e9f.js.map +1 -0
- package/cjs/TextAreaAutosize-d96c7038.js +246 -0
- package/cjs/TextAreaAutosize-d96c7038.js.map +1 -0
- package/cjs/TextField-976ee745.js +3 -3
- package/cjs/TextFieldInput-e83921a4.js +1 -1
- package/cjs/Theme-redwood/theme.css +189 -189
- package/cjs/Theme-stable/theme.css +269 -269
- package/cjs/TimeComponentCanvas2D-952a80c3.js +5 -5
- package/cjs/Toolbar-f94296cb.js +1 -1
- package/cjs/TruncatingBadge-3a82f13b.js +36 -0
- package/cjs/TruncatingBadge-3a82f13b.js.map +1 -0
- package/cjs/TruncatingText-df3db482.js +50 -0
- package/cjs/TruncatingText-df3db482.js.map +1 -0
- package/cjs/UNSAFE_ActionCard.js +3 -3
- package/cjs/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/cjs/UNSAFE_BarChart.js +36 -36
- package/cjs/UNSAFE_BaseButton.js +3 -3
- package/cjs/UNSAFE_Button.js +3 -3
- package/cjs/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/cjs/UNSAFE_ButtonSet.js +4 -4
- package/cjs/UNSAFE_ButtonSetButton.js +3 -3
- package/cjs/UNSAFE_ButtonSetIconButton.js +16 -16
- package/cjs/UNSAFE_ButtonSetItem.js +16 -16
- package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
- package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
- package/cjs/UNSAFE_Card.js +5 -5
- package/cjs/UNSAFE_CardFlexView.js +22 -22
- package/cjs/UNSAFE_CardGridView.js +22 -22
- package/cjs/UNSAFE_Center.js +5 -5
- package/cjs/UNSAFE_ChartWithLegend.js +4 -4
- package/cjs/UNSAFE_Checkbox.js +23 -23
- package/cjs/UNSAFE_CheckboxItem.js +103 -52
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxSet.js +38 -67
- package/cjs/UNSAFE_CheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_Chip.js +2 -2
- package/cjs/UNSAFE_Collapsible.js +18 -18
- package/cjs/UNSAFE_ComboChart.js +38 -38
- package/cjs/UNSAFE_ComponentMessage.js +19 -19
- package/cjs/UNSAFE_ConveyorBelt.js +16 -16
- package/cjs/UNSAFE_DatePicker.js +24 -24
- package/cjs/UNSAFE_Diagram.js +21 -21
- package/cjs/UNSAFE_Dialog.js +21 -21
- package/cjs/UNSAFE_DragHandle.js +18 -18
- package/cjs/UNSAFE_DrawerLayout.js +12 -12
- package/cjs/UNSAFE_DrawerPopup.js +11 -11
- package/cjs/UNSAFE_Dropdown.js +13 -13
- package/cjs/UNSAFE_Environment.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +23 -23
- package/cjs/UNSAFE_FilePicker.js +4 -4
- package/cjs/UNSAFE_Flex.js +4 -4
- package/cjs/UNSAFE_Floating.js +11 -11
- package/cjs/UNSAFE_FormLayout.js +2 -2
- package/cjs/UNSAFE_Gantt.js +23 -23
- package/cjs/UNSAFE_Grid.js +4 -4
- package/cjs/UNSAFE_HighlightText.js +4 -4
- package/cjs/UNSAFE_Icon.js +16 -16
- package/cjs/UNSAFE_IconButton.js +16 -16
- package/cjs/UNSAFE_IconMenuButton.js +21 -21
- package/cjs/UNSAFE_IconProgressButton.js +19 -19
- package/cjs/UNSAFE_IconToggleButton.js +16 -16
- package/cjs/UNSAFE_Indexer.js +6 -6
- package/cjs/UNSAFE_InputDateMask.js +24 -24
- package/cjs/UNSAFE_InputDatePicker.js +32 -32
- package/cjs/UNSAFE_InputPassword.js +23 -23
- package/cjs/UNSAFE_InputSensitiveText.js +25 -25
- package/cjs/UNSAFE_InputText.js +26 -26
- package/cjs/UNSAFE_InputTimeMask.js +24 -24
- package/cjs/UNSAFE_Label.js +23 -23
- package/cjs/UNSAFE_LabelValueLayout.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +24 -24
- package/cjs/UNSAFE_Layer.js +8 -8
- package/cjs/UNSAFE_Legend.js +24 -24
- package/cjs/UNSAFE_LineAreaChart.js +38 -38
- package/cjs/UNSAFE_Link.js +2 -2
- package/cjs/UNSAFE_ListItemLayout.js +5 -5
- package/cjs/UNSAFE_ListView.js +28 -28
- package/cjs/UNSAFE_LiveRegion.js +4 -4
- package/cjs/UNSAFE_Menu.js +23 -23
- package/cjs/UNSAFE_MenuButton.js +21 -21
- package/cjs/UNSAFE_MessageBanner.js +19 -19
- package/cjs/UNSAFE_MessageToast.js +22 -22
- package/cjs/UNSAFE_MeterBar.js +16 -16
- package/cjs/UNSAFE_MeterCircle.js +17 -17
- package/cjs/UNSAFE_Modal.js +8 -8
- package/cjs/UNSAFE_NavigationList.js +20 -20
- package/cjs/UNSAFE_NavigationListCommon.js +18 -18
- package/cjs/UNSAFE_NumberInputText.js +25 -25
- package/cjs/UNSAFE_OverflowTabBar.js +24 -24
- package/cjs/UNSAFE_PictoChart.js +14 -14
- package/cjs/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/cjs/UNSAFE_PieChart.js +21 -21
- package/cjs/UNSAFE_Popup.js +16 -16
- package/cjs/UNSAFE_ProgressBar.js +5 -5
- package/cjs/UNSAFE_ProgressButton.js +19 -19
- package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/cjs/UNSAFE_ProgressCircle.js +4 -4
- package/cjs/UNSAFE_RadioItem.js +23 -23
- package/cjs/UNSAFE_RadioSet.js +23 -23
- package/cjs/UNSAFE_RatingGauge.js +17 -17
- package/cjs/UNSAFE_ReorderableTabBar.js +24 -24
- package/cjs/UNSAFE_RichCheckboxSet.js +39 -37
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichRadioSet.js +25 -25
- package/cjs/UNSAFE_RichSelectionItem.js +196 -59
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_ScatterChart.js +38 -38
- package/cjs/UNSAFE_SectionalLegend.js +25 -25
- package/cjs/UNSAFE_SelectMultiple.js +30 -30
- package/cjs/UNSAFE_SelectSingle.js +30 -30
- package/cjs/UNSAFE_SelectionCard.js +5 -5
- package/cjs/UNSAFE_Selector.js +16 -16
- package/cjs/UNSAFE_SelectorAll.js +20 -20
- package/cjs/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/cjs/UNSAFE_Sheet.js +11 -11
- package/cjs/UNSAFE_SplitMenuButton.js +21 -21
- package/cjs/UNSAFE_TabBar.js +25 -25
- package/cjs/UNSAFE_TabBarCommon.js +25 -25
- package/cjs/UNSAFE_TabBarMixed.js +26 -26
- package/cjs/UNSAFE_TableView.js +24 -24
- package/cjs/UNSAFE_TagCloud.js +23 -23
- package/cjs/UNSAFE_TextArea.js +29 -28
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +28 -28
- package/cjs/UNSAFE_TextField.js +7 -7
- package/cjs/UNSAFE_ToggleButton.js +3 -3
- package/cjs/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/cjs/UNSAFE_Toolbar.js +4 -4
- package/cjs/UNSAFE_Train.js +17 -17
- package/cjs/UNSAFE_TruncatingBadge.js +18 -18
- package/cjs/UNSAFE_TruncatingText.js +17 -17
- package/cjs/UNSAFE_UserAssistance.js +24 -24
- package/cjs/UNSAFE_View.js +7 -7
- package/cjs/UNSAFE_VirtualizedListView.js +20 -20
- package/cjs/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/cjs/UNSAFE_VisProgressiveLoader.js +6 -6
- package/cjs/UNSAFE_VisStatusMessage.js +6 -6
- package/cjs/UNSAFE_WindowOverlay.js +4 -4
- package/cjs/View-145a402d.js +170 -0
- package/cjs/View-145a402d.js.map +1 -0
- package/cjs/VisNoData-210b0385.js +35 -0
- package/cjs/VisNoData-210b0385.js.map +1 -0
- package/cjs/VisProgressiveLoader-5ed4eb9d.js +53 -0
- package/cjs/VisProgressiveLoader-5ed4eb9d.js.map +1 -0
- package/cjs/VisTabularDatatip-a06f4ca3.js +26 -0
- package/cjs/VisTabularDatatip-a06f4ca3.js.map +1 -0
- package/cjs/WindowOverlay-de3bd373.js +112 -0
- package/cjs/WindowOverlay-de3bd373.js.map +1 -0
- package/cjs/YearsGridView-e8d7a02c.js +190 -0
- package/cjs/YearsGridView-e8d7a02c.js.map +1 -0
- package/cjs/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/cjs/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/cjs/hoc/UNSAFE_withThemeProps.js +3 -3
- package/cjs/hooks/PRIVATE_useChartContextMenu.js +20 -20
- package/cjs/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/cjs/hooks/PRIVATE_useChartEvents.js +18 -18
- package/cjs/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/cjs/hooks/PRIVATE_useCssVars.js +7 -7
- package/cjs/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/cjs/hooks/PRIVATE_useDatatip.js +12 -12
- package/cjs/hooks/PRIVATE_useFloating.js +4 -4
- package/cjs/hooks/PRIVATE_useReorderable.js +5 -5
- package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/cjs/hooks/PRIVATE_useSelection.js +4 -4
- package/cjs/hooks/PRIVATE_useTabBar.js +4 -4
- package/cjs/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/cjs/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/cjs/hooks/PRIVATE_useVisSelection.js +13 -13
- package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
- package/cjs/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/cjs/hooks/UNSAFE_useDensity.js +3 -3
- package/cjs/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/cjs/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/cjs/hooks/UNSAFE_useScale.js +3 -3
- package/cjs/hooks/UNSAFE_useTestId.js +3 -3
- package/cjs/hooks/UNSAFE_useTheme.js +3 -3
- package/cjs/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/cjs/hooks/UNSAFE_useTooltip.js +17 -17
- package/cjs/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/cjs/hooks/UNSAFE_useUser.js +3 -3
- package/cjs/index-8c93d858.js +13 -0
- package/cjs/index-8c93d858.js.map +1 -0
- package/cjs/listViewSelectionTests-858bb12a.js +3 -3
- package/cjs/render-bc47fc7e.js +41 -0
- package/cjs/render-bc47fc7e.js.map +1 -0
- package/cjs/tabbableUtils-b14a04ea.js +81 -0
- package/cjs/tabbableUtils-b14a04ea.js.map +1 -0
- package/cjs/testData-c996c33b.js +271 -0
- package/cjs/testData-c996c33b.js.map +1 -0
- package/cjs/tooltipUtils-2228b0f7.js +97 -0
- package/cjs/tooltipUtils-2228b0f7.js.map +1 -0
- package/cjs/useCellNavigation-6f7cd4c8.js +1 -1
- package/cjs/useChartContextMenu-d114824a.js +2 -2
- package/cjs/useChartDatatip-538a4577.js +166 -0
- package/cjs/useChartDatatip-538a4577.js.map +1 -0
- package/cjs/useColorScheme-e6bef5a4.js +21 -0
- package/cjs/useColorScheme-e6bef5a4.js.map +1 -0
- package/cjs/useContextMenu-3ebf8f80.js +2 -2
- package/cjs/useCssVars-9bea15a9.js +60 -0
- package/cjs/useCssVars-9bea15a9.js.map +1 -0
- package/cjs/useCurrentBgColor-6835bf45.js +21 -0
- package/cjs/useCurrentBgColor-6835bf45.js.map +1 -0
- package/cjs/useCurrentKey-d8d41864.js +83 -0
- package/cjs/useCurrentKey-d8d41864.js.map +1 -0
- package/cjs/useDatatip-1dda9a86.js +89 -0
- package/cjs/useDatatip-1dda9a86.js.map +1 -0
- package/cjs/useDensity-38283c57.js +21 -0
- package/cjs/useDensity-38283c57.js.map +1 -0
- package/cjs/useFloating-c9e127d3.js +1926 -0
- package/cjs/useFloating-c9e127d3.js.map +1 -0
- package/cjs/useKeyboardEvents-7ab0d8ee.js +81 -0
- package/cjs/useKeyboardEvents-7ab0d8ee.js.map +1 -0
- package/cjs/useLegendContextMenu-82be007a.js +4 -4
- package/cjs/useMeterDatatip-945883f5.js +77 -0
- package/cjs/useMeterDatatip-945883f5.js.map +1 -0
- package/cjs/useOutsideClick-ad999b14.js +103 -0
- package/cjs/useOutsideClick-ad999b14.js.map +1 -0
- package/cjs/usePopupAnimation-b911e9ed.js +87 -0
- package/cjs/usePopupAnimation-b911e9ed.js.map +1 -0
- package/cjs/usePrefixSuffix-1de3a724.js +72 -0
- package/cjs/usePrefixSuffix-1de3a724.js.map +1 -0
- package/cjs/useReorderableItem-5fc4d599.js +271 -0
- package/cjs/useReorderableItem-5fc4d599.js.map +1 -0
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js +100 -0
- package/cjs/useRovingTabIndexContainer-bbdf3acd.js.map +1 -0
- package/cjs/useScale-a47864b4.js +21 -0
- package/cjs/useScale-a47864b4.js.map +1 -0
- package/cjs/useSelectCommon-5b46ac60.js +11 -11
- package/cjs/useSelectDrill-51fdccac.js +106 -0
- package/cjs/useSelectDrill-51fdccac.js.map +1 -0
- package/cjs/useSelection-0dbc2f40.js +241 -0
- package/cjs/useSelection-0dbc2f40.js.map +1 -0
- package/cjs/useSelection-8362b6c6.js +187 -0
- package/cjs/useSelection-8362b6c6.js.map +1 -0
- package/cjs/useTabBar-048ffd9f.js +1 -1
- package/cjs/useTestId-e267a39d.js +23 -0
- package/cjs/useTestId-e267a39d.js.map +1 -0
- package/cjs/useTheme-6cedf9c8.js +21 -0
- package/cjs/useTheme-6cedf9c8.js.map +1 -0
- package/cjs/useThemeInterpolations-316c1636.js +59 -0
- package/cjs/useThemeInterpolations-316c1636.js.map +1 -0
- package/cjs/useTooltip-ea036f82.js +51 -0
- package/cjs/useTooltip-ea036f82.js.map +1 -0
- package/cjs/useTooltipControlled-61581889.js +371 -0
- package/cjs/useTooltipControlled-61581889.js.map +1 -0
- package/cjs/useTranslationBundle-6b0281a9.js +31 -0
- package/cjs/useTranslationBundle-6b0281a9.js.map +1 -0
- package/cjs/useUser-8aaad5a7.js +21 -0
- package/cjs/useUser-8aaad5a7.js.map +1 -0
- package/cjs/useVisDragModeControls-95caebc9.js +1 -1
- package/cjs/useVisEvents-99f1bf51.js +155 -0
- package/cjs/useVisEvents-99f1bf51.js.map +1 -0
- package/cjs/utils/PRIVATE_tooltipUtils.js +14 -14
- package/cjs/utils/PRIVATE_visTestUtils.js +5 -5
- package/cjs/withDirectionIcon-7f758093.js +16 -0
- package/cjs/withDirectionIcon-7f758093.js.map +1 -0
- package/cjs/withThemeProps-6e15f1c3.js +2 -2
- package/es/ActionCard-e64b1771.js +1 -1
- package/es/AvatarVariants.styles.css +25 -25
- package/es/AvatarVariants.styles2.css +25 -25
- package/es/BarChart-a3209793.js +1 -1
- package/es/BarGroup-740cd159.js +1 -1
- package/es/BaseButton-3ce1f027.js +2 -2
- package/es/BaseCardView-229fa119.js +683 -0
- package/es/BaseCardView-229fa119.js.map +1 -0
- package/es/BaseCardViewSelectionTest-cf72be09.js +721 -0
- package/es/BaseCardViewSelectionTest-cf72be09.js.map +1 -0
- package/es/BaseNavigationListItem-530bc3df.js +1 -1
- package/es/BaseRichSelection-9fa49816.js +8 -8
- package/es/ButtonSet-51dcff96.js +2 -2
- package/es/ButtonSetIconButton-536c1045.js +3 -3
- package/es/Card-de0aef24.js +15 -0
- package/es/Card-de0aef24.js.map +1 -0
- package/es/CardFlexView-3ef6bf4d.js +27 -0
- package/es/CardFlexView-3ef6bf4d.js.map +1 -0
- package/es/CardGridView-e15226c9.js +15 -0
- package/es/CardGridView-e15226c9.js.map +1 -0
- package/es/Center-9f355d44.js +16 -0
- package/es/Center-9f355d44.js.map +1 -0
- package/es/Chart-b97e00f1.js +8 -8
- package/es/CheckboxControl-ee327a6d.js +6 -6
- package/es/CheckboxRadioField-a4db2c10.js +6 -6
- package/es/CheckboxSet-3c3b7c71.js +49 -0
- package/es/CheckboxSet-3c3b7c71.js.map +1 -0
- package/es/Chip-8554d3ff.js +1 -1
- package/es/ClearIcon-95064ad6.js +1 -1
- package/es/CollapseIcon-4e943f42.js +1 -1
- package/es/Collapsible-cb2ba356.js +2 -2
- package/es/ComboChart-b8c2be4d.js +2 -2
- package/es/CompactHelpSource-9c0d4cb4.js +2 -2
- package/es/CompactLabelAssistance-7912767d.js +34 -0
- package/es/CompactLabelAssistance-7912767d.js.map +1 -0
- package/es/CompactUserAssistance-12950e48.js +4 -4
- package/es/ComponentMessageContainer-f2837e7f.js +4 -4
- package/es/ConveyorBeltItem-188fcaf0.js +2 -2
- package/es/DatePicker-38a71007.js +564 -0
- package/es/DatePicker-38a71007.js.map +1 -0
- package/es/DatePickerHeader-5806fbea.js +3 -3
- package/es/Diagram-ee9ec4a9.js +2026 -0
- package/es/Diagram-ee9ec4a9.js.map +1 -0
- package/es/Dialog-2248109e.js +316 -0
- package/es/Dialog-2248109e.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-daafb64c.js +1 -1
- package/es/DirectionalExpandArrowIcon-35def552.js +1 -1
- package/es/DragHandle-5cba8c4b.js +22 -0
- package/es/DragHandle-5cba8c4b.js.map +1 -0
- package/es/Dropdown-f7fbfa81.js +80 -0
- package/es/Dropdown-f7fbfa81.js.map +1 -0
- package/es/EnvironmentProvider-a3819bde.js +58 -0
- package/es/EnvironmentProvider-a3819bde.js.map +1 -0
- package/es/ExpandableList-478db30a.js +4 -4
- package/es/FilePicker-ecfad7d4.js +2 -2
- package/es/Flex-2d51e914.js +30 -0
- package/es/Flex-2d51e914.js.map +1 -0
- package/es/Floating-c13f9f62.js +462 -0
- package/es/Floating-c13f9f62.js.map +1 -0
- package/es/FormLayout-2efb00f6.js +1 -1
- package/es/Gantt-0adf9527.js +9 -9
- package/es/Grid-c2385b22.js +27 -0
- package/es/Grid-c2385b22.js.map +1 -0
- package/es/Gridlines-89b5506f.js +168 -0
- package/es/Gridlines-89b5506f.js.map +1 -0
- package/es/GroupLoadingIndicator-63035d08.js +2 -2
- package/es/HighlightText-d505bf35.js +31 -0
- package/es/HighlightText-d505bf35.js.map +1 -0
- package/es/Icon-bdd49f29.js +3 -3
- package/es/IconButton-62cd1cf9.js +3 -3
- package/es/IconMenuButton-242dc102.js +3 -3
- package/es/IconProgressButton-193d58bf.js +3 -3
- package/es/IconSwitchButton-a92911d0.js +3 -3
- package/es/IconToggleButton-fb7ccce9.js +3 -3
- package/es/IconUserAssistance-2b494a2e.js +73 -0
- package/es/IconUserAssistance-2b494a2e.js.map +1 -0
- package/es/Indexer-eb00ba0b.js +336 -0
- package/es/Indexer-eb00ba0b.js.map +1 -0
- package/es/InlineHelpSource-fcdcd122.js +1 -1
- package/es/InlineUserAssistance-04cce83e.js +5 -5
- package/es/InputDateMask-23aef570.js +7 -7
- package/es/InputDatePicker-59bbd31d.js +307 -0
- package/es/InputDatePicker-59bbd31d.js.map +1 -0
- package/es/InputPassword-2c87ceb9.js +4 -4
- package/es/InputText-3701adf8.js +6 -6
- package/es/Label-6d90e627.js +5 -5
- package/es/LabelValueLayout-bcf482be.js +1 -1
- package/es/Layer-7497a324.js +88 -0
- package/es/Layer-7497a324.js.map +1 -0
- package/es/LayerHost-7a2149f5.js +40 -0
- package/es/LayerHost-7a2149f5.js.map +1 -0
- package/es/LayerManager-be34be40.js +34 -0
- package/es/LayerManager-be34be40.js.map +1 -0
- package/es/Legend-588633b2.js +3 -3
- package/es/LineAreaChart-d6924882.js +170 -0
- package/es/LineAreaChart-d6924882.js.map +1 -0
- package/es/LineSeries-00fa2ab7.js +109 -0
- package/es/LineSeries-00fa2ab7.js.map +1 -0
- package/es/Link-9f8b5c41.js +1 -1
- package/es/List-e6886091.js +717 -0
- package/es/List-e6886091.js.map +1 -0
- package/es/ListItemLayout-b3d899d6.js +110 -0
- package/es/ListItemLayout-b3d899d6.js.map +1 -0
- package/es/ListView-137e31fd.js +428 -0
- package/es/ListView-137e31fd.js.map +1 -0
- package/es/LiveRegion-5302331c.js +39 -0
- package/es/LiveRegion-5302331c.js.map +1 -0
- package/es/LoadMoreCollection-7df1be36.js +31 -0
- package/es/LoadMoreCollection-7df1be36.js.map +1 -0
- package/es/MaxLengthCounter-181b4fc9.js +25 -0
- package/es/MaxLengthCounter-181b4fc9.js.map +1 -0
- package/es/MaxLengthLiveRegion-9b386b63.js +23 -0
- package/es/MaxLengthLiveRegion-9b386b63.js.map +1 -0
- package/es/Menu-a37635b8.js +6 -6
- package/es/MenuButton-422a74de.js +2 -2
- package/es/MenuItem-831dfd05.js +1 -1
- package/es/Message-9d1504b6.js +2 -2
- package/es/MessageLayer-9ea7cf82.js +58 -0
- package/es/MessageLayer-9ea7cf82.js.map +1 -0
- package/es/MessageToast-7058b181.js +8 -8
- package/es/MessagesManager-9dd3eb3d.js +3 -3
- package/es/MeterBar-551d32db.js +5 -5
- package/es/MeterCircle-5e2ee267.js +5 -5
- package/es/Modal-1710fdd2.js +262 -0
- package/es/Modal-1710fdd2.js.map +1 -0
- package/es/MonthView-9c0b40f1.js +208 -0
- package/es/MonthView-9c0b40f1.js.map +1 -0
- package/es/NavigationListItem-5b25b2f5.js +5 -5
- package/es/NumberInputText-58e80ab7.js +6 -6
- package/es/OverflowTabBarItem-08625093.js +3 -3
- package/es/PRIVATE_BaseCardView.js +25 -25
- package/es/PRIVATE_Chart.js +31 -31
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +24 -24
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_DatePickerHeader.js +19 -19
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/DragV.js +16 -16
- package/es/PRIVATE_Icons/WarningS.js +16 -16
- package/es/PRIVATE_List.js +24 -24
- package/es/PRIVATE_LoadMoreCollection.js +2 -2
- package/es/PRIVATE_Message.js +19 -19
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +17 -17
- package/es/PRIVATE_RichSelectionCommon.js +25 -25
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_Table.js +27 -27
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +18 -18
- package/es/PRIVATE_VirtualizedCollection.js +2 -2
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-3f059ad1.js +6 -6
- package/es/PieChart-ca02932e.js +6 -6
- package/es/Popup-a4be2769.js +247 -0
- package/es/Popup-a4be2769.js.map +1 -0
- package/es/ProgressBar-4fbb27ab.js +62 -0
- package/es/ProgressBar-4fbb27ab.js.map +1 -0
- package/es/ProgressButton-2497c81b.js +3 -3
- package/es/ProgressButtonLabelLayout-bfc7c805.js +3 -3
- package/es/ProgressCircle-2d3833fa.js +48 -0
- package/es/ProgressCircle-2d3833fa.js.map +1 -0
- package/es/RadioItem-35f68420.js +6 -6
- package/es/RatingGauge-5346d0bf.js +7 -7
- package/es/ReadonlyTextFieldInput-a15badb6.js +1 -1
- package/es/RemovableNavigationListItem-29fdaddc.js +1 -1
- package/es/RemovableTabBarItem-1cc7a0ca.js +2 -2
- package/es/ReorderableTabBar-b9019d0a.js +3 -3
- package/es/RevealToggleIcon-51514e37.js +1 -1
- package/es/ScatterChart-d26d4ea9.js +103 -0
- package/es/ScatterChart-d26d4ea9.js.map +1 -0
- package/es/SectionalLegend-c71d48a3.js +4 -4
- package/es/SectionedContent-2d0a744d.js +64 -0
- package/es/SectionedContent-2d0a744d.js.map +1 -0
- package/es/SelectMultiple-488a49d1.js +1303 -0
- package/es/SelectMultiple-488a49d1.js.map +1 -0
- package/es/SelectSingle-e8b9a33a.js +736 -0
- package/es/SelectSingle-e8b9a33a.js.map +1 -0
- package/es/SelectionCard-792c249d.js +16 -0
- package/es/SelectionCard-792c249d.js.map +1 -0
- package/es/Selector-5892544f.js +1 -1
- package/es/SelectorAll-ab748274.js +69 -0
- package/es/SelectorAll-ab748274.js.map +1 -0
- package/es/Sheet-31e6970c.js +158 -0
- package/es/Sheet-31e6970c.js.map +1 -0
- package/es/SplitMenuButton-3dbd83b7.js +2 -2
- package/es/StyledCard-6913b45c.js +105 -0
- package/es/StyledCard-6913b45c.js.map +1 -0
- package/es/StyledTextField-ebb5409d.js +3 -3
- package/es/TabBar-fb7f97d2.js +5 -5
- package/es/TabBarItem-252cba76.js +3 -3
- package/es/TabBarLayout-8caaa060.js +1 -1
- package/es/TabBarMixed-f60c2c7a.js +5 -5
- package/es/TabBarMixedSeparator-16c88691.js +19 -0
- package/es/TabBarMixedSeparator-16c88691.js.map +1 -0
- package/es/Table-3cfb9443.js +5509 -0
- package/es/Table-3cfb9443.js.map +1 -0
- package/es/TableView-fd5104cd.js +31 -0
- package/es/TableView-fd5104cd.js.map +1 -0
- package/es/TagCloud-f7e50ac4.js +8 -8
- package/es/TextArea-7230675f.js +160 -0
- package/es/TextArea-7230675f.js.map +1 -0
- package/es/TextAreaAutosize-0d293016.js +244 -0
- package/es/TextAreaAutosize-0d293016.js.map +1 -0
- package/es/TextField-cb494638.js +3 -3
- package/es/TextFieldInput-3c2e920d.js +1 -1
- package/es/Theme-redwood/theme.css +1151 -1151
- package/es/Theme-stable/theme.css +404 -404
- package/es/TimeComponentCanvas2D-2a4a0c94.js +5 -5
- package/es/Toolbar-7676795b.js +1 -1
- package/es/TruncatingBadge-0f04b894.js +34 -0
- package/es/TruncatingBadge-0f04b894.js.map +1 -0
- package/es/TruncatingText-ccad557f.js +48 -0
- package/es/TruncatingText-ccad557f.js.map +1 -0
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_Avatar/themes/redwood/AvatarTheme.js +1 -1
- package/es/UNSAFE_Avatar/themes/redwood/AvatarVariants.css.js +1 -1
- package/es/UNSAFE_Avatar/themes/stable/AvatarTheme.js +1 -1
- package/es/UNSAFE_Avatar/themes/stable/AvatarVariants.css.js +1 -1
- package/es/UNSAFE_Avatar.js +1 -1
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +31 -31
- package/es/UNSAFE_BarChart.js +31 -31
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +21 -21
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +16 -16
- package/es/UNSAFE_ButtonSetItem.js +16 -16
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +26 -26
- package/es/UNSAFE_CardGridView.js +26 -26
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_ChartWithLegend.js +4 -4
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +103 -52
- package/es/UNSAFE_CheckboxItem.js.map +1 -1
- package/es/UNSAFE_CheckboxSet.js +33 -67
- package/es/UNSAFE_CheckboxSet.js.map +1 -1
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ComboChart.js +33 -33
- package/es/UNSAFE_ComponentMessage.js +19 -19
- package/es/UNSAFE_ConveyorBelt.js +16 -16
- package/es/UNSAFE_DatePicker.js +24 -24
- package/es/UNSAFE_Diagram.js +21 -21
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +18 -18
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +26 -26
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +16 -16
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +19 -19
- package/es/UNSAFE_IconToggleButton.js +16 -16
- package/es/UNSAFE_Indexer.js +8 -8
- package/es/UNSAFE_InputDateMask.js +24 -24
- package/es/UNSAFE_InputDatePicker.js +113 -113
- package/es/UNSAFE_InputPassword.js +23 -23
- package/es/UNSAFE_InputSensitiveText.js +25 -25
- package/es/UNSAFE_InputText.js +26 -26
- package/es/UNSAFE_InputTimeMask.js +24 -24
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +24 -24
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +24 -24
- package/es/UNSAFE_LineAreaChart.js +34 -34
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +33 -33
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +21 -21
- package/es/UNSAFE_MessageBanner.js +19 -19
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NavigationList.js +20 -20
- package/es/UNSAFE_NavigationListCommon.js +18 -18
- package/es/UNSAFE_NumberInputText.js +25 -25
- package/es/UNSAFE_OverflowTabBar.js +24 -24
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +21 -21
- package/es/UNSAFE_PieChart.js +21 -21
- package/es/UNSAFE_Popup.js +16 -16
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +19 -19
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +23 -23
- package/es/UNSAFE_RadioSet.js +23 -23
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +24 -24
- package/es/UNSAFE_RichCheckboxSet.js +38 -36
- package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/es/UNSAFE_RichRadioSet.js +25 -25
- package/es/UNSAFE_RichSelectionItem.js +195 -58
- package/es/UNSAFE_RichSelectionItem.js.map +1 -1
- package/es/UNSAFE_ScatterChart.js +34 -34
- package/es/UNSAFE_SectionalLegend.js +25 -25
- package/es/UNSAFE_SelectMultiple.js +36 -36
- package/es/UNSAFE_SelectSingle.js +36 -36
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +16 -16
- package/es/UNSAFE_SelectorAll.js +20 -20
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +14 -14
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_SplitMenuButton.js +21 -21
- package/es/UNSAFE_TabBar.js +25 -25
- package/es/UNSAFE_TabBarCommon.js +25 -25
- package/es/UNSAFE_TabBarMixed.js +26 -26
- package/es/UNSAFE_TableView.js +28 -28
- package/es/UNSAFE_TagCloud.js +23 -23
- package/es/UNSAFE_TextArea.js +28 -27
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +28 -28
- package/es/UNSAFE_TextField.js +7 -7
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +23 -23
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TruncatingBadge.js +18 -18
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +25 -25
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/View-a8a64eb1.js +167 -0
- package/es/View-a8a64eb1.js.map +1 -0
- package/es/VirtualizedCollection-f048fbb8.js +176 -0
- package/es/VirtualizedCollection-f048fbb8.js.map +1 -0
- package/es/VirtualizedListView-0532e46c.js +14 -0
- package/es/VirtualizedListView-0532e46c.js.map +1 -0
- package/es/VisNoData-794ddc21.js +32 -0
- package/es/VisNoData-794ddc21.js.map +1 -0
- package/es/VisProgressiveLoader-66dde1ff.js +51 -0
- package/es/VisProgressiveLoader-66dde1ff.js.map +1 -0
- package/es/VisTabularDatatip-6aa607bb.js +24 -0
- package/es/VisTabularDatatip-6aa607bb.js.map +1 -0
- package/es/WindowOverlay-de5d0819.js +110 -0
- package/es/WindowOverlay-de5d0819.js.map +1 -0
- package/es/YearsGridView-cb510d1e.js +187 -0
- package/es/YearsGridView-cb510d1e.js.map +1 -0
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +20 -20
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +18 -18
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useVisContextMenu.js +20 -20
- package/es/hooks/PRIVATE_useVisDragModeControls.js +18 -18
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/index-f4c1d6de.js +11 -0
- package/es/index-f4c1d6de.js.map +1 -0
- package/es/listViewSelectionTests-79aa17b2.js +3 -3
- package/es/render-9dce082a.js +34 -0
- package/es/render-9dce082a.js.map +1 -0
- package/es/tabbableUtils-93a7cd6f.js +79 -0
- package/es/tabbableUtils-93a7cd6f.js.map +1 -0
- package/es/testData-a9ced8ec.js +256 -0
- package/es/testData-a9ced8ec.js.map +1 -0
- package/es/tooltipUtils-fcfd7dbb.js +92 -0
- package/es/tooltipUtils-fcfd7dbb.js.map +1 -0
- package/es/useCellNavigation-00d575ca.js +1 -1
- package/es/useChartContextMenu-121a5f6d.js +2 -2
- package/es/useChartDatatip-c929f857.js +164 -0
- package/es/useChartDatatip-c929f857.js.map +1 -0
- package/es/useColorScheme-f69d53b5.js +19 -0
- package/es/useColorScheme-f69d53b5.js.map +1 -0
- package/es/useContextMenu-8c47333e.js +2 -2
- package/es/useCssVars-48595cd2.js +58 -0
- package/es/useCssVars-48595cd2.js.map +1 -0
- package/es/useCurrentBgColor-894d059b.js +19 -0
- package/es/useCurrentBgColor-894d059b.js.map +1 -0
- package/es/useCurrentKey-aa75ec92.js +81 -0
- package/es/useCurrentKey-aa75ec92.js.map +1 -0
- package/es/useDatatip-40475371.js +87 -0
- package/es/useDatatip-40475371.js.map +1 -0
- package/es/useDensity-04a01caf.js +19 -0
- package/es/useDensity-04a01caf.js.map +1 -0
- package/es/useFloating-dad3f791.js +1916 -0
- package/es/useFloating-dad3f791.js.map +1 -0
- package/es/useKeyboardEvents-b02e5fda.js +78 -0
- package/es/useKeyboardEvents-b02e5fda.js.map +1 -0
- package/es/useLegendContextMenu-1043d63c.js +4 -4
- package/es/useMeterDatatip-4adf64f2.js +74 -0
- package/es/useMeterDatatip-4adf64f2.js.map +1 -0
- package/es/useOutsideClick-c19a8d7f.js +101 -0
- package/es/useOutsideClick-c19a8d7f.js.map +1 -0
- package/es/usePopupAnimation-267b444c.js +85 -0
- package/es/usePopupAnimation-267b444c.js.map +1 -0
- package/es/usePrefixSuffix-995d4cda.js +70 -0
- package/es/usePrefixSuffix-995d4cda.js.map +1 -0
- package/es/useReorderableItem-7f7c13b5.js +268 -0
- package/es/useReorderableItem-7f7c13b5.js.map +1 -0
- package/es/useRovingTabIndexContainer-7ec9f36f.js +98 -0
- package/es/useRovingTabIndexContainer-7ec9f36f.js.map +1 -0
- package/es/useScale-3b323ab2.js +19 -0
- package/es/useScale-3b323ab2.js.map +1 -0
- package/es/useSelectCommon-af8e715e.js +686 -0
- package/es/useSelectCommon-af8e715e.js.map +1 -0
- package/es/useSelectDrill-232b571c.js +103 -0
- package/es/useSelectDrill-232b571c.js.map +1 -0
- package/es/useSelection-bbd2320f.js +185 -0
- package/es/useSelection-bbd2320f.js.map +1 -0
- package/es/useSelection-c46ba985.js +239 -0
- package/es/useSelection-c46ba985.js.map +1 -0
- package/es/useTabBar-efad9075.js +1 -1
- package/es/useTestId-af32a9eb.js +21 -0
- package/es/useTestId-af32a9eb.js.map +1 -0
- package/es/useTheme-73aca0e4.js +19 -0
- package/es/useTheme-73aca0e4.js.map +1 -0
- package/es/useThemeInterpolations-242b30ed.js +57 -0
- package/es/useThemeInterpolations-242b30ed.js.map +1 -0
- package/es/useTooltip-72f5cf2e.js +49 -0
- package/es/useTooltip-72f5cf2e.js.map +1 -0
- package/es/useTooltipControlled-97142fd1.js +368 -0
- package/es/useTooltipControlled-97142fd1.js.map +1 -0
- package/es/useTranslationBundle-6da03e52.js +29 -0
- package/es/useTranslationBundle-6da03e52.js.map +1 -0
- package/es/useUser-bca8cf2d.js +19 -0
- package/es/useUser-bca8cf2d.js.map +1 -0
- package/es/useVisDragModeControls-4d8d8a3b.js +1 -1
- package/es/useVisEvents-37c78cfe.js +153 -0
- package/es/useVisEvents-37c78cfe.js.map +1 -0
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/withDirectionIcon-389870a2.js +14 -0
- package/es/withDirectionIcon-389870a2.js.map +1 -0
- package/es/withThemeProps-6545df54.js +2 -2
- package/package.json +2 -2
- package/amd/BaseCardView-70b177ed.js +0 -2
- package/amd/BaseCardView-70b177ed.js.map +0 -1
- package/amd/BaseCardViewSelectionTest-0ec52156.js +0 -2
- package/amd/BaseCardViewSelectionTest-0ec52156.js.map +0 -1
- package/amd/Card-f6f2dc90.js +0 -2
- package/amd/Card-f6f2dc90.js.map +0 -1
- package/amd/CardFlexView-bb5c4369.js +0 -2
- package/amd/CardFlexView-bb5c4369.js.map +0 -1
- package/amd/CardGridView-c28ff2f7.js +0 -2
- package/amd/CardGridView-c28ff2f7.js.map +0 -1
- package/amd/Center-b449a95c.js +0 -2
- package/amd/Center-b449a95c.js.map +0 -1
- package/amd/CompactLabelAssistance-44ba87b0.js +0 -2
- package/amd/CompactLabelAssistance-44ba87b0.js.map +0 -1
- package/amd/DatePicker-2c94a3bb.js +0 -2
- package/amd/DatePicker-2c94a3bb.js.map +0 -1
- package/amd/Diagram-c3afb211.js +0 -2
- package/amd/Diagram-c3afb211.js.map +0 -1
- package/amd/Dialog-53f92591.js +0 -2
- package/amd/Dialog-53f92591.js.map +0 -1
- package/amd/DragHandle-699fefd6.js +0 -2
- package/amd/DragHandle-699fefd6.js.map +0 -1
- package/amd/Dropdown-4b421eff.js +0 -2
- package/amd/Dropdown-4b421eff.js.map +0 -1
- package/amd/EnvironmentProvider-8f6fc388.js +0 -2
- package/amd/EnvironmentProvider-8f6fc388.js.map +0 -1
- package/amd/Flex-56ecdf4c.js +0 -2
- package/amd/Flex-56ecdf4c.js.map +0 -1
- package/amd/Floating-1ec5ec2a.js +0 -2
- package/amd/Floating-1ec5ec2a.js.map +0 -1
- package/amd/Grid-160f4885.js +0 -2
- package/amd/Grid-160f4885.js.map +0 -1
- package/amd/Gridlines-7851bb20.js +0 -2
- package/amd/Gridlines-7851bb20.js.map +0 -1
- package/amd/HighlightText-bd4c0101.js +0 -2
- package/amd/HighlightText-bd4c0101.js.map +0 -1
- package/amd/IconUserAssistance-d2bd2691.js +0 -2
- package/amd/IconUserAssistance-d2bd2691.js.map +0 -1
- package/amd/Indexer-357554c4.js +0 -2
- package/amd/Indexer-357554c4.js.map +0 -1
- package/amd/Layer-447c68e6.js +0 -2
- package/amd/Layer-447c68e6.js.map +0 -1
- package/amd/LayerHost-e95c5f30.js +0 -2
- package/amd/LayerHost-e95c5f30.js.map +0 -1
- package/amd/LayerManager-76fcfb58.js +0 -2
- package/amd/LayerManager-76fcfb58.js.map +0 -1
- package/amd/LineAreaChart-b4acee62.js +0 -2
- package/amd/LineAreaChart-b4acee62.js.map +0 -1
- package/amd/LineSeries-a549e727.js +0 -2
- package/amd/LineSeries-a549e727.js.map +0 -1
- package/amd/List-04c4fed0.js +0 -2
- package/amd/List-04c4fed0.js.map +0 -1
- package/amd/ListItemLayout-4208363c.js +0 -2
- package/amd/ListItemLayout-4208363c.js.map +0 -1
- package/amd/ListView-bf740071.js +0 -2
- package/amd/ListView-bf740071.js.map +0 -1
- package/amd/LiveRegion-8142ed0d.js +0 -2
- package/amd/LiveRegion-8142ed0d.js.map +0 -1
- package/amd/LoadMoreCollection-a6adbc3f.js +0 -2
- package/amd/LoadMoreCollection-a6adbc3f.js.map +0 -1
- package/amd/MaxLengthLiveRegion-8954fc30.js +0 -2
- package/amd/MaxLengthLiveRegion-8954fc30.js.map +0 -1
- package/amd/MessageLayer-ba56f7e2.js +0 -2
- package/amd/MessageLayer-ba56f7e2.js.map +0 -1
- package/amd/Modal-d6b2e905.js +0 -2
- package/amd/Modal-d6b2e905.js.map +0 -1
- package/amd/MonthView-4a0401cd.js +0 -2
- package/amd/MonthView-4a0401cd.js.map +0 -1
- package/amd/NavigationListItem-021b2d58.js +0 -2
- package/amd/NavigationListItem-021b2d58.js.map +0 -1
- package/amd/OverflowTabBar-ea3a4742.js +0 -2
- package/amd/OverflowTabBar-ea3a4742.js.map +0 -1
- package/amd/OverflowTabBarItem-763773c9.js +0 -2
- package/amd/OverflowTabBarItem-763773c9.js.map +0 -1
- package/amd/Popup-d51bf3f4.js +0 -2
- package/amd/Popup-d51bf3f4.js.map +0 -1
- package/amd/ProgressBar-3f4cd8d6.js +0 -2
- package/amd/ProgressBar-3f4cd8d6.js.map +0 -1
- package/amd/ProgressCircle-74b6fc89.js +0 -2
- package/amd/ProgressCircle-74b6fc89.js.map +0 -1
- package/amd/ScatterChart-0ca7c658.js +0 -2
- package/amd/ScatterChart-0ca7c658.js.map +0 -1
- package/amd/SectionedContent-2a261004.js +0 -2
- package/amd/SectionedContent-2a261004.js.map +0 -1
- package/amd/SelectMultiple-e3a6732b.js +0 -2
- package/amd/SelectMultiple-e3a6732b.js.map +0 -1
- package/amd/SelectSingle-9d0dca8f.js +0 -2
- package/amd/SelectSingle-9d0dca8f.js.map +0 -1
- package/amd/SelectionCard-895b014d.js +0 -2
- package/amd/SelectionCard-895b014d.js.map +0 -1
- package/amd/SelectorAll-e884a225.js +0 -2
- package/amd/SelectorAll-e884a225.js.map +0 -1
- package/amd/Sheet-46782f99.js +0 -2
- package/amd/Sheet-46782f99.js.map +0 -1
- package/amd/StyledCard-c4d0324d.js +0 -2
- package/amd/StyledCard-c4d0324d.js.map +0 -1
- package/amd/TabBarMixedSeparator-8c278254.js +0 -2
- package/amd/TabBarMixedSeparator-8c278254.js.map +0 -1
- package/amd/Table-31cc83c6.js +0 -2
- package/amd/Table-31cc83c6.js.map +0 -1
- package/amd/TableView-ab5d0c12.js +0 -2
- package/amd/TableView-ab5d0c12.js.map +0 -1
- package/amd/TruncatingBadge-04f9ef4c.js +0 -2
- package/amd/TruncatingBadge-04f9ef4c.js.map +0 -1
- package/amd/TruncatingText-d18d41c5.js +0 -2
- package/amd/TruncatingText-d18d41c5.js.map +0 -1
- package/amd/View-ce970ed7.js +0 -2
- package/amd/View-ce970ed7.js.map +0 -1
- package/amd/VirtualizedCollection-63223f5e.js +0 -2
- package/amd/VirtualizedCollection-63223f5e.js.map +0 -1
- package/amd/VirtualizedListView-554eaee6.js +0 -2
- package/amd/VirtualizedListView-554eaee6.js.map +0 -1
- package/amd/VisNoData-6fa39277.js +0 -2
- package/amd/VisNoData-6fa39277.js.map +0 -1
- package/amd/VisProgressiveLoader-68d8d8b3.js +0 -2
- package/amd/VisProgressiveLoader-68d8d8b3.js.map +0 -1
- package/amd/VisTabularDatatip-1051eaca.js +0 -2
- package/amd/VisTabularDatatip-1051eaca.js.map +0 -1
- package/amd/WindowOverlay-a2d80d55.js +0 -2
- package/amd/WindowOverlay-a2d80d55.js.map +0 -1
- package/amd/YearsGridView-d799dc5c.js +0 -2
- package/amd/YearsGridView-d799dc5c.js.map +0 -1
- package/amd/index-b7b9300d.js +0 -2
- package/amd/index-b7b9300d.js.map +0 -1
- package/amd/render-366c27ff.js +0 -2
- package/amd/render-366c27ff.js.map +0 -1
- package/amd/tabbableUtils-88d4fa35.js +0 -2
- package/amd/tabbableUtils-88d4fa35.js.map +0 -1
- package/amd/testData-783b8823.js +0 -2
- package/amd/testData-783b8823.js.map +0 -1
- package/amd/tooltipUtils-69ce0a2d.js +0 -2
- package/amd/tooltipUtils-69ce0a2d.js.map +0 -1
- package/amd/useChartDatatip-ee3783af.js +0 -2
- package/amd/useChartDatatip-ee3783af.js.map +0 -1
- package/amd/useColorScheme-10dc88de.js +0 -2
- package/amd/useColorScheme-10dc88de.js.map +0 -1
- package/amd/useCssVars-c043f8da.js +0 -2
- package/amd/useCssVars-c043f8da.js.map +0 -1
- package/amd/useCurrentBgColor-2426ee24.js +0 -2
- package/amd/useCurrentBgColor-2426ee24.js.map +0 -1
- package/amd/useCurrentKey-31c18053.js +0 -2
- package/amd/useCurrentKey-31c18053.js.map +0 -1
- package/amd/useDatatip-ac26447a.js +0 -2
- package/amd/useDatatip-ac26447a.js.map +0 -1
- package/amd/useDensity-c83df7b4.js +0 -2
- package/amd/useDensity-c83df7b4.js.map +0 -1
- package/amd/useFloating-acd30a55.js +0 -2
- package/amd/useFloating-acd30a55.js.map +0 -1
- package/amd/useKeyboardEvents-d87e3587.js +0 -2
- package/amd/useKeyboardEvents-d87e3587.js.map +0 -1
- package/amd/useMeterDatatip-fff3c329.js +0 -2
- package/amd/useMeterDatatip-fff3c329.js.map +0 -1
- package/amd/useOutsideClick-f99b7a84.js +0 -2
- package/amd/useOutsideClick-f99b7a84.js.map +0 -1
- package/amd/usePopupAnimation-f679a4b0.js +0 -2
- package/amd/usePopupAnimation-f679a4b0.js.map +0 -1
- package/amd/usePrefixSuffix-09bd5925.js +0 -2
- package/amd/usePrefixSuffix-09bd5925.js.map +0 -1
- package/amd/useReorderableItem-4c4779f7.js +0 -2
- package/amd/useReorderableItem-4c4779f7.js.map +0 -1
- package/amd/useRovingTabIndexContainer-955e23a8.js +0 -2
- package/amd/useRovingTabIndexContainer-955e23a8.js.map +0 -1
- package/amd/useScale-37d42c9d.js +0 -2
- package/amd/useScale-37d42c9d.js.map +0 -1
- package/amd/useSelectCommon-e7f123ce.js +0 -2
- package/amd/useSelectCommon-e7f123ce.js.map +0 -1
- package/amd/useSelectDrill-6361116b.js +0 -2
- package/amd/useSelectDrill-6361116b.js.map +0 -1
- package/amd/useSelection-af7b4b52.js +0 -2
- package/amd/useSelection-af7b4b52.js.map +0 -1
- package/amd/useSelection-f0c7d74d.js +0 -2
- package/amd/useSelection-f0c7d74d.js.map +0 -1
- package/amd/useTestId-3a316499.js +0 -2
- package/amd/useTestId-3a316499.js.map +0 -1
- package/amd/useTheme-ac980f9a.js +0 -2
- package/amd/useTheme-ac980f9a.js.map +0 -1
- package/amd/useThemeInterpolations-6b2de213.js +0 -2
- package/amd/useThemeInterpolations-6b2de213.js.map +0 -1
- package/amd/useTooltip-7b11fd35.js +0 -2
- package/amd/useTooltip-7b11fd35.js.map +0 -1
- package/amd/useTooltipControlled-52183a08.js +0 -2
- package/amd/useTooltipControlled-52183a08.js.map +0 -1
- package/amd/useTranslationBundle-516b1b83.js +0 -2
- package/amd/useTranslationBundle-516b1b83.js.map +0 -1
- package/amd/useUser-85c781ea.js +0 -2
- package/amd/useUser-85c781ea.js.map +0 -1
- package/amd/useVisEvents-0166e4cc.js +0 -2
- package/amd/useVisEvents-0166e4cc.js.map +0 -1
- package/amd/withDirectionIcon-ce0c7432.js +0 -2
- package/amd/withDirectionIcon-ce0c7432.js.map +0 -1
- package/cjs/BarChart-ca7f8ed5.js +0 -181
- package/cjs/BarChart-ca7f8ed5.js.map +0 -1
- package/cjs/BaseCardViewSelectionTest-df948f2c.js +0 -734
- package/cjs/BaseCardViewSelectionTest-df948f2c.js.map +0 -1
- package/cjs/Card-a6693442.js +0 -17
- package/cjs/Card-a6693442.js.map +0 -1
- package/cjs/Center-c0baccb0.js +0 -18
- package/cjs/Center-c0baccb0.js.map +0 -1
- package/cjs/Chart-fbbd3329.js +0 -451
- package/cjs/Chart-fbbd3329.js.map +0 -1
- package/cjs/CheckboxSetContext-c62db26d.js +0 -12
- package/cjs/CheckboxSetContext-c62db26d.js.map +0 -1
- package/cjs/ComboChart-95863e7a.js +0 -174
- package/cjs/ComboChart-95863e7a.js.map +0 -1
- package/cjs/CompactLabelAssistance-fd841834.js +0 -36
- package/cjs/CompactLabelAssistance-fd841834.js.map +0 -1
- package/cjs/DatePicker-65b047ad.js +0 -566
- package/cjs/DatePicker-65b047ad.js.map +0 -1
- package/cjs/Diagram-2e66a8cb.js +0 -2028
- package/cjs/Diagram-2e66a8cb.js.map +0 -1
- package/cjs/Dialog-4160338c.js +0 -318
- package/cjs/Dialog-4160338c.js.map +0 -1
- package/cjs/DragHandle-67b6118b.js +0 -24
- package/cjs/DragHandle-67b6118b.js.map +0 -1
- package/cjs/Dropdown-34b8f141.js +0 -82
- package/cjs/Dropdown-34b8f141.js.map +0 -1
- package/cjs/EnvironmentProvider-75eb79f3.js +0 -61
- package/cjs/EnvironmentProvider-75eb79f3.js.map +0 -1
- package/cjs/Flex-e7a85bef.js +0 -33
- package/cjs/Flex-e7a85bef.js.map +0 -1
- package/cjs/Floating-56621d20.js +0 -464
- package/cjs/Floating-56621d20.js.map +0 -1
- package/cjs/Grid-a7316edd.js +0 -29
- package/cjs/Grid-a7316edd.js.map +0 -1
- package/cjs/Gridlines-ef3af190.js +0 -171
- package/cjs/Gridlines-ef3af190.js.map +0 -1
- package/cjs/HighlightText-dd11dd32.js +0 -33
- package/cjs/HighlightText-dd11dd32.js.map +0 -1
- package/cjs/IconUserAssistance-52208fde.js +0 -75
- package/cjs/IconUserAssistance-52208fde.js.map +0 -1
- package/cjs/Layer-0053053a.js +0 -91
- package/cjs/Layer-0053053a.js.map +0 -1
- package/cjs/LayerHost-a8c7f182.js +0 -45
- package/cjs/LayerHost-a8c7f182.js.map +0 -1
- package/cjs/LayerManager-2d0b83ac.js +0 -36
- package/cjs/LayerManager-2d0b83ac.js.map +0 -1
- package/cjs/LineAreaChart-506308c1.js +0 -172
- package/cjs/LineAreaChart-506308c1.js.map +0 -1
- package/cjs/LineSeries-0e984080.js +0 -112
- package/cjs/LineSeries-0e984080.js.map +0 -1
- package/cjs/ListItemLayout-ec53f199.js +0 -112
- package/cjs/ListItemLayout-ec53f199.js.map +0 -1
- package/cjs/LiveRegion-567427c5.js +0 -41
- package/cjs/LiveRegion-567427c5.js.map +0 -1
- package/cjs/MaxLengthLiveRegion-f03f07c6.js +0 -25
- package/cjs/MaxLengthLiveRegion-f03f07c6.js.map +0 -1
- package/cjs/MessageLayer-f9aa9828.js +0 -61
- package/cjs/MessageLayer-f9aa9828.js.map +0 -1
- package/cjs/Modal-b9987f2d.js +0 -264
- package/cjs/Modal-b9987f2d.js.map +0 -1
- package/cjs/MonthView-9c2819f0.js +0 -210
- package/cjs/MonthView-9c2819f0.js.map +0 -1
- package/cjs/Popup-84ce41d3.js +0 -249
- package/cjs/Popup-84ce41d3.js.map +0 -1
- package/cjs/ProgressBar-aa9edb7a.js +0 -64
- package/cjs/ProgressBar-aa9edb7a.js.map +0 -1
- package/cjs/ProgressCircle-1d9fbade.js +0 -50
- package/cjs/ProgressCircle-1d9fbade.js.map +0 -1
- package/cjs/ScatterChart-80ef4bee.js +0 -105
- package/cjs/ScatterChart-80ef4bee.js.map +0 -1
- package/cjs/SectionedContent-06dc071c.js +0 -67
- package/cjs/SectionedContent-06dc071c.js.map +0 -1
- package/cjs/SelectionCard-67f7003e.js +0 -18
- package/cjs/SelectionCard-67f7003e.js.map +0 -1
- package/cjs/SelectorAll-b55e1b61.js +0 -71
- package/cjs/SelectorAll-b55e1b61.js.map +0 -1
- package/cjs/Sheet-86989265.js +0 -161
- package/cjs/Sheet-86989265.js.map +0 -1
- package/cjs/StyledCard-a0496c88.js +0 -107
- package/cjs/StyledCard-a0496c88.js.map +0 -1
- package/cjs/TabBarMixedSeparator-0e258647.js +0 -21
- package/cjs/TabBarMixedSeparator-0e258647.js.map +0 -1
- package/cjs/TextArea-4c8f0284.js +0 -180
- package/cjs/TextArea-4c8f0284.js.map +0 -1
- package/cjs/TextAreaAutosize-466a21cc.js +0 -246
- package/cjs/TextAreaAutosize-466a21cc.js.map +0 -1
- package/cjs/TruncatingBadge-efe34bb7.js +0 -36
- package/cjs/TruncatingBadge-efe34bb7.js.map +0 -1
- package/cjs/TruncatingText-33c06a6c.js +0 -50
- package/cjs/TruncatingText-33c06a6c.js.map +0 -1
- package/cjs/View-5930179e.js +0 -170
- package/cjs/View-5930179e.js.map +0 -1
- package/cjs/VisNoData-5b2aa6a2.js +0 -35
- package/cjs/VisNoData-5b2aa6a2.js.map +0 -1
- package/cjs/VisProgressiveLoader-dacfe618.js +0 -53
- package/cjs/VisProgressiveLoader-dacfe618.js.map +0 -1
- package/cjs/VisTabularDatatip-eca8aa8f.js +0 -26
- package/cjs/VisTabularDatatip-eca8aa8f.js.map +0 -1
- package/cjs/WindowOverlay-06408f56.js +0 -112
- package/cjs/WindowOverlay-06408f56.js.map +0 -1
- package/cjs/YearsGridView-09f2f6c4.js +0 -190
- package/cjs/YearsGridView-09f2f6c4.js.map +0 -1
- package/cjs/index-ce6f9627.js +0 -13
- package/cjs/index-ce6f9627.js.map +0 -1
- package/cjs/render-9767e967.js +0 -41
- package/cjs/render-9767e967.js.map +0 -1
- package/cjs/tabbableUtils-a38b7148.js +0 -81
- package/cjs/tabbableUtils-a38b7148.js.map +0 -1
- package/cjs/testData-7439df49.js +0 -271
- package/cjs/testData-7439df49.js.map +0 -1
- package/cjs/tooltipUtils-669c2ae0.js +0 -97
- package/cjs/tooltipUtils-669c2ae0.js.map +0 -1
- package/cjs/useChartDatatip-c6107d63.js +0 -166
- package/cjs/useChartDatatip-c6107d63.js.map +0 -1
- package/cjs/useColorScheme-ce2a88b1.js +0 -21
- package/cjs/useColorScheme-ce2a88b1.js.map +0 -1
- package/cjs/useCssVars-bd95e715.js +0 -60
- package/cjs/useCssVars-bd95e715.js.map +0 -1
- package/cjs/useCurrentBgColor-6e39eb3a.js +0 -21
- package/cjs/useCurrentBgColor-6e39eb3a.js.map +0 -1
- package/cjs/useCurrentKey-88495da2.js +0 -83
- package/cjs/useCurrentKey-88495da2.js.map +0 -1
- package/cjs/useDatatip-83ab0540.js +0 -89
- package/cjs/useDatatip-83ab0540.js.map +0 -1
- package/cjs/useDensity-1f8cc921.js +0 -21
- package/cjs/useDensity-1f8cc921.js.map +0 -1
- package/cjs/useFloating-480d365a.js +0 -1926
- package/cjs/useFloating-480d365a.js.map +0 -1
- package/cjs/useKeyboardEvents-5e808fe3.js +0 -81
- package/cjs/useKeyboardEvents-5e808fe3.js.map +0 -1
- package/cjs/useMeterDatatip-641afcc6.js +0 -77
- package/cjs/useMeterDatatip-641afcc6.js.map +0 -1
- package/cjs/useOutsideClick-03a6c38c.js +0 -103
- package/cjs/useOutsideClick-03a6c38c.js.map +0 -1
- package/cjs/usePopupAnimation-2afacc4b.js +0 -87
- package/cjs/usePopupAnimation-2afacc4b.js.map +0 -1
- package/cjs/usePrefixSuffix-23341de3.js +0 -72
- package/cjs/usePrefixSuffix-23341de3.js.map +0 -1
- package/cjs/useReorderableItem-0dbb8843.js +0 -271
- package/cjs/useReorderableItem-0dbb8843.js.map +0 -1
- package/cjs/useRovingTabIndexContainer-dc12b802.js +0 -100
- package/cjs/useRovingTabIndexContainer-dc12b802.js.map +0 -1
- package/cjs/useScale-a681a5cb.js +0 -21
- package/cjs/useScale-a681a5cb.js.map +0 -1
- package/cjs/useSelectDrill-c95b1a51.js +0 -106
- package/cjs/useSelectDrill-c95b1a51.js.map +0 -1
- package/cjs/useSelection-228ef3ce.js +0 -241
- package/cjs/useSelection-228ef3ce.js.map +0 -1
- package/cjs/useSelection-efdf0e84.js +0 -187
- package/cjs/useSelection-efdf0e84.js.map +0 -1
- package/cjs/useTestId-5e6af45d.js +0 -23
- package/cjs/useTestId-5e6af45d.js.map +0 -1
- package/cjs/useTheme-8fb5546b.js +0 -21
- package/cjs/useTheme-8fb5546b.js.map +0 -1
- package/cjs/useThemeInterpolations-28ca9a13.js +0 -59
- package/cjs/useThemeInterpolations-28ca9a13.js.map +0 -1
- package/cjs/useTooltip-81b7b753.js +0 -51
- package/cjs/useTooltip-81b7b753.js.map +0 -1
- package/cjs/useTooltipControlled-33832163.js +0 -371
- package/cjs/useTooltipControlled-33832163.js.map +0 -1
- package/cjs/useTranslationBundle-51f4c22c.js +0 -31
- package/cjs/useTranslationBundle-51f4c22c.js.map +0 -1
- package/cjs/useUser-a4bfc560.js +0 -21
- package/cjs/useUser-a4bfc560.js.map +0 -1
- package/cjs/useVisEvents-e48065f4.js +0 -155
- package/cjs/useVisEvents-e48065f4.js.map +0 -1
- package/cjs/withDirectionIcon-1affce30.js +0 -16
- package/cjs/withDirectionIcon-1affce30.js.map +0 -1
- package/es/BaseCardView-c5a8ee6a.js +0 -683
- package/es/BaseCardView-c5a8ee6a.js.map +0 -1
- package/es/BaseCardViewSelectionTest-1a6585af.js +0 -721
- package/es/BaseCardViewSelectionTest-1a6585af.js.map +0 -1
- package/es/Card-44b7de2f.js +0 -15
- package/es/Card-44b7de2f.js.map +0 -1
- package/es/CardFlexView-529906e0.js +0 -27
- package/es/CardFlexView-529906e0.js.map +0 -1
- package/es/CardGridView-ec18c929.js +0 -15
- package/es/CardGridView-ec18c929.js.map +0 -1
- package/es/Center-8b48ab02.js +0 -16
- package/es/Center-8b48ab02.js.map +0 -1
- package/es/CheckboxSetContext-1be56556.js +0 -9
- package/es/CheckboxSetContext-1be56556.js.map +0 -1
- package/es/CompactLabelAssistance-6a627bbb.js +0 -34
- package/es/CompactLabelAssistance-6a627bbb.js.map +0 -1
- package/es/DatePicker-d4c3ec06.js +0 -564
- package/es/DatePicker-d4c3ec06.js.map +0 -1
- package/es/Diagram-a6348a41.js +0 -2026
- package/es/Diagram-a6348a41.js.map +0 -1
- package/es/Dialog-d64dd573.js +0 -316
- package/es/Dialog-d64dd573.js.map +0 -1
- package/es/DragHandle-d3a739f5.js +0 -22
- package/es/DragHandle-d3a739f5.js.map +0 -1
- package/es/Dropdown-f0cdaeae.js +0 -80
- package/es/Dropdown-f0cdaeae.js.map +0 -1
- package/es/EnvironmentProvider-0fc2fd0c.js +0 -58
- package/es/EnvironmentProvider-0fc2fd0c.js.map +0 -1
- package/es/Flex-8696b27b.js +0 -30
- package/es/Flex-8696b27b.js.map +0 -1
- package/es/Floating-9bf456f9.js +0 -462
- package/es/Floating-9bf456f9.js.map +0 -1
- package/es/Grid-7fd29a9e.js +0 -27
- package/es/Grid-7fd29a9e.js.map +0 -1
- package/es/Gridlines-5ac89a84.js +0 -168
- package/es/Gridlines-5ac89a84.js.map +0 -1
- package/es/HighlightText-cc043982.js +0 -31
- package/es/HighlightText-cc043982.js.map +0 -1
- package/es/IconUserAssistance-627f9d18.js +0 -73
- package/es/IconUserAssistance-627f9d18.js.map +0 -1
- package/es/Indexer-ba2c7593.js +0 -336
- package/es/Indexer-ba2c7593.js.map +0 -1
- package/es/InputDatePicker-dd3b6c89.js +0 -307
- package/es/InputDatePicker-dd3b6c89.js.map +0 -1
- package/es/Layer-12a734d1.js +0 -88
- package/es/Layer-12a734d1.js.map +0 -1
- package/es/LayerHost-15b42a3e.js +0 -40
- package/es/LayerHost-15b42a3e.js.map +0 -1
- package/es/LayerManager-af39e736.js +0 -34
- package/es/LayerManager-af39e736.js.map +0 -1
- package/es/LineAreaChart-94387b8b.js +0 -170
- package/es/LineAreaChart-94387b8b.js.map +0 -1
- package/es/LineSeries-ca5836e7.js +0 -109
- package/es/LineSeries-ca5836e7.js.map +0 -1
- package/es/List-97b7be70.js +0 -718
- package/es/List-97b7be70.js.map +0 -1
- package/es/ListItemLayout-e87958e3.js +0 -110
- package/es/ListItemLayout-e87958e3.js.map +0 -1
- package/es/ListView-936d8a4f.js +0 -428
- package/es/ListView-936d8a4f.js.map +0 -1
- package/es/LiveRegion-cb4f8a54.js +0 -39
- package/es/LiveRegion-cb4f8a54.js.map +0 -1
- package/es/LoadMoreCollection-95a49d2a.js +0 -31
- package/es/LoadMoreCollection-95a49d2a.js.map +0 -1
- package/es/MaxLengthLiveRegion-59087064.js +0 -23
- package/es/MaxLengthLiveRegion-59087064.js.map +0 -1
- package/es/MessageLayer-8bed437a.js +0 -58
- package/es/MessageLayer-8bed437a.js.map +0 -1
- package/es/Modal-103da2aa.js +0 -262
- package/es/Modal-103da2aa.js.map +0 -1
- package/es/MonthView-3f86e858.js +0 -208
- package/es/MonthView-3f86e858.js.map +0 -1
- package/es/Popup-6c3f0839.js +0 -247
- package/es/Popup-6c3f0839.js.map +0 -1
- package/es/ProgressBar-95461222.js +0 -62
- package/es/ProgressBar-95461222.js.map +0 -1
- package/es/ProgressCircle-93c309cb.js +0 -48
- package/es/ProgressCircle-93c309cb.js.map +0 -1
- package/es/ScatterChart-739a9ec0.js +0 -103
- package/es/ScatterChart-739a9ec0.js.map +0 -1
- package/es/SectionedContent-3fd063af.js +0 -64
- package/es/SectionedContent-3fd063af.js.map +0 -1
- package/es/SelectMultiple-ad8fc99a.js +0 -1303
- package/es/SelectMultiple-ad8fc99a.js.map +0 -1
- package/es/SelectSingle-abaf271c.js +0 -736
- package/es/SelectSingle-abaf271c.js.map +0 -1
- package/es/SelectionCard-1f8585cb.js +0 -16
- package/es/SelectionCard-1f8585cb.js.map +0 -1
- package/es/SelectorAll-e833da6d.js +0 -69
- package/es/SelectorAll-e833da6d.js.map +0 -1
- package/es/Sheet-0861fcc0.js +0 -158
- package/es/Sheet-0861fcc0.js.map +0 -1
- package/es/StyledCard-f5965d6d.js +0 -105
- package/es/StyledCard-f5965d6d.js.map +0 -1
- package/es/TabBarMixedSeparator-da56f4c0.js +0 -19
- package/es/TabBarMixedSeparator-da56f4c0.js.map +0 -1
- package/es/Table-1ba124ec.js +0 -5509
- package/es/Table-1ba124ec.js.map +0 -1
- package/es/TableView-20223ba6.js +0 -31
- package/es/TableView-20223ba6.js.map +0 -1
- package/es/TextArea-64b4e972.js +0 -177
- package/es/TextArea-64b4e972.js.map +0 -1
- package/es/TextAreaAutosize-4e0f60ef.js +0 -244
- package/es/TextAreaAutosize-4e0f60ef.js.map +0 -1
- package/es/TruncatingBadge-b69c1ceb.js +0 -34
- package/es/TruncatingBadge-b69c1ceb.js.map +0 -1
- package/es/TruncatingText-68acfafd.js +0 -48
- package/es/TruncatingText-68acfafd.js.map +0 -1
- package/es/View-63980a9b.js +0 -167
- package/es/View-63980a9b.js.map +0 -1
- package/es/VirtualizedCollection-e73890a1.js +0 -176
- package/es/VirtualizedCollection-e73890a1.js.map +0 -1
- package/es/VirtualizedListView-3ef40bde.js +0 -14
- package/es/VirtualizedListView-3ef40bde.js.map +0 -1
- package/es/VisNoData-02cab8f6.js +0 -32
- package/es/VisNoData-02cab8f6.js.map +0 -1
- package/es/VisProgressiveLoader-2b2103c8.js +0 -51
- package/es/VisProgressiveLoader-2b2103c8.js.map +0 -1
- package/es/VisTabularDatatip-2ae7ee48.js +0 -24
- package/es/VisTabularDatatip-2ae7ee48.js.map +0 -1
- package/es/WindowOverlay-9b43e658.js +0 -110
- package/es/WindowOverlay-9b43e658.js.map +0 -1
- package/es/YearsGridView-cc0574f2.js +0 -187
- package/es/YearsGridView-cc0574f2.js.map +0 -1
- package/es/index-20f848bc.js +0 -11
- package/es/index-20f848bc.js.map +0 -1
- package/es/render-2b908d4f.js +0 -34
- package/es/render-2b908d4f.js.map +0 -1
- package/es/tabbableUtils-20bbaf8d.js +0 -79
- package/es/tabbableUtils-20bbaf8d.js.map +0 -1
- package/es/testData-70bebfae.js +0 -256
- package/es/testData-70bebfae.js.map +0 -1
- package/es/tooltipUtils-38192add.js +0 -92
- package/es/tooltipUtils-38192add.js.map +0 -1
- package/es/useChartDatatip-977bc33d.js +0 -164
- package/es/useChartDatatip-977bc33d.js.map +0 -1
- package/es/useColorScheme-d8a80e2b.js +0 -19
- package/es/useColorScheme-d8a80e2b.js.map +0 -1
- package/es/useCssVars-8e6932f8.js +0 -58
- package/es/useCssVars-8e6932f8.js.map +0 -1
- package/es/useCurrentBgColor-5418492b.js +0 -19
- package/es/useCurrentBgColor-5418492b.js.map +0 -1
- package/es/useCurrentKey-63f6afcc.js +0 -81
- package/es/useCurrentKey-63f6afcc.js.map +0 -1
- package/es/useDatatip-bce558e2.js +0 -87
- package/es/useDatatip-bce558e2.js.map +0 -1
- package/es/useDensity-64ecb649.js +0 -19
- package/es/useDensity-64ecb649.js.map +0 -1
- package/es/useFloating-41d21e7d.js +0 -1916
- package/es/useFloating-41d21e7d.js.map +0 -1
- package/es/useKeyboardEvents-5c311766.js +0 -78
- package/es/useKeyboardEvents-5c311766.js.map +0 -1
- package/es/useMeterDatatip-5268869e.js +0 -74
- package/es/useMeterDatatip-5268869e.js.map +0 -1
- package/es/useOutsideClick-8a582d08.js +0 -101
- package/es/useOutsideClick-8a582d08.js.map +0 -1
- package/es/usePopupAnimation-e2e6a2ca.js +0 -85
- package/es/usePopupAnimation-e2e6a2ca.js.map +0 -1
- package/es/usePrefixSuffix-435a9c59.js +0 -70
- package/es/usePrefixSuffix-435a9c59.js.map +0 -1
- package/es/useReorderableItem-96616318.js +0 -268
- package/es/useReorderableItem-96616318.js.map +0 -1
- package/es/useRovingTabIndexContainer-9afe3ee0.js +0 -98
- package/es/useRovingTabIndexContainer-9afe3ee0.js.map +0 -1
- package/es/useScale-c86ecc6e.js +0 -19
- package/es/useScale-c86ecc6e.js.map +0 -1
- package/es/useSelectCommon-1dafa6f9.js +0 -686
- package/es/useSelectCommon-1dafa6f9.js.map +0 -1
- package/es/useSelectDrill-24264e6b.js +0 -103
- package/es/useSelectDrill-24264e6b.js.map +0 -1
- package/es/useSelection-1b256f77.js +0 -185
- package/es/useSelection-1b256f77.js.map +0 -1
- package/es/useSelection-879c64aa.js +0 -239
- package/es/useSelection-879c64aa.js.map +0 -1
- package/es/useTestId-3bc3958c.js +0 -21
- package/es/useTestId-3bc3958c.js.map +0 -1
- package/es/useTheme-4b0f211c.js +0 -19
- package/es/useTheme-4b0f211c.js.map +0 -1
- package/es/useThemeInterpolations-8bee52ac.js +0 -57
- package/es/useThemeInterpolations-8bee52ac.js.map +0 -1
- package/es/useTooltip-98b6d3b5.js +0 -49
- package/es/useTooltip-98b6d3b5.js.map +0 -1
- package/es/useTooltipControlled-b565c75b.js +0 -368
- package/es/useTooltipControlled-b565c75b.js.map +0 -1
- package/es/useTranslationBundle-98df6291.js +0 -29
- package/es/useTranslationBundle-98df6291.js.map +0 -1
- package/es/useUser-a15426fc.js +0 -19
- package/es/useUser-a15426fc.js.map +0 -1
- package/es/useVisEvents-7d4753c4.js +0 -153
- package/es/useVisEvents-7d4753c4.js.map +0 -1
- package/es/withDirectionIcon-90d7c798.js +0 -14
- package/es/withDirectionIcon-90d7c798.js.map +0 -1
|
@@ -1,1926 +0,0 @@
|
|
|
1
|
-
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var hooks = require('preact/hooks');
|
|
5
|
-
var useUser = require('./useUser-a4bfc560.js');
|
|
6
|
-
var positionUtils = require('./positionUtils-a780137e.js');
|
|
7
|
-
|
|
8
|
-
const min = Math.min;
|
|
9
|
-
const max = Math.max;
|
|
10
|
-
const round = Math.round;
|
|
11
|
-
const floor = Math.floor;
|
|
12
|
-
const createCoords = v => ({
|
|
13
|
-
x: v,
|
|
14
|
-
y: v
|
|
15
|
-
});
|
|
16
|
-
const oppositeSideMap = {
|
|
17
|
-
left: 'right',
|
|
18
|
-
right: 'left',
|
|
19
|
-
bottom: 'top',
|
|
20
|
-
top: 'bottom'
|
|
21
|
-
};
|
|
22
|
-
const oppositeAlignmentMap = {
|
|
23
|
-
start: 'end',
|
|
24
|
-
end: 'start'
|
|
25
|
-
};
|
|
26
|
-
function clamp(start, value, end) {
|
|
27
|
-
return max(start, min(value, end));
|
|
28
|
-
}
|
|
29
|
-
function evaluate(value, param) {
|
|
30
|
-
return typeof value === 'function' ? value(param) : value;
|
|
31
|
-
}
|
|
32
|
-
function getSide(placement) {
|
|
33
|
-
return placement.split('-')[0];
|
|
34
|
-
}
|
|
35
|
-
function getAlignment(placement) {
|
|
36
|
-
return placement.split('-')[1];
|
|
37
|
-
}
|
|
38
|
-
function getOppositeAxis(axis) {
|
|
39
|
-
return axis === 'x' ? 'y' : 'x';
|
|
40
|
-
}
|
|
41
|
-
function getAxisLength(axis) {
|
|
42
|
-
return axis === 'y' ? 'height' : 'width';
|
|
43
|
-
}
|
|
44
|
-
function getSideAxis(placement) {
|
|
45
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
46
|
-
}
|
|
47
|
-
function getAlignmentAxis(placement) {
|
|
48
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
49
|
-
}
|
|
50
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
51
|
-
if (rtl === void 0) {
|
|
52
|
-
rtl = false;
|
|
53
|
-
}
|
|
54
|
-
const alignment = getAlignment(placement);
|
|
55
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
56
|
-
const length = getAxisLength(alignmentAxis);
|
|
57
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
58
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
59
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
60
|
-
}
|
|
61
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
62
|
-
}
|
|
63
|
-
function getExpandedPlacements(placement) {
|
|
64
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
65
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
66
|
-
}
|
|
67
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
68
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
69
|
-
}
|
|
70
|
-
function getSideList(side, isStart, rtl) {
|
|
71
|
-
const lr = ['left', 'right'];
|
|
72
|
-
const rl = ['right', 'left'];
|
|
73
|
-
const tb = ['top', 'bottom'];
|
|
74
|
-
const bt = ['bottom', 'top'];
|
|
75
|
-
switch (side) {
|
|
76
|
-
case 'top':
|
|
77
|
-
case 'bottom':
|
|
78
|
-
if (rtl) return isStart ? rl : lr;
|
|
79
|
-
return isStart ? lr : rl;
|
|
80
|
-
case 'left':
|
|
81
|
-
case 'right':
|
|
82
|
-
return isStart ? tb : bt;
|
|
83
|
-
default:
|
|
84
|
-
return [];
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
88
|
-
const alignment = getAlignment(placement);
|
|
89
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
90
|
-
if (alignment) {
|
|
91
|
-
list = list.map(side => side + "-" + alignment);
|
|
92
|
-
if (flipAlignment) {
|
|
93
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return list;
|
|
97
|
-
}
|
|
98
|
-
function getOppositePlacement(placement) {
|
|
99
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
100
|
-
}
|
|
101
|
-
function expandPaddingObject(padding) {
|
|
102
|
-
return {
|
|
103
|
-
top: 0,
|
|
104
|
-
right: 0,
|
|
105
|
-
bottom: 0,
|
|
106
|
-
left: 0,
|
|
107
|
-
...padding
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
function getPaddingObject(padding) {
|
|
111
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
112
|
-
top: padding,
|
|
113
|
-
right: padding,
|
|
114
|
-
bottom: padding,
|
|
115
|
-
left: padding
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
function rectToClientRect(rect) {
|
|
119
|
-
return {
|
|
120
|
-
...rect,
|
|
121
|
-
top: rect.y,
|
|
122
|
-
left: rect.x,
|
|
123
|
-
right: rect.x + rect.width,
|
|
124
|
-
bottom: rect.y + rect.height
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
129
|
-
let {
|
|
130
|
-
reference,
|
|
131
|
-
floating
|
|
132
|
-
} = _ref;
|
|
133
|
-
const sideAxis = getSideAxis(placement);
|
|
134
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
135
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
136
|
-
const side = getSide(placement);
|
|
137
|
-
const isVertical = sideAxis === 'y';
|
|
138
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
139
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
140
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
141
|
-
let coords;
|
|
142
|
-
switch (side) {
|
|
143
|
-
case 'top':
|
|
144
|
-
coords = {
|
|
145
|
-
x: commonX,
|
|
146
|
-
y: reference.y - floating.height
|
|
147
|
-
};
|
|
148
|
-
break;
|
|
149
|
-
case 'bottom':
|
|
150
|
-
coords = {
|
|
151
|
-
x: commonX,
|
|
152
|
-
y: reference.y + reference.height
|
|
153
|
-
};
|
|
154
|
-
break;
|
|
155
|
-
case 'right':
|
|
156
|
-
coords = {
|
|
157
|
-
x: reference.x + reference.width,
|
|
158
|
-
y: commonY
|
|
159
|
-
};
|
|
160
|
-
break;
|
|
161
|
-
case 'left':
|
|
162
|
-
coords = {
|
|
163
|
-
x: reference.x - floating.width,
|
|
164
|
-
y: commonY
|
|
165
|
-
};
|
|
166
|
-
break;
|
|
167
|
-
default:
|
|
168
|
-
coords = {
|
|
169
|
-
x: reference.x,
|
|
170
|
-
y: reference.y
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
switch (getAlignment(placement)) {
|
|
174
|
-
case 'start':
|
|
175
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
176
|
-
break;
|
|
177
|
-
case 'end':
|
|
178
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
return coords;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
186
|
-
* next to a reference element when it is given a certain positioning strategy.
|
|
187
|
-
*
|
|
188
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
189
|
-
* write one for the platform you are using Floating UI with.
|
|
190
|
-
*/
|
|
191
|
-
const computePosition$1 = async (reference, floating, config) => {
|
|
192
|
-
const {
|
|
193
|
-
placement = 'bottom',
|
|
194
|
-
strategy = 'absolute',
|
|
195
|
-
middleware = [],
|
|
196
|
-
platform
|
|
197
|
-
} = config;
|
|
198
|
-
const validMiddleware = middleware.filter(Boolean);
|
|
199
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
200
|
-
let rects = await platform.getElementRects({
|
|
201
|
-
reference,
|
|
202
|
-
floating,
|
|
203
|
-
strategy
|
|
204
|
-
});
|
|
205
|
-
let {
|
|
206
|
-
x,
|
|
207
|
-
y
|
|
208
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
209
|
-
let statefulPlacement = placement;
|
|
210
|
-
let middlewareData = {};
|
|
211
|
-
let resetCount = 0;
|
|
212
|
-
for (let i = 0; i < validMiddleware.length; i++) {
|
|
213
|
-
const {
|
|
214
|
-
name,
|
|
215
|
-
fn
|
|
216
|
-
} = validMiddleware[i];
|
|
217
|
-
const {
|
|
218
|
-
x: nextX,
|
|
219
|
-
y: nextY,
|
|
220
|
-
data,
|
|
221
|
-
reset
|
|
222
|
-
} = await fn({
|
|
223
|
-
x,
|
|
224
|
-
y,
|
|
225
|
-
initialPlacement: placement,
|
|
226
|
-
placement: statefulPlacement,
|
|
227
|
-
strategy,
|
|
228
|
-
middlewareData,
|
|
229
|
-
rects,
|
|
230
|
-
platform,
|
|
231
|
-
elements: {
|
|
232
|
-
reference,
|
|
233
|
-
floating
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
x = nextX != null ? nextX : x;
|
|
237
|
-
y = nextY != null ? nextY : y;
|
|
238
|
-
middlewareData = {
|
|
239
|
-
...middlewareData,
|
|
240
|
-
[name]: {
|
|
241
|
-
...middlewareData[name],
|
|
242
|
-
...data
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
if (reset && resetCount <= 50) {
|
|
246
|
-
resetCount++;
|
|
247
|
-
if (typeof reset === 'object') {
|
|
248
|
-
if (reset.placement) {
|
|
249
|
-
statefulPlacement = reset.placement;
|
|
250
|
-
}
|
|
251
|
-
if (reset.rects) {
|
|
252
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
|
253
|
-
reference,
|
|
254
|
-
floating,
|
|
255
|
-
strategy
|
|
256
|
-
}) : reset.rects;
|
|
257
|
-
}
|
|
258
|
-
({
|
|
259
|
-
x,
|
|
260
|
-
y
|
|
261
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
262
|
-
}
|
|
263
|
-
i = -1;
|
|
264
|
-
continue;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
return {
|
|
268
|
-
x,
|
|
269
|
-
y,
|
|
270
|
-
placement: statefulPlacement,
|
|
271
|
-
strategy,
|
|
272
|
-
middlewareData
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
278
|
-
* element is overflowing a given clipping boundary on each side.
|
|
279
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
280
|
-
* - negative = how many pixels left before it will overflow
|
|
281
|
-
* - 0 = lies flush with the boundary
|
|
282
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
283
|
-
*/
|
|
284
|
-
async function detectOverflow(state, options) {
|
|
285
|
-
var _await$platform$isEle;
|
|
286
|
-
if (options === void 0) {
|
|
287
|
-
options = {};
|
|
288
|
-
}
|
|
289
|
-
const {
|
|
290
|
-
x,
|
|
291
|
-
y,
|
|
292
|
-
platform,
|
|
293
|
-
rects,
|
|
294
|
-
elements,
|
|
295
|
-
strategy
|
|
296
|
-
} = state;
|
|
297
|
-
const {
|
|
298
|
-
boundary = 'clippingAncestors',
|
|
299
|
-
rootBoundary = 'viewport',
|
|
300
|
-
elementContext = 'floating',
|
|
301
|
-
altBoundary = false,
|
|
302
|
-
padding = 0
|
|
303
|
-
} = evaluate(options, state);
|
|
304
|
-
const paddingObject = getPaddingObject(padding);
|
|
305
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
306
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
307
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
308
|
-
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))),
|
|
309
|
-
boundary,
|
|
310
|
-
rootBoundary,
|
|
311
|
-
strategy
|
|
312
|
-
}));
|
|
313
|
-
const rect = elementContext === 'floating' ? {
|
|
314
|
-
...rects.floating,
|
|
315
|
-
x,
|
|
316
|
-
y
|
|
317
|
-
} : rects.reference;
|
|
318
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
319
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
320
|
-
x: 1,
|
|
321
|
-
y: 1
|
|
322
|
-
} : {
|
|
323
|
-
x: 1,
|
|
324
|
-
y: 1
|
|
325
|
-
};
|
|
326
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
327
|
-
rect,
|
|
328
|
-
offsetParent,
|
|
329
|
-
strategy
|
|
330
|
-
}) : rect);
|
|
331
|
-
return {
|
|
332
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
333
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
334
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
335
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Provides data to position an inner element of the floating element so that it
|
|
341
|
-
* appears centered to the reference element.
|
|
342
|
-
* @see https://floating-ui.com/docs/arrow
|
|
343
|
-
*/
|
|
344
|
-
const arrow = options => ({
|
|
345
|
-
name: 'arrow',
|
|
346
|
-
options,
|
|
347
|
-
async fn(state) {
|
|
348
|
-
const {
|
|
349
|
-
x,
|
|
350
|
-
y,
|
|
351
|
-
placement,
|
|
352
|
-
rects,
|
|
353
|
-
platform,
|
|
354
|
-
elements
|
|
355
|
-
} = state;
|
|
356
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
357
|
-
const {
|
|
358
|
-
element,
|
|
359
|
-
padding = 0
|
|
360
|
-
} = evaluate(options, state) || {};
|
|
361
|
-
if (element == null) {
|
|
362
|
-
return {};
|
|
363
|
-
}
|
|
364
|
-
const paddingObject = getPaddingObject(padding);
|
|
365
|
-
const coords = {
|
|
366
|
-
x,
|
|
367
|
-
y
|
|
368
|
-
};
|
|
369
|
-
const axis = getAlignmentAxis(placement);
|
|
370
|
-
const length = getAxisLength(axis);
|
|
371
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
372
|
-
const isYAxis = axis === 'y';
|
|
373
|
-
const minProp = isYAxis ? 'top' : 'left';
|
|
374
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
375
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
376
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
377
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
378
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
379
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
380
|
-
|
|
381
|
-
// DOM platform can return `window` as the `offsetParent`.
|
|
382
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
383
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
384
|
-
}
|
|
385
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
386
|
-
|
|
387
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
|
388
|
-
// centered, modify the padding so that it is centered.
|
|
389
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
390
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
391
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
392
|
-
|
|
393
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
|
394
|
-
// point is outside the floating element's bounds.
|
|
395
|
-
const min$1 = minPadding;
|
|
396
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
397
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
398
|
-
const offset = clamp(min$1, center, max);
|
|
399
|
-
|
|
400
|
-
// If the reference is small enough that the arrow's padding causes it to
|
|
401
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
|
402
|
-
// floating element itself. This stops `shift()` from taking action, but can
|
|
403
|
-
// be worked around by calling it again after the `arrow()` if desired.
|
|
404
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
405
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
406
|
-
return {
|
|
407
|
-
[axis]: coords[axis] - alignmentOffset,
|
|
408
|
-
data: {
|
|
409
|
-
[axis]: offset,
|
|
410
|
-
centerOffset: center - offset + alignmentOffset
|
|
411
|
-
}
|
|
412
|
-
};
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
418
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
419
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
420
|
-
* @see https://floating-ui.com/docs/flip
|
|
421
|
-
*/
|
|
422
|
-
const flip = function (options) {
|
|
423
|
-
if (options === void 0) {
|
|
424
|
-
options = {};
|
|
425
|
-
}
|
|
426
|
-
return {
|
|
427
|
-
name: 'flip',
|
|
428
|
-
options,
|
|
429
|
-
async fn(state) {
|
|
430
|
-
var _middlewareData$flip;
|
|
431
|
-
const {
|
|
432
|
-
placement,
|
|
433
|
-
middlewareData,
|
|
434
|
-
rects,
|
|
435
|
-
initialPlacement,
|
|
436
|
-
platform,
|
|
437
|
-
elements
|
|
438
|
-
} = state;
|
|
439
|
-
const {
|
|
440
|
-
mainAxis: checkMainAxis = true,
|
|
441
|
-
crossAxis: checkCrossAxis = true,
|
|
442
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
443
|
-
fallbackStrategy = 'bestFit',
|
|
444
|
-
fallbackAxisSideDirection = 'none',
|
|
445
|
-
flipAlignment = true,
|
|
446
|
-
...detectOverflowOptions
|
|
447
|
-
} = evaluate(options, state);
|
|
448
|
-
const side = getSide(placement);
|
|
449
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
450
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
451
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
452
|
-
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
453
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
454
|
-
}
|
|
455
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
456
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
457
|
-
const overflows = [];
|
|
458
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
459
|
-
if (checkMainAxis) {
|
|
460
|
-
overflows.push(overflow[side]);
|
|
461
|
-
}
|
|
462
|
-
if (checkCrossAxis) {
|
|
463
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
464
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
465
|
-
}
|
|
466
|
-
overflowsData = [...overflowsData, {
|
|
467
|
-
placement,
|
|
468
|
-
overflows
|
|
469
|
-
}];
|
|
470
|
-
|
|
471
|
-
// One or more sides is overflowing.
|
|
472
|
-
if (!overflows.every(side => side <= 0)) {
|
|
473
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
474
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
475
|
-
const nextPlacement = placements[nextIndex];
|
|
476
|
-
if (nextPlacement) {
|
|
477
|
-
// Try next placement and re-run the lifecycle.
|
|
478
|
-
return {
|
|
479
|
-
data: {
|
|
480
|
-
index: nextIndex,
|
|
481
|
-
overflows: overflowsData
|
|
482
|
-
},
|
|
483
|
-
reset: {
|
|
484
|
-
placement: nextPlacement
|
|
485
|
-
}
|
|
486
|
-
};
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
490
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
491
|
-
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;
|
|
492
|
-
|
|
493
|
-
// Otherwise fallback.
|
|
494
|
-
if (!resetPlacement) {
|
|
495
|
-
switch (fallbackStrategy) {
|
|
496
|
-
case 'bestFit':
|
|
497
|
-
{
|
|
498
|
-
var _overflowsData$map$so;
|
|
499
|
-
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];
|
|
500
|
-
if (placement) {
|
|
501
|
-
resetPlacement = placement;
|
|
502
|
-
}
|
|
503
|
-
break;
|
|
504
|
-
}
|
|
505
|
-
case 'initialPlacement':
|
|
506
|
-
resetPlacement = initialPlacement;
|
|
507
|
-
break;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
if (placement !== resetPlacement) {
|
|
511
|
-
return {
|
|
512
|
-
reset: {
|
|
513
|
-
placement: resetPlacement
|
|
514
|
-
}
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
return {};
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
524
|
-
// Derivable.
|
|
525
|
-
async function convertValueToCoords(state, options) {
|
|
526
|
-
const {
|
|
527
|
-
placement,
|
|
528
|
-
platform,
|
|
529
|
-
elements
|
|
530
|
-
} = state;
|
|
531
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
532
|
-
const side = getSide(placement);
|
|
533
|
-
const alignment = getAlignment(placement);
|
|
534
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
535
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
536
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
537
|
-
const rawValue = evaluate(options, state);
|
|
538
|
-
|
|
539
|
-
// eslint-disable-next-line prefer-const
|
|
540
|
-
let {
|
|
541
|
-
mainAxis,
|
|
542
|
-
crossAxis,
|
|
543
|
-
alignmentAxis
|
|
544
|
-
} = typeof rawValue === 'number' ? {
|
|
545
|
-
mainAxis: rawValue,
|
|
546
|
-
crossAxis: 0,
|
|
547
|
-
alignmentAxis: null
|
|
548
|
-
} : {
|
|
549
|
-
mainAxis: 0,
|
|
550
|
-
crossAxis: 0,
|
|
551
|
-
alignmentAxis: null,
|
|
552
|
-
...rawValue
|
|
553
|
-
};
|
|
554
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
555
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
556
|
-
}
|
|
557
|
-
return isVertical ? {
|
|
558
|
-
x: crossAxis * crossAxisMulti,
|
|
559
|
-
y: mainAxis * mainAxisMulti
|
|
560
|
-
} : {
|
|
561
|
-
x: mainAxis * mainAxisMulti,
|
|
562
|
-
y: crossAxis * crossAxisMulti
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Modifies the placement by translating the floating element along the
|
|
568
|
-
* specified axes.
|
|
569
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
570
|
-
* object may be passed.
|
|
571
|
-
* @see https://floating-ui.com/docs/offset
|
|
572
|
-
*/
|
|
573
|
-
const offset$1 = function (options) {
|
|
574
|
-
if (options === void 0) {
|
|
575
|
-
options = 0;
|
|
576
|
-
}
|
|
577
|
-
return {
|
|
578
|
-
name: 'offset',
|
|
579
|
-
options,
|
|
580
|
-
async fn(state) {
|
|
581
|
-
const {
|
|
582
|
-
x,
|
|
583
|
-
y
|
|
584
|
-
} = state;
|
|
585
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
586
|
-
return {
|
|
587
|
-
x: x + diffCoords.x,
|
|
588
|
-
y: y + diffCoords.y,
|
|
589
|
-
data: diffCoords
|
|
590
|
-
};
|
|
591
|
-
}
|
|
592
|
-
};
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
597
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
598
|
-
* @see https://floating-ui.com/docs/shift
|
|
599
|
-
*/
|
|
600
|
-
const shift = function (options) {
|
|
601
|
-
if (options === void 0) {
|
|
602
|
-
options = {};
|
|
603
|
-
}
|
|
604
|
-
return {
|
|
605
|
-
name: 'shift',
|
|
606
|
-
options,
|
|
607
|
-
async fn(state) {
|
|
608
|
-
const {
|
|
609
|
-
x,
|
|
610
|
-
y,
|
|
611
|
-
placement
|
|
612
|
-
} = state;
|
|
613
|
-
const {
|
|
614
|
-
mainAxis: checkMainAxis = true,
|
|
615
|
-
crossAxis: checkCrossAxis = false,
|
|
616
|
-
limiter = {
|
|
617
|
-
fn: _ref => {
|
|
618
|
-
let {
|
|
619
|
-
x,
|
|
620
|
-
y
|
|
621
|
-
} = _ref;
|
|
622
|
-
return {
|
|
623
|
-
x,
|
|
624
|
-
y
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
...detectOverflowOptions
|
|
629
|
-
} = evaluate(options, state);
|
|
630
|
-
const coords = {
|
|
631
|
-
x,
|
|
632
|
-
y
|
|
633
|
-
};
|
|
634
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
635
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
636
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
637
|
-
let mainAxisCoord = coords[mainAxis];
|
|
638
|
-
let crossAxisCoord = coords[crossAxis];
|
|
639
|
-
if (checkMainAxis) {
|
|
640
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
641
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
642
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
643
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
644
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
645
|
-
}
|
|
646
|
-
if (checkCrossAxis) {
|
|
647
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
648
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
649
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
650
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
651
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
652
|
-
}
|
|
653
|
-
const limitedCoords = limiter.fn({
|
|
654
|
-
...state,
|
|
655
|
-
[mainAxis]: mainAxisCoord,
|
|
656
|
-
[crossAxis]: crossAxisCoord
|
|
657
|
-
});
|
|
658
|
-
return {
|
|
659
|
-
...limitedCoords,
|
|
660
|
-
data: {
|
|
661
|
-
x: limitedCoords.x - x,
|
|
662
|
-
y: limitedCoords.y - y
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
/**
|
|
669
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
670
|
-
*/
|
|
671
|
-
const limitShift = function (options) {
|
|
672
|
-
if (options === void 0) {
|
|
673
|
-
options = {};
|
|
674
|
-
}
|
|
675
|
-
return {
|
|
676
|
-
options,
|
|
677
|
-
fn(state) {
|
|
678
|
-
const {
|
|
679
|
-
x,
|
|
680
|
-
y,
|
|
681
|
-
placement,
|
|
682
|
-
rects,
|
|
683
|
-
middlewareData
|
|
684
|
-
} = state;
|
|
685
|
-
const {
|
|
686
|
-
offset = 0,
|
|
687
|
-
mainAxis: checkMainAxis = true,
|
|
688
|
-
crossAxis: checkCrossAxis = true
|
|
689
|
-
} = evaluate(options, state);
|
|
690
|
-
const coords = {
|
|
691
|
-
x,
|
|
692
|
-
y
|
|
693
|
-
};
|
|
694
|
-
const crossAxis = getSideAxis(placement);
|
|
695
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
696
|
-
let mainAxisCoord = coords[mainAxis];
|
|
697
|
-
let crossAxisCoord = coords[crossAxis];
|
|
698
|
-
const rawOffset = evaluate(offset, state);
|
|
699
|
-
const computedOffset = typeof rawOffset === 'number' ? {
|
|
700
|
-
mainAxis: rawOffset,
|
|
701
|
-
crossAxis: 0
|
|
702
|
-
} : {
|
|
703
|
-
mainAxis: 0,
|
|
704
|
-
crossAxis: 0,
|
|
705
|
-
...rawOffset
|
|
706
|
-
};
|
|
707
|
-
if (checkMainAxis) {
|
|
708
|
-
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
709
|
-
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
710
|
-
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
711
|
-
if (mainAxisCoord < limitMin) {
|
|
712
|
-
mainAxisCoord = limitMin;
|
|
713
|
-
} else if (mainAxisCoord > limitMax) {
|
|
714
|
-
mainAxisCoord = limitMax;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
if (checkCrossAxis) {
|
|
718
|
-
var _middlewareData$offse, _middlewareData$offse2;
|
|
719
|
-
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
720
|
-
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
|
721
|
-
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);
|
|
722
|
-
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);
|
|
723
|
-
if (crossAxisCoord < limitMin) {
|
|
724
|
-
crossAxisCoord = limitMin;
|
|
725
|
-
} else if (crossAxisCoord > limitMax) {
|
|
726
|
-
crossAxisCoord = limitMax;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
return {
|
|
730
|
-
[mainAxis]: mainAxisCoord,
|
|
731
|
-
[crossAxis]: crossAxisCoord
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* Provides data that allows you to change the size of the floating element —
|
|
739
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
740
|
-
* width of the reference element.
|
|
741
|
-
* @see https://floating-ui.com/docs/size
|
|
742
|
-
*/
|
|
743
|
-
const size = function (options) {
|
|
744
|
-
if (options === void 0) {
|
|
745
|
-
options = {};
|
|
746
|
-
}
|
|
747
|
-
return {
|
|
748
|
-
name: 'size',
|
|
749
|
-
options,
|
|
750
|
-
async fn(state) {
|
|
751
|
-
const {
|
|
752
|
-
placement,
|
|
753
|
-
rects,
|
|
754
|
-
platform,
|
|
755
|
-
elements
|
|
756
|
-
} = state;
|
|
757
|
-
const {
|
|
758
|
-
apply = () => {},
|
|
759
|
-
...detectOverflowOptions
|
|
760
|
-
} = evaluate(options, state);
|
|
761
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
762
|
-
const side = getSide(placement);
|
|
763
|
-
const alignment = getAlignment(placement);
|
|
764
|
-
const isYAxis = getSideAxis(placement) === 'y';
|
|
765
|
-
const {
|
|
766
|
-
width,
|
|
767
|
-
height
|
|
768
|
-
} = rects.floating;
|
|
769
|
-
let heightSide;
|
|
770
|
-
let widthSide;
|
|
771
|
-
if (side === 'top' || side === 'bottom') {
|
|
772
|
-
heightSide = side;
|
|
773
|
-
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
774
|
-
} else {
|
|
775
|
-
widthSide = side;
|
|
776
|
-
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
777
|
-
}
|
|
778
|
-
const overflowAvailableHeight = height - overflow[heightSide];
|
|
779
|
-
const overflowAvailableWidth = width - overflow[widthSide];
|
|
780
|
-
const noShift = !state.middlewareData.shift;
|
|
781
|
-
let availableHeight = overflowAvailableHeight;
|
|
782
|
-
let availableWidth = overflowAvailableWidth;
|
|
783
|
-
if (isYAxis) {
|
|
784
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
785
|
-
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
786
|
-
} else {
|
|
787
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
788
|
-
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
789
|
-
}
|
|
790
|
-
if (noShift && !alignment) {
|
|
791
|
-
const xMin = max(overflow.left, 0);
|
|
792
|
-
const xMax = max(overflow.right, 0);
|
|
793
|
-
const yMin = max(overflow.top, 0);
|
|
794
|
-
const yMax = max(overflow.bottom, 0);
|
|
795
|
-
if (isYAxis) {
|
|
796
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
797
|
-
} else {
|
|
798
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
await apply({
|
|
802
|
-
...state,
|
|
803
|
-
availableWidth,
|
|
804
|
-
availableHeight
|
|
805
|
-
});
|
|
806
|
-
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
807
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
808
|
-
return {
|
|
809
|
-
reset: {
|
|
810
|
-
rects: true
|
|
811
|
-
}
|
|
812
|
-
};
|
|
813
|
-
}
|
|
814
|
-
return {};
|
|
815
|
-
}
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
|
|
819
|
-
function getNodeName(node) {
|
|
820
|
-
if (isNode(node)) {
|
|
821
|
-
return (node.nodeName || '').toLowerCase();
|
|
822
|
-
}
|
|
823
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
824
|
-
// returning `#document` an infinite loop won't occur.
|
|
825
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
826
|
-
return '#document';
|
|
827
|
-
}
|
|
828
|
-
function getWindow(node) {
|
|
829
|
-
var _node$ownerDocument;
|
|
830
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
831
|
-
}
|
|
832
|
-
function getDocumentElement(node) {
|
|
833
|
-
var _ref;
|
|
834
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
835
|
-
}
|
|
836
|
-
function isNode(value) {
|
|
837
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
838
|
-
}
|
|
839
|
-
function isElement(value) {
|
|
840
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
841
|
-
}
|
|
842
|
-
function isHTMLElement(value) {
|
|
843
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
844
|
-
}
|
|
845
|
-
function isShadowRoot(value) {
|
|
846
|
-
// Browsers without `ShadowRoot` support.
|
|
847
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
848
|
-
return false;
|
|
849
|
-
}
|
|
850
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
851
|
-
}
|
|
852
|
-
function isOverflowElement(element) {
|
|
853
|
-
const {
|
|
854
|
-
overflow,
|
|
855
|
-
overflowX,
|
|
856
|
-
overflowY,
|
|
857
|
-
display
|
|
858
|
-
} = getComputedStyle(element);
|
|
859
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
860
|
-
}
|
|
861
|
-
function isTableElement(element) {
|
|
862
|
-
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
863
|
-
}
|
|
864
|
-
function isContainingBlock(element) {
|
|
865
|
-
const webkit = isWebKit();
|
|
866
|
-
const css = getComputedStyle(element);
|
|
867
|
-
|
|
868
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
869
|
-
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));
|
|
870
|
-
}
|
|
871
|
-
function getContainingBlock(element) {
|
|
872
|
-
let currentNode = getParentNode(element);
|
|
873
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
874
|
-
if (isContainingBlock(currentNode)) {
|
|
875
|
-
return currentNode;
|
|
876
|
-
} else {
|
|
877
|
-
currentNode = getParentNode(currentNode);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
return null;
|
|
881
|
-
}
|
|
882
|
-
function isWebKit() {
|
|
883
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
884
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
885
|
-
}
|
|
886
|
-
function isLastTraversableNode(node) {
|
|
887
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
888
|
-
}
|
|
889
|
-
function getComputedStyle(element) {
|
|
890
|
-
return getWindow(element).getComputedStyle(element);
|
|
891
|
-
}
|
|
892
|
-
function getNodeScroll(element) {
|
|
893
|
-
if (isElement(element)) {
|
|
894
|
-
return {
|
|
895
|
-
scrollLeft: element.scrollLeft,
|
|
896
|
-
scrollTop: element.scrollTop
|
|
897
|
-
};
|
|
898
|
-
}
|
|
899
|
-
return {
|
|
900
|
-
scrollLeft: element.pageXOffset,
|
|
901
|
-
scrollTop: element.pageYOffset
|
|
902
|
-
};
|
|
903
|
-
}
|
|
904
|
-
function getParentNode(node) {
|
|
905
|
-
if (getNodeName(node) === 'html') {
|
|
906
|
-
return node;
|
|
907
|
-
}
|
|
908
|
-
const result =
|
|
909
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
910
|
-
node.assignedSlot ||
|
|
911
|
-
// DOM Element detected.
|
|
912
|
-
node.parentNode ||
|
|
913
|
-
// ShadowRoot detected.
|
|
914
|
-
isShadowRoot(node) && node.host ||
|
|
915
|
-
// Fallback.
|
|
916
|
-
getDocumentElement(node);
|
|
917
|
-
return isShadowRoot(result) ? result.host : result;
|
|
918
|
-
}
|
|
919
|
-
function getNearestOverflowAncestor(node) {
|
|
920
|
-
const parentNode = getParentNode(node);
|
|
921
|
-
if (isLastTraversableNode(parentNode)) {
|
|
922
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
923
|
-
}
|
|
924
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
925
|
-
return parentNode;
|
|
926
|
-
}
|
|
927
|
-
return getNearestOverflowAncestor(parentNode);
|
|
928
|
-
}
|
|
929
|
-
function getOverflowAncestors(node, list) {
|
|
930
|
-
var _node$ownerDocument2;
|
|
931
|
-
if (list === void 0) {
|
|
932
|
-
list = [];
|
|
933
|
-
}
|
|
934
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
935
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
936
|
-
const win = getWindow(scrollableAncestor);
|
|
937
|
-
if (isBody) {
|
|
938
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
939
|
-
}
|
|
940
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
function getCssDimensions(element) {
|
|
944
|
-
const css = getComputedStyle(element);
|
|
945
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
946
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
947
|
-
let width = parseFloat(css.width) || 0;
|
|
948
|
-
let height = parseFloat(css.height) || 0;
|
|
949
|
-
const hasOffset = isHTMLElement(element);
|
|
950
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
951
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
952
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
953
|
-
if (shouldFallback) {
|
|
954
|
-
width = offsetWidth;
|
|
955
|
-
height = offsetHeight;
|
|
956
|
-
}
|
|
957
|
-
return {
|
|
958
|
-
width,
|
|
959
|
-
height,
|
|
960
|
-
$: shouldFallback
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
function unwrapElement(element) {
|
|
965
|
-
return !isElement(element) ? element.contextElement : element;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
function getScale(element) {
|
|
969
|
-
const domElement = unwrapElement(element);
|
|
970
|
-
if (!isHTMLElement(domElement)) {
|
|
971
|
-
return createCoords(1);
|
|
972
|
-
}
|
|
973
|
-
const rect = domElement.getBoundingClientRect();
|
|
974
|
-
const {
|
|
975
|
-
width,
|
|
976
|
-
height,
|
|
977
|
-
$
|
|
978
|
-
} = getCssDimensions(domElement);
|
|
979
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
980
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
981
|
-
|
|
982
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
983
|
-
|
|
984
|
-
if (!x || !Number.isFinite(x)) {
|
|
985
|
-
x = 1;
|
|
986
|
-
}
|
|
987
|
-
if (!y || !Number.isFinite(y)) {
|
|
988
|
-
y = 1;
|
|
989
|
-
}
|
|
990
|
-
return {
|
|
991
|
-
x,
|
|
992
|
-
y
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
997
|
-
function getVisualOffsets(element) {
|
|
998
|
-
const win = getWindow(element);
|
|
999
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
1000
|
-
return noOffsets;
|
|
1001
|
-
}
|
|
1002
|
-
return {
|
|
1003
|
-
x: win.visualViewport.offsetLeft,
|
|
1004
|
-
y: win.visualViewport.offsetTop
|
|
1005
|
-
};
|
|
1006
|
-
}
|
|
1007
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1008
|
-
if (isFixed === void 0) {
|
|
1009
|
-
isFixed = false;
|
|
1010
|
-
}
|
|
1011
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1012
|
-
return false;
|
|
1013
|
-
}
|
|
1014
|
-
return isFixed;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1018
|
-
if (includeScale === void 0) {
|
|
1019
|
-
includeScale = false;
|
|
1020
|
-
}
|
|
1021
|
-
if (isFixedStrategy === void 0) {
|
|
1022
|
-
isFixedStrategy = false;
|
|
1023
|
-
}
|
|
1024
|
-
const clientRect = element.getBoundingClientRect();
|
|
1025
|
-
const domElement = unwrapElement(element);
|
|
1026
|
-
let scale = createCoords(1);
|
|
1027
|
-
if (includeScale) {
|
|
1028
|
-
if (offsetParent) {
|
|
1029
|
-
if (isElement(offsetParent)) {
|
|
1030
|
-
scale = getScale(offsetParent);
|
|
1031
|
-
}
|
|
1032
|
-
} else {
|
|
1033
|
-
scale = getScale(element);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1037
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1038
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1039
|
-
let width = clientRect.width / scale.x;
|
|
1040
|
-
let height = clientRect.height / scale.y;
|
|
1041
|
-
if (domElement) {
|
|
1042
|
-
const win = getWindow(domElement);
|
|
1043
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1044
|
-
let currentIFrame = win.frameElement;
|
|
1045
|
-
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1046
|
-
const iframeScale = getScale(currentIFrame);
|
|
1047
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1048
|
-
const css = getComputedStyle(currentIFrame);
|
|
1049
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1050
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1051
|
-
x *= iframeScale.x;
|
|
1052
|
-
y *= iframeScale.y;
|
|
1053
|
-
width *= iframeScale.x;
|
|
1054
|
-
height *= iframeScale.y;
|
|
1055
|
-
x += left;
|
|
1056
|
-
y += top;
|
|
1057
|
-
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
return rectToClientRect({
|
|
1061
|
-
width,
|
|
1062
|
-
height,
|
|
1063
|
-
x,
|
|
1064
|
-
y
|
|
1065
|
-
});
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1069
|
-
let {
|
|
1070
|
-
rect,
|
|
1071
|
-
offsetParent,
|
|
1072
|
-
strategy
|
|
1073
|
-
} = _ref;
|
|
1074
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1075
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1076
|
-
if (offsetParent === documentElement) {
|
|
1077
|
-
return rect;
|
|
1078
|
-
}
|
|
1079
|
-
let scroll = {
|
|
1080
|
-
scrollLeft: 0,
|
|
1081
|
-
scrollTop: 0
|
|
1082
|
-
};
|
|
1083
|
-
let scale = createCoords(1);
|
|
1084
|
-
const offsets = createCoords(0);
|
|
1085
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1086
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1087
|
-
scroll = getNodeScroll(offsetParent);
|
|
1088
|
-
}
|
|
1089
|
-
if (isHTMLElement(offsetParent)) {
|
|
1090
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1091
|
-
scale = getScale(offsetParent);
|
|
1092
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1093
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
return {
|
|
1097
|
-
width: rect.width * scale.x,
|
|
1098
|
-
height: rect.height * scale.y,
|
|
1099
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1100
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
function getClientRects(element) {
|
|
1105
|
-
return Array.from(element.getClientRects());
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
function getWindowScrollBarX(element) {
|
|
1109
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1110
|
-
// incorrect for RTL.
|
|
1111
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
1115
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1116
|
-
function getDocumentRect(element) {
|
|
1117
|
-
const html = getDocumentElement(element);
|
|
1118
|
-
const scroll = getNodeScroll(element);
|
|
1119
|
-
const body = element.ownerDocument.body;
|
|
1120
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1121
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1122
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1123
|
-
const y = -scroll.scrollTop;
|
|
1124
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1125
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1126
|
-
}
|
|
1127
|
-
return {
|
|
1128
|
-
width,
|
|
1129
|
-
height,
|
|
1130
|
-
x,
|
|
1131
|
-
y
|
|
1132
|
-
};
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
function getViewportRect(element, strategy) {
|
|
1136
|
-
const win = getWindow(element);
|
|
1137
|
-
const html = getDocumentElement(element);
|
|
1138
|
-
const visualViewport = win.visualViewport;
|
|
1139
|
-
let width = html.clientWidth;
|
|
1140
|
-
let height = html.clientHeight;
|
|
1141
|
-
let x = 0;
|
|
1142
|
-
let y = 0;
|
|
1143
|
-
if (visualViewport) {
|
|
1144
|
-
width = visualViewport.width;
|
|
1145
|
-
height = visualViewport.height;
|
|
1146
|
-
const visualViewportBased = isWebKit();
|
|
1147
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1148
|
-
x = visualViewport.offsetLeft;
|
|
1149
|
-
y = visualViewport.offsetTop;
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
return {
|
|
1153
|
-
width,
|
|
1154
|
-
height,
|
|
1155
|
-
x,
|
|
1156
|
-
y
|
|
1157
|
-
};
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1161
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1162
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1163
|
-
const top = clientRect.top + element.clientTop;
|
|
1164
|
-
const left = clientRect.left + element.clientLeft;
|
|
1165
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1166
|
-
const width = element.clientWidth * scale.x;
|
|
1167
|
-
const height = element.clientHeight * scale.y;
|
|
1168
|
-
const x = left * scale.x;
|
|
1169
|
-
const y = top * scale.y;
|
|
1170
|
-
return {
|
|
1171
|
-
width,
|
|
1172
|
-
height,
|
|
1173
|
-
x,
|
|
1174
|
-
y
|
|
1175
|
-
};
|
|
1176
|
-
}
|
|
1177
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1178
|
-
let rect;
|
|
1179
|
-
if (clippingAncestor === 'viewport') {
|
|
1180
|
-
rect = getViewportRect(element, strategy);
|
|
1181
|
-
} else if (clippingAncestor === 'document') {
|
|
1182
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1183
|
-
} else if (isElement(clippingAncestor)) {
|
|
1184
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1185
|
-
} else {
|
|
1186
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1187
|
-
rect = {
|
|
1188
|
-
...clippingAncestor,
|
|
1189
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1190
|
-
y: clippingAncestor.y - visualOffsets.y
|
|
1191
|
-
};
|
|
1192
|
-
}
|
|
1193
|
-
return rectToClientRect(rect);
|
|
1194
|
-
}
|
|
1195
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1196
|
-
const parentNode = getParentNode(element);
|
|
1197
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1198
|
-
return false;
|
|
1199
|
-
}
|
|
1200
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1204
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1205
|
-
// of the given element up the tree.
|
|
1206
|
-
function getClippingElementAncestors(element, cache) {
|
|
1207
|
-
const cachedResult = cache.get(element);
|
|
1208
|
-
if (cachedResult) {
|
|
1209
|
-
return cachedResult;
|
|
1210
|
-
}
|
|
1211
|
-
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1212
|
-
let currentContainingBlockComputedStyle = null;
|
|
1213
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1214
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1215
|
-
|
|
1216
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1217
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1218
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1219
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1220
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1221
|
-
currentContainingBlockComputedStyle = null;
|
|
1222
|
-
}
|
|
1223
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1224
|
-
if (shouldDropCurrentNode) {
|
|
1225
|
-
// Drop non-containing blocks.
|
|
1226
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1227
|
-
} else {
|
|
1228
|
-
// Record last containing block for next iteration.
|
|
1229
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1230
|
-
}
|
|
1231
|
-
currentNode = getParentNode(currentNode);
|
|
1232
|
-
}
|
|
1233
|
-
cache.set(element, result);
|
|
1234
|
-
return result;
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
1238
|
-
// clipping ancestors.
|
|
1239
|
-
function getClippingRect(_ref) {
|
|
1240
|
-
let {
|
|
1241
|
-
element,
|
|
1242
|
-
boundary,
|
|
1243
|
-
rootBoundary,
|
|
1244
|
-
strategy
|
|
1245
|
-
} = _ref;
|
|
1246
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1247
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1248
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1249
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1250
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1251
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1252
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1253
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1254
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1255
|
-
return accRect;
|
|
1256
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1257
|
-
return {
|
|
1258
|
-
width: clippingRect.right - clippingRect.left,
|
|
1259
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1260
|
-
x: clippingRect.left,
|
|
1261
|
-
y: clippingRect.top
|
|
1262
|
-
};
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
function getDimensions(element) {
|
|
1266
|
-
return getCssDimensions(element);
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1270
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1271
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1272
|
-
const isFixed = strategy === 'fixed';
|
|
1273
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1274
|
-
let scroll = {
|
|
1275
|
-
scrollLeft: 0,
|
|
1276
|
-
scrollTop: 0
|
|
1277
|
-
};
|
|
1278
|
-
const offsets = createCoords(0);
|
|
1279
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1280
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1281
|
-
scroll = getNodeScroll(offsetParent);
|
|
1282
|
-
}
|
|
1283
|
-
if (isOffsetParentAnElement) {
|
|
1284
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1285
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1286
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1287
|
-
} else if (documentElement) {
|
|
1288
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
return {
|
|
1292
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1293
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1294
|
-
width: rect.width,
|
|
1295
|
-
height: rect.height
|
|
1296
|
-
};
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1300
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1301
|
-
return null;
|
|
1302
|
-
}
|
|
1303
|
-
if (polyfill) {
|
|
1304
|
-
return polyfill(element);
|
|
1305
|
-
}
|
|
1306
|
-
return element.offsetParent;
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1310
|
-
// such as table ancestors and cross browser bugs.
|
|
1311
|
-
function getOffsetParent(element, polyfill) {
|
|
1312
|
-
const window = getWindow(element);
|
|
1313
|
-
if (!isHTMLElement(element)) {
|
|
1314
|
-
return window;
|
|
1315
|
-
}
|
|
1316
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1317
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
1318
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1319
|
-
}
|
|
1320
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1321
|
-
return window;
|
|
1322
|
-
}
|
|
1323
|
-
return offsetParent || getContainingBlock(element) || window;
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
const getElementRects = async function (_ref) {
|
|
1327
|
-
let {
|
|
1328
|
-
reference,
|
|
1329
|
-
floating,
|
|
1330
|
-
strategy
|
|
1331
|
-
} = _ref;
|
|
1332
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1333
|
-
const getDimensionsFn = this.getDimensions;
|
|
1334
|
-
return {
|
|
1335
|
-
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1336
|
-
floating: {
|
|
1337
|
-
x: 0,
|
|
1338
|
-
y: 0,
|
|
1339
|
-
...(await getDimensionsFn(floating))
|
|
1340
|
-
}
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
|
|
1344
|
-
function isRTL(element) {
|
|
1345
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
const platform = {
|
|
1349
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1350
|
-
getDocumentElement,
|
|
1351
|
-
getClippingRect,
|
|
1352
|
-
getOffsetParent,
|
|
1353
|
-
getElementRects,
|
|
1354
|
-
getClientRects,
|
|
1355
|
-
getDimensions,
|
|
1356
|
-
getScale,
|
|
1357
|
-
isElement,
|
|
1358
|
-
isRTL
|
|
1359
|
-
};
|
|
1360
|
-
|
|
1361
|
-
// https://samthor.au/2021/observing-dom/
|
|
1362
|
-
function observeMove(element, onMove) {
|
|
1363
|
-
let io = null;
|
|
1364
|
-
let timeoutId;
|
|
1365
|
-
const root = getDocumentElement(element);
|
|
1366
|
-
function cleanup() {
|
|
1367
|
-
clearTimeout(timeoutId);
|
|
1368
|
-
io && io.disconnect();
|
|
1369
|
-
io = null;
|
|
1370
|
-
}
|
|
1371
|
-
function refresh(skip, threshold) {
|
|
1372
|
-
if (skip === void 0) {
|
|
1373
|
-
skip = false;
|
|
1374
|
-
}
|
|
1375
|
-
if (threshold === void 0) {
|
|
1376
|
-
threshold = 1;
|
|
1377
|
-
}
|
|
1378
|
-
cleanup();
|
|
1379
|
-
const {
|
|
1380
|
-
left,
|
|
1381
|
-
top,
|
|
1382
|
-
width,
|
|
1383
|
-
height
|
|
1384
|
-
} = element.getBoundingClientRect();
|
|
1385
|
-
if (!skip) {
|
|
1386
|
-
onMove();
|
|
1387
|
-
}
|
|
1388
|
-
if (!width || !height) {
|
|
1389
|
-
return;
|
|
1390
|
-
}
|
|
1391
|
-
const insetTop = floor(top);
|
|
1392
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1393
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1394
|
-
const insetLeft = floor(left);
|
|
1395
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1396
|
-
const options = {
|
|
1397
|
-
rootMargin,
|
|
1398
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1399
|
-
};
|
|
1400
|
-
let isFirstUpdate = true;
|
|
1401
|
-
function handleObserve(entries) {
|
|
1402
|
-
const ratio = entries[0].intersectionRatio;
|
|
1403
|
-
if (ratio !== threshold) {
|
|
1404
|
-
if (!isFirstUpdate) {
|
|
1405
|
-
return refresh();
|
|
1406
|
-
}
|
|
1407
|
-
if (!ratio) {
|
|
1408
|
-
timeoutId = setTimeout(() => {
|
|
1409
|
-
refresh(false, 1e-7);
|
|
1410
|
-
}, 100);
|
|
1411
|
-
} else {
|
|
1412
|
-
refresh(false, ratio);
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
isFirstUpdate = false;
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
1419
|
-
// error.
|
|
1420
|
-
try {
|
|
1421
|
-
io = new IntersectionObserver(handleObserve, {
|
|
1422
|
-
...options,
|
|
1423
|
-
// Handle <iframe>s
|
|
1424
|
-
root: root.ownerDocument
|
|
1425
|
-
});
|
|
1426
|
-
} catch (e) {
|
|
1427
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1428
|
-
}
|
|
1429
|
-
io.observe(element);
|
|
1430
|
-
}
|
|
1431
|
-
refresh(true);
|
|
1432
|
-
return cleanup;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* Automatically updates the position of the floating element when necessary.
|
|
1437
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
1438
|
-
* visible on the screen.
|
|
1439
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
1440
|
-
* removed from the DOM or hidden from the screen.
|
|
1441
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
1442
|
-
*/
|
|
1443
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1444
|
-
if (options === void 0) {
|
|
1445
|
-
options = {};
|
|
1446
|
-
}
|
|
1447
|
-
const {
|
|
1448
|
-
ancestorScroll = true,
|
|
1449
|
-
ancestorResize = true,
|
|
1450
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
1451
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
1452
|
-
animationFrame = false
|
|
1453
|
-
} = options;
|
|
1454
|
-
const referenceEl = unwrapElement(reference);
|
|
1455
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1456
|
-
ancestors.forEach(ancestor => {
|
|
1457
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1458
|
-
passive: true
|
|
1459
|
-
});
|
|
1460
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1461
|
-
});
|
|
1462
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1463
|
-
let reobserveFrame = -1;
|
|
1464
|
-
let resizeObserver = null;
|
|
1465
|
-
if (elementResize) {
|
|
1466
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
1467
|
-
let [firstEntry] = _ref;
|
|
1468
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1469
|
-
// Prevent update loops when using the `size` middleware.
|
|
1470
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1471
|
-
resizeObserver.unobserve(floating);
|
|
1472
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1473
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1474
|
-
resizeObserver && resizeObserver.observe(floating);
|
|
1475
|
-
});
|
|
1476
|
-
}
|
|
1477
|
-
update();
|
|
1478
|
-
});
|
|
1479
|
-
if (referenceEl && !animationFrame) {
|
|
1480
|
-
resizeObserver.observe(referenceEl);
|
|
1481
|
-
}
|
|
1482
|
-
resizeObserver.observe(floating);
|
|
1483
|
-
}
|
|
1484
|
-
let frameId;
|
|
1485
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1486
|
-
if (animationFrame) {
|
|
1487
|
-
frameLoop();
|
|
1488
|
-
}
|
|
1489
|
-
function frameLoop() {
|
|
1490
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1491
|
-
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1492
|
-
update();
|
|
1493
|
-
}
|
|
1494
|
-
prevRefRect = nextRefRect;
|
|
1495
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1496
|
-
}
|
|
1497
|
-
update();
|
|
1498
|
-
return () => {
|
|
1499
|
-
ancestors.forEach(ancestor => {
|
|
1500
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1501
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1502
|
-
});
|
|
1503
|
-
cleanupIo && cleanupIo();
|
|
1504
|
-
resizeObserver && resizeObserver.disconnect();
|
|
1505
|
-
resizeObserver = null;
|
|
1506
|
-
if (animationFrame) {
|
|
1507
|
-
cancelAnimationFrame(frameId);
|
|
1508
|
-
}
|
|
1509
|
-
};
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1514
|
-
* next to a reference element when it is given a certain CSS positioning
|
|
1515
|
-
* strategy.
|
|
1516
|
-
*/
|
|
1517
|
-
const computePosition = (reference, floating, options) => {
|
|
1518
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1519
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1520
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
1521
|
-
const cache = new Map();
|
|
1522
|
-
const mergedOptions = {
|
|
1523
|
-
platform,
|
|
1524
|
-
...options
|
|
1525
|
-
};
|
|
1526
|
-
const platformWithCache = {
|
|
1527
|
-
...mergedOptions.platform,
|
|
1528
|
-
_c: cache
|
|
1529
|
-
};
|
|
1530
|
-
return computePosition$1(reference, floating, {
|
|
1531
|
-
...mergedOptions,
|
|
1532
|
-
platform: platformWithCache
|
|
1533
|
-
});
|
|
1534
|
-
};
|
|
1535
|
-
|
|
1536
|
-
/**
|
|
1537
|
-
* @license
|
|
1538
|
-
* MIT License
|
|
1539
|
-
*
|
|
1540
|
-
* Copyright (c) 2021 Floating UI contributors
|
|
1541
|
-
*
|
|
1542
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1543
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
1544
|
-
* in the Software without restriction, including without limitation the rights
|
|
1545
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1546
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
1547
|
-
* furnished to do so, subject to the following conditions:
|
|
1548
|
-
*
|
|
1549
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
1550
|
-
* copies or substantial portions of the Software.
|
|
1551
|
-
*
|
|
1552
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1553
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1554
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1555
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1556
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1557
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1558
|
-
* SOFTWARE.
|
|
1559
|
-
*/
|
|
1560
|
-
const offset = (value) => {
|
|
1561
|
-
return {
|
|
1562
|
-
name: 'offset',
|
|
1563
|
-
options: value,
|
|
1564
|
-
async fn(middlewareArguments) {
|
|
1565
|
-
const newFn = (args) => {
|
|
1566
|
-
// flip middleware could be called several times, until the right space is found.
|
|
1567
|
-
// Every time flip is called and overflow is detected, a possible next placement
|
|
1568
|
-
// is chosen and the array of middleware (including the offset middleware) is called again
|
|
1569
|
-
// with the chosen next placement.
|
|
1570
|
-
// Here we detect that flip is needed and we should change the offset sign if needed.
|
|
1571
|
-
const overflowsData = args.middlewareData.flip?.overflows != undefined
|
|
1572
|
-
? args.middlewareData.flip?.overflows[0]
|
|
1573
|
-
: null;
|
|
1574
|
-
let offset;
|
|
1575
|
-
if (overflowsData != null && value != null && typeof value === 'object') {
|
|
1576
|
-
offset = flippedOffset(args.placement, args.initialPlacement, value);
|
|
1577
|
-
}
|
|
1578
|
-
if (!value) {
|
|
1579
|
-
return 0;
|
|
1580
|
-
}
|
|
1581
|
-
const rawValue = offset ?? value;
|
|
1582
|
-
return rawValue;
|
|
1583
|
-
};
|
|
1584
|
-
return offset$1(newFn).fn(middlewareArguments);
|
|
1585
|
-
}
|
|
1586
|
-
};
|
|
1587
|
-
};
|
|
1588
|
-
const flippedOffset = (placement, initialPlacement, offset) => {
|
|
1589
|
-
const initialSide = initialPlacement.split('-')[0];
|
|
1590
|
-
const side = placement.split('-')[0];
|
|
1591
|
-
const initialAlignment = initialPlacement.split('-')[1];
|
|
1592
|
-
const alignment = placement.split('-')[1];
|
|
1593
|
-
// if flipped around crossAxis
|
|
1594
|
-
if (((initialSide === 'right' || initialSide === 'left') &&
|
|
1595
|
-
initialSide === side &&
|
|
1596
|
-
initialAlignment !== alignment) ||
|
|
1597
|
-
((initialSide === 'top' || initialSide === 'bottom') &&
|
|
1598
|
-
initialSide === side &&
|
|
1599
|
-
initialAlignment !== alignment)) {
|
|
1600
|
-
return {
|
|
1601
|
-
mainAxis: offset && typeof offset === 'object' && offset.mainAxis ? offset.mainAxis : 0,
|
|
1602
|
-
crossAxis: offset && typeof offset === 'object' && offset.crossAxis ? -offset.crossAxis : 0
|
|
1603
|
-
};
|
|
1604
|
-
}
|
|
1605
|
-
else {
|
|
1606
|
-
return offset;
|
|
1607
|
-
}
|
|
1608
|
-
};
|
|
1609
|
-
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
1610
|
-
// functions
|
|
1611
|
-
function deepEqual(a, b) {
|
|
1612
|
-
if (a === b) {
|
|
1613
|
-
return true;
|
|
1614
|
-
}
|
|
1615
|
-
if (typeof a !== typeof b) {
|
|
1616
|
-
return false;
|
|
1617
|
-
}
|
|
1618
|
-
if (typeof a === 'function' && a.toString() === b.toString()) {
|
|
1619
|
-
return true;
|
|
1620
|
-
}
|
|
1621
|
-
let length, i, keys;
|
|
1622
|
-
if (a && b && typeof a == 'object') {
|
|
1623
|
-
if (Array.isArray(a)) {
|
|
1624
|
-
length = a.length;
|
|
1625
|
-
if (length != b.length)
|
|
1626
|
-
return false;
|
|
1627
|
-
for (i = length; i-- !== 0;) {
|
|
1628
|
-
if (!deepEqual(a[i], b[i])) {
|
|
1629
|
-
return false;
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
return true;
|
|
1633
|
-
}
|
|
1634
|
-
keys = Object.keys(a);
|
|
1635
|
-
length = keys.length;
|
|
1636
|
-
if (length !== Object.keys(b).length) {
|
|
1637
|
-
return false;
|
|
1638
|
-
}
|
|
1639
|
-
for (i = length; i-- !== 0;) {
|
|
1640
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {
|
|
1641
|
-
return false;
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
for (i = length; i-- !== 0;) {
|
|
1645
|
-
const key = keys[i];
|
|
1646
|
-
if (key === '_owner' && a.$$typeof) {
|
|
1647
|
-
continue;
|
|
1648
|
-
}
|
|
1649
|
-
if (!deepEqual(a[key], b[key])) {
|
|
1650
|
-
return false;
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
return true;
|
|
1654
|
-
}
|
|
1655
|
-
return a !== a && b !== b;
|
|
1656
|
-
}
|
|
1657
|
-
function useLatestRef(value) {
|
|
1658
|
-
const ref = hooks.useRef(value);
|
|
1659
|
-
hooks.useLayoutEffect(() => {
|
|
1660
|
-
ref.current = value;
|
|
1661
|
-
});
|
|
1662
|
-
return ref;
|
|
1663
|
-
}
|
|
1664
|
-
const reverseLogicalSide = (placement, direction) => {
|
|
1665
|
-
const side = placement.split('-')[0];
|
|
1666
|
-
if (side === 'top' || side === 'bottom') {
|
|
1667
|
-
return placement;
|
|
1668
|
-
}
|
|
1669
|
-
const alignment = placement.split('-')[1];
|
|
1670
|
-
const reversedPhysicalSide = positionUtils.reverseNormalizePosition(side, direction);
|
|
1671
|
-
const alignmentSideHash = {
|
|
1672
|
-
start: 'top',
|
|
1673
|
-
end: 'bottom'
|
|
1674
|
-
};
|
|
1675
|
-
const alignmentMappedSide = alignment != null
|
|
1676
|
-
? alignment.replace(/start|end/g, (matched) => alignmentSideHash[matched])
|
|
1677
|
-
: null;
|
|
1678
|
-
const placements = [
|
|
1679
|
-
'top',
|
|
1680
|
-
'top-start',
|
|
1681
|
-
'top-end',
|
|
1682
|
-
'end',
|
|
1683
|
-
'end-top',
|
|
1684
|
-
'end-bottom',
|
|
1685
|
-
'bottom-start',
|
|
1686
|
-
'bottom-end',
|
|
1687
|
-
'bottom',
|
|
1688
|
-
'start',
|
|
1689
|
-
'start-top',
|
|
1690
|
-
'start-bottom'
|
|
1691
|
-
];
|
|
1692
|
-
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${reversedPhysicalSide}-${alignmentMappedSide}`) ||
|
|
1693
|
-
(!alignmentMappedSide && placement === `${reversedPhysicalSide}`))[0];
|
|
1694
|
-
if (!newPlacement) {
|
|
1695
|
-
return 'bottom';
|
|
1696
|
-
}
|
|
1697
|
-
return newPlacement;
|
|
1698
|
-
};
|
|
1699
|
-
const logicalSide = (placement, direction) => {
|
|
1700
|
-
const side = placement.split('-')[0];
|
|
1701
|
-
const alignment = placement.split('-')[1];
|
|
1702
|
-
const physicalSide = positionUtils.normalizePosition(side, direction);
|
|
1703
|
-
let alignmentSideHash;
|
|
1704
|
-
let alignmentMappedSide;
|
|
1705
|
-
if (alignment) {
|
|
1706
|
-
alignmentSideHash = {
|
|
1707
|
-
top: 'start',
|
|
1708
|
-
bottom: 'end'
|
|
1709
|
-
};
|
|
1710
|
-
alignmentMappedSide = alignment.replace(/top|bottom/g, (matched) => alignmentSideHash[matched]);
|
|
1711
|
-
}
|
|
1712
|
-
const placements = [
|
|
1713
|
-
'top',
|
|
1714
|
-
'right',
|
|
1715
|
-
'bottom',
|
|
1716
|
-
'left',
|
|
1717
|
-
'top-start',
|
|
1718
|
-
'right-start',
|
|
1719
|
-
'bottom-start',
|
|
1720
|
-
'left-start',
|
|
1721
|
-
'top-end',
|
|
1722
|
-
'right-end',
|
|
1723
|
-
'bottom-end',
|
|
1724
|
-
'left-end'
|
|
1725
|
-
];
|
|
1726
|
-
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${physicalSide}-${alignmentMappedSide}`) ||
|
|
1727
|
-
(!alignmentMappedSide && placement === `${physicalSide}`))[0];
|
|
1728
|
-
if (!newPlacement) {
|
|
1729
|
-
return 'bottom';
|
|
1730
|
-
}
|
|
1731
|
-
return newPlacement;
|
|
1732
|
-
};
|
|
1733
|
-
const cornerPlacement = (placement, floating) => {
|
|
1734
|
-
const side = placement.split('-')[0];
|
|
1735
|
-
const alignment = placement.split('-')[1];
|
|
1736
|
-
const corner = placement.split('-')[2];
|
|
1737
|
-
if (corner == null) {
|
|
1738
|
-
return { placement: placement, offset: undefined };
|
|
1739
|
-
}
|
|
1740
|
-
const placements = [
|
|
1741
|
-
'top-start',
|
|
1742
|
-
'start-top',
|
|
1743
|
-
'bottom-start',
|
|
1744
|
-
'start-bottom',
|
|
1745
|
-
'top-end',
|
|
1746
|
-
'end-top',
|
|
1747
|
-
'bottom-end',
|
|
1748
|
-
'end-bottom'
|
|
1749
|
-
];
|
|
1750
|
-
const newPlacement = placements.filter((placement) => placement === `${side}-${alignment}`)[0];
|
|
1751
|
-
if (alignment == 'start') {
|
|
1752
|
-
return { placement: newPlacement, offset: { crossAxis: -floating.offsetWidth } };
|
|
1753
|
-
}
|
|
1754
|
-
if (alignment == 'end') {
|
|
1755
|
-
return { placement: newPlacement, offset: { crossAxis: floating.offsetWidth } };
|
|
1756
|
-
}
|
|
1757
|
-
if (alignment == 'top') {
|
|
1758
|
-
return { placement: newPlacement, offset: { crossAxis: -floating.offsetHeight } };
|
|
1759
|
-
}
|
|
1760
|
-
// the last option should always be alignment == 'bottom'
|
|
1761
|
-
return { placement: newPlacement, offset: { crossAxis: floating.offsetHeight } };
|
|
1762
|
-
};
|
|
1763
|
-
const isOfPlacementType = (value) => {
|
|
1764
|
-
const placementTypeValues = [
|
|
1765
|
-
'top',
|
|
1766
|
-
'top-start',
|
|
1767
|
-
'top-end',
|
|
1768
|
-
'top-start-corner',
|
|
1769
|
-
'top-end-corner',
|
|
1770
|
-
'start',
|
|
1771
|
-
'start-top',
|
|
1772
|
-
'start-bottom',
|
|
1773
|
-
'start-top-corner',
|
|
1774
|
-
'start-bottom-corner',
|
|
1775
|
-
'bottom',
|
|
1776
|
-
'bottom-start',
|
|
1777
|
-
'bottom-end',
|
|
1778
|
-
'bottom-start-corner',
|
|
1779
|
-
'bottom-end-corner',
|
|
1780
|
-
'end',
|
|
1781
|
-
'end-top',
|
|
1782
|
-
'end-bottom',
|
|
1783
|
-
'end-top-corner',
|
|
1784
|
-
'end-bottom-corner'
|
|
1785
|
-
];
|
|
1786
|
-
return placementTypeValues.includes(value);
|
|
1787
|
-
};
|
|
1788
|
-
function useFloating({ middleware, placement, strategy, onPosition, whileElementsMounted }) {
|
|
1789
|
-
//this should not happen, checking to just to be safe
|
|
1790
|
-
if (!isOfPlacementType(placement)) {
|
|
1791
|
-
placement = 'bottom';
|
|
1792
|
-
}
|
|
1793
|
-
const referenceRef = hooks.useRef(null);
|
|
1794
|
-
const floatingRef = hooks.useRef(null);
|
|
1795
|
-
const [reference, _setReference] = hooks.useState(null);
|
|
1796
|
-
const [floating, _setFloating] = hooks.useState(null);
|
|
1797
|
-
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
1798
|
-
const isMountedRef = hooks.useRef(false);
|
|
1799
|
-
const { direction } = useUser.useUser();
|
|
1800
|
-
const [data, _setData] = hooks.useState({
|
|
1801
|
-
// Setting these to `null` will allow the consumer to determine if
|
|
1802
|
-
// `computePosition()` has run yet
|
|
1803
|
-
x: null,
|
|
1804
|
-
y: null,
|
|
1805
|
-
strategy: strategy ?? 'absolute',
|
|
1806
|
-
placement: 'bottom',
|
|
1807
|
-
middlewareData: {}
|
|
1808
|
-
});
|
|
1809
|
-
const dataRef = hooks.useRef(data);
|
|
1810
|
-
const setData = (data) => {
|
|
1811
|
-
dataRef.current = data;
|
|
1812
|
-
_setData(data);
|
|
1813
|
-
};
|
|
1814
|
-
const [latestMiddleware, setLatestMiddleware] = hooks.useState(middleware);
|
|
1815
|
-
if (!deepEqual(latestMiddleware, middleware)) {
|
|
1816
|
-
setLatestMiddleware(middleware);
|
|
1817
|
-
}
|
|
1818
|
-
const update = hooks.useCallback(() => {
|
|
1819
|
-
if (!referenceRef.current || !floatingRef.current) {
|
|
1820
|
-
return;
|
|
1821
|
-
}
|
|
1822
|
-
// map *-corner placement to normalized placement and offset
|
|
1823
|
-
const floatingCornerPlacement = cornerPlacement(placement, floatingRef.current);
|
|
1824
|
-
// map start/end placements to right/left depending on the reading direction
|
|
1825
|
-
const floatingUiPlacement = logicalSide(floatingCornerPlacement.placement, direction);
|
|
1826
|
-
// we need a summarized offset middleware
|
|
1827
|
-
const newMiddlewareArray = latestMiddleware?.map((m) => {
|
|
1828
|
-
if (m && m?.name === 'offset') {
|
|
1829
|
-
if (typeof m.options === 'function') {
|
|
1830
|
-
// ignore function if there are *-corner placements
|
|
1831
|
-
return floatingCornerPlacement.offset == null
|
|
1832
|
-
? m
|
|
1833
|
-
: offset(floatingCornerPlacement.offset);
|
|
1834
|
-
}
|
|
1835
|
-
const currentOffset = typeof m.options === 'number' ? { mainAxis: m.options, crossAxis: 0 } : m.options;
|
|
1836
|
-
return offset({
|
|
1837
|
-
mainAxis: (currentOffset && currentOffset.mainAxis) ?? 0,
|
|
1838
|
-
crossAxis: ((floatingCornerPlacement.offset && floatingCornerPlacement.offset.crossAxis) ?? 0) +
|
|
1839
|
-
((currentOffset && currentOffset.crossAxis) ?? 0)
|
|
1840
|
-
});
|
|
1841
|
-
}
|
|
1842
|
-
else {
|
|
1843
|
-
return m;
|
|
1844
|
-
}
|
|
1845
|
-
});
|
|
1846
|
-
computePosition(referenceRef.current, floatingRef.current, {
|
|
1847
|
-
middleware: newMiddlewareArray,
|
|
1848
|
-
placement: floatingUiPlacement,
|
|
1849
|
-
strategy
|
|
1850
|
-
}).then((newData) => {
|
|
1851
|
-
if (isMountedRef.current) {
|
|
1852
|
-
if (newData.placement !== dataRef.current.placement ||
|
|
1853
|
-
newData.x !== dataRef.current.x ||
|
|
1854
|
-
newData.y !== dataRef.current.y ||
|
|
1855
|
-
newData.middlewareData.arrow?.x != dataRef.current.middlewareData.arrow?.x ||
|
|
1856
|
-
newData.middlewareData.arrow?.y != dataRef.current.middlewareData.arrow?.y ||
|
|
1857
|
-
newData.middlewareData.arrow?.centerOffset !=
|
|
1858
|
-
dataRef.current.middlewareData.arrow?.centerOffset) {
|
|
1859
|
-
const newMiddleware = newMiddlewareArray?.find((m) => m && m?.name === 'offset');
|
|
1860
|
-
const origOffset = newMiddleware?.options;
|
|
1861
|
-
const reversedNewPlacement = reverseLogicalSide(newData.placement, direction);
|
|
1862
|
-
const offset = newData.middlewareData.offset;
|
|
1863
|
-
const mappedData = {
|
|
1864
|
-
// we need to map right/left, returned from the computePosition, to start/end
|
|
1865
|
-
placement: reversedNewPlacement,
|
|
1866
|
-
origPlacement: placement,
|
|
1867
|
-
x: newData.x,
|
|
1868
|
-
y: newData.y,
|
|
1869
|
-
arrow: newData.middlewareData.arrow,
|
|
1870
|
-
offset: offset,
|
|
1871
|
-
origOffset: origOffset
|
|
1872
|
-
};
|
|
1873
|
-
onPosition?.(mappedData);
|
|
1874
|
-
}
|
|
1875
|
-
setData(newData);
|
|
1876
|
-
}
|
|
1877
|
-
});
|
|
1878
|
-
}, [latestMiddleware, placement, direction, strategy, onPosition]);
|
|
1879
|
-
hooks.useLayoutEffect(() => {
|
|
1880
|
-
isMountedRef.current = true;
|
|
1881
|
-
return () => {
|
|
1882
|
-
isMountedRef.current = false;
|
|
1883
|
-
};
|
|
1884
|
-
}, []);
|
|
1885
|
-
hooks.useLayoutEffect(() => {
|
|
1886
|
-
if (reference && floating) {
|
|
1887
|
-
if (whileElementsMountedRef.current) {
|
|
1888
|
-
return whileElementsMountedRef.current(reference, floating, update);
|
|
1889
|
-
}
|
|
1890
|
-
else {
|
|
1891
|
-
update();
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
}, [reference, floating, update, whileElementsMountedRef]);
|
|
1895
|
-
const setReference = hooks.useCallback((node) => {
|
|
1896
|
-
if (referenceRef.current !== node) {
|
|
1897
|
-
referenceRef.current = node;
|
|
1898
|
-
_setReference(node);
|
|
1899
|
-
}
|
|
1900
|
-
}, []);
|
|
1901
|
-
const setFloating = hooks.useCallback((node) => {
|
|
1902
|
-
if (floatingRef.current !== node) {
|
|
1903
|
-
floatingRef.current = node;
|
|
1904
|
-
_setFloating(node);
|
|
1905
|
-
}
|
|
1906
|
-
}, []);
|
|
1907
|
-
const refs = hooks.useMemo(() => ({ reference: referenceRef, floating: floatingRef }), []);
|
|
1908
|
-
return hooks.useMemo(() => ({
|
|
1909
|
-
...data,
|
|
1910
|
-
update,
|
|
1911
|
-
refs,
|
|
1912
|
-
reference: setReference,
|
|
1913
|
-
floating: setFloating
|
|
1914
|
-
}), [data, update, refs, setReference, setFloating]);
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
exports.arrow = arrow;
|
|
1918
|
-
exports.autoUpdate = autoUpdate;
|
|
1919
|
-
exports.flip = flip;
|
|
1920
|
-
exports.limitShift = limitShift;
|
|
1921
|
-
exports.logicalSide = logicalSide;
|
|
1922
|
-
exports.offset = offset;
|
|
1923
|
-
exports.shift = shift;
|
|
1924
|
-
exports.size = size;
|
|
1925
|
-
exports.useFloating = useFloating;
|
|
1926
|
-
//# sourceMappingURL=useFloating-480d365a.js.map
|