@elliemae/ds-card 2.3.0-alpha.2 → 2.3.0-alpha.7

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.
Files changed (52) hide show
  1. package/{cjs → dist/cjs}/DSCard.js +0 -0
  2. package/{cjs → dist/cjs}/DSCard.js.map +0 -0
  3. package/{cjs → dist/cjs}/DSCardBody.js +0 -0
  4. package/{cjs → dist/cjs}/DSCardBody.js.map +0 -0
  5. package/{cjs → dist/cjs}/DSCardHeader.js +0 -0
  6. package/{cjs → dist/cjs}/DSCardHeader.js.map +0 -0
  7. package/{cjs → dist/cjs}/detail/DetailCard.js +0 -0
  8. package/{cjs → dist/cjs}/detail/DetailCard.js.map +0 -0
  9. package/{cjs → dist/cjs}/detail/styled.js +0 -0
  10. package/{cjs → dist/cjs}/detail/styled.js.map +0 -0
  11. package/{cjs → dist/cjs}/index.js +0 -0
  12. package/{cjs → dist/cjs}/index.js.map +0 -0
  13. package/{cjs → dist/cjs}/v2/ActionAddon.js +0 -0
  14. package/{cjs → dist/cjs}/v2/ActionAddon.js.map +0 -0
  15. package/{cjs → dist/cjs}/v2/Card.js +0 -0
  16. package/{cjs → dist/cjs}/v2/Card.js.map +0 -0
  17. package/{cjs → dist/cjs}/v2/Group.js +0 -0
  18. package/{cjs → dist/cjs}/v2/Group.js.map +0 -0
  19. package/{cjs → dist/cjs}/v2/components.js +0 -0
  20. package/{cjs → dist/cjs}/v2/components.js.map +0 -0
  21. package/{esm → dist/esm}/DSCard.js +0 -0
  22. package/{esm → dist/esm}/DSCard.js.map +0 -0
  23. package/{esm → dist/esm}/DSCardBody.js +0 -0
  24. package/{esm → dist/esm}/DSCardBody.js.map +0 -0
  25. package/{esm → dist/esm}/DSCardHeader.js +0 -0
  26. package/{esm → dist/esm}/DSCardHeader.js.map +0 -0
  27. package/{esm → dist/esm}/detail/DetailCard.js +0 -0
  28. package/{esm → dist/esm}/detail/DetailCard.js.map +0 -0
  29. package/{esm → dist/esm}/detail/styled.js +0 -0
  30. package/{esm → dist/esm}/detail/styled.js.map +0 -0
  31. package/{esm → dist/esm}/index.js +0 -0
  32. package/{esm → dist/esm}/index.js.map +0 -0
  33. package/{esm → dist/esm}/v2/ActionAddon.js +0 -0
  34. package/{esm → dist/esm}/v2/ActionAddon.js.map +0 -0
  35. package/{esm → dist/esm}/v2/Card.js +0 -0
  36. package/{esm → dist/esm}/v2/Card.js.map +0 -0
  37. package/{esm → dist/esm}/v2/Group.js +0 -0
  38. package/{esm → dist/esm}/v2/Group.js.map +0 -0
  39. package/{esm → dist/esm}/v2/components.js +0 -0
  40. package/{esm → dist/esm}/v2/components.js.map +0 -0
  41. package/package.json +46 -44
  42. package/types/DSCard.d.ts +0 -44
  43. package/types/DSCardBody.d.ts +0 -23
  44. package/types/DSCardHeader.d.ts +0 -31
  45. package/types/detail/DetailCard.d.ts +0 -160
  46. package/types/detail/styled.d.ts +0 -9
  47. package/types/index.d.ts +0 -8
  48. package/types/tests/DSCard.test.d.ts +0 -1
  49. package/types/v2/ActionAddon.d.ts +0 -45
  50. package/types/v2/Card.d.ts +0 -60
  51. package/types/v2/Group.d.ts +0 -35
  52. package/types/v2/components.d.ts +0 -11
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,51 +1,54 @@
1
1
  {
2
2
  "name": "@elliemae/ds-card",
3
- "version": "2.3.0-alpha.2",
3
+ "version": "2.3.0-alpha.7",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Card",
6
- "module": "./esm/index.js",
7
- "main": "./cjs/index.js",
8
- "types": "./types/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/esm/index.js",
10
+ "main": "./dist/cjs/index.js",
11
+ "types": "./dist/types/index.d.ts",
9
12
  "exports": {
10
13
  ".": {
11
- "import": "./esm/index.js",
12
- "require": "./cjs/index.js"
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.js"
13
16
  },
14
17
  "./v2/Group": {
15
- "import": "./esm/v2/Group.js",
16
- "require": "./cjs/v2/Group.js"
18
+ "import": "./dist/esm/v2/Group.js",
19
+ "require": "./dist/cjs/v2/Group.js"
17
20
  },
18
21
  "./v2/components": {
19
- "import": "./esm/v2/components.js",
20
- "require": "./cjs/v2/components.js"
22
+ "import": "./dist/esm/v2/components.js",
23
+ "require": "./dist/cjs/v2/components.js"
21
24
  },
22
25
  "./v2/Card": {
23
- "import": "./esm/v2/Card.js",
24
- "require": "./cjs/v2/Card.js"
26
+ "import": "./dist/esm/v2/Card.js",
27
+ "require": "./dist/cjs/v2/Card.js"
25
28
  },
26
29
  "./v2/ActionAddon": {
27
- "import": "./esm/v2/ActionAddon.js",
28
- "require": "./cjs/v2/ActionAddon.js"
30
+ "import": "./dist/esm/v2/ActionAddon.js",
31
+ "require": "./dist/cjs/v2/ActionAddon.js"
29
32
  },
30
33
  "./DSCardHeader": {
31
- "import": "./esm/DSCardHeader.js",
32
- "require": "./cjs/DSCardHeader.js"
34
+ "import": "./dist/esm/DSCardHeader.js",
35
+ "require": "./dist/cjs/DSCardHeader.js"
33
36
  },
34
37
  "./DSCardBody": {
35
- "import": "./esm/DSCardBody.js",
36
- "require": "./cjs/DSCardBody.js"
38
+ "import": "./dist/esm/DSCardBody.js",
39
+ "require": "./dist/cjs/DSCardBody.js"
37
40
  },
38
41
  "./DSCard": {
39
- "import": "./esm/DSCard.js",
40
- "require": "./cjs/DSCard.js"
42
+ "import": "./dist/esm/DSCard.js",
43
+ "require": "./dist/cjs/DSCard.js"
41
44
  },
42
45
  "./detail/styled": {
43
- "import": "./esm/detail/styled.js",
44
- "require": "./cjs/detail/styled.js"
46
+ "import": "./dist/esm/detail/styled.js",
47
+ "require": "./dist/cjs/detail/styled.js"
45
48
  },
46
49
  "./detail/DetailCard": {
47
- "import": "./esm/detail/DetailCard.js",
48
- "require": "./cjs/detail/DetailCard.js"
50
+ "import": "./dist/esm/detail/DetailCard.js",
51
+ "require": "./dist/cjs/detail/DetailCard.js"
49
52
  }
50
53
  },
51
54
  "sideEffects": [
@@ -57,30 +60,24 @@
57
60
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
58
61
  },
59
62
  "engines": {
60
- "npm": ">=7",
61
- "node": ">=14"
63
+ "pnpm": ">=6",
64
+ "node": ">=16"
62
65
  },
63
66
  "author": "ICE MT",
64
- "scripts": {
65
- "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
66
- "prebuild": "exit 0",
67
- "predev": "exit 0",
68
- "build": "node ../../scripts/build/build.js"
69
- },
70
67
  "dependencies": {
71
- "@elliemae/ds-button": "2.3.0-alpha.2",
72
- "@elliemae/ds-classnames": "2.3.0-alpha.2",
73
- "@elliemae/ds-form": "2.3.0-alpha.2",
74
- "@elliemae/ds-grid": "2.3.0-alpha.2",
75
- "@elliemae/ds-header": "2.3.0-alpha.2",
76
- "@elliemae/ds-icons": "2.3.0-alpha.2",
77
- "@elliemae/ds-separator": "2.3.0-alpha.2",
78
- "@elliemae/ds-system": "2.3.0-alpha.2",
79
- "@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.2",
68
+ "@elliemae/ds-button": "2.3.0-alpha.7",
69
+ "@elliemae/ds-classnames": "2.3.0-alpha.7",
70
+ "@elliemae/ds-form": "2.3.0-alpha.7",
71
+ "@elliemae/ds-grid": "2.3.0-alpha.7",
72
+ "@elliemae/ds-header": "2.3.0-alpha.7",
73
+ "@elliemae/ds-icons": "2.3.0-alpha.7",
74
+ "@elliemae/ds-separator": "2.3.0-alpha.7",
75
+ "@elliemae/ds-system": "2.3.0-alpha.7",
76
+ "@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.7",
80
77
  "react-desc": "~4.1.3"
81
78
  },
82
79
  "devDependencies": {
83
- "@testing-library/jest-dom": "~5.15.0",
80
+ "@testing-library/jest-dom": "~5.15.1",
84
81
  "@testing-library/react": "~12.1.2",
85
82
  "styled-components": "~5.3.3"
86
83
  },
@@ -92,7 +89,12 @@
92
89
  },
