@messenger-box/platform-browser 0.0.1-alpha.95 → 0.0.1-alpha.96
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 +8 -0
- package/lib/components/InboxMessage/UserModalContent/index.d.ts +2 -0
- package/lib/components/InboxMessage/UserModalContent/style.d.ts +98 -0
- package/lib/components/InboxMessage/style.d.ts +11 -0
- package/lib/index.js +234 -31
- package/lib/index.js.map +1 -1
- package/package.json +3 -2
- package/src/components/InboxMessage/InboxDetails/index.tsx +1 -0
- package/src/components/InboxMessage/MessagesList/index.tsx +63 -7
- package/src/components/InboxMessage/UserModalContent/index.tsx +47 -0
- package/src/components/InboxMessage/UserModalContent/style.ts +98 -0
- package/src/components/InboxMessage/index.tsx +2 -3
- package/src/components/InboxMessage/style.ts +34 -23
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.96](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.95...v0.0.1-alpha.96) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.1-alpha.95](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.94...v0.0.1-alpha.95) (2021-12-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const styleSheet: {
|
|
2
|
+
UserContentStyles: () => {
|
|
3
|
+
display: string;
|
|
4
|
+
justifyContent: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
'& .user-info': {
|
|
7
|
+
border: string;
|
|
8
|
+
padding: string;
|
|
9
|
+
width: string;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
'& .avatar': {
|
|
12
|
+
textAlign: string;
|
|
13
|
+
marginBottom: string;
|
|
14
|
+
display: string;
|
|
15
|
+
flexDirection: string;
|
|
16
|
+
alignItems: string;
|
|
17
|
+
'& .ant-avatar-lg': {
|
|
18
|
+
height: string;
|
|
19
|
+
width: string;
|
|
20
|
+
'& svg': {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'& a': {
|
|
25
|
+
color: string;
|
|
26
|
+
textDecoration: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .identify': {
|
|
30
|
+
paddingBottom: string;
|
|
31
|
+
borderBottom: string;
|
|
32
|
+
'& h3': {
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
'& .get-badge-btn': {
|
|
36
|
+
height: string;
|
|
37
|
+
width: string;
|
|
38
|
+
borderRadius: string;
|
|
39
|
+
borderColor: string;
|
|
40
|
+
};
|
|
41
|
+
'& .get-badge-btn:hover ': {
|
|
42
|
+
color: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
'& .user-conformation': {
|
|
46
|
+
marginBottom: string;
|
|
47
|
+
'& h3': {
|
|
48
|
+
color: string;
|
|
49
|
+
};
|
|
50
|
+
'& .email-address': {
|
|
51
|
+
display: string;
|
|
52
|
+
'& p': {
|
|
53
|
+
fontSize: string;
|
|
54
|
+
marginLeft: string;
|
|
55
|
+
};
|
|
56
|
+
'& svg': {
|
|
57
|
+
fontSize: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
'& .user-details': {
|
|
63
|
+
width: string;
|
|
64
|
+
marginLeft: string;
|
|
65
|
+
'& .user': {
|
|
66
|
+
borderBottom: string;
|
|
67
|
+
paddingBottm: string;
|
|
68
|
+
'& h2': {
|
|
69
|
+
color: string;
|
|
70
|
+
};
|
|
71
|
+
'& p': {
|
|
72
|
+
marginBottom: string;
|
|
73
|
+
color: string;
|
|
74
|
+
};
|
|
75
|
+
'& a': {
|
|
76
|
+
color: string;
|
|
77
|
+
textDecoration: string;
|
|
78
|
+
};
|
|
79
|
+
'& h3': {
|
|
80
|
+
color: string;
|
|
81
|
+
fontSize: string;
|
|
82
|
+
'& svg': {
|
|
83
|
+
width: string;
|
|
84
|
+
height: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
'& .reviews': {
|
|
90
|
+
borderBottom: string;
|
|
91
|
+
padding: string;
|
|
92
|
+
'& a': {
|
|
93
|
+
color: string;
|
|
94
|
+
textDecoration: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -11,6 +11,17 @@ export declare const stylesheet: {
|
|
|
11
11
|
borderRight: string;
|
|
12
12
|
width: string;
|
|
13
13
|
height: string;
|
|
14
|
+
display: string;
|
|
15
|
+
flexDirection: string;
|
|
16
|
+
justifyContent: string;
|
|
17
|
+
'& .add-conversations': {
|
|
18
|
+
padding: string;
|
|
19
|
+
width: string;
|
|
20
|
+
borderTop: string;
|
|
21
|
+
'& .conversation-btn': {
|
|
22
|
+
width: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
14
25
|
};
|
|
15
26
|
'& .inbox-sidebar-active': {
|
|
16
27
|
borderRight: string;
|
package/lib/index.js
CHANGED
|
@@ -110,7 +110,7 @@ function InboxDetails({ handleToggle, toggleDrawer }) {
|
|
|
110
110
|
return (react_1.default.createElement("div", { className: css(style_1.styleSheet.detailDrawerStyles) },
|
|
111
111
|
react_1.default.createElement("div", { className: "details" },
|
|
112
112
|
react_1.default.createElement("h4", null, "Details"),
|
|
113
|
-
react_1.default.createElement(react_2.Button, { onClick: handleToggle, as: "a", className: "close-btn", rightIcon: react_1.default.createElement(icons_1.CloseOutlined, { color: "black" }) }))));
|
|
113
|
+
react_1.default.createElement(react_2.Button, { onClick: handleToggle, as: "a", className: "close-btn", marginRight: '10px', rightIcon: react_1.default.createElement(icons_1.CloseOutlined, { color: "black" }) }))));
|
|
114
114
|
}
|
|
115
115
|
exports.default = InboxDetails;
|
|
116
116
|
|
|
@@ -510,18 +510,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
510
510
|
const react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
511
511
|
const react_2 = __webpack_require__(/*! @chakra-ui/react */ "@chakra-ui/react");
|
|
512
512
|
const ai_1 = __webpack_require__(/*! react-icons/ai */ "react-icons/ai");
|
|
513
|
+
const UserModalContent_1 = __importDefault(__webpack_require__(/*! ../UserModalContent */ "./src/components/InboxMessage/UserModalContent/index.tsx"));
|
|
513
514
|
function MsgList({ messageList, currentUser }) {
|
|
515
|
+
const { isOpen, onOpen, onClose } = react_2.useDisclosure();
|
|
514
516
|
return (react_1.default.createElement(react_1.default.Fragment, null, messageList === null || messageList === void 0 ? void 0 : messageList.map((element, index) => {
|
|
515
|
-
var _a, _b;
|
|
517
|
+
var _a, _b, _c;
|
|
516
518
|
// if (message.author.username == user?.username ) {
|
|
517
519
|
return (react_1.default.createElement("div", { className: "message-list", key: index },
|
|
518
|
-
react_1.default.createElement(react_2.Box, { display: "flex", width:
|
|
519
|
-
react_1.default.createElement(react_2.Avatar, { width: "40px", height:
|
|
520
|
-
react_1.default.createElement(react_2.
|
|
521
|
-
react_1.default.createElement(react_2.
|
|
520
|
+
react_1.default.createElement(react_2.Box, { display: "flex", width: "100%" },
|
|
521
|
+
react_1.default.createElement(react_2.Avatar, { width: "40px", height: "40px", backgroundColor: "grey", borderRadius: "50%", marginRight: "15px", onClick: onOpen }),
|
|
522
|
+
react_1.default.createElement(react_2.Modal, { isOpen: isOpen, onClose: onClose, motionPreset: "slideInBottom" },
|
|
523
|
+
react_1.default.createElement(react_2.ModalOverlay, null),
|
|
524
|
+
react_1.default.createElement(react_2.ModalContent, { backgroundColor: "white", width: "1036px", position: "absolute", left: "530px", top: "100px", height: "700px", borderRadius: "10px", boxShadow: "0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)" },
|
|
525
|
+
react_1.default.createElement(react_2.Box, { display: "flex", justifyContent: "space-between", borderBottom: "1px solid rgb(221, 221, 221)", paddingBottom: "15px", paddingTop: "15px" },
|
|
526
|
+
react_1.default.createElement(react_2.ModalCloseButton, { as: "a", width: "30px", marginLeft: "10px", color: "black", _hover: { color: 'black' } })),
|
|
527
|
+
react_1.default.createElement(react_2.ModalBody, null,
|
|
528
|
+
react_1.default.createElement(UserModalContent_1.default, { username: (_a = element === null || element === void 0 ? void 0 : element.author) === null || _a === void 0 ? void 0 : _a.username })))),
|
|
529
|
+
react_1.default.createElement(react_2.Box, { width: "100%" },
|
|
530
|
+
react_1.default.createElement(react_2.Text, { fontSize: "20px", color: "black" }, (_b = element === null || element === void 0 ? void 0 : element.author) === null || _b === void 0 ? void 0 : _b.username),
|
|
522
531
|
react_1.default.createElement(react_2.Box, { d: "flex", justifyContent: "space-between" },
|
|
523
|
-
react_1.default.createElement(react_2.Text, { color:
|
|
524
|
-
currentUser !== ((
|
|
532
|
+
react_1.default.createElement(react_2.Text, { color: "grey" }, element === null || element === void 0 ? void 0 : element.message),
|
|
533
|
+
currentUser !== ((_c = element === null || element === void 0 ? void 0 : element.author) === null || _c === void 0 ? void 0 : _c.username) ? react_1.default.createElement(ai_1.AiFillFlag, { color: "black" }) : '')))));
|
|
525
534
|
// }
|
|
526
535
|
// else {
|
|
527
536
|
// return (
|
|
@@ -624,6 +633,190 @@ exports.styleSheet = {
|
|
|
624
633
|
};
|
|
625
634
|
|
|
626
635
|
|
|
636
|
+
/***/ }),
|
|
637
|
+
|
|
638
|
+
/***/ "./src/components/InboxMessage/UserModalContent/index.tsx":
|
|
639
|
+
/*!****************************************************************!*\
|
|
640
|
+
!*** ./src/components/InboxMessage/UserModalContent/index.tsx ***!
|
|
641
|
+
\****************************************************************/
|
|
642
|
+
/*! no static exports found */
|
|
643
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
644
|
+
|
|
645
|
+
"use strict";
|
|
646
|
+
|
|
647
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
648
|
+
if (k2 === undefined) k2 = k;
|
|
649
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
650
|
+
}) : (function(o, m, k, k2) {
|
|
651
|
+
if (k2 === undefined) k2 = k;
|
|
652
|
+
o[k2] = m[k];
|
|
653
|
+
}));
|
|
654
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
655
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
656
|
+
}) : function(o, v) {
|
|
657
|
+
o["default"] = v;
|
|
658
|
+
});
|
|
659
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
660
|
+
if (mod && mod.__esModule) return mod;
|
|
661
|
+
var result = {};
|
|
662
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
663
|
+
__setModuleDefault(result, mod);
|
|
664
|
+
return result;
|
|
665
|
+
};
|
|
666
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
667
|
+
const React = __importStar(__webpack_require__(/*! react */ "react"));
|
|
668
|
+
const react_fela_1 = __webpack_require__(/*! react-fela */ "react-fela");
|
|
669
|
+
const react_1 = __webpack_require__(/*! @chakra-ui/react */ "@chakra-ui/react");
|
|
670
|
+
const style_1 = __webpack_require__(/*! ./style */ "./src/components/InboxMessage/UserModalContent/style.ts");
|
|
671
|
+
const all_1 = __webpack_require__(/*! react-icons/all */ "react-icons/all");
|
|
672
|
+
function UserModalContent({ username }) {
|
|
673
|
+
const { css } = react_fela_1.useFela();
|
|
674
|
+
return (React.createElement("div", { className: css(style_1.styleSheet.UserContentStyles) },
|
|
675
|
+
React.createElement("div", { className: "user-info" },
|
|
676
|
+
React.createElement("div", { className: "avatar" },
|
|
677
|
+
React.createElement(react_1.Avatar, { size: "large", backgroundColor: "grey", width: "200px", height: "200px", borderRadius: "50%", marginBottom: '10px' }),
|
|
678
|
+
React.createElement("a", { href: "#" }, "Update photo")),
|
|
679
|
+
React.createElement(all_1.AiOutlineSecurityScan, { style: { width: '24px', height: '24px', color: 'black' } }),
|
|
680
|
+
React.createElement("div", { className: "identify" },
|
|
681
|
+
React.createElement("h3", null, "Identity verification"),
|
|
682
|
+
React.createElement(react_1.Text, { as: 'p', color: 'black' }, "Show others you\u2019re really you with the identity verification badge."),
|
|
683
|
+
React.createElement(react_1.Button, { className: "get-badge-btn", color: "black", bg: 'transparent' }, "Get the badge")),
|
|
684
|
+
React.createElement("div", { className: "user-conformation" },
|
|
685
|
+
React.createElement("h3", null,
|
|
686
|
+
username,
|
|
687
|
+
" confirmed "),
|
|
688
|
+
React.createElement("div", { className: "email-address" },
|
|
689
|
+
React.createElement(all_1.FiCheck, { color: "black" }),
|
|
690
|
+
React.createElement(react_1.Text, { as: 'p', color: 'black' }, "Email address")))),
|
|
691
|
+
React.createElement("div", { className: "user-details" },
|
|
692
|
+
React.createElement("div", { className: "user" },
|
|
693
|
+
React.createElement("h2", null,
|
|
694
|
+
"Hi, I'm ",
|
|
695
|
+
username),
|
|
696
|
+
React.createElement(react_1.Text, { as: 'p' }, "Joined in 2021"),
|
|
697
|
+
React.createElement("a", null, "Edit profile"),
|
|
698
|
+
React.createElement("h3", null,
|
|
699
|
+
React.createElement(all_1.BsFillStarFill, { color: "black" }),
|
|
700
|
+
" Reviews")),
|
|
701
|
+
React.createElement("div", { className: "reviews" },
|
|
702
|
+
React.createElement("a", null, "Reviews by you")))));
|
|
703
|
+
}
|
|
704
|
+
exports.default = UserModalContent;
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/***/ }),
|
|
708
|
+
|
|
709
|
+
/***/ "./src/components/InboxMessage/UserModalContent/style.ts":
|
|
710
|
+
/*!***************************************************************!*\
|
|
711
|
+
!*** ./src/components/InboxMessage/UserModalContent/style.ts ***!
|
|
712
|
+
\***************************************************************/
|
|
713
|
+
/*! no static exports found */
|
|
714
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
715
|
+
|
|
716
|
+
"use strict";
|
|
717
|
+
|
|
718
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
719
|
+
exports.styleSheet = void 0;
|
|
720
|
+
exports.styleSheet = {
|
|
721
|
+
UserContentStyles: () => ({
|
|
722
|
+
display: 'flex',
|
|
723
|
+
justifyContent: 'space-between',
|
|
724
|
+
padding: '20px',
|
|
725
|
+
'& .user-info': {
|
|
726
|
+
border: '1px solid rgb(221, 221, 221)',
|
|
727
|
+
padding: '15px',
|
|
728
|
+
width: '40%',
|
|
729
|
+
borderRadius: '10px',
|
|
730
|
+
'& .avatar': {
|
|
731
|
+
textAlign: 'center',
|
|
732
|
+
marginBottom: '20px',
|
|
733
|
+
display: 'flex',
|
|
734
|
+
flexDirection: 'column',
|
|
735
|
+
alignItems: 'center',
|
|
736
|
+
'& .ant-avatar-lg': {
|
|
737
|
+
height: '150px',
|
|
738
|
+
width: '150px',
|
|
739
|
+
'& svg': {
|
|
740
|
+
fontSize: '130px',
|
|
741
|
+
},
|
|
742
|
+
},
|
|
743
|
+
'& a': {
|
|
744
|
+
color: 'black',
|
|
745
|
+
textDecoration: 'underline',
|
|
746
|
+
},
|
|
747
|
+
},
|
|
748
|
+
'& .identify': {
|
|
749
|
+
paddingBottom: '30px',
|
|
750
|
+
borderBottom: '1px solid rgb(221, 221, 221)',
|
|
751
|
+
'& h3': {
|
|
752
|
+
color: '#484848',
|
|
753
|
+
},
|
|
754
|
+
'& .get-badge-btn': {
|
|
755
|
+
height: '45px',
|
|
756
|
+
width: '170px',
|
|
757
|
+
borderRadius: '8px',
|
|
758
|
+
borderColor: 'rgb(34, 34, 34)',
|
|
759
|
+
},
|
|
760
|
+
'& .get-badge-btn:hover ': {
|
|
761
|
+
color: 'rgb(34, 34, 34)',
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
'& .user-conformation': {
|
|
765
|
+
marginBottom: '30px',
|
|
766
|
+
'& h3': {
|
|
767
|
+
color: '#484848',
|
|
768
|
+
},
|
|
769
|
+
'& .email-address': {
|
|
770
|
+
display: 'flex',
|
|
771
|
+
'& p': {
|
|
772
|
+
fontSize: '16px',
|
|
773
|
+
marginLeft: '7px',
|
|
774
|
+
},
|
|
775
|
+
'& svg': {
|
|
776
|
+
fontSize: '23px',
|
|
777
|
+
},
|
|
778
|
+
},
|
|
779
|
+
},
|
|
780
|
+
},
|
|
781
|
+
'& .user-details': {
|
|
782
|
+
width: '60%',
|
|
783
|
+
marginLeft: '25px',
|
|
784
|
+
'& .user': {
|
|
785
|
+
borderBottom: '1px solid rgb(221, 221, 221)',
|
|
786
|
+
paddingBottm: '30px',
|
|
787
|
+
'& h2': {
|
|
788
|
+
color: '#484848',
|
|
789
|
+
},
|
|
790
|
+
'& p': {
|
|
791
|
+
marginBottom: '20px',
|
|
792
|
+
color: 'rgb(113, 113, 113)',
|
|
793
|
+
},
|
|
794
|
+
'& a': {
|
|
795
|
+
color: 'black',
|
|
796
|
+
textDecoration: 'underline',
|
|
797
|
+
},
|
|
798
|
+
'& h3': {
|
|
799
|
+
color: '#484848',
|
|
800
|
+
fontSize: '20px',
|
|
801
|
+
'& svg': {
|
|
802
|
+
width: '16px',
|
|
803
|
+
height: '16px',
|
|
804
|
+
},
|
|
805
|
+
},
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
'& .reviews': {
|
|
809
|
+
borderBottom: '1px solid rgb(221, 221, 221)',
|
|
810
|
+
padding: '30px 0 30px 0',
|
|
811
|
+
'& a': {
|
|
812
|
+
color: 'black',
|
|
813
|
+
textDecoration: 'underline',
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
}),
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
|
|
627
820
|
/***/ }),
|
|
628
821
|
|
|
629
822
|
/***/ "./src/components/InboxMessage/index.tsx":
|
|
@@ -697,7 +890,6 @@ function InboxMessage() {
|
|
|
697
890
|
const currentUserAuth0Id = react_redux_1.useSelector((state) => state.user.auth0UserId);
|
|
698
891
|
const channelData = core_1.useGetChannelsByUserQuery();
|
|
699
892
|
const allChannels = core_1.useGetAllChannelQuery();
|
|
700
|
-
console.log(allChannels);
|
|
701
893
|
react_1.useEffect(() => {
|
|
702
894
|
if (!channelData.loading) {
|
|
703
895
|
let fChannel = [];
|
|
@@ -732,8 +924,8 @@ function InboxMessage() {
|
|
|
732
924
|
return setUserId(e.user);
|
|
733
925
|
});
|
|
734
926
|
setSelectedChannel(item);
|
|
927
|
+
setToggleDrawer(false);
|
|
735
928
|
};
|
|
736
|
-
console.log(userId, channel);
|
|
737
929
|
const usersRes = core_1.useGetAllUsersQuery();
|
|
738
930
|
react_1.useEffect(() => {
|
|
739
931
|
var _a;
|
|
@@ -857,7 +1049,7 @@ function InboxMessage() {
|
|
|
857
1049
|
react_1.default.createElement("p", null,
|
|
858
1050
|
"Use \u2191\u2193 to browse, \u21B5 to select.",
|
|
859
1051
|
react_1.default.createElement("span", null, " ")))))))),
|
|
860
|
-
react_1.default.createElement(react_2.Button, { size: "large", className: "conversation-btn", backgroundColor: "
|
|
1052
|
+
react_1.default.createElement(react_2.Button, { size: "large", className: "conversation-btn", backgroundColor: "#1890ff", height: "40px", borderRadius: "3px", border: 'none', color: 'white', variant: "outline", fontSize: '20px', onClick: () => setShowModal(true) }, "Add Conversations"))),
|
|
861
1053
|
react_1.default.createElement("div", { className: `msg-container${toggleDrawer ? '-active' : ''}` },
|
|
862
1054
|
react_1.default.createElement("div", { className: "border" }),
|
|
863
1055
|
showMessageSide == true ? (react_1.default.createElement(Messages_1.default, { id: id, user: user, userId: userId, currentUser: currentUser })) : ('')),
|
|
@@ -887,12 +1079,23 @@ exports.stylesheet = {
|
|
|
887
1079
|
height: '75vh',
|
|
888
1080
|
background: '#ffff',
|
|
889
1081
|
'& .conversations': {
|
|
890
|
-
width: '100%'
|
|
1082
|
+
width: '100%',
|
|
891
1083
|
},
|
|
892
1084
|
'& .inbox-sidebar': {
|
|
893
1085
|
borderRight: '1px solid #eaeaea',
|
|
894
1086
|
width: '25%',
|
|
895
1087
|
height: '100%',
|
|
1088
|
+
display: 'flex',
|
|
1089
|
+
flexDirection: 'column',
|
|
1090
|
+
justifyContent: 'space-between',
|
|
1091
|
+
'& .add-conversations': {
|
|
1092
|
+
padding: '20px',
|
|
1093
|
+
width: '100%',
|
|
1094
|
+
borderTop: '1px solid #eaeaea',
|
|
1095
|
+
'& .conversation-btn': {
|
|
1096
|
+
width: '100%',
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
896
1099
|
},
|
|
897
1100
|
'& .inbox-sidebar-active': {
|
|
898
1101
|
borderRight: '1px solid #eaeaea',
|
|
@@ -906,9 +1109,9 @@ exports.stylesheet = {
|
|
|
906
1109
|
width: '100%',
|
|
907
1110
|
borderTop: '1px solid #eaeaea',
|
|
908
1111
|
'& .conversation-btn': {
|
|
909
|
-
width: '100%'
|
|
910
|
-
}
|
|
911
|
-
}
|
|
1112
|
+
width: '100%',
|
|
1113
|
+
},
|
|
1114
|
+
},
|
|
912
1115
|
},
|
|
913
1116
|
'& .allmessage-header': {
|
|
914
1117
|
display: 'flex',
|
|
@@ -920,14 +1123,14 @@ exports.stylesheet = {
|
|
|
920
1123
|
marginTop: '15px',
|
|
921
1124
|
color: 'black',
|
|
922
1125
|
fontWeight: 'bold',
|
|
923
|
-
fontSize: '1em !important'
|
|
1126
|
+
fontSize: '1em !important',
|
|
924
1127
|
},
|
|
925
1128
|
'& .ant-btn': {
|
|
926
|
-
padding: '4px'
|
|
1129
|
+
padding: '4px',
|
|
927
1130
|
},
|
|
928
1131
|
'& .ant-btn:hover': {
|
|
929
|
-
background: '#eaeaea'
|
|
930
|
-
}
|
|
1132
|
+
background: '#eaeaea',
|
|
1133
|
+
},
|
|
931
1134
|
},
|
|
932
1135
|
'& .header-section': {
|
|
933
1136
|
marginBottom: '20px',
|
|
@@ -940,38 +1143,38 @@ exports.stylesheet = {
|
|
|
940
1143
|
marginRight: '5px',
|
|
941
1144
|
textAlign: 'center',
|
|
942
1145
|
'& .ant-btn-circle:hover': {
|
|
943
|
-
backgroundColor: '#eaeaea'
|
|
944
|
-
}
|
|
1146
|
+
backgroundColor: '#eaeaea',
|
|
1147
|
+
},
|
|
945
1148
|
},
|
|
946
1149
|
'& .ant-popover-inner-content': {
|
|
947
|
-
padding: '0'
|
|
1150
|
+
padding: '0',
|
|
948
1151
|
},
|
|
949
1152
|
'& .border': {
|
|
950
1153
|
height: '55px',
|
|
951
1154
|
width: '115%',
|
|
952
|
-
borderBottom: '1px solid #eaeaea'
|
|
1155
|
+
borderBottom: '1px solid #eaeaea',
|
|
953
1156
|
},
|
|
954
1157
|
'& .msg-container': {
|
|
955
|
-
width: '80%'
|
|
1158
|
+
width: '80%',
|
|
956
1159
|
},
|
|
957
1160
|
'& .msg-container-active': {
|
|
958
1161
|
width: '60%',
|
|
959
1162
|
'& .border': {
|
|
960
|
-
width: '100%'
|
|
961
|
-
}
|
|
1163
|
+
width: '100%',
|
|
1164
|
+
},
|
|
962
1165
|
},
|
|
963
1166
|
'& .inbox-details': {
|
|
964
1167
|
width: '20%',
|
|
965
1168
|
borderLeft: '1px solid #eaeaea',
|
|
966
|
-
transition:
|
|
1169
|
+
transition: '500ms',
|
|
967
1170
|
},
|
|
968
1171
|
'& .inbox-details-active': {
|
|
969
1172
|
width: '0',
|
|
970
|
-
transition:
|
|
1173
|
+
transition: '500ms',
|
|
971
1174
|
opacity: '0',
|
|
972
1175
|
border: 'none',
|
|
973
|
-
overflow:
|
|
974
|
-
}
|
|
1176
|
+
overflow: 'hidden',
|
|
1177
|
+
},
|
|
975
1178
|
}),
|
|
976
1179
|
modelStyle: () => ({
|
|
977
1180
|
display: 'flex',
|
|
@@ -1056,7 +1259,7 @@ exports.stylesheet = {
|
|
|
1056
1259
|
fontSize: '14px',
|
|
1057
1260
|
},
|
|
1058
1261
|
},
|
|
1059
|
-
})
|
|
1262
|
+
}),
|
|
1060
1263
|
};
|
|
1061
1264
|
|
|
1062
1265
|
|