@hitachivantara/uikit-react-lab 6.1.7 → 6.1.9
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/Flow/Node/Node.js
CHANGED
|
@@ -5,9 +5,9 @@ import { Info, DropDownXS } from "@hitachivantara/uikit-react-icons";
|
|
|
5
5
|
import { HvFlowBaseNode } from "./BaseNode.js";
|
|
6
6
|
import { useClasses } from "./Node.styles.js";
|
|
7
7
|
import { staticClasses } from "./Node.styles.js";
|
|
8
|
+
import { useFlowContext } from "../hooks/useFlowContext.js";
|
|
8
9
|
import { useFlowNode, useFlowNodeUtils } from "../hooks/useFlowNode.js";
|
|
9
10
|
import { ParamRenderer } from "./Parameters/ParamRenderer.js";
|
|
10
|
-
import { useFlowContext } from "../hooks/useFlowContext.js";
|
|
11
11
|
const DEFAULT_LABELS = {
|
|
12
12
|
collapseLabel: "Collapse",
|
|
13
13
|
expandLabel: "Expand"
|
|
@@ -6,10 +6,10 @@ import { useLabels, useUniqueId, HvDrawer, HvTypography, HvInput } from "@hitach
|
|
|
6
6
|
import { Add } from "@hitachivantara/uikit-react-icons";
|
|
7
7
|
import { useClasses } from "./Sidebar.styles.js";
|
|
8
8
|
import { staticClasses } from "./Sidebar.styles.js";
|
|
9
|
-
import { HvFlowSidebarGroup } from "./SidebarGroup/SidebarGroup.js";
|
|
10
|
-
import { HvFlowSidebarGroupItem } from "./SidebarGroup/SidebarGroupItem/SidebarGroupItem.js";
|
|
11
9
|
import { useFlowContext } from "../hooks/useFlowContext.js";
|
|
12
10
|
import { HvFlowDraggableSidebarGroupItem } from "./SidebarGroup/SidebarGroupItem/DraggableSidebarGroupItem.js";
|
|
11
|
+
import { HvFlowSidebarGroup } from "./SidebarGroup/SidebarGroup.js";
|
|
12
|
+
import { HvFlowSidebarGroupItem } from "./SidebarGroup/SidebarGroupItem/SidebarGroupItem.js";
|
|
13
13
|
const DEFAULT_LABELS = {
|
|
14
14
|
itemAriaRoleDescription: "Draggable",
|
|
15
15
|
expandGroupButtonAriaLabel: "Expand group",
|
package/dist/Wizard/Wizard.js
CHANGED
|
@@ -5,7 +5,6 @@ import { staticClasses } from "./WizardContainer.styles.js";
|
|
|
5
5
|
const HvWizardContainer = (props) => {
|
|
6
6
|
const {
|
|
7
7
|
classes: classesProp,
|
|
8
|
-
children,
|
|
9
8
|
handleClose,
|
|
10
9
|
...others
|
|
11
10
|
} = useDefaultProps("HvWizardContainer", props);
|
|
@@ -21,8 +20,7 @@ const HvWizardContainer = (props) => {
|
|
|
21
20
|
onClose: handleClose,
|
|
22
21
|
fullWidth: true,
|
|
23
22
|
maxWidth: "lg",
|
|
24
|
-
...others
|
|
25
|
-
children
|
|
23
|
+
...others
|
|
26
24
|
}
|
|
27
25
|
);
|
|
28
26
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -748,7 +748,7 @@ export declare const HvWizard: ({ className, children, onClose, handleSubmit, ti
|
|
|
748
748
|
|
|
749
749
|
export declare const HvWizardActions: ({ classes: classesProp, handleClose, handleSubmit, loading, skippable, labels, handleBeforeNext, handleBeforePrevious, }: HvWizardActionsProps) => JSX_2.Element;
|
|
750
750
|
|
|
751
|
-
export declare type HvWizardActionsClasses = ExtractNames<typeof
|
|
751
|
+
export declare type HvWizardActionsClasses = ExtractNames<typeof useClasses_14>;
|
|
752
752
|
|
|
753
753
|
export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
754
754
|
/** Function to handle the cancel button. */
|
|
@@ -784,13 +784,13 @@ export declare type HvWizardClasses = ExtractNames<typeof useClasses_12>;
|
|
|
784
784
|
|
|
785
785
|
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
786
786
|
|
|
787
|
-
export declare type HvWizardContainerClasses = ExtractNames<typeof
|
|
787
|
+
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_13>;
|
|
788
788
|
|
|
789
|
-
export declare interface HvWizardContainerProps extends Omit<
|
|
789
|
+
export declare interface HvWizardContainerProps extends Omit<HvDialogProps, "classes"> {
|
|
790
790
|
/** Current state of the Wizard. */
|
|
791
791
|
open: boolean;
|
|
792
|
-
/** Function executed on close. */
|
|
793
|
-
handleClose
|
|
792
|
+
/** Function executed on close. @deprecated use `onClose` instead */
|
|
793
|
+
handleClose?: HvDialogProps["onClose"];
|
|
794
794
|
/** A Jss Object used to override or extend the styles applied to the empty state Wizard. */
|
|
795
795
|
classes?: HvWizardContainerClasses;
|
|
796
796
|
}
|
|
@@ -821,7 +821,7 @@ declare type HvWizardContextProp = {
|
|
|
821
821
|
setTab: Dispatch<SetStateAction<number>>;
|
|
822
822
|
};
|
|
823
823
|
|
|
824
|
-
export declare interface HvWizardProps extends
|
|
824
|
+
export declare interface HvWizardProps extends Omit<HvWizardContainerProps, "classes"> {
|
|
825
825
|
/** Current state of the Wizard. */
|
|
826
826
|
open: boolean;
|
|
827
827
|
/** Function executed on close. */
|
|
@@ -864,7 +864,7 @@ export declare type HvWizardTabs = Partial<Record<number, HvWizardTab>>;
|
|
|
864
864
|
|
|
865
865
|
export declare const HvWizardTitle: ({ title, hasSummary, labels, classes: classesProp, customStep, }: HvWizardTitleProps) => JSX_2.Element;
|
|
866
866
|
|
|
867
|
-
export declare type HvWizardTitleClasses = ExtractNames<typeof
|
|
867
|
+
export declare type HvWizardTitleClasses = ExtractNames<typeof useClasses_15>;
|
|
868
868
|
|
|
869
869
|
export declare interface HvWizardTitleProps extends HvBaseProps {
|
|
870
870
|
/** Title for the wizard. */
|
|
@@ -956,32 +956,32 @@ declare const useClasses_12: (classesProp?: Partial<Record<"root", string>>, add
|
|
|
956
956
|
readonly cx: (...args: any) => string;
|
|
957
957
|
};
|
|
958
958
|
|
|
959
|
-
declare const useClasses_13: (classesProp?: Partial<Record<"
|
|
959
|
+
declare const useClasses_13: (classesProp?: Partial<Record<"root" | "paper" | "closeButton", string>>, addStatic?: boolean) => {
|
|
960
960
|
readonly classes: {
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
buttonSpacing: string;
|
|
961
|
+
root: string;
|
|
962
|
+
paper: string;
|
|
963
|
+
closeButton: string;
|
|
965
964
|
};
|
|
966
965
|
readonly css: any;
|
|
967
966
|
readonly cx: (...args: any) => string;
|
|
968
967
|
};
|
|
969
968
|
|
|
970
|
-
declare const useClasses_14: (classesProp?: Partial<Record<"
|
|
969
|
+
declare const useClasses_14: (classesProp?: Partial<Record<"actionsContainer" | "buttonWidth" | "buttonsContainer" | "buttonSpacing", string>>, addStatic?: boolean) => {
|
|
971
970
|
readonly classes: {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
971
|
+
actionsContainer: string;
|
|
972
|
+
buttonWidth: string;
|
|
973
|
+
buttonsContainer: string;
|
|
974
|
+
buttonSpacing: string;
|
|
975
975
|
};
|
|
976
976
|
readonly css: any;
|
|
977
977
|
readonly cx: (...args: any) => string;
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
declare const useClasses_15: (classesProp?: Partial<Record<"root" | "
|
|
980
|
+
declare const useClasses_15: (classesProp?: Partial<Record<"root" | "summaryButton" | "stepContainer", string>>, addStatic?: boolean) => {
|
|
981
981
|
readonly classes: {
|
|
982
982
|
root: string;
|
|
983
|
-
|
|
984
|
-
|
|
983
|
+
summaryButton: string;
|
|
984
|
+
stepContainer: string;
|
|
985
985
|
};
|
|
986
986
|
readonly css: any;
|
|
987
987
|
readonly cx: (...args: any) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-lab",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@dnd-kit/core": "^6.1.0",
|
|
35
35
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
36
36
|
"@emotion/css": "^11.11.0",
|
|
37
|
-
"@hitachivantara/uikit-react-core": "^6.8.
|
|
37
|
+
"@hitachivantara/uikit-react-core": "^6.8.2",
|
|
38
38
|
"@hitachivantara/uikit-react-icons": "^6.0.4",
|
|
39
39
|
"@hitachivantara/uikit-react-utils": "^6.2.2",
|
|
40
40
|
"@hitachivantara/uikit-styles": "^6.1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"access": "public",
|
|
53
53
|
"directory": "package"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "333e132a9823018d508ebbe71c81d0b467f9008d",
|
|
56
56
|
"exports": {
|
|
57
57
|
".": {
|
|
58
58
|
"types": "./dist/index.d.ts",
|