@elliemae/ds-card 3.16.0-next.2 → 3.16.0-next.20
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.
- package/dist/cjs/DSCard.js +20 -9
- package/dist/cjs/DSCard.js.map +2 -2
- package/dist/cjs/DSCardBody.js +8 -3
- package/dist/cjs/DSCardBody.js.map +2 -2
- package/dist/cjs/DSCardHeader.js +10 -4
- package/dist/cjs/DSCardHeader.js.map +2 -2
- package/dist/cjs/detail/DetailCard.js +70 -18
- package/dist/cjs/detail/DetailCard.js.map +2 -2
- package/dist/cjs/detail/styled.js +4 -0
- package/dist/cjs/detail/styled.js.map +1 -1
- package/dist/cjs/index.js +12 -8
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/v2/ActionAddon.js +19 -6
- package/dist/cjs/v2/ActionAddon.js.map +2 -2
- package/dist/cjs/v2/Card.js +28 -8
- package/dist/cjs/v2/Card.js.map +2 -2
- package/dist/cjs/v2/Group.js +19 -6
- package/dist/cjs/v2/Group.js.map +2 -2
- package/dist/cjs/v2/components.js +4 -0
- package/dist/cjs/v2/components.js.map +1 -1
- package/dist/esm/DSCard.js +10 -3
- package/dist/esm/DSCard.js.map +2 -2
- package/dist/esm/DSCardBody.js +2 -1
- package/dist/esm/DSCardBody.js.map +2 -2
- package/dist/esm/DSCardHeader.js +3 -1
- package/dist/esm/DSCardHeader.js.map +2 -2
- package/dist/esm/detail/DetailCard.js +50 -2
- package/dist/esm/detail/DetailCard.js.map +2 -2
- package/dist/esm/detail/styled.js.map +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/esm/v2/ActionAddon.js +10 -1
- package/dist/esm/v2/ActionAddon.js.map +2 -2
- package/dist/esm/v2/Card.js +18 -2
- package/dist/esm/v2/Card.js.map +2 -2
- package/dist/esm/v2/Group.js +11 -2
- package/dist/esm/v2/Group.js.map +2 -2
- package/dist/esm/v2/components.js.map +1 -1
- package/dist/types/DSCard.d.ts +4 -4
- package/dist/types/DSCardBody.d.ts +2 -2
- package/dist/types/DSCardHeader.d.ts +3 -3
- package/dist/types/detail/DetailCard.d.ts +16 -16
- package/dist/types/index.d.ts +8 -8
- package/dist/types/v2/ActionAddon.d.ts +5 -5
- package/dist/types/v2/Card.d.ts +6 -6
- package/dist/types/v2/Group.d.ts +4 -4
- package/package.json +15 -14
package/dist/esm/v2/Group.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/v2/Group.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACwCjB,SACE,KADF;AAvCN,SAAS,WAAW,gBAAgB;AACpC,SAAS,OAAO,QAAQ,UAAU,cAAc;AAChD,OAAO,UAAU;AAEjB,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKjB;AAAA;AAAA;AAAA,IAGA,CAAC,EAAE,OAAO,cAAc,MAAO,gBAAgB,eAAe,MAAM,OAAO,QAAQ,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { color, border, truncate, styled } from '@elliemae/ds-system';\nimport Card from './Card.js';\n\nconst Group = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n max-width: 100%;\n ${Card} {\n border-top: none;\n }\n ${({ theme, withTopBorder }) => (withTopBorder ? `border-top: ${theme.colors.neutral['100']}` : '')}\n`;\n\nconst GroupTitle = styled.span`\n ${truncate()}\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n padding: 0 ${(props) => props.theme.space.xs};\n font-size: 12px;\n ${color('neutral', '700')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n background-color: ${(props) => props.theme.colors.neutral['080']};\n border-top: ${(props) => border(props.theme.colors.neutral['080'])};\n line-height: 24px;\n`;\n\nconst Items = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst CardGroup = ({ children, title, action }) => (\n <Group withTopBorder={!title}>\n {!!title && (\n <TitleWrapper>\n <GroupTitle>{title}</GroupTitle>\n {action}\n </TitleWrapper>\n )}\n <Items>{children}</Items>\n </Group>\n);\n\nconst cardgroupProps = {\n /**\n * Card items\n */\n children: PropTypes.element.isRequired.description('Card items'),\n /**\n * Title of the group\n */\n title: PropTypes.string.isRequired.description('Title of the group'),\n /**\n * Right addon action\n */\n action: PropTypes.element.description('Right addon action'),\n};\n\nCardGroup.propTypes = cardgroupProps;\nCardGroup.displayName = 'CardGroup';\nconst DSCardGroupWithSchema = describe(CardGroup);\nDSCardGroupWithSchema.propTypes = cardgroupProps;\n\nexport { CardGroup, DSCardGroupWithSchema };\nexport default CardGroup;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACwCjB,SACE,KADF;AAvCN,SAAS,WAAW,gBAAgB;AACpC,SAAS,OAAO,QAAQ,UAAU,cAAc;AAChD,OAAO,UAAU;AAEjB,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKjB;AAAA;AAAA;AAAA,IAGA,CAAC,EAAE,OAAO,cAAc,MAAO,gBAAgB,eAAe,MAAM,OAAO,QAAQ,KAAK,MAAM;AAAA;AAGlG,MAAM,aAAa,OAAO;AAAA,IACtB,SAAS;AAAA;AAGb,MAAM,eAAe,OAAO;AAAA;AAAA;AAAA,eAGb,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA,IAExC,MAAM,WAAW,KAAK;AAAA,iBACT,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,sBAC9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA,gBACjD,CAAC,UAAU,OAAO,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAInE,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA;AAKrB,MAAM,YAAY,CAAC,EAAE,UAAU,OAAO,OAAO,MAC3C,qBAAC,SAAM,eAAe,CAAC,OACpB;AAAA,GAAC,CAAC,SACD,qBAAC,gBACC;AAAA,wBAAC,cAAY,iBAAM;AAAA,IAClB;AAAA,KACH;AAAA,EAEF,oBAAC,SAAO,UAAS;AAAA,GACnB;AAGF,MAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIrB,UAAU,UAAU,QAAQ,WAAW,YAAY,YAAY;AAAA;AAAA;AAAA;AAAA,EAI/D,OAAO,UAAU,OAAO,WAAW,YAAY,oBAAoB;AAAA;AAAA;AAAA;AAAA,EAInE,QAAQ,UAAU,QAAQ,YAAY,oBAAoB;AAC5D;AAEA,UAAU,YAAY;AACtB,UAAU,cAAc;AACxB,MAAM,wBAAwB,SAAS,SAAS;AAChD,sBAAsB,YAAY;AAGlC,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/v2/components.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\nconst CardContainer = styled(Grid)`\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 56px;\n padding: 8px 16px;\n position: relative;\n border: ${({ theme, hasBorder }) => (hasBorder ? `1px solid ${theme.colors.neutral['100']}` : '')};\n &:before {\n content: '';\n border-bottom: 1px solid ${(props) => props.theme.colors.neutral['100']};\n position: absolute;\n margin: 0 auto;\n width: 90%;\n bottom: 0;\n }\n &:last-child::before {\n content: none;\n }\n`;\n\nconst LeftSection = styled.div`\n display: flex;\n align-items: center;\n`;\n\nconst LeftAddon = styled.div`\n height: fit-content;\n width: fit-content;\n margin-right: 16px;\n cursor: pointer;\n`;\n\nconst RightAddonSection = styled.div`\n display: flex;\n align-items: center;\n width: fit-content;\n`;\n\nconst RightAddon = styled.div`\n height: fit-content;\n width: fit-content;\n cursor: pointer;\n`;\n\nconst Separator = styled.div`\n width: 0px;\n height: 24px;\n border-right: 1px solid ${(props) => props.theme.colors.neutral['300']};\n margin: 0 8px;\n`;\n\nconst MainSection = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst Title = styled.h3`\n margin: 0;\n font-size: 16px;\n font-weight: ${(props) => props.theme.fontWeights.regular};\n color: ${(props) => props.theme.colors.neutral['800']};\n`;\n\nconst Description = styled.p`\n margin: 0;\n color: ${(props) => props.theme.colors.neutral['600']};\n`;\n\nexport {\n CardContainer,\n LeftSection,\n LeftAddon,\n RightAddonSection,\n RightAddon,\n Separator,\n MainSection,\n Title,\n Description,\n};\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAAY;AAErB,MAAM,gBAAgB,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOrB,CAAC,EAAE,OAAO,UAAU,MAAO,YAAY,aAAa,MAAM,OAAO,QAAQ,
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAAY;AAErB,MAAM,gBAAgB,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOrB,CAAC,EAAE,OAAO,UAAU,MAAO,YAAY,aAAa,MAAM,OAAO,QAAQ,KAAK,MAAM;AAAA;AAAA;AAAA,+BAGjE,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAW1E,MAAM,cAAc,OAAO;AAAA;AAAA;AAAA;AAK3B,MAAM,YAAY,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOzB,MAAM,oBAAoB,OAAO;AAAA;AAAA;AAAA;AAAA;AAMjC,MAAM,aAAa,OAAO;AAAA;AAAA;AAAA;AAAA;AAM1B,MAAM,YAAY,OAAO;AAAA;AAAA;AAAA,4BAGG,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAAA;AAIvE,MAAM,cAAc,OAAO;AAAA;AAAA;AAAA;AAK3B,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA,iBAGJ,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,WACzC,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;AAGtD,MAAM,cAAc,OAAO;AAAA;AAAA,WAEhB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/types/DSCard.d.ts
CHANGED
|
@@ -7,19 +7,19 @@ declare const DSCard: {
|
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
propTypes: {
|
|
9
9
|
/** inject props to component wrapper */
|
|
10
|
-
containerProps: import("@elliemae/ds-
|
|
10
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
11
11
|
/**
|
|
12
12
|
* Get reference for the button
|
|
13
13
|
*/
|
|
14
|
-
innerRef: import("@elliemae/ds-
|
|
14
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
15
|
/**
|
|
16
16
|
* DSCardBody and DSCardHeader
|
|
17
17
|
*/
|
|
18
|
-
children: import("@elliemae/ds-
|
|
18
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
19
|
};
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
|
-
declare const DSCardWithSchema: import("@elliemae/ds-
|
|
22
|
+
declare const DSCardWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
23
23
|
[x: string]: any;
|
|
24
24
|
innerRef?: undefined;
|
|
25
25
|
children?: null | undefined;
|
|
@@ -4,11 +4,11 @@ declare const DSCardBody: {
|
|
|
4
4
|
}): JSX.Element;
|
|
5
5
|
propTypes: {
|
|
6
6
|
/** children */
|
|
7
|
-
children: import("@elliemae/ds-
|
|
7
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
8
|
};
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
|
-
declare const DSCardBodyWithSchema: import("@elliemae/ds-
|
|
11
|
+
declare const DSCardBodyWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
12
12
|
children: any;
|
|
13
13
|
}>;
|
|
14
14
|
export { DSCardBody, DSCardBodyWithSchema };
|
|
@@ -5,13 +5,13 @@ declare const DSCardHeader: {
|
|
|
5
5
|
}): JSX.Element;
|
|
6
6
|
propTypes: {
|
|
7
7
|
/** card header title */
|
|
8
|
-
title: import("@elliemae/ds-
|
|
8
|
+
title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
9
|
/** action */
|
|
10
|
-
action: import("@elliemae/ds-
|
|
10
|
+
action: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
11
|
};
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
|
-
declare const DSCardHeaderWithSchema: import("@elliemae/ds-
|
|
14
|
+
declare const DSCardHeaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
15
15
|
title: any;
|
|
16
16
|
action: any;
|
|
17
17
|
}>;
|
|
@@ -20,67 +20,67 @@ declare const DetailCard: {
|
|
|
20
20
|
/**
|
|
21
21
|
* Title of the card.
|
|
22
22
|
*/
|
|
23
|
-
title: import("@elliemae/ds-
|
|
23
|
+
title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
24
24
|
/**
|
|
25
25
|
* Description of the card.
|
|
26
26
|
*/
|
|
27
|
-
description: import("@elliemae/ds-
|
|
27
|
+
description: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
28
28
|
/**
|
|
29
29
|
* Description color.
|
|
30
30
|
*/
|
|
31
|
-
descriptionColor: import("@elliemae/ds-
|
|
31
|
+
descriptionColor: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
32
32
|
/**
|
|
33
33
|
* Right value (should be used with `rightDescription`)
|
|
34
34
|
*/
|
|
35
|
-
rightValue: import("@elliemae/ds-
|
|
35
|
+
rightValue: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
36
36
|
/**
|
|
37
37
|
* Right description (should be used with `rightValue`)
|
|
38
38
|
*/
|
|
39
|
-
rightDescription: import("@elliemae/ds-
|
|
39
|
+
rightDescription: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
40
40
|
/**
|
|
41
41
|
* Right addon array, max elements: 2
|
|
42
42
|
*/
|
|
43
|
-
rightAddon: import("@elliemae/ds-
|
|
43
|
+
rightAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
44
44
|
/**
|
|
45
45
|
* Whether if the card is selectable or not
|
|
46
46
|
*/
|
|
47
|
-
selectable: import("@elliemae/ds-
|
|
47
|
+
selectable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
48
48
|
/**
|
|
49
49
|
* Whether if the card is selected or not
|
|
50
50
|
*/
|
|
51
|
-
isSelected: import("@elliemae/ds-
|
|
51
|
+
isSelected: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
52
52
|
/**
|
|
53
53
|
* Callback on selection
|
|
54
54
|
*/
|
|
55
|
-
onSelect: import("@elliemae/ds-
|
|
55
|
+
onSelect: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
56
56
|
/**
|
|
57
57
|
* Whether if the card is expandable or not
|
|
58
58
|
*/
|
|
59
|
-
expandable: import("@elliemae/ds-
|
|
59
|
+
expandable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
60
60
|
/**
|
|
61
61
|
* Whether if the card is expanded or not
|
|
62
62
|
*/
|
|
63
|
-
isExpanded: import("@elliemae/ds-
|
|
63
|
+
isExpanded: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
64
64
|
/**
|
|
65
65
|
* Callback on expand
|
|
66
66
|
*/
|
|
67
|
-
onExpand: import("@elliemae/ds-
|
|
67
|
+
onExpand: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
68
68
|
/**
|
|
69
69
|
* Content
|
|
70
70
|
*/
|
|
71
|
-
expandContent: import("@elliemae/ds-
|
|
71
|
+
expandContent: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
72
72
|
/**
|
|
73
73
|
* Read only
|
|
74
74
|
*/
|
|
75
|
-
readOnly: import("@elliemae/ds-
|
|
75
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
76
76
|
/**
|
|
77
77
|
* Disabled
|
|
78
78
|
*/
|
|
79
|
-
disabled: import("@elliemae/ds-
|
|
79
|
+
disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
80
80
|
};
|
|
81
81
|
displayName: string;
|
|
82
82
|
};
|
|
83
|
-
declare const DSCardDetailWithSchema: import("@elliemae/ds-
|
|
83
|
+
declare const DSCardDetailWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
84
84
|
title: any;
|
|
85
85
|
description: any;
|
|
86
86
|
descriptionColor?: string | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './DSCard';
|
|
2
|
-
export * from './DSCardHeader';
|
|
3
|
-
export * from './DSCardBody';
|
|
4
|
-
export * from './v2/Card';
|
|
5
|
-
export * from './v2/Group';
|
|
6
|
-
export * from './v2/ActionAddon';
|
|
7
|
-
export * from './detail/DetailCard';
|
|
8
|
-
export { default } from './DSCard';
|
|
1
|
+
export * from './DSCard.js';
|
|
2
|
+
export * from './DSCardHeader.js';
|
|
3
|
+
export * from './DSCardBody.js';
|
|
4
|
+
export * from './v2/Card.js';
|
|
5
|
+
export * from './v2/Group.js';
|
|
6
|
+
export * from './v2/ActionAddon.js';
|
|
7
|
+
export * from './detail/DetailCard.js';
|
|
8
|
+
export { default } from './DSCard.js';
|
|
@@ -9,20 +9,20 @@ declare const ActionAddon: {
|
|
|
9
9
|
/**
|
|
10
10
|
* Addon label
|
|
11
11
|
*/
|
|
12
|
-
label: import("@elliemae/ds-
|
|
12
|
+
label: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
13
13
|
/**
|
|
14
14
|
* On click callback
|
|
15
15
|
*/
|
|
16
|
-
onClick: import("@elliemae/ds-
|
|
16
|
+
onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
17
17
|
/**
|
|
18
18
|
* Icon to display after the label
|
|
19
19
|
*/
|
|
20
|
-
icon: import("@elliemae/ds-
|
|
21
|
-
innerRef: import("@elliemae/ds-
|
|
20
|
+
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
21
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
22
22
|
};
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
|
-
declare const DSCardActionAddonWithSchema: import("@elliemae/ds-
|
|
25
|
+
declare const DSCardActionAddonWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
26
26
|
innerRef: any;
|
|
27
27
|
label: any;
|
|
28
28
|
onClick: any;
|
package/dist/types/v2/Card.d.ts
CHANGED
|
@@ -10,27 +10,27 @@ declare const CustomCard: {
|
|
|
10
10
|
/**
|
|
11
11
|
* Title of the card. requiered
|
|
12
12
|
*/
|
|
13
|
-
title: import("@elliemae/ds-
|
|
13
|
+
title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
14
14
|
/**
|
|
15
15
|
* Description of the card. not requiered
|
|
16
16
|
*/
|
|
17
|
-
description: import("@elliemae/ds-
|
|
17
|
+
description: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
18
18
|
/**
|
|
19
19
|
* Left Addon
|
|
20
20
|
*/
|
|
21
|
-
leftAddon: import("@elliemae/ds-
|
|
21
|
+
leftAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
22
22
|
/**
|
|
23
23
|
* Right addon array, max elements: 2
|
|
24
24
|
*/
|
|
25
|
-
rightAddon: import("@elliemae/ds-
|
|
25
|
+
rightAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
26
26
|
/**
|
|
27
27
|
* Wheter if the card has border or not
|
|
28
28
|
*/
|
|
29
|
-
hasBorder: import("@elliemae/ds-
|
|
29
|
+
hasBorder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
30
30
|
};
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
|
-
declare const DSCardCustomWithSchema: import("@elliemae/ds-
|
|
33
|
+
declare const DSCardCustomWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
34
34
|
title: any;
|
|
35
35
|
description: any;
|
|
36
36
|
leftAddon: any;
|
package/dist/types/v2/Group.d.ts
CHANGED
|
@@ -8,19 +8,19 @@ declare const CardGroup: {
|
|
|
8
8
|
/**
|
|
9
9
|
* Card items
|
|
10
10
|
*/
|
|
11
|
-
children: import("@elliemae/ds-
|
|
11
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
12
12
|
/**
|
|
13
13
|
* Title of the group
|
|
14
14
|
*/
|
|
15
|
-
title: import("@elliemae/ds-
|
|
15
|
+
title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
16
16
|
/**
|
|
17
17
|
* Right addon action
|
|
18
18
|
*/
|
|
19
|
-
action: import("@elliemae/ds-
|
|
19
|
+
action: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
20
20
|
};
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
|
-
declare const DSCardGroupWithSchema: import("@elliemae/ds-
|
|
23
|
+
declare const DSCardGroupWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
24
24
|
children: any;
|
|
25
25
|
title: any;
|
|
26
26
|
action: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-card",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Card",
|
|
6
6
|
"files": [
|
|
@@ -71,21 +71,22 @@
|
|
|
71
71
|
"indent": 4
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@elliemae/ds-button": "3.16.0-next.
|
|
75
|
-
"@elliemae/ds-classnames": "3.16.0-next.
|
|
76
|
-
"@elliemae/ds-
|
|
77
|
-
"@elliemae/ds-
|
|
78
|
-
"@elliemae/ds-header": "3.16.0-next.
|
|
79
|
-
"@elliemae/ds-icons": "3.16.0-next.
|
|
80
|
-
"@elliemae/ds-
|
|
81
|
-
"@elliemae/ds-
|
|
82
|
-
"@elliemae/ds-
|
|
83
|
-
"@elliemae/ds-
|
|
74
|
+
"@elliemae/ds-button": "3.16.0-next.20",
|
|
75
|
+
"@elliemae/ds-classnames": "3.16.0-next.20",
|
|
76
|
+
"@elliemae/ds-grid": "3.16.0-next.20",
|
|
77
|
+
"@elliemae/ds-form": "3.16.0-next.20",
|
|
78
|
+
"@elliemae/ds-header": "3.16.0-next.20",
|
|
79
|
+
"@elliemae/ds-icons": "3.16.0-next.20",
|
|
80
|
+
"@elliemae/ds-props-helpers": "3.16.0-next.20",
|
|
81
|
+
"@elliemae/ds-separator": "3.16.0-next.20",
|
|
82
|
+
"@elliemae/ds-system": "3.16.0-next.20",
|
|
83
|
+
"@elliemae/ds-truncated-tooltip-text": "3.16.0-next.20",
|
|
84
|
+
"@elliemae/ds-utilities": "3.16.0-next.20"
|
|
84
85
|
},
|
|
85
86
|
"devDependencies": {
|
|
86
|
-
"@testing-library/jest-dom": "~5.16.
|
|
87
|
+
"@testing-library/jest-dom": "~5.16.5",
|
|
87
88
|
"@testing-library/react": "~12.1.3",
|
|
88
|
-
"styled-components": "~5.3.
|
|
89
|
+
"styled-components": "~5.3.9"
|
|
89
90
|
},
|
|
90
91
|
"peerDependencies": {
|
|
91
92
|
"lodash": "^4.17.21",
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
105
106
|
"dts": "node ../../scripts/dts.mjs",
|
|
106
107
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
107
|
-
"dev:build": "pnpm --filter {.}... build
|
|
108
|
+
"dev:build": "pnpm --filter {.}... build",
|
|
108
109
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
109
110
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
110
111
|
}
|