@elliemae/ds-comments 3.14.0-next.8 → 3.14.0-rc.0
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,73 @@
|
|
|
1
|
+
declare const CommentCard: {
|
|
2
|
+
({ containerProps, name, date, type, content, style, options, selection, customDropdownMenuProps, borderBottom, dateFormat, timeFormat, maxLines, }: {
|
|
3
|
+
containerProps?: {} | undefined;
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
date?: Date | undefined;
|
|
6
|
+
type?: string | undefined;
|
|
7
|
+
content?: string | undefined;
|
|
8
|
+
style?: {} | undefined;
|
|
9
|
+
options?: never[] | undefined;
|
|
10
|
+
selection?: {
|
|
11
|
+
'single-selection-internal-external': string[];
|
|
12
|
+
} | undefined;
|
|
13
|
+
customDropdownMenuProps?: {
|
|
14
|
+
focusOnOpen: boolean;
|
|
15
|
+
} | undefined;
|
|
16
|
+
borderBottom: any;
|
|
17
|
+
dateFormat?: string | undefined;
|
|
18
|
+
timeFormat?: string | undefined;
|
|
19
|
+
maxLines?: number | undefined;
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
propTypes: {
|
|
22
|
+
/** props to inject to comment card wrapper */
|
|
23
|
+
containerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
24
|
+
/** form name */
|
|
25
|
+
name: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
26
|
+
/** style object */
|
|
27
|
+
style: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
28
|
+
/** date object */
|
|
29
|
+
date: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
30
|
+
/** comment type string */
|
|
31
|
+
type: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
32
|
+
/** comment content */
|
|
33
|
+
content: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
34
|
+
/** dropdown menu options */
|
|
35
|
+
options: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
36
|
+
/** dropdown selection */
|
|
37
|
+
selection: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
38
|
+
/** pass down props to dropdown */
|
|
39
|
+
customDropdownMenuProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
40
|
+
/** toggle border bottom for card */
|
|
41
|
+
borderBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
42
|
+
/** moment Year, month, and day tokens https://momentjs.com/docs/#/parsing/string-format/ */
|
|
43
|
+
dateFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
44
|
+
/** moment Hour, minute, second, millisecond, and offset tokens https://momentjs.com/docs/#/parsing/string-format/ */
|
|
45
|
+
timeFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
46
|
+
/**
|
|
47
|
+
* Max lines
|
|
48
|
+
*/
|
|
49
|
+
maxLines: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
50
|
+
};
|
|
51
|
+
displayName: string;
|
|
52
|
+
};
|
|
53
|
+
declare const DSCommentCardWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
|
|
54
|
+
containerProps?: {} | undefined;
|
|
55
|
+
name?: string | undefined;
|
|
56
|
+
date?: Date | undefined;
|
|
57
|
+
type?: string | undefined;
|
|
58
|
+
content?: string | undefined;
|
|
59
|
+
style?: {} | undefined;
|
|
60
|
+
options?: never[] | undefined;
|
|
61
|
+
selection?: {
|
|
62
|
+
'single-selection-internal-external': string[];
|
|
63
|
+
} | undefined;
|
|
64
|
+
customDropdownMenuProps?: {
|
|
65
|
+
focusOnOpen: boolean;
|
|
66
|
+
} | undefined;
|
|
67
|
+
borderBottom: any;
|
|
68
|
+
dateFormat?: string | undefined;
|
|
69
|
+
timeFormat?: string | undefined;
|
|
70
|
+
maxLines?: number | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
export default CommentCard;
|
|
73
|
+
export { DSCommentCardWithSchema };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DSCommentCardWithSchema } from './CommentCard';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
DSCommentCard: {
|
|
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
|
+
containerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
25
|
+
name: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
26
|
+
style: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
27
|
+
date: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
28
|
+
type: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
29
|
+
content: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
30
|
+
options: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
31
|
+
selection: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
32
|
+
customDropdownMenuProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
33
|
+
borderBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
34
|
+
dateFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
35
|
+
timeFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
36
|
+
maxLines: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
37
|
+
};
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
42
|
+
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,40 @@
|
|
|
1
|
+
import { DSCommentCardWithSchema } from './components/DSComments';
|
|
2
|
+
export declare const DSCommentCard: {
|
|
3
|
+
({ containerProps, name, date, type, content, style, options, selection, customDropdownMenuProps, borderBottom, dateFormat, timeFormat, maxLines, }: {
|
|
4
|
+
containerProps?: {} | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
6
|
+
date?: Date | undefined;
|
|
7
|
+
type?: string | undefined;
|
|
8
|
+
content?: string | undefined;
|
|
9
|
+
style?: {} | undefined;
|
|
10
|
+
options?: never[] | undefined;
|
|
11
|
+
selection?: {
|
|
12
|
+
'single-selection-internal-external': string[];
|
|
13
|
+
} | undefined;
|
|
14
|
+
customDropdownMenuProps?: {
|
|
15
|
+
focusOnOpen: boolean;
|
|
16
|
+
} | undefined;
|
|
17
|
+
borderBottom: any;
|
|
18
|
+
dateFormat?: string | undefined;
|
|
19
|
+
timeFormat?: string | undefined;
|
|
20
|
+
maxLines?: number | undefined;
|
|
21
|
+
}): JSX.Element;
|
|
22
|
+
propTypes: {
|
|
23
|
+
containerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
24
|
+
name: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
25
|
+
style: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
26
|
+
date: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
27
|
+
type: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
28
|
+
content: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
29
|
+
options: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
30
|
+
selection: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
31
|
+
customDropdownMenuProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
32
|
+
borderBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
33
|
+
dateFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
34
|
+
timeFormat: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
35
|
+
maxLines: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
36
|
+
};
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
39
|
+
export default DSCommentCard;
|
|
40
|
+
export { DSCommentCardWithSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-comments",
|
|
3
|
-
"version": "3.14.0-
|
|
3
|
+
"version": "3.14.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Comments",
|
|
6
6
|
"files": [
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"moment": "~2.29.3",
|
|
55
|
-
"@elliemae/ds-button": "3.14.0-
|
|
56
|
-
"@elliemae/ds-classnames": "3.14.0-
|
|
57
|
-
"@elliemae/ds-
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-
|
|
60
|
-
"@elliemae/ds-utilities": "3.14.0-
|
|
55
|
+
"@elliemae/ds-button": "3.14.0-rc.0",
|
|
56
|
+
"@elliemae/ds-classnames": "3.14.0-rc.0",
|
|
57
|
+
"@elliemae/ds-dropdownmenu": "3.14.0-rc.0",
|
|
58
|
+
"@elliemae/ds-icons": "3.14.0-rc.0",
|
|
59
|
+
"@elliemae/ds-read-more": "3.14.0-rc.0",
|
|
60
|
+
"@elliemae/ds-utilities": "3.14.0-rc.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"styled-components": "~5.3.6"
|