@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 +9 -0
- package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
- package/dist/index-node-18.18.cjs.js +8 -1
- package/dist/index-node-18.18.cjs.js.map +1 -1
- package/dist/index-node-18.18.cjs.web.js +8 -1
- package/dist/index-node-18.18.cjs.web.js.map +1 -1
- package/dist/index-node-18.18.es.mjs +8 -1
- package/dist/index-node-18.18.es.mjs.map +1 -1
- package/dist/index-node-18.18.es.web.mjs +8 -1
- package/dist/index-node-18.18.es.web.mjs.map +1 -1
- package/dist/index.es.android.js +7 -1
- package/dist/index.es.android.js.map +1 -1
- package/dist/index.es.ios.js +7 -1
- package/dist/index.es.ios.js.map +1 -1
- package/dist/index.es.js +7 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +7 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2172,10 +2172,17 @@ function TypographyIconSpecifiedColor({
|
|
|
2172
2172
|
}) {
|
|
2173
2173
|
const ancestorType = useTypographyAncestorType();
|
|
2174
2174
|
const iconSize = size || (ancestorType ? createNativeBaseIconSize(ancestorType) : undefined);
|
|
2175
|
+
const colorValue = getTypographyColorValue(color);
|
|
2176
|
+
const sx = nativeBase.useSx();
|
|
2177
|
+
const {
|
|
2178
|
+
color: colorStyleValue
|
|
2179
|
+
} = sx({
|
|
2180
|
+
color: colorValue
|
|
2181
|
+
});
|
|
2175
2182
|
return /*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
2176
2183
|
...props,
|
|
2177
2184
|
size: iconSize,
|
|
2178
|
-
color:
|
|
2185
|
+
color: colorStyleValue
|
|
2179
2186
|
});
|
|
2180
2187
|
}
|
|
2181
2188
|
function TypographyIconInheritColor(props) {
|