@nuskin/foundation-ui-components 1.0.0-cft-35.10 → 1.0.0-cft-35.11
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
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# [1.0.0-cft-35.11](https://code.tls.nuskin.io/ns-am/content-foundation/foundation-ui-components/compare/v1.0.0-cft-35.10...v1.0.0-cft-35.11) (2023-04-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### fix
|
|
5
|
+
|
|
6
|
+
* to trigger a release v10 ([4382a19](https://code.tls.nuskin.io/ns-am/content-foundation/foundation-ui-components/commit/4382a197a15e6c3704d9a7896414b881172eacd1))
|
|
7
|
+
|
|
8
|
+
### Fix
|
|
9
|
+
|
|
10
|
+
* retrigger a build ([ef6bf9e](https://code.tls.nuskin.io/ns-am/content-foundation/foundation-ui-components/commit/ef6bf9ed20556c5cbdf2f87dccc34ff85e544c9b))
|
|
11
|
+
|
|
1
12
|
# [1.0.0-cft-35.10](https://code.tls.nuskin.io/ns-am/content-foundation/foundation-ui-components/compare/v1.0.0-cft-35.9...v1.0.0-cft-35.10) (2023-04-25)
|
|
2
13
|
|
|
3
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/foundation-ui-components",
|
|
3
|
-
"version": "1.0.0-cft-35.
|
|
3
|
+
"version": "1.0.0-cft-35.11",
|
|
4
4
|
"description": "It is a foundation library written in react, that provides commom components to all UI pages",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "src/common/index.ts",
|
|
@@ -20,7 +20,7 @@ const NsBrandComponent = (props: PropsWithChildren<NsBrandComponentProps>) => {
|
|
|
20
20
|
const renderBrand = useCallback(() => {
|
|
21
21
|
const BrandComponent = VariantMap[variant || 'stacked'];
|
|
22
22
|
return <BrandComponent color={color as any} />;
|
|
23
|
-
}, [variant]);
|
|
23
|
+
}, [color, variant]);
|
|
24
24
|
return <LogoContainer size={size}>{renderBrand()}</LogoContainer>;
|
|
25
25
|
};
|
|
26
26
|
|
package/src/common/index.ts
CHANGED