@apolitical/component-library 5.5.3-ac.1 → 5.5.3-ac.3
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/discussion/components/post/post.d.ts +5 -2
- package/helpers/intl.d.ts +1 -0
- package/index.js +50 -50
- package/index.mjs +3735 -3712
- package/package.json +1 -1
- package/user/member/member.types.d.ts +7 -1
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { IMemberComponentProps } from '../../../user';
|
|
2
3
|
import { DiscussionCreateContentFunction, DiscussionCreateLikeFunction, DiscussionDeleteLikeFunction, DiscussionListLikesFunction, IDiscussionFormFns } from '../../discussion';
|
|
3
4
|
import type { IForceHide, IFullDiscussionContent } from '../../shared/interfaces';
|
|
4
5
|
import { IBadgesOption } from '../../../user/badges';
|
|
5
6
|
export interface IPostContent extends IFullDiscussionContent {
|
|
6
7
|
/** The post body */
|
|
7
8
|
postBody?: string;
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
componentProps?: {
|
|
10
|
+
/** Custom props to pass through to the Member component */
|
|
11
|
+
member: IMemberComponentProps;
|
|
12
|
+
};
|
|
10
13
|
}
|
|
11
14
|
export interface IDiscussionPostProps {
|
|
12
15
|
/** The element that will render around the content */
|
package/helpers/intl.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
|
|
|
70
70
|
member_community: string;
|
|
71
71
|
member_deleted: string;
|
|
72
72
|
member_profile: string;
|
|
73
|
+
member_createdAt_community: string;
|
|
73
74
|
membersList: string;
|
|
74
75
|
membersList_admin: string;
|
|
75
76
|
membersList_profile: string;
|