@messenger-box/platform-browser 5.0.11-alpha.0 → 5.0.11-alpha.5

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 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
+ ## [5.0.11-alpha.5](https://github.com/CDEBase/messenger-box/compare/v5.0.11-alpha.4...v5.0.11-alpha.5) (2024-04-10)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-browser
9
+
10
+ ## [5.0.11-alpha.4](https://github.com/CDEBase/messenger-box/compare/v5.0.11-alpha.3...v5.0.11-alpha.4) (2024-04-05)
11
+
12
+ **Note:** Version bump only for package @messenger-box/platform-browser
13
+
6
14
  ## [5.0.11-alpha.0](https://github.com/CDEBase/messenger-box/compare/v0.0.1-alpha.487...v5.0.11-alpha.0) (2024-03-28)
7
15
 
8
16
  **Note:** Version bump only for package @messenger-box/platform-browser
@@ -1,6 +1,6 @@
1
- import React__default from'react';import {Button}from'@chakra-ui/react';import {CloseOutlined}from'@ant-design/icons';import {css}from'@emotion/css';import {styleSheet}from'./style.js';function InboxDetails({ handleToggle, toggleDrawer }) {
1
+ import React__default from'react';import {Button}from'@chakra-ui/react';import {AiOutlineClose}from'@react-icons/all-files/ai/AiOutlineClose';import {css}from'@emotion/css';import {styleSheet}from'./style.js';function InboxDetails({ handleToggle, toggleDrawer }) {
2
2
  return (React__default.createElement("div", { className: css(styleSheet.detailDrawerStyles) },
3
3
  React__default.createElement("div", { className: "details" },
4
4
  React__default.createElement("h4", null, "Details"),
5
- React__default.createElement(Button, { onClick: handleToggle, as: "a", className: "close-btn", marginRight: '10px', rightIcon: React__default.createElement(CloseOutlined, { color: "black" }) }))));
5
+ React__default.createElement(Button, { onClick: handleToggle, as: "a", className: "close-btn", marginRight: '10px', rightIcon: React__default.createElement(AiOutlineClose, { color: "black" }) }))));
6
6
  }export{InboxDetails as default};//# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/InboxMessage/InboxDetails/index.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"yLAMwB,SAAA,YAAY,CAAC,EAAE,YAAY,EAAE,YAAY,EAAO,EAAA;IAEpE,QACIA,sCAAK,SAAS,EAAE,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAA;QAC9CA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAC,SAAS,EAAA;YACpBA,cAAgB,CAAA,aAAA,CAAA,IAAA,EAAA,IAAA,EAAA,SAAA,CAAA;AAChB,YAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACH,OAAO,EAAE,YAAY,EACrB,EAAE,EAAC,GAAG,EACN,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,MAAM,EAClB,SAAS,EAAEA,cAAA,CAAA,aAAA,CAAC,aAAa,EAAC,EAAA,KAAK,EAAC,OAAO,EAAG,CAAA,EAAA,CACpC,CACR,CACJ,EACR;AACN"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/InboxMessage/InboxDetails/index.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"iNAMwB,SAAA,YAAY,CAAC,EAAE,YAAY,EAAE,YAAY,EAAO,EAAA;IAEpE,QACIA,sCAAK,SAAS,EAAE,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAA;QAC9CA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAC,SAAS,EAAA;YACpBA,cAAgB,CAAA,aAAA,CAAA,IAAA,EAAA,IAAA,EAAA,SAAA,CAAA;AAChB,YAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACH,OAAO,EAAE,YAAY,EACrB,EAAE,EAAC,GAAG,EACN,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,MAAM,EAClB,SAAS,EAAEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAC,EAAA,KAAK,EAAC,OAAO,EAAG,CAAA,EAAA,CACrC,CACR,CACJ,EACR;AACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"messageBox.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/messagesList/messageBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAEvD,OAAO,oBAAoB,CAAC;AAO5B,eAAO,MAAM,UAAU,yBA4DtB,CAAC"}
