@apolitical/component-library 9.0.0-pla.1 → 9.0.0-pla.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/communities/members-list/members-list.d.ts +6 -1
- package/helpers/intl.d.ts +1 -3
- package/index.js +103 -103
- package/index.mjs +2652 -2629
- package/package.json +3 -3
- package/style.css +1 -1
|
@@ -29,6 +29,11 @@ interface Props {
|
|
|
29
29
|
showPlaceholders?: boolean;
|
|
30
30
|
/** Additional classes */
|
|
31
31
|
className?: string;
|
|
32
|
+
/** Functions to handle owner actions */
|
|
33
|
+
ownersFns?: {
|
|
34
|
+
create: (memberId: string) => Promise<void>;
|
|
35
|
+
remove: (memberId: string) => Promise<void>;
|
|
36
|
+
};
|
|
32
37
|
}
|
|
33
|
-
declare const MembersList: ({ members: { data, total }, communitySlug, isMember, hasNextPage, loadNextPage, profile, gtmContext, gtmType, showHeader, showPlaceholders, className, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
38
|
+
declare const MembersList: ({ members: { data, total }, communitySlug, isMember, hasNextPage, loadNextPage, profile, gtmContext, gtmType, showHeader, showPlaceholders, className, ownersFns, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
34
39
|
export default MembersList;
|
package/helpers/intl.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
|
|
|
90
90
|
member_createdAt_community: string;
|
|
91
91
|
member_createdNow_community: string;
|
|
92
92
|
membersList: string;
|
|
93
|
-
|
|
93
|
+
membersList_owner: string;
|
|
94
94
|
membersList_profile: string;
|
|
95
95
|
membersList_modal_title: string;
|
|
96
96
|
courseStructure_section: string;
|
|
@@ -206,8 +206,6 @@ export declare const checkIntlPathExists: (path: string, language?: {
|
|
|
206
206
|
discussion_responses_answer: string;
|
|
207
207
|
discussion_responses_comment: string;
|
|
208
208
|
discussion_responses_title: string;
|
|
209
|
-
discussion_responses_empty: string;
|
|
210
|
-
discussion_responses_empty_answer: string;
|
|
211
209
|
discussion_responses_placeholder: string;
|
|
212
210
|
discussion_share_copy_link: string;
|
|
213
211
|
discussion_share_copy_link_success: string;
|