@theroutingcompany/components 0.0.108-alpha.0 → 0.0.109-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,7 +8416,6 @@ 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%;
8420
8419
  ${(e) => h7(e)}
8421
8420
  `;
8422
8421
  function k7(e, t) {
@@ -8453,7 +8452,12 @@ function k7(e, t) {
8453
8452
  ...v,
8454
8453
  // allow all box properties too - we extend from it :)
8455
8454
  ...Qd(m)
8456
- }, D = ie(() => /* @__PURE__ */ w(T7, { children: l }), [l]);
8455
+ }, D = ie(() => /* @__PURE__ */ w(
8456
+ T7,
8457
+ {
8458
+ children: l
8459
+ }
8460
+ ), [l]);
8457
8461
  return r && !n ? /* @__PURE__ */ w(
8458
8462
  Xp,
8459
8463
  {
@@ -8525,10 +8529,7 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
8525
8529
  ${({ variant: e }) => e === Jp && `border: 1px solid ${f.color_gray_opacity_6}`};
8526
8530
  ${({ variant: e }) => e === O7 && `background-color: ${f.color_green_opacity_48};`};
8527
8531
  ${({ variant: e }) => e === M7 && `background-color: ${f.color_brand_solidago_opacity_48}`};
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
- `};
8532
+ ${({ variant: e }) => e === F7 && `background-color: ${f.color_brand_red_opacity_48}`};
8532
8533
  `, N7 = F(Ge)`
8533
8534
  ${b0}
8534
8535
  ${R7}
@@ -8545,9 +8546,8 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
8545
8546
  layout: i = "default",
8546
8547
  // layout default is stacked all the time while inline is stacked on mobile and inline on desktop
8547
8548
  title: l,
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(
8549
+ ...s
8550
+ } = t, c = Ot(s, tu.propNames ?? []), d = l ? /* @__PURE__ */ w(Ge, { mb: f.spacing_200, children: /* @__PURE__ */ w(ro, { as: "h2", looksLike: "h6", normal: !0, children: l }) }) : null, u = o ? /* @__PURE__ */ ne(
8551
8551
  N7,
8552
8552
  {
8553
8553
  as: "button",
@@ -8565,15 +8565,14 @@ const I7 = "default", Jp = "info", O7 = "success", M7 = "warning", F7 = "danger"
8565
8565
  L7,
8566
8566
  {
8567
8567
  ref: n,
8568
- ...d,
8569
- style: s,
8568
+ ...c,
8570
8569
  tabIndex: -1,
8571
8570
  variant: a,
8572
8571
  overflow: "hidden",
8573
- "data-id": c["data-id"],
8572
+ "data-id": s["data-id"],
8574
8573
  children: [
8574
+ d,
8575
8575
  u,
8576
- p,
8577
8576
  /* @__PURE__ */ w(Lu, { space: f.spacing_300, children: r })
8578
8577
  ]
8579
8578
  }
@@ -19531,8 +19530,6 @@ const $n = F.input`
19531
19530
 
19532
19531
  ${({ truncate: e }) => e && Cb()}
19533
19532
 
19534
- ${({ textDecoration: e }) => e && `text-decoration: ${e};`}
19535
-
19536
19533
  margin-block: 0;
19537
19534
  overflow-wrap: break-word;
19538
19535
  hyphens: auto;
@@ -19550,26 +19547,24 @@ const $n = F.input`
19550
19547
  negative: a = !1,
19551
19548
  italic: i,
19552
19549
  bold: l,
19553
- textDecoration: s,
19554
- style: c = {},
19555
- as: d = "p",
19556
- ...u
19550
+ style: s = {},
19551
+ as: c = "p",
19552
+ ...d
19557
19553
  } = e;
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,
19554
+ let u, p;
19555
+ n === "number" ? (u = e.fontWeight ?? (l ? 700 : 300), p = lR) : (u = e.fontWeight ?? (l ? 500 : 300), p = iR);
19556
+ let g;
19557
+ r ? g = r : a ? g = f.color_brand_red : o ? g = f.color_gray_52 : g = f.color_black;
19558
+ const h = {
19559
+ ...d,
19564
19560
  fontStyle: i ? "italic" : "normal",
19565
- textColor: h,
19566
- fontWeight: p,
19567
- style: c,
19561
+ textColor: g,
19562
+ fontWeight: u,
19563
+ style: s,
19568
19564
  variant: n,
19569
- as: d,
19570
- textDecoration: s
19565
+ as: c
19571
19566
  };
19572
- return /* @__PURE__ */ w(g, { ...b, ref: t });
19567
+ return /* @__PURE__ */ w(p, { ...h, ref: t });
19573
19568
  }, dt = U(
19574
19569
  sR
19575
19570
  );
@@ -23597,7 +23592,7 @@ const Sh = F(dt)`
23597
23592
  }), [P, j] = Z(-1), T = S.length > 0 && !A && _.length === 0, Q = te(
23598
23593
  (N) => {
23599
23594
  N && (L == null || L.getDetails(
23600
- { placeId: N.place_id ?? "" },
23595
+ { placeId: N.place_id ?? "", fields: n == null ? void 0 : n.fields },
23601
23596
  (O, V) => {
23602
23597
  if (O && V === google.maps.places.PlacesServiceStatus.OK) {
23603
23598
  const ee = MO(O);
@@ -23607,7 +23602,7 @@ const Sh = F(dt)`
23607
23602
  }
23608
23603
  ));
23609
23604
  },
23610
- [s, $, L]
23605
+ [s, n == null ? void 0 : n.fields, $, L]
23611
23606
  );
23612
23607
  return _l(() => {
23613
23608
  document.activeElement === E.current && $.close();