beem-component 1.8.2 → 1.8.4

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 (106) 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/Jumbotron/Jumbotron.js +18 -7
  31. package/dist/components/Lists/listBox.js +3 -3
  32. package/dist/components/Lists/listBox.stories.js +2 -2
  33. package/dist/components/Lists/listheader.js +3 -3
  34. package/dist/components/Lists/rowLabels.js +12 -6
  35. package/dist/components/Lists/rowLabels.stories.js +4 -1
  36. package/dist/components/Loader/loader.js +3 -3
  37. package/dist/components/MainWrapper/index.js +3 -3
  38. package/dist/components/MessageCounter/messageCounter.js +3 -3
  39. package/dist/components/Modals/modal.js +33 -21
  40. package/dist/components/Modals/modals.stories.js +2 -2
  41. package/dist/components/NoteBar/noteBar.js +5 -5
  42. package/dist/components/PaymentBox/paymentBox.js +12 -6
  43. package/dist/components/PerformanceIndicator/performanceIndicator.js +3 -3
  44. package/dist/components/Pills/pills.js +5 -5
  45. package/dist/components/ProfileIcon/ProfileIcon.js +12 -6
  46. package/dist/components/ProgressBar/progressbar.js +12 -6
  47. package/dist/components/ProgressRing/progressRing.js +14 -8
  48. package/dist/components/RouteLink/link.js +3 -3
  49. package/dist/components/ScrollBar/scrollBar.js +9 -5
  50. package/dist/components/SuperFluid/Content/index.js +3 -3
  51. package/dist/components/SuperFluid/ContentTitle.js/index.js +12 -6
  52. package/dist/components/SuperFluid/SegmentCard/index.js +20 -8
  53. package/dist/components/Tabs/tabs.js +3 -3
  54. package/dist/components/Tags/tags.js +5 -5
  55. package/dist/components/chatHeader.js +15 -7
  56. package/dist/components/checkbox.js +15 -7
  57. package/dist/components/contacts.js +33 -13
  58. package/dist/components/dropdown.js +25 -13
  59. package/dist/components/dropdownButton.js +9 -5
  60. package/dist/components/dropdownItems.js +22 -10
  61. package/dist/components/examples/App.js +8 -8
  62. package/dist/components/examples/chatBodyExample.js +1 -1
  63. package/dist/components/examples/selectExample.js +5 -5
  64. package/dist/components/globalStyles.js +1 -3
  65. package/dist/components/index.js +7 -0
  66. package/dist/components/input.js +9 -5
  67. package/dist/components/logo.js +3 -3
  68. package/dist/components/navbar.js +23 -9
  69. package/dist/components/search.js +17 -12
  70. package/dist/components/shadow.js +1 -1
  71. package/dist/components/wrapper.js +6 -4
  72. package/package.json +28 -16
  73. package/src/App.js +15 -264
  74. package/src/examples/AlertIcons.js +10 -5
  75. package/src/examples/Avatars.js +3 -2
  76. package/src/examples/Buttons.js +7 -10
  77. package/src/examples/Chat.js +9 -9
  78. package/src/examples/Input.js +79 -70
  79. package/src/examples/Logo.js +2 -2
  80. package/src/examples/Navbar.js +12 -12
  81. package/src/examples/Search.js +3 -2
  82. package/src/examples/SideBar.js +11 -11
  83. package/src/examples/Tags.js +3 -3
  84. package/src/lib/components/ButtonGroup/buttonGroup.js +38 -0
  85. package/src/lib/components/Buttons/buttonDropdown copy.js +51 -54
  86. package/src/lib/components/Buttons/buttonDropdown.js +6 -6
  87. package/src/lib/components/Chats/chat.js +23 -23
  88. package/src/lib/components/Chats/chatInput.js +8 -8
  89. package/src/lib/components/Chats/chatwrapper.js +2 -2
  90. package/src/lib/components/Checkbox/checkboxToggler.stories.js +0 -1
  91. package/src/lib/components/chatHeader.js +8 -3
  92. package/src/lib/components/contacts.js +3 -3
  93. package/src/lib/components/dropdown.js +7 -7
  94. package/src/lib/components/dropdownItems.js +6 -6
  95. package/src/lib/components/examples/App.js +53 -43
  96. package/src/lib/components/examples/InfoAccordion.js +6 -5
  97. package/src/lib/components/examples/chatBodyExample.js +5 -5
  98. package/src/lib/components/examples/selectExample.js +7 -7
  99. package/src/lib/components/index-copy.js +49 -49
  100. package/src/lib/components/index.js +2 -0
  101. package/src/lib/components/logo.js +2 -2
  102. package/src/lib/components/navbar.js +5 -5
  103. package/src/lib/components/search.js +10 -11
  104. package/src/lib/components/shadow.js +1 -1
  105. package/src/lib/components/wrapper.js +1 -2
  106. package/babel.config.js +0 -11
