@hitachivantara/uikit-react-core 5.68.0 → 5.69.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/Button/Button.cjs +1 -1
- package/dist/cjs/Calendar/CalendarHeader/CalendarHeader.styles.cjs +1 -1
- package/dist/cjs/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.styles.cjs +1 -1
- package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.cjs +4 -3
- package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.styles.cjs +4 -12
- package/dist/cjs/Calendar/utils.cjs +5 -5
- package/dist/cjs/Carousel/Carousel.cjs +2 -3
- package/dist/cjs/Dropdown/List/List.cjs +14 -22
- package/dist/cjs/Dropdown/List/List.styles.cjs +13 -1
- package/dist/cjs/Pagination/Pagination.cjs +1 -2
- package/dist/cjs/ProgressBar/ProgressBar.cjs +1 -2
- package/dist/cjs/Table/TableBody/TableBody.cjs +1 -1
- package/dist/cjs/Table/TableCell/TableCell.cjs +1 -1
- package/dist/cjs/Table/TableHead/TableHead.cjs +1 -1
- package/dist/cjs/Table/TableHeader/TableHeader.cjs +1 -1
- package/dist/cjs/Table/TableRow/TableRow.cjs +1 -1
- package/dist/cjs/Table/TableSectionContext.cjs +2 -2
- package/dist/cjs/Typography/Typography.cjs +1 -1
- package/dist/cjs/providers/ThemeProvider.cjs +31 -4
- package/dist/cjs/utils/helpers.cjs +0 -4
- package/dist/esm/BaseSwitch/BaseSwitch.js.map +1 -1
- package/dist/esm/Button/Button.js +1 -1
- package/dist/esm/Button/Button.js.map +1 -1
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.styles.js +1 -1
- package/dist/esm/Calendar/CalendarHeader/CalendarHeader.styles.js.map +1 -1
- package/dist/esm/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.styles.js +1 -1
- package/dist/esm/Calendar/CalendarNavigation/ComposedNavigation/ComposedNavigation.styles.js.map +1 -1
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.js +5 -4
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.js.map +1 -1
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.styles.js +4 -12
- package/dist/esm/Calendar/SingleCalendar/SingleCalendar.styles.js.map +1 -1
- package/dist/esm/Calendar/utils.js +5 -5
- package/dist/esm/Calendar/utils.js.map +1 -1
- package/dist/esm/Carousel/Carousel.js +2 -3
- package/dist/esm/Carousel/Carousel.js.map +1 -1
- package/dist/esm/Dropdown/List/List.js +15 -23
- package/dist/esm/Dropdown/List/List.js.map +1 -1
- package/dist/esm/Dropdown/List/List.styles.js +13 -1
- package/dist/esm/Dropdown/List/List.styles.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +1 -2
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/ProgressBar/ProgressBar.js +1 -2
- package/dist/esm/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/esm/Switch/Switch.js.map +1 -1
- package/dist/esm/Table/TableBody/TableBody.js +1 -1
- package/dist/esm/Table/TableBody/TableBody.js.map +1 -1
- package/dist/esm/Table/TableCell/TableCell.js +1 -1
- package/dist/esm/Table/TableCell/TableCell.js.map +1 -1
- package/dist/esm/Table/TableHead/TableHead.js +1 -1
- package/dist/esm/Table/TableHead/TableHead.js.map +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.js +1 -1
- package/dist/esm/Table/TableHeader/TableHeader.js.map +1 -1
- package/dist/esm/Table/TableRow/TableRow.js +1 -1
- package/dist/esm/Table/TableRow/TableRow.js.map +1 -1
- package/dist/esm/Table/TableSectionContext.js +1 -1
- package/dist/esm/Table/TableSectionContext.js.map +1 -1
- package/dist/esm/Typography/Typography.js +1 -1
- package/dist/esm/Typography/Typography.js.map +1 -1
- package/dist/esm/Typography/utils.js.map +1 -1
- package/dist/esm/providers/ThemeProvider.js +31 -4
- package/dist/esm/providers/ThemeProvider.js.map +1 -1
- package/dist/esm/utils/helpers.js +0 -4
- package/dist/esm/utils/helpers.js.map +1 -1
- package/dist/types/index.d.ts +27 -26
- package/package.json +7 -6
package/dist/types/index.d.ts
CHANGED
|
@@ -426,9 +426,9 @@ export declare const buttonClasses: {
|
|
|
426
426
|
root: "HvButton-root";
|
|
427
427
|
disabled: "HvButton-disabled";
|
|
428
428
|
semantic: "HvButton-semantic";
|
|
429
|
+
icon: "HvButton-icon";
|
|
429
430
|
secondarySubtle: "HvButton-secondarySubtle";
|
|
430
431
|
ghost: "HvButton-ghost";
|
|
431
|
-
icon: "HvButton-icon";
|
|
432
432
|
secondaryGhost: "HvButton-secondaryGhost";
|
|
433
433
|
primaryGhost: "HvButton-primaryGhost";
|
|
434
434
|
subtle: "HvButton-subtle";
|
|
@@ -465,8 +465,8 @@ export declare const calendarHeaderClasses: {
|
|
|
465
465
|
|
|
466
466
|
export declare const cardClasses: {
|
|
467
467
|
root: "HvCard-root";
|
|
468
|
-
selectable: "HvCard-selectable";
|
|
469
468
|
icon: "HvCard-icon";
|
|
469
|
+
selectable: "HvCard-selectable";
|
|
470
470
|
selected: "HvCard-selected";
|
|
471
471
|
semanticContainer: "HvCard-semanticContainer";
|
|
472
472
|
semanticBar: "HvCard-semanticBar";
|
|
@@ -558,8 +558,8 @@ export declare const checkBoxGroupClasses: {
|
|
|
558
558
|
export declare const checkValidHexColorValue: (value?: string) => boolean;
|
|
559
559
|
|
|
560
560
|
export declare const colorPickerClasses: {
|
|
561
|
-
colorPicker: "HvColorPicker-colorPicker";
|
|
562
561
|
label: "HvColorPicker-label";
|
|
562
|
+
colorPicker: "HvColorPicker-colorPicker";
|
|
563
563
|
root: "HvColorPicker-root";
|
|
564
564
|
panel: "HvColorPicker-panel";
|
|
565
565
|
headerColorValue: "HvColorPicker-headerColorValue";
|
|
@@ -1871,7 +1871,7 @@ export declare interface HvBaseSwitchProps extends Omit<SwitchProps, "onChange"
|
|
|
1871
1871
|
/**
|
|
1872
1872
|
* The callback fired when the switch is pressed.
|
|
1873
1873
|
*/
|
|
1874
|
-
onChange?: (event: React.ChangeEvent
|
|
1874
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean, value: any) => void;
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Properties passed on to the input element.
|
|
1877
1877
|
*/
|
|
@@ -6093,7 +6093,7 @@ export declare interface HvSwitchProps extends Omit<SwitchProps, "onChange" | "c
|
|
|
6093
6093
|
/**
|
|
6094
6094
|
* The callback fired when the switch is pressed.
|
|
6095
6095
|
*/
|
|
6096
|
-
onChange?: (event: React.ChangeEvent
|
|
6096
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean, value: any) => void;
|
|
6097
6097
|
/**
|
|
6098
6098
|
* Properties passed on to the input element.
|
|
6099
6099
|
*/
|
|
@@ -7541,8 +7541,8 @@ export declare const listItemClasses: {
|
|
|
7541
7541
|
|
|
7542
7542
|
export declare const loadingClasses: {
|
|
7543
7543
|
overlay: "HvLoading-overlay";
|
|
7544
|
-
small: "HvLoading-small";
|
|
7545
7544
|
label: "HvLoading-label";
|
|
7545
|
+
small: "HvLoading-small";
|
|
7546
7546
|
root: "HvLoading-root";
|
|
7547
7547
|
hidden: "HvLoading-hidden";
|
|
7548
7548
|
blur: "HvLoading-blur";
|
|
@@ -8148,12 +8148,12 @@ export declare const timePickerClasses: {
|
|
|
8148
8148
|
|
|
8149
8149
|
export declare const tooltipClasses: {
|
|
8150
8150
|
color: "HvTooltip-color";
|
|
8151
|
-
values: "HvTooltip-values";
|
|
8152
8151
|
root: "HvTooltip-root";
|
|
8153
8152
|
title: "HvTooltip-title";
|
|
8154
8153
|
popper: "HvTooltip-popper";
|
|
8155
8154
|
separator: "HvTooltip-separator";
|
|
8156
8155
|
tooltip: "HvTooltip-tooltip";
|
|
8156
|
+
values: "HvTooltip-values";
|
|
8157
8157
|
tooltipMulti: "HvTooltip-tooltipMulti";
|
|
8158
8158
|
valuesContainer: "HvTooltip-valuesContainer";
|
|
8159
8159
|
separatorColor: "HvTooltip-separatorColor";
|
|
@@ -8185,8 +8185,8 @@ export declare const treeViewItemClasses: {
|
|
|
8185
8185
|
label: "HvVerticalNavigationTreeViewItem-label";
|
|
8186
8186
|
link: "HvVerticalNavigationTreeViewItem-link";
|
|
8187
8187
|
disabled: "HvVerticalNavigationTreeViewItem-disabled";
|
|
8188
|
-
selectable: "HvVerticalNavigationTreeViewItem-selectable";
|
|
8189
8188
|
icon: "HvVerticalNavigationTreeViewItem-icon";
|
|
8189
|
+
selectable: "HvVerticalNavigationTreeViewItem-selectable";
|
|
8190
8190
|
selected: "HvVerticalNavigationTreeViewItem-selected";
|
|
8191
8191
|
hide: "HvVerticalNavigationTreeViewItem-hide";
|
|
8192
8192
|
expanded: "HvVerticalNavigationTreeViewItem-expanded";
|
|
@@ -8222,8 +8222,6 @@ declare type TreeViewSelectionValue<Multiple extends boolean | undefined> = Mult
|
|
|
8222
8222
|
|
|
8223
8223
|
export declare const typographyClasses: {
|
|
8224
8224
|
display: "HvTypography-display";
|
|
8225
|
-
"5xlTitle": "HvTypography-5xlTitle";
|
|
8226
|
-
"4xlTitle": "HvTypography-4xlTitle";
|
|
8227
8225
|
title1: "HvTypography-title1";
|
|
8228
8226
|
title2: "HvTypography-title2";
|
|
8229
8227
|
title3: "HvTypography-title3";
|
|
@@ -8233,6 +8231,8 @@ export declare const typographyClasses: {
|
|
|
8233
8231
|
captionLabel: "HvTypography-captionLabel";
|
|
8234
8232
|
caption1: "HvTypography-caption1";
|
|
8235
8233
|
caption2: "HvTypography-caption2";
|
|
8234
|
+
"5xlTitle": "HvTypography-5xlTitle";
|
|
8235
|
+
"4xlTitle": "HvTypography-4xlTitle";
|
|
8236
8236
|
xxlTitle: "HvTypography-xxlTitle";
|
|
8237
8237
|
lTitle: "HvTypography-lTitle";
|
|
8238
8238
|
sTitle: "HvTypography-sTitle";
|
|
@@ -8265,11 +8265,9 @@ export declare type UseBulkActionsProps = (<D extends object = Record<string, un
|
|
|
8265
8265
|
pluginName: string;
|
|
8266
8266
|
};
|
|
8267
8267
|
|
|
8268
|
-
declare const useClasses: (classesProp?: Partial<Record<"display" | "
|
|
8268
|
+
declare const useClasses: (classesProp?: Partial<Record<"display" | "title1" | "title2" | "title3" | "title4" | "label" | "body" | "captionLabel" | "caption1" | "caption2" | "5xlTitle" | "4xlTitle" | "xxlTitle" | "lTitle" | "sTitle" | "xxsTitle" | "sectionTitle" | "placeholderText" | "link" | "disabledText" | "selectedNavText" | "vizTextDisabled" | "xsInlineLink" | "root" | "disabled" | "isLink" | "noWrap" | "3xlTitle" | "xlTitle" | "mTitle" | "xsTitle" | "highlightText" | "normalText" | "vizText", string>>, addStatic?: boolean) => {
|
|
8269
8269
|
classes: {
|
|
8270
8270
|
display: string;
|
|
8271
|
-
"5xlTitle": string;
|
|
8272
|
-
"4xlTitle": string;
|
|
8273
8271
|
title1: string;
|
|
8274
8272
|
title2: string;
|
|
8275
8273
|
title3: string;
|
|
@@ -8279,6 +8277,8 @@ declare const useClasses: (classesProp?: Partial<Record<"display" | "5xlTitle" |
|
|
|
8279
8277
|
captionLabel: string;
|
|
8280
8278
|
caption1: string;
|
|
8281
8279
|
caption2: string;
|
|
8280
|
+
"5xlTitle": string;
|
|
8281
|
+
"4xlTitle": string;
|
|
8282
8282
|
xxlTitle: string;
|
|
8283
8283
|
lTitle: string;
|
|
8284
8284
|
sTitle: string;
|
|
@@ -8624,16 +8624,16 @@ declare const useClasses_119: (classesProp?: Partial<Record<"label" | "root" | "
|
|
|
8624
8624
|
cx: (...args: any) => string;
|
|
8625
8625
|
};
|
|
8626
8626
|
|
|
8627
|
-
declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "
|
|
8627
|
+
declare const useClasses_12: (classesProp?: Partial<Record<"secondary" | "primary" | "root" | "disabled" | "semantic" | "icon" | "secondarySubtle" | "ghost" | "secondaryGhost" | "primaryGhost" | "subtle" | "primarySubtle" | "startIcon" | "endIcon" | "focusVisible", string>>, addStatic?: boolean) => {
|
|
8628
8628
|
classes: {
|
|
8629
8629
|
secondary: string;
|
|
8630
8630
|
primary: string;
|
|
8631
8631
|
root: string;
|
|
8632
8632
|
disabled: string;
|
|
8633
8633
|
semantic: string;
|
|
8634
|
+
icon: string;
|
|
8634
8635
|
secondarySubtle: string;
|
|
8635
8636
|
ghost: string;
|
|
8636
|
-
icon: string;
|
|
8637
8637
|
secondaryGhost: string;
|
|
8638
8638
|
primaryGhost: string;
|
|
8639
8639
|
subtle: string;
|
|
@@ -8722,14 +8722,14 @@ declare const useClasses_126: (classesProp?: Partial<Record<"root", string>>, ad
|
|
|
8722
8722
|
cx: (...args: any) => string;
|
|
8723
8723
|
};
|
|
8724
8724
|
|
|
8725
|
-
declare const useClasses_127: (classesProp?: Partial<Record<"content" | "label" | "link" | "disabled" | "
|
|
8725
|
+
declare const useClasses_127: (classesProp?: Partial<Record<"content" | "label" | "link" | "disabled" | "icon" | "selectable" | "selected" | "hide" | "expanded" | "unselectable" | "group" | "node" | "focused" | "expandable" | "labelIcon" | "collapsed" | "minimized" | "unselected" | "labelExpandable", string>>, addStatic?: boolean) => {
|
|
8726
8726
|
classes: {
|
|
8727
8727
|
content: string;
|
|
8728
8728
|
label: string;
|
|
8729
8729
|
link: string;
|
|
8730
8730
|
disabled: string;
|
|
8731
|
-
selectable: string;
|
|
8732
8731
|
icon: string;
|
|
8732
|
+
selectable: string;
|
|
8733
8733
|
selected: string;
|
|
8734
8734
|
hide: string;
|
|
8735
8735
|
expanded: string;
|
|
@@ -9183,11 +9183,11 @@ declare const useClasses_38: (classesProp?: Partial<Record<"root" | "inputBorder
|
|
|
9183
9183
|
cx: (...args: any) => string;
|
|
9184
9184
|
};
|
|
9185
9185
|
|
|
9186
|
-
declare const useClasses_39: (classesProp?: Partial<Record<"root" | "
|
|
9186
|
+
declare const useClasses_39: (classesProp?: Partial<Record<"root" | "icon" | "selectable" | "selected" | "semanticContainer" | "semanticBar", string>>, addStatic?: boolean) => {
|
|
9187
9187
|
classes: {
|
|
9188
9188
|
root: string;
|
|
9189
|
-
selectable: string;
|
|
9190
9189
|
icon: string;
|
|
9190
|
+
selectable: string;
|
|
9191
9191
|
selected: string;
|
|
9192
9192
|
semanticContainer: string;
|
|
9193
9193
|
semanticBar: string;
|
|
@@ -9347,10 +9347,10 @@ declare const useClasses_47: (classesProp?: Partial<Record<"vertical" | "horizon
|
|
|
9347
9347
|
cx: (...args: any) => string;
|
|
9348
9348
|
};
|
|
9349
9349
|
|
|
9350
|
-
declare const useClasses_48: (classesProp?: Partial<Record<"
|
|
9350
|
+
declare const useClasses_48: (classesProp?: Partial<Record<"label" | "colorPicker" | "root" | "panel" | "headerColorValue" | "recommendedColorsRoot" | "description" | "labelContainer" | "headerColorIcon" | "colorPickerIcon" | "dropdownRootIconOnly" | "headerColorIconOnly" | "pickerFields", string>>, addStatic?: boolean) => {
|
|
9351
9351
|
classes: {
|
|
9352
|
-
colorPicker: string;
|
|
9353
9352
|
label: string;
|
|
9353
|
+
colorPicker: string;
|
|
9354
9354
|
root: string;
|
|
9355
9355
|
panel: string;
|
|
9356
9356
|
headerColorValue: string;
|
|
@@ -9544,10 +9544,11 @@ declare const useClasses_57: (classesProp?: Partial<Record<"label" | "root" | "p
|
|
|
9544
9544
|
cx: (...args: any) => string;
|
|
9545
9545
|
};
|
|
9546
9546
|
|
|
9547
|
-
declare const useClasses_58: (classesProp?: Partial<Record<"listContainer" | "selection" | "selectAll" | "selectAllContainer" | "dropdownListContainer" | "rootList" | "searchContainer" | "listBorderDown", string>>, addStatic?: boolean) => {
|
|
9547
|
+
declare const useClasses_58: (classesProp?: Partial<Record<"listContainer" | "selection" | "virtualized" | "selectAll" | "selectAllContainer" | "dropdownListContainer" | "rootList" | "searchContainer" | "listBorderDown", string>>, addStatic?: boolean) => {
|
|
9548
9548
|
classes: {
|
|
9549
9549
|
listContainer: string;
|
|
9550
9550
|
selection: string;
|
|
9551
|
+
virtualized: string;
|
|
9551
9552
|
selectAll: string;
|
|
9552
9553
|
selectAllContainer: string;
|
|
9553
9554
|
dropdownListContainer: string;
|
|
@@ -9960,11 +9961,11 @@ declare const useClasses_84: (classesProp?: Partial<Record<"link" | "root" | "it
|
|
|
9960
9961
|
cx: (...args: any) => string;
|
|
9961
9962
|
};
|
|
9962
9963
|
|
|
9963
|
-
declare const useClasses_85: (classesProp?: Partial<Record<"overlay" | "
|
|
9964
|
+
declare const useClasses_85: (classesProp?: Partial<Record<"overlay" | "label" | "small" | "root" | "hidden" | "blur" | "barContainer" | "loadingBar" | "regular" | "smallColor" | "regularColor", string>>, addStatic?: boolean) => {
|
|
9964
9965
|
classes: {
|
|
9965
9966
|
overlay: string;
|
|
9966
|
-
small: string;
|
|
9967
9967
|
label: string;
|
|
9968
|
+
small: string;
|
|
9968
9969
|
root: string;
|
|
9969
9970
|
hidden: string;
|
|
9970
9971
|
blur: string;
|
|
@@ -10041,15 +10042,15 @@ declare const useClasses_9: (classesProp?: Partial<Record<"root" | "gutter" | "i
|
|
|
10041
10042
|
cx: (...args: any) => string;
|
|
10042
10043
|
};
|
|
10043
10044
|
|
|
10044
|
-
declare const useClasses_90: (classesProp?: Partial<Record<"color" | "
|
|
10045
|
+
declare const useClasses_90: (classesProp?: Partial<Record<"color" | "root" | "title" | "popper" | "separator" | "tooltip" | "values" | "tooltipMulti" | "valuesContainer" | "separatorColor" | "valueWrapper", string>>, addStatic?: boolean) => {
|
|
10045
10046
|
classes: {
|
|
10046
10047
|
color: string;
|
|
10047
|
-
values: string;
|
|
10048
10048
|
root: string;
|
|
10049
10049
|
title: string;
|
|
10050
10050
|
popper: string;
|
|
10051
10051
|
separator: string;
|
|
10052
10052
|
tooltip: string;
|
|
10053
|
+
values: string;
|
|
10053
10054
|
tooltipMulti: string;
|
|
10054
10055
|
valuesContainer: string;
|
|
10055
10056
|
separatorColor: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.69.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/cache": "^11.11.0",
|
|
34
34
|
"@emotion/serialize": "^1.1.2",
|
|
35
|
-
"@hitachivantara/uikit-react-icons": "^5.10.
|
|
36
|
-
"@hitachivantara/uikit-react-shared": "^5.3.
|
|
37
|
-
"@hitachivantara/uikit-react-utils": "^0.2.
|
|
38
|
-
"@hitachivantara/uikit-styles": "^5.32.
|
|
35
|
+
"@hitachivantara/uikit-react-icons": "^5.10.9",
|
|
36
|
+
"@hitachivantara/uikit-react-shared": "^5.3.1",
|
|
37
|
+
"@hitachivantara/uikit-react-utils": "^0.2.1",
|
|
38
|
+
"@hitachivantara/uikit-styles": "^5.32.1",
|
|
39
39
|
"@internationalized/date": "^3.2.0",
|
|
40
40
|
"@mui/base": "^5.0.0-beta.40",
|
|
41
41
|
"@popperjs/core": "^2.11.8",
|
|
@@ -62,9 +62,10 @@
|
|
|
62
62
|
"access": "public",
|
|
63
63
|
"directory": "package"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "12e14ff262d62992cf3b833a4dd4cdac07541d51",
|
|
66
66
|
"exports": {
|
|
67
67
|
".": {
|
|
68
|
+
"types": "./dist/types/index.d.ts",
|
|
68
69
|
"require": "./dist/cjs/index.cjs",
|
|
69
70
|
"import": "./dist/esm/index.js"
|
|
70
71
|
}
|