beem-component 2.0.23 → 2.0.25

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.
@@ -34,7 +34,7 @@ var Overlay = _styledComponents.default.div.withConfig({
34
34
  exports.Overlay = Overlay;
35
35
  var ModalContent = _styledComponents.default.div.withConfig({
36
36
  displayName: "modal__ModalContent"
37
- })(["display:flex;flex-direction:column;border-radius:0.8571rem;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);
37
+ })(["display:flex;flex-direction:column;border-radius:0.8571rem;padding:1rem;margin:2rem auto;background:", ";width:auto;max-width:100%;> *:not(:last-child){margin-bottom:0.5rem;}@media (min-width:576px){width:500px;}"], _colors.BmPrimaryWhite);
38
38
  exports.ModalContent = ModalContent;
39
39
  var ModalWrapper = _styledComponents.default.div.withConfig({
40
40
  displayName: "modal__ModalWrapper"
@@ -6,14 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
- var _colors = require("../colors");
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
10
  var Wrapper = _styledComponents.default.div.withConfig({
12
11
  displayName: "multipleDateSelector__Wrapper"
13
- })(["display:flex;flex-direction:row;flex-wrap:wrap;border:0.071rem solid ", ";padding:1rem;background:", ";font-family:'Arial',sans-serif;font-size:1.5rem;"], _colors.BmGrey100, _colors.BmSecondaryBlue12);
12
+ })(["display:flex;flex-direction:row;flex-wrap:wrap;border:0.071rem solid #33b1ba;padding:1rem;background:#e6f6f7;border-radius:0.5rem;font-family:'Arial',sans-serif;font-size:1.9rem;"]);
14
13
  var Box = _styledComponents.default.div.withConfig({
15
14
  displayName: "multipleDateSelector__Box"
16
- })(["display:inline-flex;border:0.071rem solid ", ";padding:0.5rem;cursor:pointer;font-family:'Arial',sans-serif;font-size:1.1rem;"], _colors.BmGrey100);
15
+ })(["display:inline-flex;border:0.071rem solid #eeeeee;padding:0.5rem;cursor:pointer;"]);
17
16
  var BmMultiDateSelector = function BmMultiDateSelector(_ref) {
18
17
  var _ref$selectedNumbers = _ref.selectedNumbers,
19
18
  selectedNumbers = _ref$selectedNumbers === void 0 ? [] : _ref$selectedNumbers,
@@ -31,8 +30,8 @@ var BmMultiDateSelector = function BmMultiDateSelector(_ref) {
31
30
  return _onClick === null || _onClick === void 0 ? void 0 : _onClick(day);
32
31
  },
33
32
  style: {
34
- backgroundColor: isSelected ? _colors.BmPrimaryBlue : _colors.BmPrimaryWhite,
35
- color: isSelected ? _colors.BmPrimaryWhite : _colors.BmPrimaryBlack,
33
+ backgroundColor: isSelected ? '#33b1ba' : '#ffffff',
34
+ color: isSelected ? '#ffffff' : '#000000',
36
35
  fontWeight: isSelected ? 'bold' : 'normal'
37
36
  }
38
37
  }, day);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beem-component",
3
- "version": "2.0.23",
3
+ "version": "2.0.25",
4
4
  "private": false,
5
5
  "main": "dist/components/index.js",
