beem-component 1.8.0 → 1.8.1

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.
@@ -77,12 +77,12 @@ var BmInput = function BmInput(_ref6) {
77
77
  state: state,
78
78
  disabled: state === 'disabled'
79
79
  })), action && action === 'complete' && /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, {
80
- icon: /*#__PURE__*/_react.default.createElement(_icons.ErrorOutline, null),
80
+ icon: /*#__PURE__*/_react.default.createElement(_icons.Done, null),
81
81
  size: iconSize || 'small',
82
82
  color: _colors.BmSecondaryDarkGreen
83
83
  }), action && action === 'incomplete' && /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, {
84
84
  size: iconSize || 'small',
85
- icon: /*#__PURE__*/_react.default.createElement(_icons.Done, null),
85
+ icon: /*#__PURE__*/_react.default.createElement(_icons.ErrorOutline, null),
86
86
  color: _colors.BmSecondaryRed
87
87
  }), action && action === 'pending' && /*#__PURE__*/_react.default.createElement(_iconStyles.BmIcons, {
88
88
  size: iconSize || 'small',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beem-component",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "private": false,
5
5
  "main": "dist/components/index.js",
6
6
  "scripts": {
package/src/App.js CHANGED
@@ -253,7 +253,7 @@ const Chat = () => {
253
253
  return (
254
254
  <>
255
255
  <GlobalStyle />
256
- <BmInput placeholder="tejal" state="complete" action="pending" />
256
+ <BmInput placeholder="tejal" state="positive" action="incomplete" />
257
257
  </>
258
258
  );
259
259
  };
@@ -112,7 +112,7 @@ export const BmInput = ({ id, iconSize, label, state, action, ...rest }) => {
112
112
  />
113
113
  {action && action === 'complete' && (
114
114
  <BmIcons
115
- icon={<ErrorOutline />}
115
+ icon={<Done />}
116
116
  size={iconSize || 'small'}
117
117
  color={BmSecondaryDarkGreen}
118
118
  />
@@ -120,7 +120,7 @@ export const BmInput = ({ id, iconSize, label, state, action, ...rest }) => {
120
120
  {action && action === 'incomplete' && (
121
121
  <BmIcons
122
122
  size={iconSize || 'small'}
123
- icon={<Done />}
123
+ icon={<ErrorOutline />}
124
124
  color={BmSecondaryRed}
125
125
  />
126
126
  )}