@bikdotai/bik-component-library 0.0.219 → 0.0.220

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.
@@ -5,5 +5,6 @@ export interface HeaderProps {
5
5
  hideBackButton?: boolean;
6
6
  rightActionButton?: JSX.Element;
7
7
  onClickingBackButton?: () => void;
8
+ secondaryHeader?: JSX.Element;
8
9
  }
9
10
  export declare const BikHeader: React.FC<HeaderProps>;
@@ -1 +1 @@
1
- import{jsxs as r,jsx as e}from"react/jsx-runtime";import t from"../../assets/icons/arrow_left.svg.js";import{BodyCaption as i,TitleMedium as n,TitleRegular as s}from"../TypographyStyle.js";import{BikHeaderContainer as o}from"./CommonStyles.js";const c=c=>{const{header:a,subHeader:l,hideBackButton:d=!0,rightActionButton:h,onClickingBackButton:m}=c;return r(o,{children:[r("div",Object.assign({className:"row--flex left-container"},{children:[!d&&e(t,{className:"cursor",height:24,width:24,onClick:m}),r("div",{children:[l?e(i,Object.assign({className:"brand"},{children:a})):e(n,{children:a}),e(s,{children:l})]})]})),e("div",Object.assign({className:"row--flex right-container"},{children:h}))]})};export{c as BikHeader};
1
+ import{jsxs as e,jsx as r,Fragment as i}from"react/jsx-runtime";import n from"../../assets/icons/arrow_left.svg.js";import{BodyCaption as t,TitleMedium as s,TitleRegular as c}from"../TypographyStyle.js";import{BikHeaderWrapper as o,BikHeaderContainer as a}from"./CommonStyles.js";const l=l=>{const{header:d,subHeader:h,hideBackButton:m=!0,rightActionButton:g,onClickingBackButton:f,secondaryHeader:u}=l;return e(o,{children:[e(a,{children:[e("div",Object.assign({className:"row--flex left-container"},{children:[!m&&r(n,{className:"cursor",height:24,width:24,onClick:f}),e("div",{children:[h?r(t,Object.assign({className:"brand"},{children:d})):r(s,{children:d}),r(c,{children:h})]})]})),r("div",Object.assign({className:"row--flex right-container"},{children:g}))]}),null!=u?u:r(i,{})]})};export{l as BikHeader};
@@ -15,6 +15,10 @@ export declare const BikLayoutContainer: import("@emotion/styled").StyledCompone
15
15
  theme?: import("@emotion/react").Theme | undefined;
16
16
  as?: import("react").ElementType<any> | undefined;
17
17
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ export declare const BikHeaderWrapper: import("@emotion/styled").StyledComponent<{
19
+ theme?: import("@emotion/react").Theme | undefined;
20
+ as?: import("react").ElementType<any> | undefined;
21
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
22
  export declare const BikHeaderContainer: import("@emotion/styled").StyledComponent<{
19
23
  theme?: import("@emotion/react").Theme | undefined;
20
24
  as?: import("react").ElementType<any> | undefined;