@elliemae/ds-list-section-header 3.12.0-next.0 → 3.12.0-rc.0

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.
@@ -33,12 +33,7 @@ var React = __toESM(require("react"));
33
33
  var import_jsx_runtime = require("react/jsx-runtime");
34
34
  var import_ds_utilities = require("@elliemae/ds-utilities");
35
35
  var import_styled = require("./styled");
36
- const ListSectionHeader = ({
37
- title = "",
38
- addon,
39
- addonLabel = "",
40
- children
41
- }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Container, {
36
+ const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Container, {
42
37
  children: [
43
38
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.Header, {
44
39
  cols: [1, "auto"],
@@ -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 = ({\n title = '',\n addon,\n addonLabel = '',\n children,\n}) => (\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;ADaf;AAZR,0BAAoC;AACpC,oBAAiE;AAEjE,MAAM,oBAAoB,CAAC;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb;AACF,MACE,6CAAC;AAAA,EACC;AAAA,iDAAC;AAAA,MAAO,MAAM,CAAC,GAAG,MAAM;AAAA,MACtB;AAAA,oDAAC;AAAA,UACC,sDAAC;AAAA,YAAM;AAAA,WAAM;AAAA,SACf;AAAA,QACA,6CAAC;AAAA,UAAM,MAAM,CAAC,QAAQ,MAAM;AAAA,UAAG,QAAO;AAAA,UACnC;AAAA,0BAAc,4CAAC;AAAA,cAAM;AAAA,aAAW;AAAA,YAChC,SAAS,4CAAC;AAAA,cAAM;AAAA,aAAM;AAAA;AAAA,SACzB;AAAA;AAAA,KACF;AAAA,IACC,YAAY,4CAAC,2BAAU;AAAA,IACvB,YAAY,4CAAC;AAAA,MAAM;AAAA,KAAS;AAAA;AAAA,CAC/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-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;AAAA,EACC;AAAA,iDAAC;AAAA,MAAO,MAAM,CAAC,GAAG,MAAM;AAAA,MACtB;AAAA,oDAAC;AAAA,UACC,sDAAC;AAAA,YAAM;AAAA,WAAM;AAAA,SACf;AAAA,QACA,6CAAC;AAAA,UAAM,MAAM,CAAC,QAAQ,MAAM;AAAA,UAAG,QAAO;AAAA,UACnC;AAAA,0BAAc,4CAAC;AAAA,cAAM;AAAA,aAAW;AAAA,YAChC,SAAS,4CAAC;AAAA,cAAM;AAAA,aAAM;AAAA;AAAA,SACzB;AAAA;AAAA,KACF;AAAA,IACC,YAAY,4CAAC,2BAAU;AAAA,IACvB,YAAY,4CAAC;AAAA,MAAM;AAAA,KAAS;AAAA;AAAA,CAC/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;",
6
6
  "names": []
7
7
  }
@@ -2,12 +2,7 @@ import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { PropTypes, describe } from "@elliemae/ds-utilities";
4
4
  import { Container, Header, Title, Addon, Body, Separator } from "./styled";
5
- const ListSectionHeader = ({
6
- title = "",
7
- addon,
8
- addonLabel = "",
9
- children
10
- }) => /* @__PURE__ */ jsxs(Container, {
5
+ const ListSectionHeader = ({ title = "", addon, addonLabel = "", children }) => /* @__PURE__ */ jsxs(Container, {
11
6
  children: [
12
7
  /* @__PURE__ */ jsxs(Header, {
13
8
  cols: [1, "auto"],
@@ -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 = ({\n title = '',\n addon,\n addonLabel = '',\n children,\n}) => (\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;ACaf,cAEF,YAFE;AAZR,SAAS,WAAW,gBAAgB;AACpC,SAAS,WAAW,QAAQ,OAAO,OAAO,MAAM,iBAAiB;AAEjE,MAAM,oBAAoB,CAAC;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb;AACF,MACE,qBAAC;AAAA,EACC;AAAA,yBAAC;AAAA,MAAO,MAAM,CAAC,GAAG,MAAM;AAAA,MACtB;AAAA,4BAAC;AAAA,UACC,8BAAC;AAAA,YAAM;AAAA,WAAM;AAAA,SACf;AAAA,QACA,qBAAC;AAAA,UAAM,MAAM,CAAC,QAAQ,MAAM;AAAA,UAAG,QAAO;AAAA,UACnC;AAAA,0BAAc,oBAAC;AAAA,cAAM;AAAA,aAAW;AAAA,YAChC,SAAS,oBAAC;AAAA,cAAM;AAAA,aAAM;AAAA;AAAA,SACzB;AAAA;AAAA,KACF;AAAA,IACC,YAAY,oBAAC,aAAU;AAAA,IACvB,YAAY,oBAAC;AAAA,MAAM;AAAA,KAAS;AAAA;AAAA,CAC/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-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"],
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;AAAA,EACC;AAAA,yBAAC;AAAA,MAAO,MAAM,CAAC,GAAG,MAAM;AAAA,MACtB;AAAA,4BAAC;AAAA,UACC,8BAAC;AAAA,YAAM;AAAA,WAAM;AAAA,SACf;AAAA,QACA,qBAAC;AAAA,UAAM,MAAM,CAAC,QAAQ,MAAM;AAAA,UAAG,QAAO;AAAA,UACnC;AAAA,0BAAc,oBAAC;AAAA,cAAM;AAAA,aAAW;AAAA,YAChC,SAAS,oBAAC;AAAA,cAAM;AAAA,aAAM;AAAA;AAAA,SACzB;AAAA;AAAA,KACF;AAAA,IACC,YAAY,oBAAC,aAAU;AAAA,IACvB,YAAY,oBAAC;AAAA,MAAM;AAAA,KAAS;AAAA;AAAA,CAC/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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-list-section-header",
3
- "version": "3.12.0-next.0",
3
+ "version": "3.12.0-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - List Section Header",
6
6
  "files": [
@@ -43,9 +43,9 @@
43
43
  "indent": 4
44
44
  },
45
45
  "dependencies": {
46
- "@elliemae/ds-grid": "3.12.0-next.0",
47
- "@elliemae/ds-system": "3.12.0-next.0",
48
- "@elliemae/ds-utilities": "3.12.0-next.0"
46
+ "@elliemae/ds-grid": "3.12.0-rc.0",
47
+ "@elliemae/ds-system": "3.12.0-rc.0",
48
+ "@elliemae/ds-utilities": "3.12.0-rc.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "styled-components": "~5.3.3"