@theroutingcompany/components 0.0.107 → 0.0.108-alpha.0
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.
|
@@ -8416,6 +8416,7 @@ const b0 = `
|
|
|
8416
8416
|
${({ variant: e, inverse: t }) => S7(e, t)}
|
|
8417
8417
|
${({ size: e }) => P7(e)}
|
|
8418
8418
|
`, T7 = F.span`
|
|
8419
|
+
width: 100%;
|
|
8419
8420
|
${(e) => h7(e)}
|
|
8420
8421
|
`;
|
|
8421
8422
|
function k7(e, t) {
|
|
@@ -8452,12 +8453,7 @@ function k7(e, t) {
|
|
|
8452
8453
|
...v,
|
|
8453
8454
|
// allow all box properties too - we extend from it :)
|
|
8454
8455
|
...Qd(m)
|
|
8455
|
-
}, D = ie(() => /* @__PURE__ */ w(
|
|
8456
|
-
T7,
|
|
8457
|
-
{
|
|
8458
|
-
children: l
|
|
8459
|
-
}
|
|
8460
|
-
), [l]);
|
|
8456
|
+
}, D = ie(() => /* @__PURE__ */ w(T7, { children: l }), [l]);
|
|
8461
8457
|
return r && !n ? /* @__PURE__ */ w(
|
|
8462
8458
|
Xp,
|
|
8463
8459
|
{
|
|
@@ -8529,7 +8525,10 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
|
|
|
8529
8525
|
${({ variant: e }) => e === Jp && `border: 1px solid ${f.color_gray_opacity_6}`};
|
|
8530
8526
|
${({ variant: e }) => e === O7 && `background-color: ${f.color_green_opacity_48};`};
|
|
8531
8527
|
${({ variant: e }) => e === M7 && `background-color: ${f.color_brand_solidago_opacity_48}`};
|
|
8532
|
-
${({ variant: e }) => e === F7 && `
|
|
8528
|
+
${({ variant: e }) => e === F7 && `
|
|
8529
|
+
background-color: rgba(218,91,64,0.20);
|
|
8530
|
+
border: 1px solid ${f.color_brand_red_opacity_48};
|
|
8531
|
+
`};
|
|
8533
8532
|
`, N7 = F(Ge)`
|
|
8534
8533
|
${b0}
|
|
8535
8534
|
${R7}
|
|
@@ -8546,8 +8545,9 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
|
|
|
8546
8545
|
layout: i = "default",
|
|
8547
8546
|
// layout default is stacked all the time while inline is stacked on mobile and inline on desktop
|
|
8548
8547
|
title: l,
|
|
8549
|
-
|
|
8550
|
-
|
|
8548
|
+
style: s,
|
|
8549
|
+
...c
|
|
8550
|
+
} = t, d = Ot(c, tu.propNames ?? []), u = l ? /* @__PURE__ */ w(Ge, { mb: f.spacing_200, children: /* @__PURE__ */ w(ro, { as: "h2", looksLike: "h6", normal: !0, children: l }) }) : null, p = o ? /* @__PURE__ */ ne(
|
|
8551
8551
|
N7,
|
|
8552
8552
|
{
|
|
8553
8553
|
as: "button",
|
|
@@ -8565,14 +8565,15 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
|
|
|
8565
8565
|
L7,
|
|
8566
8566
|
{
|
|
8567
8567
|
ref: n,
|
|
8568
|
-
...
|
|
8568
|
+
...d,
|
|
8569
|
+
style: s,
|
|
8569
8570
|
tabIndex: -1,
|
|
8570
8571
|
variant: a,
|
|
8571
8572
|
overflow: "hidden",
|
|
8572
|
-
"data-id":
|
|
8573
|
+
"data-id": c["data-id"],
|
|
8573
8574
|
children: [
|
|
8574
|
-
d,
|
|
8575
8575
|
u,
|
|
8576
|
+
p,
|
|
8576
8577
|
/* @__PURE__ */ w(Lu, { space: f.spacing_300, children: r })
|
|
8577
8578
|
]
|
|
8578
8579
|
}
|
|
@@ -19530,6 +19531,8 @@ const $n = F.input`
|
|
|
19530
19531
|
|
|
19531
19532
|
${({ truncate: e }) => e && Cb()}
|
|
19532
19533
|
|
|
19534
|
+
${({ textDecoration: e }) => e && `text-decoration: ${e};`}
|
|
19535
|
+
|
|
19533
19536
|
margin-block: 0;
|
|
19534
19537
|
overflow-wrap: break-word;
|
|
19535
19538
|
hyphens: auto;
|
|
@@ -19547,24 +19550,26 @@ const $n = F.input`
|
|
|
19547
19550
|
negative: a = !1,
|
|
19548
19551
|
italic: i,
|
|
19549
19552
|
bold: l,
|
|
19550
|
-
|
|
19551
|
-
|
|
19552
|
-
|
|
19553
|
+
textDecoration: s,
|
|
19554
|
+
style: c = {},
|
|
19555
|
+
as: d = "p",
|
|
19556
|
+
...u
|
|
19553
19557
|
} = e;
|
|
19554
|
-
let
|
|
19555
|
-
n === "number" ? (
|
|
19556
|
-
let
|
|
19557
|
-
r ?
|
|
19558
|
-
const
|
|
19559
|
-
...
|
|
19558
|
+
let p, g;
|
|
19559
|
+
n === "number" ? (p = e.fontWeight ?? (l ? 700 : 300), g = lR) : (p = e.fontWeight ?? (l ? 500 : 300), g = iR);
|
|
19560
|
+
let h;
|
|
19561
|
+
r ? h = r : a ? h = f.color_brand_red : o ? h = f.color_gray_52 : h = f.color_black;
|
|
19562
|
+
const b = {
|
|
19563
|
+
...u,
|
|
19560
19564
|
fontStyle: i ? "italic" : "normal",
|
|
19561
|
-
textColor:
|
|
19562
|
-
fontWeight:
|
|
19563
|
-
style:
|
|
19565
|
+
textColor: h,
|
|
19566
|
+
fontWeight: p,
|
|
19567
|
+
style: c,
|
|
19564
19568
|
variant: n,
|
|
19565
|
-
as:
|
|
19569
|
+
as: d,
|
|
19570
|
+
textDecoration: s
|
|
19566
19571
|
};
|
|
19567
|
-
return /* @__PURE__ */ w(
|
|
19572
|
+
return /* @__PURE__ */ w(g, { ...b, ref: t });
|
|
19568
19573
|
}, dt = U(
|
|
19569
19574
|
sR
|
|
19570
19575
|
);
|