uikit-react-public 0.29.2 → 0.29.5
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/dist/index.js +6 -3
- package/lib/components/HeaderNew/HeaderTitle.tsx +2 -2
- package/lib/components/HeaderNew/__tests__/__snapshots__/Header.test.tsx.snap +2 -2
- package/lib/components/Label/Label.tsx +6 -1
- package/lib/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16932,7 +16932,10 @@ const D3 = (e, t) => {
|
|
|
16932
16932
|
...a,
|
|
16933
16933
|
children: [
|
|
16934
16934
|
l,
|
|
16935
|
-
o && /* @__PURE__ */
|
|
16935
|
+
o && /* @__PURE__ */ m(De, { children: [
|
|
16936
|
+
" ",
|
|
16937
|
+
/* @__PURE__ */ n("span", { className: S, children: "(optional)" })
|
|
16938
|
+
] })
|
|
16936
16939
|
]
|
|
16937
16940
|
}
|
|
16938
16941
|
);
|
|
@@ -21889,7 +21892,7 @@ const si = "ucl-uikit-header__menu-container", ww = ({
|
|
|
21889
21892
|
font-feature-settings: ${l.typography.heading.lg.md.fontSettings};
|
|
21890
21893
|
font-size: ${l.typography.heading.xs.md.fontSize}px;
|
|
21891
21894
|
font-weight: ${l.typography.heading.xs.md.fontWeight};
|
|
21892
|
-
line-height: ${l.typography.heading.xs.md.lineHeight}
|
|
21895
|
+
line-height: ${l.typography.heading.xs.md.lineHeight}%;
|
|
21893
21896
|
white-space: nowrap;
|
|
21894
21897
|
overflow: hidden;
|
|
21895
21898
|
text-overflow: ellipsis;
|
|
@@ -21898,7 +21901,7 @@ const si = "ucl-uikit-header__menu-container", ww = ({
|
|
|
21898
21901
|
margin: 0 ${l.margin.m20};
|
|
21899
21902
|
font-size: ${l.typography.heading.lg.md.fontSize}px;
|
|
21900
21903
|
font-weight: ${l.typography.heading.lg.md.fontWeight};
|
|
21901
|
-
line-height: ${l.typography.heading.lg.md.lineHeight}
|
|
21904
|
+
line-height: ${l.typography.heading.lg.md.lineHeight}%;
|
|
21902
21905
|
}
|
|
21903
21906
|
`, c = k(di, a, r);
|
|
21904
21907
|
return /* @__PURE__ */ n(
|
|
@@ -29,7 +29,7 @@ const HeaderTitle = ({
|
|
|
29
29
|
font-feature-settings: ${theme.typography.heading.lg.md.fontSettings};
|
|
30
30
|
font-size: ${theme.typography.heading.xs.md.fontSize}px;
|
|
31
31
|
font-weight: ${theme.typography.heading.xs.md.fontWeight};
|
|
32
|
-
line-height: ${theme.typography.heading.xs.md.lineHeight}
|
|
32
|
+
line-height: ${theme.typography.heading.xs.md.lineHeight}%;
|
|
33
33
|
white-space: nowrap;
|
|
34
34
|
overflow: hidden;
|
|
35
35
|
text-overflow: ellipsis;
|
|
@@ -38,7 +38,7 @@ const HeaderTitle = ({
|
|
|
38
38
|
margin: 0 ${theme.margin.m20};
|
|
39
39
|
font-size: ${theme.typography.heading.lg.md.fontSize}px;
|
|
40
40
|
font-weight: ${theme.typography.heading.lg.md.fontWeight};
|
|
41
|
-
line-height: ${theme.typography.heading.lg.md.lineHeight}
|
|
41
|
+
line-height: ${theme.typography.heading.lg.md.lineHeight}%;
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
44
|
|
|
@@ -31,7 +31,7 @@ exports[`Header > snapshot: variant=avatar 1`] = `
|
|
|
31
31
|
/>
|
|
32
32
|
</svg>
|
|
33
33
|
<div
|
|
34
|
-
class="ucl-uikit-header__title css-
|
|
34
|
+
class="ucl-uikit-header__title css-559ctg"
|
|
35
35
|
data-test="ucl-uikit-header__title"
|
|
36
36
|
>
|
|
37
37
|
LIDS
|
|
@@ -70,7 +70,7 @@ exports[`Header > snapshot: variant=breadcrumbs 1`] = `
|
|
|
70
70
|
/>
|
|
71
71
|
</svg>
|
|
72
72
|
<div
|
|
73
|
-
class="ucl-uikit-header__title css-
|
|
73
|
+
class="ucl-uikit-header__title css-559ctg"
|
|
74
74
|
data-test="ucl-uikit-header__title"
|
|
75
75
|
>
|
|
76
76
|
LIDS
|
|
@@ -88,7 +88,12 @@ const Label = forwardRef<Ref, LabelProps>(
|
|
|
88
88
|
{...props}
|
|
89
89
|
>
|
|
90
90
|
{children}
|
|
91
|
-
{optional &&
|
|
91
|
+
{optional && (
|
|
92
|
+
<>
|
|
93
|
+
{' '}
|
|
94
|
+
<span className={optionalStyle}>(optional)</span>
|
|
95
|
+
</>
|
|
96
|
+
)}
|
|
92
97
|
</label>
|
|
93
98
|
);
|
|
94
99
|
}
|