anima-ds-nucleus 1.0.118 → 1.0.119

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.
@@ -873,7 +873,7 @@ PNG de máximo 2Mb`,uploadButtonText:_,uploadButtonOnClick:k,logoError:j="",logo
873
873
  outline: none !important;
874
874
  -webkit-tap-highlight-color: transparent;
875
875
  }
876
- `}),i.jsxs("div",{className:`anima-empresa__title-container ${P}`,style:{width:"100%",padding:`24px ${kt} 4px`,boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"12px",flexWrap:"wrap",...G||{}},children:[e?i.jsx(ue,{variant:"rectangular",height:24,width:"40%"}):et?i.jsx($,{variant:"body-md",className:o,style:{fontFamily:F,fontWeight:500,fontSize:"16px",lineHeight:"30px",letterSpacing:"0%",textTransform:"uppercase",color:"var(--color-cyan-19)",margin:0,...n||{}},children:et}):null,!e&&s&&nt&&i.jsxs("div",{ref:Fe,style:{position:"relative",display:"inline-block"},children:[i.jsx("button",{type:"button",className:"anima-empresa__status-badge-btn",onClick:()=>Mt(!yt),style:{border:"none",background:"none",padding:0,cursor:"pointer",display:"inline-block"},"aria-expanded":yt,"aria-haspopup":"listbox","aria-label":ie("empresa.form.status.aria",{defaultValue:`Estado: ${nt}. Clic para cambiar`,status:nt}),children:i.jsx(la,{variant:ht,size:"medium",endIcon:c??i.jsx(N,{name:"ChevronDownIcon",variant:"20-solid",size:16,style:{color:Wl[ht]??Wl.primary}}),children:nt})}),yt&&f.length>0&&i.jsx("div",{style:{position:"absolute",top:"100%",right:0,marginTop:"4px",zIndex:1e3,boxShadow:"0 4px 12px rgba(0,0,0,0.15)",borderRadius:"12px"},children:i.jsx(R1,{items:f,value:ot,onChange:ze=>{u?.(ze),Mt(!1)},name:"empresa-status"})})]})]}),i.jsx("div",{className:`anima-empresa__content ${pe}`,style:{width:"100%",flex:1,minWidth:0,padding:`16px ${kt} 24px`,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:it,...xe||{}},children:e?i.jsxs(i.Fragment,{children:[i.jsxs("div",{style:{display:"grid",gridTemplateColumns:Rt?"1fr":"1fr 1fr",gap:it},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:140}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:160}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:100}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:80}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:12,marginTop:8},children:[i.jsx(ue,{variant:"rectangular",height:48,width:120,style:{borderRadius:8}}),i.jsx(ue,{variant:"rectangular",height:48,width:91,style:{borderRadius:8}})]})]}):i.jsxs("form",{onSubmit:Ke,style:{display:"flex",flexDirection:"column",gap:it,width:"100%",minWidth:0},children:[i.jsxs("div",{style:{display:"grid",gridTemplateColumns:Rt?"1fr":"minmax(0, 1fr) minmax(0, 1fr)",gap:it,alignItems:"stretch",width:"100%",minWidth:0},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:it,minWidth:0,overflow:"hidden"},children:[i.jsx(Ft,{label:g??ie("empresa.form.tradeName.label",{defaultValue:"Nombre de fantasía"}),value:w,onChange:b,placeholder:v??ie("empresa.form.tradeName.placeholder",{defaultValue:"Ej. Nucleus S.A."}),error:x,required:y,showRequiredIndicator:!1}),i.jsxs("div",{style:Rt?void 0:{marginTop:"62px",flex:j?"0 0 auto":"1 1 0",minWidth:0,width:"100%",alignSelf:j?"flex-start":"stretch",overflow:j?"visible":"hidden",display:"flex",flexDirection:"column"},children:[i.jsx(L0,{isNarrow:Rt,marcaActualTitle:E??ie("empresa.form.brandCurrent.title",{defaultValue:"Marca actual"}),marcaActualImage:C,marcaActualImageAlt:M,marcaActualNucleusText:A,formatoText:S,uploadButtonText:_??ie("empresa.form.uploadImage",{defaultValue:"Subir imagen"}),uploadButtonOnClick:k,containerStyle:Rt?void 0:{minWidth:0,maxWidth:"100%",...j?{minHeight:0,paddingBottom:0}:{flex:1}}}),j&&i.jsxs("div",{className:"anima-empresa__logoErrorBox",style:{marginTop:12,padding:"12px 16px",gap:4,borderRadius:8,border:"1px solid #B30808",backgroundColor:"#F8DBDB",display:"flex",flexDirection:"column"},children:[i.jsx($,{component:"span",style:{fontFamily:qe,fontWeight:400,fontStyle:"normal",fontSize:14,lineHeight:"21px",letterSpacing:"0.02em",color:"#B30808",margin:0},children:typeof j=="string"&&j?j:ie("empresa.form.logoError.title",{defaultValue:Hee})}),Z?i.jsx($,{component:"span",style:{fontFamily:qe,fontWeight:400,fontStyle:"normal",fontSize:14,lineHeight:"21px",letterSpacing:"0.02em",color:"#B30808",margin:0},children:Z??ie("empresa.form.logoError.subtitle",{defaultValue:Nee})}):null]})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:it,minWidth:0},children:[i.jsx(oa,{label:D??ie("empresa.form.identificationType.label",{defaultValue:"Tipo de identificación"}),options:B,value:O,onChange:I,placeholder:T,error:z,disabled:V}),i.jsx(Ft,{label:W??ie("empresa.form.taxId.label",{defaultValue:"ID tributario"}),value:oe,onChange:ne,placeholder:X??ie("empresa.form.taxId.placeholder",{defaultValue:"Identificación tributaria de su país"}),error:J,disabled:le,required:Q,showRequiredIndicator:Q}),i.jsx(Ft,{label:te??ie("empresa.form.legalName.label",{defaultValue:"Razón social"}),value:ee,onChange:H,placeholder:U??ie("empresa.form.legalName.placeholder",{defaultValue:"Ej. Nucleus Corporate Group"}),error:ge,required:Y,showRequiredIndicator:Y}),i.jsx(oa,{label:de??ie("empresa.form.country.label",{defaultValue:"País"}),options:re,value:se,onChange:fe,placeholder:we,error:ve,required:be,showRequiredIndicator:be,disabled:Oe})]})]}),i.jsx("div",{style:{display:"flex",gap:"12px",justifyContent:"flex-end",alignItems:"center",marginTop:"8px",flexWrap:"wrap"},children:i.jsxs("div",{style:{display:"flex",gap:"12px",alignItems:"center",flexWrap:"wrap"},children:[Be&&i.jsx(ke,{type:"button",variant:"outline",text:Qe??ie("empresa.form.discard",{defaultValue:"Descartar"}),onClick:Be,fullWidth:!1,style:{marginLeft:0}}),i.jsx(ke,{type:"submit",text:at??ie("empresa.form.save",{defaultValue:"Guardar"}),disabled:mt,fullWidth:!1,style:{marginLeft:0}})]})})]})})]})},Ul="var(--color-main-800, #29474C)",Wee="#B30808",Uee="#F8DBDB",Gee="1px solid var(--color-grey-90, #E5E5E5)",qee=({title:a="",onClose:e,message:t,children:n,primaryButtonText:o="",onPrimaryClick:l,secondaryButtonText:s="",onSecondaryClick:c,className:d="",style:h={},headerStyle:u={},contentStyle:f={},footerStyle:m={},withOverlay:p=!1,overlayStyle:g={},overlayClassName:w="",overlayCloseOnClick:b=!1,onOverlayClick:v,...x})=>{const y=t!=null&&t!==""||n!=null,E=i.jsxs("article",{className:`anima-article ${d}`,style:{width:"100%",maxWidth:566,borderRadius:16,overflow:"hidden",opacity:1,backgroundColor:"#FFFFFF",border:"1px solid var(--color-grey-90, #E5E5E5)",boxShadow:"0 20px 50px rgba(0, 0, 0, 0.2)",...h},onClick:C=>{C.stopPropagation()},...x,children:[i.jsxs("div",{className:"anima-article__header",style:{paddingTop:24,paddingRight:24,paddingBottom:20,paddingLeft:24,display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,minHeight:60,boxSizing:"border-box",...u},children:[i.jsx($,{variant:"h6",weight:"regular",component:"div",style:{fontFamily:F,fontWeight:400,fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",color:Ul,margin:0,flex:1,minWidth:0},children:a}),e&&i.jsx("button",{type:"button",onClick:e,"aria-label":"Cerrar",style:{border:"none",background:"none",padding:0,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:i.jsx(N,{name:"XMarkIcon",variant:"24-outline",size:24})})]}),y&&i.jsxs("div",{className:"anima-article__content",style:{paddingTop:12,paddingRight:24,paddingLeft:24,paddingBottom:24,display:"flex",flexDirection:"row",alignItems:"flex-start",gap:20,borderRadius:16,boxSizing:"border-box",...f},children:[t!=null&&t!==""&&i.jsx("div",{style:{width:40,height:40,padding:8,borderRadius:12,background:Uee,boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:i.jsx(N,{name:"ExclamationTriangleIcon",variant:"24-outline",size:24,style:{color:Wee}})}),i.jsx("div",{style:{flex:1,minWidth:0},children:t!=null&&t!==""&&!n?i.jsx($,{variant:"body-lg",style:{fontFamily:F,fontWeight:400,fontSize:"16px",lineHeight:"24px",letterSpacing:0,color:Ul,margin:0},children:t}):n})]}),i.jsx("div",{className:"anima-article__footer",style:{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",justifyContent:"flex-end",gap:20,padding:20,borderTop:Gee,boxSizing:"border-box",minHeight:80,...m},children:i.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:20,flexShrink:0},children:[s&&i.jsx(ke,{variant:"outline",text:s,onClick:c,type:"button"}),o&&i.jsx(ke,{variant:"primary",text:o,onClick:l,type:"button"})]})})]});return p?i.jsx("div",{className:`anima-article__overlay ${w}`.trim(),style:{position:"fixed",inset:0,background:"rgba(0, 0, 0, 0.35)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:10001,padding:"16px",boxSizing:"border-box",...g},onClick:C=>{C.target===C.currentTarget&&b&&(v?.(C),e?.())},children:E}):E},k5=({className:a="",width:e,height:t,style:n={},...o})=>{const l={borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column",overflow:"hidden",boxSizing:"border-box",...e!=null&&{width:typeof e=="number"?`${e}px`:e},...t!=null&&{height:typeof t=="number"?`${t}px`:t},...t==null&&{minHeight:"476px"},...n};return i.jsxs("div",{className:`bg-white w-full ${a}`,style:l,...o,children:[i.jsx("style",{children:`
876
+ `}),i.jsxs("div",{className:`anima-empresa__title-container ${P}`,style:{width:"100%",padding:`24px ${kt} 4px`,boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"12px",flexWrap:"wrap",...G||{}},children:[e?i.jsx(ue,{variant:"rectangular",height:24,width:"40%"}):et?i.jsx($,{variant:"body-md",className:o,style:{fontFamily:F,fontWeight:500,fontSize:"16px",lineHeight:"30px",letterSpacing:"0%",textTransform:"uppercase",color:"var(--color-cyan-19)",margin:0,...n||{}},children:et}):null,!e&&s&&nt&&i.jsxs("div",{ref:Fe,style:{position:"relative",display:"inline-block"},children:[i.jsx("button",{type:"button",className:"anima-empresa__status-badge-btn",onClick:()=>Mt(!yt),style:{border:"none",background:"none",padding:0,cursor:"pointer",display:"inline-block"},"aria-expanded":yt,"aria-haspopup":"listbox","aria-label":ie("empresa.form.status.aria",{defaultValue:`Estado: ${nt}. Clic para cambiar`,status:nt}),children:i.jsx(la,{variant:ht,size:"medium",endIcon:c??i.jsx(N,{name:"ChevronDownIcon",variant:"20-solid",size:16,style:{color:Wl[ht]??Wl.primary}}),children:nt})}),yt&&f.length>0&&i.jsx("div",{style:{position:"absolute",top:"100%",right:0,marginTop:"4px",zIndex:1e3,boxShadow:"0 4px 12px rgba(0,0,0,0.15)",borderRadius:"12px"},children:i.jsx(R1,{items:f,value:ot,onChange:ze=>{u?.(ze),Mt(!1)},name:"empresa-status"})})]})]}),i.jsx("div",{className:`anima-empresa__content ${pe}`,style:{width:"100%",flex:1,minWidth:0,padding:`16px ${kt} 24px`,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:it,...xe||{}},children:e?i.jsxs(i.Fragment,{children:[i.jsxs("div",{style:{display:"grid",gridTemplateColumns:Rt?"1fr":"1fr 1fr",gap:it},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:140}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:160}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:100}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[i.jsx(ue,{variant:"rectangular",height:21,width:80}),i.jsx(ue,{variant:"rectangular",height:42,width:"100%"})]}),i.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",gap:12,marginTop:8},children:[i.jsx(ue,{variant:"rectangular",height:48,width:120,style:{borderRadius:8}}),i.jsx(ue,{variant:"rectangular",height:48,width:91,style:{borderRadius:8}})]})]}):i.jsxs("form",{onSubmit:Ke,style:{display:"flex",flexDirection:"column",gap:it,width:"100%",minWidth:0},children:[i.jsxs("div",{style:{display:"grid",gridTemplateColumns:Rt?"1fr":"minmax(0, 1fr) minmax(0, 1fr)",gap:it,alignItems:"stretch",width:"100%",minWidth:0},children:[i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:it,minWidth:0,overflow:"hidden"},children:[i.jsx(Ft,{label:g??ie("empresa.form.tradeName.label",{defaultValue:"Nombre de fantasía"}),value:w,onChange:b,placeholder:v??ie("empresa.form.tradeName.placeholder",{defaultValue:"Ej. Nucleus S.A."}),error:x,required:y,showRequiredIndicator:!1}),i.jsxs("div",{style:Rt?void 0:{marginTop:"62px",flex:j?"0 0 auto":"1 1 0",minWidth:0,width:"100%",alignSelf:j?"flex-start":"stretch",overflow:j?"visible":"hidden",display:"flex",flexDirection:"column"},children:[i.jsx(L0,{isNarrow:Rt,marcaActualTitle:E??ie("empresa.form.brandCurrent.title",{defaultValue:"Marca actual"}),marcaActualImage:C,marcaActualImageAlt:M,marcaActualNucleusText:A,formatoText:S,uploadButtonText:_??ie("empresa.form.uploadImage",{defaultValue:"Subir imagen"}),uploadButtonOnClick:k,containerStyle:Rt?void 0:{minWidth:0,maxWidth:"100%",...j?{minHeight:0,paddingBottom:0}:{flex:1}}}),j&&i.jsxs("div",{className:"anima-empresa__logoErrorBox",style:{marginTop:12,padding:"12px 16px",gap:4,borderRadius:8,border:"1px solid #B30808",backgroundColor:"#F8DBDB",display:"flex",flexDirection:"column"},children:[i.jsx($,{component:"span",style:{fontFamily:qe,fontWeight:400,fontStyle:"normal",fontSize:14,lineHeight:"21px",letterSpacing:"0.02em",color:"#B30808",margin:0},children:typeof j=="string"&&j?j:ie("empresa.form.logoError.title",{defaultValue:Hee})}),Z?i.jsx($,{component:"span",style:{fontFamily:qe,fontWeight:400,fontStyle:"normal",fontSize:14,lineHeight:"21px",letterSpacing:"0.02em",color:"#B30808",margin:0},children:Z??ie("empresa.form.logoError.subtitle",{defaultValue:Nee})}):null]})]})]}),i.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:it,minWidth:0},children:[i.jsx(oa,{label:de??ie("empresa.form.country.label",{defaultValue:"País"}),options:re,value:se,onChange:fe,placeholder:we,error:ve,required:be,showRequiredIndicator:be,disabled:Oe}),i.jsx(oa,{label:D??ie("empresa.form.identificationType.label",{defaultValue:"Tipo de identificación"}),options:B,value:O,onChange:I,placeholder:T,error:z,disabled:V}),i.jsx(Ft,{label:W??ie("empresa.form.taxId.label",{defaultValue:"ID tributario"}),value:oe,onChange:ne,placeholder:X??ie("empresa.form.taxId.placeholder",{defaultValue:"Identificación tributaria de su país"}),error:J,disabled:le,required:Q,showRequiredIndicator:Q}),i.jsx(Ft,{label:te??ie("empresa.form.legalName.label",{defaultValue:"Razón social"}),value:ee,onChange:H,placeholder:U??ie("empresa.form.legalName.placeholder",{defaultValue:"Ej. Nucleus Corporate Group"}),error:ge,required:Y,showRequiredIndicator:Y})]})]}),i.jsx("div",{style:{display:"flex",gap:"12px",justifyContent:"flex-end",alignItems:"center",marginTop:"8px",flexWrap:"wrap"},children:i.jsxs("div",{style:{display:"flex",gap:"12px",alignItems:"center",flexWrap:"wrap"},children:[Be&&i.jsx(ke,{type:"button",variant:"outline",text:Qe??ie("empresa.form.discard",{defaultValue:"Descartar"}),onClick:Be,fullWidth:!1,style:{marginLeft:0}}),i.jsx(ke,{type:"submit",text:at??ie("empresa.form.save",{defaultValue:"Guardar"}),disabled:mt,fullWidth:!1,style:{marginLeft:0}})]})})]})})]})},Ul="var(--color-main-800, #29474C)",Wee="#B30808",Uee="#F8DBDB",Gee="1px solid var(--color-grey-90, #E5E5E5)",qee=({title:a="",onClose:e,message:t,children:n,primaryButtonText:o="",onPrimaryClick:l,secondaryButtonText:s="",onSecondaryClick:c,className:d="",style:h={},headerStyle:u={},contentStyle:f={},footerStyle:m={},withOverlay:p=!1,overlayStyle:g={},overlayClassName:w="",overlayCloseOnClick:b=!1,onOverlayClick:v,...x})=>{const y=t!=null&&t!==""||n!=null,E=i.jsxs("article",{className:`anima-article ${d}`,style:{width:"100%",maxWidth:566,borderRadius:16,overflow:"hidden",opacity:1,backgroundColor:"#FFFFFF",border:"1px solid var(--color-grey-90, #E5E5E5)",boxShadow:"0 20px 50px rgba(0, 0, 0, 0.2)",...h},onClick:C=>{C.stopPropagation()},...x,children:[i.jsxs("div",{className:"anima-article__header",style:{paddingTop:24,paddingRight:24,paddingBottom:20,paddingLeft:24,display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,minHeight:60,boxSizing:"border-box",...u},children:[i.jsx($,{variant:"h6",weight:"regular",component:"div",style:{fontFamily:F,fontWeight:400,fontSize:"20px",lineHeight:"30px",letterSpacing:"0%",color:Ul,margin:0,flex:1,minWidth:0},children:a}),e&&i.jsx("button",{type:"button",onClick:e,"aria-label":"Cerrar",style:{border:"none",background:"none",padding:0,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:i.jsx(N,{name:"XMarkIcon",variant:"24-outline",size:24})})]}),y&&i.jsxs("div",{className:"anima-article__content",style:{paddingTop:12,paddingRight:24,paddingLeft:24,paddingBottom:24,display:"flex",flexDirection:"row",alignItems:"flex-start",gap:20,borderRadius:16,boxSizing:"border-box",...f},children:[t!=null&&t!==""&&i.jsx("div",{style:{width:40,height:40,padding:8,borderRadius:12,background:Uee,boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:i.jsx(N,{name:"ExclamationTriangleIcon",variant:"24-outline",size:24,style:{color:Wee}})}),i.jsx("div",{style:{flex:1,minWidth:0},children:t!=null&&t!==""&&!n?i.jsx($,{variant:"body-lg",style:{fontFamily:F,fontWeight:400,fontSize:"16px",lineHeight:"24px",letterSpacing:0,color:Ul,margin:0},children:t}):n})]}),i.jsx("div",{className:"anima-article__footer",style:{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",justifyContent:"flex-end",gap:20,padding:20,borderTop:Gee,boxSizing:"border-box",minHeight:80,...m},children:i.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:20,flexShrink:0},children:[s&&i.jsx(ke,{variant:"outline",text:s,onClick:c,type:"button"}),o&&i.jsx(ke,{variant:"primary",text:o,onClick:l,type:"button"})]})})]});return p?i.jsx("div",{className:`anima-article__overlay ${w}`.trim(),style:{position:"fixed",inset:0,background:"rgba(0, 0, 0, 0.35)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:10001,padding:"16px",boxSizing:"border-box",...g},onClick:C=>{C.target===C.currentTarget&&b&&(v?.(C),e?.())},children:E}):E},k5=({className:a="",width:e,height:t,style:n={},...o})=>{const l={borderRadius:"14px",border:"1px solid #C4C4C4",opacity:1,display:"flex",flexDirection:"column",overflow:"hidden",boxSizing:"border-box",...e!=null&&{width:typeof e=="number"?`${e}px`:e},...t!=null&&{height:typeof t=="number"?`${t}px`:t},...t==null&&{minHeight:"476px"},...n};return i.jsxs("div",{className:`bg-white w-full ${a}`,style:l,...o,children:[i.jsx("style",{children:`
877
877
  @keyframes anima-card-skeleton-pulse {
878
878
  0%, 100% {
879
879
  background-color: #DDDDDD;
@@ -49080,6 +49080,20 @@ PNG de máximo 2Mb`,
49080
49080
  }
49081
49081
  ),
49082
49082
  /* @__PURE__ */ i.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: dt, minWidth: 0 }, children: [
49083
+ /* @__PURE__ */ i.jsx(
49084
+ fa,
49085
+ {
49086
+ label: he ?? ie("empresa.form.country.label", { defaultValue: "País" }),
49087
+ options: re,
49088
+ value: se,
49089
+ onChange: fe,
49090
+ placeholder: ve,
49091
+ error: be,
49092
+ required: xe,
49093
+ showRequiredIndicator: xe,
49094
+ disabled: Oe
49095
+ }
49096
+ ),
49083
49097
  /* @__PURE__ */ i.jsx(
49084
49098
  fa,
49085
49099
  {
@@ -49116,20 +49130,6 @@ PNG de máximo 2Mb`,
49116
49130
  required: Y,
49117
49131
  showRequiredIndicator: Y
49118
49132
  }
49119
- ),
49120
- /* @__PURE__ */ i.jsx(
49121
- fa,
49122
- {
49123
- label: he ?? ie("empresa.form.country.label", { defaultValue: "País" }),
49124
- options: re,
49125
- value: se,
49126
- onChange: fe,
49127
- placeholder: ve,
49128
- error: be,
49129
- required: xe,
49130
- showRequiredIndicator: xe,
49131
- disabled: Oe
49132
- }
49133
49133
  )
49134
49134
  ] })
49135
49135
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anima-ds-nucleus",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "description": "Anima Design System - A comprehensive React component library",
5
5
  "author": "Nucleus Labs <ipvasallo@nucleus.com.ar>",
6
6
  "license": "UNLICENSED",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Formulario Empresa: variante C (crear) o E (editar). Card con título, Badge de estado, dos columnas (fantasía + marca/upload | tipo ID, ID tributario, razón social, país) y botones Descartar + Guardar.
2
+ * Formulario Empresa: variante C (crear) o E (editar). Card con título, Badge de estado, dos columnas (fantasía + marca/upload | país, tipo ID, ID tributario, razón social) y botones Descartar + Guardar.
3
3
  * C = crear (NUEVA EMPRESA, Borrador). E = editar (EMPRESA, Activo, datos cargados). Reutiliza PrimaryInput, PrimarySelect, PrimaryActionButton, Badge, IdentidadVisual, Options. Responsive.
4
4
  */
5
5
  import { useState, useEffect, useLayoutEffect, useRef } from 'react';
@@ -479,6 +479,17 @@ export const Empresa = ({
479
479
  </div>
480
480
 
481
481
  <div style={{ display: 'flex', flexDirection: 'column', gap: contentGap, minWidth: 0 }}>
482
+ <PrimarySelect
483
+ label={paisLabel ?? t('empresa.form.country.label', { defaultValue: 'País' })}
484
+ options={paisOptions}
485
+ value={paisValue}
486
+ onChange={paisOnChange}
487
+ placeholder={paisPlaceholder}
488
+ error={paisError}
489
+ required={paisRequired}
490
+ showRequiredIndicator={paisRequired}
491
+ disabled={paisDisabled}
492
+ />
482
493
  <PrimarySelect
483
494
  label={tipoIdentificacionLabel ?? t('empresa.form.identificationType.label', { defaultValue: 'Tipo de identificación' })}
484
495
  options={tipoIdentificacionOptions}
@@ -507,17 +518,6 @@ export const Empresa = ({
507
518
  required={razonSocialRequired}
508
519
  showRequiredIndicator={razonSocialRequired}
509
520
  />
510
- <PrimarySelect
511
- label={paisLabel ?? t('empresa.form.country.label', { defaultValue: 'País' })}
512
- options={paisOptions}
513
- value={paisValue}
514
- onChange={paisOnChange}
515
- placeholder={paisPlaceholder}
516
- error={paisError}
517
- required={paisRequired}
518
- showRequiredIndicator={paisRequired}
519
- disabled={paisDisabled}
520
- />
521
521
  </div>
522
522
  </div>
523
523