@apolitical/component-library 8.7.5-re.1 → 8.7.5

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.
@@ -97,8 +97,6 @@ export interface IDiscussionPostProps {
97
97
  /** The ID of the parent, used for slugs */
98
98
  parentId: string;
99
99
  disableMentions?: boolean;
100
- /** The function to call when the post is clicked */
101
- onClick?: (link?: string) => void;
102
100
  }
103
- declare const Post: ({ element, content, userHasPermissions, userHasOwnerPermissions, isLoading, originalAuthorId, forceHide, functions, links, className, gtmContext, children, isTruncated, setFocus, isCommunity, badges, basePath, parentId, locale, disableMentions, onClick: onClickPost, }: IDiscussionPostProps) => import("react/jsx-runtime").JSX.Element;
101
+ declare const Post: ({ element, content, userHasPermissions, userHasOwnerPermissions, isLoading, originalAuthorId, forceHide, functions, links, className, gtmContext, children, isTruncated, setFocus, isCommunity, badges, basePath, parentId, locale, disableMentions, }: IDiscussionPostProps) => import("react/jsx-runtime").JSX.Element;
104
102
  export default Post;
@@ -1,3 +1,3 @@
1
1
  export { default as ActivitiesFeed } from './activities-feed';
2
- export type { ICreatePollVars, IQueryFns, ICacheItem } from './cache';
2
+ export type { ICreatePollVars } from './cache';
3
3
  export { useActivitiesFeed } from './cache';
@@ -4,4 +4,3 @@ export * from './discussion.helpers';
4
4
  export * from './sections';
5
5
  export * from './shared/interfaces';
6
6
  export { getActivityPollOptions, constructActivityContent } from './shared/helpers';
7
- export { useScrollToPost } from './shared/hooks';