@pega/cosmos-react-social 8.0.0-build.9.0 → 8.0.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.
Files changed (212) hide show
  1. package/lib/components/Autopilot/Autopilot.d.ts.map +1 -1
  2. package/lib/components/Autopilot/Autopilot.js +2 -2
  3. package/lib/components/Autopilot/Autopilot.js.map +1 -1
  4. package/lib/components/Chat/Chat.d.ts +3 -3
  5. package/lib/components/Chat/Chat.d.ts.map +1 -1
  6. package/lib/components/Chat/Chat.js +1 -2
  7. package/lib/components/Chat/Chat.js.map +1 -1
  8. package/lib/components/Chat/Chat.types.d.ts +3 -1
  9. package/lib/components/Chat/Chat.types.d.ts.map +1 -1
  10. package/lib/components/Chat/Chat.types.js.map +1 -1
  11. package/lib/components/Chat/ChatBody.d.ts +2 -3
  12. package/lib/components/Chat/ChatBody.d.ts.map +1 -1
  13. package/lib/components/Chat/ChatBody.js +6 -8
  14. package/lib/components/Chat/ChatBody.js.map +1 -1
  15. package/lib/components/Chat/ChatComposer.d.ts +4 -4
  16. package/lib/components/Chat/ChatComposer.d.ts.map +1 -1
  17. package/lib/components/Chat/ChatComposer.js +15 -25
  18. package/lib/components/Chat/ChatComposer.js.map +1 -1
  19. package/lib/components/Chat/ChatHeader.d.ts +4 -3
  20. package/lib/components/Chat/ChatHeader.d.ts.map +1 -1
  21. package/lib/components/Chat/ChatHeader.js +3 -4
  22. package/lib/components/Chat/ChatHeader.js.map +1 -1
  23. package/lib/components/Chat/ChatSettingsPanel.styles.d.ts.map +1 -1
  24. package/lib/components/Chat/ChatSettingsPanel.styles.js +5 -2
  25. package/lib/components/Chat/ChatSettingsPanel.styles.js.map +1 -1
  26. package/lib/components/Chat/Message.d.ts +2 -3
  27. package/lib/components/Chat/Message.d.ts.map +1 -1
  28. package/lib/components/Chat/Message.js +6 -5
  29. package/lib/components/Chat/Message.js.map +1 -1
  30. package/lib/components/Chat/Message.styles.d.ts +2 -2
  31. package/lib/components/Chat/Message.styles.d.ts.map +1 -1
  32. package/lib/components/Chat/Message.styles.js +11 -3
  33. package/lib/components/Chat/Message.styles.js.map +1 -1
  34. package/lib/components/Chat/SuggestedReplyPicker.d.ts +3 -3
  35. package/lib/components/Chat/SuggestedReplyPicker.d.ts.map +1 -1
  36. package/lib/components/Chat/SuggestedReplyPicker.js +3 -3
  37. package/lib/components/Chat/SuggestedReplyPicker.js.map +1 -1
  38. package/lib/components/Chat/SystemMessage.d.ts +2 -3
  39. package/lib/components/Chat/SystemMessage.d.ts.map +1 -1
  40. package/lib/components/Chat/SystemMessage.js +1 -2
  41. package/lib/components/Chat/SystemMessage.js.map +1 -1
  42. package/lib/components/Chat/TypeIndicator.d.ts +2 -3
  43. package/lib/components/Chat/TypeIndicator.d.ts.map +1 -1
  44. package/lib/components/Chat/TypeIndicator.js +1 -2
  45. package/lib/components/Chat/TypeIndicator.js.map +1 -1
  46. package/lib/components/Email/ContextMenuPopover.d.ts +1 -2
  47. package/lib/components/Email/ContextMenuPopover.d.ts.map +1 -1
  48. package/lib/components/Email/ContextMenuPopover.js.map +1 -1
  49. package/lib/components/Email/Email.d.ts +2 -3
  50. package/lib/components/Email/Email.d.ts.map +1 -1
  51. package/lib/components/Email/Email.js +11 -4
  52. package/lib/components/Email/Email.js.map +1 -1
  53. package/lib/components/Email/Email.styles.d.ts +4 -4
  54. package/lib/components/Email/Email.styles.d.ts.map +1 -1
  55. package/lib/components/Email/Email.styles.js +6 -3
  56. package/lib/components/Email/Email.styles.js.map +1 -1
  57. package/lib/components/Email/Email.types.d.ts +16 -17
  58. package/lib/components/Email/Email.types.d.ts.map +1 -1
  59. package/lib/components/Email/Email.types.js.map +1 -1
  60. package/lib/components/Email/EmailCaseView.js +1 -1
  61. package/lib/components/Email/EmailCaseView.js.map +1 -1
  62. package/lib/components/Email/EmailComposer.d.ts +3 -4
  63. package/lib/components/Email/EmailComposer.d.ts.map +1 -1
  64. package/lib/components/Email/EmailComposer.js +29 -8
  65. package/lib/components/Email/EmailComposer.js.map +1 -1
  66. package/lib/components/Email/EmailConversation.d.ts +6 -7
  67. package/lib/components/Email/EmailConversation.d.ts.map +1 -1
  68. package/lib/components/Email/EmailConversation.js +2 -2
  69. package/lib/components/Email/EmailConversation.js.map +1 -1
  70. package/lib/components/Email/EmailEntity.d.ts +2 -3
  71. package/lib/components/Email/EmailEntity.d.ts.map +1 -1
  72. package/lib/components/Email/EmailEntity.js.map +1 -1
  73. package/lib/components/Email/EmailSelector.d.ts +6 -2
  74. package/lib/components/Email/EmailSelector.d.ts.map +1 -1
  75. package/lib/components/Email/EmailSelector.js +25 -29
  76. package/lib/components/Email/EmailSelector.js.map +1 -1
  77. package/lib/components/Email/EmailShell.d.ts +2 -3
  78. package/lib/components/Email/EmailShell.d.ts.map +1 -1
  79. package/lib/components/Email/EmailShell.js +1 -1
  80. package/lib/components/Email/EmailShell.js.map +1 -1
  81. package/lib/components/Email/EmailSummaryItem.d.ts +3 -7
  82. package/lib/components/Email/EmailSummaryItem.d.ts.map +1 -1
  83. package/lib/components/Email/EmailSummaryItem.js +26 -26
  84. package/lib/components/Email/EmailSummaryItem.js.map +1 -1
  85. package/lib/components/Email/EmailSummaryList.d.ts +2 -3
  86. package/lib/components/Email/EmailSummaryList.d.ts.map +1 -1
  87. package/lib/components/Email/EmailSummaryList.js +17 -9
  88. package/lib/components/Email/EmailSummaryList.js.map +1 -1
  89. package/lib/components/Email/EntityList.d.ts +1 -3
  90. package/lib/components/Email/EntityList.d.ts.map +1 -1
  91. package/lib/components/Email/EntityList.js.map +1 -1
  92. package/lib/components/Email/utils/EntityHighlighter.d.ts.map +1 -1
  93. package/lib/components/Email/utils/EntityHighlighter.js +3 -5
  94. package/lib/components/Email/utils/EntityHighlighter.js.map +1 -1
  95. package/lib/components/Feed/Feed.context.d.ts +4 -49
  96. package/lib/components/Feed/Feed.context.d.ts.map +1 -1
  97. package/lib/components/Feed/Feed.context.js +1 -5
  98. package/lib/components/Feed/Feed.context.js.map +1 -1
  99. package/lib/components/Feed/Feed.d.ts +1 -3
  100. package/lib/components/Feed/Feed.d.ts.map +1 -1
  101. package/lib/components/Feed/Feed.js +15 -23
  102. package/lib/components/Feed/Feed.js.map +1 -1
  103. package/lib/components/Feed/Feed.types.d.ts +190 -252
  104. package/lib/components/Feed/Feed.types.d.ts.map +1 -1
  105. package/lib/components/Feed/Feed.types.js.map +1 -1
  106. package/lib/components/Feed/FeedAttachments.d.ts +2 -3
  107. package/lib/components/Feed/FeedAttachments.d.ts.map +1 -1
  108. package/lib/components/Feed/FeedAttachments.js +12 -19
  109. package/lib/components/Feed/FeedAttachments.js.map +1 -1
  110. package/lib/components/Feed/FeedContent.d.ts +2 -3
  111. package/lib/components/Feed/FeedContent.d.ts.map +1 -1
  112. package/lib/components/Feed/FeedContent.js +5 -43
  113. package/lib/components/Feed/FeedContent.js.map +1 -1
  114. package/lib/components/Feed/FeedContentFooter.d.ts.map +1 -1
  115. package/lib/components/Feed/FeedContentFooter.js +2 -15
  116. package/lib/components/Feed/FeedContentFooter.js.map +1 -1
  117. package/lib/components/Feed/FeedContentHeader.d.ts.map +1 -1
  118. package/lib/components/Feed/FeedContentHeader.js +76 -44
  119. package/lib/components/Feed/FeedContentHeader.js.map +1 -1
  120. package/lib/components/Feed/FeedCustomEditRegion.d.ts +6 -0
  121. package/lib/components/Feed/FeedCustomEditRegion.d.ts.map +1 -0
  122. package/lib/components/Feed/FeedCustomEditRegion.js +20 -0
  123. package/lib/components/Feed/FeedCustomEditRegion.js.map +1 -0
  124. package/lib/components/Feed/FeedCustomInputRegion.d.ts +6 -0
  125. package/lib/components/Feed/FeedCustomInputRegion.d.ts.map +1 -0
  126. package/lib/components/Feed/FeedCustomInputRegion.js +38 -0
  127. package/lib/components/Feed/FeedCustomInputRegion.js.map +1 -0
  128. package/lib/components/Feed/FeedEditRegion.d.ts +1 -2
  129. package/lib/components/Feed/FeedEditRegion.d.ts.map +1 -1
  130. package/lib/components/Feed/FeedEditRegion.js +41 -14
  131. package/lib/components/Feed/FeedEditRegion.js.map +1 -1
  132. package/lib/components/Feed/FeedInputRegion.d.ts +0 -1
  133. package/lib/components/Feed/FeedInputRegion.d.ts.map +1 -1
  134. package/lib/components/Feed/FeedInputRegion.js +53 -40
  135. package/lib/components/Feed/FeedInputRegion.js.map +1 -1
  136. package/lib/components/Feed/FeedLikeButton.d.ts +2 -2
  137. package/lib/components/Feed/FeedLikeButton.d.ts.map +1 -1
  138. package/lib/components/Feed/FeedLikeButton.js +5 -5
  139. package/lib/components/Feed/FeedLikeButton.js.map +1 -1
  140. package/lib/components/Feed/FeedModalList.d.ts.map +1 -1
  141. package/lib/components/Feed/FeedModalList.js +6 -7
  142. package/lib/components/Feed/FeedModalList.js.map +1 -1
  143. package/lib/components/Feed/FeedNewPost.d.ts +1 -2
  144. package/lib/components/Feed/FeedNewPost.d.ts.map +1 -1
  145. package/lib/components/Feed/FeedNewPost.js +44 -14
  146. package/lib/components/Feed/FeedNewPost.js.map +1 -1
  147. package/lib/components/Feed/FeedPost.d.ts +2 -3
  148. package/lib/components/Feed/FeedPost.d.ts.map +1 -1
  149. package/lib/components/Feed/FeedPost.js +50 -28
  150. package/lib/components/Feed/FeedPost.js.map +1 -1
  151. package/lib/components/Feed/FeedReply.d.ts +1 -2
  152. package/lib/components/Feed/FeedReply.d.ts.map +1 -1
  153. package/lib/components/Feed/FeedReply.js +24 -5
  154. package/lib/components/Feed/FeedReply.js.map +1 -1
  155. package/lib/components/Feed/FeedReplyInput.d.ts +1 -2
  156. package/lib/components/Feed/FeedReplyInput.d.ts.map +1 -1
  157. package/lib/components/Feed/FeedReplyInput.js +4 -5
  158. package/lib/components/Feed/FeedReplyInput.js.map +1 -1
  159. package/lib/components/Feed/FeedRichText.d.ts +3 -3
  160. package/lib/components/Feed/FeedRichText.d.ts.map +1 -1
  161. package/lib/components/Feed/FeedRichText.js +16 -8
  162. package/lib/components/Feed/FeedRichText.js.map +1 -1
  163. package/lib/components/Feed/FeedRichTextViewer.d.ts +10 -0
  164. package/lib/components/Feed/FeedRichTextViewer.d.ts.map +1 -0
  165. package/lib/components/Feed/FeedRichTextViewer.js +38 -0
  166. package/lib/components/Feed/FeedRichTextViewer.js.map +1 -0
  167. package/lib/components/Feed/FeedVisibilityControls.d.ts +4 -0
  168. package/lib/components/Feed/FeedVisibilityControls.d.ts.map +1 -0
  169. package/lib/components/Feed/FeedVisibilityControls.js +62 -0
  170. package/lib/components/Feed/FeedVisibilityControls.js.map +1 -0
  171. package/lib/components/Feed/MarkdownSyntax.d.ts +3 -0
  172. package/lib/components/Feed/MarkdownSyntax.d.ts.map +1 -0
  173. package/lib/components/Feed/MarkdownSyntax.js +66 -0
  174. package/lib/components/Feed/MarkdownSyntax.js.map +1 -0
  175. package/lib/components/Feed/index.d.ts +3 -1
  176. package/lib/components/Feed/index.d.ts.map +1 -1
  177. package/lib/components/Feed/index.js +2 -0
  178. package/lib/components/Feed/index.js.map +1 -1
  179. package/lib/components/HashtagButton/HashtagButton.js +2 -2
  180. package/lib/components/HashtagButton/HashtagButton.js.map +1 -1
  181. package/lib/components/MentionButton/MentionButton.d.ts.map +1 -1
  182. package/lib/components/MentionButton/MentionButton.js +2 -2
  183. package/lib/components/MentionButton/MentionButton.js.map +1 -1
  184. package/lib/components/OpenGraphPreview/OpenGraphPreview.d.ts +27 -0
  185. package/lib/components/OpenGraphPreview/OpenGraphPreview.d.ts.map +1 -0
  186. package/lib/components/OpenGraphPreview/OpenGraphPreview.js +39 -0
  187. package/lib/components/OpenGraphPreview/OpenGraphPreview.js.map +1 -0
  188. package/lib/components/OpenGraphPreview/OpenGraphPreview.styles.d.ts +13 -0
  189. package/lib/components/OpenGraphPreview/OpenGraphPreview.styles.d.ts.map +1 -0
  190. package/lib/components/OpenGraphPreview/OpenGraphPreview.styles.js +79 -0
  191. package/lib/components/OpenGraphPreview/OpenGraphPreview.styles.js.map +1 -0
  192. package/lib/components/OpenGraphPreview/OpenGraphPreview.test-ids.d.ts +3 -0
  193. package/lib/components/OpenGraphPreview/OpenGraphPreview.test-ids.d.ts.map +1 -0
  194. package/lib/components/OpenGraphPreview/OpenGraphPreview.test-ids.js +4 -0
  195. package/lib/components/OpenGraphPreview/OpenGraphPreview.test-ids.js.map +1 -0
  196. package/lib/components/OpenGraphPreview/index.d.ts +3 -0
  197. package/lib/components/OpenGraphPreview/index.d.ts.map +1 -0
  198. package/lib/components/OpenGraphPreview/index.js +2 -0
  199. package/lib/components/OpenGraphPreview/index.js.map +1 -0
  200. package/lib/index.d.ts +2 -0
  201. package/lib/index.d.ts.map +1 -1
  202. package/lib/index.js +2 -0
  203. package/lib/index.js.map +1 -1
  204. package/package.json +10 -10
  205. package/lib/components/Feed/FeedAnnouncer.d.ts +0 -6
  206. package/lib/components/Feed/FeedAnnouncer.d.ts.map +0 -1
  207. package/lib/components/Feed/FeedAnnouncer.js +0 -11
  208. package/lib/components/Feed/FeedAnnouncer.js.map +0 -1
  209. package/lib/components/Feed/FeedNewPostTypeMenu.d.ts +0 -5
  210. package/lib/components/Feed/FeedNewPostTypeMenu.d.ts.map +0 -1
  211. package/lib/components/Feed/FeedNewPostTypeMenu.js +0 -375
  212. package/lib/components/Feed/FeedNewPostTypeMenu.js.map +0 -1
