@oracle/oraclejet-preact 18.1.9 → 18.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/amd/ActionCard-5ae60cb4.js +1 -1
- package/amd/BarChart-0ad4ca6d.js +1 -1
- package/amd/BarGroup-d6909cb1.js +1 -1
- package/amd/BaseButton-c86afd54.js +1 -1
- package/amd/BaseCardView-4f88499c.js +1 -1
- package/amd/{BaseCardViewSelectionTest-00655472.js → BaseCardViewSelectionTest-36a03079.js} +2 -2
- package/amd/{BaseCardViewSelectionTest-00655472.js.map → BaseCardViewSelectionTest-36a03079.js.map} +1 -1
- package/amd/BaseNavigationListItem-84f4be5c.js +1 -1
- package/amd/BaseRichSelection-33a97275.js +1 -1
- package/amd/ButtonSet-7a7a63e8.js +1 -1
- package/amd/ButtonSetIconButton-9f171b1e.js +1 -1
- package/amd/Card-70e5f9f2.js +2 -0
- package/amd/{Card-4d47fe95.js.map → Card-70e5f9f2.js.map} +1 -1
- package/amd/{Center-05b00f39.js → Center-e552eb11.js} +2 -2
- package/amd/{Center-05b00f39.js.map → Center-e552eb11.js.map} +1 -1
- package/amd/Chart-79cfc878.js +1 -1
- package/amd/Checkbox-49753599.js +1 -1
- package/amd/CheckboxControl-c6a380b3.js +1 -1
- package/amd/CheckboxRadioField-1987c75d.js +1 -1
- package/amd/CheckboxSet-05423d28.js +2 -0
- package/amd/CheckboxSet-05423d28.js.map +1 -0
- package/amd/Chip-1bcbf57e.js +1 -1
- package/amd/ClearIcon-d73689cc.js +1 -1
- package/amd/CollapseIcon-a7f8693d.js +1 -1
- package/amd/Collapsible-ea0dca8a.js +1 -1
- package/amd/ComboChart-72eda15f.js +1 -1
- package/amd/CompactHelpSource-de995a7f.js +1 -1
- package/amd/CompactLabelAssistance-9f9f658d.js +2 -0
- package/amd/{CompactLabelAssistance-f3d093c7.js.map → CompactLabelAssistance-9f9f658d.js.map} +1 -1
- package/amd/CompactUserAssistance-3799998f.js +1 -1
- package/amd/ComponentMessageContainer-cf186eeb.js +1 -1
- package/amd/ConveyorBeltItem-e3002f4a.js +1 -1
- package/amd/{DatePicker-abe79055.js → DatePicker-9115226e.js} +2 -2
- package/amd/{DatePicker-abe79055.js.map → DatePicker-9115226e.js.map} +1 -1
- package/amd/DatePickerHeader-a0da70a0.js +1 -1
- package/amd/{Diagram-3d169c49.js → Diagram-14fa4924.js} +2 -2
- package/amd/{Diagram-3d169c49.js.map → Diagram-14fa4924.js.map} +1 -1
- package/amd/{Dialog-11e863b2.js → Dialog-896c0bfd.js} +2 -2
- package/amd/{Dialog-11e863b2.js.map → Dialog-896c0bfd.js.map} +1 -1
- package/amd/DirectionalCollapseArrowIcon-31539047.js +1 -1
- package/amd/DirectionalExpandArrowIcon-533fd2a0.js +1 -1
- package/amd/{DragHandle-7335845b.js → DragHandle-14ea6e74.js} +2 -2
- package/amd/{DragHandle-7335845b.js.map → DragHandle-14ea6e74.js.map} +1 -1
- package/amd/{DrawerPopup-8d5736fb.js → DrawerPopup-90b8ecf5.js} +2 -2
- package/amd/{DrawerPopup-8d5736fb.js.map → DrawerPopup-90b8ecf5.js.map} +1 -1
- package/amd/{Dropdown-3d2abe1f.js → Dropdown-73238fd5.js} +2 -2
- package/amd/{Dropdown-3d2abe1f.js.map → Dropdown-73238fd5.js.map} +1 -1
- package/amd/{EnvironmentProvider-bbf80843.js → EnvironmentProvider-806b8f3a.js} +2 -2
- package/amd/{EnvironmentProvider-bbf80843.js.map → EnvironmentProvider-806b8f3a.js.map} +1 -1
- package/amd/ExpandableList-daabc548.js +1 -1
- package/amd/FilePicker-7e31189e.js +1 -1
- package/amd/{Flex-b8764305.js → Flex-590160eb.js} +2 -2
- package/amd/{Flex-b8764305.js.map → Flex-590160eb.js.map} +1 -1
- package/amd/{Floating-f12b8739.js → Floating-ae9845d4.js} +2 -2
- package/amd/{Floating-f12b8739.js.map → Floating-ae9845d4.js.map} +1 -1
- package/amd/FormLayout-3d643cdf.js +1 -1
- package/amd/Gantt-7265d4ce.js +1 -1
- package/amd/Grid-a8a51c37.js +2 -0
- package/amd/{Grid-e6f0d4a6.js.map → Grid-a8a51c37.js.map} +1 -1
- package/amd/{Gridlines-efa5606a.js → Gridlines-8894882d.js} +2 -2
- package/amd/{Gridlines-efa5606a.js.map → Gridlines-8894882d.js.map} +1 -1
- package/amd/GroupLoadingIndicator-9fd33355.js +1 -1
- package/amd/HighlightText-ded0d51b.js +2 -0
- package/amd/{HighlightText-d1b13537.js.map → HighlightText-ded0d51b.js.map} +1 -1
- package/amd/Icon-383a68bb.js +1 -1
- package/amd/IconButton-368fba34.js +1 -1
- package/amd/IconMenuButton-3f3c2386.js +1 -1
- package/amd/IconProgressButton-11c44c28.js +1 -1
- package/amd/IconSwitchButton-1a400cdf.js +1 -1
- package/amd/IconToggleButton-ea46b246.js +1 -1
- package/amd/{IconUserAssistance-f5228b1d.js → IconUserAssistance-e496ab70.js} +2 -2
- package/amd/{IconUserAssistance-f5228b1d.js.map → IconUserAssistance-e496ab70.js.map} +1 -1
- package/amd/Indexer-510aaf3a.js +1 -1
- package/amd/InlineHelpSource-8277317c.js +1 -1
- package/amd/InlineUserAssistance-a97e0011.js +1 -1
- package/amd/InputDateMask-09989b51.js +1 -1
- package/amd/InputDatePicker-4c3c6bb4.js +2 -0
- package/amd/{InputDatePicker-03bdeb95.js.map → InputDatePicker-4c3c6bb4.js.map} +1 -1
- package/amd/InputPassword-57a5e072.js +1 -1
- package/amd/InputText-a72eb1c3.js +1 -1
- package/amd/Label-41b672b4.js +1 -1
- package/amd/LabelValueLayout-b6701ecf.js +1 -1
- package/amd/{Layer-69221878.js → Layer-139c23c4.js} +2 -2
- package/amd/{Layer-69221878.js.map → Layer-139c23c4.js.map} +1 -1
- package/amd/{LayerHost-27dfba9e.js → LayerHost-733ade2f.js} +2 -2
- package/amd/{LayerHost-27dfba9e.js.map → LayerHost-733ade2f.js.map} +1 -1
- package/amd/{LayerManager-7f82d3ce.js → LayerManager-9a628ce3.js} +2 -2
- package/amd/{LayerManager-7f82d3ce.js.map → LayerManager-9a628ce3.js.map} +1 -1
- package/amd/Legend-6fa54628.js +1 -1
- package/amd/{LineAreaChart-cacd5576.js → LineAreaChart-3aff0c1a.js} +2 -2
- package/amd/{LineAreaChart-cacd5576.js.map → LineAreaChart-3aff0c1a.js.map} +1 -1
- package/amd/{LineSeries-fe392d85.js → LineSeries-ce197af6.js} +2 -2
- package/amd/{LineSeries-fe392d85.js.map → LineSeries-ce197af6.js.map} +1 -1
- package/amd/Link-1f126248.js +1 -1
- package/amd/List-37e37948.js +1 -1
- package/amd/{ListItemLayout-60fc51b7.js → ListItemLayout-59986c55.js} +2 -2
- package/amd/{ListItemLayout-60fc51b7.js.map → ListItemLayout-59986c55.js.map} +1 -1
- package/amd/ListView-325e1814.js +1 -1
- package/amd/LiveRegion-1917f798.js +2 -0
- package/amd/{LiveRegion-17fea064.js.map → LiveRegion-1917f798.js.map} +1 -1
- package/amd/MaxLengthCounter-9a95922c.js +2 -0
- package/{cjs/MaxLengthCounter-9ab3f74b.js.map → amd/MaxLengthCounter-9a95922c.js.map} +1 -1
- package/amd/{MaxLengthLiveRegion-ecc0c894.js → MaxLengthLiveRegion-46bb45da.js} +2 -2
- package/amd/{MaxLengthLiveRegion-ecc0c894.js.map → MaxLengthLiveRegion-46bb45da.js.map} +1 -1
- package/amd/Menu-bb715ef5.js +1 -1
- package/amd/MenuButton-66e5430a.js +1 -1
- package/amd/MenuItem-1a324975.js +1 -1
- package/amd/Message-d66cc7e9.js +1 -1
- package/amd/{MessageLayer-d39be82d.js → MessageLayer-a439ce52.js} +2 -2
- package/amd/{MessageLayer-d39be82d.js.map → MessageLayer-a439ce52.js.map} +1 -1
- package/amd/MessageToast-19703f73.js +1 -1
- package/amd/MessagesManager-2c4c218f.js +1 -1
- package/amd/MeterBar-9f58cfad.js +1 -1
- package/amd/MeterCircle-c3138125.js +1 -1
- package/amd/{Modal-e4a033c8.js → Modal-9eaf8cd9.js} +2 -2
- package/amd/{Modal-e4a033c8.js.map → Modal-9eaf8cd9.js.map} +1 -1
- package/amd/{MonthView-ca0355b8.js → MonthView-67179db3.js} +2 -2
- package/amd/{MonthView-ca0355b8.js.map → MonthView-67179db3.js.map} +1 -1
- package/amd/NavigationListItem-32ded4a5.js +1 -1
- package/amd/NumberInputText-e2cf1795.js +1 -1
- package/amd/OverflowTabBarItem-f8128e3d.js +1 -1
- package/amd/PRIVATE_BaseCardView.js +1 -1
- package/amd/PRIVATE_Chart.js +1 -1
- package/amd/PRIVATE_CheckboxControl.js +1 -1
- package/amd/PRIVATE_CheckboxRadioField.js +1 -1
- package/amd/PRIVATE_ClearIcon.js +1 -1
- package/amd/PRIVATE_DatePickerHeader.js +1 -1
- package/amd/PRIVATE_DatePickerLayout.js +1 -1
- package/amd/PRIVATE_EmbeddedIconButton.js +1 -1
- package/amd/PRIVATE_FormControls.js +1 -1
- package/amd/PRIVATE_IconSwitchButton.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxMixed.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOff.js +1 -1
- package/amd/PRIVATE_Icons/CheckboxOn.js +1 -1
- package/amd/PRIVATE_Icons/DragV.js +1 -1
- package/amd/PRIVATE_Icons/WarningS.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_Message.js +1 -1
- package/amd/PRIVATE_MessageLayer.js +1 -1
- package/amd/PRIVATE_MonthView.js +1 -1
- package/amd/PRIVATE_MonthYearGridView.js +1 -1
- package/amd/PRIVATE_PlotArea.js +1 -1
- package/amd/PRIVATE_RevealToggleIcon.js +1 -1
- package/amd/PRIVATE_RichSelectionCommon.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_StyledCard.js +1 -1
- package/amd/PRIVATE_StyledCheckbox.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CalendarIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartPanIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ChartZoomIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CheckboxOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CloseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/CollapseUpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DecrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DeleteIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/DropdownArrowIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ExpandIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/HelpIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/IncrementIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageErrorIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageInfoIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MessageWarningIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/MinusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/NavDownIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/PlusIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOffIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/RadioOnIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortAscendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/SortDescendingIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewHideIcon.js +1 -1
- package/amd/PRIVATE_ThemedIcons/ViewIcon.js +1 -1
- package/amd/PRIVATE_TimeComponent.js +1 -1
- package/amd/PRIVATE_VisOverview.js +1 -1
- package/amd/PRIVATE_VisTabularDatatip.js +1 -1
- package/amd/PictoChart-98b892fb.js +1 -1
- package/amd/PieChart-19890d12.js +1 -1
- package/amd/{Popup-b0704743.js → Popup-3e2566da.js} +2 -2
- package/amd/{Popup-b0704743.js.map → Popup-3e2566da.js.map} +1 -1
- package/amd/{ProgressBar-8ab08930.js → ProgressBar-99c0ff2a.js} +2 -2
- package/amd/{ProgressBar-8ab08930.js.map → ProgressBar-99c0ff2a.js.map} +1 -1
- package/amd/ProgressButton-cd0c21df.js +1 -1
- package/amd/ProgressButtonLabelLayout-76d8a3e7.js +1 -1
- package/amd/{ProgressCircle-9c36b39c.js → ProgressCircle-0046c4c8.js} +2 -2
- package/amd/{ProgressCircle-9c36b39c.js.map → ProgressCircle-0046c4c8.js.map} +1 -1
- package/amd/RadioItem-1a02d3dc.js +1 -1
- package/amd/RatingGauge-1c40dae3.js +1 -1
- package/amd/ReadonlyTextFieldInput-d6c6dbc4.js +1 -1
- package/amd/RemovableNavigationListItem-1f69907c.js +1 -1
- package/amd/RemovableTabBarItem-5c240801.js +1 -1
- package/amd/ReorderableTabBar-23f7e3c3.js +1 -1
- package/amd/RevealToggleIcon-c22626da.js +1 -1
- package/amd/{ScatterChart-5a9fe642.js → ScatterChart-e6f8d49a.js} +2 -2
- package/amd/{ScatterChart-5a9fe642.js.map → ScatterChart-e6f8d49a.js.map} +1 -1
- package/amd/SectionalLegend-713bdefb.js +1 -1
- package/amd/SectionedContent-ef1f844c.js +2 -0
- package/amd/{SectionedContent-f508dbae.js.map → SectionedContent-ef1f844c.js.map} +1 -1
- package/amd/SelectMultiple-19db7af2.js +1 -1
- package/amd/SelectSingle-7edde065.js +1 -1
- package/amd/SelectionCard-a8a3bb2d.js +2 -0
- package/amd/{SelectionCard-38a1007f.js.map → SelectionCard-a8a3bb2d.js.map} +1 -1
- package/amd/Selector-fcfe7801.js +1 -1
- package/amd/{SelectorAll-3f85b285.js → SelectorAll-de289397.js} +2 -2
- package/amd/{SelectorAll-3f85b285.js.map → SelectorAll-de289397.js.map} +1 -1
- package/amd/{Sheet-08578790.js → Sheet-404b38fa.js} +2 -2
- package/amd/{Sheet-08578790.js.map → Sheet-404b38fa.js.map} +1 -1
- package/amd/SplitMenuButton-a2001b04.js +1 -1
- package/amd/StyledCard-09c9f9c0.js +2 -0
- package/amd/{StyledCard-1f13531d.js.map → StyledCard-09c9f9c0.js.map} +1 -1
- package/amd/{StyledLabelValueLayout-0353a9b8.js → StyledLabelValueLayout-2524f5c3.js} +2 -2
- package/amd/{StyledLabelValueLayout-0353a9b8.js.map → StyledLabelValueLayout-2524f5c3.js.map} +1 -1
- package/amd/StyledTextField-5dcd2ff4.js +1 -1
- package/amd/TabBar-ca32462a.js +1 -1
- package/amd/TabBarItem-4ff2ef15.js +1 -1
- package/amd/TabBarLayout-95e78962.js +1 -1
- package/amd/TabBarMixed-dab4e4a2.js +1 -1
- package/amd/{TabBarMixedSeparator-b4c6eb9d.js → TabBarMixedSeparator-53d205c8.js} +2 -2
- package/amd/{TabBarMixedSeparator-b4c6eb9d.js.map → TabBarMixedSeparator-53d205c8.js.map} +1 -1
- package/amd/Table-f1101855.js +1 -1
- package/amd/TagCloud-39552a78.js +1 -1
- package/amd/TextArea-0ec1a311.js +2 -0
- package/{cjs/TextArea-d8516f11.js.map → amd/TextArea-0ec1a311.js.map} +1 -1
- package/amd/TextAreaAutosize-8cac0a54.js +2 -0
- package/amd/{TextAreaAutosize-c9c00a1c.js.map → TextAreaAutosize-8cac0a54.js.map} +1 -1
- package/amd/TextField-c16917d8.js +1 -1
- package/amd/TextFieldInput-e86a1d08.js +1 -1
- package/amd/Theme-redwood/theme.css +241 -241
- package/amd/Theme-stable/theme.css +322 -322
- package/amd/TimeComponentCanvas2D-82ebf0c7.js +1 -1
- package/amd/Toolbar-fe110698.js +1 -1
- package/amd/TruncatingBadge-1a265367.js +1 -1
- package/amd/TruncatingText-eb4bd8ab.js +1 -1
- package/amd/UNSAFE_ActionCard.js +1 -1
- package/amd/UNSAFE_BarChart/__test__/BarChart.spec.js +1 -1
- package/amd/UNSAFE_BarChart.js +1 -1
- package/amd/UNSAFE_BaseButton.js +1 -1
- package/amd/UNSAFE_Button.js +1 -1
- package/amd/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +1 -1
- package/amd/UNSAFE_ButtonSet.js +1 -1
- package/amd/UNSAFE_ButtonSetButton.js +1 -1
- package/amd/UNSAFE_ButtonSetIconButton.js +1 -1
- package/amd/UNSAFE_ButtonSetItem.js +1 -1
- package/amd/UNSAFE_ButtonSetMultiple.js +1 -1
- package/amd/UNSAFE_ButtonSetSingle.js +1 -1
- package/amd/UNSAFE_Card.js +1 -1
- package/amd/UNSAFE_CardFlexView.js +1 -1
- package/amd/UNSAFE_CardGridView.js +1 -1
- package/amd/UNSAFE_Center.js +1 -1
- package/amd/UNSAFE_Checkbox.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js +1 -1
- package/amd/UNSAFE_CheckboxItem.js.map +1 -1
- package/amd/UNSAFE_CheckboxSet.js +1 -1
- package/amd/UNSAFE_CheckboxSet.js.map +1 -1
- package/amd/UNSAFE_Chip.js +1 -1
- package/amd/UNSAFE_Collapsible.js +1 -1
- package/amd/UNSAFE_ComboChart.js +1 -1
- package/amd/UNSAFE_ComponentMessage.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_DatePicker.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_Dialog.js +1 -1
- package/amd/UNSAFE_DragHandle.js +1 -1
- package/amd/UNSAFE_DrawerLayout.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Dropdown.js +1 -1
- package/amd/UNSAFE_Environment.js +1 -1
- package/amd/UNSAFE_ExpandableList.js +1 -1
- package/amd/UNSAFE_FilePicker.js +1 -1
- package/amd/UNSAFE_Flex.js +1 -1
- package/amd/UNSAFE_Floating.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_Gantt.js +1 -1
- package/amd/UNSAFE_Grid.js +1 -1
- package/amd/UNSAFE_HighlightText.js +1 -1
- package/amd/UNSAFE_Icon.js +1 -1
- package/amd/UNSAFE_IconButton.js +1 -1
- package/amd/UNSAFE_IconMenuButton.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IconToggleButton.js +1 -1
- package/amd/UNSAFE_Indexer.js +1 -1
- package/amd/UNSAFE_InputDateMask.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputPassword.js +1 -1
- package/amd/UNSAFE_InputSensitiveText.js +1 -1
- package/amd/UNSAFE_InputText.js +1 -1
- package/amd/UNSAFE_InputTimeMask.js +1 -1
- package/amd/UNSAFE_Label.js +1 -1
- package/amd/UNSAFE_LabelValueLayout.js +1 -1
- package/amd/UNSAFE_LabelledLink.js +1 -1
- package/amd/UNSAFE_Layer.js +1 -1
- package/amd/UNSAFE_Legend.js +1 -1
- package/amd/UNSAFE_LineAreaChart.js +1 -1
- package/amd/UNSAFE_Link.js +1 -1
- package/amd/UNSAFE_ListItemLayout.js +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_LiveRegion.js +1 -1
- package/amd/UNSAFE_Menu.js +1 -1
- package/amd/UNSAFE_MenuButton.js +1 -1
- package/amd/UNSAFE_MessageBanner.js +1 -1
- package/amd/UNSAFE_MessageToast.js +1 -1
- package/amd/UNSAFE_MeterBar.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_Modal.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_NavigationListCommon.js +1 -1
- package/amd/UNSAFE_NumberInputText.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_PictoChart.js +1 -1
- package/amd/UNSAFE_PieChart/__test__/PieChart.spec.js +1 -1
- package/amd/UNSAFE_PieChart.js +1 -1
- package/amd/UNSAFE_Popup.js +1 -1
- package/amd/UNSAFE_ProgressBar.js +1 -1
- package/amd/UNSAFE_ProgressButton.js +1 -1
- package/amd/UNSAFE_ProgressButtonLabelLayout.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_RadioSet.js +1 -1
- package/amd/UNSAFE_RatingGauge.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js +1 -1
- package/amd/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/amd/UNSAFE_RichRadioSet.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
- package/amd/UNSAFE_ScatterChart.js +1 -1
- package/amd/UNSAFE_SectionalLegend.js +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SelectionCard.js +1 -1
- package/amd/UNSAFE_Selector.js +1 -1
- package/amd/UNSAFE_SelectorAll.js +1 -1
- package/amd/UNSAFE_Sheet/__test__/Sheet.spec.js +1 -1
- package/amd/UNSAFE_Sheet.js +1 -1
- package/amd/UNSAFE_SplitMenuButton.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TagCloud.js +1 -1
- package/amd/UNSAFE_TextArea.js +1 -1
- package/amd/UNSAFE_TextAreaAutosize.js +1 -1
- package/amd/UNSAFE_TextField.js +1 -1
- package/amd/UNSAFE_ToggleButton.js +1 -1
- package/amd/UNSAFE_Toolbar/tests/Toolbar.spec.js +1 -1
- package/amd/UNSAFE_Toolbar.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TruncatingBadge.js +1 -1
- package/amd/UNSAFE_TruncatingText.js +1 -1
- package/amd/UNSAFE_UserAssistance.js +1 -1
- package/amd/UNSAFE_View.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +1 -1
- package/amd/UNSAFE_VisProgressiveLoader.js +1 -1
- package/amd/UNSAFE_VisStatusMessage.js +1 -1
- package/amd/UNSAFE_WindowOverlay.js +1 -1
- package/amd/{View-b5d6b669.js → View-db26162c.js} +2 -2
- package/amd/{View-b5d6b669.js.map → View-db26162c.js.map} +1 -1
- package/amd/{VisNoData-32b7088b.js → VisNoData-7090c864.js} +2 -2
- package/amd/{VisNoData-32b7088b.js.map → VisNoData-7090c864.js.map} +1 -1
- package/amd/{VisProgressiveLoader-8cf832a4.js → VisProgressiveLoader-6a3b479f.js} +2 -2
- package/amd/{VisProgressiveLoader-8cf832a4.js.map → VisProgressiveLoader-6a3b479f.js.map} +1 -1
- package/amd/{VisTabularDatatip-03ba9ae5.js → VisTabularDatatip-0b630f9d.js} +2 -2
- package/amd/{VisTabularDatatip-03ba9ae5.js.map → VisTabularDatatip-0b630f9d.js.map} +1 -1
- package/amd/{WindowOverlay-19cd633a.js → WindowOverlay-c390f525.js} +2 -2
- package/amd/{WindowOverlay-19cd633a.js.map → WindowOverlay-c390f525.js.map} +1 -1
- package/amd/{YearsGridView-84898309.js → YearsGridView-e645d5de.js} +2 -2
- package/amd/{YearsGridView-84898309.js.map → YearsGridView-e645d5de.js.map} +1 -1
- package/amd/hoc/PRIVATE_withDirectionIcon.js +1 -1
- package/amd/hoc/PRIVATE_withThemeIcon.js +1 -1
- package/amd/hoc/UNSAFE_withThemeProps.js +1 -1
- package/amd/hooks/PRIVATE_useChartContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useChartDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useChartEvents.js +1 -1
- package/amd/hooks/PRIVATE_useChartMarquee.js +1 -1
- package/amd/hooks/PRIVATE_useCssVars.js +1 -1
- package/amd/hooks/PRIVATE_useCurrentKey.js +1 -1
- package/amd/hooks/PRIVATE_useDatatip.js +1 -1
- package/amd/hooks/PRIVATE_useFloating.js +1 -1
- package/amd/hooks/PRIVATE_useReorderable.js +1 -1
- package/amd/hooks/PRIVATE_useRovingTabIndexContainer.js +1 -1
- package/amd/hooks/PRIVATE_useSelection.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/hooks/PRIVATE_useTooltipOnTruncation.js +1 -1
- package/amd/hooks/PRIVATE_useVisContextMenu.js +1 -1
- package/amd/hooks/PRIVATE_useVisDragModeControls.js +1 -1
- package/amd/hooks/PRIVATE_useVisEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisMeterEvents.js +1 -1
- package/amd/hooks/PRIVATE_useVisSelection.js +1 -1
- package/amd/hooks/UNSAFE_useColorScheme.js +1 -1
- package/amd/hooks/UNSAFE_useCurrentBgColor.js +1 -1
- package/amd/hooks/UNSAFE_useDensity.js +1 -1
- package/amd/hooks/UNSAFE_useOutsideClick.js +1 -1
- package/amd/hooks/UNSAFE_usePrefixSuffix.js +1 -1
- package/amd/hooks/UNSAFE_useScale.js +1 -1
- package/amd/hooks/UNSAFE_useTestId.js +1 -1
- package/amd/hooks/UNSAFE_useTheme.js +1 -1
- package/amd/hooks/UNSAFE_useThemeInterpolations.js +1 -1
- package/amd/hooks/UNSAFE_useTooltip.js +1 -1
- package/amd/hooks/UNSAFE_useTranslationBundle.js +1 -1
- package/amd/hooks/UNSAFE_useUser.js +1 -1
- package/amd/{index-9fe6dba4.js → index-91628308.js} +2 -2
- package/amd/index-91628308.js.map +1 -0
- package/amd/listViewSelectionTests-cda5abdf.js +1 -1
- package/amd/{popupUtils-4c7037ca.js → popupUtils-97c14340.js} +2 -2
- package/amd/{popupUtils-4c7037ca.js.map → popupUtils-97c14340.js.map} +1 -1
- package/amd/{render-60c60d58.js → render-26bfba97.js} +2 -2
- package/amd/{render-60c60d58.js.map → render-26bfba97.js.map} +1 -1
- package/amd/{tabbableUtils-91cb6674.js → tabbableUtils-e35b5cb9.js} +2 -2
- package/amd/{tabbableUtils-91cb6674.js.map → tabbableUtils-e35b5cb9.js.map} +1 -1
- package/amd/{testData-752ed27b.js → testData-1796f319.js} +2 -2
- package/amd/{testData-752ed27b.js.map → testData-1796f319.js.map} +1 -1
- package/amd/tooltipUtils-30886397.js +2 -0
- package/amd/{tooltipUtils-36ddb881.js.map → tooltipUtils-30886397.js.map} +1 -1
- package/amd/useCellNavigation-4138513e.js +1 -1
- package/amd/useChartContextMenu-59a5f8c0.js +1 -1
- package/amd/useChartDatatip-b75883b6.js +2 -0
- package/amd/{useChartDatatip-777fcfb2.js.map → useChartDatatip-b75883b6.js.map} +1 -1
- package/amd/{useColorScheme-09a67d56.js → useColorScheme-6b864d5c.js} +2 -2
- package/amd/{useColorScheme-09a67d56.js.map → useColorScheme-6b864d5c.js.map} +1 -1
- package/amd/useContextMenu-dacffeb2.js +1 -1
- package/amd/useCssVars-cc825c54.js +2 -0
- package/amd/{useCssVars-311f2956.js.map → useCssVars-cc825c54.js.map} +1 -1
- package/amd/{useCurrentBgColor-dc922fe6.js → useCurrentBgColor-df47f8a8.js} +2 -2
- package/amd/{useCurrentBgColor-dc922fe6.js.map → useCurrentBgColor-df47f8a8.js.map} +1 -1
- package/amd/useCurrentKey-b0a79216.js +2 -0
- package/amd/{useCurrentKey-e8791885.js.map → useCurrentKey-b0a79216.js.map} +1 -1
- package/amd/{useDatatip-8a63fb35.js → useDatatip-be9b251b.js} +2 -2
- package/amd/{useDatatip-8a63fb35.js.map → useDatatip-be9b251b.js.map} +1 -1
- package/amd/{useDensity-90a49922.js → useDensity-27fffd88.js} +2 -2
- package/amd/{useDensity-90a49922.js.map → useDensity-27fffd88.js.map} +1 -1
- package/amd/{useFloating-4b145893.js → useFloating-f9bd3c51.js} +2 -2
- package/amd/{useFloating-4b145893.js.map → useFloating-f9bd3c51.js.map} +1 -1
- package/amd/useKeyboardEvents-ce9c81d0.js +2 -0
- package/amd/{useKeyboardEvents-f8b3ead1.js.map → useKeyboardEvents-ce9c81d0.js.map} +1 -1
- package/amd/useLegendContextMenu-c4a44c23.js +1 -1
- package/amd/useMeterDatatip-f8bca628.js +2 -0
- package/amd/{useMeterDatatip-5d0b02c1.js.map → useMeterDatatip-f8bca628.js.map} +1 -1
- package/amd/{useOutsideClick-8e7ab184.js → useOutsideClick-43ce7043.js} +2 -2
- package/amd/{useOutsideClick-8e7ab184.js.map → useOutsideClick-43ce7043.js.map} +1 -1
- package/amd/{usePopupAnimation-1be03bd7.js → usePopupAnimation-65dec4e2.js} +2 -2
- package/amd/{usePopupAnimation-1be03bd7.js.map → usePopupAnimation-65dec4e2.js.map} +1 -1
- package/amd/{usePrefixSuffix-2612edcd.js → usePrefixSuffix-5147bdc9.js} +2 -2
- package/amd/{usePrefixSuffix-2612edcd.js.map → usePrefixSuffix-5147bdc9.js.map} +1 -1
- package/amd/{useReorderableItem-41e78941.js → useReorderableItem-9e759302.js} +2 -2
- package/amd/{useReorderableItem-41e78941.js.map → useReorderableItem-9e759302.js.map} +1 -1
- package/amd/{useRovingTabIndexContainer-6ff38598.js → useRovingTabIndexContainer-cfc9aacb.js} +2 -2
- package/amd/{useRovingTabIndexContainer-6ff38598.js.map → useRovingTabIndexContainer-cfc9aacb.js.map} +1 -1
- package/amd/{useScale-b77dadab.js → useScale-716d3432.js} +2 -2
- package/amd/{useScale-b77dadab.js.map → useScale-716d3432.js.map} +1 -1
- package/amd/useSelectCommon-70527342.js +1 -1
- package/amd/{useSelectDrill-b64a92ea.js → useSelectDrill-113ae3ae.js} +2 -2
- package/amd/{useSelectDrill-b64a92ea.js.map → useSelectDrill-113ae3ae.js.map} +1 -1
- package/amd/{useSelection-5ea9a696.js → useSelection-5f192f9f.js} +2 -2
- package/amd/{useSelection-5ea9a696.js.map → useSelection-5f192f9f.js.map} +1 -1
- package/amd/{useSelection-6e62de17.js → useSelection-80e262f2.js} +2 -2
- package/amd/{useSelection-6e62de17.js.map → useSelection-80e262f2.js.map} +1 -1
- package/amd/useTabBar-7a16a1af.js +1 -1
- package/amd/{useTestId-0140aa44.js → useTestId-c286f212.js} +2 -2
- package/amd/{useTestId-0140aa44.js.map → useTestId-c286f212.js.map} +1 -1
- package/amd/{useTheme-4fb0ea9d.js → useTheme-9c1f6f33.js} +2 -2
- package/amd/{useTheme-4fb0ea9d.js.map → useTheme-9c1f6f33.js.map} +1 -1
- package/amd/useThemeInterpolations-f8cbec71.js +2 -0
- package/amd/{useThemeInterpolations-3ca974f9.js.map → useThemeInterpolations-f8cbec71.js.map} +1 -1
- package/amd/{useTooltip-682ae8ca.js → useTooltip-7b915f4c.js} +2 -2
- package/amd/{useTooltip-682ae8ca.js.map → useTooltip-7b915f4c.js.map} +1 -1
- package/amd/useTooltipOnTruncation-0310f431.js +2 -0
- package/amd/{useTooltipOnTruncation-7721f587.js.map → useTooltipOnTruncation-0310f431.js.map} +1 -1
- package/amd/{useTranslationBundle-68275657.js → useTranslationBundle-7c40cb58.js} +2 -2
- package/amd/{useTranslationBundle-68275657.js.map → useTranslationBundle-7c40cb58.js.map} +1 -1
- package/amd/{useUser-e8dd7f7c.js → useUser-797287de.js} +2 -2
- package/amd/{useUser-e8dd7f7c.js.map → useUser-797287de.js.map} +1 -1
- package/amd/useVisDragModeControls-f187d8b2.js +1 -1
- package/amd/{useVisEvents-1d3ca08e.js → useVisEvents-a8ea4ced.js} +2 -2
- package/amd/{useVisEvents-1d3ca08e.js.map → useVisEvents-a8ea4ced.js.map} +1 -1
- package/amd/utils/PRIVATE_tooltipUtils.js +1 -1
- package/amd/utils/PRIVATE_visTestUtils.js +1 -1
- package/amd/utils/UNSAFE_popupUtils.js +1 -1
- package/amd/{withDirectionIcon-754809be.js → withDirectionIcon-6df16f77.js} +2 -2
- package/amd/{withDirectionIcon-754809be.js.map → withDirectionIcon-6df16f77.js.map} +1 -1
- package/amd/withThemeProps-cab1ae08.js +1 -1
- package/cjs/BaseNavigationListItem-709591de.js +123 -0
- package/{es/BaseNavigationListItem-af84a9ee.js.map → cjs/BaseNavigationListItem-709591de.js.map} +1 -1
- package/cjs/{InputDatePicker-026ea769.js → InputDatePicker-7eb5931a.js} +2 -2
- package/cjs/{InputDatePicker-026ea769.js.map → InputDatePicker-7eb5931a.js.map} +1 -1
- package/cjs/{NavigationList-cd86b7a5.js → NavigationListItem-9b3d3258.js} +8 -3
- package/{es/NavigationListItem-07f041e6.js.map → cjs/NavigationListItem-9b3d3258.js.map} +1 -1
- package/cjs/{OverflowTabBar-95014877.js → OverflowTabBar-90cd282b.js} +3 -3
- package/cjs/{OverflowTabBar-95014877.js.map → OverflowTabBar-90cd282b.js.map} +1 -1
- package/cjs/{OverflowTabBarItem-7b383fbd.js → OverflowTabBarItem-359715a3.js} +4 -5
- package/cjs/{OverflowTabBarItem-7b383fbd.js.map → OverflowTabBarItem-359715a3.js.map} +1 -1
- package/cjs/{RemovableNavigationListItem-e7cd4dbf.js → RemovableNavigationListItem-f3ad6e8e.js} +3 -4
- package/cjs/{RemovableNavigationListItem-e7cd4dbf.js.map → RemovableNavigationListItem-f3ad6e8e.js.map} +1 -1
- package/cjs/{ReorderableTabBar-027413d9.js → ReorderableTabBar-0a94441d.js} +2 -2
- package/cjs/{ReorderableTabBar-027413d9.js.map → ReorderableTabBar-0a94441d.js.map} +1 -1
- package/cjs/{TabBar-fe7bc2c4.js → TabBar-ae497b21.js} +1 -6
- package/cjs/{TabBar-fe7bc2c4.js.map → TabBar-ae497b21.js.map} +1 -1
- package/cjs/{TabBarMixed-539d1779.js → TabBarMixed-d6b512da.js} +1 -6
- package/cjs/{TabBarMixed-539d1779.js.map → TabBarMixed-d6b512da.js.map} +1 -1
- package/cjs/{TextArea-d8516f11.js → TextArea-b51ac30d.js} +22 -4
- package/{amd/TextArea-fe8d9067.js.map → cjs/TextArea-b51ac30d.js.map} +1 -1
- package/cjs/{TextAreaAutosize-1797d5b7.js → TextAreaAutosize-ba85bce5.js} +3 -3
- package/cjs/{TextAreaAutosize-1797d5b7.js.map → TextAreaAutosize-ba85bce5.js.map} +1 -1
- package/cjs/Theme-redwood/theme.css +144 -144
- package/cjs/Theme-stable/theme.css +353 -353
- package/cjs/UNSAFE_InputDatePicker.js +90 -90
- package/cjs/UNSAFE_NavigationList.js +14 -16
- package/cjs/UNSAFE_NavigationList.js.map +1 -1
- package/cjs/UNSAFE_NavigationListCommon.js +57 -58
- package/cjs/UNSAFE_NavigationListCommon.js.map +1 -1
- package/cjs/UNSAFE_OverflowTabBar.js +27 -29
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_ReorderableTabBar.js +14 -25
- package/cjs/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBar.js +26 -28
- package/cjs/UNSAFE_TabBar.js.map +1 -1
- package/cjs/UNSAFE_TabBarCommon.js +18 -20
- package/cjs/UNSAFE_TabBarCommon.js.map +1 -1
- package/cjs/UNSAFE_TabBarMixed.js +37 -39
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TextArea.js +3 -4
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/es/ActionCard-bac27bb9.js +1 -1
- package/es/BadgeVariants.styles.css +14 -14
- package/es/BadgeVariants.styles2.css +14 -14
- package/es/{BarChart-43dec3b7.js → BarChart-60ae846d.js} +3 -3
- package/es/{BarChart-43dec3b7.js.map → BarChart-60ae846d.js.map} +1 -1
- package/es/BarGroup-dbf70e2c.js +1 -1
- package/es/BaseButton-61f6baa8.js +2 -2
- package/es/BaseCardView-89398a60.js +7 -7
- package/es/{BaseCardViewSelectionTest-ef070684.js → BaseCardViewSelectionTest-ef8b024a.js} +7 -7
- package/es/{BaseCardViewSelectionTest-ef070684.js.map → BaseCardViewSelectionTest-ef8b024a.js.map} +1 -1
- package/es/BaseNavigationListItem-1c75c13f.js +47 -0
- package/{cjs/BaseNavigationListItem-3dbb8d31.js.map → es/BaseNavigationListItem-1c75c13f.js.map} +1 -1
- package/es/BaseRichSelection-72edca7c.js +9 -9
- package/es/ButtonLayoutVariants.styles.css +2 -2
- package/es/ButtonLayoutVariants.styles2.css +2 -2
- package/es/ButtonSet-9b2c41be.js +2 -2
- package/es/ButtonSetIconButton-0081167a.js +3 -3
- package/es/{Card-31dc8dc2.js → Card-f3b7c723.js} +2 -2
- package/es/{Card-31dc8dc2.js.map → Card-f3b7c723.js.map} +1 -1
- package/es/{Center-2be68188.js → Center-76b761ea.js} +2 -2
- package/es/{Center-2be68188.js.map → Center-76b761ea.js.map} +1 -1
- package/es/{Chart-4ec13697.js → Chart-a8efd5f1.js} +10 -10
- package/es/{Chart-4ec13697.js.map → Chart-a8efd5f1.js.map} +1 -1
- package/es/Checkbox-74259575.js +4 -4
- package/es/CheckboxControl-c3c34028.js +6 -6
- package/es/CheckboxRadioField-294463ba.js +7 -7
- package/es/Chip-8fd813ce.js +1 -1
- package/es/ClearIcon-acca9670.js +1 -1
- package/es/CollapseIcon-152e59b4.js +1 -1
- package/es/Collapsible-4dddc4f7.js +2 -2
- package/es/{ComboChart-d1c3e17a.js → ComboChart-644f1f8c.js} +4 -4
- package/es/{ComboChart-d1c3e17a.js.map → ComboChart-644f1f8c.js.map} +1 -1
- package/es/CompactHelpSource-c3044924.js +2 -2
- package/es/{CompactLabelAssistance-0d70fceb.js → CompactLabelAssistance-fd3fb481.js} +5 -5
- package/es/{CompactLabelAssistance-0d70fceb.js.map → CompactLabelAssistance-fd3fb481.js.map} +1 -1
- package/es/CompactUserAssistance-4f0ff3fc.js +4 -4
- package/es/ComponentMessageContainer-13005c12.js +4 -4
- package/es/ConveyorBeltItem-53f383e1.js +2 -2
- package/es/{DatePicker-a57b08b1.js → DatePicker-383fc43a.js} +6 -6
- package/es/{DatePicker-a57b08b1.js.map → DatePicker-383fc43a.js.map} +1 -1
- package/es/DatePickerHeader-8eee60aa.js +3 -3
- package/es/{Diagram-29d78c10.js → Diagram-7af64b34.js} +5 -5
- package/es/{Diagram-29d78c10.js.map → Diagram-7af64b34.js.map} +1 -1
- package/es/{Dialog-8a9a90a2.js → Dialog-fbbcc306.js} +8 -8
- package/es/{Dialog-8a9a90a2.js.map → Dialog-fbbcc306.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-e1b04846.js +1 -1
- package/es/DirectionalExpandArrowIcon-c9218fa7.js +1 -1
- package/es/{DragHandle-198c3118.js → DragHandle-99d4c921.js} +2 -2
- package/es/{DragHandle-198c3118.js.map → DragHandle-99d4c921.js.map} +1 -1
- package/es/{DrawerPopup-5292bdfc.js → DrawerPopup-9cdb203a.js} +7 -7
- package/es/{DrawerPopup-5292bdfc.js.map → DrawerPopup-9cdb203a.js.map} +1 -1
- package/es/{Dropdown-698afbc6.js → Dropdown-60833900.js} +5 -5
- package/es/{Dropdown-698afbc6.js.map → Dropdown-60833900.js.map} +1 -1
- package/es/{EnvironmentProvider-713d0dec.js → EnvironmentProvider-bada8909.js} +3 -3
- package/es/{EnvironmentProvider-713d0dec.js.map → EnvironmentProvider-bada8909.js.map} +1 -1
- package/es/ExpandableList-27f4f0d4.js +3 -3
- package/es/FilePicker-c3f06d6f.js +2 -2
- package/es/{Flex-2d9ebee9.js → Flex-ce31b351.js} +2 -2
- package/es/{Flex-2d9ebee9.js.map → Flex-ce31b351.js.map} +1 -1
- package/es/{Floating-5191a9e6.js → Floating-f02677ba.js} +4 -4
- package/es/{Floating-5191a9e6.js.map → Floating-f02677ba.js.map} +1 -1
- package/es/FormLayout-b2993e0c.js +1 -1
- package/es/Gantt-e156bd33.js +9 -9
- package/es/{Grid-238d8757.js → Grid-421eb560.js} +2 -2
- package/es/{Grid-238d8757.js.map → Grid-421eb560.js.map} +1 -1
- package/es/{Gridlines-d37f55d2.js → Gridlines-6098cb5b.js} +2 -2
- package/es/{Gridlines-d37f55d2.js.map → Gridlines-6098cb5b.js.map} +1 -1
- package/es/GroupLoadingIndicator-93bcf33f.js +1 -1
- package/es/{HighlightText-fef35694.js → HighlightText-86d92552.js} +2 -2
- package/es/{HighlightText-fef35694.js.map → HighlightText-86d92552.js.map} +1 -1
- package/es/Icon-030b6dd4.js +3 -3
- package/es/IconButton-19fcf0a8.js +3 -3
- package/es/IconMenuButton-4118bde6.js +3 -3
- package/es/IconProgressButton-a595c052.js +3 -3
- package/es/IconSwitchButton-dcafa86c.js +3 -3
- package/es/IconToggleButton-94cbea2b.js +3 -3
- package/es/{IconUserAssistance-d9bc82d4.js → IconUserAssistance-92be9618.js} +3 -3
- package/es/{IconUserAssistance-d9bc82d4.js.map → IconUserAssistance-92be9618.js.map} +1 -1
- package/es/Indexer-01c03c68.js +4 -4
- package/es/InlineHelpSource-5ed4bb7d.js +1 -1
- package/es/InlineUserAssistance-65ca8810.js +5 -5
- package/es/InputDateMask-8258be53.js +7 -7
- package/es/{InputDatePicker-163d1e3f.js → InputDatePicker-a659ed3a.js} +10 -10
- package/es/{InputDatePicker-163d1e3f.js.map → InputDatePicker-a659ed3a.js.map} +1 -1
- package/es/InputPassword-65336899.js +4 -4
- package/es/InputText-21591785.js +6 -6
- package/es/Label-25eba25e.js +5 -5
- package/es/LabelValueLayout-1db91391.js +1 -1
- package/es/{Layer-1eb18747.js → Layer-446bf21e.js} +3 -3
- package/es/{Layer-1eb18747.js.map → Layer-446bf21e.js.map} +1 -1
- package/es/{LayerHost-8b98d97d.js → LayerHost-e6402730.js} +2 -2
- package/es/{LayerHost-8b98d97d.js.map → LayerHost-e6402730.js.map} +1 -1
- package/es/{LayerManager-221afe20.js → LayerManager-fa745cec.js} +2 -2
- package/es/{LayerManager-221afe20.js.map → LayerManager-fa745cec.js.map} +1 -1
- package/es/Legend-0e274097.js +3 -3
- package/es/{LineAreaChart-6fabda31.js → LineAreaChart-c996a967.js} +4 -4
- package/es/{LineAreaChart-6fabda31.js.map → LineAreaChart-c996a967.js.map} +1 -1
- package/es/{LineSeries-139bda1a.js → LineSeries-fc167ea2.js} +2 -2
- package/es/{LineSeries-139bda1a.js.map → LineSeries-fc167ea2.js.map} +1 -1
- package/es/Link-c7061441.js +1 -1
- package/es/List-7a0e20bb.js +5 -5
- package/es/{ListItemLayout-af86b17d.js → ListItemLayout-e9854821.js} +2 -2
- package/es/{ListItemLayout-af86b17d.js.map → ListItemLayout-e9854821.js.map} +1 -1
- package/es/ListView-66efb96e.js +3 -3
- package/es/{LiveRegion-c7bf2f21.js → LiveRegion-b56a1aa2.js} +2 -2
- package/es/{LiveRegion-c7bf2f21.js.map → LiveRegion-b56a1aa2.js.map} +1 -1
- package/es/{MaxLengthLiveRegion-d790e55c.js → MaxLengthLiveRegion-2f3d34cf.js} +3 -3
- package/es/{MaxLengthLiveRegion-d790e55c.js.map → MaxLengthLiveRegion-2f3d34cf.js.map} +1 -1
- package/es/Menu-a5bf756f.js +6 -6
- package/es/MenuButton-e012a909.js +2 -2
- package/es/MenuItem-54015ca3.js +1 -1
- package/es/Message-b0150c6f.js +2 -2
- package/es/{MessageLayer-d9129e22.js → MessageLayer-7e3184aa.js} +6 -6
- package/es/{MessageLayer-d9129e22.js.map → MessageLayer-7e3184aa.js.map} +1 -1
- package/es/MessageToast-933a0339.js +8 -8
- package/es/MessagesManager-91ade5dc.js +3 -3
- package/es/MeterBar-732e3b2c.js +5 -5
- package/es/MeterCircle-2156d7ff.js +5 -5
- package/es/{Modal-9980f6d1.js → Modal-24a0bf4b.js} +4 -4
- package/es/{Modal-9980f6d1.js.map → Modal-24a0bf4b.js.map} +1 -1
- package/es/{MonthView-d60a5df7.js → MonthView-21b2163a.js} +4 -4
- package/es/{MonthView-d60a5df7.js.map → MonthView-21b2163a.js.map} +1 -1
- package/es/{NavigationListItem-07f041e6.js → NavigationList-fb05e081.js} +8 -12
- package/{cjs/NavigationList-cd86b7a5.js.map → es/NavigationList-fb05e081.js.map} +1 -1
- package/es/NavigationListItem-193a315a.js +10 -0
- package/{cjs/NavigationListItem-bf607636.js.map → es/NavigationListItem-193a315a.js.map} +1 -1
- package/es/NumberInputText-2d1aef12.js +6 -6
- package/es/{OverflowTabBar-f0b62902.js → OverflowTabBar-894c7cd9.js} +3 -3
- package/es/{OverflowTabBar-f0b62902.js.map → OverflowTabBar-894c7cd9.js.map} +1 -1
- package/es/{OverflowTabBarItem-7acbcb71.js → OverflowTabBarItem-a578401b.js} +7 -6
- package/es/{OverflowTabBarItem-7acbcb71.js.map → OverflowTabBarItem-a578401b.js.map} +1 -1
- package/es/PRIVATE_BaseCardView.js +21 -21
- package/es/PRIVATE_Chart.js +35 -35
- package/es/PRIVATE_CheckboxControl.js +23 -23
- package/es/PRIVATE_CheckboxRadioField.js +25 -25
- package/es/PRIVATE_ClearIcon.js +17 -17
- package/es/PRIVATE_DatePickerHeader.js +18 -18
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +3 -3
- package/es/PRIVATE_FormControls.js +19 -19
- package/es/PRIVATE_IconSwitchButton.js +15 -15
- package/es/PRIVATE_Icons/CheckboxMixed.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOff.js +15 -15
- package/es/PRIVATE_Icons/CheckboxOn.js +15 -15
- package/es/PRIVATE_Icons/DragV.js +15 -15
- package/es/PRIVATE_Icons/WarningS.js +15 -15
- package/es/PRIVATE_List.js +19 -19
- package/es/PRIVATE_Message.js +18 -18
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +7 -7
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +4 -4
- package/es/PRIVATE_RevealToggleIcon.js +16 -16
- package/es/PRIVATE_RichSelectionCommon.js +26 -26
- package/es/PRIVATE_SelectCommon.js +28 -28
- package/es/PRIVATE_StyledCard.js +4 -4
- package/es/PRIVATE_StyledCheckbox.js +15 -15
- package/es/PRIVATE_Table.js +24 -24
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +15 -15
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +15 -15
- package/es/PRIVATE_TimeComponent.js +17 -17
- package/es/PRIVATE_VisOverview.js +15 -15
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PictoChart-9624c62e.js +6 -6
- package/es/PieChart-87a2913f.js +6 -6
- package/es/{Popup-f6774b40.js → Popup-d8bf7f4d.js} +9 -9
- package/es/{Popup-f6774b40.js.map → Popup-d8bf7f4d.js.map} +1 -1
- package/es/{ProgressBar-6d816723.js → ProgressBar-2fa99d6f.js} +3 -3
- package/es/{ProgressBar-6d816723.js.map → ProgressBar-2fa99d6f.js.map} +1 -1
- package/es/ProgressButton-bb52347a.js +3 -3
- package/es/ProgressButtonLabelLayout-f1d097d6.js +3 -3
- package/es/{ProgressCircle-bbcf67fd.js → ProgressCircle-faf79b79.js} +2 -2
- package/es/{ProgressCircle-bbcf67fd.js.map → ProgressCircle-faf79b79.js.map} +1 -1
- package/es/RadioItem-81e9e082.js +6 -6
- package/es/RatingGauge-5e1e75b4.js +8 -8
- package/es/ReadonlyTextFieldInput-f407b86c.js +1 -1
- package/es/{RemovableNavigationListItem-9cb23511.js → RemovableNavigationListItem-21cd36b7.js} +4 -3
- package/es/{RemovableNavigationListItem-9cb23511.js.map → RemovableNavigationListItem-21cd36b7.js.map} +1 -1
- package/es/RemovableTabBarItem-60574a52.js +2 -2
- package/es/{ReorderableTabBar-fc76a33b.js → ReorderableTabBar-c280e7d4.js} +5 -5
- package/es/{ReorderableTabBar-fc76a33b.js.map → ReorderableTabBar-c280e7d4.js.map} +1 -1
- package/es/RevealToggleIcon-8e650973.js +1 -1
- package/es/{ScatterChart-1f818935.js → ScatterChart-0ac04f9d.js} +4 -4
- package/es/{ScatterChart-1f818935.js.map → ScatterChart-0ac04f9d.js.map} +1 -1
- package/es/SectionalLegend-64670096.js +4 -4
- package/es/{SectionedContent-48fa242f.js → SectionedContent-3274d8f9.js} +5 -5
- package/es/{SectionedContent-48fa242f.js.map → SectionedContent-3274d8f9.js.map} +1 -1
- package/es/SegmentStyles.styles.css +11 -8
- package/es/SegmentStyles.styles2.css +8 -11
- package/es/SelectMultiple-a6799615.js +8 -8
- package/es/SelectSingle-ae14678c.js +7 -7
- package/es/{SelectionCard-ce3012e8.js → SelectionCard-1ed9cf08.js} +2 -2
- package/es/{SelectionCard-ce3012e8.js.map → SelectionCard-1ed9cf08.js.map} +1 -1
- package/es/Selector-41618991.js +1 -1
- package/es/{SelectorAll-27744634.js → SelectorAll-f52550a6.js} +7 -7
- package/es/{SelectorAll-27744634.js.map → SelectorAll-f52550a6.js.map} +1 -1
- package/es/{Sheet-924cfdab.js → Sheet-da412baf.js} +3 -3
- package/es/{Sheet-924cfdab.js.map → Sheet-da412baf.js.map} +1 -1
- package/es/SplitMenuButton-5cb6e8db.js +2 -2
- package/es/{StyledCard-c8d9836f.js → StyledCard-362bd74b.js} +2 -2
- package/es/{StyledCard-c8d9836f.js.map → StyledCard-362bd74b.js.map} +1 -1
- package/es/{StyledLabelValueLayout-5b9a731a.js → StyledLabelValueLayout-d4881d3b.js} +2 -2
- package/es/{StyledLabelValueLayout-5b9a731a.js.map → StyledLabelValueLayout-d4881d3b.js.map} +1 -1
- package/es/StyledTextField-6d6dd43e.js +3 -3
- package/es/{TabBar-2858ff9c.js → TabBar-4d7054f7.js} +11 -6
- package/es/{TabBar-2858ff9c.js.map → TabBar-4d7054f7.js.map} +1 -1
- package/es/TabBarItem-b97091e4.js +3 -3
- package/es/TabBarLayout-bb3f9f69.js +1 -1
- package/es/{TabBarMixed-a4beabce.js → TabBarMixed-b8e2427c.js} +11 -6
- package/es/{TabBarMixed-a4beabce.js.map → TabBarMixed-b8e2427c.js.map} +1 -1
- package/es/{TabBarMixedSeparator-7669e2f0.js → TabBarMixedSeparator-51c518a1.js} +2 -2
- package/es/{TabBarMixedSeparator-7669e2f0.js.map → TabBarMixedSeparator-51c518a1.js.map} +1 -1
- package/es/Table-527429e9.js +9 -9
- package/es/TagCloud-0fe9b648.js +8 -8
- package/es/TextArea-a888d849.js +5 -5
- package/es/TextAreaAutosize-c2a52cba.js +5 -5
- package/es/TextField-500c0227.js +3 -3
- package/es/TextFieldInput-cb551f4e.js +1 -1
- package/es/Theme-redwood/theme.css +454 -454
- package/es/Theme-stable/theme.css +348 -348
- package/es/TimeComponentCanvas2D-a5baa5f6.js +5 -5
- package/es/Toolbar-35426a1b.js +1 -1
- package/es/TruncatingBadge-69621d89.js +1 -1
- package/es/TruncatingText-fd66e0e0.js +1 -1
- package/es/UNSAFE_ActionCard.js +3 -3
- package/es/UNSAFE_Badge/themes/redwood/BadgeTheme.js +1 -1
- package/es/UNSAFE_Badge/themes/redwood/BadgeVariants.css.js +1 -1
- package/es/UNSAFE_Badge/themes/stable/BadgeTheme.js +1 -1
- package/es/UNSAFE_Badge/themes/stable/BadgeVariants.css.js +1 -1
- package/es/UNSAFE_Badge.js +1 -1
- package/es/UNSAFE_BarChart/__test__/BarChart.spec.js +36 -36
- package/es/UNSAFE_BarChart.js +36 -36
- package/es/UNSAFE_BaseButton.js +3 -3
- package/es/UNSAFE_Button.js +3 -3
- package/es/UNSAFE_ButtonLayout/tests/ButtonLayout.spec.js +22 -22
- package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutTheme.js +1 -1
- package/es/UNSAFE_ButtonLayout/themes/redwood/ButtonLayoutVariants.css.js +1 -1
- package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutTheme.js +1 -1
- package/es/UNSAFE_ButtonLayout/themes/stable/ButtonLayoutVariants.css.js +1 -1
- package/es/UNSAFE_ButtonLayout.js +1 -1
- package/es/UNSAFE_ButtonSet.js +4 -4
- package/es/UNSAFE_ButtonSetButton.js +3 -3
- package/es/UNSAFE_ButtonSetIconButton.js +15 -15
- package/es/UNSAFE_ButtonSetItem.js +15 -15
- package/es/UNSAFE_ButtonSetMultiple.js +4 -4
- package/es/UNSAFE_ButtonSetSingle.js +4 -4
- package/es/UNSAFE_Card.js +5 -5
- package/es/UNSAFE_CardFlexView.js +21 -21
- package/es/UNSAFE_CardGridView.js +21 -21
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +23 -23
- package/es/UNSAFE_CheckboxItem.js +25 -25
- package/es/UNSAFE_CheckboxSet.js +24 -24
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +17 -17
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +18 -18
- package/es/UNSAFE_ConveyorBelt.js +15 -15
- package/es/UNSAFE_DatePicker.js +23 -23
- package/es/UNSAFE_Diagram.js +20 -20
- package/es/UNSAFE_Dialog.js +21 -21
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +13 -13
- package/es/UNSAFE_Dropdown.js +13 -13
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_ExpandableList.js +22 -22
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout.js +2 -2
- package/es/UNSAFE_Gantt.js +22 -22
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +15 -15
- package/es/UNSAFE_IconButton.js +15 -15
- package/es/UNSAFE_IconMenuButton.js +21 -21
- package/es/UNSAFE_IconProgressButton.js +18 -18
- package/es/UNSAFE_IconToggleButton.js +15 -15
- package/es/UNSAFE_Indexer.js +6 -6
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +26 -26
- package/es/UNSAFE_InputDatePicker.js +115 -115
- package/es/UNSAFE_InputPassword.js +24 -24
- package/es/UNSAFE_InputSensitiveText.js +26 -26
- package/es/UNSAFE_InputText.js +27 -27
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +26 -26
- package/es/UNSAFE_Label.js +23 -23
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +25 -25
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +25 -25
- package/es/UNSAFE_LineAreaChart.js +38 -38
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +28 -28
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu.js +23 -23
- package/es/UNSAFE_MenuButton.js +21 -21
- package/es/UNSAFE_MessageBanner.js +18 -18
- package/es/UNSAFE_MessageToast.js +21 -21
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle.js +17 -17
- package/es/UNSAFE_Modal.js +9 -9
- package/es/UNSAFE_NavigationList.js +43 -41
- package/es/UNSAFE_NavigationList.js.map +1 -1
- package/es/UNSAFE_NavigationListCommon.js +71 -70
- package/es/UNSAFE_NavigationListCommon.js.map +1 -1
- package/es/UNSAFE_NumberInputText.js +26 -26
- package/es/UNSAFE_OverflowTabBar.js +53 -51
- package/es/UNSAFE_OverflowTabBar.js.map +1 -1
- package/es/UNSAFE_PictoChart.js +14 -14
- package/es/UNSAFE_PieChart/__test__/PieChart.spec.js +22 -22
- package/es/UNSAFE_PieChart.js +22 -22
- package/es/UNSAFE_Popup.js +17 -17
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +18 -18
- package/es/UNSAFE_ProgressButtonLabelLayout.js +10 -10
- package/es/UNSAFE_ProgressCircle.js +4 -4
- package/es/UNSAFE_RadioItem.js +23 -23
- package/es/UNSAFE_RadioSet.js +24 -24
- package/es/UNSAFE_RatingGauge.js +17 -17
- package/es/UNSAFE_ReorderableTabBar.js +49 -38
- package/es/UNSAFE_ReorderableTabBar.js.map +1 -1
- package/es/UNSAFE_RichCheckboxSet.js +26 -26
- package/es/UNSAFE_RichRadioSet.js +26 -26
- package/es/UNSAFE_RichSelectionItem.js +28 -28
- package/es/UNSAFE_ScatterChart.js +38 -38
- package/es/UNSAFE_SectionalLegend.js +26 -26
- package/es/UNSAFE_SelectMultiple.js +31 -31
- package/es/UNSAFE_SelectSingle.js +31 -31
- package/es/UNSAFE_SelectionCard.js +5 -5
- package/es/UNSAFE_Selector.js +15 -15
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet/__test__/Sheet.spec.js +15 -15
- package/es/UNSAFE_Sheet.js +12 -12
- package/es/UNSAFE_SplitMenuButton.js +21 -21
- package/es/UNSAFE_TabBar.js +53 -51
- package/es/UNSAFE_TabBar.js.map +1 -1
- package/es/UNSAFE_TabBarCommon.js +45 -43
- package/es/UNSAFE_TabBarCommon.js.map +1 -1
- package/es/UNSAFE_TabBarMixed.js +63 -61
- package/es/UNSAFE_TabBarMixed.js.map +1 -1
- package/es/UNSAFE_TableView.js +24 -24
- package/es/UNSAFE_TagCloud.js +24 -24
- package/es/UNSAFE_TextArea.js +26 -26
- package/es/UNSAFE_TextAreaAutosize.js +26 -26
- package/es/UNSAFE_TextField.js +8 -8
- package/es/UNSAFE_ToggleButton.js +3 -3
- package/es/UNSAFE_Toolbar/tests/Toolbar.spec.js +24 -24
- package/es/UNSAFE_Toolbar.js +5 -5
- package/es/UNSAFE_Train.js +16 -16
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +16 -16
- package/es/UNSAFE_UserAssistance.js +24 -24
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +19 -19
- package/es/UNSAFE_VisProgressiveLoader/__test__/VisProgressiveLoader.spec.js +8 -8
- package/es/UNSAFE_VisProgressiveLoader.js +6 -6
- package/es/UNSAFE_VisStatusMessage.js +6 -6
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-cf6dfd8e.js → View-afe98b65.js} +5 -5
- package/es/{View-cf6dfd8e.js.map → View-afe98b65.js.map} +1 -1
- package/es/{VisNoData-d6e475d8.js → VisNoData-9ceb58f4.js} +3 -3
- package/es/{VisNoData-d6e475d8.js.map → VisNoData-9ceb58f4.js.map} +1 -1
- package/es/{VisProgressiveLoader-36053d5a.js → VisProgressiveLoader-36c728ac.js} +3 -3
- package/es/{VisProgressiveLoader-36053d5a.js.map → VisProgressiveLoader-36c728ac.js.map} +1 -1
- package/es/{VisTabularDatatip-3497f5ff.js → VisTabularDatatip-59629377.js} +2 -2
- package/es/{VisTabularDatatip-3497f5ff.js.map → VisTabularDatatip-59629377.js.map} +1 -1
- package/es/{WindowOverlay-ca2baa48.js → WindowOverlay-a07b2e24.js} +2 -2
- package/es/{WindowOverlay-ca2baa48.js.map → WindowOverlay-a07b2e24.js.map} +1 -1
- package/es/{YearsGridView-2c978d9f.js → YearsGridView-c5c58bf9.js} +4 -4
- package/es/{YearsGridView-2c978d9f.js.map → YearsGridView-c5c58bf9.js.map} +1 -1
- package/es/hoc/PRIVATE_withDirectionIcon.js +4 -4
- package/es/hoc/PRIVATE_withThemeIcon.js +3 -3
- package/es/hoc/UNSAFE_withThemeProps.js +3 -3
- package/es/hooks/PRIVATE_useChartContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +18 -18
- package/es/hooks/PRIVATE_useChartMarquee.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +5 -5
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +4 -4
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +16 -16
- package/es/hooks/PRIVATE_useVisContextMenu.js +21 -21
- package/es/hooks/PRIVATE_useVisDragModeControls.js +17 -17
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +13 -13
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +3 -3
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +16 -16
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{index-3fdaba9a.js → index-e33bcd96.js} +2 -2
- package/es/index-e33bcd96.js.map +1 -0
- package/es/listViewSelectionTests-d1f64e6f.js +3 -3
- package/es/{popupUtils-24a723a0.js → popupUtils-58411a98.js} +2 -2
- package/es/{popupUtils-24a723a0.js.map → popupUtils-58411a98.js.map} +1 -1
- package/es/{render-4d96f0d2.js → render-343557e9.js} +3 -3
- package/es/{render-4d96f0d2.js.map → render-343557e9.js.map} +1 -1
- package/es/{tabbableUtils-070beeed.js → tabbableUtils-d6485f5e.js} +3 -3
- package/es/{tabbableUtils-070beeed.js.map → tabbableUtils-d6485f5e.js.map} +1 -1
- package/es/{testData-e1df8616.js → testData-d5181e9f.js} +3 -3
- package/es/{testData-e1df8616.js.map → testData-d5181e9f.js.map} +1 -1
- package/es/{tooltipUtils-35655bd6.js → tooltipUtils-768450a7.js} +5 -5
- package/es/{tooltipUtils-35655bd6.js.map → tooltipUtils-768450a7.js.map} +1 -1
- package/es/useCellNavigation-bdb3248d.js +1 -1
- package/es/useChartContextMenu-61fe46b8.js +2 -2
- package/es/{useChartDatatip-b0d35cfe.js → useChartDatatip-d6a6c5e1.js} +4 -4
- package/es/{useChartDatatip-b0d35cfe.js.map → useChartDatatip-d6a6c5e1.js.map} +1 -1
- package/es/{useColorScheme-8e5e458d.js → useColorScheme-c4e237ad.js} +2 -2
- package/es/{useColorScheme-8e5e458d.js.map → useColorScheme-c4e237ad.js.map} +1 -1
- package/es/useContextMenu-3c62d9eb.js +2 -2
- package/es/{useCssVars-608cb842.js → useCssVars-d72a8439.js} +5 -5
- package/es/{useCssVars-608cb842.js.map → useCssVars-d72a8439.js.map} +1 -1
- package/es/{useCurrentBgColor-ee671513.js → useCurrentBgColor-14745af3.js} +2 -2
- package/es/{useCurrentBgColor-ee671513.js.map → useCurrentBgColor-14745af3.js.map} +1 -1
- package/es/{useCurrentKey-b8e62707.js → useCurrentKey-7287061f.js} +2 -2
- package/es/{useCurrentKey-b8e62707.js.map → useCurrentKey-7287061f.js.map} +1 -1
- package/es/{useDatatip-daec4346.js → useDatatip-9635bc2f.js} +4 -4
- package/es/{useDatatip-daec4346.js.map → useDatatip-9635bc2f.js.map} +1 -1
- package/es/{useDensity-556ca8b2.js → useDensity-c17603b2.js} +2 -2
- package/es/{useDensity-556ca8b2.js.map → useDensity-c17603b2.js.map} +1 -1
- package/es/{useFloating-abfd69eb.js → useFloating-953362cf.js} +2 -2
- package/es/{useFloating-abfd69eb.js.map → useFloating-953362cf.js.map} +1 -1
- package/es/{useKeyboardEvents-7202253d.js → useKeyboardEvents-2378a650.js} +2 -2
- package/es/{useKeyboardEvents-7202253d.js.map → useKeyboardEvents-2378a650.js.map} +1 -1
- package/es/useLegendContextMenu-66d6eb7e.js +4 -4
- package/es/{useMeterDatatip-dcd2a05e.js → useMeterDatatip-834e67e1.js} +3 -3
- package/es/{useMeterDatatip-dcd2a05e.js.map → useMeterDatatip-834e67e1.js.map} +1 -1
- package/{cjs/useNavigationListItem-bf89c20b.js → es/useNavigationListItem-a28f2c34.js} +23 -27
- package/{cjs/useNavigationListItem-bf89c20b.js.map → es/useNavigationListItem-a28f2c34.js.map} +1 -1
- package/es/{useOutsideClick-817bf098.js → useOutsideClick-fd9ad806.js} +2 -2
- package/es/{useOutsideClick-817bf098.js.map → useOutsideClick-fd9ad806.js.map} +1 -1
- package/es/{usePopupAnimation-6e0781b5.js → usePopupAnimation-f017bc43.js} +2 -2
- package/es/{usePopupAnimation-6e0781b5.js.map → usePopupAnimation-f017bc43.js.map} +1 -1
- package/es/{usePrefixSuffix-0874343c.js → usePrefixSuffix-5a74f2c4.js} +2 -2
- package/es/{usePrefixSuffix-0874343c.js.map → usePrefixSuffix-5a74f2c4.js.map} +1 -1
- package/es/{useReorderableItem-99a9dbce.js → useReorderableItem-22ea4c46.js} +3 -3
- package/es/{useReorderableItem-99a9dbce.js.map → useReorderableItem-22ea4c46.js.map} +1 -1
- package/es/{useRovingTabIndexContainer-f7972085.js → useRovingTabIndexContainer-bc7ae447.js} +2 -2
- package/es/{useRovingTabIndexContainer-f7972085.js.map → useRovingTabIndexContainer-bc7ae447.js.map} +1 -1
- package/es/{useScale-1cdb639e.js → useScale-83881775.js} +2 -2
- package/es/{useScale-1cdb639e.js.map → useScale-83881775.js.map} +1 -1
- package/es/useSelectCommon-62eb8f41.js +11 -11
- package/es/{useSelectDrill-5525e5a3.js → useSelectDrill-f4781439.js} +3 -3
- package/es/{useSelectDrill-5525e5a3.js.map → useSelectDrill-f4781439.js.map} +1 -1
- package/es/{useSelection-8be05a70.js → useSelection-0bd0618d.js} +5 -5
- package/es/{useSelection-8be05a70.js.map → useSelection-0bd0618d.js.map} +1 -1
- package/es/{useSelection-2d26ab04.js → useSelection-649fd4f1.js} +2 -2
- package/es/{useSelection-2d26ab04.js.map → useSelection-649fd4f1.js.map} +1 -1
- package/es/useTabBar-cbac0c2e.js +1 -1
- package/es/{useTestId-474ac6ca.js → useTestId-9b504481.js} +2 -2
- package/es/{useTestId-474ac6ca.js.map → useTestId-9b504481.js.map} +1 -1
- package/es/{useTheme-5aa36f52.js → useTheme-93c07059.js} +2 -2
- package/es/{useTheme-5aa36f52.js.map → useTheme-93c07059.js.map} +1 -1
- package/es/{useThemeInterpolations-05e58770.js → useThemeInterpolations-8dd8029f.js} +5 -5
- package/es/{useThemeInterpolations-05e58770.js.map → useThemeInterpolations-8dd8029f.js.map} +1 -1
- package/es/{useTooltip-138c94ee.js → useTooltip-89ca3f3e.js} +5 -5
- package/es/{useTooltip-138c94ee.js.map → useTooltip-89ca3f3e.js.map} +1 -1
- package/es/{useTooltipOnTruncation-a97211b6.js → useTooltipOnTruncation-175bf8a6.js} +4 -4
- package/es/{useTooltipOnTruncation-a97211b6.js.map → useTooltipOnTruncation-175bf8a6.js.map} +1 -1
- package/es/{useTranslationBundle-2df40edf.js → useTranslationBundle-09302c20.js} +2 -2
- package/es/{useTranslationBundle-2df40edf.js.map → useTranslationBundle-09302c20.js.map} +1 -1
- package/es/{useUser-6b2e271a.js → useUser-1cd223a9.js} +2 -2
- package/es/{useUser-6b2e271a.js.map → useUser-1cd223a9.js.map} +1 -1
- package/es/useVisDragModeControls-ed260d12.js +1 -1
- package/es/{useVisEvents-d8652100.js → useVisEvents-8877743b.js} +2 -2
- package/es/{useVisEvents-d8652100.js.map → useVisEvents-8877743b.js.map} +1 -1
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +6 -6
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/{withDirectionIcon-fe0b69a7.js → withDirectionIcon-19a1d777.js} +2 -2
- package/es/{withDirectionIcon-fe0b69a7.js.map → withDirectionIcon-19a1d777.js.map} +1 -1
- package/es/withThemeProps-1621f692.js +2 -2
- package/package.json +2 -2
- package/amd/Card-4d47fe95.js +0 -2
- package/amd/CheckboxSetContext-2e486ea8.js +0 -2
- package/amd/CheckboxSetContext-2e486ea8.js.map +0 -1
- package/amd/CompactLabelAssistance-f3d093c7.js +0 -2
- package/amd/Grid-e6f0d4a6.js +0 -2
- package/amd/HighlightText-d1b13537.js +0 -2
- package/amd/InputDatePicker-03bdeb95.js +0 -2
- package/amd/LiveRegion-17fea064.js +0 -2
- package/amd/SectionedContent-f508dbae.js +0 -2
- package/amd/SelectionCard-38a1007f.js +0 -2
- package/amd/StyledCard-1f13531d.js +0 -2
- package/amd/TextArea-fe8d9067.js +0 -2
- package/amd/TextAreaAutosize-c9c00a1c.js +0 -2
- package/amd/index-9fe6dba4.js.map +0 -1
- package/amd/tooltipUtils-36ddb881.js +0 -2
- package/amd/useChartDatatip-777fcfb2.js +0 -2
- package/amd/useCssVars-311f2956.js +0 -2
- package/amd/useCurrentKey-e8791885.js +0 -2
- package/amd/useKeyboardEvents-f8b3ead1.js +0 -2
- package/amd/useMeterDatatip-5d0b02c1.js +0 -2
- package/amd/useThemeInterpolations-3ca974f9.js +0 -2
- package/amd/useTooltipOnTruncation-7721f587.js +0 -2
- package/cjs/BaseNavigationListItem-3dbb8d31.js +0 -49
- package/cjs/MaxLengthCounter-9ab3f74b.js +0 -27
- package/cjs/NavigationListItem-bf607636.js +0 -12
- package/es/BaseNavigationListItem-af84a9ee.js +0 -119
- package/es/index-3fdaba9a.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './mergeProps-bcfa6a92', './classNames-08d99695', './useTranslationBundle-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', './mergeProps-bcfa6a92', './classNames-08d99695', './useTranslationBundle-7c40cb58', './size-f0e638ec', './stringUtils-0ae982c2', './filePickerUtils-e4392bf2', './clientHints-fff66be9', './usePress-949a0d03', 'preact/hooks', './TabbableModeContext-a9c97640', './useTabbableMode-dc440317', './useTestId-c286f212', './useComponentTheme-5aa41a8f', './useInteractionStyle-ee1dc0c0', './UNSAFE_FilePicker/themes/redwood/FilePickerTheme'], (function(e,t,r,s,i,n,a,l,o,d,c,u,p,f,y,h,m){"use strict";const v=({ariaLabel:e,isDisabled:t,translations:r,primaryText:s,secondaryText:i,selectionMode:n})=>e||`${t?"":r.filePicker_addFiles()+". "}${T(s,r)}. ${g(i,r,n)}`,b=(e,t)=>({width:e?n.sizeToCSS(e):void 0,height:t?n.sizeToCSS(t):void 0}),T=(e,t)=>e||t.filePicker_dropzonePrimaryText(),g=(e,t,r)=>{const s="multiple"===r?t.filePicker_dropzoneSecondaryTextMultiple():t.filePicker_dropzoneSecondaryText();return e||s},x=(e,t,r)=>{const s=[],i=[];let n,a;if(e)for(let l=0;l<e.length;l++){n=e[l];const o=n.name;if(a=r.filePicker_unknownFileTypeUploadError(),o){const e=o.split(".");a=e.length>1?"."+e.pop():a}a=n.type?n.type:a,-1===s.indexOf(a)&&-1===i.indexOf(a)&&(k(n,t)?s.push(a):i.push(a))}return{accepted:s,rejected:i}},P=e=>{const t={length:{value:e.length},item:{value(e){return this[e]}}};for(let r=0;r<e.length;r++)t[r]={value:e[r],enumerable:!0};return Object.create(FileList.prototype,t)},D=(e,t)=>"single"!==t||1===e.length,S=(e,t)=>{const r=[];return 1===e.length?r.push({severity:"error",summary:t.filePicker_singleTypeUploadError({fileType:e[0]})}):r.push({severity:"error",summary:t.filePicker_multipleFileTypeUploadError({fileTypes:e.join(t.plural_separator())})}),r},k=(e,t)=>{const r=t;if(!r||0===r.length||!e)return!0;let s;for(let t=0;t<r.length;t++){if(s=a.trim(r[t]),!s)return!0;if(s.startsWith(".",0)){if(!e.name||e.name&&e.name.toLowerCase().endsWith(s.toLowerCase()))return!0}else{if(!e.type)return!1;if("image/*"===s){if(e.type.startsWith("image/",0))return!0}else if("video/*"===s){if(e.type.startsWith("video/",0))return!0}else if("audio/*"===s){if(e.type.startsWith("audio/",0))return!0}else if(e.type===s)return!0}}return!1},j=(e,t,r)=>{let s;const i=t?new Promise((e=>{s=e})):null;return r?.({messages:e,until:i}),s},H=(e,t)=>{const r=P(e);t?.({files:r})},M=(e,t,r)=>{const{callback:s,validation:i}=w(e),{pressProps:n}=d.usePress(s);return{validation:i,dragAndDropProps:C(e.accept,e.selectionMode,j,H,t,e.translations,e.onCommit,e.onReject,r),pressProps:n}},w=e=>{const t=t=>{if(t.length>0){const r=x(t,e.accept,e.translations).rejected;r.length>0?j(S(r,e.translations),!1,e.onReject):H(t,e.onCommit)}};return{callback:r=>{("click"===r.type||"keyup"===r.type&&"Enter"===r.code)&&(r.preventDefault(),l.pickFiles(t,{accept:e.accept,selectionMode:e.selectionMode??"multiple",capture:e.capture??"none"}))},validation:t}},C=(e,t,r,s,i,n,a,l,d)=>{const u=c.useRef(!1),p=c.useRef(!1),f=c.useRef(),y=(e,t=!1)=>{u.current&&(e.preventDefault(),e.stopPropagation(),i.current?.contains(e.relatedTarget)||(u.current=!1,d?.("NA"),p.current||t||f.current?.()))};return{onDragEnter:e=>{e.preventDefault(),e.stopPropagation()},onDragOver:s=>{if(s.preventDefault(),s.stopPropagation(),u.current)return;const i=o.getClientHints().browser;if(u.current=!0,p.current=!0,"safari"!==i){if(!s.dataTransfer)return;const i=P(s.dataTransfer.items);let a=[];const o=D(i,t),c=x(i,e,n);o&&0===c.rejected.length?d?.("valid"):(p.current=!1,o?a=S(c.rejected,n):a.push({severity:"error",summary:n.filePicker_singleFileUploadError()}),d?.("invalid"),f.current=r(a,!0,l))}else d?.("valid")},onDragLeave:y,onDrop:i=>{if(u.current){if(i.preventDefault(),i.stopPropagation(),!i.dataTransfer)return void(u.current=!1);const o=P(i.dataTransfer.files);let d=!1;if(p.current){let i=[];if(D(o,t)){const t=x(o,e,n);t.rejected.length>0&&(i=S(t.rejected,n),d=!0)}else i.push({severity:"error",summary:n.filePicker_singleFileUploadError()});i.length>0&&(p.current=!1,r(i,!1,l)),p.current&&s(o,a)}y(i,d)}}}},F=({isDisabled:e,primaryText:r,secondaryText:s,translations:i,selectionMode:n})=>{const{styles:{disabledPrimaryTextStyle:a,primaryTextStyle:l,disabledSecondaryTextStyle:o,secondaryTextStyle:d}}=y.useComponentTheme(m.FilePickerRedwoodTheme);return t.jsxs(t.Fragment,{children:[t.jsx("div",{class:e?a:l,children:T(r,i)}),t.jsx("div",{class:e?o:d,children:g(s,i,n)})]})};const R=e=>{const i=f.useTestId(e.testId),{interactionProps:n,applyActiveStyle:a,applyHoverStyle:l,applyPseudoHoverStyle:o}=h.useInteractionStyle({isDisabled:!1}),{classes:d,styles:{maxWidth:u,inner:T,activeStyle:g,innerNeedsEventsHoverStyle:x,innerPseudoHoverStyle:P,invalidDrop:D,validDrop:S}}=y.useComponentTheme(m.FilePickerRedwoodTheme,{hoveredState:l?"isHover":void 0,pseudoHoveredState:o?"isPseudoHover":void 0}),k=[a?g:"",l?x:"",o?P:""],[j,H]=c.useState("NA"),w="valid"===j?S:"invalid"===j?D:void 0,C=c.useRef(null),{validation:R,dragAndDropProps:I,pressProps:_}=M(e,C,H),L=r.mergeProps(_,n);E(I,R,e.testHandlersRef||null);const N=s.classNames([d,void 0===e.width&&u]),{isTabbable:U}=p.useTabbableMode(),{primaryText:W,secondaryText:A,translations:z,selectionMode:O,width:$,height:B}=e;return t.jsx("div",{...i,...L,class:N,tabIndex:U?0:-1,role:"button","aria-label":v({ariaLabel:e["aria-label"],isDisabled:!1,translations:z,primaryText:W,secondaryText:A,selectionMode:O}),ref:C,style:b($,B),children:t.jsx("div",{class:s.classNames([T,w,...k]),...I,children:t.jsx(F,{...e,isDisabled:!1})})})},I=({children:e,primaryText:r,secondaryText:i,translations:n,width:a,height:l,testId:o,...d})=>{const c=f.useTestId(o),{classes:u,styles:{maxWidth:p,inner:h,noChildrenMargin:T}}=y.useComponentTheme(m.FilePickerRedwoodTheme,{disabledState:"isDisabled"});return t.jsx("div",{class:s.classNames([u,h,T,void 0===a&&p]),role:"button","aria-label":v({ariaLabel:d["aria-label"],isDisabled:!0,translations:n,primaryText:r,secondaryText:i}),"aria-hidden":"true",...c,style:b(a,l),children:e||t.jsx(F,{secondaryText:i,primaryText:r,...d,isDisabled:!0,translations:n})})},_=e=>{const i=f.useTestId(e.testId),{interactionProps:n,applyHoverStyle:a,applyPseudoHoverStyle:l}=h.useInteractionStyle({isDisabled:!1}),{classes:o,styles:{maxWidth:d,noChildrenMargin:u}}=y.useComponentTheme(m.FilePickerRedwoodTheme,{hoveredState:a?"isHover":void 0,pseudoHoveredState:l?"isPseudoHover":void 0}),T=c.useRef(null),{validation:g,dragAndDropProps:x,pressProps:P}=M(e,T),D=r.mergeProps(P,x,n);E(x,g,e.testHandlersRef||null);const S=s.classNames([o,u,void 0===e.width&&d]),{translations:k,selectionMode:j}=e,{isTabbable:H}=p.useTabbableMode();return t.jsx("div",{class:s.classNames([S]),tabIndex:H?void 0:-1,role:"button","aria-label":v({ariaLabel:e["aria-label"],isDisabled:!1,translations:k,selectionMode:j}),ref:T,style:b(e.width,e.height),...i,...D,children:e.children})},E=(e,t,r)=>{c.useImperativeHandle(r,(()=>({onDragEnter:e.onDragEnter,onDragOver:e.onDragOver,onDrop:e.onDrop,onDragLeave:e.onDragLeave,onClickSelected:t})))};e.FilePicker=function({capture:e="none",isDisabled:r=!1,selectionMode:s="multiple",children:n,...a}){const l=a.__testHandlerSymbol,o={capture:e,selectionMode:s,translations:i.useTranslationBundle("@oracle/oraclejet-preact"),...a};return r?t.jsx(I,{...o,children:n}):n?t.jsx(_,{testHandlersRef:l,...o,children:n}):t.jsx(R,{testHandlersRef:l,...o})}}));
|
|
2
2
|
//# sourceMappingURL=FilePicker-7e31189e.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './useTestId-
|
|
2
|
-
//# sourceMappingURL=Flex-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', './useTestId-c286f212', './classNames-08d99695', './boxalignment-50db1e3a', './dimensions-fda85d6b', './flexbox-8521f6aa', './flexitem-5db48325', './mergeInterpolations-9ede4cf7', 'css!./FlexStyles.styles.css'], (function(e,s,t,l,n,a,o,i,r,c){"use strict";var d="FlexStyles_marginZeroStyles__10p93f61";const x=[...Object.values(a.dimensionInterpolations),...Object.values(o.flexboxInterpolations),...Object.values(i.flexitemInterpolations),...Object.values(n.boxAlignmentInterpolations)],m=r.mergeInterpolations(x);e.Flex=({children:e,hasZeroMargins:n=!0,testId:a,...o})=>{const i=l.classNames(["FlexStyles_baseStyles__10p93f60",n&&d]),{class:r,...c}=m(o),x=t.useTestId(a);return s.jsx("div",{class:`${i} ${r}`,style:c,...x,children:e})},e.marginZeroStyles=d}));
|
|
2
|
+
//# sourceMappingURL=Flex-590160eb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex-
|
|
1
|
+
{"version":3,"file":"Flex-590160eb.js","sources":["../../src/UNSAFE_Flex/Flex.tsx"],"sourcesContent":["/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * Licensed under The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\nimport { TestIdProps, useTestId } from '#hooks/UNSAFE_useTestId';\nimport { ComponentChildren } from 'preact';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport type { BoxAlignmentProps } from '../utils/UNSAFE_interpolations/boxalignment';\nimport { boxAlignmentInterpolations } from '../utils/UNSAFE_interpolations/boxalignment';\nimport type { DimensionProps } from '../utils/UNSAFE_interpolations/dimensions';\nimport { dimensionInterpolations } from '../utils/UNSAFE_interpolations/dimensions';\nimport type { FlexboxProps } from '../utils/UNSAFE_interpolations/flexbox';\nimport { flexboxInterpolations } from '../utils/UNSAFE_interpolations/flexbox';\nimport type { FlexitemProps } from '../utils/UNSAFE_interpolations/flexitem';\nimport { flexitemInterpolations } from '../utils/UNSAFE_interpolations/flexitem';\nimport { mergeInterpolations } from '../utils/UNSAFE_mergeInterpolations';\nimport { baseStyles, marginZeroStyles } from './FlexStyles.css';\n\ntype StyleProps = DimensionProps & FlexboxProps & FlexitemProps & BoxAlignmentProps;\n\ntype Props = StyleProps &\n TestIdProps & {\n children?: ComponentChildren;\n /**\n * @default true\n */\n hasZeroMargins?: boolean;\n };\n\nconst interpolations = [\n ...Object.values(dimensionInterpolations),\n ...Object.values(flexboxInterpolations),\n ...Object.values(flexitemInterpolations),\n ...Object.values(boxAlignmentInterpolations)\n];\n\nconst styleInterpolations = mergeInterpolations<Props>(interpolations);\n\nexport const Flex = ({ children, hasZeroMargins = true, testId, ...props }: Props) => {\n const flexComponentClasses = classNames([baseStyles, hasZeroMargins && marginZeroStyles]);\n const { class: cls, ...styles } = styleInterpolations(props);\n const testIdProps = useTestId(testId);\n return (\n <div class={`${flexComponentClasses} ${cls}`} style={styles} {...testIdProps}>\n {children}\n </div>\n );\n};\n"],"names":["interpolations","Object","values","dimensionInterpolations","flexboxInterpolations","flexitemInterpolations","boxAlignmentInterpolations","styleInterpolations","mergeInterpolations","children","hasZeroMargins","testId","props","flexComponentClasses","classNames","marginZeroStyles","class","cls","styles","testIdProps","useTestId","_jsx","style"],"mappings":"yUAgCA,MAAMA,EAAiB,IAClBC,OAAOC,OAAOC,8BACdF,OAAOC,OAAOE,4BACdH,OAAOC,OAAOG,6BACdJ,OAAOC,OAAOI,+BAGbC,EAAsBC,EAAAA,oBAA2BR,UAEnC,EAAGS,WAAUC,kBAAiB,EAAMC,YAAWC,MACjE,MAAMC,EAAuBC,EAAAA,WAAW,mCAAaJ,GAAkBK,KAC/DC,MAAOC,KAAQC,GAAWX,EAAoBK,GAChDO,EAAcC,YAAUT,GAC9B,OACEU,EAAAA,IAAK,MAAA,CAAAL,MAAO,GAAGH,KAAwBI,IAAOK,MAAOJ,KAAYC,WAC9DV,GAEH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', 'preact/hooks', 'preact/compat', './useFloating-
|
|
2
|
-
//# sourceMappingURL=Floating-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', 'preact/hooks', 'preact/compat', './useFloating-f9bd3c51', './refUtils-d354a169', './useOutsideClick-43ce7043', './useUser-797287de', './useComponentTheme-5aa41a8f', './classNames-08d99695', './utils-32e81a13', './Common/themes/themeContract.css', './UNSAFE_Floating/themes/redwood/FloatingTheme', './UNSAFE_Floating/themes/FloatingStyles.css', './vanilla-extract-dynamic.esm-eceadd82', './UNSAFE_Floating/themes/FloatingContract.css'], (function(t,e,n,i,s,o,r,a,l,c,u,f,d,m,h,g){"use strict";const x=i.forwardRef((({data:t,anchorRef:i,tail:s,isRtl:r,backgroundColor:a},m)=>{const{styles:h,baseTheme:g}=l.useComponentTheme(d.FloatingRedwoodTheme),x=n.useRef(null),[p,b]=n.useState({arrowStyle:{visibility:"hidden"},arrowInnerStyle:{visibility:"hidden"}});n.useLayoutEffect((()=>{if(null==x.current)return;const{isCornerVerticalPlacement:e,isCornerHorizontalPlacement:n}=function(t,e,n){if("simple"===e&&n&&n.arrow){const{centerOffset:e}=n.arrow,i=7;let s=0,o=0;const r=t.current,a=void 0===r?.x&&void 0===r?.y;a&&(s=Math.round(r.getBoundingClientRect().height),o=Math.round(t.current?.getBoundingClientRect().width));return{isCornerVerticalPlacement:a?Math.abs(e)>=s/2-i/2:["start-top-corner","start-bottom-corner","end-top-corner","end-bottom-corner"].includes(n.origPlacement),isCornerHorizontalPlacement:a?Math.abs(e)>=o/2-i/2:["top-start-corner","top-end-corner","bottom-start-corner","bottom-end-corner"].includes(n.origPlacement)}}return{isCornerVerticalPlacement:!1,isCornerHorizontalPlacement:!1}}(i,s,t);b(function(t,e,n,i,s,o){const r={visibility:"visible"},a={visibility:"visible"};if("simple"===t&&s&&s.arrow){const{x:l,y:c,centerOffset:d}=s.arrow,m=7,h=6,g=5,x=5,p=0===d,b=d>0;function y(t){const e=t?h:m;C({borderTop:`${S(e)} solid ${u.rgba(f.colorSchemeVars.palette.neutral[90],.1)}`,borderRight:R(e),borderLeft:R(e)},r);const n=t?x:g;w({borderTop:`${S(n)} solid ${o}`,borderRight:`${R(n)}`,borderLeft:`${R(n)}`},a)}function C(t,e){Object.assign(e,t)}function w(t,e){Object.assign(e,t)}function A(t){return`rotate(${45*t}deg)`}function S(t){return`${t}px`}function R(t){return`${S(t)} solid transparent`}y(n||i);switch(s.placement.split("-")[0]){case"top":v();break;case"end":e?F():j();break;case"bottom":k();break;case"start":e?j():F()}function v(){null!=l&&(i?(C({top:"",bottom:S(2-m),left:S(l+(b?5:-5)),transform:A(b?5:3)},r),M()):(C({top:"",bottom:S(-m),left:S(p?l:l+(b?1:-1)),transform:A(0)},r),O()))}function j(){null!=c&&(n?(C({top:S(c+(b?2:-2)),right:"",left:S(-m-1),transform:A(b?7:5)},r),M()):(C({top:S(p?c:c+(b?-2:2)),right:"",left:S(1.5*-m),transform:A(2)},r),O()))}function k(){null!=l&&(i?(C({top:S(3-m),bottom:"",left:S(l+(b?4:-4)),transform:A(b?2:6)},r),w({top:S(-g),left:S((b?1:-1)-g)},a)):(C({top:S(-m),bottom:"",left:S(p?l:l+(b?1:-1)),transform:A(4)},r),O()))}function F(){null!=c&&(n?(C({top:S(c+(b?2:-2)),right:S(-m-1),left:"",transform:A(b?1:3)},r),w({top:S(-g),left:S((b?-2:2)-g)},a)):(C({top:S(p?c:c+(b?-2:2)),right:S(1.5*-m),left:"",transform:A(6)},r),O()))}function M(){w({top:S(-g),left:S((b?2:-2)-g)},a)}function O(){w({top:S(-g-2),left:S(-g)},a)}}return{arrowStyle:r,arrowInnerStyle:a}}(s,r,e,n,t,a))}),[t,a,t?.placement,t?.x,t?.y,t?.offset,t?.arrow,s,r,i]);const y=n.useMemo((()=>o.mergeRefs(m,x)),[m,x]);return"simple"===s&&e.jsxs("div",{ref:y,class:c.classNames([g,h.floatingTailBaseStyle]),style:p.arrowStyle,children:[" ",e.jsx("div",{class:c.classNames([h.floatingTailBaseStyle]),style:p.arrowInnerStyle})," "]})}));const p=i.forwardRef((({children:t,backgroundColor:i,onClickOutside:u,placement:f="bottom",anchorRef:p,offsetValue:b,class:y,tail:C="none",flipOptions:w={mainAxis:!0,crossAxis:!1},shiftOptions:A={mainAxis:!0,crossAxis:!1},sizeOptions:S={isMaxHeightAdjusted:!1,isMaxWidthAdjusted:!1},boundaryOptions:R={padding:0},onPosition:v},j)=>{const k=n.useRef(null),[F,M]=n.useState(),[O,E]=n.useState(null),{styles:P,baseTheme:T}=l.useComponentTheme(d.FloatingRedwoodTheme);n.useLayoutEffect((()=>{E(p.current)}),[p]),p.current!==O&&E(p.current);const{direction:$}=a.useUser(),H="rtl"===$,V=n.useCallback((t=>{M(t),v?.(t)}),[v]),B=[s.offset(b),s.flip({mainAxis:w.mainAxis,crossAxis:w.crossAxis,fallbackPlacements:w.fallbackPlacements?.map((t=>s.logicalSide(t,$))),padding:R.padding}),s.shift({mainAxis:A.mainAxis,crossAxis:A.crossAxis,limiter:s.limitShift({mainAxis:A.mainAxis,crossAxis:A.crossAxis})}),...k.current?[s.arrow({element:k.current})]:[]];(S.isMaxHeightAdjusted||S.isMaxWidthAdjusted)&&B.push(s.size({apply({availableWidth:t,availableHeight:e,elements:n}){S.isMaxHeightAdjusted&&parseInt(n.floating.style.maxHeight)!==e&&Object.assign(n.floating.style,{maxHeight:`${Math.min(e,S.maxHeightCeiling||e)}px`}),S.isMaxWidthAdjusted&&parseInt(n.floating.style.maxWidth)!==t&&Object.assign(n.floating.style,{maxWidth:`${Math.min(t,S.maxWidthCeiling||t)}px`})},padding:R.padding}));const{x:N,y:U,reference:W,floating:I,refs:z,update:L}=s.useFloating({placement:f,middleware:B,onPosition:V}),[_,D]=n.useState(!1);n.useEffect((()=>{if(z.reference.current&&z.floating.current&&!0===_)return s.autoUpdate(z.reference.current,z.floating.current,L)}),[z.floating,z.reference,L,_]),n.useEffect((()=>{null!=N&&null!=U&&D(!0)}),[N,U]),r.useOutsideClick({isDisabled:!1,ref:z.floating,handler:u}),n.useLayoutEffect((()=>{if(O instanceof Element){return void W(O)}const t=O;if(null!=t&&null!=t.contextElement){const e=function(t,e){let n=null,i=null,s=!1;return{contextElement:t||void 0,getBoundingClientRect(){const o=t?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},r="x"===e.axis||"both"===e.axis,a="y"===e.axis||"both"===e.axis;let l=o.width,c=o.height,u=o.x,f=o.y;return null==n&&e.x&&r&&(n=o.x-e.x),null==i&&e.y&&a&&(i=o.y-e.y),u-=n||0,f-=i||0,l=0,c=0,s?s&&(c="x"===e.axis?o.height:c,l="y"===e.axis?o.width:l):(l="y"===e.axis?o.width:0,c="x"===e.axis?o.height:0,u=r&&null!=e.x?e.x:u,f=a&&null!=e.y?e.y:f),s=!0,{width:l,height:c,x:u,y:f,top:f,right:u+l,bottom:f+c,left:u}}}}(t.contextElement,{axis:"both",x:t.x,y:t.y});return void W(e)}const e={getBoundingClientRect:()=>({width:0,height:0,x:t.x,y:t.y,top:t.y,left:t.x,right:t.x,bottom:t.y})};t&&null!=t.x&&W(e)}),[O,W]);const q=n.useMemo((()=>o.mergeRefs(j,I)),[j,I]),G={top:U,left:N};let J={};i&&(J=h.assignInlineVars({[g.floatingVars.backgroundColor]:i}));const K=null==N&&null==U?m.floatingVisibilityStyles.hidden:m.floatingVisibilityStyles.visible,Q=c.classNames([y,T,P.baseStyle,K]),X=p&&p.current;return e.jsxs("div",{class:Q,ref:q,style:{...G,...J},children:[t,X&&e.jsx(x,{ref:k,backgroundColor:i,data:F,anchorRef:p,tail:C,isRtl:H})]})}));t.Floating=p}));
|
|
2
|
+
//# sourceMappingURL=Floating-ae9845d4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Floating-f12b8739.js","sources":["../../src/UNSAFE_Floating/FloatingTail.tsx","../../src/UNSAFE_Floating/Floating.tsx"],"sourcesContent":["import { forwardRef, ForwardedRef } from 'preact/compat';\nimport { useMemo, useLayoutEffect, useRef, useState } from 'preact/hooks';\nimport type { RefObject } from 'preact';\nimport { PositionData, Coords } from './Floating.types';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { FloatingStyles } from './themes/FloatingStyles.css';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport type { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { Property } from 'csstype';\nimport { rgba } from '../UNSAFE_Theme/utils';\nimport { colorSchemeVars } from '../Common/themes/themeContract.css';\nimport { FloatingRedwoodTheme } from './themes/redwood/FloatingTheme';\n\ntype Props = Pick<ColorProps, 'backgroundColor'> & {\n data?: PositionData;\n anchorRef: RefObject<Element | Coords>;\n tail: 'none' | 'simple';\n isRtl: boolean;\n};\n\nconst ARROW_SIZE = 7;\nconst ARROW_SIZE_CORNER = 6;\nconst ARROW_INNER_SIZE = 5;\nconst ARROW_INNER_SIZE_CORNER = 5;\n\nconst FloatingTail = forwardRef(\n (\n { data, anchorRef, tail, isRtl, backgroundColor }: Props,\n ref: ForwardedRef<HTMLDivElement | null>\n ) => {\n const { styles, baseTheme } = useComponentTheme<never, FloatingStyles>(FloatingRedwoodTheme);\n const arrowRef = useRef<HTMLDivElement | null>(null);\n const [arrowStyles, setArrowStyles] = useState({\n arrowStyle: { visibility: 'hidden' },\n arrowInnerStyle: { visibility: 'hidden' }\n });\n\n useLayoutEffect(() => {\n if (arrowRef.current == null) return;\n const { isCornerVerticalPlacement, isCornerHorizontalPlacement } = isCorner(\n anchorRef,\n tail,\n data\n );\n setArrowStyles(\n setStyles(\n tail,\n isRtl,\n isCornerVerticalPlacement,\n isCornerHorizontalPlacement,\n data,\n backgroundColor\n )\n );\n }, [\n data,\n backgroundColor,\n data?.placement,\n data?.x,\n data?.y,\n data?.offset,\n data?.arrow,\n tail,\n isRtl,\n anchorRef\n ]);\n\n const stableRef = useMemo(() => mergeRefs(ref, arrowRef), [ref, arrowRef]);\n return (\n tail === 'simple' && (\n <div\n ref={stableRef}\n class={classNames([baseTheme, styles.floatingTailBaseStyle])}\n style={arrowStyles.arrowStyle}>\n {' '}\n {/*Outer arrow - shadow*/}\n <div\n class={classNames([styles.floatingTailBaseStyle])}\n style={arrowStyles.arrowInnerStyle}></div>{' '}\n {/*Inner arrow - body*/}\n </div>\n )\n );\n }\n);\n\nfunction isCorner(\n anchorRef: RefObject<Element | Coords>,\n tail: 'none' | 'simple',\n data?: PositionData\n) {\n if (tail === 'simple' && data && data.arrow) {\n const { centerOffset } = data.arrow;\n const arrowSize = ARROW_SIZE;\n let anchorRefHeight = 0;\n let anchorRefWidth = 0;\n const current = anchorRef.current;\n // @ts-ignore. Type 'Element | Coords' issues\n // Property 'x' does not exist on type 'Element'.\n // Property 'y' does not exist on type 'Element'.\n const isAnchorRefElement = current?.x === undefined && current?.y === undefined;\n if (isAnchorRefElement) {\n // @ts-ignore. Property 'getBoundingClientRect' does not exist on type 'Coords'.\n anchorRefHeight = Math.round(current.getBoundingClientRect().height);\n // @ts-ignore. Property 'getBoundingClientRect' does not exist on type 'Coords'.\n anchorRefWidth = Math.round(anchorRef.current?.getBoundingClientRect().width);\n }\n const isCornerVerticalPlacement = isAnchorRefElement\n ? Math.abs(centerOffset) >= anchorRefHeight / 2 - arrowSize / 2\n : ['start-top-corner', 'start-bottom-corner', 'end-top-corner', 'end-bottom-corner'].includes(\n data.origPlacement\n );\n const isCornerHorizontalPlacement = isAnchorRefElement\n ? Math.abs(centerOffset) >= anchorRefWidth / 2 - arrowSize / 2\n : ['top-start-corner', 'top-end-corner', 'bottom-start-corner', 'bottom-end-corner'].includes(\n data.origPlacement\n );\n\n return { isCornerVerticalPlacement, isCornerHorizontalPlacement };\n } else return { isCornerVerticalPlacement: false, isCornerHorizontalPlacement: false };\n}\n\nfunction setStyles(\n //arrowEl: HTMLDivElement,\n tail: 'none' | 'simple',\n isRtl: boolean,\n isCornerVerticalPlacement: boolean,\n isCornerHorizontalPlacement: boolean,\n data?: PositionData,\n backgroundColor?: Property.BackgroundColor\n) {\n const result = { visibility: 'visible' };\n const innerResult = { visibility: 'visible' };\n if (tail === 'simple' && data && data.arrow) {\n const { x, y, centerOffset } = data.arrow;\n const arrowSize = ARROW_SIZE;\n const arrowSizeCorner = ARROW_SIZE_CORNER;\n //const arrowInnerEl = arrowEl.querySelector('div') as Element;\n const arrowInnerSize = ARROW_INNER_SIZE;\n const arrowInnerSizeCorner = ARROW_INNER_SIZE_CORNER;\n\n const isCenter = centerOffset === 0;\n const isCenterOffsetPositive = centerOffset > 0;\n\n // Set sizes of the arrow\n setArrowSizes(isCornerVerticalPlacement || isCornerHorizontalPlacement);\n\n // Corner vs. normal arrow\n function setArrowSizes(isCornerPlacement?: boolean) {\n // Outer arrow (shadow)\n const arrowFinalSize = isCornerPlacement ? arrowSizeCorner : arrowSize;\n setArrowStyle(\n {\n // Tracked: \n borderTop: `${getSize(arrowFinalSize)} solid ${rgba(\n colorSchemeVars.palette.neutral[90],\n 0.1\n )}`,\n borderRight: getTransparentBorder(arrowFinalSize),\n borderLeft: getTransparentBorder(arrowFinalSize)\n },\n result\n );\n // Inner arrow\n const arrowInnerFinalSize = isCornerPlacement ? arrowInnerSizeCorner : arrowInnerSize;\n setArrowInnerStyle(\n {\n // Tracked: \n borderTop: `${getSize(arrowInnerFinalSize)} solid ${backgroundColor}`,\n borderRight: `${getTransparentBorder(arrowInnerFinalSize)}`,\n borderLeft: `${getTransparentBorder(arrowInnerFinalSize)}`\n },\n innerResult\n );\n }\n\n function setArrowStyle(style: object, result: object) {\n Object.assign(result, style);\n }\n\n function setArrowInnerStyle(style: object, result: object) {\n Object.assign(result, style);\n }\n\n function getTurn(eighth: number) {\n return `rotate(${eighth * 45}deg)`;\n }\n\n function getSize(size: number) {\n return `${size}px`;\n }\n\n function getTransparentBorder(size: number) {\n return `${getSize(size)} solid transparent`;\n }\n\n const placementArr = data.placement.split('-');\n const side = placementArr[0];\n\n switch (side) {\n case 'top':\n setArrowTop();\n break;\n case 'end':\n isRtl ? setArrowStart() : setArrowEnd();\n break;\n case 'bottom':\n setArrowBottom();\n break;\n case 'start':\n isRtl ? setArrowEnd() : setArrowStart();\n break;\n }\n\n function setArrowTop() {\n if (x != undefined) {\n if (isCornerHorizontalPlacement) {\n // Top corners\n setArrowStyle(\n {\n top: '', // flip 'reset'\n bottom: getSize(-arrowSize + 2),\n left: getSize(x + (isCenterOffsetPositive ? 5 : -5)),\n transform: getTurn(isCenterOffsetPositive ? 5 : 3)\n },\n result\n );\n setCornerArrowInner();\n } else {\n setArrowStyle(\n {\n top: '', // flip 'reset'\n bottom: getSize(-arrowSize),\n left: isCenter ? getSize(x) : getSize(x + (isCenterOffsetPositive ? 1 : -1)),\n transform: getTurn(0)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowEnd() {\n if (y != undefined) {\n if (isCornerVerticalPlacement) {\n // End corners\n setArrowStyle(\n {\n top: getSize(y + (isCenterOffsetPositive ? 2 : -2)),\n right: '', // flip 'reset'\n left: getSize(-arrowSize - 1),\n transform: getTurn(isCenterOffsetPositive ? 7 : 5)\n },\n result\n );\n setCornerArrowInner();\n } else {\n // End\n setArrowStyle(\n {\n top: isCenter ? getSize(y) : getSize(y + (isCenterOffsetPositive ? -2 : +2)),\n right: '', // flip 'reset'\n left: getSize(-arrowSize * 1.5),\n transform: getTurn(2)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowBottom() {\n if (x != undefined) {\n if (isCornerHorizontalPlacement) {\n // Bottom corners\n setArrowStyle(\n {\n top: getSize(-arrowSize + 3),\n bottom: '', // flip 'reset'\n left: getSize(x + (isCenterOffsetPositive ? 4 : -4)),\n transform: getTurn(isCenterOffsetPositive ? 2 : 6)\n },\n result\n );\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? 1 : -1))\n },\n innerResult\n );\n } else {\n setArrowStyle(\n {\n top: getSize(-arrowSize),\n bottom: '', // flip 'reset'\n left: isCenter ? getSize(x) : getSize(x + (isCenterOffsetPositive ? 1 : -1)),\n transform: getTurn(4)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowStart() {\n if (y != undefined) {\n if (isCornerVerticalPlacement) {\n // Start corners\n setArrowStyle(\n {\n top: getSize(y + (isCenterOffsetPositive ? 2 : -2)),\n right: getSize(-arrowSize - 1),\n left: '', // flip 'reset'\n transform: getTurn(isCenterOffsetPositive ? 1 : 3)\n },\n result\n );\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? -2 : 2))\n },\n innerResult\n );\n } else {\n // Start\n setArrowStyle(\n {\n top: isCenter ? getSize(y) : getSize(y + (isCenterOffsetPositive ? -2 : +2)),\n right: getSize(-arrowSize * 1.5),\n left: '', // flip 'reset'\n transform: getTurn(6)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setCornerArrowInner() {\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? 2 : -2))\n },\n innerResult\n );\n }\n\n function setNonCornerArrowInner() {\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize - 2),\n left: getSize(-arrowInnerSize)\n },\n innerResult\n );\n }\n }\n return { arrowStyle: result, arrowInnerStyle: innerResult };\n}\n\nexport { FloatingTail };\n","import type { RefObject } from 'preact';\nimport { useLayoutEffect, useEffect, useMemo, useState, useRef, useCallback } from 'preact/hooks';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { autoUpdate, arrow } from '@floating-ui/dom';\nimport {\n useFloating,\n shift,\n flip,\n size,\n offset,\n limitShift,\n VirtualElement,\n logicalSide\n} from '../hooks/PRIVATE_useFloating';\nimport { Offset, Placement, Coords, PositionData } from './Floating.types';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { FloatingTail } from './FloatingTail';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { FloatingStyles, floatingVisibilityStyles } from './themes/FloatingStyles.css';\nimport { FloatingRedwoodTheme } from './themes/redwood/FloatingTheme';\nimport { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { floatingVars } from './themes/FloatingContract.css';\nimport type { ColorProps } from '../utils/UNSAFE_interpolations/colors';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'children' | 'class'>;\n/**\n * Specifies the flipping behavior along the respective axis.\n */\nexport type FlipOptions = {\n /**\n * If set to true, enables collision detection on the main axis,\n * which runs along the floating placement side.\n */\n mainAxis?: boolean;\n /**\n * If set to true, enables collision detection on the cross axis,\n * which runs along the floating placement side.\n */\n crossAxis?: boolean;\n /**\n * Specifies an array of placements to try\n * if the preferred initial placement doesn’t fit on the axes\n * in which collision is detected.\n */\n fallbackPlacements?: Array<Placement>;\n};\n\n/**\n * Specifies the shift behavior along the respective axis.\n * When true, the floating element will shift to prevent overflow.\n */\nexport type ShiftOptions = {\n /**\n * main axis in which shifting is applied. Default <code>true</code>.\n */\n mainAxis?: boolean;\n /**\n * cross axis in which shifting is applied. Default <code>false</code>.\n */\n crossAxis?: boolean;\n};\n\n/**\n * This describes the virtual padding around the collision boundary (currently the view port).\n * This could be extended in the future,\n * i.e. property to define what is a boundary ( a view port, a document, some other html element)\n */\nexport type BoundaryOptions = {\n padding?:\n | number\n | {\n top: number;\n right: number;\n bottom: number;\n left: number;\n };\n};\n/**\n * Specifies the resizing behaviour for max-height and max-width of the floating component.\n * The floating element will change the size depending on the available space.\n * isMaxHeightAdjusted/isMaxWidthAdjusted - sets the max-height/max-width of the floating to the available space till the collision.\n * maxHeightCeiling/maxWidthCeiling - this is the limit for max-height/max-width that should not be exceeded, even if there is more available space till the collision.\n */\nexport type SizeOptions = {\n isMaxWidthAdjusted?: boolean;\n isMaxHeightAdjusted?: boolean;\n maxHeightCeiling?: number;\n maxWidthCeiling?: number;\n};\n\ntype Props = IntrinsicProps &\n Pick<ColorProps, 'backgroundColor'> & {\n /**\n * <p>Placement of the floating element relative to its reference element.</p>\n * <p>Placement consists of two parts, the first part is the side, the second is the alignment.</p>\n * <p>Possible values are:</p>\n * <p> <code>'top' </code> <code>'top-start' </code> <code> 'top-end' </code> <code> 'top-start-corner' </code> <code> 'top-end-corner' </code>\n * <code> 'end' </code> <code> 'end-top' </code> <code> 'end-bottom' </code> <code> 'end-top-corner' </code> <code> 'end-bottom-corner' </code>\n * <code> 'bottom' </code> <code> 'bottom-start' </code> <code> 'bottom-end' </code> <code> 'bottom-start-corner' </code> <code> 'bottom-end-corner' </code>\n * <code> 'start' </code> <code> 'start-top' </code> <code> 'start-bottom' </code> <code> 'start-top-corner' </code> <code> 'start-bottom-corner' </code>\n * </p>\n */\n placement?: Placement;\n\n /**\n * Trigger element reference.\n */\n anchorRef: RefObject<Element | Coords>;\n\n /**\n * Placement offset.\n * Offset displaces the floating element from its core placement along the specified axes.\n * Offset could be a number or an object\n * A number represents the distance (gutter or margin) between the floating element and the reference element.\n * This is shorthand for mainAxis.\n * <pre>\n * {\n * mainAxis?: number;\n * crossAxis?: number;\n * }\n * </pre>\n * <p><code>mainAxis</code> - represents the distance (gutter or margin) between the floating element and the reference element.</p>\n * <p><code>crossAxis</code> - represents the shifting between the floating element and the reference element.<p>\n */\n offsetValue?: Offset;\n\n /**\n * Click outside callback.\n */\n onClickOutside?: (event: MouseEvent) => void;\n\n /**\n * FlipOptions object\n * <pre>\n * type FlipOptions = {\n * mainAxis?: boolean;\n * crossAxis?: boolean;\n * fallbackPlacements?: Array<Placement>;\n * }\n * </pre>\n * <p>Specifies the flipping behavior along the respective axis.<p>\n * <p><code>mainAxis</code> - If set to true, enables collision detection on the main axis, which runs along the floating placement side.\n * Default is <code>true</code>.\n * </p>\n * <p><code>crossAxis</code> - If set to true, enables collision detection on the cross axis, which runs along the floating placement alignment.\n * Default is <code>false</code>.\n * </p>\n * <p><code>fallbackPlacements</code> - specifies an array of placements to try if the preferred initial placement doesn’t fit on the axes in which collision is detected.\n * The fallback placements will be tried in the order they are specified in the array.\n * The following placements are allowed as values of the array:\n * <code>'top'</code>, <code>'top-start'</code>, <code>'top-end'</code>, <code>'start'</code>, <code>'start-top'</code>, <code>'start-bottom'</code>, <code>'bottom'</code>,\n * <code>'bottom-start'</code>, <code>'bottom-end'</code>, <code>'end'</code>, <code>'end-top'</code>, <code>'end-bottom'</code>.\n * <p>\n * If not specified, the default behaviour is to flip to the side <code>opposite</code> to the one in which collision is detected\n * </p>\n * </p>\n */\n flipOptions?: FlipOptions;\n\n /**\n * Specifies the shift behavior along the respective axis. When true, the floating element will shift to prevent overflow.\n * <pre>\n * type ShiftOptions = {\n * mainAxis?: boolean;\n * crossAxis?: boolean;\n * };\n * </pre>\n * <p><code>mainAxis</code> - main axis in which shifting is applied. Default <code>true</code>.</p>\n * <p><code>crossAxis</code> - cross axis in which shifting is applied. Default <code>false</code>.</p>\n */\n shiftOptions?: ShiftOptions;\n\n /**\n * Triggered when placement or coordinates are changed after collision is detected\n */\n onPosition?: (data: PositionData) => void;\n\n /**\n * Tail\n */\n tail?: 'none' | 'simple';\n\n /**\n * Specifies the resizing behaviour for max-height and max-width of the floating component.\n * <pre>\n * type SizeOptions = {\n * isMaxWidthAdjusted?: boolean;\n * isMaxHeightAdjusted?: boolean;\n * maxHeightCeiling?: number;\n * maxWidthCeiling?: number;\n * }\n * </pre>\n * <p><code>isMaxHeightAdjusted</code> and <code>isMaxWidthAdjusted</code> - sets the max-height/max-width of the floating to the available space till the collision.\n * When either of the options isMaxHeightAdjusted, isMaxWidthAdjusted is true, the floating element will change the size depending on the available space.\n * Default values are <code>'false'</code>.</p>\n * <p><code>maxHeightCeiling</code> and <code>maxWidthCeiling</code> - are maximal values that could not be exceeded.\n * Defaults are undefined and it means to use full available width/height.</p>\n */\n sizeOptions?: SizeOptions;\n\n /**\n * <p>This describes the virtual padding around the collision boundary (currently the view port).</p>\n * <p>This could be extended in the future,\n * i.e. property to define what is a boundary\n * ( a view port, a document, some other html element)</p>\n * <pre>\n * type BoundaryOptions = {\n * padding?: number | {\n * top: number;\n * right: number;\n * bottom: number;\n * left: number;\n * };\n * }\n * </pre>\n * Default value for padding is 0.\n */\n boundaryOptions?: BoundaryOptions;\n };\n\nfunction isElement(value: any): value is Element {\n return value instanceof Element;\n}\n\n/**\n * A floating component allows the user to create a floating element that is displayed relative to an anchor element or pointer coordinates\n * and at the same time on the \"top layer\" of all other elements.\n * The Floating component is a base component and is often used by such components as Popup, Tooltip, SelectMultiple, Menu and other components.\n */\nexport const Floating = forwardRef(\n (\n {\n children,\n backgroundColor,\n onClickOutside,\n placement = 'bottom',\n anchorRef,\n offsetValue,\n class: className,\n tail = 'none',\n flipOptions = { mainAxis: true, crossAxis: false },\n shiftOptions = { mainAxis: true, crossAxis: false },\n sizeOptions = { isMaxHeightAdjusted: false, isMaxWidthAdjusted: false },\n boundaryOptions = { padding: 0 },\n onPosition\n }: Props,\n ref: ForwardedRef<HTMLElement | null>\n ) => {\n const arrowRef = useRef<HTMLDivElement>(null);\n const [positionData, setPositionData] = useState<PositionData>();\n\n const [previousAnchor, setPreviousAnchor] = useState<Element | Coords | null>(null);\n\n const { styles, baseTheme } = useComponentTheme<never, FloatingStyles>(FloatingRedwoodTheme);\n\n // we need to be sure anchorRef.current exists in first call\n // to be able to set the previousAnchor state\n useLayoutEffect(() => {\n setPreviousAnchor(anchorRef.current);\n }, [anchorRef]);\n\n // In case anchorRef.current changes and we need to update floating position\n // when it changes, we need to have copy in the state.\n // For example when anchorRef is Coords( virtual element)\n if (anchorRef.current !== previousAnchor) {\n setPreviousAnchor(anchorRef.current);\n }\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n const _onPosition = useCallback(\n (data: PositionData) => {\n setPositionData(data);\n onPosition?.(data);\n },\n [onPosition]\n );\n\n const middleware = [\n offset(offsetValue),\n flip({\n mainAxis: flipOptions.mainAxis,\n crossAxis: flipOptions.crossAxis,\n fallbackPlacements: flipOptions.fallbackPlacements?.map((placement) =>\n logicalSide(placement, direction)\n ),\n padding: boundaryOptions.padding\n }),\n shift({\n mainAxis: shiftOptions.mainAxis,\n crossAxis: shiftOptions.crossAxis,\n limiter: limitShift({\n mainAxis: shiftOptions.mainAxis,\n crossAxis: shiftOptions.crossAxis\n })\n }),\n ...(arrowRef.current\n ? [\n arrow({\n element: arrowRef.current\n })\n ]\n : [])\n ];\n if (sizeOptions.isMaxHeightAdjusted || sizeOptions.isMaxWidthAdjusted) {\n middleware.push(\n size({\n apply({ availableWidth, availableHeight, elements }) {\n if (sizeOptions.isMaxHeightAdjusted) {\n if (parseInt(elements.floating.style.maxHeight) !== availableHeight) {\n Object.assign(elements.floating.style, {\n maxHeight: `${Math.min(\n availableHeight,\n sizeOptions.maxHeightCeiling || availableHeight\n )}px`\n });\n }\n }\n\n if (sizeOptions.isMaxWidthAdjusted) {\n if (parseInt(elements.floating.style.maxWidth) !== availableWidth) {\n Object.assign(elements.floating.style, {\n maxWidth: `${Math.min(\n availableWidth,\n sizeOptions.maxWidthCeiling || availableWidth\n )}px`\n });\n }\n }\n },\n\n padding: boundaryOptions.padding\n })\n );\n }\n\n const { x, y, reference, floating, refs, update } = useFloating({\n placement: placement,\n middleware: middleware,\n onPosition: _onPosition\n });\n\n // To solve \"loop limit exceeds\" problem from the ResizeObserver in autoUpdate\n // we need to make sure that we utilize autoUpdate function\n // after the Floating component is positioned and has x, y coordinates.\n const [isPositioned, setIsPositioned] = useState(false);\n\n // here autoUpdate should be called only once during the Component lifecycle,\n // if the floating, reference, placement and middleware do not change\n useEffect(() => {\n if (!refs.reference.current || !refs.floating.current || isPositioned !== true) {\n return;\n }\n\n return autoUpdate(refs.reference.current, refs.floating.current, update);\n }, [refs.floating, refs.reference, update, isPositioned]);\n\n // here we should know when the Floating is positioned\n useEffect(() => {\n if (x != null && y != null) {\n setIsPositioned(true);\n }\n }, [x, y]);\n\n useOutsideClick({ isDisabled: false, ref: refs.floating, handler: onClickOutside });\n\n function createVirtualElement(\n domRef: Element | null,\n data: {\n axis: 'x' | 'y' | 'both';\n x: number | null;\n y: number | null;\n }\n ) {\n let offsetX: number | null = null;\n let offsetY: number | null = null;\n let isAutoUpdateEvent = false;\n\n return {\n contextElement: domRef || undefined,\n getBoundingClientRect() {\n const domRect = domRef?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n\n if (!isAutoUpdateEvent) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n\n isAutoUpdateEvent = true;\n const virtEl = {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n\n return virtEl;\n }\n };\n }\n\n useLayoutEffect(() => {\n if (isElement(previousAnchor)) {\n const element = previousAnchor as Element;\n reference(element);\n return;\n }\n const coords = previousAnchor as Coords;\n if (coords != null && coords.contextElement != null) {\n const virtualEl = createVirtualElement(coords.contextElement, {\n axis: 'both',\n x: coords.x,\n y: coords.y\n });\n reference(virtualEl);\n return;\n }\n const virtualEl: VirtualElement = {\n getBoundingClientRect() {\n return {\n width: 0,\n height: 0,\n x: coords!.x,\n y: coords!.y,\n top: coords!.y,\n left: coords!.x,\n right: coords!.x,\n bottom: coords!.y\n };\n }\n };\n if (coords && coords.x != null) {\n reference(virtualEl);\n }\n }, [previousAnchor, reference]);\n\n const stableRef = useMemo(() => mergeRefs(ref, floating), [ref, floating]);\n const positionStyle = { top: y, left: x };\n\n let assignedVars = {}; // empty var override unless background is specified\n if (backgroundColor) {\n assignedVars = assignInlineVars({\n [floatingVars.backgroundColor]: backgroundColor\n });\n }\n\n const visibilityStyles =\n x == null && y == null ? floatingVisibilityStyles.hidden : floatingVisibilityStyles.visible;\n const floatingClasses = classNames([className, baseTheme, styles.baseStyle, visibilityStyles]);\n const isAnchorMounted = anchorRef && anchorRef.current;\n const content = (\n <div class={floatingClasses} ref={stableRef} style={{ ...positionStyle, ...assignedVars }}>\n {children}\n {isAnchorMounted && (\n <FloatingTail\n ref={arrowRef}\n backgroundColor={backgroundColor}\n data={positionData}\n anchorRef={anchorRef}\n tail={tail}\n isRtl={isRtl}\n />\n )}\n </div>\n );\n return content;\n }\n);\n"],"names":["FloatingTail","forwardRef","data","anchorRef","tail","isRtl","backgroundColor","ref","styles","baseTheme","useComponentTheme","FloatingRedwoodTheme","arrowRef","useRef","arrowStyles","setArrowStyles","useState","arrowStyle","visibility","arrowInnerStyle","useLayoutEffect","current","isCornerVerticalPlacement","isCornerHorizontalPlacement","arrow","centerOffset","arrowSize","anchorRefHeight","anchorRefWidth","isAnchorRefElement","undefined","x","y","Math","round","getBoundingClientRect","height","width","abs","includes","origPlacement","isCorner","result","innerResult","arrowSizeCorner","arrowInnerSize","arrowInnerSizeCorner","isCenter","isCenterOffsetPositive","setArrowSizes","isCornerPlacement","arrowFinalSize","setArrowStyle","borderTop","getSize","rgba","colorSchemeVars","palette","neutral","borderRight","getTransparentBorder","borderLeft","arrowInnerFinalSize","setArrowInnerStyle","style","Object","assign","getTurn","eighth","size","placement","split","setArrowTop","setArrowStart","setArrowEnd","setArrowBottom","top","bottom","left","transform","setCornerArrowInner","setNonCornerArrowInner","right","setStyles","offset","stableRef","useMemo","mergeRefs","_jsxs","class","classNames","floatingTailBaseStyle","children","_jsx","Floating","onClickOutside","offsetValue","className","flipOptions","mainAxis","crossAxis","shiftOptions","sizeOptions","isMaxHeightAdjusted","isMaxWidthAdjusted","boundaryOptions","padding","onPosition","positionData","setPositionData","previousAnchor","setPreviousAnchor","direction","useUser","_onPosition","useCallback","middleware","flip","fallbackPlacements","map","logicalSide","shift","limiter","limitShift","element","push","apply","availableWidth","availableHeight","elements","parseInt","floating","maxHeight","min","maxHeightCeiling","maxWidth","maxWidthCeiling","reference","refs","update","useFloating","isPositioned","setIsPositioned","useEffect","autoUpdate","useOutsideClick","isDisabled","handler","Element","coords","contextElement","virtualEl","domRef","offsetX","offsetY","isAutoUpdateEvent","domRect","isXAxis","axis","isYAxis","createVirtualElement","positionStyle","assignedVars","assignInlineVars","floatingVars","visibilityStyles","floatingVisibilityStyles","hidden","visible","floatingClasses","baseStyle","isAnchorMounted"],"mappings":"sgBAqBA,MAKMA,EAAeC,EAAAA,YACnB,EACIC,OAAMC,YAAWC,OAAMC,QAAOC,mBAChCC,KAEA,MAAMC,OAAEA,EAAMC,UAAEA,GAAcC,EAAiBA,kBAAwBC,EAAoBA,sB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AAyBC,OAASD,EAAwBA,yBAACE,QAChFC,EAAkB/E,EAAUA,WAAC,CAACO,EAAWxF,EAAWD,EAAOkK,UAAWL,IACtEM,EAAkBxK,GAAaA,EAAUkB,QAgB/C,OAdEmE,EAAAA,KAAK,MAAA,CAAAC,MAAOgF,EAAiBlK,IAAK8E,EAAWrB,MAAO,IAAKiG,KAAkBC,GAActE,SAAA,CACtFA,EACA+E,GACC9E,EAAAA,IAAC7F,EACC,CAAAO,IAAKK,EACLN,gBAAiBA,EACjBJ,KAAM0G,EACNzG,UAAWA,EACXC,KAAMA,EACNC,MAAOA,MAKD"}
|
|
1
|
+
{"version":3,"file":"Floating-ae9845d4.js","sources":["../../src/UNSAFE_Floating/FloatingTail.tsx","../../src/UNSAFE_Floating/Floating.tsx"],"sourcesContent":["import { forwardRef, ForwardedRef } from 'preact/compat';\nimport { useMemo, useLayoutEffect, useRef, useState } from 'preact/hooks';\nimport type { RefObject } from 'preact';\nimport { PositionData, Coords } from './Floating.types';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { FloatingStyles } from './themes/FloatingStyles.css';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport type { ColorProps } from '../utils/UNSAFE_interpolations/colors';\nimport { Property } from 'csstype';\nimport { rgba } from '../UNSAFE_Theme/utils';\nimport { colorSchemeVars } from '../Common/themes/themeContract.css';\nimport { FloatingRedwoodTheme } from './themes/redwood/FloatingTheme';\n\ntype Props = Pick<ColorProps, 'backgroundColor'> & {\n data?: PositionData;\n anchorRef: RefObject<Element | Coords>;\n tail: 'none' | 'simple';\n isRtl: boolean;\n};\n\nconst ARROW_SIZE = 7;\nconst ARROW_SIZE_CORNER = 6;\nconst ARROW_INNER_SIZE = 5;\nconst ARROW_INNER_SIZE_CORNER = 5;\n\nconst FloatingTail = forwardRef(\n (\n { data, anchorRef, tail, isRtl, backgroundColor }: Props,\n ref: ForwardedRef<HTMLDivElement | null>\n ) => {\n const { styles, baseTheme } = useComponentTheme<never, FloatingStyles>(FloatingRedwoodTheme);\n const arrowRef = useRef<HTMLDivElement | null>(null);\n const [arrowStyles, setArrowStyles] = useState({\n arrowStyle: { visibility: 'hidden' },\n arrowInnerStyle: { visibility: 'hidden' }\n });\n\n useLayoutEffect(() => {\n if (arrowRef.current == null) return;\n const { isCornerVerticalPlacement, isCornerHorizontalPlacement } = isCorner(\n anchorRef,\n tail,\n data\n );\n setArrowStyles(\n setStyles(\n tail,\n isRtl,\n isCornerVerticalPlacement,\n isCornerHorizontalPlacement,\n data,\n backgroundColor\n )\n );\n }, [\n data,\n backgroundColor,\n data?.placement,\n data?.x,\n data?.y,\n data?.offset,\n data?.arrow,\n tail,\n isRtl,\n anchorRef\n ]);\n\n const stableRef = useMemo(() => mergeRefs(ref, arrowRef), [ref, arrowRef]);\n return (\n tail === 'simple' && (\n <div\n ref={stableRef}\n class={classNames([baseTheme, styles.floatingTailBaseStyle])}\n style={arrowStyles.arrowStyle}>\n {' '}\n {/*Outer arrow - shadow*/}\n <div\n class={classNames([styles.floatingTailBaseStyle])}\n style={arrowStyles.arrowInnerStyle}></div>{' '}\n {/*Inner arrow - body*/}\n </div>\n )\n );\n }\n);\n\nfunction isCorner(\n anchorRef: RefObject<Element | Coords>,\n tail: 'none' | 'simple',\n data?: PositionData\n) {\n if (tail === 'simple' && data && data.arrow) {\n const { centerOffset } = data.arrow;\n const arrowSize = ARROW_SIZE;\n let anchorRefHeight = 0;\n let anchorRefWidth = 0;\n const current = anchorRef.current;\n // @ts-ignore. Type 'Element | Coords' issues\n // Property 'x' does not exist on type 'Element'.\n // Property 'y' does not exist on type 'Element'.\n const isAnchorRefElement = current?.x === undefined && current?.y === undefined;\n if (isAnchorRefElement) {\n // @ts-ignore. Property 'getBoundingClientRect' does not exist on type 'Coords'.\n anchorRefHeight = Math.round(current.getBoundingClientRect().height);\n // @ts-ignore. Property 'getBoundingClientRect' does not exist on type 'Coords'.\n anchorRefWidth = Math.round(anchorRef.current?.getBoundingClientRect().width);\n }\n const isCornerVerticalPlacement = isAnchorRefElement\n ? Math.abs(centerOffset) >= anchorRefHeight / 2 - arrowSize / 2\n : ['start-top-corner', 'start-bottom-corner', 'end-top-corner', 'end-bottom-corner'].includes(\n data.origPlacement\n );\n const isCornerHorizontalPlacement = isAnchorRefElement\n ? Math.abs(centerOffset) >= anchorRefWidth / 2 - arrowSize / 2\n : ['top-start-corner', 'top-end-corner', 'bottom-start-corner', 'bottom-end-corner'].includes(\n data.origPlacement\n );\n\n return { isCornerVerticalPlacement, isCornerHorizontalPlacement };\n } else return { isCornerVerticalPlacement: false, isCornerHorizontalPlacement: false };\n}\n\nfunction setStyles(\n //arrowEl: HTMLDivElement,\n tail: 'none' | 'simple',\n isRtl: boolean,\n isCornerVerticalPlacement: boolean,\n isCornerHorizontalPlacement: boolean,\n data?: PositionData,\n backgroundColor?: Property.BackgroundColor\n) {\n const result = { visibility: 'visible' };\n const innerResult = { visibility: 'visible' };\n if (tail === 'simple' && data && data.arrow) {\n const { x, y, centerOffset } = data.arrow;\n const arrowSize = ARROW_SIZE;\n const arrowSizeCorner = ARROW_SIZE_CORNER;\n //const arrowInnerEl = arrowEl.querySelector('div') as Element;\n const arrowInnerSize = ARROW_INNER_SIZE;\n const arrowInnerSizeCorner = ARROW_INNER_SIZE_CORNER;\n\n const isCenter = centerOffset === 0;\n const isCenterOffsetPositive = centerOffset > 0;\n\n // Set sizes of the arrow\n setArrowSizes(isCornerVerticalPlacement || isCornerHorizontalPlacement);\n\n // Corner vs. normal arrow\n function setArrowSizes(isCornerPlacement?: boolean) {\n // Outer arrow (shadow)\n const arrowFinalSize = isCornerPlacement ? arrowSizeCorner : arrowSize;\n setArrowStyle(\n {\n // Tracked: \n borderTop: `${getSize(arrowFinalSize)} solid ${rgba(\n colorSchemeVars.palette.neutral[90],\n 0.1\n )}`,\n borderRight: getTransparentBorder(arrowFinalSize),\n borderLeft: getTransparentBorder(arrowFinalSize)\n },\n result\n );\n // Inner arrow\n const arrowInnerFinalSize = isCornerPlacement ? arrowInnerSizeCorner : arrowInnerSize;\n setArrowInnerStyle(\n {\n // Tracked: \n borderTop: `${getSize(arrowInnerFinalSize)} solid ${backgroundColor}`,\n borderRight: `${getTransparentBorder(arrowInnerFinalSize)}`,\n borderLeft: `${getTransparentBorder(arrowInnerFinalSize)}`\n },\n innerResult\n );\n }\n\n function setArrowStyle(style: object, result: object) {\n Object.assign(result, style);\n }\n\n function setArrowInnerStyle(style: object, result: object) {\n Object.assign(result, style);\n }\n\n function getTurn(eighth: number) {\n return `rotate(${eighth * 45}deg)`;\n }\n\n function getSize(size: number) {\n return `${size}px`;\n }\n\n function getTransparentBorder(size: number) {\n return `${getSize(size)} solid transparent`;\n }\n\n const placementArr = data.placement.split('-');\n const side = placementArr[0];\n\n switch (side) {\n case 'top':\n setArrowTop();\n break;\n case 'end':\n isRtl ? setArrowStart() : setArrowEnd();\n break;\n case 'bottom':\n setArrowBottom();\n break;\n case 'start':\n isRtl ? setArrowEnd() : setArrowStart();\n break;\n }\n\n function setArrowTop() {\n if (x != undefined) {\n if (isCornerHorizontalPlacement) {\n // Top corners\n setArrowStyle(\n {\n top: '', // flip 'reset'\n bottom: getSize(-arrowSize + 2),\n left: getSize(x + (isCenterOffsetPositive ? 5 : -5)),\n transform: getTurn(isCenterOffsetPositive ? 5 : 3)\n },\n result\n );\n setCornerArrowInner();\n } else {\n setArrowStyle(\n {\n top: '', // flip 'reset'\n bottom: getSize(-arrowSize),\n left: isCenter ? getSize(x) : getSize(x + (isCenterOffsetPositive ? 1 : -1)),\n transform: getTurn(0)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowEnd() {\n if (y != undefined) {\n if (isCornerVerticalPlacement) {\n // End corners\n setArrowStyle(\n {\n top: getSize(y + (isCenterOffsetPositive ? 2 : -2)),\n right: '', // flip 'reset'\n left: getSize(-arrowSize - 1),\n transform: getTurn(isCenterOffsetPositive ? 7 : 5)\n },\n result\n );\n setCornerArrowInner();\n } else {\n // End\n setArrowStyle(\n {\n top: isCenter ? getSize(y) : getSize(y + (isCenterOffsetPositive ? -2 : +2)),\n right: '', // flip 'reset'\n left: getSize(-arrowSize * 1.5),\n transform: getTurn(2)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowBottom() {\n if (x != undefined) {\n if (isCornerHorizontalPlacement) {\n // Bottom corners\n setArrowStyle(\n {\n top: getSize(-arrowSize + 3),\n bottom: '', // flip 'reset'\n left: getSize(x + (isCenterOffsetPositive ? 4 : -4)),\n transform: getTurn(isCenterOffsetPositive ? 2 : 6)\n },\n result\n );\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? 1 : -1))\n },\n innerResult\n );\n } else {\n setArrowStyle(\n {\n top: getSize(-arrowSize),\n bottom: '', // flip 'reset'\n left: isCenter ? getSize(x) : getSize(x + (isCenterOffsetPositive ? 1 : -1)),\n transform: getTurn(4)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setArrowStart() {\n if (y != undefined) {\n if (isCornerVerticalPlacement) {\n // Start corners\n setArrowStyle(\n {\n top: getSize(y + (isCenterOffsetPositive ? 2 : -2)),\n right: getSize(-arrowSize - 1),\n left: '', // flip 'reset'\n transform: getTurn(isCenterOffsetPositive ? 1 : 3)\n },\n result\n );\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? -2 : 2))\n },\n innerResult\n );\n } else {\n // Start\n setArrowStyle(\n {\n top: isCenter ? getSize(y) : getSize(y + (isCenterOffsetPositive ? -2 : +2)),\n right: getSize(-arrowSize * 1.5),\n left: '', // flip 'reset'\n transform: getTurn(6)\n },\n result\n );\n setNonCornerArrowInner();\n }\n }\n }\n\n function setCornerArrowInner() {\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize),\n left: getSize(-arrowInnerSize + (isCenterOffsetPositive ? 2 : -2))\n },\n innerResult\n );\n }\n\n function setNonCornerArrowInner() {\n setArrowInnerStyle(\n {\n top: getSize(-arrowInnerSize - 2),\n left: getSize(-arrowInnerSize)\n },\n innerResult\n );\n }\n }\n return { arrowStyle: result, arrowInnerStyle: innerResult };\n}\n\nexport { FloatingTail };\n","import type { RefObject } from 'preact';\nimport { useLayoutEffect, useEffect, useMemo, useState, useRef, useCallback } from 'preact/hooks';\nimport { forwardRef, ForwardedRef } from 'preact/compat';\nimport { autoUpdate, arrow } from '@floating-ui/dom';\nimport {\n useFloating,\n shift,\n flip,\n size,\n offset,\n limitShift,\n VirtualElement,\n logicalSide\n} from '../hooks/PRIVATE_useFloating';\nimport { Offset, Placement, Coords, PositionData } from './Floating.types';\nimport { mergeRefs } from '../utils/PRIVATE_refUtils';\nimport { useOutsideClick } from '../hooks/UNSAFE_useOutsideClick';\nimport { HTMLAttributesSignalExcluded } from '../utils/UNSAFE_attributeUtils';\nimport { useUser } from '../hooks/UNSAFE_useUser';\nimport { FloatingTail } from './FloatingTail';\nimport { classNames } from '../utils/UNSAFE_classNames';\nimport { useComponentTheme } from '../hooks/UNSAFE_useComponentTheme';\nimport { FloatingStyles, floatingVisibilityStyles } from './themes/FloatingStyles.css';\nimport { FloatingRedwoodTheme } from './themes/redwood/FloatingTheme';\nimport { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { floatingVars } from './themes/FloatingContract.css';\nimport type { ColorProps } from '../utils/UNSAFE_interpolations/colors';\n\ntype IntrinsicProps = Pick<HTMLAttributesSignalExcluded<HTMLDivElement>, 'children' | 'class'>;\n/**\n * Specifies the flipping behavior along the respective axis.\n */\nexport type FlipOptions = {\n /**\n * If set to true, enables collision detection on the main axis,\n * which runs along the floating placement side.\n */\n mainAxis?: boolean;\n /**\n * If set to true, enables collision detection on the cross axis,\n * which runs along the floating placement side.\n */\n crossAxis?: boolean;\n /**\n * Specifies an array of placements to try\n * if the preferred initial placement doesn’t fit on the axes\n * in which collision is detected.\n */\n fallbackPlacements?: Array<Placement>;\n};\n\n/**\n * Specifies the shift behavior along the respective axis.\n * When true, the floating element will shift to prevent overflow.\n */\nexport type ShiftOptions = {\n /**\n * main axis in which shifting is applied. Default <code>true</code>.\n */\n mainAxis?: boolean;\n /**\n * cross axis in which shifting is applied. Default <code>false</code>.\n */\n crossAxis?: boolean;\n};\n\n/**\n * This describes the virtual padding around the collision boundary (currently the view port).\n * This could be extended in the future,\n * i.e. property to define what is a boundary ( a view port, a document, some other html element)\n */\nexport type BoundaryOptions = {\n padding?:\n | number\n | {\n top: number;\n right: number;\n bottom: number;\n left: number;\n };\n};\n/**\n * Specifies the resizing behaviour for max-height and max-width of the floating component.\n * The floating element will change the size depending on the available space.\n * isMaxHeightAdjusted/isMaxWidthAdjusted - sets the max-height/max-width of the floating to the available space till the collision.\n * maxHeightCeiling/maxWidthCeiling - this is the limit for max-height/max-width that should not be exceeded, even if there is more available space till the collision.\n */\nexport type SizeOptions = {\n isMaxWidthAdjusted?: boolean;\n isMaxHeightAdjusted?: boolean;\n maxHeightCeiling?: number;\n maxWidthCeiling?: number;\n};\n\ntype Props = IntrinsicProps &\n Pick<ColorProps, 'backgroundColor'> & {\n /**\n * <p>Placement of the floating element relative to its reference element.</p>\n * <p>Placement consists of two parts, the first part is the side, the second is the alignment.</p>\n * <p>Possible values are:</p>\n * <p> <code>'top' </code> <code>'top-start' </code> <code> 'top-end' </code> <code> 'top-start-corner' </code> <code> 'top-end-corner' </code>\n * <code> 'end' </code> <code> 'end-top' </code> <code> 'end-bottom' </code> <code> 'end-top-corner' </code> <code> 'end-bottom-corner' </code>\n * <code> 'bottom' </code> <code> 'bottom-start' </code> <code> 'bottom-end' </code> <code> 'bottom-start-corner' </code> <code> 'bottom-end-corner' </code>\n * <code> 'start' </code> <code> 'start-top' </code> <code> 'start-bottom' </code> <code> 'start-top-corner' </code> <code> 'start-bottom-corner' </code>\n * </p>\n */\n placement?: Placement;\n\n /**\n * Trigger element reference.\n */\n anchorRef: RefObject<Element | Coords>;\n\n /**\n * Placement offset.\n * Offset displaces the floating element from its core placement along the specified axes.\n * Offset could be a number or an object\n * A number represents the distance (gutter or margin) between the floating element and the reference element.\n * This is shorthand for mainAxis.\n * <pre>\n * {\n * mainAxis?: number;\n * crossAxis?: number;\n * }\n * </pre>\n * <p><code>mainAxis</code> - represents the distance (gutter or margin) between the floating element and the reference element.</p>\n * <p><code>crossAxis</code> - represents the shifting between the floating element and the reference element.<p>\n */\n offsetValue?: Offset;\n\n /**\n * Click outside callback.\n */\n onClickOutside?: (event: MouseEvent) => void;\n\n /**\n * FlipOptions object\n * <pre>\n * type FlipOptions = {\n * mainAxis?: boolean;\n * crossAxis?: boolean;\n * fallbackPlacements?: Array<Placement>;\n * }\n * </pre>\n * <p>Specifies the flipping behavior along the respective axis.<p>\n * <p><code>mainAxis</code> - If set to true, enables collision detection on the main axis, which runs along the floating placement side.\n * Default is <code>true</code>.\n * </p>\n * <p><code>crossAxis</code> - If set to true, enables collision detection on the cross axis, which runs along the floating placement alignment.\n * Default is <code>false</code>.\n * </p>\n * <p><code>fallbackPlacements</code> - specifies an array of placements to try if the preferred initial placement doesn’t fit on the axes in which collision is detected.\n * The fallback placements will be tried in the order they are specified in the array.\n * The following placements are allowed as values of the array:\n * <code>'top'</code>, <code>'top-start'</code>, <code>'top-end'</code>, <code>'start'</code>, <code>'start-top'</code>, <code>'start-bottom'</code>, <code>'bottom'</code>,\n * <code>'bottom-start'</code>, <code>'bottom-end'</code>, <code>'end'</code>, <code>'end-top'</code>, <code>'end-bottom'</code>.\n * <p>\n * If not specified, the default behaviour is to flip to the side <code>opposite</code> to the one in which collision is detected\n * </p>\n * </p>\n */\n flipOptions?: FlipOptions;\n\n /**\n * Specifies the shift behavior along the respective axis. When true, the floating element will shift to prevent overflow.\n * <pre>\n * type ShiftOptions = {\n * mainAxis?: boolean;\n * crossAxis?: boolean;\n * };\n * </pre>\n * <p><code>mainAxis</code> - main axis in which shifting is applied. Default <code>true</code>.</p>\n * <p><code>crossAxis</code> - cross axis in which shifting is applied. Default <code>false</code>.</p>\n */\n shiftOptions?: ShiftOptions;\n\n /**\n * Triggered when placement or coordinates are changed after collision is detected\n */\n onPosition?: (data: PositionData) => void;\n\n /**\n * Tail\n */\n tail?: 'none' | 'simple';\n\n /**\n * Specifies the resizing behaviour for max-height and max-width of the floating component.\n * <pre>\n * type SizeOptions = {\n * isMaxWidthAdjusted?: boolean;\n * isMaxHeightAdjusted?: boolean;\n * maxHeightCeiling?: number;\n * maxWidthCeiling?: number;\n * }\n * </pre>\n * <p><code>isMaxHeightAdjusted</code> and <code>isMaxWidthAdjusted</code> - sets the max-height/max-width of the floating to the available space till the collision.\n * When either of the options isMaxHeightAdjusted, isMaxWidthAdjusted is true, the floating element will change the size depending on the available space.\n * Default values are <code>'false'</code>.</p>\n * <p><code>maxHeightCeiling</code> and <code>maxWidthCeiling</code> - are maximal values that could not be exceeded.\n * Defaults are undefined and it means to use full available width/height.</p>\n */\n sizeOptions?: SizeOptions;\n\n /**\n * <p>This describes the virtual padding around the collision boundary (currently the view port).</p>\n * <p>This could be extended in the future,\n * i.e. property to define what is a boundary\n * ( a view port, a document, some other html element)</p>\n * <pre>\n * type BoundaryOptions = {\n * padding?: number | {\n * top: number;\n * right: number;\n * bottom: number;\n * left: number;\n * };\n * }\n * </pre>\n * Default value for padding is 0.\n */\n boundaryOptions?: BoundaryOptions;\n };\n\nfunction isElement(value: any): value is Element {\n return value instanceof Element;\n}\n\n/**\n * A floating component allows the user to create a floating element that is displayed relative to an anchor element or pointer coordinates\n * and at the same time on the \"top layer\" of all other elements.\n * The Floating component is a base component and is often used by such components as Popup, Tooltip, SelectMultiple, Menu and other components.\n */\nexport const Floating = forwardRef(\n (\n {\n children,\n backgroundColor,\n onClickOutside,\n placement = 'bottom',\n anchorRef,\n offsetValue,\n class: className,\n tail = 'none',\n flipOptions = { mainAxis: true, crossAxis: false },\n shiftOptions = { mainAxis: true, crossAxis: false },\n sizeOptions = { isMaxHeightAdjusted: false, isMaxWidthAdjusted: false },\n boundaryOptions = { padding: 0 },\n onPosition\n }: Props,\n ref: ForwardedRef<HTMLElement | null>\n ) => {\n const arrowRef = useRef<HTMLDivElement>(null);\n const [positionData, setPositionData] = useState<PositionData>();\n\n const [previousAnchor, setPreviousAnchor] = useState<Element | Coords | null>(null);\n\n const { styles, baseTheme } = useComponentTheme<never, FloatingStyles>(FloatingRedwoodTheme);\n\n // we need to be sure anchorRef.current exists in first call\n // to be able to set the previousAnchor state\n useLayoutEffect(() => {\n setPreviousAnchor(anchorRef.current);\n }, [anchorRef]);\n\n // In case anchorRef.current changes and we need to update floating position\n // when it changes, we need to have copy in the state.\n // For example when anchorRef is Coords( virtual element)\n if (anchorRef.current !== previousAnchor) {\n setPreviousAnchor(anchorRef.current);\n }\n\n const { direction } = useUser();\n const isRtl = direction === 'rtl';\n\n const _onPosition = useCallback(\n (data: PositionData) => {\n setPositionData(data);\n onPosition?.(data);\n },\n [onPosition]\n );\n\n const middleware = [\n offset(offsetValue),\n flip({\n mainAxis: flipOptions.mainAxis,\n crossAxis: flipOptions.crossAxis,\n fallbackPlacements: flipOptions.fallbackPlacements?.map((placement) =>\n logicalSide(placement, direction)\n ),\n padding: boundaryOptions.padding\n }),\n shift({\n mainAxis: shiftOptions.mainAxis,\n crossAxis: shiftOptions.crossAxis,\n limiter: limitShift({\n mainAxis: shiftOptions.mainAxis,\n crossAxis: shiftOptions.crossAxis\n })\n }),\n ...(arrowRef.current\n ? [\n arrow({\n element: arrowRef.current\n })\n ]\n : [])\n ];\n if (sizeOptions.isMaxHeightAdjusted || sizeOptions.isMaxWidthAdjusted) {\n middleware.push(\n size({\n apply({ availableWidth, availableHeight, elements }) {\n if (sizeOptions.isMaxHeightAdjusted) {\n if (parseInt(elements.floating.style.maxHeight) !== availableHeight) {\n Object.assign(elements.floating.style, {\n maxHeight: `${Math.min(\n availableHeight,\n sizeOptions.maxHeightCeiling || availableHeight\n )}px`\n });\n }\n }\n\n if (sizeOptions.isMaxWidthAdjusted) {\n if (parseInt(elements.floating.style.maxWidth) !== availableWidth) {\n Object.assign(elements.floating.style, {\n maxWidth: `${Math.min(\n availableWidth,\n sizeOptions.maxWidthCeiling || availableWidth\n )}px`\n });\n }\n }\n },\n\n padding: boundaryOptions.padding\n })\n );\n }\n\n const { x, y, reference, floating, refs, update } = useFloating({\n placement: placement,\n middleware: middleware,\n onPosition: _onPosition\n });\n\n // To solve \"loop limit exceeds\" problem from the ResizeObserver in autoUpdate\n // we need to make sure that we utilize autoUpdate function\n // after the Floating component is positioned and has x, y coordinates.\n const [isPositioned, setIsPositioned] = useState(false);\n\n // here autoUpdate should be called only once during the Component lifecycle,\n // if the floating, reference, placement and middleware do not change\n useEffect(() => {\n if (!refs.reference.current || !refs.floating.current || isPositioned !== true) {\n return;\n }\n\n return autoUpdate(refs.reference.current, refs.floating.current, update);\n }, [refs.floating, refs.reference, update, isPositioned]);\n\n // here we should know when the Floating is positioned\n useEffect(() => {\n if (x != null && y != null) {\n setIsPositioned(true);\n }\n }, [x, y]);\n\n useOutsideClick({ isDisabled: false, ref: refs.floating, handler: onClickOutside });\n\n function createVirtualElement(\n domRef: Element | null,\n data: {\n axis: 'x' | 'y' | 'both';\n x: number | null;\n y: number | null;\n }\n ) {\n let offsetX: number | null = null;\n let offsetY: number | null = null;\n let isAutoUpdateEvent = false;\n\n return {\n contextElement: domRef || undefined,\n getBoundingClientRect() {\n const domRect = domRef?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n\n if (!isAutoUpdateEvent) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n\n isAutoUpdateEvent = true;\n const virtEl = {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n\n return virtEl;\n }\n };\n }\n\n useLayoutEffect(() => {\n if (isElement(previousAnchor)) {\n const element = previousAnchor as Element;\n reference(element);\n return;\n }\n const coords = previousAnchor as Coords;\n if (coords != null && coords.contextElement != null) {\n const virtualEl = createVirtualElement(coords.contextElement, {\n axis: 'both',\n x: coords.x,\n y: coords.y\n });\n reference(virtualEl);\n return;\n }\n const virtualEl: VirtualElement = {\n getBoundingClientRect() {\n return {\n width: 0,\n height: 0,\n x: coords!.x,\n y: coords!.y,\n top: coords!.y,\n left: coords!.x,\n right: coords!.x,\n bottom: coords!.y\n };\n }\n };\n if (coords && coords.x != null) {\n reference(virtualEl);\n }\n }, [previousAnchor, reference]);\n\n const stableRef = useMemo(() => mergeRefs(ref, floating), [ref, floating]);\n const positionStyle = { top: y, left: x };\n\n let assignedVars = {}; // empty var override unless background is specified\n if (backgroundColor) {\n assignedVars = assignInlineVars({\n [floatingVars.backgroundColor]: backgroundColor\n });\n }\n\n const visibilityStyles =\n x == null && y == null ? floatingVisibilityStyles.hidden : floatingVisibilityStyles.visible;\n const floatingClasses = classNames([className, baseTheme, styles.baseStyle, visibilityStyles]);\n const isAnchorMounted = anchorRef && anchorRef.current;\n const content = (\n <div class={floatingClasses} ref={stableRef} style={{ ...positionStyle, ...assignedVars }}>\n {children}\n {isAnchorMounted && (\n <FloatingTail\n ref={arrowRef}\n backgroundColor={backgroundColor}\n data={positionData}\n anchorRef={anchorRef}\n tail={tail}\n isRtl={isRtl}\n />\n )}\n </div>\n );\n return content;\n }\n);\n"],"names":["FloatingTail","forwardRef","data","anchorRef","tail","isRtl","backgroundColor","ref","styles","baseTheme","useComponentTheme","FloatingRedwoodTheme","arrowRef","useRef","arrowStyles","setArrowStyles","useState","arrowStyle","visibility","arrowInnerStyle","useLayoutEffect","current","isCornerVerticalPlacement","isCornerHorizontalPlacement","arrow","centerOffset","arrowSize","anchorRefHeight","anchorRefWidth","isAnchorRefElement","undefined","x","y","Math","round","getBoundingClientRect","height","width","abs","includes","origPlacement","isCorner","result","innerResult","arrowSizeCorner","arrowInnerSize","arrowInnerSizeCorner","isCenter","isCenterOffsetPositive","setArrowSizes","isCornerPlacement","arrowFinalSize","setArrowStyle","borderTop","getSize","rgba","colorSchemeVars","palette","neutral","borderRight","getTransparentBorder","borderLeft","arrowInnerFinalSize","setArrowInnerStyle","style","Object","assign","getTurn","eighth","size","placement","split","setArrowTop","setArrowStart","setArrowEnd","setArrowBottom","top","bottom","left","transform","setCornerArrowInner","setNonCornerArrowInner","right","setStyles","offset","stableRef","useMemo","mergeRefs","_jsxs","class","classNames","floatingTailBaseStyle","children","_jsx","Floating","onClickOutside","offsetValue","className","flipOptions","mainAxis","crossAxis","shiftOptions","sizeOptions","isMaxHeightAdjusted","isMaxWidthAdjusted","boundaryOptions","padding","onPosition","positionData","setPositionData","previousAnchor","setPreviousAnchor","direction","useUser","_onPosition","useCallback","middleware","flip","fallbackPlacements","map","logicalSide","shift","limiter","limitShift","element","push","apply","availableWidth","availableHeight","elements","parseInt","floating","maxHeight","min","maxHeightCeiling","maxWidth","maxWidthCeiling","reference","refs","update","useFloating","isPositioned","setIsPositioned","useEffect","autoUpdate","useOutsideClick","isDisabled","handler","Element","coords","contextElement","virtualEl","domRef","offsetX","offsetY","isAutoUpdateEvent","domRect","isXAxis","axis","isYAxis","createVirtualElement","positionStyle","assignedVars","assignInlineVars","floatingVars","visibilityStyles","floatingVisibilityStyles","hidden","visible","floatingClasses","baseStyle","isAnchorMounted"],"mappings":"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EtC,IAAImI,EAAe,CAAA,EACf5J,IACF4J,EAAeC,EAAAA,iBAAiB,CAC9B,CAACC,EAAAA,aAAa9J,iBAAkBA,KAIpC,MAAM+J,EACC,MAALtI,GAAkB,MAALC,EAAYsI,2BAAyBC,OAASD,EAAwBA,yBAACE,QAChFC,EAAkB/E,EAAUA,WAAC,CAACO,EAAWxF,EAAWD,EAAOkK,UAAWL,IACtEM,EAAkBxK,GAAaA,EAAUkB,QAgB/C,OAdEmE,EAAAA,KAAK,MAAA,CAAAC,MAAOgF,EAAiBlK,IAAK8E,EAAWrB,MAAO,IAAKiG,KAAkBC,GAActE,SAAA,CACtFA,EACA+E,GACC9E,EAAAA,IAAC7F,EACC,CAAAO,IAAKK,EACLN,gBAAiBA,EACjBJ,KAAM0G,EACNzG,UAAWA,EACXC,KAAMA,EACNC,MAAOA,MAKD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(['exports', 'preact/jsx-runtime', './vanilla-extract-dynamic.esm-eceadd82', './useComponentTheme-5aa41a8f', './FormContext-5130e198', './useFormContext-30acdd33', './UNSAFE_FormLayout/themes/FormLayoutStyles.css', './LayoutStyles.css-c8bc984d', './UNSAFE_FormLayout/themes/redwood/FormLayoutTheme', './classNames-08d99695', './useTestId-
|
|
1
|
+
define(['exports', 'preact/jsx-runtime', './vanilla-extract-dynamic.esm-eceadd82', './useComponentTheme-5aa41a8f', './FormContext-5130e198', './useFormContext-30acdd33', './UNSAFE_FormLayout/themes/FormLayoutStyles.css', './LayoutStyles.css-c8bc984d', './UNSAFE_FormLayout/themes/redwood/FormLayoutTheme', './classNames-08d99695', './useTestId-c286f212'], (function(e,s,t,a,o,l,n,i,r,u,d){"use strict";e.FormLayout=({columns:e=1,columnBehavior:m="responsive",columnSpan:c=1,direction:y="row",isFullWidth:p,isReadonly:h,labelEdge:F,labelStartWidth:b,labelWrapping:x,userAssistanceDensity:S,children:C,testId:L})=>{const{isDisabled:W,isFormLayout:g,isReadonly:v,labelEdge:T,labelStartWidth:A,labelWrapping:f,textAlign:D,userAssistanceDensity:E}=l.useFormContext(),I=d.useTestId(L),j=d.useTestId(`${L}_layout`),N=h??v,R=F??T,w=b??A,V=x??f,$=S??(g?E:"efficient"),_=t.assignInlineVars({[i.layoutLocalVars.maxColumnCount]:`${e}`,[i.layoutLocalVars.minColumnCount]:`${"responsive"===m?1:e}`}),{baseTheme:B,classes:U}=a.useComponentTheme(r.FormLayoutRedwoodTheme,{columnBehavior:m,direction:y});return s.jsx(o.FormContext.Provider,{value:{isDisabled:W,isFormLayout:!0,isReadonly:N,labelEdge:R,labelStartWidth:w,labelWrapping:V,textAlign:D,userAssistanceDensity:$},children:s.jsx("div",{class:u.classNames([B,n.styles.rootWrapperStyle,p&&n.styles.rootWrapperFullWidthStyle,i.layoutSpanStyles.layoutSpanColumn[c]]),...I,style:_,children:s.jsx("div",{class:U,...j,children:C})})})}}));
|
|
2
2
|
//# sourceMappingURL=FormLayout-3d643cdf.js.map
|