@chekinapp/ui 0.0.68 → 0.0.69

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.js CHANGED
@@ -7348,7 +7348,7 @@ var SectionGroupItem = ({
7348
7348
  return /* @__PURE__ */ jsxs59("section", { className: cn("flex flex-col gap-5", className), children: [
7349
7349
  divider && /* @__PURE__ */ jsx97("div", { className: cn("h-px w-full bg-[var(--section-group-divider-bg)]") }),
7350
7350
  (title || subtitle) && /* @__PURE__ */ jsxs59("div", { className: "flex flex-col gap-1 px-8", children: [
7351
- title && /* @__PURE__ */ jsx97("h3", { className: "text-sm font-semibold leading-6 text-[var(--section-group-muted-text)]", children: title }),
7351
+ title && /* @__PURE__ */ jsx97("h3", { className: "text-base font-semibold leading-6 text-[var(--section-group-muted-text)]", children: title }),
7352
7352
  subtitle && /* @__PURE__ */ jsx97("p", { className: "text-sm font-medium leading-6 text-[var(--section-group-muted-text)]", children: subtitle })
7353
7353
  ] }),
7354
7354
  /* @__PURE__ */ jsx97("div", { className: cn("flex flex-col gap-4 px-8", contentClassName), children })
@@ -9406,6 +9406,7 @@ var getValueArray = (value) => {
9406
9406
  return [];
9407
9407
  };
9408
9408
  var convertStringToValue = (stringValue, option) => {
9409
+ debugger;
9409
9410
  if (option) {
9410
9411
  return option.value;
9411
9412
  }
@@ -9455,6 +9456,7 @@ function TogglesInternal({
9455
9456
  const option2 = options.find((opt) => String(opt.value) === item);
9456
9457
  return convertStringToValue(item, option2);
9457
9458
  });
9459
+ debugger;
9458
9460
  onChange?.(
9459
9461
  typedValues,
9460
9462
  {}
@@ -13351,7 +13353,7 @@ function Fieldset({
13351
13353
  className: cn(
13352
13354
  "absolute box-border inline-flex max-w-full cursor-text items-center pl-[3px] pr-5 transition-all duration-100 ease-in",
13353
13355
  "left-[13px] text-[var(--chekin-color-gray-1)]",
13354
- isEmpty && !isFocused ? "top-[14px]" : "top-[-8px] !pl-1 !pr-[22px]",
13356
+ isEmpty && !isFocused ? "top-[14px]" : "top-[-10px] !pl-1 !pr-[22px]",
13355
13357
  isFocused && "text-[var(--chekin-color-brand-blue)]",
13356
13358
  raised && invalid && "text-[var(--error-message-color)]",
13357
13359
  readOnly && "cursor-default",
@@ -13514,7 +13516,7 @@ var DashboardInput = React53.forwardRef(
13514
13516
  className: cn(
13515
13517
  "relative block min-h-[68px]",
13516
13518
  disabled && "cursor-not-allowed opacity-50",
13517
- loading && "cursor-progress",
13519
+ loading && "cursor-progress opacity-50",
13518
13520
  wrapperClassName,
13519
13521
  className
13520
13522
  ),
@@ -13553,7 +13555,10 @@ var DashboardInput = React53.forwardRef(
13553
13555
  labelId: `${inputId}-label`,
13554
13556
  legend: typeof label === "string" ? label : void 0,
13555
13557
  label,
13556
- tooltip
13558
+ tooltip,
13559
+ labelClassName: cn({
13560
+ "pl-[28px]": !!leftIcon
13561
+ })
13557
13562
  }
13558
13563
  ),
13559
13564
  leftIcon && /* @__PURE__ */ jsx153("span", { className: "pointer-events-none absolute left-0 top-0 flex h-full max-w-10 items-center justify-center text-[var(--chekin-color-gray-2)]", children: /* @__PURE__ */ jsx153("span", { className: "flex h-full w-10 items-center justify-center", children: leftIcon }) }),
@@ -13596,7 +13601,7 @@ var DashboardInput = React53.forwardRef(
13596
13601
  ),
13597
13602
  sign && /* @__PURE__ */ jsx153("span", { className: "pointer-events-none absolute right-[14px] top-0 flex h-full items-center text-[18px] font-medium leading-6 text-[var(--chekin-color-brand-navy)]", children: sign }),
13598
13603
  trailingAdornment && /* @__PURE__ */ jsx153("span", { className: "pointer-events-none absolute right-[14px] top-0 flex h-full items-center", children: trailingAdornment }),
13599
- onReset && /* @__PURE__ */ jsx153(
13604
+ onReset && !isEmpty && /* @__PURE__ */ jsx153(
13600
13605
  "button",
13601
13606
  {
13602
13607
  type: "button",
@@ -13612,13 +13617,13 @@ var DashboardInput = React53.forwardRef(
13612
13617
  {
13613
13618
  type: "button",
13614
13619
  onClick: togglePasswordReveal,
13615
- className: "absolute right-[14px] top-[13px] flex h-[13px] w-[21px] cursor-pointer items-center justify-center border-0 bg-transparent p-0 hover:opacity-85",
13620
+ className: "absolute right-[14px] top-[18px] flex h-[13px] w-[21px] cursor-pointer items-center justify-center border-0 bg-transparent p-0 hover:opacity-85",
13616
13621
  "aria-label": isPasswordRevealed ? "Hide password" : "Show password",
13617
13622
  children: /* @__PURE__ */ jsx153(
13618
13623
  Eye,
13619
13624
  {
13625
+ size: 20,
13620
13626
  className: cn(
13621
- "h-[13px] w-[21px]",
13622
13627
  isPasswordRevealed ? "text-[#fc98dd]" : "text-[var(--chekin-color-gray-2)]"
13623
13628
  )
13624
13629
  }
@@ -13626,7 +13631,7 @@ var DashboardInput = React53.forwardRef(
13626
13631
  }
13627
13632
  )
13628
13633
  ] }),
13629
- type === "number" && showNumberButtons && /* @__PURE__ */ jsxs97("div", { className: "absolute right-[18px] top-[10px] inline-flex items-center text-right", children: [
13634
+ type === "number" && showNumberButtons && /* @__PURE__ */ jsxs97("div", { className: "absolute right-[18px] top-[13px] inline-flex items-center text-right", children: [
13630
13635
  /* @__PURE__ */ jsx153(
13631
13636
  "button",
13632
13637
  {