@@ -1,332 +1,270 @@
1
- import type { Dispatch, MouseEvent, MutableRefObject, ReactElement, ReactNode, Ref, SetStateAction } from 'react';
2
- import type { AvatarProps, DateTimeDisplayProps, FileItemProps, FileListProps, MenuItemProps, NoChildrenProp } from '@pega/cosmos-react-core';
3
- import type { RichTextEditorProps, RichTextEditorState } from '@pega/cosmos-react-rte';
4
- import type { FeedContextValue } from './Feed.context';
1
+ import type { Dispatch, KeyboardEventHandler, MouseEvent, ReactElement, ReactNode, Ref, RefObject, SetStateAction } from 'react';
2
+ import type { AvatarProps, ComboBoxProps, DateTimeDisplayProps, FileItemProps, FileListProps, MenuItemProps, MenuProps, NoChildrenProp, OmitStrict, WithAttributes } from '@pega/cosmos-react-core';
3
+ import type { InteractionRenderers, MDMap, RichTextEditorProps, RichTextEditorState, RichTextViewerProps } from '@pega/cosmos-react-rte';
4
+ import type { BaseDialogProps } from '@pega/cosmos-react-core/lib/components/Dialog/Dialog.types';
5
+ import type { OpenGraphData } from '../OpenGraphPreview/OpenGraphPreview';
5
6
  export interface SubComponentVariant {
6
7
  variant: 'post' | 'reply';
7
8
  }
