@canaia/ui-kit 0.0.12-alpha.56 → 0.0.12-alpha.58

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.
@@ -56124,14 +56124,16 @@ const mfA = ({
56124
56124
  const B = () => {
56125
56125
  i ? i() : e();
56126
56126
  }, u = g ? (() => {
56127
- const [f, Q] = g.split("."), h = parseInt(Q, 10) + 200;
56128
- return `${f}.${h}`;
56129
- })() : "assist.500", I = () => o == null ? null : typeof o == "string" ? /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", fontSize: "19px", lineHeight: "1.4", children: o }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: o }), d = () => a == null ? null : typeof a == "string" ? /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", fontSize: "19px", lineHeight: "1.4", mt: "30px", children: a }) : /* @__PURE__ */ E.jsx(CA, { mt: "30px", children: a });
56127
+ const [Q, h] = g.split("."), C = parseInt(h, 10) + 200;
56128
+ return `${Q}.${C}`;
56129
+ })() : "assist.500", I = () => {
56130
+ t ? t() : e();
56131
+ }, d = () => o == null ? null : typeof o == "string" ? /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", fontSize: "19px", lineHeight: "1.4", children: o }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: o }), f = () => a == null ? null : typeof a == "string" ? /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", fontSize: "19px", lineHeight: "1.4", mt: "30px", children: a }) : /* @__PURE__ */ E.jsx(CA, { mt: "30px", children: a });
56130
56132
  return /* @__PURE__ */ E.jsx(pt, { alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ E.jsxs(
56131
56133
  ri,
56132
56134
  {
56133
56135
  isOpen: A,
56134
- onClose: e,
56136
+ onClose: I,
56135
56137
  isCentered: !0,
56136
56138
  closeOnEsc: l,
56137
56139
  closeOnOverlayClick: c,
@@ -56166,8 +56168,8 @@ const mfA = ({
56166
56168
  ),
56167
56169
  /* @__PURE__ */ E.jsx($o, {}),
56168
56170
  /* @__PURE__ */ E.jsxs(ai, { mx: "auto", maxW: "620px", w: "100%", p: "0", textAlign: "center", mt: "2", children: [
56169
- I(),
56170
- d()
56171
+ d(),
56172
+ f()
56171
56173
  ] }),
56172
56174
  /* @__PURE__ */ E.jsxs(jA, { justifyContent: t ? "space-around" : "center", mt: "2", width: "90%", children: [
56173
56175
  t && n && /* @__PURE__ */ E.jsx(
@@ -1094,4 +1094,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1094
1094
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
1095
1095
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
1096
1096
  * Copyright 2024 Fonticons, Inc.
1097
- */const PIA={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"]},ZIA={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},JIA=A=>{const[e,t]=R.useState(!1),[n,i]=R.useState(!1),r=BM({base:!0,md:!1});R.useEffect(()=>{r!==void 0&&i(r)},[r]);const o=n?{top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"70vw",height:"70vh",borderRadius:"lg"}:{bottom:"5rem",right:"3rem",width:"360px",height:"500px",borderRadius:"lg"};return E.jsxs(E.Fragment,{children:[E.jsx(EuA,{onClick:()=>t(!0)}),E.jsx(CA,{position:"fixed",top:"0",left:"0",w:"100vw",h:"100vh",bg:"blackAlpha.600",zIndex:999,display:e&&n?"block":"none",onClick:()=>t(!1)}),E.jsxs(CA,{position:"fixed",bg:"white",boxShadow:"lg",overflow:"hidden",zIndex:1e3,transition:"all 0.2s",display:e?"block":"none",py:n?5:0,px:n?20:0,...o,children:[E.jsx(CA,{position:"absolute",top:"0.5rem",right:"0rem",display:"flex",gap:2,zIndex:1001,w:"100%",bg:"white",children:E.jsxs(zA,{alignItems:"center",justifyContent:"space-between",width:"100%",_after:{content:'""',position:"absolute",bottom:0,left:n?"7%":"5%",width:n?"86%":"93%",borderBottom:"1px solid",borderColor:"gray.200"},children:[E.jsx(CA,{children:E.jsx(DA,{fontFamily:"Sansation-Regular, sans-serif",fontSize:"17px",alignItems:"left",color:"primary.500",ml:n?"100px":8,children:"Pregunta a Canaia"})}),E.jsxs(CA,{mr:n?"72px":2,children:[E.jsx(at,{size:"sm","aria-label":n?"Colapsar":"Expandir",icon:E.jsx(z1,{icon:n?PIA:ZIA,style:{width:"1em",height:"1em"}}),onClick:()=>i(!n),variant:"ghost"}),E.jsx(at,{size:"sm","aria-label":"Cerrar chat",icon:E.jsx(Ga,{}),onClick:()=>t(!1),variant:"ghost"})]})]})}),E.jsx(BuA,{...A})]})]})};function YIA(A){return Ae({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Alert"},child:[{tag:"g",attr:{},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M12.5,9a.5.5,0,0,0-1,0h0V13.02a.5.5,0,0,0,1,0Z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"15.001",r:"0.5"},child:[]}]},{tag:"path",attr:{d:"M12,21.935A9.933,9.933,0,1,1,21.934,12,9.945,9.945,0,0,1,12,21.935ZM12,3.069A8.933,8.933,0,1,0,20.934,12,8.944,8.944,0,0,0,12,3.069Z"},child:[]}]}]}]})(A)}const zIA=({isOpen:A,onClose:e,onClickButton2:t,textButton2:n,onClickButton1:i,textButton1:r="Aceptar",description:o,description2:a,fontFamily:s="Sansation-Bold",closeOnEsc:l=!0,closeOnOverlayClick:c=!0,backgroundButton:g="assist.500"})=>{const B=()=>{i?i():e()},u=g?(()=>{const[f,Q]=g.split("."),h=parseInt(Q,10)+200;return`${f}.${h}`})():"assist.500",I=()=>o==null?null:typeof o=="string"?E.jsx(DA,{fontFamily:"Lato-Regular",fontSize:"19px",lineHeight:"1.4",children:o}):E.jsx(E.Fragment,{children:o}),d=()=>a==null?null:typeof a=="string"?E.jsx(DA,{fontFamily:"Lato-Regular",fontSize:"19px",lineHeight:"1.4",mt:"30px",children:a}):E.jsx(CA,{mt:"30px",children:a});return E.jsx(ft,{alignItems:"center",justifyContent:"center",children:E.jsxs(Hn,{isOpen:A,onClose:e,isCentered:!0,closeOnEsc:l,closeOnOverlayClick:c,children:[E.jsx(Jn,{opacity:.5,backgroundColor:"blackAlpha.600"}),E.jsxs(Gn,{bg:"white",maxW:"474px",w:"100%",color:"gray.800",borderRadius:"8px",px:"10",py:"5",justifyContent:"center",alignItems:"center",children:[E.jsxs(Zn,{display:"flex",alignItems:"center",justifyContent:"center",flexDir:"column",gap:"2",children:[E.jsx(CA,{as:"span",textAlign:"center",children:E.jsx(YIA,{size:40,color:"#DB071E",strokeWidth:.5})}),E.jsx(DA,{fontFamily:"Sansation-Bold",fontSize:"20px",color:"danger.400",children:"¡Atención!"})]}),E.jsx(Co,{}),E.jsxs(Pn,{mx:"auto",maxW:"620px",w:"100%",p:"0",textAlign:"center",mt:"2",children:[I(),d()]}),E.jsxs(zA,{justifyContent:t?"space-around":"center",mt:"2",width:"90%",children:[t&&n&&E.jsx(me,{mt:"6",mb:"2",px:"6",py:"5",variant:"outline",fontFamily:s,fontSize:"18px",color:"assist.500",borderColor:"assist.500",onClick:t,children:n}),E.jsx(me,{bg:"assist.500",color:"white",w:"fit-content",alignSelf:"center",mt:"6",mb:"2",px:"6",py:"5",height:"42px",fontFamily:s,fontSize:"18px",onClick:B,_hover:{bg:u,color:"white",borderColor:u},children:r})]})]})]})})},OIA=({width:A=24,height:e=24})=>E.jsxs("svg",{width:A,height:e,viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 12.5C4.5 11.3954 5.39543 10.5 6.5 10.5H42.5C43.6046 10.5 44.5 11.3954 44.5 12.5C44.5 13.6046 43.6046 14.5 42.5 14.5H6.5C5.39543 14.5 4.5 13.6046 4.5 12.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 6.5C19.9696 6.5 19.4609 6.71071 19.0858 7.08579C18.7107 7.46086 18.5 7.96957 18.5 8.5V12.5C18.5 13.6046 17.6046 14.5 16.5 14.5C15.3954 14.5 14.5 13.6046 14.5 12.5V8.5C14.5 6.9087 15.1321 5.38258 16.2574 4.25736C17.3826 3.13214 18.9087 2.5 20.5 2.5H28.5C30.0913 2.5 31.6174 3.13214 32.7426 4.25736C33.8679 5.38258 34.5 6.9087 34.5 8.5V12.5C34.5 13.6046 33.6046 14.5 32.5 14.5C31.3954 14.5 30.5 13.6046 30.5 12.5V8.5C30.5 7.96957 30.2893 7.46086 29.9142 7.08579C29.5391 6.71071 29.0304 6.5 28.5 6.5H20.5ZM10.5 10.5C11.6046 10.5 12.5 11.3954 12.5 12.5V40.5C12.5 41.0304 12.7107 41.5391 13.0858 41.9142C13.4609 42.2893 13.9696 42.5 14.5 42.5H34.5C35.0304 42.5 35.5391 42.2893 35.9142 41.9142C36.2893 41.5391 36.5 41.0304 36.5 40.5V12.5C36.5 11.3954 37.3954 10.5 38.5 10.5C39.6046 10.5 40.5 11.3954 40.5 12.5V40.5C40.5 42.0913 39.8679 43.6174 38.7426 44.7426C37.6174 45.8679 36.0913 46.5 34.5 46.5H14.5C12.9087 46.5 11.3826 45.8679 10.2574 44.7426C9.13214 43.6174 8.5 42.0913 8.5 40.5V12.5C8.5 11.3954 9.39543 10.5 10.5 10.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 20.5C21.6046 20.5 22.5 21.3954 22.5 22.5V34.5C22.5 35.6046 21.6046 36.5 20.5 36.5C19.3954 36.5 18.5 35.6046 18.5 34.5V22.5C18.5 21.3954 19.3954 20.5 20.5 20.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5 20.5C29.6046 20.5 30.5 21.3954 30.5 22.5V34.5C30.5 35.6046 29.6046 36.5 28.5 36.5C27.3954 36.5 26.5 35.6046 26.5 34.5V22.5C26.5 21.3954 27.3954 20.5 28.5 20.5Z",fill:"#21B06E"})]}),jIA=({isOpen:A,onClose:e=()=>{},text:t,textButton:n,backgroundButton:i="assist.500",hideCloseButton:r=!0,closeOnEsc:o=!0,closeOnOverlayClick:a=!0,onEliminateClick:s})=>{const l=i?(()=>{const[c,g]=i.split("."),B=parseInt(g,10)+200;return`${c}.${B}`})():"assist.500";return E.jsx(ft,{alignItems:"center",justifyContent:"center",children:E.jsxs(Hn,{isOpen:A,onClose:e,isCentered:!0,closeOnEsc:o,closeOnOverlayClick:a,children:[E.jsx(Jn,{}),E.jsxs(Gn,{backgroundColor:"white.100",maxWidth:"301px",width:"100%",height:"175px",color:"black.600",borderRadius:"15px",children:[E.jsx(Zn,{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",children:E.jsx(CA,{as:"span",textAlign:"center",children:E.jsx(OIA,{width:45,height:45})})}),E.jsx(Co,{hidden:r}),E.jsx(Pn,{margin:"0 auto",maxWidth:"310px",width:"100%",paddingBottom:"10px",mt:"-10px",children:E.jsx(DA,{fontFamily:"Lato",fontSize:"19px",mb:"8px",children:t})}),E.jsx(me,{backgroundColor:i,color:"white.100",height:"42px",maxWidth:"max-content",width:"102px",margin:"5px auto 30px",padding:"10px 24px",fontFamily:"Sansation-Bold",fontSize:"18px",borderRadius:"10px",onClick:s,_hover:{backgroundColor:l},children:n})]})]})})};mA.AccordionCustom=rtA,mA.AudioButtons=CtA,mA.BackNavigation=ktA,mA.Banner=WtA,mA.Button=Wj,mA.CanaiaProvider=aj,mA.CardCustom=EtA,mA.ChaHelpCanaia=JIA,mA.ChatAssistant=meA,mA.ChatInput=KeA,mA.ChatUser=JX,mA.ChatWithoutFeedback=btA,mA.CustomBox=BtA,mA.CustomCheckBox=MtA,mA.CustomProgressBar=gtA,mA.DragAndDrop=vX,mA.Header=_eA,mA.Input=WX,mA.InputPhone=PX,mA.MenuListCustom=otA,mA.MetricCustom=utA,mA.ModalCustom=qeA,mA.ModalDeleteFile=AtA,mA.ModalEliminatedSuccess=jIA,mA.ModalError=zIA,mA.ModalFeedback=ptA,mA.ModalInactivity=arA,mA.ModalPermission=lrA,mA.ModalPremium=ytA,mA.MultiHeaderAccordion=qiA,mA.MultiInput=ZX,mA.NegativeModal=xtA,mA.PhotoUpload=Gj,mA.PositiveModal=StA,mA.SegmentedControl=dtA,mA.Select=Bj,mA.SideBar=$eA,mA.SideBarCustom=rrA,mA.SingleChoice=HtA,mA.Spinner=ItA,mA.SpinnerLittle=crA,mA.StatusCustom=ctA,mA.Steps=Pj,mA.SwitchCustom=UtA,mA.Tabs=FtA,mA.TabsOptions=wtA,mA.TagSelector=RtA,mA.Text=NX,mA.TextareaCustom=atA,mA.Toast=_w,mA.useCustomToast=Pd,Object.defineProperty(mA,Symbol.toStringTag,{value:"Module"})});
1097
+ */const PIA={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"]},ZIA={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},JIA=A=>{const[e,t]=R.useState(!1),[n,i]=R.useState(!1),r=BM({base:!0,md:!1});R.useEffect(()=>{r!==void 0&&i(r)},[r]);const o=n?{top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"70vw",height:"70vh",borderRadius:"lg"}:{bottom:"5rem",right:"3rem",width:"360px",height:"500px",borderRadius:"lg"};return E.jsxs(E.Fragment,{children:[E.jsx(EuA,{onClick:()=>t(!0)}),E.jsx(CA,{position:"fixed",top:"0",left:"0",w:"100vw",h:"100vh",bg:"blackAlpha.600",zIndex:999,display:e&&n?"block":"none",onClick:()=>t(!1)}),E.jsxs(CA,{position:"fixed",bg:"white",boxShadow:"lg",overflow:"hidden",zIndex:1e3,transition:"all 0.2s",display:e?"block":"none",py:n?5:0,px:n?20:0,...o,children:[E.jsx(CA,{position:"absolute",top:"0.5rem",right:"0rem",display:"flex",gap:2,zIndex:1001,w:"100%",bg:"white",children:E.jsxs(zA,{alignItems:"center",justifyContent:"space-between",width:"100%",_after:{content:'""',position:"absolute",bottom:0,left:n?"7%":"5%",width:n?"86%":"93%",borderBottom:"1px solid",borderColor:"gray.200"},children:[E.jsx(CA,{children:E.jsx(DA,{fontFamily:"Sansation-Regular, sans-serif",fontSize:"17px",alignItems:"left",color:"primary.500",ml:n?"100px":8,children:"Pregunta a Canaia"})}),E.jsxs(CA,{mr:n?"72px":2,children:[E.jsx(at,{size:"sm","aria-label":n?"Colapsar":"Expandir",icon:E.jsx(z1,{icon:n?PIA:ZIA,style:{width:"1em",height:"1em"}}),onClick:()=>i(!n),variant:"ghost"}),E.jsx(at,{size:"sm","aria-label":"Cerrar chat",icon:E.jsx(Ga,{}),onClick:()=>t(!1),variant:"ghost"})]})]})}),E.jsx(BuA,{...A})]})]})};function YIA(A){return Ae({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Alert"},child:[{tag:"g",attr:{},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M12.5,9a.5.5,0,0,0-1,0h0V13.02a.5.5,0,0,0,1,0Z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"15.001",r:"0.5"},child:[]}]},{tag:"path",attr:{d:"M12,21.935A9.933,9.933,0,1,1,21.934,12,9.945,9.945,0,0,1,12,21.935ZM12,3.069A8.933,8.933,0,1,0,20.934,12,8.944,8.944,0,0,0,12,3.069Z"},child:[]}]}]}]})(A)}const zIA=({isOpen:A,onClose:e,onClickButton2:t,textButton2:n,onClickButton1:i,textButton1:r="Aceptar",description:o,description2:a,fontFamily:s="Sansation-Bold",closeOnEsc:l=!0,closeOnOverlayClick:c=!0,backgroundButton:g="assist.500"})=>{const B=()=>{i?i():e()},u=g?(()=>{const[Q,h]=g.split("."),C=parseInt(h,10)+200;return`${Q}.${C}`})():"assist.500",I=()=>{t?t():e()},d=()=>o==null?null:typeof o=="string"?E.jsx(DA,{fontFamily:"Lato-Regular",fontSize:"19px",lineHeight:"1.4",children:o}):E.jsx(E.Fragment,{children:o}),f=()=>a==null?null:typeof a=="string"?E.jsx(DA,{fontFamily:"Lato-Regular",fontSize:"19px",lineHeight:"1.4",mt:"30px",children:a}):E.jsx(CA,{mt:"30px",children:a});return E.jsx(ft,{alignItems:"center",justifyContent:"center",children:E.jsxs(Hn,{isOpen:A,onClose:I,isCentered:!0,closeOnEsc:l,closeOnOverlayClick:c,children:[E.jsx(Jn,{opacity:.5,backgroundColor:"blackAlpha.600"}),E.jsxs(Gn,{bg:"white",maxW:"474px",w:"100%",color:"gray.800",borderRadius:"8px",px:"10",py:"5",justifyContent:"center",alignItems:"center",children:[E.jsxs(Zn,{display:"flex",alignItems:"center",justifyContent:"center",flexDir:"column",gap:"2",children:[E.jsx(CA,{as:"span",textAlign:"center",children:E.jsx(YIA,{size:40,color:"#DB071E",strokeWidth:.5})}),E.jsx(DA,{fontFamily:"Sansation-Bold",fontSize:"20px",color:"danger.400",children:"¡Atención!"})]}),E.jsx(Co,{}),E.jsxs(Pn,{mx:"auto",maxW:"620px",w:"100%",p:"0",textAlign:"center",mt:"2",children:[d(),f()]}),E.jsxs(zA,{justifyContent:t?"space-around":"center",mt:"2",width:"90%",children:[t&&n&&E.jsx(me,{mt:"6",mb:"2",px:"6",py:"5",variant:"outline",fontFamily:s,fontSize:"18px",color:"assist.500",borderColor:"assist.500",onClick:t,children:n}),E.jsx(me,{bg:"assist.500",color:"white",w:"fit-content",alignSelf:"center",mt:"6",mb:"2",px:"6",py:"5",height:"42px",fontFamily:s,fontSize:"18px",onClick:B,_hover:{bg:u,color:"white",borderColor:u},children:r})]})]})]})})},OIA=({width:A=24,height:e=24})=>E.jsxs("svg",{width:A,height:e,viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 12.5C4.5 11.3954 5.39543 10.5 6.5 10.5H42.5C43.6046 10.5 44.5 11.3954 44.5 12.5C44.5 13.6046 43.6046 14.5 42.5 14.5H6.5C5.39543 14.5 4.5 13.6046 4.5 12.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 6.5C19.9696 6.5 19.4609 6.71071 19.0858 7.08579C18.7107 7.46086 18.5 7.96957 18.5 8.5V12.5C18.5 13.6046 17.6046 14.5 16.5 14.5C15.3954 14.5 14.5 13.6046 14.5 12.5V8.5C14.5 6.9087 15.1321 5.38258 16.2574 4.25736C17.3826 3.13214 18.9087 2.5 20.5 2.5H28.5C30.0913 2.5 31.6174 3.13214 32.7426 4.25736C33.8679 5.38258 34.5 6.9087 34.5 8.5V12.5C34.5 13.6046 33.6046 14.5 32.5 14.5C31.3954 14.5 30.5 13.6046 30.5 12.5V8.5C30.5 7.96957 30.2893 7.46086 29.9142 7.08579C29.5391 6.71071 29.0304 6.5 28.5 6.5H20.5ZM10.5 10.5C11.6046 10.5 12.5 11.3954 12.5 12.5V40.5C12.5 41.0304 12.7107 41.5391 13.0858 41.9142C13.4609 42.2893 13.9696 42.5 14.5 42.5H34.5C35.0304 42.5 35.5391 42.2893 35.9142 41.9142C36.2893 41.5391 36.5 41.0304 36.5 40.5V12.5C36.5 11.3954 37.3954 10.5 38.5 10.5C39.6046 10.5 40.5 11.3954 40.5 12.5V40.5C40.5 42.0913 39.8679 43.6174 38.7426 44.7426C37.6174 45.8679 36.0913 46.5 34.5 46.5H14.5C12.9087 46.5 11.3826 45.8679 10.2574 44.7426C9.13214 43.6174 8.5 42.0913 8.5 40.5V12.5C8.5 11.3954 9.39543 10.5 10.5 10.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 20.5C21.6046 20.5 22.5 21.3954 22.5 22.5V34.5C22.5 35.6046 21.6046 36.5 20.5 36.5C19.3954 36.5 18.5 35.6046 18.5 34.5V22.5C18.5 21.3954 19.3954 20.5 20.5 20.5Z",fill:"#21B06E"}),E.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.5 20.5C29.6046 20.5 30.5 21.3954 30.5 22.5V34.5C30.5 35.6046 29.6046 36.5 28.5 36.5C27.3954 36.5 26.5 35.6046 26.5 34.5V22.5C26.5 21.3954 27.3954 20.5 28.5 20.5Z",fill:"#21B06E"})]}),jIA=({isOpen:A,onClose:e=()=>{},text:t,textButton:n,backgroundButton:i="assist.500",hideCloseButton:r=!0,closeOnEsc:o=!0,closeOnOverlayClick:a=!0,onEliminateClick:s})=>{const l=i?(()=>{const[c,g]=i.split("."),B=parseInt(g,10)+200;return`${c}.${B}`})():"assist.500";return E.jsx(ft,{alignItems:"center",justifyContent:"center",children:E.jsxs(Hn,{isOpen:A,onClose:e,isCentered:!0,closeOnEsc:o,closeOnOverlayClick:a,children:[E.jsx(Jn,{}),E.jsxs(Gn,{backgroundColor:"white.100",maxWidth:"301px",width:"100%",height:"175px",color:"black.600",borderRadius:"15px",children:[E.jsx(Zn,{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",children:E.jsx(CA,{as:"span",textAlign:"center",children:E.jsx(OIA,{width:45,height:45})})}),E.jsx(Co,{hidden:r}),E.jsx(Pn,{margin:"0 auto",maxWidth:"310px",width:"100%",paddingBottom:"10px",mt:"-10px",children:E.jsx(DA,{fontFamily:"Lato",fontSize:"19px",mb:"8px",children:t})}),E.jsx(me,{backgroundColor:i,color:"white.100",height:"42px",maxWidth:"max-content",width:"102px",margin:"5px auto 30px",padding:"10px 24px",fontFamily:"Sansation-Bold",fontSize:"18px",borderRadius:"10px",onClick:s,_hover:{backgroundColor:l},children:n})]})]})})};mA.AccordionCustom=rtA,mA.AudioButtons=CtA,mA.BackNavigation=ktA,mA.Banner=WtA,mA.Button=Wj,mA.CanaiaProvider=aj,mA.CardCustom=EtA,mA.ChaHelpCanaia=JIA,mA.ChatAssistant=meA,mA.ChatInput=KeA,mA.ChatUser=JX,mA.ChatWithoutFeedback=btA,mA.CustomBox=BtA,mA.CustomCheckBox=MtA,mA.CustomProgressBar=gtA,mA.DragAndDrop=vX,mA.Header=_eA,mA.Input=WX,mA.InputPhone=PX,mA.MenuListCustom=otA,mA.MetricCustom=utA,mA.ModalCustom=qeA,mA.ModalDeleteFile=AtA,mA.ModalEliminatedSuccess=jIA,mA.ModalError=zIA,mA.ModalFeedback=ptA,mA.ModalInactivity=arA,mA.ModalPermission=lrA,mA.ModalPremium=ytA,mA.MultiHeaderAccordion=qiA,mA.MultiInput=ZX,mA.NegativeModal=xtA,mA.PhotoUpload=Gj,mA.PositiveModal=StA,mA.SegmentedControl=dtA,mA.Select=Bj,mA.SideBar=$eA,mA.SideBarCustom=rrA,mA.SingleChoice=HtA,mA.Spinner=ItA,mA.SpinnerLittle=crA,mA.StatusCustom=ctA,mA.Steps=Pj,mA.SwitchCustom=UtA,mA.Tabs=FtA,mA.TabsOptions=wtA,mA.TagSelector=RtA,mA.Text=NX,mA.TextareaCustom=atA,mA.Toast=_w,mA.useCustomToast=Pd,Object.defineProperty(mA,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.12-alpha.56",
3
+ "version": "0.0.12-alpha.58",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",