@czi-sds/components 22.15.0 → 22.16.0
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.cjs.d.ts +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.cjs.d.ts
CHANGED
|
@@ -1807,7 +1807,7 @@ interface NavigationFooterProps {
|
|
|
1807
1807
|
navLinks?: NavigationFooterNavItem[];
|
|
1808
1808
|
tag?: string;
|
|
1809
1809
|
tagColor?: TagProps["tagColor"];
|
|
1810
|
-
title
|
|
1810
|
+
title?: string;
|
|
1811
1811
|
}
|
|
1812
1812
|
interface NavItemProps {
|
|
1813
1813
|
item: NavigationFooterNavItem;
|
|
@@ -1929,7 +1929,7 @@ interface NavigationHeaderProps<T extends string = string> extends Omit<AppBarPr
|
|
|
1929
1929
|
showSearch?: boolean;
|
|
1930
1930
|
tag?: string;
|
|
1931
1931
|
tagColor?: SdsTagColorType;
|
|
1932
|
-
title
|
|
1932
|
+
title?: string;
|
|
1933
1933
|
drawerOpen?: boolean;
|
|
1934
1934
|
setDrawerOpen?: (open: boolean) => void;
|
|
1935
1935
|
menuProps?: Partial<MenuProps$0>;
|
package/dist/index.cjs.js
CHANGED
|
@@ -14990,7 +14990,7 @@ function NavigationFooter(_a) {
|
|
|
14990
14990
|
return (jsxRuntime.jsx(MobileLinkRow, { links: navLinks, hasInvertedStyle: hasInvertedStyle }));
|
|
14991
14991
|
}, [navLinks, dimensions.isNarrow, hasInvertedStyle]);
|
|
14992
14992
|
var logoNode = React.useMemo(function () {
|
|
14993
|
-
var node = (jsxRuntime.jsxs(StyledLogoWrapper$1, { isNarrow: dimensions.isNarrow, hasInvertedStyle: hasInvertedStyle, children: [logo, jsxRuntime.jsx("p", { children: title }), tag && jsxRuntime.jsx(Tag, { tagColor: tagColor, label: tag, hover: false })] }));
|
|
14993
|
+
var node = (jsxRuntime.jsxs(StyledLogoWrapper$1, { isNarrow: dimensions.isNarrow, hasInvertedStyle: hasInvertedStyle, children: [logo, title && jsxRuntime.jsx("p", { children: title }), tag && jsxRuntime.jsx(Tag, { tagColor: tagColor, label: tag, hover: false })] }));
|
|
14994
14994
|
return logoUrl ? (jsxRuntime.jsx(Link, __assign({ href: logoUrl, component: logoComponent }, logoLinkProps, { children: node }))) : (node);
|
|
14995
14995
|
}, [
|
|
14996
14996
|
dimensions.isNarrow,
|
|
@@ -15818,7 +15818,7 @@ function AccordionNavItem(props) {
|
|
|
15818
15818
|
if (href) {
|
|
15819
15819
|
onClose();
|
|
15820
15820
|
}
|
|
15821
|
-
}, component: componentProp, href: href, target: target, rel: rel, children: actionLabel }, "action-".concat(section || "default", "-").concat(index)));
|
|
15821
|
+
}, component: componentProp, hasInvertedStyle: hasInvertedStyle, href: href, target: target, rel: rel, children: actionLabel }, "action-".concat(section || "default", "-").concat(index)));
|
|
15822
15822
|
}) }))] }, "section-".concat(section || "default")));
|
|
15823
15823
|
}) })] }, accordionId));
|
|
15824
15824
|
}
|
package/dist/index.esm.d.ts
CHANGED
|
@@ -1807,7 +1807,7 @@ interface NavigationFooterProps {
|
|
|
1807
1807
|
navLinks?: NavigationFooterNavItem[];
|
|
1808
1808
|
tag?: string;
|
|
1809
1809
|
tagColor?: TagProps["tagColor"];
|
|
1810
|
-
title
|
|
1810
|
+
title?: string;
|
|
1811
1811
|
}
|
|
1812
1812
|
interface NavItemProps {
|
|
1813
1813
|
item: NavigationFooterNavItem;
|
|
@@ -1929,7 +1929,7 @@ interface NavigationHeaderProps<T extends string = string> extends Omit<AppBarPr
|
|
|
1929
1929
|
showSearch?: boolean;
|
|
1930
1930
|
tag?: string;
|
|
1931
1931
|
tagColor?: SdsTagColorType;
|
|
1932
|
-
title
|
|
1932
|
+
title?: string;
|
|
1933
1933
|
drawerOpen?: boolean;
|
|
1934
1934
|
setDrawerOpen?: (open: boolean) => void;
|
|
1935
1935
|
menuProps?: Partial<MenuProps$0>;
|
package/dist/index.esm.js
CHANGED
|
@@ -14967,7 +14967,7 @@ function NavigationFooter(_a) {
|
|
|
14967
14967
|
return (jsx(MobileLinkRow, { links: navLinks, hasInvertedStyle: hasInvertedStyle }));
|
|
14968
14968
|
}, [navLinks, dimensions.isNarrow, hasInvertedStyle]);
|
|
14969
14969
|
var logoNode = useMemo(function () {
|
|
14970
|
-
var node = (jsxs(StyledLogoWrapper$1, { isNarrow: dimensions.isNarrow, hasInvertedStyle: hasInvertedStyle, children: [logo, jsx("p", { children: title }), tag && jsx(Tag, { tagColor: tagColor, label: tag, hover: false })] }));
|
|
14970
|
+
var node = (jsxs(StyledLogoWrapper$1, { isNarrow: dimensions.isNarrow, hasInvertedStyle: hasInvertedStyle, children: [logo, title && jsx("p", { children: title }), tag && jsx(Tag, { tagColor: tagColor, label: tag, hover: false })] }));
|
|
14971
14971
|
return logoUrl ? (jsx(Link, __assign({ href: logoUrl, component: logoComponent }, logoLinkProps, { children: node }))) : (node);
|
|
14972
14972
|
}, [
|
|
14973
14973
|
dimensions.isNarrow,
|
|
@@ -15795,7 +15795,7 @@ function AccordionNavItem(props) {
|
|
|
15795
15795
|
if (href) {
|
|
15796
15796
|
onClose();
|
|
15797
15797
|
}
|
|
15798
|
-
}, component: componentProp, href: href, target: target, rel: rel, children: actionLabel }, "action-".concat(section || "default", "-").concat(index)));
|
|
15798
|
+
}, component: componentProp, hasInvertedStyle: hasInvertedStyle, href: href, target: target, rel: rel, children: actionLabel }, "action-".concat(section || "default", "-").concat(index)));
|
|
15799
15799
|
}) }))] }, "section-".concat(section || "default")));
|
|
15800
15800
|
}) })] }, accordionId));
|
|
15801
15801
|
}
|