8
- export interface Filter {
9
- /** Sets DOM id for the control and associates label element via 'for' attribute. */
10
- id: string;
11
- /** Pass a string or a fragment with an Icon and string for the filter label. */
12
- label: ReactNode;
13
- /**
14
- * Disables the filter.
15
- * @default false
16
- */
17
- disabled?: boolean;
18
- /**
19
- * Sets on prop via onFilterChange.
20
- * @default false
21
- */
22
- on?: boolean;
23
- }
24
- export interface FeedProps extends NoChildrenProp {
25
- /** Title for the feed. */
26
- title: string;
27
- /** Information related to the user of the Feed. */
28
- userInfo: FeedContextValue['userInfo'];
29
- /** A set of search types that can be used to determine which data set to conduct a mention search on. */
30
- searchTypes?: FeedContextValue['searchTypes'];
31
- /** A callback that runs when a decorator search has been run inside of the feed. */
32
- onDecoratorSearch?: FeedContextValue['onSearch'];
33
- /** Results that will be shown in a Popover for a mention or tag search. */
34
- searchResults?: FeedContextValue['searchResults'];
35
- /** Information related to the Autopilot mention. */
36
- autopilotInfo?: FeedContextValue['autopilotInfo'];
37
- /** A callback that is triggered when an Autopilot mention is clicked. The callback sends back the target of the element. The callback should return a function component. */
38
- onAutopilotClick?: FeedContextValue['onAutopilotClick'];
39
- /** A callback that is triggered when a mention button is clicked. The callback sends back the id, text, and type of the mention. The callback should return a function component. */
40
- onMentionClick?: FeedContextValue['onMentionClick'];
41
- /** A callback that is triggered when a mention link is previewed. The callback sends back the id, text, and type of the mention. */
42
- onMentionPreview?: FeedContextValue['onMentionPreview'];
43
- /** A callback that is triggered when a hashtag is clicked. The callback sends back the test of the tag. */
44
- onTagClick?: FeedContextValue['onTagClick'];
45
- /** A list of configuration objects used to render custom components within Feed posts and replies based off of a given regex pattern. */
46
- interactionRenderers?: FeedContextValue['interactionRenderers'];
47
- /** A mapping for various element types to render custom components for within posts. */
48
- markdownMap?: FeedContextValue['markdownMap'];
49
- /** A set of filters to apply to the Feed. */
50
- filters?: Filter[];
51
- /** A callback that runs when the filter is toggled. */
52
- onFilterChange?: (filterId: string, on: boolean) => void;
53
- /** A callback that is triggered when the bottom of the Feed is scrolled into view so that additional posts may be displayed. */
54
- onLoadMore?: () => void;
55
- /** Indicates if the posts are being currently loading */
56
- loadingPosts?: boolean;
57
- /** A region to hold the new post component */
58
- newPostRegion?: ReactNode;
59
- /** A list of FeedPost components */
60
- posts?: ReactNode[];
61
- }
62
- export type FeedRichTextProps = Pick<RichTextEditorProps, 'label' | 'onChange' | 'onFocus' | 'onBlur' | 'height'>;
63
9
  export interface FeedAttachmentsProps extends SubComponentVariant, Pick<FileListProps, 'onDownloadAll'> {
64
10
  attachments?: FileItemProps[];
11
+ openGraphData?: OpenGraphData;
12
+ disabled?: boolean;
65
13
  ref?: Ref<HTMLDivElement>;
66
14
  }
