@harpercollins/harpercollins-design-system 1.18.0 → 1.19.1

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.
@@ -26,6 +26,8 @@ interface AppBarProps {
26
26
  avatarUrl: string;
27
27
  } | null;
28
28
  logoUrl?: string;
29
+ logo?: JSX.Element;
30
+ logoMini?: JSX.Element;
29
31
  }
30
- declare function AppBar({ currentApp, isNavigating, navigatingProgressDelay, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, mobileMenuPrimaryContent, mobileMenuSecondaryContent, user, logoUrl, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
32
+ declare function AppBar({ currentApp, isNavigating, navigatingProgressDelay, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, mobileMenuPrimaryContent, mobileMenuSecondaryContent, user, logoUrl, logo, logoMini, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
31
33
  export default AppBar;
@@ -1,6 +1,7 @@
1
1
  interface FooterProps {
2
2
  copyright?: string;
3
+ releaseName?: string;
3
4
  children?: React.ReactNode;
4
5
  }
5
- declare function Footer({ copyright, children }: FooterProps): React.ReactElement;
6
+ declare function Footer({ copyright, releaseName, children, }: FooterProps): React.ReactElement;
6
7
  export default Footer;
@@ -10,6 +10,7 @@ interface LayoutProps {
10
10
  sidebarWidth?: number;
11
11
  collapsedSidebarWidth?: number;
12
12
  sidebarHeaderContent?: React.ReactNode;
13
+ footerReleaseName?: string;
13
14
  }
14
- declare function Layout({ children, header, theme, showSidebar, sidebarContent, sidebarWidth, collapsedSidebarWidth, sidebarHeaderContent, }: React.PropsWithChildren<LayoutProps>): import("react/jsx-runtime").JSX.Element;
15
+ declare function Layout({ children, header, theme, showSidebar, sidebarContent, sidebarWidth, collapsedSidebarWidth, sidebarHeaderContent, footerReleaseName, }: React.PropsWithChildren<LayoutProps>): import("react/jsx-runtime").JSX.Element;
15
16
  export default Layout;
package/dist/index.d.ts CHANGED
@@ -52,8 +52,10 @@ interface AppBarProps {
52
52
  avatarUrl: string;
53
53
  } | null;
54
54
  logoUrl?: string;
55
+ logo?: JSX.Element;
56
+ logoMini?: JSX.Element;
55
57
  }
56
- declare function AppBar({ currentApp, isNavigating, navigatingProgressDelay, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, mobileMenuPrimaryContent, mobileMenuSecondaryContent, user, logoUrl, }: AppBarProps): react_jsx_runtime.JSX.Element;
58
+ declare function AppBar({ currentApp, isNavigating, navigatingProgressDelay, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, mobileMenuPrimaryContent, mobileMenuSecondaryContent, user, logoUrl, logo, logoMini, }: AppBarProps): react_jsx_runtime.JSX.Element;
57
59
 
58
60
  interface BaseOption {
59
61
  label: string;
@@ -210,8 +212,9 @@ interface LayoutProps {
210
212
  sidebarWidth?: number;
211
213
  collapsedSidebarWidth?: number;
212
214
  sidebarHeaderContent?: React$1.ReactNode;
215
+ footerReleaseName?: string;
213
216
  }
214
- declare function Layout({ children, header, theme, showSidebar, sidebarContent, sidebarWidth, collapsedSidebarWidth, sidebarHeaderContent, }: React$1.PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
217
+ declare function Layout({ children, header, theme, showSidebar, sidebarContent, sidebarWidth, collapsedSidebarWidth, sidebarHeaderContent, footerReleaseName, }: React$1.PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
215
218
 
216
219
  declare function List(props: ListProps): react_jsx_runtime.JSX.Element;
217
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harpercollins/harpercollins-design-system",
3
- "version": "1.18.0",
3
+ "version": "1.19.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@ssh.dev.azure.com:v3/HarperCollinsUK/HCDesignSystem/HCDesignSystem"