@elliemae/ds-comments 2.3.0-alpha.8 → 2.3.0-alpha.9
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.
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const CommentCard: {
|
|
4
|
+
({ containerProps, name, date, type, content, style, options, selection, customDropdownMenuProps, borderBottom, dateFormat, timeFormat, maxLines, }: {
|
|
5
|
+
containerProps?: {} | undefined;
|
|
6
|
+
name?: string | undefined;
|
|
7
|
+
date?: Date | undefined;
|
|
8
|
+
type?: string | undefined;
|
|
9
|
+
content?: string | undefined;
|
|
10
|
+
style?: {} | undefined;
|
|
11
|
+
options?: never[] | undefined;
|
|
12
|
+
selection?: {
|
|
13
|
+
'single-selection-internal-external': string[];
|
|
14
|
+
} | undefined;
|
|
15
|
+
customDropdownMenuProps?: {
|
|
16
|
+
focusOnOpen: boolean;
|
|
17
|
+
} | undefined;
|
|
18
|
+
borderBottom: any;
|
|
19
|
+
dateFormat?: string | undefined;
|
|
20
|
+
timeFormat?: string | undefined;
|
|
21
|
+
maxLines?: number | undefined;
|
|
22
|
+
}): JSX.Element;
|
|
23
|
+
propTypes: {
|
|
24
|
+
/** props to inject to comment card wrapper */
|
|
25
|
+
containerProps: {
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
+
};
|
|
31
|
+
/** form name */
|
|
32
|
+
name: {
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
+
};
|
|
38
|
+
/** style object */
|
|
39
|
+
style: {
|
|
40
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
|
+
};
|
|
45
|
+
/** date object */
|
|
46
|
+
date: {
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
+
};
|
|
52
|
+
/** comment type string */
|
|
53
|
+
type: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
/** comment content */
|
|
60
|
+
content: {
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
|
+
};
|
|
66
|
+
/** dropdown menu options */
|
|
67
|
+
options: {
|
|
68
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
+
};
|
|
73
|
+
/** dropdown selection */
|
|
74
|
+
selection: {
|
|
75
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
|
+
};
|
|
80
|
+
/** pass down props to dropdown */
|
|
81
|
+
customDropdownMenuProps: {
|
|
82
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
83
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
86
|
+
};
|
|
87
|
+
/** toggle border bottom for card */
|
|
88
|
+
borderBottom: {
|
|
89
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
93
|
+
};
|
|
94
|
+
/** moment Year, month, and day tokens https://momentjs.com/docs/#/parsing/string-format/ */
|
|
95
|
+
dateFormat: {
|
|
96
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
97
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
98
|
+
};
|
|
99
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
100
|
+
};
|
|
101
|
+
/** moment Hour, minute, second, millisecond, and offset tokens https://momentjs.com/docs/#/parsing/string-format/ */
|
|
102
|
+
timeFormat: {
|
|
103
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
104
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
105
|
+
};
|
|
106
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Max lines
|
|
110
|
+
*/
|
|
111
|
+
maxLines: {
|
|
112
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
113
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
114
|
+
};
|
|
115
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
declare const DSCommentCardWithSchema: {
|
|
120
|
+
(props?: unknown): JSX.Element;
|
|
121
|
+
propTypes: unknown;
|
|
122
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
123
|
+
};
|
|
124
|
+
export default CommentCard;
|
|
125
|
+
export { DSCommentCardWithSchema };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { DSCommentCardWithSchema } from './CommentCard';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
DSCommentCard: {
|
|
6
|
+
({ containerProps, name, date, type, content, style, options, selection, customDropdownMenuProps, borderBottom, dateFormat, timeFormat, maxLines, }: {
|
|
7
|
+
containerProps?: {} | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
date?: Date | undefined;
|
|
10
|
+
type?: string | undefined;
|
|
11
|
+
content?: string | undefined;
|
|
12
|
+
style?: {} | undefined;
|
|
13
|
+
options?: never[] | undefined;
|
|
14
|
+
selection?: {
|
|
15
|
+
'single-selection-internal-external': string[];
|
|
16
|
+
} | undefined;
|
|
17
|
+
customDropdownMenuProps?: {
|
|
18
|
+
focusOnOpen: boolean;
|
|
19
|
+
} | undefined;
|
|
20
|
+
borderBottom: any;
|
|
21
|
+
dateFormat?: string | undefined;
|
|
22
|
+
timeFormat?: string | undefined;
|
|
23
|
+
maxLines?: number | undefined;
|
|
24
|
+
}): JSX.Element;
|
|
25
|
+
propTypes: {
|
|
26
|
+
containerProps: {
|
|
27
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
31
|
+
};
|
|
32
|
+
name: {
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
+
};
|
|
38
|
+
style: {
|
|
39
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
|
+
};
|
|
44
|
+
date: {
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
|
+
};
|
|
50
|
+
type: {
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
|
+
};
|
|
56
|
+
content: {
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
|
+
};
|
|
62
|
+
options: {
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
|
+
};
|
|
68
|
+
selection: {
|
|
69
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
70
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
73
|
+
};
|
|
74
|
+
customDropdownMenuProps: {
|
|
75
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
|
+
};
|
|
80
|
+
borderBottom: {
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
82
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
|
+
};
|
|
86
|
+
dateFormat: {
|
|
87
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
88
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
91
|
+
};
|
|
92
|
+
timeFormat: {
|
|
93
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
97
|
+
};
|
|
98
|
+
maxLines: {
|
|
99
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export default _default;
|
|
108
|
+
export { DSCommentCardWithSchema };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperArea: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
3
|
+
export declare const WrapperComments: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
4
|
+
export declare const WrapperCommentsScroll: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
5
|
+
export declare const Counter: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
6
|
+
export declare const SubmitWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
|
+
export declare const SubmitExternal: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
8
|
+
export declare const SubmitButton: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
9
|
+
export declare const CommentCardWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
10
|
+
export declare const CommentCardHeader: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
11
|
+
export declare const CommentCardContent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
12
|
+
export declare const CommentCardLeft: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
13
|
+
export declare const CommentCardName: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
14
|
+
export declare const CommentCardData: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
15
|
+
export declare const CommentCardMenu: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
16
|
+
export declare const CommentEmptyWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
17
|
+
export declare const CommentEmptyIcon: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
18
|
+
export declare const CommentEmptyLabel: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { DSCommentCardWithSchema } from './components/DSComments';
|
|
4
|
+
export declare const DSCommentCard: {
|
|
5
|
+
({ containerProps, name, date, type, content, style, options, selection, customDropdownMenuProps, borderBottom, dateFormat, timeFormat, maxLines, }: {
|
|
6
|
+
containerProps?: {} | undefined;
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
date?: Date | undefined;
|
|
9
|
+
type?: string | undefined;
|
|
10
|
+
content?: string | undefined;
|
|
11
|
+
style?: {} | undefined;
|
|
12
|
+
options?: never[] | undefined;
|
|
13
|
+
selection?: {
|
|
14
|
+
'single-selection-internal-external': string[];
|
|
15
|
+
} | undefined;
|
|
16
|
+
customDropdownMenuProps?: {
|
|
17
|
+
focusOnOpen: boolean;
|
|
18
|
+
} | undefined;
|
|
19
|
+
borderBottom: any;
|
|
20
|
+
dateFormat?: string | undefined;
|
|
21
|
+
timeFormat?: string | undefined;
|
|
22
|
+
maxLines?: number | undefined;
|
|
23
|
+
}): JSX.Element;
|
|
24
|
+
propTypes: {
|
|
25
|
+
containerProps: {
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
+
};
|
|
31
|
+
name: {
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
+
};
|
|
37
|
+
style: {
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
+
};
|
|
43
|
+
date: {
|
|
44
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
|
+
};
|
|
49
|
+
type: {
|
|
50
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
|
+
};
|
|
55
|
+
content: {
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
|
+
};
|
|
61
|
+
options: {
|
|
62
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
|
+
};
|
|
67
|
+
selection: {
|
|
68
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
+
};
|
|
73
|
+
customDropdownMenuProps: {
|
|
74
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
75
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
78
|
+
};
|
|
79
|
+
borderBottom: {
|
|
80
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
81
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
83
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
84
|
+
};
|
|
85
|
+
dateFormat: {
|
|
86
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
87
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
88
|
+
};
|
|
89
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
90
|
+
};
|
|
91
|
+
timeFormat: {
|
|
92
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
93
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
94
|
+
};
|
|
95
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
96
|
+
};
|
|
97
|
+
maxLines: {
|
|
98
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
99
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
100
|
+
};
|
|
101
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default DSCommentCard;
|
|
106
|
+
export { DSCommentCardWithSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-comments",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Comments",
|
|
6
6
|
"files": [
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
},
|
|
46
46
|
"author": "ICE MT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@elliemae/ds-button": "2.3.0-alpha.
|
|
49
|
-
"@elliemae/ds-classnames": "2.3.0-alpha.
|
|
50
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.
|
|
51
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
52
|
-
"@elliemae/ds-read-more": "2.3.0-alpha.
|
|
48
|
+
"@elliemae/ds-button": "2.3.0-alpha.9",
|
|
49
|
+
"@elliemae/ds-classnames": "2.3.0-alpha.9",
|
|
50
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.9",
|
|
51
|
+
"@elliemae/ds-icons": "2.3.0-alpha.9",
|
|
52
|
+
"@elliemae/ds-read-more": "2.3.0-alpha.9",
|
|
53
53
|
"moment": "~2.29.1",
|
|
54
54
|
"prop-types": "~15.7.2",
|
|
55
55
|
"react-desc": "~4.1.3"
|