@cypress-design/react-statusicon 0.4.8 → 0.4.9
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/index.es.mjs +2 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,5 +8,5 @@ $ rollup -c ./rollup.config.mjs
|
|
|
8
8
|
index.ts
|
|
9
9
|
|
|
10
10
|
Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
|
|
11
|
-
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [
|
|
11
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m33s[22m[39m
|
|
12
12
|
$ tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @cypress-design/react-statusicon
|
|
2
2
|
|
|
3
|
+
## 0.4.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`630ad4a`](https://github.com/cypress-io/cypress-design/commit/630ad4ae2e6ba65350951949767a4ebdc4c7eb0a), [`a3a323f`](https://github.com/cypress-io/cypress-design/commit/a3a323fde7acf5e5407b298b4faa0c90314c6139)]:
|
|
8
|
+
- @cypress-design/react-icon@0.24.0
|
|
9
|
+
|
|
3
10
|
## 0.4.8
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/index.es.mjs
CHANGED
|
@@ -464,6 +464,7 @@ var compileReactIconProperties = function (_a) {
|
|
|
464
464
|
}
|
|
465
465
|
return newAttributes;
|
|
466
466
|
}, {});
|
|
467
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
467
468
|
React.useEffect(function () {
|
|
468
469
|
var iconFileId = "".concat(name, "_").concat(size);
|
|
469
470
|
if (defs) {
|
|
@@ -477,7 +478,7 @@ var compileReactIconProperties = function (_a) {
|
|
|
477
478
|
svgElement.innerHTML = defs;
|
|
478
479
|
document.body.appendChild(svgElement);
|
|
479
480
|
}
|
|
480
|
-
}, [defs]);
|
|
481
|
+
}, [defs, name, size]);
|
|
481
482
|
var componentProps = __assign({ width: size, height: size, viewBox: "0 0 ".concat(size, " ").concat(size), fill: 'none', dangerouslySetInnerHTML: {
|
|
482
483
|
__html: body,
|
|
483
484
|
}, className: undefined }, filteredAttributes);
|