@chekinapp/ui 0.0.76 → 0.0.77

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.d.cts CHANGED
@@ -555,20 +555,20 @@ declare const FramedIcon: React$1.ForwardRefExoticComponent<FramedIconProps & Re
555
555
 
556
556
  declare const statusStyles: {
557
557
  readonly INACTIVE: {
558
- readonly background: "bg-[var(--chekin-color-surface-input-empty)]";
559
- readonly color: "text-[var(--chekin-color-gray-2)]";
558
+ readonly background: "bg-[#f4f6f8]";
559
+ readonly color: "text-[#9696b9]";
560
560
  };
561
561
  readonly ACTIVE: {
562
- readonly background: "bg-[var(--chekin-color-surface-autocomplete)]";
563
- readonly color: "text-[var(--chekin-color-brand-blue)]";
562
+ readonly background: "bg-[#eff6ff]";
563
+ readonly color: "text-[#385cf8]";
564
564
  };
565
565
  readonly SUCCESS: {
566
566
  readonly background: "bg-[#e8fcf7]";
567
567
  readonly color: "text-[#2bc29f]";
568
568
  };
569
569
  readonly DANGER: {
570
- readonly background: "bg-[#ffe2ed]";
571
- readonly color: "text-[var(--error-message-color)]";
570
+ readonly background: "bg-[#fff5f9]";
571
+ readonly color: "text-[#ff2467]";
572
572
  };
573
573
  };
