@elliemae/ds-list-section-header 3.11.1-rc.0 → 3.12.0-next.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.
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ListSectionHeader.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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;
|
|
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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/ListSectionHeader.tsx"],
|
|
4
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;
|
|
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;",
|
|
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.
|
|
3
|
+
"version": "3.12.0-next.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.
|
|
47
|
-
"@elliemae/ds-system": "3.
|
|
48
|
-
"@elliemae/ds-utilities": "3.
|
|
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"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"styled-components": "~5.3.3"
|
|
@@ -63,8 +63,11 @@
|
|
|
63
63
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
64
64
|
"test": "node ../../scripts/testing/test.mjs",
|
|
65
65
|
"lint": "node ../../scripts/lint.mjs",
|
|
66
|
+
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
66
67
|
"dts": "node ../../scripts/dts.mjs",
|
|
67
68
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
69
|
+
"dev:build": "pnpm --filter {.}... build && pnpm --filter {.}... dts",
|
|
70
|
+
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
68
71
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
69
72
|
}
|
|
70
73
|
}
|