@messenger-box/platform-browser 0.0.1-alpha.108 → 0.0.1-alpha.114
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/CHANGELOG.md +32 -0
- package/lib/components/channel_view/DirectChannelView.d.ts +3 -0
- package/lib/components/channel_view/PublicChannelView.d.ts +3 -0
- package/lib/components/dashboard/menu_header.d.ts +5 -0
- package/lib/components/dashboard/modals/direct_modal.d.ts +9 -0
- package/lib/components/dashboard/modals.d.ts +8 -0
- package/lib/components/messenger/index.d.ts +1 -1
- package/lib/components/messenger/messagesList/index.d.ts +1 -0
- package/lib/components/overlay_trigger.d.ts +1 -1
- package/lib/components/post/index.d.ts +2 -2
- package/lib/compute.d.ts +6 -0
- package/lib/containers/Messenger.d.ts +1 -1
- package/lib/graphql/id-generation.d.ts +9 -0
- package/lib/graphql/policies/channel-policies.d.ts +2 -0
- package/lib/graphql/policies/index.d.ts +2 -0
- package/lib/graphql/policies/user-policies.d.ts +2 -0
- package/lib/index.js +923 -584
- package/lib/index.js.map +1 -1
- package/lib/style.d.ts +197 -198
- package/lib/widgets/overlay_trigger.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/channel_view/DirectChannelView.tsx +25 -0
- package/src/components/channel_view/PublicChannelView.tsx +24 -0
- package/src/components/dashboard/menu_header.tsx +49 -0
- package/src/components/dashboard/modals/direct_modal.tsx +47 -0
- package/src/components/dashboard/modals.tsx +94 -0
- package/src/components/messenger/index.tsx +34 -34
- package/src/components/messenger/messagesList/index.tsx +9 -1
- package/src/components/post/index.tsx +41 -17
- package/src/compute.tsx +21 -8
- package/src/containers/Dashboard.tsx +332 -425
- package/src/containers/Messenger.tsx +7 -7
- package/src/graphql/id-generation.ts +3 -0
- package/src/graphql/index.ts +2 -2
- package/src/graphql/mutations/channel-mutation.gql +4 -1
- package/src/graphql/policies/channel-policies.ts +7 -0
- package/src/graphql/policies/index.ts +2 -0
- package/src/graphql/policies/user-policies.ts +32 -0
- package/src/graphql/queries/channel.gql +2 -1
- package/src/graphql/queries/users.gql +19 -1
- package/src/graphql/schema/services.graphql +4 -1
- package/src/style.ts +204 -205
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.1-alpha.114](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.113...v0.0.1-alpha.114) (2022-01-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.1-alpha.113](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.112...v0.0.1-alpha.113) (2022-01-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.0.1-alpha.112](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.111...v0.0.1-alpha.112) (2022-01-06)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [0.0.1-alpha.110](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.109...v0.0.1-alpha.110) (2021-12-29)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [0.0.1-alpha.108](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.107...v0.0.1-alpha.108) (2021-12-09)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DirectModal: ({ showDirectChl, handleClose, selectedValues, handleSelect, options, handleGo }: {
|
|
3
|
+
showDirectChl: any;
|
|
4
|
+
handleClose: any;
|
|
5
|
+
selectedValues: any;
|
|
6
|
+
handleSelect: any;
|
|
7
|
+
options: any;
|
|
8
|
+
handleGo: any;
|
|
9
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Modals: ({ directMoreModal, publicChlModal, handleClose, handleChange, handleCreate }: {
|
|
3
|
+
directMoreModal: any;
|
|
4
|
+
publicChlModal: any;
|
|
5
|
+
handleClose: any;
|
|
6
|
+
handleChange: any;
|
|
7
|
+
handleCreate: any;
|
|
8
|
+
}) => JSX.Element;
|
|
@@ -6,5 +6,5 @@ export declare type BaseOverlayTrigger = OriginalOverlayTrigger & {
|
|
|
6
6
|
declare const OverlayTrigger: React.ForwardRefExoticComponent<Pick<OriginalOverlayTrigger.OverlayTriggerProps & {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
}, "children" | "key" | "className" | "disabled" | "
|
|
9
|
+
}, "children" | "key" | "className" | "disabled" | "animation" | "container" | "onEnter" | "onEntered" | "onEntering" | "onExit" | "onExited" | "onExiting" | "trigger" | "placement" | "overlay" | "containerPadding" | "defaultOverlayShown" | "delay" | "delayHide" | "delayShow" | "rootClose"> & React.RefAttributes<OriginalOverlayTrigger>>;
|
|
10
10
|
export default OverlayTrigger;
|
package/lib/compute.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export declare const messengerPageStore: any[];
|
|
2
3
|
declare const filteredMenus: any;
|
|
3
4
|
declare const filteredRoutes: any;
|
|
4
5
|
export { filteredRoutes, filteredMenus };
|
|
6
|
+
export declare const dashboardRoutes: {
|
|
7
|
+
path: string;
|
|
8
|
+
exact: boolean;
|
|
9
|
+
component: React.LazyExoticComponent<() => JSX.Element>;
|
|
10
|
+
}[];
|