@hitachivantara/uikit-react-core 5.107.0 → 5.108.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.
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
|
|
4
|
-
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
5
4
|
const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvSearchInput", {
|
|
6
|
-
root: {
|
|
5
|
+
root: {},
|
|
7
6
|
input: { marginLeft: 0 }
|
|
8
7
|
});
|
|
9
8
|
exports.staticClasses = staticClasses;
|
|
@@ -15,6 +15,7 @@ const inputColors = {
|
|
|
15
15
|
bg: ld("#FFFFFF", "#020617")
|
|
16
16
|
};
|
|
17
17
|
const popperStyles = {
|
|
18
|
+
margin: uikitStyles.theme.spacing("xxs", 0),
|
|
18
19
|
backgroundColor: uikitStyles.theme.colors.bgContainer,
|
|
19
20
|
border: `1px solid ${uikitStyles.theme.colors.borderSubtle}`,
|
|
20
21
|
borderRadius: uikitStyles.theme.radii.large,
|
|
@@ -863,6 +864,15 @@ const pentahoPlus = uikitStyles.mergeTheme(uikitStyles.pentahoPlus, {
|
|
|
863
864
|
borderRadius: uikitStyles.theme.radii.none
|
|
864
865
|
}
|
|
865
866
|
}
|
|
867
|
+
},
|
|
868
|
+
HvTooltip: {
|
|
869
|
+
classes: {
|
|
870
|
+
popper: {
|
|
871
|
+
"& .HvTooltip-tooltip": {
|
|
872
|
+
padding: uikitStyles.theme.spacing("xs", "sm")
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
}
|
|
866
876
|
}
|
|
867
877
|
}
|
|
868
878
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createClasses } from "@hitachivantara/uikit-react-utils";
|
|
2
|
-
import { theme } from "@hitachivantara/uikit-styles";
|
|
3
2
|
const { staticClasses, useClasses } = createClasses("HvSearchInput", {
|
|
4
|
-
root: {
|
|
3
|
+
root: {},
|
|
5
4
|
input: { marginLeft: 0 }
|
|
6
5
|
});
|
|
7
6
|
export {
|
|
@@ -13,6 +13,7 @@ const inputColors = {
|
|
|
13
13
|
bg: ld("#FFFFFF", "#020617")
|
|
14
14
|
};
|
|
15
15
|
const popperStyles = {
|
|
16
|
+
margin: theme.spacing("xxs", 0),
|
|
16
17
|
backgroundColor: theme.colors.bgContainer,
|
|
17
18
|
border: `1px solid ${theme.colors.borderSubtle}`,
|
|
18
19
|
borderRadius: theme.radii.large,
|
|
@@ -861,6 +862,15 @@ const pentahoPlus = mergeTheme(pentahoPlus$1, {
|
|
|
861
862
|
borderRadius: theme.radii.none
|
|
862
863
|
}
|
|
863
864
|
}
|
|
865
|
+
},
|
|
866
|
+
HvTooltip: {
|
|
867
|
+
classes: {
|
|
868
|
+
popper: {
|
|
869
|
+
"& .HvTooltip-tooltip": {
|
|
870
|
+
padding: theme.spacing("xs", "sm")
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
864
874
|
}
|
|
865
875
|
}
|
|
866
876
|
});
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1078,7 +1078,7 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1078
1078
|
/** Content to be rendered. */
|
|
1079
1079
|
children: React.ReactNode;
|
|
1080
1080
|
/** The accordion label button. */
|
|
1081
|
-
label?:
|
|
1081
|
+
label?: React.ReactNode;
|
|
1082
1082
|
/** The function that will be executed whenever the accordion toggles. It will receive the state of the accordion. */
|
|
1083
1083
|
onChange?: (event: React.SyntheticEvent, value: boolean) => void;
|
|
1084
1084
|
/** Whether the accordion is open or not. If this property is defined the accordion must be fully controlled. */
|
|
@@ -1437,7 +1437,7 @@ export declare interface HvBannerProps extends Omit<SnackbarProps, "anchorOrigin
|
|
|
1437
1437
|
* */
|
|
1438
1438
|
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
1439
1439
|
/** The message to display. */
|
|
1440
|
-
label?:
|
|
1440
|
+
label?: React.ReactNode;
|
|
1441
1441
|
/** The anchor of the Snackbar. */
|
|
1442
1442
|
anchorOrigin?: "top" | "bottom";
|
|
1443
1443
|
/** Variant of the snackbar. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.108.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "UI Kit Core React components.",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"access": "public",
|
|
62
62
|
"directory": "package"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "df761f73245bd857bb831dfd0300d5e5f7afeccd",
|
|
65
65
|
"exports": {
|
|
66
66
|
".": {
|
|
67
67
|
"types": "./dist/types/index.d.ts",
|