beem-component 1.8.1 → 1.8.3

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 (111) hide show
  1. package/.babelrc +17 -0
  2. package/.eslintrc +16 -27
  3. package/.prettierrc +3 -2
  4. package/dist/components/Accordion/Accordion.js +14 -8
  5. package/dist/components/Avatars/avatars.js +3 -3
  6. package/dist/components/BannerCard/bannerCards.js +8 -6
  7. package/dist/components/ButtonGroup/buttonGroup.js +37 -0
  8. package/dist/components/Buttons/buttonAlertIcons.js +3 -3
  9. package/dist/components/Buttons/buttonDropdown copy.js +51 -50
  10. package/dist/components/Buttons/buttonDropdown.js +2 -2
  11. package/dist/components/Buttons/buttonIconsOnly.js +6 -4
  12. package/dist/components/Buttons/buttons.js +12 -6
  13. package/dist/components/Cards/cards.js +12 -6
  14. package/dist/components/ChatComponents/ChatBody/FeedPostComments.js +15 -7
  15. package/dist/components/ChatComponents/ChatBody/chatBody.js +33 -13
  16. package/dist/components/ChatComponents/ChatBody/sessionDetails.js +3 -3
  17. package/dist/components/ChatComponents/ChatBody/sessionTimeline.js +6 -4
  18. package/dist/components/ChatComponents/ChatHeader/chatHeader.js +3 -3
  19. package/dist/components/ChatComponents/ColorPicker/colorPicker.js +3 -3
  20. package/dist/components/ChatComponents/ContactCards/contactCards.js +14 -8
  21. package/dist/components/ChatComponents/FormAccordion/FormAccordion.js +12 -6
  22. package/dist/components/ChatComponents/InfoTab/infoTab.js +9 -5
  23. package/dist/components/ChatComponents/LabelAccordion/LabelAccordion.js +3 -3
  24. package/dist/components/ChatComponents/NoteAccordion/NoteAccordion.js +9 -5
  25. package/dist/components/Chats/chat.js +47 -29
  26. package/dist/components/Chats/chatInput.js +16 -8
  27. package/dist/components/Chats/chatwrapper.js +18 -8
  28. package/dist/components/Checkbox/checkboxToggler.js +12 -6
  29. package/dist/components/Checkbox/checkboxToggler.stories.js +2 -2
  30. package/dist/components/InputDatePicker.js +53 -0
  31. package/dist/components/Jumbotron/Jumbotron.js +35 -0
  32. package/dist/components/Jumbotron/Jumbotron.stories.js +32 -0
  33. package/dist/components/Lists/listBox.js +3 -3
  34. package/dist/components/Lists/listBox.stories.js +2 -2
  35. package/dist/components/Lists/listheader.js +3 -3
  36. package/dist/components/Lists/rowLabels.js +12 -6
  37. package/dist/components/Lists/rowLabels.stories.js +4 -1
  38. package/dist/components/Loader/loader.js +3 -3
  39. package/dist/components/MainWrapper/index.js +3 -3
  40. package/dist/components/MessageCounter/messageCounter.js +3 -3
  41. package/dist/components/Modals/modal.js +33 -21
  42. package/dist/components/Modals/modals.stories.js +2 -2
  43. package/dist/components/NoteBar/noteBar.js +5 -5
  44. package/dist/components/PaymentBox/paymentBox.js +12 -6
  45. package/dist/components/PerformanceIndicator/performanceIndicator.js +3 -3
  46. package/dist/components/Pills/pills.js +5 -5
  47. package/dist/components/ProfileIcon/ProfileIcon.js +12 -6
  48. package/dist/components/ProgressBar/progressbar.js +12 -6
  49. package/dist/components/ProgressRing/progressRing.js +14 -8
  50. package/dist/components/RouteLink/link.js +3 -3
  51. package/dist/components/ScrollBar/scrollBar.js +9 -5
  52. package/dist/components/SuperFluid/Content/index.js +3 -3
  53. package/dist/components/SuperFluid/ContentTitle.js/index.js +12 -6
  54. package/dist/components/SuperFluid/SegmentCard/index.js +20 -8
  55. package/dist/components/Tabs/tabs.js +3 -3
  56. package/dist/components/Tags/tags.js +5 -5
  57. package/dist/components/chatHeader.js +15 -7
  58. package/dist/components/checkbox.js +15 -7
  59. package/dist/components/contacts.js +33 -13
  60. package/dist/components/dropdown.js +25 -13
  61. package/dist/components/dropdownButton.js +9 -5
  62. package/dist/components/dropdownItems.js +22 -10
  63. package/dist/components/examples/App.js +8 -8
  64. package/dist/components/examples/chatBodyExample.js +1 -1
  65. package/dist/components/examples/selectExample.js +5 -5
  66. package/dist/components/globalStyles.js +1 -3
  67. package/dist/components/index.js +14 -0
  68. package/dist/components/input.js +9 -5
  69. package/dist/components/logo.js +3 -3
  70. package/dist/components/navbar.js +23 -9
  71. package/dist/components/search.js +17 -12
  72. package/dist/components/shadow.js +1 -1
  73. package/dist/components/wrapper.js +6 -4
  74. package/package.json +31 -16
  75. package/src/App.js +35 -253
  76. package/src/examples/AlertIcons.js +10 -5
  77. package/src/examples/Avatars.js +3 -2
  78. package/src/examples/Buttons.js +7 -10
  79. package/src/examples/Chat.js +9 -9
  80. package/src/examples/Input.js +79 -70
  81. package/src/examples/Logo.js +2 -2
  82. package/src/examples/Navbar.js +12 -12
  83. package/src/examples/Search.js +3 -2
  84. package/src/examples/SideBar.js +11 -11
  85. package/src/examples/Tags.js +3 -3
  86. package/src/lib/components/ButtonGroup/buttonGroup.js +38 -0
  87. package/src/lib/components/Buttons/buttonDropdown copy.js +51 -54
  88. package/src/lib/components/Buttons/buttonDropdown.js +6 -6
  89. package/src/lib/components/Chats/chat.js +23 -23
  90. package/src/lib/components/Chats/chatInput.js +8 -8
  91. package/src/lib/components/Chats/chatwrapper.js +2 -2
  92. package/src/lib/components/Checkbox/checkboxToggler.stories.js +0 -1
  93. package/src/lib/components/InputDatePicker.js +45 -0
  94. package/src/lib/components/Jumbotron/Jumbotron.js +54 -0
  95. package/src/lib/components/Jumbotron/Jumbotron.stories.js +31 -0
  96. package/src/lib/components/chatHeader.js +8 -3
  97. package/src/lib/components/contacts.js +3 -3
  98. package/src/lib/components/dropdown.js +7 -7
  99. package/src/lib/components/dropdownItems.js +6 -6
  100. package/src/lib/components/examples/App.js +53 -43
  101. package/src/lib/components/examples/InfoAccordion.js +6 -5
  102. package/src/lib/components/examples/chatBodyExample.js +5 -5
  103. package/src/lib/components/examples/selectExample.js +7 -7
  104. package/src/lib/components/index-copy.js +49 -49
  105. package/src/lib/components/index.js +4 -0
  106. package/src/lib/components/logo.js +2 -2
  107. package/src/lib/components/navbar.js +5 -5
  108. package/src/lib/components/search.js +10 -11
  109. package/src/lib/components/shadow.js +1 -1
  110. package/src/lib/components/wrapper.js +1 -2
  111. package/babel.config.js +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beem-component",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "private": false,
