beem-component 1.8.2 → 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.
Files changed (108) hide show
  1. package/.babelrc +17 -0
  2. package/.eslintrc +16 -27
  3. package/.prettierrc +3 -2
  4. package/dist/components/Accordion/Accordion.js +14 -8
  5. package/dist/components/Avatars/avatars.js +3 -3
  6. package/dist/components/BannerCard/bannerCards.js +8 -6
  7. package/dist/components/ButtonGroup/buttonGroup.js +37 -0
  8. package/dist/components/Buttons/buttonAlertIcons.js +3 -3
  9. package/dist/components/Buttons/buttonDropdown copy.js +51 -50
  10. package/dist/components/Buttons/buttonDropdown.js +2 -2
  11. package/dist/components/Buttons/buttonIconsOnly.js +6 -4
  12. package/dist/components/Buttons/buttons.js +12 -6
  13. package/dist/components/Cards/cards.js +12 -6
  14. package/dist/components/ChatComponents/ChatBody/FeedPostComments.js +15 -7
  15. package/dist/components/ChatComponents/ChatBody/chatBody.js +33 -13
  16. package/dist/components/ChatComponents/ChatBody/sessionDetails.js +3 -3
  17. package/dist/components/ChatComponents/ChatBody/sessionTimeline.js +6 -4
  18. package/dist/components/ChatComponents/ChatHeader/chatHeader.js +3 -3
  19. package/dist/components/ChatComponents/ColorPicker/colorPicker.js +3 -3
  20. package/dist/components/ChatComponents/ContactCards/contactCards.js +14 -8
  21. package/dist/components/ChatComponents/FormAccordion/FormAccordion.js +12 -6
  22. package/dist/components/ChatComponents/InfoTab/infoTab.js +9 -5
  23. package/dist/components/ChatComponents/LabelAccordion/LabelAccordion.js +3 -3
  24. package/dist/components/ChatComponents/NoteAccordion/NoteAccordion.js +9 -5
  25. package/dist/components/Chats/chat.js +47 -29
  26. package/dist/components/Chats/chatInput.js +16 -8
  27. package/dist/components/Chats/chatwrapper.js +18 -8
  28. package/dist/components/Checkbox/checkboxToggler.js +12 -6
  29. package/dist/components/Checkbox/checkboxToggler.stories.js +2 -2
  30. package/dist/components/InputDatePicker.js +53 -0
  31. package/dist/components/Jumbotron/Jumbotron.js +18 -7
  32. package/dist/components/Lists/listBox.js +3 -3
  33. package/dist/components/Lists/listBox.stories.js +2 -2
  34. package/dist/components/Lists/listheader.js +3 -3
  35. package/dist/components/Lists/rowLabels.js +12 -6
  36. package/dist/components/Lists/rowLabels.stories.js +4 -1
  37. package/dist/components/Loader/loader.js +3 -3
  38. package/dist/components/MainWrapper/index.js +3 -3
  39. package/dist/components/MessageCounter/messageCounter.js +3 -3
  40. package/dist/components/Modals/modal.js +33 -21
  41. package/dist/components/Modals/modals.stories.js +2 -2
  42. package/dist/components/NoteBar/noteBar.js +5 -5
  43. package/dist/components/PaymentBox/paymentBox.js +12 -6
  44. package/dist/components/PerformanceIndicator/performanceIndicator.js +3 -3
  45. package/dist/components/Pills/pills.js +5 -5
  46. package/dist/components/ProfileIcon/ProfileIcon.js +12 -6
  47. package/dist/components/ProgressBar/progressbar.js +12 -6
  48. package/dist/components/ProgressRing/progressRing.js +14 -8
  49. package/dist/components/RouteLink/link.js +3 -3
  50. package/dist/components/ScrollBar/scrollBar.js +9 -5
  51. package/dist/components/SuperFluid/Content/index.js +3 -3
  52. package/dist/components/SuperFluid/ContentTitle.js/index.js +12 -6
  53. package/dist/components/SuperFluid/SegmentCard/index.js +20 -8
  54. package/dist/components/Tabs/tabs.js +3 -3
  55. package/dist/components/Tags/tags.js +5 -5
  56. package/dist/components/chatHeader.js +15 -7
  57. package/dist/components/checkbox.js +15 -7
  58. package/dist/components/contacts.js +33 -13
  59. package/dist/components/dropdown.js +25 -13
  60. package/dist/components/dropdownButton.js +9 -5
  61. package/dist/components/dropdownItems.js +22 -10
  62. package/dist/components/examples/App.js +8 -8
  63. package/dist/components/examples/chatBodyExample.js +1 -1
  64. package/dist/components/examples/selectExample.js +5 -5
  65. package/dist/components/globalStyles.js +1 -3
  66. package/dist/components/index.js +7 -0
  67. package/dist/components/input.js +9 -5
  68. package/dist/components/logo.js +3 -3
  69. package/dist/components/navbar.js +23 -9
  70. package/dist/components/search.js +17 -12
  71. package/dist/components/shadow.js +1 -1
  72. package/dist/components/wrapper.js +6 -4
  73. package/package.json +31 -16
  74. package/src/App.js +35 -265
  75. package/src/examples/AlertIcons.js +10 -5
  76. package/src/examples/Avatars.js +3 -2
  77. package/src/examples/Buttons.js +7 -10
  78. package/src/examples/Chat.js +9 -9
  79. package/src/examples/Input.js +79 -70
  80. package/src/examples/Logo.js +2 -2
  81. package/src/examples/Navbar.js +12 -12
  82. package/src/examples/Search.js +3 -2
  83. package/src/examples/SideBar.js +11 -11
  84. package/src/examples/Tags.js +3 -3
  85. package/src/lib/components/ButtonGroup/buttonGroup.js +38 -0
  86. package/src/lib/components/Buttons/buttonDropdown copy.js +51 -54
  87. package/src/lib/components/Buttons/buttonDropdown.js +6 -6
  88. package/src/lib/components/Chats/chat.js +23 -23
  89. package/src/lib/components/Chats/chatInput.js +8 -8
  90. package/src/lib/components/Chats/chatwrapper.js +2 -2
  91. package/src/lib/components/Checkbox/checkboxToggler.stories.js +0 -1
  92. package/src/lib/components/InputDatePicker.js +45 -0
  93. package/src/lib/components/chatHeader.js +8 -3
  94. package/src/lib/components/contacts.js +3 -3
  95. package/src/lib/components/dropdown.js +7 -7
  96. package/src/lib/components/dropdownItems.js +6 -6
  97. package/src/lib/components/examples/App.js +53 -43
  98. package/src/lib/components/examples/InfoAccordion.js +6 -5
  99. package/src/lib/components/examples/chatBodyExample.js +5 -5
  100. package/src/lib/components/examples/selectExample.js +7 -7
  101. package/src/lib/components/index-copy.js +49 -49
  102. package/src/lib/components/index.js +2 -0
  103. package/src/lib/components/logo.js +2 -2
  104. package/src/lib/components/navbar.js +5 -5
  105. package/src/lib/components/search.js +10 -11
  106. package/src/lib/components/shadow.js +1 -1
  107. package/src/lib/components/wrapper.js +1 -2
  108. package/babel.config.js +0 -11
