beem-component 2.0.27 → 2.1.0
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/Dockerfile +4 -2
- package/Jenkinsfile +20 -5
- package/dist/components/Accordion/Accordion.js +55 -66
- package/dist/components/Accordion/Accordion.stories.js +5 -6
- package/dist/components/Avatars/avatars.js +33 -23
- package/dist/components/Avatars/avatars.stories.js +5 -10
- package/dist/components/BannerCard/bannerCard.stories.js +6 -7
- package/dist/components/BannerCard/bannerCards.js +38 -40
- package/dist/components/BmSelector/BmSelector.js +120 -0
- package/dist/components/BmSelector/BmSelector.stories.js +138 -0
- package/dist/components/ButtonGroup/buttonGroup.js +14 -15
- package/dist/components/ButtonGroup/buttonGroup.stories.js +11 -26
- package/dist/components/Buttons/Stories/basicbutton.stories.js +5 -10
- package/dist/components/Buttons/Stories/buttonAlertIcons.stories.js +4 -8
- package/dist/components/Buttons/Stories/buttonIconsOnly.stories.js +4 -8
- package/dist/components/Buttons/buttonAlertIcons.js +40 -58
- package/dist/components/Buttons/buttonDropdown copy.js +52 -35
- package/dist/components/Buttons/buttonDropdown.js +5 -3
- package/dist/components/Buttons/buttonIconsOnly.js +32 -25
- package/dist/components/Buttons/buttons.js +105 -72
- package/dist/components/Card_v2/Card.js +78 -0
- package/dist/components/Card_v2/Card.stories.js +60 -0
- package/dist/components/Cards/cards.js +3 -4
- package/dist/components/Cards/cards.stories.js +4 -5
- package/dist/components/ChatComponents/ChatBody/FeedPostComments.js +65 -39
- package/dist/components/ChatComponents/ChatBody/chatBody.js +224 -189
- package/dist/components/ChatComponents/ChatBody/chatBody.stories.js +4 -5
- package/dist/components/ChatComponents/ChatBody/sessionDetails.js +11 -9
- package/dist/components/ChatComponents/ChatBody/sessionTimeline.js +12 -10
- package/dist/components/ChatComponents/ChatHeader/chatHeader.js +3 -4
- package/dist/components/ChatComponents/ChatHeader/chatHeader.stories.js +3 -4
- package/dist/components/ChatComponents/ColorPicker/colorPicker.js +3 -6
- package/dist/components/ChatComponents/ColorPicker/colorPicker.stories.js +7 -10
- package/dist/components/ChatComponents/ContactCards/contactCards.js +40 -31
- package/dist/components/ChatComponents/ContactCards/contactCards.stories.js +3 -4
- package/dist/components/ChatComponents/FormAccordion/FormAccordion.js +3 -4
- package/dist/components/ChatComponents/FormAccordion/FormAccordion.stories.js +3 -4
- package/dist/components/ChatComponents/InfoTab/infoTab.js +3 -5
- package/dist/components/ChatComponents/InfoTab/infoTab.stories.js +3 -4
- package/dist/components/ChatComponents/LabelAccordion/LabelAccordion.js +3 -4
- package/dist/components/ChatComponents/LabelAccordion/LabelAccordion.stories.js +3 -4
- package/dist/components/ChatComponents/NoteAccordion/NoteAccordion.js +3 -4
- package/dist/components/ChatComponents/NoteAccordion/NoteAccordion.stories.js +3 -4
- package/dist/components/Chats/chat.js +56 -50
- package/dist/components/Chats/chatInput.js +9 -14
- package/dist/components/Chats/chatwrapper.js +8 -14
- package/dist/components/Checkbox/checkboxToggler.js +20 -20
- package/dist/components/Checkbox/checkboxToggler.stories.js +12 -35
- package/dist/components/InfoPanel/InfoPanel.js +141 -0
- package/dist/components/InfoPanel/InfoPanel.stories.js +200 -0
- package/dist/components/InputCounter/inputCounter.js +17 -18
- package/dist/components/Jumbotron/Jumbotron.js +8 -11
- package/dist/components/Jumbotron/Jumbotron.stories.js +3 -4
- package/dist/components/LabelWithIcon/LabelWithIcon.js +63 -0
- package/dist/components/LabelWithIcon/LabelWithIcon.stories.js +59 -0
- package/dist/components/Lists/listBox.js +21 -25
- package/dist/components/Lists/listBox.stories.js +7 -20
- package/dist/components/Lists/listHeader.stories.js +4 -8
- package/dist/components/Lists/listheader.js +17 -14
- package/dist/components/Lists/rowLabels.js +26 -24
- package/dist/components/Lists/rowLabels.stories.js +11 -18
- package/dist/components/Loader/loader.js +16 -14
- package/dist/components/Loader/loader.stories.js +4 -8
- package/dist/components/MainWrapper/index.js +3 -4
- package/dist/components/MessageCounter/MessageCounter.stories.js +4 -5
- package/dist/components/MessageCounter/messageCounter.js +15 -10
- package/dist/components/Modals/modal.js +57 -72
- package/dist/components/Modals/modals.stories.js +16 -45
- package/dist/components/MojaAccordion/MojaAccordion.js +49 -55
- package/dist/components/MultipleDateSelector/multipleDateSelector.js +14 -18
- package/dist/components/NoteBar/noteBar.js +22 -32
- package/dist/components/NoteBar/noteBar.stories.js +5 -10
- package/dist/components/PaymentBox/paymentBox.js +14 -11
- package/dist/components/PaymentBox/paymentBox.stories.js +3 -4
- package/dist/components/PerformanceIndicator/performaceIndicator.stories.js +4 -8
- package/dist/components/PerformanceIndicator/performanceIndicator.js +17 -14
- package/dist/components/Pills/pills.js +30 -38
- package/dist/components/Pills/pills.stories.js +5 -10
- package/dist/components/ProfileIcon/ProfileIcon.js +26 -36
- package/dist/components/ProfileIcon/profileIcon.stories.js +6 -12
- package/dist/components/ProgressBar/progressbar.js +14 -12
- package/dist/components/ProgressBar/progressbar.stories.js +4 -8
- package/dist/components/ProgressIndicator/ProgressIndicator.js +121 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.stories.js +99 -0
- package/dist/components/ProgressRing/progressRing.js +48 -50
- package/dist/components/ProgressRing/progressRing.stories.js +5 -10
- package/dist/components/RouteLink/link.js +3 -8
- package/dist/components/RouteLink/link.stories.js +3 -4
- package/dist/components/ScrollBar/scrollBar.js +18 -26
- package/dist/components/SelectionNotice/SelectionNotice.js +57 -0
- package/dist/components/SelectionNotice/SelectionNotice.stories.js +35 -0
- package/dist/components/Stepper/stepper.js +4 -11
- package/dist/components/SuperFluid/Content/index.js +3 -4
- package/dist/components/SuperFluid/ContentTitle.js/index.js +6 -10
- package/dist/components/SuperFluid/SegmentCard/index.js +11 -21
- package/dist/components/Tabs/tabs.js +32 -24
- package/dist/components/Tabs/tabs.stories.js +6 -12
- package/dist/components/Tags/tags.js +65 -63
- package/dist/components/Tags/tags.stories.js +6 -12
- package/dist/components/breakpoints.js +3 -5
- package/dist/components/chatHeader.js +7 -12
- package/dist/components/checkbox.js +30 -25
- package/dist/components/colors.js +31 -62
- package/dist/components/contacts.js +32 -35
- package/dist/components/dropdown.js +18 -39
- package/dist/components/dropdownButton.js +38 -28
- package/dist/components/dropdownItems.js +23 -26
- package/dist/components/examples/App.js +3 -4
- package/dist/components/examples/InfoAccordion.js +3 -4
- package/dist/components/examples/chatBodyExample.js +4 -7
- package/dist/components/examples/selectExample.js +12 -30
- package/dist/components/globalStyles.js +1 -2
- package/dist/components/iconStyles.js +69 -103
- package/dist/components/index-copy.js +197 -197
- package/dist/components/index.js +106 -66
- package/dist/components/input.js +36 -25
- package/dist/components/logo.js +10 -9
- package/dist/components/navbar.js +9 -16
- package/dist/components/search.js +18 -16
- package/dist/components/shadow.js +1 -2
- package/dist/components/text.js +9 -18
- package/dist/components/typography.js +14 -28
- package/dist/components/wrapper.js +4 -6
- package/nginx.conf +26 -12
- package/package.json +3 -1
- package/src/App.js +246 -3
- package/src/lib/components/BmSelector/BmSelector.js +154 -0
- package/src/lib/components/BmSelector/BmSelector.stories.jsx +125 -0
- package/src/lib/components/Buttons/buttons.js +12 -8
- package/src/lib/components/Card_v2/Card.js +127 -0
- package/src/lib/components/Card_v2/Card.stories.jsx +94 -0
- package/src/lib/components/InfoPanel/InfoPanel.js +221 -0
- package/src/lib/components/InfoPanel/InfoPanel.stories.jsx +169 -0
- package/src/lib/components/LabelWithIcon/LabelWithIcon.js +61 -0
- package/src/lib/components/LabelWithIcon/LabelWithIcon.stories.jsx +59 -0
- package/src/lib/components/ProgressIndicator/ProgressIndicator.js +208 -0
- package/src/lib/components/ProgressIndicator/ProgressIndicator.stories.jsx +91 -0
- package/src/lib/components/SelectionNotice/SelectionNotice.js +65 -0
- package/src/lib/components/SelectionNotice/SelectionNotice.stories.jsx +40 -0
- package/src/lib/components/index.js +14 -0
- package/src/util/convertToRGBA.js +21 -0
- package/storybook-static/140.d6695a165d8dcc810b2e.manager.bundle.js +1 -0
- package/storybook-static/140.f87feb0b.iframe.bundle.js +1 -0
- package/storybook-static/149.7cc11ef8.iframe.bundle.js +2 -0
- package/storybook-static/149.7cc11ef8.iframe.bundle.js.LICENSE.txt +14 -0
- package/storybook-static/192.08b67b8c.iframe.bundle.js +1 -0
- package/storybook-static/246.9ad91c22.iframe.bundle.js +2 -0
- package/storybook-static/{vendors~main.7fe78cc2.iframe.bundle.js.LICENSE.txt → 246.9ad91c22.iframe.bundle.js.LICENSE.txt} +48 -16
- package/storybook-static/448.0ad0b2a9.iframe.bundle.js +2 -0
- package/storybook-static/448.0ad0b2a9.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/448.502f738789de31a83e1c.manager.bundle.js +2 -0
- package/storybook-static/448.502f738789de31a83e1c.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/463.694cb3b0a2f8b0deba70.manager.bundle.js +2 -0
- package/storybook-static/463.694cb3b0a2f8b0deba70.manager.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/463.7b3b5742.iframe.bundle.js +2 -0
- package/storybook-static/463.7b3b5742.iframe.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/58.56a2198b.iframe.bundle.js +1 -0
- package/storybook-static/58.cd3f8ad06a1200571eab.manager.bundle.js +1 -0
- package/storybook-static/676.d74803c6ab12eac1cdb2.manager.bundle.js +2 -0
- package/storybook-static/{vendors~main.1750028c2d68e574fb1d.manager.bundle.js.LICENSE.txt → 676.d74803c6ab12eac1cdb2.manager.bundle.js.LICENSE.txt} +20 -30
- package/storybook-static/720.d729a720931e1312e597.manager.bundle.js +2 -0
- package/storybook-static/720.e12f6aa2.iframe.bundle.js +2 -0
- package/storybook-static/794.0543a68a8b5aa273273a.manager.bundle.js +1 -0
- package/storybook-static/929.5353bbe2.iframe.bundle.js +1 -0
- package/storybook-static/929.ed1807a8ea3e2353d440.manager.bundle.js +1 -0
- package/storybook-static/9b058fcb1416fea75e6c.png +0 -0
- package/storybook-static/f29af3502f15acc765a8.png +0 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +22 -6
- package/storybook-static/index.html +66 -109
- package/storybook-static/main.1a29aa69.iframe.bundle.js +1 -0
- package/storybook-static/main.69bad789e0a3d801264b.manager.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.87eecef7.iframe.bundle.js +1 -0
- package/storybook-static/runtime~main.dd5308492057ff00c469.manager.bundle.js +1 -0
- package/storybook-static/static/css/main.08a2eb27.css +6 -0
- package/storybook-static/static/css/main.08a2eb27.css.map +1 -0
- package/storybook-static/0.00c62ec79c260aedbb98.manager.bundle.js +0 -2
- package/storybook-static/0.00c62ec79c260aedbb98.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/0.96c45dd8.iframe.bundle.js +0 -1
- package/storybook-static/1.dc6acfa9.iframe.bundle.js +0 -3
- package/storybook-static/1.dc6acfa9.iframe.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/1.dc6acfa9.iframe.bundle.js.map +0 -1
- package/storybook-static/1.dc7dcdaec2def2f224fd.manager.bundle.js +0 -1
- package/storybook-static/2.24353ddc.iframe.bundle.js +0 -1
- package/storybook-static/3.8bb2173c.iframe.bundle.js +0 -1
- package/storybook-static/5.0779e3847d325dece216.manager.bundle.js +0 -1
- package/storybook-static/6.8bd405c2576206749a16.manager.bundle.js +0 -2
- package/storybook-static/7.9d4ba19cf58425e7ff0d.manager.bundle.js +0 -1
- package/storybook-static/7.f0cfc757.iframe.bundle.js +0 -1
- package/storybook-static/8.91de97de.iframe.bundle.js +0 -3
- package/storybook-static/8.91de97de.iframe.bundle.js.map +0 -1
- package/storybook-static/8.b4e9ec0ec7648e02a923.manager.bundle.js +0 -1
- package/storybook-static/9.40ec65d6.iframe.bundle.js +0 -1
- package/storybook-static/asset-manifest.json +0 -30
- package/storybook-static/main.3c8d8027.iframe.bundle.js +0 -1
- package/storybook-static/main.3e5804fe56d1f580b088.manager.bundle.js +0 -1
- package/storybook-static/runtime~main.d3a18d6a.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.ff106120648356c6069d.manager.bundle.js +0 -1
- package/storybook-static/static/css/main.b44a190d.chunk.css +0 -4
- package/storybook-static/static/css/main.b44a190d.chunk.css.map +0 -1
- package/storybook-static/vendors~main.1750028c2d68e574fb1d.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.7fe78cc2.iframe.bundle.js +0 -3
- package/storybook-static/vendors~main.7fe78cc2.iframe.bundle.js.map +0 -1
- /package/storybook-static/{static/media/PoppinsMedium.0ba26f6c.woff → 0ba26f6cfe2f94ec2b43.woff} +0 -0
- /package/storybook-static/{static/media/PoppinsRegular.13b9af9c.eot → 13b9af9c8b2b4d656251.eot} +0 -0
- /package/storybook-static/{static/media/OpenSans-Regular.1b0809d5.ttf → 1b0809d519837cb7aad3.ttf} +0 -0
- /package/storybook-static/{static/media/PoppinsBold.1eae2d48.woff2 → 1eae2d48398534b6e1fe.woff2} +0 -0
- /package/storybook-static/{static/media/PoppinsRegular.43e9b50d.svg → 43e9b50d6f4141c6275f.svg} +0 -0
- /package/storybook-static/{static/media/PoppinsMedium.49b46ace.eot → 49b46acec5a811ce1edd.eot} +0 -0
- /package/storybook-static/{static/media/PoppinsRegular.4a4d5420.woff → 4a4d54208e3b43dcdd6e.woff} +0 -0
- /package/storybook-static/{static/media/PoppinsBold.53ff6749.eot → 53ff67494885a390867f.eot} +0 -0
- /package/storybook-static/{static/media/PoppinsBold.53ff971f.ttf → 53ff971f3c691d03daf6.ttf} +0 -0
- /package/storybook-static/{static/media/PoppinsSemiBold.5692c77f.ttf → 5692c77f2768f53db4fb.ttf} +0 -0
- /package/storybook-static/{static/media/PoppinsMedium.57a99fa8.woff2 → 57a99fa8569430db3aa1.woff2} +0 -0
- /package/storybook-static/{6.8bd405c2576206749a16.manager.bundle.js.LICENSE.txt → 720.d729a720931e1312e597.manager.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{8.91de97de.iframe.bundle.js.LICENSE.txt → 720.e12f6aa2.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook-static/{static/media/PoppinsSemiBold.80138c67.woff → 80138c67abf7843ea7e5.woff} +0 -0
- /package/storybook-static/{static/media/PoppinsBold.850fc4f3.svg → 850fc4f3768c0af34ea8.svg} +0 -0
- /package/storybook-static/{static/media/PoppinsRegular.9a7cc7ec.woff2 → 9a7cc7ec4e1eda4f7e6d.woff2} +0 -0
- /package/storybook-static/{static/media/PoppinsBold.b33c148b.woff → b33c148b95e9b282af64.woff} +0 -0
- /package/storybook-static/{static/media/PoppinsMedium.b7e43707.svg → b7e43707906d1445e127.svg} +0 -0
- /package/storybook-static/{static/media/PoppinsSemiBold.c442695a.eot → c442695a5fcf958609b8.eot} +0 -0
- /package/storybook-static/{static/media/PoppinsMedium.c98dddbd.ttf → c98dddbdc5b1e18988b9.ttf} +0 -0
- /package/storybook-static/{static/media/PoppinsSemiBold.e1948d56.svg → e1948d56fc87f569ef8d.svg} +0 -0
- /package/storybook-static/{static/media/PoppinsRegular.e1bc9021.ttf → e1bc9021c9d8ba86968b.ttf} +0 -0
- /package/storybook-static/{static/media/PoppinsSemiBold.f27050e2.woff2 → f27050e2684287d42c91.woff2} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -1,379 +1,414 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
Object.defineProperty(exports, "BmAccordion", {
|
|
8
7
|
enumerable: true,
|
|
9
|
-
get: function
|
|
8
|
+
get: function () {
|
|
10
9
|
return _Accordion.default;
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
12
|
Object.defineProperty(exports, "BmAlertIcon", {
|
|
14
13
|
enumerable: true,
|
|
15
|
-
get: function
|
|
14
|
+
get: function () {
|
|
16
15
|
return _buttonAlertIcons.BmAlertIcon;
|
|
17
16
|
}
|
|
18
17
|
});
|
|
19
18
|
Object.defineProperty(exports, "BmAvatar", {
|
|
20
19
|
enumerable: true,
|
|
21
|
-
get: function
|
|
20
|
+
get: function () {
|
|
22
21
|
return _avatars.default;
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
24
|
Object.defineProperty(exports, "BmAvatarIcon", {
|
|
26
25
|
enumerable: true,
|
|
27
|
-
get: function
|
|
26
|
+
get: function () {
|
|
28
27
|
return _iconStyles.BmAvatarIcon;
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
30
|
Object.defineProperty(exports, "BmBanner", {
|
|
32
31
|
enumerable: true,
|
|
33
|
-
get: function
|
|
32
|
+
get: function () {
|
|
34
33
|
return _bannerCards.default;
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
36
|
Object.defineProperty(exports, "BmBtnIcon", {
|
|
38
37
|
enumerable: true,
|
|
39
|
-
get: function
|
|
38
|
+
get: function () {
|
|
40
39
|
return _buttonIconsOnly.BmBtnIcon;
|
|
41
40
|
}
|
|
42
41
|
});
|
|
43
42
|
Object.defineProperty(exports, "BmButton", {
|
|
44
43
|
enumerable: true,
|
|
45
|
-
get: function
|
|
44
|
+
get: function () {
|
|
46
45
|
return _buttons.BmButton;
|
|
47
46
|
}
|
|
48
47
|
});
|
|
49
48
|
Object.defineProperty(exports, "BmButtonDropDown", {
|
|
50
49
|
enumerable: true,
|
|
51
|
-
get: function
|
|
50
|
+
get: function () {
|
|
52
51
|
return _dropdownButton.BmButtonDropDown;
|
|
53
52
|
}
|
|
54
53
|
});
|
|
55
54
|
Object.defineProperty(exports, "BmButtonGroup", {
|
|
56
55
|
enumerable: true,
|
|
57
|
-
get: function
|
|
56
|
+
get: function () {
|
|
58
57
|
return _buttonGroup.default;
|
|
59
58
|
}
|
|
60
59
|
});
|
|
61
60
|
Object.defineProperty(exports, "BmCard", {
|
|
62
61
|
enumerable: true,
|
|
63
|
-
get: function
|
|
62
|
+
get: function () {
|
|
64
63
|
return _cards.default;
|
|
65
64
|
}
|
|
66
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "BmCardv2", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _Card.BmCardv2;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
67
72
|
Object.defineProperty(exports, "BmChat", {
|
|
68
73
|
enumerable: true,
|
|
69
|
-
get: function
|
|
74
|
+
get: function () {
|
|
70
75
|
return _chatBody.default;
|
|
71
76
|
}
|
|
72
77
|
});
|
|
73
78
|
Object.defineProperty(exports, "BmChatAccordion", {
|
|
74
79
|
enumerable: true,
|
|
75
|
-
get: function
|
|
80
|
+
get: function () {
|
|
76
81
|
return _MojaAccordion.default;
|
|
77
82
|
}
|
|
78
83
|
});
|
|
79
84
|
Object.defineProperty(exports, "BmChatForm", {
|
|
80
85
|
enumerable: true,
|
|
81
|
-
get: function
|
|
86
|
+
get: function () {
|
|
82
87
|
return _FormAccordion.default;
|
|
83
88
|
}
|
|
84
89
|
});
|
|
85
90
|
Object.defineProperty(exports, "BmChatHeader", {
|
|
86
91
|
enumerable: true,
|
|
87
|
-
get: function
|
|
92
|
+
get: function () {
|
|
88
93
|
return _chatHeader.BmChatHeader;
|
|
89
94
|
}
|
|
90
95
|
});
|
|
91
96
|
Object.defineProperty(exports, "BmChatLabels", {
|
|
92
97
|
enumerable: true,
|
|
93
|
-
get: function
|
|
98
|
+
get: function () {
|
|
94
99
|
return _LabelAccordion.default;
|
|
95
100
|
}
|
|
96
101
|
});
|
|
97
102
|
Object.defineProperty(exports, "BmChatNotes", {
|
|
98
103
|
enumerable: true,
|
|
99
|
-
get: function
|
|
104
|
+
get: function () {
|
|
100
105
|
return _NoteAccordion.default;
|
|
101
106
|
}
|
|
102
107
|
});
|
|
103
108
|
Object.defineProperty(exports, "BmChatbotIcon", {
|
|
104
109
|
enumerable: true,
|
|
105
|
-
get: function
|
|
110
|
+
get: function () {
|
|
106
111
|
return _iconStyles.BmChatbotIcon;
|
|
107
112
|
}
|
|
108
113
|
});
|
|
109
114
|
Object.defineProperty(exports, "BmCheckbox", {
|
|
110
115
|
enumerable: true,
|
|
111
|
-
get: function
|
|
116
|
+
get: function () {
|
|
112
117
|
return _checkbox.BmCheckbox;
|
|
113
118
|
}
|
|
114
119
|
});
|
|
115
120
|
Object.defineProperty(exports, "BmCheckboxToggle", {
|
|
116
121
|
enumerable: true,
|
|
117
|
-
get: function
|
|
122
|
+
get: function () {
|
|
118
123
|
return _checkboxToggler.BmCheckboxToggle;
|
|
119
124
|
}
|
|
120
125
|
});
|
|
121
126
|
Object.defineProperty(exports, "BmColorPicker", {
|
|
122
127
|
enumerable: true,
|
|
123
|
-
get: function
|
|
128
|
+
get: function () {
|
|
124
129
|
return _colorPicker.BmColorPicker;
|
|
125
130
|
}
|
|
126
131
|
});
|
|
127
132
|
exports.BmColors = void 0;
|
|
128
133
|
Object.defineProperty(exports, "BmContactCard", {
|
|
129
134
|
enumerable: true,
|
|
130
|
-
get: function
|
|
135
|
+
get: function () {
|
|
131
136
|
return _contactCards.BmContactCard;
|
|
132
137
|
}
|
|
133
138
|
});
|
|
134
139
|
Object.defineProperty(exports, "BmContactCheckbox", {
|
|
135
140
|
enumerable: true,
|
|
136
|
-
get: function
|
|
141
|
+
get: function () {
|
|
137
142
|
return _contactCards.BmContactCheckbox;
|
|
138
143
|
}
|
|
139
144
|
});
|
|
140
145
|
Object.defineProperty(exports, "BmContent", {
|
|
141
146
|
enumerable: true,
|
|
142
|
-
get: function
|
|
147
|
+
get: function () {
|
|
143
148
|
return _index.BmContent;
|
|
144
149
|
}
|
|
145
150
|
});
|
|
146
151
|
Object.defineProperty(exports, "BmContentFooter", {
|
|
147
152
|
enumerable: true,
|
|
148
|
-
get: function
|
|
153
|
+
get: function () {
|
|
149
154
|
return _ContentTitle.BmContentFooter;
|
|
150
155
|
}
|
|
151
156
|
});
|
|
152
157
|
Object.defineProperty(exports, "BmContentTitle", {
|
|
153
158
|
enumerable: true,
|
|
154
|
-
get: function
|
|
159
|
+
get: function () {
|
|
155
160
|
return _ContentTitle.BmContentTitle;
|
|
156
161
|
}
|
|
157
162
|
});
|
|
158
163
|
Object.defineProperty(exports, "BmCounter", {
|
|
159
164
|
enumerable: true,
|
|
160
|
-
get: function
|
|
165
|
+
get: function () {
|
|
161
166
|
return _messageCounter.default;
|
|
162
167
|
}
|
|
163
168
|
});
|
|
164
169
|
Object.defineProperty(exports, "BmEmojiIcon", {
|
|
165
170
|
enumerable: true,
|
|
166
|
-
get: function
|
|
171
|
+
get: function () {
|
|
167
172
|
return _iconStyles.BmEmojiIcon;
|
|
168
173
|
}
|
|
169
174
|
});
|
|
170
175
|
Object.defineProperty(exports, "BmFooterLeft", {
|
|
171
176
|
enumerable: true,
|
|
172
|
-
get: function
|
|
177
|
+
get: function () {
|
|
173
178
|
return _ContentTitle.BmFooterLeft;
|
|
174
179
|
}
|
|
175
180
|
});
|
|
176
181
|
Object.defineProperty(exports, "BmFooterRight", {
|
|
177
182
|
enumerable: true,
|
|
178
|
-
get: function
|
|
183
|
+
get: function () {
|
|
179
184
|
return _ContentTitle.BmFooterRight;
|
|
180
185
|
}
|
|
181
186
|
});
|
|
182
187
|
Object.defineProperty(exports, "BmIcons", {
|
|
183
188
|
enumerable: true,
|
|
184
|
-
get: function
|
|
189
|
+
get: function () {
|
|
185
190
|
return _iconStyles.BmIcons;
|
|
186
191
|
}
|
|
187
192
|
});
|
|
193
|
+
Object.defineProperty(exports, "BmInfoPanel", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () {
|
|
196
|
+
return _InfoPanel.default;
|
|
197
|
+
}
|
|
198
|
+
});
|
|
188
199
|
Object.defineProperty(exports, "BmInfoTab", {
|
|
189
200
|
enumerable: true,
|
|
190
|
-
get: function
|
|
201
|
+
get: function () {
|
|
191
202
|
return _infoTab.default;
|
|
192
203
|
}
|
|
193
204
|
});
|
|
194
205
|
Object.defineProperty(exports, "BmInput", {
|
|
195
206
|
enumerable: true,
|
|
196
|
-
get: function
|
|
207
|
+
get: function () {
|
|
197
208
|
return _input.BmInput;
|
|
198
209
|
}
|
|
199
210
|
});
|
|
200
211
|
Object.defineProperty(exports, "BmInputCounter", {
|
|
201
212
|
enumerable: true,
|
|
202
|
-
get: function
|
|
213
|
+
get: function () {
|
|
203
214
|
return _inputCounter.BmInputCounter;
|
|
204
215
|
}
|
|
205
216
|
});
|
|
206
217
|
Object.defineProperty(exports, "BmJumbotron", {
|
|
207
218
|
enumerable: true,
|
|
208
|
-
get: function
|
|
219
|
+
get: function () {
|
|
209
220
|
return _Jumbotron.default;
|
|
210
221
|
}
|
|
211
222
|
});
|
|
223
|
+
Object.defineProperty(exports, "BmLabelWithIcon", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function () {
|
|
226
|
+
return _LabelWithIcon.default;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
212
229
|
Object.defineProperty(exports, "BmListBox", {
|
|
213
230
|
enumerable: true,
|
|
214
|
-
get: function
|
|
231
|
+
get: function () {
|
|
215
232
|
return _listBox.BmListBox;
|
|
216
233
|
}
|
|
217
234
|
});
|
|
218
235
|
Object.defineProperty(exports, "BmListHeader", {
|
|
219
236
|
enumerable: true,
|
|
220
|
-
get: function
|
|
237
|
+
get: function () {
|
|
221
238
|
return _listheader.BmListHeader;
|
|
222
239
|
}
|
|
223
240
|
});
|
|
224
241
|
Object.defineProperty(exports, "BmLoader", {
|
|
225
242
|
enumerable: true,
|
|
226
|
-
get: function
|
|
243
|
+
get: function () {
|
|
227
244
|
return _loader.BmLoader;
|
|
228
245
|
}
|
|
229
246
|
});
|
|
230
247
|
Object.defineProperty(exports, "BmModal", {
|
|
231
248
|
enumerable: true,
|
|
232
|
-
get: function
|
|
249
|
+
get: function () {
|
|
233
250
|
return _modal.default;
|
|
234
251
|
}
|
|
235
252
|
});
|
|
236
253
|
Object.defineProperty(exports, "BmMultiDateSelector", {
|
|
237
254
|
enumerable: true,
|
|
238
|
-
get: function
|
|
255
|
+
get: function () {
|
|
239
256
|
return _multipleDateSelector.default;
|
|
240
257
|
}
|
|
241
258
|
});
|
|
242
259
|
Object.defineProperty(exports, "BmNoteBar", {
|
|
243
260
|
enumerable: true,
|
|
244
|
-
get: function
|
|
261
|
+
get: function () {
|
|
245
262
|
return _noteBar.BmNoteBar;
|
|
246
263
|
}
|
|
247
264
|
});
|
|
248
265
|
Object.defineProperty(exports, "BmPaymentBox", {
|
|
249
266
|
enumerable: true,
|
|
250
|
-
get: function
|
|
267
|
+
get: function () {
|
|
251
268
|
return _paymentBox.default;
|
|
252
269
|
}
|
|
253
270
|
});
|
|
254
271
|
Object.defineProperty(exports, "BmProfileIcon", {
|
|
255
272
|
enumerable: true,
|
|
256
|
-
get: function
|
|
273
|
+
get: function () {
|
|
257
274
|
return _ProfileIcon.BmProfileIcon;
|
|
258
275
|
}
|
|
259
276
|
});
|
|
260
277
|
Object.defineProperty(exports, "BmProgressBar", {
|
|
261
278
|
enumerable: true,
|
|
262
|
-
get: function
|
|
279
|
+
get: function () {
|
|
263
280
|
return _progressbar.BmProgressBar;
|
|
264
281
|
}
|
|
265
282
|
});
|
|
283
|
+
Object.defineProperty(exports, "BmProgressIndicator", {
|
|
284
|
+
enumerable: true,
|
|
285
|
+
get: function () {
|
|
286
|
+
return _ProgressIndicator.default;
|
|
287
|
+
}
|
|
288
|
+
});
|
|
266
289
|
Object.defineProperty(exports, "BmProgressRing", {
|
|
267
290
|
enumerable: true,
|
|
268
|
-
get: function
|
|
291
|
+
get: function () {
|
|
269
292
|
return _progressRing.default;
|
|
270
293
|
}
|
|
271
294
|
});
|
|
272
295
|
Object.defineProperty(exports, "BmQuickReplyIcon", {
|
|
273
296
|
enumerable: true,
|
|
274
|
-
get: function
|
|
297
|
+
get: function () {
|
|
275
298
|
return _iconStyles.BmQuickReplyIcon;
|
|
276
299
|
}
|
|
277
300
|
});
|
|
278
301
|
Object.defineProperty(exports, "BmRouteLink", {
|
|
279
302
|
enumerable: true,
|
|
280
|
-
get: function
|
|
303
|
+
get: function () {
|
|
281
304
|
return _link.BmRouteLink;
|
|
282
305
|
}
|
|
283
306
|
});
|
|
284
307
|
Object.defineProperty(exports, "BmRowLabel", {
|
|
285
308
|
enumerable: true,
|
|
286
|
-
get: function
|
|
309
|
+
get: function () {
|
|
287
310
|
return _rowLabels.BmRowLabel;
|
|
288
311
|
}
|
|
289
312
|
});
|
|
290
313
|
Object.defineProperty(exports, "BmSegment", {
|
|
291
314
|
enumerable: true,
|
|
292
|
-
get: function
|
|
315
|
+
get: function () {
|
|
293
316
|
return _index2.BmSegment;
|
|
294
317
|
}
|
|
295
318
|
});
|
|
296
319
|
Object.defineProperty(exports, "BmSegmentCard", {
|
|
297
320
|
enumerable: true,
|
|
298
|
-
get: function
|
|
321
|
+
get: function () {
|
|
299
322
|
return _index2.BmSegmentCard;
|
|
300
323
|
}
|
|
301
324
|
});
|
|
302
325
|
Object.defineProperty(exports, "BmSegmentCheckBox", {
|
|
303
326
|
enumerable: true,
|
|
304
|
-
get: function
|
|
327
|
+
get: function () {
|
|
305
328
|
return _index2.BmSegmentCheckBox;
|
|
306
329
|
}
|
|
307
330
|
});
|
|
308
331
|
Object.defineProperty(exports, "BmSegmentCompleteContent", {
|
|
309
332
|
enumerable: true,
|
|
310
|
-
get: function
|
|
333
|
+
get: function () {
|
|
311
334
|
return _index2.BmSegmentCompleteContent;
|
|
312
335
|
}
|
|
313
336
|
});
|
|
314
337
|
Object.defineProperty(exports, "BmSegmentCompleteIcon", {
|
|
315
338
|
enumerable: true,
|
|
316
|
-
get: function
|
|
339
|
+
get: function () {
|
|
317
340
|
return _index2.BmSegmentCompleteIcon;
|
|
318
341
|
}
|
|
319
342
|
});
|
|
320
343
|
Object.defineProperty(exports, "BmSegmentCreateContent", {
|
|
321
344
|
enumerable: true,
|
|
322
|
-
get: function
|
|
345
|
+
get: function () {
|
|
323
346
|
return _index2.BmSegmentCreateContent;
|
|
324
347
|
}
|
|
325
348
|
});
|
|
326
349
|
Object.defineProperty(exports, "BmSegmentSelector", {
|
|
327
350
|
enumerable: true,
|
|
328
|
-
get: function
|
|
351
|
+
get: function () {
|
|
329
352
|
return _index2.BmSegmentSelector;
|
|
330
353
|
}
|
|
331
354
|
});
|
|
355
|
+
Object.defineProperty(exports, "BmSelectionNotice", {
|
|
356
|
+
enumerable: true,
|
|
357
|
+
get: function () {
|
|
358
|
+
return _SelectionNotice.default;
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
Object.defineProperty(exports, "BmSelector", {
|
|
362
|
+
enumerable: true,
|
|
363
|
+
get: function () {
|
|
364
|
+
return _BmSelector.default;
|
|
365
|
+
}
|
|
366
|
+
});
|
|
332
367
|
Object.defineProperty(exports, "BmStepper", {
|
|
333
368
|
enumerable: true,
|
|
334
|
-
get: function
|
|
369
|
+
get: function () {
|
|
335
370
|
return _stepper.default;
|
|
336
371
|
}
|
|
337
372
|
});
|
|
338
373
|
Object.defineProperty(exports, "BmSupport", {
|
|
339
374
|
enumerable: true,
|
|
340
|
-
get: function
|
|
375
|
+
get: function () {
|
|
341
376
|
return _iconStyles.BmSupport;
|
|
342
377
|
}
|
|
343
378
|
});
|
|
344
379
|
Object.defineProperty(exports, "BmTab", {
|
|
345
380
|
enumerable: true,
|
|
346
|
-
get: function
|
|
381
|
+
get: function () {
|
|
347
382
|
return _tabs.BmTab;
|
|
348
383
|
}
|
|
349
384
|
});
|
|
350
385
|
Object.defineProperty(exports, "BmTag", {
|
|
351
386
|
enumerable: true,
|
|
352
|
-
get: function
|
|
387
|
+
get: function () {
|
|
353
388
|
return _tags.BmTag;
|
|
354
389
|
}
|
|
355
390
|
});
|
|
356
391
|
Object.defineProperty(exports, "BmTagIcon", {
|
|
357
392
|
enumerable: true,
|
|
358
|
-
get: function
|
|
393
|
+
get: function () {
|
|
359
394
|
return _iconStyles.BmTagIcon;
|
|
360
395
|
}
|
|
361
396
|
});
|
|
362
397
|
Object.defineProperty(exports, "CopyToClipBoard", {
|
|
363
398
|
enumerable: true,
|
|
364
|
-
get: function
|
|
399
|
+
get: function () {
|
|
365
400
|
return _iconStyles.CopyToClipBoard;
|
|
366
401
|
}
|
|
367
402
|
});
|
|
368
403
|
Object.defineProperty(exports, "GlobalStyle", {
|
|
369
404
|
enumerable: true,
|
|
370
|
-
get: function
|
|
405
|
+
get: function () {
|
|
371
406
|
return _globalStyles.GlobalStyle;
|
|
372
407
|
}
|
|
373
408
|
});
|
|
374
409
|
Object.defineProperty(exports, "MainWrapper", {
|
|
375
410
|
enumerable: true,
|
|
376
|
-
get: function
|
|
411
|
+
get: function () {
|
|
377
412
|
return _MainWrapper.MainWrapper;
|
|
378
413
|
}
|
|
379
414
|
});
|
|
@@ -424,6 +459,11 @@ var _inputCounter = require("./InputCounter/inputCounter");
|
|
|
424
459
|
var _stepper = _interopRequireDefault(require("./Stepper/stepper"));
|
|
425
460
|
var _multipleDateSelector = _interopRequireDefault(require("./MultipleDateSelector/multipleDateSelector"));
|
|
426
461
|
var _MojaAccordion = _interopRequireDefault(require("./MojaAccordion/MojaAccordion"));
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
462
|
+
var _ProgressIndicator = _interopRequireDefault(require("./ProgressIndicator/ProgressIndicator"));
|
|
463
|
+
var _SelectionNotice = _interopRequireDefault(require("./SelectionNotice/SelectionNotice"));
|
|
464
|
+
var _LabelWithIcon = _interopRequireDefault(require("./LabelWithIcon/LabelWithIcon"));
|
|
465
|
+
var _Card = require("./Card_v2/Card");
|
|
466
|
+
var _InfoPanel = _interopRequireDefault(require("./InfoPanel/InfoPanel"));
|
|
467
|
+
var _BmSelector = _interopRequireDefault(require("./BmSelector/BmSelector"));
|
|
468
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
469
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
package/dist/components/input.js
CHANGED
|
@@ -9,32 +9,38 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _iconStyles = require("./iconStyles");
|
|
11
11
|
var _colors = require("./colors");
|
|
12
|
-
|
|
13
|
-
function _interopRequireDefault(
|
|
14
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
15
|
-
function _objectWithoutProperties(
|
|
16
|
-
function _objectWithoutPropertiesLoose(
|
|
17
|
-
|
|
12
|
+
const _excluded = ["id", "iconSize", "label", "state", "action"];
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
15
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
17
|
+
const BmInputLabel = _styledComponents.default.div.withConfig({
|
|
18
18
|
displayName: "input__BmInputLabel"
|
|
19
|
-
})(["color:", ";padding-top:0.5rem;"],
|
|
20
|
-
|
|
19
|
+
})(["color:", ";padding-top:0.5rem;"], _ref => {
|
|
20
|
+
let {
|
|
21
|
+
state
|
|
22
|
+
} = _ref;
|
|
21
23
|
if (state) {
|
|
22
24
|
if (state === 'incomplete') return "".concat(_colors.BmSecondaryRed);
|
|
23
25
|
return "".concat(_colors.BmSecondaryGrey);
|
|
24
26
|
}
|
|
25
27
|
return "".concat(_colors.BmSecondaryGrey);
|
|
26
28
|
});
|
|
27
|
-
|
|
29
|
+
const BmInputField = exports.BmInputField = _styledComponents.default.input.withConfig({
|
|
28
30
|
displayName: "input__BmInputField"
|
|
29
|
-
})(["padding:0.7rem 1rem;color:", ";border:none;text-align:left;margin:0rem;::placeholder{color:", ";}background:", ";&:visited,&:active,&:hover,&:focus{outline:none !important;text-decoration:none;color:", ";}}"],
|
|
30
|
-
|
|
31
|
+
})(["padding:0.7rem 1rem;color:", ";border:none;text-align:left;margin:0rem;::placeholder{color:", ";}background:", ";&:visited,&:active,&:hover,&:focus{outline:none !important;text-decoration:none;color:", ";}}"], _ref2 => {
|
|
32
|
+
let {
|
|
33
|
+
state
|
|
34
|
+
} = _ref2;
|
|
31
35
|
if (state) {
|
|
32
36
|
if (state === 'disabled') return "".concat(_colors.BmGrey400);
|
|
33
37
|
return "".concat(_colors.BmPrimaryBlack);
|
|
34
38
|
}
|
|
35
39
|
return "".concat(_colors.BmPrimaryBlack);
|
|
36
|
-
}, _colors.BmSecondaryGrey,
|
|
37
|
-
|
|
40
|
+
}, _colors.BmSecondaryGrey, _ref3 => {
|
|
41
|
+
let {
|
|
42
|
+
state
|
|
43
|
+
} = _ref3;
|
|
38
44
|
if (state) {
|
|
39
45
|
if (state === 'pressed') return "".concat(_colors.BmGrey50); // TODO: to be reviewed
|
|
40
46
|
if (state === 'positive') return "".concat(_colors.BmSecondaryGreen15);
|
|
@@ -44,11 +50,12 @@ var BmInputField = _styledComponents.default.input.withConfig({
|
|
|
44
50
|
}
|
|
45
51
|
return "".concat(_colors.BmPrimaryWhite);
|
|
46
52
|
}, _colors.BmPrimaryBlack);
|
|
47
|
-
|
|
48
|
-
var BmInputWrapper = _styledComponents.default.div.withConfig({
|
|
53
|
+
const BmInputWrapper = _styledComponents.default.div.withConfig({
|
|
49
54
|
displayName: "input__BmInputWrapper"
|
|
50
|
-
})(["display:inline-flex;flex-direction:center;align-items:center;border-radius:0.25rem;padding:0rem;background:", ";border:", ";&:visited,&:active,&:hover,&:focus{border:0.071rem solid ", ";}> *{margin-right:0.5rem;}"],
|
|
51
|
-
|
|
55
|
+
})(["display:inline-flex;flex-direction:center;align-items:center;border-radius:0.25rem;padding:0rem;background:", ";border:", ";&:visited,&:active,&:hover,&:focus{border:0.071rem solid ", ";}> *{margin-right:0.5rem;}"], _ref4 => {
|
|
56
|
+
let {
|
|
57
|
+
state
|
|
58
|
+
} = _ref4;
|
|
52
59
|
if (state) {
|
|
53
60
|
if (state === 'pressed') return "".concat(_colors.BmGrey50);
|
|
54
61
|
if (state === 'positive') return "".concat(_colors.BmSecondaryGreen15);
|
|
@@ -56,8 +63,10 @@ var BmInputWrapper = _styledComponents.default.div.withConfig({
|
|
|
56
63
|
return 'transparent';
|
|
57
64
|
}
|
|
58
65
|
return 'transparent';
|
|
59
|
-
},
|
|
60
|
-
|
|
66
|
+
}, _ref5 => {
|
|
67
|
+
let {
|
|
68
|
+
state
|
|
69
|
+
} = _ref5;
|
|
61
70
|
if (state) {
|
|
62
71
|
if (state === 'positive') return "0.071rem solid ".concat(_colors.BmSecondaryDarkGreen);
|
|
63
72
|
if (state === 'negative') return "0.071rem solid ".concat(_colors.BmSecondaryRed);
|
|
@@ -66,12 +75,14 @@ var BmInputWrapper = _styledComponents.default.div.withConfig({
|
|
|
66
75
|
}
|
|
67
76
|
return "0.071rem solid ".concat(_colors.BmGrey400);
|
|
68
77
|
}, _colors.BmPrimaryBlack);
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
const BmInput = _ref6 => {
|
|
79
|
+
let {
|
|
80
|
+
id,
|
|
81
|
+
iconSize,
|
|
82
|
+
label,
|
|
83
|
+
state,
|
|
84
|
+
action
|
|
85
|
+
} = _ref6,
|
|
75
86
|
rest = _objectWithoutProperties(_ref6, _excluded);
|
|
76
87
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(BmInputWrapper, _extends({
|
|
77
88
|
state: state
|
package/dist/components/logo.js
CHANGED
|
@@ -6,17 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Logo = exports.BmLogo = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
12
|
-
function _objectWithoutProperties(
|
|
13
|
-
function _objectWithoutPropertiesLoose(
|
|
14
|
-
|
|
9
|
+
const _excluded = ["src"];
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
14
|
+
const Logo = exports.Logo = _styledComponents.default.img.withConfig({
|
|
15
15
|
displayName: "logo__Logo"
|
|
16
16
|
})(["height:45;width:9.857rem;", " box-sizing:border-box;"], '' /* border: 0.071rem solid #33B1BA; */);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
const BmLogo = _ref => {
|
|
18
|
+
let {
|
|
19
|
+
src
|
|
20
|
+
} = _ref,
|
|
20
21
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
22
|
return /*#__PURE__*/_react.default.createElement(Logo, _extends({
|
|
22
23
|
src: src
|