@pareto-engineering/design-system 4.0.0-alpha.18 → 4.0.0-alpha.20

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.
@@ -42,7 +42,7 @@ const Conversation = _ref => {
42
42
  id: id,
43
43
  className: [baseClassName, componentClassName, userClassName, `y-${backgroundColor}`].filter(e => e).join(' '),
44
44
  style: style
45
- }, children));
45
+ }, /*#__PURE__*/React.createElement(_.Card.Section, null, children)));
46
46
  };
47
47
  Conversation.propTypes = {
48
48
  /**
@@ -7,7 +7,6 @@ exports.default = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _exports = _interopRequireDefault(require("@pareto-engineering/bem/exports"));
10
- var _ = require("../../../..");
11
10
  var _useConversation = _interopRequireDefault(require("../../useConversation"));
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -39,9 +38,9 @@ const Message = _ref => {
39
38
  ourColor,
40
39
  theirColor
41
40
  } = (0, _useConversation.default)();
42
- return /*#__PURE__*/React.createElement(_.Card.Section, {
41
+ return /*#__PURE__*/React.createElement("div", {
43
42
  id: id,
44
- className: [baseClassName, componentClassName, userClassName, `x-${from === 'ours' ? ourColor : theirColor}`, from === 'ours' && 'ours'].filter(e => e).join(' '),
43
+ className: [baseClassName, componentClassName, userClassName, `x-${from === 'ours' ? ourColor : theirColor}`, from].filter(e => e).join(' '),
45
44
  style: style
46
45
  }, sender && /*#__PURE__*/React.createElement("p", {
47
46
  className: "sender"
@@ -1,4 +1,5 @@
1
1
  /* @pareto-engineering/generator-front 1.0.12 */
2
+ /* stylelint-disable selector-max-compound-selectors -- Required here */
2
3
 
3
4
  @use "@pareto-engineering/bem";
4
5
  @use "@pareto-engineering/styles/src/mixins";
@@ -12,39 +13,54 @@ $default-message-border: 1px solid var(--hard-background-cards);
12
13
 
13
14
  .#{bem.$base}.conversation {
14
15
  background: var(--y);
15
- display: flex;
16
- flex-direction: column;
17
- padding: $default-padding;
18
-
19
- > .#{bem.$base}.message {
20
- align-self: flex-start;
21
- max-width: $default-message-max-width;
22
- min-width: $default-message-min-width;
23
- position: relative;
24
-
25
- > .message-content {
26
- background-color: var(--x);
27
- border: $default-message-border;
28
- border-radius: $default-border-radius;
29
- display: flex;
30
- flex-direction: column;
31
- padding: 0 $default-padding;
32
-
33
- > p {
34
- color: var(--on-x);
16
+
17
+ > .#{bem.$base}.section {
18
+ display: flex;
19
+ flex-direction: column;
20
+
21
+ > .#{bem.$base}.message + .#{bem.$base}.message {
22
+ padding-top: $default-padding;
23
+ }
24
+
25
+ > .#{bem.$base}.message.ours + .#{bem.$base}.message.ours,
26
+ > .#{bem.$base}.message.theirs + .#{bem.$base}.message.theirs {
27
+ padding-top: calc($default-padding / 2);
28
+ }
29
+
30
+ > .#{bem.$base}.message {
31
+ align-self: flex-start;
32
+ max-width: $default-message-max-width;
33
+ min-width: $default-message-min-width;
34
+ position: relative;
35
+
36
+ > .sender {
37
+ margin: 0;
35
38
  }
36
39
 
37
- > .attachment {
38
- align-items: center;
39
- align-self: flex-end;
40
+ > .message-content {
41
+ background-color: var(--x);
42
+ border: $default-message-border;
43
+ border-radius: $default-border-radius;
40
44
  display: flex;
41
- flex-direction: row;
42
- gap: calc($default-padding / 2);
45
+ flex-direction: column;
46
+ padding: 0 $default-padding;
47
+
48
+ > p {
49
+ color: var(--on-x);
50
+ }
51
+
52
+ > .attachment {
53
+ align-items: center;
54
+ align-self: flex-end;
55
+ display: flex;
56
+ flex-direction: row;
57
+ gap: calc($default-padding / 2);
58
+ }
43
59
  }
44
- }
45
60
 
46
- &.#{bem.$base}.ours {
47
- align-self: flex-end;
61
+ &.#{bem.$base}.ours {
62
+ align-self: flex-end;
63
+ }
48
64
  }
49
65
  }
50
66
  }
@@ -5,7 +5,7 @@
5
5
  @use "@pareto-engineering/styles/src/mixins";
6
6
  @use "@pareto-engineering/styles/src/globals" as *;
7
7
 
8
- $default-spacing: var(--gap, 1em);
8
+ $default-spacing: var(--gap);
9
9
 
10
10
  .#{bem.$base}.snap-scroller {
11
11
  display: flex;
@@ -27,10 +27,11 @@ $default-spacing: var(--gap, 1em);
27
27
  &:first-child {
28
28
  margin-left: $default-spacing;
29
29
  }
30
+ }
30
31
 
31
- &:last-child {
32
- margin-right: $default-spacing;
33
- }
32
+ &::after {
33
+ content: "";
34
+ min-width: calc($default-spacing / 2);
34
35
  }
35
36
 
36
37
  @include mixins.media($from: $sm-md) {
@@ -40,6 +41,10 @@ $default-spacing: var(--gap, 1em);
40
41
  scroll-snap-type: none;
41
42
  scrollbar-width: unset;
42
43
 
44
+ &::after {
45
+ display: none;
46
+ }
47
+
43
48
  >* {
44
49
  min-width: unset;
45
50
 
@@ -36,6 +36,9 @@ const Button = _ref => {
36
36
  (0, React.useInsertionEffect)(() => {
37
37
  Promise.resolve().then(() => _interopRequireWildcard(require("./styles.scss")));
38
38
  }, []);
39
+ const buttonText = isSimple ? /*#__PURE__*/React.createElement("span", {
40
+ className: _exports.default.modifierUnderlined
41
+ }, children) : children;
39
42
  return /*#__PURE__*/React.createElement("button", _extends({
40
43
  id: id,
41
44
  className: [baseClassName, componentClassName, userClassName, `x-${color}`, isGhost && _exports.default.modifierGhost, isCompact && _exports.default.modifierCompact, isSimple && _exports.default.modifierSimple, isGradient && _exports.default.modifierGradient, isSpaced && _exports.default.modifierSpaced, arrowDirection && `arrow-${arrowDirection}`].filter(e => e).join(' '),
@@ -46,7 +49,7 @@ const Button = _ref => {
46
49
  '--x': 'var(--on-x)'
47
50
  },
48
51
  heightWidth: "1.15em"
49
- }) : children);
52
+ }) : buttonText);
50
53
  };
