@bikdotai/bik-component-library 0.0.257 → 0.0.258

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.
@@ -11,5 +11,11 @@ export interface BikLayoutProps {
11
11
  onClickingCrossOnFeatureModal?: () => void;
12
12
  onUpgrade?: () => void;
13
13
  extraContentForModal?: JSX.Element;
14
+ featureModalProps?: {
15
+ title?: string;
16
+ subTitle?: string;
17
+ showBookADemo?: boolean;
18
+ demoLink?: string;
19
+ };
14
20
  }
15
21
  export declare const BikLayout: React.FC<BikLayoutProps>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./CommonStyles.js"),a=require("./FeatureModal.js"),i=require("./PageLoader.js");exports.BikLayout=n=>{const{isLoading:s,isFeatureModalEnabled:o=!1,isDisabled:t=!1,loadingAnimation:d,hidePadding:l=!1,height:u,children:c,containerStyles:g,onClickingCrossOnFeatureModal:j,onUpgrade:h,extraContentForModal:p}=n;return s?e.jsx(r.BikLayoutContainer,{children:d||e.jsx(i.PageLoader,{})}):e.jsx(e.Fragment,{children:e.jsxs(r.BikLayoutContainer,{children:[e.jsx("div",{className:""+(t?"disabled--wrapper":"")}),e.jsx("div",Object.assign({className:""+(l?"inner-wrapper":"inner-wrapper pd-24"),style:Object.assign({height:`${u||""}`},null!=g?g:{})},{children:c})),o&&e.jsx(a.FeatureModal,{showBookADemo:!0,onClickingCross:()=>j?j():"",onUpgrade:h,otherContent:p})]})})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./CommonStyles.js"),a=require("./FeatureModal.js"),i=require("./PageLoader.js");exports.BikLayout=n=>{const{isLoading:s,isFeatureModalEnabled:o=!1,isDisabled:t=!1,loadingAnimation:d,hidePadding:l=!1,height:u,children:c,containerStyles:g,onClickingCrossOnFeatureModal:j,onUpgrade:p,extraContentForModal:h,featureModalProps:x}=n;return s?e.jsx(r.BikLayoutContainer,{children:d||e.jsx(i.PageLoader,{})}):e.jsx(e.Fragment,{children:e.jsxs(r.BikLayoutContainer,{children:[e.jsx("div",{className:""+(t?"disabled--wrapper":"")}),e.jsx("div",Object.assign({className:""+(l?"inner-wrapper":"inner-wrapper pd-24"),style:Object.assign({height:`${u||""}`},null!=g?g:{})},{children:c})),o&&e.jsx(a.FeatureModal,Object.assign({showBookADemo:!0,onClickingCross:()=>j?j():"",onUpgrade:p},x,{otherContent:h}))]})})};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Menus: ({
2
3
  displayName: string;
3
4
  key: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const WorkingStepper: () => JSX.Element;
2
3
  export declare enum STEPENUM {
3
4
  STEP1 = "STEP1",
@@ -11,5 +11,11 @@ export interface BikLayoutProps {
11
11
  onClickingCrossOnFeatureModal?: () => void;
12
12
  onUpgrade?: () => void;
13
13
  extraContentForModal?: JSX.Element;
14
+ featureModalProps?: {
15
+ title?: string;
16
+ subTitle?: string;
17
+ showBookADemo?: boolean;
18
+ demoLink?: string;
19
+ };
14
20
  }
15
21
  export declare const BikLayout: React.FC<BikLayoutProps>;
@@ -1 +1 @@
1
- import{jsx as e,Fragment as r,jsxs as n}from"react/jsx-runtime";import{BikLayoutContainer as o}from"./CommonStyles.js";import{FeatureModal as i}from"./FeatureModal.js";import{PageLoader as a}from"./PageLoader.js";const t=t=>{const{isLoading:s,isFeatureModalEnabled:d=!1,isDisabled:l=!1,loadingAnimation:c,hidePadding:m=!1,height:p,children:g,containerStyles:h,onClickingCrossOnFeatureModal:C,onUpgrade:j,extraContentForModal:u}=t;return s?e(o,{children:c||e(a,{})}):e(r,{children:n(o,{children:[e("div",{className:""+(l?"disabled--wrapper":"")}),e("div",Object.assign({className:""+(m?"inner-wrapper":"inner-wrapper pd-24"),style:Object.assign({height:`${p||""}`},null!=h?h:{})},{children:g})),d&&e(i,{showBookADemo:!0,onClickingCross:()=>C?C():"",onUpgrade:j,otherContent:u})]})})};export{t as BikLayout};
1
+ import{jsx as e,Fragment as r,jsxs as o}from"react/jsx-runtime";import{BikLayoutContainer as n}from"./CommonStyles.js";import{FeatureModal as i}from"./FeatureModal.js";import{PageLoader as a}from"./PageLoader.js";const s=s=>{const{isLoading:t,isFeatureModalEnabled:d=!1,isDisabled:l=!1,loadingAnimation:c,hidePadding:m=!1,height:p,children:g,containerStyles:h,onClickingCrossOnFeatureModal:j,onUpgrade:u,extraContentForModal:C,featureModalProps:b}=s;return t?e(n,{children:c||e(a,{})}):e(r,{children:o(n,{children:[e("div",{className:""+(l?"disabled--wrapper":"")}),e("div",Object.assign({className:""+(m?"inner-wrapper":"inner-wrapper pd-24"),style:Object.assign({height:`${p||""}`},null!=h?h:{})},{children:g})),d&&e(i,Object.assign({showBookADemo:!0,onClickingCross:()=>j?j():"",onUpgrade:u},b,{otherContent:C}))]})})};export{s as BikLayout};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Menus: ({
2
3
  displayName: string;
3
4
  key: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const WorkingStepper: () => JSX.Element;
2
3
  export declare enum STEPENUM {
3
4
  STEP1 = "STEP1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.257",
3
+ "version": "0.0.258",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",