@elliemae/ds-page-layout 3.16.0-next.2 → 3.16.0-next.20
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/PageLayout.js +7 -3
- package/dist/cjs/PageLayout.js.map +2 -2
- package/dist/cjs/index.js +6 -2
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/props.js +12 -8
- package/dist/cjs/props.js.map +2 -2
- package/dist/esm/PageLayout.js +2 -2
- package/dist/esm/PageLayout.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/esm/props.js +1 -1
- package/dist/esm/props.js.map +1 -1
- package/dist/types/PageLayout.d.ts +9 -8
- package/dist/types/index.d.ts +2 -2
- package/dist/types/props.d.ts +7 -7
- package/package.json +6 -5
package/dist/cjs/PageLayout.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -30,8 +34,8 @@ __export(PageLayout_exports, {
|
|
|
30
34
|
module.exports = __toCommonJS(PageLayout_exports);
|
|
31
35
|
var React = __toESM(require("react"));
|
|
32
36
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
33
|
-
var import_props = require("./props");
|
|
34
|
-
var
|
|
37
|
+
var import_props = require("./props.js");
|
|
38
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_grid = require("@elliemae/ds-grid");
|
|
36
40
|
const PageLayout = ({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, LeftNav, SidePanel, Footer }) => {
|
|
37
41
|
const mainRegionRows = () => {
|
|
@@ -71,6 +75,6 @@ const PageLayout = ({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, Le
|
|
|
71
75
|
};
|
|
72
76
|
PageLayout.propTypes = import_props.pageLayoutProps;
|
|
73
77
|
PageLayout.displayName = "PageLayout";
|
|
74
|
-
const PageLayoutWithSchema = (0,
|
|
78
|
+
const PageLayoutWithSchema = (0, import_ds_props_helpers.describe)(PageLayout);
|
|
75
79
|
PageLayoutWithSchema.propTypes = import_props.pageLayoutProps;
|
|
76
80
|
//# sourceMappingURL=PageLayout.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/PageLayout.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { pageLayoutProps } from './props';\nimport { describe } from '@elliemae/ds-
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { pageLayoutProps } from './props.js';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\n\nconst PageLayout = ({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, LeftNav, SidePanel, Footer }) => {\n const mainRegionRows = () => {\n if (PageHeader && Footer) return ['auto', '1fr', 'auto'];\n if (PageHeader && !Footer) return ['auto', '1fr'];\n if (!PageHeader && !Footer) return ['auto'];\n if (!PageHeader && Footer) return ['1fr', 'auto'];\n };\n\n return (\n <Grid\n style={{ width: '100%' }}\n height=\"100vh\"\n rows={ContextHeader ? ['auto', 'auto', '1fr'] : ['auto', '1fr']}\n data-testid=\"page-layout\"\n >\n {GlobalHeader && (\n <Grid>\n <GlobalHeader />\n </Grid>\n )}\n {ContextHeader && (\n <Grid>\n <ContextHeader />\n </Grid>\n )}\n <Grid cols={LeftNav ? ['auto', '1fr'] : ['auto']}>\n {LeftNav && (\n <Grid>\n <LeftNav />\n </Grid>\n )}\n <Grid rows={mainRegionRows()}>\n {PageHeader && (\n <Grid style={{ minHeight: '48px' }}>\n <PageHeader />\n </Grid>\n )}\n {ContentRegion && (\n <Grid cols={SidePanel ? ['auto', 'fit-content(100%)'] : ['auto']}>\n {\n <Grid style={{ minHeight: '480px', overflow: 'auto' }}>\n <ContentRegion />\n </Grid>\n }\n {SidePanel && <SidePanel />}\n </Grid>\n )}\n {Footer && (\n <Grid>\n <Footer />\n </Grid>\n )}\n </Grid>\n </Grid>\n </Grid>\n );\n};\n\nPageLayout.propTypes = pageLayoutProps;\nPageLayout.displayName = 'PageLayout';\nconst PageLayoutWithSchema = describe(PageLayout);\nPageLayoutWithSchema.propTypes = pageLayoutProps;\n\nexport { PageLayout, PageLayoutWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADsBb;AArBV,mBAAgC;AAChC,8BAAyB;AACzB,qBAAqB;AAErB,MAAM,aAAa,CAAC,EAAE,cAAc,eAAe,YAAY,eAAe,SAAS,WAAW,OAAO,MAAM;AAC7G,QAAM,iBAAiB,MAAM;AAC3B,QAAI,cAAc;AAAQ,aAAO,CAAC,QAAQ,OAAO,MAAM;AACvD,QAAI,cAAc,CAAC;AAAQ,aAAO,CAAC,QAAQ,KAAK;AAChD,QAAI,CAAC,cAAc,CAAC;AAAQ,aAAO,CAAC,MAAM;AAC1C,QAAI,CAAC,cAAc;AAAQ,aAAO,CAAC,OAAO,MAAM;AAAA,EAClD;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,QAAO;AAAA,MACP,MAAM,gBAAgB,CAAC,QAAQ,QAAQ,KAAK,IAAI,CAAC,QAAQ,KAAK;AAAA,MAC9D,eAAY;AAAA,MAEX;AAAA,wBACC,4CAAC,uBACC,sDAAC,gBAAa,GAChB;AAAA,QAED,iBACC,4CAAC,uBACC,sDAAC,iBAAc,GACjB;AAAA,QAEF,6CAAC,uBAAK,MAAM,UAAU,CAAC,QAAQ,KAAK,IAAI,CAAC,MAAM,GAC5C;AAAA,qBACC,4CAAC,uBACC,sDAAC,WAAQ,GACX;AAAA,UAEF,6CAAC,uBAAK,MAAM,eAAe,GACxB;AAAA,0BACC,4CAAC,uBAAK,OAAO,EAAE,WAAW,OAAO,GAC/B,sDAAC,cAAW,GACd;AAAA,YAED,iBACC,6CAAC,uBAAK,MAAM,YAAY,CAAC,QAAQ,mBAAmB,IAAI,CAAC,MAAM,GAE3D;AAAA,0DAAC,uBAAK,OAAO,EAAE,WAAW,SAAS,UAAU,OAAO,GAClD,sDAAC,iBAAc,GACjB;AAAA,cAED,aAAa,4CAAC,aAAU;AAAA,eAC3B;AAAA,YAED,UACC,4CAAC,uBACC,sDAAC,UAAO,GACV;AAAA,aAEJ;AAAA,WACF;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,WAAW,YAAY;AACvB,WAAW,cAAc;AACzB,MAAM,2BAAuB,kCAAS,UAAU;AAChD,qBAAqB,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,6 +19,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
21
21
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
22
26
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
23
27
|
mod
|
|
24
28
|
));
|
|
@@ -29,6 +33,6 @@ __export(src_exports, {
|
|
|
29
33
|
});
|
|
30
34
|
module.exports = __toCommonJS(src_exports);
|
|
31
35
|
var React = __toESM(require("react"));
|
|
32
|
-
__reExport(src_exports, require("./PageLayout"), module.exports);
|
|
33
|
-
var import_PageLayout = require("./PageLayout");
|
|
36
|
+
__reExport(src_exports, require("./PageLayout.js"), module.exports);
|
|
37
|
+
var import_PageLayout = require("./PageLayout.js");
|
|
34
38
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["export * from './PageLayout';\nexport { PageLayout as default } from './PageLayout';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["export * from './PageLayout.js';\nexport { PageLayout as default } from './PageLayout.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,4BAAd;AACA,wBAAsC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/props.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -28,14 +32,14 @@ __export(props_exports, {
|
|
|
28
32
|
});
|
|
29
33
|
module.exports = __toCommonJS(props_exports);
|
|
30
34
|
var React = __toESM(require("react"));
|
|
31
|
-
var
|
|
35
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
32
36
|
const pageLayoutProps = {
|
|
33
|
-
GlobalHeader:
|
|
34
|
-
ContextHeader:
|
|
35
|
-
PageHeader:
|
|
36
|
-
ContentRegion:
|
|
37
|
-
LeftNav:
|
|
38
|
-
SidePanel:
|
|
39
|
-
Footer:
|
|
37
|
+
GlobalHeader: import_ds_props_helpers.PropTypes.func.description("Global header component").isRequired,
|
|
38
|
+
ContextHeader: import_ds_props_helpers.PropTypes.func.description("Context header component"),
|
|
39
|
+
PageHeader: import_ds_props_helpers.PropTypes.func.description("Page header component"),
|
|
40
|
+
ContentRegion: import_ds_props_helpers.PropTypes.func.description("Main content of the page").isRequired,
|
|
41
|
+
LeftNav: import_ds_props_helpers.PropTypes.func.description("Left nav component"),
|
|
42
|
+
SidePanel: import_ds_props_helpers.PropTypes.func.description("Side panel component"),
|
|
43
|
+
Footer: import_ds_props_helpers.PropTypes.func.description("Footer component")
|
|
40
44
|
};
|
|
41
45
|
//# sourceMappingURL=props.js.map
|
package/dist/cjs/props.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/props.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { PropTypes } from '@elliemae/ds-
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const pageLayoutProps = {\n GlobalHeader: PropTypes.func.description('Global header component').isRequired,\n ContextHeader: PropTypes.func.description('Context header component'),\n PageHeader: PropTypes.func.description('Page header component'),\n ContentRegion: PropTypes.func.description('Main content of the page').isRequired,\n LeftNav: PropTypes.func.description('Left nav component'),\n SidePanel: PropTypes.func.description('Side panel component'),\n Footer: PropTypes.func.description('Footer component'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAEnB,MAAM,kBAAkB;AAAA,EAC7B,cAAc,kCAAU,KAAK,YAAY,yBAAyB,EAAE;AAAA,EACpE,eAAe,kCAAU,KAAK,YAAY,0BAA0B;AAAA,EACpE,YAAY,kCAAU,KAAK,YAAY,uBAAuB;AAAA,EAC9D,eAAe,kCAAU,KAAK,YAAY,0BAA0B,EAAE;AAAA,EACtE,SAAS,kCAAU,KAAK,YAAY,oBAAoB;AAAA,EACxD,WAAW,kCAAU,KAAK,YAAY,sBAAsB;AAAA,EAC5D,QAAQ,kCAAU,KAAK,YAAY,kBAAkB;AACvD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/PageLayout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { pageLayoutProps } from "./props";
|
|
4
|
-
import { describe } from "@elliemae/ds-
|
|
3
|
+
import { pageLayoutProps } from "./props.js";
|
|
4
|
+
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { Grid } from "@elliemae/ds-grid";
|
|
6
6
|
const PageLayout = ({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, LeftNav, SidePanel, Footer }) => {
|
|
7
7
|
const mainRegionRows = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/PageLayout.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { pageLayoutProps } from './props';\nimport { describe } from '@elliemae/ds-
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { pageLayoutProps } from './props.js';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\n\nconst PageLayout = ({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, LeftNav, SidePanel, Footer }) => {\n const mainRegionRows = () => {\n if (PageHeader && Footer) return ['auto', '1fr', 'auto'];\n if (PageHeader && !Footer) return ['auto', '1fr'];\n if (!PageHeader && !Footer) return ['auto'];\n if (!PageHeader && Footer) return ['1fr', 'auto'];\n };\n\n return (\n <Grid\n style={{ width: '100%' }}\n height=\"100vh\"\n rows={ContextHeader ? ['auto', 'auto', '1fr'] : ['auto', '1fr']}\n data-testid=\"page-layout\"\n >\n {GlobalHeader && (\n <Grid>\n <GlobalHeader />\n </Grid>\n )}\n {ContextHeader && (\n <Grid>\n <ContextHeader />\n </Grid>\n )}\n <Grid cols={LeftNav ? ['auto', '1fr'] : ['auto']}>\n {LeftNav && (\n <Grid>\n <LeftNav />\n </Grid>\n )}\n <Grid rows={mainRegionRows()}>\n {PageHeader && (\n <Grid style={{ minHeight: '48px' }}>\n <PageHeader />\n </Grid>\n )}\n {ContentRegion && (\n <Grid cols={SidePanel ? ['auto', 'fit-content(100%)'] : ['auto']}>\n {\n <Grid style={{ minHeight: '480px', overflow: 'auto' }}>\n <ContentRegion />\n </Grid>\n }\n {SidePanel && <SidePanel />}\n </Grid>\n )}\n {Footer && (\n <Grid>\n <Footer />\n </Grid>\n )}\n </Grid>\n </Grid>\n </Grid>\n );\n};\n\nPageLayout.propTypes = pageLayoutProps;\nPageLayout.displayName = 'PageLayout';\nconst PageLayoutWithSchema = describe(PageLayout);\nPageLayoutWithSchema.propTypes = pageLayoutProps;\n\nexport { PageLayout, PageLayoutWithSchema };\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACsBb,cAqBE,YArBF;AArBV,SAAS,uBAAuB;AAChC,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,MAAM,aAAa,CAAC,EAAE,cAAc,eAAe,YAAY,eAAe,SAAS,WAAW,OAAO,MAAM;AAC7G,QAAM,iBAAiB,MAAM;AAC3B,QAAI,cAAc;AAAQ,aAAO,CAAC,QAAQ,OAAO,MAAM;AACvD,QAAI,cAAc,CAAC;AAAQ,aAAO,CAAC,QAAQ,KAAK;AAChD,QAAI,CAAC,cAAc,CAAC;AAAQ,aAAO,CAAC,MAAM;AAC1C,QAAI,CAAC,cAAc;AAAQ,aAAO,CAAC,OAAO,MAAM;AAAA,EAClD;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,QAAO;AAAA,MACP,MAAM,gBAAgB,CAAC,QAAQ,QAAQ,KAAK,IAAI,CAAC,QAAQ,KAAK;AAAA,MAC9D,eAAY;AAAA,MAEX;AAAA,wBACC,oBAAC,QACC,8BAAC,gBAAa,GAChB;AAAA,QAED,iBACC,oBAAC,QACC,8BAAC,iBAAc,GACjB;AAAA,QAEF,qBAAC,QAAK,MAAM,UAAU,CAAC,QAAQ,KAAK,IAAI,CAAC,MAAM,GAC5C;AAAA,qBACC,oBAAC,QACC,8BAAC,WAAQ,GACX;AAAA,UAEF,qBAAC,QAAK,MAAM,eAAe,GACxB;AAAA,0BACC,oBAAC,QAAK,OAAO,EAAE,WAAW,OAAO,GAC/B,8BAAC,cAAW,GACd;AAAA,YAED,iBACC,qBAAC,QAAK,MAAM,YAAY,CAAC,QAAQ,mBAAmB,IAAI,CAAC,MAAM,GAE3D;AAAA,kCAAC,QAAK,OAAO,EAAE,WAAW,SAAS,UAAU,OAAO,GAClD,8BAAC,iBAAc,GACjB;AAAA,cAED,aAAa,oBAAC,aAAU;AAAA,eAC3B;AAAA,YAED,UACC,oBAAC,QACC,8BAAC,UAAO,GACV;AAAA,aAEJ;AAAA,WACF;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,WAAW,YAAY;AACvB,WAAW,cAAc;AACzB,MAAM,uBAAuB,SAAS,UAAU;AAChD,qBAAqB,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './PageLayout';\nexport { PageLayout as default } from './PageLayout';\n"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './PageLayout.js';\nexport { PageLayout as default } from './PageLayout.js';\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,SAAuB,kBAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/props.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PropTypes } from "@elliemae/ds-
|
|
2
|
+
import { PropTypes } from "@elliemae/ds-props-helpers";
|
|
3
3
|
const pageLayoutProps = {
|
|
4
4
|
GlobalHeader: PropTypes.func.description("Global header component").isRequired,
|
|
5
5
|
ContextHeader: PropTypes.func.description("Context header component"),
|
package/dist/esm/props.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/props.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const pageLayoutProps = {\n GlobalHeader: PropTypes.func.description('Global header component').isRequired,\n ContextHeader: PropTypes.func.description('Context header component'),\n PageHeader: PropTypes.func.description('Page header component'),\n ContentRegion: PropTypes.func.description('Main content of the page').isRequired,\n LeftNav: PropTypes.func.description('Left nav component'),\n SidePanel: PropTypes.func.description('Side panel component'),\n Footer: PropTypes.func.description('Footer component'),\n};\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAEnB,MAAM,kBAAkB;AAAA,EAC7B,cAAc,UAAU,KAAK,YAAY,yBAAyB,EAAE;AAAA,EACpE,eAAe,UAAU,KAAK,YAAY,0BAA0B;AAAA,EACpE,YAAY,UAAU,KAAK,YAAY,uBAAuB;AAAA,EAC9D,eAAe,UAAU,KAAK,YAAY,0BAA0B,EAAE;AAAA,EACtE,SAAS,UAAU,KAAK,YAAY,oBAAoB;AAAA,EACxD,WAAW,UAAU,KAAK,YAAY,sBAAsB;AAAA,EAC5D,QAAQ,UAAU,KAAK,YAAY,kBAAkB;AACvD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const PageLayout: {
|
|
2
3
|
({ GlobalHeader, ContextHeader, PageHeader, ContentRegion, LeftNav, SidePanel, Footer }: {
|
|
3
4
|
GlobalHeader: any;
|
|
@@ -9,17 +10,17 @@ declare const PageLayout: {
|
|
|
9
10
|
Footer: any;
|
|
10
11
|
}): JSX.Element;
|
|
11
12
|
propTypes: {
|
|
12
|
-
GlobalHeader: import("@elliemae/ds-
|
|
13
|
-
ContextHeader: import("@elliemae/ds-
|
|
14
|
-
PageHeader: import("@elliemae/ds-
|
|
15
|
-
ContentRegion: import("@elliemae/ds-
|
|
16
|
-
LeftNav: import("@elliemae/ds-
|
|
17
|
-
SidePanel: import("@elliemae/ds-
|
|
18
|
-
Footer: import("@elliemae/ds-
|
|
13
|
+
GlobalHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
14
|
+
ContextHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
|
+
PageHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
16
|
+
ContentRegion: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
17
|
+
LeftNav: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
18
|
+
SidePanel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
|
+
Footer: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
20
|
};
|
|
20
21
|
displayName: string;
|
|
21
22
|
};
|
|
22
|
-
declare const PageLayoutWithSchema: import("@elliemae/ds-
|
|
23
|
+
declare const PageLayoutWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
23
24
|
GlobalHeader: any;
|
|
24
25
|
ContextHeader: any;
|
|
25
26
|
PageHeader: any;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './PageLayout';
|
|
2
|
-
export { PageLayout as default } from './PageLayout';
|
|
1
|
+
export * from './PageLayout.js';
|
|
2
|
+
export { PageLayout as default } from './PageLayout.js';
|
package/dist/types/props.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const pageLayoutProps: {
|
|
2
|
-
GlobalHeader: import("@elliemae/ds-
|
|
3
|
-
ContextHeader: import("@elliemae/ds-
|
|
4
|
-
PageHeader: import("@elliemae/ds-
|
|
5
|
-
ContentRegion: import("@elliemae/ds-
|
|
6
|
-
LeftNav: import("@elliemae/ds-
|
|
7
|
-
SidePanel: import("@elliemae/ds-
|
|
8
|
-
Footer: import("@elliemae/ds-
|
|
2
|
+
GlobalHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
3
|
+
ContextHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
4
|
+
PageHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
5
|
+
ContentRegion: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
6
|
+
LeftNav: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
7
|
+
SidePanel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
|
+
Footer: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-page-layout",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Page Layout",
|
|
6
6
|
"files": [
|
|
@@ -43,11 +43,12 @@
|
|
|
43
43
|
"indent": 4
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@elliemae/ds-grid": "3.16.0-next.
|
|
47
|
-
"@elliemae/ds-
|
|
46
|
+
"@elliemae/ds-grid": "3.16.0-next.20",
|
|
47
|
+
"@elliemae/ds-props-helpers": "3.16.0-next.20",
|
|
48
|
+
"@elliemae/ds-utilities": "3.16.0-next.20"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"styled-components": "~5.3.
|
|
51
|
+
"styled-components": "~5.3.9"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"lodash": "^4.17.21",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
67
68
|
"dts": "node ../../scripts/dts.mjs",
|
|
68
69
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
69
|
-
"dev:build": "pnpm --filter {.}... build
|
|
70
|
+
"dev:build": "pnpm --filter {.}... build",
|
|
70
71
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
71
72
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
72
73
|
}
|