@hitachivantara/uikit-react-core 5.66.12 → 5.66.14
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/dist/cjs/ActionsGeneric/ActionsGeneric.cjs +1 -2
- package/dist/cjs/AvatarGroup/AvatarGroup.cjs +1 -2
- package/dist/cjs/BaseDropdown/BaseDropdown.cjs +2 -4
- package/dist/cjs/Box/Box.cjs +13 -14
- package/dist/cjs/Button/Button.cjs +3 -6
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.cjs +2 -4
- package/dist/cjs/Calendar/SingleCalendar/CalendarCell.cjs +1 -2
- package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.cjs +4 -8
- package/dist/cjs/Calendar/utils.cjs +4 -8
- package/dist/cjs/Carousel/Carousel.cjs +26 -11
- package/dist/cjs/Carousel/CarouselControls.cjs +9 -2
- package/dist/cjs/ColorPicker/Fields/Fields.cjs +4 -8
- package/dist/cjs/DatePicker/DatePicker.cjs +6 -12
- package/dist/cjs/Dialog/Dialog.cjs +2 -4
- package/dist/cjs/Drawer/Drawer.cjs +1 -2
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs +2 -4
- package/dist/cjs/Dropdown/Dropdown.cjs +1 -2
- package/dist/cjs/Dropdown/List/List.cjs +2 -4
- package/dist/cjs/Dropdown/utils.cjs +1 -2
- package/dist/cjs/FileUploader/DropZone/DropZone.cjs +3 -6
- package/dist/cjs/FileUploader/FileList/FileList.cjs +1 -2
- package/dist/cjs/FilterGroup/FilterContent/FilterContent.cjs +2 -4
- package/dist/cjs/Focus/Focus.cjs +7 -14
- package/dist/cjs/Forms/FormElement/utils/FormUtils.cjs +6 -4
- package/dist/cjs/GlobalActions/GlobalActions.styles.cjs +1 -2
- package/dist/cjs/Grid/Grid.cjs +7 -4
- package/dist/cjs/Header/Navigation/useSelectionPath.cjs +1 -2
- package/dist/cjs/Input/Input.cjs +2 -4
- package/dist/cjs/Link/Link.cjs +1 -2
- package/dist/cjs/List/List.cjs +12 -15
- package/dist/cjs/List/utils.cjs +1 -2
- package/dist/cjs/ListContainer/ListContainer.cjs +1 -2
- package/dist/cjs/ListContainer/ListContext/ListContext.cjs +1 -2
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs +3 -6
- package/dist/cjs/LoadingContainer/LoadingContainer.cjs +2 -1
- package/dist/cjs/Pagination/Select.cjs +1 -2
- package/dist/cjs/QueryBuilder/Rule/Attribute/Attribute.cjs +1 -2
- package/dist/cjs/QueryBuilder/Rule/Value/NumericValue/NumericValue.cjs +2 -2
- package/dist/cjs/QueryBuilder/utils/reducer.cjs +1 -2
- package/dist/cjs/ScrollTo/Horizontal/ScrollToHorizontal.cjs +2 -2
- package/dist/cjs/ScrollTo/Vertical/ScrollToVertical.cjs +2 -2
- package/dist/cjs/Select/Select.cjs +2 -2
- package/dist/cjs/Skeleton/Skeleton.cjs +1 -2
- package/dist/cjs/Slider/Slider.cjs +1 -2
- package/dist/cjs/Slider/SliderInput/SliderInput.cjs +1 -2
- package/dist/cjs/Slider/utils.cjs +4 -8
- package/dist/cjs/Stack/Stack.cjs +1 -2
- package/dist/cjs/Table/TableContext.cjs +1 -2
- package/dist/cjs/Table/TableSectionContext.cjs +1 -2
- package/dist/cjs/Table/hooks/useBulkActions.cjs +1 -2
- package/dist/cjs/Table/hooks/useRowExpand.cjs +5 -1
- package/dist/cjs/Table/utils/fallbacks.cjs +1 -2
- package/dist/cjs/Tag/Tag.cjs +2 -4
- package/dist/cjs/TagsInput/TagsInput.cjs +2 -3
- package/dist/cjs/TextArea/TextArea.cjs +1 -2
- package/dist/cjs/TimeAgo/TimeAgo.cjs +1 -2
- package/dist/cjs/TimeAgo/useTimeout.cjs +1 -2
- package/dist/cjs/TimePicker/Placeholder.cjs +3 -6
- package/dist/cjs/TimePicker/TimePicker.cjs +3 -6
- package/dist/cjs/TreeView/TreeItem/TreeItem.cjs +2 -1
- package/dist/cjs/TreeView/TreeItem/useHvTreeItem.cjs +3 -6
- package/dist/cjs/TreeView/internals/DescendantProvider.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewExpansion.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewFocus.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewKeyboardNavigation.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewNodes.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/plugins/useTreeViewSelection.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/useInstanceEventHandler.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/useTreeView.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/useTreeViewInstanceEvents.cjs +1 -2
- package/dist/cjs/TreeView/internals/hooks/useTreeViewModels.cjs +1 -2
- package/dist/cjs/Typography/utils.cjs +1 -2
- package/dist/cjs/VerticalNavigation/Header/Header.cjs +1 -2
- package/dist/cjs/VerticalNavigation/Navigation/Navigation.cjs +2 -4
- package/dist/cjs/VerticalNavigation/TreeView/TreeView.cjs +3 -6
- package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.cjs +4 -8
- package/dist/cjs/hooks/useForkRef.cjs +1 -2
- package/dist/cjs/hooks/useUniqueId.cjs +2 -4
- package/dist/cjs/providers/Provider.cjs +2 -4
- package/dist/cjs/utils/classes.cjs +6 -3
- package/dist/cjs/utils/deepMerge.cjs +2 -1
- package/dist/cjs/utils/helpers.cjs +1 -2
- package/dist/cjs/utils/theme.cjs +1 -2
- package/dist/cjs/utils/useSavedState.cjs +1 -2
- package/dist/esm/ActionsGeneric/ActionsGeneric.js +1 -2
- package/dist/esm/ActionsGeneric/ActionsGeneric.js.map +1 -1
- package/dist/esm/AvatarGroup/AvatarGroup.js +1 -2
- package/dist/esm/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/esm/BaseDropdown/BaseDropdown.js +2 -4
- package/dist/esm/BaseDropdown/BaseDropdown.js.map +1 -1
- package/dist/esm/Box/Box.js +13 -14
- package/dist/esm/Box/Box.js.map +1 -1
- package/dist/esm/Button/Button.js +3 -6
- package/dist/esm/Button/Button.js.map +1 -1
- package/dist/esm/Button/Button.styles.js.map +1 -1
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.js +2 -4
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.js.map +1 -1
- package/dist/esm/Calendar/SingleCalendar/CalendarCell.js +1 -2
- package/dist/esm/Calendar/SingleCalendar/CalendarCell.js.map +1 -1
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.js +4 -8
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.js.map +1 -1
- package/dist/esm/Calendar/utils.js +4 -8
- package/dist/esm/Calendar/utils.js.map +1 -1
- package/dist/esm/Card/Card.js.map +1 -1
- package/dist/esm/Carousel/Carousel.js +26 -11
- package/dist/esm/Carousel/Carousel.js.map +1 -1
- package/dist/esm/Carousel/CarouselControls.js +9 -2
- package/dist/esm/Carousel/CarouselControls.js.map +1 -1
- package/dist/esm/ColorPicker/Fields/Fields.js +3 -6
- package/dist/esm/ColorPicker/Fields/Fields.js.map +1 -1
- package/dist/esm/DatePicker/DatePicker.js +6 -12
- package/dist/esm/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/Dialog/Dialog.js +2 -4
- package/dist/esm/Dialog/Dialog.js.map +1 -1
- package/dist/esm/Drawer/Drawer.js +1 -2
- package/dist/esm/Drawer/Drawer.js.map +1 -1
- package/dist/esm/DropDownMenu/DropDownMenu.js +2 -4
- package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.js +1 -2
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/Dropdown/List/List.js +2 -4
- package/dist/esm/Dropdown/List/List.js.map +1 -1
- package/dist/esm/Dropdown/utils.js +1 -2
- package/dist/esm/Dropdown/utils.js.map +1 -1
- package/dist/esm/FileUploader/DropZone/DropZone.js +3 -6
- package/dist/esm/FileUploader/DropZone/DropZone.js.map +1 -1
- package/dist/esm/FileUploader/FileList/FileList.js +1 -2
- package/dist/esm/FileUploader/FileList/FileList.js.map +1 -1
- package/dist/esm/FilterGroup/FilterContent/FilterContent.js +2 -4
- package/dist/esm/FilterGroup/FilterContent/FilterContent.js.map +1 -1
- package/dist/esm/Focus/Focus.js +7 -14
- package/dist/esm/Focus/Focus.js.map +1 -1
- package/dist/esm/Forms/FormElement/FormElement.js.map +1 -1
- package/dist/esm/Forms/FormElement/context/FormElementContext.js.map +1 -1
- package/dist/esm/Forms/FormElement/context/FormElementDescriptorsContext.js.map +1 -1
- package/dist/esm/Forms/FormElement/utils/FormUtils.js +6 -4
- package/dist/esm/Forms/FormElement/utils/FormUtils.js.map +1 -1
- package/dist/esm/GlobalActions/GlobalActions.styles.js +1 -2
- package/dist/esm/GlobalActions/GlobalActions.styles.js.map +1 -1
- package/dist/esm/Grid/Grid.js +7 -4
- package/dist/esm/Grid/Grid.js.map +1 -1
- package/dist/esm/Header/Navigation/useSelectionPath.js +1 -2
- package/dist/esm/Header/Navigation/useSelectionPath.js.map +1 -1
- package/dist/esm/Input/Input.js +2 -4
- package/dist/esm/Input/Input.js.map +1 -1
- package/dist/esm/Link/Link.js +1 -2
- package/dist/esm/Link/Link.js.map +1 -1
- package/dist/esm/List/List.js +12 -15
- package/dist/esm/List/List.js.map +1 -1
- package/dist/esm/List/utils.js +1 -2
- package/dist/esm/List/utils.js.map +1 -1
- package/dist/esm/ListContainer/ListContainer.js +4 -5
- package/dist/esm/ListContainer/ListContainer.js.map +1 -1
- package/dist/esm/ListContainer/ListContext/ListContext.js +1 -2
- package/dist/esm/ListContainer/ListContext/ListContext.js.map +1 -1
- package/dist/esm/ListContainer/ListItem/ListItem.js +5 -8
- package/dist/esm/ListContainer/ListItem/ListItem.js.map +1 -1
- package/dist/esm/Loading/Loading.js.map +1 -1
- package/dist/esm/LoadingContainer/LoadingContainer.js +2 -1
- package/dist/esm/LoadingContainer/LoadingContainer.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.js.map +1 -1
- package/dist/esm/Pagination/Select.js +1 -2
- package/dist/esm/Pagination/Select.js.map +1 -1
- package/dist/esm/QueryBuilder/Rule/Attribute/Attribute.js +1 -2
- package/dist/esm/QueryBuilder/Rule/Attribute/Attribute.js.map +1 -1
- package/dist/esm/QueryBuilder/Rule/Operator/Operator.js.map +1 -1
- package/dist/esm/QueryBuilder/Rule/Value/NumericValue/NumericValue.js +2 -2
- package/dist/esm/QueryBuilder/Rule/Value/NumericValue/NumericValue.js.map +1 -1
- package/dist/esm/QueryBuilder/utils/index.js.map +1 -1
- package/dist/esm/QueryBuilder/utils/reducer.js +1 -2
- package/dist/esm/QueryBuilder/utils/reducer.js.map +1 -1
- package/dist/esm/ScrollTo/Horizontal/ScrollToHorizontal.js +2 -2
- package/dist/esm/ScrollTo/Horizontal/ScrollToHorizontal.js.map +1 -1
- package/dist/esm/ScrollTo/Vertical/ScrollToVertical.js +2 -2
- package/dist/esm/ScrollTo/Vertical/ScrollToVertical.js.map +1 -1
- package/dist/esm/Section/Section.js.map +1 -1
- package/dist/esm/Select/Select.js +2 -2
- package/dist/esm/Select/Select.js.map +1 -1
- package/dist/esm/SimpleGrid/SimpleGrid.styles.js.map +1 -1
- package/dist/esm/Skeleton/Skeleton.js +1 -2
- package/dist/esm/Skeleton/Skeleton.js.map +1 -1
- package/dist/esm/Slider/Slider.js +1 -2
- package/dist/esm/Slider/Slider.js.map +1 -1
- package/dist/esm/Slider/SliderInput/SliderInput.js +1 -2
- package/dist/esm/Slider/SliderInput/SliderInput.js.map +1 -1
- package/dist/esm/Slider/utils.js +4 -8
- package/dist/esm/Slider/utils.js.map +1 -1
- package/dist/esm/Snackbar/Snackbar.js.map +1 -1
- package/dist/esm/Stack/Stack.js +1 -2
- package/dist/esm/Stack/Stack.js.map +1 -1
- package/dist/esm/Table/TableCell/TableCell.js.map +1 -1
- package/dist/esm/Table/TableContext.js +1 -2
- package/dist/esm/Table/TableContext.js.map +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.js.map +1 -1
- package/dist/esm/Table/TableRow/TableRow.js.map +1 -1
- package/dist/esm/Table/TableSectionContext.js +1 -2
- package/dist/esm/Table/TableSectionContext.js.map +1 -1
- package/dist/esm/Table/hooks/useBulkActions.js +1 -2
- package/dist/esm/Table/hooks/useBulkActions.js.map +1 -1
- package/dist/esm/Table/hooks/useHeaderGroups.js.map +1 -1
- package/dist/esm/Table/hooks/usePagination.js.map +1 -1
- package/dist/esm/Table/hooks/useResizeColumns.js.map +1 -1
- package/dist/esm/Table/hooks/useRowExpand.js +5 -1
- package/dist/esm/Table/hooks/useRowExpand.js.map +1 -1
- package/dist/esm/Table/hooks/useRowSelection.js.map +1 -1
- package/dist/esm/Table/hooks/useSortBy.js.map +1 -1
- package/dist/esm/Table/hooks/useSticky.js.map +1 -1
- package/dist/esm/Table/hooks/useTableStyles.js.map +1 -1
- package/dist/esm/Table/utils/fallbacks.js +1 -2
- package/dist/esm/Table/utils/fallbacks.js.map +1 -1
- package/dist/esm/Tag/Tag.js +2 -4
- package/dist/esm/Tag/Tag.js.map +1 -1
- package/dist/esm/TagsInput/TagsInput.js +2 -3
- package/dist/esm/TagsInput/TagsInput.js.map +1 -1
- package/dist/esm/TextArea/TextArea.js +1 -2
- package/dist/esm/TextArea/TextArea.js.map +1 -1
- package/dist/esm/TimeAgo/TimeAgo.js +1 -2
- package/dist/esm/TimeAgo/TimeAgo.js.map +1 -1
- package/dist/esm/TimeAgo/useTimeout.js +1 -2
- package/dist/esm/TimeAgo/useTimeout.js.map +1 -1
- package/dist/esm/TimePicker/Placeholder.js +3 -6
- package/dist/esm/TimePicker/Placeholder.js.map +1 -1
- package/dist/esm/TimePicker/TimePicker.js +3 -6
- package/dist/esm/TimePicker/TimePicker.js.map +1 -1
- package/dist/esm/TreeView/TreeItem/TreeItem.js +2 -1
- package/dist/esm/TreeView/TreeItem/TreeItem.js.map +1 -1
- package/dist/esm/TreeView/TreeItem/useHvTreeItem.js +2 -4
- package/dist/esm/TreeView/TreeItem/useHvTreeItem.js.map +1 -1
- package/dist/esm/Typography/utils.js +1 -2
- package/dist/esm/Typography/utils.js.map +1 -1
- package/dist/esm/VerticalNavigation/Header/Header.js +1 -2
- package/dist/esm/VerticalNavigation/Header/Header.js.map +1 -1
- package/dist/esm/VerticalNavigation/Navigation/Navigation.js +2 -4
- package/dist/esm/VerticalNavigation/Navigation/Navigation.js.map +1 -1
- package/dist/esm/VerticalNavigation/NavigationSlider/utils/NavigationSlider.utils.js.map +1 -1
- package/dist/esm/VerticalNavigation/TreeView/TreeView.js +3 -6
- package/dist/esm/VerticalNavigation/TreeView/TreeView.js.map +1 -1
- package/dist/esm/VerticalNavigation/TreeView/TreeViewContext.js.map +1 -1
- package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js +4 -8
- package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js.map +1 -1
- package/dist/esm/VerticalNavigation/VerticalNavigation.js.map +1 -1
- package/dist/esm/VerticalNavigation/VerticalNavigationContext.js.map +1 -1
- package/dist/esm/hocs/withTooltip.js.map +1 -1
- package/dist/esm/hooks/useComputation.js.map +1 -1
- package/dist/esm/hooks/useCss.js.map +1 -1
- package/dist/esm/hooks/useForkRef.js.map +1 -1
- package/dist/esm/hooks/useUniqueId.js +1 -2
- package/dist/esm/hooks/useUniqueId.js.map +1 -1
- package/dist/esm/providers/Provider.js +2 -4
- package/dist/esm/providers/Provider.js.map +1 -1
- package/dist/esm/types/generic.js.map +1 -1
- package/dist/esm/utils/classes.js +6 -3
- package/dist/esm/utils/classes.js.map +1 -1
- package/dist/esm/utils/deepMerge.js +2 -1
- package/dist/esm/utils/deepMerge.js.map +1 -1
- package/dist/esm/utils/helpers.js +1 -2
- package/dist/esm/utils/helpers.js.map +1 -1
- package/dist/esm/utils/theme.js +1 -2
- package/dist/esm/utils/theme.js.map +1 -1
- package/dist/esm/utils/useSavedState.js +1 -2
- package/dist/esm/utils/useSavedState.js.map +1 -1
- package/dist/types/index.d.ts +299 -365
- package/package.json +4 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
1
|
import { ActionType } from 'react-table';
|
|
4
2
|
import { AvatarProps } from '@mui/material/Avatar';
|
|
5
3
|
import { Breakpoint as Breakpoint_2 } from '@mui/material/styles';
|
|
@@ -15,6 +13,7 @@ import { ComponentProps } from 'react';
|
|
|
15
13
|
import { ContainerProps } from '@mui/material/Container';
|
|
16
14
|
import { Context } from 'react';
|
|
17
15
|
import { CSSInterpolation } from '@emotion/serialize';
|
|
16
|
+
import { CSSInterpolation as CSSInterpolation_2 } from '@emotion/css/dist/declarations/src/create-instance';
|
|
18
17
|
import { default as default_2 } from 'react';
|
|
19
18
|
import { default as default_3 } from 'embla-carousel-react';
|
|
20
19
|
import { defaultCacheKey } from '@hitachivantara/uikit-react-shared';
|
|
@@ -27,7 +26,6 @@ import { DividerProps } from '@mui/material/Divider';
|
|
|
27
26
|
import { DrawerProps } from '@mui/material/Drawer';
|
|
28
27
|
import { ds3 } from '@hitachivantara/uikit-styles';
|
|
29
28
|
import { ds5 } from '@hitachivantara/uikit-styles';
|
|
30
|
-
import { ElementType } from 'react';
|
|
31
29
|
import { EmotionCache } from '@emotion/cache';
|
|
32
30
|
import { EmotionContext } from '@hitachivantara/uikit-react-shared';
|
|
33
31
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -57,12 +55,11 @@ import { HvThemeContextValue } from '@hitachivantara/uikit-react-shared';
|
|
|
57
55
|
import { HvThemeStructure } from '@hitachivantara/uikit-styles';
|
|
58
56
|
import { IconBaseProps } from '@hitachivantara/uikit-react-icons';
|
|
59
57
|
import { IdType as IdType_2 } from 'react-table';
|
|
60
|
-
import { InputBaseComponentProps } from '@mui/material
|
|
58
|
+
import { InputBaseComponentProps } from '@mui/material';
|
|
59
|
+
import { InputBaseComponentProps as InputBaseComponentProps_2 } from '@mui/material/InputBase';
|
|
61
60
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
62
61
|
import { InputProps } from '@mui/material/Input';
|
|
63
|
-
import { JSX as JSX_2 } from 'react';
|
|
64
|
-
import { JSX as JSX_3 } from 'react/jsx-runtime';
|
|
65
|
-
import { JSXElementConstructor } from 'react';
|
|
62
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
66
63
|
import { OptionGroupProps } from '@mui/base/OptionGroup';
|
|
67
64
|
import { OptionOwnProps } from '@mui/base/Option';
|
|
68
65
|
import { OptionsObject } from 'notistack';
|
|
@@ -72,14 +69,11 @@ import { PropGetter } from 'react-table';
|
|
|
72
69
|
import { PropsWithoutRef } from 'react';
|
|
73
70
|
import { RadioProps } from '@mui/material/Radio';
|
|
74
71
|
import * as React_2 from 'react';
|
|
75
|
-
import { ReactElement } from 'react';
|
|
76
72
|
import { ReactNode } from 'react';
|
|
77
73
|
import { ReducerTableState } from 'react-table';
|
|
78
74
|
import { RefAttributes } from 'react';
|
|
79
|
-
import { RefObject } from 'react';
|
|
80
75
|
import { Renderer } from 'react-table';
|
|
81
76
|
import { Row } from 'react-table';
|
|
82
|
-
import { SetStateAction } from 'react';
|
|
83
77
|
import { SlideProps } from '@mui/material/Slide';
|
|
84
78
|
import { SliderProps } from 'rc-slider';
|
|
85
79
|
import { SliderRef } from 'rc-slider';
|
|
@@ -324,7 +318,6 @@ export declare const baseCheckBoxClasses: {
|
|
|
324
318
|
export declare const baseDropdownClasses: {
|
|
325
319
|
container: "HvBaseDropdown-container";
|
|
326
320
|
header: "HvBaseDropdown-header";
|
|
327
|
-
anchor: "HvBaseDropdown-anchor";
|
|
328
321
|
root: "HvBaseDropdown-root";
|
|
329
322
|
headerOpen: "HvBaseDropdown-headerOpen";
|
|
330
323
|
headerDisabled: "HvBaseDropdown-headerDisabled";
|
|
@@ -332,6 +325,7 @@ export declare const baseDropdownClasses: {
|
|
|
332
325
|
placeholder: "HvBaseDropdown-placeholder";
|
|
333
326
|
panel: "HvBaseDropdown-panel";
|
|
334
327
|
inputExtensionOpen: "HvBaseDropdown-inputExtensionOpen";
|
|
328
|
+
anchor: "HvBaseDropdown-anchor";
|
|
335
329
|
selection: "HvBaseDropdown-selection";
|
|
336
330
|
arrowContainer: "HvBaseDropdown-arrowContainer";
|
|
337
331
|
arrow: "HvBaseDropdown-arrow";
|
|
@@ -404,14 +398,14 @@ export declare interface Breakpoint {
|
|
|
404
398
|
spacing?: Spacing;
|
|
405
399
|
}
|
|
406
400
|
|
|
407
|
-
export declare const buildAriaPropsFromContext: (props:
|
|
401
|
+
export declare const buildAriaPropsFromContext: (props: InputBaseComponentProps, context: HvFormElementDescriptorsContextValue, isInvalid: boolean, inputId?: string) => default_2.AriaAttributes;
|
|
408
402
|
|
|
409
|
-
export declare const buildFormElementPropsFromContext: (name
|
|
410
|
-
name:
|
|
411
|
-
disabled:
|
|
412
|
-
readOnly:
|
|
413
|
-
required:
|
|
414
|
-
status:
|
|
403
|
+
export declare const buildFormElementPropsFromContext: (name?: string, disabled?: boolean, readOnly?: boolean, required?: boolean, context?: HvFormElementContextValue) => {
|
|
404
|
+
name: string | undefined;
|
|
405
|
+
disabled: boolean | undefined;
|
|
406
|
+
readOnly: boolean | undefined;
|
|
407
|
+
required: boolean | undefined;
|
|
408
|
+
status: string | undefined;
|
|
415
409
|
};
|
|
416
410
|
|
|
417
411
|
export declare const bulkActionsClasses: {
|
|
@@ -523,16 +517,9 @@ export declare const carouselClasses: {
|
|
|
523
517
|
|
|
524
518
|
declare type CellValue<V = any> = V;
|
|
525
519
|
|
|
526
|
-
export declare const CellWithCheckBox: ({ row, labels: labelsProp }:
|
|
527
|
-
row: any;
|
|
528
|
-
labels: any;
|
|
529
|
-
}) => JSX_3.Element;
|
|
520
|
+
export declare const CellWithCheckBox: ({ row, labels: labelsProp }: any) => JSX_2.Element;
|
|
530
521
|
|
|
531
|
-
export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp }:
|
|
532
|
-
row: any;
|
|
533
|
-
cell: any;
|
|
534
|
-
labels: any;
|
|
535
|
-
}) => JSX_3.Element;
|
|
522
|
+
export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp, }: any) => JSX_2.Element;
|
|
536
523
|
|
|
537
524
|
export declare const charCounterClasses: {
|
|
538
525
|
root: "HvCharCounter-root";
|
|
@@ -570,12 +557,12 @@ export declare const checkValidHexColorValue: (value?: string) => boolean;
|
|
|
570
557
|
|
|
571
558
|
export declare const colorPickerClasses: {
|
|
572
559
|
colorPicker: "HvColorPicker-colorPicker";
|
|
573
|
-
description: "HvColorPicker-description";
|
|
574
560
|
label: "HvColorPicker-label";
|
|
575
561
|
root: "HvColorPicker-root";
|
|
576
562
|
panel: "HvColorPicker-panel";
|
|
577
563
|
headerColorValue: "HvColorPicker-headerColorValue";
|
|
578
564
|
recommendedColorsRoot: "HvColorPicker-recommendedColorsRoot";
|
|
565
|
+
description: "HvColorPicker-description";
|
|
579
566
|
labelContainer: "HvColorPicker-labelContainer";
|
|
580
567
|
headerColorIcon: "HvColorPicker-headerColorIcon";
|
|
581
568
|
colorPickerIcon: "HvColorPicker-colorPickerIcon";
|
|
@@ -585,8 +572,8 @@ export declare const colorPickerClasses: {
|
|
|
585
572
|
};
|
|
586
573
|
|
|
587
574
|
export declare const containerClasses: {
|
|
588
|
-
fixed: "HvContainer-fixed";
|
|
589
575
|
root: "HvContainer-root";
|
|
576
|
+
fixed: "HvContainer-fixed";
|
|
590
577
|
disableGutters: "HvContainer-disableGutters";
|
|
591
578
|
maxWidthXs: "HvContainer-maxWidthXs";
|
|
592
579
|
maxWidthSm: "HvContainer-maxWidthSm";
|
|
@@ -609,12 +596,12 @@ name: Name, stylesObject: Record<ClassName, CSSInterpolation>): {
|
|
|
609
596
|
useClasses: (classesProp?: Partial<Record<ClassName, string>>, addStatic?: boolean) => {
|
|
610
597
|
classes: { [P in ClassName]: string; };
|
|
611
598
|
css: {
|
|
612
|
-
(template: TemplateStringsArray, ...args:
|
|
613
|
-
(...args:
|
|
599
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation_2[]): string;
|
|
600
|
+
(...args: CSSInterpolation_2[]): string;
|
|
614
601
|
};
|
|
615
602
|
cx: (...args: any) => string;
|
|
616
603
|
};
|
|
617
|
-
staticClasses: { [
|
|
604
|
+
staticClasses: { [P in ClassName]: `${Name}-${P}`; };
|
|
618
605
|
};
|
|
619
606
|
|
|
620
607
|
/**
|
|
@@ -624,7 +611,6 @@ name: Name, stylesObject: Record<ClassName, CSSInterpolation>): {
|
|
|
624
611
|
export declare const createTheme: (props: HvCreateThemeProps) => HvTheme | HvThemeStructure;
|
|
625
612
|
|
|
626
613
|
export declare const datePickerClasses: {
|
|
627
|
-
description: "HvDatePicker-description";
|
|
628
614
|
label: "HvDatePicker-label";
|
|
629
615
|
root: "HvDatePicker-root";
|
|
630
616
|
panel: "HvDatePicker-panel";
|
|
@@ -632,6 +618,7 @@ export declare const datePickerClasses: {
|
|
|
632
618
|
inputText: "HvDatePicker-inputText";
|
|
633
619
|
action: "HvDatePicker-action";
|
|
634
620
|
dropdown: "HvDatePicker-dropdown";
|
|
621
|
+
description: "HvDatePicker-description";
|
|
635
622
|
error: "HvDatePicker-error";
|
|
636
623
|
labelContainer: "HvDatePicker-labelContainer";
|
|
637
624
|
actionContainer: "HvDatePicker-actionContainer";
|
|
@@ -655,6 +642,13 @@ export declare type DeepPartial<T> = T extends {} ? Partial<{
|
|
|
655
642
|
}> : T;
|
|
656
643
|
|
|
657
644
|
declare const DEFAULT_LABELS: {
|
|
645
|
+
close: string;
|
|
646
|
+
fullscreen: string;
|
|
647
|
+
backwards: string;
|
|
648
|
+
forwards: string;
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
declare const DEFAULT_LABELS_2: {
|
|
658
652
|
/** The show label. */
|
|
659
653
|
pageSizePrev: string;
|
|
660
654
|
/** Indicate the units of the page size selection. */
|
|
@@ -683,7 +677,7 @@ declare const DEFAULT_LABELS: {
|
|
|
683
677
|
lastPage: string;
|
|
684
678
|
};
|
|
685
679
|
|
|
686
|
-
declare const
|
|
680
|
+
declare const DEFAULT_LABELS_3: {
|
|
687
681
|
/** The label of the clear button. */
|
|
688
682
|
clearButtonLabel: string;
|
|
689
683
|
/** The label of the reveal password button. */
|
|
@@ -696,12 +690,17 @@ declare const DEFAULT_LABELS_2: {
|
|
|
696
690
|
searchButtonLabel: string;
|
|
697
691
|
};
|
|
698
692
|
|
|
699
|
-
declare const
|
|
693
|
+
declare const DEFAULT_LABELS_4: {
|
|
694
|
+
backwards: string;
|
|
695
|
+
forwards: string;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
declare const DEFAULT_LABELS_5: {
|
|
700
699
|
recommendedColorsLabel: string;
|
|
701
700
|
customColorsLabel: string;
|
|
702
701
|
};
|
|
703
702
|
|
|
704
|
-
declare const
|
|
703
|
+
declare const DEFAULT_LABELS_6: {
|
|
705
704
|
/** Label for overwrite the default header behavior. */
|
|
706
705
|
select: string | undefined;
|
|
707
706
|
/** Label used for the All checkbox action. */
|
|
@@ -716,7 +715,7 @@ declare const DEFAULT_LABELS_4: {
|
|
|
716
715
|
multiSelectionConjunction: string;
|
|
717
716
|
};
|
|
718
717
|
|
|
719
|
-
declare const
|
|
718
|
+
declare const DEFAULT_LABELS_7: {
|
|
720
719
|
/** Apply button label. */
|
|
721
720
|
applyLabel: string;
|
|
722
721
|
/** Cancel button label. */
|
|
@@ -727,7 +726,7 @@ declare const DEFAULT_LABELS_5: {
|
|
|
727
726
|
invalidDateLabel: string;
|
|
728
727
|
};
|
|
729
728
|
|
|
730
|
-
declare const
|
|
729
|
+
declare const DEFAULT_LABELS_8: {
|
|
731
730
|
/** Apply button label. */
|
|
732
731
|
applyLabel: string;
|
|
733
732
|
/** Cancel button label. */
|
|
@@ -744,7 +743,7 @@ declare const DEFAULT_LABELS_6: {
|
|
|
744
743
|
multiSelectionConjunction: string;
|
|
745
744
|
};
|
|
746
745
|
|
|
747
|
-
declare const
|
|
746
|
+
declare const DEFAULT_LABELS_9: {
|
|
748
747
|
/** The text at the top of the kpi. */
|
|
749
748
|
title: string;
|
|
750
749
|
/** The text in the middle of the kpi. */
|
|
@@ -763,21 +762,13 @@ export { defaultCacheKey }
|
|
|
763
762
|
|
|
764
763
|
export { defaultEmotionCache }
|
|
765
764
|
|
|
766
|
-
export declare const defaultgetHvBulkActionsProps: (props: any, { instance }:
|
|
767
|
-
instance: any;
|
|
768
|
-
}) => any[];
|
|
765
|
+
export declare const defaultgetHvBulkActionsProps: (props: any, { instance }: any) => any[];
|
|
769
766
|
|
|
770
|
-
export declare const defaultGetHvPaginationProps: (props: any, { instance }:
|
|
771
|
-
instance: any;
|
|
772
|
-
}) => any[];
|
|
767
|
+
export declare const defaultGetHvPaginationProps: (props: any, { instance }: any) => any[];
|
|
773
768
|
|
|
774
|
-
export declare const defaultGetToggleAllPageRowsSelectedProps: (props: any, { instance }:
|
|
775
|
-
instance: any;
|
|
776
|
-
}) => any[];
|
|
769
|
+
export declare const defaultGetToggleAllPageRowsSelectedProps: (props: any, { instance }: any) => any[];
|
|
777
770
|
|
|
778
|
-
export declare const defaultGetToggleAllRowsSelectedProps: (props: any, { instance }:
|
|
779
|
-
instance: any;
|
|
780
|
-
}) => any[];
|
|
771
|
+
export declare const defaultGetToggleAllRowsSelectedProps: (props: any, { instance }: any) => any[];
|
|
781
772
|
|
|
782
773
|
export declare const defaultGetToggleRowSelectedProps: (props: any, meta: any) => any[];
|
|
783
774
|
|
|
@@ -844,7 +835,6 @@ export declare const drawerClasses: {
|
|
|
844
835
|
};
|
|
845
836
|
|
|
846
837
|
export declare const dropdownClasses: {
|
|
847
|
-
description: "HvDropdown-description";
|
|
848
838
|
label: "HvDropdown-label";
|
|
849
839
|
root: "HvDropdown-root";
|
|
850
840
|
placeholder: "HvDropdown-placeholder";
|
|
@@ -852,6 +842,7 @@ export declare const dropdownClasses: {
|
|
|
852
842
|
readOnly: "HvDropdown-readOnly";
|
|
853
843
|
placeholderClosed: "HvDropdown-placeholderClosed";
|
|
854
844
|
dropdown: "HvDropdown-dropdown";
|
|
845
|
+
description: "HvDropdown-description";
|
|
855
846
|
error: "HvDropdown-error";
|
|
856
847
|
arrow: "HvDropdown-arrow";
|
|
857
848
|
labelContainer: "HvDropdown-labelContainer";
|
|
@@ -914,9 +905,9 @@ export declare const fileUploaderPreviewClasses: {
|
|
|
914
905
|
};
|
|
915
906
|
|
|
916
907
|
export declare const filterGroupClasses: {
|
|
917
|
-
description: "HvFilterGroup-description";
|
|
918
908
|
label: "HvFilterGroup-label";
|
|
919
909
|
root: "HvFilterGroup-root";
|
|
910
|
+
description: "HvFilterGroup-description";
|
|
920
911
|
error: "HvFilterGroup-error";
|
|
921
912
|
labelContainer: "HvFilterGroup-labelContainer";
|
|
922
913
|
};
|
|
@@ -933,7 +924,7 @@ export declare function filterProps(props: Record<string, any>): Record<string,
|
|
|
933
924
|
* @param {Object} descriptors - Initial descriptors map (used for recursion).
|
|
934
925
|
*
|
|
935
926
|
*/
|
|
936
|
-
export declare const findDescriptors: (children:
|
|
927
|
+
export declare const findDescriptors: (children: default_2.ReactNode, descriptors?: {
|
|
937
928
|
input: Descriptor[];
|
|
938
929
|
label: Descriptor[];
|
|
939
930
|
description: Descriptor[];
|
|
@@ -946,13 +937,13 @@ export declare const findDescriptors: (children: any, descriptors?: {
|
|
|
946
937
|
description: Descriptor[];
|
|
947
938
|
controlled: Descriptor[];
|
|
948
939
|
errormessage: Descriptor[];
|
|
949
|
-
HvCalendarHeader?: Descriptor[]
|
|
940
|
+
HvCalendarHeader?: Descriptor[];
|
|
950
941
|
};
|
|
951
942
|
|
|
952
943
|
declare type FixComponentProps<T> = T extends any ? T : never;
|
|
953
944
|
|
|
954
945
|
/** React.forwardRef with fixed type declarations */
|
|
955
|
-
export declare function fixedForwardRef<T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.
|
|
946
|
+
export declare function fixedForwardRef<T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.ReactNode): (props: P & React.RefAttributes<T>) => React.ReactNode;
|
|
956
947
|
|
|
957
948
|
export declare const focusClasses: {
|
|
958
949
|
root: "HvFocus-root";
|
|
@@ -1006,17 +997,13 @@ export declare const getFirstAndLastFocus: (node: any) => {
|
|
|
1006
997
|
/** Gets the list of focusable elements. */
|
|
1007
998
|
export declare const getFocusableList: (node: any) => any;
|
|
1008
999
|
|
|
1009
|
-
export declare const getHeaderFooterPropsHook: (props: any, { column }:
|
|
1010
|
-
column: any;
|
|
1011
|
-
}) => any[];
|
|
1000
|
+
export declare const getHeaderFooterPropsHook: (props: any, { column }: any) => any[];
|
|
1012
1001
|
|
|
1013
|
-
export declare const getHeaderGroupPropsHook: (props: any, { instance }:
|
|
1014
|
-
instance: any;
|
|
1015
|
-
}) => any[];
|
|
1002
|
+
export declare const getHeaderGroupPropsHook: (props: any, { instance }: any) => any[];
|
|
1016
1003
|
|
|
1017
|
-
export declare const getIdReferenceFor: (formElementType:
|
|
1004
|
+
export declare const getIdReferenceFor: (formElementType: string, descriptors: any, filterFor?: null) => any;
|
|
1018
1005
|
|
|
1019
|
-
export declare const getIdReferenceListFor: (formElementType:
|
|
1006
|
+
export declare const getIdReferenceListFor: (formElementType: string, descriptors: any, filterFor?: string | null) => any;
|
|
1020
1007
|
|
|
1021
1008
|
/** Auxiliary function to find adjacent nodes to focus. */
|
|
1022
1009
|
export declare const getPrevNextFocus: (nodeId?: string) => {
|
|
@@ -1025,13 +1012,11 @@ export declare const getPrevNextFocus: (nodeId?: string) => {
|
|
|
1025
1012
|
};
|
|
1026
1013
|
|
|
1027
1014
|
export declare const getSelectorIcons: () => {
|
|
1028
|
-
radio:
|
|
1029
|
-
radioChecked:
|
|
1015
|
+
radio: JSX_2.Element;
|
|
1016
|
+
radioChecked: JSX_2.Element;
|
|
1030
1017
|
};
|
|
1031
1018
|
|
|
1032
|
-
export declare const getTableHeadPropsHook: (props: any, { instance }:
|
|
1033
|
-
instance: any;
|
|
1034
|
-
}) => any[];
|
|
1019
|
+
export declare const getTableHeadPropsHook: (props: any, { instance }: any) => any[];
|
|
1035
1020
|
|
|
1036
1021
|
export declare const getVarValue: (cssVar: string, rootElementId?: string) => string | undefined;
|
|
1037
1022
|
|
|
@@ -1126,7 +1111,7 @@ export declare type HvAccentColors = Record<HvAccentColorKeys, string>;
|
|
|
1126
1111
|
/**
|
|
1127
1112
|
* A accordion is a design element that expands in place to expose hidden information.
|
|
1128
1113
|
*/
|
|
1129
|
-
export declare const HvAccordion: (props: HvAccordionProps) =>
|
|
1114
|
+
export declare const HvAccordion: (props: HvAccordionProps) => JSX_2.Element;
|
|
1130
1115
|
|
|
1131
1116
|
export declare type HvAccordionClasses = ExtractNames<typeof useClasses_19>;
|
|
1132
1117
|
|
|
@@ -1155,7 +1140,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1155
1140
|
disableEventHandling?: boolean;
|
|
1156
1141
|
}
|
|
1157
1142
|
|
|
1158
|
-
export declare const HvActionBar: (props: HvActionBarProps) =>
|
|
1143
|
+
export declare const HvActionBar: (props: HvActionBarProps) => JSX_2.Element;
|
|
1159
1144
|
|
|
1160
1145
|
export declare type HvActionBarClasses = ExtractNames<typeof useClasses_20>;
|
|
1161
1146
|
|
|
@@ -1196,7 +1181,7 @@ export declare interface HvActionGeneric {
|
|
|
1196
1181
|
iconOnly?: boolean;
|
|
1197
1182
|
}
|
|
1198
1183
|
|
|
1199
|
-
export declare const HvActionsGeneric: (props: HvActionsGenericProps) =>
|
|
1184
|
+
export declare const HvActionsGeneric: (props: HvActionsGenericProps) => JSX_2.Element | null;
|
|
1200
1185
|
|
|
1201
1186
|
export declare type HvActionsGenericClasses = ExtractNames<typeof useClasses_21>;
|
|
1202
1187
|
|
|
@@ -1257,9 +1242,9 @@ export declare interface HvAdornmentProps extends HvBaseProps<HTMLDivElement | H
|
|
|
1257
1242
|
classes?: HvAdornmentClasses;
|
|
1258
1243
|
}
|
|
1259
1244
|
|
|
1260
|
-
export declare const HvAppSwitcher: (props: HvAppSwitcherProps) =>
|
|
1245
|
+
export declare const HvAppSwitcher: (props: HvAppSwitcherProps) => JSX_2.Element;
|
|
1261
1246
|
|
|
1262
|
-
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) =>
|
|
1247
|
+
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) => JSX_2.Element;
|
|
1263
1248
|
|
|
1264
1249
|
export declare interface HvAppSwitcherActionApplication {
|
|
1265
1250
|
/** Id of the application. */
|
|
@@ -1414,7 +1399,7 @@ export declare type HvAvatarVariant = "circular" | "square";
|
|
|
1414
1399
|
/**
|
|
1415
1400
|
* The badge is a component used to notify the user that something has occurred, in the app context.
|
|
1416
1401
|
*/
|
|
1417
|
-
export declare const HvBadge: (props: HvBadgeProps) =>
|
|
1402
|
+
export declare const HvBadge: (props: HvBadgeProps) => JSX_2.Element;
|
|
1418
1403
|
|
|
1419
1404
|
export declare type HvBadgeClasses = ExtractNames<typeof useClasses_26>;
|
|
1420
1405
|
|
|
@@ -1453,7 +1438,7 @@ export declare interface HvBadgeProps extends HvBaseProps {
|
|
|
1453
1438
|
* A Banner displays an important and succinct message. It can also provide actions for the user to address, or dismiss.
|
|
1454
1439
|
* It requires a user action, for it to be dismissed. Banners should appear at the top of the screen, below a top app bar.
|
|
1455
1440
|
*/
|
|
1456
|
-
export declare const HvBanner: (props: HvBannerProps) =>
|
|
1441
|
+
export declare const HvBanner: (props: HvBannerProps) => JSX_2.Element;
|
|
1457
1442
|
|
|
1458
1443
|
export declare type HvBannerActionPosition = "auto" | "inline" | "bottom-right";
|
|
1459
1444
|
|
|
@@ -1628,7 +1613,7 @@ export declare const HvBaseDropdown: ForwardRefExoticComponent<Omit<HvBaseDropdo
|
|
|
1628
1613
|
|
|
1629
1614
|
export declare type HvBaseDropdownClasses = ExtractNames<typeof useClasses_18>;
|
|
1630
1615
|
|
|
1631
|
-
export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
1616
|
+
export declare interface HvBaseDropdownProps extends HvBaseProps<HTMLDivElement, "onToggle"> {
|
|
1632
1617
|
/**
|
|
1633
1618
|
* The role of the element that triggers the popup.
|
|
1634
1619
|
*
|
|
@@ -1719,7 +1704,7 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1719
1704
|
* An Input component that only posses the most basic functionalities.
|
|
1720
1705
|
* It should be used alongside the other form elements to construct a proper accessible form.
|
|
1721
1706
|
*/
|
|
1722
|
-
export declare const HvBaseInput: (props: HvBaseInputProps) =>
|
|
1707
|
+
export declare const HvBaseInput: (props: HvBaseInputProps) => JSX_2.Element;
|
|
1723
1708
|
|
|
1724
1709
|
export declare type HvBaseInputClasses = ExtractNames<typeof useClasses_17>;
|
|
1725
1710
|
|
|
@@ -1750,7 +1735,7 @@ export declare interface HvBaseInputProps extends Omit<InputProps, "onChange" |
|
|
|
1750
1735
|
/** Denotes if the input is in an invalid state. */
|
|
1751
1736
|
invalid?: boolean;
|
|
1752
1737
|
/** Attributes applied to the input element. */
|
|
1753
|
-
inputProps?:
|
|
1738
|
+
inputProps?: InputBaseComponentProps_2;
|
|
1754
1739
|
/** Allows passing a ref to the underlying input */
|
|
1755
1740
|
inputRef?: InputBaseProps["inputRef"];
|
|
1756
1741
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -1922,19 +1907,26 @@ export { HvBaseTheme }
|
|
|
1922
1907
|
* It can be used to add styles to the wrapped components.
|
|
1923
1908
|
* It can also be used to create a layout using the flexbox properties.
|
|
1924
1909
|
*/
|
|
1925
|
-
export declare const HvBox:
|
|
1910
|
+
export declare const HvBox: <C extends React.ElementType = "div">(props: {
|
|
1911
|
+
style?: React.CSSProperties;
|
|
1912
|
+
sx?: React.CSSProperties | ((theme: HvTheme_2) => React.CSSProperties);
|
|
1913
|
+
} & {
|
|
1914
|
+
component?: C | undefined;
|
|
1915
|
+
} & {
|
|
1916
|
+
children?: ReactNode | undefined;
|
|
1917
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "style" | "component" | "sx"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "style" | "component" | "sx"> ? T extends any ? T : never : never : never) & {
|
|
1918
|
+
ref?: PolymorphicRef<C> | undefined;
|
|
1919
|
+
} & RefAttributes<unknown>) => React.ReactNode;
|
|
1926
1920
|
|
|
1927
|
-
declare type
|
|
1921
|
+
export declare type HvBoxProps<C extends React.ElementType = "div"> = PolymorphicComponentRef<C, {
|
|
1928
1922
|
style?: React.CSSProperties;
|
|
1929
|
-
sx?:
|
|
1923
|
+
sx?: React.CSSProperties | ((theme: HvTheme_2) => React.CSSProperties);
|
|
1930
1924
|
}>;
|
|
1931
1925
|
|
|
1932
|
-
export declare type HvBoxProps = <C extends React.ElementType = "div">(props: HvBoxBaseProps<C>) => React.ReactElement | null;
|
|
1933
|
-
|
|
1934
1926
|
/**
|
|
1935
1927
|
* A breadcrumb is a graphical control element frequently used as a navigational aid.
|
|
1936
1928
|
*/
|
|
1937
|
-
export declare const HvBreadCrumb: (props: HvBreadCrumbProps) =>
|
|
1929
|
+
export declare const HvBreadCrumb: (props: HvBreadCrumbProps) => JSX_2.Element;
|
|
1938
1930
|
|
|
1939
1931
|
export declare type HvBreadCrumbClasses = ExtractNames<typeof useClasses_33>;
|
|
1940
1932
|
|
|
@@ -1966,7 +1958,7 @@ export { HvBreakpoints }
|
|
|
1966
1958
|
* Bulk Actions allow users to perform an action on a single or multiple items.
|
|
1967
1959
|
* Also known as "batch production" of multiple items at once, one stage at a time.
|
|
1968
1960
|
*/
|
|
1969
|
-
export declare const HvBulkActions: (props: HvBulkActionsProps) =>
|
|
1961
|
+
export declare const HvBulkActions: (props: HvBulkActionsProps) => JSX_2.Element;
|
|
1970
1962
|
|
|
1971
1963
|
export declare type HvBulkActionsClasses = ExtractNames<typeof useClasses_35>;
|
|
1972
1964
|
|
|
@@ -2014,58 +2006,42 @@ export declare interface HvBulkActionsProps extends HvBaseProps {
|
|
|
2014
2006
|
/**
|
|
2015
2007
|
* Button component is used to trigger an action or event.
|
|
2016
2008
|
*/
|
|
2017
|
-
export declare const HvButton: <C extends ElementType
|
|
2009
|
+
export declare const HvButton: <C extends React.ElementType = "button">(props: {
|
|
2018
2010
|
/** Use the variant prop to change the visual style of the button. */
|
|
2019
|
-
variant?:
|
|
2011
|
+
variant?: HvButtonVariant;
|
|
2020
2012
|
/** Whether the button is an icon-only button. */
|
|
2021
|
-
icon?: boolean
|
|
2013
|
+
icon?: boolean;
|
|
2022
2014
|
/** Whether the button is disabled or not. */
|
|
2023
|
-
disabled?: boolean
|
|
2015
|
+
disabled?: boolean;
|
|
2024
2016
|
/** Class names to be applied. */
|
|
2025
|
-
className?: string
|
|
2017
|
+
className?: string;
|
|
2026
2018
|
/** Element placed before the children. */
|
|
2027
2019
|
startIcon?: React.ReactNode;
|
|
2028
2020
|
/** Element placed after the children. */
|
|
2029
2021
|
endIcon?: React.ReactNode;
|
|
2030
2022
|
/** Button size. */
|
|
2031
|
-
size?:
|
|
2023
|
+
size?: HvButtonSize;
|
|
2032
2024
|
/** Button border radius. */
|
|
2033
|
-
radius?:
|
|
2025
|
+
radius?: HvButtonRadius;
|
|
2034
2026
|
/** Defines the default colors of the button are forced into the icon. */
|
|
2035
|
-
overrideIconColors?: boolean
|
|
2027
|
+
overrideIconColors?: boolean;
|
|
2036
2028
|
/** A Jss Object used to override or extend the styles applied. */
|
|
2037
|
-
classes?:
|
|
2038
|
-
secondary: string;
|
|
2039
|
-
primary: string;
|
|
2040
|
-
root: string;
|
|
2041
|
-
disabled: string;
|
|
2042
|
-
semantic: string;
|
|
2043
|
-
secondarySubtle: string;
|
|
2044
|
-
ghost: string;
|
|
2045
|
-
icon: string;
|
|
2046
|
-
secondaryGhost: string;
|
|
2047
|
-
primaryGhost: string;
|
|
2048
|
-
subtle: string;
|
|
2049
|
-
primarySubtle: string;
|
|
2050
|
-
startIcon: string;
|
|
2051
|
-
endIcon: string;
|
|
2052
|
-
focusVisible: string;
|
|
2053
|
-
}> | undefined;
|
|
2029
|
+
classes?: HvButtonClasses;
|
|
2054
2030
|
/** Whether the button is selected or not. */
|
|
2055
|
-
selected?: boolean
|
|
2031
|
+
selected?: boolean;
|
|
2056
2032
|
/**
|
|
2057
2033
|
* Whether the button is focusable when disabled.
|
|
2058
2034
|
* Without this property, the accessibility of the button decreases when disabled since it's not read by screen readers.
|
|
2059
2035
|
* Set this property to `true` when you need the button to still be focusable when disabled for accessibility purposes.
|
|
2060
2036
|
*/
|
|
2061
|
-
focusableWhenDisabled?: boolean
|
|
2037
|
+
focusableWhenDisabled?: boolean;
|
|
2062
2038
|
} & {
|
|
2063
2039
|
component?: C | undefined;
|
|
2064
2040
|
} & {
|
|
2065
|
-
children?: ReactNode;
|
|
2041
|
+
children?: ReactNode | undefined;
|
|
2066
2042
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never) & {
|
|
2067
2043
|
ref?: PolymorphicRef<C> | undefined;
|
|
2068
|
-
} & RefAttributes<unknown>) =>
|
|
2044
|
+
} & RefAttributes<unknown>) => React.ReactNode;
|
|
2069
2045
|
|
|
2070
2046
|
export declare type HvButtonClasses = ExtractNames<typeof useClasses_12>;
|
|
2071
2047
|
|
|
@@ -2106,12 +2082,12 @@ export declare type HvButtonSize = (typeof buttonSize)[number];
|
|
|
2106
2082
|
|
|
2107
2083
|
export declare type HvButtonVariant = (typeof buttonVariant)[number];
|
|
2108
2084
|
|
|
2109
|
-
export declare const HvCalendar: (props: HvCalendarProps) =>
|
|
2085
|
+
export declare const HvCalendar: (props: HvCalendarProps) => JSX_2.Element;
|
|
2110
2086
|
|
|
2111
2087
|
export declare type HvCalendarClasses = ExtractNames<typeof useClasses_37>;
|
|
2112
2088
|
|
|
2113
2089
|
export declare const HvCalendarHeader: {
|
|
2114
|
-
(props: HvCalendarHeaderProps):
|
|
2090
|
+
(props: HvCalendarHeaderProps): JSX_2.Element;
|
|
2115
2091
|
formElementType: string;
|
|
2116
2092
|
};
|
|
2117
2093
|
|
|
@@ -2233,11 +2209,11 @@ export declare interface HvCalendarProps {
|
|
|
2233
2209
|
* linked short representation of a conceptual unit. For that reason,
|
|
2234
2210
|
* this pattern must be used as an entry-point for further information.
|
|
2235
2211
|
*/
|
|
2236
|
-
export declare const HvCard: (props: HvCardProps) =>
|
|
2212
|
+
export declare const HvCard: (props: HvCardProps) => JSX_2.Element;
|
|
2237
2213
|
|
|
2238
2214
|
export declare type HvCardClasses = ExtractNames<typeof useClasses_39>;
|
|
2239
2215
|
|
|
2240
|
-
export declare const HvCardContent: ({ id, classes: classesProp, className, children, onClick, ...others }: HvCardContentProps) =>
|
|
2216
|
+
export declare const HvCardContent: ({ id, classes: classesProp, className, children, onClick, ...others }: HvCardContentProps) => JSX_2.Element;
|
|
2241
2217
|
|
|
2242
2218
|
export declare type HvCardContentClasses = ExtractNames<typeof useClasses_41>;
|
|
2243
2219
|
|
|
@@ -2248,7 +2224,7 @@ export declare interface HvCardContentProps extends Omit<CardContentProps, "clas
|
|
|
2248
2224
|
classes?: HvCardContentClasses;
|
|
2249
2225
|
}
|
|
2250
2226
|
|
|
2251
|
-
export declare const HvCardHeader: (props: HvCardHeaderProps) =>
|
|
2227
|
+
export declare const HvCardHeader: (props: HvCardHeaderProps) => JSX_2.Element;
|
|
2252
2228
|
|
|
2253
2229
|
export declare type HvCardHeaderClasses = ExtractNames<typeof useClasses_40>;
|
|
2254
2230
|
|
|
@@ -2265,7 +2241,7 @@ export declare interface HvCardHeaderProps extends Omit<CardHeaderProps, "classe
|
|
|
2265
2241
|
classes?: HvCardHeaderClasses;
|
|
2266
2242
|
}
|
|
2267
2243
|
|
|
2268
|
-
export declare const HvCardMedia: ({ classes: classesProp, className, children, ...others }: HvCardMediaProps) =>
|
|
2244
|
+
export declare const HvCardMedia: ({ classes: classesProp, className, children, ...others }: HvCardMediaProps) => JSX_2.Element;
|
|
2269
2245
|
|
|
2270
2246
|
export declare type HvCardMediaClasses = ExtractNames<typeof useClasses_42>;
|
|
2271
2247
|
|
|
@@ -2304,11 +2280,11 @@ export declare interface HvCardProps extends HvBaseProps {
|
|
|
2304
2280
|
* A Carousel is commonly used to browse images, it can also be used to browse any kind of content like text, video, or charts.
|
|
2305
2281
|
* It allows you to focus on a particular content while having a notion of how many you have to explore.
|
|
2306
2282
|
*/
|
|
2307
|
-
export declare const HvCarousel: (props: HvCarouselProps) =>
|
|
2283
|
+
export declare const HvCarousel: (props: HvCarouselProps) => JSX_2.Element;
|
|
2308
2284
|
|
|
2309
2285
|
export declare type HvCarouselClasses = ExtractNames<typeof useClasses_43>;
|
|
2310
2286
|
|
|
2311
|
-
export declare const HvCarouselControls: (props: HvCarouselControlsProps) =>
|
|
2287
|
+
export declare const HvCarouselControls: (props: HvCarouselControlsProps) => JSX_2.Element;
|
|
2312
2288
|
|
|
2313
2289
|
declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, Pick<HvPaginationProps, "page" | "pages" | "canPrevious" | "canNext"> {
|
|
2314
2290
|
showDots?: boolean;
|
|
@@ -2316,6 +2292,8 @@ declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, P
|
|
|
2316
2292
|
actions?: React.ReactNode;
|
|
2317
2293
|
onPreviousClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2318
2294
|
onNextClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2295
|
+
/** Labels used on the component. */
|
|
2296
|
+
labels?: Partial<typeof DEFAULT_LABELS_4>;
|
|
2319
2297
|
}
|
|
2320
2298
|
|
|
2321
2299
|
export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "title" | "onChange"> {
|
|
@@ -2353,13 +2331,17 @@ export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "ti
|
|
|
2353
2331
|
renderThumbnail?: (index: number) => React.ReactNode;
|
|
2354
2332
|
/** The callback fired when the active slide changes. */
|
|
2355
2333
|
onChange?: (index: number) => void;
|
|
2334
|
+
/** The callback fired fullscreen is toggled. */
|
|
2335
|
+
onFullscreen?: (event: React.MouseEvent<HTMLButtonElement>, isFullscreen: boolean) => void;
|
|
2336
|
+
/** Labels used on the component. */
|
|
2337
|
+
labels?: Partial<typeof DEFAULT_LABELS>;
|
|
2356
2338
|
}
|
|
2357
2339
|
|
|
2358
2340
|
/**
|
|
2359
2341
|
* A container to use as `children` of `HvCarousel`.
|
|
2360
2342
|
* Pass `img` props directly to it, or `children` for any custom content
|
|
2361
2343
|
*/
|
|
2362
|
-
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) =>
|
|
2344
|
+
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) => JSX_2.Element;
|
|
2363
2345
|
|
|
2364
2346
|
export declare type HvCarouselSlideClasses = ExtractNames<typeof useClasses_44>;
|
|
2365
2347
|
|
|
@@ -2410,7 +2392,7 @@ export declare interface HvCellProps<D extends object = Record<string, unknown>,
|
|
|
2410
2392
|
* Use the character counter when there is a character or word limit.
|
|
2411
2393
|
* By itself it doesn't block the user from going above the limit.
|
|
2412
2394
|
*/
|
|
2413
|
-
export declare const HvCharCounter: (props: HvCharCounterProps) =>
|
|
2395
|
+
export declare const HvCharCounter: (props: HvCharCounterProps) => JSX_2.Element;
|
|
2414
2396
|
|
|
2415
2397
|
export declare type HvCharCounterClasses = ExtractNames<typeof useClasses_5>;
|
|
2416
2398
|
|
|
@@ -2627,7 +2609,7 @@ export declare interface HvColorPickerProps {
|
|
|
2627
2609
|
/** If `true`, the labels are shown. If `false`, they are not shown. */
|
|
2628
2610
|
showLabels?: boolean;
|
|
2629
2611
|
/** An object containing all the labels. */
|
|
2630
|
-
labels?: Partial<typeof
|
|
2612
|
+
labels?: Partial<typeof DEFAULT_LABELS_5>;
|
|
2631
2613
|
/** Icon type for the input's end adornment. */
|
|
2632
2614
|
dropdownIcon?: "arrow" | "colorPicker";
|
|
2633
2615
|
/** If `true`, the input only shows an icon. If `false`, the input shows text and icons. */
|
|
@@ -2723,7 +2705,7 @@ export declare interface HvContainerProps extends Omit<ContainerProps, "classes"
|
|
|
2723
2705
|
classes?: HvContainerClasses;
|
|
2724
2706
|
}
|
|
2725
2707
|
|
|
2726
|
-
export declare const HvControls: (props: HvControlsProps) =>
|
|
2708
|
+
export declare const HvControls: (props: HvControlsProps) => JSX_2.Element;
|
|
2727
2709
|
|
|
2728
2710
|
export declare type HvControlsClasses = ExtractNames<typeof useClasses_50>;
|
|
2729
2711
|
|
|
@@ -2834,7 +2816,7 @@ export declare interface HvDatePickerProps extends Omit<HvFormElementProps, "onC
|
|
|
2834
2816
|
/**
|
|
2835
2817
|
* An object containing all the labels for the datepicker.
|
|
2836
2818
|
*/
|
|
2837
|
-
labels?: Partial<typeof
|
|
2819
|
+
labels?: Partial<typeof DEFAULT_LABELS_7>;
|
|
2838
2820
|
/**
|
|
2839
2821
|
* The initial value of the input when in single calendar mode.
|
|
2840
2822
|
*/
|
|
@@ -2894,11 +2876,11 @@ export declare interface HvDatePickerProps extends Omit<HvFormElementProps, "onC
|
|
|
2894
2876
|
/** @deprecated use `HvFormStatus` instead */
|
|
2895
2877
|
export declare type HvDatePickerStatus = HvFormStatus;
|
|
2896
2878
|
|
|
2897
|
-
export declare const HvDialog: (props: HvDialogProps) =>
|
|
2879
|
+
export declare const HvDialog: (props: HvDialogProps) => JSX_2.Element;
|
|
2898
2880
|
|
|
2899
2881
|
export declare type HvDialogActionClasses = ExtractNames<typeof useClasses_62>;
|
|
2900
2882
|
|
|
2901
|
-
export declare const HvDialogActions: (props: HvDialogActionsProps) =>
|
|
2883
|
+
export declare const HvDialogActions: (props: HvDialogActionsProps) => JSX_2.Element;
|
|
2902
2884
|
|
|
2903
2885
|
export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "classes"> {
|
|
2904
2886
|
/** Set the dialog to fullscreen mode. @deprecated set `fullscreen` in `HvDialog` */
|
|
@@ -2909,7 +2891,7 @@ export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "
|
|
|
2909
2891
|
|
|
2910
2892
|
export declare type HvDialogClasses = ExtractNames<typeof useClasses_63>;
|
|
2911
2893
|
|
|
2912
|
-
export declare const HvDialogContent: (props: HvDialogContentProps) =>
|
|
2894
|
+
export declare const HvDialogContent: (props: HvDialogContentProps) => JSX_2.Element;
|
|
2913
2895
|
|
|
2914
2896
|
export declare type HvDialogContentClasses = ExtractNames<typeof useClasses_61>;
|
|
2915
2897
|
|
|
@@ -2924,7 +2906,7 @@ export declare interface HvDialogProps extends Omit<DialogProps, "fullScreen" |
|
|
|
2924
2906
|
/** Current state of the Dialog. */
|
|
2925
2907
|
open?: boolean;
|
|
2926
2908
|
/** Callback fired when the component requests to be closed. */
|
|
2927
|
-
onClose?: (event:
|
|
2909
|
+
onClose?: (event: default_2.MouseEvent<HTMLButtonElement> | {}, reason?: "escapeKeyDown" | "backdropClick") => void;
|
|
2928
2910
|
/** @inheritdoc */
|
|
2929
2911
|
maxWidth?: DialogProps["maxWidth"];
|
|
2930
2912
|
/** @inheritdoc */
|
|
@@ -2951,7 +2933,7 @@ export declare interface HvDialogProps extends Omit<DialogProps, "fullScreen" |
|
|
|
2951
2933
|
component?: DialogProps["component"];
|
|
2952
2934
|
}
|
|
2953
2935
|
|
|
2954
|
-
export declare const HvDialogTitle: (props: HvDialogTitleProps) =>
|
|
2936
|
+
export declare const HvDialogTitle: (props: HvDialogTitleProps) => JSX_2.Element;
|
|
2955
2937
|
|
|
2956
2938
|
export declare type HvDialogTitleClasses = ExtractNames<typeof useClasses_60>;
|
|
2957
2939
|
|
|
@@ -2972,7 +2954,7 @@ export declare type HvDialogTitleVariant = "success" | "warning" | "error" | "in
|
|
|
2972
2954
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact with structured content on a website or application.
|
|
2973
2955
|
* This component uses Radio Buttons to represent each page.
|
|
2974
2956
|
*/
|
|
2975
|
-
export declare const HvDotPagination: (props: HvDotPaginationProps) =>
|
|
2957
|
+
export declare const HvDotPagination: (props: HvDotPaginationProps) => JSX_2.Element;
|
|
2976
2958
|
|
|
2977
2959
|
export declare type HvDotPaginationClasses = ExtractNames<typeof useClasses_64>;
|
|
2978
2960
|
|
|
@@ -3016,7 +2998,7 @@ export declare interface HvDotPaginationProps extends Omit<HvRadioGroupProps, "c
|
|
|
3016
2998
|
* It only provides the pane with a close button, the rest of the
|
|
3017
2999
|
* content can be customized.
|
|
3018
3000
|
*/
|
|
3019
|
-
export declare const HvDrawer: (props: HvDrawerProps) =>
|
|
3001
|
+
export declare const HvDrawer: (props: HvDrawerProps) => JSX_2.Element;
|
|
3020
3002
|
|
|
3021
3003
|
export declare type HvDrawerClasses = ExtractNames<typeof useClasses_66>;
|
|
3022
3004
|
|
|
@@ -3094,7 +3076,7 @@ export declare interface HvDropdownColumnCellProp {
|
|
|
3094
3076
|
dropdownProps?: HvDropdownProps;
|
|
3095
3077
|
}
|
|
3096
3078
|
|
|
3097
|
-
export declare type HvDropdownLabels = Partial<typeof
|
|
3079
|
+
export declare type HvDropdownLabels = Partial<typeof DEFAULT_LABELS_6>;
|
|
3098
3080
|
|
|
3099
3081
|
/** @deprecated use `HvDropdownLabels` instead */
|
|
3100
3082
|
export declare type HvDropdownLabelsProps = HvDropdownLabels;
|
|
@@ -3172,11 +3154,11 @@ declare interface HvDropdownListProps {
|
|
|
3172
3154
|
/**
|
|
3173
3155
|
* A dropdown menu is a graphical control element, similar to a list box, that allows the user to choose a value from a list.
|
|
3174
3156
|
*/
|
|
3175
|
-
export declare const HvDropDownMenu: (props: HvDropDownMenuProps) =>
|
|
3157
|
+
export declare const HvDropDownMenu: (props: HvDropDownMenuProps) => JSX_2.Element;
|
|
3176
3158
|
|
|
3177
3159
|
export declare type HvDropDownMenuClasses = ExtractNames<typeof useClasses_34>;
|
|
3178
3160
|
|
|
3179
|
-
export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
3161
|
+
export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement, "onClick" | "onToggle"> {
|
|
3180
3162
|
/** Icon. */
|
|
3181
3163
|
icon?: React.ReactElement;
|
|
3182
3164
|
/**
|
|
@@ -3194,9 +3176,9 @@ export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement,
|
|
|
3194
3176
|
/** Disable the portal behavior. The children stay within it's parent DOM hierarchy. */
|
|
3195
3177
|
disablePortal?: boolean;
|
|
3196
3178
|
/** Function executed on toggle of the dropdown. Should receive the open status. */
|
|
3197
|
-
onToggle?: (event: Event
|
|
3179
|
+
onToggle?: (event: Event | React.KeyboardEvent<HTMLUListElement> | React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLLIElement>, open: boolean) => void;
|
|
3198
3180
|
/** Function executed in each onClick. Should received the clicked element. */
|
|
3199
|
-
onClick?: (event: React.ChangeEvent<HTMLLIElement>, value: HvListValue) => void;
|
|
3181
|
+
onClick?: (event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLLIElement>, value: HvListValue) => void;
|
|
3200
3182
|
/** Keep the Dropdown Menu opened after clicking one option */
|
|
3201
3183
|
keepOpened?: boolean;
|
|
3202
3184
|
/** Defines if the component is disabled. */
|
|
@@ -3371,7 +3353,7 @@ declare interface HvDropZoneLabels {
|
|
|
3371
3353
|
/**
|
|
3372
3354
|
* Empty states communicate that there’s no information, data or values to display in a given context.
|
|
3373
3355
|
*/
|
|
3374
|
-
export declare const HvEmptyState: (props: HvEmptyStateProps) =>
|
|
3356
|
+
export declare const HvEmptyState: (props: HvEmptyStateProps) => JSX_2.Element;
|
|
3375
3357
|
|
|
3376
3358
|
export declare type HvEmptyStateClasses = ExtractNames<typeof useClasses_67>;
|
|
3377
3359
|
|
|
@@ -3399,7 +3381,7 @@ export { HvExtraDeepProps }
|
|
|
3399
3381
|
|
|
3400
3382
|
export { HvExtraProps }
|
|
3401
3383
|
|
|
3402
|
-
export declare const HvFile: (props: HvFileProps) =>
|
|
3384
|
+
export declare const HvFile: (props: HvFileProps) => JSX_2.Element;
|
|
3403
3385
|
|
|
3404
3386
|
export declare type HvFileClasses = ExtractNames<typeof useClasses_69>;
|
|
3405
3387
|
|
|
@@ -3467,7 +3449,7 @@ export declare type HvFilesAddedEvent = (files: HvFileData[]) => void;
|
|
|
3467
3449
|
*
|
|
3468
3450
|
* Accepted file types follow the format of the html input accept attribute. Please check https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file for more details.
|
|
3469
3451
|
*/
|
|
3470
|
-
export declare const HvFileUploader: (props: HvFileUploaderProps) =>
|
|
3452
|
+
export declare const HvFileUploader: (props: HvFileUploaderProps) => JSX_2.Element;
|
|
3471
3453
|
|
|
3472
3454
|
export declare interface HvFileUploaderLabels extends HvDropZoneLabels {
|
|
3473
3455
|
/**
|
|
@@ -3480,7 +3462,7 @@ export declare interface HvFileUploaderLabels extends HvDropZoneLabels {
|
|
|
3480
3462
|
* The `HvFileUploaderPreview` component is available to facilitate the styling
|
|
3481
3463
|
* of the button (when clickable) and the detection of image unloading.
|
|
3482
3464
|
*/
|
|
3483
|
-
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) =>
|
|
3465
|
+
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) => JSX_2.Element;
|
|
3484
3466
|
|
|
3485
3467
|
export declare type HvFileUploaderPreviewClasses = ExtractNames<typeof useClasses_68>;
|
|
3486
3468
|
|
|
@@ -3590,7 +3572,7 @@ export declare type HvFilterGroupFilters = {
|
|
|
3590
3572
|
|
|
3591
3573
|
export declare type HvFilterGroupHorizontalPlacement = "left" | "right";
|
|
3592
3574
|
|
|
3593
|
-
export declare type HvFilterGroupLabels = Partial<typeof
|
|
3575
|
+
export declare type HvFilterGroupLabels = Partial<typeof DEFAULT_LABELS_8>;
|
|
3594
3576
|
|
|
3595
3577
|
export declare interface HvFilterGroupProps extends Omit<HvFormElementProps, "classes" | "onChange" | "defaultValue" | "statusMessage"> {
|
|
3596
3578
|
/** The initial value of the input when in single calendar mode. */
|
|
@@ -3651,7 +3633,7 @@ export declare interface HvFilterGroupProps extends Omit<HvFormElementProps, "cl
|
|
|
3651
3633
|
|
|
3652
3634
|
export declare type HvFilterGroupValue = (string | number)[][];
|
|
3653
3635
|
|
|
3654
|
-
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) =>
|
|
3636
|
+
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) => JSX_2.Element;
|
|
3655
3637
|
|
|
3656
3638
|
export declare type HvFocusClasses = ExtractNames<typeof useClasses_2>;
|
|
3657
3639
|
|
|
@@ -3690,7 +3672,7 @@ export declare type HvFocusStrategies = "listbox" | "menu" | "card" | "grid";
|
|
|
3690
3672
|
/**
|
|
3691
3673
|
* A Footer is a way of providing extra information at the end of a page.
|
|
3692
3674
|
*/
|
|
3693
|
-
export declare const HvFooter: (props: HvFooterProps) =>
|
|
3675
|
+
export declare const HvFooter: (props: HvFooterProps) => JSX_2.Element;
|
|
3694
3676
|
|
|
3695
3677
|
export declare type HvFooterClasses = ExtractNames<typeof useClasses_72>;
|
|
3696
3678
|
|
|
@@ -3714,49 +3696,40 @@ declare type HvFooterProps_2<D extends object = Record<string, unknown>> = HvTab
|
|
|
3714
3696
|
};
|
|
3715
3697
|
|
|
3716
3698
|
export declare const HvFormElement: {
|
|
3717
|
-
(props: HvFormElementProps):
|
|
3699
|
+
(props: HvFormElementProps): JSX_2.Element;
|
|
3718
3700
|
formElementType: string;
|
|
3719
3701
|
};
|
|
3720
3702
|
|
|
3721
3703
|
export declare type HvFormElementClasses = ExtractNames<typeof useClasses_7>;
|
|
3722
3704
|
|
|
3723
|
-
export declare const HvFormElementContext: default_2.Context<
|
|
3724
|
-
elementId?: string | undefined;
|
|
3725
|
-
elementDisabled?: boolean | undefined;
|
|
3726
|
-
elementRequired?: boolean | undefined;
|
|
3727
|
-
elementStatus?: string | undefined;
|
|
3728
|
-
}>;
|
|
3705
|
+
export declare const HvFormElementContext: default_2.Context<HvFormElementContextValue>;
|
|
3729
3706
|
|
|
3730
|
-
export declare const HvFormElementContextConsumer: default_2.Consumer<
|
|
3731
|
-
elementId?: string | undefined;
|
|
3732
|
-
elementDisabled?: boolean | undefined;
|
|
3733
|
-
elementRequired?: boolean | undefined;
|
|
3734
|
-
elementStatus?: string | undefined;
|
|
3735
|
-
}>;
|
|
3707
|
+
export declare const HvFormElementContextConsumer: default_2.Consumer<HvFormElementContextValue>;
|
|
3736
3708
|
|
|
3737
|
-
export declare const HvFormElementContextProvider: default_2.Provider<
|
|
3738
|
-
elementId?: string | undefined;
|
|
3739
|
-
elementDisabled?: boolean | undefined;
|
|
3740
|
-
elementRequired?: boolean | undefined;
|
|
3741
|
-
elementStatus?: string | undefined;
|
|
3742
|
-
}>;
|
|
3709
|
+
export declare const HvFormElementContextProvider: default_2.Provider<HvFormElementContextValue>;
|
|
3743
3710
|
|
|
3744
|
-
export declare
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3711
|
+
export declare interface HvFormElementContextValue {
|
|
3712
|
+
elementId?: string;
|
|
3713
|
+
elementDisabled?: boolean;
|
|
3714
|
+
elementRequired?: boolean;
|
|
3715
|
+
elementStatus?: string;
|
|
3716
|
+
elementReadOnly?: boolean;
|
|
3717
|
+
elementName?: string;
|
|
3718
|
+
}
|
|
3748
3719
|
|
|
3749
|
-
export declare const
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3720
|
+
export declare const HvFormElementDescriptorsContext: default_2.Context<HvFormElementDescriptorsContextValue>;
|
|
3721
|
+
|
|
3722
|
+
export declare const HvFormElementDescriptorsContextConsumer: default_2.Consumer<HvFormElementDescriptorsContextValue>;
|
|
3723
|
+
|
|
3724
|
+
export declare const HvFormElementDescriptorsContextProvider: default_2.Provider<HvFormElementDescriptorsContextValue>;
|
|
3753
3725
|
|
|
3754
|
-
export declare
|
|
3726
|
+
export declare interface HvFormElementDescriptorsContextValue {
|
|
3755
3727
|
input?: any;
|
|
3756
3728
|
label?: any;
|
|
3757
|
-
|
|
3729
|
+
descriptors?: any;
|
|
3730
|
+
}
|
|
3758
3731
|
|
|
3759
|
-
export declare interface HvFormElementProps extends HvBaseProps<HTMLDivElement, "onChange"> {
|
|
3732
|
+
export declare interface HvFormElementProps extends HvBaseProps<HTMLDivElement, "onChange" | "onToggle"> {
|
|
3760
3733
|
/**
|
|
3761
3734
|
* Name of the form element.
|
|
3762
3735
|
*
|
|
@@ -3813,7 +3786,7 @@ export declare type HvFormStatus = "standBy" | "valid" | "invalid" | "empty";
|
|
|
3813
3786
|
* Global Actions are actions that affect the entire page they live in.
|
|
3814
3787
|
* They should persist while scrolling down the screen.
|
|
3815
3788
|
*/
|
|
3816
|
-
export declare const HvGlobalActions: (props: HvGlobalActionsProps) =>
|
|
3789
|
+
export declare const HvGlobalActions: (props: HvGlobalActionsProps) => JSX_2.Element;
|
|
3817
3790
|
|
|
3818
3791
|
export declare type HvGlobalActionsClasses = ExtractNames<typeof useClasses_73>;
|
|
3819
3792
|
|
|
@@ -3963,9 +3936,9 @@ export declare type HvGridSpacing = "xs" | "sm" | "md" | "lg" | "xl" | "auto" |
|
|
|
3963
3936
|
/**
|
|
3964
3937
|
* Header component is used to render a header bar with logo and brand name, navigation and actions.
|
|
3965
3938
|
*/
|
|
3966
|
-
export declare const HvHeader: (props: HvHeaderProps) =>
|
|
3939
|
+
export declare const HvHeader: (props: HvHeaderProps) => JSX_2.Element;
|
|
3967
3940
|
|
|
3968
|
-
export declare const HvHeaderActions: (props: HvHeaderActionsProps) =>
|
|
3941
|
+
export declare const HvHeaderActions: (props: HvHeaderActionsProps) => JSX_2.Element;
|
|
3969
3942
|
|
|
3970
3943
|
export declare type HvHeaderActionsClasses = ExtractNames<typeof useClasses_76>;
|
|
3971
3944
|
|
|
@@ -3976,7 +3949,7 @@ export declare interface HvHeaderActionsProps extends HvBaseProps {
|
|
|
3976
3949
|
/**
|
|
3977
3950
|
* Header component is used to render a header bar with logo and brand name, navigation and actions.
|
|
3978
3951
|
*/
|
|
3979
|
-
export declare const HvHeaderBrand: (props: HvHeaderBrandProps) =>
|
|
3952
|
+
export declare const HvHeaderBrand: (props: HvHeaderBrandProps) => JSX_2.Element;
|
|
3980
3953
|
|
|
3981
3954
|
export declare type HvHeaderBrandClasses = ExtractNames<typeof useClasses_77>;
|
|
3982
3955
|
|
|
@@ -3992,7 +3965,7 @@ declare interface HvHeaderGroup<D extends object = Record<string, unknown>, H ex
|
|
|
3992
3965
|
headers: Array<HvHeaderGroup<D, H>>;
|
|
3993
3966
|
}
|
|
3994
3967
|
|
|
3995
|
-
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) =>
|
|
3968
|
+
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) => JSX_2.Element;
|
|
3996
3969
|
|
|
3997
3970
|
declare type HvHeaderMenuBarClasses = ExtractNames<typeof useClasses_78>;
|
|
3998
3971
|
|
|
@@ -4005,7 +3978,7 @@ declare interface HvHeaderMenuBarProps extends HvBaseProps<HTMLDivElement, "onCl
|
|
|
4005
3978
|
classes?: HvHeaderMenuBarClasses;
|
|
4006
3979
|
}
|
|
4007
3980
|
|
|
4008
|
-
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) =>
|
|
3981
|
+
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) => JSX_2.Element;
|
|
4009
3982
|
|
|
4010
3983
|
declare type HvHeaderMenuItemClasses = ExtractNames<typeof useClasses_79>;
|
|
4011
3984
|
|
|
@@ -4018,7 +3991,7 @@ declare interface HvHeaderMenuItemProps extends HvBaseProps<HTMLDivElement, "onC
|
|
|
4018
3991
|
classes?: HvHeaderMenuItemClasses;
|
|
4019
3992
|
}
|
|
4020
3993
|
|
|
4021
|
-
export declare const HvHeaderNavigation: (props: HvHeaderNavigationProps) =>
|
|
3994
|
+
export declare const HvHeaderNavigation: (props: HvHeaderNavigationProps) => JSX_2.Element;
|
|
4022
3995
|
|
|
4023
3996
|
export declare type HvHeaderNavigationClasses = ExtractNames<typeof useClasses_80>;
|
|
4024
3997
|
|
|
@@ -4086,7 +4059,7 @@ export declare type HvHorizontalScrollListItemClasses = ExtractNames<typeof useC
|
|
|
4086
4059
|
* As defined by Design System, a tooltip with the button’s label should always be displayed when hovering an icon only button.
|
|
4087
4060
|
* This component provides this behavior out of the box.
|
|
4088
4061
|
*/
|
|
4089
|
-
export declare const HvIconButton: <C extends ElementType
|
|
4062
|
+
export declare const HvIconButton: <C extends React.ElementType = "button">(props: Omit<HvButtonProps<C>, "icon" | "title" | "component" | "ref" | "children" | "startIcon" | "endIcon" | "focusableWhenDisabled"> & {
|
|
4090
4063
|
/** Label to be displayed in the tooltip when hovered. This label will be used as the button's `aria-label`. */
|
|
4091
4064
|
title: React.ReactNode;
|
|
4092
4065
|
/** Number of milliseconds to wait before showing the tooltip. @default 500 */
|
|
@@ -4094,14 +4067,14 @@ export declare const HvIconButton: <C extends ElementType<any, keyof JSX_2.Intri
|
|
|
4094
4067
|
/** Tooltip placement. @default top */
|
|
4095
4068
|
placement?: HvTooltipProps["placement"];
|
|
4096
4069
|
/** Extra tooltip properties. */
|
|
4097
|
-
tooltipProps?: Omit<Partial<HvTooltipProps>, "children"
|
|
4070
|
+
tooltipProps?: Omit<Partial<HvTooltipProps>, "children">;
|
|
4098
4071
|
} & {
|
|
4099
4072
|
component?: C | undefined;
|
|
4100
4073
|
} & {
|
|
4101
|
-
children?: ReactNode;
|
|
4074
|
+
children?: ReactNode | undefined;
|
|
4102
4075
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never), "icon" | "title" | "component" | "ref" | "children" | "startIcon" | "endIcon" | "focusableWhenDisabled">> extends infer T_1 ? T_1 extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "startIcon" | "endIcon" | "overrideIconColors" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never), "icon" | "title" | "component" | "ref" | "children" | "startIcon" | "endIcon" | "focusableWhenDisabled">> ? T_1 extends any ? T_1 : never : never : never) & {
|
|
4103
4076
|
ref?: PolymorphicRef<C> | undefined;
|
|
4104
|
-
} & RefAttributes<unknown>) =>
|
|
4077
|
+
} & RefAttributes<unknown>) => React.ReactNode;
|
|
4105
4078
|
|
|
4106
4079
|
export declare type HvIconButtonProps<C extends React.ElementType = "button"> = PolymorphicComponentRef<C, Omit<HvButtonProps<C>, "icon" | "focusableWhenDisabled" | "title" | "startIcon" | "endIcon" | "children" | "ref" | "component"> & {
|
|
4107
4080
|
/** Label to be displayed in the tooltip when hovered. This label will be used as the button's `aria-label`. */
|
|
@@ -4117,7 +4090,7 @@ export declare type HvIconButtonProps<C extends React.ElementType = "button"> =
|
|
|
4117
4090
|
/**
|
|
4118
4091
|
* Provides the user with additional descriptive text for the form element.
|
|
4119
4092
|
*/
|
|
4120
|
-
export declare const HvInfoMessage: (props: HvInfoMessageProps) =>
|
|
4093
|
+
export declare const HvInfoMessage: (props: HvInfoMessageProps) => JSX_2.Element;
|
|
4121
4094
|
|
|
4122
4095
|
export declare type HvInfoMessageClasses = ExtractNames<typeof useClasses_9>;
|
|
4123
4096
|
|
|
@@ -4134,7 +4107,7 @@ export declare interface HvInfoMessageProps extends HvTypographyProps<"label"> {
|
|
|
4134
4107
|
* An Inline Editor allows the user to edit a record without making a major switch
|
|
4135
4108
|
* between viewing and editing, making it an efficient method of updating a record.
|
|
4136
4109
|
*/
|
|
4137
|
-
export declare const HvInlineEditor: (props: HvInlineEditorProps) =>
|
|
4110
|
+
export declare const HvInlineEditor: (props: HvInlineEditorProps) => JSX_2.Element;
|
|
4138
4111
|
|
|
4139
4112
|
export declare type HvInlineEditorClasses = ExtractNames<typeof useClasses_81>;
|
|
4140
4113
|
|
|
@@ -4172,7 +4145,7 @@ export declare const HvInput: ForwardRefExoticComponent<HvInputProps & RefAttrib
|
|
|
4172
4145
|
|
|
4173
4146
|
export declare type HvInputClasses = ExtractNames<typeof useClasses_45>;
|
|
4174
4147
|
|
|
4175
|
-
export declare type HvInputLabels = Partial<typeof
|
|
4148
|
+
export declare type HvInputLabels = Partial<typeof DEFAULT_LABELS_3>;
|
|
4176
4149
|
|
|
4177
4150
|
export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange" | "onBlur" | "onFocus" | "onKeyDown" | "color"> {
|
|
4178
4151
|
/** The form element name. */
|
|
@@ -4242,7 +4215,7 @@ export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange
|
|
|
4242
4215
|
/** An Object containing the various texts associated with the input. */
|
|
4243
4216
|
validationMessages?: HvValidationMessages;
|
|
4244
4217
|
/** Attributes applied to the input element. */
|
|
4245
|
-
inputProps?:
|
|
4218
|
+
inputProps?: InputBaseComponentProps_2;
|
|
4246
4219
|
/**
|
|
4247
4220
|
* Allows passing a ref to the underlying input
|
|
4248
4221
|
* @deprecated Use `ref` directly instead
|
|
@@ -4316,11 +4289,11 @@ export declare interface HvKnobProperty {
|
|
|
4316
4289
|
* and its success/failure against a given target. KPIs are the first item read on a dashboard.
|
|
4317
4290
|
* Communicates simple, immediate and vital information for operational decision making.
|
|
4318
4291
|
*/
|
|
4319
|
-
export declare const HvKpi: (props: HvKpiProps) =>
|
|
4292
|
+
export declare const HvKpi: (props: HvKpiProps) => JSX_2.Element;
|
|
4320
4293
|
|
|
4321
4294
|
export declare type HvKpiClasses = ExtractNames<typeof useClasses_82>;
|
|
4322
4295
|
|
|
4323
|
-
export declare type HvKpiLabelProps = Partial<typeof
|
|
4296
|
+
export declare type HvKpiLabelProps = Partial<typeof DEFAULT_LABELS_9>;
|
|
4324
4297
|
|
|
4325
4298
|
export declare interface HvKpiProps extends HvBaseProps<HTMLDivElement, "children"> {
|
|
4326
4299
|
/**
|
|
@@ -4356,7 +4329,7 @@ export declare interface HvKpiProps extends HvBaseProps<HTMLDivElement, "childre
|
|
|
4356
4329
|
/**
|
|
4357
4330
|
* Provides the user with a recognizable name for a given form element.
|
|
4358
4331
|
*/
|
|
4359
|
-
export declare const HvLabel: (props: HvLabelProps) =>
|
|
4332
|
+
export declare const HvLabel: (props: HvLabelProps) => JSX_2.Element;
|
|
4360
4333
|
|
|
4361
4334
|
export declare type HvLabelClasses = ExtractNames<typeof useClasses_8>;
|
|
4362
4335
|
|
|
@@ -4375,7 +4348,7 @@ export declare interface HvLabelProps extends HvTypographyProps<"label"> {
|
|
|
4375
4348
|
classes?: HvLabelClasses;
|
|
4376
4349
|
}
|
|
4377
4350
|
|
|
4378
|
-
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) =>
|
|
4351
|
+
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) => JSX_2.Element;
|
|
4379
4352
|
|
|
4380
4353
|
export declare type HvLeftControlClasses = ExtractNames<typeof useClasses_55>;
|
|
4381
4354
|
|
|
@@ -4392,7 +4365,7 @@ export declare interface HvLeftControlProps extends HvBaseProps {
|
|
|
4392
4365
|
classes?: HvLeftControlClasses;
|
|
4393
4366
|
}
|
|
4394
4367
|
|
|
4395
|
-
export declare const HvLink: (props: HvLinkProps) =>
|
|
4368
|
+
export declare const HvLink: (props: HvLinkProps) => JSX_2.Element;
|
|
4396
4369
|
|
|
4397
4370
|
export declare type HvLinkClasses = ExtractNames<typeof useClasses_83>;
|
|
4398
4371
|
|
|
@@ -4408,7 +4381,7 @@ export declare interface HvLinkProps extends HvBaseProps<HTMLAnchorElement, "onC
|
|
|
4408
4381
|
/**
|
|
4409
4382
|
* Component used to show a set of related data to the user.
|
|
4410
4383
|
*/
|
|
4411
|
-
export declare const HvList: (props: HvListProps) =>
|
|
4384
|
+
export declare const HvList: (props: HvListProps) => JSX_2.Element | null;
|
|
4412
4385
|
|
|
4413
4386
|
export declare type HvListClasses = ExtractNames<typeof useClasses_84>;
|
|
4414
4387
|
|
|
@@ -4524,7 +4497,7 @@ export declare interface HvListProps extends HvBaseProps<HTMLUListElement, "onCh
|
|
|
4524
4497
|
/** Call back fired when list item is selected. Returns selection state. */
|
|
4525
4498
|
onChange?: (value: HvListValue[]) => void;
|
|
4526
4499
|
/** Call back fired when list item is selected. Returns selected item. */
|
|
4527
|
-
onClick?: (event: React.ChangeEvent<HTMLLIElement>, value: HvListValue) => void;
|
|
4500
|
+
onClick?: (event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLLIElement>, value: HvListValue) => void;
|
|
4528
4501
|
/** If `true` the list items will show the selection state. */
|
|
4529
4502
|
selectable?: boolean;
|
|
4530
4503
|
/** If `true`, selection can be toggled when single selection. */
|
|
@@ -4561,7 +4534,7 @@ export declare interface HvListValue extends HvExtraProps {
|
|
|
4561
4534
|
/**
|
|
4562
4535
|
* Loading provides feedback about a process that is taking place in the application.
|
|
4563
4536
|
*/
|
|
4564
|
-
export declare const HvLoading: (props: HvLoadingProps) =>
|
|
4537
|
+
export declare const HvLoading: (props: HvLoadingProps) => JSX_2.Element;
|
|
4565
4538
|
|
|
4566
4539
|
export declare type HvLoadingClasses = ExtractNames<typeof useClasses_85>;
|
|
4567
4540
|
|
|
@@ -4574,7 +4547,7 @@ export declare type HvLoadingClasses = ExtractNames<typeof useClasses_85>;
|
|
|
4574
4547
|
* <MyComponent>
|
|
4575
4548
|
* </HvLoadingContainer>
|
|
4576
4549
|
* */
|
|
4577
|
-
export declare const HvLoadingContainer: (props: HvLoadingContainerProps) =>
|
|
4550
|
+
export declare const HvLoadingContainer: (props: HvLoadingContainerProps) => JSX_2.Element;
|
|
4578
4551
|
|
|
4579
4552
|
export declare type HvLoadingContainerClasses = ExtractNames<typeof useClasses_86>;
|
|
4580
4553
|
|
|
@@ -4587,7 +4560,7 @@ export declare interface HvLoadingProps extends HvBaseProps {
|
|
|
4587
4560
|
/** Indicates if the component should be render in a small size. */
|
|
4588
4561
|
small?: boolean;
|
|
4589
4562
|
/** The label to be displayed. */
|
|
4590
|
-
label?:
|
|
4563
|
+
label?: React.ReactNode;
|
|
4591
4564
|
/** Whether the loading animation is hidden. */
|
|
4592
4565
|
hidden?: boolean;
|
|
4593
4566
|
/** Color applied to the bars. */
|
|
@@ -4599,7 +4572,7 @@ export declare interface HvLoadingProps extends HvBaseProps {
|
|
|
4599
4572
|
/**
|
|
4600
4573
|
* Container layout for the login form.
|
|
4601
4574
|
*/
|
|
4602
|
-
export declare const HvLogin: (props: HvLoginProps) =>
|
|
4575
|
+
export declare const HvLogin: (props: HvLoginProps) => JSX_2.Element;
|
|
4603
4576
|
|
|
4604
4577
|
export declare type HvLoginClasses = ExtractNames<typeof useClasses_87>;
|
|
4605
4578
|
|
|
@@ -4626,7 +4599,7 @@ declare interface HvMetaBase<D extends object = Record<string, unknown>, H exten
|
|
|
4626
4599
|
userProps: any;
|
|
4627
4600
|
}
|
|
4628
4601
|
|
|
4629
|
-
export declare const HvMultiButton: (props: HvMultiButtonProps) =>
|
|
4602
|
+
export declare const HvMultiButton: (props: HvMultiButtonProps) => JSX_2.Element;
|
|
4630
4603
|
|
|
4631
4604
|
export declare type HvMultiButtonClasses = ExtractNames<typeof useClasses_88>;
|
|
4632
4605
|
|
|
@@ -4664,7 +4637,7 @@ export declare function hvNumberColumn<D extends object = Record<string, unknown
|
|
|
4664
4637
|
|
|
4665
4638
|
export declare const hvNumberFallback: (value: any) => number | "—";
|
|
4666
4639
|
|
|
4667
|
-
export declare const HvOption: <OptionValue extends {}>(props: HvOptionProps<OptionValue> & RefAttributes<HTMLLIElement>) =>
|
|
4640
|
+
export declare const HvOption: <OptionValue extends {}>(props: HvOptionProps<OptionValue> & RefAttributes<HTMLLIElement>) => React.ReactNode;
|
|
4668
4641
|
|
|
4669
4642
|
/**
|
|
4670
4643
|
* Optional
|
|
@@ -4701,7 +4674,7 @@ export declare interface HvOptionProps<OptionValue extends {}> extends Omit<HvLi
|
|
|
4701
4674
|
/**
|
|
4702
4675
|
* This component generates a tooltip whenever the text is overflowed.
|
|
4703
4676
|
*/
|
|
4704
|
-
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) =>
|
|
4677
|
+
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) => JSX_2.Element;
|
|
4705
4678
|
|
|
4706
4679
|
export declare type HvOverflowTooltipClasses = ExtractNames<typeof useClasses_89>;
|
|
4707
4680
|
|
|
@@ -4724,11 +4697,11 @@ export declare interface HvOverflowTooltipProps extends HvBaseProps {
|
|
|
4724
4697
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact
|
|
4725
4698
|
* with structured content on a website or application.
|
|
4726
4699
|
*/
|
|
4727
|
-
export declare const HvPagination: (props: HvPaginationProps) =>
|
|
4700
|
+
export declare const HvPagination: (props: HvPaginationProps) => JSX_2.Element;
|
|
4728
4701
|
|
|
4729
4702
|
export declare type HvPaginationClasses = ExtractNames<typeof useClasses_46>;
|
|
4730
4703
|
|
|
4731
|
-
export declare type HvPaginationLabels = Partial<typeof
|
|
4704
|
+
export declare type HvPaginationLabels = Partial<typeof DEFAULT_LABELS_2>;
|
|
4732
4705
|
|
|
4733
4706
|
export declare type HvPaginationPropGetter<D extends object> = PropGetter<D, HvTablePaginationProps>;
|
|
4734
4707
|
|
|
@@ -4781,7 +4754,7 @@ export declare interface HvPanelProps extends HvBaseProps {
|
|
|
4781
4754
|
|
|
4782
4755
|
export declare type HvPolarizedColorKeys = "positive" | "positive_120" | "positive_80" | "warning" | "warning_120" | "warning_140" | "negative" | "cat21" | "cat22" | "cat23" | "cat24" | "cat25" | "cat26" | "cat27" | "cat28" | "catastrophic";
|
|
4783
4756
|
|
|
4784
|
-
export declare const HvProgressBar: (props: HvProgressBarProps) =>
|
|
4757
|
+
export declare const HvProgressBar: (props: HvProgressBarProps) => JSX_2.Element;
|
|
4785
4758
|
|
|
4786
4759
|
export declare type HvProgressBarClasses = ExtractNames<typeof useClasses_92>;
|
|
4787
4760
|
|
|
@@ -4830,7 +4803,7 @@ export declare type HvPropGetter<D extends object = Record<string, unknown>, H e
|
|
|
4830
4803
|
/**
|
|
4831
4804
|
* Enables theming capabilities and makes cross-component theme properties available down the tree.
|
|
4832
4805
|
*/
|
|
4833
|
-
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, emotionCache: emotionCacheProp, classNameKey, }: HvProviderProps) =>
|
|
4806
|
+
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, emotionCache: emotionCacheProp, classNameKey, }: HvProviderProps) => JSX_2.Element;
|
|
4834
4807
|
|
|
4835
4808
|
export declare interface HvProviderProps {
|
|
4836
4809
|
/**
|
|
@@ -4897,7 +4870,7 @@ export declare interface HvProviderProps {
|
|
|
4897
4870
|
*
|
|
4898
4871
|
* Take a look at the [usage page](https://lumada-design.github.io/uikit/master/?path=/docs/widgets-query-builder-usage--docs) to learn more about this component.
|
|
4899
4872
|
*/
|
|
4900
|
-
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) =>
|
|
4873
|
+
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) => JSX_2.Element;
|
|
4901
4874
|
|
|
4902
4875
|
export declare interface HvQueryBuilderAttribute extends Record<string, unknown> {
|
|
4903
4876
|
id?: string;
|
|
@@ -5342,7 +5315,7 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
|
|
|
5342
5315
|
|
|
5343
5316
|
export declare type HvRadioStatus = "standBy" | "valid" | "invalid";
|
|
5344
5317
|
|
|
5345
|
-
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) =>
|
|
5318
|
+
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) => JSX_2.Element;
|
|
5346
5319
|
|
|
5347
5320
|
export declare type HvRightControlClasses = ExtractNames<typeof useClasses_56>;
|
|
5348
5321
|
|
|
@@ -5381,7 +5354,7 @@ declare type HvRowPropGetter<D extends object = Record<string, unknown>, H exten
|
|
|
5381
5354
|
/**
|
|
5382
5355
|
* The horizontal scroll to element can be used to quickly navigate in a page.
|
|
5383
5356
|
*/
|
|
5384
|
-
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) =>
|
|
5357
|
+
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) => JSX_2.Element;
|
|
5385
5358
|
|
|
5386
5359
|
export declare type HvScrollToHorizontalClasses = ExtractNames<typeof useClasses_98>;
|
|
5387
5360
|
|
|
@@ -5466,7 +5439,7 @@ export declare type HvScrollToTooltipPositions = "left" | "right" | "top" | "bot
|
|
|
5466
5439
|
/**
|
|
5467
5440
|
* The vertical scroll to element can be used to quickly navigate in a page.
|
|
5468
5441
|
*/
|
|
5469
|
-
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) =>
|
|
5442
|
+
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) => JSX_2.Element;
|
|
5470
5443
|
|
|
5471
5444
|
export declare type HvScrollToVerticalClasses = ExtractNames<typeof useClasses_96>;
|
|
5472
5445
|
|
|
@@ -5546,7 +5519,7 @@ export declare const HvSection: ForwardRefExoticComponent<HvSectionProps & RefAt
|
|
|
5546
5519
|
|
|
5547
5520
|
export declare type HvSectionClasses = ExtractNames<typeof useClasses_99>;
|
|
5548
5521
|
|
|
5549
|
-
export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>, "title"> {
|
|
5522
|
+
export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>, "title" | "onToggle"> {
|
|
5550
5523
|
/** The title of the section */
|
|
5551
5524
|
title?: React.ReactNode;
|
|
5552
5525
|
/** Whether or not the section is expandable. */
|
|
@@ -5580,7 +5553,7 @@ export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>
|
|
|
5580
5553
|
* <HvOption value="cat">Cat</HvOption>
|
|
5581
5554
|
* </HvSelect>
|
|
5582
5555
|
* */
|
|
5583
|
-
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean = false>(props: HvSelectProps<OptionValue, Multiple> & RefAttributes<HTMLButtonElement>) =>
|
|
5556
|
+
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean = false>(props: HvSelectProps<OptionValue, Multiple> & RefAttributes<HTMLButtonElement>) => React.ReactNode;
|
|
5584
5557
|
|
|
5585
5558
|
export declare type HvSelectClasses = ExtractNames<typeof useClasses_11>;
|
|
5586
5559
|
|
|
@@ -5672,7 +5645,7 @@ export declare type HvSemanticColors = Record<HvSemanticColorKeys, string>;
|
|
|
5672
5645
|
|
|
5673
5646
|
export declare type HvSequentialColorKeys = "cat1" | "cat1_100" | "cat1_200" | "cat1_300" | "cat1_400" | "cat1_500" | "cat1_600" | "cat1_700" | "cat1_800" | "cat1_900";
|
|
5674
5647
|
|
|
5675
|
-
export declare const HvSimpleGrid: (props: HvSimpleGridProps) =>
|
|
5648
|
+
export declare const HvSimpleGrid: (props: HvSimpleGridProps) => JSX_2.Element;
|
|
5676
5649
|
|
|
5677
5650
|
export declare type HvSimpleGridClasses = ExtractNames<typeof useClasses_100>;
|
|
5678
5651
|
|
|
@@ -5705,7 +5678,7 @@ export { HvSize }
|
|
|
5705
5678
|
/**
|
|
5706
5679
|
* The `HvSkeleton` component is used to create a placeholder element that represents the shape and size of the content that will be loaded.
|
|
5707
5680
|
*/
|
|
5708
|
-
export declare const HvSkeleton: (props: HvSkeletonProps) =>
|
|
5681
|
+
export declare const HvSkeleton: (props: HvSkeletonProps) => JSX_2.Element;
|
|
5709
5682
|
|
|
5710
5683
|
export declare type HvSkeletonClasses = ExtractNames<typeof useClasses_129>;
|
|
5711
5684
|
|
|
@@ -5829,7 +5802,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5829
5802
|
* One is the HvSnackbar, which wraps all the positioning, transition, auto hide, etc.
|
|
5830
5803
|
* The other is the HvSnackbarContent, which allows a finer control and customization of the content of the Snackbar.
|
|
5831
5804
|
*/
|
|
5832
|
-
export declare const HvSnackbar: ({ classes: classesProp, className, id, open, onClose, label, anchorOrigin, autoHideDuration, variant, showIcon, customIcon, action, actionCallback, onAction, transitionDuration, transitionDirection, container, offset, snackbarContentProps, ...others }: HvSnackbarProps) =>
|
|
5805
|
+
export declare const HvSnackbar: ({ classes: classesProp, className, id, open, onClose, label, anchorOrigin, autoHideDuration, variant, showIcon, customIcon, action, actionCallback, onAction, transitionDuration, transitionDirection, container, offset, snackbarContentProps, ...others }: HvSnackbarProps) => JSX_2.Element;
|
|
5833
5806
|
|
|
5834
5807
|
export declare type HvSnackbarClasses = ExtractNames<typeof useClasses_102>;
|
|
5835
5808
|
|
|
@@ -5909,7 +5882,7 @@ export declare interface HvSnackbarProps extends Omit<SnackbarProps, "action" |
|
|
|
5909
5882
|
ref?: SnackbarProps["ref"];
|
|
5910
5883
|
}
|
|
5911
5884
|
|
|
5912
|
-
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, container, ...others }: HvSnackbarProviderProps) =>
|
|
5885
|
+
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, container, ...others }: HvSnackbarProviderProps) => JSX_2.Element;
|
|
5913
5886
|
|
|
5914
5887
|
export declare type HvSnackbarProviderClasses = ExtractNames<typeof useClasses_104>;
|
|
5915
5888
|
|
|
@@ -5939,7 +5912,7 @@ export declare type HvSnackbarVariant = "default" | "success" | "warning" | "err
|
|
|
5939
5912
|
*
|
|
5940
5913
|
* It also allows the specification of the spacing between the stack elements and the addition of a divider between the elements.
|
|
5941
5914
|
*/
|
|
5942
|
-
export declare const HvStack: (props: HvStackProps) =>
|
|
5915
|
+
export declare const HvStack: (props: HvStackProps) => JSX_2.Element;
|
|
5943
5916
|
|
|
5944
5917
|
export declare interface HvStackBreakpoints extends Record<HvBreakpoints, string> {
|
|
5945
5918
|
}
|
|
@@ -6115,7 +6088,7 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
|
|
|
6115
6088
|
component?: SwitchProps["component"];
|
|
6116
6089
|
}
|
|
6117
6090
|
|
|
6118
|
-
export declare const HvTab: (props: HvTabProps) =>
|
|
6091
|
+
export declare const HvTab: (props: HvTabProps) => JSX_2.Element;
|
|
6119
6092
|
|
|
6120
6093
|
export declare type HvTabClasses = ExtractNames<typeof useClasses_107>;
|
|
6121
6094
|
|
|
@@ -6450,7 +6423,7 @@ export declare interface HvTabProps extends Omit<TabProps, "children"> {
|
|
|
6450
6423
|
* A Tab is a graphical control element that allows multiple documents or panels to be contained within a single window.
|
|
6451
6424
|
* Tabs can be used as a navigational widget for switching between sets of documents.
|
|
6452
6425
|
*/
|
|
6453
|
-
export declare const HvTabs: (props: HvTabsProps) =>
|
|
6426
|
+
export declare const HvTabs: (props: HvTabsProps) => JSX_2.Element;
|
|
6454
6427
|
|
|
6455
6428
|
export declare type HvTabsClasses = ExtractNames<typeof useClasses_112>;
|
|
6456
6429
|
|
|
@@ -6528,7 +6501,7 @@ export declare interface HvTagProps extends Omit<ChipProps, "color" | "classes"
|
|
|
6528
6501
|
/**
|
|
6529
6502
|
* A tags input is a single or multiline control that allows the input of tags.
|
|
6530
6503
|
*/
|
|
6531
|
-
export declare const HvTagsInput: ForwardRefExoticComponent<HvTagsInputProps & RefAttributes<HTMLUListElement>>;
|
|
6504
|
+
export declare const HvTagsInput: default_2.ForwardRefExoticComponent<HvTagsInputProps & default_2.RefAttributes<HTMLUListElement>>;
|
|
6532
6505
|
|
|
6533
6506
|
export declare type HvTagsInputClasses = ExtractNames<typeof useClasses_113>;
|
|
6534
6507
|
|
|
@@ -6544,9 +6517,9 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6544
6517
|
* The form element must be labeled for accessibility reasons.
|
|
6545
6518
|
* If not provided, an aria-label or aria-labelledby must be inputted via inputProps.
|
|
6546
6519
|
*/
|
|
6547
|
-
label?:
|
|
6520
|
+
label?: default_2.ReactNode;
|
|
6548
6521
|
/** Provide additional descriptive text for the form element. */
|
|
6549
|
-
description?:
|
|
6522
|
+
description?: default_2.ReactNode;
|
|
6550
6523
|
/** Indicates that the form element is disabled. */
|
|
6551
6524
|
disabled?: boolean;
|
|
6552
6525
|
/** Indicates that the form element is not editable. */
|
|
@@ -6554,15 +6527,15 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6554
6527
|
/** Indicates that the form element is required. */
|
|
6555
6528
|
required?: boolean;
|
|
6556
6529
|
/** The function that will be executed onChange. */
|
|
6557
|
-
onChange?: (event:
|
|
6530
|
+
onChange?: (event: default_2.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement> | default_2.MouseEvent | default_2.KeyboardEvent<HTMLUListElement> | default_2.FocusEvent<HTMLDivElement>, value: HvTagProps[]) => void;
|
|
6558
6531
|
/** The function that will be executed when the element is focused. */
|
|
6559
|
-
onFocus?: (event:
|
|
6532
|
+
onFocus?: (event: default_2.FocusEvent<HTMLDivElement>, value: string) => void;
|
|
6560
6533
|
/** The function that will be executed when the element is blurred. */
|
|
6561
|
-
onBlur?: (event:
|
|
6534
|
+
onBlur?: (event: default_2.FocusEvent<HTMLDivElement>, value: string) => void;
|
|
6562
6535
|
/** The function that will be executed when a tag is deleted. */
|
|
6563
|
-
onDelete?: (event:
|
|
6536
|
+
onDelete?: (event: default_2.KeyboardEvent<HTMLUListElement> | default_2.MouseEvent<HTMLElement>, value: HvTagProps, index: number) => void;
|
|
6564
6537
|
/** The function that will be executed when a tag is added. */
|
|
6565
|
-
onAdd?: (event:
|
|
6538
|
+
onAdd?: (event: default_2.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement> | default_2.MouseEvent | default_2.KeyboardEvent<HTMLUListElement> | default_2.FocusEvent<HTMLDivElement>, value: HvTagProps, index: number) => void;
|
|
6566
6539
|
/** The placeholder value of the input. */
|
|
6567
6540
|
placeholder?: string;
|
|
6568
6541
|
/** If `true` the character counter isn't shown even if maxTagsQuantity is set. */
|
|
@@ -6572,7 +6545,7 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6572
6545
|
/** The maximum allowed length of the characters, if this value is null no check will be performed. */
|
|
6573
6546
|
maxTagsQuantity?: number;
|
|
6574
6547
|
/** Attributes applied to the input element. */
|
|
6575
|
-
inputProps?:
|
|
6548
|
+
inputProps?: InputBaseComponentProps_2;
|
|
6576
6549
|
/** If `true` it should autofocus. */
|
|
6577
6550
|
autoFocus?: boolean;
|
|
6578
6551
|
/** If `true` the component is resizable. */
|
|
@@ -6584,7 +6557,7 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6584
6557
|
/** The status of the form element. */
|
|
6585
6558
|
status?: HvFormStatus;
|
|
6586
6559
|
/** The error message to show when `status` is "invalid". */
|
|
6587
|
-
statusMessage?:
|
|
6560
|
+
statusMessage?: default_2.ReactNode;
|
|
6588
6561
|
/** An Object containing the various texts associated with the input. */
|
|
6589
6562
|
validationMessages?: HvValidationMessages;
|
|
6590
6563
|
/** An array of strings that represent the character used to input a tag. This character is the string representation of the event.code from the input event. */
|
|
@@ -6740,7 +6713,7 @@ export declare interface HvThemePalette {
|
|
|
6740
6713
|
support: HvSupportColors;
|
|
6741
6714
|
}
|
|
6742
6715
|
|
|
6743
|
-
export declare const HvThemeProvider: ({ children, themes: themesList, theme: themeProp, emotionCache, colorMode: colorModeProp, themeRootId: rootId, }: HvThemeProviderProps) =>
|
|
6716
|
+
export declare const HvThemeProvider: ({ children, themes: themesList, theme: themeProp, emotionCache, colorMode: colorModeProp, themeRootId: rootId, }: HvThemeProviderProps) => JSX_2.Element;
|
|
6744
6717
|
|
|
6745
6718
|
declare interface HvThemeProviderProps {
|
|
6746
6719
|
children: React.ReactNode;
|
|
@@ -6754,42 +6727,40 @@ declare interface HvThemeProviderProps {
|
|
|
6754
6727
|
/**
|
|
6755
6728
|
* The HvTimeAgo component implements the Design System relative time format guidelines.
|
|
6756
6729
|
*/
|
|
6757
|
-
export declare const HvTimeAgo: <C extends ElementType
|
|
6730
|
+
export declare const HvTimeAgo: <C extends React.ElementType = "p">(props: {
|
|
6758
6731
|
/**
|
|
6759
6732
|
* The timestamp to format, in seconds or milliseconds.
|
|
6760
6733
|
* Defaults to `emptyElement` if value is null or 0
|
|
6761
6734
|
*/
|
|
6762
|
-
timestamp?: number
|
|
6735
|
+
timestamp?: number;
|
|
6763
6736
|
/**
|
|
6764
6737
|
* The locale to be used. Should be on of the dayjs supported locales and explicitly imported
|
|
6765
6738
|
* @see https://day.js.org/docs/en/i18n/i18n
|
|
6766
6739
|
*/
|
|
6767
|
-
locale?: string
|
|
6740
|
+
locale?: string;
|
|
6768
6741
|
/**
|
|
6769
6742
|
* The element to render when the timestamp is null or 0
|
|
6770
6743
|
* Defaults to `—` (Em Dash)
|
|
6771
6744
|
*/
|
|
6772
6745
|
emptyElement?: React.ReactNode;
|
|
6773
6746
|
/** Disables periodic date refreshes */
|
|
6774
|
-
disableRefresh?: boolean
|
|
6747
|
+
disableRefresh?: boolean;
|
|
6775
6748
|
/** Whether to show seconds in the rendered time */
|
|
6776
|
-
showSeconds?: boolean
|
|
6749
|
+
showSeconds?: boolean;
|
|
6777
6750
|
/**
|
|
6778
6751
|
* Whether the component should render just the string
|
|
6779
6752
|
* Consider using `useTimeAgo` instead
|
|
6780
6753
|
*/
|
|
6781
|
-
justText?: boolean
|
|
6754
|
+
justText?: boolean;
|
|
6782
6755
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6783
|
-
classes?:
|
|
6784
|
-
root: string;
|
|
6785
|
-
}> | undefined;
|
|
6756
|
+
classes?: HvTimeAgoClasses;
|
|
6786
6757
|
} & {
|
|
6787
6758
|
component?: C | undefined;
|
|
6788
6759
|
} & {
|
|
6789
|
-
children?: ReactNode;
|
|
6760
|
+
children?: ReactNode | undefined;
|
|
6790
6761
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "component" | "locale" | "emptyElement" | "showSeconds" | "timestamp" | "disableRefresh" | "justText"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "component" | "locale" | "emptyElement" | "showSeconds" | "timestamp" | "disableRefresh" | "justText"> ? T extends any ? T : never : never : never) & {
|
|
6791
6762
|
ref?: PolymorphicRef<C> | undefined;
|
|
6792
|
-
} & RefAttributes<unknown>) =>
|
|
6763
|
+
} & RefAttributes<unknown>) => React.ReactNode;
|
|
6793
6764
|
|
|
6794
6765
|
export declare type HvTimeAgoClasses = ExtractNames<typeof useClasses_115>;
|
|
6795
6766
|
|
|
@@ -7015,6 +6986,8 @@ export declare interface HvTreeItemProps extends React.HTMLAttributes<HTMLElemen
|
|
|
7015
6986
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
7016
6987
|
/** Props applied to the transition component */
|
|
7017
6988
|
TransitionProps?: TransitionProps;
|
|
6989
|
+
/** Whether to disable the following default behavior: when the item is focused, the focus is placed on the tree root. @default `false` */
|
|
6990
|
+
disableTreeFocus?: boolean;
|
|
7018
6991
|
}
|
|
7019
6992
|
|
|
7020
6993
|
/**
|
|
@@ -7033,7 +7006,7 @@ export declare interface HvTreeItemProps extends React.HTMLAttributes<HTMLElemen
|
|
|
7033
7006
|
* </HvTreeView>
|
|
7034
7007
|
* ```
|
|
7035
7008
|
*/
|
|
7036
|
-
export declare const HvTreeView: <Multiple extends boolean | undefined>(props: HvTreeViewProps<Multiple> & RefAttributes<HTMLUListElement>) =>
|
|
7009
|
+
export declare const HvTreeView: <Multiple extends boolean | undefined>(props: HvTreeViewProps<Multiple> & RefAttributes<HTMLUListElement>) => React.ReactNode;
|
|
7037
7010
|
|
|
7038
7011
|
export declare type HvTreeViewClasses = ExtractNames<typeof useClasses_117>;
|
|
7039
7012
|
|
|
@@ -7047,69 +7020,34 @@ export declare interface HvTreeViewProps<Multiple extends boolean | undefined> e
|
|
|
7047
7020
|
/**
|
|
7048
7021
|
* Typography component is used to render text and paragraphs within an interface.
|
|
7049
7022
|
*/
|
|
7050
|
-
export declare const HvTypography: <C extends ElementType
|
|
7023
|
+
export declare const HvTypography: <C extends React.ElementType = "p">(props: {
|
|
7051
7024
|
/** Use the variant prop to change the visual style of the Typography. */
|
|
7052
|
-
variant?:
|
|
7025
|
+
variant?: HvTypographyVariants | HvTypographyLegacyVariants;
|
|
7053
7026
|
/** If `true` the typography will display the look of a link. */
|
|
7054
|
-
link?: boolean
|
|
7027
|
+
link?: boolean;
|
|
7055
7028
|
/** If `true` the typography will display the look of a disabled state. */
|
|
7056
|
-
disabled?: boolean
|
|
7029
|
+
disabled?: boolean;
|
|
7057
7030
|
/**
|
|
7058
7031
|
* If `true`, the typography will render a "p" element
|
|
7059
7032
|
* @deprecated use `component="p"` instead
|
|
7060
7033
|
* */
|
|
7061
|
-
paragraph?: boolean
|
|
7034
|
+
paragraph?: boolean;
|
|
7062
7035
|
/**
|
|
7063
7036
|
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
7064
7037
|
*
|
|
7065
7038
|
* Note that text overflow can only happen with block or inline-block level elements
|
|
7066
7039
|
* (the element needs to have a width in order to overflow).
|
|
7067
7040
|
*/
|
|
7068
|
-
noWrap?: boolean
|
|
7041
|
+
noWrap?: boolean;
|
|
7069
7042
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
7070
|
-
classes?:
|
|
7071
|
-
display: string;
|
|
7072
|
-
"5xlTitle": string;
|
|
7073
|
-
"4xlTitle": string;
|
|
7074
|
-
link: string;
|
|
7075
|
-
title1: string;
|
|
7076
|
-
title2: string;
|
|
7077
|
-
title3: string;
|
|
7078
|
-
title4: string;
|
|
7079
|
-
label: string;
|
|
7080
|
-
body: string;
|
|
7081
|
-
captionLabel: string;
|
|
7082
|
-
caption1: string;
|
|
7083
|
-
caption2: string;
|
|
7084
|
-
xxlTitle: string;
|
|
7085
|
-
lTitle: string;
|
|
7086
|
-
sTitle: string;
|
|
7087
|
-
xxsTitle: string;
|
|
7088
|
-
sectionTitle: string;
|
|
7089
|
-
placeholderText: string;
|
|
7090
|
-
disabledText: string;
|
|
7091
|
-
selectedNavText: string;
|
|
7092
|
-
vizTextDisabled: string;
|
|
7093
|
-
xsInlineLink: string;
|
|
7094
|
-
root: string;
|
|
7095
|
-
disabled: string;
|
|
7096
|
-
isLink: string;
|
|
7097
|
-
noWrap: string;
|
|
7098
|
-
"3xlTitle": string;
|
|
7099
|
-
xlTitle: string;
|
|
7100
|
-
mTitle: string;
|
|
7101
|
-
xsTitle: string;
|
|
7102
|
-
highlightText: string;
|
|
7103
|
-
normalText: string;
|
|
7104
|
-
vizText: string;
|
|
7105
|
-
}> | undefined;
|
|
7043
|
+
classes?: HvTypographyClasses;
|
|
7106
7044
|
} & {
|
|
7107
7045
|
component?: C | undefined;
|
|
7108
7046
|
} & {
|
|
7109
|
-
children?: ReactNode;
|
|
7047
|
+
children?: ReactNode | undefined;
|
|
7110
7048
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "variant" | "component" | "noWrap" | "paragraph"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "variant" | "component" | "noWrap" | "paragraph"> ? T extends any ? T : never : never : never) & {
|
|
7111
7049
|
ref?: PolymorphicRef<C> | undefined;
|
|
7112
|
-
} & RefAttributes<unknown>) =>
|
|
7050
|
+
} & RefAttributes<unknown>) => React.ReactNode;
|
|
7113
7051
|
|
|
7114
7052
|
export declare type HvTypographyClasses = ExtractNames<typeof useClasses>;
|
|
7115
7053
|
|
|
@@ -7187,9 +7125,9 @@ export declare interface HvValidationMessages {
|
|
|
7187
7125
|
*
|
|
7188
7126
|
* Both modes are available via the `mode` property and each app should choose the most appropriate.
|
|
7189
7127
|
*/
|
|
7190
|
-
export declare const HvVerticalNavigation: (props: HvVerticalNavigationProps) =>
|
|
7128
|
+
export declare const HvVerticalNavigation: (props: HvVerticalNavigationProps) => JSX_2.Element;
|
|
7191
7129
|
|
|
7192
|
-
export declare const HvVerticalNavigationAction: (props: HvVerticalNavigationActionProps) =>
|
|
7130
|
+
export declare const HvVerticalNavigationAction: (props: HvVerticalNavigationActionProps) => JSX_2.Element;
|
|
7193
7131
|
|
|
7194
7132
|
export declare type HvVerticalNavigationActionClasses = ExtractNames<typeof useClasses_123>;
|
|
7195
7133
|
|
|
@@ -7204,7 +7142,7 @@ export declare interface HvVerticalNavigationActionProps extends Omit<HvTypograp
|
|
|
7204
7142
|
onClick?: (event: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement>) => void;
|
|
7205
7143
|
}
|
|
7206
7144
|
|
|
7207
|
-
export declare const HvVerticalNavigationActions: (props: HvVerticalNavigationActionsProps) =>
|
|
7145
|
+
export declare const HvVerticalNavigationActions: (props: HvVerticalNavigationActionsProps) => JSX_2.Element;
|
|
7208
7146
|
|
|
7209
7147
|
export declare type HvVerticalNavigationActionsClasses = ExtractNames<typeof useClasses_122>;
|
|
7210
7148
|
|
|
@@ -7215,7 +7153,7 @@ export declare interface HvVerticalNavigationActionsProps extends HvBaseProps {
|
|
|
7215
7153
|
|
|
7216
7154
|
export declare type HvVerticalNavigationClasses = ExtractNames<typeof useClasses_120>;
|
|
7217
7155
|
|
|
7218
|
-
export declare const HvVerticalNavigationHeader: (props: HvVerticalNavigationHeaderProps) =>
|
|
7156
|
+
export declare const HvVerticalNavigationHeader: (props: HvVerticalNavigationHeaderProps) => JSX_2.Element | null;
|
|
7219
7157
|
|
|
7220
7158
|
export declare type HvVerticalNavigationHeaderClasses = ExtractNames<typeof useClasses_121>;
|
|
7221
7159
|
|
|
@@ -7262,7 +7200,7 @@ export declare interface HvVerticalNavigationProps extends HvBaseProps<HTMLDivEl
|
|
|
7262
7200
|
useIcons?: boolean;
|
|
7263
7201
|
}
|
|
7264
7202
|
|
|
7265
|
-
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) =>
|
|
7203
|
+
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) => JSX_2.Element;
|
|
7266
7204
|
|
|
7267
7205
|
export declare type HvVerticalNavigationSliderClasses = ExtractNames<typeof useClasses_125>;
|
|
7268
7206
|
|
|
@@ -7290,11 +7228,11 @@ export declare interface HvVerticalNavigationSliderProps extends Omit<HvListCont
|
|
|
7290
7228
|
forwardButtonAriaLabel?: string;
|
|
7291
7229
|
}
|
|
7292
7230
|
|
|
7293
|
-
export declare const HvVerticalNavigationTree: (props: HvVerticalNavigationTreeProps) =>
|
|
7231
|
+
export declare const HvVerticalNavigationTree: (props: HvVerticalNavigationTreeProps) => JSX_2.Element;
|
|
7294
7232
|
|
|
7295
7233
|
export declare type HvVerticalNavigationTreeClasses = ExtractNames<typeof useClasses_124>;
|
|
7296
7234
|
|
|
7297
|
-
export declare interface HvVerticalNavigationTreeProps extends HvBaseProps<HTMLDivElement, "onChange"> {
|
|
7235
|
+
export declare interface HvVerticalNavigationTreeProps extends HvBaseProps<HTMLDivElement, "onChange" | "onToggle"> {
|
|
7298
7236
|
/** A Jss Object used to override or extend the styles applied. */
|
|
7299
7237
|
classes?: HvVerticalNavigationTreeClasses;
|
|
7300
7238
|
/** Modus operandi (role) of the widget instance. */
|
|
@@ -7413,7 +7351,7 @@ export declare interface HvVerticalNavigationTreeViewItemProps {
|
|
|
7413
7351
|
disableTooltip?: boolean;
|
|
7414
7352
|
}
|
|
7415
7353
|
|
|
7416
|
-
export declare interface HvVerticalNavigationTreeViewProps extends HvBaseProps<HTMLUListElement, "onChange"> {
|
|
7354
|
+
export declare interface HvVerticalNavigationTreeViewProps extends HvBaseProps<HTMLUListElement, "onChange" | "onToggle"> {
|
|
7417
7355
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
7418
7356
|
classes?: HvVerticalNavigationTreeViewClasses;
|
|
7419
7357
|
/** Modus operandi (role) of the widget instance. */
|
|
@@ -7449,7 +7387,7 @@ export declare type HvVerticalScrollListItemClasses = ExtractNames<typeof useCla
|
|
|
7449
7387
|
/**
|
|
7450
7388
|
* Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.
|
|
7451
7389
|
*/
|
|
7452
|
-
export declare const HvWarningText: (props: HvWarningTextProps) =>
|
|
7390
|
+
export declare const HvWarningText: (props: HvWarningTextProps) => JSX_2.Element;
|
|
7453
7391
|
|
|
7454
7392
|
export declare type HvWarningTextClasses = ExtractNames<typeof useClasses_10>;
|
|
7455
7393
|
|
|
@@ -7472,7 +7410,7 @@ export declare interface HvWarningTextProps extends HvBaseProps {
|
|
|
7472
7410
|
classes?: HvWarningTextClasses;
|
|
7473
7411
|
}
|
|
7474
7412
|
|
|
7475
|
-
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) =>
|
|
7413
|
+
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) => JSX_2.Element | null;
|
|
7476
7414
|
|
|
7477
7415
|
declare type IdType<D> = StringKey<D> | string;
|
|
7478
7416
|
|
|
@@ -7498,7 +7436,6 @@ export declare const inlineEditorClasses: {
|
|
|
7498
7436
|
};
|
|
7499
7437
|
|
|
7500
7438
|
export declare const inputClasses: {
|
|
7501
|
-
description: "HvInput-description";
|
|
7502
7439
|
label: "HvInput-label";
|
|
7503
7440
|
root: "HvInput-root";
|
|
7504
7441
|
inputBorderContainer: "HvInput-inputBorderContainer";
|
|
@@ -7507,6 +7444,7 @@ export declare const inputClasses: {
|
|
|
7507
7444
|
inputRootMultiline: "HvInput-inputRootMultiline";
|
|
7508
7445
|
input: "HvInput-input";
|
|
7509
7446
|
icon: "HvInput-icon";
|
|
7447
|
+
description: "HvInput-description";
|
|
7510
7448
|
error: "HvInput-error";
|
|
7511
7449
|
adornmentButton: "HvInput-adornmentButton";
|
|
7512
7450
|
labelContainer: "HvInput-labelContainer";
|
|
@@ -7523,14 +7461,14 @@ declare type InputElement = HTMLInputElement | HTMLTextAreaElement;
|
|
|
7523
7461
|
|
|
7524
7462
|
export declare const isBrowser: (browsers: string | string[]) => boolean | null;
|
|
7525
7463
|
|
|
7526
|
-
export declare const isInvalid: (compareState: HvFormStatus) =>
|
|
7464
|
+
export declare const isInvalid: (compareState: HvFormStatus) => compareState is "invalid";
|
|
7527
7465
|
|
|
7528
7466
|
/** Check whether a keyboard `event` is pressing the `keyCode` key. */
|
|
7529
7467
|
export declare const isKey: (event: any, keyCode: Key) => boolean;
|
|
7530
7468
|
|
|
7531
7469
|
export declare const isOneOfKeys: (event: any, keys: Key[]) => boolean;
|
|
7532
7470
|
|
|
7533
|
-
export declare const isValid: (compareState: HvFormStatus) =>
|
|
7471
|
+
export declare const isValid: (compareState: HvFormStatus) => compareState is "valid";
|
|
7534
7472
|
|
|
7535
7473
|
declare type Key = keyof typeof keyboardCodes;
|
|
7536
7474
|
|
|
@@ -7641,7 +7579,6 @@ export declare const multiButtonClasses: {
|
|
|
7641
7579
|
secondary: "HvMultiButton-secondary";
|
|
7642
7580
|
primary: "HvMultiButton-primary";
|
|
7643
7581
|
vertical: "HvMultiButton-vertical";
|
|
7644
|
-
split: "HvMultiButton-split";
|
|
7645
7582
|
root: "HvMultiButton-root";
|
|
7646
7583
|
secondarySubtle: "HvMultiButton-secondarySubtle";
|
|
7647
7584
|
selected: "HvMultiButton-selected";
|
|
@@ -7653,6 +7590,7 @@ export declare const multiButtonClasses: {
|
|
|
7653
7590
|
splitGroup: "HvMultiButton-splitGroup";
|
|
7654
7591
|
splitGroupDisabled: "HvMultiButton-splitGroupDisabled";
|
|
7655
7592
|
splitContainer: "HvMultiButton-splitContainer";
|
|
7593
|
+
split: "HvMultiButton-split";
|
|
7656
7594
|
primarySubtle: "HvMultiButton-primarySubtle";
|
|
7657
7595
|
firstButton: "HvMultiButton-firstButton";
|
|
7658
7596
|
lastButton: "HvMultiButton-lastButton";
|
|
@@ -7734,9 +7672,7 @@ export declare type PolymorphicComponentRef<C extends React.ElementType, Props =
|
|
|
7734
7672
|
|
|
7735
7673
|
export declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
|
|
7736
7674
|
|
|
7737
|
-
export declare function prepareRow(row: any, { instance }:
|
|
7738
|
-
instance: any;
|
|
7739
|
-
}): void;
|
|
7675
|
+
export declare function prepareRow(row: any, { instance }: any): void;
|
|
7740
7676
|
|
|
7741
7677
|
/**
|
|
7742
7678
|
* Process the themes provided to the HvProvider:
|
|
@@ -7892,7 +7828,6 @@ export declare const sectionClasses: {
|
|
|
7892
7828
|
};
|
|
7893
7829
|
|
|
7894
7830
|
export declare const selectClasses: {
|
|
7895
|
-
description: "HvSelect-description";
|
|
7896
7831
|
label: "HvSelect-label";
|
|
7897
7832
|
root: "HvSelect-root";
|
|
7898
7833
|
panel: "HvSelect-panel";
|
|
@@ -7900,6 +7835,7 @@ export declare const selectClasses: {
|
|
|
7900
7835
|
readOnly: "HvSelect-readOnly";
|
|
7901
7836
|
select: "HvSelect-select";
|
|
7902
7837
|
popper: "HvSelect-popper";
|
|
7838
|
+
description: "HvSelect-description";
|
|
7903
7839
|
error: "HvSelect-error";
|
|
7904
7840
|
invalid: "HvSelect-invalid";
|
|
7905
7841
|
labelContainer: "HvSelect-labelContainer";
|
|
@@ -7910,10 +7846,10 @@ export declare const selectClasses: {
|
|
|
7910
7846
|
export declare const selectionListClasses: {
|
|
7911
7847
|
vertical: "HvSelectionList-vertical";
|
|
7912
7848
|
horizontal: "HvSelectionList-horizontal";
|
|
7913
|
-
description: "HvSelectionList-description";
|
|
7914
7849
|
label: "HvSelectionList-label";
|
|
7915
7850
|
root: "HvSelectionList-root";
|
|
7916
7851
|
listbox: "HvSelectionList-listbox";
|
|
7852
|
+
description: "HvSelectionList-description";
|
|
7917
7853
|
error: "HvSelectionList-error";
|
|
7918
7854
|
invalid: "HvSelectionList-invalid";
|
|
7919
7855
|
};
|
|
@@ -8020,8 +7956,6 @@ export declare const switchClasses: {
|
|
|
8020
7956
|
switchContainer: "HvSwitch-switchContainer";
|
|
8021
7957
|
};
|
|
8022
7958
|
|
|
8023
|
-
declare type SxProps = React.CSSProperties | ((theme: HvTheme_2) => React.CSSProperties);
|
|
8024
|
-
|
|
8025
7959
|
export declare const tabClasses: {
|
|
8026
7960
|
root: "HvTab-root";
|
|
8027
7961
|
disabled: "HvTab-disabled";
|
|
@@ -8042,11 +7976,11 @@ export declare const tableCellClasses: {
|
|
|
8042
7976
|
variantList: "HvTableCell-variantList";
|
|
8043
7977
|
footer: "HvTableCell-footer";
|
|
8044
7978
|
resizable: "HvTableCell-resizable";
|
|
7979
|
+
sorted: "HvTableCell-sorted";
|
|
8045
7980
|
alignLeft: "HvTableCell-alignLeft";
|
|
8046
7981
|
alignCenter: "HvTableCell-alignCenter";
|
|
8047
7982
|
alignRight: "HvTableCell-alignRight";
|
|
8048
7983
|
alignJustify: "HvTableCell-alignJustify";
|
|
8049
|
-
sorted: "HvTableCell-sorted";
|
|
8050
7984
|
variantNone: "HvTableCell-variantNone";
|
|
8051
7985
|
variantCheckbox: "HvTableCell-variantCheckbox";
|
|
8052
7986
|
variantActions: "HvTableCell-variantActions";
|
|
@@ -8085,11 +8019,11 @@ export declare const tableHeaderClasses: {
|
|
|
8085
8019
|
resizer: "HvTableHeader-resizer";
|
|
8086
8020
|
footer: "HvTableHeader-footer";
|
|
8087
8021
|
resizable: "HvTableHeader-resizable";
|
|
8022
|
+
sorted: "HvTableHeader-sorted";
|
|
8088
8023
|
alignLeft: "HvTableHeader-alignLeft";
|
|
8089
8024
|
alignCenter: "HvTableHeader-alignCenter";
|
|
8090
8025
|
alignRight: "HvTableHeader-alignRight";
|
|
8091
8026
|
alignJustify: "HvTableHeader-alignJustify";
|
|
8092
|
-
sorted: "HvTableHeader-sorted";
|
|
8093
8027
|
variantNone: "HvTableHeader-variantNone";
|
|
8094
8028
|
variantCheckbox: "HvTableHeader-variantCheckbox";
|
|
8095
8029
|
variantActions: "HvTableHeader-variantActions";
|
|
@@ -8159,13 +8093,13 @@ export declare const tagClasses: {
|
|
|
8159
8093
|
};
|
|
8160
8094
|
|
|
8161
8095
|
export declare const tagsInputClasses: {
|
|
8162
|
-
description: "HvTagsInput-description";
|
|
8163
8096
|
label: "HvTagsInput-label";
|
|
8164
8097
|
root: "HvTagsInput-root";
|
|
8165
8098
|
disabled: "HvTagsInput-disabled";
|
|
8166
8099
|
readOnly: "HvTagsInput-readOnly";
|
|
8167
8100
|
input: "HvTagsInput-input";
|
|
8168
8101
|
tagsList: "HvTagsInput-tagsList";
|
|
8102
|
+
description: "HvTagsInput-description";
|
|
8169
8103
|
error: "HvTagsInput-error";
|
|
8170
8104
|
invalid: "HvTagsInput-invalid";
|
|
8171
8105
|
labelContainer: "HvTagsInput-labelContainer";
|
|
@@ -8187,11 +8121,11 @@ export declare const tagsInputClasses: {
|
|
|
8187
8121
|
};
|
|
8188
8122
|
|
|
8189
8123
|
export declare const textAreaClasses: {
|
|
8190
|
-
description: "HvTextArea-description";
|
|
8191
8124
|
label: "HvTextArea-label";
|
|
8192
8125
|
root: "HvTextArea-root";
|
|
8193
8126
|
disabled: "HvTextArea-disabled";
|
|
8194
8127
|
input: "HvTextArea-input";
|
|
8128
|
+
description: "HvTextArea-description";
|
|
8195
8129
|
error: "HvTextArea-error";
|
|
8196
8130
|
invalid: "HvTextArea-invalid";
|
|
8197
8131
|
labelContainer: "HvTextArea-labelContainer";
|
|
@@ -8212,11 +8146,11 @@ export declare const timeAgoClasses: {
|
|
|
8212
8146
|
export declare type TimeFormat = "12" | "24";
|
|
8213
8147
|
|
|
8214
8148
|
export declare const timePickerClasses: {
|
|
8215
|
-
description: "HvTimePicker-description";
|
|
8216
8149
|
label: "HvTimePicker-label";
|
|
8217
8150
|
root: "HvTimePicker-root";
|
|
8218
8151
|
placeholder: "HvTimePicker-placeholder";
|
|
8219
8152
|
icon: "HvTimePicker-icon";
|
|
8153
|
+
description: "HvTimePicker-description";
|
|
8220
8154
|
error: "HvTimePicker-error";
|
|
8221
8155
|
labelContainer: "HvTimePicker-labelContainer";
|
|
8222
8156
|
dropdownHeader: "HvTimePicker-dropdownHeader";
|
|
@@ -8229,12 +8163,12 @@ export declare const timePickerClasses: {
|
|
|
8229
8163
|
|
|
8230
8164
|
export declare const tooltipClasses: {
|
|
8231
8165
|
color: "HvTooltip-color";
|
|
8166
|
+
values: "HvTooltip-values";
|
|
8232
8167
|
root: "HvTooltip-root";
|
|
8233
8168
|
title: "HvTooltip-title";
|
|
8234
8169
|
popper: "HvTooltip-popper";
|
|
8235
8170
|
separator: "HvTooltip-separator";
|
|
8236
8171
|
tooltip: "HvTooltip-tooltip";
|
|
8237
|
-
values: "HvTooltip-values";
|
|
8238
8172
|
tooltipMulti: "HvTooltip-tooltipMulti";
|
|
8239
8173
|
valuesContainer: "HvTooltip-valuesContainer";
|
|
8240
8174
|
separatorColor: "HvTooltip-separatorColor";
|
|
@@ -8263,8 +8197,8 @@ export declare const treeViewClasses: {
|
|
|
8263
8197
|
|
|
8264
8198
|
export declare const treeViewItemClasses: {
|
|
8265
8199
|
content: "HvVerticalNavigationTreeViewItem-content";
|
|
8266
|
-
link: "HvVerticalNavigationTreeViewItem-link";
|
|
8267
8200
|
label: "HvVerticalNavigationTreeViewItem-label";
|
|
8201
|
+
link: "HvVerticalNavigationTreeViewItem-link";
|
|
8268
8202
|
disabled: "HvVerticalNavigationTreeViewItem-disabled";
|
|
8269
8203
|
selectable: "HvVerticalNavigationTreeViewItem-selectable";
|
|
8270
8204
|
icon: "HvVerticalNavigationTreeViewItem-icon";
|
|
@@ -8305,7 +8239,6 @@ export declare const typographyClasses: {
|
|
|
8305
8239
|
display: "HvTypography-display";
|
|
8306
8240
|
"5xlTitle": "HvTypography-5xlTitle";
|
|
8307
8241
|
"4xlTitle": "HvTypography-4xlTitle";
|
|
8308
|
-
link: "HvTypography-link";
|
|
8309
8242
|
title1: "HvTypography-title1";
|
|
8310
8243
|
title2: "HvTypography-title2";
|
|
8311
8244
|
title3: "HvTypography-title3";
|
|
@@ -8321,6 +8254,7 @@ export declare const typographyClasses: {
|
|
|
8321
8254
|
xxsTitle: "HvTypography-xxsTitle";
|
|
8322
8255
|
sectionTitle: "HvTypography-sectionTitle";
|
|
8323
8256
|
placeholderText: "HvTypography-placeholderText";
|
|
8257
|
+
link: "HvTypography-link";
|
|
8324
8258
|
disabledText: "HvTypography-disabledText";
|
|
8325
8259
|
selectedNavText: "HvTypography-selectedNavText";
|
|
8326
8260
|
vizTextDisabled: "HvTypography-vizTextDisabled";
|
|
@@ -8344,12 +8278,11 @@ export declare type UseBulkActionsProps = (<D extends object = Record<string, un
|
|
|
8344
8278
|
pluginName: string;
|
|
8345
8279
|
};
|
|
8346
8280
|
|
|
8347
|
-
declare const useClasses: (classesProp?: Partial<Record<"display" | "5xlTitle" | "4xlTitle" | "
|
|
8281
|
+
declare const useClasses: (classesProp?: Partial<Record<"display" | "5xlTitle" | "4xlTitle" | "title1" | "title2" | "title3" | "title4" | "label" | "body" | "captionLabel" | "caption1" | "caption2" | "xxlTitle" | "lTitle" | "sTitle" | "xxsTitle" | "sectionTitle" | "placeholderText" | "link" | "disabledText" | "selectedNavText" | "vizTextDisabled" | "xsInlineLink" | "root" | "disabled" | "isLink" | "noWrap" | "3xlTitle" | "xlTitle" | "mTitle" | "xsTitle" | "highlightText" | "normalText" | "vizText", string>>, addStatic?: boolean) => {
|
|
8348
8282
|
classes: {
|
|
8349
8283
|
display: string;
|
|
8350
8284
|
"5xlTitle": string;
|
|
8351
8285
|
"4xlTitle": string;
|
|
8352
|
-
link: string;
|
|
8353
8286
|
title1: string;
|
|
8354
8287
|
title2: string;
|
|
8355
8288
|
title3: string;
|
|
@@ -8365,6 +8298,7 @@ declare const useClasses: (classesProp?: Partial<Record<"display" | "5xlTitle" |
|
|
|
8365
8298
|
xxsTitle: string;
|
|
8366
8299
|
sectionTitle: string;
|
|
8367
8300
|
placeholderText: string;
|
|
8301
|
+
link: string;
|
|
8368
8302
|
disabledText: string;
|
|
8369
8303
|
selectedNavText: string;
|
|
8370
8304
|
vizTextDisabled: string;
|
|
@@ -8562,9 +8496,8 @@ declare const useClasses_109: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8562
8496
|
cx: (...args: any) => string;
|
|
8563
8497
|
};
|
|
8564
8498
|
|
|
8565
|
-
declare const useClasses_11: (classesProp?: Partial<Record<"
|
|
8499
|
+
declare const useClasses_11: (classesProp?: Partial<Record<"label" | "root" | "panel" | "disabled" | "readOnly" | "select" | "popper" | "description" | "error" | "invalid" | "labelContainer" | "panelOpenedUp" | "panelOpenedDown", string>>, addStatic?: boolean) => {
|
|
8566
8500
|
classes: {
|
|
8567
|
-
description: string;
|
|
8568
8501
|
label: string;
|
|
8569
8502
|
root: string;
|
|
8570
8503
|
panel: string;
|
|
@@ -8572,6 +8505,7 @@ declare const useClasses_11: (classesProp?: Partial<Record<"description" | "labe
|
|
|
8572
8505
|
readOnly: string;
|
|
8573
8506
|
select: string;
|
|
8574
8507
|
popper: string;
|
|
8508
|
+
description: string;
|
|
8575
8509
|
error: string;
|
|
8576
8510
|
invalid: string;
|
|
8577
8511
|
labelContainer: string;
|
|
@@ -8634,15 +8568,15 @@ declare const useClasses_112: (classesProp?: Partial<Record<"root" | "indicator"
|
|
|
8634
8568
|
cx: (...args: any) => string;
|
|
8635
8569
|
};
|
|
8636
8570
|
|
|
8637
|
-
declare const useClasses_113: (classesProp?: Partial<Record<"
|
|
8571
|
+
declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "readOnly" | "input" | "tagsList" | "description" | "error" | "invalid" | "labelContainer" | "resizable" | "suggestionsContainer" | "suggestionList" | "inputExtension" | "chipRoot" | "listItemGutters" | "listItemRoot" | "characterCounter" | "tagInputContainerRoot" | "tagInputRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty" | "singleLine", string>>, addStatic?: boolean) => {
|
|
8638
8572
|
classes: {
|
|
8639
|
-
description: string;
|
|
8640
8573
|
label: string;
|
|
8641
8574
|
root: string;
|
|
8642
8575
|
disabled: string;
|
|
8643
8576
|
readOnly: string;
|
|
8644
8577
|
input: string;
|
|
8645
8578
|
tagsList: string;
|
|
8579
|
+
description: string;
|
|
8646
8580
|
error: string;
|
|
8647
8581
|
invalid: string;
|
|
8648
8582
|
labelContainer: string;
|
|
@@ -8669,13 +8603,13 @@ declare const useClasses_113: (classesProp?: Partial<Record<"description" | "lab
|
|
|
8669
8603
|
cx: (...args: any) => string;
|
|
8670
8604
|
};
|
|
8671
8605
|
|
|
8672
|
-
declare const useClasses_114: (classesProp?: Partial<Record<"
|
|
8606
|
+
declare const useClasses_114: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "input" | "description" | "error" | "invalid" | "labelContainer" | "resizable" | "inputResizable" | "characterCounter" | "baseInput", string>>, addStatic?: boolean) => {
|
|
8673
8607
|
classes: {
|
|
8674
|
-
description: string;
|
|
8675
8608
|
label: string;
|
|
8676
8609
|
root: string;
|
|
8677
8610
|
disabled: string;
|
|
8678
8611
|
input: string;
|
|
8612
|
+
description: string;
|
|
8679
8613
|
error: string;
|
|
8680
8614
|
invalid: string;
|
|
8681
8615
|
labelContainer: string;
|
|
@@ -8702,13 +8636,13 @@ declare const useClasses_115: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8702
8636
|
cx: (...args: any) => string;
|
|
8703
8637
|
};
|
|
8704
8638
|
|
|
8705
|
-
declare const useClasses_116: (classesProp?: Partial<Record<"
|
|
8639
|
+
declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "icon" | "description" | "error" | "labelContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "placeholderDisabled" | "dropdownPanel" | "timePopperContainer", string>>, addStatic?: boolean) => {
|
|
8706
8640
|
classes: {
|
|
8707
|
-
description: string;
|
|
8708
8641
|
label: string;
|
|
8709
8642
|
root: string;
|
|
8710
8643
|
placeholder: string;
|
|
8711
8644
|
icon: string;
|
|
8645
|
+
description: string;
|
|
8712
8646
|
error: string;
|
|
8713
8647
|
labelContainer: string;
|
|
8714
8648
|
dropdownHeader: string;
|
|
@@ -8894,11 +8828,11 @@ declare const useClasses_126: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8894
8828
|
cx: (...args: any) => string;
|
|
8895
8829
|
};
|
|
8896
8830
|
|
|
8897
|
-
declare const useClasses_127: (classesProp?: Partial<Record<"content" | "
|
|
8831
|
+
declare const useClasses_127: (classesProp?: Partial<Record<"content" | "label" | "link" | "disabled" | "selectable" | "icon" | "selected" | "hide" | "expanded" | "unselectable" | "group" | "node" | "focused" | "expandable" | "labelIcon" | "collapsed" | "minimized" | "unselected" | "labelExpandable", string>>, addStatic?: boolean) => {
|
|
8898
8832
|
classes: {
|
|
8899
8833
|
content: string;
|
|
8900
|
-
link: string;
|
|
8901
8834
|
label: string;
|
|
8835
|
+
link: string;
|
|
8902
8836
|
disabled: string;
|
|
8903
8837
|
selectable: string;
|
|
8904
8838
|
icon: string;
|
|
@@ -8980,14 +8914,14 @@ declare const useClasses_14: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
8980
8914
|
cx: (...args: any) => string;
|
|
8981
8915
|
};
|
|
8982
8916
|
|
|
8983
|
-
declare const useClasses_15: (classesProp?: Partial<Record<"vertical" | "horizontal" | "
|
|
8917
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "listbox" | "description" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
8984
8918
|
classes: {
|
|
8985
8919
|
vertical: string;
|
|
8986
8920
|
horizontal: string;
|
|
8987
|
-
description: string;
|
|
8988
8921
|
label: string;
|
|
8989
8922
|
root: string;
|
|
8990
8923
|
listbox: string;
|
|
8924
|
+
description: string;
|
|
8991
8925
|
error: string;
|
|
8992
8926
|
invalid: string;
|
|
8993
8927
|
};
|
|
@@ -9037,11 +8971,10 @@ declare const useClasses_17: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9037
8971
|
cx: (...args: any) => string;
|
|
9038
8972
|
};
|
|
9039
8973
|
|
|
9040
|
-
declare const useClasses_18: (classesProp?: Partial<Record<"container" | "header" | "
|
|
8974
|
+
declare const useClasses_18: (classesProp?: Partial<Record<"container" | "header" | "root" | "headerOpen" | "headerDisabled" | "headerReadOnly" | "placeholder" | "panel" | "inputExtensionOpen" | "anchor" | "selection" | "arrowContainer" | "arrow" | "panelOpenedUp" | "panelOpenedDown" | "rootDisabled" | "headerOpenUp" | "headerOpenDown" | "selectionDisabled" | "inputExtensionLeftPosition" | "inputExtensionOpenShadow" | "inputExtensionFloatRight" | "inputExtensionFloatLeft", string>>, addStatic?: boolean) => {
|
|
9041
8975
|
classes: {
|
|
9042
8976
|
container: string;
|
|
9043
8977
|
header: string;
|
|
9044
|
-
anchor: string;
|
|
9045
8978
|
root: string;
|
|
9046
8979
|
headerOpen: string;
|
|
9047
8980
|
headerDisabled: string;
|
|
@@ -9049,6 +8982,7 @@ declare const useClasses_18: (classesProp?: Partial<Record<"container" | "header
|
|
|
9049
8982
|
placeholder: string;
|
|
9050
8983
|
panel: string;
|
|
9051
8984
|
inputExtensionOpen: string;
|
|
8985
|
+
anchor: string;
|
|
9052
8986
|
selection: string;
|
|
9053
8987
|
arrowContainer: string;
|
|
9054
8988
|
arrow: string;
|
|
@@ -9570,9 +9504,8 @@ declare const useClasses_44: (classesProp?: Partial<Record<"image" | "slide", st
|
|
|
9570
9504
|
cx: (...args: any) => string;
|
|
9571
9505
|
};
|
|
9572
9506
|
|
|
9573
|
-
declare const useClasses_45: (classesProp?: Partial<Record<"
|
|
9507
|
+
declare const useClasses_45: (classesProp?: Partial<Record<"label" | "root" | "inputBorderContainer" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "icon" | "description" | "error" | "adornmentButton" | "labelContainer" | "inputRootDisabled" | "adornmentsBox" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputExtension", string>>, addStatic?: boolean) => {
|
|
9574
9508
|
classes: {
|
|
9575
|
-
description: string;
|
|
9576
9509
|
label: string;
|
|
9577
9510
|
root: string;
|
|
9578
9511
|
inputBorderContainer: string;
|
|
@@ -9581,6 +9514,7 @@ declare const useClasses_45: (classesProp?: Partial<Record<"description" | "labe
|
|
|
9581
9514
|
inputRootMultiline: string;
|
|
9582
9515
|
input: string;
|
|
9583
9516
|
icon: string;
|
|
9517
|
+
description: string;
|
|
9584
9518
|
error: string;
|
|
9585
9519
|
adornmentButton: string;
|
|
9586
9520
|
labelContainer: string;
|
|
@@ -9642,15 +9576,15 @@ declare const useClasses_47: (classesProp?: Partial<Record<"vertical" | "horizon
|
|
|
9642
9576
|
cx: (...args: any) => string;
|
|
9643
9577
|
};
|
|
9644
9578
|
|
|
9645
|
-
declare const useClasses_48: (classesProp?: Partial<Record<"colorPicker" | "
|
|
9579
|
+
declare const useClasses_48: (classesProp?: Partial<Record<"colorPicker" | "label" | "root" | "panel" | "headerColorValue" | "recommendedColorsRoot" | "description" | "labelContainer" | "headerColorIcon" | "colorPickerIcon" | "dropdownRootIconOnly" | "headerColorIconOnly" | "pickerFields", string>>, addStatic?: boolean) => {
|
|
9646
9580
|
classes: {
|
|
9647
9581
|
colorPicker: string;
|
|
9648
|
-
description: string;
|
|
9649
9582
|
label: string;
|
|
9650
9583
|
root: string;
|
|
9651
9584
|
panel: string;
|
|
9652
9585
|
headerColorValue: string;
|
|
9653
9586
|
recommendedColorsRoot: string;
|
|
9587
|
+
description: string;
|
|
9654
9588
|
labelContainer: string;
|
|
9655
9589
|
headerColorIcon: string;
|
|
9656
9590
|
colorPickerIcon: string;
|
|
@@ -9665,10 +9599,10 @@ declare const useClasses_48: (classesProp?: Partial<Record<"colorPicker" | "desc
|
|
|
9665
9599
|
cx: (...args: any) => string;
|
|
9666
9600
|
};
|
|
9667
9601
|
|
|
9668
|
-
declare const useClasses_49: (classesProp?: Partial<Record<"
|
|
9602
|
+
declare const useClasses_49: (classesProp?: Partial<Record<"root" | "fixed" | "disableGutters" | "maxWidthXs" | "maxWidthSm" | "maxWidthMd" | "maxWidthLg" | "maxWidthXl", string>>, addStatic?: boolean) => {
|
|
9669
9603
|
classes: {
|
|
9670
|
-
fixed: string;
|
|
9671
9604
|
root: string;
|
|
9605
|
+
fixed: string;
|
|
9672
9606
|
disableGutters: string;
|
|
9673
9607
|
maxWidthXs: string;
|
|
9674
9608
|
maxWidthSm: string;
|
|
@@ -9711,7 +9645,7 @@ declare const useClasses_50: (classesProp?: Partial<Record<"root" | "section" |
|
|
|
9711
9645
|
cx: (...args: any) => string;
|
|
9712
9646
|
};
|
|
9713
9647
|
|
|
9714
|
-
declare const useClasses_51: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "variantList" | "footer" | "resizable" | "
|
|
9648
|
+
declare const useClasses_51: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "variantList" | "footer" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "variantListHead" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing", string>>, addStatic?: boolean) => {
|
|
9715
9649
|
classes: {
|
|
9716
9650
|
body: string;
|
|
9717
9651
|
root: string;
|
|
@@ -9721,11 +9655,11 @@ declare const useClasses_51: (classesProp?: Partial<Record<"body" | "root" | "he
|
|
|
9721
9655
|
variantList: string;
|
|
9722
9656
|
footer: string;
|
|
9723
9657
|
resizable: string;
|
|
9658
|
+
sorted: string;
|
|
9724
9659
|
alignLeft: string;
|
|
9725
9660
|
alignCenter: string;
|
|
9726
9661
|
alignRight: string;
|
|
9727
9662
|
alignJustify: string;
|
|
9728
|
-
sorted: string;
|
|
9729
9663
|
variantNone: string;
|
|
9730
9664
|
variantCheckbox: string;
|
|
9731
9665
|
variantActions: string;
|
|
@@ -9765,7 +9699,7 @@ declare const useClasses_52: (classesProp?: Partial<Record<"body" | "root" | "se
|
|
|
9765
9699
|
cx: (...args: any) => string;
|
|
9766
9700
|
};
|
|
9767
9701
|
|
|
9768
|
-
declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "head" | "sortButton" | "variantList" | "resizer" | "footer" | "resizable" | "
|
|
9702
|
+
declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "head" | "sortButton" | "variantList" | "resizer" | "footer" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing" | "headerContent" | "headerText" | "headerParagraph" | "sortableHeaderText" | "sortable" | "sortIcon" | "alignFlexLeft" | "alignFlexRight" | "alignFlexCenter" | "alignFlexJustify", string>>, addStatic?: boolean) => {
|
|
9769
9703
|
classes: {
|
|
9770
9704
|
body: string;
|
|
9771
9705
|
root: string;
|
|
@@ -9775,11 +9709,11 @@ declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "he
|
|
|
9775
9709
|
resizer: string;
|
|
9776
9710
|
footer: string;
|
|
9777
9711
|
resizable: string;
|
|
9712
|
+
sorted: string;
|
|
9778
9713
|
alignLeft: string;
|
|
9779
9714
|
alignCenter: string;
|
|
9780
9715
|
alignRight: string;
|
|
9781
9716
|
alignJustify: string;
|
|
9782
|
-
sorted: string;
|
|
9783
9717
|
variantNone: string;
|
|
9784
9718
|
variantCheckbox: string;
|
|
9785
9719
|
variantActions: string;
|
|
@@ -9845,9 +9779,8 @@ declare const useClasses_56: (classesProp?: Partial<Record<"root" | "sortDropdow
|
|
|
9845
9779
|
cx: (...args: any) => string;
|
|
9846
9780
|
};
|
|
9847
9781
|
|
|
9848
|
-
declare const useClasses_57: (classesProp?: Partial<Record<"
|
|
9782
|
+
declare const useClasses_57: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "dropdown" | "description" | "error" | "arrow" | "labelContainer" | "selectionDisabled" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "dropdownListContainer" | "rootList", string>>, addStatic?: boolean) => {
|
|
9849
9783
|
classes: {
|
|
9850
|
-
description: string;
|
|
9851
9784
|
label: string;
|
|
9852
9785
|
root: string;
|
|
9853
9786
|
placeholder: string;
|
|
@@ -9855,6 +9788,7 @@ declare const useClasses_57: (classesProp?: Partial<Record<"description" | "labe
|
|
|
9855
9788
|
readOnly: string;
|
|
9856
9789
|
placeholderClosed: string;
|
|
9857
9790
|
dropdown: string;
|
|
9791
|
+
description: string;
|
|
9858
9792
|
error: string;
|
|
9859
9793
|
arrow: string;
|
|
9860
9794
|
labelContainer: string;
|
|
@@ -9890,9 +9824,8 @@ declare const useClasses_58: (classesProp?: Partial<Record<"listContainer" | "se
|
|
|
9890
9824
|
cx: (...args: any) => string;
|
|
9891
9825
|
};
|
|
9892
9826
|
|
|
9893
|
-
declare const useClasses_59: (classesProp?: Partial<Record<"
|
|
9827
|
+
declare const useClasses_59: (classesProp?: Partial<Record<"label" | "root" | "panel" | "icon" | "inputText" | "action" | "dropdown" | "description" | "error" | "labelContainer" | "actionContainer" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "leftContainer" | "rightContainer" | "dateText", string>>, addStatic?: boolean) => {
|
|
9894
9828
|
classes: {
|
|
9895
|
-
description: string;
|
|
9896
9829
|
label: string;
|
|
9897
9830
|
root: string;
|
|
9898
9831
|
panel: string;
|
|
@@ -9900,6 +9833,7 @@ declare const useClasses_59: (classesProp?: Partial<Record<"description" | "labe
|
|
|
9900
9833
|
inputText: string;
|
|
9901
9834
|
action: string;
|
|
9902
9835
|
dropdown: string;
|
|
9836
|
+
description: string;
|
|
9903
9837
|
error: string;
|
|
9904
9838
|
labelContainer: string;
|
|
9905
9839
|
actionContainer: string;
|
|
@@ -10098,11 +10032,11 @@ declare const useClasses_7: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
10098
10032
|
cx: (...args: any) => string;
|
|
10099
10033
|
};
|
|
10100
10034
|
|
|
10101
|
-
declare const useClasses_70: (classesProp?: Partial<Record<"
|
|
10035
|
+
declare const useClasses_70: (classesProp?: Partial<Record<"label" | "root" | "description" | "error" | "labelContainer", string>>, addStatic?: boolean) => {
|
|
10102
10036
|
classes: {
|
|
10103
|
-
description: string;
|
|
10104
10037
|
label: string;
|
|
10105
10038
|
root: string;
|
|
10039
|
+
description: string;
|
|
10106
10040
|
error: string;
|
|
10107
10041
|
labelContainer: string;
|
|
10108
10042
|
};
|
|
@@ -10165,8 +10099,8 @@ declare const useClasses_73: (classesProp?: Partial<Record<"name" | "root" | "se
|
|
|
10165
10099
|
globalWrapperComplement: string;
|
|
10166
10100
|
};
|
|
10167
10101
|
css: {
|
|
10168
|
-
(template: TemplateStringsArray, ...args:
|
|
10169
|
-
(...args:
|
|
10102
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation_2[]): string;
|
|
10103
|
+
(...args: CSSInterpolation_2[]): string;
|
|
10170
10104
|
};
|
|
10171
10105
|
cx: (...args: any) => string;
|
|
10172
10106
|
};
|
|
@@ -10277,8 +10211,8 @@ declare const useClasses_79: (classesProp?: Partial<Record<"link" | "root" | "me
|
|
|
10277
10211
|
button: string;
|
|
10278
10212
|
};
|
|
10279
10213
|
css: {
|
|
10280
|
-
(template: TemplateStringsArray, ...args:
|
|
10281
|
-
(...args:
|
|
10214
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation_2[]): string;
|
|
10215
|
+
(...args: CSSInterpolation_2[]): string;
|
|
10282
10216
|
};
|
|
10283
10217
|
cx: (...args: any) => string;
|
|
10284
10218
|
};
|
|
@@ -10423,12 +10357,11 @@ declare const useClasses_87: (classesProp?: Partial<Record<"root" | "formContain
|
|
|
10423
10357
|
cx: (...args: any) => string;
|
|
10424
10358
|
};
|
|
10425
10359
|
|
|
10426
|
-
declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "
|
|
10360
|
+
declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "splitDisabled" | "multiple" | "primaryGhost" | "splitGroup" | "splitGroupDisabled" | "splitContainer" | "split" | "primarySubtle" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
|
|
10427
10361
|
classes: {
|
|
10428
10362
|
secondary: string;
|
|
10429
10363
|
primary: string;
|
|
10430
10364
|
vertical: string;
|
|
10431
|
-
split: string;
|
|
10432
10365
|
root: string;
|
|
10433
10366
|
secondarySubtle: string;
|
|
10434
10367
|
selected: string;
|
|
@@ -10440,6 +10373,7 @@ declare const useClasses_88: (classesProp?: Partial<Record<"secondary" | "primar
|
|
|
10440
10373
|
splitGroup: string;
|
|
10441
10374
|
splitGroupDisabled: string;
|
|
10442
10375
|
splitContainer: string;
|
|
10376
|
+
split: string;
|
|
10443
10377
|
primarySubtle: string;
|
|
10444
10378
|
firstButton: string;
|
|
10445
10379
|
lastButton: string;
|
|
@@ -10477,15 +10411,15 @@ declare const useClasses_9: (classesProp?: Partial<Record<"root" | "gutter" | "i
|
|
|
10477
10411
|
cx: (...args: any) => string;
|
|
10478
10412
|
};
|
|
10479
10413
|
|
|
10480
|
-
declare const useClasses_90: (classesProp?: Partial<Record<"color" | "root" | "title" | "popper" | "separator" | "tooltip" | "
|
|
10414
|
+
declare const useClasses_90: (classesProp?: Partial<Record<"color" | "values" | "root" | "title" | "popper" | "separator" | "tooltip" | "tooltipMulti" | "valuesContainer" | "separatorColor" | "valueWrapper", string>>, addStatic?: boolean) => {
|
|
10481
10415
|
classes: {
|
|
10482
10416
|
color: string;
|
|
10417
|
+
values: string;
|
|
10483
10418
|
root: string;
|
|
10484
10419
|
title: string;
|
|
10485
10420
|
popper: string;
|
|
10486
10421
|
separator: string;
|
|
10487
10422
|
tooltip: string;
|
|
10488
|
-
values: string;
|
|
10489
10423
|
tooltipMulti: string;
|
|
10490
10424
|
valuesContainer: string;
|
|
10491
10425
|
separatorColor: string;
|
|
@@ -10651,11 +10585,11 @@ declare const useClasses_99: (classesProp?: Partial<Record<"content" | "header"
|
|
|
10651
10585
|
cx: (...args: any) => string;
|
|
10652
10586
|
};
|
|
10653
10587
|
|
|
10654
|
-
export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: HvClickOutsideEvent) => void) => void;
|
|
10588
|
+
export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(ref: React.RefObject<T>, handler: (event: HvClickOutsideEvent) => void) => void;
|
|
10655
10589
|
|
|
10656
|
-
export declare const useComputation: (valueFn:
|
|
10590
|
+
export declare const useComputation: (valueFn: Function, valueFallback?: Function) => (Function | undefined)[];
|
|
10657
10591
|
|
|
10658
|
-
export declare const useControlled: <T>(controlledProp: T | undefined, initialState: T | (() => T)) => readonly [T, (newValue: SetStateAction<T>) => void];
|
|
10592
|
+
export declare const useControlled: <T>(controlledProp: T | undefined, initialState: T | (() => T)) => readonly [T, (newValue: React.SetStateAction<T>) => void];
|
|
10659
10593
|
|
|
10660
10594
|
export declare function useCss(): {
|
|
10661
10595
|
css: {
|
|
@@ -10844,7 +10778,7 @@ export declare const useHvRowState: typeof useRowState;
|
|
|
10844
10778
|
|
|
10845
10779
|
export declare const useHvSnackbar: () => {
|
|
10846
10780
|
enqueueSnackbar: (message: React.ReactNode, options?: HvNotistackSnackMessageProps) => SnackbarKey;
|
|
10847
|
-
closeSnackbar: (key?: SnackbarKey
|
|
10781
|
+
closeSnackbar: (key?: SnackbarKey) => void;
|
|
10848
10782
|
};
|
|
10849
10783
|
|
|
10850
10784
|
export declare const useHvSortBy: UseHvSortByProps;
|
|
@@ -11207,9 +11141,9 @@ export declare const warningTextClasses: {
|
|
|
11207
11141
|
topBorder: "HvWarningText-topBorder";
|
|
11208
11142
|
};
|
|
11209
11143
|
|
|
11210
|
-
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: (
|
|
11144
|
+
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: (event: React.MouseEvent<HTMLDivElement>) => boolean, tooltipProps?: Partial<HvTooltipProps>, tooltipContainerProps?: HvBaseProps) => (props: any) => JSX_2.Element;
|
|
11211
11145
|
|
|
11212
11146
|
/** @deprecated */
|
|
11213
|
-
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) =>
|
|
11147
|
+
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) => JSX_2.Element) | (() => any);
|
|
11214
11148
|
|
|
11215
11149
|
export { }
|