@hitachivantara/uikit-react-core 5.0.0-next.2 → 5.0.0-next.3
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/Login/Login.cjs +30 -0
- package/dist/cjs/components/Login/Login.cjs.map +1 -0
- package/dist/cjs/components/Login/Login.styles.cjs +37 -0
- package/dist/cjs/components/Login/Login.styles.cjs.map +1 -0
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Login/Login.js +28 -0
- package/dist/esm/components/Login/Login.js.map +1 -0
- package/dist/esm/components/Login/Login.styles.js +35 -0
- package/dist/esm/components/Login/Login.styles.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/Login/Login.d.ts +25 -0
- package/dist/types/components/Login/Login.d.ts.map +1 -0
- package/dist/types/components/Login/Login.styles.d.ts +10 -0
- package/dist/types/components/Login/Login.styles.d.ts.map +1 -0
- package/dist/types/components/Login/index.d.ts +2 -0
- package/dist/types/components/Login/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const clsx = require("clsx");
|
|
4
|
+
const Login_styles = require("./Login.styles.cjs");
|
|
5
|
+
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
6
|
+
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
7
|
+
const clsx__default = /* @__PURE__ */ _interopDefault(clsx);
|
|
8
|
+
const HvLogin = ({
|
|
9
|
+
id,
|
|
10
|
+
className,
|
|
11
|
+
classes,
|
|
12
|
+
children,
|
|
13
|
+
background,
|
|
14
|
+
...others
|
|
15
|
+
}) => {
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Login_styles.StyledRoot, {
|
|
17
|
+
id,
|
|
18
|
+
className: clsx__default.default(className, classes == null ? void 0 : classes.root),
|
|
19
|
+
style: {
|
|
20
|
+
backgroundImage: background && `url(${background})`
|
|
21
|
+
},
|
|
22
|
+
...others,
|
|
23
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Login_styles.StyledFormContainer, {
|
|
24
|
+
className: classes == null ? void 0 : classes.formContainer,
|
|
25
|
+
children
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
exports.HvLogin = HvLogin;
|
|
30
|
+
//# sourceMappingURL=Login.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.cjs","sources":["../../../../src/components/Login/Login.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { HvBaseProps } from \"../../types\";\nimport { StyledFormContainer, StyledRoot } from \"./Login.styles\";\n\nexport type HvLoginProps = HvBaseProps & {\n /**\n * The path for the background image.\n */\n background?: string;\n /**\n * Class names to be applied.\n */\n classes?: {\n /**\n * Styles applied to root.\n */\n root?: string;\n /**\n * Styles applied to the form container.\n */\n formContainer?: string;\n };\n};\n\n/**\n * Container layout for the login form.\n */\nexport const HvLogin = ({\n id,\n className,\n classes,\n children,\n background,\n ...others\n}: HvLoginProps) => {\n return (\n <StyledRoot\n id={id}\n className={clsx(className, classes?.root)}\n style={{\n backgroundImage: background && `url(${background})`,\n }}\n {...others}\n >\n <StyledFormContainer className={classes?.formContainer}>\n {children}\n </StyledFormContainer>\n </StyledRoot>\n );\n};\n"],"names":["HvLogin","id","className","classes","children","background","others","StyledRoot","clsx","root","style","backgroundImage","StyledFormContainer","formContainer"],"mappings":";;;;;;;AA2BO,MAAMA,UAAUA,CAAC;AAAA,EACtBC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,KACGC;AACS,MAAM;AAClB,wCACGC,aAAAA,YAAU;AAAA,IACTN;AAAAA,IACAC,WAAWM,cAAAA,QAAKN,WAAWC,mCAASM,IAAI;AAAA,IACxCC,OAAO;AAAA,MACLC,iBAAiBN,cAAe,OAAMA;AAAAA,IACxC;AAAA,IAAE,GACEC;AAAAA,IAAMF,yCAETQ,kCAAmB;AAAA,MAACV,WAAWC,mCAASU;AAAAA,MAAcT;AAAAA,IAAAA,CAC5C;AAAA,EAAA,CAEA;AAEjB;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _styled = require("@emotion/styled/base");
|
|
4
|
+
const uikitStyles = require("@hitachivantara/uikit-styles");
|
|
5
|
+
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
6
|
+
const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
|
|
7
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
8
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
9
|
+
}
|
|
10
|
+
const StyledRoot = /* @__PURE__ */ _styled__default.default("div", process.env.NODE_ENV === "production" ? {
|
|
11
|
+
target: "e1jay62a1"
|
|
12
|
+
} : {
|
|
13
|
+
target: "e1jay62a1",
|
|
14
|
+
label: "StyledRoot"
|
|
15
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
16
|
+
name: "wq8grn",
|
|
17
|
+
styles: "background-repeat:no-repeat;background-position:bottom;background-size:cover;width:100%;height:100%;padding:0;margin:-1px 0 0 0"
|
|
18
|
+
} : {
|
|
19
|
+
name: "wq8grn",
|
|
20
|
+
styles: "background-repeat:no-repeat;background-position:bottom;background-size:cover;width:100%;height:100%;padding:0;margin:-1px 0 0 0",
|
|
21
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9u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SS_ERROR__
|
|
23
|
+
});
|
|
24
|
+
const StyledFormContainer = /* @__PURE__ */ _styled__default.default("div", process.env.NODE_ENV === "production" ? {
|
|
25
|
+
target: "e1jay62a0"
|
|
26
|
+
} : {
|
|
27
|
+
target: "e1jay62a0",
|
|
28
|
+
label: "StyledFormContainer"
|
|
29
|
+
})({
|
|
30
|
+
background: uikitStyles.theme.colors.atmo2,
|
|
31
|
+
marginLeft: "auto",
|
|
32
|
+
maxWidth: 500,
|
|
33
|
+
height: "100%"
|
|
34
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2h2LXVpa2l0LXJlYWN0L2h2LXVpa2l0LXJlYWN0L3BhY2thZ2VzL2NvcmUvc3JjL2NvbXBvbmVudHMvTG9naW4vTG9naW4uc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhbUMiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvaHYtdWlraXQtcmVhY3QvaHYtdWlraXQtcmVhY3QvcGFja2FnZXMvY29yZS9zcmMvY29tcG9uZW50cy9Mb2dpbi9Mb2dpbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyB0aGVtZSB9IGZyb20gXCJAaGl0YWNoaXZhbnRhcmEvdWlraXQtc3R5bGVzXCI7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRSb290ID0gc3R5bGVkKFwiZGl2XCIpKHtcbiAgYmFja2dyb3VuZFJlcGVhdDogXCJuby1yZXBlYXRcIixcbiAgYmFja2dyb3VuZFBvc2l0aW9uOiBcImJvdHRvbVwiLFxuICBiYWNrZ3JvdW5kU2l6ZTogXCJjb3ZlclwiLFxuICB3aWR0aDogXCIxMDAlXCIsXG4gIGhlaWdodDogXCIxMDAlXCIsXG4gIHBhZGRpbmc6IDAsXG4gIG1hcmdpbjogXCItMXB4IDAgMCAwXCIsXG59KTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZvcm1Db250YWluZXIgPSBzdHlsZWQoXCJkaXZcIikoe1xuICBiYWNrZ3JvdW5kOiB0aGVtZS5jb2xvcnMuYXRtbzIsXG4gIG1hcmdpbkxlZnQ6IFwiYXV0b1wiLFxuICBtYXhXaWR0aDogNTAwLFxuICBoZWlnaHQ6IFwiMTAwJVwiLFxufSk7XG4iXX0= */");
|
|
35
|
+
exports.StyledFormContainer = StyledFormContainer;
|
|
36
|
+
exports.StyledRoot = StyledRoot;
|
|
37
|
+
//# sourceMappingURL=Login.styles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.styles.cjs","sources":["../../../../src/components/Login/Login.styles.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\n\nexport const StyledRoot = styled(\"div\")({\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"bottom\",\n backgroundSize: \"cover\",\n width: \"100%\",\n height: \"100%\",\n padding: 0,\n margin: \"-1px 0 0 0\",\n});\n\nexport const StyledFormContainer = styled(\"div\")({\n background: theme.colors.atmo2,\n marginLeft: \"auto\",\n maxWidth: 500,\n height: \"100%\",\n});\n"],"names":["StyledRoot","_styled","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","StyledFormContainer","background","theme","colors","atmo2","marginLeft","maxWidth","height"],"mappings":";;;;;;;;;AAGO,MAAMA,aAAoBC,iCAAA,QAAA,OAAKC,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAA,QAAA;AAAA,EAAAC,OAAA;AAAA,CAAA,EAACJ,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAG,MAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAD,MAAA;AAAA,EAAAC,QAAA;AAAA,EAAAC,KAAA;AAAA,EAAAC,UAAAC;AAAA,CAQrC;AAEK,MAAMC,sBAA6BX,iCAAA,QAAA,OAAKC,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAA,QAAA;AAAA,EAAAC,OAAA;AAAA,CAAA,EAAE;AAAA,EAC/CO,YAAYC,YAAAA,MAAMC,OAAOC;AAAAA,EACzBC,YAAY;AAAA,EACZC,UAAU;AAAA,EACVC,QAAQ;AACV,GAACjB,QAAAC,IAAAC,aAAC,eAAA,KAAA,ylCAAA;;;"}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -190,6 +190,7 @@ const useHeaderGroups = require("./components/Table/hooks/useHeaderGroups.cjs");
|
|
|
190
190
|
const useResizeColumns = require("./components/Table/hooks/useResizeColumns.cjs");
|
|
191
191
|
const reactTable = require("react-table");
|
|
192
192
|
const fallbacks = require("./components/Table/utils/fallbacks.cjs");
|
|
193
|
+
const Login = require("./components/Login/Login.cjs");
|
|
193
194
|
const useUniqueId = require("./hooks/useUniqueId.cjs");
|
|
194
195
|
const useIsMounted = require("./hooks/useIsMounted.cjs");
|
|
195
196
|
const useClickOutside = require("./hooks/useClickOutside.cjs");
|
|
@@ -434,6 +435,7 @@ Object.defineProperty(exports, "useHvGlobalFilter", {
|
|
|
434
435
|
exports.hvNodeFallback = fallbacks.hvNodeFallback;
|
|
435
436
|
exports.hvNumberFallback = fallbacks.hvNumberFallback;
|
|
436
437
|
exports.hvStringFallback = fallbacks.hvStringFallback;
|
|
438
|
+
exports.HvLogin = Login.HvLogin;
|
|
437
439
|
exports.useUniqueId = useUniqueId.default;
|
|
438
440
|
exports.useIsMounted = useIsMounted.default;
|
|
439
441
|
exports.useClickOutside = useClickOutside.useClickOutside;
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import { StyledRoot, StyledFormContainer } from "./Login.styles.js";
|
|
3
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
4
|
+
const HvLogin = ({
|
|
5
|
+
id,
|
|
6
|
+
className,
|
|
7
|
+
classes,
|
|
8
|
+
children,
|
|
9
|
+
background,
|
|
10
|
+
...others
|
|
11
|
+
}) => {
|
|
12
|
+
return /* @__PURE__ */ jsx(StyledRoot, {
|
|
13
|
+
id,
|
|
14
|
+
className: clsx(className, classes == null ? void 0 : classes.root),
|
|
15
|
+
style: {
|
|
16
|
+
backgroundImage: background && `url(${background})`
|
|
17
|
+
},
|
|
18
|
+
...others,
|
|
19
|
+
children: /* @__PURE__ */ jsx(StyledFormContainer, {
|
|
20
|
+
className: classes == null ? void 0 : classes.formContainer,
|
|
21
|
+
children
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
HvLogin
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=Login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.js","sources":["../../../../src/components/Login/Login.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { HvBaseProps } from \"../../types\";\nimport { StyledFormContainer, StyledRoot } from \"./Login.styles\";\n\nexport type HvLoginProps = HvBaseProps & {\n /**\n * The path for the background image.\n */\n background?: string;\n /**\n * Class names to be applied.\n */\n classes?: {\n /**\n * Styles applied to root.\n */\n root?: string;\n /**\n * Styles applied to the form container.\n */\n formContainer?: string;\n };\n};\n\n/**\n * Container layout for the login form.\n */\nexport const HvLogin = ({\n id,\n className,\n classes,\n children,\n background,\n ...others\n}: HvLoginProps) => {\n return (\n <StyledRoot\n id={id}\n className={clsx(className, classes?.root)}\n style={{\n backgroundImage: background && `url(${background})`,\n }}\n {...others}\n >\n <StyledFormContainer className={classes?.formContainer}>\n {children}\n </StyledFormContainer>\n </StyledRoot>\n );\n};\n"],"names":["HvLogin","id","className","classes","children","background","others","StyledRoot","clsx","root","style","backgroundImage","StyledFormContainer","formContainer"],"mappings":";;;AA2BO,MAAMA,UAAUA,CAAC;AAAA,EACtBC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,EACAC;AAAAA,KACGC;AACS,MAAM;AAClB,6BACGC,YAAU;AAAA,IACTN;AAAAA,IACAC,WAAWM,KAAKN,WAAWC,mCAASM,IAAI;AAAA,IACxCC,OAAO;AAAA,MACLC,iBAAiBN,cAAe,OAAMA;AAAAA,IACxC;AAAA,IAAE,GACEC;AAAAA,IAAMF,8BAETQ,qBAAmB;AAAA,MAACV,WAAWC,mCAASU;AAAAA,MAAcT;AAAAA,IAAAA,CAC5C;AAAA,EAAA,CAEA;AAEjB;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
|
2
|
+
import { theme } from "@hitachivantara/uikit-styles";
|
|
3
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
4
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
5
|
+
}
|
|
6
|
+
const StyledRoot = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
|
|
7
|
+
target: "e1jay62a1"
|
|
8
|
+
} : {
|
|
9
|
+
target: "e1jay62a1",
|
|
10
|
+
label: "StyledRoot"
|
|
11
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
12
|
+
name: "wq8grn",
|
|
13
|
+
styles: "background-repeat:no-repeat;background-position:bottom;background-size:cover;width:100%;height:100%;padding:0;margin:-1px 0 0 0"
|
|
14
|
+
} : {
|
|
15
|
+
name: "wq8grn",
|
|
16
|
+
styles: "background-repeat:no-repeat;background-position:bottom;background-size:cover;width:100%;height:100%;padding:0;margin:-1px 0 0 0",
|
|
17
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2h2LXVpa2l0LXJlYWN0L2h2LXVpa2l0LXJlYWN0L3BhY2thZ2VzL2NvcmUvc3JjL2NvbXBvbmVudHMvTG9naW4vTG9naW4uc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHMEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvaHYtdWlraXQtcmVhY3QvaHYtdWlraXQtcmVhY3QvcGFja2FnZXMvY29yZS9zcmMvY29tcG9uZW50cy9Mb2dpbi9Mb2dpbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyB0aGVtZSB9IGZyb20gXCJAaGl0YWNoaXZhbnRhcmEvdWlraXQtc3R5bGVzXCI7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRSb290ID0gc3R5bGVkKFwiZGl2XCIpKHtcbiAgYmFja2dyb3VuZFJlcGVhdDogXCJuby1yZXBlYXRcIixcbiAgYmFja2dyb3VuZFBvc2l0aW9uOiBcImJvdHRvbVwiLFxuICBiYWNrZ3JvdW5kU2l6ZTogXCJjb3ZlclwiLFxuICB3aWR0aDogXCIxMDAlXCIsXG4gIGhlaWdodDogXCIxMDAlXCIsXG4gIHBhZGRpbmc6IDAsXG4gIG1hcmdpbjogXCItMXB4IDAgMCAwXCIsXG59KTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZvcm1Db250YWluZXIgPSBzdHlsZWQoXCJkaXZcIikoe1xuICBiYWNrZ3JvdW5kOiB0aGVtZS5jb2xvcnMuYXRtbzIsXG4gIG1hcmdpbkxlZnQ6IFwiYXV0b1wiLFxuICBtYXhXaWR0aDogNTAwLFxuICBoZWlnaHQ6IFwiMTAwJVwiLFxufSk7XG4iXX0= */",
|
|
18
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
19
|
+
});
|
|
20
|
+
const StyledFormContainer = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
|
|
21
|
+
target: "e1jay62a0"
|
|
22
|
+
} : {
|
|
23
|
+
target: "e1jay62a0",
|
|
24
|
+
label: "StyledFormContainer"
|
|
25
|
+
})({
|
|
26
|
+
background: theme.colors.atmo2,
|
|
27
|
+
marginLeft: "auto",
|
|
28
|
+
maxWidth: 500,
|
|
29
|
+
height: "100%"
|
|
30
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2h2LXVpa2l0LXJlYWN0L2h2LXVpa2l0LXJlYWN0L3BhY2thZ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
|
+
{"version":3,"file":"Login.styles.js","sources":["../../../../src/components/Login/Login.styles.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\n\nexport const StyledRoot = styled(\"div\")({\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"bottom\",\n backgroundSize: \"cover\",\n width: \"100%\",\n height: \"100%\",\n padding: 0,\n margin: \"-1px 0 0 0\",\n});\n\nexport const StyledFormContainer = styled(\"div\")({\n background: theme.colors.atmo2,\n marginLeft: \"auto\",\n maxWidth: 500,\n height: \"100%\",\n});\n"],"names":["StyledRoot","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","StyledFormContainer","background","theme","colors","atmo2","marginLeft","maxWidth","height"],"mappings":";;;;;AAGO,MAAMA,aAAoB,wBAAA,OAAKC,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAA,QAAA;AAAA,EAAAC,OAAA;AAAA,CAAA,EAACJ,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAG,MAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAD,MAAA;AAAA,EAAAC,QAAA;AAAA,EAAAC,KAAA;AAAA,EAAAC,UAAAC;AAAA,CAQrC;AAEK,MAAMC,sBAA6B,wBAAA,OAAKV,QAAAC,IAAAC,aAAA,eAAA;AAAA,EAAAC,QAAA;AAAA,IAAA;AAAA,EAAAA,QAAA;AAAA,EAAAC,OAAA;AAAA,CAAA,EAAE;AAAA,EAC/CO,YAAYC,MAAMC,OAAOC;AAAAA,EACzBC,YAAY;AAAA,EACZC,UAAU;AAAA,EACVC,QAAQ;AACV,GAACjB,QAAAC,IAAAC,aAAC,eAAA,KAAA,ylCAAA;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -188,6 +188,7 @@ import { default as default94 } from "./components/Table/hooks/useHeaderGroups.j
|
|
|
188
188
|
import { default as default95 } from "./components/Table/hooks/useResizeColumns.js";
|
|
189
189
|
import { useFilters, useGlobalFilter } from "react-table";
|
|
190
190
|
import { hvNodeFallback, hvNumberFallback, hvStringFallback } from "./components/Table/utils/fallbacks.js";
|
|
191
|
+
import { HvLogin } from "./components/Login/Login.js";
|
|
191
192
|
import { default as default96 } from "./hooks/useUniqueId.js";
|
|
192
193
|
import { default as default97 } from "./hooks/useIsMounted.js";
|
|
193
194
|
import { useClickOutside } from "./hooks/useClickOutside.js";
|
|
@@ -277,6 +278,7 @@ export {
|
|
|
277
278
|
HvListContainer,
|
|
278
279
|
HvListItem,
|
|
279
280
|
HvLoading,
|
|
281
|
+
HvLogin,
|
|
280
282
|
HvMultiButton,
|
|
281
283
|
HvOverflowTooltip,
|
|
282
284
|
HvPage,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HvBaseProps } from "../../types";
|
|
2
|
+
export type HvLoginProps = HvBaseProps & {
|
|
3
|
+
/**
|
|
4
|
+
* The path for the background image.
|
|
5
|
+
*/
|
|
6
|
+
background?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Class names to be applied.
|
|
9
|
+
*/
|
|
10
|
+
classes?: {
|
|
11
|
+
/**
|
|
12
|
+
* Styles applied to root.
|
|
13
|
+
*/
|
|
14
|
+
root?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Styles applied to the form container.
|
|
17
|
+
*/
|
|
18
|
+
formContainer?: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Container layout for the login form.
|
|
23
|
+
*/
|
|
24
|
+
export declare const HvLogin: ({ id, className, classes, children, background, ...others }: HvLoginProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=Login.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.d.ts","sourceRoot":"","sources":["../../../../../src/components/Login/Login.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACvC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,gEAOjB,YAAY,qDAed,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledRoot: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledFormContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
//# sourceMappingURL=Login.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Login/Login.styles.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,UAAU;;;yGAQrB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;yGAK9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Login/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAA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AAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "UI Kit core React components for the Next Design System.",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"react-dom": "^18.2.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@hitachivantara/uikit-react-icons": "5.0.0-next.
|
|
33
|
-
"@hitachivantara/uikit-styles": "5.0.0-next.
|
|
32
|
+
"@hitachivantara/uikit-react-icons": "5.0.0-next.3",
|
|
33
|
+
"@hitachivantara/uikit-styles": "5.0.0-next.3",
|
|
34
34
|
"@popperjs/core": "^2.11.6",
|
|
35
35
|
"attr-accept": "^2.2.2",
|
|
36
36
|
"clsx": "^1.2.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"access": "public",
|
|
53
53
|
"directory": "package"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "6c8cd1d0b450ef9ed06a17161e4fb1673f9bfc2f",
|
|
56
56
|
"main": "dist/cjs/index.cjs",
|
|
57
57
|
"exports": {
|
|
58
58
|
".": {
|