@portnet/ui 0.1.31 → 0.1.32

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.
@@ -46,6 +46,23 @@ const PrimaryChip = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props, r
46
46
  }
47
47
  };
48
48
  });
49
+ const iconMapping = {
50
+ success: /*#__PURE__*/(0, _jsxRuntime.jsx)(CheckCircleIcon, {
51
+ style: {
52
+ color: 'white'
53
+ }
54
+ }),
55
+ error: /*#__PURE__*/(0, _jsxRuntime.jsx)(ErrorIcon, {
56
+ style: {
57
+ color: 'white'
58
+ }
59
+ }),
60
+ info: /*#__PURE__*/(0, _jsxRuntime.jsx)(HourglassEmptyIcon, {
61
+ style: {
62
+ color: 'white'
63
+ }
64
+ })
65
+ };
49
66
  const SecondaryChip = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledChip, _objectSpread({
50
67
  ref: ref
51
68
  }, props))))(() => {
@@ -134,7 +151,7 @@ const PuiChip = /*#__PURE__*/React.forwardRef((_ref, ref) => {
134
151
  }),
135
152
  className,
136
153
  label: children,
137
- icon: icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Avatar, {
154
+ icon: icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Avatar, {
138
155
  children: iconMapping[icon]
139
156
  }) : null
140
157
  }, rest))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",