@digital-ai/dot-components 1.5.1 → 1.5.2

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.
@@ -27,5 +27,7 @@ export interface AppToolbarProps extends CommonProps {
27
27
  mainMenuWidth?: number;
28
28
  /** Array of nav items to be displayed on the right side */
29
29
  navItems?: Array<IconButtonProps>;
30
+ /** URL of the page the primary logo link will go to */
31
+ primaryLogoHref?: string;
30
32
  }
31
- export declare const DotAppToolbar: ({ appName, appLogo, appLogoSmall, ariaLabel, avatar, borderColor, children, className, customLogo, "data-testid": dataTestId, dense, navItems, mainMenu, mainMenuItems, mainMenuWidth, }: AppToolbarProps) => JSX.Element;
33
+ export declare const DotAppToolbar: ({ appName, appLogo, appLogoSmall, ariaLabel, avatar, borderColor, children, className, customLogo, "data-testid": dataTestId, dense, navItems, mainMenu, mainMenuItems, mainMenuWidth, primaryLogoHref, }: AppToolbarProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import { AvatarColor } from './avatar/Avatar';
2
2
  export declare const calculateNumberFromText: (text: string) => number;
3
3
  export declare const getAvatarColorForInputText: (value: string) => AvatarColor;
4
+ export declare const isString: (str: unknown) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [