@theroutingcompany/components 0.0.72-alpha.2 → 0.0.72-alpha.4
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/trc-components.es.js +341 -337
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +4 -2
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/DropdownMenu/DropdownMenu.d.ts +3 -1
- package/types/components/IconButton/IconButton.d.ts +2 -0
|
@@ -1389,7 +1389,7 @@ Valid keys: `+JSON.stringify(Object.keys(K),null," "));var ee=de(Z,re,Y,le,ie+"
|
|
|
1389
1389
|
&:disabled {
|
|
1390
1390
|
background: ${f.color_deprecated_fill_inverse_disabled};
|
|
1391
1391
|
}
|
|
1392
|
-
`,b2={primary:f2,secondary:p2,danger:m2,inverse:h2},Ho=c.forwardRef((e,t)=>{const r=$t(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:d,children:u
|
|
1392
|
+
`,b2={primary:f2,secondary:p2,danger:m2,inverse:h2},Ho=c.forwardRef((e,t)=>{const r=$t(t),{label:n,size:o="small",variant:a="primary",shape:i="circle",disabled:l,onClick:s,autoFocus:d,children:u,style:p={},...m}=e,h=Ot(),b=l??h,{buttonProps:g,isPressed:y}=Kn({onPress:s,isDisabled:b,autoFocus:d},r),{isFocusVisible:$,focusProps:v}=Zr({autoFocus:d}),x=$0({isFocusVisible:$,isPressed:y}),S=b2[a],P=mv[i],N=Nd[o],T=me(v,m,g,{"data-state":x});return w(S,{ref:r,...T,style:{"--icon-button-size":N,"--icon-button-border-radius":P,...p},children:w(uo,{label:n,children:u})})});Ho.displayName="IconButton";const g2=M.default(nt)`
|
|
1393
1393
|
font-family: ${f.font_family_pingo} !important;
|
|
1394
1394
|
color: ${f.color_black} !important;
|
|
1395
1395
|
font-weight: ${f.font_weight_100};
|
|
@@ -2178,7 +2178,9 @@ Valid keys: `+JSON.stringify(Object.keys(K),null," "));var ee=de(Z,re,Y,le,ie+"
|
|
|
2178
2178
|
&:active {
|
|
2179
2179
|
background-color: ${f.color_deprecated_fill_inverse_pressed};
|
|
2180
2180
|
}
|
|
2181
|
-
`,AF=pF,OF=
|
|
2181
|
+
`,AF=pF,OF=M.default(uF)`
|
|
2182
|
+
${({display:e="block"})=>`display: ${e};`}
|
|
2183
|
+
`,MF=gF,FF=M.default(hF)`
|
|
2182
2184
|
${Fl}
|
|
2183
2185
|
cursor: pointer;
|
|
2184
2186
|
`,NF=M.default(vF)`
|