@nuskin/foundation-ui-components 1.22.1 → 1.22.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/package.json
CHANGED
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
ColorUtils,
|
|
10
|
+
styled,
|
|
11
|
+
} from '@nuskin/foundation-theme';
|
|
9
12
|
|
|
10
13
|
import { NsLink } from '../link';
|
|
11
14
|
import { NsTypography } from '../typography';
|
|
@@ -42,7 +45,7 @@ const NsTextStrip = (props: NsTextStripProps) => {
|
|
|
42
45
|
className={`${className} items-${alignment} justify-center min-h-16 flex flex-col gap-1`}
|
|
43
46
|
>
|
|
44
47
|
{link?.title ? (
|
|
45
|
-
<NsTypography weight="bold" variant="label-m" className="text-strip-title whitespace-
|
|
48
|
+
<NsTypography weight="bold" variant="label-m" className="text-strip-title whitespace-nowrap" noSpacing>
|
|
46
49
|
<span title={link?.title}>{link?.title}</span>
|
|
47
50
|
</NsTypography>
|
|
48
51
|
) : null}
|