6
6
  "scripts": {
package/src/App.js CHANGED
@@ -17,6 +17,7 @@ import {
17
17
  // BmButtonDropDown,
18
18
  // BmBtnIcon,
19
19
  BmContactCard,
20
+ BmModal,
20
21
  // BmContactCheckbox,
21
22
  // BmCounter,
22
23
  // BmProfileIcon,
@@ -893,7 +894,22 @@ const Chat = () => {
893
894
  return (
894
895
  <>
895
896
  <GlobalStyle />
897
+ <BmModal show style={{ width: '800px' }}>
898
+ <div>
899
+ <BmModal.Header subHeading={<h5>Orders for user.</h5>} closeButton>
900
+ <h3 className="text-black font-weight-bold">
901
+ <h3>Order History</h3>
902
+ </h3>
903
+ </BmModal.Header>
904
+ <BmModal.Body>
905
+ {' '}
906
+ <p>TEXT HERE</p>
907
+ </BmModal.Body>
908
+ {/* <BmModal.Footer>
896
909
 
910
+ </BmModal.Footer> */}
911
+ </div>
912
+ </BmModal>
897
913
  <div>
898
914
  <BmChat.Details
899
915
  key={85279}
@@ -919,6 +935,25 @@ const Chat = () => {
919
935
  >
920
936
  <p>{x.message}</p>
921
937
  </BmChat.Details>
938
+ <BmChat.Details
939
+ state="outbound"
940
+ session="bot"
941
+ sessionTimeline={{ message: <p>12:00pm</p> }}
942
+ displayTime={<p>12:00pm</p>}
943
+ status="sent"
944
+ // type="interactive"
945
+ isInteractive="true"
946
+ >
947
+ <p style={{ whiteSpace: 'pre-line' }}>
948
+ {`*Order placed successfully!*
949
+
950
+ *ORDER ID: 191*
951
+
952
+ 1 X 16" Zuri Wig Straight Ciara @ USD 504
953
+ ,2 X 18" Zuri Wig Straight Ciara @ USD 504
954
+ ,3 X 16" Zuri Wig Straight Feza Caramel Brown @ USD 808`}
955
+ </p>
956
+ </BmChat.Details>
922
957
  <BmChatAccordion Open expandIconPosition="left">
923
958
  <BmChatAccordion.Title
924
959
  // trailingIcon={<AbcIcon />}
@@ -34,7 +34,6 @@ export const ModalContent = styled.div`
34
34
  margin-bottom: 0.5rem;
35
35
  }
36
36
  @media (min-width: 576px) {
37
- max-width: 500px;
38
37
  width: 500px;
39
38
  }
40
39
  `;
@@ -1,31 +1,23 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
- import {
4
- BmGrey100,
5
- BmPrimaryBlack,
6
- BmPrimaryBlue,
7
- BmPrimaryWhite,
8
- BmSecondaryBlue12,
9
- } from '../colors';
10
3
 
11
4
  const Wrapper = styled.div`
12
5
  display: flex;
13
6
  flex-direction: row;
14
7
  flex-wrap: wrap;
15
- border: 0.071rem solid ${BmGrey100};
8
+ border: 0.071rem solid #33b1ba;
16
9
  padding: 1rem;
17
- background: ${BmSecondaryBlue12};
10
+ background: #e6f6f7;
11
+ border-radius: 0.5rem;
18
12
  font-family: 'Arial', sans-serif;
19
- font-size: 1.5rem;
13
+ font-size: 1.9rem;
20
14
  `;
21
15
 
22
16
  const Box = styled.div`
23
17
  display: inline-flex;
24
- border: 0.071rem solid ${BmGrey100};
18
+ border: 0.071rem solid #eeeeee;
25
19
  padding: 0.5rem;
26
20
  cursor: pointer;
27
- font-family: 'Arial', sans-serif;
28
- font-size: 1.1rem;
29
21
  `;
30
22
 
31
23
  const BmMultiDateSelector = ({ selectedNumbers = [], onClick }) => {
@@ -40,8 +32,8 @@ const BmMultiDateSelector = ({ selectedNumbers = [], onClick }) => {
40
32
  key={day}
41
33
  onClick={() => onClick?.(day)}
42
34
  style={{
43
- backgroundColor: isSelected ? BmPrimaryBlue : BmPrimaryWhite,
44
- color: isSelected ? BmPrimaryWhite : BmPrimaryBlack,
35
+ backgroundColor: isSelected ? '#33b1ba' : '#ffffff',
36
+ color: isSelected ? '#ffffff' : '#000000',
45
37
  fontWeight: isSelected ? 'bold' : 'normal',
46
38
  }}
47
39
  >