@oracle/oraclejet-preact 20.0.3 → 20.1.0
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/BarChart-e3c190b5.js +2 -0
- package/amd/BarChart-e3c190b5.js.map +1 -0
- package/amd/BaseCardView-16fda4c3.js +2 -0
- package/amd/BaseCardView-16fda4c3.js.map +1 -0
- package/amd/BaseDiagram-b9695479.js +2 -0
- package/amd/BaseDiagram-b9695479.js.map +1 -0
- package/amd/ButtonSetButton-ded680bb.js +2 -0
- package/amd/ButtonSetButton-ded680bb.js.map +1 -0
- package/amd/ButtonSetIconButton-c4dcbd9a.js +2 -0
- package/amd/ButtonSetIconButton-c4dcbd9a.js.map +1 -0
- package/amd/ButtonSetItem-4d644b7d.js +2 -0
- package/amd/ButtonSetItem-4d644b7d.js.map +1 -0
- package/amd/CardFlexView-d3eb7373.js +2 -0
- package/amd/CardFlexView-d3eb7373.js.map +1 -0
- package/amd/CardGridView-842f70cd.js +2 -0
- package/amd/CardGridView-842f70cd.js.map +1 -0
- package/amd/Chart-00a1b01f.js +2 -0
- package/amd/Chart-00a1b01f.js.map +1 -0
- package/amd/ComboChart-36e22cb8.js +2 -0
- package/amd/ComboChart-36e22cb8.js.map +1 -0
- package/amd/ContainerDiagram-6f41a26a.js +2 -0
- package/amd/ContainerDiagram-6f41a26a.js.map +1 -0
- package/amd/DatePicker-cf0e3fcd.js +2 -0
- package/amd/DatePicker-cf0e3fcd.js.map +1 -0
- package/amd/DatePickerHeader-406aa5c6.js +2 -0
- package/amd/DatePickerHeader-406aa5c6.js.map +1 -0
- package/amd/Diagram-6072b867.js +2 -0
- package/amd/Diagram-6072b867.js.map +1 -0
- package/amd/Dropdown-7cc463f6.js +2 -0
- package/amd/Dropdown-7cc463f6.js.map +1 -0
- package/amd/IconMenuButton-ec28ecfb.js +2 -0
- package/amd/IconMenuButton-ec28ecfb.js.map +1 -0
- package/amd/IconSwitchButton-28f4854a.js +2 -0
- package/amd/IconSwitchButton-28f4854a.js.map +1 -0
- package/amd/IconToggleButton-56035aa0.js +2 -0
- package/amd/IconToggleButton-56035aa0.js.map +1 -0
- package/amd/InlineSelectSingle-a1c1f520.js +2 -0
- package/amd/InlineSelectSingle-a1c1f520.js.map +1 -0
- package/amd/InputColor-bde91b03.js +2 -0
- package/amd/InputColor-bde91b03.js.map +1 -0
- package/amd/InputDatePicker-3351af0f.js +2 -0
- package/amd/InputDatePicker-3351af0f.js.map +1 -0
- package/amd/InputPassword-59369c13.js +2 -0
- package/amd/InputPassword-59369c13.js.map +1 -0
- package/amd/InputSensitiveText-ad79acc4.js +2 -0
- package/amd/InputSensitiveText-ad79acc4.js.map +1 -0
- package/amd/Legend-482f99eb.js +2 -0
- package/amd/Legend-482f99eb.js.map +1 -0
- package/amd/LineAreaChart-6f5dabc1.js +2 -0
- package/amd/LineAreaChart-6f5dabc1.js.map +1 -0
- package/amd/Link-20f7e72d.js +2 -0
- package/amd/Link-20f7e72d.js.map +1 -0
- package/amd/LinkVariants.styles.css +0 -1
- package/amd/LinkVariants.styles2.css +0 -1
- package/amd/ListView-dfbd3f41.js +2 -0
- package/amd/ListView-dfbd3f41.js.map +1 -0
- package/amd/Menu-0c8295f2.js +2 -0
- package/amd/Menu-0c8295f2.js.map +1 -0
- package/amd/MenuButton-1fbc486e.js +2 -0
- package/amd/MenuButton-1fbc486e.js.map +1 -0
- package/amd/MenuItem-f3de5e35.js +2 -0
- package/amd/MenuItem-f3de5e35.js.map +1 -0
- package/amd/MonthView-effa60a5.js +2 -0
- package/amd/MonthView-effa60a5.js.map +1 -0
- package/amd/NavigationListItem-0e162c3e.js +2 -0
- package/amd/NavigationListItem-0e162c3e.js.map +1 -0
- package/amd/NavigationListLinkItem-161049bb.js +2 -0
- package/amd/NavigationListLinkItem-161049bb.js.map +1 -0
- package/amd/OverflowTabBar-aa6557e2.js +2 -0
- package/amd/OverflowTabBar-aa6557e2.js.map +1 -0
- package/amd/OverflowTabBarItem-f05a778f.js +2 -0
- package/amd/OverflowTabBarItem-f05a778f.js.map +1 -0
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_BaseDiagram.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledDatePickerButton/themes/StyledDatePickerButtonStyles.css.js +1 -1
- package/amd/PRIVATE_StyledDatePickerButton.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_TableList.js +1 -1
- package/amd/PRIVATE_TruncatingLink.js +1 -1
- package/amd/PictoChart-c303675a.js +2 -0
- package/amd/PictoChart-c303675a.js.map +1 -0
- package/amd/PieChart-df15d363.js +2 -0
- package/amd/PieChart-df15d363.js.map +1 -0
- package/amd/RemovableNavigationListItem-e298c5de.js +2 -0
- package/amd/RemovableNavigationListItem-e298c5de.js.map +1 -0
- package/amd/ReorderableTabBar-e82d2982.js +2 -0
- package/amd/ReorderableTabBar-e82d2982.js.map +1 -0
- package/amd/RevealToggleIcon-be164a7b.js +2 -0
- package/amd/RevealToggleIcon-be164a7b.js.map +1 -0
- package/amd/ScatterChart-88bc2872.js +2 -0
- package/amd/ScatterChart-88bc2872.js.map +1 -0
- package/amd/SectionalLegend-3bae380b.js +2 -0
- package/amd/SectionalLegend-3bae380b.js.map +1 -0
- package/amd/SectionedContent-878a2df1.js +2 -0
- package/amd/SectionedContent-878a2df1.js.map +1 -0
- package/amd/SelectMenuItem-5bd09f45.js +2 -0
- package/amd/SelectMenuItem-5bd09f45.js.map +1 -0
- package/amd/SelectMobileFieldInput-d8be9c82.js +2 -0
- package/amd/SelectMobileFieldInput-d8be9c82.js.map +1 -0
- package/amd/SelectMultiple-467c640d.js +2 -0
- package/amd/SelectMultiple-467c640d.js.map +1 -0
- package/amd/SelectSingle-a600e403.js +2 -0
- package/amd/SelectSingle-a600e403.js.map +1 -0
- package/amd/SplitMenuButton-42f95b11.js +2 -0
- package/amd/SplitMenuButton-42f95b11.js.map +1 -0
- package/amd/StyledDatePickerButton-416ddc14.js +2 -0
- package/amd/StyledDatePickerButton-416ddc14.js.map +1 -0
- package/amd/StyledDatePickerButtonStyles.styles.css +18 -12
- package/amd/Submenu-f8ab8c2e.js +2 -0
- package/amd/Submenu-f8ab8c2e.js.map +1 -0
- package/amd/TabBar-61d65c39.js +2 -0
- package/amd/TabBar-61d65c39.js.map +1 -0
- package/amd/TabBarContextMenu-6977866c.js +2 -0
- package/amd/TabBarContextMenu-6977866c.js.map +1 -0
- package/amd/TabBarMixed-092116bd.js +2 -0
- package/amd/TabBarMixed-092116bd.js.map +1 -0
- package/amd/Table-225ba4db.js +2 -0
- package/amd/Table-225ba4db.js.map +1 -0
- package/amd/TableView-f7990126.js +2 -0
- package/amd/TableView-f7990126.js.map +1 -0
- package/amd/TagCloud-69af60c1.js +2 -0
- package/amd/TagCloud-69af60c1.js.map +1 -0
- package/amd/Theme-redwood/theme.css +178 -178
- package/amd/Theme-stable/theme.css +351 -351
- package/amd/ToggleButton-c9e433d4.js +2 -0
- package/amd/ToggleButton-c9e433d4.js.map +1 -0
- package/amd/ToggleButtonLabel-367494b8.js +2 -0
- package/amd/ToggleButtonLabel-367494b8.js.map +1 -0
- package/amd/TruncatingLink-2e947915.js +2 -0
- package/amd/TruncatingLink-2e947915.js.map +1 -0
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.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_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_ComboChart.js +1 -1
- package/amd/UNSAFE_ContainerDiagram.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_InlineSelectSingle.js +1 -1
- package/amd/UNSAFE_InputColor.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_LabelledLink.js +1 -1
- package/amd/UNSAFE_LabelledLink.js.map +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.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_ReorderableTabBar.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_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_ToggleButton.js +1 -1
- package/amd/UNSAFE_ToggleButtonLabel.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/YearsGridView-09b45b4e.js +2 -0
- package/amd/YearsGridView-09b45b4e.js.map +1 -0
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useMiddleEllipsis.js +2 -0
- package/amd/hooks/PRIVATE_useMiddleEllipsis.js.map +1 -0
- 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/listViewSelectionTests-e7898c59.js +2 -0
- package/amd/listViewSelectionTests-e7898c59.js.map +1 -0
- package/amd/useChartContextMenu-9abf418f.js +2 -0
- package/amd/useChartContextMenu-9abf418f.js.map +1 -0
- package/amd/useChartMarquee-ec70d86c.js +2 -0
- package/amd/useChartMarquee-ec70d86c.js.map +1 -0
- package/amd/useContextMenu-49bd8ffb.js +2 -0
- package/amd/useContextMenu-49bd8ffb.js.map +1 -0
- package/amd/useDisplayValue-8b0c1851.js +2 -0
- package/amd/useDisplayValue-8b0c1851.js.map +1 -0
- package/amd/useLegendContextMenu-90023a78.js +2 -0
- package/amd/useLegendContextMenu-90023a78.js.map +1 -0
- package/amd/useMiddleEllipsis-9ade43e6.js +2 -0
- package/amd/useMiddleEllipsis-9ade43e6.js.map +1 -0
- package/amd/useSelectCommon-af642fe7.js +2 -0
- package/amd/useSelectCommon-af642fe7.js.map +1 -0
- package/amd/useTabBar-430d9e32.js +2 -0
- package/amd/useTabBar-430d9e32.js.map +1 -0
- package/amd/useVisDragModeControls-c1d2abc6.js +2 -0
- package/amd/useVisDragModeControls-c1d2abc6.js.map +1 -0
- package/cjs/BaseButton-15b86552.js +86 -0
- package/cjs/BaseButton-15b86552.js.map +1 -0
- package/cjs/BaseCardView-ba63723a.js +6 -6
- package/cjs/BaseDiagram-576c2a13.js +2956 -0
- package/cjs/BaseDiagram-576c2a13.js.map +1 -0
- package/cjs/BaseRichSelection-c7cad1af.js +9 -9
- package/cjs/BaseSelector-2dc69917.js +1 -1
- package/cjs/BaseSwatchView-76da473f.js +2 -2
- package/cjs/Button-d79df225.js +24 -0
- package/cjs/Button-d79df225.js.map +1 -0
- package/cjs/ButtonSet-ed013090.js +2 -2
- package/cjs/ButtonSetButton-a7384fb3.js +35 -0
- package/cjs/ButtonSetButton-a7384fb3.js.map +1 -0
- package/cjs/ButtonSetIconButton-345ead86.js +40 -0
- package/cjs/ButtonSetIconButton-345ead86.js.map +1 -0
- package/cjs/ButtonSetItem-1f2f6742.js +67 -0
- package/cjs/ButtonSetItem-1f2f6742.js.map +1 -0
- package/cjs/Center-a23cf0cd.js +18 -0
- package/cjs/Center-a23cf0cd.js.map +1 -0
- package/cjs/Chart-3360191e.js +754 -0
- package/cjs/Chart-3360191e.js.map +1 -0
- package/cjs/CheckboxControl-d37c7764.js +6 -6
- package/cjs/CheckboxRadioField-24e06523.js +6 -6
- package/cjs/CheckboxRadioLabelValueLayout-0ed43779.js +1 -1
- package/cjs/CheckboxSetContext-c62db26d.js +12 -0
- package/cjs/CheckboxSetContext-c62db26d.js.map +1 -0
- package/cjs/Chip-b2dd59ed.js +1 -1
- package/cjs/ClearIcon-f61fc0b9.js +1 -1
- package/cjs/CollapseIcon-9fbe13a9.js +1 -1
- package/cjs/Collapsible-9315585f.js +2 -2
- package/cjs/ColorPalette-9f041744.js +83 -0
- package/cjs/ColorPalette-9f041744.js.map +1 -0
- package/cjs/ColorPicker-24ca67b6.js +25 -0
- package/cjs/ColorPicker-24ca67b6.js.map +1 -0
- package/cjs/ColorSwatch-cddebd6b.js +4 -4
- package/cjs/CompactLabelAssistance-f7b3b814.js +95 -0
- package/cjs/CompactLabelAssistance-f7b3b814.js.map +1 -0
- package/cjs/CompactUserAssistance-a5f1bb2b.js +5 -5
- package/cjs/ComponentMessageContainer-b692adf3.js +4 -4
- package/cjs/DatePicker-c4d49200.js +601 -0
- package/cjs/DatePicker-c4d49200.js.map +1 -0
- package/cjs/DatePickerHeader-9bcd2308.js +48 -0
- package/cjs/DatePickerHeader-9bcd2308.js.map +1 -0
- package/cjs/Dialog-871d9a7c.js +389 -0
- package/cjs/Dialog-871d9a7c.js.map +1 -0
- package/cjs/DirectionalCollapseArrowIcon-392d6599.js +1 -1
- package/cjs/DirectionalExpandArrowIcon-ff9f6f78.js +1 -1
- package/cjs/Dropdown-b73f547b.js +337 -0
- package/cjs/Dropdown-b73f547b.js.map +1 -0
- package/cjs/EmbeddedIconButton-f2e69758.js +13 -0
- package/cjs/EmbeddedIconButton-f2e69758.js.map +1 -0
- package/cjs/EnvironmentProvider-932667b2.js +61 -0
- package/cjs/EnvironmentProvider-932667b2.js.map +1 -0
- package/cjs/Expander-f4c574e5.js +1 -1
- package/cjs/Flex-ec48072d.js +32 -0
- package/cjs/Flex-ec48072d.js.map +1 -0
- package/cjs/Floating-de219e52.js +467 -0
- package/cjs/Floating-de219e52.js.map +1 -0
- package/cjs/Grid-156807d4.js +29 -0
- package/cjs/Grid-156807d4.js.map +1 -0
- package/cjs/GroupLoadingIndicator-7e035ba2.js +1 -1
- package/cjs/HighlightText-93f2fea0.js +33 -0
- package/cjs/HighlightText-93f2fea0.js.map +1 -0
- package/cjs/Icon-56789beb.js +3 -3
- package/cjs/IconButton-7503293b.js +4 -4
- package/cjs/IconSwitchButton-550d6ced.js +44 -0
- package/cjs/IconSwitchButton-550d6ced.js.map +1 -0
- package/cjs/IconToggleButton-b7a72539.js +43 -0
- package/cjs/IconToggleButton-b7a72539.js.map +1 -0
- package/cjs/IconUserAssistance-848c227c.js +76 -0
- package/cjs/IconUserAssistance-848c227c.js.map +1 -0
- package/cjs/InlineHelp-2add2d34.js +1 -1
- package/cjs/InlineUserAssistance-cfaa3d3e.js +5 -5
- package/cjs/InputDateMask-c7baadd4.js +7 -7
- package/cjs/Label-eb654b0e.js +8 -8
- package/cjs/LabelValueLayout-d67109b3.js +1 -1
- package/cjs/Layer-06e11b9c.js +94 -0
- package/cjs/Layer-06e11b9c.js.map +1 -0
- package/cjs/LayerHost-21391a0d.js +46 -0
- package/cjs/LayerHost-21391a0d.js.map +1 -0
- package/cjs/LayerManager-fd7f4d2f.js +36 -0
- package/cjs/LayerManager-fd7f4d2f.js.map +1 -0
- package/cjs/Link-f8403e9f.js +35 -0
- package/cjs/Link-f8403e9f.js.map +1 -0
- package/cjs/LinkVariants.styles.css +0 -1
- package/cjs/LinkVariants.styles2.css +0 -1
- package/cjs/List-afcfa338.js +5 -5
- package/cjs/LiveRegion-60535481.js +41 -0
- package/cjs/LiveRegion-60535481.js.map +1 -0
- package/cjs/MaxLengthLiveRegion-82e6c492.js +28 -0
- package/cjs/MaxLengthLiveRegion-82e6c492.js.map +1 -0
- package/cjs/Message-258e59da.js +2 -2
- package/cjs/MessageLayer-a18a7c26.js +61 -0
- package/cjs/MessageLayer-a18a7c26.js.map +1 -0
- package/cjs/MessagesManager-cba4bc60.js +3 -3
- package/cjs/Modal-b751b643.js +3 -3
- package/cjs/MonthView-25653876.js +231 -0
- package/cjs/MonthView-25653876.js.map +1 -0
- package/cjs/NavigationListItem-ef597eb9.js +312 -0
- package/cjs/NavigationListItem-ef597eb9.js.map +1 -0
- package/cjs/NavigationListLinkItem-62c3912e.js +237 -0
- package/cjs/NavigationListLinkItem-62c3912e.js.map +1 -0
- package/cjs/NumberInputText-36164d46.js +6 -6
- package/cjs/OverflowTabBarItem-4053a20b.js +262 -0
- package/cjs/OverflowTabBarItem-4053a20b.js.map +1 -0
- package/cjs/PRIVATE_BaseCardView.js +22 -22
- package/cjs/PRIVATE_BaseDiagram.js +38 -38
- package/cjs/PRIVATE_BaseSelector.js +17 -17
- package/cjs/PRIVATE_BaseSwatchView.js +18 -18
- package/cjs/PRIVATE_Chart.js +48 -48
- package/cjs/PRIVATE_CheckboxControl.js +25 -25
- package/cjs/PRIVATE_CheckboxRadioField.js +27 -27
- package/cjs/PRIVATE_ClearIcon.js +18 -18
- package/cjs/PRIVATE_CollapsibleNavigationList.js +20 -20
- package/cjs/PRIVATE_DatePickerHeader.js +23 -23
- package/cjs/PRIVATE_DatePickerLayout.js +4 -4
- package/cjs/PRIVATE_EmbeddedIconButton.js +6 -6
- package/cjs/PRIVATE_Expander.js +19 -19
- package/cjs/PRIVATE_FormControls.js +21 -21
- package/cjs/PRIVATE_IconSwitchButton.js +19 -19
- package/cjs/PRIVATE_Icons/CheckboxCrossed.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/None.js +16 -16
- package/cjs/PRIVATE_List.js +21 -21
- package/cjs/PRIVATE_Message.js +20 -20
- package/cjs/PRIVATE_MessageLayer.js +12 -12
- package/cjs/PRIVATE_MonthView.js +81 -8
- package/cjs/PRIVATE_MonthView.js.map +1 -1
- package/cjs/PRIVATE_MonthYearGridView.js +8 -8
- package/cjs/PRIVATE_PlotArea.js +5 -5
- package/cjs/PRIVATE_RevealToggleIcon.js +21 -21
- package/cjs/PRIVATE_RichSelectionCommon.js +28 -28
- package/cjs/PRIVATE_SelectCommon.js +34 -34
- package/cjs/PRIVATE_StyledCard.js +3 -3
- package/cjs/PRIVATE_StyledCheckbox.js +16 -16
- package/cjs/PRIVATE_StyledDatePickerButton/themes/StyledDatePickerButtonStyles.css.js +1 -1
- package/cjs/PRIVATE_StyledDatePickerButton.js +1 -1
- package/cjs/PRIVATE_StyledSwitch.js +4 -4
- package/cjs/PRIVATE_SwatchFlexView.js +18 -18
- package/cjs/PRIVATE_Table.js +38 -38
- package/cjs/PRIVATE_TableDisplay.js +19 -19
- package/cjs/PRIVATE_TableList.js +27 -27
- 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/CheckboxCrossedIcon.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/None.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 +19 -19
- package/cjs/PRIVATE_TruncatingLink.js +20 -17
- package/cjs/PRIVATE_TruncatingLink.js.map +1 -1
- package/cjs/PRIVATE_VisOverview.js +16 -16
- package/cjs/PRIVATE_VisStatusMessage.js +5 -5
- package/cjs/PRIVATE_VisTabularDatatip.js +4 -4
- package/cjs/Popup-6de390dd.js +300 -0
- package/cjs/Popup-6de390dd.js.map +1 -0
- package/cjs/ProgressButtonLabelLayout-2e429893.js +3 -3
- package/cjs/ProgressCircle-f9c43168.js +50 -0
- package/cjs/ProgressCircle-f9c43168.js.map +1 -0
- package/cjs/RadioItem-c74ac827.js +6 -6
- package/cjs/ReadonlyTextFieldInput-60965d77.js +1 -1
- package/cjs/ReferenceLineArea-d00d2b33.js +592 -0
- package/cjs/ReferenceLineArea-d00d2b33.js.map +1 -0
- package/cjs/RevealToggleIcon-6a86726c.js +28 -0
- package/cjs/RevealToggleIcon-6a86726c.js.map +1 -0
- package/cjs/SectionedContent-463bf70e.js +68 -0
- package/cjs/SectionedContent-463bf70e.js.map +1 -0
- package/cjs/SelectMenuGroupContext-002c9144.js +563 -0
- package/cjs/SelectMenuGroupContext-002c9144.js.map +1 -0
- package/cjs/SelectMobileFieldInput-2adf002d.js +248 -0
- package/cjs/SelectMobileFieldInput-2adf002d.js.map +1 -0
- package/cjs/SelectorAll-2905a1c9.js +53 -0
- package/cjs/SelectorAll-2905a1c9.js.map +1 -0
- package/cjs/Sheet-1d6e8cf8.js +2 -2
- package/cjs/SortControl-8c15705b.js +3 -3
- package/cjs/StyledCard-13c323e4.js +1 -1
- package/cjs/StyledDatePickerButton-f20c0596.js +34 -0
- package/cjs/StyledDatePickerButton-f20c0596.js.map +1 -0
- package/cjs/StyledDatePickerButtonStyles.styles.css +18 -12
- package/cjs/StyledLabelValueLayout-3ee66ef1.js +22 -0
- package/cjs/StyledLabelValueLayout-3ee66ef1.js.map +1 -0
- package/cjs/StyledSwitch-17127a03.js +2 -2
- package/cjs/StyledTextField-7839c90d.js +5 -5
- package/cjs/Submenu-fb652ff4.js +251 -0
- package/cjs/Submenu-fb652ff4.js.map +1 -0
- package/cjs/TabBar-1e6a97b5.js +73 -0
- package/cjs/TabBar-1e6a97b5.js.map +1 -0
- package/cjs/TabBarContextMenu-f7acee3d.js +102 -0
- package/cjs/TabBarContextMenu-f7acee3d.js.map +1 -0
- package/cjs/TabBarLayout-ca8af14b.js +1 -1
- package/cjs/TabBarLinkItem-8f54f16d.js +15 -0
- package/cjs/TabBarLinkItem-8f54f16d.js.map +1 -0
- package/cjs/Table-daa93733.js +4114 -0
- package/cjs/Table-daa93733.js.map +1 -0
- package/cjs/TableColGroup-b7e1e296.js +1 -1
- package/cjs/TextArea-85d34b3e.js +229 -0
- package/cjs/TextArea-85d34b3e.js.map +1 -0
- package/cjs/TextField-5c164264.js +3 -3
- package/cjs/Theme-redwood/theme.css +145 -145
- package/cjs/Theme-stable/theme.css +138 -138
- package/cjs/TimeComponentCanvas2D-baa58795.js +6 -6
- package/cjs/ToggleButton-0ec0c75b.js +30 -0
- package/cjs/ToggleButton-0ec0c75b.js.map +1 -0
- package/cjs/ToggleButtonLabel-ce19879c.js +77 -0
- package/cjs/ToggleButtonLabel-ce19879c.js.map +1 -0
- package/cjs/TruncatingLink-f6a80ee5.js +95 -0
- package/cjs/TruncatingLink-f6a80ee5.js.map +1 -0
- package/cjs/TruncatingText-ac1f6793.js +1 -1
- package/cjs/UNSAFE_AccordionItemMultiple.js +18 -18
- package/cjs/UNSAFE_AccordionItemSingle.js +18 -18
- package/cjs/UNSAFE_ActionCard.js +2 -2
- package/cjs/UNSAFE_BarChart.js +49 -49
- package/cjs/UNSAFE_BareButton.js +2 -2
- package/cjs/UNSAFE_BaseButton.js +5 -5
- package/cjs/UNSAFE_Button.js +6 -6
- package/cjs/UNSAFE_ButtonSet.js +4 -4
- package/cjs/UNSAFE_ButtonSetButton.js +7 -7
- package/cjs/UNSAFE_ButtonSetIconButton.js +19 -19
- package/cjs/UNSAFE_ButtonSetItem.js +22 -22
- package/cjs/UNSAFE_ButtonSetMultiple.js +4 -4
- package/cjs/UNSAFE_ButtonSetSingle.js +4 -4
- package/cjs/UNSAFE_Card.js +3 -3
- package/cjs/UNSAFE_CardFlexView.js +22 -22
- package/cjs/UNSAFE_CardGridView.js +22 -22
- package/cjs/UNSAFE_Center.js +5 -5
- package/cjs/UNSAFE_Checkbox.js +25 -25
- package/cjs/UNSAFE_CheckboxItem.js +71 -132
- package/cjs/UNSAFE_CheckboxItem.js.map +1 -1
- package/cjs/UNSAFE_CheckboxRadioField.js +4 -4
- package/cjs/UNSAFE_CheckboxSet.js +75 -46
- 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_ColorPalette.js +95 -95
- package/cjs/UNSAFE_ColorPicker.js +77 -77
- package/cjs/UNSAFE_ColorSwatch.js +17 -17
- package/cjs/UNSAFE_ComboChart.js +49 -49
- package/cjs/UNSAFE_ComponentMessage.js +20 -20
- package/cjs/UNSAFE_ContainerDiagram.js +38 -38
- package/cjs/UNSAFE_ConveyorBelt.js +18 -18
- package/cjs/UNSAFE_DatePicker.js +54 -31
- package/cjs/UNSAFE_DatePicker.js.map +1 -1
- package/cjs/UNSAFE_Diagram.js +38 -38
- package/cjs/UNSAFE_Dialog.js +22 -22
- package/cjs/UNSAFE_DragHandle.js +17 -17
- package/cjs/UNSAFE_DrawerLayout.js +12 -12
- package/cjs/UNSAFE_DrawerPopup.js +11 -11
- package/cjs/UNSAFE_Dropdown.js +15 -15
- package/cjs/UNSAFE_Environment.js +4 -4
- package/cjs/UNSAFE_ExpandableList.js +25 -25
- package/cjs/UNSAFE_FilePicker.js +4 -4
- package/cjs/UNSAFE_FlatTreeView.js +25 -25
- 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 +17 -17
- package/cjs/UNSAFE_IconMenuButton.js +26 -26
- package/cjs/UNSAFE_IconProgressButton.js +21 -21
- package/cjs/UNSAFE_IconToggleButton.js +19 -19
- package/cjs/UNSAFE_Indexer.js +19 -19
- package/cjs/UNSAFE_InlineSelectSingle.js +34 -34
- package/cjs/UNSAFE_InputColor.js +42 -42
- package/cjs/UNSAFE_InputDateMask.js +26 -26
- package/cjs/UNSAFE_InputDatePicker.js +149 -127
- package/cjs/UNSAFE_InputDatePicker.js.map +1 -1
- package/cjs/UNSAFE_InputPassword.js +29 -29
- package/cjs/UNSAFE_InputSensitiveText.js +30 -30
- package/cjs/UNSAFE_InputText.js +28 -28
- package/cjs/UNSAFE_InputTimeMask.js +26 -26
- package/cjs/UNSAFE_Label.js +25 -25
- package/cjs/UNSAFE_LabelValueLayout.js +4 -4
- package/cjs/UNSAFE_LabelledLink.js +36 -31
- package/cjs/UNSAFE_LabelledLink.js.map +1 -1
- package/cjs/UNSAFE_Layer.js +8 -8
- package/cjs/UNSAFE_Legend.js +30 -30
- package/cjs/UNSAFE_LineAreaChart.js +49 -49
- package/cjs/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/cjs/UNSAFE_Link.js +3 -3
- package/cjs/UNSAFE_ListItemLayout.js +4 -4
- package/cjs/UNSAFE_ListView.js +29 -29
- package/cjs/UNSAFE_LiveRegion.js +4 -4
- package/cjs/UNSAFE_Menu.js +28 -28
- package/cjs/UNSAFE_MenuButton.js +26 -26
- package/cjs/UNSAFE_MessageBanner.js +20 -20
- 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 +38 -40
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +33 -34
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_NumberInputText.js +28 -28
- package/cjs/UNSAFE_OverflowTabBar.js +85 -88
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_PictoChart.js +27 -27
- package/cjs/UNSAFE_PieChart.js +28 -28
- package/cjs/UNSAFE_Popup.js +18 -18
- package/cjs/UNSAFE_ProgressBar.js +4 -4
- package/cjs/UNSAFE_ProgressButton.js +21 -21
- package/cjs/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/cjs/UNSAFE_ProgressCircle.js +4 -4
- package/cjs/UNSAFE_RadioItem.js +25 -25
- package/cjs/UNSAFE_RadioSet.js +27 -27
- package/cjs/UNSAFE_RatingGauge.js +18 -18
- package/cjs/UNSAFE_ReorderableTabBar.js +44 -57
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_RichCheckboxSet.js +64 -68
- package/cjs/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/cjs/UNSAFE_RichRadioSet.js +29 -29
- package/cjs/UNSAFE_RichSelectionItem.js +112 -175
- package/cjs/UNSAFE_RichSelectionItem.js.map +1 -1
- package/cjs/UNSAFE_ScatterChart.js +49 -49
- package/cjs/UNSAFE_SectionalLegend.js +30 -30
- package/cjs/UNSAFE_SelectMultiple.js +38 -38
- package/cjs/UNSAFE_SelectSingle.js +38 -38
- package/cjs/UNSAFE_SelectionCard.js +3 -3
- package/cjs/UNSAFE_Selector.js +17 -17
- package/cjs/UNSAFE_SelectorAll.js +19 -19
- package/cjs/UNSAFE_Sheet.js +11 -11
- package/cjs/UNSAFE_SortControl.js +20 -20
- package/cjs/UNSAFE_SplitMenuButton.js +27 -27
- package/cjs/UNSAFE_SplitMenuButton.js.map +1 -1
- package/cjs/UNSAFE_Switch.js +26 -26
- package/cjs/UNSAFE_TabBar.js +87 -90
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +100 -103
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +61 -64
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TableView.js +38 -38
- package/cjs/UNSAFE_TagCloud.js +28 -28
- package/cjs/UNSAFE_TextArea.js +119 -234
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +30 -30
- package/cjs/UNSAFE_TextAreaAutosize.js.map +1 -1
- package/cjs/UNSAFE_TextField.js +20 -20
- package/cjs/UNSAFE_ToggleButton.js +7 -7
- package/cjs/UNSAFE_ToggleButtonLabel.js +1 -1
- package/cjs/UNSAFE_Toolbar.js +4 -4
- package/cjs/UNSAFE_Train.js +17 -17
- package/cjs/UNSAFE_TruncatingBadge.js +17 -17
- package/cjs/UNSAFE_TruncatingText.js +17 -17
- package/cjs/UNSAFE_UserAssistance.js +26 -26
- package/cjs/UNSAFE_View.js +7 -7
- package/cjs/UNSAFE_VirtualizedListView.js +21 -21
- package/cjs/UNSAFE_VisInvalidDataMessage.js +6 -6
- package/cjs/UNSAFE_VisNoDataMessage.js +6 -6
- package/cjs/UNSAFE_VisProgressiveLoader.js +5 -5
- package/cjs/UNSAFE_WindowOverlay.js +4 -4
- package/cjs/View-67ff7d0e.js +170 -0
- package/cjs/View-67ff7d0e.js.map +1 -0
- package/cjs/VisStatusMessage-3ca153ac.js +31 -0
- package/cjs/VisStatusMessage-3ca153ac.js.map +1 -0
- package/cjs/VisTabularDatatip-e79da9de.js +26 -0
- package/cjs/VisTabularDatatip-e79da9de.js.map +1 -0
- package/cjs/WindowOverlay-b9595d88.js +112 -0
- package/cjs/WindowOverlay-b9595d88.js.map +1 -0
- package/cjs/YearsGridView-9fd78c0f.js +190 -0
- package/cjs/YearsGridView-9fd78c0f.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 +26 -26
- package/cjs/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/cjs/hooks/PRIVATE_useChartEvents.js +19 -19
- package/cjs/hooks/PRIVATE_useChartMarquee.js +26 -26
- package/cjs/hooks/PRIVATE_useCollectionFocusRing.js +17 -17
- 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_useDetectHorizontalOverflow.js +16 -16
- package/cjs/hooks/PRIVATE_useFloating.js +4 -4
- package/cjs/hooks/PRIVATE_useItemAction.js +17 -17
- package/cjs/hooks/PRIVATE_useListCommon.js +19 -19
- package/cjs/hooks/PRIVATE_useMiddleEllipsis.js +12 -0
- package/cjs/hooks/PRIVATE_useMiddleEllipsis.js.map +1 -0
- package/cjs/hooks/PRIVATE_useOutsideMousedown.js +9 -9
- package/cjs/hooks/PRIVATE_useRadioFocusManager.js +4 -4
- package/cjs/hooks/PRIVATE_useReorderable.js +19 -19
- package/cjs/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/cjs/hooks/PRIVATE_useSelection.js +4 -4
- package/cjs/hooks/PRIVATE_useTabBar.js +29 -29
- package/cjs/hooks/PRIVATE_useTabbableModeSet.js +17 -17
- package/cjs/hooks/PRIVATE_useTooltipOnTruncation.js +17 -17
- package/cjs/hooks/PRIVATE_useVisContextMenu.js +25 -25
- package/cjs/hooks/PRIVATE_useVisDragModeControls.js +25 -25
- package/cjs/hooks/PRIVATE_useVisEvents.js +4 -4
- package/cjs/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/cjs/hooks/PRIVATE_useVisSelection.js +15 -15
- package/cjs/hooks/UNSAFE_useBareButton.js +2 -2
- package/cjs/hooks/UNSAFE_useColorScheme.js +3 -3
- package/cjs/hooks/UNSAFE_useCurrentBgColor.js +2 -2
- package/cjs/hooks/UNSAFE_useDensity.js +3 -3
- package/cjs/hooks/UNSAFE_useHiddenTestMethod.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/popupUtils-79656e59.js +31 -0
- package/cjs/popupUtils-79656e59.js.map +1 -0
- package/cjs/tooltipUtils-c554343d.js +115 -0
- package/cjs/tooltipUtils-c554343d.js.map +1 -0
- package/cjs/useBareButton-463210c9.js +1 -1
- package/cjs/useCellNavigation-09201a92.js +1 -1
- package/cjs/useChartContextMenu-c961873c.js +125 -0
- package/cjs/useChartContextMenu-c961873c.js.map +1 -0
- package/cjs/useChartDatatip-0ead533e.js +341 -0
- package/cjs/useChartDatatip-0ead533e.js.map +1 -0
- package/cjs/useChartMarquee-ade8e91c.js +306 -0
- package/cjs/useChartMarquee-ade8e91c.js.map +1 -0
- package/cjs/useColorScheme-852ec82e.js +21 -0
- package/cjs/useColorScheme-852ec82e.js.map +1 -0
- package/cjs/useContextMenu-c02f8dee.js +119 -0
- package/cjs/useContextMenu-c02f8dee.js.map +1 -0
- package/cjs/useCssVars-b7192b44.js +60 -0
- package/cjs/useCssVars-b7192b44.js.map +1 -0
- package/cjs/useCurrentKey-b66cf089.js +85 -0
- package/cjs/useCurrentKey-b66cf089.js.map +1 -0
- package/cjs/useDatatip-3462cc49.js +96 -0
- package/cjs/useDatatip-3462cc49.js.map +1 -0
- package/cjs/useDensity-2a45f4dd.js +21 -0
- package/cjs/useDensity-2a45f4dd.js.map +1 -0
- package/cjs/useDisplayValue-047ff360.js +82 -0
- package/cjs/useDisplayValue-047ff360.js.map +1 -0
- package/cjs/useExpandCollapse-359c0224.js +72 -0
- package/cjs/useExpandCollapse-359c0224.js.map +1 -0
- package/cjs/useFloating-c408d4be.js +1926 -0
- package/cjs/useFloating-c408d4be.js.map +1 -0
- package/cjs/useHiddenTestMethod-620e91e0.js +30 -0
- package/cjs/useHiddenTestMethod-620e91e0.js.map +1 -0
- package/cjs/useKeyboardEvents-d9528b16.js +88 -0
- package/cjs/useKeyboardEvents-d9528b16.js.map +1 -0
- package/cjs/useLegendContextMenu-b7993cf0.js +285 -0
- package/cjs/useLegendContextMenu-b7993cf0.js.map +1 -0
- package/cjs/useMeterDatatip-fdab9ee5.js +76 -0
- package/cjs/useMeterDatatip-fdab9ee5.js.map +1 -0
- package/cjs/useMiddleEllipsis-792e61a9.js +230 -0
- package/cjs/useMiddleEllipsis-792e61a9.js.map +1 -0
- package/cjs/useNavigation-fa3f5a50.js +1 -1
- package/cjs/useOutsideClick-5c31ee35.js +117 -0
- package/cjs/useOutsideClick-5c31ee35.js.map +1 -0
- package/cjs/useOutsideMousedown-eda95637.js +50 -0
- package/cjs/useOutsideMousedown-eda95637.js.map +1 -0
- package/cjs/usePopupAnimation-985e90a2.js +87 -0
- package/cjs/usePopupAnimation-985e90a2.js.map +1 -0
- package/cjs/usePrefixSuffix-a6a1b772.js +72 -0
- package/cjs/usePrefixSuffix-a6a1b772.js.map +1 -0
- package/cjs/useRadioFocusManager-58e51026.js +110 -0
- package/cjs/useRadioFocusManager-58e51026.js.map +1 -0
- package/cjs/useReorderableItem-969a3eac.js +299 -0
- package/cjs/useReorderableItem-969a3eac.js.map +1 -0
- package/cjs/useRovingTabIndexContainer-46b897fd.js +108 -0
- package/cjs/useRovingTabIndexContainer-46b897fd.js.map +1 -0
- package/cjs/useScale-529046e3.js +21 -0
- package/cjs/useScale-529046e3.js.map +1 -0
- package/cjs/useSelectCommon-728573f9.js +507 -0
- package/cjs/useSelectCommon-728573f9.js.map +1 -0
- package/cjs/useSelectDrill-813d4fbe.js +114 -0
- package/cjs/useSelectDrill-813d4fbe.js.map +1 -0
- package/cjs/useSelection-0b3dd2cf.js +188 -0
- package/cjs/useSelection-0b3dd2cf.js.map +1 -0
- package/cjs/useSelection-0ef0ee3c.js +260 -0
- package/cjs/useSelection-0ef0ee3c.js.map +1 -0
- package/cjs/useTabBar-114caa2f.js +309 -0
- package/cjs/useTabBar-114caa2f.js.map +1 -0
- package/cjs/useTestId-a8b07506.js +23 -0
- package/cjs/useTestId-a8b07506.js.map +1 -0
- package/cjs/useTheme-71e406b0.js +21 -0
- package/cjs/useTheme-71e406b0.js.map +1 -0
- package/cjs/useThemeInterpolations-ca3ddfd9.js +71 -0
- package/cjs/useThemeInterpolations-ca3ddfd9.js.map +1 -0
- package/cjs/useTooltip-d1200aff.js +51 -0
- package/cjs/useTooltip-d1200aff.js.map +1 -0
- package/cjs/useTooltipControlled-0dc34549.js +376 -0
- package/cjs/useTooltipControlled-0dc34549.js.map +1 -0
- package/cjs/useTooltipOnTruncation-d8253c7e.js +29 -0
- package/cjs/useTooltipOnTruncation-d8253c7e.js.map +1 -0
- package/cjs/useTranslationBundle-990e7928.js +31 -0
- package/cjs/useTranslationBundle-990e7928.js.map +1 -0
- package/cjs/useUser-cc045b3e.js +21 -0
- package/cjs/useUser-cc045b3e.js.map +1 -0
- package/cjs/useVisDragModeControls-737aa2dd.js +89 -0
- package/cjs/useVisDragModeControls-737aa2dd.js.map +1 -0
- package/cjs/useVisEvents-4ad7b798.js +155 -0
- package/cjs/useVisEvents-4ad7b798.js.map +1 -0
- package/cjs/utils/PRIVATE_collectionUtils.js +17 -17
- package/cjs/utils/PRIVATE_tabBarUtils.js +17 -17
- package/cjs/utils/PRIVATE_tooltipUtils.js +14 -14
- package/cjs/utils/PRIVATE_visTestUtils.js +4 -4
- package/cjs/utils/UNSAFE_popupUtils.js +8 -8
- package/cjs/withDirectionIcon-a14b071b.js +16 -0
- package/cjs/withDirectionIcon-a14b071b.js.map +1 -0
- package/cjs/withThemeProps-894a40fc.js +2 -2
- package/es/BaseButton-243d200f.js +84 -0
- package/es/BaseButton-243d200f.js.map +1 -0
- package/es/BaseCardView-85b9a71e.js +631 -0
- package/es/BaseCardView-85b9a71e.js.map +1 -0
- package/es/BaseDiagram-19f481a0.js +2954 -0
- package/es/BaseDiagram-19f481a0.js.map +1 -0
- package/es/BaseRichSelection-223d9830.js +9 -9
- package/es/BaseSelector-7cbc48bc.js +1 -1
- package/es/BaseSwatchView-2e1e6bd2.js +2 -2
- package/es/Button-a76ecfa8.js +22 -0
- package/es/Button-a76ecfa8.js.map +1 -0
- package/es/ButtonSet-b7464e9a.js +2 -2
- package/es/ButtonSetButton-5e07834a.js +33 -0
- package/es/ButtonSetButton-5e07834a.js.map +1 -0
- package/es/ButtonSetIconButton-7e6573a0.js +38 -0
- package/es/ButtonSetIconButton-7e6573a0.js.map +1 -0
- package/es/ButtonSetItem-08dd9bd2.js +65 -0
- package/es/ButtonSetItem-08dd9bd2.js.map +1 -0
- package/es/Center-3860fe60.js +16 -0
- package/es/Center-3860fe60.js.map +1 -0
- package/es/Chart-aeda6a0c.js +752 -0
- package/es/Chart-aeda6a0c.js.map +1 -0
- package/es/CheckboxControl-c008372a.js +6 -6
- package/es/CheckboxRadioField-a387b3cb.js +6 -6
- package/es/CheckboxRadioLabelValueLayout-e3845f16.js +1 -1
- package/es/CheckboxSet-3aab5935.js +1 -1
- package/es/Chip-4efea02e.js +1 -1
- package/es/ClearIcon-f85ea340.js +1 -1
- package/es/CollapseIcon-84f6ba8e.js +1 -1
- package/es/Collapsible-2608ce3b.js +2 -2
- package/es/ColorPalette-950c6fc6.js +2 -2
- package/es/ColorPicker-8c297849.js +23 -0
- package/es/ColorPicker-8c297849.js.map +1 -0
- package/es/ColorSwatch-8339ee2f.js +4 -4
- package/es/CompactLabelAssistance-50ff3f7e.js +92 -0
- package/es/CompactLabelAssistance-50ff3f7e.js.map +1 -0
- package/es/CompactUserAssistance-6aa8894b.js +5 -5
- package/es/ComponentMessageContainer-d16c8b1f.js +4 -4
- package/es/DatePicker-6861ae90.js +599 -0
- package/es/DatePicker-6861ae90.js.map +1 -0
- package/es/DatePickerHeader-1a050945.js +46 -0
- package/es/DatePickerHeader-1a050945.js.map +1 -0
- package/es/DiagramStyles.styles2.css +10 -16
- package/es/DiagramStyles.styles3.css +16 -10
- package/es/Dialog-d1de5b06.js +387 -0
- package/es/Dialog-d1de5b06.js.map +1 -0
- package/es/DirectionalCollapseArrowIcon-132761da.js +1 -1
- package/es/DirectionalExpandArrowIcon-5bc45cad.js +1 -1
- package/es/Dropdown-f7992670.js +322 -0
- package/es/Dropdown-f7992670.js.map +1 -0
- package/es/EmbeddedIconButton-9f0e56b7.js +11 -0
- package/es/EmbeddedIconButton-9f0e56b7.js.map +1 -0
- package/es/EnvironmentProvider-6cf8ed37.js +58 -0
- package/es/EnvironmentProvider-6cf8ed37.js.map +1 -0
- package/es/Expander-1347e769.js +1 -1
- package/es/Flex-fc483125.js +30 -0
- package/es/Flex-fc483125.js.map +1 -0
- package/es/Floating-be4c0cb6.js +465 -0
- package/es/Floating-be4c0cb6.js.map +1 -0
- package/es/Grid-6f92d323.js +27 -0
- package/es/Grid-6f92d323.js.map +1 -0
- package/es/GroupLoadingIndicator-19c6545a.js +1 -1
- package/es/HighlightText-dd484ffd.js +31 -0
- package/es/HighlightText-dd484ffd.js.map +1 -0
- package/es/Icon-4983d06e.js +3 -3
- package/es/IconButton-7f91481c.js +4 -4
- package/es/IconSwitchButton-0ef3178f.js +42 -0
- package/es/IconSwitchButton-0ef3178f.js.map +1 -0
- package/es/IconToggleButton-7d9efcb3.js +41 -0
- package/es/IconToggleButton-7d9efcb3.js.map +1 -0
- package/es/IconUserAssistance-6abc7837.js +74 -0
- package/es/IconUserAssistance-6abc7837.js.map +1 -0
- package/es/InlineHelp-9eaac91c.js +1 -1
- package/es/InlineUserAssistance-890293dd.js +5 -5
- package/es/InputDateMask-ec27aee7.js +7 -7
- package/es/Label-5d1ae8d7.js +8 -8
- package/es/LabelValueLayout-c6b9945a.js +1 -1
- package/es/Layer-6c27170e.js +91 -0
- package/es/Layer-6c27170e.js.map +1 -0
- package/es/LayerHost-3cf255a6.js +41 -0
- package/es/LayerHost-3cf255a6.js.map +1 -0
- package/es/LayerManager-e30fbfd6.js +34 -0
- package/es/LayerManager-e30fbfd6.js.map +1 -0
- package/es/Link-db2fdeab.js +33 -0
- package/es/Link-db2fdeab.js.map +1 -0
- package/es/LinkVariants.styles.css +0 -1
- package/es/LinkVariants.styles2.css +0 -1
- package/es/List-4636ba9b.js +5 -5
- package/es/LiveRegion-2e8830ae.js +39 -0
- package/es/LiveRegion-2e8830ae.js.map +1 -0
- package/es/MaxLengthLiveRegion-8f552ae2.js +26 -0
- package/es/MaxLengthLiveRegion-8f552ae2.js.map +1 -0
- package/es/Message-510c2db8.js +2 -2
- package/es/MessageLayer-1dbdc0b6.js +58 -0
- package/es/MessageLayer-1dbdc0b6.js.map +1 -0
- package/es/MessagesManager-47000438.js +3 -3
- package/es/Modal-c0f730b8.js +3 -3
- package/es/MonthView-6628071f.js +229 -0
- package/es/MonthView-6628071f.js.map +1 -0
- package/es/NavigationListItem-3a9e0951.js +291 -0
- package/es/NavigationListItem-3a9e0951.js.map +1 -0
- package/es/NavigationListLinkItem-e28fd846.js +5 -5
- package/es/NumberInputText-60be5757.js +6 -6
- package/es/OverflowTabBarItem-ee746856.js +257 -0
- package/es/OverflowTabBarItem-ee746856.js.map +1 -0
- package/es/PRIVATE_BaseCardView.js +23 -23
- package/es/PRIVATE_BaseDiagram.js +38 -38
- package/es/PRIVATE_BaseSelector.js +17 -17
- package/es/PRIVATE_BaseSwatchView.js +18 -18
- package/es/PRIVATE_Chart.js +45 -45
- package/es/PRIVATE_CheckboxControl.js +25 -25
- package/es/PRIVATE_CheckboxRadioField.js +27 -27
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_CollapsibleNavigationList.js +20 -20
- package/es/PRIVATE_DatePickerHeader.js +23 -23
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +6 -6
- package/es/PRIVATE_Expander.js +19 -19
- package/es/PRIVATE_FormControls.js +21 -21
- package/es/PRIVATE_IconSwitchButton.js +19 -19
- package/es/PRIVATE_Icons/CheckboxCrossed.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/None.js +16 -16
- package/es/PRIVATE_List.js +21 -21
- package/es/PRIVATE_Message.js +20 -20
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +81 -8
- package/es/PRIVATE_MonthView.js.map +1 -1
- package/es/PRIVATE_MonthYearGridView.js +8 -8
- package/es/PRIVATE_PlotArea.js +5 -5
- package/es/PRIVATE_RevealToggleIcon.js +21 -21
- package/es/PRIVATE_RichSelectionCommon.js +28 -28
- package/es/PRIVATE_SelectCommon.js +34 -34
- package/es/PRIVATE_StyledCard.js +3 -3
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_StyledDatePickerButton/themes/StyledDatePickerButtonStyles.css.js +1 -1
- package/es/PRIVATE_StyledDatePickerButton.js +1 -1
- package/es/PRIVATE_StyledSwitch.js +4 -4
- package/es/PRIVATE_SwatchFlexView.js +18 -18
- package/es/PRIVATE_Table.js +38 -38
- package/es/PRIVATE_TableDisplay.js +19 -19
- package/es/PRIVATE_TableList.js +31 -31
- 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/CheckboxCrossedIcon.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/None.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 +19 -19
- package/es/PRIVATE_TruncatingLink.js +20 -17
- package/es/PRIVATE_TruncatingLink.js.map +1 -1
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisStatusMessage.js +5 -5
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/Popup-22d51095.js +298 -0
- package/es/Popup-22d51095.js.map +1 -0
- package/es/ProgressButtonLabelLayout-69549cf9.js +3 -3
- package/es/ProgressCircle-bce87dad.js +48 -0
- package/es/ProgressCircle-bce87dad.js.map +1 -0
- package/es/RadioItem-94909632.js +6 -6
- package/es/ReadonlyTextFieldInput-106ce959.js +1 -1
- package/es/ReferenceLineArea-cc72b070.js +586 -0
- package/es/ReferenceLineArea-cc72b070.js.map +1 -0
- package/es/RevealToggleIcon-c5d9d731.js +26 -0
- package/es/RevealToggleIcon-c5d9d731.js.map +1 -0
- package/es/SectionedContent-ac90a3d0.js +65 -0
- package/es/SectionedContent-ac90a3d0.js.map +1 -0
- package/es/SegmentStyles.styles.css +12 -9
- package/es/SegmentStyles.styles2.css +9 -12
- package/es/SelectMenuGroupContext-130a850c.js +554 -0
- package/es/SelectMenuGroupContext-130a850c.js.map +1 -0
- package/es/SelectMobileFieldInput-5ca800d5.js +241 -0
- package/es/SelectMobileFieldInput-5ca800d5.js.map +1 -0
- package/es/SelectorAll-3d39196b.js +51 -0
- package/es/SelectorAll-3d39196b.js.map +1 -0
- package/es/Sheet-f9f8a4a4.js +2 -2
- package/es/SortControl-1044fcd9.js +3 -3
- package/es/StyledCard-77623731.js +1 -1
- package/es/StyledDatePickerButton-a7782821.js +32 -0
- package/es/StyledDatePickerButton-a7782821.js.map +1 -0
- package/es/StyledDatePickerButtonStyles.styles.css +18 -12
- package/es/StyledLabelValueLayout-bddfb884.js +18 -0
- package/es/StyledLabelValueLayout-bddfb884.js.map +1 -0
- package/es/StyledSwitch-dbf29d95.js +2 -2
- package/es/StyledTextField-7605d76a.js +5 -5
- package/es/Submenu-fa7c2b4f.js +247 -0
- package/es/Submenu-fa7c2b4f.js.map +1 -0
- package/es/TabBar-fd31ca03.js +69 -0
- package/es/TabBar-fd31ca03.js.map +1 -0
- package/es/TabBarContextMenu-3bf4dc64.js +99 -0
- package/es/TabBarContextMenu-3bf4dc64.js.map +1 -0
- package/es/TabBarLayout-9b67d1b6.js +1 -1
- package/es/TabBarLinkItem-43854314.js +13 -0
- package/es/TabBarLinkItem-43854314.js.map +1 -0
- package/es/Table-535987d0.js +4112 -0
- package/es/Table-535987d0.js.map +1 -0
- package/es/TableColGroup-d74bd4f5.js +1 -1
- package/es/TextField-7884fcd7.js +3 -3
- package/es/Theme-redwood/theme.css +432 -432
- package/es/Theme-stable/theme.css +474 -474
- package/es/TimeComponentCanvas2D-cfb0066d.js +6 -6
- package/es/ToggleButton-65f5d293.js +28 -0
- package/es/ToggleButton-65f5d293.js.map +1 -0
- package/es/ToggleButtonLabel-bf4e1599.js +75 -0
- package/es/ToggleButtonLabel-bf4e1599.js.map +1 -0
- package/es/TrainVariants.styles.css +6 -6
- package/es/TrainVariants.styles2.css +6 -6
- package/es/TruncatingLink-6aaf40b9.js +93 -0
- package/es/TruncatingLink-6aaf40b9.js.map +1 -0
- package/es/TruncatingText-1bf00351.js +1 -1
- package/es/UNSAFE_AccordionItemMultiple.js +18 -18
- package/es/UNSAFE_AccordionItemSingle.js +18 -18
- package/es/UNSAFE_ActionCard.js +2 -2
- package/es/UNSAFE_BarChart.js +46 -46
- package/es/UNSAFE_BareButton.js +2 -2
- package/es/UNSAFE_BaseButton.js +5 -5
- package/es/UNSAFE_Button.js +6 -6
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +7 -7
- package/es/UNSAFE_ButtonSetIconButton.js +19 -19
- package/es/UNSAFE_ButtonSetItem.js +22 -22
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +3 -3
- package/es/UNSAFE_CardFlexView.js +23 -23
- package/es/UNSAFE_CardGridView.js +23 -23
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +25 -25
- package/es/UNSAFE_CheckboxItem.js +27 -27
- package/es/UNSAFE_CheckboxRadioField.js +4 -4
- package/es/UNSAFE_CheckboxSet.js +26 -26
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_ColorPalette.js +19 -19
- package/es/UNSAFE_ColorPicker.js +21 -21
- package/es/UNSAFE_ColorSwatch.js +17 -17
- package/es/UNSAFE_ComboChart.js +46 -46
- package/es/UNSAFE_ComponentMessage.js +20 -20
- package/es/UNSAFE_ContainerDiagram/themes/DiagramStyles.css.js +1 -1
- package/es/UNSAFE_ContainerDiagram.js +38 -38
- package/es/UNSAFE_ConveyorBelt.js +18 -18
- package/es/UNSAFE_DatePicker.js +54 -31
- package/es/UNSAFE_DatePicker.js.map +1 -1
- package/es/UNSAFE_Diagram/themes/DiagramStyles.css.js +1 -1
- package/es/UNSAFE_Diagram.js +38 -38
- package/es/UNSAFE_Dialog.js +22 -22
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +15 -15
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +25 -25
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_FlatTreeView.js +25 -25
- 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 +17 -17
- package/es/UNSAFE_IconMenuButton.js +26 -26
- package/es/UNSAFE_IconProgressButton.js +21 -21
- package/es/UNSAFE_IconToggleButton.js +19 -19
- package/es/UNSAFE_Indexer.js +19 -19
- package/es/UNSAFE_InlineSelectSingle.js +34 -34
- package/es/UNSAFE_InputColor.js +32 -32
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +27 -27
- package/es/UNSAFE_InputDatePicker.js +64 -42
- package/es/UNSAFE_InputDatePicker.js.map +1 -1
- package/es/UNSAFE_InputPassword.js +29 -29
- package/es/UNSAFE_InputSensitiveText.js +30 -30
- package/es/UNSAFE_InputText.js +28 -28
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +27 -27
- package/es/UNSAFE_Label.js +25 -25
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +36 -31
- package/es/UNSAFE_LabelledLink.js.map +1 -1
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +30 -30
- package/es/UNSAFE_LineAreaChart.js +46 -46
- package/es/UNSAFE_Link/themes/LinkStyles.css.js +1 -1
- package/es/UNSAFE_Link.js +3 -3
- package/es/UNSAFE_ListItemLayout.js +4 -4
- package/es/UNSAFE_ListView.js +75 -75
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +29 -29
- package/es/UNSAFE_MenuButton.js +26 -26
- package/es/UNSAFE_MessageBanner.js +20 -20
- 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 +42 -42
- package/es/UNSAFE_NavigationListCommon.js +20 -20
- package/es/UNSAFE_NumberInputText.js +28 -28
- package/es/UNSAFE_OverflowTabBar.js +42 -42
- package/es/UNSAFE_PictoChart.js +27 -27
- package/es/UNSAFE_PieChart.js +28 -28
- package/es/UNSAFE_Popup.js +18 -18
- package/es/UNSAFE_ProgressBar.js +4 -4
- package/es/UNSAFE_ProgressButton.js +21 -21
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +25 -25
- package/es/UNSAFE_RadioSet.js +27 -27
- package/es/UNSAFE_RatingGauge.js +18 -18
- package/es/UNSAFE_ReorderableTabBar.js +42 -42
- package/es/UNSAFE_RichCheckboxSet.js +28 -28
- package/es/UNSAFE_RichRadioSet.js +29 -29
- package/es/UNSAFE_RichSelectionItem.js +30 -30
- package/es/UNSAFE_ScatterChart.js +46 -46
- package/es/UNSAFE_SectionalLegend.js +30 -30
- package/es/UNSAFE_SelectMultiple.js +38 -38
- package/es/UNSAFE_SelectSingle.js +38 -38
- package/es/UNSAFE_SelectionCard.js +3 -3
- package/es/UNSAFE_Selector.js +17 -17
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_SortControl.js +20 -20
- package/es/UNSAFE_SplitMenuButton.js +27 -27
- package/es/UNSAFE_SplitMenuButton.js.map +1 -1
- package/es/UNSAFE_Switch.js +26 -26
- package/es/UNSAFE_TabBar.js +43 -43
- package/es/UNSAFE_TabBarCommon.js +33 -33
- package/es/UNSAFE_TabBarMixed.js +41 -41
- package/es/UNSAFE_TableView.js +38 -38
- package/es/UNSAFE_TagCloud.js +28 -28
- package/es/UNSAFE_TextArea.js +237 -117
- package/es/UNSAFE_TextArea.js.map +1 -1
- package/es/UNSAFE_TextAreaAutosize.js +28 -28
- package/es/UNSAFE_TextField.js +20 -20
- package/es/UNSAFE_ToggleButton.js +7 -7
- package/es/UNSAFE_ToggleButtonLabel.js +1 -1
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train/themes/redwood/TrainTheme.js +1 -1
- package/es/UNSAFE_Train/themes/redwood/TrainVariants.css.js +1 -1
- package/es/UNSAFE_Train/themes/stable/TrainTheme.js +1 -1
- package/es/UNSAFE_Train/themes/stable/TrainVariants.css.js +1 -1
- package/es/UNSAFE_Train.js +18 -18
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +26 -26
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +21 -21
- package/es/UNSAFE_VisInvalidDataMessage.js +6 -6
- package/es/UNSAFE_VisNoDataMessage.js +6 -6
- package/es/UNSAFE_VisProgressiveLoader.js +5 -5
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/View-818f2f31.js +167 -0
- package/es/View-818f2f31.js.map +1 -0
- package/es/VisStatusMessage-09c532e3.js +29 -0
- package/es/VisStatusMessage-09c532e3.js.map +1 -0
- package/es/VisTabularDatatip-f45069f1.js +24 -0
- package/es/VisTabularDatatip-f45069f1.js.map +1 -0
- package/es/WindowOverlay-467c2d12.js +110 -0
- package/es/WindowOverlay-467c2d12.js.map +1 -0
- package/es/YearsGridView-27d6fa06.js +187 -0
- package/es/YearsGridView-27d6fa06.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 +26 -26
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +19 -19
- package/es/hooks/PRIVATE_useChartMarquee.js +26 -26
- package/es/hooks/PRIVATE_useCollectionFocusRing.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useDetectHorizontalOverflow.js +16 -16
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useItemAction.js +17 -17
- package/es/hooks/PRIVATE_useListCommon.js +19 -19
- package/es/hooks/PRIVATE_useMiddleEllipsis.js +4 -0
- package/es/hooks/PRIVATE_useMiddleEllipsis.js.map +1 -0
- package/es/hooks/PRIVATE_useOutsideMousedown.js +9 -9
- package/es/hooks/PRIVATE_useRadioFocusManager.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +19 -19
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +29 -29
- package/es/hooks/PRIVATE_useTabbableModeSet.js +17 -17
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +17 -17
- package/es/hooks/PRIVATE_useVisContextMenu.js +25 -25
- package/es/hooks/PRIVATE_useVisDragModeControls.js +25 -25
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +15 -15
- package/es/hooks/UNSAFE_useBareButton.js +2 -2
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +2 -2
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useHiddenTestMethod.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/popupUtils-7774330e.js +29 -0
- package/es/popupUtils-7774330e.js.map +1 -0
- package/es/tooltipUtils-90fb656f.js +110 -0
- package/es/tooltipUtils-90fb656f.js.map +1 -0
- package/es/useBareButton-ff4bd21e.js +1 -1
- package/es/useCellNavigation-0565b6dd.js +1 -1
- package/es/useChartContextMenu-933091d8.js +123 -0
- package/es/useChartContextMenu-933091d8.js.map +1 -0
- package/es/useChartDatatip-cba78e0f.js +336 -0
- package/es/useChartDatatip-cba78e0f.js.map +1 -0
- package/es/useChartMarquee-914929b6.js +304 -0
- package/es/useChartMarquee-914929b6.js.map +1 -0
- package/es/useColorScheme-67245285.js +19 -0
- package/es/useColorScheme-67245285.js.map +1 -0
- package/es/useContextMenu-8a1230a3.js +116 -0
- package/es/useContextMenu-8a1230a3.js.map +1 -0
- package/es/useCssVars-048a52d8.js +58 -0
- package/es/useCssVars-048a52d8.js.map +1 -0
- package/es/useCurrentKey-38e5f097.js +83 -0
- package/es/useCurrentKey-38e5f097.js.map +1 -0
- package/es/useDatatip-ef5c47a7.js +94 -0
- package/es/useDatatip-ef5c47a7.js.map +1 -0
- package/es/useDensity-969273f3.js +19 -0
- package/es/useDensity-969273f3.js.map +1 -0
- package/es/useDisplayValue-29f03329.js +78 -0
- package/es/useDisplayValue-29f03329.js.map +1 -0
- package/es/useExpandCollapse-51f9bb4b.js +70 -0
- package/es/useExpandCollapse-51f9bb4b.js.map +1 -0
- package/es/useFloating-c74a7f54.js +1916 -0
- package/es/useFloating-c74a7f54.js.map +1 -0
- package/es/useHiddenTestMethod-ec7b3989.js +28 -0
- package/es/useHiddenTestMethod-ec7b3989.js.map +1 -0
- package/es/useKeyboardEvents-a1495728.js +85 -0
- package/es/useKeyboardEvents-a1495728.js.map +1 -0
- package/es/useLegendContextMenu-6ea00771.js +279 -0
- package/es/useLegendContextMenu-6ea00771.js.map +1 -0
- package/es/useMeterDatatip-f61ca3e0.js +73 -0
- package/es/useMeterDatatip-f61ca3e0.js.map +1 -0
- package/es/useMiddleEllipsis-b073ca6b.js +228 -0
- package/es/useMiddleEllipsis-b073ca6b.js.map +1 -0
- package/es/useNavigation-b257c33a.js +1 -1
- package/es/useOutsideClick-01f3d3e1.js +115 -0
- package/es/useOutsideClick-01f3d3e1.js.map +1 -0
- package/es/useOutsideMousedown-e0866d58.js +48 -0
- package/es/useOutsideMousedown-e0866d58.js.map +1 -0
- package/es/usePopupAnimation-7c5db425.js +85 -0
- package/es/usePopupAnimation-7c5db425.js.map +1 -0
- package/es/usePrefixSuffix-95fc00fd.js +70 -0
- package/es/usePrefixSuffix-95fc00fd.js.map +1 -0
- package/es/useRadioFocusManager-d9eecfb4.js +108 -0
- package/es/useRadioFocusManager-d9eecfb4.js.map +1 -0
- package/es/useReorderableItem-06bd7a7b.js +296 -0
- package/es/useReorderableItem-06bd7a7b.js.map +1 -0
- package/es/useRovingTabIndexContainer-c0356f5d.js +106 -0
- package/es/useRovingTabIndexContainer-c0356f5d.js.map +1 -0
- package/es/useScale-93490e54.js +19 -0
- package/es/useScale-93490e54.js.map +1 -0
- package/es/useSelectCommon-c70bb10f.js +489 -0
- package/es/useSelectCommon-c70bb10f.js.map +1 -0
- package/es/useSelectDrill-2f855daa.js +111 -0
- package/es/useSelectDrill-2f855daa.js.map +1 -0
- package/es/useSelection-10ed8060.js +186 -0
- package/es/useSelection-10ed8060.js.map +1 -0
- package/es/useSelection-d6fefa3d.js +258 -0
- package/es/useSelection-d6fefa3d.js.map +1 -0
- package/es/useTabBar-27e8c4ea.js +305 -0
- package/es/useTabBar-27e8c4ea.js.map +1 -0
- package/es/useTestId-ab1bede6.js +21 -0
- package/es/useTestId-ab1bede6.js.map +1 -0
- package/es/useTextAreaAltEnter-ac460f4c.js +61 -0
- package/es/useTextAreaAltEnter-ac460f4c.js.map +1 -0
- package/es/useTheme-c2cfbc29.js +19 -0
- package/es/useTheme-c2cfbc29.js.map +1 -0
- package/es/useThemeInterpolations-5f358139.js +68 -0
- package/es/useThemeInterpolations-5f358139.js.map +1 -0
- package/es/useTooltip-ab739df0.js +49 -0
- package/es/useTooltip-ab739df0.js.map +1 -0
- package/es/useTooltipControlled-b7f30aee.js +373 -0
- package/es/useTooltipControlled-b7f30aee.js.map +1 -0
- package/es/useTooltipOnTruncation-31afc3f2.js +27 -0
- package/es/useTooltipOnTruncation-31afc3f2.js.map +1 -0
- package/es/useTranslationBundle-bc6e0896.js +29 -0
- package/es/useTranslationBundle-bc6e0896.js.map +1 -0
- package/es/useUser-e543b73c.js +19 -0
- package/es/useUser-e543b73c.js.map +1 -0
- package/es/useVisDragModeControls-6865056f.js +87 -0
- package/es/useVisDragModeControls-6865056f.js.map +1 -0
- package/es/useVisEvents-0edc925f.js +153 -0
- package/es/useVisEvents-0edc925f.js.map +1 -0
- package/es/utils/PRIVATE_collectionUtils.js +17 -17
- package/es/utils/PRIVATE_tabBarUtils.js +17 -17
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +4 -4
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/withDirectionIcon-b725a6d7.js +14 -0
- package/es/withDirectionIcon-b725a6d7.js.map +1 -0
- package/es/withThemeProps-dbd4fedf.js +2 -2
- package/package.json +2 -2
- package/types/UNSAFE_Dropdown/Dropdown.d.ts +5 -1
- package/types/UNSAFE_LabelledLink/LabelledLink.d.ts +5 -1
- package/types/UNSAFE_Link/themes/LinkStyles.css.d.ts +0 -1
- package/types/UNSAFE_Link/themes/redwood/LinkVariants.css.d.ts +0 -1
- package/types/UNSAFE_Link/themes/stable/LinkVariants.css.d.ts +0 -1
- package/types/UNSAFE_Menu/DropdownMenu.d.ts +1 -0
- package/amd/BarChart-f429b382.js +0 -2
- package/amd/BarChart-f429b382.js.map +0 -1
- package/amd/BaseCardView-b8119561.js +0 -2
- package/amd/BaseCardView-b8119561.js.map +0 -1
- package/amd/BaseDiagram-00ea8628.js +0 -2
- package/amd/BaseDiagram-00ea8628.js.map +0 -1
- package/amd/ButtonSetButton-fa0256aa.js +0 -2
- package/amd/ButtonSetButton-fa0256aa.js.map +0 -1
- package/amd/ButtonSetIconButton-9010f20c.js +0 -2
- package/amd/ButtonSetIconButton-9010f20c.js.map +0 -1
- package/amd/ButtonSetItem-4b29107a.js +0 -2
- package/amd/ButtonSetItem-4b29107a.js.map +0 -1
- package/amd/CardFlexView-aa2f3de8.js +0 -2
- package/amd/CardFlexView-aa2f3de8.js.map +0 -1
- package/amd/CardGridView-85f90c75.js +0 -2
- package/amd/CardGridView-85f90c75.js.map +0 -1
- package/amd/Chart-57965de4.js +0 -2
- package/amd/Chart-57965de4.js.map +0 -1
- package/amd/ComboChart-c42ed049.js +0 -2
- package/amd/ComboChart-c42ed049.js.map +0 -1
- package/amd/ContainerDiagram-678f9746.js +0 -2
- package/amd/ContainerDiagram-678f9746.js.map +0 -1
- package/amd/DatePicker-bf521b1c.js +0 -2
- package/amd/DatePicker-bf521b1c.js.map +0 -1
- package/amd/DatePickerHeader-82f4f285.js +0 -2
- package/amd/DatePickerHeader-82f4f285.js.map +0 -1
- package/amd/Diagram-492f8b21.js +0 -2
- package/amd/Diagram-492f8b21.js.map +0 -1
- package/amd/Dropdown-7eca9554.js +0 -2
- package/amd/Dropdown-7eca9554.js.map +0 -1
- package/amd/IconMenuButton-82b8431d.js +0 -2
- package/amd/IconMenuButton-82b8431d.js.map +0 -1
- package/amd/IconSwitchButton-c44e0edf.js +0 -2
- package/amd/IconSwitchButton-c44e0edf.js.map +0 -1
- package/amd/IconToggleButton-0ab34b44.js +0 -2
- package/amd/IconToggleButton-0ab34b44.js.map +0 -1
- package/amd/InlineSelectSingle-87bc8a45.js +0 -2
- package/amd/InlineSelectSingle-87bc8a45.js.map +0 -1
- package/amd/InputColor-58e3fce3.js +0 -2
- package/amd/InputColor-58e3fce3.js.map +0 -1
- package/amd/InputDatePicker-7227a858.js +0 -2
- package/amd/InputDatePicker-7227a858.js.map +0 -1
- package/amd/InputPassword-450915c8.js +0 -2
- package/amd/InputPassword-450915c8.js.map +0 -1
- package/amd/InputSensitiveText-d94d24f0.js +0 -2
- package/amd/InputSensitiveText-d94d24f0.js.map +0 -1
- package/amd/Legend-47a1bf23.js +0 -2
- package/amd/Legend-47a1bf23.js.map +0 -1
- package/amd/LineAreaChart-48efb7f7.js +0 -2
- package/amd/LineAreaChart-48efb7f7.js.map +0 -1
- package/amd/Link-a8fad252.js +0 -2
- package/amd/Link-a8fad252.js.map +0 -1
- package/amd/ListView-2678b2af.js +0 -2
- package/amd/ListView-2678b2af.js.map +0 -1
- package/amd/Menu-1b8fefc5.js +0 -2
- package/amd/Menu-1b8fefc5.js.map +0 -1
- package/amd/MenuButton-2fe1ef2c.js +0 -2
- package/amd/MenuButton-2fe1ef2c.js.map +0 -1
- package/amd/MenuItem-85e4ffdc.js +0 -2
- package/amd/MenuItem-85e4ffdc.js.map +0 -1
- package/amd/MonthView-96fafba4.js +0 -2
- package/amd/MonthView-96fafba4.js.map +0 -1
- package/amd/NavigationList-a6bb123d.js +0 -2
- package/amd/NavigationList-a6bb123d.js.map +0 -1
- package/amd/NavigationListItem-10bf6656.js +0 -2
- package/amd/NavigationListItem-10bf6656.js.map +0 -1
- package/amd/NavigationListLinkItem-df1826e6.js +0 -2
- package/amd/NavigationListLinkItem-df1826e6.js.map +0 -1
- package/amd/OverflowTabBar-f8bf9356.js +0 -2
- package/amd/OverflowTabBar-f8bf9356.js.map +0 -1
- package/amd/OverflowTabBarItem-0aa39512.js +0 -2
- package/amd/OverflowTabBarItem-0aa39512.js.map +0 -1
- package/amd/PictoChart-ab426a71.js +0 -2
- package/amd/PictoChart-ab426a71.js.map +0 -1
- package/amd/PieChart-57ffe4c0.js +0 -2
- package/amd/PieChart-57ffe4c0.js.map +0 -1
- package/amd/RemovableNavigationListItem-60593d4c.js +0 -2
- package/amd/RemovableNavigationListItem-60593d4c.js.map +0 -1
- package/amd/ReorderableTabBar-19a503c7.js +0 -2
- package/amd/ReorderableTabBar-19a503c7.js.map +0 -1
- package/amd/RevealToggleIcon-093f60c4.js +0 -2
- package/amd/RevealToggleIcon-093f60c4.js.map +0 -1
- package/amd/ScatterChart-6427e7ec.js +0 -2
- package/amd/ScatterChart-6427e7ec.js.map +0 -1
- package/amd/SectionalLegend-bd980f3f.js +0 -2
- package/amd/SectionalLegend-bd980f3f.js.map +0 -1
- package/amd/SectionedContent-74559d9d.js +0 -2
- package/amd/SectionedContent-74559d9d.js.map +0 -1
- package/amd/SelectMenuItem-affab9f3.js +0 -2
- package/amd/SelectMenuItem-affab9f3.js.map +0 -1
- package/amd/SelectMobileFieldInput-4795a794.js +0 -2
- package/amd/SelectMobileFieldInput-4795a794.js.map +0 -1
- package/amd/SelectMultiple-e216b16c.js +0 -2
- package/amd/SelectMultiple-e216b16c.js.map +0 -1
- package/amd/SelectSingle-d53cf202.js +0 -2
- package/amd/SelectSingle-d53cf202.js.map +0 -1
- package/amd/SplitMenuButton-76adec12.js +0 -2
- package/amd/SplitMenuButton-76adec12.js.map +0 -1
- package/amd/StyledDatePickerButton-bceb62e1.js +0 -2
- package/amd/StyledDatePickerButton-bceb62e1.js.map +0 -1
- package/amd/Submenu-52ec8bfb.js +0 -2
- package/amd/Submenu-52ec8bfb.js.map +0 -1
- package/amd/TabBar-92bac52f.js +0 -2
- package/amd/TabBar-92bac52f.js.map +0 -1
- package/amd/TabBarContextMenu-6a167e27.js +0 -2
- package/amd/TabBarContextMenu-6a167e27.js.map +0 -1
- package/amd/TabBarMixed-5b5a5047.js +0 -2
- package/amd/TabBarMixed-5b5a5047.js.map +0 -1
- package/amd/Table-74566993.js +0 -2
- package/amd/Table-74566993.js.map +0 -1
- package/amd/TableView-3d82855c.js +0 -2
- package/amd/TableView-3d82855c.js.map +0 -1
- package/amd/TagCloud-c10a166e.js +0 -2
- package/amd/TagCloud-c10a166e.js.map +0 -1
- package/amd/ToggleButton-b77486fe.js +0 -2
- package/amd/ToggleButton-b77486fe.js.map +0 -1
- package/amd/ToggleButtonLabel-87364773.js +0 -2
- package/amd/ToggleButtonLabel-87364773.js.map +0 -1
- package/amd/TruncatingLink-591e7ff1.js +0 -2
- package/amd/TruncatingLink-591e7ff1.js.map +0 -1
- package/amd/YearsGridView-561c3074.js +0 -2
- package/amd/YearsGridView-561c3074.js.map +0 -1
- package/amd/listViewSelectionTests-7d18f09e.js +0 -2
- package/amd/listViewSelectionTests-7d18f09e.js.map +0 -1
- package/amd/useChartContextMenu-abadeabc.js +0 -2
- package/amd/useChartContextMenu-abadeabc.js.map +0 -1
- package/amd/useChartMarquee-3865426f.js +0 -2
- package/amd/useChartMarquee-3865426f.js.map +0 -1
- package/amd/useContextMenu-67972d45.js +0 -2
- package/amd/useContextMenu-67972d45.js.map +0 -1
- package/amd/useDisplayValue-9b671893.js +0 -2
- package/amd/useDisplayValue-9b671893.js.map +0 -1
- package/amd/useLegendContextMenu-55fedade.js +0 -2
- package/amd/useLegendContextMenu-55fedade.js.map +0 -1
- package/amd/useNavigationListItem-582f5564.js +0 -2
- package/amd/useNavigationListItem-582f5564.js.map +0 -1
- package/amd/useSelectCommon-f33709d2.js +0 -2
- package/amd/useSelectCommon-f33709d2.js.map +0 -1
- package/amd/useTabBar-b05edef0.js +0 -2
- package/amd/useTabBar-b05edef0.js.map +0 -1
- package/amd/useVisDragModeControls-5f059d09.js +0 -2
- package/amd/useVisDragModeControls-5f059d09.js.map +0 -1
- package/cjs/BaseButton-d8f96bfa.js +0 -86
- package/cjs/BaseButton-d8f96bfa.js.map +0 -1
- package/cjs/BaseDiagram-ce4f1a20.js +0 -2956
- package/cjs/BaseDiagram-ce4f1a20.js.map +0 -1
- package/cjs/Button-020e0381.js +0 -24
- package/cjs/Button-020e0381.js.map +0 -1
- package/cjs/ButtonSetButton-569e0efb.js +0 -35
- package/cjs/ButtonSetButton-569e0efb.js.map +0 -1
- package/cjs/ButtonSetIconButton-3778ac7b.js +0 -40
- package/cjs/ButtonSetIconButton-3778ac7b.js.map +0 -1
- package/cjs/ButtonSetItem-4322c957.js +0 -67
- package/cjs/ButtonSetItem-4322c957.js.map +0 -1
- package/cjs/Center-9a0ee4f3.js +0 -18
- package/cjs/Center-9a0ee4f3.js.map +0 -1
- package/cjs/Chart-966da017.js +0 -754
- package/cjs/Chart-966da017.js.map +0 -1
- package/cjs/CheckboxSet-6865f4fd.js +0 -55
- package/cjs/CheckboxSet-6865f4fd.js.map +0 -1
- package/cjs/ColorPalette-b14114d8.js +0 -83
- package/cjs/ColorPalette-b14114d8.js.map +0 -1
- package/cjs/ColorPicker-8f0b6000.js +0 -25
- package/cjs/ColorPicker-8f0b6000.js.map +0 -1
- package/cjs/CompactLabelAssistance-e910bb56.js +0 -95
- package/cjs/CompactLabelAssistance-e910bb56.js.map +0 -1
- package/cjs/DatePicker-b60f8a7e.js +0 -601
- package/cjs/DatePicker-b60f8a7e.js.map +0 -1
- package/cjs/DatePickerHeader-1010204c.js +0 -48
- package/cjs/DatePickerHeader-1010204c.js.map +0 -1
- package/cjs/Dialog-8b65180c.js +0 -389
- package/cjs/Dialog-8b65180c.js.map +0 -1
- package/cjs/Dropdown-1ba432a8.js +0 -333
- package/cjs/Dropdown-1ba432a8.js.map +0 -1
- package/cjs/EmbeddedIconButton-cc159a01.js +0 -13
- package/cjs/EmbeddedIconButton-cc159a01.js.map +0 -1
- package/cjs/EnvironmentProvider-5f2435e6.js +0 -61
- package/cjs/EnvironmentProvider-5f2435e6.js.map +0 -1
- package/cjs/Flex-3a257bc3.js +0 -32
- package/cjs/Flex-3a257bc3.js.map +0 -1
- package/cjs/Floating-79cbe5ad.js +0 -467
- package/cjs/Floating-79cbe5ad.js.map +0 -1
- package/cjs/Grid-cef20569.js +0 -29
- package/cjs/Grid-cef20569.js.map +0 -1
- package/cjs/HighlightText-f4535f3d.js +0 -33
- package/cjs/HighlightText-f4535f3d.js.map +0 -1
- package/cjs/IconSwitchButton-9b0df2d6.js +0 -44
- package/cjs/IconSwitchButton-9b0df2d6.js.map +0 -1
- package/cjs/IconToggleButton-d2147159.js +0 -43
- package/cjs/IconToggleButton-d2147159.js.map +0 -1
- package/cjs/IconUserAssistance-89913ad1.js +0 -76
- package/cjs/IconUserAssistance-89913ad1.js.map +0 -1
- package/cjs/Layer-b60deb1b.js +0 -94
- package/cjs/Layer-b60deb1b.js.map +0 -1
- package/cjs/LayerHost-3cd73603.js +0 -46
- package/cjs/LayerHost-3cd73603.js.map +0 -1
- package/cjs/LayerManager-c535d963.js +0 -36
- package/cjs/LayerManager-c535d963.js.map +0 -1
- package/cjs/Link-cc34e4c1.js +0 -35
- package/cjs/Link-cc34e4c1.js.map +0 -1
- package/cjs/LiveRegion-62ce9ac7.js +0 -41
- package/cjs/LiveRegion-62ce9ac7.js.map +0 -1
- package/cjs/MaxLengthLiveRegion-0a6ba765.js +0 -28
- package/cjs/MaxLengthLiveRegion-0a6ba765.js.map +0 -1
- package/cjs/MessageLayer-8e6e3d98.js +0 -61
- package/cjs/MessageLayer-8e6e3d98.js.map +0 -1
- package/cjs/MonthView-a2661a58.js +0 -210
- package/cjs/MonthView-a2661a58.js.map +0 -1
- package/cjs/NavigationList-d0d74565.js +0 -307
- package/cjs/NavigationList-d0d74565.js.map +0 -1
- package/cjs/NavigationListItem-b0b03089.js +0 -12
- package/cjs/NavigationListItem-b0b03089.js.map +0 -1
- package/cjs/NavigationListLinkItem-317a5200.js +0 -146
- package/cjs/NavigationListLinkItem-317a5200.js.map +0 -1
- package/cjs/OverflowTabBarItem-19ad4971.js +0 -264
- package/cjs/OverflowTabBarItem-19ad4971.js.map +0 -1
- package/cjs/Popup-de16d915.js +0 -300
- package/cjs/Popup-de16d915.js.map +0 -1
- package/cjs/ProgressCircle-cac3c03a.js +0 -50
- package/cjs/ProgressCircle-cac3c03a.js.map +0 -1
- package/cjs/ReferenceLineArea-7bc34276.js +0 -592
- package/cjs/ReferenceLineArea-7bc34276.js.map +0 -1
- package/cjs/RevealToggleIcon-a6a4f8db.js +0 -28
- package/cjs/RevealToggleIcon-a6a4f8db.js.map +0 -1
- package/cjs/SectionedContent-5eff5dce.js +0 -68
- package/cjs/SectionedContent-5eff5dce.js.map +0 -1
- package/cjs/SelectMenuGroupContext-a349d259.js +0 -551
- package/cjs/SelectMenuGroupContext-a349d259.js.map +0 -1
- package/cjs/SelectMobileFieldInput-cbf57541.js +0 -248
- package/cjs/SelectMobileFieldInput-cbf57541.js.map +0 -1
- package/cjs/SelectorAll-9118eb07.js +0 -53
- package/cjs/SelectorAll-9118eb07.js.map +0 -1
- package/cjs/StyledDatePickerButton-becd2a7d.js +0 -33
- package/cjs/StyledDatePickerButton-becd2a7d.js.map +0 -1
- package/cjs/StyledLabelValueLayout-48da61b9.js +0 -22
- package/cjs/StyledLabelValueLayout-48da61b9.js.map +0 -1
- package/cjs/Submenu-8e92469f.js +0 -251
- package/cjs/Submenu-8e92469f.js.map +0 -1
- package/cjs/TabBar-d84e222e.js +0 -79
- package/cjs/TabBar-d84e222e.js.map +0 -1
- package/cjs/TabBarContextMenu-d9bf65c2.js +0 -102
- package/cjs/TabBarContextMenu-d9bf65c2.js.map +0 -1
- package/cjs/TabBarLinkItem-e924f83b.js +0 -15
- package/cjs/TabBarLinkItem-e924f83b.js.map +0 -1
- package/cjs/Table-a102e1ee.js +0 -4114
- package/cjs/Table-a102e1ee.js.map +0 -1
- package/cjs/ToggleButton-5ebfe20e.js +0 -30
- package/cjs/ToggleButton-5ebfe20e.js.map +0 -1
- package/cjs/ToggleButtonLabel-c8f36317.js +0 -73
- package/cjs/ToggleButtonLabel-c8f36317.js.map +0 -1
- package/cjs/TruncatingLink-867da10e.js +0 -58
- package/cjs/TruncatingLink-867da10e.js.map +0 -1
- package/cjs/View-ed116d78.js +0 -170
- package/cjs/View-ed116d78.js.map +0 -1
- package/cjs/VisStatusMessage-07e63c6e.js +0 -31
- package/cjs/VisStatusMessage-07e63c6e.js.map +0 -1
- package/cjs/VisTabularDatatip-abfef042.js +0 -26
- package/cjs/VisTabularDatatip-abfef042.js.map +0 -1
- package/cjs/WindowOverlay-85d999fa.js +0 -112
- package/cjs/WindowOverlay-85d999fa.js.map +0 -1
- package/cjs/YearsGridView-d0d4e8e1.js +0 -190
- package/cjs/YearsGridView-d0d4e8e1.js.map +0 -1
- package/cjs/popupUtils-1d123cbe.js +0 -31
- package/cjs/popupUtils-1d123cbe.js.map +0 -1
- package/cjs/tooltipUtils-2bc15136.js +0 -115
- package/cjs/tooltipUtils-2bc15136.js.map +0 -1
- package/cjs/useChartContextMenu-af989b4f.js +0 -125
- package/cjs/useChartContextMenu-af989b4f.js.map +0 -1
- package/cjs/useChartDatatip-1bceba5d.js +0 -341
- package/cjs/useChartDatatip-1bceba5d.js.map +0 -1
- package/cjs/useChartMarquee-ede5cae4.js +0 -306
- package/cjs/useChartMarquee-ede5cae4.js.map +0 -1
- package/cjs/useColorScheme-f8b1447d.js +0 -21
- package/cjs/useColorScheme-f8b1447d.js.map +0 -1
- package/cjs/useContextMenu-2500df06.js +0 -119
- package/cjs/useContextMenu-2500df06.js.map +0 -1
- package/cjs/useCssVars-8e83d496.js +0 -60
- package/cjs/useCssVars-8e83d496.js.map +0 -1
- package/cjs/useCurrentKey-1b9e3382.js +0 -85
- package/cjs/useCurrentKey-1b9e3382.js.map +0 -1
- package/cjs/useDatatip-b7b4f13f.js +0 -96
- package/cjs/useDatatip-b7b4f13f.js.map +0 -1
- package/cjs/useDensity-0b9fd9ca.js +0 -21
- package/cjs/useDensity-0b9fd9ca.js.map +0 -1
- package/cjs/useDisplayValue-4ace417c.js +0 -82
- package/cjs/useDisplayValue-4ace417c.js.map +0 -1
- package/cjs/useExpandCollapse-ef990199.js +0 -72
- package/cjs/useExpandCollapse-ef990199.js.map +0 -1
- package/cjs/useFloating-c753a7f9.js +0 -1926
- package/cjs/useFloating-c753a7f9.js.map +0 -1
- package/cjs/useHiddenTestMethod-eae1d48b.js +0 -30
- package/cjs/useHiddenTestMethod-eae1d48b.js.map +0 -1
- package/cjs/useKeyboardEvents-0ab70381.js +0 -88
- package/cjs/useKeyboardEvents-0ab70381.js.map +0 -1
- package/cjs/useLegendContextMenu-2cf579d7.js +0 -285
- package/cjs/useLegendContextMenu-2cf579d7.js.map +0 -1
- package/cjs/useMeterDatatip-92ca91d9.js +0 -76
- package/cjs/useMeterDatatip-92ca91d9.js.map +0 -1
- package/cjs/useNavigationListItem-b97e76d5.js +0 -104
- package/cjs/useNavigationListItem-b97e76d5.js.map +0 -1
- package/cjs/useOutsideClick-dbf3d604.js +0 -117
- package/cjs/useOutsideClick-dbf3d604.js.map +0 -1
- package/cjs/useOutsideMousedown-70f36cca.js +0 -50
- package/cjs/useOutsideMousedown-70f36cca.js.map +0 -1
- package/cjs/usePopupAnimation-f3b34413.js +0 -87
- package/cjs/usePopupAnimation-f3b34413.js.map +0 -1
- package/cjs/usePrefixSuffix-23d1cc33.js +0 -72
- package/cjs/usePrefixSuffix-23d1cc33.js.map +0 -1
- package/cjs/useRadioFocusManager-a11750e7.js +0 -110
- package/cjs/useRadioFocusManager-a11750e7.js.map +0 -1
- package/cjs/useReorderableItem-64be8d2b.js +0 -299
- package/cjs/useReorderableItem-64be8d2b.js.map +0 -1
- package/cjs/useRovingTabIndexContainer-0ce4681d.js +0 -108
- package/cjs/useRovingTabIndexContainer-0ce4681d.js.map +0 -1
- package/cjs/useScale-db16c2b8.js +0 -21
- package/cjs/useScale-db16c2b8.js.map +0 -1
- package/cjs/useSelectCommon-27afecfa.js +0 -507
- package/cjs/useSelectCommon-27afecfa.js.map +0 -1
- package/cjs/useSelectDrill-0b4b47ec.js +0 -114
- package/cjs/useSelectDrill-0b4b47ec.js.map +0 -1
- package/cjs/useSelection-37939f09.js +0 -260
- package/cjs/useSelection-37939f09.js.map +0 -1
- package/cjs/useSelection-da64e28e.js +0 -188
- package/cjs/useSelection-da64e28e.js.map +0 -1
- package/cjs/useTabBar-35b73d10.js +0 -309
- package/cjs/useTabBar-35b73d10.js.map +0 -1
- package/cjs/useTestId-4f53d561.js +0 -23
- package/cjs/useTestId-4f53d561.js.map +0 -1
- package/cjs/useTextAreaAltEnter-11424062.js +0 -64
- package/cjs/useTextAreaAltEnter-11424062.js.map +0 -1
- package/cjs/useTheme-2a034a21.js +0 -21
- package/cjs/useTheme-2a034a21.js.map +0 -1
- package/cjs/useThemeInterpolations-a37b37d9.js +0 -71
- package/cjs/useThemeInterpolations-a37b37d9.js.map +0 -1
- package/cjs/useTooltip-34accecc.js +0 -51
- package/cjs/useTooltip-34accecc.js.map +0 -1
- package/cjs/useTooltipControlled-0a95856c.js +0 -376
- package/cjs/useTooltipControlled-0a95856c.js.map +0 -1
- package/cjs/useTooltipOnTruncation-8867b10e.js +0 -29
- package/cjs/useTooltipOnTruncation-8867b10e.js.map +0 -1
- package/cjs/useTranslationBundle-12dd087d.js +0 -31
- package/cjs/useTranslationBundle-12dd087d.js.map +0 -1
- package/cjs/useUser-1295b5cb.js +0 -21
- package/cjs/useUser-1295b5cb.js.map +0 -1
- package/cjs/useVisDragModeControls-2443a4e0.js +0 -89
- package/cjs/useVisDragModeControls-2443a4e0.js.map +0 -1
- package/cjs/useVisEvents-334c2c8d.js +0 -155
- package/cjs/useVisEvents-334c2c8d.js.map +0 -1
- package/cjs/withDirectionIcon-4940a248.js +0 -16
- package/cjs/withDirectionIcon-4940a248.js.map +0 -1
- package/es/BaseButton-41068c85.js +0 -84
- package/es/BaseButton-41068c85.js.map +0 -1
- package/es/BaseCardView-b3d8bae0.js +0 -634
- package/es/BaseCardView-b3d8bae0.js.map +0 -1
- package/es/BaseDiagram-b5b22e53.js +0 -2954
- package/es/BaseDiagram-b5b22e53.js.map +0 -1
- package/es/Button-956f51c7.js +0 -22
- package/es/Button-956f51c7.js.map +0 -1
- package/es/ButtonSetButton-8685c752.js +0 -33
- package/es/ButtonSetButton-8685c752.js.map +0 -1
- package/es/ButtonSetIconButton-c8ed85f9.js +0 -38
- package/es/ButtonSetIconButton-c8ed85f9.js.map +0 -1
- package/es/ButtonSetItem-280755f3.js +0 -65
- package/es/ButtonSetItem-280755f3.js.map +0 -1
- package/es/Center-71a03e65.js +0 -16
- package/es/Center-71a03e65.js.map +0 -1
- package/es/Chart-8c63da28.js +0 -752
- package/es/Chart-8c63da28.js.map +0 -1
- package/es/ColorPicker-ae648c4c.js +0 -23
- package/es/ColorPicker-ae648c4c.js.map +0 -1
- package/es/CompactLabelAssistance-e2fcfcab.js +0 -92
- package/es/CompactLabelAssistance-e2fcfcab.js.map +0 -1
- package/es/DatePicker-7287f0f9.js +0 -599
- package/es/DatePicker-7287f0f9.js.map +0 -1
- package/es/DatePickerHeader-f8cf86bb.js +0 -46
- package/es/DatePickerHeader-f8cf86bb.js.map +0 -1
- package/es/Dialog-83368f52.js +0 -387
- package/es/Dialog-83368f52.js.map +0 -1
- package/es/Dropdown-019aba37.js +0 -318
- package/es/Dropdown-019aba37.js.map +0 -1
- package/es/EmbeddedIconButton-46434710.js +0 -11
- package/es/EmbeddedIconButton-46434710.js.map +0 -1
- package/es/EnvironmentProvider-6a0a8212.js +0 -58
- package/es/EnvironmentProvider-6a0a8212.js.map +0 -1
- package/es/Flex-03129963.js +0 -30
- package/es/Flex-03129963.js.map +0 -1
- package/es/Floating-4a82db94.js +0 -465
- package/es/Floating-4a82db94.js.map +0 -1
- package/es/Grid-9e4b4f19.js +0 -27
- package/es/Grid-9e4b4f19.js.map +0 -1
- package/es/HighlightText-0205faef.js +0 -31
- package/es/HighlightText-0205faef.js.map +0 -1
- package/es/IconSwitchButton-05f1f602.js +0 -42
- package/es/IconSwitchButton-05f1f602.js.map +0 -1
- package/es/IconToggleButton-808818f5.js +0 -41
- package/es/IconToggleButton-808818f5.js.map +0 -1
- package/es/IconUserAssistance-61978211.js +0 -74
- package/es/IconUserAssistance-61978211.js.map +0 -1
- package/es/Layer-535577b5.js +0 -91
- package/es/Layer-535577b5.js.map +0 -1
- package/es/LayerHost-7931b424.js +0 -41
- package/es/LayerHost-7931b424.js.map +0 -1
- package/es/LayerManager-52a26c55.js +0 -34
- package/es/LayerManager-52a26c55.js.map +0 -1
- package/es/Link-8503aab2.js +0 -33
- package/es/Link-8503aab2.js.map +0 -1
- package/es/LiveRegion-cebac18d.js +0 -39
- package/es/LiveRegion-cebac18d.js.map +0 -1
- package/es/MaxLengthLiveRegion-8099fde5.js +0 -26
- package/es/MaxLengthLiveRegion-8099fde5.js.map +0 -1
- package/es/MessageLayer-2a7fdec7.js +0 -58
- package/es/MessageLayer-2a7fdec7.js.map +0 -1
- package/es/MonthView-4b2b483a.js +0 -208
- package/es/MonthView-4b2b483a.js.map +0 -1
- package/es/NavigationListItem-340ab770.js +0 -309
- package/es/NavigationListItem-340ab770.js.map +0 -1
- package/es/OverflowTabBarItem-aa0ce915.js +0 -257
- package/es/OverflowTabBarItem-aa0ce915.js.map +0 -1
- package/es/Popup-992b6c27.js +0 -298
- package/es/Popup-992b6c27.js.map +0 -1
- package/es/ProgressCircle-46084d0b.js +0 -48
- package/es/ProgressCircle-46084d0b.js.map +0 -1
- package/es/ReferenceLineArea-53129f72.js +0 -586
- package/es/ReferenceLineArea-53129f72.js.map +0 -1
- package/es/RevealToggleIcon-2d622d8f.js +0 -26
- package/es/RevealToggleIcon-2d622d8f.js.map +0 -1
- package/es/SectionedContent-30e5bf98.js +0 -65
- package/es/SectionedContent-30e5bf98.js.map +0 -1
- package/es/SelectMenuGroupContext-aa1fe822.js +0 -542
- package/es/SelectMenuGroupContext-aa1fe822.js.map +0 -1
- package/es/SelectMobileFieldInput-345c4d45.js +0 -241
- package/es/SelectMobileFieldInput-345c4d45.js.map +0 -1
- package/es/SelectorAll-de7ba2e1.js +0 -51
- package/es/SelectorAll-de7ba2e1.js.map +0 -1
- package/es/StyledDatePickerButton-78f2f6e8.js +0 -31
- package/es/StyledDatePickerButton-78f2f6e8.js.map +0 -1
- package/es/StyledLabelValueLayout-bb05f474.js +0 -18
- package/es/StyledLabelValueLayout-bb05f474.js.map +0 -1
- package/es/Submenu-cbd77756.js +0 -247
- package/es/Submenu-cbd77756.js.map +0 -1
- package/es/TabBar-67ca442c.js +0 -71
- package/es/TabBar-67ca442c.js.map +0 -1
- package/es/TabBarContextMenu-c3326d67.js +0 -99
- package/es/TabBarContextMenu-c3326d67.js.map +0 -1
- package/es/TabBarLinkItem-e7be54fa.js +0 -13
- package/es/TabBarLinkItem-e7be54fa.js.map +0 -1
- package/es/Table-2f197c6a.js +0 -4112
- package/es/Table-2f197c6a.js.map +0 -1
- package/es/TextArea-93ce78a7.js +0 -225
- package/es/TextArea-93ce78a7.js.map +0 -1
- package/es/ToggleButton-bb69cf10.js +0 -28
- package/es/ToggleButton-bb69cf10.js.map +0 -1
- package/es/ToggleButtonLabel-7f53fbee.js +0 -71
- package/es/ToggleButtonLabel-7f53fbee.js.map +0 -1
- package/es/TruncatingLink-298c6343.js +0 -56
- package/es/TruncatingLink-298c6343.js.map +0 -1
- package/es/View-5bdd9b3c.js +0 -167
- package/es/View-5bdd9b3c.js.map +0 -1
- package/es/VisStatusMessage-e2d629bb.js +0 -29
- package/es/VisStatusMessage-e2d629bb.js.map +0 -1
- package/es/VisTabularDatatip-85b00c1b.js +0 -24
- package/es/VisTabularDatatip-85b00c1b.js.map +0 -1
- package/es/WindowOverlay-7264c44a.js +0 -110
- package/es/WindowOverlay-7264c44a.js.map +0 -1
- package/es/YearsGridView-6c18094a.js +0 -187
- package/es/YearsGridView-6c18094a.js.map +0 -1
- package/es/popupUtils-51366a29.js +0 -29
- package/es/popupUtils-51366a29.js.map +0 -1
- package/es/tooltipUtils-af0abd38.js +0 -110
- package/es/tooltipUtils-af0abd38.js.map +0 -1
- package/es/useChartContextMenu-5de82cd7.js +0 -123
- package/es/useChartContextMenu-5de82cd7.js.map +0 -1
- package/es/useChartDatatip-8dd22b71.js +0 -336
- package/es/useChartDatatip-8dd22b71.js.map +0 -1
- package/es/useChartMarquee-761eb7db.js +0 -304
- package/es/useChartMarquee-761eb7db.js.map +0 -1
- package/es/useColorScheme-c4f6caab.js +0 -19
- package/es/useColorScheme-c4f6caab.js.map +0 -1
- package/es/useContextMenu-730d6c12.js +0 -116
- package/es/useContextMenu-730d6c12.js.map +0 -1
- package/es/useCssVars-bc2527ac.js +0 -58
- package/es/useCssVars-bc2527ac.js.map +0 -1
- package/es/useCurrentKey-5f865bbd.js +0 -83
- package/es/useCurrentKey-5f865bbd.js.map +0 -1
- package/es/useDatatip-4895a07a.js +0 -94
- package/es/useDatatip-4895a07a.js.map +0 -1
- package/es/useDensity-1acb0153.js +0 -19
- package/es/useDensity-1acb0153.js.map +0 -1
- package/es/useDisplayValue-65bbc74e.js +0 -78
- package/es/useDisplayValue-65bbc74e.js.map +0 -1
- package/es/useExpandCollapse-5739cfd2.js +0 -70
- package/es/useExpandCollapse-5739cfd2.js.map +0 -1
- package/es/useFloating-b9d680f7.js +0 -1916
- package/es/useFloating-b9d680f7.js.map +0 -1
- package/es/useHiddenTestMethod-f3f25093.js +0 -28
- package/es/useHiddenTestMethod-f3f25093.js.map +0 -1
- package/es/useKeyboardEvents-9aae7ea3.js +0 -85
- package/es/useKeyboardEvents-9aae7ea3.js.map +0 -1
- package/es/useLegendContextMenu-a678b26f.js +0 -279
- package/es/useLegendContextMenu-a678b26f.js.map +0 -1
- package/es/useMeterDatatip-538a4d53.js +0 -73
- package/es/useMeterDatatip-538a4d53.js.map +0 -1
- package/es/useOutsideClick-b777a43e.js +0 -115
- package/es/useOutsideClick-b777a43e.js.map +0 -1
- package/es/useOutsideMousedown-c45c22c0.js +0 -48
- package/es/useOutsideMousedown-c45c22c0.js.map +0 -1
- package/es/usePopupAnimation-96d2bc83.js +0 -85
- package/es/usePopupAnimation-96d2bc83.js.map +0 -1
- package/es/usePrefixSuffix-f981b65f.js +0 -70
- package/es/usePrefixSuffix-f981b65f.js.map +0 -1
- package/es/useRadioFocusManager-36eb283e.js +0 -108
- package/es/useRadioFocusManager-36eb283e.js.map +0 -1
- package/es/useReorderableItem-857636b7.js +0 -296
- package/es/useReorderableItem-857636b7.js.map +0 -1
- package/es/useRovingTabIndexContainer-5992e107.js +0 -106
- package/es/useRovingTabIndexContainer-5992e107.js.map +0 -1
- package/es/useScale-434ad939.js +0 -19
- package/es/useScale-434ad939.js.map +0 -1
- package/es/useSelectCommon-a3c69d60.js +0 -489
- package/es/useSelectCommon-a3c69d60.js.map +0 -1
- package/es/useSelectDrill-f669e729.js +0 -111
- package/es/useSelectDrill-f669e729.js.map +0 -1
- package/es/useSelection-65134722.js +0 -258
- package/es/useSelection-65134722.js.map +0 -1
- package/es/useSelection-82bec039.js +0 -186
- package/es/useSelection-82bec039.js.map +0 -1
- package/es/useTabBar-c5558e77.js +0 -305
- package/es/useTabBar-c5558e77.js.map +0 -1
- package/es/useTestId-f24ac480.js +0 -21
- package/es/useTestId-f24ac480.js.map +0 -1
- package/es/useTheme-0e7497db.js +0 -19
- package/es/useTheme-0e7497db.js.map +0 -1
- package/es/useThemeInterpolations-e144e8ec.js +0 -68
- package/es/useThemeInterpolations-e144e8ec.js.map +0 -1
- package/es/useTooltip-94af94d4.js +0 -49
- package/es/useTooltip-94af94d4.js.map +0 -1
- package/es/useTooltipControlled-f2cfa454.js +0 -373
- package/es/useTooltipControlled-f2cfa454.js.map +0 -1
- package/es/useTooltipOnTruncation-94282e75.js +0 -27
- package/es/useTooltipOnTruncation-94282e75.js.map +0 -1
- package/es/useTranslationBundle-4822502f.js +0 -29
- package/es/useTranslationBundle-4822502f.js.map +0 -1
- package/es/useUser-06d34d19.js +0 -19
- package/es/useUser-06d34d19.js.map +0 -1
- package/es/useVisDragModeControls-af64848c.js +0 -87
- package/es/useVisDragModeControls-af64848c.js.map +0 -1
- package/es/useVisEvents-256dee29.js +0 -153
- package/es/useVisEvents-256dee29.js.map +0 -1
- package/es/withDirectionIcon-a8d84a3d.js +0 -14
- package/es/withDirectionIcon-a8d84a3d.js.map +0 -1
|
@@ -1,1916 +0,0 @@
|
|
|
1
|
-
/* @oracle/oraclejet-preact: undefined */
|
|
2
|
-
import { useMemo, useRef, useState, useCallback, useLayoutEffect } from 'preact/hooks';
|
|
3
|
-
import { u as useUser } from './useUser-06d34d19.js';
|
|
4
|
-
import { n as normalizePosition, r as reverseNormalizePosition } from './positionUtils-f26caad9.js';
|
|
5
|
-
|
|
6
|
-
const min = Math.min;
|
|
7
|
-
const max = Math.max;
|
|
8
|
-
const round = Math.round;
|
|
9
|
-
const floor = Math.floor;
|
|
10
|
-
const createCoords = v => ({
|
|
11
|
-
x: v,
|
|
12
|
-
y: v
|
|
13
|
-
});
|
|
14
|
-
const oppositeSideMap = {
|
|
15
|
-
left: 'right',
|
|
16
|
-
right: 'left',
|
|
17
|
-
bottom: 'top',
|
|
18
|
-
top: 'bottom'
|
|
19
|
-
};
|
|
20
|
-
const oppositeAlignmentMap = {
|
|
21
|
-
start: 'end',
|
|
22
|
-
end: 'start'
|
|
23
|
-
};
|
|
24
|
-
function clamp(start, value, end) {
|
|
25
|
-
return max(start, min(value, end));
|
|
26
|
-
}
|
|
27
|
-
function evaluate(value, param) {
|
|
28
|
-
return typeof value === 'function' ? value(param) : value;
|
|
29
|
-
}
|
|
30
|
-
function getSide(placement) {
|
|
31
|
-
return placement.split('-')[0];
|
|
32
|
-
}
|
|
33
|
-
function getAlignment(placement) {
|
|
34
|
-
return placement.split('-')[1];
|
|
35
|
-
}
|
|
36
|
-
function getOppositeAxis(axis) {
|
|
37
|
-
return axis === 'x' ? 'y' : 'x';
|
|
38
|
-
}
|
|
39
|
-
function getAxisLength(axis) {
|
|
40
|
-
return axis === 'y' ? 'height' : 'width';
|
|
41
|
-
}
|
|
42
|
-
function getSideAxis(placement) {
|
|
43
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
44
|
-
}
|
|
45
|
-
function getAlignmentAxis(placement) {
|
|
46
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
47
|
-
}
|
|
48
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
49
|
-
if (rtl === void 0) {
|
|
50
|
-
rtl = false;
|
|
51
|
-
}
|
|
52
|
-
const alignment = getAlignment(placement);
|
|
53
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
54
|
-
const length = getAxisLength(alignmentAxis);
|
|
55
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
56
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
57
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
58
|
-
}
|
|
59
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
60
|
-
}
|
|
61
|
-
function getExpandedPlacements(placement) {
|
|
62
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
63
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
64
|
-
}
|
|
65
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
66
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
67
|
-
}
|
|
68
|
-
function getSideList(side, isStart, rtl) {
|
|
69
|
-
const lr = ['left', 'right'];
|
|
70
|
-
const rl = ['right', 'left'];
|
|
71
|
-
const tb = ['top', 'bottom'];
|
|
72
|
-
const bt = ['bottom', 'top'];
|
|
73
|
-
switch (side) {
|
|
74
|
-
case 'top':
|
|
75
|
-
case 'bottom':
|
|
76
|
-
if (rtl) return isStart ? rl : lr;
|
|
77
|
-
return isStart ? lr : rl;
|
|
78
|
-
case 'left':
|
|
79
|
-
case 'right':
|
|
80
|
-
return isStart ? tb : bt;
|
|
81
|
-
default:
|
|
82
|
-
return [];
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
86
|
-
const alignment = getAlignment(placement);
|
|
87
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
88
|
-
if (alignment) {
|
|
89
|
-
list = list.map(side => side + "-" + alignment);
|
|
90
|
-
if (flipAlignment) {
|
|
91
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
return list;
|
|
95
|
-
}
|
|
96
|
-
function getOppositePlacement(placement) {
|
|
97
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
98
|
-
}
|
|
99
|
-
function expandPaddingObject(padding) {
|
|
100
|
-
return {
|
|
101
|
-
top: 0,
|
|
102
|
-
right: 0,
|
|
103
|
-
bottom: 0,
|
|
104
|
-
left: 0,
|
|
105
|
-
...padding
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function getPaddingObject(padding) {
|
|
109
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
110
|
-
top: padding,
|
|
111
|
-
right: padding,
|
|
112
|
-
bottom: padding,
|
|
113
|
-
left: padding
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function rectToClientRect(rect) {
|
|
117
|
-
return {
|
|
118
|
-
...rect,
|
|
119
|
-
top: rect.y,
|
|
120
|
-
left: rect.x,
|
|
121
|
-
right: rect.x + rect.width,
|
|
122
|
-
bottom: rect.y + rect.height
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
127
|
-
let {
|
|
128
|
-
reference,
|
|
129
|
-
floating
|
|
130
|
-
} = _ref;
|
|
131
|
-
const sideAxis = getSideAxis(placement);
|
|
132
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
133
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
134
|
-
const side = getSide(placement);
|
|
135
|
-
const isVertical = sideAxis === 'y';
|
|
136
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
137
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
138
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
139
|
-
let coords;
|
|
140
|
-
switch (side) {
|
|
141
|
-
case 'top':
|
|
142
|
-
coords = {
|
|
143
|
-
x: commonX,
|
|
144
|
-
y: reference.y - floating.height
|
|
145
|
-
};
|
|
146
|
-
break;
|
|
147
|
-
case 'bottom':
|
|
148
|
-
coords = {
|
|
149
|
-
x: commonX,
|
|
150
|
-
y: reference.y + reference.height
|
|
151
|
-
};
|
|
152
|
-
break;
|
|
153
|
-
case 'right':
|
|
154
|
-
coords = {
|
|
155
|
-
x: reference.x + reference.width,
|
|
156
|
-
y: commonY
|
|
157
|
-
};
|
|
158
|
-
break;
|
|
159
|
-
case 'left':
|
|
160
|
-
coords = {
|
|
161
|
-
x: reference.x - floating.width,
|
|
162
|
-
y: commonY
|
|
163
|
-
};
|
|
164
|
-
break;
|
|
165
|
-
default:
|
|
166
|
-
coords = {
|
|
167
|
-
x: reference.x,
|
|
168
|
-
y: reference.y
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
switch (getAlignment(placement)) {
|
|
172
|
-
case 'start':
|
|
173
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
174
|
-
break;
|
|
175
|
-
case 'end':
|
|
176
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
177
|
-
break;
|
|
178
|
-
}
|
|
179
|
-
return coords;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
184
|
-
* next to a reference element when it is given a certain positioning strategy.
|
|
185
|
-
*
|
|
186
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
187
|
-
* write one for the platform you are using Floating UI with.
|
|
188
|
-
*/
|
|
189
|
-
const computePosition$1 = async (reference, floating, config) => {
|
|
190
|
-
const {
|
|
191
|
-
placement = 'bottom',
|
|
192
|
-
strategy = 'absolute',
|
|
193
|
-
middleware = [],
|
|
194
|
-
platform
|
|
195
|
-
} = config;
|
|
196
|
-
const validMiddleware = middleware.filter(Boolean);
|
|
197
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
198
|
-
let rects = await platform.getElementRects({
|
|
199
|
-
reference,
|
|
200
|
-
floating,
|
|
201
|
-
strategy
|
|
202
|
-
});
|
|
203
|
-
let {
|
|
204
|
-
x,
|
|
205
|
-
y
|
|
206
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
207
|
-
let statefulPlacement = placement;
|
|
208
|
-
let middlewareData = {};
|
|
209
|
-
let resetCount = 0;
|
|
210
|
-
for (let i = 0; i < validMiddleware.length; i++) {
|
|
211
|
-
const {
|
|
212
|
-
name,
|
|
213
|
-
fn
|
|
214
|
-
} = validMiddleware[i];
|
|
215
|
-
const {
|
|
216
|
-
x: nextX,
|
|
217
|
-
y: nextY,
|
|
218
|
-
data,
|
|
219
|
-
reset
|
|
220
|
-
} = await fn({
|
|
221
|
-
x,
|
|
222
|
-
y,
|
|
223
|
-
initialPlacement: placement,
|
|
224
|
-
placement: statefulPlacement,
|
|
225
|
-
strategy,
|
|
226
|
-
middlewareData,
|
|
227
|
-
rects,
|
|
228
|
-
platform,
|
|
229
|
-
elements: {
|
|
230
|
-
reference,
|
|
231
|
-
floating
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
x = nextX != null ? nextX : x;
|
|
235
|
-
y = nextY != null ? nextY : y;
|
|
236
|
-
middlewareData = {
|
|
237
|
-
...middlewareData,
|
|
238
|
-
[name]: {
|
|
239
|
-
...middlewareData[name],
|
|
240
|
-
...data
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
if (reset && resetCount <= 50) {
|
|
244
|
-
resetCount++;
|
|
245
|
-
if (typeof reset === 'object') {
|
|
246
|
-
if (reset.placement) {
|
|
247
|
-
statefulPlacement = reset.placement;
|
|
248
|
-
}
|
|
249
|
-
if (reset.rects) {
|
|
250
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
|
251
|
-
reference,
|
|
252
|
-
floating,
|
|
253
|
-
strategy
|
|
254
|
-
}) : reset.rects;
|
|
255
|
-
}
|
|
256
|
-
({
|
|
257
|
-
x,
|
|
258
|
-
y
|
|
259
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
260
|
-
}
|
|
261
|
-
i = -1;
|
|
262
|
-
continue;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
return {
|
|
266
|
-
x,
|
|
267
|
-
y,
|
|
268
|
-
placement: statefulPlacement,
|
|
269
|
-
strategy,
|
|
270
|
-
middlewareData
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
276
|
-
* element is overflowing a given clipping boundary on each side.
|
|
277
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
278
|
-
* - negative = how many pixels left before it will overflow
|
|
279
|
-
* - 0 = lies flush with the boundary
|
|
280
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
281
|
-
*/
|
|
282
|
-
async function detectOverflow(state, options) {
|
|
283
|
-
var _await$platform$isEle;
|
|
284
|
-
if (options === void 0) {
|
|
285
|
-
options = {};
|
|
286
|
-
}
|
|
287
|
-
const {
|
|
288
|
-
x,
|
|
289
|
-
y,
|
|
290
|
-
platform,
|
|
291
|
-
rects,
|
|
292
|
-
elements,
|
|
293
|
-
strategy
|
|
294
|
-
} = state;
|
|
295
|
-
const {
|
|
296
|
-
boundary = 'clippingAncestors',
|
|
297
|
-
rootBoundary = 'viewport',
|
|
298
|
-
elementContext = 'floating',
|
|
299
|
-
altBoundary = false,
|
|
300
|
-
padding = 0
|
|
301
|
-
} = evaluate(options, state);
|
|
302
|
-
const paddingObject = getPaddingObject(padding);
|
|
303
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
304
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
305
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
306
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
307
|
-
boundary,
|
|
308
|
-
rootBoundary,
|
|
309
|
-
strategy
|
|
310
|
-
}));
|
|
311
|
-
const rect = elementContext === 'floating' ? {
|
|
312
|
-
...rects.floating,
|
|
313
|
-
x,
|
|
314
|
-
y
|
|
315
|
-
} : rects.reference;
|
|
316
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
317
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
318
|
-
x: 1,
|
|
319
|
-
y: 1
|
|
320
|
-
} : {
|
|
321
|
-
x: 1,
|
|
322
|
-
y: 1
|
|
323
|
-
};
|
|
324
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
325
|
-
rect,
|
|
326
|
-
offsetParent,
|
|
327
|
-
strategy
|
|
328
|
-
}) : rect);
|
|
329
|
-
return {
|
|
330
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
331
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
332
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
333
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
334
|
-
};
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Provides data to position an inner element of the floating element so that it
|
|
339
|
-
* appears centered to the reference element.
|
|
340
|
-
* @see https://floating-ui.com/docs/arrow
|
|
341
|
-
*/
|
|
342
|
-
const arrow = options => ({
|
|
343
|
-
name: 'arrow',
|
|
344
|
-
options,
|
|
345
|
-
async fn(state) {
|
|
346
|
-
const {
|
|
347
|
-
x,
|
|
348
|
-
y,
|
|
349
|
-
placement,
|
|
350
|
-
rects,
|
|
351
|
-
platform,
|
|
352
|
-
elements
|
|
353
|
-
} = state;
|
|
354
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
355
|
-
const {
|
|
356
|
-
element,
|
|
357
|
-
padding = 0
|
|
358
|
-
} = evaluate(options, state) || {};
|
|
359
|
-
if (element == null) {
|
|
360
|
-
return {};
|
|
361
|
-
}
|
|
362
|
-
const paddingObject = getPaddingObject(padding);
|
|
363
|
-
const coords = {
|
|
364
|
-
x,
|
|
365
|
-
y
|
|
366
|
-
};
|
|
367
|
-
const axis = getAlignmentAxis(placement);
|
|
368
|
-
const length = getAxisLength(axis);
|
|
369
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
370
|
-
const isYAxis = axis === 'y';
|
|
371
|
-
const minProp = isYAxis ? 'top' : 'left';
|
|
372
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
373
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
374
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
375
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
376
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
377
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
378
|
-
|
|
379
|
-
// DOM platform can return `window` as the `offsetParent`.
|
|
380
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
381
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
382
|
-
}
|
|
383
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
384
|
-
|
|
385
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
|
386
|
-
// centered, modify the padding so that it is centered.
|
|
387
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
388
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
389
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
390
|
-
|
|
391
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
|
392
|
-
// point is outside the floating element's bounds.
|
|
393
|
-
const min$1 = minPadding;
|
|
394
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
395
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
396
|
-
const offset = clamp(min$1, center, max);
|
|
397
|
-
|
|
398
|
-
// If the reference is small enough that the arrow's padding causes it to
|
|
399
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
|
400
|
-
// floating element itself. This stops `shift()` from taking action, but can
|
|
401
|
-
// be worked around by calling it again after the `arrow()` if desired.
|
|
402
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
403
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
|
|
404
|
-
return {
|
|
405
|
-
[axis]: coords[axis] - alignmentOffset,
|
|
406
|
-
data: {
|
|
407
|
-
[axis]: offset,
|
|
408
|
-
centerOffset: center - offset + alignmentOffset
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
});
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
416
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
417
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
418
|
-
* @see https://floating-ui.com/docs/flip
|
|
419
|
-
*/
|
|
420
|
-
const flip = function (options) {
|
|
421
|
-
if (options === void 0) {
|
|
422
|
-
options = {};
|
|
423
|
-
}
|
|
424
|
-
return {
|
|
425
|
-
name: 'flip',
|
|
426
|
-
options,
|
|
427
|
-
async fn(state) {
|
|
428
|
-
var _middlewareData$flip;
|
|
429
|
-
const {
|
|
430
|
-
placement,
|
|
431
|
-
middlewareData,
|
|
432
|
-
rects,
|
|
433
|
-
initialPlacement,
|
|
434
|
-
platform,
|
|
435
|
-
elements
|
|
436
|
-
} = state;
|
|
437
|
-
const {
|
|
438
|
-
mainAxis: checkMainAxis = true,
|
|
439
|
-
crossAxis: checkCrossAxis = true,
|
|
440
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
441
|
-
fallbackStrategy = 'bestFit',
|
|
442
|
-
fallbackAxisSideDirection = 'none',
|
|
443
|
-
flipAlignment = true,
|
|
444
|
-
...detectOverflowOptions
|
|
445
|
-
} = evaluate(options, state);
|
|
446
|
-
const side = getSide(placement);
|
|
447
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
448
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
449
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
450
|
-
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
451
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
452
|
-
}
|
|
453
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
454
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
455
|
-
const overflows = [];
|
|
456
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
457
|
-
if (checkMainAxis) {
|
|
458
|
-
overflows.push(overflow[side]);
|
|
459
|
-
}
|
|
460
|
-
if (checkCrossAxis) {
|
|
461
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
462
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
463
|
-
}
|
|
464
|
-
overflowsData = [...overflowsData, {
|
|
465
|
-
placement,
|
|
466
|
-
overflows
|
|
467
|
-
}];
|
|
468
|
-
|
|
469
|
-
// One or more sides is overflowing.
|
|
470
|
-
if (!overflows.every(side => side <= 0)) {
|
|
471
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
472
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
473
|
-
const nextPlacement = placements[nextIndex];
|
|
474
|
-
if (nextPlacement) {
|
|
475
|
-
// Try next placement and re-run the lifecycle.
|
|
476
|
-
return {
|
|
477
|
-
data: {
|
|
478
|
-
index: nextIndex,
|
|
479
|
-
overflows: overflowsData
|
|
480
|
-
},
|
|
481
|
-
reset: {
|
|
482
|
-
placement: nextPlacement
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
488
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
489
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
490
|
-
|
|
491
|
-
// Otherwise fallback.
|
|
492
|
-
if (!resetPlacement) {
|
|
493
|
-
switch (fallbackStrategy) {
|
|
494
|
-
case 'bestFit':
|
|
495
|
-
{
|
|
496
|
-
var _overflowsData$map$so;
|
|
497
|
-
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
|
498
|
-
if (placement) {
|
|
499
|
-
resetPlacement = placement;
|
|
500
|
-
}
|
|
501
|
-
break;
|
|
502
|
-
}
|
|
503
|
-
case 'initialPlacement':
|
|
504
|
-
resetPlacement = initialPlacement;
|
|
505
|
-
break;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
if (placement !== resetPlacement) {
|
|
509
|
-
return {
|
|
510
|
-
reset: {
|
|
511
|
-
placement: resetPlacement
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
return {};
|
|
517
|
-
}
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
522
|
-
// Derivable.
|
|
523
|
-
async function convertValueToCoords(state, options) {
|
|
524
|
-
const {
|
|
525
|
-
placement,
|
|
526
|
-
platform,
|
|
527
|
-
elements
|
|
528
|
-
} = state;
|
|
529
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
530
|
-
const side = getSide(placement);
|
|
531
|
-
const alignment = getAlignment(placement);
|
|
532
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
533
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
534
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
535
|
-
const rawValue = evaluate(options, state);
|
|
536
|
-
|
|
537
|
-
// eslint-disable-next-line prefer-const
|
|
538
|
-
let {
|
|
539
|
-
mainAxis,
|
|
540
|
-
crossAxis,
|
|
541
|
-
alignmentAxis
|
|
542
|
-
} = typeof rawValue === 'number' ? {
|
|
543
|
-
mainAxis: rawValue,
|
|
544
|
-
crossAxis: 0,
|
|
545
|
-
alignmentAxis: null
|
|
546
|
-
} : {
|
|
547
|
-
mainAxis: 0,
|
|
548
|
-
crossAxis: 0,
|
|
549
|
-
alignmentAxis: null,
|
|
550
|
-
...rawValue
|
|
551
|
-
};
|
|
552
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
553
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
554
|
-
}
|
|
555
|
-
return isVertical ? {
|
|
556
|
-
x: crossAxis * crossAxisMulti,
|
|
557
|
-
y: mainAxis * mainAxisMulti
|
|
558
|
-
} : {
|
|
559
|
-
x: mainAxis * mainAxisMulti,
|
|
560
|
-
y: crossAxis * crossAxisMulti
|
|
561
|
-
};
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* Modifies the placement by translating the floating element along the
|
|
566
|
-
* specified axes.
|
|
567
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
568
|
-
* object may be passed.
|
|
569
|
-
* @see https://floating-ui.com/docs/offset
|
|
570
|
-
*/
|
|
571
|
-
const offset$1 = function (options) {
|
|
572
|
-
if (options === void 0) {
|
|
573
|
-
options = 0;
|
|
574
|
-
}
|
|
575
|
-
return {
|
|
576
|
-
name: 'offset',
|
|
577
|
-
options,
|
|
578
|
-
async fn(state) {
|
|
579
|
-
const {
|
|
580
|
-
x,
|
|
581
|
-
y
|
|
582
|
-
} = state;
|
|
583
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
584
|
-
return {
|
|
585
|
-
x: x + diffCoords.x,
|
|
586
|
-
y: y + diffCoords.y,
|
|
587
|
-
data: diffCoords
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
595
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
596
|
-
* @see https://floating-ui.com/docs/shift
|
|
597
|
-
*/
|
|
598
|
-
const shift = function (options) {
|
|
599
|
-
if (options === void 0) {
|
|
600
|
-
options = {};
|
|
601
|
-
}
|
|
602
|
-
return {
|
|
603
|
-
name: 'shift',
|
|
604
|
-
options,
|
|
605
|
-
async fn(state) {
|
|
606
|
-
const {
|
|
607
|
-
x,
|
|
608
|
-
y,
|
|
609
|
-
placement
|
|
610
|
-
} = state;
|
|
611
|
-
const {
|
|
612
|
-
mainAxis: checkMainAxis = true,
|
|
613
|
-
crossAxis: checkCrossAxis = false,
|
|
614
|
-
limiter = {
|
|
615
|
-
fn: _ref => {
|
|
616
|
-
let {
|
|
617
|
-
x,
|
|
618
|
-
y
|
|
619
|
-
} = _ref;
|
|
620
|
-
return {
|
|
621
|
-
x,
|
|
622
|
-
y
|
|
623
|
-
};
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
...detectOverflowOptions
|
|
627
|
-
} = evaluate(options, state);
|
|
628
|
-
const coords = {
|
|
629
|
-
x,
|
|
630
|
-
y
|
|
631
|
-
};
|
|
632
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
633
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
634
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
635
|
-
let mainAxisCoord = coords[mainAxis];
|
|
636
|
-
let crossAxisCoord = coords[crossAxis];
|
|
637
|
-
if (checkMainAxis) {
|
|
638
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
639
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
640
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
641
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
642
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
643
|
-
}
|
|
644
|
-
if (checkCrossAxis) {
|
|
645
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
646
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
647
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
648
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
649
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
650
|
-
}
|
|
651
|
-
const limitedCoords = limiter.fn({
|
|
652
|
-
...state,
|
|
653
|
-
[mainAxis]: mainAxisCoord,
|
|
654
|
-
[crossAxis]: crossAxisCoord
|
|
655
|
-
});
|
|
656
|
-
return {
|
|
657
|
-
...limitedCoords,
|
|
658
|
-
data: {
|
|
659
|
-
x: limitedCoords.x - x,
|
|
660
|
-
y: limitedCoords.y - y
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
/**
|
|
667
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
668
|
-
*/
|
|
669
|
-
const limitShift = function (options) {
|
|
670
|
-
if (options === void 0) {
|
|
671
|
-
options = {};
|
|
672
|
-
}
|
|
673
|
-
return {
|
|
674
|
-
options,
|
|
675
|
-
fn(state) {
|
|
676
|
-
const {
|
|
677
|
-
x,
|
|
678
|
-
y,
|
|
679
|
-
placement,
|
|
680
|
-
rects,
|
|
681
|
-
middlewareData
|
|
682
|
-
} = state;
|
|
683
|
-
const {
|
|
684
|
-
offset = 0,
|
|
685
|
-
mainAxis: checkMainAxis = true,
|
|
686
|
-
crossAxis: checkCrossAxis = true
|
|
687
|
-
} = evaluate(options, state);
|
|
688
|
-
const coords = {
|
|
689
|
-
x,
|
|
690
|
-
y
|
|
691
|
-
};
|
|
692
|
-
const crossAxis = getSideAxis(placement);
|
|
693
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
694
|
-
let mainAxisCoord = coords[mainAxis];
|
|
695
|
-
let crossAxisCoord = coords[crossAxis];
|
|
696
|
-
const rawOffset = evaluate(offset, state);
|
|
697
|
-
const computedOffset = typeof rawOffset === 'number' ? {
|
|
698
|
-
mainAxis: rawOffset,
|
|
699
|
-
crossAxis: 0
|
|
700
|
-
} : {
|
|
701
|
-
mainAxis: 0,
|
|
702
|
-
crossAxis: 0,
|
|
703
|
-
...rawOffset
|
|
704
|
-
};
|
|
705
|
-
if (checkMainAxis) {
|
|
706
|
-
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
707
|
-
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
708
|
-
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
709
|
-
if (mainAxisCoord < limitMin) {
|
|
710
|
-
mainAxisCoord = limitMin;
|
|
711
|
-
} else if (mainAxisCoord > limitMax) {
|
|
712
|
-
mainAxisCoord = limitMax;
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
if (checkCrossAxis) {
|
|
716
|
-
var _middlewareData$offse, _middlewareData$offse2;
|
|
717
|
-
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
718
|
-
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
|
719
|
-
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
720
|
-
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
721
|
-
if (crossAxisCoord < limitMin) {
|
|
722
|
-
crossAxisCoord = limitMin;
|
|
723
|
-
} else if (crossAxisCoord > limitMax) {
|
|
724
|
-
crossAxisCoord = limitMax;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
return {
|
|
728
|
-
[mainAxis]: mainAxisCoord,
|
|
729
|
-
[crossAxis]: crossAxisCoord
|
|
730
|
-
};
|
|
731
|
-
}
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* Provides data that allows you to change the size of the floating element —
|
|
737
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
738
|
-
* width of the reference element.
|
|
739
|
-
* @see https://floating-ui.com/docs/size
|
|
740
|
-
*/
|
|
741
|
-
const size = function (options) {
|
|
742
|
-
if (options === void 0) {
|
|
743
|
-
options = {};
|
|
744
|
-
}
|
|
745
|
-
return {
|
|
746
|
-
name: 'size',
|
|
747
|
-
options,
|
|
748
|
-
async fn(state) {
|
|
749
|
-
const {
|
|
750
|
-
placement,
|
|
751
|
-
rects,
|
|
752
|
-
platform,
|
|
753
|
-
elements
|
|
754
|
-
} = state;
|
|
755
|
-
const {
|
|
756
|
-
apply = () => {},
|
|
757
|
-
...detectOverflowOptions
|
|
758
|
-
} = evaluate(options, state);
|
|
759
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
760
|
-
const side = getSide(placement);
|
|
761
|
-
const alignment = getAlignment(placement);
|
|
762
|
-
const isYAxis = getSideAxis(placement) === 'y';
|
|
763
|
-
const {
|
|
764
|
-
width,
|
|
765
|
-
height
|
|
766
|
-
} = rects.floating;
|
|
767
|
-
let heightSide;
|
|
768
|
-
let widthSide;
|
|
769
|
-
if (side === 'top' || side === 'bottom') {
|
|
770
|
-
heightSide = side;
|
|
771
|
-
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
772
|
-
} else {
|
|
773
|
-
widthSide = side;
|
|
774
|
-
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
775
|
-
}
|
|
776
|
-
const overflowAvailableHeight = height - overflow[heightSide];
|
|
777
|
-
const overflowAvailableWidth = width - overflow[widthSide];
|
|
778
|
-
const noShift = !state.middlewareData.shift;
|
|
779
|
-
let availableHeight = overflowAvailableHeight;
|
|
780
|
-
let availableWidth = overflowAvailableWidth;
|
|
781
|
-
if (isYAxis) {
|
|
782
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
783
|
-
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
784
|
-
} else {
|
|
785
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
786
|
-
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
787
|
-
}
|
|
788
|
-
if (noShift && !alignment) {
|
|
789
|
-
const xMin = max(overflow.left, 0);
|
|
790
|
-
const xMax = max(overflow.right, 0);
|
|
791
|
-
const yMin = max(overflow.top, 0);
|
|
792
|
-
const yMax = max(overflow.bottom, 0);
|
|
793
|
-
if (isYAxis) {
|
|
794
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
795
|
-
} else {
|
|
796
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
await apply({
|
|
800
|
-
...state,
|
|
801
|
-
availableWidth,
|
|
802
|
-
availableHeight
|
|
803
|
-
});
|
|
804
|
-
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
805
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
806
|
-
return {
|
|
807
|
-
reset: {
|
|
808
|
-
rects: true
|
|
809
|
-
}
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
return {};
|
|
813
|
-
}
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
|
|
817
|
-
function getNodeName(node) {
|
|
818
|
-
if (isNode(node)) {
|
|
819
|
-
return (node.nodeName || '').toLowerCase();
|
|
820
|
-
}
|
|
821
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
822
|
-
// returning `#document` an infinite loop won't occur.
|
|
823
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
824
|
-
return '#document';
|
|
825
|
-
}
|
|
826
|
-
function getWindow(node) {
|
|
827
|
-
var _node$ownerDocument;
|
|
828
|
-
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
829
|
-
}
|
|
830
|
-
function getDocumentElement(node) {
|
|
831
|
-
var _ref;
|
|
832
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
833
|
-
}
|
|
834
|
-
function isNode(value) {
|
|
835
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
836
|
-
}
|
|
837
|
-
function isElement(value) {
|
|
838
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
839
|
-
}
|
|
840
|
-
function isHTMLElement(value) {
|
|
841
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
842
|
-
}
|
|
843
|
-
function isShadowRoot(value) {
|
|
844
|
-
// Browsers without `ShadowRoot` support.
|
|
845
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
846
|
-
return false;
|
|
847
|
-
}
|
|
848
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
849
|
-
}
|
|
850
|
-
function isOverflowElement(element) {
|
|
851
|
-
const {
|
|
852
|
-
overflow,
|
|
853
|
-
overflowX,
|
|
854
|
-
overflowY,
|
|
855
|
-
display
|
|
856
|
-
} = getComputedStyle(element);
|
|
857
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
858
|
-
}
|
|
859
|
-
function isTableElement(element) {
|
|
860
|
-
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
861
|
-
}
|
|
862
|
-
function isContainingBlock(element) {
|
|
863
|
-
const webkit = isWebKit();
|
|
864
|
-
const css = getComputedStyle(element);
|
|
865
|
-
|
|
866
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
867
|
-
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
868
|
-
}
|
|
869
|
-
function getContainingBlock(element) {
|
|
870
|
-
let currentNode = getParentNode(element);
|
|
871
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
872
|
-
if (isContainingBlock(currentNode)) {
|
|
873
|
-
return currentNode;
|
|
874
|
-
} else {
|
|
875
|
-
currentNode = getParentNode(currentNode);
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
return null;
|
|
879
|
-
}
|
|
880
|
-
function isWebKit() {
|
|
881
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
882
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
883
|
-
}
|
|
884
|
-
function isLastTraversableNode(node) {
|
|
885
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
886
|
-
}
|
|
887
|
-
function getComputedStyle(element) {
|
|
888
|
-
return getWindow(element).getComputedStyle(element);
|
|
889
|
-
}
|
|
890
|
-
function getNodeScroll(element) {
|
|
891
|
-
if (isElement(element)) {
|
|
892
|
-
return {
|
|
893
|
-
scrollLeft: element.scrollLeft,
|
|
894
|
-
scrollTop: element.scrollTop
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
return {
|
|
898
|
-
scrollLeft: element.pageXOffset,
|
|
899
|
-
scrollTop: element.pageYOffset
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
function getParentNode(node) {
|
|
903
|
-
if (getNodeName(node) === 'html') {
|
|
904
|
-
return node;
|
|
905
|
-
}
|
|
906
|
-
const result =
|
|
907
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
908
|
-
node.assignedSlot ||
|
|
909
|
-
// DOM Element detected.
|
|
910
|
-
node.parentNode ||
|
|
911
|
-
// ShadowRoot detected.
|
|
912
|
-
isShadowRoot(node) && node.host ||
|
|
913
|
-
// Fallback.
|
|
914
|
-
getDocumentElement(node);
|
|
915
|
-
return isShadowRoot(result) ? result.host : result;
|
|
916
|
-
}
|
|
917
|
-
function getNearestOverflowAncestor(node) {
|
|
918
|
-
const parentNode = getParentNode(node);
|
|
919
|
-
if (isLastTraversableNode(parentNode)) {
|
|
920
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
921
|
-
}
|
|
922
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
923
|
-
return parentNode;
|
|
924
|
-
}
|
|
925
|
-
return getNearestOverflowAncestor(parentNode);
|
|
926
|
-
}
|
|
927
|
-
function getOverflowAncestors(node, list) {
|
|
928
|
-
var _node$ownerDocument2;
|
|
929
|
-
if (list === void 0) {
|
|
930
|
-
list = [];
|
|
931
|
-
}
|
|
932
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
933
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
934
|
-
const win = getWindow(scrollableAncestor);
|
|
935
|
-
if (isBody) {
|
|
936
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
|
|
937
|
-
}
|
|
938
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
function getCssDimensions(element) {
|
|
942
|
-
const css = getComputedStyle(element);
|
|
943
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
944
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
945
|
-
let width = parseFloat(css.width) || 0;
|
|
946
|
-
let height = parseFloat(css.height) || 0;
|
|
947
|
-
const hasOffset = isHTMLElement(element);
|
|
948
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
949
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
950
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
951
|
-
if (shouldFallback) {
|
|
952
|
-
width = offsetWidth;
|
|
953
|
-
height = offsetHeight;
|
|
954
|
-
}
|
|
955
|
-
return {
|
|
956
|
-
width,
|
|
957
|
-
height,
|
|
958
|
-
$: shouldFallback
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
function unwrapElement(element) {
|
|
963
|
-
return !isElement(element) ? element.contextElement : element;
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
function getScale(element) {
|
|
967
|
-
const domElement = unwrapElement(element);
|
|
968
|
-
if (!isHTMLElement(domElement)) {
|
|
969
|
-
return createCoords(1);
|
|
970
|
-
}
|
|
971
|
-
const rect = domElement.getBoundingClientRect();
|
|
972
|
-
const {
|
|
973
|
-
width,
|
|
974
|
-
height,
|
|
975
|
-
$
|
|
976
|
-
} = getCssDimensions(domElement);
|
|
977
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
978
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
979
|
-
|
|
980
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
981
|
-
|
|
982
|
-
if (!x || !Number.isFinite(x)) {
|
|
983
|
-
x = 1;
|
|
984
|
-
}
|
|
985
|
-
if (!y || !Number.isFinite(y)) {
|
|
986
|
-
y = 1;
|
|
987
|
-
}
|
|
988
|
-
return {
|
|
989
|
-
x,
|
|
990
|
-
y
|
|
991
|
-
};
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
995
|
-
function getVisualOffsets(element) {
|
|
996
|
-
const win = getWindow(element);
|
|
997
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
998
|
-
return noOffsets;
|
|
999
|
-
}
|
|
1000
|
-
return {
|
|
1001
|
-
x: win.visualViewport.offsetLeft,
|
|
1002
|
-
y: win.visualViewport.offsetTop
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1006
|
-
if (isFixed === void 0) {
|
|
1007
|
-
isFixed = false;
|
|
1008
|
-
}
|
|
1009
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1010
|
-
return false;
|
|
1011
|
-
}
|
|
1012
|
-
return isFixed;
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1016
|
-
if (includeScale === void 0) {
|
|
1017
|
-
includeScale = false;
|
|
1018
|
-
}
|
|
1019
|
-
if (isFixedStrategy === void 0) {
|
|
1020
|
-
isFixedStrategy = false;
|
|
1021
|
-
}
|
|
1022
|
-
const clientRect = element.getBoundingClientRect();
|
|
1023
|
-
const domElement = unwrapElement(element);
|
|
1024
|
-
let scale = createCoords(1);
|
|
1025
|
-
if (includeScale) {
|
|
1026
|
-
if (offsetParent) {
|
|
1027
|
-
if (isElement(offsetParent)) {
|
|
1028
|
-
scale = getScale(offsetParent);
|
|
1029
|
-
}
|
|
1030
|
-
} else {
|
|
1031
|
-
scale = getScale(element);
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1035
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1036
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1037
|
-
let width = clientRect.width / scale.x;
|
|
1038
|
-
let height = clientRect.height / scale.y;
|
|
1039
|
-
if (domElement) {
|
|
1040
|
-
const win = getWindow(domElement);
|
|
1041
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1042
|
-
let currentIFrame = win.frameElement;
|
|
1043
|
-
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1044
|
-
const iframeScale = getScale(currentIFrame);
|
|
1045
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1046
|
-
const css = getComputedStyle(currentIFrame);
|
|
1047
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1048
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1049
|
-
x *= iframeScale.x;
|
|
1050
|
-
y *= iframeScale.y;
|
|
1051
|
-
width *= iframeScale.x;
|
|
1052
|
-
height *= iframeScale.y;
|
|
1053
|
-
x += left;
|
|
1054
|
-
y += top;
|
|
1055
|
-
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
return rectToClientRect({
|
|
1059
|
-
width,
|
|
1060
|
-
height,
|
|
1061
|
-
x,
|
|
1062
|
-
y
|
|
1063
|
-
});
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1067
|
-
let {
|
|
1068
|
-
rect,
|
|
1069
|
-
offsetParent,
|
|
1070
|
-
strategy
|
|
1071
|
-
} = _ref;
|
|
1072
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1073
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1074
|
-
if (offsetParent === documentElement) {
|
|
1075
|
-
return rect;
|
|
1076
|
-
}
|
|
1077
|
-
let scroll = {
|
|
1078
|
-
scrollLeft: 0,
|
|
1079
|
-
scrollTop: 0
|
|
1080
|
-
};
|
|
1081
|
-
let scale = createCoords(1);
|
|
1082
|
-
const offsets = createCoords(0);
|
|
1083
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1084
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1085
|
-
scroll = getNodeScroll(offsetParent);
|
|
1086
|
-
}
|
|
1087
|
-
if (isHTMLElement(offsetParent)) {
|
|
1088
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1089
|
-
scale = getScale(offsetParent);
|
|
1090
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1091
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
return {
|
|
1095
|
-
width: rect.width * scale.x,
|
|
1096
|
-
height: rect.height * scale.y,
|
|
1097
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1098
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1099
|
-
};
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
function getClientRects(element) {
|
|
1103
|
-
return Array.from(element.getClientRects());
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
function getWindowScrollBarX(element) {
|
|
1107
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1108
|
-
// incorrect for RTL.
|
|
1109
|
-
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
1113
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1114
|
-
function getDocumentRect(element) {
|
|
1115
|
-
const html = getDocumentElement(element);
|
|
1116
|
-
const scroll = getNodeScroll(element);
|
|
1117
|
-
const body = element.ownerDocument.body;
|
|
1118
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1119
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1120
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1121
|
-
const y = -scroll.scrollTop;
|
|
1122
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1123
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1124
|
-
}
|
|
1125
|
-
return {
|
|
1126
|
-
width,
|
|
1127
|
-
height,
|
|
1128
|
-
x,
|
|
1129
|
-
y
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
function getViewportRect(element, strategy) {
|
|
1134
|
-
const win = getWindow(element);
|
|
1135
|
-
const html = getDocumentElement(element);
|
|
1136
|
-
const visualViewport = win.visualViewport;
|
|
1137
|
-
let width = html.clientWidth;
|
|
1138
|
-
let height = html.clientHeight;
|
|
1139
|
-
let x = 0;
|
|
1140
|
-
let y = 0;
|
|
1141
|
-
if (visualViewport) {
|
|
1142
|
-
width = visualViewport.width;
|
|
1143
|
-
height = visualViewport.height;
|
|
1144
|
-
const visualViewportBased = isWebKit();
|
|
1145
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1146
|
-
x = visualViewport.offsetLeft;
|
|
1147
|
-
y = visualViewport.offsetTop;
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
return {
|
|
1151
|
-
width,
|
|
1152
|
-
height,
|
|
1153
|
-
x,
|
|
1154
|
-
y
|
|
1155
|
-
};
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1159
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1160
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1161
|
-
const top = clientRect.top + element.clientTop;
|
|
1162
|
-
const left = clientRect.left + element.clientLeft;
|
|
1163
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1164
|
-
const width = element.clientWidth * scale.x;
|
|
1165
|
-
const height = element.clientHeight * scale.y;
|
|
1166
|
-
const x = left * scale.x;
|
|
1167
|
-
const y = top * scale.y;
|
|
1168
|
-
return {
|
|
1169
|
-
width,
|
|
1170
|
-
height,
|
|
1171
|
-
x,
|
|
1172
|
-
y
|
|
1173
|
-
};
|
|
1174
|
-
}
|
|
1175
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1176
|
-
let rect;
|
|
1177
|
-
if (clippingAncestor === 'viewport') {
|
|
1178
|
-
rect = getViewportRect(element, strategy);
|
|
1179
|
-
} else if (clippingAncestor === 'document') {
|
|
1180
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1181
|
-
} else if (isElement(clippingAncestor)) {
|
|
1182
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1183
|
-
} else {
|
|
1184
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1185
|
-
rect = {
|
|
1186
|
-
...clippingAncestor,
|
|
1187
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1188
|
-
y: clippingAncestor.y - visualOffsets.y
|
|
1189
|
-
};
|
|
1190
|
-
}
|
|
1191
|
-
return rectToClientRect(rect);
|
|
1192
|
-
}
|
|
1193
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1194
|
-
const parentNode = getParentNode(element);
|
|
1195
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1196
|
-
return false;
|
|
1197
|
-
}
|
|
1198
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1202
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1203
|
-
// of the given element up the tree.
|
|
1204
|
-
function getClippingElementAncestors(element, cache) {
|
|
1205
|
-
const cachedResult = cache.get(element);
|
|
1206
|
-
if (cachedResult) {
|
|
1207
|
-
return cachedResult;
|
|
1208
|
-
}
|
|
1209
|
-
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1210
|
-
let currentContainingBlockComputedStyle = null;
|
|
1211
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1212
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1213
|
-
|
|
1214
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1215
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1216
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1217
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1218
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1219
|
-
currentContainingBlockComputedStyle = null;
|
|
1220
|
-
}
|
|
1221
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1222
|
-
if (shouldDropCurrentNode) {
|
|
1223
|
-
// Drop non-containing blocks.
|
|
1224
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1225
|
-
} else {
|
|
1226
|
-
// Record last containing block for next iteration.
|
|
1227
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1228
|
-
}
|
|
1229
|
-
currentNode = getParentNode(currentNode);
|
|
1230
|
-
}
|
|
1231
|
-
cache.set(element, result);
|
|
1232
|
-
return result;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
1236
|
-
// clipping ancestors.
|
|
1237
|
-
function getClippingRect(_ref) {
|
|
1238
|
-
let {
|
|
1239
|
-
element,
|
|
1240
|
-
boundary,
|
|
1241
|
-
rootBoundary,
|
|
1242
|
-
strategy
|
|
1243
|
-
} = _ref;
|
|
1244
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1245
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1246
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1247
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1248
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1249
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1250
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1251
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1252
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1253
|
-
return accRect;
|
|
1254
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1255
|
-
return {
|
|
1256
|
-
width: clippingRect.right - clippingRect.left,
|
|
1257
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1258
|
-
x: clippingRect.left,
|
|
1259
|
-
y: clippingRect.top
|
|
1260
|
-
};
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
function getDimensions(element) {
|
|
1264
|
-
return getCssDimensions(element);
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1268
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1269
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1270
|
-
const isFixed = strategy === 'fixed';
|
|
1271
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1272
|
-
let scroll = {
|
|
1273
|
-
scrollLeft: 0,
|
|
1274
|
-
scrollTop: 0
|
|
1275
|
-
};
|
|
1276
|
-
const offsets = createCoords(0);
|
|
1277
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1278
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1279
|
-
scroll = getNodeScroll(offsetParent);
|
|
1280
|
-
}
|
|
1281
|
-
if (isOffsetParentAnElement) {
|
|
1282
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1283
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1284
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1285
|
-
} else if (documentElement) {
|
|
1286
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
return {
|
|
1290
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1291
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1292
|
-
width: rect.width,
|
|
1293
|
-
height: rect.height
|
|
1294
|
-
};
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1298
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1299
|
-
return null;
|
|
1300
|
-
}
|
|
1301
|
-
if (polyfill) {
|
|
1302
|
-
return polyfill(element);
|
|
1303
|
-
}
|
|
1304
|
-
return element.offsetParent;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1308
|
-
// such as table ancestors and cross browser bugs.
|
|
1309
|
-
function getOffsetParent(element, polyfill) {
|
|
1310
|
-
const window = getWindow(element);
|
|
1311
|
-
if (!isHTMLElement(element)) {
|
|
1312
|
-
return window;
|
|
1313
|
-
}
|
|
1314
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1315
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
1316
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1317
|
-
}
|
|
1318
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1319
|
-
return window;
|
|
1320
|
-
}
|
|
1321
|
-
return offsetParent || getContainingBlock(element) || window;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
const getElementRects = async function (_ref) {
|
|
1325
|
-
let {
|
|
1326
|
-
reference,
|
|
1327
|
-
floating,
|
|
1328
|
-
strategy
|
|
1329
|
-
} = _ref;
|
|
1330
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1331
|
-
const getDimensionsFn = this.getDimensions;
|
|
1332
|
-
return {
|
|
1333
|
-
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1334
|
-
floating: {
|
|
1335
|
-
x: 0,
|
|
1336
|
-
y: 0,
|
|
1337
|
-
...(await getDimensionsFn(floating))
|
|
1338
|
-
}
|
|
1339
|
-
};
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
function isRTL(element) {
|
|
1343
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
const platform = {
|
|
1347
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1348
|
-
getDocumentElement,
|
|
1349
|
-
getClippingRect,
|
|
1350
|
-
getOffsetParent,
|
|
1351
|
-
getElementRects,
|
|
1352
|
-
getClientRects,
|
|
1353
|
-
getDimensions,
|
|
1354
|
-
getScale,
|
|
1355
|
-
isElement,
|
|
1356
|
-
isRTL
|
|
1357
|
-
};
|
|
1358
|
-
|
|
1359
|
-
// https://samthor.au/2021/observing-dom/
|
|
1360
|
-
function observeMove(element, onMove) {
|
|
1361
|
-
let io = null;
|
|
1362
|
-
let timeoutId;
|
|
1363
|
-
const root = getDocumentElement(element);
|
|
1364
|
-
function cleanup() {
|
|
1365
|
-
clearTimeout(timeoutId);
|
|
1366
|
-
io && io.disconnect();
|
|
1367
|
-
io = null;
|
|
1368
|
-
}
|
|
1369
|
-
function refresh(skip, threshold) {
|
|
1370
|
-
if (skip === void 0) {
|
|
1371
|
-
skip = false;
|
|
1372
|
-
}
|
|
1373
|
-
if (threshold === void 0) {
|
|
1374
|
-
threshold = 1;
|
|
1375
|
-
}
|
|
1376
|
-
cleanup();
|
|
1377
|
-
const {
|
|
1378
|
-
left,
|
|
1379
|
-
top,
|
|
1380
|
-
width,
|
|
1381
|
-
height
|
|
1382
|
-
} = element.getBoundingClientRect();
|
|
1383
|
-
if (!skip) {
|
|
1384
|
-
onMove();
|
|
1385
|
-
}
|
|
1386
|
-
if (!width || !height) {
|
|
1387
|
-
return;
|
|
1388
|
-
}
|
|
1389
|
-
const insetTop = floor(top);
|
|
1390
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1391
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1392
|
-
const insetLeft = floor(left);
|
|
1393
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1394
|
-
const options = {
|
|
1395
|
-
rootMargin,
|
|
1396
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1397
|
-
};
|
|
1398
|
-
let isFirstUpdate = true;
|
|
1399
|
-
function handleObserve(entries) {
|
|
1400
|
-
const ratio = entries[0].intersectionRatio;
|
|
1401
|
-
if (ratio !== threshold) {
|
|
1402
|
-
if (!isFirstUpdate) {
|
|
1403
|
-
return refresh();
|
|
1404
|
-
}
|
|
1405
|
-
if (!ratio) {
|
|
1406
|
-
timeoutId = setTimeout(() => {
|
|
1407
|
-
refresh(false, 1e-7);
|
|
1408
|
-
}, 100);
|
|
1409
|
-
} else {
|
|
1410
|
-
refresh(false, ratio);
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
isFirstUpdate = false;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
1417
|
-
// error.
|
|
1418
|
-
try {
|
|
1419
|
-
io = new IntersectionObserver(handleObserve, {
|
|
1420
|
-
...options,
|
|
1421
|
-
// Handle <iframe>s
|
|
1422
|
-
root: root.ownerDocument
|
|
1423
|
-
});
|
|
1424
|
-
} catch (e) {
|
|
1425
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1426
|
-
}
|
|
1427
|
-
io.observe(element);
|
|
1428
|
-
}
|
|
1429
|
-
refresh(true);
|
|
1430
|
-
return cleanup;
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
/**
|
|
1434
|
-
* Automatically updates the position of the floating element when necessary.
|
|
1435
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
1436
|
-
* visible on the screen.
|
|
1437
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
1438
|
-
* removed from the DOM or hidden from the screen.
|
|
1439
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
1440
|
-
*/
|
|
1441
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1442
|
-
if (options === void 0) {
|
|
1443
|
-
options = {};
|
|
1444
|
-
}
|
|
1445
|
-
const {
|
|
1446
|
-
ancestorScroll = true,
|
|
1447
|
-
ancestorResize = true,
|
|
1448
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
1449
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
1450
|
-
animationFrame = false
|
|
1451
|
-
} = options;
|
|
1452
|
-
const referenceEl = unwrapElement(reference);
|
|
1453
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1454
|
-
ancestors.forEach(ancestor => {
|
|
1455
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1456
|
-
passive: true
|
|
1457
|
-
});
|
|
1458
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1459
|
-
});
|
|
1460
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1461
|
-
let reobserveFrame = -1;
|
|
1462
|
-
let resizeObserver = null;
|
|
1463
|
-
if (elementResize) {
|
|
1464
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
1465
|
-
let [firstEntry] = _ref;
|
|
1466
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1467
|
-
// Prevent update loops when using the `size` middleware.
|
|
1468
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1469
|
-
resizeObserver.unobserve(floating);
|
|
1470
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1471
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1472
|
-
resizeObserver && resizeObserver.observe(floating);
|
|
1473
|
-
});
|
|
1474
|
-
}
|
|
1475
|
-
update();
|
|
1476
|
-
});
|
|
1477
|
-
if (referenceEl && !animationFrame) {
|
|
1478
|
-
resizeObserver.observe(referenceEl);
|
|
1479
|
-
}
|
|
1480
|
-
resizeObserver.observe(floating);
|
|
1481
|
-
}
|
|
1482
|
-
let frameId;
|
|
1483
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1484
|
-
if (animationFrame) {
|
|
1485
|
-
frameLoop();
|
|
1486
|
-
}
|
|
1487
|
-
function frameLoop() {
|
|
1488
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1489
|
-
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1490
|
-
update();
|
|
1491
|
-
}
|
|
1492
|
-
prevRefRect = nextRefRect;
|
|
1493
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1494
|
-
}
|
|
1495
|
-
update();
|
|
1496
|
-
return () => {
|
|
1497
|
-
ancestors.forEach(ancestor => {
|
|
1498
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1499
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1500
|
-
});
|
|
1501
|
-
cleanupIo && cleanupIo();
|
|
1502
|
-
resizeObserver && resizeObserver.disconnect();
|
|
1503
|
-
resizeObserver = null;
|
|
1504
|
-
if (animationFrame) {
|
|
1505
|
-
cancelAnimationFrame(frameId);
|
|
1506
|
-
}
|
|
1507
|
-
};
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
/**
|
|
1511
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1512
|
-
* next to a reference element when it is given a certain CSS positioning
|
|
1513
|
-
* strategy.
|
|
1514
|
-
*/
|
|
1515
|
-
const computePosition = (reference, floating, options) => {
|
|
1516
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1517
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1518
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
1519
|
-
const cache = new Map();
|
|
1520
|
-
const mergedOptions = {
|
|
1521
|
-
platform,
|
|
1522
|
-
...options
|
|
1523
|
-
};
|
|
1524
|
-
const platformWithCache = {
|
|
1525
|
-
...mergedOptions.platform,
|
|
1526
|
-
_c: cache
|
|
1527
|
-
};
|
|
1528
|
-
return computePosition$1(reference, floating, {
|
|
1529
|
-
...mergedOptions,
|
|
1530
|
-
platform: platformWithCache
|
|
1531
|
-
});
|
|
1532
|
-
};
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* @license
|
|
1536
|
-
* MIT License
|
|
1537
|
-
*
|
|
1538
|
-
* Copyright (c) 2021 Floating UI contributors
|
|
1539
|
-
*
|
|
1540
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1541
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
1542
|
-
* in the Software without restriction, including without limitation the rights
|
|
1543
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1544
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
1545
|
-
* furnished to do so, subject to the following conditions:
|
|
1546
|
-
*
|
|
1547
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
1548
|
-
* copies or substantial portions of the Software.
|
|
1549
|
-
*
|
|
1550
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1551
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1552
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1553
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1554
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1555
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1556
|
-
* SOFTWARE.
|
|
1557
|
-
*/
|
|
1558
|
-
const offset = (value) => {
|
|
1559
|
-
return {
|
|
1560
|
-
name: 'offset',
|
|
1561
|
-
options: value,
|
|
1562
|
-
async fn(middlewareArguments) {
|
|
1563
|
-
const newFn = (args) => {
|
|
1564
|
-
// flip middleware could be called several times, until the right space is found.
|
|
1565
|
-
// Every time flip is called and overflow is detected, a possible next placement
|
|
1566
|
-
// is chosen and the array of middleware (including the offset middleware) is called again
|
|
1567
|
-
// with the chosen next placement.
|
|
1568
|
-
// Here we detect that flip is needed and we should change the offset sign if needed.
|
|
1569
|
-
const overflowsData = args.middlewareData.flip?.overflows != undefined
|
|
1570
|
-
? args.middlewareData.flip?.overflows[0]
|
|
1571
|
-
: null;
|
|
1572
|
-
let offset;
|
|
1573
|
-
if (overflowsData != null && value != null && typeof value === 'object') {
|
|
1574
|
-
offset = flippedOffset(args.placement, args.initialPlacement, value);
|
|
1575
|
-
}
|
|
1576
|
-
if (!value) {
|
|
1577
|
-
return 0;
|
|
1578
|
-
}
|
|
1579
|
-
const rawValue = offset ?? value;
|
|
1580
|
-
return rawValue;
|
|
1581
|
-
};
|
|
1582
|
-
return offset$1(newFn).fn(middlewareArguments);
|
|
1583
|
-
}
|
|
1584
|
-
};
|
|
1585
|
-
};
|
|
1586
|
-
const flippedOffset = (placement, initialPlacement, offset) => {
|
|
1587
|
-
const initialSide = initialPlacement.split('-')[0];
|
|
1588
|
-
const side = placement.split('-')[0];
|
|
1589
|
-
const initialAlignment = initialPlacement.split('-')[1];
|
|
1590
|
-
const alignment = placement.split('-')[1];
|
|
1591
|
-
// if flipped around crossAxis
|
|
1592
|
-
if (((initialSide === 'right' || initialSide === 'left') &&
|
|
1593
|
-
initialSide === side &&
|
|
1594
|
-
initialAlignment !== alignment) ||
|
|
1595
|
-
((initialSide === 'top' || initialSide === 'bottom') &&
|
|
1596
|
-
initialSide === side &&
|
|
1597
|
-
initialAlignment !== alignment)) {
|
|
1598
|
-
return {
|
|
1599
|
-
mainAxis: offset && typeof offset === 'object' && offset.mainAxis ? offset.mainAxis : 0,
|
|
1600
|
-
crossAxis: offset && typeof offset === 'object' && offset.crossAxis ? -offset.crossAxis : 0
|
|
1601
|
-
};
|
|
1602
|
-
}
|
|
1603
|
-
else {
|
|
1604
|
-
return offset;
|
|
1605
|
-
}
|
|
1606
|
-
};
|
|
1607
|
-
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
1608
|
-
// functions
|
|
1609
|
-
function deepEqual(a, b) {
|
|
1610
|
-
if (a === b) {
|
|
1611
|
-
return true;
|
|
1612
|
-
}
|
|
1613
|
-
if (typeof a !== typeof b) {
|
|
1614
|
-
return false;
|
|
1615
|
-
}
|
|
1616
|
-
if (typeof a === 'function' && a.toString() === b.toString()) {
|
|
1617
|
-
return true;
|
|
1618
|
-
}
|
|
1619
|
-
let length, i, keys;
|
|
1620
|
-
if (a && b && typeof a == 'object') {
|
|
1621
|
-
if (Array.isArray(a)) {
|
|
1622
|
-
length = a.length;
|
|
1623
|
-
if (length != b.length)
|
|
1624
|
-
return false;
|
|
1625
|
-
for (i = length; i-- !== 0;) {
|
|
1626
|
-
if (!deepEqual(a[i], b[i])) {
|
|
1627
|
-
return false;
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
return true;
|
|
1631
|
-
}
|
|
1632
|
-
keys = Object.keys(a);
|
|
1633
|
-
length = keys.length;
|
|
1634
|
-
if (length !== Object.keys(b).length) {
|
|
1635
|
-
return false;
|
|
1636
|
-
}
|
|
1637
|
-
for (i = length; i-- !== 0;) {
|
|
1638
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) {
|
|
1639
|
-
return false;
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
for (i = length; i-- !== 0;) {
|
|
1643
|
-
const key = keys[i];
|
|
1644
|
-
if (key === '_owner' && a.$$typeof) {
|
|
1645
|
-
continue;
|
|
1646
|
-
}
|
|
1647
|
-
if (!deepEqual(a[key], b[key])) {
|
|
1648
|
-
return false;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
return true;
|
|
1652
|
-
}
|
|
1653
|
-
return a !== a && b !== b;
|
|
1654
|
-
}
|
|
1655
|
-
function useLatestRef(value) {
|
|
1656
|
-
const ref = useRef(value);
|
|
1657
|
-
useLayoutEffect(() => {
|
|
1658
|
-
ref.current = value;
|
|
1659
|
-
});
|
|
1660
|
-
return ref;
|
|
1661
|
-
}
|
|
1662
|
-
const reverseLogicalSide = (placement, direction) => {
|
|
1663
|
-
const side = placement.split('-')[0];
|
|
1664
|
-
if (side === 'top' || side === 'bottom') {
|
|
1665
|
-
return placement;
|
|
1666
|
-
}
|
|
1667
|
-
const alignment = placement.split('-')[1];
|
|
1668
|
-
const reversedPhysicalSide = reverseNormalizePosition(side, direction);
|
|
1669
|
-
const alignmentSideHash = {
|
|
1670
|
-
start: 'top',
|
|
1671
|
-
end: 'bottom'
|
|
1672
|
-
};
|
|
1673
|
-
const alignmentMappedSide = alignment != null
|
|
1674
|
-
? alignment.replace(/start|end/g, (matched) => alignmentSideHash[matched])
|
|
1675
|
-
: null;
|
|
1676
|
-
const placements = [
|
|
1677
|
-
'top',
|
|
1678
|
-
'top-start',
|
|
1679
|
-
'top-end',
|
|
1680
|
-
'end',
|
|
1681
|
-
'end-top',
|
|
1682
|
-
'end-bottom',
|
|
1683
|
-
'bottom-start',
|
|
1684
|
-
'bottom-end',
|
|
1685
|
-
'bottom',
|
|
1686
|
-
'start',
|
|
1687
|
-
'start-top',
|
|
1688
|
-
'start-bottom'
|
|
1689
|
-
];
|
|
1690
|
-
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${reversedPhysicalSide}-${alignmentMappedSide}`) ||
|
|
1691
|
-
(!alignmentMappedSide && placement === `${reversedPhysicalSide}`))[0];
|
|
1692
|
-
if (!newPlacement) {
|
|
1693
|
-
return 'bottom';
|
|
1694
|
-
}
|
|
1695
|
-
return newPlacement;
|
|
1696
|
-
};
|
|
1697
|
-
const logicalSide = (placement, direction) => {
|
|
1698
|
-
const side = placement.split('-')[0];
|
|
1699
|
-
const alignment = placement.split('-')[1];
|
|
1700
|
-
const physicalSide = normalizePosition(side, direction);
|
|
1701
|
-
let alignmentSideHash;
|
|
1702
|
-
let alignmentMappedSide;
|
|
1703
|
-
if (alignment) {
|
|
1704
|
-
alignmentSideHash = {
|
|
1705
|
-
top: 'start',
|
|
1706
|
-
bottom: 'end'
|
|
1707
|
-
};
|
|
1708
|
-
alignmentMappedSide = alignment.replace(/top|bottom/g, (matched) => alignmentSideHash[matched]);
|
|
1709
|
-
}
|
|
1710
|
-
const placements = [
|
|
1711
|
-
'top',
|
|
1712
|
-
'right',
|
|
1713
|
-
'bottom',
|
|
1714
|
-
'left',
|
|
1715
|
-
'top-start',
|
|
1716
|
-
'right-start',
|
|
1717
|
-
'bottom-start',
|
|
1718
|
-
'left-start',
|
|
1719
|
-
'top-end',
|
|
1720
|
-
'right-end',
|
|
1721
|
-
'bottom-end',
|
|
1722
|
-
'left-end'
|
|
1723
|
-
];
|
|
1724
|
-
const newPlacement = placements.filter((placement) => (alignmentMappedSide && placement === `${physicalSide}-${alignmentMappedSide}`) ||
|
|
1725
|
-
(!alignmentMappedSide && placement === `${physicalSide}`))[0];
|
|
1726
|
-
if (!newPlacement) {
|
|
1727
|
-
return 'bottom';
|
|
1728
|
-
}
|
|
1729
|
-
return newPlacement;
|
|
1730
|
-
};
|
|
1731
|
-
const cornerPlacement = (placement, floating) => {
|
|
1732
|
-
const side = placement.split('-')[0];
|
|
1733
|
-
const alignment = placement.split('-')[1];
|
|
1734
|
-
const corner = placement.split('-')[2];
|
|
1735
|
-
if (corner == null) {
|
|
1736
|
-
return { placement: placement, offset: undefined };
|
|
1737
|
-
}
|
|
1738
|
-
const placements = [
|
|
1739
|
-
'top-start',
|
|
1740
|
-
'start-top',
|
|
1741
|
-
'bottom-start',
|
|
1742
|
-
'start-bottom',
|
|
1743
|
-
'top-end',
|
|
1744
|
-
'end-top',
|
|
1745
|
-
'bottom-end',
|
|
1746
|
-
'end-bottom'
|
|
1747
|
-
];
|
|
1748
|
-
const newPlacement = placements.filter((placement) => placement === `${side}-${alignment}`)[0];
|
|
1749
|
-
if (alignment == 'start') {
|
|
1750
|
-
return { placement: newPlacement, offset: { crossAxis: -floating.offsetWidth } };
|
|
1751
|
-
}
|
|
1752
|
-
if (alignment == 'end') {
|
|
1753
|
-
return { placement: newPlacement, offset: { crossAxis: floating.offsetWidth } };
|
|
1754
|
-
}
|
|
1755
|
-
if (alignment == 'top') {
|
|
1756
|
-
return { placement: newPlacement, offset: { crossAxis: -floating.offsetHeight } };
|
|
1757
|
-
}
|
|
1758
|
-
// the last option should always be alignment == 'bottom'
|
|
1759
|
-
return { placement: newPlacement, offset: { crossAxis: floating.offsetHeight } };
|
|
1760
|
-
};
|
|
1761
|
-
const isOfPlacementType = (value) => {
|
|
1762
|
-
const placementTypeValues = [
|
|
1763
|
-
'top',
|
|
1764
|
-
'top-start',
|
|
1765
|
-
'top-end',
|
|
1766
|
-
'top-start-corner',
|
|
1767
|
-
'top-end-corner',
|
|
1768
|
-
'start',
|
|
1769
|
-
'start-top',
|
|
1770
|
-
'start-bottom',
|
|
1771
|
-
'start-top-corner',
|
|
1772
|
-
'start-bottom-corner',
|
|
1773
|
-
'bottom',
|
|
1774
|
-
'bottom-start',
|
|
1775
|
-
'bottom-end',
|
|
1776
|
-
'bottom-start-corner',
|
|
1777
|
-
'bottom-end-corner',
|
|
1778
|
-
'end',
|
|
1779
|
-
'end-top',
|
|
1780
|
-
'end-bottom',
|
|
1781
|
-
'end-top-corner',
|
|
1782
|
-
'end-bottom-corner'
|
|
1783
|
-
];
|
|
1784
|
-
return placementTypeValues.includes(value);
|
|
1785
|
-
};
|
|
1786
|
-
function useFloating({ middleware, placement, strategy, onPosition, whileElementsMounted }) {
|
|
1787
|
-
//this should not happen, checking to just to be safe
|
|
1788
|
-
if (!isOfPlacementType(placement)) {
|
|
1789
|
-
placement = 'bottom';
|
|
1790
|
-
}
|
|
1791
|
-
const referenceRef = useRef(null);
|
|
1792
|
-
const floatingRef = useRef(null);
|
|
1793
|
-
const [reference, _setReference] = useState(null);
|
|
1794
|
-
const [floating, _setFloating] = useState(null);
|
|
1795
|
-
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
1796
|
-
const isMountedRef = useRef(false);
|
|
1797
|
-
const { direction } = useUser();
|
|
1798
|
-
const [data, _setData] = useState({
|
|
1799
|
-
// Setting these to `null` will allow the consumer to determine if
|
|
1800
|
-
// `computePosition()` has run yet
|
|
1801
|
-
x: null,
|
|
1802
|
-
y: null,
|
|
1803
|
-
strategy: strategy ?? 'absolute',
|
|
1804
|
-
placement: 'bottom',
|
|
1805
|
-
middlewareData: {}
|
|
1806
|
-
});
|
|
1807
|
-
const dataRef = useRef(data);
|
|
1808
|
-
const setData = (data) => {
|
|
1809
|
-
dataRef.current = data;
|
|
1810
|
-
_setData(data);
|
|
1811
|
-
};
|
|
1812
|
-
const [latestMiddleware, setLatestMiddleware] = useState(middleware);
|
|
1813
|
-
if (!deepEqual(latestMiddleware, middleware)) {
|
|
1814
|
-
setLatestMiddleware(middleware);
|
|
1815
|
-
}
|
|
1816
|
-
const update = useCallback(() => {
|
|
1817
|
-
if (!referenceRef.current || !floatingRef.current) {
|
|
1818
|
-
return;
|
|
1819
|
-
}
|
|
1820
|
-
// map *-corner placement to normalized placement and offset
|
|
1821
|
-
const floatingCornerPlacement = cornerPlacement(placement, floatingRef.current);
|
|
1822
|
-
// map start/end placements to right/left depending on the reading direction
|
|
1823
|
-
const floatingUiPlacement = logicalSide(floatingCornerPlacement.placement, direction);
|
|
1824
|
-
// we need a summarized offset middleware
|
|
1825
|
-
const newMiddlewareArray = latestMiddleware?.map((m) => {
|
|
1826
|
-
if (m && m?.name === 'offset') {
|
|
1827
|
-
if (typeof m.options === 'function') {
|
|
1828
|
-
// ignore function if there are *-corner placements
|
|
1829
|
-
return floatingCornerPlacement.offset == null
|
|
1830
|
-
? m
|
|
1831
|
-
: offset(floatingCornerPlacement.offset);
|
|
1832
|
-
}
|
|
1833
|
-
const currentOffset = typeof m.options === 'number' ? { mainAxis: m.options, crossAxis: 0 } : m.options;
|
|
1834
|
-
return offset({
|
|
1835
|
-
mainAxis: (currentOffset && currentOffset.mainAxis) ?? 0,
|
|
1836
|
-
crossAxis: ((floatingCornerPlacement.offset && floatingCornerPlacement.offset.crossAxis) ?? 0) +
|
|
1837
|
-
((currentOffset && currentOffset.crossAxis) ?? 0)
|
|
1838
|
-
});
|
|
1839
|
-
}
|
|
1840
|
-
else {
|
|
1841
|
-
return m;
|
|
1842
|
-
}
|
|
1843
|
-
});
|
|
1844
|
-
computePosition(referenceRef.current, floatingRef.current, {
|
|
1845
|
-
middleware: newMiddlewareArray,
|
|
1846
|
-
placement: floatingUiPlacement,
|
|
1847
|
-
strategy
|
|
1848
|
-
}).then((newData) => {
|
|
1849
|
-
if (isMountedRef.current) {
|
|
1850
|
-
if (newData.placement !== dataRef.current.placement ||
|
|
1851
|
-
newData.x !== dataRef.current.x ||
|
|
1852
|
-
newData.y !== dataRef.current.y ||
|
|
1853
|
-
newData.middlewareData.arrow?.x != dataRef.current.middlewareData.arrow?.x ||
|
|
1854
|
-
newData.middlewareData.arrow?.y != dataRef.current.middlewareData.arrow?.y ||
|
|
1855
|
-
newData.middlewareData.arrow?.centerOffset !=
|
|
1856
|
-
dataRef.current.middlewareData.arrow?.centerOffset) {
|
|
1857
|
-
const newMiddleware = newMiddlewareArray?.find((m) => m && m?.name === 'offset');
|
|
1858
|
-
const origOffset = newMiddleware?.options;
|
|
1859
|
-
const reversedNewPlacement = reverseLogicalSide(newData.placement, direction);
|
|
1860
|
-
const offset = newData.middlewareData.offset;
|
|
1861
|
-
const mappedData = {
|
|
1862
|
-
// we need to map right/left, returned from the computePosition, to start/end
|
|
1863
|
-
placement: reversedNewPlacement,
|
|
1864
|
-
origPlacement: placement,
|
|
1865
|
-
x: newData.x,
|
|
1866
|
-
y: newData.y,
|
|
1867
|
-
arrow: newData.middlewareData.arrow,
|
|
1868
|
-
offset: offset,
|
|
1869
|
-
origOffset: origOffset
|
|
1870
|
-
};
|
|
1871
|
-
onPosition?.(mappedData);
|
|
1872
|
-
}
|
|
1873
|
-
setData(newData);
|
|
1874
|
-
}
|
|
1875
|
-
});
|
|
1876
|
-
}, [latestMiddleware, placement, direction, strategy, onPosition]);
|
|
1877
|
-
useLayoutEffect(() => {
|
|
1878
|
-
isMountedRef.current = true;
|
|
1879
|
-
return () => {
|
|
1880
|
-
isMountedRef.current = false;
|
|
1881
|
-
};
|
|
1882
|
-
}, []);
|
|
1883
|
-
useLayoutEffect(() => {
|
|
1884
|
-
if (reference && floating) {
|
|
1885
|
-
if (whileElementsMountedRef.current) {
|
|
1886
|
-
return whileElementsMountedRef.current(reference, floating, update);
|
|
1887
|
-
}
|
|
1888
|
-
else {
|
|
1889
|
-
update();
|
|
1890
|
-
}
|
|
1891
|
-
}
|
|
1892
|
-
}, [reference, floating, update, whileElementsMountedRef]);
|
|
1893
|
-
const setReference = useCallback((node) => {
|
|
1894
|
-
if (referenceRef.current !== node) {
|
|
1895
|
-
referenceRef.current = node;
|
|
1896
|
-
_setReference(node);
|
|
1897
|
-
}
|
|
1898
|
-
}, []);
|
|
1899
|
-
const setFloating = useCallback((node) => {
|
|
1900
|
-
if (floatingRef.current !== node) {
|
|
1901
|
-
floatingRef.current = node;
|
|
1902
|
-
_setFloating(node);
|
|
1903
|
-
}
|
|
1904
|
-
}, []);
|
|
1905
|
-
const refs = useMemo(() => ({ reference: referenceRef, floating: floatingRef }), []);
|
|
1906
|
-
return useMemo(() => ({
|
|
1907
|
-
...data,
|
|
1908
|
-
update,
|
|
1909
|
-
refs,
|
|
1910
|
-
reference: setReference,
|
|
1911
|
-
floating: setFloating
|
|
1912
|
-
}), [data, update, refs, setReference, setFloating]);
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
export { limitShift as a, arrow as b, size as c, autoUpdate as d, flip as f, logicalSide as l, offset as o, shift as s, useFloating as u };
|
|
1916
|
-
//# sourceMappingURL=useFloating-b9d680f7.js.map
|