@chekinapp/ui 0.0.35 → 0.0.36

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
@@ -10,17 +10,20 @@ function cn(...inputs) {
10
10
  return twMerge(clsx(inputs));
11
11
  }
12
12
 
13
- // src/accordion/Accordion.module.css
14
- var Accordion_default = {};
15
-
16
13
  // src/accordion/Accordion.tsx
14
+ import styles from "./Accordion.module-5SXQLE6L.module.css";
17
15
  import { jsx, jsxs } from "react/jsx-runtime";
18
16
  var Accordion = AccordionPrimitive.Root;
19
17
  var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
20
18
  AccordionPrimitive.Item,
21
19
  {
22
20
  ref,
23
- className: cn("accordion__item", Accordion_default.accordion__item, className),
21
+ className: cn(
22
+ "accordion__item",
23
+ "transition-colors duration-200 ease-in-out",
24
+ styles.accordion__item,
25
+ className
26
+ ),
24
27
  ...props
25
28
  }
26
29
  ));
@@ -34,7 +37,9 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
34
37
  ref,
35
38
  className: cn(
36
39
  "accordion__trigger",
37
- Accordion_default.accordion__trigger,
40
+ "flex h-auto w-full flex-1 items-center justify-between text-left outline-none transition-colors duration-200",
41
+ "hover:no-underline disabled:pointer-events-none",
42
+ styles.accordion__trigger,
38
43
  "group",
39
44
  className
40
45
  ),