@@ -6,25 +6,35 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.MessageOut = exports.MessageIn = exports.MainWrapper = exports.Main = exports.BmChatMenu = exports.BmChat = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _colors = require("../colors");
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
10
  // Main wrapper
13
- var Main = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-item: center;\n ", "\n max-height: calc(100vh - 12.857rem);\n height: calc(100vh - 12.857rem);\n max-width: 100%;\n width: 100%;\n"])), '' /* justify-content: space-between; */);
11
+ var Main = _styledComponents.default.div.withConfig({
12
+ displayName: "chatwrapper__Main"
13
+ })(["display:flex;flex-direction:row;align-item:center;", " max-height:calc(100vh - 12.857rem);height:calc(100vh - 12.857rem);max-width:100%;width:100%;"], '' /* justify-content: space-between; */);
14
14
 
15
15
  // Main Chat Wrapper
16
16
  exports.Main = Main;
17
- var BmChat = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n display: flex;\n flex-direction: column;\n ", "\n border-top: 0.0625rem solid ", ";\n border-bottom: 0.0625rem solid ", ";\n max-width: 70%;\n width: 70%;\n max-height: 100%;\n height: 100%;\n"])), _colors.BmBgGreyBlue, '' /* flex-grow: 1; */, _colors.BmGrey400, _colors.BmGrey400);
17
+ var BmChat = _styledComponents.default.div.withConfig({
18
+ displayName: "chatwrapper__BmChat"
19
+ })(["background:", ";display:flex;flex-direction:column;", " border-top:0.0625rem solid ", ";border-bottom:0.0625rem solid ", ";max-width:70%;width:70%;max-height:100%;height:100%;"], _colors.BmBgGreyBlue, '' /* flex-grow: 1; */, _colors.BmGrey400, _colors.BmGrey400);
18
20
  exports.BmChat = BmChat;
