@chekinapp/ui 0.0.36 → 0.0.38

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
@@ -11,7 +11,6 @@ function cn(...inputs) {
11
11
  }
12
12
 
13
13
  // src/accordion/Accordion.tsx
14
- import styles from "./Accordion.module-5SXQLE6L.module.css";
15
14
  import { jsx, jsxs } from "react/jsx-runtime";
16
15
  var Accordion = AccordionPrimitive.Root;
17
16
  var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
@@ -20,8 +19,7 @@ var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
20
19
  ref,
21
20
  className: cn(
22
21
  "accordion__item",
23
- "transition-colors duration-200 ease-in-out",
24
- styles.accordion__item,
22
+ "rounded-[var(--accordion-item-radius)] border border-solid border-[var(--accordion-item-border)] bg-[var(--accordion-item-bg)] shadow-[0_0_10px_0_rgba(143,143,143,0.2)] transition-colors duration-200 ease-in-out [border-top-color:var(--accordion-item-divider)] data-[state=open]:bg-[var(--accordion-item-open-bg)] data-[state=closed]:bg-[var(--accordion-item-bg)] data-[state=closed]:hover:bg-[var(--accordion-item-hover-bg)]",
25
23
  className
26
24
  ),
27
25
  ...props
@@ -39,7 +37,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
39
37
  "accordion__trigger",
40
38
  "flex h-auto w-full flex-1 items-center justify-between text-left outline-none transition-colors duration-200",
41
39
  "hover:no-underline disabled:pointer-events-none",
42
- styles.accordion__trigger,
40
+ "gap-[var(--accordion-trigger-gap)] p-6 text-lg leading-7 text-[var(--accordion-trigger-color)] [font-family:var(--accordion-trigger-font-family)] [font-weight:var(--accordion-trigger-font-weight)] focus-visible:shadow-[var(--accordion-trigger-focus-shadow)] disabled:opacity-[var(--accordion-trigger-disabled-opacity)]",
43
41
  "group",
44
42
  className
45
43
  ),
@@ -51,8 +49,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
51
49
  {
52
50
  className: cn(
53
51
  "accordion__icon",
54
- styles.accordion__icon,
55
- "shrink-0 rounded-full p-0.5",
52
+ "ml-auto h-[var(--accordion-icon-size)] w-4 min-w-0 shrink-0 rounded-full p-0.5 text-[var(--accordion-icon-color-closed)] group-data-[state=open]:text-[var(--accordion-icon-color-open)] [&_svg]:h-[var(--accordion-icon-size)] [&_svg]:w-[var(--accordion-icon-size)] [&_svg]:transition-transform [&_svg]:duration-200",
56
53
  "transition-colors duration-200",
57
54
  "relative"
58
55
  ),
@@ -96,30 +93,19 @@ var AccordionContent = React.forwardRef(({ className, contentClassName, children
96
93
  "transition-all",
97
94
  "data-[state=closed]:animate-accordion-up",
98
95
  "data-[state=open]:animate-accordion-down",
99
- styles.accordion__content,
96
+ "text-[length:var(--accordion-content-font-size)] leading-[var(--accordion-content-line-height)] text-[var(--accordion-content-color)] data-[state=closed]:block",
100
97
  // TODO Uncomment the next line when dropdown position is fixed
101
98
  // 'overflow-hidden',
102
99
  className
103
100
  ),
104
101
  ...props,
105
- children: /* @__PURE__ */ jsx(
106
- "div",
107
- {
108
- className: cn(
109
- "accordion__contentItem",
110
- styles.accordion__contentItem,
111
- contentClassName
112
- ),
113
- children
114
- }
115
- )
102
+ children: /* @__PURE__ */ jsx("div", { className: cn("accordion__contentItem px-6 pb-6 pt-2", contentClassName), children })
116
103
  }
117
104
  ));
118
105
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
119
106
 
120
107
  // src/alert-box/AlertBox.tsx
121
108
  import { AlertCircle, Check, TriangleAlert, XCircle } from "lucide-react";
