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.
- package/.babelrc +17 -0
- package/.eslintrc +16 -27
- package/.prettierrc +3 -2
- package/dist/components/Accordion/Accordion.js +14 -8
- package/dist/components/Avatars/avatars.js +3 -3
- package/dist/components/BannerCard/bannerCards.js +8 -6
- package/dist/components/ButtonGroup/buttonGroup.js +37 -0
- package/dist/components/Buttons/buttonAlertIcons.js +3 -3
- package/dist/components/Buttons/buttonDropdown copy.js +51 -50
- package/dist/components/Buttons/buttonDropdown.js +2 -2
- package/dist/components/Buttons/buttonIconsOnly.js +6 -4
- package/dist/components/Buttons/buttons.js +12 -6
- package/dist/components/Cards/cards.js +12 -6
- package/dist/components/ChatComponents/ChatBody/FeedPostComments.js +15 -7
- package/dist/components/ChatComponents/ChatBody/chatBody.js +33 -13
- package/dist/components/ChatComponents/ChatBody/sessionDetails.js +3 -3
- package/dist/components/ChatComponents/ChatBody/sessionTimeline.js +6 -4
- package/dist/components/ChatComponents/ChatHeader/chatHeader.js +3 -3
- package/dist/components/ChatComponents/ColorPicker/colorPicker.js +3 -3
- package/dist/components/ChatComponents/ContactCards/contactCards.js +14 -8
- package/dist/components/ChatComponents/FormAccordion/FormAccordion.js +12 -6
- package/dist/components/ChatComponents/InfoTab/infoTab.js +9 -5
- package/dist/components/ChatComponents/LabelAccordion/LabelAccordion.js +3 -3
- package/dist/components/ChatComponents/NoteAccordion/NoteAccordion.js +9 -5
- package/dist/components/Chats/chat.js +47 -29
- package/dist/components/Chats/chatInput.js +16 -8
- package/dist/components/Chats/chatwrapper.js +18 -8
- package/dist/components/Checkbox/checkboxToggler.js +12 -6
- package/dist/components/Checkbox/checkboxToggler.stories.js +2 -2
- package/dist/components/Jumbotron/Jumbotron.js +18 -7
- package/dist/components/Lists/listBox.js +3 -3
- package/dist/components/Lists/listBox.stories.js +2 -2
- package/dist/components/Lists/listheader.js +3 -3
- package/dist/components/Lists/rowLabels.js +12 -6
- package/dist/components/Lists/rowLabels.stories.js +4 -1
- package/dist/components/Loader/loader.js +3 -3
- package/dist/components/MainWrapper/index.js +3 -3
- package/dist/components/MessageCounter/messageCounter.js +3 -3
- package/dist/components/Modals/modal.js +33 -21
- package/dist/components/Modals/modals.stories.js +2 -2
- package/dist/components/NoteBar/noteBar.js +5 -5
- package/dist/components/PaymentBox/paymentBox.js +12 -6
- package/dist/components/PerformanceIndicator/performanceIndicator.js +3 -3
- package/dist/components/Pills/pills.js +5 -5
- package/dist/components/ProfileIcon/ProfileIcon.js +12 -6
- package/dist/components/ProgressBar/progressbar.js +12 -6
- package/dist/components/ProgressRing/progressRing.js +14 -8
- package/dist/components/RouteLink/link.js +3 -3
- package/dist/components/ScrollBar/scrollBar.js +9 -5
- package/dist/components/SuperFluid/Content/index.js +3 -3
- package/dist/components/SuperFluid/ContentTitle.js/index.js +12 -6
- package/dist/components/SuperFluid/SegmentCard/index.js +20 -8
- package/dist/components/Tabs/tabs.js +3 -3
- package/dist/components/Tags/tags.js +5 -5
- package/dist/components/chatHeader.js +15 -7
- package/dist/components/checkbox.js +15 -7
- package/dist/components/contacts.js +33 -13
- package/dist/components/dropdown.js +25 -13
- package/dist/components/dropdownButton.js +9 -5
- package/dist/components/dropdownItems.js +22 -10
- package/dist/components/examples/App.js +8 -8
- package/dist/components/examples/chatBodyExample.js +1 -1
- package/dist/components/examples/selectExample.js +5 -5
- package/dist/components/globalStyles.js +1 -3
- package/dist/components/index.js +7 -0
- package/dist/components/input.js +9 -5
- package/dist/components/logo.js +3 -3
- package/dist/components/navbar.js +23 -9
- package/dist/components/search.js +17 -12
- package/dist/components/shadow.js +1 -1
- package/dist/components/wrapper.js +6 -4
- package/package.json +28 -16
- package/src/App.js +15 -264
- package/src/examples/AlertIcons.js +10 -5
- package/src/examples/Avatars.js +3 -2
- package/src/examples/Buttons.js +7 -10
- package/src/examples/Chat.js +9 -9
- package/src/examples/Input.js +79 -70
- package/src/examples/Logo.js +2 -2
- package/src/examples/Navbar.js +12 -12
- package/src/examples/Search.js +3 -2
- package/src/examples/SideBar.js +11 -11
- package/src/examples/Tags.js +3 -3
- package/src/lib/components/ButtonGroup/buttonGroup.js +38 -0
- package/src/lib/components/Buttons/buttonDropdown copy.js +51 -54
- package/src/lib/components/Buttons/buttonDropdown.js +6 -6
- package/src/lib/components/Chats/chat.js +23 -23
- package/src/lib/components/Chats/chatInput.js +8 -8
- package/src/lib/components/Chats/chatwrapper.js +2 -2
- package/src/lib/components/Checkbox/checkboxToggler.stories.js +0 -1
- package/src/lib/components/chatHeader.js +8 -3
- package/src/lib/components/contacts.js +3 -3
- package/src/lib/components/dropdown.js +7 -7
- package/src/lib/components/dropdownItems.js +6 -6
- package/src/lib/components/examples/App.js +53 -43
- package/src/lib/components/examples/InfoAccordion.js +6 -5
- package/src/lib/components/examples/chatBodyExample.js +5 -5
- package/src/lib/components/examples/selectExample.js +7 -7
- package/src/lib/components/index-copy.js +49 -49
- package/src/lib/components/index.js +2 -0
- package/src/lib/components/logo.js +2 -2
- package/src/lib/components/navbar.js +5 -5
- package/src/lib/components/search.js +10 -11
- package/src/lib/components/shadow.js +1 -1
- package/src/lib/components/wrapper.js +1 -2
- package/babel.config.js +0 -11
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AttachFile } from
|
|
3
|
-
import EmojiEmotionsIcon from
|
|
4
|
-
import QuickreplyIcon from
|
|
5
|
-
import SendIcon from
|
|
6
|
-
import { BmChat, BmIcons, BmInput } from
|
|
7
|
-
import
|
|
8
|
-
import image from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AttachFile } from '@material-ui/icons';
|
|
3
|
+
import EmojiEmotionsIcon from '@material-ui/icons/EmojiEmotions';
|
|
4
|
+
import QuickreplyIcon from '@mui/icons-material/Quickreply';
|
|
5
|
+
import SendIcon from '@mui/icons-material/Send';
|
|
6
|
+
import { BmChat, BmIcons, BmInput } from './lib/components';
|
|
7
|
+
import '../src/lib/assets/css/sidebar.scss';
|
|
8
|
+
import image from '../src/lib/assets/chart-img.png';
|
|
9
9
|
|
|
10
10
|
const Chat = () => {
|
|
11
11
|
return (
|
|
@@ -19,7 +19,7 @@ const Chat = () => {
|
|
|
19
19
|
src={image}
|
|
20
20
|
fileName={<p>attachment.jpg</p>}
|
|
21
21
|
/>
|
|
22
|
-
|
|
22
|
+
<BmChat.Details
|
|
23
23
|
state="outbound"
|
|
24
24
|
session="bot"
|
|
25
25
|
displayTime={<p>12:00pm</p>}
|
|
@@ -27,19 +27,24 @@ const Chat = () => {
|
|
|
27
27
|
// src={image}
|
|
28
28
|
// fileName={<p>attachment.jpg</p>}
|
|
29
29
|
>
|
|
30
|
-
<p>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
<p>
|
|
31
|
+
Technical No Signal - Ili kupata chaneli au chaneli zifunguke kwa
|
|
32
|
+
wakati ukilipia kifurushi, hakikisha kwanza kama unapata signal
|
|
33
|
+
vizuri kutoka kwenye dish kwa kutumia remote control. Bonyeza MENU,
|
|
34
|
+
Bonyeza OK kwenye SEARCH, Bonyeza OK kwenye TP LIST. Angalia
|
|
35
|
+
asilimia ya QUALITY pale chini. Angalia Transponder zote, 001, 002,
|
|
36
|
+
003 na 004 zinatakiwa ziwe na QUALITY si pungufu ya asilimia 60%. Au
|
|
37
|
+
kama una aina nyingine ya kisimbuzi; Bonyeza MENU, Bonyeza OK kwenye
|
|
38
|
+
SETTINGS, Bonyeza OK kwenye INSTALLATION, Bonyeza OK kwenye
|
|
39
|
+
AUTOMATIC SEARCH. Shuka kwenye frequency na uangalie frequency zote
|
|
40
|
+
kuanzia 11044, 10981, 11106 na 10971. Au Bonyeza MENU, Bonyeza OK
|
|
41
|
+
kwenye SETTINGS, Bonyeza OK kwenye INSTALLATION, kwenye EUTELSAT 7C
|
|
42
|
+
bonyeza kitufe cha KIJANI. Angalia QUALITY kwenye frequency zote
|
|
43
|
+
kuanzia 11044, 10981, 11106 na 10971. Angalia asilimia ya QUALITY
|
|
44
|
+
pale chini. QUALITY inatakiwa isiwe pungufu ya asilimia 60%. Je,
|
|
45
|
+
kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na
|
|
46
|
+
aliyekufungia dish arekebishe.
|
|
47
|
+
</p>
|
|
43
48
|
</BmChat.Details>
|
|
44
49
|
<BmChat.Details
|
|
45
50
|
state="inbound"
|
|
@@ -49,19 +54,24 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
49
54
|
// src={image}
|
|
50
55
|
// fileName={<p>attachment.jpg</p>}
|
|
51
56
|
>
|
|
52
|
-
<p>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
<p>
|
|
58
|
+
Technical No Signal - Ili kupata chaneli au chaneli zifunguke kwa
|
|
59
|
+
wakati ukilipia kifurushi, hakikisha kwanza kama unapata signal
|
|
60
|
+
vizuri kutoka kwenye dish kwa kutumia remote control. Bonyeza MENU,
|
|
61
|
+
Bonyeza OK kwenye SEARCH, Bonyeza OK kwenye TP LIST. Angalia
|
|
62
|
+
asilimia ya QUALITY pale chini. Angalia Transponder zote, 001, 002,
|
|
63
|
+
003 na 004 zinatakiwa ziwe na QUALITY si pungufu ya asilimia 60%. Au
|
|
64
|
+
kama una aina nyingine ya kisimbuzi; Bonyeza MENU, Bonyeza OK kwenye
|
|
65
|
+
SETTINGS, Bonyeza OK kwenye INSTALLATION, Bonyeza OK kwenye
|
|
66
|
+
AUTOMATIC SEARCH. Shuka kwenye frequency na uangalie frequency zote
|
|
67
|
+
kuanzia 11044, 10981, 11106 na 10971. Au Bonyeza MENU, Bonyeza OK
|
|
68
|
+
kwenye SETTINGS, Bonyeza OK kwenye INSTALLATION, kwenye EUTELSAT 7C
|
|
69
|
+
bonyeza kitufe cha KIJANI. Angalia QUALITY kwenye frequency zote
|
|
70
|
+
kuanzia 11044, 10981, 11106 na 10971. Angalia asilimia ya QUALITY
|
|
71
|
+
pale chini. QUALITY inatakiwa isiwe pungufu ya asilimia 60%. Je,
|
|
72
|
+
kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na
|
|
73
|
+
aliyekufungia dish arekebishe.
|
|
74
|
+
</p>
|
|
65
75
|
</BmChat.Details>
|
|
66
76
|
<BmChat.Details
|
|
67
77
|
state="outbound"
|
|
@@ -96,7 +106,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
96
106
|
status="failed"
|
|
97
107
|
>
|
|
98
108
|
<p>Outbound</p>
|
|
99
|
-
</BmChat.Details>{
|
|
109
|
+
</BmChat.Details>{' '}
|
|
100
110
|
<BmChat.Details
|
|
101
111
|
state="outbound"
|
|
102
112
|
session="live"
|
|
@@ -112,7 +122,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
112
122
|
kwa mteja) 6. Change language 0. Au ungependa kutuuliza swali
|
|
113
123
|
lingine?
|
|
114
124
|
</p>
|
|
115
|
-
</BmChat.Details>{
|
|
125
|
+
</BmChat.Details>{' '}
|
|
116
126
|
<BmChat.Details
|
|
117
127
|
state="outbound"
|
|
118
128
|
session="live"
|
|
@@ -120,7 +130,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
120
130
|
status="failed"
|
|
121
131
|
>
|
|
122
132
|
<p>Outbound</p>
|
|
123
|
-
</BmChat.Details>{
|
|
133
|
+
</BmChat.Details>{' '}
|
|
124
134
|
<BmChat.Details
|
|
125
135
|
state="outbound"
|
|
126
136
|
session="live"
|
|
@@ -128,7 +138,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
128
138
|
status="failed"
|
|
129
139
|
>
|
|
130
140
|
<p>Outbound</p>
|
|
131
|
-
</BmChat.Details>{
|
|
141
|
+
</BmChat.Details>{' '}
|
|
132
142
|
<BmChat.Details
|
|
133
143
|
state="outbound"
|
|
134
144
|
session="live"
|
|
@@ -136,7 +146,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
136
146
|
status="failed"
|
|
137
147
|
>
|
|
138
148
|
<p>Outbound</p>
|
|
139
|
-
</BmChat.Details>{
|
|
149
|
+
</BmChat.Details>{' '}
|
|
140
150
|
<BmChat.Details
|
|
141
151
|
state="outbound"
|
|
142
152
|
session="live"
|
|
@@ -144,7 +154,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
144
154
|
status="failed"
|
|
145
155
|
>
|
|
146
156
|
<p>Outbound</p>
|
|
147
|
-
</BmChat.Details>{
|
|
157
|
+
</BmChat.Details>{' '}
|
|
148
158
|
<BmChat.Details
|
|
149
159
|
state="outbound"
|
|
150
160
|
session="live"
|
|
@@ -152,7 +162,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
152
162
|
status="failed"
|
|
153
163
|
>
|
|
154
164
|
<p>Outbound</p>
|
|
155
|
-
</BmChat.Details>{
|
|
165
|
+
</BmChat.Details>{' '}
|
|
156
166
|
<BmChat.Details
|
|
157
167
|
state="outbound"
|
|
158
168
|
session="live"
|
|
@@ -162,7 +172,7 @@ Je, kwako inasoma ngapi? Kama ipo chini ya 60%, wasiliana na aliyekufungia dish
|
|
|
162
172
|
<p>Outbound</p>
|
|
163
173
|
</BmChat.Details>
|
|
164
174
|
</BmChat.Body>
|
|
165
|
-
<BmChat.Footer style={{ justifyContent:
|
|
175
|
+
<BmChat.Footer style={{ justifyContent: 'flex-start' }}>
|
|
166
176
|
<div class="chat-footer">
|
|
167
177
|
<BmIcons icon={<EmojiEmotionsIcon />} size="xlarge" />
|
|
168
178
|
</div>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import BmForm from "./lib/components/ChatComponents/FormAccordion/FormAccordion";
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BmAccordion } from './lib/components';
|
|
3
|
+
import BmForm from './lib/components/ChatComponents/FormAccordion/FormAccordion';
|
|
5
4
|
|
|
6
5
|
const InfoAccordion = () => {
|
|
7
6
|
return (
|
|
@@ -12,7 +11,9 @@ const InfoAccordion = () => {
|
|
|
12
11
|
</BmAccordion.Title>
|
|
13
12
|
<BmAccordion.Body>
|
|
14
13
|
<BmForm>
|
|
15
|
-
<BmForm.Label
|
|
14
|
+
<BmForm.Label>
|
|
15
|
+
<h4>Hello</h4>
|
|
16
|
+
</BmForm.Label>
|
|
16
17
|
<BmForm.Input placeholder="Hello" />
|
|
17
18
|
</BmForm>
|
|
18
19
|
</BmAccordion.Body>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { useState } from
|
|
2
|
-
import { GlobalStyle, BmChat } from
|
|
3
|
-
import
|
|
4
|
-
import { ScrollbarWrapper } from
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { GlobalStyle, BmChat } from '..';
|
|
3
|
+
import './list.scss';
|
|
4
|
+
import { ScrollbarWrapper } from '../ScrollBar/scrollBar';
|
|
5
5
|
|
|
6
6
|
const App = () => {
|
|
7
7
|
return (
|
|
@@ -62,7 +62,7 @@ const App = () => {
|
|
|
62
62
|
status="failed"
|
|
63
63
|
fileName={<p>file.csv</p>}
|
|
64
64
|
onDownload={() => {
|
|
65
|
-
alert(
|
|
65
|
+
alert('hello');
|
|
66
66
|
}}
|
|
67
67
|
/>
|
|
68
68
|
</BmChat.Body>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React, { useState } from
|
|
2
|
-
import map from
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import map from 'lodash/map';
|
|
3
|
+
import Select from 'react-select';
|
|
4
|
+
import { GlobalStyle, BmModal, BmButton } from './lib/components';
|
|
5
5
|
|
|
6
6
|
const App = () => {
|
|
7
7
|
const [showModal, setShowModal] = useState(false);
|
|
8
8
|
|
|
9
9
|
const VENDOR_ACCOUNT_STATUSES = {
|
|
10
|
-
0:
|
|
11
|
-
1:
|
|
10
|
+
0: 'Inactive',
|
|
11
|
+
1: 'Active',
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const VENDOR_ACCOUNT_STATUS_OPTIONS = map(
|
|
@@ -16,7 +16,7 @@ const App = () => {
|
|
|
16
16
|
(type, key) => ({
|
|
17
17
|
value: key,
|
|
18
18
|
label: type,
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
);
|
|
21
21
|
return (
|
|
22
22
|
<>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BmAvatar } from
|
|
2
|
-
import { BmAlertIcon } from
|
|
3
|
-
import { BmBtnIcon } from
|
|
4
|
-
import { BmButton } from
|
|
5
|
-
import { BmCheckboxToggler } from
|
|
6
|
-
import { BmDropdown } from
|
|
7
|
-
import { BmInput } from
|
|
8
|
-
import { BmLogo } from
|
|
9
|
-
import { BmSearch } from
|
|
10
|
-
import { BmAccordicon } from
|
|
11
|
-
import { BmRouteLink } from
|
|
1
|
+
import { BmAvatar } from './avatars';
|
|
2
|
+
import { BmAlertIcon } from './buttonAlertIcons';
|
|
3
|
+
import { BmBtnIcon } from './buttonIconsOnly';
|
|
4
|
+
import { BmButton } from './buttons';
|
|
5
|
+
import { BmCheckboxToggler } from './checkboxToggler';
|
|
6
|
+
import { BmDropdown } from './dropdown';
|
|
7
|
+
import { BmInput } from './input';
|
|
8
|
+
import { BmLogo } from './logo';
|
|
9
|
+
import { BmSearch } from './search';
|
|
10
|
+
import { BmAccordicon } from './Accordicon';
|
|
11
|
+
import { BmRouteLink } from './Link';
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
14
|
BmTab,
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
BmTabText,
|
|
18
18
|
BmLeftTabIcon,
|
|
19
19
|
BmRightTabIcon,
|
|
20
|
-
} from
|
|
21
|
-
import { BmTag } from
|
|
20
|
+
} from './tabs';
|
|
21
|
+
import { BmTag } from './tags';
|
|
22
22
|
|
|
23
23
|
// Navabar
|
|
24
24
|
import {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
BmNavBarProfile,
|
|
30
30
|
BmNavbarSearch,
|
|
31
31
|
BmNavbarLogo,
|
|
32
|
-
} from
|
|
32
|
+
} from './navbar';
|
|
33
33
|
|
|
34
34
|
// iconsStyles
|
|
35
35
|
import {
|
|
@@ -48,11 +48,11 @@ import {
|
|
|
48
48
|
BmChatbot,
|
|
49
49
|
BmIcons,
|
|
50
50
|
CopyToClipBoard,
|
|
51
|
-
} from
|
|
51
|
+
} from './iconStyles';
|
|
52
52
|
|
|
53
|
-
import { Loader, BmLoader } from
|
|
53
|
+
import { Loader, BmLoader } from './loaders';
|
|
54
54
|
|
|
55
|
-
import { GlobalStyle } from
|
|
55
|
+
import { GlobalStyle } from './globalStyles';
|
|
56
56
|
|
|
57
57
|
// Main chat
|
|
58
58
|
import {
|
|
@@ -68,14 +68,14 @@ import {
|
|
|
68
68
|
BmImage,
|
|
69
69
|
BmImageFileName,
|
|
70
70
|
BmImageChat,
|
|
71
|
-
} from
|
|
71
|
+
} from './Chats/chat';
|
|
72
72
|
import {
|
|
73
73
|
BmMessageTab,
|
|
74
74
|
BmMessageTabInput,
|
|
75
75
|
BmSend,
|
|
76
76
|
BmAttachment,
|
|
77
77
|
BmMessage,
|
|
78
|
-
} from
|
|
78
|
+
} from './Chats/chatInput';
|
|
79
79
|
|
|
80
80
|
import {
|
|
81
81
|
Main,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
MessageIn,
|
|
85
85
|
MessageOut,
|
|
86
86
|
MainWrapper,
|
|
87
|
-
} from
|
|
87
|
+
} from './Chats/chatwrapper';
|
|
88
88
|
|
|
89
89
|
// sidebar
|
|
90
90
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
BmSideBarSearch,
|
|
93
93
|
BmSideBarBtnIcon,
|
|
94
94
|
BmSideBarTab,
|
|
95
|
-
} from
|
|
95
|
+
} from './sidebar';
|
|
96
96
|
|
|
97
97
|
// Sidebar contacts
|
|
98
98
|
import {
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
BmContactTime,
|
|
109
109
|
BmContactSideBar,
|
|
110
110
|
BmUnreadMessage,
|
|
111
|
-
} from
|
|
111
|
+
} from './contacts';
|
|
112
112
|
|
|
113
113
|
import {
|
|
114
114
|
BmCustomerDetails,
|
|
@@ -121,22 +121,22 @@ import {
|
|
|
121
121
|
BmIcon,
|
|
122
122
|
BmCustomerIcons,
|
|
123
123
|
BmCustomerInfoTab,
|
|
124
|
-
} from
|
|
124
|
+
} from '../components/CustomerInfo/customerInfo';
|
|
125
125
|
|
|
126
126
|
import {
|
|
127
127
|
BmCustomerBar,
|
|
128
128
|
BmCustomerInfoAccordicon,
|
|
129
|
-
} from
|
|
129
|
+
} from '../components/CustomerInfo/customerInfoBar';
|
|
130
130
|
|
|
131
|
-
import { BmButtonDropDown } from
|
|
131
|
+
import { BmButtonDropDown } from './dropdownButton';
|
|
132
132
|
import {
|
|
133
133
|
BmButtonDropdownItem,
|
|
134
134
|
BmDropDownItem,
|
|
135
135
|
BmDropDownMenu,
|
|
136
136
|
BmCustomizedDropdown,
|
|
137
|
-
} from
|
|
137
|
+
} from './dropdownItems';
|
|
138
138
|
|
|
139
|
-
import { BmProgressBar } from
|
|
139
|
+
import { BmProgressBar } from '../components/progressbar';
|
|
140
140
|
|
|
141
141
|
import {
|
|
142
142
|
BmInfoAccordiconMenu,
|
|
@@ -149,16 +149,16 @@ import {
|
|
|
149
149
|
BmInfoContentItem,
|
|
150
150
|
BmInfoContentLabel,
|
|
151
151
|
BmInfoContentValue,
|
|
152
|
-
} from
|
|
152
|
+
} from '../components/CustomerInfo/infoAccordion';
|
|
153
153
|
import {
|
|
154
154
|
BmChatHeaderWrapper,
|
|
155
155
|
BmChatHeaderText,
|
|
156
156
|
BmChatHeaderTime,
|
|
157
157
|
BmChatHeaderInfoIcon,
|
|
158
158
|
BmChatHeader,
|
|
159
|
-
} from
|
|
159
|
+
} from './chatHeader';
|
|
160
160
|
|
|
161
|
-
import { BmChatInfoWrapper, BmChatMenuWrapper } from
|
|
161
|
+
import { BmChatInfoWrapper, BmChatMenuWrapper } from './wrapper';
|
|
162
162
|
|
|
163
163
|
import {
|
|
164
164
|
Overlay,
|
|
@@ -170,12 +170,12 @@ import {
|
|
|
170
170
|
CloseModal,
|
|
171
171
|
ModalHeader,
|
|
172
172
|
Modal,
|
|
173
|
-
} from
|
|
173
|
+
} from './Modals/noteModalHeader';
|
|
174
174
|
|
|
175
|
-
import { ModalBody } from
|
|
176
|
-
import { ModalFooter, BmFooterButtons } from
|
|
175
|
+
import { ModalBody } from './Modals/noteModalBody';
|
|
176
|
+
import { ModalFooter, BmFooterButtons } from './Modals/noteModalFooter';
|
|
177
177
|
|
|
178
|
-
import { BmReportsButton } from
|
|
178
|
+
import { BmReportsButton } from './Reports/buttons';
|
|
179
179
|
import {
|
|
180
180
|
BmCard,
|
|
181
181
|
CardTitleWrapper,
|
|
@@ -187,22 +187,22 @@ import {
|
|
|
187
187
|
BmCardFooter,
|
|
188
188
|
BmCardFooterText,
|
|
189
189
|
BmCardDetails,
|
|
190
|
-
} from
|
|
190
|
+
} from './Reports/cards';
|
|
191
191
|
import {
|
|
192
192
|
BmReportsBody,
|
|
193
193
|
BmOverviewCards,
|
|
194
194
|
BmOverviewCharts,
|
|
195
|
-
} from
|
|
195
|
+
} from './Reports/reportsBody';
|
|
196
196
|
import {
|
|
197
197
|
BmReportsTitle,
|
|
198
198
|
BmReportsHeader,
|
|
199
199
|
BmReportsButtons,
|
|
200
|
-
} from
|
|
200
|
+
} from './Reports/title';
|
|
201
201
|
import {
|
|
202
202
|
BmReportsInfoHeader,
|
|
203
203
|
CloseNote,
|
|
204
204
|
BmReportsHeaderText,
|
|
205
|
-
} from
|
|
205
|
+
} from './Reports/infoHeader';
|
|
206
206
|
|
|
207
207
|
import {
|
|
208
208
|
BmChart,
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
BmMainChartWrapper,
|
|
217
217
|
BmMainChartContent,
|
|
218
218
|
BmMainChart,
|
|
219
|
-
} from
|
|
219
|
+
} from './Reports/charts';
|
|
220
220
|
|
|
221
221
|
import {
|
|
222
222
|
BmAgentSearch,
|
|
@@ -230,17 +230,17 @@ import {
|
|
|
230
230
|
BmPreviousAgent,
|
|
231
231
|
BmPreviousAgentName,
|
|
232
232
|
BmPreviousAgentMessage,
|
|
233
|
-
} from
|
|
233
|
+
} from './Modals/modalBody';
|
|
234
234
|
|
|
235
|
-
import { BmListHeader } from
|
|
236
|
-
import { BmRowLabel } from
|
|
237
|
-
import { BmContent } from
|
|
235
|
+
import { BmListHeader } from './Lists/listheader';
|
|
236
|
+
import { BmRowLabel } from './Lists/rowLabels';
|
|
237
|
+
import { BmContent } from './SuperFluid/Content/index';
|
|
238
238
|
import {
|
|
239
239
|
BmContentFooter,
|
|
240
240
|
BmContentTitle,
|
|
241
241
|
BmFooterLeft,
|
|
242
242
|
BmFooterRight,
|
|
243
|
-
} from
|
|
243
|
+
} from './SuperFluid/ContentTitle.js/index.js';
|
|
244
244
|
import {
|
|
245
245
|
BmSegmentCard,
|
|
246
246
|
BmSegmentSelector,
|
|
@@ -249,23 +249,23 @@ import {
|
|
|
249
249
|
BmSegmentCompleteContent,
|
|
250
250
|
BmSegmentCompleteIcon,
|
|
251
251
|
BmSegmentCreateContent,
|
|
252
|
-
} from
|
|
253
|
-
import { BmInfoNote } from
|
|
254
|
-
import { BmCheckbox } from
|
|
252
|
+
} from './SuperFluid/SegmentCard/index';
|
|
253
|
+
import { BmInfoNote } from './infoNote';
|
|
254
|
+
import { BmCheckbox } from './checkbox';
|
|
255
255
|
import {
|
|
256
256
|
BmAddNote,
|
|
257
257
|
BmNoteInfo,
|
|
258
258
|
BmNote,
|
|
259
259
|
BmNoteFooter,
|
|
260
260
|
BmNoteDetails,
|
|
261
|
-
} from
|
|
261
|
+
} from './CustomerInfo/notesInfo';
|
|
262
262
|
import {
|
|
263
263
|
BmAddLabel,
|
|
264
264
|
BmLabelInfo,
|
|
265
265
|
BmLabels,
|
|
266
266
|
BmColorLabel,
|
|
267
267
|
BmColorLabelPicker,
|
|
268
|
-
} from
|
|
268
|
+
} from './CustomerInfo/labelsInfo';
|
|
269
269
|
|
|
270
270
|
export {
|
|
271
271
|
BmButton,
|
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
BmSegmentCompleteIcon,
|
|
67
67
|
BmSegmentCreateContent,
|
|
68
68
|
} from './SuperFluid/SegmentCard/index';
|
|
69
|
+
import BmButtonGroup from './ButtonGroup/buttonGroup';
|
|
69
70
|
|
|
70
71
|
export {
|
|
71
72
|
BmAccordion,
|
|
@@ -84,6 +85,7 @@ export {
|
|
|
84
85
|
BmCheckboxToggle,
|
|
85
86
|
BmPaymentBox,
|
|
86
87
|
BmJumbotron,
|
|
88
|
+
BmButtonGroup,
|
|
87
89
|
// Fix height and if there is dropdown option inside the modal body
|
|
88
90
|
BmModal,
|
|
89
91
|
BmNoteBar,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import styled from
|
|
2
|
+
import styled from 'styled-components';
|
|
3
3
|
|
|
4
4
|
export const Logo = styled.img`
|
|
5
5
|
height: 45;
|
|
6
6
|
width: 9.857rem;
|
|
7
|
-
${
|
|
7
|
+
${'' /* border: 0.071rem solid #33B1BA; */}
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
`;
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// import React from 'react';
|
|
2
|
-
import styled from
|
|
3
|
-
import { BmPrimaryWhite } from
|
|
4
|
-
import { BmSearch } from
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { BmPrimaryWhite } from './colors';
|
|
4
|
+
import { BmSearch } from './search';
|
|
5
5
|
|
|
6
6
|
// Old with NavbarContent Main wrapper for navbar
|
|
7
7
|
export const BmNavbar = styled.div`
|
|
@@ -9,7 +9,7 @@ export const BmNavbar = styled.div`
|
|
|
9
9
|
box-shadow: 0rem 0.286rem 0.214rem rgba(0, 0, 0, 0.25);
|
|
10
10
|
padding: 0rem 2.5rem !important;
|
|
11
11
|
flex-wrap: wrap;
|
|
12
|
-
${
|
|
12
|
+
${'' /* width: 100vw; */}
|
|
13
13
|
}
|
|
14
14
|
`;
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@ export const OldBmNavbar = styled(GlobalNavbarWrapper)`
|
|
|
42
42
|
// Navbar Profile Icon Wrapper
|
|
43
43
|
export const BmNavBarProfile = styled(GlobalNavbarWrapper)`
|
|
44
44
|
@media (max-width: 768px) {
|
|
45
|
-
|
|
45
|
+
display: none !important;
|
|
46
46
|
}
|
|
47
47
|
`;
|
|
48
48
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import styled from
|
|
2
|
+
import styled from 'styled-components';
|
|
3
3
|
import {
|
|
4
4
|
BmPrimaryWhite,
|
|
5
5
|
BmGrey400,
|
|
6
6
|
BmSecondaryGrey,
|
|
7
7
|
BmPrimaryBlack,
|
|
8
|
-
} from
|
|
9
|
-
import { BmDropdown } from
|
|
10
|
-
import { BmSearchIcon } from
|
|
8
|
+
} from './colors';
|
|
9
|
+
import { BmDropdown } from './dropdown';
|
|
10
|
+
import { BmSearchIcon } from './iconStyles';
|
|
11
11
|
|
|
12
12
|
const BmSearchField = styled.input`
|
|
13
13
|
color: ${BmSecondaryGrey};
|
|
@@ -21,7 +21,7 @@ const BmSearchField = styled.input`
|
|
|
21
21
|
text-decoration: none;
|
|
22
22
|
color: ${BmPrimaryBlack};
|
|
23
23
|
}
|
|
24
|
-
${(props) => props.dropdown ===
|
|
24
|
+
${(props) => props.dropdown === 'yes' && 'margin-right: 1.714rem;'}
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
27
|
const BmSearchWrapper = styled.div`
|
|
@@ -32,13 +32,12 @@ const BmSearchWrapper = styled.div`
|
|
|
32
32
|
border: 0.071rem solid ${BmGrey400};
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
border-radius: 0.25rem;
|
|
35
|
-
${
|
|
35
|
+
${'' /* height: 2.929rem; */}
|
|
36
36
|
padding: ${({ dropdown }) => {
|
|
37
|
-
if (dropdown ===
|
|
38
|
-
return
|
|
39
|
-
} else {
|
|
40
|
-
return "0.786rem 1.143rem";
|
|
37
|
+
if (dropdown === 'yes') {
|
|
38
|
+
return '0rem 0rem 0rem 1.143rem';
|
|
41
39
|
}
|
|
40
|
+
return '0.786rem 1.143rem';
|
|
42
41
|
}};
|
|
43
42
|
`;
|
|
44
43
|
|
|
@@ -58,7 +57,7 @@ export const BmSearch = ({ dropdown, ...rest }) => {
|
|
|
58
57
|
<SearchIcon size="small" {...rest} />
|
|
59
58
|
<BmSearchField {...rest} dropdown={dropdown} />
|
|
60
59
|
</BmSearchWrapper>
|
|
61
|
-
{dropdown ===
|
|
60
|
+
{dropdown === 'yes' && <BmDropdown />}
|
|
62
61
|
</BmStretch>
|
|
63
62
|
</div>
|
|
64
63
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const BmGeneralShadow =
|
|
1
|
+
export const BmGeneralShadow = '0rem 0.286rem 0.286rem rgba(0, 0, 0, 0.25)';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from
|
|
1
|
+
import styled from 'styled-components';
|
|
2
2
|
|
|
3
3
|
export const BmChatInfoWrapper = styled.div`
|
|
4
4
|
display: flex;
|
|
@@ -13,7 +13,6 @@ export const BmChatInfoWrapper = styled.div`
|
|
|
13
13
|
height: 100%;
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
export const BmChatMenuWrapper = styled.div`
|
|
18
17
|
display: flex;
|
|
19
18
|
flex-direction: row;
|