@theroutingcompany/components 0.0.148 → 0.0.149

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.
@@ -15458,31 +15458,32 @@ const Ed = {
15458
15458
  shape: a = "circle",
15459
15459
  disabled: u,
15460
15460
  onClick: l,
15461
- autoFocus: s,
15462
- children: c,
15463
- style: d = {},
15464
- ...p
15465
- } = e, h = qr(), v = u ?? h, { buttonProps: g, isPressed: b } = Jn(
15461
+ onPress: s,
15462
+ autoFocus: c,
15463
+ children: d,
15464
+ style: p = {},
15465
+ ...h
15466
+ } = e, v = qr(), g = u ?? v, { buttonProps: b, isPressed: y } = Jn(
15466
15467
  {
15467
- onPress: l,
15468
- isDisabled: v,
15469
- autoFocus: s
15468
+ onPress: s ?? l,
15469
+ isDisabled: g,
15470
+ autoFocus: c
15470
15471
  },
15471
15472
  r
15472
- ), { isFocusVisible: y, focusProps: D } = ga({ autoFocus: s }), E = Hb({ isFocusVisible: y, isPressed: b }), x = bR[i], S = A1[a], w = Ed[o], P = Re(D, p, g, {
15473
- "data-state": E
15473
+ ), { isFocusVisible: D, focusProps: E } = ga({ autoFocus: c }), x = Hb({ isFocusVisible: D, isPressed: y }), S = bR[i], w = A1[a], P = Ed[o], k = Re(E, h, b, {
15474
+ "data-state": x
15474
15475
  });
15475
15476
  return /* @__PURE__ */ m(
15476
- x,
15477
+ S,
15477
15478
  {
15478
15479
  ref: r,
15479
- ...P,
15480
+ ...k,
15480
15481
  style: {
15481
- "--icon-button-size": w,
15482
- "--icon-button-border-radius": S,
15483
- ...d
15482
+ "--icon-button-size": P,
15483
+ "--icon-button-border-radius": w,
15484
+ ...p
15484
15485
  },
15485
- children: /* @__PURE__ */ m(dl, { label: n, children: c })
15486
+ children: /* @__PURE__ */ m(dl, { label: n, children: d })
15486
15487
  }
15487
15488
  );
15488
15489
  }