@elliemae/ds-page-layout 3.16.0 → 3.16.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.
- package/dist/cjs/PageLayout.js +5 -1
- 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 +4 -0
- package/dist/cjs/props.js.map +1 -1
- package/dist/esm/PageLayout.js +1 -1
- 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/types/PageLayout.d.ts +9 -8
- package/dist/types/index.d.ts +2 -2
- package/package.json +5 -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,7 +34,7 @@ __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");
|
|
37
|
+
var import_props = require("./props.js");
|
|
34
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 }) => {
|
|
@@ -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-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": "
|
|
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
|
));
|
package/dist/cjs/props.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/props.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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": "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { pageLayoutProps } from "./props";
|
|
3
|
+
import { pageLayoutProps } from "./props.js";
|
|
4
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 }) => {
|
|
@@ -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-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"],
|
|
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
|
}
|
|
@@ -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-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
13
|
-
ContextHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
-
PageHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
15
|
-
ContentRegion: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
16
|
-
LeftNav: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
17
|
-
SidePanel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
-
Footer: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
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-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-page-layout",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Page Layout",
|
|
6
6
|
"files": [
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"indent": 4
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@elliemae/ds-grid": "3.16.
|
|
47
|
-
"@elliemae/ds-props-helpers": "3.16.
|
|
48
|
-
"@elliemae/ds-utilities": "3.16.
|
|
46
|
+
"@elliemae/ds-grid": "3.16.1",
|
|
47
|
+
"@elliemae/ds-props-helpers": "3.16.1",
|
|
48
|
+
"@elliemae/ds-utilities": "3.16.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"styled-components": "~5.3.
|
|
51
|
+
"styled-components": "~5.3.9"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"lodash": "^4.17.21",
|