@chekinapp/ui 0.0.37 → 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
  );
@@ -1143,8 +1143,10 @@ function Spinner() {
1143
1143
  "path",
1144
1144
  {
1145
1145
  className: "opacity-75",
1146
- fill: "currentColor",
1147
- d: "M4 12a8 8 0 0 1 8-8v4a4 4 0 0 0-4 4H4z"
1146
+ stroke: "currentColor",
1147
+ strokeWidth: "4",
1148
+ strokeLinecap: "round",
1149
+ d: "M12 2a10 10 0 0 1 10 10"
1148
1150
  }
1149
1151
  )
1150
1152
  ]
@@ -1532,8 +1534,8 @@ function TooltipContent({
1532
1534
  "origin-[var(--radix-tooltip-content-transform-origin)] z-50 w-fit text-balance",
1533
1535
  "rounded-md px-4 py-2 text-sm font-medium",
1534
1536
  {
1535
- "bg-white text-chekin-navy shadow-[0_0_10px_0_rgba(143,143,143,0.30)]": variant === "light",
1536
- "bg-chekin-navy text-white": variant === "dark"
1537
+ "bg-[var(--chekin-color-white)] text-[var(--chekin-color-brand-navy)] shadow-[0_0_10px_0_rgba(143,143,143,0.30)]": variant === "light",
1538
+ "bg-[var(--chekin-color-brand-navy)] text-[var(--chekin-color-white)]": variant === "dark"
1537
1539
  },
1538
1540
  className
1539
1541
  ),
@@ -1546,8 +1548,8 @@ function TooltipContent({
1546
1548
  className: cn(
1547
1549
  "z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",
1548
1550
  {
1549
- "bg-white fill-white": variant === "light",
1550
- "bg-chekin-navy fill-chekin-navy": variant === "dark"
1551
+ "bg-[var(--chekin-color-white)] fill-[var(--chekin-color-white)]": variant === "light",
1552
+ "bg-[var(--chekin-color-brand-navy)] fill-[var(--chekin-color-brand-navy)]": variant === "dark"
1551
1553
  }
1552
1554
  )
1553
1555
  }
@@ -1929,42 +1931,66 @@ function StatusBadgeIcon({ variant, className }) {
1929
1931
  };
1930
1932
  switch (variant) {
1931
1933
  case "clock-blue":
1932
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react8.Clock, { ...iconProps, className: cn("text-chekin-blue", className) });
1934
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1935
+ import_lucide_react8.Clock,
1936
+ {
1937
+ ...iconProps,
1938
+ className: cn("text-[var(--chekin-color-brand-blue)]", className)
1939
+ }
1940
+ );
1933
1941
  case "tick-blue":
1934
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react8.Check, { ...iconProps, className: cn("text-chekin-blue", className) });
1942
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1943
+ import_lucide_react8.Check,
1944
+ {
1945
+ ...iconProps,
1946
+ className: cn("text-[var(--chekin-color-brand-blue)]", className)
1947
+ }
1948
+ );
1935
1949
  case "tick-green":
1936
1950
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react8.Check, { ...iconProps, className: cn("text-emerald-600", className) });
1937
1951
  case "x-red":
1938
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react8.X, { ...iconProps, className: cn("text-chekin-red", className) });
1952
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1953
+ import_lucide_react8.X,
1954
+ {
1955
+ ...iconProps,
1956
+ className: cn("text-[var(--chekin-color-brand-red)]", className)
1957
+ }
1958
+ );
1939
1959
  case "clock-grey":
1940
1960
  default:
1941
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react8.Clock, { ...iconProps, className: cn("text-chekin-gray-2", className) });
1961
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1962
+ import_lucide_react8.Clock,
1963
+ {
1964
+ ...iconProps,
1965
+ className: cn("text-[var(--chekin-color-gray-2)]", className)
1966
+ }
1967
+ );
1942
1968
  }
1943
1969
  }
