@bikdotai/bik-component-library 0.0.213 → 0.0.214

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
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../assets/icons/arrow_left.svg.js"),s=require("../TypographyStyle.js"),i=require("./CommonStyles.js");exports.BikHeader=t=>{const{header:n,subHeader:a,hideBackButton:c=!0,rightActionButton:l,onClickingBackButton:o}=t;return e.jsxs(i.BikHeaderContainer,{children:[e.jsxs("div",Object.assign({className:"row--flex left-container"},{children:[!c&&e.jsx(r.default,{className:"cursor",height:24,width:24,onClick:o}),e.jsxs("div",{children:[a?e.jsx(s.BodyCaption,Object.assign({className:"brand"},{children:n})):e.jsx(s.TitleMedium,{children:n}),e.jsx(s.TitleRegular,{children:a})]})]})),e.jsx("div",Object.assign({className:"row--flex right-container"},{children:l}))]})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../assets/icons/arrow_left.svg.js"),s=require("../TypographyStyle.js"),i=require("./CommonStyles.js");exports.BikHeader=t=>{const{header:a,subHeader:n,hideBackButton:c=!0,rightActionButton:l,onClickingBackButton:d,secondaryHeader:o}=t;return e.jsxs(i.BikHeaderWrapper,{children:[e.jsxs(i.BikHeaderContainer,{children:[e.jsxs("div",Object.assign({className:"row--flex left-container"},{children:[!c&&e.jsx(r.default,{className:"cursor",height:24,width:24,onClick:d}),e.jsxs("div",{children:[n?e.jsx(s.BodyCaption,Object.assign({className:"brand"},{children:a})):e.jsx(s.TitleMedium,{children:a}),e.jsx(s.TitleRegular,{children:n})]})]})),e.jsx("div",Object.assign({className:"row--flex right-container"},{children:l}))]}),null!=o?o:e.jsx(e.Fragment,{})]})};
@@ -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;