@ornikar/kitt-universal 25.45.0 → 25.45.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/CHANGELOG.md +9 -0
- package/dist/definitions/Icon/Icon.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +7 -1
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +7 -1
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +7 -1
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +7 -1
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +7 -1
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +7 -1
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +6 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +6 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [25.45.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.45.0...@ornikar/kitt-universal@25.45.1) (2025-03-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **kitt-universal/icon:** use hex color for svg icon [no issue] ([#2564](https://github.com/ornikar/kitt/issues/2564)) ([e11a928](https://github.com/ornikar/kitt/commit/e11a928144514cf36bd51a0f801b9682515749f3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [25.45.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.44.4...@ornikar/kitt-universal@25.45.0) (2025-03-18)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/Icon/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;CAC9B;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAA8B,EAAE,KAAc,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,SAAS,CAW1G"}
|
|
@@ -2998,9 +2998,15 @@ function Icon({
|
|
|
2998
2998
|
align = 'auto',
|
|
2999
2999
|
color
|
|
3000
3000
|
}) {
|
|
3001
|
-
const
|
|
3001
|
+
const sx = useSx();
|
|
3002
|
+
const {
|
|
3003
|
+
color: iconColor
|
|
3004
|
+
} = sx({
|
|
3002
3005
|
color
|
|
3003
3006
|
});
|
|
3007
|
+
const clonedIcon = /*#__PURE__*/cloneElement(icon, {
|
|
3008
|
+
color: iconColor
|
|
3009
|
+
});
|
|
3004
3010
|
return /*#__PURE__*/jsx(View, {
|
|
3005
3011
|
color: color,
|
|
3006
3012
|
alignSelf: align,
|