5
5
  "main": "dist/components/index.js",
6
6
  "scripts": {
@@ -9,27 +9,37 @@
9
9
  "clean": "rimraf dist",
10
10
  "compile": "npm run clean && cross-env NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
11
11
  "eject": "react-scripts eject",
12
+ "lint": "eslint --fix --ext .jsx,.js src/",
12
13
  "start": "PORT=3002 react-scripts start",
13
14
  "storybook": "start-storybook -p 6006",
14
15
  "test": "react-scripts test"
15
16
  },
16
- "browserslist": {
17
- "production": [
18
- ">0.2%",
19
- "not dead",
20
- "not op_mini all"
17
+ "commitlint": {
18
+ "extends": [
19
+ "@commitlint/config-conventional"
20
+ ]
21
+ },
22
+ "lint-staged": {
23
+ "*.{js,jsx}": [
24
+ "eslint --fix"
21
25
  ],
22
- "development": [
23
- "last 1 chrome version",
24
- "last 1 firefox version",
25
- "last 1 safari version"
26
+ "*.{md,html}": [
27
+ "prettier --write"
26
28
  ]
27
29
  },
30
+ "config": {
31
+ "commitizen": {
32
+ "path": "./node_modules/cz-conventional-changelog"
33
+ }
34
+ },
35
+ "browserslist": [
36
+ ">0.2%",
37
+ "not dead",
38
+ "not ie <= 11",
39
+ "not op_mini all"
40
+ ],
28
41
  "eslintConfig": {
29
- "extends": [
30
- "react-app",
31
- "react-app/jest"
32
- ]
42
+ "extends": "react-app"
33
43
  },
34
44
  "dependencies": {
35
45
  "@emotion/react": "^11.7.1",
@@ -45,13 +55,17 @@
45
55
  "prop-types": "^15.8.1",
46
56
  "react": "^17.0.2",
47
57
  "react-avatar": "^5.0.3",
58
+ "react-bootstrap-counter": "^1.0.1",
59
+ "react-datepicker": "^4.10.0",
48
60
  "react-dom": "^17.0.2",
49
61
  "react-icons": "^4.6.0",
50
62
  "react-pdf": "^5.7.2",
51
63
  "react-router-dom": "^5.3.0",
52
64
  "react-scripts": "^5.0.1",
65
+ "react-select": "^5.7.0",
66
+ "react-time-picker": "^5.2.0",
53
67
  "save": "^2.4.0",
54
- "styled-components": "^5.3.0",
68
+ "styled-components": "^5.3.3",
55
69
  "web-vitals": "^1.1.2"
56
70
  },
57
71
  "devDependencies": {
@@ -62,7 +76,7 @@
62
76
  "@babel/preset-react": "^7.18.6",
63
77
  "@commitlint/cli": "^14.1.0",
64
78
  "@commitlint/config-conventional": "^14.1.0",
65
- "@commitlint/travis-cli": "^14.1.0",
79
+ "@commitlint/travis-cli": "^13.2.1",
66
80
  "@storybook/addon-actions": "^6.3.2",
67
81
  "@storybook/addon-controls": "^6.3.12",
68
82
  "@storybook/addon-docs": "^6.3.12",
@@ -93,6 +107,7 @@
93
107
  "generate-changelog": "^1.8.0",
94
108
  "husky": "^7.0.4",
95
109
  "lint-staged": "^11.2.6",
110
+ "nock": "^13.2.0",
96
111
  "prettier": "^2.7.1",
97
112
  "storybook-addon-jsx": "^7.3.14"
98
113
  }
package/src/App.js CHANGED
@@ -1,261 +1,43 @@
1
- import React from 'react';
1
+ import React, { useState } from 'react';
2
+ import DatePicker from 'react-datepicker';
3
+ import CounterInput from 'react-bootstrap-counter';
4
+ import TimePicker from 'react-time-picker';
5
+ import { GlobalStyle } from './lib/components';
6
+ import BmButtonGroup from './lib/components/ButtonGroup/buttonGroup';
7
+ import InputDatePicker from './lib/components/InputDatePicker';
8
+
9
+ import 'react-datepicker/dist/react-datepicker.css';
10
+
11
+ const App = () => {
12
+ const [item, setItem] = useState();
13
+ const Occurance = ['Now', 'Later', 'Recurring'];
14
+ const [value, onChange] = useState('10:00');
15
+ const [counter, setCounter] = useState('1');
2
16
 
3
- import {
4
- BmInput,
5
- GlobalStyle,
6
-
7
- // BmCheckboxToggle,
8
- } from './lib/components';
9
-
10
- // const Chat = () => {
11
- // // const [test, setTest] = useState(false);
12
- // // const [test1, setTest1] = useState(false);
13
-
14
- // const image =
15
- // 'https://scontent.fnbo1-1.fna.fbcdn.net/v/t39.30808-6/298879098_10161724947807542_5252175668064009159_n.jpg?stp=dst-jpg_p720x720&_nc_cat=100&ccb=1-7&_nc_sid=9e2e56&_nc_ohc=9uDHII_ETpUAX_KNS3Y&_nc_ht=scontent.fnbo1-1.fna&edm=APCh5TUEAAAA&oh=00_AT8sOJmRGYwgXF48_GPOCWx1soil0yK8V3AiEPkce9WJIw&oe=6304120B';
16
- // return (
17
- // <>
18
- // <GlobalStyle />
19
- // <BmProfileIcon channel="google_business_messaging" />
20
- // <BmChat>
21
- // <BmChat.Body>
22
- // <BmChat.Details
23
- // state="inbound"
24
- // session="sms"
25
- // displayTime={<p>12:00pm</p>}
26
- // status="sent"
27
- // sessionTimeline={{ message: <p>12:00pm</p> }}
28
- // // sessionDetails={{
29
- // // message: <h3>Session Message</h3>,
30
- // // time: <p>12:00pm</p>,
31
- // // }}
32
- // feedPostComments={{
33
- // header: <p>Comment Reply</p>,
34
- // body: {
35
- // link: <p>This is an outbound link</p>,
36
- // image,
37
- // },
38
- // footer: <p>This is a Footer</p>,
39
- // state: 'inbound',
40
- // status: 'comment',
41
- // }}
42
- // />
43
- // <BmChat.Details
44
- // state="inbound"
45
- // session="live"
46
- // displayTime={<p>10:00am</p>}
47
- // sessionTimeline={{ message: <p>12:00pm</p> }}
48
- // status="failed"
49
- // fileName={<p>file.csv</p>}
50
- // file={image}
51
- // />
52
- // {/* <BmChat.Details
53
- // state="inbound"
54
- // session="sms"
55
- // displayTime={<p>12:00pm</p>}
56
- // status="sent"
57
- // sessionTimeline={{ message: <p>12:00pm</p> }}
58
- // sessionDetails={{
59
- // message: <h3>Session Message</h3>,
60
- // time: <p>12:00pm</p>,
61
- // }}
62
- // feedPostComments={{
63
- // header: <p>Comment Reply</p>,
64
- // body: {
65
- // link: <p>This is an inbound link</p>,
66
- // image,
67
- // },
68
- // footer: <p>This is a Footer</p>,
69
- // state: 'inbound',
70
- // status: 'comment',
71
- // }}
72
- // />
73
- // <BmChat.Details
74
- // state="outbound"
75
- // session="sms"
76
- // displayTime={<p>12:00pm</p>}
77
- // status="sent"
78
- // sessionTimeline={{ message: <p>12:00pm</p> }}
79
- // sessionDetails={{
80
- // message: <h3>Session Message</h3>,
81
- // time: <p>12:00pm</p>,
82
- // }}
83
- // feedPostComments={{
84
- // header: <p>Story Reply</p>,
85
- // body: {
86
- // link: <p>This is an outbound link</p>,
87
- // image,
88
- // },
89
- // footer: <p>This is a Footer</p>,
90
- // state: 'outbound',
91
- // status: 'story',
92
- // }}
93
- // />
94
- // <BmChat.Details
95
- // agentName="Agent Name"
96
- // state="outbound"
97
- // session="live"
98
- // displayTime={<p>12:00pm</p>}
99
- // status="sent"
100
- // sessionDetails={{
101
- // message: <h3>Session Message</h3>,
102
- // time: <p>12:00pm</p>,
103
- // }}
104
- // >
105
- // <p>Outbound Text Message2</p>
106
- // </BmChat.Details>
107
-
108
- // <BmChat.Details
109
- // agentName="Test Agent"
110
- // state="outbound"
111
- // session="live"
112
- // displayTime={<p>12:00pm</p>}
113
- // status="sent"
114
- // sessionDetails={{
115
- // message: <h3>Session Message</h3>,
116
- // time: <p>12:00pm</p>,
117
- // }}
118
- // >
119
- // <p>Outbound Text Message2</p>
120
- // </BmChat.Details>
121
-
122
- // <BmChat.Details
123
- // state="inbound"
124
- // session="sms"
125
- // displayTime={<p>12:00pm</p>}
126
- // status="sent"
127
- // sessionTimeline={{ message: <p>12:00pm</p> }}
128
- // sessionDetails={{
129
- // message: <h3>Session Message</h3>,
130
- // time: <p>12:00pm</p>,
131
- // }}
132
- // feedPostComments={{
133
- // header: <p>Story Reply</p>,
134
- // body: {
135
- // link: <p>This is an inbound link</p>,
136
- // image,
137
- // },
138
- // footer: <p>This is a Footer</p>,
139
- // state: 'inbound',
140
- // status: 'story',
141
- // }}
142
- // />
143
- // <BmChat.Details
144
- // state="inbound"
145
- // session="live"
146
- // displayTime={<p>12:00pm</p>}
147
- // status="sent"
148
- // sessionTimeline={{ message: <p>12:00pm</p> }}
149
- // fileName={<p>chat.png</p>}
150
- // src={image}
151
- // sessionDetails={{
152
- // message: <h3>Session Message</h3>,
153
- // time: <p>12:00pm</p>,
154
- // }}
155
- // />
156
- // <BmChat.Details
157
- // state="inbound"
158
- // session="live"
159
- // displayTime={<p>10:00am</p>}
160
- // sessionTimeline={{ message: <p>12:00pm</p> }}
161
- // status="failed"
162
- // fileName={<p>file.csv</p>}
163
- // file={image}
164
- // />
165
- // <BmChat.Details
166
- // state="outbound"
167
- // session="bot"
168
- // sessionTimeline={{ message: <p>12:00pm</p> }}
169
- // displayTime={<p>12:00pm</p>}
170
- // status="sent"
171
- // >
172
- // <p>Outbound Text Message</p>
173
- // </BmChat.Details>
174
- // <BmChat.Details
175
- // state="outbound"
176
- // session="live"
177
- // sessionTimeline={{ message: <p>12:00pm</p> }}
178
- // displayTime={<p>12:00pm</p>}
179
- // status="sent"
180
- // fileName={<p>chat.png</p>}
181
- // src={image}
182
- // />
183
- // <BmChat.Details
184
- // state="outbound"
185
- // session="live"
186
- // displayTime={<p>10:00am</p>}
187
- // status="failed"
188
- // fileName={<p>file.csv</p>}
189
- // sessionTimeline={{ message: <p>12:00pm</p> }}
190
- // file={image}
191
- // link={image}
192
- // onDownload={() => {
193
- // alert('hello');
194
- // }}
195
- // /> */}
196
- // </BmChat.Body>
197
- // <BmChat.Footer>
198
- // <div className="chat-footer">
199
- // <BmIcons icon={<EmojiEmotionsIcon />} size="xlarge" />
200
- // <BmIcons icon={<AttachFileIcon />} size="xlarge" />
201
- // <BmIcons icon={<QuickreplyIcon />} size="xlarge" />
202
- // <BmInput placeholder="Enter Message" style={{ flex: '1' }} />
203
- // <BmIcons icon={<SendIcon />} size="xlarge" />
204
- // </div>
205
- // </BmChat.Footer>
206
- // </BmChat>
207
-
208
- // {/* <BmCheckboxToggle
209
- // key="test"
210
- // checked={test}
211
- // onChange={(check) => {
212
- // console.log(check);
213
- // setTest(check);
214
- // }}
215
- // />
216
-
217
- // <BmCheckboxToggle
218
- // key="test1"
219
- // checked={test1}
220
- // onChange={(check) => {
221
- // console.log(check);
222
- // setTest(check);
223
- // }}
224
-
225
- // /> */}
226
-
227
- // <BmContactCard>
228
- // <BmContactCard.Profile>
229
- // <BmAvatar user="chatbot" size="medium" />
230
- // </BmContactCard.Profile>
231
- // <BmContactCard.Details>
232
- // <BmContactCard.SubDetails>
233
- // <h3>Contact Names</h3>
234
- // </BmContactCard.SubDetails>
235
- // <BmContactCard.SubDetails>
236
- // <p>
237
- // Message ijofdsg fogijfdogi odfigj ofdigj fdoigj odfigj ofdigj
238
- // odfigj ofdigj ofdijg dofigj dfoig jodfigj text
239
- // </p>
240
- // <BmCounter>10</BmCounter>
241
- // </BmContactCard.SubDetails>
242
- // <BmContactCard.SubDetails>
243
- // <BmTag variant="success">label</BmTag>
244
- // <p>10:00 am</p>
245
- // </BmContactCard.SubDetails>
246
- // </BmContactCard.Details>
247
- // </BmContactCard>
248
- // </>
249
- // );
250
- // };
251
-
252
- const Chat = () => {
253
17
  return (
254
18
  <>
255
19
  <GlobalStyle />
256
- <BmInput placeholder="tejal" state="positive" action="incomplete" />
20
+ <BmButtonGroup>
21
+ {Occurance &&
22
+ Occurance.map((e) => (
23
+ <BmButtonGroup.Item onClick={() => setItem(e)} active={e === item}>
24
+ <p>{e}</p>
25
+ </BmButtonGroup.Item>
26
+ ))}
27
+ </BmButtonGroup>
28
+ <DatePicker
29
+ isClearable
30
+ // dateFormat={DATE_FORMAT}
31
+ // selected={values.end_date}
32
+ // onChange={(date) => setFieldValue('end_date', date)}
33
+ // minDate={values.start_date}
34
+ placeholderText="Pick a date"
35
+ customInput={<InputDatePicker />}
36
+ />
37
+ <TimePicker onChange={onChange} value={value} />
38
+ <CounterInput onChange={setCounter} value={counter} />
257
39
  </>
258
40
  );
259
41
  };
260
42
 
261
- export default Chat;
43
+ export default App;
@@ -1,7 +1,8 @@
1
- import React, { Component } from "react";
2
- import { BmAlertIcon } from "../lib/components/buttonAlertIcons";
3
- import { AssignmentLateOutlined } from "@material-ui/icons";
4
- import NotificationsNoneIcon from "@material-ui/icons/NotificationsNone";
1
+ import React, { Component } from 'react';
2
+ import { AssignmentLateOutlined } from '@material-ui/icons';
3
+ import NotificationsNoneIcon from '@material-ui/icons/NotificationsNone';
4
+ import { BmAlertIcon } from '../lib/components/buttonAlertIcons';
5
+
5
6
  export class AlertIcons extends Component {
6
7
  render() {
7
8
  return (
@@ -11,7 +12,11 @@ export class AlertIcons extends Component {
11
12
  <div className="column">
12
13
  <div className="row">
13
14
  <p>Assignment</p>
14
- <BmAlertIcon icon={<AssignmentLateOutlined />} badgeContent={4} badgeColor="blue" />
15
+ <BmAlertIcon
16
+ icon={<AssignmentLateOutlined />}
17
+ badgeContent={4}
18
+ badgeColor="blue"
19
+ />
15
20
  </div>
16
21
  </div>
17
22
  <div className="column">
@@ -1,5 +1,6 @@
1
- import React, { Component } from "react";
2
- import { BmAvatar } from "../lib/components/avatars";
1
+ import React, { Component } from 'react';
2
+ import { BmAvatar } from '../lib/components/avatars';
3
+
3
4
  export class Avatars extends Component {
4
5
  render() {
5
6
  return (
@@ -1,6 +1,7 @@
1
- import React, { Component } from "react";
2
- import { BmButton } from "../lib/components/buttons";
3
- import { Favorite } from "@material-ui/icons";
1
+ import React, { Component } from 'react';
2
+ import { Favorite } from '@material-ui/icons';
3
+ import { BmButton } from '../lib/components/buttons';
4
+
4
5
  export class Buttons extends Component {
5
6
  render() {
6
7
  return (
@@ -16,14 +17,14 @@ export class Buttons extends Component {
16
17
  <BmButton
17
18
  variant="primary"
18
19
  size="large"
19
- onClick={() => alert("aaa")}
20
+ onClick={() => alert('aaa')}
20
21
  >
21
22
  Large
22
23
  </BmButton>
23
24
  </div>
24
25
  <div className="column">
25
26
  <BmButton
26
- onClick={() => alert("hello")}
27
+ onClick={() => alert('hello')}
27
28
  variant="primary"
28
29
  size="medium"
29
30
  >
@@ -99,11 +100,7 @@ export class Buttons extends Component {
99
100
  <div className="row">
100
101
  <p>Disabled</p>
101
102
  <div className="column">
102
- <BmButton
103
- variant="primary"
104
- size="large"
105
- disabled
106
- >
103
+ <BmButton variant="primary" size="large" disabled>
107
104
  Large
108
105
  </BmButton>
109
106
  </div>
@@ -1,28 +1,28 @@
1
+ import { AttachFile } from '@material-ui/icons';
2
+ import EmojiEmotionsIcon from '@material-ui/icons/EmojiEmotions';
1
3
  import {
2
4
  BmChat,
3
5
  BmChatMenu,
4
6
  MessageIn,
5
7
  MessageOut,
6
- } from "../lib/components/Chats/chatwrapper";
8
+ } from '../lib/components/Chats/chatwrapper';
7
9
  import {
8
10
  BmFileChat,
9
11
  BmImage,
10
12
  BmImageChat,
11
13
  BmUserChat,
12
14
  BmImageFileName,
13
- } from "../lib/components/Chats/chat";
15
+ } from '../lib/components/Chats/chat';
14
16
  import {
15
17
  BmMessageTab,
16
18
  BmAttachment,
17
19
  BmMessageTabInput,
18
20
  BmMessage,
19
21
  BmSend,
20
- } from "../lib/components/Chats/chatInput";
21
- import { BmEmojiIcon } from "../lib/components/iconStyles";
22
- import { AttachFile } from "@material-ui/icons";
23
- import EmojiEmotionsIcon from "@material-ui/icons/EmojiEmotions";
24
- import { BmLoader, Loader } from "../lib/components/loaders";
25
- import Image from "../lib/assets/chart-img.png";
22
+ } from '../lib/components/Chats/chatInput';
23
+ import { BmEmojiIcon } from '../lib/components/iconStyles';
24
+ import { BmLoader, Loader } from '../lib/components/loaders';
25
+ import Image from '../lib/assets/chart-img.png';
26
26
 
27
27
  export const Chat = () => {
28
28
  return (
@@ -48,7 +48,7 @@ export const Chat = () => {
48
48
  <MessageOut>
49
49
  {/* Text Messages */}
50
50
  <BmImageChat displayTime="3:54pm" type="outbound">
51
- <BmImage src={Image} alt="src"/>
51
+ <BmImage src={Image} alt="src" />
52
52
  <BmImageFileName type="outbound">attactment.jpg</BmImageFileName>
53
53
  </BmImageChat>
54
54
  <BmFileChat displayTime="3:54pm" type="inbound">