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.
- 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/InputDatePicker.js +53 -0
- package/dist/components/Jumbotron/Jumbotron.js +35 -0
- package/dist/components/Jumbotron/Jumbotron.stories.js +32 -0
- 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 +14 -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 +31 -16
- package/src/App.js +35 -253
- 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/InputDatePicker.js +45 -0
- package/src/lib/components/Jumbotron/Jumbotron.js +54 -0
- package/src/lib/components/Jumbotron/Jumbotron.stories.js +31 -0
- 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 +4 -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,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,
|
|
@@ -23,6 +23,7 @@ import BmProgressRing from './ProgressRing/progressRing';
|
|
|
23
23
|
import { BmProfileIcon } from './ProfileIcon/ProfileIcon';
|
|
24
24
|
import { BmCheckboxToggle } from './Checkbox/checkboxToggler';
|
|
25
25
|
import BmPaymentBox from './PaymentBox/paymentBox';
|
|
26
|
+
import BmJumbotron from './Jumbotron/Jumbotron';
|
|
26
27
|
import {
|
|
27
28
|
BmTagIcon,
|
|
28
29
|
BmAvatarIcon,
|
|
@@ -65,6 +66,7 @@ import {
|
|
|
65
66
|
BmSegmentCompleteIcon,
|
|
66
67
|
BmSegmentCreateContent,
|
|
67
68
|
} from './SuperFluid/SegmentCard/index';
|
|
69
|
+
import BmButtonGroup from './ButtonGroup/buttonGroup';
|
|
68
70
|
|
|
69
71
|
export {
|
|
70
72
|
BmAccordion,
|
|
@@ -82,6 +84,8 @@ export {
|
|
|
82
84
|
BmProfileIcon,
|
|
83
85
|
BmCheckboxToggle,
|
|
84
86
|
BmPaymentBox,
|
|
87
|
+
BmJumbotron,
|
|
88
|
+
BmButtonGroup,
|
|
85
89
|
// Fix height and if there is dropdown option inside the modal body
|
|
86
90
|
BmModal,
|
|
87
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;
|