@openpeepshq/react 0.8.5 → 0.9.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.
- package/dist/components/conversations/DirectMessageSearch.d.ts +7 -0
- package/dist/components/conversations/DirectMessageSearch.js +46 -0
- package/dist/components/conversations/MessageInThread.d.ts +2 -1
- package/dist/components/conversations/MessageInThread.js +3 -3
- package/dist/components/conversations/index.d.ts +1 -0
- package/dist/components/conversations/index.js +1 -0
- package/dist/components/post/pieces/modals/DeletePostModal.js +4 -4
- package/dist/components/post/post-form/ArticleForm.d.ts +4 -1
- package/dist/components/post/post-form/ArticleForm.js +8 -3
- package/dist/components/post/post-form/EventForm.d.ts +4 -1
- package/dist/components/post/post-form/EventForm.js +8 -4
- package/dist/components/post/post-form/NewPostModal.js +4 -5
- package/dist/components/post/post-form/OpenpeepsMarkdownInput.js +7 -1
- package/dist/components/post/post-form/OpenpeepsMarkdownInput.test.d.ts +1 -0
- package/dist/components/post/post-form/OpenpeepsMarkdownInput.test.js +64 -0
- package/dist/contexts/openpeeps/hooks/conversations.d.ts +3 -2
- package/dist/contexts/openpeeps/hooks/conversations.js +8 -1
- package/dist/hooks/events/useEventComposer.d.ts +3 -0
- package/dist/hooks/events/useEventComposer.js +24 -1
- package/dist/hooks/posts/useArticleComposer.d.ts +3 -0
- package/dist/hooks/posts/useArticleComposer.js +24 -1
- package/dist/pages/admin/ConfigurationCommunity.js +1 -1
- package/dist/pages/admin/community/CommunityAccess.d.ts +6 -0
- package/dist/pages/admin/community/CommunityAccess.js +60 -0
- package/dist/pages/articles/New.js +2 -2
- package/dist/pages/conversations/Index.js +17 -11
- package/dist/pages/conversations/Show.js +63 -12
- package/dist/pages/events/New.js +2 -2
- package/dist/pages/groups/Index.js +1 -1
- package/dist/pages/index.d.ts +1 -0
- package/dist/pages/index.js +1 -0
- package/package.json +5 -5
- package/src/components/conversations/DirectMessageSearch.tsx +130 -0
- package/src/components/conversations/MessageInThread.tsx +9 -2
- package/src/components/conversations/index.ts +1 -0
- package/src/components/post/pieces/modals/DeletePostModal.tsx +11 -9
- package/src/components/post/post-form/ArticleForm.tsx +28 -1
- package/src/components/post/post-form/EventForm.tsx +28 -2
- package/src/components/post/post-form/NewPostModal.tsx +5 -11
- package/src/components/post/post-form/OpenpeepsMarkdownInput.tsx +8 -1
- package/src/contexts/openpeeps/hooks/conversations.ts +16 -3
- package/src/hooks/events/useEventComposer.ts +29 -1
- package/src/hooks/posts/useArticleComposer.ts +29 -1
- package/src/pages/admin/ConfigurationCommunity.tsx +4 -0
- package/src/pages/admin/community/CommunityAccess.tsx +129 -0
- package/src/pages/articles/New.tsx +10 -1
- package/src/pages/conversations/Index.tsx +51 -32
- package/src/pages/conversations/Show.tsx +97 -18
- package/src/pages/events/New.tsx +10 -1
- package/src/pages/groups/Index.tsx +1 -1
- package/src/pages/index.ts +1 -0
package/src/pages/events/New.tsx
CHANGED
|
@@ -13,6 +13,9 @@ export function NewEvent() {
|
|
|
13
13
|
submitting,
|
|
14
14
|
error,
|
|
15
15
|
clearError,
|
|
16
|
+
notify,
|
|
17
|
+
setNotify,
|
|
18
|
+
showNotify,
|
|
16
19
|
submit,
|
|
17
20
|
} = useNewEvent();
|
|
18
21
|
|
|
@@ -40,7 +43,13 @@ export function NewEvent() {
|
|
|
40
43
|
|
|
41
44
|
return (
|
|
42
45
|
<div className="pb-12">
|
|
43
|
-
<EventForm
|
|
46
|
+
<EventForm
|
|
47
|
+
postData={postData}
|
|
48
|
+
onChange={setPostData}
|
|
49
|
+
showNotify={showNotify}
|
|
50
|
+
notify={notify}
|
|
51
|
+
onNotifyChange={setNotify}
|
|
52
|
+
/>
|
|
44
53
|
|
|
45
54
|
{error ? (
|
|
46
55
|
<div className="px-3">
|
package/src/pages/index.ts
CHANGED
|
@@ -77,6 +77,7 @@ export { ConfigurationPluginPage } from './admin/ConfigurationPluginPage';
|
|
|
77
77
|
export { AdminConfigurationCommunity } from './admin/ConfigurationCommunity';
|
|
78
78
|
export { AdminConfigEditor } from './admin/ConfigEditor';
|
|
79
79
|
export { AdminConfigurationI18n } from './admin/ConfigurationI18n';
|
|
80
|
+
export { AdminConfigurationCommunityAccess } from './admin/community/CommunityAccess';
|
|
80
81
|
export { AdminConfigurationCommunityInfo } from './admin/community/CommunityInfo';
|
|
81
82
|
export { AdminConfigurationCommunityLinks } from './admin/community/CommunityLinks';
|
|
82
83
|
export { CommunityMarkdownPage } from './admin/community/CommunityMarkdownPage';
|