@theroutingcompany/components 0.0.47 → 0.0.48

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.
@@ -31490,13 +31490,13 @@ const iV = I.span`
31490
31490
  align-items: center;
31491
31491
  `;
31492
31492
  function Ij(e) {
31493
- const t = aV(e), { placeholder: r = "Select...", hideLabel: n } = e, o = Z.useRef(null), { labelProps: a, triggerProps: i, valueProps: s, menuProps: l } = rV(
31493
+ const t = aV(e), { placeholder: r = "Select...", hideLabel: n, showCaret: o = !0 } = e, a = Z.useRef(null), { labelProps: i, triggerProps: s, valueProps: l, menuProps: c } = rV(
31494
31494
  e,
31495
31495
  t,
31496
- o
31497
- ), { buttonProps: c } = uo(i, o), { focusProps: d, isFocusVisible: u } = mn();
31496
+ a
31497
+ ), { buttonProps: d } = uo(s, a), { focusProps: u, isFocusVisible: p } = mn();
31498
31498
  return /* @__PURE__ */ ie(bn, { children: [
31499
- /* @__PURE__ */ ie(rt, { ...a, srOnly: n, mb: f.spacing_100, children: [
31499
+ /* @__PURE__ */ ie(rt, { ...i, srOnly: n, mb: f.spacing_100, children: [
31500
31500
  e.label,
31501
31501
  e.tooltipContent ? /* @__PURE__ */ x(gn, { icon: e.tooltipIcon, children: e.tooltipContent }) : null
31502
31502
  ] }),
@@ -31504,7 +31504,7 @@ function Ij(e) {
31504
31504
  oV,
31505
31505
  {
31506
31506
  state: t,
31507
- triggerRef: o,
31507
+ triggerRef: a,
31508
31508
  label: e.label,
31509
31509
  name: e.name
31510
31510
  }
@@ -31512,18 +31512,18 @@ function Ij(e) {
31512
31512
  /* @__PURE__ */ ie(
31513
31513
  sV,
31514
31514
  {
31515
- ...$e(c, d),
31515
+ ...$e(d, u),
31516
31516
  paddingSize: "small",
31517
- ref: o,
31517
+ ref: a,
31518
31518
  isOpen: t.isOpen,
31519
- isFocusVisible: u,
31519
+ isFocusVisible: p,
31520
31520
  children: [
31521
- /* @__PURE__ */ x(lV, { ...s, children: /* @__PURE__ */ x(Qt, { children: t.selectedItem ? t.selectedItem.rendered : r }) }),
31522
- /* @__PURE__ */ x(iV, { children: /* @__PURE__ */ x(qh, {}) })
31521
+ /* @__PURE__ */ x(lV, { ...l, children: /* @__PURE__ */ x(Qt, { children: t.selectedItem ? t.selectedItem.rendered : r }) }),
31522
+ o ? /* @__PURE__ */ x(iV, { children: /* @__PURE__ */ x(qh, {}) }) : null
31523
31523
  ]
31524
31524
  }
31525
31525
  ),
31526
- t.isOpen ? /* @__PURE__ */ x(lf, { state: t, triggerRef: o, children: /* @__PURE__ */ x(y2, { ...l, state: t }) }) : null
31526
+ t.isOpen ? /* @__PURE__ */ x(lf, { state: t, triggerRef: a, children: /* @__PURE__ */ x(y2, { ...c, state: t }) }) : null
31527
31527
  ] });
31528
31528
  }
31529
31529
  const tD = "Switch", [cV, Aj] = je(tD), [dV, uV] = cV(tD), fV = /* @__PURE__ */ B((e, t) => {