@elliemae/ds-list-section-header 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.
@@ -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
  ));
@@ -32,7 +36,7 @@ module.exports = __toCommonJS(ListSectionHeader_exports);
32
36
  var React = __toESM(require("react"));
33
37
  var import_jsx_runtime = require("react/jsx-runtime");
34
38
  var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
35
- var import_styled = require("./styled");
39
+ var import_styled = require("./styled.js");
36
40
  const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Container, { children: [
37
41
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Header, { cols: [1, "auto"], children: [
38
42
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.Title, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: title }) }),
@@ -48,6 +52,10 @@ const listSectionHeaderProps = {
48
52
  children: import_ds_props_helpers.PropTypes.element.description("Header content"),
49
53
  title: import_ds_props_helpers.PropTypes.string.description("Header title").isRequired,
50
54
  addonLabel: import_ds_props_helpers.PropTypes.string.description("addon label"),
55
+ /**
56
+ * Button (size="s" buttonType="text" + icon)
57
+ * or Checkbox
58
+ */
51
59
  addon: import_ds_props_helpers.PropTypes.element.description("addon")
52
60
  };
53
61
  ListSectionHeader.propTypes = listSectionHeaderProps;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ListSectionHeader.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { Container, Header, Title, Addon, Body, Separator } from './styled';\n\nconst ListSectionHeader = ({ title = '', addon, addonLabel = '', children }) => (\n <Container>\n <Header cols={[1, 'auto']}>\n <Title>\n <span>{title}</span>\n </Title>\n <Addon cols={['auto', 'auto']} gutter=\"xxxs\">\n {addonLabel && <span>{addonLabel}</span>}\n {addon && <span>{addon}</span>}\n </Addon>\n </Header>\n {children && <Separator />}\n {children && <Body>{children}</Body>}\n </Container>\n);\n\nconst listSectionHeaderProps = {\n children: PropTypes.element.description('Header content'),\n title: PropTypes.string.description('Header title').isRequired,\n addonLabel: PropTypes.string.description('addon label'),\n /**\n * Button (size=\"s\" buttonType=\"text\" + icon)\n * or Checkbox\n */\n addon: PropTypes.element.description('addon'),\n};\n\nListSectionHeader.propTypes = listSectionHeaderProps;\nListSectionHeader.displayName = 'ListSectionHeader';\nconst ListSectionHeaderWithSchema = describe(ListSectionHeader);\nListSectionHeaderWithSchema.propTypes = listSectionHeaderProps;\n\nexport { ListSectionHeader, ListSectionHeaderWithSchema };\nexport default ListSectionHeader;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADQf;AAPR,8BAAoC;AACpC,oBAAiE;AAEjE,MAAM,oBAAoB,CAAC,EAAE,QAAQ,IAAI,OAAO,aAAa,IAAI,SAAS,MACxE,6CAAC,2BACC;AAAA,+CAAC,wBAAO,MAAM,CAAC,GAAG,MAAM,GACtB;AAAA,gDAAC,uBACC,sDAAC,UAAM,iBAAM,GACf;AAAA,IACA,6CAAC,uBAAM,MAAM,CAAC,QAAQ,MAAM,GAAG,QAAO,QACnC;AAAA,oBAAc,4CAAC,UAAM,sBAAW;AAAA,MAChC,SAAS,4CAAC,UAAM,iBAAM;AAAA,OACzB;AAAA,KACF;AAAA,EACC,YAAY,4CAAC,2BAAU;AAAA,EACvB,YAAY,4CAAC,sBAAM,UAAS;AAAA,GAC/B;AAGF,MAAM,yBAAyB;AAAA,EAC7B,UAAU,kCAAU,QAAQ,YAAY,gBAAgB;AAAA,EACxD,OAAO,kCAAU,OAAO,YAAY,cAAc,EAAE;AAAA,EACpD,YAAY,kCAAU,OAAO,YAAY,aAAa;AAAA,EAKtD,OAAO,kCAAU,QAAQ,YAAY,OAAO;AAC9C;AAEA,kBAAkB,YAAY;AAC9B,kBAAkB,cAAc;AAChC,MAAM,kCAA8B,kCAAS,iBAAiB;AAC9D,4BAA4B,YAAY;AAGxC,IAAO,4BAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { Container, Header, Title, Addon, Body, Separator } from './styled.js';\n\nconst ListSectionHeader = ({ title = '', addon, addonLabel = '', children }) => (\n <Container>\n <Header cols={[1, 'auto']}>\n <Title>\n <span>{title}</span>\n </Title>\n <Addon cols={['auto', 'auto']} gutter=\"xxxs\">\n {addonLabel && <span>{addonLabel}</span>}\n {addon && <span>{addon}</span>}\n </Addon>\n </Header>\n {children && <Separator />}\n {children && <Body>{children}</Body>}\n </Container>\n);\n\nconst listSectionHeaderProps = {\n children: PropTypes.element.description('Header content'),\n title: PropTypes.string.description('Header title').isRequired,\n addonLabel: PropTypes.string.description('addon label'),\n /**\n * Button (size=\"s\" buttonType=\"text\" + icon)\n * or Checkbox\n */\n addon: PropTypes.element.description('addon'),\n};\n\nListSectionHeader.propTypes = listSectionHeaderProps;\nListSectionHeader.displayName = 'ListSectionHeader';\nconst ListSectionHeaderWithSchema = describe(ListSectionHeader);\nListSectionHeaderWithSchema.propTypes = listSectionHeaderProps;\n\nexport { ListSectionHeader, ListSectionHeaderWithSchema };\nexport default ListSectionHeader;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADQf;AAPR,8BAAoC;AACpC,oBAAiE;AAEjE,MAAM,oBAAoB,CAAC,EAAE,QAAQ,IAAI,OAAO,aAAa,IAAI,SAAS,MACxE,6CAAC,2BACC;AAAA,+CAAC,wBAAO,MAAM,CAAC,GAAG,MAAM,GACtB;AAAA,gDAAC,uBACC,sDAAC,UAAM,iBAAM,GACf;AAAA,IACA,6CAAC,uBAAM,MAAM,CAAC,QAAQ,MAAM,GAAG,QAAO,QACnC;AAAA,oBAAc,4CAAC,UAAM,sBAAW;AAAA,MAChC,SAAS,4CAAC,UAAM,iBAAM;AAAA,OACzB;AAAA,KACF;AAAA,EACC,YAAY,4CAAC,2BAAU;AAAA,EACvB,YAAY,4CAAC,sBAAM,UAAS;AAAA,GAC/B;AAGF,MAAM,yBAAyB;AAAA,EAC7B,UAAU,kCAAU,QAAQ,YAAY,gBAAgB;AAAA,EACxD,OAAO,kCAAU,OAAO,YAAY,cAAc,EAAE;AAAA,EACpD,YAAY,kCAAU,OAAO,YAAY,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtD,OAAO,kCAAU,QAAQ,YAAY,OAAO;AAC9C;AAEA,kBAAkB,YAAY;AAC9B,kBAAkB,cAAc;AAChC,MAAM,kCAA8B,kCAAS,iBAAiB;AAC9D,4BAA4B,YAAY;AAGxC,IAAO,4BAAQ;",
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("./ListSectionHeader"), module.exports);
33
- var import_ListSectionHeader = __toESM(require("./ListSectionHeader"));
36
+ __reExport(src_exports, require("./ListSectionHeader.js"), module.exports);
37
+ var import_ListSectionHeader = __toESM(require("./ListSectionHeader.js"));
34
38
  //# sourceMappingURL=index.js.map
