@hitachivantara/uikit-react-core 5.58.2 → 5.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Accordion/Accordion.cjs.map +1 -1
- package/dist/cjs/Avatar/Avatar.cjs.map +1 -1
- package/dist/cjs/Badge/Badge.styles.cjs.map +1 -1
- package/dist/cjs/BaseCheckBox/BaseCheckBox.cjs.map +1 -1
- package/dist/cjs/BaseDropdown/BaseDropdown.cjs +1 -2
- package/dist/cjs/BaseDropdown/BaseDropdown.cjs.map +1 -1
- package/dist/cjs/BaseInput/BaseInput.styles.cjs.map +1 -1
- package/dist/cjs/BaseInput/validations.cjs.map +1 -1
- package/dist/cjs/BaseRadio/BaseRadio.cjs.map +1 -1
- package/dist/cjs/BaseSwitch/BaseSwitch.cjs.map +1 -1
- package/dist/cjs/BreadCrumb/BreadCrumb.cjs.map +1 -1
- package/dist/cjs/BreadCrumb/Page/Page.cjs.map +1 -1
- package/dist/cjs/BreadCrumb/utils.cjs.map +1 -1
- package/dist/cjs/BulkActions/BulkActions.styles.cjs +13 -1
- package/dist/cjs/BulkActions/BulkActions.styles.cjs.map +1 -1
- package/dist/cjs/Button/Button.styles.cjs.map +1 -1
- package/dist/cjs/Calendar/Calendar.cjs.map +1 -1
- package/dist/cjs/Calendar/SingleCalendar/CalendarCell.cjs.map +1 -1
- package/dist/cjs/Card/Media/Media.cjs.map +1 -1
- package/dist/cjs/Carousel/Carousel.cjs.map +1 -1
- package/dist/cjs/Carousel/CarouselControls.cjs.map +1 -1
- package/dist/cjs/Carousel/CarouselSlide/CarouselSlide.cjs.map +1 -1
- package/dist/cjs/Carousel/CarouselThumbnails.cjs.map +1 -1
- package/dist/cjs/Controls/Controls.cjs.map +1 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs +12 -20
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs.map +1 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.styles.cjs +4 -34
- package/dist/cjs/DropDownMenu/DropDownMenu.styles.cjs.map +1 -1
- package/dist/cjs/Dropdown/List/List.cjs.map +1 -1
- package/dist/cjs/DropdownButton/DropdownButton.cjs +57 -0
- package/dist/cjs/DropdownButton/DropdownButton.cjs.map +1 -0
- package/dist/cjs/DropdownButton/DropdownButton.styles.cjs +65 -0
- package/dist/cjs/DropdownButton/DropdownButton.styles.cjs.map +1 -0
- package/dist/cjs/FileUploader/DropZone/DropZone.cjs.map +1 -1
- package/dist/cjs/FileUploader/DropZone/DropZone.styles.cjs.map +1 -1
- package/dist/cjs/Focus/Focus.cjs +1 -3
- package/dist/cjs/Focus/Focus.cjs.map +1 -1
- package/dist/cjs/Forms/Adornment/Adornment.cjs.map +1 -1
- package/dist/cjs/Forms/Suggestions/Suggestions.cjs.map +1 -1
- package/dist/cjs/Header/Navigation/MenuBar/MenuBar.cjs.map +1 -1
- package/dist/cjs/Header/Navigation/MenuItem/MenuItem.cjs.map +1 -1
- package/dist/cjs/Header/Navigation/Navigation.cjs.map +1 -1
- package/dist/cjs/Header/Navigation/utils/FocusContext.cjs.map +1 -1
- package/dist/cjs/IconButton/IconButton.cjs +2 -1
- package/dist/cjs/IconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/InlineEditor/InlineEditor.cjs.map +1 -1
- package/dist/cjs/Input/Input.cjs +1 -3
- package/dist/cjs/Input/Input.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListContainer.cjs +3 -5
- package/dist/cjs/ListContainer/ListContainer.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs +4 -6
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/MultiButton/MultiButton.cjs +24 -11
- package/dist/cjs/MultiButton/MultiButton.cjs.map +1 -1
- package/dist/cjs/MultiButton/MultiButton.styles.cjs +56 -326
- package/dist/cjs/MultiButton/MultiButton.styles.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.styles.cjs.map +1 -1
- package/dist/cjs/Pagination/Select.cjs.map +1 -1
- package/dist/cjs/Radio/Radio.cjs.map +1 -1
- package/dist/cjs/Select/Select.cjs +6 -2
- package/dist/cjs/Select/Select.cjs.map +1 -1
- package/dist/cjs/SelectionList/SelectionList.cjs +4 -6
- package/dist/cjs/SelectionList/SelectionList.cjs.map +1 -1
- package/dist/cjs/Slider/Slider.cjs.map +1 -1
- package/dist/cjs/Slider/Slider.styles.cjs.map +1 -1
- package/dist/cjs/Slider/utils.cjs.map +1 -1
- package/dist/cjs/Snackbar/Snackbar.cjs.map +1 -1
- package/dist/cjs/Snackbar/SnackbarContent/SnackbarContent.styles.cjs +0 -3
- package/dist/cjs/Snackbar/SnackbarContent/SnackbarContent.styles.cjs.map +1 -1
- package/dist/cjs/SnackbarProvider/SnackbarProvider.cjs.map +1 -1
- package/dist/cjs/Stack/Stack.cjs +2 -3
- package/dist/cjs/Stack/Stack.cjs.map +1 -1
- package/dist/cjs/Switch/Switch.cjs.map +1 -1
- package/dist/cjs/Tab/Tab.styles.cjs.map +1 -1
- package/dist/cjs/Table/Table.cjs.map +1 -1
- package/dist/cjs/Table/TableBody/TableBody.cjs.map +1 -1
- package/dist/cjs/Table/TableCell/TableCell.cjs.map +1 -1
- package/dist/cjs/Table/TableCell/TableCell.styles.cjs.map +1 -1
- package/dist/cjs/Table/TableHeader/TableHeader.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useHeaderGroups.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useResizeColumns.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useRowExpand.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useRowSelection.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useSticky.cjs.map +1 -1
- package/dist/cjs/Table/hooks/useTableStyles.cjs.map +1 -1
- package/dist/cjs/Tag/Tag.cjs.map +1 -1
- package/dist/cjs/Tag/Tag.styles.cjs.map +1 -1
- package/dist/cjs/TagsInput/TagsInput.cjs.map +1 -1
- package/dist/cjs/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/cjs/TreeView/TreeItem/DefaultContent.cjs.map +1 -1
- package/dist/cjs/TreeView/TreeItem/TreeItem.cjs.map +1 -1
- package/dist/cjs/VerticalNavigation/Actions/Action.cjs.map +1 -1
- package/dist/cjs/VerticalNavigation/Header/Header.cjs.map +1 -1
- package/dist/cjs/VerticalNavigation/VerticalNavigationContext.cjs.map +1 -1
- package/dist/cjs/hooks/useClickOutside.cjs.map +1 -1
- package/dist/cjs/providers/Provider.cjs.map +1 -1
- package/dist/esm/Accordion/Accordion.js.map +1 -1
- package/dist/esm/Avatar/Avatar.js.map +1 -1
- package/dist/esm/Badge/Badge.styles.js.map +1 -1
- package/dist/esm/BaseCheckBox/BaseCheckBox.js.map +1 -1
- package/dist/esm/BaseDropdown/BaseDropdown.js +2 -2
- package/dist/esm/BaseDropdown/BaseDropdown.js.map +1 -1
- package/dist/esm/BaseInput/BaseInput.styles.js.map +1 -1
- package/dist/esm/BaseInput/validations.js.map +1 -1
- package/dist/esm/BaseRadio/BaseRadio.js.map +1 -1
- package/dist/esm/BaseSwitch/BaseSwitch.js.map +1 -1
- package/dist/esm/BreadCrumb/BreadCrumb.js.map +1 -1
- package/dist/esm/BreadCrumb/Page/Page.js.map +1 -1
- package/dist/esm/BreadCrumb/utils.js.map +1 -1
- package/dist/esm/BulkActions/BulkActions.styles.js +13 -1
- package/dist/esm/BulkActions/BulkActions.styles.js.map +1 -1
- package/dist/esm/Button/Button.styles.js.map +1 -1
- package/dist/esm/Calendar/Calendar.js.map +1 -1
- package/dist/esm/Calendar/SingleCalendar/CalendarCell.js.map +1 -1
- package/dist/esm/Card/Media/Media.js.map +1 -1
- package/dist/esm/Carousel/Carousel.js.map +1 -1
- package/dist/esm/Carousel/CarouselControls.js.map +1 -1
- package/dist/esm/Carousel/CarouselSlide/CarouselSlide.js.map +1 -1
- package/dist/esm/Carousel/CarouselThumbnails.js.map +1 -1
- package/dist/esm/Controls/Controls.js.map +1 -1
- package/dist/esm/DropDownMenu/DropDownMenu.js +12 -20
- package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
- package/dist/esm/DropDownMenu/DropDownMenu.styles.js +4 -34
- package/dist/esm/DropDownMenu/DropDownMenu.styles.js.map +1 -1
- package/dist/esm/Dropdown/List/List.js.map +1 -1
- package/dist/esm/DropdownButton/DropdownButton.js +58 -0
- package/dist/esm/DropdownButton/DropdownButton.js.map +1 -0
- package/dist/esm/DropdownButton/DropdownButton.styles.js +65 -0
- package/dist/esm/DropdownButton/DropdownButton.styles.js.map +1 -0
- package/dist/esm/FileUploader/DropZone/DropZone.js.map +1 -1
- package/dist/esm/FileUploader/DropZone/DropZone.styles.js.map +1 -1
- package/dist/esm/Focus/Focus.js +2 -2
- package/dist/esm/Focus/Focus.js.map +1 -1
- package/dist/esm/Forms/Adornment/Adornment.js.map +1 -1
- package/dist/esm/Forms/Suggestions/Suggestions.js.map +1 -1
- package/dist/esm/Header/Navigation/MenuBar/MenuBar.js.map +1 -1
- package/dist/esm/Header/Navigation/MenuItem/MenuItem.js.map +1 -1
- package/dist/esm/Header/Navigation/Navigation.js.map +1 -1
- package/dist/esm/Header/Navigation/utils/FocusContext.js.map +1 -1
- package/dist/esm/IconButton/IconButton.js +2 -1
- package/dist/esm/IconButton/IconButton.js.map +1 -1
- package/dist/esm/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/esm/Input/Input.js +2 -2
- package/dist/esm/Input/Input.js.map +1 -1
- package/dist/esm/ListContainer/ListContainer.js +4 -4
- package/dist/esm/ListContainer/ListContainer.js.map +1 -1
- package/dist/esm/ListContainer/ListItem/ListItem.js +5 -5
- package/dist/esm/ListContainer/ListItem/ListItem.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.js +26 -11
- package/dist/esm/MultiButton/MultiButton.js.map +1 -1
- package/dist/esm/MultiButton/MultiButton.styles.js +56 -326
- package/dist/esm/MultiButton/MultiButton.styles.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/Pagination/Pagination.styles.js.map +1 -1
- package/dist/esm/Pagination/Select.js.map +1 -1
- package/dist/esm/Radio/Radio.js.map +1 -1
- package/dist/esm/Select/Select.js +6 -2
- package/dist/esm/Select/Select.js.map +1 -1
- package/dist/esm/SelectionList/SelectionList.js +5 -5
- package/dist/esm/SelectionList/SelectionList.js.map +1 -1
- package/dist/esm/Slider/Slider.js.map +1 -1
- package/dist/esm/Slider/Slider.styles.js.map +1 -1
- package/dist/esm/Slider/utils.js.map +1 -1
- package/dist/esm/Snackbar/Snackbar.js.map +1 -1
- package/dist/esm/Snackbar/SnackbarContent/SnackbarContent.styles.js +0 -3
- package/dist/esm/Snackbar/SnackbarContent/SnackbarContent.styles.js.map +1 -1
- package/dist/esm/SnackbarProvider/SnackbarProvider.js.map +1 -1
- package/dist/esm/Stack/Stack.js +3 -3
- package/dist/esm/Stack/Stack.js.map +1 -1
- package/dist/esm/Switch/Switch.js.map +1 -1
- package/dist/esm/Tab/Tab.styles.js.map +1 -1
- package/dist/esm/Table/Table.js.map +1 -1
- package/dist/esm/Table/TableBody/TableBody.js.map +1 -1
- package/dist/esm/Table/TableCell/TableCell.js.map +1 -1
- package/dist/esm/Table/TableCell/TableCell.styles.js.map +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.js.map +1 -1
- package/dist/esm/Table/hooks/useHeaderGroups.js.map +1 -1
- package/dist/esm/Table/hooks/useResizeColumns.js.map +1 -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/useSticky.js.map +1 -1
- package/dist/esm/Table/hooks/useTableStyles.js.map +1 -1
- package/dist/esm/Tag/Tag.js.map +1 -1
- package/dist/esm/Tag/Tag.styles.js.map +1 -1
- package/dist/esm/TagsInput/TagsInput.js.map +1 -1
- package/dist/esm/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/TreeView/TreeItem/DefaultContent.js.map +1 -1
- package/dist/esm/TreeView/TreeItem/TreeItem.js.map +1 -1
- package/dist/esm/VerticalNavigation/Actions/Action.js.map +1 -1
- package/dist/esm/VerticalNavigation/Header/Header.js.map +1 -1
- package/dist/esm/VerticalNavigation/VerticalNavigationContext.js.map +1 -1
- package/dist/esm/hooks/useClickOutside.js.map +1 -1
- package/dist/esm/providers/Provider.js.map +1 -1
- package/dist/types/index.d.ts +247 -258
- package/package.json +5 -5
- package/dist/cjs/Select/SelectButton.cjs +0 -92
- package/dist/cjs/Select/SelectButton.cjs.map +0 -1
- package/dist/esm/Select/SelectButton.js +0 -92
- package/dist/esm/Select/SelectButton.js.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { CardContentProps } from '@mui/material/CardContent';
|
|
|
7
7
|
import { CardHeaderProps } from '@mui/material/CardHeader';
|
|
8
8
|
import { CardMediaProps } from '@mui/material/CardMedia';
|
|
9
9
|
import { Cell } from 'react-table';
|
|
10
|
-
import { ChangeEvent } from 'react';
|
|
11
10
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
12
11
|
import { ChipProps } from '@mui/material/Chip';
|
|
13
12
|
import { ColumnInstance } from 'react-table';
|
|
@@ -16,7 +15,6 @@ import { ComponentProps } from 'react';
|
|
|
16
15
|
import { ContainerProps } from '@mui/material/Container';
|
|
17
16
|
import { Context } from 'react';
|
|
18
17
|
import { CSSInterpolation } from '@emotion/serialize';
|
|
19
|
-
import { CSSProperties } from 'react';
|
|
20
18
|
import { defaultCacheKey } from '@hitachivantara/uikit-react-shared';
|
|
21
19
|
import { defaultEmotionCache } from '@hitachivantara/uikit-react-shared';
|
|
22
20
|
import { DialogActionsProps } from '@mui/material/DialogActions';
|
|
@@ -33,8 +31,6 @@ import { EmotionContext } from '@hitachivantara/uikit-react-shared';
|
|
|
33
31
|
import { ForwardRefExoticComponent } from 'react';
|
|
34
32
|
import { GridProps } from '@mui/material/Grid';
|
|
35
33
|
import { Hooks } from 'react-table';
|
|
36
|
-
import { HTMLAttributes } from 'react';
|
|
37
|
-
import { HTMLInputTypeAttribute } from 'react';
|
|
38
34
|
import { HvAccentColor } from '@hitachivantara/uikit-styles';
|
|
39
35
|
import { HvAtmosphereColor } from '@hitachivantara/uikit-styles';
|
|
40
36
|
import { HvBaseColor } from '@hitachivantara/uikit-styles';
|
|
@@ -59,15 +55,12 @@ import type { HvThemeContextValue } from '@hitachivantara/uikit-react-shared';
|
|
|
59
55
|
import { HvThemeStructure } from '@hitachivantara/uikit-styles';
|
|
60
56
|
import { IconBaseProps } from '@hitachivantara/uikit-react-icons';
|
|
61
57
|
import { IdType as IdType_2 } from 'react-table';
|
|
62
|
-
import { ImgHTMLAttributes } from 'react';
|
|
63
58
|
import { InputBaseComponentProps } from '@mui/material/InputBase';
|
|
64
59
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
65
60
|
import { InputProps } from '@mui/material/Input';
|
|
66
61
|
import { JSX as JSX_2 } from 'react';
|
|
67
62
|
import { JSX as JSX_3 } from '@emotion/react/jsx-runtime';
|
|
68
63
|
import { JSXElementConstructor } from 'react';
|
|
69
|
-
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
70
|
-
import { MouseEventHandler } from 'react';
|
|
71
64
|
import { OptionGroupProps } from '@mui/base/OptionGroup';
|
|
72
65
|
import { OptionOwnProps } from '@mui/base/Option';
|
|
73
66
|
import { OptionsObject } from 'notistack';
|
|
@@ -95,13 +88,11 @@ import { SnackbarOrigin } from '@mui/material/Snackbar';
|
|
|
95
88
|
import { SnackbarProps } from '@mui/material/Snackbar';
|
|
96
89
|
import { SnackbarProviderProps } from 'notistack';
|
|
97
90
|
import { SwitchProps } from '@mui/material/Switch';
|
|
98
|
-
import { SyntheticEvent } from 'react';
|
|
99
91
|
import { TableCellProps } from 'react-table';
|
|
100
92
|
import { TableCommonProps } from 'react-table';
|
|
101
93
|
import { TableExpandedToggleProps } from 'react-table';
|
|
102
94
|
import { TableFooterProps } from 'react-table';
|
|
103
95
|
import { TableHeaderProps } from 'react-table';
|
|
104
|
-
import { TableHTMLAttributes } from 'react';
|
|
105
96
|
import { TableInstance } from 'react-table';
|
|
106
97
|
import { TableOptions } from 'react-table';
|
|
107
98
|
import { TableProps } from 'react-table';
|
|
@@ -109,10 +100,8 @@ import { TableRowProps } from 'react-table';
|
|
|
109
100
|
import { TableState } from 'react-table';
|
|
110
101
|
import { TabProps } from '@mui/material/Tab';
|
|
111
102
|
import { TabsProps } from '@mui/material/Tabs';
|
|
112
|
-
import { TdHTMLAttributes } from 'react';
|
|
113
103
|
import { theme } from '@hitachivantara/uikit-styles';
|
|
114
104
|
import { themes } from '@hitachivantara/uikit-styles';
|
|
115
|
-
import { ThHTMLAttributes } from 'react';
|
|
116
105
|
import { TooltipProps } from '@mui/material/Tooltip';
|
|
117
106
|
import { TransitionProps } from '@mui/material/transitions';
|
|
118
107
|
import useCarousel from 'embla-carousel-react';
|
|
@@ -1128,13 +1117,13 @@ export declare type HvAccentColors = Record<HvAccentColorKeys, string>;
|
|
|
1128
1117
|
*/
|
|
1129
1118
|
export declare const HvAccordion: (props: HvAccordionProps) => JSX_3.Element;
|
|
1130
1119
|
|
|
1131
|
-
export declare type HvAccordionClasses = ExtractNames<typeof
|
|
1120
|
+
export declare type HvAccordionClasses = ExtractNames<typeof useClasses_19>;
|
|
1132
1121
|
|
|
1133
1122
|
export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "onChange" | "children"> {
|
|
1134
1123
|
/**
|
|
1135
1124
|
* Content to be rendered
|
|
1136
1125
|
*/
|
|
1137
|
-
children:
|
|
1126
|
+
children: React.ReactNode;
|
|
1138
1127
|
/**
|
|
1139
1128
|
* The accordion label button.
|
|
1140
1129
|
*/
|
|
@@ -1142,7 +1131,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1142
1131
|
/**
|
|
1143
1132
|
* The function that will be executed whenever the accordion toggles it will receive the state of the accordion
|
|
1144
1133
|
*/
|
|
1145
|
-
onChange?: (event:
|
|
1134
|
+
onChange?: (event: React.SyntheticEvent, value: boolean) => void;
|
|
1146
1135
|
/**
|
|
1147
1136
|
* Whether the accordion is open or not, if this property is defined the accordion must be fully controlled.
|
|
1148
1137
|
*/
|
|
@@ -1154,7 +1143,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1154
1143
|
/**
|
|
1155
1144
|
* An object containing props to be passed onto container holding the accordion children.
|
|
1156
1145
|
*/
|
|
1157
|
-
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
1146
|
+
containerProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
1158
1147
|
/**
|
|
1159
1148
|
* Heading Level to apply to accordion button if ´undefined´ the button won't have a header wrapper.
|
|
1160
1149
|
*/
|
|
@@ -1175,14 +1164,14 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1175
1164
|
|
|
1176
1165
|
export declare const HvActionBar: (props: HvActionBarProps) => JSX_3.Element;
|
|
1177
1166
|
|
|
1178
|
-
export declare type HvActionBarClasses = ExtractNames<typeof
|
|
1167
|
+
export declare type HvActionBarClasses = ExtractNames<typeof useClasses_20>;
|
|
1179
1168
|
|
|
1180
1169
|
export declare interface HvActionBarProps extends HvBaseProps {
|
|
1181
1170
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
1182
1171
|
classes?: HvActionBarClasses;
|
|
1183
1172
|
}
|
|
1184
1173
|
|
|
1185
|
-
declare type HvActionContainerClasses = ExtractNames<typeof
|
|
1174
|
+
declare type HvActionContainerClasses = ExtractNames<typeof useClasses_28>;
|
|
1186
1175
|
|
|
1187
1176
|
declare interface HvActionContainerProps extends HvBaseProps<HTMLButtonElement>, Pick<Partial<HvActionsGenericProps>, "onAction"> {
|
|
1188
1177
|
/** Function called when clicking on the close button. */
|
|
@@ -1216,7 +1205,7 @@ export declare interface HvActionGeneric {
|
|
|
1216
1205
|
|
|
1217
1206
|
export declare const HvActionsGeneric: (props: HvActionsGenericProps) => JSX_3.Element | null;
|
|
1218
1207
|
|
|
1219
|
-
export declare type HvActionsGenericClasses = ExtractNames<typeof
|
|
1208
|
+
export declare type HvActionsGenericClasses = ExtractNames<typeof useClasses_21>;
|
|
1220
1209
|
|
|
1221
1210
|
export declare interface HvActionsGenericProps extends HvBaseProps {
|
|
1222
1211
|
/**
|
|
@@ -1268,7 +1257,7 @@ export declare interface HvAdornmentProps extends HvBaseProps<HTMLDivElement | H
|
|
|
1268
1257
|
/** When the adornment should be displayed. */
|
|
1269
1258
|
showWhen?: HvFormStatus;
|
|
1270
1259
|
/** Function to be executed when this element is clicked. */
|
|
1271
|
-
onClick?: MouseEventHandler<HTMLButtonElement
|
|
1260
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
1272
1261
|
/** If this property is defined the adornment visibility will be exclusively controlled by this value. */
|
|
1273
1262
|
isVisible?: boolean;
|
|
1274
1263
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -1302,7 +1291,7 @@ export declare interface HvAppSwitcherActionApplication {
|
|
|
1302
1291
|
color?: HvColorAny;
|
|
1303
1292
|
}
|
|
1304
1293
|
|
|
1305
|
-
export declare type HvAppSwitcherActionClasses = ExtractNames<typeof
|
|
1294
|
+
export declare type HvAppSwitcherActionClasses = ExtractNames<typeof useClasses_23>;
|
|
1306
1295
|
|
|
1307
1296
|
export declare interface HvAppSwitcherActionProps extends HvBaseProps {
|
|
1308
1297
|
/** The application data to be used to render the Action object. */
|
|
@@ -1315,7 +1304,7 @@ export declare interface HvAppSwitcherActionProps extends HvBaseProps {
|
|
|
1315
1304
|
classes?: HvAppSwitcherActionClasses;
|
|
1316
1305
|
}
|
|
1317
1306
|
|
|
1318
|
-
export declare type HvAppSwitcherClasses = ExtractNames<typeof
|
|
1307
|
+
export declare type HvAppSwitcherClasses = ExtractNames<typeof useClasses_22>;
|
|
1319
1308
|
|
|
1320
1309
|
export declare interface HvAppSwitcherProps extends HvBaseProps {
|
|
1321
1310
|
/** Number of columns to render. One, two, or whatever fits the component's width. */
|
|
@@ -1354,14 +1343,14 @@ export declare type HvAtmosphereColors = Record<HvAtmosphereColorKeys, string>;
|
|
|
1354
1343
|
*/
|
|
1355
1344
|
export declare const HvAvatar: ForwardRefExoticComponent<HvAvatarProps & RefAttributes<any>>;
|
|
1356
1345
|
|
|
1357
|
-
export declare type HvAvatarClasses = ExtractNames<typeof
|
|
1346
|
+
export declare type HvAvatarClasses = ExtractNames<typeof useClasses_24>;
|
|
1358
1347
|
|
|
1359
1348
|
/**
|
|
1360
1349
|
* The AvatarGroup component is used to group multiple avatars.
|
|
1361
1350
|
*/
|
|
1362
1351
|
export declare const HvAvatarGroup: ForwardRefExoticComponent<HvAvatarGroupProps & RefAttributes<HTMLDivElement>>;
|
|
1363
1352
|
|
|
1364
|
-
export declare type HvAvatarGroupClasses = ExtractNames<typeof
|
|
1353
|
+
export declare type HvAvatarGroupClasses = ExtractNames<typeof useClasses_25>;
|
|
1365
1354
|
|
|
1366
1355
|
export declare interface HvAvatarGroupProps extends HvBaseProps {
|
|
1367
1356
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -1387,8 +1376,6 @@ export declare interface HvAvatarGroupProps extends HvBaseProps {
|
|
|
1387
1376
|
}
|
|
1388
1377
|
|
|
1389
1378
|
export declare interface HvAvatarProps extends HvBaseProps {
|
|
1390
|
-
/** Inline styles to be applied to the root element. */
|
|
1391
|
-
style?: CSSProperties;
|
|
1392
1379
|
/** The component used for the root node. Either a string to use a DOM element or a component. */
|
|
1393
1380
|
component?: React.ElementType;
|
|
1394
1381
|
/** Sets one of the standard sizes of the icons */
|
|
@@ -1409,7 +1396,7 @@ export declare interface HvAvatarProps extends HvBaseProps {
|
|
|
1409
1396
|
* Attributes applied to the `img` element if the component is used to display an image.
|
|
1410
1397
|
* It can be used to listen for the loading error event.
|
|
1411
1398
|
*/
|
|
1412
|
-
imgProps?: HTMLAttributes<HTMLImageElement>;
|
|
1399
|
+
imgProps?: React.HTMLAttributes<HTMLImageElement>;
|
|
1413
1400
|
/** A string representing the type of avatar to display, circular or square. */
|
|
1414
1401
|
variant?: HvAvatarVariant;
|
|
1415
1402
|
/** A string representing the color of the avatar border that represents its status. */
|
|
@@ -1431,7 +1418,7 @@ export declare type HvAvatarVariant = "circular" | "square";
|
|
|
1431
1418
|
*/
|
|
1432
1419
|
export declare const HvBadge: (props: HvBadgeProps) => JSX_3.Element;
|
|
1433
1420
|
|
|
1434
|
-
export declare type HvBadgeClasses = ExtractNames<typeof
|
|
1421
|
+
export declare type HvBadgeClasses = ExtractNames<typeof useClasses_26>;
|
|
1435
1422
|
|
|
1436
1423
|
export declare interface HvBadgeProps extends HvBaseProps {
|
|
1437
1424
|
/**
|
|
@@ -1472,11 +1459,11 @@ export declare const HvBanner: (props: HvBannerProps) => JSX_3.Element;
|
|
|
1472
1459
|
|
|
1473
1460
|
export declare type HvBannerActionPosition = "auto" | "inline" | "bottom-right";
|
|
1474
1461
|
|
|
1475
|
-
export declare type HvBannerClasses = ExtractNames<typeof
|
|
1462
|
+
export declare type HvBannerClasses = ExtractNames<typeof useClasses_27>;
|
|
1476
1463
|
|
|
1477
1464
|
export declare const HvBannerContent: ForwardRefExoticComponent<Omit<HvBannerContentProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1478
1465
|
|
|
1479
|
-
export declare type HvBannerContentClasses = ExtractNames<typeof
|
|
1466
|
+
export declare type HvBannerContentClasses = ExtractNames<typeof useClasses_29>;
|
|
1480
1467
|
|
|
1481
1468
|
export declare interface HvBannerContentProps extends Omit<SnackbarContentProps, "variant" | "classes" | "onClose"> {
|
|
1482
1469
|
/** The message to display. */
|
|
@@ -1562,9 +1549,9 @@ export declare type HvBannerVariant = "success" | "warning" | "error" | "default
|
|
|
1562
1549
|
* The Base Checkbox is a building block of the Checkbox form element. Don't use unless
|
|
1563
1550
|
* implementing a custom use case not covered by the Checkbox form element.
|
|
1564
1551
|
*/
|
|
1565
|
-
export declare const HvBaseCheckBox:
|
|
1552
|
+
export declare const HvBaseCheckBox: ForwardRefExoticComponent<Omit<HvBaseCheckBoxProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1566
1553
|
|
|
1567
|
-
export declare type HvBaseCheckBoxClasses = ExtractNames<typeof
|
|
1554
|
+
export declare type HvBaseCheckBoxClasses = ExtractNames<typeof useClasses_30>;
|
|
1568
1555
|
|
|
1569
1556
|
export declare interface HvBaseCheckBoxProps extends Omit<CheckboxProps, "onChange" | "classes"> {
|
|
1570
1557
|
/**
|
|
@@ -1609,7 +1596,7 @@ export declare interface HvBaseCheckBoxProps extends Omit<CheckboxProps, "onChan
|
|
|
1609
1596
|
/**
|
|
1610
1597
|
* The callback fired when the checkbox is pressed.
|
|
1611
1598
|
*/
|
|
1612
|
-
onChange?: (event:
|
|
1599
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean, value: any) => void;
|
|
1613
1600
|
/**
|
|
1614
1601
|
* Whether the selector should use semantic colors.
|
|
1615
1602
|
*/
|
|
@@ -1617,16 +1604,16 @@ export declare interface HvBaseCheckBoxProps extends Omit<CheckboxProps, "onChan
|
|
|
1617
1604
|
/**
|
|
1618
1605
|
* Properties passed on to the input element.
|
|
1619
1606
|
*/
|
|
1620
|
-
inputProps?:
|
|
1607
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
1621
1608
|
/**
|
|
1622
1609
|
* Callback fired when the component is focused with a keyboard.
|
|
1623
1610
|
* We trigger a `onFocus` callback too.
|
|
1624
1611
|
*/
|
|
1625
|
-
onFocusVisible?: (event:
|
|
1612
|
+
onFocusVisible?: (event: React.FocusEvent<any>) => void;
|
|
1626
1613
|
/**
|
|
1627
1614
|
* Callback fired when the component is blurred.
|
|
1628
1615
|
*/
|
|
1629
|
-
onBlur?: (event:
|
|
1616
|
+
onBlur?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
|
1630
1617
|
/**
|
|
1631
1618
|
* A Jss Object used to override or extend the styles applied to the checkbox.
|
|
1632
1619
|
*/
|
|
@@ -1639,9 +1626,9 @@ export declare type HvBaseColorKeys = HvBaseColor;
|
|
|
1639
1626
|
|
|
1640
1627
|
export declare type HvBaseColors = Record<HvBaseColorKeys, string>;
|
|
1641
1628
|
|
|
1642
|
-
export declare const HvBaseDropdown:
|
|
1629
|
+
export declare const HvBaseDropdown: ForwardRefExoticComponent<Omit<HvBaseDropdownProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1643
1630
|
|
|
1644
|
-
export declare type HvBaseDropdownClasses = ExtractNames<typeof
|
|
1631
|
+
export declare type HvBaseDropdownClasses = ExtractNames<typeof useClasses_18>;
|
|
1645
1632
|
|
|
1646
1633
|
export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
1647
1634
|
/**
|
|
@@ -1654,7 +1641,7 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1654
1641
|
/**
|
|
1655
1642
|
* Header placeholder.
|
|
1656
1643
|
*/
|
|
1657
|
-
placeholder?:
|
|
1644
|
+
placeholder?: React.ReactNode;
|
|
1658
1645
|
/**
|
|
1659
1646
|
* If `true` the dropdown is disabled unable to be interacted, if `false` it is enabled.
|
|
1660
1647
|
*/
|
|
@@ -1696,11 +1683,11 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1696
1683
|
/**
|
|
1697
1684
|
* Replacement for the header component.
|
|
1698
1685
|
*/
|
|
1699
|
-
component?:
|
|
1686
|
+
component?: React.ReactNode;
|
|
1700
1687
|
/**
|
|
1701
1688
|
* Adornment to replace the default arrows.
|
|
1702
1689
|
*/
|
|
1703
|
-
adornment?:
|
|
1690
|
+
adornment?: React.ReactNode;
|
|
1704
1691
|
/**
|
|
1705
1692
|
* When dropdown changes the expanded state.
|
|
1706
1693
|
*/
|
|
@@ -1717,17 +1704,17 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1717
1704
|
/**
|
|
1718
1705
|
* Attributes applied to the dropdown header element.
|
|
1719
1706
|
*/
|
|
1720
|
-
dropdownHeaderProps?:
|
|
1707
|
+
dropdownHeaderProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
1721
1708
|
/**
|
|
1722
1709
|
* Pass a ref to the dropdown header element.
|
|
1723
1710
|
*/
|
|
1724
|
-
dropdownHeaderRef?:
|
|
1711
|
+
dropdownHeaderRef?: React.Ref<HTMLDivElement>;
|
|
1725
1712
|
/**
|
|
1726
1713
|
* A Jss Object used to override or extend the component styles applied.
|
|
1727
1714
|
*/
|
|
1728
1715
|
classes?: HvBaseDropdownClasses;
|
|
1729
1716
|
/** @ignore */
|
|
1730
|
-
ref?:
|
|
1717
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1731
1718
|
}
|
|
1732
1719
|
|
|
1733
1720
|
/**
|
|
@@ -1736,7 +1723,7 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1736
1723
|
*/
|
|
1737
1724
|
export declare const HvBaseInput: (props: HvBaseInputProps) => JSX_3.Element;
|
|
1738
1725
|
|
|
1739
|
-
export declare type HvBaseInputClasses = ExtractNames<typeof
|
|
1726
|
+
export declare type HvBaseInputClasses = ExtractNames<typeof useClasses_17>;
|
|
1740
1727
|
|
|
1741
1728
|
export declare interface HvBaseInputProps extends Omit<InputProps, "onChange" | "classes"> {
|
|
1742
1729
|
/** The input name. */
|
|
@@ -1781,9 +1768,9 @@ export declare type HvBaseProps<E extends HTMLElement = HTMLDivElement, K extend
|
|
|
1781
1768
|
* The Base Radio Button is a building block of the Radio Button form element. Don't
|
|
1782
1769
|
* use unless implementing a custom use case not covered by the Radio Button form element.
|
|
1783
1770
|
*/
|
|
1784
|
-
export declare const HvBaseRadio:
|
|
1771
|
+
export declare const HvBaseRadio: ForwardRefExoticComponent<Omit<HvBaseRadioProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1785
1772
|
|
|
1786
|
-
export declare type HvBaseRadioClasses = ExtractNames<typeof
|
|
1773
|
+
export declare type HvBaseRadioClasses = ExtractNames<typeof useClasses_31>;
|
|
1787
1774
|
|
|
1788
1775
|
export declare interface HvBaseRadioProps extends Omit<RadioProps, "onChange" | "classes"> {
|
|
1789
1776
|
/**
|
|
@@ -1833,7 +1820,7 @@ export declare interface HvBaseRadioProps extends Omit<RadioProps, "onChange" |
|
|
|
1833
1820
|
/**
|
|
1834
1821
|
* The callback fired when the radio button is pressed.
|
|
1835
1822
|
*/
|
|
1836
|
-
onChange?: (event:
|
|
1823
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean, value: any) => void;
|
|
1837
1824
|
/**
|
|
1838
1825
|
* Whether the selector should use semantic colors.
|
|
1839
1826
|
*/
|
|
@@ -1841,16 +1828,16 @@ export declare interface HvBaseRadioProps extends Omit<RadioProps, "onChange" |
|
|
|
1841
1828
|
/**
|
|
1842
1829
|
* Properties passed on to the input element.
|
|
1843
1830
|
*/
|
|
1844
|
-
inputProps?:
|
|
1831
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
1845
1832
|
/**
|
|
1846
1833
|
* Callback fired when the component is focused with a keyboard.
|
|
1847
1834
|
* We trigger a `onFocus` callback too.
|
|
1848
1835
|
*/
|
|
1849
|
-
onFocusVisible?: (event:
|
|
1836
|
+
onFocusVisible?: (event: React.FocusEvent<any>) => void;
|
|
1850
1837
|
/**
|
|
1851
1838
|
* @ignore
|
|
1852
1839
|
*/
|
|
1853
|
-
onBlur?: (event:
|
|
1840
|
+
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
1854
1841
|
}
|
|
1855
1842
|
|
|
1856
1843
|
/**
|
|
@@ -1859,9 +1846,9 @@ export declare interface HvBaseRadioProps extends Omit<RadioProps, "onChange" |
|
|
|
1859
1846
|
* The Base Switch is a building block of the Switch form element. Don't use unless
|
|
1860
1847
|
* implementing a custom use case not covered by the Switch form element.
|
|
1861
1848
|
*/
|
|
1862
|
-
export declare const HvBaseSwitch:
|
|
1849
|
+
export declare const HvBaseSwitch: ForwardRefExoticComponent<Omit<HvBaseSwitchProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
1863
1850
|
|
|
1864
|
-
export declare type HvBaseSwitchClasses = ExtractNames<typeof
|
|
1851
|
+
export declare type HvBaseSwitchClasses = ExtractNames<typeof useClasses_32>;
|
|
1865
1852
|
|
|
1866
1853
|
export declare interface HvBaseSwitchProps extends Omit<SwitchProps, "onChange" | "classes"> {
|
|
1867
1854
|
/**
|
|
@@ -1914,20 +1901,20 @@ export declare interface HvBaseSwitchProps extends Omit<SwitchProps, "onChange"
|
|
|
1914
1901
|
/**
|
|
1915
1902
|
* The callback fired when the switch is pressed.
|
|
1916
1903
|
*/
|
|
1917
|
-
onChange?: (event:
|
|
1904
|
+
onChange?: (event: React.ChangeEvent, checked: boolean, value: any) => void;
|
|
1918
1905
|
/**
|
|
1919
1906
|
* Properties passed on to the input element.
|
|
1920
1907
|
*/
|
|
1921
|
-
inputProps?:
|
|
1908
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
1922
1909
|
/**
|
|
1923
1910
|
* Callback fired when the component is focused with a keyboard.
|
|
1924
1911
|
* We trigger a `onFocus` callback too.
|
|
1925
1912
|
*/
|
|
1926
|
-
onFocusVisible?: (event:
|
|
1913
|
+
onFocusVisible?: (event: React.FocusEvent<any>) => void;
|
|
1927
1914
|
/**
|
|
1928
1915
|
* @ignore
|
|
1929
1916
|
*/
|
|
1930
|
-
onBlur?: (event:
|
|
1917
|
+
onBlur?: (event: React.FocusEvent<any>) => void;
|
|
1931
1918
|
}
|
|
1932
1919
|
|
|
1933
1920
|
export { HvBaseTheme }
|
|
@@ -1951,7 +1938,7 @@ export declare type HvBoxProps = <C extends React.ElementType = "div">(props: Hv
|
|
|
1951
1938
|
*/
|
|
1952
1939
|
export declare const HvBreadCrumb: (props: HvBreadCrumbProps) => JSX_3.Element;
|
|
1953
1940
|
|
|
1954
|
-
export declare type HvBreadCrumbClasses = ExtractNames<typeof
|
|
1941
|
+
export declare type HvBreadCrumbClasses = ExtractNames<typeof useClasses_33>;
|
|
1955
1942
|
|
|
1956
1943
|
export declare interface HvBreadCrumbPathElement extends Record<string, any> {
|
|
1957
1944
|
label: string;
|
|
@@ -1968,7 +1955,7 @@ export declare interface HvBreadCrumbProps extends HvBaseProps<HTMLDivElement, "
|
|
|
1968
1955
|
/** The component used for the link node. Either a string to use a DOM element or a component. */
|
|
1969
1956
|
component?: React.ElementType;
|
|
1970
1957
|
/** Function passed to the component. If defined the component prop is used as the link node. */
|
|
1971
|
-
onClick?: (event:
|
|
1958
|
+
onClick?: (event: React.MouseEvent<HTMLElement>, data: any) => void;
|
|
1972
1959
|
/** Props passed down to the DropDownMenu sub-menu component. */
|
|
1973
1960
|
dropDownMenuProps?: Partial<HvDropDownMenuProps>;
|
|
1974
1961
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -1983,7 +1970,7 @@ export { HvBreakpoints }
|
|
|
1983
1970
|
*/
|
|
1984
1971
|
export declare const HvBulkActions: (props: HvBulkActionsProps) => JSX_3.Element;
|
|
1985
1972
|
|
|
1986
|
-
export declare type HvBulkActionsClasses = ExtractNames<typeof
|
|
1973
|
+
export declare type HvBulkActionsClasses = ExtractNames<typeof useClasses_35>;
|
|
1987
1974
|
|
|
1988
1975
|
export declare type HvBulkActionsPropGetter<D extends object> = PropGetter<D, HvTAbleBulkActionsProps>;
|
|
1989
1976
|
|
|
@@ -2082,7 +2069,7 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
|
|
|
2082
2069
|
ref?: PolymorphicRef<C> | undefined;
|
|
2083
2070
|
} & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
2084
2071
|
|
|
2085
|
-
export declare type HvButtonClasses = ExtractNames<typeof
|
|
2072
|
+
export declare type HvButtonClasses = ExtractNames<typeof useClasses_12>;
|
|
2086
2073
|
|
|
2087
2074
|
export declare type HvButtonProps<C extends React.ElementType = "button"> = PolymorphicComponentRef<C, {
|
|
2088
2075
|
/** Use the variant prop to change the visual style of the button. */
|
|
@@ -2209,17 +2196,17 @@ export declare interface HvCalendarProps {
|
|
|
2209
2196
|
/**
|
|
2210
2197
|
* Callback function to be triggered when the selected date has changed.
|
|
2211
2198
|
*/
|
|
2212
|
-
onChange?: (event:
|
|
2199
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement> | undefined, value: Date | DateRangeProp) => void;
|
|
2213
2200
|
/**
|
|
2214
2201
|
* Callback function to be triggered when the selected date input has changed.
|
|
2215
2202
|
*/
|
|
2216
|
-
onInputChange?: (event:
|
|
2203
|
+
onInputChange?: (event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement | HTMLButtonElement> | undefined, value: Date | DateRangeProp, position: "left" | "right") => void;
|
|
2217
2204
|
/**
|
|
2218
2205
|
* Callback function to be triggered when the user clicks on the month or year selector.
|
|
2219
2206
|
* it receives the action that was pressed:
|
|
2220
2207
|
* previous_month, next_month, previous_year, next_year,month
|
|
2221
2208
|
*/
|
|
2222
|
-
onVisibleDateChange?: (event:
|
|
2209
|
+
onVisibleDateChange?: (event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement> | undefined, action: VisibilitySelectorActions, value?: Date | DateRangeProp | number, position?: "left" | "right") => void;
|
|
2223
2210
|
/**
|
|
2224
2211
|
* The maximum selectable date after this all values are disabled.
|
|
2225
2212
|
*/
|
|
@@ -2231,7 +2218,7 @@ export declare interface HvCalendarProps {
|
|
|
2231
2218
|
/**
|
|
2232
2219
|
* An element placed before the Calendar
|
|
2233
2220
|
*/
|
|
2234
|
-
startAdornment?:
|
|
2221
|
+
startAdornment?: React.ReactNode;
|
|
2235
2222
|
/**
|
|
2236
2223
|
* Indicates if header should display the day of week.
|
|
2237
2224
|
*/
|
|
@@ -2284,7 +2271,7 @@ export declare const HvCardMedia: ({ id, classes: classesProp, className, childr
|
|
|
2284
2271
|
|
|
2285
2272
|
export declare type HvCardMediaClasses = ExtractNames<typeof useClasses_42>;
|
|
2286
2273
|
|
|
2287
|
-
export declare interface HvCardMediaProps extends Omit<CardMediaProps, "classes">, ImgHTMLAttributes<HTMLDivElement
|
|
2274
|
+
export declare interface HvCardMediaProps extends Omit<CardMediaProps, "classes">, React.ImgHTMLAttributes<HTMLDivElement> {
|
|
2288
2275
|
/** Id to be applied to the root node. */
|
|
2289
2276
|
id?: string;
|
|
2290
2277
|
/** The title of the media. */
|
|
@@ -2330,24 +2317,24 @@ export declare const HvCarouselControls: (props: HvCarouselControlsProps) => JSX
|
|
|
2330
2317
|
declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, Pick<HvPaginationProps, "page" | "pages" | "canPrevious" | "canNext"> {
|
|
2331
2318
|
showDots?: boolean;
|
|
2332
2319
|
classes?: ExtractNames<typeof useClasses_43>;
|
|
2333
|
-
actions?: ReactNode;
|
|
2334
|
-
onPreviousClick?: MouseEventHandler<HTMLButtonElement>;
|
|
2335
|
-
onNextClick?: MouseEventHandler<HTMLButtonElement>;
|
|
2320
|
+
actions?: React.ReactNode;
|
|
2321
|
+
onPreviousClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2322
|
+
onNextClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
2336
2323
|
}
|
|
2337
2324
|
|
|
2338
2325
|
export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "title" | "onChange"> {
|
|
2339
2326
|
/** A Jss Object used to override or extend the styles applied. */
|
|
2340
2327
|
classes?: HvCarouselClasses;
|
|
2341
2328
|
/** Height of the Slider container. If `undefined`, images will keep a 16/9 aspect-ratio */
|
|
2342
|
-
height?: CSSProperties["height"];
|
|
2329
|
+
height?: React.CSSProperties["height"];
|
|
2343
2330
|
/** Width of the thumbnail. Height will try to maintain a 16/9 aspect-ratio */
|
|
2344
|
-
thumbnailWidth?: CSSProperties["width"];
|
|
2331
|
+
thumbnailWidth?: React.CSSProperties["width"];
|
|
2345
2332
|
/** Title of the carousel */
|
|
2346
|
-
title?:
|
|
2333
|
+
title?: React.ReactNode;
|
|
2347
2334
|
/** Content slides to be displayed. @see `<HvCarouselSlide />` */
|
|
2348
|
-
children?:
|
|
2335
|
+
children?: React.ReactNode;
|
|
2349
2336
|
/** Custom content to render in the actions area */
|
|
2350
|
-
actions?:
|
|
2337
|
+
actions?: React.ReactNode;
|
|
2351
2338
|
/** Whether Carousel is in "xs mode" - to use in embedded contexts */
|
|
2352
2339
|
xs?: boolean;
|
|
2353
2340
|
/** Whether to show dots instead of arrow pagination. Defaults to true under 5 elements */
|
|
@@ -2367,7 +2354,7 @@ export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "ti
|
|
|
2367
2354
|
/** Carousel configuration options. @see https://www.embla-carousel.com/api/options/ */
|
|
2368
2355
|
carouselOptions?: Parameters<typeof useCarousel>[0];
|
|
2369
2356
|
/** Function that renders the thumbnail. */
|
|
2370
|
-
renderThumbnail?: (index: number) =>
|
|
2357
|
+
renderThumbnail?: (index: number) => React.ReactNode;
|
|
2371
2358
|
/** The callback fired when the active slide changes. */
|
|
2372
2359
|
onChange?: (index: number) => void;
|
|
2373
2360
|
}
|
|
@@ -2380,7 +2367,7 @@ export declare const HvCarouselSlide: ({ classes: classesProp, className, childr
|
|
|
2380
2367
|
|
|
2381
2368
|
export declare type HvCarouselSlideClasses = ExtractNames<typeof useClasses_44>;
|
|
2382
2369
|
|
|
2383
|
-
export declare interface HvCarouselSlideProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
2370
|
+
export declare interface HvCarouselSlideProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
2384
2371
|
/** A Jss Object used to override or extend the styles applied. */
|
|
2385
2372
|
classes?: HvCarouselSlideClasses;
|
|
2386
2373
|
/** The width of the Slide. Defaults to `100%` */
|
|
@@ -2392,9 +2379,9 @@ export declare interface HvCarouselSlideProps extends ImgHTMLAttributes<HTMLImag
|
|
|
2392
2379
|
export declare const HvCarouselThumbnails: ForwardRefExoticComponent<HvCarouselThumbnailsProps & RefAttributes<HTMLDivElement>>;
|
|
2393
2380
|
|
|
2394
2381
|
declare interface HvCarouselThumbnailsProps extends HvBaseProps<HTMLDivElement, "children">, Pick<HvPaginationProps, "page" | "pages" | "canPrevious" | "canNext"> {
|
|
2395
|
-
width?: CSSProperties["width"];
|
|
2382
|
+
width?: React.CSSProperties["width"];
|
|
2396
2383
|
classes?: ExtractNames<typeof useClasses_43>;
|
|
2397
|
-
onThumbnailClick?: (event:
|
|
2384
|
+
onThumbnailClick?: (event: React.MouseEvent<HTMLButtonElement>, index: number) => void;
|
|
2398
2385
|
thumbnailProps?: Partial<HvButtonProps>;
|
|
2399
2386
|
showDots?: boolean;
|
|
2400
2387
|
renderThumbnail?: (index: number) => React.ReactNode;
|
|
@@ -2457,7 +2444,7 @@ export declare interface HvCharCounterProps extends HvBaseProps {
|
|
|
2457
2444
|
*/
|
|
2458
2445
|
export declare const HvCheckBox: ForwardRefExoticComponent<Omit<HvCheckBoxProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
2459
2446
|
|
|
2460
|
-
export declare type HvCheckBoxClasses = ExtractNames<typeof
|
|
2447
|
+
export declare type HvCheckBoxClasses = ExtractNames<typeof useClasses_36>;
|
|
2461
2448
|
|
|
2462
2449
|
/**
|
|
2463
2450
|
* A checkbox group is a type of selection list that allows the user to select multiple options through the use of checkboxes.
|
|
@@ -2770,7 +2757,7 @@ export declare interface HvControlsProps extends HvBaseProps {
|
|
|
2770
2757
|
/**
|
|
2771
2758
|
* Callback called when the view switcher button is pressed
|
|
2772
2759
|
*/
|
|
2773
|
-
onViewChange?: (event:
|
|
2760
|
+
onViewChange?: (event: React.MouseEvent<HTMLButtonElement>, id: string) => void;
|
|
2774
2761
|
/**
|
|
2775
2762
|
* if `true` the button to switch views is not rendered
|
|
2776
2763
|
*/
|
|
@@ -3155,7 +3142,7 @@ declare interface HvDropdownListProps {
|
|
|
3155
3142
|
/**
|
|
3156
3143
|
* A function to be executed whenever the Cancel button is activated.
|
|
3157
3144
|
*/
|
|
3158
|
-
onCancel: (event:
|
|
3145
|
+
onCancel: (event: React.MouseEvent) => void;
|
|
3159
3146
|
/**
|
|
3160
3147
|
* An object containing all the labels for the dropdown.
|
|
3161
3148
|
*/
|
|
@@ -3187,11 +3174,11 @@ declare interface HvDropdownListProps {
|
|
|
3187
3174
|
}
|
|
3188
3175
|
|
|
3189
3176
|
/**
|
|
3190
|
-
* A
|
|
3177
|
+
* A dropdown menu is a graphical control element, similar to a list box, that allows the user to choose a value from a list.
|
|
3191
3178
|
*/
|
|
3192
3179
|
export declare const HvDropDownMenu: (props: HvDropDownMenuProps) => JSX_3.Element;
|
|
3193
3180
|
|
|
3194
|
-
export declare type HvDropDownMenuClasses = ExtractNames<typeof
|
|
3181
|
+
export declare type HvDropDownMenuClasses = ExtractNames<typeof useClasses_34>;
|
|
3195
3182
|
|
|
3196
3183
|
export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
3197
3184
|
/** Icon. */
|
|
@@ -3673,7 +3660,7 @@ export declare const HvFocus: ({ classes: classesProp, children, configuration,
|
|
|
3673
3660
|
export declare type HvFocusClasses = ExtractNames<typeof useClasses_2>;
|
|
3674
3661
|
|
|
3675
3662
|
export declare interface HvFocusProps extends HvBaseProps<HTMLElement, "children"> {
|
|
3676
|
-
children:
|
|
3663
|
+
children: React.ReactElement;
|
|
3677
3664
|
/** Extra configuration for the child element. */
|
|
3678
3665
|
configuration?: {
|
|
3679
3666
|
tabIndex?: number;
|
|
@@ -3685,7 +3672,7 @@ export declare interface HvFocusProps extends HvBaseProps<HTMLElement, "children
|
|
|
3685
3672
|
/** Whether the focus is disabled. */
|
|
3686
3673
|
disabled?: boolean;
|
|
3687
3674
|
/** The reference to the root element to hold all Focus' context. */
|
|
3688
|
-
rootRef?: RefObject<HTMLElement>;
|
|
3675
|
+
rootRef?: React.RefObject<HTMLElement>;
|
|
3689
3676
|
/** Show focus when click element. v */
|
|
3690
3677
|
focusOnClick?: boolean;
|
|
3691
3678
|
/** Show focus when click element. v */
|
|
@@ -4016,7 +4003,7 @@ declare type HvHeaderMenuBarClasses = ExtractNames<typeof useClasses_78>;
|
|
|
4016
4003
|
declare interface HvHeaderMenuBarProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
4017
4004
|
data: HvHeaderNavigationItemProp[];
|
|
4018
4005
|
type?: BarProps["type"];
|
|
4019
|
-
onClick?: (event:
|
|
4006
|
+
onClick?: (event: React.MouseEvent, selection: HvHeaderNavigationItemProp) => void;
|
|
4020
4007
|
levels: number;
|
|
4021
4008
|
currentLevel: number;
|
|
4022
4009
|
classes?: HvHeaderMenuBarClasses;
|
|
@@ -4029,7 +4016,7 @@ declare type HvHeaderMenuItemClasses = ExtractNames<typeof useClasses_79>;
|
|
|
4029
4016
|
declare interface HvHeaderMenuItemProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
4030
4017
|
item: HvHeaderNavigationItemProp;
|
|
4031
4018
|
type?: string;
|
|
4032
|
-
onClick?: (event:
|
|
4019
|
+
onClick?: (event: React.MouseEvent, selection: HvHeaderNavigationItemProp) => void;
|
|
4033
4020
|
levels: number;
|
|
4034
4021
|
currentLevel: number;
|
|
4035
4022
|
classes?: HvHeaderMenuItemClasses;
|
|
@@ -4051,7 +4038,7 @@ export declare interface HvHeaderNavigationItemProp {
|
|
|
4051
4038
|
export declare interface HvHeaderNavigationProps extends HvBaseProps<HTMLDivElement, "onClick"> {
|
|
4052
4039
|
data: HvHeaderNavigationItemProp[];
|
|
4053
4040
|
selected?: string;
|
|
4054
|
-
onClick?: (event:
|
|
4041
|
+
onClick?: (event: React.MouseEvent, selection: HvHeaderNavigationItemProp) => void;
|
|
4055
4042
|
classes?: HvHeaderNavigationClasses;
|
|
4056
4043
|
/**
|
|
4057
4044
|
* The number of levels to show: the first level (1) or the first and second level (2).
|
|
@@ -4161,13 +4148,13 @@ export declare interface HvInlineEditorProps extends HvBaseProps<HTMLDivElement,
|
|
|
4161
4148
|
/** Whether the Edit icon should always be visible */
|
|
4162
4149
|
showIcon?: boolean;
|
|
4163
4150
|
/** Component to use as the input. The component "inherit" from `HvBaseInput` (such as `HvInput` or `HvTextArea`) */
|
|
4164
|
-
component?:
|
|
4151
|
+
component?: React.ElementType;
|
|
4165
4152
|
/** Variant of the HvTypography to display */
|
|
4166
4153
|
variant?: HvTypographyVariants;
|
|
4167
4154
|
/** Called when the input is blurred. */
|
|
4168
|
-
onBlur?: (event:
|
|
4155
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement | HTMLInputElement>, value: string) => void;
|
|
4169
4156
|
/** Called when the input value changes. */
|
|
4170
|
-
onChange?: (event:
|
|
4157
|
+
onChange?: (event: React.SyntheticEvent, value: string) => void;
|
|
4171
4158
|
/** Props passed to the HvButton component */
|
|
4172
4159
|
buttonProps?: HvButtonProps;
|
|
4173
4160
|
/** Props passed to the HvTypography text component */
|
|
@@ -4183,7 +4170,7 @@ export declare interface HvInlineEditorProps extends HvBaseProps<HTMLDivElement,
|
|
|
4183
4170
|
/**
|
|
4184
4171
|
* A text input box is a graphical control element intended to enable the user to input text information to be used by the software.
|
|
4185
4172
|
*/
|
|
4186
|
-
export declare const HvInput:
|
|
4173
|
+
export declare const HvInput: ForwardRefExoticComponent<HvInputProps & RefAttributes<InputElement>>;
|
|
4187
4174
|
|
|
4188
4175
|
export declare type HvInputClasses = ExtractNames<typeof useClasses_45>;
|
|
4189
4176
|
|
|
@@ -4202,9 +4189,9 @@ export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange
|
|
|
4202
4189
|
* The form element must be labeled for accessibility reasons.
|
|
4203
4190
|
* If not provided, an aria-label or aria-labelledby must be inputted via inputProps.
|
|
4204
4191
|
*/
|
|
4205
|
-
label?:
|
|
4192
|
+
label?: React.ReactNode;
|
|
4206
4193
|
/** Provide additional descriptive text for the form element. */
|
|
4207
|
-
description?:
|
|
4194
|
+
description?: React.ReactNode;
|
|
4208
4195
|
/** Indicates that the form element is disabled. */
|
|
4209
4196
|
disabled?: boolean;
|
|
4210
4197
|
/** Indicates that the form element is not editable. */
|
|
@@ -4232,24 +4219,24 @@ export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange
|
|
|
4232
4219
|
*
|
|
4233
4220
|
* Also called when the search button is clicked (when type is "search").
|
|
4234
4221
|
*/
|
|
4235
|
-
onEnter?: (event:
|
|
4222
|
+
onEnter?: (event: React.KeyboardEvent<InputElement> | React.MouseEvent, value: string) => void;
|
|
4236
4223
|
/**
|
|
4237
4224
|
* The function that will be executed onBlur, allows checking the validation state,
|
|
4238
4225
|
* it receives the value and the validation state.
|
|
4239
4226
|
*/
|
|
4240
|
-
onBlur?: (event:
|
|
4227
|
+
onBlur?: (event: React.FocusEvent<InputElement>, value: string, validationState: HvInputValidity) => void;
|
|
4241
4228
|
/**
|
|
4242
4229
|
* The function that will be executed onBlur, allows checking the value state,
|
|
4243
4230
|
* it receives the value.
|
|
4244
4231
|
*/
|
|
4245
|
-
onFocus?: (event:
|
|
4232
|
+
onFocus?: (event: React.FocusEvent<InputElement>, value: string) => void;
|
|
4246
4233
|
/**
|
|
4247
4234
|
* The function that will be executed onKeyDown, allows checking the value state,
|
|
4248
4235
|
* it receives the event and value.
|
|
4249
4236
|
*/
|
|
4250
|
-
onKeyDown?: (event:
|
|
4237
|
+
onKeyDown?: (event: React.KeyboardEvent<InputElement> | React.MouseEvent, value: string) => void;
|
|
4251
4238
|
/** The input type. */
|
|
4252
|
-
type?: HTMLInputTypeAttribute;
|
|
4239
|
+
type?: React.HTMLInputTypeAttribute;
|
|
4253
4240
|
/** The placeholder value of the input. */
|
|
4254
4241
|
placeholder?: string;
|
|
4255
4242
|
/** Internal labels?. */
|
|
@@ -4287,7 +4274,7 @@ export declare interface HvInputProps extends HvBaseProps<HTMLElement, "onChange
|
|
|
4287
4274
|
*/
|
|
4288
4275
|
showValidationIcon?: boolean;
|
|
4289
4276
|
/** A custom icon to be added into the input. */
|
|
4290
|
-
endAdornment?:
|
|
4277
|
+
endAdornment?: React.ReactNode;
|
|
4291
4278
|
/** The maximum allowed length of the characters, if this value is null no check will be performed. */
|
|
4292
4279
|
maxCharQuantity?: number;
|
|
4293
4280
|
/** The minimum allowed length of the characters, if this value is null no check will be perform. */
|
|
@@ -4432,7 +4419,7 @@ export declare type HvListClasses = ExtractNames<typeof useClasses_84>;
|
|
|
4432
4419
|
* The simple list is for continuous <b>vertical indexes of text or icons+text</b>. The content of these lists must be simple: ideally simples fields.
|
|
4433
4420
|
* This pattern is ideal for <b>selections</b>. It should be used inside a HvPanel.
|
|
4434
4421
|
*/
|
|
4435
|
-
export declare const HvListContainer:
|
|
4422
|
+
export declare const HvListContainer: ForwardRefExoticComponent<HvListContainerProps & RefAttributes<HTMLUListElement>>;
|
|
4436
4423
|
|
|
4437
4424
|
export declare type HvListContainerClasses = ExtractNames<typeof useClasses_3>;
|
|
4438
4425
|
|
|
@@ -4455,7 +4442,7 @@ export declare interface HvListContainerProps extends HvBaseProps<HTMLUListEleme
|
|
|
4455
4442
|
/**
|
|
4456
4443
|
* ListItem description/documentation paragraph
|
|
4457
4444
|
*/
|
|
4458
|
-
export declare const HvListItem:
|
|
4445
|
+
export declare const HvListItem: ForwardRefExoticComponent<HvListItemProps & RefAttributes<any>>;
|
|
4459
4446
|
|
|
4460
4447
|
export declare type HvListItemClasses = ExtractNames<typeof useClasses_4>;
|
|
4461
4448
|
|
|
@@ -4489,7 +4476,7 @@ export declare interface HvListItemProps extends HvBaseProps<HTMLLIElement> {
|
|
|
4489
4476
|
* or a selector (preventing the double focus ring, propagating the checked and disabled states and wiring the onChange event).
|
|
4490
4477
|
* If unwanted, the element should be placed directly as a child.
|
|
4491
4478
|
*/
|
|
4492
|
-
startAdornment?:
|
|
4479
|
+
startAdornment?: React.ReactNode;
|
|
4493
4480
|
/**
|
|
4494
4481
|
* Element placed after the children and aligned next to the margin.
|
|
4495
4482
|
* Also removes the right padding (gutter).
|
|
@@ -4497,7 +4484,7 @@ export declare interface HvListItemProps extends HvBaseProps<HTMLLIElement> {
|
|
|
4497
4484
|
* Some modifications are applied, assuming that it is an icon (changing the color when the item is disabled).
|
|
4498
4485
|
* If unwanted, the element should be placed directly as a child.
|
|
4499
4486
|
*/
|
|
4500
|
-
endAdornment?:
|
|
4487
|
+
endAdornment?: React.ReactNode;
|
|
4501
4488
|
/** The value to be set on the 'li' element */
|
|
4502
4489
|
value?: any;
|
|
4503
4490
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -4650,7 +4637,7 @@ export declare interface HvNotistackSnackMessageProps extends OptionsObject {
|
|
|
4650
4637
|
/** class name to apply on the root node */
|
|
4651
4638
|
className?: string;
|
|
4652
4639
|
/** Your component tree. */
|
|
4653
|
-
message?: ReactNode;
|
|
4640
|
+
message?: React.ReactNode;
|
|
4654
4641
|
/** Variant of the snackbar. */
|
|
4655
4642
|
variant?: HvSnackbarVariant;
|
|
4656
4643
|
/** Extra values to pass to the snackbar. */
|
|
@@ -4663,11 +4650,11 @@ export declare const hvNumberFallback: (value: any) => number | "—";
|
|
|
4663
4650
|
|
|
4664
4651
|
export declare const HvOption: <OptionValue extends {}>(props: HvOptionProps<OptionValue> & RefAttributes<HTMLLIElement>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
4665
4652
|
|
|
4666
|
-
export declare type HvOptionClasses = ExtractNames<typeof
|
|
4653
|
+
export declare type HvOptionClasses = ExtractNames<typeof useClasses_13>;
|
|
4667
4654
|
|
|
4668
4655
|
export declare const HvOptionGroup: ForwardRefExoticComponent<Omit<HvOptionGroupProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
4669
4656
|
|
|
4670
|
-
export declare type HvOptionGroupClasses = ExtractNames<typeof
|
|
4657
|
+
export declare type HvOptionGroupClasses = ExtractNames<typeof useClasses_14>;
|
|
4671
4658
|
|
|
4672
4659
|
export declare interface HvOptionGroupProps extends OptionGroupProps {
|
|
4673
4660
|
classes?: HvOptionGroupClasses;
|
|
@@ -4735,9 +4722,9 @@ export declare interface HvPaginationProps extends HvBaseProps {
|
|
|
4735
4722
|
/** An object containing all the labels for the component. */
|
|
4736
4723
|
labels?: HvPaginationLabels;
|
|
4737
4724
|
/** Other props to show page component. */
|
|
4738
|
-
showPageProps?: HTMLAttributes<HTMLDivElement>;
|
|
4725
|
+
showPageProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
4739
4726
|
/** Other props to pagination component. */
|
|
4740
|
-
navigationProps?: HTMLAttributes<HTMLDivElement>;
|
|
4727
|
+
navigationProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
4741
4728
|
/** Extra properties passed to the input component representing the current pages. */
|
|
4742
4729
|
currentPageInputProps?: HvInputProps;
|
|
4743
4730
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -4815,7 +4802,7 @@ export declare interface HvProviderProps {
|
|
|
4815
4802
|
/**
|
|
4816
4803
|
* Your component tree.
|
|
4817
4804
|
*/
|
|
4818
|
-
children?:
|
|
4805
|
+
children?: React.ReactNode;
|
|
4819
4806
|
/**
|
|
4820
4807
|
* Id of your root element.
|
|
4821
4808
|
*/
|
|
@@ -5254,7 +5241,7 @@ export declare type HvQueryBuilderRenderers = Record<string, ValueRenderer>;
|
|
|
5254
5241
|
* Individual use of radio buttons, at least uncontrolled, is unadvised as React state management doesn't
|
|
5255
5242
|
* respond to the browser's native management of radio inputs checked state.
|
|
5256
5243
|
*/
|
|
5257
|
-
export declare const HvRadio:
|
|
5244
|
+
export declare const HvRadio: ForwardRefExoticComponent<Omit<HvRadioProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
5258
5245
|
|
|
5259
5246
|
export declare type HvRadioClasses = ExtractNames<typeof useClasses_93>;
|
|
5260
5247
|
|
|
@@ -5360,7 +5347,7 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
|
|
|
5360
5347
|
* The form element must be labeled for accessibility reasons.
|
|
5361
5348
|
* If not provided, an aria-label or aria-labelledby must be provided.
|
|
5362
5349
|
*/
|
|
5363
|
-
label?:
|
|
5350
|
+
label?: React.ReactNode;
|
|
5364
5351
|
/**
|
|
5365
5352
|
* Properties passed on to the label element.
|
|
5366
5353
|
*/
|
|
@@ -5412,7 +5399,7 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
|
|
|
5412
5399
|
/**
|
|
5413
5400
|
* The callback fired when the radio button is pressed.
|
|
5414
5401
|
*/
|
|
5415
|
-
onChange?: (event:
|
|
5402
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean, value: any) => void;
|
|
5416
5403
|
/**
|
|
5417
5404
|
* Whether the selector should use semantic colors.
|
|
5418
5405
|
*/
|
|
@@ -5420,12 +5407,12 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
|
|
|
5420
5407
|
/**
|
|
5421
5408
|
* Properties passed on to the input element.
|
|
5422
5409
|
*/
|
|
5423
|
-
inputProps?:
|
|
5410
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
5424
5411
|
/**
|
|
5425
5412
|
* Callback fired when the component is focused with a keyboard.
|
|
5426
5413
|
* We trigger a `onFocus` callback too.
|
|
5427
5414
|
*/
|
|
5428
|
-
onFocusVisible?: (event:
|
|
5415
|
+
onFocusVisible?: (event: React.FocusEvent<any>) => void;
|
|
5429
5416
|
/** @ignore */
|
|
5430
5417
|
ref?: RadioProps["ref"];
|
|
5431
5418
|
/** @ignore */
|
|
@@ -5675,7 +5662,7 @@ export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>
|
|
|
5675
5662
|
* <HvOption value="cat">Cat</HvOption>
|
|
5676
5663
|
* </HvSelect>
|
|
5677
5664
|
* */
|
|
5678
|
-
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean>(props: HvSelectProps<OptionValue, Multiple> &
|
|
5665
|
+
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean>(props: HvSelectProps<OptionValue, Multiple> & RefAttributes<HTMLButtonElement>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
5679
5666
|
|
|
5680
5667
|
export declare type HvSelectClasses = ExtractNames<typeof useClasses_11>;
|
|
5681
5668
|
|
|
@@ -5685,9 +5672,9 @@ export declare type HvSelectClasses = ExtractNames<typeof useClasses_11>;
|
|
|
5685
5672
|
* Although it supports multi-selection, DS recommends the use of a selection list
|
|
5686
5673
|
* when it’s clear that the user can only select just one option from the range provided.
|
|
5687
5674
|
*/
|
|
5688
|
-
export declare const HvSelectionList:
|
|
5675
|
+
export declare const HvSelectionList: ForwardRefExoticComponent<HvSelectionListProps & RefAttributes<HTMLUListElement>>;
|
|
5689
5676
|
|
|
5690
|
-
export declare type HvSelectionListClasses = ExtractNames<typeof
|
|
5677
|
+
export declare type HvSelectionListClasses = ExtractNames<typeof useClasses_15>;
|
|
5691
5678
|
|
|
5692
5679
|
export declare interface HvSelectionListProps extends HvBaseProps<HTMLUListElement, "onChange"> {
|
|
5693
5680
|
/** The form element name. */
|
|
@@ -5709,9 +5696,9 @@ export declare interface HvSelectionListProps extends HvBaseProps<HTMLUListEleme
|
|
|
5709
5696
|
* The form element must be labeled for accessibility reasons.
|
|
5710
5697
|
* If not provided, an aria-label or aria-labelledby must be provided instead.
|
|
5711
5698
|
*/
|
|
5712
|
-
label?:
|
|
5699
|
+
label?: React.ReactNode;
|
|
5713
5700
|
/** Provide additional descriptive text for the form element. */
|
|
5714
|
-
description?:
|
|
5701
|
+
description?: React.ReactNode;
|
|
5715
5702
|
/** Indicates that the form element is disabled. If `true` the state is propagated to the children list items. */
|
|
5716
5703
|
disabled?: boolean;
|
|
5717
5704
|
/** Indicates that the form element is not editable. */
|
|
@@ -5740,14 +5727,14 @@ export declare interface HvSelectionListProps extends HvBaseProps<HTMLUListEleme
|
|
|
5740
5727
|
/** Indicates whether the list orientation is horizontal or vertical. Defaults to vertical. */
|
|
5741
5728
|
orientation?: "vertical" | "horizontal";
|
|
5742
5729
|
/** The callback fired when the value changes. */
|
|
5743
|
-
onChange?: (event:
|
|
5730
|
+
onChange?: (event: React.MouseEvent, value: any) => void;
|
|
5744
5731
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
5745
5732
|
classes?: HvSelectionListClasses;
|
|
5746
5733
|
}
|
|
5747
5734
|
|
|
5748
|
-
export declare interface HvSelectProps<OptionValue extends {}, Multiple extends boolean = false> extends Omit<HvFormElementProps, "value" | "defaultValue" | "onChange">, Pick<UseSelectParameters<OptionValue, Multiple>, "name" | "required" | "disabled" | "multiple" | "open" | "defaultOpen" | "value" | "defaultValue" | "buttonRef" | "options" | "getSerializedValue" | "onChange" | "onOpenChange"> {
|
|
5735
|
+
export declare interface HvSelectProps<OptionValue extends {}, Multiple extends boolean = false> extends Omit<HvFormElementProps, "value" | "defaultValue" | "onChange">, Pick<UseSelectParameters<OptionValue, Multiple>, "name" | "required" | "disabled" | "multiple" | "open" | "defaultOpen" | "value" | "defaultValue" | "buttonRef" | "options" | "getSerializedValue" | "onChange" | "onOpenChange">, Pick<HvButtonProps, "size" | "variant"> {
|
|
5749
5736
|
classes?: HvSelectClasses;
|
|
5750
|
-
placeholder?:
|
|
5737
|
+
placeholder?: React.ReactNode;
|
|
5751
5738
|
autoComplete?: string;
|
|
5752
5739
|
/** Whether the width of the select panel can vary independently. */
|
|
5753
5740
|
variableWidth?: boolean;
|
|
@@ -5818,7 +5805,7 @@ export declare interface HvSkeletonProps extends HvBaseProps {
|
|
|
5818
5805
|
/**
|
|
5819
5806
|
* Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.
|
|
5820
5807
|
*/
|
|
5821
|
-
export declare const HvSlider:
|
|
5808
|
+
export declare const HvSlider: ForwardRefExoticComponent<HvSliderProps & RefAttributes<SliderRef>>;
|
|
5822
5809
|
|
|
5823
5810
|
export declare type HvSliderClasses = ExtractNames<typeof useClasses_100>;
|
|
5824
5811
|
|
|
@@ -5832,7 +5819,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5832
5819
|
*
|
|
5833
5820
|
* If not provided, an aria-label or aria-labelledby must be inputted via sliderProps.
|
|
5834
5821
|
*/
|
|
5835
|
-
label?:
|
|
5822
|
+
label?: React.ReactNode;
|
|
5836
5823
|
/**
|
|
5837
5824
|
* Indicates that the slider is disabled.
|
|
5838
5825
|
*/
|
|
@@ -5869,7 +5856,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5869
5856
|
/**
|
|
5870
5857
|
* The error message to show when `status` is "invalid".
|
|
5871
5858
|
*/
|
|
5872
|
-
statusMessage?:
|
|
5859
|
+
statusMessage?: React.ReactNode;
|
|
5873
5860
|
/**
|
|
5874
5861
|
* The values array to apply to the component
|
|
5875
5862
|
*/
|
|
@@ -5904,7 +5891,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5904
5891
|
/**
|
|
5905
5892
|
* The function executed after a blur ocurred in the slider.
|
|
5906
5893
|
*/
|
|
5907
|
-
onBlur?: (event:
|
|
5894
|
+
onBlur?: (event: React.FocusEvent, knobsValues: number[], status?: HvFormStatus | HvFormStatus[]) => void;
|
|
5908
5895
|
/**
|
|
5909
5896
|
* The separation in points between marks.
|
|
5910
5897
|
* example: if 10 divisions and a markstep of 2 there will be 5 marks.
|
|
@@ -5930,12 +5917,12 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5930
5917
|
* A formatting function used to add format to the marks in the track,
|
|
5931
5918
|
* the function receives the mark text
|
|
5932
5919
|
*/
|
|
5933
|
-
formatMark?: (label:
|
|
5920
|
+
formatMark?: (label: React.ReactNode) => React.ReactNode;
|
|
5934
5921
|
/**
|
|
5935
5922
|
* A formatting function used to add format to the tooltip in the track,
|
|
5936
5923
|
* the function receives the mark text
|
|
5937
5924
|
*/
|
|
5938
|
-
formatTooltip?: (label:
|
|
5925
|
+
formatTooltip?: (label: React.ReactNode) => React.ReactNode;
|
|
5939
5926
|
/**
|
|
5940
5927
|
* If `true` the knobs can't have the same value, if `false` knobs can have the same value.
|
|
5941
5928
|
*/
|
|
@@ -5947,7 +5934,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5947
5934
|
/**
|
|
5948
5935
|
* Attributes applied to the knob element.
|
|
5949
5936
|
*/
|
|
5950
|
-
knobProps?:
|
|
5937
|
+
knobProps?: React.HTMLAttributes<HTMLDivElement>[];
|
|
5951
5938
|
/**
|
|
5952
5939
|
* The classes object to be applied into the root object.
|
|
5953
5940
|
*/
|
|
@@ -6001,7 +5988,7 @@ export declare interface HvSnackbarProps extends Omit<SnackbarProps, "action" |
|
|
|
6001
5988
|
* Typically onClose is used to set state in the parent component, which is used to control the Snackbar open prop.
|
|
6002
5989
|
* The reason parameter can optionally be used to control the response to onClose, for example ignoring click away.
|
|
6003
5990
|
* */
|
|
6004
|
-
onClose?: (
|
|
5991
|
+
onClose?: (event: Event | React.SyntheticEvent<any, Event>, reason: SnackbarCloseReason) => void;
|
|
6005
5992
|
/** The message to display. */
|
|
6006
5993
|
label?: React.ReactNode;
|
|
6007
5994
|
/**
|
|
@@ -6090,7 +6077,7 @@ export declare interface HvStackProps extends HvBaseProps {
|
|
|
6090
6077
|
* - If `true` the Material-UI Divider component will be used.
|
|
6091
6078
|
* - If a React node is passed then the custom divider will be used.
|
|
6092
6079
|
*/
|
|
6093
|
-
divider?: boolean |
|
|
6080
|
+
divider?: boolean | React.ReactNode;
|
|
6094
6081
|
/** The properties to pass on to the Material-UI component. */
|
|
6095
6082
|
dividerProps?: DividerProps;
|
|
6096
6083
|
/** Sets whether or not there should be arrow navigation between the stack elements. */
|
|
@@ -6103,14 +6090,14 @@ export declare const hvStringFallback: (value: any) => string;
|
|
|
6103
6090
|
|
|
6104
6091
|
export declare interface HvSuggestion {
|
|
6105
6092
|
id?: string;
|
|
6106
|
-
label:
|
|
6093
|
+
label: React.ReactNode;
|
|
6107
6094
|
value?: string;
|
|
6108
6095
|
disabled?: boolean;
|
|
6109
6096
|
}
|
|
6110
6097
|
|
|
6111
|
-
export declare const HvSuggestions:
|
|
6098
|
+
export declare const HvSuggestions: ForwardRefExoticComponent<HvSuggestionsProps & RefAttributes<unknown>>;
|
|
6112
6099
|
|
|
6113
|
-
export declare type HvSuggestionsClasses = ExtractNames<typeof
|
|
6100
|
+
export declare type HvSuggestionsClasses = ExtractNames<typeof useClasses_16>;
|
|
6114
6101
|
|
|
6115
6102
|
export declare interface HvSuggestionsProps extends HvBaseProps {
|
|
6116
6103
|
/** Whether suggestions is visible. */
|
|
@@ -6120,7 +6107,7 @@ export declare interface HvSuggestionsProps extends HvBaseProps {
|
|
|
6120
6107
|
/** Array of { id, label, ...others } values to display in the suggestion list */
|
|
6121
6108
|
suggestionValues?: HvSuggestion[] | null;
|
|
6122
6109
|
/** Function called when a suggestion is selected */
|
|
6123
|
-
onSuggestionSelected?: (event:
|
|
6110
|
+
onSuggestionSelected?: (event: React.MouseEvent, value: HvSuggestion) => void;
|
|
6124
6111
|
/** Function called when suggestion list is closed */
|
|
6125
6112
|
onClose?: (event: HvClickOutsideEvent) => void;
|
|
6126
6113
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -6139,7 +6126,7 @@ export declare type HvSupportColors = Record<HvSupportColorKeys, string>;
|
|
|
6139
6126
|
* Use when two states are <b>opposite</b> and to trigger immediate
|
|
6140
6127
|
* changes in the system.
|
|
6141
6128
|
*/
|
|
6142
|
-
export declare const HvSwitch:
|
|
6129
|
+
export declare const HvSwitch: ForwardRefExoticComponent<Omit<HvSwitchProps, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
6143
6130
|
|
|
6144
6131
|
export declare type HvSwitchClasses = ExtractNames<typeof useClasses_105>;
|
|
6145
6132
|
|
|
@@ -6186,7 +6173,7 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
|
|
|
6186
6173
|
* The form element must be labeled for accessibility reasons.
|
|
6187
6174
|
* If not provided, an aria-label or aria-labelledby must be inputted via inputProps.
|
|
6188
6175
|
*/
|
|
6189
|
-
label?:
|
|
6176
|
+
label?: React.ReactNode;
|
|
6190
6177
|
/**
|
|
6191
6178
|
* Properties passed on to the label element.
|
|
6192
6179
|
*/
|
|
@@ -6237,11 +6224,11 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
|
|
|
6237
6224
|
/**
|
|
6238
6225
|
* The callback fired when the switch is pressed.
|
|
6239
6226
|
*/
|
|
6240
|
-
onChange?: (event:
|
|
6227
|
+
onChange?: (event: React.ChangeEvent, checked: boolean, value: any) => void;
|
|
6241
6228
|
/**
|
|
6242
6229
|
* Properties passed on to the input element.
|
|
6243
6230
|
*/
|
|
6244
|
-
inputProps?:
|
|
6231
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
6245
6232
|
/** @ignore */
|
|
6246
6233
|
ref?: SwitchProps["ref"];
|
|
6247
6234
|
/** @ignore */
|
|
@@ -6268,7 +6255,7 @@ export declare const HvTable: ForwardRefExoticComponent<HvTableProps & RefAttrib
|
|
|
6268
6255
|
* HvTableBody acts as a `tbody` element.
|
|
6269
6256
|
* `HvTableCell` and `HvTableRow` elements in it inherit body-specific styles
|
|
6270
6257
|
*/
|
|
6271
|
-
export declare const HvTableBody:
|
|
6258
|
+
export declare const HvTableBody: ForwardRefExoticComponent<HvTableBodyProps & RefAttributes<HTMLElement>>;
|
|
6272
6259
|
|
|
6273
6260
|
export declare type HvTableBodyClasses = ExtractNames<typeof useClasses_108>;
|
|
6274
6261
|
|
|
@@ -6276,12 +6263,12 @@ export declare interface HvTableBodyProps extends HvBaseProps<HTMLTableSectionEl
|
|
|
6276
6263
|
/**
|
|
6277
6264
|
* Content to be rendered
|
|
6278
6265
|
*/
|
|
6279
|
-
children:
|
|
6266
|
+
children: React.ReactNode;
|
|
6280
6267
|
/**
|
|
6281
6268
|
* The component used for the root node. Either a string to use a HTML element or a component.
|
|
6282
6269
|
* Defaults to tbody.
|
|
6283
6270
|
*/
|
|
6284
|
-
component?:
|
|
6271
|
+
component?: React.ElementType;
|
|
6285
6272
|
/** Sets whether or not there should be arrow navigation between the table rows */
|
|
6286
6273
|
withNavigation?: boolean;
|
|
6287
6274
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -6306,13 +6293,13 @@ export declare type HvTableCellAlign = "center" | "inherit" | "justify" | "left"
|
|
|
6306
6293
|
|
|
6307
6294
|
export declare type HvTableCellClasses = ExtractNames<typeof useClasses_51>;
|
|
6308
6295
|
|
|
6309
|
-
export declare interface HvTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
6296
|
+
export declare interface HvTableCellProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
6310
6297
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to td. */
|
|
6311
6298
|
component?: React.ElementType;
|
|
6312
6299
|
/** Content to be rendered */
|
|
6313
6300
|
children?: React.ReactNode;
|
|
6314
6301
|
/** Inline styles to be applied to the root element. */
|
|
6315
|
-
style?: CSSProperties;
|
|
6302
|
+
style?: React.CSSProperties;
|
|
6316
6303
|
/** Set the text-align on the table cell content. */
|
|
6317
6304
|
align?: HvTableCellAlign;
|
|
6318
6305
|
/** Sets the cell's variant. */
|
|
@@ -6391,7 +6378,7 @@ export declare const HvTableHeader: ForwardRefExoticComponent<HvTableHeaderProps
|
|
|
6391
6378
|
|
|
6392
6379
|
export declare type HvTableHeaderClasses = ExtractNames<typeof useClasses_53>;
|
|
6393
6380
|
|
|
6394
|
-
export declare interface HvTableHeaderProps extends Omit<ThHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
6381
|
+
export declare interface HvTableHeaderProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElement>, "align"> {
|
|
6395
6382
|
/** The component used for the root node. Either a string to use a HTML element or a component. Defaults to th. */
|
|
6396
6383
|
component?: React.ElementType;
|
|
6397
6384
|
/** Content to be rendered */
|
|
@@ -6427,7 +6414,7 @@ export declare interface HvTableHeaderProps extends Omit<ThHTMLAttributes<HTMLTa
|
|
|
6427
6414
|
/** Whether or not the cell is being resized */
|
|
6428
6415
|
resizing?: boolean;
|
|
6429
6416
|
/** The resize props injected in the resize handler */
|
|
6430
|
-
resizerProps?: HTMLAttributes<HTMLDivElement>;
|
|
6417
|
+
resizerProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
6431
6418
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6432
6419
|
classes?: HvTableHeaderClasses;
|
|
6433
6420
|
/** Extra props to be passed onto the sort button in the header. */
|
|
@@ -6505,7 +6492,7 @@ export { HvTablePluginHook }
|
|
|
6505
6492
|
|
|
6506
6493
|
declare type HvTablePropGetter<D extends object = Record<string, unknown>, H extends HvTableHeaderRenderer | undefined = HvTableHeaderRenderer> = HvPropGetter<D, H, HvUseTableProps>;
|
|
6507
6494
|
|
|
6508
|
-
export declare interface HvTableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
6495
|
+
export declare interface HvTableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
6509
6496
|
/**
|
|
6510
6497
|
* The component used for the root node. Either a string to use a HTML element or a component.
|
|
6511
6498
|
* Defaults to `table`.
|
|
@@ -6614,7 +6601,7 @@ export declare interface HvTabsProps extends Omit<TabsProps, "onChange"> {
|
|
|
6614
6601
|
*
|
|
6615
6602
|
* It leverages the Chip component from Material UI
|
|
6616
6603
|
*/
|
|
6617
|
-
export declare const HvTag:
|
|
6604
|
+
export declare const HvTag: ForwardRefExoticComponent<Omit<HvTagProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
6618
6605
|
|
|
6619
6606
|
export declare type HvTagClasses = ExtractNames<typeof useClasses_110>;
|
|
6620
6607
|
|
|
@@ -6622,7 +6609,7 @@ export declare function hvTagColumn<D extends object = Record<string, unknown>,
|
|
|
6622
6609
|
|
|
6623
6610
|
export declare interface HvTagProps extends Omit<ChipProps, "color" | "classes" | "onSelect"> {
|
|
6624
6611
|
/** The label of the tag element. */
|
|
6625
|
-
label?:
|
|
6612
|
+
label?: React.ReactNode;
|
|
6626
6613
|
/** Indicates that the form element is disabled. */
|
|
6627
6614
|
disabled?: boolean;
|
|
6628
6615
|
/** The type of the tag element. A tag can be of semantic or categoric type. */
|
|
@@ -6630,20 +6617,20 @@ export declare interface HvTagProps extends Omit<ChipProps, "color" | "classes"
|
|
|
6630
6617
|
/** Background color to be applied to the tag */
|
|
6631
6618
|
color?: HvColorAny;
|
|
6632
6619
|
/** Icon used to customize the delete icon in the Chip element */
|
|
6633
|
-
deleteIcon?:
|
|
6620
|
+
deleteIcon?: React.ReactElement;
|
|
6634
6621
|
/**
|
|
6635
6622
|
* The callback fired when the delete icon is pressed.
|
|
6636
6623
|
* This function has to be provided to the component, in order to render the delete icon
|
|
6637
6624
|
* */
|
|
6638
|
-
onDelete?: (event:
|
|
6625
|
+
onDelete?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
6639
6626
|
/** Callback triggered when any item is clicked. */
|
|
6640
|
-
onClick?: (event:
|
|
6627
|
+
onClick?: (event: React.MouseEvent<HTMLElement>, selected?: boolean) => void;
|
|
6641
6628
|
/** Aria properties to apply to delete button in tag
|
|
6642
6629
|
* @deprecated no longer used
|
|
6643
6630
|
*/
|
|
6644
6631
|
deleteButtonArialLabel?: string;
|
|
6645
6632
|
/** Props to apply to delete icon */
|
|
6646
|
-
deleteButtonProps?: HTMLAttributes<HTMLDivElement>;
|
|
6633
|
+
deleteButtonProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
6647
6634
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6648
6635
|
classes?: HvTagClasses;
|
|
6649
6636
|
/** @ignore */
|
|
@@ -6661,7 +6648,7 @@ export declare interface HvTagProps extends Omit<ChipProps, "color" | "classes"
|
|
|
6661
6648
|
/**
|
|
6662
6649
|
* A tags input is a single or multiline control that allows the input of tags.
|
|
6663
6650
|
*/
|
|
6664
|
-
export declare const HvTagsInput:
|
|
6651
|
+
export declare const HvTagsInput: ForwardRefExoticComponent<HvTagsInputProps & RefAttributes<HTMLUListElement>>;
|
|
6665
6652
|
|
|
6666
6653
|
export declare type HvTagsInputClasses = ExtractNames<typeof useClasses_112>;
|
|
6667
6654
|
|
|
@@ -6677,9 +6664,9 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6677
6664
|
* The form element must be labeled for accessibility reasons.
|
|
6678
6665
|
* If not provided, an aria-label or aria-labelledby must be inputted via inputProps.
|
|
6679
6666
|
*/
|
|
6680
|
-
label?:
|
|
6667
|
+
label?: React.ReactNode;
|
|
6681
6668
|
/** Provide additional descriptive text for the form element. */
|
|
6682
|
-
description?:
|
|
6669
|
+
description?: React.ReactNode;
|
|
6683
6670
|
/** Indicates that the form element is disabled. */
|
|
6684
6671
|
disabled?: boolean;
|
|
6685
6672
|
/** Indicates that the form element is not editable. */
|
|
@@ -6687,15 +6674,15 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6687
6674
|
/** Indicates that the form element is required. */
|
|
6688
6675
|
required?: boolean;
|
|
6689
6676
|
/** The function that will be executed onChange. */
|
|
6690
|
-
onChange?: (event:
|
|
6677
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEventHandler<HTMLElement>, value: HvTagProps[]) => void;
|
|
6691
6678
|
/** The function that will be executed when the element is focused. */
|
|
6692
|
-
onFocus?: (event:
|
|
6679
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>, value: string) => void;
|
|
6693
6680
|
/** The function that will be executed when the element is blurred. */
|
|
6694
|
-
onBlur?: (event:
|
|
6681
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>, value: string) => void;
|
|
6695
6682
|
/** The function that will be executed when a tag is deleted. */
|
|
6696
|
-
onDelete?: (event:
|
|
6683
|
+
onDelete?: (event: React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEventHandler<HTMLElement>, value: HvTagProps, index: number) => void;
|
|
6697
6684
|
/** The function that will be executed when a tag is added. */
|
|
6698
|
-
onAdd?: (event:
|
|
6685
|
+
onAdd?: (event: React.ChangeEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEventHandler<HTMLElement>, value: HvTagProps, index: number) => void;
|
|
6699
6686
|
/** The placeholder value of the input. */
|
|
6700
6687
|
placeholder?: string;
|
|
6701
6688
|
/** If `true` the character counter isn't shown even if maxTagsQuantity is set. */
|
|
@@ -6717,7 +6704,7 @@ export declare interface HvTagsInputProps extends HvBaseProps<HTMLElement, "onCh
|
|
|
6717
6704
|
/** The status of the form element. */
|
|
6718
6705
|
status?: HvFormStatus;
|
|
6719
6706
|
/** The error message to show when `status` is "invalid". */
|
|
6720
|
-
statusMessage?:
|
|
6707
|
+
statusMessage?: React.ReactNode;
|
|
6721
6708
|
/** An Object containing the various texts associated with the input. */
|
|
6722
6709
|
validationMessages?: HvValidationMessages;
|
|
6723
6710
|
/** 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. */
|
|
@@ -7087,7 +7074,7 @@ export declare interface HvTooltipProps extends Omit<TooltipProps, "classes"> {
|
|
|
7087
7074
|
/**
|
|
7088
7075
|
* Node to apply the tooltip.
|
|
7089
7076
|
*/
|
|
7090
|
-
children: ReactElement;
|
|
7077
|
+
children: React.ReactElement;
|
|
7091
7078
|
/**
|
|
7092
7079
|
* Id attribute value of an HTML Element to have the tooltip appended to it.
|
|
7093
7080
|
*/
|
|
@@ -7096,56 +7083,56 @@ export declare interface HvTooltipProps extends Omit<TooltipProps, "classes"> {
|
|
|
7096
7083
|
|
|
7097
7084
|
declare type HvTreeContentClasses = ExtractNames<typeof useClasses_118>;
|
|
7098
7085
|
|
|
7099
|
-
export declare interface HvTreeContentProps extends HTMLAttributes<HTMLElement> {
|
|
7086
|
+
export declare interface HvTreeContentProps extends React.HTMLAttributes<HTMLElement> {
|
|
7100
7087
|
/** className applied to the root element. */
|
|
7101
7088
|
className?: string;
|
|
7102
7089
|
/** Override or extend the styles applied to the component. */
|
|
7103
7090
|
classes?: HvTreeContentClasses;
|
|
7104
7091
|
/** The tree node label. */
|
|
7105
|
-
label?: ReactNode;
|
|
7092
|
+
label?: React.ReactNode;
|
|
7106
7093
|
/** The id of the node. */
|
|
7107
7094
|
nodeId: string;
|
|
7108
7095
|
/** The icon to display next to the tree node's label. */
|
|
7109
|
-
icon?: ReactNode;
|
|
7096
|
+
icon?: React.ReactNode;
|
|
7110
7097
|
/** The icon to display next to the tree node's label. Either an expansion or collapse icon. */
|
|
7111
|
-
expansionIcon?: ReactNode;
|
|
7098
|
+
expansionIcon?: React.ReactNode;
|
|
7112
7099
|
/** The icon to display next to the tree node's label. Either a parent or end icon. */
|
|
7113
|
-
displayIcon?: ReactNode;
|
|
7100
|
+
displayIcon?: React.ReactNode;
|
|
7114
7101
|
}
|
|
7115
7102
|
|
|
7116
7103
|
export declare const HvTreeItem: ForwardRefExoticComponent<HvTreeItemProps & RefAttributes<HTMLLIElement>>;
|
|
7117
7104
|
|
|
7118
7105
|
export declare type HvTreeItemClasses = ExtractNames<typeof useClasses_117>;
|
|
7119
7106
|
|
|
7120
|
-
export declare interface HvTreeItemProps extends HTMLAttributes<HTMLElement> {
|
|
7107
|
+
export declare interface HvTreeItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
7121
7108
|
/** The element id */
|
|
7122
7109
|
id?: string;
|
|
7123
7110
|
/** The id of the node. */
|
|
7124
7111
|
nodeId: string;
|
|
7125
7112
|
/** The tree node label. */
|
|
7126
|
-
label?: ReactNode;
|
|
7113
|
+
label?: React.ReactNode;
|
|
7127
7114
|
/** Override or extend the styles applied to the component. */
|
|
7128
7115
|
classes?: HvTreeItemClasses;
|
|
7129
7116
|
/** If `true`, the node is disabled. */
|
|
7130
7117
|
disabled?: boolean;
|
|
7131
7118
|
/** The icon to display next to the tree node's label. */
|
|
7132
|
-
icon?: ReactNode;
|
|
7119
|
+
icon?: React.ReactNode;
|
|
7133
7120
|
/** The component used for the content node. */
|
|
7134
|
-
ContentComponent?: JSXElementConstructor<HvTreeContentProps>;
|
|
7121
|
+
ContentComponent?: React.JSXElementConstructor<HvTreeContentProps>;
|
|
7135
7122
|
/** Props applied to the content component */
|
|
7136
7123
|
ContentProps?: HvTreeContentProps;
|
|
7137
7124
|
/** The content of the component. */
|
|
7138
|
-
children?: ReactNode;
|
|
7125
|
+
children?: React.ReactNode;
|
|
7139
7126
|
/** className applied to the root element. */
|
|
7140
7127
|
className?: string;
|
|
7141
7128
|
/** The icon used to collapse the node. */
|
|
7142
|
-
collapseIcon?: ReactNode;
|
|
7129
|
+
collapseIcon?: React.ReactNode;
|
|
7143
7130
|
/** The icon displayed next to an end node. */
|
|
7144
|
-
endIcon?: ReactNode;
|
|
7131
|
+
endIcon?: React.ReactNode;
|
|
7145
7132
|
/** The icon used to expand the node. */
|
|
7146
|
-
expandIcon?: ReactNode;
|
|
7133
|
+
expandIcon?: React.ReactNode;
|
|
7147
7134
|
/** The component used for the transition. */
|
|
7148
|
-
TransitionComponent?: JSXElementConstructor<TransitionProps>;
|
|
7135
|
+
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
7149
7136
|
/** Props applied to the transition component */
|
|
7150
7137
|
TransitionProps?: TransitionProps;
|
|
7151
7138
|
}
|
|
@@ -7350,7 +7337,7 @@ export declare interface HvVerticalNavigationActionProps {
|
|
|
7350
7337
|
/**
|
|
7351
7338
|
* Callback called when clicked.
|
|
7352
7339
|
*/
|
|
7353
|
-
onClick?: MouseEventHandler<HTMLElement>;
|
|
7340
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
7354
7341
|
}
|
|
7355
7342
|
|
|
7356
7343
|
export declare const HvVerticalNavigationActions: ({ className, classes: classesProp, id, children, ...others }: HvVerticalNavigationActionsProps) => JSX_3.Element;
|
|
@@ -7418,7 +7405,7 @@ export declare interface HvVerticalNavigationHeaderProps {
|
|
|
7418
7405
|
/**
|
|
7419
7406
|
* Handler for the collapse button.
|
|
7420
7407
|
*/
|
|
7421
|
-
onCollapseButtonClick?: MouseEventHandler<HTMLElement>;
|
|
7408
|
+
onCollapseButtonClick?: React.MouseEventHandler<HTMLElement>;
|
|
7422
7409
|
}
|
|
7423
7410
|
|
|
7424
7411
|
export declare type HvVerticalNavigationMode = "icon" | "simple";
|
|
@@ -7934,19 +7921,20 @@ export declare const multiButtonClasses: {
|
|
|
7934
7921
|
selected: "HvMultiButton-selected";
|
|
7935
7922
|
button: "HvMultiButton-button";
|
|
7936
7923
|
secondaryGhost: "HvMultiButton-secondaryGhost";
|
|
7924
|
+
splitDisabled: "HvMultiButton-splitDisabled";
|
|
7925
|
+
multiple: "HvMultiButton-multiple";
|
|
7937
7926
|
primaryGhost: "HvMultiButton-primaryGhost";
|
|
7938
7927
|
primarySubtle: "HvMultiButton-primarySubtle";
|
|
7939
7928
|
splitGroup: "HvMultiButton-splitGroup";
|
|
7940
7929
|
splitGroupDisabled: "HvMultiButton-splitGroupDisabled";
|
|
7930
|
+
splitContainer: "HvMultiButton-splitContainer";
|
|
7941
7931
|
firstButton: "HvMultiButton-firstButton";
|
|
7942
7932
|
lastButton: "HvMultiButton-lastButton";
|
|
7943
|
-
splitContainer: "HvMultiButton-splitContainer";
|
|
7944
|
-
splitDisabled: "HvMultiButton-splitDisabled";
|
|
7945
7933
|
};
|
|
7946
7934
|
|
|
7947
7935
|
export declare const multiSelectionEventHandler: (evt: any, index: number, selectionAnchor: any, allValues: any[], selectedState: boolean[], selectionCheck: any) => any[];
|
|
7948
7936
|
|
|
7949
|
-
export declare type NavigationData<T extends React.ElementType = "a"> = ComponentProps<T> & Record<string, any> & {
|
|
7937
|
+
export declare type NavigationData<T extends React.ElementType = "a"> = React.ComponentProps<T> & Record<string, any> & {
|
|
7950
7938
|
/** The id to be applied to the root element. */
|
|
7951
7939
|
id: string;
|
|
7952
7940
|
/** The label to be rendered on the menu item. */
|
|
@@ -9038,10 +9026,23 @@ declare const useClasses_119: (classesProp?: Partial<Record<"root" | "slider" |
|
|
|
9038
9026
|
cx: (...args: any) => string;
|
|
9039
9027
|
};
|
|
9040
9028
|
|
|
9041
|
-
declare const useClasses_12: (classesProp?: Partial<Record<"root" | "
|
|
9029
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "secondarySubtle" | "ghost" | "icon" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "startIcon" | "endIcon" | "focusVisible" | "subtle", string>>, addStatic?: boolean) => {
|
|
9042
9030
|
classes: {
|
|
9031
|
+
secondary: string;
|
|
9032
|
+
primary: string;
|
|
9043
9033
|
root: string;
|
|
9044
|
-
|
|
9034
|
+
disabled: string;
|
|
9035
|
+
semantic: string;
|
|
9036
|
+
secondarySubtle: string;
|
|
9037
|
+
ghost: string;
|
|
9038
|
+
icon: string;
|
|
9039
|
+
secondaryGhost: string;
|
|
9040
|
+
primaryGhost: string;
|
|
9041
|
+
primarySubtle: string;
|
|
9042
|
+
startIcon: string;
|
|
9043
|
+
endIcon: string;
|
|
9044
|
+
focusVisible: string;
|
|
9045
|
+
subtle: string;
|
|
9045
9046
|
};
|
|
9046
9047
|
css: {
|
|
9047
9048
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9190,7 +9191,19 @@ declare const useClasses_128: (classesProp?: Partial<Record<"content" | "root" |
|
|
|
9190
9191
|
cx: (...args: any) => string;
|
|
9191
9192
|
};
|
|
9192
9193
|
|
|
9193
|
-
declare const useClasses_13: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
9194
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"root" | "highlighted", string>>, addStatic?: boolean) => {
|
|
9195
|
+
classes: {
|
|
9196
|
+
root: string;
|
|
9197
|
+
highlighted: string;
|
|
9198
|
+
};
|
|
9199
|
+
css: {
|
|
9200
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9201
|
+
(...args: CSSInterpolation[]): string;
|
|
9202
|
+
};
|
|
9203
|
+
cx: (...args: any) => string;
|
|
9204
|
+
};
|
|
9205
|
+
|
|
9206
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
9194
9207
|
classes: {
|
|
9195
9208
|
root: string;
|
|
9196
9209
|
};
|
|
@@ -9201,7 +9214,7 @@ declare const useClasses_13: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
9201
9214
|
cx: (...args: any) => string;
|
|
9202
9215
|
};
|
|
9203
9216
|
|
|
9204
|
-
declare const
|
|
9217
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "description" | "root" | "listbox" | "error" | "invalid", string>>, addStatic?: boolean) => {
|
|
9205
9218
|
classes: {
|
|
9206
9219
|
vertical: string;
|
|
9207
9220
|
horizontal: string;
|
|
@@ -9219,7 +9232,7 @@ declare const useClasses_14: (classesProp?: Partial<Record<"vertical" | "horizon
|
|
|
9219
9232
|
cx: (...args: any) => string;
|
|
9220
9233
|
};
|
|
9221
9234
|
|
|
9222
|
-
declare const
|
|
9235
|
+
declare const useClasses_16: (classesProp?: Partial<Record<"root" | "list" | "popper", string>>, addStatic?: boolean) => {
|
|
9223
9236
|
classes: {
|
|
9224
9237
|
root: string;
|
|
9225
9238
|
list: string;
|
|
@@ -9232,7 +9245,7 @@ declare const useClasses_15: (classesProp?: Partial<Record<"root" | "list" | "po
|
|
|
9232
9245
|
cx: (...args: any) => string;
|
|
9233
9246
|
};
|
|
9234
9247
|
|
|
9235
|
-
declare const
|
|
9248
|
+
declare const useClasses_17: (classesProp?: Partial<Record<"root" | "disabled" | "readOnly" | "inputBorderContainer" | "inputRootReadOnly" | "inputRoot" | "inputRootFocused" | "inputRootMultiline" | "input" | "inputReadOnly" | "invalid" | "resizable" | "inputRootInvalid" | "inputRootDisabled" | "inputDisabled" | "inputResizable", string>>, addStatic?: boolean) => {
|
|
9236
9249
|
classes: {
|
|
9237
9250
|
root: string;
|
|
9238
9251
|
disabled: string;
|
|
@@ -9258,7 +9271,7 @@ declare const useClasses_16: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9258
9271
|
cx: (...args: any) => string;
|
|
9259
9272
|
};
|
|
9260
9273
|
|
|
9261
|
-
declare const
|
|
9274
|
+
declare const useClasses_18: (classesProp?: Partial<Record<"container" | "header" | "anchor" | "root" | "headerOpen" | "headerDisabled" | "headerReadOnly" | "placeholder" | "panel" | "inputExtensionOpen" | "panelOpenedUp" | "panelOpenedDown" | "selection" | "arrowContainer" | "arrow" | "rootDisabled" | "headerOpenUp" | "headerOpenDown" | "selectionDisabled" | "inputExtensionLeftPosition" | "inputExtensionOpenShadow" | "inputExtensionFloatRight" | "inputExtensionFloatLeft", string>>, addStatic?: boolean) => {
|
|
9262
9275
|
classes: {
|
|
9263
9276
|
container: string;
|
|
9264
9277
|
header: string;
|
|
@@ -9291,7 +9304,7 @@ declare const useClasses_17: (classesProp?: Partial<Record<"container" | "header
|
|
|
9291
9304
|
cx: (...args: any) => string;
|
|
9292
9305
|
};
|
|
9293
9306
|
|
|
9294
|
-
declare const
|
|
9307
|
+
declare const useClasses_19: (classesProp?: Partial<Record<"container" | "label" | "root" | "disabled" | "hidden", string>>, addStatic?: boolean) => {
|
|
9295
9308
|
classes: {
|
|
9296
9309
|
container: string;
|
|
9297
9310
|
label: string;
|
|
@@ -9306,9 +9319,16 @@ declare const useClasses_18: (classesProp?: Partial<Record<"container" | "label"
|
|
|
9306
9319
|
cx: (...args: any) => string;
|
|
9307
9320
|
};
|
|
9308
9321
|
|
|
9309
|
-
declare const
|
|
9322
|
+
declare const useClasses_2: (classesProp?: Partial<Record<"root" | "disabled" | "selected" | "focus" | "focusDisabled" | "focused" | "externalReference" | "falseFocus", string>>, addStatic?: boolean) => {
|
|
9310
9323
|
classes: {
|
|
9311
9324
|
root: string;
|
|
9325
|
+
disabled: string;
|
|
9326
|
+
selected: string;
|
|
9327
|
+
focus: string;
|
|
9328
|
+
focusDisabled: string;
|
|
9329
|
+
focused: string;
|
|
9330
|
+
externalReference: string;
|
|
9331
|
+
falseFocus: string;
|
|
9312
9332
|
};
|
|
9313
9333
|
css: {
|
|
9314
9334
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9317,16 +9337,9 @@ declare const useClasses_19: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
9317
9337
|
cx: (...args: any) => string;
|
|
9318
9338
|
};
|
|
9319
9339
|
|
|
9320
|
-
declare const
|
|
9340
|
+
declare const useClasses_20: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
9321
9341
|
classes: {
|
|
9322
9342
|
root: string;
|
|
9323
|
-
disabled: string;
|
|
9324
|
-
selected: string;
|
|
9325
|
-
focus: string;
|
|
9326
|
-
focusDisabled: string;
|
|
9327
|
-
focused: string;
|
|
9328
|
-
externalReference: string;
|
|
9329
|
-
falseFocus: string;
|
|
9330
9343
|
};
|
|
9331
9344
|
css: {
|
|
9332
9345
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9335,7 +9348,7 @@ declare const useClasses_2: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9335
9348
|
cx: (...args: any) => string;
|
|
9336
9349
|
};
|
|
9337
9350
|
|
|
9338
|
-
declare const
|
|
9351
|
+
declare const useClasses_21: (classesProp?: Partial<Record<"root" | "button" | "actionContainer" | "dropDownMenu" | "dropDownMenuButton" | "dropDownMenuButtonSelected", string>>, addStatic?: boolean) => {
|
|
9339
9352
|
classes: {
|
|
9340
9353
|
root: string;
|
|
9341
9354
|
button: string;
|
|
@@ -9351,7 +9364,7 @@ declare const useClasses_20: (classesProp?: Partial<Record<"root" | "button" | "
|
|
|
9351
9364
|
cx: (...args: any) => string;
|
|
9352
9365
|
};
|
|
9353
9366
|
|
|
9354
|
-
declare const
|
|
9367
|
+
declare const useClasses_22: (classesProp?: Partial<Record<"root" | "title" | "single" | "actionsContainer" | "open" | "item" | "titleAnchor" | "itemSelected" | "itemDisabled" | "itemTrigger" | "itemIcon" | "itemTitle" | "itemInfoIcon" | "footerContainer" | "closed" | "dual" | "fluid", string>>, addStatic?: boolean) => {
|
|
9355
9368
|
classes: {
|
|
9356
9369
|
root: string;
|
|
9357
9370
|
title: string;
|
|
@@ -9378,7 +9391,7 @@ declare const useClasses_21: (classesProp?: Partial<Record<"root" | "title" | "s
|
|
|
9378
9391
|
cx: (...args: any) => string;
|
|
9379
9392
|
};
|
|
9380
9393
|
|
|
9381
|
-
declare const
|
|
9394
|
+
declare const useClasses_23: (classesProp?: Partial<Record<"typography" | "root" | "disabled" | "icon" | "title" | "selected" | "iconUrl" | "iconInfo" | "titleAnchor", string>>, addStatic?: boolean) => {
|
|
9382
9395
|
classes: {
|
|
9383
9396
|
typography: string;
|
|
9384
9397
|
root: string;
|
|
@@ -9397,7 +9410,7 @@ declare const useClasses_22: (classesProp?: Partial<Record<"typography" | "root"
|
|
|
9397
9410
|
cx: (...args: any) => string;
|
|
9398
9411
|
};
|
|
9399
9412
|
|
|
9400
|
-
declare const
|
|
9413
|
+
declare const useClasses_24: (classesProp?: Partial<Record<"container" | "xs" | "sm" | "md" | "lg" | "xl" | "root" | "square" | "img" | "status" | "fallback" | "avatar" | "badge" | "circular", string>>, addStatic?: boolean) => {
|
|
9401
9414
|
classes: {
|
|
9402
9415
|
container: string;
|
|
9403
9416
|
xs: string;
|
|
@@ -9421,7 +9434,7 @@ declare const useClasses_23: (classesProp?: Partial<Record<"container" | "xs" |
|
|
|
9421
9434
|
cx: (...args: any) => string;
|
|
9422
9435
|
};
|
|
9423
9436
|
|
|
9424
|
-
declare const
|
|
9437
|
+
declare const useClasses_25: (classesProp?: Partial<Record<"root" | "row" | "column", string>>, addStatic?: boolean) => {
|
|
9425
9438
|
classes: {
|
|
9426
9439
|
root: string;
|
|
9427
9440
|
row: string;
|
|
@@ -9434,7 +9447,7 @@ declare const useClasses_24: (classesProp?: Partial<Record<"root" | "row" | "col
|
|
|
9434
9447
|
cx: (...args: any) => string;
|
|
9435
9448
|
};
|
|
9436
9449
|
|
|
9437
|
-
declare const
|
|
9450
|
+
declare const useClasses_26: (classesProp?: Partial<Record<"root" | "badge" | "badgeContainer" | "badgePosition" | "showCount" | "showLabel" | "badgeIcon" | "badgeOneDigit", string>>, addStatic?: boolean) => {
|
|
9438
9451
|
classes: {
|
|
9439
9452
|
root: string;
|
|
9440
9453
|
badge: string;
|
|
@@ -9452,7 +9465,7 @@ declare const useClasses_25: (classesProp?: Partial<Record<"root" | "badge" | "b
|
|
|
9452
9465
|
cx: (...args: any) => string;
|
|
9453
9466
|
};
|
|
9454
9467
|
|
|
9455
|
-
declare const
|
|
9468
|
+
declare const useClasses_27: (classesProp?: Partial<Record<"root" | "rootClosed" | "anchorOriginTopCenter" | "anchorOriginBottomCenter", string>>, addStatic?: boolean) => {
|
|
9456
9469
|
classes: {
|
|
9457
9470
|
root: string;
|
|
9458
9471
|
rootClosed: string;
|
|
@@ -9466,7 +9479,7 @@ declare const useClasses_26: (classesProp?: Partial<Record<"root" | "rootClosed"
|
|
|
9466
9479
|
cx: (...args: any) => string;
|
|
9467
9480
|
};
|
|
9468
9481
|
|
|
9469
|
-
declare const
|
|
9482
|
+
declare const useClasses_28: (classesProp?: Partial<Record<"actionContainer" | "actionsInnerContainer" | "closeAction" | "iconContainer", string>>, addStatic?: boolean) => {
|
|
9470
9483
|
classes: {
|
|
9471
9484
|
actionContainer: string;
|
|
9472
9485
|
actionsInnerContainer: string;
|
|
@@ -9480,7 +9493,7 @@ declare const useClasses_27: (classesProp?: Partial<Record<"actionContainer" | "
|
|
|
9480
9493
|
cx: (...args: any) => string;
|
|
9481
9494
|
};
|
|
9482
9495
|
|
|
9483
|
-
declare const
|
|
9496
|
+
declare const useClasses_29: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "error" | "message" | "success" | "baseVariant" | "outContainer", string>>, addStatic?: boolean) => {
|
|
9484
9497
|
classes: {
|
|
9485
9498
|
warning: string;
|
|
9486
9499
|
root: string;
|
|
@@ -9499,12 +9512,9 @@ declare const useClasses_28: (classesProp?: Partial<Record<"warning" | "root" |
|
|
|
9499
9512
|
cx: (...args: any) => string;
|
|
9500
9513
|
};
|
|
9501
9514
|
|
|
9502
|
-
declare const
|
|
9515
|
+
declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addStatic?: boolean) => {
|
|
9503
9516
|
classes: {
|
|
9504
9517
|
root: string;
|
|
9505
|
-
disabled: string;
|
|
9506
|
-
icon: string;
|
|
9507
|
-
focusVisible: string;
|
|
9508
9518
|
};
|
|
9509
9519
|
css: {
|
|
9510
9520
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9513,9 +9523,12 @@ declare const useClasses_29: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9513
9523
|
cx: (...args: any) => string;
|
|
9514
9524
|
};
|
|
9515
9525
|
|
|
9516
|
-
declare const
|
|
9526
|
+
declare const useClasses_30: (classesProp?: Partial<Record<"root" | "disabled" | "icon" | "focusVisible", string>>, addStatic?: boolean) => {
|
|
9517
9527
|
classes: {
|
|
9518
9528
|
root: string;
|
|
9529
|
+
disabled: string;
|
|
9530
|
+
icon: string;
|
|
9531
|
+
focusVisible: string;
|
|
9519
9532
|
};
|
|
9520
9533
|
css: {
|
|
9521
9534
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -9524,7 +9537,7 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root", string>>, addS
|
|
|
9524
9537
|
cx: (...args: any) => string;
|
|
9525
9538
|
};
|
|
9526
9539
|
|
|
9527
|
-
declare const
|
|
9540
|
+
declare const useClasses_31: (classesProp?: Partial<Record<"root" | "disabled" | "icon" | "focusVisible", string>>, addStatic?: boolean) => {
|
|
9528
9541
|
classes: {
|
|
9529
9542
|
root: string;
|
|
9530
9543
|
disabled: string;
|
|
@@ -9538,7 +9551,7 @@ declare const useClasses_30: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9538
9551
|
cx: (...args: any) => string;
|
|
9539
9552
|
};
|
|
9540
9553
|
|
|
9541
|
-
declare const
|
|
9554
|
+
declare const useClasses_32: (classesProp?: Partial<Record<"root" | "disabled" | "readOnly" | "switch" | "switchBase" | "track" | "checked" | "focusVisible" | "thumb", string>>, addStatic?: boolean) => {
|
|
9542
9555
|
classes: {
|
|
9543
9556
|
root: string;
|
|
9544
9557
|
disabled: string;
|
|
@@ -9557,7 +9570,7 @@ declare const useClasses_31: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9557
9570
|
cx: (...args: any) => string;
|
|
9558
9571
|
};
|
|
9559
9572
|
|
|
9560
|
-
declare const
|
|
9573
|
+
declare const useClasses_33: (classesProp?: Partial<Record<"link" | "root" | "a" | "centerContainer" | "separatorContainer" | "orderedList" | "currentPage", string>>, addStatic?: boolean) => {
|
|
9561
9574
|
classes: {
|
|
9562
9575
|
link: string;
|
|
9563
9576
|
root: string;
|
|
@@ -9574,7 +9587,7 @@ declare const useClasses_32: (classesProp?: Partial<Record<"link" | "root" | "a"
|
|
|
9574
9587
|
cx: (...args: any) => string;
|
|
9575
9588
|
};
|
|
9576
9589
|
|
|
9577
|
-
declare const
|
|
9590
|
+
declare const useClasses_34: (classesProp?: Partial<Record<"container" | "root" | "icon" | "iconSelected" | "baseContainer" | "menuListRoot" | "menuList", string>>, addStatic?: boolean) => {
|
|
9578
9591
|
classes: {
|
|
9579
9592
|
container: string;
|
|
9580
9593
|
root: string;
|
|
@@ -9591,7 +9604,7 @@ declare const useClasses_33: (classesProp?: Partial<Record<"container" | "root"
|
|
|
9591
9604
|
cx: (...args: any) => string;
|
|
9592
9605
|
};
|
|
9593
9606
|
|
|
9594
|
-
declare const
|
|
9607
|
+
declare const useClasses_35: (classesProp?: Partial<Record<"root" | "semantic" | "divider" | "selectAll" | "actions" | "selectAllContainer" | "selectAllPages", string>>, addStatic?: boolean) => {
|
|
9595
9608
|
classes: {
|
|
9596
9609
|
root: string;
|
|
9597
9610
|
semantic: string;
|
|
@@ -9608,7 +9621,7 @@ declare const useClasses_34: (classesProp?: Partial<Record<"root" | "semantic" |
|
|
|
9608
9621
|
cx: (...args: any) => string;
|
|
9609
9622
|
};
|
|
9610
9623
|
|
|
9611
|
-
declare const
|
|
9624
|
+
declare const useClasses_36: (classesProp?: Partial<Record<"container" | "label" | "root" | "disabled" | "checkbox" | "focusVisible" | "invalidContainer" | "invalidCheckbox", string>>, addStatic?: boolean) => {
|
|
9612
9625
|
classes: {
|
|
9613
9626
|
container: string;
|
|
9614
9627
|
label: string;
|
|
@@ -9626,31 +9639,6 @@ declare const useClasses_35: (classesProp?: Partial<Record<"container" | "label"
|
|
|
9626
9639
|
cx: (...args: any) => string;
|
|
9627
9640
|
};
|
|
9628
9641
|
|
|
9629
|
-
declare const useClasses_36: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "secondarySubtle" | "ghost" | "icon" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "startIcon" | "endIcon" | "focusVisible" | "subtle", string>>, addStatic?: boolean) => {
|
|
9630
|
-
classes: {
|
|
9631
|
-
secondary: string;
|
|
9632
|
-
primary: string;
|
|
9633
|
-
root: string;
|
|
9634
|
-
disabled: string;
|
|
9635
|
-
semantic: string;
|
|
9636
|
-
secondarySubtle: string;
|
|
9637
|
-
ghost: string;
|
|
9638
|
-
icon: string;
|
|
9639
|
-
secondaryGhost: string;
|
|
9640
|
-
primaryGhost: string;
|
|
9641
|
-
primarySubtle: string;
|
|
9642
|
-
startIcon: string;
|
|
9643
|
-
endIcon: string;
|
|
9644
|
-
focusVisible: string;
|
|
9645
|
-
subtle: string;
|
|
9646
|
-
};
|
|
9647
|
-
css: {
|
|
9648
|
-
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9649
|
-
(...args: CSSInterpolation[]): string;
|
|
9650
|
-
};
|
|
9651
|
-
cx: (...args: any) => string;
|
|
9652
|
-
};
|
|
9653
|
-
|
|
9654
9642
|
declare const useClasses_37: (classesProp?: Partial<Record<"root" | "focusSelection" | "calendarMonthlyCell" | "calendarMonthlyCellSelected" | "rangeCalendarContainer" | "singleCalendar", string>>, addStatic?: boolean) => {
|
|
9655
9643
|
classes: {
|
|
9656
9644
|
root: string;
|
|
@@ -10647,7 +10635,7 @@ declare const useClasses_86: (classesProp?: Partial<Record<"root" | "formContain
|
|
|
10647
10635
|
cx: (...args: any) => string;
|
|
10648
10636
|
};
|
|
10649
10637
|
|
|
10650
|
-
declare const useClasses_87: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "split" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "
|
|
10638
|
+
declare const useClasses_87: (classesProp?: Partial<Record<"secondary" | "primary" | "vertical" | "split" | "root" | "secondarySubtle" | "selected" | "button" | "secondaryGhost" | "splitDisabled" | "multiple" | "primaryGhost" | "primarySubtle" | "splitGroup" | "splitGroupDisabled" | "splitContainer" | "firstButton" | "lastButton", string>>, addStatic?: boolean) => {
|
|
10651
10639
|
classes: {
|
|
10652
10640
|
secondary: string;
|
|
10653
10641
|
primary: string;
|
|
@@ -10658,14 +10646,15 @@ declare const useClasses_87: (classesProp?: Partial<Record<"secondary" | "primar
|
|
|
10658
10646
|
selected: string;
|
|
10659
10647
|
button: string;
|
|
10660
10648
|
secondaryGhost: string;
|
|
10649
|
+
splitDisabled: string;
|
|
10650
|
+
multiple: string;
|
|
10661
10651
|
primaryGhost: string;
|
|
10662
10652
|
primarySubtle: string;
|
|
10663
10653
|
splitGroup: string;
|
|
10664
10654
|
splitGroupDisabled: string;
|
|
10655
|
+
splitContainer: string;
|
|
10665
10656
|
firstButton: string;
|
|
10666
10657
|
lastButton: string;
|
|
10667
|
-
splitContainer: string;
|
|
10668
|
-
splitDisabled: string;
|
|
10669
10658
|
};
|
|
10670
10659
|
css: {
|
|
10671
10660
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
@@ -10943,7 +10932,7 @@ export declare interface UseHvHeaderGroupsCellProps {
|
|
|
10943
10932
|
}
|
|
10944
10933
|
|
|
10945
10934
|
export declare interface UseHvHeaderGroupsColumnProps {
|
|
10946
|
-
style?: CSSProperties;
|
|
10935
|
+
style?: React.CSSProperties;
|
|
10947
10936
|
groupColumnMostLeft?: boolean;
|
|
10948
10937
|
groupColumnMostRight?: boolean;
|
|
10949
10938
|
}
|
|
@@ -10969,7 +10958,7 @@ export declare interface UseHvPaginationTableInstance<D extends object> {
|
|
|
10969
10958
|
export declare interface UseHvResizeColumnProps {
|
|
10970
10959
|
resizable?: boolean;
|
|
10971
10960
|
resizing?: boolean;
|
|
10972
|
-
resizerProps?: HTMLAttributes<HTMLDivElement>;
|
|
10961
|
+
resizerProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
10973
10962
|
}
|
|
10974
10963
|
|
|
10975
10964
|
export declare const useHvResizeColumns: UseHvResizeColumnsProps;
|
|
@@ -10990,7 +10979,7 @@ export declare interface UseHvRowExpandRowInstance<D extends object = Record<str
|
|
|
10990
10979
|
}
|
|
10991
10980
|
|
|
10992
10981
|
export declare interface UseHvRowExpandRowToggleProps extends TableExpandedToggleProps {
|
|
10993
|
-
onClick?: MouseEventHandler<unknown>;
|
|
10982
|
+
onClick?: React.MouseEventHandler<unknown>;
|
|
10994
10983
|
}
|
|
10995
10984
|
|
|
10996
10985
|
export declare type UseHvRowExpandTableOptions = {
|
|
@@ -11004,7 +10993,7 @@ export declare interface UseHvRowExpandTableRowProps {
|
|
|
11004
10993
|
export declare const useHvRowSelection: UseRowSelectionProps;
|
|
11005
10994
|
|
|
11006
10995
|
export declare interface UseHvRowSelectionBulkCheckboxProps {
|
|
11007
|
-
onChange?: (e: ChangeEvent, checked?: boolean) => void;
|
|
10996
|
+
onChange?: (e: React.ChangeEvent, checked?: boolean) => void;
|
|
11008
10997
|
checked?: boolean;
|
|
11009
10998
|
indeterminate?: boolean;
|
|
11010
10999
|
}
|
|
@@ -11016,7 +11005,7 @@ export declare interface UseHvRowSelectionHooks<D extends object> {
|
|
|
11016
11005
|
}
|
|
11017
11006
|
|
|
11018
11007
|
export declare interface UseHvRowSelectionRowCheckboxProps {
|
|
11019
|
-
onChange?: (e: ChangeEvent, checked?: boolean) => void;
|
|
11008
|
+
onChange?: (e: React.ChangeEvent, checked?: boolean) => void;
|
|
11020
11009
|
checked?: boolean;
|
|
11021
11010
|
disabled?: boolean;
|
|
11022
11011
|
indeterminate?: boolean;
|
|
@@ -11070,7 +11059,7 @@ export declare interface UseHvRowSelectionTableRowProps {
|
|
|
11070
11059
|
}
|
|
11071
11060
|
|
|
11072
11061
|
export declare const useHvSnackbar: () => {
|
|
11073
|
-
enqueueSnackbar: (message: ReactNode, options?: HvNotistackSnackMessageProps) => SnackbarKey;
|
|
11062
|
+
enqueueSnackbar: (message: React.ReactNode, options?: HvNotistackSnackMessageProps) => SnackbarKey;
|
|
11074
11063
|
closeSnackbar: (key?: SnackbarKey | undefined) => void;
|
|
11075
11064
|
};
|
|
11076
11065
|
|
|
@@ -11144,19 +11133,19 @@ export declare const useHvTableStyles: UseTableStylesProps;
|
|
|
11144
11133
|
export declare interface UseHvTableStylesColumnOptions {
|
|
11145
11134
|
variant?: "checkbox" | "expand" | "actions" | "default" | "none";
|
|
11146
11135
|
align?: "center" | "inherit" | "justify" | "left" | "right";
|
|
11147
|
-
style?: CSSProperties;
|
|
11136
|
+
style?: React.CSSProperties;
|
|
11148
11137
|
className?: string;
|
|
11149
11138
|
classes?: Record<string, string>;
|
|
11150
|
-
headerStyle?: CSSProperties;
|
|
11139
|
+
headerStyle?: React.CSSProperties;
|
|
11151
11140
|
headerClassName?: string;
|
|
11152
11141
|
headerClasses?: Record<string, string>;
|
|
11153
|
-
cellStyle?: CSSProperties;
|
|
11142
|
+
cellStyle?: React.CSSProperties;
|
|
11154
11143
|
cellClassName?: string;
|
|
11155
11144
|
cellClasses?: Record<string, string>;
|
|
11156
11145
|
}
|
|
11157
11146
|
|
|
11158
11147
|
export declare interface UseHvTableStylesTableCellProps {
|
|
11159
|
-
style?: CSSProperties;
|
|
11148
|
+
style?: React.CSSProperties;
|
|
11160
11149
|
className?: string;
|
|
11161
11150
|
classes?: Record<string, string>;
|
|
11162
11151
|
variant?: "checkbox" | "expand" | "actions" | "default" | "none";
|
|
@@ -11164,7 +11153,7 @@ export declare interface UseHvTableStylesTableCellProps {
|
|
|
11164
11153
|
}
|
|
11165
11154
|
|
|
11166
11155
|
export declare type UseHvTableStylesTableOptions = {
|
|
11167
|
-
style?: CSSProperties;
|
|
11156
|
+
style?: React.CSSProperties;
|
|
11168
11157
|
className?: string;
|
|
11169
11158
|
classes?: Record<string, string>;
|
|
11170
11159
|
component?: any;
|