@ornikar/kitt-universal 21.0.1 → 21.0.2

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
+ ## [21.0.2](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@21.0.1...@ornikar/kitt-universal@21.0.2) (2023-11-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix typography icon color [no issue] ([#2258](https://github.com/ornikar/kitt/issues/2258)) ([1a72b52](https://github.com/ornikar/kitt/commit/1a72b52508afb61ab38f7b71fa81cc7ad56db2d2))
12
+
13
+
14
+
6
15
  ## [21.0.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@21.0.0...@ornikar/kitt-universal@21.0.1) (2023-11-21)
7
16
 
8
17
  **Note:** Version bump only for package @ornikar/kitt-universal
@@ -1 +1 @@
1
- {"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9C,OAAO,KAAK,EAA4B,eAAe,EAAE,MAAM,cAAc,CAAC;AAmC9E,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CAC9C;AAmBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,SAAS,CAMlF"}
1
+ {"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../src/typography/TypographyIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAM9C,OAAO,KAAK,EAA4B,eAAe,EAAE,MAAM,cAAc,CAAC;AAmC9E,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;CAC9C;AAuBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,SAAS,CAMlF"}
@@ -2144,10 +2144,17 @@ function TypographyIconSpecifiedColor({
2144
2144
  }) {
2145
2145
  const ancestorType = useTypographyAncestorType();
2146
2146
  const iconSize = size || (ancestorType ? createNativeBaseIconSize(ancestorType) : undefined);
2147
+ const colorValue = getTypographyColorValue(color);
2148
+ const sx = nativeBase.useSx();
2149
+ const {
2150
+ color: colorStyleValue
2151
+ } = sx({
2152
+ color: colorValue
2153
+ });
2147
2154
  return /*#__PURE__*/jsxRuntime.jsx(Icon, {
2148
2155
  ...props,
2149
2156
  size: iconSize,
2150
- color: getTypographyColorValue(color)
2157
+ color: colorStyleValue
2151
2158
  });
2152
2159
  }
2153
2160
  function TypographyIconInheritColor(props) {