@ahrowe/ui 0.1.23 → 0.1.25

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.
package/dist/index.mjs CHANGED
@@ -390,6 +390,8 @@ var He = /* @__PURE__ */ function(e) {
390
390
  card: "card_w-6Ki",
391
391
  "card-padding": "card-padding_X2-q-",
392
392
  cardPadding: "card-padding_X2-q-",
393
+ "card-gaps": "card-gaps_jhYkx",
394
+ cardGaps: "card-gaps_jhYkx",
393
395
  "card-style-elevated": "card-style-elevated_exvMB",
394
396
  cardStyleElevated: "card-style-elevated_exvMB",
395
397
  "card-style-outlined": "card-style-outlined_PxZZA",
@@ -420,17 +422,18 @@ var He = /* @__PURE__ */ function(e) {
420
422
  outlined: Ue.cardStyleOutlined,
421
423
  filled: Ue.cardStyleFilled
422
424
  };
423
- function Ge({ className: e = void 0, children: t = null, styleType: n = He.Elevated, onClick: r = void 0, tabIndex: i = null, hoverEffect: a = void 0, style: o = void 0, ...s }) {
424
- let c = !!r;
425
+ function Ge({ className: e = void 0, children: t = null, styleType: n = He.Elevated, onClick: r = void 0, tabIndex: i = null, hoverEffect: a = void 0, style: o = void 0, autoGap: s = !0, ...c }) {
426
+ let l = !!r;
425
427
  return /* @__PURE__ */ H(Re, {
426
- ...s,
427
- className: p(Ue.card, Ue.cardPadding, We[n], c && Ue.cardInteractable, (c && a !== !1 || a) && Ue.cardHover, e),
428
+ ...c,
429
+ className: p(Ue.card, Ue.cardPadding, We[n], l && Ue.cardInteractable, (l && a !== !1 || a) && Ue.cardHover, e),
428
430
  onClick: r,
429
- tabIndex: i ?? (c ? 0 : null),
431
+ tabIndex: i ?? (l ? 0 : null),
430
432
  style: o,
431
433
  children: /* @__PURE__ */ H(Me, {
432
- disabled: !c,
434
+ disabled: !l,
433
435
  overflowHidden: !1,
436
+ className: p(s && Ue.cardGaps),
434
437
  children: t
435
438
  })
436
439
  });