@elliemae/ds-list-section-header 3.3.0-rc.5 → 3.3.1-rc.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.
|
@@ -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": "
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AAEA,MAAM,oBAAoB,CAAC;AAAA,EACzB,QAAQ;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb;AAAA,MAEA,qCAAC,iBACC,qCAAC;AAAA,EAAO,MAAM,CAAC,GAAG,MAAM;AAAA,GACtB,qCAAC,aACC,qCAAC,cAAM,KAAM,CACf,GACA,qCAAC;AAAA,EAAM,MAAM,CAAC,QAAQ,MAAM;AAAA,EAAG,QAAO;AAAA,GACnC,cAAc,qCAAC,cAAM,UAAW,GAChC,SAAS,qCAAC,cAAM,KAAM,CACzB,CACF,GACC,YAAY,qCAAC,eAAU,GACvB,YAAY,qCAAC,YAAM,QAAS,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/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
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';\nexport { default } from './ListSectionHeader';\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/styled.js
CHANGED
package/dist/esm/styled.js.map
CHANGED
|
@@ -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": "
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAEO,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,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;AAAA;AAG/C,MAAM,QAAQ,OAAO,IAAI;AAAA;AAAA;AAAA,iBAGf,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA;AAAA;AAAA;AAK7C,MAAM,QAAQ,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
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.
|
|
3
|
+
"version": "3.3.1-rc.1",
|
|
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.3.
|
|
47
|
-
"@elliemae/ds-system": "3.3.
|
|
48
|
-
"@elliemae/ds-utilities": "3.3.
|
|
46
|
+
"@elliemae/ds-grid": "3.3.1-rc.1",
|
|
47
|
+
"@elliemae/ds-system": "3.3.1-rc.1",
|
|
48
|
+
"@elliemae/ds-utilities": "3.3.1-rc.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"styled-components": "~5.3.3"
|