@@ -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 './ListSectionHeader';\nexport { default } from './ListSectionHeader';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,gCAAd;AACA,+BAAwB;",
4
+ "sourcesContent": ["export * from './ListSectionHeader.js';\nexport { default } from './ListSectionHeader.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,mCAAd;AACA,+BAAwB;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "type": "commonjs",
3
+ "sideEffects": [
4
+ "*.css",
5
+ "*.scss"
6
+ ]
7
+ }
@@ -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
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/styled.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { Grid } from '@elliemae/ds-grid';\n\nexport const Container = styled(Grid)`\n background: ${(props) => props.theme.colors.neutral['080']};\n`;\n\nexport const Body = styled(Grid)`\n transition: height 0.2s;\n padding-left: 24px;\n padding-right: 24px;\n padding-bottom: ${(props) => props.theme.space.xs};\n padding-top: ${(props) => props.theme.space.xxs};\n`;\n\nexport const Header = styled(Grid)`\n padding-left: 24px;\n padding-right: 24px;\n min-height: 28px;\n padding-top: ${(props) => props.theme.space.xxxs};\n padding-bottom: ${(props) => props.theme.space.xxxs};\n align-items: center;\n`;\n\nexport const Separator = styled(Grid)`\n margin-left: 24px;\n margin-right: 24px;\n height: 1px;\n background: ${(props) => props.theme.colors.neutral['200']};\n`;\n\nexport const Title = styled(Grid)`\n margin-right: 24px;\n font-size: 16px;\n font-weight: ${(props) => props.theme.fontWeights[600]};\n align-items: center;\n font-weight: 600;\n`;\n\nexport const Addon = styled(Grid)`\n font-size: 13px;\n align-items: center;\n .em-ds-form-element-checkbox {\n padding-bottom: 0;\n }\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAqB;AAEd,MAAM,gBAAY,yBAAO,mBAAI;AAAA,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AA;AAAA,gBAIpB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAGpD,MAAM,YAAQ,yBAAO,mBAAI;AAAA;AAAA;AAAA,iBAGf,CAAC,UAAU,MAAM,MAAM,YAAY,GAAG;AAAA;AAAA;AAAA;AAKhD,MAAM,YAAQ,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { PropTypes, describe } from "@elliemae/ds-props-helpers";
4
- import { Container, Header, Title, Addon, Body, Separator } from "./styled";
4
+ import { Container, Header, Title, Addon, Body, Separator } from "./styled.js";
5
5
  const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) => /* @__PURE__ */ jsxs(Container, { children: [
6
6
  /* @__PURE__ */ jsxs(Header, { cols: [1, "auto"], children: [
7
7
  /* @__PURE__ */ jsx(Title, { children: /* @__PURE__ */ jsx("span", { children: title }) }),
@@ -17,6 +17,10 @@ const listSectionHeaderProps = {
17
17
  children: PropTypes.element.description("Header content"),
18
18
  title: PropTypes.string.description("Header title").isRequired,
19
19
  addonLabel: PropTypes.string.description("addon label"),
20
+ /**
21
+ * Button (size="s" buttonType="text" + icon)
22
+ * or Checkbox
23
+ */
20
24
  addon: PropTypes.element.description("addon")
21
25
  };
22
26
  ListSectionHeader.propTypes = listSectionHeaderProps;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/ListSectionHeader.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { Container, Header, Title, Addon, Body, Separator } from './styled';\n\nconst ListSectionHeader = ({ title = '', addon, addonLabel = '', children }) => (\n <Container>\n <Header cols={[1, 'auto']}>\n <Title>\n <span>{title}</span>\n </Title>\n <Addon cols={['auto', 'auto']} gutter=\"xxxs\">\n {addonLabel && <span>{addonLabel}</span>}\n {addon && <span>{addon}</span>}\n </Addon>\n </Header>\n {children && <Separator />}\n {children && <Body>{children}</Body>}\n </Container>\n);\n\nconst listSectionHeaderProps = {\n children: PropTypes.element.description('Header content'),\n title: PropTypes.string.description('Header title').isRequired,\n addonLabel: PropTypes.string.description('addon label'),\n /**\n * Button (size=\"s\" buttonType=\"text\" + icon)\n * or Checkbox\n */\n addon: PropTypes.element.description('addon'),\n};\n\nListSectionHeader.propTypes = listSectionHeaderProps;\nListSectionHeader.displayName = 'ListSectionHeader';\nconst ListSectionHeaderWithSchema = describe(ListSectionHeader);\nListSectionHeaderWithSchema.propTypes = listSectionHeaderProps;\n\nexport { ListSectionHeader, ListSectionHeaderWithSchema };\nexport default ListSectionHeader;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACQf,cAEF,YAFE;AAPR,SAAS,WAAW,gBAAgB;AACpC,SAAS,WAAW,QAAQ,OAAO,OAAO,MAAM,iBAAiB;AAEjE,MAAM,oBAAoB,CAAC,EAAE,QAAQ,IAAI,OAAO,aAAa,IAAI,SAAS,MACxE,qBAAC,aACC;AAAA,uBAAC,UAAO,MAAM,CAAC,GAAG,MAAM,GACtB;AAAA,wBAAC,SACC,8BAAC,UAAM,iBAAM,GACf;AAAA,IACA,qBAAC,SAAM,MAAM,CAAC,QAAQ,MAAM,GAAG,QAAO,QACnC;AAAA,oBAAc,oBAAC,UAAM,sBAAW;AAAA,MAChC,SAAS,oBAAC,UAAM,iBAAM;AAAA,OACzB;AAAA,KACF;AAAA,EACC,YAAY,oBAAC,aAAU;AAAA,EACvB,YAAY,oBAAC,QAAM,UAAS;AAAA,GAC/B;AAGF,MAAM,yBAAyB;AAAA,EAC7B,UAAU,UAAU,QAAQ,YAAY,gBAAgB;AAAA,EACxD,OAAO,UAAU,OAAO,YAAY,cAAc,EAAE;AAAA,EACpD,YAAY,UAAU,OAAO,YAAY,aAAa;AAAA,EAKtD,OAAO,UAAU,QAAQ,YAAY,OAAO;AAC9C;AAEA,kBAAkB,YAAY;AAC9B,kBAAkB,cAAc;AAChC,MAAM,8BAA8B,SAAS,iBAAiB;AAC9D,4BAA4B,YAAY;AAGxC,IAAO,4BAAQ;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { Container, Header, Title, Addon, Body, Separator } from './styled.js';\n\nconst ListSectionHeader = ({ title = '', addon, addonLabel = '', children }) => (\n <Container>\n <Header cols={[1, 'auto']}>\n <Title>\n <span>{title}</span>\n </Title>\n <Addon cols={['auto', 'auto']} gutter=\"xxxs\">\n {addonLabel && <span>{addonLabel}</span>}\n {addon && <span>{addon}</span>}\n </Addon>\n </Header>\n {children && <Separator />}\n {children && <Body>{children}</Body>}\n </Container>\n);\n\nconst listSectionHeaderProps = {\n children: PropTypes.element.description('Header content'),\n title: PropTypes.string.description('Header title').isRequired,\n addonLabel: PropTypes.string.description('addon label'),\n /**\n * Button (size=\"s\" buttonType=\"text\" + icon)\n * or Checkbox\n */\n addon: PropTypes.element.description('addon'),\n};\n\nListSectionHeader.propTypes = listSectionHeaderProps;\nListSectionHeader.displayName = 'ListSectionHeader';\nconst ListSectionHeaderWithSchema = describe(ListSectionHeader);\nListSectionHeaderWithSchema.propTypes = listSectionHeaderProps;\n\nexport { ListSectionHeader, ListSectionHeaderWithSchema };\nexport default ListSectionHeader;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACQf,cAEF,YAFE;AAPR,SAAS,WAAW,gBAAgB;AACpC,SAAS,WAAW,QAAQ,OAAO,OAAO,MAAM,iBAAiB;AAEjE,MAAM,oBAAoB,CAAC,EAAE,QAAQ,IAAI,OAAO,aAAa,IAAI,SAAS,MACxE,qBAAC,aACC;AAAA,uBAAC,UAAO,MAAM,CAAC,GAAG,MAAM,GACtB;AAAA,wBAAC,SACC,8BAAC,UAAM,iBAAM,GACf;AAAA,IACA,qBAAC,SAAM,MAAM,CAAC,QAAQ,MAAM,GAAG,QAAO,QACnC;AAAA,oBAAc,oBAAC,UAAM,sBAAW;AAAA,MAChC,SAAS,oBAAC,UAAM,iBAAM;AAAA,OACzB;AAAA,KACF;AAAA,EACC,YAAY,oBAAC,aAAU;AAAA,EACvB,YAAY,oBAAC,QAAM,UAAS;AAAA,GAC/B;AAGF,MAAM,yBAAyB;AAAA,EAC7B,UAAU,UAAU,QAAQ,YAAY,gBAAgB;AAAA,EACxD,OAAO,UAAU,OAAO,YAAY,cAAc,EAAE;AAAA,EACpD,YAAY,UAAU,OAAO,YAAY,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtD,OAAO,UAAU,QAAQ,YAAY,OAAO;AAC9C;AAEA,kBAAkB,YAAY;AAC9B,kBAAkB,cAAc;AAChC,MAAM,8BAA8B,SAAS,iBAAiB;AAC9D,4BAA4B,YAAY;AAGxC,IAAO,4BAAQ;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- export * from "./ListSectionHeader";
3
- import { default as default2 } from "./ListSectionHeader";
2
+ export * from "./ListSectionHeader.js";
3
+ import { default as default2 } from "./ListSectionHeader.js";
4
4
  export {
5
5
  default2 as default
6
6
  };
@@ -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 './ListSectionHeader';\nexport { default } from './ListSectionHeader';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './ListSectionHeader.js';\nexport { default } from './ListSectionHeader.js';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,SAAS,WAAAA,gBAAe;",
6
6
  "names": ["default"]
7
7
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": [
4
+ "*.css",
5
+ "*.scss"
6
+ ]
7
+ }
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styled.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled } from '@elliemae/ds-system';\nimport { Grid } from '@elliemae/ds-grid';\n\nexport const Container = styled(Grid)`\n background: ${(props) => props.theme.colors.neutral['080']};\n`;\n\nexport const Body = styled(Grid)`\n transition: height 0.2s;\n padding-left: 24px;\n padding-right: 24px;\n padding-bottom: ${(props) => props.theme.space.xs};\n padding-top: ${(props) => props.theme.space.xxs};\n`;\n\nexport const Header = styled(Grid)`\n padding-left: 24px;\n padding-right: 24px;\n min-height: 28px;\n padding-top: ${(props) => props.theme.space.xxxs};\n padding-bottom: ${(props) => props.theme.space.xxxs};\n align-items: center;\n`;\n\nexport const Separator = styled(Grid)`\n margin-left: 24px;\n margin-right: 24px;\n height: 1px;\n background: ${(props) => props.theme.colors.neutral['200']};\n`;\n\nexport const Title = styled(Grid)`\n margin-right: 24px;\n font-size: 16px;\n font-weight: ${(props) => props.theme.fontWeights[600]};\n align-items: center;\n font-weight: 600;\n`;\n\nexport const Addon = styled(Grid)`\n font-size: 13px;\n align-items: center;\n .em-ds-form-element-checkbox {\n padding-bottom: 0;\n }\n`;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAAY;AAEd,MAAM,YAAY,OAAO,IAAI;AAAA,gBACpB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAG/C,MAAM,OAAO,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA,oBAIX,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,iBAChC,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAGvC,MAAM,SAAS,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA,iBAIhB,CAAC,UAAU,MAAM,MAAM,M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7,18 @@ declare const ListSectionHeader: {
6
7
  children: any;
7
8
  }): JSX.Element;
8
9
  propTypes: {
9
- children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
10
- title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
11
- addonLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
10
+ children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
11
+ title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
12
+ addonLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
12
13
  /**
13
14
  * Button (size="s" buttonType="text" + icon)
14
15
  * or Checkbox
15
16
  */
16
- addon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
17
+ addon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
17
18
  };
18
19
  displayName: string;
19
20
  };
20
- declare const ListSectionHeaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
21
+ declare const ListSectionHeaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
21
22
  title?: string | undefined;
22
23
  addon: any;
23
24
  addonLabel?: string | undefined;
@@ -1,2 +1,2 @@
1
- export * from './ListSectionHeader';
2
- export { default } from './ListSectionHeader';
1
+ export * from './ListSectionHeader.js';
2
+ export { default } from './ListSectionHeader.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-list-section-header",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - List Section Header",
6
6
  "files": [
@@ -43,13 +43,13 @@
43
43
  "indent": 4
44
44
  },
45
45
  "dependencies": {
46
- "@elliemae/ds-grid": "3.16.0",
47
- "@elliemae/ds-props-helpers": "3.16.0",
48
- "@elliemae/ds-system": "3.16.0",
49
- "@elliemae/ds-utilities": "3.16.0"
46
+ "@elliemae/ds-grid": "3.16.1",
47
+ "@elliemae/ds-props-helpers": "3.16.1",
48
+ "@elliemae/ds-system": "3.16.1",
49
+ "@elliemae/ds-utilities": "3.16.1"
50
50
  },
51
51
  "devDependencies": {
52
- "styled-components": "~5.3.6"
52
+ "styled-components": "~5.3.9"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": "^17.0.2",