@linagora/twake-icons 2.11.1 → 2.12.0
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 +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +410 -410
- package/dist/index.d.ts +410 -410
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# @linagora/twake-icons [2.12.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.11.1...@linagora/twake-icons@2.12.0) (2026-10-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **twake-icons:** Stop using the global JSX namespace ([2463706](https://github.com/linagora/twake-ui/commit/2463706aa3fb13b94edb1e4eb4516ec152b3ece4))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **twake-icons:** Support React 19 ([550a098](https://github.com/linagora/twake-ui/commit/550a098fee39f15418b80b1d7097c184156b2f5d))
|
|
12
|
+
|
|
1
13
|
## @linagora/twake-icons [2.11.1](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.11.0...@linagora/twake-icons@2.11.1) (2026-10-01)
|
|
2
14
|
|
|
3
15
|
|
package/dist/index.cjs
CHANGED
|
@@ -508,7 +508,7 @@ function Icon(props) {
|
|
|
508
508
|
...restProps
|
|
509
509
|
}
|
|
510
510
|
);
|
|
511
|
-
const Svg = isFunction(icon) ? icon : makeSvgObject(icon);
|
|
511
|
+
const Svg = isFunction(icon) ? icon : typeof icon === "string" ? makeSvgObject(icon) : null;
|
|
512
512
|
const _style = {
|
|
513
513
|
...style,
|
|
514
514
|
...color ? { fill: color } : {},
|