rbro-tat-uds 1.6.22 → 1.6.24
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/components/Pill/Pill.d.ts +0 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +119 -121
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
@@ -4,7 +4,6 @@ interface PillProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
bgColor?: keyof typeof colors;
|
5
5
|
textColor?: keyof typeof colors;
|
6
6
|
fontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
7
|
-
variant?: "light" | "default";
|
8
7
|
size?: "xsmall" | "small" | "medium";
|
9
8
|
text?: string;
|
10
9
|
radius?: string;
|
package/dist/index.cjs.js
CHANGED
@@ -3572,7 +3572,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[g2]+=1);const U5=t=>e.createE
|
|
3572
3572
|
font-weight: ${({$fontWeight:t})=>t&&[200,300,400,500,700,800].includes(t)?t:400};
|
3573
3573
|
|
3574
3574
|
${({$size:t})=>t&&Object.keys(Q2).includes(t)?Q2[t]:Q2.small};
|
3575
|
-
`,p9=({bgColor:t="gray_950",textColor:i="white",fontWeight:a=400,
|
3575
|
+
`,p9=({bgColor:t="gray_950",textColor:i="white",fontWeight:a=400,size:n="small",text:r="Utilizat",radius:c="99999px",...o})=>L.jsx(nt,{$bgColor:t,$textColor:i,$fontWeight:a,$size:n,$radius:c,...o,children:L.jsx("span",{children:r})}),rt=B.button`
|
3576
3576
|
appearance: none;
|
3577
3577
|
border: none;
|
3578
3578
|
outline: none;
|
@@ -5957,5 +5957,5 @@ See https://s-c.sh/2BAXzed for more info.`),window[g2]+=1);const U5=t=>e.createE
|
|
5957
5957
|
circle {
|
5958
5958
|
transition: cy 0.2s ease-in-out;
|
5959
5959
|
}
|
5960
|
-
`,Tl=({min:t=0,max:i=100,value:a=50,width:n="40px"})=>{const[C,s]=u.useState(0),[h,m]=u.useState(0),[p,g]=u.useState(0),v=u.useRef(null),E=u.useRef(null),M=u.useMemo(()=>h/2,[h]),V=u.useMemo(()=>{const k=p-10.5+2
|
5960
|
+
`,Tl=({min:t=0,max:i=100,value:a=50,width:n="40px"})=>{const[C,s]=u.useState(0),[h,m]=u.useState(0),[p,g]=u.useState(0),v=u.useRef(null),E=u.useRef(null),M=u.useMemo(()=>h/2,[h]),V=u.useMemo(()=>{const k=p-10.5+2,_=Math.max(t,Math.min(i,a)),w=i-t,Z=12.5+(w===0?.5:1-(_-t)/w)*(k-12.5);return isNaN(Z)?12.5:Z},[18,3,p,t,i,a]),$=u.useMemo(()=>{let R="0%",k="51.44%",_="100%";return t<=0&&i<=0&&(R="0%",k="0%",_="50%"),t>0&&i>0&&(R="30%",k="100%",_="0%"),{positive:R,neutral:k,negative:_}},[t,i]);return u.useEffect(()=>{v.current&&m(v.current.width.baseVal.value??v.current.getBoundingClientRect().width??28)},[v]),u.useEffect(()=>{if(E.current){const{height:R}=E.current.getBoundingClientRect();s(R),g(R-4)}},[E]),L.jsxs(Nl,{width:n,height:"100%",ref:E,children:[L.jsx("rect",{x:0,y:0,fill:l.gray_950,height:2,width:"100%"}),L.jsx("defs",{children:L.jsxs("linearGradient",{id:"heatGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[L.jsx("stop",{offset:$.positive,stopColor:"#1BB18C"}),L.jsx("stop",{offset:$.neutral,stopColor:"#FFE106"}),L.jsx("stop",{offset:$.negative,stopColor:"#EF2A38"})]})}),L.jsx("rect",{ref:v,x:0,y:2,fill:"url(#heatGradient)",height:Math.max(C-4,0)+"px",width:"70%"}),L.jsx("rect",{x:0,y:`${C-2}`,fill:l.gray_950,height:2,width:"100%"}),L.jsx("circle",{cx:M,cy:V,r:9,fill:l.black,strokeWidth:3,stroke:l.white})]})};exports.Alert=He;exports.AppBranding=yl;exports.AutosaveStatus=Vl;exports.Bar=se;exports.BreadcrumbItem=$4;exports.Breadcrumbs=B4;exports.Button=E1;exports.ButtonLink=Ut;exports.Card=Sl;exports.Checkbox=F0;exports.CityPicker=It;exports.ConfigurationSaveInfo=V0;exports.Container=e0;exports.Content=L0;exports.ContentDropdown=jt;exports.CreditCard=qt;exports.DashboardCard=Kt;exports.DashboardCategory=Qt;exports.DashboardSmallShortcut=dt;exports.Datepicker=Xe;exports.Divider=ce;exports.DonutGraph=Ol;exports.Dropdown=C9;exports.Flex=h1;exports.FormField=p2;exports.GraficConfiguratiePensii=Rt;exports.GraficFondInvestitii=Et;exports.GraficFondInvestitiiInflatie=St;exports.GraficPensii=tt;exports.GraficPlanInvestitii=Ft;exports.GraficPropunerePensii=bt;exports.Icon=N;exports.IconButton=x1;exports.IconCard=Be;exports.Illustration=hl;exports.ImageCard=$e;exports.InPageTab=Ot;exports.InvestmentFundItem=ut;exports.LabeledText=R2;exports.LabeledTextInLine=Ll;exports.Layout=K4;exports.Logo=U6;exports.Modal=f2;exports.Numpad=h3;exports.ObjectiveCard=A0;exports.ObjectiveCardSmall=ne;exports.OfferCard=tl;exports.OperationsDashboardCard=Zl;exports.OperationsDashboardCategory=$l;exports.PageMessage=O0;exports.PageTitle=le;exports.Pill=p9;exports.PlanFinanciarAUMBar=ml;exports.PlanFinanciarAUMGraph=El;exports.PlanulFinanciarTeaser=D0;exports.ProductTeaser=M3;exports.ProductTeaserButton=e9;exports.ProductTeaserParameters=_e;exports.ProductTeaserStep=xe;exports.ProposalPensii=d9;exports.PropunereAsigurariCalatorie=E9;exports.PropunereFlexicredit=J6;exports.PropunereFondInvestitii=m9;exports.PropunerePlanInvestitii=f9;exports.Radio=at;exports.RatesCalculator=Gt;exports.Section=X6;exports.SegmentedTabs=h0;exports.SelectionButton=Ml;exports.SelectionPill=ft;exports.ShortcutCard=M0;exports.Sidebar=P2;exports.SidebarItem=U4;exports.Slider=Q0;exports.Spinner=W1;exports.StepTab=me;exports.StepsBar=u9;exports.Switch=zl;exports.Tab=p0;exports.TextInput=d2;exports.TimedButton=fe;exports.TimelineSteps=Bl;exports.TimelineStepsItem=Hl;exports.Timer=Pl;exports.VerticalHeat=Tl;exports.colors=l;
|
5961
5961
|
//# sourceMappingURL=index.cjs.js.map
|