122
- import styles2 from "./AlertBox.module-PL4N3ELX.module.css";
123
109
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
124
110
  var AlertType = /* @__PURE__ */ ((AlertType2) => {
125
111
  AlertType2["INFO"] = "INFO";
@@ -148,10 +134,10 @@ var sizeClasses = {
148
134
  ["L" /* L */]: "px-6 py-5 items-start"
149
135
  };
150
136
  var typeStyles = {
151
- ["INFO" /* INFO */]: styles2["alertBox--info"],
152
- ["WARNING" /* WARNING */]: styles2["alertBox--warning"],
153
- ["ERROR" /* ERROR */]: styles2["alertBox--error"],
154
- ["SUCCESS" /* SUCCESS */]: styles2["alertBox--success"],
137
+ ["INFO" /* INFO */]: "bg-[var(--alert-box-info-bg)] [&_svg]:text-[var(--alert-box-info-icon)]",
138
+ ["WARNING" /* WARNING */]: "bg-[var(--alert-box-warning-bg)] [&_svg]:text-[var(--alert-box-warning-icon)]",
139
+ ["ERROR" /* ERROR */]: "bg-[var(--alert-box-error-bg)] [&_svg]:text-[var(--alert-box-error-icon)]",
140
+ ["SUCCESS" /* SUCCESS */]: "bg-[var(--alert-box-success-bg)] text-[var(--alert-box-success-text)] [&_svg]:text-[var(--alert-box-success-icon)]",
155
141
  ["LIGHT" /* LIGHT */]: ""
156
142
  };
157
143
  function AlertBox({
@@ -168,8 +154,7 @@ function AlertBox({
168
154
  {
169
155
  "data-slot": "alert-box",
170
156
  className: cn(
171
- styles2.alertBox,
172
- "flex gap-3 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0",
157
+ "flex gap-3 rounded-[var(--alert-box-radius)] [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0",
173
158
  sizeClasses[size],
174
159
  typeStyles[type],
175
160
  className
@@ -188,7 +173,6 @@ var AlertSizes = AlertSize;
188
173
  // src/audio-player/AudioPlayer.tsx
189
174
  import { useCallback, useEffect, useRef, useState } from "react";
190
175
  import { Pause, Play } from "lucide-react";
191
- import styles3 from "./AudioPlayer.module-RDUQ533M.module.css";
192
176
  import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
193
177
  function formatTime(seconds) {
194
178
  const mins = Math.floor(seconds / 60);
@@ -252,8 +236,7 @@ function AudioPlayer({ src, compact, className }) {
252
236
  {
253
237
  type: "button",
254
238
  className: cn(
255
- styles3.playButton,
256
- "inline-flex items-center justify-center",
239
+ "inline-flex items-center justify-center rounded-[var(--audio-player-button-radius)] bg-[var(--audio-player-button-bg)] hover:bg-[var(--audio-player-button-hover-bg)] [&_svg]:text-[var(--audio-player-icon-color)]",
257
240
  compact ? "h-6 min-w-6 p-1" : "h-8 min-w-8 p-1.5"
258
241
  ),
259
242
  onClick: togglePlayPause,
@@ -265,24 +248,18 @@ function AudioPlayer({ src, compact, className }) {
265
248
  "div",
266
249
  {
267
250
  ref: progressRef,
268
- className: cn(
269
- styles3.track,
270
- "h-1 flex-1 cursor-pointer overflow-hidden rounded-full"
271
- ),
251
+ className: "h-1 flex-1 cursor-pointer overflow-hidden rounded-full bg-[var(--audio-player-track-bg)]",
272
252
  onClick: handleSeek,
273
253
  children: /* @__PURE__ */ jsx3(
274
254
  "div",
275
255
  {
276
- className: cn(
277
- styles3.progress,
278
- "h-full transition-all duration-100 ease-linear"
279
- ),
256
+ className: "h-full bg-[var(--audio-player-progress-bg)] transition-all duration-100 ease-linear",
280
257
  style: { width: `${progress}%` }
281
258
  }
282
259
  )
283
260
  }
284
261
  ),
285
- /* @__PURE__ */ jsx3("span", { className: cn(styles3.time, "min-w-10 text-xs font-medium"), children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
262
+ /* @__PURE__ */ jsx3("span", { className: "min-w-10 text-xs font-medium text-[var(--audio-player-time-color)]", children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
286
263
  ] })
287
264
  ] });
288
265
  }
@@ -291,7 +268,6 @@ AudioPlayer.displayName = "AudioPlayer";
291
268
  // src/avatar/Avatar.tsx
292
269
  import * as React2 from "react";
293
270
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
294
- import styles4 from "./Avatar.module-VPJKIZT3.module.css";
295
271
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
296
272
  var sizeClasses2 = {
297
273
  sm: "h-8 w-8",
@@ -323,7 +299,7 @@ var Avatar = React2.forwardRef(({ className, src, alt, fallback, size = "md", fa
323
299
  {
324
300
  className: cn(
325
301
  "flex h-full w-full items-center justify-center rounded-full font-medium",
326
- !fallbackClassName && styles4.fallback,
302
+ !fallbackClassName && "bg-[var(--avatar-fallback-bg)] text-[var(--avatar-fallback-text)]",
327
303
  fallbackClassName
328
304
  ),
329
305
  children: fallback
@@ -376,7 +352,6 @@ Badge.displayName = "Badge";
376
352
 
377
353
  // src/beta-badge/BetaBadge.tsx
378
354
  import { useTranslation } from "react-i18next";
379
- import styles5 from "./BetaBadge.module-W2AGK53A.module.css";
380
355
  import { jsxs as jsxs5 } from "react/jsx-runtime";
381
356
  function BetaBadge({
382
357
  className,
@@ -391,9 +366,8 @@ function BetaBadge({
391
366
  {
392
367
  "data-slot": "beta-badge",
393
368
  className: cn(
394
- styles5.betaBadge,
395
- "rounded-sm px-2 py-1 text-sm/4 font-semibold uppercase",
396
- readOnly && styles5["betaBadge--readonly"],
369
+ "rounded-sm bg-[var(--beta-badge-bg)] px-2 py-1 text-sm/4 font-semibold uppercase text-[var(--beta-badge-text)]",
370
+ readOnly && "bg-[var(--beta-badge-readonly-bg)] text-[var(--beta-badge-readonly-text)]",
397
371
  className
398
372
  ),
399
373
  ...props,
@@ -484,7 +458,6 @@ BookmarkTabsTrigger.displayName = "BookmarkTabsTrigger";
484
458
  // src/box-option-selector/BoxOptionSelector.tsx
485
459
  import { forwardRef as forwardRef4, useEffect as useEffect2, useState as useState2 } from "react";
486
460
  import { useTranslation as useTranslation2 } from "react-i18next";
487
- import styles6 from "./BoxOptionSelector.module-24AKP2OJ.module.css";
488
461
  import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
489
462
  var BoxOptionSelector = forwardRef4(
490
463
  ({
@@ -520,9 +493,8 @@ var BoxOptionSelector = forwardRef4(
520
493
  ref,
521
494
  "data-slot": "box-option-selector",
522
495
  className: cn(
523
- styles6.boxOption,
524
- "flex min-h-[116px] w-full max-w-[400px] cursor-pointer flex-col gap-4 rounded-lg border p-4 transition-all duration-200",
525
- isSelected && styles6["boxOption--selected"],
496
+ "flex min-h-[116px] w-full max-w-[400px] cursor-pointer flex-col gap-4 rounded-lg border border-[var(--box-option-border)] bg-[var(--box-option-bg)] p-4 transition-all duration-200 hover:bg-[var(--box-option-hover-bg)]",
497
+ isSelected && "border-[var(--box-option-selected-border)] bg-[var(--box-option-selected-bg)] hover:bg-[var(--box-option-selected-bg)]",
526
498
  disabled && "cursor-not-allowed opacity-50"
527
499
  ),
528
500
  onClick: handleClick,
@@ -830,8 +802,10 @@ function Spinner() {
830
802
  "path",
831
803
  {
832
804
  className: "opacity-75",
833
- fill: "currentColor",
834
- d: "M4 12a8 8 0 0 1 8-8v4a4 4 0 0 0-4 4H4z"
805
+ stroke: "currentColor",
806
+ strokeWidth: "4",
807
+ strokeLinecap: "round",
808
+ d: "M12 2a10 10 0 0 1 10 10"
835
809
  }
836
810
  )
837
811
  ]
@@ -1219,8 +1193,8 @@ function TooltipContent({
1219
1193
  "origin-[var(--radix-tooltip-content-transform-origin)] z-50 w-fit text-balance",
1220
1194
  "rounded-md px-4 py-2 text-sm font-medium",
1221
1195
  {
1222
- "bg-white text-chekin-navy shadow-[0_0_10px_0_rgba(143,143,143,0.30)]": variant === "light",
1223
- "bg-chekin-navy text-white": variant === "dark"
1196
+ "bg-[var(--chekin-color-white)] text-[var(--chekin-color-brand-navy)] shadow-[0_0_10px_0_rgba(143,143,143,0.30)]": variant === "light",
1197
+ "bg-[var(--chekin-color-brand-navy)] text-[var(--chekin-color-white)]": variant === "dark"
1224
1198
  },
1225
1199
  className
1226
1200
  ),
@@ -1233,8 +1207,8 @@ function TooltipContent({
1233
1207
  className: cn(
1234
1208
  "z-50 size-3 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",
1235
1209
  {
1236
- "bg-white fill-white": variant === "light",
1237
- "bg-chekin-navy fill-chekin-navy": variant === "dark"
1210
+ "bg-[var(--chekin-color-white)] fill-[var(--chekin-color-white)]": variant === "light",
1211
+ "bg-[var(--chekin-color-brand-navy)] fill-[var(--chekin-color-brand-navy)]": variant === "dark"
1238
1212
  }
1239
1213
  )
1240
1214
  }
@@ -1493,15 +1467,14 @@ function ScrollBar({
1493
1467
  }
1494
1468
 
1495
1469
  // src/error-message/ErrorMessage.tsx
1496
- import styles7 from "./styles.module-VIYXJAAX.module.css";
1497
1470
  import { jsx as jsx21 } from "react/jsx-runtime";
1498
1471
  function ErrorMessage({ className, children, disabled }) {
1499
1472
  return /* @__PURE__ */ jsx21(
1500
1473
  "div",
1501
1474
  {
1502
1475
  className: cn(
1503
- styles7.ErrorMessage,
1504
- disabled && styles7.ErrorMessage__disabled,
1476
+ "mt-0.5 text-left text-sm font-medium text-[var(--error-message-color)]",
1477
+ disabled && "opacity-30",
1505
1478
  className
1506
1479
  ),
1507
1480
  children
@@ -1617,42 +1590,66 @@ function StatusBadgeIcon({ variant, className }) {
1617
1590
  };
1618
1591
  switch (variant) {
1619
1592
  case "clock-blue":
1620
- return /* @__PURE__ */ jsx23(Clock, { ...iconProps, className: cn("text-chekin-blue", className) });
1593
+ return /* @__PURE__ */ jsx23(
1594
+ Clock,
1595
+ {
1596
+ ...iconProps,
1597
+ className: cn("text-[var(--chekin-color-brand-blue)]", className)
1598
+ }
1599
+ );
1621
1600
  case "tick-blue":
1622
- return /* @__PURE__ */ jsx23(Check4, { ...iconProps, className: cn("text-chekin-blue", className) });
1601
+ return /* @__PURE__ */ jsx23(
1602
+ Check4,
1603
+ {
1604
+ ...iconProps,
1605
+ className: cn("text-[var(--chekin-color-brand-blue)]", className)
1606
+ }
1607
+ );
1623
1608
  case "tick-green":
1624
1609
  return /* @__PURE__ */ jsx23(Check4, { ...iconProps, className: cn("text-emerald-600", className) });
1625
1610
  case "x-red":
1626
- return /* @__PURE__ */ jsx23(X, { ...iconProps, className: cn("text-chekin-red", className) });
1611
+ return /* @__PURE__ */ jsx23(
1612
+ X,
1613
+ {
1614
+ ...iconProps,
1615
+ className: cn("text-[var(--chekin-color-brand-red)]", className)
1616
+ }
1617
+ );
1627
1618
  case "clock-grey":
1628
1619
  default:
1629
- return /* @__PURE__ */ jsx23(Clock, { ...iconProps, className: cn("text-chekin-gray-2", className) });
1620
+ return /* @__PURE__ */ jsx23(
1621
+ Clock,
1622
+ {
1623
+ ...iconProps,
1624
+ className: cn("text-[var(--chekin-color-gray-2)]", className)
1625
+ }
1626
+ );
1630
1627
  }
1631
1628
  }
1632
1629
  var variantStyles = {
1633
1630
  neutral: {
1634
- container: "bg-chekin-surface-input-empty",
1635
- text: "text-chekin-gray-2",
1631
+ container: "bg-[var(--chekin-color-surface-input-empty)]",
1632
+ text: "text-[var(--chekin-color-gray-2)]",
1636
1633
  icon: "clock-grey"
1637
1634
  },
1638
1635
  "progress-blue": {
1639
- container: "bg-chekin-surface-autocomplete",
1640
- text: "text-chekin-blue",
1636
+ container: "bg-[var(--chekin-color-surface-autocomplete)]",
1637
+ text: "text-[var(--chekin-color-brand-blue)]",
1641
1638
  icon: "clock-blue"
1642
1639
  },
1643
1640
  "progress-blue-light": {
1644
- container: "bg-chekin-surface-pressed",
1645
- text: "text-chekin-blue",
1641
+ container: "bg-[var(--chekin-color-surface-pressed)]",
1642
+ text: "text-[var(--chekin-color-brand-blue)]",
1646
1643
  icon: "clock-blue"
1647
1644
  },
1648
1645
  "progress-grey": {
1649
- container: "bg-chekin-surface-input-empty",
1650
- text: "text-chekin-gray-2",
1646
+ container: "bg-[var(--chekin-color-surface-input-empty)]",
1647
+ text: "text-[var(--chekin-color-gray-2)]",
1651
1648
  icon: "clock-grey"
1652
1649
  },
1653
1650
  "success-blue": {
1654
- container: "bg-chekin-surface-autocomplete",
1655
- text: "text-chekin-blue",
1651
+ container: "bg-[var(--chekin-color-surface-autocomplete)]",
1652
+ text: "text-[var(--chekin-color-brand-blue)]",
1656
1653
  icon: "tick-blue"
1657
1654
  },
1658
1655
  "success-green": {
@@ -1662,7 +1659,7 @@ var variantStyles = {
1662
1659
  },
1663
1660
  error: {
1664
1661
  container: "bg-red-50",
1665
- text: "text-chekin-red",
1662
+ text: "text-[var(--chekin-color-brand-red)]",
1666
1663
  icon: "x-red"
1667
1664
  }
1668
1665
  };
@@ -1677,7 +1674,7 @@ var StatusBadgeInternal = forwardRef11(
1677
1674
  disabled = false,
1678
1675
  ...props
1679
1676
  }, ref) => {
1680
- const styles25 = variantStyles[variant];
1677
+ const styles = variantStyles[variant];
1681
1678
  const hasText = !iconOnly && (children || !textOnly);
1682
1679
  const hasIcon = !textOnly && showIcon;
1683
1680
  const padding = (() => {
@@ -1692,15 +1689,15 @@ var StatusBadgeInternal = forwardRef11(
1692
1689
  ref,
1693
1690
  className: cn(
1694
1691
  "inline-flex cursor-default items-center justify-center gap-1 rounded-3xl text-[14px] font-medium leading-4",
1695
- styles25.container,
1696
- styles25.text,
1692
+ styles.container,
1693
+ styles.text,
1697
1694
  padding,
1698
1695
  disabled && "opacity-50",
1699
1696
  className
1700
1697
  ),
1701
1698
  ...props,
1702
1699
  children: [
1703
- hasIcon && /* @__PURE__ */ jsx23(StatusBadgeIcon, { variant: styles25.icon, className: "size-4 flex-shrink-0" }),
1700
+ hasIcon && /* @__PURE__ */ jsx23(StatusBadgeIcon, { variant: styles.icon, className: "size-4 flex-shrink-0" }),
1704
1701
  hasText && /* @__PURE__ */ jsx23("span", { className: "whitespace-nowrap", children })
1705
1702
  ]
1706
1703
  }
@@ -1913,18 +1910,9 @@ import {
1913
1910
  } from "react";
1914
1911
 
1915
1912
  // src/loading-bar/LoadingBar.tsx
1916
- import styles8 from "./styles.module-I3PJNRXG.module.css";
1917
1913
  import { jsx as jsx26 } from "react/jsx-runtime";
1918
1914
  function LoadingBar({ className }) {
1919
- return /* @__PURE__ */ jsx26("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ jsx26("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ jsx26(
1920
- "div",
1921
- {
1922
- className: cn(
1923
- "absolute top-0 h-full rounded-full bg-[var(--primary)]",
1924
- styles8.bar
1925
- )
1926
- }
1927
- ) }) });
1915
+ return /* @__PURE__ */ jsx26("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ jsx26("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ jsx26("div", { className: "absolute top-0 h-full animate-chekin-loading-bar rounded-full bg-[var(--primary)]" }) }) });
1928
1916
  }
1929
1917
 
1930
1918
  // src/table/Table.tsx
@@ -3567,19 +3555,19 @@ var HaloIcon = forwardRef19(
3567
3555
  size = "M",
3568
3556
  className
3569
3557
  }, ref) => {
3570
- const styles25 = statusStyles[status];
3558
+ const styles = statusStyles[status];
3571
3559
  return /* @__PURE__ */ jsx45(
3572
3560
  "div",
3573
3561
  {
3574
3562
  ref,
3575
3563
  className: cn(
3576
3564
  "halo-icon flex items-center justify-center rounded-[50%]",
3577
- styles25.color,
3565
+ styles.color,
3578
3566
  {
3579
3567
  "h-6 w-6 [&>svg]:h-4 [&>svg]:w-4": size === "M",
3580
3568
  "h-8 w-8 [&>svg]:h-5 [&>svg]:w-5": size === "L",
3581
3569
  "h-11 w-11 [&>svg]:h-5 [&>svg]:w-5": size === "XL",
3582
- [styles25.background]: variant === "default"
3570
+ [styles.background]: variant === "default"
3583
3571
  },
3584
3572
  className
3585
3573
  ),
@@ -3670,9 +3658,9 @@ import { jsx as jsx48, jsxs as jsxs32 } from "react/jsx-runtime";
3670
3658
  var switchVariants = cva7(
3671
3659
  [
3672
3660
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
3673
- "focus-visible:outline-none focus-visible:shadow-chekin-focus",
3661
+ "focus-visible:outline-none focus-visible:shadow-[var(--chekin-shadow-focus)]",
3674
3662
  "disabled:cursor-not-allowed disabled:opacity-50 aria-busy:cursor-wait aria-busy:opacity-50",
3675
- "data-[state=checked]:bg-chekin-blue data-[state=unchecked]:bg-chekin-gray-2"
3663
+ "data-[state=checked]:bg-[var(--chekin-color-brand-blue)] data-[state=unchecked]:bg-[var(--chekin-color-gray-2)]"
3676
3664
  ],
3677
3665
  {
3678
3666
  variants: {
@@ -3714,7 +3702,7 @@ var Switch = React16.forwardRef(
3714
3702
  {
3715
3703
  ref,
3716
3704
  className: cn(switchVariants({ size, readOnly }), className),
3717
- disabled: props.disabled,
3705
+ disabled: props.disabled && !readOnly,
3718
3706
  ...props,
3719
3707
  id: fieldId,
3720
3708
  onCheckedChange: readOnly ? void 0 : onChange,
@@ -4167,27 +4155,48 @@ var FileInputButton = forwardRef22(
4167
4155
  FileInputButton.displayName = "FileInputButton";
4168
4156
 
4169
4157
  // src/form-box/Content.tsx
4170
- import styles9 from "./FormBox.module-WG4SQBRR.module.css";
4171
4158
  import { jsx as jsx52 } from "react/jsx-runtime";
4172
4159
  function Content5({ children, className, ...props }) {
4173
- return /* @__PURE__ */ jsx52("div", { className: cn(styles9.content, className), ...props, children });
4160
+ return /* @__PURE__ */ jsx52(
4161
+ "div",
4162
+ {
4163
+ className: cn(
4164
+ "flex flex-wrap content-start items-start gap-4 self-stretch",
4165
+ className
4166
+ ),
4167
+ ...props,
4168
+ children
4169
+ }
4170
+ );
4174
4171
  }
4175
4172
 
4176
4173
  // src/form-box/Header.tsx
4177
- import styles10 from "./FormBox.module-WG4SQBRR.module.css";
4178
4174
  import { jsx as jsx53 } from "react/jsx-runtime";
4179
4175
  function Header2({ children, className, ...props }) {
4180
- return /* @__PURE__ */ jsx53("h2", { className: cn(styles10.header, className), ...props, children });
4176
+ return /* @__PURE__ */ jsx53(
4177
+ "h2",
4178
+ {
4179
+ className: cn(
4180
+ "m-0 flex items-center gap-2 self-stretch p-0 text-2xl font-semibold leading-normal text-[var(--chekin-color-brand-navy)]",
4181
+ className
4182
+ ),
4183
+ ...props,
4184
+ children
4185
+ }
4186
+ );
4181
4187
  }
4182
4188
 
4183
4189
  // src/form-box/Root.tsx
4184
- import styles11 from "./FormBox.module-WG4SQBRR.module.css";
4185
4190
  import { jsx as jsx54 } from "react/jsx-runtime";
4186
4191
  function Root10({ children, nested, className, ...props }) {
4187
4192
  return /* @__PURE__ */ jsx54(
4188
4193
  "div",
4189
4194
  {
4190
- className: cn(styles11.wrapper, nested && styles11.wrapperNested, className),
4195
+ className: cn(
4196
+ "flex max-w-[1400px] flex-col items-start gap-6 self-stretch rounded-[10px] border border-[var(--chekin-color-gray-separator)] p-6 [container-type:inline-size]",
4197
+ nested && "border-0 p-0",
4198
+ className
4199
+ ),
4191
4200
  ...props,
4192
4201
  children
4193
4202
  }
@@ -4195,10 +4204,19 @@ function Root10({ children, nested, className, ...props }) {
4195
4204
  }
4196
4205
 
4197
4206
  // src/form-box/SubHeader.tsx
4198
- import styles12 from "./FormBox.module-WG4SQBRR.module.css";
4199
4207
  import { jsx as jsx55 } from "react/jsx-runtime";
4200
4208
  function SubHeader({ children, className, ...props }) {
4201
- return /* @__PURE__ */ jsx55("h4", { className: cn(styles12.subHeader, className), ...props, children });
4209
+ return /* @__PURE__ */ jsx55(
4210
+ "h4",
4211
+ {
4212
+ className: cn(
4213
+ "m-0 flex items-center gap-2 self-stretch border-b border-[var(--chekin-color-gray-separator)] px-0 py-2 text-base font-semibold leading-normal text-[var(--chekin-color-brand-navy)]",
4214
+ className
4215
+ ),
4216
+ ...props,
4217
+ children
4218
+ }
4219
+ );
4202
4220
  }
4203
4221
 
4204
4222
  // src/form-box/index.ts
@@ -4216,7 +4234,6 @@ import {
4216
4234
  useState as useState14
4217
4235
  } from "react";
4218
4236
  import { useTranslation as useTranslation10 } from "react-i18next";
4219
- import styles13 from "./styles.module-SHDCFZJR.module.css";
4220
4237
  import { jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
4221
4238
  var FreeTextField = forwardRef23(
4222
4239
  ({
@@ -4262,65 +4279,81 @@ var FreeTextField = forwardRef23(
4262
4279
  onBlur?.(event);
4263
4280
  };
4264
4281
  const fieldBoxClassName = cn(
4265
- styles13.fieldBox,
4266
- autocompleted && styles13.fieldBoxAutocompleted,
4267
- isErrorWrong && !autocompleted && styles13.fieldBoxErrorWrong,
4268
- !autocompleted && !isErrorWrong && !isEmpty && styles13.fieldBoxFilled,
4269
- !autocompleted && !isErrorWrong && isEmpty && styles13.fieldBoxEmpty,
4270
- isFocused && !hasError && styles13.fieldBoxFocused
4282
+ "relative flex h-11 items-center gap-2.5 rounded-lg border px-3.5 py-2.5 transition-colors duration-150 ease-in-out",
4283
+ autocompleted && "border-[var(--chekin-color-brand-navy)] bg-[var(--chekin-color-surface-autocomplete)]",
4284
+ isErrorWrong && !autocompleted && "border-[var(--error-message-color)] bg-white",
4285
+ !autocompleted && !isErrorWrong && !isEmpty && "border-[var(--chekin-color-brand-navy)] bg-white",
4286
+ !autocompleted && !isErrorWrong && isEmpty && "border-[rgba(22,22,67,0.2)] bg-[var(--chekin-color-surface-input-empty)]",
4287
+ isFocused && !hasError && "border-[var(--chekin-color-brand-blue)]"
4271
4288
  );
4272
4289
  const inputPlaceholder = fieldStyle === "new" ? label : placeholder;
4273
4290
  const showFloatingLabel = fieldStyle === "new" && !isEmpty && Boolean(label);
4274
- return /* @__PURE__ */ jsxs36("div", { className: cn(styles13.container, className), children: [
4275
- fieldStyle === "current" && label && /* @__PURE__ */ jsxs36("div", { className: styles13.labelRow, children: [
4276
- /* @__PURE__ */ jsx56("label", { htmlFor: inputId, className: styles13.labelText, children: label }),
4277
- optional && /* @__PURE__ */ jsxs36("span", { className: styles13.optionalText, children: [
4278
- "- ",
4279
- /* @__PURE__ */ jsx56("em", { children: optionalLabel || t("optional") })
4280
- ] }),
4281
- tooltip && /* @__PURE__ */ jsx56("div", { className: styles13.tooltip, children: tooltip })
4282
- ] }),
4283
- /* @__PURE__ */ jsxs36("div", { className: fieldBoxClassName, children: [
4284
- /* @__PURE__ */ jsx56(
4285
- "input",
4286
- {
4287
- ref,
4288
- id: inputId,
4289
- className: styles13.input,
4290
- placeholder: inputPlaceholder,
4291
- value,
4292
- defaultValue: value === void 0 ? defaultValue : void 0,
4293
- onChange: handleChange,
4294
- onFocus: handleFocus,
4295
- onBlur: handleBlur,
4296
- disabled,
4297
- ...inputProps
4298
- }
4291
+ return /* @__PURE__ */ jsxs36(
4292
+ "div",
4293
+ {
4294
+ className: cn(
4295
+ "relative flex w-[300px] flex-col gap-1 [font-family:var(--chekin-font-family-primary)]",
4296
+ className
4299
4297
  ),
4300
- icon && /* @__PURE__ */ jsx56("div", { className: styles13.icon, children: icon }),
4301
- showFloatingLabel && /* @__PURE__ */ jsx56(
4302
- "div",
4303
- {
4304
- className: cn(
4305
- styles13.floatingLabel,
4306
- autocompleted && styles13.floatingLabelAutocompleted
4298
+ children: [
4299
+ fieldStyle === "current" && label && /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-1", children: [
4300
+ /* @__PURE__ */ jsx56(
4301
+ "label",
4302
+ {
4303
+ htmlFor: inputId,
4304
+ className: "text-base font-medium leading-4 text-[var(--chekin-color-brand-navy)]",
4305
+ children: label
4306
+ }
4307
4307
  ),
4308
- children: /* @__PURE__ */ jsx56(
4309
- "span",
4308
+ optional && /* @__PURE__ */ jsxs36("span", { className: "text-base leading-4 text-[var(--chekin-color-brand-navy)] [&_em]:text-[var(--chekin-color-gray-2)]", children: [
4309
+ "- ",
4310
+ /* @__PURE__ */ jsx56("em", { children: optionalLabel || t("optional") })
4311
+ ] }),
4312
+ tooltip && /* @__PURE__ */ jsx56("div", { className: "h-4 w-4 shrink-0", children: tooltip })
4313
+ ] }),
4314
+ /* @__PURE__ */ jsxs36("div", { className: fieldBoxClassName, children: [
4315
+ /* @__PURE__ */ jsx56(
4316
+ "input",
4317
+ {
4318
+ ref,
4319
+ id: inputId,
4320
+ className: "min-h-px min-w-0 flex-1 basis-0 border-0 bg-transparent p-0 text-base font-medium leading-5 text-[var(--chekin-color-brand-navy)] outline-none placeholder:font-medium placeholder:text-[var(--chekin-color-gray-1)]",
4321
+ placeholder: inputPlaceholder,
4322
+ value,
4323
+ defaultValue: value === void 0 ? defaultValue : void 0,
4324
+ onChange: handleChange,
4325
+ onFocus: handleFocus,
4326
+ onBlur: handleBlur,
4327
+ disabled,
4328
+ ...inputProps
4329
+ }
4330
+ ),
4331
+ icon && /* @__PURE__ */ jsx56("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center", children: icon }),
4332
+ showFloatingLabel && /* @__PURE__ */ jsx56(
4333
+ "div",
4310
4334
  {
4311
4335
  className: cn(
4312
- styles13.floatingLabelText,
4313
- isErrorWrong && styles13.floatingLabelTextError
4336
+ "pointer-events-none absolute left-[13px] top-[-8px] flex h-4 items-center bg-gradient-to-b from-transparent from-50% to-white to-50% px-[3px]",
4337
+ autocompleted && "to-[var(--chekin-color-surface-autocomplete)]"
4314
4338
  ),
4315
- children: label
4339
+ children: /* @__PURE__ */ jsx56(
4340
+ "span",
4341
+ {
4342
+ className: cn(
4343
+ "whitespace-nowrap text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]",
4344
+ isErrorWrong && "text-[var(--error-message-color)]"
4345
+ ),
4346
+ children: label
4347
+ }
4348
+ )
4316
4349
  }
4317
4350
  )
4318
- }
4319
- )
4320
- ] }),
4321
- supportingText && /* @__PURE__ */ jsx56("p", { className: styles13.supportingText, children: supportingText }),
4322
- error && /* @__PURE__ */ jsx56("p", { className: styles13.errorText, children: error })
4323
- ] });
4351
+ ] }),
4352
+ supportingText && /* @__PURE__ */ jsx56("p", { className: "m-0 text-xs italic leading-normal text-[var(--chekin-color-gray-2)]", children: supportingText }),
4353
+ error && /* @__PURE__ */ jsx56("p", { className: "m-0 text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: error })
4354
+ ]
4355
+ }
4356
+ );
4324
4357
  }
4325
4358
  );
4326
4359
  FreeTextField.displayName = "FreeTextField";
@@ -5759,8 +5792,14 @@ function Loader({
5759
5792
 
5760
5793
  // src/metric-card/MetricCard.tsx
5761
5794
  import { CircleQuestionMark as CircleQuestionMark2, TrendingDown, TrendingUp } from "lucide-react";
5762
- import styles14 from "./MetricCard.module-LEV46BXD.module.css";
5763
5795
  import { jsx as jsx73, jsxs as jsxs46 } from "react/jsx-runtime";
5796
+ var metricCardVariantClasses = {
5797
+ blue: "bg-[linear-gradient(122deg,#e6f0ff_36.37%,#f6f9ff_86.4%)] text-[#385cf8] [&_[data-slot=metric-card-icon]]:bg-[#dbeafe]",
5798
+ green: "bg-[linear-gradient(122deg,#ddfbf4_36.37%,#f5fefc_86.4%)] text-[#2bc29f] [&_[data-slot=metric-card-icon]]:bg-[#cff9ef]",
5799
+ orange: "bg-[linear-gradient(122deg,#ffeddc_36.37%,#fffaf5_86.4%)] text-[#f5721a] [&_[data-slot=metric-card-icon]]:bg-[#ffe5cd]",
5800
+ purple: "bg-[linear-gradient(122deg,#f5edff_36.37%,#fcfaff_86.4%)] text-[#9a51ff] [&_[data-slot=metric-card-icon]]:bg-[#f0e5ff]",
5801
+ yellow: "bg-[linear-gradient(122deg,#fff8e5_36.37%,#fffbef_86.4%)] text-[#ce8b0b] [&_[data-slot=metric-card-icon]]:bg-[#ffeeb2]"
5802
+ };
5764
5803
  function MetricCard({
5765
5804
  title,
5766
5805
  value,
@@ -5775,37 +5814,41 @@ function MetricCard({
5775
5814
  "div",
5776
5815
  {
5777
5816
  className: cn(
5778
- styles14.MetricCard,
5779
- styles14[`MetricCard--${variant}`],
5780
- loading && styles14["MetricCard--loading"],
5817
+ "flex w-full min-w-52 gap-2 rounded-lg border border-[var(--chekin-color-gray-3)] p-4",
5818
+ metricCardVariantClasses[variant],
5819
+ loading && "cursor-progress opacity-60",
5781
5820
  className
5782
5821
  ),
5783
5822
  children: [
5784
- /* @__PURE__ */ jsx73("div", { className: styles14.MetricCard__iconContainer, children: icon }),
5785
- /* @__PURE__ */ jsxs46("div", { className: styles14.MetricCard__content, children: [
5786
- /* @__PURE__ */ jsxs46("div", { className: styles14.MetricCard__header, children: [
5787
- /* @__PURE__ */ jsx73("h4", { className: styles14.MetricCard__title, children: title }),
5823
+ /* @__PURE__ */ jsx73(
5824
+ "div",
5825
+ {
5826
+ "data-slot": "metric-card-icon",
5827
+ className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full mix-blend-multiply",
5828
+ children: icon
5829
+ }
5830
+ ),
5831
+ /* @__PURE__ */ jsxs46("div", { className: "flex flex-1 flex-col gap-4", children: [
5832
+ /* @__PURE__ */ jsxs46("div", { className: "flex items-center gap-1", children: [
5833
+ /* @__PURE__ */ jsx73("h4", { className: "whitespace-nowrap text-base font-medium leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
5788
5834
  tooltip && /* @__PURE__ */ jsx73(Tooltip, { side: "right", content: tooltip, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx73(
5789
5835
  "button",
5790
5836
  {
5791
5837
  type: "button",
5792
- className: cn(
5793
- "inline-flex text-[var(--chekin-color-gray-1)]",
5794
- styles14.MetricCard__tooltip
5795
- ),
5838
+ className: "inline-flex text-[var(--chekin-color-gray-1)]",
5796
5839
  "aria-label": tooltip,
5797
5840
  children: /* @__PURE__ */ jsx73(CircleQuestionMark2, { className: "h-4 w-4" })
5798
5841
  }
5799
5842
  ) })
5800
5843
  ] }),
5801
- /* @__PURE__ */ jsxs46("div", { className: styles14.MetricCard__footer, children: [
5802
- /* @__PURE__ */ jsx73("div", { className: styles14.MetricCard__value, children: value }),
5844
+ /* @__PURE__ */ jsxs46("div", { className: "flex items-center justify-between gap-2", children: [
5845
+ /* @__PURE__ */ jsx73("div", { className: "text-2xl font-bold leading-6", children: value }),
5803
5846
  !!percentage && /* @__PURE__ */ jsxs46(
5804
5847
  "div",
5805
5848
  {
5806
5849
  className: cn(
5807
- styles14.MetricCard__percentage,
5808
- percentage < 0 ? styles14["--negative"] : ""
5850
+ "inline-flex items-center gap-x-1 text-base font-semibold leading-6 text-[#059669]",
5851
+ percentage < 0 && "text-[var(--chekin-color-brand-red)]"
5809
5852
  ),
5810
5853
  children: [
5811
5854
  percentage < 0 ? /* @__PURE__ */ jsx73(TrendingDown, {}) : /* @__PURE__ */ jsx73(TrendingUp, {}),
@@ -5833,7 +5876,6 @@ var METRIC_CARD_VARIANTS = {
5833
5876
  // src/modal/Modal.tsx
5834
5877
  import { forwardRef as forwardRef31, useRef as useRef14 } from "react";
5835
5878
  import { X as X5 } from "lucide-react";
5836
- import styles15 from "./styles.module-74HHIGIE.module.css";
5837
5879
  import { jsx as jsx74, jsxs as jsxs47 } from "react/jsx-runtime";
5838
5880
  var preventDefault = (event) => {
5839
5881
  event.preventDefault();
@@ -5877,9 +5919,9 @@ function Modal({
5877
5919
  overlayClassName,
5878
5920
  className: cn(
5879
5921
  "modal__content",
5880
- styles15.modal__content,
5922
+ "flex h-auto min-w-[340px] w-auto flex-col items-center gap-y-6 rounded-md bg-[var(--chekin-color-white)] text-center text-[var(--chekin-color-brand-navy)]",
5881
5923
  scrollableOverlay && "min-h-0",
5882
- size === "compact" && styles15.modal__contentCompact,
5924
+ size === "compact" && "w-[360px] min-w-0",
5883
5925
  className
5884
5926
  ),
5885
5927
  lockScroll,
@@ -5890,16 +5932,28 @@ function Modal({
5890
5932
  {
5891
5933
  type: "button",
5892
5934
  onClick: handleClose,
5893
- className: cn("modal__close", styles15.modal__close),
5935
+ className: cn(
5936
+ "modal__close",
5937
+ "absolute right-4 top-4 z-10 rounded-full p-1 text-[var(--chekin-color-brand-blue)] hover:bg-[#f4f6f8]"
5938
+ ),
5894
5939
  "aria-label": "Close",
5895
5940
  children: /* @__PURE__ */ jsx74(X5, { className: "h-5 w-5" })
5896
5941
  }
5897
5942
  ),
5898
- (iconSrc || iconProps?.src) && /* @__PURE__ */ jsx74("div", { className: cn("modal__icon", styles15.modal__icon), children: /* @__PURE__ */ jsx74("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5899
- title ? /* @__PURE__ */ jsx74(DialogTitle, { className: cn("modal__title", styles15.modal__title), children: title }) : /* @__PURE__ */ jsx74(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx74(DialogTitle, { children: "Dialog" }) }),
5900
- text && /* @__PURE__ */ jsx74(DialogDescription, { className: cn("modal__text", styles15.modal__text), children: text }),
5943
+ (iconSrc || iconProps?.src) && /* @__PURE__ */ jsx74("div", { className: "modal__icon mx-auto mt-4 select-none", children: /* @__PURE__ */ jsx74("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5944
+ title ? /* @__PURE__ */ jsx74(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ jsx74(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx74(DialogTitle, { children: "Dialog" }) }),
5945
+ text && /* @__PURE__ */ jsx74(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
5901
5946
  children,
5902
- buttons && /* @__PURE__ */ jsx74("div", { className: cn("modal__buttons-wrapper", styles15.modal__buttonsWrapper), children: buttons })
5947
+ buttons && /* @__PURE__ */ jsx74(
5948
+ "div",
5949
+ {
5950
+ className: cn(
5951
+ "modal__buttons-wrapper",
5952
+ "mb-2 mt-6 flex flex-col items-center justify-center gap-y-4"
5953
+ ),
5954
+ children: buttons
5955
+ }
5956
+ )
5903
5957
  ]
5904
5958
  }
5905
5959
  ) });
@@ -5909,7 +5963,7 @@ var ModalButton = forwardRef31(
5909
5963
  Button,
5910
5964
  {
5911
5965
  ref,
5912
- className: cn("modal__button", styles15.modal__button, className),
5966
+ className: cn("modal__button", "min-w-[210px]", className),
5913
5967
  size: size && "lg",
5914
5968
  ...props,
5915
5969
  children
@@ -6679,7 +6733,6 @@ function useRadioOptions({ options, defaultValue, onChange }) {
6679
6733
  }
6680
6734
 
6681
6735
  // src/radio/Radio.tsx
6682
- import styles16 from "./styles.module-REEJNJNW.module.css";
6683
6736
  import { Fragment as Fragment8, jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
6684
6737
  var Radio = forwardRef37(
6685
6738
  ({ options, value, onChange, error, className = "", disabled = false, renderOption }, ref) => {
@@ -6708,8 +6761,8 @@ var Radio = forwardRef37(
6708
6761
  {
6709
6762
  className: cn(
6710
6763
  "radio__wrapper",
6711
- styles16.radio__wrapper,
6712
- (disabled || option.disabled) && styles16.radio__wrapper_disabled
6764
+ "flex cursor-pointer items-center gap-2",
6765
+ (disabled || option.disabled) && "cursor-default opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
6713
6766
  ),
6714
6767
  children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs56(Fragment8, { children: [
6715
6768
  /* @__PURE__ */ jsx86(
@@ -6721,7 +6774,7 @@ var Radio = forwardRef37(
6721
6774
  className: "radio__indicator"
6722
6775
  }
6723
6776
  ),
6724
- /* @__PURE__ */ jsx86("p", { className: cn(styles16.radio__label, "radio_label"), children: option.label })
6777
+ /* @__PURE__ */ jsx86("p", { className: "radio_label", children: option.label })
6725
6778
  ] })
6726
6779
  },
6727
6780
  option.value
@@ -6821,7 +6874,6 @@ function RatingProgress({
6821
6874
 
6822
6875
  // src/rating-radio-group/RatingRadioGroup.tsx
6823
6876
  import { Star } from "lucide-react";
6824
- import styles17 from "./styles.module-H7R2VV2Q.module.css";
6825
6877
  import { jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
6826
6878
  var getStarColor = (optionValue) => (value) => {
6827
6879
  if (value >= optionValue) return "#facc15";
@@ -6835,13 +6887,13 @@ function RatingRadioGroup({
6835
6887
  className,
6836
6888
  options
6837
6889
  }) {
6838
- return /* @__PURE__ */ jsxs59("fieldset", { className: cn(className, styles17.RatingRadioGroup), children: [
6839
- label && /* @__PURE__ */ jsx89("legend", { className: styles17.RatingRadioGroup__legend, children: label }),
6840
- /* @__PURE__ */ jsx89("div", { className: cn(styles17.RatingRadioGroup__list, "RatingRadioGroup__list"), children: options.map((option) => /* @__PURE__ */ jsxs59("label", { className: styles17.RatingRadioGroup__label, children: [
6890
+ return /* @__PURE__ */ jsxs59("fieldset", { className: cn("relative [all:unset]", className), children: [
6891
+ label && /* @__PURE__ */ jsx89("legend", { className: "mb-2", children: label }),
6892
+ /* @__PURE__ */ jsx89("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ jsxs59("label", { children: [
6841
6893
  /* @__PURE__ */ jsx89(
6842
6894
  "input",
6843
6895
  {
6844
- className: styles17.RatingRadioGroup__input,
6896
+ className: "peer absolute h-0 w-0 opacity-0",
6845
6897
  type: "radio",
6846
6898
  name,
6847
6899
  checked: value === option.value,
@@ -6852,7 +6904,7 @@ function RatingRadioGroup({
6852
6904
  /* @__PURE__ */ jsx89(
6853
6905
  Star,
6854
6906
  {
6855
- className: styles17.RatingRadioGroup__star,
6907
+ className: "cursor-pointer rounded peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-[#385bf8]",
6856
6908
  size: 24,
6857
6909
  "aria-label": option.label,
6858
6910
  color: getStarColor(option.value)(value || 0),
@@ -7078,7 +7130,6 @@ var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
7078
7130
  })(SubSectionSize || {});
7079
7131
 
7080
7132
  // src/section/Section.tsx
7081
- import styles18 from "./Section.module-6UJGBE6B.module.css";
7082
7133
  import { jsx as jsx95, jsxs as jsxs62 } from "react/jsx-runtime";
7083
7134
  function TooltipInfo({ content, className }) {
7084
7135
  return /* @__PURE__ */ jsx95(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx95(
@@ -7111,45 +7162,62 @@ var Section = forwardRef38(
7111
7162
  {
7112
7163
  ref,
7113
7164
  className: cn(
7114
- styles18.section,
7115
- loading && styles18.section_loading,
7116
- disabled && styles18.section_disabled,
7165
+ "mb-6 box-border flex w-full cursor-default flex-col gap-6 rounded-lg border border-solid border-[var(--chekin-color-gray-3)] bg-white px-6 py-10",
7166
+ loading && "cursor-progress",
7167
+ disabled && "pointer-events-none opacity-50",
7117
7168
  { "!hidden": hidden },
7118
7169
  className
7119
7170
  ),
7120
7171
  children: [
7121
- (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: styles18.section__header, children: [
7172
+ (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: "flex flex-col gap-2", children: [
7122
7173
  title && /* @__PURE__ */ jsxs62(
7123
7174
  "div",
7124
7175
  {
7125
7176
  className: cn(
7126
- styles18.section__title,
7127
- size === 0 /* L */ && styles18.section__titleLarge
7177
+ "flex max-w-[85%] items-center text-lg font-bold text-[var(--chekin-color-brand-navy)] md:max-w-full",
7178
+ size !== 0 /* L */ && "subsection-title"
7128
7179
  ),
7129
7180
  children: [
7130
7181
  title,
7131
- titleTooltip && /* @__PURE__ */ jsx95("div", { className: styles18.section__titleTooltip, children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7132
- linkContent && /* @__PURE__ */ jsx95("div", { className: styles18.section__titleLink, children: linkContent })
7182
+ titleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7183
+ linkContent && /* @__PURE__ */ jsx95("div", { className: "ml-6 text-sm font-semibold text-[var(--chekin-color-brand-blue)] no-underline hover:opacity-70 active:opacity-100", children: linkContent })
7133
7184
  ]
7134
7185
  }
7135
7186
  ),
7136
- subtitle && /* @__PURE__ */ jsxs62("div", { className: styles18.section__subtitleWrapper, children: [
7137
- /* @__PURE__ */ jsx95("div", { className: styles18.section__subtitle, children: subtitle }),
7138
- subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: styles18.section__subtitleTooltip, children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7187
+ subtitle && /* @__PURE__ */ jsxs62("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7188
+ /* @__PURE__ */ jsx95("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7189
+ subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7139
7190
  ] })
7140
7191
  ] }),
7141
- loading && showLoader ? /* @__PURE__ */ jsx95(Loader, { className: styles18.section__loader }) : children
7192
+ loading && showLoader ? /* @__PURE__ */ jsx95(Loader, { className: "mx-auto mb-3 mt-2.5" }) : children
7142
7193
  ]
7143
7194
  }
7144
7195
  )
7145
7196
  );
7146
7197
  Section.displayName = "Section";
7147
7198
  var SubSection = forwardRef38(
7148
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(Section, { ref, className: cn(styles18.section_sub, className), ...props })
7199
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7200
+ Section,
7201
+ {
7202
+ ref,
7203
+ className: cn(
7204
+ "m-0 box-border rounded-none border-none bg-transparent p-0 [&_.subsection-title]:text-base [&_.subsection-title]:font-semibold",
7205
+ className
7206
+ ),
7207
+ ...props
7208
+ }
7209
+ )
7149
7210
  );
7150
7211
  SubSection.displayName = "SubSection";
7151
7212
  var DividingSubsection = forwardRef38(
7152
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(SubSection, { ref, className: cn(styles18.section_dividing, className), ...props })
7213
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7214
+ SubSection,
7215
+ {
7216
+ ref,
7217
+ className: cn("border-0 border-t border-solid border-t-[#f1f1f1] pt-6", className),
7218
+ ...props
7219
+ }
7220
+ )
7153
7221
  );
7154
7222
  DividingSubsection.displayName = "DividingSubsection";
7155
7223
 
@@ -7162,7 +7230,6 @@ import {
7162
7230
  } from "react";
7163
7231
 
7164
7232
  // src/selector-button/SelectorButton.tsx
7165
- import styles19 from "./styles.module-AAYSW4RF.module.css";
7166
7233
  import { jsx as jsx96, jsxs as jsxs63 } from "react/jsx-runtime";
7167
7234
  function SelectorButton({
7168
7235
  active,
@@ -7191,12 +7258,15 @@ function SelectorButton({
7191
7258
  return /* @__PURE__ */ jsxs63(
7192
7259
  "label",
7193
7260
  {
7194
- className: cn(styles19.styledButton, "selector-button", className, {
7195
- [styles19.active]: active,
7196
- [styles19.disabled]: disabled,
7197
- [styles19.loading]: loading,
7198
- [styles19.readOnly]: readOnly
7199
- }),
7261
+ className: cn(
7262
+ "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",
7263
+ active && "active border-[var(--chekin-color-brand-blue)] bg-white text-[var(--chekin-color-brand-blue)]",
7264
+ disabled && "disabled cursor-not-allowed opacity-30 hover:border-[#cecede]",
7265
+ loading && "loading cursor-progress",
7266
+ readOnly && "readOnly cursor-default",
7267
+ readOnly && !active && "hover:border-transparent",
7268
+ className
7269
+ ),
7200
7270
  ...props,
7201
7271
  children: [
7202
7272
  /* @__PURE__ */ jsx96(
@@ -7210,7 +7280,7 @@ function SelectorButton({
7210
7280
  readOnly
7211
7281
  }
7212
7282
  ),
7213
- /* @__PURE__ */ jsx96("div", { className: styles19.content, children })
7283
+ /* @__PURE__ */ jsx96("div", { className: "flex h-full items-center", children })
7214
7284
  ]
7215
7285
  }
7216
7286
  );
@@ -7218,7 +7288,6 @@ function SelectorButton({
7218
7288
  SelectorButton.displayName = "SelectorButton";
7219
7289
 
7220
7290
  // src/selectors/Selectors.tsx
7221
- import styles20 from "./styles.module-4AVOK5SA.module.css";
7222
7291
  import { Fragment as Fragment9, jsx as jsx97, jsxs as jsxs64 } from "react/jsx-runtime";
7223
7292
  var getValueArray = (value) => {
7224
7293
  if (value) {
@@ -7277,15 +7346,15 @@ function SelectorsInternal({
7277
7346
  onAnySelectorActive?.(isAnyActive);
7278
7347
  }, [isAnyActive, onAnySelectorActive]);
7279
7348
  return /* @__PURE__ */ jsxs64(Fragment9, { children: [
7280
- label && /* @__PURE__ */ jsx97("div", { className: styles20.labelWrapper, children: /* @__PURE__ */ jsx97("div", { className: cn(styles20.name, "label"), children: label }) }),
7349
+ label && /* @__PURE__ */ jsx97("div", { className: "flex [&_span]:ml-[5px]", children: /* @__PURE__ */ jsx97("div", { className: "label box-border mb-1.5 min-h-5 select-none overflow-x-hidden text-ellipsis whitespace-nowrap text-left text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
7281
7350
  /* @__PURE__ */ jsx97(
7282
7351
  "div",
7283
7352
  {
7284
7353
  ref,
7285
- className: cn(className, {
7286
- [styles20.selectorsWrapperTab]: variant === "TAB",
7287
- [styles20.selectorsWrapperDefault]: variant !== "TAB"
7288
- }),
7354
+ className: cn(
7355
+ variant === "TAB" ? "box-border flex h-auto max-h-none w-fit flex-wrap items-center rounded-md border border-[var(--chekin-color-gray-3)] bg-[var(--chekin-color-surface-input-empty)] bg-no-repeat [background-position:0_0] [background-clip:padding-box]" : "mb-[-10px] flex w-full flex-wrap [&_.selector-button]:mb-[10px] [&_.selector-button]:mr-[10px]",
7356
+ className
7357
+ ),
7289
7358
  children: options.map((option, index) => {
7290
7359
  const isSelected = getValueArray(value).includes(option.value);
7291
7360
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
@@ -7302,11 +7371,13 @@ function SelectorsInternal({
7302
7371
  disabled: isDisabled,
7303
7372
  onClick: (event) => onClick?.(event, option),
7304
7373
  onChange: handleChange(option),
7305
- className: variant === "TAB" ? cn(styles20.selectorButton, {
7306
- [styles20.active]: isSelected,
7307
- [styles20.readOnly]: isReadOnly,
7308
- [styles20.sizeSm]: size === "sm"
7309
- }) : "selector-button",
7374
+ className: variant === "TAB" ? cn(
7375
+ "box-border min-h-9 min-w-0 flex-1 whitespace-nowrap border border-transparent bg-transparent px-[21px] py-2 text-[15px] font-medium text-[var(--chekin-color-gray-1)] shadow-none transition-none [margin:2px] hover:border-transparent hover:bg-[var(--chekin-color-brand-blue)] hover:text-white hover:opacity-35 [&>div]:mx-auto [&>div]:my-0",
7376
+ isSelected && "active cursor-default border-[var(--chekin-color-brand-blue)] bg-[var(--chekin-color-brand-blue)] font-semibold text-white shadow-[0_3px_4px_#00020334] hover:opacity-100",
7377
+ isReadOnly && !isSelected && "readOnly cursor-default hover:bg-transparent hover:text-[var(--chekin-color-gray-1)]",
7378
+ size === "sm" && "py-[7px] text-sm font-medium leading-6",
7379
+ size === "sm" && isSelected && "py-[7px] text-sm font-bold leading-6"
7380
+ ) : "selector-button",
7310
7381
  children: getSelectorContent(option.label, isDisabled, isReadOnly, isSelected)
7311
7382
  },
7312
7383
  `${option.value}-${index}`
@@ -7334,7 +7405,7 @@ function Separator3({
7334
7405
  decorative,
7335
7406
  orientation,
7336
7407
  className: cn(
7337
- "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",
7408
+ "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",
7338
7409
  className
7339
7410
  ),
7340
7411
  ...props
@@ -7387,17 +7458,17 @@ function SheetContent({
7387
7458
  {
7388
7459
  "data-slot": "sheet-content",
7389
7460
  className: cn(
7390
- "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",
7391
- 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",
7392
- 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",
7393
- 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",
7394
- 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",
7461
+ "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",
7462
+ 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",
7463
+ 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",
7464
+ 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",
7465
+ 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",
7395
7466
  className
7396
7467
  ),
7397
7468
  ...props,
7398
7469
  children: [
7399
7470
  children,
7400
- /* @__PURE__ */ jsxs65(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: [
7471
+ /* @__PURE__ */ jsxs65(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: [
7401
7472
  /* @__PURE__ */ jsx99(XIcon2, { className: "size-4" }),
7402
7473
  /* @__PURE__ */ jsx99("span", { className: "sr-only", children: "Close" })
7403
7474
  ] })
@@ -7434,7 +7505,7 @@ function SheetTitle({
7434
7505
  SheetPrimitive.Title,
7435
7506
  {
7436
7507
  "data-slot": "sheet-title",
7437
- className: cn("font-semibold text-chekin-navy", className),
7508
+ className: cn("font-semibold text-[var(--chekin-color-brand-navy)]", className),
7438
7509
  ...props
7439
7510
  }
7440
7511
  );
@@ -7447,7 +7518,7 @@ function SheetDescription({
7447
7518
  SheetPrimitive.Description,
7448
7519
  {
7449
7520
  "data-slot": "sheet-description",
7450
- className: cn("text-sm text-chekin-gray-1", className),
7521
+ className: cn("text-sm text-[var(--chekin-color-gray-1)]", className),
7451
7522
  ...props
7452
7523
  }
7453
7524
  );
@@ -7505,9 +7576,9 @@ var SidebarIcon = ({
7505
7576
  const highlighted = context?.highlighted ?? highlightedProp ?? false;
7506
7577
  const backgroundClassName = (() => {
7507
7578
  if (isActive) {
7508
- return highlighted ? "bg-chekin-surface-autocomplete" : "bg-chekin-gray-3";
7579
+ return highlighted ? "bg-[var(--chekin-color-surface-autocomplete)]" : "bg-[var(--chekin-color-gray-3)]";
7509
7580
  }
7510
- return highlighted ? "bg-chekin-surface-pressed" : "bg-chekin-surface-input-empty";
7581
+ return highlighted ? "bg-[var(--chekin-color-surface-pressed)]" : "bg-[var(--chekin-color-surface-input-empty)]";
7511
7582
  })();
7512
7583
  return /* @__PURE__ */ jsx101(
7513
7584
  "div",
@@ -7515,8 +7586,8 @@ var SidebarIcon = ({
7515
7586
  className: cn(
7516
7587
  "sidebar-icon flex items-center justify-center rounded-[50%] transition-colors ease-in-out",
7517
7588
  backgroundClassName,
7518
- highlighted ? "text-chekin-blue" : "text-chekin-gray-1",
7519
- !isActive && (highlighted ? "group-hover/menu-button:bg-chekin-surface-autocomplete" : "group-hover/menu-button:bg-chekin-gray-3"),
7589
+ highlighted ? "text-[var(--chekin-color-brand-blue)]" : "text-[var(--chekin-color-gray-1)]",
7590
+ !isActive && (highlighted ? "group-hover/menu-button:bg-[var(--chekin-color-surface-autocomplete)]" : "group-hover/menu-button:bg-[var(--chekin-color-gray-3)]"),
7520
7591
  {
7521
7592
  "h-6 w-6 [&>svg]:h-4 [&>svg]:w-4": size === "M",
7522
7593
  "h-8 w-8 [&>svg]:h-5 [&>svg]:w-5": size === "L"
@@ -7628,7 +7699,7 @@ var Sidebar = React25.forwardRef(
7628
7699
  "div",
7629
7700
  {
7630
7701
  className: cn(
7631
- "flex h-full w-[--sidebar-width] flex-col bg-chekin-surface-input-empty text-chekin-navy",
7702
+ "flex h-full w-[--sidebar-width] flex-col bg-[var(--chekin-color-surface-input-empty)] text-[var(--chekin-color-brand-navy)]",
7632
7703
  className
7633
7704
  ),
7634
7705
  ref,
@@ -7644,7 +7715,7 @@ var Sidebar = React25.forwardRef(
7644
7715
  "data-sidebar": "sidebar",
7645
7716
  "data-mobile": "true",
7646
7717
  className: cn(
7647
- "w-[--sidebar-width] bg-chekin-surface-input-empty p-0 text-chekin-navy [&>button]:hidden",
7718
+ "w-[--sidebar-width] bg-[var(--chekin-color-surface-input-empty)] p-0 text-[var(--chekin-color-brand-navy)] [&>button]:hidden",
7648
7719
  className
7649
7720
  ),
7650
7721
  style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
@@ -7664,7 +7735,7 @@ var Sidebar = React25.forwardRef(
7664
7735
  {
7665
7736
  ref,
7666
7737
  "data-testid": "sidebar",
7667
- className: "group peer text-chekin-navy",
7738
+ className: "group peer text-[var(--chekin-color-brand-navy)]",
7668
7739
  "data-state": state,
7669
7740
  "data-collapsible": state === "collapsed" ? collapsible : "",
7670
7741
  "data-variant": variant,
@@ -7695,7 +7766,7 @@ var Sidebar = React25.forwardRef(
7695
7766
  "div",
7696
7767
  {
7697
7768
  "data-sidebar": "sidebar",
7698
- 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",
7769
+ 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",
7699
7770
  children
7700
7771
  }
7701
7772
  )
@@ -7747,10 +7818,10 @@ var SidebarRail = React25.forwardRef(
7747
7818
  onClick: toggleSidebar,
7748
7819
  title: "Toggle Sidebar",
7749
7820
  className: cn(
7750
- "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",
7821
+ "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",
7751
7822
  "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize",
7752
7823
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
7753
- "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-chekin-surface-input-empty",
7824
+ "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)]",
7754
7825
  "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2 [[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
7755
7826
  className
7756
7827
  ),
@@ -7854,7 +7925,7 @@ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...pro
7854
7925
  ref,
7855
7926
  "data-sidebar": "group-label",
7856
7927
  className: cn(
7857
- "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",
7928
+ "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",
7858
7929
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
7859
7930
  className
7860
7931
  ),
@@ -7871,7 +7942,7 @@ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...pr
7871
7942
  ref,
7872
7943
  "data-sidebar": "group-action",
7873
7944
  className: cn(
7874
- "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",
7945
+ "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",
7875
7946
  className
7876
7947
  ),
7877
7948
  ...props
@@ -7916,12 +7987,12 @@ var SidebarMenuItem = React25.forwardRef(
7916
7987
  );
7917
7988
  SidebarMenuItem.displayName = "SidebarMenuItem";
7918
7989
  var sidebarMenuButtonVariants = cva11(
7919
- "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",
7990
+ "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)]",
7920
7991
  {
7921
7992
  variants: {
7922
7993
  variant: {
7923
7994
  default: "",
7924
- outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-chekin-surface-input-empty"
7995
+ outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-[var(--chekin-color-surface-input-empty)]"
7925
7996
  },
7926
7997
  size: {
7927
7998
  default: "h-8 text-md",
@@ -7989,7 +8060,7 @@ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOn
7989
8060
  ref,
7990
8061
  "data-sidebar": "menu-action",
7991
8062
  className: cn(
7992
- "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",
8063
+ "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",
7993
8064
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 sm:opacity-0",
7994
8065
  className
7995
8066
  ),
@@ -8009,7 +8080,7 @@ var SidebarMenuBadge = React25.forwardRef(
8009
8080
  "data-sidebar": "menu-badge",
8010
8081
  className: cn(
8011
8082
  isOpen ? "left-auto right-1 h-5 min-w-5" : "absolute bottom-1/2 left-1/2 top-auto h-4 min-w-4",
8012
- "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",
8083
+ "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",
8013
8084
  className
8014
8085
  ),
8015
8086
  ...props
@@ -8049,7 +8120,7 @@ var SidebarMenuSub = React25.forwardRef(
8049
8120
  ref,
8050
8121
  "data-sidebar": "menu-sub",
8051
8122
  className: cn(
8052
- "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",
8123
+ "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",
8053
8124
  className
8054
8125
  ),
8055
8126
  ...props
@@ -8062,12 +8133,12 @@ var SidebarMenuSubItem = React25.forwardRef(
8062
8133
  );
8063
8134
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
8064
8135
  var sidebarMenuSubButtonVariants = cva11(
8065
- "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",
8136
+ "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",
8066
8137
  {
8067
8138
  variants: {
8068
8139
  variant: {
8069
8140
  default: "",
8070
- outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-chekin-surface-input-empty"
8141
+ outline: "bg-white shadow-[0_0_0_1px_rgba(22,22,67,0.12)] hover:bg-[var(--chekin-color-surface-input-empty)]"
8071
8142
  },
8072
8143
  size: {
8073
8144
  sm: "h-6 px-1.5 py-0.5 text-xs [&>svg]:size-3",
@@ -8231,7 +8302,7 @@ var SmallGridSingleItem = memo5(
8231
8302
  onClick: handleClick,
8232
8303
  className: cn(
8233
8304
  "relative flex h-full w-full shrink-0 items-center justify-between gap-4",
8234
- "box-border rounded-md px-5 py-4 text-left text-base font-semibold text-chekin-navy",
8305
+ "box-border rounded-md px-5 py-4 text-left text-base font-semibold text-[var(--chekin-color-brand-navy)]",
8235
8306
  "shadow-[0_0_10px_rgba(111,194,255,0.2)]",
8236
8307
  disabled && "cursor-not-allowed",
8237
8308
  !disabled && onClick && "cursor-pointer",
@@ -8241,7 +8312,7 @@ var SmallGridSingleItem = memo5(
8241
8312
  children: [
8242
8313
  /* @__PURE__ */ jsxs68("div", { children: [
8243
8314
  /* @__PURE__ */ jsx104("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8244
- subtitle && /* @__PURE__ */ jsx104("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-chekin-gray-2", children: subtitle })
8315
+ subtitle && /* @__PURE__ */ jsx104("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-[var(--chekin-color-gray-2)]", children: subtitle })
8245
8316
  ] }),
8246
8317
  !readOnly && /* @__PURE__ */ jsxs68("div", { className: "flex h-full items-center justify-end gap-2", children: [
8247
8318
  onDelete && /* @__PURE__ */ jsx104(
@@ -8251,12 +8322,12 @@ var SmallGridSingleItem = memo5(
8251
8322
  onClick: onDelete,
8252
8323
  size: "icon",
8253
8324
  variant: "outline",
8254
- children: /* @__PURE__ */ jsx104(Trash2, { className: "h-5 w-5 text-chekin-red" })
8325
+ children: /* @__PURE__ */ jsx104(Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8255
8326
  }
8256
8327
  ),
8257
- onEdit && /* @__PURE__ */ jsx104(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ jsx104(Pencil, { className: "h-5 w-5 text-chekin-blue" }) })
8328
+ onEdit && /* @__PURE__ */ jsx104(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ jsx104(Pencil, { className: "h-5 w-5 text-[var(--chekin-color-brand-blue)]" }) })
8258
8329
  ] }),
8259
- error && /* @__PURE__ */ jsx104("div", { className: "absolute bottom-1 right-2 text-xs text-chekin-red", children: error })
8330
+ error && /* @__PURE__ */ jsx104("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8260
8331
  ]
8261
8332
  }
8262
8333
  );
@@ -8283,18 +8354,19 @@ function SortingAction({
8283
8354
  {
8284
8355
  type: "button",
8285
8356
  className: cn(
8286
- "group/trigger cursor-pointer rounded-sm p-0.5 hover:bg-chekin-surface-input-empty",
8357
+ "group/trigger cursor-pointer rounded-sm p-0.5 hover:bg-[var(--chekin-color-surface-input-empty)]",
8287
8358
  className
8288
8359
  ),
8289
8360
  "aria-label": "Open sorting menu",
8290
- children: /* @__PURE__ */ jsx105(ArrowDownUpIcon, { className: "h-4 w-4 text-chekin-gray-1 group-hover/trigger:text-chekin-navy" })
8361
+ children: /* @__PURE__ */ jsx105(ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8291
8362
  }
8292
8363
  ) }),
8293
8364
  /* @__PURE__ */ jsxs69(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8294
8365
  /* @__PURE__ */ jsxs69(
8295
8366
  DropdownMenuItem,
8296
8367
  {
8297
- className: cn(value === "asc" && "bg-chekin-surface-pressed text-chekin-blue"),
8368
+ active: value === "asc",
8369
+ className: cn(value === "asc" && "text-[var(--chekin-color-brand-blue)]"),
8298
8370
  onClick: () => onSortChange?.("asc"),
8299
8371
  children: [
8300
8372
  /* @__PURE__ */ jsx105(ArrowUp, { className: "h-4 w-4" }),
@@ -8305,7 +8377,8 @@ function SortingAction({
8305
8377
  /* @__PURE__ */ jsxs69(
8306
8378
  DropdownMenuItem,
8307
8379
  {
8308
- className: cn(value === "desc" && "bg-chekin-surface-pressed text-chekin-blue"),
8380
+ active: value === "desc",
8381
+ className: cn(value === "desc" && "text-[var(--chekin-color-brand-blue)]"),
8309
8382
  onClick: () => onSortChange?.("desc"),
8310
8383
  children: [
8311
8384
  /* @__PURE__ */ jsx105(ArrowDown, { className: "h-4 w-4" }),
@@ -8453,8 +8526,8 @@ function Stepper({
8453
8526
  "span",
8454
8527
  {
8455
8528
  className: cn(
8456
- "h-1.5 min-h-px min-w-px flex-1 rounded-[1000px] bg-chekin-gray-3",
8457
- isActive && "bg-chekin-blue"
8529
+ "h-1.5 min-h-px min-w-px flex-1 rounded-[1000px] bg-[var(--chekin-color-gray-3)]",
8530
+ isActive && "bg-[var(--chekin-color-brand-blue)]"
8458
8531
  )
8459
8532
  },
8460
8533
  stepNumber
@@ -8512,7 +8585,7 @@ var SwitchGroup = React27.forwardRef(
8512
8585
  Label,
8513
8586
  {
8514
8587
  className: cn(
8515
- "text-md cursor-pointer font-medium text-chekin-navy",
8588
+ "text-md cursor-pointer font-medium text-[var(--chekin-color-brand-navy)]",
8516
8589
  (disabled || option.disabled) && "opacity-50"
8517
8590
  ),
8518
8591
  children: [
@@ -8521,7 +8594,7 @@ var SwitchGroup = React27.forwardRef(
8521
8594
  "span",
8522
8595
  {
8523
8596
  className: cn(
8524
- "mt-1 block text-sm font-normal text-chekin-gray-1",
8597
+ "mt-1 block text-sm font-normal text-[var(--chekin-color-gray-1)]",
8525
8598
  (disabled || option.disabled) && "opacity-50"
8526
8599
  ),
8527
8600
  children: [
@@ -8559,8 +8632,8 @@ var Tabs = TabsPrimitive2.Root;
8559
8632
  var tabsListVariants = cva12("inline-flex items-center", {
8560
8633
  variants: {
8561
8634
  variant: {
8562
- default: "h-10 justify-center rounded-md bg-chekin-surface-input-empty p-1 text-chekin-gray-1",
8563
- underlined: "gap-6 border-b border-chekin-gray-3"
8635
+ default: "h-10 justify-center rounded-md bg-[var(--chekin-color-surface-input-empty)] p-1 text-[var(--chekin-color-gray-1)]",
8636
+ underlined: "gap-6 border-b border-[var(--chekin-color-gray-3)]"
8564
8637
  }
8565
8638
  },
8566
8639
  defaultVariants: {
@@ -8583,8 +8656,8 @@ var tabsTriggerVariants = cva12(
8583
8656
  {
8584
8657
  variants: {
8585
8658
  variant: {
8586
- 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",
8587
- 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"
8659
+ 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",
8660
+ 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)]"
8588
8661
  }
8589
8662
  },
8590
8663
  defaultVariants: {
@@ -8619,12 +8692,12 @@ function TabbedSection({
8619
8692
  const contentContainerClassName = variant === "material" ? cn(
8620
8693
  "border-0 bg-transparent p-0 pt-6 shadow-none",
8621
8694
  "[&>div:first-child]:flex [&>div:first-child]:flex-col",
8622
- "[&>div:first-child]:gap-chekin-3",
8695
+ "[&>div:first-child]:gap-3",
8623
8696
  className
8624
8697
  ) : cn(
8625
- "rounded-b-md border border-t-0 border-chekin-gray-3 bg-white p-6 shadow-none",
8698
+ "rounded-b-md border border-t-0 border-[var(--chekin-color-gray-3)] bg-[var(--chekin-color-white)] p-6 shadow-none",
8626
8699
  "[&>div:first-child]:flex [&>div:first-child]:flex-col",
8627
- "[&>div:first-child]:gap-chekin-3",
8700
+ "[&>div:first-child]:gap-3",
8628
8701
  className
8629
8702
  );
8630
8703
  return /* @__PURE__ */ jsxs73(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
@@ -8668,7 +8741,6 @@ function TablePlaceholder({
8668
8741
 
8669
8742
  // src/task-card/TaskCard.tsx
8670
8743
  import { ArrowRight } from "lucide-react";
8671
- import styles21 from "./TaskCard.module-AVGS4US3.module.css";
8672
8744
  import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8673
8745
  function TaskCard({
8674
8746
  title,
@@ -8684,27 +8756,40 @@ function TaskCard({
8684
8756
  "div",
8685
8757
  {
8686
8758
  className: cn(
8687
- styles21.TaskCard,
8688
- styles21[`TaskCard--${eventType}`],
8689
- onClick && styles21["TaskCard--clickable"],
8759
+ "relative box-border flex min-h-[48px] min-w-[360px] items-center gap-4 overflow-hidden rounded-lg p-2 transition-colors duration-200",
8760
+ eventType === "error" && "bg-red-50",
8761
+ eventType === "warning" && "bg-amber-50",
8762
+ onClick && 'group cursor-pointer before:pointer-events-none before:absolute before:inset-0 before:rounded-lg before:content-[""]',
8763
+ onClick && eventType === "error" && "hover:before:bg-red-100 hover:before:mix-blend-multiply",
8764
+ onClick && eventType === "warning" && "hover:before:bg-amber-100 hover:before:mix-blend-multiply",
8690
8765
  className
8691
8766
  ),
8692
8767
  onClick,
8693
8768
  role: onClick ? "button" : void 0,
8694
8769
  tabIndex: onClick ? 0 : void 0,
8695
8770
  children: [
8696
- /* @__PURE__ */ jsx114("div", { className: styles21.TaskCard__indicator }),
8697
- /* @__PURE__ */ jsxs75("div", { className: styles21.TaskCard__content, children: [
8698
- /* @__PURE__ */ jsx114("h4", { className: styles21.TaskCard__title, children: title }),
8699
- /* @__PURE__ */ jsx114("p", { className: styles21.TaskCard__date, children: description })
8771
+ /* @__PURE__ */ jsx114(
8772
+ "div",
8773
+ {
8774
+ className: cn(
8775
+ "relative w-1 shrink-0 self-stretch rounded-sm",
8776
+ eventType === "error" && "bg-[var(--chekin-color-brand-red)]",
8777
+ eventType === "warning" && "bg-amber-500"
8778
+ )
8779
+ }
8780
+ ),
8781
+ /* @__PURE__ */ jsxs75("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
8782
+ /* @__PURE__ */ jsx114("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
8783
+ /* @__PURE__ */ jsx114("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
8700
8784
  ] }),
8701
- shouldShowActions && /* @__PURE__ */ jsxs75("div", { className: styles21.TaskCard__actions, children: [
8785
+ shouldShowActions && /* @__PURE__ */ jsxs75("div", { className: "flex shrink-0 items-center gap-1", children: [
8702
8786
  shouldShowCount && /* @__PURE__ */ jsx114(
8703
8787
  "div",
8704
8788
  {
8705
8789
  className: cn(
8706
- styles21.TaskCard__count,
8707
- styles21[`TaskCard__count--${eventType}`]
8790
+ '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-[""]',
8791
+ eventType === "error" && "text-[var(--chekin-color-brand-red)] before:bg-red-100",
8792
+ eventType === "warning" && "text-amber-700 before:bg-amber-100"
8708
8793
  ),
8709
8794
  children: count
8710
8795
  }
@@ -8712,7 +8797,7 @@ function TaskCard({
8712
8797
  onClick && /* @__PURE__ */ jsx114(
8713
8798
  "button",
8714
8799
  {
8715
- className: styles21.TaskCard__arrowButton,
8800
+ 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",
8716
8801
  onClick: (event) => {
8717
8802
  event.stopPropagation();
8718
8803
  onClick?.();
@@ -8780,12 +8865,12 @@ import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
8780
8865
  // src/toggle-group/style.ts
8781
8866
  import { cva as cva13 } from "class-variance-authority";
8782
8867
  var toggleVariants = cva13(
8783
- "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",
8868
+ "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",
8784
8869
  {
8785
8870
  variants: {
8786
8871
  variant: {
8787
- 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",
8788
- 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"
8872
+ 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)]",
8873
+ 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"
8789
8874
  },
8790
8875
  size: {
8791
8876
  default: "h-12 min-w-[117px] px-4 text-[15px]",
@@ -8795,7 +8880,7 @@ var toggleVariants = cva13(
8795
8880
  },
8796
8881
  theme: {
8797
8882
  default: "",
8798
- "sky-blue": "data-[state=on]:bg-chekin-surface-autocomplete data-[state=off]:hover:border-transparent data-[state=off]:hover:bg-chekin-surface-input-empty"
8883
+ "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)]"
8799
8884
  }
8800
8885
  },
8801
8886
  defaultVariants: {
@@ -8821,7 +8906,7 @@ var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, childre
8821
8906
  ref,
8822
8907
  className: cn(
8823
8908
  "flex items-center justify-center",
8824
- 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]",
8909
+ 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]",
8825
8910
  className
8826
8911
  ),
8827
8912
  ...props,
@@ -8944,7 +9029,7 @@ function TogglesInternal({
8944
9029
  ...multiple ? { type: "multiple", value: currentValue } : { type: "single", value: currentValue[0] ?? "" }
8945
9030
  };
8946
9031
  return /* @__PURE__ */ jsxs77("div", { ref, className, children: [
8947
- label && /* @__PURE__ */ jsx116("div", { className: "mb-2", children: /* @__PURE__ */ jsx116("div", { className: "select-none text-base font-normal text-chekin-navy", children: label }) }),
9032
+ label && /* @__PURE__ */ jsx116("div", { className: "mb-2", children: /* @__PURE__ */ jsx116("div", { className: "select-none text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
8948
9033
  /* @__PURE__ */ jsx116(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
8949
9034
  const isSelected = getValueArray2(value).includes(option.value);
8950
9035
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
@@ -8977,15 +9062,39 @@ var EndIcon = ({ children }) => /* @__PURE__ */ jsx117("div", { className: "poin
8977
9062
 
8978
9063
  // src/text-field/FieldError.tsx
8979
9064
  import { jsx as jsx118 } from "react/jsx-runtime";
8980
- var FieldError = ({ id, children }) => /* @__PURE__ */ jsx118("p", { id, className: "mt-1 text-right text-xs font-medium text-chekin-red", role: "alert", children });
9065
+ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx118(
9066
+ "p",
9067
+ {
9068
+ id,
9069
+ className: "mt-1 text-right text-xs font-medium text-[var(--chekin-color-brand-red)]",
9070
+ role: "alert",
9071
+ children
9072
+ }
9073
+ );
8981
9074
 
8982
9075
  // src/text-field/SupportingText.tsx
8983
9076
  import { jsx as jsx119 } from "react/jsx-runtime";
8984
- var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx119("p", { id, className: "mt-1 text-xs italic text-chekin-gray-2", children });
9077
+ var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx119("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
8985
9078
 
8986
9079
  // src/text-field/TextField.tsx
8987
- import styles22 from "./textField.module-5W2LJGIC.module.css";
8988
9080
  import { jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9081
+ var textFieldRootClasses = [
9082
+ "[--text-field-height:2.75rem]",
9083
+ "[--text-field-radius:8px]",
9084
+ "[--text-field-padding-x:0.875rem]",
9085
+ "[--text-field-padding-y:0.625rem]",
9086
+ "[--text-field-bg-empty:#f4f6f8]",
9087
+ "[--text-field-bg-filled:#ffffff]",
9088
+ "[--text-field-border-empty:rgba(22,22,67,0.2)]",
9089
+ "[--text-field-border-filled:#161643]",
9090
+ "[--text-field-border-error:#ff2467]",
9091
+ "[--text-field-text:#161643]",
9092
+ "[--text-field-placeholder:#6b6b95]",
9093
+ "[--text-field-label:#161643]",
9094
+ "[--text-field-supporting:#9696b9]",
9095
+ "[--text-field-error:#ff2467]",
9096
+ "[--text-field-focus-ring:rgba(56,91,248,0.2)]"
9097
+ ];
8989
9098
  var inputVariants = cva14(
8990
9099
  [
8991
9100
  "flex w-full border text-base font-medium leading-5 outline-none transition-colors",
@@ -9092,7 +9201,11 @@ var TextField = React29.forwardRef(
9092
9201
  return /* @__PURE__ */ jsxs78(
9093
9202
  "div",
9094
9203
  {
9095
- className: cn("relative flex w-full flex-col", styles22.root, wrapperClassName),
9204
+ className: cn(
9205
+ "relative flex w-full flex-col",
9206
+ textFieldRootClasses,
9207
+ wrapperClassName
9208
+ ),
9096
9209
  children: [
9097
9210
  /* @__PURE__ */ jsxs78("div", { className: "relative", children: [
9098
9211
  /* @__PURE__ */ jsx120(
@@ -9131,7 +9244,7 @@ var TextField = React29.forwardRef(
9131
9244
  }
9132
9245
  );
9133
9246
  }
9134
- return /* @__PURE__ */ jsxs78("div", { className: cn("flex w-full flex-col", styles22.root, wrapperClassName), children: [
9247
+ return /* @__PURE__ */ jsxs78("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9135
9248
  label && /* @__PURE__ */ jsxs78("div", { className: "mb-1 flex items-center gap-1", children: [
9136
9249
  /* @__PURE__ */ jsx120(
9137
9250
  LabelPrimitive2.Root,
@@ -9142,8 +9255,8 @@ var TextField = React29.forwardRef(
9142
9255
  }
9143
9256
  ),
9144
9257
  optional && /* @__PURE__ */ jsxs78("span", { className: "text-base leading-4", children: [
9145
- /* @__PURE__ */ jsx120("span", { className: "text-chekin-navy", children: "- " }),
9146
- /* @__PURE__ */ jsx120("span", { className: "italic text-chekin-gray-2", children: optionalLabel || t("optional") })
9258
+ /* @__PURE__ */ jsx120("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9259
+ /* @__PURE__ */ jsx120("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9147
9260
  ] }),
9148
9261
  tooltip
9149
9262
  ] }),
@@ -9173,12 +9286,11 @@ TextField.displayName = "TextField";
9173
9286
 
9174
9287
  // src/textarea/Textarea.tsx
9175
9288
  import { forwardRef as forwardRef47, useId as useId10 } from "react";
9176
- import styles23 from "./styles.module-6FWQEZTQ.module.css";
9177
9289
  import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9178
9290
  var Textarea = forwardRef47(
9179
9291
  ({ className, textareaClassName, label, disabled, name, invalid, ...textareaProps }, ref) => {
9180
9292
  const inputId = useId10();
9181
- return /* @__PURE__ */ jsxs79("div", { className: cn(styles23.container, className), children: [
9293
+ return /* @__PURE__ */ jsxs79("div", { className: cn("relative", className), children: [
9182
9294
  /* @__PURE__ */ jsx121(
9183
9295
  "textarea",
9184
9296
  {
@@ -9186,10 +9298,12 @@ var Textarea = forwardRef47(
9186
9298
  id: inputId,
9187
9299
  name,
9188
9300
  disabled,
9189
- className: cn(styles23.textarea, textareaClassName, {
9190
- [styles23.textareaError]: invalid,
9191
- [styles23.textareaDisabled]: disabled
9192
- }),
9301
+ className: cn(
9302
+ "peer box-border min-h-[120px] w-full resize-none rounded-lg border border-[#cecede] bg-[#f4f6f8] px-4 py-3 text-[#161643] outline-none [scrollbar-color:#777e91_transparent] [scrollbar-gutter:stable] placeholder:text-[#6b6b95] placeholder:opacity-100 focus:border-[#385bf8] focus:bg-white focus:transition-colors focus:duration-100 focus:ease-in-out [&:not(:placeholder-shown)]:bg-white",
9303
+ invalid && "border-[#ff2467] focus:border-[#ff2467]",
9304
+ disabled && "cursor-not-allowed resize-none border-[#9696b9] bg-[#f4f6f8] text-[#9696b9] placeholder:text-[#9696b9]",
9305
+ textareaClassName
9306
+ ),
9193
9307
  ...textareaProps
9194
9308
  }
9195
9309
  ),
@@ -9197,10 +9311,11 @@ var Textarea = forwardRef47(
9197
9311
  "label",
9198
9312
  {
9199
9313
  htmlFor: inputId,
9200
- className: cn(styles23.label, {
9201
- [styles23.labelError]: invalid,
9202
- [styles23.labelDisabled]: disabled
9203
- }),
9314
+ className: cn(
9315
+ "pointer-events-none absolute left-3 top-4 px-1 text-[#6b6b95] transition-all duration-100 ease-in-out peer-focus:left-2 peer-focus:top-[-0.6rem] peer-focus:bg-white peer-focus:text-sm peer-focus:font-medium peer-focus:text-[#385bf8] peer-[:not(:placeholder-shown)]:left-2 peer-[:not(:placeholder-shown)]:top-[-0.6rem] peer-[:not(:placeholder-shown)]:bg-white peer-[:not(:placeholder-shown)]:text-sm peer-[:not(:placeholder-shown)]:font-medium",
9316
+ invalid && "text-[#ff2467] peer-focus:text-[#ff2467]",
9317
+ disabled && "text-[#9696b9]"
9318
+ ),
9204
9319
  children: label
9205
9320
  }
9206
9321
  )
@@ -9217,18 +9332,43 @@ var LABEL_PLACEMENT = /* @__PURE__ */ ((LABEL_PLACEMENT2) => {
9217
9332
  })(LABEL_PLACEMENT || {});
9218
9333
 
9219
9334
  // src/three-dots-loader/ThreeDotsLoader.tsx
9220
- import styles24 from "./styles.module-Y6YCV6UA.module.css";
9221
9335
  import { Fragment as Fragment10, jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
9222
9336
  function Dots({
9223
9337
  height,
9224
9338
  width,
9225
9339
  color
9226
9340
  }) {
9227
- return /* @__PURE__ */ jsxs80("span", { className: styles24.dots, style: { height, width }, "aria-hidden": "true", children: [
9228
- /* @__PURE__ */ jsx122("span", { className: styles24.dot, style: { backgroundColor: color } }),
9229
- /* @__PURE__ */ jsx122("span", { className: styles24.dot, style: { backgroundColor: color } }),
9230
- /* @__PURE__ */ jsx122("span", { className: styles24.dot, style: { backgroundColor: color } })
9231
- ] });
9341
+ return /* @__PURE__ */ jsxs80(
9342
+ "span",
9343
+ {
9344
+ className: "inline-flex items-center justify-center gap-[15%]",
9345
+ style: { height, width },
9346
+ "aria-hidden": "true",
9347
+ children: [
9348
+ /* @__PURE__ */ jsx122(
9349
+ "span",
9350
+ {
9351
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.32s]",
9352
+ style: { backgroundColor: color }
9353
+ }
9354
+ ),
9355
+ /* @__PURE__ */ jsx122(
9356
+ "span",
9357
+ {
9358
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.16s]",
9359
+ style: { backgroundColor: color }
9360
+ }
9361
+ ),
9362
+ /* @__PURE__ */ jsx122(
9363
+ "span",
9364
+ {
9365
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full",
9366
+ style: { backgroundColor: color }
9367
+ }
9368
+ )
9369
+ ]
9370
+ }
9371
+ );
9232
9372
  }
9233
9373
  function ThreeDotsLoader({
9234
9374
  height = 30,
@@ -9240,13 +9380,22 @@ function ThreeDotsLoader({
9240
9380
  }) {
9241
9381
  const dots = /* @__PURE__ */ jsx122(Dots, { color, height, width });
9242
9382
  if (label) {
9243
- return /* @__PURE__ */ jsx122("div", { className: cn(styles24.Loader, className), children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ jsxs80(Fragment10, { children: [
9244
- dots,
9245
- /* @__PURE__ */ jsx122("div", { children: label })
9246
- ] }) : /* @__PURE__ */ jsxs80(Fragment10, { children: [
9247
- /* @__PURE__ */ jsx122("div", { children: label }),
9248
- dots
9249
- ] }) });
9383
+ return /* @__PURE__ */ jsx122(
9384
+ "div",
9385
+ {
9386
+ className: cn(
9387
+ "flex items-center justify-center gap-x-[13px] [&>div]:text-sm [&>div]:font-bold [&>div]:uppercase [&>div]:text-[#9696b9] [&>div]:opacity-50",
9388
+ className
9389
+ ),
9390
+ children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ jsxs80(Fragment10, { children: [
9391
+ dots,
9392
+ /* @__PURE__ */ jsx122("div", { children: label })
9393
+ ] }) : /* @__PURE__ */ jsxs80(Fragment10, { children: [
9394
+ /* @__PURE__ */ jsx122("div", { children: label }),
9395
+ dots
9396
+ ] })
9397
+ }
9398
+ );
9250
9399
  }
9251
9400
  return /* @__PURE__ */ jsx122("div", { className, children: dots });
9252
9401
  }
@@ -9265,15 +9414,15 @@ function UploadedFilesList({
9265
9414
  return /* @__PURE__ */ jsx123("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs81(
9266
9415
  "div",
9267
9416
  {
9268
- 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",
9417
+ 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",
9269
9418
  children: [
9270
- /* @__PURE__ */ jsx123("span", { className: "text-nowrap text-sm font-medium leading-5 text-chekin-navy", children: file.name }),
9419
+ /* @__PURE__ */ jsx123("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9271
9420
  /* @__PURE__ */ jsx123(
9272
9421
  "button",
9273
9422
  {
9274
9423
  type: "button",
9275
9424
  onClick: () => onRemoveFile(file.name),
9276
- 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",
9425
+ 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",
9277
9426
  "aria-label": `Remove ${file.name}`,
9278
9427
  children: /* @__PURE__ */ jsx123(X7, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9279
9428
  }
@@ -9292,7 +9441,7 @@ function WideButton({ className, disabled, ...props }) {
9292
9441
  {
9293
9442
  variant: "ghost",
9294
9443
  className: cn(
9295
- "min-h-[84px] w-full max-w-[712px] flex-row justify-center bg-chekin-surface-pressed shadow-none",
9444
+ "min-h-[84px] w-full max-w-[712px] flex-row justify-center bg-[var(--chekin-color-surface-pressed)] shadow-none",
9296
9445
  "transition-all duration-[70ms] ease-in-out hover:opacity-70",
9297
9446
  disabled && "opacity-10",
9298
9447
  className