@harpercollins/harpercollins-design-system 1.11.3 → 1.11.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.
@@ -22,7 +22,8 @@ interface AppBarProps {
22
22
  mobileMenuSecondary?: JSX.Element;
23
23
  user?: {
24
24
  displayName: string;
25
- };
25
+ avatarUrl: string;
26
+ } | null;
26
27
  }
27
28
  declare function AppBar({ apps, currentApp, leftSide, rightSide, myAccountMenu, workspaces, workspacesMenu, currentWorkspace, helpButton, mobileMenuPrimary, mobileMenuSecondary, user, }: AppBarProps): import("react/jsx-runtime").JSX.Element;
28
29
  export default AppBar;
package/dist/esm/index.js CHANGED
@@ -51,8 +51,8 @@ object-assign
51
51
  width: 1rem;
52
52
  height: 1rem;
53
53
  `,lg:Zt`
54
- width: 2rem;
55
- height: 2rem;
54
+ width: 1.8rem;
55
+ height: 1.8rem;
56
56
  `,xl:Zt`
57
57
  width: 3rem;
58
58
  height: 3rem;
@@ -600,7 +600,7 @@ function Ts(e,t){const n=Os(e,t);return"production"!==process.env.NODE_ENV?(...t
600
600
  background-color: var(--color--white);
601
601
  border-radius: 50%;
602
602
  }
603
- `;function fC({icon:t={status:"not_found",label:"Not found",colour:"neutral",icon:void 0,size:"md",spin:!1},chip:n={size:"md"}}){return e(uC,{title:t?.tooltip,children:e(cC,{size:n.size,color:t.colour,startDecorator:e(pC,{"aria-label":t.label,children:e(ki,{colour:t.colour,icon:t.icon,spin:t?.spin,size:t.size})}),sx:{padding:"0 var(--spacing--small) 0 0"},children:t.label})})}function mC(t){return e(wy,{...t})}function gC(t){return e(Ty,{...t})}function hC(t){return e(Uy,{...t})}const vC=nn.div`
603
+ `;function fC({icon:t={status:"not_found",label:"Not found",colour:"neutral",icon:void 0,size:"md",spin:!1},chip:n={size:"md"}}){return e(uC,{title:t?.tooltip,children:e(cC,{size:n.size,color:t.colour,startDecorator:e(pC,{children:e(ki,{colour:t.colour,icon:t.icon,spin:t?.spin,size:t.size})}),sx:{padding:"var(--spacing--xsmall) var(--spacing--small)"},children:t.label})})}function mC(t){return e(wy,{...t})}function gC(t){return e(Ty,{...t})}function hC(t){return e(Uy,{...t})}const vC=nn.div`
604
604
  background: var(--color--grey-lightest);
605
605
  text-align: center;
606
606
  display: flex;