@rafal.lemieszewski/tide-ui 0.45.0 → 0.46.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.
package/dist/index.es.js CHANGED
@@ -59483,18 +59483,22 @@ const XU = {
59483
59483
  "recap-manager-canceled": { icon: "contract-canceled", color: "error", objectLabel: "Recap manager", statusLabel: "Canceled" },
59484
59484
  "recap-manager-failed": { icon: "contract-failed", color: "error", objectLabel: "Recap manager", statusLabel: "Failed" }
59485
59485
  }, YU = {
59486
+ xsm: "text-body-medium-xsm",
59486
59487
  sm: "text-body-medium-sm",
59487
59488
  md: "text-body-medium-md",
59488
59489
  lg: "text-body-medium-lg"
59489
59490
  }, SO = {
59491
+ xsm: "sm",
59490
59492
  sm: "sm",
59491
59493
  md: "md",
59492
59494
  lg: "lg"
59493
59495
  }, JU = {
59496
+ xsm: "translate-y-[1px]",
59494
59497
  sm: "",
59495
59498
  md: "translate-y-[0.5px]",
59496
59499
  lg: "translate-y-[1px]"
59497
59500
  }, QU = {
59501
+ xsm: "gap-[var(--space-xsm)]",
59498
59502
  sm: "gap-[var(--space-xsm)]",
59499
59503
  md: "gap-[var(--space-sm)]",
59500
59504
  lg: "gap-[var(--space-sm)]"
@@ -59528,16 +59532,15 @@ const XU = {
59528
59532
  {
59529
59533
  ref: c,
59530
59534
  className: R(
59531
- "inline-flex items-center leading-none p-0.5",
59535
+ "inline-flex items-center p-0.5",
59532
59536
  QU[t],
59533
59537
  YU[t],
59534
59538
  o
59535
59539
  ),
59536
59540
  ...i,
59537
59541
  children: [
59538
- /* @__PURE__ */ p("span", { className: JU[t], children: /* @__PURE__ */ p(oe, { name: "circle-help", size: SO[t], color: "secondary" }) }),
59542
+ /* @__PURE__ */ p("span", { className: R("flex-shrink-0", JU[t]), children: /* @__PURE__ */ p(oe, { name: "circle-help", size: SO[t], color: "secondary" }) }),
59539
59543
  /* @__PURE__ */ p("span", { className: R(
59540
- "leading-normal",
59541
59544
  n ? oh.secondary : oh.primary
59542
59545
  ), children: "Unknown status" })
59543
59546
  ]
@@ -59568,16 +59571,15 @@ const XU = {
59568
59571
  {
59569
59572
  ref: c,
59570
59573
  className: R(
59571
- "inline-flex items-center leading-none p-0.5",
59574
+ "inline-flex items-center p-0.5",
59572
59575
  QU[t],
59573
59576
  YU[t],
59574
59577
  o
59575
59578
  ),
59576
59579
  ...i,
59577
59580
  children: [
59578
- /* @__PURE__ */ p("span", { className: JU[t], children: /* @__PURE__ */ p(oe, { name: s.icon, size: SO[t], color: s.color }) }),
59581
+ /* @__PURE__ */ p("span", { className: R("flex-shrink-0", JU[t]), children: /* @__PURE__ */ p(oe, { name: s.icon, size: SO[t], color: s.color }) }),
59579
59582
  /* @__PURE__ */ p("span", { className: R(
59580
- "leading-normal",
59581
59583
  n ? oh[s.color] : oh.primary
59582
59584
  ), children: l })
59583
59585
  ]
@@ -62382,23 +62384,27 @@ function cXe(e, t) {
62382
62384
  }
62383
62385
  var sXe = qee, yte = Hee, lXe = Bee, dXe = Uee, uXe = Gee, mte = Wee, hXe = Yee, pXe = Qee, vte = tte, gte = nte, fXe = ate, yXe = ite, mXe = cte, vXe = ste, kte = dte;
62384
62386
  const gXe = Ye(
62385
- "flex w-full items-center justify-between rounded-md border bg-[var(--color-surface-primary)] text-[var(--color-text-primary)] transition-colors placeholder:text-[var(--color-text-tertiary)] focus-visible:outline-none focus-visible:shadow-[0px_0px_0px_2px_rgba(0,95,133,0.2),0px_3px_4px_0px_rgba(0,14,20,0.03)] disabled:cursor-not-allowed disabled:opacity-100 disabled:bg-[var(--color-background-disabled)] disabled:text-[var(--color-text-disabled)]",
62387
+ "flex w-full items-center justify-between gap-[var(--space-xsm)] rounded-sm border bg-[var(--color-surface-primary)] text-[var(--color-text-primary)] transition-all duration-150 ease-in-out placeholder:text-[var(--color-text-tertiary)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring-color)] focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-100 disabled:bg-[var(--color-background-disabled)] disabled:text-[var(--color-text-disabled)]",
62386
62388
  {
62387
62389
  variants: {
62388
62390
  variant: {
62389
62391
  default: [
62390
62392
  "border-[var(--color-border-input)]",
62391
- "hover:border-[var(--color-border-input-hovered)]",
62393
+ "enabled:hover:bg-[var(--color-background-neutral-subtle-hovered)]",
62394
+ "enabled:hover:border-[var(--color-border-input-hovered)]",
62395
+ "enabled:hover:shadow-sm",
62392
62396
  "focus-visible:border-[#005f85]"
62393
62397
  ],
62394
62398
  error: [
62395
62399
  "border-[var(--color-border-error)]",
62396
- "hover:border-[var(--color-border-error)]",
62400
+ "enabled:hover:bg-[var(--color-background-neutral-subtle-hovered)]",
62401
+ "enabled:hover:border-[var(--color-border-error)]",
62402
+ "enabled:hover:shadow-sm",
62397
62403
  "focus-visible:border-[var(--color-border-error)]"
62398
62404
  ]
62399
62405
  },
62400
62406
  size: {
62401
- sm: "h-[var(--size-sm)] px-[var(--space-sm)] py-[var(--space-xsm)] text-body-sm",
62407
+ sm: "h-[var(--size-sm)] px-[var(--space-md)] py-[var(--space-xsm)] text-body-sm",
62402
62408
  md: "h-[var(--size-md)] px-[var(--space-md)] py-[var(--space-sm)] text-body-md",
62403
62409
  lg: "h-[var(--size-lg)] px-[var(--space-lg)] py-[var(--space-md)] text-body-lg"
62404
62410
  }
@@ -62420,18 +62426,21 @@ const gXe = Ye(
62420
62426
  "px-2 py-1 [&]:text-body-medium-sm text-[var(--color-text-tertiary)]"
62421
62427
  ), wXe = Ye(
62422
62428
  "h-px bg-[var(--color-border-primary-subtle)] my-[var(--space-xsm)]"
62423
- ), OP = sXe, MXe = pXe, CT = lXe, $2 = m.forwardRef(({ className: e, variant: t, size: r, children: n, ...a }, o) => /* @__PURE__ */ N(
62424
- yte,
62425
- {
62426
- ref: o,
62427
- className: R(gXe({ variant: t, size: r }), e),
62428
- ...a,
62429
- children: [
62430
- n,
62431
- /* @__PURE__ */ p(dXe, { asChild: !0, children: /* @__PURE__ */ p(oe, { name: "chevron-down", size: "sm", className: "opacity-50" }) })
62432
- ]
62433
- }
62434
- ));
62429
+ ), OP = sXe, MXe = pXe, CT = lXe, $2 = m.forwardRef(({ className: e, variant: t, size: r, children: n, ...a }, o) => {
62430
+ const i = r || "md";
62431
+ return /* @__PURE__ */ N(
62432
+ yte,
62433
+ {
62434
+ ref: o,
62435
+ className: R(gXe({ variant: t, size: r }), e),
62436
+ ...a,
62437
+ children: [
62438
+ n,
62439
+ /* @__PURE__ */ p(dXe, { asChild: !0, children: /* @__PURE__ */ p(oe, { name: "chevron-down", size: i }) })
62440
+ ]
62441
+ }
62442
+ );
62443
+ });
62435
62444
  $2.displayName = yte.displayName;
62436
62445
  const E2 = m.forwardRef(({ className: e, children: t, position: r = "item-aligned", ...n }, a) => /* @__PURE__ */ p(uXe, { children: /* @__PURE__ */ N(
62437
62446
  mte,