19
- var BmChatMenu = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n padding: 1.5rem !important;\n flex-grow: 1;\n height: 100%;\n max-height: 100%;\n overflow: auto;\n flex-direction: column-reverse;\n ", "\n"])), '' /* border: 0.714rem solid yellow; */);
21
+ var BmChatMenu = _styledComponents.default.div.withConfig({
22
+ displayName: "chatwrapper__BmChatMenu"
23
+ })(["display:flex;padding:1.5rem !important;flex-grow:1;height:100%;max-height:100%;overflow:auto;flex-direction:column-reverse;", ""], '' /* border: 0.714rem solid yellow; */);
20
24
 
21
25
  // Incoming message
22
26
  exports.BmChatMenu = BmChatMenu;
23
- var MessageIn = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n padding: 0.5rem 0rem !important;\n"])));
27
+ var MessageIn = _styledComponents.default.div.withConfig({
28
+ displayName: "chatwrapper__MessageIn"
29
+ })(["display:flex;align-items:flex-start;flex-direction:column;padding:0.5rem 0rem !important;"]);
24
30
 
25
31
  // Outgoing message
26
32
  exports.MessageIn = MessageIn;
27
- var MessageOut = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n flex-direction: column;\n padding: 0.5rem 0rem !important;\n"])));
33
+ var MessageOut = _styledComponents.default.div.withConfig({
34
+ displayName: "chatwrapper__MessageOut"
35
+ })(["display:flex;align-items:flex-end;flex-direction:column;padding:0.5rem 0rem !important;"]);
28
36
  exports.MessageOut = MessageOut;
29
- var MainWrapper = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n padding: 2.1875rem;\n background-color: ", ";\n"])), _colors.BmBgGreyBlue);
37
+ var MainWrapper = _styledComponents.default.div.withConfig({
38
+ displayName: "chatwrapper__MainWrapper"
39
+ })(["padding:2.1875rem;background-color:", ";"], _colors.BmBgGreyBlue);
30
40
  exports.MainWrapper = MainWrapper;
