@hitachivantara/uikit-react-core 5.47.2 → 5.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseDropdown/BaseDropdown.cjs.map +1 -1
- package/dist/cjs/Button/Button.cjs +53 -55
- package/dist/cjs/Button/Button.cjs.map +1 -1
- package/dist/cjs/Carousel/Carousel.cjs.map +1 -1
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs +0 -9
- package/dist/cjs/DropDownMenu/DropDownMenu.cjs.map +1 -1
- package/dist/cjs/Dropdown/Dropdown.cjs.map +1 -1
- package/dist/cjs/Dropdown/Dropdown.styles.cjs +1 -4
- package/dist/cjs/Dropdown/Dropdown.styles.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListContainer.cjs +20 -10
- package/dist/cjs/ListContainer/ListContainer.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListContext/ListContext.cjs.map +1 -1
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs +5 -2
- package/dist/cjs/ListContainer/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/TimeAgo/TimeAgo.cjs +25 -30
- package/dist/cjs/TimeAgo/TimeAgo.cjs.map +1 -1
- package/dist/cjs/TreeView/TreeView.cjs +2 -2
- package/dist/cjs/TreeView/TreeView.cjs.map +1 -1
- package/dist/cjs/Typography/Typography.cjs +35 -37
- package/dist/cjs/Typography/Typography.cjs.map +1 -1
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/generic.cjs +8 -0
- package/dist/cjs/types/generic.cjs.map +1 -0
- package/dist/esm/BaseDropdown/BaseDropdown.js.map +1 -1
- package/dist/esm/Button/Button.js +53 -55
- package/dist/esm/Button/Button.js.map +1 -1
- package/dist/esm/Carousel/Carousel.js.map +1 -1
- package/dist/esm/DropDownMenu/DropDownMenu.js +0 -9
- package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/Dropdown/Dropdown.styles.js +1 -4
- package/dist/esm/Dropdown/Dropdown.styles.js.map +1 -1
- package/dist/esm/ListContainer/ListContainer.js +21 -11
- package/dist/esm/ListContainer/ListContainer.js.map +1 -1
- package/dist/esm/ListContainer/ListContext/ListContext.js.map +1 -1
- package/dist/esm/ListContainer/ListItem/ListItem.js +5 -2
- package/dist/esm/ListContainer/ListItem/ListItem.js.map +1 -1
- package/dist/esm/TimeAgo/TimeAgo.js +25 -28
- package/dist/esm/TimeAgo/TimeAgo.js.map +1 -1
- package/dist/esm/TreeView/TreeView.js +2 -2
- package/dist/esm/TreeView/TreeView.js.map +1 -1
- package/dist/esm/Typography/Typography.js +35 -37
- package/dist/esm/Typography/Typography.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/generic.js +8 -0
- package/dist/esm/types/generic.js.map +1 -0
- package/dist/types/index.d.ts +249 -153
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ import { DividerProps } from '@mui/material/Divider';
|
|
|
29
29
|
import { DrawerProps } from '@mui/material/Drawer';
|
|
30
30
|
import { ds3 } from '@hitachivantara/uikit-styles';
|
|
31
31
|
import { ds5 } from '@hitachivantara/uikit-styles';
|
|
32
|
-
import {
|
|
32
|
+
import { ElementType } from 'react';
|
|
33
33
|
import { EmotionCache } from '@emotion/cache';
|
|
34
34
|
import { EmotionContext } from '@hitachivantara/uikit-react-shared';
|
|
35
35
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -65,13 +65,15 @@ import { ImgHTMLAttributes } from 'react';
|
|
|
65
65
|
import { InputBaseComponentProps } from '@mui/material/InputBase';
|
|
66
66
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
67
67
|
import { InputProps } from '@mui/material/Input';
|
|
68
|
-
import { JSX as JSX_2 } from '
|
|
68
|
+
import { JSX as JSX_2 } from 'react';
|
|
69
|
+
import { JSX as JSX_3 } from '@emotion/react/jsx-runtime';
|
|
69
70
|
import { JSXElementConstructor } from 'react';
|
|
70
71
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
71
72
|
import { MouseEventHandler } from 'react';
|
|
72
73
|
import { OptionsObject } from 'notistack';
|
|
73
|
-
import { PopperProps } from '
|
|
74
|
+
import { PopperProps } from 'react-popper';
|
|
74
75
|
import { PropGetter } from 'react-table';
|
|
76
|
+
import { PropsWithoutRef } from 'react';
|
|
75
77
|
import { RadioProps } from '@mui/material/Radio';
|
|
76
78
|
import { default as React_2 } from 'react';
|
|
77
79
|
import * as React_3 from 'react';
|
|
@@ -110,6 +112,7 @@ import { themes } from '@hitachivantara/uikit-styles';
|
|
|
110
112
|
import { ThHTMLAttributes } from 'react';
|
|
111
113
|
import { TooltipProps } from '@mui/material/Tooltip';
|
|
112
114
|
import { TransitionProps } from '@mui/material/transitions';
|
|
115
|
+
import useCarousel from 'embla-carousel-react';
|
|
113
116
|
import { UseColumnOrderInstanceProps } from 'react-table';
|
|
114
117
|
import { UseColumnOrderState } from 'react-table';
|
|
115
118
|
import { useEffect } from 'react';
|
|
@@ -248,6 +251,7 @@ declare interface AskAction {
|
|
|
248
251
|
}
|
|
249
252
|
|
|
250
253
|
declare type AsProp<C extends React.ElementType> = {
|
|
254
|
+
/** Custom element type to override the root component */
|
|
251
255
|
component?: C;
|
|
252
256
|
};
|
|
253
257
|
|
|
@@ -519,13 +523,13 @@ declare type CellValue<V = any> = V;
|
|
|
519
523
|
export declare const CellWithCheckBox: ({ row, labels: labelsProp }: {
|
|
520
524
|
row: any;
|
|
521
525
|
labels: any;
|
|
522
|
-
}) =>
|
|
526
|
+
}) => JSX_3.Element;
|
|
523
527
|
|
|
524
528
|
export declare const CellWithExpandButton: ({ row, cell, labels: labelsProp }: {
|
|
525
529
|
row: any;
|
|
526
530
|
cell: any;
|
|
527
531
|
labels: any;
|
|
528
|
-
}) =>
|
|
532
|
+
}) => JSX_3.Element;
|
|
529
533
|
|
|
530
534
|
export declare const charCounterClasses: {
|
|
531
535
|
root: "HvCharCounter-root";
|
|
@@ -941,6 +945,9 @@ export declare const findDescriptors: (children: any, descriptors?: {
|
|
|
941
945
|
|
|
942
946
|
declare type FixComponentProps<T> = T extends any ? T : never;
|
|
943
947
|
|
|
948
|
+
/** React.forwardRef with fixed type declarations */
|
|
949
|
+
export declare function fixedForwardRef<T, P = {}>(render: (props: P, ref: React.Ref<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
950
|
+
|
|
944
951
|
export declare const focusClasses: {
|
|
945
952
|
root: "HvFocus-root";
|
|
946
953
|
disabled: "HvFocus-disabled";
|
|
@@ -1015,8 +1022,8 @@ export declare const getSelectorIcons: (options: {
|
|
|
1015
1022
|
disabled: boolean;
|
|
1016
1023
|
semantic: boolean;
|
|
1017
1024
|
}, classes: HvBaseRadioClasses) => {
|
|
1018
|
-
radio:
|
|
1019
|
-
radioChecked:
|
|
1025
|
+
radio: JSX_3.Element;
|
|
1026
|
+
radioChecked: JSX_3.Element;
|
|
1020
1027
|
};
|
|
1021
1028
|
|
|
1022
1029
|
export declare const getTableHeadPropsHook: (props: any, { instance }: {
|
|
@@ -1113,7 +1120,7 @@ export declare type HvAccentColors = Record<HvAccentColorKeys, string>;
|
|
|
1113
1120
|
/**
|
|
1114
1121
|
* A accordion is a design element that expands in place to expose hidden information.
|
|
1115
1122
|
*/
|
|
1116
|
-
export declare const HvAccordion: (props: HvAccordionProps) =>
|
|
1123
|
+
export declare const HvAccordion: (props: HvAccordionProps) => JSX_3.Element;
|
|
1117
1124
|
|
|
1118
1125
|
export declare type HvAccordionClasses = ExtractNames<typeof useClasses_15>;
|
|
1119
1126
|
|
|
@@ -1160,7 +1167,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1160
1167
|
classes?: HvAccordionClasses;
|
|
1161
1168
|
}
|
|
1162
1169
|
|
|
1163
|
-
export declare const HvActionBar: (props: HvActionBarProps) =>
|
|
1170
|
+
export declare const HvActionBar: (props: HvActionBarProps) => JSX_3.Element;
|
|
1164
1171
|
|
|
1165
1172
|
export declare type HvActionBarClasses = ExtractNames<typeof useClasses_16>;
|
|
1166
1173
|
|
|
@@ -1191,7 +1198,7 @@ export declare interface HvActionGeneric {
|
|
|
1191
1198
|
disabled?: boolean;
|
|
1192
1199
|
}
|
|
1193
1200
|
|
|
1194
|
-
export declare const HvActionsGeneric: (props: HvActionsGenericProps) =>
|
|
1201
|
+
export declare const HvActionsGeneric: (props: HvActionsGenericProps) => JSX_3.Element | null;
|
|
1195
1202
|
|
|
1196
1203
|
export declare type HvActionsGenericClasses = ExtractNames<typeof useClasses_17>;
|
|
1197
1204
|
|
|
@@ -1238,9 +1245,9 @@ export declare interface HvAdornmentProps extends HvBaseProps<HTMLDivElement | H
|
|
|
1238
1245
|
classes?: HvAdornmentClasses;
|
|
1239
1246
|
}
|
|
1240
1247
|
|
|
1241
|
-
export declare const HvAppSwitcher: (props: HvAppSwitcherProps) =>
|
|
1248
|
+
export declare const HvAppSwitcher: (props: HvAppSwitcherProps) => JSX_3.Element;
|
|
1242
1249
|
|
|
1243
|
-
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) =>
|
|
1250
|
+
export declare const HvAppSwitcherAction: ({ id, className, classes: classesProp, application, onClickCallback, isSelectedCallback, }: HvAppSwitcherActionProps) => JSX_3.Element;
|
|
1244
1251
|
|
|
1245
1252
|
export declare interface HvAppSwitcherActionApplication {
|
|
1246
1253
|
/** Id of the application. */
|
|
@@ -1392,7 +1399,7 @@ export declare type HvAvatarVariant = "circular" | "square";
|
|
|
1392
1399
|
/**
|
|
1393
1400
|
* The badge is a component used to notify the user that something has occurred, in the app context.
|
|
1394
1401
|
*/
|
|
1395
|
-
export declare const HvBadge: (props: HvBadgeProps) =>
|
|
1402
|
+
export declare const HvBadge: (props: HvBadgeProps) => JSX_3.Element;
|
|
1396
1403
|
|
|
1397
1404
|
export declare type HvBadgeClasses = ExtractNames<typeof useClasses_22>;
|
|
1398
1405
|
|
|
@@ -1431,7 +1438,7 @@ export declare interface HvBadgeProps extends HvBaseProps {
|
|
|
1431
1438
|
* A Banner displays an important and succinct message. It can also provide actions for the user to address, or dismiss.
|
|
1432
1439
|
* It requires a user action, for it to be dismissed. Banners should appear at the top of the screen, below a top app bar.
|
|
1433
1440
|
*/
|
|
1434
|
-
export declare const HvBanner: (props: HvBannerProps) =>
|
|
1441
|
+
export declare const HvBanner: (props: HvBannerProps) => JSX_3.Element;
|
|
1435
1442
|
|
|
1436
1443
|
export declare type HvBannerActionPosition = "auto" | "inline" | "bottom-right";
|
|
1437
1444
|
|
|
@@ -1633,7 +1640,7 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1633
1640
|
/**
|
|
1634
1641
|
* An object containing props to be wired to the popper component.
|
|
1635
1642
|
*/
|
|
1636
|
-
popperProps?: Partial<PopperProps
|
|
1643
|
+
popperProps?: Partial<PopperProps<any>>;
|
|
1637
1644
|
/**
|
|
1638
1645
|
* Placement of the dropdown.
|
|
1639
1646
|
*/
|
|
@@ -1679,7 +1686,7 @@ export declare interface HvBaseDropdownProps extends HvBaseProps {
|
|
|
1679
1686
|
* An Input component that only posses the most basic functionalities.
|
|
1680
1687
|
* It should be used alongside the other form elements to construct a proper accessible form.
|
|
1681
1688
|
*/
|
|
1682
|
-
export declare const HvBaseInput: (props: HvBaseInputProps) =>
|
|
1689
|
+
export declare const HvBaseInput: (props: HvBaseInputProps) => JSX_3.Element;
|
|
1683
1690
|
|
|
1684
1691
|
export declare type HvBaseInputClasses = ExtractNames<typeof useClasses_13>;
|
|
1685
1692
|
|
|
@@ -1717,8 +1724,8 @@ export declare interface HvBaseInputProps extends Omit<InputProps, "onChange" |
|
|
|
1717
1724
|
classes?: HvBaseInputClasses;
|
|
1718
1725
|
}
|
|
1719
1726
|
|
|
1720
|
-
/** HV Base Props. Extends `HTMLAttributes` of an element `E`, and filters `K` keys. */
|
|
1721
|
-
export declare type HvBaseProps<E extends HTMLElement = HTMLDivElement, K extends keyof HTMLAttributes<E> = never> = Omit<HTMLAttributes<E>, K>;
|
|
1727
|
+
/** HV Base Props. Extends `React.HTMLAttributes` of an element `E`, and filters `K` keys. */
|
|
1728
|
+
export declare type HvBaseProps<E extends HTMLElement = HTMLDivElement, K extends keyof React.HTMLAttributes<E> = never> = Omit<React.HTMLAttributes<E>, K>;
|
|
1722
1729
|
|
|
1723
1730
|
/**
|
|
1724
1731
|
* A Radio Button is a mechanism that allows user to select one or more options.
|
|
@@ -1894,7 +1901,7 @@ export declare type HvBoxProps = <C extends React.ElementType = "div">(props: Hv
|
|
|
1894
1901
|
/**
|
|
1895
1902
|
* A breadcrumb is a graphical control element frequently used as a navigational aid.
|
|
1896
1903
|
*/
|
|
1897
|
-
export declare const HvBreadCrumb: (props: HvBreadCrumbProps) =>
|
|
1904
|
+
export declare const HvBreadCrumb: (props: HvBreadCrumbProps) => JSX_3.Element;
|
|
1898
1905
|
|
|
1899
1906
|
export declare type HvBreadCrumbClasses = ExtractNames<typeof useClasses_29>;
|
|
1900
1907
|
|
|
@@ -1926,7 +1933,7 @@ export { HvBreakpoints }
|
|
|
1926
1933
|
* Bulk Actions allow users to perform an action on a single or multiple items.
|
|
1927
1934
|
* Also known as "batch production" of multiple items at once, one stage at a time.
|
|
1928
1935
|
*/
|
|
1929
|
-
export declare const HvBulkActions: (props: HvBulkActionsProps) =>
|
|
1936
|
+
export declare const HvBulkActions: (props: HvBulkActionsProps) => JSX_3.Element;
|
|
1930
1937
|
|
|
1931
1938
|
export declare type HvBulkActionsClasses = ExtractNames<typeof useClasses_31>;
|
|
1932
1939
|
|
|
@@ -2000,11 +2007,55 @@ export declare interface HvBulkActionsProps extends HvBaseProps {
|
|
|
2000
2007
|
/**
|
|
2001
2008
|
* Button component is used to trigger an action or event.
|
|
2002
2009
|
*/
|
|
2003
|
-
export declare const HvButton: <C extends
|
|
2010
|
+
export declare const HvButton: <C extends ElementType<any, keyof JSX_2.IntrinsicElements> = "button">(props: {
|
|
2011
|
+
/** Use the variant prop to change the visual style of the Button. */
|
|
2012
|
+
variant?: "secondary" | "primary" | "semantic" | "secondarySubtle" | "secondaryGhost" | "primaryGhost" | "primarySubtle" | "ghost" | undefined;
|
|
2013
|
+
/** Whether the Button is an icon-only button. */
|
|
2014
|
+
icon?: boolean | undefined;
|
|
2015
|
+
/** Whether the Button is disabled or not. */
|
|
2016
|
+
disabled?: boolean | undefined;
|
|
2017
|
+
/** Class names to be applied. */
|
|
2018
|
+
className?: string | undefined;
|
|
2019
|
+
/** Element placed before the children. */
|
|
2020
|
+
startIcon?: React.ReactNode;
|
|
2021
|
+
/** Element placed after the children. */
|
|
2022
|
+
endIcon?: React.ReactNode;
|
|
2023
|
+
/** Button size. */
|
|
2024
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
2025
|
+
/** Button border radius. */
|
|
2026
|
+
radius?: "base" | "none" | "round" | "circle" | "full" | undefined;
|
|
2027
|
+
/** Defines the default colors of the button are forced into the icon. */
|
|
2028
|
+
overrideIconColors?: boolean | undefined;
|
|
2029
|
+
/** A Jss Object used to override or extend the styles applied. */
|
|
2030
|
+
classes?: Partial<{
|
|
2031
|
+
secondary: string;
|
|
2032
|
+
primary: string;
|
|
2033
|
+
root: string;
|
|
2034
|
+
disabled: string;
|
|
2035
|
+
semantic: string;
|
|
2036
|
+
secondarySubtle: string;
|
|
2037
|
+
icon: string;
|
|
2038
|
+
secondaryGhost: string;
|
|
2039
|
+
primaryGhost: string;
|
|
2040
|
+
primarySubtle: string;
|
|
2041
|
+
ghost: string;
|
|
2042
|
+
startIcon: string;
|
|
2043
|
+
endIcon: string;
|
|
2044
|
+
focusVisible: string;
|
|
2045
|
+
}> | undefined;
|
|
2046
|
+
/** Whether the Button is selected or not. */
|
|
2047
|
+
selected?: boolean | undefined;
|
|
2048
|
+
} & {
|
|
2049
|
+
component?: C | undefined;
|
|
2050
|
+
} & {
|
|
2051
|
+
children?: ReactNode;
|
|
2052
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "size" | "component" | "className" | "radius" | "variant" | "startIcon" | "endIcon" | "overrideIconColors"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "classes" | "disabled" | "icon" | "selected" | "size" | "component" | "className" | "radius" | "variant" | "startIcon" | "endIcon" | "overrideIconColors"> ? T extends any ? T : never : never : never) & {
|
|
2053
|
+
ref?: PolymorphicRef<C> | undefined;
|
|
2054
|
+
} & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
2004
2055
|
|
|
2005
2056
|
export declare type HvButtonClasses = ExtractNames<typeof useClasses_33>;
|
|
2006
2057
|
|
|
2007
|
-
export declare type HvButtonProps<C extends
|
|
2058
|
+
export declare type HvButtonProps<C extends React.ElementType = "button"> = PolymorphicComponentRef<C, {
|
|
2008
2059
|
/** Use the variant prop to change the visual style of the Button. */
|
|
2009
2060
|
variant?: HvButtonVariant;
|
|
2010
2061
|
/** Whether the Button is an icon-only button. */
|
|
@@ -2014,9 +2065,9 @@ export declare type HvButtonProps<C extends React_2.ElementType = "button"> = Po
|
|
|
2014
2065
|
/** Class names to be applied. */
|
|
2015
2066
|
className?: string;
|
|
2016
2067
|
/** Element placed before the children. */
|
|
2017
|
-
startIcon?:
|
|
2068
|
+
startIcon?: React.ReactNode;
|
|
2018
2069
|
/** Element placed after the children. */
|
|
2019
|
-
endIcon?:
|
|
2070
|
+
endIcon?: React.ReactNode;
|
|
2020
2071
|
/** Button size. */
|
|
2021
2072
|
size?: HvButtonSize;
|
|
2022
2073
|
/** Button border radius. */
|
|
@@ -2035,12 +2086,12 @@ export declare type HvButtonSize = (typeof buttonSize)[number];
|
|
|
2035
2086
|
|
|
2036
2087
|
export declare type HvButtonVariant = (typeof buttonVariant)[number];
|
|
2037
2088
|
|
|
2038
|
-
export declare const HvCalendar: (props: HvCalendarProps) =>
|
|
2089
|
+
export declare const HvCalendar: (props: HvCalendarProps) => JSX_3.Element;
|
|
2039
2090
|
|
|
2040
2091
|
export declare type HvCalendarClasses = ExtractNames<typeof useClasses_34>;
|
|
2041
2092
|
|
|
2042
2093
|
export declare const HvCalendarHeader: {
|
|
2043
|
-
(props: HvCalendarHeaderProps):
|
|
2094
|
+
(props: HvCalendarHeaderProps): JSX_3.Element;
|
|
2044
2095
|
formElementType: string;
|
|
2045
2096
|
};
|
|
2046
2097
|
|
|
@@ -2162,11 +2213,11 @@ export declare interface HvCalendarProps {
|
|
|
2162
2213
|
* linked short representation of a conceptual unit. For that reason,
|
|
2163
2214
|
* this pattern must be used as an entry-point for further information.
|
|
2164
2215
|
*/
|
|
2165
|
-
export declare const HvCard: (props: HvCardProps) =>
|
|
2216
|
+
export declare const HvCard: (props: HvCardProps) => JSX_3.Element;
|
|
2166
2217
|
|
|
2167
2218
|
export declare type HvCardClasses = ExtractNames<typeof useClasses_36>;
|
|
2168
2219
|
|
|
2169
|
-
export declare const HvCardContent: ({ id, classes: classesProp, className, children, onClick, ...others }: HvCardContentProps) =>
|
|
2220
|
+
export declare const HvCardContent: ({ id, classes: classesProp, className, children, onClick, ...others }: HvCardContentProps) => JSX_3.Element;
|
|
2170
2221
|
|
|
2171
2222
|
export declare type HvCardContentClasses = ExtractNames<typeof useClasses_38>;
|
|
2172
2223
|
|
|
@@ -2177,7 +2228,7 @@ export declare interface HvCardContentProps extends Omit<CardContentProps, "clas
|
|
|
2177
2228
|
classes?: HvCardContentClasses;
|
|
2178
2229
|
}
|
|
2179
2230
|
|
|
2180
|
-
export declare const HvCardHeader: (props: HvCardHeaderProps) =>
|
|
2231
|
+
export declare const HvCardHeader: (props: HvCardHeaderProps) => JSX_3.Element;
|
|
2181
2232
|
|
|
2182
2233
|
export declare type HvCardHeaderClasses = ExtractNames<typeof useClasses_37>;
|
|
2183
2234
|
|
|
@@ -2194,7 +2245,7 @@ export declare interface HvCardHeaderProps extends Omit<CardHeaderProps, "classe
|
|
|
2194
2245
|
classes?: HvCardHeaderClasses;
|
|
2195
2246
|
}
|
|
2196
2247
|
|
|
2197
|
-
export declare const HvCardMedia: ({ id, classes: classesProp, className, children, title, onClick, ...others }: HvCardMediaProps) =>
|
|
2248
|
+
export declare const HvCardMedia: ({ id, classes: classesProp, className, children, title, onClick, ...others }: HvCardMediaProps) => JSX_3.Element;
|
|
2198
2249
|
|
|
2199
2250
|
export declare type HvCardMediaClasses = ExtractNames<typeof useClasses_39>;
|
|
2200
2251
|
|
|
@@ -2235,11 +2286,11 @@ export declare interface HvCardProps extends HvBaseProps {
|
|
|
2235
2286
|
* A Carousel is commonly used to browse images, it can also be used to browse any kind of content like text, video, or charts.
|
|
2236
2287
|
* It allows you to focus on a particular content while having a notion of how many you have to explore.
|
|
2237
2288
|
*/
|
|
2238
|
-
export declare const HvCarousel: (props: HvCarouselProps) =>
|
|
2289
|
+
export declare const HvCarousel: (props: HvCarouselProps) => JSX_3.Element;
|
|
2239
2290
|
|
|
2240
2291
|
export declare type HvCarouselClasses = ExtractNames<typeof useClasses_40>;
|
|
2241
2292
|
|
|
2242
|
-
export declare const HvCarouselControls: (props: HvCarouselControlsProps) =>
|
|
2293
|
+
export declare const HvCarouselControls: (props: HvCarouselControlsProps) => JSX_3.Element;
|
|
2243
2294
|
|
|
2244
2295
|
declare interface HvCarouselControlsProps extends HvBaseProps<HTMLDivElement>, Pick<HvPaginationProps, "page" | "pages" | "canPrevious" | "canNext"> {
|
|
2245
2296
|
showDots?: boolean;
|
|
@@ -2279,7 +2330,7 @@ export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "ti
|
|
|
2279
2330
|
/** Thumbnails position. */
|
|
2280
2331
|
thumbnailsPosition?: "top" | "bottom";
|
|
2281
2332
|
/** Carousel configuration options. @see https://www.embla-carousel.com/api/options/ */
|
|
2282
|
-
carouselOptions?:
|
|
2333
|
+
carouselOptions?: Parameters<typeof useCarousel>[0];
|
|
2283
2334
|
/** Function that renders the thumbnail. */
|
|
2284
2335
|
renderThumbnail?: (index: number) => React_2.ReactNode;
|
|
2285
2336
|
/** The callback fired when the active slide changes. */
|
|
@@ -2290,7 +2341,7 @@ export declare interface HvCarouselProps extends HvBaseProps<HTMLDivElement, "ti
|
|
|
2290
2341
|
* A container to use as `children` of `HvCarousel`.
|
|
2291
2342
|
* Pass `img` props directly to it, or `children` for any custom content
|
|
2292
2343
|
*/
|
|
2293
|
-
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) =>
|
|
2344
|
+
export declare const HvCarouselSlide: ({ classes: classesProp, className, children, size: flexBasis, src, alt, ...props }: HvCarouselSlideProps) => JSX_3.Element;
|
|
2294
2345
|
|
|
2295
2346
|
export declare type HvCarouselSlideClasses = ExtractNames<typeof useClasses_41>;
|
|
2296
2347
|
|
|
@@ -2341,7 +2392,7 @@ export declare interface HvCellProps<D extends object = Record<string, unknown>,
|
|
|
2341
2392
|
* Use the character counter when there is a character or word limit.
|
|
2342
2393
|
* By itself it doesn't block the user from going above the limit.
|
|
2343
2394
|
*/
|
|
2344
|
-
export declare const HvCharCounter: (props: HvCharCounterProps) =>
|
|
2395
|
+
export declare const HvCharCounter: (props: HvCharCounterProps) => JSX_3.Element;
|
|
2345
2396
|
|
|
2346
2397
|
export declare type HvCharCounterClasses = ExtractNames<typeof useClasses_5>;
|
|
2347
2398
|
|
|
@@ -2654,7 +2705,7 @@ export declare interface HvContainerProps extends Omit<ContainerProps, "classes"
|
|
|
2654
2705
|
classes?: HvContainerClasses;
|
|
2655
2706
|
}
|
|
2656
2707
|
|
|
2657
|
-
export declare const HvControls: (props: HvControlsProps) =>
|
|
2708
|
+
export declare const HvControls: (props: HvControlsProps) => JSX_3.Element;
|
|
2658
2709
|
|
|
2659
2710
|
export declare type HvControlsClasses = ExtractNames<typeof useClasses_47>;
|
|
2660
2711
|
|
|
@@ -2825,11 +2876,11 @@ export declare interface HvDatePickerProps extends Omit<HvFormElementProps, "onC
|
|
|
2825
2876
|
/** @deprecated use `HvFormStatus` instead */
|
|
2826
2877
|
export declare type HvDatePickerStatus = HvFormStatus;
|
|
2827
2878
|
|
|
2828
|
-
export declare const HvDialog: (props: HvDialogProps) =>
|
|
2879
|
+
export declare const HvDialog: (props: HvDialogProps) => JSX_3.Element;
|
|
2829
2880
|
|
|
2830
2881
|
export declare type HvDialogActionClasses = ExtractNames<typeof useClasses_59>;
|
|
2831
2882
|
|
|
2832
|
-
export declare const HvDialogActions: (props: HvDialogActionsProps) =>
|
|
2883
|
+
export declare const HvDialogActions: (props: HvDialogActionsProps) => JSX_3.Element;
|
|
2833
2884
|
|
|
2834
2885
|
export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "classes"> {
|
|
2835
2886
|
/** Set the dialog to fullscreen mode. @deprecated set `fullscreen` in `HvDialog` */
|
|
@@ -2840,7 +2891,7 @@ export declare interface HvDialogActionsProps extends Omit<DialogActionsProps, "
|
|
|
2840
2891
|
|
|
2841
2892
|
export declare type HvDialogClasses = ExtractNames<typeof useClasses_60>;
|
|
2842
2893
|
|
|
2843
|
-
export declare const HvDialogContent: (props: HvDialogContentProps) =>
|
|
2894
|
+
export declare const HvDialogContent: (props: HvDialogContentProps) => JSX_3.Element;
|
|
2844
2895
|
|
|
2845
2896
|
export declare type HvDialogContentClasses = ExtractNames<typeof useClasses_58>;
|
|
2846
2897
|
|
|
@@ -2882,7 +2933,7 @@ export declare interface HvDialogProps extends Omit<DialogProps, "fullScreen" |
|
|
|
2882
2933
|
component?: DialogProps["component"];
|
|
2883
2934
|
}
|
|
2884
2935
|
|
|
2885
|
-
export declare const HvDialogTitle: (props: HvDialogTitleProps) =>
|
|
2936
|
+
export declare const HvDialogTitle: (props: HvDialogTitleProps) => JSX_3.Element;
|
|
2886
2937
|
|
|
2887
2938
|
export declare type HvDialogTitleClasses = ExtractNames<typeof useClasses_57>;
|
|
2888
2939
|
|
|
@@ -2903,7 +2954,7 @@ export declare type HvDialogTitleVariant = "success" | "warning" | "error" | "in
|
|
|
2903
2954
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact with structured content on a website or application.
|
|
2904
2955
|
* This component uses Radio Buttons to represent each page.
|
|
2905
2956
|
*/
|
|
2906
|
-
export declare const HvDotPagination: (props: HvDotPaginationProps) =>
|
|
2957
|
+
export declare const HvDotPagination: (props: HvDotPaginationProps) => JSX_3.Element;
|
|
2907
2958
|
|
|
2908
2959
|
export declare type HvDotPaginationClasses = ExtractNames<typeof useClasses_61>;
|
|
2909
2960
|
|
|
@@ -2947,7 +2998,7 @@ export declare interface HvDotPaginationProps extends Omit<HvRadioGroupProps, "c
|
|
|
2947
2998
|
* It only provides the pane with a close button, the rest of the
|
|
2948
2999
|
* content can be customized.
|
|
2949
3000
|
*/
|
|
2950
|
-
export declare const HvDrawer: (props: HvDrawerProps) =>
|
|
3001
|
+
export declare const HvDrawer: (props: HvDrawerProps) => JSX_3.Element;
|
|
2951
3002
|
|
|
2952
3003
|
export declare type HvDrawerClasses = ExtractNames<typeof useClasses_63>;
|
|
2953
3004
|
|
|
@@ -3103,7 +3154,7 @@ declare interface HvDropdownListProps {
|
|
|
3103
3154
|
/**
|
|
3104
3155
|
* A drop-down menu is a graphical control element, similar to a list box, that allows the user to choose a value from a list.
|
|
3105
3156
|
*/
|
|
3106
|
-
export declare const HvDropDownMenu: (props: HvDropDownMenuProps) =>
|
|
3157
|
+
export declare const HvDropDownMenu: (props: HvDropDownMenuProps) => JSX_3.Element;
|
|
3107
3158
|
|
|
3108
3159
|
export declare type HvDropDownMenuClasses = ExtractNames<typeof useClasses_30>;
|
|
3109
3160
|
|
|
@@ -3147,42 +3198,15 @@ export declare interface HvDropDownMenuProps extends HvBaseProps<HTMLDivElement,
|
|
|
3147
3198
|
classes?: HvDropDownMenuClasses;
|
|
3148
3199
|
}
|
|
3149
3200
|
|
|
3150
|
-
export declare interface HvDropdownProps extends
|
|
3201
|
+
export declare interface HvDropdownProps extends Omit<HvFormElementProps, "value" | "onChange">, Pick<HvBaseDropdownProps, "placement" | "popperProps" | "disablePortal" | "variableWidth" | "expanded" | "defaultExpanded"> {
|
|
3151
3202
|
/**
|
|
3152
3203
|
* A Jss Object used to override or extend the component styles applied.
|
|
3153
3204
|
*/
|
|
3154
3205
|
classes?: HvDropdownClasses;
|
|
3155
|
-
/**
|
|
3156
|
-
* The form element name.
|
|
3157
|
-
*/
|
|
3158
|
-
name?: string;
|
|
3159
|
-
/**
|
|
3160
|
-
* The label of the form element.
|
|
3161
|
-
*
|
|
3162
|
-
* The form element must be labeled for accessibility reasons.
|
|
3163
|
-
* If not provided, an aria-label or aria-labelledby must be provided instead.
|
|
3164
|
-
*/
|
|
3165
|
-
label?: any;
|
|
3166
|
-
/**
|
|
3167
|
-
* Provide additional descriptive text for the form element.
|
|
3168
|
-
*/
|
|
3169
|
-
description?: any;
|
|
3170
3206
|
/**
|
|
3171
3207
|
* The placeholder value when nothing is selected.
|
|
3172
3208
|
*/
|
|
3173
3209
|
placeholder?: string;
|
|
3174
|
-
/**
|
|
3175
|
-
* Indicates that the form element is disabled.
|
|
3176
|
-
*/
|
|
3177
|
-
disabled?: boolean;
|
|
3178
|
-
/**
|
|
3179
|
-
* Indicates that the form element is in read only mode.
|
|
3180
|
-
*/
|
|
3181
|
-
readOnly?: boolean;
|
|
3182
|
-
/**
|
|
3183
|
-
* Indicates that user input is required on the form element.
|
|
3184
|
-
*/
|
|
3185
|
-
required?: boolean;
|
|
3186
3210
|
/**
|
|
3187
3211
|
* The status of the form element.
|
|
3188
3212
|
*
|
|
@@ -3220,14 +3244,6 @@ export declare interface HvDropdownProps extends HvBaseProps<HTMLDivElement, "on
|
|
|
3220
3244
|
* If `true` the dropdown is rendered with a search bar, if `false` there won't be a search bar.
|
|
3221
3245
|
*/
|
|
3222
3246
|
showSearch?: boolean;
|
|
3223
|
-
/**
|
|
3224
|
-
* If `true` the dropdown starts opened if `false` it starts closed.
|
|
3225
|
-
*/
|
|
3226
|
-
expanded?: boolean;
|
|
3227
|
-
/**
|
|
3228
|
-
* When uncontrolled, defines the initial expanded state.
|
|
3229
|
-
*/
|
|
3230
|
-
defaultExpanded?: boolean;
|
|
3231
3247
|
/**
|
|
3232
3248
|
* If 'true' the dropdown will notify on the first render.
|
|
3233
3249
|
*/
|
|
@@ -3240,28 +3256,10 @@ export declare interface HvDropdownProps extends HvBaseProps<HTMLDivElement, "on
|
|
|
3240
3256
|
* If `true` the dropdown will show tooltips when user mouseenter text in list
|
|
3241
3257
|
*/
|
|
3242
3258
|
hasTooltips?: boolean;
|
|
3243
|
-
/**
|
|
3244
|
-
* Disable the portal behavior.
|
|
3245
|
-
* The children stay within it's parent DOM hierarchy.
|
|
3246
|
-
*/
|
|
3247
|
-
disablePortal?: boolean;
|
|
3248
|
-
/**
|
|
3249
|
-
* If `true` the dropdown width depends size of content if `false` the width depends on the header size.
|
|
3250
|
-
* Defaults to `false`.
|
|
3251
|
-
*/
|
|
3252
|
-
variableWidth?: boolean;
|
|
3253
3259
|
/**
|
|
3254
3260
|
* If `true`, selection can be toggled when single selection.
|
|
3255
3261
|
*/
|
|
3256
3262
|
singleSelectionToggle?: boolean;
|
|
3257
|
-
/**
|
|
3258
|
-
* Placement of the dropdown.
|
|
3259
|
-
*/
|
|
3260
|
-
placement?: "left" | "right";
|
|
3261
|
-
/**
|
|
3262
|
-
* An object containing props to be wired to the popper component.
|
|
3263
|
-
*/
|
|
3264
|
-
popperProps?: Partial<PopperProps>;
|
|
3265
3263
|
/**
|
|
3266
3264
|
* Callback called when the user cancels the changes.
|
|
3267
3265
|
*
|
|
@@ -3310,7 +3308,7 @@ export declare interface HvDropdownProps extends HvBaseProps<HTMLDivElement, "on
|
|
|
3310
3308
|
/**
|
|
3311
3309
|
* Extra props passed to the list.
|
|
3312
3310
|
*/
|
|
3313
|
-
listProps?: HvDropdownListProps
|
|
3311
|
+
listProps?: Partial<HvDropdownListProps>;
|
|
3314
3312
|
}
|
|
3315
3313
|
|
|
3316
3314
|
export declare type HvDropdownStatus = "standBy" | "valid" | "invalid";
|
|
@@ -3353,7 +3351,7 @@ declare interface HvDropZoneLabels {
|
|
|
3353
3351
|
/**
|
|
3354
3352
|
* Empty states communicate that there’s no information, data or values to display in a given context.
|
|
3355
3353
|
*/
|
|
3356
|
-
export declare const HvEmptyState: (props: HvEmptyStateProps) =>
|
|
3354
|
+
export declare const HvEmptyState: (props: HvEmptyStateProps) => JSX_3.Element;
|
|
3357
3355
|
|
|
3358
3356
|
export declare type HvEmptyStateClasses = ExtractNames<typeof useClasses_64>;
|
|
3359
3357
|
|
|
@@ -3381,7 +3379,7 @@ export { HvExtraDeepProps }
|
|
|
3381
3379
|
|
|
3382
3380
|
export { HvExtraProps }
|
|
3383
3381
|
|
|
3384
|
-
export declare const HvFile: (props: HvFileProps) =>
|
|
3382
|
+
export declare const HvFile: (props: HvFileProps) => JSX_3.Element;
|
|
3385
3383
|
|
|
3386
3384
|
export declare type HvFileClasses = ExtractNames<typeof useClasses_66>;
|
|
3387
3385
|
|
|
@@ -3449,7 +3447,7 @@ export declare type HvFilesAddedEvent = (files: HvFileData[]) => void;
|
|
|
3449
3447
|
*
|
|
3450
3448
|
* Accepted file types follow the format of the html input accept attribute. Please check https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file for more details.
|
|
3451
3449
|
*/
|
|
3452
|
-
export declare const HvFileUploader: (props: HvFileUploaderProps) =>
|
|
3450
|
+
export declare const HvFileUploader: (props: HvFileUploaderProps) => JSX_3.Element;
|
|
3453
3451
|
|
|
3454
3452
|
export declare interface HvFileUploaderLabels extends HvDropZoneLabels {
|
|
3455
3453
|
/**
|
|
@@ -3462,7 +3460,7 @@ export declare interface HvFileUploaderLabels extends HvDropZoneLabels {
|
|
|
3462
3460
|
* The `HvFileUploaderPreview` component is available to facilitate the styling
|
|
3463
3461
|
* of the button (when clickable) and the detection of image unloading.
|
|
3464
3462
|
*/
|
|
3465
|
-
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) =>
|
|
3463
|
+
export declare const HvFileUploaderPreview: (props: HvFileUploaderPreviewProps) => JSX_3.Element;
|
|
3466
3464
|
|
|
3467
3465
|
export declare type HvFileUploaderPreviewClasses = ExtractNames<typeof useClasses_65>;
|
|
3468
3466
|
|
|
@@ -3632,7 +3630,7 @@ export declare interface HvFilterGroupProps extends Omit<HvFormElementProps, "cl
|
|
|
3632
3630
|
|
|
3633
3631
|
export declare type HvFilterGroupValue = (string | number)[][];
|
|
3634
3632
|
|
|
3635
|
-
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) =>
|
|
3633
|
+
export declare const HvFocus: ({ classes: classesProp, children, configuration, disabledClass, selected, disabled, rootRef, focusOnClick, focusDisabled, strategy, useFalseFocus, filterClass, navigationJump, }: HvFocusProps) => JSX_3.Element;
|
|
3636
3634
|
|
|
3637
3635
|
export declare type HvFocusClasses = ExtractNames<typeof useClasses_2>;
|
|
3638
3636
|
|
|
@@ -3671,7 +3669,7 @@ export declare type HvFocusStrategies = "listbox" | "menu" | "card" | "grid";
|
|
|
3671
3669
|
/**
|
|
3672
3670
|
* A Footer is a way of providing extra information at the end of a page.
|
|
3673
3671
|
*/
|
|
3674
|
-
export declare const HvFooter: (props: HvFooterProps) =>
|
|
3672
|
+
export declare const HvFooter: (props: HvFooterProps) => JSX_3.Element;
|
|
3675
3673
|
|
|
3676
3674
|
export declare type HvFooterClasses = ExtractNames<typeof useClasses_69>;
|
|
3677
3675
|
|
|
@@ -3695,7 +3693,7 @@ declare type HvFooterProps_2<D extends object = Record<string, unknown>> = HvTab
|
|
|
3695
3693
|
};
|
|
3696
3694
|
|
|
3697
3695
|
export declare const HvFormElement: {
|
|
3698
|
-
(props: HvFormElementProps):
|
|
3696
|
+
(props: HvFormElementProps): JSX_3.Element;
|
|
3699
3697
|
formElementType: string;
|
|
3700
3698
|
};
|
|
3701
3699
|
|
|
@@ -3794,7 +3792,7 @@ export declare type HvFormStatus = "standBy" | "valid" | "invalid" | "empty";
|
|
|
3794
3792
|
* Global Actions are actions that affect the entire page they live in.
|
|
3795
3793
|
* They should persist while scrolling down the screen.
|
|
3796
3794
|
*/
|
|
3797
|
-
export declare const HvGlobalActions: (props: HvGlobalActionsProps) =>
|
|
3795
|
+
export declare const HvGlobalActions: (props: HvGlobalActionsProps) => JSX_3.Element;
|
|
3798
3796
|
|
|
3799
3797
|
export declare type HvGlobalActionsClasses = ExtractNames<typeof useClasses_70>;
|
|
3800
3798
|
|
|
@@ -3944,9 +3942,9 @@ export declare type HvGridSpacing = "xs" | "sm" | "md" | "lg" | "xl" | "auto" |
|
|
|
3944
3942
|
/**
|
|
3945
3943
|
* Header component is used to render a header bar with logo and brand name, navigation and actions.
|
|
3946
3944
|
*/
|
|
3947
|
-
export declare const HvHeader: (props: HvHeaderProps) =>
|
|
3945
|
+
export declare const HvHeader: (props: HvHeaderProps) => JSX_3.Element;
|
|
3948
3946
|
|
|
3949
|
-
export declare const HvHeaderActions: (props: HvHeaderActionsProps) =>
|
|
3947
|
+
export declare const HvHeaderActions: (props: HvHeaderActionsProps) => JSX_3.Element;
|
|
3950
3948
|
|
|
3951
3949
|
export declare type HvHeaderActionsClasses = ExtractNames<typeof useClasses_73>;
|
|
3952
3950
|
|
|
@@ -3957,7 +3955,7 @@ export declare interface HvHeaderActionsProps extends HvBaseProps {
|
|
|
3957
3955
|
/**
|
|
3958
3956
|
* Header component is used to render a header bar with logo and brand name, navigation and actions.
|
|
3959
3957
|
*/
|
|
3960
|
-
export declare const HvHeaderBrand: (props: HvHeaderBrandProps) =>
|
|
3958
|
+
export declare const HvHeaderBrand: (props: HvHeaderBrandProps) => JSX_3.Element;
|
|
3961
3959
|
|
|
3962
3960
|
export declare type HvHeaderBrandClasses = ExtractNames<typeof useClasses_74>;
|
|
3963
3961
|
|
|
@@ -3973,7 +3971,7 @@ declare interface HvHeaderGroup<D extends object = Record<string, unknown>, H ex
|
|
|
3973
3971
|
headers: Array<HvHeaderGroup<D, H>>;
|
|
3974
3972
|
}
|
|
3975
3973
|
|
|
3976
|
-
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) =>
|
|
3974
|
+
export declare const HvHeaderMenuBar: (props: HvHeaderMenuBarProps) => JSX_3.Element;
|
|
3977
3975
|
|
|
3978
3976
|
declare type HvHeaderMenuBarClasses = ExtractNames<typeof useClasses_75>;
|
|
3979
3977
|
|
|
@@ -3986,7 +3984,7 @@ declare interface HvHeaderMenuBarProps extends HvBaseProps<HTMLDivElement, "onCl
|
|
|
3986
3984
|
classes?: HvHeaderMenuBarClasses;
|
|
3987
3985
|
}
|
|
3988
3986
|
|
|
3989
|
-
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) =>
|
|
3987
|
+
export declare const HvHeaderMenuItem: (props: HvHeaderMenuItemProps) => JSX_3.Element;
|
|
3990
3988
|
|
|
3991
3989
|
declare type HvHeaderMenuItemClasses = ExtractNames<typeof useClasses_76>;
|
|
3992
3990
|
|
|
@@ -3999,7 +3997,7 @@ declare interface HvHeaderMenuItemProps extends HvBaseProps<HTMLDivElement, "onC
|
|
|
3999
3997
|
classes?: HvHeaderMenuItemClasses;
|
|
4000
3998
|
}
|
|
4001
3999
|
|
|
4002
|
-
export declare const HvHeaderNavigation: (props: HvHeaderNavigationProps) =>
|
|
4000
|
+
export declare const HvHeaderNavigation: (props: HvHeaderNavigationProps) => JSX_3.Element;
|
|
4003
4001
|
|
|
4004
4002
|
export declare type HvHeaderNavigationClasses = ExtractNames<typeof useClasses_77>;
|
|
4005
4003
|
|
|
@@ -4065,7 +4063,7 @@ export declare type HvHorizontalScrollListItemClasses = ExtractNames<typeof useC
|
|
|
4065
4063
|
/**
|
|
4066
4064
|
* Provides the user with additional descriptive text for the form element.
|
|
4067
4065
|
*/
|
|
4068
|
-
export declare const HvInfoMessage: (props: HvInfoMessageProps) =>
|
|
4066
|
+
export declare const HvInfoMessage: (props: HvInfoMessageProps) => JSX_3.Element;
|
|
4069
4067
|
|
|
4070
4068
|
export declare type HvInfoMessageClasses = ExtractNames<typeof useClasses_9>;
|
|
4071
4069
|
|
|
@@ -4082,7 +4080,7 @@ export declare interface HvInfoMessageProps extends HvTypographyProps<"label"> {
|
|
|
4082
4080
|
* An Inline Editor allows the user to edit a record without making a major switch
|
|
4083
4081
|
* between viewing and editing, making it an efficient method of updating a record.
|
|
4084
4082
|
*/
|
|
4085
|
-
export declare const HvInlineEditor: (props: HvInlineEditorProps) =>
|
|
4083
|
+
export declare const HvInlineEditor: (props: HvInlineEditorProps) => JSX_3.Element;
|
|
4086
4084
|
|
|
4087
4085
|
export declare type HvInlineEditorClasses = ExtractNames<typeof useClasses_78>;
|
|
4088
4086
|
|
|
@@ -4262,7 +4260,7 @@ export declare interface HvKnobProperty {
|
|
|
4262
4260
|
* and its success/failure against a given target. KPIs are the first item read on a dashboard.
|
|
4263
4261
|
* Communicates simple, immediate and vital information for operational decision making.
|
|
4264
4262
|
*/
|
|
4265
|
-
export declare const HvKpi: (props: HvKpiProps) =>
|
|
4263
|
+
export declare const HvKpi: (props: HvKpiProps) => JSX_3.Element;
|
|
4266
4264
|
|
|
4267
4265
|
export declare type HvKpiClasses = ExtractNames<typeof useClasses_79>;
|
|
4268
4266
|
|
|
@@ -4302,7 +4300,7 @@ export declare interface HvKpiProps extends HvBaseProps<HTMLDivElement, "childre
|
|
|
4302
4300
|
/**
|
|
4303
4301
|
* Provides the user with a recognizable name for a given form element.
|
|
4304
4302
|
*/
|
|
4305
|
-
export declare const HvLabel: (props: HvLabelProps) =>
|
|
4303
|
+
export declare const HvLabel: (props: HvLabelProps) => JSX_3.Element;
|
|
4306
4304
|
|
|
4307
4305
|
export declare type HvLabelClasses = ExtractNames<typeof useClasses_8>;
|
|
4308
4306
|
|
|
@@ -4321,7 +4319,7 @@ export declare interface HvLabelProps extends HvTypographyProps<"label"> {
|
|
|
4321
4319
|
classes?: HvLabelClasses;
|
|
4322
4320
|
}
|
|
4323
4321
|
|
|
4324
|
-
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) =>
|
|
4322
|
+
export declare const HvLeftControl: ({ id, classes: classesProp, className, children, placeholder, onSearch, hideSearch, searchProps, ...others }: HvLeftControlProps) => JSX_3.Element;
|
|
4325
4323
|
|
|
4326
4324
|
export declare type HvLeftControlClasses = ExtractNames<typeof useClasses_52>;
|
|
4327
4325
|
|
|
@@ -4338,7 +4336,7 @@ export declare interface HvLeftControlProps extends HvBaseProps {
|
|
|
4338
4336
|
classes?: HvLeftControlClasses;
|
|
4339
4337
|
}
|
|
4340
4338
|
|
|
4341
|
-
export declare const HvLink: (props: HvLinkProps) =>
|
|
4339
|
+
export declare const HvLink: (props: HvLinkProps) => JSX_3.Element;
|
|
4342
4340
|
|
|
4343
4341
|
export declare type HvLinkClasses = ExtractNames<typeof useClasses_80>;
|
|
4344
4342
|
|
|
@@ -4354,7 +4352,7 @@ export declare interface HvLinkProps extends HvBaseProps<HTMLAnchorElement, "onC
|
|
|
4354
4352
|
/**
|
|
4355
4353
|
* Component used to show a set of related data to the user.
|
|
4356
4354
|
*/
|
|
4357
|
-
export declare const HvList: (props: HvListProps) =>
|
|
4355
|
+
export declare const HvList: (props: HvListProps) => JSX_3.Element | null;
|
|
4358
4356
|
|
|
4359
4357
|
export declare type HvListClasses = ExtractNames<typeof useClasses_81>;
|
|
4360
4358
|
|
|
@@ -4375,6 +4373,8 @@ export declare interface HvListContainerProps extends HvBaseProps<HTMLUListEleme
|
|
|
4375
4373
|
interactive?: boolean;
|
|
4376
4374
|
/** If `true` compact the vertical spacing between list items. */
|
|
4377
4375
|
condensed?: boolean;
|
|
4376
|
+
/** If `true`, the list items are _visually_ selectable. To enable selection, use `HvSelectionList` */
|
|
4377
|
+
selectable?: boolean;
|
|
4378
4378
|
/** If `true`, the list items' left and right padding is removed. */
|
|
4379
4379
|
disableGutters?: boolean;
|
|
4380
4380
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -4391,6 +4391,8 @@ export declare type HvListItemClasses = ExtractNames<typeof useClasses_4>;
|
|
|
4391
4391
|
export declare interface HvListItemProps extends HvBaseProps<HTMLLIElement> {
|
|
4392
4392
|
/** Indicates if the list item is selected. */
|
|
4393
4393
|
selected?: boolean;
|
|
4394
|
+
/** Indicated if the list item is _visually_ selectable */
|
|
4395
|
+
selectable?: boolean;
|
|
4394
4396
|
/** If true, the list item will be disabled. */
|
|
4395
4397
|
disabled?: boolean;
|
|
4396
4398
|
/**
|
|
@@ -4503,7 +4505,7 @@ export declare interface HvListValue extends HvExtraProps {
|
|
|
4503
4505
|
/**
|
|
4504
4506
|
* Loading provides feedback about a process that is taking place in the application.
|
|
4505
4507
|
*/
|
|
4506
|
-
export declare const HvLoading: (props: HvLoadingProps) =>
|
|
4508
|
+
export declare const HvLoading: (props: HvLoadingProps) => JSX_3.Element;
|
|
4507
4509
|
|
|
4508
4510
|
export declare type HvLoadingClasses = ExtractNames<typeof useClasses_82>;
|
|
4509
4511
|
|
|
@@ -4523,7 +4525,7 @@ export declare interface HvLoadingProps extends HvBaseProps {
|
|
|
4523
4525
|
/**
|
|
4524
4526
|
* Container layout for the login form.
|
|
4525
4527
|
*/
|
|
4526
|
-
export declare const HvLogin: (props: HvLoginProps) =>
|
|
4528
|
+
export declare const HvLogin: (props: HvLoginProps) => JSX_3.Element;
|
|
4527
4529
|
|
|
4528
4530
|
export declare type HvLoginClasses = ExtractNames<typeof useClasses_83>;
|
|
4529
4531
|
|
|
@@ -4550,7 +4552,7 @@ declare interface HvMetaBase<D extends object = Record<string, unknown>, H exten
|
|
|
4550
4552
|
userProps: any;
|
|
4551
4553
|
}
|
|
4552
4554
|
|
|
4553
|
-
export declare const HvMultiButton: (props: HvMultiButtonProps) =>
|
|
4555
|
+
export declare const HvMultiButton: (props: HvMultiButtonProps) => JSX_3.Element;
|
|
4554
4556
|
|
|
4555
4557
|
export declare type HvMultiButtonClasses = ExtractNames<typeof useClasses_84>;
|
|
4556
4558
|
|
|
@@ -4587,7 +4589,7 @@ export declare const hvNumberFallback: (value: any) => number | "—";
|
|
|
4587
4589
|
/**
|
|
4588
4590
|
* This component generates a tooltip whenever the text is overflowed.
|
|
4589
4591
|
*/
|
|
4590
|
-
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) =>
|
|
4592
|
+
export declare const HvOverflowTooltip: (props: HvOverflowTooltipProps) => JSX_3.Element;
|
|
4591
4593
|
|
|
4592
4594
|
export declare type HvOverflowTooltipClasses = ExtractNames<typeof useClasses_85>;
|
|
4593
4595
|
|
|
@@ -4610,7 +4612,7 @@ export declare interface HvOverflowTooltipProps extends HvBaseProps {
|
|
|
4610
4612
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact
|
|
4611
4613
|
* with structured content on a website or application.
|
|
4612
4614
|
*/
|
|
4613
|
-
export declare const HvPagination: (props: HvPaginationProps) =>
|
|
4615
|
+
export declare const HvPagination: (props: HvPaginationProps) => JSX_3.Element;
|
|
4614
4616
|
|
|
4615
4617
|
export declare type HvPaginationClasses = ExtractNames<typeof useClasses_43>;
|
|
4616
4618
|
|
|
@@ -4667,7 +4669,7 @@ export declare interface HvPanelProps extends HvBaseProps {
|
|
|
4667
4669
|
|
|
4668
4670
|
export declare type HvPolarizedColorKeys = "positive" | "positive_120" | "positive_80" | "warning" | "warning_120" | "warning_140" | "negative" | "cat21" | "cat22" | "cat23" | "cat24" | "cat25" | "cat26" | "cat27" | "cat28" | "catastrophic";
|
|
4669
4671
|
|
|
4670
|
-
export declare const HvProgressBar: (props: HvProgressBarProps) =>
|
|
4672
|
+
export declare const HvProgressBar: (props: HvProgressBarProps) => JSX_3.Element;
|
|
4671
4673
|
|
|
4672
4674
|
export declare type HvProgressBarClasses = ExtractNames<typeof useClasses_88>;
|
|
4673
4675
|
|
|
@@ -4716,7 +4718,7 @@ export declare type HvPropGetter<D extends object = Record<string, unknown>, H e
|
|
|
4716
4718
|
/**
|
|
4717
4719
|
* Enables theming capabilities and makes cross-component theme properties available down the tree.
|
|
4718
4720
|
*/
|
|
4719
|
-
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, classNameKey, }: HvProviderProps) =>
|
|
4721
|
+
export declare const HvProvider: ({ children, rootElementId, cssBaseline, cssTheme, themes, theme, colorMode, classNameKey, }: HvProviderProps) => JSX_3.Element;
|
|
4720
4722
|
|
|
4721
4723
|
export declare interface HvProviderProps {
|
|
4722
4724
|
/**
|
|
@@ -4777,7 +4779,7 @@ export declare interface HvProviderProps {
|
|
|
4777
4779
|
*
|
|
4778
4780
|
* 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.
|
|
4779
4781
|
*/
|
|
4780
|
-
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) =>
|
|
4782
|
+
export declare const HvQueryBuilder: (props: HvQueryBuilderProps) => JSX_3.Element;
|
|
4781
4783
|
|
|
4782
4784
|
export declare interface HvQueryBuilderAttribute extends Record<string, unknown> {
|
|
4783
4785
|
id?: string;
|
|
@@ -5335,7 +5337,7 @@ export declare interface HvRadioProps extends Omit<RadioProps, "onChange" | "cla
|
|
|
5335
5337
|
|
|
5336
5338
|
export declare type HvRadioStatus = "standBy" | "valid" | "invalid";
|
|
5337
5339
|
|
|
5338
|
-
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) =>
|
|
5340
|
+
export declare const HvRightControl: ({ id, classes: classesProp, className, children, values, onSort, hideSortBy, sortProps, ...others }: HvRightControlProps) => JSX_3.Element;
|
|
5339
5341
|
|
|
5340
5342
|
export declare type HvRightControlClasses = ExtractNames<typeof useClasses_53>;
|
|
5341
5343
|
|
|
@@ -5374,7 +5376,7 @@ declare type HvRowPropGetter<D extends object = Record<string, unknown>, H exten
|
|
|
5374
5376
|
/**
|
|
5375
5377
|
* The horizontal scroll to element can be used to quickly navigate in a page.
|
|
5376
5378
|
*/
|
|
5377
|
-
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) =>
|
|
5379
|
+
export declare const HvScrollToHorizontal: (props: HvScrollToHorizontalProps) => JSX_3.Element;
|
|
5378
5380
|
|
|
5379
5381
|
export declare type HvScrollToHorizontalClasses = ExtractNames<typeof useClasses_94>;
|
|
5380
5382
|
|
|
@@ -5427,7 +5429,7 @@ export declare type HvScrollToTooltipPositions = "left" | "right" | "top" | "bot
|
|
|
5427
5429
|
/**
|
|
5428
5430
|
* The vertical scroll to element can be used to quickly navigate in a page.
|
|
5429
5431
|
*/
|
|
5430
|
-
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) =>
|
|
5432
|
+
export declare const HvScrollToVertical: (props: HvScrollToVerticalProps) => JSX_3.Element;
|
|
5431
5433
|
|
|
5432
5434
|
export declare type HvScrollToVerticalClasses = ExtractNames<typeof useClasses_92>;
|
|
5433
5435
|
|
|
@@ -5577,7 +5579,7 @@ export declare type HvSemanticColors = Record<HvSemanticColorKeys, string>;
|
|
|
5577
5579
|
|
|
5578
5580
|
export declare type HvSequentialColorKeys = "cat1" | "cat1_100" | "cat1_200" | "cat1_300" | "cat1_400" | "cat1_500" | "cat1_600" | "cat1_700" | "cat1_800" | "cat1_900";
|
|
5579
5581
|
|
|
5580
|
-
export declare const HvSimpleGrid: (props: HvSimpleGridProps) =>
|
|
5582
|
+
export declare const HvSimpleGrid: (props: HvSimpleGridProps) => JSX_3.Element;
|
|
5581
5583
|
|
|
5582
5584
|
export declare type HvSimpleGridClasses = ExtractNames<typeof useClasses_96>;
|
|
5583
5585
|
|
|
@@ -5754,7 +5756,7 @@ export declare interface HvSliderProps extends HvBaseProps<HTMLDivElement, "onCh
|
|
|
5754
5756
|
* One is the HvSnackbar, which wraps all the positioning, transition, auto hide, etc.
|
|
5755
5757
|
* The other is the HvSnackbarContent, which allows a finer control and customization of the content of the Snackbar.
|
|
5756
5758
|
*/
|
|
5757
|
-
export declare const HvSnackbar: ({ classes: classesProp, className, id, open, onClose, label, anchorOrigin, autoHideDuration, variant, showIcon, customIcon, action, actionCallback, transitionDuration, transitionDirection, offset, snackbarContentProps, ...others }: HvSnackbarProps) =>
|
|
5759
|
+
export declare const HvSnackbar: ({ classes: classesProp, className, id, open, onClose, label, anchorOrigin, autoHideDuration, variant, showIcon, customIcon, action, actionCallback, transitionDuration, transitionDirection, offset, snackbarContentProps, ...others }: HvSnackbarProps) => JSX_3.Element;
|
|
5758
5760
|
|
|
5759
5761
|
export declare type HvSnackbarClasses = ExtractNames<typeof useClasses_98>;
|
|
5760
5762
|
|
|
@@ -5814,7 +5816,7 @@ export declare interface HvSnackbarProps extends Omit<SnackbarProps, "action" |
|
|
|
5814
5816
|
ref?: SnackbarProps["ref"];
|
|
5815
5817
|
}
|
|
5816
5818
|
|
|
5817
|
-
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, ...others }: HvSnackbarProviderProps) =>
|
|
5819
|
+
export declare const HvSnackbarProvider: ({ children, notistackClassesOverride, maxSnack, autoHideDuration, anchorOrigin, classes: classesProp, className, ...others }: HvSnackbarProviderProps) => JSX_3.Element;
|
|
5818
5820
|
|
|
5819
5821
|
export declare type HvSnackbarProviderClasses = ExtractNames<typeof useClasses_100>;
|
|
5820
5822
|
|
|
@@ -5841,7 +5843,7 @@ export declare type HvSnackbarVariant = "default" | "success" | "warning" | "err
|
|
|
5841
5843
|
*
|
|
5842
5844
|
* It also allows the specification of the spacing between the stack elements and the addition of a divider between the elements.
|
|
5843
5845
|
*/
|
|
5844
|
-
export declare const HvStack: (props: HvStackProps) =>
|
|
5846
|
+
export declare const HvStack: (props: HvStackProps) => JSX_3.Element;
|
|
5845
5847
|
|
|
5846
5848
|
export declare interface HvStackBreakpoints extends Record<HvBreakpoints, string> {
|
|
5847
5849
|
}
|
|
@@ -6017,7 +6019,7 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
|
|
|
6017
6019
|
component?: SwitchProps["component"];
|
|
6018
6020
|
}
|
|
6019
6021
|
|
|
6020
|
-
export declare const HvTab: (props: HvTabProps) =>
|
|
6022
|
+
export declare const HvTab: (props: HvTabProps) => JSX_3.Element;
|
|
6021
6023
|
|
|
6022
6024
|
export declare type HvTabClasses = ExtractNames<typeof useClasses_103>;
|
|
6023
6025
|
|
|
@@ -6352,7 +6354,7 @@ export declare interface HvTabProps extends Omit<TabProps, "children"> {
|
|
|
6352
6354
|
* A Tab is a graphical control element that allows multiple documents or panels to be contained within a single window.
|
|
6353
6355
|
* Tabs can be used as a navigational widget for switching between sets of documents.
|
|
6354
6356
|
*/
|
|
6355
|
-
export declare const HvTabs: (props: HvTabsProps) =>
|
|
6357
|
+
export declare const HvTabs: (props: HvTabsProps) => JSX_3.Element;
|
|
6356
6358
|
|
|
6357
6359
|
export declare type HvTabsClasses = ExtractNames<typeof useClasses_108>;
|
|
6358
6360
|
|
|
@@ -6642,7 +6644,7 @@ export declare interface HvThemePalette {
|
|
|
6642
6644
|
support: HvSupportColors;
|
|
6643
6645
|
}
|
|
6644
6646
|
|
|
6645
|
-
export declare const HvThemeProvider: ({ children, themes: themesList, theme, emotionCache, colorMode, themeRootId: rootId, }: HvThemeProviderProps) =>
|
|
6647
|
+
export declare const HvThemeProvider: ({ children, themes: themesList, theme, emotionCache, colorMode, themeRootId: rootId, }: HvThemeProviderProps) => JSX_3.Element;
|
|
6646
6648
|
|
|
6647
6649
|
declare interface HvThemeProviderProps {
|
|
6648
6650
|
children: React.ReactNode;
|
|
@@ -6656,7 +6658,42 @@ declare interface HvThemeProviderProps {
|
|
|
6656
6658
|
/**
|
|
6657
6659
|
* The HvTimeAgo component implements the Design System relative time format guidelines.
|
|
6658
6660
|
*/
|
|
6659
|
-
export declare const HvTimeAgo: <C extends
|
|
6661
|
+
export declare const HvTimeAgo: <C extends ElementType<any, keyof JSX_2.IntrinsicElements> = "p">(props: {
|
|
6662
|
+
/**
|
|
6663
|
+
* The timestamp to format, in seconds or milliseconds.
|
|
6664
|
+
* Defaults to `emptyElement` if value is null or 0
|
|
6665
|
+
*/
|
|
6666
|
+
timestamp?: number | undefined;
|
|
6667
|
+
/**
|
|
6668
|
+
* The locale to be used. Should be on of the dayjs supported locales and explicitly imported
|
|
6669
|
+
* @see https://day.js.org/docs/en/i18n/i18n
|
|
6670
|
+
*/
|
|
6671
|
+
locale?: string | undefined;
|
|
6672
|
+
/**
|
|
6673
|
+
* The element to render when the timestamp is null or 0
|
|
6674
|
+
* Defaults to `—` (Em Dash)
|
|
6675
|
+
*/
|
|
6676
|
+
emptyElement?: React.ReactNode;
|
|
6677
|
+
/** Disables periodic date refreshes */
|
|
6678
|
+
disableRefresh?: boolean | undefined;
|
|
6679
|
+
/** Whether to show seconds in the rendered time */
|
|
6680
|
+
showSeconds?: boolean | undefined;
|
|
6681
|
+
/**
|
|
6682
|
+
* Whether the component should render just the string
|
|
6683
|
+
* Consider using `useTimeAgo` instead
|
|
6684
|
+
*/
|
|
6685
|
+
justText?: boolean | undefined;
|
|
6686
|
+
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6687
|
+
classes?: Partial<{
|
|
6688
|
+
root: string;
|
|
6689
|
+
}> | undefined;
|
|
6690
|
+
} & {
|
|
6691
|
+
component?: C | undefined;
|
|
6692
|
+
} & {
|
|
6693
|
+
children?: ReactNode;
|
|
6694
|
+
} & (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) & {
|
|
6695
|
+
ref?: PolymorphicRef<C> | undefined;
|
|
6696
|
+
} & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
6660
6697
|
|
|
6661
6698
|
export declare type HvTimeAgoClasses = ExtractNames<typeof useClasses_111>;
|
|
6662
6699
|
|
|
@@ -6897,23 +6934,82 @@ export declare interface HvTreeItemProps extends HTMLAttributes<HTMLElement> {
|
|
|
6897
6934
|
* </HvTreeView>
|
|
6898
6935
|
* ```
|
|
6899
6936
|
*/
|
|
6900
|
-
export declare const HvTreeView:
|
|
6937
|
+
export declare const HvTreeView: <Multiple extends boolean | undefined>(props: HvTreeViewProps<Multiple> & RefAttributes<HTMLUListElement>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
6901
6938
|
|
|
6902
6939
|
export declare type HvTreeViewClasses = ExtractNames<typeof useClasses_113>;
|
|
6903
6940
|
|
|
6904
|
-
declare type HvTreeViewComponent = <Multiple extends boolean | undefined = undefined>(props: HvTreeViewProps<Multiple>) => React.JSX.Element;
|
|
6905
|
-
|
|
6906
6941
|
export declare interface HvTreeViewProps<Multiple extends boolean | undefined> extends HvBaseProps<HTMLUListElement>, DefaultTreeViewPluginParameters<Multiple> {
|
|
6907
6942
|
/** A Jss Object used to override or extend the styles applied. */
|
|
6908
6943
|
classes?: HvTreeViewClasses;
|
|
6909
6944
|
/** Tree View children. Usually a `HvTreeItem` instance, or a custom variation of it */
|
|
6910
|
-
children?: ReactNode;
|
|
6945
|
+
children?: React.ReactNode;
|
|
6911
6946
|
}
|
|
6912
6947
|
|
|
6913
6948
|
/**
|
|
6914
6949
|
* Typography component is used to render text and paragraphs within an interface.
|
|
6915
6950
|
*/
|
|
6916
|
-
export declare const HvTypography: <C extends
|
|
6951
|
+
export declare const HvTypography: <C extends ElementType<any, keyof JSX_2.IntrinsicElements> = "p">(props: {
|
|
6952
|
+
/** Use the variant prop to change the visual style of the Typography. */
|
|
6953
|
+
variant?: "display" | "title1" | "title2" | "title3" | "title4" | "label" | "body" | "caption1" | "caption2" | HvTypographyLegacyVariants | undefined;
|
|
6954
|
+
/** If `true` the typography will display the look of a link. */
|
|
6955
|
+
link?: boolean | undefined;
|
|
6956
|
+
/** If `true` the typography will display the look of a disabled state. */
|
|
6957
|
+
disabled?: boolean | undefined;
|
|
6958
|
+
/**
|
|
6959
|
+
* If `true`, the typography will render a "p" element
|
|
6960
|
+
* @deprecated use `component="p"` instead
|
|
6961
|
+
* */
|
|
6962
|
+
paragraph?: boolean | undefined;
|
|
6963
|
+
/**
|
|
6964
|
+
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
6965
|
+
*
|
|
6966
|
+
* Note that text overflow can only happen with block or inline-block level elements
|
|
6967
|
+
* (the element needs to have a width in order to overflow).
|
|
6968
|
+
*/
|
|
6969
|
+
noWrap?: boolean | undefined;
|
|
6970
|
+
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
6971
|
+
classes?: Partial<{
|
|
6972
|
+
display: string;
|
|
6973
|
+
"5xlTitle": string;
|
|
6974
|
+
"4xlTitle": string;
|
|
6975
|
+
title1: string;
|
|
6976
|
+
title2: string;
|
|
6977
|
+
title3: string;
|
|
6978
|
+
title4: string;
|
|
6979
|
+
label: string;
|
|
6980
|
+
body: string;
|
|
6981
|
+
caption1: string;
|
|
6982
|
+
caption2: string;
|
|
6983
|
+
xxlTitle: string;
|
|
6984
|
+
lTitle: string;
|
|
6985
|
+
sTitle: string;
|
|
6986
|
+
xxsTitle: string;
|
|
6987
|
+
sectionTitle: string;
|
|
6988
|
+
placeholderText: string;
|
|
6989
|
+
link: string;
|
|
6990
|
+
disabledText: string;
|
|
6991
|
+
selectedNavText: string;
|
|
6992
|
+
vizTextDisabled: string;
|
|
6993
|
+
xsInlineLink: string;
|
|
6994
|
+
root: string;
|
|
6995
|
+
disabled: string;
|
|
6996
|
+
"3xlTitle": string;
|
|
6997
|
+
xlTitle: string;
|
|
6998
|
+
mTitle: string;
|
|
6999
|
+
xsTitle: string;
|
|
7000
|
+
highlightText: string;
|
|
7001
|
+
normalText: string;
|
|
7002
|
+
vizText: string;
|
|
7003
|
+
isLink: string;
|
|
7004
|
+
noWrap: string;
|
|
7005
|
+
}> | undefined;
|
|
7006
|
+
} & {
|
|
7007
|
+
component?: C | undefined;
|
|
7008
|
+
} & {
|
|
7009
|
+
children?: ReactNode;
|
|
7010
|
+
} & (Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "component" | "noWrap" | "variant" | "paragraph"> extends infer T ? T extends Omit<PropsWithoutRef<ComponentProps<C>>, "link" | "classes" | "disabled" | "component" | "noWrap" | "variant" | "paragraph"> ? T extends any ? T : never : never : never) & {
|
|
7011
|
+
ref?: PolymorphicRef<C> | undefined;
|
|
7012
|
+
} & RefAttributes<unknown>) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
6917
7013
|
|
|
6918
7014
|
export declare type HvTypographyClasses = ExtractNames<typeof useClasses>;
|
|
6919
7015
|
|
|
@@ -6991,9 +7087,9 @@ export declare interface HvValidationMessages {
|
|
|
6991
7087
|
*
|
|
6992
7088
|
* Both modes are available via the `mode` property and each app should choose the most appropriate.
|
|
6993
7089
|
*/
|
|
6994
|
-
export declare const HvVerticalNavigation: (props: HvVerticalNavigationProps) =>
|
|
7090
|
+
export declare const HvVerticalNavigation: (props: HvVerticalNavigationProps) => JSX_3.Element;
|
|
6995
7091
|
|
|
6996
|
-
export declare const HvVerticalNavigationAction: ({ className, classes: classesProp, id, label, icon, onClick, ...others }: HvVerticalNavigationActionProps) =>
|
|
7092
|
+
export declare const HvVerticalNavigationAction: ({ className, classes: classesProp, id, label, icon, onClick, ...others }: HvVerticalNavigationActionProps) => JSX_3.Element;
|
|
6997
7093
|
|
|
6998
7094
|
export declare type HvVerticalNavigationActionClasses = ExtractNames<typeof useClasses_119>;
|
|
6999
7095
|
|
|
@@ -7024,7 +7120,7 @@ export declare interface HvVerticalNavigationActionProps {
|
|
|
7024
7120
|
onClick?: MouseEventHandler<HTMLElement>;
|
|
7025
7121
|
}
|
|
7026
7122
|
|
|
7027
|
-
export declare const HvVerticalNavigationActions: ({ className, classes: classesProp, id, children, ...others }: HvVerticalNavigationActionsProps) =>
|
|
7123
|
+
export declare const HvVerticalNavigationActions: ({ className, classes: classesProp, id, children, ...others }: HvVerticalNavigationActionsProps) => JSX_3.Element;
|
|
7028
7124
|
|
|
7029
7125
|
export declare type HvVerticalNavigationActionsClasses = ExtractNames<typeof useClasses_118>;
|
|
7030
7126
|
|
|
@@ -7049,7 +7145,7 @@ export declare interface HvVerticalNavigationActionsProps {
|
|
|
7049
7145
|
|
|
7050
7146
|
export declare type HvVerticalNavigationClasses = ExtractNames<typeof useClasses_116>;
|
|
7051
7147
|
|
|
7052
|
-
export declare const HvVerticalNavigationHeader: ({ title, openIcon: openIconProp, closeIcon: closeIconProp, collapseButtonProps, backButtonProps, className, classes: classesProp, onCollapseButtonClick, ...others }: HvVerticalNavigationHeaderProps) =>
|
|
7148
|
+
export declare const HvVerticalNavigationHeader: ({ title, openIcon: openIconProp, closeIcon: closeIconProp, collapseButtonProps, backButtonProps, className, classes: classesProp, onCollapseButtonClick, ...others }: HvVerticalNavigationHeaderProps) => JSX_3.Element | null;
|
|
7053
7149
|
|
|
7054
7150
|
export declare type HvVerticalNavigationHeaderClasses = ExtractNames<typeof useClasses_117>;
|
|
7055
7151
|
|
|
@@ -7136,7 +7232,7 @@ export declare interface HvVerticalNavigationProps {
|
|
|
7136
7232
|
useIcons?: boolean;
|
|
7137
7233
|
}
|
|
7138
7234
|
|
|
7139
|
-
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) =>
|
|
7235
|
+
export declare const HvVerticalNavigationSlider: (props: HvVerticalNavigationSliderProps) => JSX_3.Element;
|
|
7140
7236
|
|
|
7141
7237
|
export declare type HvVerticalNavigationSliderClasses = ExtractNames<typeof useClasses_121>;
|
|
7142
7238
|
|
|
@@ -7176,7 +7272,7 @@ export declare interface HvVerticalNavigationSliderProps {
|
|
|
7176
7272
|
forwardButtonAriaLabel?: string;
|
|
7177
7273
|
}
|
|
7178
7274
|
|
|
7179
|
-
export declare const HvVerticalNavigationTree: ({ id, className, classes: classesProp, data, mode, collapsible, expanded: expandedProp, defaultExpanded, onToggle, selected: selectedProp, defaultSelected, onChange, sliderForwardButtonAriaLabel, ...others }: HvVerticalNavigationTreeProps) =>
|
|
7275
|
+
export declare const HvVerticalNavigationTree: ({ id, className, classes: classesProp, data, mode, collapsible, expanded: expandedProp, defaultExpanded, onToggle, selected: selectedProp, defaultSelected, onChange, sliderForwardButtonAriaLabel, ...others }: HvVerticalNavigationTreeProps) => JSX_3.Element;
|
|
7180
7276
|
|
|
7181
7277
|
export declare type HvVerticalNavigationTreeClasses = ExtractNames<typeof useClasses_120>;
|
|
7182
7278
|
|
|
@@ -7424,7 +7520,7 @@ export declare type HvVerticalScrollListItemClasses = ExtractNames<typeof useCla
|
|
|
7424
7520
|
/**
|
|
7425
7521
|
* Provides the user with a descriptive text, signaling an error, for when the form element is in an invalid state.
|
|
7426
7522
|
*/
|
|
7427
|
-
export declare const HvWarningText: (props: HvWarningTextProps) =>
|
|
7523
|
+
export declare const HvWarningText: (props: HvWarningTextProps) => JSX_3.Element;
|
|
7428
7524
|
|
|
7429
7525
|
export declare type HvWarningTextClasses = ExtractNames<typeof useClasses_10>;
|
|
7430
7526
|
|
|
@@ -7447,7 +7543,7 @@ export declare interface HvWarningTextProps extends HvBaseProps {
|
|
|
7447
7543
|
classes?: HvWarningTextClasses;
|
|
7448
7544
|
}
|
|
7449
7545
|
|
|
7450
|
-
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) =>
|
|
7546
|
+
export declare const iconVariant: (variant: "success" | "warning" | "error" | "info" | "default", color?: IconBaseProps["color"], semantic?: true) => JSX_3.Element | null;
|
|
7451
7547
|
|
|
7452
7548
|
declare type IdType<D> = StringKey<D> | string;
|
|
7453
7549
|
|
|
@@ -10975,8 +11071,8 @@ export declare const warningTextClasses: {
|
|
|
10975
11071
|
topBorder: "HvWarningText-topBorder";
|
|
10976
11072
|
};
|
|
10977
11073
|
|
|
10978
|
-
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: ((event: React.MouseEvent<HTMLDivElement>) => boolean) | undefined, tooltipProps?: Partial<HvTooltipProps>, tooltipContainerProps?: HvBaseProps) => (props: any) =>
|
|
11074
|
+
export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: ((event: React.MouseEvent<HTMLDivElement>) => boolean) | undefined, tooltipProps?: Partial<HvTooltipProps>, tooltipContainerProps?: HvBaseProps) => (props: any) => JSX_3.Element;
|
|
10979
11075
|
|
|
10980
|
-
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) =>
|
|
11076
|
+
export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) => JSX_3.Element) | (() => any);
|
|
10981
11077
|
|
|
10982
11078
|
export { }
|