@hitachivantara/uikit-react-lab 5.8.2 → 5.9.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/components/Wizard/WizardContainer/WizardContainer.cjs +9 -8
- package/dist/cjs/components/Wizard/WizardContainer/WizardContainer.cjs.map +1 -1
- package/dist/cjs/components/Wizard/WizardContainer/WizardContainer.styles.cjs +1 -2
- package/dist/cjs/components/Wizard/WizardContainer/WizardContainer.styles.cjs.map +1 -1
- package/dist/esm/components/Wizard/WizardContainer/WizardContainer.js +10 -9
- package/dist/esm/components/Wizard/WizardContainer/WizardContainer.js.map +1 -1
- package/dist/esm/components/Wizard/WizardContainer/WizardContainer.styles.js +1 -2
- package/dist/esm/components/Wizard/WizardContainer/WizardContainer.styles.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -3,14 +3,15 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
5
5
|
const WizardContainer_styles = require("./WizardContainer.styles.cjs");
|
|
6
|
-
const HvWizardContainer = ({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
const HvWizardContainer = (props) => {
|
|
7
|
+
const {
|
|
8
|
+
classes: classesProp,
|
|
9
|
+
className,
|
|
10
|
+
children,
|
|
11
|
+
handleClose,
|
|
12
|
+
open,
|
|
13
|
+
...others
|
|
14
|
+
} = uikitReactCore.useDefaultProps("HvWizardContainer", props);
|
|
14
15
|
const {
|
|
15
16
|
classes
|
|
16
17
|
} = WizardContainer_styles.useClasses(classesProp);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardContainer.cjs","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport {\n ExtractNames,\n HvBaseProps,\n HvDialog,\n HvDialogProps,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport { staticClasses, useClasses } from \"./WizardContainer.styles\";\n\nexport { staticClasses as wizardContainerClasses };\n\nexport type HvWizardContainerClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvWizardContainerProps\n extends Omit<HvBaseProps, \"onClose\">,\n Pick<HvDialogProps, \"maxWidth\" | \"fullWidth\"> {\n /** Current state of the Wizard. */\n open: boolean;\n /** Function executed on close. */\n handleClose: (\n event: React.SyntheticEvent,\n reason?: \"escapeKeyDown\" | \"backdropClick\"\n ) => void;\n /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */\n classes?: HvWizardContainerClasses;\n}\n\nexport const HvWizardContainer = ({\n classes: classesProp,\n
|
|
1
|
+
{"version":3,"file":"WizardContainer.cjs","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport {\n ExtractNames,\n HvBaseProps,\n HvDialog,\n HvDialogProps,\n useDefaultProps,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport { staticClasses, useClasses } from \"./WizardContainer.styles\";\n\nexport { staticClasses as wizardContainerClasses };\n\nexport type HvWizardContainerClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvWizardContainerProps\n extends Omit<HvBaseProps, \"onClose\">,\n Pick<HvDialogProps, \"maxWidth\" | \"fullWidth\"> {\n /** Current state of the Wizard. */\n open: boolean;\n /** Function executed on close. */\n handleClose: (\n event: React.SyntheticEvent,\n reason?: \"escapeKeyDown\" | \"backdropClick\"\n ) => void;\n /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */\n classes?: HvWizardContainerClasses;\n}\n\nexport const HvWizardContainer = (props: HvWizardContainerProps) => {\n const {\n classes: classesProp,\n className,\n children,\n handleClose,\n open,\n ...others\n } = useDefaultProps(\"HvWizardContainer\", props);\n const { classes } = useClasses(classesProp);\n\n return (\n <HvDialog\n classes={{\n closeButton: classes.closeButton,\n paper: classes.paper,\n }}\n className={classes.root}\n open={open}\n onClose={handleClose}\n maxWidth=\"lg\"\n {...others}\n >\n {children}\n </HvDialog>\n );\n};\n"],"names":["HvWizardContainer","props","classes","classesProp","className","children","handleClose","open","others","useDefaultProps","useClasses","jsx","HvDialog","closeButton","paper","root"],"mappings":";;;;;AA8BaA,MAAAA,oBAAoBA,CAACC,UAAkC;AAC5D,QAAA;AAAA,IACJC,SAASC;AAAAA,IACTC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACA,GAAGC;AAAAA,EAAAA,IACDC,eAAgB,gBAAA,qBAAqBR,KAAK;AACxC,QAAA;AAAA,IAAEC;AAAAA,EAAAA,IAAYQ,uBAAAA,WAAWP,WAAW;AAGxC,SAAAQ,2BAAA,IAACC,2BACC,SAAS;AAAA,IACPC,aAAaX,QAAQW;AAAAA,IACrBC,OAAOZ,QAAQY;AAAAA,EACjB,GACA,WAAWZ,QAAQa,MACnB,MACA,SAAST,aACT,UAAS,MACLE,GAAAA,QAEHH,SACH,CAAA;AAEJ;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
4
3
|
const uikitReactCore = require("@hitachivantara/uikit-react-core");
|
|
5
4
|
const {
|
|
6
5
|
staticClasses,
|
|
@@ -10,7 +9,7 @@ const {
|
|
|
10
9
|
paper: {
|
|
11
10
|
width: "80%",
|
|
12
11
|
maxWidth: "80%",
|
|
13
|
-
maxHeight:
|
|
12
|
+
maxHeight: "calc(100% - (2 * 80px))"
|
|
14
13
|
},
|
|
15
14
|
closeButton: {
|
|
16
15
|
display: "none"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardContainer.styles.cjs","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.styles.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"WizardContainer.styles.cjs","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.styles.tsx"],"sourcesContent":["import { createClasses } from \"@hitachivantara/uikit-react-core\";\n\nexport const { staticClasses, useClasses } = createClasses(\n \"HvWizardContainer\",\n {\n root: {},\n paper: {\n width: \"80%\",\n maxWidth: \"80%\",\n maxHeight: \"calc(100% - (2 * 80px))\",\n },\n closeButton: {\n display: \"none\",\n },\n }\n);\n"],"names":["staticClasses","useClasses","createClasses","root","paper","width","maxWidth","maxHeight","closeButton","display"],"mappings":";;;AAEa,MAAA;AAAA,EAAEA;AAAAA,EAAeC;AAAW,IAAIC,eAAAA,cAC3C,qBACA;AAAA,EACEC,MAAM,CAAC;AAAA,EACPC,OAAO;AAAA,IACLC,OAAO;AAAA,IACPC,UAAU;AAAA,IACVC,WAAW;AAAA,EACb;AAAA,EACAC,aAAa;AAAA,IACXC,SAAS;AAAA,EACX;AACF,CACF;;;"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { HvDialog } from "@hitachivantara/uikit-react-core";
|
|
2
|
+
import { useDefaultProps, HvDialog } from "@hitachivantara/uikit-react-core";
|
|
3
3
|
import { useClasses } from "./WizardContainer.styles.js";
|
|
4
4
|
import { staticClasses } from "./WizardContainer.styles.js";
|
|
5
|
-
const HvWizardContainer = ({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
const HvWizardContainer = (props) => {
|
|
6
|
+
const {
|
|
7
|
+
classes: classesProp,
|
|
8
|
+
className,
|
|
9
|
+
children,
|
|
10
|
+
handleClose,
|
|
11
|
+
open,
|
|
12
|
+
...others
|
|
13
|
+
} = useDefaultProps("HvWizardContainer", props);
|
|
13
14
|
const {
|
|
14
15
|
classes
|
|
15
16
|
} = useClasses(classesProp);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardContainer.js","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport {\n ExtractNames,\n HvBaseProps,\n HvDialog,\n HvDialogProps,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport { staticClasses, useClasses } from \"./WizardContainer.styles\";\n\nexport { staticClasses as wizardContainerClasses };\n\nexport type HvWizardContainerClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvWizardContainerProps\n extends Omit<HvBaseProps, \"onClose\">,\n Pick<HvDialogProps, \"maxWidth\" | \"fullWidth\"> {\n /** Current state of the Wizard. */\n open: boolean;\n /** Function executed on close. */\n handleClose: (\n event: React.SyntheticEvent,\n reason?: \"escapeKeyDown\" | \"backdropClick\"\n ) => void;\n /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */\n classes?: HvWizardContainerClasses;\n}\n\nexport const HvWizardContainer = ({\n classes: classesProp,\n
|
|
1
|
+
{"version":3,"file":"WizardContainer.js","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport {\n ExtractNames,\n HvBaseProps,\n HvDialog,\n HvDialogProps,\n useDefaultProps,\n} from \"@hitachivantara/uikit-react-core\";\n\nimport { staticClasses, useClasses } from \"./WizardContainer.styles\";\n\nexport { staticClasses as wizardContainerClasses };\n\nexport type HvWizardContainerClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvWizardContainerProps\n extends Omit<HvBaseProps, \"onClose\">,\n Pick<HvDialogProps, \"maxWidth\" | \"fullWidth\"> {\n /** Current state of the Wizard. */\n open: boolean;\n /** Function executed on close. */\n handleClose: (\n event: React.SyntheticEvent,\n reason?: \"escapeKeyDown\" | \"backdropClick\"\n ) => void;\n /** A Jss Object used to override or extend the styles applied to the empty state Wizard. */\n classes?: HvWizardContainerClasses;\n}\n\nexport const HvWizardContainer = (props: HvWizardContainerProps) => {\n const {\n classes: classesProp,\n className,\n children,\n handleClose,\n open,\n ...others\n } = useDefaultProps(\"HvWizardContainer\", props);\n const { classes } = useClasses(classesProp);\n\n return (\n <HvDialog\n classes={{\n closeButton: classes.closeButton,\n paper: classes.paper,\n }}\n className={classes.root}\n open={open}\n onClose={handleClose}\n maxWidth=\"lg\"\n {...others}\n >\n {children}\n </HvDialog>\n );\n};\n"],"names":["HvWizardContainer","props","classes","classesProp","className","children","handleClose","open","others","useDefaultProps","useClasses","closeButton","paper","root"],"mappings":";;;;AA8BaA,MAAAA,oBAAoBA,CAACC,UAAkC;AAC5D,QAAA;AAAA,IACJC,SAASC;AAAAA,IACTC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACAC;AAAAA,IACA,GAAGC;AAAAA,EAAAA,IACDC,gBAAgB,qBAAqBR,KAAK;AACxC,QAAA;AAAA,IAAEC;AAAAA,EAAAA,IAAYQ,WAAWP,WAAW;AAGxC,SAAA,oBAAC,YACC,SAAS;AAAA,IACPQ,aAAaT,QAAQS;AAAAA,IACrBC,OAAOV,QAAQU;AAAAA,EACjB,GACA,WAAWV,QAAQW,MACnB,MACA,SAASP,aACT,UAAS,MACLE,GAAAA,QAEHH,SACH,CAAA;AAEJ;"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { theme } from "@hitachivantara/uikit-styles";
|
|
2
1
|
import { createClasses } from "@hitachivantara/uikit-react-core";
|
|
3
2
|
const {
|
|
4
3
|
staticClasses,
|
|
@@ -8,7 +7,7 @@ const {
|
|
|
8
7
|
paper: {
|
|
9
8
|
width: "80%",
|
|
10
9
|
maxWidth: "80%",
|
|
11
|
-
maxHeight:
|
|
10
|
+
maxHeight: "calc(100% - (2 * 80px))"
|
|
12
11
|
},
|
|
13
12
|
closeButton: {
|
|
14
13
|
display: "none"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardContainer.styles.js","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.styles.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"WizardContainer.styles.js","sources":["../../../../../src/components/Wizard/WizardContainer/WizardContainer.styles.tsx"],"sourcesContent":["import { createClasses } from \"@hitachivantara/uikit-react-core\";\n\nexport const { staticClasses, useClasses } = createClasses(\n \"HvWizardContainer\",\n {\n root: {},\n paper: {\n width: \"80%\",\n maxWidth: \"80%\",\n maxHeight: \"calc(100% - (2 * 80px))\",\n },\n closeButton: {\n display: \"none\",\n },\n }\n);\n"],"names":["staticClasses","useClasses","createClasses","root","paper","width","maxWidth","maxHeight","closeButton","display"],"mappings":";AAEa,MAAA;AAAA,EAAEA;AAAAA,EAAeC;AAAW,IAAIC,cAC3C,qBACA;AAAA,EACEC,MAAM,CAAC;AAAA,EACPC,OAAO;AAAA,IACLC,OAAO;AAAA,IACPC,UAAU;AAAA,IACVC,WAAW;AAAA,EACb;AAAA,EACAC,aAAa;AAAA,IACXC,SAAS;AAAA,EACX;AACF,CACF;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -358,7 +358,7 @@ export declare interface HvWizardActionsProps extends HvBaseProps {
|
|
|
358
358
|
|
|
359
359
|
export declare type HvWizardClasses = ExtractNames<typeof useClasses_3>;
|
|
360
360
|
|
|
361
|
-
export declare const HvWizardContainer: (
|
|
361
|
+
export declare const HvWizardContainer: (props: HvWizardContainerProps) => JSX_2.Element;
|
|
362
362
|
|
|
363
363
|
export declare type HvWizardContainerClasses = ExtractNames<typeof useClasses_6>;
|
|
364
364
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-lab",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Contributed React components for the NEXT UI Kit.",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@dnd-kit/core": "^6.0.8",
|
|
33
33
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
34
34
|
"@emotion/css": "^11.11.0",
|
|
35
|
-
"@hitachivantara/uikit-react-core": "^5.
|
|
36
|
-
"@hitachivantara/uikit-react-icons": "^5.6.
|
|
37
|
-
"@hitachivantara/uikit-styles": "^5.
|
|
35
|
+
"@hitachivantara/uikit-react-core": "^5.29.0",
|
|
36
|
+
"@hitachivantara/uikit-react-icons": "^5.6.8",
|
|
37
|
+
"@hitachivantara/uikit-styles": "^5.13.0",
|
|
38
38
|
"lodash": "^4.17.21",
|
|
39
39
|
"reactflow": "^11.8.3",
|
|
40
40
|
"uid": "^2.0.2",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"access": "public",
|
|
49
49
|
"directory": "package"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "191f0c01ede0f034dea18409accf3b49e3051277",
|
|
52
52
|
"main": "dist/cjs/index.cjs",
|
|
53
53
|
"exports": {
|
|
54
54
|
".": {
|