@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 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":"AAAA,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,CAQ1G"}
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 clonedIcon = /*#__PURE__*/cloneElement(icon, {
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,