51
54
  Button.propTypes = {
52
55
  /**
@@ -20,7 +20,8 @@ $default-animation-time: .31s;
20
20
  font-weight: 400;
21
21
  justify-content: space-between;
22
22
  padding: $default-padding;
23
- transition: all .25s;//var(--theme-default-paragraph);
23
+ transition: all .25s;
24
+ white-space: nowrap;//var(--theme-default-paragraph);
24
25
 
25
26
  &.arrow-right {
26
27
  &::after {
@@ -57,7 +58,10 @@ $default-animation-time: .31s;
57
58
  &:not(:disabled) {
58
59
  cursor: pointer;
59
60
 
60
- &:hover {
61
+ &:hover
62
+ :not(.#{bem.$modifier-gradient})
63
+ :not(.#{bem.$modifier-ghost})
64
+ :not(.#{bem.$modifier-simple}) {
61
65
  background: var(--soft-x, var(--soft-#{$default-color}));
62
66
  }
63
67
 
@@ -67,8 +71,18 @@ $default-animation-time: .31s;
67
71
  }
68
72
 
69
73
  &.#{bem.$modifier-gradient} {
70
- background: linear-gradient(to left, var(--soft-x), var(--hard-x) 60%);
71
- transition: unset;
74
+ background-image: linear-gradient(
75
+ to right,
76
+ var(--hard-x) 30%,
77
+ var(--x) 50%,
78
+ var(--hard-x) 100%
79
+ );
80
+ background-position: left;
81
+ background-size: 200% auto;
82
+
83
+ &:not(:disabled):hover {
84
+ background-position: right center;
85
+ }
72
86
  }
73
87
 
74
88
  &.#{bem.$modifier-compact} {
@@ -115,6 +129,10 @@ $default-animation-time: .31s;
115
129
  color: var(--x, var(--#{$default-color}));
116
130
  padding: 0;
117
131
 
132
+ > .#{bem.$modifier-underlined} {
133
+ text-decoration: underline;
134
+ }
135
+
118
136
  &:disabled,
119
137
  &:hover,
120
138
  &:focus {
@@ -24,8 +24,7 @@ const ThemeSelector = _ref => {
24
24
  id,
25
25
  className: userClassName,
26
26
  style,
27
- themes,
28
- iconMap
27
+ themes
29
28
  } = _ref;
30
29
  const {
31
30
  userTheme,
@@ -38,15 +37,18 @@ const ThemeSelector = _ref => {
38
37
  const current = themes.indexOf(userTheme);
39
38
  setPreferredTheme(themes[(current + 1) % themes.length]);
40
39
  }, [userTheme]);
41
- return /*#__PURE__*/React.createElement("button", {
42
- type: "button",
43
- className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
44
- id: id,
45
- style: style,
46
- onClick: loopThemes
47
- }, /*#__PURE__*/React.createElement("span", {
48
- className: "icon"
49
- }, iconMap[userTheme]), /*#__PURE__*/React.createElement("span", null, userTheme));
40
+ const themeText = userTheme && userTheme.charAt(0).toUpperCase() + userTheme.slice(1);
41
+ return (
42
+ /*#__PURE__*/
43
+ // eslint-disable-next-line jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions
44
+ React.createElement("a", {
45
+ className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
46
+ id: id,
47
+ style: style,
48
+ onClick: loopThemes,
49
+ onKeyDown: loopThemes
50
+ }, themeText)
51
+ );
50
52
  };
