@oracle/oraclejet-preact 21.0.0 → 21.0.1
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/{BaseDiagram-295ed9cc.js → BaseDiagram-7845a7ae.js} +2 -2
- package/amd/{BaseDiagram-295ed9cc.js.map → BaseDiagram-7845a7ae.js.map} +1 -1
- package/amd/{BaseNavigationListItem-299cbfab.js → BaseNavigationListItem-0efcad58.js} +2 -2
- package/amd/{BaseNavigationListItem-299cbfab.js.map → BaseNavigationListItem-0efcad58.js.map} +1 -1
- package/amd/{CollapsibleNavigationListExternalLinkItem-fcf1805d.js → CollapsibleNavigationListExternalLinkItem-06a92293.js} +2 -2
- package/amd/{CollapsibleNavigationListExternalLinkItem-fcf1805d.js.map → CollapsibleNavigationListExternalLinkItem-06a92293.js.map} +1 -1
- package/amd/{ColorInputText-55b31f03.js → ColorInputText-3ac0f956.js} +2 -2
- package/amd/{ColorInputText-55b31f03.js.map → ColorInputText-3ac0f956.js.map} +1 -1
- package/amd/ColorPickerVariants.styles.css +1 -1
- package/amd/ColorPickerVariants.styles2.css +1 -1
- package/amd/ColorSwatchVariants.styles.css +1 -1
- package/amd/ColorSwatchVariants.styles2.css +1 -1
- package/amd/ContainerDiagram-5e392270.js +2 -0
- package/amd/{ContainerDiagram-521f402a.js.map → ContainerDiagram-5e392270.js.map} +1 -1
- package/amd/ConveyorBeltVariants.styles.css +6 -6
- package/amd/ConveyorBeltVariants.styles2.css +6 -6
- package/amd/{Diagram-b73d20a3.js → Diagram-3ef5b038.js} +2 -2
- package/amd/{Diagram-b73d20a3.js.map → Diagram-3ef5b038.js.map} +1 -1
- package/amd/DiagramStyles.styles2.css +16 -10
- package/amd/DiagramStyles.styles3.css +10 -16
- package/amd/DrawerPopupVariants.styles.css +5 -5
- package/amd/DrawerPopupVariants.styles2.css +5 -5
- package/amd/Expander-4b1f2445.js +2 -0
- package/amd/{Expander-150fa95e.js.map → Expander-4b1f2445.js.map} +1 -1
- package/amd/FormLayoutVariants.styles.css +14 -14
- package/amd/FormLayoutVariants.styles2.css +14 -14
- package/amd/IndentedCellLayout-dc0896ab.js +1 -1
- package/amd/IndentedCellLayout-dc0896ab.js.map +1 -1
- package/amd/{InputColor-019b9397.js → InputColor-96a82077.js} +2 -2
- package/amd/{InputColor-019b9397.js.map → InputColor-96a82077.js.map} +1 -1
- package/amd/InputDatePicker-37824ba4.js +2 -0
- package/amd/{InputDatePicker-613800d1.js.map → InputDatePicker-37824ba4.js.map} +1 -1
- package/amd/ListStyles.styles.css +105 -7
- package/amd/ListStyles.styles2.css +7 -105
- package/amd/MeterCircleVariants.styles.css +8 -8
- package/amd/MeterCircleVariants.styles2.css +8 -8
- package/amd/NavigationListExternalLinkItem-382cd5a2.js +2 -0
- package/amd/{NavigationListExternalLinkItem-3d98a9e8.js.map → NavigationListExternalLinkItem-382cd5a2.js.map} +1 -1
- package/amd/NavigationListLinkItem-8ed2c18d.js +2 -0
- package/amd/{NavigationListLinkItem-c4b2b73c.js.map → NavigationListLinkItem-8ed2c18d.js.map} +1 -1
- package/amd/OverflowTabBar-9e7277f4.js +2 -0
- package/amd/OverflowTabBar-9e7277f4.js.map +1 -0
- package/amd/OverflowTabBarItem-7d80beed.js +2 -0
- package/amd/{OverflowTabBarItem-11f199ee.js.map → OverflowTabBarItem-7d80beed.js.map} +1 -1
- package/amd/PRIVATE_BaseDiagram.js +1 -1
- package/amd/PRIVATE_List/themes/ListStyles.css.js +1 -1
- package/amd/PRIVATE_List.js +1 -1
- package/amd/PRIVATE_SelectCommon.js +1 -1
- package/amd/PRIVATE_Table.js +1 -1
- package/amd/PRIVATE_TableList/themes/ListStyles.css.js +1 -1
- package/amd/PRIVATE_TableList/themes/redwood/ListTheme.js +1 -1
- package/amd/PRIVATE_TableList/themes/redwood/ListTheme.js.map +1 -1
- package/amd/PRIVATE_TableList/themes/redwood/ListVariants.css.js +1 -1
- package/amd/PRIVATE_TableList/themes/stable/ListTheme.js +1 -1
- package/amd/PRIVATE_TableList/themes/stable/ListTheme.js.map +1 -1
- package/amd/PRIVATE_TableList/themes/stable/ListVariants.css.js +1 -1
- package/amd/PRIVATE_TableList.js +1 -1
- package/amd/ProgressBarVariants.styles.css +1 -1
- package/amd/ProgressBarVariants.styles2.css +1 -1
- package/amd/ProgressCircleVariants.styles.css +4 -4
- package/amd/ProgressCircleVariants.styles2.css +4 -4
- package/amd/RadioIconVariants.styles.css +3 -3
- package/amd/RadioIconVariants.styles2.css +3 -3
- package/amd/{ReorderableTabBar-35cce8ac.js → ReorderableTabBar-7fb56c0b.js} +2 -2
- package/amd/{ReorderableTabBar-35cce8ac.js.map → ReorderableTabBar-7fb56c0b.js.map} +1 -1
- package/amd/SortControl-eb114fee.js +2 -0
- package/amd/{SortControl-115bc431.js.map → SortControl-eb114fee.js.map} +1 -1
- package/amd/TabBar-34e0073f.js +2 -0
- package/amd/TabBar-34e0073f.js.map +1 -0
- package/amd/{TabBarItem-191d0223.js → TabBarItem-60866864.js} +2 -2
- package/amd/{TabBarItem-191d0223.js.map → TabBarItem-60866864.js.map} +1 -1
- package/amd/TabBarItemVariants.styles.css +3 -3
- package/amd/TabBarItemVariants.styles2.css +3 -3
- package/amd/{TabBarLinkItem-5f376f4e.js → TabBarLinkItem-7b5b5b73.js} +2 -2
- package/amd/{TabBarLinkItem-5f376f4e.js.map → TabBarLinkItem-7b5b5b73.js.map} +1 -1
- package/amd/TabBarMixed-b61a657d.js +2 -0
- package/amd/{TabBarMixed-e16ca418.js.map → TabBarMixed-b61a657d.js.map} +1 -1
- package/amd/{Table-76c8555b.js → Table-caf0eeb9.js} +2 -2
- package/amd/{Table-76c8555b.js.map → Table-caf0eeb9.js.map} +1 -1
- package/amd/{TableDisplay-938d743b.js → TableDisplay-d2efde54.js} +2 -2
- package/amd/{TableDisplay-938d743b.js.map → TableDisplay-d2efde54.js.map} +1 -1
- package/amd/{TableView-490cc209.js → TableView-94381f75.js} +2 -2
- package/amd/{TableView-490cc209.js.map → TableView-94381f75.js.map} +1 -1
- package/amd/Theme-redwood/theme.css +301 -306
- package/amd/Theme-stable/theme.css +542 -537
- package/amd/TrainVariants.styles.css +6 -6
- package/amd/TrainVariants.styles2.css +6 -6
- package/amd/{TreeTableView-1b66b880.js → TreeTableView-ef0d26bd.js} +2 -2
- package/amd/{TreeTableView-1b66b880.js.map → TreeTableView-ef0d26bd.js.map} +1 -1
- package/amd/UNSAFE_CollapsibleNavigationList.js +1 -1
- package/amd/UNSAFE_ColorInputText.js +1 -1
- package/amd/UNSAFE_ColorPalette.js +1 -1
- package/amd/UNSAFE_ColorPicker/themes/redwood/ColorPickerTheme.js +1 -1
- package/amd/UNSAFE_ColorPicker/themes/redwood/ColorPickerTheme.js.map +1 -1
- package/amd/UNSAFE_ColorPicker/themes/redwood/ColorPickerVariants.css.js +1 -1
- package/amd/UNSAFE_ColorPicker/themes/stable/ColorPickerTheme.js +1 -1
- package/amd/UNSAFE_ColorPicker/themes/stable/ColorPickerTheme.js.map +1 -1
- package/amd/UNSAFE_ColorPicker/themes/stable/ColorPickerVariants.css.js +1 -1
- package/amd/UNSAFE_ColorPicker.js +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/redwood/ColorSwatchTheme.js +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/redwood/ColorSwatchTheme.js.map +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/redwood/ColorSwatchVariants.css.js +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/stable/ColorSwatchTheme.js +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/stable/ColorSwatchTheme.js.map +1 -1
- package/amd/UNSAFE_ColorSwatch/themes/stable/ColorSwatchVariants.css.js +1 -1
- package/amd/UNSAFE_ColorSwatch.js +1 -1
- package/amd/UNSAFE_ContainerDiagram/themes/DiagramStyles.css.js +1 -1
- package/amd/UNSAFE_ContainerDiagram.js +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltTheme.js +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltTheme.js.map +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/redwood/ConveyorBeltVariants.css.js +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltTheme.js +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltTheme.js.map +1 -1
- package/amd/UNSAFE_ConveyorBelt/themes/stable/ConveyorBeltVariants.css.js +1 -1
- package/amd/UNSAFE_ConveyorBelt.js +1 -1
- package/amd/UNSAFE_Diagram/themes/DiagramStyles.css.js +1 -1
- package/amd/UNSAFE_Diagram.js +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupTheme.js +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupTheme.js.map +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/redwood/DrawerPopupVariants.css.js +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/stable/DrawerPopupTheme.js +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/stable/DrawerPopupTheme.js.map +1 -1
- package/amd/UNSAFE_DrawerPopup/themes/stable/DrawerPopupVariants.css.js +1 -1
- package/amd/UNSAFE_DrawerPopup.js +1 -1
- package/amd/UNSAFE_Expander.js +1 -1
- package/amd/UNSAFE_FormLayout/themes/redwood/FormLayoutTheme.js +1 -1
- package/amd/UNSAFE_FormLayout/themes/redwood/FormLayoutTheme.js.map +1 -1
- package/amd/UNSAFE_FormLayout/themes/redwood/FormLayoutVariants.css.js +1 -1
- package/amd/UNSAFE_FormLayout/themes/stable/FormLayoutTheme.js +1 -1
- package/amd/UNSAFE_FormLayout/themes/stable/FormLayoutTheme.js.map +1 -1
- package/amd/UNSAFE_FormLayout/themes/stable/FormLayoutVariants.css.js +1 -1
- package/amd/UNSAFE_FormLayout.js +1 -1
- package/amd/UNSAFE_HierarchicalList.js +1 -1
- package/amd/UNSAFE_IconProgressButton.js +1 -1
- package/amd/UNSAFE_IndentedCellLayout.js +1 -1
- package/amd/UNSAFE_InlineSelectSingle.js +1 -1
- package/amd/UNSAFE_InputColor.js +1 -1
- package/amd/UNSAFE_InputDatePicker.js +1 -1
- package/amd/UNSAFE_InputSearch.js +1 -1
- package/amd/UNSAFE_InputSearch.js.map +1 -1
- package/amd/UNSAFE_InputTimePicker.js +1 -1
- package/amd/UNSAFE_InputTimePicker.js.map +1 -1
- package/amd/UNSAFE_ListView.js +1 -1
- package/amd/UNSAFE_MeterCircle/themes/redwood/MeterCircleTheme.js +1 -1
- package/amd/UNSAFE_MeterCircle/themes/redwood/MeterCircleTheme.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/themes/redwood/MeterCircleVariants.css.js +1 -1
- package/amd/UNSAFE_MeterCircle/themes/stable/MeterCircleTheme.js +1 -1
- package/amd/UNSAFE_MeterCircle/themes/stable/MeterCircleTheme.js.map +1 -1
- package/amd/UNSAFE_MeterCircle/themes/stable/MeterCircleVariants.css.js +1 -1
- package/amd/UNSAFE_MeterCircle.js +1 -1
- package/amd/UNSAFE_NavigationList.js +1 -1
- package/amd/UNSAFE_OverflowTabBar.js +1 -1
- package/amd/UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme.js +1 -1
- package/amd/UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/themes/redwood/ProgressBarVariants.css.js +1 -1
- package/amd/UNSAFE_ProgressBar/themes/stable/ProgressBarTheme.js +1 -1
- package/amd/UNSAFE_ProgressBar/themes/stable/ProgressBarTheme.js.map +1 -1
- package/amd/UNSAFE_ProgressBar/themes/stable/ProgressBarVariants.css.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/themes/redwood/ProgressCircleTheme.js +1 -1
- package/amd/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleVariants.css.js +1 -1
- package/amd/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js +1 -1
- package/amd/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js.map +1 -1
- package/amd/UNSAFE_ProgressCircle/themes/stable/ProgressCircleVariants.css.js +1 -1
- package/amd/UNSAFE_ProgressCircle.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/redwood/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconTheme.js.map +1 -1
- package/amd/UNSAFE_RadioItem/themes/stable/RadioIconVariants.css.js +1 -1
- package/amd/UNSAFE_RadioItem.js +1 -1
- package/amd/UNSAFE_Refresher.js +1 -1
- package/amd/UNSAFE_ReorderableTabBar.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js +1 -1
- package/amd/UNSAFE_RichSelectionItem.js.map +1 -1
- package/amd/UNSAFE_SelectMultiple.js +1 -1
- package/amd/UNSAFE_SelectSingle.js +1 -1
- package/amd/UNSAFE_SortControl.js +1 -1
- package/amd/UNSAFE_TabBar.js +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/redwood/TabBarItemTheme.js +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/redwood/TabBarItemTheme.js.map +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css.js +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/stable/TabBarItemTheme.js +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/stable/TabBarItemTheme.js.map +1 -1
- package/amd/UNSAFE_TabBarCommon/themes/stable/TabBarItemVariants.css.js +1 -1
- package/amd/UNSAFE_TabBarCommon.js +1 -1
- package/amd/UNSAFE_TabBarMixed.js +1 -1
- package/amd/UNSAFE_TableDisplay.js +1 -1
- package/amd/UNSAFE_TableView.js +1 -1
- package/amd/UNSAFE_TimePicker.js +1 -1
- package/amd/UNSAFE_Train/themes/redwood/TrainTheme.js +1 -1
- package/amd/UNSAFE_Train/themes/redwood/TrainTheme.js.map +1 -1
- package/amd/UNSAFE_Train/themes/redwood/TrainVariants.css.js +1 -1
- package/amd/UNSAFE_Train/themes/stable/TrainTheme.js +1 -1
- package/amd/UNSAFE_Train/themes/stable/TrainTheme.js.map +1 -1
- package/amd/UNSAFE_Train/themes/stable/TrainVariants.css.js +1 -1
- package/amd/UNSAFE_Train.js +1 -1
- package/amd/UNSAFE_TreeTableView.js +1 -1
- package/amd/UNSAFE_TreeView.js +1 -1
- package/amd/UNSAFE_VirtualizedListView.js +1 -1
- package/amd/hooks/PRIVATE_useDetectHorizontalOverflow.js +1 -1
- package/amd/hooks/PRIVATE_useTabBar.js +1 -1
- package/amd/useDetectHorizontalOverflow-88d9b328.js +2 -0
- package/amd/useDetectHorizontalOverflow-88d9b328.js.map +1 -0
- package/amd/useTabBar-edf8f8a1.js +2 -0
- package/amd/useTabBar-edf8f8a1.js.map +1 -0
- package/cjs/AvatarVariants.styles.css +25 -25
- package/cjs/AvatarVariants.styles2.css +25 -25
- package/cjs/{BaseCardView-e38589c6.js → BaseCardView-f3b3402b.js} +4 -1
- package/cjs/{BaseCardView-e38589c6.js.map → BaseCardView-f3b3402b.js.map} +1 -1
- package/cjs/ButtonLabelLayoutVariants.styles.css +8 -8
- package/cjs/ButtonLabelLayoutVariants.styles2.css +8 -8
- package/cjs/CheckboxIconVariants.styles.css +7 -7
- package/cjs/CheckboxIconVariants.styles2.css +7 -7
- package/cjs/ColorPickerVariants.styles.css +1 -1
- package/cjs/ColorPickerVariants.styles2.css +1 -1
- package/cjs/ConveyorBeltVariants.styles.css +6 -6
- package/cjs/ConveyorBeltVariants.styles2.css +6 -6
- package/cjs/DiagramStyles.styles.css +12 -81
- package/cjs/DiagramStyles.styles2.css +81 -12
- package/cjs/InputSearchVariants.styles.css +3 -3
- package/cjs/InputSearchVariants.styles2.css +3 -3
- package/cjs/{List-eea800fd.js → List-436100e1.js} +3 -1
- package/cjs/{List-eea800fd.js.map → List-436100e1.js.map} +1 -1
- package/cjs/MeterBarVariants.styles.css +4 -4
- package/cjs/MeterBarVariants.styles2.css +4 -4
- package/cjs/NavigationListItemVariants.styles.css +5 -5
- package/cjs/NavigationListItemVariants.styles2.css +5 -5
- package/cjs/PRIVATE_BaseCardView.js +1 -1
- package/cjs/PRIVATE_SelectCommon.js +2 -2
- package/cjs/PRIVATE_TableList.js +1 -1
- package/cjs/ProgressBarVariants.styles.css +1 -1
- package/cjs/ProgressBarVariants.styles2.css +1 -1
- package/cjs/ProgressCircleVariants.styles.css +4 -4
- package/cjs/ProgressCircleVariants.styles2.css +4 -4
- package/cjs/RadioIconVariants.styles.css +3 -3
- package/cjs/RadioIconVariants.styles2.css +3 -3
- package/cjs/{TabBar-1cd4ac17.js → TabBar-ba4bcd32.js} +9 -5
- package/cjs/TabBar-ba4bcd32.js.map +1 -0
- package/cjs/TabBarItemVariants.styles.css +3 -3
- package/cjs/TabBarItemVariants.styles2.css +3 -3
- package/cjs/Theme-redwood/theme.css +413 -413
- package/cjs/Theme-stable/theme.css +559 -559
- package/cjs/{TimePicker-25997417.js → TimePicker-fe817eb1.js} +2 -2
- package/cjs/{TimePicker-25997417.js.map → TimePicker-fe817eb1.js.map} +1 -1
- package/cjs/UNSAFE_CardFlexView.js +1 -1
- package/cjs/UNSAFE_CardGridView.js +1 -1
- package/cjs/UNSAFE_ColorInputText.js +82 -82
- package/cjs/UNSAFE_HierarchicalList.js +1 -1
- package/cjs/UNSAFE_InlineSelectSingle.js +3 -3
- package/cjs/UNSAFE_InputColor.js +82 -82
- package/cjs/UNSAFE_InputSearch.js +1 -1
- package/cjs/UNSAFE_InputTimePicker.js +2 -2
- package/cjs/UNSAFE_ListView.js +1 -1
- package/cjs/UNSAFE_OverflowTabBar.js +9 -5
- package/cjs/UNSAFE_OverflowTabBar.js.map +1 -1
- package/cjs/UNSAFE_ReorderableTabBar.js +13 -13
- package/cjs/UNSAFE_RichSelectionItem.js +1 -1
- package/cjs/UNSAFE_SelectMultiple.js +2 -2
- package/cjs/UNSAFE_SelectSingle.js +3 -3
- package/cjs/UNSAFE_TabBar.js +3 -3
- package/cjs/UNSAFE_TabBarMixed.js +26 -26
- package/cjs/UNSAFE_TabBarMixed.js.map +1 -1
- package/cjs/UNSAFE_TextArea.js +174 -72
- package/cjs/UNSAFE_TextArea.js.map +1 -1
- package/cjs/UNSAFE_TextAreaAutosize.js +3 -3
- package/cjs/UNSAFE_TextAreaAutosize.js.map +1 -1
- package/cjs/UNSAFE_TimePicker.js +2 -2
- package/cjs/UNSAFE_TreeView.js +1 -1
- package/cjs/dropdownStyles.styles.css +104 -6
- package/cjs/dropdownStyles.styles2.css +6 -104
- package/cjs/hooks/PRIVATE_useDetectHorizontalOverflow.js +1 -1
- package/cjs/hooks/PRIVATE_useTabBar.js +1 -1
- package/cjs/{useDetectHorizontalOverflow-622817d4.js → useDetectHorizontalOverflow-15084cbf.js} +30 -58
- package/cjs/useDetectHorizontalOverflow-15084cbf.js.map +1 -0
- package/cjs/{useDisplayValue-ce2d071e.js → useDisplayValue-777c9be5.js} +2 -2
- package/cjs/{useDisplayValue-ce2d071e.js.map → useDisplayValue-777c9be5.js.map} +1 -1
- package/cjs/{useSelectCommon-544c22ee.js → useSelectCommon-bb44fdb6.js} +2 -2
- package/cjs/{useSelectCommon-544c22ee.js.map → useSelectCommon-bb44fdb6.js.map} +1 -1
- package/cjs/{useTabBar-ec20851a.js → useTabBar-1cfaf3e6.js} +2 -5
- package/cjs/useTabBar-1cfaf3e6.js.map +1 -0
- package/cjs/useTextAreaAltEnter-27263abe.js +68 -0
- package/cjs/useTextAreaAltEnter-27263abe.js.map +1 -0
- package/es/BaseBarChart-26b0e87c.js +3 -3
- package/es/BaseBarGroup-ff0495d8.js +1 -1
- package/es/{BaseButton-77bb9d91.js → BaseButton-f3a607e1.js} +2 -2
- package/es/{BaseButton-77bb9d91.js.map → BaseButton-f3a607e1.js.map} +1 -1
- package/es/BaseCardView-21ee7272.js +6 -6
- package/es/BaseDiagram-c48f2fc4.js +7 -7
- package/es/BaseNavigationListItem-973e1502.js +5 -5
- package/es/BaseRichSelection-b0ee75b8.js +9 -9
- package/es/BaseSelector-33194eea.js +1 -1
- package/es/BaseSwatchView-028f6717.js +2 -2
- package/es/{Button-64b2d5c7.js → Button-166a6aa3.js} +2 -2
- package/es/{Button-64b2d5c7.js.map → Button-166a6aa3.js.map} +1 -1
- package/es/ButtonSet-6cba414c.js +2 -2
- package/es/ButtonSetButton-125e316b.js +1 -1
- package/es/ButtonSetIconButton-8b969ad2.js +4 -4
- package/es/{Center-e2a7c4c7.js → Center-0388bd0c.js} +2 -2
- package/es/{Center-e2a7c4c7.js.map → Center-0388bd0c.js.map} +1 -1
- package/es/Chart-5d837bee.js +11 -11
- package/es/CheckboxControl-777f547a.js +6 -6
- package/es/CheckboxRadioField-b332f3ef.js +6 -6
- package/es/CheckboxRadioLabelValueLayout-05524fdf.js +1 -1
- package/es/CheckboxSetContext-1be56556.js +9 -0
- package/es/CheckboxSetContext-1be56556.js.map +1 -0
- package/es/Chip-a0b982b3.js +1 -1
- package/es/ClearIcon-f9ae8ca2.js +1 -1
- package/es/CollapseIcon-134ba4b8.js +1 -1
- package/es/Collapsible-6a2da8e9.js +2 -2
- package/es/ColorPalette-660c0665.js +4 -4
- package/es/{ColorPicker-d399a2dc.js → ColorPicker-98ba93ac.js} +3 -3
- package/es/{ColorPicker-d399a2dc.js.map → ColorPicker-98ba93ac.js.map} +1 -1
- package/es/ColorSwatch-ac777ee8.js +5 -5
- package/es/{CompactLabelAssistance-db24bf83.js → CompactLabelAssistance-44907e8b.js} +6 -6
- package/es/{CompactLabelAssistance-db24bf83.js.map → CompactLabelAssistance-44907e8b.js.map} +1 -1
- package/es/CompactUserAssistance-80d7ed0f.js +6 -6
- package/es/ComponentMessageContainer-f95c0576.js +4 -4
- package/es/{DatePicker-56fb4fcf.js → DatePicker-659b8c72.js} +8 -8
- package/es/{DatePicker-56fb4fcf.js.map → DatePicker-659b8c72.js.map} +1 -1
- package/es/DatePickerHeader-2fa4dff3.js +3 -3
- package/es/{Dialog-6fc62c1d.js → Dialog-c1502d03.js} +7 -7
- package/es/{Dialog-6fc62c1d.js.map → Dialog-c1502d03.js.map} +1 -1
- package/es/DirectionalCollapseArrowIcon-1f47a4a6.js +1 -1
- package/es/DirectionalExpandArrowIcon-ddaa04dc.js +1 -1
- package/es/{Dropdown-a3e401ae.js → Dropdown-e3f6f436.js} +6 -6
- package/es/{Dropdown-a3e401ae.js.map → Dropdown-e3f6f436.js.map} +1 -1
- package/es/{EmbeddedIconButton-3824dbe1.js → EmbeddedIconButton-8dca2a64.js} +2 -2
- package/es/{EmbeddedIconButton-3824dbe1.js.map → EmbeddedIconButton-8dca2a64.js.map} +1 -1
- package/es/{EmbeddedTextField-12d0e0a7.js → EmbeddedTextField-e4b319a0.js} +2 -2
- package/es/{EmbeddedTextField-12d0e0a7.js.map → EmbeddedTextField-e4b319a0.js.map} +1 -1
- package/es/{EnvironmentProvider-12bbb301.js → EnvironmentProvider-60423f29.js} +3 -3
- package/es/{EnvironmentProvider-12bbb301.js.map → EnvironmentProvider-60423f29.js.map} +1 -1
- package/es/Expander-19633442.js +2 -2
- package/es/FilmStrip-c0155ba5.js +1 -1
- package/es/{Flex-f0f1bb0d.js → Flex-f5fe143f.js} +2 -2
- package/es/{Flex-f0f1bb0d.js.map → Flex-f5fe143f.js.map} +1 -1
- package/es/{Floating-87cd2bbf.js → Floating-91e0f4c1.js} +4 -4
- package/es/{Floating-87cd2bbf.js.map → Floating-91e0f4c1.js.map} +1 -1
- package/es/FormLayoutVariants.styles.css +14 -14
- package/es/FormLayoutVariants.styles2.css +14 -14
- package/es/{Grid-45385814.js → Grid-67dc57cb.js} +2 -2
- package/es/{Grid-45385814.js.map → Grid-67dc57cb.js.map} +1 -1
- package/es/{HighlightText-39c46ea1.js → HighlightText-790fa99f.js} +2 -2
- package/es/{HighlightText-39c46ea1.js.map → HighlightText-790fa99f.js.map} +1 -1
- package/es/Icon-c0fda273.js +3 -3
- package/es/IconButton-94077753.js +4 -4
- package/es/IconSwitchButton-ced93277.js +4 -4
- package/es/IconToggleButton-8605dd2d.js +4 -4
- package/es/{IconUserAssistance-b03771f5.js → IconUserAssistance-16f55b57.js} +3 -3
- package/es/{IconUserAssistance-b03771f5.js.map → IconUserAssistance-16f55b57.js.map} +1 -1
- package/es/InlineHelp-6a8bd475.js +1 -1
- package/es/InlineUserAssistance-5d329af5.js +5 -5
- package/es/InputDateMask-9255cb45.js +6 -6
- package/es/InputSearchVariants.styles.css +3 -3
- package/es/InputSearchVariants.styles2.css +3 -3
- package/es/InputTimeMask-8f552768.js +6 -6
- package/es/Label-293073f5.js +8 -8
- package/es/LabelValueLayout-cb1f7711.js +1 -1
- package/es/{Layer-937ca8d8.js → Layer-542de448.js} +3 -3
- package/es/{Layer-937ca8d8.js.map → Layer-542de448.js.map} +1 -1
- package/es/{LayerHost-20500ac8.js → LayerHost-c4481db3.js} +2 -2
- package/es/{LayerHost-20500ac8.js.map → LayerHost-c4481db3.js.map} +1 -1
- package/es/{LayerManager-55001240.js → LayerManager-4b79a6a2.js} +2 -2
- package/es/{LayerManager-55001240.js.map → LayerManager-4b79a6a2.js.map} +1 -1
- package/es/Link-530a365a.js +1 -1
- package/es/List-5419d582.js +4 -4
- package/es/List-eab74f6d.js +8 -8
- package/es/{ListItemLayout-bcebf158.js → ListItemLayout-bc6fb853.js} +2 -2
- package/es/{ListItemLayout-bcebf158.js.map → ListItemLayout-bc6fb853.js.map} +1 -1
- package/es/ListStyles.styles.css +7 -105
- package/es/ListStyles.styles2.css +105 -7
- package/es/{LiveRegion-bd98c133.js → LiveRegion-74d90422.js} +2 -2
- package/es/{LiveRegion-bd98c133.js.map → LiveRegion-74d90422.js.map} +1 -1
- package/es/{MaxLengthLiveRegion-8551ea6a.js → MaxLengthLiveRegion-96ac8f1c.js} +3 -3
- package/es/{MaxLengthLiveRegion-8551ea6a.js.map → MaxLengthLiveRegion-96ac8f1c.js.map} +1 -1
- package/es/MenuItemVariants.styles.css +8 -8
- package/es/MenuItemVariants.styles2.css +8 -8
- package/es/Message-f941b6ee.js +2 -2
- package/es/{MessageLayer-0523ebac.js → MessageLayer-7aad786a.js} +6 -6
- package/es/{MessageLayer-0523ebac.js.map → MessageLayer-7aad786a.js.map} +1 -1
- package/es/MessagesManager-a42ca15e.js +3 -3
- package/es/MeterCircleVariants.styles.css +8 -8
- package/es/MeterCircleVariants.styles2.css +8 -8
- package/es/Modal-863676e2.js +3 -3
- package/es/{MonthView-31ced05b.js → MonthView-5ba0a449.js} +5 -5
- package/es/{MonthView-31ced05b.js.map → MonthView-5ba0a449.js.map} +1 -1
- package/es/NavigationList-0281b772.js +4 -4
- package/es/{NumberInputText-8c8fffa0.js → NumberInputText-e001d629.js} +7 -7
- package/es/{NumberInputText-8c8fffa0.js.map → NumberInputText-e001d629.js.map} +1 -1
- package/es/OverflowTabBarItem-75b943ec.js +8 -8
- package/es/PRIVATE_BaseBarChart.js +37 -37
- package/es/PRIVATE_BaseCardView.js +22 -22
- package/es/PRIVATE_BaseDiagram.js +30 -30
- package/es/PRIVATE_BaseSelector.js +17 -17
- package/es/PRIVATE_BaseSwatchView.js +18 -18
- package/es/PRIVATE_Chart.js +36 -36
- package/es/PRIVATE_CheckboxControl.js +25 -25
- package/es/PRIVATE_CheckboxRadioField.js +27 -27
- package/es/PRIVATE_ClearIcon.js +18 -18
- package/es/PRIVATE_DatePickerHeader.js +20 -20
- package/es/PRIVATE_DatePickerLayout.js +4 -4
- package/es/PRIVATE_EmbeddedIconButton.js +6 -6
- package/es/PRIVATE_EmbeddedTextField.js +18 -18
- package/es/PRIVATE_FilmStrip.js +17 -17
- package/es/PRIVATE_FormControls.js +21 -21
- package/es/PRIVATE_IconSwitchButton.js +17 -17
- package/es/PRIVATE_Icons/CheckboxCrossed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxMixed.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOff.js +16 -16
- package/es/PRIVATE_Icons/CheckboxOn.js +16 -16
- package/es/PRIVATE_Icons/None.js +16 -16
- package/es/PRIVATE_InputBase.js +28 -28
- package/es/PRIVATE_List/themes/ListStyles.css.js +1 -1
- package/es/PRIVATE_List.js +22 -22
- package/es/PRIVATE_Message.js +20 -20
- package/es/PRIVATE_MessageLayer.js +12 -12
- package/es/PRIVATE_MonthView.js +20 -20
- package/es/PRIVATE_MonthYearGridView.js +7 -7
- package/es/PRIVATE_PlotArea.js +5 -5
- package/es/PRIVATE_RevealToggleIcon.js +18 -18
- package/es/PRIVATE_RichSelectionCommon.js +28 -28
- package/es/PRIVATE_SelectCommon.js +33 -33
- package/es/PRIVATE_StyledCard.js +17 -17
- package/es/PRIVATE_StyledCheckbox.js +16 -16
- package/es/PRIVATE_StyledSwitch.js +4 -4
- package/es/PRIVATE_SwatchFlexView.js +18 -18
- package/es/PRIVATE_Table.js +39 -39
- package/es/PRIVATE_TableList/themes/ListStyles.css.js +1 -1
- package/es/PRIVATE_TableList/themes/redwood/ListTheme.js +1 -1
- package/es/PRIVATE_TableList/themes/redwood/ListVariants.css.js +1 -1
- package/es/PRIVATE_TableList/themes/stable/ListTheme.js +1 -1
- package/es/PRIVATE_TableList/themes/stable/ListVariants.css.js +1 -1
- package/es/PRIVATE_TableList.js +29 -29
- package/es/PRIVATE_ThemedIcons/CalendarIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartMarqueeSelectIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartPanIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ChartZoomIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxCrossedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxMixedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CheckboxOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CloseIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/CollapseIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/CollapseUpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DecrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DeleteIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DirectionalCollapseArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DirectionalExpandArrowIcon.js +17 -17
- package/es/PRIVATE_ThemedIcons/DragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/DropdownArrowIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ExpandIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/HelpIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/IncrementIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MenuButtonDropdownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageConfirmationIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageErrorIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageInfoIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MessageWarningIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/MinusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/NavDownIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/None.js +16 -16
- package/es/PRIVATE_ThemedIcons/OverviewHorizontalDragHandleIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/PlusIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOffIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/RadioOnIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortAscendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/SortDescendingIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/UnsortedIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewHideIcon.js +16 -16
- package/es/PRIVATE_ThemedIcons/ViewIcon.js +16 -16
- package/es/PRIVATE_TimeComponent.js +19 -19
- package/es/PRIVATE_TruncatingLink.js +16 -16
- package/es/PRIVATE_VisOverview.js +16 -16
- package/es/PRIVATE_VisStatusMessage.js +5 -5
- package/es/PRIVATE_VisTabularDatatip.js +4 -4
- package/es/PolarChartWithDimensions-76ff5180.js +7 -7
- package/es/{Popup-83eb0d14.js → Popup-5e092ea2.js} +10 -10
- package/es/{Popup-83eb0d14.js.map → Popup-5e092ea2.js.map} +1 -1
- package/es/ProgressBarVariants.styles.css +1 -1
- package/es/ProgressBarVariants.styles2.css +1 -1
- package/es/ProgressButtonLabelLayout-66b9ffed.js +3 -3
- package/es/{ProgressCircle-840273b1.js → ProgressCircle-5f423576.js} +2 -2
- package/es/{ProgressCircle-840273b1.js.map → ProgressCircle-5f423576.js.map} +1 -1
- package/es/ProgressCircleVariants.styles.css +4 -4
- package/es/ProgressCircleVariants.styles2.css +4 -4
- package/es/RadioItem-1a4b2f6c.js +6 -6
- package/es/ReadonlyTextField-bddb2cdf.js +2 -2
- package/es/ReadonlyTextFieldInput-bc7ef76e.js +1 -1
- package/es/{ReferenceLineArea-6408ffab.js → ReferenceLineArea-ee334176.js} +3 -3
- package/es/{ReferenceLineArea-6408ffab.js.map → ReferenceLineArea-ee334176.js.map} +1 -1
- package/es/RevealToggleIcon-f599e415.js +1 -1
- package/es/{SectionedContent-55b8f8c6.js → SectionedContent-ce3d19ab.js} +5 -5
- package/es/{SectionedContent-55b8f8c6.js.map → SectionedContent-ce3d19ab.js.map} +1 -1
- package/es/SegmentStyles.styles.css +12 -9
- package/es/SegmentStyles.styles2.css +9 -12
- package/es/SelectMenuGroupContext-ea5310eb.js +6 -6
- package/es/{SelectMobileDropdown-cec84a47.js → SelectMobileDropdown-502af91c.js} +7 -7
- package/es/{SelectMobileDropdown-cec84a47.js.map → SelectMobileDropdown-502af91c.js.map} +1 -1
- package/es/SelectMobileFieldInput-bd65672b.js +4 -4
- package/es/{SelectorAll-855a2050.js → SelectorAll-4b170e2f.js} +5 -5
- package/es/{SelectorAll-855a2050.js.map → SelectorAll-4b170e2f.js.map} +1 -1
- package/es/Sheet-9a10abc4.js +2 -2
- package/es/SortControl-73376bf0.js +3 -3
- package/es/SplitMenuButtonTheme.styles.css +4 -4
- package/es/SplitMenuButtonTheme.styles2.css +4 -4
- package/es/StyledCard-0e89c7fd.js +1 -1
- package/es/{StyledLabelValueLayout-69ac5e9a.js → StyledLabelValueLayout-1ebe21b2.js} +2 -2
- package/es/{StyledLabelValueLayout-69ac5e9a.js.map → StyledLabelValueLayout-1ebe21b2.js.map} +1 -1
- package/es/StyledSwitch-dc6a94af.js +2 -2
- package/es/StyledTextField-56e1a6e7.js +3 -3
- package/es/Submenu-481b3c39.js +1 -1
- package/es/{TabBar-36932ca2.js → TabBar-de0cb67b.js} +14 -12
- package/es/TabBar-de0cb67b.js.map +1 -0
- package/es/TabBarContextMenu-41639eb7.js +2 -2
- package/es/TabBarItemVariants.styles.css +3 -3
- package/es/TabBarItemVariants.styles2.css +3 -3
- package/es/TabBarLayout-5876474d.js +1 -1
- package/es/Table-fd39c1b5.js +9 -9
- package/es/TableColGroup-2f67372c.js +1 -1
- package/es/{TextField-0a9a5a57.js → TextField-a556da78.js} +2 -2
- package/es/{TextField-0a9a5a57.js.map → TextField-a556da78.js.map} +1 -1
- package/es/TextFieldContent-5e5ed450.js +2 -2
- package/es/{TextureDefs-295dccbd.js → TextureDefs-7373dec8.js} +2 -2
- package/es/{TextureDefs-295dccbd.js.map → TextureDefs-7373dec8.js.map} +1 -1
- package/es/Theme-redwood/theme.css +361 -371
- package/es/Theme-stable/theme.css +459 -449
- package/es/TimeComponentCanvas2D-e22cb491.js +6 -6
- package/es/TimePicker-aba30924.js +2 -2
- package/es/ToggleButton-d2b3a635.js +1 -1
- package/es/TreeItemLayout-7783b7bf.js +2 -2
- package/es/TruncatingLink-e0338cb2.js +4 -4
- package/es/TruncatingText-868308d3.js +1 -1
- package/es/UNSAFE_AccordionItemMultiple.js +18 -18
- package/es/UNSAFE_AccordionItemSingle.js +18 -18
- package/es/UNSAFE_ActionCard.js +17 -17
- package/es/UNSAFE_BarChart.js +37 -37
- package/es/UNSAFE_BareButton.js +2 -2
- package/es/UNSAFE_BaseButton.js +5 -5
- package/es/UNSAFE_Button.js +6 -6
- package/es/UNSAFE_ButtonSet.js +17 -17
- package/es/UNSAFE_ButtonSetButton.js +5 -5
- package/es/UNSAFE_ButtonSetIconButton.js +17 -17
- package/es/UNSAFE_ButtonSetItem.js +18 -18
- package/es/UNSAFE_ButtonSetMultiple.js +17 -17
- package/es/UNSAFE_ButtonSetSingle.js +17 -17
- package/es/UNSAFE_Card.js +17 -17
- package/es/UNSAFE_CardFlexView.js +22 -22
- package/es/UNSAFE_CardGridView.js +22 -22
- package/es/UNSAFE_Center.js +5 -5
- package/es/UNSAFE_Checkbox.js +25 -25
- package/es/UNSAFE_CheckboxItem.js +77 -139
- package/es/UNSAFE_CheckboxItem.js.map +1 -1
- package/es/UNSAFE_CheckboxRadioField.js +4 -4
- package/es/UNSAFE_CheckboxSet.js +75 -41
- package/es/UNSAFE_CheckboxSet.js.map +1 -1
- package/es/UNSAFE_Chip.js +2 -2
- package/es/UNSAFE_Collapsible.js +18 -18
- package/es/UNSAFE_CollapsibleNavigationList.js +28 -28
- package/es/UNSAFE_ColorInputText.js +109 -109
- package/es/UNSAFE_ColorPalette.js +21 -21
- package/es/UNSAFE_ColorPicker.js +23 -23
- package/es/UNSAFE_ColorSwatch.js +18 -18
- package/es/UNSAFE_ComboChart.js +38 -38
- package/es/UNSAFE_ComponentMessage.js +20 -20
- package/es/UNSAFE_ContainerDiagram.js +30 -30
- package/es/UNSAFE_ConveyorBelt.js +18 -18
- package/es/UNSAFE_DatePicker.js +27 -27
- package/es/UNSAFE_Diagram.js +30 -30
- package/es/UNSAFE_Dialog.js +22 -22
- package/es/UNSAFE_DragHandle.js +17 -17
- package/es/UNSAFE_DrawerLayout.js +12 -12
- package/es/UNSAFE_DrawerPopup.js +11 -11
- package/es/UNSAFE_Dropdown.js +15 -15
- package/es/UNSAFE_Environment.js +4 -4
- package/es/UNSAFE_Expander.js +20 -20
- package/es/UNSAFE_FilePicker.js +4 -4
- package/es/UNSAFE_FilmStrip.js +19 -19
- package/es/UNSAFE_Flex.js +4 -4
- package/es/UNSAFE_Floating.js +11 -11
- package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutTheme.js +1 -1
- package/es/UNSAFE_FormLayout/themes/redwood/FormLayoutVariants.css.js +1 -1
- package/es/UNSAFE_FormLayout/themes/stable/FormLayoutTheme.js +1 -1
- package/es/UNSAFE_FormLayout/themes/stable/FormLayoutVariants.css.js +1 -1
- package/es/UNSAFE_FormLayout.js +3 -3
- package/es/UNSAFE_Gantt.js +23 -23
- package/es/UNSAFE_Grid.js +4 -4
- package/es/UNSAFE_HierarchicalList.js +30 -30
- package/es/UNSAFE_HighlightText.js +4 -4
- package/es/UNSAFE_Icon.js +16 -16
- package/es/UNSAFE_IconButton.js +17 -17
- package/es/UNSAFE_IconMenuButton.js +26 -26
- package/es/UNSAFE_IconProgressButton.js +22 -22
- package/es/UNSAFE_IconToggleButton.js +17 -17
- package/es/UNSAFE_IndentedCellLayout/themes/redwood/IndentedCellLayoutBaseTheme.css.js +1 -1
- package/es/UNSAFE_IndentedCellLayout/themes/stable/IndentedCellLayoutBaseTheme.css.js +1 -1
- package/es/UNSAFE_IndentedCellLayout.js +1 -1
- package/es/UNSAFE_Indexer.js +19 -19
- package/es/UNSAFE_InlineSelectSingle.js +36 -36
- package/es/UNSAFE_InputColor.js +108 -108
- package/es/UNSAFE_InputDateMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputDateMask.js +30 -30
- package/es/UNSAFE_InputDatePicker.js +39 -39
- package/es/UNSAFE_InputPassword.js +28 -28
- package/es/UNSAFE_InputSearch/themes/redwood/InputSearchTheme.js +1 -1
- package/es/UNSAFE_InputSearch/themes/redwood/InputSearchVariants.css.js +1 -1
- package/es/UNSAFE_InputSearch/themes/stable/InputSearchTheme.js +1 -1
- package/es/UNSAFE_InputSearch/themes/stable/InputSearchVariants.css.js +1 -1
- package/es/UNSAFE_InputSearch.js +35 -35
- package/es/UNSAFE_InputSensitiveText.js +29 -29
- package/es/UNSAFE_InputText.js +30 -30
- package/es/UNSAFE_InputTimeMask/themes/SegmentStyles.css.js +1 -1
- package/es/UNSAFE_InputTimeMask.js +29 -29
- package/es/UNSAFE_InputTimePicker.js +39 -39
- package/es/UNSAFE_Label.js +25 -25
- package/es/UNSAFE_LabelValueLayout.js +4 -4
- package/es/UNSAFE_LabelledLink.js +27 -27
- package/es/UNSAFE_Layer.js +8 -8
- package/es/UNSAFE_Legend.js +29 -29
- package/es/UNSAFE_LineAreaChart.js +38 -38
- package/es/UNSAFE_Link.js +2 -2
- package/es/UNSAFE_ListGroupHeaderLayout.js +5 -5
- package/es/UNSAFE_ListItemLayout.js +5 -5
- package/es/UNSAFE_ListView.js +29 -29
- package/es/UNSAFE_LiveRegion.js +4 -4
- package/es/UNSAFE_Menu/themes/redwood/MenuItemTheme.js +1 -1
- package/es/UNSAFE_Menu/themes/redwood/MenuItemVariants.css.js +1 -1
- package/es/UNSAFE_Menu/themes/stable/MenuItemTheme.js +1 -1
- package/es/UNSAFE_Menu/themes/stable/MenuItemVariants.css.js +1 -1
- package/es/UNSAFE_Menu.js +27 -27
- package/es/UNSAFE_MenuButton.js +26 -26
- package/es/UNSAFE_MessageBanner.js +20 -20
- package/es/UNSAFE_MessageToast.js +22 -22
- package/es/UNSAFE_MeterBar.js +16 -16
- package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleTheme.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/redwood/MeterCircleVariants.css.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleTheme.js +1 -1
- package/es/UNSAFE_MeterCircle/themes/stable/MeterCircleVariants.css.js +1 -1
- package/es/UNSAFE_MeterCircle.js +18 -18
- package/es/UNSAFE_Modal.js +8 -8
- package/es/UNSAFE_NavigationList.js +28 -28
- package/es/UNSAFE_NumberInputText.js +32 -32
- package/es/UNSAFE_OverflowTabBar.js +39 -35
- package/es/UNSAFE_OverflowTabBar.js.map +1 -1
- package/es/UNSAFE_PictoChart.js +26 -26
- package/es/UNSAFE_PieChart.js +30 -30
- package/es/UNSAFE_PolarBarChart.js +31 -31
- package/es/UNSAFE_PolarLineAreaChart.js +31 -31
- package/es/UNSAFE_Popup.js +18 -18
- package/es/UNSAFE_ProgressBar/themes/redwood/ProgressBarTheme.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/redwood/ProgressBarVariants.css.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/stable/ProgressBarTheme.js +1 -1
- package/es/UNSAFE_ProgressBar/themes/stable/ProgressBarVariants.css.js +1 -1
- package/es/UNSAFE_ProgressBar.js +5 -5
- package/es/UNSAFE_ProgressButton.js +22 -22
- package/es/UNSAFE_ProgressButtonLabelLayout.js +11 -11
- package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/redwood/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleTheme.js +1 -1
- package/es/UNSAFE_ProgressCircle/themes/stable/ProgressCircleVariants.css.js +1 -1
- package/es/UNSAFE_ProgressCircle.js +5 -5
- package/es/UNSAFE_RadioItem.js +25 -25
- package/es/UNSAFE_RadioSet.js +27 -27
- package/es/UNSAFE_RangeBarChart.js +37 -37
- package/es/UNSAFE_RatingGauge.js +18 -18
- package/es/UNSAFE_Refresher.js +5 -5
- package/es/UNSAFE_ReorderableTabBar.js +33 -33
- package/es/UNSAFE_RichCheckboxSet.js +65 -69
- package/es/UNSAFE_RichCheckboxSet.js.map +1 -1
- package/es/UNSAFE_RichRadioSet.js +29 -29
- package/es/UNSAFE_RichSelectionItem.js +122 -177
- package/es/UNSAFE_RichSelectionItem.js.map +1 -1
- package/es/UNSAFE_ScatterChart.js +37 -37
- package/es/UNSAFE_SectionalLegend.js +29 -29
- package/es/UNSAFE_SelectMultiple.js +40 -40
- package/es/UNSAFE_SelectSingle.js +39 -39
- package/es/UNSAFE_SelectionCard.js +17 -17
- package/es/UNSAFE_Selector.js +17 -17
- package/es/UNSAFE_SelectorAll.js +19 -19
- package/es/UNSAFE_Sheet.js +11 -11
- package/es/UNSAFE_Slider.js +28 -28
- package/es/UNSAFE_SortControl.js +19 -19
- package/es/UNSAFE_SplitMenuButton/themes/redwood/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton/themes/stable/SplitMenuButtonTheme.css.js +1 -1
- package/es/UNSAFE_SplitMenuButton.js +27 -27
- package/es/UNSAFE_SwipeActions.js +26 -26
- package/es/UNSAFE_Switch/themes/redwood/SwitchBaseTheme.css.js +1 -1
- package/es/UNSAFE_Switch/themes/redwood/SwitchTheme.js +1 -1
- package/es/UNSAFE_Switch/themes/stable/SwitchBaseTheme.css.js +1 -1
- package/es/UNSAFE_Switch/themes/stable/SwitchTheme.js +1 -1
- package/es/UNSAFE_Switch.js +27 -27
- package/es/UNSAFE_TabBar.js +34 -34
- package/es/UNSAFE_TabBarCommon/themes/redwood/TabBarItemTheme.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/stable/TabBarItemTheme.js +1 -1
- package/es/UNSAFE_TabBarCommon/themes/stable/TabBarItemVariants.css.js +1 -1
- package/es/UNSAFE_TabBarCommon.js +30 -30
- package/es/UNSAFE_TabBarMixed.js +32 -32
- package/es/UNSAFE_TabBarMixed.js.map +1 -1
- package/es/UNSAFE_TableDisplay.js +19 -19
- package/es/UNSAFE_TableView.js +39 -39
- package/es/UNSAFE_TagCloud.js +27 -27
- package/es/UNSAFE_TextArea.js +29 -29
- package/es/UNSAFE_TextAreaAutosize.js +29 -29
- package/es/UNSAFE_TextField.js +21 -21
- package/es/UNSAFE_TimePicker.js +30 -30
- package/es/UNSAFE_ToggleButton.js +5 -5
- package/es/UNSAFE_Toolbar.js +4 -4
- package/es/UNSAFE_Train.js +17 -17
- package/es/UNSAFE_TreeItemLayout.js +5 -5
- package/es/UNSAFE_TreeTableView.js +39 -39
- package/es/UNSAFE_TreeView.js +30 -30
- package/es/UNSAFE_TruncatingBadge.js +17 -17
- package/es/UNSAFE_TruncatingText.js +17 -17
- package/es/UNSAFE_UserAssistance.js +26 -26
- package/es/UNSAFE_View.js +7 -7
- package/es/UNSAFE_VirtualizedListView.js +22 -22
- package/es/UNSAFE_VisInvalidDataMessage.js +6 -6
- package/es/UNSAFE_VisNoDataMessage.js +6 -6
- package/es/UNSAFE_VisProgressiveLoader.js +5 -5
- package/es/UNSAFE_WindowOverlay.js +4 -4
- package/es/{View-5e006875.js → View-0ee9645e.js} +5 -5
- package/es/{View-5e006875.js.map → View-0ee9645e.js.map} +1 -1
- package/es/{VisStatusMessage-091fb10e.js → VisStatusMessage-56f961f5.js} +2 -2
- package/es/{VisStatusMessage-091fb10e.js.map → VisStatusMessage-56f961f5.js.map} +1 -1
- package/es/{VisTabularDatatip-e3acfb61.js → VisTabularDatatip-e71cef20.js} +2 -2
- package/es/{VisTabularDatatip-e3acfb61.js.map → VisTabularDatatip-e71cef20.js.map} +1 -1
- package/es/{WindowOverlay-05bff667.js → WindowOverlay-9f2cbaa0.js} +2 -2
- package/es/{WindowOverlay-05bff667.js.map → WindowOverlay-9f2cbaa0.js.map} +1 -1
- package/es/{YearsGridView-db24fc9f.js → YearsGridView-6a5c2c74.js} +4 -4
- package/es/{YearsGridView-db24fc9f.js.map → YearsGridView-6a5c2c74.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 +24 -24
- package/es/hooks/PRIVATE_useChartDatatip.js +14 -14
- package/es/hooks/PRIVATE_useChartEvents.js +20 -20
- package/es/hooks/PRIVATE_useChartMarquee.js +19 -19
- package/es/hooks/PRIVATE_useCollectionFocusRing.js +17 -17
- package/es/hooks/PRIVATE_useCssVars.js +7 -7
- package/es/hooks/PRIVATE_useCurrentKey.js +4 -4
- package/es/hooks/PRIVATE_useDatatip.js +12 -12
- package/es/hooks/PRIVATE_useDetectHorizontalOverflow.js +17 -17
- package/es/hooks/PRIVATE_useFloating.js +4 -4
- package/es/hooks/PRIVATE_useItemAction.js +17 -17
- package/es/hooks/PRIVATE_useListCommon.js +18 -18
- package/es/hooks/PRIVATE_useOutsideMousedown.js +9 -9
- package/es/hooks/PRIVATE_useRadioFocusManager.js +4 -4
- package/es/hooks/PRIVATE_useReorderable.js +19 -19
- package/es/hooks/PRIVATE_useRovingTabIndexContainer.js +4 -4
- package/es/hooks/PRIVATE_useSelection.js +4 -4
- package/es/hooks/PRIVATE_useTabBar.js +28 -28
- package/es/hooks/PRIVATE_useTabbableModeSet.js +17 -17
- package/es/hooks/PRIVATE_useTooltipOnTruncation.js +17 -17
- package/es/hooks/PRIVATE_useVisContextMenu.js +24 -24
- package/es/hooks/PRIVATE_useVisDragModeControls.js +19 -19
- package/es/hooks/PRIVATE_useVisEvents.js +4 -4
- package/es/hooks/PRIVATE_useVisMeterEvents.js +14 -14
- package/es/hooks/PRIVATE_useVisSelection.js +15 -15
- package/es/hooks/UNSAFE_useBareButton.js +2 -2
- package/es/hooks/UNSAFE_useColorScheme.js +3 -3
- package/es/hooks/UNSAFE_useCurrentBgColor.js +2 -2
- package/es/hooks/UNSAFE_useDensity.js +3 -3
- package/es/hooks/UNSAFE_useHiddenTestMethod.js +3 -3
- package/es/hooks/UNSAFE_useOutsideClick.js +8 -8
- package/es/hooks/UNSAFE_usePrefixSuffix.js +4 -4
- package/es/hooks/UNSAFE_useScale.js +3 -3
- package/es/hooks/UNSAFE_useTestId.js +3 -3
- package/es/hooks/UNSAFE_useTheme.js +3 -3
- package/es/hooks/UNSAFE_useThemeInterpolations.js +6 -6
- package/es/hooks/UNSAFE_useTooltip.js +17 -17
- package/es/hooks/UNSAFE_useTranslationBundle.js +3 -3
- package/es/hooks/UNSAFE_useUser.js +3 -3
- package/es/{popupUtils-c052da19.js → popupUtils-87073802.js} +2 -2
- package/es/{popupUtils-c052da19.js.map → popupUtils-87073802.js.map} +1 -1
- package/es/{tooltipUtils-8f52a37e.js → tooltipUtils-f2f90085.js} +5 -5
- package/es/{tooltipUtils-8f52a37e.js.map → tooltipUtils-f2f90085.js.map} +1 -1
- package/es/useBareButton-3d8d3267.js +1 -1
- package/es/useCellNavigation-74703ae5.js +1 -1
- package/es/useChartContextMenu-f63e0e70.js +2 -2
- package/es/{useChartDatatip-7a0287e7.js → useChartDatatip-c8797dc7.js} +4 -4
- package/es/{useChartDatatip-7a0287e7.js.map → useChartDatatip-c8797dc7.js.map} +1 -1
- package/es/{useColorScheme-febcabc0.js → useColorScheme-0d2625c5.js} +2 -2
- package/es/{useColorScheme-febcabc0.js.map → useColorScheme-0d2625c5.js.map} +1 -1
- package/es/useContextMenu-5730737d.js +2 -2
- package/es/{useCssVars-663740c4.js → useCssVars-697799fa.js} +5 -5
- package/es/{useCssVars-663740c4.js.map → useCssVars-697799fa.js.map} +1 -1
- package/es/{useCurrentKey-89b60d32.js → useCurrentKey-2cdeda49.js} +2 -2
- package/es/{useCurrentKey-89b60d32.js.map → useCurrentKey-2cdeda49.js.map} +1 -1
- package/es/{useDatatip-e234ee0a.js → useDatatip-73d51f39.js} +4 -4
- package/es/{useDatatip-e234ee0a.js.map → useDatatip-73d51f39.js.map} +1 -1
- package/es/{useDatatipAndCursor-0b8febe5.js → useDatatipAndCursor-142787d4.js} +2 -2
- package/es/{useDatatipAndCursor-0b8febe5.js.map → useDatatipAndCursor-142787d4.js.map} +1 -1
- package/es/{useDensity-482708e7.js → useDensity-9c3ef227.js} +2 -2
- package/es/{useDensity-482708e7.js.map → useDensity-9c3ef227.js.map} +1 -1
- package/es/{useDetectHorizontalOverflow-9b684feb.js → useDetectHorizontalOverflow-5b505e78.js} +30 -58
- package/es/useDetectHorizontalOverflow-5b505e78.js.map +1 -0
- package/es/useDisplayValue-f7c80ffe.js +6 -6
- package/es/{useFloating-38c13cfa.js → useFloating-98ad16ec.js} +2 -2
- package/es/{useFloating-38c13cfa.js.map → useFloating-98ad16ec.js.map} +1 -1
- package/es/{useHiddenTestMethod-dc102488.js → useHiddenTestMethod-4bb568f0.js} +2 -2
- package/es/{useHiddenTestMethod-dc102488.js.map → useHiddenTestMethod-4bb568f0.js.map} +1 -1
- package/es/useInputBase-6dc2e103.js +6 -6
- package/es/{useKeyboardEvents-ce2d5783.js → useKeyboardEvents-18678615.js} +2 -2
- package/es/{useKeyboardEvents-ce2d5783.js.map → useKeyboardEvents-18678615.js.map} +1 -1
- package/es/useLegendContextMenu-a6e566c4.js +6 -6
- package/es/{useMeterDatatip-e21c0d4b.js → useMeterDatatip-27882514.js} +3 -3
- package/es/{useMeterDatatip-e21c0d4b.js.map → useMeterDatatip-27882514.js.map} +1 -1
- package/es/useNavigation-a4715511.js +1 -1
- package/es/{useOutsideClick-552699e3.js → useOutsideClick-cad76f8b.js} +2 -2
- package/es/{useOutsideClick-552699e3.js.map → useOutsideClick-cad76f8b.js.map} +1 -1
- package/es/{useOutsideMousedown-36235b3d.js → useOutsideMousedown-9da55345.js} +2 -2
- package/es/{useOutsideMousedown-36235b3d.js.map → useOutsideMousedown-9da55345.js.map} +1 -1
- package/es/{usePopupAnimation-83d1dde8.js → usePopupAnimation-c12f24ba.js} +2 -2
- package/es/{usePopupAnimation-83d1dde8.js.map → usePopupAnimation-c12f24ba.js.map} +1 -1
- package/es/{usePrefixSuffix-7a0fb41b.js → usePrefixSuffix-56167b97.js} +2 -2
- package/es/{usePrefixSuffix-7a0fb41b.js.map → usePrefixSuffix-56167b97.js.map} +1 -1
- package/es/{useRadioFocusManager-d14e0331.js → useRadioFocusManager-afcb8a84.js} +2 -2
- package/es/{useRadioFocusManager-d14e0331.js.map → useRadioFocusManager-afcb8a84.js.map} +1 -1
- package/es/{useReorderableItem-936082ee.js → useReorderableItem-c47eebbe.js} +3 -3
- package/es/{useReorderableItem-936082ee.js.map → useReorderableItem-c47eebbe.js.map} +1 -1
- package/es/{useRovingTabIndexContainer-50d6566f.js → useRovingTabIndexContainer-51de19b5.js} +2 -2
- package/es/{useRovingTabIndexContainer-50d6566f.js.map → useRovingTabIndexContainer-51de19b5.js.map} +1 -1
- package/es/{useScale-9936da9d.js → useScale-4a98c348.js} +2 -2
- package/es/{useScale-9936da9d.js.map → useScale-4a98c348.js.map} +1 -1
- package/es/useSelectCommon-480b6641.js +5 -5
- package/es/{useSelectDrill-93387909.js → useSelectDrill-81f36802.js} +2 -2
- package/es/{useSelectDrill-93387909.js.map → useSelectDrill-81f36802.js.map} +1 -1
- package/es/{useSelection-429274e4.js → useSelection-584c64a6.js} +2 -2
- package/es/{useSelection-429274e4.js.map → useSelection-584c64a6.js.map} +1 -1
- package/es/{useSelection-58503244.js → useSelection-9f099db0.js} +6 -6
- package/es/{useSelection-58503244.js.map → useSelection-9f099db0.js.map} +1 -1
- package/es/{useTabBar-04a0093f.js → useTabBar-f068eee4.js} +6 -9
- package/es/useTabBar-f068eee4.js.map +1 -0
- package/es/{useTestId-20c68501.js → useTestId-2c0e08d3.js} +2 -2
- package/es/{useTestId-20c68501.js.map → useTestId-2c0e08d3.js.map} +1 -1
- package/es/{useTheme-eef5d217.js → useTheme-2c44fa3e.js} +2 -2
- package/es/{useTheme-eef5d217.js.map → useTheme-2c44fa3e.js.map} +1 -1
- package/es/{useThemeInterpolations-2d6f0d78.js → useThemeInterpolations-9df8ad1a.js} +5 -5
- package/es/{useThemeInterpolations-2d6f0d78.js.map → useThemeInterpolations-9df8ad1a.js.map} +1 -1
- package/es/{useTooltip-8decbde6.js → useTooltip-7779b267.js} +2 -2
- package/es/{useTooltip-8decbde6.js.map → useTooltip-7779b267.js.map} +1 -1
- package/es/{useTooltipControlled-ccfa2705.js → useTooltipControlled-729b3aac.js} +5 -5
- package/es/{useTooltipControlled-ccfa2705.js.map → useTooltipControlled-729b3aac.js.map} +1 -1
- package/es/{useTooltipOnTruncation-2df1e74f.js → useTooltipOnTruncation-5e2c2a50.js} +4 -4
- package/es/{useTooltipOnTruncation-2df1e74f.js.map → useTooltipOnTruncation-5e2c2a50.js.map} +1 -1
- package/es/{useTranslationBundle-ded09d52.js → useTranslationBundle-752de59a.js} +2 -2
- package/es/{useTranslationBundle-ded09d52.js.map → useTranslationBundle-752de59a.js.map} +1 -1
- package/es/useTruncationTooltip-fd1dac2a.js +3 -3
- package/es/{useUser-e1199cab.js → useUser-2c24ff59.js} +2 -2
- package/es/{useUser-e1199cab.js.map → useUser-2c24ff59.js.map} +1 -1
- package/es/useVisDragModeControls-092e8ac4.js +1 -1
- package/es/{useVisEvents-012f2a18.js → useVisEvents-454b5545.js} +2 -2
- package/es/{useVisEvents-012f2a18.js.map → useVisEvents-454b5545.js.map} +1 -1
- package/es/utils/PRIVATE_collectionUtils.js +17 -17
- package/es/utils/PRIVATE_tabBarUtils.js +17 -17
- package/es/utils/PRIVATE_tooltipUtils.js +14 -14
- package/es/utils/PRIVATE_visTestUtils.js +4 -4
- package/es/utils/UNSAFE_popupUtils.js +8 -8
- package/es/{withDirectionIcon-abc3124a.js → withDirectionIcon-dec377dd.js} +2 -2
- package/es/{withDirectionIcon-abc3124a.js.map → withDirectionIcon-dec377dd.js.map} +1 -1
- package/es/withThemeProps-3565a045.js +2 -2
- package/package.json +2 -2
- package/types/UNSAFE_TabBarMixed/useTabBarMixed.d.ts +1 -1
- package/amd/ContainerDiagram-521f402a.js +0 -2
- package/amd/Expander-150fa95e.js +0 -2
- package/amd/InputDatePicker-613800d1.js +0 -2
- package/amd/NavigationListExternalLinkItem-3d98a9e8.js +0 -2
- package/amd/NavigationListLinkItem-c4b2b73c.js +0 -2
- package/amd/OverflowTabBar-37f590ba.js +0 -2
- package/amd/OverflowTabBar-37f590ba.js.map +0 -1
- package/amd/OverflowTabBarItem-11f199ee.js +0 -2
- package/amd/SortControl-115bc431.js +0 -2
- package/amd/TabBar-dc8cadc2.js +0 -2
- package/amd/TabBar-dc8cadc2.js.map +0 -1
- package/amd/TabBarMixed-e16ca418.js +0 -2
- package/amd/useDetectHorizontalOverflow-7f5bba36.js +0 -2
- package/amd/useDetectHorizontalOverflow-7f5bba36.js.map +0 -1
- package/amd/useTabBar-2d8fc9aa.js +0 -2
- package/amd/useTabBar-2d8fc9aa.js.map +0 -1
- package/cjs/TabBar-1cd4ac17.js.map +0 -1
- package/cjs/TextArea-d65e3f5b.js +0 -207
- package/cjs/TextArea-d65e3f5b.js.map +0 -1
- package/cjs/useDetectHorizontalOverflow-622817d4.js.map +0 -1
- package/cjs/useTabBar-ec20851a.js.map +0 -1
- package/es/CheckboxSet-3e0ce80c.js +0 -52
- package/es/CheckboxSet-3e0ce80c.js.map +0 -1
- package/es/TabBar-36932ca2.js.map +0 -1
- package/es/useDetectHorizontalOverflow-9b684feb.js.map +0 -1
- package/es/useTabBar-04a0093f.js.map +0 -1
- /package/amd/UNSAFE_IndentedCellLayout/themes/{redwood → stable}/IndentedCellLayoutBaseTheme.styles.css +0 -0
- /package/es/UNSAFE_IndentedCellLayout/themes/{redwood → stable}/IndentedCellLayoutBaseTheme.styles.css +0 -0
- /package/es/UNSAFE_Switch/themes/{redwood → stable}/SwitchBaseTheme.styles.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UNSAFE_TextAreaAutosize.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import type { ComponentProps, RefObject } from 'preact';\nimport { useLayoutEffect } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: RefObject<HTMLTextAreaElement>;\n readonlyElementRef: RefObject<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly, enabledElementRef, readonlyElementRef]);\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback } from 'preact/compat';\n\nimport { EmbeddedInputBase, InputBase, useInputBase } from '#PRIVATE_InputBase';\nimport { useCurrentValueReducer } from '#hooks/UNSAFE_useCurrentValueReducer';\nimport { FocusableHandle } from '#hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { CountUnit, useLengthFilter } from '#hooks/UNSAFE_useLengthFilter';\nimport { SelectableHandle } from '#hooks/UNSAFE_useSelectableTextField';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { ComponentMessageItem } from '#UNSAFE_ComponentMessage';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { MaxLengthCounter } from '#UNSAFE_TextArea';\nimport { useTextAreaAltEnter } from '#UNSAFE_TextArea/useTextAreaAltEnter';\nimport {\n MaxLengthLiveRegion,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '#UNSAFE_TextField';\nimport type { InlineUserAssistance, UserAssistanceDensityType } from '#UNSAFE_UserAssistance';\nimport { defaultTextAlignForVariant, isEmbeddedVariant } from '#utils/PRIVATE_formControlUtils';\nimport { Size } from '#utils/UNSAFE_size';\nimport { LayoutColumnSpan } from '#utils/UNSAFE_styles/Layout';\nimport { classNames as combineIds } from '#utils/UNSAFE_classNames';\nimport { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Specifies the AI bloom visual treatment.\n * Bloom is suppressed when the component is disabled, readonly, embedded, or showing\n * error or warning messages.\n */\n blooming?: TextFieldProps['blooming'];\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n/**\n * A text area auto size displays a field that allows a user to enter a multi-line text value, and will adjust its height based on its content.\n */\nexport const TextAreaAutosize = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n blooming = 'off',\n columnSpan,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit,\n testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\n const { isReadonly: formIsReadonly } = useFormContext();\n const isReadonlyForMessages = propIsReadonly ?? formIsReadonly ?? false;\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n\n const maxLengthDescribedById = useId();\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, isMaxLengthReached, valueLength, onFilteredInput } =\n useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n const allMessages = [\n ...(messages ?? []),\n // Readonly fields cannot be edited, so suppress the generated max-length\n // limit message for readonly.\n ...(isMaxLengthReached && !isReadonlyForMessages ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n // `useInputBase` owns the shared textarea autosize shell while the autosizing and counter\n // behavior stay here because they are specific to textarea content measurement and editing.\n const base = useInputBase<\n HTMLTextAreaElement,\n HTMLTextAreaElement | HTMLDivElement,\n string | undefined\n >({\n assistiveText,\n ariaDescribedBy,\n columnSpan,\n contentVariant: 'textarea',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequiredShown,\n isSelectable: true,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages: allMessages,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant\n });\n\n const {\n isDisabled,\n isReadonly,\n labelEdge,\n textAlign = defaultTextAlignForVariant(variant)\n } = base;\n const hasInsideLabel = label !== undefined && labelEdge === 'inside';\n\n // We want to have alt/option+Enter to insert a newline like Enter does.\n const { handleKeyDown } = useTextAreaAltEnter({\n onInput: onInputAndDispatch,\n textAreaRef: base.enabledElementRef\n });\n\n const onClickCounter = useCallback(() => {\n const elm = base.enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n base.enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n base.enabledElementRef.current?.focus();\n }, [base.enabledElementRef]);\n\n useTextAreaAutosizing({\n isReadonly,\n enabledElementRef: base.enabledElementRef,\n readonlyElementRef: base.readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n const hasMaxLength = maxLength !== undefined;\n const shouldAnnounceMaxLength = hasMaxLength && !isReadonly && !isDisabled;\n const { 'aria-describedby': inputAriaDescribedBy, ...inputPropsRest } = base.inputProps;\n // Autosize normally grows to fit content and does not need a reserved scrollbar gutter. When\n // maxRows caps growth, reserve the gutter even when bloom is off or currently suppressed so\n // the scrollport does not visibly move if bloom is toggled dynamically.\n const hasTextAreaScrollbarInset = maxRows !== undefined && !isEmbeddedVariant(variant);\n\n const mainContent = (\n <>\n <TextFieldInput\n as=\"textarea\"\n aria-describedby={\n combineIds([inputAriaDescribedBy, shouldAnnounceMaxLength && maxLengthDescribedById]) ||\n undefined\n }\n aria-label={base.ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n hasTextAreaScrollbarInset={hasTextAreaScrollbarInset}\n isRequired={isRequired}\n inputRef={base.enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n onKeyDown={handleKeyDown}\n placeholder={placeholder}\n role={role}\n rows={minRows}\n textAlign={textAlign}\n value={value}\n {...inputPropsRest}\n />\n {maxLengthCounter === 'remaining' && hasMaxLength && (\n <MaxLengthCounter\n maxLength={maxLength}\n valueLength={valueLength}\n onClick={onClickCounter}\n />\n )}\n {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedById}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && base.isFocused && (\n <MaxLengthLiveRegion\n isMaxLengthExceeded={isMaxLengthExceeded}\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId ? testId + '_maxLength' : undefined}\n />\n )}\n </>\n );\n\n // Keep the readonly element-type decision local because autosize determines whether readonly\n // should measure a textarea or render a plain div when maxRows is not specified.\n const readonlyMainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={base.inputProps['aria-describedby']}\n aria-label={base.ariaLabel}\n aria-labelledby={base.labelProps.id}\n autoFocus={autoFocus}\n elementRef={base.readonlyElementRef}\n formVariant={variant}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\n onBlur={base.inputProps.onBlur}\n onFocus={base.inputProps.onFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n />\n );\n\n const inputBaseProps = {\n ref,\n base,\n mainContent,\n readonlyMainContent,\n testId\n };\n\n return isEmbeddedVariant(variant) ? (\n <EmbeddedInputBase {...inputBaseProps} />\n ) : (\n <InputBase {...inputBaseProps} blooming={blooming} />\n );\n }\n);\n"],"names":["useLayoutEffect","forwardRef","useTranslationBundle","useFormContext","useCurrentValueReducer","useCallback","useId","useLengthFilter","useInputBase","defaultTextAlignForVariant","useTextAreaAltEnter","isEmbeddedVariant","_jsxs","_Fragment","_jsx","TextFieldInput","combineIds","MaxLengthCounter","HiddenAccessible","MaxLengthLiveRegion","ReadonlyTextFieldInput","EmbeddedInputBase","InputBase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACO,MAAM,mBAAmB,GAAG,CAAC,QAA6B,KAAY;IAC3E,MAAM,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AACxD,IAAA,MAAM,kBAAkB,GAAG,aAAa,CAAC,UAAU,CAAC;AACpD,IAAA,IAAI,kBAAkB,KAAK,QAAQ,EAAE;;;;;QAKnC,MAAM,QAAQ,GAAG,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QACpD,OAAO,GAAG,GAAG,QAAQ,CAAC;KACvB;AACD,IAAA,OAAO,UAAU,CAAC,kBAAkB,CAAC,CAAC;AACxC,CAAC,CAAC;AACK,MAAM,gBAAgB,GAAG,CAAC,QAA6B,KAAI;IAChE,MAAM,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACnD,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,aAAa,GAAG,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;I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CAAC,UAAU,CAAC,MAAM,EAC9B,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,EAChC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAC,UAAU,EAClB,aAAa,EAAE,KAAK,KAAK,EAAE,IAAI,SAAS,KAAK,MAAM,EACnD,cAAc,EAAE,cAAc,EAC9B,CAAA,CACH,CAAC;AAEF,IAAA,MAAM,cAAc,GAAG;QACrB,GAAG;QACH,IAAI;QACJ,WAAW;QACX,mBAAmB;QACnB,MAAM;KACP,CAAC;AAEF,IAAA,OAAOT,kCAAiB,CAAC,OAAO,CAAC,IAC/BG,cAAC,CAAAO,8BAAiB,EAAK,EAAA,GAAA,cAAc,EAAI,CAAA,KAEzCP,cAAC,CAAAQ,sBAAS,EAAK,EAAA,GAAA,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAI,CAAA,CACtD,CAAC;AACJ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"UNSAFE_TextAreaAutosize.js","sources":["../../src/UNSAFE_TextAreaAutosize/ScrollHeightUtils.tsx","../../src/UNSAFE_TextAreaAutosize/useTextAreaAutosizing.tsx","../../src/UNSAFE_TextAreaAutosize/TextAreaAutosize.tsx"],"sourcesContent":["// returns the lineHeight as a number of pixels.\nexport const calculateLineHeight = (textarea: HTMLTextAreaElement): number => {\n const computedStyle = window.getComputedStyle(textarea);\n const computedlineHeight = computedStyle.lineHeight;\n if (computedlineHeight === 'normal') {\n // We get 'normal' for values 'initial', 'inherit', 'unset' and 'normal'\n // TODO: Unclear if we need this.\n // getComputedStyle always return fontSize in pixels. Not likely a float, but since it's legal\n // we use parseFloat()\n const fontSize = parseFloat(computedStyle.fontSize);\n return 1.2 * fontSize;\n }\n return parseFloat(computedlineHeight);\n};\nexport const getStylingHeight = (textarea: HTMLTextAreaElement) => {\n const cssStyle = window.getComputedStyle(textarea);\n const paddingTop = parseFloat(cssStyle.paddingTop);\n const paddingBottom = parseFloat(cssStyle.paddingBottom);\n const borderTop = parseFloat(cssStyle.borderTop);\n const borderBottom = parseFloat(cssStyle.borderBottom);\n return { paddingHeight: paddingTop + paddingBottom, borderHeight: borderTop + borderBottom };\n};\n","import type { ComponentProps, RefObject } from 'preact';\nimport { useLayoutEffect } from 'preact/hooks';\nimport { calculateLineHeight, getStylingHeight } from './ScrollHeightUtils';\nimport { TextAreaAutosize } from './TextAreaAutosize';\n\ntype PickedPropsFromTextAreaAutosize = Pick<\n ComponentProps<typeof TextAreaAutosize>,\n 'minRows' | 'maxRows' | 'value'\n>;\ntype Props = PickedPropsFromTextAreaAutosize & {\n isReadonly?: boolean;\n enabledElementRef: RefObject<HTMLTextAreaElement>;\n readonlyElementRef: RefObject<HTMLTextAreaElement | HTMLDivElement>;\n};\n\n// TODO: Make this fire when the container resizes - JET-50840\nexport const useTextAreaAutosizing = ({\n isReadonly,\n enabledElementRef,\n readonlyElementRef,\n minRows = 2,\n maxRows,\n value\n}: Props) => {\n useLayoutEffect(() => {\n const textareaRef = isReadonly ? readonlyElementRef : enabledElementRef;\n if (textareaRef.current === null) return;\n if (textareaRef.current instanceof HTMLDivElement) return; // We don't need to do anything if the readonlyElement is a DIV.\n const textarea = textareaRef.current;\n const lineHeight = calculateLineHeight(textarea);\n textarea.style.height = '0';\n const { paddingHeight, borderHeight } = getStylingHeight(textarea);\n const heightForMinRows = lineHeight * minRows + paddingHeight + borderHeight;\n const scrollHeight = textarea.scrollHeight + borderHeight;\n let resizedHeight = 0;\n // if maxRows is -1 the textarea will grow or shrink to fit all the content.\n // it won't shrink any less than rows.\n if (maxRows === undefined) {\n // we want to fit the entire scrollHeight, but we don't want\n // to shrink smaller than the height for rows.\n if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else if (maxRows > minRows) {\n // if maxRows is positive and greater than rows, the textarea will grow to fit the content\n // up to maxrows, or shrink to fit the content and down to rows.\n const heightForMaxRows = lineHeight * maxRows + paddingHeight + borderHeight;\n if (scrollHeight > heightForMaxRows) {\n resizedHeight = heightForMaxRows;\n } else if (scrollHeight < heightForMinRows) {\n resizedHeight = heightForMinRows;\n } else {\n resizedHeight = scrollHeight;\n }\n } else {\n resizedHeight = heightForMinRows;\n }\n // The 0.5 gaurantees that the clientHeight will be bigger than the scrollHeight, so no scrollbar appears.\n textarea.style.height = resizedHeight + 0.5 + 'px';\n }, [value, minRows, maxRows, isReadonly, enabledElementRef, readonlyElementRef]);\n};\n","/**\n * @license\n * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.\n * The Universal Permissive License (UPL), Version 1.0\n * as shown at https://oss.oracle.com/licenses/upl/\n * @ignore\n */\n\nimport { ComponentProps, Ref } from 'preact';\nimport { forwardRef, useCallback } from 'preact/compat';\n\nimport { EmbeddedInputBase, InputBase, useInputBase } from '#PRIVATE_InputBase';\nimport { useCurrentValueReducer } from '#hooks/UNSAFE_useCurrentValueReducer';\nimport { FocusableHandle } from '#hooks/UNSAFE_useFocusableTextField';\nimport { useFormContext } from '#hooks/UNSAFE_useFormContext';\nimport { useId } from '#hooks/UNSAFE_useId';\nimport { CountUnit, useLengthFilter } from '#hooks/UNSAFE_useLengthFilter';\nimport { SelectableHandle } from '#hooks/UNSAFE_useSelectableTextField';\nimport type { TestIdProps } from '#hooks/UNSAFE_useTestId';\nimport { useTranslationBundle } from '#hooks/UNSAFE_useTranslationBundle';\nimport { BundleType } from '#resources/nls/bundle';\nimport { ComponentMessageItem } from '#UNSAFE_ComponentMessage';\nimport { HiddenAccessible } from '#UNSAFE_HiddenAccessible';\nimport { MaxLengthCounter } from '#UNSAFE_TextArea';\nimport { useTextAreaAltEnter } from '#UNSAFE_TextArea/useTextAreaAltEnter';\nimport {\n MaxLengthLiveRegion,\n ReadonlyTextFieldInput,\n TextField,\n TextFieldInput\n} from '#UNSAFE_TextField';\nimport type { InlineUserAssistance, UserAssistanceDensityType } from '#UNSAFE_UserAssistance';\nimport { defaultTextAlignForVariant, isEmbeddedVariant } from '#utils/PRIVATE_formControlUtils';\nimport { Size } from '#utils/UNSAFE_size';\nimport { LayoutColumnSpan } from '#utils/UNSAFE_styles/Layout';\nimport { classNames as combineIds } from '#utils/UNSAFE_classNames';\nimport { ValueUpdateDetail } from '#utils/UNSAFE_valueUpdateDetail';\nimport { useTextAreaAutosizing } from './useTextAreaAutosizing';\n\ntype TextFieldInputProps = ComponentProps<typeof TextFieldInput>;\ntype TextFieldProps = ComponentProps<typeof TextField>;\ntype InlineUserAssistanceProps = ComponentProps<typeof InlineUserAssistance>;\n\ntype Props = TestIdProps & {\n /**\n * The ID of an element (or space separated IDs of multiple elements) that\n * describes the input.\n */\n 'aria-describedby'?: TextFieldInputProps['aria-describedby'];\n /**\n * Text to provide guidance to help the user understand what to enter.\n */\n assistiveText?: InlineUserAssistanceProps['assistiveText'];\n /**\n * Dictates component's autocomplete state.\n * This attribute indicates whether the value of the control can be automatically completed by the browser.\n * The common values are \"on\" and \"off\".\n */\n autoComplete?: TextFieldInputProps['autoComplete'];\n /**\n * Autofocus specifies whether the component will get focus when the page is loaded.\n * If it is set to true then the associated component will get input focus when the page is loaded.\n * Setting this property doesn't set the focus to the component; it tells the browser to focus\n * to it when the element is inserted in the document.\n */\n autoFocus?: TextFieldInputProps['autoFocus'];\n /**\n * Specifies the AI bloom visual treatment.\n * Bloom is suppressed when the component is disabled, readonly, embedded, or showing\n * error or warning messages.\n */\n blooming?: TextFieldProps['blooming'];\n /**\n * Specifies how many columns to span in a FormLayout with direction === 'row'\n */\n columnSpan?: LayoutColumnSpan;\n /**\n * Help source URL associated with the component.\n */\n helpSourceLink?: InlineUserAssistanceProps['helpSourceLink'];\n /**\n * Custom text to be rendered for the <code>helpSourceLink</code>.\n */\n helpSourceText?: InlineUserAssistanceProps['helpSourceText'];\n /**\n * Specifies whether the component is disabled.\n */\n isDisabled?: boolean;\n /**\n * Specifies whether the component is readonly.\n */\n isReadonly?: boolean;\n /**\n * Specifies for accessibility purposes whether a value is required.\n *\n * Setting this property to <code>false</code> means that a value is not required to be\n * committed by the user. Setting this property to <code>true</code> means that a value\n * is required to be committed by the user.\n */\n isRequired?: TextFieldInputProps['isRequired'];\n /**\n * Specifies whether to show an indicator on screen that a value is required, for example\n * before the user has committed a value.\n */\n isRequiredShown?: InlineUserAssistanceProps['isRequiredShown'];\n /**\n * Specifies the label associated with the field.\n */\n label: string;\n /**\n * Specifies where the label is positioned relative to the field.\n */\n labelEdge?: 'inside' | 'start' | 'top' | 'none';\n /**\n * Specifies the width of the label when <code>labelEdge</code> is <code>\"start\"</code>\n */\n labelStartWidth?: Size;\n /**\n * Specifies the maximum number of characters that can be entered in the input field.\n */\n maxLength?: number;\n /**\n * Determines whether the remaining number of characters that can be entered is shown or not.\n */\n maxLengthCounter?: 'none' | 'remaining';\n /**\n * Specifies how the input text characters are to be counted when maxLength is specified.\n */\n maxLengthUnit?: CountUnit;\n /**\n * Specifies the maximum number of rows that the TextAreaAutosize is allowed to grow to.\n * If maxRows is less than minRows, it is ignored.\n */\n maxRows?: number;\n /**\n * Messages to show on screen that are associated with the component.\n */\n messages?: InlineUserAssistanceProps['messages'];\n /**\n * Specifies the minimum number of rows that the TextAreaAutosize is allowed to shrink to.\n */\n minRows?: number;\n /**\n * A short hint to display before the user enters a value.\n */\n placeholder?: TextFieldInputProps['placeholder'];\n /**\n * Specifies how the user is allowed to manually resize the TextArea component.\n */\n role?: TextFieldInputProps['role'];\n /**\n * Specifies the number of rows to display\n */\n textAlign?: TextFieldInputProps['textAlign'];\n /**\n * Specifies the density of the user assistance presentation. It can be set to:\n * <ul>\n * <li><code>'efficient'</code>: Show inline and reserve space to prevent layout reflow when user\n * assistance text is displayed.</li>\n * <li><code>'reflow'</code>: Show inline. Layout will reflow when text is displayed.</li>\n * <li><code>'compact'</code>: Messages, help, hints, and required will not be shown inline; they will show in a mode that keeps the screen more compact, like a popup for the messages, and a required icon to indicate Required. </li>\n * </ul>\n */\n userAssistanceDensity?: UserAssistanceDensityType;\n /**\n * The current display value of the component.\n */\n value?: TextFieldInputProps['value'];\n /**\n * The style variant of the component.\n */\n variant?: TextFieldInputProps['variant'];\n /**\n * Callback invoked when the user commits the entered value by blurring out of the field.\n *\n */\n onCommit?: TextFieldInputProps['onCommit'];\n\n /**\n * Callback invoked when the user inputs a value.\n *\n */\n onInput: TextFieldInputProps['onInput'];\n};\ntype FocusSelectHandle = FocusableHandle & SelectableHandle;\n/**\n * A text area auto size displays a field that allows a user to enter a multi-line text value, and will adjust its height based on its content.\n */\nexport const TextAreaAutosize = forwardRef(\n (\n {\n 'aria-describedby': ariaDescribedBy,\n assistiveText,\n autoComplete = 'off',\n autoFocus = false,\n blooming = 'off',\n columnSpan,\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequired = false,\n isRequiredShown,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n maxLength,\n maxLengthCounter = 'remaining',\n maxLengthUnit,\n maxRows,\n messages,\n minRows = 2,\n placeholder,\n role,\n //TODO: Add counter to show the length remaining - JET-50752\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant = 'default',\n onInput,\n onCommit,\n testId\n }: Props,\n ref?: Ref<FocusSelectHandle>\n ) => {\n const translations = useTranslationBundle<BundleType>('@oracle/oraclejet-preact');\n const formControl_limitReached = maxLength\n ? translations.formControl_limitReached({\n CHARACTER_LIMIT: maxLength\n })\n : '';\n const { isReadonly: formIsReadonly } = useFormContext();\n const isReadonlyForMessages = propIsReadonly ?? formIsReadonly ?? false;\n const { currentCommitValue, dispatch } = useCurrentValueReducer({ value });\n const onInputAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'input', payload: detail.value });\n onInput?.(detail);\n },\n [onInput, dispatch]\n );\n const onCommitAndDispatch = useCallback(\n (detail: ValueUpdateDetail<string>) => {\n // Should dispatch happen first? This will queue up a re-render, ordering should not cause issues (this is async)\n dispatch({ type: 'commit', payload: detail.value });\n onCommit?.(detail);\n },\n [onCommit, dispatch]\n );\n\n const maxLengthDescribedById = useId();\n\n // Handle length filter for user-typed inputs and controlled inputs\n const { isMaxLengthExceeded, isMaxLengthReached, valueLength, onFilteredInput } =\n useLengthFilter({\n maxLength,\n maxLengthUnit,\n value,\n onInput: onInputAndDispatch,\n onCommit: onCommitAndDispatch\n });\n\n const limitMessage = [{ detail: formControl_limitReached, severity: 'info' }];\n const allMessages = [\n ...(messages ?? []),\n // Readonly fields cannot be edited, so suppress the generated max-length\n // limit message for readonly.\n ...(isMaxLengthReached && !isReadonlyForMessages ? limitMessage : [])\n ] as ComponentMessageItem[];\n\n // `useInputBase` owns the shared textarea autosize shell while the autosizing and counter\n // behavior stay here because they are specific to textarea content measurement and editing.\n const base = useInputBase<\n HTMLTextAreaElement,\n HTMLTextAreaElement | HTMLDivElement,\n string | undefined\n >({\n assistiveText,\n ariaDescribedBy,\n columnSpan,\n contentVariant: 'textarea',\n helpSourceLink,\n helpSourceText,\n isDisabled: propIsDisabled,\n isReadonly: propIsReadonly,\n isRequiredShown,\n isSelectable: true,\n label,\n labelEdge: propLabelEdge,\n labelStartWidth: propLabelStartWidth,\n messages: allMessages,\n textAlign: propTextAlign,\n userAssistanceDensity: propUserAssistanceDensity,\n value,\n variant\n });\n\n const {\n isDisabled,\n isReadonly,\n labelEdge,\n textAlign = defaultTextAlignForVariant(variant)\n } = base;\n const hasInsideLabel = label !== undefined && labelEdge === 'inside';\n\n // We want to have alt/option+Enter to insert a newline like Enter does.\n const { handleKeyDown } = useTextAreaAltEnter({\n onInput: onInputAndDispatch,\n textAreaRef: base.enabledElementRef\n });\n\n const onClickCounter = useCallback(() => {\n const elm = base.enabledElementRef.current;\n // for setSelectionRange(), len needs to be a number or null.\n const len = elm ? elm.value.length : null;\n // Since the counter element is after the text, clicking in this\n // should put the selection at the end of the text\n base.enabledElementRef.current?.setSelectionRange(len, len);\n // Clicking the counter should put the focus on the input field\n base.enabledElementRef.current?.focus();\n }, [base.enabledElementRef]);\n\n useTextAreaAutosizing({\n isReadonly,\n enabledElementRef: base.enabledElementRef,\n readonlyElementRef: base.readonlyElementRef,\n minRows,\n maxRows,\n value\n });\n const hasMaxLength = maxLength !== undefined;\n const shouldAnnounceMaxLength = hasMaxLength && !isReadonly && !isDisabled;\n const { 'aria-describedby': inputAriaDescribedBy, ...inputPropsRest } = base.inputProps;\n // Autosize normally grows to fit content and does not need a reserved scrollbar gutter. When\n // maxRows caps growth, reserve the gutter even when bloom is off or currently suppressed so\n // the scrollport does not visibly move if bloom is toggled dynamically.\n const hasTextAreaScrollbarInset = maxRows !== undefined && !isEmbeddedVariant(variant);\n\n const mainContent = (\n <>\n <TextFieldInput\n as=\"textarea\"\n aria-describedby={\n combineIds([inputAriaDescribedBy, shouldAnnounceMaxLength && maxLengthDescribedById]) ||\n undefined\n }\n aria-label={base.ariaLabel}\n autoComplete={autoComplete}\n autoFocus={autoFocus}\n currentCommitValue={currentCommitValue}\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n hasTextAreaScrollbarInset={hasTextAreaScrollbarInset}\n isRequired={isRequired}\n inputRef={base.enabledElementRef}\n onCommit={onCommitAndDispatch}\n onInput={onFilteredInput}\n onKeyDown={handleKeyDown}\n placeholder={placeholder}\n role={role}\n rows={minRows}\n textAlign={textAlign}\n value={value}\n {...inputPropsRest}\n />\n {maxLengthCounter === 'remaining' && hasMaxLength && (\n <MaxLengthCounter\n maxLength={maxLength}\n valueLength={valueLength}\n onClick={onClickCounter}\n />\n )}\n {hasMaxLength && (\n <HiddenAccessible id={maxLengthDescribedById}>\n {translations.formControl_maxLength({\n MAX_LENGTH: `${maxLength}`\n })}\n </HiddenAccessible>\n )}\n {hasMaxLength && base.isFocused && (\n <MaxLengthLiveRegion\n isMaxLengthExceeded={isMaxLengthExceeded}\n maxLength={maxLength}\n valueLength={valueLength}\n testId={testId ? testId + '_maxLength' : undefined}\n />\n )}\n </>\n );\n\n // Keep the readonly element-type decision local because autosize determines whether readonly\n // should measure a textarea or render a plain div when maxRows is not specified.\n const readonlyMainContent = (\n <ReadonlyTextFieldInput\n aria-describedby={base.inputProps['aria-describedby']}\n aria-label={base.ariaLabel}\n aria-labelledby={base.labelProps.id}\n autoFocus={autoFocus}\n elementRef={base.readonlyElementRef}\n formVariant={variant}\n {...(maxRows ? { as: 'textarea', rows: minRows } : { as: 'div' })}\n onBlur={base.inputProps.onBlur}\n onFocus={base.inputProps.onFocus}\n textAlign={textAlign}\n value={value}\n variant=\"textarea\"\n hasEmptyLabel={label === '' && labelEdge === 'none'}\n hasInsideLabel={hasInsideLabel}\n />\n );\n\n const inputBaseProps = {\n ref,\n base,\n mainContent,\n readonlyMainContent,\n testId\n };\n\n return isEmbeddedVariant(variant) ? (\n <EmbeddedInputBase {...inputBaseProps} />\n ) : (\n <InputBase {...inputBaseProps} blooming={blooming} />\n );\n }\n);\n"],"names":["useLayoutEffect","forwardRef","useTranslationBundle","useFormContext","useCurrentValueReducer","useCallback","useId","useLengthFilter","useInputBase","defaultTextAlignForVariant","useTextAreaAltEnter","isEmbeddedVariant","_jsxs","_Fragment","_jsx","TextFieldInput","combineIds","MaxLengthCounter","HiddenAccessible","MaxLengthLiveRegion","ReadonlyTextFieldInput","EmbeddedInputBase","InputBase"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;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AAA,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAI,CAAA,CACtD,CAAC;AACJ,CAAC;;;;"}
|
package/cjs/UNSAFE_TimePicker.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
var TimePicker = require('./TimePicker-
|
|
6
|
+
var TimePicker = require('./TimePicker-fe817eb1.js');
|
|
7
7
|
require('preact/jsx-runtime');
|
|
8
|
-
require('./List-
|
|
8
|
+
require('./List-436100e1.js');
|
|
9
9
|
require('preact');
|
|
10
10
|
require('preact/compat');
|
|
11
11
|
require('preact/hooks');
|
package/cjs/UNSAFE_TreeView.js
CHANGED
|
@@ -8,7 +8,7 @@ var compat = require('preact/compat');
|
|
|
8
8
|
var hooks = require('preact/hooks');
|
|
9
9
|
var HiddenAccessible = require('./HiddenAccessible-087eb49a.js');
|
|
10
10
|
var ScrollUtils = require('./ScrollUtils-1486a0ca.js');
|
|
11
|
-
var List = require('./List-
|
|
11
|
+
var List = require('./List-436100e1.js');
|
|
12
12
|
var clientHints = require('./clientHints-22e870c1.js');
|
|
13
13
|
var useTranslationBundle = require('./useTranslationBundle-8d51d37f.js');
|
|
14
14
|
var TreeItemLayout = require('./TreeItemLayout-65ad1a6e.js');
|
|
@@ -1,13 +1,111 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
1
|
+
.dropdownStyles_displayContents__1le3d5u0 {
|
|
2
|
+
display: contents;
|
|
3
|
+
}
|
|
4
|
+
.dropdownStyles_base__1le3d5u1 {
|
|
5
|
+
--oj-current-bg-color: var(--oj-c-surface-neutral0);
|
|
3
6
|
box-sizing: border-box;
|
|
4
|
-
background-color: var(--oj-c-surface-
|
|
7
|
+
background-color: var(--oj-c-surface-neutral0);
|
|
5
8
|
border-width: 1px;
|
|
6
9
|
border-style: solid;
|
|
7
10
|
border-color: var(--oj-c-border-divider);
|
|
8
11
|
border-radius: var(--oj-c-border-radius-md);
|
|
9
|
-
box-shadow: var(--oj-c-box-shadow-
|
|
10
|
-
display: flex;
|
|
12
|
+
box-shadow: var(--oj-c-box-shadow-xs);
|
|
11
13
|
max-height: inherit;
|
|
12
|
-
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
}
|
|
17
|
+
.dropdownStyles_selectorWrapper__1le3d5u2 {
|
|
18
|
+
padding-inline-start: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
19
|
+
}
|
|
20
|
+
.dropdownStyles_multiSelectItem__1le3d5u3 {
|
|
21
|
+
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
22
|
+
padding-left: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
23
|
+
padding-right: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
24
|
+
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
25
|
+
}
|
|
26
|
+
.dropdownStyles_singleSelectItem__1le3d5u4 {
|
|
27
|
+
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
28
|
+
padding-left: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
29
|
+
padding-right: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
30
|
+
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
31
|
+
}
|
|
32
|
+
.dropdownStyles_list_base__1le3d5u5 {
|
|
33
|
+
padding-left: 0;
|
|
34
|
+
padding-right: 0;
|
|
35
|
+
margin: 1px 0 2px 0;
|
|
36
|
+
position: relative;
|
|
37
|
+
overflow-x: hidden;
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
display: grid;
|
|
41
|
+
}
|
|
42
|
+
.dropdownStyles_list_collectionWrapper__1le3d5u6 {
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
}
|
|
45
|
+
.dropdownStyles_list_topGap__1le3d5u7 {
|
|
46
|
+
padding-top: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
47
|
+
}
|
|
48
|
+
.dropdownStyles_list_bottomGap__1le3d5u8 {
|
|
49
|
+
padding-bottom: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
50
|
+
}
|
|
51
|
+
.dropdownStyles_list_loading__1le3d5u9 {
|
|
52
|
+
min-height: calc(40 * var(--oj-c-size-units, 0.25rem));
|
|
53
|
+
}
|
|
54
|
+
.dropdownStyles_userAssistance__1le3d5ua {
|
|
55
|
+
border-top-color: rgba(var(--oj-c-palette-neutral-190), 0.1);
|
|
56
|
+
border-top-style: solid;
|
|
57
|
+
border-top-width: 1px;
|
|
58
|
+
padding-bottom: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
59
|
+
padding-left: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
60
|
+
padding-right: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
61
|
+
padding-top: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
width: 0;
|
|
64
|
+
min-width: 100%;
|
|
65
|
+
}
|
|
66
|
+
.dropdownStyles_results_extraItem__1le3d5ub {
|
|
67
|
+
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
68
|
+
padding-left: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
69
|
+
padding-right: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
70
|
+
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
71
|
+
width: 100%;
|
|
72
|
+
}
|
|
73
|
+
.dropdownStyles_results_linkItemHighlight__1le3d5uc {
|
|
74
|
+
background-color: var(--oj-c-overlay-hover);
|
|
75
|
+
}
|
|
76
|
+
.dropdownStyles_results_linkItemFocus__1le3d5ud {
|
|
77
|
+
outline-color: var(--oj-c-keyboard-outline-color);
|
|
78
|
+
outline-offset: calc(-1 * var(--oj-c-keyboard-outline-width));
|
|
79
|
+
outline-style: var(--oj-c-keyboard-outline-style);
|
|
80
|
+
outline-width: var(--oj-c-keyboard-outline-width);
|
|
81
|
+
}
|
|
82
|
+
.dropdownStyles_results_linkItemRoot__1le3d5ue {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
}
|
|
86
|
+
.dropdownStyles_results_linkItemRoot__1le3d5ue > a:focus {
|
|
87
|
+
outline: none;
|
|
88
|
+
}
|
|
89
|
+
.dropdownStyles_arrow_base__1le3d5uf {
|
|
90
|
+
display: inline-flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
width: var(--oj-c-base-button-sizes-sm-height);
|
|
94
|
+
height: var(--oj-c-base-button-sizes-sm-height);
|
|
95
|
+
line-height: var(--oj-c-base-button-sizes-sm-height);
|
|
96
|
+
font-size: var(--oj-c-PRIVATE-button-label-layout-sizes-sm-icon-size);
|
|
97
|
+
padding-inline: 0;
|
|
98
|
+
padding-block: 0;
|
|
99
|
+
border-radius: var(--oj-c-base-button-border-radius);
|
|
100
|
+
color: var(--oj-c-base-button-variants-ghost-base-color);
|
|
101
|
+
}
|
|
102
|
+
.dropdownStyles_arrow_enabled__1le3d5ug {
|
|
103
|
+
cursor: var(--oj-c-cursor-clickable) !important;
|
|
104
|
+
}
|
|
105
|
+
.dropdownStyles_arrow_enabled__1le3d5ug:hover {
|
|
106
|
+
color: var(--oj-c-text-icon-secondary);
|
|
107
|
+
background-color: var(--oj-c-base-button-variants-ghost-hover-background-overlay-color);
|
|
108
|
+
}
|
|
109
|
+
.dropdownStyles_arrow_disabled__1le3d5uh {
|
|
110
|
+
color: var(--oj-c-base-button-variants-ghost-disabled-color);
|
|
13
111
|
}
|
|
@@ -1,111 +1,13 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
.dropdownStyles_base__1le3d5u1 {
|
|
5
|
-
--oj-current-bg-color: var(--oj-c-surface-neutral0);
|
|
1
|
+
.dropdownStyles_base__d55yjw0 {
|
|
2
|
+
--oj-current-bg-color: var(--oj-c-surface-popup);
|
|
6
3
|
box-sizing: border-box;
|
|
7
|
-
background-color: var(--oj-c-surface-
|
|
4
|
+
background-color: var(--oj-c-surface-popup);
|
|
8
5
|
border-width: 1px;
|
|
9
6
|
border-style: solid;
|
|
10
7
|
border-color: var(--oj-c-border-divider);
|
|
11
8
|
border-radius: var(--oj-c-border-radius-md);
|
|
12
|
-
box-shadow: var(--oj-c-box-shadow-
|
|
13
|
-
max-height: inherit;
|
|
9
|
+
box-shadow: var(--oj-c-box-shadow-sm);
|
|
14
10
|
display: flex;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.dropdownStyles_selectorWrapper__1le3d5u2 {
|
|
18
|
-
padding-inline-start: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
19
|
-
}
|
|
20
|
-
.dropdownStyles_multiSelectItem__1le3d5u3 {
|
|
21
|
-
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
22
|
-
padding-left: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
23
|
-
padding-right: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
24
|
-
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
25
|
-
}
|
|
26
|
-
.dropdownStyles_singleSelectItem__1le3d5u4 {
|
|
27
|
-
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
28
|
-
padding-left: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
29
|
-
padding-right: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
30
|
-
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
31
|
-
}
|
|
32
|
-
.dropdownStyles_list_base__1le3d5u5 {
|
|
33
|
-
padding-left: 0;
|
|
34
|
-
padding-right: 0;
|
|
35
|
-
margin: 1px 0 2px 0;
|
|
36
|
-
position: relative;
|
|
37
|
-
overflow-x: hidden;
|
|
38
|
-
overflow-y: auto;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
display: grid;
|
|
41
|
-
}
|
|
42
|
-
.dropdownStyles_list_collectionWrapper__1le3d5u6 {
|
|
43
|
-
overflow-y: auto;
|
|
44
|
-
}
|
|
45
|
-
.dropdownStyles_list_topGap__1le3d5u7 {
|
|
46
|
-
padding-top: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
47
|
-
}
|
|
48
|
-
.dropdownStyles_list_bottomGap__1le3d5u8 {
|
|
49
|
-
padding-bottom: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
50
|
-
}
|
|
51
|
-
.dropdownStyles_list_loading__1le3d5u9 {
|
|
52
|
-
min-height: calc(40 * var(--oj-c-size-units, 0.25rem));
|
|
53
|
-
}
|
|
54
|
-
.dropdownStyles_userAssistance__1le3d5ua {
|
|
55
|
-
border-top-color: rgba(var(--oj-c-palette-neutral-190), 0.1);
|
|
56
|
-
border-top-style: solid;
|
|
57
|
-
border-top-width: 1px;
|
|
58
|
-
padding-bottom: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
59
|
-
padding-left: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
60
|
-
padding-right: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
61
|
-
padding-top: calc(2 * var(--oj-c-size-units, 0.25rem));
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
width: 0;
|
|
64
|
-
min-width: 100%;
|
|
65
|
-
}
|
|
66
|
-
.dropdownStyles_results_extraItem__1le3d5ub {
|
|
67
|
-
padding-bottom: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
68
|
-
padding-left: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
69
|
-
padding-right: calc(4 * var(--oj-c-size-units, 0.25rem));
|
|
70
|
-
padding-top: calc(3 * var(--oj-c-size-units, 0.25rem));
|
|
71
|
-
width: 100%;
|
|
72
|
-
}
|
|
73
|
-
.dropdownStyles_results_linkItemHighlight__1le3d5uc {
|
|
74
|
-
background-color: var(--oj-c-overlay-hover);
|
|
75
|
-
}
|
|
76
|
-
.dropdownStyles_results_linkItemFocus__1le3d5ud {
|
|
77
|
-
outline-color: var(--oj-c-keyboard-outline-color);
|
|
78
|
-
outline-offset: calc(-1 * var(--oj-c-keyboard-outline-width));
|
|
79
|
-
outline-style: var(--oj-c-keyboard-outline-style);
|
|
80
|
-
outline-width: var(--oj-c-keyboard-outline-width);
|
|
81
|
-
}
|
|
82
|
-
.dropdownStyles_results_linkItemRoot__1le3d5ue {
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
}
|
|
86
|
-
.dropdownStyles_results_linkItemRoot__1le3d5ue > a:focus {
|
|
87
|
-
outline: none;
|
|
88
|
-
}
|
|
89
|
-
.dropdownStyles_arrow_base__1le3d5uf {
|
|
90
|
-
display: inline-flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
justify-content: center;
|
|
93
|
-
width: var(--oj-c-base-button-sizes-sm-height);
|
|
94
|
-
height: var(--oj-c-base-button-sizes-sm-height);
|
|
95
|
-
line-height: var(--oj-c-base-button-sizes-sm-height);
|
|
96
|
-
font-size: var(--oj-c-PRIVATE-button-label-layout-sizes-sm-icon-size);
|
|
97
|
-
padding-inline: 0;
|
|
98
|
-
padding-block: 0;
|
|
99
|
-
border-radius: var(--oj-c-base-button-border-radius);
|
|
100
|
-
color: var(--oj-c-base-button-variants-ghost-base-color);
|
|
101
|
-
}
|
|
102
|
-
.dropdownStyles_arrow_enabled__1le3d5ug {
|
|
103
|
-
cursor: var(--oj-c-cursor-clickable) !important;
|
|
104
|
-
}
|
|
105
|
-
.dropdownStyles_arrow_enabled__1le3d5ug:hover {
|
|
106
|
-
color: var(--oj-c-text-icon-secondary);
|
|
107
|
-
background-color: var(--oj-c-base-button-variants-ghost-hover-background-overlay-color);
|
|
108
|
-
}
|
|
109
|
-
.dropdownStyles_arrow_disabled__1le3d5uh {
|
|
110
|
-
color: var(--oj-c-base-button-variants-ghost-disabled-color);
|
|
11
|
+
max-height: inherit;
|
|
12
|
+
overflow: hidden;
|
|
111
13
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
var useDetectHorizontalOverflow = require('../useDetectHorizontalOverflow-
|
|
6
|
+
var useDetectHorizontalOverflow = require('../useDetectHorizontalOverflow-15084cbf.js');
|
|
7
7
|
require('preact/hooks');
|
|
8
8
|
require('../useResizeObserver-a9e97180.js');
|
|
9
9
|
require('../useAddBusyState-d19ae1fa.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
|
-
var useTabBar = require('../useTabBar-
|
|
6
|
+
var useTabBar = require('../useTabBar-1cfaf3e6.js');
|
|
7
7
|
require('preact/hooks');
|
|
8
8
|
require('../mergeProps-e3da7237.js');
|
|
9
9
|
require('../collectionUtils-2f50dde3.js');
|
package/cjs/{useDetectHorizontalOverflow-622817d4.js → useDetectHorizontalOverflow-15084cbf.js}
RENAMED
|
@@ -7,10 +7,6 @@ var tabBarUtils = require('./tabBarUtils-6f16dfec.js');
|
|
|
7
7
|
|
|
8
8
|
//The minimum width of the overflowtabbaritem, it can be rendered with width greater than this based on available width
|
|
9
9
|
const MORE_ITEM_WIDTH = 48;
|
|
10
|
-
const LABEL_MIN_WIDTH = 96;
|
|
11
|
-
const TAB_BORDER = 6;
|
|
12
|
-
//This is the minWidth a tab will have if it has only a label.
|
|
13
|
-
const TAB_MIN_WIDTH = LABEL_MIN_WIDTH + TAB_BORDER;
|
|
14
10
|
/**
|
|
15
11
|
* Implements overflow detection and calculation
|
|
16
12
|
*/
|
|
@@ -25,7 +21,10 @@ function useDetectHorizontalOverflow({ rootRef, keysArray, isTruncationDisabled
|
|
|
25
21
|
const isAllItemsTruncatedFinal = hooks.useRef(false);
|
|
26
22
|
const tabDimensions = hooks.useRef();
|
|
27
23
|
hooks.useLayoutEffect(() => {
|
|
28
|
-
//
|
|
24
|
+
// On initial render, tabBarWidth is 0 until ResizeObserver invokes its callback.
|
|
25
|
+
// Read the mounted TabBar's width so overflow can be calculated before that callback.
|
|
26
|
+
// A TabBar that is initially hidden can still measure as 0; ResizeObserver recalculates
|
|
27
|
+
// overflow when it becomes visible.
|
|
29
28
|
const tabBarWidthCurrent = rootRef?.current?.clientWidth;
|
|
30
29
|
const tabBarScrollWidthCurrent = rootRef?.current?.scrollWidth;
|
|
31
30
|
if (rootRef.current &&
|
|
@@ -73,16 +72,18 @@ function useDetectHorizontalOverflow({ rootRef, keysArray, isTruncationDisabled
|
|
|
73
72
|
const lastIndex = arr.length - 1;
|
|
74
73
|
//In addition to scrollWidth we check if the cumulative width of last item is greater than rootRef clientwidth
|
|
75
74
|
if (arr && tabBarWidthCurrent < arr[lastIndex]) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
//
|
|
81
|
-
const
|
|
82
|
-
setVisibleItemKeys(keysArray.slice(0,
|
|
83
|
-
setOverflowingItemKeys(keysArray?.slice(
|
|
75
|
+
// Reserve space for the More item before finding the last tab that fits.
|
|
76
|
+
const availableWidth = tabBarWidthCurrent - MORE_ITEM_WIDTH;
|
|
77
|
+
const closestIndex = searchClosest(arr, availableWidth);
|
|
78
|
+
if (closestIndex != null) {
|
|
79
|
+
// `closestIndex` is the last visible item index; `slice` takes an exclusive end index.
|
|
80
|
+
const visibleItemCount = closestIndex + 1;
|
|
81
|
+
setVisibleItemKeys(keysArray.slice(0, visibleItemCount));
|
|
82
|
+
setOverflowingItemKeys(keysArray?.slice(visibleItemCount));
|
|
84
83
|
//Once OverflowTabBarItem is rendered, i.e overflowItemKeys move into overflow menu then space is available, which can be re-dsitributed to truncated visible items. We also check if these visible items have already gone through this calculation otherwise we skip it to avoid infinite loop.
|
|
85
|
-
if (
|
|
84
|
+
if (visibleItemCount > 1 &&
|
|
85
|
+
!isAllItemsTruncatedFinal.current &&
|
|
86
|
+
!isTruncationDisabled) {
|
|
86
87
|
const tabWidthsAfterOverflow = tabBarUtils.getTabWidths(rootRef.current, trailingContentWidths, isTruncationDisabled, tabBarWidthCurrent, isAllItemsTruncatedMax?.current);
|
|
87
88
|
const tabMaxWidthMapAfterOverflow = new Map(tabWidthsAfterOverflow.map((tab) => [tab.key, (tab.maxWidth + 'px')]));
|
|
88
89
|
//Flag to indicate that final truncation calculation has occured
|
|
@@ -137,52 +138,23 @@ const shouldRenderAllTabs = (visibleItemKeys, overflowItemKeys, keysArray) => {
|
|
|
137
138
|
else
|
|
138
139
|
return false;
|
|
139
140
|
};
|
|
140
|
-
//
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
else if (midEntry < searchValue) {
|
|
155
|
-
closestEntry = midEntry;
|
|
156
|
-
closestIndex = mid;
|
|
157
|
-
left = mid + 1;
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
right = mid - 1;
|
|
161
|
-
}
|
|
162
|
-
//If the searchValue is greater than closest entry and their difference is greater more item width then we have space to fit more item. Otherwise we return the index with the closest and small value when compared to searchvalue
|
|
163
|
-
if (closestEntry && searchValue > closestEntry) {
|
|
164
|
-
//NOTE: Do not update closestEntry to midEntry here because value from const midEntry = arr[mid], midEntry maybe greater than searchValue and below it may end up updating closestIndex to mid +1 due to abs check
|
|
165
|
-
//Sometimes closest entry may be much smaller than searchvalue so in such cases we maybe able to accomodate more items. The difference between searchValue and closestEntry should be greater than the minWidth needed for any item so that it can be rendered. If the difference is lesser than item min width we then check if space is available to render overflowitem alone else we reduce the closestIndex.
|
|
166
|
-
closestIndex =
|
|
167
|
-
Math.abs(searchValue - closestEntry) > TAB_MIN_WIDTH && mid + 1 <= arr.length - 2
|
|
168
|
-
? mid + 1
|
|
169
|
-
: Math.abs(searchValue - closestEntry) > MORE_ITEM_WIDTH
|
|
170
|
-
? mid
|
|
171
|
-
: mid - 1 >= 0
|
|
172
|
-
? mid - 1
|
|
173
|
-
: 0;
|
|
174
|
-
}
|
|
175
|
-
//If the searchValue is lesser than closestEntry we return a value lesser than mid, this happens when all the values in the array are lesser than searchValue, i.e screensize is extremely small
|
|
176
|
-
else {
|
|
177
|
-
closestIndex = mid - 1 >= 0 ? mid - 1 : 0;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return { closestEntry: closestEntry, closestIndex: closestIndex };
|
|
141
|
+
// Returns the index of the largest cumulative width that fits the available width.
|
|
142
|
+
// The caller reserves the More-item width before calling this function.
|
|
143
|
+
const searchClosest = (arr, availableWidth) => {
|
|
144
|
+
if (arr == null || availableWidth == null) {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
let closestIndex = -1;
|
|
148
|
+
for (let index = 0; index < arr.length; index++) {
|
|
149
|
+
if (arr[index] <= availableWidth) {
|
|
150
|
+
closestIndex = index;
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
break;
|
|
181
154
|
}
|
|
182
|
-
else
|
|
183
|
-
return { closestEntry: null, closestIndex: null };
|
|
184
155
|
}
|
|
156
|
+
return closestIndex;
|
|
185
157
|
};
|
|
186
158
|
|
|
187
159
|
exports.useDetectHorizontalOverflow = useDetectHorizontalOverflow;
|
|
188
|
-
//# sourceMappingURL=useDetectHorizontalOverflow-
|
|
160
|
+
//# sourceMappingURL=useDetectHorizontalOverflow-15084cbf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDetectHorizontalOverflow-15084cbf.js","sources":["../../src/hooks/PRIVATE_useDetectHorizontalOverflow/useDetectHorizontalOverflow.ts"],"sourcesContent":["import { RefObject } from 'preact';\nimport { useState, useLayoutEffect, useRef, StateUpdater, useCallback } from 'preact/hooks';\nimport { useResizeObserver } from '../../hooks/UNSAFE_useResizeObserver';\nimport { Size } from '../../utils/UNSAFE_size';\nimport { getTabWidths } from '../../utils/PRIVATE_tabBarUtils';\nimport type { TrailingContentInfo } from '../../utils/PRIVATE_tabBarUtils';\n\ntype TabDimensions<K extends string | number> = {\n key: K;\n maxWidth: number;\n nonTextWidth?: number;\n needsTruncation?: boolean;\n cumulativeWidth?: number;\n};\n\n//The minimum width of the overflowtabbaritem, it can be rendered with width greater than this based on available width\nconst MORE_ITEM_WIDTH = 48;\n\nexport type useDetectOverflowProps<K extends string | number> = {\n rootRef: RefObject<HTMLDivElement>;\n keysArray: (K | undefined)[];\n isTruncationDisabled?: boolean;\n};\n\n/**\n * Implements overflow detection and calculation\n */\nexport function useDetectHorizontalOverflow<K extends string | number>({\n rootRef,\n keysArray,\n isTruncationDisabled = true\n}: useDetectOverflowProps<K>) {\n const [visibleItemKeys, setVisibleItemKeys] = useState<(K | undefined)[]>();\n const [overflowItemKeys, setOverflowingItemKeys] = useState<(K | undefined)[]>();\n const trailingContentWidths = useRef(new Map<K, TrailingContentInfo>());\n const [tabMaxWidth, setTabMaxWidth] = useState<Map<K, Size>>();\n // This state var is to only re-trigger the layout effect. Using it locally will not give the latest updated value hence we use current suffix vars\n const [tabBarWidth, setTabBarWidth] = useState<number>(0);\n const isAllItemsTruncatedMax = useRef<boolean>(false);\n const isAllItemsTruncatedFinal = useRef<boolean>(false);\n const tabDimensions = useRef<TabDimensions<K>[]>();\n\n useLayoutEffect(() => {\n // On initial render, tabBarWidth is 0 until ResizeObserver invokes its callback.\n // Read the mounted TabBar's width so overflow can be calculated before that callback.\n // A TabBar that is initially hidden can still measure as 0; ResizeObserver recalculates\n // overflow when it becomes visible.\n const tabBarWidthCurrent = rootRef?.current?.clientWidth;\n const tabBarScrollWidthCurrent = rootRef?.current?.scrollWidth;\n if (\n rootRef.current &&\n keysArray &&\n keysArray.length > 0 &&\n tabBarWidthCurrent &&\n tabBarWidthCurrent > 0\n ) {\n //Set tabBarWidth if not the current value\n if (tabBarWidth !== tabBarWidthCurrent) {\n setTabBarWidth(tabBarWidthCurrent);\n }\n\n if (tabMaxWidth === undefined) {\n const isOverflow = tabBarWidthCurrent > 0 && tabBarWidthCurrent < tabBarScrollWidthCurrent!;\n\n //If there is no overflow maxWidth should be its prevState, prevState may also be undefined if truncation is disabled.\n if (!isOverflow) {\n setTabMaxWidth((prevState) => {\n return prevState;\n });\n } else {\n //We need to calculate maxWidth only if truncation threshold limit is not reached\n if (!isAllItemsTruncatedMax.current) {\n const tabWidths = getTabWidths(\n rootRef.current,\n trailingContentWidths,\n isTruncationDisabled,\n tabBarWidthCurrent,\n isAllItemsTruncatedMax?.current,\n keysArray as K[]\n );\n //If all items have reached max treshold of truncation then we set it to true\n if (tabWidths.every((item) => item.hasReachedLimit)) {\n isAllItemsTruncatedMax.current = true;\n }\n tabDimensions.current = tabWidths as any;\n }\n //If all items have reached max treshold of truncation then we do not have update tabDimensions are maxWidth cannot go lesser than 96px.\n else {\n tabDimensions.current = tabDimensions.current?.map((item) => ({\n ...item\n }));\n }\n }\n\n //Set calculated maxWidths\n if (!isTruncationDisabled) {\n const tabMaxWidthMap = new Map(\n tabDimensions.current?.map((tab) => [tab.key, (tab.maxWidth + 'px') as Size])\n );\n setTabMaxWidth(tabMaxWidthMap);\n }\n //Overflow calculation\n if (tabBarWidthCurrent < tabBarScrollWidthCurrent!) {\n const arr = tabDimensions.current?.map((item) => item.cumulativeWidth) as number[];\n const lastIndex = arr.length - 1;\n //In addition to scrollWidth we check if the cumulative width of last item is greater than rootRef clientwidth\n if (arr && tabBarWidthCurrent < arr[lastIndex]) {\n // Reserve space for the More item before finding the last tab that fits.\n const availableWidth = tabBarWidthCurrent - MORE_ITEM_WIDTH;\n const closestIndex = searchClosest(arr, availableWidth);\n if (closestIndex != null) {\n // `closestIndex` is the last visible item index; `slice` takes an exclusive end index.\n const visibleItemCount = closestIndex + 1;\n setVisibleItemKeys(keysArray.slice(0, visibleItemCount));\n setOverflowingItemKeys(keysArray?.slice(visibleItemCount));\n //Once OverflowTabBarItem is rendered, i.e overflowItemKeys move into overflow menu then space is available, which can be re-dsitributed to truncated visible items. We also check if these visible items have already gone through this calculation otherwise we skip it to avoid infinite loop.\n if (\n visibleItemCount > 1 &&\n !isAllItemsTruncatedFinal.current &&\n !isTruncationDisabled\n ) {\n const tabWidthsAfterOverflow = getTabWidths(\n rootRef.current,\n trailingContentWidths,\n isTruncationDisabled,\n tabBarWidthCurrent,\n isAllItemsTruncatedMax?.current\n );\n const tabMaxWidthMapAfterOverflow = new Map(\n tabWidthsAfterOverflow.map((tab) => [tab.key, (tab.maxWidth + 'px') as Size])\n );\n //Flag to indicate that final truncation calculation has occured\n isAllItemsTruncatedFinal.current = true;\n setTabMaxWidth(tabMaxWidthMapAfterOverflow);\n }\n }\n }\n }\n }\n }\n }, [keysArray, rootRef, tabBarWidth, tabMaxWidth, isTruncationDisabled]);\n\n const updateTabBarWidth = useCallback(\n (entry: { contentRect: { width: StateUpdater<number> } }) => {\n const rectWidth = Math.ceil(entry.contentRect.width as number);\n // Sometimes entry.contentRect.width maybe a decimal value so we need to get absolute value\n if (Math.abs(tabBarWidth - (entry.contentRect.width as number)) > 1) {\n setTabBarWidth(entry.contentRect.width);\n if (tabMaxWidth !== undefined && !isAllItemsTruncatedMax.current) {\n setTabMaxWidth(undefined);\n }\n //Once there is change in the container width and there is no overflow we render all items as visible.\n if (rectWidth >= rootRef.current?.scrollWidth!) {\n setVisibleItemKeys(keysArray);\n setOverflowingItemKeys([]);\n }\n isAllItemsTruncatedFinal.current = false;\n }\n },\n [tabBarWidth, tabMaxWidth, rootRef, keysArray]\n );\n\n useResizeObserver(rootRef, updateTabBarWidth);\n\n return shouldRenderAllTabs(visibleItemKeys, overflowItemKeys, keysArray)\n ? {\n visibleItemKeys: keysArray,\n overflowItemKeys,\n maxWidths: tabMaxWidth\n }\n : {\n visibleItemKeys,\n overflowItemKeys,\n maxWidths: tabMaxWidth\n };\n}\n\n//If the overflow + visible keys or their quantity are not the same as keysArray then we first render all the keys as visible\nconst shouldRenderAllTabs = <K extends string | number>(\n visibleItemKeys: (K | undefined)[] | undefined,\n overflowItemKeys: (K | undefined)[] | undefined,\n keysArray: (K | undefined)[]\n) => {\n if (visibleItemKeys == null) return true;\n else if (visibleItemKeys && overflowItemKeys && keysArray) {\n const combinedArray = [...visibleItemKeys, ...overflowItemKeys];\n const isNotEqual =\n combinedArray.length !== keysArray.length ||\n JSON.stringify(keysArray) !== JSON.stringify(combinedArray);\n return isNotEqual;\n } else return false;\n};\n\n// Returns the index of the largest cumulative width that fits the available width.\n// The caller reserves the More-item width before calling this function.\nconst searchClosest = (\n arr: number[] | undefined,\n availableWidth: number | undefined | null\n): number | null => {\n if (arr == null || availableWidth == null) {\n return null;\n }\n\n let closestIndex = -1;\n\n for (let index = 0; index < arr.length; index++) {\n if (arr[index] <= availableWidth) {\n closestIndex = index;\n } else {\n break;\n }\n }\n\n return closestIndex;\n};\n"],"names":["useState","useRef","useLayoutEffect","getTabWidths","useCallback","useResizeObserver"],"mappings":";;;;;;;AAeA;AACA,MAAM,eAAe,GAAG,EAAE,CAAC;AAQ3B;;AAEG;AACG,SAAU,2BAA2B,CAA4B,EACrE,OAAO,EACP,SAAS,EACT,oBAAoB,GAAG,IAAI,EACD,EAAA;IAC1B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAGA,cAAQ,EAAqB,CAAC;IAC5E,MAAM,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAAGA,cAAQ,EAAqB,CAAC;IACjF,MAAM,qBAAqB,GAAGC,YAAM,CAAC,IAAI,GAAG,EAA0B,CAAC,CAAC;IACxE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAGD,cAAQ,EAAgB,CAAC;;IAE/D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAGA,cAAQ,CAAS,CAAC,CAAC,CAAC;AAC1D,IAAA,MAAM,sBAAsB,GAAGC,YAAM,CAAU,KAAK,CAAC,CAAC;AACtD,IAAA,MAAM,wBAAwB,GAAGA,YAAM,CAAU,KAAK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AED,IAAA,OAAO,YAAY,CAAC;AACtB,CAAC;;;;"}
|
|
@@ -31,7 +31,7 @@ require('./UNSAFE_TextField/themes/TextFieldStyles.css.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
require('./UNSAFE_TextField/themes/redwood/TextFieldVariants.css.js');
|
|
34
|
-
var useSelectCommon = require('./useSelectCommon-
|
|
34
|
+
var useSelectCommon = require('./useSelectCommon-bb44fdb6.js');
|
|
35
35
|
var LiveRegion = require('./LiveRegion-e8e384f1.js');
|
|
36
36
|
|
|
37
37
|
|
|
@@ -82,4 +82,4 @@ function useDisplayValue(itemText, valueItem, componentName = 'SelectSingle') {
|
|
|
82
82
|
exports.SelectSingleField = SelectSingleField;
|
|
83
83
|
exports.SelectSingleFieldInput = SelectSingleFieldInput;
|
|
84
84
|
exports.useDisplayValue = useDisplayValue;
|
|
85
|
-
//# sourceMappingURL=useDisplayValue-
|
|
85
|
+
//# sourceMappingURL=useDisplayValue-777c9be5.js.map
|