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.
- package/dist/components/input.js +2 -2
- package/package.json +1 -1
- package/src/App.js +1 -1
- package/src/lib/components/input.js +2 -2
package/dist/components/input.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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
package/src/App.js
CHANGED
|
@@ -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={<
|
|
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={<
|
|
123
|
+
icon={<ErrorOutline />}
|
|
124
124
|
color={BmSecondaryRed}
|
|
125
125
|
/>
|
|
126
126
|
)}
|