@@ -46,7 +51,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
46
51
  {
47
52
  className: cn(
48
53
  "accordion__icon",
49
- Accordion_default.accordion__icon,
54
+ styles.accordion__icon,
50
55
  "shrink-0 rounded-full p-0.5",
51
56
  "transition-colors duration-200",
52
57
  "relative"
@@ -88,7 +93,10 @@ var AccordionContent = React.forwardRef(({ className, contentClassName, children
88
93
  ref,
89
94
  className: cn(
90
95
  "accordion__content",
91
- Accordion_default.accordion__content,
96
+ "transition-all",
97
+ "data-[state=closed]:animate-accordion-up",
98
+ "data-[state=open]:animate-accordion-down",
99
+ styles.accordion__content,
92
100
  // TODO Uncomment the next line when dropdown position is fixed
93
101
  // 'overflow-hidden',
94
102
  className
@@ -99,7 +107,7 @@ var AccordionContent = React.forwardRef(({ className, contentClassName, children
99
107
  {
100
108
  className: cn(
101
109
  "accordion__contentItem",
102
- Accordion_default.accordion__contentItem,
110
+ styles.accordion__contentItem,
103
111
  contentClassName
104
112
  ),
105
113
  children
@@ -111,11 +119,7 @@ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
111
119
 
112
120
  // src/alert-box/AlertBox.tsx
113
121
  import { AlertCircle, Check, TriangleAlert, XCircle } from "lucide-react";
114
-
115
- // src/alert-box/AlertBox.module.css
116
- var AlertBox_default = {};
117
-
118
- // src/alert-box/AlertBox.tsx
122
+ import styles2 from "./AlertBox.module-PL4N3ELX.module.css";
119
123
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
120
124
  var AlertType = /* @__PURE__ */ ((AlertType2) => {
121
125
  AlertType2["INFO"] = "INFO";
@@ -144,10 +148,10 @@ var sizeClasses = {
144
148
  ["L" /* L */]: "px-6 py-5 items-start"
145
149
  };
146
150
  var typeStyles = {
147
- ["INFO" /* INFO */]: AlertBox_default["alertBox--info"],
148
- ["WARNING" /* WARNING */]: AlertBox_default["alertBox--warning"],
149
- ["ERROR" /* ERROR */]: AlertBox_default["alertBox--error"],
150
- ["SUCCESS" /* SUCCESS */]: AlertBox_default["alertBox--success"],
151
+ ["INFO" /* INFO */]: styles2["alertBox--info"],
152
+ ["WARNING" /* WARNING */]: styles2["alertBox--warning"],
153
+ ["ERROR" /* ERROR */]: styles2["alertBox--error"],
154
+ ["SUCCESS" /* SUCCESS */]: styles2["alertBox--success"],
151
155
  ["LIGHT" /* LIGHT */]: ""
152
156
  };
153
157
  function AlertBox({
@@ -164,7 +168,7 @@ function AlertBox({
164
168
  {
165
169
  "data-slot": "alert-box",
166
170
  className: cn(
167
- AlertBox_default.alertBox,
171
+ styles2.alertBox,
168
172
  "flex gap-3 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0",
169
173
  sizeClasses[size],
170
174
  typeStyles[type],
@@ -184,11 +188,7 @@ var AlertSizes = AlertSize;
184
188
  // src/audio-player/AudioPlayer.tsx
185
189
  import { useCallback, useEffect, useRef, useState } from "react";
186
190
  import { Pause, Play } from "lucide-react";
187
-
188
- // src/audio-player/AudioPlayer.module.css
189
- var AudioPlayer_default = {};
190
-
191
- // src/audio-player/AudioPlayer.tsx
191
+ import styles3 from "./AudioPlayer.module-RDUQ533M.module.css";
192
192
  import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
193
193
  function formatTime(seconds) {
194
194
  const mins = Math.floor(seconds / 60);
@@ -252,7 +252,7 @@ function AudioPlayer({ src, compact, className }) {
252
252
  {
253
253
  type: "button",
254
254
  className: cn(
255
- AudioPlayer_default.playButton,
255
+ styles3.playButton,
256
256
  "inline-flex items-center justify-center",
257
257
  compact ? "h-6 min-w-6 p-1" : "h-8 min-w-8 p-1.5"
258
258
  ),
@@ -266,7 +266,7 @@ function AudioPlayer({ src, compact, className }) {
266
266
  {
267
267
  ref: progressRef,
268
268
  className: cn(
269
- AudioPlayer_default.track,
269
+ styles3.track,
270
270
  "h-1 flex-1 cursor-pointer overflow-hidden rounded-full"
271
271
  ),
272
272
  onClick: handleSeek,
@@ -274,7 +274,7 @@ function AudioPlayer({ src, compact, className }) {
274
274
  "div",
275
275
  {
276
276
  className: cn(
277
- AudioPlayer_default.progress,
277
+ styles3.progress,
278
278
  "h-full transition-all duration-100 ease-linear"
279
279
  ),
280
280
  style: { width: `${progress}%` }
@@ -282,7 +282,7 @@ function AudioPlayer({ src, compact, className }) {
282
282
  )
283
283
  }
284
284
  ),
285
- /* @__PURE__ */ jsx3("span", { className: cn(AudioPlayer_default.time, "min-w-10 text-xs font-medium"), children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
285
+ /* @__PURE__ */ jsx3("span", { className: cn(styles3.time, "min-w-10 text-xs font-medium"), children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
286
286
  ] })
287
287
  ] });
288
288
  }
@@ -291,11 +291,7 @@ AudioPlayer.displayName = "AudioPlayer";
291
291
  // src/avatar/Avatar.tsx
292
292
  import * as React2 from "react";
293
293
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
294
-
295
- // src/avatar/Avatar.module.css
296
- var Avatar_default = {};
297
-
298
- // src/avatar/Avatar.tsx
294
+ import styles4 from "./Avatar.module-VPJKIZT3.module.css";
299
295
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
300
296
  var sizeClasses2 = {
301
297
  sm: "h-8 w-8",
@@ -327,7 +323,7 @@ var Avatar = React2.forwardRef(({ className, src, alt, fallback, size = "md", fa
327
323
  {
328
324
  className: cn(
329
325
  "flex h-full w-full items-center justify-center rounded-full font-medium",
330
- !fallbackClassName && Avatar_default.fallback,
326
+ !fallbackClassName && styles4.fallback,
331
327
  fallbackClassName
332
328
  ),
333
329
  children: fallback
@@ -380,11 +376,7 @@ Badge.displayName = "Badge";
380
376
 
381
377
  // src/beta-badge/BetaBadge.tsx
382
378
  import { useTranslation } from "react-i18next";
383
-
384
- // src/beta-badge/BetaBadge.module.css
385
- var BetaBadge_default = {};
386
-
387
- // src/beta-badge/BetaBadge.tsx
379
+ import styles5 from "./BetaBadge.module-W2AGK53A.module.css";
388
380
  import { jsxs as jsxs5 } from "react/jsx-runtime";
389
381
  function BetaBadge({
390
382
  className,
@@ -399,9 +391,9 @@ function BetaBadge({
399
391
  {
400
392
  "data-slot": "beta-badge",
401
393
  className: cn(
402
- BetaBadge_default.betaBadge,
394
+ styles5.betaBadge,
403
395
  "rounded-sm px-2 py-1 text-sm/4 font-semibold uppercase",
404
- readOnly && BetaBadge_default["betaBadge--readonly"],
396
+ readOnly && styles5["betaBadge--readonly"],
405
397
  className
406
398
  ),
407
399
  ...props,
@@ -492,11 +484,7 @@ BookmarkTabsTrigger.displayName = "BookmarkTabsTrigger";
492
484
  // src/box-option-selector/BoxOptionSelector.tsx
493
485
  import { forwardRef as forwardRef4, useEffect as useEffect2, useState as useState2 } from "react";
494
486
  import { useTranslation as useTranslation2 } from "react-i18next";
495
-
496
- // src/box-option-selector/BoxOptionSelector.module.css
497
- var BoxOptionSelector_default = {};
498
-
499
- // src/box-option-selector/BoxOptionSelector.tsx
487
+ import styles6 from "./BoxOptionSelector.module-24AKP2OJ.module.css";
500
488
  import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
501
489
  var BoxOptionSelector = forwardRef4(
502
490
  ({
@@ -532,9 +520,9 @@ var BoxOptionSelector = forwardRef4(
532
520
  ref,
533
521
  "data-slot": "box-option-selector",
534
522
  className: cn(
535
- BoxOptionSelector_default.boxOption,
523
+ styles6.boxOption,
536
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",
537
- isSelected && BoxOptionSelector_default["boxOption--selected"],
525
+ isSelected && styles6["boxOption--selected"],
538
526
  disabled && "cursor-not-allowed opacity-50"
539
527
  ),
540
528
  onClick: handleClick,
@@ -1504,18 +1492,16 @@ function ScrollBar({
1504
1492
  );
1505
1493
  }
1506
1494
 
1507
- // src/error-message/styles.module.css
1508
- var styles_default = {};
1509
-
1510
1495
  // src/error-message/ErrorMessage.tsx
1496
+ import styles7 from "./styles.module-VIYXJAAX.module.css";
1511
1497
  import { jsx as jsx21 } from "react/jsx-runtime";
1512
1498
  function ErrorMessage({ className, children, disabled }) {
1513
1499
  return /* @__PURE__ */ jsx21(
1514
1500
  "div",
1515
1501
  {
1516
1502
  className: cn(
1517
- styles_default.ErrorMessage,
1518
- disabled && styles_default.ErrorMessage__disabled,
1503
+ styles7.ErrorMessage,
1504
+ disabled && styles7.ErrorMessage__disabled,
1519
1505
  className
1520
1506
  ),
1521
1507
  children
@@ -1691,7 +1677,7 @@ var StatusBadgeInternal = forwardRef11(
1691
1677
  disabled = false,
1692
1678
  ...props
1693
1679
  }, ref) => {
1694
- const styles = variantStyles[variant];
1680
+ const styles25 = variantStyles[variant];
1695
1681
  const hasText = !iconOnly && (children || !textOnly);
1696
1682
  const hasIcon = !textOnly && showIcon;
1697
1683
  const padding = (() => {
@@ -1706,15 +1692,15 @@ var StatusBadgeInternal = forwardRef11(
1706
1692
  ref,
1707
1693
  className: cn(
1708
1694
  "inline-flex cursor-default items-center justify-center gap-1 rounded-3xl text-[14px] font-medium leading-4",
1709
- styles.container,
1710
- styles.text,
1695
+ styles25.container,
1696
+ styles25.text,
1711
1697
  padding,
1712
1698
  disabled && "opacity-50",
1713
1699
  className
1714
1700
  ),
1715
1701
  ...props,
1716
1702
  children: [
1717
- hasIcon && /* @__PURE__ */ jsx23(StatusBadgeIcon, { variant: styles.icon, className: "size-4 flex-shrink-0" }),
1703
+ hasIcon && /* @__PURE__ */ jsx23(StatusBadgeIcon, { variant: styles25.icon, className: "size-4 flex-shrink-0" }),
1718
1704
  hasText && /* @__PURE__ */ jsx23("span", { className: "whitespace-nowrap", children })
1719
1705
  ]
1720
1706
  }
@@ -1926,10 +1912,8 @@ import {
1926
1912
  forwardRef as forwardRef12
1927
1913
  } from "react";
1928
1914
 
1929
- // src/loading-bar/styles.module.css
1930
- var styles_default2 = {};
1931
-
1932
1915
  // src/loading-bar/LoadingBar.tsx
1916
+ import styles8 from "./styles.module-I3PJNRXG.module.css";
1933
1917
  import { jsx as jsx26 } from "react/jsx-runtime";
1934
1918
  function LoadingBar({ className }) {
1935
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(
@@ -1937,7 +1921,7 @@ function LoadingBar({ className }) {
1937
1921
  {
1938
1922
  className: cn(
1939
1923
  "absolute top-0 h-full rounded-full bg-[var(--primary)]",
1940
- styles_default2.bar
1924
+ styles8.bar
1941
1925
  )
1942
1926
  }
1943
1927
  ) }) });
@@ -3583,19 +3567,19 @@ var HaloIcon = forwardRef19(
3583
3567
  size = "M",
3584
3568
  className
3585
3569
  }, ref) => {
3586
- const styles = statusStyles[status];
3570
+ const styles25 = statusStyles[status];
3587
3571
  return /* @__PURE__ */ jsx45(
3588
3572
  "div",
3589
3573
  {
3590
3574
  ref,
3591
3575
  className: cn(
3592
3576
  "halo-icon flex items-center justify-center rounded-[50%]",
3593
- styles.color,
3577
+ styles25.color,
3594
3578
  {
3595
3579
  "h-6 w-6 [&>svg]:h-4 [&>svg]:w-4": size === "M",
3596
3580
  "h-8 w-8 [&>svg]:h-5 [&>svg]:w-5": size === "L",
3597
3581
  "h-11 w-11 [&>svg]:h-5 [&>svg]:w-5": size === "XL",
3598
- [styles.background]: variant === "default"
3582
+ [styles25.background]: variant === "default"
3599
3583
  },
3600
3584
  className
3601
3585
  ),
@@ -4182,28 +4166,28 @@ var FileInputButton = forwardRef22(
4182
4166
  );
4183
4167
  FileInputButton.displayName = "FileInputButton";
4184
4168
 
4185
- // src/form-box/FormBox.module.css
4186
- var FormBox_default = {};
4187
-
4188
4169
  // src/form-box/Content.tsx
4170
+ import styles9 from "./FormBox.module-WG4SQBRR.module.css";
4189
4171
  import { jsx as jsx52 } from "react/jsx-runtime";
4190
4172
  function Content5({ children, className, ...props }) {
4191
- return /* @__PURE__ */ jsx52("div", { className: cn(FormBox_default.content, className), ...props, children });
4173
+ return /* @__PURE__ */ jsx52("div", { className: cn(styles9.content, className), ...props, children });
4192
4174
  }
4193
4175
 
4194
4176
  // src/form-box/Header.tsx
4177
+ import styles10 from "./FormBox.module-WG4SQBRR.module.css";
4195
4178
  import { jsx as jsx53 } from "react/jsx-runtime";
4196
4179
  function Header2({ children, className, ...props }) {
4197
- return /* @__PURE__ */ jsx53("h2", { className: cn(FormBox_default.header, className), ...props, children });
4180
+ return /* @__PURE__ */ jsx53("h2", { className: cn(styles10.header, className), ...props, children });
4198
4181
  }
4199
4182
 
4200
4183
  // src/form-box/Root.tsx
4184
+ import styles11 from "./FormBox.module-WG4SQBRR.module.css";
4201
4185
  import { jsx as jsx54 } from "react/jsx-runtime";
4202
4186
  function Root10({ children, nested, className, ...props }) {
4203
4187
  return /* @__PURE__ */ jsx54(
4204
4188
  "div",
4205
4189
  {
4206
- className: cn(FormBox_default.wrapper, nested && FormBox_default.wrapperNested, className),
4190
+ className: cn(styles11.wrapper, nested && styles11.wrapperNested, className),
4207
4191
  ...props,
4208
4192
  children
4209
4193
  }
@@ -4211,9 +4195,10 @@ function Root10({ children, nested, className, ...props }) {
4211
4195
  }
4212
4196
 
4213
4197
  // src/form-box/SubHeader.tsx
4198
+ import styles12 from "./FormBox.module-WG4SQBRR.module.css";
4214
4199
  import { jsx as jsx55 } from "react/jsx-runtime";
4215
4200
  function SubHeader({ children, className, ...props }) {
4216
- return /* @__PURE__ */ jsx55("h4", { className: cn(FormBox_default.subHeader, className), ...props, children });
4201
+ return /* @__PURE__ */ jsx55("h4", { className: cn(styles12.subHeader, className), ...props, children });
4217
4202
  }
4218
4203
 
4219
4204
  // src/form-box/index.ts
@@ -4231,11 +4216,7 @@ import {
4231
4216
  useState as useState14
4232
4217
  } from "react";
4233
4218
  import { useTranslation as useTranslation10 } from "react-i18next";
4234
-
4235
- // src/free-text-field/styles.module.css
4236
- var styles_default3 = {};
4237
-
4238
- // src/free-text-field/FreeTextField.tsx
4219
+ import styles13 from "./styles.module-SHDCFZJR.module.css";
4239
4220
  import { jsx as jsx56, jsxs as jsxs36 } from "react/jsx-runtime";
4240
4221
  var FreeTextField = forwardRef23(
4241
4222
  ({
@@ -4281,23 +4262,23 @@ var FreeTextField = forwardRef23(
4281
4262
  onBlur?.(event);
4282
4263
  };
4283
4264
  const fieldBoxClassName = cn(
4284
- styles_default3.fieldBox,
4285
- autocompleted && styles_default3.fieldBoxAutocompleted,
4286
- isErrorWrong && !autocompleted && styles_default3.fieldBoxErrorWrong,
4287
- !autocompleted && !isErrorWrong && !isEmpty && styles_default3.fieldBoxFilled,
4288
- !autocompleted && !isErrorWrong && isEmpty && styles_default3.fieldBoxEmpty,
4289
- isFocused && !hasError && styles_default3.fieldBoxFocused
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
4290
4271
  );
4291
4272
  const inputPlaceholder = fieldStyle === "new" ? label : placeholder;
4292
4273
  const showFloatingLabel = fieldStyle === "new" && !isEmpty && Boolean(label);
4293
- return /* @__PURE__ */ jsxs36("div", { className: cn(styles_default3.container, className), children: [
4294
- fieldStyle === "current" && label && /* @__PURE__ */ jsxs36("div", { className: styles_default3.labelRow, children: [
4295
- /* @__PURE__ */ jsx56("label", { htmlFor: inputId, className: styles_default3.labelText, children: label }),
4296
- optional && /* @__PURE__ */ jsxs36("span", { className: styles_default3.optionalText, children: [
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: [
4297
4278
  "- ",
4298
4279
  /* @__PURE__ */ jsx56("em", { children: optionalLabel || t("optional") })
4299
4280
  ] }),
4300
- tooltip && /* @__PURE__ */ jsx56("div", { className: styles_default3.tooltip, children: tooltip })
4281
+ tooltip && /* @__PURE__ */ jsx56("div", { className: styles13.tooltip, children: tooltip })
4301
4282
  ] }),
4302
4283
  /* @__PURE__ */ jsxs36("div", { className: fieldBoxClassName, children: [
4303
4284
  /* @__PURE__ */ jsx56(
@@ -4305,7 +4286,7 @@ var FreeTextField = forwardRef23(
4305
4286
  {
4306
4287
  ref,
4307
4288
  id: inputId,
4308
- className: styles_default3.input,
4289
+ className: styles13.input,
4309
4290
  placeholder: inputPlaceholder,
4310
4291
  value,
4311
4292
  defaultValue: value === void 0 ? defaultValue : void 0,
@@ -4316,20 +4297,20 @@ var FreeTextField = forwardRef23(
4316
4297
  ...inputProps
4317
4298
  }
4318
4299
  ),
4319
- icon && /* @__PURE__ */ jsx56("div", { className: styles_default3.icon, children: icon }),
4300
+ icon && /* @__PURE__ */ jsx56("div", { className: styles13.icon, children: icon }),
4320
4301
  showFloatingLabel && /* @__PURE__ */ jsx56(
4321
4302
  "div",
4322
4303
  {
4323
4304
  className: cn(
4324
- styles_default3.floatingLabel,
4325
- autocompleted && styles_default3.floatingLabelAutocompleted
4305
+ styles13.floatingLabel,
4306
+ autocompleted && styles13.floatingLabelAutocompleted
4326
4307
  ),
4327
4308
  children: /* @__PURE__ */ jsx56(
4328
4309
  "span",
4329
4310
  {
4330
4311
  className: cn(
4331
- styles_default3.floatingLabelText,
4332
- isErrorWrong && styles_default3.floatingLabelTextError
4312
+ styles13.floatingLabelText,
4313
+ isErrorWrong && styles13.floatingLabelTextError
4333
4314
  ),
4334
4315
  children: label
4335
4316
  }
@@ -4337,8 +4318,8 @@ var FreeTextField = forwardRef23(
4337
4318
  }
4338
4319
  )
4339
4320
  ] }),
4340
- supportingText && /* @__PURE__ */ jsx56("p", { className: styles_default3.supportingText, children: supportingText }),
4341
- error && /* @__PURE__ */ jsx56("p", { className: styles_default3.errorText, children: error })
4321
+ supportingText && /* @__PURE__ */ jsx56("p", { className: styles13.supportingText, children: supportingText }),
4322
+ error && /* @__PURE__ */ jsx56("p", { className: styles13.errorText, children: error })
4342
4323
  ] });
4343
4324
  }
4344
4325
  );
@@ -5778,11 +5759,7 @@ function Loader({
5778
5759
 
5779
5760
  // src/metric-card/MetricCard.tsx
5780
5761
  import { CircleQuestionMark as CircleQuestionMark2, TrendingDown, TrendingUp } from "lucide-react";
5781
-
5782
- // src/metric-card/MetricCard.module.css
5783
- var MetricCard_default = {};
5784
-
5785
- // src/metric-card/MetricCard.tsx
5762
+ import styles14 from "./MetricCard.module-LEV46BXD.module.css";
5786
5763
  import { jsx as jsx73, jsxs as jsxs46 } from "react/jsx-runtime";
5787
5764
  function MetricCard({
5788
5765
  title,
@@ -5798,37 +5775,37 @@ function MetricCard({
5798
5775
  "div",
5799
5776
  {
5800
5777
  className: cn(
5801
- MetricCard_default.MetricCard,
5802
- MetricCard_default[`MetricCard--${variant}`],
5803
- loading && MetricCard_default["MetricCard--loading"],
5778
+ styles14.MetricCard,
5779
+ styles14[`MetricCard--${variant}`],
5780
+ loading && styles14["MetricCard--loading"],
5804
5781
  className
5805
5782
  ),
5806
5783
  children: [
5807
- /* @__PURE__ */ jsx73("div", { className: MetricCard_default.MetricCard__iconContainer, children: icon }),
5808
- /* @__PURE__ */ jsxs46("div", { className: MetricCard_default.MetricCard__content, children: [
5809
- /* @__PURE__ */ jsxs46("div", { className: MetricCard_default.MetricCard__header, children: [
5810
- /* @__PURE__ */ jsx73("h4", { className: MetricCard_default.MetricCard__title, children: title }),
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 }),
5811
5788
  tooltip && /* @__PURE__ */ jsx73(Tooltip, { side: "right", content: tooltip, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx73(
5812
5789
  "button",
5813
5790
  {
5814
5791
  type: "button",
5815
5792
  className: cn(
5816
5793
  "inline-flex text-[var(--chekin-color-gray-1)]",
5817
- MetricCard_default.MetricCard__tooltip
5794
+ styles14.MetricCard__tooltip
5818
5795
  ),
5819
5796
  "aria-label": tooltip,
5820
5797
  children: /* @__PURE__ */ jsx73(CircleQuestionMark2, { className: "h-4 w-4" })
5821
5798
  }
5822
5799
  ) })
5823
5800
  ] }),
5824
- /* @__PURE__ */ jsxs46("div", { className: MetricCard_default.MetricCard__footer, children: [
5825
- /* @__PURE__ */ jsx73("div", { className: MetricCard_default.MetricCard__value, children: value }),
5801
+ /* @__PURE__ */ jsxs46("div", { className: styles14.MetricCard__footer, children: [
5802
+ /* @__PURE__ */ jsx73("div", { className: styles14.MetricCard__value, children: value }),
5826
5803
  !!percentage && /* @__PURE__ */ jsxs46(
5827
5804
  "div",
5828
5805
  {
5829
5806
  className: cn(
5830
- MetricCard_default.MetricCard__percentage,
5831
- percentage < 0 ? MetricCard_default["--negative"] : ""
5807
+ styles14.MetricCard__percentage,
5808
+ percentage < 0 ? styles14["--negative"] : ""
5832
5809
  ),
5833
5810
  children: [
5834
5811
  percentage < 0 ? /* @__PURE__ */ jsx73(TrendingDown, {}) : /* @__PURE__ */ jsx73(TrendingUp, {}),
@@ -5856,11 +5833,7 @@ var METRIC_CARD_VARIANTS = {
5856
5833
  // src/modal/Modal.tsx
5857
5834
  import { forwardRef as forwardRef31, useRef as useRef14 } from "react";
5858
5835
  import { X as X5 } from "lucide-react";
5859
-
5860
- // src/modal/styles.module.css
5861
- var styles_default4 = {};
5862
-
5863
- // src/modal/Modal.tsx
5836
+ import styles15 from "./styles.module-74HHIGIE.module.css";
5864
5837
  import { jsx as jsx74, jsxs as jsxs47 } from "react/jsx-runtime";
5865
5838
  var preventDefault = (event) => {
5866
5839
  event.preventDefault();
@@ -5904,9 +5877,9 @@ function Modal({
5904
5877
  overlayClassName,
5905
5878
  className: cn(
5906
5879
  "modal__content",
5907
- styles_default4.modal__content,
5880
+ styles15.modal__content,
5908
5881
  scrollableOverlay && "min-h-0",
5909
- size === "compact" && styles_default4.modal__contentCompact,
5882
+ size === "compact" && styles15.modal__contentCompact,
5910
5883
  className
5911
5884
  ),
5912
5885
  lockScroll,
@@ -5917,16 +5890,16 @@ function Modal({
5917
5890
  {
5918
5891
  type: "button",
5919
5892
  onClick: handleClose,
5920
- className: cn("modal__close", styles_default4.modal__close),
5893
+ className: cn("modal__close", styles15.modal__close),
5921
5894
  "aria-label": "Close",
5922
5895
  children: /* @__PURE__ */ jsx74(X5, { className: "h-5 w-5" })
5923
5896
  }
5924
5897
  ),
5925
- (iconSrc || iconProps?.src) && /* @__PURE__ */ jsx74("div", { className: cn("modal__icon", styles_default4.modal__icon), children: /* @__PURE__ */ jsx74("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5926
- title ? /* @__PURE__ */ jsx74(DialogTitle, { className: cn("modal__title", styles_default4.modal__title), children: title }) : /* @__PURE__ */ jsx74(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx74(DialogTitle, { children: "Dialog" }) }),
5927
- text && /* @__PURE__ */ jsx74(DialogDescription, { className: cn("modal__text", styles_default4.modal__text), children: text }),
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 }),
5928
5901
  children,
5929
- buttons && /* @__PURE__ */ jsx74("div", { className: cn("modal__buttons-wrapper", styles_default4.modal__buttonsWrapper), children: buttons })
5902
+ buttons && /* @__PURE__ */ jsx74("div", { className: cn("modal__buttons-wrapper", styles15.modal__buttonsWrapper), children: buttons })
5930
5903
  ]
5931
5904
  }
5932
5905
  ) });
@@ -5936,7 +5909,7 @@ var ModalButton = forwardRef31(
5936
5909
  Button,
5937
5910
  {
5938
5911
  ref,
5939
- className: cn("modal__button", styles_default4.modal__button, className),
5912
+ className: cn("modal__button", styles15.modal__button, className),
5940
5913
  size: size && "lg",
5941
5914
  ...props,
5942
5915
  children
@@ -6705,10 +6678,8 @@ function useRadioOptions({ options, defaultValue, onChange }) {
6705
6678
  };
6706
6679
  }
6707
6680
 
6708
- // src/radio/styles.module.css
6709
- var styles_default5 = {};
6710
-
6711
6681
  // src/radio/Radio.tsx
6682
+ import styles16 from "./styles.module-REEJNJNW.module.css";
6712
6683
  import { Fragment as Fragment8, jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
6713
6684
  var Radio = forwardRef37(
6714
6685
  ({ options, value, onChange, error, className = "", disabled = false, renderOption }, ref) => {
@@ -6737,8 +6708,8 @@ var Radio = forwardRef37(
6737
6708
  {
6738
6709
  className: cn(
6739
6710
  "radio__wrapper",
6740
- styles_default5.radio__wrapper,
6741
- (disabled || option.disabled) && styles_default5.radio__wrapper_disabled
6711
+ styles16.radio__wrapper,
6712
+ (disabled || option.disabled) && styles16.radio__wrapper_disabled
6742
6713
  ),
6743
6714
  children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs56(Fragment8, { children: [
6744
6715
  /* @__PURE__ */ jsx86(
@@ -6750,7 +6721,7 @@ var Radio = forwardRef37(
6750
6721
  className: "radio__indicator"
6751
6722
  }
6752
6723
  ),
6753
- /* @__PURE__ */ jsx86("p", { className: cn(styles_default5.radio__label, "radio_label"), children: option.label })
6724
+ /* @__PURE__ */ jsx86("p", { className: cn(styles16.radio__label, "radio_label"), children: option.label })
6754
6725
  ] })
6755
6726
  },
6756
6727
  option.value
@@ -6850,11 +6821,7 @@ function RatingProgress({
6850
6821
 
6851
6822
  // src/rating-radio-group/RatingRadioGroup.tsx
6852
6823
  import { Star } from "lucide-react";
6853
-
6854
- // src/rating-radio-group/styles.module.css
6855
- var styles_default6 = {};
6856
-
6857
- // src/rating-radio-group/RatingRadioGroup.tsx
6824
+ import styles17 from "./styles.module-H7R2VV2Q.module.css";
6858
6825
  import { jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
6859
6826
  var getStarColor = (optionValue) => (value) => {
6860
6827
  if (value >= optionValue) return "#facc15";
@@ -6868,13 +6835,13 @@ function RatingRadioGroup({
6868
6835
  className,
6869
6836
  options
6870
6837
  }) {
6871
- return /* @__PURE__ */ jsxs59("fieldset", { className: cn(className, styles_default6.RatingRadioGroup), children: [
6872
- label && /* @__PURE__ */ jsx89("legend", { className: styles_default6.RatingRadioGroup__legend, children: label }),
6873
- /* @__PURE__ */ jsx89("div", { className: cn(styles_default6.RatingRadioGroup__list, "RatingRadioGroup__list"), children: options.map((option) => /* @__PURE__ */ jsxs59("label", { className: styles_default6.RatingRadioGroup__label, children: [
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: [
6874
6841
  /* @__PURE__ */ jsx89(
6875
6842
  "input",
6876
6843
  {
6877
- className: styles_default6.RatingRadioGroup__input,
6844
+ className: styles17.RatingRadioGroup__input,
6878
6845
  type: "radio",
6879
6846
  name,
6880
6847
  checked: value === option.value,
@@ -6885,7 +6852,7 @@ function RatingRadioGroup({
6885
6852
  /* @__PURE__ */ jsx89(
6886
6853
  Star,
6887
6854
  {
6888
- className: styles_default6.RatingRadioGroup__star,
6855
+ className: styles17.RatingRadioGroup__star,
6889
6856
  size: 24,
6890
6857
  "aria-label": option.label,
6891
6858
  color: getStarColor(option.value)(value || 0),
@@ -7110,10 +7077,8 @@ var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
7110
7077
  return SubSectionSize2;
7111
7078
  })(SubSectionSize || {});
7112
7079
 
7113
- // src/section/Section.module.css
7114
- var Section_default = {};
7115
-
7116
7080
  // src/section/Section.tsx
7081
+ import styles18 from "./Section.module-6UJGBE6B.module.css";
7117
7082
  import { jsx as jsx95, jsxs as jsxs62 } from "react/jsx-runtime";
7118
7083
  function TooltipInfo({ content, className }) {
7119
7084
  return /* @__PURE__ */ jsx95(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx95(
@@ -7146,45 +7111,45 @@ var Section = forwardRef38(
7146
7111
  {
7147
7112
  ref,
7148
7113
  className: cn(
7149
- Section_default.section,
7150
- loading && Section_default.section_loading,
7151
- disabled && Section_default.section_disabled,
7114
+ styles18.section,
7115
+ loading && styles18.section_loading,
7116
+ disabled && styles18.section_disabled,
7152
7117
  { "!hidden": hidden },
7153
7118
  className
7154
7119
  ),
7155
7120
  children: [
7156
- (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: Section_default.section__header, children: [
7121
+ (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: styles18.section__header, children: [
7157
7122
  title && /* @__PURE__ */ jsxs62(
7158
7123
  "div",
7159
7124
  {
7160
7125
  className: cn(
7161
- Section_default.section__title,
7162
- size === 0 /* L */ && Section_default.section__titleLarge
7126
+ styles18.section__title,
7127
+ size === 0 /* L */ && styles18.section__titleLarge
7163
7128
  ),
7164
7129
  children: [
7165
7130
  title,
7166
- titleTooltip && /* @__PURE__ */ jsx95("div", { className: Section_default.section__titleTooltip, children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7167
- linkContent && /* @__PURE__ */ jsx95("div", { className: Section_default.section__titleLink, children: linkContent })
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 })
7168
7133
  ]
7169
7134
  }
7170
7135
  ),
7171
- subtitle && /* @__PURE__ */ jsxs62("div", { className: Section_default.section__subtitleWrapper, children: [
7172
- /* @__PURE__ */ jsx95("div", { className: Section_default.section__subtitle, children: subtitle }),
7173
- subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: Section_default.section__subtitleTooltip, children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
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 }) })
7174
7139
  ] })
7175
7140
  ] }),
7176
- loading && showLoader ? /* @__PURE__ */ jsx95(Loader, { className: Section_default.section__loader }) : children
7141
+ loading && showLoader ? /* @__PURE__ */ jsx95(Loader, { className: styles18.section__loader }) : children
7177
7142
  ]
7178
7143
  }
7179
7144
  )
7180
7145
  );
7181
7146
  Section.displayName = "Section";
7182
7147
  var SubSection = forwardRef38(
7183
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(Section, { ref, className: cn(Section_default.section_sub, className), ...props })
7148
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(Section, { ref, className: cn(styles18.section_sub, className), ...props })
7184
7149
  );
7185
7150
  SubSection.displayName = "SubSection";
7186
7151
  var DividingSubsection = forwardRef38(
7187
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(SubSection, { ref, className: cn(Section_default.section_dividing, className), ...props })
7152
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(SubSection, { ref, className: cn(styles18.section_dividing, className), ...props })
7188
7153
  );
7189
7154
  DividingSubsection.displayName = "DividingSubsection";
7190
7155
 
@@ -7196,10 +7161,8 @@ import {
7196
7161
  useEffect as useEffect21
7197
7162
  } from "react";
7198
7163
 
7199
- // src/selector-button/styles.module.css
7200
- var styles_default7 = {};
7201
-
7202
7164
  // src/selector-button/SelectorButton.tsx
7165
+ import styles19 from "./styles.module-AAYSW4RF.module.css";
7203
7166
  import { jsx as jsx96, jsxs as jsxs63 } from "react/jsx-runtime";
7204
7167
  function SelectorButton({
7205
7168
  active,
@@ -7228,11 +7191,11 @@ function SelectorButton({
7228
7191
  return /* @__PURE__ */ jsxs63(
7229
7192
  "label",
7230
7193
  {
7231
- className: cn(styles_default7.styledButton, "selector-button", className, {
7232
- [styles_default7.active]: active,
7233
- [styles_default7.disabled]: disabled,
7234
- [styles_default7.loading]: loading,
7235
- [styles_default7.readOnly]: readOnly
7194
+ className: cn(styles19.styledButton, "selector-button", className, {
7195
+ [styles19.active]: active,
7196
+ [styles19.disabled]: disabled,
7197
+ [styles19.loading]: loading,
7198
+ [styles19.readOnly]: readOnly
7236
7199
  }),
7237
7200
  ...props,
7238
7201
  children: [
@@ -7247,17 +7210,15 @@ function SelectorButton({
7247
7210
  readOnly
7248
7211
  }
7249
7212
  ),
7250
- /* @__PURE__ */ jsx96("div", { className: styles_default7.content, children })
7213
+ /* @__PURE__ */ jsx96("div", { className: styles19.content, children })
7251
7214
  ]
7252
7215
  }
7253
7216
  );
7254
7217
  }
7255
7218
  SelectorButton.displayName = "SelectorButton";
7256
7219
 
7257
- // src/selectors/styles.module.css
7258
- var styles_default8 = {};
7259
-
7260
7220
  // src/selectors/Selectors.tsx
7221
+ import styles20 from "./styles.module-4AVOK5SA.module.css";
7261
7222
  import { Fragment as Fragment9, jsx as jsx97, jsxs as jsxs64 } from "react/jsx-runtime";
7262
7223
  var getValueArray = (value) => {
7263
7224
  if (value) {
@@ -7316,14 +7277,14 @@ function SelectorsInternal({
7316
7277
  onAnySelectorActive?.(isAnyActive);
7317
7278
  }, [isAnyActive, onAnySelectorActive]);
7318
7279
  return /* @__PURE__ */ jsxs64(Fragment9, { children: [
7319
- label && /* @__PURE__ */ jsx97("div", { className: styles_default8.labelWrapper, children: /* @__PURE__ */ jsx97("div", { className: cn(styles_default8.name, "label"), children: label }) }),
7280
+ label && /* @__PURE__ */ jsx97("div", { className: styles20.labelWrapper, children: /* @__PURE__ */ jsx97("div", { className: cn(styles20.name, "label"), children: label }) }),
7320
7281
  /* @__PURE__ */ jsx97(
7321
7282
  "div",
7322
7283
  {
7323
7284
  ref,
7324
7285
  className: cn(className, {
7325
- [styles_default8.selectorsWrapperTab]: variant === "TAB",
7326
- [styles_default8.selectorsWrapperDefault]: variant !== "TAB"
7286
+ [styles20.selectorsWrapperTab]: variant === "TAB",
7287
+ [styles20.selectorsWrapperDefault]: variant !== "TAB"
7327
7288
  }),
7328
7289
  children: options.map((option, index) => {
7329
7290
  const isSelected = getValueArray(value).includes(option.value);
@@ -7341,10 +7302,10 @@ function SelectorsInternal({
7341
7302
  disabled: isDisabled,
7342
7303
  onClick: (event) => onClick?.(event, option),
7343
7304
  onChange: handleChange(option),
7344
- className: variant === "TAB" ? cn(styles_default8.selectorButton, {
7345
- [styles_default8.active]: isSelected,
7346
- [styles_default8.readOnly]: isReadOnly,
7347
- [styles_default8.sizeSm]: size === "sm"
7305
+ className: variant === "TAB" ? cn(styles20.selectorButton, {
7306
+ [styles20.active]: isSelected,
7307
+ [styles20.readOnly]: isReadOnly,
7308
+ [styles20.sizeSm]: size === "sm"
7348
7309
  }) : "selector-button",
7349
7310
  children: getSelectorContent(option.label, isDisabled, isReadOnly, isSelected)
7350
7311
  },
@@ -8707,11 +8668,7 @@ function TablePlaceholder({
8707
8668
 
8708
8669
  // src/task-card/TaskCard.tsx
8709
8670
  import { ArrowRight } from "lucide-react";
8710
-
8711
- // src/task-card/TaskCard.module.css
8712
- var TaskCard_default = {};
8713
-
8714
- // src/task-card/TaskCard.tsx
8671
+ import styles21 from "./TaskCard.module-AVGS4US3.module.css";
8715
8672
  import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8716
8673
  function TaskCard({
8717
8674
  title,
@@ -8727,27 +8684,27 @@ function TaskCard({
8727
8684
  "div",
8728
8685
  {
8729
8686
  className: cn(
8730
- TaskCard_default.TaskCard,
8731
- TaskCard_default[`TaskCard--${eventType}`],
8732
- onClick && TaskCard_default["TaskCard--clickable"],
8687
+ styles21.TaskCard,
8688
+ styles21[`TaskCard--${eventType}`],
8689
+ onClick && styles21["TaskCard--clickable"],
8733
8690
  className
8734
8691
  ),
8735
8692
  onClick,
8736
8693
  role: onClick ? "button" : void 0,
8737
8694
  tabIndex: onClick ? 0 : void 0,
8738
8695
  children: [
8739
- /* @__PURE__ */ jsx114("div", { className: TaskCard_default.TaskCard__indicator }),
8740
- /* @__PURE__ */ jsxs75("div", { className: TaskCard_default.TaskCard__content, children: [
8741
- /* @__PURE__ */ jsx114("h4", { className: TaskCard_default.TaskCard__title, children: title }),
8742
- /* @__PURE__ */ jsx114("p", { className: TaskCard_default.TaskCard__date, children: description })
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 })
8743
8700
  ] }),
8744
- shouldShowActions && /* @__PURE__ */ jsxs75("div", { className: TaskCard_default.TaskCard__actions, children: [
8701
+ shouldShowActions && /* @__PURE__ */ jsxs75("div", { className: styles21.TaskCard__actions, children: [
8745
8702
  shouldShowCount && /* @__PURE__ */ jsx114(
8746
8703
  "div",
8747
8704
  {
8748
8705
  className: cn(
8749
- TaskCard_default.TaskCard__count,
8750
- TaskCard_default[`TaskCard__count--${eventType}`]
8706
+ styles21.TaskCard__count,
8707
+ styles21[`TaskCard__count--${eventType}`]
8751
8708
  ),
8752
8709
  children: count
8753
8710
  }
@@ -8755,7 +8712,7 @@ function TaskCard({
8755
8712
  onClick && /* @__PURE__ */ jsx114(
8756
8713
  "button",
8757
8714
  {
8758
- className: TaskCard_default.TaskCard__arrowButton,
8715
+ className: styles21.TaskCard__arrowButton,
8759
8716
  onClick: (event) => {
8760
8717
  event.stopPropagation();
8761
8718
  onClick?.();
@@ -9026,10 +8983,8 @@ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx118("p", { id, classNa
9026
8983
  import { jsx as jsx119 } from "react/jsx-runtime";
9027
8984
  var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx119("p", { id, className: "mt-1 text-xs italic text-chekin-gray-2", children });
9028
8985
 
9029
- // src/text-field/textField.module.css
9030
- var textField_default = {};
9031
-
9032
8986
  // src/text-field/TextField.tsx
8987
+ import styles22 from "./textField.module-5W2LJGIC.module.css";
9033
8988
  import { jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9034
8989
  var inputVariants = cva14(
9035
8990
  [
@@ -9137,7 +9092,7 @@ var TextField = React29.forwardRef(
9137
9092
  return /* @__PURE__ */ jsxs78(
9138
9093
  "div",
9139
9094
  {
9140
- className: cn("relative flex w-full flex-col", textField_default.root, wrapperClassName),
9095
+ className: cn("relative flex w-full flex-col", styles22.root, wrapperClassName),
9141
9096
  children: [
9142
9097
  /* @__PURE__ */ jsxs78("div", { className: "relative", children: [
9143
9098
  /* @__PURE__ */ jsx120(
@@ -9176,7 +9131,7 @@ var TextField = React29.forwardRef(
9176
9131
  }
9177
9132
  );
9178
9133
  }
9179
- return /* @__PURE__ */ jsxs78("div", { className: cn("flex w-full flex-col", textField_default.root, wrapperClassName), children: [
9134
+ return /* @__PURE__ */ jsxs78("div", { className: cn("flex w-full flex-col", styles22.root, wrapperClassName), children: [
9180
9135
  label && /* @__PURE__ */ jsxs78("div", { className: "mb-1 flex items-center gap-1", children: [
9181
9136
  /* @__PURE__ */ jsx120(
9182
9137
  LabelPrimitive2.Root,
@@ -9218,16 +9173,12 @@ TextField.displayName = "TextField";
9218
9173
 
9219
9174
  // src/textarea/Textarea.tsx
9220
9175
  import { forwardRef as forwardRef47, useId as useId10 } from "react";
9221
-
9222
- // src/textarea/styles.module.css
9223
- var styles_default9 = {};
9224
-
9225
- // src/textarea/Textarea.tsx
9176
+ import styles23 from "./styles.module-6FWQEZTQ.module.css";
9226
9177
  import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9227
9178
  var Textarea = forwardRef47(
9228
9179
  ({ className, textareaClassName, label, disabled, name, invalid, ...textareaProps }, ref) => {
9229
9180
  const inputId = useId10();
9230
- return /* @__PURE__ */ jsxs79("div", { className: cn(styles_default9.container, className), children: [
9181
+ return /* @__PURE__ */ jsxs79("div", { className: cn(styles23.container, className), children: [
9231
9182
  /* @__PURE__ */ jsx121(
9232
9183
  "textarea",
9233
9184
  {
@@ -9235,9 +9186,9 @@ var Textarea = forwardRef47(
9235
9186
  id: inputId,
9236
9187
  name,
9237
9188
  disabled,
9238
- className: cn(styles_default9.textarea, textareaClassName, {
9239
- [styles_default9.textareaError]: invalid,
9240
- [styles_default9.textareaDisabled]: disabled
9189
+ className: cn(styles23.textarea, textareaClassName, {
9190
+ [styles23.textareaError]: invalid,
9191
+ [styles23.textareaDisabled]: disabled
9241
9192
  }),
9242
9193
  ...textareaProps
9243
9194
  }
@@ -9246,9 +9197,9 @@ var Textarea = forwardRef47(
9246
9197
  "label",
9247
9198
  {
9248
9199
  htmlFor: inputId,
9249
- className: cn(styles_default9.label, {
9250
- [styles_default9.labelError]: invalid,
9251
- [styles_default9.labelDisabled]: disabled
9200
+ className: cn(styles23.label, {
9201
+ [styles23.labelError]: invalid,
9202
+ [styles23.labelDisabled]: disabled
9252
9203
  }),
9253
9204
  children: label
9254
9205
  }
@@ -9265,20 +9216,18 @@ var LABEL_PLACEMENT = /* @__PURE__ */ ((LABEL_PLACEMENT2) => {
9265
9216
  return LABEL_PLACEMENT2;
9266
9217
  })(LABEL_PLACEMENT || {});
9267
9218
 
9268
- // src/three-dots-loader/styles.module.css
9269
- var styles_default10 = {};
9270
-
9271
9219
  // src/three-dots-loader/ThreeDotsLoader.tsx
9220
+ import styles24 from "./styles.module-Y6YCV6UA.module.css";
9272
9221
  import { Fragment as Fragment10, jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
9273
9222
  function Dots({
9274
9223
  height,
9275
9224
  width,
9276
9225
  color
9277
9226
  }) {
9278
- return /* @__PURE__ */ jsxs80("span", { className: styles_default10.dots, style: { height, width }, "aria-hidden": "true", children: [
9279
- /* @__PURE__ */ jsx122("span", { className: styles_default10.dot, style: { backgroundColor: color } }),
9280
- /* @__PURE__ */ jsx122("span", { className: styles_default10.dot, style: { backgroundColor: color } }),
9281
- /* @__PURE__ */ jsx122("span", { className: styles_default10.dot, style: { backgroundColor: color } })
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 } })
9282
9231
  ] });
9283
9232
  }
9284
9233
  function ThreeDotsLoader({
@@ -9291,7 +9240,7 @@ function ThreeDotsLoader({
9291
9240
  }) {
9292
9241
  const dots = /* @__PURE__ */ jsx122(Dots, { color, height, width });
9293
9242
  if (label) {
9294
- return /* @__PURE__ */ jsx122("div", { className: cn(styles_default10.Loader, className), children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ jsxs80(Fragment10, { children: [
9243
+ return /* @__PURE__ */ jsx122("div", { className: cn(styles24.Loader, className), children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ jsxs80(Fragment10, { children: [
9295
9244
  dots,
9296
9245
  /* @__PURE__ */ jsx122("div", { children: label })
9297
9246
  ] }) : /* @__PURE__ */ jsxs80(Fragment10, { children: [