@elliemae/ds-list-section-header 3.15.0 → 3.16.0-next.10

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.
@@ -31,8 +31,8 @@ __export(ListSectionHeader_exports, {
31
31
  module.exports = __toCommonJS(ListSectionHeader_exports);
32
32
  var React = __toESM(require("react"));
33
33
  var import_jsx_runtime = require("react/jsx-runtime");
34
- var import_ds_utilities = require("@elliemae/ds-utilities");
35
- var import_styled = require("./styled");
34
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
35
+ var import_styled = require("./styled.js");
36
36
  const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Container, { children: [
37
37
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Header, { cols: [1, "auto"], children: [
38
38
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.Title, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: title }) }),
@@ -45,14 +45,14 @@ const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) =>
45
45
  children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.Body, { children })
46
46
  ] });
47
47
  const listSectionHeaderProps = {
48
- children: import_ds_utilities.PropTypes.element.description("Header content"),
49
- title: import_ds_utilities.PropTypes.string.description("Header title").isRequired,
50
- addonLabel: import_ds_utilities.PropTypes.string.description("addon label"),
51
- addon: import_ds_utilities.PropTypes.element.description("addon")
48
+ children: import_ds_props_helpers.PropTypes.element.description("Header content"),
49
+ title: import_ds_props_helpers.PropTypes.string.description("Header title").isRequired,
50
+ addonLabel: import_ds_props_helpers.PropTypes.string.description("addon label"),
51
+ addon: import_ds_props_helpers.PropTypes.element.description("addon")
52
52
  };
53
53
  ListSectionHeader.propTypes = listSectionHeaderProps;
54
54
  ListSectionHeader.displayName = "ListSectionHeader";
55
- const ListSectionHeaderWithSchema = (0, import_ds_utilities.describe)(ListSectionHeader);
55
+ const ListSectionHeaderWithSchema = (0, import_ds_props_helpers.describe)(ListSectionHeader);
56
56
  ListSectionHeaderWithSchema.propTypes = listSectionHeaderProps;
57
57
  var ListSectionHeader_default = ListSectionHeader;
58
58
  //# sourceMappingURL=ListSectionHeader.js.map
@@ -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-utilities';\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,0BAAoC;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,8BAAU,QAAQ,YAAY,gBAAgB;AAAA,EACxD,OAAO,8BAAU,OAAO,YAAY,cAAc,EAAE;AAAA,EACpD,YAAY,8BAAU,OAAO,YAAY,aAAa;AAAA,EAKtD,OAAO,8BAAU,QAAQ,YAAY,OAAO;AAC9C;AAEA,kBAAkB,YAAY;AAC9B,kBAAkB,cAAc;AAChC,MAAM,kCAA8B,8BAAS,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,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
@@ -29,6 +29,6 @@ __export(src_exports, {
29
29
  });
30
30
  module.exports = __toCommonJS(src_exports);
31
31
  var React = __toESM(require("react"));
32
- __reExport(src_exports, require("./ListSectionHeader"), module.exports);
33
- var import_ListSectionHeader = __toESM(require("./ListSectionHeader"));
32
+ __reExport(src_exports, require("./ListSectionHeader.js"), module.exports);
33
+ var import_ListSectionHeader = __toESM(require("./ListSectionHeader.js"));
34
34
  //# 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
+ }
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { PropTypes, describe } from "@elliemae/ds-utilities";
4
- import { Container, Header, Title, Addon, Body, Separator } from "./styled";
3
+ import { PropTypes, describe } from "@elliemae/ds-props-helpers";
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 }) }),
@@ -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-utilities';\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"],
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
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;",
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
+ }
@@ -6,18 +6,18 @@ declare const ListSectionHeader: {
6
6
  children: any;
7
7
  }): JSX.Element;
8
8
  propTypes: {
9
- children: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
10
- title: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
11
- addonLabel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
9
+ children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
10
+ title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
11
+ addonLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
12
12
  /**
13
13
  * Button (size="s" buttonType="text" + icon)
14
14
  * or Checkbox
15
15
  */
16
- addon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
16
+ addon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
17
17
  };
18
18
  displayName: string;
19
19
  };
20
- declare const ListSectionHeaderWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
20
+ declare const ListSectionHeaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
21
21
  title?: string | undefined;
22
22
  addon: any;
23
23
  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.15.0",
3
+ "version": "3.16.0-next.10",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - List Section Header",
6
6
  "files": [
@@ -43,9 +43,10 @@
43
43
  "indent": 4
44
44
  },
45
45
  "dependencies": {
46
- "@elliemae/ds-grid": "3.15.0",
47
- "@elliemae/ds-system": "3.15.0",
48
- "@elliemae/ds-utilities": "3.15.0"
46
+ "@elliemae/ds-grid": "3.16.0-next.10",
47
+ "@elliemae/ds-props-helpers": "3.16.0-next.10",
48
+ "@elliemae/ds-system": "3.16.0-next.10",
49
+ "@elliemae/ds-utilities": "3.16.0-next.10"
49
50
  },
50
51
  "devDependencies": {
51
52
  "styled-components": "~5.3.6"
@@ -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 && pnpm --filter {.}... dts",
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
  }