beem-component 1.0.0 → 1.0.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/.storybook/favicon.ico +0 -0
- package/.storybook/logo-blue.png +0 -0
- package/.storybook/main.js +15 -0
- package/.storybook/manager-head.html +14 -0
- package/.storybook/manager.js +6 -0
- package/.storybook/preview.js +10 -0
- package/.storybook/theme.js +10 -0
- package/Dockerfile +30 -0
- package/Jenkinsfile +73 -0
- package/build-storybook.log +14621 -0
- package/dist/assets/beem.jpeg +0 -0
- package/dist/components/{Accordion.js → Accordion/Accordion.js} +12 -6
- package/dist/components/Accordion/Accordion.stories.js +86 -0
- package/dist/components/{avatars.js → Avatars/avatars.js} +31 -11
- package/dist/components/Avatars/avatars.stories.js +69 -0
- package/dist/components/Buttons/Stories/basicbutton.stories.js +67 -0
- package/dist/components/Buttons/Stories/buttonAlertIcons.stories.js +65 -0
- package/dist/components/Buttons/Stories/buttonIconsOnly.stories.js +65 -0
- package/dist/components/{buttonAlertIcons.js → Buttons/buttonAlertIcons.js} +17 -9
- package/dist/components/{buttonIconsOnly.js → Buttons/buttonIconsOnly.js} +13 -4
- package/dist/components/{buttons.js → Buttons/buttons.js} +11 -10
- package/dist/components/{Reports → Cards}/cards.js +9 -24
- package/dist/components/Cards/cards.stories.js +61 -0
- package/dist/components/Chats/chat.js +1 -1
- package/dist/components/Chats/chatInput.js +1 -1
- package/dist/components/Chats/chatwrapper.js +1 -1
- package/dist/components/Lists/listBox.js +41 -0
- package/dist/components/Lists/listBox.stories.js +78 -0
- package/dist/components/Lists/listHeader.stories.js +58 -0
- package/dist/components/Lists/listheader.js +17 -12
- package/dist/components/Lists/rowLabels.js +34 -16
- package/dist/components/Lists/rowLabels.stories.js +85 -0
- package/dist/components/{loaders.js → Loader/loader.js} +13 -7
- package/dist/components/Loader/loader.stories.js +52 -0
- package/dist/components/{Reports/buttons.js → MainWrapper/index.js} +5 -3
- package/dist/components/Modals/modal copy.js +160 -0
- package/dist/components/Modals/modal.js +166 -0
- package/dist/components/Modals/modals.stories.js +117 -0
- package/dist/components/{infoNote.js → NoteBar.js/noteBar.js} +23 -19
- package/dist/components/NoteBar.js/noteBar.stories.js +66 -0
- package/dist/components/PerformanceIndicator/performaceIndicator.stories.js +66 -0
- package/dist/components/PerformanceIndicator/performanceIndicator.js +68 -0
- package/dist/components/Pills/pills.js +126 -0
- package/dist/components/Pills/pills.stories.js +110 -0
- package/dist/components/{progressbar.js → ProgressBar/progressbar.js} +8 -2
- package/dist/components/ProgressBar/progressbar.stories.js +45 -0
- package/dist/components/{Link.js → RouteLink/link.js} +3 -3
- package/dist/components/RouteLink/link.stories.js +29 -0
- package/dist/components/SuperFluid/ContentTitle.js/index.js +1 -1
- package/dist/components/SuperFluid/SegmentCard/index.js +1 -1
- package/dist/components/Tabs/tabs.js +85 -0
- package/dist/components/Tabs/tabs.stories.js +59 -0
- package/dist/components/breakpoints.js +18 -0
- package/dist/components/chatHeader.js +1 -1
- package/dist/components/checkboxToggler.js +2 -2
- package/dist/components/colors.js +5 -3
- package/dist/components/contacts.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdownButton.js +3 -3
- package/dist/components/dropdownItems.js +1 -1
- package/dist/components/example.js +47 -0
- package/dist/components/iconStyles.js +69 -119
- package/dist/components/index-copy.js +1285 -0
- package/dist/components/index.js +80 -1155
- package/dist/components/input.js +9 -3
- package/dist/components/logo.js +1 -1
- package/dist/components/navbar.js +1 -1
- package/dist/components/sidebar.js +2 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/typography.js +1 -1
- package/nginx.conf +17 -0
- package/package.json +29 -11
- package/public/favicon.ico +0 -0
- package/public/index.html +1 -1
- package/src/App.js +10 -29
- package/src/examples/Navbar.js +1 -1
- package/src/lib/assets/beem.jpeg +0 -0
- package/src/lib/components/{Accordion.js → Accordion/Accordion.js} +5 -4
- package/src/lib/components/Accordion/Accordion.stories.js +63 -0
- package/src/lib/components/{avatars.js → Avatars/avatars.js} +24 -8
- package/src/lib/components/Avatars/avatars.stories.js +45 -0
- package/src/lib/components/Buttons/Stories/basicbutton.stories.js +51 -0
- package/src/lib/components/Buttons/Stories/buttonAlertIcons.stories.js +42 -0
- package/src/lib/components/Buttons/Stories/buttonIconsOnly.stories.js +49 -0
- package/src/lib/components/{buttonAlertIcons.js → Buttons/buttonAlertIcons.js} +20 -9
- package/src/lib/components/{buttonIconsOnly.js → Buttons/buttonIconsOnly.js} +12 -2
- package/src/lib/components/{buttons.js → Buttons/buttons.js} +10 -10
- package/src/lib/components/{Reports → Cards}/cards.js +10 -18
- package/src/lib/components/Cards/cards.stories.js +52 -0
- package/src/lib/components/Lists/listBox.js +34 -0
- package/src/lib/components/Lists/listBox.stories.js +47 -0
- package/src/lib/components/Lists/listHeader.stories.js +36 -0
- package/src/lib/components/Lists/listheader.js +17 -11
- package/src/lib/components/Lists/rowLabels.js +47 -16
- package/src/lib/components/Lists/rowLabels.stories.js +59 -0
- package/src/lib/components/{loaders.js → Loader/loader.js} +18 -7
- package/src/lib/components/Loader/loader.stories.js +30 -0
- package/src/lib/components/MainWrapper/index.js +7 -0
- package/src/lib/components/Modals/modal copy.js +159 -0
- package/src/lib/components/Modals/modal.js +152 -0
- package/src/lib/components/Modals/modals.stories.js +82 -0
- package/src/lib/components/{infoNote.js → NoteBar.js/noteBar.js} +24 -25
- package/src/lib/components/NoteBar.js/noteBar.stories.js +40 -0
- package/src/lib/components/PerformanceIndicator/performaceIndicator.stories.js +40 -0
- package/src/lib/components/PerformanceIndicator/performanceIndicator.js +56 -0
- package/src/lib/components/Pills/pills.js +91 -0
- package/src/lib/components/Pills/pills.stories.js +74 -0
- package/src/lib/components/{progressbar.js → ProgressBar/progressbar.js} +8 -1
- package/src/lib/components/ProgressBar/progressbar.stories.js +26 -0
- package/src/lib/components/{Link.js → RouteLink/link.js} +5 -5
- package/src/lib/components/RouteLink/link.stories.js +21 -0
- package/src/lib/components/Tabs/tabs.js +84 -0
- package/src/lib/components/Tabs/tabs.stories.js +36 -0
- package/src/lib/components/breakpoints.js +11 -0
- package/src/lib/components/colors.js +2 -0
- package/src/lib/components/dropdownButton.js +2 -2
- package/src/lib/components/example.js +30 -0
- package/src/lib/components/iconStyles.js +46 -101
- package/src/lib/components/index-copy.js +468 -0
- package/src/lib/components/index.js +39 -446
- package/src/lib/components/input.js +8 -2
- package/src/lib/components/sidebar.js +1 -1
- package/storybook-static/0.00c62ec79c260aedbb98.manager.bundle.js +2 -0
- package/storybook-static/0.00c62ec79c260aedbb98.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/0.96c45dd8.iframe.bundle.js +1 -0
- package/storybook-static/1.dc6acfa9.iframe.bundle.js +3 -0
- package/storybook-static/1.dc6acfa9.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/1.dc6acfa9.iframe.bundle.js.map +1 -0
- package/storybook-static/1.dc7dcdaec2def2f224fd.manager.bundle.js +1 -0
- package/storybook-static/2.24353ddc.iframe.bundle.js +1 -0
- package/storybook-static/3.8bb2173c.iframe.bundle.js +1 -0
- package/storybook-static/5.0779e3847d325dece216.manager.bundle.js +1 -0
- package/storybook-static/6.8bd405c2576206749a16.manager.bundle.js +2 -0
- package/storybook-static/6.8bd405c2576206749a16.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/7.9d4ba19cf58425e7ff0d.manager.bundle.js +1 -0
- package/storybook-static/7.f0cfc757.iframe.bundle.js +1 -0
- package/storybook-static/8.91de97de.iframe.bundle.js +3 -0
- package/storybook-static/8.91de97de.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/8.91de97de.iframe.bundle.js.map +1 -0
- package/storybook-static/8.b4e9ec0ec7648e02a923.manager.bundle.js +1 -0
- package/storybook-static/9.40ec65d6.iframe.bundle.js +1 -0
- package/storybook-static/asset-manifest.json +30 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +348 -0
- package/storybook-static/index.html +110 -0
- package/storybook-static/main.3c8d8027.iframe.bundle.js +1 -0
- package/storybook-static/main.3e5804fe56d1f580b088.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.d3a18d6a.iframe.bundle.js +1 -0
- package/storybook-static/runtime~main.ff106120648356c6069d.manager.bundle.js +1 -0
- package/storybook-static/static/css/main.b44a190d.chunk.css +4 -0
- package/storybook-static/static/css/main.b44a190d.chunk.css.map +1 -0
- package/storybook-static/static/media/OpenSans-Regular.1b0809d5.ttf +0 -0
- package/storybook-static/static/media/PoppinsBold.1eae2d48.woff2 +0 -0
- package/storybook-static/static/media/PoppinsBold.53ff6749.eot +0 -0
- package/storybook-static/static/media/PoppinsBold.53ff971f.ttf +0 -0
- package/storybook-static/static/media/PoppinsBold.850fc4f3.svg +3066 -0
- package/storybook-static/static/media/PoppinsBold.b33c148b.woff +0 -0
- package/storybook-static/static/media/PoppinsMedium.0ba26f6c.woff +0 -0
- package/storybook-static/static/media/PoppinsMedium.49b46ace.eot +0 -0
- package/storybook-static/static/media/PoppinsMedium.57a99fa8.woff2 +0 -0
- package/storybook-static/static/media/PoppinsMedium.b7e43707.svg +3103 -0
- package/storybook-static/static/media/PoppinsMedium.c98dddbd.ttf +0 -0
- package/storybook-static/static/media/PoppinsRegular.13b9af9c.eot +0 -0
- package/storybook-static/static/media/PoppinsRegular.43e9b50d.svg +3138 -0
- package/storybook-static/static/media/PoppinsRegular.4a4d5420.woff +0 -0
- package/storybook-static/static/media/PoppinsRegular.9a7cc7ec.woff2 +0 -0
- package/storybook-static/static/media/PoppinsRegular.e1bc9021.ttf +0 -0
- package/storybook-static/static/media/PoppinsSemiBold.5692c77f.ttf +0 -0
- package/storybook-static/static/media/PoppinsSemiBold.80138c67.woff +0 -0
- package/storybook-static/static/media/PoppinsSemiBold.c442695a.eot +0 -0
- package/storybook-static/static/media/PoppinsSemiBold.e1948d56.svg +3098 -0
- package/storybook-static/static/media/PoppinsSemiBold.f27050e2.woff2 +0 -0
- package/storybook-static/static/media/logo-blue.bfc5ba6d.png +0 -0
- package/storybook-static/vendors~main.1750028c2d68e574fb1d.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.1750028c2d68e574fb1d.manager.bundle.js.LICENSE.txt +104 -0
- package/storybook-static/vendors~main.7fe78cc2.iframe.bundle.js +3 -0
- package/storybook-static/vendors~main.7fe78cc2.iframe.bundle.js.LICENSE.txt +122 -0
- package/storybook-static/vendors~main.7fe78cc2.iframe.bundle.js.map +1 -0
- package/dist/assets/content_copy_black.svg +0 -1
- package/dist/assets/profile-pic.jpg +0 -0
- package/dist/components/Accordicon.js +0 -51
- package/dist/components/CustomerInfo/customerInfo.js +0 -89
- package/dist/components/CustomerInfo/customerInfoBar.js +0 -24
- package/dist/components/CustomerInfo/infoAccordion.js +0 -78
- package/dist/components/CustomerInfo/labelsInfo.js +0 -37
- package/dist/components/CustomerInfo/notesInfo.js +0 -39
- package/dist/components/Modals/modalBody.js +0 -61
- package/dist/components/Modals/noteModalBody.js +0 -20
- package/dist/components/Modals/noteModalFooter.js +0 -24
- package/dist/components/Modals/noteModalHeader.js +0 -93
- package/dist/components/Reports/charts.js +0 -70
- package/dist/components/Reports/infoHeader.js +0 -65
- package/dist/components/Reports/reportsBody.js +0 -28
- package/dist/components/Reports/title.js +0 -28
- package/dist/components/performanceIndicator.js +0 -41
- package/dist/components/pills.js +0 -73
- package/src/App1.js +0 -229
- package/src/CHAT.js +0 -170
- package/src/Complete.js +0 -48
- package/src/CreateSegments.js +0 -48
- package/src/FileUploadSFL.js +0 -110
- package/src/examples/CustomerInfo.js +0 -248
- package/src/lib/assets/content_copy_black.svg +0 -1
- package/src/lib/assets/profile-pic.jpg +0 -0
- package/src/lib/components/Accordicon.js +0 -43
- package/src/lib/components/CustomerInfo/customerInfo.js +0 -91
- package/src/lib/components/CustomerInfo/customerInfoBar.js +0 -23
- package/src/lib/components/CustomerInfo/infoAccordion.js +0 -96
- package/src/lib/components/CustomerInfo/labelsInfo.js +0 -37
- package/src/lib/components/CustomerInfo/notesInfo.js +0 -61
- package/src/lib/components/Modals/modalBody.js +0 -66
- package/src/lib/components/Modals/noteModalBody.js +0 -10
- package/src/lib/components/Modals/noteModalFooter.js +0 -16
- package/src/lib/components/Modals/noteModalHeader.js +0 -103
- package/src/lib/components/Reports/buttons.js +0 -5
- package/src/lib/components/Reports/charts.js +0 -79
- package/src/lib/components/Reports/infoHeader.js +0 -63
- package/src/lib/components/Reports/reportsBody.js +0 -29
- package/src/lib/components/Reports/title.js +0 -19
- package/src/lib/components/performanceIndicator.js +0 -27
- package/src/lib/components/pills.js +0 -65
|
@@ -1,470 +1,63 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BmAvatar } from "./avatars";
|
|
3
|
-
import { BmAlertIcon } from "./buttonAlertIcons";
|
|
4
|
-
import { BmBtnIcon } from "./buttonIconsOnly";
|
|
5
|
-
import { BmButton } from "./buttons";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import BmAccordicon from "./Accordion/Accordion";
|
|
2
|
+
import { BmAvatar } from "./Avatars/avatars";
|
|
3
|
+
import { BmAlertIcon } from "./Buttons/buttonAlertIcons";
|
|
4
|
+
import { BmBtnIcon } from "./Buttons/buttonIconsOnly";
|
|
5
|
+
import { BmButton } from "./Buttons/buttons";
|
|
6
|
+
import BmCard from "./Cards/cards";
|
|
7
|
+
import { BmButtonDropDown } from "./dropdownButton";
|
|
8
|
+
import { GlobalStyle } from "./globalStyles";
|
|
8
9
|
import { BmInput } from "./input";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
BmRightTabIcon,
|
|
19
|
-
} from "./tabs";
|
|
20
|
-
import { BmTag } from "./tags";
|
|
21
|
-
|
|
22
|
-
// Navabar
|
|
23
|
-
import {
|
|
24
|
-
BmNavbar,
|
|
25
|
-
BmNavbarItems,
|
|
26
|
-
GlobalNavbarWrapper,
|
|
27
|
-
OldBmNavbar,
|
|
28
|
-
BmNavBarProfile,
|
|
29
|
-
BmNavbarSearch,
|
|
30
|
-
BmNavbarLogo,
|
|
31
|
-
} from "./navbar";
|
|
32
|
-
|
|
33
|
-
// iconsStyles
|
|
10
|
+
import { BmRouteLink } from "./RouteLink/link";
|
|
11
|
+
import { BmListHeader } from "./Lists/listheader";
|
|
12
|
+
import { BmRowLabel } from "./Lists/rowLabels";
|
|
13
|
+
import BmModal from "./Modals/modal";
|
|
14
|
+
import { BmProgressBar } from "./ProgressBar/progressbar";
|
|
15
|
+
import { BmTab } from "./Tabs/tabs";
|
|
16
|
+
import * as BmColors from "./colors";
|
|
17
|
+
import { BmLoader } from "./Loader/loader";
|
|
18
|
+
import { BmCheckbox } from "./checkbox";
|
|
34
19
|
import {
|
|
35
|
-
BmButtonIcon,
|
|
36
|
-
BmSuccessIcon,
|
|
37
|
-
BmErrorIcon,
|
|
38
|
-
BmSearchIcon,
|
|
39
|
-
BmDropdownIcon,
|
|
40
|
-
BmDropupIcon,
|
|
41
20
|
BmTagIcon,
|
|
42
21
|
BmAvatarIcon,
|
|
22
|
+
BmIcons,
|
|
43
23
|
BmChatbotIcon,
|
|
44
24
|
BmEmojiIcon,
|
|
45
25
|
BmQuickReplyIcon,
|
|
46
26
|
BmSupport,
|
|
47
|
-
BmChatbot,
|
|
48
|
-
BmIcons,
|
|
49
27
|
CopyToClipBoard,
|
|
50
28
|
} from "./iconStyles";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
|
|
54
|
-
import { GlobalStyle } from "./globalStyles";
|
|
55
|
-
|
|
56
|
-
// Main chat
|
|
57
|
-
import {
|
|
58
|
-
BmChatWrapper,
|
|
59
|
-
BmChatText,
|
|
60
|
-
BmDisplayTime,
|
|
61
|
-
BmUserChat,
|
|
62
|
-
BmFileWrapper,
|
|
63
|
-
BmFileText,
|
|
64
|
-
FileIcons,
|
|
65
|
-
BmFileChat,
|
|
66
|
-
BmImageWrapper,
|
|
67
|
-
BmImage,
|
|
68
|
-
BmImageFileName,
|
|
69
|
-
BmImageChat,
|
|
70
|
-
} from "./Chats/chat";
|
|
71
|
-
import {
|
|
72
|
-
BmMessageTab,
|
|
73
|
-
BmMessageTabInput,
|
|
74
|
-
BmSend,
|
|
75
|
-
BmAttachment,
|
|
76
|
-
BmMessage,
|
|
77
|
-
} from "./Chats/chatInput";
|
|
78
|
-
|
|
79
|
-
import {
|
|
80
|
-
Main,
|
|
81
|
-
BmChat,
|
|
82
|
-
BmChatMenu,
|
|
83
|
-
MessageIn,
|
|
84
|
-
MessageOut,
|
|
85
|
-
MainWrapper,
|
|
86
|
-
} from "./Chats/chatwrapper";
|
|
87
|
-
|
|
88
|
-
// sidebar
|
|
89
|
-
import {
|
|
90
|
-
BmSideBar,
|
|
91
|
-
BmSideBarSearch,
|
|
92
|
-
BmSideBarBtnIcon,
|
|
93
|
-
BmSideBarTab,
|
|
94
|
-
} from "./sidebar";
|
|
95
|
-
|
|
96
|
-
// Sidebar contacts
|
|
97
|
-
import {
|
|
98
|
-
BmContact,
|
|
99
|
-
BmContactItem,
|
|
100
|
-
BmContactText,
|
|
101
|
-
BmContactName,
|
|
102
|
-
BmContactIcon,
|
|
103
|
-
BmMessageText,
|
|
104
|
-
BmMessageContact,
|
|
105
|
-
BmContactMessage,
|
|
106
|
-
BmContactDetails,
|
|
107
|
-
BmContactTime,
|
|
108
|
-
BmContactSideBar,
|
|
109
|
-
BmUnreadMessage,
|
|
110
|
-
} from "./contacts";
|
|
111
|
-
|
|
112
|
-
import {
|
|
113
|
-
BmCustomerDetails,
|
|
114
|
-
BmCustomerInfoHeader,
|
|
115
|
-
BmCustomer,
|
|
116
|
-
BmCustomerInfoName,
|
|
117
|
-
BmMoreInfo,
|
|
118
|
-
BmBtnTag,
|
|
119
|
-
BmInfoTabWrapper,
|
|
120
|
-
BmIcon,
|
|
121
|
-
BmCustomerIcons,
|
|
122
|
-
BmCustomerInfoTab,
|
|
123
|
-
} from "../components/CustomerInfo/customerInfo";
|
|
124
|
-
|
|
125
|
-
import {
|
|
126
|
-
BmCustomerBar,
|
|
127
|
-
BmCustomerInfoAccordicon,
|
|
128
|
-
} from "../components/CustomerInfo/customerInfoBar";
|
|
129
|
-
|
|
130
|
-
import { BmButtonDropDown } from "../components/dropdownButton";
|
|
131
|
-
import {
|
|
132
|
-
BmButtonDropdownItem,
|
|
133
|
-
BmDropDownItem,
|
|
134
|
-
BmDropDownMenu,
|
|
135
|
-
BmCustomizedDropdown,
|
|
136
|
-
} from "../components/dropdownItems";
|
|
137
|
-
|
|
138
|
-
import { BmProgressBar } from "../components/progressbar";
|
|
139
|
-
|
|
140
|
-
import {
|
|
141
|
-
BmInfoAccordiconMenu,
|
|
142
|
-
BmInformation,
|
|
143
|
-
BmInfoHeaderText,
|
|
144
|
-
BmDropdownInfo,
|
|
145
|
-
BmInfoHeaderWrapper,
|
|
146
|
-
BmInfoHeader,
|
|
147
|
-
BmInfoContent,
|
|
148
|
-
BmInfoContentItem,
|
|
149
|
-
BmInfoContentLabel,
|
|
150
|
-
BmInfoContentValue,
|
|
151
|
-
} from "../components/CustomerInfo/infoAccordion";
|
|
152
|
-
import {
|
|
153
|
-
BmChatHeaderWrapper,
|
|
154
|
-
BmChatHeaderText,
|
|
155
|
-
BmChatHeaderTime,
|
|
156
|
-
BmChatHeaderInfoIcon,
|
|
157
|
-
BmChatHeader,
|
|
158
|
-
} from "../components/chatHeader";
|
|
159
|
-
|
|
160
|
-
import { BmChatInfoWrapper, BmChatMenuWrapper } from "./wrapper";
|
|
161
|
-
|
|
162
|
-
import {
|
|
163
|
-
Overlay,
|
|
164
|
-
ModalContent,
|
|
165
|
-
ModalWrapper,
|
|
166
|
-
HeaderWrapper,
|
|
167
|
-
HeaderText,
|
|
168
|
-
Close,
|
|
169
|
-
CloseModal,
|
|
170
|
-
ModalHeader,
|
|
171
|
-
Modal,
|
|
172
|
-
} from "./Modals/noteModalHeader";
|
|
173
|
-
|
|
174
|
-
import { ModalBody } from "./Modals/noteModalBody";
|
|
175
|
-
import { ModalFooter, BmFooterButtons } from "./Modals/noteModalFooter";
|
|
176
|
-
|
|
177
|
-
import { BmReportsButton } from "./Reports/buttons";
|
|
178
|
-
import {
|
|
179
|
-
BmCard,
|
|
180
|
-
CardTitleWrapper,
|
|
181
|
-
CardTitleText,
|
|
182
|
-
CardTitle,
|
|
183
|
-
BmCardBody,
|
|
184
|
-
BmCardBodyImg,
|
|
185
|
-
BmCardBodyText,
|
|
186
|
-
BmCardFooter,
|
|
187
|
-
BmCardFooterText,
|
|
188
|
-
BmCardDetails,
|
|
189
|
-
} from "./Reports/cards";
|
|
190
|
-
import {
|
|
191
|
-
BmReportsBody,
|
|
192
|
-
BmOverviewCards,
|
|
193
|
-
BmOverviewCharts,
|
|
194
|
-
} from "./Reports/reportsBody";
|
|
195
|
-
import {
|
|
196
|
-
BmReportsTitle,
|
|
197
|
-
BmReportsHeader,
|
|
198
|
-
BmReportsButtons,
|
|
199
|
-
} from "./Reports/title";
|
|
200
|
-
import {
|
|
201
|
-
BmReportsInfoHeader,
|
|
202
|
-
CloseNote,
|
|
203
|
-
BmReportsHeaderText,
|
|
204
|
-
} from "./Reports/infoHeader";
|
|
205
|
-
|
|
206
|
-
import {
|
|
207
|
-
BmChart,
|
|
208
|
-
BmChartHeader,
|
|
209
|
-
BmChartTitleText,
|
|
210
|
-
BmChartDetails,
|
|
211
|
-
BmChartBody,
|
|
212
|
-
BmChartBodyText,
|
|
213
|
-
BmChartBodyDetails,
|
|
214
|
-
BmChartHeading,
|
|
215
|
-
BmMainChartWrapper,
|
|
216
|
-
BmMainChartContent,
|
|
217
|
-
BmMainChart,
|
|
218
|
-
} from "./Reports/charts";
|
|
219
|
-
|
|
220
|
-
import {
|
|
221
|
-
BmAgentSearch,
|
|
222
|
-
BmAgentName,
|
|
223
|
-
BmAgentPill,
|
|
224
|
-
BmAgentButton,
|
|
225
|
-
BmPreviousAgentWrapper,
|
|
226
|
-
BmPreviousAgentTitle,
|
|
227
|
-
BmPreviousAgentContent,
|
|
228
|
-
BmPreviousAgentIcon,
|
|
229
|
-
BmPreviousAgent,
|
|
230
|
-
BmPreviousAgentName,
|
|
231
|
-
BmPreviousAgentMessage,
|
|
232
|
-
} from "./Modals/modalBody";
|
|
233
|
-
|
|
234
|
-
import { BmListHeader } from "./Lists/listheader";
|
|
235
|
-
import { BmRowLabel } from "./Lists/rowLabels";
|
|
236
|
-
import { BmContent } from "./SuperFluid/Content/index";
|
|
237
|
-
import {
|
|
238
|
-
BmContentFooter,
|
|
239
|
-
BmContentTitle,
|
|
240
|
-
BmFooterLeft,
|
|
241
|
-
BmFooterRight,
|
|
242
|
-
} from "./SuperFluid/ContentTitle.js";
|
|
243
|
-
import {
|
|
244
|
-
BmSegmentCard,
|
|
245
|
-
BmSegmentSelector,
|
|
246
|
-
BmSegment,
|
|
247
|
-
BmSegmentCheckBox,
|
|
248
|
-
BmSegmentCompleteContent,
|
|
249
|
-
BmSegmentCompleteIcon,
|
|
250
|
-
BmSegmentCreateContent,
|
|
251
|
-
} from "./SuperFluid/SegmentCard/index";
|
|
252
|
-
import { BmInfoNote } from "./infoNote";
|
|
253
|
-
import { BmCheckbox } from "./checkbox";
|
|
254
|
-
import {
|
|
255
|
-
BmAddNote,
|
|
256
|
-
BmNoteInfo,
|
|
257
|
-
BmNote,
|
|
258
|
-
BmNoteFooter,
|
|
259
|
-
BmNoteDetails,
|
|
260
|
-
} from "./CustomerInfo/notesInfo";
|
|
261
|
-
import {
|
|
262
|
-
BmAddLabel,
|
|
263
|
-
BmLabelInfo,
|
|
264
|
-
BmLabels,
|
|
265
|
-
BmColorLabel,
|
|
266
|
-
BmColorLabelPicker,
|
|
267
|
-
} from "./CustomerInfo/labelsInfo";
|
|
268
|
-
import { BmAccordicon } from "./Accordicon";
|
|
269
|
-
import { BmRouteLink } from "./Link";
|
|
29
|
+
import { BmNoteBar } from "./NoteBar.js/noteBar";
|
|
30
|
+
import {MainWrapper} from '../components/MainWrapper'
|
|
270
31
|
|
|
271
32
|
export {
|
|
272
|
-
|
|
273
|
-
BmButton,
|
|
33
|
+
BmAccordicon,
|
|
274
34
|
BmAvatar,
|
|
275
35
|
BmAlertIcon,
|
|
36
|
+
BmButton,
|
|
276
37
|
BmBtnIcon,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
38
|
+
BmColors,
|
|
39
|
+
BmCard,
|
|
40
|
+
BmListHeader,
|
|
41
|
+
BmRowLabel,
|
|
42
|
+
BmModal,
|
|
43
|
+
BmNoteBar,
|
|
44
|
+
BmProgressBar,
|
|
45
|
+
BmRouteLink,
|
|
282
46
|
BmTab,
|
|
283
|
-
|
|
284
|
-
BmTabWrapper,
|
|
285
|
-
BmTabText,
|
|
286
|
-
BmLeftTabIcon,
|
|
287
|
-
BmRightTabIcon,
|
|
288
|
-
BmTag,
|
|
289
|
-
BmNavbar,
|
|
290
|
-
BmNavbarItems,
|
|
291
|
-
GlobalNavbarWrapper,
|
|
292
|
-
OldBmNavbar,
|
|
293
|
-
BmNavBarProfile,
|
|
294
|
-
BmNavbarSearch,
|
|
295
|
-
BmNavbarLogo,
|
|
296
|
-
BmChatWrapper,
|
|
297
|
-
BmChatText,
|
|
298
|
-
BmDisplayTime,
|
|
299
|
-
BmUserChat,
|
|
300
|
-
BmFileWrapper,
|
|
301
|
-
BmFileText,
|
|
302
|
-
FileIcons,
|
|
303
|
-
BmFileChat,
|
|
304
|
-
BmImageWrapper,
|
|
305
|
-
BmImage,
|
|
306
|
-
BmImageFileName,
|
|
307
|
-
BmImageChat,
|
|
308
|
-
BmMessageTab,
|
|
309
|
-
BmMessageTabInput,
|
|
310
|
-
BmSend,
|
|
311
|
-
BmAttachment,
|
|
312
|
-
BmMessage,
|
|
313
|
-
Main,
|
|
47
|
+
GlobalStyle,
|
|
314
48
|
MainWrapper,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
BmSideBarBtnIcon,
|
|
322
|
-
BmSideBarTab,
|
|
323
|
-
BmButtonIcon,
|
|
324
|
-
BmSuccessIcon,
|
|
325
|
-
BmErrorIcon,
|
|
326
|
-
BmSearchIcon,
|
|
327
|
-
BmDropdownIcon,
|
|
328
|
-
BmDropupIcon,
|
|
329
|
-
BmTagIcon,
|
|
49
|
+
// Old components to be refactored
|
|
50
|
+
BmButtonDropDown,
|
|
51
|
+
BmCheckbox,
|
|
52
|
+
BmInput,
|
|
53
|
+
BmLoader,
|
|
54
|
+
//Icons (Remove unused ones and check on the sizing for custom icons)
|
|
330
55
|
BmAvatarIcon,
|
|
56
|
+
BmIcons,
|
|
57
|
+
BmTagIcon,
|
|
331
58
|
BmChatbotIcon,
|
|
332
59
|
BmEmojiIcon,
|
|
333
60
|
BmQuickReplyIcon,
|
|
334
61
|
BmSupport,
|
|
335
|
-
BmChatbot,
|
|
336
|
-
BmIcons,
|
|
337
|
-
BmContact,
|
|
338
|
-
BmContactItem,
|
|
339
|
-
BmContactText,
|
|
340
|
-
BmContactName,
|
|
341
|
-
BmContactIcon,
|
|
342
|
-
BmMessageText,
|
|
343
|
-
BmMessageContact,
|
|
344
|
-
BmContactMessage,
|
|
345
|
-
BmContactDetails,
|
|
346
|
-
BmContactTime,
|
|
347
|
-
BmContactSideBar,
|
|
348
|
-
BmUnreadMessage,
|
|
349
|
-
BmCustomerDetails,
|
|
350
|
-
BmCustomerInfoHeader,
|
|
351
|
-
BmCustomer,
|
|
352
|
-
BmCustomerInfoName,
|
|
353
|
-
BmMoreInfo,
|
|
354
|
-
BmBtnTag,
|
|
355
|
-
BmInfoTabWrapper,
|
|
356
|
-
BmIcon,
|
|
357
|
-
BmCustomerIcons,
|
|
358
|
-
BmCustomerInfoTab,
|
|
359
|
-
BmCustomerBar,
|
|
360
|
-
BmCustomerInfoAccordicon,
|
|
361
|
-
BmInfoAccordiconMenu,
|
|
362
|
-
BmInformation,
|
|
363
|
-
BmInfoHeaderText,
|
|
364
|
-
BmDropdownInfo,
|
|
365
|
-
BmInfoHeaderWrapper,
|
|
366
|
-
BmInfoHeader,
|
|
367
|
-
BmInfoContent,
|
|
368
|
-
BmInfoContentItem,
|
|
369
|
-
BmInfoContentLabel,
|
|
370
|
-
BmInfoContentValue,
|
|
371
|
-
BmChatHeaderWrapper,
|
|
372
|
-
BmChatHeaderText,
|
|
373
|
-
BmChatHeaderTime,
|
|
374
|
-
BmChatHeaderInfoIcon,
|
|
375
|
-
BmChatHeader,
|
|
376
|
-
BmChatInfoWrapper,
|
|
377
|
-
BmChatMenuWrapper,
|
|
378
|
-
Loader,
|
|
379
|
-
BmLoader,
|
|
380
|
-
BmButtonDropDown,
|
|
381
|
-
BmButtonDropdownItem,
|
|
382
|
-
BmDropDownItem,
|
|
383
|
-
BmDropDownMenu,
|
|
384
|
-
BmCustomizedDropdown,
|
|
385
|
-
GlobalStyle,
|
|
386
|
-
Overlay,
|
|
387
|
-
ModalContent,
|
|
388
|
-
ModalWrapper,
|
|
389
|
-
HeaderWrapper,
|
|
390
|
-
HeaderText,
|
|
391
|
-
Close,
|
|
392
|
-
CloseModal,
|
|
393
|
-
ModalHeader,
|
|
394
|
-
Modal,
|
|
395
|
-
BmAgentSearch,
|
|
396
|
-
BmAgentName,
|
|
397
|
-
BmAgentPill,
|
|
398
|
-
BmAgentButton,
|
|
399
|
-
BmPreviousAgentWrapper,
|
|
400
|
-
BmPreviousAgentTitle,
|
|
401
|
-
BmPreviousAgentContent,
|
|
402
|
-
BmPreviousAgentIcon,
|
|
403
|
-
BmPreviousAgent,
|
|
404
|
-
BmPreviousAgentName,
|
|
405
|
-
BmPreviousAgentMessage,
|
|
406
|
-
ModalBody,
|
|
407
|
-
ModalFooter,
|
|
408
|
-
BmFooterButtons,
|
|
409
|
-
BmReportsButton,
|
|
410
|
-
BmReportsBody,
|
|
411
|
-
BmReportsHeader,
|
|
412
|
-
CloseNote,
|
|
413
|
-
BmReportsHeaderText,
|
|
414
|
-
BmReportsTitle,
|
|
415
|
-
BmCard,
|
|
416
|
-
CardTitleWrapper,
|
|
417
|
-
CardTitleText,
|
|
418
|
-
CardTitle,
|
|
419
|
-
BmCardBody,
|
|
420
|
-
BmCardBodyImg,
|
|
421
|
-
BmCardBodyText,
|
|
422
|
-
BmCardFooter,
|
|
423
|
-
BmCardFooterText,
|
|
424
|
-
BmCardDetails,
|
|
425
|
-
BmChart,
|
|
426
|
-
BmChartHeader,
|
|
427
|
-
BmChartTitleText,
|
|
428
|
-
BmChartDetails,
|
|
429
|
-
BmChartBody,
|
|
430
|
-
BmChartBodyText,
|
|
431
|
-
BmChartBodyDetails,
|
|
432
|
-
BmChartHeading,
|
|
433
|
-
BmMainChartWrapper,
|
|
434
|
-
BmMainChartContent,
|
|
435
|
-
BmMainChart,
|
|
436
|
-
BmOverviewCards,
|
|
437
|
-
BmOverviewCharts,
|
|
438
|
-
BmReportsInfoHeader,
|
|
439
|
-
BmReportsButtons,
|
|
440
|
-
BmListHeader,
|
|
441
|
-
BmRowLabel,
|
|
442
|
-
BmSegmentCard,
|
|
443
|
-
BmSegmentSelector,
|
|
444
|
-
BmSegment,
|
|
445
|
-
BmSegmentCheckBox,
|
|
446
|
-
BmContentTitle,
|
|
447
|
-
BmContent,
|
|
448
|
-
BmFooterLeft,
|
|
449
|
-
BmFooterRight,
|
|
450
|
-
BmContentFooter,
|
|
451
|
-
BmInfoNote,
|
|
452
|
-
BmSegmentCompleteContent,
|
|
453
|
-
BmSegmentCompleteIcon,
|
|
454
|
-
BmSegmentCreateContent,
|
|
455
|
-
BmProgressBar,
|
|
456
|
-
BmCheckbox,
|
|
457
|
-
BmAddNote,
|
|
458
|
-
BmNoteInfo,
|
|
459
|
-
BmNote,
|
|
460
|
-
BmNoteFooter,
|
|
461
|
-
BmNoteDetails,
|
|
462
62
|
CopyToClipBoard,
|
|
463
|
-
BmAddLabel,
|
|
464
|
-
BmLabelInfo,
|
|
465
|
-
BmLabels,
|
|
466
|
-
BmColorLabel,
|
|
467
|
-
BmColorLabelPicker,
|
|
468
|
-
BmAccordicon,
|
|
469
|
-
BmRouteLink
|
|
470
63
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Done, ErrorOutline } from "@material-ui/icons";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import styled from "styled-components";
|
|
4
|
+
import { BmIcons } from ".";
|
|
3
5
|
import {
|
|
4
6
|
BmPrimaryWhite,
|
|
5
7
|
BmGrey400,
|
|
@@ -114,8 +116,12 @@ export const BmInput = ({ id, iconSize, label, state, ...rest }) => {
|
|
|
114
116
|
state={state}
|
|
115
117
|
disabled={state === "disabled" ? true : false}
|
|
116
118
|
/>
|
|
117
|
-
{state && state === "complete" &&
|
|
118
|
-
|
|
119
|
+
{state && state === "complete" && (
|
|
120
|
+
<BmIcons icon={<ErrorOutline />} size="small" />
|
|
121
|
+
)}
|
|
122
|
+
{state && state === "incomplete" && (
|
|
123
|
+
<BmIcons icon={<Done />} size="small" />
|
|
124
|
+
)}
|
|
119
125
|
</BmInputWrapper>
|
|
120
126
|
{label && (
|
|
121
127
|
<BmInputLabel htmlFor={id} state={state} {...rest}>
|