1
+ {"version":3,"file":"messageBox.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/messagesList/messageBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAEvD,OAAO,oBAAoB,CAAC;AAU5B,eAAO,MAAM,UAAU,yBA4DtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"postMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/postMessage/postMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAS5C,eAAO,MAAM,WAAW,mCAgBvB,CAAC"}
1
+ {"version":3,"file":"postMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/postMessage/postMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAU5C,eAAO,MAAM,WAAW,mCAgBvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/sidebarThreadList/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAa5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGrD,UAAU,MAAM;IACZ,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AAMD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,MAAM,CA2KxC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/messenger/sidebarThreadList/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAY5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGrD,UAAU,MAAM;IACZ,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AAMD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,MAAM,CA2KxC,CAAC"}
package/lib/compute.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as React from'react';import {IMenuPosition}from'@common-stack/client-react';import {MessageOutlined}from'@ant-design/icons';import {getFilteredMenus,getFilteredRoutes}from'./utils/index.js';const Dashboard = React.lazy(() => import('./containers/Dashboard.js'));
1
+ import*as React from'react';import {IMenuPosition}from'@common-stack/client-react';import {AiOutlineInbox}from'@react-icons/all-files/ai/AiOutlineInbox';import {getFilteredMenus,getFilteredRoutes}from'./utils/index.js';const Dashboard = React.lazy(() => import('./containers/Dashboard.js'));
2
2
  React.lazy(() => import('./containers/Messenger.js'));
3
3
  React.lazy(() => import('./containers/Inbox.js'));
4
4
  const DirectChannelView = React.lazy(() => import('./components/channel_view/DirectChannelView.js'));
@@ -15,7 +15,7 @@ const PublicChannelView = React.lazy(() => import('./components/channel_view/Pub
15
15
  const messengerPageStore = [
16
16
  {
17
17
  exact: false,
18
- icon: React.createElement(MessageOutlined, null),
18
+ icon: React.createElement(AiOutlineInbox, null),
19
19
  key: 'dashboard',
20
20
  component: Dashboard,
21
21
  tab: 'Messenger',
@@ -25,7 +25,7 @@ const messengerPageStore = [
25
25
  },
26
26
  // {
27
27
  // exact: false,
28
- // icon: <MessageOutlined />,
28
+ // icon: <AiOutlineInbox />,
29
29
  // key: 'messenger-chat',
30
30
  // component: Dashboard,
31
31
  // tab: 'Messenger',
@@ -1 +1 @@
1
- {"version":3,"file":"compute.js","sources":["../src/compute.tsx"],"sourcesContent":[null],"names":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AAE,IAAI;AACX,QAAA,SAAS,EAAE,iBAAiB;AAC/B,KAAA;AACD,IAAA;AACI,QAAA,IAAI,EAAE,CAA4C,0CAAA,CAAA;AAClD,QAAA,KAAK,EAAE,IAAI;AACX,QAAA,SAAS,EAAE,iBAAiB;AAC/B,KAAA;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-browser",
3
- "version": "5.0.11-alpha.0",
3
+ "version": "5.0.11-alpha.5",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -26,8 +26,8 @@
26
26
  "@container-stack/file-info-client": "^5.0.9",
27
27
  "@emotion/react": "^11",
28
28
  "@emotion/styled": "^11",
29
- "@messenger-box/core": "5.0.11-alpha.0",
30
- "@messenger-box/platform-client": "5.0.11-alpha.0",
29
+ "@messenger-box/core": "5.0.11-alpha.5",
30
+ "@messenger-box/platform-client": "5.0.11-alpha.5",
31
31
  "bootstrap": "3.4.1",
32
32
  "css-vars-ponyfill": "2.4.5",
33
33
  "dynamic-virtualized-list": "github:mattermost/dynamic-virtualized-list#119db968c96643c7106d4d2c965f05b2e251bc83",
@@ -60,5 +60,5 @@
60
60
  "typescript": {
61
61
  "definition": "lib/index.d.ts"
62
62
  },
63
- "gitHead": "5253c44ec3ca295009613a2459f848e08656629c"
63
+ "gitHead": "906a872d168de0dd3468411df430ffc7dce8076a"
64
64
  }
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button } from '@chakra-ui/react';
3
- import { CloseOutlined } from '@ant-design/icons';
3
+ import { AiOutlineClose } from "@react-icons/all-files/ai/AiOutlineClose";
4
4
  import { css } from '@emotion/css';
5
5
  import { styleSheet } from './style';
6
6
 
@@ -15,7 +15,7 @@ export default function InboxDetails({ handleToggle, toggleDrawer }: any) {
15
15
  as="a"
16
16
  className="close-btn"
17
17
  marginRight='10px'
18
- rightIcon={<CloseOutlined color="black" />}
18
+ rightIcon={<AiOutlineClose color="black" />}
19
19
  ></Button>
20
20
  </div>
21
21
  </div>
@@ -5,7 +5,10 @@ import 'antd/dist/antd.css';
5
5
  import { Tooltip, Avatar } from 'antd';
6
6
  import { Comment, } from '@ant-design/compatible';
7
7
  import Moment from 'moment';
8
- import { DislikeOutlined, LikeOutlined, DislikeFilled, LikeFilled } from '@ant-design/icons';
8
+ import { AiFillLike } from "@react-icons/all-files/ai/AiFillLike";
9
+ import { AiOutlineLike } from "@react-icons/all-files/ai/AiOutlineLike";
10
+ import { AiOutlineDislike } from "@react-icons/all-files/ai/AiOutlineDislike";
11
+ import { AiFillDislike } from "@react-icons/all-files/ai/AiFillDislike";
9
12
 
10
13
  export const MessageBox = () => {
11
14
  const [likes, setLikes] = useState(0);
@@ -27,13 +30,13 @@ export const MessageBox = () => {
27
30
  const actions = [
28
31
  <Tooltip key="comment-basic-like" title="Like">
29
32
  <span onClick={like}>
30
- {createElement(action === 'liked' ? LikeFilled : LikeOutlined)}
33
+ {createElement(action === 'liked' ? AiFillLike : AiOutlineLike)}
31
34
  <span className="comment-action">{likes}</span>
32
35
  </span>
33
36
  </Tooltip>,
34
37
  <Tooltip key="comment-basic-dislike" title="Dislike">
35
38
  <span onClick={dislike}>
36
- {React.createElement(action === 'disliked' ? DislikeFilled : DislikeOutlined)}
39
+ {React.createElement(action === 'disliked' ? AiFillDislike : AiOutlineDislike)}
37
40
  <span className="comment-action">{dislikes}</span>
38
41
  </span>
39
42
  </Tooltip>,
@@ -1,6 +1,7 @@
1
1
  import React, { FC, useState } from 'react';
2
2
  import { Col, Input } from 'antd';
3
- import { SmileOutlined, PaperClipOutlined } from '@ant-design/icons';
3
+ import { AiOutlinePaperClip } from "@react-icons/all-files/ai/AiOutlinePaperClip";
4
+ import { AiOutlineSmile } from "@react-icons/all-files/ai/AiOutlineSmile";
4
5
  import { css } from '@emotion/css';
5
6
  import { IMessageList } from './../types/message';
6
7
  import { messagesData } from './../mock';
@@ -18,8 +19,8 @@ export const PostMessage = (props) => {
18
19
  style={{ width: '100%' }}
19
20
  />
20
21
  <div className="icon">
21
- <PaperClipOutlined />
22
- <SmileOutlined />
22
+ <AiOutlinePaperClip />
23
+ <AiOutlineSmile />
23
24
  </div>
24
25
  </div>
25
26
  )
@@ -4,7 +4,6 @@ import { Popover, Avatar } from 'antd';
4
4
  import { Comment } from '@ant-design/compatible';
5
5
  import { useSelector } from 'react-redux';
6
6
  import { IoBookmarkOutline } from 'react-icons/io5';
7
- import { CommentOutlined, SmileOutlined, SaveOutlined, EllipsisOutlined } from '@ant-design/icons';
8
7
  import { useGetUserAccountQuery } from '@adminide-stack/account-api-client';
9
8
  import { BiDotsHorizontalRounded, BiPaperPlane, BiEdit } from 'react-icons/bi';
10
9
  import { MdOutlineEmojiEmotions } from 'react-icons/md';
@@ -4,7 +4,7 @@ import { messagesData } from './../mock';
4
4
  import { IMessageList } from './../types/message';
5
5
  import { css } from '@emotion/css';
6
6
  import { Input, Col, Row } from 'antd';
7
- import { CloseOutlined } from '@ant-design/icons'
7
+ import { AiOutlineClose } from "@react-icons/all-files/ai/AiOutlineClose";
8
8
  import { HiOutlinePaperClip } from 'react-icons/hi';
9
9
  import { MdOutlineEmojiEmotions } from 'react-icons/md';
10
10
  import { Picker } from 'emoji-mart';
@@ -67,7 +67,7 @@ export const ThreadSidebar = (props) => {
67
67
  return (
68
68
  <div className={css(styleSheet.ThreadSidebarStyles)}>
69
69
  <Col>
70
- <div className='close-icon'><CloseOutlined /></div>
70
+ <div className='close-icon'><AiOutlineClose /></div>
71
71
  </Col>
72
72
  <Col md={16}>
73
73
  <SidebarThreadList userMessagesList={userMessagesReplyList} />
package/src/compute.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IMenuPosition } from '@common-stack/client-react';
3
- import { MessageOutlined } from '@ant-design/icons';
3
+ import { AiOutlineInbox } from '@react-icons/all-files/ai/AiOutlineInbox';
4
4
  import { getFilteredMenus, getFilteredRoutes } from './utils';
5
5
  const Dashboard = React.lazy(() => import('./containers/Dashboard'));
6
6
  const Messenger = React.lazy(() => import('./containers/Messenger'));
@@ -22,7 +22,7 @@ const PublicChannelView = React.lazy(() => import('./components/channel_view/Pub
22
22
  export const messengerPageStore: any[] = [
23
23
  {
24
24
  exact: false,
25
- icon: <MessageOutlined/>,
25
+ icon: <AiOutlineInbox/>,
26
26
  key: 'dashboard',
27
27
  component: Dashboard,
28
28
  tab: 'Messenger',
@@ -32,7 +32,7 @@ export const messengerPageStore: any[] = [
32
32
  },
33
33
  // {
34
34
  // exact: false,
35
- // icon: <MessageOutlined />,
35
+ // icon: <AiOutlineInbox />,
36
36
  // key: 'messenger-chat',
37
37
  // component: Dashboard,
38
38
  // tab: 'Messenger',