@chekinapp/ui 0.0.38 → 0.0.39

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.cjs CHANGED
@@ -487,7 +487,7 @@ var typeStyles = {
487
487
  ["LIGHT" /* LIGHT */]: ""
488
488
  };
489
489
  function AlertBox({
490
- text,
490
+ children,
491
491
  className = "",
492
492
  withIcon = true,
493
493
  size = "L" /* L */,
@@ -507,7 +507,7 @@ function AlertBox({
507
507
  ),
508
508
  children: [
509
509
  isIconVisible && (customIcon || getIcon(type)),
510
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "max-w-4xl text-left font-medium lg:max-w-full", children: text })
510
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "max-w-4xl text-left font-medium lg:max-w-full", children })
511
511
  ]
512
512
  }
513
513
  );
@@ -10734,7 +10734,7 @@ var FieldTrigger = React32.forwardRef(
10734
10734
  className: cn(
10735
10735
  "absolute left-0 origin-left truncate transition-all duration-200 ease-out",
10736
10736
  hasLabelMeta ? "" : "pointer-events-none",
10737
- isAirbnbVariant ? isRaised ? "top-0 translate-y-0 text-xs leading-5" : "top-1/2 -translate-y-1/2 text-[16px] leading-7" : isRaised ? "-top-2 translate-y-0 bg-white px-1 text-[12px] font-medium leading-4" : "top-1/2 -translate-y-1/2 text-[16px] leading-6",
10737
+ isAirbnbVariant ? isRaised ? "top-[-1px] translate-y-0 text-xs leading-5" : "top-1/2 -translate-y-1/2 text-[16px] leading-7" : isRaised ? "-top-2 translate-y-0 bg-white px-1 text-[12px] font-medium leading-4" : "top-1/2 -translate-y-1/2 text-[16px] leading-6",
10738
10738
  hasInvalidState ? "text-[var(--error-message-color)]" : isAirbnbVariant ? "text-[#6c6c6c]" : "text-[#7A8399]"
10739
10739
  ),
10740
10740
  children: animatedLabel