UNPKG

@rdsaude/pulso-react-components

Version:

Biblioteca de componentes React do Pulso Design System da RD Saúde oferece componentes consistentes e de alto desempenho, alinhados com os padrões da RDSaúde. Ideal para desenvolver aplicações modernas e acessíveis.

2 lines 808 B
import{c as r}from"./chunk-ZJYRHCYC.js";import{a as n,b as l,c as t}from"./chunk-UABQX4UA.js";import*as a from"react";import{jsx as d}from"react/jsx-runtime";function g(S){var s=S,{symbol:m="rdicon-default",size:c="small",color:e="colorActionFillBrandPrimaryEnabled"}=s,y=t(s,["symbol","size","color"]);let o=r();console.log("=== DEBUG ICON ==="),console.log("Theme keys com color:",Object.keys(o).filter(f=>f.startsWith("color")).slice(0,5)),console.log("Cor solicitada:",e),console.log("Valor da cor:",o[e]);let p=a.useMemo(()=>({tiny:o.sizingTiny,"extra-small":o.sizingExtrasmall,small:o.sizingSmall,medium:o.sizingMedium}),[o]),i=o[e];return d("i",l(n({},y),{className:m,style:{fontSize:p[c],color:typeof i=="string"?i:e}}))}g.displayName="Icon";export{g as a}; //# sourceMappingURL=chunk-4FJORKNS.js.map