@bikdotai/bik-component-library 0.0.440-0 → 0.0.440-2

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.
@@ -10,7 +10,7 @@ export declare const AccessTokenTroubleshootDialog: React.FC<{
10
10
  title: string;
11
11
  TitleIcon?: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
12
12
  desc: string;
13
- primaryButton: ButtonProps;
13
+ primaryButton: ButtonProps | undefined;
14
14
  isModalOpen: boolean;
15
15
  stepsDetails?: StepsDetails[];
16
16
  titleIconColor?: string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/alert.svg.js"),s=require("../../constants/Theme.js"),n=require("../modals/styledModal.js"),l=require("../TypographyStyle.js"),o=require("./AccessTokenTroubleshootDialog.styles.js");const r=t=>{let{info:s,hideBullet:n,last:r}=t;return e.jsxs(o.EachStep,Object.assign({last:r},{children:[!n&&e.jsx(o.BulletWrapper,{children:e.jsx(o.Bullet,{})}),e.jsx(l.BodyCaption,{children:s})]}))};exports.AccessTokenTroubleshootDialog=i=>{let{onCancel:a,titleIconContainerStyles:c,isModalOpen:d,title:h,desc:j,primaryButton:u,TitleIcon:y,stepsDetails:x,titleIconColor:p,content:g}=i;return e.jsxs(n.StyledModal,Object.assign({open:!!d,primaryButton:Object.assign({},u),secondaryButton:{buttonText:"Cancel",onClick:a,buttonType:"tertiaryGray"},onClose:a},{children:[e.jsxs(o.Header,{children:[e.jsx(o.IconContainer,Object.assign({style:Object.assign({},c)},{children:y?e.jsx(y,{width:18,height:18,color:p}):e.jsx(t.default,{width:18,height:18,color:s.COLORS.content.negative})})),e.jsx(l.TitleMedium,{children:h})]}),e.jsx(o.Description,{children:e.jsx(l.BodySecondary,{dangerouslySetInnerHTML:{__html:j}})}),e.jsxs(o.StepsContainer,{children:[e.jsx(l.TitleSmall,{children:"Follow the steps:"}),x&&!!x.length&&x.map(((t,s)=>e.jsx(r,{info:t.info,hideBullet:t.hideBullet,last:x.length-1===s},s))),g&&e.jsx(l.BodySecondary,{dangerouslySetInnerHTML:{__html:g}})]})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../assets/icons/alert.svg.js"),s=require("../../constants/Theme.js"),n=require("../modals/styledModal.js"),l=require("../TypographyStyle.js"),r=require("./AccessTokenTroubleshootDialog.styles.js");const o=t=>{let{info:s,hideBullet:n,last:o}=t;return e.jsxs(r.EachStep,Object.assign({last:o},{children:[!n&&e.jsx(r.BulletWrapper,{children:e.jsx(r.Bullet,{})}),e.jsx(l.BodyCaption,{children:s})]}))};exports.AccessTokenTroubleshootDialog=i=>{let{onCancel:a,titleIconContainerStyles:c,isModalOpen:d,title:h,desc:j,primaryButton:u,TitleIcon:y,stepsDetails:x,titleIconColor:p,content:g}=i;return e.jsxs(n.StyledModal,Object.assign({open:!!d,primaryButton:u?Object.assign({},u):void 0,secondaryButton:{buttonText:"Cancel",onClick:a,buttonType:"tertiaryGray"},onClose:a},{children:[e.jsxs(r.Header,{children:[e.jsx(r.IconContainer,Object.assign({style:Object.assign({},c)},{children:y?e.jsx(y,{width:18,height:18,color:p}):e.jsx(t.default,{width:18,height:18,color:s.COLORS.content.negative})})),e.jsx(l.TitleMedium,{children:h})]}),e.jsx(r.Description,{children:e.jsx(l.BodySecondary,{dangerouslySetInnerHTML:{__html:j}})}),e.jsxs(r.StepsContainer,{children:[x&&!!x.length&&e.jsxs(e.Fragment,{children:[e.jsx(l.TitleSmall,{children:"Follow the steps:"}),x.map(((t,s)=>e.jsx(o,{info:t.info,hideBullet:t.hideBullet,last:x.length-1===s},s)))]}),g&&e.jsx(l.BodySecondary,{dangerouslySetInnerHTML:{__html:g}})]})]}))};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Menus: ({
2
3
  displayName: string;
3
4
  key: number;
@@ -10,7 +10,7 @@ export declare const AccessTokenTroubleshootDialog: React.FC<{
10
10
  title: string;
11
11
  TitleIcon?: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
12
12
  desc: string;
13
- primaryButton: ButtonProps;
13
+ primaryButton: ButtonProps | undefined;
14
14
  isModalOpen: boolean;
15
15
  stepsDetails?: StepsDetails[];
16
16
  titleIconColor?: string;
@@ -1 +1 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import n from"../../assets/icons/alert.svg.js";import{COLORS as o}from"../../constants/Theme.js";import{StyledModal as l}from"../modals/styledModal.js";import{TitleMedium as r,BodySecondary as s,TitleSmall as i,BodyCaption as c}from"../TypographyStyle.js";import{Header as a,IconContainer as h,Description as d,StepsContainer as m,EachStep as p,BulletWrapper as g,Bullet as y}from"./AccessTokenTroubleshootDialog.styles.js";const u=n=>{let{info:o,hideBullet:l,last:r}=n;return t(p,Object.assign({last:r},{children:[!l&&e(g,{children:e(y,{})}),e(c,{children:o})]}))},j=c=>{let{onCancel:p,titleIconContainerStyles:g,isModalOpen:y,title:j,desc:f,primaryButton:T,TitleIcon:b,stepsDetails:B,titleIconColor:C,content:O}=c;return t(l,Object.assign({open:!!y,primaryButton:Object.assign({},T),secondaryButton:{buttonText:"Cancel",onClick:p,buttonType:"tertiaryGray"},onClose:p},{children:[t(a,{children:[e(h,Object.assign({style:Object.assign({},g)},{children:b?e(b,{width:18,height:18,color:C}):e(n,{width:18,height:18,color:o.content.negative})})),e(r,{children:j})]}),e(d,{children:e(s,{dangerouslySetInnerHTML:{__html:f}})}),t(m,{children:[e(i,{children:"Follow the steps:"}),B&&!!B.length&&B.map(((t,n)=>e(u,{info:t.info,hideBullet:t.hideBullet,last:B.length-1===n},n))),O&&e(s,{dangerouslySetInnerHTML:{__html:O}})]})]}))};export{j as AccessTokenTroubleshootDialog};
1
+ import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import o from"../../assets/icons/alert.svg.js";import{COLORS as l}from"../../constants/Theme.js";import{StyledModal as r}from"../modals/styledModal.js";import{TitleMedium as i,BodySecondary as s,TitleSmall as c,BodyCaption as a}from"../TypographyStyle.js";import{Header as h,IconContainer as d,Description as m,StepsContainer as p,EachStep as g,BulletWrapper as y,Bullet as u}from"./AccessTokenTroubleshootDialog.styles.js";const j=n=>{let{info:o,hideBullet:l,last:r}=n;return t(g,Object.assign({last:r},{children:[!l&&e(y,{children:e(u,{})}),e(a,{children:o})]}))},f=a=>{let{onCancel:g,titleIconContainerStyles:y,isModalOpen:u,title:f,desc:T,primaryButton:b,TitleIcon:B,stepsDetails:C,titleIconColor:O,content:I}=a;return t(r,Object.assign({open:!!u,primaryButton:b?Object.assign({},b):void 0,secondaryButton:{buttonText:"Cancel",onClick:g,buttonType:"tertiaryGray"},onClose:g},{children:[t(h,{children:[e(d,Object.assign({style:Object.assign({},y)},{children:B?e(B,{width:18,height:18,color:O}):e(o,{width:18,height:18,color:l.content.negative})})),e(i,{children:f})]}),e(m,{children:e(s,{dangerouslySetInnerHTML:{__html:T}})}),t(p,{children:[C&&!!C.length&&t(n,{children:[e(c,{children:"Follow the steps:"}),C.map(((t,n)=>e(j,{info:t.info,hideBullet:t.hideBullet,last:C.length-1===n},n)))]}),I&&e(s,{dangerouslySetInnerHTML:{__html:I}})]})]}))};export{f as AccessTokenTroubleshootDialog};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Menus: ({
2
3
  displayName: string;
3
4
  key: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.440-0",
3
+ "version": "0.0.440-2",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",