@czi-sds/components 22.15.1 → 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.
@@ -1807,7 +1807,7 @@ interface NavigationFooterProps {
1807
1807
  navLinks?: NavigationFooterNavItem[];
1808
1808
  tag?: string;
1809
1809
  tagColor?: TagProps["tagColor"];
1810
- title: string;
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: string;
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,
@@ -1807,7 +1807,7 @@ interface NavigationFooterProps {
1807
1807
  navLinks?: NavigationFooterNavItem[];
1808
1808
  tag?: string;
1809
1809
  tagColor?: TagProps["tagColor"];
1810
- title: string;
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: string;
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,