@apolitical/component-library 4.2.3-beta.1 → 4.2.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 +1 -1
- package/discussion/feeds/activities-feed/mocks/activities-feed.mock.d.ts +0 -27
- package/form/components/rich-text-editor/helpers/editor/editor.d.ts +1 -0
- package/form/components/rich-text-editor/helpers/editor/index.d.ts +1 -0
- package/form/components/rich-text-editor/helpers/index.d.ts +1 -0
- package/form/components/rich-text-editor/helpers/mentions/insert-mention.d.ts +1 -1
- package/index.js +45 -45
- package/index.mjs +3199 -3195
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/variables/colors/theme/_general.scss +1 -1
|
@@ -64,5 +64,5 @@ interface Props {
|
|
|
64
64
|
showShareLinkButton?: boolean;
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
declare const Post: ({ element, content, userHasPermissions, isLoading, originalAuthorId, forceHide, functions
|
|
67
|
+
declare const Post: ({ element, content, userHasPermissions, isLoading, originalAuthorId, forceHide, functions, links, className, gtmContext, children, isTruncated, styling: { showShareLinkButton }, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
68
68
|
export default Post;
|
|
@@ -80,33 +80,6 @@ export declare const activitiesFeedMock: {
|
|
|
80
80
|
time: string;
|
|
81
81
|
verb: string;
|
|
82
82
|
title?: undefined;
|
|
83
|
-
} | {
|
|
84
|
-
actor: {
|
|
85
|
-
created_at: string;
|
|
86
|
-
updated_at: string;
|
|
87
|
-
id: string;
|
|
88
|
-
data: {
|
|
89
|
-
jobTitle: string;
|
|
90
|
-
name: string;
|
|
91
|
-
organization: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
title: string;
|
|
95
|
-
feed_id: string;
|
|
96
|
-
foreign_id: string;
|
|
97
|
-
id: string;
|
|
98
|
-
latest_reactions: {};
|
|
99
|
-
latest_reactions_extra: {};
|
|
100
|
-
object: string;
|
|
101
|
-
origin: null;
|
|
102
|
-
own_reactions: {};
|
|
103
|
-
reaction_counts: {
|
|
104
|
-
like?: undefined;
|
|
105
|
-
};
|
|
106
|
-
target: string;
|
|
107
|
-
time: string;
|
|
108
|
-
verb: string;
|
|
109
|
-
content?: undefined;
|
|
110
83
|
})[];
|
|
111
84
|
next: string;
|
|
112
85
|
duration: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const focusEditor: (id: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './editor';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch } from 'react';
|
|
2
2
|
import { BaseEditor } from 'slate';
|
|
3
3
|
import { IMentionPopOver } from './../../rich-text-editor.types';
|
|
4
|
-
declare const insertMention: (editor: BaseEditor, mentionPopover: IMentionPopOver, dispatch: Dispatch<any
|
|
4
|
+
declare const insertMention: (editor: BaseEditor, mentionPopover: IMentionPopOver, dispatch: Dispatch<any>, id: string) => void;
|
|
5
5
|
export default insertMention;
|