@hitachivantara/uikit-react-core 5.87.2 → 5.88.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/ActionsGeneric/ActionsGeneric.cjs +1 -1
- package/dist/cjs/Banner/BannerContent/BannerContent.cjs +1 -1
- package/dist/cjs/BaseInput/BaseInput.cjs +44 -83
- package/dist/cjs/BaseInput/BaseInput.styles.cjs +68 -142
- package/dist/cjs/BaseInput/validations.cjs +2 -1
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.cjs +0 -6
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.styles.cjs +1 -5
- package/dist/cjs/ColorPicker/ColorPicker.cjs +1 -1
- package/dist/cjs/DatePicker/DatePicker.cjs +12 -12
- package/dist/cjs/Dropdown/Dropdown.cjs +8 -10
- package/dist/cjs/FilterGroup/FilterContent/FilterContent.cjs +1 -1
- package/dist/cjs/FormElement/Adornment/Adornment.cjs +15 -36
- package/dist/cjs/FormElement/Adornment/Adornment.styles.cjs +11 -17
- package/dist/cjs/InlineEditor/InlineEditor.cjs +10 -14
- package/dist/cjs/InlineEditor/InlineEditor.styles.cjs +13 -36
- package/dist/cjs/Input/Input.cjs +33 -56
- package/dist/cjs/Input/Input.styles.cjs +6 -19
- package/dist/cjs/List/List.cjs +12 -12
- package/dist/cjs/Pagination/Pagination.styles.cjs +2 -1
- package/dist/cjs/Pagination/Select.cjs +1 -1
- package/dist/cjs/Select/Select.styles.cjs +1 -1
- package/dist/cjs/Table/TableBody/TableBody.cjs +16 -17
- package/dist/cjs/TableSection/TableSection.styles.cjs +10 -10
- package/dist/cjs/Tag/Tag.cjs +1 -1
- package/dist/cjs/TagsInput/TagsInput.cjs +103 -169
- package/dist/cjs/TagsInput/TagsInput.styles.cjs +45 -111
- package/dist/cjs/TextArea/TextArea.cjs +1 -3
- package/dist/cjs/TextArea/TextArea.styles.cjs +1 -1
- package/dist/cjs/TimePicker/TimePicker.cjs +5 -4
- package/dist/cjs/TimePicker/Unit/Unit.cjs +0 -1
- package/dist/cjs/TimePicker/Unit/Unit.styles.cjs +0 -3
- package/dist/cjs/hooks/useFocus.cjs +38 -0
- package/dist/cjs/utils/CounterLabel.cjs +3 -2
- package/dist/cjs/utils/focusUtils.cjs +0 -4
- package/dist/esm/ActionsGeneric/ActionsGeneric.js +1 -1
- package/dist/esm/AvatarGroup/AvatarGroupContext.js +1 -1
- package/dist/esm/Banner/BannerContent/BannerContent.js +1 -1
- package/dist/esm/BaseCheckBox/BaseCheckBox.js +1 -1
- package/dist/esm/BaseDropdown/BaseDropdown.js +3 -3
- package/dist/esm/BaseInput/BaseInput.js +45 -84
- package/dist/esm/BaseInput/BaseInput.js.map +1 -1
- package/dist/esm/BaseInput/BaseInput.styles.js +68 -142
- package/dist/esm/BaseInput/BaseInput.styles.js.map +1 -1
- package/dist/esm/BaseInput/validations.js +2 -1
- package/dist/esm/BaseInput/validations.js.map +1 -1
- package/dist/esm/BaseRadio/BaseRadio.js +1 -1
- package/dist/esm/Button/Button.js +1 -1
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.js +1 -7
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.js.map +1 -1
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.styles.js +1 -5
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/dist/esm/CheckBoxGroup/CheckBoxGroup.js.map +1 -1
- package/dist/esm/ColorPicker/ColorPicker.js +1 -1
- package/dist/esm/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/esm/ColorPicker/Fields/Fields.js.map +1 -1
- package/dist/esm/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/DatePicker/utils.js +1 -1
- package/dist/esm/Dialog/context.js +1 -1
- package/dist/esm/DotPagination/DotPagination.js +1 -1
- package/dist/esm/Dropdown/Dropdown.js +8 -10
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/DropdownButton/DropdownButton.js.map +1 -1
- package/dist/esm/FilterGroup/FilterContent/FilterContent.js +1 -1
- package/dist/esm/FilterGroup/FilterContent/FilterContent.js.map +1 -1
- package/dist/esm/FilterGroup/FilterGroupContext.js +1 -1
- package/dist/esm/FilterGroup/RightPanel/RightPanel.js.map +1 -1
- package/dist/esm/Focus/Focus.js +1 -1
- package/dist/esm/FormElement/Adornment/Adornment.js +15 -36
- package/dist/esm/FormElement/Adornment/Adornment.js.map +1 -1
- package/dist/esm/FormElement/Adornment/Adornment.styles.js +11 -17
- package/dist/esm/FormElement/Adornment/Adornment.styles.js.map +1 -1
- package/dist/esm/Header/Navigation/useSelectionPath.js.map +1 -1
- package/dist/esm/InlineEditor/InlineEditor.js +10 -14
- package/dist/esm/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/esm/InlineEditor/InlineEditor.styles.js +13 -36
- package/dist/esm/InlineEditor/InlineEditor.styles.js.map +1 -1
- package/dist/esm/Input/Input.js +34 -57
- package/dist/esm/Input/Input.js.map +1 -1
- package/dist/esm/Input/Input.styles.js +6 -19
- package/dist/esm/Input/Input.styles.js.map +1 -1
- package/dist/esm/List/List.js +12 -12
- package/dist/esm/List/List.js.map +1 -1
- package/dist/esm/Pagination/Pagination.styles.js +5 -4
- package/dist/esm/Pagination/Pagination.styles.js.map +1 -1
- package/dist/esm/Pagination/Select.js +1 -1
- package/dist/esm/QueryBuilder/Context.js +1 -1
- package/dist/esm/QueryBuilder/QueryBuilder.js +1 -1
- package/dist/esm/QueryBuilder/utils/index.js +1 -1
- package/dist/esm/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/Select/Select.styles.js +1 -1
- package/dist/esm/Select/Select.styles.js.map +1 -1
- package/dist/esm/SelectionList/SelectionList.js.map +1 -1
- package/dist/esm/Slider/Slider.js +1 -1
- package/dist/esm/Slider/Slider.js.map +1 -1
- package/dist/esm/SnackbarProvider/SnackbarProvider.js +2 -2
- package/dist/esm/Table/TableBody/TableBody.js +16 -17
- package/dist/esm/Table/TableBody/TableBody.js.map +1 -1
- package/dist/esm/TableSection/TableSection.styles.js +24 -24
- package/dist/esm/Tag/Tag.js +1 -1
- package/dist/esm/Tag/Tag.js.map +1 -1
- package/dist/esm/TagsInput/TagsInput.js +103 -169
- package/dist/esm/TagsInput/TagsInput.js.map +1 -1
- package/dist/esm/TagsInput/TagsInput.styles.js +45 -111
- package/dist/esm/TagsInput/TagsInput.styles.js.map +1 -1
- package/dist/esm/TextArea/TextArea.js +1 -3
- package/dist/esm/TextArea/TextArea.js.map +1 -1
- package/dist/esm/TextArea/TextArea.styles.js +1 -1
- package/dist/esm/TextArea/TextArea.styles.js.map +1 -1
- package/dist/esm/TimePicker/TimePicker.js +1 -0
- package/dist/esm/TimePicker/TimePicker.js.map +1 -1
- package/dist/esm/TimePicker/Unit/Unit.js +0 -1
- package/dist/esm/TimePicker/Unit/Unit.js.map +1 -1
- package/dist/esm/TimePicker/Unit/Unit.styles.js +0 -3
- package/dist/esm/TimePicker/Unit/Unit.styles.js.map +1 -1
- package/dist/esm/TreeView/internals/TreeViewProvider.js +1 -1
- package/dist/esm/TreeView/internals/hooks/plugins/useTreeViewKeyboardNavigation.js +1 -1
- package/dist/esm/VerticalNavigation/NavigationSlider/NavigationSlider.js.map +1 -1
- package/dist/esm/hooks/useFocus.js +38 -0
- package/dist/esm/hooks/useFocus.js.map +1 -0
- package/dist/esm/hooks/useScrollTo.js.map +1 -1
- package/dist/esm/utils/CounterLabel.js +3 -2
- package/dist/esm/utils/CounterLabel.js.map +1 -1
- package/dist/esm/utils/document.js.map +1 -1
- package/dist/esm/utils/focusUtils.js +0 -4
- package/dist/esm/utils/focusUtils.js.map +1 -1
- package/dist/types/index.d.ts +213 -274
- package/package.json +8 -8
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
1
|
import { ActionType } from 'react-table';
|
|
4
2
|
import { AvatarProps } from '@mui/material/Avatar';
|
|
5
3
|
import { Breakpoint as Breakpoint_2 } from '@mui/material/styles';
|
|
@@ -15,7 +13,6 @@ import { ComponentProps } from 'react';
|
|
|
15
13
|
import { ContainerProps } from '@mui/material/Container';
|
|
16
14
|
import { Context } from 'react';
|
|
17
15
|
import { createClasses } from '@hitachivantara/uikit-react-utils';
|
|
18
|
-
import { CSSProperties } from 'react';
|
|
19
16
|
import { default as default_2 } from 'embla-carousel-react';
|
|
20
17
|
import { defaultCacheKey } from '@hitachivantara/uikit-react-shared';
|
|
21
18
|
import { defaultEmotionCache } from '@hitachivantara/uikit-react-shared';
|
|
@@ -27,7 +24,6 @@ import { DividerProps } from '@mui/material/Divider';
|
|
|
27
24
|
import { DrawerProps } from '@mui/material/Drawer';
|
|
28
25
|
import { ds3 } from '@hitachivantara/uikit-styles';
|
|
29
26
|
import { ds5 } from '@hitachivantara/uikit-styles';
|
|
30
|
-
import { ElementType } from 'react';
|
|
31
27
|
import { EmotionCache } from '@emotion/cache';
|
|
32
28
|
import { EmotionContext } from '@hitachivantara/uikit-react-shared';
|
|
33
29
|
import { ExtractNames } from '@hitachivantara/uikit-react-utils';
|
|
@@ -60,9 +56,7 @@ 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
58
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
63
|
-
import { JSX as JSX_2 } from 'react';
|
|
64
|
-
import { JSX as JSX_3 } from 'react/jsx-runtime';
|
|
65
|
-
import { JSXElementConstructor } from 'react';
|
|
59
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
66
60
|
import { MutableRefObject } from 'react';
|
|
67
61
|
import { OptionGroupProps } from '@mui/base/OptionGroup';
|
|
68
62
|
import { OptionOwnProps } from '@mui/base/Option';
|
|
@@ -74,7 +68,6 @@ import { PropGetter } from 'react-table';
|
|
|
74
68
|
import { PropsWithoutRef } from 'react';
|
|
75
69
|
import { RadioProps } from '@mui/material/Radio';
|
|
76
70
|
import * as React_2 from 'react';
|
|
77
|
-
import { ReactElement } from 'react';
|
|
78
71
|
import { ReactNode } from 'react';
|
|
79
72
|
import { ReducerTableState } from 'react-table';
|
|
80
73
|
import { RefAttributes } from 'react';
|
|
@@ -154,6 +147,11 @@ import { UseSortByOptions } from 'react-table';
|
|
|
154
147
|
import { UseSortByState } from 'react-table';
|
|
155
148
|
import { UseTableHeaderGroupProps } from 'react-table';
|
|
156
149
|
import { useTheme } from '@hitachivantara/uikit-react-utils';
|
|
150
|
+
import { UseTreeViewExpansionInstance } from '../internals/hooks/plugins/useTreeViewExpansion';
|
|
151
|
+
import { UseTreeViewFocusInstance } from '../internals/hooks/plugins/useTreeViewFocus';
|
|
152
|
+
import { UseTreeViewKeyboardNavigationInstance } from '../internals/hooks/plugins/useTreeViewKeyboardNavigation';
|
|
153
|
+
import { UseTreeViewNodesInstance } from '../internals/hooks/plugins/useTreeViewNodes';
|
|
154
|
+
import { UseTreeViewSelectionInstance } from '../internals/hooks/plugins/useTreeViewSelection';
|
|
157
155
|
|
|
158
156
|
declare type Accessor<D extends object> = (originalRow: D, index: number, sub: {
|
|
159
157
|
subRows: D[];
|
|
@@ -362,8 +360,10 @@ export declare const baseInputClasses: {
|
|
|
362
360
|
root: string;
|
|
363
361
|
disabled: string;
|
|
364
362
|
invalid: string;
|
|
363
|
+
multiline: string;
|
|
365
364
|
resizable: string;
|
|
366
365
|
readOnly: string;
|
|
366
|
+
focused: string;
|
|
367
367
|
inputBorderContainer: string;
|
|
368
368
|
inputRootInvalid: string;
|
|
369
369
|
inputRootReadOnly: string;
|
|
@@ -462,10 +462,6 @@ export declare const calendarHeaderClasses: {
|
|
|
462
462
|
root: string;
|
|
463
463
|
invalid: string;
|
|
464
464
|
headerDayOfWeek: string;
|
|
465
|
-
headerDate: string;
|
|
466
|
-
input: string;
|
|
467
|
-
inputBorderContainer: string;
|
|
468
|
-
invalidMessageStyling: string;
|
|
469
465
|
};
|
|
470
466
|
|
|
471
467
|
export declare const cardClasses: {
|
|
@@ -524,7 +520,7 @@ export declare const carouselClasses: {
|
|
|
524
520
|
|
|
525
521
|
declare type CellValue<V = any> = V;
|
|
526
522
|
|
|
527
|
-
export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp, }: HvCellProps<any>) =>
|
|
523
|
+
export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp, }: HvCellProps<any>) => JSX_2.Element;
|
|
528
524
|
|
|
529
525
|
export declare const charCounterClasses: {
|
|
530
526
|
root: string;
|
|
@@ -666,6 +662,13 @@ declare const DEFAULT_LABELS_11: {
|
|
|
666
662
|
comparisonIndicatorInfo: string | undefined;
|
|
667
663
|
};
|
|
668
664
|
|
|
665
|
+
declare const DEFAULT_LABELS_12: {
|
|
666
|
+
/** The label used for the All checkbox action. @deprecated no longer used */
|
|
667
|
+
selectAll: string;
|
|
668
|
+
/** The label used in the middle of the multi-selection count. */
|
|
669
|
+
selectionConjunction: string;
|
|
670
|
+
};
|
|
671
|
+
|
|
669
672
|
declare const DEFAULT_LABELS_2: {
|
|
670
673
|
close: string;
|
|
671
674
|
fullscreen: string;
|
|
@@ -728,7 +731,7 @@ declare const DEFAULT_LABELS_6: {
|
|
|
728
731
|
declare const DEFAULT_LABELS_7: {
|
|
729
732
|
/** Label for overwrite the default header behavior. */
|
|
730
733
|
select: string | undefined;
|
|
731
|
-
/** Label used for the All checkbox action. */
|
|
734
|
+
/** Label used for the All checkbox action. @deprecated unused */
|
|
732
735
|
selectAll: string;
|
|
733
736
|
/** Cancel button label. */
|
|
734
737
|
cancelLabel: string;
|
|
@@ -971,8 +974,8 @@ export declare const getPrevNextFocus: (nodeId?: string) => {
|
|
|
971
974
|
};
|
|
972
975
|
|
|
973
976
|
export declare const getSelectorIcons: () => {
|
|
974
|
-
radio:
|
|
975
|
-
radioChecked:
|
|
977
|
+
radio: JSX_2.Element;
|
|
978
|
+
radioChecked: JSX_2.Element;
|
|
976
979
|
};
|
|
977
980
|
|
|
978
981
|
export declare const getVarValue: (cssVar: string, rootElementId?: string) => string | undefined;
|
|
@@ -1164,12 +1167,9 @@ export declare interface HvActionsGenericProps extends HvBaseProps {
|
|
|
1164
1167
|
* Allows to add a decorative icon or an action to a form element, usually on the right side of an input.
|
|
1165
1168
|
* E.g., the reveal password button.
|
|
1166
1169
|
*
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
1169
|
-
*
|
|
1170
|
-
*
|
|
1171
|
-
* As such, its functionality, if any, for accessibility purposes must be provided through an alternative mean,
|
|
1172
|
-
* or by using a regular icon button or toggle button instead.
|
|
1170
|
+
* This component disables keyboard navigation by default, ensuring that it doesn't steal focus from the input.
|
|
1171
|
+
* As such, its functionality, if any, for accessibility purposes must be provided through an alternative mean.
|
|
1172
|
+
* This behavior can be overridden by providing an a `tabIndex={0}`.
|
|
1173
1173
|
*/
|
|
1174
1174
|
export declare const HvAdornment: ForwardRefExoticComponent<HvAdornmentProps & RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
1175
1175
|
|
|
@@ -1178,7 +1178,7 @@ export declare type HvAdornmentClasses = ExtractNames<typeof useClasses_7>;
|
|
|
1178
1178
|
export declare interface HvAdornmentProps extends HvBaseProps<HTMLDivElement | HTMLButtonElement, "onMouseDown" | "onKeyDown"> {
|
|
1179
1179
|
/** The icon to be added into the input. */
|
|
1180
1180
|
icon: React.ReactNode;
|
|
1181
|
-
/**
|
|
1181
|
+
/** Controls the visibility of the adornment based on the form element's status. `isVisible` overrides this behavior. */
|
|
1182
1182
|
showWhen?: HvFormStatus;
|
|
1183
1183
|
/** Function to be executed when this element is clicked. */
|
|
1184
1184
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -1190,7 +1190,7 @@ export declare interface HvAdornmentProps extends HvBaseProps<HTMLDivElement | H
|
|
|
1190
1190
|
|
|
1191
1191
|
export declare const HvAppSwitcher: ForwardRefExoticComponent<HvAppSwitcherProps & RefAttributes<HTMLDivElement>>;
|
|
1192
1192
|
|
|
1193
|
-
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) =>
|
|
1193
|
+
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) => JSX_2.Element;
|
|
1194
1194
|
|
|
1195
1195
|
export declare interface HvAppSwitcherActionApplication {
|
|
1196
1196
|
/** Id of the application. */
|
|
@@ -1673,8 +1673,12 @@ export declare interface HvBaseInputProps extends Omit<InputBaseProps, "onChange
|
|
|
1673
1673
|
readOnly?: boolean;
|
|
1674
1674
|
/** If true, the input element will be required. */
|
|
1675
1675
|
required?: boolean;
|
|
1676
|
-
/**
|
|
1677
|
-
*
|
|
1676
|
+
/**
|
|
1677
|
+
* Callback fired when the value is changed.
|
|
1678
|
+
*
|
|
1679
|
+
* You can pull out the new value by accessing `event.target.value` (string),
|
|
1680
|
+
* or using the second callback argument.
|
|
1681
|
+
*/
|
|
1678
1682
|
onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, value: string) => void;
|
|
1679
1683
|
/** If true, a textarea element will be rendered. */
|
|
1680
1684
|
multiline?: boolean;
|
|
@@ -1857,16 +1861,16 @@ export { HvBaseTheme }
|
|
|
1857
1861
|
* It can also be used to create a layout using the flexbox properties.
|
|
1858
1862
|
* @deprecated use native elements instead (e.g. `div`)
|
|
1859
1863
|
*/
|
|
1860
|
-
export declare const HvBox: <C extends ElementType
|
|
1861
|
-
style?: CSSProperties
|
|
1862
|
-
sx?: CSSProperties | ((theme: HvTheme_2) => React.CSSProperties)
|
|
1864
|
+
export declare const HvBox: <C extends React.ElementType = "div">(props: {
|
|
1865
|
+
style?: React.CSSProperties;
|
|
1866
|
+
sx?: React.CSSProperties | ((theme: HvTheme_2) => React.CSSProperties);
|
|
1863
1867
|
} & {
|
|
1864
1868
|
component?: C | undefined;
|
|
1865
1869
|
} & {
|
|
1866
|
-
children?: ReactNode;
|
|
1870
|
+
children?: ReactNode | undefined;
|
|
1867
1871
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "style" | "component" | "sx"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "style" | "component" | "sx"> ? T extends any ? T : never : never : never) & {
|
|
1868
1872
|
ref?: PolymorphicRef<C> | undefined;
|
|
1869
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
1873
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
1870
1874
|
|
|
1871
1875
|
export declare type HvBoxProps<C extends React.ElementType = "div"> = PolymorphicComponentRef<C, {
|
|
1872
1876
|
style?: React.CSSProperties;
|
|
@@ -1956,27 +1960,27 @@ export declare interface HvBulkActionsProps extends HvBaseProps {
|
|
|
1956
1960
|
/**
|
|
1957
1961
|
* Button component is used to trigger an action or event.
|
|
1958
1962
|
*/
|
|
1959
|
-
export declare const HvButton: <C extends ElementType
|
|
1963
|
+
export declare const HvButton: <C extends React.ElementType = "button">(props: {
|
|
1960
1964
|
/** Use the variant prop to change the visual style of the button. */
|
|
1961
|
-
variant?: HvButtonVariant
|
|
1965
|
+
variant?: HvButtonVariant;
|
|
1962
1966
|
/** Whether the button is an icon-only button. */
|
|
1963
|
-
icon?: boolean
|
|
1967
|
+
icon?: boolean;
|
|
1964
1968
|
/** Whether the button is disabled or not. */
|
|
1965
|
-
disabled?: boolean
|
|
1969
|
+
disabled?: boolean;
|
|
1966
1970
|
/** Class names to be applied. */
|
|
1967
|
-
className?: string
|
|
1971
|
+
className?: string;
|
|
1968
1972
|
/** Element placed before the children. */
|
|
1969
1973
|
startIcon?: React.ReactNode;
|
|
1970
1974
|
/** Element placed after the children. */
|
|
1971
1975
|
endIcon?: React.ReactNode;
|
|
1972
1976
|
/** Color of the button. */
|
|
1973
|
-
color?: HvColorAny
|
|
1977
|
+
color?: HvColorAny;
|
|
1974
1978
|
/** Button size. */
|
|
1975
|
-
size?:
|
|
1979
|
+
size?: HvSize;
|
|
1976
1980
|
/** Button border radius. */
|
|
1977
|
-
radius?:
|
|
1981
|
+
radius?: HvRadius;
|
|
1978
1982
|
/** Defines the default colors of the button are forced into the icon. */
|
|
1979
|
-
overrideIconColors?: boolean
|
|
1983
|
+
overrideIconColors?: boolean;
|
|
1980
1984
|
/** A Jss Object used to override or extend the styles applied. */
|
|
1981
1985
|
classes?: Partial<{
|
|
1982
1986
|
root: string;
|
|
@@ -1995,49 +1999,49 @@ export declare const HvButton: <C extends ElementType<any, keyof JSX_2.Intrinsic
|
|
|
1995
1999
|
secondarySubtle: string;
|
|
1996
2000
|
secondaryGhost: string;
|
|
1997
2001
|
secondary: string;
|
|
1998
|
-
}
|
|
2002
|
+
}>;
|
|
1999
2003
|
/** Whether the button is selected or not. */
|
|
2000
|
-
selected?: boolean
|
|
2004
|
+
selected?: boolean;
|
|
2001
2005
|
/**
|
|
2002
2006
|
* Whether the button is focusable when disabled.
|
|
2003
2007
|
* Without this property, the accessibility of the button decreases when disabled since it's not read by screen readers.
|
|
2004
2008
|
* Set this property to `true` when you need the button to still be focusable when disabled for accessibility purposes.
|
|
2005
2009
|
*/
|
|
2006
|
-
focusableWhenDisabled?: boolean
|
|
2010
|
+
focusableWhenDisabled?: boolean;
|
|
2007
2011
|
} & {
|
|
2008
2012
|
component?: C | undefined;
|
|
2009
2013
|
} & {
|
|
2010
|
-
children?: ReactNode;
|
|
2014
|
+
children?: ReactNode | undefined;
|
|
2011
2015
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never) & {
|
|
2012
|
-
ref?: PolymorphicRef<C> | undefined;
|
|
2013
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
2016
|
+
ref?: PolymorphicRef<C> | undefined;
|
|
2017
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
2014
2018
|
|
|
2015
2019
|
/**
|
|
2016
2020
|
* Button component is used to trigger an action or event.
|
|
2017
2021
|
*/
|
|
2018
|
-
export declare const HvButtonBase: <C extends ElementType
|
|
2022
|
+
export declare const HvButtonBase: <C extends React.ElementType = "button">(props: {
|
|
2019
2023
|
/** A Jss Object used to override or extend the styles applied. */
|
|
2020
2024
|
classes?: Partial<{
|
|
2021
2025
|
root: string;
|
|
2022
2026
|
disabled: string;
|
|
2023
|
-
}
|
|
2027
|
+
}>;
|
|
2024
2028
|
/** Whether the button is selected or not. */
|
|
2025
|
-
selected?: boolean
|
|
2029
|
+
selected?: boolean;
|
|
2026
2030
|
/** Whether the button is disabled or not. */
|
|
2027
|
-
disabled?: boolean
|
|
2031
|
+
disabled?: boolean;
|
|
2028
2032
|
/**
|
|
2029
2033
|
* Whether the button is focusable when disabled.
|
|
2030
2034
|
* Without this property, the accessibility of the button decreases when disabled since it's not read by screen readers.
|
|
2031
2035
|
* Set this property to `true` when you need the button to still be focusable when disabled for accessibility purposes.
|
|
2032
2036
|
*/
|
|
2033
|
-
focusableWhenDisabled?: boolean
|
|
2037
|
+
focusableWhenDisabled?: boolean;
|
|
2034
2038
|
} & {
|
|
2035
2039
|
component?: C | undefined;
|
|
2036
2040
|
} & {
|
|
2037
|
-
children?: ReactNode;
|
|
2041
|
+
children?: ReactNode | undefined;
|
|
2038
2042
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "selected" | "component" | "focusableWhenDisabled"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "selected" | "component" | "focusableWhenDisabled"> ? T extends any ? T : never : never : never) & {
|
|
2039
2043
|
ref?: PolymorphicRef<C> | undefined;
|
|
2040
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
2044
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
2041
2045
|
|
|
2042
2046
|
export declare type HvButtonBaseClasses = ExtractNames<typeof useClasses_2>;
|
|
2043
2047
|
|
|
@@ -2099,12 +2103,12 @@ export declare type HvButtonSize = HvSize;
|
|
|
2099
2103
|
|
|
2100
2104
|
export declare type HvButtonVariant = "contained" | "subtle" | "ghost" | `primary${TypeSuffix}` | `secondary${TypeSuffix}` | `positive${TypeSuffix}` | `negative${TypeSuffix}` | `warning${TypeSuffix}` | "semantic";
|
|
2101
2105
|
|
|
2102
|
-
export declare const HvCalendar: (props: HvCalendarProps) =>
|
|
2106
|
+
export declare const HvCalendar: (props: HvCalendarProps) => JSX_2.Element;
|
|
2103
2107
|
|
|
2104
2108
|
export declare type HvCalendarClasses = ExtractNames<typeof useClasses_37>;
|
|
2105
2109
|
|
|
2106
2110
|
export declare const HvCalendarHeader: {
|
|
2107
|
-
(props: HvCalendarHeaderProps):
|
|
2111
|
+
(props: HvCalendarHeaderProps): JSX_2.Element;
|
|
2108
2112
|
formElementType: string;
|
|
2109
2113
|
};
|
|
2110
2114
|
|
|
@@ -2197,7 +2201,7 @@ export declare const HvCard: ForwardRefExoticComponent<HvCardProps & RefAttribut
|
|
|
2197
2201
|
|
|
2198
2202
|
export declare type HvCardClasses = ExtractNames<typeof useClasses_40>;
|
|
2199
2203
|
|
|
2200
|
-
export declare const HvCardContent: (props: HvCardContentProps) =>
|
|
2204
|
+
export declare const HvCardContent: (props: HvCardContentProps) => JSX_2.Element;
|
|
2201
2205
|
|
|
2202
2206
|
export declare type HvCardContentClasses = ExtractNames<typeof useClasses_42>;
|
|
2203
2207
|
|
|
@@ -2208,7 +2212,7 @@ export declare interface HvCardContentProps extends Omit<CardContentProps, "clas
|
|
|
2208
2212
|
classes?: HvCardContentClasses;
|
|
2209
2213
|
}
|
|
2210
2214
|
|
|
2211
|
-
export declare const HvCardHeader: (props: HvCardHeaderProps) =>
|
|
2215
|
+
export declare const HvCardHeader: (props: HvCardHeaderProps) => JSX_2.Element;
|
|
2212
2216
|
|
|
2213
2217
|
export declare type HvCardHeaderClasses = ExtractNames<typeof useClasses_41>;
|
|
2214
2218
|
|
|
@@ -2225,7 +2229,7 @@ export declare interface HvCardHeaderProps extends Omit<CardHeaderProps, "classe
|
|
|
2225
2229
|
classes?: HvCardHeaderClasses;
|
|
2226
2230
|
}
|
|
2227
2231
|
|
|
2228
|
-
export declare const HvCardMedia: ({ classes: classesProp, className, children, ...others }: HvCardMediaProps) =>
|
|
2232
|
+
export declare const HvCardMedia: ({ classes: classesProp, className, children, ...others }: HvCardMediaProps) => JSX_2.Element;
|
|
2229
2233
|
|
|
2230
2234
|
export declare type HvCardMediaClasses = ExtractNames<typeof useClasses_43>;
|
|
2231
2235
|
|
|
@@ -2268,7 +2272,7 @@ export declare const HvCarousel: ForwardRefExoticComponent<HvCarouselProps & Ref
|
|
|
2268
2272
|
|
|
2269
2273
|
export declare type HvCarouselClasses = ExtractNames<typeof useClasses_44>;
|
|
2270
2274
|
|
|
2271
|
-
export declare const HvCarouselControls: (props: HvCarouselControlsProps) =>
|
|
2275
|
+
export declare const HvCarouselControls: (props: HvCarouselControlsProps) => JSX_2.Element;
|
|
2272
2276
|
|
|
2273
2277
|
declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, Pick<HvPaginationProps, "page" | "pages" | "canPrevious" | "canNext"> {
|
|
2274
2278
|
showDots?: boolean;
|
|
@@ -2325,7 +2329,7 @@ export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "ti
|
|
|
2325
2329
|
* A container to use as `children` of `HvCarousel`.
|
|
2326
2330
|
* Pass `img` props directly to it, or `children` for any custom content
|
|
2327
2331
|
*/
|
|
2328
|
-
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) =>
|
|
2332
|
+
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) => JSX_2.Element;
|
|
2329
2333
|
|
|
2330
2334
|
export declare type HvCarouselSlideClasses = ExtractNames<typeof useClasses_45>;
|
|
2331
2335
|
|
|
@@ -2376,7 +2380,7 @@ export declare interface HvCellProps<D extends object = Record<string, unknown>,
|
|
|
2376
2380
|
* Use the character counter when there is a character or word limit.
|
|
2377
2381
|
* By itself it doesn't block the user from going above the limit.
|
|
2378
2382
|
*/
|
|
2379
|
-
export declare const HvCharCounter: (props: HvCharCounterProps) =>
|
|
2383
|
+
export declare const HvCharCounter: (props: HvCharCounterProps) => JSX_2.Element;
|
|
2380
2384
|
|
|
2381
2385
|
export declare type HvCharCounterClasses = ExtractNames<typeof useClasses_6>;
|
|
2382
2386
|
|
|
@@ -2689,7 +2693,7 @@ export declare interface HvContainerProps extends Omit<ContainerProps, "classes"
|
|
|
2689
2693
|
classes?: HvContainerClasses;
|
|
2690
2694
|
}
|
|
2691
2695
|
|
|
2692
|
-
export declare const HvControls: (props: HvControlsProps) =>
|
|
2696
|
+
export declare const HvControls: (props: HvControlsProps) => JSX_2.Element;
|
|
2693
2697
|
|
|
2694
2698
|
export declare type HvControlsClasses = ExtractNames<typeof useClasses_51>;
|
|
2695
2699
|
|
|
@@ -2863,11 +2867,11 @@ export declare type HvDatePickerStatus = HvFormStatus;
|
|
|
2863
2867
|
/**
|
|
2864
2868
|
* A Dialog is a graphical control element in the form of a small panel that communicates information and prompts for a response.
|
|
2865
2869
|
*/
|
|
2866
|
-
export declare const HvDialog: (props: HvDialogProps) =>
|
|
2870
|
+
export declare const HvDialog: (props: HvDialogProps) => JSX_2.Element;
|
|
2867
2871
|
|
|
2868
2872
|
export declare type HvDialogActionClasses = ExtractNames<typeof useClasses_63>;
|
|
2869
2873
|
|
|
2870
|
-
export declare const HvDialogActions: (props: HvDialogActionsProps) =>
|
|
2874
|
+
export declare const HvDialogActions: (props: HvDialogActionsProps) => JSX_2.Element;
|
|
2871
2875
|
|
|
2872
2876
|
export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "classes"> {
|
|
2873
2877
|
/** Set the dialog to fullscreen mode. @deprecated set `fullscreen` in `HvDialog` */
|
|
@@ -2878,7 +2882,7 @@ export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "
|
|
|
2878
2882
|
|
|
2879
2883
|
export declare type HvDialogClasses = ExtractNames<typeof useClasses_64>;
|
|
2880
2884
|
|
|
2881
|
-
export declare const HvDialogContent: (props: HvDialogContentProps) =>
|
|
2885
|
+
export declare const HvDialogContent: (props: HvDialogContentProps) => JSX_2.Element;
|
|
2882
2886
|
|
|
2883
2887
|
export declare type HvDialogContentClasses = ExtractNames<typeof useClasses_62>;
|
|
2884
2888
|
|
|
@@ -2922,7 +2926,7 @@ export declare interface HvDialogProps extends Omit<DialogProps, "fullScreen" |
|
|
|
2922
2926
|
component?: DialogProps["component"];
|
|
2923
2927
|
}
|
|
2924
2928
|
|
|
2925
|
-
export declare const HvDialogTitle: (props: HvDialogTitleProps) =>
|
|
2929
|
+
export declare const HvDialogTitle: (props: HvDialogTitleProps) => JSX_2.Element;
|
|
2926
2930
|
|
|
2927
2931
|
export declare type HvDialogTitleClasses = ExtractNames<typeof useClasses_61>;
|
|
2928
2932
|
|
|
@@ -2943,7 +2947,7 @@ export declare type HvDialogTitleVariant = "success" | "warning" | "error" | "in
|
|
|
2943
2947
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact with structured content on a website or application.
|
|
2944
2948
|
* This component uses Radio Buttons to represent each page.
|
|
2945
2949
|
*/
|
|
2946
|
-
export declare const HvDotPagination: (props: HvDotPaginationProps) =>
|
|
2950
|
+
export declare const HvDotPagination: (props: HvDotPaginationProps) => JSX_2.Element;
|
|
2947
2951
|
|
|
2948
2952
|
export declare type HvDotPaginationClasses = ExtractNames<typeof useClasses_65>;
|
|
2949
2953
|
|
|
@@ -3044,13 +3048,13 @@ export declare interface HvDrawerProps extends Omit<DrawerProps, "classes"> {
|
|
|
3044
3048
|
/**
|
|
3045
3049
|
* A dropdown list is a graphical control element, similar to a list box, that allows the user to choose one value from a list.
|
|
3046
3050
|
*/
|
|
3047
|
-
export declare const HvDropdown: <Multiple extends boolean = false, OptionValue extends HvListValue = HvListValue>(props: HvDropdownProps<Multiple, OptionValue> & RefAttributes<HTMLDivElement>) => ReactElement
|
|
3051
|
+
export declare const HvDropdown: <Multiple extends boolean = false, OptionValue extends HvListValue = HvListValue>(props: HvDropdownProps<Multiple, OptionValue> & RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
3048
3052
|
|
|
3049
3053
|
export declare type HvDropdownClasses = ExtractNames<typeof useClasses_58>;
|
|
3050
3054
|
|
|
3051
3055
|
export declare function hvDropdownColumn<D extends object = Record<string, unknown>, H extends HvTableHeaderRenderer | undefined = HvTableHeaderRenderer>(col: HvTableColumnConfig<D, H>, id: string | undefined, placeholder: string, disabledPlaceholder: string, onChange?: (identifier: string, value: HvListValue) => void, dropdownProps?: HvDropdownProps<false>): HvTableColumnConfig<D, H>;
|
|
3052
3056
|
|
|
3053
|
-
export declare const HvDropdownColumnCell: ({ dropdownProps, ...others }: HvDropdownColumnCellProp) =>
|
|
3057
|
+
export declare const HvDropdownColumnCell: ({ dropdownProps, ...others }: HvDropdownColumnCellProp) => JSX_2.Element;
|
|
3054
3058
|
|
|
3055
3059
|
export declare interface HvDropdownColumnCellProp extends HvDropdownProps<false> {
|
|
3056
3060
|
/** Extra props to be passed onto the dropdown. @deprecated pass props directly */
|
|
@@ -3368,7 +3372,7 @@ export { HvExtraDeepProps }
|
|
|
3368
3372
|
|
|
3369
3373
|
export { HvExtraProps }
|
|
3370
3374
|
|
|
3371
|
-
export declare const HvFile: (props: HvFileProps) =>
|
|
3375
|
+
export declare const HvFile: (props: HvFileProps) => JSX_2.Element;
|
|
3372
3376
|
|
|
3373
3377
|
export declare type HvFileClasses = ExtractNames<typeof useClasses_70>;
|
|
3374
3378
|
|
|
@@ -3436,7 +3440,7 @@ export declare type HvFilesAddedEvent = (files: HvFileData[]) => void;
|
|
|
3436
3440
|
*
|
|
3437
3441
|
* Accepted file types follow the format of the html [input accept attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file).
|
|
3438
3442
|
*/
|
|
3439
|
-
export declare const HvFileUploader: (props: HvFileUploaderProps) =>
|
|
3443
|
+
export declare const HvFileUploader: (props: HvFileUploaderProps) => JSX_2.Element;
|
|
3440
3444
|
|
|
3441
3445
|
export declare type HvFileUploaderClasses = ExtractNames<typeof useClasses_71>;
|
|
3442
3446
|
|
|
@@ -3449,7 +3453,7 @@ export declare interface HvFileUploaderLabels extends HvDropZoneLabels {
|
|
|
3449
3453
|
* The `HvFileUploaderPreview` component is available to facilitate the styling
|
|
3450
3454
|
* of the button (when clickable) and the detection of image unloading.
|
|
3451
3455
|
*/
|
|
3452
|
-
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) =>
|
|
3456
|
+
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) => JSX_2.Element;
|
|
3453
3457
|
|
|
3454
3458
|
export declare type HvFileUploaderPreviewClasses = ExtractNames<typeof useClasses_69>;
|
|
3455
3459
|
|
|
@@ -3625,7 +3629,7 @@ export declare interface HvFilterGroupProps extends Omit<HvFormElementProps, "cl
|
|
|
3625
3629
|
export declare type HvFilterGroupValue = (string | number)[][];
|
|
3626
3630
|
|
|
3627
3631
|
/** @deprecated internal use only. this component has navigation issues. */
|
|
3628
|
-
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) =>
|
|
3632
|
+
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) => JSX_2.Element;
|
|
3629
3633
|
|
|
3630
3634
|
export declare type HvFocusClasses = ExtractNames<typeof useClasses_3>;
|
|
3631
3635
|
|
|
@@ -3694,7 +3698,7 @@ declare type HvFooterProps_2<D extends object = Record<string, unknown>> = HvTab
|
|
|
3694
3698
|
* It is used internally to build UI Kit's form components (eg. `HvInput`, `HvDatePicker`), and can be used to build custom form components.
|
|
3695
3699
|
*/
|
|
3696
3700
|
export declare const HvFormElement: {
|
|
3697
|
-
(props: HvFormElementProps):
|
|
3701
|
+
(props: HvFormElementProps): JSX_2.Element;
|
|
3698
3702
|
formElementType: string;
|
|
3699
3703
|
};
|
|
3700
3704
|
|
|
@@ -3925,7 +3929,7 @@ declare interface HvHeaderGroup<D extends object = Record<string, unknown>, H ex
|
|
|
3925
3929
|
headers: Array<HvHeaderGroup<D, H>>;
|
|
3926
3930
|
}
|
|
3927
3931
|
|
|
3928
|
-
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) =>
|
|
3932
|
+
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) => JSX_2.Element;
|
|
3929
3933
|
|
|
3930
3934
|
declare type HvHeaderMenuBarClasses = ExtractNames<typeof useClasses_81>;
|
|
3931
3935
|
|
|
@@ -3938,7 +3942,7 @@ declare interface HvHeaderMenuBarProps extends HvBaseProps<HTMLDivElement, "onCl
|
|
|
3938
3942
|
classes?: HvHeaderMenuBarClasses;
|
|
3939
3943
|
}
|
|
3940
3944
|
|
|
3941
|
-
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) =>
|
|
3945
|
+
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) => JSX_2.Element;
|
|
3942
3946
|
|
|
3943
3947
|
declare type HvHeaderMenuItemClasses = ExtractNames<typeof useClasses_82>;
|
|
3944
3948
|
|
|
@@ -4019,7 +4023,7 @@ export declare type HvHorizontalScrollListItemClasses = ExtractNames<typeof useC
|
|
|
4019
4023
|
* As defined by Design System, a tooltip with the button’s label should always be displayed when hovering an icon only button.
|
|
4020
4024
|
* This component provides this behavior out of the box.
|
|
4021
4025
|
*/
|
|
4022
|
-
export declare const HvIconButton: <C extends ElementType
|
|
4026
|
+
export declare const HvIconButton: <C extends React.ElementType = "button">(props: Omit<HvButtonProps<C>, "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon"> & {
|
|
4023
4027
|
/** Label to be displayed in the tooltip when hovered. This label will be used as the button's `aria-label`. */
|
|
4024
4028
|
title: React.ReactNode;
|
|
4025
4029
|
/** Number of milliseconds to wait before showing the tooltip. @default 500 */
|
|
@@ -4027,14 +4031,14 @@ export declare const HvIconButton: <C extends ElementType<any, keyof JSX_2.Intri
|
|
|
4027
4031
|
/** Tooltip placement. @default top */
|
|
4028
4032
|
placement?: HvTooltipProps["placement"];
|
|
4029
4033
|
/** Extra tooltip properties. */
|
|
4030
|
-
tooltipProps?: Omit<Partial<HvTooltipProps>, "children"
|
|
4034
|
+
tooltipProps?: Omit<Partial<HvTooltipProps>, "children">;
|
|
4031
4035
|
} & {
|
|
4032
4036
|
component?: C | undefined;
|
|
4033
4037
|
} & {
|
|
4034
|
-
children?: ReactNode;
|
|
4035
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "
|
|
4038
|
+
children?: ReactNode | undefined;
|
|
4039
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> extends infer T_1 ? T_1 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "title" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "overrideIconColors" | "placement" | "enterDelay" | "tooltipProps" | Exclude<keyof (Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T_2 ? T_2 extends Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "classes" | "disabled" | "icon" | "selected" | "variant" | "size" | "component" | "className" | "radius" | "focusableWhenDisabled" | "startIcon" | "endIcon" | "overrideIconColors"> ? T_2 extends any ? T_2 : never : never : never), "icon" | "title" | "children" | "ref" | "component" | "focusableWhenDisabled" | "startIcon" | "endIcon">> ? T_1 extends any ? T_1 : never : never : never) & {
|
|
4036
4040
|
ref?: PolymorphicRef<C> | undefined;
|
|
4037
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
4041
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
4038
4042
|
|
|
4039
4043
|
export declare type HvIconButtonProps<C extends React.ElementType = "button"> = PolymorphicComponentRef<C, Omit<HvButtonProps<C>, "icon" | "focusableWhenDisabled" | "title" | "startIcon" | "endIcon" | "children" | "ref" | "component"> & {
|
|
4040
4044
|
/** Label to be displayed in the tooltip when hovered. This label will be used as the button's `aria-label`. */
|
|
@@ -4050,7 +4054,7 @@ export declare type HvIconButtonProps<C extends React.ElementType = "button"> =
|
|
|
4050
4054
|
/**
|
|
4051
4055
|
* Provides the user with additional descriptive text for the form element.
|
|
4052
4056
|
*/
|
|
4053
|
-
export declare const HvInfoMessage: (props: HvInfoMessageProps) =>
|
|
4057
|
+
export declare const HvInfoMessage: (props: HvInfoMessageProps) => JSX_2.Element;
|
|
4054
4058
|
|
|
4055
4059
|
export declare type HvInfoMessageClasses = ExtractNames<typeof useClasses_10>;
|
|
4056
4060
|
|
|
@@ -4067,27 +4071,27 @@ export declare interface HvInfoMessageProps extends HvTypographyProps<"label"> {
|
|
|
4067
4071
|
* An Inline Editor allows the user to edit a record without making a major switch
|
|
4068
4072
|
* between viewing and editing, making it an efficient method of updating a record.
|
|
4069
4073
|
*/
|
|
4070
|
-
export declare const HvInlineEditor: <C extends ElementType
|
|
4074
|
+
export declare const HvInlineEditor: <C extends React.ElementType = <InputElement extends HTMLElement = HTMLInputElement | HTMLTextAreaElement>(props: HvInputProps<InputElement> & RefAttributes<InputElement>) => React.ReactElement | null>(props: {
|
|
4071
4075
|
/** The value of the form element. */
|
|
4072
|
-
value?: string
|
|
4076
|
+
value?: string;
|
|
4073
4077
|
/** The default value of the form element. */
|
|
4074
|
-
defaultValue?: string
|
|
4078
|
+
defaultValue?: string;
|
|
4075
4079
|
/** Whether the Edit icon should always be visible */
|
|
4076
|
-
showIcon?: boolean
|
|
4080
|
+
showIcon?: boolean;
|
|
4077
4081
|
/** Variant of the HvTypography to display */
|
|
4078
|
-
variant?:
|
|
4082
|
+
variant?: HvTypographyVariants;
|
|
4079
4083
|
/** Called when the input is blurred. */
|
|
4080
|
-
onBlur?: (
|
|
4084
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement | HTMLInputElement>, value: string) => void;
|
|
4081
4085
|
/** Called when the input value changes. */
|
|
4082
|
-
onChange?: (
|
|
4086
|
+
onChange?: (event: React.SyntheticEvent, value: string) => void;
|
|
4083
4087
|
/** Called when there's a keydown event on the input. */
|
|
4084
|
-
onKeyDown?: (
|
|
4088
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement | HTMLInputElement> | React.MouseEvent, value: string) => void;
|
|
4085
4089
|
/** Props passed to the HvButton component */
|
|
4086
|
-
buttonProps?: HvButtonProps
|
|
4090
|
+
buttonProps?: HvButtonProps;
|
|
4087
4091
|
/** Props passed to the HvTypography text component */
|
|
4088
|
-
typographyProps?: HvTypographyProps
|
|
4092
|
+
typographyProps?: HvTypographyProps;
|
|
4089
4093
|
/** Whether the editor is disabled or not. */
|
|
4090
|
-
disabled?: boolean
|
|
4094
|
+
disabled?: boolean;
|
|
4091
4095
|
/** A Jss Object used to override or extend the styles applied to the empty state component. */
|
|
4092
4096
|
classes?: Partial<{
|
|
4093
4097
|
root: string;
|
|
@@ -4100,16 +4104,16 @@ export declare const HvInlineEditor: <C extends ElementType<any, keyof JSX_2.Int
|
|
|
4100
4104
|
button: string;
|
|
4101
4105
|
icon: string;
|
|
4102
4106
|
iconVisible: string;
|
|
4103
|
-
}
|
|
4107
|
+
}>;
|
|
4104
4108
|
/** The placeholder value of the input. */
|
|
4105
|
-
placeholder?: string
|
|
4109
|
+
placeholder?: string;
|
|
4106
4110
|
} & {
|
|
4107
4111
|
component?: C | undefined;
|
|
4108
4112
|
} & {
|
|
4109
|
-
children?: ReactNode;
|
|
4110
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "placeholder" | "disabled" | "variant" | "component" | "onBlur" | "onChange" | "onKeyDown" | "defaultValue" | "
|
|
4113
|
+
children?: ReactNode | undefined;
|
|
4114
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "placeholder" | "disabled" | "variant" | "component" | "onBlur" | "onChange" | "onKeyDown" | "defaultValue" | "buttonProps" | "showIcon" | "typographyProps"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "value" | "classes" | "placeholder" | "disabled" | "variant" | "component" | "onBlur" | "onChange" | "onKeyDown" | "defaultValue" | "buttonProps" | "showIcon" | "typographyProps"> ? T extends any ? T : never : never : never) & {
|
|
4111
4115
|
ref?: PolymorphicRef<C> | undefined;
|
|
4112
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
4116
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
4113
4117
|
|
|
4114
4118
|
export declare type HvInlineEditorClasses = ExtractNames<typeof useClasses_84>;
|
|
4115
4119
|
|
|
@@ -4143,18 +4147,18 @@ export declare type HvInlineEditorProps<C extends React.ElementType = typeof HvI
|
|
|
4143
4147
|
/**
|
|
4144
4148
|
* A text input box is a graphical control element intended to enable the user to input text information to be used by the software.
|
|
4145
4149
|
*/
|
|
4146
|
-
export declare const HvInput: <InputElement extends HTMLElement = HTMLInputElement | HTMLTextAreaElement>(props: HvInputProps<InputElement> & RefAttributes<InputElement>) => ReactElement
|
|
4150
|
+
export declare const HvInput: <InputElement extends HTMLElement = HTMLInputElement | HTMLTextAreaElement>(props: HvInputProps<InputElement> & RefAttributes<InputElement>) => React.ReactElement | null;
|
|
4147
4151
|
|
|
4148
4152
|
export declare type HvInputClasses = ExtractNames<typeof useClasses_46>;
|
|
4149
4153
|
|
|
4150
4154
|
export declare type HvInputLabels = Partial<typeof DEFAULT_LABELS_4>;
|
|
4151
4155
|
|
|
4152
4156
|
export declare interface HvInputProps<InputElement extends HTMLElement = HTMLInputElement | HTMLTextAreaElement> extends Omit<HvBaseInputProps, "onChange" | "onBlur" | "onFocus" | "onKeyDown"> {
|
|
4153
|
-
/**
|
|
4157
|
+
/** @inheritdoc */
|
|
4154
4158
|
name?: string;
|
|
4155
|
-
/**
|
|
4159
|
+
/** @inheritdoc */
|
|
4156
4160
|
value?: React.InputHTMLAttributes<InputElement>["value"];
|
|
4157
|
-
/**
|
|
4161
|
+
/** @inheritdoc */
|
|
4158
4162
|
defaultValue?: React.InputHTMLAttributes<InputElement>["value"];
|
|
4159
4163
|
/**
|
|
4160
4164
|
* The label of the form element.
|
|
@@ -4165,11 +4169,11 @@ export declare interface HvInputProps<InputElement extends HTMLElement = HTMLInp
|
|
|
4165
4169
|
label?: React.ReactNode;
|
|
4166
4170
|
/** Provide additional descriptive text for the form element. */
|
|
4167
4171
|
description?: React.ReactNode;
|
|
4168
|
-
/**
|
|
4172
|
+
/** @inheritdoc */
|
|
4169
4173
|
disabled?: boolean;
|
|
4170
|
-
/**
|
|
4174
|
+
/** @inheritdoc */
|
|
4171
4175
|
readOnly?: boolean;
|
|
4172
|
-
/**
|
|
4176
|
+
/** @inheritdoc */
|
|
4173
4177
|
required?: boolean;
|
|
4174
4178
|
/**
|
|
4175
4179
|
* The status of the form element.
|
|
@@ -4182,17 +4186,14 @@ export declare interface HvInputProps<InputElement extends HTMLElement = HTMLInp
|
|
|
4182
4186
|
status?: HvFormStatus;
|
|
4183
4187
|
/** The error message to show when `status` is "invalid". */
|
|
4184
4188
|
statusMessage?: string;
|
|
4189
|
+
/** @inheritdoc */
|
|
4190
|
+
onChange?: (event: React.ChangeEvent<InputElement>, value: string) => void;
|
|
4185
4191
|
/**
|
|
4186
4192
|
* Callback called when the user submits the value by pressing Enter/Return.
|
|
4187
4193
|
*
|
|
4188
|
-
* Also called when the search button is clicked (when type
|
|
4189
|
-
*/
|
|
4190
|
-
/**
|
|
4191
|
-
* The function that will be executed onChange, allows modification of the input,
|
|
4192
|
-
* it receives the value. If a new value should be presented it must returned it.
|
|
4194
|
+
* Also called when the search button is clicked (when `type="search"`).
|
|
4193
4195
|
*/
|
|
4194
|
-
|
|
4195
|
-
onEnter?: (event: React.KeyboardEvent<InputElement> | React.MouseEvent, value: string) => void;
|
|
4196
|
+
onEnter?: (event: React.KeyboardEvent<InputElement>, value: string) => void;
|
|
4196
4197
|
/**
|
|
4197
4198
|
* The function that will be executed onBlur, allows checking the validation state,
|
|
4198
4199
|
* it receives the value and the validation state.
|
|
@@ -4285,7 +4286,7 @@ export declare interface HvKnobProperty {
|
|
|
4285
4286
|
* Communicates simple, immediate and vital information for operational decision making.
|
|
4286
4287
|
* @deprecated build KPIs with `HvCard`, or with your custom layouts
|
|
4287
4288
|
*/
|
|
4288
|
-
export declare const HvKpi: (props: HvKpiProps) =>
|
|
4289
|
+
export declare const HvKpi: (props: HvKpiProps) => JSX_2.Element;
|
|
4289
4290
|
|
|
4290
4291
|
export declare type HvKpiClasses = ExtractNames<typeof useClasses_85>;
|
|
4291
4292
|
|
|
@@ -4325,7 +4326,7 @@ export declare interface HvKpiProps extends HvBaseProps<HTMLDivElement, "childre
|
|
|
4325
4326
|
/**
|
|
4326
4327
|
* Provides the user with a recognizable name for a given form element.
|
|
4327
4328
|
*/
|
|
4328
|
-
export declare const HvLabel: (props: HvLabelProps) =>
|
|
4329
|
+
export declare const HvLabel: (props: HvLabelProps) => JSX_2.Element;
|
|
4329
4330
|
|
|
4330
4331
|
export declare type HvLabelClasses = ExtractNames<typeof useClasses_9>;
|
|
4331
4332
|
|
|
@@ -4346,7 +4347,7 @@ export declare interface HvLabelProps extends HvTypographyProps<"label"> {
|
|
|
4346
4347
|
classes?: HvLabelClasses;
|
|
4347
4348
|
}
|
|
4348
4349
|
|
|
4349
|
-
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) =>
|
|
4350
|
+
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) => JSX_2.Element;
|
|
4350
4351
|
|
|
4351
4352
|
export declare type HvLeftControlClasses = ExtractNames<typeof useClasses_56>;
|
|
4352
4353
|
|
|
@@ -4364,7 +4365,7 @@ export declare interface HvLeftControlProps extends HvBaseProps {
|
|
|
4364
4365
|
}
|
|
4365
4366
|
|
|
4366
4367
|
/** @deprecated use `<HvTypography link component="a" />` instead */
|
|
4367
|
-
export declare const HvLink: (props: HvLinkProps) =>
|
|
4368
|
+
export declare const HvLink: (props: HvLinkProps) => JSX_2.Element;
|
|
4368
4369
|
|
|
4369
4370
|
export declare type HvLinkClasses = ExtractNames<typeof useClasses_86>;
|
|
4370
4371
|
|
|
@@ -4381,7 +4382,7 @@ export declare interface HvLinkProps extends HvBaseProps<HTMLAnchorElement, "onC
|
|
|
4381
4382
|
* Component used to show a set of related data to the user.
|
|
4382
4383
|
* @deprecated use `HvListContainer` + `HvListItem` instead
|
|
4383
4384
|
*/
|
|
4384
|
-
export declare const HvList: (props: HvListProps) =>
|
|
4385
|
+
export declare const HvList: (props: HvListProps) => JSX_2.Element | null;
|
|
4385
4386
|
|
|
4386
4387
|
export declare type HvListClasses = ExtractNames<typeof useClasses_87>;
|
|
4387
4388
|
|
|
@@ -4463,12 +4464,7 @@ export declare interface HvListItemProps extends HvBaseProps<HTMLLIElement> {
|
|
|
4463
4464
|
classes?: HvListItemClasses;
|
|
4464
4465
|
}
|
|
4465
4466
|
|
|
4466
|
-
export declare
|
|
4467
|
-
/** The label used for the All checkbox action. */
|
|
4468
|
-
selectAll?: string;
|
|
4469
|
-
/** The label used in the middle of the multi-selection count. */
|
|
4470
|
-
selectionConjunction?: string;
|
|
4471
|
-
}
|
|
4467
|
+
export declare type HvListLabels = Partial<typeof DEFAULT_LABELS_12>;
|
|
4472
4468
|
|
|
4473
4469
|
export declare interface HvListProps extends HvBaseProps<HTMLUListElement, "onChange" | "onClick"> {
|
|
4474
4470
|
/**
|
|
@@ -4603,7 +4599,7 @@ declare interface HvMetaBase<D extends object = Record<string, unknown>, H exten
|
|
|
4603
4599
|
/**
|
|
4604
4600
|
* Multi-buttons are grouped sets of buttons displayed horizontally or vertically in the same container.
|
|
4605
4601
|
*/
|
|
4606
|
-
export declare const HvMultiButton: (props: HvMultiButtonProps) =>
|
|
4602
|
+
export declare const HvMultiButton: (props: HvMultiButtonProps) => JSX_2.Element;
|
|
4607
4603
|
|
|
4608
4604
|
export declare type HvMultiButtonClasses = ExtractNames<typeof useClasses_91>;
|
|
4609
4605
|
|
|
@@ -4641,7 +4637,7 @@ export declare function hvNumberColumn<D extends object = Record<string, unknown
|
|
|
4641
4637
|
|
|
4642
4638
|
export declare const hvNumberFallback: (value: any) => number | "—";
|
|
4643
4639
|
|
|
4644
|
-
export declare const HvOption: <OptionValue extends {}>(props: HvOptionProps<OptionValue> & RefAttributes<HTMLLIElement>) => ReactElement
|
|
4640
|
+
export declare const HvOption: <OptionValue extends {}>(props: HvOptionProps<OptionValue> & RefAttributes<HTMLLIElement>) => React.ReactElement | null;
|
|
4645
4641
|
|
|
4646
4642
|
/**
|
|
4647
4643
|
* Optional
|
|
@@ -4678,7 +4674,7 @@ export declare interface HvOptionProps<OptionValue extends {}> extends Omit<HvLi
|
|
|
4678
4674
|
/**
|
|
4679
4675
|
* This component generates a tooltip whenever the text is overflowed.
|
|
4680
4676
|
*/
|
|
4681
|
-
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) =>
|
|
4677
|
+
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) => JSX_2.Element;
|
|
4682
4678
|
|
|
4683
4679
|
export declare type HvOverflowTooltipClasses = ExtractNames<typeof useClasses_92>;
|
|
4684
4680
|
|
|
@@ -4758,7 +4754,7 @@ export declare interface HvPanelProps extends HvBaseProps {
|
|
|
4758
4754
|
|
|
4759
4755
|
export declare type HvPolarizedColorKeys = "positive" | "positive_120" | "positive_80" | "warning" | "warning_120" | "warning_140" | "negative" | "cat21" | "cat22" | "cat23" | "cat24" | "cat25" | "cat26" | "cat27" | "cat28" | "catastrophic";
|
|
4760
4756
|
|
|
4761
|
-
export declare const HvProgressBar: (props: HvProgressBarProps) =>
|
|
4757
|
+
export declare const HvProgressBar: (props: HvProgressBarProps) => JSX_2.Element;
|
|
4762
4758
|
|
|
4763
4759
|
export declare type HvProgressBarClasses = ExtractNames<typeof useClasses_95>;
|
|
4764
4760
|
|
|
@@ -4807,7 +4803,7 @@ export declare type HvPropGetter<D extends object = Record<string, unknown>, H e
|
|
|
4807
4803
|
/**
|
|
4808
4804
|
* Enables theming capabilities and makes cross-component theme properties available down the tree.
|
|
4809
4805
|
*/
|
|
4810
|
-
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, emotionCache: emotionCacheProp, classNameKey, }: HvProviderProps) =>
|
|
4806
|
+
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, emotionCache: emotionCacheProp, classNameKey, }: HvProviderProps) => JSX_2.Element;
|
|
4811
4807
|
|
|
4812
4808
|
export declare interface HvProviderProps {
|
|
4813
4809
|
/**
|
|
@@ -4874,7 +4870,7 @@ export declare interface HvProviderProps {
|
|
|
4874
4870
|
*
|
|
4875
4871
|
* Take a look at the [usage page](https://lumada-design.github.io/uikit/master/?path=/docs/widgets-query-builder-usage--docs) to learn more about this component.
|
|
4876
4872
|
*/
|
|
4877
|
-
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) =>
|
|
4873
|
+
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) => JSX_2.Element;
|
|
4878
4874
|
|
|
4879
4875
|
export declare interface HvQueryBuilderAttribute extends Record<string, unknown> {
|
|
4880
4876
|
id?: string;
|
|
@@ -5319,7 +5315,7 @@ export declare type HvRadioStatus = "standBy" | "valid" | "invalid";
|
|
|
5319
5315
|
|
|
5320
5316
|
export { HvRadius }
|
|
5321
5317
|
|
|
5322
|
-
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) =>
|
|
5318
|
+
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) => JSX_2.Element;
|
|
5323
5319
|
|
|
5324
5320
|
export declare type HvRightControlClasses = ExtractNames<typeof useClasses_57>;
|
|
5325
5321
|
|
|
@@ -5358,7 +5354,7 @@ declare type HvRowPropGetter<D extends object = Record<string, unknown>, H exten
|
|
|
5358
5354
|
/**
|
|
5359
5355
|
* The horizontal scroll to element can be used to quickly navigate in a page.
|
|
5360
5356
|
*/
|
|
5361
|
-
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) =>
|
|
5357
|
+
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) => JSX_2.Element;
|
|
5362
5358
|
|
|
5363
5359
|
export declare type HvScrollToHorizontalClasses = ExtractNames<typeof useClasses_99>;
|
|
5364
5360
|
|
|
@@ -5440,7 +5436,7 @@ declare type HvScrollToTooltipPositions = "left" | "right" | "top" | "bottom";
|
|
|
5440
5436
|
/**
|
|
5441
5437
|
* The vertical scroll to element can be used to quickly navigate in a page.
|
|
5442
5438
|
*/
|
|
5443
|
-
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) =>
|
|
5439
|
+
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) => JSX_2.Element;
|
|
5444
5440
|
|
|
5445
5441
|
export declare type HvScrollToVerticalClasses = ExtractNames<typeof useClasses_101>;
|
|
5446
5442
|
|
|
@@ -5551,7 +5547,7 @@ export declare interface HvSectionProps extends Omit<HvBaseProps<HTMLDivElement>
|
|
|
5551
5547
|
* <HvOption value="cat">Cat</HvOption>
|
|
5552
5548
|
* </HvSelect>
|
|
5553
5549
|
* */
|
|
5554
|
-
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean = false>(props: HvSelectProps<OptionValue, Multiple> & RefAttributes<HTMLButtonElement>) => ReactElement
|
|
5550
|
+
export declare const HvSelect: <OptionValue extends {}, Multiple extends boolean = false>(props: HvSelectProps<OptionValue, Multiple> & RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
|
5555
5551
|
|
|
5556
5552
|
export declare type HvSelectClasses = ExtractNames<typeof useClasses_12>;
|
|
5557
5553
|
|
|
@@ -5643,7 +5639,7 @@ export declare type HvSemanticColors = Record<HvSemanticColorKeys, string>;
|
|
|
5643
5639
|
|
|
5644
5640
|
export declare type HvSequentialColorKeys = "cat1" | "cat1_100" | "cat1_200" | "cat1_300" | "cat1_400" | "cat1_500" | "cat1_600" | "cat1_700" | "cat1_800" | "cat1_900";
|
|
5645
5641
|
|
|
5646
|
-
export declare const HvSimpleGrid: (props: HvSimpleGridProps) =>
|
|
5642
|
+
export declare const HvSimpleGrid: (props: HvSimpleGridProps) => JSX_2.Element;
|
|
5647
5643
|
|
|
5648
5644
|
export declare type HvSimpleGridClasses = ExtractNames<typeof useClasses_103>;
|
|
5649
5645
|
|
|
@@ -5690,7 +5686,7 @@ export { HvSize }
|
|
|
5690
5686
|
/**
|
|
5691
5687
|
* The `HvSkeleton` component is used to create a placeholder element that represents the shape and size of the content that will be loaded.
|
|
5692
5688
|
*/
|
|
5693
|
-
export declare const HvSkeleton: (props: HvSkeletonProps) =>
|
|
5689
|
+
export declare const HvSkeleton: (props: HvSkeletonProps) => JSX_2.Element;
|
|
5694
5690
|
|
|
5695
5691
|
export declare type HvSkeletonClasses = ExtractNames<typeof useClasses_132>;
|
|
5696
5692
|
|
|
@@ -5900,7 +5896,7 @@ export declare interface HvSnackbarProps extends Omit<SnackbarProps, "action" |
|
|
|
5900
5896
|
* This component uses of the [Notistack](https://github.com/iamhosseindhv/notistack) library.
|
|
5901
5897
|
* Please refer to its [API Reference](https://notistack.com/v2.x/api-reference) for more complex usage scenarios.
|
|
5902
5898
|
*/
|
|
5903
|
-
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, container, ...others }: HvSnackbarProviderProps) =>
|
|
5899
|
+
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, container, ...others }: HvSnackbarProviderProps) => JSX_2.Element;
|
|
5904
5900
|
|
|
5905
5901
|
export declare type HvSnackbarProviderClasses = ExtractNames<typeof useClasses_107>;
|
|
5906
5902
|
|
|
@@ -5930,7 +5926,7 @@ export declare type HvSnackbarVariant = "default" | "success" | "warning" | "err
|
|
|
5930
5926
|
*
|
|
5931
5927
|
* It also allows the specification of the spacing between the stack elements and the addition of a divider between the elements.
|
|
5932
5928
|
*/
|
|
5933
|
-
export declare const HvStack: (props: HvStackProps) =>
|
|
5929
|
+
export declare const HvStack: (props: HvStackProps) => JSX_2.Element;
|
|
5934
5930
|
|
|
5935
5931
|
export declare interface HvStackBreakpoints extends Record<HvBreakpoints, string> {
|
|
5936
5932
|
}
|
|
@@ -6483,9 +6479,7 @@ export declare interface HvTabsProps extends Omit<TabsProps, "onChange"> {
|
|
|
6483
6479
|
* A Tag is one word that describes a specific aspect of an asset. A single asset can have
|
|
6484
6480
|
* multiple tags.
|
|
6485
6481
|
* Use tags to highlight an item's status for quick recognition and navigation
|
|
6486
|
-
* Use color to indicate meanings that users can learn and recognize across products
|
|
6487
|
-
*
|
|
6488
|
-
* It leverages the [MUI Chip](https://mui.com/material-ui/react-chip/) component
|
|
6482
|
+
* Use color to indicate meanings that users can learn and recognize across products.
|
|
6489
6483
|
*/
|
|
6490
6484
|
export declare const HvTag: ForwardRefExoticComponent<Omit<HvTagProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
6491
6485
|
|
|
@@ -6530,7 +6524,7 @@ export declare interface HvTagProps extends Omit<HvButtonBaseProps, "type" | "co
|
|
|
6530
6524
|
/**
|
|
6531
6525
|
* A tags input is a single or multiline control that allows the input of tags.
|
|
6532
6526
|
*/
|
|
6533
|
-
export declare const HvTagsInput: ForwardRefExoticComponent<HvTagsInputProps & RefAttributes<
|
|
6527
|
+
export declare const HvTagsInput: ForwardRefExoticComponent<HvTagsInputProps & RefAttributes<HTMLElement>>;
|
|
6534
6528
|
|
|
6535
6529
|
export declare type HvTagsInputClasses = ExtractNames<typeof useClasses_116>;
|
|
6536
6530
|
|
|
@@ -6540,15 +6534,15 @@ export declare interface HvTagsInputProps extends Omit<HvInputProps, "onChange"
|
|
|
6540
6534
|
/** When uncontrolled, defines the initial input value. */
|
|
6541
6535
|
defaultValue?: string[] | HvTagProps[];
|
|
6542
6536
|
/** The function that will be executed onChange. */
|
|
6543
|
-
onChange?: (event: React.
|
|
6537
|
+
onChange?: (event: React.SyntheticEvent, value: HvTagProps[]) => void;
|
|
6544
6538
|
/** The function that will be executed when the element is focused. */
|
|
6545
6539
|
onFocus?: (event: React.FocusEvent<HTMLDivElement>, value: string) => void;
|
|
6546
6540
|
/** The function that will be executed when the element is blurred. */
|
|
6547
6541
|
onBlur?: (event: React.FocusEvent<HTMLDivElement>, value: string) => void;
|
|
6548
6542
|
/** The function that will be executed when a tag is deleted. */
|
|
6549
|
-
onDelete?: (event: React.
|
|
6543
|
+
onDelete?: (event: React.SyntheticEvent, value: HvTagProps, index: number) => void;
|
|
6550
6544
|
/** The function that will be executed when a tag is added. */
|
|
6551
|
-
onAdd?: (event: React.
|
|
6545
|
+
onAdd?: (event: React.SyntheticEvent, value: HvTagProps, index: number) => void;
|
|
6552
6546
|
/** If `true` the character counter isn't shown even if maxTagsQuantity is set. */
|
|
6553
6547
|
hideCounter?: boolean;
|
|
6554
6548
|
/** Text between the current char counter and max value. */
|
|
@@ -6714,7 +6708,7 @@ export declare interface HvThemePalette {
|
|
|
6714
6708
|
support: HvSupportColors;
|
|
6715
6709
|
}
|
|
6716
6710
|
|
|
6717
|
-
export declare const HvThemeProvider: ({ children, themes: themesList, theme: themeProp, emotionCache, colorMode: colorModeProp, themeRootId: rootId, }: HvThemeProviderProps) =>
|
|
6711
|
+
export declare const HvThemeProvider: ({ children, themes: themesList, theme: themeProp, emotionCache, colorMode: colorModeProp, themeRootId: rootId, }: HvThemeProviderProps) => JSX_2.Element;
|
|
6718
6712
|
|
|
6719
6713
|
declare interface HvThemeProviderProps {
|
|
6720
6714
|
children: React.ReactNode;
|
|
@@ -6728,12 +6722,12 @@ declare interface HvThemeProviderProps {
|
|
|
6728
6722
|
/**
|
|
6729
6723
|
* The HvTimeAgo component implements the Design System relative time format guidelines.
|
|
6730
6724
|
*/
|
|
6731
|
-
export declare const HvTimeAgo: <C extends ElementType
|
|
6725
|
+
export declare const HvTimeAgo: <C extends React.ElementType = "p">(props: {
|
|
6732
6726
|
/**
|
|
6733
6727
|
* The timestamp to format, in seconds or milliseconds.
|
|
6734
6728
|
* Defaults to `emptyElement` if value is null or 0
|
|
6735
6729
|
*/
|
|
6736
|
-
timestamp?: number
|
|
6730
|
+
timestamp?: number;
|
|
6737
6731
|
/**
|
|
6738
6732
|
* The locale to be used. Should be on of the JS supported locales
|
|
6739
6733
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
|
|
@@ -6745,25 +6739,25 @@ export declare const HvTimeAgo: <C extends ElementType<any, keyof JSX_2.Intrinsi
|
|
|
6745
6739
|
*/
|
|
6746
6740
|
emptyElement?: React.ReactNode;
|
|
6747
6741
|
/** Disables periodic date refreshes */
|
|
6748
|
-
disableRefresh?: boolean
|
|
6742
|
+
disableRefresh?: boolean;
|
|
6749
6743
|
/** Whether to show seconds in the rendered time */
|
|
6750
|
-
showSeconds?: boolean
|
|
6744
|
+
showSeconds?: boolean;
|
|
6751
6745
|
/**
|
|
6752
6746
|
* Whether the component should render just the string
|
|
6753
6747
|
* Consider using `useTimeAgo` instead
|
|
6754
6748
|
*/
|
|
6755
|
-
justText?: boolean
|
|
6749
|
+
justText?: boolean;
|
|
6756
6750
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6757
6751
|
classes?: Partial<{
|
|
6758
6752
|
root: string;
|
|
6759
|
-
}
|
|
6753
|
+
}>;
|
|
6760
6754
|
} & {
|
|
6761
6755
|
component?: C | undefined;
|
|
6762
6756
|
} & {
|
|
6763
|
-
children?: ReactNode;
|
|
6764
|
-
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "component" | "
|
|
6757
|
+
children?: ReactNode | undefined;
|
|
6758
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "component" | "locale" | "emptyElement" | "showSeconds" | "timestamp" | "disableRefresh" | "justText"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "component" | "locale" | "emptyElement" | "showSeconds" | "timestamp" | "disableRefresh" | "justText"> ? T extends any ? T : never : never : never) & {
|
|
6765
6759
|
ref?: PolymorphicRef<C> | undefined;
|
|
6766
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
6760
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
6767
6761
|
|
|
6768
6762
|
export declare type HvTimeAgoClasses = ExtractNames<typeof useClasses_118>;
|
|
6769
6763
|
|
|
@@ -7002,7 +6996,7 @@ export declare interface HvTreeItemProps extends React.HTMLAttributes<HTMLElemen
|
|
|
7002
6996
|
* </HvTreeView>
|
|
7003
6997
|
* ```
|
|
7004
6998
|
*/
|
|
7005
|
-
export declare const HvTreeView: <Multiple extends boolean | undefined>(props: HvTreeViewProps<Multiple> & RefAttributes<HTMLUListElement>) => ReactElement
|
|
6999
|
+
export declare const HvTreeView: <Multiple extends boolean | undefined>(props: HvTreeViewProps<Multiple> & RefAttributes<HTMLUListElement>) => React.ReactElement | null;
|
|
7006
7000
|
|
|
7007
7001
|
export declare type HvTreeViewClasses = ExtractNames<typeof useClasses_120>;
|
|
7008
7002
|
|
|
@@ -7016,25 +7010,25 @@ export declare interface HvTreeViewProps<Multiple extends boolean | undefined> e
|
|
|
7016
7010
|
/**
|
|
7017
7011
|
* Typography component is used to render text and paragraphs within an interface.
|
|
7018
7012
|
*/
|
|
7019
|
-
export declare const HvTypography: <C extends ElementType
|
|
7013
|
+
export declare const HvTypography: <C extends React.ElementType = "p">(props: {
|
|
7020
7014
|
/** Use the variant prop to change the visual style of the Typography. */
|
|
7021
|
-
variant?:
|
|
7015
|
+
variant?: HvTypographyVariants | HvTypographyLegacyVariants;
|
|
7022
7016
|
/** If `true` the typography will display the look of a link. */
|
|
7023
|
-
link?: boolean
|
|
7017
|
+
link?: boolean;
|
|
7024
7018
|
/** If `true` the typography will display the look of a disabled state. */
|
|
7025
|
-
disabled?: boolean
|
|
7019
|
+
disabled?: boolean;
|
|
7026
7020
|
/**
|
|
7027
7021
|
* If `true`, the typography will render a "p" element
|
|
7028
7022
|
* @deprecated use `component="p"` instead
|
|
7029
7023
|
* */
|
|
7030
|
-
paragraph?: boolean
|
|
7024
|
+
paragraph?: boolean;
|
|
7031
7025
|
/**
|
|
7032
7026
|
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
7033
7027
|
*
|
|
7034
7028
|
* Note that text overflow can only happen with block or inline-block level elements
|
|
7035
7029
|
* (the element needs to have a width in order to overflow).
|
|
7036
7030
|
*/
|
|
7037
|
-
noWrap?: boolean
|
|
7031
|
+
noWrap?: boolean;
|
|
7038
7032
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
7039
7033
|
classes?: Partial<{
|
|
7040
7034
|
root: string;
|
|
@@ -7071,14 +7065,14 @@ export declare const HvTypography: <C extends ElementType<any, keyof JSX_2.Intri
|
|
|
7071
7065
|
vizText: string;
|
|
7072
7066
|
vizTextDisabled: string;
|
|
7073
7067
|
xsInlineLink: string;
|
|
7074
|
-
}
|
|
7068
|
+
}>;
|
|
7075
7069
|
} & {
|
|
7076
7070
|
component?: C | undefined;
|
|
7077
7071
|
} & {
|
|
7078
|
-
children?: ReactNode;
|
|
7072
|
+
children?: ReactNode | undefined;
|
|
7079
7073
|
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "variant" | "component" | "noWrap" | "paragraph"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "variant" | "component" | "noWrap" | "paragraph"> ? T extends any ? T : never : never : never) & {
|
|
7080
7074
|
ref?: PolymorphicRef<C> | undefined;
|
|
7081
|
-
} & RefAttributes<unknown>) => ReactElement
|
|
7075
|
+
} & RefAttributes<unknown>) => React.ReactElement | null;
|
|
7082
7076
|
|
|
7083
7077
|
export declare type HvTypographyClasses = ExtractNames<typeof useClasses>;
|
|
7084
7078
|
|
|
@@ -7158,7 +7152,7 @@ export declare interface HvValidationMessages {
|
|
|
7158
7152
|
*/
|
|
7159
7153
|
export declare const HvVerticalNavigation: ForwardRefExoticComponent<HvVerticalNavigationProps & RefAttributes<HTMLDivElement>>;
|
|
7160
7154
|
|
|
7161
|
-
export declare const HvVerticalNavigationAction: (props: HvVerticalNavigationActionProps) =>
|
|
7155
|
+
export declare const HvVerticalNavigationAction: (props: HvVerticalNavigationActionProps) => JSX_2.Element;
|
|
7162
7156
|
|
|
7163
7157
|
export declare type HvVerticalNavigationActionClasses = ExtractNames<typeof useClasses_126>;
|
|
7164
7158
|
|
|
@@ -7171,7 +7165,7 @@ export declare interface HvVerticalNavigationActionProps extends Omit<HvButtonPr
|
|
|
7171
7165
|
icon?: React.ReactNode;
|
|
7172
7166
|
}
|
|
7173
7167
|
|
|
7174
|
-
export declare const HvVerticalNavigationActions: (props: HvVerticalNavigationActionsProps) =>
|
|
7168
|
+
export declare const HvVerticalNavigationActions: (props: HvVerticalNavigationActionsProps) => JSX_2.Element;
|
|
7175
7169
|
|
|
7176
7170
|
export declare type HvVerticalNavigationActionsClasses = ExtractNames<typeof useClasses_125>;
|
|
7177
7171
|
|
|
@@ -7182,7 +7176,7 @@ export declare interface HvVerticalNavigationActionsProps extends HvBaseProps {
|
|
|
7182
7176
|
|
|
7183
7177
|
export declare type HvVerticalNavigationClasses = ExtractNames<typeof useClasses_123>;
|
|
7184
7178
|
|
|
7185
|
-
export declare const HvVerticalNavigationHeader: (props: HvVerticalNavigationHeaderProps) =>
|
|
7179
|
+
export declare const HvVerticalNavigationHeader: (props: HvVerticalNavigationHeaderProps) => JSX_2.Element | null;
|
|
7186
7180
|
|
|
7187
7181
|
export declare type HvVerticalNavigationHeaderClasses = ExtractNames<typeof useClasses_124>;
|
|
7188
7182
|
|
|
@@ -7229,7 +7223,7 @@ export declare interface HvVerticalNavigationProps extends HvBaseProps<HTMLDivEl
|
|
|
7229
7223
|
useIcons?: boolean;
|
|
7230
7224
|
}
|
|
7231
7225
|
|
|
7232
|
-
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) =>
|
|
7226
|
+
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) => JSX_2.Element;
|
|
7233
7227
|
|
|
7234
7228
|
export declare type HvVerticalNavigationSliderClasses = ExtractNames<typeof useClasses_128>;
|
|
7235
7229
|
|
|
@@ -7257,7 +7251,7 @@ export declare interface HvVerticalNavigationSliderProps extends Omit<HvListCont
|
|
|
7257
7251
|
forwardButtonAriaLabel?: string;
|
|
7258
7252
|
}
|
|
7259
7253
|
|
|
7260
|
-
export declare const HvVerticalNavigationTree: (props: HvVerticalNavigationTreeProps) =>
|
|
7254
|
+
export declare const HvVerticalNavigationTree: (props: HvVerticalNavigationTreeProps) => JSX_2.Element;
|
|
7261
7255
|
|
|
7262
7256
|
export declare type HvVerticalNavigationTreeClasses = ExtractNames<typeof useClasses_127>;
|
|
7263
7257
|
|
|
@@ -7416,7 +7410,7 @@ export declare type HvVerticalScrollListItemClasses = ExtractNames<typeof useCla
|
|
|
7416
7410
|
/**
|
|
7417
7411
|
* Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.
|
|
7418
7412
|
*/
|
|
7419
|
-
export declare const HvWarningText: (props: HvWarningTextProps) =>
|
|
7413
|
+
export declare const HvWarningText: (props: HvWarningTextProps) => JSX_2.Element;
|
|
7420
7414
|
|
|
7421
7415
|
export declare type HvWarningTextClasses = ExtractNames<typeof useClasses_11>;
|
|
7422
7416
|
|
|
@@ -7439,7 +7433,7 @@ export declare interface HvWarningTextProps extends HvBaseProps {
|
|
|
7439
7433
|
classes?: HvWarningTextClasses;
|
|
7440
7434
|
}
|
|
7441
7435
|
|
|
7442
|
-
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) =>
|
|
7436
|
+
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) => JSX_2.Element | null;
|
|
7443
7437
|
|
|
7444
7438
|
declare type IdType<D> = StringKey<D> | string;
|
|
7445
7439
|
|
|
@@ -7653,10 +7647,6 @@ export declare const optionGroupClasses: {
|
|
|
7653
7647
|
};
|
|
7654
7648
|
|
|
7655
7649
|
export declare const outlineStyles: {
|
|
7656
|
-
outlineColor: string;
|
|
7657
|
-
outlineStyle: string;
|
|
7658
|
-
outlineWidth: string;
|
|
7659
|
-
outlineOffset: string;
|
|
7660
7650
|
boxShadow: string;
|
|
7661
7651
|
};
|
|
7662
7652
|
|
|
@@ -8118,7 +8108,6 @@ export declare const tagClasses: {
|
|
|
8118
8108
|
};
|
|
8119
8109
|
|
|
8120
8110
|
export declare const tagsInputClasses: {
|
|
8121
|
-
input: string;
|
|
8122
8111
|
listItemGutters: string;
|
|
8123
8112
|
listItemRoot: string;
|
|
8124
8113
|
root: string;
|
|
@@ -8134,6 +8123,7 @@ export declare const tagsInputClasses: {
|
|
|
8134
8123
|
tagsList: string;
|
|
8135
8124
|
tagInputContainerRoot: string;
|
|
8136
8125
|
tagInputRoot: string;
|
|
8126
|
+
input: string;
|
|
8137
8127
|
tagSelected: string;
|
|
8138
8128
|
tagInputBorderContainer: string;
|
|
8139
8129
|
tagInputRootFocused: string;
|
|
@@ -8242,22 +8232,6 @@ export declare const treeViewItemClasses: {
|
|
|
8242
8232
|
icon: string;
|
|
8243
8233
|
};
|
|
8244
8234
|
|
|
8245
|
-
declare interface TreeViewItemRange {
|
|
8246
|
-
start?: string | null;
|
|
8247
|
-
end?: string | null;
|
|
8248
|
-
next?: string | null;
|
|
8249
|
-
current?: string;
|
|
8250
|
-
}
|
|
8251
|
-
|
|
8252
|
-
declare interface TreeViewNode {
|
|
8253
|
-
id: string;
|
|
8254
|
-
idAttribute: string | undefined;
|
|
8255
|
-
index: number;
|
|
8256
|
-
parentId: string | null;
|
|
8257
|
-
expandable: boolean;
|
|
8258
|
-
disabled: boolean | undefined;
|
|
8259
|
-
}
|
|
8260
|
-
|
|
8261
8235
|
declare type TreeViewSelectionValue<Multiple extends boolean | undefined> = Multiple extends true ? string[] : string | null;
|
|
8262
8236
|
|
|
8263
8237
|
declare type TypeSuffix = "" | "Subtle" | "Ghost";
|
|
@@ -8403,7 +8377,7 @@ declare const useClasses_103: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8403
8377
|
readonly cx: (...args: any) => string;
|
|
8404
8378
|
};
|
|
8405
8379
|
|
|
8406
|
-
declare const useClasses_104: (classesProp?: Partial<Record<"label" | "root" | "trackDragging" | "trackStandBy" | "handleContainer" | "error" | "labelContainer" | "rootDisabled" | "
|
|
8380
|
+
declare const useClasses_104: (classesProp?: Partial<Record<"label" | "root" | "trackDragging" | "trackStandBy" | "handleContainer" | "error" | "labelContainer" | "rootDisabled" | "sliderBase" | "sliderContainer" | "sliderRoot" | "rootRange" | "handle" | "handleContainerDisabled" | "handleHiddenContainer" | "labelIncluded" | "onlyInput" | "sliderTooltip", string>>, addStatic?: boolean) => {
|
|
8407
8381
|
readonly classes: {
|
|
8408
8382
|
sliderBase: string;
|
|
8409
8383
|
rootDisabled: string;
|
|
@@ -8428,7 +8402,7 @@ declare const useClasses_104: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8428
8402
|
readonly cx: (...args: any) => string;
|
|
8429
8403
|
};
|
|
8430
8404
|
|
|
8431
|
-
declare const useClasses_105: (classesProp?: Partial<Record<"root" | "
|
|
8405
|
+
declare const useClasses_105: (classesProp?: Partial<Record<"root" | "anchorOriginTopCenter" | "anchorOriginBottomCenter" | "anchorOriginTopRight" | "anchorOriginBottomRight" | "anchorOriginTopLeft" | "anchorOriginBottomLeft", string>>, addStatic?: boolean) => {
|
|
8432
8406
|
readonly classes: {
|
|
8433
8407
|
root: string;
|
|
8434
8408
|
anchorOriginTopRight: string;
|
|
@@ -8534,7 +8508,7 @@ declare const useClasses_112: (classesProp?: Partial<Record<"root" | "stickyHead
|
|
|
8534
8508
|
readonly cx: (...args: any) => string;
|
|
8535
8509
|
};
|
|
8536
8510
|
|
|
8537
|
-
declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "icon" | "selected" | "button" | "deleteIcon" | "focusVisible" | "
|
|
8511
|
+
declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "icon" | "selected" | "button" | "deleteIcon" | "focusVisible" | "categorical" | "clickable" | "chipRoot" | "tagButton" | "disabledDeleteIcon" | "categoricalFocus" | "categoricalDisabled", string>>, addStatic?: boolean) => {
|
|
8538
8512
|
readonly classes: {
|
|
8539
8513
|
root: string;
|
|
8540
8514
|
categorical: string;
|
|
@@ -8556,7 +8530,7 @@ declare const useClasses_113: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8556
8530
|
readonly cx: (...args: any) => string;
|
|
8557
8531
|
};
|
|
8558
8532
|
|
|
8559
|
-
declare const useClasses_114: (classesProp?: Partial<Record<"root" | "floating" | "
|
|
8533
|
+
declare const useClasses_114: (classesProp?: Partial<Record<"root" | "floating" | "indicator" | "scroller" | "flexContainer", string>>, addStatic?: boolean) => {
|
|
8560
8534
|
readonly classes: {
|
|
8561
8535
|
root: string;
|
|
8562
8536
|
indicator: string;
|
|
@@ -8579,9 +8553,8 @@ declare const useClasses_115: (classesProp?: Partial<Record<"root" | "disabled"
|
|
|
8579
8553
|
readonly cx: (...args: any) => string;
|
|
8580
8554
|
};
|
|
8581
8555
|
|
|
8582
|
-
declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "readOnly" | "input" | "
|
|
8556
|
+
declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "invalid" | "disabled" | "readOnly" | "input" | "tagInputRoot" | "tagsList" | "error" | "description" | "labelContainer" | "resizable" | "suggestionsContainer" | "suggestionList" | "inputExtension" | "chipRoot" | "listItemGutters" | "listItemRoot" | "characterCounter" | "tagInputContainerRoot" | "tagSelected" | "tagInputBorderContainer" | "tagInputRootFocused" | "tagInputRootEmpty" | "singleLine", string>>, addStatic?: boolean) => {
|
|
8583
8557
|
readonly classes: {
|
|
8584
|
-
input: string;
|
|
8585
8558
|
listItemGutters: string;
|
|
8586
8559
|
listItemRoot: string;
|
|
8587
8560
|
root: string;
|
|
@@ -8597,6 +8570,7 @@ declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8597
8570
|
tagsList: string;
|
|
8598
8571
|
tagInputContainerRoot: string;
|
|
8599
8572
|
tagInputRoot: string;
|
|
8573
|
+
input: string;
|
|
8600
8574
|
tagSelected: string;
|
|
8601
8575
|
tagInputBorderContainer: string;
|
|
8602
8576
|
tagInputRootFocused: string;
|
|
@@ -8611,7 +8585,7 @@ declare const useClasses_116: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8611
8585
|
readonly cx: (...args: any) => string;
|
|
8612
8586
|
};
|
|
8613
8587
|
|
|
8614
|
-
declare const useClasses_117: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "input" | "error" | "description" | "labelContainer" | "
|
|
8588
|
+
declare const useClasses_117: (classesProp?: Partial<Record<"label" | "root" | "invalid" | "disabled" | "input" | "error" | "description" | "labelContainer" | "resizable" | "inputResizable" | "characterCounter" | "baseInput", string>>, addStatic?: boolean) => {
|
|
8615
8589
|
readonly classes: {
|
|
8616
8590
|
root: string;
|
|
8617
8591
|
disabled: string;
|
|
@@ -8658,7 +8632,7 @@ declare const useClasses_119: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8658
8632
|
readonly cx: (...args: any) => string;
|
|
8659
8633
|
};
|
|
8660
8634
|
|
|
8661
|
-
declare const useClasses_12: (classesProp?: Partial<Record<"label" | "root" | "panel" | "disabled" | "readOnly" | "select" | "popper" | "error" | "description" | "labelContainer" | "
|
|
8635
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"label" | "root" | "panel" | "invalid" | "disabled" | "readOnly" | "select" | "popper" | "error" | "description" | "labelContainer" | "panelOpenedUp" | "panelOpenedDown", string>>, addStatic?: boolean) => {
|
|
8662
8636
|
readonly classes: {
|
|
8663
8637
|
root: string;
|
|
8664
8638
|
disabled: string;
|
|
@@ -8686,7 +8660,7 @@ declare const useClasses_120: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8686
8660
|
readonly cx: (...args: any) => string;
|
|
8687
8661
|
};
|
|
8688
8662
|
|
|
8689
|
-
declare const useClasses_121: (classesProp?: Partial<Record<"content" | "label" | "root" | "disabled" | "
|
|
8663
|
+
declare const useClasses_121: (classesProp?: Partial<Record<"content" | "label" | "root" | "disabled" | "focused" | "selected" | "expanded" | "group" | "iconContainer", string>>, addStatic?: boolean) => {
|
|
8690
8664
|
readonly classes: {
|
|
8691
8665
|
root: string;
|
|
8692
8666
|
group: string;
|
|
@@ -8702,7 +8676,7 @@ declare const useClasses_121: (classesProp?: Partial<Record<"content" | "label"
|
|
|
8702
8676
|
readonly cx: (...args: any) => string;
|
|
8703
8677
|
};
|
|
8704
8678
|
|
|
8705
|
-
declare const useClasses_122: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "
|
|
8679
|
+
declare const useClasses_122: (classesProp?: Partial<Record<"label" | "root" | "disabled" | "focused" | "selected" | "expanded" | "iconContainer", string>>, addStatic?: boolean) => {
|
|
8706
8680
|
readonly classes: {
|
|
8707
8681
|
root: string;
|
|
8708
8682
|
expanded: string;
|
|
@@ -8758,7 +8732,7 @@ declare const useClasses_126: (classesProp?: Partial<Record<"action" | "minimize
|
|
|
8758
8732
|
readonly cx: (...args: any) => string;
|
|
8759
8733
|
};
|
|
8760
8734
|
|
|
8761
|
-
declare const useClasses_127: (classesProp?: Partial<Record<"root" | "listItem" | "list" | "
|
|
8735
|
+
declare const useClasses_127: (classesProp?: Partial<Record<"root" | "listItem" | "list" | "popup" | "collapsed" | "navigationPopup", string>>, addStatic?: boolean) => {
|
|
8762
8736
|
readonly classes: {
|
|
8763
8737
|
root: string;
|
|
8764
8738
|
list: string;
|
|
@@ -8792,7 +8766,7 @@ declare const useClasses_129: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8792
8766
|
readonly cx: (...args: any) => string;
|
|
8793
8767
|
};
|
|
8794
8768
|
|
|
8795
|
-
declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "contained" | "primaryGhost" | "primarySubtle" | "subtle" | "
|
|
8769
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "contained" | "primaryGhost" | "primarySubtle" | "subtle" | "startIcon" | "endIcon" | "focusVisible", string>>, addStatic?: boolean) => {
|
|
8796
8770
|
readonly classes: {
|
|
8797
8771
|
root: string;
|
|
8798
8772
|
startIcon: string;
|
|
@@ -8815,7 +8789,7 @@ declare const useClasses_13: (classesProp?: Partial<Record<"secondary" | "primar
|
|
|
8815
8789
|
readonly cx: (...args: any) => string;
|
|
8816
8790
|
};
|
|
8817
8791
|
|
|
8818
|
-
declare const useClasses_130: (classesProp?: Partial<Record<"content" | "label" | "link" | "disabled" | "icon" | "selectable" | "selected" | "hide" | "expanded" | "unselectable" | "group" | "node" | "
|
|
8792
|
+
declare const useClasses_130: (classesProp?: Partial<Record<"content" | "label" | "link" | "disabled" | "focused" | "icon" | "selectable" | "selected" | "hide" | "expanded" | "unselectable" | "group" | "node" | "expandable" | "labelIcon" | "collapsed" | "minimized" | "unselected" | "labelExpandable", string>>, addStatic?: boolean) => {
|
|
8819
8793
|
readonly classes: {
|
|
8820
8794
|
node: string;
|
|
8821
8795
|
content: string;
|
|
@@ -8887,7 +8861,7 @@ declare const useClasses_15: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
8887
8861
|
readonly cx: (...args: any) => string;
|
|
8888
8862
|
};
|
|
8889
8863
|
|
|
8890
|
-
declare const useClasses_16: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "
|
|
8864
|
+
declare const useClasses_16: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "invalid" | "listbox" | "error" | "description", string>>, addStatic?: boolean) => {
|
|
8891
8865
|
readonly classes: {
|
|
8892
8866
|
root: string;
|
|
8893
8867
|
error: string;
|
|
@@ -8913,13 +8887,15 @@ declare const useClasses_17: (classesProp?: Partial<Record<"root" | "list" | "po
|
|
|
8913
8887
|
readonly cx: (...args: any) => string;
|
|
8914
8888
|
};
|
|
8915
8889
|
|
|
8916
|
-
declare const useClasses_18: (classesProp?: Partial<Record<"root" | "disabled" | "
|
|
8890
|
+
declare const useClasses_18: (classesProp?: Partial<Record<"root" | "invalid" | "disabled" | "multiline" | "readOnly" | "focused" | "input" | "inputReadOnly" | "inputRoot" | "resizable" | "inputBorderContainer" | "inputRootInvalid" | "inputRootReadOnly" | "inputRootFocused" | "inputRootDisabled" | "inputRootMultiline" | "inputDisabled" | "inputResizable", string>>, addStatic?: boolean) => {
|
|
8917
8891
|
readonly classes: {
|
|
8918
8892
|
root: string;
|
|
8919
8893
|
disabled: string;
|
|
8920
8894
|
invalid: string;
|
|
8895
|
+
multiline: string;
|
|
8921
8896
|
resizable: string;
|
|
8922
8897
|
readOnly: string;
|
|
8898
|
+
focused: string;
|
|
8923
8899
|
inputBorderContainer: string;
|
|
8924
8900
|
inputRootInvalid: string;
|
|
8925
8901
|
inputRootReadOnly: string;
|
|
@@ -8936,7 +8912,7 @@ declare const useClasses_18: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
8936
8912
|
readonly cx: (...args: any) => string;
|
|
8937
8913
|
};
|
|
8938
8914
|
|
|
8939
|
-
declare const useClasses_19: (classesProp?: Partial<Record<"container" | "header" | "root" | "headerOpen" | "headerDisabled" | "headerReadOnly" | "placeholder" | "panel" | "inputExtensionOpen" | "anchor" | "
|
|
8915
|
+
declare const useClasses_19: (classesProp?: Partial<Record<"container" | "header" | "root" | "headerOpen" | "headerDisabled" | "headerReadOnly" | "placeholder" | "panel" | "inputExtensionOpen" | "anchor" | "selection" | "arrowContainer" | "panelOpenedUp" | "panelOpenedDown" | "rootDisabled" | "headerOpenUp" | "headerOpenDown" | "arrow" | "selectionDisabled" | "inputExtensionLeftPosition" | "inputExtensionOpenShadow" | "inputExtensionFloatRight" | "inputExtensionFloatLeft", string>>, addStatic?: boolean) => {
|
|
8940
8916
|
readonly classes: {
|
|
8941
8917
|
root: string;
|
|
8942
8918
|
rootDisabled: string;
|
|
@@ -9062,7 +9038,7 @@ declare const useClasses_25: (classesProp?: Partial<Record<"typography" | "root"
|
|
|
9062
9038
|
readonly cx: (...args: any) => string;
|
|
9063
9039
|
};
|
|
9064
9040
|
|
|
9065
|
-
declare const useClasses_26: (classesProp?: Partial<Record<"container" | "xs" | "sm" | "md" | "lg" | "xl" | "root" | "square" | "img" | "status" | "
|
|
9041
|
+
declare const useClasses_26: (classesProp?: Partial<Record<"container" | "xs" | "sm" | "md" | "lg" | "xl" | "root" | "square" | "img" | "status" | "fallback" | "avatar" | "badge" | "circular", string>>, addStatic?: boolean) => {
|
|
9066
9042
|
readonly classes: {
|
|
9067
9043
|
root: string;
|
|
9068
9044
|
container: string;
|
|
@@ -9095,7 +9071,7 @@ declare const useClasses_27: (classesProp?: Partial<Record<"root" | "row" | "col
|
|
|
9095
9071
|
readonly cx: (...args: any) => string;
|
|
9096
9072
|
};
|
|
9097
9073
|
|
|
9098
|
-
declare const useClasses_28: (classesProp?: Partial<Record<"root" | "badgePosition" | "badge" | "
|
|
9074
|
+
declare const useClasses_28: (classesProp?: Partial<Record<"root" | "badgePosition" | "badge" | "badgeContainer" | "badgeHidden" | "showCount" | "showLabel" | "badgeIcon" | "badgeOneDigit", string>>, addStatic?: boolean) => {
|
|
9099
9075
|
readonly classes: {
|
|
9100
9076
|
root: string;
|
|
9101
9077
|
badgeContainer: string;
|
|
@@ -9111,7 +9087,7 @@ declare const useClasses_28: (classesProp?: Partial<Record<"root" | "badgePositi
|
|
|
9111
9087
|
readonly cx: (...args: any) => string;
|
|
9112
9088
|
};
|
|
9113
9089
|
|
|
9114
|
-
declare const useClasses_29: (classesProp?: Partial<Record<"root" | "
|
|
9090
|
+
declare const useClasses_29: (classesProp?: Partial<Record<"root" | "rootClosed" | "anchorOriginTopCenter" | "anchorOriginBottomCenter", string>>, addStatic?: boolean) => {
|
|
9115
9091
|
readonly classes: {
|
|
9116
9092
|
rootClosed: string;
|
|
9117
9093
|
root: string;
|
|
@@ -9122,7 +9098,7 @@ declare const useClasses_29: (classesProp?: Partial<Record<"root" | "anchorOrigi
|
|
|
9122
9098
|
readonly cx: (...args: any) => string;
|
|
9123
9099
|
};
|
|
9124
9100
|
|
|
9125
|
-
declare const useClasses_3: (classesProp?: Partial<Record<"root" | "disabled" | "
|
|
9101
|
+
declare const useClasses_3: (classesProp?: Partial<Record<"root" | "disabled" | "focused" | "selected" | "focus" | "focusDisabled" | "externalReference" | "falseFocus", string>>, addStatic?: boolean) => {
|
|
9126
9102
|
readonly classes: {
|
|
9127
9103
|
root: string;
|
|
9128
9104
|
selected: string;
|
|
@@ -9137,7 +9113,7 @@ declare const useClasses_3: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9137
9113
|
readonly cx: (...args: any) => string;
|
|
9138
9114
|
};
|
|
9139
9115
|
|
|
9140
|
-
declare const useClasses_30: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "success" | "error" | "message" | "
|
|
9116
|
+
declare const useClasses_30: (classesProp?: Partial<Record<"warning" | "root" | "action" | "default" | "success" | "error" | "message" | "actionContainer" | "baseVariant" | "outContainer" | "messageContainer" | "iconContainer" | "messageActions" | "actionsInnerContainer" | "closeAction", string>>, addStatic?: boolean) => {
|
|
9141
9117
|
readonly classes: {
|
|
9142
9118
|
root: string;
|
|
9143
9119
|
message: string;
|
|
@@ -9202,7 +9178,7 @@ declare const useClasses_33: (classesProp?: Partial<Record<"root" | "disabled" |
|
|
|
9202
9178
|
readonly cx: (...args: any) => string;
|
|
9203
9179
|
};
|
|
9204
9180
|
|
|
9205
|
-
declare const useClasses_34: (classesProp?: Partial<Record<"link" | "root" | "a" | "
|
|
9181
|
+
declare const useClasses_34: (classesProp?: Partial<Record<"link" | "root" | "a" | "orderedList" | "currentPage" | "centerContainer" | "separatorContainer", string>>, addStatic?: boolean) => {
|
|
9206
9182
|
readonly classes: {
|
|
9207
9183
|
root: string;
|
|
9208
9184
|
link: string;
|
|
@@ -9216,7 +9192,7 @@ declare const useClasses_34: (classesProp?: Partial<Record<"link" | "root" | "a"
|
|
|
9216
9192
|
readonly cx: (...args: any) => string;
|
|
9217
9193
|
};
|
|
9218
9194
|
|
|
9219
|
-
declare const useClasses_35: (classesProp?: Partial<Record<"root" | "semantic" | "divider" | "
|
|
9195
|
+
declare const useClasses_35: (classesProp?: Partial<Record<"root" | "semantic" | "divider" | "selectAll" | "actions" | "selectAllContainer" | "selectAllPages", string>>, addStatic?: boolean) => {
|
|
9220
9196
|
readonly classes: {
|
|
9221
9197
|
root: string;
|
|
9222
9198
|
semantic: string;
|
|
@@ -9248,7 +9224,7 @@ declare const useClasses_36: (classesProp?: Partial<Record<"container" | "label"
|
|
|
9248
9224
|
readonly cx: (...args: any) => string;
|
|
9249
9225
|
};
|
|
9250
9226
|
|
|
9251
|
-
declare const useClasses_37: (classesProp?: Partial<Record<"root" | "
|
|
9227
|
+
declare const useClasses_37: (classesProp?: Partial<Record<"root" | "rangeCalendarContainer" | "singleCalendar" | "focusSelection" | "calendarMonthlyCell" | "calendarMonthlyCellSelected", string>>, addStatic?: boolean) => {
|
|
9252
9228
|
readonly classes: {
|
|
9253
9229
|
root: string;
|
|
9254
9230
|
rangeCalendarContainer: string;
|
|
@@ -9261,21 +9237,17 @@ declare const useClasses_37: (classesProp?: Partial<Record<"root" | "calendarMon
|
|
|
9261
9237
|
readonly cx: (...args: any) => string;
|
|
9262
9238
|
};
|
|
9263
9239
|
|
|
9264
|
-
declare const useClasses_38: (classesProp?: Partial<Record<"root" | "
|
|
9240
|
+
declare const useClasses_38: (classesProp?: Partial<Record<"root" | "invalid" | "headerDayOfWeek", string>>, addStatic?: boolean) => {
|
|
9265
9241
|
readonly classes: {
|
|
9266
9242
|
root: string;
|
|
9267
9243
|
invalid: string;
|
|
9268
9244
|
headerDayOfWeek: string;
|
|
9269
|
-
headerDate: string;
|
|
9270
|
-
input: string;
|
|
9271
|
-
inputBorderContainer: string;
|
|
9272
|
-
invalidMessageStyling: string;
|
|
9273
9245
|
};
|
|
9274
9246
|
readonly css: any;
|
|
9275
9247
|
readonly cx: (...args: any) => string;
|
|
9276
9248
|
};
|
|
9277
9249
|
|
|
9278
|
-
declare const useClasses_39: (classesProp?: Partial<Record<"root" | "navigationContainer" | "navigationMonth" | "cellContainer" | "calendarDate" | "calendarDateSelected" | "calendarDateNotInMonth" | "calendarDateInSelectionRange" | "startBookend" | "endBookend" | "cellsInRange" | "cellsOutsideRange" | "calendarGrid" | "calendarDay" | "
|
|
9250
|
+
declare const useClasses_39: (classesProp?: Partial<Record<"root" | "focusSelection" | "navigationContainer" | "navigationMonth" | "cellContainer" | "calendarDate" | "calendarDateSelected" | "calendarDateNotInMonth" | "calendarDateInSelectionRange" | "startBookend" | "endBookend" | "cellsInRange" | "cellsOutsideRange" | "calendarGrid" | "calendarDay" | "calendarDateInvalid", string>>, addStatic?: boolean) => {
|
|
9279
9251
|
readonly classes: {
|
|
9280
9252
|
root: string;
|
|
9281
9253
|
calendarGrid: string;
|
|
@@ -9349,7 +9321,7 @@ declare const useClasses_43: (classesProp?: Partial<Record<"root" | "media", str
|
|
|
9349
9321
|
readonly cx: (...args: any) => string;
|
|
9350
9322
|
};
|
|
9351
9323
|
|
|
9352
|
-
declare const useClasses_44: (classesProp?: Partial<Record<"xs" | "root" | "panel" | "title" | "controls" | "counterContainer" | "thumbnail" | "thumbnailSelected" | "dot" | "main" | "
|
|
9324
|
+
declare const useClasses_44: (classesProp?: Partial<Record<"xs" | "root" | "panel" | "title" | "controls" | "counterContainer" | "thumbnail" | "thumbnailSelected" | "dot" | "main" | "counter" | "actions" | "fullscreen" | "closeButton" | "mainContainer" | "pageCounter" | "mainXs" | "mainFullscreen" | "slideControls" | "slidesViewport" | "slidesContainer" | "dots" | "dotsXs" | "dotSelected", string>>, addStatic?: boolean) => {
|
|
9353
9325
|
readonly classes: {
|
|
9354
9326
|
root: string;
|
|
9355
9327
|
xs: string;
|
|
@@ -9389,7 +9361,7 @@ declare const useClasses_45: (classesProp?: Partial<Record<"image" | "slide", st
|
|
|
9389
9361
|
readonly cx: (...args: any) => string;
|
|
9390
9362
|
};
|
|
9391
9363
|
|
|
9392
|
-
declare const useClasses_46: (classesProp?: Partial<Record<"label" | "root" | "
|
|
9364
|
+
declare const useClasses_46: (classesProp?: Partial<Record<"label" | "root" | "input" | "icon" | "error" | "inputRoot" | "description" | "adornmentButton" | "labelContainer" | "inputBorderContainer" | "inputRootFocused" | "inputRootDisabled" | "inputRootMultiline" | "adornmentsBox" | "iconClear" | "hasSuggestions" | "suggestionsContainer" | "suggestionList" | "inputExtension", string>>, addStatic?: boolean) => {
|
|
9393
9365
|
readonly classes: {
|
|
9394
9366
|
root: string;
|
|
9395
9367
|
labelContainer: string;
|
|
@@ -9437,7 +9409,7 @@ declare const useClasses_47: (classesProp?: Partial<Record<"root" | "icon" | "pa
|
|
|
9437
9409
|
readonly cx: (...args: any) => string;
|
|
9438
9410
|
};
|
|
9439
9411
|
|
|
9440
|
-
declare const useClasses_48: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "
|
|
9412
|
+
declare const useClasses_48: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "invalid" | "error" | "group" | "selectAll", string>>, addStatic?: boolean) => {
|
|
9441
9413
|
readonly classes: {
|
|
9442
9414
|
root: string;
|
|
9443
9415
|
label: string;
|
|
@@ -9472,7 +9444,7 @@ declare const useClasses_49: (classesProp?: Partial<Record<"label" | "colorPicke
|
|
|
9472
9444
|
readonly cx: (...args: any) => string;
|
|
9473
9445
|
};
|
|
9474
9446
|
|
|
9475
|
-
declare const useClasses_5: (classesProp?: Partial<Record<"root" | "disabled" | "selected" | "condensed" | "focus" | "
|
|
9447
|
+
declare const useClasses_5: (classesProp?: Partial<Record<"root" | "disabled" | "selected" | "condensed" | "focus" | "interactive" | "startAdornment" | "endAdornment" | "gutters" | "withStartAdornment" | "withEndAdornment", string>>, addStatic?: boolean) => {
|
|
9476
9448
|
readonly classes: {
|
|
9477
9449
|
root: string;
|
|
9478
9450
|
focus: string;
|
|
@@ -9516,7 +9488,7 @@ declare const useClasses_51: (classesProp?: Partial<Record<"root" | "section" |
|
|
|
9516
9488
|
readonly cx: (...args: any) => string;
|
|
9517
9489
|
};
|
|
9518
9490
|
|
|
9519
|
-
declare const useClasses_52: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "variantList" | "footer" | "
|
|
9491
|
+
declare const useClasses_52: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "variantList" | "footer" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "variantListHead" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing", string>>, addStatic?: boolean) => {
|
|
9520
9492
|
readonly classes: {
|
|
9521
9493
|
root: string;
|
|
9522
9494
|
head: string;
|
|
@@ -9547,7 +9519,7 @@ declare const useClasses_52: (classesProp?: Partial<Record<"body" | "root" | "he
|
|
|
9547
9519
|
readonly cx: (...args: any) => string;
|
|
9548
9520
|
};
|
|
9549
9521
|
|
|
9550
|
-
declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "selected" | "head" | "variantList" | "expanded" | "footer" | "
|
|
9522
|
+
declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "selected" | "head" | "variantList" | "expanded" | "footer" | "variantListHead" | "striped" | "hover", string>>, addStatic?: boolean) => {
|
|
9551
9523
|
readonly classes: {
|
|
9552
9524
|
root: string;
|
|
9553
9525
|
head: string;
|
|
@@ -9564,7 +9536,7 @@ declare const useClasses_53: (classesProp?: Partial<Record<"body" | "root" | "se
|
|
|
9564
9536
|
readonly cx: (...args: any) => string;
|
|
9565
9537
|
};
|
|
9566
9538
|
|
|
9567
|
-
declare const useClasses_54: (classesProp?: Partial<Record<"body" | "root" | "head" | "sortButton" | "variantList" | "resizer" | "footer" | "
|
|
9539
|
+
declare const useClasses_54: (classesProp?: Partial<Record<"body" | "root" | "head" | "sortButton" | "variantList" | "resizer" | "footer" | "resizable" | "sorted" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing" | "headerContent" | "headerText" | "headerParagraph" | "sortableHeaderText" | "sortable" | "sortIcon" | "alignFlexLeft" | "alignFlexRight" | "alignFlexCenter" | "alignFlexJustify", string>>, addStatic?: boolean) => {
|
|
9568
9540
|
readonly classes: {
|
|
9569
9541
|
root: string;
|
|
9570
9542
|
head: string;
|
|
@@ -9632,7 +9604,7 @@ declare const useClasses_57: (classesProp?: Partial<Record<"root" | "sortDropdow
|
|
|
9632
9604
|
readonly cx: (...args: any) => string;
|
|
9633
9605
|
};
|
|
9634
9606
|
|
|
9635
|
-
declare const useClasses_58: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "error" | "description" | "
|
|
9607
|
+
declare const useClasses_58: (classesProp?: Partial<Record<"label" | "root" | "placeholder" | "disabled" | "readOnly" | "placeholderClosed" | "error" | "description" | "labelContainer" | "dropdown" | "arrow" | "selectionDisabled" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "dropdownListContainer" | "rootList", string>>, addStatic?: boolean) => {
|
|
9636
9608
|
readonly classes: {
|
|
9637
9609
|
root: string;
|
|
9638
9610
|
labelContainer: string;
|
|
@@ -9656,7 +9628,7 @@ declare const useClasses_58: (classesProp?: Partial<Record<"label" | "root" | "p
|
|
|
9656
9628
|
readonly cx: (...args: any) => string;
|
|
9657
9629
|
};
|
|
9658
9630
|
|
|
9659
|
-
declare const useClasses_59: (classesProp?: Partial<Record<"listContainer" | "selection" | "
|
|
9631
|
+
declare const useClasses_59: (classesProp?: Partial<Record<"listContainer" | "selection" | "virtualized" | "selectAll" | "selectAllContainer" | "dropdownListContainer" | "rootList" | "searchContainer" | "listBorderDown", string>>, addStatic?: boolean) => {
|
|
9660
9632
|
readonly classes: {
|
|
9661
9633
|
rootList: string;
|
|
9662
9634
|
dropdownListContainer: string;
|
|
@@ -9767,7 +9739,7 @@ declare const useClasses_65: (classesProp?: Partial<Record<"horizontal" | "root"
|
|
|
9767
9739
|
readonly cx: (...args: any) => string;
|
|
9768
9740
|
};
|
|
9769
9741
|
|
|
9770
|
-
declare const useClasses_66: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "
|
|
9742
|
+
declare const useClasses_66: (classesProp?: Partial<Record<"vertical" | "horizontal" | "label" | "root" | "invalid" | "error" | "group", string>>, addStatic?: boolean) => {
|
|
9771
9743
|
readonly classes: {
|
|
9772
9744
|
root: string;
|
|
9773
9745
|
label: string;
|
|
@@ -9792,7 +9764,7 @@ declare const useClasses_67: (classesProp?: Partial<Record<"background" | "root"
|
|
|
9792
9764
|
readonly cx: (...args: any) => string;
|
|
9793
9765
|
};
|
|
9794
9766
|
|
|
9795
|
-
declare const useClasses_68: (classesProp?: Partial<Record<"container" | "root" | "titleContainer" | "
|
|
9767
|
+
declare const useClasses_68: (classesProp?: Partial<Record<"container" | "root" | "titleContainer" | "actionContainer" | "messageContainer" | "iconContainer" | "containerMessageOnly" | "textContainer", string>>, addStatic?: boolean) => {
|
|
9796
9768
|
readonly classes: {
|
|
9797
9769
|
root: string;
|
|
9798
9770
|
container: string;
|
|
@@ -9915,7 +9887,7 @@ declare const useClasses_75: (classesProp?: Partial<Record<"name" | "small" | "r
|
|
|
9915
9887
|
readonly cx: (...args: any) => string;
|
|
9916
9888
|
};
|
|
9917
9889
|
|
|
9918
|
-
declare const useClasses_76: (classesProp?: Partial<Record<"name" | "root" | "section" | "wrapper" | "sectionName" | "
|
|
9890
|
+
declare const useClasses_76: (classesProp?: Partial<Record<"name" | "root" | "section" | "wrapper" | "sectionName" | "actions" | "positionSticky" | "positionFixed" | "global" | "globalSectionArea" | "globalWrapperComplement" | "backButton", string>>, addStatic?: boolean) => {
|
|
9919
9891
|
readonly classes: {
|
|
9920
9892
|
root: string;
|
|
9921
9893
|
positionSticky: string;
|
|
@@ -9934,7 +9906,7 @@ declare const useClasses_76: (classesProp?: Partial<Record<"name" | "root" | "se
|
|
|
9934
9906
|
readonly cx: (...args: any) => string;
|
|
9935
9907
|
};
|
|
9936
9908
|
|
|
9937
|
-
declare const useClasses_77: (classesProp?: Partial<Record<"container" | "root" | "direction-xs-column" | "direction-xs-row-reverse" | "wrap-xs-nowrap" | "wrap-xs-wrap-reverse" | "
|
|
9909
|
+
declare const useClasses_77: (classesProp?: Partial<Record<"container" | "root" | "item" | "zeroMinWidth" | "direction-xs-column" | "direction-xs-reverse" | "direction-xs-row-reverse" | "wrap-xs-nowrap" | "wrap-xs-wrap-reverse" | "spacing-xs-1" | "spacing-xs-2" | "spacing-xs-3" | "spacing-xs-4" | "spacing-xs-5" | "spacing-xs-6" | "spacing-xs-7" | "spacing-xs-8" | "spacing-xs-9" | "spacing-xs-10" | "grid-xs-auto" | "grid-xs-true" | "grid-xs-1" | "grid-xs-2" | "grid-xs-3" | "grid-xs-4" | "grid-xs-5" | "grid-xs-6" | "grid-xs-7" | "grid-xs-8" | "grid-xs-9" | "grid-xs-10" | "grid-xs-11" | "grid-xs-12", string>>, addStatic?: boolean) => {
|
|
9938
9910
|
readonly classes: {
|
|
9939
9911
|
root: string;
|
|
9940
9912
|
container: string;
|
|
@@ -10046,7 +10018,7 @@ declare const useClasses_83: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
10046
10018
|
readonly cx: (...args: any) => string;
|
|
10047
10019
|
};
|
|
10048
10020
|
|
|
10049
|
-
declare const useClasses_84: (classesProp?: Partial<Record<"root" | "
|
|
10021
|
+
declare const useClasses_84: (classesProp?: Partial<Record<"root" | "input" | "icon" | "button" | "text" | "inputRoot" | "inputBorderContainer" | "largeText" | "textEmpty" | "iconVisible", string>>, addStatic?: boolean) => {
|
|
10050
10022
|
readonly classes: {
|
|
10051
10023
|
root: string;
|
|
10052
10024
|
inputBorderContainer: string;
|
|
@@ -10105,7 +10077,7 @@ declare const useClasses_87: (classesProp?: Partial<Record<"link" | "root" | "it
|
|
|
10105
10077
|
readonly cx: (...args: any) => string;
|
|
10106
10078
|
};
|
|
10107
10079
|
|
|
10108
|
-
declare const useClasses_88: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "root" | "hidden" | "loadingBar" | "blur" | "
|
|
10080
|
+
declare const useClasses_88: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "root" | "hidden" | "loadingBar" | "blur" | "barContainer" | "regular" | "smallColor" | "regularColor", string>>, addStatic?: boolean) => {
|
|
10109
10081
|
readonly classes: {
|
|
10110
10082
|
root: string;
|
|
10111
10083
|
barContainer: string;
|
|
@@ -10278,7 +10250,7 @@ declare const useClasses_98: (classesProp?: Partial<Record<"root" | "selected" |
|
|
|
10278
10250
|
readonly cx: (...args: any) => string;
|
|
10279
10251
|
};
|
|
10280
10252
|
|
|
10281
|
-
declare const useClasses_99: (classesProp?: Partial<Record<"root" | "selected" | "notSelected" | "
|
|
10253
|
+
declare const useClasses_99: (classesProp?: Partial<Record<"root" | "selected" | "notSelected" | "positionSticky" | "positionFixed" | "notSelectedRoot", string>>, addStatic?: boolean) => {
|
|
10282
10254
|
readonly classes: {
|
|
10283
10255
|
root: string;
|
|
10284
10256
|
positionSticky: string;
|
|
@@ -10474,7 +10446,7 @@ export declare const useHvRowState: typeof useRowState;
|
|
|
10474
10446
|
|
|
10475
10447
|
export declare const useHvSnackbar: () => {
|
|
10476
10448
|
enqueueSnackbar: (message: React.ReactNode, options?: HvNotistackSnackMessageProps) => SnackbarKey;
|
|
10477
|
-
closeSnackbar: (key?: SnackbarKey
|
|
10449
|
+
closeSnackbar: (key?: SnackbarKey) => void;
|
|
10478
10450
|
};
|
|
10479
10451
|
|
|
10480
10452
|
export declare const useHvSortBy: UseHvSortByProps;
|
|
@@ -10649,13 +10621,6 @@ declare interface UseTreeViewContextValueBuilderParameters {
|
|
|
10649
10621
|
defaultParentIcon?: React.ReactNode;
|
|
10650
10622
|
}
|
|
10651
10623
|
|
|
10652
|
-
declare interface UseTreeViewExpansionInstance {
|
|
10653
|
-
isNodeExpanded: (nodeId: string) => boolean;
|
|
10654
|
-
isNodeExpandable: (nodeId: string) => boolean;
|
|
10655
|
-
toggleNodeExpansion: (event: React_2.SyntheticEvent, value: string) => void;
|
|
10656
|
-
expandAllSiblings: (event: React_2.KeyboardEvent<HTMLUListElement>, nodeId: string) => void;
|
|
10657
|
-
}
|
|
10658
|
-
|
|
10659
10624
|
declare interface UseTreeViewExpansionParameters {
|
|
10660
10625
|
/**
|
|
10661
10626
|
* Expanded node ids.
|
|
@@ -10676,11 +10641,6 @@ declare interface UseTreeViewExpansionParameters {
|
|
|
10676
10641
|
onNodeToggle?: (event: React_2.SyntheticEvent, nodeIds: string[]) => void;
|
|
10677
10642
|
}
|
|
10678
10643
|
|
|
10679
|
-
declare interface UseTreeViewFocusInstance {
|
|
10680
|
-
isNodeFocused: (nodeId: string) => boolean;
|
|
10681
|
-
focusNode: (event: React_2.SyntheticEvent, nodeId: string | null) => void;
|
|
10682
|
-
}
|
|
10683
|
-
|
|
10684
10644
|
declare interface UseTreeViewFocusParameters {
|
|
10685
10645
|
/**
|
|
10686
10646
|
* Callback fired when tree items are focused.
|
|
@@ -10691,19 +10651,6 @@ declare interface UseTreeViewFocusParameters {
|
|
|
10691
10651
|
onNodeFocus?: (event: React_2.SyntheticEvent, nodeId: string) => void;
|
|
10692
10652
|
}
|
|
10693
10653
|
|
|
10694
|
-
declare interface UseTreeViewKeyboardNavigationInstance {
|
|
10695
|
-
mapFirstChar: (nodeId: string, firstChar: string) => () => void;
|
|
10696
|
-
}
|
|
10697
|
-
|
|
10698
|
-
declare interface UseTreeViewNodesInstance {
|
|
10699
|
-
getNode: (nodeId: string) => TreeViewNode;
|
|
10700
|
-
updateNode: (node: TreeViewNode) => void;
|
|
10701
|
-
removeNode: (nodeId: string) => void;
|
|
10702
|
-
getChildrenIds: (nodeId: string | null) => string[];
|
|
10703
|
-
getNavigableChildrenIds: (nodeId: string | null) => string[];
|
|
10704
|
-
isNodeDisabled: (nodeId: string | null) => nodeId is string;
|
|
10705
|
-
}
|
|
10706
|
-
|
|
10707
10654
|
declare interface UseTreeViewNodesParameters {
|
|
10708
10655
|
/**
|
|
10709
10656
|
* If `true`, will allow focus on disabled items.
|
|
@@ -10712,14 +10659,6 @@ declare interface UseTreeViewNodesParameters {
|
|
|
10712
10659
|
disabledItemsFocusable?: boolean;
|
|
10713
10660
|
}
|
|
10714
10661
|
|
|
10715
|
-
declare interface UseTreeViewSelectionInstance {
|
|
10716
|
-
isNodeSelected: (nodeId: string) => boolean;
|
|
10717
|
-
selectNode: (event: React_2.SyntheticEvent, nodeId: string, multiple?: boolean) => void;
|
|
10718
|
-
selectRange: (event: React_2.SyntheticEvent, nodes: TreeViewItemRange, stacked?: boolean) => void;
|
|
10719
|
-
rangeSelectToFirst: (event: React_2.KeyboardEvent<HTMLUListElement>, nodeId: string) => void;
|
|
10720
|
-
rangeSelectToLast: (event: React_2.KeyboardEvent<HTMLUListElement>, nodeId: string) => void;
|
|
10721
|
-
}
|
|
10722
|
-
|
|
10723
10662
|
declare interface UseTreeViewSelectionParameters<Multiple extends boolean | undefined> {
|
|
10724
10663
|
/**
|
|
10725
10664
|
* If `true` selection is disabled.
|
|
@@ -10832,9 +10771,9 @@ export declare const warningTextClasses: {
|
|
|
10832
10771
|
};
|
|
10833
10772
|
|
|
10834
10773
|
/** @deprecated wrap your component with `HvTooltip` */
|
|
10835
|
-
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: (
|
|
10774
|
+
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: (event: React.MouseEvent<HTMLDivElement>) => boolean, tooltipProps?: Partial<HvTooltipProps>, tooltipContainerProps?: HvBaseProps) => (props: any) => JSX_2.Element;
|
|
10836
10775
|
|
|
10837
10776
|
/** @deprecated */
|
|
10838
|
-
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) =>
|
|
10777
|
+
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) => JSX_2.Element) | (() => any);
|
|
10839
10778
|
|
|
10840
10779
|
export { }
|