@zealicsolutions/web-ui 0.1.48 → 0.1.49

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.
@@ -6,6 +6,7 @@ declare type ImportantLink = {
6
6
  href: string;
7
7
  };
8
8
  export declare type HeaderAProps<T = string> = {
9
+ className?: string;
9
10
  links?: ImportantLink[];
10
11
  logoUrl: string;
11
12
  tabsProps: TabGroupProps;
@@ -14,5 +15,5 @@ export declare type HeaderAProps<T = string> = {
14
15
  buttonLink: string;
15
16
  isMobile?: boolean;
16
17
  };
17
- export declare const HeaderA: <T extends string | number>({ logoUrl, links, onActionButtonClick, tabsProps, buttonText, isMobile, buttonLink, }: HeaderAProps<T>) => JSX.Element;
18
+ export declare const HeaderA: <T extends string | number>({ logoUrl, links, onActionButtonClick, tabsProps, buttonText, isMobile, className, buttonLink, }: HeaderAProps<T>) => JSX.Element;
18
19
  export {};
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { HeaderAProps } from 'organisms/Header/HeaderA';
3
- export declare type HeaderBProps<T = string> = Pick<HeaderAProps<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink'>;
4
- export declare const HeaderB: <T extends string | number>({ logoUrl, onActionButtonClick, buttonText, isMobile, tabsProps, buttonLink, }: HeaderBProps<T>) => JSX.Element;
3
+ export declare type HeaderBProps<T = string> = Pick<HeaderAProps<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
4
+ export declare const HeaderB: <T extends string | number>({ logoUrl, onActionButtonClick, buttonText, isMobile, tabsProps, className, buttonLink, }: HeaderBProps<T>) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { HeaderAProps } from 'organisms/Header/HeaderA';
3
- export declare type HeaderCProps<T> = Pick<HeaderAProps<T>, 'logoUrl' | 'tabsProps' | 'isMobile'>;
4
- export declare const HeaderC: <T extends string | number>({ logoUrl, tabsProps, isMobile, }: HeaderCProps<T>) => JSX.Element;
3
+ export declare type HeaderCProps<T> = Pick<HeaderAProps<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
4
+ export declare const HeaderC: <T extends string | number>({ logoUrl, tabsProps, isMobile, className, }: HeaderCProps<T>) => JSX.Element;
@@ -3,5 +3,5 @@ import { AvatarDropdownProps } from 'molecules';
3
3
  import { HeaderAProps } from 'organisms/Header/HeaderA';
4
4
  export declare type HeaderDProps = {
5
5
  withAvatar: AvatarDropdownProps<string>;
6
- } & Pick<HeaderAProps, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps'>;
7
- export declare const HeaderD: ({ tabsProps, logoUrl, links, withAvatar, isMobile }: HeaderDProps) => JSX.Element;
6
+ } & Pick<HeaderAProps, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
7
+ export declare const HeaderD: ({ tabsProps, logoUrl, links, withAvatar, isMobile, className, }: HeaderDProps) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -681,6 +681,7 @@ declare type ImportantLink = {
681
681
  href: string;
682
682
  };
683
683
  declare type HeaderAProps<T = string> = {
684
+ className?: string;
684
685
  links?: ImportantLink[];
685
686
  logoUrl: string;
686
687
  tabsProps: TabGroupProps$1;
@@ -690,13 +691,13 @@ declare type HeaderAProps<T = string> = {
690
691
  isMobile?: boolean;
691
692
  };
692
693
 
693
- declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink'>;
694
+ declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
694
695
 
695
- declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile'>;
696
+ declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
696
697
 
697
698
  declare type HeaderDProps = {
698
699
  withAvatar: AvatarDropdownProps$1<string>;
699
- } & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps'>;
700
+ } & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
700
701
 
701
702
  declare type HeaderProps<T = string> = (HeaderAProps<T> & {
702
703
  type: 'header_a';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"