93
90
  "publishConfig": {
94
91
  "access": "public",
95
- "directory": "dist",
96
- "generateSubmodules": true
92
+ "typeSafety": false
93
+ },
94
+ "scripts": {
95
+ "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
96
+ "prebuild": "exit 0",
97
+ "predev": "exit 0",
98
+ "build": "node ../../scripts/build/build.js"
97
99
  }
98
100
  }
package/types/DSCard.d.ts DELETED
@@ -1,44 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const DSCard: {
4
- ({ innerRef, children, containerProps, ...otherProps }: {
5
- [x: string]: any;
6
- innerRef?: undefined;
7
- children?: null | undefined;
8
- containerProps?: {} | undefined;
9
- }): JSX.Element;
10
- propTypes: {
11
- /** inject props to component wrapper */
12
- containerProps: {
13
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
14
- deprecated: import("react-desc").PropTypesDescValidator;
15
- };
16
- isRequired: import("react-desc").PropTypesDescValue;
17
- };
18
- /**
19
- * Get reference for the button
20
- */
21
- innerRef: {
22
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
23
- deprecated: import("react-desc").PropTypesDescValidator;
24
- };
25
- isRequired: import("react-desc").PropTypesDescValue;
26
- };
27
- /**
28
- * DSCardBody and DSCardHeader
29
- */
30
- children: {
31
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
32
- deprecated: import("react-desc").PropTypesDescValidator;
33
- };
34
- isRequired: import("react-desc").PropTypesDescValue;
35
- };
36
- };
37
- };
38
- declare const DSCardWithSchema: {
39
- (props?: unknown): JSX.Element;
40
- propTypes: unknown;
41
- toTypescript: () => import("react-desc").TypescriptSchema;
42
- };
43
- export { DSCard, DSCardWithSchema };
44
- export default DSCard;
@@ -1,23 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const DSCardBody: {
4
- ({ children }: {
5
- children: any;
6
- }): JSX.Element;
7
- propTypes: {
8
- /** children */
9
- children: {
10
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
11
- deprecated: import("react-desc").PropTypesDescValidator;
12
- };
13
- isRequired: import("react-desc").PropTypesDescValue;
14
- };
15
- };
16
- };
17
- declare const DSCardBodyWithSchema: {
18
- (props?: unknown): JSX.Element;
19
- propTypes: unknown;
20
- toTypescript: () => import("react-desc").TypescriptSchema;
21
- };
22
- export { DSCardBody, DSCardBodyWithSchema };
23
- export default DSCardBody;
@@ -1,31 +0,0 @@
1
- /// <reference path="../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const DSCardHeader: {
4
- ({ title, action }: {
5
- title: any;
6
- action: any;
7
- }): JSX.Element;
8
- propTypes: {
9
- /** card header title */
10
- title: {
11
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
12
- deprecated: import("react-desc").PropTypesDescValidator;
13
- };
14
- isRequired: import("react-desc").PropTypesDescValue;
15
- };
16
- /** action */
17
- action: {
18
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
19
- deprecated: import("react-desc").PropTypesDescValidator;
20
- };
21
- isRequired: import("react-desc").PropTypesDescValue;
22
- };
23
- };
24
- };
25
- declare const DSCardHeaderWithSchema: {
26
- (props?: unknown): JSX.Element;
27
- propTypes: unknown;
28
- toTypescript: () => import("react-desc").TypescriptSchema;
29
- };
30
- export { DSCardHeader, DSCardHeaderWithSchema };
31
- export default DSCardHeader;
@@ -1,160 +0,0 @@
1
- /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const DetailCard: {
4
- ({ title, description, descriptionColor, rightValue, rightDescription, rightAddon, selectable, isSelected, onSelect, expandable, isExpanded, onExpand, expandContent, readOnly, disabled, }: {
5
- title: any;
6
- description: any;
7
- descriptionColor?: string | undefined;
8
- rightValue: any;
9
- rightDescription: any;
10
- rightAddon: any;
11
- selectable?: boolean | undefined;
12
- isSelected?: boolean | undefined;
13
- onSelect?: ((...args: any[]) => void) | undefined;
14
- expandable?: boolean | undefined;
15
- isExpanded?: boolean | undefined;
16
- onExpand?: ((...args: any[]) => void) | undefined;
17
- expandContent: any;
18
- readOnly?: boolean | undefined;
19
- disabled?: boolean | undefined;
20
- }): JSX.Element;
21
- propTypes: {
22
- /**
23
- * Title of the card.
24
- */
25
- title: any;
26
- /**
27
- * Description of the card.
28
- */
29
- description: {
30
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
31
- deprecated: import("react-desc").PropTypesDescValidator;
32
- };
33
- isRequired: import("react-desc").PropTypesDescValue;
34
- };
35
- /**
36
- * Description color.
37
- */
38
- descriptionColor: {
39
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
40
- deprecated: import("react-desc").PropTypesDescValidator;
41
- };
42
- isRequired: import("react-desc").PropTypesDescValue;
43
- };
44
- /**
45
- * Right value (should be used with `rightDescription`)
46
- */
47
- rightValue: {
48
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
49
- deprecated: import("react-desc").PropTypesDescValidator;
50
- };
51
- isRequired: import("react-desc").PropTypesDescValue;
52
- };
53
- /**
54
- * Right description (should be used with `rightValue`)
55
- */
56
- rightDescription: {
57
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
58
- deprecated: import("react-desc").PropTypesDescValidator;
59
- };
60
- isRequired: import("react-desc").PropTypesDescValue;
61
- };
62
- /**
63
- * Right addon array, max elements: 2
64
- */
65
- rightAddon: {
66
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
67
- deprecated: import("react-desc").PropTypesDescValidator;
68
- };
69
- isRequired: import("react-desc").PropTypesDescValue;
70
- };
71
- /**
72
- * Whether if the card is selectable or not
73
- */
74
- selectable: {
75
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
76
- deprecated: import("react-desc").PropTypesDescValidator;
77
- };
78
- isRequired: import("react-desc").PropTypesDescValue;
79
- };
80
- /**
81
- * Whether if the card is selected or not
82
- */
83
- isSelected: {
84
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
85
- deprecated: import("react-desc").PropTypesDescValidator;
86
- };
87
- isRequired: import("react-desc").PropTypesDescValue;
88
- };
89
- /**
90
- * Callback on selection
91
- */
92
- onSelect: {
93
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
94
- deprecated: import("react-desc").PropTypesDescValidator;
95
- };
96
- isRequired: import("react-desc").PropTypesDescValue;
97
- };
98
- /**
99
- * Whether if the card is expandable or not
100
- */
101
- expandable: {
102
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
103
- deprecated: import("react-desc").PropTypesDescValidator;
104
- };
105
- isRequired: import("react-desc").PropTypesDescValue;
106
- };
107
- /**
108
- * Whether if the card is expanded or not
109
- */
110
- isExpanded: {
111
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
112
- deprecated: import("react-desc").PropTypesDescValidator;
113
- };
114
- isRequired: import("react-desc").PropTypesDescValue;
115
- };
116
- /**
117
- * Callback on expand
118
- */
119
- onExpand: {
120
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
121
- deprecated: import("react-desc").PropTypesDescValidator;
122
- };
123
- isRequired: import("react-desc").PropTypesDescValue;
124
- };
125
- /**
126
- * Content
127
- */
128
- expandContent: {
129
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
130
- deprecated: import("react-desc").PropTypesDescValidator;
131
- };
132
- isRequired: import("react-desc").PropTypesDescValue;
133
- };
134
- /**
135
- * Read only
136
- */
137
- readOnly: {
138
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
139
- deprecated: import("react-desc").PropTypesDescValidator;
140
- };
141
- isRequired: import("react-desc").PropTypesDescValue;
142
- };
143
- /**
144
- * Disabled
145
- */
146
- disabled: {
147
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
148
- deprecated: import("react-desc").PropTypesDescValidator;
149
- };
150
- isRequired: import("react-desc").PropTypesDescValue;
151
- };
152
- };
153
- };
154
- declare const DSCardDetailWithSchema: {
155
- (props?: unknown): JSX.Element;
156
- propTypes: unknown;
157
- toTypescript: () => import("react-desc").TypescriptSchema;
158
- };
159
- export { DetailCard, DSCardDetailWithSchema };
160
- export default DetailCard;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Separator: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const Title: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const Description: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const RightAddon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
6
- export declare const RightDescription: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
7
- export declare const RightValue: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
8
- export declare const ExpandContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
- export declare const Container: any;
package/types/index.d.ts DELETED
@@ -1,8 +0,0 @@
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 +0,0 @@
1
- export {};
@@ -1,45 +0,0 @@
1
- /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const ActionAddon: {
4
- ({ label, onClick, icon }: {
5
- label: any;
6
- onClick: any;
7
- icon: any;
8
- }): JSX.Element;
9
- propTypes: {
10
- /**
11
- * Addon label
12
- */
13
- label: {
14
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
15
- deprecated: import("react-desc").PropTypesDescValidator;
16
- };
17
- isRequired: import("react-desc").PropTypesDescValue;
18
- };
19
- /**
20
- * On click callback
21
- */
22
- onClick: {
23
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
24
- deprecated: import("react-desc").PropTypesDescValidator;
25
- };
26
- isRequired: import("react-desc").PropTypesDescValue;
27
- };
28
- /**
29
- * Icon to display after the label
30
- */
31
- icon: {
32
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
33
- deprecated: import("react-desc").PropTypesDescValidator;
34
- };
35
- isRequired: import("react-desc").PropTypesDescValue;
36
- };
37
- };
38
- };
39
- declare const DSCardActionAddonWithSchema: {
40
- (props?: unknown): JSX.Element;
41
- propTypes: unknown;
42
- toTypescript: () => import("react-desc").TypescriptSchema;
43
- };
44
- export { ActionAddon, DSCardActionAddonWithSchema };
45
- export default ActionAddon;
@@ -1,60 +0,0 @@
1
- /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const CustomCard: {
4
- ({ title, description, leftAddon, rightAddon, hasBorder, }: {
5
- title: any;
6
- description: any;
7
- leftAddon: any;
8
- rightAddon: any;
9
- hasBorder?: boolean | undefined;
10
- }): JSX.Element;
11
- propTypes: {
12
- /**
13
- * Title of the card. requiered
14
- */
15
- title: any;
16
- /**
17
- * Description of the card. not requiered
18
- */
19
- description: {
20
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
21
- deprecated: import("react-desc").PropTypesDescValidator;
22
- };
23
- isRequired: import("react-desc").PropTypesDescValue;
24
- };
25
- /**
26
- * Left Addon
27
- */
28
- leftAddon: {
29
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
30
- deprecated: import("react-desc").PropTypesDescValidator;
31
- };
32
- isRequired: import("react-desc").PropTypesDescValue;
33
- };
34
- /**
35
- * Right addon array, max elements: 2
36
- */
37
- rightAddon: {
38
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
39
- deprecated: import("react-desc").PropTypesDescValidator;
40
- };
41
- isRequired: import("react-desc").PropTypesDescValue;
42
- };
43
- /**
44
- * Wheter if the card has border or not
45
- */
46
- hasBorder: {
47
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
48
- deprecated: import("react-desc").PropTypesDescValidator;
49
- };
50
- isRequired: import("react-desc").PropTypesDescValue;
51
- };
52
- };
53
- };
54
- declare const DSCardCustomWithSchema: {
55
- (props?: unknown): JSX.Element;
56
- propTypes: unknown;
57
- toTypescript: () => import("react-desc").TypescriptSchema;
58
- };
59
- export { CustomCard, DSCardCustomWithSchema };
60
- export default CustomCard;
@@ -1,35 +0,0 @@
1
- /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
2
- /// <reference types="react" />
3
- declare const CardGroup: {
4
- ({ children, title, action }: {
5
- children: any;
6
- title: any;
7
- action: any;
8
- }): JSX.Element;
9
- propTypes: {
10
- /**
11
- * Card items
12
- */
13
- children: any;
14
- /**
15
- * Title of the group
16
- */
17
- title: any;
18
- /**
19
- * Right addon action
20
- */
21
- action: {
22
- defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
23
- deprecated: import("react-desc").PropTypesDescValidator;
24
- };
25
- isRequired: import("react-desc").PropTypesDescValue;
26
- };
27
- };
28
- };
29
- declare const DSCardGroupWithSchema: {
30
- (props?: unknown): JSX.Element;
31
- propTypes: unknown;
32
- toTypescript: () => import("react-desc").TypescriptSchema;
33
- };
34
- export { CardGroup, DSCardGroupWithSchema };
35
- export default CardGroup;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CardContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
3
- declare const LeftSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
- declare const LeftAddon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
- declare const RightAddonSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
- declare const RightAddon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
- declare const Separator: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- declare const MainSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
- declare const Title: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, {}, never>;
10
- declare const Description: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
11
- export { CardContainer, LeftSection, LeftAddon, RightAddonSection, RightAddon, Separator, MainSection, Title, Description, };