@hitachivantara/uikit-react-core 5.95.0 → 5.95.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.
|
@@ -37,7 +37,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvAvatar",
|
|
|
37
37
|
md: { width: 40, height: 40, fontSize: "1rem" },
|
|
38
38
|
lg: { width: 52, height: 52, fontSize: "1.5rem" },
|
|
39
39
|
xl: { width: 88, height: 88, fontSize: "2rem" },
|
|
40
|
-
avatar: {},
|
|
40
|
+
avatar: { borderRadius: "inherit" },
|
|
41
41
|
badge: {
|
|
42
42
|
width: 8,
|
|
43
43
|
height: 8,
|
|
@@ -9,7 +9,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvBadge", {
|
|
|
9
9
|
":has($badgeIcon)": {
|
|
10
10
|
width: "fit-content",
|
|
11
11
|
height: "fit-content",
|
|
12
|
-
"&>div:first-
|
|
12
|
+
"&>div:first-of-type": {
|
|
13
13
|
minWidth: 32,
|
|
14
14
|
minHeight: 32,
|
|
15
15
|
"--icsize": "100%"
|
|
@@ -35,7 +35,7 @@ const { staticClasses, useClasses } = createClasses("HvAvatar", {
|
|
|
35
35
|
md: { width: 40, height: 40, fontSize: "1rem" },
|
|
36
36
|
lg: { width: 52, height: 52, fontSize: "1.5rem" },
|
|
37
37
|
xl: { width: 88, height: 88, fontSize: "2rem" },
|
|
38
|
-
avatar: {},
|
|
38
|
+
avatar: { borderRadius: "inherit" },
|
|
39
39
|
badge: {
|
|
40
40
|
width: 8,
|
|
41
41
|
height: 8,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1313,9 +1313,9 @@ export declare interface HvAvatarProps extends HvBaseProps {
|
|
|
1313
1313
|
/** A string representing the type of avatar to display, circular or square. */
|
|
1314
1314
|
variant?: HvAvatarVariant;
|
|
1315
1315
|
/** A string representing the color of the avatar border that represents its status. */
|
|
1316
|
-
status?:
|
|
1316
|
+
status?: HvColorAny;
|
|
1317
1317
|
/** A string representing the color of the avatar badge. */
|
|
1318
|
-
badge?:
|
|
1318
|
+
badge?: HvColorAny;
|
|
1319
1319
|
/** Attributes applied to the avatar element. */
|
|
1320
1320
|
avatarProps?: AvatarProps;
|
|
1321
1321
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
@@ -3679,6 +3679,11 @@ declare type HvFooterProps_2<D extends object = Record<string, unknown>> = HvTab
|
|
|
3679
3679
|
* analogous to MUI's [`FormControl`](https://mui.com/material-ui/api/form-control/) component.
|
|
3680
3680
|
*
|
|
3681
3681
|
* It is used internally to build UI Kit's form components (eg. `HvInput`, `HvDatePicker`), and can be used to build custom form components.
|
|
3682
|
+
*
|
|
3683
|
+
* It exposes the common properties to be shared between all form components: `required`, `disabled`, `readOnly`, and `status`.
|
|
3684
|
+
*
|
|
3685
|
+
* Along with the properties above, form components also share the `value`/`defaultValue` and `onChange` props,
|
|
3686
|
+
* used to control the value of the form component, analogous to the native `input` component.
|
|
3682
3687
|
*/
|
|
3683
3688
|
export declare const HvFormElement: {
|
|
3684
3689
|
(props: HvFormElementProps): JSX_2.Element;
|
|
@@ -3742,6 +3747,10 @@ export declare type HvFormStatus = "standBy" | "valid" | "invalid" | "empty";
|
|
|
3742
3747
|
/**
|
|
3743
3748
|
* Global Actions are actions that affect the entire page they live in.
|
|
3744
3749
|
* They should persist while scrolling down the screen.
|
|
3750
|
+
*
|
|
3751
|
+
* It uses `variant="global"` by default, rendering an `h1` element and applying sticky positioning.
|
|
3752
|
+
* Use `variant="section"` to group related content blocks.
|
|
3753
|
+
* Use it sparingly, as it introduces strong visual separation, which may not always be necessary.
|
|
3745
3754
|
*/
|
|
3746
3755
|
export declare const HvGlobalActions: ForwardRefExoticComponent<HvGlobalActionsProps & RefAttributes<HTMLDivElement>>;
|
|
3747
3756
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.95.
|
|
3
|
+
"version": "5.95.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/cache": "^11.11.0",
|
|
34
34
|
"@emotion/serialize": "^1.1.2",
|
|
35
|
-
"@hitachivantara/uikit-react-shared": "^5.4.
|
|
36
|
-
"@hitachivantara/uikit-react-utils": "^0.2.
|
|
37
|
-
"@hitachivantara/uikit-styles": "^5.48.
|
|
35
|
+
"@hitachivantara/uikit-react-shared": "^5.4.5",
|
|
36
|
+
"@hitachivantara/uikit-react-utils": "^0.2.38",
|
|
37
|
+
"@hitachivantara/uikit-styles": "^5.48.1",
|
|
38
38
|
"@internationalized/date": "^3.2.0",
|
|
39
39
|
"@mui/base": "5.0.0-beta.68",
|
|
40
40
|
"@popperjs/core": "^2.11.8",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"access": "public",
|
|
62
62
|
"directory": "package"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "5ed545e2d3d9374198340f910ac464cb84b309ed",
|
|
65
65
|
"exports": {
|
|
66
66
|
".": {
|
|
67
67
|
"types": "./dist/types/index.d.ts",
|