51
53
  ThemeSelector.propTypes = {
52
54
  /**
@@ -64,19 +66,10 @@ ThemeSelector.propTypes = {
64
66
  /**
65
67
  * The themes and the order in which they appear
66
68
  */
67
- themes: _propTypes.default.arrayOf(_propTypes.default.string),
68
- /**
69
- * A map of the theme names with the icons that represent them. Uses the default font icon.
70
- */
71
- iconMap: _propTypes.default.objectOf(_propTypes.default.string)
69
+ themes: _propTypes.default.arrayOf(_propTypes.default.string)
72
70
  };
73
71
  ThemeSelector.defaultProps = {
74
- themes: ['light', 'dark'],
75
- iconMap: {
76
- dark: 'd',
77
- // sun,
78
- light: 'T' // moon,
79
- }
72
+ themes: ['light', 'dark']
80
73
  };
81
74
  var _default = ThemeSelector;
82
75
  exports.default = _default;
@@ -2,14 +2,8 @@
2
2
 
3
3
  @use "@pareto-engineering/bem";
4
4
 
5
- $default-color:var(--x, var(--contrast));
6
-
7
5
  .#{bem.$base}.theme-selector {
8
- align-items: center;
9
- background: transparent;
10
- border: none;
11
- color: $default-color;
12
6
  cursor: pointer;
13
- display: flex;
14
- gap: var(--gap);
7
+ display: block;
8
+ text-decoration: none;
15
9
  }
@@ -37,7 +37,7 @@ const Conversation = ({
37
37
  id: id,
38
38
  className: [baseClassName, componentClassName, userClassName, `y-${backgroundColor}`].filter(e => e).join(' '),
39
39
  style: style
40
- }, children));
40
+ }, /*#__PURE__*/React.createElement(Card.Section, null, children)));
41
41
  };
