@apolitical/component-library 4.2.0-beta.0 → 4.2.1-ac.0

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.
@@ -1 +1,2 @@
1
1
  export declare const UUID_V4_REGEX: RegExp;
2
+ export declare const MENTION_REGEX: RegExp;
@@ -58,6 +58,11 @@ interface Props {
58
58
  locale?: string;
59
59
  /** If the post content is truncated */
60
60
  isTruncated?: boolean;
61
+ /** Optional styling options */
62
+ styling?: {
63
+ /** Option of whether or not to show the copy link button */
64
+ showShareLinkButton?: boolean;
65
+ };
61
66
  }
62
- 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, }: Props) => import("react/jsx-runtime").JSX.Element;
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;
63
68
  export default Post;