@bikdotai/bik-component-library 0.0.359 → 0.0.360-beta
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.
- package/dist/cjs/components/bik-layout/BikLayout.d.ts +2 -0
- package/dist/cjs/components/bik-layout/BikLayout.js +1 -1
- package/dist/cjs/components/bik-layout/CommonStyles.d.ts +4 -0
- package/dist/cjs/components/bik-layout/CommonStyles.js +1 -1
- package/dist/cjs/components/bik-layout/FeatureModalV2.d.ts +12 -0
- package/dist/cjs/components/bik-layout/FeatureModalV2.js +1 -0
- package/dist/cjs/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/cjs/components/bik-layout/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/bik-layout/BikLayout.d.ts +2 -0
- package/dist/esm/components/bik-layout/BikLayout.js +1 -1
- package/dist/esm/components/bik-layout/CommonStyles.d.ts +4 -0
- package/dist/esm/components/bik-layout/CommonStyles.js +1 -1
- package/dist/esm/components/bik-layout/FeatureModalV2.d.ts +12 -0
- package/dist/esm/components/bik-layout/FeatureModalV2.js +1 -0
- package/dist/esm/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/esm/components/bik-layout/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
|
@@ -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"),s=require("./PageLoader.js");exports.BikLayout=
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./CommonStyles.js"),a=require("./FeatureModal.js"),s=require("./FeatureModalV2.js"),n=require("./PageLoader.js");exports.BikLayout=t=>{const{isLoading:i,isFeatureModalEnabled:o=!1,isDisabled:d=!1,loadingAnimation:l,hidePadding:u=!1,height:c,children:j,containerStyles:g,onClickingCrossOnFeatureModal:p,onUpgrade:h,extraContentForModal:x,featureModalProps:C,type:F,useFeautureModalV2:M}=t;return i?e.jsx(r.BikLayoutContainer,{children:l||e.jsx(n.PageLoader,{})}):e.jsx(e.Fragment,{children:e.jsxs(r.BikLayoutContainer,Object.assign({type:F},{children:[e.jsx("div",{className:""+(d?"disabled--wrapper":"")}),e.jsx("div",Object.assign({className:""+(u?"inner-wrapper":"inner-wrapper pd-24"),style:Object.assign({height:`${c||""}`},null!=g?g:{})},{children:j})),o&&e.jsx(e.Fragment,{children:M?e.jsx(s.FeatureModalV2,Object.assign({onUpgrade:h},C,{otherContent:x})):e.jsx(a.FeatureModal,Object.assign({showBookADemo:!0,onClickingCross:()=>p?p():"",onUpgrade:h},C,{otherContent:x}))})]}))})};
|
|
@@ -103,3 +103,7 @@ export declare const RelativeModalContainer: import("@emotion/styled").StyledCom
|
|
|
103
103
|
theme?: import("@emotion/react").Theme | undefined;
|
|
104
104
|
as?: import("react").ElementType<any> | undefined;
|
|
105
105
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
106
|
+
export declare const FeatureModalV2Container: import("@emotion/styled").StyledComponent<{
|
|
107
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
108
|
+
as?: import("react").ElementType<any> | undefined;
|
|
109
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|