package/src/App.js CHANGED
@@ -1,273 +1,24 @@
1
- import React from 'react';
2
- import Image from './lib/assets/beem.jpeg';
3
- import {
4
- BmInput,
5
- GlobalStyle,
1
+ import React, { useState } from 'react';
2
+ import { GlobalStyle } from './lib/components';
3
+ import BmButtonGroup from './lib/components/ButtonGroup/buttonGroup';
6
4
 
7
- // BmCheckboxToggle,
8
- } from './lib/components';
9
- import BmJumbotron from './lib/components/Jumbotron/Jumbotron';
5
+ const App = () => {
6
+ const [item, setItem] = useState();
7
+ const Occurance = ['Now', 'Later', 'Recurring'];
10
8
 
11
- // const Chat = () => {
12
- // // const [test, setTest] = useState(false);
13
- // // const [test1, setTest1] = useState(false);
14
-
15
- // const image =
16
- // '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';
17
- // return (
18
- // <>
19
- // <GlobalStyle />
20
- // <BmProfileIcon channel="google_business_messaging" />
21
- // <BmChat>
22
- // <BmChat.Body>
23
- // <BmChat.Details
24
- // state="inbound"
25
- // session="sms"
26
- // displayTime={<p>12:00pm</p>}
27
- // status="sent"
28
- // sessionTimeline={{ message: <p>12:00pm</p> }}
29
- // // sessionDetails={{
30
- // // message: <h3>Session Message</h3>,
31
- // // time: <p>12:00pm</p>,
32
- // // }}
33
- // feedPostComments={{
34
- // header: <p>Comment Reply</p>,
35
- // body: {
36
- // link: <p>This is an outbound link</p>,
37
- // image,
38
- // },
39
- // footer: <p>This is a Footer</p>,
40
- // state: 'inbound',
41
- // status: 'comment',
42
- // }}
43
- // />
44
- // <BmChat.Details
45
- // state="inbound"
46
- // session="live"
47
- // displayTime={<p>10:00am</p>}
48
- // sessionTimeline={{ message: <p>12:00pm</p> }}
49
- // status="failed"
50
- // fileName={<p>file.csv</p>}
51
- // file={image}
52
- // />
53
- // {/* <BmChat.Details
54
- // state="inbound"
55
- // session="sms"
56
- // displayTime={<p>12:00pm</p>}
57
- // status="sent"
58
- // sessionTimeline={{ message: <p>12:00pm</p> }}
59
- // sessionDetails={{
60
- // message: <h3>Session Message</h3>,
61
- // time: <p>12:00pm</p>,
62
- // }}
63
- // feedPostComments={{
64
- // header: <p>Comment Reply</p>,
65
- // body: {
66
- // link: <p>This is an inbound link</p>,
67
- // image,
68
- // },
69
- // footer: <p>This is a Footer</p>,
70
- // state: 'inbound',
71
- // status: 'comment',
72
- // }}
73
- // />
74
- // <BmChat.Details
75
- // state="outbound"
76
- // session="sms"
77
- // displayTime={<p>12:00pm</p>}
78
- // status="sent"
79
- // sessionTimeline={{ message: <p>12:00pm</p> }}
80
- // sessionDetails={{
81
- // message: <h3>Session Message</h3>,
82
- // time: <p>12:00pm</p>,
83
- // }}
84
- // feedPostComments={{
85
- // header: <p>Story Reply</p>,
86
- // body: {
87
- // link: <p>This is an outbound link</p>,
88
- // image,
89
- // },
90
- // footer: <p>This is a Footer</p>,
91
- // state: 'outbound',
92
- // status: 'story',
93
- // }}
94
- // />
95
- // <BmChat.Details
96
- // agentName="Agent Name"
97
- // state="outbound"
98
- // session="live"
99
- // displayTime={<p>12:00pm</p>}
100
- // status="sent"
101
- // sessionDetails={{
102
- // message: <h3>Session Message</h3>,
103
- // time: <p>12:00pm</p>,
104
- // }}
105
- // >
106
- // <p>Outbound Text Message2</p>
107
- // </BmChat.Details>
108
-
109
- // <BmChat.Details
110
- // agentName="Test Agent"
111
- // state="outbound"
112
- // session="live"
113
- // displayTime={<p>12:00pm</p>}
114
- // status="sent"
115
- // sessionDetails={{
116
- // message: <h3>Session Message</h3>,
117
- // time: <p>12:00pm</p>,
118
- // }}
119
- // >
120
- // <p>Outbound Text Message2</p>
121
- // </BmChat.Details>
122
-
123
- // <BmChat.Details
124
- // state="inbound"
125
- // session="sms"
126
- // displayTime={<p>12:00pm</p>}
127
- // status="sent"
128
- // sessionTimeline={{ message: <p>12:00pm</p> }}
129
- // sessionDetails={{
130
- // message: <h3>Session Message</h3>,
131
- // time: <p>12:00pm</p>,
132
- // }}
133
- // feedPostComments={{
134
- // header: <p>Story Reply</p>,
135
- // body: {
136
- // link: <p>This is an inbound link</p>,
137
- // image,
138
- // },
139
- // footer: <p>This is a Footer</p>,
140
- // state: 'inbound',
141
- // status: 'story',
142
- // }}
143
- // />
144
- // <BmChat.Details
145
- // state="inbound"
146
- // session="live"
147
- // displayTime={<p>12:00pm</p>}
148
- // status="sent"
149
- // sessionTimeline={{ message: <p>12:00pm</p> }}
150
- // fileName={<p>chat.png</p>}
151
- // src={image}
152
- // sessionDetails={{
153
- // message: <h3>Session Message</h3>,
154
- // time: <p>12:00pm</p>,
155
- // }}
156
- // />
157
- // <BmChat.Details
158
- // state="inbound"
159
- // session="live"
160
- // displayTime={<p>10:00am</p>}
161
- // sessionTimeline={{ message: <p>12:00pm</p> }}
162
- // status="failed"
163
- // fileName={<p>file.csv</p>}
164
- // file={image}
165
- // />
166
- // <BmChat.Details
167
- // state="outbound"
168
- // session="bot"
169
- // sessionTimeline={{ message: <p>12:00pm</p> }}
170
- // displayTime={<p>12:00pm</p>}
171
- // status="sent"
172
- // >
173
- // <p>Outbound Text Message</p>
174
- // </BmChat.Details>
175
- // <BmChat.Details
176
- // state="outbound"
177
- // session="live"
178
- // sessionTimeline={{ message: <p>12:00pm</p> }}
179
- // displayTime={<p>12:00pm</p>}
180
- // status="sent"
181
- // fileName={<p>chat.png</p>}
182
- // src={image}
183
- // />
184
- // <BmChat.Details
185
- // state="outbound"
186
- // session="live"
187
- // displayTime={<p>10:00am</p>}
188
- // status="failed"
189
- // fileName={<p>file.csv</p>}
190
- // sessionTimeline={{ message: <p>12:00pm</p> }}
191
- // file={image}
192
- // link={image}
193
- // onDownload={() => {
194
- // alert('hello');
195
- // }}
196
- // /> */}
197
- // </BmChat.Body>
198
- // <BmChat.Footer>
199
- // <div className="chat-footer">
200
- // <BmIcons icon={<EmojiEmotionsIcon />} size="xlarge" />
201
- // <BmIcons icon={<AttachFileIcon />} size="xlarge" />
202
- // <BmIcons icon={<QuickreplyIcon />} size="xlarge" />
203
- // <BmInput placeholder="Enter Message" style={{ flex: '1' }} />
204
- // <BmIcons icon={<SendIcon />} size="xlarge" />
205
- // </div>
206
- // </BmChat.Footer>
207
- // </BmChat>
208
-
209
- // {/* <BmCheckboxToggle
210
- // key="test"
211
- // checked={test}
212
- // onChange={(check) => {
213
- // console.log(check);
214
- // setTest(check);
215
- // }}
216
- // />
217
-
218
- // <BmCheckboxToggle
219
- // key="test1"
220
- // checked={test1}
221
- // onChange={(check) => {
222
- // console.log(check);
223
- // setTest(check);
224
- // }}
225
-
226
- // /> */}
227
-
228
- // <BmContactCard>
229
- // <BmContactCard.Profile>
230
- // <BmAvatar user="chatbot" size="medium" />
231
- // </BmContactCard.Profile>
232
- // <BmContactCard.Details>
233
- // <BmContactCard.SubDetails>
234
- // <h3>Contact Names</h3>
235
- // </BmContactCard.SubDetails>
236
- // <BmContactCard.SubDetails>
237
- // <p>
238
- // Message ijofdsg fogijfdogi odfigj ofdigj fdoigj odfigj ofdigj
239
- // odfigj ofdigj ofdijg dofigj dfoig jodfigj text
240
- // </p>
241
- // <BmCounter>10</BmCounter>
242
- // </BmContactCard.SubDetails>
243
- // <BmContactCard.SubDetails>
244
- // <BmTag variant="success">label</BmTag>
245
- // <p>10:00 am</p>
246
- // </BmContactCard.SubDetails>
247
- // </BmContactCard.Details>
248
- // </BmContactCard>
249
- // </>
250
- // );
251
- // };
252
-
253
- const Chat = () => {
254
9
  return (
255
10
  <>
256
11
  <GlobalStyle />
257
- <BmInput placeholder="tejal" state="positive" action="incomplete" />
258
- <BmJumbotron>
259
- <BmJumbotron.Title>
260
- <h3>Title</h3>
261
- </BmJumbotron.Title>
262
- <BmJumbotron.Body>
263
- <BmJumbotron.Body.Text>Body Text</BmJumbotron.Body.Text>
264
- <BmJumbotron.Body.Image>
265
- <img src={Image} alt="sampleImage" />
266
- </BmJumbotron.Body.Image>
267
- </BmJumbotron.Body>
268
- </BmJumbotron>
12
+ <BmButtonGroup>
13
+ {Occurance &&
14
+ Occurance.map((e) => (
15
+ <BmButtonGroup.Item onClick={() => setItem(e)} active={e === item}>
16
+ <p>{e}</p>
17
+ </BmButtonGroup.Item>
18
+ ))}
19
+ </BmButtonGroup>
269
20
  </>
270
21
  );
271
22
  };
272
23
 
273
- export default Chat;
24
+ 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">
@@ -1,79 +1,88 @@
1
- import React, { Component } from "react";
2
- import { BmInput } from "../lib/components/input";
1
+ import React, { Component } from 'react';
2
+ import { BmInput } from '../lib/components/input';
3
+
3
4
  export class Input extends Component {
4
5
  render() {
5
6
  return (
6
7
  <div>
7
8
  <h3>Inputs</h3>
8
- <div className="row">
9
- <div className="column">
10
- <BmInput
11
- type="text"
12
- placeholder="Placeholder"
13
- id="name"
14
- label="Enabled State"
15
- state="enabled"
16
- /><br/>
17
- <BmInput
18
- type="text"
19
- placeholder="Placeholder"
20
- value="Text"
21
- id="name"
22
- label="Disabled state"
23
- state="disabled"
24
- /><br/>
25
- </div>
26
- <div className="column">
27
- <BmInput
28
- type="text"
29
- placeholder="Placeholder"
30
- value="Text"
31
- id="name"
32
- label="Completed state"
33
- state="complete"
34
- /><br/>
35
- <BmInput
36
- type="text"
37
- placeholder="Placeholder"
38
- value="Text"
39
- id="name"
40
- label="Incomplete State"
41
- state="incomplete"
42
- /><br/>
43
- </div>
44
- <div className="column">
45
- <BmInput
46
- type="text"
47
- value="Text"
48
- id="name"
49
- label="Positive state"
50
- state="positive"
51
- /><br/>
52
- <BmInput
53
- type="text"
54
- value="Text"
55
- id="name"
56
- label="Negative state"
57
- state="negative"
58
- /><br/>
59
- </div>
60
- <div className="column">
61
- <BmInput
62
- type="text"
63
- placeholder="Placeholder"
64
- id="name"
65
- label="Pressed state"
66
- state="pressed"
67
- /><br/>
68
- <BmInput
69
- type="text"
70
- value="Text"
71
- id="name"
72
- label="Focused state"
73
- state="focus"
74
- /><br/>
75
- </div>
9
+ <div className="row">
10
+ <div className="column">
11
+ <BmInput
12
+ type="text"
13
+ placeholder="Placeholder"
14
+ id="name"
15
+ label="Enabled State"
16
+ state="enabled"
17
+ />
18
+ <br />
19
+ <BmInput
20
+ type="text"
21
+ placeholder="Placeholder"
22
+ value="Text"
23
+ id="name"
24
+ label="Disabled state"
25
+ state="disabled"
26
+ />
27
+ <br />
28
+ </div>
29
+ <div className="column">
30
+ <BmInput
31
+ type="text"
32
+ placeholder="Placeholder"
33
+ value="Text"
34
+ id="name"
35
+ label="Completed state"
36
+ state="complete"
37
+ />
38
+ <br />
39
+ <BmInput
40
+ type="text"
41
+ placeholder="Placeholder"
42
+ value="Text"
43
+ id="name"
44
+ label="Incomplete State"
45
+ state="incomplete"
46
+ />
47
+ <br />
48
+ </div>
49
+ <div className="column">
50
+ <BmInput
51
+ type="text"
52
+ value="Text"
53
+ id="name"
54
+ label="Positive state"
55
+ state="positive"
56
+ />
57
+ <br />
58
+ <BmInput
59
+ type="text"
60
+ value="Text"
61
+ id="name"
62
+ label="Negative state"
63
+ state="negative"
64
+ />
65
+ <br />
66
+ </div>
67
+ <div className="column">
68
+ <BmInput
69
+ type="text"
70
+ placeholder="Placeholder"
71
+ id="name"
72
+ label="Pressed state"
73
+ state="pressed"
74
+ />
75
+ <br />
76
+ <BmInput
77
+ type="text"
78
+ value="Text"
79
+ id="name"
80
+ label="Focused state"
81
+ state="focus"
82
+ />
83
+ <br />
76
84
  </div>
85
+ </div>
77
86
  </div>
78
87
  );
79
88
  }
@@ -1,5 +1,5 @@
1
- import React, { Component } from "react";
2
- import { Logo } from "../lib/components/logo";
1
+ import React, { Component } from 'react';
2
+ import { Logo } from '../lib/components/logo';
3
3
 
4
4
  export class Logos extends Component {
5
5
  render() {
@@ -1,20 +1,20 @@
1
1
  /* eslint-disable no-unused-vars */
2
- import React, { Component } from "react";
2
+ import React, { Component } from 'react';
3
+ import { AssignmentLateOutlined } from '@material-ui/icons';
4
+ import NotificationsNoneIcon from '@material-ui/icons/NotificationsNone';
5
+ import MenuIcon from '@material-ui/icons/Menu';
6
+ import styled from 'styled-components';
3
7
  import {
4
8
  BmNavbar,
5
9
  BmNavBarProfile,
6
10
  BmNavbarSearch,
7
11
  BmNavbarItems,
8
- } from "../lib/components/navbar";
9
- import { BmLogo } from "../lib/components/logo";
10
- import Azam from "../lib/images/azam.png";
11
- import { BmAlertIcon } from "../lib/components/Buttons/buttonAlertIcons";
12
- import { BmCheckboxToggler } from "../lib/components/checkboxToggler";
13
- import { AssignmentLateOutlined } from "@material-ui/icons";
14
- import NotificationsNoneIcon from "@material-ui/icons/NotificationsNone";
15
- import MenuIcon from "@material-ui/icons/Menu";
12
+ } from '../lib/components/navbar';
13
+ import { BmLogo } from '../lib/components/logo';
14
+ import Azam from '../lib/images/azam.png';
15
+ import { BmAlertIcon } from '../lib/components/Buttons/buttonAlertIcons';
16
+ import { BmCheckboxToggler } from '../lib/components/checkboxToggler';
16
17
 
17
- import styled from "styled-components";
18
18
  // import { BmSearch } from "./lib/components/search";
19
19
 
20
20
  const Menu = styled.div`
@@ -60,8 +60,8 @@ export class Navbars extends Component {
60
60
  <BmCheckboxToggler />
61
61
  </BmNavBarProfile>
62
62
  <Hamburger>
63
- <MenuIcon />
64
- </Hamburger>
63
+ <MenuIcon />
64
+ </Hamburger>
65
65
  {/* <Menu>
66
66
  </Menu> */}
67
67
  </BmNavbarItems>
@@ -1,5 +1,6 @@
1
- import React, { Component } from "react";
2
- import { BmSearch } from "../lib/components/search";
1
+ import React, { Component } from 'react';
2
+ import { BmSearch } from '../lib/components/search';
3
+
3
4
  export class Search extends Component {
4
5
  render() {
5
6
  return (