@cypress-design/react-statusicon 0.2.1 → 0.2.3
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/CHANGELOG.md +16 -0
- package/dist/index.es.mjs +1 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @cypress-design/react-statusicon
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e4a1573`](https://github.com/cypress-io/cypress-design/commit/e4a15730ca59d7ba85ba04b9d39ac6f0e0dfb249)]:
|
|
8
|
+
- @cypress-design/react-icon@0.16.0
|
|
9
|
+
- @cypress-design/icon-registry@0.19.0
|
|
10
|
+
|
|
11
|
+
## 0.2.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`92c1c4a`](https://github.com/cypress-io/cypress-design/commit/92c1c4a3e4494f8ec6c81ed7570d862b1b36dde1)]:
|
|
16
|
+
- @cypress-design/react-icon@0.15.0
|
|
17
|
+
- @cypress-design/icon-registry@0.18.0
|
|
18
|
+
|
|
3
19
|
## 0.2.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.es.mjs
CHANGED
|
@@ -266,7 +266,7 @@ function __rest(s, e) {
|
|
|
266
266
|
var compileReactIconProperties = function (_a) {
|
|
267
267
|
var body = _a.body, compiledClasses = _a.compiledClasses, size = _a.size, attributes = __rest(_a, ["body", "compiledClasses", "size"]);
|
|
268
268
|
var filteredAttributes = Object.keys(attributes).reduce(function (newAttributes, attrName) {
|
|
269
|
-
if (!ICON_COLOR_PROP_NAMES.includes(attrName)) {
|
|
269
|
+
if (!ICON_COLOR_PROP_NAMES.includes(attrName) && attrName !== 'name') {
|
|
270
270
|
newAttributes[attrName] =
|
|
271
271
|
attributes[attrName];
|
|
272
272
|
}
|