42
42
  Conversation.propTypes = {
43
43
  /**
@@ -2,7 +2,6 @@
2
2
  import * as React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import styleNames from '@pareto-engineering/bem/exports';
5
- import { Card } from "../../../..";
6
5
 
7
6
  // Local Definitions
8
7
 
@@ -29,9 +28,9 @@ const Message = ({
29
28
  ourColor,
30
29
  theirColor
31
30
  } = useConversation();
32
- return /*#__PURE__*/React.createElement(Card.Section, {
31
+ return /*#__PURE__*/React.createElement("div", {
33
32
  id: id,
34
- className: [baseClassName, componentClassName, userClassName, `x-${from === 'ours' ? ourColor : theirColor}`, from === 'ours' && 'ours'].filter(e => e).join(' '),
33
+ className: [baseClassName, componentClassName, userClassName, `x-${from === 'ours' ? ourColor : theirColor}`, from].filter(e => e).join(' '),
35
34
  style: style
36
35
  }, sender && /*#__PURE__*/React.createElement("p", {
37
36
  className: "sender"
@@ -1,4 +1,5 @@
1
1
  /* @pareto-engineering/generator-front 1.0.12 */
2
+ /* stylelint-disable selector-max-compound-selectors -- Required here */
2
3
 
3
4
  @use "@pareto-engineering/bem";
4
5
  @use "@pareto-engineering/styles/src/mixins";
@@ -12,39 +13,54 @@ $default-message-border: 1px solid var(--hard-background-cards);
12
13
 
13
14
  .#{bem.$base}.conversation {
14
15
  background: var(--y);
15
- display: flex;
16
- flex-direction: column;
17
- padding: $default-padding;
18
-
19
- > .#{bem.$base}.message {
20
- align-self: flex-start;
21
- max-width: $default-message-max-width;
22
- min-width: $default-message-min-width;
23
- position: relative;
24
-
25
- > .message-content {
26
- background-color: var(--x);
27
- border: $default-message-border;
28
- border-radius: $default-border-radius;
29
- display: flex;
30
- flex-direction: column;
31
- padding: 0 $default-padding;
32
-
33
- > p {
34
- color: var(--on-x);
16
+
17
+ > .#{bem.$base}.section {
18
+ display: flex;
19
+ flex-direction: column;
20
+
21
+ > .#{bem.$base}.message + .#{bem.$base}.message {
22
+ padding-top: $default-padding;
23
+ }
24
+
25
+ > .#{bem.$base}.message.ours + .#{bem.$base}.message.ours,
26
+ > .#{bem.$base}.message.theirs + .#{bem.$base}.message.theirs {
27
+ padding-top: calc($default-padding / 2);
28
+ }
29
+
30
+ > .#{bem.$base}.message {
31
+ align-self: flex-start;
32
+ max-width: $default-message-max-width;
33
+ min-width: $default-message-min-width;
34
+ position: relative;
35
+
36
+ > .sender {
37
+ margin: 0;
35
38
  }
36
39
 
37
- > .attachment {
38
- align-items: center;
39
- align-self: flex-end;
40
+ > .message-content {
41
+ background-color: var(--x);
42
+ border: $default-message-border;
43
+ border-radius: $default-border-radius;
40
44
  display: flex;
41
- flex-direction: row;
42
- gap: calc($default-padding / 2);
45
+ flex-direction: column;
46
+ padding: 0 $default-padding;
47
+
48
+ > p {
49
+ color: var(--on-x);
50
+ }
51
+
52
+ > .attachment {
53
+ align-items: center;
54
+ align-self: flex-end;
55
+ display: flex;
56
+ flex-direction: row;
57
+ gap: calc($default-padding / 2);
58
+ }
43
59
  }
44
- }
45
60
 
46
- &.#{bem.$base}.ours {
47
- align-self: flex-end;
61
+ &.#{bem.$base}.ours {
62
+ align-self: flex-end;
63
+ }
48
64
  }
49
65
  }
50
66
  }
@@ -5,7 +5,7 @@
5
5
  @use "@pareto-engineering/styles/src/mixins";
6
6
  @use "@pareto-engineering/styles/src/globals" as *;
7
7
 
8
- $default-spacing: var(--gap, 1em);
8
+ $default-spacing: var(--gap);
9
9
 
10
10
  .#{bem.$base}.snap-scroller {
11
11
  display: flex;
@@ -27,10 +27,11 @@ $default-spacing: var(--gap, 1em);
27
27
  &:first-child {
28
28
  margin-left: $default-spacing;
29
29
  }
30
+ }
30
31
 
31
- &:last-child {
32
- margin-right: $default-spacing;
33
- }
32
+ &::after {
33
+ content: "";
34
+ min-width: calc($default-spacing / 2);
34
35
  }
35
36
 
36
37
  @include mixins.media($from: $sm-md) {
@@ -40,6 +41,10 @@ $default-spacing: var(--gap, 1em);
40
41
  scroll-snap-type: none;
41
42
  scrollbar-width: unset;
42
43
 
44
+ &::after {
45
+ display: none;
46
+ }
47
+
43
48
  >* {
44
49
  min-width: unset;
45
50
 
@@ -31,6 +31,9 @@ const Button = ({
31
31
  useInsertionEffect(() => {
32
32
  import("./styles.scss");
33
33
  }, []);
34
+ const buttonText = isSimple ? /*#__PURE__*/React.createElement("span", {
35
+ className: styleNames.modifierUnderlined
36
+ }, children) : children;
34
37
  return /*#__PURE__*/React.createElement("button", _extends({
35
38
  id: id,
36
39
  className: [baseClassName, componentClassName, userClassName, `x-${color}`, isGhost && styleNames.modifierGhost, isCompact && styleNames.modifierCompact, isSimple && styleNames.modifierSimple, isGradient && styleNames.modifierGradient, isSpaced && styleNames.modifierSpaced, arrowDirection && `arrow-${arrowDirection}`].filter(e => e).join(' '),
@@ -41,7 +44,7 @@ const Button = ({
41
44
  '--x': 'var(--on-x)'
42
45
  },
43
46
  heightWidth: "1.15em"
44
- }) : children);
47
+ }) : buttonText);
45
48
  };
46
49
  Button.propTypes = {
47
50
  /**
@@ -20,7 +20,8 @@ $default-animation-time: .31s;
20
20
  font-weight: 400;
21
21
  justify-content: space-between;
22
22
  padding: $default-padding;
23
- transition: all .25s;//var(--theme-default-paragraph);
23
+ transition: all .25s;
24
+ white-space: nowrap;//var(--theme-default-paragraph);
24
25
 
25
26
  &.arrow-right {
26
27
  &::after {
@@ -57,7 +58,10 @@ $default-animation-time: .31s;
57
58
  &:not(:disabled) {
58
59
  cursor: pointer;
59
60
 
60
- &:hover {
61
+ &:hover
62
+ :not(.#{bem.$modifier-gradient})
63
+ :not(.#{bem.$modifier-ghost})
64
+ :not(.#{bem.$modifier-simple}) {
61
65
  background: var(--soft-x, var(--soft-#{$default-color}));
62
66
  }
63
67
 
@@ -67,8 +71,18 @@ $default-animation-time: .31s;
67
71
  }
68
72
 
69
73
  &.#{bem.$modifier-gradient} {
70
- background: linear-gradient(to left, var(--soft-x), var(--hard-x) 60%);
71
- transition: unset;
74
+ background-image: linear-gradient(
75
+ to right,
76
+ var(--hard-x) 30%,
77
+ var(--x) 50%,
78
+ var(--hard-x) 100%
79
+ );
80
+ background-position: left;
81
+ background-size: 200% auto;
82
+
83
+ &:not(:disabled):hover {
84
+ background-position: right center;
85
+ }
72
86
  }
73
87
 
74
88
  &.#{bem.$modifier-compact} {
@@ -115,6 +129,10 @@ $default-animation-time: .31s;
115
129
  color: var(--x, var(--#{$default-color}));
116
130
  padding: 0;
117
131
 
132
+ > .#{bem.$modifier-underlined} {
133
+ text-decoration: underline;
134
+ }
135
+
118
136
  &:disabled,
119
137
  &:hover,
120
138
  &:focus {
@@ -17,8 +17,7 @@ const ThemeSelector = ({
17
17
  id,
18
18
  className: userClassName,
19
19
  style,
20
- themes,
21
- iconMap
20
+ themes
22
21
  }) => {
23
22
  const {
24
23
  userTheme,
@@ -31,15 +30,18 @@ const ThemeSelector = ({
31
30
  const current = themes.indexOf(userTheme);
32
31
  setPreferredTheme(themes[(current + 1) % themes.length]);
33
32
  }, [userTheme]);
34
- return /*#__PURE__*/React.createElement("button", {
35
- type: "button",
36
- className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
37
- id: id,
38
- style: style,
39
- onClick: loopThemes
40
- }, /*#__PURE__*/React.createElement("span", {
41
- className: "icon"
42
- }, iconMap[userTheme]), /*#__PURE__*/React.createElement("span", null, userTheme));
33
+ const themeText = userTheme && userTheme.charAt(0).toUpperCase() + userTheme.slice(1);
34
+ return (
35
+ /*#__PURE__*/
36
+ // eslint-disable-next-line jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions
37
+ React.createElement("a", {
38
+ className: [baseClassName, componentClassName, userClassName].filter(e => e).join(' '),
39
+ id: id,
40
+ style: style,
41
+ onClick: loopThemes,
42
+ onKeyDown: loopThemes
43
+ }, themeText)
44
+ );
43
45
  };
44
46
  ThemeSelector.propTypes = {
45
47
  /**
@@ -57,19 +59,9 @@ ThemeSelector.propTypes = {
57
59
  /**
58
60
  * The themes and the order in which they appear
59
61
  */
60
- themes: PropTypes.arrayOf(PropTypes.string),
61
- /**
62
- * A map of the theme names with the icons that represent them. Uses the default font icon.
63
- */
64
- iconMap: PropTypes.objectOf(PropTypes.string)
62
+ themes: PropTypes.arrayOf(PropTypes.string)
65
63
  };
66
64
  ThemeSelector.defaultProps = {
67
- themes: ['light', 'dark'],
68
- iconMap: {
69
- dark: 'd',
70
- // sun,
71
- light: 'T' // moon,
72
- }
65
+ themes: ['light', 'dark']
73
66
  };
74
-
75
67
  export default ThemeSelector;
@@ -2,14 +2,8 @@
2
2
 
3
3
  @use "@pareto-engineering/bem";
4
4
 
5
- $default-color:var(--x, var(--contrast));
6
-
7
5
  .#{bem.$base}.theme-selector {
8
- align-items: center;
9
- background: transparent;
10
- border: none;
11
- color: $default-color;
12
6
  cursor: pointer;
13
- display: flex;
14
- gap: var(--gap);
7
+ display: block;
8
+ text-decoration: none;
15
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pareto-engineering/design-system",
3
- "version": "4.0.0-alpha.18",
3
+ "version": "4.0.0-alpha.20",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@pareto-engineering/assets": "^4.0.0-alpha.11",
54
- "@pareto-engineering/bem": "^4.0.0-alpha.11",
55
- "@pareto-engineering/styles": "^4.0.0-alpha.18",
54
+ "@pareto-engineering/bem": "^4.0.0-alpha.20",
55
+ "@pareto-engineering/styles": "^4.0.0-alpha.20",
56
56
  "date-fns": "^2.29.3",
57
57
  "downshift": "^6.1.12",
58
58
  "formik": "^2.2.9",
@@ -67,5 +67,5 @@
67
67
  "relay-test-utils": "^15.0.0"
68
68
  },
69
69
  "browserslist": "> 2%",
70
- "gitHead": "e1735bceb078ee7d063407d7f6fcd36ff11d0ef9"
70
+ "gitHead": "fffe052db834d7127d1270b562f935789ae17a3a"
71
71
  }
@@ -30,10 +30,14 @@ export const Base = () => {
30
30
  from :'ours',
31
31
  },
32
32
  {
33
- message:'Hi Camille, please compile an assesment of top 6 firms/brand providers for the listed fields in the US.',
33
+ message:'That looks amazing',
34
34
  sender :'Humbl',
35
35
  from :'theirs',
36
36
  },
37
+ {
38
+ message:'Thank you for the great work, can we also get this information in a spreadsheet?',
39
+ from :'theirs',
40
+ },
37
41
  {
38
42
  message:'Hi Morgan! Here is the spreadsheet we prepared for you.',
39
43
  sender :'Camille',
@@ -55,7 +55,9 @@ const Conversation = ({
55
55
  .join(' ')}
56
56
  style={style}
57
57
  >
58
- {children}
58
+ <Card.Section>
59
+ {children}
60
+ </Card.Section>
59
61
  </Card>
60
62
  </ConversationContext.Provider>
61
63
  )