1944
1970
  var variantStyles = {
1945
1971
  neutral: {
1946
- container: "bg-chekin-surface-input-empty",
1947
- text: "text-chekin-gray-2",
1972
+ container: "bg-[var(--chekin-color-surface-input-empty)]",
1973
+ text: "text-[var(--chekin-color-gray-2)]",
1948
1974
  icon: "clock-grey"
1949
1975
  },
1950
1976
  "progress-blue": {
1951
- container: "bg-chekin-surface-autocomplete",
1952
- text: "text-chekin-blue",
1977
+ container: "bg-[var(--chekin-color-surface-autocomplete)]",
1978
+ text: "text-[var(--chekin-color-brand-blue)]",
1953
1979
  icon: "clock-blue"
1954
1980
  },
1955
1981
  "progress-blue-light": {
1956
- container: "bg-chekin-surface-pressed",
1957
- text: "text-chekin-blue",
1982
+ container: "bg-[var(--chekin-color-surface-pressed)]",
1983
+ text: "text-[var(--chekin-color-brand-blue)]",
1958
1984
  icon: "clock-blue"
1959
1985
  },
1960
1986
  "progress-grey": {
1961
- container: "bg-chekin-surface-input-empty",
1962
- text: "text-chekin-gray-2",
1987
+ container: "bg-[var(--chekin-color-surface-input-empty)]",
1988
+ text: "text-[var(--chekin-color-gray-2)]",
1963
1989
  icon: "clock-grey"
1964
1990
  },
1965
1991
  "success-blue": {
1966
- container: "bg-chekin-surface-autocomplete",
1967
- text: "text-chekin-blue",
1992
+ container: "bg-[var(--chekin-color-surface-autocomplete)]",
1993
+ text: "text-[var(--chekin-color-brand-blue)]",
1968
1994
  icon: "tick-blue"
1969
1995
  },
1970
1996
  "success-green": {
@@ -1974,7 +2000,7 @@ var variantStyles = {
1974
2000
  },
1975
2001
  error: {
1976
2002
  container: "bg-red-50",
1977
- text: "text-chekin-red",
2003
+ text: "text-[var(--chekin-color-brand-red)]",
1978
2004
  icon: "x-red"
1979
2005
  }
1980
2006
  };
@@ -3967,9 +3993,9 @@ var import_jsx_runtime50 = require("react/jsx-runtime");
3967
3993
  var switchVariants = (0, import_class_variance_authority7.cva)(
3968
3994
  [
3969
3995
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
3970
- "focus-visible:outline-none focus-visible:shadow-chekin-focus",
3996
+ "focus-visible:outline-none focus-visible:shadow-[var(--chekin-shadow-focus)]",
3971
3997
  "disabled:cursor-not-allowed disabled:opacity-50 aria-busy:cursor-wait aria-busy:opacity-50",
3972
- "data-[state=checked]:bg-chekin-blue data-[state=unchecked]:bg-chekin-gray-2"
3998
+ "data-[state=checked]:bg-[var(--chekin-color-brand-blue)] data-[state=unchecked]:bg-[var(--chekin-color-gray-2)]"
3973
3999
  ],
3974
4000
  {
3975
4001
  variants: {
@@ -4011,7 +4037,7 @@ var Switch = React16.forwardRef(
4011
4037
  {
4012
4038
  ref,
4013
4039
  className: cn(switchVariants({ size, readOnly }), className),
4014
- disabled: props.disabled,
4040
+ disabled: props.disabled && !readOnly,
4015
4041
  ...props,
4016
4042
  id: fieldId,
4017
4043
  onCheckedChange: readOnly ? void 0 : onChange,
@@ -7543,8 +7569,8 @@ function SelectorButton({
7543
7569
  "label",
7544
7570
  {
7545
7571
  className: cn(
7546
- "selector-button box-border flex h-12 min-w-[117px] cursor-pointer select-none items-center rounded-[6px] border border-[#cecede] bg-[#f2f2fa] px-4 text-left text-[15px] font-semibold text-[#9696b9] outline-none transition-all duration-75 ease-in-out hover:border-[#385bf8] active:opacity-100 [&_input]:absolute [&_input]:h-0 [&_input]:w-0 [&_input]:cursor-pointer [&_input]:opacity-0",
7547
- active && "active border-[#385bf8] bg-white text-[#385bf8]",
7572
+ "selector-button box-border flex h-12 min-w-[117px] cursor-pointer select-none items-center rounded-[6px] border border-[#cecede] bg-[#f2f2fa] px-4 text-left text-[15px] font-semibold text-[#9696b9] outline-none transition-all duration-75 ease-in-out hover:border-[var(--chekin-color-brand-blue)] active:opacity-100 [&_input]:absolute [&_input]:h-0 [&_input]:w-0 [&_input]:cursor-pointer [&_input]:opacity-0",
7573
+ active && "active border-[var(--chekin-color-brand-blue)] bg-white text-[var(--chekin-color-brand-blue)]",
7548
7574
  disabled && "disabled cursor-not-allowed opacity-30 hover:border-[#cecede]",
7549
7575
  loading && "loading cursor-progress",
7550
7576
  readOnly && "readOnly cursor-default",
@@ -7689,7 +7715,7 @@ function Separator3({
7689
7715
  decorative,
7690
7716
  orientation,
7691
7717
  className: cn(
7692
- "shrink-0 bg-chekin-gray-separator data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
7718
+ "shrink-0 bg-[var(--chekin-color-gray-separator)] data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
7693
7719
  className
7694
7720
  ),
7695
7721
  ...props
@@ -7742,17 +7768,17 @@ function SheetContent({
7742
7768
  {
7743
7769
  "data-slot": "sheet-content",
7744
7770
  className: cn(
7745
- "fixed z-50 flex flex-col gap-4 bg-white text-chekin-navy shadow-lg transition ease-in-out data-[state=open]:duration-500 data-[state=closed]:duration-300",
7746
- side === "right" && "inset-y-0 right-0 h-full w-3/4 border-l border-chekin-gray-3 data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right sm:max-w-sm",
7747
- side === "left" && "inset-y-0 left-0 h-full w-3/4 border-r border-chekin-gray-3 data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left sm:max-w-sm",
7748
- side === "top" && "inset-x-0 top-0 h-auto border-b border-chekin-gray-3 data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top",
7749
- side === "bottom" && "inset-x-0 bottom-0 h-auto border-t border-chekin-gray-3 data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom",
7771
+ "fixed z-50 flex flex-col gap-4 bg-white text-[var(--chekin-color-brand-navy)] shadow-lg transition ease-in-out data-[state=open]:duration-500 data-[state=closed]:duration-300",
7772
+ side === "right" && "inset-y-0 right-0 h-full w-3/4 border-l border-[var(--chekin-color-gray-3)] data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right sm:max-w-sm",
7773
+ side === "left" && "inset-y-0 left-0 h-full w-3/4 border-r border-[var(--chekin-color-gray-3)] data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left sm:max-w-sm",
7774
+ side === "top" && "inset-x-0 top-0 h-auto border-b border-[var(--chekin-color-gray-3)] data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top",
7775
+ side === "bottom" && "inset-x-0 bottom-0 h-auto border-t border-[var(--chekin-color-gray-3)] data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom",
7750
7776
  className
7751
7777
  ),
7752
7778
  ...props,
7753
7779
  children: [
7754
7780
  children,
7755
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-chekin-small opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-chekin-focus disabled:pointer-events-none", children: [
7781
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--chekin-radius-small)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-[var(--chekin-shadow-focus)] disabled:pointer-events-none", children: [
7756
7782
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react35.XIcon, { className: "size-4" }),
7757
7783
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: "sr-only", children: "Close" })
7758
7784
  ] })
@@ -7789,7 +7815,7 @@ function SheetTitle({
7789
7815
  SheetPrimitive.Title,
7790
7816
  {
7791
7817
  "data-slot": "sheet-title",
7792
- className: cn("font-semibold text-chekin-navy", className),
7818
+ className: cn("font-semibold text-[var(--chekin-color-brand-navy)]", className),
7793
7819
  ...props
7794
7820
  }
7795
7821
  );
@@ -7802,7 +7828,7 @@ function SheetDescription({
7802
7828
  SheetPrimitive.Description,
7803
7829
  {
7804
7830
  "data-slot": "sheet-description",
7805
- className: cn("text-sm text-chekin-gray-1", className),
7831
+ className: cn("text-sm text-[var(--chekin-color-gray-1)]", className),
7806
7832
  ...props
7807
7833
  }
7808
7834
  );
@@ -7860,9 +7886,9 @@ var SidebarIcon = ({
7860
7886
  const highlighted = context?.highlighted ?? highlightedProp ?? false;
7861
7887
  const backgroundClassName = (() => {
7862
7888
  if (isActive) {
7863
- return highlighted ? "bg-chekin-surface-autocomplete" : "bg-chekin-gray-3";
7889
+ return highlighted ? "bg-[var(--chekin-color-surface-autocomplete)]" : "bg-[var(--chekin-color-gray-3)]";
7864
7890
  }
7865
- return highlighted ? "bg-chekin-surface-pressed" : "bg-chekin-surface-input-empty";
7891
+ return highlighted ? "bg-[var(--chekin-color-surface-pressed)]" : "bg-[var(--chekin-color-surface-input-empty)]";
7866
7892
  })();
7867
7893
  return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7868
7894
  "div",
@@ -7870,8 +7896,8 @@ var SidebarIcon = ({
7870
7896
  className: cn(
7871
7897
  "sidebar-icon flex items-center justify-center rounded-[50%] transition-colors ease-in-out",
7872
7898
  backgroundClassName,
7873
- highlighted ? "text-chekin-blue" : "text-chekin-gray-1",
7874
- !isActive && (highlighted ? "group-hover/menu-button:bg-chekin-surface-autocomplete" : "group-hover/menu-button:bg-chekin-gray-3"),
7899
+ highlighted ? "text-[var(--chekin-color-brand-blue)]" : "text-[var(--chekin-color-gray-1)]",
7900
+ !isActive && (highlighted ? "group-hover/menu-button:bg-[var(--chekin-color-surface-autocomplete)]" : "group-hover/menu-button:bg-[var(--chekin-color-gray-3)]"),
7875
7901
  {
7876
7902
  "h-6 w-6 [&>svg]:h-4 [&>svg]:w-4": size === "M",
7877
7903
  "h-8 w-8 [&>svg]:h-5 [&>svg]:w-5": size === "L"
@@ -7983,7 +8009,7 @@ var Sidebar = React25.forwardRef(
7983
8009
  "div",
7984
8010
  {
7985
8011
  className: cn(
7986
- "flex h-full w-[--sidebar-width] flex-col bg-chekin-surface-input-empty text-chekin-navy",
8012
+ "flex h-full w-[--sidebar-width] flex-col bg-[var(--chekin-color-surface-input-empty)] text-[var(--chekin-color-brand-navy)]",
7987
8013
  className
7988
8014
  ),
7989
8015
  ref,
@@ -7999,7 +8025,7 @@ var Sidebar = React25.forwardRef(
7999
8025
  "data-sidebar": "sidebar",
8000
8026
  "data-mobile": "true",
8001
8027
  className: cn(
8002
- "w-[--sidebar-width] bg-chekin-surface-input-empty p-0 text-chekin-navy [&>button]:hidden",
8028
+ "w-[--sidebar-width] bg-[var(--chekin-color-surface-input-empty)] p-0 text-[var(--chekin-color-brand-navy)] [&>button]:hidden",
8003
8029
  className
8004
8030
  ),
8005
8031
  style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
@@ -8019,7 +8045,7 @@ var Sidebar = React25.forwardRef(
8019
8045
  {
8020
8046
  ref,
8021
8047
  "data-testid": "sidebar",
8022
- className: "group peer text-chekin-navy",
8048
+ className: "group peer text-[var(--chekin-color-brand-navy)]",
8023
8049
  "data-state": state,
8024
8050
  "data-collapsible": state === "collapsed" ? collapsible : "",
8025
8051
  "data-variant": variant,
@@ -8050,7 +8076,7 @@ var Sidebar = React25.forwardRef(
8050
8076
  "div",
8051
8077
  {
8052
8078
  "data-sidebar": "sidebar",
8053
- className: "flex h-full w-full flex-col bg-chekin-surface-input-empty group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",
8079
+ className: "flex h-full w-full flex-col bg-[var(--chekin-color-surface-input-empty)] group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",
8054
8080
  children
8055
8081
  }
8056
8082
  )
@@ -8102,10 +8128,10 @@ var SidebarRail = React25.forwardRef(
8102
8128
  onClick: toggleSidebar,
8103
8129
  title: "Toggle Sidebar",
8104
8130
  className: cn(
8105
- "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-chekin-gray-3 group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
8131
+ "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-[var(--chekin-color-gray-3)] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
8106
8132
  "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize",
8107
8133
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
8108
- "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-chekin-surface-input-empty",
8134
+ "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-[var(--chekin-color-surface-input-empty)]",
8109
8135
  "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2 [[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
8110
8136
  className
8111
8137
  ),
@@ -8209,7 +8235,7 @@ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...pro
8209
8235
  ref,
8210
8236
  "data-sidebar": "group-label",
8211
8237
  className: cn(
8212
- "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-chekin-gray-1 outline-none transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
8238
+ "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-[var(--chekin-color-gray-1)] outline-none transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
8213
8239
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
8214
8240
  className
8215
8241
  ),
@@ -8226,7 +8252,7 @@ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...pr
8226
8252
  ref,
8227
8253
  "data-sidebar": "group-action",
8228
8254
  className: cn(
8229
- "absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-chekin-navy outline-none transition-transform hover:bg-chekin-gray-3 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0 after:absolute after:-inset-2 after:sm:hidden group-data-[collapsible=icon]:hidden",
8255
+ "absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-[var(--chekin-color-brand-navy)] outline-none transition-transform hover:bg-[var(--chekin-color-gray-3)] focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0 after:absolute after:-inset-2 after:sm:hidden group-data-[collapsible=icon]:hidden",
8230
8256
  className
8231
8257
  ),
8232
8258
  ...props
@@ -8271,12 +8297,12 @@ var SidebarMenuItem = React25.forwardRef(
8271
8297
  );
8272
8298
  SidebarMenuItem.displayName = "SidebarMenuItem";
8273
8299
  var sidebarMenuButtonVariants = (0, import_class_variance_authority11.cva)(
8274
- "peer/menu-button group/menu-button relative flex min-h-[40px] w-full items-center gap-2 rounded-lg px-2 text-left text-md font-medium capitalize outline-none transition-[width,height,padding,color,background-color] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-10 group-data-[collapsible=icon]:!p-2 [&>*:not(:first-child)]:truncate [&>*:nth-child(2)]:grow [&>svg]:size-4 [&>svg]:shrink-0 data-[active=false]:data-[highlighted=false]:bg-transparent data-[active=false]:data-[highlighted=false]:text-chekin-gray-1 data-[active=false]:data-[highlighted=false]:hover:bg-chekin-surface-input-empty data-[active=false]:data-[highlighted=true]:bg-transparent data-[active=false]:data-[highlighted=true]:hover:bg-chekin-surface-input-empty data-[active=true]:data-[highlighted=false]:bg-chekin-surface-pressed data-[active=true]:data-[highlighted=false]:font-semibold data-[active=true]:data-[highlighted=false]:text-chekin-gray-1 data-[active=true]:data-[highlighted=true]:bg-chekin-surface-pressed data-[active=true]:data-[highlighted=true]:font-semibold data-[active=true]:data-[highlighted=true]:text-chekin-blue",
8300
+ "peer/menu-button group/menu-button relative flex min-h-[40px] w-full items-center gap-2 rounded-lg px-2 text-left text-md font-medium capitalize outline-none transition-[width,height,padding,color,background-color] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-10 group-data-[collapsible=icon]:!p-2 [&>*:not(:first-child)]:truncate [&>*:nth-child(2)]:grow [&>svg]:size-4 [&>svg]:shrink-0 data-[active=false]:data-[highlighted=false]:bg-transparent data-[active=false]:data-[highlighted=false]:text-[var(--chekin-color-gray-1)] data-[active=false]:data-[highlighted=false]:hover:bg-[var(--chekin-color-surface-input-empty)] data-[active=false]:data-[highlighted=true]:bg-transparent data-[active=false]:data-[highlighted=true]:hover:bg-[var(--chekin-color-surface-input-empty)] data-[active=true]:data-[highlighted=false]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:data-[highlighted=false]:font-semibold data-[active=true]:data-[highlighted=false]:text-[var(--chekin-color-gray-1)] data-[active=true]:data-[highlighted=true]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:data-[highlighted=true]:font-semibold data-[active=true]:data-[highlighted=true]:text-[var(--chekin-color-brand-blue)]",
8275
8301
  {
8276
8302
  variants: {
8277
8303
  variant: {
8278
8304
  default: "",
8279
- outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-chekin-surface-input-empty"
8305
+ outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-[var(--chekin-color-surface-input-empty)]"
8280
8306
  },
8281
8307
  size: {
8282
8308
  default: "h-8 text-md",
@@ -8344,7 +8370,7 @@ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOn
8344
8370
  ref,
8345
8371
  "data-sidebar": "menu-action",
8346
8372
  className: cn(
8347
- "absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-chekin-navy outline-none transition-transform hover:bg-chekin-gray-3 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0 after:absolute after:-inset-2 after:sm:hidden peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 group-data-[collapsible=icon]:hidden",
8373
+ "absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-[var(--chekin-color-brand-navy)] outline-none transition-transform hover:bg-[var(--chekin-color-gray-3)] focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0 after:absolute after:-inset-2 after:sm:hidden peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 group-data-[collapsible=icon]:hidden",
8348
8374
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 sm:opacity-0",
8349
8375
  className
8350
8376
  ),
@@ -8364,7 +8390,7 @@ var SidebarMenuBadge = React25.forwardRef(
8364
8390
  "data-sidebar": "menu-badge",
8365
8391
  className: cn(
8366
8392
  isOpen ? "left-auto right-1 h-5 min-w-5" : "absolute bottom-1/2 left-1/2 top-auto h-4 min-w-4",
8367
- "pointer-events-none flex select-none items-center justify-center rounded-md px-1 text-xs font-medium leading-tight text-chekin-gray-1 tabular-nums peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5",
8393
+ "pointer-events-none flex select-none items-center justify-center rounded-md px-1 text-xs font-medium leading-tight text-[var(--chekin-color-gray-1)] tabular-nums peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5",
8368
8394
  className
8369
8395
  ),
8370
8396
  ...props
@@ -8404,7 +8430,7 @@ var SidebarMenuSub = React25.forwardRef(
8404
8430
  ref,
8405
8431
  "data-sidebar": "menu-sub",
8406
8432
  className: cn(
8407
- "ml-6 mr-2 flex min-w-0 flex-col gap-0.5 border-l border-chekin-gray-3 py-1 pl-4 group-data-[collapsible=icon]:hidden",
8433
+ "ml-6 mr-2 flex min-w-0 flex-col gap-0.5 border-l border-[var(--chekin-color-gray-3)] py-1 pl-4 group-data-[collapsible=icon]:hidden",
8408
8434
  className
8409
8435
  ),
8410
8436
  ...props
@@ -8417,12 +8443,12 @@ var SidebarMenuSubItem = React25.forwardRef(
8417
8443
  );
8418
8444
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
8419
8445
  var sidebarMenuSubButtonVariants = (0, import_class_variance_authority11.cva)(
8420
- "flex min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 text-left text-chekin-gray-1 outline-none transition-colors duration-200 hover:bg-chekin-surface-input-empty hover:text-chekin-navy focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-chekin-surface-pressed data-[active=true]:font-medium data-[active=true]:text-chekin-navy group-data-[collapsible=icon]:hidden [&>span:nth-child(2)]:truncate [&>svg]:shrink-0",
8446
+ "flex min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 text-left text-[var(--chekin-color-gray-1)] outline-none transition-colors duration-200 hover:bg-[var(--chekin-color-surface-input-empty)] hover:text-[var(--chekin-color-brand-navy)] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:font-medium data-[active=true]:text-[var(--chekin-color-brand-navy)] group-data-[collapsible=icon]:hidden [&>span:nth-child(2)]:truncate [&>svg]:shrink-0",
8421
8447
  {
8422
8448
  variants: {
8423
8449
  variant: {
8424
8450
  default: "",
8425
- outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-chekin-surface-input-empty"
8451
+ outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-[var(--chekin-color-surface-input-empty)]"
8426
8452
  },
8427
8453
  size: {
8428
8454
  sm: "h-6 px-1.5 py-0.5 text-xs [&>svg]:size-3",
@@ -8586,7 +8612,7 @@ var SmallGridSingleItem = (0, import_react61.memo)(
8586
8612
  onClick: handleClick,
8587
8613
  className: cn(
8588
8614
  "relative flex h-full w-full shrink-0 items-center justify-between gap-4",
8589
- "box-border rounded-md px-5 py-4 text-left text-base font-semibold text-chekin-navy",
8615
+ "box-border rounded-md px-5 py-4 text-left text-base font-semibold text-[var(--chekin-color-brand-navy)]",
8590
8616
  "shadow-[0_0_10px_rgba(111,194,255,0.2)]",
8591
8617
  disabled && "cursor-not-allowed",
8592
8618
  !disabled && onClick && "cursor-pointer",
@@ -8596,7 +8622,7 @@ var SmallGridSingleItem = (0, import_react61.memo)(
8596
8622
  children: [
8597
8623
  /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { children: [
8598
8624
  /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8599
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-chekin-gray-2", children: subtitle })
8625
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-[var(--chekin-color-gray-2)]", children: subtitle })
8600
8626
  ] }),
8601
8627
  !readOnly && /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "flex h-full items-center justify-end gap-2", children: [
8602
8628
  onDelete && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
@@ -8606,12 +8632,12 @@ var SmallGridSingleItem = (0, import_react61.memo)(
8606
8632
  onClick: onDelete,
8607
8633
  size: "icon",
8608
8634
  variant: "outline",
8609
- children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react37.Trash2, { className: "h-5 w-5 text-chekin-red" })
8635
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react37.Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8610
8636
  }
8611
8637
  ),
8612
- onEdit && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react37.Pencil, { className: "h-5 w-5 text-chekin-blue" }) })
8638
+ onEdit && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react37.Pencil, { className: "h-5 w-5 text-[var(--chekin-color-brand-blue)]" }) })
8613
8639
  ] }),
8614
- error && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "absolute bottom-1 right-2 text-xs text-chekin-red", children: error })
8640
+ error && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8615
8641
  ]
8616
8642
  }
8617
8643
  );
@@ -8638,18 +8664,19 @@ function SortingAction({
8638
8664
  {
8639
8665
  type: "button",
8640
8666
  className: cn(
8641
- "group/trigger cursor-pointer rounded-sm p-0.5 hover:bg-chekin-surface-input-empty",
8667
+ "group/trigger cursor-pointer rounded-sm p-0.5 hover:bg-[var(--chekin-color-surface-input-empty)]",
8642
8668
  className
8643
8669
  ),
8644
8670
  "aria-label": "Open sorting menu",
8645
- children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_lucide_react38.ArrowDownUpIcon, { className: "h-4 w-4 text-chekin-gray-1 group-hover/trigger:text-chekin-navy" })
8671
+ children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_lucide_react38.ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8646
8672
  }
8647
8673
  ) }),
8648
8674
  /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8649
8675
  /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
8650
8676
  DropdownMenuItem,
8651
8677
  {
8652
- className: cn(value === "asc" && "bg-chekin-surface-pressed text-chekin-blue"),
8678
+ active: value === "asc",
8679
+ className: cn(value === "asc" && "text-[var(--chekin-color-brand-blue)]"),
8653
8680
  onClick: () => onSortChange?.("asc"),
8654
8681
  children: [
8655
8682
  /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_lucide_react38.ArrowUp, { className: "h-4 w-4" }),
@@ -8660,7 +8687,8 @@ function SortingAction({
8660
8687
  /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
8661
8688
  DropdownMenuItem,
8662
8689
  {
8663
- className: cn(value === "desc" && "bg-chekin-surface-pressed text-chekin-blue"),
8690
+ active: value === "desc",
8691
+ className: cn(value === "desc" && "text-[var(--chekin-color-brand-blue)]"),
8664
8692
  onClick: () => onSortChange?.("desc"),
8665
8693
  children: [
8666
8694
  /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_lucide_react38.ArrowDown, { className: "h-4 w-4" }),
@@ -8808,8 +8836,8 @@ function Stepper({
8808
8836
  "span",
8809
8837
  {
8810
8838
  className: cn(
8811
- "h-1.5 min-h-px min-w-px flex-1 rounded-[1000px] bg-chekin-gray-3",
8812
- isActive && "bg-chekin-blue"
8839
+ "h-1.5 min-h-px min-w-px flex-1 rounded-[1000px] bg-[var(--chekin-color-gray-3)]",
8840
+ isActive && "bg-[var(--chekin-color-brand-blue)]"
8813
8841
  )
8814
8842
  },
8815
8843
  stepNumber
@@ -8867,7 +8895,7 @@ var SwitchGroup = React27.forwardRef(
8867
8895
  Label,
8868
8896
  {
8869
8897
  className: cn(
8870
- "text-md cursor-pointer font-medium text-chekin-navy",
8898
+ "text-md cursor-pointer font-medium text-[var(--chekin-color-brand-navy)]",
8871
8899
  (disabled || option.disabled) && "opacity-50"
8872
8900
  ),
8873
8901
  children: [
@@ -8876,7 +8904,7 @@ var SwitchGroup = React27.forwardRef(
8876
8904
  "span",
8877
8905
  {
8878
8906
  className: cn(
8879
- "mt-1 block text-sm font-normal text-chekin-gray-1",
8907
+ "mt-1 block text-sm font-normal text-[var(--chekin-color-gray-1)]",
8880
8908
  (disabled || option.disabled) && "opacity-50"
8881
8909
  ),
8882
8910
  children: [
@@ -8914,8 +8942,8 @@ var Tabs = TabsPrimitive2.Root;
8914
8942
  var tabsListVariants = (0, import_class_variance_authority12.cva)("inline-flex items-center", {
8915
8943
  variants: {
8916
8944
  variant: {
8917
- default: "h-10 justify-center rounded-md bg-chekin-surface-input-empty p-1 text-chekin-gray-1",
8918
- underlined: "gap-6 border-b border-chekin-gray-3"
8945
+ default: "h-10 justify-center rounded-md bg-[var(--chekin-color-surface-input-empty)] p-1 text-[var(--chekin-color-gray-1)]",
8946
+ underlined: "gap-6 border-b border-[var(--chekin-color-gray-3)]"
8919
8947
  }
8920
8948
  },
8921
8949
  defaultVariants: {
@@ -8938,8 +8966,8 @@ var tabsTriggerVariants = (0, import_class_variance_authority12.cva)(
8938
8966
  {
8939
8967
  variants: {
8940
8968
  variant: {
8941
- default: "rounded-sm px-3 py-1.5 text-sm font-medium focus-visible:shadow-chekin-focus data-[state=active]:bg-white data-[state=active]:text-chekin-navy data-[state=active]:shadow-sm",
8942
- underlined: "-mb-px border-b-[3px] border-transparent py-2 text-base font-medium text-chekin-gray-1 data-[state=active]:border-chekin-blue data-[state=active]:font-semibold data-[state=active]:text-chekin-blue"
8969
+ default: "rounded-sm px-3 py-1.5 text-sm font-medium focus-visible:shadow-[var(--chekin-shadow-focus)] data-[state=active]:bg-[var(--chekin-color-white)] data-[state=active]:text-[var(--chekin-color-brand-navy)] data-[state=active]:shadow-sm",
8970
+ underlined: "-mb-px border-b-[3px] border-transparent py-2 text-base font-medium text-[var(--chekin-color-gray-1)] data-[state=active]:border-[var(--chekin-color-brand-blue)] data-[state=active]:font-semibold data-[state=active]:text-[var(--chekin-color-brand-blue)]"
8943
8971
  }
8944
8972
  },
8945
8973
  defaultVariants: {
@@ -8974,12 +9002,12 @@ function TabbedSection({
8974
9002
  const contentContainerClassName = variant === "material" ? cn(
8975
9003
  "border-0 bg-transparent p-0 pt-6 shadow-none",
8976
9004
  "[&>div:first-child]:flex [&>div:first-child]:flex-col",
8977
- "[&>div:first-child]:gap-chekin-3",
9005
+ "[&>div:first-child]:gap-3",
8978
9006
  className
8979
9007
  ) : cn(
8980
- "rounded-b-md border border-t-0 border-chekin-gray-3 bg-white p-6 shadow-none",
9008
+ "rounded-b-md border border-t-0 border-[var(--chekin-color-gray-3)] bg-[var(--chekin-color-white)] p-6 shadow-none",
8981
9009
  "[&>div:first-child]:flex [&>div:first-child]:flex-col",
8982
- "[&>div:first-child]:gap-chekin-3",
9010
+ "[&>div:first-child]:gap-3",
8983
9011
  className
8984
9012
  );
8985
9013
  return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
@@ -9055,14 +9083,14 @@ function TaskCard({
9055
9083
  {
9056
9084
  className: cn(
9057
9085
  "relative w-1 shrink-0 self-stretch rounded-sm",
9058
- eventType === "error" && "bg-chekin-red",
9086
+ eventType === "error" && "bg-[var(--chekin-color-brand-red)]",
9059
9087
  eventType === "warning" && "bg-amber-500"
9060
9088
  )
9061
9089
  }
9062
9090
  ),
9063
9091
  /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
9064
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-chekin-navy", children: title }),
9065
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("p", { className: "m-0 w-full text-sm font-medium leading-6 text-chekin-gray-1", children: description })
9092
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
9093
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
9066
9094
  ] }),
9067
9095
  shouldShowActions && /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex shrink-0 items-center gap-1", children: [
9068
9096
  shouldShowCount && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
@@ -9070,7 +9098,7 @@ function TaskCard({
9070
9098
  {
9071
9099
  className: cn(
9072
9100
  'relative flex h-6 w-6 items-center justify-center rounded-full text-center text-sm font-semibold leading-6 before:absolute before:inset-0 before:rounded-full before:mix-blend-multiply before:content-[""]',
9073
- eventType === "error" && "text-chekin-red before:bg-red-100",
9101
+ eventType === "error" && "text-[var(--chekin-color-brand-red)] before:bg-red-100",
9074
9102
  eventType === "warning" && "text-amber-700 before:bg-amber-100"
9075
9103
  ),
9076
9104
  children: count
@@ -9079,7 +9107,7 @@ function TaskCard({
9079
9107
  onClick && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9080
9108
  "button",
9081
9109
  {
9082
- className: "flex h-8 w-0 min-w-0 cursor-pointer items-center justify-center overflow-hidden rounded-md border-0 bg-transparent p-0 text-chekin-gray-1 opacity-0 transition-[width,opacity,min-width] duration-300 ease-in-out hover:bg-black/5 focus-visible:w-8 focus-visible:min-w-8 focus-visible:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-chekin-blue group-hover:w-8 group-hover:min-w-8 group-hover:opacity-100",
9110
+ className: "flex h-8 w-0 min-w-0 cursor-pointer items-center justify-center overflow-hidden rounded-md border-0 bg-transparent p-0 text-[var(--chekin-color-gray-1)] opacity-0 transition-[width,opacity,min-width] duration-300 ease-in-out hover:bg-black/5 focus-visible:w-8 focus-visible:min-w-8 focus-visible:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--chekin-color-brand-blue)] group-hover:w-8 group-hover:min-w-8 group-hover:opacity-100",
9083
9111
  onClick: (event) => {
9084
9112
  event.stopPropagation();
9085
9113
  onClick?.();
@@ -9147,12 +9175,12 @@ var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
9147
9175
  // src/toggle-group/style.ts
9148
9176
  var import_class_variance_authority13 = require("class-variance-authority");
9149
9177
  var toggleVariants = (0, import_class_variance_authority13.cva)(
9150
- "inline-flex select-none items-center justify-center rounded-md text-sm font-medium transition-all duration-75 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-chekin-blue focus-visible:ring-offset-2 disabled:pointer-events-none disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
9178
+ "inline-flex select-none items-center justify-center rounded-md text-sm font-medium transition-all duration-75 ease-in-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--chekin-color-brand-blue)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
9151
9179
  {
9152
9180
  variants: {
9153
9181
  variant: {
9154
- default: "border border-chekin-gray-3 bg-chekin-surface-input-empty font-semibold text-chekin-gray-1 hover:border-chekin-blue data-[state=on]:border-chekin-blue data-[state=on]:bg-white data-[state=on]:text-chekin-blue",
9155
- tab: "border border-transparent bg-transparent font-medium text-chekin-gray-1 hover:bg-chekin-blue hover:text-white hover:opacity-35 data-[state=on]:cursor-default data-[state=on]:border-chekin-blue data-[state=on]:bg-chekin-blue data-[state=on]:font-semibold data-[state=on]:text-white data-[state=on]:shadow-[0px_3px_4px_0px_rgba(1,2,3,0.10)] data-[state=on]:hover:opacity-100"
9182
+ default: "border border-[var(--chekin-color-gray-3)] bg-[var(--chekin-color-surface-input-empty)] font-semibold text-[var(--chekin-color-gray-1)] hover:border-[var(--chekin-color-brand-blue)] data-[state=on]:border-[var(--chekin-color-brand-blue)] data-[state=on]:bg-[var(--chekin-color-white)] data-[state=on]:text-[var(--chekin-color-brand-blue)]",
9183
+ tab: "border border-transparent bg-transparent font-medium text-[var(--chekin-color-gray-1)] hover:bg-[var(--chekin-color-brand-blue)] hover:text-[var(--chekin-color-white)] hover:opacity-35 data-[state=on]:cursor-default data-[state=on]:border-[var(--chekin-color-brand-blue)] data-[state=on]:bg-[var(--chekin-color-brand-blue)] data-[state=on]:font-semibold data-[state=on]:text-[var(--chekin-color-white)] data-[state=on]:shadow-[0px_3px_4px_0px_rgba(1,2,3,0.10)] data-[state=on]:hover:opacity-100"
9156
9184
  },
9157
9185
  size: {
9158
9186
  default: "h-12 min-w-[117px] px-4 text-[15px]",
@@ -9162,7 +9190,7 @@ var toggleVariants = (0, import_class_variance_authority13.cva)(
9162
9190
  },
9163
9191
  theme: {
9164
9192
  default: "",
9165
- "sky-blue": "data-[state=on]:bg-chekin-surface-autocomplete data-[state=off]:hover:border-transparent data-[state=off]:hover:bg-chekin-surface-input-empty"
9193
+ "sky-blue": "data-[state=on]:bg-[var(--chekin-color-surface-autocomplete)] data-[state=off]:hover:border-transparent data-[state=off]:hover:bg-[var(--chekin-color-surface-input-empty)]"
9166
9194
  }
9167
9195
  },
9168
9196
  defaultVariants: {
@@ -9188,7 +9216,7 @@ var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, childre
9188
9216
  ref,
9189
9217
  className: cn(
9190
9218
  "flex items-center justify-center",
9191
- isTabVariant ? "h-auto max-h-none w-fit flex-wrap gap-[2px] rounded-md border border-chekin-gray-3 bg-chekin-surface-input-empty p-[2px]" : "w-full flex-wrap gap-[10px]",
9219
+ isTabVariant ? "h-auto max-h-none w-fit flex-wrap gap-[2px] rounded-md border border-[var(--chekin-color-gray-3)] bg-[var(--chekin-color-surface-input-empty)] p-[2px]" : "w-full flex-wrap gap-[10px]",
9192
9220
  className
9193
9221
  ),
9194
9222
  ...props,
@@ -9311,7 +9339,7 @@ function TogglesInternal({
9311
9339
  ...multiple ? { type: "multiple", value: currentValue } : { type: "single", value: currentValue[0] ?? "" }
9312
9340
  };
9313
9341
  return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { ref, className, children: [
9314
- label && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "select-none text-base font-normal text-chekin-navy", children: label }) }),
9342
+ label && /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "select-none text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
9315
9343
  /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
9316
9344
  const isSelected = getValueArray2(value).includes(option.value);
9317
9345
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
@@ -9344,11 +9372,19 @@ var EndIcon = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("
9344
9372
 
9345
9373
  // src/text-field/FieldError.tsx
9346
9374
  var import_jsx_runtime120 = require("react/jsx-runtime");
9347
- var FieldError = ({ id, children }) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("p", { id, className: "mt-1 text-right text-xs font-medium text-chekin-red", role: "alert", children });
9375
+ var FieldError = ({ id, children }) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
9376
+ "p",
9377
+ {
9378
+ id,
9379
+ className: "mt-1 text-right text-xs font-medium text-[var(--chekin-color-brand-red)]",
9380
+ role: "alert",
9381
+ children
9382
+ }
9383
+ );
9348
9384
 
9349
9385
  // src/text-field/SupportingText.tsx
9350
9386
  var import_jsx_runtime121 = require("react/jsx-runtime");
9351
- var SupportingText = ({ id, children }) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("p", { id, className: "mt-1 text-xs italic text-chekin-gray-2", children });
9387
+ var SupportingText = ({ id, children }) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
9352
9388
 
9353
9389
  // src/text-field/TextField.tsx
9354
9390
  var import_jsx_runtime122 = require("react/jsx-runtime");
@@ -9529,8 +9565,8 @@ var TextField = React29.forwardRef(
9529
9565
  }
9530
9566
  ),
9531
9567
  optional && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("span", { className: "text-base leading-4", children: [
9532
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { className: "text-chekin-navy", children: "- " }),
9533
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { className: "italic text-chekin-gray-2", children: optionalLabel || t("optional") })
9568
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9569
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9534
9570
  ] }),
9535
9571
  tooltip
9536
9572
  ] }),
@@ -9688,15 +9724,15 @@ function UploadedFilesList({
9688
9724
  return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)(
9689
9725
  "div",
9690
9726
  {
9691
- className: "flex cursor-default items-center gap-2 rounded border border-chekin-gray-2 bg-chekin-surface-pressed py-1.5 pl-3 pr-1.5",
9727
+ 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",
9692
9728
  children: [
9693
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("span", { className: "text-nowrap text-sm font-medium leading-5 text-chekin-navy", children: file.name }),
9729
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9694
9730
  /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
9695
9731
  "button",
9696
9732
  {
9697
9733
  type: "button",
9698
9734
  onClick: () => onRemoveFile(file.name),
9699
- className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-chekin-gray-1 transition-all hover:shadow-md active:opacity-95",
9735
+ 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",
9700
9736
  "aria-label": `Remove ${file.name}`,
9701
9737
  children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_lucide_react42.X, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9702
9738
  }
@@ -9715,7 +9751,7 @@ function WideButton({ className, disabled, ...props }) {
9715
9751
  {
9716
9752
  variant: "ghost",
9717
9753
  className: cn(
9718
- "min-h-[84px] w-full max-w-[712px] flex-row justify-center bg-chekin-surface-pressed shadow-none",
9754
+ "min-h-[84px] w-full max-w-[712px] flex-row justify-center bg-[var(--chekin-color-surface-pressed)] shadow-none",
9719
9755
  "transition-all duration-[70ms] ease-in-out hover:opacity-70",
9720
9756
  disabled && "opacity-10",
9721
9757
  className
@@ -10698,7 +10734,7 @@ var FieldTrigger = React32.forwardRef(
10698
10734
  className: cn(
10699
10735
  "absolute left-0 origin-left truncate transition-all duration-200 ease-out",
10700
10736
  hasLabelMeta ? "" : "pointer-events-none",
10701
- 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",
10702
10738
  hasInvalidState ? "text-[var(--error-message-color)]" : isAirbnbVariant ? "text-[#6c6c6c]" : "text-[#7A8399]"
10703
10739
  ),
10704
10740
  children: animatedLabel