67
- export interface FeedCompositionBaseProps {
68
- /** A unique ID for the new message. */
69
- id: string;
70
- /** A set of attachment files. */
71
- attachments?: FileItemProps[];
72
- /** A callback containing a list of added files that will run whenever files are added to the message. */
73
- onFilesAdded?: (files: File[]) => void;
74
- /** Callback that runs when the submit button has been clicked. */
75
- onSubmit: (event: {
76
- id: string;
77
- value: string;
78
- attachments: FileItemProps[];
79
- recipients?: RecipientMenuItem[];
80
- username: string;
81
- clear: () => void;
82
- }) => void;
15
+ export interface PostVisibilityControlProps extends Pick<FeedNewPostProps, 'visibilityMode'> {
16
+ visibility: Visibility;
17
+ setVisibility?: Dispatch<SetStateAction<Visibility>>;
18
+ /** Props for the private recipient control. */
19
+ recipientInput: RecipientInputProps;
83
20
  }
84
- export interface FeedInputRegionProps extends SubComponentVariant, FeedCompositionBaseProps {
85
- inputRegionEl: HTMLDivElement | null;
86
- rteRef: MutableRefObject<RichTextEditorState | undefined>;
87
- selectedRecipients?: RecipientMenuItem[];
21
+ export interface CustomPostSubmitEvent {
22
+ id: FeedNewPostProps['id'];
23
+ username: string;
24
+ /** The object identifying the type of the post. */
25
+ postType?: PostType;
26
+ visibility?: Visibility;
27
+ recipients?: RecipientMenuItem[];
88
28
  }
89
- export interface FeedEditRegionProps extends SubComponentVariant, Pick<FeedMessageBaseProps, 'id' | 'content' | 'onEditSubmit'> {
90
- setEditMode: Dispatch<SetStateAction<boolean>>;
91
- emptyEditText: boolean;
92
- setEmptyEditText: Dispatch<SetStateAction<boolean>>;
29
+ export interface DefaultPostSubmitEvent extends CustomPostSubmitEvent {
30
+ value: string;
31
+ attachments: FileItemProps[];
32
+ clear: () => void;
93
33
  }
94
- export interface FeedNewPostProps extends FeedCompositionBaseProps {
95
- /** If true, the new post input will focus on page load. */
96
- autoFocus?: boolean;
97
- /** Array of private recipient options. */
98
- recipients?: PostTypeMenuProps['recipients'];
99
- /** Handler for new search on private recipient options. */
100
- onRecipientSearch?: (newSearch: string) => void;
34
+ interface FeedBaseInputRegionProps extends SubComponentVariant, FeedCompositionBaseProps {
35
+ recipients?: RecipientMenuItem[];
36
+ postType?: PostType;
37
+ postTypeMenu?: ReactNode;
38
+ visibility?: Visibility;
39
+ visibilityControl?: ReactNode;
101
40
  }
102
- export interface FeedReplyInputProps extends FeedCompositionBaseProps {
103
- /** Callback that sets returns a shared ref to the RTE component */
104
- onSetInputRef?: (event: {
105
- ref: MutableRefObject<RichTextEditorState | undefined>;
106
- }) => void;
41
+ export interface FeedInputRegionProps extends FeedBaseInputRegionProps, DefaultPostConfig {
42
+ rteRef: RefObject<RichTextEditorState>;
43
+ }
44
+ export type FeedCustomInputRegionProps = FeedBaseInputRegionProps & CustomPostConfig;
45
+ export interface FeedEditRegionProps extends SubComponentVariant, DefaultEditConfig, Pick<FeedPostBaseProps, 'id'>, Pick<FeedPostProps, 'visibility' | 'recipients'> {
46
+ content: RichTextEditorProps['defaultValue'];
47
+ emptyEditText: boolean;
48
+ setEmptyEditText: Dispatch<SetStateAction<boolean>>;
107
49
  }
50
+ export type FeedCustomEditRegionProps = CustomEditConfig & Pick<FeedPostBaseProps, 'id'> & Pick<FeedPostProps, 'visibility' | 'recipients'>;
108
51
  export interface FeedModalListProps {
109
- /** The count for the list of items. */
110
- count: number;
111
- /** The heading for the Modal. */
52
+ count?: number;
112
53
  heading: string;
113
- /** The list of MenuItems to render in the Modal. */
114
54
  listItems: MenuItemProps[];
115
- /** A callback that is triggered when the bottom of the Modal list is scrolled into view so that additional data may be displayed. */
116
55
  onLoadMore?: () => void;
117
- /** Indicates if the data is being currently loading */
118
56
  loading?: boolean;
119
57
  }
120
- export type PostType = 'post' | 'private';
121
- export interface RecipientOption {
122
- /** Pretty printed recipient name */
123
- primary: string;
124
- /** Functional identifier of unique recipient */
125
- value: string;
126
- }
127
- export interface RecipientMenuItem {
58
+ export interface AutopilotInfo {
128
59
  id: string;
129
- selected?: boolean;
130
- primary: RecipientOption['primary'];
131
- value: RecipientOption['value'];
132
- secondary?: MenuItemProps['secondary'];
133
- visual?: MenuItemProps['visual'];
134
- }
135
- export interface PostTypeMenuProps {
136
- /** Array of private recipient options */
137
- recipients: RecipientOption[];
138
- /** Post type update handler */
139
- onSetPostType: (postType: PostType) => void;
140
- /** Private post recipient list update handler */
141
- onSelectedRecipientsUpdate: (recipients: RecipientMenuItem[]) => void;
142
- /** Handler for new search on private recipient options */
143
- onRecipientSearch: (newSearch: string) => void;
144
- reset: boolean;
145
- onReset: () => void;
146
- }
147
- export interface PostTypeMenuState {
148
- postType: PostType;
149
- itemsLoading: boolean;
150
- showTypeMenu: boolean;
151
- showRecipientMenu: boolean;
152
- viewingRecipients: boolean;
153
- searchValue: string;
154
- typeMenuItems: {
155
- id: string;
156
- primary: string;
157
- selected: boolean;
158
- value: PostType;
159
- }[];
160
- recipientMenuItems: RecipientMenuItem[];
161
- multiSelectItems: RecipientMenuItem[];
60
+ label: string;
61
+ meta?: string;
62
+ description?: string;
162
63
  }
163
64
  export interface FeedContentProps {
164
65
  children: ReactElement | string;
165
- /**
166
- * A maximum height in pixels to display post content within before prompting to expand the post.
167
- * @default Infinity
168
- */
169
66
  maxContentHeight?: number;
67
+ onLinkRender?: RichTextViewerProps['onMarkdownLinkRender'];
170
68
  ref?: Ref<HTMLDivElement>;
171
69
  }
172
- export interface FeedMessageBaseProps {
173
- /** Unique ID for the message. */
70
+ export type FeedContentHeaderProps = SubComponentVariant & Pick<FeedPostBaseProps, 'id' | 'fullname' | 'username' | 'postTimestamp' | 'avatarSrc' | 'icon' | 'userStatus' | 'menuItems' | 'edited' | 'editTimestamp' | 'onEdit' | 'onUserClick'> & Pick<FeedPostProps, 'visibility' | 'postType' | 'postContext' | 'recipients' | 'recipientsCount' | 'recipientsLoading' | 'onLoadMoreRecipients' | 'onRecipientInteraction'>;
71
+ export type FeedContentFooterProps = SubComponentVariant & Pick<FeedPostBaseProps, 'id' | 'username' | 'liked' | 'likes' | 'likeCount' | 'interactionsEnabled' | 'onCommentClick' | 'onLikeClick' | 'onLikeCountInteraction' | 'onLoadMoreLikes' | 'likesLoading'> & Pick<FeedPostProps, 'replies' | 'replyCount' | 'onShowMoreReplies' | 'onShowLessReplies' | 'repliesLoading'>;
72
+ export interface Filter {
73
+ id: string;
74
+ label: ReactNode;
75
+ disabled?: boolean;
76
+ on?: boolean;
77
+ }
78
+ export interface FeedRichTextProps extends Pick<RichTextEditorProps, 'label' | 'onChange' | 'onFocus' | 'onBlur' | 'height' | 'defaultValue'>, Pick<FeedProps, 'onLinkRender'> {
79
+ onKeyDown?: KeyboardEventHandler;
80
+ }
81
+ export type SearchType = {
82
+ id: string;
83
+ label: string;
84
+ };
85
+ export type FeedProps = WithAttributes<'div', NoChildrenProp & {
86
+ title: string;
87
+ userInfo: {
88
+ username: string;
89
+ fullname: string;
90
+ avatarSrc?: string;
91
+ userStatus?: AvatarProps['status'];
92
+ meta?: string[];
93
+ timeZone?: string;
94
+ };
95
+ searchTypes?: SearchType[];
96
+ onDecoratorSearch?: (e: {
97
+ type: 'mention' | 'tag';
98
+ search: string;
99
+ mentionType: string;
100
+ }) => void;
101
+ searchResults?: MenuItemProps[];
102
+ autopilotInfo?: AutopilotInfo;
103
+ onAutopilotClick?: (e: {
104
+ target?: BaseDialogProps['target'];
105
+ onDismiss?: () => void;
106
+ }) => JSX.Element | undefined;
107
+ onMentionClick?: (e: {
108
+ id: string;
109
+ text: string;
110
+ type: string;
111
+ target?: BaseDialogProps['target'];
112
+ closeGlimpse?: () => void;
113
+ }) => JSX.Element | undefined;
114
+ onMentionPreview?: (e: {
115
+ id: string;
116
+ text: string;
117
+ type: string;
118
+ }) => void;
119
+ onTagClick?: (tag: string) => void;
120
+ interactionRenderers?: InteractionRenderers[];
121
+ markdownMap?: MDMap;
122
+ filters?: Filter[];
123
+ onFilterChange?: (filterId: string, on: boolean) => void;
124
+ onLoadMore?: () => void;
125
+ loadingPosts?: boolean;
126
+ newPostRegion?: ReactNode;
127
+ posts?: ReactNode[];
128
+ onLinkRender?: (href: string, signal: AbortSignal) => Promise<OpenGraphData>;
129
+ }>;
130
+ export type Visibility = 'public' | 'private';
131
+ export type PostType = {
132
+ id: string;
133
+ label: string;
134
+ icon?: string;
135
+ };
136
+ export type RecipientMenuItem = Pick<MenuItemProps, 'id' | 'selected' | 'primary' | 'secondary' | 'visual'>;
137
+ export interface RecipientInputProps extends Pick<MenuProps, 'loadMore' | 'loading'>, Pick<ComboBoxProps, 'onMenuOpen'> {
138
+ availableRecipients: RecipientMenuItem[];
139
+ recipients: RecipientMenuItem[];
140
+ onSearch: (search: string) => void;
141
+ onAdd: (id: MenuItemProps['id']) => void;
142
+ onRemove: (id: MenuItemProps['id']) => void;
143
+ onToggle?: (id: MenuItemProps['id']) => void;
144
+ }
145
+ interface FeedCompositionBaseProps {
146
+ id: string;
147
+ banners?: ReactNode;
148
+ progress?: boolean;
149
+ }
150
+ export interface DefaultPostConfig {
151
+ attachments?: FileItemProps[];
152
+ onFilesAdded?: (files: File[]) => void;
153
+ onSubmit: (event: DefaultPostSubmitEvent) => void;
154
+ }
155
+ export interface CustomPostConfig {
156
+ content: ReactNode;
157
+ onSubmit: (event: CustomPostSubmitEvent) => void;
158
+ onCancel: (id: FeedNewPostProps['id']) => void;
159
+ }
160
+ export type FeedNewPostProps = WithAttributes<'div', FeedCompositionBaseProps & {
161
+ visibilityMode?: Visibility | 'selectable';
162
+ /** Props for the private recipient Combobox. */
163
+ recipientInput?: RecipientInputProps;
164
+ defaultConfig?: DefaultPostConfig;
165
+ customConfig?: CustomPostConfig;
166
+ postType?: PostType;
167
+ postTypes?: PostType[];
168
+ onPostTypeChange?: (postType: PostType) => void;
169
+ }>;
170
+ export type FeedReplyInputProps = WithAttributes<'div', FeedCompositionBaseProps & DefaultPostConfig & {
171
+ onSetInputRef?: (event: {
172
+ ref: RefObject<RichTextEditorState>;
173
+ }) => void;
174
+ }>;
175
+ export interface FeedPostBaseProps {
174
176
  id: string;
175
- /** Display name for the message author. */
176
177
  fullname: string;
177
- /** Username for the message author. */
178
178
  username: string;
179
- /** A timestamp of when the message was initially submitted. */
180
179
  postTimestamp: DateTimeDisplayProps['value'];
181
- /** The message content. */
182
180
  content: ReactElement | string;
183
- /** Attachments on the message. */
184
181
  attachments?: FileItemProps[];
185
- /** An image source for the message author's Avatar. */
186
182
  avatarSrc?: string;
187
- /** The name of an icon to render within the Avatar. */
188
183
  icon?: string;
189
- /** The status of the message author. */
190
184
  userStatus?: AvatarProps['status'];
191
- /** Set true if the user has liked the message. */
192
185
  liked?: boolean;
193
- /** A set of users that have liked the message. */
194
186
  likes?: MenuItemProps[];
195
- /** The total count of likes on the message. */
196
187
  likeCount?: number;
197
- /**
198
- * If true, the like and comment buttons will be enabled.
199
- * @default true
200
- */
201
188
  interactionsEnabled?: boolean;
202
- /**
203
- * A maximum height in pixels to display message content within before prompting to expand the message.
204
- * @default Infinity
205
- */
206
189
  maxContentHeight?: FeedContentProps['maxContentHeight'];
207
- /** A set of menu options for actions on the message. */
208
190
  menuItems?: MenuItemProps[];
209
- /** Callback that updates the message after being edited. If undefined, the message will not be editable. */
210
- onEditSubmit?: (event: {
191
+ onEdit?: (event: {
211
192
  id: string;
212
- value: string;
193
+ postType?: PostType;
194
+ visibility?: Visibility;
195
+ recipients?: RecipientMenuItem[];
213
196
  }) => void;
214
- /**
215
- * Flag that indicates if a message has been previously edited.
216
- * @default false
217
- */
218
197
  edited?: boolean;
219
- /** A timestamp of when the message was last edited. This will only display if edited prop is true. */
220
198
  editTimestamp?: DateTimeDisplayProps['value'];
221
- /** Callback that runs when the mouse pointer hovers over the message. */
222
199
  onMouseEnter?: (event: {
223
200
  id: string;
224
201
  }) => void;
225
- /** Callback that runs when the mouse pointer leaves the message. */
226
202
  onMouseLeave?: (event: {
227
203
  id: string;
228
204
  }) => void;
229
- /** Callback that runs when the author's name or Avatar has been clicked. */
230
205
  onUserClick?: (event: {
231
206
  id: string;
232
207
  username: string;
233
208
  }, clickEvent?: MouseEvent) => void;
234
- /** Callback that runs when the comment button has been clicked. */
235
209
  onCommentClick: (event: {
236
210
  id: string;
237
211
  username: string;
238
212
  }) => void;
239
- /** Callback that runs when the like button has been clicked. */
240
213
  onLikeClick: (event: {
241
214
  id: string;
242
215
  user: MenuItemProps;
243
216
  }) => void;
244
- /** Callback that runs when the like count on a message is hovered, focused, or clicked. */
245
217
  onLikeCountInteraction?: () => void;
246
- /** Callback that runs when the bottom of the extended like list Modal is reached, allowing for more likes to be loaded. */
247
218
  onLoadMoreLikes?: () => void;
248
- /** A loading indicator for the likes Modal. */
249
219
  likesLoading?: boolean;
250
220
  }
251
- export interface FeedPostProps extends FeedMessageBaseProps {
252
- /**
253
- * The type of message. If private, then only the designated recipients will be able to view the message.
254
- * @default 'public'
255
- */
256
- postType?: 'public' | 'private';
257
- /** The set of recipients assigned to a private message. */
258
- recipients?: MenuItemProps[];
259
- /** The total number of private recipients. */
221
+ export interface DefaultEditConfig extends Pick<FeedCompositionBaseProps, 'progress' | 'banners'> {
222
+ editContent?: never;
223
+ onEditSubmit: (event: {
224
+ id: FeedPostBaseProps['id'];
225
+ value: string;
226
+ visibility?: Visibility;
227
+ recipients?: RecipientMenuItem[];
228
+ }) => void;
229
+ onEditCancel?: (id: FeedPostBaseProps['id']) => void;
230
+ /** Props for the private recipient Combobox. */
231
+ recipientInput?: RecipientInputProps;
232
+ }
233
+ export interface CustomEditConfig extends Pick<FeedCompositionBaseProps, 'progress' | 'banners'> {
234
+ editContent: ReactNode;
235
+ onEditSubmit: (event: {
236
+ id: FeedPostBaseProps['id'];
237
+ visibility?: Visibility;
238
+ recipients?: RecipientMenuItem[];
239
+ }) => void;
240
+ onEditCancel: (id: FeedPostBaseProps['id']) => void;
241
+ /** Props for the private recipient Combobox. */
242
+ recipientInput?: RecipientInputProps;
243
+ }
244
+ export type FeedPostProps = WithAttributes<'div', FeedPostBaseProps & {
245
+ editConfig?: DefaultEditConfig | CustomEditConfig;
246
+ visibility?: Visibility;
247
+ postType?: PostType;
248
+ recipients?: RecipientMenuItem[];
260
249
  recipientsCount?: number;
261
- /** The context of the message. */
262
250
  postContext?: ReactElement | string;
263
- /** Callback that runs when the private recipient icon on a post is hovered, focused, or clicked. */
264
251
  onRecipientInteraction?: () => void;
265
- /** Callback that runs when the bottom of the extended private recipient list Modal is reached, allowing for more recipients to be loaded. */
266
252
  onLoadMoreRecipients?: () => void;
267
- /** A loading indicator for the recipients Modal. */
268
253
  recipientsLoading?: boolean;
269
- /** Props that will be passed into the reply input, see FeedReplyInput for more information. */
270
- replyInput: Pick<FeedReplyInputProps, 'onSubmit' | 'onFilesAdded' | 'attachments'>;
271
- /** The default visibility for the reply input. */
254
+ replyInput: OmitStrict<FeedCompositionBaseProps, 'id'> & DefaultPostConfig;
272
255
  replyInputShown?: boolean;
273
- /** An array to of replies for this message. */
274
256
  replies?: ReactElement[];
275
- /** A total count of all replies. */
276
257
  replyCount?: number;
277
- /** Callback that runs when the user clicks Show more button for the replies. */
278
258
  onShowMoreReplies?: (event: {
279
- id: string;
259
+ id: FeedPostBaseProps['id'];
280
260
  }) => void;
281
- /** Callback that runs when the user clicks Show less button for the replies. */
282
261
  onShowLessReplies?: (event: {
283
- id: string;
262
+ id: FeedPostBaseProps['id'];
284
263
  }) => void;
285
- /** A loading indicator for the replies. */
286
264
  repliesLoading?: boolean;
287
- }
288
- export type FeedReplyProps = FeedMessageBaseProps;
289
- export interface FeedContentHeaderProps extends SubComponentVariant {
290
- id: FeedMessageBaseProps['id'];
291
- fullname: FeedMessageBaseProps['fullname'];
292
- username: FeedMessageBaseProps['username'];
293
- postTimestamp: FeedMessageBaseProps['postTimestamp'];
294
- content: FeedMessageBaseProps['content'];
295
- avatarSrc?: FeedMessageBaseProps['avatarSrc'];
296
- icon?: FeedMessageBaseProps['icon'];
297
- userStatus?: FeedMessageBaseProps['userStatus'];
298
- postType?: FeedPostProps['postType'];
299
- postContext?: FeedPostProps['postContext'];
300
- recipients?: FeedPostProps['recipients'];
301
- recipientsCount?: FeedPostProps['recipientsCount'];
302
- menuItems?: FeedMessageBaseProps['menuItems'];
303
- edited?: FeedMessageBaseProps['edited'];
304
- editTimestamp?: FeedMessageBaseProps['editTimestamp'];
305
- recipientsLoading?: FeedPostProps['recipientsLoading'];
306
- onEditSubmit?: FeedMessageBaseProps['onEditSubmit'];
307
- onLoadMoreRecipients?: FeedPostProps['onLoadMoreRecipients'];
308
- onRecipientInteraction?: FeedPostProps['onRecipientInteraction'];
309
- onUserClick?: FeedMessageBaseProps['onUserClick'];
310
- setEditMode: Dispatch<SetStateAction<boolean>>;
311
- }
312
- export interface FeedContentFooterProps extends SubComponentVariant {
313
- id: FeedMessageBaseProps['id'];
314
- username: FeedMessageBaseProps['username'];
315
- liked?: FeedMessageBaseProps['liked'];
316
- likes?: FeedMessageBaseProps['likes'];
317
- likeCount?: FeedMessageBaseProps['likeCount'];
318
- interactionsEnabled?: FeedMessageBaseProps['interactionsEnabled'];
319
- onCommentClick: FeedMessageBaseProps['onCommentClick'];
320
- onLikeClick: FeedMessageBaseProps['onLikeClick'];
321
- onLikeCountInteraction?: FeedMessageBaseProps['onLikeCountInteraction'];
322
- onLoadMoreLikes?: FeedMessageBaseProps['onLoadMoreLikes'];
323
- likesLoading?: FeedMessageBaseProps['likesLoading'];
324
- replies?: FeedPostProps['replies'];
325
- replyCount?: FeedPostProps['replyCount'];
326
- onShowMoreReplies?: FeedPostProps['onShowMoreReplies'];
327
- onShowLessReplies?: FeedPostProps['onShowMoreReplies'];
328
- repliesLoading?: FeedPostProps['repliesLoading'];
329
- replyInputOpen?: boolean;
330
- setReplyInputOpen?: Dispatch<SetStateAction<boolean>>;
331
- }
265
+ }>;
266
+ export type FeedReplyProps = WithAttributes<'div', FeedPostBaseProps & {
267
+ editConfig?: DefaultEditConfig;
268
+ }>;
269
+ export {};
332
270
  //# sourceMappingURL=Feed.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Feed.types.d.ts","sourceRoot":"","sources":["../../../src/components/Feed/Feed.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,GAAG,EACH,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,aAAa,EACb,cAAc,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEvF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,MAAM;IACrB,oFAAoF;IACpF,EAAE,EAAE,MAAM,CAAC;IACX,gFAAgF;IAChF,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,EAA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,CAAC;IACzC,iBAAiB,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IACvD,iBAAiB,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IACvD,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"Feed.types.d.ts","sourceRoot":"","sources":["../../../src/components/Feed/Feed.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,oBAAoB,EACpB,UAAU,EACV,YAAY,EACZ,SAAS,EACT,GAAG,EACH,SAAS,EACT,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,aAAa,EACb,SAAS,EACT,cAAc,EACd,UAAU,EACV,cAAc,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,oBAAoB,EACpB,KAAK,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4DAA4D,CAAC;AAElG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,oBACf,SAAQ,mBAAmB,EACzB,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC;IACtC,WAAW,CAAC,EAAE,aAAa,EAAE,CAAC;IAE9B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;C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