@@ -8,15 +8,21 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _colors = require("../colors");
11
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
14
- var CheckBoxWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n align-items: center;\n display: flex;\n flex-direction: row;\n > *:not(:last-child) {\n margin-right: 0.5rem;\n }\n"])));
15
- var CheckBoxLabel = _styledComponents.default.label(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n align-items: center;\n display: flex;\n position: relative;\n width: 3rem;\n height: 1.25rem;\n border-radius: 1.25rem;\n background: ", ";\n cursor: pointer;\n &::after {\n content: '';\n display: block;\n border-radius: 100%;\n width: 1.75rem;\n height: 1.75rem;\n background: ", ";\n transition: 0.2s;\n }\n"])), function (props) {
12
+ var CheckBoxWrapper = _styledComponents.default.div.withConfig({
13
+ displayName: "checkboxToggler__CheckBoxWrapper"
14
+ })(["position:relative;align-items:center;display:flex;flex-direction:row;> *:not(:last-child){margin-right:0.5rem;}"]);
15
+ var CheckBoxLabel = _styledComponents.default.label.withConfig({
16
+ displayName: "checkboxToggler__CheckBoxLabel"
17
+ })(["align-items:center;display:flex;position:relative;width:3rem;height:1.25rem;border-radius:1.25rem;background:", ";cursor:pointer;&::after{content:'';display:block;border-radius:100%;width:1.75rem;height:1.75rem;background:", ";transition:0.2s;}"], function (props) {
16
18
  return props.disabled ? _colors.BmGrey400 : _colors.BmBgGrey38;
17
19
  }, _colors.BmGrey200);
18
- var Label = _styledComponents.default.label(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n align-items: center;\n display: flex;\n position: relative;\n"])));
19
- var CheckBox = _styledComponents.default.input(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n opacity: 0;\n z-index: 1;\n ", "\n }\n"])), function (_ref) {
20
+ var Label = _styledComponents.default.label.withConfig({
21
+ displayName: "checkboxToggler__Label"
22
+ })(["align-items:center;display:flex;position:relative;"]);
23
+ var CheckBox = _styledComponents.default.input.withConfig({
24
+ displayName: "checkboxToggler__CheckBox"
25
+ })(["opacity:0;z-index:1;", "}"], function (_ref) {
20
26
  var checked = _ref.checked,
21
27
  disabled = _ref.disabled;
22
28
  return !disabled && checked !== undefined && checked === true && "\n &:checked + ".concat(CheckBoxLabel, " {\n background: ").concat(_colors.BmSecondaryDarkGreen, ";\n &::after {\n content: '';\n display: block;\n width: 1.75rem;\n height: 1.75rem;\n margin-left: 1.25rem;\n transition: 0.2s;\n } ");
@@ -12,8 +12,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
12
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
13
13
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
16
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  var _default = {
19
19
  component: _checkboxToggler.BmCheckboxToggle,
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.ScheduleDateInput = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ var InputDatePicker = function InputDatePicker(_ref) {
11
+ var value = _ref.value,
12
+ placeholder = _ref.placeholder,
13
+ onClick = _ref.onClick;
14
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("input", {
15
+ type: "text",
16
+ className: "form-control",
17
+ placeholder: placeholder,
18
+ value: value,
19
+ onFocus: onClick
20
+ }), /*#__PURE__*/_react.default.createElement("i", {
21
+ className: "icon-schedule-date form-control-icon"
22
+ }));
23
+ };
24
+ InputDatePicker.propTypes = {
25
+ value: _propTypes.default.string,
26
+ placeholder: _propTypes.default.string,
27
+ onClick: _propTypes.default.func.isRequired
28
+ };
29
+ InputDatePicker.defaultProps = {
30
+ value: undefined,
31
+ placeholder: undefined
32
+ };
33
+ var ScheduleDateInput = function ScheduleDateInput(_ref2) {
34
+ var onClick = _ref2.onClick,
35
+ value = _ref2.value,
36
+ placeholder = _ref2.placeholder;
37
+ return /*#__PURE__*/_react.default.createElement("button", {
38
+ type: "button",
39
+ "aria-label": "button",
40
+ className: "btn btn-warning my-1 mr-2",
41
+ onClick: onClick
42
+ }, value || placeholder, " ", /*#__PURE__*/_react.default.createElement("i", {
43
+ className: "fa fa-calendar-alt"
44
+ }));
45
+ };
46
+ exports.ScheduleDateInput = ScheduleDateInput;
47
+ ScheduleDateInput.propTypes = {
48
+ value: _propTypes.default.string.isRequired,
49
+ onClick: _propTypes.default.func.isRequired,
50
+ placeholder: _propTypes.default.string.isRequired
51
+ };
52
+ var _default = InputDatePicker;
53
+ exports.default = _default;
@@ -6,16 +6,27 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _colors = require("../colors");
9
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- var Title = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n padding: 1rem 0.5rem;\n background: ", ";\n"])), function (props) {
10
+ /* eslint-disable import/prefer-default-export */
11
+ /* eslint-disable react/jsx-props-no-spreading */
12
+
13
+ var Title = _styledComponents.default.div.withConfig({
14
+ displayName: "Jumbotron__Title"
15
+ })(["display:flex;justify-content:space-between;padding:1rem 0.5rem;background:", ";"], function (props) {
13
16
  return props.bgColor ? props.bgColor : _colors.BmPrimaryBlue;
14
17
  });
15
- var Body = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n padding: 0.5rem;\n > * {\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n overflow-wrap: break-word !important;\n word-wrap: break-word !important;\n flex-grow: grow;\n > *:not(:last-child) {\n margin-bottom: 0.5rem;\n }\n }\n @media all and (max-width: 960px) {\n flex-direction: column;\n }\n"])));
16
- var BmJumbotron = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n border: 0.071rem solid ", ";\n border-radius: 0.25rem;\n"])), _colors.BmGrey200);
17
- var text = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: 100%;\n"])));
18
- var image = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n width: 20%;\n @media all and (max-width: 960px) {\n width: 100%;\n }\n"])));
18
+ var Body = _styledComponents.default.div.withConfig({
19
+ displayName: "Jumbotron__Body"
20
+ })(["display:flex;padding:0.5rem;> *{display:flex;flex-direction:column;flex-wrap:wrap;overflow-wrap:break-word !important;word-wrap:break-word !important;flex-grow:grow;> *:not(:last-child){margin-bottom:0.5rem;}}@media all and (max-width:960px){flex-direction:column;}"]);
21
+ var BmJumbotron = _styledComponents.default.div.withConfig({
22
+ displayName: "Jumbotron__BmJumbotron"
23
+ })(["display:flex;flex-direction:column;border:0.071rem solid ", ";border-radius:0.25rem;"], _colors.BmGrey200);
24
+ var text = _styledComponents.default.div.withConfig({
25
+ displayName: "Jumbotron__text"
26
+ })(["width:100%;"]);
27
+ var image = _styledComponents.default.div.withConfig({
28
+ displayName: "Jumbotron__image"
29
+ })(["width:20%;@media all and (max-width:960px){width:100%;}"]);
19
30
  BmJumbotron.Title = Title;
20
31
  BmJumbotron.Body = Body;
21
32
  BmJumbotron.Body.Text = text;
@@ -10,14 +10,12 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
  var _colors = require("../colors");
12
12
  var _excluded = ["children", "showList", "setShowList"];
13
- var _templateObject;
14
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
16
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
18
17
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
18
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
21
19
  var show = function show(isOpen) {
22
20
  if (isOpen !== undefined) {
23
21
  if (isOpen === true) {
@@ -29,7 +27,9 @@ var show = function show(isOpen) {
29
27
  }
30
28
  return 'flex';
31
29
  };
32
- var BmListBoxWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", ";\n flex-direction: column;\n padding: 0.25rem 0rem;\n background: ", ";\n border: 0.071rem solid ", ";\n box-shadow: 0rem 0.25rem 0.25rem rgba(0, 0, 0, 0.25);\n border-radius: 0.25rem;\n z-index: 10000;\n cursor: pointer;\n"])), function (props) {
30
+ var BmListBoxWrapper = _styledComponents.default.div.withConfig({
31
+ displayName: "listBox__BmListBoxWrapper"
32
+ })(["", ";flex-direction:column;padding:0.25rem 0rem;background:", ";border:0.071rem solid ", ";box-shadow:0rem 0.25rem 0.25rem rgba(0,0,0,0.25);border-radius:0.25rem;z-index:10000;cursor:pointer;"], function (props) {
33
33
  return show(props.isOpen);
34
34
  }, _colors.BmPrimaryWhite, _colors.BmGrey400);
35
35
  var BmListBox = function BmListBox(_ref) {
@@ -15,8 +15,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
15
15
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
16
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
17
17
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
18
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
19
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
18
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
19
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
20
20
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
21
  var _default = {
22
22
  component: _listBox.BmListBox,
@@ -10,13 +10,13 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
10
10
  var _colors = require("../colors");
11
11
  var _iconStyles = require("../iconStyles");
12
12
  var _excluded = ["children", "trailingIcon", "size", "color"];
13
- var _templateObject;
14
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
14
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
15
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0rem 1rem 1rem 1rem;\n border-bottom: 0.125rem solid\n ", ";\n"])), function (_ref) {
17
+ var Container = _styledComponents.default.div.withConfig({
18
+ displayName: "listheader__Container"
19
+ })(["display:flex;flex-direction:row;justify-content:space-between;padding:0rem 1rem 1rem 1rem;border-bottom:0.125rem solid ", ";"], function (_ref) {
20
20
  var color = _ref.color;
21
21
  return color || "".concat(_colors.BmPrimaryBlue);
22
22
  });
@@ -10,19 +10,25 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
10
10
  var _colors = require("../colors");
11
11
  var _iconStyles = require("../iconStyles");
12
12
  var _excluded = ["children", "trailingIcon", "leadingIcon", "label", "color", "size"];
13
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
14
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
14
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
15
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
16
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
19
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0.5rem 1rem;\n justify-content: space-between;\n background: ", ";\n margin: 0rem;\n &:hover {\n background: ", ";\n }\n"])), _colors.BmPrimaryWhite, _colors.BmGrey100);
17
+ var Container = _styledComponents.default.div.withConfig({
18
+ displayName: "rowLabels__Container"
19
+ })(["display:flex;flex-direction:row;align-items:center;padding:0.5rem 1rem;justify-content:space-between;background:", ";margin:0rem;&:hover{background:", ";}"], _colors.BmPrimaryWhite, _colors.BmGrey100);
20
20
  exports.Container = Container;
21
- var LeftContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: flex-start;\n align-items: center;\n > * {\n margin-right: 0.5rem;\n }\n"])));
21
+ var LeftContainer = _styledComponents.default.div.withConfig({
22
+ displayName: "rowLabels__LeftContainer"
23
+ })(["display:flex;flex-direction:flex-start;align-items:center;> *{margin-right:0.5rem;}"]);
22
24
  exports.LeftContainer = LeftContainer;
23
- var RightContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-left: auto;\n display: flex;\n flex-direction: flex-end;\n align-items: center;\n"])));
25
+ var RightContainer = _styledComponents.default.div.withConfig({
26
+ displayName: "rowLabels__RightContainer"
27
+ })(["margin-left:auto;display:flex;flex-direction:flex-end;align-items:center;"]);
24
28
  exports.RightContainer = RightContainer;
25
- var Label = _styledComponents.default.p(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n color: ", ";\n ", "\n"])), _colors.BmPrimaryBlack, function (_ref) {
29
+ var Label = _styledComponents.default.p.withConfig({
30
+ displayName: "rowLabels__Label"
31
+ })(["color:", ";", ""], _colors.BmPrimaryBlack, function (_ref) {
26
32
  var trailingIcon = _ref.trailingIcon;
27
33
  return trailingIcon && "\n margin-right: 0.5rem;\n ";
28
34
  });
@@ -9,9 +9,12 @@ var _icons = require("@material-ui/icons");
9
9
  var _rowLabels = require("./rowLabels");
10
10
  require("../../../main.scss");
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ 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); }
12
13
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
14
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
18
  var _default = {
16
19
  component: _rowLabels.BmRowLabel,
17
20
  title: 'components/Lists/RowLabels',
@@ -10,10 +10,8 @@ var _CircularProgress = _interopRequireDefault(require("@material-ui/core/Circul
10
10
  var _styledComponents = _interopRequireDefault(require("styled-components"));
11
11
  var _styles = require("@material-ui/core/styles");
12
12
  var _colors = require("../colors");
13
- var _templateObject;
14
13
  var _excluded = ["size"];
15
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
15
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
18
16
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
17
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -43,7 +41,9 @@ var BmLoader = (0, _styles.withStyles)(style)(function (_ref2) {
43
41
  }, rest));
44
42
  });
45
43
  exports.BmLoader = BmLoader;
46
- var Loader = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
44
+ var Loader = _styledComponents.default.div.withConfig({
45
+ displayName: "loader__Loader"
46
+ })(["display:flex;align-items:center;justify-content:center;"]);
47
47
  exports.Loader = Loader;
48
48
  BmLoader.propTypes = {
49
49
  size: _propTypes.default.string,
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.MainWrapper = void 0;
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _colors = require("../colors");
9
- var _templateObject;
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
12
- var MainWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 2.1875rem;\n background-color: ", ";\n"])), _colors.BmBgGreyBlue);
10
+ var MainWrapper = _styledComponents.default.div.withConfig({
11
+ displayName: "MainWrapper"
12
+ })(["padding:2.1875rem;background-color:", ";"], _colors.BmBgGreyBlue);
13
13
  exports.MainWrapper = MainWrapper;
@@ -8,10 +8,10 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _colors = require("../colors");
10
10
  var _text = require("../text");
11
- var _templateObject;
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
14
- var BmCounter = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: ", ";\n width: ", ";\n height: ", ";\n ", "\n border-radius: 50%;\n text-align: center;\n background: ", ";\n"])), _colors.BmPrimaryWhite, function (_ref) {
12
+ var BmCounter = _styledComponents.default.div.withConfig({
13
+ displayName: "messageCounter__BmCounter"
14
+ })(["display:flex;align-items:center;justify-content:center;text-align:center;color:", ";width:", ";height:", ";", " border-radius:50%;text-align:center;background:", ";"], _colors.BmPrimaryWhite, function (_ref) {
15
15
  var size = _ref.size;
16
16
  if (size === 'small') return '1.429rem';
17
17
  if (size === 'medium') return '1.714rem';
@@ -13,7 +13,6 @@ var _colors = require("../colors");
13
13
  var _iconStyles = require("../iconStyles");
14
14
  var _excluded = ["children", "show", "size", "onHide", "centered"],
15
15
  _excluded2 = ["children", "size", "onHide", "closeButton", "show"];
16
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
17
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -21,20 +20,25 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
21
20
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22
21
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
23
22
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
24
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
25
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
23
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
24
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
26
25
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
26
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
28
27
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
30
28
  var _React$createContext = /*#__PURE__*/_react.default.createContext(),
31
29
  Provider = _React$createContext.Provider,
32
30
  Consumer = _React$createContext.Consumer;
33
- var Overlay = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n \tposition: fixed;\n top: 0;\n left: 0;\n z-index: 9999;\n width: 100vw;\n height: 100vh;\n background-color: ", ";\n}\n"])), _colors.BmBgGrey45);
31
+ var Overlay = _styledComponents.default.div.withConfig({
32
+ displayName: "modal__Overlay"
33
+ })(["position:fixed;top:0;left:0;z-index:9999;width:100vw;height:100vh;background-color:", ";}"], _colors.BmBgGrey45);
34
34
  exports.Overlay = Overlay;
35
- var ModalContent = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n border-radius: 0.25rem;\n padding: 1rem;\n margin: 2rem auto;\n background: ", ";\n width: auto;\n max-width: 100%;\n\n > *:not(:last-child) {\n margin-bottom: 0.5rem;\n }\n @media (min-width: 576px) {\n max-width: 500px;\n width: 500px;\n }\n"])), _colors.BmPrimaryWhite);
35
+ var ModalContent = _styledComponents.default.div.withConfig({
36
+ displayName: "modal__ModalContent"
37
+ })(["display:flex;flex-direction:column;border-radius:0.25rem;padding:1rem;margin:2rem auto;background:", ";width:auto;max-width:100%;> *:not(:last-child){margin-bottom:0.5rem;}@media (min-width:576px){max-width:500px;width:500px;}"], _colors.BmPrimaryWhite);
36
38
  exports.ModalContent = ModalContent;
37
- var ModalWrapper = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 9999;\n display: block;\n width: 100%;\n height: 100%;\n overflow: hidden;\n outline: 0;\n margin: auto;\n overflow-x: hidden;\n overflow-y: auto;\n"])));
39
+ var ModalWrapper = _styledComponents.default.div.withConfig({
40
+ displayName: "modal__ModalWrapper"
41
+ })(["position:fixed;top:0;left:0;z-index:9999;display:block;width:100%;height:100%;overflow:hidden;outline:0;margin:auto;overflow-x:hidden;overflow-y:auto;"]);
38
42
  exports.ModalWrapper = ModalWrapper;
39
43
  var BmModal = function BmModal(_ref) {
40
44
  var children = _ref.children,
@@ -77,7 +81,9 @@ var BmModal = function BmModal(_ref) {
77
81
  size: size
78
82
  }, rest), children)))));
79
83
  };
80
- var ModalHeader = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
84
+ var ModalHeader = _styledComponents.default.div.withConfig({
85
+ displayName: "modal__ModalHeader"
86
+ })(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;"]);
81
87
  BmModal.Header = function (_ref2) {
82
88
  var children = _ref2.children,
83
89
  size = _ref2.size,
@@ -95,20 +101,26 @@ BmModal.Header = function (_ref2) {
95
101
  }, rest)) : /*#__PURE__*/_react.default.createElement("p", null, "\xA0")));
96
102
  });
