@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.
@@ -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: { content: { createContent, deleteContent, updateContent }, likes: { createLike, deleteLike }, comments: { openComments }, mentions: { listMembers }, }, links, className, gtmContext, children, isTruncated, styling: { showShareLinkButton }, }: Props) => import("react/jsx-runtime").JSX.Element;
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,6 @@
1
1
  export * from './ast-types';
2
2
  export * from './deserialize';
3
+ export * from './editor';
3
4
  export * from './handle-text';
4
5
  export * from './hot-keys';
5
6
  export * from './mentions';
@@ -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>) => void;
4
+ declare const insertMention: (editor: BaseEditor, mentionPopover: IMentionPopOver, dispatch: Dispatch<any>, id: string) => void;
5
5
  export default insertMention;