@theroutingcompany/components 0.0.55 → 0.0.57

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.
@@ -18011,38 +18011,38 @@ const bR = (e, t) => {
18011
18011
  ${Hd}
18012
18012
  ${PP}
18013
18013
  ${nt}
18014
- ${({ size: e, type: t }) => bR(e ?? "medium", t)}
18014
+ ${({ size: e, variant: t }) => bR(e ?? "medium", t)}
18015
18015
  `, gR = M(s_)``, vR = M(s_)`
18016
18016
  font-feature-settings: 'tnum' on, 'lnum' on, 'ss01' on;
18017
18017
  `, $R = (e, t) => {
18018
18018
  const {
18019
- type: r = "body",
18019
+ variant: r = "body",
18020
18020
  color: n,
18021
18021
  weak: o = !1,
18022
18022
  negative: a = !1,
18023
18023
  italic: i,
18024
18024
  bold: s,
18025
18025
  style: l = {},
18026
- ...c
18026
+ as: c = "p",
18027
+ ...d
18027
18028
  } = e;
18028
- let d;
18029
- r === "number" ? d = vR : d = gR;
18030
- let u;
18031
- r === "number" ? u = s ? 700 : 300 : u = s ? 500 : 300;
18032
- let p;
18033
- n ? p = n : a ? p = f.color_brand_red : o ? p = f.color_gray_52 : p = f.color_black;
18034
- const m = {
18035
- ...c,
18029
+ let u, p;
18030
+ r === "number" ? (u = s ? 700 : 300, p = vR) : (u = s ? 500 : 300, p = gR);
18031
+ let m;
18032
+ n ? m = n : a ? m = f.color_brand_red : o ? m = f.color_gray_52 : m = f.color_black;
18033
+ const h = {
18034
+ ...d,
18036
18035
  fontStyle: i ? "italic" : "normal",
18037
- textColor: p,
18036
+ textColor: m,
18038
18037
  fontWeight: u,
18039
18038
  style: l,
18040
- type: r
18039
+ variant: r,
18040
+ as: c
18041
18041
  };
18042
18042
  return /* @__PURE__ */ x(
18043
- d,
18043
+ p,
18044
18044
  {
18045
- ...m,
18045
+ ...h,
18046
18046
  ref: t
18047
18047
  }
18048
18048
  );