97
103
  };
98
- BmModal.SubHeader = _styledComponents.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"])));
99
- BmModal.Body = _styledComponents.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n > *:not(:last-child) {\n margin-bottom: 0.5rem;\n }\n ", "\n"])), '' /* max-height: ${({ size }) => {
100
- if (size) {
101
- if (size === "small") return "21.429rem";
102
- if (size === "default") return "35.714rem";
103
- if (size === "large") return "57.143rem";
104
- if (size === "xlarge") return "81.429rem";
105
- return size;
106
- }
107
- return "35.714rem";
108
- }};
109
- overflow: auto; */);
104
+ BmModal.SubHeader = _styledComponents.default.div.withConfig({
105
+ displayName: "modal__SubHeader"
106
+ })(["display:flex;flex-direction:row;justify-content:center;align-items:center;"]);
107
+ BmModal.Body = _styledComponents.default.div.withConfig({
108
+ displayName: "modal__Body"
109
+ })(["display:flex;flex-direction:column;justify-content:space-between;> *:not(:last-child){margin-bottom:0.5rem;}", ""], '' /* max-height: ${({ size }) => {
110
+ if (size) {
111
+ if (size === "small") return "21.429rem";
112
+ if (size === "default") return "35.714rem";
113
+ if (size === "large") return "57.143rem";
114
+ if (size === "xlarge") return "81.429rem";
115
+ return size;
116
+ }
117
+ return "35.714rem";
118
+ }};
119
+ overflow: auto; */);
110
120
 
