@elliemae/ds-list-section-header 3.22.0-next.26 → 3.22.0-next.28
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/ListSectionHeader.tsx", "
|
|
3
|
+
"sources": ["../../src/ListSectionHeader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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
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": []
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.tsx", "
|
|
3
|
+
"sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
4
|
"sourcesContent": ["export * from './ListSectionHeader.js';\nexport { default } from './ListSectionHeader.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,mCAAd;AACA,+BAAwB;",
|
|
6
6
|
"names": []
|
package/dist/cjs/styled.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/styled.tsx", "
|
|
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
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAqB;AAEd,MAAM,gBAAY,yBAAO,mBAAI;AAAA,gBACpB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAGpD,MAAM,WAAO,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA,oBAIX,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,iBAChC,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAGvC,MAAM,aAAS,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA,iBAIhB,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA,oBAC1B,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA;AAI1C,MAAM,gBAAY,yBAAO,mBAAI;AAAA;AAAA;AAAA;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": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
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-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;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": []
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
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"]
|
package/dist/esm/styled.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
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
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAAY;AAEd,MAAM,YAAY,OAAO,IAAI;AAAA,gBACpB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAGpD,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,MAAM;AAAA,oBAC1B,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA;AAI1C,MAAM,YAAY,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA,gBAIpB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAGpD,MAAM,QAAQ,OAAO,IAAI;AAAA;AAAA;AAAA,iBAGf,CAAC,UAAU,MAAM,MAAM,YAAY,GAAG;AAAA;AAAA;AAAA;AAKhD,MAAM,QAAQ,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-list-section-header",
|
|
3
|
-
"version": "3.22.0-next.
|
|
3
|
+
"version": "3.22.0-next.28",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - List Section Header",
|
|
6
6
|
"files": [
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"indent": 4
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@elliemae/ds-grid": "3.22.0-next.
|
|
47
|
-
"@elliemae/ds-props-helpers": "3.22.0-next.
|
|
48
|
-
"@elliemae/ds-system": "3.22.0-next.
|
|
46
|
+
"@elliemae/ds-grid": "3.22.0-next.28",
|
|
47
|
+
"@elliemae/ds-props-helpers": "3.22.0-next.28",
|
|
48
|
+
"@elliemae/ds-system": "3.22.0-next.28"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@elliemae/pui-cli": "~9.0.0-next.22",
|
|
52
52
|
"styled-components": "~5.3.9",
|
|
53
|
-
"@elliemae/ds-monorepo-devops": "3.22.0-next.
|
|
53
|
+
"@elliemae/ds-monorepo-devops": "3.22.0-next.28"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^17.0.2",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"typeSafety": false
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
|
-
"dev": "cross-env NODE_ENV=development node
|
|
65
|
+
"dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
|
|
66
66
|
"test": "pui-cli test --passWithNoTests",
|
|
67
|
-
"lint": "node
|
|
68
|
-
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='
|
|
69
|
-
"dts": "node
|
|
70
|
-
"build": "cross-env NODE_ENV=production node
|
|
67
|
+
"lint": "node ../../../scripts/lint.mjs",
|
|
68
|
+
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
|
|
69
|
+
"dts": "node ../../../scripts/dts.mjs",
|
|
70
|
+
"build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
|
|
71
71
|
"dev:build": "pnpm --filter {.}... build",
|
|
72
72
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
73
73
|
"checkDeps": "npm exec ../ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|