574
574
  interface HaloIconProps extends PropsWithChildren {
package/dist/index.d.ts CHANGED
@@ -555,20 +555,20 @@ declare const FramedIcon: React$1.ForwardRefExoticComponent<FramedIconProps & Re
555
555
 
556
556
  declare const statusStyles: {
557
557
  readonly INACTIVE: {
558
- readonly background: "bg-[var(--chekin-color-surface-input-empty)]";
559
- readonly color: "text-[var(--chekin-color-gray-2)]";
558
+ readonly background: "bg-[#f4f6f8]";
559
+ readonly color: "text-[#9696b9]";
560
560
  };
561
561
  readonly ACTIVE: {
562
- readonly background: "bg-[var(--chekin-color-surface-autocomplete)]";
563
- readonly color: "text-[var(--chekin-color-brand-blue)]";
562
+ readonly background: "bg-[#eff6ff]";
563
+ readonly color: "text-[#385cf8]";
564
564
  };
565
565
  readonly SUCCESS: {
566
566
  readonly background: "bg-[#e8fcf7]";
567
567
  readonly color: "text-[#2bc29f]";
568
568
  };
569
569
  readonly DANGER: {
570
- readonly background: "bg-[#ffe2ed]";
571
- readonly color: "text-[var(--error-message-color)]";
570
+ readonly background: "bg-[#fff5f9]";
571
+ readonly color: "text-[#ff2467]";
572
572
  };
573
573
  };
574
574
  interface HaloIconProps extends PropsWithChildren {
package/dist/index.js CHANGED
@@ -4059,20 +4059,20 @@ var HALO_ICON_STATUS = {
4059
4059
  import { jsx as jsx49 } from "react/jsx-runtime";
4060
4060
  var statusStyles = {
4061
4061
  [HALO_ICON_STATUS.inactive]: {
4062
- background: "bg-[var(--chekin-color-surface-input-empty)]",
4063
- color: "text-[var(--chekin-color-gray-2)]"
4062
+ background: "bg-[#f4f6f8]",
4063
+ color: "text-[#9696b9]"
4064
4064
  },
4065
4065
  [HALO_ICON_STATUS.active]: {
4066
- background: "bg-[var(--chekin-color-surface-autocomplete)]",
4067
- color: "text-[var(--chekin-color-brand-blue)]"
4066
+ background: "bg-[#eff6ff]",
4067
+ color: "text-[#385cf8]"
4068
4068
  },
4069
4069
  [HALO_ICON_STATUS.success]: {
4070
4070
  background: "bg-[#e8fcf7]",
4071
4071
  color: "text-[#2bc29f]"
4072
4072
  },
4073
4073
  [HALO_ICON_STATUS.danger]: {
4074
- background: "bg-[#ffe2ed]",
4075
- color: "text-[var(--error-message-color)]"
4074
+ background: "bg-[#fff5f9]",
4075
+ color: "text-[#ff2467]"
4076
4076
  }
4077
4077
  };
4078
4078
  var HaloIcon = forwardRef21(
@@ -8218,7 +8218,7 @@ var SignatureCanvas = forwardRef40(
8218
8218
  type: "button",
8219
8219
  className: cn(
8220
8220
  "absolute left-0 top-0 z-10 flex h-[174px] w-[250px] flex-col items-center",
8221
- "justify-between rounded border-0 bg-[var(--signature-canvas-placeholder-bg)] px-0 pb-11 pt-10",
8221
+ "justify-between rounded border-0 bg-[var(--signature-canvas-placeholder-bg)] px-0 pb-7 pt-10",
8222
8222
  "cursor-pointer select-none"
8223
8223
  ),
8224
8224
  onClick: onEnable,
@@ -8229,7 +8229,7 @@ var SignatureCanvas = forwardRef40(
8229
8229
  "span",
8230
8230
  {
8231
8231
  className: cn(
8232
- "mx-auto max-w-[154px] break-words text-center text-sm font-medium uppercase",
8232
+ "mx-auto mt-2 max-w-[154px] break-words text-center text-sm font-medium uppercase",
8233
8233
  "text-[var(--signature-canvas-placeholder-text)] opacity-[0.55]"
8234
8234
  ),
8235
8235
  children: /* @__PURE__ */ jsx102(Trans, { i18nKey: "signature_placeholder_text" })
@@ -9870,15 +9870,15 @@ function UploadedFilesList({
9870
9870
  return /* @__PURE__ */ jsx129("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs77(
9871
9871
  "div",
9872
9872
  {
9873
- className: "flex cursor-default items-center gap-2 rounded border border-[var(--chekin-color-gray-2)] bg-[var(--chekin-color-surface-pressed)] py-1.5 pl-3 pr-1.5",
9873
+ className: "flex cursor-default items-center gap-2 rounded border border-[#acacd5] bg-[#f0f0f8] py-1.5 pl-3 pr-1.5",
9874
9874
  children: [
9875
- /* @__PURE__ */ jsx129("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9875
+ /* @__PURE__ */ jsx129("span", { className: "text-nowrap text-sm font-medium leading-5 text-[#161643]", children: file.name }),
9876
9876
  /* @__PURE__ */ jsx129(
9877
9877
  "button",
9878
9878
  {
9879
9879
  type: "button",
9880
9880
  onClick: () => onRemoveFile(file.name),
9881
- className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-[var(--chekin-color-gray-1)] transition-all hover:shadow-md active:opacity-95",
9881
+ className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-[#6b6b95] transition-all hover:shadow-md active:opacity-95",
9882
9882
  "aria-label": `Remove ${file.name}`,
9883
9883
  children: /* @__PURE__ */ jsx129(X6, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9884
9884
  }
@@ -14470,7 +14470,9 @@ function DashboardMultiSelectInternal({
14470
14470
  }, [isOpen, filteredOptions]);
14471
14471
  React58.useEffect(() => {
14472
14472
  if (!isOpen || !isMobile2) return;
14473
- const frame = window.requestAnimationFrame(() => mobileSearchInputRef.current?.focus());
14473
+ const frame = window.requestAnimationFrame(
14474
+ () => mobileSearchInputRef.current?.focus()
14475
+ );
14474
14476
  return () => window.cancelAnimationFrame(frame);
14475
14477
  }, [isOpen, isMobile2]);
14476
14478
  const openMenu = () => {
@@ -16405,7 +16407,13 @@ var DashboardDateRangePicker = React66.forwardRef(function DashboardDateRangePic
16405
16407
  const normalizedMaxDate = React66.useMemo(() => toDate(maxDate), [maxDate]);
16406
16408
  const formatter = React66.useMemo(() => formatDate(displayFormat), [displayFormat]);
16407
16409
  const parser = React66.useMemo(() => parseDate(displayFormat), [displayFormat]);
16408
- const { fromText, toText, setFromText, setToText, handleFromBlur, handleToBlur } = useRangeTextInputs({ value, format: formatter, parse: parser, onCommit: commit, onBlur });
16410
+ const { fromText, toText, setFromText, setToText, handleFromBlur, handleToBlur } = useRangeTextInputs({
16411
+ value,
16412
+ format: formatter,
16413
+ parse: parser,
16414
+ onCommit: commit,
16415
+ onBlur
16416
+ });
16409
16417
  const { month, setMonth, syncMonthToValue } = useRangeMonthSync(value);
16410
16418
  const [isOpen, setIsOpen] = React66.useState(false);
16411
16419
  const [focusedInput, setFocusedInput] = React66.useState(null);
@@ -16488,7 +16496,15 @@ var DashboardDateRangePicker = React66.forwardRef(function DashboardDateRangePic
16488
16496
  open: openCalendar,
16489
16497
  close: closeCalendar
16490
16498
  }),
16491
- [closeCalendar, commit, formatter, openCalendar, setFromText, setToText, syncMonthToValue]
16499
+ [
16500
+ closeCalendar,
16501
+ commit,
16502
+ formatter,
16503
+ openCalendar,
16504
+ setFromText,
16505
+ setToText,
16506
+ syncMonthToValue
16507
+ ]
16492
16508
  );
16493
16509
  return /* @__PURE__ */ jsx169(
16494
16510
  "div",
@@ -16918,15 +16934,7 @@ var DashboardFileInput = React69.forwardRef(
16918
16934
  onClick: handleClear,
16919
16935
  className: "ml-2 flex h-[15px] w-[15px] items-center justify-center rounded-[3px] border-0 bg-transparent p-0 text-[#9696b9] outline-none hover:shadow-[0_3px_3px_#0f477734]",
16920
16936
  "aria-label": t("remove_file"),
16921
- children: /* @__PURE__ */ jsx171(
16922
- SquareX5,
16923
- {
16924
- size: 15,
16925
- fill: "#9696b9",
16926
- color: "#f8f8f8",
16927
- strokeWidth: 1.8
16928
- }
16929
- )
16937
+ children: /* @__PURE__ */ jsx171(SquareX5, { size: 15, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
16930
16938
  }
16931
16939
  )
16932
16940
  ]