111
- BmModal.Footer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
121
+ BmModal.Footer = _styledComponents.default.div.withConfig({
122
+ displayName: "modal__Footer"
123
+ })(["display:flex;justify-content:space-between;"]);
112
124
  BmModal.propTypes = {
113
125
  size: _propTypes.default.string,
114
126
  centered: _propTypes.default.bool,
@@ -14,8 +14,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
14
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
15
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
16
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
18
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
17
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  var _default = {
21
21
  component: _modal.default,
@@ -12,7 +12,6 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
12
12
  var _colors = require("../colors");
13
13
  var _iconStyles = require("../iconStyles");
14
14
  var _excluded = ["type", "children", "color", "size", "closeButton"];
15
- var _templateObject;
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -20,13 +19,14 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
20
19
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
20
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
21
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
23
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
24
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
22
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
23
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
25
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
25
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
27
26
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
28
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
29
- var NoteBarWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: row;\n align-items: center;\n padding: 0.5rem 1rem;\n border: 0.071rem solid ", ";\n border-radius: 0.25rem;\n > *:not(:last-child) {\n margin-right: 0.5rem;\n }\n"])), function (_ref) {
27
+ var NoteBarWrapper = _styledComponents.default.div.withConfig({
28
+ displayName: "noteBar__NoteBarWrapper"
29
+ })(["display:", ";flex-direction:row;align-items:center;padding:0.5rem 1rem;border:0.071rem solid ", ";border-radius:0.25rem;> *:not(:last-child){margin-right:0.5rem;}"], function (_ref) {
30
30
  var closeButton = _ref.closeButton,
31
31
  isOpen = _ref.isOpen;
32
32
  if (!closeButton) {
@@ -9,23 +9,29 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _propTypes = _interopRequireDefault(require("prop-types"));
10
10
  var _colors = require("../colors");
11
11
  var _excluded = ["children"];
12
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
13
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
13
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
15
14
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
17
- var BmPaymentBoxWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n flex-direction: column;\n min-width: 240px;\n min-height: 280px;\n border: 0.071rem solid ", ";\n border-radius: 0.5rem;\n > * {\n margin-bottom: 1rem;\n }\n &:hover {\n box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);\n }\n"])), _colors.BmGrey200);
15
+ var BmPaymentBoxWrapper = _styledComponents.default.div.withConfig({
16
+ displayName: "paymentBox__BmPaymentBoxWrapper"
17
+ })(["display:inline-flex;flex-direction:column;min-width:240px;min-height:280px;border:0.071rem solid ", ";border-radius:0.5rem;> *{margin-bottom:1rem;}&:hover{box-shadow:0 0 60px rgba(0,0,0,0.08);}"], _colors.BmGrey200);
18
18
  var BmPaymentBox = function BmPaymentBox(_ref) {
19
19
  var children = _ref.children,
20
20
  rest = _objectWithoutProperties(_ref, _excluded);
21
21
  return /*#__PURE__*/_react.default.createElement(BmPaymentBoxWrapper, rest, children);
22
22
  };
23
- BmPaymentBox.Header = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 0.5rem 0rem;\n border-radius: 0.5rem 0.5rem 0rem 0rem;\n background: ", "} \n"])), function (_ref2) {
23
+ BmPaymentBox.Header = _styledComponents.default.div.withConfig({
24
+ displayName: "paymentBox__Header"
25
+ })(["display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0.5rem 0rem;border-radius:0.5rem 0.5rem 0rem 0rem;background:", "}"], function (_ref2) {
24
26
  var headerColor = _ref2.headerColor;
25
27
  return headerColor || _colors.BmPrimaryBlue;
26
28
  });
27
- BmPaymentBox.Body = _styledComponents.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n flex: 1;\n"])));
28
- BmPaymentBox.Footer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n margin-top: auto;\n"])));
29
+ BmPaymentBox.Body = _styledComponents.default.div.withConfig({
30
+ displayName: "paymentBox__Body"
31
+ })(["display:flex;flex-direction:column;flex:1;"]);
32
+ BmPaymentBox.Footer = _styledComponents.default.div.withConfig({
33
+ displayName: "paymentBox__Footer"
34
+ })(["display:flex;flex-direction:row;justify-content:center;margin-top:auto;"]);
29
35
  BmPaymentBox.propTypes = {
30
36
  children: _propTypes.default.node.isRequired
31
37
  };
@@ -12,13 +12,13 @@ var _ArrowCircleDown = _interopRequireDefault(require("@mui/icons-material/Arrow
12
12
  var _colors = require("../colors");
13
13
  var _iconStyles = require("../iconStyles");
14
14
  var _excluded = ["type", "children", "size", "color"];
15
- var _templateObject;
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
16
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
18
17
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
18
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
21
- var BmPIWrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n > *:not(:last-child) {\n margin-right: 0.5rem;\n }\n h2 {\n color: ", ";\n }\n"])), function (_ref) {
19
+ var BmPIWrapper = _styledComponents.default.div.withConfig({
20
+ displayName: "performanceIndicator__BmPIWrapper"
21
+ })(["display:flex;flex-direction:row;align-items:center;> *:not(:last-child){margin-right:0.5rem;}h2{color:", ";}"], function (_ref) {
22
22
  var color = _ref.color;
23
23
  if (color) return color;
24
24
  return "".concat(_colors.BmGrey400);